const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/SwaggerPage-DG8um2xi.js","assets/SwaggerPage-DyOXnmua.css"])))=>i.map(i=>d[i]); function Z2(e,a){for(var r=0;ro[s]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))o(s);new MutationObserver(s=>{for(const c of s)if(c.type==="childList")for(const u of c.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&o(u)}).observe(document,{childList:!0,subtree:!0});function r(s){const c={};return s.integrity&&(c.integrity=s.integrity),s.referrerPolicy&&(c.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?c.credentials="include":s.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function o(s){if(s.ep)return;s.ep=!0;const c=r(s);fetch(s.href,c)}})();var B8=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Wx(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Rh={exports:{}},Is={};var c0;function K2(){if(c0)return Is;c0=1;var e=Symbol.for("react.transitional.element"),a=Symbol.for("react.fragment");function r(o,s,c){var u=null;if(c!==void 0&&(u=""+c),s.key!==void 0&&(u=""+s.key),"key"in s){c={};for(var f in s)f!=="key"&&(c[f]=s[f])}else c=s;return s=c.ref,{$$typeof:e,type:o,key:u,ref:s!==void 0?s:null,props:c}}return Is.Fragment=a,Is.jsx=r,Is.jsxs=r,Is}var u0;function W2(){return u0||(u0=1,Rh.exports=K2()),Rh.exports}var d=W2(),jh={exports:{}},Ue={};var d0;function J2(){if(d0)return Ue;d0=1;var e=Symbol.for("react.transitional.element"),a=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),u=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),y=Symbol.for("react.activity"),x=Symbol.iterator;function S(M){return M===null||typeof M!="object"?null:(M=x&&M[x]||M["@@iterator"],typeof M=="function"?M:null)}var w={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},T=Object.assign,C={};function _(M,B,ee){this.props=M,this.context=B,this.refs=C,this.updater=ee||w}_.prototype.isReactComponent={},_.prototype.setState=function(M,B){if(typeof M!="object"&&typeof M!="function"&&M!=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,M,B,"setState")},_.prototype.forceUpdate=function(M){this.updater.enqueueForceUpdate(this,M,"forceUpdate")};function R(){}R.prototype=_.prototype;function N(M,B,ee){this.props=M,this.context=B,this.refs=C,this.updater=ee||w}var O=N.prototype=new R;O.constructor=N,T(O,_.prototype),O.isPureReactComponent=!0;var L=Array.isArray;function U(){}var k={H:null,A:null,T:null,S:null},H=Object.prototype.hasOwnProperty;function Q(M,B,ee){var ce=ee.ref;return{$$typeof:e,type:M,key:B,ref:ce!==void 0?ce:null,props:ee}}function W(M,B){return Q(M.type,B,M.props)}function le(M){return typeof M=="object"&&M!==null&&M.$$typeof===e}function ae(M){var B={"=":"=0",":":"=2"};return"$"+M.replace(/[=:]/g,function(ee){return B[ee]})}var Y=/\/+/g;function q(M,B){return typeof M=="object"&&M!==null&&M.key!=null?ae(""+M.key):B.toString(36)}function I(M){switch(M.status){case"fulfilled":return M.value;case"rejected":throw M.reason;default:switch(typeof M.status=="string"?M.then(U,U):(M.status="pending",M.then(function(B){M.status==="pending"&&(M.status="fulfilled",M.value=B)},function(B){M.status==="pending"&&(M.status="rejected",M.reason=B)})),M.status){case"fulfilled":return M.value;case"rejected":throw M.reason}}throw M}function j(M,B,ee,ce,he){var ye=typeof M;(ye==="undefined"||ye==="boolean")&&(M=null);var ge=!1;if(M===null)ge=!0;else switch(ye){case"bigint":case"string":case"number":ge=!0;break;case"object":switch(M.$$typeof){case e:case a:ge=!0;break;case v:return ge=M._init,j(ge(M._payload),B,ee,ce,he)}}if(ge)return he=he(M),ge=ce===""?"."+q(M,0):ce,L(he)?(ee="",ge!=null&&(ee=ge.replace(Y,"$&/")+"/"),j(he,B,ee,"",function(Xe){return Xe})):he!=null&&(le(he)&&(he=W(he,ee+(he.key==null||M&&M.key===he.key?"":(""+he.key).replace(Y,"$&/")+"/")+ge)),B.push(he)),1;ge=0;var Oe=ce===""?".":ce+":";if(L(M))for(var _e=0;_e>>1,J=j[G];if(0>>1;Gs(ee,z))ces(he,ee)?(j[G]=he,j[ce]=z,G=ce):(j[G]=ee,j[B]=z,G=B);else if(ces(he,z))j[G]=he,j[ce]=z,G=ce;else break e}}return D}function s(j,D){var z=j.sortIndex-D.sortIndex;return z!==0?z:j.id-D.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var c=performance;e.unstable_now=function(){return c.now()}}else{var u=Date,f=u.now();e.unstable_now=function(){return u.now()-f}}var m=[],p=[],v=1,y=null,x=3,S=!1,w=!1,T=!1,C=!1,_=typeof setTimeout=="function"?setTimeout:null,R=typeof clearTimeout=="function"?clearTimeout:null,N=typeof setImmediate<"u"?setImmediate:null;function O(j){for(var D=r(p);D!==null;){if(D.callback===null)o(p);else if(D.startTime<=j)o(p),D.sortIndex=D.expirationTime,a(m,D);else break;D=r(p)}}function L(j){if(T=!1,O(j),!w)if(r(m)!==null)w=!0,U||(U=!0,ae());else{var D=r(p);D!==null&&I(L,D.startTime-j)}}var U=!1,k=-1,H=5,Q=-1;function W(){return C?!0:!(e.unstable_now()-Qj&&W());){var G=y.callback;if(typeof G=="function"){y.callback=null,x=y.priorityLevel;var J=G(y.expirationTime<=j);if(j=e.unstable_now(),typeof J=="function"){y.callback=J,O(j),D=!0;break t}y===r(m)&&o(m),O(j)}else o(m);y=r(m)}if(y!==null)D=!0;else{var M=r(p);M!==null&&I(L,M.startTime-j),D=!1}}break e}finally{y=null,x=z,S=!1}D=void 0}}finally{D?ae():U=!1}}}var ae;if(typeof N=="function")ae=function(){N(le)};else if(typeof MessageChannel<"u"){var Y=new MessageChannel,q=Y.port2;Y.port1.onmessage=le,ae=function(){q.postMessage(null)}}else ae=function(){_(le,0)};function I(j,D){k=_(function(){j(e.unstable_now())},D)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(j){j.callback=null},e.unstable_forceFrameRate=function(j){0>j||125G?(j.sortIndex=z,a(p,j),r(m)===null&&j===r(p)&&(T?(R(k),k=-1):T=!0,I(L,z-G))):(j.sortIndex=J,a(m,j),w||S||(w=!0,U||(U=!0,ae()))),j},e.unstable_shouldYield=W,e.unstable_wrapCallback=function(j){var D=x;return function(){var z=x;x=D;try{return j.apply(this,arguments)}finally{x=z}}}})(Nh)),Nh}var p0;function tT(){return p0||(p0=1,Ah.exports=eT()),Ah.exports}var Oh={exports:{}},ln={};var m0;function nT(){if(m0)return ln;m0=1;var e=Bp();function a(m){var p="https://react.dev/errors/"+m;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(a){console.error(a)}}return e(),Oh.exports=nT(),Oh.exports}var v0;function aT(){if(v0)return Fs;v0=1;var e=tT(),a=Bp(),r=e1();function o(t){var n="https://react.dev/errors/"+t;if(1J||(t.current=G[J],G[J]=null,J--)}function ee(t,n){J++,G[J]=t.current,t.current=n}var ce=M(null),he=M(null),ye=M(null),ge=M(null);function Oe(t,n){switch(ee(ye,n),ee(he,t),ee(ce,null),n.nodeType){case 9:case 11:t=(t=n.documentElement)&&(t=t.namespaceURI)?Mb(t):0;break;default:if(t=n.tagName,n=n.namespaceURI)n=Mb(n),t=Db(n,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}B(ce),ee(ce,t)}function _e(){B(ce),B(he),B(ye)}function Xe(t){t.memoizedState!==null&&ee(ge,t);var n=ce.current,l=Db(n,t.type);n!==l&&(ee(he,t),ee(ce,l))}function ct(t){he.current===t&&(B(ce),B(he)),ge.current===t&&(B(ge),Hs._currentValue=z)}var tt,He;function ke(t){if(tt===void 0)try{throw Error()}catch(l){var n=l.stack.trim().match(/\n( *(at )?)/);tt=n&&n[1]||"",He=-1)":-1h||$[i]!==Z[h]){var oe=` `+$[i].replace(" at new "," at ");return t.displayName&&oe.includes("")&&(oe=oe.replace("",t.displayName)),oe}while(1<=i&&0<=h);break}}}finally{ie=!1,Error.prepareStackTrace=l}return(l=t?t.displayName||t.name:"")?ke(l):""}function be(t,n){switch(t.tag){case 26:case 27:case 5:return ke(t.type);case 16:return ke("Lazy");case 13:return t.child!==n&&n!==null?ke("Suspense Fallback"):ke("Suspense");case 19:return ke("SuspenseList");case 0:case 15:return Pe(t.type,!1);case 11:return Pe(t.type.render,!1);case 1:return Pe(t.type,!0);case 31:return ke("Activity");default:return""}}function me(t){try{var n="",l=null;do n+=be(t,l),l=t,t=t.return;while(t);return n}catch(i){return` Error generating stack: `+i.message+` `+i.stack}}var Ee=Object.prototype.hasOwnProperty,$e=e.unstable_scheduleCallback,lt=e.unstable_cancelCallback,Le=e.unstable_shouldYield,Ge=e.unstable_requestPaint,Qe=e.unstable_now,st=e.unstable_getCurrentPriorityLevel,Se=e.unstable_ImmediatePriority,ve=e.unstable_UserBlockingPriority,gn=e.unstable_NormalPriority,zn=e.unstable_LowPriority,bt=e.unstable_IdlePriority,Xt=e.log,Rt=e.unstable_setDisableYieldValue,de=null,ut=null;function xe(t){if(typeof Xt=="function"&&Rt(t),ut&&typeof ut.setStrictMode=="function")try{ut.setStrictMode(de,t)}catch{}}var nt=Math.clz32?Math.clz32:fd,fa=Math.log,Lo=Math.LN2;function fd(t){return t>>>=0,t===0?32:31-(fa(t)/Lo|0)|0}var Bo=256,Vt=262144,Yn=4194304;function ha(t){var n=t&42;if(n!==0)return n;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 Ri(t,n,l){var i=t.pendingLanes;if(i===0)return 0;var h=0,g=t.suspendedLanes,E=t.pingedLanes;t=t.warmLanes;var A=i&134217727;return A!==0?(i=A&~g,i!==0?h=ha(i):(E&=A,E!==0?h=ha(E):l||(l=A&~t,l!==0&&(h=ha(l))))):(A=i&~g,A!==0?h=ha(A):E!==0?h=ha(E):l||(l=i&~t,l!==0&&(h=ha(l)))),h===0?0:n!==0&&n!==h&&(n&g)===0&&(g=h&-h,l=n&-n,g>=l||g===32&&(l&4194048)!==0)?n:h}function Jl(t,n){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&n)===0}function kC(t,n){switch(t){case 1:case 2:case 4:case 8:case 64:return n+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function hg(){var t=Yn;return Yn<<=1,(Yn&62914560)===0&&(Yn=4194304),t}function hd(t){for(var n=[],l=0;31>l;l++)n.push(t);return n}function es(t,n){t.pendingLanes|=n,n!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function $C(t,n,l,i,h,g){var E=t.pendingLanes;t.pendingLanes=l,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=l,t.entangledLanes&=l,t.errorRecoveryDisabledLanes&=l,t.shellSuspendCounter=0;var A=t.entanglements,$=t.expirationTimes,Z=t.hiddenUpdates;for(l=E&~l;0"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var IC=/[\n"\\]/g;function Qn(t){return t.replace(IC,function(n){return"\\"+n.charCodeAt(0).toString(16)+" "})}function bd(t,n,l,i,h,g,E,A){t.name="",E!=null&&typeof E!="function"&&typeof E!="symbol"&&typeof E!="boolean"?t.type=E:t.removeAttribute("type"),n!=null?E==="number"?(n===0&&t.value===""||t.value!=n)&&(t.value=""+Xn(n)):t.value!==""+Xn(n)&&(t.value=""+Xn(n)):E!=="submit"&&E!=="reset"||t.removeAttribute("value"),n!=null?xd(t,E,Xn(n)):l!=null?xd(t,E,Xn(l)):i!=null&&t.removeAttribute("value"),h==null&&g!=null&&(t.defaultChecked=!!g),h!=null&&(t.checked=h&&typeof h!="function"&&typeof h!="symbol"),A!=null&&typeof A!="function"&&typeof A!="symbol"&&typeof A!="boolean"?t.name=""+Xn(A):t.removeAttribute("name")}function Rg(t,n,l,i,h,g,E,A){if(g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"&&(t.type=g),n!=null||l!=null){if(!(g!=="submit"&&g!=="reset"||n!=null)){yd(t);return}l=l!=null?""+Xn(l):"",n=n!=null?""+Xn(n):l,A||n===t.value||(t.value=n),t.defaultValue=n}i=i??h,i=typeof i!="function"&&typeof i!="symbol"&&!!i,t.checked=A?t.checked:!!i,t.defaultChecked=!!i,E!=null&&typeof E!="function"&&typeof E!="symbol"&&typeof E!="boolean"&&(t.name=E),yd(t)}function xd(t,n,l){n==="number"&&Ai(t.ownerDocument)===t||t.defaultValue===""+l||(t.defaultValue=""+l)}function Vo(t,n,l,i){if(t=t.options,n){n={};for(var h=0;h"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Td=!1;if(Pa)try{var rs={};Object.defineProperty(rs,"passive",{get:function(){Td=!0}}),window.addEventListener("test",rs,rs),window.removeEventListener("test",rs,rs)}catch{Td=!1}var vr=null,Rd=null,Oi=null;function Dg(){if(Oi)return Oi;var t,n=Rd,l=n.length,i,h="value"in vr?vr.value:vr.textContent,g=h.length;for(t=0;t=ss),Ug=" ",Hg=!1;function Pg(t,n){switch(t){case"keyup":return yE.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Vg(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Go=!1;function xE(t,n){switch(t){case"compositionend":return Vg(n);case"keypress":return n.which!==32?null:(Hg=!0,Ug);case"textInput":return t=n.data,t===Ug&&Hg?null:t;default:return null}}function SE(t,n){if(Go)return t==="compositionend"||!Od&&Pg(t,n)?(t=Dg(),Oi=Rd=vr=null,Go=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1=n)return{node:l,offset:n-t};t=i}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=Zg(l)}}function Wg(t,n){return t&&n?t===n?!0:t&&t.nodeType===3?!1:n&&n.nodeType===3?Wg(t,n.parentNode):"contains"in t?t.contains(n):t.compareDocumentPosition?!!(t.compareDocumentPosition(n)&16):!1:!1}function Jg(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var n=Ai(t.document);n instanceof t.HTMLIFrameElement;){try{var l=typeof n.contentWindow.location.href=="string"}catch{l=!1}if(l)t=n.contentWindow;else break;n=Ai(t.document)}return n}function zd(t){var n=t&&t.nodeName&&t.nodeName.toLowerCase();return n&&(n==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||n==="textarea"||t.contentEditable==="true")}var AE=Pa&&"documentMode"in document&&11>=document.documentMode,Yo=null,Ld=null,ds=null,Bd=!1;function ev(t,n,l){var i=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Bd||Yo==null||Yo!==Ai(i)||(i=Yo,"selectionStart"in i&&zd(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}),ds&&us(ds,i)||(ds=i,i=Ec(Ld,"onSelect"),0>=E,h-=E,Ta=1<<32-nt(n)+h|l<qe?(Je=je,je=null):Je=je.sibling;var ot=K(F,je,X[qe],se);if(ot===null){je===null&&(je=Je);break}t&&je&&ot.alternate===null&&n(F,je),P=g(ot,P,qe),rt===null?Ne=ot:rt.sibling=ot,rt=ot,je=Je}if(qe===X.length)return l(F,je),et&&qa(F,qe),Ne;if(je===null){for(;qeqe?(Je=je,je=null):Je=je.sibling;var Ur=K(F,je,ot.value,se);if(Ur===null){je===null&&(je=Je);break}t&&je&&Ur.alternate===null&&n(F,je),P=g(Ur,P,qe),rt===null?Ne=Ur:rt.sibling=Ur,rt=Ur,je=Je}if(ot.done)return l(F,je),et&&qa(F,qe),Ne;if(je===null){for(;!ot.done;qe++,ot=X.next())ot=ue(F,ot.value,se),ot!==null&&(P=g(ot,P,qe),rt===null?Ne=ot:rt.sibling=ot,rt=ot);return et&&qa(F,qe),Ne}for(je=i(je);!ot.done;qe++,ot=X.next())ot=ne(je,F,qe,ot.value,se),ot!==null&&(t&&ot.alternate!==null&&je.delete(ot.key===null?qe:ot.key),P=g(ot,P,qe),rt===null?Ne=ot:rt.sibling=ot,rt=ot);return t&&je.forEach(function(Q2){return n(F,Q2)}),et&&qa(F,qe),Ne}function mt(F,P,X,se){if(typeof X=="object"&&X!==null&&X.type===T&&X.key===null&&(X=X.props.children),typeof X=="object"&&X!==null){switch(X.$$typeof){case S:e:{for(var Ne=X.key;P!==null;){if(P.key===Ne){if(Ne=X.type,Ne===T){if(P.tag===7){l(F,P.sibling),se=h(P,X.props.children),se.return=F,F=se;break e}}else if(P.elementType===Ne||typeof Ne=="object"&&Ne!==null&&Ne.$$typeof===H&&io(Ne)===P.type){l(F,P.sibling),se=h(P,X.props),vs(se,X),se.return=F,F=se;break e}l(F,P);break}else n(F,P);P=P.sibling}X.type===T?(se=ao(X.props.children,F.mode,se,X.key),se.return=F,F=se):(se=Pi(X.type,X.key,X.props,null,F.mode,se),vs(se,X),se.return=F,F=se)}return E(F);case w:e:{for(Ne=X.key;P!==null;){if(P.key===Ne)if(P.tag===4&&P.stateNode.containerInfo===X.containerInfo&&P.stateNode.implementation===X.implementation){l(F,P.sibling),se=h(P,X.children||[]),se.return=F,F=se;break e}else{l(F,P);break}else n(F,P);P=P.sibling}se=qd(X,F.mode,se),se.return=F,F=se}return E(F);case H:return X=io(X),mt(F,P,X,se)}if(I(X))return Re(F,P,X,se);if(ae(X)){if(Ne=ae(X),typeof Ne!="function")throw Error(o(150));return X=Ne.call(X),De(F,P,X,se)}if(typeof X.then=="function")return mt(F,P,Xi(X),se);if(X.$$typeof===N)return mt(F,P,Ii(F,X),se);Qi(F,X)}return typeof X=="string"&&X!==""||typeof X=="number"||typeof X=="bigint"?(X=""+X,P!==null&&P.tag===6?(l(F,P.sibling),se=h(P,X),se.return=F,F=se):(l(F,P),se=Vd(X,F.mode,se),se.return=F,F=se),E(F)):l(F,P)}return function(F,P,X,se){try{gs=0;var Ne=mt(F,P,X,se);return rl=null,Ne}catch(je){if(je===al||je===Gi)throw je;var rt=Bn(29,je,null,F.mode);return rt.lanes=se,rt.return=F,rt}}}var uo=Cv(!0),Ev=Cv(!1),wr=!1;function tf(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function nf(t,n){t=t.updateQueue,n.updateQueue===t&&(n.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function Cr(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function Er(t,n,l){var i=t.updateQueue;if(i===null)return null;if(i=i.shared,(it&2)!==0){var h=i.pending;return h===null?n.next=n:(n.next=h.next,h.next=n),i.pending=n,n=Hi(t),sv(t,null,l),n}return Ui(t,i,n,l),Hi(t)}function ys(t,n,l){if(n=n.updateQueue,n!==null&&(n=n.shared,(l&4194048)!==0)){var i=n.lanes;i&=t.pendingLanes,l|=i,n.lanes=l,mg(t,l)}}function af(t,n){var l=t.updateQueue,i=t.alternate;if(i!==null&&(i=i.updateQueue,l===i)){var h=null,g=null;if(l=l.firstBaseUpdate,l!==null){do{var E={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};g===null?h=g=E:g=g.next=E,l=l.next}while(l!==null);g===null?h=g=n:g=g.next=n}else h=g=n;l={baseState:i.baseState,firstBaseUpdate:h,lastBaseUpdate:g,shared:i.shared,callbacks:i.callbacks},t.updateQueue=l;return}t=l.lastBaseUpdate,t===null?l.firstBaseUpdate=n:t.next=n,l.lastBaseUpdate=n}var rf=!1;function bs(){if(rf){var t=nl;if(t!==null)throw t}}function xs(t,n,l,i){rf=!1;var h=t.updateQueue;wr=!1;var g=h.firstBaseUpdate,E=h.lastBaseUpdate,A=h.shared.pending;if(A!==null){h.shared.pending=null;var $=A,Z=$.next;$.next=null,E===null?g=Z:E.next=Z,E=$;var oe=t.alternate;oe!==null&&(oe=oe.updateQueue,A=oe.lastBaseUpdate,A!==E&&(A===null?oe.firstBaseUpdate=Z:A.next=Z,oe.lastBaseUpdate=$))}if(g!==null){var ue=h.baseState;E=0,oe=Z=$=null,A=g;do{var K=A.lane&-536870913,ne=K!==A.lane;if(ne?(We&K)===K:(i&K)===K){K!==0&&K===tl&&(rf=!0),oe!==null&&(oe=oe.next={lane:0,tag:A.tag,payload:A.payload,callback:null,next:null});e:{var Re=t,De=A;K=n;var mt=l;switch(De.tag){case 1:if(Re=De.payload,typeof Re=="function"){ue=Re.call(mt,ue,K);break e}ue=Re;break e;case 3:Re.flags=Re.flags&-65537|128;case 0:if(Re=De.payload,K=typeof Re=="function"?Re.call(mt,ue,K):Re,K==null)break e;ue=y({},ue,K);break e;case 2:wr=!0}}K=A.callback,K!==null&&(t.flags|=64,ne&&(t.flags|=8192),ne=h.callbacks,ne===null?h.callbacks=[K]:ne.push(K))}else ne={lane:K,tag:A.tag,payload:A.payload,callback:A.callback,next:null},oe===null?(Z=oe=ne,$=ue):oe=oe.next=ne,E|=K;if(A=A.next,A===null){if(A=h.shared.pending,A===null)break;ne=A,A=ne.next,ne.next=null,h.lastBaseUpdate=ne,h.shared.pending=null}}while(!0);oe===null&&($=ue),h.baseState=$,h.firstBaseUpdate=Z,h.lastBaseUpdate=oe,g===null&&(h.shared.lanes=0),Ar|=E,t.lanes=E,t.memoizedState=ue}}function Tv(t,n){if(typeof t!="function")throw Error(o(191,t));t.call(n)}function Rv(t,n){var l=t.callbacks;if(l!==null)for(t.callbacks=null,t=0;tg?g:8;var E=j.T,A={};j.T=A,Ef(t,!1,n,l);try{var $=h(),Z=j.S;if(Z!==null&&Z(A,$),$!==null&&typeof $=="object"&&typeof $.then=="function"){var oe=$E($,i);Cs(t,n,oe,Pn(t))}else Cs(t,n,i,Pn(t))}catch(ue){Cs(t,n,{then:function(){},status:"rejected",reason:ue},Pn())}finally{D.p=g,E!==null&&A.types!==null&&(E.types=A.types),j.T=E}}function IE(){}function wf(t,n,l,i){if(t.tag!==5)throw Error(o(476));var h=ry(t).queue;ay(t,h,n,z,l===null?IE:function(){return oy(t),l(i)})}function ry(t){var n=t.memoizedState;if(n!==null)return n;n={memoizedState:z,baseState:z,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ya,lastRenderedState:z},next:null};var l={};return n.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ya,lastRenderedState:l},next:null},t.memoizedState=n,t=t.alternate,t!==null&&(t.memoizedState=n),n}function oy(t){var n=ry(t);n.next===null&&(n=t.alternate.memoizedState),Cs(t,n.next.queue,{},Pn())}function Cf(){return Kt(Hs)}function ly(){return Dt().memoizedState}function sy(){return Dt().memoizedState}function FE(t){for(var n=t.return;n!==null;){switch(n.tag){case 24:case 3:var l=Pn();t=Cr(l);var i=Er(n,t,l);i!==null&&(Rn(i,n,l),ys(i,n,l)),n={cache:Kd()},t.payload=n;return}n=n.return}}function GE(t,n,l){var i=Pn();l={lane:i,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},oc(t)?cy(n,l):(l=Hd(t,n,l,i),l!==null&&(Rn(l,t,i),uy(l,n,i)))}function iy(t,n,l){var i=Pn();Cs(t,n,l,i)}function Cs(t,n,l,i){var h={lane:i,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(oc(t))cy(n,h);else{var g=t.alternate;if(t.lanes===0&&(g===null||g.lanes===0)&&(g=n.lastRenderedReducer,g!==null))try{var E=n.lastRenderedState,A=g(E,l);if(h.hasEagerState=!0,h.eagerState=A,Ln(A,E))return Ui(t,n,h,0),vt===null&&$i(),!1}catch{}if(l=Hd(t,n,h,i),l!==null)return Rn(l,t,i),uy(l,n,i),!0}return!1}function Ef(t,n,l,i){if(i={lane:2,revertLane:nh(),gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},oc(t)){if(n)throw Error(o(479))}else n=Hd(t,l,i,2),n!==null&&Rn(n,t,2)}function oc(t){var n=t.alternate;return t===Ve||n!==null&&n===Ve}function cy(t,n){ll=Wi=!0;var l=t.pending;l===null?n.next=n:(n.next=l.next,l.next=n),t.pending=n}function uy(t,n,l){if((l&4194048)!==0){var i=n.lanes;i&=t.pendingLanes,l|=i,n.lanes=l,mg(t,l)}}var Es={readContext:Kt,use:tc,useCallback:At,useContext:At,useEffect:At,useImperativeHandle:At,useLayoutEffect:At,useInsertionEffect:At,useMemo:At,useReducer:At,useRef:At,useState:At,useDebugValue:At,useDeferredValue:At,useTransition:At,useSyncExternalStore:At,useId:At,useHostTransitionStatus:At,useFormState:At,useActionState:At,useOptimistic:At,useMemoCache:At,useCacheRefresh:At};Es.useEffectEvent=At;var dy={readContext:Kt,use:tc,useCallback:function(t,n){return vn().memoizedState=[t,n===void 0?null:n],t},useContext:Kt,useEffect:Xv,useImperativeHandle:function(t,n,l){l=l!=null?l.concat([t]):null,ac(4194308,4,Wv.bind(null,n,t),l)},useLayoutEffect:function(t,n){return ac(4194308,4,t,n)},useInsertionEffect:function(t,n){ac(4,2,t,n)},useMemo:function(t,n){var l=vn();n=n===void 0?null:n;var i=t();if(fo){xe(!0);try{t()}finally{xe(!1)}}return l.memoizedState=[i,n],i},useReducer:function(t,n,l){var i=vn();if(l!==void 0){var h=l(n);if(fo){xe(!0);try{l(n)}finally{xe(!1)}}}else h=n;return i.memoizedState=i.baseState=h,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:h},i.queue=t,t=t.dispatch=GE.bind(null,Ve,t),[i.memoizedState,t]},useRef:function(t){var n=vn();return t={current:t},n.memoizedState=t},useState:function(t){t=vf(t);var n=t.queue,l=iy.bind(null,Ve,n);return n.dispatch=l,[t.memoizedState,l]},useDebugValue:xf,useDeferredValue:function(t,n){var l=vn();return Sf(l,t,n)},useTransition:function(){var t=vf(!1);return t=ay.bind(null,Ve,t.queue,!0,!1),vn().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,n,l){var i=Ve,h=vn();if(et){if(l===void 0)throw Error(o(407));l=l()}else{if(l=n(),vt===null)throw Error(o(349));(We&127)!==0||Mv(i,n,l)}h.memoizedState=l;var g={value:l,getSnapshot:n};return h.queue=g,Xv(zv.bind(null,i,g,t),[t]),i.flags|=2048,il(9,{destroy:void 0},Dv.bind(null,i,g,l,n),null),l},useId:function(){var t=vn(),n=vt.identifierPrefix;if(et){var l=Ra,i=Ta;l=(i&~(1<<32-nt(i)-1)).toString(32)+l,n="_"+n+"R_"+l,l=Ji++,0<\/script>",g=g.removeChild(g.firstChild);break;case"select":g=typeof i.is=="string"?E.createElement("select",{is:i.is}):E.createElement("select"),i.multiple?g.multiple=!0:i.size&&(g.size=i.size);break;default:g=typeof i.is=="string"?E.createElement(h,{is:i.is}):E.createElement(h)}}g[Qt]=n,g[xn]=i;e:for(E=n.child;E!==null;){if(E.tag===5||E.tag===6)g.appendChild(E.stateNode);else if(E.tag!==4&&E.tag!==27&&E.child!==null){E.child.return=E,E=E.child;continue}if(E===n)break e;for(;E.sibling===null;){if(E.return===null||E.return===n)break e;E=E.return}E.sibling.return=E.return,E=E.sibling}n.stateNode=g;e:switch(Jt(g,h,i),h){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}i&&Qa(n)}}return St(n),$f(n,n.type,t===null?null:t.memoizedProps,n.pendingProps,l),null;case 6:if(t&&n.stateNode!=null)t.memoizedProps!==i&&Qa(n);else{if(typeof i!="string"&&n.stateNode===null)throw Error(o(166));if(t=ye.current,Jo(n)){if(t=n.stateNode,l=n.memoizedProps,i=null,h=Zt,h!==null)switch(h.tag){case 27:case 5:i=h.memoizedProps}t[Qt]=n,t=!!(t.nodeValue===l||i!==null&&i.suppressHydrationWarning===!0||Nb(t.nodeValue,l)),t||xr(n,!0)}else t=Tc(t).createTextNode(i),t[Qt]=n,n.stateNode=t}return St(n),null;case 31:if(l=n.memoizedState,t===null||t.memoizedState!==null){if(i=Jo(n),l!==null){if(t===null){if(!i)throw Error(o(318));if(t=n.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(557));t[Qt]=n}else ro(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;St(n),t=!1}else l=Yd(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=l),t=!0;if(!t)return n.flags&256?($n(n),n):($n(n),null);if((n.flags&128)!==0)throw Error(o(558))}return St(n),null;case 13:if(i=n.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(h=Jo(n),i!==null&&i.dehydrated!==null){if(t===null){if(!h)throw Error(o(318));if(h=n.memoizedState,h=h!==null?h.dehydrated:null,!h)throw Error(o(317));h[Qt]=n}else ro(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;St(n),h=!1}else h=Yd(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=h),h=!0;if(!h)return n.flags&256?($n(n),n):($n(n),null)}return $n(n),(n.flags&128)!==0?(n.lanes=l,n):(l=i!==null,t=t!==null&&t.memoizedState!==null,l&&(i=n.child,h=null,i.alternate!==null&&i.alternate.memoizedState!==null&&i.alternate.memoizedState.cachePool!==null&&(h=i.alternate.memoizedState.cachePool.pool),g=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(g=i.memoizedState.cachePool.pool),g!==h&&(i.flags|=2048)),l!==t&&l&&(n.child.flags|=8192),uc(n,n.updateQueue),St(n),null);case 4:return _e(),t===null&&lh(n.stateNode.containerInfo),St(n),null;case 10:return Fa(n.type),St(n),null;case 19:if(B(Mt),i=n.memoizedState,i===null)return St(n),null;if(h=(n.flags&128)!==0,g=i.rendering,g===null)if(h)Rs(i,!1);else{if(Nt!==0||t!==null&&(t.flags&128)!==0)for(t=n.child;t!==null;){if(g=Ki(t),g!==null){for(n.flags|=128,Rs(i,!1),t=g.updateQueue,n.updateQueue=t,uc(n,t),n.subtreeFlags=0,t=l,l=n.child;l!==null;)iv(l,t),l=l.sibling;return ee(Mt,Mt.current&1|2),et&&qa(n,i.treeForkCount),n.child}t=t.sibling}i.tail!==null&&Qe()>mc&&(n.flags|=128,h=!0,Rs(i,!1),n.lanes=4194304)}else{if(!h)if(t=Ki(g),t!==null){if(n.flags|=128,h=!0,t=t.updateQueue,n.updateQueue=t,uc(n,t),Rs(i,!0),i.tail===null&&i.tailMode==="hidden"&&!g.alternate&&!et)return St(n),null}else 2*Qe()-i.renderingStartTime>mc&&l!==536870912&&(n.flags|=128,h=!0,Rs(i,!1),n.lanes=4194304);i.isBackwards?(g.sibling=n.child,n.child=g):(t=i.last,t!==null?t.sibling=g:n.child=g,i.last=g)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Qe(),t.sibling=null,l=Mt.current,ee(Mt,h?l&1|2:l&1),et&&qa(n,i.treeForkCount),t):(St(n),null);case 22:case 23:return $n(n),lf(),i=n.memoizedState!==null,t!==null?t.memoizedState!==null!==i&&(n.flags|=8192):i&&(n.flags|=8192),i?(l&536870912)!==0&&(n.flags&128)===0&&(St(n),n.subtreeFlags&6&&(n.flags|=8192)):St(n),l=n.updateQueue,l!==null&&uc(n,l.retryQueue),l=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),i=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(i=n.memoizedState.cachePool.pool),i!==l&&(n.flags|=2048),t!==null&&B(so),null;case 24:return l=null,t!==null&&(l=t.memoizedState.cache),n.memoizedState.cache!==l&&(n.flags|=2048),Fa($t),St(n),null;case 25:return null;case 30:return null}throw Error(o(156,n.tag))}function KE(t,n){switch(Fd(n),n.tag){case 1:return t=n.flags,t&65536?(n.flags=t&-65537|128,n):null;case 3:return Fa($t),_e(),t=n.flags,(t&65536)!==0&&(t&128)===0?(n.flags=t&-65537|128,n):null;case 26:case 27:case 5:return ct(n),null;case 31:if(n.memoizedState!==null){if($n(n),n.alternate===null)throw Error(o(340));ro()}return t=n.flags,t&65536?(n.flags=t&-65537|128,n):null;case 13:if($n(n),t=n.memoizedState,t!==null&&t.dehydrated!==null){if(n.alternate===null)throw Error(o(340));ro()}return t=n.flags,t&65536?(n.flags=t&-65537|128,n):null;case 19:return B(Mt),null;case 4:return _e(),null;case 10:return Fa(n.type),null;case 22:case 23:return $n(n),lf(),t!==null&&B(so),t=n.flags,t&65536?(n.flags=t&-65537|128,n):null;case 24:return Fa($t),null;case 25:return null;default:return null}}function Ly(t,n){switch(Fd(n),n.tag){case 3:Fa($t),_e();break;case 26:case 27:case 5:ct(n);break;case 4:_e();break;case 31:n.memoizedState!==null&&$n(n);break;case 13:$n(n);break;case 19:B(Mt);break;case 10:Fa(n.type);break;case 22:case 23:$n(n),lf(),t!==null&&B(so);break;case 24:Fa($t)}}function js(t,n){try{var l=n.updateQueue,i=l!==null?l.lastEffect:null;if(i!==null){var h=i.next;l=h;do{if((l.tag&t)===t){i=void 0;var g=l.create,E=l.inst;i=g(),E.destroy=i}l=l.next}while(l!==h)}}catch(A){ft(n,n.return,A)}}function jr(t,n,l){try{var i=n.updateQueue,h=i!==null?i.lastEffect:null;if(h!==null){var g=h.next;i=g;do{if((i.tag&t)===t){var E=i.inst,A=E.destroy;if(A!==void 0){E.destroy=void 0,h=n;var $=l,Z=A;try{Z()}catch(oe){ft(h,$,oe)}}}i=i.next}while(i!==g)}}catch(oe){ft(n,n.return,oe)}}function By(t){var n=t.updateQueue;if(n!==null){var l=t.stateNode;try{Rv(n,l)}catch(i){ft(t,t.return,i)}}}function ky(t,n,l){l.props=ho(t.type,t.memoizedProps),l.state=t.memoizedState;try{l.componentWillUnmount()}catch(i){ft(t,n,i)}}function _s(t,n){try{var l=t.ref;if(l!==null){switch(t.tag){case 26:case 27:case 5:var i=t.stateNode;break;case 30:i=t.stateNode;break;default:i=t.stateNode}typeof l=="function"?t.refCleanup=l(i):l.current=i}}catch(h){ft(t,n,h)}}function ja(t,n){var l=t.ref,i=t.refCleanup;if(l!==null)if(typeof i=="function")try{i()}catch(h){ft(t,n,h)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(h){ft(t,n,h)}else l.current=null}function $y(t){var n=t.type,l=t.memoizedProps,i=t.stateNode;try{e:switch(n){case"button":case"input":case"select":case"textarea":l.autoFocus&&i.focus();break e;case"img":l.src?i.src=l.src:l.srcSet&&(i.srcset=l.srcSet)}}catch(h){ft(t,t.return,h)}}function Uf(t,n,l){try{var i=t.stateNode;b2(i,t.type,l,n),i[xn]=n}catch(h){ft(t,t.return,h)}}function Uy(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&zr(t.type)||t.tag===4}function Hf(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||Uy(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&&zr(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 Pf(t,n,l){var i=t.tag;if(i===5||i===6)t=t.stateNode,n?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(t,n):(n=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,n.appendChild(t),l=l._reactRootContainer,l!=null||n.onclick!==null||(n.onclick=Ha));else if(i!==4&&(i===27&&zr(t.type)&&(l=t.stateNode,n=null),t=t.child,t!==null))for(Pf(t,n,l),t=t.sibling;t!==null;)Pf(t,n,l),t=t.sibling}function dc(t,n,l){var i=t.tag;if(i===5||i===6)t=t.stateNode,n?l.insertBefore(t,n):l.appendChild(t);else if(i!==4&&(i===27&&zr(t.type)&&(l=t.stateNode),t=t.child,t!==null))for(dc(t,n,l),t=t.sibling;t!==null;)dc(t,n,l),t=t.sibling}function Hy(t){var n=t.stateNode,l=t.memoizedProps;try{for(var i=t.type,h=n.attributes;h.length;)n.removeAttributeNode(h[0]);Jt(n,i,l),n[Qt]=t,n[xn]=l}catch(g){ft(t,t.return,g)}}var Za=!1,Pt=!1,Vf=!1,Py=typeof WeakSet=="function"?WeakSet:Set,Ft=null;function WE(t,n){if(t=t.containerInfo,ch=Mc,t=Jg(t),zd(t)){if("selectionStart"in t)var l={start:t.selectionStart,end:t.selectionEnd};else e:{l=(l=t.ownerDocument)&&l.defaultView||window;var i=l.getSelection&&l.getSelection();if(i&&i.rangeCount!==0){l=i.anchorNode;var h=i.anchorOffset,g=i.focusNode;i=i.focusOffset;try{l.nodeType,g.nodeType}catch{l=null;break e}var E=0,A=-1,$=-1,Z=0,oe=0,ue=t,K=null;t:for(;;){for(var ne;ue!==l||h!==0&&ue.nodeType!==3||(A=E+h),ue!==g||i!==0&&ue.nodeType!==3||($=E+i),ue.nodeType===3&&(E+=ue.nodeValue.length),(ne=ue.firstChild)!==null;)K=ue,ue=ne;for(;;){if(ue===t)break t;if(K===l&&++Z===h&&(A=E),K===g&&++oe===i&&($=E),(ne=ue.nextSibling)!==null)break;ue=K,K=ue.parentNode}ue=ne}l=A===-1||$===-1?null:{start:A,end:$}}else l=null}l=l||{start:0,end:0}}else l=null;for(uh={focusedElem:t,selectionRange:l},Mc=!1,Ft=n;Ft!==null;)if(n=Ft,t=n.child,(n.subtreeFlags&1028)!==0&&t!==null)t.return=n,Ft=t;else for(;Ft!==null;){switch(n=Ft,g=n.alternate,t=n.flags,n.tag){case 0:if((t&4)!==0&&(t=n.updateQueue,t=t!==null?t.events:null,t!==null))for(l=0;l title"))),Jt(g,i,l),g[Qt]=t,It(g),i=g;break e;case"link":var E=Yb("link","href",h).get(i+(l.href||""));if(E){for(var A=0;Amt&&(E=mt,mt=De,De=E);var F=Kg(A,De),P=Kg(A,mt);if(F&&P&&(ne.rangeCount!==1||ne.anchorNode!==F.node||ne.anchorOffset!==F.offset||ne.focusNode!==P.node||ne.focusOffset!==P.offset)){var X=ue.createRange();X.setStart(F.node,F.offset),ne.removeAllRanges(),De>mt?(ne.addRange(X),ne.extend(P.node,P.offset)):(X.setEnd(P.node,P.offset),ne.addRange(X))}}}}for(ue=[],ne=A;ne=ne.parentNode;)ne.nodeType===1&&ue.push({element:ne,left:ne.scrollLeft,top:ne.scrollTop});for(typeof A.focus=="function"&&A.focus(),A=0;Al?32:l,j.T=null,l=Qf,Qf=null;var g=Or,E=tr;if(qt=0,hl=Or=null,tr=0,(it&6)!==0)throw Error(o(331));var A=it;if(it|=4,Wy(g.current),Qy(g,g.current,E,l),it=A,zs(0,!1),ut&&typeof ut.onPostCommitFiberRoot=="function")try{ut.onPostCommitFiberRoot(de,g)}catch{}return!0}finally{D.p=h,j.T=i,gb(t,n)}}function yb(t,n,l){n=Kn(l,n),n=_f(t.stateNode,n,2),t=Er(t,n,2),t!==null&&(es(t,2),_a(t))}function ft(t,n,l){if(t.tag===3)yb(t,t,l);else for(;n!==null;){if(n.tag===3){yb(n,t,l);break}else if(n.tag===1){var i=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(Nr===null||!Nr.has(i))){t=Kn(l,t),l=by(2),i=Er(n,l,2),i!==null&&(xy(l,i,n,t),es(i,2),_a(i));break}}n=n.return}}function Jf(t,n,l){var i=t.pingCache;if(i===null){i=t.pingCache=new t2;var h=new Set;i.set(n,h)}else h=i.get(n),h===void 0&&(h=new Set,i.set(n,h));h.has(l)||(Ff=!0,h.add(l),t=l2.bind(null,t,n,l),n.then(t,t))}function l2(t,n,l){var i=t.pingCache;i!==null&&i.delete(n),t.pingedLanes|=t.suspendedLanes&l,t.warmLanes&=~l,vt===t&&(We&l)===l&&(Nt===4||Nt===3&&(We&62914560)===We&&300>Qe()-pc?(it&2)===0&&pl(t,0):Gf|=l,fl===We&&(fl=0)),_a(t)}function bb(t,n){n===0&&(n=hg()),t=no(t,n),t!==null&&(es(t,n),_a(t))}function s2(t){var n=t.memoizedState,l=0;n!==null&&(l=n.retryLane),bb(t,l)}function i2(t,n){var l=0;switch(t.tag){case 31:case 13:var i=t.stateNode,h=t.memoizedState;h!==null&&(l=h.retryLane);break;case 19:i=t.stateNode;break;case 22:i=t.stateNode._retryCache;break;default:throw Error(o(314))}i!==null&&i.delete(n),bb(t,l)}function c2(t,n){return $e(t,n)}var Sc=null,gl=null,eh=!1,wc=!1,th=!1,Dr=0;function _a(t){t!==gl&&t.next===null&&(gl===null?Sc=gl=t:gl=gl.next=t),wc=!0,eh||(eh=!0,d2())}function zs(t,n){if(!th&&wc){th=!0;do for(var l=!1,i=Sc;i!==null;){if(t!==0){var h=i.pendingLanes;if(h===0)var g=0;else{var E=i.suspendedLanes,A=i.pingedLanes;g=(1<<31-nt(42|t)+1)-1,g&=h&~(E&~A),g=g&201326741?g&201326741|1:g?g|2:0}g!==0&&(l=!0,Cb(i,g))}else g=We,g=Ri(i,i===vt?g:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),(g&3)===0||Jl(i,g)||(l=!0,Cb(i,g));i=i.next}while(l);th=!1}}function u2(){xb()}function xb(){wc=eh=!1;var t=0;Dr!==0&&S2()&&(t=Dr);for(var n=Qe(),l=null,i=Sc;i!==null;){var h=i.next,g=Sb(i,n);g===0?(i.next=null,l===null?Sc=h:l.next=h,h===null&&(gl=l)):(l=i,(t!==0||(g&3)!==0)&&(wc=!0)),i=h}qt!==0&&qt!==5||zs(t),Dr!==0&&(Dr=0)}function Sb(t,n){for(var l=t.suspendedLanes,i=t.pingedLanes,h=t.expirationTimes,g=t.pendingLanes&-62914561;0A)break;var oe=$.transferSize,ue=$.initiatorType;oe&&Ob(ue)&&($=$.responseEnd,E+=oe*($"u"?null:document;function qb(t,n,l){var i=vl;if(i&&typeof n=="string"&&n){var h=Qn(n);h='link[rel="'+t+'"][href="'+h+'"]',typeof l=="string"&&(h+='[crossorigin="'+l+'"]'),Vb.has(h)||(Vb.add(h),t={rel:t,crossOrigin:l,href:n},i.querySelector(h)===null&&(n=i.createElement("link"),Jt(n,"link",t),It(n),i.head.appendChild(n)))}}function N2(t){nr.D(t),qb("dns-prefetch",t,null)}function O2(t,n){nr.C(t,n),qb("preconnect",t,n)}function M2(t,n,l){nr.L(t,n,l);var i=vl;if(i&&t&&n){var h='link[rel="preload"][as="'+Qn(n)+'"]';n==="image"&&l&&l.imageSrcSet?(h+='[imagesrcset="'+Qn(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(h+='[imagesizes="'+Qn(l.imageSizes)+'"]')):h+='[href="'+Qn(t)+'"]';var g=h;switch(n){case"style":g=yl(t);break;case"script":g=bl(t)}aa.has(g)||(t=y({rel:"preload",href:n==="image"&&l&&l.imageSrcSet?void 0:t,as:n},l),aa.set(g,t),i.querySelector(h)!==null||n==="style"&&i.querySelector($s(g))||n==="script"&&i.querySelector(Us(g))||(n=i.createElement("link"),Jt(n,"link",t),It(n),i.head.appendChild(n)))}}function D2(t,n){nr.m(t,n);var l=vl;if(l&&t){var i=n&&typeof n.as=="string"?n.as:"script",h='link[rel="modulepreload"][as="'+Qn(i)+'"][href="'+Qn(t)+'"]',g=h;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":g=bl(t)}if(!aa.has(g)&&(t=y({rel:"modulepreload",href:t},n),aa.set(g,t),l.querySelector(h)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(Us(g)))return}i=l.createElement("link"),Jt(i,"link",t),It(i),l.head.appendChild(i)}}}function z2(t,n,l){nr.S(t,n,l);var i=vl;if(i&&t){var h=Ho(i).hoistableStyles,g=yl(t);n=n||"default";var E=h.get(g);if(!E){var A={loading:0,preload:null};if(E=i.querySelector($s(g)))A.loading=5;else{t=y({rel:"stylesheet",href:t,"data-precedence":n},l),(l=aa.get(g))&&vh(t,l);var $=E=i.createElement("link");It($),Jt($,"link",t),$._p=new Promise(function(Z,oe){$.onload=Z,$.onerror=oe}),$.addEventListener("load",function(){A.loading|=1}),$.addEventListener("error",function(){A.loading|=2}),A.loading|=4,jc(E,n,i)}E={type:"stylesheet",instance:E,count:1,state:A},h.set(g,E)}}}function L2(t,n){nr.X(t,n);var l=vl;if(l&&t){var i=Ho(l).hoistableScripts,h=bl(t),g=i.get(h);g||(g=l.querySelector(Us(h)),g||(t=y({src:t,async:!0},n),(n=aa.get(h))&&yh(t,n),g=l.createElement("script"),It(g),Jt(g,"link",t),l.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},i.set(h,g))}}function B2(t,n){nr.M(t,n);var l=vl;if(l&&t){var i=Ho(l).hoistableScripts,h=bl(t),g=i.get(h);g||(g=l.querySelector(Us(h)),g||(t=y({src:t,async:!0,type:"module"},n),(n=aa.get(h))&&yh(t,n),g=l.createElement("script"),It(g),Jt(g,"link",t),l.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},i.set(h,g))}}function Ib(t,n,l,i){var h=(h=ye.current)?Rc(h):null;if(!h)throw Error(o(446));switch(t){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(n=yl(l.href),l=Ho(h).hoistableStyles,i=l.get(n),i||(i={type:"style",instance:null,count:0,state:null},l.set(n,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){t=yl(l.href);var g=Ho(h).hoistableStyles,E=g.get(t);if(E||(h=h.ownerDocument||h,E={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},g.set(t,E),(g=h.querySelector($s(t)))&&!g._p&&(E.instance=g,E.state.loading=5),aa.has(t)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},aa.set(t,l),g||k2(h,t,l,E.state))),n&&i===null)throw Error(o(528,""));return E}if(n&&i!==null)throw Error(o(529,""));return null;case"script":return n=l.async,l=l.src,typeof l=="string"&&n&&typeof n!="function"&&typeof n!="symbol"?(n=bl(l),l=Ho(h).hoistableScripts,i=l.get(n),i||(i={type:"script",instance:null,count:0,state:null},l.set(n,i)),i):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,t))}}function yl(t){return'href="'+Qn(t)+'"'}function $s(t){return'link[rel="stylesheet"]['+t+"]"}function Fb(t){return y({},t,{"data-precedence":t.precedence,precedence:null})}function k2(t,n,l,i){t.querySelector('link[rel="preload"][as="style"]['+n+"]")?i.loading=1:(n=t.createElement("link"),i.preload=n,n.addEventListener("load",function(){return i.loading|=1}),n.addEventListener("error",function(){return i.loading|=2}),Jt(n,"link",l),It(n),t.head.appendChild(n))}function bl(t){return'[src="'+Qn(t)+'"]'}function Us(t){return"script[async]"+t}function Gb(t,n,l){if(n.count++,n.instance===null)switch(n.type){case"style":var i=t.querySelector('style[data-href~="'+Qn(l.href)+'"]');if(i)return n.instance=i,It(i),i;var h=y({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return i=(t.ownerDocument||t).createElement("style"),It(i),Jt(i,"style",h),jc(i,l.precedence,t),n.instance=i;case"stylesheet":h=yl(l.href);var g=t.querySelector($s(h));if(g)return n.state.loading|=4,n.instance=g,It(g),g;i=Fb(l),(h=aa.get(h))&&vh(i,h),g=(t.ownerDocument||t).createElement("link"),It(g);var E=g;return E._p=new Promise(function(A,$){E.onload=A,E.onerror=$}),Jt(g,"link",i),n.state.loading|=4,jc(g,l.precedence,t),n.instance=g;case"script":return g=bl(l.src),(h=t.querySelector(Us(g)))?(n.instance=h,It(h),h):(i=l,(h=aa.get(g))&&(i=y({},l),yh(i,h)),t=t.ownerDocument||t,h=t.createElement("script"),It(h),Jt(h,"link",i),t.head.appendChild(h),n.instance=h);case"void":return null;default:throw Error(o(443,n.type))}else n.type==="stylesheet"&&(n.state.loading&4)===0&&(i=n.instance,n.state.loading|=4,jc(i,l.precedence,t));return n.instance}function jc(t,n,l){for(var i=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),h=i.length?i[i.length-1]:null,g=h,E=0;E title"):null)}function $2(t,n,l){if(l===1||n.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof n.precedence!="string"||typeof n.href!="string"||n.href==="")break;return!0;case"link":if(typeof n.rel!="string"||typeof n.href!="string"||n.href===""||n.onLoad||n.onError)break;return n.rel==="stylesheet"?(t=n.disabled,typeof n.precedence=="string"&&t==null):!0;case"script":if(n.async&&typeof n.async!="function"&&typeof n.async!="symbol"&&!n.onLoad&&!n.onError&&n.src&&typeof n.src=="string")return!0}return!1}function Qb(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function U2(t,n,l,i){if(l.type==="stylesheet"&&(typeof i.media!="string"||matchMedia(i.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var h=yl(i.href),g=n.querySelector($s(h));if(g){n=g._p,n!==null&&typeof n=="object"&&typeof n.then=="function"&&(t.count++,t=Ac.bind(t),n.then(t,t)),l.state.loading|=4,l.instance=g,It(g);return}g=n.ownerDocument||n,i=Fb(i),(h=aa.get(h))&&vh(i,h),g=g.createElement("link"),It(g);var E=g;E._p=new Promise(function(A,$){E.onload=A,E.onerror=$}),Jt(g,"link",i),l.instance=g}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(l,n),(n=l.state.preload)&&(l.state.loading&3)===0&&(t.count++,l=Ac.bind(t),n.addEventListener("load",l),n.addEventListener("error",l))}}var bh=0;function H2(t,n){return t.stylesheets&&t.count===0&&Oc(t,t.stylesheets),0bh?50:800)+n);return t.unsuspend=l,function(){t.unsuspend=null,clearTimeout(i),clearTimeout(h)}}:null}function Ac(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Oc(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Nc=null;function Oc(t,n){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Nc=new Map,n.forEach(P2,t),Nc=null,Ac.call(t))}function P2(t,n){if(!(n.state.loading&4)){var l=Nc.get(t);if(l)var i=l.get(null);else{l=new Map,Nc.set(t,l);for(var h=t.querySelectorAll("link[data-precedence],style[data-precedence]"),g=0;g"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(a){console.error(a)}}return e(),_h.exports=aT(),_h.exports}var oT=rT();const lT="modulepreload",sT=function(e){return"/ui/"+e},b0={},iT=function(a,r,o){let s=Promise.resolve();if(r&&r.length>0){let m=function(p){return Promise.all(p.map(v=>Promise.resolve(v).then(y=>({status:"fulfilled",value:y}),y=>({status:"rejected",reason:y}))))};document.getElementsByTagName("link");const u=document.querySelector("meta[property=csp-nonce]"),f=u?.nonce||u?.getAttribute("nonce");s=m(r.map(p=>{if(p=sT(p),p in b0)return;b0[p]=!0;const v=p.endsWith(".css"),y=v?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${p}"]${y}`))return;const x=document.createElement("link");if(x.rel=v?"stylesheet":lT,v||(x.as="script"),x.crossOrigin="",x.href=p,f&&x.setAttribute("nonce",f),document.head.appendChild(x),v)return new Promise((S,w)=>{x.addEventListener("load",S),x.addEventListener("error",()=>w(new Error(`Unable to preload CSS for ${p}`)))})}))}function c(u){const f=new Event("vite:preloadError",{cancelable:!0});if(f.payload=u,window.dispatchEvent(f),!f.defaultPrevented)throw u}return s.then(u=>{for(const f of u||[])f.status==="rejected"&&c(f.reason);return a().catch(c)})};var x0="popstate";function cT(e={}){function a(o,s){let{pathname:c,search:u,hash:f}=o.location;return sp("",{pathname:c,search:u,hash:f},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function r(o,s){return typeof s=="string"?s:ni(s)}return dT(a,r,null,e)}function _t(e,a){if(e===!1||e===null||typeof e>"u")throw new Error(a)}function ba(e,a){if(!e){typeof console<"u"&&console.warn(a);try{throw new Error(a)}catch{}}}function uT(){return Math.random().toString(36).substring(2,10)}function S0(e,a){return{usr:e.state,key:e.key,idx:a}}function sp(e,a,r=null,o){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof a=="string"?Hl(a):a,state:r,key:a&&a.key||o||uT()}}function ni({pathname:e="/",search:a="",hash:r=""}){return a&&a!=="?"&&(e+=a.charAt(0)==="?"?a:"?"+a),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}function Hl(e){let a={};if(e){let r=e.indexOf("#");r>=0&&(a.hash=e.substring(r),e=e.substring(0,r));let o=e.indexOf("?");o>=0&&(a.search=e.substring(o),e=e.substring(0,o)),e&&(a.pathname=e)}return a}function dT(e,a,r,o={}){let{window:s=document.defaultView,v5Compat:c=!1}=o,u=s.history,f="POP",m=null,p=v();p==null&&(p=0,u.replaceState({...u.state,idx:p},""));function v(){return(u.state||{idx:null}).idx}function y(){f="POP";let C=v(),_=C==null?null:C-p;p=C,m&&m({action:f,location:T.location,delta:_})}function x(C,_){f="PUSH";let R=sp(T.location,C,_);p=v()+1;let N=S0(R,p),O=T.createHref(R);try{u.pushState(N,"",O)}catch(L){if(L instanceof DOMException&&L.name==="DataCloneError")throw L;s.location.assign(O)}c&&m&&m({action:f,location:T.location,delta:1})}function S(C,_){f="REPLACE";let R=sp(T.location,C,_);p=v();let N=S0(R,p),O=T.createHref(R);u.replaceState(N,"",O),c&&m&&m({action:f,location:T.location,delta:0})}function w(C){return fT(C)}let T={get action(){return f},get location(){return e(s,u)},listen(C){if(m)throw new Error("A history only accepts one active listener");return s.addEventListener(x0,y),m=C,()=>{s.removeEventListener(x0,y),m=null}},createHref(C){return a(s,C)},createURL:w,encodeLocation(C){let _=w(C);return{pathname:_.pathname,search:_.search,hash:_.hash}},push:x,replace:S,go(C){return u.go(C)}};return T}function fT(e,a=!1){let r="http://localhost";typeof window<"u"&&(r=window.location.origin!=="null"?window.location.origin:window.location.href),_t(r,"No window.location.(origin|href) available to create URL");let o=typeof e=="string"?e:ni(e);return o=o.replace(/ $/,"%20"),!a&&o.startsWith("//")&&(o=r+o),new URL(o,r)}function t1(e,a,r="/"){return hT(e,a,r,!1)}function hT(e,a,r,o){let s=typeof a=="string"?Hl(a):a,c=lr(s.pathname||"/",r);if(c==null)return null;let u=n1(e);pT(u);let f=null;for(let m=0;f==null&&m{let v={relativePath:p===void 0?u.path||"":p,caseSensitive:u.caseSensitive===!0,childrenIndex:f,route:u};if(v.relativePath.startsWith("/")){if(!v.relativePath.startsWith(o)&&m)return;_t(v.relativePath.startsWith(o),`Absolute route path "${v.relativePath}" nested under path "${o}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),v.relativePath=v.relativePath.slice(o.length)}let y=ar([o,v.relativePath]),x=r.concat(v);u.children&&u.children.length>0&&(_t(u.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${y}".`),n1(u.children,a,x,y,m)),!(u.path==null&&!u.index)&&a.push({path:y,score:ST(y,u.index),routesMeta:x})};return e.forEach((u,f)=>{if(u.path===""||!u.path?.includes("?"))c(u,f);else for(let m of a1(u.path))c(u,f,!0,m)}),a}function a1(e){let a=e.split("/");if(a.length===0)return[];let[r,...o]=a,s=r.endsWith("?"),c=r.replace(/\?$/,"");if(o.length===0)return s?[c,""]:[c];let u=a1(o.join("/")),f=[];return f.push(...u.map(m=>m===""?c:[c,m].join("/"))),s&&f.push(...u),f.map(m=>e.startsWith("/")&&m===""?"/":m)}function pT(e){e.sort((a,r)=>a.score!==r.score?r.score-a.score:wT(a.routesMeta.map(o=>o.childrenIndex),r.routesMeta.map(o=>o.childrenIndex)))}var mT=/^:[\w-]+$/,gT=3,vT=2,yT=1,bT=10,xT=-2,w0=e=>e==="*";function ST(e,a){let r=e.split("/"),o=r.length;return r.some(w0)&&(o+=xT),a&&(o+=vT),r.filter(s=>!w0(s)).reduce((s,c)=>s+(mT.test(c)?gT:c===""?yT:bT),o)}function wT(e,a){return e.length===a.length&&e.slice(0,-1).every((o,s)=>o===a[s])?e[e.length-1]-a[a.length-1]:0}function CT(e,a,r=!1){let{routesMeta:o}=e,s={},c="/",u=[];for(let f=0;f{if(v==="*"){let w=f[x]||"";u=c.slice(0,c.length-w.length).replace(/(.)\/+$/,"$1")}const S=f[x];return y&&!S?p[v]=void 0:p[v]=(S||"").replace(/%2F/g,"/"),p},{}),pathname:c,pathnameBase:u,pattern:e}}function ET(e,a=!1,r=!0){ba(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let o=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(u,f,m)=>(o.push({paramName:f,isOptional:m!=null}),m?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(o.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,a?void 0:"i"),o]}function TT(e){try{return e.split("/").map(a=>decodeURIComponent(a).replace(/\//g,"%2F")).join("/")}catch(a){return ba(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${a}).`),e}}function lr(e,a){if(a==="/")return e;if(!e.toLowerCase().startsWith(a.toLowerCase()))return null;let r=a.endsWith("/")?a.length-1:a.length,o=e.charAt(r);return o&&o!=="/"?null:e.slice(r)||"/"}var RT=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function jT(e,a="/"){let{pathname:r,search:o="",hash:s=""}=typeof e=="string"?Hl(e):e,c;return r?(r=r.replace(/\/\/+/g,"/"),r.startsWith("/")?c=C0(r.substring(1),"/"):c=C0(r,a)):c=a,{pathname:c,search:NT(o),hash:OT(s)}}function C0(e,a){let r=a.replace(/\/+$/,"").split("/");return e.split("/").forEach(s=>{s===".."?r.length>1&&r.pop():s!=="."&&r.push(s)}),r.length>1?r.join("/"):"/"}function Mh(e,a,r,o){return`Cannot include a '${e}' 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 _T(e){return e.filter((a,r)=>r===0||a.route.path&&a.route.path.length>0)}function kp(e){let a=_T(e);return a.map((r,o)=>o===a.length-1?r.pathname:r.pathnameBase)}function $p(e,a,r,o=!1){let s;typeof e=="string"?s=Hl(e):(s={...e},_t(!s.pathname||!s.pathname.includes("?"),Mh("?","pathname","search",s)),_t(!s.pathname||!s.pathname.includes("#"),Mh("#","pathname","hash",s)),_t(!s.search||!s.search.includes("#"),Mh("#","search","hash",s)));let c=e===""||s.pathname==="",u=c?"/":s.pathname,f;if(u==null)f=r;else{let y=a.length-1;if(!o&&u.startsWith("..")){let x=u.split("/");for(;x[0]==="..";)x.shift(),y-=1;s.pathname=x.join("/")}f=y>=0?a[y]:"/"}let m=jT(s,f),p=u&&u!=="/"&&u.endsWith("/"),v=(c||u===".")&&r.endsWith("/");return!m.pathname.endsWith("/")&&(p||v)&&(m.pathname+="/"),m}var ar=e=>e.join("/").replace(/\/\/+/g,"/"),AT=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),NT=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,OT=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,MT=class{constructor(e,a,r,o=!1){this.status=e,this.statusText=a||"",this.internal=o,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}};function DT(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function zT(e){return e.map(a=>a.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var r1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function o1(e,a){let r=e;if(typeof r!="string"||!RT.test(r))return{absoluteURL:void 0,isExternal:!1,to:r};let o=r,s=!1;if(r1)try{let c=new URL(window.location.href),u=r.startsWith("//")?new URL(c.protocol+r):new URL(r),f=lr(u.pathname,a);u.origin===c.origin&&f!=null?r=f+u.search+u.hash:s=!0}catch{ba(!1,` contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:o,isExternal:s,to:r}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var l1=["POST","PUT","PATCH","DELETE"];new Set(l1);var LT=["GET",...l1];new Set(LT);var Pl=b.createContext(null);Pl.displayName="DataRouter";var Su=b.createContext(null);Su.displayName="DataRouterState";var BT=b.createContext(!1),s1=b.createContext({isTransitioning:!1});s1.displayName="ViewTransition";var kT=b.createContext(new Map);kT.displayName="Fetchers";var $T=b.createContext(null);$T.displayName="Await";var In=b.createContext(null);In.displayName="Navigation";var di=b.createContext(null);di.displayName="Location";var wa=b.createContext({outlet:null,matches:[],isDataRoute:!1});wa.displayName="Route";var Up=b.createContext(null);Up.displayName="RouteError";var i1="REACT_ROUTER_ERROR",UT="REDIRECT",HT="ROUTE_ERROR_RESPONSE";function PT(e){if(e.startsWith(`${i1}:${UT}:{`))try{let a=JSON.parse(e.slice(28));if(typeof a=="object"&&a&&typeof a.status=="number"&&typeof a.statusText=="string"&&typeof a.location=="string"&&typeof a.reloadDocument=="boolean"&&typeof a.replace=="boolean")return a}catch{}}function VT(e){if(e.startsWith(`${i1}:${HT}:{`))try{let a=JSON.parse(e.slice(40));if(typeof a=="object"&&a&&typeof a.status=="number"&&typeof a.statusText=="string")return new MT(a.status,a.statusText,a.data)}catch{}}function qT(e,{relative:a}={}){_t(Vl(),"useHref() may be used only in the context of a component.");let{basename:r,navigator:o}=b.useContext(In),{hash:s,pathname:c,search:u}=fi(e,{relative:a}),f=c;return r!=="/"&&(f=c==="/"?r:ar([r,c])),o.createHref({pathname:f,search:u,hash:s})}function Vl(){return b.useContext(di)!=null}function ur(){return _t(Vl(),"useLocation() may be used only in the context of a component."),b.useContext(di).location}var c1="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function u1(e){b.useContext(In).static||b.useLayoutEffect(e)}function wu(){let{isDataRoute:e}=b.useContext(wa);return e?rR():IT()}function IT(){_t(Vl(),"useNavigate() may be used only in the context of a component.");let e=b.useContext(Pl),{basename:a,navigator:r}=b.useContext(In),{matches:o}=b.useContext(wa),{pathname:s}=ur(),c=JSON.stringify(kp(o)),u=b.useRef(!1);return u1(()=>{u.current=!0}),b.useCallback((m,p={})=>{if(ba(u.current,c1),!u.current)return;if(typeof m=="number"){r.go(m);return}let v=$p(m,JSON.parse(c),s,p.relative==="path");e==null&&a!=="/"&&(v.pathname=v.pathname==="/"?a:ar([a,v.pathname])),(p.replace?r.replace:r.push)(v,p.state,p)},[a,r,c,s,e])}var FT=b.createContext(null);function GT(e){let a=b.useContext(wa).outlet;return b.useMemo(()=>a&&b.createElement(FT.Provider,{value:e},a),[a,e])}function fi(e,{relative:a}={}){let{matches:r}=b.useContext(wa),{pathname:o}=ur(),s=JSON.stringify(kp(r));return b.useMemo(()=>$p(e,JSON.parse(s),o,a==="path"),[e,s,o,a])}function YT(e,a){return d1(e,a)}function d1(e,a,r,o,s){_t(Vl(),"useRoutes() may be used only in the context of a component.");let{navigator:c}=b.useContext(In),{matches:u}=b.useContext(wa),f=u[u.length-1],m=f?f.params:{},p=f?f.pathname:"/",v=f?f.pathnameBase:"/",y=f&&f.route;{let R=y&&y.path||"";h1(p,!y||R.endsWith("*")||R.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 x=ur(),S;if(a){let R=typeof a=="string"?Hl(a):a;_t(v==="/"||R.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 "${R.pathname}" was given in the \`location\` prop.`),S=R}else S=x;let w=S.pathname||"/",T=w;if(v!=="/"){let R=v.replace(/^\//,"").split("/");T="/"+w.replace(/^\//,"").split("/").slice(R.length).join("/")}let C=t1(e,{pathname:T});ba(y||C!=null,`No routes matched location "${S.pathname}${S.search}${S.hash}" `),ba(C==null||C[C.length-1].route.element!==void 0||C[C.length-1].route.Component!==void 0||C[C.length-1].route.lazy!==void 0,`Matched leaf route at location "${S.pathname}${S.search}${S.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 _=WT(C&&C.map(R=>Object.assign({},R,{params:Object.assign({},m,R.params),pathname:ar([v,c.encodeLocation?c.encodeLocation(R.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:R.pathname]),pathnameBase:R.pathnameBase==="/"?v:ar([v,c.encodeLocation?c.encodeLocation(R.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:R.pathnameBase])})),u,r,o,s);return a&&_?b.createElement(di.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...S},navigationType:"POP"}},_):_}function XT(){let e=aR(),a=DT(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,o="rgba(200,200,200, 0.5)",s={padding:"0.5rem",backgroundColor:o},c={padding:"2px 4px",backgroundColor:o},u=null;return console.error("Error handled by React Router default ErrorBoundary:",e),u=b.createElement(b.Fragment,null,b.createElement("p",null,"💿 Hey developer 👋"),b.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",b.createElement("code",{style:c},"ErrorBoundary")," or"," ",b.createElement("code",{style:c},"errorElement")," prop on your route.")),b.createElement(b.Fragment,null,b.createElement("h2",null,"Unexpected Application Error!"),b.createElement("h3",{style:{fontStyle:"italic"}},a),r?b.createElement("pre",{style:s},r):null,u)}var QT=b.createElement(XT,null),f1=class extends b.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,a){return a.location!==e.location||a.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:a.error,location:a.location,revalidation:e.revalidation||a.revalidation}}componentDidCatch(e,a){this.props.onError?this.props.onError(e,a):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const r=VT(e.digest);r&&(e=r)}let a=e!==void 0?b.createElement(wa.Provider,{value:this.props.routeContext},b.createElement(Up.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?b.createElement(ZT,{error:e},a):a}};f1.contextType=BT;var Dh=new WeakMap;function ZT({children:e,error:a}){let{basename:r}=b.useContext(In);if(typeof a=="object"&&a&&"digest"in a&&typeof a.digest=="string"){let o=PT(a.digest);if(o){let s=Dh.get(a);if(s)throw s;let c=o1(o.location,r);if(r1&&!Dh.get(a))if(c.isExternal||o.reloadDocument)window.location.href=c.absoluteURL||c.to;else{const u=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(c.to,{replace:o.replace}));throw Dh.set(a,u),u}return b.createElement("meta",{httpEquiv:"refresh",content:`0;url=${c.absoluteURL||c.to}`})}}return e}function KT({routeContext:e,match:a,children:r}){let o=b.useContext(Pl);return o&&o.static&&o.staticContext&&(a.route.errorElement||a.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=a.route.id),b.createElement(wa.Provider,{value:e},r)}function WT(e,a=[],r=null,o=null,s=null){if(e==null){if(!r)return null;if(r.errors)e=r.matches;else if(a.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let c=e,u=r?.errors;if(u!=null){let v=c.findIndex(y=>y.route.id&&u?.[y.route.id]!==void 0);_t(v>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(u).join(",")}`),c=c.slice(0,Math.min(c.length,v+1))}let f=!1,m=-1;if(r)for(let v=0;v=0?c=c.slice(0,m+1):c=[c[0]];break}}}let p=r&&o?(v,y)=>{o(v,{location:r.location,params:r.matches?.[0]?.params??{},unstable_pattern:zT(r.matches),errorInfo:y})}:void 0;return c.reduceRight((v,y,x)=>{let S,w=!1,T=null,C=null;r&&(S=u&&y.route.id?u[y.route.id]:void 0,T=y.route.errorElement||QT,f&&(m<0&&x===0?(h1("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),w=!0,C=null):m===x&&(w=!0,C=y.route.hydrateFallbackElement||null)));let _=a.concat(c.slice(0,x+1)),R=()=>{let N;return S?N=T:w?N=C:y.route.Component?N=b.createElement(y.route.Component,null):y.route.element?N=y.route.element:N=v,b.createElement(KT,{match:y,routeContext:{outlet:v,matches:_,isDataRoute:r!=null},children:N})};return r&&(y.route.ErrorBoundary||y.route.errorElement||x===0)?b.createElement(f1,{location:r.location,revalidation:r.revalidation,component:T,error:S,children:R(),routeContext:{outlet:null,matches:_,isDataRoute:!0},onError:p}):R()},null)}function Hp(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function JT(e){let a=b.useContext(Pl);return _t(a,Hp(e)),a}function eR(e){let a=b.useContext(Su);return _t(a,Hp(e)),a}function tR(e){let a=b.useContext(wa);return _t(a,Hp(e)),a}function Pp(e){let a=tR(e),r=a.matches[a.matches.length-1];return _t(r.route.id,`${e} can only be used on routes that contain a unique "id"`),r.route.id}function nR(){return Pp("useRouteId")}function aR(){let e=b.useContext(Up),a=eR("useRouteError"),r=Pp("useRouteError");return e!==void 0?e:a.errors?.[r]}function rR(){let{router:e}=JT("useNavigate"),a=Pp("useNavigate"),r=b.useRef(!1);return u1(()=>{r.current=!0}),b.useCallback(async(s,c={})=>{ba(r.current,c1),r.current&&(typeof s=="number"?await e.navigate(s):await e.navigate(s,{fromRouteId:a,...c}))},[e,a])}var E0={};function h1(e,a,r){!a&&!E0[e]&&(E0[e]=!0,ba(!1,r))}b.memo(oR);function oR({routes:e,future:a,state:r,onError:o}){return d1(e,void 0,r,o,a)}function Uc({to:e,replace:a,state:r,relative:o}){_t(Vl()," may be used only in the context of a component.");let{static:s}=b.useContext(In);ba(!s," must not be used on the initial render in a . This is a no-op, but you should modify your code so the is only ever rendered in response to some user interaction or state change.");let{matches:c}=b.useContext(wa),{pathname:u}=ur(),f=wu(),m=$p(e,kp(c),u,o==="path"),p=JSON.stringify(m);return b.useEffect(()=>{f(JSON.parse(p),{replace:a,state:r,relative:o})},[f,p,o,a,r]),null}function lR(e){return GT(e.context)}function tn(e){_t(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function sR({basename:e="/",children:a=null,location:r,navigationType:o="POP",navigator:s,static:c=!1,unstable_useTransitions:u}){_t(!Vl(),"You cannot render a inside another . You should never have more than one in your app.");let f=e.replace(/^\/*/,"/"),m=b.useMemo(()=>({basename:f,navigator:s,static:c,unstable_useTransitions:u,future:{}}),[f,s,c,u]);typeof r=="string"&&(r=Hl(r));let{pathname:p="/",search:v="",hash:y="",state:x=null,key:S="default"}=r,w=b.useMemo(()=>{let T=lr(p,f);return T==null?null:{location:{pathname:T,search:v,hash:y,state:x,key:S},navigationType:o}},[f,p,v,y,x,S,o]);return ba(w!=null,` is not able to match the URL "${p}${v}${y}" because it does not start with the basename, so the won't render anything.`),w==null?null:b.createElement(In.Provider,{value:m},b.createElement(di.Provider,{children:a,value:w}))}function iR({children:e,location:a}){return YT(ip(e),a)}function ip(e,a=[]){let r=[];return b.Children.forEach(e,(o,s)=>{if(!b.isValidElement(o))return;let c=[...a,s];if(o.type===b.Fragment){r.push.apply(r,ip(o.props.children,c));return}_t(o.type===tn,`[${typeof o.type=="string"?o.type:o.type.name}] is not a component. All component children of must be a or `),_t(!o.props.index||!o.props.children,"An index route cannot have child routes.");let u={id:o.props.id||c.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=ip(o.props.children,c)),r.push(u)}),r}var Qc="get",Zc="application/x-www-form-urlencoded";function Cu(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function cR(e){return Cu(e)&&e.tagName.toLowerCase()==="button"}function uR(e){return Cu(e)&&e.tagName.toLowerCase()==="form"}function dR(e){return Cu(e)&&e.tagName.toLowerCase()==="input"}function fR(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function hR(e,a){return e.button===0&&(!a||a==="_self")&&!fR(e)}var Hc=null;function pR(){if(Hc===null)try{new FormData(document.createElement("form"),0),Hc=!1}catch{Hc=!0}return Hc}var mR=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function zh(e){return e!=null&&!mR.has(e)?(ba(!1,`"${e}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${Zc}"`),null):e}function gR(e,a){let r,o,s,c,u;if(uR(e)){let f=e.getAttribute("action");o=f?lr(f,a):null,r=e.getAttribute("method")||Qc,s=zh(e.getAttribute("enctype"))||Zc,c=new FormData(e)}else if(cR(e)||dR(e)&&(e.type==="submit"||e.type==="image")){let f=e.form;if(f==null)throw new Error('Cannot submit a