function mg(f,g){for(var d=0;dy[C]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}(function(){const g=document.createElement("link").relList;if(g&&g.supports&&g.supports("modulepreload"))return;for(const C of document.querySelectorAll('link[rel="modulepreload"]'))y(C);new MutationObserver(C=>{for(const E of C)if(E.type==="childList")for(const O of E.addedNodes)O.tagName==="LINK"&&O.rel==="modulepreload"&&y(O)}).observe(document,{childList:!0,subtree:!0});function d(C){const E={};return C.integrity&&(E.integrity=C.integrity),C.referrerPolicy&&(E.referrerPolicy=C.referrerPolicy),C.crossOrigin==="use-credentials"?E.credentials="include":C.crossOrigin==="anonymous"?E.credentials="omit":E.credentials="same-origin",E}function y(C){if(C.ep)return;C.ep=!0;const E=d(C);fetch(C.href,E)}})();var $o=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function dd(f){return f&&f.__esModule&&Object.prototype.hasOwnProperty.call(f,"default")?f.default:f}var r1={exports:{}},Ts={};var Dh;function yg(){if(Dh)return Ts;Dh=1;var f=Symbol.for("react.transitional.element"),g=Symbol.for("react.fragment");function d(y,C,E){var O=null;if(E!==void 0&&(O=""+E),C.key!==void 0&&(O=""+C.key),"key"in C){E={};for(var R in C)R!=="key"&&(E[R]=C[R])}else E=C;return C=E.ref,{$$typeof:f,type:y,key:O,ref:C!==void 0?C:null,props:E}}return Ts.Fragment=g,Ts.jsx=d,Ts.jsxs=d,Ts}var Bh;function pg(){return Bh||(Bh=1,r1.exports=yg()),r1.exports}var G=pg(),l1={exports:{}},vs={},s1={exports:{}},o1={};var Lh;function Ag(){return Lh||(Lh=1,(function(f){function g(J,oe){var Oe=J.length;J.push(oe);e:for(;0>>1,Ke=J[Qe];if(0>>1;QeC(Ee,Oe))CeC(ke,Ee)?(J[Qe]=ke,J[Ce]=Oe,Qe=Ce):(J[Qe]=Ee,J[re]=Oe,Qe=re);else if(CeC(ke,Oe))J[Qe]=ke,J[Ce]=Oe,Qe=Ce;else break e}}return oe}function C(J,oe){var Oe=J.sortIndex-oe.sortIndex;return Oe!==0?Oe:J.id-oe.id}if(f.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var E=performance;f.unstable_now=function(){return E.now()}}else{var O=Date,R=O.now();f.unstable_now=function(){return O.now()-R}}var b=[],A=[],N=1,M=null,H=3,Z=!1,ee=!1,ie=!1,ae=!1,pe=typeof setTimeout=="function"?setTimeout:null,de=typeof clearTimeout=="function"?clearTimeout:null,ne=typeof setImmediate<"u"?setImmediate:null;function we(J){for(var oe=d(A);oe!==null;){if(oe.callback===null)y(A);else if(oe.startTime<=J)y(A),oe.sortIndex=oe.expirationTime,g(b,oe);else break;oe=d(A)}}function Pe(J){if(ie=!1,we(J),!ee)if(d(b)!==null)ee=!0,Be||(Be=!0,Ne());else{var oe=d(A);oe!==null&&q(Pe,oe.startTime-J)}}var Be=!1,le=-1,Re=5,fe=-1;function Gt(){return ae?!0:!(f.unstable_now()-feJ&&Gt());){var Qe=M.callback;if(typeof Qe=="function"){M.callback=null,H=M.priorityLevel;var Ke=Qe(M.expirationTime<=J);if(J=f.unstable_now(),typeof Ke=="function"){M.callback=Ke,we(J),oe=!0;break t}M===d(b)&&y(b),we(J)}else y(b);M=d(b)}if(M!==null)oe=!0;else{var F=d(A);F!==null&&q(Pe,F.startTime-J),oe=!1}}break e}finally{M=null,H=Oe,Z=!1}oe=void 0}}finally{oe?Ne():Be=!1}}}var Ne;if(typeof ne=="function")Ne=function(){ne(Ze)};else if(typeof MessageChannel<"u"){var We=new MessageChannel,at=We.port2;We.port1.onmessage=Ze,Ne=function(){at.postMessage(null)}}else Ne=function(){pe(Ze,0)};function q(J,oe){le=pe(function(){J(f.unstable_now())},oe)}f.unstable_IdlePriority=5,f.unstable_ImmediatePriority=1,f.unstable_LowPriority=4,f.unstable_NormalPriority=3,f.unstable_Profiling=null,f.unstable_UserBlockingPriority=2,f.unstable_cancelCallback=function(J){J.callback=null},f.unstable_forceFrameRate=function(J){0>J||125Qe?(J.sortIndex=Oe,g(A,J),d(b)===null&&J===d(A)&&(ie?(de(le),le=-1):ie=!0,q(Pe,Oe-Qe))):(J.sortIndex=Ke,g(b,J),ee||Z||(ee=!0,Be||(Be=!0,Ne()))),J},f.unstable_shouldYield=Gt,f.unstable_wrapCallback=function(J){var oe=H;return function(){var Oe=H;H=oe;try{return J.apply(this,arguments)}finally{H=Oe}}}})(o1)),o1}var Uh;function Eg(){return Uh||(Uh=1,s1.exports=Ag()),s1.exports}var u1={exports:{}},je={};var zh;function Cg(){if(zh)return je;zh=1;var f=Symbol.for("react.transitional.element"),g=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),y=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),E=Symbol.for("react.consumer"),O=Symbol.for("react.context"),R=Symbol.for("react.forward_ref"),b=Symbol.for("react.suspense"),A=Symbol.for("react.memo"),N=Symbol.for("react.lazy"),M=Symbol.for("react.activity"),H=Symbol.iterator;function Z(F){return F===null||typeof F!="object"?null:(F=H&&F[H]||F["@@iterator"],typeof F=="function"?F:null)}var ee={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ie=Object.assign,ae={};function pe(F,re,Ee){this.props=F,this.context=re,this.refs=ae,this.updater=Ee||ee}pe.prototype.isReactComponent={},pe.prototype.setState=function(F,re){if(typeof F!="object"&&typeof F!="function"&&F!=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,F,re,"setState")},pe.prototype.forceUpdate=function(F){this.updater.enqueueForceUpdate(this,F,"forceUpdate")};function de(){}de.prototype=pe.prototype;function ne(F,re,Ee){this.props=F,this.context=re,this.refs=ae,this.updater=Ee||ee}var we=ne.prototype=new de;we.constructor=ne,ie(we,pe.prototype),we.isPureReactComponent=!0;var Pe=Array.isArray;function Be(){}var le={H:null,A:null,T:null,S:null},Re=Object.prototype.hasOwnProperty;function fe(F,re,Ee){var Ce=Ee.ref;return{$$typeof:f,type:F,key:re,ref:Ce!==void 0?Ce:null,props:Ee}}function Gt(F,re){return fe(F.type,re,F.props)}function Ze(F){return typeof F=="object"&&F!==null&&F.$$typeof===f}function Ne(F){var re={"=":"=0",":":"=2"};return"$"+F.replace(/[=:]/g,function(Ee){return re[Ee]})}var We=/\/+/g;function at(F,re){return typeof F=="object"&&F!==null&&F.key!=null?Ne(""+F.key):re.toString(36)}function q(F){switch(F.status){case"fulfilled":return F.value;case"rejected":throw F.reason;default:switch(typeof F.status=="string"?F.then(Be,Be):(F.status="pending",F.then(function(re){F.status==="pending"&&(F.status="fulfilled",F.value=re)},function(re){F.status==="pending"&&(F.status="rejected",F.reason=re)})),F.status){case"fulfilled":return F.value;case"rejected":throw F.reason}}throw F}function J(F,re,Ee,Ce,ke){var Ae=typeof F;(Ae==="undefined"||Ae==="boolean")&&(F=null);var ct=!1;if(F===null)ct=!0;else switch(Ae){case"bigint":case"string":case"number":ct=!0;break;case"object":switch(F.$$typeof){case f:case g:ct=!0;break;case N:return ct=F._init,J(ct(F._payload),re,Ee,Ce,ke)}}if(ct)return ke=ke(F),ct=Ce===""?"."+at(F,0):Ce,Pe(ke)?(Ee="",ct!=null&&(Ee=ct.replace(We,"$&/")+"/"),J(ke,re,Ee,"",function(Ii){return Ii})):ke!=null&&(Ze(ke)&&(ke=Gt(ke,Ee+(ke.key==null||F&&F.key===ke.key?"":(""+ke.key).replace(We,"$&/")+"/")+ct)),re.push(ke)),1;ct=0;var ft=Ce===""?".":Ce+":";if(Pe(F))for(var Dt=0;Dt"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(f)}catch(g){console.error(g)}}return f(),c1.exports=wg(),c1.exports}var jh;function bg(){if(jh)return vs;jh=1;var f=Eg(),g=p1(),d=Sg();function y(e){var n="https://react.dev/errors/"+e;if(1Ke||(e.current=Qe[Ke],Qe[Ke]=null,Ke--)}function Ee(e,n){Ke++,Qe[Ke]=e.current,e.current=n}var Ce=F(null),ke=F(null),Ae=F(null),ct=F(null);function ft(e,n){switch(Ee(Ae,n),Ee(ke,e),Ee(Ce,null),n.nodeType){case 9:case 11:e=(e=n.documentElement)&&(e=e.namespaceURI)?nh(e):0;break;default:if(e=n.tagName,n=n.namespaceURI)n=nh(n),e=ih(n,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}re(Ce),Ee(Ce,e)}function Dt(){re(Ce),re(ke),re(Ae)}function Ii(e){e.memoizedState!==null&&Ee(ct,e);var n=Ce.current,r=ih(n,e.type);n!==r&&(Ee(ke,e),Ee(Ce,r))}function xn(e){ke.current===e&&(re(Ce),re(ke)),ct.current===e&&(re(ct),Cs._currentValue=Oe)}var Ma,ht;function Hn(e){if(Ma===void 0)try{throw Error()}catch(r){var n=r.stack.trim().match(/\n( *(at )?)/);Ma=n&&n[1]||"",ht=-1)":-1h||L[o]!==X[h]){var se=` `+L[o].replace(" at new "," at ");return e.displayName&&se.includes("")&&(se=se.replace("",e.displayName)),se}while(1<=o&&0<=h);break}}}finally{jn=!1,Error.prepareStackTrace=r}return(r=e?e.displayName||e.name:"")?Hn(r):""}function mn(e,n){switch(e.tag){case 26:case 27:case 5:return Hn(e.type);case 16:return Hn("Lazy");case 13:return e.child!==n&&n!==null?Hn("Suspense Fallback"):Hn("Suspense");case 19:return Hn("SuspenseList");case 0:case 15:return ta(e.type,!1);case 11:return ta(e.type.render,!1);case 1:return ta(e.type,!0);case 31:return Hn("Activity");default:return""}}function bt(e){try{var n="",r=null;do n+=mn(e,r),r=e,e=e.return;while(e);return n}catch(o){return` Error generating stack: `+o.message+` `+o.stack}}var $e=Object.prototype.hasOwnProperty,Ia=f.unstable_scheduleCallback,Te=f.unstable_cancelCallback,Pr=f.unstable_shouldYield,Bs=f.unstable_requestPaint,qt=f.unstable_now,Rl=f.unstable_getCurrentPriorityLevel,Pn=f.unstable_ImmediatePriority,Dl=f.unstable_UserBlockingPriority,Jn=f.unstable_NormalPriority,Tn=f.unstable_LowPriority,Bl=f.unstable_IdlePriority,Yr=f.log,cu=f.unstable_setDisableYieldValue,kt=null,ye=null;function It(e){if(typeof Yr=="function"&&cu(e),ye&&typeof ye.setStrictMode=="function")try{ye.setStrictMode(kt,e)}catch{}}var Ge=Math.clz32?Math.clz32:Ll,Vt=Math.log,gr=Math.LN2;function Ll(e){return e>>>=0,e===0?32:31-(Vt(e)/gr|0)|0}var xr=256,rt=262144,xi=4194304;function Pi(e){var n=e&42;if(n!==0)return n;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function mr(e,n,r){var o=e.pendingLanes;if(o===0)return 0;var h=0,m=e.suspendedLanes,S=e.pingedLanes;e=e.warmLanes;var _=o&134217727;return _!==0?(o=_&~m,o!==0?h=Pi(o):(S&=_,S!==0?h=Pi(S):r||(r=_&~e,r!==0&&(h=Pi(r))))):(_=o&~m,_!==0?h=Pi(_):S!==0?h=Pi(S):r||(r=o&~e,r!==0&&(h=Pi(r)))),h===0?0:n!==0&&n!==h&&(n&m)===0&&(m=h&-h,r=n&-n,m>=r||m===32&&(r&4194048)!==0)?n:h}function vn(e,n){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&n)===0}function Ul(e,n){switch(e){case 1:case 2:case 4:case 8:case 64:return n+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 n+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 yn(){var e=xi;return xi<<=1,(xi&62914560)===0&&(xi=4194304),e}function Yi(e){for(var n=[],r=0;31>r;r++)n.push(e);return n}function Gi(e,n){e.pendingLanes|=n,n!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function mi(e,n,r,o,h,m){var S=e.pendingLanes;e.pendingLanes=r,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=r,e.entangledLanes&=r,e.errorRecoveryDisabledLanes&=r,e.shellSuspendCounter=0;var _=e.entanglements,L=e.expirationTimes,X=e.hiddenUpdates;for(r=S&~r;0"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var Ba=/[\n"\\]/g;function Je(e){return e.replace(Ba,function(n){return"\\"+n.charCodeAt(0).toString(16)+" "})}function un(e,n,r,o,h,m,S,_){e.name="",S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?e.type=S:e.removeAttribute("type"),n!=null?S==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+xt(n)):e.value!==""+xt(n)&&(e.value=""+xt(n)):S!=="submit"&&S!=="reset"||e.removeAttribute("value"),n!=null?D(e,S,xt(n)):r!=null?D(e,S,xt(r)):o!=null&&e.removeAttribute("value"),h==null&&m!=null&&(e.defaultChecked=!!m),h!=null&&(e.checked=h&&typeof h!="function"&&typeof h!="symbol"),_!=null&&typeof _!="function"&&typeof _!="symbol"&&typeof _!="boolean"?e.name=""+xt(_):e.removeAttribute("name")}function Y(e,n,r,o,h,m,S,_){if(m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"&&(e.type=m),n!=null||r!=null){if(!(m!=="submit"&&m!=="reset"||n!=null)){Ft(e);return}r=r!=null?""+xt(r):"",n=n!=null?""+xt(n):r,_||n===e.value||(e.value=n),e.defaultValue=n}o=o??h,o=typeof o!="function"&&typeof o!="symbol"&&!!o,e.checked=_?e.checked:!!o,e.defaultChecked=!!o,S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"&&(e.name=S),Ft(e)}function D(e,n,r){n==="number"&&Xr(e.ownerDocument)===e||e.defaultValue===""+r||(e.defaultValue=""+r)}function Me(e,n,r,o){if(e=e.options,n){n={};for(var h=0;h"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Fl=!1;if(Lt)try{var na={};Object.defineProperty(na,"passive",{get:function(){Fl=!0}}),window.addEventListener("test",na,na),window.removeEventListener("test",na,na)}catch{Fl=!1}var Bi=null,Li=null,Zr=null;function za(){if(Zr)return Zr;var e,n=Li,r=n.length,o,h="value"in Bi?Bi.value:Bi.textContent,m=h.length;for(e=0;e=Ha),ra=" ",$r=!1;function Zs(e,n){switch(e){case"keyup":return Gs.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ja(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Pa=!1;function qi(e,n){switch(e){case"compositionend":return ja(n);case"keypress":return n.which!==32?null:($r=!0,ra);case"textInput":return e=n.data,e===ra&&$r?null:e;default:return null}}function el(e,n){if(Pa)return e==="compositionend"||!Cr&&Zs(e,n)?(e=za(),Zr=Li=Bi=null,Pa=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1=n)return{node:r,offset:n-e};e=o}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=x(r)}}function w(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?w(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function v(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var n=Xr(e.document);n instanceof e.HTMLIFrameElement;){try{var r=typeof n.contentWindow.location.href=="string"}catch{r=!1}if(r)e=n.contentWindow;else break;n=Xr(e.document)}return n}function I(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}var B=Lt&&"documentMode"in document&&11>=document.documentMode,U=null,z=null,P=null,W=!1;function me(e,n,r){var o=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;W||U==null||U!==Xr(o)||(o=U,"selectionStart"in o&&I(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),P&&c(P,o)||(P=o,o=ko(z,"onSelect"),0>=S,h-=S,Wi=1<<32-Ge(n)+h|r<Xe?(ot=Ie,Ie=null):ot=Ie.sibling;var yt=Q(j,Ie,V[Xe],ue);if(yt===null){Ie===null&&(Ie=ot);break}e&&Ie&&yt.alternate===null&&n(j,Ie),k=m(yt,k,Xe),mt===null?De=yt:mt.sibling=yt,mt=yt,Ie=ot}if(Xe===V.length)return r(j,Ie),ut&&ca(j,Xe),De;if(Ie===null){for(;XeXe?(ot=Ie,Ie=null):ot=Ie.sibling;var fr=Q(j,Ie,yt.value,ue);if(fr===null){Ie===null&&(Ie=ot);break}e&&Ie&&fr.alternate===null&&n(j,Ie),k=m(fr,k,Xe),mt===null?De=fr:mt.sibling=fr,mt=fr,Ie=ot}if(yt.done)return r(j,Ie),ut&&ca(j,Xe),De;if(Ie===null){for(;!yt.done;Xe++,yt=V.next())yt=ce(j,yt.value,ue),yt!==null&&(k=m(yt,k,Xe),mt===null?De=yt:mt.sibling=yt,mt=yt);return ut&&ca(j,Xe),De}for(Ie=o(Ie);!yt.done;Xe++,yt=V.next())yt=$(Ie,j,Xe,yt.value,ue),yt!==null&&(e&&yt.alternate!==null&&Ie.delete(yt.key===null?Xe:yt.key),k=m(yt,k,Xe),mt===null?De=yt:mt.sibling=yt,mt=yt);return e&&Ie.forEach(function(xg){return n(j,xg)}),ut&&ca(j,Xe),De}function Rt(j,k,V,ue){if(typeof V=="object"&&V!==null&&V.type===ie&&V.key===null&&(V=V.props.children),typeof V=="object"&&V!==null){switch(V.$$typeof){case Z:e:{for(var De=V.key;k!==null;){if(k.key===De){if(De=V.type,De===ie){if(k.tag===7){r(j,k.sibling),ue=h(k,V.props.children),ue.return=j,j=ue;break e}}else if(k.elementType===De||typeof De=="object"&&De!==null&&De.$$typeof===Re&&Rr(De)===k.type){r(j,k.sibling),ue=h(k,V.props),Jl(ue,V),ue.return=j,j=ue;break e}r(j,k);break}else n(j,k);k=k.sibling}V.type===ie?(ue=Nr(V.props.children,j.mode,ue,V.key),ue.return=j,j=ue):(ue=eo(V.type,V.key,V.props,null,j.mode,ue),Jl(ue,V),ue.return=j,j=ue)}return S(j);case ee:e:{for(De=V.key;k!==null;){if(k.key===De)if(k.tag===4&&k.stateNode.containerInfo===V.containerInfo&&k.stateNode.implementation===V.implementation){r(j,k.sibling),ue=h(k,V.children||[]),ue.return=j,j=ue;break e}else{r(j,k);break}else n(j,k);k=k.sibling}ue=Su(V,j.mode,ue),ue.return=j,j=ue}return S(j);case Re:return V=Rr(V),Rt(j,k,V,ue)}if(q(V))return ve(j,k,V,ue);if(Ne(V)){if(De=Ne(V),typeof De!="function")throw Error(y(150));return V=De.call(V),ze(j,k,V,ue)}if(typeof V.then=="function")return Rt(j,k,so(V),ue);if(V.$$typeof===ne)return Rt(j,k,io(j,V),ue);oo(j,V)}return typeof V=="string"&&V!==""||typeof V=="number"||typeof V=="bigint"?(V=""+V,k!==null&&k.tag===6?(r(j,k.sibling),ue=h(k,V),ue.return=j,j=ue):(r(j,k),ue=wu(V,j.mode,ue),ue.return=j,j=ue),S(j)):r(j,k)}return function(j,k,V,ue){try{Kl=0;var De=Rt(j,k,V,ue);return cl=null,De}catch(Ie){if(Ie===ul||Ie===ro)throw Ie;var mt=ri(29,Ie,null,j.mode);return mt.lanes=ue,mt.return=j,mt}finally{}}}var Br=X1(!0),Z1=X1(!1),Qa=!1;function Lu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Uu(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function qa(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Wa(e,n,r){var o=e.updateQueue;if(o===null)return null;if(o=o.shared,(Et&2)!==0){var h=o.pending;return h===null?n.next=n:(n.next=h.next,h.next=n),o.pending=n,n=$s(e),O1(e,null,r),n}return Js(e,o,n,r),$s(e)}function $l(e,n,r){if(n=n.updateQueue,n!==null&&(n=n.shared,(r&4194048)!==0)){var o=n.lanes;o&=e.pendingLanes,r|=o,n.lanes=r,Vi(e,r)}}function zu(e,n){var r=e.updateQueue,o=e.alternate;if(o!==null&&(o=o.updateQueue,r===o)){var h=null,m=null;if(r=r.firstBaseUpdate,r!==null){do{var S={lane:r.lane,tag:r.tag,payload:r.payload,callback:null,next:null};m===null?h=m=S:m=m.next=S,r=r.next}while(r!==null);m===null?h=m=n:m=m.next=n}else h=m=n;r={baseState:o.baseState,firstBaseUpdate:h,lastBaseUpdate:m,shared:o.shared,callbacks:o.callbacks},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=n:e.next=n,r.lastBaseUpdate=n}var ku=!1;function es(){if(ku){var e=ol;if(e!==null)throw e}}function ts(e,n,r,o){ku=!1;var h=e.updateQueue;Qa=!1;var m=h.firstBaseUpdate,S=h.lastBaseUpdate,_=h.shared.pending;if(_!==null){h.shared.pending=null;var L=_,X=L.next;L.next=null,S===null?m=X:S.next=X,S=L;var se=e.alternate;se!==null&&(se=se.updateQueue,_=se.lastBaseUpdate,_!==S&&(_===null?se.firstBaseUpdate=X:_.next=X,se.lastBaseUpdate=L))}if(m!==null){var ce=h.baseState;S=0,se=X=L=null,_=m;do{var Q=_.lane&-536870913,$=Q!==_.lane;if($?(st&Q)===Q:(o&Q)===Q){Q!==0&&Q===sl&&(ku=!0),se!==null&&(se=se.next={lane:0,tag:_.tag,payload:_.payload,callback:null,next:null});e:{var ve=e,ze=_;Q=n;var Rt=r;switch(ze.tag){case 1:if(ve=ze.payload,typeof ve=="function"){ce=ve.call(Rt,ce,Q);break e}ce=ve;break e;case 3:ve.flags=ve.flags&-65537|128;case 0:if(ve=ze.payload,Q=typeof ve=="function"?ve.call(Rt,ce,Q):ve,Q==null)break e;ce=M({},ce,Q);break e;case 2:Qa=!0}}Q=_.callback,Q!==null&&(e.flags|=64,$&&(e.flags|=8192),$=h.callbacks,$===null?h.callbacks=[Q]:$.push(Q))}else $={lane:Q,tag:_.tag,payload:_.payload,callback:_.callback,next:null},se===null?(X=se=$,L=ce):se=se.next=$,S|=Q;if(_=_.next,_===null){if(_=h.shared.pending,_===null)break;$=_,_=$.next,$.next=null,h.lastBaseUpdate=$,h.shared.pending=null}}while(!0);se===null&&(L=ce),h.baseState=L,h.firstBaseUpdate=X,h.lastBaseUpdate=se,m===null&&(h.shared.lanes=0),tr|=S,e.lanes=S,e.memoizedState=ce}}function Q1(e,n){if(typeof e!="function")throw Error(y(191,e));e.call(n)}function q1(e,n){var r=e.callbacks;if(r!==null)for(e.callbacks=null,e=0;em?m:8;var S=J.T,_={};J.T=_,ic(e,!1,n,r);try{var L=h(),X=J.S;if(X!==null&&X(_,L),L!==null&&typeof L=="object"&&typeof L.then=="function"){var se=a2(L,o);as(e,n,se,ci(e))}else as(e,n,o,ci(e))}catch(ce){as(e,n,{then:function(){},status:"rejected",reason:ce},ci())}finally{oe.p=m,S!==null&&_.types!==null&&(S.types=_.types),J.T=S}}function c2(){}function tc(e,n,r,o){if(e.tag!==5)throw Error(y(476));var h=Mf(e).queue;Nf(e,h,n,Oe,r===null?c2:function(){return If(e),r(o)})}function Mf(e){var n=e.memoizedState;if(n!==null)return n;n={memoizedState:Oe,baseState:Oe,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ga,lastRenderedState:Oe},next:null};var r={};return n.next={memoizedState:r,baseState:r,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ga,lastRenderedState:r},next:null},e.memoizedState=n,e=e.alternate,e!==null&&(e.memoizedState=n),n}function If(e){var n=Mf(e);n.next===null&&(n=e.alternate.memoizedState),as(e,n.next.queue,{},ci())}function nc(){return In(Cs)}function Of(){return on().memoizedState}function _f(){return on().memoizedState}function f2(e){for(var n=e.return;n!==null;){switch(n.tag){case 24:case 3:var r=ci();e=qa(r);var o=Wa(n,e,r);o!==null&&(Kn(o,n,r),$l(o,n,r)),n={cache:_u()},e.payload=n;return}n=n.return}}function h2(e,n,r){var o=ci();r={lane:o,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Ao(e)?Df(n,r):(r=Eu(e,n,r,o),r!==null&&(Kn(r,e,o),Bf(r,n,o)))}function Rf(e,n,r){var o=ci();as(e,n,r,o)}function as(e,n,r,o){var h={lane:o,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null};if(Ao(e))Df(n,h);else{var m=e.alternate;if(e.lanes===0&&(m===null||m.lanes===0)&&(m=n.lastRenderedReducer,m!==null))try{var S=n.lastRenderedState,_=m(S,r);if(h.hasEagerState=!0,h.eagerState=_,u(_,S))return Js(e,n,h,0),zt===null&&Ks(),!1}catch{}finally{}if(r=Eu(e,n,h,o),r!==null)return Kn(r,e,o),Bf(r,n,o),!0}return!1}function ic(e,n,r,o){if(o={lane:2,revertLane:Lc(),gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},Ao(e)){if(n)throw Error(y(479))}else n=Eu(e,r,o,2),n!==null&&Kn(n,e,2)}function Ao(e){var n=e.alternate;return e===Ye||n!==null&&n===Ye}function Df(e,n){hl=fo=!0;var r=e.pending;r===null?n.next=n:(n.next=r.next,r.next=n),e.pending=n}function Bf(e,n,r){if((r&4194048)!==0){var o=n.lanes;o&=e.pendingLanes,r|=o,n.lanes=r,Vi(e,r)}}var rs={readContext:In,use:xo,useCallback:$t,useContext:$t,useEffect:$t,useImperativeHandle:$t,useLayoutEffect:$t,useInsertionEffect:$t,useMemo:$t,useReducer:$t,useRef:$t,useState:$t,useDebugValue:$t,useDeferredValue:$t,useTransition:$t,useSyncExternalStore:$t,useId:$t,useHostTransitionStatus:$t,useFormState:$t,useActionState:$t,useOptimistic:$t,useMemoCache:$t,useCacheRefresh:$t};rs.useEffectEvent=$t;var Lf={readContext:In,use:xo,useCallback:function(e,n){return Fn().memoizedState=[e,n===void 0?null:n],e},useContext:In,useEffect:pf,useImperativeHandle:function(e,n,r){r=r!=null?r.concat([e]):null,yo(4194308,4,wf.bind(null,n,e),r)},useLayoutEffect:function(e,n){return yo(4194308,4,e,n)},useInsertionEffect:function(e,n){yo(4,2,e,n)},useMemo:function(e,n){var r=Fn();n=n===void 0?null:n;var o=e();if(Lr){It(!0);try{e()}finally{It(!1)}}return r.memoizedState=[o,n],o},useReducer:function(e,n,r){var o=Fn();if(r!==void 0){var h=r(n);if(Lr){It(!0);try{r(n)}finally{It(!1)}}}else h=n;return o.memoizedState=o.baseState=h,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:h},o.queue=e,e=e.dispatch=h2.bind(null,Ye,e),[o.memoizedState,e]},useRef:function(e){var n=Fn();return e={current:e},n.memoizedState=e},useState:function(e){e=Wu(e);var n=e.queue,r=Rf.bind(null,Ye,n);return n.dispatch=r,[e.memoizedState,r]},useDebugValue:$u,useDeferredValue:function(e,n){var r=Fn();return ec(r,e,n)},useTransition:function(){var e=Wu(!1);return e=Nf.bind(null,Ye,e.queue,!0,!1),Fn().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,n,r){var o=Ye,h=Fn();if(ut){if(r===void 0)throw Error(y(407));r=r()}else{if(r=n(),zt===null)throw Error(y(349));(st&127)!==0||tf(o,n,r)}h.memoizedState=r;var m={value:r,getSnapshot:n};return h.queue=m,pf(af.bind(null,o,m,e),[e]),o.flags|=2048,gl(9,{destroy:void 0},nf.bind(null,o,m,r,n),null),r},useId:function(){var e=Fn(),n=zt.identifierPrefix;if(ut){var r=Ki,o=Wi;r=(o&~(1<<32-Ge(o)-1)).toString(32)+r,n="_"+n+"R_"+r,r=ho++,0<\/script>",m=m.removeChild(m.firstChild);break;case"select":m=typeof o.is=="string"?S.createElement("select",{is:o.is}):S.createElement("select"),o.multiple?m.multiple=!0:o.size&&(m.size=o.size);break;default:m=typeof o.is=="string"?S.createElement(h,{is:o.is}):S.createElement(h)}}m[an]=n,m[Tt]=o;e:for(S=n.child;S!==null;){if(S.tag===5||S.tag===6)m.appendChild(S.stateNode);else if(S.tag!==4&&S.tag!==27&&S.child!==null){S.child.return=S,S=S.child;continue}if(S===n)break e;for(;S.sibling===null;){if(S.return===null||S.return===n)break e;S=S.return}S.sibling.return=S.return,S=S.sibling}n.stateNode=m;e:switch(_n(m,h,o),h){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break e;case"img":o=!0;break e;default:o=!1}o&&ma(n)}}return Pt(n),yc(n,n.type,e===null?null:e.memoizedProps,n.pendingProps,r),null;case 6:if(e&&n.stateNode!=null)e.memoizedProps!==o&&ma(n);else{if(typeof o!="string"&&n.stateNode===null)throw Error(y(166));if(e=Ae.current,rl(n)){if(e=n.stateNode,r=n.memoizedProps,o=null,h=Mn,h!==null)switch(h.tag){case 27:case 5:o=h.memoizedProps}e[an]=n,e=!!(e.nodeValue===r||o!==null&&o.suppressHydrationWarning===!0||eh(e.nodeValue,r)),e||Xa(n,!0)}else e=Fo(e).createTextNode(o),e[an]=n,n.stateNode=e}return Pt(n),null;case 31:if(r=n.memoizedState,e===null||e.memoizedState!==null){if(o=rl(n),r!==null){if(e===null){if(!o)throw Error(y(318));if(e=n.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(y(557));e[an]=n}else Mr(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;Pt(n),e=!1}else r=Nu(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=r),e=!0;if(!e)return n.flags&256?(si(n),n):(si(n),null);if((n.flags&128)!==0)throw Error(y(558))}return Pt(n),null;case 13:if(o=n.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(h=rl(n),o!==null&&o.dehydrated!==null){if(e===null){if(!h)throw Error(y(318));if(h=n.memoizedState,h=h!==null?h.dehydrated:null,!h)throw Error(y(317));h[an]=n}else Mr(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;Pt(n),h=!1}else h=Nu(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=h),h=!0;if(!h)return n.flags&256?(si(n),n):(si(n),null)}return si(n),(n.flags&128)!==0?(n.lanes=r,n):(r=o!==null,e=e!==null&&e.memoizedState!==null,r&&(o=n.child,h=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(h=o.alternate.memoizedState.cachePool.pool),m=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(m=o.memoizedState.cachePool.pool),m!==h&&(o.flags|=2048)),r!==e&&r&&(n.child.flags|=8192),bo(n,n.updateQueue),Pt(n),null);case 4:return Dt(),e===null&&Fc(n.stateNode.containerInfo),Pt(n),null;case 10:return ha(n.type),Pt(n),null;case 19:if(re(sn),o=n.memoizedState,o===null)return Pt(n),null;if(h=(n.flags&128)!==0,m=o.rendering,m===null)if(h)ss(o,!1);else{if(en!==0||e!==null&&(e.flags&128)!==0)for(e=n.child;e!==null;){if(m=co(e),m!==null){for(n.flags|=128,ss(o,!1),e=m.updateQueue,n.updateQueue=e,bo(n,e),n.subtreeFlags=0,e=r,r=n.child;r!==null;)_1(r,e),r=r.sibling;return Ee(sn,sn.current&1|2),ut&&ca(n,o.treeForkCount),n.child}e=e.sibling}o.tail!==null&&qt()>Io&&(n.flags|=128,h=!0,ss(o,!1),n.lanes=4194304)}else{if(!h)if(e=co(m),e!==null){if(n.flags|=128,h=!0,e=e.updateQueue,n.updateQueue=e,bo(n,e),ss(o,!0),o.tail===null&&o.tailMode==="hidden"&&!m.alternate&&!ut)return Pt(n),null}else 2*qt()-o.renderingStartTime>Io&&r!==536870912&&(n.flags|=128,h=!0,ss(o,!1),n.lanes=4194304);o.isBackwards?(m.sibling=n.child,n.child=m):(e=o.last,e!==null?e.sibling=m:n.child=m,o.last=m)}return o.tail!==null?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=qt(),e.sibling=null,r=sn.current,Ee(sn,h?r&1|2:r&1),ut&&ca(n,o.treeForkCount),e):(Pt(n),null);case 22:case 23:return si(n),Hu(),o=n.memoizedState!==null,e!==null?e.memoizedState!==null!==o&&(n.flags|=8192):o&&(n.flags|=8192),o?(r&536870912)!==0&&(n.flags&128)===0&&(Pt(n),n.subtreeFlags&6&&(n.flags|=8192)):Pt(n),r=n.updateQueue,r!==null&&bo(n,r.retryQueue),r=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(r=e.memoizedState.cachePool.pool),o=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(o=n.memoizedState.cachePool.pool),o!==r&&(n.flags|=2048),e!==null&&re(_r),null;case 24:return r=null,e!==null&&(r=e.memoizedState.cache),n.memoizedState.cache!==r&&(n.flags|=2048),ha(fn),Pt(n),null;case 25:return null;case 30:return null}throw Error(y(156,n.tag))}function y2(e,n){switch(Tu(n),n.tag){case 1:return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return ha(fn),Dt(),e=n.flags,(e&65536)!==0&&(e&128)===0?(n.flags=e&-65537|128,n):null;case 26:case 27:case 5:return xn(n),null;case 31:if(n.memoizedState!==null){if(si(n),n.alternate===null)throw Error(y(340));Mr()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 13:if(si(n),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(y(340));Mr()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return re(sn),null;case 4:return Dt(),null;case 10:return ha(n.type),null;case 22:case 23:return si(n),Hu(),e!==null&&re(_r),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 24:return ha(fn),null;case 25:return null;default:return null}}function r0(e,n){switch(Tu(n),n.tag){case 3:ha(fn),Dt();break;case 26:case 27:case 5:xn(n);break;case 4:Dt();break;case 31:n.memoizedState!==null&&si(n);break;case 13:si(n);break;case 19:re(sn);break;case 10:ha(n.type);break;case 22:case 23:si(n),Hu(),e!==null&&re(_r);break;case 24:ha(fn)}}function os(e,n){try{var r=n.updateQueue,o=r!==null?r.lastEffect:null;if(o!==null){var h=o.next;r=h;do{if((r.tag&e)===e){o=void 0;var m=r.create,S=r.inst;o=m(),S.destroy=o}r=r.next}while(r!==h)}}catch(_){Nt(n,n.return,_)}}function $a(e,n,r){try{var o=n.updateQueue,h=o!==null?o.lastEffect:null;if(h!==null){var m=h.next;o=m;do{if((o.tag&e)===e){var S=o.inst,_=S.destroy;if(_!==void 0){S.destroy=void 0,h=n;var L=r,X=_;try{X()}catch(se){Nt(h,L,se)}}}o=o.next}while(o!==m)}}catch(se){Nt(n,n.return,se)}}function l0(e){var n=e.updateQueue;if(n!==null){var r=e.stateNode;try{q1(n,r)}catch(o){Nt(e,e.return,o)}}}function s0(e,n,r){r.props=Ur(e.type,e.memoizedProps),r.state=e.memoizedState;try{r.componentWillUnmount()}catch(o){Nt(e,n,o)}}function us(e,n){try{var r=e.ref;if(r!==null){switch(e.tag){case 26:case 27:case 5:var o=e.stateNode;break;case 30:o=e.stateNode;break;default:o=e.stateNode}typeof r=="function"?e.refCleanup=r(o):r.current=o}}catch(h){Nt(e,n,h)}}function Ji(e,n){var r=e.ref,o=e.refCleanup;if(r!==null)if(typeof o=="function")try{o()}catch(h){Nt(e,n,h)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof r=="function")try{r(null)}catch(h){Nt(e,n,h)}else r.current=null}function o0(e){var n=e.type,r=e.memoizedProps,o=e.stateNode;try{e:switch(n){case"button":case"input":case"select":case"textarea":r.autoFocus&&o.focus();break e;case"img":r.src?o.src=r.src:r.srcSet&&(o.srcset=r.srcSet)}}catch(h){Nt(e,e.return,h)}}function pc(e,n,r){try{var o=e.stateNode;F2(o,e.type,r,n),o[Tt]=n}catch(h){Nt(e,e.return,h)}}function u0(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&lr(e.type)||e.tag===4}function Ac(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||u0(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&lr(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Ec(e,n,r){var o=e.tag;if(o===5||o===6)e=e.stateNode,n?(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r).insertBefore(e,n):(n=r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,n.appendChild(e),r=r._reactRootContainer,r!=null||n.onclick!==null||(n.onclick=Gn));else if(o!==4&&(o===27&&lr(e.type)&&(r=e.stateNode,n=null),e=e.child,e!==null))for(Ec(e,n,r),e=e.sibling;e!==null;)Ec(e,n,r),e=e.sibling}function To(e,n,r){var o=e.tag;if(o===5||o===6)e=e.stateNode,n?r.insertBefore(e,n):r.appendChild(e);else if(o!==4&&(o===27&&lr(e.type)&&(r=e.stateNode),e=e.child,e!==null))for(To(e,n,r),e=e.sibling;e!==null;)To(e,n,r),e=e.sibling}function c0(e){var n=e.stateNode,r=e.memoizedProps;try{for(var o=e.type,h=n.attributes;h.length;)n.removeAttributeNode(h[0]);_n(n,o,r),n[an]=e,n[Tt]=r}catch(m){Nt(e,e.return,m)}}var ya=!1,gn=!1,Cc=!1,f0=typeof WeakSet=="function"?WeakSet:Set,bn=null;function p2(e,n){if(e=e.containerInfo,Pc=Xo,e=v(e),I(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var o=r.getSelection&&r.getSelection();if(o&&o.rangeCount!==0){r=o.anchorNode;var h=o.anchorOffset,m=o.focusNode;o=o.focusOffset;try{r.nodeType,m.nodeType}catch{r=null;break e}var S=0,_=-1,L=-1,X=0,se=0,ce=e,Q=null;t:for(;;){for(var $;ce!==r||h!==0&&ce.nodeType!==3||(_=S+h),ce!==m||o!==0&&ce.nodeType!==3||(L=S+o),ce.nodeType===3&&(S+=ce.nodeValue.length),($=ce.firstChild)!==null;)Q=ce,ce=$;for(;;){if(ce===e)break t;if(Q===r&&++X===h&&(_=S),Q===m&&++se===o&&(L=S),($=ce.nextSibling)!==null)break;ce=Q,Q=ce.parentNode}ce=$}r=_===-1||L===-1?null:{start:_,end:L}}else r=null}r=r||{start:0,end:0}}else r=null;for(Yc={focusedElem:e,selectionRange:r},Xo=!1,bn=n;bn!==null;)if(n=bn,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,bn=e;else for(;bn!==null;){switch(n=bn,m=n.alternate,e=n.flags,n.tag){case 0:if((e&4)!==0&&(e=n.updateQueue,e=e!==null?e.events:null,e!==null))for(r=0;r title"))),_n(m,o,r),m[an]=e,Kt(m),o=m;break e;case"link":var S=yh("link","href",h).get(o+(r.href||""));if(S){for(var _=0;_Rt&&(S=Rt,Rt=ze,ze=S);var j=p(_,ze),k=p(_,Rt);if(j&&k&&($.rangeCount!==1||$.anchorNode!==j.node||$.anchorOffset!==j.offset||$.focusNode!==k.node||$.focusOffset!==k.offset)){var V=ce.createRange();V.setStart(j.node,j.offset),$.removeAllRanges(),ze>Rt?($.addRange(V),$.extend(k.node,k.offset)):(V.setEnd(k.node,k.offset),$.addRange(V))}}}}for(ce=[],$=_;$=$.parentNode;)$.nodeType===1&&ce.push({element:$,left:$.scrollLeft,top:$.scrollTop});for(typeof _.focus=="function"&&_.focus(),_=0;_r?32:r,J.T=null,r=Mc,Mc=null;var m=ir,S=wa;if(Cn=0,Al=ir=null,wa=0,(Et&6)!==0)throw Error(y(331));var _=Et;if(Et|=4,w0(m.current),A0(m,m.current,S,r),Et=_,xs(0,!1),ye&&typeof ye.onPostCommitFiberRoot=="function")try{ye.onPostCommitFiberRoot(kt,m)}catch{}return!0}finally{oe.p=h,J.T=o,H0(e,n)}}function P0(e,n,r){n=Ci(r,n),n=sc(e.stateNode,n,2),e=Wa(e,n,2),e!==null&&(Gi(e,2),$i(e))}function Nt(e,n,r){if(e.tag===3)P0(e,e,r);else for(;n!==null;){if(n.tag===3){P0(n,e,r);break}else if(n.tag===1){var o=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(nr===null||!nr.has(o))){e=Ci(r,e),r=Yf(2),o=Wa(n,r,2),o!==null&&(Gf(r,o,n,e),Gi(o,2),$i(o));break}}n=n.return}}function Rc(e,n,r){var o=e.pingCache;if(o===null){o=e.pingCache=new C2;var h=new Set;o.set(n,h)}else h=o.get(n),h===void 0&&(h=new Set,o.set(n,h));h.has(r)||(bc=!0,h.add(r),e=v2.bind(null,e,n,r),n.then(e,e))}function v2(e,n,r){var o=e.pingCache;o!==null&&o.delete(n),e.pingedLanes|=e.suspendedLanes&r,e.warmLanes&=~r,zt===e&&(st&r)===r&&(en===4||en===3&&(st&62914560)===st&&300>qt()-Mo?(Et&2)===0&&El(e,0):Tc|=r,pl===st&&(pl=0)),$i(e)}function Y0(e,n){n===0&&(n=yn()),e=vr(e,n),e!==null&&(Gi(e,n),$i(e))}function N2(e){var n=e.memoizedState,r=0;n!==null&&(r=n.retryLane),Y0(e,r)}function M2(e,n){var r=0;switch(e.tag){case 31:case 13:var o=e.stateNode,h=e.memoizedState;h!==null&&(r=h.retryLane);break;case 19:o=e.stateNode;break;case 22:o=e.stateNode._retryCache;break;default:throw Error(y(314))}o!==null&&o.delete(n),Y0(e,r)}function I2(e,n){return Ia(e,n)}var Lo=null,wl=null,Dc=!1,Uo=!1,Bc=!1,rr=0;function $i(e){e!==wl&&e.next===null&&(wl===null?Lo=wl=e:wl=wl.next=e),Uo=!0,Dc||(Dc=!0,_2())}function xs(e,n){if(!Bc&&Uo){Bc=!0;do for(var r=!1,o=Lo;o!==null;){if(e!==0){var h=o.pendingLanes;if(h===0)var m=0;else{var S=o.suspendedLanes,_=o.pingedLanes;m=(1<<31-Ge(42|e)+1)-1,m&=h&~(S&~_),m=m&201326741?m&201326741|1:m?m|2:0}m!==0&&(r=!0,Z0(o,m))}else m=st,m=mr(o,o===zt?m:0,o.cancelPendingCommit!==null||o.timeoutHandle!==-1),(m&3)===0||vn(o,m)||(r=!0,Z0(o,m));o=o.next}while(r);Bc=!1}}function O2(){G0()}function G0(){Uo=Dc=!1;var e=0;rr!==0&&j2()&&(e=rr);for(var n=qt(),r=null,o=Lo;o!==null;){var h=o.next,m=V0(o,n);m===0?(o.next=null,r===null?Lo=h:r.next=h,h===null&&(wl=r)):(r=o,(e!==0||(m&3)!==0)&&(Uo=!0)),o=h}Cn!==0&&Cn!==5||xs(e),rr!==0&&(rr=0)}function V0(e,n){for(var r=e.suspendedLanes,o=e.pingedLanes,h=e.expirationTimes,m=e.pendingLanes&-62914561;0_)break;var se=L.transferSize,ce=L.initiatorType;se&&th(ce)&&(L=L.responseEnd,S+=se*(L<_?1:(_-X)/(L-X)))}if(--o,n+=8*(m+S)/(h.duration/1e3),e++,10"u"?null:document;function dh(e,n,r){var o=Sl;if(o&&typeof n=="string"&&n){var h=Je(n);h='link[rel="'+e+'"][href="'+h+'"]',typeof r=="string"&&(h+='[crossorigin="'+r+'"]'),hh.has(h)||(hh.add(h),e={rel:e,crossOrigin:r,href:n},o.querySelector(h)===null&&(n=o.createElement("link"),_n(n,"link",e),Kt(n),o.head.appendChild(n)))}}function W2(e){Sa.D(e),dh("dns-prefetch",e,null)}function K2(e,n){Sa.C(e,n),dh("preconnect",e,n)}function J2(e,n,r){Sa.L(e,n,r);var o=Sl;if(o&&e&&n){var h='link[rel="preload"][as="'+Je(n)+'"]';n==="image"&&r&&r.imageSrcSet?(h+='[imagesrcset="'+Je(r.imageSrcSet)+'"]',typeof r.imageSizes=="string"&&(h+='[imagesizes="'+Je(r.imageSizes)+'"]')):h+='[href="'+Je(e)+'"]';var m=h;switch(n){case"style":m=bl(e);break;case"script":m=Tl(e)}Ni.has(m)||(e=M({rel:"preload",href:n==="image"&&r&&r.imageSrcSet?void 0:e,as:n},r),Ni.set(m,e),o.querySelector(h)!==null||n==="style"&&o.querySelector(As(m))||n==="script"&&o.querySelector(Es(m))||(n=o.createElement("link"),_n(n,"link",e),Kt(n),o.head.appendChild(n)))}}function $2(e,n){Sa.m(e,n);var r=Sl;if(r&&e){var o=n&&typeof n.as=="string"?n.as:"script",h='link[rel="modulepreload"][as="'+Je(o)+'"][href="'+Je(e)+'"]',m=h;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":m=Tl(e)}if(!Ni.has(m)&&(e=M({rel:"modulepreload",href:e},n),Ni.set(m,e),r.querySelector(h)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(r.querySelector(Es(m)))return}o=r.createElement("link"),_n(o,"link",e),Kt(o),r.head.appendChild(o)}}}function eg(e,n,r){Sa.S(e,n,r);var o=Sl;if(o&&e){var h=Ln(o).hoistableStyles,m=bl(e);n=n||"default";var S=h.get(m);if(!S){var _={loading:0,preload:null};if(S=o.querySelector(As(m)))_.loading=5;else{e=M({rel:"stylesheet",href:e,"data-precedence":n},r),(r=Ni.get(m))&&Wc(e,r);var L=S=o.createElement("link");Kt(L),_n(L,"link",e),L._p=new Promise(function(X,se){L.onload=X,L.onerror=se}),L.addEventListener("load",function(){_.loading|=1}),L.addEventListener("error",function(){_.loading|=2}),_.loading|=4,jo(S,n,o)}S={type:"stylesheet",instance:S,count:1,state:_},h.set(m,S)}}}function tg(e,n){Sa.X(e,n);var r=Sl;if(r&&e){var o=Ln(r).hoistableScripts,h=Tl(e),m=o.get(h);m||(m=r.querySelector(Es(h)),m||(e=M({src:e,async:!0},n),(n=Ni.get(h))&&Kc(e,n),m=r.createElement("script"),Kt(m),_n(m,"link",e),r.head.appendChild(m)),m={type:"script",instance:m,count:1,state:null},o.set(h,m))}}function ng(e,n){Sa.M(e,n);var r=Sl;if(r&&e){var o=Ln(r).hoistableScripts,h=Tl(e),m=o.get(h);m||(m=r.querySelector(Es(h)),m||(e=M({src:e,async:!0,type:"module"},n),(n=Ni.get(h))&&Kc(e,n),m=r.createElement("script"),Kt(m),_n(m,"link",e),r.head.appendChild(m)),m={type:"script",instance:m,count:1,state:null},o.set(h,m))}}function gh(e,n,r,o){var h=(h=Ae.current)?Ho(h):null;if(!h)throw Error(y(446));switch(e){case"meta":case"title":return null;case"style":return typeof r.precedence=="string"&&typeof r.href=="string"?(n=bl(r.href),r=Ln(h).hoistableStyles,o=r.get(n),o||(o={type:"style",instance:null,count:0,state:null},r.set(n,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(r.rel==="stylesheet"&&typeof r.href=="string"&&typeof r.precedence=="string"){e=bl(r.href);var m=Ln(h).hoistableStyles,S=m.get(e);if(S||(h=h.ownerDocument||h,S={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},m.set(e,S),(m=h.querySelector(As(e)))&&!m._p&&(S.instance=m,S.state.loading=5),Ni.has(e)||(r={rel:"preload",as:"style",href:r.href,crossOrigin:r.crossOrigin,integrity:r.integrity,media:r.media,hrefLang:r.hrefLang,referrerPolicy:r.referrerPolicy},Ni.set(e,r),m||ig(h,e,r,S.state))),n&&o===null)throw Error(y(528,""));return S}if(n&&o!==null)throw Error(y(529,""));return null;case"script":return n=r.async,r=r.src,typeof r=="string"&&n&&typeof n!="function"&&typeof n!="symbol"?(n=Tl(r),r=Ln(h).hoistableScripts,o=r.get(n),o||(o={type:"script",instance:null,count:0,state:null},r.set(n,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error(y(444,e))}}function bl(e){return'href="'+Je(e)+'"'}function As(e){return'link[rel="stylesheet"]['+e+"]"}function xh(e){return M({},e,{"data-precedence":e.precedence,precedence:null})}function ig(e,n,r,o){e.querySelector('link[rel="preload"][as="style"]['+n+"]")?o.loading=1:(n=e.createElement("link"),o.preload=n,n.addEventListener("load",function(){return o.loading|=1}),n.addEventListener("error",function(){return o.loading|=2}),_n(n,"link",r),Kt(n),e.head.appendChild(n))}function Tl(e){return'[src="'+Je(e)+'"]'}function Es(e){return"script[async]"+e}function mh(e,n,r){if(n.count++,n.instance===null)switch(n.type){case"style":var o=e.querySelector('style[data-href~="'+Je(r.href)+'"]');if(o)return n.instance=o,Kt(o),o;var h=M({},r,{"data-href":r.href,"data-precedence":r.precedence,href:null,precedence:null});return o=(e.ownerDocument||e).createElement("style"),Kt(o),_n(o,"style",h),jo(o,r.precedence,e),n.instance=o;case"stylesheet":h=bl(r.href);var m=e.querySelector(As(h));if(m)return n.state.loading|=4,n.instance=m,Kt(m),m;o=xh(r),(h=Ni.get(h))&&Wc(o,h),m=(e.ownerDocument||e).createElement("link"),Kt(m);var S=m;return S._p=new Promise(function(_,L){S.onload=_,S.onerror=L}),_n(m,"link",o),n.state.loading|=4,jo(m,r.precedence,e),n.instance=m;case"script":return m=Tl(r.src),(h=e.querySelector(Es(m)))?(n.instance=h,Kt(h),h):(o=r,(h=Ni.get(m))&&(o=M({},r),Kc(o,h)),e=e.ownerDocument||e,h=e.createElement("script"),Kt(h),_n(h,"link",o),e.head.appendChild(h),n.instance=h);case"void":return null;default:throw Error(y(443,n.type))}else n.type==="stylesheet"&&(n.state.loading&4)===0&&(o=n.instance,n.state.loading|=4,jo(o,r.precedence,e));return n.instance}function jo(e,n,r){for(var o=r.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),h=o.length?o[o.length-1]:null,m=h,S=0;S title"):null)}function ag(e,n,r){if(r===1||n.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof n.precedence!="string"||typeof n.href!="string"||n.href==="")break;return!0;case"link":if(typeof n.rel!="string"||typeof n.href!="string"||n.href===""||n.onLoad||n.onError)break;switch(n.rel){case"stylesheet":return e=n.disabled,typeof n.precedence=="string"&&e==null;default:return!0}case"script":if(n.async&&typeof n.async!="function"&&typeof n.async!="symbol"&&!n.onLoad&&!n.onError&&n.src&&typeof n.src=="string")return!0}return!1}function Ah(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function rg(e,n,r,o){if(r.type==="stylesheet"&&(typeof o.media!="string"||matchMedia(o.media).matches!==!1)&&(r.state.loading&4)===0){if(r.instance===null){var h=bl(o.href),m=n.querySelector(As(h));if(m){n=m._p,n!==null&&typeof n=="object"&&typeof n.then=="function"&&(e.count++,e=Yo.bind(e),n.then(e,e)),r.state.loading|=4,r.instance=m,Kt(m);return}m=n.ownerDocument||n,o=xh(o),(h=Ni.get(h))&&Wc(o,h),m=m.createElement("link"),Kt(m);var S=m;S._p=new Promise(function(_,L){S.onload=_,S.onerror=L}),_n(m,"link",o),r.instance=m}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(r,n),(n=r.state.preload)&&(r.state.loading&3)===0&&(e.count++,r=Yo.bind(e),n.addEventListener("load",r),n.addEventListener("error",r))}}var Jc=0;function lg(e,n){return e.stylesheets&&e.count===0&&Vo(e,e.stylesheets),0Jc?50:800)+n);return e.unsuspend=r,function(){e.unsuspend=null,clearTimeout(o),clearTimeout(h)}}:null}function Yo(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Vo(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Go=null;function Vo(e,n){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Go=new Map,n.forEach(sg,e),Go=null,Yo.call(e))}function sg(e,n){if(!(n.state.loading&4)){var r=Go.get(e);if(r)var o=r.get(null);else{r=new Map,Go.set(e,r);for(var h=e.querySelectorAll("link[data-precedence],style[data-precedence]"),m=0;m"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(f)}catch(g){console.error(g)}}return f(),l1.exports=bg(),l1.exports}var vg=Tg(),te=p1();const wn=dd(te);var Yh="popstate";function Ng(f={}){function g(y,C){let{pathname:E,search:O,hash:R}=y.location;return d1("",{pathname:E,search:O,hash:R},C.state&&C.state.usr||null,C.state&&C.state.key||"default")}function d(y,C){return typeof C=="string"?C:Is(C)}return Ig(g,d,null,f)}function Qt(f,g){if(f===!1||f===null||typeof f>"u")throw new Error(g)}function Mi(f,g){if(!f){typeof console<"u"&&console.warn(g);try{throw new Error(g)}catch{}}}function Mg(){return Math.random().toString(36).substring(2,10)}function Gh(f,g){return{usr:f.state,key:f.key,idx:g}}function d1(f,g,d=null,y){return{pathname:typeof f=="string"?f:f.pathname,search:"",hash:"",...typeof g=="string"?Il(g):g,state:d,key:g&&g.key||y||Mg()}}function Is({pathname:f="/",search:g="",hash:d=""}){return g&&g!=="?"&&(f+=g.charAt(0)==="?"?g:"?"+g),d&&d!=="#"&&(f+=d.charAt(0)==="#"?d:"#"+d),f}function Il(f){let g={};if(f){let d=f.indexOf("#");d>=0&&(g.hash=f.substring(d),f=f.substring(0,d));let y=f.indexOf("?");y>=0&&(g.search=f.substring(y),f=f.substring(0,y)),f&&(g.pathname=f)}return g}function Ig(f,g,d,y={}){let{window:C=document.defaultView,v5Compat:E=!1}=y,O=C.history,R="POP",b=null,A=N();A==null&&(A=0,O.replaceState({...O.state,idx:A},""));function N(){return(O.state||{idx:null}).idx}function M(){R="POP";let ae=N(),pe=ae==null?null:ae-A;A=ae,b&&b({action:R,location:ie.location,delta:pe})}function H(ae,pe){R="PUSH";let de=d1(ie.location,ae,pe);A=N()+1;let ne=Gh(de,A),we=ie.createHref(de);try{O.pushState(ne,"",we)}catch(Pe){if(Pe instanceof DOMException&&Pe.name==="DataCloneError")throw Pe;C.location.assign(we)}E&&b&&b({action:R,location:ie.location,delta:1})}function Z(ae,pe){R="REPLACE";let de=d1(ie.location,ae,pe);A=N();let ne=Gh(de,A),we=ie.createHref(de);O.replaceState(ne,"",we),E&&b&&b({action:R,location:ie.location,delta:0})}function ee(ae){return Og(ae)}let ie={get action(){return R},get location(){return f(C,O)},listen(ae){if(b)throw new Error("A history only accepts one active listener");return C.addEventListener(Yh,M),b=ae,()=>{C.removeEventListener(Yh,M),b=null}},createHref(ae){return g(C,ae)},createURL:ee,encodeLocation(ae){let pe=ee(ae);return{pathname:pe.pathname,search:pe.search,hash:pe.hash}},push:H,replace:Z,go(ae){return O.go(ae)}};return ie}function Og(f,g=!1){let d="http://localhost";typeof window<"u"&&(d=window.location.origin!=="null"?window.location.origin:window.location.href),Qt(d,"No window.location.(origin|href) available to create URL");let y=typeof f=="string"?f:Is(f);return y=y.replace(/ $/,"%20"),!g&&y.startsWith("//")&&(y=d+y),new URL(y,d)}function gd(f,g,d="/"){return _g(f,g,d,!1)}function _g(f,g,d,y){let C=typeof g=="string"?Il(g):g,E=va(C.pathname||"/",d);if(E==null)return null;let O=xd(f);Rg(O);let R=null;for(let b=0;R==null&&b{let N={relativePath:A===void 0?O.path||"":A,caseSensitive:O.caseSensitive===!0,childrenIndex:R,route:O};if(N.relativePath.startsWith("/")){if(!N.relativePath.startsWith(y)&&b)return;Qt(N.relativePath.startsWith(y),`Absolute route path "${N.relativePath}" nested under path "${y}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),N.relativePath=N.relativePath.slice(y.length)}let M=Ta([y,N.relativePath]),H=d.concat(N);O.children&&O.children.length>0&&(Qt(O.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${M}".`),xd(O.children,g,H,M,b)),!(O.path==null&&!O.index)&&g.push({path:M,score:Fg(M,O.index),routesMeta:H})};return f.forEach((O,R)=>{if(O.path===""||!O.path?.includes("?"))E(O,R);else for(let b of md(O.path))E(O,R,!0,b)}),g}function md(f){let g=f.split("/");if(g.length===0)return[];let[d,...y]=g,C=d.endsWith("?"),E=d.replace(/\?$/,"");if(y.length===0)return C?[E,""]:[E];let O=md(y.join("/")),R=[];return R.push(...O.map(b=>b===""?E:[E,b].join("/"))),C&&R.push(...O),R.map(b=>f.startsWith("/")&&b===""?"/":b)}function Rg(f){f.sort((g,d)=>g.score!==d.score?d.score-g.score:Hg(g.routesMeta.map(y=>y.childrenIndex),d.routesMeta.map(y=>y.childrenIndex)))}var Dg=/^:[\w-]+$/,Bg=3,Lg=2,Ug=1,zg=10,kg=-2,Vh=f=>f==="*";function Fg(f,g){let d=f.split("/"),y=d.length;return d.some(Vh)&&(y+=kg),g&&(y+=Lg),d.filter(C=>!Vh(C)).reduce((C,E)=>C+(Dg.test(E)?Bg:E===""?Ug:zg),y)}function Hg(f,g){return f.length===g.length&&f.slice(0,-1).every((y,C)=>y===g[C])?f[f.length-1]-g[g.length-1]:0}function jg(f,g,d=!1){let{routesMeta:y}=f,C={},E="/",O=[];for(let R=0;R{if(N==="*"){let ee=R[H]||"";O=E.slice(0,E.length-ee.length).replace(/(.)\/+$/,"$1")}const Z=R[H];return M&&!Z?A[N]=void 0:A[N]=(Z||"").replace(/%2F/g,"/"),A},{}),pathname:E,pathnameBase:O,pattern:f}}function Pg(f,g=!1,d=!0){Mi(f==="*"||!f.endsWith("*")||f.endsWith("/*"),`Route path "${f}" will be treated as if it were "${f.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${f.replace(/\*$/,"/*")}".`);let y=[],C="^"+f.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(O,R,b)=>(y.push({paramName:R,isOptional:b!=null}),b?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return f.endsWith("*")?(y.push({paramName:"*"}),C+=f==="*"||f==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):d?C+="\\/*$":f!==""&&f!=="/"&&(C+="(?:(?=\\/|$))"),[new RegExp(C,g?void 0:"i"),y]}function Yg(f){try{return f.split("/").map(g=>decodeURIComponent(g).replace(/\//g,"%2F")).join("/")}catch(g){return Mi(!1,`The URL path "${f}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${g}).`),f}}function va(f,g){if(g==="/")return f;if(!f.toLowerCase().startsWith(g.toLowerCase()))return null;let d=g.endsWith("/")?g.length-1:g.length,y=f.charAt(d);return y&&y!=="/"?null:f.slice(d)||"/"}var Gg=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Vg=f=>Gg.test(f);function Xg(f,g="/"){let{pathname:d,search:y="",hash:C=""}=typeof f=="string"?Il(f):f,E;if(d)if(Vg(d))E=d;else{if(d.includes("//")){let O=d;d=d.replace(/\/\/+/g,"/"),Mi(!1,`Pathnames cannot have embedded double slashes - normalizing ${O} -> ${d}`)}d.startsWith("/")?E=Xh(d.substring(1),"/"):E=Xh(d,g)}else E=g;return{pathname:E,search:qg(y),hash:Wg(C)}}function Xh(f,g){let d=g.replace(/\/+$/,"").split("/");return f.split("/").forEach(C=>{C===".."?d.length>1&&d.pop():C!=="."&&d.push(C)}),d.length>1?d.join("/"):"/"}function f1(f,g,d,y){return`Cannot include a '${f}' character in a manually specified \`to.${g}\` field [${JSON.stringify(y)}]. Please separate it out to the \`to.${d}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function Zg(f){return f.filter((g,d)=>d===0||g.route.path&&g.route.path.length>0)}function A1(f){let g=Zg(f);return g.map((d,y)=>y===g.length-1?d.pathname:d.pathnameBase)}function E1(f,g,d,y=!1){let C;typeof f=="string"?C=Il(f):(C={...f},Qt(!C.pathname||!C.pathname.includes("?"),f1("?","pathname","search",C)),Qt(!C.pathname||!C.pathname.includes("#"),f1("#","pathname","hash",C)),Qt(!C.search||!C.search.includes("#"),f1("#","search","hash",C)));let E=f===""||C.pathname==="",O=E?"/":C.pathname,R;if(O==null)R=d;else{let M=g.length-1;if(!y&&O.startsWith("..")){let H=O.split("/");for(;H[0]==="..";)H.shift(),M-=1;C.pathname=H.join("/")}R=M>=0?g[M]:"/"}let b=Xg(C,R),A=O&&O!=="/"&&O.endsWith("/"),N=(E||O===".")&&d.endsWith("/");return!b.pathname.endsWith("/")&&(A||N)&&(b.pathname+="/"),b}var Ta=f=>f.join("/").replace(/\/\/+/g,"/"),Qg=f=>f.replace(/\/+$/,"").replace(/^\/*/,"/"),qg=f=>!f||f==="?"?"":f.startsWith("?")?f:"?"+f,Wg=f=>!f||f==="#"?"":f.startsWith("#")?f:"#"+f;function Kg(f){return f!=null&&typeof f.status=="number"&&typeof f.statusText=="string"&&typeof f.internal=="boolean"&&"data"in f}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var yd=["POST","PUT","PATCH","DELETE"];new Set(yd);var Jg=["GET",...yd];new Set(Jg);var Ol=te.createContext(null);Ol.displayName="DataRouter";var su=te.createContext(null);su.displayName="DataRouterState";te.createContext(!1);var pd=te.createContext({isTransitioning:!1});pd.displayName="ViewTransition";var $g=te.createContext(new Map);$g.displayName="Fetchers";var ex=te.createContext(null);ex.displayName="Await";var Hi=te.createContext(null);Hi.displayName="Navigation";var Os=te.createContext(null);Os.displayName="Location";var ji=te.createContext({outlet:null,matches:[],isDataRoute:!1});ji.displayName="Route";var C1=te.createContext(null);C1.displayName="RouteError";function tx(f,{relative:g}={}){Qt(_l(),"useHref() may be used only in the context of a component.");let{basename:d,navigator:y}=te.useContext(Hi),{hash:C,pathname:E,search:O}=_s(f,{relative:g}),R=E;return d!=="/"&&(R=E==="/"?d:Ta([d,E])),y.createHref({pathname:R,search:O,hash:C})}function _l(){return te.useContext(Os)!=null}function Na(){return Qt(_l(),"useLocation() may be used only in the context of a component."),te.useContext(Os).location}var Ad="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Ed(f){te.useContext(Hi).static||te.useLayoutEffect(f)}function ou(){let{isDataRoute:f}=te.useContext(ji);return f?mx():nx()}function nx(){Qt(_l(),"useNavigate() may be used only in the context of a component.");let f=te.useContext(Ol),{basename:g,navigator:d}=te.useContext(Hi),{matches:y}=te.useContext(ji),{pathname:C}=Na(),E=JSON.stringify(A1(y)),O=te.useRef(!1);return Ed(()=>{O.current=!0}),te.useCallback((b,A={})=>{if(Mi(O.current,Ad),!O.current)return;if(typeof b=="number"){d.go(b);return}let N=E1(b,JSON.parse(E),C,A.relative==="path");f==null&&g!=="/"&&(N.pathname=N.pathname==="/"?g:Ta([g,N.pathname])),(A.replace?d.replace:d.push)(N,A.state,A)},[g,d,E,C,f])}var ix=te.createContext(null);function ax(f){let g=te.useContext(ji).outlet;return te.useMemo(()=>g&&te.createElement(ix.Provider,{value:f},g),[g,f])}function _s(f,{relative:g}={}){let{matches:d}=te.useContext(ji),{pathname:y}=Na(),C=JSON.stringify(A1(d));return te.useMemo(()=>E1(f,JSON.parse(C),y,g==="path"),[f,C,y,g])}function rx(f,g){return Cd(f,g)}function Cd(f,g,d,y,C){Qt(_l(),"useRoutes() may be used only in the context of a component.");let{navigator:E}=te.useContext(Hi),{matches:O}=te.useContext(ji),R=O[O.length-1],b=R?R.params:{},A=R?R.pathname:"/",N=R?R.pathnameBase:"/",M=R&&R.route;{let de=M&&M.path||"";wd(A,!M||de.endsWith("*")||de.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${A}" (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 H=Na(),Z;if(g){let de=typeof g=="string"?Il(g):g;Qt(N==="/"||de.pathname?.startsWith(N),`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 "${N}" but pathname "${de.pathname}" was given in the \`location\` prop.`),Z=de}else Z=H;let ee=Z.pathname||"/",ie=ee;if(N!=="/"){let de=N.replace(/^\//,"").split("/");ie="/"+ee.replace(/^\//,"").split("/").slice(de.length).join("/")}let ae=gd(f,{pathname:ie});Mi(M||ae!=null,`No routes matched location "${Z.pathname}${Z.search}${Z.hash}" `),Mi(ae==null||ae[ae.length-1].route.element!==void 0||ae[ae.length-1].route.Component!==void 0||ae[ae.length-1].route.lazy!==void 0,`Matched leaf route at location "${Z.pathname}${Z.search}${Z.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 pe=cx(ae&&ae.map(de=>Object.assign({},de,{params:Object.assign({},b,de.params),pathname:Ta([N,E.encodeLocation?E.encodeLocation(de.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:de.pathname]),pathnameBase:de.pathnameBase==="/"?N:Ta([N,E.encodeLocation?E.encodeLocation(de.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:de.pathnameBase])})),O,d,y,C);return g&&pe?te.createElement(Os.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...Z},navigationType:"POP"}},pe):pe}function lx(){let f=xx(),g=Kg(f)?`${f.status} ${f.statusText}`:f instanceof Error?f.message:JSON.stringify(f),d=f instanceof Error?f.stack:null,y="rgba(200,200,200, 0.5)",C={padding:"0.5rem",backgroundColor:y},E={padding:"2px 4px",backgroundColor:y},O=null;return console.error("Error handled by React Router default ErrorBoundary:",f),O=te.createElement(te.Fragment,null,te.createElement("p",null,"💿 Hey developer 👋"),te.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",te.createElement("code",{style:E},"ErrorBoundary")," or"," ",te.createElement("code",{style:E},"errorElement")," prop on your route.")),te.createElement(te.Fragment,null,te.createElement("h2",null,"Unexpected Application Error!"),te.createElement("h3",{style:{fontStyle:"italic"}},g),d?te.createElement("pre",{style:C},d):null,O)}var sx=te.createElement(lx,null),ox=class extends te.Component{constructor(f){super(f),this.state={location:f.location,revalidation:f.revalidation,error:f.error}}static getDerivedStateFromError(f){return{error:f}}static getDerivedStateFromProps(f,g){return g.location!==f.location||g.revalidation!=="idle"&&f.revalidation==="idle"?{error:f.error,location:f.location,revalidation:f.revalidation}:{error:f.error!==void 0?f.error:g.error,location:g.location,revalidation:f.revalidation||g.revalidation}}componentDidCatch(f,g){this.props.onError?this.props.onError(f,g):console.error("React Router caught the following error during render",f)}render(){return this.state.error!==void 0?te.createElement(ji.Provider,{value:this.props.routeContext},te.createElement(C1.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function ux({routeContext:f,match:g,children:d}){let y=te.useContext(Ol);return y&&y.static&&y.staticContext&&(g.route.errorElement||g.route.ErrorBoundary)&&(y.staticContext._deepestRenderedBoundaryId=g.route.id),te.createElement(ji.Provider,{value:f},d)}function cx(f,g=[],d=null,y=null,C=null){if(f==null){if(!d)return null;if(d.errors)f=d.matches;else if(g.length===0&&!d.initialized&&d.matches.length>0)f=d.matches;else return null}let E=f,O=d?.errors;if(O!=null){let N=E.findIndex(M=>M.route.id&&O?.[M.route.id]!==void 0);Qt(N>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(O).join(",")}`),E=E.slice(0,Math.min(E.length,N+1))}let R=!1,b=-1;if(d)for(let N=0;N=0?E=E.slice(0,b+1):E=[E[0]];break}}}let A=d&&y?(N,M)=>{y(N,{location:d.location,params:d.matches?.[0]?.params??{},errorInfo:M})}:void 0;return E.reduceRight((N,M,H)=>{let Z,ee=!1,ie=null,ae=null;d&&(Z=O&&M.route.id?O[M.route.id]:void 0,ie=M.route.errorElement||sx,R&&(b<0&&H===0?(wd("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),ee=!0,ae=null):b===H&&(ee=!0,ae=M.route.hydrateFallbackElement||null)));let pe=g.concat(E.slice(0,H+1)),de=()=>{let ne;return Z?ne=ie:ee?ne=ae:M.route.Component?ne=te.createElement(M.route.Component,null):M.route.element?ne=M.route.element:ne=N,te.createElement(ux,{match:M,routeContext:{outlet:N,matches:pe,isDataRoute:d!=null},children:ne})};return d&&(M.route.ErrorBoundary||M.route.errorElement||H===0)?te.createElement(ox,{location:d.location,revalidation:d.revalidation,component:ie,error:Z,children:de(),routeContext:{outlet:null,matches:pe,isDataRoute:!0},onError:A}):de()},null)}function w1(f){return`${f} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function fx(f){let g=te.useContext(Ol);return Qt(g,w1(f)),g}function hx(f){let g=te.useContext(su);return Qt(g,w1(f)),g}function dx(f){let g=te.useContext(ji);return Qt(g,w1(f)),g}function S1(f){let g=dx(f),d=g.matches[g.matches.length-1];return Qt(d.route.id,`${f} can only be used on routes that contain a unique "id"`),d.route.id}function gx(){return S1("useRouteId")}function xx(){let f=te.useContext(C1),g=hx("useRouteError"),d=S1("useRouteError");return f!==void 0?f:g.errors?.[d]}function mx(){let{router:f}=fx("useNavigate"),g=S1("useNavigate"),d=te.useRef(!1);return Ed(()=>{d.current=!0}),te.useCallback(async(C,E={})=>{Mi(d.current,Ad),d.current&&(typeof C=="number"?f.navigate(C):await f.navigate(C,{fromRouteId:g,...E}))},[f,g])}var Zh={};function wd(f,g,d){!g&&!Zh[f]&&(Zh[f]=!0,Mi(!1,d))}te.memo(yx);function yx({routes:f,future:g,state:d,unstable_onError:y}){return Cd(f,void 0,d,y,g)}function px({to:f,replace:g,state:d,relative:y}){Qt(_l()," may be used only in the context of a component.");let{static:C}=te.useContext(Hi);Mi(!C," must not be used on the initial render in a . This is a no-op, but you should modify your code so the is only ever rendered in response to some user interaction or state change.");let{matches:E}=te.useContext(ji),{pathname:O}=Na(),R=ou(),b=E1(f,A1(E),O,y==="path"),A=JSON.stringify(b);return te.useEffect(()=>{R(JSON.parse(A),{replace:g,state:d,relative:y})},[R,A,y,g,d]),null}function Sd(f){return ax(f.context)}function Fr(f){Qt(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function Ax({basename:f="/",children:g=null,location:d,navigationType:y="POP",navigator:C,static:E=!1}){Qt(!_l(),"You cannot render a inside another . You should never have more than one in your app.");let O=f.replace(/^\/*/,"/"),R=te.useMemo(()=>({basename:O,navigator:C,static:E,future:{}}),[O,C,E]);typeof d=="string"&&(d=Il(d));let{pathname:b="/",search:A="",hash:N="",state:M=null,key:H="default"}=d,Z=te.useMemo(()=>{let ee=va(b,O);return ee==null?null:{location:{pathname:ee,search:A,hash:N,state:M,key:H},navigationType:y}},[O,b,A,N,M,H,y]);return Mi(Z!=null,` is not able to match the URL "${b}${A}${N}" because it does not start with the basename, so the won't render anything.`),Z==null?null:te.createElement(Hi.Provider,{value:R},te.createElement(Os.Provider,{children:g,value:Z}))}function Ex({children:f,location:g}){return rx(g1(f),g)}function g1(f,g=[]){let d=[];return te.Children.forEach(f,(y,C)=>{if(!te.isValidElement(y))return;let E=[...g,C];if(y.type===te.Fragment){d.push.apply(d,g1(y.props.children,E));return}Qt(y.type===Fr,`[${typeof y.type=="string"?y.type:y.type.name}] is not a component. All component children of must be a or `),Qt(!y.props.index||!y.props.children,"An index route cannot have child routes.");let O={id:y.props.id||E.join("-"),caseSensitive:y.props.caseSensitive,element:y.props.element,Component:y.props.Component,index:y.props.index,path:y.props.path,middleware:y.props.middleware,loader:y.props.loader,action:y.props.action,hydrateFallbackElement:y.props.hydrateFallbackElement,HydrateFallback:y.props.HydrateFallback,errorElement:y.props.errorElement,ErrorBoundary:y.props.ErrorBoundary,hasErrorBoundary:y.props.hasErrorBoundary===!0||y.props.ErrorBoundary!=null||y.props.errorElement!=null,shouldRevalidate:y.props.shouldRevalidate,handle:y.props.handle,lazy:y.props.lazy};y.props.children&&(O.children=g1(y.props.children,E)),d.push(O)}),d}var tu="get",nu="application/x-www-form-urlencoded";function uu(f){return f!=null&&typeof f.tagName=="string"}function Cx(f){return uu(f)&&f.tagName.toLowerCase()==="button"}function wx(f){return uu(f)&&f.tagName.toLowerCase()==="form"}function Sx(f){return uu(f)&&f.tagName.toLowerCase()==="input"}function bx(f){return!!(f.metaKey||f.altKey||f.ctrlKey||f.shiftKey)}function Tx(f,g){return f.button===0&&(!g||g==="_self")&&!bx(f)}var eu=null;function vx(){if(eu===null)try{new FormData(document.createElement("form"),0),eu=!1}catch{eu=!0}return eu}var Nx=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function h1(f){return f!=null&&!Nx.has(f)?(Mi(!1,`"${f}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${nu}"`),null):f}function Mx(f,g){let d,y,C,E,O;if(wx(f)){let R=f.getAttribute("action");y=R?va(R,g):null,d=f.getAttribute("method")||tu,C=h1(f.getAttribute("enctype"))||nu,E=new FormData(f)}else if(Cx(f)||Sx(f)&&(f.type==="submit"||f.type==="image")){let R=f.form;if(R==null)throw new Error('Cannot submit a