(function(){const c=document.createElement("link").relList;if(c&&c.supports&&c.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))l(a);new MutationObserver(a=>{for(const n of a)if(n.type==="childList")for(const r of n.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&l(r)}).observe(document,{childList:!0,subtree:!0});function t(a){const n={};return a.integrity&&(n.integrity=a.integrity),a.referrerPolicy&&(n.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?n.credentials="include":a.crossOrigin==="anonymous"?n.credentials="omit":n.credentials="same-origin",n}function l(a){if(a.ep)return;a.ep=!0;const n=t(a);fetch(a.href,n)}})();function gc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var oi={exports:{}},Y7={};var ou;function BE(){if(ou)return Y7;ou=1;var e=Symbol.for("react.transitional.element"),c=Symbol.for("react.fragment");function t(l,a,n){var r=null;if(n!==void 0&&(r=""+n),a.key!==void 0&&(r=""+a.key),"key"in a){n={};for(var o in a)o!=="key"&&(n[o]=a[o])}else n=a;return a=n.ref,{$$typeof:e,type:l,key:r,ref:a!==void 0?a:null,props:n}}return Y7.Fragment=c,Y7.jsx=t,Y7.jsxs=t,Y7}var hu;function kE(){return hu||(hu=1,oi.exports=BE()),oi.exports}var D=kE(),hi={exports:{}},B2={};var du;function LE(){if(du)return B2;du=1;var e=Symbol.for("react.transitional.element"),c=Symbol.for("react.portal"),t=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),n=Symbol.for("react.consumer"),r=Symbol.for("react.context"),o=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),g=Symbol.for("react.activity"),_=Symbol.iterator;function z(O){return O===null||typeof O!="object"?null:(O=_&&O[_]||O["@@iterator"],typeof O=="function"?O:null)}var M={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,x={};function F(O,X,T){this.props=O,this.context=X,this.refs=x,this.updater=T||M}F.prototype.isReactComponent={},F.prototype.setState=function(O,X){if(typeof O!="object"&&typeof O!="function"&&O!=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,O,X,"setState")},F.prototype.forceUpdate=function(O){this.updater.enqueueForceUpdate(this,O,"forceUpdate")};function L(){}L.prototype=F.prototype;function S(O,X,T){this.props=O,this.context=X,this.refs=x,this.updater=T||M}var b=S.prototype=new L;b.constructor=S,C(b,F.prototype),b.isPureReactComponent=!0;var E=Array.isArray;function y(){}var R={H:null,A:null,T:null,S:null},j=Object.prototype.hasOwnProperty;function I(O,X,T){var m2=T.ref;return{$$typeof:e,type:O,key:X,ref:m2!==void 0?m2:null,props:T}}function B(O,X){return I(O.type,X,O.props)}function P(O){return typeof O=="object"&&O!==null&&O.$$typeof===e}function G(O){var X={"=":"=0",":":"=2"};return"$"+O.replace(/[=:]/g,function(T){return X[T]})}var c2=/\/+/g;function r2(O,X){return typeof O=="object"&&O!==null&&O.key!=null?G(""+O.key):X.toString(36)}function s2(O){switch(O.status){case"fulfilled":return O.value;case"rejected":throw O.reason;default:switch(typeof O.status=="string"?O.then(y,y):(O.status="pending",O.then(function(X){O.status==="pending"&&(O.status="fulfilled",O.value=X)},function(X){O.status==="pending"&&(O.status="rejected",O.reason=X)})),O.status){case"fulfilled":return O.value;case"rejected":throw O.reason}}throw O}function $(O,X,T,m2,F2){var M2=typeof O;(M2==="undefined"||M2==="boolean")&&(O=null);var C2=!1;if(O===null)C2=!0;else switch(M2){case"bigint":case"string":case"number":C2=!0;break;case"object":switch(O.$$typeof){case e:case c:C2=!0;break;case f:return C2=O._init,$(C2(O._payload),X,T,m2,F2)}}if(C2)return F2=F2(O),C2=m2===""?"."+r2(O,0):m2,E(F2)?(T="",C2!=null&&(T=C2.replace(c2,"$&/")+"/"),$(F2,X,T,"",function(w2){return w2})):F2!=null&&(P(F2)&&(F2=B(F2,T+(F2.key==null||O&&O.key===F2.key?"":(""+F2.key).replace(c2,"$&/")+"/")+C2)),X.push(F2)),1;C2=0;var k2=m2===""?".":m2+":";if(E(O))for(var l2=0;l2>>1,H=$[f2];if(0>>1;f2a(T,i2))m2a(F2,T)?($[f2]=F2,$[m2]=i2,f2=m2):($[f2]=T,$[X]=i2,f2=X);else if(m2a(F2,i2))$[f2]=F2,$[m2]=i2,f2=m2;else break e}}return e2}function a($,e2){var i2=$.sortIndex-e2.sortIndex;return i2!==0?i2:$.id-e2.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var n=performance;e.unstable_now=function(){return n.now()}}else{var r=Date,o=r.now();e.unstable_now=function(){return r.now()-o}}var d=[],p=[],f=1,g=null,_=3,z=!1,M=!1,C=!1,x=!1,F=typeof setTimeout=="function"?setTimeout:null,L=typeof clearTimeout=="function"?clearTimeout:null,S=typeof setImmediate<"u"?setImmediate:null;function b($){for(var e2=t(p);e2!==null;){if(e2.callback===null)l(p);else if(e2.startTime<=$)l(p),e2.sortIndex=e2.expirationTime,c(d,e2);else break;e2=t(p)}}function E($){if(C=!1,b($),!M)if(t(d)!==null)M=!0,y||(y=!0,G());else{var e2=t(p);e2!==null&&s2(E,e2.startTime-$)}}var y=!1,R=-1,j=5,I=-1;function B(){return x?!0:!(e.unstable_now()-I$&&B());){var f2=g.callback;if(typeof f2=="function"){g.callback=null,_=g.priorityLevel;var H=f2(g.expirationTime<=$);if($=e.unstable_now(),typeof H=="function"){g.callback=H,b($),e2=!0;break c}g===t(d)&&l(d),b($)}else l(d);g=t(d)}if(g!==null)e2=!0;else{var O=t(p);O!==null&&s2(E,O.startTime-$),e2=!1}}break e}finally{g=null,_=i2,z=!1}e2=void 0}}finally{e2?G():y=!1}}}var G;if(typeof S=="function")G=function(){S(P)};else if(typeof MessageChannel<"u"){var c2=new MessageChannel,r2=c2.port2;c2.port1.onmessage=P,G=function(){r2.postMessage(null)}}else G=function(){F(P,0)};function s2($,e2){R=F(function(){$(e.unstable_now())},e2)}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($){$.callback=null},e.unstable_forceFrameRate=function($){0>$||125<$?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):j=0<$?Math.floor(1e3/$):5},e.unstable_getCurrentPriorityLevel=function(){return _},e.unstable_next=function($){switch(_){case 1:case 2:case 3:var e2=3;break;default:e2=_}var i2=_;_=e2;try{return $()}finally{_=i2}},e.unstable_requestPaint=function(){x=!0},e.unstable_runWithPriority=function($,e2){switch($){case 1:case 2:case 3:case 4:case 5:break;default:$=3}var i2=_;_=$;try{return e2()}finally{_=i2}},e.unstable_scheduleCallback=function($,e2,i2){var f2=e.unstable_now();switch(typeof i2=="object"&&i2!==null?(i2=i2.delay,i2=typeof i2=="number"&&0f2?($.sortIndex=i2,c(p,$),t(d)===null&&$===t(p)&&(C?(L(R),R=-1):C=!0,s2(E,i2-f2))):($.sortIndex=H,c(d,$),M||z||(M=!0,y||(y=!0,G()))),$},e.unstable_shouldYield=B,e.unstable_wrapCallback=function($){var e2=_;return function(){var i2=_;_=e2;try{return $.apply(this,arguments)}finally{_=i2}}}})(vi)),vi}var fu;function HE(){return fu||(fu=1,pi.exports=TE()),pi.exports}var fi={exports:{}},i1={};var gu;function RE(){if(gu)return i1;gu=1;var e=as();function c(d){var p="https://react.dev/errors/"+d;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(c){console.error(c)}}return e(),fi.exports=RE(),fi.exports}var mu;function IE(){if(mu)return W7;mu=1;var e=HE(),c=as(),t=VE();function l(i){var s="https://react.dev/errors/"+i;if(1H||(i.current=f2[H],f2[H]=null,H--)}function T(i,s){H++,f2[H]=i.current,i.current=s}var m2=O(null),F2=O(null),M2=O(null),C2=O(null);function k2(i,s){switch(T(M2,s),T(F2,i),T(m2,null),s.nodeType){case 9:case 11:i=(i=s.documentElement)&&(i=i.namespaceURI)?kg(i):0;break;default:if(i=s.tagName,s=s.namespaceURI)s=kg(s),i=Lg(s,i);else switch(i){case"svg":i=1;break;case"math":i=2;break;default:i=0}}X(m2),T(m2,i)}function l2(){X(m2),X(F2),X(M2)}function w2(i){i.memoizedState!==null&&T(C2,i);var s=m2.current,h=Lg(s,i.type);s!==h&&(T(F2,i),T(m2,h))}function L2(i){F2.current===i&&(X(m2),X(F2)),C2.current===i&&(X(C2),G7._currentValue=i2)}var Z2,s0;function N0(i){if(Z2===void 0)try{throw Error()}catch(h){var s=h.stack.trim().match(/\n( *(at )?)/);Z2=s&&s[1]||"",s0=-1)":-1u||U[v]!==W[u]){var a2=` `+U[v].replace(" at new "," at ");return i.displayName&&a2.includes("")&&(a2=a2.replace("",i.displayName)),a2}while(1<=v&&0<=u);break}}}finally{_1=!1,Error.prepareStackTrace=h}return(h=i?i.displayName||i.name:"")?N0(h):""}function O2(i,s){switch(i.tag){case 26:case 27:case 5:return N0(i.type);case 16:return N0("Lazy");case 13:return i.child!==s&&s!==null?N0("Suspense Fallback"):N0("Suspense");case 19:return N0("SuspenseList");case 0:case 15:return e0(i.type,!1);case 11:return e0(i.type.render,!1);case 1:return e0(i.type,!0);case 31:return N0("Activity");default:return""}}function z1(i){try{var s="",h=null;do s+=O2(i,h),h=i,i=i.return;while(i);return s}catch(v){return` Error generating stack: `+v.message+` `+v.stack}}var q1=Object.prototype.hasOwnProperty,h3=e.unstable_scheduleCallback,z4=e.unstable_cancelCallback,Yc=e.unstable_shouldYield,Wc=e.unstable_requestPaint,h1=e.unstable_now,Kc=e.unstable_getCurrentPriorityLevel,o2=e.unstable_ImmediatePriority,_2=e.unstable_UserBlockingPriority,A2=e.unstable_NormalPriority,U2=e.unstable_LowPriority,a0=e.unstable_IdlePriority,L1=e.log,U3=e.unstable_setDisableYieldValue,d1=null,O0=null;function M1(i){if(typeof L1=="function"&&U3(i),O0&&typeof O0.setStrictMode=="function")try{O0.setStrictMode(d1,i)}catch{}}var v0=Math.clz32?Math.clz32:mF,M4=Math.log,d3=Math.LN2;function mF(i){return i>>>=0,i===0?32:31-(M4(i)/d3|0)|0}var K8=256,X8=262144,Q8=4194304;function r5(i){var s=i&42;if(s!==0)return s;switch(i&-i){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 i&261888;case 262144:case 524288:case 1048576:case 2097152:return i&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return i&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return i}}function J8(i,s,h){var v=i.pendingLanes;if(v===0)return 0;var u=0,m=i.suspendedLanes,w=i.pingedLanes;i=i.warmLanes;var A=v&134217727;return A!==0?(v=A&~m,v!==0?u=r5(v):(w&=A,w!==0?u=r5(w):h||(h=A&~i,h!==0&&(u=r5(h))))):(A=v&~m,A!==0?u=r5(A):w!==0?u=r5(w):h||(h=v&~i,h!==0&&(u=r5(h)))),u===0?0:s!==0&&s!==u&&(s&m)===0&&(m=u&-u,h=s&-s,m>=h||m===32&&(h&4194048)!==0)?s:u}function l7(i,s){return(i.pendingLanes&~(i.suspendedLanes&~i.pingedLanes)&s)===0}function _F(i,s){switch(i){case 1:case 2:case 4:case 8:case 64:return s+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 s+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 pp(){var i=Q8;return Q8<<=1,(Q8&62914560)===0&&(Q8=4194304),i}function Xc(i){for(var s=[],h=0;31>h;h++)s.push(i);return s}function i7(i,s){i.pendingLanes|=s,s!==268435456&&(i.suspendedLanes=0,i.pingedLanes=0,i.warmLanes=0)}function zF(i,s,h,v,u,m){var w=i.pendingLanes;i.pendingLanes=h,i.suspendedLanes=0,i.pingedLanes=0,i.warmLanes=0,i.expiredLanes&=h,i.entangledLanes&=h,i.errorRecoveryDisabledLanes&=h,i.shellSuspendCounter=0;var A=i.entanglements,U=i.expirationTimes,W=i.hiddenUpdates;for(h=w&~h;0"u")return null;try{return i.activeElement||i.body}catch{return i.body}}var EF=/[\n"\\]/g;function Z1(i){return i.replace(EF,function(s){return"\\"+s.charCodeAt(0).toString(16)+" "})}function lt(i,s,h,v,u,m,w,A){i.name="",w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"?i.type=w:i.removeAttribute("type"),s!=null?w==="number"?(s===0&&i.value===""||i.value!=s)&&(i.value=""+$1(s)):i.value!==""+$1(s)&&(i.value=""+$1(s)):w!=="submit"&&w!=="reset"||i.removeAttribute("value"),s!=null?it(i,w,$1(s)):h!=null?it(i,w,$1(h)):v!=null&&i.removeAttribute("value"),u==null&&m!=null&&(i.defaultChecked=!!m),u!=null&&(i.checked=u&&typeof u!="function"&&typeof u!="symbol"),A!=null&&typeof A!="function"&&typeof A!="symbol"&&typeof A!="boolean"?i.name=""+$1(A):i.removeAttribute("name")}function Ep(i,s,h,v,u,m,w,A){if(m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"&&(i.type=m),s!=null||h!=null){if(!(m!=="submit"&&m!=="reset"||s!=null)){tt(i);return}h=h!=null?""+$1(h):"",s=s!=null?""+$1(s):h,A||s===i.value||(i.value=s),i.defaultValue=s}v=v??u,v=typeof v!="function"&&typeof v!="symbol"&&!!v,i.checked=A?i.checked:!!v,i.defaultChecked=!!v,w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"&&(i.name=w),tt(i)}function it(i,s,h){s==="number"&&t9(i.ownerDocument)===i||i.defaultValue===""+h||(i.defaultValue=""+h)}function q5(i,s,h,v){if(i=i.options,s){s={};for(var u=0;u"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ot=!1;if(G3)try{var r7={};Object.defineProperty(r7,"passive",{get:function(){ot=!0}}),window.addEventListener("test",r7,r7),window.removeEventListener("test",r7,r7)}catch{ot=!1}var C4=null,ht=null,i9=null;function kp(){if(i9)return i9;var i,s=ht,h=s.length,v,u="value"in C4?C4.value:C4.textContent,m=u.length;for(i=0;i=d7),Ip=" ",Np=!1;function Op(i,s){switch(i){case"keyup":return JF.indexOf(s.keyCode)!==-1;case"keydown":return s.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Up(i){return i=i.detail,typeof i=="object"&&"data"in i?i.data:null}var W5=!1;function cb(i,s){switch(i){case"compositionend":return Up(s);case"keypress":return s.which!==32?null:(Np=!0,Ip);case"textInput":return i=s.data,i===Ip&&Np?null:i;default:return null}}function tb(i,s){if(W5)return i==="compositionend"||!gt&&Op(i,s)?(i=kp(),i9=ht=C4=null,W5=!1,i):null;switch(i){case"paste":return null;case"keypress":if(!(s.ctrlKey||s.altKey||s.metaKey)||s.ctrlKey&&s.altKey){if(s.char&&1=s)return{node:h,offset:s-i};i=v}e:{for(;h;){if(h.nextSibling){h=h.nextSibling;break e}h=h.parentNode}h=void 0}h=Wp(h)}}function Xp(i,s){return i&&s?i===s?!0:i&&i.nodeType===3?!1:s&&s.nodeType===3?Xp(i,s.parentNode):"contains"in i?i.contains(s):i.compareDocumentPosition?!!(i.compareDocumentPosition(s)&16):!1:!1}function Qp(i){i=i!=null&&i.ownerDocument!=null&&i.ownerDocument.defaultView!=null?i.ownerDocument.defaultView:window;for(var s=t9(i.document);s instanceof i.HTMLIFrameElement;){try{var h=typeof s.contentWindow.location.href=="string"}catch{h=!1}if(h)i=s.contentWindow;else break;s=t9(i.document)}return s}function _t(i){var s=i&&i.nodeName&&i.nodeName.toLowerCase();return s&&(s==="input"&&(i.type==="text"||i.type==="search"||i.type==="tel"||i.type==="url"||i.type==="password")||s==="textarea"||i.contentEditable==="true")}var hb=G3&&"documentMode"in document&&11>=document.documentMode,K5=null,zt=null,g7=null,Mt=!1;function Jp(i,s,h){var v=h.window===h?h.document:h.nodeType===9?h:h.ownerDocument;Mt||K5==null||K5!==t9(v)||(v=K5,"selectionStart"in v&&_t(v)?v={start:v.selectionStart,end:v.selectionEnd}:(v=(v.ownerDocument&&v.ownerDocument.defaultView||window).getSelection(),v={anchorNode:v.anchorNode,anchorOffset:v.anchorOffset,focusNode:v.focusNode,focusOffset:v.focusOffset}),g7&&f7(g7,v)||(g7=v,v=X9(zt,"onSelect"),0>=w,u-=w,E3=1<<32-v0(s)+u|h<H2?(W2=E2,E2=null):W2=E2.sibling;var t0=Q(Z,E2,Y[H2],h2);if(t0===null){E2===null&&(E2=W2);break}i&&E2&&t0.alternate===null&&s(Z,E2),q=m(t0,q,H2),c0===null?x2=t0:c0.sibling=t0,c0=t0,E2=W2}if(H2===Y.length)return h(Z,E2),X2&&$3(Z,H2),x2;if(E2===null){for(;H2H2?(W2=E2,E2=null):W2=E2.sibling;var G4=Q(Z,E2,t0.value,h2);if(G4===null){E2===null&&(E2=W2);break}i&&E2&&G4.alternate===null&&s(Z,E2),q=m(G4,q,H2),c0===null?x2=G4:c0.sibling=G4,c0=G4,E2=W2}if(t0.done)return h(Z,E2),X2&&$3(Z,H2),x2;if(E2===null){for(;!t0.done;H2++,t0=Y.next())t0=d2(Z,t0.value,h2),t0!==null&&(q=m(t0,q,H2),c0===null?x2=t0:c0.sibling=t0,c0=t0);return X2&&$3(Z,H2),x2}for(E2=v(E2);!t0.done;H2++,t0=Y.next())t0=t2(E2,Z,H2,t0.value,h2),t0!==null&&(i&&t0.alternate!==null&&E2.delete(t0.key===null?H2:t0.key),q=m(t0,q,H2),c0===null?x2=t0:c0.sibling=t0,c0=t0);return i&&E2.forEach(function(SE){return s(Z,SE)}),X2&&$3(Z,H2),x2}function d0(Z,q,Y,h2){if(typeof Y=="object"&&Y!==null&&Y.type===C&&Y.key===null&&(Y=Y.props.children),typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case z:e:{for(var x2=Y.key;q!==null;){if(q.key===x2){if(x2=Y.type,x2===C){if(q.tag===7){h(Z,q.sibling),h2=u(q,Y.props.children),h2.return=Z,Z=h2;break e}}else if(q.elementType===x2||typeof x2=="object"&&x2!==null&&x2.$$typeof===j&&z5(x2)===q.type){h(Z,q.sibling),h2=u(q,Y.props),w7(h2,Y),h2.return=Z,Z=h2;break e}h(Z,q);break}else s(Z,q);q=q.sibling}Y.type===C?(h2=f5(Y.props.children,Z.mode,h2,Y.key),h2.return=Z,Z=h2):(h2=f9(Y.type,Y.key,Y.props,null,Z.mode,h2),w7(h2,Y),h2.return=Z,Z=h2)}return w(Z);case M:e:{for(x2=Y.key;q!==null;){if(q.key===x2)if(q.tag===4&&q.stateNode.containerInfo===Y.containerInfo&&q.stateNode.implementation===Y.implementation){h(Z,q.sibling),h2=u(q,Y.children||[]),h2.return=Z,Z=h2;break e}else{h(Z,q);break}else s(Z,q);q=q.sibling}h2=yt(Y,Z.mode,h2),h2.return=Z,Z=h2}return w(Z);case j:return Y=z5(Y),d0(Z,q,Y,h2)}if(s2(Y))return b2(Z,q,Y,h2);if(G(Y)){if(x2=G(Y),typeof x2!="function")throw Error(l(150));return Y=x2.call(Y),D2(Z,q,Y,h2)}if(typeof Y.then=="function")return d0(Z,q,w9(Y),h2);if(Y.$$typeof===S)return d0(Z,q,m9(Z,Y),h2);C9(Z,Y)}return typeof Y=="string"&&Y!==""||typeof Y=="number"||typeof Y=="bigint"?(Y=""+Y,q!==null&&q.tag===6?(h(Z,q.sibling),h2=u(q,Y),h2.return=Z,Z=h2):(h(Z,q),h2=xt(Y,Z.mode,h2),h2.return=Z,Z=h2),w(Z)):h(Z,q)}return function(Z,q,Y,h2){try{M7=0;var x2=d0(Z,q,Y,h2);return n6=null,x2}catch(E2){if(E2===s6||E2===z9)throw E2;var c0=H1(29,E2,null,Z.mode);return c0.lanes=h2,c0.return=Z,c0}}}var w5=Cv(!0),Fv=Cv(!1),y4=!1;function Nt(i){i.updateQueue={baseState:i.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ot(i,s){i=i.updateQueue,s.updateQueue===i&&(s.updateQueue={baseState:i.baseState,firstBaseUpdate:i.firstBaseUpdate,lastBaseUpdate:i.lastBaseUpdate,shared:i.shared,callbacks:null})}function D4(i){return{lane:i,tag:0,payload:null,callback:null,next:null}}function A4(i,s,h){var v=i.updateQueue;if(v===null)return null;if(v=v.shared,(l0&2)!==0){var u=v.pending;return u===null?s.next=s:(s.next=u.next,u.next=s),v.pending=s,s=v9(i),sv(i,null,h),s}return p9(i,v,s,h),v9(i)}function C7(i,s,h){if(s=s.updateQueue,s!==null&&(s=s.shared,(h&4194048)!==0)){var v=s.lanes;v&=i.pendingLanes,h|=v,s.lanes=h,fp(i,h)}}function Ut(i,s){var h=i.updateQueue,v=i.alternate;if(v!==null&&(v=v.updateQueue,h===v)){var u=null,m=null;if(h=h.firstBaseUpdate,h!==null){do{var w={lane:h.lane,tag:h.tag,payload:h.payload,callback:null,next:null};m===null?u=m=w:m=m.next=w,h=h.next}while(h!==null);m===null?u=m=s:m=m.next=s}else u=m=s;h={baseState:v.baseState,firstBaseUpdate:u,lastBaseUpdate:m,shared:v.shared,callbacks:v.callbacks},i.updateQueue=h;return}i=h.lastBaseUpdate,i===null?h.firstBaseUpdate=s:i.next=s,h.lastBaseUpdate=s}var Pt=!1;function F7(){if(Pt){var i=a6;if(i!==null)throw i}}function b7(i,s,h,v){Pt=!1;var u=i.updateQueue;y4=!1;var m=u.firstBaseUpdate,w=u.lastBaseUpdate,A=u.shared.pending;if(A!==null){u.shared.pending=null;var U=A,W=U.next;U.next=null,w===null?m=W:w.next=W,w=U;var a2=i.alternate;a2!==null&&(a2=a2.updateQueue,A=a2.lastBaseUpdate,A!==w&&(A===null?a2.firstBaseUpdate=W:A.next=W,a2.lastBaseUpdate=U))}if(m!==null){var d2=u.baseState;w=0,a2=W=U=null,A=m;do{var Q=A.lane&-536870913,t2=Q!==A.lane;if(t2?(Y2&Q)===Q:(v&Q)===Q){Q!==0&&Q===i6&&(Pt=!0),a2!==null&&(a2=a2.next={lane:0,tag:A.tag,payload:A.payload,callback:null,next:null});e:{var b2=i,D2=A;Q=s;var d0=h;switch(D2.tag){case 1:if(b2=D2.payload,typeof b2=="function"){d2=b2.call(d0,d2,Q);break e}d2=b2;break e;case 3:b2.flags=b2.flags&-65537|128;case 0:if(b2=D2.payload,Q=typeof b2=="function"?b2.call(d0,d2,Q):b2,Q==null)break e;d2=g({},d2,Q);break e;case 2:y4=!0}}Q=A.callback,Q!==null&&(i.flags|=64,t2&&(i.flags|=8192),t2=u.callbacks,t2===null?u.callbacks=[Q]:t2.push(Q))}else t2={lane:Q,tag:A.tag,payload:A.payload,callback:A.callback,next:null},a2===null?(W=a2=t2,U=d2):a2=a2.next=t2,w|=Q;if(A=A.next,A===null){if(A=u.shared.pending,A===null)break;t2=A,A=t2.next,t2.next=null,u.lastBaseUpdate=t2,u.shared.pending=null}}while(!0);a2===null&&(U=d2),u.baseState=U,u.firstBaseUpdate=W,u.lastBaseUpdate=a2,m===null&&(u.shared.lanes=0),T4|=w,i.lanes=w,i.memoizedState=d2}}function bv(i,s){if(typeof i!="function")throw Error(l(191,i));i.call(s)}function Ev(i,s){var h=i.callbacks;if(h!==null)for(i.callbacks=null,i=0;im?m:8;var w=$.T,A={};$.T=A,nl(i,!1,s,h);try{var U=u(),W=$.S;if(W!==null&&W(A,U),U!==null&&typeof U=="object"&&typeof U.then=="function"){var a2=zb(U,v);y7(i,s,a2,O1(i))}else y7(i,s,v,O1(i))}catch(d2){y7(i,s,{then:function(){},status:"rejected",reason:d2},O1())}finally{e2.p=m,w!==null&&A.types!==null&&(w.types=A.types),$.T=w}}function Eb(){}function al(i,s,h,v){if(i.tag!==5)throw Error(l(476));var u=lf(i).queue;tf(i,u,s,i2,h===null?Eb:function(){return af(i),h(v)})}function lf(i){var s=i.memoizedState;if(s!==null)return s;s={memoizedState:i2,baseState:i2,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:K3,lastRenderedState:i2},next:null};var h={};return s.next={memoizedState:h,baseState:h,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:K3,lastRenderedState:h},next:null},i.memoizedState=s,i=i.alternate,i!==null&&(i.memoizedState=s),s}function af(i){var s=lf(i);s.next===null&&(s=i.alternate.memoizedState),y7(i,s.next.queue,{},O1())}function sl(){return Q0(G7)}function sf(){return S0().memoizedState}function nf(){return S0().memoizedState}function xb(i){for(var s=i.return;s!==null;){switch(s.tag){case 24:case 3:var h=O1();i=D4(h);var v=A4(s,i,h);v!==null&&(y1(v,s,h),C7(v,s,h)),s={cache:Ht()},i.payload=s;return}s=s.return}}function yb(i,s,h){var v=O1();h={lane:v,revertLane:0,gesture:null,action:h,hasEagerState:!1,eagerState:null,next:null},k9(i)?of(s,h):(h=bt(i,s,h,v),h!==null&&(y1(h,i,v),hf(h,s,v)))}function rf(i,s,h){var v=O1();y7(i,s,h,v)}function y7(i,s,h,v){var u={lane:v,revertLane:0,gesture:null,action:h,hasEagerState:!1,eagerState:null,next:null};if(k9(i))of(s,u);else{var m=i.alternate;if(i.lanes===0&&(m===null||m.lanes===0)&&(m=s.lastRenderedReducer,m!==null))try{var w=s.lastRenderedState,A=m(w,h);if(u.hasEagerState=!0,u.eagerState=A,T1(A,w))return p9(i,s,u,0),f0===null&&d9(),!1}catch{}if(h=bt(i,s,u,v),h!==null)return y1(h,i,v),hf(h,s,v),!0}return!1}function nl(i,s,h,v){if(v={lane:2,revertLane:Nl(),gesture:null,action:v,hasEagerState:!1,eagerState:null,next:null},k9(i)){if(s)throw Error(l(479))}else s=bt(i,h,v,2),s!==null&&y1(s,i,2)}function k9(i){var s=i.alternate;return i===T2||s!==null&&s===T2}function of(i,s){o6=E9=!0;var h=i.pending;h===null?s.next=s:(s.next=h.next,h.next=s),i.pending=s}function hf(i,s,h){if((h&4194048)!==0){var v=s.lanes;v&=i.pendingLanes,h|=v,s.lanes=h,fp(i,h)}}var D7={readContext:Q0,use:D9,useCallback:b0,useContext:b0,useEffect:b0,useImperativeHandle:b0,useLayoutEffect:b0,useInsertionEffect:b0,useMemo:b0,useReducer:b0,useRef:b0,useState:b0,useDebugValue:b0,useDeferredValue:b0,useTransition:b0,useSyncExternalStore:b0,useId:b0,useHostTransitionStatus:b0,useFormState:b0,useActionState:b0,useOptimistic:b0,useMemoCache:b0,useCacheRefresh:b0};D7.useEffectEvent=b0;var df={readContext:Q0,use:D9,useCallback:function(i,s){return p1().memoizedState=[i,s===void 0?null:s],i},useContext:Q0,useEffect:Zv,useImperativeHandle:function(i,s,h){h=h!=null?h.concat([i]):null,S9(4194308,4,Xv.bind(null,s,i),h)},useLayoutEffect:function(i,s){return S9(4194308,4,i,s)},useInsertionEffect:function(i,s){S9(4,2,i,s)},useMemo:function(i,s){var h=p1();s=s===void 0?null:s;var v=i();if(C5){M1(!0);try{i()}finally{M1(!1)}}return h.memoizedState=[v,s],v},useReducer:function(i,s,h){var v=p1();if(h!==void 0){var u=h(s);if(C5){M1(!0);try{h(s)}finally{M1(!1)}}}else u=s;return v.memoizedState=v.baseState=u,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:i,lastRenderedState:u},v.queue=i,i=i.dispatch=yb.bind(null,T2,i),[v.memoizedState,i]},useRef:function(i){var s=p1();return i={current:i},s.memoizedState=i},useState:function(i){i=el(i);var s=i.queue,h=rf.bind(null,T2,s);return s.dispatch=h,[i.memoizedState,h]},useDebugValue:ll,useDeferredValue:function(i,s){var h=p1();return il(h,i,s)},useTransition:function(){var i=el(!1);return i=tf.bind(null,T2,i.queue,!0,!1),p1().memoizedState=i,[!1,i]},useSyncExternalStore:function(i,s,h){var v=T2,u=p1();if(X2){if(h===void 0)throw Error(l(407));h=h()}else{if(h=s(),f0===null)throw Error(l(349));(Y2&127)!==0||Bv(v,s,h)}u.memoizedState=h;var m={value:h,getSnapshot:s};return u.queue=m,Zv(Lv.bind(null,v,m,i),[i]),v.flags|=2048,d6(9,{destroy:void 0},kv.bind(null,v,m,h,s),null),h},useId:function(){var i=p1(),s=f0.identifierPrefix;if(X2){var h=x3,v=E3;h=(v&~(1<<32-v0(v)-1)).toString(32)+h,s="_"+s+"R_"+h,h=x9++,0<\/script>",m=m.removeChild(m.firstChild);break;case"select":m=typeof v.is=="string"?w.createElement("select",{is:v.is}):w.createElement("select"),v.multiple?m.multiple=!0:v.size&&(m.size=v.size);break;default:m=typeof v.is=="string"?w.createElement(u,{is:v.is}):w.createElement(u)}}m[K0]=s,m[w1]=v;e:for(w=s.child;w!==null;){if(w.tag===5||w.tag===6)m.appendChild(w.stateNode);else if(w.tag!==4&&w.tag!==27&&w.child!==null){w.child.return=w,w=w.child;continue}if(w===s)break e;for(;w.sibling===null;){if(w.return===null||w.return===s)break e;w=w.return}w.sibling.return=w.return,w=w.sibling}s.stateNode=m;e:switch(e1(m,u,v),u){case"button":case"input":case"select":case"textarea":v=!!v.autoFocus;break e;case"img":v=!0;break e;default:v=!1}v&&Q3(s)}}return z0(s),wl(s,s.type,i===null?null:i.memoizedProps,s.pendingProps,h),null;case 6:if(i&&s.stateNode!=null)i.memoizedProps!==v&&Q3(s);else{if(typeof v!="string"&&s.stateNode===null)throw Error(l(166));if(i=M2.current,t6(s)){if(i=s.stateNode,h=s.memoizedProps,v=null,u=X0,u!==null)switch(u.tag){case 27:case 5:v=u.memoizedProps}i[K0]=s,i=!!(i.nodeValue===h||v!==null&&v.suppressHydrationWarning===!0||Sg(i.nodeValue,h)),i||E4(s,!0)}else i=Q9(i).createTextNode(v),i[K0]=s,s.stateNode=i}return z0(s),null;case 31:if(h=s.memoizedState,i===null||i.memoizedState!==null){if(v=t6(s),h!==null){if(i===null){if(!v)throw Error(l(318));if(i=s.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(l(557));i[K0]=s}else g5(),(s.flags&128)===0&&(s.memoizedState=null),s.flags|=4;z0(s),i=!1}else h=Bt(),i!==null&&i.memoizedState!==null&&(i.memoizedState.hydrationErrors=h),i=!0;if(!i)return s.flags&256?(V1(s),s):(V1(s),null);if((s.flags&128)!==0)throw Error(l(558))}return z0(s),null;case 13:if(v=s.memoizedState,i===null||i.memoizedState!==null&&i.memoizedState.dehydrated!==null){if(u=t6(s),v!==null&&v.dehydrated!==null){if(i===null){if(!u)throw Error(l(318));if(u=s.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(l(317));u[K0]=s}else g5(),(s.flags&128)===0&&(s.memoizedState=null),s.flags|=4;z0(s),u=!1}else u=Bt(),i!==null&&i.memoizedState!==null&&(i.memoizedState.hydrationErrors=u),u=!0;if(!u)return s.flags&256?(V1(s),s):(V1(s),null)}return V1(s),(s.flags&128)!==0?(s.lanes=h,s):(h=v!==null,i=i!==null&&i.memoizedState!==null,h&&(v=s.child,u=null,v.alternate!==null&&v.alternate.memoizedState!==null&&v.alternate.memoizedState.cachePool!==null&&(u=v.alternate.memoizedState.cachePool.pool),m=null,v.memoizedState!==null&&v.memoizedState.cachePool!==null&&(m=v.memoizedState.cachePool.pool),m!==u&&(v.flags|=2048)),h!==i&&h&&(s.child.flags|=8192),V9(s,s.updateQueue),z0(s),null);case 4:return l2(),i===null&&jl(s.stateNode.containerInfo),z0(s),null;case 10:return Y3(s.type),z0(s),null;case 19:if(X(A0),v=s.memoizedState,v===null)return z0(s),null;if(u=(s.flags&128)!==0,m=v.rendering,m===null)if(u)S7(v,!1);else{if(E0!==0||i!==null&&(i.flags&128)!==0)for(i=s.child;i!==null;){if(m=b9(i),m!==null){for(s.flags|=128,S7(v,!1),i=m.updateQueue,s.updateQueue=i,V9(s,i),s.subtreeFlags=0,i=h,h=s.child;h!==null;)nv(h,i),h=h.sibling;return T(A0,A0.current&1|2),X2&&$3(s,v.treeForkCount),s.child}i=i.sibling}v.tail!==null&&h1()>P9&&(s.flags|=128,u=!0,S7(v,!1),s.lanes=4194304)}else{if(!u)if(i=b9(m),i!==null){if(s.flags|=128,u=!0,i=i.updateQueue,s.updateQueue=i,V9(s,i),S7(v,!0),v.tail===null&&v.tailMode==="hidden"&&!m.alternate&&!X2)return z0(s),null}else 2*h1()-v.renderingStartTime>P9&&h!==536870912&&(s.flags|=128,u=!0,S7(v,!1),s.lanes=4194304);v.isBackwards?(m.sibling=s.child,s.child=m):(i=v.last,i!==null?i.sibling=m:s.child=m,v.last=m)}return v.tail!==null?(i=v.tail,v.rendering=i,v.tail=i.sibling,v.renderingStartTime=h1(),i.sibling=null,h=A0.current,T(A0,u?h&1|2:h&1),X2&&$3(s,v.treeForkCount),i):(z0(s),null);case 22:case 23:return V1(s),Gt(),v=s.memoizedState!==null,i!==null?i.memoizedState!==null!==v&&(s.flags|=8192):v&&(s.flags|=8192),v?(h&536870912)!==0&&(s.flags&128)===0&&(z0(s),s.subtreeFlags&6&&(s.flags|=8192)):z0(s),h=s.updateQueue,h!==null&&V9(s,h.retryQueue),h=null,i!==null&&i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(h=i.memoizedState.cachePool.pool),v=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(v=s.memoizedState.cachePool.pool),v!==h&&(s.flags|=2048),i!==null&&X(_5),null;case 24:return h=null,i!==null&&(h=i.memoizedState.cache),s.memoizedState.cache!==h&&(s.flags|=2048),Y3(k0),z0(s),null;case 25:return null;case 30:return null}throw Error(l(156,s.tag))}function kb(i,s){switch(At(s),s.tag){case 1:return i=s.flags,i&65536?(s.flags=i&-65537|128,s):null;case 3:return Y3(k0),l2(),i=s.flags,(i&65536)!==0&&(i&128)===0?(s.flags=i&-65537|128,s):null;case 26:case 27:case 5:return L2(s),null;case 31:if(s.memoizedState!==null){if(V1(s),s.alternate===null)throw Error(l(340));g5()}return i=s.flags,i&65536?(s.flags=i&-65537|128,s):null;case 13:if(V1(s),i=s.memoizedState,i!==null&&i.dehydrated!==null){if(s.alternate===null)throw Error(l(340));g5()}return i=s.flags,i&65536?(s.flags=i&-65537|128,s):null;case 19:return X(A0),null;case 4:return l2(),null;case 10:return Y3(s.type),null;case 22:case 23:return V1(s),Gt(),i!==null&&X(_5),i=s.flags,i&65536?(s.flags=i&-65537|128,s):null;case 24:return Y3(k0),null;case 25:return null;default:return null}}function Hf(i,s){switch(At(s),s.tag){case 3:Y3(k0),l2();break;case 26:case 27:case 5:L2(s);break;case 4:l2();break;case 31:s.memoizedState!==null&&V1(s);break;case 13:V1(s);break;case 19:X(A0);break;case 10:Y3(s.type);break;case 22:case 23:V1(s),Gt(),i!==null&&X(_5);break;case 24:Y3(k0)}}function B7(i,s){try{var h=s.updateQueue,v=h!==null?h.lastEffect:null;if(v!==null){var u=v.next;h=u;do{if((h.tag&i)===i){v=void 0;var m=h.create,w=h.inst;v=m(),w.destroy=v}h=h.next}while(h!==u)}}catch(A){r0(s,s.return,A)}}function k4(i,s,h){try{var v=s.updateQueue,u=v!==null?v.lastEffect:null;if(u!==null){var m=u.next;v=m;do{if((v.tag&i)===i){var w=v.inst,A=w.destroy;if(A!==void 0){w.destroy=void 0,u=s;var U=h,W=A;try{W()}catch(a2){r0(u,U,a2)}}}v=v.next}while(v!==m)}}catch(a2){r0(s,s.return,a2)}}function Rf(i){var s=i.updateQueue;if(s!==null){var h=i.stateNode;try{Ev(s,h)}catch(v){r0(i,i.return,v)}}}function Vf(i,s,h){h.props=F5(i.type,i.memoizedProps),h.state=i.memoizedState;try{h.componentWillUnmount()}catch(v){r0(i,s,v)}}function k7(i,s){try{var h=i.ref;if(h!==null){switch(i.tag){case 26:case 27:case 5:var v=i.stateNode;break;case 30:v=i.stateNode;break;default:v=i.stateNode}typeof h=="function"?i.refCleanup=h(v):h.current=v}}catch(u){r0(i,s,u)}}function y3(i,s){var h=i.ref,v=i.refCleanup;if(h!==null)if(typeof v=="function")try{v()}catch(u){r0(i,s,u)}finally{i.refCleanup=null,i=i.alternate,i!=null&&(i.refCleanup=null)}else if(typeof h=="function")try{h(null)}catch(u){r0(i,s,u)}else h.current=null}function If(i){var s=i.type,h=i.memoizedProps,v=i.stateNode;try{e:switch(s){case"button":case"input":case"select":case"textarea":h.autoFocus&&v.focus();break e;case"img":h.src?v.src=h.src:h.srcSet&&(v.srcset=h.srcSet)}}catch(u){r0(i,i.return,u)}}function Cl(i,s,h){try{var v=i.stateNode;eE(v,i.type,h,s),v[w1]=s}catch(u){r0(i,i.return,u)}}function Nf(i){return i.tag===5||i.tag===3||i.tag===26||i.tag===27&&N4(i.type)||i.tag===4}function Fl(i){e:for(;;){for(;i.sibling===null;){if(i.return===null||Nf(i.return))return null;i=i.return}for(i.sibling.return=i.return,i=i.sibling;i.tag!==5&&i.tag!==6&&i.tag!==18;){if(i.tag===27&&N4(i.type)||i.flags&2||i.child===null||i.tag===4)continue e;i.child.return=i,i=i.child}if(!(i.flags&2))return i.stateNode}}function bl(i,s,h){var v=i.tag;if(v===5||v===6)i=i.stateNode,s?(h.nodeType===9?h.body:h.nodeName==="HTML"?h.ownerDocument.body:h).insertBefore(i,s):(s=h.nodeType===9?h.body:h.nodeName==="HTML"?h.ownerDocument.body:h,s.appendChild(i),h=h._reactRootContainer,h!=null||s.onclick!==null||(s.onclick=j3));else if(v!==4&&(v===27&&N4(i.type)&&(h=i.stateNode,s=null),i=i.child,i!==null))for(bl(i,s,h),i=i.sibling;i!==null;)bl(i,s,h),i=i.sibling}function I9(i,s,h){var v=i.tag;if(v===5||v===6)i=i.stateNode,s?h.insertBefore(i,s):h.appendChild(i);else if(v!==4&&(v===27&&N4(i.type)&&(h=i.stateNode),i=i.child,i!==null))for(I9(i,s,h),i=i.sibling;i!==null;)I9(i,s,h),i=i.sibling}function Of(i){var s=i.stateNode,h=i.memoizedProps;try{for(var v=i.type,u=s.attributes;u.length;)s.removeAttributeNode(u[0]);e1(s,v,h),s[K0]=i,s[w1]=h}catch(m){r0(i,i.return,m)}}var J3=!1,H0=!1,El=!1,Uf=typeof WeakSet=="function"?WeakSet:Set,$0=null;function Lb(i,s){if(i=i.containerInfo,$l=ae,i=Qp(i),_t(i)){if("selectionStart"in i)var h={start:i.selectionStart,end:i.selectionEnd};else e:{h=(h=i.ownerDocument)&&h.defaultView||window;var v=h.getSelection&&h.getSelection();if(v&&v.rangeCount!==0){h=v.anchorNode;var u=v.anchorOffset,m=v.focusNode;v=v.focusOffset;try{h.nodeType,m.nodeType}catch{h=null;break e}var w=0,A=-1,U=-1,W=0,a2=0,d2=i,Q=null;c:for(;;){for(var t2;d2!==h||u!==0&&d2.nodeType!==3||(A=w+u),d2!==m||v!==0&&d2.nodeType!==3||(U=w+v),d2.nodeType===3&&(w+=d2.nodeValue.length),(t2=d2.firstChild)!==null;)Q=d2,d2=t2;for(;;){if(d2===i)break c;if(Q===h&&++W===u&&(A=w),Q===m&&++a2===v&&(U=w),(t2=d2.nextSibling)!==null)break;d2=Q,Q=d2.parentNode}d2=t2}h=A===-1||U===-1?null:{start:A,end:U}}else h=null}h=h||{start:0,end:0}}else h=null;for(Zl={focusedElem:i,selectionRange:h},ae=!1,$0=s;$0!==null;)if(s=$0,i=s.child,(s.subtreeFlags&1028)!==0&&i!==null)i.return=s,$0=i;else for(;$0!==null;){switch(s=$0,m=s.alternate,i=s.flags,s.tag){case 0:if((i&4)!==0&&(i=s.updateQueue,i=i!==null?i.events:null,i!==null))for(h=0;h title"))),e1(m,v,h),m[K0]=i,q0(m),v=m;break e;case"link":var w=Zg("link","href",u).get(v+(h.href||""));if(w){for(var A=0;Ad0&&(w=d0,d0=D2,D2=w);var Z=Kp(A,D2),q=Kp(A,d0);if(Z&&q&&(t2.rangeCount!==1||t2.anchorNode!==Z.node||t2.anchorOffset!==Z.offset||t2.focusNode!==q.node||t2.focusOffset!==q.offset)){var Y=d2.createRange();Y.setStart(Z.node,Z.offset),t2.removeAllRanges(),D2>d0?(t2.addRange(Y),t2.extend(q.node,q.offset)):(Y.setEnd(q.node,q.offset),t2.addRange(Y))}}}}for(d2=[],t2=A;t2=t2.parentNode;)t2.nodeType===1&&d2.push({element:t2,left:t2.scrollLeft,top:t2.scrollTop});for(typeof A.focus=="function"&&A.focus(),A=0;Ah?32:h,$.T=null,h=kl,kl=null;var m=R4,w=i4;if(U0=0,u6=R4=null,i4=0,(l0&6)!==0)throw Error(l(331));var A=l0;if(l0|=4,Qf(m.current),Wf(m,m.current,w,h),l0=A,I7(0,!1),O0&&typeof O0.onPostCommitFiberRoot=="function")try{O0.onPostCommitFiberRoot(d1,m)}catch{}return!0}finally{e2.p=u,$.T=v,ug(i,s)}}function _g(i,s,h){s=W1(h,s),s=dl(i.stateNode,s,2),i=A4(i,s,2),i!==null&&(i7(i,2),D3(i))}function r0(i,s,h){if(i.tag===3)_g(i,i,h);else for(;s!==null;){if(s.tag===3){_g(s,i,h);break}else if(s.tag===1){var v=s.stateNode;if(typeof s.type.getDerivedStateFromError=="function"||typeof v.componentDidCatch=="function"&&(H4===null||!H4.has(v))){i=W1(h,i),h=zf(2),v=A4(s,h,2),v!==null&&(Mf(h,v,s,i),i7(v,2),D3(v));break}}s=s.return}}function Rl(i,s,h){var v=i.pingCache;if(v===null){v=i.pingCache=new Rb;var u=new Set;v.set(s,u)}else u=v.get(s),u===void 0&&(u=new Set,v.set(s,u));u.has(h)||(Dl=!0,u.add(h),i=Ub.bind(null,i,s,h),s.then(i,i))}function Ub(i,s,h){var v=i.pingCache;v!==null&&v.delete(s),i.pingedLanes|=i.suspendedLanes&h,i.warmLanes&=~h,f0===i&&(Y2&h)===h&&(E0===4||E0===3&&(Y2&62914560)===Y2&&300>h1()-U9?(l0&2)===0&&m6(i,0):Al|=h,g6===Y2&&(g6=0)),D3(i)}function zg(i,s){s===0&&(s=pp()),i=v5(i,s),i!==null&&(i7(i,s),D3(i))}function Pb(i){var s=i.memoizedState,h=0;s!==null&&(h=s.retryLane),zg(i,h)}function jb(i,s){var h=0;switch(i.tag){case 31:case 13:var v=i.stateNode,u=i.memoizedState;u!==null&&(h=u.retryLane);break;case 19:v=i.stateNode;break;case 22:v=i.stateNode._retryCache;break;default:throw Error(l(314))}v!==null&&v.delete(s),zg(i,h)}function Gb(i,s){return h3(i,s)}var Y9=null,z6=null,Vl=!1,W9=!1,Il=!1,I4=0;function D3(i){i!==z6&&i.next===null&&(z6===null?Y9=z6=i:z6=z6.next=i),W9=!0,Vl||(Vl=!0,$b())}function I7(i,s){if(!Il&&W9){Il=!0;do for(var h=!1,v=Y9;v!==null;){if(i!==0){var u=v.pendingLanes;if(u===0)var m=0;else{var w=v.suspendedLanes,A=v.pingedLanes;m=(1<<31-v0(42|i)+1)-1,m&=u&~(w&~A),m=m&201326741?m&201326741|1:m?m|2:0}m!==0&&(h=!0,Fg(v,m))}else m=Y2,m=J8(v,v===f0?m:0,v.cancelPendingCommit!==null||v.timeoutHandle!==-1),(m&3)===0||l7(v,m)||(h=!0,Fg(v,m));v=v.next}while(h);Il=!1}}function qb(){Mg()}function Mg(){W9=Vl=!1;var i=0;I4!==0&&tE()&&(i=I4);for(var s=h1(),h=null,v=Y9;v!==null;){var u=v.next,m=wg(v,s);m===0?(v.next=null,h===null?Y9=u:h.next=u,u===null&&(z6=h)):(h=v,(i!==0||(m&3)!==0)&&(W9=!0)),v=u}U0!==0&&U0!==5||I7(i),I4!==0&&(I4=0)}function wg(i,s){for(var h=i.suspendedLanes,v=i.pingedLanes,u=i.expirationTimes,m=i.pendingLanes&-62914561;0A)break;var a2=U.transferSize,d2=U.initiatorType;a2&&Bg(d2)&&(U=U.responseEnd,w+=a2*(U"u"?null:document;function jg(i,s,h){var v=M6;if(v&&typeof s=="string"&&s){var u=Z1(s);u='link[rel="'+i+'"][href="'+u+'"]',typeof h=="string"&&(u+='[crossorigin="'+h+'"]'),Pg.has(u)||(Pg.add(u),i={rel:i,crossOrigin:h,href:s},v.querySelector(u)===null&&(s=v.createElement("link"),e1(s,"link",i),q0(s),v.head.appendChild(s)))}}function dE(i){a4.D(i),jg("dns-prefetch",i,null)}function pE(i,s){a4.C(i,s),jg("preconnect",i,s)}function vE(i,s,h){a4.L(i,s,h);var v=M6;if(v&&i&&s){var u='link[rel="preload"][as="'+Z1(s)+'"]';s==="image"&&h&&h.imageSrcSet?(u+='[imagesrcset="'+Z1(h.imageSrcSet)+'"]',typeof h.imageSizes=="string"&&(u+='[imagesizes="'+Z1(h.imageSizes)+'"]')):u+='[href="'+Z1(i)+'"]';var m=u;switch(s){case"style":m=w6(i);break;case"script":m=C6(i)}c3.has(m)||(i=g({rel:"preload",href:s==="image"&&h&&h.imageSrcSet?void 0:i,as:s},h),c3.set(m,i),v.querySelector(u)!==null||s==="style"&&v.querySelector(P7(m))||s==="script"&&v.querySelector(j7(m))||(s=v.createElement("link"),e1(s,"link",i),q0(s),v.head.appendChild(s)))}}function fE(i,s){a4.m(i,s);var h=M6;if(h&&i){var v=s&&typeof s.as=="string"?s.as:"script",u='link[rel="modulepreload"][as="'+Z1(v)+'"][href="'+Z1(i)+'"]',m=u;switch(v){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":m=C6(i)}if(!c3.has(m)&&(i=g({rel:"modulepreload",href:i},s),c3.set(m,i),h.querySelector(u)===null)){switch(v){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(h.querySelector(j7(m)))return}v=h.createElement("link"),e1(v,"link",i),q0(v),h.head.appendChild(v)}}}function gE(i,s,h){a4.S(i,s,h);var v=M6;if(v&&i){var u=j5(v).hoistableStyles,m=w6(i);s=s||"default";var w=u.get(m);if(!w){var A={loading:0,preload:null};if(w=v.querySelector(P7(m)))A.loading=5;else{i=g({rel:"stylesheet",href:i,"data-precedence":s},h),(h=c3.get(m))&&ei(i,h);var U=w=v.createElement("link");q0(U),e1(U,"link",i),U._p=new Promise(function(W,a2){U.onload=W,U.onerror=a2}),U.addEventListener("load",function(){A.loading|=1}),U.addEventListener("error",function(){A.loading|=2}),A.loading|=4,ee(w,s,v)}w={type:"stylesheet",instance:w,count:1,state:A},u.set(m,w)}}}function uE(i,s){a4.X(i,s);var h=M6;if(h&&i){var v=j5(h).hoistableScripts,u=C6(i),m=v.get(u);m||(m=h.querySelector(j7(u)),m||(i=g({src:i,async:!0},s),(s=c3.get(u))&&ci(i,s),m=h.createElement("script"),q0(m),e1(m,"link",i),h.head.appendChild(m)),m={type:"script",instance:m,count:1,state:null},v.set(u,m))}}function mE(i,s){a4.M(i,s);var h=M6;if(h&&i){var v=j5(h).hoistableScripts,u=C6(i),m=v.get(u);m||(m=h.querySelector(j7(u)),m||(i=g({src:i,async:!0,type:"module"},s),(s=c3.get(u))&&ci(i,s),m=h.createElement("script"),q0(m),e1(m,"link",i),h.head.appendChild(m)),m={type:"script",instance:m,count:1,state:null},v.set(u,m))}}function Gg(i,s,h,v){var u=(u=M2.current)?J9(u):null;if(!u)throw Error(l(446));switch(i){case"meta":case"title":return null;case"style":return typeof h.precedence=="string"&&typeof h.href=="string"?(s=w6(h.href),h=j5(u).hoistableStyles,v=h.get(s),v||(v={type:"style",instance:null,count:0,state:null},h.set(s,v)),v):{type:"void",instance:null,count:0,state:null};case"link":if(h.rel==="stylesheet"&&typeof h.href=="string"&&typeof h.precedence=="string"){i=w6(h.href);var m=j5(u).hoistableStyles,w=m.get(i);if(w||(u=u.ownerDocument||u,w={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},m.set(i,w),(m=u.querySelector(P7(i)))&&!m._p&&(w.instance=m,w.state.loading=5),c3.has(i)||(h={rel:"preload",as:"style",href:h.href,crossOrigin:h.crossOrigin,integrity:h.integrity,media:h.media,hrefLang:h.hrefLang,referrerPolicy:h.referrerPolicy},c3.set(i,h),m||_E(u,i,h,w.state))),s&&v===null)throw Error(l(528,""));return w}if(s&&v!==null)throw Error(l(529,""));return null;case"script":return s=h.async,h=h.src,typeof h=="string"&&s&&typeof s!="function"&&typeof s!="symbol"?(s=C6(h),h=j5(u).hoistableScripts,v=h.get(s),v||(v={type:"script",instance:null,count:0,state:null},h.set(s,v)),v):{type:"void",instance:null,count:0,state:null};default:throw Error(l(444,i))}}function w6(i){return'href="'+Z1(i)+'"'}function P7(i){return'link[rel="stylesheet"]['+i+"]"}function qg(i){return g({},i,{"data-precedence":i.precedence,precedence:null})}function _E(i,s,h,v){i.querySelector('link[rel="preload"][as="style"]['+s+"]")?v.loading=1:(s=i.createElement("link"),v.preload=s,s.addEventListener("load",function(){return v.loading|=1}),s.addEventListener("error",function(){return v.loading|=2}),e1(s,"link",h),q0(s),i.head.appendChild(s))}function C6(i){return'[src="'+Z1(i)+'"]'}function j7(i){return"script[async]"+i}function $g(i,s,h){if(s.count++,s.instance===null)switch(s.type){case"style":var v=i.querySelector('style[data-href~="'+Z1(h.href)+'"]');if(v)return s.instance=v,q0(v),v;var u=g({},h,{"data-href":h.href,"data-precedence":h.precedence,href:null,precedence:null});return v=(i.ownerDocument||i).createElement("style"),q0(v),e1(v,"style",u),ee(v,h.precedence,i),s.instance=v;case"stylesheet":u=w6(h.href);var m=i.querySelector(P7(u));if(m)return s.state.loading|=4,s.instance=m,q0(m),m;v=qg(h),(u=c3.get(u))&&ei(v,u),m=(i.ownerDocument||i).createElement("link"),q0(m);var w=m;return w._p=new Promise(function(A,U){w.onload=A,w.onerror=U}),e1(m,"link",v),s.state.loading|=4,ee(m,h.precedence,i),s.instance=m;case"script":return m=C6(h.src),(u=i.querySelector(j7(m)))?(s.instance=u,q0(u),u):(v=h,(u=c3.get(m))&&(v=g({},h),ci(v,u)),i=i.ownerDocument||i,u=i.createElement("script"),q0(u),e1(u,"link",v),i.head.appendChild(u),s.instance=u);case"void":return null;default:throw Error(l(443,s.type))}else s.type==="stylesheet"&&(s.state.loading&4)===0&&(v=s.instance,s.state.loading|=4,ee(v,h.precedence,i));return s.instance}function ee(i,s,h){for(var v=h.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),u=v.length?v[v.length-1]:null,m=u,w=0;w title"):null)}function zE(i,s,h){if(h===1||s.itemProp!=null)return!1;switch(i){case"meta":case"title":return!0;case"style":if(typeof s.precedence!="string"||typeof s.href!="string"||s.href==="")break;return!0;case"link":if(typeof s.rel!="string"||typeof s.href!="string"||s.href===""||s.onLoad||s.onError)break;return s.rel==="stylesheet"?(i=s.disabled,typeof s.precedence=="string"&&i==null):!0;case"script":if(s.async&&typeof s.async!="function"&&typeof s.async!="symbol"&&!s.onLoad&&!s.onError&&s.src&&typeof s.src=="string")return!0}return!1}function Wg(i){return!(i.type==="stylesheet"&&(i.state.loading&3)===0)}function ME(i,s,h,v){if(h.type==="stylesheet"&&(typeof v.media!="string"||matchMedia(v.media).matches!==!1)&&(h.state.loading&4)===0){if(h.instance===null){var u=w6(v.href),m=s.querySelector(P7(u));if(m){s=m._p,s!==null&&typeof s=="object"&&typeof s.then=="function"&&(i.count++,i=te.bind(i),s.then(i,i)),h.state.loading|=4,h.instance=m,q0(m);return}m=s.ownerDocument||s,v=qg(v),(u=c3.get(u))&&ei(v,u),m=m.createElement("link"),q0(m);var w=m;w._p=new Promise(function(A,U){w.onload=A,w.onerror=U}),e1(m,"link",v),h.instance=m}i.stylesheets===null&&(i.stylesheets=new Map),i.stylesheets.set(h,s),(s=h.state.preload)&&(h.state.loading&3)===0&&(i.count++,h=te.bind(i),s.addEventListener("load",h),s.addEventListener("error",h))}}var ti=0;function wE(i,s){return i.stylesheets&&i.count===0&&ie(i,i.stylesheets),0ti?50:800)+s);return i.unsuspend=h,function(){i.unsuspend=null,clearTimeout(v),clearTimeout(u)}}:null}function te(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)ie(this,this.stylesheets);else if(this.unsuspend){var i=this.unsuspend;this.unsuspend=null,i()}}}var le=null;function ie(i,s){i.stylesheets=null,i.unsuspend!==null&&(i.count++,le=new Map,s.forEach(CE,i),le=null,te.call(i))}function CE(i,s){if(!(s.state.loading&4)){var h=le.get(i);if(h)var v=h.get(null);else{h=new Map,le.set(i,h);for(var u=i.querySelectorAll("link[data-precedence],style[data-precedence]"),m=0;m"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(c){console.error(c)}}return e(),di.exports=IE(),di.exports}var OE=NE();const UE=gc(OE);var zu="popstate";function PE(e={}){function c(a,n){let{pathname:r="/",search:o="",hash:d=""}=R5(a.location.hash.substring(1));return!r.startsWith("/")&&!r.startsWith(".")&&(r="/"+r),sa("",{pathname:r,search:o,hash:d},n.state&&n.state.usr||null,n.state&&n.state.key||"default")}function t(a,n){let r=a.document.querySelector("base"),o="";if(r&&r.getAttribute("href")){let d=a.location.href,p=d.indexOf("#");o=p===-1?d:d.slice(0,p)}return o+"#"+(typeof n=="string"?n:C8(n))}function l(a,n){r3(a.pathname.charAt(0)==="/",`relative pathnames are not supported in hash history.push(${JSON.stringify(n)})`)}return GE(c,t,l,e)}function F0(e,c){if(e===!1||e===null||typeof e>"u")throw new Error(c)}function r3(e,c){if(!e){typeof console<"u"&&console.warn(c);try{throw new Error(c)}catch{}}}function jE(){return Math.random().toString(36).substring(2,10)}function Mu(e,c){return{usr:e.state,key:e.key,idx:c}}function sa(e,c,t=null,l){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof c=="string"?R5(c):c,state:t,key:c&&c.key||l||jE()}}function C8({pathname:e="/",search:c="",hash:t=""}){return c&&c!=="?"&&(e+=c.charAt(0)==="?"?c:"?"+c),t&&t!=="#"&&(e+=t.charAt(0)==="#"?t:"#"+t),e}function R5(e){let c={};if(e){let t=e.indexOf("#");t>=0&&(c.hash=e.substring(t),e=e.substring(0,t));let l=e.indexOf("?");l>=0&&(c.search=e.substring(l),e=e.substring(0,l)),e&&(c.pathname=e)}return c}function GE(e,c,t,l={}){let{window:a=document.defaultView,v5Compat:n=!1}=l,r=a.history,o="POP",d=null,p=f();p==null&&(p=0,r.replaceState({...r.state,idx:p},""));function f(){return(r.state||{idx:null}).idx}function g(){o="POP";let x=f(),F=x==null?null:x-p;p=x,d&&d({action:o,location:C.location,delta:F})}function _(x,F){o="PUSH";let L=sa(C.location,x,F);t&&t(L,x),p=f()+1;let S=Mu(L,p),b=C.createHref(L);try{r.pushState(S,"",b)}catch(E){if(E instanceof DOMException&&E.name==="DataCloneError")throw E;a.location.assign(b)}n&&d&&d({action:o,location:C.location,delta:1})}function z(x,F){o="REPLACE";let L=sa(C.location,x,F);t&&t(L,x),p=f();let S=Mu(L,p),b=C.createHref(L);r.replaceState(S,"",b),n&&d&&d({action:o,location:C.location,delta:0})}function M(x){return qE(x)}let C={get action(){return o},get location(){return e(a,r)},listen(x){if(d)throw new Error("A history only accepts one active listener");return a.addEventListener(zu,g),d=x,()=>{a.removeEventListener(zu,g),d=null}},createHref(x){return c(a,x)},createURL:M,encodeLocation(x){let F=M(x);return{pathname:F.pathname,search:F.search,hash:F.hash}},push:_,replace:z,go(x){return r.go(x)}};return C}function qE(e,c=!1){let t="http://localhost";typeof window<"u"&&(t=window.location.origin!=="null"?window.location.origin:window.location.href),F0(t,"No window.location.(origin|href) available to create URL");let l=typeof e=="string"?e:C8(e);return l=l.replace(/ $/,"%20"),!c&&l.startsWith("//")&&(l=t+l),new URL(l,t)}function q_(e,c,t="/"){return $E(e,c,t,!1)}function $E(e,c,t,l){let a=typeof c=="string"?R5(c):c,n=f4(a.pathname||"/",t);if(n==null)return null;let r=$_(e);ZE(r);let o=null;for(let d=0;o==null&&d{let f={relativePath:p===void 0?r.path||"":p,caseSensitive:r.caseSensitive===!0,childrenIndex:o,route:r};if(f.relativePath.startsWith("/")){if(!f.relativePath.startsWith(l)&&d)return;F0(f.relativePath.startsWith(l),`Absolute route path "${f.relativePath}" nested under path "${l}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),f.relativePath=f.relativePath.slice(l.length)}let g=v4([l,f.relativePath]),_=t.concat(f);r.children&&r.children.length>0&&(F0(r.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${g}".`),$_(r.children,c,_,g,d)),!(r.path==null&&!r.index)&&c.push({path:g,score:ex(g,r.index),routesMeta:_})};return e.forEach((r,o)=>{if(r.path===""||!r.path?.includes("?"))n(r,o);else for(let d of Z_(r.path))n(r,o,!0,d)}),c}function Z_(e){let c=e.split("/");if(c.length===0)return[];let[t,...l]=c,a=t.endsWith("?"),n=t.replace(/\?$/,"");if(l.length===0)return a?[n,""]:[n];let r=Z_(l.join("/")),o=[];return o.push(...r.map(d=>d===""?n:[n,d].join("/"))),a&&o.push(...r),o.map(d=>e.startsWith("/")&&d===""?"/":d)}function ZE(e){e.sort((c,t)=>c.score!==t.score?t.score-c.score:cx(c.routesMeta.map(l=>l.childrenIndex),t.routesMeta.map(l=>l.childrenIndex)))}var YE=/^:[\w-]+$/,WE=3,KE=2,XE=1,QE=10,JE=-2,wu=e=>e==="*";function ex(e,c){let t=e.split("/"),l=t.length;return t.some(wu)&&(l+=JE),c&&(l+=KE),t.filter(a=>!wu(a)).reduce((a,n)=>a+(YE.test(n)?WE:n===""?XE:QE),l)}function cx(e,c){return e.length===c.length&&e.slice(0,-1).every((l,a)=>l===c[a])?e[e.length-1]-c[c.length-1]:0}function tx(e,c,t=!1){let{routesMeta:l}=e,a={},n="/",r=[];for(let o=0;o{if(f==="*"){let M=o[_]||"";r=n.slice(0,n.length-M.length).replace(/(.)\/+$/,"$1")}const z=o[_];return g&&!z?p[f]=void 0:p[f]=(z||"").replace(/%2F/g,"/"),p},{}),pathname:n,pathnameBase:r,pattern:e}}function lx(e,c=!1,t=!0){r3(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 l=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(r,o,d)=>(l.push({paramName:o,isOptional:d!=null}),d?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(l.push({paramName:"*"}),a+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):t?a+="\\/*$":e!==""&&e!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,c?void 0:"i"),l]}function ix(e){try{return e.split("/").map(c=>decodeURIComponent(c).replace(/\//g,"%2F")).join("/")}catch(c){return r3(!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 (${c}).`),e}}function f4(e,c){if(c==="/")return e;if(!e.toLowerCase().startsWith(c.toLowerCase()))return null;let t=c.endsWith("/")?c.length-1:c.length,l=e.charAt(t);return l&&l!=="/"?null:e.slice(t)||"/"}var Y_=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ax=e=>Y_.test(e);function sx(e,c="/"){let{pathname:t,search:l="",hash:a=""}=typeof e=="string"?R5(e):e,n;if(t)if(ax(t))n=t;else{if(t.includes("//")){let r=t;t=t.replace(/\/\/+/g,"/"),r3(!1,`Pathnames cannot have embedded double slashes - normalizing ${r} -> ${t}`)}t.startsWith("/")?n=Cu(t.substring(1),"/"):n=Cu(t,c)}else n=c;return{pathname:n,search:ox(l),hash:hx(a)}}function Cu(e,c){let t=c.replace(/\/+$/,"").split("/");return e.split("/").forEach(a=>{a===".."?t.length>1&&t.pop():a!=="."&&t.push(a)}),t.length>1?t.join("/"):"/"}function gi(e,c,t,l){return`Cannot include a '${e}' character in a manually specified \`to.${c}\` field [${JSON.stringify(l)}]. Please separate it out to the \`to.${t}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function nx(e){return e.filter((c,t)=>t===0||c.route.path&&c.route.path.length>0)}function W_(e){let c=nx(e);return c.map((t,l)=>l===c.length-1?t.pathname:t.pathnameBase)}function K_(e,c,t,l=!1){let a;typeof e=="string"?a=R5(e):(a={...e},F0(!a.pathname||!a.pathname.includes("?"),gi("?","pathname","search",a)),F0(!a.pathname||!a.pathname.includes("#"),gi("#","pathname","hash",a)),F0(!a.search||!a.search.includes("#"),gi("#","search","hash",a)));let n=e===""||a.pathname==="",r=n?"/":a.pathname,o;if(r==null)o=t;else{let g=c.length-1;if(!l&&r.startsWith("..")){let _=r.split("/");for(;_[0]==="..";)_.shift(),g-=1;a.pathname=_.join("/")}o=g>=0?c[g]:"/"}let d=sx(a,o),p=r&&r!=="/"&&r.endsWith("/"),f=(n||r===".")&&t.endsWith("/");return!d.pathname.endsWith("/")&&(p||f)&&(d.pathname+="/"),d}var v4=e=>e.join("/").replace(/\/\/+/g,"/"),rx=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),ox=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,hx=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,dx=class{constructor(e,c,t,l=!1){this.status=e,this.statusText=c||"",this.internal=l,t instanceof Error?(this.data=t.toString(),this.error=t):this.data=t}};function px(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function vx(e){return e.map(c=>c.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var X_=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Q_(e,c){let t=e;if(typeof t!="string"||!Y_.test(t))return{absoluteURL:void 0,isExternal:!1,to:t};let l=t,a=!1;if(X_)try{let n=new URL(window.location.href),r=t.startsWith("//")?new URL(n.protocol+t):new URL(t),o=f4(r.pathname,c);r.origin===n.origin&&o!=null?t=o+r.search+r.hash:a=!0}catch{r3(!1,` contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:l,isExternal:a,to:t}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var J_=["POST","PUT","PATCH","DELETE"];new Set(J_);var fx=["GET",...J_];new Set(fx);var Z6=V.createContext(null);Z6.displayName="DataRouter";var uc=V.createContext(null);uc.displayName="DataRouterState";var gx=V.createContext(!1),ez=V.createContext({isTransitioning:!1});ez.displayName="ViewTransition";var ux=V.createContext(new Map);ux.displayName="Fetchers";var mx=V.createContext(null);mx.displayName="Await";var o3=V.createContext(null);o3.displayName="Navigation";var H8=V.createContext(null);H8.displayName="Location";var u4=V.createContext({outlet:null,matches:[],isDataRoute:!1});u4.displayName="Route";var ss=V.createContext(null);ss.displayName="RouteError";var cz="REACT_ROUTER_ERROR",_x="REDIRECT",zx="ROUTE_ERROR_RESPONSE";function Mx(e){if(e.startsWith(`${cz}:${_x}:{`))try{let c=JSON.parse(e.slice(28));if(typeof c=="object"&&c&&typeof c.status=="number"&&typeof c.statusText=="string"&&typeof c.location=="string"&&typeof c.reloadDocument=="boolean"&&typeof c.replace=="boolean")return c}catch{}}function wx(e){if(e.startsWith(`${cz}:${zx}:{`))try{let c=JSON.parse(e.slice(40));if(typeof c=="object"&&c&&typeof c.status=="number"&&typeof c.statusText=="string")return new dx(c.status,c.statusText,c.data)}catch{}}function Cx(e,{relative:c}={}){F0(R8(),"useHref() may be used only in the context of a component.");let{basename:t,navigator:l}=V.useContext(o3),{hash:a,pathname:n,search:r}=V8(e,{relative:c}),o=n;return t!=="/"&&(o=n==="/"?t:v4([t,n])),l.createHref({pathname:o,search:r,hash:a})}function R8(){return V.useContext(H8)!=null}function i5(){return F0(R8(),"useLocation() may be used only in the context of a component."),V.useContext(H8).location}var tz="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function lz(e){V.useContext(o3).static||V.useLayoutEffect(e)}function ns(){let{isDataRoute:e}=V.useContext(u4);return e?Hx():Fx()}function Fx(){F0(R8(),"useNavigate() may be used only in the context of a component.");let e=V.useContext(Z6),{basename:c,navigator:t}=V.useContext(o3),{matches:l}=V.useContext(u4),{pathname:a}=i5(),n=JSON.stringify(W_(l)),r=V.useRef(!1);return lz(()=>{r.current=!0}),V.useCallback((d,p={})=>{if(r3(r.current,tz),!r.current)return;if(typeof d=="number"){t.go(d);return}let f=K_(d,JSON.parse(n),a,p.relative==="path");e==null&&c!=="/"&&(f.pathname=f.pathname==="/"?c:v4([c,f.pathname])),(p.replace?t.replace:t.push)(f,p.state,p)},[c,t,n,a,e])}V.createContext(null);function V8(e,{relative:c}={}){let{matches:t}=V.useContext(u4),{pathname:l}=i5(),a=JSON.stringify(W_(t));return V.useMemo(()=>K_(e,JSON.parse(a),l,c==="path"),[e,a,l,c])}function bx(e,c){return iz(e,c)}function iz(e,c,t,l,a){F0(R8(),"useRoutes() may be used only in the context of a component.");let{navigator:n}=V.useContext(o3),{matches:r}=V.useContext(u4),o=r[r.length-1],d=o?o.params:{},p=o?o.pathname:"/",f=o?o.pathnameBase:"/",g=o&&o.route;{let L=g&&g.path||"";sz(p,!g||L.endsWith("*")||L.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${p}" (under ) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. Please change the parent to .`)}let _=i5(),z;if(c){let L=typeof c=="string"?R5(c):c;F0(f==="/"||L.pathname?.startsWith(f),`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 "${f}" but pathname "${L.pathname}" was given in the \`location\` prop.`),z=L}else z=_;let M=z.pathname||"/",C=M;if(f!=="/"){let L=f.replace(/^\//,"").split("/");C="/"+M.replace(/^\//,"").split("/").slice(L.length).join("/")}let x=q_(e,{pathname:C});r3(g||x!=null,`No routes matched location "${z.pathname}${z.search}${z.hash}" `),r3(x==null||x[x.length-1].route.element!==void 0||x[x.length-1].route.Component!==void 0||x[x.length-1].route.lazy!==void 0,`Matched leaf route at location "${z.pathname}${z.search}${z.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 F=Ax(x&&x.map(L=>Object.assign({},L,{params:Object.assign({},d,L.params),pathname:v4([f,n.encodeLocation?n.encodeLocation(L.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:L.pathname]),pathnameBase:L.pathnameBase==="/"?f:v4([f,n.encodeLocation?n.encodeLocation(L.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:L.pathnameBase])})),r,t,l,a);return c&&F?V.createElement(H8.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...z},navigationType:"POP"}},F):F}function Ex(){let e=Tx(),c=px(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),t=e instanceof Error?e.stack:null,l="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:l},n={padding:"2px 4px",backgroundColor:l},r=null;return console.error("Error handled by React Router default ErrorBoundary:",e),r=V.createElement(V.Fragment,null,V.createElement("p",null,"💿 Hey developer 👋"),V.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",V.createElement("code",{style:n},"ErrorBoundary")," or"," ",V.createElement("code",{style:n},"errorElement")," prop on your route.")),V.createElement(V.Fragment,null,V.createElement("h2",null,"Unexpected Application Error!"),V.createElement("h3",{style:{fontStyle:"italic"}},c),t?V.createElement("pre",{style:a},t):null,r)}var xx=V.createElement(Ex,null),az=class extends V.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,c){return c.location!==e.location||c.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:c.error,location:c.location,revalidation:e.revalidation||c.revalidation}}componentDidCatch(e,c){this.props.onError?this.props.onError(e,c):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 t=wx(e.digest);t&&(e=t)}let c=e!==void 0?V.createElement(u4.Provider,{value:this.props.routeContext},V.createElement(ss.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?V.createElement(yx,{error:e},c):c}};az.contextType=gx;var ui=new WeakMap;function yx({children:e,error:c}){let{basename:t}=V.useContext(o3);if(typeof c=="object"&&c&&"digest"in c&&typeof c.digest=="string"){let l=Mx(c.digest);if(l){let a=ui.get(c);if(a)throw a;let n=Q_(l.location,t);if(X_&&!ui.get(c))if(n.isExternal||l.reloadDocument)window.location.href=n.absoluteURL||n.to;else{const r=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(n.to,{replace:l.replace}));throw ui.set(c,r),r}return V.createElement("meta",{httpEquiv:"refresh",content:`0;url=${n.absoluteURL||n.to}`})}}return e}function Dx({routeContext:e,match:c,children:t}){let l=V.useContext(Z6);return l&&l.static&&l.staticContext&&(c.route.errorElement||c.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=c.route.id),V.createElement(u4.Provider,{value:e},t)}function Ax(e,c=[],t=null,l=null,a=null){if(e==null){if(!t)return null;if(t.errors)e=t.matches;else if(c.length===0&&!t.initialized&&t.matches.length>0)e=t.matches;else return null}let n=e,r=t?.errors;if(r!=null){let f=n.findIndex(g=>g.route.id&&r?.[g.route.id]!==void 0);F0(f>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(r).join(",")}`),n=n.slice(0,Math.min(n.length,f+1))}let o=!1,d=-1;if(t)for(let f=0;f=0?n=n.slice(0,d+1):n=[n[0]];break}}}let p=t&&l?(f,g)=>{l(f,{location:t.location,params:t.matches?.[0]?.params??{},unstable_pattern:vx(t.matches),errorInfo:g})}:void 0;return n.reduceRight((f,g,_)=>{let z,M=!1,C=null,x=null;t&&(z=r&&g.route.id?r[g.route.id]:void 0,C=g.route.errorElement||xx,o&&(d<0&&_===0?(sz("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),M=!0,x=null):d===_&&(M=!0,x=g.route.hydrateFallbackElement||null)));let F=c.concat(n.slice(0,_+1)),L=()=>{let S;return z?S=C:M?S=x:g.route.Component?S=V.createElement(g.route.Component,null):g.route.element?S=g.route.element:S=f,V.createElement(Dx,{match:g,routeContext:{outlet:f,matches:F,isDataRoute:t!=null},children:S})};return t&&(g.route.ErrorBoundary||g.route.errorElement||_===0)?V.createElement(az,{location:t.location,revalidation:t.revalidation,component:C,error:z,children:L(),routeContext:{outlet:null,matches:F,isDataRoute:!0},onError:p}):L()},null)}function rs(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Sx(e){let c=V.useContext(Z6);return F0(c,rs(e)),c}function Bx(e){let c=V.useContext(uc);return F0(c,rs(e)),c}function kx(e){let c=V.useContext(u4);return F0(c,rs(e)),c}function os(e){let c=kx(e),t=c.matches[c.matches.length-1];return F0(t.route.id,`${e} can only be used on routes that contain a unique "id"`),t.route.id}function Lx(){return os("useRouteId")}function Tx(){let e=V.useContext(ss),c=Bx("useRouteError"),t=os("useRouteError");return e!==void 0?e:c.errors?.[t]}function Hx(){let{router:e}=Sx("useNavigate"),c=os("useNavigate"),t=V.useRef(!1);return lz(()=>{t.current=!0}),V.useCallback(async(a,n={})=>{r3(t.current,tz),t.current&&(typeof a=="number"?await e.navigate(a):await e.navigate(a,{fromRouteId:c,...n}))},[e,c])}var Fu={};function sz(e,c,t){!c&&!Fu[e]&&(Fu[e]=!0,r3(!1,t))}V.memo(Rx);function Rx({routes:e,future:c,state:t,onError:l}){return iz(e,void 0,t,l,c)}function xe(e){F0(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function Vx({basename:e="/",children:c=null,location:t,navigationType:l="POP",navigator:a,static:n=!1,unstable_useTransitions:r}){F0(!R8(),"You cannot render a inside another . You should never have more than one in your app.");let o=e.replace(/^\/*/,"/"),d=V.useMemo(()=>({basename:o,navigator:a,static:n,unstable_useTransitions:r,future:{}}),[o,a,n,r]);typeof t=="string"&&(t=R5(t));let{pathname:p="/",search:f="",hash:g="",state:_=null,key:z="default"}=t,M=V.useMemo(()=>{let C=f4(p,o);return C==null?null:{location:{pathname:C,search:f,hash:g,state:_,key:z},navigationType:l}},[o,p,f,g,_,z,l]);return r3(M!=null,` is not able to match the URL "${p}${f}${g}" because it does not start with the basename, so the won't render anything.`),M==null?null:V.createElement(o3.Provider,{value:d},V.createElement(H8.Provider,{children:c,value:M}))}function Ix({children:e,location:c}){return bx(na(e),c)}function na(e,c=[]){let t=[];return V.Children.forEach(e,(l,a)=>{if(!V.isValidElement(l))return;let n=[...c,a];if(l.type===V.Fragment){t.push.apply(t,na(l.props.children,n));return}F0(l.type===xe,`[${typeof l.type=="string"?l.type:l.type.name}] is not a component. All component children of must be a or `),F0(!l.props.index||!l.props.children,"An index route cannot have child routes.");let r={id:l.props.id||n.join("-"),caseSensitive:l.props.caseSensitive,element:l.props.element,Component:l.props.Component,index:l.props.index,path:l.props.path,middleware:l.props.middleware,loader:l.props.loader,action:l.props.action,hydrateFallbackElement:l.props.hydrateFallbackElement,HydrateFallback:l.props.HydrateFallback,errorElement:l.props.errorElement,ErrorBoundary:l.props.ErrorBoundary,hasErrorBoundary:l.props.hasErrorBoundary===!0||l.props.ErrorBoundary!=null||l.props.errorElement!=null,shouldRevalidate:l.props.shouldRevalidate,handle:l.props.handle,lazy:l.props.lazy};l.props.children&&(r.children=na(l.props.children,n)),t.push(r)}),t}var ye="get",De="application/x-www-form-urlencoded";function mc(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function Nx(e){return mc(e)&&e.tagName.toLowerCase()==="button"}function Ox(e){return mc(e)&&e.tagName.toLowerCase()==="form"}function Ux(e){return mc(e)&&e.tagName.toLowerCase()==="input"}function Px(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function jx(e,c){return e.button===0&&(!c||c==="_self")&&!Px(e)}var pe=null;function Gx(){if(pe===null)try{new FormData(document.createElement("form"),0),pe=!1}catch{pe=!0}return pe}var qx=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function mi(e){return e!=null&&!qx.has(e)?(r3(!1,`"${e}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${De}"`),null):e}function $x(e,c){let t,l,a,n,r;if(Ox(e)){let o=e.getAttribute("action");l=o?f4(o,c):null,t=e.getAttribute("method")||ye,a=mi(e.getAttribute("enctype"))||De,n=new FormData(e)}else if(Nx(e)||Ux(e)&&(e.type==="submit"||e.type==="image")){let o=e.form;if(o==null)throw new Error('Cannot submit a