(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 um;function hv(){if(um)return ri;um=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 rm;function mv(){return rm||(rm=1,gs.exports=hv()),gs.exports}var p=mv(),bs={exports:{}},re={};/**
 * @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 cm;function pv(){if(cm)return re;cm=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"),N=Symbol.iterator;function B(E){return E===null||typeof E!="object"?null:(E=N&&E[N]||E["@@iterator"],typeof E=="function"?E:null)}var Q={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Y=Object.assign,L={};function O(E,q,k){this.props=E,this.context=q,this.refs=L,this.updater=k||Q}O.prototype.isReactComponent={},O.prototype.setState=function(E,q){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,q,"setState")},O.prototype.forceUpdate=function(E){this.updater.enqueueForceUpdate(this,E,"forceUpdate")};function w(){}w.prototype=O.prototype;function V(E,q,k){this.props=E,this.context=q,this.refs=L,this.updater=k||Q}var W=V.prototype=new w;W.constructor=V,Y(W,O.prototype),W.isPureReactComponent=!0;var Z=Array.isArray;function ee(){}var $={H:null,A:null,T:null,S:null},Se=Object.prototype.hasOwnProperty;function Te(E,q,k){var J=k.ref;return{$$typeof:n,type:E,key:q,ref:J!==void 0?J:null,props:k}}function De(E,q){return Te(E.type,q,E.props)}function ge(E){return typeof E=="object"&&E!==null&&E.$$typeof===n}function _e(E){var q={"=":"=0",":":"=2"};return"$"+E.replace(/[=:]/g,function(k){return q[k]})}var tt=/\/+/g;function Me(E,q){return typeof E=="object"&&E!==null&&E.key!=null?_e(""+E.key):q.toString(36)}function be(E){switch(E.status){case"fulfilled":return E.value;case"rejected":throw E.reason;default:switch(typeof E.status=="string"?E.then(ee,ee):(E.status="pending",E.then(function(q){E.status==="pending"&&(E.status="fulfilled",E.value=q)},function(q){E.status==="pending"&&(E.status="rejected",E.reason=q)})),E.status){case"fulfilled":return E.value;case"rejected":throw E.reason}}throw E}function M(E,q,k,J,ie){var D=typeof E;(D==="undefined"||D==="boolean")&&(E=null);var te=!1;if(E===null)te=!0;else switch(D){case"bigint":case"string":case"number":te=!0;break;case"object":switch(E.$$typeof){case n:case r:te=!0;break;case S:return te=E._init,M(te(E._payload),q,k,J,ie)}}if(te)return ie=ie(E),te=J===""?"."+Me(E,0):J,Z(ie)?(k="",te!=null&&(k=te.replace(tt,"$&/")+"/"),M(ie,q,k,"",function(Ze){return Ze})):ie!=null&&(ge(ie)&&(ie=De(ie,k+(ie.key==null||E&&E.key===ie.key?"":(""+ie.key).replace(tt,"$&/")+"/")+te)),q.push(ie)),1;te=0;var fe=J===""?".":J+":";if(Z(E))for(var de=0;de<E.length;de++)J=E[de],D=fe+Me(J,de),te+=M(J,q,k,D,ie);else if(de=B(E),typeof de=="function")for(E=de.call(E),de=0;!(J=E.next()).done;)J=J.value,D=fe+Me(J,de++),te+=M(J,q,k,D,ie);else if(D==="object"){if(typeof E.then=="function")return M(be(E),q,k,J,ie);throw q=String(E),Error("Objects are not valid as a React child (found: "+(q==="[object Object]"?"object with keys {"+Object.keys(E).join(", ")+"}":q)+"). If you meant to render a collection of children, use an array instead.")}return te}function K(E,q,k){if(E==null)return E;var J=[],ie=0;return M(E,J,"","",function(D){return q.call(k,D,ie++)}),J}function ae(E){if(E._status===-1){var q=E._result;q=q(),q.then(function(k){(E._status===0||E._status===-1)&&(E._status=1,E._result=k)},function(k){(E._status===0||E._status===-1)&&(E._status=2,E._result=k)}),E._status===-1&&(E._status=0,E._result=q)}if(E._status===1)return E._result.default;throw E._result}var xe=typeof reportError=="function"?reportError:function(E){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var q=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(q))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",E);return}console.error(E)},oe={map:K,forEach:function(E,q,k){K(E,function(){q.apply(this,arguments)},k)},count:function(E){var q=0;return K(E,function(){q++}),q},toArray:function(E){return K(E,function(q){return q})||[]},only:function(E){if(!ge(E))throw Error("React.Children.only expected to receive a single React element child.");return E}};return re.Activity=b,re.Children=oe,re.Component=O,re.Fragment=s,re.Profiler=o,re.PureComponent=V,re.StrictMode=c,re.Suspense=g,re.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=$,re.__COMPILER_RUNTIME={__proto__:null,c:function(E){return $.H.useMemoCache(E)}},re.cache=function(E){return function(){return E.apply(null,arguments)}},re.cacheSignal=function(){return null},re.cloneElement=function(E,q,k){if(E==null)throw Error("The argument must be a React element, but you passed "+E+".");var J=Y({},E.props),ie=E.key;if(q!=null)for(D in q.key!==void 0&&(ie=""+q.key),q)!Se.call(q,D)||D==="key"||D==="__self"||D==="__source"||D==="ref"&&q.ref===void 0||(J[D]=q[D]);var D=arguments.length-2;if(D===1)J.children=k;else if(1<D){for(var te=Array(D),fe=0;fe<D;fe++)te[fe]=arguments[fe+2];J.children=te}return Te(E.type,ie,J)},re.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},re.createElement=function(E,q,k){var J,ie={},D=null;if(q!=null)for(J in q.key!==void 0&&(D=""+q.key),q)Se.call(q,J)&&J!=="key"&&J!=="__self"&&J!=="__source"&&(ie[J]=q[J]);var te=arguments.length-2;if(te===1)ie.children=k;else if(1<te){for(var fe=Array(te),de=0;de<te;de++)fe[de]=arguments[de+2];ie.children=fe}if(E&&E.defaultProps)for(J in te=E.defaultProps,te)ie[J]===void 0&&(ie[J]=te[J]);return Te(E,D,ie)},re.createRef=function(){return{current:null}},re.forwardRef=function(E){return{$$typeof:y,render:E}},re.isValidElement=ge,re.lazy=function(E){return{$$typeof:S,_payload:{_status:-1,_result:E},_init:ae}},re.memo=function(E,q){return{$$typeof:v,type:E,compare:q===void 0?null:q}},re.startTransition=function(E){var q=$.T,k={};$.T=k;try{var J=E(),ie=$.S;ie!==null&&ie(k,J),typeof J=="object"&&J!==null&&typeof J.then=="function"&&J.then(ee,xe)}catch(D){xe(D)}finally{q!==null&&k.types!==null&&(q.types=k.types),$.T=q}},re.unstable_useCacheRefresh=function(){return $.H.useCacheRefresh()},re.use=function(E){return $.H.use(E)},re.useActionState=function(E,q,k){return $.H.useActionState(E,q,k)},re.useCallback=function(E,q){return $.H.useCallback(E,q)},re.useContext=function(E){return $.H.useContext(E)},re.useDebugValue=function(){},re.useDeferredValue=function(E,q){return $.H.useDeferredValue(E,q)},re.useEffect=function(E,q){return $.H.useEffect(E,q)},re.useEffectEvent=function(E){return $.H.useEffectEvent(E)},re.useId=function(){return $.H.useId()},re.useImperativeHandle=function(E,q,k){return $.H.useImperativeHandle(E,q,k)},re.useInsertionEffect=function(E,q){return $.H.useInsertionEffect(E,q)},re.useLayoutEffect=function(E,q){return $.H.useLayoutEffect(E,q)},re.useMemo=function(E,q){return $.H.useMemo(E,q)},re.useOptimistic=function(E,q){return $.H.useOptimistic(E,q)},re.useReducer=function(E,q,k){return $.H.useReducer(E,q,k)},re.useRef=function(E){return $.H.useRef(E)},re.useState=function(E){return $.H.useState(E)},re.useSyncExternalStore=function(E,q,k){return $.H.useSyncExternalStore(E,q,k)},re.useTransition=function(){return $.H.useTransition()},re.version="19.2.7",re}var sm;function Gs(){return sm||(sm=1,bs.exports=pv()),bs.exports}var _=Gs();const yv=Zm(_);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 om;function vv(){return om||(om=1,(function(n){function r(M,K){var ae=M.length;M.push(K);e:for(;0<ae;){var xe=ae-1>>>1,oe=M[xe];if(0<o(oe,K))M[xe]=K,M[ae]=oe,ae=xe;else break e}}function s(M){return M.length===0?null:M[0]}function c(M){if(M.length===0)return null;var K=M[0],ae=M.pop();if(ae!==K){M[0]=ae;e:for(var xe=0,oe=M.length,E=oe>>>1;xe<E;){var q=2*(xe+1)-1,k=M[q],J=q+1,ie=M[J];if(0>o(k,ae))J<oe&&0>o(ie,k)?(M[xe]=ie,M[J]=ae,xe=J):(M[xe]=k,M[q]=ae,xe=q);else if(J<oe&&0>o(ie,ae))M[xe]=ie,M[J]=ae,xe=J;else break e}}return K}function o(M,K){var ae=M.sortIndex-K.sortIndex;return ae!==0?ae:M.id-K.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,N=3,B=!1,Q=!1,Y=!1,L=!1,O=typeof setTimeout=="function"?setTimeout:null,w=typeof clearTimeout=="function"?clearTimeout:null,V=typeof setImmediate<"u"?setImmediate:null;function W(M){for(var K=s(v);K!==null;){if(K.callback===null)c(v);else if(K.startTime<=M)c(v),K.sortIndex=K.expirationTime,r(g,K);else break;K=s(v)}}function Z(M){if(Y=!1,W(M),!Q)if(s(g)!==null)Q=!0,ee||(ee=!0,_e());else{var K=s(v);K!==null&&be(Z,K.startTime-M)}}var ee=!1,$=-1,Se=5,Te=-1;function De(){return L?!0:!(n.unstable_now()-Te<Se)}function ge(){if(L=!1,ee){var M=n.unstable_now();Te=M;var K=!0;try{e:{Q=!1,Y&&(Y=!1,w($),$=-1),B=!0;var ae=N;try{t:{for(W(M),b=s(g);b!==null&&!(b.expirationTime>M&&De());){var xe=b.callback;if(typeof xe=="function"){b.callback=null,N=b.priorityLevel;var oe=xe(b.expirationTime<=M);if(M=n.unstable_now(),typeof oe=="function"){b.callback=oe,W(M),K=!0;break t}b===s(g)&&c(g),W(M)}else c(g);b=s(g)}if(b!==null)K=!0;else{var E=s(v);E!==null&&be(Z,E.startTime-M),K=!1}}break e}finally{b=null,N=ae,B=!1}K=void 0}}finally{K?_e():ee=!1}}}var _e;if(typeof V=="function")_e=function(){V(ge)};else if(typeof MessageChannel<"u"){var tt=new MessageChannel,Me=tt.port2;tt.port1.onmessage=ge,_e=function(){Me.postMessage(null)}}else _e=function(){O(ge,0)};function be(M,K){$=O(function(){M(n.unstable_now())},K)}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(M){M.callback=null},n.unstable_forceFrameRate=function(M){0>M||125<M?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Se=0<M?Math.floor(1e3/M):5},n.unstable_getCurrentPriorityLevel=function(){return N},n.unstable_next=function(M){switch(N){case 1:case 2:case 3:var K=3;break;default:K=N}var ae=N;N=K;try{return M()}finally{N=ae}},n.unstable_requestPaint=function(){L=!0},n.unstable_runWithPriority=function(M,K){switch(M){case 1:case 2:case 3:case 4:case 5:break;default:M=3}var ae=N;N=M;try{return K()}finally{N=ae}},n.unstable_scheduleCallback=function(M,K,ae){var xe=n.unstable_now();switch(typeof ae=="object"&&ae!==null?(ae=ae.delay,ae=typeof ae=="number"&&0<ae?xe+ae:xe):ae=xe,M){case 1:var oe=-1;break;case 2:oe=250;break;case 5:oe=1073741823;break;case 4:oe=1e4;break;default:oe=5e3}return oe=ae+oe,M={id:S++,callback:K,priorityLevel:M,startTime:ae,expirationTime:oe,sortIndex:-1},ae>xe?(M.sortIndex=ae,r(v,M),s(g)===null&&M===s(v)&&(Y?(w($),$=-1):Y=!0,be(Z,ae-xe))):(M.sortIndex=oe,r(g,M),Q||B||(Q=!0,ee||(ee=!0,_e()))),M},n.unstable_shouldYield=De,n.unstable_wrapCallback=function(M){var K=N;return function(){var ae=N;N=K;try{return M.apply(this,arguments)}finally{N=ae}}}})(Es)),Es}var fm;function gv(){return fm||(fm=1,xs.exports=vv()),xs.exports}var Rs={exports:{}},ct={};/**
 * @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 dm;function bv(){if(dm)return ct;dm=1;var n=Gs();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 ct.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=c,ct.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)},ct.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()}},ct.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))},ct.prefetchDNS=function(g){typeof g=="string"&&c.d.D(g)},ct.preinit=function(g,v){if(typeof g=="string"&&v&&typeof v.as=="string"){var S=v.as,b=y(S,v.crossOrigin),N=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:N,fetchPriority:B}):S==="script"&&c.d.X(g,{crossOrigin:b,integrity:N,fetchPriority:B,nonce:typeof v.nonce=="string"?v.nonce:void 0})}},ct.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)},ct.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})}},ct.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)},ct.requestFormReset=function(g){c.d.r(g)},ct.unstable_batchedUpdates=function(g,v){return g(v)},ct.useFormState=function(g,v,S){return h.H.useFormState(g,v,S)},ct.useFormStatus=function(){return h.H.useHostTransitionStatus()},ct.version="19.2.7",ct}var hm;function Sv(){if(hm)return Rs.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(),Rs.exports=bv(),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 mm;function xv(){if(mm)return ci;mm=1;var n=gv(),r=Gs(),s=Sv();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,N=Symbol.for("react.element"),B=Symbol.for("react.transitional.element"),Q=Symbol.for("react.portal"),Y=Symbol.for("react.fragment"),L=Symbol.for("react.strict_mode"),O=Symbol.for("react.profiler"),w=Symbol.for("react.consumer"),V=Symbol.for("react.context"),W=Symbol.for("react.forward_ref"),Z=Symbol.for("react.suspense"),ee=Symbol.for("react.suspense_list"),$=Symbol.for("react.memo"),Se=Symbol.for("react.lazy"),Te=Symbol.for("react.activity"),De=Symbol.for("react.memo_cache_sentinel"),ge=Symbol.iterator;function _e(e){return e===null||typeof e!="object"?null:(e=ge&&e[ge]||e["@@iterator"],typeof e=="function"?e:null)}var tt=Symbol.for("react.client.reference");function Me(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===tt?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Y:return"Fragment";case O:return"Profiler";case L:return"StrictMode";case Z:return"Suspense";case ee:return"SuspenseList";case Te:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case Q:return"Portal";case V:return e.displayName||"Context";case w: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 $:return t=e.displayName||null,t!==null?t:Me(e.type)||"Memo";case Se:t=e._payload,e=e._init;try{return Me(e(t))}catch{}}return null}var be=Array.isArray,M=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,K=s.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ae={pending:!1,data:null,method:null,action:null},xe=[],oe=-1;function E(e){return{current:e}}function q(e){0>oe||(e.current=xe[oe],xe[oe]=null,oe--)}function k(e,t){oe++,xe[oe]=e.current,e.current=t}var J=E(null),ie=E(null),D=E(null),te=E(null);function fe(e,t){switch(k(D,t),k(ie,e),k(J,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?zh(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=zh(t),e=Nh(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}q(J),k(J,e)}function de(){q(J),q(ie),q(D)}function Ze(e){e.memoizedState!==null&&k(te,e);var t=J.current,l=Nh(t,e.type);t!==l&&(k(ie,e),k(J,l))}function Ke(e){ie.current===e&&(q(J),q(ie)),te.current===e&&(q(te),ai._currentValue=ae)}var Ye,hn;function Vt(e){if(Ye===void 0)try{throw Error()}catch(l){var t=l.stack.trim().match(/\n( *(at )?)/);Ye=t&&t[1]||"",hn=-1<l.stack.indexOf(`
    at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
`+Ye+e+hn}var xt=!1;function ue(e,t){if(!e||xt)return"";xt=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var G=function(){throw Error()};if(Object.defineProperty(G.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(G,[])}catch(U){var j=U}Reflect.construct(e,[],G)}else{try{G.call()}catch(U){j=U}e.call(G.prototype)}}else{try{throw Error()}catch(U){j=U}(G=e())&&typeof G.catch=="function"&&G.catch(function(){})}}catch(U){if(U&&j&&typeof U.stack=="string")return[U.stack,j.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(`
`),z=m.split(`
`);for(i=a=0;a<x.length&&!x[a].includes("DetermineComponentFrameRoot");)a++;for(;i<z.length&&!z[i].includes("DetermineComponentFrameRoot");)i++;if(a===x.length||i===z.length)for(a=x.length-1,i=z.length-1;1<=a&&0<=i&&x[a]!==z[i];)i--;for(;1<=a&&0<=i;a--,i--)if(x[a]!==z[i]){if(a!==1||i!==1)do if(a--,i--,0>i||x[a]!==z[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{xt=!1,Error.prepareStackTrace=l}return(l=e?e.displayName||e.name:"")?Vt(l):""}function ft(e,t){switch(e.tag){case 26:case 27:case 5:return Vt(e.type);case 16:return Vt("Lazy");case 13:return e.child!==t&&t!==null?Vt("Suspense Fallback"):Vt("Suspense");case 19:return Vt("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 Vt("Activity");default:return""}}function Qt(e){try{var t="",l=null;do t+=ft(e,l),l=e,e=e.return;while(e);return t}catch(a){return`
Error generating stack: `+a.message+`
`+a.stack}}var kt=Object.prototype.hasOwnProperty,ba=n.unstable_scheduleCallback,mn=n.unstable_cancelCallback,$l=n.unstable_shouldYield,Zp=n.unstable_requestPaint,Et=n.unstable_now,Kp=n.unstable_getCurrentPriorityLevel,io=n.unstable_ImmediatePriority,uo=n.unstable_UserBlockingPriority,Si=n.unstable_NormalPriority,Jp=n.unstable_LowPriority,ro=n.unstable_IdlePriority,Fp=n.log,$p=n.unstable_setDisableYieldValue,pn=null,Rt=null;function Tl(e){if(typeof Fp=="function"&&$p(e),Rt&&typeof Rt.setStrictMode=="function")try{Rt.setStrictMode(pn,e)}catch{}}var At=Math.clz32?Math.clz32:Ip,Wp=Math.log,Pp=Math.LN2;function Ip(e){return e>>>=0,e===0?32:31-(Wp(e)/Pp|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 ey(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 co(){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 ty(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,z=e.hiddenUpdates;for(l=f&~l;0<l;){var H=31-At(l),G=1<<H;m[H]=0,x[H]=-1;var j=z[H];if(j!==null)for(z[H]=null,H=0;H<j.length;H++){var U=j[H];U!==null&&(U.lane&=-536870913)}l&=~G}a!==0&&so(e,a,0),u!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=u&~(f&~t))}function so(e,t,l){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-At(t);e.entangledLanes|=t,e.entanglements[a]=e.entanglements[a]|1073741824|l&261930}function oo(e,t){var l=e.entangledLanes|=t;for(e=e.entanglements;l;){var a=31-At(l),i=1<<a;i&t|e[a]&t&&(e[a]|=t),l&=~i}}function fo(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 ho(){var e=K.p;return e!==0?e:(e=window.event,e===void 0?32:Ih(e.type))}function mo(e,t){var l=K.p;try{return K.p=e,t()}finally{K.p=l}}var _l=Math.random().toString(36).slice(2),lt="__reactFiber$"+_l,ht="__reactProps$"+_l,Sa="__reactContainer$"+_l,sr="__reactEvents$"+_l,ly="__reactListeners$"+_l,ay="__reactHandles$"+_l,po="__reactResources$"+_l,gn="__reactMarker$"+_l;function or(e){delete e[lt],delete e[ht],delete e[sr],delete e[ly],delete e[ay]}function xa(e){var t=e[lt];if(t)return t;for(var l=e.parentNode;l;){if(t=l[Sa]||l[lt]){if(l=t.alternate,t.child!==null||l!==null&&l.child!==null)for(e=Lh(e);e!==null;){if(l=e[lt])return l;e=Lh(e)}return t}e=l,l=e.parentNode}return null}function Ea(e){if(e=e[lt]||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[po];return t||(t=e[po]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Ie(e){e[gn]=!0}var yo=new Set,vo={};function Pl(e,t){Aa(e,t),Aa(e+"Capture",t)}function Aa(e,t){for(vo[e]=t,e=0;e<t.length;e++)yo.add(t[e])}var ny=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]*$"),go={},bo={};function iy(e){return kt.call(bo,e)?!0:kt.call(go,e)?!1:ny.test(e)?bo[e]=!0:(go[e]=!0,!1)}function Ti(e,t,l){if(iy(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 ul(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 Mt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function So(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function uy(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=So(e)?"checked":"value";e._valueTracker=uy(e,t,""+e[t])}}function xo(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var l=t.getValue(),a="";return e&&(a=So(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 ry=/[\n"\\]/g;function Ut(e){return e.replace(ry,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=""+Mt(t)):e.value!==""+Mt(t)&&(e.value=""+Mt(t)):f!=="submit"&&f!=="reset"||e.removeAttribute("value"),t!=null?hr(e,f,Mt(t)):l!=null?hr(e,f,Mt(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=""+Mt(m):e.removeAttribute("name")}function Eo(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?""+Mt(l):"",t=t!=null?""+Mt(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=""+Mt(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 Ro(e,t,l){if(t!=null&&(t=""+Mt(t),t!==e.value&&(e.value=t),l==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=l!=null?""+Mt(l):""}function Ao(e,t,l,a){if(t==null){if(a!=null){if(l!=null)throw Error(c(92));if(be(a)){if(1<a.length)throw Error(c(93));a=a[0]}l=a}l==null&&(l=""),t=l}l=Mt(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 cy=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 To(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||cy.has(t)?t==="float"?e.cssFloat=l:e[t]=(""+l).trim():e[t]=l+"px"}function _o(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&&To(e,i,a)}else for(var u in t)t.hasOwnProperty(u)&&To(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 sy=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"]]),oy=/^[\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 oy.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function rl(){}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 Oo(e){var t=Ea(e);if(t&&(e=t.stateNode)){var l=e[ht]||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="'+Ut(""+t)+'"][type="radio"]'),t=0;t<l.length;t++){var a=l[t];if(a!==e&&a.form===e.form){var i=a[ht]||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&&xo(a)}break e;case"textarea":Ro(e,l.value,l.defaultValue);break e;case"select":t=l.value,t!=null&&Ta(e,!!l.multiple,t,!1)}}}var vr=!1;function Co(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,Oo(t),e)))for(t=0;t<e.length;t++)Oo(e[t])}}function Sn(e,t){var l=e.stateNode;if(l===null)return null;var a=l[ht]||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 cl=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),gr=!1;if(cl)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 Ol=null,br=null,zi=null;function zo(){if(zi)return zi;var e,t=br,l=t.length,a,i="value"in Ol?Ol.value:Ol.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 No(){return!1}function mt(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:No,this.isPropagationStopped=No,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=mt(Il),En=b({},Il,{view:0,detail:0}),fy=mt(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}}),jo=mt(Mi),dy=b({},Mi,{dataTransfer:0}),hy=mt(dy),my=b({},En,{relatedTarget:0}),Er=mt(my),py=b({},Il,{animationName:0,elapsedTime:0,pseudoElement:0}),yy=mt(py),vy=b({},Il,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),gy=mt(vy),by=b({},Il,{data:0}),Do=mt(by),Sy={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xy={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"},Ey={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ry(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Ey[e])?!!t[e]:!1}function Rr(){return Ry}var Ay=b({},En,{key:function(e){if(e.key){var t=Sy[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"?xy[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}}),Ty=mt(Ay),_y=b({},Mi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Mo=mt(_y),Oy=b({},En,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Rr}),Cy=mt(Oy),zy=b({},Il,{propertyName:0,elapsedTime:0,pseudoElement:0}),Ny=mt(zy),jy=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}),Dy=mt(jy),My=b({},Il,{newState:0,oldState:0}),Uy=mt(My),wy=[9,13,27,32],Ar=cl&&"CompositionEvent"in window,An=null;cl&&"documentMode"in document&&(An=document.documentMode);var By=cl&&"TextEvent"in window&&!An,Uo=cl&&(!Ar||An&&8<An&&11>=An),wo=" ",Bo=!1;function Lo(e,t){switch(e){case"keyup":return wy.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ho(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var za=!1;function Ly(e,t){switch(e){case"compositionend":return Ho(t);case"keypress":return t.which!==32?null:(Bo=!0,wo);case"textInput":return e=t.data,e===wo&&Bo?null:e;default:return null}}function Hy(e,t){if(za)return e==="compositionend"||!Ar&&Lo(e,t)?(e=zo(),zi=br=Ol=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 Uo&&t.locale!=="ko"?null:t.data;default:return null}}var qy={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 qo(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!qy[e.type]:t==="textarea"}function Yo(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 Yy(e){Rh(e,0)}function Ui(e){var t=bn(e);if(xo(t))return e}function Xo(e,t){if(e==="change")return t}var Go=!1;if(cl){var Tr;if(cl){var _r="oninput"in document;if(!_r){var Vo=document.createElement("div");Vo.setAttribute("oninput","return;"),_r=typeof Vo.oninput=="function"}Tr=_r}else Tr=!1;Go=Tr&&(!document.documentMode||9<document.documentMode)}function Qo(){Tn&&(Tn.detachEvent("onpropertychange",ko),_n=Tn=null)}function ko(e){if(e.propertyName==="value"&&Ui(_n)){var t=[];Yo(t,_n,e,yr(e)),Co(Yy,t)}}function Xy(e,t,l){e==="focusin"?(Qo(),Tn=t,_n=l,Tn.attachEvent("onpropertychange",ko)):e==="focusout"&&Qo()}function Gy(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ui(_n)}function Vy(e,t){if(e==="click")return Ui(t)}function Qy(e,t){if(e==="input"||e==="change")return Ui(t)}function ky(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Tt=typeof Object.is=="function"?Object.is:ky;function On(e,t){if(Tt(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(!kt.call(t,i)||!Tt(e[i],t[i]))return!1}return!0}function Zo(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ko(e,t){var l=Zo(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=Zo(l)}}function Jo(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Jo(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Fo(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=cl&&"documentMode"in document&&11>=document.documentMode,Na=null,Cr=null,Cn=null,zr=!1;function $o(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={},Wo={};cl&&(Wo=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 Wo)return Nr[e]=t[l];return e}var Po=ta("animationend"),Io=ta("animationiteration"),ef=ta("animationstart"),Ky=ta("transitionrun"),Jy=ta("transitionstart"),Fy=ta("transitioncancel"),tf=ta("transitionend"),lf=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 Zt(e,t){lf.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)},wt=[],Da=0,Dr=0;function Bi(){for(var e=Da,t=Dr=Da=0;t<e;){var l=wt[t];wt[t++]=null;var a=wt[t];wt[t++]=null;var i=wt[t];wt[t++]=null;var u=wt[t];if(wt[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&&af(l,i,u)}}function Li(e,t,l,a){wt[Da++]=e,wt[Da++]=t,wt[Da++]=l,wt[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 af(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-At(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 $y(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 _t(e,t,l,a){return new $y(e,t,l,a)}function Ur(e){return e=e.prototype,!(!e||!e.isReactComponent)}function sl(e,t){var l=e.alternate;return l===null?(l=_t(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 nf(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=tv(e,l,J.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case Te:return e=_t(31,l,t,i),e.elementType=Te,e.lanes=u,e;case Y:return aa(l.children,i,u,t);case L:f=8,i|=24;break;case O:return e=_t(12,l,t,i|2),e.elementType=O,e.lanes=u,e;case Z:return e=_t(13,l,t,i),e.elementType=Z,e.lanes=u,e;case ee:return e=_t(19,l,t,i),e.elementType=ee,e.lanes=u,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case V:f=10;break e;case w:f=9;break e;case W:f=11;break e;case $: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=_t(f,l,t,i),t.elementType=e,t.type=a,t.lanes=u,t}function aa(e,t,l,a){return e=_t(7,e,a,t),e.lanes=l,e}function wr(e,t,l){return e=_t(6,e,null,t),e.lanes=l,e}function uf(e){var t=_t(18,null,null,0);return t.stateNode=e,t}function Br(e,t,l){return t=_t(4,e.children!==null?e.children:[],e.key,t),t.lanes=l,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var rf=new WeakMap;function Bt(e,t){if(typeof e=="object"&&e!==null){var l=rf.get(e);return l!==void 0?l:(t={value:e,source:t,stack:Qt(t)},rf.set(e,t),t)}return{value:e,source:t,stack:Qt(t)}}var Ua=[],wa=0,Yi=null,zn=0,Lt=[],Ht=0,Cl=null,tl=1,ll="";function ol(e,t){Ua[wa++]=zn,Ua[wa++]=Yi,Yi=e,zn=t}function cf(e,t,l){Lt[Ht++]=tl,Lt[Ht++]=ll,Lt[Ht++]=Cl,Cl=e;var a=tl;e=ll;var i=32-At(a)-1;a&=~(1<<i),l+=1;var u=32-At(t)+i;if(30<u){var f=i-i%5;u=(a&(1<<f)-1).toString(32),a>>=f,i-=f,tl=1<<32-At(t)+i|l<<i|a,ll=u+e}else tl=1<<u|l<<i|a,ll=e}function Lr(e){e.return!==null&&(ol(e,1),cf(e,1,0))}function Hr(e){for(;e===Yi;)Yi=Ua[--wa],Ua[wa]=null,zn=Ua[--wa],Ua[wa]=null;for(;e===Cl;)Cl=Lt[--Ht],Lt[Ht]=null,ll=Lt[--Ht],Lt[Ht]=null,tl=Lt[--Ht],Lt[Ht]=null}function sf(e,t){Lt[Ht++]=tl,Lt[Ht++]=ll,Lt[Ht++]=Cl,tl=t.id,ll=t.overflow,Cl=e}var at=null,we=null,ve=!1,zl=null,qt=!1,qr=Error(c(519));function Nl(e){var t=Error(c(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Nn(Bt(t,e)),qr}function of(e){var t=e.stateNode,l=e.type,a=e.memoizedProps;switch(t[lt]=e,t[ht]=a,l){case"dialog":me("cancel",t),me("close",t);break;case"iframe":case"object":case"embed":me("load",t);break;case"video":case"audio":for(l=0;l<Pn.length;l++)me(Pn[l],t);break;case"source":me("error",t);break;case"img":case"image":case"link":me("error",t),me("load",t);break;case"details":me("toggle",t);break;case"input":me("invalid",t),Eo(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":me("invalid",t);break;case"textarea":me("invalid",t),Ao(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||Oh(t.textContent,l)?(a.popover!=null&&(me("beforetoggle",t),me("toggle",t)),a.onScroll!=null&&me("scroll",t),a.onScrollEnd!=null&&me("scrollend",t),a.onClick!=null&&(t.onclick=rl),t=!0):t=!1,t||Nl(e,!0)}function ff(e){for(at=e.return;at;)switch(at.tag){case 5:case 31:case 13:qt=!1;return;case 27:case 3:qt=!0;return;default:at=at.return}}function Ba(e){if(e!==at)return!1;if(!ve)return ff(e),ve=!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&&we&&Nl(e),ff(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(c(317));we=Bh(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(c(317));we=Bh(e)}else t===27?(t=we,Ql(e.type)?(e=cs,cs=null,we=e):we=t):we=at?Xt(e.stateNode.nextSibling):null;return!0}function na(){we=at=null,ve=!1}function Yr(){var e=zl;return e!==null&&(gt===null?gt=e:gt.push.apply(gt,e),zl=null),e}function Nn(e){zl===null?zl=[e]:zl.push(e)}var Xr=E(null),ia=null,fl=null;function jl(e,t,l){k(Xr,t._currentValue),t._currentValue=l}function dl(e){e._currentValue=Xr.current,q(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;Tt(i.pendingProps.value,f.value)||(e!==null?e.push(m):e=[m])}}else if(i===te.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(!Tt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ua(e){ia=e,fl=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function nt(e){return df(ia,e)}function Gi(e,t){return ia===null&&ua(e),df(e,t)}function df(e,t){var l=t._currentValue;if(t={context:t,memoizedValue:l,next:null},fl===null){if(e===null)throw Error(c(308));fl=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else fl=fl.next=t;return l}var Wy=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()})}},Py=n.unstable_scheduleCallback,Iy=n.unstable_NormalPriority,Je={$$typeof:V,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Qr(){return{controller:new Wy,data:new Map,refCount:0}}function jn(e){e.refCount--,e.refCount===0&&Py(Iy,function(){e.controller.abort()})}var Dn=null,kr=0,Ha=0,qa=null;function e0(e,t){if(Dn===null){var l=Dn=[];kr=0,Ha=Jc(),qa={status:"pending",value:void 0,then:function(a){l.push(a)}}}return kr++,t.then(hf,hf),t}function hf(){if(--kr===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 t0(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 mf=M.S;M.S=function(e,t){Wd=Et(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&e0(e,t),mf!==null&&mf(e,t)};var ra=E(null);function Zr(){var e=ra.current;return e!==null?e:Ue.pooledCache}function Vi(e,t){t===null?k(ra,ra.current):k(ra,t.pool)}function pf(){var e=Zr();return e===null?null:{parent:Je._currentValue,pool:e}}var Ya=Error(c(460)),Kr=Error(c(474)),Qi=Error(c(542)),ki={then:function(){}};function yf(e){return e=e.status,e==="fulfilled"||e==="rejected"}function vf(e,t,l){switch(l=e[l],l===void 0?e.push(t):l!==t&&(t.then(rl,rl),t=l),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,bf(e),e;default:if(typeof t.status=="string")t.then(rl,rl);else{if(e=Ue,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,bf(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 gf(){if(sa===null)throw Error(c(459));var e=sa;return sa=null,e}function bf(e){if(e===Ya||e===Qi)throw Error(c(483))}var Xa=null,Mn=0;function Zi(e){var t=Mn;return Mn+=1,Xa===null&&(Xa=[]),vf(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===N?Error(c(525)):(e=Object.prototype.toString.call(t),Error(c(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function Sf(e){function t(T,R){if(e){var C=T.deletions;C===null?(T.deletions=[R],T.flags|=16):C.push(R)}}function l(T,R){if(!e)return null;for(;R!==null;)t(T,R),R=R.sibling;return null}function a(T){for(var R=new Map;T!==null;)T.key!==null?R.set(T.key,T):R.set(T.index,T),T=T.sibling;return R}function i(T,R){return T=sl(T,R),T.index=0,T.sibling=null,T}function u(T,R,C){return T.index=C,e?(C=T.alternate,C!==null?(C=C.index,C<R?(T.flags|=67108866,R):C):(T.flags|=67108866,R)):(T.flags|=1048576,R)}function f(T){return e&&T.alternate===null&&(T.flags|=67108866),T}function m(T,R,C,X){return R===null||R.tag!==6?(R=wr(C,T.mode,X),R.return=T,R):(R=i(R,C),R.return=T,R)}function x(T,R,C,X){var le=C.type;return le===Y?H(T,R,C.props.children,X,C.key):R!==null&&(R.elementType===le||typeof le=="object"&&le!==null&&le.$$typeof===Se&&ca(le)===R.type)?(R=i(R,C.props),Un(R,C),R.return=T,R):(R=qi(C.type,C.key,C.props,null,T.mode,X),Un(R,C),R.return=T,R)}function z(T,R,C,X){return R===null||R.tag!==4||R.stateNode.containerInfo!==C.containerInfo||R.stateNode.implementation!==C.implementation?(R=Br(C,T.mode,X),R.return=T,R):(R=i(R,C.children||[]),R.return=T,R)}function H(T,R,C,X,le){return R===null||R.tag!==7?(R=aa(C,T.mode,X,le),R.return=T,R):(R=i(R,C),R.return=T,R)}function G(T,R,C){if(typeof R=="string"&&R!==""||typeof R=="number"||typeof R=="bigint")return R=wr(""+R,T.mode,C),R.return=T,R;if(typeof R=="object"&&R!==null){switch(R.$$typeof){case B:return C=qi(R.type,R.key,R.props,null,T.mode,C),Un(C,R),C.return=T,C;case Q:return R=Br(R,T.mode,C),R.return=T,R;case Se:return R=ca(R),G(T,R,C)}if(be(R)||_e(R))return R=aa(R,T.mode,C,null),R.return=T,R;if(typeof R.then=="function")return G(T,Zi(R),C);if(R.$$typeof===V)return G(T,Gi(T,R),C);Ki(T,R)}return null}function j(T,R,C,X){var le=R!==null?R.key:null;if(typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint")return le!==null?null:m(T,R,""+C,X);if(typeof C=="object"&&C!==null){switch(C.$$typeof){case B:return C.key===le?x(T,R,C,X):null;case Q:return C.key===le?z(T,R,C,X):null;case Se:return C=ca(C),j(T,R,C,X)}if(be(C)||_e(C))return le!==null?null:H(T,R,C,X,null);if(typeof C.then=="function")return j(T,R,Zi(C),X);if(C.$$typeof===V)return j(T,R,Gi(T,C),X);Ki(T,C)}return null}function U(T,R,C,X,le){if(typeof X=="string"&&X!==""||typeof X=="number"||typeof X=="bigint")return T=T.get(C)||null,m(R,T,""+X,le);if(typeof X=="object"&&X!==null){switch(X.$$typeof){case B:return T=T.get(X.key===null?C:X.key)||null,x(R,T,X,le);case Q:return T=T.get(X.key===null?C:X.key)||null,z(R,T,X,le);case Se:return X=ca(X),U(T,R,C,X,le)}if(be(X)||_e(X))return T=T.get(C)||null,H(R,T,X,le,null);if(typeof X.then=="function")return U(T,R,C,Zi(X),le);if(X.$$typeof===V)return U(T,R,C,Gi(R,X),le);Ki(R,X)}return null}function P(T,R,C,X){for(var le=null,Ee=null,I=R,se=R=0,ye=null;I!==null&&se<C.length;se++){I.index>se?(ye=I,I=null):ye=I.sibling;var Re=j(T,I,C[se],X);if(Re===null){I===null&&(I=ye);break}e&&I&&Re.alternate===null&&t(T,I),R=u(Re,R,se),Ee===null?le=Re:Ee.sibling=Re,Ee=Re,I=ye}if(se===C.length)return l(T,I),ve&&ol(T,se),le;if(I===null){for(;se<C.length;se++)I=G(T,C[se],X),I!==null&&(R=u(I,R,se),Ee===null?le=I:Ee.sibling=I,Ee=I);return ve&&ol(T,se),le}for(I=a(I);se<C.length;se++)ye=U(I,T,se,C[se],X),ye!==null&&(e&&ye.alternate!==null&&I.delete(ye.key===null?se:ye.key),R=u(ye,R,se),Ee===null?le=ye:Ee.sibling=ye,Ee=ye);return e&&I.forEach(function(Fl){return t(T,Fl)}),ve&&ol(T,se),le}function ne(T,R,C,X){if(C==null)throw Error(c(151));for(var le=null,Ee=null,I=R,se=R=0,ye=null,Re=C.next();I!==null&&!Re.done;se++,Re=C.next()){I.index>se?(ye=I,I=null):ye=I.sibling;var Fl=j(T,I,Re.value,X);if(Fl===null){I===null&&(I=ye);break}e&&I&&Fl.alternate===null&&t(T,I),R=u(Fl,R,se),Ee===null?le=Fl:Ee.sibling=Fl,Ee=Fl,I=ye}if(Re.done)return l(T,I),ve&&ol(T,se),le;if(I===null){for(;!Re.done;se++,Re=C.next())Re=G(T,Re.value,X),Re!==null&&(R=u(Re,R,se),Ee===null?le=Re:Ee.sibling=Re,Ee=Re);return ve&&ol(T,se),le}for(I=a(I);!Re.done;se++,Re=C.next())Re=U(I,T,se,Re.value,X),Re!==null&&(e&&Re.alternate!==null&&I.delete(Re.key===null?se:Re.key),R=u(Re,R,se),Ee===null?le=Re:Ee.sibling=Re,Ee=Re);return e&&I.forEach(function(dv){return t(T,dv)}),ve&&ol(T,se),le}function je(T,R,C,X){if(typeof C=="object"&&C!==null&&C.type===Y&&C.key===null&&(C=C.props.children),typeof C=="object"&&C!==null){switch(C.$$typeof){case B:e:{for(var le=C.key;R!==null;){if(R.key===le){if(le=C.type,le===Y){if(R.tag===7){l(T,R.sibling),X=i(R,C.props.children),X.return=T,T=X;break e}}else if(R.elementType===le||typeof le=="object"&&le!==null&&le.$$typeof===Se&&ca(le)===R.type){l(T,R.sibling),X=i(R,C.props),Un(X,C),X.return=T,T=X;break e}l(T,R);break}else t(T,R);R=R.sibling}C.type===Y?(X=aa(C.props.children,T.mode,X,C.key),X.return=T,T=X):(X=qi(C.type,C.key,C.props,null,T.mode,X),Un(X,C),X.return=T,T=X)}return f(T);case Q:e:{for(le=C.key;R!==null;){if(R.key===le)if(R.tag===4&&R.stateNode.containerInfo===C.containerInfo&&R.stateNode.implementation===C.implementation){l(T,R.sibling),X=i(R,C.children||[]),X.return=T,T=X;break e}else{l(T,R);break}else t(T,R);R=R.sibling}X=Br(C,T.mode,X),X.return=T,T=X}return f(T);case Se:return C=ca(C),je(T,R,C,X)}if(be(C))return P(T,R,C,X);if(_e(C)){if(le=_e(C),typeof le!="function")throw Error(c(150));return C=le.call(C),ne(T,R,C,X)}if(typeof C.then=="function")return je(T,R,Zi(C),X);if(C.$$typeof===V)return je(T,R,Gi(T,C),X);Ki(T,C)}return typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint"?(C=""+C,R!==null&&R.tag===6?(l(T,R.sibling),X=i(R,C),X.return=T,T=X):(l(T,R),X=wr(C,T.mode,X),X.return=T,T=X),f(T)):l(T,R)}return function(T,R,C,X){try{Mn=0;var le=je(T,R,C,X);return Xa=null,le}catch(I){if(I===Ya||I===Qi)throw I;var Ee=_t(29,I,null,T.mode);return Ee.lanes=X,Ee.return=T,Ee}finally{}}}var oa=Sf(!0),xf=Sf(!1),Dl=!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 Ml(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Ul(e,t,l){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(Ae&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),af(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,oo(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;Dl=!1;var u=i.firstBaseUpdate,f=i.lastBaseUpdate,m=i.shared.pending;if(m!==null){i.shared.pending=null;var x=m,z=x.next;x.next=null,f===null?u=z:f.next=z,f=x;var H=e.alternate;H!==null&&(H=H.updateQueue,m=H.lastBaseUpdate,m!==f&&(m===null?H.firstBaseUpdate=z:m.next=z,H.lastBaseUpdate=x))}if(u!==null){var G=i.baseState;f=0,H=z=x=null,m=u;do{var j=m.lane&-536870913,U=j!==m.lane;if(U?(pe&j)===j:(a&j)===j){j!==0&&j===Ha&&(Wr=!0),H!==null&&(H=H.next={lane:0,tag:m.tag,payload:m.payload,callback:null,next:null});e:{var P=e,ne=m;j=t;var je=l;switch(ne.tag){case 1:if(P=ne.payload,typeof P=="function"){G=P.call(je,G,j);break e}G=P;break e;case 3:P.flags=P.flags&-65537|128;case 0:if(P=ne.payload,j=typeof P=="function"?P.call(je,G,j):P,j==null)break e;G=b({},G,j);break e;case 2:Dl=!0}}j=m.callback,j!==null&&(e.flags|=64,U&&(e.flags|=8192),U=i.callbacks,U===null?i.callbacks=[j]:U.push(j))}else U={lane:j,tag:m.tag,payload:m.payload,callback:m.callback,next:null},H===null?(z=H=U,x=G):H=H.next=U,f|=j;if(m=m.next,m===null){if(m=i.shared.pending,m===null)break;U=m,m=U.next,U.next=null,i.lastBaseUpdate=U,i.shared.pending=null}}while(!0);H===null&&(x=G),i.baseState=x,i.firstBaseUpdate=z,i.lastBaseUpdate=H,u===null&&(i.shared.lanes=0),ql|=f,e.lanes=f,e.memoizedState=G}}function Ef(e,t){if(typeof e!="function")throw Error(c(191,e));e.call(t)}function Rf(e,t){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;e<l.length;e++)Ef(l[e],t)}var Ga=E(null),Ji=E(0);function Af(e,t){e=xl,k(Ji,e),k(Ga,t),xl=e|t.baseLanes}function Pr(){k(Ji,xl),k(Ga,Ga.current)}function Ir(){xl=Ji.current,q(Ga),q(Ji)}var Ot=E(null),Yt=null;function wl(e){var t=e.alternate;k(Ve,Ve.current&1),k(Ot,e),Yt===null&&(t===null||Ga.current!==null||t.memoizedState!==null)&&(Yt=e)}function ec(e){k(Ve,Ve.current),k(Ot,e),Yt===null&&(Yt=e)}function Tf(e){e.tag===22?(k(Ve,Ve.current),k(Ot,e),Yt===null&&(Yt=e)):Bl()}function Bl(){k(Ve,Ve.current),k(Ot,Ot.current)}function Ct(e){q(Ot),Yt===e&&(Yt=null),q(Ve)}var Ve=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 hl=0,ce=null,ze=null,Fe=null,$i=!1,Va=!1,fa=!1,Wi=0,Hn=0,Qa=null,l0=0;function Xe(){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(!Tt(e[l],t[l]))return!1;return!0}function lc(e,t,l,a,i,u){return hl=u,ce=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,M.H=e===null||e.memoizedState===null?cd:vc,fa=!1,u=l(a,i),fa=!1,Va&&(u=Of(t,l,a,i)),_f(e),u}function _f(e){M.H=Xn;var t=ze!==null&&ze.next!==null;if(hl=0,Fe=ze=ce=null,$i=!1,Hn=0,Qa=null,t)throw Error(c(300));e===null||$e||(e=e.dependencies,e!==null&&Xi(e)&&($e=!0))}function Of(e,t,l,a){ce=e;var i=0;do{if(Va&&(Qa=null),Hn=0,Va=!1,25<=i)throw Error(c(301));if(i+=1,Fe=ze=null,e.updateQueue!=null){var u=e.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}M.H=sd,u=t(l,a)}while(Va);return u}function a0(){var e=M.H,t=e.useState()[0];return t=typeof t.then=="function"?qn(t):t,e=e.useState()[0],(ze!==null?ze.memoizedState:null)!==e&&(ce.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}hl=0,Fe=ze=ce=null,Va=!1,Hn=Wi=0,Qa=null}function dt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Fe===null?ce.memoizedState=Fe=e:Fe=Fe.next=e,Fe}function Qe(){if(ze===null){var e=ce.alternate;e=e!==null?e.memoizedState:null}else e=ze.next;var t=Fe===null?ce.memoizedState:Fe.next;if(t!==null)Fe=t,ze=e;else{if(e===null)throw ce.alternate===null?Error(c(467)):Error(c(310));ze=e,e={memoizedState:ze.memoizedState,baseState:ze.baseState,baseQueue:ze.baseQueue,queue:ze.queue,next:null},Fe===null?ce.memoizedState=Fe=e:Fe=Fe.next=e}return Fe}function Pi(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function qn(e){var t=Hn;return Hn+=1,Qa===null&&(Qa=[]),e=vf(Qa,e,t),t=ce,(Fe===null?t.memoizedState:Fe.next)===null&&(t=t.alternate,M.H=t===null||t.memoizedState===null?cd:vc),e}function Ii(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return qn(e);if(e.$$typeof===V)return nt(e)}throw Error(c(438,String(e)))}function uc(e){var t=null,l=ce.updateQueue;if(l!==null&&(t=l.memoCache),t==null){var a=ce.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(),ce.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]=De;return t.index++,l}function ml(e,t){return typeof t=="function"?t(e):t}function eu(e){var t=Qe();return rc(t,ze,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,z=t,H=!1;do{var G=z.lane&-536870913;if(G!==z.lane?(pe&G)===G:(hl&G)===G){var j=z.revertLane;if(j===0)x!==null&&(x=x.next={lane:0,revertLane:0,gesture:null,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null}),G===Ha&&(H=!0);else if((hl&j)===j){z=z.next,j===Ha&&(H=!0);continue}else G={lane:0,revertLane:z.revertLane,gesture:null,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null},x===null?(m=x=G,f=u):x=x.next=G,ce.lanes|=j,ql|=j;G=z.action,fa&&l(u,G),u=z.hasEagerState?z.eagerState:l(u,G)}else j={lane:G,revertLane:z.revertLane,gesture:z.gesture,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null},x===null?(m=x=j,f=u):x=x.next=j,ce.lanes|=G,ql|=G;z=z.next}while(z!==null&&z!==t);if(x===null?f=u:x.next=m,!Tt(u,e.memoizedState)&&($e=!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=Qe(),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);Tt(u,t.memoizedState)||($e=!0),t.memoizedState=u,t.baseQueue===null&&(t.baseState=u),l.lastRenderedState=u}return[u,a]}function Cf(e,t,l){var a=ce,i=Qe(),u=ve;if(u){if(l===void 0)throw Error(c(407));l=l()}else l=t();var f=!Tt((ze||i).memoizedState,l);if(f&&(i.memoizedState=l,$e=!0),i=i.queue,fc(jf.bind(null,a,i,e),[e]),i.getSnapshot!==t||f||Fe!==null&&Fe.memoizedState.tag&1){if(a.flags|=2048,ka(9,{destroy:void 0},Nf.bind(null,a,i,l,t),null),Ue===null)throw Error(c(349));u||(hl&127)!==0||zf(a,t,l)}return l}function zf(e,t,l){e.flags|=16384,e={getSnapshot:t,value:l},t=ce.updateQueue,t===null?(t=Pi(),ce.updateQueue=t,t.stores=[e]):(l=t.stores,l===null?t.stores=[e]:l.push(e))}function Nf(e,t,l,a){t.value=l,t.getSnapshot=a,Df(t)&&Mf(e)}function jf(e,t,l){return l(function(){Df(t)&&Mf(e)})}function Df(e){var t=e.getSnapshot;e=e.value;try{var l=t();return!Tt(e,l)}catch{return!0}}function Mf(e){var t=la(e,2);t!==null&&bt(t,e,2)}function sc(e){var t=dt();if(typeof e=="function"){var l=e;if(e=l(),fa){Tl(!0);try{l()}finally{Tl(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ml,lastRenderedState:e},t}function Uf(e,t,l,a){return e.baseState=l,rc(e,ze,typeof a=="function"?a:ml)}function n0(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)}};M.T!==null?l(!0):u.isTransition=!1,a(u),l=t.pending,l===null?(u.next=t.pending=u,wf(t,u)):(u.next=l.next,t.pending=l.next=u)}}function wf(e,t){var l=t.action,a=t.payload,i=e.state;if(t.isTransition){var u=M.T,f={};M.T=f;try{var m=l(i,a),x=M.S;x!==null&&x(f,m),Bf(e,t,m)}catch(z){oc(e,t,z)}finally{u!==null&&f.types!==null&&(u.types=f.types),M.T=u}}else try{u=l(i,a),Bf(e,t,u)}catch(z){oc(e,t,z)}}function Bf(e,t,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(a){Lf(e,t,a)},function(a){return oc(e,t,a)}):Lf(e,t,l)}function Lf(e,t,l){t.status="fulfilled",t.value=l,Hf(t),e.state=l,t=e.pending,t!==null&&(l=t.next,l===t?e.pending=null:(l=l.next,t.next=l,wf(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,Hf(t),t=t.next;while(t!==a)}e.action=null}function Hf(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function qf(e,t){return t}function Yf(e,t){if(ve){var l=Ue.formState;if(l!==null){e:{var a=ce;if(ve){if(we){t:{for(var i=we,u=qt;i.nodeType!==8;){if(!u){i=null;break t}if(i=Xt(i.nextSibling),i===null){i=null;break t}}u=i.data,i=u==="F!"||u==="F"?i:null}if(i){we=Xt(i.nextSibling),a=i.data==="F!";break e}}Nl(a)}a=!1}a&&(t=l[0])}}return l=dt(),l.memoizedState=l.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:qf,lastRenderedState:t},l.queue=a,l=id.bind(null,ce,a),a.dispatch=l,a=sc(!1),u=yc.bind(null,ce,!1,a.queue),a=dt(),i={state:t,dispatch:null,action:e,pending:null},a.queue=i,l=n0.bind(null,ce,i,u,l),i.dispatch=l,a.memoizedState=e,[t,l,!1]}function Xf(e){var t=Qe();return Gf(t,ze,e)}function Gf(e,t,l){if(t=rc(e,t,qf)[0],e=eu(ml)[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=Qe();var i=t.queue,u=i.dispatch;return l!==t.memoizedState&&(ce.flags|=2048,ka(9,{destroy:void 0},i0.bind(null,i,l),null)),[a,u,e]}function i0(e,t){e.action=t}function Vf(e){var t=Qe(),l=ze;if(l!==null)return Gf(t,l,e);Qe(),t=t.memoizedState,l=Qe();var a=l.queue.dispatch;return l.memoizedState=e,[t,a,!1]}function ka(e,t,l,a){return e={tag:e,create:l,deps:a,inst:t,next:null},t=ce.updateQueue,t===null&&(t=Pi(),ce.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 Qf(){return Qe().memoizedState}function tu(e,t,l,a){var i=dt();ce.flags|=e,i.memoizedState=ka(1|t,{destroy:void 0},l,a===void 0?null:a)}function lu(e,t,l,a){var i=Qe();a=a===void 0?null:a;var u=i.memoizedState.inst;ze!==null&&a!==null&&tc(a,ze.memoizedState.deps)?i.memoizedState=ka(t,u,l,a):(ce.flags|=e,i.memoizedState=ka(1|t,u,l,a))}function kf(e,t){tu(8390656,8,e,t)}function fc(e,t){lu(2048,8,e,t)}function u0(e){ce.flags|=4;var t=ce.updateQueue;if(t===null)t=Pi(),ce.updateQueue=t,t.events=[e];else{var l=t.events;l===null?t.events=[e]:l.push(e)}}function Zf(e){var t=Qe().memoizedState;return u0({ref:t,nextImpl:e}),function(){if((Ae&2)!==0)throw Error(c(440));return t.impl.apply(void 0,arguments)}}function Kf(e,t){return lu(4,2,e,t)}function Jf(e,t){return lu(4,4,e,t)}function Ff(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 $f(e,t,l){l=l!=null?l.concat([e]):null,lu(4,4,Ff.bind(null,t,e),l)}function dc(){}function Wf(e,t){var l=Qe();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 Pf(e,t){var l=Qe();t=t===void 0?null:t;var a=l.memoizedState;if(t!==null&&tc(t,a[1]))return a[0];if(a=e(),fa){Tl(!0);try{e()}finally{Tl(!1)}}return l.memoizedState=[a,t],a}function hc(e,t,l){return l===void 0||(hl&1073741824)!==0&&(pe&261930)===0?e.memoizedState=t:(e.memoizedState=l,e=Id(),ce.lanes|=e,ql|=e,l)}function If(e,t,l,a){return Tt(l,t)?l:Ga.current!==null?(e=hc(e,l,a),Tt(e,t)||($e=!0),e):(hl&42)===0||(hl&1073741824)!==0&&(pe&261930)===0?($e=!0,e.memoizedState=l):(e=Id(),ce.lanes|=e,ql|=e,t)}function ed(e,t,l,a,i){var u=K.p;K.p=u!==0&&8>u?u:8;var f=M.T,m={};M.T=m,yc(e,!1,t,l);try{var x=i(),z=M.S;if(z!==null&&z(m,x),x!==null&&typeof x=="object"&&typeof x.then=="function"){var H=t0(x,a);Yn(e,t,H,jt(e))}else Yn(e,t,a,jt(e))}catch(G){Yn(e,t,{then:function(){},status:"rejected",reason:G},jt())}finally{K.p=u,f!==null&&m.types!==null&&(f.types=m.types),M.T=f}}function r0(){}function mc(e,t,l,a){if(e.tag!==5)throw Error(c(476));var i=td(e).queue;ed(e,i,t,ae,l===null?r0:function(){return ld(e),l(a)})}function td(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ae,baseState:ae,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ml,lastRenderedState:ae},next:null};var l={};return t.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ml,lastRenderedState:l},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function ld(e){var t=td(e);t.next===null&&(t=e.alternate.memoizedState),Yn(e,t.next.queue,{},jt())}function pc(){return nt(ai)}function ad(){return Qe().memoizedState}function nd(){return Qe().memoizedState}function c0(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var l=jt();e=Ml(l);var a=Ul(t,e,l);a!==null&&(bt(a,t,l),wn(a,t,l)),t={cache:Qr()},e.payload=t;return}t=t.return}}function s0(e,t,l){var a=jt();l={lane:a,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},au(e)?ud(t,l):(l=Mr(e,t,l,a),l!==null&&(bt(l,e,a),rd(l,t,a)))}function id(e,t,l){var a=jt();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))ud(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,Tt(m,f))return Li(e,t,i,0),Ue===null&&Bi(),!1}catch{}finally{}if(l=Mr(e,t,i,a),l!==null)return bt(l,e,a),rd(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&&bt(t,e,2)}function au(e){var t=e.alternate;return e===ce||t!==null&&t===ce}function ud(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 rd(e,t,l){if((l&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,l|=a,t.lanes=l,oo(e,l)}}var Xn={readContext:nt,use:Ii,useCallback:Xe,useContext:Xe,useEffect:Xe,useImperativeHandle:Xe,useLayoutEffect:Xe,useInsertionEffect:Xe,useMemo:Xe,useReducer:Xe,useRef:Xe,useState:Xe,useDebugValue:Xe,useDeferredValue:Xe,useTransition:Xe,useSyncExternalStore:Xe,useId:Xe,useHostTransitionStatus:Xe,useFormState:Xe,useActionState:Xe,useOptimistic:Xe,useMemoCache:Xe,useCacheRefresh:Xe};Xn.useEffectEvent=Xe;var cd={readContext:nt,use:Ii,useCallback:function(e,t){return dt().memoizedState=[e,t===void 0?null:t],e},useContext:nt,useEffect:kf,useImperativeHandle:function(e,t,l){l=l!=null?l.concat([e]):null,tu(4194308,4,Ff.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=dt();t=t===void 0?null:t;var a=e();if(fa){Tl(!0);try{e()}finally{Tl(!1)}}return l.memoizedState=[a,t],a},useReducer:function(e,t,l){var a=dt();if(l!==void 0){var i=l(t);if(fa){Tl(!0);try{l(t)}finally{Tl(!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=s0.bind(null,ce,e),[a.memoizedState,e]},useRef:function(e){var t=dt();return e={current:e},t.memoizedState=e},useState:function(e){e=sc(e);var t=e.queue,l=id.bind(null,ce,t);return t.dispatch=l,[e.memoizedState,l]},useDebugValue:dc,useDeferredValue:function(e,t){var l=dt();return hc(l,e,t)},useTransition:function(){var e=sc(!1);return e=ed.bind(null,ce,e.queue,!0,!1),dt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,l){var a=ce,i=dt();if(ve){if(l===void 0)throw Error(c(407));l=l()}else{if(l=t(),Ue===null)throw Error(c(349));(pe&127)!==0||zf(a,t,l)}i.memoizedState=l;var u={value:l,getSnapshot:t};return i.queue=u,kf(jf.bind(null,a,u,e),[e]),a.flags|=2048,ka(9,{destroy:void 0},Nf.bind(null,a,u,l,t),null),l},useId:function(){var e=dt(),t=Ue.identifierPrefix;if(ve){var l=ll,a=tl;l=(a&~(1<<32-At(a)-1)).toString(32)+l,t="_"+t+"R_"+l,l=Wi++,0<l&&(t+="H"+l.toString(32)),t+="_"}else l=l0++,t="_"+t+"r_"+l.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:pc,useFormState:Yf,useActionState:Yf,useOptimistic:function(e){var t=dt();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,ce,!0,l),l.dispatch=t,[e,t]},useMemoCache:uc,useCacheRefresh:function(){return dt().memoizedState=c0.bind(null,ce)},useEffectEvent:function(e){var t=dt(),l={impl:e};return t.memoizedState=l,function(){if((Ae&2)!==0)throw Error(c(440));return l.impl.apply(void 0,arguments)}}},vc={readContext:nt,use:Ii,useCallback:Wf,useContext:nt,useEffect:fc,useImperativeHandle:$f,useInsertionEffect:Kf,useLayoutEffect:Jf,useMemo:Pf,useReducer:eu,useRef:Qf,useState:function(){return eu(ml)},useDebugValue:dc,useDeferredValue:function(e,t){var l=Qe();return If(l,ze.memoizedState,e,t)},useTransition:function(){var e=eu(ml)[0],t=Qe().memoizedState;return[typeof e=="boolean"?e:qn(e),t]},useSyncExternalStore:Cf,useId:ad,useHostTransitionStatus:pc,useFormState:Xf,useActionState:Xf,useOptimistic:function(e,t){var l=Qe();return Uf(l,ze,e,t)},useMemoCache:uc,useCacheRefresh:nd};vc.useEffectEvent=Zf;var sd={readContext:nt,use:Ii,useCallback:Wf,useContext:nt,useEffect:fc,useImperativeHandle:$f,useInsertionEffect:Kf,useLayoutEffect:Jf,useMemo:Pf,useReducer:cc,useRef:Qf,useState:function(){return cc(ml)},useDebugValue:dc,useDeferredValue:function(e,t){var l=Qe();return ze===null?hc(l,e,t):If(l,ze.memoizedState,e,t)},useTransition:function(){var e=cc(ml)[0],t=Qe().memoizedState;return[typeof e=="boolean"?e:qn(e),t]},useSyncExternalStore:Cf,useId:ad,useHostTransitionStatus:pc,useFormState:Vf,useActionState:Vf,useOptimistic:function(e,t){var l=Qe();return ze!==null?Uf(l,ze,e,t):(l.baseState=e,[e,l.queue.dispatch])},useMemoCache:uc,useCacheRefresh:nd};sd.useEffectEvent=Zf;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=jt(),i=Ml(a);i.payload=t,l!=null&&(i.callback=l),t=Ul(e,i,a),t!==null&&(bt(t,e,a),wn(t,e,a))},enqueueReplaceState:function(e,t,l){e=e._reactInternals;var a=jt(),i=Ml(a);i.tag=1,i.payload=t,l!=null&&(i.callback=l),t=Ul(e,i,a),t!==null&&(bt(t,e,a),wn(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var l=jt(),a=Ml(l);a.tag=2,t!=null&&(a.callback=t),t=Ul(e,a,l),t!==null&&(bt(t,e,l),wn(t,e,l))}};function od(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 fd(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 dd(e){wi(e)}function hd(e){console.error(e)}function md(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 pd(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=Ml(l),l.tag=3,l.payload={element:null},l.callback=function(){nu(e,t)},l}function yd(e){return e=Ml(e),e.tag=3,e}function vd(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(){pd(t,l,a)}}var f=l.stateNode;f!==null&&typeof f.componentDidCatch=="function"&&(e.callback=function(){pd(t,l,a),typeof i!="function"&&(Yl===null?Yl=new Set([this]):Yl.add(this));var m=a.stack;this.componentDidCatch(a.value,{componentStack:m!==null?m:""})})}function o0(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=Ot.current,l!==null){switch(l.tag){case 31:case 13:return Yt===null?yu():l.alternate===null&&Ge===0&&(Ge=3),l.flags&=-257,l.flags|=65536,l.lanes=i,a===ki?l.flags|=16384:(t=l.updateQueue,t===null?l.updateQueue=new Set([a]):t.add(a),kc(e,a,i)),!1;case 22:return l.flags|=65536,a===ki?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)),kc(e,a,i)),!1}throw Error(c(435,l.tag))}return kc(e,a,i),yu(),!1}if(ve)return t=Ot.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(Bt(e,l)))):(a!==qr&&(t=Error(c(423),{cause:a}),Nn(Bt(t,l))),e=e.current.alternate,e.flags|=65536,i&=-i,e.lanes|=i,a=Bt(a,l),i=Sc(e.stateNode,a,i),$r(e,i),Ge!==4&&(Ge=2)),!1;var u=Error(c(520),{cause:a});if(u=Bt(u,l),Fn===null?Fn=[u]:Fn.push(u),Ge!==4&&(Ge=2),t===null)return!0;a=Bt(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"&&(Yl===null||!Yl.has(u))))return l.flags|=65536,i&=-i,l.lanes|=i,i=yd(i),vd(i,e,l,a),$r(l,i),!1}l=l.return}while(l!==null);return!1}var xc=Error(c(461)),$e=!1;function it(e,t,l,a){t.child=e===null?xf(t,null,l,a):oa(t,e.child,l,a)}function gd(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&&!$e?(nc(e,t,i),pl(e,t,i)):(ve&&m&&Lr(t),t.flags|=1,it(e,t,a,i),t.child)}function bd(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,Sd(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 pl(e,t,i)}return t.flags|=1,e=sl(u,a),e.ref=t.ref,e.return=t,t.child=e}function Sd(e,t,l,a,i){if(e!==null){var u=e.memoizedProps;if(On(u,a)&&e.ref===t.ref)if($e=!1,t.pendingProps=a=u,zc(e,i))(e.flags&131072)!==0&&($e=!0);else return t.lanes=e.lanes,pl(e,t,i)}return Ec(e,t,l,a,i)}function xd(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 Ed(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?Af(t,u):Pr(),Tf(t);else return a=t.lanes=536870912,Ed(e,t,u!==null?u.baseLanes|l:l,l,a)}else u!==null?(Vi(t,u.cachePool),Af(t,u),Bl(),t.memoizedState=null):(e!==null&&Vi(t,null),Pr(),Bl());return it(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 Ed(e,t,l,a,i){var u=Zr();return u=u===null?null:{parent:Je._currentValue,pool:u},t.memoizedState={baseLanes:l,cachePool:u},e!==null&&Vi(t,null),Pr(),Tf(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 Rd(e,t,l){return oa(t,e.child,null,l),e=iu(t,t.pendingProps),e.flags|=2,Ct(t),t.memoizedState=null,e}function f0(e,t,l){var a=t.pendingProps,i=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(ve){if(a.mode==="hidden")return e=iu(t,a),t.lanes=536870912,Gn(null,e);if(ec(t),(e=we)?(e=wh(e,qt),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Cl!==null?{id:tl,overflow:ll}:null,retryLane:536870912,hydrationErrors:null},l=uf(e),l.return=t,t.child=l,at=t,we=null)):e=null,e===null)throw Nl(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=Rd(e,t,l);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(c(558));else if($e||La(e,t,l,!1),i=(l&e.childLanes)!==0,$e||i){if(a=Ue,a!==null&&(f=fo(a,l),f!==0&&f!==u.retryLane))throw u.retryLane=f,la(e,f),bt(a,e,f),xc;yu(),t=Rd(e,t,l)}else e=u.treeContext,we=Xt(f.nextSibling),at=t,ve=!0,zl=null,qt=!1,e!==null&&sf(t,e),t=iu(t,a),t.flags|=4096;return t}return e=sl(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&&!$e?(nc(e,t,i),pl(e,t,i)):(ve&&a&&Lr(t),t.flags|=1,it(e,t,l,i),t.child)}function Ad(e,t,l,a,i,u){return ua(t),t.updateQueue=null,l=Of(t,a,l,i),_f(e),a=ac(),e!==null&&!$e?(nc(e,t,u),pl(e,t,u)):(ve&&a&&Lr(t),t.flags|=1,it(e,t,l,u),t.child)}function Td(e,t,l,a,i){if(ua(t),t.stateNode===null){var u=Ma,f=l.contextType;typeof f=="object"&&f!==null&&(u=nt(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?nt(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 z=u.context,H=l.contextType;f=Ma,typeof H=="object"&&H!==null&&(f=nt(H));var G=l.getDerivedStateFromProps;H=typeof G=="function"||typeof u.getSnapshotBeforeUpdate=="function",m=t.pendingProps!==m,H||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(m||z!==f)&&fd(t,u,a,f),Dl=!1;var j=t.memoizedState;u.state=j,Ln(t,a,u,i),Bn(),z=t.memoizedState,m||j!==z||Dl?(typeof G=="function"&&(gc(t,l,G,a),z=t.memoizedState),(x=Dl||od(t,l,x,a,j,z,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=z),u.props=a,u.state=z,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,G=t.pendingProps,j=u.context,z=l.contextType,x=Ma,typeof z=="object"&&z!==null&&(x=nt(z)),m=l.getDerivedStateFromProps,(z=typeof m=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(f!==G||j!==x)&&fd(t,u,a,x),Dl=!1,j=t.memoizedState,u.state=j,Ln(t,a,u,i),Bn();var U=t.memoizedState;f!==G||j!==U||Dl||e!==null&&e.dependencies!==null&&Xi(e.dependencies)?(typeof m=="function"&&(gc(t,l,m,a),U=t.memoizedState),(H=Dl||od(t,l,H,a,j,U,x)||e!==null&&e.dependencies!==null&&Xi(e.dependencies))?(z||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(a,U,x),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(a,U,x)),typeof u.componentDidUpdate=="function"&&(t.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof u.componentDidUpdate!="function"||f===e.memoizedProps&&j===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||f===e.memoizedProps&&j===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=U),u.props=a,u.state=U,u.context=x,a=H):(typeof u.componentDidUpdate!="function"||f===e.memoizedProps&&j===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||f===e.memoizedProps&&j===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)):it(e,t,l,i),t.memoizedState=u.state,e=t.child):e=pl(e,t,i),e}function _d(e,t,l,a){return na(),t.flags|=256,it(e,t,l,a),t.child}var Rc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Ac(e){return{baseLanes:e,cachePool:pf()}}function Tc(e,t,l){return e=e!==null?e.childLanes&~l:0,t&&(e|=Nt),e}function Od(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:(Ve.current&2)!==0),f&&(i=!0,t.flags&=-129),f=(t.flags&32)!==0,t.flags&=-33,e===null){if(ve){if(i?wl(t):Bl(),(e=we)?(e=wh(e,qt),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Cl!==null?{id:tl,overflow:ll}:null,retryLane:536870912,hydrationErrors:null},l=uf(e),l.return=t,t.child=l,at=t,we=null)):e=null,e===null)throw Nl(t);return rs(e)?t.lanes=32:t.lanes=536870912,null}var m=a.children;return a=a.fallback,i?(Bl(),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)):(wl(t),_c(t,m))}var x=e.memoizedState;if(x!==null&&(m=x.dehydrated,m!==null)){if(u)t.flags&256?(wl(t),t.flags&=-257,t=Oc(e,t,l)):t.memoizedState!==null?(Bl(),t.child=e.child,t.flags|=128,t=null):(Bl(),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(wl(t),rs(m)){if(f=m.nextSibling&&m.nextSibling.dataset,f)var z=f.dgst;f=z,a=Error(c(419)),a.stack="",a.digest=f,Nn({value:a,source:null,stack:null}),t=Oc(e,t,l)}else if($e||La(e,t,l,!1),f=(l&e.childLanes)!==0,$e||f){if(f=Ue,f!==null&&(a=fo(f,l),a!==0&&a!==x.retryLane))throw x.retryLane=a,la(e,a),bt(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,we=Xt(m.nextSibling),at=t,ve=!0,zl=null,qt=!1,e!==null&&sf(t,e),t=_c(t,a.children),t.flags|=4096);return t}return i?(Bl(),m=a.fallback,i=t.mode,x=e.child,z=x.sibling,a=sl(x,{mode:"hidden",children:a.children}),a.subtreeFlags=x.subtreeFlags&65011712,z!==null?m=sl(z,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=Je._currentValue,i=i.parent!==x?{parent:x,pool:x}:i):i=pf(),m={baseLanes:m.baseLanes|l,cachePool:i}),a.memoizedState=m,a.childLanes=Tc(e,f,l),t.memoizedState=Rc,Gn(e.child,a)):(wl(t),l=e.child,e=l.sibling,l=sl(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=_t(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 Cd(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 zd(e,t,l){var a=t.pendingProps,i=a.revealOrder,u=a.tail;a=a.children;var f=Ve.current,m=(f&2)!==0;if(m?(f=f&1|2,t.flags|=128):f&=1,k(Ve,f),it(e,t,a,l),a=ve?zn:0,!m&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Cd(e,l,t);else if(e.tag===19)Cd(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 pl(e,t,l){if(e!==null&&(t.dependencies=e.dependencies),ql|=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=sl(e,e.pendingProps),t.child=l,l.return=t;e.sibling!==null;)e=e.sibling,l=l.sibling=sl(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 d0(e,t,l){switch(t.tag){case 3:fe(t,t.stateNode.containerInfo),jl(t,Je,e.memoizedState.cache),na();break;case 27:case 5:Ze(t);break;case 4:fe(t,t.stateNode.containerInfo);break;case 10:jl(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?(wl(t),t.flags|=128,null):(l&t.child.childLanes)!==0?Od(e,t,l):(wl(t),e=pl(e,t,l),e!==null?e.sibling:null);wl(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 zd(e,t,l);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),k(Ve,Ve.current),a)break;return null;case 22:return t.lanes=0,xd(e,t,l,t.pendingProps);case 24:jl(t,Je,e.memoizedState.cache)}return pl(e,t,l)}function Nd(e,t,l){if(e!==null)if(e.memoizedProps!==t.pendingProps)$e=!0;else{if(!zc(e,l)&&(t.flags&128)===0)return $e=!1,d0(e,t,l);$e=(e.flags&131072)!==0}else $e=!1,ve&&(t.flags&1048576)!==0&&cf(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=Td(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=gd(null,t,e,a,l);break e}else if(i===$){t.tag=14,t=bd(null,t,e,a,l);break e}}throw t=Me(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),Td(e,t,a,i,l);case 3:e:{if(fe(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,jl(t,Je,a),a!==u.cache&&Vr(t,[Je],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=_d(e,t,a,l);break e}else if(a!==i){i=Bt(Error(c(424)),t),Nn(i),t=_d(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(we=Xt(e.firstChild),at=t,ve=!0,zl=null,qt=!0,l=xf(t,null,a,l),t.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(na(),a===i){t=pl(e,t,l);break e}it(e,t,a,l)}t=t.child}return t;case 26:return uu(e,t),e===null?(l=Xh(t.type,null,t.pendingProps,null))?t.memoizedState=l:ve||(l=t.type,e=t.pendingProps,a=Ru(D.current).createElement(l),a[lt]=t,a[ht]=e,ut(a,l,e),Ie(a),t.stateNode=a):t.memoizedState=Xh(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Ze(t),e===null&&ve&&(a=t.stateNode=Hh(t.type,t.pendingProps,D.current),at=t,qt=!0,i=we,Ql(t.type)?(cs=i,we=Xt(a.firstChild)):we=i),it(e,t,t.pendingProps.children,l),uu(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&ve&&((i=a=we)&&(a=G0(a,t.type,t.pendingProps,qt),a!==null?(t.stateNode=a,at=t,we=Xt(a.firstChild),qt=!1,i=!0):i=!1),i||Nl(t)),Ze(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,a0,null,null,l),ai._currentValue=i),uu(e,t),it(e,t,a,l),t.child;case 6:return e===null&&ve&&((e=l=we)&&(l=V0(l,t.pendingProps,qt),l!==null?(t.stateNode=l,at=t,we=null,e=!0):e=!1),e||Nl(t)),null;case 13:return Od(e,t,l);case 4:return fe(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=oa(t,null,a,l):it(e,t,a,l),t.child;case 11:return gd(e,t,t.type,t.pendingProps,l);case 7:return it(e,t,t.pendingProps,l),t.child;case 8:return it(e,t,t.pendingProps.children,l),t.child;case 12:return it(e,t,t.pendingProps.children,l),t.child;case 10:return a=t.pendingProps,jl(t,t.type,a.value),it(e,t,a.children,l),t.child;case 9:return i=t.type._context,a=t.pendingProps.children,ua(t),i=nt(i),a=a(i),t.flags|=1,it(e,t,a,l),t.child;case 14:return bd(e,t,t.type,t.pendingProps,l);case 15:return Sd(e,t,t.type,t.pendingProps,l);case 19:return zd(e,t,l);case 31:return f0(e,t,l);case 22:return xd(e,t,l,t.pendingProps);case 24:return ua(t),a=nt(Je),e===null?(i=Zr(),i===null&&(i=Ue,u=Qr(),i.pooledCache=u,u.refCount++,u!==null&&(i.pooledCacheLanes|=l),i=u),t.memoizedState={parent:a,cache:i},Jr(t),jl(t,Je,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),jl(t,Je,a)):(a=u.cache,jl(t,Je,a),a!==i.cache&&Vr(t,[Je],l,!0))),it(e,t,t.pendingProps.children,l),t.child;case 29:throw t.pendingProps}throw Error(c(156,t.tag))}function yl(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(ah())e.flags|=8192;else throw sa=ki,Kr}else e.flags&=-16777217}function jd(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Zh(t))if(ah())e.flags|=8192;else throw sa=ki,Kr}function cu(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?co():536870912,e.lanes|=t,Fa|=t)}function Vn(e,t){if(!ve)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 Be(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 h0(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 Be(t),null;case 1:return Be(t),null;case 3:return l=t.stateNode,a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),dl(Je),de(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(e===null||e.child===null)&&(Ba(t)?yl(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Yr())),Be(t),null;case 26:var i=t.type,u=t.memoizedState;return e===null?(yl(t),u!==null?(Be(t),jd(t,u)):(Be(t),Nc(t,i,null,a,l))):u?u!==e.memoizedState?(yl(t),Be(t),jd(t,u)):(Be(t),t.flags&=-16777217):(e=e.memoizedProps,e!==a&&yl(t),Be(t),Nc(t,i,e,a,l)),null;case 27:if(Ke(t),l=D.current,i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&yl(t);else{if(!a){if(t.stateNode===null)throw Error(c(166));return Be(t),null}e=J.current,Ba(t)?of(t):(e=Hh(i,a,l),t.stateNode=e,yl(t))}return Be(t),null;case 5:if(Ke(t),i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&yl(t);else{if(!a){if(t.stateNode===null)throw Error(c(166));return Be(t),null}if(u=J.current,Ba(t))of(t);else{var f=Ru(D.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[lt]=t,u[ht]=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(ut(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&&yl(t)}}return Be(t),Nc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,l),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&yl(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(c(166));if(e=D.current,Ba(t)){if(e=t.stateNode,l=t.memoizedProps,a=null,i=at,i!==null)switch(i.tag){case 27:case 5:a=i.memoizedProps}e[lt]=t,e=!!(e.nodeValue===l||a!==null&&a.suppressHydrationWarning===!0||Oh(e.nodeValue,l)),e||Nl(t,!0)}else e=Ru(e).createTextNode(a),e[lt]=t,t.stateNode=e}return Be(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[lt]=t}else na(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Be(t),e=!1}else l=Yr(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),e=!0;if(!e)return t.flags&256?(Ct(t),t):(Ct(t),null);if((t.flags&128)!==0)throw Error(c(558))}return Be(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[lt]=t}else na(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Be(t),i=!1}else i=Yr(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),i=!0;if(!i)return t.flags&256?(Ct(t),t):(Ct(t),null)}return Ct(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),Be(t),null);case 4:return de(),e===null&&Pc(t.stateNode.containerInfo),Be(t),null;case 10:return dl(t.type),Be(t),null;case 19:if(q(Ve),a=t.memoizedState,a===null)return Be(t),null;if(i=(t.flags&128)!==0,u=a.rendering,u===null)if(i)Vn(a,!1);else{if(Ge!==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;)nf(l,e),l=l.sibling;return k(Ve,Ve.current&1|2),ve&&ol(t,a.treeForkCount),t.child}e=e.sibling}a.tail!==null&&Et()>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&&!ve)return Be(t),null}else 2*Et()-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=Et(),e.sibling=null,l=Ve.current,k(Ve,i?l&1|2:l&1),ve&&ol(t,a.treeForkCount),e):(Be(t),null);case 22:case 23:return Ct(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&&(Be(t),t.subtreeFlags&6&&(t.flags|=8192)):Be(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&&q(ra),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),dl(Je),Be(t),null;case 25:return null;case 30:return null}throw Error(c(156,t.tag))}function m0(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 dl(Je),de(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Ke(t),null;case 31:if(t.memoizedState!==null){if(Ct(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(Ct(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 q(Ve),null;case 4:return de(),null;case 10:return dl(t.type),null;case 22:case 23:return Ct(t),Ir(),e!==null&&q(ra),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return dl(Je),null;case 25:return null;default:return null}}function Dd(e,t){switch(Hr(t),t.tag){case 3:dl(Je),de();break;case 26:case 27:case 5:Ke(t);break;case 4:de();break;case 31:t.memoizedState!==null&&Ct(t);break;case 13:Ct(t);break;case 19:q(Ve);break;case 10:dl(t.type);break;case 22:case 23:Ct(t),Ir(),e!==null&&q(ra);break;case 24:dl(Je)}}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){Ce(t,t.return,m)}}function Ll(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,z=m;try{z()}catch(H){Ce(i,x,H)}}}a=a.next}while(a!==u)}}catch(H){Ce(t,t.return,H)}}function Md(e){var t=e.updateQueue;if(t!==null){var l=e.stateNode;try{Rf(t,l)}catch(a){Ce(e,e.return,a)}}}function Ud(e,t,l){l.props=da(e.type,e.memoizedProps),l.state=e.memoizedState;try{l.componentWillUnmount()}catch(a){Ce(e,t,a)}}function kn(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){Ce(e,t,i)}}function al(e,t){var l=e.ref,a=e.refCleanup;if(l!==null)if(typeof a=="function")try{a()}catch(i){Ce(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){Ce(e,t,i)}else l.current=null}function wd(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){Ce(e,e.return,i)}}function jc(e,t,l){try{var a=e.stateNode;B0(a,e.type,l,t),a[ht]=t}catch(i){Ce(e,e.return,i)}}function Bd(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Ql(e.type)||e.tag===4}function Dc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Bd(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&&Ql(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=rl));else if(a!==4&&(a===27&&Ql(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&&Ql(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 Ld(e){var t=e.stateNode,l=e.memoizedProps;try{for(var a=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);ut(t,a,l),t[lt]=e,t[ht]=l}catch(u){Ce(e,e.return,u)}}var vl=!1,We=!1,Uc=!1,Hd=typeof WeakSet=="function"?WeakSet:Set,et=null;function p0(e,t){if(e=e.containerInfo,ts=Nu,e=Fo(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,z=0,H=0,G=e,j=null;t:for(;;){for(var U;G!==l||i!==0&&G.nodeType!==3||(m=f+i),G!==u||a!==0&&G.nodeType!==3||(x=f+a),G.nodeType===3&&(f+=G.nodeValue.length),(U=G.firstChild)!==null;)j=G,G=U;for(;;){if(G===e)break t;if(j===l&&++z===i&&(m=f),j===u&&++H===a&&(x=f),(U=G.nextSibling)!==null)break;G=j,j=G.parentNode}G=U}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,et=t;et!==null;)if(t=et,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,et=e;else for(;et!==null;){switch(t=et,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 P=da(l.type,i);e=a.getSnapshotBeforeUpdate(P,u),a.__reactInternalSnapshotBeforeUpdate=e}catch(ne){Ce(l,l.return,ne)}}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,et=e;break}et=t.return}}function qd(e,t,l){var a=l.flags;switch(l.tag){case 0:case 11:case 15:bl(e,l),a&4&&Qn(5,l);break;case 1:if(bl(e,l),a&4)if(e=l.stateNode,t===null)try{e.componentDidMount()}catch(f){Ce(l,l.return,f)}else{var i=da(l.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(f){Ce(l,l.return,f)}}a&64&&Md(l),a&512&&kn(l,l.return);break;case 3:if(bl(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{Rf(e,t)}catch(f){Ce(l,l.return,f)}}break;case 27:t===null&&a&4&&Ld(l);case 26:case 5:bl(e,l),t===null&&a&4&&wd(l),a&512&&kn(l,l.return);break;case 12:bl(e,l);break;case 31:bl(e,l),a&4&&Gd(e,l);break;case 13:bl(e,l),a&4&&Vd(e,l),a&64&&(e=l.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(l=A0.bind(null,l),Q0(e,l))));break;case 22:if(a=l.memoizedState!==null||vl,!a){t=t!==null&&t.memoizedState!==null||We,i=vl;var u=We;vl=a,(We=t)&&!u?Sl(e,l,(l.subtreeFlags&8772)!==0):bl(e,l),vl=i,We=u}break;case 30:break;default:bl(e,l)}}function Yd(e){var t=e.alternate;t!==null&&(e.alternate=null,Yd(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 He=null,pt=!1;function gl(e,t,l){for(l=l.child;l!==null;)Xd(e,t,l),l=l.sibling}function Xd(e,t,l){if(Rt&&typeof Rt.onCommitFiberUnmount=="function")try{Rt.onCommitFiberUnmount(pn,l)}catch{}switch(l.tag){case 26:We||al(l,t),gl(e,t,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:We||al(l,t);var a=He,i=pt;Ql(l.type)&&(He=l.stateNode,pt=!1),gl(e,t,l),ei(l.stateNode),He=a,pt=i;break;case 5:We||al(l,t);case 6:if(a=He,i=pt,He=null,gl(e,t,l),He=a,pt=i,He!==null)if(pt)try{(He.nodeType===9?He.body:He.nodeName==="HTML"?He.ownerDocument.body:He).removeChild(l.stateNode)}catch(u){Ce(l,t,u)}else try{He.removeChild(l.stateNode)}catch(u){Ce(l,t,u)}break;case 18:He!==null&&(pt?(e=He,Mh(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,l.stateNode),an(e)):Mh(He,l.stateNode));break;case 4:a=He,i=pt,He=l.stateNode.containerInfo,pt=!0,gl(e,t,l),He=a,pt=i;break;case 0:case 11:case 14:case 15:Ll(2,l,t),We||Ll(4,l,t),gl(e,t,l);break;case 1:We||(al(l,t),a=l.stateNode,typeof a.componentWillUnmount=="function"&&Ud(l,t,a)),gl(e,t,l);break;case 21:gl(e,t,l);break;case 22:We=(a=We)||l.memoizedState!==null,gl(e,t,l),We=a;break;default:gl(e,t,l)}}function Gd(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{an(e)}catch(l){Ce(t,t.return,l)}}}function Vd(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){Ce(t,t.return,l)}}function y0(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Hd),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Hd),t;default:throw Error(c(435,e.tag))}}function ou(e,t){var l=y0(e);t.forEach(function(a){if(!l.has(a)){l.add(a);var i=T0.bind(null,e,a);a.then(i,i)}})}function yt(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(Ql(m.type)){He=m.stateNode,pt=!1;break e}break;case 5:He=m.stateNode,pt=!1;break e;case 3:case 4:He=m.stateNode.containerInfo,pt=!0;break e}m=m.return}if(He===null)throw Error(c(160));Xd(u,f,i),He=null,pt=!1,u=i.alternate,u!==null&&(u.return=null),i.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Qd(t,e),t=t.sibling}var Kt=null;function Qd(e,t){var l=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:yt(t,e),vt(e),a&4&&(Ll(3,e,e.return),Qn(3,e),Ll(5,e,e.return));break;case 1:yt(t,e),vt(e),a&512&&(We||l===null||al(l,l.return)),a&64&&vl&&(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=Kt;if(yt(t,e),vt(e),a&512&&(We||l===null||al(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[lt]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=i.createElement(a),i.head.insertBefore(u,i.querySelector("head > title"))),ut(u,a,l),u[lt]=e,Ie(u),a=u;break e;case"link":var f=Qh("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),ut(u,a,l),i.head.appendChild(u);break;case"meta":if(f=Qh("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),ut(u,a,l),i.head.appendChild(u);break;default:throw Error(c(468,a))}u[lt]=e,Ie(u),a=u}e.stateNode=a}else kh(i,e.type,e.stateNode);else e.stateNode=Vh(i,a,e.memoizedProps);else u!==a?(u===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):u.count--,a===null?kh(i,e.type,e.stateNode):Vh(i,a,e.memoizedProps)):a===null&&e.stateNode!==null&&jc(e,e.memoizedProps,l.memoizedProps)}break;case 27:yt(t,e),vt(e),a&512&&(We||l===null||al(l,l.return)),l!==null&&a&4&&jc(e,e.memoizedProps,l.memoizedProps);break;case 5:if(yt(t,e),vt(e),a&512&&(We||l===null||al(l,l.return)),e.flags&32){i=e.stateNode;try{_a(i,"")}catch(P){Ce(e,e.return,P)}}a&4&&e.stateNode!=null&&(i=e.memoizedProps,jc(e,i,l!==null?l.memoizedProps:i)),a&1024&&(Uc=!0);break;case 6:if(yt(t,e),vt(e),a&4){if(e.stateNode===null)throw Error(c(162));a=e.memoizedProps,l=e.stateNode;try{l.nodeValue=a}catch(P){Ce(e,e.return,P)}}break;case 3:if(_u=null,i=Kt,Kt=Au(t.containerInfo),yt(t,e),Kt=i,vt(e),a&4&&l!==null&&l.memoizedState.isDehydrated)try{an(t.containerInfo)}catch(P){Ce(e,e.return,P)}Uc&&(Uc=!1,kd(e));break;case 4:a=Kt,Kt=Au(e.stateNode.containerInfo),yt(t,e),vt(e),Kt=a;break;case 12:yt(t,e),vt(e);break;case 31:yt(t,e),vt(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,ou(e,a)));break;case 13:yt(t,e),vt(e),e.child.flags&8192&&e.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(du=Et()),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,z=vl,H=We;if(vl=z||i,We=H||x,yt(t,e),We=H,vl=z,vt(e),a&8192)e:for(t=e.stateNode,t._visibility=i?t._visibility&-2:t._visibility|1,i&&(l===null||x||vl||We||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 G=x.memoizedProps.style,j=G!=null&&G.hasOwnProperty("display")?G.display:null;m.style.display=j==null||typeof j=="boolean"?"":(""+j).trim()}}catch(P){Ce(x,x.return,P)}}}else if(t.tag===6){if(l===null){x=t;try{x.stateNode.nodeValue=i?"":x.memoizedProps}catch(P){Ce(x,x.return,P)}}}else if(t.tag===18){if(l===null){x=t;try{var U=x.stateNode;i?Uh(U,!0):Uh(x.stateNode,!1)}catch(P){Ce(x,x.return,P)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;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:yt(t,e),vt(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,ou(e,a)));break;case 30:break;case 21:break;default:yt(t,e),vt(e)}}function vt(e){var t=e.flags;if(t&2){try{for(var l,a=e.return;a!==null;){if(Bd(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,z=Dc(e);Mc(e,z,x);break;default:throw Error(c(161))}}catch(H){Ce(e,e.return,H)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function kd(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;kd(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function bl(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)qd(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:Ll(4,t,t.return),ha(t);break;case 1:al(t,t.return);var l=t.stateNode;typeof l.componentWillUnmount=="function"&&Ud(t,t.return,l),ha(t);break;case 27:ei(t.stateNode);case 26:case 5:al(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 Sl(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:Sl(i,u,l),Qn(4,u);break;case 1:if(Sl(i,u,l),a=u,i=a.stateNode,typeof i.componentDidMount=="function")try{i.componentDidMount()}catch(z){Ce(a,a.return,z)}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++)Ef(x[i],m)}catch(z){Ce(a,a.return,z)}}l&&f&64&&Md(u),kn(u,u.return);break;case 27:Ld(u);case 26:case 5:Sl(i,u,l),l&&a===null&&f&4&&wd(u),kn(u,u.return);break;case 12:Sl(i,u,l);break;case 31:Sl(i,u,l),l&&f&4&&Gd(i,u);break;case 13:Sl(i,u,l),l&&f&4&&Vd(i,u);break;case 22:u.memoizedState===null&&Sl(i,u,l),kn(u,u.return);break;case 30:break;default:Sl(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 Jt(e,t,l,a){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Zd(e,t,l,a),t=t.sibling}function Zd(e,t,l,a){var i=t.flags;switch(t.tag){case 0:case 11:case 15:Jt(e,t,l,a),i&2048&&Qn(9,t);break;case 1:Jt(e,t,l,a);break;case 3:Jt(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){Jt(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){Ce(t,t.return,x)}}else Jt(e,t,l,a);break;case 31:Jt(e,t,l,a);break;case 13:Jt(e,t,l,a);break;case 23:break;case 22:u=t.stateNode,f=t.alternate,t.memoizedState!==null?u._visibility&2?Jt(e,t,l,a):Zn(e,t):u._visibility&2?Jt(e,t,l,a):(u._visibility|=2,Za(e,t,l,a,(t.subtreeFlags&10256)!==0||!1)),i&2048&&wc(f,t);break;case 24:Jt(e,t,l,a),i&2048&&Bc(t.alternate,t);break;default:Jt(e,t,l,a)}}function Za(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,z=f.flags;switch(f.tag){case 0:case 11:case 15:Za(u,f,m,x,i),Qn(8,f);break;case 23:break;case 22:var H=f.stateNode;f.memoizedState!==null?H._visibility&2?Za(u,f,m,x,i):Zn(u,f):(H._visibility|=2,Za(u,f,m,x,i)),i&&z&2048&&wc(f.alternate,f);break;case 24:Za(u,f,m,x,i),i&&z&2048&&Bc(f.alternate,f);break;default:Za(u,f,m,x,i)}t=t.sibling}}function Zn(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:Zn(l,a),i&2048&&wc(a.alternate,a);break;case 24:Zn(l,a),i&2048&&Bc(a.alternate,a);break;default:Zn(l,a)}t=t.sibling}}var Kn=8192;function Ka(e,t,l){if(e.subtreeFlags&Kn)for(e=e.child;e!==null;)Kd(e,t,l),e=e.sibling}function Kd(e,t,l){switch(e.tag){case 26:Ka(e,t,l),e.flags&Kn&&e.memoizedState!==null&&lv(l,Kt,e.memoizedState,e.memoizedProps);break;case 5:Ka(e,t,l);break;case 3:case 4:var a=Kt;Kt=Au(e.stateNode.containerInfo),Ka(e,t,l),Kt=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 Jd(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];et=a,$d(a,e)}Jd(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Fd(e),e=e.sibling}function Fd(e){switch(e.tag){case 0:case 11:case 15:Jn(e),e.flags&2048&&Ll(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];et=a,$d(a,e)}Jd(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Ll(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 $d(e,t){for(;et!==null;){var l=et;switch(l.tag){case 0:case 11:case 15:Ll(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,et=a;else e:for(l=e;et!==null;){a=et;var i=a.sibling,u=a.return;if(Yd(a),a===l){et=null;break e}if(i!==null){i.return=u,et=i;break e}et=u}}}var v0={getCacheForType:function(e){var t=nt(Je),l=t.data.get(e);return l===void 0&&(l=e(),t.data.set(e,l)),l},cacheSignal:function(){return nt(Je).controller.signal}},g0=typeof WeakMap=="function"?WeakMap:Map,Ae=0,Ue=null,he=null,pe=0,Oe=0,zt=null,Hl=!1,Ja=!1,Lc=!1,xl=0,Ge=0,ql=0,ma=0,Hc=0,Nt=0,Fa=0,Fn=null,gt=null,qc=!1,du=0,Wd=0,hu=1/0,mu=null,Yl=null,Pe=0,Xl=null,$a=null,El=0,Yc=0,Xc=null,Pd=null,$n=0,Gc=null;function jt(){return(Ae&2)!==0&&pe!==0?pe&-pe:M.T!==null?Jc():ho()}function Id(){if(Nt===0)if((pe&536870912)===0||ve){var e=Ei;Ei<<=1,(Ei&3932160)===0&&(Ei=262144),Nt=e}else Nt=536870912;return e=Ot.current,e!==null&&(e.flags|=32),Nt}function bt(e,t,l){(e===Ue&&(Oe===2||Oe===9)||e.cancelPendingCommit!==null)&&(Wa(e,0),Gl(e,pe,Nt,!1)),vn(e,l),((Ae&2)===0||e!==Ue)&&(e===Ue&&((Ae&2)===0&&(ma|=l),Ge===4&&Gl(e,pe,Nt,!1)),nl(e))}function eh(e,t,l){if((Ae&6)!==0)throw Error(c(327));var a=!l&&(t&127)===0&&(t&e.expiredLanes)===0||yn(e,t),i=a?x0(e,t):Qc(e,t,!0),u=a;do{if(i===0){Ja&&!a&&Gl(e,t,0,!1);break}else{if(l=e.current.alternate,u&&!b0(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=gt,gt=i,u!==null&&(gt===null?gt=u:gt.push.apply(gt,u))}i=f}if(u=!1,i!==2)continue}}if(i===1){Wa(e,0),Gl(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:Gl(a,t,Nt,!Hl);break e;case 2:gt=null;break;case 3:case 5:break;default:throw Error(c(329))}if((t&62914560)===t&&(i=du+300-Et(),10<i)){if(Gl(a,t,Nt,!Hl),Ai(a,0,!0)!==0)break e;El=t,a.timeoutHandle=jh(th.bind(null,a,l,gt,mu,qc,t,Nt,ma,Fa,Hl,u,"Throttled",-0,0),i);break e}th(a,l,gt,mu,qc,t,Nt,ma,Fa,Hl,u,null,-0,0)}}break}while(!0);nl(e)}function th(e,t,l,a,i,u,f,m,x,z,H,G,j,U){if(e.timeoutHandle=-1,G=t.subtreeFlags,G&8192||(G&16785408)===16785408){G={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:rl},Kd(t,u,G);var P=(u&62914560)===u?du-Et():(u&4194048)===u?Wd-Et():0;if(P=av(G,P),P!==null){El=u,e.cancelPendingCommit=P(sh.bind(null,e,t,u,l,a,i,f,m,x,H,G,null,j,U)),Gl(e,u,f,!z);return}}sh(e,t,u,l,a,i,f,m,x)}function b0(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(!Tt(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 Gl(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-At(i),f=1<<u;a[u]=-1,i&=~f}l!==0&&so(e,l,t)}function pu(){return(Ae&6)===0?(Wn(0),!1):!0}function Vc(){if(he!==null){if(Oe===0)var e=he.return;else e=he,fl=ia=null,ic(e),Xa=null,Mn=0,e=he;for(;e!==null;)Dd(e.alternate,e),e=e.return;he=null}}function Wa(e,t){var l=e.timeoutHandle;l!==-1&&(e.timeoutHandle=-1,q0(l)),l=e.cancelPendingCommit,l!==null&&(e.cancelPendingCommit=null,l()),El=0,Vc(),Ue=e,he=l=sl(e.current,null),pe=t,Oe=0,zt=null,Hl=!1,Ja=yn(e,t),Lc=!1,Fa=Nt=Hc=ma=ql=Ge=0,gt=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-At(a),u=1<<i;t|=e[i],a&=~u}return xl=t,Bi(),l}function lh(e,t){ce=null,M.H=Xn,t===Ya||t===Qi?(t=gf(),Oe=3):t===Kr?(t=gf(),Oe=4):Oe=t===xc?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,zt=t,he===null&&(Ge=1,nu(e,Bt(t,e.current)))}function ah(){var e=Ot.current;return e===null?!0:(pe&4194048)===pe?Yt===null:(pe&62914560)===pe||(pe&536870912)!==0?e===Yt:!1}function nh(){var e=M.H;return M.H=Xn,e===null?Xn:e}function ih(){var e=M.A;return M.A=v0,e}function yu(){Ge=4,Hl||(pe&4194048)!==pe&&Ot.current!==null||(Ja=!0),(ql&134217727)===0&&(ma&134217727)===0||Ue===null||Gl(Ue,pe,Nt,!1)}function Qc(e,t,l){var a=Ae;Ae|=2;var i=nh(),u=ih();(Ue!==e||pe!==t)&&(mu=null,Wa(e,t)),t=!1;var f=Ge;e:do try{if(Oe!==0&&he!==null){var m=he,x=zt;switch(Oe){case 8:Vc(),f=6;break e;case 3:case 2:case 9:case 6:Ot.current===null&&(t=!0);var z=Oe;if(Oe=0,zt=null,Pa(e,m,x,z),l&&Ja){f=0;break e}break;default:z=Oe,Oe=0,zt=null,Pa(e,m,x,z)}}S0(),f=Ge;break}catch(H){lh(e,H)}while(!0);return t&&e.shellSuspendCounter++,fl=ia=null,Ae=a,M.H=i,M.A=u,he===null&&(Ue=null,pe=0,Bi()),f}function S0(){for(;he!==null;)uh(he)}function x0(e,t){var l=Ae;Ae|=2;var a=nh(),i=ih();Ue!==e||pe!==t?(mu=null,hu=Et()+500,Wa(e,t)):Ja=yn(e,t);e:do try{if(Oe!==0&&he!==null){t=he;var u=zt;t:switch(Oe){case 1:Oe=0,zt=null,Pa(e,t,u,1);break;case 2:case 9:if(yf(u)){Oe=0,zt=null,rh(t);break}t=function(){Oe!==2&&Oe!==9||Ue!==e||(Oe=7),nl(e)},u.then(t,t);break e;case 3:Oe=7;break e;case 4:Oe=5;break e;case 7:yf(u)?(Oe=0,zt=null,rh(t)):(Oe=0,zt=null,Pa(e,t,u,7));break;case 5:var f=null;switch(he.tag){case 26:f=he.memoizedState;case 5:case 27:var m=he;if(f?Zh(f):m.stateNode.complete){Oe=0,zt=null;var x=m.sibling;if(x!==null)he=x;else{var z=m.return;z!==null?(he=z,vu(z)):he=null}break t}}Oe=0,zt=null,Pa(e,t,u,5);break;case 6:Oe=0,zt=null,Pa(e,t,u,6);break;case 8:Vc(),Ge=6;break e;default:throw Error(c(462))}}E0();break}catch(H){lh(e,H)}while(!0);return fl=ia=null,M.H=a,M.A=i,Ae=l,he!==null?0:(Ue=null,pe=0,Bi(),Ge)}function E0(){for(;he!==null&&!$l();)uh(he)}function uh(e){var t=Nd(e.alternate,e,xl);e.memoizedProps=e.pendingProps,t===null?vu(e):he=t}function rh(e){var t=e,l=t.alternate;switch(t.tag){case 15:case 0:t=Ad(l,t,t.pendingProps,t.type,void 0,pe);break;case 11:t=Ad(l,t,t.pendingProps,t.type.render,t.ref,pe);break;case 5:ic(t);default:Dd(l,t),t=he=nf(t,xl),t=Nd(l,t,xl)}e.memoizedProps=e.pendingProps,t===null?vu(e):he=t}function Pa(e,t,l,a){fl=ia=null,ic(t),Xa=null,Mn=0;var i=t.return;try{if(o0(e,i,t,l,pe)){Ge=1,nu(e,Bt(l,e.current)),he=null;return}}catch(u){if(i!==null)throw he=i,u;Ge=1,nu(e,Bt(l,e.current)),he=null;return}t.flags&32768?(ve||a===1?e=!0:Ja||(pe&536870912)!==0?e=!1:(Hl=e=!0,(a===2||a===9||a===3||a===6)&&(a=Ot.current,a!==null&&a.tag===13&&(a.flags|=16384))),ch(t,e)):vu(t)}function vu(e){var t=e;do{if((t.flags&32768)!==0){ch(t,Hl);return}e=t.return;var l=h0(t.alternate,t,xl);if(l!==null){he=l;return}if(t=t.sibling,t!==null){he=t;return}he=t=e}while(t!==null);Ge===0&&(Ge=5)}function ch(e,t){do{var l=m0(e.alternate,e);if(l!==null){l.flags&=32767,he=l;return}if(l=e.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!t&&(e=e.sibling,e!==null)){he=e;return}he=e=l}while(e!==null);Ge=6,he=null}function sh(e,t,l,a,i,u,f,m,x){e.cancelPendingCommit=null;do gu();while(Pe!==0);if((Ae&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,ty(e,l,u,f,m,x),e===Ue&&(he=Ue=null,pe=0),$a=t,Xl=e,El=l,Yc=u,Xc=i,Pd=a,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,_0(Si,function(){return mh(),null})):(e.callbackNode=null,e.callbackPriority=0),a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=M.T,M.T=null,i=K.p,K.p=2,f=Ae,Ae|=4;try{p0(e,t,l)}finally{Ae=f,K.p=i,M.T=a}}Pe=1,oh(),fh(),dh()}}function oh(){if(Pe===1){Pe=0;var e=Xl,t=$a,l=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||l){l=M.T,M.T=null;var a=K.p;K.p=2;var i=Ae;Ae|=4;try{Qd(t,e);var u=ls,f=Fo(e.containerInfo),m=u.focusedElem,x=u.selectionRange;if(f!==m&&m&&m.ownerDocument&&Jo(m.ownerDocument.documentElement,m)){if(x!==null&&Or(m)){var z=x.start,H=x.end;if(H===void 0&&(H=z),"selectionStart"in m)m.selectionStart=z,m.selectionEnd=Math.min(H,m.value.length);else{var G=m.ownerDocument||document,j=G&&G.defaultView||window;if(j.getSelection){var U=j.getSelection(),P=m.textContent.length,ne=Math.min(x.start,P),je=x.end===void 0?ne:Math.min(x.end,P);!U.extend&&ne>je&&(f=je,je=ne,ne=f);var T=Ko(m,ne),R=Ko(m,je);if(T&&R&&(U.rangeCount!==1||U.anchorNode!==T.node||U.anchorOffset!==T.offset||U.focusNode!==R.node||U.focusOffset!==R.offset)){var C=G.createRange();C.setStart(T.node,T.offset),U.removeAllRanges(),ne>je?(U.addRange(C),U.extend(R.node,R.offset)):(C.setEnd(R.node,R.offset),U.addRange(C))}}}}for(G=[],U=m;U=U.parentNode;)U.nodeType===1&&G.push({element:U,left:U.scrollLeft,top:U.scrollTop});for(typeof m.focus=="function"&&m.focus(),m=0;m<G.length;m++){var X=G[m];X.element.scrollLeft=X.left,X.element.scrollTop=X.top}}Nu=!!ts,ls=ts=null}finally{Ae=i,K.p=a,M.T=l}}e.current=t,Pe=2}}function fh(){if(Pe===2){Pe=0;var e=Xl,t=$a,l=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||l){l=M.T,M.T=null;var a=K.p;K.p=2;var i=Ae;Ae|=4;try{qd(e,t.alternate,t)}finally{Ae=i,K.p=a,M.T=l}}Pe=3}}function dh(){if(Pe===4||Pe===3){Pe=0,Zp();var e=Xl,t=$a,l=El,a=Pd;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?Pe=5:(Pe=0,$a=Xl=null,hh(e,e.pendingLanes));var i=e.pendingLanes;if(i===0&&(Yl=null),cr(l),t=t.stateNode,Rt&&typeof Rt.onCommitFiberRoot=="function")try{Rt.onCommitFiberRoot(pn,t,void 0,(t.current.flags&128)===128)}catch{}if(a!==null){t=M.T,i=K.p,K.p=2,M.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{M.T=t,K.p=i}}(El&3)!==0&&gu(),nl(e),i=e.pendingLanes,(l&261930)!==0&&(i&42)!==0?e===Gc?$n++:($n=0,Gc=e):$n=0,Wn(0)}}function hh(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,jn(t)))}function gu(){return oh(),fh(),dh(),mh()}function mh(){if(Pe!==5)return!1;var e=Xl,t=Yc;Yc=0;var l=cr(El),a=M.T,i=K.p;try{K.p=32>l?32:l,M.T=null,l=Xc,Xc=null;var u=Xl,f=El;if(Pe=0,$a=Xl=null,El=0,(Ae&6)!==0)throw Error(c(331));var m=Ae;if(Ae|=4,Fd(u.current),Zd(u,u.current,f,l),Ae=m,Wn(0,!1),Rt&&typeof Rt.onPostCommitFiberRoot=="function")try{Rt.onPostCommitFiberRoot(pn,u)}catch{}return!0}finally{K.p=i,M.T=a,hh(e,t)}}function ph(e,t,l){t=Bt(l,t),t=Sc(e.stateNode,t,2),e=Ul(e,t,2),e!==null&&(vn(e,2),nl(e))}function Ce(e,t,l){if(e.tag===3)ph(e,e,l);else for(;t!==null;){if(t.tag===3){ph(t,e,l);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Yl===null||!Yl.has(a))){e=Bt(l,e),l=yd(2),a=Ul(t,l,2),a!==null&&(vd(l,a,t,e),vn(a,2),nl(a));break}}t=t.return}}function kc(e,t,l){var a=e.pingCache;if(a===null){a=e.pingCache=new g0;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=R0.bind(null,e,t,l),t.then(e,e))}function R0(e,t,l){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,Ue===e&&(pe&l)===l&&(Ge===4||Ge===3&&(pe&62914560)===pe&&300>Et()-du?(Ae&2)===0&&Wa(e,0):Hc|=l,Fa===pe&&(Fa=0)),nl(e)}function yh(e,t){t===0&&(t=co()),e=la(e,t),e!==null&&(vn(e,t),nl(e))}function A0(e){var t=e.memoizedState,l=0;t!==null&&(l=t.retryLane),yh(e,l)}function T0(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),yh(e,l)}function _0(e,t){return ba(e,t)}var bu=null,Ia=null,Zc=!1,Su=!1,Kc=!1,Vl=0;function nl(e){e!==Ia&&e.next===null&&(Ia===null?bu=Ia=e:Ia=Ia.next=e),Su=!0,Zc||(Zc=!0,C0())}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-At(42|e)+1)-1,u&=i&~(f&~m),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(l=!0,Sh(a,u))}else u=pe,u=Ai(a,a===Ue?u:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(u&3)===0||yn(a,u)||(l=!0,Sh(a,u));a=a.next}while(l);Kc=!1}}function O0(){vh()}function vh(){Su=Zc=!1;var e=0;Vl!==0&&H0()&&(e=Vl);for(var t=Et(),l=null,a=bu;a!==null;){var i=a.next,u=gh(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}Pe!==0&&Pe!==5||Wn(e),Vl!==0&&(Vl=0)}function gh(e,t){for(var l=e.suspendedLanes,a=e.pingedLanes,i=e.expirationTimes,u=e.pendingLanes&-62914561;0<u;){var f=31-At(u),m=1<<f,x=i[f];x===-1?((m&l)===0||(m&a)!==0)&&(i[f]=ey(m,t)):x<=t&&(e.expiredLanes|=m),u&=~m}if(t=Ue,l=pe,l=Ai(e,e===t?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a=e.callbackNode,l===0||e===t&&(Oe===2||Oe===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=uo;break;case 32:l=Si;break;case 268435456:l=ro;break;default:l=Si}return a=bh.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 bh(e,t){if(Pe!==0&&Pe!==5)return e.callbackNode=null,e.callbackPriority=0,null;var l=e.callbackNode;if(gu()&&e.callbackNode!==l)return null;var a=pe;return a=Ai(e,e===Ue?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a===0?null:(eh(e,a,t),gh(e,Et()),e.callbackNode!=null&&e.callbackNode===l?bh.bind(null,e):null)}function Sh(e,t){if(gu())return null;eh(e,t,!0)}function C0(){Y0(function(){(Ae&6)!==0?ba(io,O0):vh()})}function Jc(){if(Vl===0){var e=Ha;e===0&&(e=xi,xi<<=1,(xi&261888)===0&&(xi=256)),Vl=e}return Vl}function xh(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Ci(""+e)}function Eh(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 z0(e,t,l,a,i){if(t==="submit"&&l&&l.stateNode===i){var u=xh((i[ht]||null).action),f=a.submitter;f&&(t=(t=f[ht]||null)?xh(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(Vl!==0){var x=f?Eh(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?Eh(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],N0=$c.toLowerCase(),j0=$c[0].toUpperCase()+$c.slice(1);Zt(N0,"on"+j0)}Zt(Po,"onAnimationEnd"),Zt(Io,"onAnimationIteration"),Zt(ef,"onAnimationStart"),Zt("dblclick","onDoubleClick"),Zt("focusin","onFocus"),Zt("focusout","onBlur"),Zt(Ky,"onTransitionRun"),Zt(Jy,"onTransitionStart"),Zt(Fy,"onTransitionCancel"),Zt(tf,"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(" "),D0=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Pn));function Rh(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,z=m.currentTarget;if(m=m.listener,x!==u&&i.isPropagationStopped())break e;u=m,i.currentTarget=z;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,z=m.currentTarget,m=m.listener,x!==u&&i.isPropagationStopped())break e;u=m,i.currentTarget=z;try{u(i)}catch(H){wi(H)}i.currentTarget=null,u=x}}}}function me(e,t){var l=t[sr];l===void 0&&(l=t[sr]=new Set);var a=e+"__bubble";l.has(a)||(Ah(t,e,2,!1),l.add(a))}function Wc(e,t,l){var a=0;t&&(a|=4),Ah(l,e,a,t)}var xu="_reactListening"+Math.random().toString(36).slice(2);function Pc(e){if(!e[xu]){e[xu]=!0,yo.forEach(function(l){l!=="selectionchange"&&(D0.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 Ah(e,t,l,a){switch(Ih(t)){case 2:var i=uv;break;case 8:i=rv;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}Co(function(){var z=u,H=yr(l),G=[];e:{var j=lf.get(e);if(j!==void 0){var U=Di,P=e;switch(e){case"keypress":if(Ni(l)===0)break e;case"keydown":case"keyup":U=Ty;break;case"focusin":P="focus",U=Er;break;case"focusout":P="blur",U=Er;break;case"beforeblur":case"afterblur":U=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":U=jo;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":U=hy;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":U=Cy;break;case Po:case Io:case ef:U=yy;break;case tf:U=Ny;break;case"scroll":case"scrollend":U=fy;break;case"wheel":U=Dy;break;case"copy":case"cut":case"paste":U=gy;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":U=Mo;break;case"toggle":case"beforetoggle":U=Uy}var ne=(t&4)!==0,je=!ne&&(e==="scroll"||e==="scrollend"),T=ne?j!==null?j+"Capture":null:j;ne=[];for(var R=z,C;R!==null;){var X=R;if(C=X.stateNode,X=X.tag,X!==5&&X!==26&&X!==27||C===null||T===null||(X=Sn(R,T),X!=null&&ne.push(In(R,X,C))),je)break;R=R.return}0<ne.length&&(j=new U(j,P,null,l,H),G.push({event:j,listeners:ne}))}}if((t&7)===0){e:{if(j=e==="mouseover"||e==="pointerover",U=e==="mouseout"||e==="pointerout",j&&l!==pr&&(P=l.relatedTarget||l.fromElement)&&(xa(P)||P[Sa]))break e;if((U||j)&&(j=H.window===H?H:(j=H.ownerDocument)?j.defaultView||j.parentWindow:window,U?(P=l.relatedTarget||l.toElement,U=z,P=P?xa(P):null,P!==null&&(je=d(P),ne=P.tag,P!==je||ne!==5&&ne!==27&&ne!==6)&&(P=null)):(U=null,P=z),U!==P)){if(ne=jo,X="onMouseLeave",T="onMouseEnter",R="mouse",(e==="pointerout"||e==="pointerover")&&(ne=Mo,X="onPointerLeave",T="onPointerEnter",R="pointer"),je=U==null?j:bn(U),C=P==null?j:bn(P),j=new ne(X,R+"leave",U,l,H),j.target=je,j.relatedTarget=C,X=null,xa(H)===z&&(ne=new ne(T,R+"enter",P,l,H),ne.target=C,ne.relatedTarget=je,X=ne),je=X,U&&P)t:{for(ne=M0,T=U,R=P,C=0,X=T;X;X=ne(X))C++;X=0;for(var le=R;le;le=ne(le))X++;for(;0<C-X;)T=ne(T),C--;for(;0<X-C;)R=ne(R),X--;for(;C--;){if(T===R||R!==null&&T===R.alternate){ne=T;break t}T=ne(T),R=ne(R)}ne=null}else ne=null;U!==null&&Th(G,j,U,ne,!1),P!==null&&je!==null&&Th(G,je,P,ne,!0)}}e:{if(j=z?bn(z):window,U=j.nodeName&&j.nodeName.toLowerCase(),U==="select"||U==="input"&&j.type==="file")var Ee=Xo;else if(qo(j))if(Go)Ee=Qy;else{Ee=Gy;var I=Xy}else U=j.nodeName,!U||U.toLowerCase()!=="input"||j.type!=="checkbox"&&j.type!=="radio"?z&&mr(z.elementType)&&(Ee=Xo):Ee=Vy;if(Ee&&(Ee=Ee(e,z))){Yo(G,Ee,l,H);break e}I&&I(e,j,z),e==="focusout"&&z&&j.type==="number"&&z.memoizedProps.value!=null&&hr(j,"number",j.value)}switch(I=z?bn(z):window,e){case"focusin":(qo(I)||I.contentEditable==="true")&&(Na=I,Cr=z,Cn=null);break;case"focusout":Cn=Cr=Na=null;break;case"mousedown":zr=!0;break;case"contextmenu":case"mouseup":case"dragend":zr=!1,$o(G,l,H);break;case"selectionchange":if(Zy)break;case"keydown":case"keyup":$o(G,l,H)}var se;if(Ar)e:{switch(e){case"compositionstart":var ye="onCompositionStart";break e;case"compositionend":ye="onCompositionEnd";break e;case"compositionupdate":ye="onCompositionUpdate";break e}ye=void 0}else za?Lo(e,l)&&(ye="onCompositionEnd"):e==="keydown"&&l.keyCode===229&&(ye="onCompositionStart");ye&&(Uo&&l.locale!=="ko"&&(za||ye!=="onCompositionStart"?ye==="onCompositionEnd"&&za&&(se=zo()):(Ol=H,br="value"in Ol?Ol.value:Ol.textContent,za=!0)),I=Eu(z,ye),0<I.length&&(ye=new Do(ye,e,null,l,H),G.push({event:ye,listeners:I}),se?ye.data=se:(se=Ho(l),se!==null&&(ye.data=se)))),(se=By?Ly(e,l):Hy(e,l))&&(ye=Eu(z,"onBeforeInput"),0<ye.length&&(I=new Do("onBeforeInput","beforeinput",null,l,H),G.push({event:I,listeners:ye}),I.data=se)),z0(G,e,z,l,H)}Rh(G,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 M0(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Th(e,t,l,a,i){for(var u=t._reactName,f=[];l!==null&&l!==a;){var m=l,x=m.alternate,z=m.stateNode;if(m=m.tag,x!==null&&x===a)break;m!==5&&m!==26&&m!==27||z===null||(x=z,i?(z=Sn(l,u),z!=null&&f.unshift(In(l,z,x))):i||(z=Sn(l,u),z!=null&&f.push(In(l,z,x)))),l=l.return}f.length!==0&&e.push({event:t,listeners:f})}var U0=/\r\n?/g,w0=/\u0000|\uFFFD/g;function _h(e){return(typeof e=="string"?e:""+e).replace(U0,`
`).replace(w0,"")}function Oh(e,t){return t=_h(t),_h(e)===t}function Ne(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":_o(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"&&Ne(e,t,"name",i.name,i,null),Ne(e,t,"formEncType",i.formEncType,i,null),Ne(e,t,"formMethod",i.formMethod,i,null),Ne(e,t,"formTarget",i.formTarget,i,null)):(Ne(e,t,"encType",i.encType,i,null),Ne(e,t,"method",i.method,i,null),Ne(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=rl);break;case"onScroll":a!=null&&me("scroll",e);break;case"onScrollEnd":a!=null&&me("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":me("beforetoggle",e),me("toggle",e),Ti(e,"popover",a);break;case"xlinkActuate":ul(e,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":ul(e,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":ul(e,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":ul(e,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":ul(e,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":ul(e,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":ul(e,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":ul(e,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":ul(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=sy.get(l)||l,Ti(e,l,a))}}function es(e,t,l,a,i,u){switch(l){case"style":_o(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&&me("scroll",e);break;case"onScrollEnd":a!=null&&me("scrollend",e);break;case"onClick":a!=null&&(e.onclick=rl);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!vo.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[ht]||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 ut(e,t,l){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":me("error",e),me("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:Ne(e,t,u,f,l,null)}}i&&Ne(e,t,"srcSet",l.srcSet,l,null),a&&Ne(e,t,"src",l.src,l,null);return;case"input":me("invalid",e);var m=u=f=i=null,x=null,z=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":z=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:Ne(e,t,a,H,l,null)}}Eo(e,u,m,x,z,f,i,!1);return;case"select":me("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:Ne(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":me("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:Ne(e,t,f,m,l,null)}Ao(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:Ne(e,t,x,a,l,null)}return;case"dialog":me("beforetoggle",e),me("toggle",e),me("cancel",e),me("close",e);break;case"iframe":case"object":me("load",e);break;case"video":case"audio":for(a=0;a<Pn.length;a++)me(Pn[a],e);break;case"image":me("error",e),me("load",e);break;case"details":me("toggle",e);break;case"embed":case"source":case"link":me("error",e),me("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(z in l)if(l.hasOwnProperty(z)&&(a=l[z],a!=null))switch(z){case"children":case"dangerouslySetInnerHTML":throw Error(c(137,t));default:Ne(e,t,z,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&&Ne(e,t,m,a,l,null))}function B0(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,z=null,H=null;for(U in l){var G=l[U];if(l.hasOwnProperty(U)&&G!=null)switch(U){case"checked":break;case"value":break;case"defaultValue":x=G;default:a.hasOwnProperty(U)||Ne(e,t,U,null,a,G)}}for(var j in a){var U=a[j];if(G=l[j],a.hasOwnProperty(j)&&(U!=null||G!=null))switch(j){case"type":u=U;break;case"name":i=U;break;case"checked":z=U;break;case"defaultChecked":H=U;break;case"value":f=U;break;case"defaultValue":m=U;break;case"children":case"dangerouslySetInnerHTML":if(U!=null)throw Error(c(137,t));break;default:U!==G&&Ne(e,t,j,U,a,G)}}dr(e,f,m,x,z,H,u,i);return;case"select":U=f=m=j=null;for(u in l)if(x=l[u],l.hasOwnProperty(u)&&x!=null)switch(u){case"value":break;case"multiple":U=x;default:a.hasOwnProperty(u)||Ne(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":j=u;break;case"defaultValue":m=u;break;case"multiple":f=u;default:u!==x&&Ne(e,t,i,u,a,x)}t=m,l=f,a=U,j!=null?Ta(e,!!l,j,!1):!!a!=!!l&&(t!=null?Ta(e,!!l,t,!0):Ta(e,!!l,l?[]:"",!1));return;case"textarea":U=j=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:Ne(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":j=i;break;case"defaultValue":U=i;break;case"children":break;case"dangerouslySetInnerHTML":if(i!=null)throw Error(c(91));break;default:i!==u&&Ne(e,t,f,i,a,u)}Ro(e,j,U);return;case"option":for(var P in l)if(j=l[P],l.hasOwnProperty(P)&&j!=null&&!a.hasOwnProperty(P))switch(P){case"selected":e.selected=!1;break;default:Ne(e,t,P,null,a,j)}for(x in a)if(j=a[x],U=l[x],a.hasOwnProperty(x)&&j!==U&&(j!=null||U!=null))switch(x){case"selected":e.selected=j&&typeof j!="function"&&typeof j!="symbol";break;default:Ne(e,t,x,j,a,U)}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 ne in l)j=l[ne],l.hasOwnProperty(ne)&&j!=null&&!a.hasOwnProperty(ne)&&Ne(e,t,ne,null,a,j);for(z in a)if(j=a[z],U=l[z],a.hasOwnProperty(z)&&j!==U&&(j!=null||U!=null))switch(z){case"children":case"dangerouslySetInnerHTML":if(j!=null)throw Error(c(137,t));break;default:Ne(e,t,z,j,a,U)}return;default:if(mr(t)){for(var je in l)j=l[je],l.hasOwnProperty(je)&&j!==void 0&&!a.hasOwnProperty(je)&&es(e,t,je,void 0,a,j);for(H in a)j=a[H],U=l[H],!a.hasOwnProperty(H)||j===U||j===void 0&&U===void 0||es(e,t,H,j,a,U);return}}for(var T in l)j=l[T],l.hasOwnProperty(T)&&j!=null&&!a.hasOwnProperty(T)&&Ne(e,t,T,null,a,j);for(G in a)j=a[G],U=l[G],!a.hasOwnProperty(G)||j===U||j==null&&U==null||Ne(e,t,G,j,a,U)}function Ch(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function L0(){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&&Ch(f)){for(f=0,m=i.responseEnd,a+=1;a<l.length;a++){var x=l[a],z=x.startTime;if(z>m)break;var H=x.transferSize,G=x.initiatorType;H&&Ch(G)&&(x=x.responseEnd,f+=H*(x<m?1:(m-z)/(x-z)))}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 zh(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 Nh(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 H0(){var e=window.event;return e&&e.type==="popstate"?e===ns?!1:(ns=e,!0):(ns=null,!1)}var jh=typeof setTimeout=="function"?setTimeout:void 0,q0=typeof clearTimeout=="function"?clearTimeout:void 0,Dh=typeof Promise=="function"?Promise:void 0,Y0=typeof queueMicrotask=="function"?queueMicrotask:typeof Dh<"u"?function(e){return Dh.resolve(null).then(e).catch(X0)}:jh;function X0(e){setTimeout(function(){throw e})}function Ql(e){return e==="head"}function Mh(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 Uh(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 G0(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=Xt(e.nextSibling),e===null)break}return null}function V0(e,t,l){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!l||(e=Xt(e.nextSibling),e===null))return null;return e}function wh(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Xt(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 Q0(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 Xt(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 Bh(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l==="/$"||l==="/&"){if(t===0)return Xt(e.nextSibling);t--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||t++}e=e.nextSibling}return null}function Lh(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 Hh(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 Gt=new Map,qh=new Set;function Au(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Rl=K.d;K.d={f:k0,r:Z0,D:K0,C:J0,L:F0,m:$0,X:P0,S:W0,M:I0};function k0(){var e=Rl.f(),t=pu();return e||t}function Z0(e){var t=Ea(e);t!==null&&t.tag===5&&t.type==="form"?ld(t):Rl.r(e)}var en=typeof document>"u"?null:document;function Yh(e,t,l){var a=en;if(a&&typeof t=="string"&&t){var i=Ut(t);i='link[rel="'+e+'"][href="'+i+'"]',typeof l=="string"&&(i+='[crossorigin="'+l+'"]'),qh.has(i)||(qh.add(i),e={rel:e,crossOrigin:l,href:t},a.querySelector(i)===null&&(t=a.createElement("link"),ut(t,"link",e),Ie(t),a.head.appendChild(t)))}}function K0(e){Rl.D(e),Yh("dns-prefetch",e,null)}function J0(e,t){Rl.C(e,t),Yh("preconnect",e,t)}function F0(e,t,l){Rl.L(e,t,l);var a=en;if(a&&e&&t){var i='link[rel="preload"][as="'+Ut(t)+'"]';t==="image"&&l&&l.imageSrcSet?(i+='[imagesrcset="'+Ut(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(i+='[imagesizes="'+Ut(l.imageSizes)+'"]')):i+='[href="'+Ut(e)+'"]';var u=i;switch(t){case"style":u=tn(e);break;case"script":u=ln(e)}Gt.has(u)||(e=b({rel:"preload",href:t==="image"&&l&&l.imageSrcSet?void 0:e,as:t},l),Gt.set(u,e),a.querySelector(i)!==null||t==="style"&&a.querySelector(ti(u))||t==="script"&&a.querySelector(li(u))||(t=a.createElement("link"),ut(t,"link",e),Ie(t),a.head.appendChild(t)))}}function $0(e,t){Rl.m(e,t);var l=en;if(l&&e){var a=t&&typeof t.as=="string"?t.as:"script",i='link[rel="modulepreload"][as="'+Ut(a)+'"][href="'+Ut(e)+'"]',u=i;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=ln(e)}if(!Gt.has(u)&&(e=b({rel:"modulepreload",href:e},t),Gt.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"),ut(a,"link",e),Ie(a),l.head.appendChild(a)}}}function W0(e,t,l){Rl.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=Gt.get(u))&&ss(e,l);var x=f=a.createElement("link");Ie(x),ut(x,"link",e),x._p=new Promise(function(z,H){x.onload=z,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 P0(e,t){Rl.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=Gt.get(i))&&os(e,t),u=l.createElement("script"),Ie(u),ut(u,"link",e),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(i,u))}}function I0(e,t){Rl.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=Gt.get(i))&&os(e,t),u=l.createElement("script"),Ie(u),ut(u,"link",e),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(i,u))}}function Xh(e,t,l,a){var i=(i=D.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),Gt.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},Gt.set(e,l),u||ev(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="'+Ut(e)+'"'}function ti(e){return'link[rel="stylesheet"]['+e+"]"}function Gh(e){return b({},e,{"data-precedence":e.precedence,precedence:null})}function ev(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}),ut(t,"link",l),Ie(t),e.head.appendChild(t))}function ln(e){return'[src="'+Ut(e)+'"]'}function li(e){return"script[async]"+e}function Vh(e,t,l){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+Ut(l.href)+'"]');if(a)return t.instance=a,Ie(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"),Ie(a),ut(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,Ie(u),u;a=Gh(l),(i=Gt.get(i))&&ss(a,i),u=(e.ownerDocument||e).createElement("link"),Ie(u);var f=u;return f._p=new Promise(function(m,x){f.onload=m,f.onerror=x}),ut(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,Ie(i),i):(a=l,(i=Gt.get(u))&&(a=b({},l),os(a,i)),e=e.ownerDocument||e,i=e.createElement("script"),Ie(i),ut(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 Qh(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[lt]||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 kh(e,t,l){e=e.ownerDocument||e,e.head.insertBefore(l,t==="title"?e.querySelector("head > title"):null)}function tv(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 Zh(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function lv(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,Ie(u);return}u=t.ownerDocument||t,a=Gh(a),(i=Gt.get(i))&&ss(a,i),u=u.createElement("link"),Ie(u);var f=u;f._p=new Promise(function(m,x){f.onload=m,f.onerror=x}),ut(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 av(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*L0());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(nv,e),Cu=null,Ou.call(e))}function nv(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:V,Provider:null,Consumer:null,_currentValue:ae,_currentValue2:ae,_threadCount:0};function iv(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 Kh(e,t,l,a,i,u,f,m,x,z,H,G){return e=new iv(e,t,l,f,x,z,H,G,m),t=1,u===!0&&(t|=24),u=_t(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 Jh(e){return e?(e=Ma,e):Ma}function Fh(e,t,l,a,i,u){i=Jh(i),a.context===null?a.context=i:a.pendingContext=i,a=Ml(t),a.payload={element:l},u=u===void 0?null:u,u!==null&&(a.callback=u),l=Ul(e,a,t),l!==null&&(bt(l,e,t),wn(l,e,t))}function $h(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){$h(e,t),(e=e.alternate)&&$h(e,t)}function Wh(e){if(e.tag===13||e.tag===31){var t=la(e,67108864);t!==null&&bt(t,e,67108864),ds(e,67108864)}}function Ph(e){if(e.tag===13||e.tag===31){var t=jt();t=rr(t);var l=la(e,t);l!==null&&bt(l,e,t),ds(e,t)}}var Nu=!0;function uv(e,t,l,a){var i=M.T;M.T=null;var u=K.p;try{K.p=2,hs(e,t,l,a)}finally{K.p=u,M.T=i}}function rv(e,t,l,a){var i=M.T;M.T=null;var u=K.p;try{K.p=8,hs(e,t,l,a)}finally{K.p=u,M.T=i}}function hs(e,t,l,a){if(Nu){var i=ms(a);if(i===null)Ic(e,t,a,ju,l),em(e,a);else if(sv(i,e,t,l,a))a.stopPropagation();else if(em(e,a),t&4&&-1<cv.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-At(f);m.entanglements[1]|=x,f&=~x}nl(u),(Ae&6)===0&&(hu=Et()+500,Wn(0))}}break;case 31:case 13:m=la(u,2),m!==null&&bt(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 Ih(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 io:return 2;case uo:return 8;case Si:case Jp:return 32;case ro:return 268435456;default:return 32}default:return 32}}var ys=!1,kl=null,Zl=null,Kl=null,ni=new Map,ii=new Map,Jl=[],cv="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 em(e,t){switch(e){case"focusin":case"focusout":kl=null;break;case"dragenter":case"dragleave":Zl=null;break;case"mouseover":case"mouseout":Kl=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&&Wh(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function sv(e,t,l,a,i){switch(t){case"focusin":return kl=ui(kl,e,t,l,a,i),!0;case"dragenter":return Zl=ui(Zl,e,t,l,a,i),!0;case"mouseover":return Kl=ui(Kl,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 tm(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,mo(e.priority,function(){Ph(l)});return}}else if(t===31){if(t=y(l),t!==null){e.blockedOn=t,mo(e.priority,function(){Ph(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&&Wh(t),e.blockedOn=l,!1;t.shift()}return!0}function lm(e,t,l){Du(e)&&l.delete(t)}function ov(){ys=!1,kl!==null&&Du(kl)&&(kl=null),Zl!==null&&Du(Zl)&&(Zl=null),Kl!==null&&Du(Kl)&&(Kl=null),ni.forEach(lm),ii.forEach(lm)}function Mu(e,t){e.blockedOn===t&&(e.blockedOn=null,ys||(ys=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,ov)))}var Uu=null;function am(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)}kl!==null&&Mu(kl,e),Zl!==null&&Mu(Zl,e),Kl!==null&&Mu(Kl,e),ni.forEach(t),ii.forEach(t);for(var l=0;l<Jl.length;l++){var a=Jl[l];a.blockedOn===e&&(a.blockedOn=null)}for(;0<Jl.length&&(l=Jl[0],l.blockedOn===null);)tm(l),l.blockedOn===null&&Jl.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[ht]||null;if(typeof u=="function")f||am(l);else if(f){var m=null;if(u&&u.hasAttribute("formAction")){if(i=u,f=u[ht]||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),am(l)}}}function nm(){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=jt();Fh(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;Fh(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=ho();e={blockedOn:null,target:e,priority:t};for(var l=0;l<Jl.length&&t!==0&&t<Jl[l].priority;l++);Jl.splice(l,0,e),l===0&&tm(e)}};var im=r.version;if(im!=="19.2.7")throw Error(c(527,im,"19.2.7"));K.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 fv={bundleType:0,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:M,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(fv),Rt=Bu}catch{}}return ci.createRoot=function(e,t){if(!o(e))throw Error(c(299));var l=!1,a="",i=dd,u=hd,f=md;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=Kh(e,1,!1,null,null,l,a,null,i,u,f,nm),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=dd,f=hd,m=md,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=Kh(e,1,!0,t,l??null,a,i,x,u,f,m,nm),t.context=Jh(null),l=t.current,a=jt(),a=rr(a),i=Ml(a),i.callback=null,Ul(l,i,a),l=a,t.current.lanes=l,vn(t,l),nl(t),e[Sa]=t.current,Pc(e),new wu(t)},ci.version="19.2.7",ci}var pm;function Ev(){if(pm)return Ss.exports;pm=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=xv(),Ss.exports}var Rv=Ev();const Av=Zm(Rv);/**
 * 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 Vs=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,Km=/^[\\/]{2}/;function Tv(n,r){return r+n.replace(/\\/g,"/")}var ym="popstate";function vm(n){return typeof n=="object"&&n!=null&&"pathname"in n&&"search"in n&&"hash"in n&&"state"in n&&"key"in n}function _v(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 Bs("",{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 Cv(r,s,null,n)}function qe(n,r){if(n===!1||n===null||typeof n>"u")throw new Error(r)}function Wt(n,r){if(!n){typeof console<"u"&&console.warn(r);try{throw new Error(r)}catch{}}}function Ov(){return Math.random().toString(36).substring(2,10)}function gm(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 Bs(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||Ov(),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 Cv(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:Y.location,delta:O})}function N(L,O){y="PUSH";let w=vm(L)?L:Bs(Y.location,L,O);v=S()+1;let V=gm(w,v),W=Y.createHref(w.mask||w);try{h.pushState(V,"",W)}catch(Z){if(Z instanceof DOMException&&Z.name==="DataCloneError")throw Z;o.location.assign(W)}d&&g&&g({action:y,location:Y.location,delta:1})}function B(L,O){y="REPLACE";let w=vm(L)?L:Bs(Y.location,L,O);v=S();let V=gm(w,v),W=Y.createHref(w.mask||w);h.replaceState(V,"",W),d&&g&&g({action:y,location:Y.location,delta:0})}function Q(L){return zv(o,L)}let Y={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(ym,b),g=L,()=>{o.removeEventListener(ym,b),g=null}},createHref(L){return r(o,L)},createURL:Q,encodeLocation(L){let O=Q(L);return{pathname:O.pathname,search:O.search,hash:O.hash}},push:N,replace:B,go(L){return h.go(L)}};return Y}function zv(n,r,s=!1){let c="http://localhost";n&&(c=n.location.origin!=="null"?n.location.origin:n.location.href),qe(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 Jm(n,r,s="/"){return Nv(n,r,s,!1)}function Nv(n,r,s,c,o){let d=typeof r=="string"?cn(r):r,h=Al(d.pathname||"/",s);if(h==null)return null;let y=jv(n),g=null,v=Gv(h);for(let S=0;g==null&&S<y.length;++S)g=Xv(y[S],v,c);return g}function jv(n){let r=Fm(n);return Dv(r),r}function Fm(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;qe(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=$t([c,S.relativePath]),N=s.concat(S);h.children&&h.children.length>0&&(qe(h.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${b}".`),Fm(h.children,r,N,b,g)),!(h.path==null&&!h.index)&&r.push({path:b,score:qv(b,h.index),routesMeta:N.map((B,Q)=>{let[Y,L]=Pm(B.relativePath,B.caseSensitive,Q===N.length-1);return{...B,matcher:Y,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 $m(h.path))d(h,y,!0,v)}),r}function $m(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=$m(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 Dv(n){n.sort((r,s)=>r.score!==s.score?s.score-r.score:Yv(r.routesMeta.map(c=>c.childrenIndex),s.routesMeta.map(c=>c.childrenIndex)))}var Mv=/^:[\w-]+$/,Uv=3,wv=2,Bv=1,Lv=10,Hv=-2,bm=n=>n==="*";function qv(n,r){let s=n.split("/"),c=s.length;return s.some(bm)&&(c+=Hv),r&&(c+=wv),s.filter(o=>!bm(o)).reduce((o,d)=>o+(Mv.test(d)?Uv:d===""?Bv:Lv),c)}function Yv(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 Xv(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},N=g.matcher&&g.compiledParams?Wm(b,S,g.matcher,g.compiledParams):ku(b,S),B=g.route;if(!N&&v&&s&&!c[c.length-1].route.index&&(N=ku({path:g.relativePath,caseSensitive:g.caseSensitive,end:!1},S)),!N)return null;Object.assign(o,N.params),h.push({params:o,pathname:$t([d,N.pathname]),pathnameBase:kv($t([d,N.pathnameBase])),route:B}),N.pathnameBase!=="/"&&(d=$t([d,N.pathnameBase]))}return h}function ku(n,r){typeof n=="string"&&(n={path:n,caseSensitive:!1,end:!0});let[s,c]=Pm(n.path,n.caseSensitive,n.end);return Wm(n,r,s,c)}function Wm(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},N)=>{if(S==="*"){let Q=y[N]||"";h=d.slice(0,d.length-Q.length).replace(/(.)\/+$/,"$1")}const B=y[N];return b&&!B?v[S]=void 0:v[S]=(B||"").replace(/%2F/g,"/"),v},{}),pathname:d,pathnameBase:h,pattern:n}}function Pm(n,r=!1,s=!0){Wt(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 Gv(n){try{return n.split("/").map(r=>decodeURIComponent(r).replace(/\//g,"%2F")).join("/")}catch(r){return Wt(!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 Al(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 Vv(n,r="/"){let{pathname:s,search:c="",hash:o=""}=typeof n=="string"?cn(n):n,d;return s?(s=Im(s),s.startsWith("/")?d=Sm(s.substring(1),"/"):d=Sm(s,r)):d=r,{pathname:d,search:Zv(c),hash:Kv(o)}}function Sm(n,r){let s=Zu(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 Qv(n){return n.filter((r,s)=>s===0||r.route.path&&r.route.path.length>0)}function Qs(n){let r=Qv(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},qe(!o.pathname||!o.pathname.includes("?"),As("?","pathname","search",o)),qe(!o.pathname||!o.pathname.includes("#"),As("#","pathname","hash",o)),qe(!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 N=h.split("/");for(;N[0]==="..";)N.shift(),b-=1;o.pathname=N.join("/")}y=b>=0?r[b]:"/"}let g=Vv(o,y),v=h&&h!=="/"&&h.endsWith("/"),S=(d||h===".")&&s.endsWith("/");return!g.pathname.endsWith("/")&&(v||S)&&(g.pathname+="/"),g}var Im=n=>n.replace(/[\\/]{2,}/g,"/"),$t=n=>Im(n.join("/")),Zu=n=>n.replace(/\/+$/,""),kv=n=>Zu(n).replace(/^\/*/,"/"),Zv=n=>!n||n==="?"?"":n.startsWith("?")?n:"?"+n,Kv=n=>!n||n==="#"?"":n.startsWith("#")?n:"#"+n,Jv=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 Fv(n){return n!=null&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.internal=="boolean"&&"data"in n}function $v(n){let r=n.map(s=>s.route.path).filter(Boolean);return $t(r)||"/"}var ep=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function tp(n,r){let s=n;if(typeof s!="string"||!Vs.test(s))return{absoluteURL:void 0,isExternal:!1,to:s};let c=s,o=!1;if(ep)try{let d=new URL(window.location.href),h=Km.test(s)?new URL(Tv(s,d.protocol)):new URL(s),y=Al(h.pathname,r);h.origin===d.origin&&y!=null?s=y+h.search+h.hash:o=!0}catch{Wt(!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 lp=["POST","PUT","PATCH","DELETE"];new Set(lp);var Wv=["GET",...lp];new Set(Wv);var Pv=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function Iv(n){try{return Pv.includes(new URL(n).protocol)}catch{return!1}}var sn=_.createContext(null);sn.displayName="DataRouter";var Pu=_.createContext(null);Pu.displayName="DataRouterState";var ap=_.createContext(!1);function eg(){return _.useContext(ap)}var np=_.createContext({isTransitioning:!1});np.displayName="ViewTransition";var tg=_.createContext(new Map);tg.displayName="Fetchers";var lg=_.createContext(null);lg.displayName="Await";var Dt=_.createContext(null);Dt.displayName="Navigation";var mi=_.createContext(null);mi.displayName="Location";var Pt=_.createContext({outlet:null,matches:[],isDataRoute:!1});Pt.displayName="Route";var ks=_.createContext(null);ks.displayName="RouteError";var ip="REACT_ROUTER_ERROR",ag="REDIRECT",ng="ROUTE_ERROR_RESPONSE";function ig(n){if(n.startsWith(`${ip}:${ag}:{`))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 ug(n){if(n.startsWith(`${ip}:${ng}:{`))try{let r=JSON.parse(n.slice(40));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string")return new Jv(r.status,r.statusText,r.data)}catch{}}function rg(n,{relative:r}={}){qe(on(),"useHref() may be used only in the context of a <Router> component.");let{basename:s,navigator:c}=_.useContext(Dt),{hash:o,pathname:d,search:h}=pi(n,{relative:r}),y=d;return s!=="/"&&(y=d==="/"?s:$t([s,d])),c.createHref({pathname:y,search:h,hash:o})}function on(){return _.useContext(mi)!=null}function It(){return qe(on(),"useLocation() may be used only in the context of a <Router> component."),_.useContext(mi).location}var up="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function rp(n){_.useContext(Dt).static||_.useLayoutEffect(n)}function Iu(){let{isDataRoute:n}=_.useContext(Pt);return n?Eg():cg()}function cg(){qe(on(),"useNavigate() may be used only in the context of a <Router> component.");let n=_.useContext(sn),{basename:r,navigator:s}=_.useContext(Dt),{matches:c}=_.useContext(Pt),{pathname:o}=It(),d=JSON.stringify(Qs(c)),h=_.useRef(!1);return rp(()=>{h.current=!0}),_.useCallback((g,v={})=>{if(Wt(h.current,up),!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:$t([r,S.pathname])),(v.replace?s.replace:s.push)(S,v.state,v)},[r,s,d,o,n])}var sg=_.createContext(null);function og(n){let r=_.useContext(Pt).outlet;return _.useMemo(()=>r&&_.createElement(sg.Provider,{value:n},r),[r,n])}function pi(n,{relative:r}={}){let{matches:s}=_.useContext(Pt),{pathname:c}=It(),o=JSON.stringify(Qs(s));return _.useMemo(()=>Wu(n,JSON.parse(o),c,r==="path"),[n,o,c,r])}function fg(n,r){return cp(n,r)}function cp(n,r,s){var L;qe(on(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:c}=_.useContext(Dt),{matches:o}=_.useContext(Pt),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||"";op(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=It(),b;if(r){let O=typeof r=="string"?cn(r):r;qe(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 N=b.pathname||"/",B=N;if(g!=="/"){let O=g.replace(/^\//,"").split("/");B="/"+N.replace(/^\//,"").split("/").slice(O.length).join("/")}let Q=s&&s.state.matches.length?s.state.matches.map(O=>Object.assign(O,{route:s.manifest[O.route.id]||O.route})):Jm(n,{pathname:B});Wt(v||Q!=null,`No routes matched location "${b.pathname}${b.search}${b.hash}" `),Wt(Q==null||Q[Q.length-1].route.element!==void 0||Q[Q.length-1].route.Component!==void 0||Q[Q.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 Y=yg(Q&&Q.map(O=>Object.assign({},O,{params:Object.assign({},h,O.params),pathname:$t([g,c.encodeLocation?c.encodeLocation(O.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:O.pathname]),pathnameBase:O.pathnameBase==="/"?g:$t([g,c.encodeLocation?c.encodeLocation(O.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:O.pathnameBase])})),o,s);return r&&Y?_.createElement(mi.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...b},navigationType:"POP"}},Y):Y}function dg(){let n=xg(),r=Fv(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=_.createElement(_.Fragment,null,_.createElement("p",null,"💿 Hey developer 👋"),_.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",_.createElement("code",{style:d},"ErrorBoundary")," or"," ",_.createElement("code",{style:d},"errorElement")," prop on your route.")),_.createElement(_.Fragment,null,_.createElement("h2",null,"Unexpected Application Error!"),_.createElement("h3",{style:{fontStyle:"italic"}},r),s?_.createElement("pre",{style:o},s):null,h)}var hg=_.createElement(dg,null),sp=class extends _.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=ug(n.digest);s&&(n=s)}let r=n!==void 0?_.createElement(Pt.Provider,{value:this.props.routeContext},_.createElement(ks.Provider,{value:n,children:this.props.component})):this.props.children;return this.context?_.createElement(mg,{error:n},r):r}};sp.contextType=ap;var Ts=new WeakMap;function mg({children:n,error:r}){let{basename:s}=_.useContext(Dt);if(typeof r=="object"&&r&&"digest"in r&&typeof r.digest=="string"){let c=ig(r.digest);if(c){let o=Ts.get(r);if(o)throw o;let d=tp(c.location,s),h=d.absoluteURL||d.to;if(Iv(h))throw new Error("Invalid redirect location");if(ep&&!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 _.createElement("meta",{httpEquiv:"refresh",content:`0;url=${h}`})}}return n}function pg({routeContext:n,match:r,children:s}){let c=_.useContext(sn);return c&&c.static&&c.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(c.staticContext._deepestRenderedBoundaryId=r.route.id),_.createElement(Pt.Provider,{value:n},s)}function yg(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);qe(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:N,errors:B}=c,Q=b.route.loader&&!N.hasOwnProperty(b.route.id)&&(!B||B[b.route.id]===void 0);if(b.route.lazy||Q){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 N,B;g(S,{location:c.location,params:((B=(N=c.matches)==null?void 0:N[0])==null?void 0:B.params)??{},pattern:$v(c.matches),errorInfo:b})}:void 0;return o.reduceRight((S,b,N)=>{let B,Q=!1,Y=null,L=null;c&&(B=d&&b.route.id?d[b.route.id]:void 0,Y=b.route.errorElement||hg,h&&(y<0&&N===0?(op("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),Q=!0,L=null):y===N&&(Q=!0,L=b.route.hydrateFallbackElement||null)));let O=r.concat(o.slice(0,N+1)),w=()=>{let V;return B?V=Y:Q?V=L:b.route.Component?V=_.createElement(b.route.Component,null):b.route.element?V=b.route.element:V=S,_.createElement(pg,{match:b,routeContext:{outlet:S,matches:O,isDataRoute:c!=null},children:V})};return c&&(b.route.ErrorBoundary||b.route.errorElement||N===0)?_.createElement(sp,{location:c.location,revalidation:c.revalidation,component:Y,error:B,children:w(),routeContext:{outlet:null,matches:O,isDataRoute:!0},onError:v}):w()},null)}function Zs(n){return`${n} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function vg(n){let r=_.useContext(sn);return qe(r,Zs(n)),r}function gg(n){let r=_.useContext(Pu);return qe(r,Zs(n)),r}function bg(n){let r=_.useContext(Pt);return qe(r,Zs(n)),r}function Ks(n){let r=bg(n),s=r.matches[r.matches.length-1];return qe(s.route.id,`${n} can only be used on routes that contain a unique "id"`),s.route.id}function Sg(){return Ks("useRouteId")}function xg(){var c;let n=_.useContext(ks),r=gg("useRouteError"),s=Ks("useRouteError");return n!==void 0?n:(c=r.errors)==null?void 0:c[s]}function Eg(){let{router:n}=vg("useNavigate"),r=Ks("useNavigate"),s=_.useRef(!1);return rp(()=>{s.current=!0}),_.useCallback(async(o,d={})=>{Wt(s.current,up),s.current&&(typeof o=="number"?await n.navigate(o):await n.navigate(o,{fromRouteId:r,...d}))},[n,r])}var xm={};function op(n,r,s){!r&&!xm[n]&&(xm[n]=!0,Wt(!1,s))}_.memo(Rg);function Rg({routes:n,manifest:r,future:s,state:c,isStatic:o,onError:d}){return cp(n,void 0,{manifest:r,state:c,isStatic:o,onError:d})}function fp({to:n,replace:r,state:s,relative:c}){qe(on(),"<Navigate> may be used only in the context of a <Router> component.");let{static:o}=_.useContext(Dt);Wt(!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}=_.useContext(Pt),{pathname:h}=It(),y=Iu(),g=Wu(n,Qs(d),h,c==="path"),v=JSON.stringify(g);return _.useEffect(()=>{y(JSON.parse(v),{replace:r,state:s,relative:c})},[y,v,c,r,s]),null}function dp(n){return og(n.context)}function il(n){qe(!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 Ag({basename:n="/",children:r=null,location:s,navigationType:c="POP",navigator:o,static:d=!1,useTransitions:h}){qe(!on(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let y=n.replace(/^\/*/,"/"),g=_.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:N=null,key:B="default",mask:Q}=s,Y=_.useMemo(()=>{let L=Al(v,y);return L==null?null:{location:{pathname:L,search:S,hash:b,state:N,key:B,mask:Q},navigationType:c}},[y,v,S,b,N,B,c,Q]);return Wt(Y!=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.`),Y==null?null:_.createElement(Dt.Provider,{value:g},_.createElement(mi.Provider,{children:r,value:Y}))}function Tg({children:n,location:r}){return fg(Ls(n),r)}function Ls(n,r=[]){let s=[];return _.Children.forEach(n,(c,o)=>{if(!_.isValidElement(c))return;let d=[...r,o];if(c.type===_.Fragment){s.push.apply(s,Ls(c.props.children,d));return}qe(c.type===il,`[${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>`),qe(!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=Ls(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 _g(n){return er(n)&&n.tagName.toLowerCase()==="button"}function Og(n){return er(n)&&n.tagName.toLowerCase()==="form"}function Cg(n){return er(n)&&n.tagName.toLowerCase()==="input"}function zg(n){return!!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)}function Ng(n,r){return n.button===0&&(!r||r==="_self")&&!zg(n)}var Lu=null;function jg(){if(Lu===null)try{new FormData(document.createElement("form"),0),Lu=!1}catch{Lu=!0}return Lu}var Dg=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function _s(n){return n!=null&&!Dg.has(n)?(Wt(!1,`"${n}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Xu}"`),null):n}function Mg(n,r){let s,c,o,d,h;if(Og(n)){let y=n.getAttribute("action");c=y?Al(y,r):null,s=n.getAttribute("method")||Yu,o=_s(n.getAttribute("enctype"))||Xu,d=new FormData(n)}else if(_g(n)||Cg(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?Al(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),!jg()){let{name:v,type:S,value:b}=n;if(S==="image"){let N=v?`${v}.`:"";d.append(`${N}x`,"0"),d.append(`${N}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 Js(n,r){if(n===!1||n===null||typeof n>"u")throw new Error(r)}function hp(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&&Al(o.pathname,r)==="/"?o.pathname=`${Zu(r)}/_root.${c}`:o.pathname=`${Zu(o.pathname)}.${c}`,o}async function Ug(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 wg(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 Bg(n,r,s){let c=await Promise.all(n.map(async o=>{let d=r.routes[o.route.id];if(d){let h=await Ug(d,s);return h.links?h.links():[]}return[]}));return Yg(c.flat(1).filter(wg).filter(o=>o.rel==="stylesheet"||o.rel==="preload").map(o=>o.rel==="stylesheet"?{...o,rel:"prefetch",as:"style"}:{...o,rel:"prefetch"}))}function Em(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 N=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 N=="boolean")return N}return!0}):[]}function Lg(n,r,{includeHydrateFallback:s}={}){return Hg(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 Hg(n){return[...new Set(n)]}function qg(n){let r={},s=Object.keys(n).sort();for(let c of s)r[c]=n[c];return r}function Yg(n,r){let s=new Set;return new Set(r),n.reduce((c,o)=>{let d=JSON.stringify(qg(o));return s.has(d)||(s.add(d),c.push({key:d,link:o})),c},[])}function Fs(){let n=_.useContext(sn);return Js(n,"You must render this element inside a <DataRouterContext.Provider> element"),n}function Xg(){let n=_.useContext(Pu);return Js(n,"You must render this element inside a <DataRouterStateContext.Provider> element"),n}var $s=_.createContext(void 0);$s.displayName="FrameworkContext";function tr(){let n=_.useContext($s);return Js(n,"You must render this element inside a <HydratedRouter> element"),n}function Gg(n,r){let s=_.useContext($s),[c,o]=_.useState(!1),[d,h]=_.useState(!1),{onFocus:y,onBlur:g,onMouseEnter:v,onMouseLeave:S,onTouchStart:b}=r,N=_.useRef(null);_.useEffect(()=>{if(n==="render"&&h(!0),n==="viewport"){let Y=O=>{O.forEach(w=>{h(w.isIntersecting)})},L=new IntersectionObserver(Y,{threshold:.5});return N.current&&L.observe(N.current),()=>{L.disconnect()}}},[n]),_.useEffect(()=>{if(c){let Y=setTimeout(()=>{h(!0)},100);return()=>{clearTimeout(Y)}}},[c]);let B=()=>{o(!0)},Q=()=>{o(!1),h(!1)};return s?n!=="intent"?[d,N,{}]:[d,N,{onFocus:si(y,B),onBlur:si(g,Q),onMouseEnter:si(v,B),onMouseLeave:si(S,Q),onTouchStart:si(b,B)}]:[!1,N,{}]}function si(n,r){return s=>{n&&n(s),s.defaultPrevented||r(s)}}function Vg({page:n,...r}){let s=eg(),{nonce:c}=tr(),{router:o}=Fs(),d=_.useMemo(()=>Jm(o.routes,n,o.basename),[o.routes,n,o.basename]);return d?(r.nonce==null&&c&&(r={...r,nonce:c}),s?_.createElement(kg,{page:n,matches:d,...r}):_.createElement(Zg,{page:n,matches:d,...r})):null}function Qg(n){let{manifest:r,routeModules:s}=tr(),[c,o]=_.useState([]);return _.useEffect(()=>{let d=!1;return Bg(n,r,s).then(h=>{d||o(h)}),()=>{d=!0}},[n,r,s]),c}function kg({page:n,matches:r,...s}){let c=It(),{future:o}=tr(),{basename:d}=Fs(),h=_.useMemo(()=>{if(n===c.pathname+c.search+c.hash)return[];let y=hp(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 _.createElement(_.Fragment,null,h.map(y=>_.createElement("link",{key:y,rel:"prefetch",as:"fetch",href:y,...s})))}function Zg({page:n,matches:r,...s}){let c=It(),{future:o,manifest:d,routeModules:h}=tr(),{basename:y}=Fs(),{loaderData:g,matches:v}=Xg(),S=_.useMemo(()=>Em(n,r,v,d,c,"data"),[n,r,v,d,c]),b=_.useMemo(()=>Em(n,r,v,d,c,"assets"),[n,r,v,d,c]),N=_.useMemo(()=>{if(n===c.pathname+c.search+c.hash)return[];let Y=new Set,L=!1;if(r.forEach(w=>{var W;let V=d.routes[w.route.id];!V||!V.hasLoader||(!S.some(Z=>Z.route.id===w.route.id)&&w.route.id in g&&((W=h[w.route.id])!=null&&W.shouldRevalidate)||V.hasClientLoader?L=!0:Y.add(w.route.id))}),Y.size===0)return[];let O=hp(n,y,o.v8_trailingSlashAwareDataRequests,"data");return L&&Y.size>0&&O.searchParams.set("_routes",r.filter(w=>Y.has(w.route.id)).map(w=>w.route.id).join(",")),[O.pathname+O.search]},[y,o.v8_trailingSlashAwareDataRequests,g,c,d,S,r,n,h]),B=_.useMemo(()=>Lg(b,d),[b,d]),Q=Qg(b);return _.createElement(_.Fragment,null,N.map(Y=>_.createElement("link",{key:Y,rel:"prefetch",as:"fetch",href:Y,...s})),B.map(Y=>_.createElement("link",{key:Y,rel:"modulepreload",href:Y,...s})),Q.map(({key:Y,link:L})=>_.createElement("link",{key:Y,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 Jg=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{Jg&&(window.__reactRouterVersion="7.18.0")}catch{}function Fg({basename:n,children:r,useTransitions:s,window:c}){let o=_.useRef();o.current==null&&(o.current=_v({window:c,v5Compat:!0}));let d=o.current,[h,y]=_.useState({action:d.action,location:d.location}),g=_.useCallback(v=>{s===!1?y(v):_.startTransition(()=>y(v))},[s]);return _.useLayoutEffect(()=>d.listen(g),[d,g]),_.createElement(Ag,{basename:n,children:r,location:h.location,navigationType:h.action,navigator:d,useTransitions:s})}var mp=_.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:N,defaultShouldRevalidate:B,...Q},Y){let{basename:L,navigator:O,useTransitions:w}=_.useContext(Dt),V=typeof S=="string"&&Vs.test(S),W=tp(S,L);S=W.to;let Z=rg(S,{relative:o}),ee=It(),$=null;if(y){let be=Wu(y,[],ee.mask?ee.mask.pathname:"/",!0);L!=="/"&&(be.pathname=be.pathname==="/"?L:$t([L,be.pathname])),$=O.createHref(be)}let[Se,Te,De]=Gg(c,Q),ge=Ig(S,{replace:h,mask:y,state:g,target:v,preventScrollReset:b,relative:o,viewTransition:N,defaultShouldRevalidate:B,useTransitions:w});function _e(be){r&&r(be),be.defaultPrevented||ge(be)}let tt=!(W.isExternal||d),Me=_.createElement("a",{...Q,...De,href:(tt?$:void 0)||W.absoluteURL||Z,onClick:tt?_e:r,ref:Kg(Y,Te),target:v,"data-discover":!V&&s==="render"?"true":void 0});return Se&&!V?_.createElement(_.Fragment,null,Me,_.createElement(Vg,{page:Z})):Me});mp.displayName="Link";var $g=_.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}),N=It(),B=_.useContext(Pu),{navigator:Q,basename:Y}=_.useContext(Dt),L=B!=null&&n1(b)&&y===!0,O=Q.encodeLocation?Q.encodeLocation(b).pathname:b.pathname,w=N.pathname,V=B&&B.navigation&&B.navigation.location?B.navigation.location.pathname:null;s||(w=w.toLowerCase(),V=V?V.toLowerCase():null,O=O.toLowerCase()),V&&Y&&(V=Al(V,Y)||V);const W=O!=="/"&&O.endsWith("/")?O.length-1:O.length;let Z=w===O||!o&&w.startsWith(O)&&w.charAt(W)==="/",ee=V!=null&&(V===O||!o&&V.startsWith(O)&&V.charAt(O.length)==="/"),$={isActive:Z,isPending:ee,isTransitioning:L},Se=Z?r:void 0,Te;typeof c=="function"?Te=c($):Te=[c,Z?"active":null,ee?"pending":null,L?"transitioning":null].filter(Boolean).join(" ");let De=typeof d=="function"?d($):d;return _.createElement(mp,{...v,"aria-current":Se,className:Te,ref:S,style:De,to:h,viewTransition:y},typeof g=="function"?g($):g)});$g.displayName="NavLink";var Wg=_.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:N,...B},Q)=>{let{useTransitions:Y}=_.useContext(Dt),L=l1(),O=a1(y,{relative:v}),w=h.toLowerCase()==="get"?"get":"post",V=typeof y=="string"&&Vs.test(y),W=Z=>{if(g&&g(Z),Z.defaultPrevented)return;Z.preventDefault();let ee=Z.nativeEvent.submitter,$=(ee==null?void 0:ee.getAttribute("formmethod"))||h,Se=()=>L(ee||Z.currentTarget,{fetcherKey:r,method:$,navigate:s,replace:o,state:d,relative:v,preventScrollReset:S,viewTransition:b,defaultShouldRevalidate:N});Y&&s!==!1?_.startTransition(()=>Se()):Se()};return _.createElement("form",{ref:Q,method:w,action:O,onSubmit:c?g:W,...B,"data-discover":!V&&n==="render"?"true":void 0})});Wg.displayName="Form";function Pg(n){return`${n} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function pp(n){let r=_.useContext(sn);return qe(r,Pg(n)),r}function Ig(n,{target:r,replace:s,mask:c,state:o,preventScrollReset:d,relative:h,viewTransition:y,defaultShouldRevalidate:g,useTransitions:v}={}){let S=Iu(),b=It(),N=pi(n,{relative:h});return _.useCallback(B=>{if(Ng(B,r)){B.preventDefault();let Q=s!==void 0?s:di(b)===di(N),Y=()=>S(n,{replace:Q,mask:c,state:o,preventScrollReset:d,relative:h,viewTransition:y,defaultShouldRevalidate:g});v?_.startTransition(()=>Y()):Y()}},[b,S,N,s,c,o,r,n,d,h,y,g,v])}var e1=0,t1=()=>`__${String(++e1)}__`;function l1(){let{router:n}=pp("useSubmit"),{basename:r}=_.useContext(Dt),s=Sg(),c=n.fetch,o=n.navigate;return _.useCallback(async(d,h={})=>{let{action:y,method:g,encType:v,formData:S,body:b}=Mg(d,r);if(h.navigate===!1){let N=h.fetcherKey||t1();await c(N,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 a1(n,{relative:r}={}){let{basename:s}=_.useContext(Dt),c=_.useContext(Pt);qe(c,"useFormAction must be used inside a RouteContext");let[o]=c.matches.slice(-1),d={...pi(n||".",{relative:r})},h=It();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:$t([s,d.pathname])),di(d)}function n1(n,{relative:r}={}){let s=_.useContext(np);qe(s!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:c}=pp("useViewTransitionState"),o=pi(n,{relative:r});if(!s.isTransitioning)return!1;let d=Al(s.currentLocation.pathname,c)||s.currentLocation.pathname,h=Al(s.nextLocation.pathname,c)||s.nextLocation.pathname;return ku(o.pathname,h)!=null||ku(o.pathname,d)!=null}function yp(n,r){return function(){return n.apply(r,arguments)}}const{toString:i1}=Object.prototype,{getPrototypeOf:un}=Object,{iterator:yi,toStringTag:vp}=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},u1=(n,r)=>n!=null&&hi(n,r)?n[r]:void 0,Ws=(n=>r=>{const s=i1.call(r);return n[s]||(n[s]=s.slice(8,-1).toLowerCase())})(Object.create(null)),el=n=>(n=n.toLowerCase(),r=>Ws(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)&&St(n.constructor.isBuffer)&&n.constructor.isBuffer(n)}const gp=el("ArrayBuffer");function r1(n){let r;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?r=ArrayBuffer.isView(n):r=n&&n.buffer&&gp(n.buffer),r}const c1=lr("string"),St=lr("function"),bp=lr("number"),dn=n=>n!==null&&typeof n=="object",s1=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,vp)&&!hi(n,yi)},o1=n=>{if(!dn(n)||fn(n))return!1;try{return Object.keys(n).length===0&&Object.getPrototypeOf(n)===Object.prototype}catch{return!1}},f1=el("Date"),d1=el("File"),h1=n=>!!(n&&typeof n.uri<"u"),m1=n=>n&&typeof n.getParts<"u",p1=el("Blob"),y1=el("FileList"),v1=n=>dn(n)&&St(n.pipe);function g1(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const Rm=g1(),Am=typeof Rm.FormData<"u"?Rm.FormData:void 0,b1=n=>{if(!n)return!1;if(Am&&n instanceof Am)return!0;const r=un(n);if(!r||r===Object.prototype||!St(n.append))return!1;const s=Ws(n);return s==="formdata"||s==="object"&&St(n.toString)&&n.toString()==="[object FormData]"},S1=el("URLSearchParams"),[x1,E1,R1,A1]=["ReadableStream","Request","Response","Headers"].map(el),T1=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 Sp(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,xp=n=>!rn(n)&&n!==pa;function Hs(...n){const{caseless:r,skipUndefined:s}=xp(this)&&this||{},c={},o=(d,h)=>{if(h==="__proto__"||h==="constructor"||h==="prototype")return;const y=r&&typeof h=="string"&&Sp(c,h)||h,g=Ku(c,y)?c[y]:void 0;Gu(g)&&Gu(d)?c[y]=Hs(g,d):Gu(d)?c[y]=Hs({},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];L1.call(y,S)&&o(y[S],S)}}return c}const _1=(n,r,s,{allOwnKeys:c}={})=>(vi(r,(o,d)=>{s&&St(o)?Object.defineProperty(n,d,{__proto__:null,value:yp(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),O1=n=>(n.charCodeAt(0)===65279&&(n=n.slice(1)),n),C1=(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)},z1=(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},N1=(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},j1=n=>{if(!n)return null;if(va(n))return n;let r=n.length;if(!bp(r))return null;const s=new Array(r);for(;r-- >0;)s[r]=n[r];return s},D1=(n=>r=>n&&r instanceof n)(typeof Uint8Array<"u"&&un(Uint8Array)),M1=(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])}},U1=(n,r)=>{let s;const c=[];for(;(s=n.exec(r))!==null;)c.push(s);return c},w1=el("HTMLFormElement"),B1=n=>n.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(s,c,o){return c.toUpperCase()+o}),{propertyIsEnumerable:L1}=Object.prototype,H1=el("RegExp"),Ep=(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)},q1=n=>{Ep(n,(r,s)=>{if(St(n)&&["arguments","caller","callee"].includes(s))return!1;const c=n[s];if(St(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+"'")})}})},Y1=(n,r)=>{const s={},c=o=>{o.forEach(d=>{s[d]=!0})};return va(n)?c(n):c(String(n).split(r)),s},X1=()=>{},G1=(n,r)=>n!=null&&Number.isFinite(n=+n)?n:r;function V1(n){return!!(n&&St(n.append)&&n[vp]==="FormData"&&n[yi])}const Q1=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)},k1=el("AsyncFunction"),Z1=n=>n&&(dn(n)||St(n))&&St(n.then)&&St(n.catch),Rp=((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",St(pa.postMessage)),K1=typeof queueMicrotask<"u"?queueMicrotask.bind(pa):typeof process<"u"&&process.nextTick||Rp,Ap=n=>n!=null&&St(n[yi]),J1=n=>n!=null&&hi(n,yi)&&Ap(n),A={isArray:va,isArrayBuffer:gp,isBuffer:fn,isFormData:b1,isArrayBufferView:r1,isString:c1,isNumber:bp,isBoolean:s1,isObject:dn,isPlainObject:Gu,isEmptyObject:o1,isReadableStream:x1,isRequest:E1,isResponse:R1,isHeaders:A1,isUndefined:rn,isDate:f1,isFile:d1,isReactNativeBlob:h1,isReactNative:m1,isBlob:p1,isRegExp:H1,isFunction:St,isStream:v1,isURLSearchParams:S1,isTypedArray:D1,isFileList:y1,forEach:vi,merge:Hs,extend:_1,trim:T1,stripBOM:O1,inherits:C1,toFlatObject:z1,kindOf:Ws,kindOfTest:el,endsWith:N1,toArray:j1,forEachEntry:M1,matchAll:U1,isHTMLForm:w1,hasOwnProperty:Ku,hasOwnProp:Ku,hasOwnInPrototypeChain:hi,getSafeProp:u1,reduceDescriptors:Ep,freezeMethods:q1,toObjectSet:Y1,toCamelCase:B1,noop:X1,toFiniteNumber:G1,findKey:Sp,global:pa,isContextDefined:xp,isSpecCompliantForm:V1,toJSONObject:Q1,isAsyncFn:k1,isThenable:Z1,setImmediate:Rp,asap:K1,isIterable:Ap,isSafeIterable:J1},F1=A.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),$1=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]&&F1[s])&&(s==="set-cookie"?r[s]?r[s].push(c):r[s]=[c]:r[s]=r[s]?r[s]+", "+c:c)}),r};function W1(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 P1=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),I1=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function Ps(n,r){return A.isArray(n)?n.map(s=>Ps(s,r)):W1(String(n).replace(r,""))}const eb=n=>Ps(n,P1),tb=n=>Ps(n,I1);function Tp(n){const r=Object.create(null);return A.forEach(n.toJSON(),(s,c)=>{r[c]=tb(s)}),r}const Tm=Symbol("internals");function oi(n){return n&&String(n).trim().toLowerCase()}function Vu(n){return n===!1||n==null?n:A.isArray(n)?n.map(Vu):eb(String(n))}function lb(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 ab=n=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(n.trim());function Os(n,r,s,c,o){if(A.isFunction(c))return c.call(this,r,s);if(o&&(r=s),!!A.isString(r)){if(A.isString(c))return r.indexOf(c)!==-1;if(A.isRegExp(c))return c.test(r)}}function nb(n){return n.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(r,s,c)=>s.toUpperCase()+c)}function ib(n,r){const s=A.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 ot=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=A.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)=>A.forEach(y,(v,S)=>d(v,S,g));if(A.isPlainObject(r)||r instanceof this.constructor)h(r,s);else if(A.isString(r)&&(r=r.trim())&&!ab(r))h($1(r),s);else if(A.isObject(r)&&A.isSafeIterable(r)){let y=Object.create(null),g,v;for(const S of r){if(!A.isArray(S))throw new TypeError("Object iterator must return a key-value pair");v=S[0],A.hasOwnProp(y,v)?(g=y[v],y[v]=A.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=A.findKey(this,r);if(c){const o=this[c];if(!s)return o;if(s===!0)return lb(o);if(A.isFunction(s))return s.call(this,o,c);if(A.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=A.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=A.findKey(c,h);y&&(!s||Os(c,c[y],y,s))&&(delete c[y],o=!0)}}return A.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 A.forEach(this,(o,d)=>{const h=A.findKey(c,d);if(h){s[h]=Vu(o),delete s[d];return}const y=r?nb(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 A.forEach(this,(c,o)=>{c!=null&&c!==!1&&(s[o]=r&&A.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[Tm]=this[Tm]={accessors:{}}).accessors,o=this.prototype;function d(h){const y=oi(h);c[y]||(ib(o,h),c[y]=!0)}return A.isArray(r)?r.forEach(d):d(r),this}};ot.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);A.reduceDescriptors(ot.prototype,({value:n},r)=>{let s=r[0].toUpperCase()+r.slice(1);return{get:()=>n,set(c){this[s]=c}}});A.freezeMethods(ot);const ub="[REDACTED ****]";function rb(n){if(A.hasOwnProp(n,"toJSON"))return!0;let r=Object.getPrototypeOf(n);for(;r&&r!==Object.prototype;){if(A.hasOwnProp(r,"toJSON"))return!0;r=Object.getPrototypeOf(r)}return!1}function cb(n,r){const s=new Set(r.map(d=>String(d).toLowerCase())),c=[],o=d=>{if(d===null||typeof d!="object"||A.isBuffer(d))return d;if(c.indexOf(d)!==-1)return;d instanceof ot&&(d=d.toJSON()),c.push(d);let h;if(A.isArray(d))h=[],d.forEach((y,g)=>{const v=o(y);A.isUndefined(v)||(h[g]=v)});else{if(!A.isPlainObject(d)&&rb(d))return c.pop(),d;h=Object.create(null);for(const[y,g]of Object.entries(d)){const v=s.has(y.toLowerCase())?ub:o(g);A.isUndefined(v)||(h[y]=v)}}return c.pop(),h};return o(n)}let F=class _p extends Error{static from(r,s,c,o,d,h){const y=new _p(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&&A.hasOwnProp(r,"redact")?r.redact:void 0,c=A.isArray(s)&&s.length>0?cb(r,s):A.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}}};F.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";F.ERR_BAD_OPTION="ERR_BAD_OPTION";F.ECONNABORTED="ECONNABORTED";F.ETIMEDOUT="ETIMEDOUT";F.ECONNREFUSED="ECONNREFUSED";F.ERR_NETWORK="ERR_NETWORK";F.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";F.ERR_DEPRECATED="ERR_DEPRECATED";F.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";F.ERR_BAD_REQUEST="ERR_BAD_REQUEST";F.ERR_CANCELED="ERR_CANCELED";F.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";F.ERR_INVALID_URL="ERR_INVALID_URL";F.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const sb=null,Op=100;function qs(n){return A.isPlainObject(n)||A.isArray(n)}function Cp(n){return A.endsWith(n,"[]")?n.slice(0,-2):n}function Cs(n,r,s){return n?n.concat(r).map(function(o,d){return o=Cp(o),!s&&d?"["+o+"]":o}).join(s?".":""):r}function ob(n){return A.isArray(n)&&!n.some(qs)}const fb=A.toFlatObject(A,{},null,function(r){return/^is[A-Z]/.test(r)});function ar(n,r,s){if(!A.isObject(n))throw new TypeError("target must be an object");r=r||new FormData,s=A.toFlatObject(s,{metaTokens:!0,dots:!1,indexes:!1},!1,function(w,V){return!A.isUndefined(V[w])});const c=s.metaTokens,o=s.visitor||Q,d=s.dots,h=s.indexes,y=s.Blob||typeof Blob<"u"&&Blob,g=s.maxDepth===void 0?Op:s.maxDepth,v=y&&A.isSpecCompliantForm(r),S=[];if(!A.isFunction(o))throw new TypeError("visitor must be a function");function b(O){if(O===null)return"";if(A.isDate(O))return O.toISOString();if(A.isBoolean(O))return O.toString();if(!v&&A.isBlob(O))throw new F("Blob is not supported. Use a Buffer instead.");return A.isArrayBuffer(O)||A.isTypedArray(O)?v&&typeof Blob=="function"?new Blob([O]):Buffer.from(O):O}function N(O){if(O>g)throw new F("Object is too deeply nested ("+O+" levels). Max depth: "+g,F.ERR_FORM_DATA_DEPTH_EXCEEDED)}function B(O,w){if(g===1/0)return JSON.stringify(O);const V=[];return JSON.stringify(O,function(Z,ee){if(!A.isObject(ee))return ee;for(;V.length&&V[V.length-1]!==this;)V.pop();return V.push(ee),N(w+V.length-1),ee})}function Q(O,w,V){let W=O;if(A.isReactNative(r)&&A.isReactNativeBlob(O))return r.append(Cs(V,w,d),b(O)),!1;if(O&&!V&&typeof O=="object"){if(A.endsWith(w,"{}"))w=c?w:w.slice(0,-2),O=B(O,1);else if(A.isArray(O)&&ob(O)||(A.isFileList(O)||A.endsWith(w,"[]"))&&(W=A.toArray(O)))return w=Cp(w),W.forEach(function(ee,$){!(A.isUndefined(ee)||ee===null)&&r.append(h===!0?Cs([w],$,d):h===null?w:w+"[]",b(ee))}),!1}return qs(O)?!0:(r.append(Cs(V,w,d),b(O)),!1)}const Y=Object.assign(fb,{defaultVisitor:Q,convertValue:b,isVisitable:qs});function L(O,w,V=0){if(!A.isUndefined(O)){if(N(V),S.indexOf(O)!==-1)throw new Error("Circular reference detected in "+w.join("."));S.push(O),A.forEach(O,function(Z,ee){(!(A.isUndefined(Z)||Z===null)&&o.call(r,Z,A.isString(ee)?ee.trim():ee,w,Y))===!0&&L(Z,w?w.concat(ee):[ee],V+1)}),S.pop()}}if(!A.isObject(n))throw new TypeError("data must be an object");return L(n),r}function _m(n){const r={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(n).replace(/[!'()~]|%20/g,function(c){return r[c]})}function Is(n,r){this._pairs=[],n&&ar(n,this,r)}const zp=Is.prototype;zp.append=function(r,s){this._pairs.push([r,s])};zp.toString=function(r){const s=r?function(c){return r.call(this,c,_m)}:_m;return this._pairs.map(function(o){return s(o[0])+"="+s(o[1])},"").join("&")};function db(n){return encodeURIComponent(n).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Np(n,r,s){if(!r)return n;const c=A.isFunction(s)?{serialize:s}:s,o=A.getSafeProp(c,"encode")||db,d=A.getSafeProp(c,"serialize");let h;if(d?h=d(r,c):h=A.isURLSearchParams(r)?r.toString():new Is(r,c).toString(o),h){const y=n.indexOf("#");y!==-1&&(n=n.slice(0,y)),n+=(n.indexOf("?")===-1?"?":"&")+h}return n}class Om{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){A.forEach(this.handlers,function(c){c!==null&&r(c)})}}const eo={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},hb=typeof URLSearchParams<"u"?URLSearchParams:Is,mb=typeof FormData<"u"?FormData:null,pb=typeof Blob<"u"?Blob:null,yb={isBrowser:!0,classes:{URLSearchParams:hb,FormData:mb,Blob:pb},protocols:["http","https","file","blob","url","data"]},to=typeof window<"u"&&typeof document<"u",Ys=typeof navigator=="object"&&navigator||void 0,vb=to&&(!Ys||["ReactNative","NativeScript","NS"].indexOf(Ys.product)<0),gb=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",bb=to&&window.location.href||"http://localhost",Sb=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:to,hasStandardBrowserEnv:vb,hasStandardBrowserWebWorkerEnv:gb,navigator:Ys,origin:bb},Symbol.toStringTag,{value:"Module"})),rt={...Sb,...yb};function xb(n,r){return ar(n,new rt.classes.URLSearchParams,{visitor:function(s,c,o,d){return rt.isNode&&A.isBuffer(s)?(this.append(c,s.toString("base64")),!1):d.defaultVisitor.apply(this,arguments)},...r})}const Cm=Op;function jp(n){if(n>Cm)throw new F("FormData field is too deeply nested ("+n+" levels). Max depth: "+Cm,F.ERR_FORM_DATA_DEPTH_EXCEEDED)}function Eb(n){const r=[],s=/\w+|\[(\w*)]/g;let c;for(;(c=s.exec(n))!==null;)jp(r.length),r.push(c[0]==="[]"?"":c[1]||c[0]);return r}function Rb(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 Dp(n){function r(s,c,o,d){jp(d);let h=s[d++];if(h==="__proto__")return!0;const y=Number.isFinite(+h),g=d>=s.length;return h=!h&&A.isArray(o)?o.length:h,g?(A.hasOwnProp(o,h)?o[h]=A.isArray(o[h])?o[h].concat(c):[o[h],c]:o[h]=c,!y):((!A.hasOwnProp(o,h)||!A.isObject(o[h]))&&(o[h]=[]),r(s,c,o[h],d)&&A.isArray(o[h])&&(o[h]=Rb(o[h])),!y)}if(A.isFormData(n)&&A.isFunction(n.entries)){const s={};return A.forEachEntry(n,(c,o)=>{r(Eb(c),o,s,0)}),s}return null}const nn=(n,r)=>n!=null&&A.hasOwnProp(n,r)?n[r]:void 0;function Ab(n,r,s){if(A.isString(n))try{return(r||JSON.parse)(n),A.trim(n)}catch(c){if(c.name!=="SyntaxError")throw c}return(s||JSON.stringify)(n)}const gi={transitional:eo,adapter:["xhr","http","fetch"],transformRequest:[function(r,s){const c=s.getContentType()||"",o=c.indexOf("application/json")>-1,d=A.isObject(r);if(d&&A.isHTMLForm(r)&&(r=new FormData(r)),A.isFormData(r))return o?JSON.stringify(Dp(r)):r;if(A.isArrayBuffer(r)||A.isBuffer(r)||A.isStream(r)||A.isFile(r)||A.isBlob(r)||A.isReadableStream(r))return r;if(A.isArrayBufferView(r))return r.buffer;if(A.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 xb(r,g).toString();if((y=A.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),Ab(r)):r}],transformResponse:[function(r){const s=nn(this,"transitional")||gi.transitional,c=s&&s.forcedJSONParsing,o=nn(this,"responseType"),d=o==="json";if(A.isResponse(r)||A.isReadableStream(r))return r;if(r&&A.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"?F.from(g,F.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:rt.classes.FormData,Blob:rt.classes.Blob},validateStatus:function(r){return r>=200&&r<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};A.forEach(["delete","get","head","post","put","patch","query"],n=>{gi.headers[n]={}});function zs(n,r){const s=this||gi,c=r||s,o=ot.from(c.headers);let d=c.data;return A.forEach(n,function(y){d=y.call(s,d,o.normalize(),r?r.status:void 0)}),o.normalize(),d}function Mp(n){return!!(n&&n.__CANCEL__)}let bi=class extends F{constructor(r,s,c){super(r??"canceled",F.ERR_CANCELED,s,c),this.name="CanceledError",this.__CANCEL__=!0}};function Up(n,r,s){const c=s.config.validateStatus;!s.status||!c||c(s.status)?n(s):r(new F("Request failed with status code "+s.status,s.status>=400&&s.status<500?F.ERR_BAD_REQUEST:F.ERR_BAD_RESPONSE,s.config,s.request,s))}function Tb(n){const r=/^([-+\w]{1,25}):(?:\/\/)?/.exec(n);return r&&r[1]||""}function _b(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,N=0;for(;b!==o;)N+=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(N*1e3/B):void 0}}function Ob(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=_b(50,250);return Ob(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)},zm=(n,r)=>{const s=n!=null;return[c=>r[0]({lengthComputable:s,total:n,loaded:c}),r[1]]},Nm=n=>(...r)=>A.asap(()=>n(...r)),Cb=rt.hasStandardBrowserEnv?((n,r)=>s=>(s=new URL(s,rt.origin),n.protocol===s.protocol&&n.host===s.host&&(r||n.port===s.port)))(new URL(rt.origin),rt.navigator&&/(msie|trident)/i.test(rt.navigator.userAgent)):()=>!0,zb=rt.hasStandardBrowserEnv?{write(n,r,s,c,o,d,h){if(typeof document>"u")return;const y=[`${n}=${encodeURIComponent(r)}`];A.isNumber(s)&&y.push(`expires=${new Date(s).toUTCString()}`),A.isString(c)&&y.push(`path=${c}`),A.isString(o)&&y.push(`domain=${o}`),d===!0&&y.push("secure"),A.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 Nb(n){return typeof n!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(n)}function jb(n,r){return r?n.replace(/\/?\/$/,"")+"/"+r.replace(/^\/+/,""):n}const Db=/^https?:(?!\/\/)/i,Mb=/[\t\n\r]/g;function Ub(n){let r=0;for(;r<n.length&&n.charCodeAt(r)<=32;)r++;return n.slice(r)}function wb(n){return Ub(n).replace(Mb,"")}function jm(n,r){if(typeof n=="string"&&Db.test(wb(n)))throw new F('Invalid URL: missing "//" after protocol',F.ERR_INVALID_URL,r)}function wp(n,r,s,c){jm(r,c);let o=!Nb(r);return n&&(o||s===!1)?(jm(n,c),jb(n,r)):r}const Dm=n=>n instanceof ot?{...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,N,B){return A.isPlainObject(S)&&A.isPlainObject(b)?A.merge.call({caseless:B},S,b):A.isPlainObject(b)?A.merge({},b):A.isArray(b)?b.slice():b}function o(S,b,N,B){if(A.isUndefined(b)){if(!A.isUndefined(S))return c(void 0,S,N,B)}else return c(S,b,N,B)}function d(S,b){if(!A.isUndefined(b))return c(void 0,b)}function h(S,b){if(A.isUndefined(b)){if(!A.isUndefined(S))return c(void 0,S)}else return c(void 0,b)}function y(S){const b=A.hasOwnProp(r,"transitional")?r.transitional:void 0;if(!A.isUndefined(b))if(A.isPlainObject(b)){if(A.hasOwnProp(b,S))return b[S]}else return;const N=A.hasOwnProp(n,"transitional")?n.transitional:void 0;if(A.isPlainObject(N)&&A.hasOwnProp(N,S))return N[S]}function g(S,b,N){if(A.hasOwnProp(r,N))return c(S,b);if(A.hasOwnProp(n,N))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,N)=>o(Dm(S),Dm(b),N,!0)};return A.forEach(Object.keys({...n,...r}),function(b){if(b==="__proto__"||b==="constructor"||b==="prototype")return;const N=A.hasOwnProp(v,b)?v[b]:o,B=A.hasOwnProp(n,b)?n[b]:void 0,Q=A.hasOwnProp(r,b)?r[b]:void 0,Y=N(B,Q,b);A.isUndefined(Y)&&N!==g||(s[b]=Y)}),A.hasOwnProp(r,"validateStatus")&&A.isUndefined(r.validateStatus)&&y("validateStatusUndefinedResolves")===!1&&(A.hasOwnProp(n,"validateStatus")?s.validateStatus=c(void 0,n.validateStatus):delete s.validateStatus),s}const Bb=["content-type","content-length"];function Lb(n,r,s){if(s!=="content-only"){n.set(r);return}Object.entries(r).forEach(([c,o])=>{Bb.includes(c.toLowerCase())&&n.set(c,o)})}const Hb=n=>encodeURIComponent(n).replace(/%([0-9A-F]{2})/gi,(r,s)=>String.fromCharCode(parseInt(s,16)));function Bp(n){const r=ga({},n),s=N=>A.hasOwnProp(r,N)?r[N]: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=ot.from(y),r.url=Np(wp(v,b,S,r),s("params"),s("paramsSerializer")),g){const N=A.getSafeProp(g,"username")||"",B=A.getSafeProp(g,"password")||"";y.set("Authorization","Basic "+btoa(N+":"+(B?Hb(B):"")))}if(A.isFormData(c)&&(rt.hasStandardBrowserEnv||rt.hasStandardBrowserWebWorkerEnv||A.isReactNative(c)?y.setContentType(void 0):A.isFunction(c.getHeaders)&&Lb(y,c.getHeaders(),s("formDataHeaderPolicy"))),rt.hasStandardBrowserEnv&&(A.isFunction(o)&&(o=o(r)),o===!0||o==null&&Cb(r.url))){const B=d&&h&&zb.read(h);B&&y.set(d,B)}return r}const qb=typeof XMLHttpRequest<"u",Yb=qb&&function(n){return new Promise(function(s,c){const o=Bp(n);let d=o.data;const h=ot.from(o.headers).normalize();let{responseType:y,onUploadProgress:g,onDownloadProgress:v}=o,S,b,N,B,Q;function Y(){B&&B(),Q&&Q(),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 V=ot.from("getAllResponseHeaders"in L&&L.getAllResponseHeaders()),Z={data:!y||y==="text"||y==="json"?L.responseText:L.response,status:L.status,statusText:L.statusText,headers:V,config:n,request:L};Up(function($){s($),Y()},function($){c($),Y()},Z),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 F("Request aborted",F.ECONNABORTED,n,L)),Y(),L=null)},L.onerror=function(W){const Z=W&&W.message?W.message:"Network Error",ee=new F(Z,F.ERR_NETWORK,n,L);ee.event=W||null,c(ee),Y(),L=null},L.ontimeout=function(){let W=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const Z=o.transitional||eo;o.timeoutErrorMessage&&(W=o.timeoutErrorMessage),c(new F(W,Z.clarifyTimeoutError?F.ETIMEDOUT:F.ECONNABORTED,n,L)),Y(),L=null},d===void 0&&h.setContentType(null),"setRequestHeader"in L&&A.forEach(Tp(h),function(W,Z){L.setRequestHeader(Z,W)}),A.isUndefined(o.withCredentials)||(L.withCredentials=!!o.withCredentials),y&&y!=="json"&&(L.responseType=o.responseType),v&&([N,Q]=Ju(v,!0),L.addEventListener("progress",N)),g&&L.upload&&([b,B]=Ju(g),L.upload.addEventListener("progress",b),L.upload.addEventListener("loadend",B)),(o.cancelToken||o.signal)&&(S=V=>{L&&(c(!V||V.type?new bi(null,n,L):V),L.abort(),Y(),L=null)},o.cancelToken&&o.cancelToken.subscribe(S),o.signal&&(o.signal.aborted?S():o.signal.addEventListener("abort",S)));const w=Tb(o.url);if(w&&!rt.protocols.includes(w)){c(new F("Unsupported protocol "+w+":",F.ERR_BAD_REQUEST,n));return}L.send(d||null)})},Xb=(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 F?v:new bi(v instanceof Error?v.message:v))}};let d=r&&setTimeout(()=>{d=null,o(new F(`timeout of ${r}ms exceeded`,F.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=()=>A.asap(h),y},Gb=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},Vb=async function*(n,r){for await(const s of Qb(n))yield*Gb(s,r)},Qb=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()}},Mm=(n,r,s,c)=>{const o=Vb(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 N=d+=b;s(N)}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,kb=(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 Q=c.charCodeAt(B+1),Y=c.charCodeAt(B+2);Fu(Q)&&Fu(Y)&&(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 N=Math.floor(h/4)*3-(g||0);return N>0?N:0}let d=0;for(let h=0,y=c.length;h<y;h++){const g=c.charCodeAt(h);if(g===37&&kb(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 lo="1.18.0",Um=64*1024,{isFunction:Hu}=A,Kb=n=>encodeURIComponent(n).replace(/%([0-9A-F]{2})/gi,(r,s)=>String.fromCharCode(parseInt(s,16))),wm=n=>{if(!A.isString(n))return n;try{return decodeURIComponent(n)}catch{return n}},Bm=(n,...r)=>{try{return!!n(...r)}catch{return!1}},Jb=n=>{const r=n.indexOf("://");let s=n;return r!==-1&&(s=s.slice(r+3)),s.includes("@")||s.includes(":")},Fb=n=>{const r=A.global!==void 0&&A.global!==null?A.global:globalThis,{ReadableStream:s,TextEncoder:c}=r;n=A.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=>w=>O.encode(w))(new c):async O=>new Uint8Array(await new d(O).arrayBuffer())),N=g&&S&&Bm(()=>{let O=!1;const w=new d(rt.origin,{body:new s,method:"POST",get duplex(){return O=!0,"half"}}),V=w.headers.has("Content-Type");return w.body!=null&&w.body.cancel(),O&&!V}),B=v&&S&&Bm(()=>A.isReadableStream(new h("").body)),Q={stream:B&&(O=>O.body)};y&&["text","arrayBuffer","blob","formData","stream"].forEach(O=>{!Q[O]&&(Q[O]=(w,V)=>{let W=w&&w[O];if(W)return W.call(w);throw new F(`Response type '${O}' is not supported`,F.ERR_NOT_SUPPORT,V)})});const Y=async O=>{if(O==null)return 0;if(A.isBlob(O))return O.size;if(A.isSpecCompliantForm(O))return(await new d(rt.origin,{method:"POST",body:O}).arrayBuffer()).byteLength;if(A.isArrayBufferView(O)||A.isArrayBuffer(O))return O.byteLength;if(A.isURLSearchParams(O)&&(O=O+""),A.isString(O))return(await b(O)).byteLength},L=async(O,w)=>{const V=A.toFiniteNumber(O.getContentLength());return V??Y(w)};return async O=>{let{url:w,method:V,data:W,signal:Z,cancelToken:ee,timeout:$,onDownloadProgress:Se,onUploadProgress:Te,responseType:De,headers:ge,withCredentials:_e="same-origin",fetchOptions:tt,maxContentLength:Me,maxBodyLength:be}=Bp(O);const M=A.isNumber(Me)&&Me>-1,K=A.isNumber(be)&&be>-1,ae=D=>A.hasOwnProp(O,D)?O[D]:void 0;let xe=o||fetch;De=De?(De+"").toLowerCase():"text";let oe=Xb([Z,ee&&ee.toAbortSignal()],$),E=null;const q=oe&&oe.unsubscribe&&(()=>{oe.unsubscribe()});let k,J=null;const ie=()=>new F("Request body larger than maxBodyLength limit",F.ERR_BAD_REQUEST,O,E);try{let D;const te=ae("auth");if(te){const ue=A.getSafeProp(te,"username")||"",ft=A.getSafeProp(te,"password")||"";D={username:ue,password:ft}}if(Jb(w)){const ue=new URL(w,rt.origin);if(!D&&(ue.username||ue.password)){const ft=wm(ue.username),Qt=wm(ue.password);D={username:ft,password:Qt}}(ue.username||ue.password)&&(ue.username="",ue.password="",w=ue.href)}if(D&&(ge.delete("authorization"),ge.set("Authorization","Basic "+btoa(Kb((D.username||"")+":"+(D.password||""))))),M&&typeof w=="string"&&w.startsWith("data:")&&Zb(w)>Me)throw new F("maxContentLength size of "+Me+" exceeded",F.ERR_BAD_RESPONSE,O,E);if(K&&V!=="get"&&V!=="head"){const ue=await Y(W);if(typeof ue=="number"&&isFinite(ue)&&(k=ue,ue>be))throw ie()}const fe=K&&(A.isReadableStream(W)||A.isStream(W)),de=(ue,ft,Qt)=>Mm(ue,Um,kt=>{if(K&&kt>be)throw J=ie();ft&&ft(kt)},Qt);if(N&&V!=="get"&&V!=="head"&&(Te||fe)){if(k=k??await L(ge,W),k!==0||fe){let ue=new d(w,{method:"POST",body:W,duplex:"half"}),ft;if(A.isFormData(W)&&(ft=ue.headers.get("content-type"))&&ge.setContentType(ft),ue.body){const[Qt,kt]=Te&&zm(k,Ju(Nm(Te)))||[];W=de(ue.body,Qt,kt)}}}else if(fe&&!g&&S&&V!=="get"&&V!=="head")W=de(W);else if(fe&&g&&!N&&V!=="get"&&V!=="head")throw new F("Stream request bodies are not supported by the current fetch implementation",F.ERR_NOT_SUPPORT,O,E);A.isString(_e)||(_e=_e?"include":"omit");const Ze=g&&"credentials"in d.prototype;if(A.isFormData(W)){const ue=ge.getContentType();ue&&/^multipart\/form-data/i.test(ue)&&!/boundary=/i.test(ue)&&ge.delete("content-type")}ge.set("User-Agent","axios/"+lo,!1);const Ke={...tt,signal:oe,method:V.toUpperCase(),headers:Tp(ge.normalize()),body:W,duplex:"half",credentials:Ze?_e:void 0};E=g&&new d(w,Ke);let Ye=await(g?xe(E,tt):xe(w,Ke));const hn=ot.from(Ye.headers);if(M){const ue=A.toFiniteNumber(hn.getContentLength());if(ue!=null&&ue>Me)throw new F("maxContentLength size of "+Me+" exceeded",F.ERR_BAD_RESPONSE,O,E)}const Vt=B&&(De==="stream"||De==="response");if(B&&Ye.body&&(Se||M||Vt&&q)){const ue={};["status","statusText","headers"].forEach($l=>{ue[$l]=Ye[$l]});const ft=A.toFiniteNumber(hn.getContentLength()),[Qt,kt]=Se&&zm(ft,Ju(Nm(Se),!0))||[];let ba=0;const mn=$l=>{if(M&&(ba=$l,ba>Me))throw new F("maxContentLength size of "+Me+" exceeded",F.ERR_BAD_RESPONSE,O,E);Qt&&Qt($l)};Ye=new h(Mm(Ye.body,Um,mn,()=>{kt&&kt(),q&&q()}),ue)}De=De||"text";let xt=await Q[A.findKey(Q,De)||"text"](Ye,O);if(M&&!B&&!Vt){let ue;if(xt!=null&&(typeof xt.byteLength=="number"?ue=xt.byteLength:typeof xt.size=="number"?ue=xt.size:typeof xt=="string"&&(ue=typeof c=="function"?new c().encode(xt).byteLength:xt.length)),typeof ue=="number"&&ue>Me)throw new F("maxContentLength size of "+Me+" exceeded",F.ERR_BAD_RESPONSE,O,E)}return!Vt&&q&&q(),await new Promise((ue,ft)=>{Up(ue,ft,{data:xt,headers:ot.from(Ye.headers),status:Ye.status,statusText:Ye.statusText,config:O,request:E})})}catch(D){if(q&&q(),oe&&oe.aborted&&oe.reason instanceof F){const te=oe.reason;throw te.config=O,E&&(te.request=E),D!==te&&(te.cause=D),te}throw J?(E&&!J.request&&(J.request=E),J):D instanceof F?(E&&!D.request&&(D.request=E),D):D&&D.name==="TypeError"&&/Load failed|fetch/i.test(D.message)?Object.assign(new F("Network Error",F.ERR_NETWORK,O,E,D&&D.response),{cause:D.cause||D}):F.from(D,D&&D.code,O,E,D&&D.response)}}},$b=new Map,Lp=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=$b;for(;y--;)g=d[y],v=S.get(g),v===void 0&&S.set(g,v=y?new Map:Fb(r)),S=v;return v};Lp();const ao={http:sb,xhr:Yb,fetch:{get:Lp}};A.forEach(ao,(n,r)=>{if(n){try{Object.defineProperty(n,"name",{__proto__:null,value:r})}catch{}Object.defineProperty(n,"adapterName",{__proto__:null,value:r})}});const Lm=n=>`- ${n}`,Wb=n=>A.isFunction(n)||n===null||n===!1;function Pb(n,r){n=A.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,!Wb(c)&&(o=ao[(y=String(c)).toLowerCase()],o===void 0))throw new F(`Unknown adapter '${y}'`);if(o&&(A.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(Lm).join(`
`):" "+Lm(h[0]):"as no adapter specified";throw new F("There is no suitable adapter to dispatch the request "+y,"ERR_NOT_SUPPORT")}return o}const Hp={getAdapter:Pb,adapters:ao};function Ns(n){if(n.cancelToken&&n.cancelToken.throwIfRequested(),n.signal&&n.signal.aborted)throw new bi(null,n)}function Hm(n){return Ns(n),n.headers=ot.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),Hp.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=ot.from(c.headers),c},function(c){if(!Mp(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=ot.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 qm={};nr.transitional=function(r,s,c){function o(d,h){return"[Axios v"+lo+"] Transitional option '"+d+"'"+h+(c?". "+c:"")}return(d,h,y)=>{if(r===!1)throw new F(o(h," has been removed"+(s?" in "+s:"")),F.ERR_DEPRECATED);return s&&!qm[h]&&(qm[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 Ib(n,r,s){if(typeof n!="object")throw new F("options must be an object",F.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 F("option "+d+" must be "+g,F.ERR_BAD_OPTION_VALUE);continue}if(s!==!0)throw new F("Unknown option "+d,F.ERR_BAD_OPTION)}}const Qu={assertOptions:Ib,validators:nr},st=Qu.validators;let ya=class{constructor(r){this.defaults=r||{},this.interceptors={request:new Om,response:new Om}}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:st.transitional(st.boolean),forcedJSONParsing:st.transitional(st.boolean),clarifyTimeoutError:st.transitional(st.boolean),legacyInterceptorReqResOrdering:st.transitional(st.boolean),advertiseZstdAcceptEncoding:st.transitional(st.boolean),validateStatusUndefinedResolves:st.transitional(st.boolean)},!1),o!=null&&(A.isFunction(o)?s.paramsSerializer={serialize:o}:Qu.assertOptions(o,{encode:st.function,serialize:st.function},!0)),s.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?s.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:s.allowAbsoluteUrls=!0),Qu.assertOptions(s,{baseUrl:st.spelling("baseURL"),withXsrfToken:st.spelling("withXSRFToken")},!0),s.method=(s.method||this.defaults.method||"get").toLowerCase();let h=d&&A.merge(d.common,d[s.method]);d&&A.forEach(["delete","get","head","post","put","patch","query","common"],Q=>{delete d[Q]}),s.headers=ot.concat(h,d);const y=[];let g=!0;this.interceptors.request.forEach(function(Y){if(typeof Y.runWhen=="function"&&Y.runWhen(s)===!1)return;g=g&&Y.synchronous;const L=s.transitional||eo;L&&L.legacyInterceptorReqResOrdering?y.unshift(Y.fulfilled,Y.rejected):y.push(Y.fulfilled,Y.rejected)});const v=[];this.interceptors.response.forEach(function(Y){v.push(Y.fulfilled,Y.rejected)});let S,b=0,N;if(!g){const Q=[Hm.bind(this),void 0];for(Q.unshift(...y),Q.push(...v),N=Q.length,S=Promise.resolve(s);b<N;)S=S.then(Q[b++],Q[b++]);return S}N=y.length;let B=s;for(;b<N;){const Q=y[b++],Y=y[b++];try{B=Q(B)}catch(L){Y.call(this,L);break}}try{S=Hm.call(this,B)}catch(Q){return Promise.reject(Q)}for(b=0,N=v.length;b<N;)S=S.then(v[b++],v[b++]);return S}getUri(r){r=ga(this.defaults,r);const s=wp(r.baseURL,r.url,r.allowAbsoluteUrls,r);return Np(s,r.params,r.paramsSerializer)}};A.forEach(["delete","get","head","options"],function(r){ya.prototype[r]=function(s,c){return this.request(ga(c||{},{method:r,url:s,data:c&&A.hasOwnProp(c,"data")?c.data:void 0}))}});A.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 e2=class qp{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 qp(function(o){r=o}),cancel:r}}};function t2(n){return function(s){return n.apply(null,s)}}function l2(n){return A.isObject(n)&&n.isAxiosError===!0}const Xs={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(Xs).forEach(([n,r])=>{Xs[r]=n});function Yp(n){const r=new ya(n),s=yp(ya.prototype.request,r);return A.extend(s,ya.prototype,r,{allOwnKeys:!0}),A.extend(s,r,null,{allOwnKeys:!0}),s.create=function(o){return Yp(ga(n,o))},s}const ke=Yp(gi);ke.Axios=ya;ke.CanceledError=bi;ke.CancelToken=e2;ke.isCancel=Mp;ke.VERSION=lo;ke.toFormData=ar;ke.AxiosError=F;ke.Cancel=ke.CanceledError;ke.all=function(r){return Promise.all(r)};ke.spread=t2;ke.isAxiosError=l2;ke.mergeConfig=ga;ke.AxiosHeaders=ot;ke.formToJSON=n=>Dp(A.isHTMLForm(n)?new FormData(n):n);ke.getAdapter=Hp.getAdapter;ke.HttpStatusCode=Xs;ke.default=ke;const{Axios:rS,AxiosError:cS,CanceledError:sS,isCancel:oS,CancelToken:fS,VERSION:dS,all:hS,Cancel:mS,isAxiosError:pS,spread:yS,toFormData:vS,AxiosHeaders:gS,HttpStatusCode:bS,formToJSON:SS,getAdapter:xS,mergeConfig:ES,create:RS}=ke,Ft=ke.create({baseURL:"http://localhost:8000",headers:{Accept:"application/json","Content-Type":"application/json"},withCredentials:!1});Ft.interceptors.request.use(n=>{const r=localStorage.getItem("api_token");return r&&(n.headers.Authorization=`Bearer ${r}`),n});const Xp=_.createContext({}),a2=({children:n})=>{const[r,s]=_.useState(!1),[c,o]=_.useState(null),[d,h]=_.useState(!0);_.useEffect(()=>{y()},[]);const y=async()=>{try{if(localStorage.getItem("api_token")){const b=await Ft.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 Ft.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 Ft.post("/api/v1/auth/logout")}catch{}localStorage.removeItem("api_token"),o(null),s(!1)};return p.jsx(Xp.Provider,{value:{isAuthenticated:r,user:c,login:g,logout:v,loading:d},children:!d&&n})},ir=()=>_.useContext(Xp),n2=()=>{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(dp,{}):p.jsx(fp,{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 Gp=(...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 i2=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 u2=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 Ym=n=>{const r=u2(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 r2=n=>{for(const r in n)if(r.startsWith("aria-")||r==="role"||r==="title")return!0;return!1},c2=_.createContext({}),s2=()=>_.useContext(c2),o2=_.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:N="currentColor",className:B=""}=s2()??{},Q=c??b?Number(s??S)*24/Number(r??v):s??S;return _.createElement("svg",{ref:g,...js,width:r??v??js.width,height:r??v??js.height,stroke:n??N,strokeWidth:Q,className:Gp("lucide",B,o),...!d&&!r2(y)&&{"aria-hidden":"true"},...y},[...h.map(([Y,L])=>_.createElement(Y,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 Le=(n,r)=>{const s=_.forwardRef(({className:c,...o},d)=>_.createElement(o2,{ref:d,iconNode:r,className:Gp(`lucide-${i2(Ym(n))}`,`lucide-${n}`,c),...o}));return s.displayName=Ym(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 f2=[["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"}]],d2=Le("activity",f2);/**
 * @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:"m15 18-6-6 6-6",key:"1wnfg3"}]],Vp=Le("chevron-left",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 m2=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],p2=Le("chevron-right",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=[["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"}]],v2=Le("circle-alert",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=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],b2=Le("circle-check-big",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:"m9 12 2 2 4-4",key:"dzmm74"}]],x2=Le("circle-check",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=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]],R2=Le("clock",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=[["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"}]],T2=Le("database",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=[["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"}]],O2=Le("ellipsis-vertical",_2);/**
 * @license lucide-react v1.21.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const C2=[["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"}]],Qp=Le("file-spreadsheet",C2);/**
 * @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:"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"}]],N2=Le("file-text",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 j2=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],fi=Le("loader-circle",j2);/**
 * @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=[["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"}]],M2=Le("lock",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:"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"}]],w2=Le("log-in",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:"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"}]],L2=Le("moon",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 H2=[["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"}]],Xm=Le("pen",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 q2=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],no=Le("search",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 Y2=[["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"}]],X2=Le("settings",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=[["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"}]],kp=Le("shield",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 V2=[["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"}]],Q2=Le("sun",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 k2=[["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=Le("trash-2",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 Z2=[["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"}]],Gm=Le("upload",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"}],["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"}]],Vm=Le("user-plus",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:"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"}]],F2=Le("users",J2);/**
 * @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:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Ds=Le("x",$2),W2=()=>{const{login:n,isAuthenticated:r}=ir(),s=Iu(),[c,o]=_.useState(""),[d,h]=_.useState(""),[y,g]=_.useState(""),[v,S]=_.useState(!1);_.useEffect(()=>{r&&s("/")},[r,s]);const b=async N=>{var B,Q;N.preventDefault(),S(!0),g("");try{await n({username:c,password:d,uuid:"react_web_dev_uuid"}),s("/")}catch(Y){g(((Q=(B=Y.response)==null?void 0:B.data)==null?void 0:Q.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(kp,{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:N=>o(N.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:N=>h(N.target.value),placeholder:"••••••••",required:!0})]}),p.jsxs("button",{type:"submit",className:"primary-btn-accent",disabled:v,children:[p.jsx(w2,{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"})]})})},P2=()=>{const{user:n}=ir(),r=(n==null?void 0:n.name)||"Ismael Bennacer",[s,c]=_.useState(""),[o,d]=_.useState([]),[h,y]=_.useState(!1),[g,v]=_.useState(null),[S,b]=_.useState(3),N=[{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"}];_.useEffect(()=>{const w=setTimeout(()=>{s.length>=3?Q(s):d([])},400);return()=>clearTimeout(w)},[s]);const Q=async w=>{y(!0);try{const V=await Ft.get("/api/v1/plates/search",{params:{q:w}});d(V.data.data)}catch(V){console.error("Error fetching plates",V),d([])}finally{y(!1)}},Y=w=>{switch(w){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 w={month:"long",day:"numeric",year:"numeric"},V=new Date().toLocaleDateString("es-ES",w);return V.charAt(0).toUpperCase()+V.slice(1)},O=w=>w.length>=6?`${w.substring(0,3)} • ${w.substring(3)}`:w;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(no,{size:20,color:"var(--accent-purple)"}),p.jsx("input",{type:"text",placeholder:"Buscar placa...",value:s,onChange:w=>c(w.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(w=>p.jsxs("div",{className:"plate-grid-card",onClick:()=>v(w),children:[p.jsx("div",{className:"plate-status-dot",style:{background:Y(w.antiquity_level)},title:`Antigüedad Nivel ${w.antiquity_level}`}),p.jsx("span",{className:"plate-grid-number",style:{marginTop:"4px"},children:w.plate_name}),p.jsx("span",{className:"plate-grid-location",children:w.location||"No registrada"})]},w.id)):!h&&p.jsx("div",{style:{gridColumn:"span 3",textAlign:"center",color:"var(--text-muted)",marginTop:"3rem",fontWeight:600},children:"No se encontraron placas"}):N.map(w=>p.jsxs("div",{className:"plate-grid-card",onClick:()=>v(w),children:[p.jsx("div",{className:"plate-status-dot",style:{background:Y(w.antiquity_level)},title:`Antigüedad Nivel ${w.antiquity_level}`}),p.jsx("span",{className:"plate-grid-number",style:{marginTop:"4px"},children:w.plate_name}),p.jsx("span",{className:"plate-grid-location",children:w.location})]},w.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(Vp,{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(O2,{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(kp,{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(b2,{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((w,V)=>p.jsxs("div",{className:`chart-bar-wrapper ${V===S?"active":""}`,onClick:()=>b(V),children:[p.jsx("div",{className:"chart-bar-fill",style:{height:w.height}}),p.jsx("span",{className:"chart-bar-day",children:w.day})]},w.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(R2,{size:16}),p.jsxs("span",{children:["Entrada del sistema: ",g.entry_date]})]})})]})]})},I2=()=>{const[n,r]=_.useState("import"),[s,c]=_.useState(null),[o,d]=_.useState(!1),[h,y]=_.useState("idle"),[g,v]=_.useState(""),[S,b]=_.useState(0),N=_.useRef(null),B=()=>{y("idle"),v(""),b(0)},Q=Z=>{Z.preventDefault(),Z.stopPropagation(),Z.type==="dragenter"||Z.type==="dragover"?d(!0):Z.type==="dragleave"&&d(!1)},Y=Z=>{if(Z.preventDefault(),Z.stopPropagation(),d(!1),B(),Z.dataTransfer.files&&Z.dataTransfer.files[0]){const ee=Z.dataTransfer.files[0];O(ee)}},L=Z=>{B(),Z.target.files&&Z.target.files[0]&&O(Z.target.files[0])},O=Z=>{const ee=[".xlsx",".xls",".csv"],$=Z.name.toLowerCase();if(!ee.some(Te=>$.endsWith(Te))){y("error"),v("Formato no válido. Sube un archivo .xlsx, .xls o .csv."),c(null);return}if(Z.size>20*1024*1024){y("error"),v("El archivo supera el límite de 20MB."),c(null);return}c(Z)},w=Z=>{Z.stopPropagation(),c(null),B(),N.current&&(N.current.value="")},V=()=>{h!=="loading"&&N.current&&N.current.click()},W=async()=>{var $,Se,Te,De;if(!s)return;y("loading"),b(10);const Z=new FormData;Z.append("excel",s);const ee=n==="import"?"/api/v1/plates/import":"/api/v1/plates/delete-import";try{const ge=await Ft.post(ee,Z,{headers:{"Content-Type":"multipart/form-data"},onUploadProgress:_e=>{const tt=_e.total||s.size,Me=_e.loaded,be=Math.round(Me*90/tt)+10;b(Math.min(be,95))}});b(100),setTimeout(()=>{ge.data&&ge.data.success?(y("success"),v(ge.data.message||"Base de datos de placas procesada con éxito."),c(null)):(y("error"),v(ge.data.error||"Ocurrió un error al procesar la subida."))},500)}catch(ge){console.error("Error al subir archivo:",ge),y("error");const _e=((Se=($=ge.response)==null?void 0:$.data)==null?void 0:Se.error)||((De=(Te=ge.response)==null?void 0:Te.data)==null?void 0:De.message);v(_e||"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(T2,{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(Qp,{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:Q,onDragOver:Q,onDragLeave:Q,onDrop:Y,onClick:V,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:N,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(N2,{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:w,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:Z=>{Z.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(Gm,{size:14}),"EJECUTAR PROCESO"]})]})]}):p.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center"},children:[p.jsx(Gm,{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(x2,{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(v2,{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"}})]})},eS=()=>{const{user:n}=ir(),[r,s]=_.useState([]),[c,o]=_.useState(!1),[d,h]=_.useState(!1),[y,g]=_.useState(!1),[v,S]=_.useState(!1),[b,N]=_.useState(!1),[B,Q]=_.useState(null),[Y,L]=_.useState({username:"",name:"",email:"",password:"",role:2,level:3,user_status:!0}),[O,w]=_.useState(""),[V,W]=_.useState(""),[Z,ee]=_.useState(""),[$,Se]=_.useState(1),Te=5;_.useEffect(()=>{Se(1)},[Z]),_.useEffect(()=>{De()},[]);const De=async()=>{o(!0);try{const D=await Ft.get("/api/v1/users");D.data&&D.data.success&&s(D.data.data)}catch(D){console.error("Error fetching users:",D)}finally{o(!1)}},ge=r.filter(D=>D.name.toLowerCase().includes(Z.toLowerCase())||D.username.toLowerCase().includes(Z.toLowerCase())||D.email&&D.email.toLowerCase().includes(Z.toLowerCase())),_e=$*Te,tt=_e-Te,Me=ge.slice(tt,_e),be=Math.ceil(ge.length/Te),M=D=>{const{name:te,value:fe,type:de}=D.target;let Ze=fe;de==="checkbox"?Ze=D.target.checked:(te==="role"||te==="level")&&(Ze=parseInt(fe,10)),L(Ke=>({...Ke,[te]:Ze}))},K=()=>{w(""),W(""),L({username:"",name:"",email:"",password:"",role:2,level:3,user_status:!0}),g(!0)},ae=D=>{w(""),W(""),Q(D),L({username:D.username,name:D.name,email:D.email||"",password:"",role:D.role,level:D.level,user_status:D.user_status}),S(!0)},xe=D=>{w(""),Q(D),N(!0)},oe=async D=>{var te,fe,de,Ze;D.preventDefault(),h(!0),w("");try{const Ke=await Ft.post("/api/v1/users",Y);Ke.data&&Ke.data.success&&(W("Usuario creado correctamente"),setTimeout(()=>{g(!1),De()},1e3))}catch(Ke){w(((fe=(te=Ke.response)==null?void 0:te.data)==null?void 0:fe.error)||((Ze=(de=Ke.response)==null?void 0:de.data)==null?void 0:Ze.message)||"Error al crear usuario.")}finally{h(!1)}},E=async D=>{var fe,de,Ze,Ke;if(D.preventDefault(),!B)return;h(!0),w("");const te={...Y};te.password||delete te.password;try{const Ye=await Ft.put(`/api/v1/users/${B.id}`,te);Ye.data&&Ye.data.success&&(W("Usuario actualizado correctamente"),setTimeout(()=>{S(!1),De()},1e3))}catch(Ye){w(((de=(fe=Ye.response)==null?void 0:fe.data)==null?void 0:de.error)||((Ke=(Ze=Ye.response)==null?void 0:Ze.data)==null?void 0:Ke.message)||"Error al actualizar usuario.")}finally{h(!1)}},q=async()=>{var D,te;if(B){h(!0),w("");try{const fe=await Ft.delete(`/api/v1/users/${B.id}`);fe.data&&fe.data.success&&(N(!1),De())}catch(fe){w(((te=(D=fe.response)==null?void 0:D.data)==null?void 0:te.error)||"Error al eliminar usuario.")}finally{h(!1)}}},k=async D=>{var te,fe;try{const de=!D.user_status,Ze=await Ft.put(`/api/v1/users/${D.id}`,{username:D.username,name:D.name,email:D.email,role:D.role,level:D.level,user_status:de});Ze.data&&Ze.data.success&&s(Ke=>Ke.map(Ye=>Ye.id===D.id?{...Ye,user_status:de}:Ye))}catch(de){alert(((fe=(te=de.response)==null?void 0:te.data)==null?void 0:fe.error)||"No fue posible cambiar el estado del usuario")}},J=D=>D===1?"Administrador":"Usuario",ie=D=>{switch(D){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 ${D}`}};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:K,title:"Nuevo Usuario",style:{background:"var(--accent-purple)",color:"#FFFFFF",border:"none",marginRight:"48px"},children:p.jsx(Vm,{size:20})})]}),p.jsx("div",{className:"search-pill-wrapper",style:{padding:"0 1.5rem 1rem 1.5rem"},children:p.jsxs("div",{className:"search-pill-container",style:{height:"44px"},children:[p.jsx(no,{size:18,color:"var(--text-secondary)"}),p.jsx("input",{type:"text",placeholder:"Buscar usuario...",value:Z,onChange:D=>ee(D.target.value),style:{fontSize:"0.85rem"}}),Z&&p.jsx("button",{onClick:()=>ee(""),style:{border:"none",background:"transparent",cursor:"pointer",color:"var(--text-muted)",display:"flex",alignItems:"center",justifyContent:"center"},children:p.jsx(Ds,{size:16})})]})}),p.jsx("div",{className:"results-list-container",style:{flex:1,paddingBottom:"1rem"},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)"})}):ge.length>0?Me.map(D=>p.jsxs("div",{className:"plate-row-card",style:{opacity:D.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:D.role===1?"var(--accent-purple-light)":"var(--accent-blue-light)",color:D.role===1?"var(--accent-purple)":"var(--accent-blue)",position:"relative"},children:[D.name.substring(0,2).toUpperCase(),D.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:D.name}),p.jsxs("span",{className:"plate-status-subtitle",style:{fontSize:"0.75rem",display:"flex",alignItems:"center",gap:"6px"},children:["@",D.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:D.role===1?"var(--accent-purple-light)":"rgba(78, 167, 252, 0.1)",color:D.role===1?"var(--accent-purple)":"var(--accent-blue)",letterSpacing:"0.3px",textTransform:"uppercase"},children:J(D.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:ie(D.level)})]})]})]}),p.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"10px"},children:[p.jsx("button",{onClick:()=>k(D),style:{border:"none",background:D.user_status?"var(--accent-green-light)":"var(--bg-surface)",color:D.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:D.user_status?"inset 0 1px 4px rgba(16, 185, 129, 0.1)":"none"},title:D.user_status?"Desactivar Cuenta":"Activar Cuenta",children:p.jsx(d2,{size:16})}),p.jsx("button",{className:"circle-btn",onClick:()=>ae(D),style:{width:"32px",height:"32px",borderRadius:"10px"},title:"Editar",children:p.jsx(Xm,{size:14})}),p.jsx("button",{className:"circle-btn",onClick:()=>xe(D),disabled:(n==null?void 0:n.id)===D.id,style:{width:"32px",height:"32px",borderRadius:"10px",color:(n==null?void 0:n.id)===D.id?"var(--text-muted)":"var(--accent-red)",background:(n==null?void 0:n.id)===D.id?"transparent":void 0,cursor:(n==null?void 0:n.id)===D.id?"not-allowed":"pointer"},title:(n==null?void 0:n.id)===D.id?"No puedes eliminarte a ti mismo":"Eliminar",children:p.jsx($u,{size:14})})]})]},D.id)):p.jsx("div",{style:{textAlign:"center",padding:"3rem 1.5rem",color:"var(--text-secondary)"},children:"No hay usuarios registrados en el sistema."})}),be>1&&p.jsxs("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",gap:"16px",margin:"0.2rem 1.5rem 1.2rem 1.5rem"},children:[p.jsx("button",{className:"circle-btn",onClick:()=>Se(D=>Math.max(D-1,1)),disabled:$===1,style:{width:"36px",height:"36px",opacity:$===1?.4:1,cursor:$===1?"not-allowed":"pointer"},title:"Página Anterior",children:p.jsx(Vp,{size:16})}),p.jsxs("span",{style:{fontSize:"0.8rem",fontWeight:700,color:"var(--text-secondary)"},children:["Página ",$," de ",be]}),p.jsx("button",{className:"circle-btn",onClick:()=>Se(D=>Math.min(D+1,be)),disabled:$===be,style:{width:"36px",height:"36px",opacity:$===be?.4:1,cursor:$===be?"not-allowed":"pointer"},title:"Página Siguiente",children:p.jsx(p2,{size:16})})]}),y&&p.jsx("div",{style:Ms,children:p.jsxs("div",{className:"soft-card",style:Us,children:[p.jsxs("div",{style:Qm,children:[p.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px"},children:[p.jsx(Vm,{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(Ds,{size:16})})]}),p.jsxs("form",{onSubmit:oe,style:{display:"flex",flexDirection:"column",gap:"12px",marginTop:"10px"},children:[O&&p.jsx("div",{style:ws,children:O}),V&&p.jsx("div",{style:km,children:V}),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:Y.name,onChange:M,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:Y.username,onChange:M,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:Y.email,onChange:M,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:Y.password,onChange:M,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:Y.role,onChange:M,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:Y.level,onChange:M,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:Ms,children:p.jsxs("div",{className:"soft-card",style:Us,children:[p.jsxs("div",{style:Qm,children:[p.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px"},children:[p.jsx(Xm,{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(Ds,{size:16})})]}),p.jsxs("form",{onSubmit:E,style:{display:"flex",flexDirection:"column",gap:"12px",marginTop:"10px"},children:[O&&p.jsx("div",{style:ws,children:O}),V&&p.jsx("div",{style:km,children:V}),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:Y.name,onChange:M,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:Y.username,onChange:M,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:Y.email,onChange:M})]}),p.jsxs("div",{className:"login-form-group",style:{marginBottom:0},children:[p.jsxs("label",{style:{display:"flex",alignItems:"center",gap:"4px"},children:[p.jsx(M2,{size:12})," Nueva Contraseña (Dejar vacío para no cambiar)"]}),p.jsx("input",{type:"password",name:"password",value:Y.password,onChange:M,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:Y.role,onChange:M,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:Y.level,onChange:M,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:Ms,children:p.jsxs("div",{className:"soft-card",style:{...Us,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:{...ws,marginTop:"10px"},children:O}),p.jsxs("div",{style:{display:"flex",gap:"8px",marginTop:"20px"},children:[p.jsx("button",{onClick:()=>N(!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:q,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"})]})]})})]})},Ms={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"},Us={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)"},Qm={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"},ws={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)"},km={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)"},tS=()=>{const n=Iu(),r=It(),s=y=>n(y),c=y=>r.pathname===y,[o,d]=_.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(L2,{size:10,strokeWidth:3}):p.jsx(Q2,{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(dp,{})}),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(no,{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(Qp,{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(F2,{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(X2,{size:24,strokeWidth:c("/devices")?2.5:2})})]})]})},lS=()=>p.jsx(Fg,{children:p.jsx(a2,{children:p.jsxs(Tg,{children:[p.jsx(il,{path:"/login",element:p.jsx(W2,{})}),p.jsx(il,{element:p.jsx(n2,{}),children:p.jsxs(il,{element:p.jsx(tS,{}),children:[p.jsx(il,{path:"/",element:p.jsx(P2,{})}),p.jsx(il,{path:"/upload",element:p.jsx(I2,{})}),p.jsx(il,{path:"/users",element:p.jsx(eS,{})}),p.jsx(il,{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(il,{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(il,{path:"*",element:p.jsx(fp,{to:"/",replace:!0})})]})})}),aS=localStorage.getItem("theme");aS==="dark"?document.body.classList.add("dark"):document.body.classList.remove("dark");Av.createRoot(document.getElementById("root")).render(p.jsx(yv.StrictMode,{children:p.jsx(lS,{})}));
