(function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload"))return;for(const c of document.querySelectorAll('link[rel="modulepreload"]'))r(c);new MutationObserver(c=>{for(const d of c)if(d.type==="childList")for(const p of d.addedNodes)p.tagName==="LINK"&&p.rel==="modulepreload"&&r(p)}).observe(document,{childList:!0,subtree:!0});function i(c){const d={};return c.integrity&&(d.integrity=c.integrity),c.referrerPolicy&&(d.referrerPolicy=c.referrerPolicy),c.crossOrigin==="use-credentials"?d.credentials="include":c.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function r(c){if(c.ep)return;c.ep=!0;const d=i(c);fetch(c.href,d)}})();function r0(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Zd={exports:{}},or={};/** * @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 Lh;function c0(){if(Lh)return or;Lh=1;var n=Symbol.for("react.transitional.element"),a=Symbol.for("react.fragment");function i(r,c,d){var p=null;if(d!==void 0&&(p=""+d),c.key!==void 0&&(p=""+c.key),"key"in c){d={};for(var y in c)y!=="key"&&(d[y]=c[y])}else d=c;return c=d.ref,{$$typeof:n,type:r,key:p,ref:c!==void 0?c:null,props:d}}return or.Fragment=a,or.jsx=i,or.jsxs=i,or}var qh;function o0(){return qh||(qh=1,Zd.exports=c0()),Zd.exports}var o=o0(),Jd={exports:{}},Ce={};/** * @license React * react.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Bh;function u0(){if(Bh)return Ce;Bh=1;var n=Symbol.for("react.transitional.element"),a=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),p=Symbol.for("react.context"),y=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),g=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),S=Symbol.for("react.activity"),w=Symbol.iterator;function R(A){return A===null||typeof A!="object"?null:(A=w&&A[w]||A["@@iterator"],typeof A=="function"?A:null)}var j={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},D=Object.assign,N={};function $(A,H,W){this.props=A,this.context=H,this.refs=N,this.updater=W||j}$.prototype.isReactComponent={},$.prototype.setState=function(A,H){if(typeof A!="object"&&typeof A!="function"&&A!=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,A,H,"setState")},$.prototype.forceUpdate=function(A){this.updater.enqueueForceUpdate(this,A,"forceUpdate")};function Q(){}Q.prototype=$.prototype;function K(A,H,W){this.props=A,this.context=H,this.refs=N,this.updater=W||j}var re=K.prototype=new Q;re.constructor=K,D(re,$.prototype),re.isPureReactComponent=!0;var ae=Array.isArray;function ie(){}var J={H:null,A:null,T:null,S:null},P=Object.prototype.hasOwnProperty;function le(A,H,W){var ne=W.ref;return{$$typeof:n,type:A,key:H,ref:ne!==void 0?ne:null,props:W}}function M(A,H){return le(A.type,H,A.props)}function se(A){return typeof A=="object"&&A!==null&&A.$$typeof===n}function Te(A){var H={"=":"=0",":":"=2"};return"$"+A.replace(/[=:]/g,function(W){return H[W]})}var F=/\/+/g;function pe(A,H){return typeof A=="object"&&A!==null&&A.key!=null?Te(""+A.key):H.toString(36)}function Se(A){switch(A.status){case"fulfilled":return A.value;case"rejected":throw A.reason;default:switch(typeof A.status=="string"?A.then(ie,ie):(A.status="pending",A.then(function(H){A.status==="pending"&&(A.status="fulfilled",A.value=H)},function(H){A.status==="pending"&&(A.status="rejected",A.reason=H)})),A.status){case"fulfilled":return A.value;case"rejected":throw A.reason}}throw A}function q(A,H,W,ne,_e){var we=typeof A;(we==="undefined"||we==="boolean")&&(A=null);var Z=!1;if(A===null)Z=!0;else switch(we){case"bigint":case"string":case"number":Z=!0;break;case"object":switch(A.$$typeof){case n:case a:Z=!0;break;case x:return Z=A._init,q(Z(A._payload),H,W,ne,_e)}}if(Z)return _e=_e(A),Z=ne===""?"."+pe(A,0):ne,ae(_e)?(W="",Z!=null&&(W=Z.replace(F,"$&/")+"/"),q(_e,H,W,"",function(Ue){return Ue})):_e!=null&&(se(_e)&&(_e=M(_e,W+(_e.key==null||A&&A.key===_e.key?"":(""+_e.key).replace(F,"$&/")+"/")+Z)),H.push(_e)),1;Z=0;var de=ne===""?".":ne+":";if(ae(A))for(var Be=0;Be>>1,X=q[me];if(0>>1;mec(W,te))nec(_e,W)?(q[me]=_e,q[ne]=te,me=ne):(q[me]=W,q[H]=te,me=H);else if(nec(_e,te))q[me]=_e,q[ne]=te,me=ne;else break e}}return V}function c(q,V){var te=q.sortIndex-V.sortIndex;return te!==0?te:q.id-V.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 p=Date,y=p.now();n.unstable_now=function(){return p.now()-y}}var _=[],g=[],x=1,S=null,w=3,R=!1,j=!1,D=!1,N=!1,$=typeof setTimeout=="function"?setTimeout:null,Q=typeof clearTimeout=="function"?clearTimeout:null,K=typeof setImmediate<"u"?setImmediate:null;function re(q){for(var V=i(g);V!==null;){if(V.callback===null)r(g);else if(V.startTime<=q)r(g),V.sortIndex=V.expirationTime,a(_,V);else break;V=i(g)}}function ae(q){if(D=!1,re(q),!j)if(i(_)!==null)j=!0,ie||(ie=!0,Te());else{var V=i(g);V!==null&&Se(ae,V.startTime-q)}}var ie=!1,J=-1,P=5,le=-1;function M(){return N?!0:!(n.unstable_now()-leq&&M());){var me=S.callback;if(typeof me=="function"){S.callback=null,w=S.priorityLevel;var X=me(S.expirationTime<=q);if(q=n.unstable_now(),typeof X=="function"){S.callback=X,re(q),V=!0;break t}S===i(_)&&r(_),re(q)}else r(_);S=i(_)}if(S!==null)V=!0;else{var A=i(g);A!==null&&Se(ae,A.startTime-q),V=!1}}break e}finally{S=null,w=te,R=!1}V=void 0}}finally{V?Te():ie=!1}}}var Te;if(typeof K=="function")Te=function(){K(se)};else if(typeof MessageChannel<"u"){var F=new MessageChannel,pe=F.port2;F.port1.onmessage=se,Te=function(){pe.postMessage(null)}}else Te=function(){$(se,0)};function Se(q,V){J=$(function(){q(n.unstable_now())},V)}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(q){q.callback=null},n.unstable_forceFrameRate=function(q){0>q||125me?(q.sortIndex=te,a(g,q),i(_)===null&&q===i(g)&&(D?(Q(J),J=-1):D=!0,Se(ae,te-me))):(q.sortIndex=X,a(_,q),j||R||(j=!0,ie||(ie=!0,Te()))),q},n.unstable_shouldYield=M,n.unstable_wrapCallback=function(q){var V=w;return function(){var te=w;w=V;try{return q.apply(this,arguments)}finally{w=te}}}})(Wd)),Wd}var Gh;function m0(){return Gh||(Gh=1,Pd.exports=f0()),Pd.exports}var ef={exports:{}},Ht={};/** * @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 Yh;function p0(){if(Yh)return Ht;Yh=1;var n=qf();function a(_){var g="https://react.dev/errors/"+_;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(a){console.error(a)}}return n(),ef.exports=p0(),ef.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 Kh;function h0(){if(Kh)return ur;Kh=1;var n=m0(),a=qf(),i=_0();function r(e){var t="https://react.dev/errors/"+e;if(1X||(e.current=me[X],me[X]=null,X--)}function W(e,t){X++,me[X]=e.current,e.current=t}var ne=A(null),_e=A(null),we=A(null),Z=A(null);function de(e,t){switch(W(we,t),W(_e,e),W(ne,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?sh(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=sh(t),e=rh(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}H(ne),W(ne,e)}function Be(){H(ne),H(_e),H(we)}function Ue(e){e.memoizedState!==null&&W(Z,e);var t=ne.current,l=rh(t,e.type);t!==l&&(W(_e,e),W(ne,l))}function qt(e){_e.current===e&&(H(ne),H(_e)),Z.current===e&&(H(Z),ir._currentValue=te)}var Bt,He;function qe(e){if(Bt===void 0)try{throw Error()}catch(l){var t=l.stack.trim().match(/\n( *(at )?)/);Bt=t&&t[1]||"",He=-1)":-1u||C[s]!==O[u]){var G=` `+C[s].replace(" at new "," at ");return e.displayName&&G.includes("")&&(G=G.replace("",e.displayName)),G}while(1<=s&&0<=u);break}}}finally{xt=!1,Error.prepareStackTrace=l}return(l=e?e.displayName||e.name:"")?qe(l):""}function li(e,t){switch(e.tag){case 26:case 27:case 5:return qe(e.type);case 16:return qe("Lazy");case 13:return e.child!==t&&t!==null?qe("Suspense Fallback"):qe("Suspense");case 19:return qe("SuspenseList");case 0:case 15:return ia(e.type,!1);case 11:return ia(e.type.render,!1);case 1:return ia(e.type,!0);case 31:return qe("Activity");default:return""}}function fs(e){try{var t="",l=null;do t+=li(e,l),l=e,e=e.return;while(e);return t}catch(s){return` Error generating stack: `+s.message+` `+s.stack}}var vl=Object.prototype.hasOwnProperty,ii=n.unstable_scheduleCallback,qa=n.unstable_cancelCallback,bl=n.unstable_shouldYield,si=n.unstable_requestPaint,Tt=n.unstable_now,vn=n.unstable_getCurrentPriorityLevel,sa=n.unstable_ImmediatePriority,ra=n.unstable_UserBlockingPriority,Sl=n.unstable_NormalPriority,Yo=n.unstable_LowPriority,ri=n.unstable_IdlePriority,Io=n.log,Ko=n.unstable_setDisableYieldValue,kt=null,Ut=null;function ue(e){if(typeof Io=="function"&&Ko(e),Ut&&typeof Ut.setStrictMode=="function")try{Ut.setStrictMode(kt,e)}catch{}}var wt=Math.clz32?Math.clz32:ci,ct=Math.log,rn=Math.LN2;function ci(e){return e>>>=0,e===0?32:31-(ct(e)/rn|0)|0}var Wt=256,At=262144,ca=4194304;function Gt(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 Kn(e,t,l){var s=e.pendingLanes;if(s===0)return 0;var u=0,f=e.suspendedLanes,h=e.pingedLanes;e=e.warmLanes;var b=s&134217727;return b!==0?(s=b&~f,s!==0?u=Gt(s):(h&=b,h!==0?u=Gt(h):l||(l=b&~e,l!==0&&(u=Gt(l))))):(b=s&~f,b!==0?u=Gt(b):h!==0?u=Gt(h):l||(l=s&~e,l!==0&&(u=Gt(l)))),u===0?0:t!==0&&t!==u&&(t&f)===0&&(f=u&-u,l=t&-t,f>=l||f===32&&(l&4194048)!==0)?t:u}function oa(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Yt(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 Mr(){var e=ca;return ca<<=1,(ca&62914560)===0&&(ca=4194304),e}function oi(e){for(var t=[],l=0;31>l;l++)t.push(e);return t}function bn(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Qo(e,t,l,s,u,f){var h=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 b=e.entanglements,C=e.expirationTimes,O=e.hiddenUpdates;for(l=h&~l;0"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var Ur=/[\n"\\]/g;function Zt(e){return e.replace(Ur,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function gs(e,t,l,s,u,f,h,b){e.name="",h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"?e.type=h:e.removeAttribute("type"),t!=null?h==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Xt(t)):e.value!==""+Xt(t)&&(e.value=""+Xt(t)):h!=="submit"&&h!=="reset"||e.removeAttribute("value"),t!=null?vs(e,h,Xt(t)):l!=null?vs(e,h,Xt(l)):s!=null&&e.removeAttribute("value"),u==null&&f!=null&&(e.defaultChecked=!!f),u!=null&&(e.checked=u&&typeof u!="function"&&typeof u!="symbol"),b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?e.name=""+Xt(b):e.removeAttribute("name")}function ys(e,t,l,s,u,f,h,b){if(f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(e.type=f),t!=null||l!=null){if(!(f!=="submit"&&f!=="reset"||t!=null)){kl(e);return}l=l!=null?""+Xt(l):"",t=t!=null?""+Xt(t):l,b||t===e.value||(e.value=t),e.defaultValue=t}s=s??u,s=typeof s!="function"&&typeof s!="symbol"&&!!s,e.checked=b?e.checked:!!s,e.defaultChecked=!!s,h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"&&(e.name=h),kl(e)}function vs(e,t,l){t==="number"&&Ua(e.ownerDocument)===e||e.defaultValue===""+l||(e.defaultValue=""+l)}function fa(e,t,l,s){if(e=e.options,t){t={};for(var u=0;u"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ks=!1;if(zn)try{var Ya={};Object.defineProperty(Ya,"passive",{get:function(){ks=!0}}),window.addEventListener("test",Ya,Ya),window.removeEventListener("test",Ya,Ya)}catch{ks=!1}var Xn=null,Al=null,Zn=null;function gi(){if(Zn)return Zn;var e,t=Al,l=t.length,s,u="value"in Xn?Xn.value:Xn.textContent,f=u.length;for(e=0;e=Cs),mm=" ",pm=!1;function _m(e,t){switch(e){case"keyup":return Nv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function hm(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var xi=!1;function Dv(e,t){switch(e){case"compositionend":return hm(t);case"keypress":return t.which!==32?null:(pm=!0,mm);case"textInput":return e=t.data,e===mm&&pm?null:e;default:return null}}function Rv(e,t){if(xi)return e==="compositionend"||!tu&&_m(e,t)?(e=gi(),Zn=Al=Xn=null,xi=!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)return{node:l,offset:t-e};e=s}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=wm(l)}}function Cm(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Cm(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Am(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Ua(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=Ua(e.document)}return t}function lu(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 Uv=zn&&"documentMode"in document&&11>=document.documentMode,ki=null,iu=null,Ts=null,su=!1;function Em(e,t,l){var s=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;su||ki==null||ki!==Ua(s)||(s=ki,"selectionStart"in s&&lu(s)?s={start:s.selectionStart,end:s.selectionEnd}:(s=(s.ownerDocument&&s.ownerDocument.defaultView||window).getSelection(),s={anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}),Ts&&Ns(Ts,s)||(Ts=s,s=Gc(iu,"onSelect"),0>=h,u-=h,Fn=1<<32-wt(t)+u|l<Ne?(Me=fe,fe=null):Me=fe.sibling;var Ye=L(T,fe,z[Ne],Y);if(Ye===null){fe===null&&(fe=Me);break}e&&fe&&Ye.alternate===null&&t(T,fe),E=f(Ye,E,Ne),Ge===null?ve=Ye:Ge.sibling=Ye,Ge=Ye,fe=Me}if(Ne===z.length)return l(T,fe),Oe&&ya(T,Ne),ve;if(fe===null){for(;NeNe?(Me=fe,fe=null):Me=fe.sibling;var dl=L(T,fe,Ye.value,Y);if(dl===null){fe===null&&(fe=Me);break}e&&fe&&dl.alternate===null&&t(T,fe),E=f(dl,E,Ne),Ge===null?ve=dl:Ge.sibling=dl,Ge=dl,fe=Me}if(Ye.done)return l(T,fe),Oe&&ya(T,Ne),ve;if(fe===null){for(;!Ye.done;Ne++,Ye=z.next())Ye=I(T,Ye.value,Y),Ye!==null&&(E=f(Ye,E,Ne),Ge===null?ve=Ye:Ge.sibling=Ye,Ge=Ye);return Oe&&ya(T,Ne),ve}for(fe=s(fe);!Ye.done;Ne++,Ye=z.next())Ye=B(fe,T,Ne,Ye.value,Y),Ye!==null&&(e&&Ye.alternate!==null&&fe.delete(Ye.key===null?Ne:Ye.key),E=f(Ye,E,Ne),Ge===null?ve=Ye:Ge.sibling=Ye,Ge=Ye);return e&&fe.forEach(function(s0){return t(T,s0)}),Oe&&ya(T,Ne),ve}function Fe(T,E,z,Y){if(typeof z=="object"&&z!==null&&z.type===D&&z.key===null&&(z=z.props.children),typeof z=="object"&&z!==null){switch(z.$$typeof){case R:e:{for(var ve=z.key;E!==null;){if(E.key===ve){if(ve=z.type,ve===D){if(E.tag===7){l(T,E.sibling),Y=u(E,z.props.children),Y.return=T,T=Y;break e}}else if(E.elementType===ve||typeof ve=="object"&&ve!==null&&ve.$$typeof===P&&Ll(ve)===E.type){l(T,E.sibling),Y=u(E,z.props),Os(Y,z),Y.return=T,T=Y;break e}l(T,E);break}else t(T,E);E=E.sibling}z.type===D?(Y=Rl(z.props.children,T.mode,Y,z.key),Y.return=T,T=Y):(Y=ic(z.type,z.key,z.props,null,T.mode,Y),Os(Y,z),Y.return=T,T=Y)}return h(T);case j:e:{for(ve=z.key;E!==null;){if(E.key===ve)if(E.tag===4&&E.stateNode.containerInfo===z.containerInfo&&E.stateNode.implementation===z.implementation){l(T,E.sibling),Y=u(E,z.children||[]),Y.return=T,T=Y;break e}else{l(T,E);break}else t(T,E);E=E.sibling}Y=mu(z,T.mode,Y),Y.return=T,T=Y}return h(T);case P:return z=Ll(z),Fe(T,E,z,Y)}if(Se(z))return oe(T,E,z,Y);if(Te(z)){if(ve=Te(z),typeof ve!="function")throw Error(r(150));return z=ve.call(z),xe(T,E,z,Y)}if(typeof z.then=="function")return Fe(T,E,fc(z),Y);if(z.$$typeof===K)return Fe(T,E,cc(T,z),Y);mc(T,z)}return typeof z=="string"&&z!==""||typeof z=="number"||typeof z=="bigint"?(z=""+z,E!==null&&E.tag===6?(l(T,E.sibling),Y=u(E,z),Y.return=T,T=Y):(l(T,E),Y=fu(z,T.mode,Y),Y.return=T,T=Y),h(T)):l(T,E)}return function(T,E,z,Y){try{zs=0;var ve=Fe(T,E,z,Y);return Mi=null,ve}catch(fe){if(fe===$i||fe===uc)throw fe;var Ge=dn(29,fe,null,T.mode);return Ge.lanes=Y,Ge.return=T,Ge}finally{}}}var Bl=Fm(!0),Pm=Fm(!1),Xa=!1;function ju(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Cu(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 Za(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Ja(e,t,l){var s=e.updateQueue;if(s===null)return null;if(s=s.shared,(Ie&2)!==0){var u=s.pending;return u===null?t.next=t:(t.next=u.next,u.next=t),s.pending=t,t=lc(e),zm(e,null,l),t}return ac(e,s,t,l),lc(e)}function Ls(e,t,l){if(t=t.updateQueue,t!==null&&(t=t.shared,(l&4194048)!==0)){var s=t.lanes;s&=e.pendingLanes,l|=s,t.lanes=l,zr(e,l)}}function Au(e,t){var l=e.updateQueue,s=e.alternate;if(s!==null&&(s=s.updateQueue,l===s)){var u=null,f=null;if(l=l.firstBaseUpdate,l!==null){do{var h={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};f===null?u=f=h:f=f.next=h,l=l.next}while(l!==null);f===null?u=f=t:f=f.next=t}else u=f=t;l={baseState:s.baseState,firstBaseUpdate:u,lastBaseUpdate:f,shared:s.shared,callbacks:s.callbacks},e.updateQueue=l;return}e=l.lastBaseUpdate,e===null?l.firstBaseUpdate=t:e.next=t,l.lastBaseUpdate=t}var Eu=!1;function qs(){if(Eu){var e=Ri;if(e!==null)throw e}}function Bs(e,t,l,s){Eu=!1;var u=e.updateQueue;Xa=!1;var f=u.firstBaseUpdate,h=u.lastBaseUpdate,b=u.shared.pending;if(b!==null){u.shared.pending=null;var C=b,O=C.next;C.next=null,h===null?f=O:h.next=O,h=C;var G=e.alternate;G!==null&&(G=G.updateQueue,b=G.lastBaseUpdate,b!==h&&(b===null?G.firstBaseUpdate=O:b.next=O,G.lastBaseUpdate=C))}if(f!==null){var I=u.baseState;h=0,G=O=C=null,b=f;do{var L=b.lane&-536870913,B=L!==b.lane;if(B?($e&L)===L:(s&L)===L){L!==0&&L===Di&&(Eu=!0),G!==null&&(G=G.next={lane:0,tag:b.tag,payload:b.payload,callback:null,next:null});e:{var oe=e,xe=b;L=t;var Fe=l;switch(xe.tag){case 1:if(oe=xe.payload,typeof oe=="function"){I=oe.call(Fe,I,L);break e}I=oe;break e;case 3:oe.flags=oe.flags&-65537|128;case 0:if(oe=xe.payload,L=typeof oe=="function"?oe.call(Fe,I,L):oe,L==null)break e;I=S({},I,L);break e;case 2:Xa=!0}}L=b.callback,L!==null&&(e.flags|=64,B&&(e.flags|=8192),B=u.callbacks,B===null?u.callbacks=[L]:B.push(L))}else B={lane:L,tag:b.tag,payload:b.payload,callback:b.callback,next:null},G===null?(O=G=B,C=I):G=G.next=B,h|=L;if(b=b.next,b===null){if(b=u.shared.pending,b===null)break;B=b,b=B.next,B.next=null,u.lastBaseUpdate=B,u.shared.pending=null}}while(!0);G===null&&(C=I),u.baseState=C,u.firstBaseUpdate=O,u.lastBaseUpdate=G,f===null&&(u.shared.lanes=0),tl|=h,e.lanes=h,e.memoizedState=I}}function Wm(e,t){if(typeof e!="function")throw Error(r(191,e));e.call(t)}function ep(e,t){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;ef?f:8;var h=q.T,b={};q.T=b,Vu(e,!1,t,l);try{var C=u(),O=q.S;if(O!==null&&O(b,C),C!==null&&typeof C=="object"&&typeof C.then=="function"){var G=Zv(C,s);Gs(e,t,G,hn(e))}else Gs(e,t,s,hn(e))}catch(I){Gs(e,t,{then:function(){},status:"rejected",reason:I},hn())}finally{V.p=f,h!==null&&b.types!==null&&(h.types=b.types),q.T=h}}function tb(){}function Ku(e,t,l,s){if(e.tag!==5)throw Error(r(476));var u=Rp(e).queue;Dp(e,u,t,te,l===null?tb:function(){return $p(e),l(s)})}function Rp(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:te,baseState:te,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:xa,lastRenderedState:te},next:null};var l={};return t.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:xa,lastRenderedState:l},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function $p(e){var t=Rp(e);t.next===null&&(t=e.alternate.memoizedState),Gs(e,t.next.queue,{},hn())}function Qu(){return $t(ir)}function Mp(){return _t().memoizedState}function zp(){return _t().memoizedState}function nb(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var l=hn();e=Za(l);var s=Ja(t,e,l);s!==null&&(ln(s,t,l),Ls(s,t,l)),t={cache:Su()},e.payload=t;return}t=t.return}}function ab(e,t,l){var s=hn();l={lane:s,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},kc(e)?Lp(t,l):(l=uu(e,t,l,s),l!==null&&(ln(l,e,s),qp(l,t,s)))}function Op(e,t,l){var s=hn();Gs(e,t,l,s)}function Gs(e,t,l,s){var u={lane:s,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(kc(e))Lp(t,u);else{var f=e.alternate;if(e.lanes===0&&(f===null||f.lanes===0)&&(f=t.lastRenderedReducer,f!==null))try{var h=t.lastRenderedState,b=f(h,l);if(u.hasEagerState=!0,u.eagerState=b,un(b,h))return ac(e,t,u,0),Pe===null&&nc(),!1}catch{}finally{}if(l=uu(e,t,u,s),l!==null)return ln(l,e,s),qp(l,t,s),!0}return!1}function Vu(e,t,l,s){if(s={lane:2,revertLane:jd(),gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null},kc(e)){if(t)throw Error(r(479))}else t=uu(e,l,s,2),t!==null&&ln(t,e,2)}function kc(e){var t=e.alternate;return e===Ee||t!==null&&t===Ee}function Lp(e,t){Oi=hc=!0;var l=e.pending;l===null?t.next=t:(t.next=l.next,l.next=t),e.pending=t}function qp(e,t,l){if((l&4194048)!==0){var s=t.lanes;s&=e.pendingLanes,l|=s,t.lanes=l,zr(e,l)}}var Ys={readContext:$t,use:vc,useCallback:ut,useContext:ut,useEffect:ut,useImperativeHandle:ut,useLayoutEffect:ut,useInsertionEffect:ut,useMemo:ut,useReducer:ut,useRef:ut,useState:ut,useDebugValue:ut,useDeferredValue:ut,useTransition:ut,useSyncExternalStore:ut,useId:ut,useHostTransitionStatus:ut,useFormState:ut,useActionState:ut,useOptimistic:ut,useMemoCache:ut,useCacheRefresh:ut};Ys.useEffectEvent=ut;var Bp={readContext:$t,use:vc,useCallback:function(e,t){return Ft().memoizedState=[e,t===void 0?null:t],e},useContext:$t,useEffect:xp,useImperativeHandle:function(e,t,l){l=l!=null?l.concat([e]):null,Sc(4194308,4,Cp.bind(null,t,e),l)},useLayoutEffect:function(e,t){return Sc(4194308,4,e,t)},useInsertionEffect:function(e,t){Sc(4,2,e,t)},useMemo:function(e,t){var l=Ft();t=t===void 0?null:t;var s=e();if(Ul){ue(!0);try{e()}finally{ue(!1)}}return l.memoizedState=[s,t],s},useReducer:function(e,t,l){var s=Ft();if(l!==void 0){var u=l(t);if(Ul){ue(!0);try{l(t)}finally{ue(!1)}}}else u=t;return s.memoizedState=s.baseState=u,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:u},s.queue=e,e=e.dispatch=ab.bind(null,Ee,e),[s.memoizedState,e]},useRef:function(e){var t=Ft();return e={current:e},t.memoizedState=e},useState:function(e){e=Uu(e);var t=e.queue,l=Op.bind(null,Ee,t);return t.dispatch=l,[e.memoizedState,l]},useDebugValue:Yu,useDeferredValue:function(e,t){var l=Ft();return Iu(l,e,t)},useTransition:function(){var e=Uu(!1);return e=Dp.bind(null,Ee,e.queue,!0,!1),Ft().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,l){var s=Ee,u=Ft();if(Oe){if(l===void 0)throw Error(r(407));l=l()}else{if(l=t(),Pe===null)throw Error(r(349));($e&127)!==0||sp(s,t,l)}u.memoizedState=l;var f={value:l,getSnapshot:t};return u.queue=f,xp(cp.bind(null,s,f,e),[e]),s.flags|=2048,qi(9,{destroy:void 0},rp.bind(null,s,f,l,t),null),l},useId:function(){var e=Ft(),t=Pe.identifierPrefix;if(Oe){var l=Pn,s=Fn;l=(s&~(1<<32-wt(s)-1)).toString(32)+l,t="_"+t+"R_"+l,l=gc++,0<\/script>",f=f.removeChild(f.firstChild);break;case"select":f=typeof s.is=="string"?h.createElement("select",{is:s.is}):h.createElement("select"),s.multiple?f.multiple=!0:s.size&&(f.size=s.size);break;default:f=typeof s.is=="string"?h.createElement(u,{is:s.is}):h.createElement(u)}}f[mt]=t,f[It]=s;e:for(h=t.child;h!==null;){if(h.tag===5||h.tag===6)f.appendChild(h.stateNode);else if(h.tag!==4&&h.tag!==27&&h.child!==null){h.child.return=h,h=h.child;continue}if(h===t)break e;for(;h.sibling===null;){if(h.return===null||h.return===t)break e;h=h.return}h.sibling.return=h.return,h=h.sibling}t.stateNode=f;e:switch(zt(f,u,s),u){case"button":case"input":case"select":case"textarea":s=!!s.autoFocus;break e;case"img":s=!0;break e;default:s=!1}s&&wa(t)}}return tt(t),rd(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,l),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==s&&wa(t);else{if(typeof s!="string"&&t.stateNode===null)throw Error(r(166));if(e=we.current,Ni(t)){if(e=t.stateNode,l=t.memoizedProps,s=null,u=Rt,u!==null)switch(u.tag){case 27:case 5:s=u.memoizedProps}e[mt]=t,e=!!(e.nodeValue===l||s!==null&&s.suppressHydrationWarning===!0||lh(e.nodeValue,l)),e||Qa(t,!0)}else e=Yc(e).createTextNode(s),e[mt]=t,t.stateNode=e}return tt(t),null;case 31:if(l=t.memoizedState,e===null||e.memoizedState!==null){if(s=Ni(t),l!==null){if(e===null){if(!s)throw Error(r(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(557));e[mt]=t}else $l(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;tt(t),e=!1}else l=gu(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),e=!0;if(!e)return t.flags&256?(mn(t),t):(mn(t),null);if((t.flags&128)!==0)throw Error(r(558))}return tt(t),null;case 13:if(s=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(u=Ni(t),s!==null&&s.dehydrated!==null){if(e===null){if(!u)throw Error(r(318));if(u=t.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(r(317));u[mt]=t}else $l(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;tt(t),u=!1}else u=gu(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=u),u=!0;if(!u)return t.flags&256?(mn(t),t):(mn(t),null)}return mn(t),(t.flags&128)!==0?(t.lanes=l,t):(l=s!==null,e=e!==null&&e.memoizedState!==null,l&&(s=t.child,u=null,s.alternate!==null&&s.alternate.memoizedState!==null&&s.alternate.memoizedState.cachePool!==null&&(u=s.alternate.memoizedState.cachePool.pool),f=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(f=s.memoizedState.cachePool.pool),f!==u&&(s.flags|=2048)),l!==e&&l&&(t.child.flags|=8192),Ec(t,t.updateQueue),tt(t),null);case 4:return Be(),e===null&&Nd(t.stateNode.containerInfo),tt(t),null;case 10:return ba(t.type),tt(t),null;case 19:if(H(pt),s=t.memoizedState,s===null)return tt(t),null;if(u=(t.flags&128)!==0,f=s.rendering,f===null)if(u)Ks(s,!1);else{if(dt!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(f=_c(e),f!==null){for(t.flags|=128,Ks(s,!1),e=f.updateQueue,t.updateQueue=e,Ec(t,e),t.subtreeFlags=0,e=l,l=t.child;l!==null;)Om(l,e),l=l.sibling;return W(pt,pt.current&1|2),Oe&&ya(t,s.treeForkCount),t.child}e=e.sibling}s.tail!==null&&Tt()>$c&&(t.flags|=128,u=!0,Ks(s,!1),t.lanes=4194304)}else{if(!u)if(e=_c(f),e!==null){if(t.flags|=128,u=!0,e=e.updateQueue,t.updateQueue=e,Ec(t,e),Ks(s,!0),s.tail===null&&s.tailMode==="hidden"&&!f.alternate&&!Oe)return tt(t),null}else 2*Tt()-s.renderingStartTime>$c&&l!==536870912&&(t.flags|=128,u=!0,Ks(s,!1),t.lanes=4194304);s.isBackwards?(f.sibling=t.child,t.child=f):(e=s.last,e!==null?e.sibling=f:t.child=f,s.last=f)}return s.tail!==null?(e=s.tail,s.rendering=e,s.tail=e.sibling,s.renderingStartTime=Tt(),e.sibling=null,l=pt.current,W(pt,u?l&1|2:l&1),Oe&&ya(t,s.treeForkCount),e):(tt(t),null);case 22:case 23:return mn(t),Tu(),s=t.memoizedState!==null,e!==null?e.memoizedState!==null!==s&&(t.flags|=8192):s&&(t.flags|=8192),s?(l&536870912)!==0&&(t.flags&128)===0&&(tt(t),t.subtreeFlags&6&&(t.flags|=8192)):tt(t),l=t.updateQueue,l!==null&&Ec(t,l.retryQueue),l=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),s=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(s=t.memoizedState.cachePool.pool),s!==l&&(t.flags|=2048),e!==null&&H(Ol),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),ba(gt),tt(t),null;case 25:return null;case 30:return null}throw Error(r(156,t.tag))}function cb(e,t){switch(_u(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ba(gt),Be(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return qt(t),null;case 31:if(t.memoizedState!==null){if(mn(t),t.alternate===null)throw Error(r(340));$l()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(mn(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(r(340));$l()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return H(pt),null;case 4:return Be(),null;case 10:return ba(t.type),null;case 22:case 23:return mn(t),Tu(),e!==null&&H(Ol),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return ba(gt),null;case 25:return null;default:return null}}function o_(e,t){switch(_u(t),t.tag){case 3:ba(gt),Be();break;case 26:case 27:case 5:qt(t);break;case 4:Be();break;case 31:t.memoizedState!==null&&mn(t);break;case 13:mn(t);break;case 19:H(pt);break;case 10:ba(t.type);break;case 22:case 23:mn(t),Tu(),e!==null&&H(Ol);break;case 24:ba(gt)}}function Qs(e,t){try{var l=t.updateQueue,s=l!==null?l.lastEffect:null;if(s!==null){var u=s.next;l=u;do{if((l.tag&e)===e){s=void 0;var f=l.create,h=l.inst;s=f(),h.destroy=s}l=l.next}while(l!==u)}}catch(b){Ve(t,t.return,b)}}function Wa(e,t,l){try{var s=t.updateQueue,u=s!==null?s.lastEffect:null;if(u!==null){var f=u.next;s=f;do{if((s.tag&e)===e){var h=s.inst,b=h.destroy;if(b!==void 0){h.destroy=void 0,u=t;var C=l,O=b;try{O()}catch(G){Ve(u,C,G)}}}s=s.next}while(s!==f)}}catch(G){Ve(t,t.return,G)}}function u_(e){var t=e.updateQueue;if(t!==null){var l=e.stateNode;try{ep(t,l)}catch(s){Ve(e,e.return,s)}}}function d_(e,t,l){l.props=Hl(e.type,e.memoizedProps),l.state=e.memoizedState;try{l.componentWillUnmount()}catch(s){Ve(e,t,s)}}function Vs(e,t){try{var l=e.ref;if(l!==null){switch(e.tag){case 26:case 27:case 5:var s=e.stateNode;break;case 30:s=e.stateNode;break;default:s=e.stateNode}typeof l=="function"?e.refCleanup=l(s):l.current=s}}catch(u){Ve(e,t,u)}}function Wn(e,t){var l=e.ref,s=e.refCleanup;if(l!==null)if(typeof s=="function")try{s()}catch(u){Ve(e,t,u)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(u){Ve(e,t,u)}else l.current=null}function f_(e){var t=e.type,l=e.memoizedProps,s=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":l.autoFocus&&s.focus();break e;case"img":l.src?s.src=l.src:l.srcSet&&(s.srcset=l.srcSet)}}catch(u){Ve(e,e.return,u)}}function cd(e,t,l){try{var s=e.stateNode;Tb(s,e.type,l,t),s[It]=t}catch(u){Ve(e,e.return,u)}}function m_(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&sl(e.type)||e.tag===4}function od(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||m_(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&&sl(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 ud(e,t,l){var s=e.tag;if(s===5||s===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=xn));else if(s!==4&&(s===27&&sl(e.type)&&(l=e.stateNode,t=null),e=e.child,e!==null))for(ud(e,t,l),e=e.sibling;e!==null;)ud(e,t,l),e=e.sibling}function Nc(e,t,l){var s=e.tag;if(s===5||s===6)e=e.stateNode,t?l.insertBefore(e,t):l.appendChild(e);else if(s!==4&&(s===27&&sl(e.type)&&(l=e.stateNode),e=e.child,e!==null))for(Nc(e,t,l),e=e.sibling;e!==null;)Nc(e,t,l),e=e.sibling}function p_(e){var t=e.stateNode,l=e.memoizedProps;try{for(var s=e.type,u=t.attributes;u.length;)t.removeAttributeNode(u[0]);zt(t,s,l),t[mt]=e,t[It]=l}catch(f){Ve(e,e.return,f)}}var ja=!1,bt=!1,dd=!1,__=typeof WeakSet=="function"?WeakSet:Set,Nt=null;function ob(e,t){if(e=e.containerInfo,Rd=Jc,e=Am(e),lu(e)){if("selectionStart"in e)var l={start:e.selectionStart,end:e.selectionEnd};else e:{l=(l=e.ownerDocument)&&l.defaultView||window;var s=l.getSelection&&l.getSelection();if(s&&s.rangeCount!==0){l=s.anchorNode;var u=s.anchorOffset,f=s.focusNode;s=s.focusOffset;try{l.nodeType,f.nodeType}catch{l=null;break e}var h=0,b=-1,C=-1,O=0,G=0,I=e,L=null;t:for(;;){for(var B;I!==l||u!==0&&I.nodeType!==3||(b=h+u),I!==f||s!==0&&I.nodeType!==3||(C=h+s),I.nodeType===3&&(h+=I.nodeValue.length),(B=I.firstChild)!==null;)L=I,I=B;for(;;){if(I===e)break t;if(L===l&&++O===u&&(b=h),L===f&&++G===s&&(C=h),(B=I.nextSibling)!==null)break;I=L,L=I.parentNode}I=B}l=b===-1||C===-1?null:{start:b,end:C}}else l=null}l=l||{start:0,end:0}}else l=null;for($d={focusedElem:e,selectionRange:l},Jc=!1,Nt=t;Nt!==null;)if(t=Nt,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Nt=e;else for(;Nt!==null;){switch(t=Nt,f=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 title"))),zt(f,s,l),f[mt]=e,at(f),s=f;break e;case"link":var h=Sh("link","href",u).get(s+(l.href||""));if(h){for(var b=0;bFe&&(h=Fe,Fe=xe,xe=h);var T=jm(b,xe),E=jm(b,Fe);if(T&&E&&(B.rangeCount!==1||B.anchorNode!==T.node||B.anchorOffset!==T.offset||B.focusNode!==E.node||B.focusOffset!==E.offset)){var z=I.createRange();z.setStart(T.node,T.offset),B.removeAllRanges(),xe>Fe?(B.addRange(z),B.extend(E.node,E.offset)):(z.setEnd(E.node,E.offset),B.addRange(z))}}}}for(I=[],B=b;B=B.parentNode;)B.nodeType===1&&I.push({element:B,left:B.scrollLeft,top:B.scrollTop});for(typeof b.focus=="function"&&b.focus(),b=0;bl?32:l,q.T=null,l=yd,yd=null;var f=al,h=Ta;if(Ct=0,Yi=al=null,Ta=0,(Ie&6)!==0)throw Error(r(331));var b=Ie;if(Ie|=4,C_(f.current),k_(f,f.current,h,l),Ie=b,Ws(0,!1),Ut&&typeof Ut.onPostCommitFiberRoot=="function")try{Ut.onPostCommitFiberRoot(kt,f)}catch{}return!0}finally{V.p=u,q.T=s,I_(e,t)}}function Q_(e,t,l){t=wn(l,t),t=Fu(e.stateNode,t,2),e=Ja(e,t,2),e!==null&&(bn(e,2),ea(e))}function Ve(e,t,l){if(e.tag===3)Q_(e,e,l);else for(;t!==null;){if(t.tag===3){Q_(t,e,l);break}else if(t.tag===1){var s=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&(nl===null||!nl.has(s))){e=wn(l,e),l=Vp(2),s=Ja(t,l,2),s!==null&&(Xp(l,s,t,e),bn(s,2),ea(s));break}}t=t.return}}function xd(e,t,l){var s=e.pingCache;if(s===null){s=e.pingCache=new fb;var u=new Set;s.set(t,u)}else u=s.get(t),u===void 0&&(u=new Set,s.set(t,u));u.has(l)||(pd=!0,u.add(l),e=gb.bind(null,e,t,l),t.then(e,e))}function gb(e,t,l){var s=e.pingCache;s!==null&&s.delete(t),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,Pe===e&&($e&l)===l&&(dt===4||dt===3&&($e&62914560)===$e&&300>Tt()-Rc?(Ie&2)===0&&Ii(e,0):_d|=l,Gi===$e&&(Gi=0)),ea(e)}function V_(e,t){t===0&&(t=Mr()),e=Dl(e,t),e!==null&&(bn(e,t),ea(e))}function yb(e){var t=e.memoizedState,l=0;t!==null&&(l=t.retryLane),V_(e,l)}function vb(e,t){var l=0;switch(e.tag){case 31:case 13:var s=e.stateNode,u=e.memoizedState;u!==null&&(l=u.retryLane);break;case 19:s=e.stateNode;break;case 22:s=e.stateNode._retryCache;break;default:throw Error(r(314))}s!==null&&s.delete(t),V_(e,l)}function bb(e,t){return ii(e,t)}var Bc=null,Qi=null,kd=!1,Uc=!1,wd=!1,il=0;function ea(e){e!==Qi&&e.next===null&&(Qi===null?Bc=Qi=e:Qi=Qi.next=e),Uc=!0,kd||(kd=!0,xb())}function Ws(e,t){if(!wd&&Uc){wd=!0;do for(var l=!1,s=Bc;s!==null;){if(e!==0){var u=s.pendingLanes;if(u===0)var f=0;else{var h=s.suspendedLanes,b=s.pingedLanes;f=(1<<31-wt(42|e)+1)-1,f&=u&~(h&~b),f=f&201326741?f&201326741|1:f?f|2:0}f!==0&&(l=!0,F_(s,f))}else f=$e,f=Kn(s,s===Pe?f:0,s.cancelPendingCommit!==null||s.timeoutHandle!==-1),(f&3)===0||oa(s,f)||(l=!0,F_(s,f));s=s.next}while(l);wd=!1}}function Sb(){X_()}function X_(){Uc=kd=!1;var e=0;il!==0&&Rb()&&(e=il);for(var t=Tt(),l=null,s=Bc;s!==null;){var u=s.next,f=Z_(s,t);f===0?(s.next=null,l===null?Bc=u:l.next=u,u===null&&(Qi=l)):(l=s,(e!==0||(f&3)!==0)&&(Uc=!0)),s=u}Ct!==0&&Ct!==5||Ws(e),il!==0&&(il=0)}function Z_(e,t){for(var l=e.suspendedLanes,s=e.pingedLanes,u=e.expirationTimes,f=e.pendingLanes&-62914561;0b)break;var G=C.transferSize,I=C.initiatorType;G&&ih(I)&&(C=C.responseEnd,h+=G*(C"u"?null:document;function gh(e,t,l){var s=Vi;if(s&&typeof t=="string"&&t){var u=Zt(t);u='link[rel="'+e+'"][href="'+u+'"]',typeof l=="string"&&(u+='[crossorigin="'+l+'"]'),hh.has(u)||(hh.add(u),e={rel:e,crossOrigin:l,href:t},s.querySelector(u)===null&&(t=s.createElement("link"),zt(t,"link",e),at(t),s.head.appendChild(t)))}}function Hb(e){Da.D(e),gh("dns-prefetch",e,null)}function Gb(e,t){Da.C(e,t),gh("preconnect",e,t)}function Yb(e,t,l){Da.L(e,t,l);var s=Vi;if(s&&e&&t){var u='link[rel="preload"][as="'+Zt(t)+'"]';t==="image"&&l&&l.imageSrcSet?(u+='[imagesrcset="'+Zt(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(u+='[imagesizes="'+Zt(l.imageSizes)+'"]')):u+='[href="'+Zt(e)+'"]';var f=u;switch(t){case"style":f=Xi(e);break;case"script":f=Zi(e)}Tn.has(f)||(e=S({rel:"preload",href:t==="image"&&l&&l.imageSrcSet?void 0:e,as:t},l),Tn.set(f,e),s.querySelector(u)!==null||t==="style"&&s.querySelector(ar(f))||t==="script"&&s.querySelector(lr(f))||(t=s.createElement("link"),zt(t,"link",e),at(t),s.head.appendChild(t)))}}function Ib(e,t){Da.m(e,t);var l=Vi;if(l&&e){var s=t&&typeof t.as=="string"?t.as:"script",u='link[rel="modulepreload"][as="'+Zt(s)+'"][href="'+Zt(e)+'"]',f=u;switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":f=Zi(e)}if(!Tn.has(f)&&(e=S({rel:"modulepreload",href:e},t),Tn.set(f,e),l.querySelector(u)===null)){switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(lr(f)))return}s=l.createElement("link"),zt(s,"link",e),at(s),l.head.appendChild(s)}}}function Kb(e,t,l){Da.S(e,t,l);var s=Vi;if(s&&e){var u=da(s).hoistableStyles,f=Xi(e);t=t||"default";var h=u.get(f);if(!h){var b={loading:0,preload:null};if(h=s.querySelector(ar(f)))b.loading=5;else{e=S({rel:"stylesheet",href:e,"data-precedence":t},l),(l=Tn.get(f))&&Ud(e,l);var C=h=s.createElement("link");at(C),zt(C,"link",e),C._p=new Promise(function(O,G){C.onload=O,C.onerror=G}),C.addEventListener("load",function(){b.loading|=1}),C.addEventListener("error",function(){b.loading|=2}),b.loading|=4,Kc(h,t,s)}h={type:"stylesheet",instance:h,count:1,state:b},u.set(f,h)}}}function Qb(e,t){Da.X(e,t);var l=Vi;if(l&&e){var s=da(l).hoistableScripts,u=Zi(e),f=s.get(u);f||(f=l.querySelector(lr(u)),f||(e=S({src:e,async:!0},t),(t=Tn.get(u))&&Hd(e,t),f=l.createElement("script"),at(f),zt(f,"link",e),l.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},s.set(u,f))}}function Vb(e,t){Da.M(e,t);var l=Vi;if(l&&e){var s=da(l).hoistableScripts,u=Zi(e),f=s.get(u);f||(f=l.querySelector(lr(u)),f||(e=S({src:e,async:!0,type:"module"},t),(t=Tn.get(u))&&Hd(e,t),f=l.createElement("script"),at(f),zt(f,"link",e),l.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},s.set(u,f))}}function yh(e,t,l,s){var u=(u=we.current)?Ic(u):null;if(!u)throw Error(r(446));switch(e){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(t=Xi(l.href),l=da(u).hoistableStyles,s=l.get(t),s||(s={type:"style",instance:null,count:0,state:null},l.set(t,s)),s):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){e=Xi(l.href);var f=da(u).hoistableStyles,h=f.get(e);if(h||(u=u.ownerDocument||u,h={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},f.set(e,h),(f=u.querySelector(ar(e)))&&!f._p&&(h.instance=f,h.state.loading=5),Tn.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},Tn.set(e,l),f||Xb(u,e,l,h.state))),t&&s===null)throw Error(r(528,""));return h}if(t&&s!==null)throw Error(r(529,""));return null;case"script":return t=l.async,l=l.src,typeof l=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Zi(l),l=da(u).hoistableScripts,s=l.get(t),s||(s={type:"script",instance:null,count:0,state:null},l.set(t,s)),s):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,e))}}function Xi(e){return'href="'+Zt(e)+'"'}function ar(e){return'link[rel="stylesheet"]['+e+"]"}function vh(e){return S({},e,{"data-precedence":e.precedence,precedence:null})}function Xb(e,t,l,s){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?s.loading=1:(t=e.createElement("link"),s.preload=t,t.addEventListener("load",function(){return s.loading|=1}),t.addEventListener("error",function(){return s.loading|=2}),zt(t,"link",l),at(t),e.head.appendChild(t))}function Zi(e){return'[src="'+Zt(e)+'"]'}function lr(e){return"script[async]"+e}function bh(e,t,l){if(t.count++,t.instance===null)switch(t.type){case"style":var s=e.querySelector('style[data-href~="'+Zt(l.href)+'"]');if(s)return t.instance=s,at(s),s;var u=S({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return s=(e.ownerDocument||e).createElement("style"),at(s),zt(s,"style",u),Kc(s,l.precedence,e),t.instance=s;case"stylesheet":u=Xi(l.href);var f=e.querySelector(ar(u));if(f)return t.state.loading|=4,t.instance=f,at(f),f;s=vh(l),(u=Tn.get(u))&&Ud(s,u),f=(e.ownerDocument||e).createElement("link"),at(f);var h=f;return h._p=new Promise(function(b,C){h.onload=b,h.onerror=C}),zt(f,"link",s),t.state.loading|=4,Kc(f,l.precedence,e),t.instance=f;case"script":return f=Zi(l.src),(u=e.querySelector(lr(f)))?(t.instance=u,at(u),u):(s=l,(u=Tn.get(f))&&(s=S({},l),Hd(s,u)),e=e.ownerDocument||e,u=e.createElement("script"),at(u),zt(u,"link",s),e.head.appendChild(u),t.instance=u);case"void":return null;default:throw Error(r(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(s=t.instance,t.state.loading|=4,Kc(s,l.precedence,e));return t.instance}function Kc(e,t,l){for(var s=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),u=s.length?s[s.length-1]:null,f=u,h=0;h title"):null)}function Zb(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 kh(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function Jb(e,t,l,s){if(l.type==="stylesheet"&&(typeof s.media!="string"||matchMedia(s.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var u=Xi(s.href),f=t.querySelector(ar(u));if(f){t=f._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Vc.bind(e),t.then(e,e)),l.state.loading|=4,l.instance=f,at(f);return}f=t.ownerDocument||t,s=vh(s),(u=Tn.get(u))&&Ud(s,u),f=f.createElement("link"),at(f);var h=f;h._p=new Promise(function(b,C){h.onload=b,h.onerror=C}),zt(f,"link",s),l.instance=f}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(l,t),(t=l.state.preload)&&(l.state.loading&3)===0&&(e.count++,l=Vc.bind(e),t.addEventListener("load",l),t.addEventListener("error",l))}}var Gd=0;function Fb(e,t){return e.stylesheets&&e.count===0&&Zc(e,e.stylesheets),0Gd?50:800)+t);return e.unsuspend=l,function(){e.unsuspend=null,clearTimeout(s),clearTimeout(u)}}:null}function Vc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Zc(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Xc=null;function Zc(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Xc=new Map,t.forEach(Pb,e),Xc=null,Vc.call(e))}function Pb(e,t){if(!(t.state.loading&4)){var l=Xc.get(e);if(l)var s=l.get(null);else{l=new Map,Xc.set(e,l);for(var u=e.querySelectorAll("link[data-precedence],style[data-precedence]"),f=0;f"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(a){console.error(a)}}return n(),Fd.exports=h0(),Fd.exports}var y0=g0();/** * react-router v7.17.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 Vh="popstate";function Xh(n){return typeof n=="object"&&n!=null&&"pathname"in n&&"search"in n&&"hash"in n&&"state"in n&&"key"in n}function v0(n={}){function a(c,d){let{pathname:p="/",search:y="",hash:_=""}=Pl(c.location.hash.substring(1));return!p.startsWith("/")&&!p.startsWith(".")&&(p="/"+p),yf("",{pathname:p,search:y,hash:_},d.state&&d.state.usr||null,d.state&&d.state.key||"default")}function i(c,d){let p=c.document.querySelector("base"),y="";if(p&&p.getAttribute("href")){let _=c.location.href,g=_.indexOf("#");y=g===-1?_:_.slice(0,g)}return y+"#"+(typeof d=="string"?d:xr(d))}function r(c,d){Rn(c.pathname.charAt(0)==="/",`relative pathnames are not supported in hash history.push(${JSON.stringify(d)})`)}return S0(a,i,r,n)}function st(n,a){if(n===!1||n===null||typeof n>"u")throw new Error(a)}function Rn(n,a){if(!n){typeof console<"u"&&console.warn(a);try{throw new Error(a)}catch{}}}function b0(){return Math.random().toString(36).substring(2,10)}function Zh(n,a){return{usr:n.state,key:n.key,idx:a,masked:n.mask?{pathname:n.pathname,search:n.search,hash:n.hash}:void 0}}function yf(n,a,i=null,r,c){return{pathname:typeof n=="string"?n:n.pathname,search:"",hash:"",...typeof a=="string"?Pl(a):a,state:i,key:a&&a.key||r||b0(),mask:c}}function xr({pathname:n="/",search:a="",hash:i=""}){return a&&a!=="?"&&(n+=a.charAt(0)==="?"?a:"?"+a),i&&i!=="#"&&(n+=i.charAt(0)==="#"?i:"#"+i),n}function Pl(n){let a={};if(n){let i=n.indexOf("#");i>=0&&(a.hash=n.substring(i),n=n.substring(0,i));let r=n.indexOf("?");r>=0&&(a.search=n.substring(r),n=n.substring(0,r)),n&&(a.pathname=n)}return a}function S0(n,a,i,r={}){let{window:c=document.defaultView,v5Compat:d=!1}=r,p=c.history,y="POP",_=null,g=x();g==null&&(g=0,p.replaceState({...p.state,idx:g},""));function x(){return(p.state||{idx:null}).idx}function S(){y="POP";let N=x(),$=N==null?null:N-g;g=N,_&&_({action:y,location:D.location,delta:$})}function w(N,$){y="PUSH";let Q=Xh(N)?N:yf(D.location,N,$);i&&i(Q,N),g=x()+1;let K=Zh(Q,g),re=D.createHref(Q.mask||Q);try{p.pushState(K,"",re)}catch(ae){if(ae instanceof DOMException&&ae.name==="DataCloneError")throw ae;c.location.assign(re)}d&&_&&_({action:y,location:D.location,delta:1})}function R(N,$){y="REPLACE";let Q=Xh(N)?N:yf(D.location,N,$);i&&i(Q,N),g=x();let K=Zh(Q,g),re=D.createHref(Q.mask||Q);p.replaceState(K,"",re),d&&_&&_({action:y,location:D.location,delta:0})}function j(N){return x0(c,N)}let D={get action(){return y},get location(){return n(c,p)},listen(N){if(_)throw new Error("A history only accepts one active listener");return c.addEventListener(Vh,S),_=N,()=>{c.removeEventListener(Vh,S),_=null}},createHref(N){return a(c,N)},createURL:j,encodeLocation(N){let $=j(N);return{pathname:$.pathname,search:$.search,hash:$.hash}},push:w,replace:R,go(N){return p.go(N)}};return D}function x0(n,a,i=!1){let r="http://localhost";n&&(r=n.location.origin!=="null"?n.location.origin:n.location.href),st(r,"No window.location.(origin|href) available to create URL");let c=typeof a=="string"?a:xr(a);return c=c.replace(/ $/,"%20"),!i&&c.startsWith("//")&&(c=r+c),new URL(c,r)}function Zg(n,a,i="/"){return k0(n,a,i,!1)}function k0(n,a,i,r,c){let d=typeof a=="string"?Pl(a):a,p=$a(d.pathname||"/",i);if(p==null)return null;let y=w0(n),_=null,g=O0(p);for(let x=0;_==null&&x{let x={relativePath:g===void 0?p.path||"":g,caseSensitive:p.caseSensitive===!0,childrenIndex:y,route:p};if(x.relativePath.startsWith("/")){if(!x.relativePath.startsWith(r)&&_)return;st(x.relativePath.startsWith(r),`Absolute route path "${x.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),x.relativePath=x.relativePath.slice(r.length)}let S=Un([r,x.relativePath]),w=i.concat(x);p.children&&p.children.length>0&&(st(p.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${S}".`),Jg(p.children,a,w,S,_)),!(p.path==null&&!p.index)&&a.push({path:S,score:R0(S,p.index),routesMeta:w})};return n.forEach((p,y)=>{var _;if(p.path===""||!((_=p.path)!=null&&_.includes("?")))d(p,y);else for(let g of Fg(p.path))d(p,y,!0,g)}),a}function Fg(n){let a=n.split("/");if(a.length===0)return[];let[i,...r]=a,c=i.endsWith("?"),d=i.replace(/\?$/,"");if(r.length===0)return c?[d,""]:[d];let p=Fg(r.join("/")),y=[];return y.push(...p.map(_=>_===""?d:[d,_].join("/"))),c&&y.push(...p),y.map(_=>n.startsWith("/")&&_===""?"/":_)}function j0(n){n.sort((a,i)=>a.score!==i.score?i.score-a.score:$0(a.routesMeta.map(r=>r.childrenIndex),i.routesMeta.map(r=>r.childrenIndex)))}var C0=/^:[\w-]+$/,A0=3,E0=2,N0=1,T0=10,D0=-2,Jh=n=>n==="*";function R0(n,a){let i=n.split("/"),r=i.length;return i.some(Jh)&&(r+=D0),a&&(r+=E0),i.filter(c=>!Jh(c)).reduce((c,d)=>c+(C0.test(d)?A0:d===""?N0:T0),r)}function $0(n,a){return n.length===a.length&&n.slice(0,-1).every((r,c)=>r===a[c])?n[n.length-1]-a[a.length-1]:0}function M0(n,a,i=!1){let{routesMeta:r}=n,c={},d="/",p=[];for(let y=0;y{if(x==="*"){let j=y[w]||"";p=d.slice(0,d.length-j.length).replace(/(.)\/+$/,"$1")}const R=y[w];return S&&!R?g[x]=void 0:g[x]=(R||"").replace(/%2F/g,"/"),g},{}),pathname:d,pathnameBase:p,pattern:n}}function z0(n,a=!1,i=!0){Rn(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 r=[],c="^"+n.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(p,y,_,g,x)=>{if(r.push({paramName:y,isOptional:_!=null}),_){let S=x.charAt(g+p.length);return S&&S!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return n.endsWith("*")?(r.push({paramName:"*"}),c+=n==="*"||n==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i?c+="\\/*$":n!==""&&n!=="/"&&(c+="(?:(?=\\/|$))"),[new RegExp(c,a?void 0:"i"),r]}function O0(n){try{return n.split("/").map(a=>decodeURIComponent(a).replace(/\//g,"%2F")).join("/")}catch(a){return Rn(!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 (${a}).`),n}}function $a(n,a){if(a==="/")return n;if(!n.toLowerCase().startsWith(a.toLowerCase()))return null;let i=a.endsWith("/")?a.length-1:a.length,r=n.charAt(i);return r&&r!=="/"?null:n.slice(i)||"/"}var L0=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function q0(n,a="/"){let{pathname:i,search:r="",hash:c=""}=typeof n=="string"?Pl(n):n,d;return i?(i=Pg(i),i.startsWith("/")?d=Fh(i.substring(1),"/"):d=Fh(i,a)):d=a,{pathname:d,search:H0(r),hash:G0(c)}}function Fh(n,a){let i=yo(a).split("/");return n.split("/").forEach(c=>{c===".."?i.length>1&&i.pop():c!=="."&&i.push(c)}),i.length>1?i.join("/"):"/"}function tf(n,a,i,r){return`Cannot include a '${n}' character in a manually specified \`to.${a}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${i}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function B0(n){return n.filter((a,i)=>i===0||a.route.path&&a.route.path.length>0)}function Bf(n){let a=B0(n);return a.map((i,r)=>r===a.length-1?i.pathname:i.pathnameBase)}function Eo(n,a,i,r=!1){let c;typeof n=="string"?c=Pl(n):(c={...n},st(!c.pathname||!c.pathname.includes("?"),tf("?","pathname","search",c)),st(!c.pathname||!c.pathname.includes("#"),tf("#","pathname","hash",c)),st(!c.search||!c.search.includes("#"),tf("#","search","hash",c)));let d=n===""||c.pathname==="",p=d?"/":c.pathname,y;if(p==null)y=i;else{let S=a.length-1;if(!r&&p.startsWith("..")){let w=p.split("/");for(;w[0]==="..";)w.shift(),S-=1;c.pathname=w.join("/")}y=S>=0?a[S]:"/"}let _=q0(c,y),g=p&&p!=="/"&&p.endsWith("/"),x=(d||p===".")&&i.endsWith("/");return!_.pathname.endsWith("/")&&(g||x)&&(_.pathname+="/"),_}var Pg=n=>n.replace(/\/\/+/g,"/"),Un=n=>Pg(n.join("/")),yo=n=>n.replace(/\/+$/,""),U0=n=>yo(n).replace(/^\/*/,"/"),H0=n=>!n||n==="?"?"":n.startsWith("?")?n:"?"+n,G0=n=>!n||n==="#"?"":n.startsWith("#")?n:"#"+n,Y0=class{constructor(n,a,i,r=!1){this.status=n,this.statusText=a||"",this.internal=r,i instanceof Error?(this.data=i.toString(),this.error=i):this.data=i}};function I0(n){return n!=null&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.internal=="boolean"&&"data"in n}function K0(n){let a=n.map(i=>i.route.path).filter(Boolean);return Un(a)||"/"}var Wg=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function ey(n,a){let i=n;if(typeof i!="string"||!L0.test(i))return{absoluteURL:void 0,isExternal:!1,to:i};let r=i,c=!1;if(Wg)try{let d=new URL(window.location.href),p=i.startsWith("//")?new URL(d.protocol+i):new URL(i),y=$a(p.pathname,a);p.origin===d.origin&&y!=null?i=y+p.search+p.hash:c=!0}catch{Rn(!1,` contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:c,to:i}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var ty=["POST","PUT","PATCH","DELETE"];new Set(ty);var Q0=["GET",...ty];new Set(Q0);var is=k.createContext(null);is.displayName="DataRouter";var No=k.createContext(null);No.displayName="DataRouterState";var ny=k.createContext(!1);function V0(){return k.useContext(ny)}var ay=k.createContext({isTransitioning:!1});ay.displayName="ViewTransition";var X0=k.createContext(new Map);X0.displayName="Fetchers";var Z0=k.createContext(null);Z0.displayName="Await";var yn=k.createContext(null);yn.displayName="Navigation";var Cr=k.createContext(null);Cr.displayName="Location";var la=k.createContext({outlet:null,matches:[],isDataRoute:!1});la.displayName="Route";var Uf=k.createContext(null);Uf.displayName="RouteError";var ly="REACT_ROUTER_ERROR",J0="REDIRECT",F0="ROUTE_ERROR_RESPONSE";function P0(n){if(n.startsWith(`${ly}:${J0}:{`))try{let a=JSON.parse(n.slice(28));if(typeof a=="object"&&a&&typeof a.status=="number"&&typeof a.statusText=="string"&&typeof a.location=="string"&&typeof a.reloadDocument=="boolean"&&typeof a.replace=="boolean")return a}catch{}}function W0(n){if(n.startsWith(`${ly}:${F0}:{`))try{let a=JSON.parse(n.slice(40));if(typeof a=="object"&&a&&typeof a.status=="number"&&typeof a.statusText=="string")return new Y0(a.status,a.statusText,a.data)}catch{}}function eS(n,{relative:a}={}){st(ss(),"useHref() may be used only in the context of a component.");let{basename:i,navigator:r}=k.useContext(yn),{hash:c,pathname:d,search:p}=Ar(n,{relative:a}),y=d;return i!=="/"&&(y=d==="/"?i:Un([i,d])),r.createHref({pathname:y,search:p,hash:c})}function ss(){return k.useContext(Cr)!=null}function In(){return st(ss(),"useLocation() may be used only in the context of a component."),k.useContext(Cr).location}var iy="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function sy(n){k.useContext(yn).static||k.useLayoutEffect(n)}function Hf(){let{isDataRoute:n}=k.useContext(la);return n?mS():tS()}function tS(){st(ss(),"useNavigate() may be used only in the context of a component.");let n=k.useContext(is),{basename:a,navigator:i}=k.useContext(yn),{matches:r}=k.useContext(la),{pathname:c}=In(),d=JSON.stringify(Bf(r)),p=k.useRef(!1);return sy(()=>{p.current=!0}),k.useCallback((_,g={})=>{if(Rn(p.current,iy),!p.current)return;if(typeof _=="number"){i.go(_);return}let x=Eo(_,JSON.parse(d),c,g.relative==="path");n==null&&a!=="/"&&(x.pathname=x.pathname==="/"?a:Un([a,x.pathname])),(g.replace?i.replace:i.push)(x,g.state,g)},[a,i,d,c,n])}k.createContext(null);function Ar(n,{relative:a}={}){let{matches:i}=k.useContext(la),{pathname:r}=In(),c=JSON.stringify(Bf(i));return k.useMemo(()=>Eo(n,JSON.parse(c),r,a==="path"),[n,c,r,a])}function nS(n,a){return ry(n,a)}function ry(n,a,i){var N;st(ss(),"useRoutes() may be used only in the context of a component.");let{navigator:r}=k.useContext(yn),{matches:c}=k.useContext(la),d=c[c.length-1],p=d?d.params:{},y=d?d.pathname:"/",_=d?d.pathnameBase:"/",g=d&&d.route;{let $=g&&g.path||"";oy(y,!g||$.endsWith("*")||$.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${y}" (under ) 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 to .`)}let x=In(),S;if(a){let $=typeof a=="string"?Pl(a):a;st(_==="/"||((N=$.pathname)==null?void 0:N.startsWith(_)),`When overriding the location using \`\` 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 "${_}" but pathname "${$.pathname}" was given in the \`location\` prop.`),S=$}else S=x;let w=S.pathname||"/",R=w;if(_!=="/"){let $=_.replace(/^\//,"").split("/");R="/"+w.replace(/^\//,"").split("/").slice($.length).join("/")}let j=i&&i.state.matches.length?i.state.matches.map($=>Object.assign($,{route:i.manifest[$.route.id]||$.route})):Zg(n,{pathname:R});Rn(g||j!=null,`No routes matched location "${S.pathname}${S.search}${S.hash}" `),Rn(j==null||j[j.length-1].route.element!==void 0||j[j.length-1].route.Component!==void 0||j[j.length-1].route.lazy!==void 0,`Matched leaf route at location "${S.pathname}${S.search}${S.hash}" does not have an element or Component. This means it will render an with a null value by default resulting in an "empty" page.`);let D=rS(j&&j.map($=>Object.assign({},$,{params:Object.assign({},p,$.params),pathname:Un([_,r.encodeLocation?r.encodeLocation($.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:$.pathname]),pathnameBase:$.pathnameBase==="/"?_:Un([_,r.encodeLocation?r.encodeLocation($.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:$.pathnameBase])})),c,i);return a&&D?k.createElement(Cr.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...S},navigationType:"POP"}},D):D}function aS(){let n=fS(),a=I0(n)?`${n.status} ${n.statusText}`:n instanceof Error?n.message:JSON.stringify(n),i=n instanceof Error?n.stack:null,r="rgba(200,200,200, 0.5)",c={padding:"0.5rem",backgroundColor:r},d={padding:"2px 4px",backgroundColor:r},p=null;return console.error("Error handled by React Router default ErrorBoundary:",n),p=k.createElement(k.Fragment,null,k.createElement("p",null,"💿 Hey developer 👋"),k.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",k.createElement("code",{style:d},"ErrorBoundary")," or"," ",k.createElement("code",{style:d},"errorElement")," prop on your route.")),k.createElement(k.Fragment,null,k.createElement("h2",null,"Unexpected Application Error!"),k.createElement("h3",{style:{fontStyle:"italic"}},a),i?k.createElement("pre",{style:c},i):null,p)}var lS=k.createElement(aS,null),cy=class extends k.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,a){return a.location!==n.location||a.revalidation!=="idle"&&n.revalidation==="idle"?{error:n.error,location:n.location,revalidation:n.revalidation}:{error:n.error!==void 0?n.error:a.error,location:a.location,revalidation:n.revalidation||a.revalidation}}componentDidCatch(n,a){this.props.onError?this.props.onError(n,a):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 i=W0(n.digest);i&&(n=i)}let a=n!==void 0?k.createElement(la.Provider,{value:this.props.routeContext},k.createElement(Uf.Provider,{value:n,children:this.props.component})):this.props.children;return this.context?k.createElement(iS,{error:n},a):a}};cy.contextType=ny;var nf=new WeakMap;function iS({children:n,error:a}){let{basename:i}=k.useContext(yn);if(typeof a=="object"&&a&&"digest"in a&&typeof a.digest=="string"){let r=P0(a.digest);if(r){let c=nf.get(a);if(c)throw c;let d=ey(r.location,i);if(Wg&&!nf.get(a))if(d.isExternal||r.reloadDocument)window.location.href=d.absoluteURL||d.to;else{const p=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(d.to,{replace:r.replace}));throw nf.set(a,p),p}return k.createElement("meta",{httpEquiv:"refresh",content:`0;url=${d.absoluteURL||d.to}`})}}return n}function sS({routeContext:n,match:a,children:i}){let r=k.useContext(is);return r&&r.static&&r.staticContext&&(a.route.errorElement||a.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=a.route.id),k.createElement(la.Provider,{value:n},i)}function rS(n,a=[],i){let r=i==null?void 0:i.state;if(n==null){if(!r)return null;if(r.errors)n=r.matches;else if(a.length===0&&!r.initialized&&r.matches.length>0)n=r.matches;else return null}let c=n,d=r==null?void 0:r.errors;if(d!=null){let x=c.findIndex(S=>S.route.id&&(d==null?void 0:d[S.route.id])!==void 0);st(x>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(d).join(",")}`),c=c.slice(0,Math.min(c.length,x+1))}let p=!1,y=-1;if(i&&r){p=r.renderFallback;for(let x=0;x=0?c=c.slice(0,y+1):c=[c[0]];break}}}}let _=i==null?void 0:i.onError,g=r&&_?(x,S)=>{var w,R;_(x,{location:r.location,params:((R=(w=r.matches)==null?void 0:w[0])==null?void 0:R.params)??{},pattern:K0(r.matches),errorInfo:S})}:void 0;return c.reduceRight((x,S,w)=>{let R,j=!1,D=null,N=null;r&&(R=d&&S.route.id?d[S.route.id]:void 0,D=S.route.errorElement||lS,p&&(y<0&&w===0?(oy("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),j=!0,N=null):y===w&&(j=!0,N=S.route.hydrateFallbackElement||null)));let $=a.concat(c.slice(0,w+1)),Q=()=>{let K;return R?K=D:j?K=N:S.route.Component?K=k.createElement(S.route.Component,null):S.route.element?K=S.route.element:K=x,k.createElement(sS,{match:S,routeContext:{outlet:x,matches:$,isDataRoute:r!=null},children:K})};return r&&(S.route.ErrorBoundary||S.route.errorElement||w===0)?k.createElement(cy,{location:r.location,revalidation:r.revalidation,component:D,error:R,children:Q(),routeContext:{outlet:null,matches:$,isDataRoute:!0},onError:g}):Q()},null)}function Gf(n){return`${n} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function cS(n){let a=k.useContext(is);return st(a,Gf(n)),a}function oS(n){let a=k.useContext(No);return st(a,Gf(n)),a}function uS(n){let a=k.useContext(la);return st(a,Gf(n)),a}function Yf(n){let a=uS(n),i=a.matches[a.matches.length-1];return st(i.route.id,`${n} can only be used on routes that contain a unique "id"`),i.route.id}function dS(){return Yf("useRouteId")}function fS(){var r;let n=k.useContext(Uf),a=oS("useRouteError"),i=Yf("useRouteError");return n!==void 0?n:(r=a.errors)==null?void 0:r[i]}function mS(){let{router:n}=cS("useNavigate"),a=Yf("useNavigate"),i=k.useRef(!1);return sy(()=>{i.current=!0}),k.useCallback(async(c,d={})=>{Rn(i.current,iy),i.current&&(typeof c=="number"?await n.navigate(c):await n.navigate(c,{fromRouteId:a,...d}))},[n,a])}var Ph={};function oy(n,a,i){!a&&!Ph[n]&&(Ph[n]=!0,Rn(!1,i))}k.memo(pS);function pS({routes:n,manifest:a,future:i,state:r,isStatic:c,onError:d}){return ry(n,void 0,{manifest:a,state:r,isStatic:c,onError:d})}function _S({to:n,replace:a,state:i,relative:r}){st(ss()," may be used only in the context of a component.");let{static:c}=k.useContext(yn);Rn(!c," must not be used on the initial render in a . This is a no-op, but you should modify your code so the is only ever rendered in response to some user interaction or state change.");let{matches:d}=k.useContext(la),{pathname:p}=In(),y=Hf(),_=Eo(n,Bf(d),p,r==="path"),g=JSON.stringify(_);return k.useEffect(()=>{y(JSON.parse(g),{replace:a,state:i,relative:r})},[y,g,r,a,i]),null}function vf(n){st(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function hS({basename:n="/",children:a=null,location:i,navigationType:r="POP",navigator:c,static:d=!1,useTransitions:p}){st(!ss(),"You cannot render a inside another . You should never have more than one in your app.");let y=n.replace(/^\/*/,"/"),_=k.useMemo(()=>({basename:y,navigator:c,static:d,useTransitions:p,future:{}}),[y,c,d,p]);typeof i=="string"&&(i=Pl(i));let{pathname:g="/",search:x="",hash:S="",state:w=null,key:R="default",mask:j}=i,D=k.useMemo(()=>{let N=$a(g,y);return N==null?null:{location:{pathname:N,search:x,hash:S,state:w,key:R,mask:j},navigationType:r}},[y,g,x,S,w,R,r,j]);return Rn(D!=null,` is not able to match the URL "${g}${x}${S}" because it does not start with the basename, so the won't render anything.`),D==null?null:k.createElement(yn.Provider,{value:_},k.createElement(Cr.Provider,{children:a,value:D}))}function gS({children:n,location:a}){return nS(bf(n),a)}function bf(n,a=[]){let i=[];return k.Children.forEach(n,(r,c)=>{if(!k.isValidElement(r))return;let d=[...a,c];if(r.type===k.Fragment){i.push.apply(i,bf(r.props.children,d));return}st(r.type===vf,`[${typeof r.type=="string"?r.type:r.type.name}] is not a component. All component children of must be a or `),st(!r.props.index||!r.props.children,"An index route cannot have child routes.");let p={id:r.props.id||d.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,middleware:r.props.middleware,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(p.children=bf(r.props.children,d)),i.push(p)}),i}var oo="get",uo="application/x-www-form-urlencoded";function To(n){return typeof HTMLElement<"u"&&n instanceof HTMLElement}function yS(n){return To(n)&&n.tagName.toLowerCase()==="button"}function vS(n){return To(n)&&n.tagName.toLowerCase()==="form"}function bS(n){return To(n)&&n.tagName.toLowerCase()==="input"}function SS(n){return!!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)}function xS(n,a){return n.button===0&&(!a||a==="_self")&&!SS(n)}var ao=null;function kS(){if(ao===null)try{new FormData(document.createElement("form"),0),ao=!1}catch{ao=!0}return ao}var wS=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function af(n){return n!=null&&!wS.has(n)?(Rn(!1,`"${n}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${uo}"`),null):n}function jS(n,a){let i,r,c,d,p;if(vS(n)){let y=n.getAttribute("action");r=y?$a(y,a):null,i=n.getAttribute("method")||oo,c=af(n.getAttribute("enctype"))||uo,d=new FormData(n)}else if(yS(n)||bS(n)&&(n.type==="submit"||n.type==="image")){let y=n.form;if(y==null)throw new Error('Cannot submit a