(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))a(n);new MutationObserver(n=>{for(const i of n)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&a(o)}).observe(document,{childList:!0,subtree:!0});function r(n){const i={};return n.integrity&&(i.integrity=n.integrity),n.referrerPolicy&&(i.referrerPolicy=n.referrerPolicy),n.crossOrigin==="use-credentials"?i.credentials="include":n.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function a(n){if(n.ep)return;n.ep=!0;const i=r(n);fetch(n.href,i)}})();var iC={exports:{}},bg={};/** * @license React * react-jsx-runtime.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var yO;function Vee(){if(yO)return bg;yO=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.fragment");function r(a,n,i){var o=null;if(i!==void 0&&(o=""+i),n.key!==void 0&&(o=""+n.key),"key"in n){i={};for(var s in n)s!=="key"&&(i[s]=n[s])}else i=n;return n=i.ref,{$$typeof:t,type:a,key:o,ref:n!==void 0?n:null,props:i}}return bg.Fragment=e,bg.jsx=r,bg.jsxs=r,bg}var xO;function Fee(){return xO||(xO=1,iC.exports=Vee()),iC.exports}var g=Fee(),oC={exports:{}},Yt={};/** * @license React * react.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var bO;function Gee(){if(bO)return Yt;bO=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),n=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),o=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),u=Symbol.for("react.memo"),c=Symbol.for("react.lazy"),d=Symbol.for("react.activity"),h=Symbol.iterator;function v(H){return H===null||typeof H!="object"?null:(H=h&&H[h]||H["@@iterator"],typeof H=="function"?H:null)}var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},x=Object.assign,b={};function w(H,Z,te){this.props=H,this.context=Z,this.refs=b,this.updater=te||m}w.prototype.isReactComponent={},w.prototype.setState=function(H,Z){if(typeof H!="object"&&typeof H!="function"&&H!=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,H,Z,"setState")},w.prototype.forceUpdate=function(H){this.updater.enqueueForceUpdate(this,H,"forceUpdate")};function _(){}_.prototype=w.prototype;function T(H,Z,te){this.props=H,this.context=Z,this.refs=b,this.updater=te||m}var C=T.prototype=new _;C.constructor=T,x(C,w.prototype),C.isPureReactComponent=!0;var k=Array.isArray;function A(){}var M={H:null,A:null,T:null,S:null},L=Object.prototype.hasOwnProperty;function R(H,Z,te){var ie=te.ref;return{$$typeof:t,type:H,key:Z,ref:ie!==void 0?ie:null,props:te}}function P(H,Z){return R(H.type,Z,H.props)}function j(H){return typeof H=="object"&&H!==null&&H.$$typeof===t}function V(H){var Z={"=":"=0",":":"=2"};return"$"+H.replace(/[=:]/g,function(te){return Z[te]})}var I=/\/+/g;function F(H,Z){return typeof H=="object"&&H!==null&&H.key!=null?V(""+H.key):Z.toString(36)}function G(H){switch(H.status){case"fulfilled":return H.value;case"rejected":throw H.reason;default:switch(typeof H.status=="string"?H.then(A,A):(H.status="pending",H.then(function(Z){H.status==="pending"&&(H.status="fulfilled",H.value=Z)},function(Z){H.status==="pending"&&(H.status="rejected",H.reason=Z)})),H.status){case"fulfilled":return H.value;case"rejected":throw H.reason}}throw H}function O(H,Z,te,ie,ce){var me=typeof H;(me==="undefined"||me==="boolean")&&(H=null);var ze=!1;if(H===null)ze=!0;else switch(me){case"bigint":case"string":case"number":ze=!0;break;case"object":switch(H.$$typeof){case t:case e:ze=!0;break;case c:return ze=H._init,O(ze(H._payload),Z,te,ie,ce)}}if(ze)return ce=ce(H),ze=ie===""?"."+F(H,0):ie,k(ce)?(te="",ze!=null&&(te=ze.replace(I,"$&/")+"/"),O(ce,Z,te,"",function(Be){return Be})):ce!=null&&(j(ce)&&(ce=P(ce,te+(ce.key==null||H&&H.key===ce.key?"":(""+ce.key).replace(I,"$&/")+"/")+ze)),Z.push(ce)),1;ze=0;var Ce=ie===""?".":ie+":";if(k(H))for(var ge=0;ge>>1,q=O[K];if(0>>1;Kn(te,$))ien(ce,te)?(O[K]=ce,O[ie]=$,K=ie):(O[K]=te,O[Z]=$,K=Z);else if(ien(ce,$))O[K]=ce,O[ie]=$,K=ie;else break e}}return U}function n(O,U){var $=O.sortIndex-U.sortIndex;return $!==0?$:O.id-U.id}if(t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var i=performance;t.unstable_now=function(){return i.now()}}else{var o=Date,s=o.now();t.unstable_now=function(){return o.now()-s}}var l=[],u=[],c=1,d=null,h=3,v=!1,m=!1,x=!1,b=!1,w=typeof setTimeout=="function"?setTimeout:null,_=typeof clearTimeout=="function"?clearTimeout:null,T=typeof setImmediate<"u"?setImmediate:null;function C(O){for(var U=r(u);U!==null;){if(U.callback===null)a(u);else if(U.startTime<=O)a(u),U.sortIndex=U.expirationTime,e(l,U);else break;U=r(u)}}function k(O){if(x=!1,C(O),!m)if(r(l)!==null)m=!0,A||(A=!0,V());else{var U=r(u);U!==null&&G(k,U.startTime-O)}}var A=!1,M=-1,L=5,R=-1;function P(){return b?!0:!(t.unstable_now()-RO&&P());){var K=d.callback;if(typeof K=="function"){d.callback=null,h=d.priorityLevel;var q=K(d.expirationTime<=O);if(O=t.unstable_now(),typeof q=="function"){d.callback=q,C(O),U=!0;break t}d===r(l)&&a(l),C(O)}else a(l);d=r(l)}if(d!==null)U=!0;else{var H=r(u);H!==null&&G(k,H.startTime-O),U=!1}}break e}finally{d=null,h=$,v=!1}U=void 0}}finally{U?V():A=!1}}}var V;if(typeof T=="function")V=function(){T(j)};else if(typeof MessageChannel<"u"){var I=new MessageChannel,F=I.port2;I.port1.onmessage=j,V=function(){F.postMessage(null)}}else V=function(){w(j,0)};function G(O,U){M=w(function(){O(t.unstable_now())},U)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(O){O.callback=null},t.unstable_forceFrameRate=function(O){0>O||125K?(O.sortIndex=$,e(u,O),r(l)===null&&O===r(u)&&(x?(_(M),M=-1):x=!0,G(k,$-K))):(O.sortIndex=q,e(l,O),m||v||(m=!0,A||(A=!0,V()))),O},t.unstable_shouldYield=P,t.unstable_wrapCallback=function(O){var U=h;return function(){var $=h;h=U;try{return O.apply(this,arguments)}finally{h=$}}}})(uC)),uC}var _O;function Uee(){return _O||(_O=1,lC.exports=Hee()),lC.exports}var cC={exports:{}},Ai={};/** * @license React * react-dom.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var TO;function $ee(){if(TO)return Ai;TO=1;var t=HL();function e(l){var u="https://react.dev/errors/"+l;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),cC.exports=$ee(),cC.exports}/** * @license React * react-dom-client.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var kO;function Wee(){if(kO)return wg;kO=1;var t=Uee(),e=HL(),r=rG();function a(f){var p="https://react.dev/errors/"+f;if(1q||(f.current=K[q],K[q]=null,q--)}function te(f,p){q++,K[q]=f.current,f.current=p}var ie=H(null),ce=H(null),me=H(null),ze=H(null);function Ce(f,p){switch(te(me,p),te(ce,f),te(ie,null),p.nodeType){case 9:case 11:f=(f=p.documentElement)&&(f=f.namespaceURI)?Fj(f):0;break;default:if(f=p.tagName,p=p.namespaceURI)p=Fj(p),f=Gj(p,f);else switch(f){case"svg":f=1;break;case"math":f=2;break;default:f=0}}Z(ie),te(ie,f)}function ge(){Z(ie),Z(ce),Z(me)}function Be(f){f.memoizedState!==null&&te(ze,f);var p=ie.current,y=Gj(p,f.type);p!==y&&(te(ce,f),te(ie,y))}function _e(f){ce.current===f&&(Z(ie),Z(ce)),ze.current===f&&(Z(ze),mg._currentValue=$)}var Oe,xt;function Ye(f){if(Oe===void 0)try{throw Error()}catch(y){var p=y.stack.trim().match(/\n( *(at )?)/);Oe=p&&p[1]||"",xt=-1)":-1N||Q[S]!==he[N]){var Ae=` `+Q[S].replace(" at new "," at ");return f.displayName&&Ae.includes("")&&(Ae=Ae.replace("",f.displayName)),Ae}while(1<=S&&0<=N);break}}}finally{st=!1,Error.prepareStackTrace=y}return(y=f?f.displayName||f.name:"")?Ye(y):""}function At(f,p){switch(f.tag){case 26:case 27:case 5:return Ye(f.type);case 16:return Ye("Lazy");case 13:return f.child!==p&&p!==null?Ye("Suspense Fallback"):Ye("Suspense");case 19:return Ye("SuspenseList");case 0:case 15:return We(f.type,!1);case 11:return We(f.type.render,!1);case 1:return We(f.type,!0);case 31:return Ye("Activity");default:return""}}function kt(f){try{var p="",y=null;do p+=At(f,y),y=f,f=f.return;while(f);return p}catch(S){return` Error generating stack: `+S.message+` `+S.stack}}var Jt=Object.prototype.hasOwnProperty,Nr=t.unstable_scheduleCallback,rr=t.unstable_cancelCallback,Fe=t.unstable_shouldYield,Mt=t.unstable_requestPaint,dr=t.unstable_now,ar=t.unstable_getCurrentPriorityLevel,sa=t.unstable_ImmediatePriority,va=t.unstable_UserBlockingPriority,rn=t.unstable_NormalPriority,wa=t.unstable_LowPriority,En=t.unstable_IdlePriority,pa=t.log,an=t.unstable_setDisableYieldValue,gr=null,Ar=null;function Hr(f){if(typeof pa=="function"&&an(f),Ar&&typeof Ar.setStrictMode=="function")try{Ar.setStrictMode(gr,f)}catch{}}var ye=Math.clz32?Math.clz32:xe,Rt=Math.log,Te=Math.LN2;function xe(f){return f>>>=0,f===0?32:31-(Rt(f)/Te|0)|0}var Pt=256,bt=262144,Vt=4194304;function Zt(f){var p=f&42;if(p!==0)return p;switch(f&-f){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 f&261888;case 262144:case 524288:case 1048576:case 2097152:return f&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return f&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return f}}function nr(f,p,y){var S=f.pendingLanes;if(S===0)return 0;var N=0,D=f.suspendedLanes,B=f.pingedLanes;f=f.warmLanes;var W=S&134217727;return W!==0?(S=W&~D,S!==0?N=Zt(S):(B&=W,B!==0?N=Zt(B):y||(y=W&~f,y!==0&&(N=Zt(y))))):(W=S&~D,W!==0?N=Zt(W):B!==0?N=Zt(B):y||(y=S&~f,y!==0&&(N=Zt(y)))),N===0?0:p!==0&&p!==N&&(p&D)===0&&(D=N&-N,y=p&-p,D>=y||D===32&&(y&4194048)!==0)?p:N}function _r(f,p){return(f.pendingLanes&~(f.suspendedLanes&~f.pingedLanes)&p)===0}function ma(f,p){switch(f){case 1:case 2:case 4:case 8:case 64:return p+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 p+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 Mr(){var f=Vt;return Vt<<=1,(Vt&62914560)===0&&(Vt=4194304),f}function Zr(f){for(var p=[],y=0;31>y;y++)p.push(f);return p}function za(f,p){f.pendingLanes|=p,p!==268435456&&(f.suspendedLanes=0,f.pingedLanes=0,f.warmLanes=0)}function la(f,p,y,S,N,D){var B=f.pendingLanes;f.pendingLanes=y,f.suspendedLanes=0,f.pingedLanes=0,f.warmLanes=0,f.expiredLanes&=y,f.entangledLanes&=y,f.errorRecoveryDisabledLanes&=y,f.shellSuspendCounter=0;var W=f.entanglements,Q=f.expirationTimes,he=f.hiddenUpdates;for(y=B&~y;0"u")return null;try{return f.activeElement||f.body}catch{return f.body}}var Kn=/[\n"\\]/g;function _a(f){return f.replace(Kn,function(p){return"\\"+p.charCodeAt(0).toString(16)+" "})}function _s(f,p,y,S,N,D,B,W){f.name="",B!=null&&typeof B!="function"&&typeof B!="symbol"&&typeof B!="boolean"?f.type=B:f.removeAttribute("type"),p!=null?B==="number"?(p===0&&f.value===""||f.value!=p)&&(f.value=""+La(p)):f.value!==""+La(p)&&(f.value=""+La(p)):B!=="submit"&&B!=="reset"||f.removeAttribute("value"),p!=null?J(f,B,La(p)):y!=null?J(f,B,La(y)):S!=null&&f.removeAttribute("value"),N==null&&D!=null&&(f.defaultChecked=!!D),N!=null&&(f.checked=N&&typeof N!="function"&&typeof N!="symbol"),W!=null&&typeof W!="function"&&typeof W!="symbol"&&typeof W!="boolean"?f.name=""+La(W):f.removeAttribute("name")}function Si(f,p,y,S,N,D,B,W){if(D!=null&&typeof D!="function"&&typeof D!="symbol"&&typeof D!="boolean"&&(f.type=D),p!=null||y!=null){if(!(D!=="submit"&&D!=="reset"||p!=null)){zi(f);return}y=y!=null?""+La(y):"",p=p!=null?""+La(p):y,W||p===f.value||(f.value=p),f.defaultValue=p}S=S??N,S=typeof S!="function"&&typeof S!="symbol"&&!!S,f.checked=W?f.checked:!!S,f.defaultChecked=!!S,B!=null&&typeof B!="function"&&typeof B!="symbol"&&typeof B!="boolean"&&(f.name=B),zi(f)}function J(f,p,y){p==="number"&&Or(f.ownerDocument)===f||f.defaultValue===""+y||(f.defaultValue=""+y)}function Me(f,p,y,S){if(f=f.options,p){p={};for(var N=0;N"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),zn=!1;if(Dt)try{var bn={};Object.defineProperty(bn,"passive",{get:function(){zn=!0}}),window.addEventListener("test",bn,bn),window.removeEventListener("test",bn,bn)}catch{zn=!1}var Ta=null,Bn=null,Jn=null;function ca(){if(Jn)return Jn;var f,p=Bn,y=p.length,S,N="value"in Ta?Ta.value:Ta.textContent,D=N.length;for(f=0;f=As),vc=" ",fu=!1;function Jd(f,p){switch(f){case"keyup":return fc.indexOf(p.keyCode)!==-1;case"keydown":return p.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ev(f){return f=f.detail,typeof f=="object"&&"data"in f?f.data:null}var Ms=!1;function Em(f,p){switch(f){case"compositionend":return ev(p);case"keypress":return p.which!==32?null:(fu=!0,vc);case"textInput":return f=p.data,f===vc&&fu?null:f;default:return null}}function Rm(f,p){if(Ms)return f==="compositionend"||!du&&Jd(f,p)?(f=ca(),Jn=Bn=Ta=null,Ms=!1,f):null;switch(f){case"paste":return null;case"keypress":if(!(p.ctrlKey||p.altKey||p.metaKey)||p.ctrlKey&&p.altKey){if(p.char&&1=p)return{node:y,offset:p-f};f=S}e:{for(;y;){if(y.nextSibling){y=y.nextSibling;break e}y=y.parentNode}y=void 0}y=bo(y)}}function hl(f,p){return f&&p?f===p?!0:f&&f.nodeType===3?!1:p&&p.nodeType===3?hl(f,p.parentNode):"contains"in f?f.contains(p):f.compareDocumentPosition?!!(f.compareDocumentPosition(p)&16):!1:!1}function vu(f){f=f!=null&&f.ownerDocument!=null&&f.ownerDocument.defaultView!=null?f.ownerDocument.defaultView:window;for(var p=Or(f.document);p instanceof f.HTMLIFrameElement;){try{var y=typeof p.contentWindow.location.href=="string"}catch{y=!1}if(y)f=p.contentWindow;else break;p=Or(f.document)}return p}function pc(f){var p=f&&f.nodeName&&f.nodeName.toLowerCase();return p&&(p==="input"&&(f.type==="text"||f.type==="search"||f.type==="tel"||f.type==="url"||f.type==="password")||p==="textarea"||f.contentEditable==="true")}var y2=Dt&&"documentMode"in document&&11>=document.documentMode,mc=null,Bm=null,ef=null,Vm=!1;function Fm(f,p,y){var S=y.window===y?y.document:y.nodeType===9?y:y.ownerDocument;Vm||mc==null||mc!==Or(S)||(S=mc,"selectionStart"in S&&pc(S)?S={start:S.selectionStart,end:S.selectionEnd}:(S=(S.ownerDocument&&S.ownerDocument.defaultView||window).getSelection(),S={anchorNode:S.anchorNode,anchorOffset:S.anchorOffset,focusNode:S.focusNode,focusOffset:S.focusOffset}),ef&&ki(ef,S)||(ef=S,S=Jx(Bm,"onSelect"),0>=B,N-=B,pl=1<<32-ye(p)+N|y<er?(br=yt,yt=null):br=yt.sibling;var Er=pe(ue,yt,fe[er],De);if(Er===null){yt===null&&(yt=br);break}f&&yt&&Er.alternate===null&&p(ue,yt),ae=D(Er,ae,er),Lr===null?_t=Er:Lr.sibling=Er,Lr=Er,yt=br}if(er===fe.length)return y(ue,yt),Sr&&mu(ue,er),_t;if(yt===null){for(;erer?(br=yt,yt=null):br=yt.sibling;var Bc=pe(ue,yt,Er.value,De);if(Bc===null){yt===null&&(yt=br);break}f&&yt&&Bc.alternate===null&&p(ue,yt),ae=D(Bc,ae,er),Lr===null?_t=Bc:Lr.sibling=Bc,Lr=Bc,yt=br}if(Er.done)return y(ue,yt),Sr&&mu(ue,er),_t;if(yt===null){for(;!Er.done;er++,Er=fe.next())Er=Ee(ue,Er.value,De),Er!==null&&(ae=D(Er,ae,er),Lr===null?_t=Er:Lr.sibling=Er,Lr=Er);return Sr&&mu(ue,er),_t}for(yt=S(yt);!Er.done;er++,Er=fe.next())Er=we(yt,ue,er,Er.value,De),Er!==null&&(f&&Er.alternate!==null&&yt.delete(Er.key===null?er:Er.key),ae=D(Er,ae,er),Lr===null?_t=Er:Lr.sibling=Er,Lr=Er);return f&&yt.forEach(function(Bee){return p(ue,Bee)}),Sr&&mu(ue,er),_t}function aa(ue,ae,fe,De){if(typeof fe=="object"&&fe!==null&&fe.type===x&&fe.key===null&&(fe=fe.props.children),typeof fe=="object"&&fe!==null){switch(fe.$$typeof){case v:e:{for(var _t=fe.key;ae!==null;){if(ae.key===_t){if(_t=fe.type,_t===x){if(ae.tag===7){y(ue,ae.sibling),De=N(ae,fe.props.children),De.return=ue,ue=De;break e}}else if(ae.elementType===_t||typeof _t=="object"&&_t!==null&&_t.$$typeof===L&&uf(_t)===ae.type){y(ue,ae.sibling),De=N(ae,fe.props),Ym(De,fe),De.return=ue,ue=De;break e}y(ue,ae);break}else p(ue,ae);ae=ae.sibling}fe.type===x?(De=af(fe.props.children,ue.mode,De,fe.key),De.return=ue,ue=De):(De=px(fe.type,fe.key,fe.props,null,ue.mode,De),Ym(De,fe),De.return=ue,ue=De)}return B(ue);case m:e:{for(_t=fe.key;ae!==null;){if(ae.key===_t)if(ae.tag===4&&ae.stateNode.containerInfo===fe.containerInfo&&ae.stateNode.implementation===fe.implementation){y(ue,ae.sibling),De=N(ae,fe.children||[]),De.return=ue,ue=De;break e}else{y(ue,ae);break}else p(ue,ae);ae=ae.sibling}De=_2(fe,ue.mode,De),De.return=ue,ue=De}return B(ue);case L:return fe=uf(fe),aa(ue,ae,fe,De)}if(G(fe))return ft(ue,ae,fe,De);if(V(fe)){if(_t=V(fe),typeof _t!="function")throw Error(a(150));return fe=_t.call(fe),Lt(ue,ae,fe,De)}if(typeof fe.then=="function")return aa(ue,ae,_x(fe),De);if(fe.$$typeof===T)return aa(ue,ae,yx(ue,fe),De);Tx(ue,fe)}return typeof fe=="string"&&fe!==""||typeof fe=="number"||typeof fe=="bigint"?(fe=""+fe,ae!==null&&ae.tag===6?(y(ue,ae.sibling),De=N(ae,fe),De.return=ue,ue=De):(y(ue,ae),De=S2(fe,ue.mode,De),De.return=ue,ue=De),B(ue)):y(ue,ae)}return function(ue,ae,fe,De){try{Wm=0;var _t=aa(ue,ae,fe,De);return dv=null,_t}catch(yt){if(yt===cv||yt===bx)throw yt;var Lr=wo(29,yt,null,ue.mode);return Lr.lanes=De,Lr.return=ue,Lr}finally{}}}var df=EP(!0),RP=EP(!1),Sc=!1;function I2(f){f.updateQueue={baseState:f.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function j2(f,p){f=f.updateQueue,p.updateQueue===f&&(p.updateQueue={baseState:f.baseState,firstBaseUpdate:f.firstBaseUpdate,lastBaseUpdate:f.lastBaseUpdate,shared:f.shared,callbacks:null})}function _c(f){return{lane:f,tag:0,payload:null,callback:null,next:null}}function Tc(f,p,y){var S=f.updateQueue;if(S===null)return null;if(S=S.shared,(Pr&2)!==0){var N=S.pending;return N===null?p.next=p:(p.next=N.next,N.next=p),S.pending=p,p=vx(f),mP(f,null,y),p}return hx(f,S,p,y),vx(f)}function Xm(f,p,y){if(p=p.updateQueue,p!==null&&(p=p.shared,(y&4194048)!==0)){var S=p.lanes;S&=f.pendingLanes,y|=S,p.lanes=y,Da(f,y)}}function O2(f,p){var y=f.updateQueue,S=f.alternate;if(S!==null&&(S=S.updateQueue,y===S)){var N=null,D=null;if(y=y.firstBaseUpdate,y!==null){do{var B={lane:y.lane,tag:y.tag,payload:y.payload,callback:null,next:null};D===null?N=D=B:D=D.next=B,y=y.next}while(y!==null);D===null?N=D=p:D=D.next=p}else N=D=p;y={baseState:S.baseState,firstBaseUpdate:N,lastBaseUpdate:D,shared:S.shared,callbacks:S.callbacks},f.updateQueue=y;return}f=y.lastBaseUpdate,f===null?y.firstBaseUpdate=p:f.next=p,y.lastBaseUpdate=p}var z2=!1;function qm(){if(z2){var f=uv;if(f!==null)throw f}}function Zm(f,p,y,S){z2=!1;var N=f.updateQueue;Sc=!1;var D=N.firstBaseUpdate,B=N.lastBaseUpdate,W=N.shared.pending;if(W!==null){N.shared.pending=null;var Q=W,he=Q.next;Q.next=null,B===null?D=he:B.next=he,B=Q;var Ae=f.alternate;Ae!==null&&(Ae=Ae.updateQueue,W=Ae.lastBaseUpdate,W!==B&&(W===null?Ae.firstBaseUpdate=he:W.next=he,Ae.lastBaseUpdate=Q))}if(D!==null){var Ee=N.baseState;B=0,Ae=he=Q=null,W=D;do{var pe=W.lane&-536870913,we=pe!==W.lane;if(we?(xr&pe)===pe:(S&pe)===pe){pe!==0&&pe===lv&&(z2=!0),Ae!==null&&(Ae=Ae.next={lane:0,tag:W.tag,payload:W.payload,callback:null,next:null});e:{var ft=f,Lt=W;pe=p;var aa=y;switch(Lt.tag){case 1:if(ft=Lt.payload,typeof ft=="function"){Ee=ft.call(aa,Ee,pe);break e}Ee=ft;break e;case 3:ft.flags=ft.flags&-65537|128;case 0:if(ft=Lt.payload,pe=typeof ft=="function"?ft.call(aa,Ee,pe):ft,pe==null)break e;Ee=d({},Ee,pe);break e;case 2:Sc=!0}}pe=W.callback,pe!==null&&(f.flags|=64,we&&(f.flags|=8192),we=N.callbacks,we===null?N.callbacks=[pe]:we.push(pe))}else we={lane:pe,tag:W.tag,payload:W.payload,callback:W.callback,next:null},Ae===null?(he=Ae=we,Q=Ee):Ae=Ae.next=we,B|=pe;if(W=W.next,W===null){if(W=N.shared.pending,W===null)break;we=W,W=we.next,we.next=null,N.lastBaseUpdate=we,N.shared.pending=null}}while(!0);Ae===null&&(Q=Ee),N.baseState=Q,N.firstBaseUpdate=he,N.lastBaseUpdate=Ae,D===null&&(N.shared.lanes=0),Mc|=B,f.lanes=B,f.memoizedState=Ee}}function PP(f,p){if(typeof f!="function")throw Error(a(191,f));f.call(p)}function IP(f,p){var y=f.callbacks;if(y!==null)for(f.callbacks=null,f=0;fD?D:8;var B=O.T,W={};O.T=W,aT(f,!1,p,y);try{var Q=N(),he=O.S;if(he!==null&&he(W,Q),Q!==null&&typeof Q=="object"&&typeof Q.then=="function"){var Ae=AJ(Q,S);Jm(f,p,Ae,ko(f))}else Jm(f,p,S,ko(f))}catch(Ee){Jm(f,p,{then:function(){},status:"rejected",reason:Ee},ko())}finally{U.p=D,B!==null&&W.types!==null&&(B.types=W.types),O.T=B}}function PJ(){}function tT(f,p,y,S){if(f.tag!==5)throw Error(a(476));var N=hI(f).queue;fI(f,N,p,$,y===null?PJ:function(){return vI(f),y(S)})}function hI(f){var p=f.memoizedState;if(p!==null)return p;p={memoizedState:$,baseState:$,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:bu,lastRenderedState:$},next:null};var y={};return p.next={memoizedState:y,baseState:y,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:bu,lastRenderedState:y},next:null},f.memoizedState=p,f=f.alternate,f!==null&&(f.memoizedState=p),p}function vI(f){var p=hI(f);p.next===null&&(p=f.alternate.memoizedState),Jm(f,p.next.queue,{},ko())}function rT(){return di(mg)}function pI(){return un().memoizedState}function mI(){return un().memoizedState}function IJ(f){for(var p=f.return;p!==null;){switch(p.tag){case 24:case 3:var y=ko();f=_c(y);var S=Tc(p,f,y);S!==null&&(io(S,p,y),Xm(S,p,y)),p={cache:L2()},f.payload=p;return}p=p.return}}function jJ(f,p,y){var S=ko();y={lane:S,revertLane:0,gesture:null,action:y,hasEagerState:!1,eagerState:null,next:null},Px(f)?yI(p,y):(y=b2(f,p,y,S),y!==null&&(io(y,f,S),xI(y,p,S)))}function gI(f,p,y){var S=ko();Jm(f,p,y,S)}function Jm(f,p,y,S){var N={lane:S,revertLane:0,gesture:null,action:y,hasEagerState:!1,eagerState:null,next:null};if(Px(f))yI(p,N);else{var D=f.alternate;if(f.lanes===0&&(D===null||D.lanes===0)&&(D=p.lastRenderedReducer,D!==null))try{var B=p.lastRenderedState,W=D(B,y);if(N.hasEagerState=!0,N.eagerState=W,Ht(W,B))return hx(f,p,N,0),da===null&&fx(),!1}catch{}finally{}if(y=b2(f,p,N,S),y!==null)return io(y,f,S),xI(y,p,S),!0}return!1}function aT(f,p,y,S){if(S={lane:2,revertLane:IT(),gesture:null,action:S,hasEagerState:!1,eagerState:null,next:null},Px(f)){if(p)throw Error(a(479))}else p=b2(f,y,S,2),p!==null&&io(p,f,2)}function Px(f){var p=f.alternate;return f===Kt||p!==null&&p===Kt}function yI(f,p){hv=Nx=!0;var y=f.pending;y===null?p.next=p:(p.next=y.next,y.next=p),f.pending=p}function xI(f,p,y){if((y&4194048)!==0){var S=p.lanes;S&=f.pendingLanes,y|=S,p.lanes=y,Da(f,y)}}var eg={readContext:di,use:Dx,useCallback:Xa,useContext:Xa,useEffect:Xa,useImperativeHandle:Xa,useLayoutEffect:Xa,useInsertionEffect:Xa,useMemo:Xa,useReducer:Xa,useRef:Xa,useState:Xa,useDebugValue:Xa,useDeferredValue:Xa,useTransition:Xa,useSyncExternalStore:Xa,useId:Xa,useHostTransitionStatus:Xa,useFormState:Xa,useActionState:Xa,useOptimistic:Xa,useMemoCache:Xa,useCacheRefresh:Xa};eg.useEffectEvent=Xa;var bI={readContext:di,use:Dx,useCallback:function(f,p){return Gi().memoizedState=[f,p===void 0?null:p],f},useContext:di,useEffect:aI,useImperativeHandle:function(f,p,y){y=y!=null?y.concat([f]):null,Ex(4194308,4,sI.bind(null,p,f),y)},useLayoutEffect:function(f,p){return Ex(4194308,4,f,p)},useInsertionEffect:function(f,p){Ex(4,2,f,p)},useMemo:function(f,p){var y=Gi();p=p===void 0?null:p;var S=f();if(ff){Hr(!0);try{f()}finally{Hr(!1)}}return y.memoizedState=[S,p],S},useReducer:function(f,p,y){var S=Gi();if(y!==void 0){var N=y(p);if(ff){Hr(!0);try{y(p)}finally{Hr(!1)}}}else N=p;return S.memoizedState=S.baseState=N,f={pending:null,lanes:0,dispatch:null,lastRenderedReducer:f,lastRenderedState:N},S.queue=f,f=f.dispatch=jJ.bind(null,Kt,f),[S.memoizedState,f]},useRef:function(f){var p=Gi();return f={current:f},p.memoizedState=f},useState:function(f){f=Z2(f);var p=f.queue,y=gI.bind(null,Kt,p);return p.dispatch=y,[f.memoizedState,y]},useDebugValue:J2,useDeferredValue:function(f,p){var y=Gi();return eT(y,f,p)},useTransition:function(){var f=Z2(!1);return f=fI.bind(null,Kt,f.queue,!0,!1),Gi().memoizedState=f,[!1,f]},useSyncExternalStore:function(f,p,y){var S=Kt,N=Gi();if(Sr){if(y===void 0)throw Error(a(407));y=y()}else{if(y=p(),da===null)throw Error(a(349));(xr&127)!==0||FP(S,p,y)}N.memoizedState=y;var D={value:y,getSnapshot:p};return N.queue=D,aI(HP.bind(null,S,D,f),[f]),S.flags|=2048,pv(9,{destroy:void 0},GP.bind(null,S,D,y,p),null),y},useId:function(){var f=Gi(),p=da.identifierPrefix;if(Sr){var y=ml,S=pl;y=(S&~(1<<32-ye(S)-1)).toString(32)+y,p="_"+p+"R_"+y,y=Ax++,0<\/script>",D=D.removeChild(D.firstChild);break;case"select":D=typeof S.is=="string"?B.createElement("select",{is:S.is}):B.createElement("select"),S.multiple?D.multiple=!0:S.size&&(D.size=S.size);break;default:D=typeof S.is=="string"?B.createElement(N,{is:S.is}):B.createElement(N)}}D[Ze]=p,D[wr]=S;e:for(B=p.child;B!==null;){if(B.tag===5||B.tag===6)D.appendChild(B.stateNode);else if(B.tag!==4&&B.tag!==27&&B.child!==null){B.child.return=B,B=B.child;continue}if(B===p)break e;for(;B.sibling===null;){if(B.return===null||B.return===p)break e;B=B.return}B.sibling.return=B.return,B=B.sibling}p.stateNode=D;e:switch(hi(D,N,S),N){case"button":case"input":case"select":case"textarea":S=!!S.autoFocus;break e;case"img":S=!0;break e;default:S=!1}S&&Su(p)}}return Aa(p),gT(p,p.type,f===null?null:f.memoizedProps,p.pendingProps,y),null;case 6:if(f&&p.stateNode!=null)f.memoizedProps!==S&&Su(p);else{if(typeof S!="string"&&p.stateNode===null)throw Error(a(166));if(f=me.current,ov(p)){if(f=p.stateNode,y=p.memoizedProps,S=null,N=ci,N!==null)switch(N.tag){case 27:case 5:S=N.memoizedProps}f[Ze]=p,f=!!(f.nodeValue===y||S!==null&&S.suppressHydrationWarning===!0||Bj(f.nodeValue,y)),f||bc(p,!0)}else f=eb(f).createTextNode(S),f[Ze]=p,p.stateNode=f}return Aa(p),null;case 31:if(y=p.memoizedState,f===null||f.memoizedState!==null){if(S=ov(p),y!==null){if(f===null){if(!S)throw Error(a(318));if(f=p.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error(a(557));f[Ze]=p}else nf(),(p.flags&128)===0&&(p.memoizedState=null),p.flags|=4;Aa(p),f=!1}else y=N2(),f!==null&&f.memoizedState!==null&&(f.memoizedState.hydrationErrors=y),f=!0;if(!f)return p.flags&256?(_o(p),p):(_o(p),null);if((p.flags&128)!==0)throw Error(a(558))}return Aa(p),null;case 13:if(S=p.memoizedState,f===null||f.memoizedState!==null&&f.memoizedState.dehydrated!==null){if(N=ov(p),S!==null&&S.dehydrated!==null){if(f===null){if(!N)throw Error(a(318));if(N=p.memoizedState,N=N!==null?N.dehydrated:null,!N)throw Error(a(317));N[Ze]=p}else nf(),(p.flags&128)===0&&(p.memoizedState=null),p.flags|=4;Aa(p),N=!1}else N=N2(),f!==null&&f.memoizedState!==null&&(f.memoizedState.hydrationErrors=N),N=!0;if(!N)return p.flags&256?(_o(p),p):(_o(p),null)}return _o(p),(p.flags&128)!==0?(p.lanes=y,p):(y=S!==null,f=f!==null&&f.memoizedState!==null,y&&(S=p.child,N=null,S.alternate!==null&&S.alternate.memoizedState!==null&&S.alternate.memoizedState.cachePool!==null&&(N=S.alternate.memoizedState.cachePool.pool),D=null,S.memoizedState!==null&&S.memoizedState.cachePool!==null&&(D=S.memoizedState.cachePool.pool),D!==N&&(S.flags|=2048)),y!==f&&y&&(p.child.flags|=8192),Bx(p,p.updateQueue),Aa(p),null);case 4:return ge(),f===null&&BT(p.stateNode.containerInfo),Aa(p),null;case 10:return yu(p.type),Aa(p),null;case 19:if(Z(ln),S=p.memoizedState,S===null)return Aa(p),null;if(N=(p.flags&128)!==0,D=S.rendering,D===null)if(N)rg(S,!1);else{if(qa!==0||f!==null&&(f.flags&128)!==0)for(f=p.child;f!==null;){if(D=kx(f),D!==null){for(p.flags|=128,rg(S,!1),f=D.updateQueue,p.updateQueue=f,Bx(p,f),p.subtreeFlags=0,f=y,y=p.child;y!==null;)gP(y,f),y=y.sibling;return te(ln,ln.current&1|2),Sr&&mu(p,S.treeForkCount),p.child}f=f.sibling}S.tail!==null&&dr()>Ux&&(p.flags|=128,N=!0,rg(S,!1),p.lanes=4194304)}else{if(!N)if(f=kx(D),f!==null){if(p.flags|=128,N=!0,f=f.updateQueue,p.updateQueue=f,Bx(p,f),rg(S,!0),S.tail===null&&S.tailMode==="hidden"&&!D.alternate&&!Sr)return Aa(p),null}else 2*dr()-S.renderingStartTime>Ux&&y!==536870912&&(p.flags|=128,N=!0,rg(S,!1),p.lanes=4194304);S.isBackwards?(D.sibling=p.child,p.child=D):(f=S.last,f!==null?f.sibling=D:p.child=D,S.last=D)}return S.tail!==null?(f=S.tail,S.rendering=f,S.tail=f.sibling,S.renderingStartTime=dr(),f.sibling=null,y=ln.current,te(ln,N?y&1|2:y&1),Sr&&mu(p,S.treeForkCount),f):(Aa(p),null);case 22:case 23:return _o(p),V2(),S=p.memoizedState!==null,f!==null?f.memoizedState!==null!==S&&(p.flags|=8192):S&&(p.flags|=8192),S?(y&536870912)!==0&&(p.flags&128)===0&&(Aa(p),p.subtreeFlags&6&&(p.flags|=8192)):Aa(p),y=p.updateQueue,y!==null&&Bx(p,y.retryQueue),y=null,f!==null&&f.memoizedState!==null&&f.memoizedState.cachePool!==null&&(y=f.memoizedState.cachePool.pool),S=null,p.memoizedState!==null&&p.memoizedState.cachePool!==null&&(S=p.memoizedState.cachePool.pool),S!==y&&(p.flags|=2048),f!==null&&Z(lf),null;case 24:return y=null,f!==null&&(y=f.memoizedState.cache),p.memoizedState.cache!==y&&(p.flags|=2048),yu(wn),Aa(p),null;case 25:return null;case 30:return null}throw Error(a(156,p.tag))}function FJ(f,p){switch(C2(p),p.tag){case 1:return f=p.flags,f&65536?(p.flags=f&-65537|128,p):null;case 3:return yu(wn),ge(),f=p.flags,(f&65536)!==0&&(f&128)===0?(p.flags=f&-65537|128,p):null;case 26:case 27:case 5:return _e(p),null;case 31:if(p.memoizedState!==null){if(_o(p),p.alternate===null)throw Error(a(340));nf()}return f=p.flags,f&65536?(p.flags=f&-65537|128,p):null;case 13:if(_o(p),f=p.memoizedState,f!==null&&f.dehydrated!==null){if(p.alternate===null)throw Error(a(340));nf()}return f=p.flags,f&65536?(p.flags=f&-65537|128,p):null;case 19:return Z(ln),null;case 4:return ge(),null;case 10:return yu(p.type),null;case 22:case 23:return _o(p),V2(),f!==null&&Z(lf),f=p.flags,f&65536?(p.flags=f&-65537|128,p):null;case 24:return yu(wn),null;case 25:return null;default:return null}}function UI(f,p){switch(C2(p),p.tag){case 3:yu(wn),ge();break;case 26:case 27:case 5:_e(p);break;case 4:ge();break;case 31:p.memoizedState!==null&&_o(p);break;case 13:_o(p);break;case 19:Z(ln);break;case 10:yu(p.type);break;case 22:case 23:_o(p),V2(),f!==null&&Z(lf);break;case 24:yu(wn)}}function ag(f,p){try{var y=p.updateQueue,S=y!==null?y.lastEffect:null;if(S!==null){var N=S.next;y=N;do{if((y.tag&f)===f){S=void 0;var D=y.create,B=y.inst;S=D(),B.destroy=S}y=y.next}while(y!==N)}}catch(W){Wr(p,p.return,W)}}function Nc(f,p,y){try{var S=p.updateQueue,N=S!==null?S.lastEffect:null;if(N!==null){var D=N.next;S=D;do{if((S.tag&f)===f){var B=S.inst,W=B.destroy;if(W!==void 0){B.destroy=void 0,N=p;var Q=y,he=W;try{he()}catch(Ae){Wr(N,Q,Ae)}}}S=S.next}while(S!==D)}}catch(Ae){Wr(p,p.return,Ae)}}function $I(f){var p=f.updateQueue;if(p!==null){var y=f.stateNode;try{IP(p,y)}catch(S){Wr(f,f.return,S)}}}function WI(f,p,y){y.props=hf(f.type,f.memoizedProps),y.state=f.memoizedState;try{y.componentWillUnmount()}catch(S){Wr(f,p,S)}}function ng(f,p){try{var y=f.ref;if(y!==null){switch(f.tag){case 26:case 27:case 5:var S=f.stateNode;break;case 30:S=f.stateNode;break;default:S=f.stateNode}typeof y=="function"?f.refCleanup=y(S):y.current=S}}catch(N){Wr(f,p,N)}}function gl(f,p){var y=f.ref,S=f.refCleanup;if(y!==null)if(typeof S=="function")try{S()}catch(N){Wr(f,p,N)}finally{f.refCleanup=null,f=f.alternate,f!=null&&(f.refCleanup=null)}else if(typeof y=="function")try{y(null)}catch(N){Wr(f,p,N)}else y.current=null}function YI(f){var p=f.type,y=f.memoizedProps,S=f.stateNode;try{e:switch(p){case"button":case"input":case"select":case"textarea":y.autoFocus&&S.focus();break e;case"img":y.src?S.src=y.src:y.srcSet&&(S.srcset=y.srcSet)}}catch(N){Wr(f,f.return,N)}}function yT(f,p,y){try{var S=f.stateNode;uee(S,f.type,y,p),S[wr]=p}catch(N){Wr(f,f.return,N)}}function XI(f){return f.tag===5||f.tag===3||f.tag===26||f.tag===27&&Pc(f.type)||f.tag===4}function xT(f){e:for(;;){for(;f.sibling===null;){if(f.return===null||XI(f.return))return null;f=f.return}for(f.sibling.return=f.return,f=f.sibling;f.tag!==5&&f.tag!==6&&f.tag!==18;){if(f.tag===27&&Pc(f.type)||f.flags&2||f.child===null||f.tag===4)continue e;f.child.return=f,f=f.child}if(!(f.flags&2))return f.stateNode}}function bT(f,p,y){var S=f.tag;if(S===5||S===6)f=f.stateNode,p?(y.nodeType===9?y.body:y.nodeName==="HTML"?y.ownerDocument.body:y).insertBefore(f,p):(p=y.nodeType===9?y.body:y.nodeName==="HTML"?y.ownerDocument.body:y,p.appendChild(f),y=y._reactRootContainer,y!=null||p.onclick!==null||(p.onclick=Ya));else if(S!==4&&(S===27&&Pc(f.type)&&(y=f.stateNode,p=null),f=f.child,f!==null))for(bT(f,p,y),f=f.sibling;f!==null;)bT(f,p,y),f=f.sibling}function Vx(f,p,y){var S=f.tag;if(S===5||S===6)f=f.stateNode,p?y.insertBefore(f,p):y.appendChild(f);else if(S!==4&&(S===27&&Pc(f.type)&&(y=f.stateNode),f=f.child,f!==null))for(Vx(f,p,y),f=f.sibling;f!==null;)Vx(f,p,y),f=f.sibling}function qI(f){var p=f.stateNode,y=f.memoizedProps;try{for(var S=f.type,N=p.attributes;N.length;)p.removeAttributeNode(N[0]);hi(p,S,y),p[Ze]=f,p[wr]=y}catch(D){Wr(f,f.return,D)}}var _u=!1,Tn=!1,wT=!1,ZI=typeof WeakSet=="function"?WeakSet:Set,ti=null;function GJ(f,p){if(f=f.containerInfo,GT=sb,f=vu(f),pc(f)){if("selectionStart"in f)var y={start:f.selectionStart,end:f.selectionEnd};else e:{y=(y=f.ownerDocument)&&y.defaultView||window;var S=y.getSelection&&y.getSelection();if(S&&S.rangeCount!==0){y=S.anchorNode;var N=S.anchorOffset,D=S.focusNode;S=S.focusOffset;try{y.nodeType,D.nodeType}catch{y=null;break e}var B=0,W=-1,Q=-1,he=0,Ae=0,Ee=f,pe=null;t:for(;;){for(var we;Ee!==y||N!==0&&Ee.nodeType!==3||(W=B+N),Ee!==D||S!==0&&Ee.nodeType!==3||(Q=B+S),Ee.nodeType===3&&(B+=Ee.nodeValue.length),(we=Ee.firstChild)!==null;)pe=Ee,Ee=we;for(;;){if(Ee===f)break t;if(pe===y&&++he===N&&(W=B),pe===D&&++Ae===S&&(Q=B),(we=Ee.nextSibling)!==null)break;Ee=pe,pe=Ee.parentNode}Ee=we}y=W===-1||Q===-1?null:{start:W,end:Q}}else y=null}y=y||{start:0,end:0}}else y=null;for(HT={focusedElem:f,selectionRange:y},sb=!1,ti=p;ti!==null;)if(p=ti,f=p.child,(p.subtreeFlags&1028)!==0&&f!==null)f.return=p,ti=f;else for(;ti!==null;){switch(p=ti,D=p.alternate,f=p.flags,p.tag){case 0:if((f&4)!==0&&(f=p.updateQueue,f=f!==null?f.events:null,f!==null))for(y=0;y title"))),hi(D,S,y),D[Ze]=f,fr(D),S=D;break e;case"link":var B=rO("link","href",N).get(S+(y.href||""));if(B){for(var W=0;Waa&&(B=aa,aa=Lt,Lt=B);var ue=sn(W,Lt),ae=sn(W,aa);if(ue&&ae&&(we.rangeCount!==1||we.anchorNode!==ue.node||we.anchorOffset!==ue.offset||we.focusNode!==ae.node||we.focusOffset!==ae.offset)){var fe=Ee.createRange();fe.setStart(ue.node,ue.offset),we.removeAllRanges(),Lt>aa?(we.addRange(fe),we.extend(ae.node,ae.offset)):(fe.setEnd(ae.node,ae.offset),we.addRange(fe))}}}}for(Ee=[],we=W;we=we.parentNode;)we.nodeType===1&&Ee.push({element:we,left:we.scrollLeft,top:we.scrollTop});for(typeof W.focus=="function"&&W.focus(),W=0;Wy?32:y,O.T=null,y=AT,AT=null;var D=Lc,B=Au;if(Hn=0,bv=Lc=null,Au=0,(Pr&6)!==0)throw Error(a(331));var W=Pr;if(Pr|=4,sj(D.current),nj(D,D.current,B,y),Pr=W,cg(0,!1),Ar&&typeof Ar.onPostCommitFiberRoot=="function")try{Ar.onPostCommitFiberRoot(gr,D)}catch{}return!0}finally{U.p=N,O.T=S,Cj(f,p)}}function Nj(f,p,y){p=Wo(y,p),p=sT(f.stateNode,p,2),f=Tc(f,p,2),f!==null&&(za(f,2),yl(f))}function Wr(f,p,y){if(f.tag===3)Nj(f,f,y);else for(;p!==null;){if(p.tag===3){Nj(p,f,y);break}else if(p.tag===1){var S=p.stateNode;if(typeof p.type.getDerivedStateFromError=="function"||typeof S.componentDidCatch=="function"&&(Dc===null||!Dc.has(S))){f=Wo(y,f),y=AI(2),S=Tc(p,y,2),S!==null&&(MI(y,S,p,f),za(S,2),yl(S));break}}p=p.return}}function ET(f,p,y){var S=f.pingCache;if(S===null){S=f.pingCache=new $J;var N=new Set;S.set(p,N)}else N=S.get(p),N===void 0&&(N=new Set,S.set(p,N));N.has(y)||(TT=!0,N.add(y),f=ZJ.bind(null,f,p,y),p.then(f,f))}function ZJ(f,p,y){var S=f.pingCache;S!==null&&S.delete(p),f.pingedLanes|=f.suspendedLanes&y,f.warmLanes&=~y,da===f&&(xr&y)===y&&(qa===4||qa===3&&(xr&62914560)===xr&&300>dr()-Hx?(Pr&2)===0&&wv(f,0):CT|=y,xv===xr&&(xv=0)),yl(f)}function Aj(f,p){p===0&&(p=Mr()),f=rf(f,p),f!==null&&(za(f,p),yl(f))}function KJ(f){var p=f.memoizedState,y=0;p!==null&&(y=p.retryLane),Aj(f,y)}function QJ(f,p){var y=0;switch(f.tag){case 31:case 13:var S=f.stateNode,N=f.memoizedState;N!==null&&(y=N.retryLane);break;case 19:S=f.stateNode;break;case 22:S=f.stateNode._retryCache;break;default:throw Error(a(314))}S!==null&&S.delete(p),Aj(f,y)}function JJ(f,p){return Nr(f,p)}var Zx=null,_v=null,RT=!1,Kx=!1,PT=!1,Rc=0;function yl(f){f!==_v&&f.next===null&&(_v===null?Zx=_v=f:_v=_v.next=f),Kx=!0,RT||(RT=!0,tee())}function cg(f,p){if(!PT&&Kx){PT=!0;do for(var y=!1,S=Zx;S!==null;){if(f!==0){var N=S.pendingLanes;if(N===0)var D=0;else{var B=S.suspendedLanes,W=S.pingedLanes;D=(1<<31-ye(42|f)+1)-1,D&=N&~(B&~W),D=D&201326741?D&201326741|1:D?D|2:0}D!==0&&(y=!0,Ej(S,D))}else D=xr,D=nr(S,S===da?D:0,S.cancelPendingCommit!==null||S.timeoutHandle!==-1),(D&3)===0||_r(S,D)||(y=!0,Ej(S,D));S=S.next}while(y);PT=!1}}function eee(){Mj()}function Mj(){Kx=RT=!1;var f=0;Rc!==0&&dee()&&(f=Rc);for(var p=dr(),y=null,S=Zx;S!==null;){var N=S.next,D=Dj(S,p);D===0?(S.next=null,y===null?Zx=N:y.next=N,N===null&&(_v=y)):(y=S,(f!==0||(D&3)!==0)&&(Kx=!0)),S=N}Hn!==0&&Hn!==5||cg(f),Rc!==0&&(Rc=0)}function Dj(f,p){for(var y=f.suspendedLanes,S=f.pingedLanes,N=f.expirationTimes,D=f.pendingLanes&-62914561;0W)break;var Ae=Q.transferSize,Ee=Q.initiatorType;Ae&&Vj(Ee)&&(Q=Q.responseEnd,B+=Ae*(Q"u"?null:document;function Qj(f,p,y){var S=Tv;if(S&&typeof p=="string"&&p){var N=_a(p);N='link[rel="'+f+'"][href="'+N+'"]',typeof y=="string"&&(N+='[crossorigin="'+y+'"]'),Kj.has(N)||(Kj.add(N),f={rel:f,crossOrigin:y,href:p},S.querySelector(N)===null&&(p=S.createElement("link"),hi(p,"link",f),fr(p),S.head.appendChild(p)))}}function bee(f){Mu.D(f),Qj("dns-prefetch",f,null)}function wee(f,p){Mu.C(f,p),Qj("preconnect",f,p)}function See(f,p,y){Mu.L(f,p,y);var S=Tv;if(S&&f&&p){var N='link[rel="preload"][as="'+_a(p)+'"]';p==="image"&&y&&y.imageSrcSet?(N+='[imagesrcset="'+_a(y.imageSrcSet)+'"]',typeof y.imageSizes=="string"&&(N+='[imagesizes="'+_a(y.imageSizes)+'"]')):N+='[href="'+_a(f)+'"]';var D=N;switch(p){case"style":D=Cv(f);break;case"script":D=kv(f)}Qo.has(D)||(f=d({rel:"preload",href:p==="image"&&y&&y.imageSrcSet?void 0:f,as:p},y),Qo.set(D,f),S.querySelector(N)!==null||p==="style"&&S.querySelector(vg(D))||p==="script"&&S.querySelector(pg(D))||(p=S.createElement("link"),hi(p,"link",f),fr(p),S.head.appendChild(p)))}}function _ee(f,p){Mu.m(f,p);var y=Tv;if(y&&f){var S=p&&typeof p.as=="string"?p.as:"script",N='link[rel="modulepreload"][as="'+_a(S)+'"][href="'+_a(f)+'"]',D=N;switch(S){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":D=kv(f)}if(!Qo.has(D)&&(f=d({rel:"modulepreload",href:f},p),Qo.set(D,f),y.querySelector(N)===null)){switch(S){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(y.querySelector(pg(D)))return}S=y.createElement("link"),hi(S,"link",f),fr(S),y.head.appendChild(S)}}}function Tee(f,p,y){Mu.S(f,p,y);var S=Tv;if(S&&f){var N=$a(S).hoistableStyles,D=Cv(f);p=p||"default";var B=N.get(D);if(!B){var W={loading:0,preload:null};if(B=S.querySelector(vg(D)))W.loading=5;else{f=d({rel:"stylesheet",href:f,"data-precedence":p},y),(y=Qo.get(D))&&ZT(f,y);var Q=B=S.createElement("link");fr(Q),hi(Q,"link",f),Q._p=new Promise(function(he,Ae){Q.onload=he,Q.onerror=Ae}),Q.addEventListener("load",function(){W.loading|=1}),Q.addEventListener("error",function(){W.loading|=2}),W.loading|=4,rb(B,p,S)}B={type:"stylesheet",instance:B,count:1,state:W},N.set(D,B)}}}function Cee(f,p){Mu.X(f,p);var y=Tv;if(y&&f){var S=$a(y).hoistableScripts,N=kv(f),D=S.get(N);D||(D=y.querySelector(pg(N)),D||(f=d({src:f,async:!0},p),(p=Qo.get(N))&&KT(f,p),D=y.createElement("script"),fr(D),hi(D,"link",f),y.head.appendChild(D)),D={type:"script",instance:D,count:1,state:null},S.set(N,D))}}function kee(f,p){Mu.M(f,p);var y=Tv;if(y&&f){var S=$a(y).hoistableScripts,N=kv(f),D=S.get(N);D||(D=y.querySelector(pg(N)),D||(f=d({src:f,async:!0,type:"module"},p),(p=Qo.get(N))&&KT(f,p),D=y.createElement("script"),fr(D),hi(D,"link",f),y.head.appendChild(D)),D={type:"script",instance:D,count:1,state:null},S.set(N,D))}}function Jj(f,p,y,S){var N=(N=me.current)?tb(N):null;if(!N)throw Error(a(446));switch(f){case"meta":case"title":return null;case"style":return typeof y.precedence=="string"&&typeof y.href=="string"?(p=Cv(y.href),y=$a(N).hoistableStyles,S=y.get(p),S||(S={type:"style",instance:null,count:0,state:null},y.set(p,S)),S):{type:"void",instance:null,count:0,state:null};case"link":if(y.rel==="stylesheet"&&typeof y.href=="string"&&typeof y.precedence=="string"){f=Cv(y.href);var D=$a(N).hoistableStyles,B=D.get(f);if(B||(N=N.ownerDocument||N,B={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},D.set(f,B),(D=N.querySelector(vg(f)))&&!D._p&&(B.instance=D,B.state.loading=5),Qo.has(f)||(y={rel:"preload",as:"style",href:y.href,crossOrigin:y.crossOrigin,integrity:y.integrity,media:y.media,hrefLang:y.hrefLang,referrerPolicy:y.referrerPolicy},Qo.set(f,y),D||Nee(N,f,y,B.state))),p&&S===null)throw Error(a(528,""));return B}if(p&&S!==null)throw Error(a(529,""));return null;case"script":return p=y.async,y=y.src,typeof y=="string"&&p&&typeof p!="function"&&typeof p!="symbol"?(p=kv(y),y=$a(N).hoistableScripts,S=y.get(p),S||(S={type:"script",instance:null,count:0,state:null},y.set(p,S)),S):{type:"void",instance:null,count:0,state:null};default:throw Error(a(444,f))}}function Cv(f){return'href="'+_a(f)+'"'}function vg(f){return'link[rel="stylesheet"]['+f+"]"}function eO(f){return d({},f,{"data-precedence":f.precedence,precedence:null})}function Nee(f,p,y,S){f.querySelector('link[rel="preload"][as="style"]['+p+"]")?S.loading=1:(p=f.createElement("link"),S.preload=p,p.addEventListener("load",function(){return S.loading|=1}),p.addEventListener("error",function(){return S.loading|=2}),hi(p,"link",y),fr(p),f.head.appendChild(p))}function kv(f){return'[src="'+_a(f)+'"]'}function pg(f){return"script[async]"+f}function tO(f,p,y){if(p.count++,p.instance===null)switch(p.type){case"style":var S=f.querySelector('style[data-href~="'+_a(y.href)+'"]');if(S)return p.instance=S,fr(S),S;var N=d({},y,{"data-href":y.href,"data-precedence":y.precedence,href:null,precedence:null});return S=(f.ownerDocument||f).createElement("style"),fr(S),hi(S,"style",N),rb(S,y.precedence,f),p.instance=S;case"stylesheet":N=Cv(y.href);var D=f.querySelector(vg(N));if(D)return p.state.loading|=4,p.instance=D,fr(D),D;S=eO(y),(N=Qo.get(N))&&ZT(S,N),D=(f.ownerDocument||f).createElement("link"),fr(D);var B=D;return B._p=new Promise(function(W,Q){B.onload=W,B.onerror=Q}),hi(D,"link",S),p.state.loading|=4,rb(D,y.precedence,f),p.instance=D;case"script":return D=kv(y.src),(N=f.querySelector(pg(D)))?(p.instance=N,fr(N),N):(S=y,(N=Qo.get(D))&&(S=d({},y),KT(S,N)),f=f.ownerDocument||f,N=f.createElement("script"),fr(N),hi(N,"link",S),f.head.appendChild(N),p.instance=N);case"void":return null;default:throw Error(a(443,p.type))}else p.type==="stylesheet"&&(p.state.loading&4)===0&&(S=p.instance,p.state.loading|=4,rb(S,y.precedence,f));return p.instance}function rb(f,p,y){for(var S=y.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),N=S.length?S[S.length-1]:null,D=N,B=0;B title"):null)}function Aee(f,p,y){if(y===1||p.itemProp!=null)return!1;switch(f){case"meta":case"title":return!0;case"style":if(typeof p.precedence!="string"||typeof p.href!="string"||p.href==="")break;return!0;case"link":if(typeof p.rel!="string"||typeof p.href!="string"||p.href===""||p.onLoad||p.onError)break;switch(p.rel){case"stylesheet":return f=p.disabled,typeof p.precedence=="string"&&f==null;default:return!0}case"script":if(p.async&&typeof p.async!="function"&&typeof p.async!="symbol"&&!p.onLoad&&!p.onError&&p.src&&typeof p.src=="string")return!0}return!1}function nO(f){return!(f.type==="stylesheet"&&(f.state.loading&3)===0)}function Mee(f,p,y,S){if(y.type==="stylesheet"&&(typeof S.media!="string"||matchMedia(S.media).matches!==!1)&&(y.state.loading&4)===0){if(y.instance===null){var N=Cv(S.href),D=p.querySelector(vg(N));if(D){p=D._p,p!==null&&typeof p=="object"&&typeof p.then=="function"&&(f.count++,f=nb.bind(f),p.then(f,f)),y.state.loading|=4,y.instance=D,fr(D);return}D=p.ownerDocument||p,S=eO(S),(N=Qo.get(N))&&ZT(S,N),D=D.createElement("link"),fr(D);var B=D;B._p=new Promise(function(W,Q){B.onload=W,B.onerror=Q}),hi(D,"link",S),y.instance=D}f.stylesheets===null&&(f.stylesheets=new Map),f.stylesheets.set(y,p),(p=y.state.preload)&&(y.state.loading&3)===0&&(f.count++,y=nb.bind(f),p.addEventListener("load",y),p.addEventListener("error",y))}}var QT=0;function Dee(f,p){return f.stylesheets&&f.count===0&&ob(f,f.stylesheets),0QT?50:800)+p);return f.unsuspend=y,function(){f.unsuspend=null,clearTimeout(S),clearTimeout(N)}}:null}function nb(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)ob(this,this.stylesheets);else if(this.unsuspend){var f=this.unsuspend;this.unsuspend=null,f()}}}var ib=null;function ob(f,p){f.stylesheets=null,f.unsuspend!==null&&(f.count++,ib=new Map,p.forEach(Lee,f),ib=null,nb.call(f))}function Lee(f,p){if(!(p.state.loading&4)){var y=ib.get(f);if(y)var S=y.get(null);else{y=new Map,ib.set(f,y);for(var N=f.querySelectorAll("link[data-precedence],style[data-precedence]"),D=0;D"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),sC.exports=Wee(),sC.exports}var Xee=Yee();/** * react-router v7.13.1 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */var AO="popstate";function MO(t){return typeof t=="object"&&t!=null&&"pathname"in t&&"search"in t&&"hash"in t&&"state"in t&&"key"in t}function qee(t={}){function e(a,n){var u;let i=(u=n.state)==null?void 0:u.masked,{pathname:o,search:s,hash:l}=i||a.location;return EA("",{pathname:o,search:s,hash:l},n.state&&n.state.usr||null,n.state&&n.state.key||"default",i?{pathname:a.location.pathname,search:a.location.search,hash:a.location.hash}:void 0)}function r(a,n){return typeof n=="string"?n:Y0(n)}return Kee(e,r,null,t)}function ja(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function ys(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function Zee(){return Math.random().toString(36).substring(2,10)}function DO(t,e){return{usr:t.state,key:t.key,idx:e,masked:t.unstable_mask?{pathname:t.pathname,search:t.search,hash:t.hash}:void 0}}function EA(t,e,r=null,a,n){return{pathname:typeof t=="string"?t:t.pathname,search:"",hash:"",...typeof e=="string"?om(e):e,state:r,key:e&&e.key||a||Zee(),unstable_mask:n}}function Y0({pathname:t="/",search:e="",hash:r=""}){return e&&e!=="?"&&(t+=e.charAt(0)==="?"?e:"?"+e),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function om(t){let e={};if(t){let r=t.indexOf("#");r>=0&&(e.hash=t.substring(r),t=t.substring(0,r));let a=t.indexOf("?");a>=0&&(e.search=t.substring(a),t=t.substring(0,a)),t&&(e.pathname=t)}return e}function Kee(t,e,r,a={}){let{window:n=document.defaultView,v5Compat:i=!1}=a,o=n.history,s="POP",l=null,u=c();u==null&&(u=0,o.replaceState({...o.state,idx:u},""));function c(){return(o.state||{idx:null}).idx}function d(){s="POP";let b=c(),w=b==null?null:b-u;u=b,l&&l({action:s,location:x.location,delta:w})}function h(b,w){s="PUSH";let _=MO(b)?b:EA(x.location,b,w);u=c()+1;let T=DO(_,u),C=x.createHref(_.unstable_mask||_);try{o.pushState(T,"",C)}catch(k){if(k instanceof DOMException&&k.name==="DataCloneError")throw k;n.location.assign(C)}i&&l&&l({action:s,location:x.location,delta:1})}function v(b,w){s="REPLACE";let _=MO(b)?b:EA(x.location,b,w);u=c();let T=DO(_,u),C=x.createHref(_.unstable_mask||_);o.replaceState(T,"",C),i&&l&&l({action:s,location:x.location,delta:0})}function m(b){return Qee(b)}let x={get action(){return s},get location(){return t(n,o)},listen(b){if(l)throw new Error("A history only accepts one active listener");return n.addEventListener(AO,d),l=b,()=>{n.removeEventListener(AO,d),l=null}},createHref(b){return e(n,b)},createURL:m,encodeLocation(b){let w=m(b);return{pathname:w.pathname,search:w.search,hash:w.hash}},push:h,replace:v,go(b){return o.go(b)}};return x}function Qee(t,e=!1){let r="http://localhost";typeof window<"u"&&(r=window.location.origin!=="null"?window.location.origin:window.location.href),ja(r,"No window.location.(origin|href) available to create URL");let a=typeof t=="string"?t:Y0(t);return a=a.replace(/ $/,"%20"),!e&&a.startsWith("//")&&(a=r+a),new URL(a,r)}function aG(t,e,r="/"){return Jee(t,e,r,!1)}function Jee(t,e,r,a){let n=typeof e=="string"?om(e):e,i=Ku(n.pathname||"/",r);if(i==null)return null;let o=nG(t);ete(o);let s=null;for(let l=0;s==null&&l{let c={relativePath:u===void 0?o.path||"":u,caseSensitive:o.caseSensitive===!0,childrenIndex:s,route:o};if(c.relativePath.startsWith("/")){if(!c.relativePath.startsWith(a)&&l)return;ja(c.relativePath.startsWith(a),`Absolute route path "${c.relativePath}" nested under path "${a}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),c.relativePath=c.relativePath.slice(a.length)}let d=Gl([a,c.relativePath]),h=r.concat(c);o.children&&o.children.length>0&&(ja(o.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${d}".`),nG(o.children,e,h,d,l)),!(o.path==null&&!o.index)&&e.push({path:d,score:ste(d,o.index),routesMeta:h})};return t.forEach((o,s)=>{var l;if(o.path===""||!((l=o.path)!=null&&l.includes("?")))i(o,s);else for(let u of iG(o.path))i(o,s,!0,u)}),e}function iG(t){let e=t.split("/");if(e.length===0)return[];let[r,...a]=e,n=r.endsWith("?"),i=r.replace(/\?$/,"");if(a.length===0)return n?[i,""]:[i];let o=iG(a.join("/")),s=[];return s.push(...o.map(l=>l===""?i:[i,l].join("/"))),n&&s.push(...o),s.map(l=>t.startsWith("/")&&l===""?"/":l)}function ete(t){t.sort((e,r)=>e.score!==r.score?r.score-e.score:lte(e.routesMeta.map(a=>a.childrenIndex),r.routesMeta.map(a=>a.childrenIndex)))}var tte=/^:[\w-]+$/,rte=3,ate=2,nte=1,ite=10,ote=-2,LO=t=>t==="*";function ste(t,e){let r=t.split("/"),a=r.length;return r.some(LO)&&(a+=ote),e&&(a+=ate),r.filter(n=>!LO(n)).reduce((n,i)=>n+(tte.test(i)?rte:i===""?nte:ite),a)}function lte(t,e){return t.length===e.length&&t.slice(0,-1).every((a,n)=>a===e[n])?t[t.length-1]-e[e.length-1]:0}function ute(t,e,r=!1){let{routesMeta:a}=t,n={},i="/",o=[];for(let s=0;s{if(c==="*"){let m=s[h]||"";o=i.slice(0,i.length-m.length).replace(/(.)\/+$/,"$1")}const v=s[h];return d&&!v?u[c]=void 0:u[c]=(v||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:o,pattern:t}}function cte(t,e=!1,r=!0){ys(t==="*"||!t.endsWith("*")||t.endsWith("/*"),`Route path "${t}" will be treated as if it were "${t.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${t.replace(/\*$/,"/*")}".`);let a=[],n="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,s,l,u,c)=>{if(a.push({paramName:s,isOptional:l!=null}),l){let d=c.charAt(u+o.length);return d&&d!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return t.endsWith("*")?(a.push({paramName:"*"}),n+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?n+="\\/*$":t!==""&&t!=="/"&&(n+="(?:(?=\\/|$))"),[new RegExp(n,e?void 0:"i"),a]}function dte(t){try{return t.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return ys(!1,`The URL path "${t}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${e}).`),t}}function Ku(t,e){if(e==="/")return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let r=e.endsWith("/")?e.length-1:e.length,a=t.charAt(r);return a&&a!=="/"?null:t.slice(r)||"/"}var fte=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function hte(t,e="/"){let{pathname:r,search:a="",hash:n=""}=typeof t=="string"?om(t):t,i;return r?(r=r.replace(/\/\/+/g,"/"),r.startsWith("/")?i=EO(r.substring(1),"/"):i=EO(r,e)):i=e,{pathname:i,search:mte(a),hash:gte(n)}}function EO(t,e){let r=e.replace(/\/+$/,"").split("/");return t.split("/").forEach(n=>{n===".."?r.length>1&&r.pop():n!=="."&&r.push(n)}),r.length>1?r.join("/"):"/"}function dC(t,e,r,a){return`Cannot include a '${t}' character in a manually specified \`to.${e}\` field [${JSON.stringify(a)}]. 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 vte(t){return t.filter((e,r)=>r===0||e.route.path&&e.route.path.length>0)}function UL(t){let e=vte(t);return e.map((r,a)=>a===e.length-1?r.pathname:r.pathnameBase)}function v_(t,e,r,a=!1){let n;typeof t=="string"?n=om(t):(n={...t},ja(!n.pathname||!n.pathname.includes("?"),dC("?","pathname","search",n)),ja(!n.pathname||!n.pathname.includes("#"),dC("#","pathname","hash",n)),ja(!n.search||!n.search.includes("#"),dC("#","search","hash",n)));let i=t===""||n.pathname==="",o=i?"/":n.pathname,s;if(o==null)s=r;else{let d=e.length-1;if(!a&&o.startsWith("..")){let h=o.split("/");for(;h[0]==="..";)h.shift(),d-=1;n.pathname=h.join("/")}s=d>=0?e[d]:"/"}let l=hte(n,s),u=o&&o!=="/"&&o.endsWith("/"),c=(i||o===".")&&r.endsWith("/");return!l.pathname.endsWith("/")&&(u||c)&&(l.pathname+="/"),l}var Gl=t=>t.join("/").replace(/\/\/+/g,"/"),pte=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),mte=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,gte=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t,yte=class{constructor(t,e,r,a=!1){this.status=t,this.statusText=e||"",this.internal=a,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}};function xte(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}function bte(t){return t.map(e=>e.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var oG=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function sG(t,e){let r=t;if(typeof r!="string"||!fte.test(r))return{absoluteURL:void 0,isExternal:!1,to:r};let a=r,n=!1;if(oG)try{let i=new URL(window.location.href),o=r.startsWith("//")?new URL(i.protocol+r):new URL(r),s=Ku(o.pathname,e);o.origin===i.origin&&s!=null?r=s+o.search+o.hash:n=!0}catch{ys(!1,` contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:a,isExternal:n,to:r}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var lG=["POST","PUT","PATCH","DELETE"];new Set(lG);var wte=["GET",...lG];new Set(wte);var sm=E.createContext(null);sm.displayName="DataRouter";var p_=E.createContext(null);p_.displayName="DataRouterState";var Ste=E.createContext(!1),uG=E.createContext({isTransitioning:!1});uG.displayName="ViewTransition";var _te=E.createContext(new Map);_te.displayName="Fetchers";var Tte=E.createContext(null);Tte.displayName="Await";var Oo=E.createContext(null);Oo.displayName="Navigation";var jy=E.createContext(null);jy.displayName="Location";var el=E.createContext({outlet:null,matches:[],isDataRoute:!1});el.displayName="Route";var $L=E.createContext(null);$L.displayName="RouteError";var cG="REACT_ROUTER_ERROR",Cte="REDIRECT",kte="ROUTE_ERROR_RESPONSE";function Nte(t){if(t.startsWith(`${cG}:${Cte}:{`))try{let e=JSON.parse(t.slice(28));if(typeof e=="object"&&e&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.location=="string"&&typeof e.reloadDocument=="boolean"&&typeof e.replace=="boolean")return e}catch{}}function Ate(t){if(t.startsWith(`${cG}:${kte}:{`))try{let e=JSON.parse(t.slice(40));if(typeof e=="object"&&e&&typeof e.status=="number"&&typeof e.statusText=="string")return new yte(e.status,e.statusText,e.data)}catch{}}function Mte(t,{relative:e}={}){ja(lm(),"useHref() may be used only in the context of a component.");let{basename:r,navigator:a}=E.useContext(Oo),{hash:n,pathname:i,search:o}=Oy(t,{relative:e}),s=i;return r!=="/"&&(s=i==="/"?r:Gl([r,i])),a.createHref({pathname:s,search:o,hash:n})}function lm(){return E.useContext(jy)!=null}function po(){return ja(lm(),"useLocation() may be used only in the context of a component."),E.useContext(jy).location}var dG="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function fG(t){E.useContext(Oo).static||E.useLayoutEffect(t)}function ru(){let{isDataRoute:t}=E.useContext(el);return t?Ute():Dte()}function Dte(){ja(lm(),"useNavigate() may be used only in the context of a component.");let t=E.useContext(sm),{basename:e,navigator:r}=E.useContext(Oo),{matches:a}=E.useContext(el),{pathname:n}=po(),i=JSON.stringify(UL(a)),o=E.useRef(!1);return fG(()=>{o.current=!0}),E.useCallback((l,u={})=>{if(ys(o.current,dG),!o.current)return;if(typeof l=="number"){r.go(l);return}let c=v_(l,JSON.parse(i),n,u.relative==="path");t==null&&e!=="/"&&(c.pathname=c.pathname==="/"?e:Gl([e,c.pathname])),(u.replace?r.replace:r.push)(c,u.state,u)},[e,r,i,n,t])}var Lte=E.createContext(null);function Ete(t){let e=E.useContext(el).outlet;return E.useMemo(()=>e&&E.createElement(Lte.Provider,{value:t},e),[e,t])}function Oy(t,{relative:e}={}){let{matches:r}=E.useContext(el),{pathname:a}=po(),n=JSON.stringify(UL(r));return E.useMemo(()=>v_(t,JSON.parse(n),a,e==="path"),[t,n,a,e])}function Rte(t,e){return hG(t,e)}function hG(t,e,r){var b;ja(lm(),"useRoutes() may be used only in the context of a component.");let{navigator:a}=E.useContext(Oo),{matches:n}=E.useContext(el),i=n[n.length-1],o=i?i.params:{},s=i?i.pathname:"/",l=i?i.pathnameBase:"/",u=i&&i.route;{let w=u&&u.path||"";pG(s,!u||w.endsWith("*")||w.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${s}" (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 c=po(),d;if(e){let w=typeof e=="string"?om(e):e;ja(l==="/"||((b=w.pathname)==null?void 0:b.startsWith(l)),`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 "${l}" but pathname "${w.pathname}" was given in the \`location\` prop.`),d=w}else d=c;let h=d.pathname||"/",v=h;if(l!=="/"){let w=l.replace(/^\//,"").split("/");v="/"+h.replace(/^\//,"").split("/").slice(w.length).join("/")}let m=aG(t,{pathname:v});ys(u||m!=null,`No routes matched location "${d.pathname}${d.search}${d.hash}" `),ys(m==null||m[m.length-1].route.element!==void 0||m[m.length-1].route.Component!==void 0||m[m.length-1].route.lazy!==void 0,`Matched leaf route at location "${d.pathname}${d.search}${d.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 x=zte(m&&m.map(w=>Object.assign({},w,{params:Object.assign({},o,w.params),pathname:Gl([l,a.encodeLocation?a.encodeLocation(w.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?l:Gl([l,a.encodeLocation?a.encodeLocation(w.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:w.pathnameBase])})),n,r);return e&&x?E.createElement(jy.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",unstable_mask:void 0,...d},navigationType:"POP"}},x):x}function Pte(){let t=Hte(),e=xte(t)?`${t.status} ${t.statusText}`:t instanceof Error?t.message:JSON.stringify(t),r=t instanceof Error?t.stack:null,a="rgba(200,200,200, 0.5)",n={padding:"0.5rem",backgroundColor:a},i={padding:"2px 4px",backgroundColor:a},o=null;return console.error("Error handled by React Router default ErrorBoundary:",t),o=E.createElement(E.Fragment,null,E.createElement("p",null,"💿 Hey developer 👋"),E.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",E.createElement("code",{style:i},"ErrorBoundary")," or"," ",E.createElement("code",{style:i},"errorElement")," prop on your route.")),E.createElement(E.Fragment,null,E.createElement("h2",null,"Unexpected Application Error!"),E.createElement("h3",{style:{fontStyle:"italic"}},e),r?E.createElement("pre",{style:n},r):null,o)}var Ite=E.createElement(Pte,null),vG=class extends E.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,e){return e.location!==t.location||e.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:e.error,location:e.location,revalidation:t.revalidation||e.revalidation}}componentDidCatch(t,e){this.props.onError?this.props.onError(t,e):console.error("React Router caught the following error during render",t)}render(){let t=this.state.error;if(this.context&&typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){const r=Ate(t.digest);r&&(t=r)}let e=t!==void 0?E.createElement(el.Provider,{value:this.props.routeContext},E.createElement($L.Provider,{value:t,children:this.props.component})):this.props.children;return this.context?E.createElement(jte,{error:t},e):e}};vG.contextType=Ste;var fC=new WeakMap;function jte({children:t,error:e}){let{basename:r}=E.useContext(Oo);if(typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){let a=Nte(e.digest);if(a){let n=fC.get(e);if(n)throw n;let i=sG(a.location,r);if(oG&&!fC.get(e))if(i.isExternal||a.reloadDocument)window.location.href=i.absoluteURL||i.to;else{const o=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(i.to,{replace:a.replace}));throw fC.set(e,o),o}return E.createElement("meta",{httpEquiv:"refresh",content:`0;url=${i.absoluteURL||i.to}`})}}return t}function Ote({routeContext:t,match:e,children:r}){let a=E.useContext(sm);return a&&a.static&&a.staticContext&&(e.route.errorElement||e.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=e.route.id),E.createElement(el.Provider,{value:t},r)}function zte(t,e=[],r){let a=r==null?void 0:r.state;if(t==null){if(!a)return null;if(a.errors)t=a.matches;else if(e.length===0&&!a.initialized&&a.matches.length>0)t=a.matches;else return null}let n=t,i=a==null?void 0:a.errors;if(i!=null){let c=n.findIndex(d=>d.route.id&&(i==null?void 0:i[d.route.id])!==void 0);ja(c>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(i).join(",")}`),n=n.slice(0,Math.min(n.length,c+1))}let o=!1,s=-1;if(r&&a){o=a.renderFallback;for(let c=0;c=0?n=n.slice(0,s+1):n=[n[0]];break}}}}let l=r==null?void 0:r.onError,u=a&&l?(c,d)=>{var h,v;l(c,{location:a.location,params:((v=(h=a.matches)==null?void 0:h[0])==null?void 0:v.params)??{},unstable_pattern:bte(a.matches),errorInfo:d})}:void 0;return n.reduceRight((c,d,h)=>{let v,m=!1,x=null,b=null;a&&(v=i&&d.route.id?i[d.route.id]:void 0,x=d.route.errorElement||Ite,o&&(s<0&&h===0?(pG("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),m=!0,b=null):s===h&&(m=!0,b=d.route.hydrateFallbackElement||null)));let w=e.concat(n.slice(0,h+1)),_=()=>{let T;return v?T=x:m?T=b:d.route.Component?T=E.createElement(d.route.Component,null):d.route.element?T=d.route.element:T=c,E.createElement(Ote,{match:d,routeContext:{outlet:c,matches:w,isDataRoute:a!=null},children:T})};return a&&(d.route.ErrorBoundary||d.route.errorElement||h===0)?E.createElement(vG,{location:a.location,revalidation:a.revalidation,component:x,error:v,children:_(),routeContext:{outlet:null,matches:w,isDataRoute:!0},onError:u}):_()},null)}function WL(t){return`${t} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Bte(t){let e=E.useContext(sm);return ja(e,WL(t)),e}function Vte(t){let e=E.useContext(p_);return ja(e,WL(t)),e}function Fte(t){let e=E.useContext(el);return ja(e,WL(t)),e}function YL(t){let e=Fte(t),r=e.matches[e.matches.length-1];return ja(r.route.id,`${t} can only be used on routes that contain a unique "id"`),r.route.id}function Gte(){return YL("useRouteId")}function Hte(){var a;let t=E.useContext($L),e=Vte("useRouteError"),r=YL("useRouteError");return t!==void 0?t:(a=e.errors)==null?void 0:a[r]}function Ute(){let{router:t}=Bte("useNavigate"),e=YL("useNavigate"),r=E.useRef(!1);return fG(()=>{r.current=!0}),E.useCallback(async(n,i={})=>{ys(r.current,dG),r.current&&(typeof n=="number"?await t.navigate(n):await t.navigate(n,{fromRouteId:e,...i}))},[t,e])}var RO={};function pG(t,e,r){!e&&!RO[t]&&(RO[t]=!0,ys(!1,r))}E.memo($te);function $te({routes:t,future:e,state:r,isStatic:a,onError:n}){return hG(t,void 0,{state:r,isStatic:a,onError:n})}function XL({to:t,replace:e,state:r,relative:a}){ja(lm()," may be used only in the context of a component.");let{static:n}=E.useContext(Oo);ys(!n," 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:i}=E.useContext(el),{pathname:o}=po(),s=ru(),l=v_(t,UL(i),o,a==="path"),u=JSON.stringify(l);return E.useEffect(()=>{s(JSON.parse(u),{replace:e,state:r,relative:a})},[s,u,a,e,r]),null}function PO(t){return Ete(t.context)}function kl(t){ja(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function Wte({basename:t="/",children:e=null,location:r,navigationType:a="POP",navigator:n,static:i=!1,unstable_useTransitions:o}){ja(!lm(),"You cannot render a inside another . You should never have more than one in your app.");let s=t.replace(/^\/*/,"/"),l=E.useMemo(()=>({basename:s,navigator:n,static:i,unstable_useTransitions:o,future:{}}),[s,n,i,o]);typeof r=="string"&&(r=om(r));let{pathname:u="/",search:c="",hash:d="",state:h=null,key:v="default",unstable_mask:m}=r,x=E.useMemo(()=>{let b=Ku(u,s);return b==null?null:{location:{pathname:b,search:c,hash:d,state:h,key:v,unstable_mask:m},navigationType:a}},[s,u,c,d,h,v,a,m]);return ys(x!=null,` is not able to match the URL "${u}${c}${d}" because it does not start with the basename, so the won't render anything.`),x==null?null:E.createElement(Oo.Provider,{value:l},E.createElement(jy.Provider,{children:e,value:x}))}function Yte({children:t,location:e}){return Rte(RA(t),e)}function RA(t,e=[]){let r=[];return E.Children.forEach(t,(a,n)=>{if(!E.isValidElement(a))return;let i=[...e,n];if(a.type===E.Fragment){r.push.apply(r,RA(a.props.children,i));return}ja(a.type===kl,`[${typeof a.type=="string"?a.type:a.type.name}] is not a component. All component children of must be a or `),ja(!a.props.index||!a.props.children,"An index route cannot have child routes.");let o={id:a.props.id||i.join("-"),caseSensitive:a.props.caseSensitive,element:a.props.element,Component:a.props.Component,index:a.props.index,path:a.props.path,middleware:a.props.middleware,loader:a.props.loader,action:a.props.action,hydrateFallbackElement:a.props.hydrateFallbackElement,HydrateFallback:a.props.HydrateFallback,errorElement:a.props.errorElement,ErrorBoundary:a.props.ErrorBoundary,hasErrorBoundary:a.props.hasErrorBoundary===!0||a.props.ErrorBoundary!=null||a.props.errorElement!=null,shouldRevalidate:a.props.shouldRevalidate,handle:a.props.handle,lazy:a.props.lazy};a.props.children&&(o.children=RA(a.props.children,i)),r.push(o)}),r}var q1="get",Z1="application/x-www-form-urlencoded";function m_(t){return typeof HTMLElement<"u"&&t instanceof HTMLElement}function Xte(t){return m_(t)&&t.tagName.toLowerCase()==="button"}function qte(t){return m_(t)&&t.tagName.toLowerCase()==="form"}function Zte(t){return m_(t)&&t.tagName.toLowerCase()==="input"}function Kte(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function Qte(t,e){return t.button===0&&(!e||e==="_self")&&!Kte(t)}function PA(t=""){return new URLSearchParams(typeof t=="string"||Array.isArray(t)||t instanceof URLSearchParams?t:Object.keys(t).reduce((e,r)=>{let a=t[r];return e.concat(Array.isArray(a)?a.map(n=>[r,n]):[[r,a]])},[]))}function Jte(t,e){let r=PA(t);return e&&e.forEach((a,n)=>{r.has(n)||e.getAll(n).forEach(i=>{r.append(n,i)})}),r}var vb=null;function ere(){if(vb===null)try{new FormData(document.createElement("form"),0),vb=!1}catch{vb=!0}return vb}var tre=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function hC(t){return t!=null&&!tre.has(t)?(ys(!1,`"${t}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${Z1}"`),null):t}function rre(t,e){let r,a,n,i,o;if(qte(t)){let s=t.getAttribute("action");a=s?Ku(s,e):null,r=t.getAttribute("method")||q1,n=hC(t.getAttribute("enctype"))||Z1,i=new FormData(t)}else if(Xte(t)||Zte(t)&&(t.type==="submit"||t.type==="image")){let s=t.form;if(s==null)throw new Error('Cannot submit a