diff --git a/dist/.DS_Store b/dist/.DS_Store deleted file mode 100644 index c8ae15b5..00000000 Binary files a/dist/.DS_Store and /dev/null differ diff --git a/dist/assets/index-C1GgsDvQ.js b/dist/assets/index-C1GgsDvQ.js deleted file mode 100644 index 9a55bd41..00000000 --- a/dist/assets/index-C1GgsDvQ.js +++ /dev/null @@ -1,246 +0,0 @@ -function uS(n,s){for(var r=0;ro[c]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}(function(){const s=document.createElement("link").relList;if(s&&s.supports&&s.supports("modulepreload"))return;for(const c of document.querySelectorAll('link[rel="modulepreload"]'))o(c);new MutationObserver(c=>{for(const l of c)if(l.type==="childList")for(const u of l.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&o(u)}).observe(document,{childList:!0,subtree:!0});function r(c){const l={};return c.integrity&&(l.integrity=c.integrity),c.referrerPolicy&&(l.referrerPolicy=c.referrerPolicy),c.crossOrigin==="use-credentials"?l.credentials="include":c.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function o(c){if(c.ep)return;c.ep=!0;const l=r(c);fetch(c.href,l)}})();function qy(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var jx={exports:{}},Tl={};var Ib;function pS(){if(Ib)return Tl;Ib=1;var n=Symbol.for("react.transitional.element"),s=Symbol.for("react.fragment");function r(o,c,l){var u=null;if(l!==void 0&&(u=""+l),c.key!==void 0&&(u=""+c.key),"key"in c){l={};for(var p in c)p!=="key"&&(l[p]=c[p])}else l=c;return c=l.ref,{$$typeof:n,type:o,key:u,ref:c!==void 0?c:null,props:l}}return Tl.Fragment=s,Tl.jsx=r,Tl.jsxs=r,Tl}var $b;function hS(){return $b||($b=1,jx.exports=pS()),jx.exports}var e=hS(),wx={exports:{}},De={};var Yb;function mS(){if(Yb)return De;Yb=1;var n=Symbol.for("react.transitional.element"),s=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),l=Symbol.for("react.consumer"),u=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),x=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),b=Symbol.for("react.activity"),w=Symbol.iterator;function y(z){return z===null||typeof z!="object"?null:(z=w&&z[w]||z["@@iterator"],typeof z=="function"?z:null)}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},j=Object.assign,C={};function T(z,Z,oe){this.props=z,this.context=Z,this.refs=C,this.updater=oe||S}T.prototype.isReactComponent={},T.prototype.setState=function(z,Z){if(typeof z!="object"&&typeof z!="function"&&z!=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,z,Z,"setState")},T.prototype.forceUpdate=function(z){this.updater.enqueueForceUpdate(this,z,"forceUpdate")};function E(){}E.prototype=T.prototype;function k(z,Z,oe){this.props=z,this.context=Z,this.refs=C,this.updater=oe||S}var R=k.prototype=new E;R.constructor=k,j(R,T.prototype),R.isPureReactComponent=!0;var O=Array.isArray;function L(){}var _={H:null,A:null,T:null,S:null},M=Object.prototype.hasOwnProperty;function H(z,Z,oe){var ae=oe.ref;return{$$typeof:n,type:z,key:Z,ref:ae!==void 0?ae:null,props:oe}}function U(z,Z){return H(z.type,Z,z.props)}function re(z){return typeof z=="object"&&z!==null&&z.$$typeof===n}function K(z){var Z={"=":"=0",":":"=2"};return"$"+z.replace(/[=:]/g,function(oe){return Z[oe]})}var le=/\/+/g;function ce(z,Z){return typeof z=="object"&&z!==null&&z.key!=null?K(""+z.key):Z.toString(36)}function ne(z){switch(z.status){case"fulfilled":return z.value;case"rejected":throw z.reason;default:switch(typeof z.status=="string"?z.then(L,L):(z.status="pending",z.then(function(Z){z.status==="pending"&&(z.status="fulfilled",z.value=Z)},function(Z){z.status==="pending"&&(z.status="rejected",z.reason=Z)})),z.status){case"fulfilled":return z.value;case"rejected":throw z.reason}}throw z}function D(z,Z,oe,ae,pe){var me=typeof z;(me==="undefined"||me==="boolean")&&(z=null);var te=!1;if(z===null)te=!0;else switch(me){case"bigint":case"string":case"number":te=!0;break;case"object":switch(z.$$typeof){case n:case s:te=!0;break;case g:return te=z._init,D(te(z._payload),Z,oe,ae,pe)}}if(te)return pe=pe(z),te=ae===""?"."+ce(z,0):ae,O(pe)?(oe="",te!=null&&(oe=te.replace(le,"$&/")+"/"),D(pe,Z,oe,"",function(ze){return ze})):pe!=null&&(re(pe)&&(pe=U(pe,oe+(pe.key==null||z&&z.key===pe.key?"":(""+pe.key).replace(le,"$&/")+"/")+te)),Z.push(pe)),1;te=0;var we=ae===""?".":ae+":";if(O(z))for(var je=0;je>>1,B=D[de];if(0>>1;dec(oe,F))aec(pe,oe)?(D[de]=pe,D[ae]=F,de=ae):(D[de]=oe,D[Z]=F,de=Z);else if(aec(pe,F))D[de]=pe,D[ae]=F,de=ae;else break e}}return G}function c(D,G){var F=D.sortIndex-G.sortIndex;return F!==0?F:D.id-G.id}if(n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var l=performance;n.unstable_now=function(){return l.now()}}else{var u=Date,p=u.now();n.unstable_now=function(){return u.now()-p}}var m=[],x=[],g=1,b=null,w=3,y=!1,S=!1,j=!1,C=!1,T=typeof setTimeout=="function"?setTimeout:null,E=typeof clearTimeout=="function"?clearTimeout:null,k=typeof setImmediate<"u"?setImmediate:null;function R(D){for(var G=r(x);G!==null;){if(G.callback===null)o(x);else if(G.startTime<=D)o(x),G.sortIndex=G.expirationTime,s(m,G);else break;G=r(x)}}function O(D){if(j=!1,R(D),!S)if(r(m)!==null)S=!0,L||(L=!0,K());else{var G=r(x);G!==null&&ne(O,G.startTime-D)}}var L=!1,_=-1,M=5,H=-1;function U(){return C?!0:!(n.unstable_now()-HD&&U());){var de=b.callback;if(typeof de=="function"){b.callback=null,w=b.priorityLevel;var B=de(b.expirationTime<=D);if(D=n.unstable_now(),typeof B=="function"){b.callback=B,R(D),G=!0;break t}b===r(m)&&o(m),R(D)}else o(m);b=r(m)}if(b!==null)G=!0;else{var z=r(x);z!==null&&ne(O,z.startTime-D),G=!1}}break e}finally{b=null,w=F,y=!1}G=void 0}}finally{G?K():L=!1}}}var K;if(typeof k=="function")K=function(){k(re)};else if(typeof MessageChannel<"u"){var le=new MessageChannel,ce=le.port2;le.port1.onmessage=re,K=function(){ce.postMessage(null)}}else K=function(){T(re,0)};function ne(D,G){_=T(function(){D(n.unstable_now())},G)}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(D){D.callback=null},n.unstable_forceFrameRate=function(D){0>D||125de?(D.sortIndex=F,s(x,D),r(m)===null&&D===r(x)&&(j?(E(_),_=-1):j=!0,ne(O,F-de))):(D.sortIndex=B,s(m,D),S||y||(S=!0,L||(L=!0,K()))),D},n.unstable_shouldYield=U,n.unstable_wrapCallback=function(D){var G=w;return function(){var F=w;w=G;try{return D.apply(this,arguments)}finally{w=F}}}})(_x)),_x}var Qb;function fS(){return Qb||(Qb=1,Cx.exports=xS()),Cx.exports}var Ax={exports:{}},Es={};var Zb;function gS(){if(Zb)return Es;Zb=1;var n=Kf();function s(m){var x="https://react.dev/errors/"+m;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(s){console.error(s)}}return n(),Ax.exports=gS(),Ax.exports}var Jb;function vS(){if(Jb)return El;Jb=1;var n=fS(),s=Kf(),r=Ly();function o(t){var a="https://react.dev/errors/"+t;if(1B||(t.current=de[B],de[B]=null,B--)}function oe(t,a){B++,de[B]=t.current,t.current=a}var ae=z(null),pe=z(null),me=z(null),te=z(null);function we(t,a){switch(oe(me,a),oe(pe,t),oe(ae,null),a.nodeType){case 9:case 11:t=(t=a.documentElement)&&(t=t.namespaceURI)?mb(t):0;break;default:if(t=a.tagName,a=a.namespaceURI)a=mb(a),t=xb(a,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}Z(ae),oe(ae,t)}function je(){Z(ae),Z(pe),Z(me)}function ze(t){t.memoizedState!==null&&oe(te,t);var a=ae.current,i=xb(a,t.type);a!==i&&(oe(pe,t),oe(ae,i))}function Ee(t){pe.current===t&&(Z(ae),Z(pe)),te.current===t&&(Z(te),Sl._currentValue=F)}var Pe,ke;function Xe(t){if(Pe===void 0)try{throw Error()}catch(i){var a=i.stack.trim().match(/\n( *(at )?)/);Pe=a&&a[1]||"",ke=-1)":-1h||P[d]!==Y[h]){var J=` -`+P[d].replace(" at new "," at ");return t.displayName&&J.includes("")&&(J=J.replace("",t.displayName)),J}while(1<=d&&0<=h);break}}}finally{Ft=!1,Error.prepareStackTrace=i}return(i=t?t.displayName||t.name:"")?Xe(i):""}function Q(t,a){switch(t.tag){case 26:case 27:case 5:return Xe(t.type);case 16:return Xe("Lazy");case 13:return t.child!==a&&a!==null?Xe("Suspense Fallback"):Xe("Suspense");case 19:return Xe("SuspenseList");case 0:case 15:return Wt(t.type,!1);case 11:return Wt(t.type.render,!1);case 1:return Wt(t.type,!0);case 31:return Xe("Activity");default:return""}}function Cs(t){try{var a="",i=null;do a+=Q(t,i),i=t,t=t.return;while(t);return a}catch(d){return` -Error generating stack: `+d.message+` -`+d.stack}}var ua=Object.prototype.hasOwnProperty,Pa=n.unstable_scheduleCallback,jt=n.unstable_cancelCallback,uo=n.unstable_shouldYield,So=n.unstable_requestPaint,Qt=n.unstable_now,ss=n.unstable_getCurrentPriorityLevel,po=n.unstable_ImmediatePriority,kt=n.unstable_UserBlockingPriority,_s=n.unstable_NormalPriority,Zs=n.unstable_LowPriority,Da=n.unstable_IdlePriority,En=n.log,Ut=n.unstable_setDisableYieldValue,Co=null,zt=null;function Ls(t){if(typeof En=="function"&&Ut(t),zt&&typeof zt.setStrictMode=="function")try{zt.setStrictMode(Co,t)}catch{}}var as=Math.clz32?Math.clz32:Ve,_o=Math.log,Zo=Math.LN2;function Ve(t){return t>>>=0,t===0?32:31-(_o(t)/Zo|0)|0}var Ba=256,As=262144,Ts=4194304;function ds(t){var a=t&42;if(a!==0)return a;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function qa(t,a,i){var d=t.pendingLanes;if(d===0)return 0;var h=0,f=t.suspendedLanes,N=t.pingedLanes;t=t.warmLanes;var A=d&134217727;return A!==0?(d=A&~f,d!==0?h=ds(d):(N&=A,N!==0?h=ds(N):i||(i=A&~t,i!==0&&(h=ds(i))))):(A=d&~f,A!==0?h=ds(A):N!==0?h=ds(N):i||(i=d&~t,i!==0&&(h=ds(i)))),h===0?0:a!==0&&a!==h&&(a&f)===0&&(f=h&-h,i=a&-a,f>=i||f===32&&(i&4194048)!==0)?a:h}function La(t,a){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&a)===0}function ho(t,a){switch(t){case 1:case 2:case 4:case 8:case 64:return a+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 a+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 Or(){var t=Ts;return Ts<<=1,(Ts&62914560)===0&&(Ts=4194304),t}function Me(t){for(var a=[],i=0;31>i;i++)a.push(t);return a}function Se(t,a){t.pendingLanes|=a,a!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function ot(t,a,i,d,h,f){var N=t.pendingLanes;t.pendingLanes=i,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=i,t.entangledLanes&=i,t.errorRecoveryDisabledLanes&=i,t.shellSuspendCounter=0;var A=t.entanglements,P=t.expirationTimes,Y=t.hiddenUpdates;for(i=N&~i;0"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var r5=/[\n"\\]/g;function Ua(t){return t.replace(r5,function(a){return"\\"+a.charCodeAt(0).toString(16)+" "})}function fh(t,a,i,d,h,f,N,A){t.name="",N!=null&&typeof N!="function"&&typeof N!="symbol"&&typeof N!="boolean"?t.type=N:t.removeAttribute("type"),a!=null?N==="number"?(a===0&&t.value===""||t.value!=a)&&(t.value=""+Fa(a)):t.value!==""+Fa(a)&&(t.value=""+Fa(a)):N!=="submit"&&N!=="reset"||t.removeAttribute("value"),a!=null?gh(t,N,Fa(a)):i!=null?gh(t,N,Fa(i)):d!=null&&t.removeAttribute("value"),h==null&&f!=null&&(t.defaultChecked=!!f),h!=null&&(t.checked=h&&typeof h!="function"&&typeof h!="symbol"),A!=null&&typeof A!="function"&&typeof A!="symbol"&&typeof A!="boolean"?t.name=""+Fa(A):t.removeAttribute("name")}function i0(t,a,i,d,h,f,N,A){if(f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(t.type=f),a!=null||i!=null){if(!(f!=="submit"&&f!=="reset"||a!=null)){xh(t);return}i=i!=null?""+Fa(i):"",a=a!=null?""+Fa(a):i,A||a===t.value||(t.value=a),t.defaultValue=a}d=d??h,d=typeof d!="function"&&typeof d!="symbol"&&!!d,t.checked=A?t.checked:!!d,t.defaultChecked=!!d,N!=null&&typeof N!="function"&&typeof N!="symbol"&&typeof N!="boolean"&&(t.name=N),xh(t)}function gh(t,a,i){a==="number"&&kd(t.ownerDocument)===t||t.defaultValue===""+i||(t.defaultValue=""+i)}function jc(t,a,i,d){if(t=t.options,a){a={};for(var h=0;h"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),jh=!1;if(er)try{var Fi={};Object.defineProperty(Fi,"passive",{get:function(){jh=!0}}),window.addEventListener("test",Fi,Fi),window.removeEventListener("test",Fi,Fi)}catch{jh=!1}var Pr=null,wh=null,Md=null;function x0(){if(Md)return Md;var t,a=wh,i=a.length,d,h="value"in Pr?Pr.value:Pr.textContent,f=h.length;for(t=0;t=Ii),N0=" ",j0=!1;function w0(t,a){switch(t){case"keyup":return O5.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function S0(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var _c=!1;function P5(t,a){switch(t){case"compositionend":return S0(a);case"keypress":return a.which!==32?null:(j0=!0,N0);case"textInput":return t=a.data,t===N0&&j0?null:t;default:return null}}function D5(t,a){if(_c)return t==="compositionend"||!Th&&w0(t,a)?(t=x0(),Md=wh=Pr=null,_c=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1=a)return{node:i,offset:a-t};t=d}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=M0(i)}}function z0(t,a){return t&&a?t===a?!0:t&&t.nodeType===3?!1:a&&a.nodeType===3?z0(t,a.parentNode):"contains"in t?t.contains(a):t.compareDocumentPosition?!!(t.compareDocumentPosition(a)&16):!1:!1}function P0(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var a=kd(t.document);a instanceof t.HTMLIFrameElement;){try{var i=typeof a.contentWindow.location.href=="string"}catch{i=!1}if(i)t=a.contentWindow;else break;a=kd(t.document)}return a}function Rh(t){var a=t&&t.nodeName&&t.nodeName.toLowerCase();return a&&(a==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||a==="textarea"||t.contentEditable==="true")}var G5=er&&"documentMode"in document&&11>=document.documentMode,Ac=null,Mh=null,Wi=null,Oh=!1;function D0(t,a,i){var d=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;Oh||Ac==null||Ac!==kd(d)||(d=Ac,"selectionStart"in d&&Rh(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),Wi&&Xi(Wi,d)||(Wi=d,d=Cu(Mh,"onSelect"),0>=N,h-=N,ko=1<<32-as(a)+h|i<qe?(Ke=be,be=null):Ke=be.sibling;var ct=X(V,be,I[qe],ee);if(ct===null){be===null&&(be=Ke);break}t&&be&&ct.alternate===null&&a(V,be),q=f(ct,q,qe),nt===null?_e=ct:nt.sibling=ct,nt=ct,be=Ke}if(qe===I.length)return i(V,be),et&&sr(V,qe),_e;if(be===null){for(;qeqe?(Ke=be,be=null):Ke=be.sibling;var an=X(V,be,ct.value,ee);if(an===null){be===null&&(be=Ke);break}t&&be&&an.alternate===null&&a(V,be),q=f(an,q,qe),nt===null?_e=an:nt.sibling=an,nt=an,be=Ke}if(ct.done)return i(V,be),et&&sr(V,qe),_e;if(be===null){for(;!ct.done;qe++,ct=I.next())ct=se(V,ct.value,ee),ct!==null&&(q=f(ct,q,qe),nt===null?_e=ct:nt.sibling=ct,nt=ct);return et&&sr(V,qe),_e}for(be=d(be);!ct.done;qe++,ct=I.next())ct=W(be,V,qe,ct.value,ee),ct!==null&&(t&&ct.alternate!==null&&be.delete(ct.key===null?qe:ct.key),q=f(ct,q,qe),nt===null?_e=ct:nt.sibling=ct,nt=ct);return t&&be.forEach(function(dS){return a(V,dS)}),et&&sr(V,qe),_e}function gt(V,q,I,ee){if(typeof I=="object"&&I!==null&&I.type===j&&I.key===null&&(I=I.props.children),typeof I=="object"&&I!==null){switch(I.$$typeof){case y:e:{for(var _e=I.key;q!==null;){if(q.key===_e){if(_e=I.type,_e===j){if(q.tag===7){i(V,q.sibling),ee=h(q,I.props.children),ee.return=V,V=ee;break e}}else if(q.elementType===_e||typeof _e=="object"&&_e!==null&&_e.$$typeof===M&&Vn(_e)===q.type){i(V,q.sibling),ee=h(q,I.props),tl(ee,I),ee.return=V,V=ee;break e}i(V,q);break}else a(V,q);q=q.sibling}I.type===j?(ee=Pn(I.props.children,V.mode,ee,I.key),ee.return=V,V=ee):(ee=Fd(I.type,I.key,I.props,null,V.mode,ee),tl(ee,I),ee.return=V,V=ee)}return N(V);case S:e:{for(_e=I.key;q!==null;){if(q.key===_e)if(q.tag===4&&q.stateNode.containerInfo===I.containerInfo&&q.stateNode.implementation===I.implementation){i(V,q.sibling),ee=h(q,I.children||[]),ee.return=V,V=ee;break e}else{i(V,q);break}else a(V,q);q=q.sibling}ee=Vh(I,V.mode,ee),ee.return=V,V=ee}return N(V);case M:return I=Vn(I),gt(V,q,I,ee)}if(ne(I))return xe(V,q,I,ee);if(K(I)){if(_e=K(I),typeof _e!="function")throw Error(o(150));return I=_e.call(I),Te(V,q,I,ee)}if(typeof I.then=="function")return gt(V,q,Wd(I),ee);if(I.$$typeof===k)return gt(V,q,Id(V,I),ee);Qd(V,I)}return typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint"?(I=""+I,q!==null&&q.tag===6?(i(V,q.sibling),ee=h(q,I),ee.return=V,V=ee):(i(V,q),ee=Lh(I,V.mode,ee),ee.return=V,V=ee),N(V)):i(V,q)}return function(V,q,I,ee){try{el=0;var _e=gt(V,q,I,ee);return qc=null,_e}catch(be){if(be===Bc||be===Yd)throw be;var nt=xa(29,be,null,V.mode);return nt.lanes=ee,nt.return=V,nt}}}var Fn=r1(!0),n1=r1(!1),Vr=!1;function Kh(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Jh(t,a){t=t.updateQueue,a.updateQueue===t&&(a.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function Hr(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function Fr(t,a,i){var d=t.updateQueue;if(d===null)return null;if(d=d.shared,(dt&2)!==0){var h=d.pending;return h===null?a.next=a:(a.next=h.next,h.next=a),d.pending=a,a=Hd(t),U0(t,null,i),a}return Vd(t,d,a,i),Hd(t)}function sl(t,a,i){if(a=a.updateQueue,a!==null&&(a=a.shared,(i&4194048)!==0)){var d=a.lanes;d&=t.pendingLanes,i|=d,a.lanes=i,Oe(t,i)}}function em(t,a){var i=t.updateQueue,d=t.alternate;if(d!==null&&(d=d.updateQueue,i===d)){var h=null,f=null;if(i=i.firstBaseUpdate,i!==null){do{var N={lane:i.lane,tag:i.tag,payload:i.payload,callback:null,next:null};f===null?h=f=N:f=f.next=N,i=i.next}while(i!==null);f===null?h=f=a:f=f.next=a}else h=f=a;i={baseState:d.baseState,firstBaseUpdate:h,lastBaseUpdate:f,shared:d.shared,callbacks:d.callbacks},t.updateQueue=i;return}t=i.lastBaseUpdate,t===null?i.firstBaseUpdate=a:t.next=a,i.lastBaseUpdate=a}var tm=!1;function al(){if(tm){var t=Dc;if(t!==null)throw t}}function ol(t,a,i,d){tm=!1;var h=t.updateQueue;Vr=!1;var f=h.firstBaseUpdate,N=h.lastBaseUpdate,A=h.shared.pending;if(A!==null){h.shared.pending=null;var P=A,Y=P.next;P.next=null,N===null?f=Y:N.next=Y,N=P;var J=t.alternate;J!==null&&(J=J.updateQueue,A=J.lastBaseUpdate,A!==N&&(A===null?J.firstBaseUpdate=Y:A.next=Y,J.lastBaseUpdate=P))}if(f!==null){var se=h.baseState;N=0,J=Y=P=null,A=f;do{var X=A.lane&-536870913,W=X!==A.lane;if(W?(Ze&X)===X:(d&X)===X){X!==0&&X===Pc&&(tm=!0),J!==null&&(J=J.next={lane:0,tag:A.tag,payload:A.payload,callback:null,next:null});e:{var xe=t,Te=A;X=a;var gt=i;switch(Te.tag){case 1:if(xe=Te.payload,typeof xe=="function"){se=xe.call(gt,se,X);break e}se=xe;break e;case 3:xe.flags=xe.flags&-65537|128;case 0:if(xe=Te.payload,X=typeof xe=="function"?xe.call(gt,se,X):xe,X==null)break e;se=b({},se,X);break e;case 2:Vr=!0}}X=A.callback,X!==null&&(t.flags|=64,W&&(t.flags|=8192),W=h.callbacks,W===null?h.callbacks=[X]:W.push(X))}else W={lane:X,tag:A.tag,payload:A.payload,callback:A.callback,next:null},J===null?(Y=J=W,P=se):J=J.next=W,N|=X;if(A=A.next,A===null){if(A=h.shared.pending,A===null)break;W=A,A=W.next,W.next=null,h.lastBaseUpdate=W,h.shared.pending=null}}while(!0);J===null&&(P=se),h.baseState=P,h.firstBaseUpdate=Y,h.lastBaseUpdate=J,f===null&&(h.shared.lanes=0),Yr|=N,t.lanes=N,t.memoizedState=se}}function c1(t,a){if(typeof t!="function")throw Error(o(191,t));t.call(a)}function i1(t,a){var i=t.callbacks;if(i!==null)for(t.callbacks=null,t=0;tf?f:8;var N=D.T,A={};D.T=A,ym(t,!1,a,i);try{var P=h(),Y=D.S;if(Y!==null&&Y(A,P),P!==null&&typeof P=="object"&&typeof P.then=="function"){var J=J5(P,d);cl(t,a,J,ya(t))}else cl(t,a,d,ya(t))}catch(se){cl(t,a,{then:function(){},status:"rejected",reason:se},ya())}finally{G.p=f,N!==null&&A.types!==null&&(N.types=A.types),D.T=N}}function rw(){}function vm(t,a,i,d){if(t.tag!==5)throw Error(o(476));var h=V1(t).queue;L1(t,h,a,F,i===null?rw:function(){return H1(t),i(d)})}function V1(t){var a=t.memoizedState;if(a!==null)return a;a={memoizedState:F,baseState:F,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:nr,lastRenderedState:F},next:null};var i={};return a.next={memoizedState:i,baseState:i,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:nr,lastRenderedState:i},next:null},t.memoizedState=a,t=t.alternate,t!==null&&(t.memoizedState=a),a}function H1(t){var a=V1(t);a.next===null&&(a=t.alternate.memoizedState),cl(t,a.next.queue,{},ya())}function bm(){return ys(Sl)}function F1(){return Jt().memoizedState}function U1(){return Jt().memoizedState}function nw(t){for(var a=t.return;a!==null;){switch(a.tag){case 24:case 3:var i=ya();t=Hr(i);var d=Fr(a,t,i);d!==null&&(oa(d,a,i),sl(d,a,i)),a={cache:Xh()},t.payload=a;return}a=a.return}}function cw(t,a,i){var d=ya();i={lane:d,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},nu(t)?I1(a,i):(i=Bh(t,a,i,d),i!==null&&(oa(i,t,d),$1(i,a,d)))}function G1(t,a,i){var d=ya();cl(t,a,i,d)}function cl(t,a,i,d){var h={lane:d,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null};if(nu(t))I1(a,h);else{var f=t.alternate;if(t.lanes===0&&(f===null||f.lanes===0)&&(f=a.lastRenderedReducer,f!==null))try{var N=a.lastRenderedState,A=f(N,i);if(h.hasEagerState=!0,h.eagerState=A,ma(A,N))return Vd(t,a,h,0),vt===null&&Ld(),!1}catch{}if(i=Bh(t,a,h,d),i!==null)return oa(i,t,d),$1(i,a,d),!0}return!1}function ym(t,a,i,d){if(d={lane:2,revertLane:Km(),gesture:null,action:d,hasEagerState:!1,eagerState:null,next:null},nu(t)){if(a)throw Error(o(479))}else a=Bh(t,i,d,2),a!==null&&oa(a,t,2)}function nu(t){var a=t.alternate;return t===Be||a!==null&&a===Be}function I1(t,a){Vc=Jd=!0;var i=t.pending;i===null?a.next=a:(a.next=i.next,i.next=a),t.pending=a}function $1(t,a,i){if((i&4194048)!==0){var d=a.lanes;d&=t.pendingLanes,i|=d,a.lanes=i,Oe(t,i)}}var il={readContext:ys,use:su,useCallback:It,useContext:It,useEffect:It,useImperativeHandle:It,useLayoutEffect:It,useInsertionEffect:It,useMemo:It,useReducer:It,useRef:It,useState:It,useDebugValue:It,useDeferredValue:It,useTransition:It,useSyncExternalStore:It,useId:It,useHostTransitionStatus:It,useFormState:It,useActionState:It,useOptimistic:It,useMemoCache:It,useCacheRefresh:It};il.useEffectEvent=It;var Y1={readContext:ys,use:su,useCallback:function(t,a){return Fs().memoizedState=[t,a===void 0?null:a],t},useContext:ys,useEffect:k1,useImperativeHandle:function(t,a,i){i=i!=null?i.concat([t]):null,ou(4194308,4,z1.bind(null,a,t),i)},useLayoutEffect:function(t,a){return ou(4194308,4,t,a)},useInsertionEffect:function(t,a){ou(4,2,t,a)},useMemo:function(t,a){var i=Fs();a=a===void 0?null:a;var d=t();if(Un){Ls(!0);try{t()}finally{Ls(!1)}}return i.memoizedState=[d,a],d},useReducer:function(t,a,i){var d=Fs();if(i!==void 0){var h=i(a);if(Un){Ls(!0);try{i(a)}finally{Ls(!1)}}}else h=a;return d.memoizedState=d.baseState=h,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:h},d.queue=t,t=t.dispatch=cw.bind(null,Be,t),[d.memoizedState,t]},useRef:function(t){var a=Fs();return t={current:t},a.memoizedState=t},useState:function(t){t=hm(t);var a=t.queue,i=G1.bind(null,Be,a);return a.dispatch=i,[t.memoizedState,i]},useDebugValue:fm,useDeferredValue:function(t,a){var i=Fs();return gm(i,t,a)},useTransition:function(){var t=hm(!1);return t=L1.bind(null,Be,t.queue,!0,!1),Fs().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,a,i){var d=Be,h=Fs();if(et){if(i===void 0)throw Error(o(407));i=i()}else{if(i=a(),vt===null)throw Error(o(349));(Ze&127)!==0||m1(d,a,i)}h.memoizedState=i;var f={value:i,getSnapshot:a};return h.queue=f,k1(f1.bind(null,d,f,t),[t]),d.flags|=2048,Fc(9,{destroy:void 0},x1.bind(null,d,f,i,a),null),i},useId:function(){var t=Fs(),a=vt.identifierPrefix;if(et){var i=Ro,d=ko;i=(d&~(1<<32-as(d)-1)).toString(32)+i,a="_"+a+"R_"+i,i=eu++,0<\/script>",f=f.removeChild(f.firstChild);break;case"select":f=typeof d.is=="string"?N.createElement("select",{is:d.is}):N.createElement("select"),d.multiple?f.multiple=!0:d.size&&(f.size=d.size);break;default:f=typeof d.is=="string"?N.createElement(h,{is:d.is}):N.createElement(h)}}f[Le]=a,f[He]=d;e:for(N=a.child;N!==null;){if(N.tag===5||N.tag===6)f.appendChild(N.stateNode);else if(N.tag!==4&&N.tag!==27&&N.child!==null){N.child.return=N,N=N.child;continue}if(N===a)break e;for(;N.sibling===null;){if(N.return===null||N.return===a)break e;N=N.return}N.sibling.return=N.return,N=N.sibling}a.stateNode=f;e:switch(js(f,h,d),h){case"button":case"input":case"select":case"textarea":d=!!d.autoFocus;break e;case"img":d=!0;break e;default:d=!1}d&&ir(a)}}return Tt(a),zm(a,a.type,t===null?null:t.memoizedProps,a.pendingProps,i),null;case 6:if(t&&a.stateNode!=null)t.memoizedProps!==d&&ir(a);else{if(typeof d!="string"&&a.stateNode===null)throw Error(o(166));if(t=me.current,Oc(a)){if(t=a.stateNode,i=a.memoizedProps,d=null,h=bs,h!==null)switch(h.tag){case 27:case 5:d=h.memoizedProps}t[Le]=a,t=!!(t.nodeValue===i||d!==null&&d.suppressHydrationWarning===!0||pb(t.nodeValue,i)),t||qr(a,!0)}else t=_u(t).createTextNode(d),t[Le]=a,a.stateNode=t}return Tt(a),null;case 31:if(i=a.memoizedState,t===null||t.memoizedState!==null){if(d=Oc(a),i!==null){if(t===null){if(!d)throw Error(o(318));if(t=a.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(557));t[Le]=a}else Dn(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;Tt(a),t=!1}else i=Gh(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=i),t=!0;if(!t)return a.flags&256?(ga(a),a):(ga(a),null);if((a.flags&128)!==0)throw Error(o(558))}return Tt(a),null;case 13:if(d=a.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(h=Oc(a),d!==null&&d.dehydrated!==null){if(t===null){if(!h)throw Error(o(318));if(h=a.memoizedState,h=h!==null?h.dehydrated:null,!h)throw Error(o(317));h[Le]=a}else Dn(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;Tt(a),h=!1}else h=Gh(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=h),h=!0;if(!h)return a.flags&256?(ga(a),a):(ga(a),null)}return ga(a),(a.flags&128)!==0?(a.lanes=i,a):(i=d!==null,t=t!==null&&t.memoizedState!==null,i&&(d=a.child,h=null,d.alternate!==null&&d.alternate.memoizedState!==null&&d.alternate.memoizedState.cachePool!==null&&(h=d.alternate.memoizedState.cachePool.pool),f=null,d.memoizedState!==null&&d.memoizedState.cachePool!==null&&(f=d.memoizedState.cachePool.pool),f!==h&&(d.flags|=2048)),i!==t&&i&&(a.child.flags|=8192),uu(a,a.updateQueue),Tt(a),null);case 4:return je(),t===null&&sx(a.stateNode.containerInfo),Tt(a),null;case 10:return or(a.type),Tt(a),null;case 19:if(Z(Kt),d=a.memoizedState,d===null)return Tt(a),null;if(h=(a.flags&128)!==0,f=d.rendering,f===null)if(h)dl(d,!1);else{if($t!==0||t!==null&&(t.flags&128)!==0)for(t=a.child;t!==null;){if(f=Kd(t),f!==null){for(a.flags|=128,dl(d,!1),t=f.updateQueue,a.updateQueue=t,uu(a,t),a.subtreeFlags=0,t=i,i=a.child;i!==null;)G0(i,t),i=i.sibling;return oe(Kt,Kt.current&1|2),et&&sr(a,d.treeForkCount),a.child}t=t.sibling}d.tail!==null&&Qt()>fu&&(a.flags|=128,h=!0,dl(d,!1),a.lanes=4194304)}else{if(!h)if(t=Kd(f),t!==null){if(a.flags|=128,h=!0,t=t.updateQueue,a.updateQueue=t,uu(a,t),dl(d,!0),d.tail===null&&d.tailMode==="hidden"&&!f.alternate&&!et)return Tt(a),null}else 2*Qt()-d.renderingStartTime>fu&&i!==536870912&&(a.flags|=128,h=!0,dl(d,!1),a.lanes=4194304);d.isBackwards?(f.sibling=a.child,a.child=f):(t=d.last,t!==null?t.sibling=f:a.child=f,d.last=f)}return d.tail!==null?(t=d.tail,d.rendering=t,d.tail=t.sibling,d.renderingStartTime=Qt(),t.sibling=null,i=Kt.current,oe(Kt,h?i&1|2:i&1),et&&sr(a,d.treeForkCount),t):(Tt(a),null);case 22:case 23:return ga(a),am(),d=a.memoizedState!==null,t!==null?t.memoizedState!==null!==d&&(a.flags|=8192):d&&(a.flags|=8192),d?(i&536870912)!==0&&(a.flags&128)===0&&(Tt(a),a.subtreeFlags&6&&(a.flags|=8192)):Tt(a),i=a.updateQueue,i!==null&&uu(a,i.retryQueue),i=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(i=t.memoizedState.cachePool.pool),d=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(d=a.memoizedState.cachePool.pool),d!==i&&(a.flags|=2048),t!==null&&Z(Ln),null;case 24:return i=null,t!==null&&(i=t.memoizedState.cache),a.memoizedState.cache!==i&&(a.flags|=2048),or(os),Tt(a),null;case 25:return null;case 30:return null}throw Error(o(156,a.tag))}function pw(t,a){switch(Fh(a),a.tag){case 1:return t=a.flags,t&65536?(a.flags=t&-65537|128,a):null;case 3:return or(os),je(),t=a.flags,(t&65536)!==0&&(t&128)===0?(a.flags=t&-65537|128,a):null;case 26:case 27:case 5:return Ee(a),null;case 31:if(a.memoizedState!==null){if(ga(a),a.alternate===null)throw Error(o(340));Dn()}return t=a.flags,t&65536?(a.flags=t&-65537|128,a):null;case 13:if(ga(a),t=a.memoizedState,t!==null&&t.dehydrated!==null){if(a.alternate===null)throw Error(o(340));Dn()}return t=a.flags,t&65536?(a.flags=t&-65537|128,a):null;case 19:return Z(Kt),null;case 4:return je(),null;case 10:return or(a.type),null;case 22:case 23:return ga(a),am(),t!==null&&Z(Ln),t=a.flags,t&65536?(a.flags=t&-65537|128,a):null;case 24:return or(os),null;case 25:return null;default:return null}}function gv(t,a){switch(Fh(a),a.tag){case 3:or(os),je();break;case 26:case 27:case 5:Ee(a);break;case 4:je();break;case 31:a.memoizedState!==null&&ga(a);break;case 13:ga(a);break;case 19:Z(Kt);break;case 10:or(a.type);break;case 22:case 23:ga(a),am(),t!==null&&Z(Ln);break;case 24:or(os)}}function ul(t,a){try{var i=a.updateQueue,d=i!==null?i.lastEffect:null;if(d!==null){var h=d.next;i=h;do{if((i.tag&t)===t){d=void 0;var f=i.create,N=i.inst;d=f(),N.destroy=d}i=i.next}while(i!==h)}}catch(A){mt(a,a.return,A)}}function Ir(t,a,i){try{var d=a.updateQueue,h=d!==null?d.lastEffect:null;if(h!==null){var f=h.next;d=f;do{if((d.tag&t)===t){var N=d.inst,A=N.destroy;if(A!==void 0){N.destroy=void 0,h=a;var P=i,Y=A;try{Y()}catch(J){mt(h,P,J)}}}d=d.next}while(d!==f)}}catch(J){mt(a,a.return,J)}}function vv(t){var a=t.updateQueue;if(a!==null){var i=t.stateNode;try{i1(a,i)}catch(d){mt(t,t.return,d)}}}function bv(t,a,i){i.props=Gn(t.type,t.memoizedProps),i.state=t.memoizedState;try{i.componentWillUnmount()}catch(d){mt(t,a,d)}}function pl(t,a){try{var i=t.ref;if(i!==null){switch(t.tag){case 26:case 27:case 5:var d=t.stateNode;break;case 30:d=t.stateNode;break;default:d=t.stateNode}typeof i=="function"?t.refCleanup=i(d):i.current=d}}catch(h){mt(t,a,h)}}function Mo(t,a){var i=t.ref,d=t.refCleanup;if(i!==null)if(typeof d=="function")try{d()}catch(h){mt(t,a,h)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof i=="function")try{i(null)}catch(h){mt(t,a,h)}else i.current=null}function yv(t){var a=t.type,i=t.memoizedProps,d=t.stateNode;try{e:switch(a){case"button":case"input":case"select":case"textarea":i.autoFocus&&d.focus();break e;case"img":i.src?d.src=i.src:i.srcSet&&(d.srcset=i.srcSet)}}catch(h){mt(t,t.return,h)}}function Pm(t,a,i){try{var d=t.stateNode;zw(d,t.type,i,a),d[He]=a}catch(h){mt(t,t.return,h)}}function Nv(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&Kr(t.type)||t.tag===4}function Dm(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||Nv(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&Kr(t.type)||t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Bm(t,a,i){var d=t.tag;if(d===5||d===6)t=t.stateNode,a?(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i).insertBefore(t,a):(a=i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i,a.appendChild(t),i=i._reactRootContainer,i!=null||a.onclick!==null||(a.onclick=Jo));else if(d!==4&&(d===27&&Kr(t.type)&&(i=t.stateNode,a=null),t=t.child,t!==null))for(Bm(t,a,i),t=t.sibling;t!==null;)Bm(t,a,i),t=t.sibling}function pu(t,a,i){var d=t.tag;if(d===5||d===6)t=t.stateNode,a?i.insertBefore(t,a):i.appendChild(t);else if(d!==4&&(d===27&&Kr(t.type)&&(i=t.stateNode),t=t.child,t!==null))for(pu(t,a,i),t=t.sibling;t!==null;)pu(t,a,i),t=t.sibling}function jv(t){var a=t.stateNode,i=t.memoizedProps;try{for(var d=t.type,h=a.attributes;h.length;)a.removeAttributeNode(h[0]);js(a,d,i),a[Le]=t,a[He]=i}catch(f){mt(t,t.return,f)}}var lr=!1,cs=!1,qm=!1,wv=typeof WeakSet=="function"?WeakSet:Set,xs=null;function hw(t,a){if(t=t.containerInfo,rx=Ou,t=P0(t),Rh(t)){if("selectionStart"in t)var i={start:t.selectionStart,end:t.selectionEnd};else e:{i=(i=t.ownerDocument)&&i.defaultView||window;var d=i.getSelection&&i.getSelection();if(d&&d.rangeCount!==0){i=d.anchorNode;var h=d.anchorOffset,f=d.focusNode;d=d.focusOffset;try{i.nodeType,f.nodeType}catch{i=null;break e}var N=0,A=-1,P=-1,Y=0,J=0,se=t,X=null;t:for(;;){for(var W;se!==i||h!==0&&se.nodeType!==3||(A=N+h),se!==f||d!==0&&se.nodeType!==3||(P=N+d),se.nodeType===3&&(N+=se.nodeValue.length),(W=se.firstChild)!==null;)X=se,se=W;for(;;){if(se===t)break t;if(X===i&&++Y===h&&(A=N),X===f&&++J===d&&(P=N),(W=se.nextSibling)!==null)break;se=X,X=se.parentNode}se=W}i=A===-1||P===-1?null:{start:A,end:P}}else i=null}i=i||{start:0,end:0}}else i=null;for(nx={focusedElem:t,selectionRange:i},Ou=!1,xs=a;xs!==null;)if(a=xs,t=a.child,(a.subtreeFlags&1028)!==0&&t!==null)t.return=a,xs=t;else for(;xs!==null;){switch(a=xs,f=a.alternate,t=a.flags,a.tag){case 0:if((t&4)!==0&&(t=a.updateQueue,t=t!==null?t.events:null,t!==null))for(i=0;i title"))),js(f,d,i),f[Le]=t,Ie(f),d=f;break e;case"link":var N=Eb("link","href",h).get(d+(i.href||""));if(N){for(var A=0;Agt&&(N=gt,gt=Te,Te=N);var V=O0(A,Te),q=O0(A,gt);if(V&&q&&(W.rangeCount!==1||W.anchorNode!==V.node||W.anchorOffset!==V.offset||W.focusNode!==q.node||W.focusOffset!==q.offset)){var I=se.createRange();I.setStart(V.node,V.offset),W.removeAllRanges(),Te>gt?(W.addRange(I),W.extend(q.node,q.offset)):(I.setEnd(q.node,q.offset),W.addRange(I))}}}}for(se=[],W=A;W=W.parentNode;)W.nodeType===1&&se.push({element:W,left:W.scrollLeft,top:W.scrollTop});for(typeof A.focus=="function"&&A.focus(),A=0;Ai?32:i,D.T=null,i=Im,Im=null;var f=Wr,N=mr;if(us=0,Yc=Wr=null,mr=0,(dt&6)!==0)throw Error(o(331));var A=dt;if(dt|=4,zv(f.current),Rv(f,f.current,N,i),dt=A,vl(0,!1),zt&&typeof zt.onPostCommitFiberRoot=="function")try{zt.onPostCommitFiberRoot(Co,f)}catch{}return!0}finally{G.p=h,D.T=d,Kv(t,a)}}function eb(t,a,i){a=Ia(i,a),a=Sm(t.stateNode,a,2),t=Fr(t,a,2),t!==null&&(Se(t,2),Oo(t))}function mt(t,a,i){if(t.tag===3)eb(t,t,i);else for(;a!==null;){if(a.tag===3){eb(a,t,i);break}else if(a.tag===1){var d=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof d.componentDidCatch=="function"&&(Xr===null||!Xr.has(d))){t=Ia(i,t),i=tv(2),d=Fr(a,i,2),d!==null&&(sv(i,d,a,t),Se(d,2),Oo(d));break}}a=a.return}}function Wm(t,a,i){var d=t.pingCache;if(d===null){d=t.pingCache=new fw;var h=new Set;d.set(a,h)}else h=d.get(a),h===void 0&&(h=new Set,d.set(a,h));h.has(i)||(Hm=!0,h.add(i),t=Nw.bind(null,t,a,i),a.then(t,t))}function Nw(t,a,i){var d=t.pingCache;d!==null&&d.delete(a),t.pingedLanes|=t.suspendedLanes&i,t.warmLanes&=~i,vt===t&&(Ze&i)===i&&($t===4||$t===3&&(Ze&62914560)===Ze&&300>Qt()-xu?(dt&2)===0&&Xc(t,0):Fm|=i,$c===Ze&&($c=0)),Oo(t)}function tb(t,a){a===0&&(a=Or()),t=zn(t,a),t!==null&&(Se(t,a),Oo(t))}function jw(t){var a=t.memoizedState,i=0;a!==null&&(i=a.retryLane),tb(t,i)}function ww(t,a){var i=0;switch(t.tag){case 31:case 13:var d=t.stateNode,h=t.memoizedState;h!==null&&(i=h.retryLane);break;case 19:d=t.stateNode;break;case 22:d=t.stateNode._retryCache;break;default:throw Error(o(314))}d!==null&&d.delete(a),tb(t,i)}function Sw(t,a){return Pa(t,a)}var ju=null,Qc=null,Qm=!1,wu=!1,Zm=!1,Zr=0;function Oo(t){t!==Qc&&t.next===null&&(Qc===null?ju=Qc=t:Qc=Qc.next=t),wu=!0,Qm||(Qm=!0,_w())}function vl(t,a){if(!Zm&&wu){Zm=!0;do for(var i=!1,d=ju;d!==null;){if(t!==0){var h=d.pendingLanes;if(h===0)var f=0;else{var N=d.suspendedLanes,A=d.pingedLanes;f=(1<<31-as(42|t)+1)-1,f&=h&~(N&~A),f=f&201326741?f&201326741|1:f?f|2:0}f!==0&&(i=!0,rb(d,f))}else f=Ze,f=qa(d,d===vt?f:0,d.cancelPendingCommit!==null||d.timeoutHandle!==-1),(f&3)===0||La(d,f)||(i=!0,rb(d,f));d=d.next}while(i);Zm=!1}}function Cw(){sb()}function sb(){wu=Qm=!1;var t=0;Zr!==0&&Dw()&&(t=Zr);for(var a=Qt(),i=null,d=ju;d!==null;){var h=d.next,f=ab(d,a);f===0?(d.next=null,i===null?ju=h:i.next=h,h===null&&(Qc=i)):(i=d,(t!==0||(f&3)!==0)&&(wu=!0)),d=h}us!==0&&us!==5||vl(t),Zr!==0&&(Zr=0)}function ab(t,a){for(var i=t.suspendedLanes,d=t.pingedLanes,h=t.expirationTimes,f=t.pendingLanes&-62914561;0A)break;var J=P.transferSize,se=P.initiatorType;J&&hb(se)&&(P=P.responseEnd,N+=J*(P"u"?null:document;function Cb(t,a,i){var d=Zc;if(d&&typeof a=="string"&&a){var h=Ua(a);h='link[rel="'+t+'"][href="'+h+'"]',typeof i=="string"&&(h+='[crossorigin="'+i+'"]'),Sb.has(h)||(Sb.add(h),t={rel:t,crossOrigin:i,href:a},d.querySelector(h)===null&&(a=d.createElement("link"),js(a,"link",t),Ie(a),d.head.appendChild(a)))}}function Iw(t){xr.D(t),Cb("dns-prefetch",t,null)}function $w(t,a){xr.C(t,a),Cb("preconnect",t,a)}function Yw(t,a,i){xr.L(t,a,i);var d=Zc;if(d&&t&&a){var h='link[rel="preload"][as="'+Ua(a)+'"]';a==="image"&&i&&i.imageSrcSet?(h+='[imagesrcset="'+Ua(i.imageSrcSet)+'"]',typeof i.imageSizes=="string"&&(h+='[imagesizes="'+Ua(i.imageSizes)+'"]')):h+='[href="'+Ua(t)+'"]';var f=h;switch(a){case"style":f=Kc(t);break;case"script":f=Jc(t)}Za.has(f)||(t=b({rel:"preload",href:a==="image"&&i&&i.imageSrcSet?void 0:t,as:a},i),Za.set(f,t),d.querySelector(h)!==null||a==="style"&&d.querySelector(jl(f))||a==="script"&&d.querySelector(wl(f))||(a=d.createElement("link"),js(a,"link",t),Ie(a),d.head.appendChild(a)))}}function Xw(t,a){xr.m(t,a);var i=Zc;if(i&&t){var d=a&&typeof a.as=="string"?a.as:"script",h='link[rel="modulepreload"][as="'+Ua(d)+'"][href="'+Ua(t)+'"]',f=h;switch(d){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":f=Jc(t)}if(!Za.has(f)&&(t=b({rel:"modulepreload",href:t},a),Za.set(f,t),i.querySelector(h)===null)){switch(d){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(i.querySelector(wl(f)))return}d=i.createElement("link"),js(d,"link",t),Ie(d),i.head.appendChild(d)}}}function Ww(t,a,i){xr.S(t,a,i);var d=Zc;if(d&&t){var h=Bt(d).hoistableStyles,f=Kc(t);a=a||"default";var N=h.get(f);if(!N){var A={loading:0,preload:null};if(N=d.querySelector(jl(f)))A.loading=5;else{t=b({rel:"stylesheet",href:t,"data-precedence":a},i),(i=Za.get(f))&&hx(t,i);var P=N=d.createElement("link");Ie(P),js(P,"link",t),P._p=new Promise(function(Y,J){P.onload=Y,P.onerror=J}),P.addEventListener("load",function(){A.loading|=1}),P.addEventListener("error",function(){A.loading|=2}),A.loading|=4,Tu(N,a,d)}N={type:"stylesheet",instance:N,count:1,state:A},h.set(f,N)}}}function Qw(t,a){xr.X(t,a);var i=Zc;if(i&&t){var d=Bt(i).hoistableScripts,h=Jc(t),f=d.get(h);f||(f=i.querySelector(wl(h)),f||(t=b({src:t,async:!0},a),(a=Za.get(h))&&mx(t,a),f=i.createElement("script"),Ie(f),js(f,"link",t),i.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},d.set(h,f))}}function Zw(t,a){xr.M(t,a);var i=Zc;if(i&&t){var d=Bt(i).hoistableScripts,h=Jc(t),f=d.get(h);f||(f=i.querySelector(wl(h)),f||(t=b({src:t,async:!0,type:"module"},a),(a=Za.get(h))&&mx(t,a),f=i.createElement("script"),Ie(f),js(f,"link",t),i.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},d.set(h,f))}}function _b(t,a,i,d){var h=(h=me.current)?Au(h):null;if(!h)throw Error(o(446));switch(t){case"meta":case"title":return null;case"style":return typeof i.precedence=="string"&&typeof i.href=="string"?(a=Kc(i.href),i=Bt(h).hoistableStyles,d=i.get(a),d||(d={type:"style",instance:null,count:0,state:null},i.set(a,d)),d):{type:"void",instance:null,count:0,state:null};case"link":if(i.rel==="stylesheet"&&typeof i.href=="string"&&typeof i.precedence=="string"){t=Kc(i.href);var f=Bt(h).hoistableStyles,N=f.get(t);if(N||(h=h.ownerDocument||h,N={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},f.set(t,N),(f=h.querySelector(jl(t)))&&!f._p&&(N.instance=f,N.state.loading=5),Za.has(t)||(i={rel:"preload",as:"style",href:i.href,crossOrigin:i.crossOrigin,integrity:i.integrity,media:i.media,hrefLang:i.hrefLang,referrerPolicy:i.referrerPolicy},Za.set(t,i),f||Kw(h,t,i,N.state))),a&&d===null)throw Error(o(528,""));return N}if(a&&d!==null)throw Error(o(529,""));return null;case"script":return a=i.async,i=i.src,typeof i=="string"&&a&&typeof a!="function"&&typeof a!="symbol"?(a=Jc(i),i=Bt(h).hoistableScripts,d=i.get(a),d||(d={type:"script",instance:null,count:0,state:null},i.set(a,d)),d):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,t))}}function Kc(t){return'href="'+Ua(t)+'"'}function jl(t){return'link[rel="stylesheet"]['+t+"]"}function Ab(t){return b({},t,{"data-precedence":t.precedence,precedence:null})}function Kw(t,a,i,d){t.querySelector('link[rel="preload"][as="style"]['+a+"]")?d.loading=1:(a=t.createElement("link"),d.preload=a,a.addEventListener("load",function(){return d.loading|=1}),a.addEventListener("error",function(){return d.loading|=2}),js(a,"link",i),Ie(a),t.head.appendChild(a))}function Jc(t){return'[src="'+Ua(t)+'"]'}function wl(t){return"script[async]"+t}function Tb(t,a,i){if(a.count++,a.instance===null)switch(a.type){case"style":var d=t.querySelector('style[data-href~="'+Ua(i.href)+'"]');if(d)return a.instance=d,Ie(d),d;var h=b({},i,{"data-href":i.href,"data-precedence":i.precedence,href:null,precedence:null});return d=(t.ownerDocument||t).createElement("style"),Ie(d),js(d,"style",h),Tu(d,i.precedence,t),a.instance=d;case"stylesheet":h=Kc(i.href);var f=t.querySelector(jl(h));if(f)return a.state.loading|=4,a.instance=f,Ie(f),f;d=Ab(i),(h=Za.get(h))&&hx(d,h),f=(t.ownerDocument||t).createElement("link"),Ie(f);var N=f;return N._p=new Promise(function(A,P){N.onload=A,N.onerror=P}),js(f,"link",d),a.state.loading|=4,Tu(f,i.precedence,t),a.instance=f;case"script":return f=Jc(i.src),(h=t.querySelector(wl(f)))?(a.instance=h,Ie(h),h):(d=i,(h=Za.get(f))&&(d=b({},i),mx(d,h)),t=t.ownerDocument||t,h=t.createElement("script"),Ie(h),js(h,"link",d),t.head.appendChild(h),a.instance=h);case"void":return null;default:throw Error(o(443,a.type))}else a.type==="stylesheet"&&(a.state.loading&4)===0&&(d=a.instance,a.state.loading|=4,Tu(d,i.precedence,t));return a.instance}function Tu(t,a,i){for(var d=i.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),h=d.length?d[d.length-1]:null,f=h,N=0;N title"):null)}function Jw(t,a,i){if(i===1||a.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof a.precedence!="string"||typeof a.href!="string"||a.href==="")break;return!0;case"link":if(typeof a.rel!="string"||typeof a.href!="string"||a.href===""||a.onLoad||a.onError)break;return a.rel==="stylesheet"?(t=a.disabled,typeof a.precedence=="string"&&t==null):!0;case"script":if(a.async&&typeof a.async!="function"&&typeof a.async!="symbol"&&!a.onLoad&&!a.onError&&a.src&&typeof a.src=="string")return!0}return!1}function Rb(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function eS(t,a,i,d){if(i.type==="stylesheet"&&(typeof d.media!="string"||matchMedia(d.media).matches!==!1)&&(i.state.loading&4)===0){if(i.instance===null){var h=Kc(d.href),f=a.querySelector(jl(h));if(f){a=f._p,a!==null&&typeof a=="object"&&typeof a.then=="function"&&(t.count++,t=ku.bind(t),a.then(t,t)),i.state.loading|=4,i.instance=f,Ie(f);return}f=a.ownerDocument||a,d=Ab(d),(h=Za.get(h))&&hx(d,h),f=f.createElement("link"),Ie(f);var N=f;N._p=new Promise(function(A,P){N.onload=A,N.onerror=P}),js(f,"link",d),i.instance=f}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(i,a),(a=i.state.preload)&&(i.state.loading&3)===0&&(t.count++,i=ku.bind(t),a.addEventListener("load",i),a.addEventListener("error",i))}}var xx=0;function tS(t,a){return t.stylesheets&&t.count===0&&Mu(t,t.stylesheets),0xx?50:800)+a);return t.unsuspend=i,function(){t.unsuspend=null,clearTimeout(d),clearTimeout(h)}}:null}function ku(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Mu(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Ru=null;function Mu(t,a){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Ru=new Map,a.forEach(sS,t),Ru=null,ku.call(t))}function sS(t,a){if(!(a.state.loading&4)){var i=Ru.get(t);if(i)var d=i.get(null);else{i=new Map,Ru.set(t,i);for(var h=t.querySelectorAll("link[data-precedence],style[data-precedence]"),f=0;f"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(s){console.error(s)}}return n(),Sx.exports=vS(),Sx.exports}var yS=bS();var t2="popstate";function s2(n){return typeof n=="object"&&n!=null&&"pathname"in n&&"search"in n&&"hash"in n&&"state"in n&&"key"in n}function NS(n={}){function s(o,c){let l=c.state?.masked,{pathname:u,search:p,hash:m}=l||o.location;return cf("",{pathname:u,search:p,hash:m},c.state&&c.state.usr||null,c.state&&c.state.key||"default",l?{pathname:o.location.pathname,search:o.location.search,hash:o.location.hash}:void 0)}function r(o,c){return typeof c=="string"?c:sd(c)}return wS(s,r,null,n)}function Ht(n,s){if(n===!1||n===null||typeof n>"u")throw new Error(s)}function $o(n,s){if(!n){typeof console<"u"&&console.warn(s);try{throw new Error(s)}catch{}}}function jS(){return Math.random().toString(36).substring(2,10)}function a2(n,s){return{usr:n.state,key:n.key,idx:s,masked:n.unstable_mask?{pathname:n.pathname,search:n.search,hash:n.hash}:void 0}}function cf(n,s,r=null,o,c){return{pathname:typeof n=="string"?n:n.pathname,search:"",hash:"",...typeof s=="string"?Ri(s):s,state:r,key:s&&s.key||o||jS(),unstable_mask:c}}function sd({pathname:n="/",search:s="",hash:r=""}){return s&&s!=="?"&&(n+=s.charAt(0)==="?"?s:"?"+s),r&&r!=="#"&&(n+=r.charAt(0)==="#"?r:"#"+r),n}function Ri(n){let s={};if(n){let r=n.indexOf("#");r>=0&&(s.hash=n.substring(r),n=n.substring(0,r));let o=n.indexOf("?");o>=0&&(s.search=n.substring(o),n=n.substring(0,o)),n&&(s.pathname=n)}return s}function wS(n,s,r,o={}){let{window:c=document.defaultView,v5Compat:l=!1}=o,u=c.history,p="POP",m=null,x=g();x==null&&(x=0,u.replaceState({...u.state,idx:x},""));function g(){return(u.state||{idx:null}).idx}function b(){p="POP";let C=g(),T=C==null?null:C-x;x=C,m&&m({action:p,location:j.location,delta:T})}function w(C,T){p="PUSH";let E=s2(C)?C:cf(j.location,C,T);x=g()+1;let k=a2(E,x),R=j.createHref(E.unstable_mask||E);try{u.pushState(k,"",R)}catch(O){if(O instanceof DOMException&&O.name==="DataCloneError")throw O;c.location.assign(R)}l&&m&&m({action:p,location:j.location,delta:1})}function y(C,T){p="REPLACE";let E=s2(C)?C:cf(j.location,C,T);x=g();let k=a2(E,x),R=j.createHref(E.unstable_mask||E);u.replaceState(k,"",R),l&&m&&m({action:p,location:j.location,delta:0})}function S(C){return SS(C)}let j={get action(){return p},get location(){return n(c,u)},listen(C){if(m)throw new Error("A history only accepts one active listener");return c.addEventListener(t2,b),m=C,()=>{c.removeEventListener(t2,b),m=null}},createHref(C){return s(c,C)},createURL:S,encodeLocation(C){let T=S(C);return{pathname:T.pathname,search:T.search,hash:T.hash}},push:w,replace:y,go(C){return u.go(C)}};return j}function SS(n,s=!1){let r="http://localhost";typeof window<"u"&&(r=window.location.origin!=="null"?window.location.origin:window.location.href),Ht(r,"No window.location.(origin|href) available to create URL");let o=typeof n=="string"?n:sd(n);return o=o.replace(/ $/,"%20"),!s&&o.startsWith("//")&&(o=r+o),new URL(o,r)}function Vy(n,s,r="/"){return CS(n,s,r,!1)}function CS(n,s,r,o){let c=typeof s=="string"?Ri(s):s,l=Sr(c.pathname||"/",r);if(l==null)return null;let u=Hy(n);_S(u);let p=null;for(let m=0;p==null&&m{let g={relativePath:x===void 0?u.path||"":x,caseSensitive:u.caseSensitive===!0,childrenIndex:p,route:u};if(g.relativePath.startsWith("/")){if(!g.relativePath.startsWith(o)&&m)return;Ht(g.relativePath.startsWith(o),`Absolute route path "${g.relativePath}" nested under path "${o}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),g.relativePath=g.relativePath.slice(o.length)}let b=Uo([o,g.relativePath]),w=r.concat(g);u.children&&u.children.length>0&&(Ht(u.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${b}".`),Hy(u.children,s,w,b,m)),!(u.path==null&&!u.index)&&s.push({path:b,score:OS(b,u.index),routesMeta:w})};return n.forEach((u,p)=>{if(u.path===""||!u.path?.includes("?"))l(u,p);else for(let m of Fy(u.path))l(u,p,!0,m)}),s}function Fy(n){let s=n.split("/");if(s.length===0)return[];let[r,...o]=s,c=r.endsWith("?"),l=r.replace(/\?$/,"");if(o.length===0)return c?[l,""]:[l];let u=Fy(o.join("/")),p=[];return p.push(...u.map(m=>m===""?l:[l,m].join("/"))),c&&p.push(...u),p.map(m=>n.startsWith("/")&&m===""?"/":m)}function _S(n){n.sort((s,r)=>s.score!==r.score?r.score-s.score:zS(s.routesMeta.map(o=>o.childrenIndex),r.routesMeta.map(o=>o.childrenIndex)))}var AS=/^:[\w-]+$/,TS=3,ES=2,kS=1,RS=10,MS=-2,o2=n=>n==="*";function OS(n,s){let r=n.split("/"),o=r.length;return r.some(o2)&&(o+=MS),s&&(o+=ES),r.filter(c=>!o2(c)).reduce((c,l)=>c+(AS.test(l)?TS:l===""?kS:RS),o)}function zS(n,s){return n.length===s.length&&n.slice(0,-1).every((o,c)=>o===s[c])?n[n.length-1]-s[s.length-1]:0}function PS(n,s,r=!1){let{routesMeta:o}=n,c={},l="/",u=[];for(let p=0;p{if(g==="*"){let S=p[w]||"";u=l.slice(0,l.length-S.length).replace(/(.)\/+$/,"$1")}const y=p[w];return b&&!y?x[g]=void 0:x[g]=(y||"").replace(/%2F/g,"/"),x},{}),pathname:l,pathnameBase:u,pattern:n}}function DS(n,s=!1,r=!0){$o(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=[],c="^"+n.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(u,p,m,x,g)=>{if(o.push({paramName:p,isOptional:m!=null}),m){let b=g.charAt(x+u.length);return b&&b!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return n.endsWith("*")?(o.push({paramName:"*"}),c+=n==="*"||n==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?c+="\\/*$":n!==""&&n!=="/"&&(c+="(?:(?=\\/|$))"),[new RegExp(c,s?void 0:"i"),o]}function BS(n){try{return n.split("/").map(s=>decodeURIComponent(s).replace(/\//g,"%2F")).join("/")}catch(s){return $o(!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 Sr(n,s){if(s==="/")return n;if(!n.toLowerCase().startsWith(s.toLowerCase()))return null;let r=s.endsWith("/")?s.length-1:s.length,o=n.charAt(r);return o&&o!=="/"?null:n.slice(r)||"/"}var qS=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function LS(n,s="/"){let{pathname:r,search:o="",hash:c=""}=typeof n=="string"?Ri(n):n,l;return r?(r=r.replace(/\/\/+/g,"/"),r.startsWith("/")?l=r2(r.substring(1),"/"):l=r2(r,s)):l=s,{pathname:l,search:FS(o),hash:US(c)}}function r2(n,s){let r=s.replace(/\/+$/,"").split("/");return n.split("/").forEach(c=>{c===".."?r.length>1&&r.pop():c!=="."&&r.push(c)}),r.length>1?r.join("/"):"/"}function Tx(n,s,r,o){return`Cannot include a '${n}' character in a manually specified \`to.${s}\` 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 VS(n){return n.filter((s,r)=>r===0||s.route.path&&s.route.path.length>0)}function Uy(n){let s=VS(n);return s.map((r,o)=>o===s.length-1?r.pathname:r.pathnameBase)}function eg(n,s,r,o=!1){let c;typeof n=="string"?c=Ri(n):(c={...n},Ht(!c.pathname||!c.pathname.includes("?"),Tx("?","pathname","search",c)),Ht(!c.pathname||!c.pathname.includes("#"),Tx("#","pathname","hash",c)),Ht(!c.search||!c.search.includes("#"),Tx("#","search","hash",c)));let l=n===""||c.pathname==="",u=l?"/":c.pathname,p;if(u==null)p=r;else{let b=s.length-1;if(!o&&u.startsWith("..")){let w=u.split("/");for(;w[0]==="..";)w.shift(),b-=1;c.pathname=w.join("/")}p=b>=0?s[b]:"/"}let m=LS(c,p),x=u&&u!=="/"&&u.endsWith("/"),g=(l||u===".")&&r.endsWith("/");return!m.pathname.endsWith("/")&&(x||g)&&(m.pathname+="/"),m}var Uo=n=>n.join("/").replace(/\/\/+/g,"/"),HS=n=>n.replace(/\/+$/,"").replace(/^\/*/,"/"),FS=n=>!n||n==="?"?"":n.startsWith("?")?n:"?"+n,US=n=>!n||n==="#"?"":n.startsWith("#")?n:"#"+n,GS=class{constructor(n,s,r,o=!1){this.status=n,this.statusText=s||"",this.internal=o,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}};function IS(n){return n!=null&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.internal=="boolean"&&"data"in n}function $S(n){return n.map(s=>s.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var Gy=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Iy(n,s){let r=n;if(typeof r!="string"||!qS.test(r))return{absoluteURL:void 0,isExternal:!1,to:r};let o=r,c=!1;if(Gy)try{let l=new URL(window.location.href),u=r.startsWith("//")?new URL(l.protocol+r):new URL(r),p=Sr(u.pathname,s);u.origin===l.origin&&p!=null?r=p+u.search+u.hash:c=!0}catch{$o(!1,` contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:o,isExternal:c,to:r}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var $y=["POST","PUT","PATCH","DELETE"];new Set($y);var YS=["GET",...$y];new Set(YS);var Mi=v.createContext(null);Mi.displayName="DataRouter";var Qp=v.createContext(null);Qp.displayName="DataRouterState";var Yy=v.createContext(!1);function XS(){return v.useContext(Yy)}var Xy=v.createContext({isTransitioning:!1});Xy.displayName="ViewTransition";var WS=v.createContext(new Map);WS.displayName="Fetchers";var QS=v.createContext(null);QS.displayName="Await";var lo=v.createContext(null);lo.displayName="Navigation";var fd=v.createContext(null);fd.displayName="Location";var Wo=v.createContext({outlet:null,matches:[],isDataRoute:!1});Wo.displayName="Route";var tg=v.createContext(null);tg.displayName="RouteError";var Wy="REACT_ROUTER_ERROR",ZS="REDIRECT",KS="ROUTE_ERROR_RESPONSE";function JS(n){if(n.startsWith(`${Wy}:${ZS}:{`))try{let s=JSON.parse(n.slice(28));if(typeof s=="object"&&s&&typeof s.status=="number"&&typeof s.statusText=="string"&&typeof s.location=="string"&&typeof s.reloadDocument=="boolean"&&typeof s.replace=="boolean")return s}catch{}}function eC(n){if(n.startsWith(`${Wy}:${KS}:{`))try{let s=JSON.parse(n.slice(40));if(typeof s=="object"&&s&&typeof s.status=="number"&&typeof s.statusText=="string")return new GS(s.status,s.statusText,s.data)}catch{}}function tC(n,{relative:s}={}){Ht(gd(),"useHref() may be used only in the context of a component.");let{basename:r,navigator:o}=v.useContext(lo),{hash:c,pathname:l,search:u}=vd(n,{relative:s}),p=l;return r!=="/"&&(p=l==="/"?r:Uo([r,l])),o.createHref({pathname:p,search:u,hash:c})}function gd(){return v.useContext(fd)!=null}function jo(){return Ht(gd(),"useLocation() may be used only in the context of a component."),v.useContext(fd).location}var Qy="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Zy(n){v.useContext(lo).static||v.useLayoutEffect(n)}function sC(){let{isDataRoute:n}=v.useContext(Wo);return n?fC():aC()}function aC(){Ht(gd(),"useNavigate() may be used only in the context of a component.");let n=v.useContext(Mi),{basename:s,navigator:r}=v.useContext(lo),{matches:o}=v.useContext(Wo),{pathname:c}=jo(),l=JSON.stringify(Uy(o)),u=v.useRef(!1);return Zy(()=>{u.current=!0}),v.useCallback((m,x={})=>{if($o(u.current,Qy),!u.current)return;if(typeof m=="number"){r.go(m);return}let g=eg(m,JSON.parse(l),c,x.relative==="path");n==null&&s!=="/"&&(g.pathname=g.pathname==="/"?s:Uo([s,g.pathname])),(x.replace?r.replace:r.push)(g,x.state,x)},[s,r,l,c,n])}v.createContext(null);function oC(){let{matches:n}=v.useContext(Wo),s=n[n.length-1];return s?s.params:{}}function vd(n,{relative:s}={}){let{matches:r}=v.useContext(Wo),{pathname:o}=jo(),c=JSON.stringify(Uy(r));return v.useMemo(()=>eg(n,JSON.parse(c),o,s==="path"),[n,c,o,s])}function rC(n,s){return Ky(n,s)}function Ky(n,s,r){Ht(gd(),"useRoutes() may be used only in the context of a component.");let{navigator:o}=v.useContext(lo),{matches:c}=v.useContext(Wo),l=c[c.length-1],u=l?l.params:{},p=l?l.pathname:"/",m=l?l.pathnameBase:"/",x=l&&l.route;{let C=x&&x.path||"";e4(p,!x||C.endsWith("*")||C.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${p}" (under ) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. - -Please change the parent to .`)}let g=jo(),b;if(s){let C=typeof s=="string"?Ri(s):s;Ht(m==="/"||C.pathname?.startsWith(m),`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 "${m}" but pathname "${C.pathname}" was given in the \`location\` prop.`),b=C}else b=g;let w=b.pathname||"/",y=w;if(m!=="/"){let C=m.replace(/^\//,"").split("/");y="/"+w.replace(/^\//,"").split("/").slice(C.length).join("/")}let S=Vy(n,{pathname:y});$o(x||S!=null,`No routes matched location "${b.pathname}${b.search}${b.hash}" `),$o(S==null||S[S.length-1].route.element!==void 0||S[S.length-1].route.Component!==void 0||S[S.length-1].route.lazy!==void 0,`Matched leaf route at location "${b.pathname}${b.search}${b.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=dC(S&&S.map(C=>Object.assign({},C,{params:Object.assign({},u,C.params),pathname:Uo([m,o.encodeLocation?o.encodeLocation(C.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:C.pathname]),pathnameBase:C.pathnameBase==="/"?m:Uo([m,o.encodeLocation?o.encodeLocation(C.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:C.pathnameBase])})),c,r);return s&&j?v.createElement(fd.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",unstable_mask:void 0,...b},navigationType:"POP"}},j):j}function nC(){let n=xC(),s=IS(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)",c={padding:"0.5rem",backgroundColor:o},l={padding:"2px 4px",backgroundColor:o},u=null;return console.error("Error handled by React Router default ErrorBoundary:",n),u=v.createElement(v.Fragment,null,v.createElement("p",null,"💿 Hey developer 👋"),v.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",v.createElement("code",{style:l},"ErrorBoundary")," or"," ",v.createElement("code",{style:l},"errorElement")," prop on your route.")),v.createElement(v.Fragment,null,v.createElement("h2",null,"Unexpected Application Error!"),v.createElement("h3",{style:{fontStyle:"italic"}},s),r?v.createElement("pre",{style:c},r):null,u)}var cC=v.createElement(nC,null),Jy=class extends v.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(){let n=this.state.error;if(this.context&&typeof n=="object"&&n&&"digest"in n&&typeof n.digest=="string"){const r=eC(n.digest);r&&(n=r)}let s=n!==void 0?v.createElement(Wo.Provider,{value:this.props.routeContext},v.createElement(tg.Provider,{value:n,children:this.props.component})):this.props.children;return this.context?v.createElement(iC,{error:n},s):s}};Jy.contextType=Yy;var Ex=new WeakMap;function iC({children:n,error:s}){let{basename:r}=v.useContext(lo);if(typeof s=="object"&&s&&"digest"in s&&typeof s.digest=="string"){let o=JS(s.digest);if(o){let c=Ex.get(s);if(c)throw c;let l=Iy(o.location,r);if(Gy&&!Ex.get(s))if(l.isExternal||o.reloadDocument)window.location.href=l.absoluteURL||l.to;else{const u=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(l.to,{replace:o.replace}));throw Ex.set(s,u),u}return v.createElement("meta",{httpEquiv:"refresh",content:`0;url=${l.absoluteURL||l.to}`})}}return n}function lC({routeContext:n,match:s,children:r}){let o=v.useContext(Mi);return o&&o.static&&o.staticContext&&(s.route.errorElement||s.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=s.route.id),v.createElement(Wo.Provider,{value:n},r)}function dC(n,s=[],r){let o=r?.state;if(n==null){if(!o)return null;if(o.errors)n=o.matches;else if(s.length===0&&!o.initialized&&o.matches.length>0)n=o.matches;else return null}let c=n,l=o?.errors;if(l!=null){let g=c.findIndex(b=>b.route.id&&l?.[b.route.id]!==void 0);Ht(g>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(l).join(",")}`),c=c.slice(0,Math.min(c.length,g+1))}let u=!1,p=-1;if(r&&o){u=o.renderFallback;for(let g=0;g=0?c=c.slice(0,p+1):c=[c[0]];break}}}}let m=r?.onError,x=o&&m?(g,b)=>{m(g,{location:o.location,params:o.matches?.[0]?.params??{},unstable_pattern:$S(o.matches),errorInfo:b})}:void 0;return c.reduceRight((g,b,w)=>{let y,S=!1,j=null,C=null;o&&(y=l&&b.route.id?l[b.route.id]:void 0,j=b.route.errorElement||cC,u&&(p<0&&w===0?(e4("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),S=!0,C=null):p===w&&(S=!0,C=b.route.hydrateFallbackElement||null)));let T=s.concat(c.slice(0,w+1)),E=()=>{let k;return y?k=j:S?k=C:b.route.Component?k=v.createElement(b.route.Component,null):b.route.element?k=b.route.element:k=g,v.createElement(lC,{match:b,routeContext:{outlet:g,matches:T,isDataRoute:o!=null},children:k})};return o&&(b.route.ErrorBoundary||b.route.errorElement||w===0)?v.createElement(Jy,{location:o.location,revalidation:o.revalidation,component:j,error:y,children:E(),routeContext:{outlet:null,matches:T,isDataRoute:!0},onError:x}):E()},null)}function sg(n){return`${n} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function uC(n){let s=v.useContext(Mi);return Ht(s,sg(n)),s}function pC(n){let s=v.useContext(Qp);return Ht(s,sg(n)),s}function hC(n){let s=v.useContext(Wo);return Ht(s,sg(n)),s}function ag(n){let s=hC(n),r=s.matches[s.matches.length-1];return Ht(r.route.id,`${n} can only be used on routes that contain a unique "id"`),r.route.id}function mC(){return ag("useRouteId")}function xC(){let n=v.useContext(tg),s=pC("useRouteError"),r=ag("useRouteError");return n!==void 0?n:s.errors?.[r]}function fC(){let{router:n}=uC("useNavigate"),s=ag("useNavigate"),r=v.useRef(!1);return Zy(()=>{r.current=!0}),v.useCallback(async(c,l={})=>{$o(r.current,Qy),r.current&&(typeof c=="number"?await n.navigate(c):await n.navigate(c,{fromRouteId:s,...l}))},[n,s])}var n2={};function e4(n,s,r){!s&&!n2[n]&&(n2[n]=!0,$o(!1,r))}v.memo(gC);function gC({routes:n,future:s,state:r,isStatic:o,onError:c}){return Ky(n,void 0,{state:r,isStatic:o,onError:c})}function Je(n){Ht(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function vC({basename:n="/",children:s=null,location:r,navigationType:o="POP",navigator:c,static:l=!1,unstable_useTransitions:u}){Ht(!gd(),"You cannot render a inside another . You should never have more than one in your app.");let p=n.replace(/^\/*/,"/"),m=v.useMemo(()=>({basename:p,navigator:c,static:l,unstable_useTransitions:u,future:{}}),[p,c,l,u]);typeof r=="string"&&(r=Ri(r));let{pathname:x="/",search:g="",hash:b="",state:w=null,key:y="default",unstable_mask:S}=r,j=v.useMemo(()=>{let C=Sr(x,p);return C==null?null:{location:{pathname:C,search:g,hash:b,state:w,key:y,unstable_mask:S},navigationType:o}},[p,x,g,b,w,y,o,S]);return $o(j!=null,` is not able to match the URL "${x}${g}${b}" because it does not start with the basename, so the won't render anything.`),j==null?null:v.createElement(lo.Provider,{value:m},v.createElement(fd.Provider,{children:s,value:j}))}function bC({children:n,location:s}){return rC(lf(n),s)}function lf(n,s=[]){let r=[];return v.Children.forEach(n,(o,c)=>{if(!v.isValidElement(o))return;let l=[...s,c];if(o.type===v.Fragment){r.push.apply(r,lf(o.props.children,l));return}Ht(o.type===Je,`[${typeof o.type=="string"?o.type:o.type.name}] is not a component. All component children of must be a or `),Ht(!o.props.index||!o.props.children,"An index route cannot have child routes.");let u={id:o.props.id||l.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&&(u.children=lf(o.props.children,l)),r.push(u)}),r}var hp="get",mp="application/x-www-form-urlencoded";function Zp(n){return typeof HTMLElement<"u"&&n instanceof HTMLElement}function yC(n){return Zp(n)&&n.tagName.toLowerCase()==="button"}function NC(n){return Zp(n)&&n.tagName.toLowerCase()==="form"}function jC(n){return Zp(n)&&n.tagName.toLowerCase()==="input"}function wC(n){return!!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)}function SC(n,s){return n.button===0&&(!s||s==="_self")&&!wC(n)}var Vu=null;function CC(){if(Vu===null)try{new FormData(document.createElement("form"),0),Vu=!1}catch{Vu=!0}return Vu}var _C=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function kx(n){return n!=null&&!_C.has(n)?($o(!1,`"${n}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${mp}"`),null):n}function AC(n,s){let r,o,c,l,u;if(NC(n)){let p=n.getAttribute("action");o=p?Sr(p,s):null,r=n.getAttribute("method")||hp,c=kx(n.getAttribute("enctype"))||mp,l=new FormData(n)}else if(yC(n)||jC(n)&&(n.type==="submit"||n.type==="image")){let p=n.form;if(p==null)throw new Error('Cannot submit a