(function(){const s=document.createElement("link").relList;if(s&&s.supports&&s.supports("modulepreload"))return;for(const f of document.querySelectorAll('link[rel="modulepreload"]'))o(f);new MutationObserver(f=>{for(const d of f)if(d.type==="childList")for(const h of d.addedNodes)h.tagName==="LINK"&&h.rel==="modulepreload"&&o(h)}).observe(document,{childList:!0,subtree:!0});function i(f){const d={};return f.integrity&&(d.integrity=f.integrity),f.referrerPolicy&&(d.referrerPolicy=f.referrerPolicy),f.crossOrigin==="use-credentials"?d.credentials="include":f.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function o(f){if(f.ep)return;f.ep=!0;const d=i(f);fetch(f.href,d)}})();function hy(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Xu={exports:{}},ii={};var h0;function py(){if(h0)return ii;h0=1;var n=Symbol.for("react.transitional.element"),s=Symbol.for("react.fragment");function i(o,f,d){var h=null;if(d!==void 0&&(h=""+d),f.key!==void 0&&(h=""+f.key),"key"in f){d={};for(var p in f)p!=="key"&&(d[p]=f[p])}else d=f;return f=d.ref,{$$typeof:n,type:o,key:h,ref:f!==void 0?f:null,props:d}}return ii.Fragment=s,ii.jsx=i,ii.jsxs=i,ii}var p0;function xy(){return p0||(p0=1,Xu.exports=py()),Xu.exports}var r=xy(),Qu={exports:{}},we={};var x0;function gy(){if(x0)return we;x0=1;var n=Symbol.for("react.transitional.element"),s=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),h=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),g=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),y=Symbol.for("react.activity"),S=Symbol.iterator;function E(R){return R===null||typeof R!="object"?null:(R=S&&R[S]||R["@@iterator"],typeof R=="function"?R:null)}var C={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},k=Object.assign,w={};function j(R,G,te){this.props=R,this.context=G,this.refs=w,this.updater=te||C}j.prototype.isReactComponent={},j.prototype.setState=function(R,G){if(typeof R!="object"&&typeof R!="function"&&R!=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,R,G,"setState")},j.prototype.forceUpdate=function(R){this.updater.enqueueForceUpdate(this,R,"forceUpdate")};function N(){}N.prototype=j.prototype;function q(R,G,te){this.props=R,this.context=G,this.refs=w,this.updater=te||C}var M=q.prototype=new N;M.constructor=q,k(M,j.prototype),M.isPureReactComponent=!0;var O=Array.isArray;function K(){}var _={H:null,A:null,T:null,S:null},H=Object.prototype.hasOwnProperty;function z(R,G,te){var ae=te.ref;return{$$typeof:n,type:R,key:G,ref:ae!==void 0?ae:null,props:te}}function V(R,G){return z(R.type,G,R.props)}function U(R){return typeof R=="object"&&R!==null&&R.$$typeof===n}function W(R){var G={"=":"=0",":":"=2"};return"$"+R.replace(/[=:]/g,function(te){return G[te]})}var ce=/\/+/g;function oe(R,G){return typeof R=="object"&&R!==null&&R.key!=null?W(""+R.key):G.toString(36)}function $(R){switch(R.status){case"fulfilled":return R.value;case"rejected":throw R.reason;default:switch(typeof R.status=="string"?R.then(K,K):(R.status="pending",R.then(function(G){R.status==="pending"&&(R.status="fulfilled",R.value=G)},function(G){R.status==="pending"&&(R.status="rejected",R.reason=G)})),R.status){case"fulfilled":return R.value;case"rejected":throw R.reason}}throw R}function T(R,G,te,ae,pe){var re=typeof R;(re==="undefined"||re==="boolean")&&(R=null);var ue=!1;if(R===null)ue=!0;else switch(re){case"bigint":case"string":case"number":ue=!0;break;case"object":switch(R.$$typeof){case n:case s:ue=!0;break;case v:return ue=R._init,T(ue(R._payload),G,te,ae,pe)}}if(ue)return pe=pe(R),ue=ae===""?"."+oe(R,0):ae,O(pe)?(te="",ue!=null&&(te=ue.replace(ce,"$&/")+"/"),T(pe,G,te,"",function(xe){return xe})):pe!=null&&(U(pe)&&(pe=V(pe,te+(pe.key==null||R&&R.key===pe.key?"":(""+pe.key).replace(ce,"$&/")+"/")+ue)),G.push(pe)),1;ue=0;var ve=ae===""?".":ae+":";if(O(R))for(var be=0;be>>1,de=T[ie];if(0>>1;ief(te,I))aef(pe,te)?(T[ie]=pe,T[ae]=I,ie=ae):(T[ie]=te,T[G]=I,ie=G);else if(aef(pe,I))T[ie]=pe,T[ae]=I,ie=ae;else break e}}return Y}function f(T,Y){var I=T.sortIndex-Y.sortIndex;return I!==0?I:T.id-Y.id}if(n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var d=performance;n.unstable_now=function(){return d.now()}}else{var h=Date,p=h.now();n.unstable_now=function(){return h.now()-p}}var x=[],g=[],v=1,y=null,S=3,E=!1,C=!1,k=!1,w=!1,j=typeof setTimeout=="function"?setTimeout:null,N=typeof clearTimeout=="function"?clearTimeout:null,q=typeof setImmediate<"u"?setImmediate:null;function M(T){for(var Y=i(g);Y!==null;){if(Y.callback===null)o(g);else if(Y.startTime<=T)o(g),Y.sortIndex=Y.expirationTime,s(x,Y);else break;Y=i(g)}}function O(T){if(k=!1,M(T),!C)if(i(x)!==null)C=!0,K||(K=!0,W());else{var Y=i(g);Y!==null&&$(O,Y.startTime-T)}}var K=!1,_=-1,H=5,z=-1;function V(){return w?!0:!(n.unstable_now()-zT&&V());){var ie=y.callback;if(typeof ie=="function"){y.callback=null,S=y.priorityLevel;var de=ie(y.expirationTime<=T);if(T=n.unstable_now(),typeof de=="function"){y.callback=de,M(T),Y=!0;break t}y===i(x)&&o(x),M(T)}else o(x);y=i(x)}if(y!==null)Y=!0;else{var R=i(g);R!==null&&$(O,R.startTime-T),Y=!1}}break e}finally{y=null,S=I,E=!1}Y=void 0}}finally{Y?W():K=!1}}}var W;if(typeof q=="function")W=function(){q(U)};else if(typeof MessageChannel<"u"){var ce=new MessageChannel,oe=ce.port2;ce.port1.onmessage=U,W=function(){oe.postMessage(null)}}else W=function(){j(U,0)};function $(T,Y){_=j(function(){T(n.unstable_now())},Y)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(T){T.callback=null},n.unstable_forceFrameRate=function(T){0>T||125ie?(T.sortIndex=I,s(g,T),i(x)===null&&T===i(g)&&(k?(N(_),_=-1):k=!0,$(O,I-ie))):(T.sortIndex=de,s(x,T),C||E||(C=!0,K||(K=!0,W()))),T},n.unstable_shouldYield=V,n.unstable_wrapCallback=function(T){var Y=S;return function(){var I=S;S=Y;try{return T.apply(this,arguments)}finally{S=I}}}})(Iu)),Iu}var b0;function by(){return b0||(b0=1,Zu.exports=vy()),Zu.exports}var Ju={exports:{}},Bt={};var y0;function yy(){if(y0)return Bt;y0=1;var n=$f();function s(x){var g="https://react.dev/errors/"+x;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(s){console.error(s)}}return n(),Ju.exports=yy(),Ju.exports}var j0;function jy(){if(j0)return ri;j0=1;var n=by(),s=$f(),i=Sy();function o(e){var t="https://react.dev/errors/"+e;if(1de||(e.current=ie[de],ie[de]=null,de--)}function te(e,t){de++,ie[de]=e.current,e.current=t}var ae=R(null),pe=R(null),re=R(null),ue=R(null);function ve(e,t){switch(te(re,t),te(pe,e),te(ae,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Lp(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Lp(t),e=zp(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}G(ae),te(ae,e)}function be(){G(ae),G(pe),G(re)}function xe(e){e.memoizedState!==null&&te(ue,e);var t=ae.current,a=zp(t,e.type);t!==a&&(te(pe,e),te(ae,a))}function Be(e){pe.current===e&&(G(ae),G(pe)),ue.current===e&&(G(ue),ni._currentValue=I)}var ze,Ae;function tt(e){if(ze===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);ze=t&&t[1]||"",Ae=-1)":-1c||D[l]!==X[c]){var J=` `+D[l].replace(" at new "," at ");return e.displayName&&J.includes("")&&(J=J.replace("",e.displayName)),J}while(1<=l&&0<=c);break}}}finally{Je=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:"")?tt(a):""}function le(e,t){switch(e.tag){case 26:case 27:case 5:return tt(e.type);case 16:return tt("Lazy");case 13:return e.child!==t&&t!==null?tt("Suspense Fallback"):tt("Suspense");case 19:return tt("SuspenseList");case 0:case 15:return vt(e.type,!1);case 11:return vt(e.type.render,!1);case 1:return vt(e.type,!0);case 31:return tt("Activity");default:return""}}function me(e){try{var t="",a=null;do t+=le(e,a),a=e,e=e.return;while(e);return t}catch(l){return` Error generating stack: `+l.message+` `+l.stack}}var se=Object.prototype.hasOwnProperty,P=n.unstable_scheduleCallback,fe=n.unstable_cancelCallback,Ne=n.unstable_shouldYield,pt=n.unstable_requestPaint,Ve=n.unstable_now,st=n.unstable_getCurrentPriorityLevel,lt=n.unstable_ImmediatePriority,Ot=n.unstable_UserBlockingPriority,it=n.unstable_NormalPriority,ms=n.unstable_LowPriority,Yt=n.unstable_IdlePriority,La=n.log,Bo=n.unstable_setDisableYieldValue,Bn=null,Nt=null;function Ft(e){if(typeof La=="function"&&Bo(e),Nt&&typeof Nt.setStrictMode=="function")try{Nt.setStrictMode(Bn,e)}catch{}}var Mt=Math.clz32?Math.clz32:hs,fa=Math.log,Oo=Math.LN2;function hs(e){return e>>>=0,e===0?32:31-(fa(e)/Oo|0)|0}var ps=256,za=262144,Pe=4194304;function On(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Cn(e,t,a){var l=e.pendingLanes;if(l===0)return 0;var c=0,u=e.suspendedLanes,b=e.pingedLanes;e=e.warmLanes;var A=l&134217727;return A!==0?(l=A&~u,l!==0?c=On(l):(b&=A,b!==0?c=On(b):a||(a=A&~e,a!==0&&(c=On(a))))):(A=l&~u,A!==0?c=On(A):b!==0?c=On(b):a||(a=l&~e,a!==0&&(c=On(a)))),c===0?0:t!==0&&t!==c&&(t&u)===0&&(u=c&-c,a=t&-t,u>=a||u===32&&(a&4194048)!==0)?t:c}function Ln(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function xs(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function hl(){var e=Pe;return Pe<<=1,(Pe&62914560)===0&&(Pe=4194304),e}function pl(e){for(var t=[],a=0;31>a;a++)t.push(e);return t}function Ua(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Lo(e,t,a,l,c,u){var b=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var A=e.entanglements,D=e.expirationTimes,X=e.hiddenUpdates;for(a=b&~a;0"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var ov=/[\n"\\]/g;function ln(e){return e.replace(ov,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Ho(e,t,a,l,c,u,b,A){e.name="",b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?e.type=b:e.removeAttribute("type"),t!=null?b==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+sn(t)):e.value!==""+sn(t)&&(e.value=""+sn(t)):b!=="submit"&&b!=="reset"||e.removeAttribute("value"),t!=null?Vo(e,b,sn(t)):a!=null?Vo(e,b,sn(a)):l!=null&&e.removeAttribute("value"),c==null&&u!=null&&(e.defaultChecked=!!u),c!=null&&(e.checked=c&&typeof c!="function"&&typeof c!="symbol"),A!=null&&typeof A!="function"&&typeof A!="symbol"&&typeof A!="boolean"?e.name=""+sn(A):e.removeAttribute("name")}function qd(e,t,a,l,c,u,b,A){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(e.type=u),t!=null||a!=null){if(!(u!=="submit"&&u!=="reset"||t!=null)){Uo(e);return}a=a!=null?""+sn(a):"",t=t!=null?""+sn(t):a,A||t===e.value||(e.value=t),e.defaultValue=t}l=l??c,l=typeof l!="function"&&typeof l!="symbol"&&!!l,e.checked=A?e.checked:!!l,e.defaultChecked=!!l,b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"&&(e.name=b),Uo(e)}function Vo(e,t,a){t==="number"&&Oi(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function Ss(e,t,a,l){if(e=e.options,t){t={};for(var c=0;c"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Xo=!1;if(Vn)try{var yl={};Object.defineProperty(yl,"passive",{get:function(){Xo=!0}}),window.addEventListener("test",yl,yl),window.removeEventListener("test",yl,yl)}catch{Xo=!1}var da=null,Qo=null,zi=null;function zd(){if(zi)return zi;var e,t=Qo,a=t.length,l,c="value"in da?da.value:da.textContent,u=c.length;for(e=0;e=Al),Yd=" ",Fd=!1;function Xd(e,t){switch(e){case"keyup":return Ov.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Qd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ws=!1;function zv(e,t){switch(e){case"compositionend":return Qd(t);case"keypress":return t.which!==32?null:(Fd=!0,Yd);case"textInput":return e=t.data,e===Yd&&Fd?null:e;default:return null}}function Uv(e,t){if(ws)return e==="compositionend"||!Po&&Xd(e,t)?(e=zd(),zi=Qo=da=null,ws=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:a,offset:t-e};e=l}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=tm(a)}}function am(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?am(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function sm(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Oi(e.document);t instanceof e.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)e=t.contentWindow;else break;t=Oi(e.document)}return t}function tc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var Qv=Vn&&"documentMode"in document&&11>=document.documentMode,Cs=null,nc=null,El=null,ac=!1;function lm(e,t,a){var l=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;ac||Cs==null||Cs!==Oi(l)||(l=Cs,"selectionStart"in l&&tc(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),El&&Cl(El,l)||(El=l,l=qr(nc,"onSelect"),0>=b,c-=b,En=1<<32-Mt(t)+c|a<Ee?(Te=ge,ge=null):Te=ge.sibling;var Le=Q(L,ge,F[Ee],ee);if(Le===null){ge===null&&(ge=Te);break}e&&ge&&Le.alternate===null&&t(L,ge),B=u(Le,B,Ee),Oe===null?Se=Le:Oe.sibling=Le,Oe=Le,ge=Te}if(Ee===F.length)return a(L,ge),De&&Gn(L,Ee),Se;if(ge===null){for(;EeEe?(Te=ge,ge=null):Te=ge.sibling;var _a=Q(L,ge,Le.value,ee);if(_a===null){ge===null&&(ge=Te);break}e&&ge&&_a.alternate===null&&t(L,ge),B=u(_a,B,Ee),Oe===null?Se=_a:Oe.sibling=_a,Oe=_a,ge=Te}if(Le.done)return a(L,ge),De&&Gn(L,Ee),Se;if(ge===null){for(;!Le.done;Ee++,Le=F.next())Le=ne(L,Le.value,ee),Le!==null&&(B=u(Le,B,Ee),Oe===null?Se=Le:Oe.sibling=Le,Oe=Le);return De&&Gn(L,Ee),Se}for(ge=l(ge);!Le.done;Ee++,Le=F.next())Le=Z(ge,L,Ee,Le.value,ee),Le!==null&&(e&&Le.alternate!==null&&ge.delete(Le.key===null?Ee:Le.key),B=u(Le,B,Ee),Oe===null?Se=Le:Oe.sibling=Le,Oe=Le);return e&&ge.forEach(function(my){return t(L,my)}),De&&Gn(L,Ee),Se}function Ke(L,B,F,ee){if(typeof F=="object"&&F!==null&&F.type===k&&F.key===null&&(F=F.props.children),typeof F=="object"&&F!==null){switch(F.$$typeof){case E:e:{for(var Se=F.key;B!==null;){if(B.key===Se){if(Se=F.type,Se===k){if(B.tag===7){a(L,B.sibling),ee=c(B,F.props.children),ee.return=L,L=ee;break e}}else if(B.elementType===Se||typeof Se=="object"&&Se!==null&&Se.$$typeof===H&&Ia(Se)===B.type){a(L,B.sibling),ee=c(B,F.props),Dl(ee,F),ee.return=L,L=ee;break e}a(L,B);break}else t(L,B);B=B.sibling}F.type===k?(ee=Fa(F.props.children,L.mode,ee,F.key),ee.return=L,L=ee):(ee=Ki(F.type,F.key,F.props,null,L.mode,ee),Dl(ee,F),ee.return=L,L=ee)}return b(L);case C:e:{for(Se=F.key;B!==null;){if(B.key===Se)if(B.tag===4&&B.stateNode.containerInfo===F.containerInfo&&B.stateNode.implementation===F.implementation){a(L,B.sibling),ee=c(B,F.children||[]),ee.return=L,L=ee;break e}else{a(L,B);break}else t(L,B);B=B.sibling}ee=uc(F,L.mode,ee),ee.return=L,L=ee}return b(L);case H:return F=Ia(F),Ke(L,B,F,ee)}if($(F))return he(L,B,F,ee);if(W(F)){if(Se=W(F),typeof Se!="function")throw Error(o(150));return F=Se.call(F),je(L,B,F,ee)}if(typeof F.then=="function")return Ke(L,B,tr(F),ee);if(F.$$typeof===q)return Ke(L,B,Ji(L,F),ee);nr(L,F)}return typeof F=="string"&&F!==""||typeof F=="number"||typeof F=="bigint"?(F=""+F,B!==null&&B.tag===6?(a(L,B.sibling),ee=c(B,F),ee.return=L,L=ee):(a(L,B),ee=cc(F,L.mode,ee),ee.return=L,L=ee),b(L)):a(L,B)}return function(L,B,F,ee){try{Tl=0;var Se=Ke(L,B,F,ee);return Ls=null,Se}catch(ge){if(ge===Os||ge===Wi)throw ge;var Oe=Qt(29,ge,null,L.mode);return Oe.lanes=ee,Oe.return=L,Oe}finally{}}}var Pa=km(!0),Mm=km(!1),ga=!1;function jc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ac(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function va(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function ba(e,t,a){var l=e.updateQueue;if(l===null)return null;if(l=l.shared,(Ue&2)!==0){var c=l.pending;return c===null?t.next=t:(t.next=c.next,c.next=t),l.pending=t,t=Qi(e),dm(e,null,a),t}return Xi(e,l,t,a),Qi(e)}function _l(e,t,a){if(t=t.updateQueue,t!==null&&(t=t.shared,(a&4194048)!==0)){var l=t.lanes;l&=e.pendingLanes,a|=l,t.lanes=a,an(e,a)}}function Nc(e,t){var a=e.updateQueue,l=e.alternate;if(l!==null&&(l=l.updateQueue,a===l)){var c=null,u=null;if(a=a.firstBaseUpdate,a!==null){do{var b={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};u===null?c=u=b:u=u.next=b,a=a.next}while(a!==null);u===null?c=u=t:u=u.next=t}else c=u=t;a={baseState:l.baseState,firstBaseUpdate:c,lastBaseUpdate:u,shared:l.shared,callbacks:l.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=t:e.next=t,a.lastBaseUpdate=t}var wc=!1;function Bl(){if(wc){var e=Bs;if(e!==null)throw e}}function Ol(e,t,a,l){wc=!1;var c=e.updateQueue;ga=!1;var u=c.firstBaseUpdate,b=c.lastBaseUpdate,A=c.shared.pending;if(A!==null){c.shared.pending=null;var D=A,X=D.next;D.next=null,b===null?u=X:b.next=X,b=D;var J=e.alternate;J!==null&&(J=J.updateQueue,A=J.lastBaseUpdate,A!==b&&(A===null?J.firstBaseUpdate=X:A.next=X,J.lastBaseUpdate=D))}if(u!==null){var ne=c.baseState;b=0,J=X=D=null,A=u;do{var Q=A.lane&-536870913,Z=Q!==A.lane;if(Z?(qe&Q)===Q:(l&Q)===Q){Q!==0&&Q===_s&&(wc=!0),J!==null&&(J=J.next={lane:0,tag:A.tag,payload:A.payload,callback:null,next:null});e:{var he=e,je=A;Q=t;var Ke=a;switch(je.tag){case 1:if(he=je.payload,typeof he=="function"){ne=he.call(Ke,ne,Q);break e}ne=he;break e;case 3:he.flags=he.flags&-65537|128;case 0:if(he=je.payload,Q=typeof he=="function"?he.call(Ke,ne,Q):he,Q==null)break e;ne=y({},ne,Q);break e;case 2:ga=!0}}Q=A.callback,Q!==null&&(e.flags|=64,Z&&(e.flags|=8192),Z=c.callbacks,Z===null?c.callbacks=[Q]:Z.push(Q))}else Z={lane:Q,tag:A.tag,payload:A.payload,callback:A.callback,next:null},J===null?(X=J=Z,D=ne):J=J.next=Z,b|=Q;if(A=A.next,A===null){if(A=c.shared.pending,A===null)break;Z=A,A=Z.next,Z.next=null,c.lastBaseUpdate=Z,c.shared.pending=null}}while(!0);J===null&&(D=ne),c.baseState=D,c.firstBaseUpdate=X,c.lastBaseUpdate=J,u===null&&(c.shared.lanes=0),Na|=b,e.lanes=b,e.memoizedState=ne}}function Rm(e,t){if(typeof e!="function")throw Error(o(191,e));e.call(t)}function qm(e,t){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;eu?u:8;var b=T.T,A={};T.T=A,Yc(e,!1,t,a);try{var D=c(),X=T.S;if(X!==null&&X(A,D),D!==null&&typeof D=="object"&&typeof D.then=="function"){var J=nb(D,l);Ul(e,t,J,Pt(e))}else Ul(e,t,l,Pt(e))}catch(ne){Ul(e,t,{then:function(){},status:"rejected",reason:ne},Pt())}finally{Y.p=u,b!==null&&A.types!==null&&(b.types=A.types),T.T=b}}function ob(){}function $c(e,t,a,l){if(e.tag!==5)throw Error(o(476));var c=ch(e).queue;oh(e,c,t,I,a===null?ob:function(){return uh(e),a(l)})}function ch(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:I,baseState:I,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Qn,lastRenderedState:I},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Qn,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function uh(e){var t=ch(e);t.next===null&&(t=e.alternate.memoizedState),Ul(e,t.next.queue,{},Pt())}function Gc(){return qt(ni)}function fh(){return gt().memoizedState}function dh(){return gt().memoizedState}function cb(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var a=Pt();e=va(a);var l=ba(t,e,a);l!==null&&(Gt(l,t,a),_l(l,t,a)),t={cache:vc()},e.payload=t;return}t=t.return}}function ub(e,t,a){var l=Pt();a={lane:l,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},dr(e)?hh(t,a):(a=rc(e,t,a,l),a!==null&&(Gt(a,e,l),ph(a,t,l)))}function mh(e,t,a){var l=Pt();Ul(e,t,a,l)}function Ul(e,t,a,l){var c={lane:l,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(dr(e))hh(t,c);else{var u=e.alternate;if(e.lanes===0&&(u===null||u.lanes===0)&&(u=t.lastRenderedReducer,u!==null))try{var b=t.lastRenderedState,A=u(b,a);if(c.hasEagerState=!0,c.eagerState=A,Xt(A,b))return Xi(e,t,c,0),Ie===null&&Fi(),!1}catch{}finally{}if(a=rc(e,t,c,l),a!==null)return Gt(a,e,l),ph(a,t,l),!0}return!1}function Yc(e,t,a,l){if(l={lane:2,revertLane:ju(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},dr(e)){if(t)throw Error(o(479))}else t=rc(e,a,l,2),t!==null&&Gt(t,e,2)}function dr(e){var t=e.alternate;return e===Ce||t!==null&&t===Ce}function hh(e,t){Us=lr=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function ph(e,t,a){if((a&4194048)!==0){var l=t.lanes;l&=e.pendingLanes,a|=l,t.lanes=a,an(e,a)}}var Hl={readContext:qt,use:or,useCallback:dt,useContext:dt,useEffect:dt,useImperativeHandle:dt,useLayoutEffect:dt,useInsertionEffect:dt,useMemo:dt,useReducer:dt,useRef:dt,useState:dt,useDebugValue:dt,useDeferredValue:dt,useTransition:dt,useSyncExternalStore:dt,useId:dt,useHostTransitionStatus:dt,useFormState:dt,useActionState:dt,useOptimistic:dt,useMemoCache:dt,useCacheRefresh:dt};Hl.useEffectEvent=dt;var xh={readContext:qt,use:or,useCallback:function(e,t){return Lt().memoizedState=[e,t===void 0?null:t],e},useContext:qt,useEffect:Wm,useImperativeHandle:function(e,t,a){a=a!=null?a.concat([e]):null,ur(4194308,4,ah.bind(null,t,e),a)},useLayoutEffect:function(e,t){return ur(4194308,4,e,t)},useInsertionEffect:function(e,t){ur(4,2,e,t)},useMemo:function(e,t){var a=Lt();t=t===void 0?null:t;var l=e();if(Wa){Ft(!0);try{e()}finally{Ft(!1)}}return a.memoizedState=[l,t],l},useReducer:function(e,t,a){var l=Lt();if(a!==void 0){var c=a(t);if(Wa){Ft(!0);try{a(t)}finally{Ft(!1)}}}else c=t;return l.memoizedState=l.baseState=c,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:c},l.queue=e,e=e.dispatch=ub.bind(null,Ce,e),[l.memoizedState,e]},useRef:function(e){var t=Lt();return e={current:e},t.memoizedState=e},useState:function(e){e=Lc(e);var t=e.queue,a=mh.bind(null,Ce,t);return t.dispatch=a,[e.memoizedState,a]},useDebugValue:Hc,useDeferredValue:function(e,t){var a=Lt();return Vc(a,e,t)},useTransition:function(){var e=Lc(!1);return e=oh.bind(null,Ce,e.queue,!0,!1),Lt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,a){var l=Ce,c=Lt();if(De){if(a===void 0)throw Error(o(407));a=a()}else{if(a=t(),Ie===null)throw Error(o(349));(qe&127)!==0||Lm(l,t,a)}c.memoizedState=a;var u={value:a,getSnapshot:t};return c.queue=u,Wm(Um.bind(null,l,u,e),[e]),l.flags|=2048,Vs(9,{destroy:void 0},zm.bind(null,l,u,a,t),null),a},useId:function(){var e=Lt(),t=Ie.identifierPrefix;if(De){var a=kn,l=En;a=(l&~(1<<32-Mt(l)-1)).toString(32)+a,t="_"+t+"R_"+a,a=ir++,0<\/script>",u=u.removeChild(u.firstChild);break;case"select":u=typeof l.is=="string"?b.createElement("select",{is:l.is}):b.createElement("select"),l.multiple?u.multiple=!0:l.size&&(u.size=l.size);break;default:u=typeof l.is=="string"?b.createElement(c,{is:l.is}):b.createElement(c)}}u[ot]=t,u[wt]=l;e:for(b=t.child;b!==null;){if(b.tag===5||b.tag===6)u.appendChild(b.stateNode);else if(b.tag!==4&&b.tag!==27&&b.child!==null){b.child.return=b,b=b.child;continue}if(b===t)break e;for(;b.sibling===null;){if(b.return===null||b.return===t)break e;b=b.return}b.sibling.return=b.return,b=b.sibling}t.stateNode=u;e:switch(Dt(u,c,l),c){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break e;case"img":l=!0;break e;default:l=!1}l&&Zn(t)}}return et(t),su(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,a),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==l&&Zn(t);else{if(typeof l!="string"&&t.stateNode===null)throw Error(o(166));if(e=re.current,Ts(t)){if(e=t.stateNode,a=t.memoizedProps,l=null,c=Rt,c!==null)switch(c.tag){case 27:case 5:l=c.memoizedProps}e[ot]=t,e=!!(e.nodeValue===a||l!==null&&l.suppressHydrationWarning===!0||Bp(e.nodeValue,a)),e||pa(t,!0)}else e=Tr(e).createTextNode(l),e[ot]=t,t.stateNode=e}return et(t),null;case 31:if(a=t.memoizedState,e===null||e.memoizedState!==null){if(l=Ts(t),a!==null){if(e===null){if(!l)throw Error(o(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(557));e[ot]=t}else Xa(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;et(t),e=!1}else a=hc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),e=!0;if(!e)return t.flags&256?(Zt(t),t):(Zt(t),null);if((t.flags&128)!==0)throw Error(o(558))}return et(t),null;case 13:if(l=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(c=Ts(t),l!==null&&l.dehydrated!==null){if(e===null){if(!c)throw Error(o(318));if(c=t.memoizedState,c=c!==null?c.dehydrated:null,!c)throw Error(o(317));c[ot]=t}else Xa(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;et(t),c=!1}else c=hc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=c),c=!0;if(!c)return t.flags&256?(Zt(t),t):(Zt(t),null)}return Zt(t),(t.flags&128)!==0?(t.lanes=a,t):(a=l!==null,e=e!==null&&e.memoizedState!==null,a&&(l=t.child,c=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(c=l.alternate.memoizedState.cachePool.pool),u=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(u=l.memoizedState.cachePool.pool),u!==c&&(l.flags|=2048)),a!==e&&a&&(t.child.flags|=8192),gr(t,t.updateQueue),et(t),null);case 4:return be(),e===null&&Cu(t.stateNode.containerInfo),et(t),null;case 10:return Fn(t.type),et(t),null;case 19:if(G(xt),l=t.memoizedState,l===null)return et(t),null;if(c=(t.flags&128)!==0,u=l.rendering,u===null)if(c)$l(l,!1);else{if(mt!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(u=sr(e),u!==null){for(t.flags|=128,$l(l,!1),e=u.updateQueue,t.updateQueue=e,gr(t,e),t.subtreeFlags=0,e=a,a=t.child;a!==null;)mm(a,e),a=a.sibling;return te(xt,xt.current&1|2),De&&Gn(t,l.treeForkCount),t.child}e=e.sibling}l.tail!==null&&Ve()>jr&&(t.flags|=128,c=!0,$l(l,!1),t.lanes=4194304)}else{if(!c)if(e=sr(u),e!==null){if(t.flags|=128,c=!0,e=e.updateQueue,t.updateQueue=e,gr(t,e),$l(l,!0),l.tail===null&&l.tailMode==="hidden"&&!u.alternate&&!De)return et(t),null}else 2*Ve()-l.renderingStartTime>jr&&a!==536870912&&(t.flags|=128,c=!0,$l(l,!1),t.lanes=4194304);l.isBackwards?(u.sibling=t.child,t.child=u):(e=l.last,e!==null?e.sibling=u:t.child=u,l.last=u)}return l.tail!==null?(e=l.tail,l.rendering=e,l.tail=e.sibling,l.renderingStartTime=Ve(),e.sibling=null,a=xt.current,te(xt,c?a&1|2:a&1),De&&Gn(t,l.treeForkCount),e):(et(t),null);case 22:case 23:return Zt(t),Ec(),l=t.memoizedState!==null,e!==null?e.memoizedState!==null!==l&&(t.flags|=8192):l&&(t.flags|=8192),l?(a&536870912)!==0&&(t.flags&128)===0&&(et(t),t.subtreeFlags&6&&(t.flags|=8192)):et(t),a=t.updateQueue,a!==null&&gr(t,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),l=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),l!==a&&(t.flags|=2048),e!==null&&G(Za),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Fn(bt),et(t),null;case 25:return null;case 30:return null}throw Error(o(156,t.tag))}function pb(e,t){switch(dc(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Fn(bt),be(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Be(t),null;case 31:if(t.memoizedState!==null){if(Zt(t),t.alternate===null)throw Error(o(340));Xa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Zt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(o(340));Xa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return G(xt),null;case 4:return be(),null;case 10:return Fn(t.type),null;case 22:case 23:return Zt(t),Ec(),e!==null&&G(Za),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Fn(bt),null;case 25:return null;default:return null}}function Hh(e,t){switch(dc(t),t.tag){case 3:Fn(bt),be();break;case 26:case 27:case 5:Be(t);break;case 4:be();break;case 31:t.memoizedState!==null&&Zt(t);break;case 13:Zt(t);break;case 19:G(xt);break;case 10:Fn(t.type);break;case 22:case 23:Zt(t),Ec(),e!==null&&G(Za);break;case 24:Fn(bt)}}function Gl(e,t){try{var a=t.updateQueue,l=a!==null?a.lastEffect:null;if(l!==null){var c=l.next;a=c;do{if((a.tag&e)===e){l=void 0;var u=a.create,b=a.inst;l=u(),b.destroy=l}a=a.next}while(a!==c)}}catch(A){Ye(t,t.return,A)}}function ja(e,t,a){try{var l=t.updateQueue,c=l!==null?l.lastEffect:null;if(c!==null){var u=c.next;l=u;do{if((l.tag&e)===e){var b=l.inst,A=b.destroy;if(A!==void 0){b.destroy=void 0,c=t;var D=a,X=A;try{X()}catch(J){Ye(c,D,J)}}}l=l.next}while(l!==u)}}catch(J){Ye(t,t.return,J)}}function Vh(e){var t=e.updateQueue;if(t!==null){var a=e.stateNode;try{qm(t,a)}catch(l){Ye(e,e.return,l)}}}function $h(e,t,a){a.props=es(e.type,e.memoizedProps),a.state=e.memoizedState;try{a.componentWillUnmount()}catch(l){Ye(e,t,l)}}function Yl(e,t){try{var a=e.ref;if(a!==null){switch(e.tag){case 26:case 27:case 5:var l=e.stateNode;break;case 30:l=e.stateNode;break;default:l=e.stateNode}typeof a=="function"?e.refCleanup=a(l):a.current=l}}catch(c){Ye(e,t,c)}}function Mn(e,t){var a=e.ref,l=e.refCleanup;if(a!==null)if(typeof l=="function")try{l()}catch(c){Ye(e,t,c)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(c){Ye(e,t,c)}else a.current=null}function Gh(e){var t=e.type,a=e.memoizedProps,l=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&l.focus();break e;case"img":a.src?l.src=a.src:a.srcSet&&(l.srcset=a.srcSet)}}catch(c){Ye(e,e.return,c)}}function lu(e,t,a){try{var l=e.stateNode;Lb(l,e.type,a,t),l[wt]=t}catch(c){Ye(e,e.return,c)}}function Yh(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Ma(e.type)||e.tag===4}function iu(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Yh(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&&Ma(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 ru(e,t,a){var l=e.tag;if(l===5||l===6)e=e.stateNode,t?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(e,t):(t=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,t.appendChild(e),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=Hn));else if(l!==4&&(l===27&&Ma(e.type)&&(a=e.stateNode,t=null),e=e.child,e!==null))for(ru(e,t,a),e=e.sibling;e!==null;)ru(e,t,a),e=e.sibling}function vr(e,t,a){var l=e.tag;if(l===5||l===6)e=e.stateNode,t?a.insertBefore(e,t):a.appendChild(e);else if(l!==4&&(l===27&&Ma(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(vr(e,t,a),e=e.sibling;e!==null;)vr(e,t,a),e=e.sibling}function Fh(e){var t=e.stateNode,a=e.memoizedProps;try{for(var l=e.type,c=t.attributes;c.length;)t.removeAttributeNode(c[0]);Dt(t,l,a),t[ot]=e,t[wt]=a}catch(u){Ye(e,e.return,u)}}var In=!1,jt=!1,ou=!1,Xh=typeof WeakSet=="function"?WeakSet:Set,kt=null;function xb(e,t){if(e=e.containerInfo,Mu=Ur,e=sm(e),tc(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var l=a.getSelection&&a.getSelection();if(l&&l.rangeCount!==0){a=l.anchorNode;var c=l.anchorOffset,u=l.focusNode;l=l.focusOffset;try{a.nodeType,u.nodeType}catch{a=null;break e}var b=0,A=-1,D=-1,X=0,J=0,ne=e,Q=null;t:for(;;){for(var Z;ne!==a||c!==0&&ne.nodeType!==3||(A=b+c),ne!==u||l!==0&&ne.nodeType!==3||(D=b+l),ne.nodeType===3&&(b+=ne.nodeValue.length),(Z=ne.firstChild)!==null;)Q=ne,ne=Z;for(;;){if(ne===e)break t;if(Q===a&&++X===c&&(A=b),Q===u&&++J===l&&(D=b),(Z=ne.nextSibling)!==null)break;ne=Q,Q=ne.parentNode}ne=Z}a=A===-1||D===-1?null:{start:A,end:D}}else a=null}a=a||{start:0,end:0}}else a=null;for(Ru={focusedElem:e,selectionRange:a},Ur=!1,kt=t;kt!==null;)if(t=kt,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,kt=e;else for(;kt!==null;){switch(t=kt,u=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(a=0;a title"))),Dt(u,l,a),u[ot]=e,Et(u),l=u;break e;case"link":var b=Pp("link","href",c).get(l+(a.href||""));if(b){for(var A=0;AKe&&(b=Ke,Ke=je,je=b);var L=nm(A,je),B=nm(A,Ke);if(L&&B&&(Z.rangeCount!==1||Z.anchorNode!==L.node||Z.anchorOffset!==L.offset||Z.focusNode!==B.node||Z.focusOffset!==B.offset)){var F=ne.createRange();F.setStart(L.node,L.offset),Z.removeAllRanges(),je>Ke?(Z.addRange(F),Z.extend(B.node,B.offset)):(F.setEnd(B.node,B.offset),Z.addRange(F))}}}}for(ne=[],Z=A;Z=Z.parentNode;)Z.nodeType===1&&ne.push({element:Z,left:Z.scrollLeft,top:Z.scrollTop});for(typeof A.focus=="function"&&A.focus(),A=0;Aa?32:a,T.T=null,a=pu,pu=null;var u=Ca,b=ta;if(Ct=0,Xs=Ca=null,ta=0,(Ue&6)!==0)throw Error(o(331));var A=Ue;if(Ue|=4,ap(u.current),ep(u,u.current,b,a),Ue=A,Il(0,!1),Nt&&typeof Nt.onPostCommitFiberRoot=="function")try{Nt.onPostCommitFiberRoot(Bn,u)}catch{}return!0}finally{Y.p=c,T.T=l,Sp(e,t)}}function Ap(e,t,a){t=on(a,t),t=Kc(e.stateNode,t,2),e=ba(e,t,2),e!==null&&(Ua(e,2),Rn(e))}function Ye(e,t,a){if(e.tag===3)Ap(e,e,a);else for(;t!==null;){if(t.tag===3){Ap(t,e,a);break}else if(t.tag===1){var l=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(wa===null||!wa.has(l))){e=on(a,e),a=Nh(2),l=ba(t,a,2),l!==null&&(wh(a,l,t,e),Ua(l,2),Rn(l));break}}t=t.return}}function bu(e,t,a){var l=e.pingCache;if(l===null){l=e.pingCache=new bb;var c=new Set;l.set(t,c)}else c=l.get(t),c===void 0&&(c=new Set,l.set(t,c));c.has(a)||(fu=!0,c.add(a),e=Nb.bind(null,e,t,a),t.then(e,e))}function Nb(e,t,a){var l=e.pingCache;l!==null&&l.delete(t),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,Ie===e&&(qe&a)===a&&(mt===4||mt===3&&(qe&62914560)===qe&&300>Ve()-Sr?(Ue&2)===0&&Qs(e,0):du|=a,Fs===qe&&(Fs=0)),Rn(e)}function Np(e,t){t===0&&(t=hl()),e=Ya(e,t),e!==null&&(Ua(e,t),Rn(e))}function wb(e){var t=e.memoizedState,a=0;t!==null&&(a=t.retryLane),Np(e,a)}function Cb(e,t){var a=0;switch(e.tag){case 31:case 13:var l=e.stateNode,c=e.memoizedState;c!==null&&(a=c.retryLane);break;case 19:l=e.stateNode;break;case 22:l=e.stateNode._retryCache;break;default:throw Error(o(314))}l!==null&&l.delete(t),Np(e,a)}function Eb(e,t){return P(e,t)}var kr=null,Zs=null,yu=!1,Mr=!1,Su=!1,ka=0;function Rn(e){e!==Zs&&e.next===null&&(Zs===null?kr=Zs=e:Zs=Zs.next=e),Mr=!0,yu||(yu=!0,Mb())}function Il(e,t){if(!Su&&Mr){Su=!0;do for(var a=!1,l=kr;l!==null;){if(e!==0){var c=l.pendingLanes;if(c===0)var u=0;else{var b=l.suspendedLanes,A=l.pingedLanes;u=(1<<31-Mt(42|e)+1)-1,u&=c&~(b&~A),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(a=!0,kp(l,u))}else u=qe,u=Cn(l,l===Ie?u:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(u&3)===0||Ln(l,u)||(a=!0,kp(l,u));l=l.next}while(a);Su=!1}}function kb(){wp()}function wp(){Mr=yu=!1;var e=0;ka!==0&&Ub()&&(e=ka);for(var t=Ve(),a=null,l=kr;l!==null;){var c=l.next,u=Cp(l,t);u===0?(l.next=null,a===null?kr=c:a.next=c,c===null&&(Zs=a)):(a=l,(e!==0||(u&3)!==0)&&(Mr=!0)),l=c}Ct!==0&&Ct!==5||Il(e),ka!==0&&(ka=0)}function Cp(e,t){for(var a=e.suspendedLanes,l=e.pingedLanes,c=e.expirationTimes,u=e.pendingLanes&-62914561;0A)break;var J=D.transferSize,ne=D.initiatorType;J&&Op(ne)&&(D=D.responseEnd,b+=J*(D"u"?null:document;function Kp(e,t,a){var l=Is;if(l&&typeof t=="string"&&t){var c=ln(t);c='link[rel="'+e+'"][href="'+c+'"]',typeof a=="string"&&(c+='[crossorigin="'+a+'"]'),Qp.has(c)||(Qp.add(c),e={rel:e,crossOrigin:a,href:t},l.querySelector(c)===null&&(t=l.createElement("link"),Dt(t,"link",e),Et(t),l.head.appendChild(t)))}}function Kb(e){na.D(e),Kp("dns-prefetch",e,null)}function Zb(e,t){na.C(e,t),Kp("preconnect",e,t)}function Ib(e,t,a){na.L(e,t,a);var l=Is;if(l&&e&&t){var c='link[rel="preload"][as="'+ln(t)+'"]';t==="image"&&a&&a.imageSrcSet?(c+='[imagesrcset="'+ln(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(c+='[imagesizes="'+ln(a.imageSizes)+'"]')):c+='[href="'+ln(e)+'"]';var u=c;switch(t){case"style":u=Js(e);break;case"script":u=Ps(e)}hn.has(u)||(e=y({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:e,as:t},a),hn.set(u,e),l.querySelector(c)!==null||t==="style"&&l.querySelector(ei(u))||t==="script"&&l.querySelector(ti(u))||(t=l.createElement("link"),Dt(t,"link",e),Et(t),l.head.appendChild(t)))}}function Jb(e,t){na.m(e,t);var a=Is;if(a&&e){var l=t&&typeof t.as=="string"?t.as:"script",c='link[rel="modulepreload"][as="'+ln(l)+'"][href="'+ln(e)+'"]',u=c;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=Ps(e)}if(!hn.has(u)&&(e=y({rel:"modulepreload",href:e},t),hn.set(u,e),a.querySelector(c)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(ti(u)))return}l=a.createElement("link"),Dt(l,"link",e),Et(l),a.head.appendChild(l)}}}function Pb(e,t,a){na.S(e,t,a);var l=Is;if(l&&e){var c=bs(l).hoistableStyles,u=Js(e);t=t||"default";var b=c.get(u);if(!b){var A={loading:0,preload:null};if(b=l.querySelector(ei(u)))A.loading=5;else{e=y({rel:"stylesheet",href:e,"data-precedence":t},a),(a=hn.get(u))&&Lu(e,a);var D=b=l.createElement("link");Et(D),Dt(D,"link",e),D._p=new Promise(function(X,J){D.onload=X,D.onerror=J}),D.addEventListener("load",function(){A.loading|=1}),D.addEventListener("error",function(){A.loading|=2}),A.loading|=4,_r(b,t,l)}b={type:"stylesheet",instance:b,count:1,state:A},c.set(u,b)}}}function Wb(e,t){na.X(e,t);var a=Is;if(a&&e){var l=bs(a).hoistableScripts,c=Ps(e),u=l.get(c);u||(u=a.querySelector(ti(c)),u||(e=y({src:e,async:!0},t),(t=hn.get(c))&&zu(e,t),u=a.createElement("script"),Et(u),Dt(u,"link",e),a.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},l.set(c,u))}}function ey(e,t){na.M(e,t);var a=Is;if(a&&e){var l=bs(a).hoistableScripts,c=Ps(e),u=l.get(c);u||(u=a.querySelector(ti(c)),u||(e=y({src:e,async:!0,type:"module"},t),(t=hn.get(c))&&zu(e,t),u=a.createElement("script"),Et(u),Dt(u,"link",e),a.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},l.set(c,u))}}function Zp(e,t,a,l){var c=(c=re.current)?Dr(c):null;if(!c)throw Error(o(446));switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(t=Js(a.href),a=bs(c).hoistableStyles,l=a.get(t),l||(l={type:"style",instance:null,count:0,state:null},a.set(t,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){e=Js(a.href);var u=bs(c).hoistableStyles,b=u.get(e);if(b||(c=c.ownerDocument||c,b={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(e,b),(u=c.querySelector(ei(e)))&&!u._p&&(b.instance=u,b.state.loading=5),hn.has(e)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},hn.set(e,a),u||ty(c,e,a,b.state))),t&&l===null)throw Error(o(528,""));return b}if(t&&l!==null)throw Error(o(529,""));return null;case"script":return t=a.async,a=a.src,typeof a=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Ps(a),a=bs(c).hoistableScripts,l=a.get(t),l||(l={type:"script",instance:null,count:0,state:null},a.set(t,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,e))}}function Js(e){return'href="'+ln(e)+'"'}function ei(e){return'link[rel="stylesheet"]['+e+"]"}function Ip(e){return y({},e,{"data-precedence":e.precedence,precedence:null})}function ty(e,t,a,l){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?l.loading=1:(t=e.createElement("link"),l.preload=t,t.addEventListener("load",function(){return l.loading|=1}),t.addEventListener("error",function(){return l.loading|=2}),Dt(t,"link",a),Et(t),e.head.appendChild(t))}function Ps(e){return'[src="'+ln(e)+'"]'}function ti(e){return"script[async]"+e}function Jp(e,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var l=e.querySelector('style[data-href~="'+ln(a.href)+'"]');if(l)return t.instance=l,Et(l),l;var c=y({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return l=(e.ownerDocument||e).createElement("style"),Et(l),Dt(l,"style",c),_r(l,a.precedence,e),t.instance=l;case"stylesheet":c=Js(a.href);var u=e.querySelector(ei(c));if(u)return t.state.loading|=4,t.instance=u,Et(u),u;l=Ip(a),(c=hn.get(c))&&Lu(l,c),u=(e.ownerDocument||e).createElement("link"),Et(u);var b=u;return b._p=new Promise(function(A,D){b.onload=A,b.onerror=D}),Dt(u,"link",l),t.state.loading|=4,_r(u,a.precedence,e),t.instance=u;case"script":return u=Ps(a.src),(c=e.querySelector(ti(u)))?(t.instance=c,Et(c),c):(l=a,(c=hn.get(u))&&(l=y({},a),zu(l,c)),e=e.ownerDocument||e,c=e.createElement("script"),Et(c),Dt(c,"link",l),e.head.appendChild(c),t.instance=c);case"void":return null;default:throw Error(o(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(l=t.instance,t.state.loading|=4,_r(l,a.precedence,e));return t.instance}function _r(e,t,a){for(var l=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),c=l.length?l[l.length-1]:null,u=c,b=0;b title"):null)}function ny(e,t,a){if(a===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function e0(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function ay(e,t,a,l){if(a.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var c=Js(l.href),u=t.querySelector(ei(c));if(u){t=u._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Or.bind(e),t.then(e,e)),a.state.loading|=4,a.instance=u,Et(u);return}u=t.ownerDocument||t,l=Ip(l),(c=hn.get(c))&&Lu(l,c),u=u.createElement("link"),Et(u);var b=u;b._p=new Promise(function(A,D){b.onload=A,b.onerror=D}),Dt(u,"link",l),a.instance=u}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(a,t),(t=a.state.preload)&&(a.state.loading&3)===0&&(e.count++,a=Or.bind(e),t.addEventListener("load",a),t.addEventListener("error",a))}}var Uu=0;function sy(e,t){return e.stylesheets&&e.count===0&&zr(e,e.stylesheets),0Uu?50:800)+t);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(l),clearTimeout(c)}}:null}function Or(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)zr(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Lr=null;function zr(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Lr=new Map,t.forEach(ly,e),Lr=null,Or.call(e))}function ly(e,t){if(!(t.state.loading&4)){var a=Lr.get(e);if(a)var l=a.get(null);else{a=new Map,Lr.set(e,a);for(var c=e.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(s){console.error(s)}}return n(),Ku.exports=jy(),Ku.exports}var Ny=Ay();var N0="popstate";function wy(n={}){function s(o,f){let{pathname:d,search:h,hash:p}=o.location;return Af("",{pathname:d,search:h,hash:p},f.state&&f.state.usr||null,f.state&&f.state.key||"default")}function i(o,f){return typeof f=="string"?f:yi(f)}return Ey(s,i,null,n)}function ut(n,s){if(n===!1||n===null||typeof n>"u")throw new Error(s)}function Nn(n,s){if(!n){typeof console<"u"&&console.warn(s);try{throw new Error(s)}catch{}}}function Cy(){return Math.random().toString(36).substring(2,10)}function w0(n,s){return{usr:n.state,key:n.key,idx:s}}function Af(n,s,i=null,o){return{pathname:typeof n=="string"?n:n.pathname,search:"",hash:"",...typeof s=="string"?ul(s):s,state:i,key:s&&s.key||o||Cy()}}function yi({pathname:n="/",search:s="",hash:i=""}){return s&&s!=="?"&&(n+=s.charAt(0)==="?"?s:"?"+s),i&&i!=="#"&&(n+=i.charAt(0)==="#"?i:"#"+i),n}function ul(n){let s={};if(n){let i=n.indexOf("#");i>=0&&(s.hash=n.substring(i),n=n.substring(0,i));let o=n.indexOf("?");o>=0&&(s.search=n.substring(o),n=n.substring(0,o)),n&&(s.pathname=n)}return s}function Ey(n,s,i,o={}){let{window:f=document.defaultView,v5Compat:d=!1}=o,h=f.history,p="POP",x=null,g=v();g==null&&(g=0,h.replaceState({...h.state,idx:g},""));function v(){return(h.state||{idx:null}).idx}function y(){p="POP";let w=v(),j=w==null?null:w-g;g=w,x&&x({action:p,location:k.location,delta:j})}function S(w,j){p="PUSH";let N=Af(k.location,w,j);g=v()+1;let q=w0(N,g),M=k.createHref(N);try{h.pushState(q,"",M)}catch(O){if(O instanceof DOMException&&O.name==="DataCloneError")throw O;f.location.assign(M)}d&&x&&x({action:p,location:k.location,delta:1})}function E(w,j){p="REPLACE";let N=Af(k.location,w,j);g=v();let q=w0(N,g),M=k.createHref(N);h.replaceState(q,"",M),d&&x&&x({action:p,location:k.location,delta:0})}function C(w){return ky(w)}let k={get action(){return p},get location(){return n(f,h)},listen(w){if(x)throw new Error("A history only accepts one active listener");return f.addEventListener(N0,y),x=w,()=>{f.removeEventListener(N0,y),x=null}},createHref(w){return s(f,w)},createURL:C,encodeLocation(w){let j=C(w);return{pathname:j.pathname,search:j.search,hash:j.hash}},push:S,replace:E,go(w){return h.go(w)}};return k}function ky(n,s=!1){let i="http://localhost";typeof window<"u"&&(i=window.location.origin!=="null"?window.location.origin:window.location.href),ut(i,"No window.location.(origin|href) available to create URL");let o=typeof n=="string"?n:yi(n);return o=o.replace(/ $/,"%20"),!s&&o.startsWith("//")&&(o=i+o),new URL(o,i)}function kx(n,s,i="/"){return My(n,s,i,!1)}function My(n,s,i,o){let f=typeof s=="string"?ul(s):s,d=oa(f.pathname||"/",i);if(d==null)return null;let h=Mx(n);Ry(h);let p=null;for(let x=0;p==null&&x{let v={relativePath:g===void 0?h.path||"":g,caseSensitive:h.caseSensitive===!0,childrenIndex:p,route:h};if(v.relativePath.startsWith("/")){if(!v.relativePath.startsWith(o)&&x)return;ut(v.relativePath.startsWith(o),`Absolute route path "${v.relativePath}" nested under path "${o}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),v.relativePath=v.relativePath.slice(o.length)}let y=ra([o,v.relativePath]),S=i.concat(v);h.children&&h.children.length>0&&(ut(h.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${y}".`),Mx(h.children,s,S,y,x)),!(h.path==null&&!h.index)&&s.push({path:y,score:Ly(y,h.index),routesMeta:S})};return n.forEach((h,p)=>{if(h.path===""||!h.path?.includes("?"))d(h,p);else for(let x of Rx(h.path))d(h,p,!0,x)}),s}function Rx(n){let s=n.split("/");if(s.length===0)return[];let[i,...o]=s,f=i.endsWith("?"),d=i.replace(/\?$/,"");if(o.length===0)return f?[d,""]:[d];let h=Rx(o.join("/")),p=[];return p.push(...h.map(x=>x===""?d:[d,x].join("/"))),f&&p.push(...h),p.map(x=>n.startsWith("/")&&x===""?"/":x)}function Ry(n){n.sort((s,i)=>s.score!==i.score?i.score-s.score:zy(s.routesMeta.map(o=>o.childrenIndex),i.routesMeta.map(o=>o.childrenIndex)))}var qy=/^:[\w-]+$/,Ty=3,Dy=2,_y=1,By=10,Oy=-2,C0=n=>n==="*";function Ly(n,s){let i=n.split("/"),o=i.length;return i.some(C0)&&(o+=Oy),s&&(o+=Dy),i.filter(f=>!C0(f)).reduce((f,d)=>f+(qy.test(d)?Ty:d===""?_y:By),o)}function zy(n,s){return n.length===s.length&&n.slice(0,-1).every((o,f)=>o===s[f])?n[n.length-1]-s[s.length-1]:0}function Uy(n,s,i=!1){let{routesMeta:o}=n,f={},d="/",h=[];for(let p=0;p{if(v==="*"){let C=p[S]||"";h=d.slice(0,d.length-C.length).replace(/(.)\/+$/,"$1")}const E=p[S];return y&&!E?g[v]=void 0:g[v]=(E||"").replace(/%2F/g,"/"),g},{}),pathname:d,pathnameBase:h,pattern:n}}function Hy(n,s=!1,i=!0){Nn(n==="*"||!n.endsWith("*")||n.endsWith("/*"),`Route path "${n}" will be treated as if it were "${n.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${n.replace(/\*$/,"/*")}".`);let o=[],f="^"+n.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(h,p,x)=>(o.push({paramName:p,isOptional:x!=null}),x?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return n.endsWith("*")?(o.push({paramName:"*"}),f+=n==="*"||n==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i?f+="\\/*$":n!==""&&n!=="/"&&(f+="(?:(?=\\/|$))"),[new RegExp(f,s?void 0:"i"),o]}function Vy(n){try{return n.split("/").map(s=>decodeURIComponent(s).replace(/\//g,"%2F")).join("/")}catch(s){return Nn(!1,`The URL path "${n}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${s}).`),n}}function oa(n,s){if(s==="/")return n;if(!n.toLowerCase().startsWith(s.toLowerCase()))return null;let i=s.endsWith("/")?s.length-1:s.length,o=n.charAt(i);return o&&o!=="/"?null:n.slice(i)||"/"}var $y=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Gy=n=>$y.test(n);function Yy(n,s="/"){let{pathname:i,search:o="",hash:f=""}=typeof n=="string"?ul(n):n,d;if(i)if(Gy(i))d=i;else{if(i.includes("//")){let h=i;i=i.replace(/\/\/+/g,"/"),Nn(!1,`Pathnames cannot have embedded double slashes - normalizing ${h} -> ${i}`)}i.startsWith("/")?d=E0(i.substring(1),"/"):d=E0(i,s)}else d=s;return{pathname:d,search:Qy(o),hash:Ky(f)}}function E0(n,s){let i=s.replace(/\/+$/,"").split("/");return n.split("/").forEach(f=>{f===".."?i.length>1&&i.pop():f!=="."&&i.push(f)}),i.length>1?i.join("/"):"/"}function Pu(n,s,i,o){return`Cannot include a '${n}' character in a manually specified \`to.${s}\` field [${JSON.stringify(o)}]. Please separate it out to the \`to.${i}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function Fy(n){return n.filter((s,i)=>i===0||s.route.path&&s.route.path.length>0)}function qx(n){let s=Fy(n);return s.map((i,o)=>o===s.length-1?i.pathname:i.pathnameBase)}function Tx(n,s,i,o=!1){let f;typeof n=="string"?f=ul(n):(f={...n},ut(!f.pathname||!f.pathname.includes("?"),Pu("?","pathname","search",f)),ut(!f.pathname||!f.pathname.includes("#"),Pu("#","pathname","hash",f)),ut(!f.search||!f.search.includes("#"),Pu("#","search","hash",f)));let d=n===""||f.pathname==="",h=d?"/":f.pathname,p;if(h==null)p=i;else{let y=s.length-1;if(!o&&h.startsWith("..")){let S=h.split("/");for(;S[0]==="..";)S.shift(),y-=1;f.pathname=S.join("/")}p=y>=0?s[y]:"/"}let x=Yy(f,p),g=h&&h!=="/"&&h.endsWith("/"),v=(d||h===".")&&i.endsWith("/");return!x.pathname.endsWith("/")&&(g||v)&&(x.pathname+="/"),x}var ra=n=>n.join("/").replace(/\/\/+/g,"/"),Xy=n=>n.replace(/\/+$/,"").replace(/^\/*/,"/"),Qy=n=>!n||n==="?"?"":n.startsWith("?")?n:"?"+n,Ky=n=>!n||n==="#"?"":n.startsWith("#")?n:"#"+n;function Zy(n){return n!=null&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.internal=="boolean"&&"data"in n}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Dx=["POST","PUT","PATCH","DELETE"];new Set(Dx);var Iy=["GET",...Dx];new Set(Iy);var fl=m.createContext(null);fl.displayName="DataRouter";var No=m.createContext(null);No.displayName="DataRouterState";m.createContext(!1);var _x=m.createContext({isTransitioning:!1});_x.displayName="ViewTransition";var Jy=m.createContext(new Map);Jy.displayName="Fetchers";var Py=m.createContext(null);Py.displayName="Await";var _n=m.createContext(null);_n.displayName="Navigation";var Mi=m.createContext(null);Mi.displayName="Location";var ua=m.createContext({outlet:null,matches:[],isDataRoute:!1});ua.displayName="Route";var Gf=m.createContext(null);Gf.displayName="RouteError";function Wy(n,{relative:s}={}){ut(Ri(),"useHref() may be used only in the context of a component.");let{basename:i,navigator:o}=m.useContext(_n),{hash:f,pathname:d,search:h}=qi(n,{relative:s}),p=d;return i!=="/"&&(p=d==="/"?i:ra([i,d])),o.createHref({pathname:p,search:h,hash:f})}function Ri(){return m.useContext(Mi)!=null}function ds(){return ut(Ri(),"useLocation() may be used only in the context of a component."),m.useContext(Mi).location}var Bx="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Ox(n){m.useContext(_n).static||m.useLayoutEffect(n)}function e1(){let{isDataRoute:n}=m.useContext(ua);return n?m1():t1()}function t1(){ut(Ri(),"useNavigate() may be used only in the context of a component.");let n=m.useContext(fl),{basename:s,navigator:i}=m.useContext(_n),{matches:o}=m.useContext(ua),{pathname:f}=ds(),d=JSON.stringify(qx(o)),h=m.useRef(!1);return Ox(()=>{h.current=!0}),m.useCallback((x,g={})=>{if(Nn(h.current,Bx),!h.current)return;if(typeof x=="number"){i.go(x);return}let v=Tx(x,JSON.parse(d),f,g.relative==="path");n==null&&s!=="/"&&(v.pathname=v.pathname==="/"?s:ra([s,v.pathname])),(g.replace?i.replace:i.push)(v,g.state,g)},[s,i,d,f,n])}m.createContext(null);function qi(n,{relative:s}={}){let{matches:i}=m.useContext(ua),{pathname:o}=ds(),f=JSON.stringify(qx(i));return m.useMemo(()=>Tx(n,JSON.parse(f),o,s==="path"),[n,f,o,s])}function n1(n,s){return Lx(n,s)}function Lx(n,s,i,o,f){ut(Ri(),"useRoutes() may be used only in the context of a component.");let{navigator:d}=m.useContext(_n),{matches:h}=m.useContext(ua),p=h[h.length-1],x=p?p.params:{},g=p?p.pathname:"/",v=p?p.pathnameBase:"/",y=p&&p.route;{let N=y&&y.path||"";zx(g,!y||N.endsWith("*")||N.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${g}" (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 S=ds(),E;if(s){let N=typeof s=="string"?ul(s):s;ut(v==="/"||N.pathname?.startsWith(v),`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 "${v}" but pathname "${N.pathname}" was given in the \`location\` prop.`),E=N}else E=S;let C=E.pathname||"/",k=C;if(v!=="/"){let N=v.replace(/^\//,"").split("/");k="/"+C.replace(/^\//,"").split("/").slice(N.length).join("/")}let w=kx(n,{pathname:k});Nn(y||w!=null,`No routes matched location "${E.pathname}${E.search}${E.hash}" `),Nn(w==null||w[w.length-1].route.element!==void 0||w[w.length-1].route.Component!==void 0||w[w.length-1].route.lazy!==void 0,`Matched leaf route at location "${E.pathname}${E.search}${E.hash}" does not have an element or Component. This means it will render an with a null value by default resulting in an "empty" page.`);let j=r1(w&&w.map(N=>Object.assign({},N,{params:Object.assign({},x,N.params),pathname:ra([v,d.encodeLocation?d.encodeLocation(N.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:N.pathname]),pathnameBase:N.pathnameBase==="/"?v:ra([v,d.encodeLocation?d.encodeLocation(N.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:N.pathnameBase])})),h,i,o,f);return s&&j?m.createElement(Mi.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...E},navigationType:"POP"}},j):j}function a1(){let n=d1(),s=Zy(n)?`${n.status} ${n.statusText}`:n instanceof Error?n.message:JSON.stringify(n),i=n instanceof Error?n.stack:null,o="rgba(200,200,200, 0.5)",f={padding:"0.5rem",backgroundColor:o},d={padding:"2px 4px",backgroundColor:o},h=null;return console.error("Error handled by React Router default ErrorBoundary:",n),h=m.createElement(m.Fragment,null,m.createElement("p",null,"💿 Hey developer 👋"),m.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",m.createElement("code",{style:d},"ErrorBoundary")," or"," ",m.createElement("code",{style:d},"errorElement")," prop on your route.")),m.createElement(m.Fragment,null,m.createElement("h2",null,"Unexpected Application Error!"),m.createElement("h3",{style:{fontStyle:"italic"}},s),i?m.createElement("pre",{style:f},i):null,h)}var s1=m.createElement(a1,null),l1=class extends m.Component{constructor(n){super(n),this.state={location:n.location,revalidation:n.revalidation,error:n.error}}static getDerivedStateFromError(n){return{error:n}}static getDerivedStateFromProps(n,s){return s.location!==n.location||s.revalidation!=="idle"&&n.revalidation==="idle"?{error:n.error,location:n.location,revalidation:n.revalidation}:{error:n.error!==void 0?n.error:s.error,location:s.location,revalidation:n.revalidation||s.revalidation}}componentDidCatch(n,s){this.props.onError?this.props.onError(n,s):console.error("React Router caught the following error during render",n)}render(){return this.state.error!==void 0?m.createElement(ua.Provider,{value:this.props.routeContext},m.createElement(Gf.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function i1({routeContext:n,match:s,children:i}){let o=m.useContext(fl);return o&&o.static&&o.staticContext&&(s.route.errorElement||s.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=s.route.id),m.createElement(ua.Provider,{value:n},i)}function r1(n,s=[],i=null,o=null,f=null){if(n==null){if(!i)return null;if(i.errors)n=i.matches;else if(s.length===0&&!i.initialized&&i.matches.length>0)n=i.matches;else return null}let d=n,h=i?.errors;if(h!=null){let v=d.findIndex(y=>y.route.id&&h?.[y.route.id]!==void 0);ut(v>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(h).join(",")}`),d=d.slice(0,Math.min(d.length,v+1))}let p=!1,x=-1;if(i)for(let v=0;v=0?d=d.slice(0,x+1):d=[d[0]];break}}}let g=i&&o?(v,y)=>{o(v,{location:i.location,params:i.matches?.[0]?.params??{},errorInfo:y})}:void 0;return d.reduceRight((v,y,S)=>{let E,C=!1,k=null,w=null;i&&(E=h&&y.route.id?h[y.route.id]:void 0,k=y.route.errorElement||s1,p&&(x<0&&S===0?(zx("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),C=!0,w=null):x===S&&(C=!0,w=y.route.hydrateFallbackElement||null)));let j=s.concat(d.slice(0,S+1)),N=()=>{let q;return E?q=k:C?q=w:y.route.Component?q=m.createElement(y.route.Component,null):y.route.element?q=y.route.element:q=v,m.createElement(i1,{match:y,routeContext:{outlet:v,matches:j,isDataRoute:i!=null},children:q})};return i&&(y.route.ErrorBoundary||y.route.errorElement||S===0)?m.createElement(l1,{location:i.location,revalidation:i.revalidation,component:k,error:E,children:N(),routeContext:{outlet:null,matches:j,isDataRoute:!0},onError:g}):N()},null)}function Yf(n){return`${n} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function o1(n){let s=m.useContext(fl);return ut(s,Yf(n)),s}function c1(n){let s=m.useContext(No);return ut(s,Yf(n)),s}function u1(n){let s=m.useContext(ua);return ut(s,Yf(n)),s}function Ff(n){let s=u1(n),i=s.matches[s.matches.length-1];return ut(i.route.id,`${n} can only be used on routes that contain a unique "id"`),i.route.id}function f1(){return Ff("useRouteId")}function d1(){let n=m.useContext(Gf),s=c1("useRouteError"),i=Ff("useRouteError");return n!==void 0?n:s.errors?.[i]}function m1(){let{router:n}=o1("useNavigate"),s=Ff("useNavigate"),i=m.useRef(!1);return Ox(()=>{i.current=!0}),m.useCallback(async(f,d={})=>{Nn(i.current,Bx),i.current&&(typeof f=="number"?n.navigate(f):await n.navigate(f,{fromRouteId:s,...d}))},[n,s])}var k0={};function zx(n,s,i){!s&&!k0[n]&&(k0[n]=!0,Nn(!1,i))}m.memo(h1);function h1({routes:n,future:s,state:i,unstable_onError:o}){return Lx(n,void 0,i,o,s)}function no(n){ut(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function p1({basename:n="/",children:s=null,location:i,navigationType:o="POP",navigator:f,static:d=!1}){ut(!Ri(),"You cannot render a inside another . You should never have more than one in your app.");let h=n.replace(/^\/*/,"/"),p=m.useMemo(()=>({basename:h,navigator:f,static:d,future:{}}),[h,f,d]);typeof i=="string"&&(i=ul(i));let{pathname:x="/",search:g="",hash:v="",state:y=null,key:S="default"}=i,E=m.useMemo(()=>{let C=oa(x,h);return C==null?null:{location:{pathname:C,search:g,hash:v,state:y,key:S},navigationType:o}},[h,x,g,v,y,S,o]);return Nn(E!=null,` is not able to match the URL "${x}${g}${v}" because it does not start with the basename, so the won't render anything.`),E==null?null:m.createElement(_n.Provider,{value:p},m.createElement(Mi.Provider,{children:s,value:E}))}function x1({children:n,location:s}){return n1(Nf(n),s)}function Nf(n,s=[]){let i=[];return m.Children.forEach(n,(o,f)=>{if(!m.isValidElement(o))return;let d=[...s,f];if(o.type===m.Fragment){i.push.apply(i,Nf(o.props.children,d));return}ut(o.type===no,`[${typeof o.type=="string"?o.type:o.type.name}] is not a component. All component children of must be a or `),ut(!o.props.index||!o.props.children,"An index route cannot have child routes.");let h={id:o.props.id||d.join("-"),caseSensitive:o.props.caseSensitive,element:o.props.element,Component:o.props.Component,index:o.props.index,path:o.props.path,middleware:o.props.middleware,loader:o.props.loader,action:o.props.action,hydrateFallbackElement:o.props.hydrateFallbackElement,HydrateFallback:o.props.HydrateFallback,errorElement:o.props.errorElement,ErrorBoundary:o.props.ErrorBoundary,hasErrorBoundary:o.props.hasErrorBoundary===!0||o.props.ErrorBoundary!=null||o.props.errorElement!=null,shouldRevalidate:o.props.shouldRevalidate,handle:o.props.handle,lazy:o.props.lazy};o.props.children&&(h.children=Nf(o.props.children,d)),i.push(h)}),i}var ao="get",so="application/x-www-form-urlencoded";function wo(n){return n!=null&&typeof n.tagName=="string"}function g1(n){return wo(n)&&n.tagName.toLowerCase()==="button"}function v1(n){return wo(n)&&n.tagName.toLowerCase()==="form"}function b1(n){return wo(n)&&n.tagName.toLowerCase()==="input"}function y1(n){return!!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)}function S1(n,s){return n.button===0&&(!s||s==="_self")&&!y1(n)}var Xr=null;function j1(){if(Xr===null)try{new FormData(document.createElement("form"),0),Xr=!1}catch{Xr=!0}return Xr}var A1=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Wu(n){return n!=null&&!A1.has(n)?(Nn(!1,`"${n}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${so}"`),null):n}function N1(n,s){let i,o,f,d,h;if(v1(n)){let p=n.getAttribute("action");o=p?oa(p,s):null,i=n.getAttribute("method")||ao,f=Wu(n.getAttribute("enctype"))||so,d=new FormData(n)}else if(g1(n)||b1(n)&&(n.type==="submit"||n.type==="image")){let p=n.form;if(p==null)throw new Error('Cannot submit a