function See(t,e){for(var n=0;ni[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))i(r);new MutationObserver(r=>{for(const a of r)if(a.type==="childList")for(const s of a.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&i(s)}).observe(document,{childList:!0,subtree:!0});function n(r){const a={};return r.integrity&&(a.integrity=r.integrity),r.referrerPolicy&&(a.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?a.credentials="include":r.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function i(r){if(r.ep)return;r.ep=!0;const a=n(r);fetch(r.href,a)}})();var ny=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function $s(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var HE={exports:{}},dg={};var t4;function wee(){if(t4)return dg;t4=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.fragment");function n(i,r,a){var s=null;if(a!==void 0&&(s=""+a),r.key!==void 0&&(s=""+r.key),"key"in r){a={};for(var o in r)o!=="key"&&(a[o]=r[o])}else a=r;return r=a.ref,{$$typeof:t,type:i,key:s,ref:r!==void 0?r:null,props:a}}return dg.Fragment=e,dg.jsx=n,dg.jsxs=n,dg}var n4;function Mee(){return n4||(n4=1,HE.exports=wee()),HE.exports}var x=Mee(),VE={exports:{}},$t={};var i4;function Eee(){if(i4)return $t;i4=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),r=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),s=Symbol.for("react.context"),o=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),f=Symbol.for("react.activity"),p=Symbol.iterator;function m(j){return j===null||typeof j!="object"?null:(j=p&&j[p]||j["@@iterator"],typeof j=="function"?j:null)}var _={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b=Object.assign,y={};function g(j,X,re){this.props=j,this.context=X,this.refs=y,this.updater=re||_}g.prototype.isReactComponent={},g.prototype.setState=function(j,X){if(typeof j!="object"&&typeof j!="function"&&j!=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,j,X,"setState")},g.prototype.forceUpdate=function(j){this.updater.enqueueForceUpdate(this,j,"forceUpdate")};function M(){}M.prototype=g.prototype;function w(j,X,re){this.props=j,this.context=X,this.refs=y,this.updater=re||_}var A=w.prototype=new M;A.constructor=w,b(A,g.prototype),A.isPureReactComponent=!0;var E=Array.isArray;function P(){}var N={H:null,A:null,T:null,S:null},F=Object.prototype.hasOwnProperty;function R(j,X,re){var ce=re.ref;return{$$typeof:t,type:j,key:X,ref:ce!==void 0?ce:null,props:re}}function O(j,X){return R(j.type,X,j.props)}function B(j){return typeof j=="object"&&j!==null&&j.$$typeof===t}function I(j){var X={"=":"=0",":":"=2"};return"$"+j.replace(/[=:]/g,function(re){return X[re]})}var G=/\/+/g;function L(j,X){return typeof j=="object"&&j!==null&&j.key!=null?I(""+j.key):X.toString(36)}function H(j){switch(j.status){case"fulfilled":return j.value;case"rejected":throw j.reason;default:switch(typeof j.status=="string"?j.then(P,P):(j.status="pending",j.then(function(X){j.status==="pending"&&(j.status="fulfilled",j.value=X)},function(X){j.status==="pending"&&(j.status="rejected",j.reason=X)})),j.status){case"fulfilled":return j.value;case"rejected":throw j.reason}}throw j}function q(j,X,re,ce,ve){var me=typeof j;(me==="undefined"||me==="boolean")&&(j=null);var ye=!1;if(j===null)ye=!0;else switch(me){case"bigint":case"string":case"number":ye=!0;break;case"object":switch(j.$$typeof){case t:case e:ye=!0;break;case d:return ye=j._init,q(ye(j._payload),X,re,ce,ve)}}if(ye)return ve=ve(j),ye=ce===""?"."+L(j,0):ce,E(ve)?(re="",ye!=null&&(re=ye.replace(G,"$&/")+"/"),q(ve,X,re,"",function(we){return we})):ve!=null&&(B(ve)&&(ve=O(ve,re+(ve.key==null||j&&j.key===ve.key?"":(""+ve.key).replace(G,"$&/")+"/")+ye)),X.push(ve)),1;ye=0;var De=ce===""?".":ce+":";if(E(j))for(var he=0;he>>1,se=q[J];if(0>>1;Jr(re,K))cer(ve,re)?(q[J]=ve,q[ce]=K,J=ce):(q[J]=re,q[X]=K,J=X);else if(cer(ve,K))q[J]=ve,q[ce]=K,J=ce;else break e}}return W}function r(q,W){var K=q.sortIndex-W.sortIndex;return K!==0?K:q.id-W.id}if(t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,o=s.now();t.unstable_now=function(){return s.now()-o}}var l=[],c=[],d=1,f=null,p=3,m=!1,_=!1,b=!1,y=!1,g=typeof setTimeout=="function"?setTimeout:null,M=typeof clearTimeout=="function"?clearTimeout:null,w=typeof setImmediate<"u"?setImmediate:null;function A(q){for(var W=n(c);W!==null;){if(W.callback===null)i(c);else if(W.startTime<=q)i(c),W.sortIndex=W.expirationTime,e(l,W);else break;W=n(c)}}function E(q){if(b=!1,A(q),!_)if(n(l)!==null)_=!0,P||(P=!0,I());else{var W=n(c);W!==null&&H(E,W.startTime-q)}}var P=!1,N=-1,F=5,R=-1;function O(){return y?!0:!(t.unstable_now()-Rq&&O());){var J=f.callback;if(typeof J=="function"){f.callback=null,p=f.priorityLevel;var se=J(f.expirationTime<=q);if(q=t.unstable_now(),typeof se=="function"){f.callback=se,A(q),W=!0;break t}f===n(l)&&i(l),A(q)}else i(l);f=n(l)}if(f!==null)W=!0;else{var j=n(c);j!==null&&H(E,j.startTime-q),W=!1}}break e}finally{f=null,p=K,m=!1}W=void 0}}finally{W?I():P=!1}}}var I;if(typeof w=="function")I=function(){w(B)};else if(typeof MessageChannel<"u"){var G=new MessageChannel,L=G.port2;G.port1.onmessage=B,I=function(){L.postMessage(null)}}else I=function(){g(B,0)};function H(q,W){N=g(function(){q(t.unstable_now())},W)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(q){q.callback=null},t.unstable_forceFrameRate=function(q){0>q||125J?(q.sortIndex=K,e(c,q),n(l)===null&&q===n(c)&&(b?(M(N),N=-1):b=!0,H(E,K-J))):(q.sortIndex=se,e(l,q),_||m||(_=!0,P||(P=!0,I()))),q},t.unstable_shouldYield=O,t.unstable_wrapCallback=function(q){var W=p;return function(){var K=p;p=W;try{return q.apply(this,arguments)}finally{p=K}}}})(WE)),WE}var s4;function Cee(){return s4||(s4=1,$E.exports=Tee()),$E.exports}var qE={exports:{}},Gr={};var o4;function Nee(){if(o4)return Gr;o4=1;var t=Jp();function e(l){var c="https://react.dev/errors/"+l;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),qE.exports=Nee(),qE.exports}var c4;function Ree(){if(c4)return fg;c4=1;var t=Cee(),e=Jp(),n=XV();function i(u){var h="https://react.dev/errors/"+u;if(1se||(u.current=J[se],J[se]=null,se--)}function re(u,h){se++,J[se]=u.current,u.current=h}var ce=j(null),ve=j(null),me=j(null),ye=j(null);function De(u,h){switch(re(me,h),re(ve,u),re(ce,null),h.nodeType){case 9:case 11:u=(u=h.documentElement)&&(u=u.namespaceURI)?MU(u):0;break;default:if(u=h.tagName,h=h.namespaceURI)h=MU(h),u=EU(h,u);else switch(u){case"svg":u=1;break;case"math":u=2;break;default:u=0}}X(ce),re(ce,u)}function he(){X(ce),X(ve),X(me)}function we(u){u.memoizedState!==null&&re(ye,u);var h=ce.current,v=EU(h,u.type);h!==v&&(re(ve,u),re(ce,v))}function je(u){ve.current===u&&(X(ce),X(ve)),ye.current===u&&(X(ye),og._currentValue=K)}var le,ft;function z(u){if(le===void 0)try{throw Error()}catch(v){var h=v.stack.trim().match(/\n( *(at )?)/);le=h&&h[1]||"",ft=-1)":-1C||_e[S]!==ze[C]){var Qe=` `+_e[S].replace(" at new "," at ");return u.displayName&&Qe.includes("")&&(Qe=Qe.replace("",u.displayName)),Qe}while(1<=S&&0<=C);break}}}finally{$=!1,Error.prepareStackTrace=v}return(v=u?u.displayName||u.name:"")?z(v):""}function Q(u,h){switch(u.tag){case 26:case 27:case 5:return z(u.type);case 16:return z("Lazy");case 13:return u.child!==h&&h!==null?z("Suspense Fallback"):z("Suspense");case 19:return z("SuspenseList");case 0:case 15:return ie(u.type,!1);case 11:return ie(u.type.render,!1);case 1:return ie(u.type,!0);case 31:return z("Activity");default:return""}}function ee(u){try{var h="",v=null;do h+=Q(u,v),v=u,u=u.return;while(u);return h}catch(S){return` Error generating stack: `+S.message+` `+S.stack}}var ae=Object.prototype.hasOwnProperty,Pe=t.unstable_scheduleCallback,Ne=t.unstable_cancelCallback,te=t.unstable_shouldYield,U=t.unstable_requestPaint,k=t.unstable_now,Y=t.unstable_getCurrentPriorityLevel,pe=t.unstable_ImmediatePriority,xe=t.unstable_UserBlockingPriority,fe=t.unstable_NormalPriority,Ye=t.unstable_LowPriority,Le=t.unstable_IdlePriority,qe=t.log,it=t.unstable_setDisableYieldValue,Ie=null,Re=null;function ht(u){if(typeof qe=="function"&&it(u),Re&&typeof Re.setStrictMode=="function")try{Re.setStrictMode(Ie,u)}catch{}}var et=Math.clz32?Math.clz32:ue,Je=Math.log,ot=Math.LN2;function ue(u){return u>>>=0,u===0?32:31-(Je(u)/ot|0)|0}var tt=256,de=262144,ke=4194304;function Me(u){var h=u&42;if(h!==0)return h;switch(u&-u){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 u&261888;case 262144:case 524288:case 1048576:case 2097152:return u&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return u&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return u}}function ge(u,h,v){var S=u.pendingLanes;if(S===0)return 0;var C=0,D=u.suspendedLanes,V=u.pingedLanes;u=u.warmLanes;var ne=S&134217727;return ne!==0?(S=ne&~D,S!==0?C=Me(S):(V&=ne,V!==0?C=Me(V):v||(v=ne&~u,v!==0&&(C=Me(v))))):(ne=S&~D,ne!==0?C=Me(ne):V!==0?C=Me(V):v||(v=S&~u,v!==0&&(C=Me(v)))),C===0?0:h!==0&&h!==C&&(h&D)===0&&(D=C&-C,v=h&-h,D>=v||D===32&&(v&4194048)!==0)?h:C}function Be(u,h){return(u.pendingLanes&~(u.suspendedLanes&~u.pingedLanes)&h)===0}function at(u,h){switch(u){case 1:case 2:case 4:case 8:case 64:return h+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 h+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 yt(){var u=ke;return ke<<=1,(ke&62914560)===0&&(ke=4194304),u}function Nt(u){for(var h=[],v=0;31>v;v++)h.push(u);return h}function nn(u,h){u.pendingLanes|=h,h!==268435456&&(u.suspendedLanes=0,u.pingedLanes=0,u.warmLanes=0)}function Dt(u,h,v,S,C,D){var V=u.pendingLanes;u.pendingLanes=v,u.suspendedLanes=0,u.pingedLanes=0,u.warmLanes=0,u.expiredLanes&=v,u.entangledLanes&=v,u.errorRecoveryDisabledLanes&=v,u.shellSuspendCounter=0;var ne=u.entanglements,_e=u.expirationTimes,ze=u.hiddenUpdates;for(v=V&~v;0"u")return null;try{return u.activeElement||u.body}catch{return u.body}}var Ai=/[\n"\\]/g;function Tn(u){return u.replace(Ai,function(h){return"\\"+h.charCodeAt(0).toString(16)+" "})}function Xs(u,h,v,S,C,D,V,ne){u.name="",V!=null&&typeof V!="function"&&typeof V!="symbol"&&typeof V!="boolean"?u.type=V:u.removeAttribute("type"),h!=null?V==="number"?(h===0&&u.value===""||u.value!=h)&&(u.value=""+an(h)):u.value!==""+an(h)&&(u.value=""+an(h)):V!=="submit"&&V!=="reset"||u.removeAttribute("value"),h!=null?hr(u,V,an(h)):v!=null?hr(u,V,an(v)):S!=null&&u.removeAttribute("value"),C==null&&D!=null&&(u.defaultChecked=!!D),C!=null&&(u.checked=C&&typeof C!="function"&&typeof C!="symbol"),ne!=null&&typeof ne!="function"&&typeof ne!="symbol"&&typeof ne!="boolean"?u.name=""+an(ne):u.removeAttribute("name")}function Nn(u,h,v,S,C,D,V,ne){if(D!=null&&typeof D!="function"&&typeof D!="symbol"&&typeof D!="boolean"&&(u.type=D),h!=null||v!=null){if(!(D!=="submit"&&D!=="reset"||h!=null)){Gt(u);return}v=v!=null?""+an(v):"",h=h!=null?""+an(h):v,ne||h===u.value||(u.value=h),u.defaultValue=h}S=S??C,S=typeof S!="function"&&typeof S!="symbol"&&!!S,u.checked=ne?u.checked:!!S,u.defaultChecked=!!S,V!=null&&typeof V!="function"&&typeof V!="symbol"&&typeof V!="boolean"&&(u.name=V),Gt(u)}function hr(u,h,v){h==="number"&&xi(u.ownerDocument)===u||u.defaultValue===""+v||(u.defaultValue=""+v)}function Yi(u,h,v,S){if(u=u.options,h){h={};for(var C=0;C"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Hw=!1;if(il)try{var Em={};Object.defineProperty(Em,"passive",{get:function(){Hw=!0}}),window.addEventListener("test",Em,Em),window.removeEventListener("test",Em,Em)}catch{Hw=!1}var Sc=null,Vw=null,Xx=null;function Ek(){if(Xx)return Xx;var u,h=Vw,v=h.length,S,C="value"in Sc?Sc.value:Sc.textContent,D=C.length;for(u=0;u=Cm),Pk=" ",Dk=!1;function Ok(u,h){switch(u){case"keyup":return GQ.indexOf(h.keyCode)!==-1;case"keydown":return h.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function kk(u){return u=u.detail,typeof u=="object"&&"data"in u?u.data:null}var Bf=!1;function WQ(u,h){switch(u){case"compositionend":return kk(h);case"keypress":return h.which!==32?null:(Dk=!0,Pk);case"textInput":return u=h.data,u===Pk&&Dk?null:u;default:return null}}function qQ(u,h){if(Bf)return u==="compositionend"||!Xw&&Ok(u,h)?(u=Ek(),Xx=Vw=Sc=null,Bf=!1,u):null;switch(u){case"paste":return null;case"keypress":if(!(h.ctrlKey||h.altKey||h.metaKey)||h.ctrlKey&&h.altKey){if(h.char&&1=h)return{node:v,offset:h-u};u=S}e:{for(;v;){if(v.nextSibling){v=v.nextSibling;break e}v=v.parentNode}v=void 0}v=Hk(v)}}function Gk(u,h){return u&&h?u===h?!0:u&&u.nodeType===3?!1:h&&h.nodeType===3?Gk(u,h.parentNode):"contains"in u?u.contains(h):u.compareDocumentPosition?!!(u.compareDocumentPosition(h)&16):!1:!1}function $k(u){u=u!=null&&u.ownerDocument!=null&&u.ownerDocument.defaultView!=null?u.ownerDocument.defaultView:window;for(var h=xi(u.document);h instanceof u.HTMLIFrameElement;){try{var v=typeof h.contentWindow.location.href=="string"}catch{v=!1}if(v)u=h.contentWindow;else break;h=xi(u.document)}return h}function Zw(u){var h=u&&u.nodeName&&u.nodeName.toLowerCase();return h&&(h==="input"&&(u.type==="text"||u.type==="search"||u.type==="tel"||u.type==="url"||u.type==="password")||h==="textarea"||u.contentEditable==="true")}var tJ=il&&"documentMode"in document&&11>=document.documentMode,Hf=null,Qw=null,Dm=null,Jw=!1;function Wk(u,h,v){var S=v.window===v?v.document:v.nodeType===9?v:v.ownerDocument;Jw||Hf==null||Hf!==xi(S)||(S=Hf,"selectionStart"in S&&Zw(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}),Dm&&Pm(Dm,S)||(Dm=S,S=Bv(Qw,"onSelect"),0>=V,C-=V,wo=1<<32-et(h)+C|v<Kt?(hn=Pt,Pt=null):hn=Pt.sibling;var bn=Ve(Oe,Pt,Fe[Kt],nt);if(bn===null){Pt===null&&(Pt=hn);break}u&&Pt&&bn.alternate===null&&h(Oe,Pt),Ee=D(bn,Ee,Kt),yn===null?Lt=bn:yn.sibling=bn,yn=bn,Pt=hn}if(Kt===Fe.length)return v(Oe,Pt),mn&&al(Oe,Kt),Lt;if(Pt===null){for(;KtKt?(hn=Pt,Pt=null):hn=Pt.sibling;var Gc=Ve(Oe,Pt,bn.value,nt);if(Gc===null){Pt===null&&(Pt=hn);break}u&&Pt&&Gc.alternate===null&&h(Oe,Pt),Ee=D(Gc,Ee,Kt),yn===null?Lt=Gc:yn.sibling=Gc,yn=Gc,Pt=hn}if(bn.done)return v(Oe,Pt),mn&&al(Oe,Kt),Lt;if(Pt===null){for(;!bn.done;Kt++,bn=Fe.next())bn=rt(Oe,bn.value,nt),bn!==null&&(Ee=D(bn,Ee,Kt),yn===null?Lt=bn:yn.sibling=bn,yn=bn);return mn&&al(Oe,Kt),Lt}for(Pt=S(Pt);!bn.done;Kt++,bn=Fe.next())bn=Ke(Pt,Oe,Kt,bn.value,nt),bn!==null&&(u&&bn.alternate!==null&&Pt.delete(bn.key===null?Kt:bn.key),Ee=D(bn,Ee,Kt),yn===null?Lt=bn:yn.sibling=bn,yn=bn);return u&&Pt.forEach(function(_ee){return h(Oe,_ee)}),mn&&al(Oe,Kt),Lt}function Un(Oe,Ee,Fe,nt){if(typeof Fe=="object"&&Fe!==null&&Fe.type===b&&Fe.key===null&&(Fe=Fe.props.children),typeof Fe=="object"&&Fe!==null){switch(Fe.$$typeof){case m:e:{for(var Lt=Fe.key;Ee!==null;){if(Ee.key===Lt){if(Lt=Fe.type,Lt===b){if(Ee.tag===7){v(Oe,Ee.sibling),nt=C(Ee,Fe.props.children),nt.return=Oe,Oe=nt;break e}}else if(Ee.elementType===Lt||typeof Lt=="object"&&Lt!==null&&Lt.$$typeof===F&&fd(Lt)===Ee.type){v(Oe,Ee.sibling),nt=C(Ee,Fe.props),Fm(nt,Fe),nt.return=Oe,Oe=nt;break e}v(Oe,Ee);break}else h(Oe,Ee);Ee=Ee.sibling}Fe.type===b?(nt=od(Fe.props.children,Oe.mode,nt,Fe.key),nt.return=Oe,Oe=nt):(nt=rv(Fe.type,Fe.key,Fe.props,null,Oe.mode,nt),Fm(nt,Fe),nt.return=Oe,Oe=nt)}return V(Oe);case _:e:{for(Lt=Fe.key;Ee!==null;){if(Ee.key===Lt)if(Ee.tag===4&&Ee.stateNode.containerInfo===Fe.containerInfo&&Ee.stateNode.implementation===Fe.implementation){v(Oe,Ee.sibling),nt=C(Ee,Fe.children||[]),nt.return=Oe,Oe=nt;break e}else{v(Oe,Ee);break}else h(Oe,Ee);Ee=Ee.sibling}nt=sM(Fe,Oe.mode,nt),nt.return=Oe,Oe=nt}return V(Oe);case F:return Fe=fd(Fe),Un(Oe,Ee,Fe,nt)}if(H(Fe))return Ct(Oe,Ee,Fe,nt);if(I(Fe)){if(Lt=I(Fe),typeof Lt!="function")throw Error(i(150));return Fe=Lt.call(Fe),zt(Oe,Ee,Fe,nt)}if(typeof Fe.then=="function")return Un(Oe,Ee,dv(Fe),nt);if(Fe.$$typeof===w)return Un(Oe,Ee,ov(Oe,Fe),nt);fv(Oe,Fe)}return typeof Fe=="string"&&Fe!==""||typeof Fe=="number"||typeof Fe=="bigint"?(Fe=""+Fe,Ee!==null&&Ee.tag===6?(v(Oe,Ee.sibling),nt=C(Ee,Fe),nt.return=Oe,Oe=nt):(v(Oe,Ee),nt=aM(Fe,Oe.mode,nt),nt.return=Oe,Oe=nt),V(Oe)):v(Oe,Ee)}return function(Oe,Ee,Fe,nt){try{Um=0;var Lt=Un(Oe,Ee,Fe,nt);return Jf=null,Lt}catch(Pt){if(Pt===Qf||Pt===cv)throw Pt;var yn=Va(29,Pt,null,Oe.mode);return yn.lanes=nt,yn.return=Oe,yn}finally{}}}var pd=mL(!0),gL=mL(!1),Tc=!1;function vM(u){u.updateQueue={baseState:u.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function yM(u,h){u=u.updateQueue,h.updateQueue===u&&(h.updateQueue={baseState:u.baseState,firstBaseUpdate:u.firstBaseUpdate,lastBaseUpdate:u.lastBaseUpdate,shared:u.shared,callbacks:null})}function Cc(u){return{lane:u,tag:0,payload:null,callback:null,next:null}}function Nc(u,h,v){var S=u.updateQueue;if(S===null)return null;if(S=S.shared,(An&2)!==0){var C=S.pending;return C===null?h.next=h:(h.next=C.next,C.next=h),S.pending=h,h=iv(u),Jk(u,null,v),h}return nv(u,S,h,v),iv(u)}function zm(u,h,v){if(h=h.updateQueue,h!==null&&(h=h.shared,(v&4194048)!==0)){var S=h.lanes;S&=u.pendingLanes,v|=S,h.lanes=v,$n(u,v)}}function bM(u,h){var v=u.updateQueue,S=u.alternate;if(S!==null&&(S=S.updateQueue,v===S)){var C=null,D=null;if(v=v.firstBaseUpdate,v!==null){do{var V={lane:v.lane,tag:v.tag,payload:v.payload,callback:null,next:null};D===null?C=D=V:D=D.next=V,v=v.next}while(v!==null);D===null?C=D=h:D=D.next=h}else C=D=h;v={baseState:S.baseState,firstBaseUpdate:C,lastBaseUpdate:D,shared:S.shared,callbacks:S.callbacks},u.updateQueue=v;return}u=v.lastBaseUpdate,u===null?v.firstBaseUpdate=h:u.next=h,v.lastBaseUpdate=h}var _M=!1;function jm(){if(_M){var u=Zf;if(u!==null)throw u}}function Bm(u,h,v,S){_M=!1;var C=u.updateQueue;Tc=!1;var D=C.firstBaseUpdate,V=C.lastBaseUpdate,ne=C.shared.pending;if(ne!==null){C.shared.pending=null;var _e=ne,ze=_e.next;_e.next=null,V===null?D=ze:V.next=ze,V=_e;var Qe=u.alternate;Qe!==null&&(Qe=Qe.updateQueue,ne=Qe.lastBaseUpdate,ne!==V&&(ne===null?Qe.firstBaseUpdate=ze:ne.next=ze,Qe.lastBaseUpdate=_e))}if(D!==null){var rt=C.baseState;V=0,Qe=ze=_e=null,ne=D;do{var Ve=ne.lane&-536870913,Ke=Ve!==ne.lane;if(Ke?(fn&Ve)===Ve:(S&Ve)===Ve){Ve!==0&&Ve===Yf&&(_M=!0),Qe!==null&&(Qe=Qe.next={lane:0,tag:ne.tag,payload:ne.payload,callback:null,next:null});e:{var Ct=u,zt=ne;Ve=h;var Un=v;switch(zt.tag){case 1:if(Ct=zt.payload,typeof Ct=="function"){rt=Ct.call(Un,rt,Ve);break e}rt=Ct;break e;case 3:Ct.flags=Ct.flags&-65537|128;case 0:if(Ct=zt.payload,Ve=typeof Ct=="function"?Ct.call(Un,rt,Ve):Ct,Ve==null)break e;rt=f({},rt,Ve);break e;case 2:Tc=!0}}Ve=ne.callback,Ve!==null&&(u.flags|=64,Ke&&(u.flags|=8192),Ke=C.callbacks,Ke===null?C.callbacks=[Ve]:Ke.push(Ve))}else Ke={lane:Ve,tag:ne.tag,payload:ne.payload,callback:ne.callback,next:null},Qe===null?(ze=Qe=Ke,_e=rt):Qe=Qe.next=Ke,V|=Ve;if(ne=ne.next,ne===null){if(ne=C.shared.pending,ne===null)break;Ke=ne,ne=Ke.next,Ke.next=null,C.lastBaseUpdate=Ke,C.shared.pending=null}}while(!0);Qe===null&&(_e=rt),C.baseState=_e,C.firstBaseUpdate=ze,C.lastBaseUpdate=Qe,D===null&&(C.shared.lanes=0),kc|=V,u.lanes=V,u.memoizedState=rt}}function xL(u,h){if(typeof u!="function")throw Error(i(191,u));u.call(h)}function vL(u,h){var v=u.callbacks;if(v!==null)for(u.callbacks=null,u=0;uD?D:8;var V=q.T,ne={};q.T=ne,jM(u,!1,h,v);try{var _e=C(),ze=q.S;if(ze!==null&&ze(ne,_e),_e!==null&&typeof _e=="object"&&typeof _e.then=="function"){var Qe=uJ(_e,S);Gm(u,h,Qe,Xa(u))}else Gm(u,h,S,Xa(u))}catch(rt){Gm(u,h,{then:function(){},status:"rejected",reason:rt},Xa())}finally{W.p=D,V!==null&&ne.types!==null&&(V.types=ne.types),q.T=V}}function gJ(){}function FM(u,h,v,S){if(u.tag!==5)throw Error(i(476));var C=YL(u).queue;KL(u,C,h,K,v===null?gJ:function(){return ZL(u),v(S)})}function YL(u){var h=u.memoizedState;if(h!==null)return h;h={memoizedState:K,baseState:K,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:cl,lastRenderedState:K},next:null};var v={};return h.next={memoizedState:v,baseState:v,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:cl,lastRenderedState:v},next:null},u.memoizedState=h,u=u.alternate,u!==null&&(u.memoizedState=h),h}function ZL(u){var h=YL(u);h.next===null&&(h=u.alternate.memoizedState),Gm(u,h.next.queue,{},Xa())}function zM(){return Rr(og)}function QL(){return Ci().memoizedState}function JL(){return Ci().memoizedState}function xJ(u){for(var h=u.return;h!==null;){switch(h.tag){case 24:case 3:var v=Xa();u=Cc(v);var S=Nc(h,u,v);S!==null&&(Ma(S,h,v),zm(S,h,v)),h={cache:pM()},u.payload=h;return}h=h.return}}function vJ(u,h,v){var S=Xa();v={lane:S,revertLane:0,gesture:null,action:v,hasEagerState:!1,eagerState:null,next:null},Sv(u)?tI(h,v):(v=iM(u,h,v,S),v!==null&&(Ma(v,u,S),nI(v,h,S)))}function eI(u,h,v){var S=Xa();Gm(u,h,v,S)}function Gm(u,h,v,S){var C={lane:S,revertLane:0,gesture:null,action:v,hasEagerState:!1,eagerState:null,next:null};if(Sv(u))tI(h,C);else{var D=u.alternate;if(u.lanes===0&&(D===null||D.lanes===0)&&(D=h.lastRenderedReducer,D!==null))try{var V=h.lastRenderedState,ne=D(V,v);if(C.hasEagerState=!0,C.eagerState=ne,Ha(ne,V))return nv(u,h,C,0),Wn===null&&tv(),!1}catch{}finally{}if(v=iM(u,h,C,S),v!==null)return Ma(v,u,S),nI(v,h,S),!0}return!1}function jM(u,h,v,S){if(S={lane:2,revertLane:vE(),gesture:null,action:S,hasEagerState:!1,eagerState:null,next:null},Sv(u)){if(h)throw Error(i(479))}else h=iM(u,v,S,2),h!==null&&Ma(h,u,2)}function Sv(u){var h=u.alternate;return u===qt||h!==null&&h===qt}function tI(u,h){th=mv=!0;var v=u.pending;v===null?h.next=h:(h.next=v.next,v.next=h),u.pending=h}function nI(u,h,v){if((v&4194048)!==0){var S=h.lanes;S&=u.pendingLanes,v|=S,h.lanes=v,$n(u,v)}}var $m={readContext:Rr,use:vv,useCallback:vi,useContext:vi,useEffect:vi,useImperativeHandle:vi,useLayoutEffect:vi,useInsertionEffect:vi,useMemo:vi,useReducer:vi,useRef:vi,useState:vi,useDebugValue:vi,useDeferredValue:vi,useTransition:vi,useSyncExternalStore:vi,useId:vi,useHostTransitionStatus:vi,useFormState:vi,useActionState:vi,useOptimistic:vi,useMemoCache:vi,useCacheRefresh:vi};$m.useEffectEvent=vi;var iI={readContext:Rr,use:vv,useCallback:function(u,h){return aa().memoizedState=[u,h===void 0?null:h],u},useContext:Rr,useEffect:jL,useImperativeHandle:function(u,h,v){v=v!=null?v.concat([u]):null,bv(4194308,4,GL.bind(null,h,u),v)},useLayoutEffect:function(u,h){return bv(4194308,4,u,h)},useInsertionEffect:function(u,h){bv(4,2,u,h)},useMemo:function(u,h){var v=aa();h=h===void 0?null:h;var S=u();if(md){ht(!0);try{u()}finally{ht(!1)}}return v.memoizedState=[S,h],S},useReducer:function(u,h,v){var S=aa();if(v!==void 0){var C=v(h);if(md){ht(!0);try{v(h)}finally{ht(!1)}}}else C=h;return S.memoizedState=S.baseState=C,u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:u,lastRenderedState:C},S.queue=u,u=u.dispatch=vJ.bind(null,qt,u),[S.memoizedState,u]},useRef:function(u){var h=aa();return u={current:u},h.memoizedState=u},useState:function(u){u=OM(u);var h=u.queue,v=eI.bind(null,qt,h);return h.dispatch=v,[u.memoizedState,v]},useDebugValue:IM,useDeferredValue:function(u,h){var v=aa();return UM(v,u,h)},useTransition:function(){var u=OM(!1);return u=KL.bind(null,qt,u.queue,!0,!1),aa().memoizedState=u,[!1,u]},useSyncExternalStore:function(u,h,v){var S=qt,C=aa();if(mn){if(v===void 0)throw Error(i(407));v=v()}else{if(v=h(),Wn===null)throw Error(i(349));(fn&127)!==0||ML(S,h,v)}C.memoizedState=v;var D={value:v,getSnapshot:h};return C.queue=D,jL(AL.bind(null,S,D,u),[u]),S.flags|=2048,ih(9,{destroy:void 0},EL.bind(null,S,D,v,h),null),v},useId:function(){var u=aa(),h=Wn.identifierPrefix;if(mn){var v=Mo,S=wo;v=(S&~(1<<32-et(S)-1)).toString(32)+v,h="_"+h+"R_"+v,v=gv++,0<\/script>",D=D.removeChild(D.firstChild);break;case"select":D=typeof S.is=="string"?V.createElement("select",{is:S.is}):V.createElement("select"),S.multiple?D.multiple=!0:S.size&&(D.size=S.size);break;default:D=typeof S.is=="string"?V.createElement(C,{is:S.is}):V.createElement(C)}}D[di]=h,D[Ei]=S;e:for(V=h.child;V!==null;){if(V.tag===5||V.tag===6)D.appendChild(V.stateNode);else if(V.tag!==4&&V.tag!==27&&V.child!==null){V.child.return=V,V=V.child;continue}if(V===h)break e;for(;V.sibling===null;){if(V.return===null||V.return===h)break e;V=V.return}V.sibling.return=V.return,V=V.sibling}h.stateNode=D;e:switch(Dr(D,C,S),C){case"button":case"input":case"select":case"textarea":S=!!S.autoFocus;break e;case"img":S=!0;break e;default:S=!1}S&&dl(h)}}return ei(h),eE(h,h.type,u===null?null:u.memoizedProps,h.pendingProps,v),null;case 6:if(u&&h.stateNode!=null)u.memoizedProps!==S&&dl(h);else{if(typeof S!="string"&&h.stateNode===null)throw Error(i(166));if(u=me.current,Xf(h)){if(u=h.stateNode,v=h.memoizedProps,S=null,C=Nr,C!==null)switch(C.tag){case 27:case 5:S=C.memoizedProps}u[di]=h,u=!!(u.nodeValue===v||S!==null&&S.suppressHydrationWarning===!0||SU(u.nodeValue,v)),u||Ec(h,!0)}else u=Hv(u).createTextNode(S),u[di]=h,h.stateNode=u}return ei(h),null;case 31:if(v=h.memoizedState,u===null||u.memoizedState!==null){if(S=Xf(h),v!==null){if(u===null){if(!S)throw Error(i(318));if(u=h.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(i(557));u[di]=h}else ld(),(h.flags&128)===0&&(h.memoizedState=null),h.flags|=4;ei(h),u=!1}else v=uM(),u!==null&&u.memoizedState!==null&&(u.memoizedState.hydrationErrors=v),u=!0;if(!u)return h.flags&256?($a(h),h):($a(h),null);if((h.flags&128)!==0)throw Error(i(558))}return ei(h),null;case 13:if(S=h.memoizedState,u===null||u.memoizedState!==null&&u.memoizedState.dehydrated!==null){if(C=Xf(h),S!==null&&S.dehydrated!==null){if(u===null){if(!C)throw Error(i(318));if(C=h.memoizedState,C=C!==null?C.dehydrated:null,!C)throw Error(i(317));C[di]=h}else ld(),(h.flags&128)===0&&(h.memoizedState=null),h.flags|=4;ei(h),C=!1}else C=uM(),u!==null&&u.memoizedState!==null&&(u.memoizedState.hydrationErrors=C),C=!0;if(!C)return h.flags&256?($a(h),h):($a(h),null)}return $a(h),(h.flags&128)!==0?(h.lanes=v,h):(v=S!==null,u=u!==null&&u.memoizedState!==null,v&&(S=h.child,C=null,S.alternate!==null&&S.alternate.memoizedState!==null&&S.alternate.memoizedState.cachePool!==null&&(C=S.alternate.memoizedState.cachePool.pool),D=null,S.memoizedState!==null&&S.memoizedState.cachePool!==null&&(D=S.memoizedState.cachePool.pool),D!==C&&(S.flags|=2048)),v!==u&&v&&(h.child.flags|=8192),Tv(h,h.updateQueue),ei(h),null);case 4:return he(),u===null&&SE(h.stateNode.containerInfo),ei(h),null;case 10:return ol(h.type),ei(h),null;case 19:if(X(Ti),S=h.memoizedState,S===null)return ei(h),null;if(C=(h.flags&128)!==0,D=S.rendering,D===null)if(C)qm(S,!1);else{if(yi!==0||u!==null&&(u.flags&128)!==0)for(u=h.child;u!==null;){if(D=pv(u),D!==null){for(h.flags|=128,qm(S,!1),u=D.updateQueue,h.updateQueue=u,Tv(h,u),h.subtreeFlags=0,u=v,v=h.child;v!==null;)eL(v,u),v=v.sibling;return re(Ti,Ti.current&1|2),mn&&al(h,S.treeForkCount),h.child}u=u.sibling}S.tail!==null&&k()>Dv&&(h.flags|=128,C=!0,qm(S,!1),h.lanes=4194304)}else{if(!C)if(u=pv(D),u!==null){if(h.flags|=128,C=!0,u=u.updateQueue,h.updateQueue=u,Tv(h,u),qm(S,!0),S.tail===null&&S.tailMode==="hidden"&&!D.alternate&&!mn)return ei(h),null}else 2*k()-S.renderingStartTime>Dv&&v!==536870912&&(h.flags|=128,C=!0,qm(S,!1),h.lanes=4194304);S.isBackwards?(D.sibling=h.child,h.child=D):(u=S.last,u!==null?u.sibling=D:h.child=D,S.last=D)}return S.tail!==null?(u=S.tail,S.rendering=u,S.tail=u.sibling,S.renderingStartTime=k(),u.sibling=null,v=Ti.current,re(Ti,C?v&1|2:v&1),mn&&al(h,S.treeForkCount),u):(ei(h),null);case 22:case 23:return $a(h),wM(),S=h.memoizedState!==null,u!==null?u.memoizedState!==null!==S&&(h.flags|=8192):S&&(h.flags|=8192),S?(v&536870912)!==0&&(h.flags&128)===0&&(ei(h),h.subtreeFlags&6&&(h.flags|=8192)):ei(h),v=h.updateQueue,v!==null&&Tv(h,v.retryQueue),v=null,u!==null&&u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(v=u.memoizedState.cachePool.pool),S=null,h.memoizedState!==null&&h.memoizedState.cachePool!==null&&(S=h.memoizedState.cachePool.pool),S!==v&&(h.flags|=2048),u!==null&&X(dd),null;case 24:return v=null,u!==null&&(v=u.memoizedState.cache),h.memoizedState.cache!==v&&(h.flags|=2048),ol(ki),ei(h),null;case 25:return null;case 30:return null}throw Error(i(156,h.tag))}function wJ(u,h){switch(lM(h),h.tag){case 1:return u=h.flags,u&65536?(h.flags=u&-65537|128,h):null;case 3:return ol(ki),he(),u=h.flags,(u&65536)!==0&&(u&128)===0?(h.flags=u&-65537|128,h):null;case 26:case 27:case 5:return je(h),null;case 31:if(h.memoizedState!==null){if($a(h),h.alternate===null)throw Error(i(340));ld()}return u=h.flags,u&65536?(h.flags=u&-65537|128,h):null;case 13:if($a(h),u=h.memoizedState,u!==null&&u.dehydrated!==null){if(h.alternate===null)throw Error(i(340));ld()}return u=h.flags,u&65536?(h.flags=u&-65537|128,h):null;case 19:return X(Ti),null;case 4:return he(),null;case 10:return ol(h.type),null;case 22:case 23:return $a(h),wM(),u!==null&&X(dd),u=h.flags,u&65536?(h.flags=u&-65537|128,h):null;case 24:return ol(ki),null;case 25:return null;default:return null}}function TI(u,h){switch(lM(h),h.tag){case 3:ol(ki),he();break;case 26:case 27:case 5:je(h);break;case 4:he();break;case 31:h.memoizedState!==null&&$a(h);break;case 13:$a(h);break;case 19:X(Ti);break;case 10:ol(h.type);break;case 22:case 23:$a(h),wM(),u!==null&&X(dd);break;case 24:ol(ki)}}function Xm(u,h){try{var v=h.updateQueue,S=v!==null?v.lastEffect:null;if(S!==null){var C=S.next;v=C;do{if((v.tag&u)===u){S=void 0;var D=v.create,V=v.inst;S=D(),V.destroy=S}v=v.next}while(v!==C)}}catch(ne){Pn(h,h.return,ne)}}function Dc(u,h,v){try{var S=h.updateQueue,C=S!==null?S.lastEffect:null;if(C!==null){var D=C.next;S=D;do{if((S.tag&u)===u){var V=S.inst,ne=V.destroy;if(ne!==void 0){V.destroy=void 0,C=h;var _e=v,ze=ne;try{ze()}catch(Qe){Pn(C,_e,Qe)}}}S=S.next}while(S!==D)}}catch(Qe){Pn(h,h.return,Qe)}}function CI(u){var h=u.updateQueue;if(h!==null){var v=u.stateNode;try{vL(h,v)}catch(S){Pn(u,u.return,S)}}}function NI(u,h,v){v.props=gd(u.type,u.memoizedProps),v.state=u.memoizedState;try{v.componentWillUnmount()}catch(S){Pn(u,h,S)}}function Km(u,h){try{var v=u.ref;if(v!==null){switch(u.tag){case 26:case 27:case 5:var S=u.stateNode;break;case 30:S=u.stateNode;break;default:S=u.stateNode}typeof v=="function"?u.refCleanup=v(S):v.current=S}}catch(C){Pn(u,h,C)}}function Eo(u,h){var v=u.ref,S=u.refCleanup;if(v!==null)if(typeof S=="function")try{S()}catch(C){Pn(u,h,C)}finally{u.refCleanup=null,u=u.alternate,u!=null&&(u.refCleanup=null)}else if(typeof v=="function")try{v(null)}catch(C){Pn(u,h,C)}else v.current=null}function RI(u){var h=u.type,v=u.memoizedProps,S=u.stateNode;try{e:switch(h){case"button":case"input":case"select":case"textarea":v.autoFocus&&S.focus();break e;case"img":v.src?S.src=v.src:v.srcSet&&(S.srcset=v.srcSet)}}catch(C){Pn(u,u.return,C)}}function tE(u,h,v){try{var S=u.stateNode;$J(S,u.type,v,h),S[Ei]=h}catch(C){Pn(u,u.return,C)}}function PI(u){return u.tag===5||u.tag===3||u.tag===26||u.tag===27&&zc(u.type)||u.tag===4}function nE(u){e:for(;;){for(;u.sibling===null;){if(u.return===null||PI(u.return))return null;u=u.return}for(u.sibling.return=u.return,u=u.sibling;u.tag!==5&&u.tag!==6&&u.tag!==18;){if(u.tag===27&&zc(u.type)||u.flags&2||u.child===null||u.tag===4)continue e;u.child.return=u,u=u.child}if(!(u.flags&2))return u.stateNode}}function iE(u,h,v){var S=u.tag;if(S===5||S===6)u=u.stateNode,h?(v.nodeType===9?v.body:v.nodeName==="HTML"?v.ownerDocument.body:v).insertBefore(u,h):(h=v.nodeType===9?v.body:v.nodeName==="HTML"?v.ownerDocument.body:v,h.appendChild(u),v=v._reactRootContainer,v!=null||h.onclick!==null||(h.onclick=nl));else if(S!==4&&(S===27&&zc(u.type)&&(v=u.stateNode,h=null),u=u.child,u!==null))for(iE(u,h,v),u=u.sibling;u!==null;)iE(u,h,v),u=u.sibling}function Cv(u,h,v){var S=u.tag;if(S===5||S===6)u=u.stateNode,h?v.insertBefore(u,h):v.appendChild(u);else if(S!==4&&(S===27&&zc(u.type)&&(v=u.stateNode),u=u.child,u!==null))for(Cv(u,h,v),u=u.sibling;u!==null;)Cv(u,h,v),u=u.sibling}function DI(u){var h=u.stateNode,v=u.memoizedProps;try{for(var S=u.type,C=h.attributes;C.length;)h.removeAttributeNode(C[0]);Dr(h,S,v),h[di]=u,h[Ei]=v}catch(D){Pn(u,u.return,D)}}var fl=!1,Ui=!1,rE=!1,OI=typeof WeakSet=="function"?WeakSet:Set,mr=null;function MJ(u,h){if(u=u.containerInfo,EE=Kv,u=$k(u),Zw(u)){if("selectionStart"in u)var v={start:u.selectionStart,end:u.selectionEnd};else e:{v=(v=u.ownerDocument)&&v.defaultView||window;var S=v.getSelection&&v.getSelection();if(S&&S.rangeCount!==0){v=S.anchorNode;var C=S.anchorOffset,D=S.focusNode;S=S.focusOffset;try{v.nodeType,D.nodeType}catch{v=null;break e}var V=0,ne=-1,_e=-1,ze=0,Qe=0,rt=u,Ve=null;t:for(;;){for(var Ke;rt!==v||C!==0&&rt.nodeType!==3||(ne=V+C),rt!==D||S!==0&&rt.nodeType!==3||(_e=V+S),rt.nodeType===3&&(V+=rt.nodeValue.length),(Ke=rt.firstChild)!==null;)Ve=rt,rt=Ke;for(;;){if(rt===u)break t;if(Ve===v&&++ze===C&&(ne=V),Ve===D&&++Qe===S&&(_e=V),(Ke=rt.nextSibling)!==null)break;rt=Ve,Ve=rt.parentNode}rt=Ke}v=ne===-1||_e===-1?null:{start:ne,end:_e}}else v=null}v=v||{start:0,end:0}}else v=null;for(AE={focusedElem:u,selectionRange:v},Kv=!1,mr=h;mr!==null;)if(h=mr,u=h.child,(h.subtreeFlags&1028)!==0&&u!==null)u.return=h,mr=u;else for(;mr!==null;){switch(h=mr,D=h.alternate,u=h.flags,h.tag){case 0:if((u&4)!==0&&(u=h.updateQueue,u=u!==null?u.events:null,u!==null))for(v=0;v title"))),Dr(D,S,v),D[di]=u,Te(D),S=D;break e;case"link":var V=zU("link","href",C).get(S+(v.href||""));if(V){for(var ne=0;neUn&&(V=Un,Un=zt,zt=V);var Oe=Vk(ne,zt),Ee=Vk(ne,Un);if(Oe&&Ee&&(Ke.rangeCount!==1||Ke.anchorNode!==Oe.node||Ke.anchorOffset!==Oe.offset||Ke.focusNode!==Ee.node||Ke.focusOffset!==Ee.offset)){var Fe=rt.createRange();Fe.setStart(Oe.node,Oe.offset),Ke.removeAllRanges(),zt>Un?(Ke.addRange(Fe),Ke.extend(Ee.node,Ee.offset)):(Fe.setEnd(Ee.node,Ee.offset),Ke.addRange(Fe))}}}}for(rt=[],Ke=ne;Ke=Ke.parentNode;)Ke.nodeType===1&&rt.push({element:Ke,left:Ke.scrollLeft,top:Ke.scrollTop});for(typeof ne.focus=="function"&&ne.focus(),ne=0;nev?32:v,q.T=null,v=dE,dE=null;var D=Ic,V=xl;if(Zi=0,lh=Ic=null,xl=0,(An&6)!==0)throw Error(i(331));var ne=An;if(An|=4,GI(D.current),BI(D,D.current,V,v),An=ne,tg(0,!1),Re&&typeof Re.onPostCommitFiberRoot=="function")try{Re.onPostCommitFiberRoot(Ie,D)}catch{}return!0}finally{W.p=C,q.T=S,lU(u,h)}}function uU(u,h,v){h=fs(v,h),h=GM(u.stateNode,h,2),u=Nc(u,h,2),u!==null&&(nn(u,2),Ao(u))}function Pn(u,h,v){if(u.tag===3)uU(u,u,v);else for(;h!==null;){if(h.tag===3){uU(h,u,v);break}else if(h.tag===1){var S=h.stateNode;if(typeof h.type.getDerivedStateFromError=="function"||typeof S.componentDidCatch=="function"&&(Lc===null||!Lc.has(S))){u=fs(v,u),v=dI(2),S=Nc(h,v,2),S!==null&&(fI(v,S,h,u),nn(S,2),Ao(S));break}}h=h.return}}function mE(u,h,v){var S=u.pingCache;if(S===null){S=u.pingCache=new TJ;var C=new Set;S.set(h,C)}else C=S.get(h),C===void 0&&(C=new Set,S.set(h,C));C.has(v)||(oE=!0,C.add(v),u=DJ.bind(null,u,h,v),h.then(u,u))}function DJ(u,h,v){var S=u.pingCache;S!==null&&S.delete(h),u.pingedLanes|=u.suspendedLanes&v,u.warmLanes&=~v,Wn===u&&(fn&v)===v&&(yi===4||yi===3&&(fn&62914560)===fn&&300>k()-Pv?(An&2)===0&&ch(u,0):lE|=v,oh===fn&&(oh=0)),Ao(u)}function dU(u,h){h===0&&(h=yt()),u=sd(u,h),u!==null&&(nn(u,h),Ao(u))}function OJ(u){var h=u.memoizedState,v=0;h!==null&&(v=h.retryLane),dU(u,v)}function kJ(u,h){var v=0;switch(u.tag){case 31:case 13:var S=u.stateNode,C=u.memoizedState;C!==null&&(v=C.retryLane);break;case 19:S=u.stateNode;break;case 22:S=u.stateNode._retryCache;break;default:throw Error(i(314))}S!==null&&S.delete(h),dU(u,v)}function LJ(u,h){return Pe(u,h)}var Fv=null,dh=null,gE=!1,zv=!1,xE=!1,Fc=0;function Ao(u){u!==dh&&u.next===null&&(dh===null?Fv=dh=u:dh=dh.next=u),zv=!0,gE||(gE=!0,UJ())}function tg(u,h){if(!xE&&zv){xE=!0;do for(var v=!1,S=Fv;S!==null;){if(u!==0){var C=S.pendingLanes;if(C===0)var D=0;else{var V=S.suspendedLanes,ne=S.pingedLanes;D=(1<<31-et(42|u)+1)-1,D&=C&~(V&~ne),D=D&201326741?D&201326741|1:D?D|2:0}D!==0&&(v=!0,mU(S,D))}else D=fn,D=ge(S,S===Wn?D:0,S.cancelPendingCommit!==null||S.timeoutHandle!==-1),(D&3)===0||Be(S,D)||(v=!0,mU(S,D));S=S.next}while(v);xE=!1}}function IJ(){fU()}function fU(){zv=gE=!1;var u=0;Fc!==0&&qJ()&&(u=Fc);for(var h=k(),v=null,S=Fv;S!==null;){var C=S.next,D=hU(S,h);D===0?(S.next=null,v===null?Fv=C:v.next=C,C===null&&(dh=v)):(v=S,(u!==0||(D&3)!==0)&&(zv=!0)),S=C}Zi!==0&&Zi!==5||tg(u),Fc!==0&&(Fc=0)}function hU(u,h){for(var v=u.suspendedLanes,S=u.pingedLanes,C=u.expirationTimes,D=u.pendingLanes&-62914561;0ne)break;var Qe=_e.transferSize,rt=_e.initiatorType;Qe&&wU(rt)&&(_e=_e.responseEnd,V+=Qe*(_e"u"?null:document;function LU(u,h,v){var S=fh;if(S&&typeof h=="string"&&h){var C=Tn(h);C='link[rel="'+u+'"][href="'+C+'"]',typeof v=="string"&&(C+='[crossorigin="'+v+'"]'),kU.has(C)||(kU.add(C),u={rel:u,crossOrigin:v,href:h},S.querySelector(C)===null&&(h=S.createElement("link"),Dr(h,"link",u),Te(h),S.head.appendChild(h)))}}function nee(u){vl.D(u),LU("dns-prefetch",u,null)}function iee(u,h){vl.C(u,h),LU("preconnect",u,h)}function ree(u,h,v){vl.L(u,h,v);var S=fh;if(S&&u&&h){var C='link[rel="preload"][as="'+Tn(h)+'"]';h==="image"&&v&&v.imageSrcSet?(C+='[imagesrcset="'+Tn(v.imageSrcSet)+'"]',typeof v.imageSizes=="string"&&(C+='[imagesizes="'+Tn(v.imageSizes)+'"]')):C+='[href="'+Tn(u)+'"]';var D=C;switch(h){case"style":D=hh(u);break;case"script":D=ph(u)}vs.has(D)||(u=f({rel:"preload",href:h==="image"&&v&&v.imageSrcSet?void 0:u,as:h},v),vs.set(D,u),S.querySelector(C)!==null||h==="style"&&S.querySelector(ag(D))||h==="script"&&S.querySelector(sg(D))||(h=S.createElement("link"),Dr(h,"link",u),Te(h),S.head.appendChild(h)))}}function aee(u,h){vl.m(u,h);var v=fh;if(v&&u){var S=h&&typeof h.as=="string"?h.as:"script",C='link[rel="modulepreload"][as="'+Tn(S)+'"][href="'+Tn(u)+'"]',D=C;switch(S){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":D=ph(u)}if(!vs.has(D)&&(u=f({rel:"modulepreload",href:u},h),vs.set(D,u),v.querySelector(C)===null)){switch(S){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(v.querySelector(sg(D)))return}S=v.createElement("link"),Dr(S,"link",u),Te(S),v.head.appendChild(S)}}}function see(u,h,v){vl.S(u,h,v);var S=fh;if(S&&u){var C=Ce(S).hoistableStyles,D=hh(u);h=h||"default";var V=C.get(D);if(!V){var ne={loading:0,preload:null};if(V=S.querySelector(ag(D)))ne.loading=5;else{u=f({rel:"stylesheet",href:u,"data-precedence":h},v),(v=vs.get(D))&&OE(u,v);var _e=V=S.createElement("link");Te(_e),Dr(_e,"link",u),_e._p=new Promise(function(ze,Qe){_e.onload=ze,_e.onerror=Qe}),_e.addEventListener("load",function(){ne.loading|=1}),_e.addEventListener("error",function(){ne.loading|=2}),ne.loading|=4,Gv(V,h,S)}V={type:"stylesheet",instance:V,count:1,state:ne},C.set(D,V)}}}function oee(u,h){vl.X(u,h);var v=fh;if(v&&u){var S=Ce(v).hoistableScripts,C=ph(u),D=S.get(C);D||(D=v.querySelector(sg(C)),D||(u=f({src:u,async:!0},h),(h=vs.get(C))&&kE(u,h),D=v.createElement("script"),Te(D),Dr(D,"link",u),v.head.appendChild(D)),D={type:"script",instance:D,count:1,state:null},S.set(C,D))}}function lee(u,h){vl.M(u,h);var v=fh;if(v&&u){var S=Ce(v).hoistableScripts,C=ph(u),D=S.get(C);D||(D=v.querySelector(sg(C)),D||(u=f({src:u,async:!0,type:"module"},h),(h=vs.get(C))&&kE(u,h),D=v.createElement("script"),Te(D),Dr(D,"link",u),v.head.appendChild(D)),D={type:"script",instance:D,count:1,state:null},S.set(C,D))}}function IU(u,h,v,S){var C=(C=me.current)?Vv(C):null;if(!C)throw Error(i(446));switch(u){case"meta":case"title":return null;case"style":return typeof v.precedence=="string"&&typeof v.href=="string"?(h=hh(v.href),v=Ce(C).hoistableStyles,S=v.get(h),S||(S={type:"style",instance:null,count:0,state:null},v.set(h,S)),S):{type:"void",instance:null,count:0,state:null};case"link":if(v.rel==="stylesheet"&&typeof v.href=="string"&&typeof v.precedence=="string"){u=hh(v.href);var D=Ce(C).hoistableStyles,V=D.get(u);if(V||(C=C.ownerDocument||C,V={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},D.set(u,V),(D=C.querySelector(ag(u)))&&!D._p&&(V.instance=D,V.state.loading=5),vs.has(u)||(v={rel:"preload",as:"style",href:v.href,crossOrigin:v.crossOrigin,integrity:v.integrity,media:v.media,hrefLang:v.hrefLang,referrerPolicy:v.referrerPolicy},vs.set(u,v),D||cee(C,u,v,V.state))),h&&S===null)throw Error(i(528,""));return V}if(h&&S!==null)throw Error(i(529,""));return null;case"script":return h=v.async,v=v.src,typeof v=="string"&&h&&typeof h!="function"&&typeof h!="symbol"?(h=ph(v),v=Ce(C).hoistableScripts,S=v.get(h),S||(S={type:"script",instance:null,count:0,state:null},v.set(h,S)),S):{type:"void",instance:null,count:0,state:null};default:throw Error(i(444,u))}}function hh(u){return'href="'+Tn(u)+'"'}function ag(u){return'link[rel="stylesheet"]['+u+"]"}function UU(u){return f({},u,{"data-precedence":u.precedence,precedence:null})}function cee(u,h,v,S){u.querySelector('link[rel="preload"][as="style"]['+h+"]")?S.loading=1:(h=u.createElement("link"),S.preload=h,h.addEventListener("load",function(){return S.loading|=1}),h.addEventListener("error",function(){return S.loading|=2}),Dr(h,"link",v),Te(h),u.head.appendChild(h))}function ph(u){return'[src="'+Tn(u)+'"]'}function sg(u){return"script[async]"+u}function FU(u,h,v){if(h.count++,h.instance===null)switch(h.type){case"style":var S=u.querySelector('style[data-href~="'+Tn(v.href)+'"]');if(S)return h.instance=S,Te(S),S;var C=f({},v,{"data-href":v.href,"data-precedence":v.precedence,href:null,precedence:null});return S=(u.ownerDocument||u).createElement("style"),Te(S),Dr(S,"style",C),Gv(S,v.precedence,u),h.instance=S;case"stylesheet":C=hh(v.href);var D=u.querySelector(ag(C));if(D)return h.state.loading|=4,h.instance=D,Te(D),D;S=UU(v),(C=vs.get(C))&&OE(S,C),D=(u.ownerDocument||u).createElement("link"),Te(D);var V=D;return V._p=new Promise(function(ne,_e){V.onload=ne,V.onerror=_e}),Dr(D,"link",S),h.state.loading|=4,Gv(D,v.precedence,u),h.instance=D;case"script":return D=ph(v.src),(C=u.querySelector(sg(D)))?(h.instance=C,Te(C),C):(S=v,(C=vs.get(D))&&(S=f({},v),kE(S,C)),u=u.ownerDocument||u,C=u.createElement("script"),Te(C),Dr(C,"link",S),u.head.appendChild(C),h.instance=C);case"void":return null;default:throw Error(i(443,h.type))}else h.type==="stylesheet"&&(h.state.loading&4)===0&&(S=h.instance,h.state.loading|=4,Gv(S,v.precedence,u));return h.instance}function Gv(u,h,v){for(var S=v.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),C=S.length?S[S.length-1]:null,D=C,V=0;V title"):null)}function uee(u,h,v){if(v===1||h.itemProp!=null)return!1;switch(u){case"meta":case"title":return!0;case"style":if(typeof h.precedence!="string"||typeof h.href!="string"||h.href==="")break;return!0;case"link":if(typeof h.rel!="string"||typeof h.href!="string"||h.href===""||h.onLoad||h.onError)break;switch(h.rel){case"stylesheet":return u=h.disabled,typeof h.precedence=="string"&&u==null;default:return!0}case"script":if(h.async&&typeof h.async!="function"&&typeof h.async!="symbol"&&!h.onLoad&&!h.onError&&h.src&&typeof h.src=="string")return!0}return!1}function BU(u){return!(u.type==="stylesheet"&&(u.state.loading&3)===0)}function dee(u,h,v,S){if(v.type==="stylesheet"&&(typeof S.media!="string"||matchMedia(S.media).matches!==!1)&&(v.state.loading&4)===0){if(v.instance===null){var C=hh(S.href),D=h.querySelector(ag(C));if(D){h=D._p,h!==null&&typeof h=="object"&&typeof h.then=="function"&&(u.count++,u=Wv.bind(u),h.then(u,u)),v.state.loading|=4,v.instance=D,Te(D);return}D=h.ownerDocument||h,S=UU(S),(C=vs.get(C))&&OE(S,C),D=D.createElement("link"),Te(D);var V=D;V._p=new Promise(function(ne,_e){V.onload=ne,V.onerror=_e}),Dr(D,"link",S),v.instance=D}u.stylesheets===null&&(u.stylesheets=new Map),u.stylesheets.set(v,h),(h=v.state.preload)&&(v.state.loading&3)===0&&(u.count++,v=Wv.bind(u),h.addEventListener("load",v),h.addEventListener("error",v))}}var LE=0;function fee(u,h){return u.stylesheets&&u.count===0&&Xv(u,u.stylesheets),0LE?50:800)+h);return u.unsuspend=v,function(){u.unsuspend=null,clearTimeout(S),clearTimeout(C)}}:null}function Wv(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Xv(this,this.stylesheets);else if(this.unsuspend){var u=this.unsuspend;this.unsuspend=null,u()}}}var qv=null;function Xv(u,h){u.stylesheets=null,u.unsuspend!==null&&(u.count++,qv=new Map,h.forEach(hee,u),qv=null,Wv.call(u))}function hee(u,h){if(!(h.state.loading&4)){var v=qv.get(u);if(v)var S=v.get(null);else{v=new Map,qv.set(u,v);for(var C=u.querySelectorAll("link[data-precedence],style[data-precedence]"),D=0;D"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),GE.exports=Ree(),GE.exports}var Dee=Pee();var d4="popstate";function Oee(t={}){function e(i,r){let{pathname:a,search:s,hash:o}=i.location;return PC("",{pathname:a,search:s,hash:o},r.state&&r.state.usr||null,r.state&&r.state.key||"default")}function n(i,r){return typeof r=="string"?r:m0(r)}return Lee(e,n,null,t)}function hi(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function go(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function kee(){return Math.random().toString(36).substring(2,10)}function f4(t,e){return{usr:t.state,key:t.key,idx:e}}function PC(t,e,n=null,i){return{pathname:typeof t=="string"?t:t.pathname,search:"",hash:"",...typeof e=="string"?em(e):e,state:n,key:e&&e.key||i||kee()}}function m0({pathname:t="/",search:e="",hash:n=""}){return e&&e!=="?"&&(t+=e.charAt(0)==="?"?e:"?"+e),n&&n!=="#"&&(t+=n.charAt(0)==="#"?n:"#"+n),t}function em(t){let e={};if(t){let n=t.indexOf("#");n>=0&&(e.hash=t.substring(n),t=t.substring(0,n));let i=t.indexOf("?");i>=0&&(e.search=t.substring(i),t=t.substring(0,i)),t&&(e.pathname=t)}return e}function Lee(t,e,n,i={}){let{window:r=document.defaultView,v5Compat:a=!1}=i,s=r.history,o="POP",l=null,c=d();c==null&&(c=0,s.replaceState({...s.state,idx:c},""));function d(){return(s.state||{idx:null}).idx}function f(){o="POP";let y=d(),g=y==null?null:y-c;c=y,l&&l({action:o,location:b.location,delta:g})}function p(y,g){o="PUSH";let M=PC(b.location,y,g);c=d()+1;let w=f4(M,c),A=b.createHref(M);try{s.pushState(w,"",A)}catch(E){if(E instanceof DOMException&&E.name==="DataCloneError")throw E;r.location.assign(A)}a&&l&&l({action:o,location:b.location,delta:1})}function m(y,g){o="REPLACE";let M=PC(b.location,y,g);c=d();let w=f4(M,c),A=b.createHref(M);s.replaceState(w,"",A),a&&l&&l({action:o,location:b.location,delta:0})}function _(y){return Iee(y)}let b={get action(){return o},get location(){return t(r,s)},listen(y){if(l)throw new Error("A history only accepts one active listener");return r.addEventListener(d4,f),l=y,()=>{r.removeEventListener(d4,f),l=null}},createHref(y){return e(r,y)},createURL:_,encodeLocation(y){let g=_(y);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:p,replace:m,go(y){return s.go(y)}};return b}function Iee(t,e=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),hi(n,"No window.location.(origin|href) available to create URL");let i=typeof t=="string"?t:m0(t);return i=i.replace(/ $/,"%20"),!e&&i.startsWith("//")&&(i=n+i),new URL(i,n)}function KV(t,e,n="/"){return Uee(t,e,n,!1)}function Uee(t,e,n,i){let r=typeof e=="string"?em(e):e,a=nc(r.pathname||"/",n);if(a==null)return null;let s=YV(t);Fee(s);let o=null;for(let l=0;o==null&&l{let d={relativePath:c===void 0?s.path||"":c,caseSensitive:s.caseSensitive===!0,childrenIndex:o,route:s};if(d.relativePath.startsWith("/")){if(!d.relativePath.startsWith(i)&&l)return;hi(d.relativePath.startsWith(i),`Absolute route path "${d.relativePath}" nested under path "${i}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),d.relativePath=d.relativePath.slice(i.length)}let f=Xl([i,d.relativePath]),p=n.concat(d);s.children&&s.children.length>0&&(hi(s.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${f}".`),YV(s.children,e,p,f,l)),!(s.path==null&&!s.index)&&e.push({path:f,score:$ee(f,s.index),routesMeta:p})};return t.forEach((s,o)=>{if(s.path===""||!s.path?.includes("?"))a(s,o);else for(let l of ZV(s.path))a(s,o,!0,l)}),e}function ZV(t){let e=t.split("/");if(e.length===0)return[];let[n,...i]=e,r=n.endsWith("?"),a=n.replace(/\?$/,"");if(i.length===0)return r?[a,""]:[a];let s=ZV(i.join("/")),o=[];return o.push(...s.map(l=>l===""?a:[a,l].join("/"))),r&&o.push(...s),o.map(l=>t.startsWith("/")&&l===""?"/":l)}function Fee(t){t.sort((e,n)=>e.score!==n.score?n.score-e.score:Wee(e.routesMeta.map(i=>i.childrenIndex),n.routesMeta.map(i=>i.childrenIndex)))}var zee=/^:[\w-]+$/,jee=3,Bee=2,Hee=1,Vee=10,Gee=-2,h4=t=>t==="*";function $ee(t,e){let n=t.split("/"),i=n.length;return n.some(h4)&&(i+=Gee),e&&(i+=Bee),n.filter(r=>!h4(r)).reduce((r,a)=>r+(zee.test(a)?jee:a===""?Hee:Vee),i)}function Wee(t,e){return t.length===e.length&&t.slice(0,-1).every((i,r)=>i===e[r])?t[t.length-1]-e[e.length-1]:0}function qee(t,e,n=!1){let{routesMeta:i}=t,r={},a="/",s=[];for(let o=0;o{if(d==="*"){let _=o[p]||"";s=a.slice(0,a.length-_.length).replace(/(.)\/+$/,"$1")}const m=o[p];return f&&!m?c[d]=void 0:c[d]=(m||"").replace(/%2F/g,"/"),c},{}),pathname:a,pathnameBase:s,pattern:t}}function Xee(t,e=!1,n=!0){go(t==="*"||!t.endsWith("*")||t.endsWith("/*"),`Route path "${t}" will be treated as if it were "${t.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${t.replace(/\*$/,"/*")}".`);let i=[],r="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,o,l)=>(i.push({paramName:o,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return t.endsWith("*")?(i.push({paramName:"*"}),r+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?r+="\\/*$":t!==""&&t!=="/"&&(r+="(?:(?=\\/|$))"),[new RegExp(r,e?void 0:"i"),i]}function Kee(t){try{return t.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return go(!1,`The URL path "${t}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${e}).`),t}}function nc(t,e){if(e==="/")return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let n=e.endsWith("/")?e.length-1:e.length,i=t.charAt(n);return i&&i!=="/"?null:t.slice(n)||"/"}var Yee=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Zee=t=>Yee.test(t);function Qee(t,e="/"){let{pathname:n,search:i="",hash:r=""}=typeof t=="string"?em(t):t,a;if(n)if(Zee(n))a=n;else{if(n.includes("//")){let s=n;n=n.replace(/\/\/+/g,"/"),go(!1,`Pathnames cannot have embedded double slashes - normalizing ${s} -> ${n}`)}n.startsWith("/")?a=p4(n.substring(1),"/"):a=p4(n,e)}else a=e;return{pathname:a,search:tte(i),hash:nte(r)}}function p4(t,e){let n=e.replace(/\/+$/,"").split("/");return t.split("/").forEach(r=>{r===".."?n.length>1&&n.pop():r!=="."&&n.push(r)}),n.length>1?n.join("/"):"/"}function XE(t,e,n,i){return`Cannot include a '${t}' character in a manually specified \`to.${e}\` field [${JSON.stringify(i)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function Jee(t){return t.filter((e,n)=>n===0||e.route.path&&e.route.path.length>0)}function QV(t){let e=Jee(t);return e.map((n,i)=>i===e.length-1?n.pathname:n.pathnameBase)}function JV(t,e,n,i=!1){let r;typeof t=="string"?r=em(t):(r={...t},hi(!r.pathname||!r.pathname.includes("?"),XE("?","pathname","search",r)),hi(!r.pathname||!r.pathname.includes("#"),XE("#","pathname","hash",r)),hi(!r.search||!r.search.includes("#"),XE("#","search","hash",r)));let a=t===""||r.pathname==="",s=a?"/":r.pathname,o;if(s==null)o=n;else{let f=e.length-1;if(!i&&s.startsWith("..")){let p=s.split("/");for(;p[0]==="..";)p.shift(),f-=1;r.pathname=p.join("/")}o=f>=0?e[f]:"/"}let l=Qee(r,o),c=s&&s!=="/"&&s.endsWith("/"),d=(a||s===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(c||d)&&(l.pathname+="/"),l}var Xl=t=>t.join("/").replace(/\/\/+/g,"/"),ete=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),tte=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,nte=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t;function ite(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var eG=["POST","PUT","PATCH","DELETE"];new Set(eG);var rte=["GET",...eG];new Set(rte);var tm=T.createContext(null);tm.displayName="DataRouter";var fS=T.createContext(null);fS.displayName="DataRouterState";T.createContext(!1);var tG=T.createContext({isTransitioning:!1});tG.displayName="ViewTransition";var ate=T.createContext(new Map);ate.displayName="Fetchers";var ste=T.createContext(null);ste.displayName="Await";var Zo=T.createContext(null);Zo.displayName="Navigation";var ax=T.createContext(null);ax.displayName="Location";var Qo=T.createContext({outlet:null,matches:[],isDataRoute:!1});Qo.displayName="Route";var I3=T.createContext(null);I3.displayName="RouteError";function ote(t,{relative:e}={}){hi(sx(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:i}=T.useContext(Zo),{hash:r,pathname:a,search:s}=ox(t,{relative:e}),o=a;return n!=="/"&&(o=a==="/"?n:Xl([n,a])),i.createHref({pathname:o,search:s,hash:r})}function sx(){return T.useContext(ax)!=null}function Xu(){return hi(sx(),"useLocation() may be used only in the context of a component."),T.useContext(ax).location}var nG="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function iG(t){T.useContext(Zo).static||T.useLayoutEffect(t)}function rG(){let{isDataRoute:t}=T.useContext(Qo);return t?Ste():lte()}function lte(){hi(sx(),"useNavigate() may be used only in the context of a component.");let t=T.useContext(tm),{basename:e,navigator:n}=T.useContext(Zo),{matches:i}=T.useContext(Qo),{pathname:r}=Xu(),a=JSON.stringify(QV(i)),s=T.useRef(!1);return iG(()=>{s.current=!0}),T.useCallback((l,c={})=>{if(go(s.current,nG),!s.current)return;if(typeof l=="number"){n.go(l);return}let d=JV(l,JSON.parse(a),r,c.relative==="path");t==null&&e!=="/"&&(d.pathname=d.pathname==="/"?e:Xl([e,d.pathname])),(c.replace?n.replace:n.push)(d,c.state,c)},[e,n,a,r,t])}var cte=T.createContext(null);function ute(t){let e=T.useContext(Qo).outlet;return T.useMemo(()=>e&&T.createElement(cte.Provider,{value:t},e),[e,t])}function ox(t,{relative:e}={}){let{matches:n}=T.useContext(Qo),{pathname:i}=Xu(),r=JSON.stringify(QV(n));return T.useMemo(()=>JV(t,JSON.parse(r),i,e==="path"),[t,r,i,e])}function dte(t,e){return aG(t,e)}function aG(t,e,n,i,r){hi(sx(),"useRoutes() may be used only in the context of a component.");let{navigator:a}=T.useContext(Zo),{matches:s}=T.useContext(Qo),o=s[s.length-1],l=o?o.params:{},c=o?o.pathname:"/",d=o?o.pathnameBase:"/",f=o&&o.route;{let M=f&&f.path||"";sG(c,!f||M.endsWith("*")||M.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${c}" (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 p=Xu(),m;if(e){let M=typeof e=="string"?em(e):e;hi(d==="/"||M.pathname?.startsWith(d),`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 "${d}" but pathname "${M.pathname}" was given in the \`location\` prop.`),m=M}else m=p;let _=m.pathname||"/",b=_;if(d!=="/"){let M=d.replace(/^\//,"").split("/");b="/"+_.replace(/^\//,"").split("/").slice(M.length).join("/")}let y=KV(t,{pathname:b});go(f||y!=null,`No routes matched location "${m.pathname}${m.search}${m.hash}" `),go(y==null||y[y.length-1].route.element!==void 0||y[y.length-1].route.Component!==void 0||y[y.length-1].route.lazy!==void 0,`Matched leaf route at location "${m.pathname}${m.search}${m.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 g=gte(y&&y.map(M=>Object.assign({},M,{params:Object.assign({},l,M.params),pathname:Xl([d,a.encodeLocation?a.encodeLocation(M.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:M.pathname]),pathnameBase:M.pathnameBase==="/"?d:Xl([d,a.encodeLocation?a.encodeLocation(M.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:M.pathnameBase])})),s,n,i,r);return e&&g?T.createElement(ax.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...m},navigationType:"POP"}},g):g}function fte(){let t=_te(),e=ite(t)?`${t.status} ${t.statusText}`:t instanceof Error?t.message:JSON.stringify(t),n=t instanceof Error?t.stack:null,i="rgba(200,200,200, 0.5)",r={padding:"0.5rem",backgroundColor:i},a={padding:"2px 4px",backgroundColor:i},s=null;return console.error("Error handled by React Router default ErrorBoundary:",t),s=T.createElement(T.Fragment,null,T.createElement("p",null,"💿 Hey developer 👋"),T.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",T.createElement("code",{style:a},"ErrorBoundary")," or"," ",T.createElement("code",{style:a},"errorElement")," prop on your route.")),T.createElement(T.Fragment,null,T.createElement("h2",null,"Unexpected Application Error!"),T.createElement("h3",{style:{fontStyle:"italic"}},e),n?T.createElement("pre",{style:r},n):null,s)}var hte=T.createElement(fte,null),pte=class extends T.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,e){return e.location!==t.location||e.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:e.error,location:e.location,revalidation:t.revalidation||e.revalidation}}componentDidCatch(t,e){this.props.onError?this.props.onError(t,e):console.error("React Router caught the following error during render",t)}render(){return this.state.error!==void 0?T.createElement(Qo.Provider,{value:this.props.routeContext},T.createElement(I3.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function mte({routeContext:t,match:e,children:n}){let i=T.useContext(tm);return i&&i.static&&i.staticContext&&(e.route.errorElement||e.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=e.route.id),T.createElement(Qo.Provider,{value:t},n)}function gte(t,e=[],n=null,i=null,r=null){if(t==null){if(!n)return null;if(n.errors)t=n.matches;else if(e.length===0&&!n.initialized&&n.matches.length>0)t=n.matches;else return null}let a=t,s=n?.errors;if(s!=null){let d=a.findIndex(f=>f.route.id&&s?.[f.route.id]!==void 0);hi(d>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(s).join(",")}`),a=a.slice(0,Math.min(a.length,d+1))}let o=!1,l=-1;if(n)for(let d=0;d=0?a=a.slice(0,l+1):a=[a[0]];break}}}let c=n&&i?(d,f)=>{i(d,{location:n.location,params:n.matches?.[0]?.params??{},errorInfo:f})}:void 0;return a.reduceRight((d,f,p)=>{let m,_=!1,b=null,y=null;n&&(m=s&&f.route.id?s[f.route.id]:void 0,b=f.route.errorElement||hte,o&&(l<0&&p===0?(sG("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),_=!0,y=null):l===p&&(_=!0,y=f.route.hydrateFallbackElement||null)));let g=e.concat(a.slice(0,p+1)),M=()=>{let w;return m?w=b:_?w=y:f.route.Component?w=T.createElement(f.route.Component,null):f.route.element?w=f.route.element:w=d,T.createElement(mte,{match:f,routeContext:{outlet:d,matches:g,isDataRoute:n!=null},children:w})};return n&&(f.route.ErrorBoundary||f.route.errorElement||p===0)?T.createElement(pte,{location:n.location,revalidation:n.revalidation,component:b,error:m,children:M(),routeContext:{outlet:null,matches:g,isDataRoute:!0},onError:c}):M()},null)}function U3(t){return`${t} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function xte(t){let e=T.useContext(tm);return hi(e,U3(t)),e}function vte(t){let e=T.useContext(fS);return hi(e,U3(t)),e}function yte(t){let e=T.useContext(Qo);return hi(e,U3(t)),e}function F3(t){let e=yte(t),n=e.matches[e.matches.length-1];return hi(n.route.id,`${t} can only be used on routes that contain a unique "id"`),n.route.id}function bte(){return F3("useRouteId")}function _te(){let t=T.useContext(I3),e=vte("useRouteError"),n=F3("useRouteError");return t!==void 0?t:e.errors?.[n]}function Ste(){let{router:t}=xte("useNavigate"),e=F3("useNavigate"),n=T.useRef(!1);return iG(()=>{n.current=!0}),T.useCallback(async(r,a={})=>{go(n.current,nG),n.current&&(typeof r=="number"?t.navigate(r):await t.navigate(r,{fromRouteId:e,...a}))},[t,e])}var m4={};function sG(t,e,n){!e&&!m4[t]&&(m4[t]=!0,go(!1,n))}T.memo(wte);function wte({routes:t,future:e,state:n,unstable_onError:i}){return aG(t,void 0,n,i,e)}function Mte(t){return ute(t.context)}function au(t){hi(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function Ete({basename:t="/",children:e=null,location:n,navigationType:i="POP",navigator:r,static:a=!1}){hi(!sx(),"You cannot render a inside another . You should never have more than one in your app.");let s=t.replace(/^\/*/,"/"),o=T.useMemo(()=>({basename:s,navigator:r,static:a,future:{}}),[s,r,a]);typeof n=="string"&&(n=em(n));let{pathname:l="/",search:c="",hash:d="",state:f=null,key:p="default"}=n,m=T.useMemo(()=>{let _=nc(l,s);return _==null?null:{location:{pathname:_,search:c,hash:d,state:f,key:p},navigationType:i}},[s,l,c,d,f,p,i]);return go(m!=null,` is not able to match the URL "${l}${c}${d}" because it does not start with the basename, so the won't render anything.`),m==null?null:T.createElement(Zo.Provider,{value:o},T.createElement(ax.Provider,{children:e,value:m}))}function Ate({children:t,location:e}){return dte(DC(t),e)}function DC(t,e=[]){let n=[];return T.Children.forEach(t,(i,r)=>{if(!T.isValidElement(i))return;let a=[...e,r];if(i.type===T.Fragment){n.push.apply(n,DC(i.props.children,a));return}hi(i.type===au,`[${typeof i.type=="string"?i.type:i.type.name}] is not a component. All component children of must be a or `),hi(!i.props.index||!i.props.children,"An index route cannot have child routes.");let s={id:i.props.id||a.join("-"),caseSensitive:i.props.caseSensitive,element:i.props.element,Component:i.props.Component,index:i.props.index,path:i.props.path,middleware:i.props.middleware,loader:i.props.loader,action:i.props.action,hydrateFallbackElement:i.props.hydrateFallbackElement,HydrateFallback:i.props.HydrateFallback,errorElement:i.props.errorElement,ErrorBoundary:i.props.ErrorBoundary,hasErrorBoundary:i.props.hasErrorBoundary===!0||i.props.ErrorBoundary!=null||i.props.errorElement!=null,shouldRevalidate:i.props.shouldRevalidate,handle:i.props.handle,lazy:i.props.lazy};i.props.children&&(s.children=DC(i.props.children,a)),n.push(s)}),n}var Lb="get",Ib="application/x-www-form-urlencoded";function hS(t){return t!=null&&typeof t.tagName=="string"}function Tte(t){return hS(t)&&t.tagName.toLowerCase()==="button"}function Cte(t){return hS(t)&&t.tagName.toLowerCase()==="form"}function Nte(t){return hS(t)&&t.tagName.toLowerCase()==="input"}function Rte(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function Pte(t,e){return t.button===0&&(!e||e==="_self")&&!Rte(t)}var iy=null;function Dte(){if(iy===null)try{new FormData(document.createElement("form"),0),iy=!1}catch{iy=!0}return iy}var Ote=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function KE(t){return t!=null&&!Ote.has(t)?(go(!1,`"${t}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${Ib}"`),null):t}function kte(t,e){let n,i,r,a,s;if(Cte(t)){let o=t.getAttribute("action");i=o?nc(o,e):null,n=t.getAttribute("method")||Lb,r=KE(t.getAttribute("enctype"))||Ib,a=new FormData(t)}else if(Tte(t)||Nte(t)&&(t.type==="submit"||t.type==="image")){let o=t.form;if(o==null)throw new Error('Cannot submit a