var cye=Object.defineProperty;var uye=(e,t,n)=>t in e?cye(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Ge=(e,t,n)=>uye(e,typeof t!="symbol"?t+"":t,n);function dye(e,t){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const a of i)if(a.type==="childList")for(const s of a.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const a={};return i.integrity&&(a.integrity=i.integrity),i.referrerPolicy&&(a.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?a.credentials="include":i.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(i){if(i.ep)return;i.ep=!0;const a=n(i);fetch(i.href,a)}})();var MS=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Zo(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var hI={exports:{}},zx={};/** * @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 hF;function fye(){if(hF)return zx;hF=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,i,a){var s=null;if(a!==void 0&&(s=""+a),i.key!==void 0&&(s=""+i.key),"key"in i){a={};for(var l in i)l!=="key"&&(a[l]=i[l])}else a=i;return i=a.ref,{$$typeof:e,type:r,key:s,ref:i!==void 0?i:null,props:a}}return zx.Fragment=t,zx.jsx=n,zx.jsxs=n,zx}var gF;function mye(){return gF||(gF=1,hI.exports=fye()),hI.exports}var o=mye(),gI={exports:{}},Tn={};/** * @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 yF;function pye(){if(yF)return Tn;yF=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),s=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),u=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),m=Symbol.for("react.activity"),h=Symbol.iterator;function y(G){return G===null||typeof G!="object"?null:(G=h&&G[h]||G["@@iterator"],typeof G=="function"?G:null)}var v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b=Object.assign,w={};function _(G,J,te){this.props=G,this.context=J,this.refs=w,this.updater=te||v}_.prototype.isReactComponent={},_.prototype.setState=function(G,J){if(typeof G!="object"&&typeof G!="function"&&G!=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,G,J,"setState")},_.prototype.forceUpdate=function(G){this.updater.enqueueForceUpdate(this,G,"forceUpdate")};function C(){}C.prototype=_.prototype;function j(G,J,te){this.props=G,this.context=J,this.refs=w,this.updater=te||v}var T=j.prototype=new C;T.constructor=j,b(T,_.prototype),T.isPureReactComponent=!0;var N=Array.isArray;function P(){}var k={H:null,A:null,T:null,S:null},O=Object.prototype.hasOwnProperty;function F(G,J,te){var ae=te.ref;return{$$typeof:e,type:G,key:J,ref:ae!==void 0?ae:null,props:te}}function Y(G,J){return F(G.type,J,G.props)}function V(G){return typeof G=="object"&&G!==null&&G.$$typeof===e}function $(G){var J={"=":"=0",":":"=2"};return"$"+G.replace(/[=:]/g,function(te){return J[te]})}var q=/\/+/g;function B(G,J){return typeof G=="object"&&G!==null&&G.key!=null?$(""+G.key):J.toString(36)}function K(G){switch(G.status){case"fulfilled":return G.value;case"rejected":throw G.reason;default:switch(typeof G.status=="string"?G.then(P,P):(G.status="pending",G.then(function(J){G.status==="pending"&&(G.status="fulfilled",G.value=J)},function(J){G.status==="pending"&&(G.status="rejected",G.reason=J)})),G.status){case"fulfilled":return G.value;case"rejected":throw G.reason}}throw G}function z(G,J,te,ae,se){var oe=typeof G;(oe==="undefined"||oe==="boolean")&&(G=null);var ne=!1;if(G===null)ne=!0;else switch(oe){case"bigint":case"string":case"number":ne=!0;break;case"object":switch(G.$$typeof){case e:case t:ne=!0;break;case d:return ne=G._init,z(ne(G._payload),J,te,ae,se)}}if(ne)return se=se(G),ne=ae===""?"."+B(G,0):ae,N(se)?(te="",ne!=null&&(te=ne.replace(q,"$&/")+"/"),z(se,J,te,"",function(ye){return ye})):se!=null&&(V(se)&&(se=Y(se,te+(se.key==null||G&&G.key===se.key?"":(""+se.key).replace(q,"$&/")+"/")+ne)),J.push(se)),1;ne=0;var fe=ae===""?".":ae+":";if(N(G))for(var le=0;le>>1,Q=z[U];if(0>>1;Ui(te,Z))aei(se,te)?(z[U]=se,z[ae]=Z,U=ae):(z[U]=te,z[J]=Z,U=J);else if(aei(se,Z))z[U]=se,z[ae]=Z,U=ae;else break e}}return W}function i(z,W){var Z=z.sortIndex-W.sortIndex;return Z!==0?Z:z.id-W.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();e.unstable_now=function(){return s.now()-l}}var c=[],u=[],d=1,m=null,h=3,y=!1,v=!1,b=!1,w=!1,_=typeof setTimeout=="function"?setTimeout:null,C=typeof clearTimeout=="function"?clearTimeout:null,j=typeof setImmediate<"u"?setImmediate:null;function T(z){for(var W=n(u);W!==null;){if(W.callback===null)r(u);else if(W.startTime<=z)r(u),W.sortIndex=W.expirationTime,t(c,W);else break;W=n(u)}}function N(z){if(b=!1,T(z),!v)if(n(c)!==null)v=!0,P||(P=!0,$());else{var W=n(u);W!==null&&K(N,W.startTime-z)}}var P=!1,k=-1,O=5,F=-1;function Y(){return w?!0:!(e.unstable_now()-Fz&&Y());){var U=m.callback;if(typeof U=="function"){m.callback=null,h=m.priorityLevel;var Q=U(m.expirationTime<=z);if(z=e.unstable_now(),typeof Q=="function"){m.callback=Q,T(z),W=!0;break t}m===n(c)&&r(c),T(z)}else r(c);m=n(c)}if(m!==null)W=!0;else{var G=n(u);G!==null&&K(N,G.startTime-z),W=!1}}break e}finally{m=null,h=Z,y=!1}W=void 0}}finally{W?$():P=!1}}}var $;if(typeof j=="function")$=function(){j(V)};else if(typeof MessageChannel<"u"){var q=new MessageChannel,B=q.port2;q.port1.onmessage=V,$=function(){B.postMessage(null)}}else $=function(){_(V,0)};function K(z,W){k=_(function(){z(e.unstable_now())},W)}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(z){z.callback=null},e.unstable_forceFrameRate=function(z){0>z||125U?(z.sortIndex=Z,t(u,z),n(c)===null&&z===n(u)&&(b?(C(k),k=-1):b=!0,K(N,Z-U))):(z.sortIndex=Q,t(c,z),v||y||(v=!0,P||(P=!0,$()))),z},e.unstable_shouldYield=Y,e.unstable_wrapCallback=function(z){var W=h;return function(){var Z=h;h=W;try{return z.apply(this,arguments)}finally{h=Z}}}})(vI)),vI}var bF;function gye(){return bF||(bF=1,xI.exports=hye()),xI.exports}var bI={exports:{}},oa={};/** * @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 wF;function yye(){if(wF)return oa;wF=1;var e=ty();function t(c){var u="https://react.dev/errors/"+c;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),bI.exports=yye(),bI.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 _F;function xye(){if(_F)return Bx;_F=1;var e=gye(),t=ty(),n=see();function r(p){var g="https://react.dev/errors/"+p;if(1Q||(p.current=U[Q],U[Q]=null,Q--)}function te(p,g){Q++,U[Q]=p.current,p.current=g}var ae=G(null),se=G(null),oe=G(null),ne=G(null);function fe(p,g){switch(te(oe,g),te(se,p),te(ae,null),g.nodeType){case 9:case 11:p=(p=g.documentElement)&&(p=p.namespaceURI)?L7(p):0;break;default:if(p=g.tagName,g=g.namespaceURI)g=L7(g),p=z7(g,p);else switch(p){case"svg":p=1;break;case"math":p=2;break;default:p=0}}J(ae),te(ae,p)}function le(){J(ae),J(se),J(oe)}function ye(p){p.memoizedState!==null&&te(ne,p);var g=ae.current,S=z7(g,p.type);g!==S&&(te(se,p),te(ae,S))}function he(p){se.current===p&&(J(ae),J(se)),ne.current===p&&(J(ne),$x._currentValue=Z)}var ue,ve;function ge(p){if(ue===void 0)try{throw Error()}catch(S){var g=S.stack.trim().match(/\n( *(at )?)/);ue=g&&g[1]||"",ve=-1)":-1D||Te[A]!==Ze[D]){var dt=` `+Te[A].replace(" at new "," at ");return p.displayName&&dt.includes("")&&(dt=dt.replace("",p.displayName)),dt}while(1<=A&&0<=D);break}}}finally{ee=!1,Error.prepareStackTrace=S}return(S=p?p.displayName||p.name:"")?ge(S):""}function be(p,g){switch(p.tag){case 26:case 27:case 5:return ge(p.type);case 16:return ge("Lazy");case 13:return p.child!==g&&g!==null?ge("Suspense Fallback"):ge("Suspense");case 19:return ge("SuspenseList");case 0:case 15:return we(p.type,!1);case 11:return we(p.type.render,!1);case 1:return we(p.type,!0);case 31:return ge("Activity");default:return""}}function xe(p){try{var g="",S=null;do g+=be(p,S),S=p,p=p.return;while(p);return g}catch(A){return` Error generating stack: `+A.message+` `+A.stack}}var Ae=Object.prototype.hasOwnProperty,rt=e.unstable_scheduleCallback,Ce=e.unstable_cancelCallback,je=e.unstable_shouldYield,st=e.unstable_requestPaint,nt=e.unstable_now,bt=e.unstable_getCurrentPriorityLevel,wt=e.unstable_ImmediatePriority,St=e.unstable_UserBlockingPriority,Ke=e.unstable_NormalPriority,jt=e.unstable_LowPriority,ct=e.unstable_IdlePriority,Ie=e.log,We=e.unstable_setDisableYieldValue,ot=null,He=null;function $e(p){if(typeof Ie=="function"&&We(p),He&&typeof He.setStrictMode=="function")try{He.setStrictMode(ot,p)}catch{}}var Ve=Math.clz32?Math.clz32:pt,Pe=Math.log,Ue=Math.LN2;function pt(p){return p>>>=0,p===0?32:31-(Pe(p)/Ue|0)|0}var Ct=256,lt=262144,Pt=4194304;function kt(p){var g=p&42;if(g!==0)return g;switch(p&-p){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 p&261888;case 262144:case 524288:case 1048576:case 2097152:return p&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return p&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return p}}function Lt(p,g,S){var A=p.pendingLanes;if(A===0)return 0;var D=0,H=p.suspendedLanes,ie=p.pingedLanes;p=p.warmLanes;var me=A&134217727;return me!==0?(A=me&~H,A!==0?D=kt(A):(ie&=me,ie!==0?D=kt(ie):S||(S=me&~p,S!==0&&(D=kt(S))))):(me=A&~H,me!==0?D=kt(me):ie!==0?D=kt(ie):S||(S=A&~p,S!==0&&(D=kt(S)))),D===0?0:g!==0&&g!==D&&(g&H)===0&&(H=D&-D,S=g&-g,H>=S||H===32&&(S&4194048)!==0)?g:D}function Bt(p,g){return(p.pendingLanes&~(p.suspendedLanes&~p.pingedLanes)&g)===0}function rn(p,g){switch(p){case 1:case 2:case 4:case 8:case 64:return g+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 g+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 ht(){var p=Pt;return Pt<<=1,(Pt&62914560)===0&&(Pt=4194304),p}function Dt(p){for(var g=[],S=0;31>S;S++)g.push(p);return g}function Ee(p,g){p.pendingLanes|=g,g!==268435456&&(p.suspendedLanes=0,p.pingedLanes=0,p.warmLanes=0)}function ke(p,g,S,A,D,H){var ie=p.pendingLanes;p.pendingLanes=S,p.suspendedLanes=0,p.pingedLanes=0,p.warmLanes=0,p.expiredLanes&=S,p.entangledLanes&=S,p.errorRecoveryDisabledLanes&=S,p.shellSuspendCounter=0;var me=p.entanglements,Te=p.expirationTimes,Ze=p.hiddenUpdates;for(S=ie&~S;0"u")return null;try{return p.activeElement||p.body}catch{return p.body}}var vn=/[\n"\\]/g;function bn(p){return p.replace(vn,function(g){return"\\"+g.charCodeAt(0).toString(16)+" "})}function ta(p,g,S,A,D,H,ie,me){p.name="",ie!=null&&typeof ie!="function"&&typeof ie!="symbol"&&typeof ie!="boolean"?p.type=ie:p.removeAttribute("type"),g!=null?ie==="number"?(g===0&&p.value===""||p.value!=g)&&(p.value=""+gn(g)):p.value!==""+gn(g)&&(p.value=""+gn(g)):ie!=="submit"&&ie!=="reset"||p.removeAttribute("value"),g!=null?na(p,ie,gn(g)):S!=null?na(p,ie,gn(S)):A!=null&&p.removeAttribute("value"),D==null&&H!=null&&(p.defaultChecked=!!H),D!=null&&(p.checked=D&&typeof D!="function"&&typeof D!="symbol"),me!=null&&typeof me!="function"&&typeof me!="symbol"&&typeof me!="boolean"?p.name=""+gn(me):p.removeAttribute("name")}function _o(p,g,S,A,D,H,ie,me){if(H!=null&&typeof H!="function"&&typeof H!="symbol"&&typeof H!="boolean"&&(p.type=H),g!=null||S!=null){if(!(H!=="submit"&&H!=="reset"||g!=null)){cn(p);return}S=S!=null?""+gn(S):"",g=g!=null?""+gn(g):S,me||g===p.value||(p.value=g),p.defaultValue=g}A=A??D,A=typeof A!="function"&&typeof A!="symbol"&&!!A,p.checked=me?p.checked:!!A,p.defaultChecked=!!A,ie!=null&&typeof ie!="function"&&typeof ie!="symbol"&&typeof ie!="boolean"&&(p.name=ie),cn(p)}function na(p,g,S){g==="number"&&Tt(p.ownerDocument)===p||p.defaultValue===""+S||(p.defaultValue=""+S)}function hr(p,g,S,A){if(p=p.options,g){g={};for(var D=0;D"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),hc=!1;if(va)try{var ba={};Object.defineProperty(ba,"passive",{get:function(){hc=!0}}),window.addEventListener("test",ba,ba),window.removeEventListener("test",ba,ba)}catch{hc=!1}var wa=null,Cl=null,li=null;function cs(){if(li)return li;var p,g=Cl,S=g.length,A,D="value"in wa?wa.value:wa.textContent,H=D.length;for(p=0;p=Fd),Eh=" ",jw=!1;function Ew(p,g){switch(p){case"keyup":return La.indexOf(g.keyCode)!==-1;case"keydown":return g.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function nx(p){return p=p.detail,typeof p=="object"&&"data"in p?p.data:null}var Hd=!1;function us(p,g){switch(p){case"compositionend":return nx(g);case"keypress":return g.which!==32?null:(jw=!0,Eh);case"textInput":return p=g.data,p===Eh&&jw?null:p;default:return null}}function Vd(p,g){if(Hd)return p==="compositionend"||!Nh&&Ew(p,g)?(p=cs(),li=Cl=wa=null,Hd=!1,p):null;switch(p){case"paste":return null;case"keypress":if(!(g.ctrlKey||g.altKey||g.metaKey)||g.ctrlKey&&g.altKey){if(g.char&&1=g)return{node:S,offset:g-p};p=A}e:{for(;S;){if(S.nextSibling){S=S.nextSibling;break e}S=S.parentNode}S=void 0}S=Ah(S)}}function Ih(p,g){return p&&g?p===g?!0:p&&p.nodeType===3?!1:g&&g.nodeType===3?Ih(p,g.parentNode):"contains"in p?p.contains(g):p.compareDocumentPosition?!!(p.compareDocumentPosition(g)&16):!1:!1}function Rm(p){p=p!=null&&p.ownerDocument!=null&&p.ownerDocument.defaultView!=null?p.ownerDocument.defaultView:window;for(var g=Tt(p.document);g instanceof p.HTMLIFrameElement;){try{var S=typeof g.contentWindow.location.href=="string"}catch{S=!1}if(S)p=g.contentWindow;else break;g=Tt(p.document)}return g}function xc(p){var g=p&&p.nodeName&&p.nodeName.toLowerCase();return g&&(g==="input"&&(p.type==="text"||p.type==="search"||p.type==="tel"||p.type==="url"||p.type==="password")||g==="textarea"||p.contentEditable==="true")}var kh=va&&"documentMode"in document&&11>=document.documentMode,vc=null,Ph=null,$m=null,qd=!1;function Pw(p,g,S){var A=S.window===S?S.document:S.nodeType===9?S:S.ownerDocument;qd||vc==null||vc!==Tt(A)||(A=vc,"selectionStart"in A&&xc(A)?A={start:A.selectionStart,end:A.selectionEnd}:(A=(A.ownerDocument&&A.ownerDocument.defaultView||window).getSelection(),A={anchorNode:A.anchorNode,anchorOffset:A.anchorOffset,focusNode:A.focusNode,focusOffset:A.focusOffset}),$m&&Gd($m,A)||($m=A,A=xS(Ph,"onSelect"),0>=ie,D-=ie,yt=1<<32-Ve(g)+D|S<Rn?(nr=an,an=null):nr=an.sibling;var fr=tt(ze,an,Xe[Rn],gt);if(fr===null){an===null&&(an=nr);break}p&&an&&fr.alternate===null&&g(ze,an),Me=H(fr,Me,Rn),dr===null?fn=fr:dr.sibling=fr,dr=fr,an=nr}if(Rn===Xe.length)return S(ze,an),Yn&&ln(ze,Rn),fn;if(an===null){for(;RnRn?(nr=an,an=null):nr=an.sibling;var gf=tt(ze,an,fr.value,gt);if(gf===null){an===null&&(an=nr);break}p&&an&&gf.alternate===null&&g(ze,an),Me=H(gf,Me,Rn),dr===null?fn=gf:dr.sibling=gf,dr=gf,an=nr}if(fr.done)return S(ze,an),Yn&&ln(ze,Rn),fn;if(an===null){for(;!fr.done;Rn++,fr=Xe.next())fr=xt(ze,fr.value,gt),fr!==null&&(Me=H(fr,Me,Rn),dr===null?fn=fr:dr.sibling=fr,dr=fr);return Yn&&ln(ze,Rn),fn}for(an=A(an);!fr.done;Rn++,fr=Xe.next())fr=at(an,ze,Rn,fr.value,gt),fr!==null&&(p&&fr.alternate!==null&&an.delete(fr.key===null?Rn:fr.key),Me=H(fr,Me,Rn),dr===null?fn=fr:dr.sibling=fr,dr=fr);return p&&an.forEach(function(lye){return g(ze,lye)}),Yn&&ln(ze,Rn),fn}function Vr(ze,Me,Xe,gt){if(typeof Xe=="object"&&Xe!==null&&Xe.type===b&&Xe.key===null&&(Xe=Xe.props.children),typeof Xe=="object"&&Xe!==null){switch(Xe.$$typeof){case y:e:{for(var fn=Xe.key;Me!==null;){if(Me.key===fn){if(fn=Xe.type,fn===b){if(Me.tag===7){S(ze,Me.sibling),gt=D(Me,Xe.props.children),gt.return=ze,ze=gt;break e}}else if(Me.elementType===fn||typeof fn=="object"&&fn!==null&&fn.$$typeof===O&&Gm(fn)===Me.type){S(ze,Me.sibling),gt=D(Me,Xe.props),fx(gt,Xe),gt.return=ze,ze=gt;break e}S(ze,Me);break}else g(ze,Me);Me=Me.sibling}Xe.type===b?(gt=xu(Xe.props.children,ze.mode,gt,Xe.key),gt.return=ze,ze=gt):(gt=Fm(Xe.type,Xe.key,Xe.props,null,ze.mode,gt),fx(gt,Xe),gt.return=ze,ze=gt)}return ie(ze);case v:e:{for(fn=Xe.key;Me!==null;){if(Me.key===fn)if(Me.tag===4&&Me.stateNode.containerInfo===Xe.containerInfo&&Me.stateNode.implementation===Xe.implementation){S(ze,Me.sibling),gt=D(Me,Xe.children||[]),gt.return=ze,ze=gt;break e}else{S(ze,Me);break}else g(ze,Me);Me=Me.sibling}gt=ax(Xe,ze.mode,gt),gt.return=ze,ze=gt}return ie(ze);case O:return Xe=Gm(Xe),Vr(ze,Me,Xe,gt)}if(K(Xe))return Jt(ze,Me,Xe,gt);if($(Xe)){if(fn=$(Xe),typeof fn!="function")throw Error(r(150));return Xe=fn.call(Xe),xn(ze,Me,Xe,gt)}if(typeof Xe.then=="function")return Vr(ze,Me,Hw(Xe),gt);if(Xe.$$typeof===j)return Vr(ze,Me,Lw(ze,Xe),gt);Vw(ze,Xe)}return typeof Xe=="string"&&Xe!==""||typeof Xe=="number"||typeof Xe=="bigint"?(Xe=""+Xe,Me!==null&&Me.tag===6?(S(ze,Me.sibling),gt=D(Me,Xe),gt.return=ze,ze=gt):(S(ze,Me),gt=Oh(Xe,ze.mode,gt),gt.return=ze,ze=gt),ie(ze)):S(ze,Me)}return function(ze,Me,Xe,gt){try{dx=0;var fn=Vr(ze,Me,Xe,gt);return Hh=null,fn}catch(an){if(an===Fh||an===Bw)throw an;var dr=ia(29,an,null,ze.mode);return dr.lanes=gt,dr.return=ze,dr}finally{}}}var Km=A8(!0),I8=A8(!1),Jd=!1;function WT(p){p.updateQueue={baseState:p.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function GT(p,g){p=p.updateQueue,g.updateQueue===p&&(g.updateQueue={baseState:p.baseState,firstBaseUpdate:p.firstBaseUpdate,lastBaseUpdate:p.lastBaseUpdate,shared:p.shared,callbacks:null})}function Qd(p){return{lane:p,tag:0,payload:null,callback:null,next:null}}function ef(p,g,S){var A=p.updateQueue;if(A===null)return null;if(A=A.shared,(gr&2)!==0){var D=A.pending;return D===null?g.next=g:(g.next=D.next,D.next=g),A.pending=g,g=Bm(p),Xd(p,null,S),g}return Sc(p,A,g,S),Bm(p)}function mx(p,g,S){if(g=g.updateQueue,g!==null&&(g=g.shared,(S&4194048)!==0)){var A=g.lanes;A&=p.pendingLanes,S|=A,g.lanes=S,Je(p,S)}}function qT(p,g){var S=p.updateQueue,A=p.alternate;if(A!==null&&(A=A.updateQueue,S===A)){var D=null,H=null;if(S=S.firstBaseUpdate,S!==null){do{var ie={lane:S.lane,tag:S.tag,payload:S.payload,callback:null,next:null};H===null?D=H=ie:H=H.next=ie,S=S.next}while(S!==null);H===null?D=H=g:H=H.next=g}else D=H=g;S={baseState:A.baseState,firstBaseUpdate:D,lastBaseUpdate:H,shared:A.shared,callbacks:A.callbacks},p.updateQueue=S;return}p=S.lastBaseUpdate,p===null?S.firstBaseUpdate=g:p.next=g,S.lastBaseUpdate=g}var KT=!1;function px(){if(KT){var p=Bh;if(p!==null)throw p}}function hx(p,g,S,A){KT=!1;var D=p.updateQueue;Jd=!1;var H=D.firstBaseUpdate,ie=D.lastBaseUpdate,me=D.shared.pending;if(me!==null){D.shared.pending=null;var Te=me,Ze=Te.next;Te.next=null,ie===null?H=Ze:ie.next=Ze,ie=Te;var dt=p.alternate;dt!==null&&(dt=dt.updateQueue,me=dt.lastBaseUpdate,me!==ie&&(me===null?dt.firstBaseUpdate=Ze:me.next=Ze,dt.lastBaseUpdate=Te))}if(H!==null){var xt=D.baseState;ie=0,dt=Ze=Te=null,me=H;do{var tt=me.lane&-536870913,at=tt!==me.lane;if(at?(tr&tt)===tt:(A&tt)===tt){tt!==0&&tt===zh&&(KT=!0),dt!==null&&(dt=dt.next={lane:0,tag:me.tag,payload:me.payload,callback:null,next:null});e:{var Jt=p,xn=me;tt=g;var Vr=S;switch(xn.tag){case 1:if(Jt=xn.payload,typeof Jt=="function"){xt=Jt.call(Vr,xt,tt);break e}xt=Jt;break e;case 3:Jt.flags=Jt.flags&-65537|128;case 0:if(Jt=xn.payload,tt=typeof Jt=="function"?Jt.call(Vr,xt,tt):Jt,tt==null)break e;xt=m({},xt,tt);break e;case 2:Jd=!0}}tt=me.callback,tt!==null&&(p.flags|=64,at&&(p.flags|=8192),at=D.callbacks,at===null?D.callbacks=[tt]:at.push(tt))}else at={lane:tt,tag:me.tag,payload:me.payload,callback:me.callback,next:null},dt===null?(Ze=dt=at,Te=xt):dt=dt.next=at,ie|=tt;if(me=me.next,me===null){if(me=D.shared.pending,me===null)break;at=me,me=at.next,at.next=null,D.lastBaseUpdate=at,D.shared.pending=null}}while(!0);dt===null&&(Te=xt),D.baseState=Te,D.firstBaseUpdate=Ze,D.lastBaseUpdate=dt,H===null&&(D.shared.lanes=0),af|=ie,p.lanes=ie,p.memoizedState=xt}}function k8(p,g){if(typeof p!="function")throw Error(r(191,p));p.call(g)}function P8(p,g){var S=p.callbacks;if(S!==null)for(p.callbacks=null,p=0;pH?H:8;var ie=z.T,me={};z.T=me,mA(p,!1,g,S);try{var Te=D(),Ze=z.S;if(Ze!==null&&Ze(me,Te),Te!==null&&typeof Te=="object"&&typeof Te.then=="function"){var dt=Zge(Te,A);xx(p,g,dt,hs(p))}else xx(p,g,A,hs(p))}catch(xt){xx(p,g,{then:function(){},status:"rejected",reason:xt},hs())}finally{W.p=H,ie!==null&&me.types!==null&&(ie.types=me.types),z.T=ie}}function r0e(){}function dA(p,g,S,A){if(p.tag!==5)throw Error(r(476));var D=uB(p).queue;cB(p,D,g,Z,S===null?r0e:function(){return dB(p),S(A)})}function uB(p){var g=p.memoizedState;if(g!==null)return g;g={memoizedState:Z,baseState:Z,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Su,lastRenderedState:Z},next:null};var S={};return g.next={memoizedState:S,baseState:S,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Su,lastRenderedState:S},next:null},p.memoizedState=g,p=p.alternate,p!==null&&(p.memoizedState=g),g}function dB(p){var g=uB(p);g.next===null&&(g=p.alternate.memoizedState),xx(p,g.next.queue,{},hs())}function fA(){return Fo($x)}function fB(){return Di().memoizedState}function mB(){return Di().memoizedState}function i0e(p){for(var g=p.return;g!==null;){switch(g.tag){case 24:case 3:var S=hs();p=Qd(S);var A=ef(g,p,S);A!==null&&(Ga(A,g,S),mx(A,g,S)),g={cache:FT()},p.payload=g;return}g=g.return}}function o0e(p,g,S){var A=hs();S={lane:A,revertLane:0,gesture:null,action:S,hasEagerState:!1,eagerState:null,next:null},Qw(p)?hB(g,S):(S=rx(p,g,S,A),S!==null&&(Ga(S,p,A),gB(S,g,A)))}function pB(p,g,S){var A=hs();xx(p,g,S,A)}function xx(p,g,S,A){var D={lane:A,revertLane:0,gesture:null,action:S,hasEagerState:!1,eagerState:null,next:null};if(Qw(p))hB(g,D);else{var H=p.alternate;if(p.lanes===0&&(H===null||H.lanes===0)&&(H=g.lastRenderedReducer,H!==null))try{var ie=g.lastRenderedState,me=H(ie,S);if(D.hasEagerState=!0,D.eagerState=me,No(me,ie))return Sc(p,g,D,0),qr===null&&zm(),!1}catch{}finally{}if(S=rx(p,g,D,A),S!==null)return Ga(S,p,A),gB(S,g,A),!0}return!1}function mA(p,g,S,A){if(A={lane:2,revertLane:WA(),gesture:null,action:A,hasEagerState:!1,eagerState:null,next:null},Qw(p)){if(g)throw Error(r(479))}else g=rx(p,S,A,2),g!==null&&Ga(g,p,2)}function Qw(p){var g=p.alternate;return p===In||g!==null&&g===In}function hB(p,g){Uh=Gw=!0;var S=p.pending;S===null?g.next=g:(g.next=S.next,S.next=g),p.pending=g}function gB(p,g,S){if((S&4194048)!==0){var A=g.lanes;A&=p.pendingLanes,S|=A,g.lanes=S,Je(p,S)}}var vx={readContext:Fo,use:Yw,useCallback:Ci,useContext:Ci,useEffect:Ci,useImperativeHandle:Ci,useLayoutEffect:Ci,useInsertionEffect:Ci,useMemo:Ci,useReducer:Ci,useRef:Ci,useState:Ci,useDebugValue:Ci,useDeferredValue:Ci,useTransition:Ci,useSyncExternalStore:Ci,useId:Ci,useHostTransitionStatus:Ci,useFormState:Ci,useActionState:Ci,useOptimistic:Ci,useMemoCache:Ci,useCacheRefresh:Ci};vx.useEffectEvent=Ci;var yB={readContext:Fo,use:Yw,useCallback:function(p,g){return _a().memoizedState=[p,g===void 0?null:g],p},useContext:Fo,useEffect:eB,useImperativeHandle:function(p,g,S){S=S!=null?S.concat([p]):null,Zw(4194308,4,iB.bind(null,g,p),S)},useLayoutEffect:function(p,g){return Zw(4194308,4,p,g)},useInsertionEffect:function(p,g){Zw(4,2,p,g)},useMemo:function(p,g){var S=_a();g=g===void 0?null:g;var A=p();if(Ym){$e(!0);try{p()}finally{$e(!1)}}return S.memoizedState=[A,g],A},useReducer:function(p,g,S){var A=_a();if(S!==void 0){var D=S(g);if(Ym){$e(!0);try{S(g)}finally{$e(!1)}}}else D=g;return A.memoizedState=A.baseState=D,p={pending:null,lanes:0,dispatch:null,lastRenderedReducer:p,lastRenderedState:D},A.queue=p,p=p.dispatch=o0e.bind(null,In,p),[A.memoizedState,p]},useRef:function(p){var g=_a();return p={current:p},g.memoizedState=p},useState:function(p){p=aA(p);var g=p.queue,S=pB.bind(null,In,g);return g.dispatch=S,[p.memoizedState,S]},useDebugValue:cA,useDeferredValue:function(p,g){var S=_a();return uA(S,p,g)},useTransition:function(){var p=aA(!1);return p=cB.bind(null,In,p.queue,!0,!1),_a().memoizedState=p,[!1,p]},useSyncExternalStore:function(p,g,S){var A=In,D=_a();if(Yn){if(S===void 0)throw Error(r(407));S=S()}else{if(S=g(),qr===null)throw Error(r(349));(tr&127)!==0||L8(A,g,S)}D.memoizedState=S;var H={value:S,getSnapshot:g};return D.queue=H,eB(B8.bind(null,A,H,p),[p]),A.flags|=2048,Gh(9,{destroy:void 0},z8.bind(null,A,H,S,g),null),S},useId:function(){var p=_a(),g=qr.identifierPrefix;if(Yn){var S=$t,A=yt;S=(A&~(1<<32-Ve(A)-1)).toString(32)+S,g="_"+g+"R_"+S,S=qw++,0<\/script>",H=H.removeChild(H.firstChild);break;case"select":H=typeof A.is=="string"?ie.createElement("select",{is:A.is}):ie.createElement("select"),A.multiple?H.multiple=!0:A.size&&(H.size=A.size);break;default:H=typeof A.is=="string"?ie.createElement(D,{is:A.is}):ie.createElement(D)}}H[Xt]=g,H[On]=A;e:for(ie=g.child;ie!==null;){if(ie.tag===5||ie.tag===6)H.appendChild(ie.stateNode);else if(ie.tag!==4&&ie.tag!==27&&ie.child!==null){ie.child.return=ie,ie=ie.child;continue}if(ie===g)break e;for(;ie.sibling===null;){if(ie.return===null||ie.return===g)break e;ie=ie.return}ie.sibling.return=ie.return,ie=ie.sibling}g.stateNode=H;e:switch(Vo(H,D,A),D){case"button":case"input":case"select":case"textarea":A=!!A.autoFocus;break e;case"img":A=!0;break e;default:A=!1}A&&Cu(g)}}return Qr(g),EA(g,g.type,p===null?null:p.memoizedProps,g.pendingProps,S),null;case 6:if(p&&g.stateNode!=null)p.memoizedProps!==A&&Cu(g);else{if(typeof A!="string"&&g.stateNode===null)throw Error(r(166));if(p=oe.current,El(g)){if(p=g.stateNode,S=g.memoizedProps,A=null,D=cr,D!==null)switch(D.tag){case 27:case 5:A=D.memoizedProps}p[Xt]=g,p=!!(p.nodeValue===S||A!==null&&A.suppressHydrationWarning===!0||O7(p.nodeValue,S)),p||Cc(g,!0)}else p=vS(p).createTextNode(A),p[Xt]=g,g.stateNode=p}return Qr(g),null;case 31:if(S=g.memoizedState,p===null||p.memoizedState!==null){if(A=El(g),S!==null){if(p===null){if(!A)throw Error(r(318));if(p=g.memoizedState,p=p!==null?p.dehydrated:null,!p)throw Error(r(557));p[Xt]=g}else vu(),(g.flags&128)===0&&(g.memoizedState=null),g.flags|=4;Qr(g),p=!1}else S=lx(),p!==null&&p.memoizedState!==null&&(p.memoizedState.hydrationErrors=S),p=!0;if(!p)return g.flags&256?(fs(g),g):(fs(g),null);if((g.flags&128)!==0)throw Error(r(558))}return Qr(g),null;case 13:if(A=g.memoizedState,p===null||p.memoizedState!==null&&p.memoizedState.dehydrated!==null){if(D=El(g),A!==null&&A.dehydrated!==null){if(p===null){if(!D)throw Error(r(318));if(D=g.memoizedState,D=D!==null?D.dehydrated:null,!D)throw Error(r(317));D[Xt]=g}else vu(),(g.flags&128)===0&&(g.memoizedState=null),g.flags|=4;Qr(g),D=!1}else D=lx(),p!==null&&p.memoizedState!==null&&(p.memoizedState.hydrationErrors=D),D=!0;if(!D)return g.flags&256?(fs(g),g):(fs(g),null)}return fs(g),(g.flags&128)!==0?(g.lanes=S,g):(S=A!==null,p=p!==null&&p.memoizedState!==null,S&&(A=g.child,D=null,A.alternate!==null&&A.alternate.memoizedState!==null&&A.alternate.memoizedState.cachePool!==null&&(D=A.alternate.memoizedState.cachePool.pool),H=null,A.memoizedState!==null&&A.memoizedState.cachePool!==null&&(H=A.memoizedState.cachePool.pool),H!==D&&(A.flags|=2048)),S!==p&&S&&(g.child.flags|=8192),iS(g,g.updateQueue),Qr(g),null);case 4:return le(),p===null&&YA(g.stateNode.containerInfo),Qr(g),null;case 10:return bu(g.type),Qr(g),null;case 19:if(J(Oi),A=g.memoizedState,A===null)return Qr(g),null;if(D=(g.flags&128)!==0,H=A.rendering,H===null)if(D)wx(A,!1);else{if(Ni!==0||p!==null&&(p.flags&128)!==0)for(p=g.child;p!==null;){if(H=Ww(p),H!==null){for(g.flags|=128,wx(A,!1),p=H.updateQueue,g.updateQueue=p,iS(g,p),g.subtreeFlags=0,p=S,S=g.child;S!==null;)ix(S,p),S=S.sibling;return te(Oi,Oi.current&1|2),Yn&&ln(g,A.treeForkCount),g.child}p=p.sibling}A.tail!==null&&nt()>cS&&(g.flags|=128,D=!0,wx(A,!1),g.lanes=4194304)}else{if(!D)if(p=Ww(H),p!==null){if(g.flags|=128,D=!0,p=p.updateQueue,g.updateQueue=p,iS(g,p),wx(A,!0),A.tail===null&&A.tailMode==="hidden"&&!H.alternate&&!Yn)return Qr(g),null}else 2*nt()-A.renderingStartTime>cS&&S!==536870912&&(g.flags|=128,D=!0,wx(A,!1),g.lanes=4194304);A.isBackwards?(H.sibling=g.child,g.child=H):(p=A.last,p!==null?p.sibling=H:g.child=H,A.last=H)}return A.tail!==null?(p=A.tail,A.rendering=p,A.tail=p.sibling,A.renderingStartTime=nt(),p.sibling=null,S=Oi.current,te(Oi,D?S&1|2:S&1),Yn&&ln(g,A.treeForkCount),p):(Qr(g),null);case 22:case 23:return fs(g),XT(),A=g.memoizedState!==null,p!==null?p.memoizedState!==null!==A&&(g.flags|=8192):A&&(g.flags|=8192),A?(S&536870912)!==0&&(g.flags&128)===0&&(Qr(g),g.subtreeFlags&6&&(g.flags|=8192)):Qr(g),S=g.updateQueue,S!==null&&iS(g,S.retryQueue),S=null,p!==null&&p.memoizedState!==null&&p.memoizedState.cachePool!==null&&(S=p.memoizedState.cachePool.pool),A=null,g.memoizedState!==null&&g.memoizedState.cachePool!==null&&(A=g.memoizedState.cachePool.pool),A!==S&&(g.flags|=2048),p!==null&&J(Wm),null;case 24:return S=null,p!==null&&(S=p.memoizedState.cache),g.memoizedState.cache!==S&&(g.flags|=2048),bu(Hi),Qr(g),null;case 25:return null;case 30:return null}throw Error(r(156,g.tag))}function u0e(p,g){switch(_i(g),g.tag){case 1:return p=g.flags,p&65536?(g.flags=p&-65537|128,g):null;case 3:return bu(Hi),le(),p=g.flags,(p&65536)!==0&&(p&128)===0?(g.flags=p&-65537|128,g):null;case 26:case 27:case 5:return he(g),null;case 31:if(g.memoizedState!==null){if(fs(g),g.alternate===null)throw Error(r(340));vu()}return p=g.flags,p&65536?(g.flags=p&-65537|128,g):null;case 13:if(fs(g),p=g.memoizedState,p!==null&&p.dehydrated!==null){if(g.alternate===null)throw Error(r(340));vu()}return p=g.flags,p&65536?(g.flags=p&-65537|128,g):null;case 19:return J(Oi),null;case 4:return le(),null;case 10:return bu(g.type),null;case 22:case 23:return fs(g),XT(),p!==null&&J(Wm),p=g.flags,p&65536?(g.flags=p&-65537|128,g):null;case 24:return bu(Hi),null;case 25:return null;default:return null}}function FB(p,g){switch(_i(g),g.tag){case 3:bu(Hi),le();break;case 26:case 27:case 5:he(g);break;case 4:le();break;case 31:g.memoizedState!==null&&fs(g);break;case 13:fs(g);break;case 19:J(Oi);break;case 10:bu(g.type);break;case 22:case 23:fs(g),XT(),p!==null&&J(Wm);break;case 24:bu(Hi)}}function Sx(p,g){try{var S=g.updateQueue,A=S!==null?S.lastEffect:null;if(A!==null){var D=A.next;S=D;do{if((S.tag&p)===p){A=void 0;var H=S.create,ie=S.inst;A=H(),ie.destroy=A}S=S.next}while(S!==D)}}catch(me){Pr(g,g.return,me)}}function rf(p,g,S){try{var A=g.updateQueue,D=A!==null?A.lastEffect:null;if(D!==null){var H=D.next;A=H;do{if((A.tag&p)===p){var ie=A.inst,me=ie.destroy;if(me!==void 0){ie.destroy=void 0,D=g;var Te=S,Ze=me;try{Ze()}catch(dt){Pr(D,Te,dt)}}}A=A.next}while(A!==H)}}catch(dt){Pr(g,g.return,dt)}}function HB(p){var g=p.updateQueue;if(g!==null){var S=p.stateNode;try{P8(g,S)}catch(A){Pr(p,p.return,A)}}}function VB(p,g,S){S.props=Xm(p.type,p.memoizedProps),S.state=p.memoizedState;try{S.componentWillUnmount()}catch(A){Pr(p,g,A)}}function _x(p,g){try{var S=p.ref;if(S!==null){switch(p.tag){case 26:case 27:case 5:var A=p.stateNode;break;case 30:A=p.stateNode;break;default:A=p.stateNode}typeof S=="function"?p.refCleanup=S(A):S.current=A}}catch(D){Pr(p,g,D)}}function jc(p,g){var S=p.ref,A=p.refCleanup;if(S!==null)if(typeof A=="function")try{A()}catch(D){Pr(p,g,D)}finally{p.refCleanup=null,p=p.alternate,p!=null&&(p.refCleanup=null)}else if(typeof S=="function")try{S(null)}catch(D){Pr(p,g,D)}else S.current=null}function UB(p){var g=p.type,S=p.memoizedProps,A=p.stateNode;try{e:switch(g){case"button":case"input":case"select":case"textarea":S.autoFocus&&A.focus();break e;case"img":S.src?A.src=S.src:S.srcSet&&(A.srcset=S.srcSet)}}catch(D){Pr(p,p.return,D)}}function TA(p,g,S){try{var A=p.stateNode;P0e(A,p.type,S,g),A[On]=g}catch(D){Pr(p,p.return,D)}}function WB(p){return p.tag===5||p.tag===3||p.tag===26||p.tag===27&&df(p.type)||p.tag===4}function AA(p){e:for(;;){for(;p.sibling===null;){if(p.return===null||WB(p.return))return null;p=p.return}for(p.sibling.return=p.return,p=p.sibling;p.tag!==5&&p.tag!==6&&p.tag!==18;){if(p.tag===27&&df(p.type)||p.flags&2||p.child===null||p.tag===4)continue e;p.child.return=p,p=p.child}if(!(p.flags&2))return p.stateNode}}function IA(p,g,S){var A=p.tag;if(A===5||A===6)p=p.stateNode,g?(S.nodeType===9?S.body:S.nodeName==="HTML"?S.ownerDocument.body:S).insertBefore(p,g):(g=S.nodeType===9?S.body:S.nodeName==="HTML"?S.ownerDocument.body:S,g.appendChild(p),S=S._reactRootContainer,S!=null||g.onclick!==null||(g.onclick=Co));else if(A!==4&&(A===27&&df(p.type)&&(S=p.stateNode,g=null),p=p.child,p!==null))for(IA(p,g,S),p=p.sibling;p!==null;)IA(p,g,S),p=p.sibling}function oS(p,g,S){var A=p.tag;if(A===5||A===6)p=p.stateNode,g?S.insertBefore(p,g):S.appendChild(p);else if(A!==4&&(A===27&&df(p.type)&&(S=p.stateNode),p=p.child,p!==null))for(oS(p,g,S),p=p.sibling;p!==null;)oS(p,g,S),p=p.sibling}function GB(p){var g=p.stateNode,S=p.memoizedProps;try{for(var A=p.type,D=g.attributes;D.length;)g.removeAttributeNode(D[0]);Vo(g,A,S),g[Xt]=p,g[On]=S}catch(H){Pr(p,p.return,H)}}var Nu=!1,Wi=!1,kA=!1,qB=typeof WeakSet=="function"?WeakSet:Set,Eo=null;function d0e(p,g){if(p=p.containerInfo,JA=jS,p=Rm(p),xc(p)){if("selectionStart"in p)var S={start:p.selectionStart,end:p.selectionEnd};else e:{S=(S=p.ownerDocument)&&S.defaultView||window;var A=S.getSelection&&S.getSelection();if(A&&A.rangeCount!==0){S=A.anchorNode;var D=A.anchorOffset,H=A.focusNode;A=A.focusOffset;try{S.nodeType,H.nodeType}catch{S=null;break e}var ie=0,me=-1,Te=-1,Ze=0,dt=0,xt=p,tt=null;t:for(;;){for(var at;xt!==S||D!==0&&xt.nodeType!==3||(me=ie+D),xt!==H||A!==0&&xt.nodeType!==3||(Te=ie+A),xt.nodeType===3&&(ie+=xt.nodeValue.length),(at=xt.firstChild)!==null;)tt=xt,xt=at;for(;;){if(xt===p)break t;if(tt===S&&++Ze===D&&(me=ie),tt===H&&++dt===A&&(Te=ie),(at=xt.nextSibling)!==null)break;xt=tt,tt=xt.parentNode}xt=at}S=me===-1||Te===-1?null:{start:me,end:Te}}else S=null}S=S||{start:0,end:0}}else S=null;for(QA={focusedElem:p,selectionRange:S},jS=!1,Eo=g;Eo!==null;)if(g=Eo,p=g.child,(g.subtreeFlags&1028)!==0&&p!==null)p.return=g,Eo=p;else for(;Eo!==null;){switch(g=Eo,H=g.alternate,p=g.flags,g.tag){case 0:if((p&4)!==0&&(p=g.updateQueue,p=p!==null?p.events:null,p!==null))for(S=0;S title"))),Vo(H,A,S),H[Xt]=p,En(H),A=H;break e;case"link":var ie=Q7("link","href",D).get(A+(S.href||""));if(ie){for(var me=0;meVr&&(ie=Vr,Vr=xn,xn=ie);var ze=Mm(me,xn),Me=Mm(me,Vr);if(ze&&Me&&(at.rangeCount!==1||at.anchorNode!==ze.node||at.anchorOffset!==ze.offset||at.focusNode!==Me.node||at.focusOffset!==Me.offset)){var Xe=xt.createRange();Xe.setStart(ze.node,ze.offset),at.removeAllRanges(),xn>Vr?(at.addRange(Xe),at.extend(Me.node,Me.offset)):(Xe.setEnd(Me.node,Me.offset),at.addRange(Xe))}}}}for(xt=[],at=me;at=at.parentNode;)at.nodeType===1&&xt.push({element:at,left:at.scrollLeft,top:at.scrollTop});for(typeof me.focus=="function"&&me.focus(),me=0;meS?32:S,z.T=null,S=LA,LA=null;var H=lf,ie=Iu;if(ao=0,Zh=lf=null,Iu=0,(gr&6)!==0)throw Error(r(331));var me=gr;if(gr|=4,i7(H.current),t7(H,H.current,ie,S),gr=me,Ax(0,!1),He&&typeof He.onPostCommitFiberRoot=="function")try{He.onPostCommitFiberRoot(ot,H)}catch{}return!0}finally{W.p=D,z.T=A,S7(p,g)}}function C7(p,g,S){g=E(S,g),g=yA(p.stateNode,g,2),p=ef(p,g,2),p!==null&&(Ee(p,2),Ec(p))}function Pr(p,g,S){if(p.tag===3)C7(p,p,S);else for(;g!==null;){if(g.tag===3){C7(g,p,S);break}else if(g.tag===1){var A=g.stateNode;if(typeof g.type.getDerivedStateFromError=="function"||typeof A.componentDidCatch=="function"&&(sf===null||!sf.has(A))){p=E(S,p),S=NB(2),A=ef(g,S,2),A!==null&&(jB(S,A,g,p),Ee(A,2),Ec(A));break}}g=g.return}}function HA(p,g,S){var A=p.pingCache;if(A===null){A=p.pingCache=new p0e;var D=new Set;A.set(g,D)}else D=A.get(g),D===void 0&&(D=new Set,A.set(g,D));D.has(S)||(RA=!0,D.add(S),p=v0e.bind(null,p,g,S),g.then(p,p))}function v0e(p,g,S){var A=p.pingCache;A!==null&&A.delete(g),p.pingedLanes|=p.suspendedLanes&S,p.warmLanes&=~S,qr===p&&(tr&S)===S&&(Ni===4||Ni===3&&(tr&62914560)===tr&&300>nt()-lS?(gr&2)===0&&Jh(p,0):$A|=S,Xh===tr&&(Xh=0)),Ec(p)}function N7(p,g){g===0&&(g=ht()),p=Vs(p,g),p!==null&&(Ee(p,g),Ec(p))}function b0e(p){var g=p.memoizedState,S=0;g!==null&&(S=g.retryLane),N7(p,S)}function w0e(p,g){var S=0;switch(p.tag){case 31:case 13:var A=p.stateNode,D=p.memoizedState;D!==null&&(S=D.retryLane);break;case 19:A=p.stateNode;break;case 22:A=p.stateNode._retryCache;break;default:throw Error(r(314))}A!==null&&A.delete(g),N7(p,S)}function S0e(p,g){return rt(p,g)}var hS=null,eg=null,VA=!1,gS=!1,UA=!1,uf=0;function Ec(p){p!==eg&&p.next===null&&(eg===null?hS=eg=p:eg=eg.next=p),gS=!0,VA||(VA=!0,C0e())}function Ax(p,g){if(!UA&&gS){UA=!0;do for(var S=!1,A=hS;A!==null;){if(p!==0){var D=A.pendingLanes;if(D===0)var H=0;else{var ie=A.suspendedLanes,me=A.pingedLanes;H=(1<<31-Ve(42|p)+1)-1,H&=D&~(ie&~me),H=H&201326741?H&201326741|1:H?H|2:0}H!==0&&(S=!0,A7(A,H))}else H=tr,H=Lt(A,A===qr?H:0,A.cancelPendingCommit!==null||A.timeoutHandle!==-1),(H&3)===0||Bt(A,H)||(S=!0,A7(A,H));A=A.next}while(S);UA=!1}}function _0e(){j7()}function j7(){gS=VA=!1;var p=0;uf!==0&&R0e()&&(p=uf);for(var g=nt(),S=null,A=hS;A!==null;){var D=A.next,H=E7(A,g);H===0?(A.next=null,S===null?hS=D:S.next=D,D===null&&(eg=S)):(S=A,(p!==0||(H&3)!==0)&&(gS=!0)),A=D}ao!==0&&ao!==5||Ax(p),uf!==0&&(uf=0)}function E7(p,g){for(var S=p.suspendedLanes,A=p.pingedLanes,D=p.expirationTimes,H=p.pendingLanes&-62914561;0me)break;var dt=Te.transferSize,xt=Te.initiatorType;dt&&D7(xt)&&(Te=Te.responseEnd,ie+=dt*(Te"u"?null:document;function Y7(p,g,S){var A=tg;if(A&&typeof g=="string"&&g){var D=bn(g);D='link[rel="'+p+'"][href="'+D+'"]',typeof S=="string"&&(D+='[crossorigin="'+S+'"]'),K7.has(D)||(K7.add(D),p={rel:p,crossOrigin:S,href:g},A.querySelector(D)===null&&(g=A.createElement("link"),Vo(g,"link",p),En(g),A.head.appendChild(g)))}}function V0e(p){ku.D(p),Y7("dns-prefetch",p,null)}function U0e(p,g){ku.C(p,g),Y7("preconnect",p,g)}function W0e(p,g,S){ku.L(p,g,S);var A=tg;if(A&&p&&g){var D='link[rel="preload"][as="'+bn(g)+'"]';g==="image"&&S&&S.imageSrcSet?(D+='[imagesrcset="'+bn(S.imageSrcSet)+'"]',typeof S.imageSizes=="string"&&(D+='[imagesizes="'+bn(S.imageSizes)+'"]')):D+='[href="'+bn(p)+'"]';var H=D;switch(g){case"style":H=ng(p);break;case"script":H=rg(p)}qs.has(H)||(p=m({rel:"preload",href:g==="image"&&S&&S.imageSrcSet?void 0:p,as:g},S),qs.set(H,p),A.querySelector(D)!==null||g==="style"&&A.querySelector(Mx(H))||g==="script"&&A.querySelector(Rx(H))||(g=A.createElement("link"),Vo(g,"link",p),En(g),A.head.appendChild(g)))}}function G0e(p,g){ku.m(p,g);var S=tg;if(S&&p){var A=g&&typeof g.as=="string"?g.as:"script",D='link[rel="modulepreload"][as="'+bn(A)+'"][href="'+bn(p)+'"]',H=D;switch(A){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":H=rg(p)}if(!qs.has(H)&&(p=m({rel:"modulepreload",href:p},g),qs.set(H,p),S.querySelector(D)===null)){switch(A){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(S.querySelector(Rx(H)))return}A=S.createElement("link"),Vo(A,"link",p),En(A),S.head.appendChild(A)}}}function q0e(p,g,S){ku.S(p,g,S);var A=tg;if(A&&p){var D=Un(A).hoistableStyles,H=ng(p);g=g||"default";var ie=D.get(H);if(!ie){var me={loading:0,preload:null};if(ie=A.querySelector(Mx(H)))me.loading=5;else{p=m({rel:"stylesheet",href:p,"data-precedence":g},S),(S=qs.get(H))&&aI(p,S);var Te=ie=A.createElement("link");En(Te),Vo(Te,"link",p),Te._p=new Promise(function(Ze,dt){Te.onload=Ze,Te.onerror=dt}),Te.addEventListener("load",function(){me.loading|=1}),Te.addEventListener("error",function(){me.loading|=2}),me.loading|=4,wS(ie,g,A)}ie={type:"stylesheet",instance:ie,count:1,state:me},D.set(H,ie)}}}function K0e(p,g){ku.X(p,g);var S=tg;if(S&&p){var A=Un(S).hoistableScripts,D=rg(p),H=A.get(D);H||(H=S.querySelector(Rx(D)),H||(p=m({src:p,async:!0},g),(g=qs.get(D))&&sI(p,g),H=S.createElement("script"),En(H),Vo(H,"link",p),S.head.appendChild(H)),H={type:"script",instance:H,count:1,state:null},A.set(D,H))}}function Y0e(p,g){ku.M(p,g);var S=tg;if(S&&p){var A=Un(S).hoistableScripts,D=rg(p),H=A.get(D);H||(H=S.querySelector(Rx(D)),H||(p=m({src:p,async:!0,type:"module"},g),(g=qs.get(D))&&sI(p,g),H=S.createElement("script"),En(H),Vo(H,"link",p),S.head.appendChild(H)),H={type:"script",instance:H,count:1,state:null},A.set(D,H))}}function X7(p,g,S,A){var D=(D=oe.current)?bS(D):null;if(!D)throw Error(r(446));switch(p){case"meta":case"title":return null;case"style":return typeof S.precedence=="string"&&typeof S.href=="string"?(g=ng(S.href),S=Un(D).hoistableStyles,A=S.get(g),A||(A={type:"style",instance:null,count:0,state:null},S.set(g,A)),A):{type:"void",instance:null,count:0,state:null};case"link":if(S.rel==="stylesheet"&&typeof S.href=="string"&&typeof S.precedence=="string"){p=ng(S.href);var H=Un(D).hoistableStyles,ie=H.get(p);if(ie||(D=D.ownerDocument||D,ie={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},H.set(p,ie),(H=D.querySelector(Mx(p)))&&!H._p&&(ie.instance=H,ie.state.loading=5),qs.has(p)||(S={rel:"preload",as:"style",href:S.href,crossOrigin:S.crossOrigin,integrity:S.integrity,media:S.media,hrefLang:S.hrefLang,referrerPolicy:S.referrerPolicy},qs.set(p,S),H||X0e(D,p,S,ie.state))),g&&A===null)throw Error(r(528,""));return ie}if(g&&A!==null)throw Error(r(529,""));return null;case"script":return g=S.async,S=S.src,typeof S=="string"&&g&&typeof g!="function"&&typeof g!="symbol"?(g=rg(S),S=Un(D).hoistableScripts,A=S.get(g),A||(A={type:"script",instance:null,count:0,state:null},S.set(g,A)),A):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,p))}}function ng(p){return'href="'+bn(p)+'"'}function Mx(p){return'link[rel="stylesheet"]['+p+"]"}function Z7(p){return m({},p,{"data-precedence":p.precedence,precedence:null})}function X0e(p,g,S,A){p.querySelector('link[rel="preload"][as="style"]['+g+"]")?A.loading=1:(g=p.createElement("link"),A.preload=g,g.addEventListener("load",function(){return A.loading|=1}),g.addEventListener("error",function(){return A.loading|=2}),Vo(g,"link",S),En(g),p.head.appendChild(g))}function rg(p){return'[src="'+bn(p)+'"]'}function Rx(p){return"script[async]"+p}function J7(p,g,S){if(g.count++,g.instance===null)switch(g.type){case"style":var A=p.querySelector('style[data-href~="'+bn(S.href)+'"]');if(A)return g.instance=A,En(A),A;var D=m({},S,{"data-href":S.href,"data-precedence":S.precedence,href:null,precedence:null});return A=(p.ownerDocument||p).createElement("style"),En(A),Vo(A,"style",D),wS(A,S.precedence,p),g.instance=A;case"stylesheet":D=ng(S.href);var H=p.querySelector(Mx(D));if(H)return g.state.loading|=4,g.instance=H,En(H),H;A=Z7(S),(D=qs.get(D))&&aI(A,D),H=(p.ownerDocument||p).createElement("link"),En(H);var ie=H;return ie._p=new Promise(function(me,Te){ie.onload=me,ie.onerror=Te}),Vo(H,"link",A),g.state.loading|=4,wS(H,S.precedence,p),g.instance=H;case"script":return H=rg(S.src),(D=p.querySelector(Rx(H)))?(g.instance=D,En(D),D):(A=S,(D=qs.get(H))&&(A=m({},S),sI(A,D)),p=p.ownerDocument||p,D=p.createElement("script"),En(D),Vo(D,"link",A),p.head.appendChild(D),g.instance=D);case"void":return null;default:throw Error(r(443,g.type))}else g.type==="stylesheet"&&(g.state.loading&4)===0&&(A=g.instance,g.state.loading|=4,wS(A,S.precedence,p));return g.instance}function wS(p,g,S){for(var A=S.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),D=A.length?A[A.length-1]:null,H=D,ie=0;ie title"):null)}function Z0e(p,g,S){if(S===1||g.itemProp!=null)return!1;switch(p){case"meta":case"title":return!0;case"style":if(typeof g.precedence!="string"||typeof g.href!="string"||g.href==="")break;return!0;case"link":if(typeof g.rel!="string"||typeof g.href!="string"||g.href===""||g.onLoad||g.onError)break;switch(g.rel){case"stylesheet":return p=g.disabled,typeof g.precedence=="string"&&p==null;default:return!0}case"script":if(g.async&&typeof g.async!="function"&&typeof g.async!="symbol"&&!g.onLoad&&!g.onError&&g.src&&typeof g.src=="string")return!0}return!1}function tF(p){return!(p.type==="stylesheet"&&(p.state.loading&3)===0)}function J0e(p,g,S,A){if(S.type==="stylesheet"&&(typeof A.media!="string"||matchMedia(A.media).matches!==!1)&&(S.state.loading&4)===0){if(S.instance===null){var D=ng(A.href),H=g.querySelector(Mx(D));if(H){g=H._p,g!==null&&typeof g=="object"&&typeof g.then=="function"&&(p.count++,p=_S.bind(p),g.then(p,p)),S.state.loading|=4,S.instance=H,En(H);return}H=g.ownerDocument||g,A=Z7(A),(D=qs.get(D))&&aI(A,D),H=H.createElement("link"),En(H);var ie=H;ie._p=new Promise(function(me,Te){ie.onload=me,ie.onerror=Te}),Vo(H,"link",A),S.instance=H}p.stylesheets===null&&(p.stylesheets=new Map),p.stylesheets.set(S,g),(g=S.state.preload)&&(S.state.loading&3)===0&&(p.count++,S=_S.bind(p),g.addEventListener("load",S),g.addEventListener("error",S))}}var lI=0;function Q0e(p,g){return p.stylesheets&&p.count===0&&NS(p,p.stylesheets),0lI?50:800)+g);return p.unsuspend=S,function(){p.unsuspend=null,clearTimeout(A),clearTimeout(D)}}:null}function _S(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)NS(this,this.stylesheets);else if(this.unsuspend){var p=this.unsuspend;this.unsuspend=null,p()}}}var CS=null;function NS(p,g){p.stylesheets=null,p.unsuspend!==null&&(p.count++,CS=new Map,g.forEach(eye,p),CS=null,_S.call(p))}function eye(p,g){if(!(g.state.loading&4)){var S=CS.get(p);if(S)var A=S.get(null);else{S=new Map,CS.set(p,S);for(var D=p.querySelectorAll("link[data-precedence],style[data-precedence]"),H=0;H"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),yI.exports=xye(),yI.exports}var lee=vye();const bye=Zo(lee);/** * react-router v7.11.0 * * 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 NF="popstate";function wye(e={}){function t(i,a){let{pathname:s="/",search:l="",hash:c=""}=hh(i.location.hash.substring(1));return!s.startsWith("/")&&!s.startsWith(".")&&(s="/"+s),m4("",{pathname:s,search:l,hash:c},a.state&&a.state.usr||null,a.state&&a.state.key||"default")}function n(i,a){let s=i.document.querySelector("base"),l="";if(s&&s.getAttribute("href")){let c=i.location.href,u=c.indexOf("#");l=u===-1?c:c.slice(0,u)}return l+"#"+(typeof a=="string"?a:ub(a))}function r(i,a){ks(i.pathname.charAt(0)==="/",`relative pathnames are not supported in hash history.push(${JSON.stringify(a)})`)}return _ye(t,n,r,e)}function hi(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function ks(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Sye(){return Math.random().toString(36).substring(2,10)}function jF(e,t){return{usr:e.state,key:e.key,idx:t}}function m4(e,t,n=null,r){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?hh(t):t,state:n,key:t&&t.key||r||Sye()}}function ub({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function hh(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function _ye(e,t,n,r={}){let{window:i=document.defaultView,v5Compat:a=!1}=r,s=i.history,l="POP",c=null,u=d();u==null&&(u=0,s.replaceState({...s.state,idx:u},""));function d(){return(s.state||{idx:null}).idx}function m(){l="POP";let w=d(),_=w==null?null:w-u;u=w,c&&c({action:l,location:b.location,delta:_})}function h(w,_){l="PUSH";let C=m4(b.location,w,_);n&&n(C,w),u=d()+1;let j=jF(C,u),T=b.createHref(C);try{s.pushState(j,"",T)}catch(N){if(N instanceof DOMException&&N.name==="DataCloneError")throw N;i.location.assign(T)}a&&c&&c({action:l,location:b.location,delta:1})}function y(w,_){l="REPLACE";let C=m4(b.location,w,_);n&&n(C,w),u=d();let j=jF(C,u),T=b.createHref(C);s.replaceState(j,"",T),a&&c&&c({action:l,location:b.location,delta:0})}function v(w){return Cye(w)}let b={get action(){return l},get location(){return e(i,s)},listen(w){if(c)throw new Error("A history only accepts one active listener");return i.addEventListener(NF,m),c=w,()=>{i.removeEventListener(NF,m),c=null}},createHref(w){return t(i,w)},createURL:v,encodeLocation(w){let _=v(w);return{pathname:_.pathname,search:_.search,hash:_.hash}},push:h,replace:y,go(w){return s.go(w)}};return b}function Cye(e,t=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),hi(n,"No window.location.(origin|href) available to create URL");let r=typeof e=="string"?e:ub(e);return r=r.replace(/ $/,"%20"),!t&&r.startsWith("//")&&(r=n+r),new URL(r,n)}function cee(e,t,n="/"){return Nye(e,t,n,!1)}function Nye(e,t,n,r){let i=typeof t=="string"?hh(t):t,a=ud(i.pathname||"/",n);if(a==null)return null;let s=uee(e);jye(s);let l=null;for(let c=0;l==null&&c{let d={relativePath:u===void 0?s.path||"":u,caseSensitive:s.caseSensitive===!0,childrenIndex:l,route:s};if(d.relativePath.startsWith("/")){if(!d.relativePath.startsWith(r)&&c)return;hi(d.relativePath.startsWith(r),`Absolute route path "${d.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),d.relativePath=d.relativePath.slice(r.length)}let m=ed([r,d.relativePath]),h=n.concat(d);s.children&&s.children.length>0&&(hi(s.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${m}".`),uee(s.children,t,h,m,c)),!(s.path==null&&!s.index)&&t.push({path:m,score:Mye(m,s.index),routesMeta:h})};return e.forEach((s,l)=>{var c;if(s.path===""||!((c=s.path)!=null&&c.includes("?")))a(s,l);else for(let u of dee(s.path))a(s,l,!0,u)}),t}function dee(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),a=n.replace(/\?$/,"");if(r.length===0)return i?[a,""]:[a];let s=dee(r.join("/")),l=[];return l.push(...s.map(c=>c===""?a:[a,c].join("/"))),i&&l.push(...s),l.map(c=>e.startsWith("/")&&c===""?"/":c)}function jye(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Rye(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var Eye=/^:[\w-]+$/,Tye=3,Aye=2,Iye=1,kye=10,Pye=-2,EF=e=>e==="*";function Mye(e,t){let n=e.split("/"),r=n.length;return n.some(EF)&&(r+=Pye),t&&(r+=Aye),n.filter(i=>!EF(i)).reduce((i,a)=>i+(Eye.test(a)?Tye:a===""?Iye:kye),r)}function Rye(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function $ye(e,t,n=!1){let{routesMeta:r}=e,i={},a="/",s=[];for(let l=0;l{if(d==="*"){let v=l[h]||"";s=a.slice(0,a.length-v.length).replace(/(.)\/+$/,"$1")}const y=l[h];return m&&!y?u[d]=void 0:u[d]=(y||"").replace(/%2F/g,"/"),u},{}),pathname:a,pathnameBase:s,pattern:e}}function Oye(e,t=!1,n=!0){ks(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 r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,l,c)=>(r.push({paramName:l,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function Dye(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return ks(!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 (${t}).`),e}}function ud(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}var fee=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Lye=e=>fee.test(e);function zye(e,t="/"){let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?hh(e):e,a;if(n)if(Lye(n))a=n;else{if(n.includes("//")){let s=n;n=n.replace(/\/\/+/g,"/"),ks(!1,`Pathnames cannot have embedded double slashes - normalizing ${s} -> ${n}`)}n.startsWith("/")?a=TF(n.substring(1),"/"):a=TF(n,t)}else a=t;return{pathname:a,search:Hye(r),hash:Vye(i)}}function TF(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function wI(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function Bye(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function lO(e){let t=Bye(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function cO(e,t,n,r=!1){let i;typeof e=="string"?i=hh(e):(i={...e},hi(!i.pathname||!i.pathname.includes("?"),wI("?","pathname","search",i)),hi(!i.pathname||!i.pathname.includes("#"),wI("#","pathname","hash",i)),hi(!i.search||!i.search.includes("#"),wI("#","search","hash",i)));let a=e===""||i.pathname==="",s=a?"/":i.pathname,l;if(s==null)l=n;else{let m=t.length-1;if(!r&&s.startsWith("..")){let h=s.split("/");for(;h[0]==="..";)h.shift(),m-=1;i.pathname=h.join("/")}l=m>=0?t[m]:"/"}let c=zye(i,l),u=s&&s!=="/"&&s.endsWith("/"),d=(a||s===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(u||d)&&(c.pathname+="/"),c}var ed=e=>e.join("/").replace(/\/\/+/g,"/"),Fye=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Hye=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Vye=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,Uye=class{constructor(e,t,n,r=!1){this.status=e,this.statusText=t||"",this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function Wye(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function Gye(e){return e.map(t=>t.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var mee=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function pee(e,t){let n=e;if(typeof n!="string"||!fee.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,i=!1;if(mee)try{let a=new URL(window.location.href),s=n.startsWith("//")?new URL(a.protocol+n):new URL(n),l=ud(s.pathname,t);s.origin===a.origin&&l!=null?n=l+s.search+s.hash:i=!0}catch{ks(!1,` contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:i,to:n}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var hee=["POST","PUT","PATCH","DELETE"];new Set(hee);var qye=["GET",...hee];new Set(qye);var ny=f.createContext(null);ny.displayName="DataRouter";var oj=f.createContext(null);oj.displayName="DataRouterState";var Kye=f.createContext(!1),gee=f.createContext({isTransitioning:!1});gee.displayName="ViewTransition";var Yye=f.createContext(new Map);Yye.displayName="Fetchers";var Xye=f.createContext(null);Xye.displayName="Await";var Ds=f.createContext(null);Ds.displayName="Navigation";var m1=f.createContext(null);m1.displayName="Location";var eu=f.createContext({outlet:null,matches:[],isDataRoute:!1});eu.displayName="Route";var uO=f.createContext(null);uO.displayName="RouteError";var yee="REACT_ROUTER_ERROR",Zye="REDIRECT",Jye="ROUTE_ERROR_RESPONSE";function Qye(e){if(e.startsWith(`${yee}:${Zye}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.location=="string"&&typeof t.reloadDocument=="boolean"&&typeof t.replace=="boolean")return t}catch{}}function exe(e){if(e.startsWith(`${yee}:${Jye}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string")return new Uye(t.status,t.statusText,t.data)}catch{}}function txe(e,{relative:t}={}){hi(ry(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:r}=f.useContext(Ds),{hash:i,pathname:a,search:s}=p1(e,{relative:t}),l=a;return n!=="/"&&(l=a==="/"?n:ed([n,a])),r.createHref({pathname:l,search:s,hash:i})}function ry(){return f.useContext(m1)!=null}function mm(){return hi(ry(),"useLocation() may be used only in the context of a component."),f.useContext(m1).location}var xee="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function vee(e){f.useContext(Ds).static||f.useLayoutEffect(e)}function aj(){let{isDataRoute:e}=f.useContext(eu);return e?pxe():nxe()}function nxe(){hi(ry(),"useNavigate() may be used only in the context of a component.");let e=f.useContext(ny),{basename:t,navigator:n}=f.useContext(Ds),{matches:r}=f.useContext(eu),{pathname:i}=mm(),a=JSON.stringify(lO(r)),s=f.useRef(!1);return vee(()=>{s.current=!0}),f.useCallback((c,u={})=>{if(ks(s.current,xee),!s.current)return;if(typeof c=="number"){n.go(c);return}let d=cO(c,JSON.parse(a),i,u.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:ed([t,d.pathname])),(u.replace?n.replace:n.push)(d,u.state,u)},[t,n,a,i,e])}f.createContext(null);function p1(e,{relative:t}={}){let{matches:n}=f.useContext(eu),{pathname:r}=mm(),i=JSON.stringify(lO(n));return f.useMemo(()=>cO(e,JSON.parse(i),r,t==="path"),[e,i,r,t])}function rxe(e,t){return bee(e,t)}function bee(e,t,n,r,i){var C;hi(ry(),"useRoutes() may be used only in the context of a component.");let{navigator:a}=f.useContext(Ds),{matches:s}=f.useContext(eu),l=s[s.length-1],c=l?l.params:{},u=l?l.pathname:"/",d=l?l.pathnameBase:"/",m=l&&l.route;{let j=m&&m.path||"";See(u,!m||j.endsWith("*")||j.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${u}" (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 h=mm(),y;if(t){let j=typeof t=="string"?hh(t):t;hi(d==="/"||((C=j.pathname)==null?void 0:C.startsWith(d)),`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 "${d}" but pathname "${j.pathname}" was given in the \`location\` prop.`),y=j}else y=h;let v=y.pathname||"/",b=v;if(d!=="/"){let j=d.replace(/^\//,"").split("/");b="/"+v.replace(/^\//,"").split("/").slice(j.length).join("/")}let w=cee(e,{pathname:b});ks(m||w!=null,`No routes matched location "${y.pathname}${y.search}${y.hash}" `),ks(w==null||w[w.length-1].route.element!==void 0||w[w.length-1].route.Component!==void 0||w[w.length-1].route.lazy!==void 0,`Matched leaf route at location "${y.pathname}${y.search}${y.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 _=lxe(w&&w.map(j=>Object.assign({},j,{params:Object.assign({},c,j.params),pathname:ed([d,a.encodeLocation?a.encodeLocation(j.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:j.pathname]),pathnameBase:j.pathnameBase==="/"?d:ed([d,a.encodeLocation?a.encodeLocation(j.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:j.pathnameBase])})),s,n,r,i);return t&&_?f.createElement(m1.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...y},navigationType:"POP"}},_):_}function ixe(){let e=mxe(),t=Wye(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:r},a={padding:"2px 4px",backgroundColor:r},s=null;return console.error("Error handled by React Router default ErrorBoundary:",e),s=f.createElement(f.Fragment,null,f.createElement("p",null,"💿 Hey developer 👋"),f.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",f.createElement("code",{style:a},"ErrorBoundary")," or"," ",f.createElement("code",{style:a},"errorElement")," prop on your route.")),f.createElement(f.Fragment,null,f.createElement("h2",null,"Unexpected Application Error!"),f.createElement("h3",{style:{fontStyle:"italic"}},t),n?f.createElement("pre",{style:i},n):null,s)}var oxe=f.createElement(ixe,null),wee=class extends f.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,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):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 n=exe(e.digest);n&&(e=n)}let t=e!==void 0?f.createElement(eu.Provider,{value:this.props.routeContext},f.createElement(uO.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?f.createElement(axe,{error:e},t):t}};wee.contextType=Kye;var SI=new WeakMap;function axe({children:e,error:t}){let{basename:n}=f.useContext(Ds);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let r=Qye(t.digest);if(r){let i=SI.get(t);if(i)throw i;let a=pee(r.location,n);if(mee&&!SI.get(t))if(a.isExternal||r.reloadDocument)window.location.href=a.absoluteURL||a.to;else{const s=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(a.to,{replace:r.replace}));throw SI.set(t,s),s}return f.createElement("meta",{httpEquiv:"refresh",content:`0;url=${a.absoluteURL||a.to}`})}}return e}function sxe({routeContext:e,match:t,children:n}){let r=f.useContext(ny);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),f.createElement(eu.Provider,{value:e},n)}function lxe(e,t=[],n=null,r=null,i=null){if(e==null){if(!n)return null;if(n.errors)e=n.matches;else if(t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let a=e,s=n==null?void 0:n.errors;if(s!=null){let d=a.findIndex(m=>m.route.id&&(s==null?void 0:s[m.route.id])!==void 0);hi(d>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(s).join(",")}`),a=a.slice(0,Math.min(a.length,d+1))}let l=!1,c=-1;if(n)for(let d=0;d=0?a=a.slice(0,c+1):a=[a[0]];break}}}let u=n&&r?(d,m)=>{var h,y;r(d,{location:n.location,params:((y=(h=n.matches)==null?void 0:h[0])==null?void 0:y.params)??{},unstable_pattern:Gye(n.matches),errorInfo:m})}:void 0;return a.reduceRight((d,m,h)=>{let y,v=!1,b=null,w=null;n&&(y=s&&m.route.id?s[m.route.id]:void 0,b=m.route.errorElement||oxe,l&&(c<0&&h===0?(See("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),v=!0,w=null):c===h&&(v=!0,w=m.route.hydrateFallbackElement||null)));let _=t.concat(a.slice(0,h+1)),C=()=>{let j;return y?j=b:v?j=w:m.route.Component?j=f.createElement(m.route.Component,null):m.route.element?j=m.route.element:j=d,f.createElement(sxe,{match:m,routeContext:{outlet:d,matches:_,isDataRoute:n!=null},children:j})};return n&&(m.route.ErrorBoundary||m.route.errorElement||h===0)?f.createElement(wee,{location:n.location,revalidation:n.revalidation,component:b,error:y,children:C(),routeContext:{outlet:null,matches:_,isDataRoute:!0},onError:u}):C()},null)}function dO(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function cxe(e){let t=f.useContext(ny);return hi(t,dO(e)),t}function uxe(e){let t=f.useContext(oj);return hi(t,dO(e)),t}function dxe(e){let t=f.useContext(eu);return hi(t,dO(e)),t}function fO(e){let t=dxe(e),n=t.matches[t.matches.length-1];return hi(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function fxe(){return fO("useRouteId")}function mxe(){var r;let e=f.useContext(uO),t=uxe("useRouteError"),n=fO("useRouteError");return e!==void 0?e:(r=t.errors)==null?void 0:r[n]}function pxe(){let{router:e}=cxe("useNavigate"),t=fO("useNavigate"),n=f.useRef(!1);return vee(()=>{n.current=!0}),f.useCallback(async(i,a={})=>{ks(n.current,xee),n.current&&(typeof i=="number"?await e.navigate(i):await e.navigate(i,{fromRouteId:t,...a}))},[e,t])}var AF={};function See(e,t,n){!t&&!AF[e]&&(AF[e]=!0,ks(!1,n))}f.memo(hxe);function hxe({routes:e,future:t,state:n,onError:r}){return bee(e,void 0,n,r,t)}function _ee({to:e,replace:t,state:n,relative:r}){hi(ry()," may be used only in the context of a component.");let{static:i}=f.useContext(Ds);ks(!i," 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:a}=f.useContext(eu),{pathname:s}=mm(),l=aj(),c=cO(e,lO(a),s,r==="path"),u=JSON.stringify(c);return f.useEffect(()=>{l(JSON.parse(u),{replace:t,state:n,relative:r})},[l,u,r,t,n]),null}function Nf(e){hi(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function gxe({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:i,static:a=!1,unstable_useTransitions:s}){hi(!ry(),"You cannot render a inside another . You should never have more than one in your app.");let l=e.replace(/^\/*/,"/"),c=f.useMemo(()=>({basename:l,navigator:i,static:a,unstable_useTransitions:s,future:{}}),[l,i,a,s]);typeof n=="string"&&(n=hh(n));let{pathname:u="/",search:d="",hash:m="",state:h=null,key:y="default"}=n,v=f.useMemo(()=>{let b=ud(u,l);return b==null?null:{location:{pathname:b,search:d,hash:m,state:h,key:y},navigationType:r}},[l,u,d,m,h,y,r]);return ks(v!=null,` is not able to match the URL "${u}${d}${m}" because it does not start with the basename, so the won't render anything.`),v==null?null:f.createElement(Ds.Provider,{value:c},f.createElement(m1.Provider,{children:t,value:v}))}function yxe({children:e,location:t}){return rxe(p4(e),t)}function p4(e,t=[]){let n=[];return f.Children.forEach(e,(r,i)=>{if(!f.isValidElement(r))return;let a=[...t,i];if(r.type===f.Fragment){n.push.apply(n,p4(r.props.children,a));return}hi(r.type===Nf,`[${typeof r.type=="string"?r.type:r.type.name}] is not a component. All component children of must be a or `),hi(!r.props.index||!r.props.children,"An index route cannot have child routes.");let s={id:r.props.id||a.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,middleware:r.props.middleware,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=p4(r.props.children,a)),n.push(s)}),n}var aC="get",sC="application/x-www-form-urlencoded";function sj(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function xxe(e){return sj(e)&&e.tagName.toLowerCase()==="button"}function vxe(e){return sj(e)&&e.tagName.toLowerCase()==="form"}function bxe(e){return sj(e)&&e.tagName.toLowerCase()==="input"}function wxe(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Sxe(e,t){return e.button===0&&(!t||t==="_self")&&!wxe(e)}var RS=null;function _xe(){if(RS===null)try{new FormData(document.createElement("form"),0),RS=!1}catch{RS=!0}return RS}var Cxe=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function _I(e){return e!=null&&!Cxe.has(e)?(ks(!1,`"${e}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${sC}"`),null):e}function Nxe(e,t){let n,r,i,a,s;if(vxe(e)){let l=e.getAttribute("action");r=l?ud(l,t):null,n=e.getAttribute("method")||aC,i=_I(e.getAttribute("enctype"))||sC,a=new FormData(e)}else if(xxe(e)||bxe(e)&&(e.type==="submit"||e.type==="image")){let l=e.form;if(l==null)throw new Error('Cannot submit a