(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))a(o);new MutationObserver(o=>{for(const u of o)if(u.type==="childList")for(const c of u.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&a(c)}).observe(document,{childList:!0,subtree:!0});function r(o){const u={};return o.integrity&&(u.integrity=o.integrity),o.referrerPolicy&&(u.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?u.credentials="include":o.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function a(o){if(o.ep)return;o.ep=!0;const u=r(o);fetch(o.href,u)}})();function zx(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var pd={exports:{}},Ks={};var V0;function l2(){if(V0)return Ks;V0=1;var e=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function r(a,o,u){var c=null;if(u!==void 0&&(c=""+u),o.key!==void 0&&(c=""+o.key),"key"in o){u={};for(var d in o)d!=="key"&&(u[d]=o[d])}else u=o;return o=u.ref,{$$typeof:e,type:a,key:c,ref:o!==void 0?o:null,props:u}}return Ks.Fragment=n,Ks.jsx=r,Ks.jsxs=r,Ks}var U0;function u2(){return U0||(U0=1,pd.exports=l2()),pd.exports}var v=u2(),gd={exports:{}},je={};var B0;function c2(){if(B0)return je;B0=1;var e=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),u=Symbol.for("react.consumer"),c=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),y=Symbol.for("react.activity"),x=Symbol.iterator;function E(w){return w===null||typeof w!="object"?null:(w=x&&w[x]||w["@@iterator"],typeof w=="function"?w:null)}var T={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},A=Object.assign,_={};function M(w,k,q){this.props=w,this.context=k,this.refs=_,this.updater=q||T}M.prototype.isReactComponent={},M.prototype.setState=function(w,k){if(typeof w!="object"&&typeof w!="function"&&w!=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,w,k,"setState")},M.prototype.forceUpdate=function(w){this.updater.enqueueForceUpdate(this,w,"forceUpdate")};function z(){}z.prototype=M.prototype;function D(w,k,q){this.props=w,this.context=k,this.refs=_,this.updater=q||T}var F=D.prototype=new z;F.constructor=D,A(F,M.prototype),F.isPureReactComponent=!0;var Z=Array.isArray;function se(){}var ne={H:null,A:null,T:null,S:null},Y=Object.prototype.hasOwnProperty;function ge(w,k,q){var Q=q.ref;return{$$typeof:e,type:w,key:k,ref:Q!==void 0?Q:null,props:q}}function ve(w,k){return ge(w.type,k,w.props)}function Fe(w){return typeof w=="object"&&w!==null&&w.$$typeof===e}function ce(w){var k={"=":"=0",":":"=2"};return"$"+w.replace(/[=:]/g,function(q){return k[q]})}var Ee=/\/+/g;function Ce(w,k){return typeof w=="object"&&w!==null&&w.key!=null?ce(""+w.key):k.toString(36)}function Ne(w){switch(w.status){case"fulfilled":return w.value;case"rejected":throw w.reason;default:switch(typeof w.status=="string"?w.then(se,se):(w.status="pending",w.then(function(k){w.status==="pending"&&(w.status="fulfilled",w.value=k)},function(k){w.status==="pending"&&(w.status="rejected",w.reason=k)})),w.status){case"fulfilled":return w.value;case"rejected":throw w.reason}}throw w}function V(w,k,q,Q,ae){var ue=typeof w;(ue==="undefined"||ue==="boolean")&&(w=null);var ie=!1;if(w===null)ie=!0;else switch(ue){case"bigint":case"string":case"number":ie=!0;break;case"object":switch(w.$$typeof){case e:case n:ie=!0;break;case g:return ie=w._init,V(ie(w._payload),k,q,Q,ae)}}if(ie)return ae=ae(w),ie=Q===""?"."+Ce(w,0):Q,Z(ae)?(q="",ie!=null&&(q=ie.replace(Ee,"$&/")+"/"),V(ae,k,q,"",function(Le){return Le})):ae!=null&&(Fe(ae)&&(ae=ve(ae,q+(ae.key==null||w&&w.key===ae.key?"":(""+ae.key).replace(Ee,"$&/")+"/")+ie)),k.push(ae)),1;ie=0;var be=Q===""?".":Q+":";if(Z(w))for(var we=0;we>>1,O=V[Te];if(0>>1;Teo(q,K))Qo(ae,q)?(V[Te]=ae,V[Q]=K,Te=Q):(V[Te]=q,V[k]=K,Te=k);else if(Qo(ae,K))V[Te]=ae,V[Q]=K,Te=Q;else break e}}return J}function o(V,J){var K=V.sortIndex-J.sortIndex;return K!==0?K:V.id-J.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var u=performance;e.unstable_now=function(){return u.now()}}else{var c=Date,d=c.now();e.unstable_now=function(){return c.now()-d}}var m=[],p=[],g=1,y=null,x=3,E=!1,T=!1,A=!1,_=!1,M=typeof setTimeout=="function"?setTimeout:null,z=typeof clearTimeout=="function"?clearTimeout:null,D=typeof setImmediate<"u"?setImmediate:null;function F(V){for(var J=r(p);J!==null;){if(J.callback===null)a(p);else if(J.startTime<=V)a(p),J.sortIndex=J.expirationTime,n(m,J);else break;J=r(p)}}function Z(V){if(A=!1,F(V),!T)if(r(m)!==null)T=!0,se||(se=!0,ce());else{var J=r(p);J!==null&&Ne(Z,J.startTime-V)}}var se=!1,ne=-1,Y=5,ge=-1;function ve(){return _?!0:!(e.unstable_now()-geV&&ve());){var Te=y.callback;if(typeof Te=="function"){y.callback=null,x=y.priorityLevel;var O=Te(y.expirationTime<=V);if(V=e.unstable_now(),typeof O=="function"){y.callback=O,F(V),J=!0;break t}y===r(m)&&a(m),F(V)}else a(m);y=r(m)}if(y!==null)J=!0;else{var w=r(p);w!==null&&Ne(Z,w.startTime-V),J=!1}}break e}finally{y=null,x=K,E=!1}J=void 0}}finally{J?ce():se=!1}}}var ce;if(typeof D=="function")ce=function(){D(Fe)};else if(typeof MessageChannel<"u"){var Ee=new MessageChannel,Ce=Ee.port2;Ee.port1.onmessage=Fe,ce=function(){Ce.postMessage(null)}}else ce=function(){M(Fe,0)};function Ne(V,J){ne=M(function(){V(e.unstable_now())},J)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(V){V.callback=null},e.unstable_forceFrameRate=function(V){0>V||125Te?(V.sortIndex=K,n(p,V),r(m)===null&&V===r(p)&&(A?(z(ne),ne=-1):A=!0,Ne(Z,K-Te))):(V.sortIndex=O,n(m,V),T||E||(T=!0,se||(se=!0,ce()))),V},e.unstable_shouldYield=ve,e.unstable_wrapCallback=function(V){var J=x;return function(){var K=x;x=J;try{return V.apply(this,arguments)}finally{x=K}}}})(bd)),bd}var Z0;function d2(){return Z0||(Z0=1,vd.exports=f2()),vd.exports}var xd={exports:{}},It={};var F0;function h2(){if(F0)return It;F0=1;var e=Vh();function n(m){var p="https://react.dev/errors/"+m;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(n){console.error(n)}}return e(),xd.exports=h2(),xd.exports}var $0;function p2(){if($0)return Is;$0=1;var e=d2(),n=Vh(),r=m2();function a(t){var i="https://react.dev/errors/"+t;if(1O||(t.current=Te[O],Te[O]=null,O--)}function q(t,i){O++,Te[O]=t.current,t.current=i}var Q=w(null),ae=w(null),ue=w(null),ie=w(null);function be(t,i){switch(q(ue,i),q(ae,t),q(Q,null),i.nodeType){case 9:case 11:t=(t=i.documentElement)&&(t=t.namespaceURI)?s0(t):0;break;default:if(t=i.tagName,i=i.namespaceURI)i=s0(i),t=o0(i,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}k(Q),q(Q,t)}function we(){k(Q),k(ae),k(ue)}function Le(t){t.memoizedState!==null&&q(ie,t);var i=Q.current,s=o0(i,t.type);i!==s&&(q(ae,t),q(Q,s))}function ke(t){ae.current===t&&(k(Q),k(ae)),ie.current===t&&(k(ie),$s._currentValue=K)}var $e,ut;function ze(t){if($e===void 0)try{throw Error()}catch(s){var i=s.stack.trim().match(/\n( *(at )?)/);$e=i&&i[1]||"",ut=-1)":-1f||R[l]!==P[f]){var I=` `+R[l].replace(" at new "," at ");return t.displayName&&I.includes("")&&(I=I.replace("",t.displayName)),I}while(1<=l&&0<=f);break}}}finally{yt=!1,Error.prepareStackTrace=s}return(s=t?t.displayName||t.name:"")?ze(s):""}function en(t,i){switch(t.tag){case 26:case 27:case 5:return ze(t.type);case 16:return ze("Lazy");case 13:return t.child!==i&&i!==null?ze("Suspense Fallback"):ze("Suspense");case 19:return ze("SuspenseList");case 0:case 15:return Vt(t.type,!1);case 11:return Vt(t.type.render,!1);case 1:return Vt(t.type,!0);case 31:return ze("Activity");default:return""}}function un(t){try{var i="",s=null;do i+=en(t,s),s=t,t=t.return;while(t);return i}catch(l){return` Error generating stack: `+l.message+` `+l.stack}}var jn=Object.prototype.hasOwnProperty,Ht=e.unstable_scheduleCallback,N=e.unstable_cancelCallback,B=e.unstable_shouldYield,X=e.unstable_requestPaint,oe=e.unstable_now,le=e.unstable_getCurrentPriorityLevel,re=e.unstable_ImmediatePriority,xe=e.unstable_UserBlockingPriority,Be=e.unstable_NormalPriority,qe=e.unstable_LowPriority,vt=e.unstable_IdlePriority,xn=e.log,zn=e.unstable_setDisableYieldValue,pi=null,Zt=null;function Dn(t){if(typeof xn=="function"&&zn(t),Zt&&typeof Zt.setStrictMode=="function")try{Zt.setStrictMode(pi,t)}catch{}}var tn=Math.clz32?Math.clz32:Lo,ko=Math.log,tc=Math.LN2;function Lo(t){return t>>>=0,t===0?32:31-(ko(t)/tc|0)|0}var Vo=256,Uo=262144,Bo=4194304;function xr(t){var i=t&42;if(i!==0)return i;switch(t&-t){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 t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function Po(t,i,s){var l=t.pendingLanes;if(l===0)return 0;var f=0,h=t.suspendedLanes,b=t.pingedLanes;t=t.warmLanes;var S=l&134217727;return S!==0?(l=S&~h,l!==0?f=xr(l):(b&=S,b!==0?f=xr(b):s||(s=S&~t,s!==0&&(f=xr(s))))):(S=l&~h,S!==0?f=xr(S):b!==0?f=xr(b):s||(s=l&~t,s!==0&&(f=xr(s)))),f===0?0:i!==0&&i!==f&&(i&h)===0&&(h=f&-f,s=i&-i,h>=s||h===32&&(s&4194048)!==0)?i:f}function rs(t,i){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&i)===0}function KS(t,i){switch(t){case 1:case 2:case 4:case 8:case 64:return i+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 i+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 Hm(){var t=Bo;return Bo<<=1,(Bo&62914560)===0&&(Bo=4194304),t}function nc(t){for(var i=[],s=0;31>s;s++)i.push(t);return i}function as(t,i){t.pendingLanes|=i,i!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function IS(t,i,s,l,f,h){var b=t.pendingLanes;t.pendingLanes=s,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=s,t.entangledLanes&=s,t.errorRecoveryDisabledLanes&=s,t.shellSuspendCounter=0;var S=t.entanglements,R=t.expirationTimes,P=t.hiddenUpdates;for(s=b&~s;0"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var nE=/[\n"\\]/g;function On(t){return t.replace(nE,function(i){return"\\"+i.charCodeAt(0).toString(16)+" "})}function lc(t,i,s,l,f,h,b,S){t.name="",b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?t.type=b:t.removeAttribute("type"),i!=null?b==="number"?(i===0&&t.value===""||t.value!=i)&&(t.value=""+Mn(i)):t.value!==""+Mn(i)&&(t.value=""+Mn(i)):b!=="submit"&&b!=="reset"||t.removeAttribute("value"),i!=null?uc(t,b,Mn(i)):s!=null?uc(t,b,Mn(s)):l!=null&&t.removeAttribute("value"),f==null&&h!=null&&(t.defaultChecked=!!h),f!=null&&(t.checked=f&&typeof f!="function"&&typeof f!="symbol"),S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?t.name=""+Mn(S):t.removeAttribute("name")}function ep(t,i,s,l,f,h,b,S){if(h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"&&(t.type=h),i!=null||s!=null){if(!(h!=="submit"&&h!=="reset"||i!=null)){oc(t);return}s=s!=null?""+Mn(s):"",i=i!=null?""+Mn(i):s,S||i===t.value||(t.value=i),t.defaultValue=i}l=l??f,l=typeof l!="function"&&typeof l!="symbol"&&!!l,t.checked=S?t.checked:!!l,t.defaultChecked=!!l,b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"&&(t.name=b),oc(t)}function uc(t,i,s){i==="number"&&Fo(t.ownerDocument)===t||t.defaultValue===""+s||(t.defaultValue=""+s)}function na(t,i,s,l){if(t=t.options,i){i={};for(var f=0;f"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),mc=!1;if(vi)try{var us={};Object.defineProperty(us,"passive",{get:function(){mc=!0}}),window.addEventListener("test",us,us),window.removeEventListener("test",us,us)}catch{mc=!1}var Zi=null,pc=null,$o=null;function op(){if($o)return $o;var t,i=pc,s=i.length,l,f="value"in Zi?Zi.value:Zi.textContent,h=f.length;for(t=0;t=ds),hp=" ",mp=!1;function pp(t,i){switch(t){case"keyup":return jE.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function gp(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var sa=!1;function DE(t,i){switch(t){case"compositionend":return gp(i);case"keypress":return i.which!==32?null:(mp=!0,hp);case"textInput":return t=i.data,t===hp&&mp?null:t;default:return null}}function ME(t,i){if(sa)return t==="compositionend"||!xc&&pp(t,i)?(t=op(),$o=pc=Zi=null,sa=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1=i)return{node:s,offset:i-t};t=l}e:{for(;s;){if(s.nextSibling){s=s.nextSibling;break e}s=s.parentNode}s=void 0}s=_p(s)}}function Ap(t,i){return t&&i?t===i?!0:t&&t.nodeType===3?!1:i&&i.nodeType===3?Ap(t,i.parentNode):"contains"in t?t.contains(i):t.compareDocumentPosition?!!(t.compareDocumentPosition(i)&16):!1:!1}function Cp(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var i=Fo(t.document);i instanceof t.HTMLIFrameElement;){try{var s=typeof i.contentWindow.location.href=="string"}catch{s=!1}if(s)t=i.contentWindow;else break;i=Fo(t.document)}return i}function Ec(t){var i=t&&t.nodeName&&t.nodeName.toLowerCase();return i&&(i==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||i==="textarea"||t.contentEditable==="true")}var HE=vi&&"documentMode"in document&&11>=document.documentMode,oa=null,_c=null,gs=null,Tc=!1;function Rp(t,i,s){var l=s.window===s?s.document:s.nodeType===9?s:s.ownerDocument;Tc||oa==null||oa!==Fo(l)||(l=oa,"selectionStart"in l&&Ec(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),gs&&ps(gs,l)||(gs=l,l=Ul(_c,"onSelect"),0>=b,f-=b,ii=1<<32-tn(i)+f|s<Me?(He=ye,ye=null):He=ye.sibling;var Ye=H(L,ye,U[Me],W);if(Ye===null){ye===null&&(ye=He);break}t&&ye&&Ye.alternate===null&&i(L,ye),j=h(Ye,j,Me),Ge===null?Se=Ye:Ge.sibling=Ye,Ge=Ye,ye=He}if(Me===U.length)return s(L,ye),Ze&&xi(L,Me),Se;if(ye===null){for(;MeMe?(He=ye,ye=null):He=ye.sibling;var cr=H(L,ye,Ye.value,W);if(cr===null){ye===null&&(ye=He);break}t&&ye&&cr.alternate===null&&i(L,ye),j=h(cr,j,Me),Ge===null?Se=cr:Ge.sibling=cr,Ge=cr,ye=He}if(Ye.done)return s(L,ye),Ze&&xi(L,Me),Se;if(ye===null){for(;!Ye.done;Me++,Ye=U.next())Ye=ee(L,Ye.value,W),Ye!==null&&(j=h(Ye,j,Me),Ge===null?Se=Ye:Ge.sibling=Ye,Ge=Ye);return Ze&&xi(L,Me),Se}for(ye=l(ye);!Ye.done;Me++,Ye=U.next())Ye=$(ye,L,Me,Ye.value,W),Ye!==null&&(t&&Ye.alternate!==null&&ye.delete(Ye.key===null?Me:Ye.key),j=h(Ye,j,Me),Ge===null?Se=Ye:Ge.sibling=Ye,Ge=Ye);return t&&ye.forEach(function(o2){return i(L,o2)}),Ze&&xi(L,Me),Se}function et(L,j,U,W){if(typeof U=="object"&&U!==null&&U.type===A&&U.key===null&&(U=U.props.children),typeof U=="object"&&U!==null){switch(U.$$typeof){case E:e:{for(var Se=U.key;j!==null;){if(j.key===Se){if(Se=U.type,Se===A){if(j.tag===7){s(L,j.sibling),W=f(j,U.props.children),W.return=L,L=W;break e}}else if(j.elementType===Se||typeof Se=="object"&&Se!==null&&Se.$$typeof===Y&&zr(Se)===j.type){s(L,j.sibling),W=f(j,U.props),Ss(W,U),W.return=L,L=W;break e}s(L,j);break}else i(L,j);j=j.sibling}U.type===A?(W=Ar(U.props.children,L.mode,W,U.key),W.return=L,L=W):(W=tl(U.type,U.key,U.props,null,L.mode,W),Ss(W,U),W.return=L,L=W)}return b(L);case T:e:{for(Se=U.key;j!==null;){if(j.key===Se)if(j.tag===4&&j.stateNode.containerInfo===U.containerInfo&&j.stateNode.implementation===U.implementation){s(L,j.sibling),W=f(j,U.children||[]),W.return=L,L=W;break e}else{s(L,j);break}else i(L,j);j=j.sibling}W=Dc(U,L.mode,W),W.return=L,L=W}return b(L);case Y:return U=zr(U),et(L,j,U,W)}if(Ne(U))return fe(L,j,U,W);if(ce(U)){if(Se=ce(U),typeof Se!="function")throw Error(a(150));return U=Se.call(U),_e(L,j,U,W)}if(typeof U.then=="function")return et(L,j,ll(U),W);if(U.$$typeof===D)return et(L,j,rl(L,U),W);ul(L,U)}return typeof U=="string"&&U!==""||typeof U=="number"||typeof U=="bigint"?(U=""+U,j!==null&&j.tag===6?(s(L,j.sibling),W=f(j,U),W.return=L,L=W):(s(L,j),W=zc(U,L.mode,W),W.return=L,L=W),b(L)):s(L,j)}return function(L,j,U,W){try{ws=0;var Se=et(L,j,U,W);return va=null,Se}catch(ye){if(ye===ya||ye===sl)throw ye;var Ge=Sn(29,ye,null,L.mode);return Ge.lanes=W,Ge.return=L,Ge}}}var Mr=Qp(!0),Jp=Qp(!1),Yi=!1;function qc(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function $c(t,i){t=t.updateQueue,i.updateQueue===t&&(i.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function Xi(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function Ki(t,i,s){var l=t.updateQueue;if(l===null)return null;if(l=l.shared,(Xe&2)!==0){var f=l.pending;return f===null?i.next=i:(i.next=f.next,f.next=i),l.pending=i,i=el(t),kp(t,null,s),i}return Wo(t,l,i,s),el(t)}function Es(t,i,s){if(i=i.updateQueue,i!==null&&(i=i.shared,(s&4194048)!==0)){var l=i.lanes;l&=t.pendingLanes,s|=l,i.lanes=s,Fm(t,s)}}function Gc(t,i){var s=t.updateQueue,l=t.alternate;if(l!==null&&(l=l.updateQueue,s===l)){var f=null,h=null;if(s=s.firstBaseUpdate,s!==null){do{var b={lane:s.lane,tag:s.tag,payload:s.payload,callback:null,next:null};h===null?f=h=b:h=h.next=b,s=s.next}while(s!==null);h===null?f=h=i:h=h.next=i}else f=h=i;s={baseState:l.baseState,firstBaseUpdate:f,lastBaseUpdate:h,shared:l.shared,callbacks:l.callbacks},t.updateQueue=s;return}t=s.lastBaseUpdate,t===null?s.firstBaseUpdate=i:t.next=i,s.lastBaseUpdate=i}var Yc=!1;function _s(){if(Yc){var t=ga;if(t!==null)throw t}}function Ts(t,i,s,l){Yc=!1;var f=t.updateQueue;Yi=!1;var h=f.firstBaseUpdate,b=f.lastBaseUpdate,S=f.shared.pending;if(S!==null){f.shared.pending=null;var R=S,P=R.next;R.next=null,b===null?h=P:b.next=P,b=R;var I=t.alternate;I!==null&&(I=I.updateQueue,S=I.lastBaseUpdate,S!==b&&(S===null?I.firstBaseUpdate=P:S.next=P,I.lastBaseUpdate=R))}if(h!==null){var ee=f.baseState;b=0,I=P=R=null,S=h;do{var H=S.lane&-536870913,$=H!==S.lane;if($?(Pe&H)===H:(l&H)===H){H!==0&&H===pa&&(Yc=!0),I!==null&&(I=I.next={lane:0,tag:S.tag,payload:S.payload,callback:null,next:null});e:{var fe=t,_e=S;H=i;var et=s;switch(_e.tag){case 1:if(fe=_e.payload,typeof fe=="function"){ee=fe.call(et,ee,H);break e}ee=fe;break e;case 3:fe.flags=fe.flags&-65537|128;case 0:if(fe=_e.payload,H=typeof fe=="function"?fe.call(et,ee,H):fe,H==null)break e;ee=y({},ee,H);break e;case 2:Yi=!0}}H=S.callback,H!==null&&(t.flags|=64,$&&(t.flags|=8192),$=f.callbacks,$===null?f.callbacks=[H]:$.push(H))}else $={lane:H,tag:S.tag,payload:S.payload,callback:S.callback,next:null},I===null?(P=I=$,R=ee):I=I.next=$,b|=H;if(S=S.next,S===null){if(S=f.shared.pending,S===null)break;$=S,S=$.next,$.next=null,f.lastBaseUpdate=$,f.shared.pending=null}}while(!0);I===null&&(R=ee),f.baseState=R,f.firstBaseUpdate=P,f.lastBaseUpdate=I,h===null&&(f.shared.lanes=0),er|=b,t.lanes=b,t.memoizedState=ee}}function Wp(t,i){if(typeof t!="function")throw Error(a(191,t));t.call(i)}function eg(t,i){var s=t.callbacks;if(s!==null)for(t.callbacks=null,t=0;th?h:8;var b=V.T,S={};V.T=S,hf(t,!1,i,s);try{var R=f(),P=V.S;if(P!==null&&P(S,R),R!==null&&typeof R=="object"&&typeof R.then=="function"){var I=IE(R,l);Rs(t,i,I,Cn(t))}else Rs(t,i,l,Cn(t))}catch(ee){Rs(t,i,{then:function(){},status:"rejected",reason:ee},Cn())}finally{J.p=h,b!==null&&S.types!==null&&(b.types=S.types),V.T=b}}function n_(){}function ff(t,i,s,l){if(t.tag!==5)throw Error(a(476));var f=Dg(t).queue;zg(t,f,i,K,s===null?n_:function(){return Mg(t),s(l)})}function Dg(t){var i=t.memoizedState;if(i!==null)return i;i={memoizedState:K,baseState:K,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:_i,lastRenderedState:K},next:null};var s={};return i.next={memoizedState:s,baseState:s,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:_i,lastRenderedState:s},next:null},t.memoizedState=i,t=t.alternate,t!==null&&(t.memoizedState=i),i}function Mg(t){var i=Dg(t);i.next===null&&(i=t.alternate.memoizedState),Rs(t,i.next.queue,{},Cn())}function df(){return $t($s)}function Og(){return xt().memoizedState}function kg(){return xt().memoizedState}function i_(t){for(var i=t.return;i!==null;){switch(i.tag){case 24:case 3:var s=Cn();t=Xi(s);var l=Ki(i,t,s);l!==null&&(gn(l,i,s),Es(l,i,s)),i={cache:Pc()},t.payload=i;return}i=i.return}}function r_(t,i,s){var l=Cn();s={lane:l,revertLane:0,gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null},bl(t)?Vg(i,s):(s=Nc(t,i,s,l),s!==null&&(gn(s,t,l),Ug(s,i,l)))}function Lg(t,i,s){var l=Cn();Rs(t,i,s,l)}function Rs(t,i,s,l){var f={lane:l,revertLane:0,gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null};if(bl(t))Vg(i,f);else{var h=t.alternate;if(t.lanes===0&&(h===null||h.lanes===0)&&(h=i.lastRenderedReducer,h!==null))try{var b=i.lastRenderedState,S=h(b,s);if(f.hasEagerState=!0,f.eagerState=S,wn(S,b))return Wo(t,i,f,0),tt===null&&Jo(),!1}catch{}if(s=Nc(t,i,f,l),s!==null)return gn(s,t,l),Ug(s,i,l),!0}return!1}function hf(t,i,s,l){if(l={lane:2,revertLane:$f(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},bl(t)){if(i)throw Error(a(479))}else i=Nc(t,s,l,2),i!==null&&gn(i,t,2)}function bl(t){var i=t.alternate;return t===De||i!==null&&i===De}function Vg(t,i){xa=dl=!0;var s=t.pending;s===null?i.next=i:(i.next=s.next,s.next=i),t.pending=i}function Ug(t,i,s){if((s&4194048)!==0){var l=i.lanes;l&=t.pendingLanes,s|=l,i.lanes=s,Fm(t,s)}}var Ns={readContext:$t,use:pl,useCallback:mt,useContext:mt,useEffect:mt,useImperativeHandle:mt,useLayoutEffect:mt,useInsertionEffect:mt,useMemo:mt,useReducer:mt,useRef:mt,useState:mt,useDebugValue:mt,useDeferredValue:mt,useTransition:mt,useSyncExternalStore:mt,useId:mt,useHostTransitionStatus:mt,useFormState:mt,useActionState:mt,useOptimistic:mt,useMemoCache:mt,useCacheRefresh:mt};Ns.useEffectEvent=mt;var Bg={readContext:$t,use:pl,useCallback:function(t,i){return nn().memoizedState=[t,i===void 0?null:i],t},useContext:$t,useEffect:Sg,useImperativeHandle:function(t,i,s){s=s!=null?s.concat([t]):null,yl(4194308,4,Ag.bind(null,i,t),s)},useLayoutEffect:function(t,i){return yl(4194308,4,t,i)},useInsertionEffect:function(t,i){yl(4,2,t,i)},useMemo:function(t,i){var s=nn();i=i===void 0?null:i;var l=t();if(Or){Dn(!0);try{t()}finally{Dn(!1)}}return s.memoizedState=[l,i],l},useReducer:function(t,i,s){var l=nn();if(s!==void 0){var f=s(i);if(Or){Dn(!0);try{s(i)}finally{Dn(!1)}}}else f=i;return l.memoizedState=l.baseState=f,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:f},l.queue=t,t=t.dispatch=r_.bind(null,De,t),[l.memoizedState,t]},useRef:function(t){var i=nn();return t={current:t},i.memoizedState=t},useState:function(t){t=sf(t);var i=t.queue,s=Lg.bind(null,De,i);return i.dispatch=s,[t.memoizedState,s]},useDebugValue:uf,useDeferredValue:function(t,i){var s=nn();return cf(s,t,i)},useTransition:function(){var t=sf(!1);return t=zg.bind(null,De,t.queue,!0,!1),nn().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,i,s){var l=De,f=nn();if(Ze){if(s===void 0)throw Error(a(407));s=s()}else{if(s=i(),tt===null)throw Error(a(349));(Pe&127)!==0||sg(l,i,s)}f.memoizedState=s;var h={value:s,getSnapshot:i};return f.queue=h,Sg(lg.bind(null,l,h,t),[t]),l.flags|=2048,Sa(9,{destroy:void 0},og.bind(null,l,h,s,i),null),s},useId:function(){var t=nn(),i=tt.identifierPrefix;if(Ze){var s=ri,l=ii;s=(l&~(1<<32-tn(l)-1)).toString(32)+s,i="_"+i+"R_"+s,s=hl++,0<\/script>",h=h.removeChild(h.firstChild);break;case"select":h=typeof l.is=="string"?b.createElement("select",{is:l.is}):b.createElement("select"),l.multiple?h.multiple=!0:l.size&&(h.size=l.size);break;default:h=typeof l.is=="string"?b.createElement(f,{is:l.is}):b.createElement(f)}}h[Ft]=i,h[cn]=l;e:for(b=i.child;b!==null;){if(b.tag===5||b.tag===6)h.appendChild(b.stateNode);else if(b.tag!==4&&b.tag!==27&&b.child!==null){b.child.return=b,b=b.child;continue}if(b===i)break e;for(;b.sibling===null;){if(b.return===null||b.return===i)break e;b=b.return}b.sibling.return=b.return,b=b.sibling}i.stateNode=h;e:switch(Yt(h,f,l),f){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break e;case"img":l=!0;break e;default:l=!1}l&&Ai(i)}}return rt(i),Cf(i,i.type,t===null?null:t.memoizedProps,i.pendingProps,s),null;case 6:if(t&&i.stateNode!=null)t.memoizedProps!==l&&Ai(i);else{if(typeof l!="string"&&i.stateNode===null)throw Error(a(166));if(t=ue.current,ha(i)){if(t=i.stateNode,s=i.memoizedProps,l=null,f=qt,f!==null)switch(f.tag){case 27:case 5:l=f.memoizedProps}t[Ft]=i,t=!!(t.nodeValue===s||l!==null&&l.suppressHydrationWarning===!0||r0(t.nodeValue,s)),t||$i(i,!0)}else t=Bl(t).createTextNode(l),t[Ft]=i,i.stateNode=t}return rt(i),null;case 31:if(s=i.memoizedState,t===null||t.memoizedState!==null){if(l=ha(i),s!==null){if(t===null){if(!l)throw Error(a(318));if(t=i.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(a(557));t[Ft]=i}else Cr(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;rt(i),t=!1}else s=Lc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=s),t=!0;if(!t)return i.flags&256?(_n(i),i):(_n(i),null);if((i.flags&128)!==0)throw Error(a(558))}return rt(i),null;case 13:if(l=i.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(f=ha(i),l!==null&&l.dehydrated!==null){if(t===null){if(!f)throw Error(a(318));if(f=i.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error(a(317));f[Ft]=i}else Cr(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;rt(i),f=!1}else f=Lc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=f),f=!0;if(!f)return i.flags&256?(_n(i),i):(_n(i),null)}return _n(i),(i.flags&128)!==0?(i.lanes=s,i):(s=l!==null,t=t!==null&&t.memoizedState!==null,s&&(l=i.child,f=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(f=l.alternate.memoizedState.cachePool.pool),h=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(h=l.memoizedState.cachePool.pool),h!==f&&(l.flags|=2048)),s!==t&&s&&(i.child.flags|=8192),_l(i,i.updateQueue),rt(i),null);case 4:return we(),t===null&&Kf(i.stateNode.containerInfo),rt(i),null;case 10:return Si(i.type),rt(i),null;case 19:if(k(bt),l=i.memoizedState,l===null)return rt(i),null;if(f=(i.flags&128)!==0,h=l.rendering,h===null)if(f)zs(l,!1);else{if(pt!==0||t!==null&&(t.flags&128)!==0)for(t=i.child;t!==null;){if(h=fl(t),h!==null){for(i.flags|=128,zs(l,!1),t=h.updateQueue,i.updateQueue=t,_l(i,t),i.subtreeFlags=0,t=s,s=i.child;s!==null;)Lp(s,t),s=s.sibling;return q(bt,bt.current&1|2),Ze&&xi(i,l.treeForkCount),i.child}t=t.sibling}l.tail!==null&&oe()>Nl&&(i.flags|=128,f=!0,zs(l,!1),i.lanes=4194304)}else{if(!f)if(t=fl(h),t!==null){if(i.flags|=128,f=!0,t=t.updateQueue,i.updateQueue=t,_l(i,t),zs(l,!0),l.tail===null&&l.tailMode==="hidden"&&!h.alternate&&!Ze)return rt(i),null}else 2*oe()-l.renderingStartTime>Nl&&s!==536870912&&(i.flags|=128,f=!0,zs(l,!1),i.lanes=4194304);l.isBackwards?(h.sibling=i.child,i.child=h):(t=l.last,t!==null?t.sibling=h:i.child=h,l.last=h)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=oe(),t.sibling=null,s=bt.current,q(bt,f?s&1|2:s&1),Ze&&xi(i,l.treeForkCount),t):(rt(i),null);case 22:case 23:return _n(i),Kc(),l=i.memoizedState!==null,t!==null?t.memoizedState!==null!==l&&(i.flags|=8192):l&&(i.flags|=8192),l?(s&536870912)!==0&&(i.flags&128)===0&&(rt(i),i.subtreeFlags&6&&(i.flags|=8192)):rt(i),s=i.updateQueue,s!==null&&_l(i,s.retryQueue),s=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(s=t.memoizedState.cachePool.pool),l=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(l=i.memoizedState.cachePool.pool),l!==s&&(i.flags|=2048),t!==null&&k(jr),null;case 24:return s=null,t!==null&&(s=t.memoizedState.cache),i.memoizedState.cache!==s&&(i.flags|=2048),Si(St),rt(i),null;case 25:return null;case 30:return null}throw Error(a(156,i.tag))}function u_(t,i){switch(Oc(i),i.tag){case 1:return t=i.flags,t&65536?(i.flags=t&-65537|128,i):null;case 3:return Si(St),we(),t=i.flags,(t&65536)!==0&&(t&128)===0?(i.flags=t&-65537|128,i):null;case 26:case 27:case 5:return ke(i),null;case 31:if(i.memoizedState!==null){if(_n(i),i.alternate===null)throw Error(a(340));Cr()}return t=i.flags,t&65536?(i.flags=t&-65537|128,i):null;case 13:if(_n(i),t=i.memoizedState,t!==null&&t.dehydrated!==null){if(i.alternate===null)throw Error(a(340));Cr()}return t=i.flags,t&65536?(i.flags=t&-65537|128,i):null;case 19:return k(bt),null;case 4:return we(),null;case 10:return Si(i.type),null;case 22:case 23:return _n(i),Kc(),t!==null&&k(jr),t=i.flags,t&65536?(i.flags=t&-65537|128,i):null;case 24:return Si(St),null;case 25:return null;default:return null}}function uy(t,i){switch(Oc(i),i.tag){case 3:Si(St),we();break;case 26:case 27:case 5:ke(i);break;case 4:we();break;case 31:i.memoizedState!==null&&_n(i);break;case 13:_n(i);break;case 19:k(bt);break;case 10:Si(i.type);break;case 22:case 23:_n(i),Kc(),t!==null&&k(jr);break;case 24:Si(St)}}function Ds(t,i){try{var s=i.updateQueue,l=s!==null?s.lastEffect:null;if(l!==null){var f=l.next;s=f;do{if((s.tag&t)===t){l=void 0;var h=s.create,b=s.inst;l=h(),b.destroy=l}s=s.next}while(s!==f)}}catch(S){Ie(i,i.return,S)}}function Ji(t,i,s){try{var l=i.updateQueue,f=l!==null?l.lastEffect:null;if(f!==null){var h=f.next;l=h;do{if((l.tag&t)===t){var b=l.inst,S=b.destroy;if(S!==void 0){b.destroy=void 0,f=i;var R=s,P=S;try{P()}catch(I){Ie(f,R,I)}}}l=l.next}while(l!==h)}}catch(I){Ie(i,i.return,I)}}function cy(t){var i=t.updateQueue;if(i!==null){var s=t.stateNode;try{eg(i,s)}catch(l){Ie(t,t.return,l)}}}function fy(t,i,s){s.props=kr(t.type,t.memoizedProps),s.state=t.memoizedState;try{s.componentWillUnmount()}catch(l){Ie(t,i,l)}}function Ms(t,i){try{var s=t.ref;if(s!==null){switch(t.tag){case 26:case 27:case 5:var l=t.stateNode;break;case 30:l=t.stateNode;break;default:l=t.stateNode}typeof s=="function"?t.refCleanup=s(l):s.current=l}}catch(f){Ie(t,i,f)}}function ai(t,i){var s=t.ref,l=t.refCleanup;if(s!==null)if(typeof l=="function")try{l()}catch(f){Ie(t,i,f)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof s=="function")try{s(null)}catch(f){Ie(t,i,f)}else s.current=null}function dy(t){var i=t.type,s=t.memoizedProps,l=t.stateNode;try{e:switch(i){case"button":case"input":case"select":case"textarea":s.autoFocus&&l.focus();break e;case"img":s.src?l.src=s.src:s.srcSet&&(l.srcset=s.srcSet)}}catch(f){Ie(t,t.return,f)}}function Rf(t,i,s){try{var l=t.stateNode;z_(l,t.type,s,i),l[cn]=i}catch(f){Ie(t,t.return,f)}}function hy(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&ar(t.type)||t.tag===4}function Nf(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||hy(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&ar(t.type)||t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function jf(t,i,s){var l=t.tag;if(l===5||l===6)t=t.stateNode,i?(s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s).insertBefore(t,i):(i=s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s,i.appendChild(t),s=s._reactRootContainer,s!=null||i.onclick!==null||(i.onclick=yi));else if(l!==4&&(l===27&&ar(t.type)&&(s=t.stateNode,i=null),t=t.child,t!==null))for(jf(t,i,s),t=t.sibling;t!==null;)jf(t,i,s),t=t.sibling}function Tl(t,i,s){var l=t.tag;if(l===5||l===6)t=t.stateNode,i?s.insertBefore(t,i):s.appendChild(t);else if(l!==4&&(l===27&&ar(t.type)&&(s=t.stateNode),t=t.child,t!==null))for(Tl(t,i,s),t=t.sibling;t!==null;)Tl(t,i,s),t=t.sibling}function my(t){var i=t.stateNode,s=t.memoizedProps;try{for(var l=t.type,f=i.attributes;f.length;)i.removeAttributeNode(f[0]);Yt(i,l,s),i[Ft]=t,i[cn]=s}catch(h){Ie(t,t.return,h)}}var Ci=!1,Tt=!1,zf=!1,py=typeof WeakSet=="function"?WeakSet:Set,Bt=null;function c_(t,i){if(t=t.containerInfo,Jf=Gl,t=Cp(t),Ec(t)){if("selectionStart"in t)var s={start:t.selectionStart,end:t.selectionEnd};else e:{s=(s=t.ownerDocument)&&s.defaultView||window;var l=s.getSelection&&s.getSelection();if(l&&l.rangeCount!==0){s=l.anchorNode;var f=l.anchorOffset,h=l.focusNode;l=l.focusOffset;try{s.nodeType,h.nodeType}catch{s=null;break e}var b=0,S=-1,R=-1,P=0,I=0,ee=t,H=null;t:for(;;){for(var $;ee!==s||f!==0&&ee.nodeType!==3||(S=b+f),ee!==h||l!==0&&ee.nodeType!==3||(R=b+l),ee.nodeType===3&&(b+=ee.nodeValue.length),($=ee.firstChild)!==null;)H=ee,ee=$;for(;;){if(ee===t)break t;if(H===s&&++P===f&&(S=b),H===h&&++I===l&&(R=b),($=ee.nextSibling)!==null)break;ee=H,H=ee.parentNode}ee=$}s=S===-1||R===-1?null:{start:S,end:R}}else s=null}s=s||{start:0,end:0}}else s=null;for(Wf={focusedElem:t,selectionRange:s},Gl=!1,Bt=i;Bt!==null;)if(i=Bt,t=i.child,(i.subtreeFlags&1028)!==0&&t!==null)t.return=i,Bt=t;else for(;Bt!==null;){switch(i=Bt,h=i.alternate,t=i.flags,i.tag){case 0:if((t&4)!==0&&(t=i.updateQueue,t=t!==null?t.events:null,t!==null))for(s=0;s title"))),Yt(h,l,s),h[Ft]=t,Ut(h),l=h;break e;case"link":var b=w0("link","href",f).get(l+(s.href||""));if(b){for(var S=0;Set&&(b=et,et=_e,_e=b);var L=Tp(S,_e),j=Tp(S,et);if(L&&j&&($.rangeCount!==1||$.anchorNode!==L.node||$.anchorOffset!==L.offset||$.focusNode!==j.node||$.focusOffset!==j.offset)){var U=ee.createRange();U.setStart(L.node,L.offset),$.removeAllRanges(),_e>et?($.addRange(U),$.extend(j.node,j.offset)):(U.setEnd(j.node,j.offset),$.addRange(U))}}}}for(ee=[],$=S;$=$.parentNode;)$.nodeType===1&&ee.push({element:$,left:$.scrollLeft,top:$.scrollTop});for(typeof S.focus=="function"&&S.focus(),S=0;Ss?32:s,V.T=null,s=Uf,Uf=null;var h=nr,b=Di;if(zt=0,Ca=nr=null,Di=0,(Xe&6)!==0)throw Error(a(331));var S=Xe;if(Xe|=4,Ay(h.current),Ey(h,h.current,b,s),Xe=S,Bs(0,!1),Zt&&typeof Zt.onPostCommitFiberRoot=="function")try{Zt.onPostCommitFiberRoot(pi,h)}catch{}return!0}finally{J.p=f,V.T=l,qy(t,i)}}function Gy(t,i,s){i=Ln(s,i),i=yf(t.stateNode,i,2),t=Ki(t,i,2),t!==null&&(as(t,2),si(t))}function Ie(t,i,s){if(t.tag===3)Gy(t,t,s);else for(;i!==null;){if(i.tag===3){Gy(i,t,s);break}else if(i.tag===1){var l=i.stateNode;if(typeof i.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(tr===null||!tr.has(l))){t=Ln(s,t),s=Yg(2),l=Ki(i,s,2),l!==null&&(Xg(s,l,i,t),as(l,2),si(l));break}}i=i.return}}function Zf(t,i,s){var l=t.pingCache;if(l===null){l=t.pingCache=new h_;var f=new Set;l.set(i,f)}else f=l.get(i),f===void 0&&(f=new Set,l.set(i,f));f.has(s)||(Of=!0,f.add(s),t=v_.bind(null,t,i,s),i.then(t,t))}function v_(t,i,s){var l=t.pingCache;l!==null&&l.delete(i),t.pingedLanes|=t.suspendedLanes&s,t.warmLanes&=~s,tt===t&&(Pe&s)===s&&(pt===4||pt===3&&(Pe&62914560)===Pe&&300>oe()-Rl?(Xe&2)===0&&Ra(t,0):kf|=s,Aa===Pe&&(Aa=0)),si(t)}function Yy(t,i){i===0&&(i=Hm()),t=Tr(t,i),t!==null&&(as(t,i),si(t))}function b_(t){var i=t.memoizedState,s=0;i!==null&&(s=i.retryLane),Yy(t,s)}function x_(t,i){var s=0;switch(t.tag){case 31:case 13:var l=t.stateNode,f=t.memoizedState;f!==null&&(s=f.retryLane);break;case 19:l=t.stateNode;break;case 22:l=t.stateNode._retryCache;break;default:throw Error(a(314))}l!==null&&l.delete(i),Yy(t,s)}function w_(t,i){return Ht(t,i)}var kl=null,ja=null,Ff=!1,Ll=!1,qf=!1,rr=0;function si(t){t!==ja&&t.next===null&&(ja===null?kl=ja=t:ja=ja.next=t),Ll=!0,Ff||(Ff=!0,E_())}function Bs(t,i){if(!qf&&Ll){qf=!0;do for(var s=!1,l=kl;l!==null;){if(t!==0){var f=l.pendingLanes;if(f===0)var h=0;else{var b=l.suspendedLanes,S=l.pingedLanes;h=(1<<31-tn(42|t)+1)-1,h&=f&~(b&~S),h=h&201326741?h&201326741|1:h?h|2:0}h!==0&&(s=!0,Qy(l,h))}else h=Pe,h=Po(l,l===tt?h:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(h&3)===0||rs(l,h)||(s=!0,Qy(l,h));l=l.next}while(s);qf=!1}}function S_(){Xy()}function Xy(){Ll=Ff=!1;var t=0;rr!==0&&M_()&&(t=rr);for(var i=oe(),s=null,l=kl;l!==null;){var f=l.next,h=Ky(l,i);h===0?(l.next=null,s===null?kl=f:s.next=f,f===null&&(ja=s)):(s=l,(t!==0||(h&3)!==0)&&(Ll=!0)),l=f}zt!==0&&zt!==5||Bs(t),rr!==0&&(rr=0)}function Ky(t,i){for(var s=t.suspendedLanes,l=t.pingedLanes,f=t.expirationTimes,h=t.pendingLanes&-62914561;0S)break;var I=R.transferSize,ee=R.initiatorType;I&&a0(ee)&&(R=R.responseEnd,b+=I*(R"u"?null:document;function y0(t,i,s){var l=za;if(l&&typeof i=="string"&&i){var f=On(i);f='link[rel="'+t+'"][href="'+f+'"]',typeof s=="string"&&(f+='[crossorigin="'+s+'"]'),g0.has(f)||(g0.add(f),t={rel:t,crossOrigin:s,href:i},l.querySelector(f)===null&&(i=l.createElement("link"),Yt(i,"link",t),Ut(i),l.head.appendChild(i)))}}function Z_(t){Mi.D(t),y0("dns-prefetch",t,null)}function F_(t,i){Mi.C(t,i),y0("preconnect",t,i)}function q_(t,i,s){Mi.L(t,i,s);var l=za;if(l&&t&&i){var f='link[rel="preload"][as="'+On(i)+'"]';i==="image"&&s&&s.imageSrcSet?(f+='[imagesrcset="'+On(s.imageSrcSet)+'"]',typeof s.imageSizes=="string"&&(f+='[imagesizes="'+On(s.imageSizes)+'"]')):f+='[href="'+On(t)+'"]';var h=f;switch(i){case"style":h=Da(t);break;case"script":h=Ma(t)}Zn.has(h)||(t=y({rel:"preload",href:i==="image"&&s&&s.imageSrcSet?void 0:t,as:i},s),Zn.set(h,t),l.querySelector(f)!==null||i==="style"&&l.querySelector(Fs(h))||i==="script"&&l.querySelector(qs(h))||(i=l.createElement("link"),Yt(i,"link",t),Ut(i),l.head.appendChild(i)))}}function $_(t,i){Mi.m(t,i);var s=za;if(s&&t){var l=i&&typeof i.as=="string"?i.as:"script",f='link[rel="modulepreload"][as="'+On(l)+'"][href="'+On(t)+'"]',h=f;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":h=Ma(t)}if(!Zn.has(h)&&(t=y({rel:"modulepreload",href:t},i),Zn.set(h,t),s.querySelector(f)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(s.querySelector(qs(h)))return}l=s.createElement("link"),Yt(l,"link",t),Ut(l),s.head.appendChild(l)}}}function G_(t,i,s){Mi.S(t,i,s);var l=za;if(l&&t){var f=ea(l).hoistableStyles,h=Da(t);i=i||"default";var b=f.get(h);if(!b){var S={loading:0,preload:null};if(b=l.querySelector(Fs(h)))S.loading=5;else{t=y({rel:"stylesheet",href:t,"data-precedence":i},s),(s=Zn.get(h))&&sd(t,s);var R=b=l.createElement("link");Ut(R),Yt(R,"link",t),R._p=new Promise(function(P,I){R.onload=P,R.onerror=I}),R.addEventListener("load",function(){S.loading|=1}),R.addEventListener("error",function(){S.loading|=2}),S.loading|=4,Hl(b,i,l)}b={type:"stylesheet",instance:b,count:1,state:S},f.set(h,b)}}}function Y_(t,i){Mi.X(t,i);var s=za;if(s&&t){var l=ea(s).hoistableScripts,f=Ma(t),h=l.get(f);h||(h=s.querySelector(qs(f)),h||(t=y({src:t,async:!0},i),(i=Zn.get(f))&&od(t,i),h=s.createElement("script"),Ut(h),Yt(h,"link",t),s.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},l.set(f,h))}}function X_(t,i){Mi.M(t,i);var s=za;if(s&&t){var l=ea(s).hoistableScripts,f=Ma(t),h=l.get(f);h||(h=s.querySelector(qs(f)),h||(t=y({src:t,async:!0,type:"module"},i),(i=Zn.get(f))&&od(t,i),h=s.createElement("script"),Ut(h),Yt(h,"link",t),s.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},l.set(f,h))}}function v0(t,i,s,l){var f=(f=ue.current)?Pl(f):null;if(!f)throw Error(a(446));switch(t){case"meta":case"title":return null;case"style":return typeof s.precedence=="string"&&typeof s.href=="string"?(i=Da(s.href),s=ea(f).hoistableStyles,l=s.get(i),l||(l={type:"style",instance:null,count:0,state:null},s.set(i,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(s.rel==="stylesheet"&&typeof s.href=="string"&&typeof s.precedence=="string"){t=Da(s.href);var h=ea(f).hoistableStyles,b=h.get(t);if(b||(f=f.ownerDocument||f,b={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},h.set(t,b),(h=f.querySelector(Fs(t)))&&!h._p&&(b.instance=h,b.state.loading=5),Zn.has(t)||(s={rel:"preload",as:"style",href:s.href,crossOrigin:s.crossOrigin,integrity:s.integrity,media:s.media,hrefLang:s.hrefLang,referrerPolicy:s.referrerPolicy},Zn.set(t,s),h||K_(f,t,s,b.state))),i&&l===null)throw Error(a(528,""));return b}if(i&&l!==null)throw Error(a(529,""));return null;case"script":return i=s.async,s=s.src,typeof s=="string"&&i&&typeof i!="function"&&typeof i!="symbol"?(i=Ma(s),s=ea(f).hoistableScripts,l=s.get(i),l||(l={type:"script",instance:null,count:0,state:null},s.set(i,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(a(444,t))}}function Da(t){return'href="'+On(t)+'"'}function Fs(t){return'link[rel="stylesheet"]['+t+"]"}function b0(t){return y({},t,{"data-precedence":t.precedence,precedence:null})}function K_(t,i,s,l){t.querySelector('link[rel="preload"][as="style"]['+i+"]")?l.loading=1:(i=t.createElement("link"),l.preload=i,i.addEventListener("load",function(){return l.loading|=1}),i.addEventListener("error",function(){return l.loading|=2}),Yt(i,"link",s),Ut(i),t.head.appendChild(i))}function Ma(t){return'[src="'+On(t)+'"]'}function qs(t){return"script[async]"+t}function x0(t,i,s){if(i.count++,i.instance===null)switch(i.type){case"style":var l=t.querySelector('style[data-href~="'+On(s.href)+'"]');if(l)return i.instance=l,Ut(l),l;var f=y({},s,{"data-href":s.href,"data-precedence":s.precedence,href:null,precedence:null});return l=(t.ownerDocument||t).createElement("style"),Ut(l),Yt(l,"style",f),Hl(l,s.precedence,t),i.instance=l;case"stylesheet":f=Da(s.href);var h=t.querySelector(Fs(f));if(h)return i.state.loading|=4,i.instance=h,Ut(h),h;l=b0(s),(f=Zn.get(f))&&sd(l,f),h=(t.ownerDocument||t).createElement("link"),Ut(h);var b=h;return b._p=new Promise(function(S,R){b.onload=S,b.onerror=R}),Yt(h,"link",l),i.state.loading|=4,Hl(h,s.precedence,t),i.instance=h;case"script":return h=Ma(s.src),(f=t.querySelector(qs(h)))?(i.instance=f,Ut(f),f):(l=s,(f=Zn.get(h))&&(l=y({},s),od(l,f)),t=t.ownerDocument||t,f=t.createElement("script"),Ut(f),Yt(f,"link",l),t.head.appendChild(f),i.instance=f);case"void":return null;default:throw Error(a(443,i.type))}else i.type==="stylesheet"&&(i.state.loading&4)===0&&(l=i.instance,i.state.loading|=4,Hl(l,s.precedence,t));return i.instance}function Hl(t,i,s){for(var l=s.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),f=l.length?l[l.length-1]:null,h=f,b=0;b title"):null)}function I_(t,i,s){if(s===1||i.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof i.precedence!="string"||typeof i.href!="string"||i.href==="")break;return!0;case"link":if(typeof i.rel!="string"||typeof i.href!="string"||i.href===""||i.onLoad||i.onError)break;return i.rel==="stylesheet"?(t=i.disabled,typeof i.precedence=="string"&&t==null):!0;case"script":if(i.async&&typeof i.async!="function"&&typeof i.async!="symbol"&&!i.onLoad&&!i.onError&&i.src&&typeof i.src=="string")return!0}return!1}function E0(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function Q_(t,i,s,l){if(s.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(s.state.loading&4)===0){if(s.instance===null){var f=Da(l.href),h=i.querySelector(Fs(f));if(h){i=h._p,i!==null&&typeof i=="object"&&typeof i.then=="function"&&(t.count++,t=Fl.bind(t),i.then(t,t)),s.state.loading|=4,s.instance=h,Ut(h);return}h=i.ownerDocument||i,l=b0(l),(f=Zn.get(f))&&sd(l,f),h=h.createElement("link"),Ut(h);var b=h;b._p=new Promise(function(S,R){b.onload=S,b.onerror=R}),Yt(h,"link",l),s.instance=h}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(s,i),(i=s.state.preload)&&(s.state.loading&3)===0&&(t.count++,s=Fl.bind(t),i.addEventListener("load",s),i.addEventListener("error",s))}}var ld=0;function J_(t,i){return t.stylesheets&&t.count===0&&$l(t,t.stylesheets),0ld?50:800)+i);return t.unsuspend=s,function(){t.unsuspend=null,clearTimeout(l),clearTimeout(f)}}:null}function Fl(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)$l(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var ql=null;function $l(t,i){t.stylesheets=null,t.unsuspend!==null&&(t.count++,ql=new Map,i.forEach(W_,t),ql=null,Fl.call(t))}function W_(t,i){if(!(i.state.loading&4)){var s=ql.get(t);if(s)var l=s.get(null);else{s=new Map,ql.set(t,s);for(var f=t.querySelectorAll("link[data-precedence],style[data-precedence]"),h=0;h"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(n){console.error(n)}}return e(),yd.exports=p2(),yd.exports}var y2=g2();var Y0="popstate";function v2(e={}){function n(a,o){let{pathname:u,search:c,hash:d}=a.location;return Jd("",{pathname:u,search:c,hash:d},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function r(a,o){return typeof o=="string"?o:po(o)}return x2(n,r,null,e)}function ot(e,n){if(e===!1||e===null||typeof e>"u")throw new Error(n)}function ti(e,n){if(!e){typeof console<"u"&&console.warn(n);try{throw new Error(n)}catch{}}}function b2(){return Math.random().toString(36).substring(2,10)}function X0(e,n){return{usr:e.state,key:e.key,idx:n}}function Jd(e,n,r=null,a){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof n=="string"?Xa(n):n,state:r,key:n&&n.key||a||b2()}}function po({pathname:e="/",search:n="",hash:r=""}){return n&&n!=="?"&&(e+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}function Xa(e){let n={};if(e){let r=e.indexOf("#");r>=0&&(n.hash=e.substring(r),e=e.substring(0,r));let a=e.indexOf("?");a>=0&&(n.search=e.substring(a),e=e.substring(0,a)),e&&(n.pathname=e)}return n}function x2(e,n,r,a={}){let{window:o=document.defaultView,v5Compat:u=!1}=a,c=o.history,d="POP",m=null,p=g();p==null&&(p=0,c.replaceState({...c.state,idx:p},""));function g(){return(c.state||{idx:null}).idx}function y(){d="POP";let _=g(),M=_==null?null:_-p;p=_,m&&m({action:d,location:A.location,delta:M})}function x(_,M){d="PUSH";let z=Jd(A.location,_,M);p=g()+1;let D=X0(z,p),F=A.createHref(z);try{c.pushState(D,"",F)}catch(Z){if(Z instanceof DOMException&&Z.name==="DataCloneError")throw Z;o.location.assign(F)}u&&m&&m({action:d,location:A.location,delta:1})}function E(_,M){d="REPLACE";let z=Jd(A.location,_,M);p=g();let D=X0(z,p),F=A.createHref(z);c.replaceState(D,"",F),u&&m&&m({action:d,location:A.location,delta:0})}function T(_){return w2(_)}let A={get action(){return d},get location(){return e(o,c)},listen(_){if(m)throw new Error("A history only accepts one active listener");return o.addEventListener(Y0,y),m=_,()=>{o.removeEventListener(Y0,y),m=null}},createHref(_){return n(o,_)},createURL:T,encodeLocation(_){let M=T(_);return{pathname:M.pathname,search:M.search,hash:M.hash}},push:x,replace:E,go(_){return c.go(_)}};return A}function w2(e,n=!1){let r="http://localhost";typeof window<"u"&&(r=window.location.origin!=="null"?window.location.origin:window.location.href),ot(r,"No window.location.(origin|href) available to create URL");let a=typeof e=="string"?e:po(e);return a=a.replace(/ $/,"%20"),!n&&a.startsWith("//")&&(a=r+a),new URL(a,r)}function Dx(e,n,r="/"){return S2(e,n,r,!1)}function S2(e,n,r,a){let o=typeof n=="string"?Xa(n):n,u=Ui(o.pathname||"/",r);if(u==null)return null;let c=Mx(e);E2(c);let d=null;for(let m=0;d==null&&m{let g={relativePath:p===void 0?c.path||"":p,caseSensitive:c.caseSensitive===!0,childrenIndex:d,route:c};if(g.relativePath.startsWith("/")){if(!g.relativePath.startsWith(a)&&m)return;ot(g.relativePath.startsWith(a),`Absolute route path "${g.relativePath}" nested under path "${a}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),g.relativePath=g.relativePath.slice(a.length)}let y=Li([a,g.relativePath]),x=r.concat(g);c.children&&c.children.length>0&&(ot(c.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${y}".`),Mx(c.children,n,x,y,m)),!(c.path==null&&!c.index)&&n.push({path:y,score:j2(y,c.index),routesMeta:x})};return e.forEach((c,d)=>{if(c.path===""||!c.path?.includes("?"))u(c,d);else for(let m of Ox(c.path))u(c,d,!0,m)}),n}function Ox(e){let n=e.split("/");if(n.length===0)return[];let[r,...a]=n,o=r.endsWith("?"),u=r.replace(/\?$/,"");if(a.length===0)return o?[u,""]:[u];let c=Ox(a.join("/")),d=[];return d.push(...c.map(m=>m===""?u:[u,m].join("/"))),o&&d.push(...c),d.map(m=>e.startsWith("/")&&m===""?"/":m)}function E2(e){e.sort((n,r)=>n.score!==r.score?r.score-n.score:z2(n.routesMeta.map(a=>a.childrenIndex),r.routesMeta.map(a=>a.childrenIndex)))}var _2=/^:[\w-]+$/,T2=3,A2=2,C2=1,R2=10,N2=-2,K0=e=>e==="*";function j2(e,n){let r=e.split("/"),a=r.length;return r.some(K0)&&(a+=N2),n&&(a+=A2),r.filter(o=>!K0(o)).reduce((o,u)=>o+(_2.test(u)?T2:u===""?C2:R2),a)}function z2(e,n){return e.length===n.length&&e.slice(0,-1).every((a,o)=>a===n[o])?e[e.length-1]-n[n.length-1]:0}function D2(e,n,r=!1){let{routesMeta:a}=e,o={},u="/",c=[];for(let d=0;d{if(g==="*"){let T=d[x]||"";c=u.slice(0,u.length-T.length).replace(/(.)\/+$/,"$1")}const E=d[x];return y&&!E?p[g]=void 0:p[g]=(E||"").replace(/%2F/g,"/"),p},{}),pathname:u,pathnameBase:c,pattern:e}}function M2(e,n=!1,r=!0){ti(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let a=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(c,d,m)=>(a.push({paramName:d,isOptional:m!=null}),m?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(a.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,n?void 0:"i"),a]}function O2(e){try{return e.split("/").map(n=>decodeURIComponent(n).replace(/\//g,"%2F")).join("/")}catch(n){return ti(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${n}).`),e}}function Ui(e,n){if(n==="/")return e;if(!e.toLowerCase().startsWith(n.toLowerCase()))return null;let r=n.endsWith("/")?n.length-1:n.length,a=e.charAt(r);return a&&a!=="/"?null:e.slice(r)||"/"}var k2=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function L2(e,n="/"){let{pathname:r,search:a="",hash:o=""}=typeof e=="string"?Xa(e):e,u;return r?(r=r.replace(/\/\/+/g,"/"),r.startsWith("/")?u=I0(r.substring(1),"/"):u=I0(r,n)):u=n,{pathname:u,search:B2(a),hash:P2(o)}}function I0(e,n){let r=n.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?r.length>1&&r.pop():o!=="."&&r.push(o)}),r.length>1?r.join("/"):"/"}function wd(e,n,r,a){return`Cannot include a '${e}' character in a manually specified \`to.${n}\` field [${JSON.stringify(a)}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function V2(e){return e.filter((n,r)=>r===0||n.route.path&&n.route.path.length>0)}function Uh(e){let n=V2(e);return n.map((r,a)=>a===n.length-1?r.pathname:r.pathnameBase)}function Bh(e,n,r,a=!1){let o;typeof e=="string"?o=Xa(e):(o={...e},ot(!o.pathname||!o.pathname.includes("?"),wd("?","pathname","search",o)),ot(!o.pathname||!o.pathname.includes("#"),wd("#","pathname","hash",o)),ot(!o.search||!o.search.includes("#"),wd("#","search","hash",o)));let u=e===""||o.pathname==="",c=u?"/":o.pathname,d;if(c==null)d=r;else{let y=n.length-1;if(!a&&c.startsWith("..")){let x=c.split("/");for(;x[0]==="..";)x.shift(),y-=1;o.pathname=x.join("/")}d=y>=0?n[y]:"/"}let m=L2(o,d),p=c&&c!=="/"&&c.endsWith("/"),g=(u||c===".")&&r.endsWith("/");return!m.pathname.endsWith("/")&&(p||g)&&(m.pathname+="/"),m}var Li=e=>e.join("/").replace(/\/\/+/g,"/"),U2=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),B2=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,P2=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,H2=class{constructor(e,n,r,a=!1){this.status=e,this.statusText=n||"",this.internal=a,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}};function Z2(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function F2(e){return e.map(n=>n.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var kx=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Lx(e,n){let r=e;if(typeof r!="string"||!k2.test(r))return{absoluteURL:void 0,isExternal:!1,to:r};let a=r,o=!1;if(kx)try{let u=new URL(window.location.href),c=r.startsWith("//")?new URL(u.protocol+r):new URL(r),d=Ui(c.pathname,n);c.origin===u.origin&&d!=null?r=d+c.search+c.hash:o=!0}catch{ti(!1,` contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:a,isExternal:o,to:r}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Vx=["POST","PUT","PATCH","DELETE"];new Set(Vx);var q2=["GET",...Vx];new Set(q2);var Ka=C.createContext(null);Ka.displayName="DataRouter";var Lu=C.createContext(null);Lu.displayName="DataRouterState";var $2=C.createContext(!1),Ux=C.createContext({isTransitioning:!1});Ux.displayName="ViewTransition";var G2=C.createContext(new Map);G2.displayName="Fetchers";var Y2=C.createContext(null);Y2.displayName="Await";var Nn=C.createContext(null);Nn.displayName="Navigation";var Eo=C.createContext(null);Eo.displayName="Location";var di=C.createContext({outlet:null,matches:[],isDataRoute:!1});di.displayName="Route";var Ph=C.createContext(null);Ph.displayName="RouteError";var Bx="REACT_ROUTER_ERROR",X2="REDIRECT",K2="ROUTE_ERROR_RESPONSE";function I2(e){if(e.startsWith(`${Bx}:${X2}:{`))try{let n=JSON.parse(e.slice(28));if(typeof n=="object"&&n&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.location=="string"&&typeof n.reloadDocument=="boolean"&&typeof n.replace=="boolean")return n}catch{}}function Q2(e){if(e.startsWith(`${Bx}:${K2}:{`))try{let n=JSON.parse(e.slice(40));if(typeof n=="object"&&n&&typeof n.status=="number"&&typeof n.statusText=="string")return new H2(n.status,n.statusText,n.data)}catch{}}function J2(e,{relative:n}={}){ot(Ia(),"useHref() may be used only in the context of a component.");let{basename:r,navigator:a}=C.useContext(Nn),{hash:o,pathname:u,search:c}=_o(e,{relative:n}),d=u;return r!=="/"&&(d=u==="/"?r:Li([r,u])),a.createHref({pathname:d,search:c,hash:o})}function Ia(){return C.useContext(Eo)!=null}function Pi(){return ot(Ia(),"useLocation() may be used only in the context of a component."),C.useContext(Eo).location}var Px="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Hx(e){C.useContext(Nn).static||C.useLayoutEffect(e)}function hi(){let{isDataRoute:e}=C.useContext(di);return e?fT():W2()}function W2(){ot(Ia(),"useNavigate() may be used only in the context of a component.");let e=C.useContext(Ka),{basename:n,navigator:r}=C.useContext(Nn),{matches:a}=C.useContext(di),{pathname:o}=Pi(),u=JSON.stringify(Uh(a)),c=C.useRef(!1);return Hx(()=>{c.current=!0}),C.useCallback((m,p={})=>{if(ti(c.current,Px),!c.current)return;if(typeof m=="number"){r.go(m);return}let g=Bh(m,JSON.parse(u),o,p.relative==="path");e==null&&n!=="/"&&(g.pathname=g.pathname==="/"?n:Li([n,g.pathname])),(p.replace?r.replace:r.push)(g,p.state,p)},[n,r,u,o,e])}C.createContext(null);function _o(e,{relative:n}={}){let{matches:r}=C.useContext(di),{pathname:a}=Pi(),o=JSON.stringify(Uh(r));return C.useMemo(()=>Bh(e,JSON.parse(o),a,n==="path"),[e,o,a,n])}function eT(e,n){return Zx(e,n)}function Zx(e,n,r,a,o){ot(Ia(),"useRoutes() may be used only in the context of a component.");let{navigator:u}=C.useContext(Nn),{matches:c}=C.useContext(di),d=c[c.length-1],m=d?d.params:{},p=d?d.pathname:"/",g=d?d.pathnameBase:"/",y=d&&d.route;{let z=y&&y.path||"";qx(p,!y||z.endsWith("*")||z.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${p}" (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=Pi(),E;if(n){let z=typeof n=="string"?Xa(n):n;ot(g==="/"||z.pathname?.startsWith(g),`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 "${g}" but pathname "${z.pathname}" was given in the \`location\` prop.`),E=z}else E=x;let T=E.pathname||"/",A=T;if(g!=="/"){let z=g.replace(/^\//,"").split("/");A="/"+T.replace(/^\//,"").split("/").slice(z.length).join("/")}let _=Dx(e,{pathname:A});ti(y||_!=null,`No routes matched location "${E.pathname}${E.search}${E.hash}" `),ti(_==null||_[_.length-1].route.element!==void 0||_[_.length-1].route.Component!==void 0||_[_.length-1].route.lazy!==void 0,`Matched leaf route at location "${E.pathname}${E.search}${E.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 M=aT(_&&_.map(z=>Object.assign({},z,{params:Object.assign({},m,z.params),pathname:Li([g,u.encodeLocation?u.encodeLocation(z.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:z.pathname]),pathnameBase:z.pathnameBase==="/"?g:Li([g,u.encodeLocation?u.encodeLocation(z.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:z.pathnameBase])})),c,r,a,o);return n&&M?C.createElement(Eo.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...E},navigationType:"POP"}},M):M}function tT(){let e=cT(),n=Z2(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,a="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:a},u={padding:"2px 4px",backgroundColor:a},c=null;return console.error("Error handled by React Router default ErrorBoundary:",e),c=C.createElement(C.Fragment,null,C.createElement("p",null,"💿 Hey developer 👋"),C.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",C.createElement("code",{style:u},"ErrorBoundary")," or"," ",C.createElement("code",{style:u},"errorElement")," prop on your route.")),C.createElement(C.Fragment,null,C.createElement("h2",null,"Unexpected Application Error!"),C.createElement("h3",{style:{fontStyle:"italic"}},n),r?C.createElement("pre",{style:o},r):null,c)}var nT=C.createElement(tT,null),Fx=class extends C.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,n){return n.location!==e.location||n.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:n.error,location:n.location,revalidation:e.revalidation||n.revalidation}}componentDidCatch(e,n){this.props.onError?this.props.onError(e,n):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const r=Q2(e.digest);r&&(e=r)}let n=e!==void 0?C.createElement(di.Provider,{value:this.props.routeContext},C.createElement(Ph.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?C.createElement(iT,{error:e},n):n}};Fx.contextType=$2;var Sd=new WeakMap;function iT({children:e,error:n}){let{basename:r}=C.useContext(Nn);if(typeof n=="object"&&n&&"digest"in n&&typeof n.digest=="string"){let a=I2(n.digest);if(a){let o=Sd.get(n);if(o)throw o;let u=Lx(a.location,r);if(kx&&!Sd.get(n))if(u.isExternal||a.reloadDocument)window.location.href=u.absoluteURL||u.to;else{const c=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(u.to,{replace:a.replace}));throw Sd.set(n,c),c}return C.createElement("meta",{httpEquiv:"refresh",content:`0;url=${u.absoluteURL||u.to}`})}}return e}function rT({routeContext:e,match:n,children:r}){let a=C.useContext(Ka);return a&&a.static&&a.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=n.route.id),C.createElement(di.Provider,{value:e},r)}function aT(e,n=[],r=null,a=null,o=null){if(e==null){if(!r)return null;if(r.errors)e=r.matches;else if(n.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let u=e,c=r?.errors;if(c!=null){let g=u.findIndex(y=>y.route.id&&c?.[y.route.id]!==void 0);ot(g>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(c).join(",")}`),u=u.slice(0,Math.min(u.length,g+1))}let d=!1,m=-1;if(r)for(let g=0;g=0?u=u.slice(0,m+1):u=[u[0]];break}}}let p=r&&a?(g,y)=>{a(g,{location:r.location,params:r.matches?.[0]?.params??{},unstable_pattern:F2(r.matches),errorInfo:y})}:void 0;return u.reduceRight((g,y,x)=>{let E,T=!1,A=null,_=null;r&&(E=c&&y.route.id?c[y.route.id]:void 0,A=y.route.errorElement||nT,d&&(m<0&&x===0?(qx("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),T=!0,_=null):m===x&&(T=!0,_=y.route.hydrateFallbackElement||null)));let M=n.concat(u.slice(0,x+1)),z=()=>{let D;return E?D=A:T?D=_:y.route.Component?D=C.createElement(y.route.Component,null):y.route.element?D=y.route.element:D=g,C.createElement(rT,{match:y,routeContext:{outlet:g,matches:M,isDataRoute:r!=null},children:D})};return r&&(y.route.ErrorBoundary||y.route.errorElement||x===0)?C.createElement(Fx,{location:r.location,revalidation:r.revalidation,component:A,error:E,children:z(),routeContext:{outlet:null,matches:M,isDataRoute:!0},onError:p}):z()},null)}function Hh(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function sT(e){let n=C.useContext(Ka);return ot(n,Hh(e)),n}function oT(e){let n=C.useContext(Lu);return ot(n,Hh(e)),n}function lT(e){let n=C.useContext(di);return ot(n,Hh(e)),n}function Zh(e){let n=lT(e),r=n.matches[n.matches.length-1];return ot(r.route.id,`${e} can only be used on routes that contain a unique "id"`),r.route.id}function uT(){return Zh("useRouteId")}function cT(){let e=C.useContext(Ph),n=oT("useRouteError"),r=Zh("useRouteError");return e!==void 0?e:n.errors?.[r]}function fT(){let{router:e}=sT("useNavigate"),n=Zh("useNavigate"),r=C.useRef(!1);return Hx(()=>{r.current=!0}),C.useCallback(async(o,u={})=>{ti(r.current,Px),r.current&&(typeof o=="number"?await e.navigate(o):await e.navigate(o,{fromRouteId:n,...u}))},[e,n])}var Q0={};function qx(e,n,r){!n&&!Q0[e]&&(Q0[e]=!0,ti(!1,r))}C.memo(dT);function dT({routes:e,future:n,state:r,onError:a}){return Zx(e,void 0,r,a,n)}function xu({to:e,replace:n,state:r,relative:a}){ot(Ia()," may be used only in the context of a component.");let{static:o}=C.useContext(Nn);ti(!o," 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:u}=C.useContext(di),{pathname:c}=Pi(),d=hi(),m=Bh(e,Uh(u),c,a==="path"),p=JSON.stringify(m);return C.useEffect(()=>{d(JSON.parse(p),{replace:n,state:r,relative:a})},[d,p,a,n,r]),null}function Qn(e){ot(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function hT({basename:e="/",children:n=null,location:r,navigationType:a="POP",navigator:o,static:u=!1,unstable_useTransitions:c}){ot(!Ia(),"You cannot render a inside another . You should never have more than one in your app.");let d=e.replace(/^\/*/,"/"),m=C.useMemo(()=>({basename:d,navigator:o,static:u,unstable_useTransitions:c,future:{}}),[d,o,u,c]);typeof r=="string"&&(r=Xa(r));let{pathname:p="/",search:g="",hash:y="",state:x=null,key:E="default"}=r,T=C.useMemo(()=>{let A=Ui(p,d);return A==null?null:{location:{pathname:A,search:g,hash:y,state:x,key:E},navigationType:a}},[d,p,g,y,x,E,a]);return ti(T!=null,` is not able to match the URL "${p}${g}${y}" because it does not start with the basename, so the won't render anything.`),T==null?null:C.createElement(Nn.Provider,{value:m},C.createElement(Eo.Provider,{children:n,value:T}))}function mT({children:e,location:n}){return eT(Wd(e),n)}function Wd(e,n=[]){let r=[];return C.Children.forEach(e,(a,o)=>{if(!C.isValidElement(a))return;let u=[...n,o];if(a.type===C.Fragment){r.push.apply(r,Wd(a.props.children,u));return}ot(a.type===Qn,`[${typeof a.type=="string"?a.type:a.type.name}] is not a component. All component children of must be a or `),ot(!a.props.index||!a.props.children,"An index route cannot have child routes.");let c={id:a.props.id||u.join("-"),caseSensitive:a.props.caseSensitive,element:a.props.element,Component:a.props.Component,index:a.props.index,path:a.props.path,middleware:a.props.middleware,loader:a.props.loader,action:a.props.action,hydrateFallbackElement:a.props.hydrateFallbackElement,HydrateFallback:a.props.HydrateFallback,errorElement:a.props.errorElement,ErrorBoundary:a.props.ErrorBoundary,hasErrorBoundary:a.props.hasErrorBoundary===!0||a.props.ErrorBoundary!=null||a.props.errorElement!=null,shouldRevalidate:a.props.shouldRevalidate,handle:a.props.handle,lazy:a.props.lazy};a.props.children&&(c.children=Wd(a.props.children,u)),r.push(c)}),r}var cu="get",fu="application/x-www-form-urlencoded";function Vu(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function pT(e){return Vu(e)&&e.tagName.toLowerCase()==="button"}function gT(e){return Vu(e)&&e.tagName.toLowerCase()==="form"}function yT(e){return Vu(e)&&e.tagName.toLowerCase()==="input"}function vT(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function bT(e,n){return e.button===0&&(!n||n==="_self")&&!vT(e)}var Wl=null;function xT(){if(Wl===null)try{new FormData(document.createElement("form"),0),Wl=!1}catch{Wl=!0}return Wl}var wT=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Ed(e){return e!=null&&!wT.has(e)?(ti(!1,`"${e}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${fu}"`),null):e}function ST(e,n){let r,a,o,u,c;if(gT(e)){let d=e.getAttribute("action");a=d?Ui(d,n):null,r=e.getAttribute("method")||cu,o=Ed(e.getAttribute("enctype"))||fu,u=new FormData(e)}else if(pT(e)||yT(e)&&(e.type==="submit"||e.type==="image")){let d=e.form;if(d==null)throw new Error('Cannot submit a