diff --git a/server/public/assets/index-B2-u-cpw.js b/server/public/assets/index-B2-u-cpw.js new file mode 100644 index 00000000..68165bcb --- /dev/null +++ b/server/public/assets/index-B2-u-cpw.js @@ -0,0 +1,131 @@ +(function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload"))return;for(const u of document.querySelectorAll('link[rel="modulepreload"]'))o(u);new MutationObserver(u=>{for(const f of u)if(f.type==="childList")for(const p of f.addedNodes)p.tagName==="LINK"&&p.rel==="modulepreload"&&o(p)}).observe(document,{childList:!0,subtree:!0});function r(u){const f={};return u.integrity&&(f.integrity=u.integrity),u.referrerPolicy&&(f.referrerPolicy=u.referrerPolicy),u.crossOrigin==="use-credentials"?f.credentials="include":u.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function o(u){if(u.ep)return;u.ep=!0;const f=r(u);fetch(u.href,f)}})();function Cy(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Gu={exports:{}},Zl={};var vp;function ky(){if(vp)return Zl;vp=1;var n=Symbol.for("react.transitional.element"),a=Symbol.for("react.fragment");function r(o,u,f){var p=null;if(f!==void 0&&(p=""+f),u.key!==void 0&&(p=""+u.key),"key"in u){f={};for(var h in u)h!=="key"&&(f[h]=u[h])}else f=u;return u=f.ref,{$$typeof:n,type:o,key:p,ref:u!==void 0?u:null,props:f}}return Zl.Fragment=a,Zl.jsx=r,Zl.jsxs=r,Zl}var bp;function Ey(){return bp||(bp=1,Gu.exports=ky()),Gu.exports}var l=Ey(),Yu={exports:{}},Me={};var yp;function My(){if(yp)return Me;yp=1;var n=Symbol.for("react.transitional.element"),a=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),p=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),x=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),b=Symbol.for("react.activity"),S=Symbol.iterator;function C(R){return R===null||typeof R!="object"?null:(R=S&&R[S]||R["@@iterator"],typeof R=="function"?R:null)}var E={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},N=Object.assign,w={};function j(R,q,Z){this.props=R,this.context=q,this.refs=w,this.updater=Z||E}j.prototype.isReactComponent={},j.prototype.setState=function(R,q){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,q,"setState")},j.prototype.forceUpdate=function(R){this.updater.enqueueForceUpdate(this,R,"forceUpdate")};function T(){}T.prototype=j.prototype;function k(R,q,Z){this.props=R,this.context=q,this.refs=w,this.updater=Z||E}var M=k.prototype=new T;M.constructor=k,N(M,j.prototype),M.isPureReactComponent=!0;var D=Array.isArray;function $(){}var O={H:null,A:null,T:null,S:null},L=Object.prototype.hasOwnProperty;function F(R,q,Z){var ae=Z.ref;return{$$typeof:n,type:R,key:q,ref:ae!==void 0?ae:null,props:Z}}function U(R,q){return F(R.type,q,R.props)}function Q(R){return typeof R=="object"&&R!==null&&R.$$typeof===n}function K(R){var q={"=":"=0",":":"=2"};return"$"+R.replace(/[=:]/g,function(Z){return q[Z]})}var ce=/\/+/g;function ue(R,q){return typeof R=="object"&&R!==null&&R.key!=null?K(""+R.key):q.toString(36)}function le(R){switch(R.status){case"fulfilled":return R.value;case"rejected":throw R.reason;default:switch(typeof R.status=="string"?R.then($,$):(R.status="pending",R.then(function(q){R.status==="pending"&&(R.status="fulfilled",R.value=q)},function(q){R.status==="pending"&&(R.status="rejected",R.reason=q)})),R.status){case"fulfilled":return R.value;case"rejected":throw R.reason}}throw R}function B(R,q,Z,ae,he){var we=typeof R;(we==="undefined"||we==="boolean")&&(R=null);var pe=!1;if(R===null)pe=!0;else switch(we){case"bigint":case"string":case"number":pe=!0;break;case"object":switch(R.$$typeof){case n:case a:pe=!0;break;case v:return pe=R._init,B(pe(R._payload),q,Z,ae,he)}}if(pe)return he=he(R),pe=ae===""?"."+ue(R,0):ae,D(he)?(Z="",pe!=null&&(Z=pe.replace(ce,"$&/")+"/"),B(he,q,Z,"",function(ye){return ye})):he!=null&&(Q(he)&&(he=U(he,Z+(he.key==null||R&&R.key===he.key?"":(""+he.key).replace(ce,"$&/")+"/")+pe)),q.push(he)),1;pe=0;var ge=ae===""?".":ae+":";if(D(R))for(var xe=0;xe>>1,ie=B[J];if(0>>1;Ju(Z,I))aeu(he,Z)?(B[J]=he,B[ae]=I,J=ae):(B[J]=Z,B[q]=I,J=q);else if(aeu(he,I))B[J]=he,B[ae]=I,J=ae;else break e}}return V}function u(B,V){var I=B.sortIndex-V.sortIndex;return I!==0?I:B.id-V.id}if(n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;n.unstable_now=function(){return f.now()}}else{var p=Date,h=p.now();n.unstable_now=function(){return p.now()-h}}var g=[],x=[],v=1,b=null,S=3,C=!1,E=!1,N=!1,w=!1,j=typeof setTimeout=="function"?setTimeout:null,T=typeof clearTimeout=="function"?clearTimeout:null,k=typeof setImmediate<"u"?setImmediate:null;function M(B){for(var V=r(x);V!==null;){if(V.callback===null)o(x);else if(V.startTime<=B)o(x),V.sortIndex=V.expirationTime,a(g,V);else break;V=r(x)}}function D(B){if(N=!1,M(B),!E)if(r(g)!==null)E=!0,$||($=!0,K());else{var V=r(x);V!==null&&le(D,V.startTime-B)}}var $=!1,O=-1,L=5,F=-1;function U(){return w?!0:!(n.unstable_now()-FB&&U());){var J=b.callback;if(typeof J=="function"){b.callback=null,S=b.priorityLevel;var ie=J(b.expirationTime<=B);if(B=n.unstable_now(),typeof ie=="function"){b.callback=ie,M(B),V=!0;break t}b===r(g)&&o(g),M(B)}else o(g);b=r(g)}if(b!==null)V=!0;else{var R=r(x);R!==null&&le(D,R.startTime-B),V=!1}}break e}finally{b=null,S=I,C=!1}V=void 0}}finally{V?K():$=!1}}}var K;if(typeof k=="function")K=function(){k(Q)};else if(typeof MessageChannel<"u"){var ce=new MessageChannel,ue=ce.port2;ce.port1.onmessage=Q,K=function(){ue.postMessage(null)}}else K=function(){j(Q,0)};function le(B,V){O=j(function(){B(n.unstable_now())},V)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(B){B.callback=null},n.unstable_forceFrameRate=function(B){0>B||125J?(B.sortIndex=I,a(x,B),r(g)===null&&B===r(x)&&(N?(T(O),O=-1):N=!0,le(D,I-J))):(B.sortIndex=ie,a(g,B),E||C||(E=!0,$||($=!0,K()))),B},n.unstable_shouldYield=U,n.unstable_wrapCallback=function(B){var V=S;return function(){var I=S;S=V;try{return B.apply(this,arguments)}finally{S=I}}}})(Xu)),Xu}var Np;function Ty(){return Np||(Np=1,Iu.exports=Ry()),Iu.exports}var Qu={exports:{}},qt={};var wp;function qy(){if(wp)return qt;wp=1;var n=Hd();function a(g){var x="https://react.dev/errors/"+g;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(a){console.error(a)}}return n(),Qu.exports=qy(),Qu.exports}var Cp;function _y(){if(Cp)return Jl;Cp=1;var n=Ty(),a=Hd(),r=Dy();function o(e){var t="https://react.dev/errors/"+e;if(1ie||(e.current=J[ie],J[ie]=null,ie--)}function Z(e,t){ie++,J[ie]=e.current,e.current=t}var ae=R(null),he=R(null),we=R(null),pe=R(null);function ge(e,t){switch(Z(we,t),Z(he,e),Z(ae,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?V0(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=V0(t),e=$0(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}q(ae),Z(ae,e)}function xe(){q(ae),q(he),q(we)}function ye(e){e.memoizedState!==null&&Z(pe,e);var t=ae.current,s=$0(t,e.type);t!==s&&(Z(he,e),Z(ae,s))}function Ce(e){he.current===e&&(q(ae),q(he)),pe.current===e&&(q(pe),Il._currentValue=I)}var qe,Ze;function Se(e){if(qe===void 0)try{throw Error()}catch(s){var t=s.stack.trim().match(/\n( *(at )?)/);qe=t&&t[1]||"",Ze=-1)":-1c||_[i]!==Y[c]){var W=` +`+_[i].replace(" at new "," at ");return e.displayName&&W.includes("")&&(W=W.replace("",e.displayName)),W}while(1<=i&&0<=c);break}}}finally{at=!1,Error.prepareStackTrace=s}return(s=e?e.displayName||e.name:"")?Se(s):""}function Ge(e,t){switch(e.tag){case 26:case 27:case 5:return Se(e.type);case 16:return Se("Lazy");case 13:return e.child!==t&&t!==null?Se("Suspense Fallback"):Se("Suspense");case 19:return Se("SuspenseList");case 0:case 15:return ht(e.type,!1);case 11:return ht(e.type.render,!1);case 1:return ht(e.type,!0);case 31:return Se("Activity");default:return""}}function je(e){try{var t="",s=null;do t+=Ge(e,s),s=e,e=e.return;while(e);return t}catch(i){return` +Error generating stack: `+i.message+` +`+i.stack}}var se=Object.prototype.hasOwnProperty,re=n.unstable_scheduleCallback,de=n.unstable_cancelCallback,fe=n.unstable_shouldYield,Re=n.unstable_requestPaint,te=n.unstable_now,me=n.unstable_getCurrentPriorityLevel,_e=n.unstable_ImmediatePriority,en=n.unstable_UserBlockingPriority,tn=n.unstable_NormalPriority,nn=n.unstable_LowPriority,Nt=n.unstable_IdlePriority,Ae=n.log,tt=n.unstable_setDisableYieldValue,Xe=null,Ee=null;function Le(e){if(typeof Ae=="function"&&tt(e),Ee&&typeof Ee.setStrictMode=="function")try{Ee.setStrictMode(Xe,e)}catch{}}var rt=Math.clz32?Math.clz32:St,Rs=Math.log,sa=Math.LN2;function St(e){return e>>>=0,e===0?32:31-(Rs(e)/sa|0)|0}var Nn=256,wr=262144,Ar=4194304;function Ts(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 Cr(e,t,s){var i=e.pendingLanes;if(i===0)return 0;var c=0,d=e.suspendedLanes,y=e.pingedLanes;e=e.warmLanes;var A=i&134217727;return A!==0?(i=A&~d,i!==0?c=Ts(i):(y&=A,y!==0?c=Ts(y):s||(s=A&~e,s!==0&&(c=Ts(s))))):(A=i&~d,A!==0?c=Ts(A):y!==0?c=Ts(y):s||(s=i&~e,s!==0&&(c=Ts(s)))),c===0?0:t!==0&&t!==c&&(t&d)===0&&(d=c&-c,s=t&-t,d>=s||d===32&&(s&4194048)!==0)?t:c}function ll(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function mv(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 jf(){var e=Ar;return Ar<<=1,(Ar&62914560)===0&&(Ar=4194304),e}function To(e){for(var t=[],s=0;31>s;s++)t.push(e);return t}function rl(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function hv(e,t,s,i,c,d){var y=e.pendingLanes;e.pendingLanes=s,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=s,e.entangledLanes&=s,e.errorRecoveryDisabledLanes&=s,e.shellSuspendCounter=0;var A=e.entanglements,_=e.expirationTimes,Y=e.hiddenUpdates;for(s=y&~s;0"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var yv=/[\n"\\]/g;function an(e){return e.replace(yv,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Lo(e,t,s,i,c,d,y,A){e.name="",y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"?e.type=y:e.removeAttribute("type"),t!=null?y==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+sn(t)):e.value!==""+sn(t)&&(e.value=""+sn(t)):y!=="submit"&&y!=="reset"||e.removeAttribute("value"),t!=null?zo(e,y,sn(t)):s!=null?zo(e,y,sn(s)):i!=null&&e.removeAttribute("value"),c==null&&d!=null&&(e.defaultChecked=!!d),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 Of(e,t,s,i,c,d,y,A){if(d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(e.type=d),t!=null||s!=null){if(!(d!=="submit"&&d!=="reset"||t!=null)){Bo(e);return}s=s!=null?""+sn(s):"",t=t!=null?""+sn(t):s,A||t===e.value||(e.value=t),e.defaultValue=t}i=i??c,i=typeof i!="function"&&typeof i!="symbol"&&!!i,e.checked=A?e.checked:!!i,e.defaultChecked=!!i,y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"&&(e.name=y),Bo(e)}function zo(e,t,s){t==="number"&&Mr(e.ownerDocument)===e||e.defaultValue===""+s||(e.defaultValue=""+s)}function ca(e,t,s,i){if(e=e.options,t){t={};for(var c=0;c"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Go=!1;if(_n)try{var ul={};Object.defineProperty(ul,"passive",{get:function(){Go=!0}}),window.addEventListener("test",ul,ul),window.removeEventListener("test",ul,ul)}catch{Go=!1}var ls=null,Yo=null,Tr=null;function $f(){if(Tr)return Tr;var e,t=Yo,s=t.length,i,c="value"in ls?ls.value:ls.textContent,d=c.length;for(e=0;e=ml),Qf=" ",Kf=!1;function Zf(e,t){switch(e){case"keyup":return Qv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Jf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ma=!1;function Zv(e,t){switch(e){case"compositionend":return Jf(t);case"keypress":return t.which!==32?null:(Kf=!0,Qf);case"textInput":return e=t.data,e===Qf&&Kf?null:e;default:return null}}function Jv(e,t){if(ma)return e==="compositionend"||!Ko&&Zf(e,t)?(e=$f(),Tr=Yo=ls=null,ma=!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:s,offset:t-e};e=i}e:{for(;s;){if(s.nextSibling){s=s.nextSibling;break e}s=s.parentNode}s=void 0}s=lm(s)}}function im(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?im(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function om(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Mr(e.document);t instanceof e.HTMLIFrameElement;){try{var s=typeof t.contentWindow.location.href=="string"}catch{s=!1}if(s)e=t.contentWindow;else break;t=Mr(e.document)}return t}function Po(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 lb=_n&&"documentMode"in document&&11>=document.documentMode,ha=null,Wo=null,gl=null,ec=!1;function cm(e,t,s){var i=s.window===s?s.document:s.nodeType===9?s:s.ownerDocument;ec||ha==null||ha!==Mr(i)||(i=ha,"selectionStart"in i&&Po(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),gl&&xl(gl,i)||(gl=i,i=wi(Wo,"onSelect"),0>=y,c-=y,wn=1<<32-rt(t)+c|s<De?(Ue=be,be=null):Ue=be.sibling;var Fe=X(H,be,G[De],ee);if(Fe===null){be===null&&(be=Ue);break}e&&be&&Fe.alternate===null&&t(H,be),z=d(Fe,z,De),Ye===null?Ne=Fe:Ye.sibling=Fe,Ye=Fe,be=Ue}if(De===G.length)return s(H,be),He&&Bn(H,De),Ne;if(be===null){for(;DeDe?(Ue=be,be=null):Ue=be.sibling;var ks=X(H,be,Fe.value,ee);if(ks===null){be===null&&(be=Ue);break}e&&be&&ks.alternate===null&&t(H,be),z=d(ks,z,De),Ye===null?Ne=ks:Ye.sibling=ks,Ye=ks,be=Ue}if(Fe.done)return s(H,be),He&&Bn(H,De),Ne;if(be===null){for(;!Fe.done;De++,Fe=G.next())Fe=ne(H,Fe.value,ee),Fe!==null&&(z=d(Fe,z,De),Ye===null?Ne=Fe:Ye.sibling=Fe,Ye=Fe);return He&&Bn(H,De),Ne}for(be=i(be);!Fe.done;De++,Fe=G.next())Fe=P(be,H,De,Fe.value,ee),Fe!==null&&(e&&Fe.alternate!==null&&be.delete(Fe.key===null?De:Fe.key),z=d(Fe,z,De),Ye===null?Ne=Fe:Ye.sibling=Fe,Ye=Fe);return e&&be.forEach(function(Ay){return t(H,Ay)}),He&&Bn(H,De),Ne}function We(H,z,G,ee){if(typeof G=="object"&&G!==null&&G.type===N&&G.key===null&&(G=G.props.children),typeof G=="object"&&G!==null){switch(G.$$typeof){case C:e:{for(var Ne=G.key;z!==null;){if(z.key===Ne){if(Ne=G.type,Ne===N){if(z.tag===7){s(H,z.sibling),ee=c(z,G.props.children),ee.return=H,H=ee;break e}}else if(z.elementType===Ne||typeof Ne=="object"&&Ne!==null&&Ne.$$typeof===L&&$s(Ne)===z.type){s(H,z.sibling),ee=c(z,G.props),Nl(ee,G),ee.return=H,H=ee;break e}s(H,z);break}else t(H,z);z=z.sibling}G.type===N?(ee=Ls(G.props.children,H.mode,ee,G.key),ee.return=H,H=ee):(ee=Vr(G.type,G.key,G.props,null,H.mode,ee),Nl(ee,G),ee.return=H,H=ee)}return y(H);case E:e:{for(Ne=G.key;z!==null;){if(z.key===Ne)if(z.tag===4&&z.stateNode.containerInfo===G.containerInfo&&z.stateNode.implementation===G.implementation){s(H,z.sibling),ee=c(z,G.children||[]),ee.return=H,H=ee;break e}else{s(H,z);break}else t(H,z);z=z.sibling}ee=ic(G,H.mode,ee),ee.return=H,H=ee}return y(H);case L:return G=$s(G),We(H,z,G,ee)}if(le(G))return ve(H,z,G,ee);if(K(G)){if(Ne=K(G),typeof Ne!="function")throw Error(o(150));return G=Ne.call(G),ke(H,z,G,ee)}if(typeof G.then=="function")return We(H,z,Qr(G),ee);if(G.$$typeof===k)return We(H,z,Yr(H,G),ee);Kr(H,G)}return typeof G=="string"&&G!==""||typeof G=="number"||typeof G=="bigint"?(G=""+G,z!==null&&z.tag===6?(s(H,z.sibling),ee=c(z,G),ee.return=H,H=ee):(s(H,z),ee=rc(G,H.mode,ee),ee.return=H,H=ee),y(H)):s(H,z)}return function(H,z,G,ee){try{jl=0;var Ne=We(H,z,G,ee);return Aa=null,Ne}catch(be){if(be===wa||be===Ir)throw be;var Ye=Yt(29,be,null,H.mode);return Ye.lanes=ee,Ye.return=H,Ye}finally{}}}var Ys=qm(!0),Dm=qm(!1),us=!1;function bc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function yc(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 ds(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function fs(e,t,s){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,(Ie&2)!==0){var c=i.pending;return c===null?t.next=t:(t.next=c.next,c.next=t),i.pending=t,t=Hr(e),xm(e,null,s),t}return Ur(e,i,t,s),Hr(e)}function wl(e,t,s){if(t=t.updateQueue,t!==null&&(t=t.shared,(s&4194048)!==0)){var i=t.lanes;i&=e.pendingLanes,s|=i,t.lanes=s,wf(e,s)}}function Sc(e,t){var s=e.updateQueue,i=e.alternate;if(i!==null&&(i=i.updateQueue,s===i)){var c=null,d=null;if(s=s.firstBaseUpdate,s!==null){do{var y={lane:s.lane,tag:s.tag,payload:s.payload,callback:null,next:null};d===null?c=d=y:d=d.next=y,s=s.next}while(s!==null);d===null?c=d=t:d=d.next=t}else c=d=t;s={baseState:i.baseState,firstBaseUpdate:c,lastBaseUpdate:d,shared:i.shared,callbacks:i.callbacks},e.updateQueue=s;return}e=s.lastBaseUpdate,e===null?s.firstBaseUpdate=t:e.next=t,s.lastBaseUpdate=t}var jc=!1;function Al(){if(jc){var e=Na;if(e!==null)throw e}}function Cl(e,t,s,i){jc=!1;var c=e.updateQueue;us=!1;var d=c.firstBaseUpdate,y=c.lastBaseUpdate,A=c.shared.pending;if(A!==null){c.shared.pending=null;var _=A,Y=_.next;_.next=null,y===null?d=Y:y.next=Y,y=_;var W=e.alternate;W!==null&&(W=W.updateQueue,A=W.lastBaseUpdate,A!==y&&(A===null?W.firstBaseUpdate=Y:A.next=Y,W.lastBaseUpdate=_))}if(d!==null){var ne=c.baseState;y=0,W=Y=_=null,A=d;do{var X=A.lane&-536870913,P=X!==A.lane;if(P?(ze&X)===X:(i&X)===X){X!==0&&X===ja&&(jc=!0),W!==null&&(W=W.next={lane:0,tag:A.tag,payload:A.payload,callback:null,next:null});e:{var ve=e,ke=A;X=t;var We=s;switch(ke.tag){case 1:if(ve=ke.payload,typeof ve=="function"){ne=ve.call(We,ne,X);break e}ne=ve;break e;case 3:ve.flags=ve.flags&-65537|128;case 0:if(ve=ke.payload,X=typeof ve=="function"?ve.call(We,ne,X):ve,X==null)break e;ne=b({},ne,X);break e;case 2:us=!0}}X=A.callback,X!==null&&(e.flags|=64,P&&(e.flags|=8192),P=c.callbacks,P===null?c.callbacks=[X]:P.push(X))}else P={lane:X,tag:A.tag,payload:A.payload,callback:A.callback,next:null},W===null?(Y=W=P,_=ne):W=W.next=P,y|=X;if(A=A.next,A===null){if(A=c.shared.pending,A===null)break;P=A,A=P.next,P.next=null,c.lastBaseUpdate=P,c.shared.pending=null}}while(!0);W===null&&(_=ne),c.baseState=_,c.firstBaseUpdate=Y,c.lastBaseUpdate=W,d===null&&(c.shared.lanes=0),gs|=y,e.lanes=y,e.memoizedState=ne}}function _m(e,t){if(typeof e!="function")throw Error(o(191,e));e.call(t)}function Om(e,t){var s=e.callbacks;if(s!==null)for(e.callbacks=null,e=0;ed?d:8;var y=B.T,A={};B.T=A,Vc(e,!1,t,s);try{var _=c(),Y=B.S;if(Y!==null&&Y(A,_),_!==null&&typeof _=="object"&&typeof _.then=="function"){var W=hb(_,i);Ml(e,t,W,Kt(e))}else Ml(e,t,i,Kt(e))}catch(ne){Ml(e,t,{then:function(){},status:"rejected",reason:ne},Kt())}finally{V.p=d,y!==null&&A.types!==null&&(y.types=A.types),B.T=y}}function yb(){}function Uc(e,t,s,i){if(e.tag!==5)throw Error(o(476));var c=mh(e).queue;fh(e,c,t,I,s===null?yb:function(){return hh(e),s(i)})}function mh(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:Hn,lastRenderedState:I},next:null};var s={};return t.next={memoizedState:s,baseState:s,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Hn,lastRenderedState:s},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function hh(e){var t=mh(e);t.next===null&&(t=e.alternate.memoizedState),Ml(e,t.next.queue,{},Kt())}function Hc(){return Et(Il)}function ph(){return mt().memoizedState}function xh(){return mt().memoizedState}function Sb(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var s=Kt();e=ds(s);var i=fs(t,e,s);i!==null&&(Vt(i,t,s),wl(i,t,s)),t={cache:pc()},e.payload=t;return}t=t.return}}function jb(e,t,s){var i=Kt();s={lane:i,revertLane:0,gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null},li(e)?vh(t,s):(s=ac(e,t,s,i),s!==null&&(Vt(s,e,i),bh(s,t,i)))}function gh(e,t,s){var i=Kt();Ml(e,t,s,i)}function Ml(e,t,s,i){var c={lane:i,revertLane:0,gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null};if(li(e))vh(t,c);else{var d=e.alternate;if(e.lanes===0&&(d===null||d.lanes===0)&&(d=t.lastRenderedReducer,d!==null))try{var y=t.lastRenderedState,A=d(y,s);if(c.hasEagerState=!0,c.eagerState=A,Gt(A,y))return Ur(e,t,c,0),et===null&&zr(),!1}catch{}finally{}if(s=ac(e,t,c,i),s!==null)return Vt(s,e,i),bh(s,t,i),!0}return!1}function Vc(e,t,s,i){if(i={lane:2,revertLane:bu(),gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},li(e)){if(t)throw Error(o(479))}else t=ac(e,s,i,2),t!==null&&Vt(t,e,2)}function li(e){var t=e.alternate;return e===Te||t!==null&&t===Te}function vh(e,t){ka=Pr=!0;var s=e.pending;s===null?t.next=t:(t.next=s.next,s.next=t),e.pending=t}function bh(e,t,s){if((s&4194048)!==0){var i=t.lanes;i&=e.pendingLanes,s|=i,t.lanes=s,wf(e,s)}}var Rl={readContext:Et,use:ti,useCallback:ct,useContext:ct,useEffect:ct,useImperativeHandle:ct,useLayoutEffect:ct,useInsertionEffect:ct,useMemo:ct,useReducer:ct,useRef:ct,useState:ct,useDebugValue:ct,useDeferredValue:ct,useTransition:ct,useSyncExternalStore:ct,useId:ct,useHostTransitionStatus:ct,useFormState:ct,useActionState:ct,useOptimistic:ct,useMemoCache:ct,useCacheRefresh:ct};Rl.useEffectEvent=ct;var yh={readContext:Et,use:ti,useCallback:function(e,t){return _t().memoizedState=[e,t===void 0?null:t],e},useContext:Et,useEffect:sh,useImperativeHandle:function(e,t,s){s=s!=null?s.concat([e]):null,si(4194308,4,ih.bind(null,t,e),s)},useLayoutEffect:function(e,t){return si(4194308,4,e,t)},useInsertionEffect:function(e,t){si(4,2,e,t)},useMemo:function(e,t){var s=_t();t=t===void 0?null:t;var i=e();if(Fs){Le(!0);try{e()}finally{Le(!1)}}return s.memoizedState=[i,t],i},useReducer:function(e,t,s){var i=_t();if(s!==void 0){var c=s(t);if(Fs){Le(!0);try{s(t)}finally{Le(!1)}}}else c=t;return i.memoizedState=i.baseState=c,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:c},i.queue=e,e=e.dispatch=jb.bind(null,Te,e),[i.memoizedState,e]},useRef:function(e){var t=_t();return e={current:e},t.memoizedState=e},useState:function(e){e=_c(e);var t=e.queue,s=gh.bind(null,Te,t);return t.dispatch=s,[e.memoizedState,s]},useDebugValue:Lc,useDeferredValue:function(e,t){var s=_t();return zc(s,e,t)},useTransition:function(){var e=_c(!1);return e=fh.bind(null,Te,e.queue,!0,!1),_t().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,s){var i=Te,c=_t();if(He){if(s===void 0)throw Error(o(407));s=s()}else{if(s=t(),et===null)throw Error(o(349));(ze&127)!==0||Vm(i,t,s)}c.memoizedState=s;var d={value:s,getSnapshot:t};return c.queue=d,sh(Gm.bind(null,i,d,e),[e]),i.flags|=2048,Ma(9,{destroy:void 0},$m.bind(null,i,d,s,t),null),s},useId:function(){var e=_t(),t=et.identifierPrefix;if(He){var s=An,i=wn;s=(i&~(1<<32-rt(i)-1)).toString(32)+s,t="_"+t+"R_"+s,s=Wr++,0<\/script>",d=d.removeChild(d.firstChild);break;case"select":d=typeof i.is=="string"?y.createElement("select",{is:i.is}):y.createElement("select"),i.multiple?d.multiple=!0:i.size&&(d.size=i.size);break;default:d=typeof i.is=="string"?y.createElement(c,{is:i.is}):y.createElement(c)}}d[Ct]=t,d[Ot]=i;e:for(y=t.child;y!==null;){if(y.tag===5||y.tag===6)d.appendChild(y.stateNode);else if(y.tag!==4&&y.tag!==27&&y.child!==null){y.child.return=y,y=y.child;continue}if(y===t)break e;for(;y.sibling===null;){if(y.return===null||y.return===t)break e;y=y.return}y.sibling.return=y.return,y=y.sibling}t.stateNode=d;e:switch(Rt(d,c,i),c){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}i&&$n(t)}}return st(t),tu(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,s),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==i&&$n(t);else{if(typeof i!="string"&&t.stateNode===null)throw Error(o(166));if(e=we.current,ya(t)){if(e=t.stateNode,s=t.memoizedProps,i=null,c=kt,c!==null)switch(c.tag){case 27:case 5:i=c.memoizedProps}e[Ct]=t,e=!!(e.nodeValue===s||i!==null&&i.suppressHydrationWarning===!0||U0(e.nodeValue,s)),e||os(t,!0)}else e=Ai(e).createTextNode(i),e[Ct]=t,t.stateNode=e}return st(t),null;case 31:if(s=t.memoizedState,e===null||e.memoizedState!==null){if(i=ya(t),s!==null){if(e===null){if(!i)throw Error(o(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(557));e[Ct]=t}else zs(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;st(t),e=!1}else s=dc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=s),e=!0;if(!e)return t.flags&256?(It(t),t):(It(t),null);if((t.flags&128)!==0)throw Error(o(558))}return st(t),null;case 13:if(i=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(c=ya(t),i!==null&&i.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[Ct]=t}else zs(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;st(t),c=!1}else c=dc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=c),c=!0;if(!c)return t.flags&256?(It(t),t):(It(t),null)}return It(t),(t.flags&128)!==0?(t.lanes=s,t):(s=i!==null,e=e!==null&&e.memoizedState!==null,s&&(i=t.child,c=null,i.alternate!==null&&i.alternate.memoizedState!==null&&i.alternate.memoizedState.cachePool!==null&&(c=i.alternate.memoizedState.cachePool.pool),d=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(d=i.memoizedState.cachePool.pool),d!==c&&(i.flags|=2048)),s!==e&&s&&(t.child.flags|=8192),ui(t,t.updateQueue),st(t),null);case 4:return xe(),e===null&&Nu(t.stateNode.containerInfo),st(t),null;case 10:return zn(t.type),st(t),null;case 19:if(q(ft),i=t.memoizedState,i===null)return st(t),null;if(c=(t.flags&128)!==0,d=i.rendering,d===null)if(c)ql(i,!1);else{if(ut!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(d=Jr(e),d!==null){for(t.flags|=128,ql(i,!1),e=d.updateQueue,t.updateQueue=e,ui(t,e),t.subtreeFlags=0,e=s,s=t.child;s!==null;)gm(s,e),s=s.sibling;return Z(ft,ft.current&1|2),He&&Bn(t,i.treeForkCount),t.child}e=e.sibling}i.tail!==null&&te()>pi&&(t.flags|=128,c=!0,ql(i,!1),t.lanes=4194304)}else{if(!c)if(e=Jr(d),e!==null){if(t.flags|=128,c=!0,e=e.updateQueue,t.updateQueue=e,ui(t,e),ql(i,!0),i.tail===null&&i.tailMode==="hidden"&&!d.alternate&&!He)return st(t),null}else 2*te()-i.renderingStartTime>pi&&s!==536870912&&(t.flags|=128,c=!0,ql(i,!1),t.lanes=4194304);i.isBackwards?(d.sibling=t.child,t.child=d):(e=i.last,e!==null?e.sibling=d:t.child=d,i.last=d)}return i.tail!==null?(e=i.tail,i.rendering=e,i.tail=e.sibling,i.renderingStartTime=te(),e.sibling=null,s=ft.current,Z(ft,c?s&1|2:s&1),He&&Bn(t,i.treeForkCount),e):(st(t),null);case 22:case 23:return It(t),wc(),i=t.memoizedState!==null,e!==null?e.memoizedState!==null!==i&&(t.flags|=8192):i&&(t.flags|=8192),i?(s&536870912)!==0&&(t.flags&128)===0&&(st(t),t.subtreeFlags&6&&(t.flags|=8192)):st(t),s=t.updateQueue,s!==null&&ui(t,s.retryQueue),s=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(s=e.memoizedState.cachePool.pool),i=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(i=t.memoizedState.cachePool.pool),i!==s&&(t.flags|=2048),e!==null&&q(Vs),null;case 24:return s=null,e!==null&&(s=e.memoizedState.cache),t.memoizedState.cache!==s&&(t.flags|=2048),zn(pt),st(t),null;case 25:return null;case 30:return null}throw Error(o(156,t.tag))}function kb(e,t){switch(cc(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return zn(pt),xe(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Ce(t),null;case 31:if(t.memoizedState!==null){if(It(t),t.alternate===null)throw Error(o(340));zs()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(It(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(o(340));zs()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return q(ft),null;case 4:return xe(),null;case 10:return zn(t.type),null;case 22:case 23:return It(t),wc(),e!==null&&q(Vs),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return zn(pt),null;case 25:return null;default:return null}}function Yh(e,t){switch(cc(t),t.tag){case 3:zn(pt),xe();break;case 26:case 27:case 5:Ce(t);break;case 4:xe();break;case 31:t.memoizedState!==null&&It(t);break;case 13:It(t);break;case 19:q(ft);break;case 10:zn(t.type);break;case 22:case 23:It(t),wc(),e!==null&&q(Vs);break;case 24:zn(pt)}}function Dl(e,t){try{var s=t.updateQueue,i=s!==null?s.lastEffect:null;if(i!==null){var c=i.next;s=c;do{if((s.tag&e)===e){i=void 0;var d=s.create,y=s.inst;i=d(),y.destroy=i}s=s.next}while(s!==c)}}catch(A){Ke(t,t.return,A)}}function ps(e,t,s){try{var i=t.updateQueue,c=i!==null?i.lastEffect:null;if(c!==null){var d=c.next;i=d;do{if((i.tag&e)===e){var y=i.inst,A=y.destroy;if(A!==void 0){y.destroy=void 0,c=t;var _=s,Y=A;try{Y()}catch(W){Ke(c,_,W)}}}i=i.next}while(i!==d)}}catch(W){Ke(t,t.return,W)}}function Fh(e){var t=e.updateQueue;if(t!==null){var s=e.stateNode;try{Om(t,s)}catch(i){Ke(e,e.return,i)}}}function Ih(e,t,s){s.props=Is(e.type,e.memoizedProps),s.state=e.memoizedState;try{s.componentWillUnmount()}catch(i){Ke(e,t,i)}}function _l(e,t){try{var s=e.ref;if(s!==null){switch(e.tag){case 26:case 27:case 5:var i=e.stateNode;break;case 30:i=e.stateNode;break;default:i=e.stateNode}typeof s=="function"?e.refCleanup=s(i):s.current=i}}catch(c){Ke(e,t,c)}}function Cn(e,t){var s=e.ref,i=e.refCleanup;if(s!==null)if(typeof i=="function")try{i()}catch(c){Ke(e,t,c)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof s=="function")try{s(null)}catch(c){Ke(e,t,c)}else s.current=null}function Xh(e){var t=e.type,s=e.memoizedProps,i=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":s.autoFocus&&i.focus();break e;case"img":s.src?i.src=s.src:s.srcSet&&(i.srcset=s.srcSet)}}catch(c){Ke(e,e.return,c)}}function nu(e,t,s){try{var i=e.stateNode;Kb(i,e.type,s,t),i[Ot]=t}catch(c){Ke(e,e.return,c)}}function Qh(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&js(e.type)||e.tag===4}function su(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Qh(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&&js(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 au(e,t,s){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?(s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s).insertBefore(e,t):(t=s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s,t.appendChild(e),s=s._reactRootContainer,s!=null||t.onclick!==null||(t.onclick=Dn));else if(i!==4&&(i===27&&js(e.type)&&(s=e.stateNode,t=null),e=e.child,e!==null))for(au(e,t,s),e=e.sibling;e!==null;)au(e,t,s),e=e.sibling}function di(e,t,s){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?s.insertBefore(e,t):s.appendChild(e);else if(i!==4&&(i===27&&js(e.type)&&(s=e.stateNode),e=e.child,e!==null))for(di(e,t,s),e=e.sibling;e!==null;)di(e,t,s),e=e.sibling}function Kh(e){var t=e.stateNode,s=e.memoizedProps;try{for(var i=e.type,c=t.attributes;c.length;)t.removeAttributeNode(c[0]);Rt(t,i,s),t[Ct]=e,t[Ot]=s}catch(d){Ke(e,e.return,d)}}var Gn=!1,vt=!1,lu=!1,Zh=typeof WeakSet=="function"?WeakSet:Set,At=null;function Eb(e,t){if(e=e.containerInfo,Cu=qi,e=om(e),Po(e)){if("selectionStart"in e)var s={start:e.selectionStart,end:e.selectionEnd};else e:{s=(s=e.ownerDocument)&&s.defaultView||window;var i=s.getSelection&&s.getSelection();if(i&&i.rangeCount!==0){s=i.anchorNode;var c=i.anchorOffset,d=i.focusNode;i=i.focusOffset;try{s.nodeType,d.nodeType}catch{s=null;break e}var y=0,A=-1,_=-1,Y=0,W=0,ne=e,X=null;t:for(;;){for(var P;ne!==s||c!==0&&ne.nodeType!==3||(A=y+c),ne!==d||i!==0&&ne.nodeType!==3||(_=y+i),ne.nodeType===3&&(y+=ne.nodeValue.length),(P=ne.firstChild)!==null;)X=ne,ne=P;for(;;){if(ne===e)break t;if(X===s&&++Y===c&&(A=y),X===d&&++W===i&&(_=y),(P=ne.nextSibling)!==null)break;ne=X,X=ne.parentNode}ne=P}s=A===-1||_===-1?null:{start:A,end:_}}else s=null}s=s||{start:0,end:0}}else s=null;for(ku={focusedElem:e,selectionRange:s},qi=!1,At=t;At!==null;)if(t=At,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,At=e;else for(;At!==null;){switch(t=At,d=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(s=0;s title"))),Rt(d,i,s),d[Ct]=e,wt(d),i=d;break e;case"link":var y=np("link","href",c).get(i+(s.href||""));if(y){for(var A=0;AWe&&(y=We,We=ke,ke=y);var H=rm(A,ke),z=rm(A,We);if(H&&z&&(P.rangeCount!==1||P.anchorNode!==H.node||P.anchorOffset!==H.offset||P.focusNode!==z.node||P.focusOffset!==z.offset)){var G=ne.createRange();G.setStart(H.node,H.offset),P.removeAllRanges(),ke>We?(P.addRange(G),P.extend(z.node,z.offset)):(G.setEnd(z.node,z.offset),P.addRange(G))}}}}for(ne=[],P=A;P=P.parentNode;)P.nodeType===1&&ne.push({element:P,left:P.scrollLeft,top:P.scrollTop});for(typeof A.focus=="function"&&A.focus(),A=0;As?32:s,B.T=null,s=fu,fu=null;var d=bs,y=Qn;if(jt=0,_a=bs=null,Qn=0,(Ie&6)!==0)throw Error(o(331));var A=Ie;if(Ie|=4,i0(d.current),a0(d,d.current,y,s),Ie=A,Hl(0,!1),Ee&&typeof Ee.onPostCommitFiberRoot=="function")try{Ee.onPostCommitFiberRoot(Xe,d)}catch{}return!0}finally{V.p=c,B.T=i,A0(e,t)}}function k0(e,t,s){t=rn(s,t),t=Fc(e.stateNode,t,2),e=fs(e,t,2),e!==null&&(rl(e,2),kn(e))}function Ke(e,t,s){if(e.tag===3)k0(e,e,s);else for(;t!==null;){if(t.tag===3){k0(t,e,s);break}else if(t.tag===1){var i=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(vs===null||!vs.has(i))){e=rn(s,e),s=Eh(2),i=fs(t,s,2),i!==null&&(Mh(s,i,t,e),rl(i,2),kn(i));break}}t=t.return}}function xu(e,t,s){var i=e.pingCache;if(i===null){i=e.pingCache=new Tb;var c=new Set;i.set(t,c)}else c=i.get(t),c===void 0&&(c=new Set,i.set(t,c));c.has(s)||(ou=!0,c.add(s),e=Bb.bind(null,e,t,s),t.then(e,e))}function Bb(e,t,s){var i=e.pingCache;i!==null&&i.delete(t),e.pingedLanes|=e.suspendedLanes&s,e.warmLanes&=~s,et===e&&(ze&s)===s&&(ut===4||ut===3&&(ze&62914560)===ze&&300>te()-hi?(Ie&2)===0&&Oa(e,0):cu|=s,Da===ze&&(Da=0)),kn(e)}function E0(e,t){t===0&&(t=jf()),e=Bs(e,t),e!==null&&(rl(e,t),kn(e))}function Lb(e){var t=e.memoizedState,s=0;t!==null&&(s=t.retryLane),E0(e,s)}function zb(e,t){var s=0;switch(e.tag){case 31:case 13:var i=e.stateNode,c=e.memoizedState;c!==null&&(s=c.retryLane);break;case 19:i=e.stateNode;break;case 22:i=e.stateNode._retryCache;break;default:throw Error(o(314))}i!==null&&i.delete(t),E0(e,s)}function Ub(e,t){return re(e,t)}var Si=null,La=null,gu=!1,ji=!1,vu=!1,Ss=0;function kn(e){e!==La&&e.next===null&&(La===null?Si=La=e:La=La.next=e),ji=!0,gu||(gu=!0,Vb())}function Hl(e,t){if(!vu&&ji){vu=!0;do for(var s=!1,i=Si;i!==null;){if(e!==0){var c=i.pendingLanes;if(c===0)var d=0;else{var y=i.suspendedLanes,A=i.pingedLanes;d=(1<<31-rt(42|e)+1)-1,d&=c&~(y&~A),d=d&201326741?d&201326741|1:d?d|2:0}d!==0&&(s=!0,q0(i,d))}else d=ze,d=Cr(i,i===et?d:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),(d&3)===0||ll(i,d)||(s=!0,q0(i,d));i=i.next}while(s);vu=!1}}function Hb(){M0()}function M0(){ji=gu=!1;var e=0;Ss!==0&&Jb()&&(e=Ss);for(var t=te(),s=null,i=Si;i!==null;){var c=i.next,d=R0(i,t);d===0?(i.next=null,s===null?Si=c:s.next=c,c===null&&(La=s)):(s=i,(e!==0||(d&3)!==0)&&(ji=!0)),i=c}jt!==0&&jt!==5||Hl(e),Ss!==0&&(Ss=0)}function R0(e,t){for(var s=e.suspendedLanes,i=e.pingedLanes,c=e.expirationTimes,d=e.pendingLanes&-62914561;0A)break;var W=_.transferSize,ne=_.initiatorType;W&&H0(ne)&&(_=_.responseEnd,y+=W*(_"u"?null:document;function P0(e,t,s){var i=za;if(i&&typeof t=="string"&&t){var c=an(t);c='link[rel="'+e+'"][href="'+c+'"]',typeof s=="string"&&(c+='[crossorigin="'+s+'"]'),J0.has(c)||(J0.add(c),e={rel:e,crossOrigin:s,href:t},i.querySelector(c)===null&&(t=i.createElement("link"),Rt(t,"link",e),wt(t),i.head.appendChild(t)))}}function ry(e){Kn.D(e),P0("dns-prefetch",e,null)}function iy(e,t){Kn.C(e,t),P0("preconnect",e,t)}function oy(e,t,s){Kn.L(e,t,s);var i=za;if(i&&e&&t){var c='link[rel="preload"][as="'+an(t)+'"]';t==="image"&&s&&s.imageSrcSet?(c+='[imagesrcset="'+an(s.imageSrcSet)+'"]',typeof s.imageSizes=="string"&&(c+='[imagesizes="'+an(s.imageSizes)+'"]')):c+='[href="'+an(e)+'"]';var d=c;switch(t){case"style":d=Ua(e);break;case"script":d=Ha(e)}mn.has(d)||(e=b({rel:"preload",href:t==="image"&&s&&s.imageSrcSet?void 0:e,as:t},s),mn.set(d,e),i.querySelector(c)!==null||t==="style"&&i.querySelector(Yl(d))||t==="script"&&i.querySelector(Fl(d))||(t=i.createElement("link"),Rt(t,"link",e),wt(t),i.head.appendChild(t)))}}function cy(e,t){Kn.m(e,t);var s=za;if(s&&e){var i=t&&typeof t.as=="string"?t.as:"script",c='link[rel="modulepreload"][as="'+an(i)+'"][href="'+an(e)+'"]',d=c;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":d=Ha(e)}if(!mn.has(d)&&(e=b({rel:"modulepreload",href:e},t),mn.set(d,e),s.querySelector(c)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(s.querySelector(Fl(d)))return}i=s.createElement("link"),Rt(i,"link",e),wt(i),s.head.appendChild(i)}}}function uy(e,t,s){Kn.S(e,t,s);var i=za;if(i&&e){var c=ia(i).hoistableStyles,d=Ua(e);t=t||"default";var y=c.get(d);if(!y){var A={loading:0,preload:null};if(y=i.querySelector(Yl(d)))A.loading=5;else{e=b({rel:"stylesheet",href:e,"data-precedence":t},s),(s=mn.get(d))&&_u(e,s);var _=y=i.createElement("link");wt(_),Rt(_,"link",e),_._p=new Promise(function(Y,W){_.onload=Y,_.onerror=W}),_.addEventListener("load",function(){A.loading|=1}),_.addEventListener("error",function(){A.loading|=2}),A.loading|=4,ki(y,t,i)}y={type:"stylesheet",instance:y,count:1,state:A},c.set(d,y)}}}function dy(e,t){Kn.X(e,t);var s=za;if(s&&e){var i=ia(s).hoistableScripts,c=Ha(e),d=i.get(c);d||(d=s.querySelector(Fl(c)),d||(e=b({src:e,async:!0},t),(t=mn.get(c))&&Ou(e,t),d=s.createElement("script"),wt(d),Rt(d,"link",e),s.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},i.set(c,d))}}function fy(e,t){Kn.M(e,t);var s=za;if(s&&e){var i=ia(s).hoistableScripts,c=Ha(e),d=i.get(c);d||(d=s.querySelector(Fl(c)),d||(e=b({src:e,async:!0,type:"module"},t),(t=mn.get(c))&&Ou(e,t),d=s.createElement("script"),wt(d),Rt(d,"link",e),s.head.appendChild(d)),d={type:"script",instance:d,count:1,state:null},i.set(c,d))}}function W0(e,t,s,i){var c=(c=we.current)?Ci(c):null;if(!c)throw Error(o(446));switch(e){case"meta":case"title":return null;case"style":return typeof s.precedence=="string"&&typeof s.href=="string"?(t=Ua(s.href),s=ia(c).hoistableStyles,i=s.get(t),i||(i={type:"style",instance:null,count:0,state:null},s.set(t,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if(s.rel==="stylesheet"&&typeof s.href=="string"&&typeof s.precedence=="string"){e=Ua(s.href);var d=ia(c).hoistableStyles,y=d.get(e);if(y||(c=c.ownerDocument||c,y={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},d.set(e,y),(d=c.querySelector(Yl(e)))&&!d._p&&(y.instance=d,y.state.loading=5),mn.has(e)||(s={rel:"preload",as:"style",href:s.href,crossOrigin:s.crossOrigin,integrity:s.integrity,media:s.media,hrefLang:s.hrefLang,referrerPolicy:s.referrerPolicy},mn.set(e,s),d||my(c,e,s,y.state))),t&&i===null)throw Error(o(528,""));return y}if(t&&i!==null)throw Error(o(529,""));return null;case"script":return t=s.async,s=s.src,typeof s=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Ha(s),s=ia(c).hoistableScripts,i=s.get(t),i||(i={type:"script",instance:null,count:0,state:null},s.set(t,i)),i):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,e))}}function Ua(e){return'href="'+an(e)+'"'}function Yl(e){return'link[rel="stylesheet"]['+e+"]"}function ep(e){return b({},e,{"data-precedence":e.precedence,precedence:null})}function my(e,t,s,i){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?i.loading=1:(t=e.createElement("link"),i.preload=t,t.addEventListener("load",function(){return i.loading|=1}),t.addEventListener("error",function(){return i.loading|=2}),Rt(t,"link",s),wt(t),e.head.appendChild(t))}function Ha(e){return'[src="'+an(e)+'"]'}function Fl(e){return"script[async]"+e}function tp(e,t,s){if(t.count++,t.instance===null)switch(t.type){case"style":var i=e.querySelector('style[data-href~="'+an(s.href)+'"]');if(i)return t.instance=i,wt(i),i;var c=b({},s,{"data-href":s.href,"data-precedence":s.precedence,href:null,precedence:null});return i=(e.ownerDocument||e).createElement("style"),wt(i),Rt(i,"style",c),ki(i,s.precedence,e),t.instance=i;case"stylesheet":c=Ua(s.href);var d=e.querySelector(Yl(c));if(d)return t.state.loading|=4,t.instance=d,wt(d),d;i=ep(s),(c=mn.get(c))&&_u(i,c),d=(e.ownerDocument||e).createElement("link"),wt(d);var y=d;return y._p=new Promise(function(A,_){y.onload=A,y.onerror=_}),Rt(d,"link",i),t.state.loading|=4,ki(d,s.precedence,e),t.instance=d;case"script":return d=Ha(s.src),(c=e.querySelector(Fl(d)))?(t.instance=c,wt(c),c):(i=s,(c=mn.get(d))&&(i=b({},s),Ou(i,c)),e=e.ownerDocument||e,c=e.createElement("script"),wt(c),Rt(c,"link",i),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&&(i=t.instance,t.state.loading|=4,ki(i,s.precedence,e));return t.instance}function ki(e,t,s){for(var i=s.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),c=i.length?i[i.length-1]:null,d=c,y=0;y title"):null)}function hy(e,t,s){if(s===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 ap(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function py(e,t,s,i){if(s.type==="stylesheet"&&(typeof i.media!="string"||matchMedia(i.media).matches!==!1)&&(s.state.loading&4)===0){if(s.instance===null){var c=Ua(i.href),d=t.querySelector(Yl(c));if(d){t=d._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Mi.bind(e),t.then(e,e)),s.state.loading|=4,s.instance=d,wt(d);return}d=t.ownerDocument||t,i=ep(i),(c=mn.get(c))&&_u(i,c),d=d.createElement("link"),wt(d);var y=d;y._p=new Promise(function(A,_){y.onload=A,y.onerror=_}),Rt(d,"link",i),s.instance=d}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(s,t),(t=s.state.preload)&&(s.state.loading&3)===0&&(e.count++,s=Mi.bind(e),t.addEventListener("load",s),t.addEventListener("error",s))}}var Bu=0;function xy(e,t){return e.stylesheets&&e.count===0&&Ti(e,e.stylesheets),0Bu?50:800)+t);return e.unsuspend=s,function(){e.unsuspend=null,clearTimeout(i),clearTimeout(c)}}:null}function Mi(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Ti(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Ri=null;function Ti(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Ri=new Map,t.forEach(gy,e),Ri=null,Mi.call(e))}function gy(e,t){if(!(t.state.loading&4)){var s=Ri.get(e);if(s)var i=s.get(null);else{s=new Map,Ri.set(e,s);for(var c=e.querySelectorAll("link[data-precedence],style[data-precedence]"),d=0;d"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(a){console.error(a)}}return n(),Fu.exports=_y(),Fu.exports}var By=Oy();var Ep="popstate";function Ly(n={}){function a(o,u){let{pathname:f,search:p,hash:h}=o.location;return yd("",{pathname:f,search:p,hash:h},u.state&&u.state.usr||null,u.state&&u.state.key||"default")}function r(o,u){return typeof u=="string"?u:cr(u)}return Uy(a,r,null,n)}function ot(n,a){if(n===!1||n===null||typeof n>"u")throw new Error(a)}function jn(n,a){if(!n){typeof console<"u"&&console.warn(a);try{throw new Error(a)}catch{}}}function zy(){return Math.random().toString(36).substring(2,10)}function Mp(n,a){return{usr:n.state,key:n.key,idx:a}}function yd(n,a,r=null,o){return{pathname:typeof n=="string"?n:n.pathname,search:"",hash:"",...typeof a=="string"?tl(a):a,state:r,key:a&&a.key||o||zy()}}function cr({pathname:n="/",search:a="",hash:r=""}){return a&&a!=="?"&&(n+=a.charAt(0)==="?"?a:"?"+a),r&&r!=="#"&&(n+=r.charAt(0)==="#"?r:"#"+r),n}function tl(n){let a={};if(n){let r=n.indexOf("#");r>=0&&(a.hash=n.substring(r),n=n.substring(0,r));let o=n.indexOf("?");o>=0&&(a.search=n.substring(o),n=n.substring(0,o)),n&&(a.pathname=n)}return a}function Uy(n,a,r,o={}){let{window:u=document.defaultView,v5Compat:f=!1}=o,p=u.history,h="POP",g=null,x=v();x==null&&(x=0,p.replaceState({...p.state,idx:x},""));function v(){return(p.state||{idx:null}).idx}function b(){h="POP";let w=v(),j=w==null?null:w-x;x=w,g&&g({action:h,location:N.location,delta:j})}function S(w,j){h="PUSH";let T=yd(N.location,w,j);x=v()+1;let k=Mp(T,x),M=N.createHref(T);try{p.pushState(k,"",M)}catch(D){if(D instanceof DOMException&&D.name==="DataCloneError")throw D;u.location.assign(M)}f&&g&&g({action:h,location:N.location,delta:1})}function C(w,j){h="REPLACE";let T=yd(N.location,w,j);x=v();let k=Mp(T,x),M=N.createHref(T);p.replaceState(k,"",M),f&&g&&g({action:h,location:N.location,delta:0})}function E(w){return Hy(w)}let N={get action(){return h},get location(){return n(u,p)},listen(w){if(g)throw new Error("A history only accepts one active listener");return u.addEventListener(Ep,b),g=w,()=>{u.removeEventListener(Ep,b),g=null}},createHref(w){return a(u,w)},createURL:E,encodeLocation(w){let j=E(w);return{pathname:j.pathname,search:j.search,hash:j.hash}},push:S,replace:C,go(w){return p.go(w)}};return N}function Hy(n,a=!1){let r="http://localhost";typeof window<"u"&&(r=window.location.origin!=="null"?window.location.origin:window.location.href),ot(r,"No window.location.(origin|href) available to create URL");let o=typeof n=="string"?n:cr(n);return o=o.replace(/ $/,"%20"),!a&&o.startsWith("//")&&(o=r+o),new URL(o,r)}function Dx(n,a,r="/"){return Vy(n,a,r,!1)}function Vy(n,a,r,o){let u=typeof a=="string"?tl(a):a,f=ts(u.pathname||"/",r);if(f==null)return null;let p=_x(n);$y(p);let h=null;for(let g=0;h==null&&g{let v={relativePath:x===void 0?p.path||"":x,caseSensitive:p.caseSensitive===!0,childrenIndex:h,route:p};if(v.relativePath.startsWith("/")){if(!v.relativePath.startsWith(o)&&g)return;ot(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 b=es([o,v.relativePath]),S=r.concat(v);p.children&&p.children.length>0&&(ot(p.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${b}".`),_x(p.children,a,S,b,g)),!(p.path==null&&!p.index)&&a.push({path:b,score:Ky(b,p.index),routesMeta:S})};return n.forEach((p,h)=>{if(p.path===""||!p.path?.includes("?"))f(p,h);else for(let g of Ox(p.path))f(p,h,!0,g)}),a}function Ox(n){let a=n.split("/");if(a.length===0)return[];let[r,...o]=a,u=r.endsWith("?"),f=r.replace(/\?$/,"");if(o.length===0)return u?[f,""]:[f];let p=Ox(o.join("/")),h=[];return h.push(...p.map(g=>g===""?f:[f,g].join("/"))),u&&h.push(...p),h.map(g=>n.startsWith("/")&&g===""?"/":g)}function $y(n){n.sort((a,r)=>a.score!==r.score?r.score-a.score:Zy(a.routesMeta.map(o=>o.childrenIndex),r.routesMeta.map(o=>o.childrenIndex)))}var Gy=/^:[\w-]+$/,Yy=3,Fy=2,Iy=1,Xy=10,Qy=-2,Rp=n=>n==="*";function Ky(n,a){let r=n.split("/"),o=r.length;return r.some(Rp)&&(o+=Qy),a&&(o+=Fy),r.filter(u=>!Rp(u)).reduce((u,f)=>u+(Gy.test(f)?Yy:f===""?Iy:Xy),o)}function Zy(n,a){return n.length===a.length&&n.slice(0,-1).every((o,u)=>o===a[u])?n[n.length-1]-a[a.length-1]:0}function Jy(n,a,r=!1){let{routesMeta:o}=n,u={},f="/",p=[];for(let h=0;h{if(v==="*"){let E=h[S]||"";p=f.slice(0,f.length-E.length).replace(/(.)\/+$/,"$1")}const C=h[S];return b&&!C?x[v]=void 0:x[v]=(C||"").replace(/%2F/g,"/"),x},{}),pathname:f,pathnameBase:p,pattern:n}}function Py(n,a=!1,r=!0){jn(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=[],u="^"+n.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(p,h,g)=>(o.push({paramName:h,isOptional:g!=null}),g?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return n.endsWith("*")?(o.push({paramName:"*"}),u+=n==="*"||n==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?u+="\\/*$":n!==""&&n!=="/"&&(u+="(?:(?=\\/|$))"),[new RegExp(u,a?void 0:"i"),o]}function Wy(n){try{return n.split("/").map(a=>decodeURIComponent(a).replace(/\//g,"%2F")).join("/")}catch(a){return jn(!1,`The URL path "${n}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${a}).`),n}}function ts(n,a){if(a==="/")return n;if(!n.toLowerCase().startsWith(a.toLowerCase()))return null;let r=a.endsWith("/")?a.length-1:a.length,o=n.charAt(r);return o&&o!=="/"?null:n.slice(r)||"/"}var e1=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,t1=n=>e1.test(n);function n1(n,a="/"){let{pathname:r,search:o="",hash:u=""}=typeof n=="string"?tl(n):n,f;if(r)if(t1(r))f=r;else{if(r.includes("//")){let p=r;r=r.replace(/\/\/+/g,"/"),jn(!1,`Pathnames cannot have embedded double slashes - normalizing ${p} -> ${r}`)}r.startsWith("/")?f=Tp(r.substring(1),"/"):f=Tp(r,a)}else f=a;return{pathname:f,search:l1(o),hash:r1(u)}}function Tp(n,a){let r=a.replace(/\/+$/,"").split("/");return n.split("/").forEach(u=>{u===".."?r.length>1&&r.pop():u!=="."&&r.push(u)}),r.length>1?r.join("/"):"/"}function Ku(n,a,r,o){return`Cannot include a '${n}' character in a manually specified \`to.${a}\` field [${JSON.stringify(o)}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function s1(n){return n.filter((a,r)=>r===0||a.route.path&&a.route.path.length>0)}function Bx(n){let a=s1(n);return a.map((r,o)=>o===a.length-1?r.pathname:r.pathnameBase)}function Lx(n,a,r,o=!1){let u;typeof n=="string"?u=tl(n):(u={...n},ot(!u.pathname||!u.pathname.includes("?"),Ku("?","pathname","search",u)),ot(!u.pathname||!u.pathname.includes("#"),Ku("#","pathname","hash",u)),ot(!u.search||!u.search.includes("#"),Ku("#","search","hash",u)));let f=n===""||u.pathname==="",p=f?"/":u.pathname,h;if(p==null)h=r;else{let b=a.length-1;if(!o&&p.startsWith("..")){let S=p.split("/");for(;S[0]==="..";)S.shift(),b-=1;u.pathname=S.join("/")}h=b>=0?a[b]:"/"}let g=n1(u,h),x=p&&p!=="/"&&p.endsWith("/"),v=(f||p===".")&&r.endsWith("/");return!g.pathname.endsWith("/")&&(x||v)&&(g.pathname+="/"),g}var es=n=>n.join("/").replace(/\/\/+/g,"/"),a1=n=>n.replace(/\/+$/,"").replace(/^\/*/,"/"),l1=n=>!n||n==="?"?"":n.startsWith("?")?n:"?"+n,r1=n=>!n||n==="#"?"":n.startsWith("#")?n:"#"+n;function i1(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 zx=["POST","PUT","PATCH","DELETE"];new Set(zx);var o1=["GET",...zx];new Set(o1);var nl=m.createContext(null);nl.displayName="DataRouter";var yo=m.createContext(null);yo.displayName="DataRouterState";m.createContext(!1);var Ux=m.createContext({isTransitioning:!1});Ux.displayName="ViewTransition";var c1=m.createContext(new Map);c1.displayName="Fetchers";var u1=m.createContext(null);u1.displayName="Await";var Tn=m.createContext(null);Tn.displayName="Navigation";var xr=m.createContext(null);xr.displayName="Location";var ss=m.createContext({outlet:null,matches:[],isDataRoute:!1});ss.displayName="Route";var Vd=m.createContext(null);Vd.displayName="RouteError";function d1(n,{relative:a}={}){ot(gr(),"useHref() may be used only in the context of a component.");let{basename:r,navigator:o}=m.useContext(Tn),{hash:u,pathname:f,search:p}=vr(n,{relative:a}),h=f;return r!=="/"&&(h=f==="/"?r:es([r,f])),o.createHref({pathname:h,search:p,hash:u})}function gr(){return m.useContext(xr)!=null}function na(){return ot(gr(),"useLocation() may be used only in the context of a component."),m.useContext(xr).location}var Hx="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Vx(n){m.useContext(Tn).static||m.useLayoutEffect(n)}function f1(){let{isDataRoute:n}=m.useContext(ss);return n?A1():m1()}function m1(){ot(gr(),"useNavigate() may be used only in the context of a component.");let n=m.useContext(nl),{basename:a,navigator:r}=m.useContext(Tn),{matches:o}=m.useContext(ss),{pathname:u}=na(),f=JSON.stringify(Bx(o)),p=m.useRef(!1);return Vx(()=>{p.current=!0}),m.useCallback((g,x={})=>{if(jn(p.current,Hx),!p.current)return;if(typeof g=="number"){r.go(g);return}let v=Lx(g,JSON.parse(f),u,x.relative==="path");n==null&&a!=="/"&&(v.pathname=v.pathname==="/"?a:es([a,v.pathname])),(x.replace?r.replace:r.push)(v,x.state,x)},[a,r,f,u,n])}m.createContext(null);function vr(n,{relative:a}={}){let{matches:r}=m.useContext(ss),{pathname:o}=na(),u=JSON.stringify(Bx(r));return m.useMemo(()=>Lx(n,JSON.parse(u),o,a==="path"),[n,u,o,a])}function h1(n,a){return $x(n,a)}function $x(n,a,r,o,u){ot(gr(),"useRoutes() may be used only in the context of a component.");let{navigator:f}=m.useContext(Tn),{matches:p}=m.useContext(ss),h=p[p.length-1],g=h?h.params:{},x=h?h.pathname:"/",v=h?h.pathnameBase:"/",b=h&&h.route;{let T=b&&b.path||"";Gx(x,!b||T.endsWith("*")||T.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${x}" (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=na(),C;if(a){let T=typeof a=="string"?tl(a):a;ot(v==="/"||T.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 "${T.pathname}" was given in the \`location\` prop.`),C=T}else C=S;let E=C.pathname||"/",N=E;if(v!=="/"){let T=v.replace(/^\//,"").split("/");N="/"+E.replace(/^\//,"").split("/").slice(T.length).join("/")}let w=Dx(n,{pathname:N});jn(b||w!=null,`No routes matched location "${C.pathname}${C.search}${C.hash}" `),jn(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 "${C.pathname}${C.search}${C.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=b1(w&&w.map(T=>Object.assign({},T,{params:Object.assign({},g,T.params),pathname:es([v,f.encodeLocation?f.encodeLocation(T.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:T.pathname]),pathnameBase:T.pathnameBase==="/"?v:es([v,f.encodeLocation?f.encodeLocation(T.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:T.pathnameBase])})),p,r,o,u);return a&&j?m.createElement(xr.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...C},navigationType:"POP"}},j):j}function p1(){let n=w1(),a=i1(n)?`${n.status} ${n.statusText}`:n instanceof Error?n.message:JSON.stringify(n),r=n instanceof Error?n.stack:null,o="rgba(200,200,200, 0.5)",u={padding:"0.5rem",backgroundColor:o},f={padding:"2px 4px",backgroundColor:o},p=null;return console.error("Error handled by React Router default ErrorBoundary:",n),p=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:f},"ErrorBoundary")," or"," ",m.createElement("code",{style:f},"errorElement")," prop on your route.")),m.createElement(m.Fragment,null,m.createElement("h2",null,"Unexpected Application Error!"),m.createElement("h3",{style:{fontStyle:"italic"}},a),r?m.createElement("pre",{style:u},r):null,p)}var x1=m.createElement(p1,null),g1=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,a){return a.location!==n.location||a.revalidation!=="idle"&&n.revalidation==="idle"?{error:n.error,location:n.location,revalidation:n.revalidation}:{error:n.error!==void 0?n.error:a.error,location:a.location,revalidation:n.revalidation||a.revalidation}}componentDidCatch(n,a){this.props.onError?this.props.onError(n,a):console.error("React Router caught the following error during render",n)}render(){return this.state.error!==void 0?m.createElement(ss.Provider,{value:this.props.routeContext},m.createElement(Vd.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function v1({routeContext:n,match:a,children:r}){let o=m.useContext(nl);return o&&o.static&&o.staticContext&&(a.route.errorElement||a.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=a.route.id),m.createElement(ss.Provider,{value:n},r)}function b1(n,a=[],r=null,o=null,u=null){if(n==null){if(!r)return null;if(r.errors)n=r.matches;else if(a.length===0&&!r.initialized&&r.matches.length>0)n=r.matches;else return null}let f=n,p=r?.errors;if(p!=null){let v=f.findIndex(b=>b.route.id&&p?.[b.route.id]!==void 0);ot(v>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(p).join(",")}`),f=f.slice(0,Math.min(f.length,v+1))}let h=!1,g=-1;if(r)for(let v=0;v=0?f=f.slice(0,g+1):f=[f[0]];break}}}let x=r&&o?(v,b)=>{o(v,{location:r.location,params:r.matches?.[0]?.params??{},errorInfo:b})}:void 0;return f.reduceRight((v,b,S)=>{let C,E=!1,N=null,w=null;r&&(C=p&&b.route.id?p[b.route.id]:void 0,N=b.route.errorElement||x1,h&&(g<0&&S===0?(Gx("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),E=!0,w=null):g===S&&(E=!0,w=b.route.hydrateFallbackElement||null)));let j=a.concat(f.slice(0,S+1)),T=()=>{let k;return C?k=N:E?k=w:b.route.Component?k=m.createElement(b.route.Component,null):b.route.element?k=b.route.element:k=v,m.createElement(v1,{match:b,routeContext:{outlet:v,matches:j,isDataRoute:r!=null},children:k})};return r&&(b.route.ErrorBoundary||b.route.errorElement||S===0)?m.createElement(g1,{location:r.location,revalidation:r.revalidation,component:N,error:C,children:T(),routeContext:{outlet:null,matches:j,isDataRoute:!0},onError:x}):T()},null)}function $d(n){return`${n} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function y1(n){let a=m.useContext(nl);return ot(a,$d(n)),a}function S1(n){let a=m.useContext(yo);return ot(a,$d(n)),a}function j1(n){let a=m.useContext(ss);return ot(a,$d(n)),a}function Gd(n){let a=j1(n),r=a.matches[a.matches.length-1];return ot(r.route.id,`${n} can only be used on routes that contain a unique "id"`),r.route.id}function N1(){return Gd("useRouteId")}function w1(){let n=m.useContext(Vd),a=S1("useRouteError"),r=Gd("useRouteError");return n!==void 0?n:a.errors?.[r]}function A1(){let{router:n}=y1("useNavigate"),a=Gd("useNavigate"),r=m.useRef(!1);return Vx(()=>{r.current=!0}),m.useCallback(async(u,f={})=>{jn(r.current,Hx),r.current&&(typeof u=="number"?n.navigate(u):await n.navigate(u,{fromRouteId:a,...f}))},[n,a])}var qp={};function Gx(n,a,r){!a&&!qp[n]&&(qp[n]=!0,jn(!1,r))}m.memo(C1);function C1({routes:n,future:a,state:r,unstable_onError:o}){return $x(n,void 0,r,o,a)}function Zi(n){ot(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function k1({basename:n="/",children:a=null,location:r,navigationType:o="POP",navigator:u,static:f=!1}){ot(!gr(),"You cannot render a inside another . You should never have more than one in your app.");let p=n.replace(/^\/*/,"/"),h=m.useMemo(()=>({basename:p,navigator:u,static:f,future:{}}),[p,u,f]);typeof r=="string"&&(r=tl(r));let{pathname:g="/",search:x="",hash:v="",state:b=null,key:S="default"}=r,C=m.useMemo(()=>{let E=ts(g,p);return E==null?null:{location:{pathname:E,search:x,hash:v,state:b,key:S},navigationType:o}},[p,g,x,v,b,S,o]);return jn(C!=null,` is not able to match the URL "${g}${x}${v}" because it does not start with the basename, so the won't render anything.`),C==null?null:m.createElement(Tn.Provider,{value:h},m.createElement(xr.Provider,{children:a,value:C}))}function E1({children:n,location:a}){return h1(Sd(n),a)}function Sd(n,a=[]){let r=[];return m.Children.forEach(n,(o,u)=>{if(!m.isValidElement(o))return;let f=[...a,u];if(o.type===m.Fragment){r.push.apply(r,Sd(o.props.children,f));return}ot(o.type===Zi,`[${typeof o.type=="string"?o.type:o.type.name}] is not a component. All component children of must be a or `),ot(!o.props.index||!o.props.children,"An index route cannot have child routes.");let p={id:o.props.id||f.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&&(p.children=Sd(o.props.children,f)),r.push(p)}),r}var Ji="get",Pi="application/x-www-form-urlencoded";function So(n){return n!=null&&typeof n.tagName=="string"}function M1(n){return So(n)&&n.tagName.toLowerCase()==="button"}function R1(n){return So(n)&&n.tagName.toLowerCase()==="form"}function T1(n){return So(n)&&n.tagName.toLowerCase()==="input"}function q1(n){return!!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)}function D1(n,a){return n.button===0&&(!a||a==="_self")&&!q1(n)}var Ui=null;function _1(){if(Ui===null)try{new FormData(document.createElement("form"),0),Ui=!1}catch{Ui=!0}return Ui}var O1=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Zu(n){return n!=null&&!O1.has(n)?(jn(!1,`"${n}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${Pi}"`),null):n}function B1(n,a){let r,o,u,f,p;if(R1(n)){let h=n.getAttribute("action");o=h?ts(h,a):null,r=n.getAttribute("method")||Ji,u=Zu(n.getAttribute("enctype"))||Pi,f=new FormData(n)}else if(M1(n)||T1(n)&&(n.type==="submit"||n.type==="image")){let h=n.form;if(h==null)throw new Error('Cannot submit a