(function(){const u=document.createElement("link").relList;if(u&&u.supports&&u.supports("modulepreload"))return;for(const f of document.querySelectorAll('link[rel="modulepreload"]'))d(f);new MutationObserver(f=>{for(const m of f)if(m.type==="childList")for(const v of m.addedNodes)v.tagName==="LINK"&&v.rel==="modulepreload"&&d(v)}).observe(document,{childList:!0,subtree:!0});function o(f){const m={};return f.integrity&&(m.integrity=f.integrity),f.referrerPolicy&&(m.referrerPolicy=f.referrerPolicy),f.crossOrigin==="use-credentials"?m.credentials="include":f.crossOrigin==="anonymous"?m.credentials="omit":m.credentials="same-origin",m}function d(f){if(f.ep)return;f.ep=!0;const m=o(f);fetch(f.href,m)}})();function Fc(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var ro={exports:{}},Mr={},lo={exports:{}},te={};/** * @license React * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var xc;function rp(){if(xc)return te;xc=1;var i=Symbol.for("react.element"),u=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),d=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),m=Symbol.for("react.provider"),v=Symbol.for("react.context"),N=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),k=Symbol.for("react.memo"),L=Symbol.for("react.lazy"),x=Symbol.iterator;function P(S){return S===null||typeof S!="object"?null:(S=x&&S[x]||S["@@iterator"],typeof S=="function"?S:null)}var $={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,I={};function D(S,z,ee){this.props=S,this.context=z,this.refs=I,this.updater=ee||$}D.prototype.isReactComponent={},D.prototype.setState=function(S,z){if(typeof S!="object"&&typeof S!="function"&&S!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,S,z,"setState")},D.prototype.forceUpdate=function(S){this.updater.enqueueForceUpdate(this,S,"forceUpdate")};function R(){}R.prototype=D.prototype;function W(S,z,ee){this.props=S,this.context=z,this.refs=I,this.updater=ee||$}var X=W.prototype=new R;X.constructor=W,_(X,D.prototype),X.isPureReactComponent=!0;var re=Array.isArray,le=Object.prototype.hasOwnProperty,ue={current:null},fe={key:!0,ref:!0,__self:!0,__source:!0};function Ce(S,z,ee){var ne,ae={},oe=null,pe=null;if(z!=null)for(ne in z.ref!==void 0&&(pe=z.ref),z.key!==void 0&&(oe=""+z.key),z)le.call(z,ne)&&!fe.hasOwnProperty(ne)&&(ae[ne]=z[ne]);var ce=arguments.length-2;if(ce===1)ae.children=ee;else if(1>>1,z=U[S];if(0>>1;Sf(ae,B))oef(pe,ae)?(U[S]=pe,U[oe]=B,S=oe):(U[S]=ae,U[ne]=B,S=ne);else if(oef(pe,B))U[S]=pe,U[oe]=B,S=oe;else break e}}return Y}function f(U,Y){var B=U.sortIndex-Y.sortIndex;return B!==0?B:U.id-Y.id}if(typeof performance=="object"&&typeof performance.now=="function"){var m=performance;i.unstable_now=function(){return m.now()}}else{var v=Date,N=v.now();i.unstable_now=function(){return v.now()-N}}var w=[],k=[],L=1,x=null,P=3,$=!1,_=!1,I=!1,D=typeof setTimeout=="function"?setTimeout:null,R=typeof clearTimeout=="function"?clearTimeout:null,W=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function X(U){for(var Y=o(k);Y!==null;){if(Y.callback===null)d(k);else if(Y.startTime<=U)d(k),Y.sortIndex=Y.expirationTime,u(w,Y);else break;Y=o(k)}}function re(U){if(I=!1,X(U),!_)if(o(w)!==null)_=!0,he(le);else{var Y=o(k);Y!==null&&ve(re,Y.startTime-U)}}function le(U,Y){_=!1,I&&(I=!1,R(Ce),Ce=-1),$=!0;var B=P;try{for(X(Y),x=o(w);x!==null&&(!(x.expirationTime>Y)||U&&!ht());){var S=x.callback;if(typeof S=="function"){x.callback=null,P=x.priorityLevel;var z=S(x.expirationTime<=Y);Y=i.unstable_now(),typeof z=="function"?x.callback=z:x===o(w)&&d(w),X(Y)}else d(w);x=o(w)}if(x!==null)var ee=!0;else{var ne=o(k);ne!==null&&ve(re,ne.startTime-Y),ee=!1}return ee}finally{x=null,P=B,$=!1}}var ue=!1,fe=null,Ce=-1,De=5,He=-1;function ht(){return!(i.unstable_now()-HeU||125S?(U.sortIndex=B,u(k,U),o(w)===null&&U===o(k)&&(I?(R(Ce),Ce=-1):I=!0,ve(re,B-S))):(U.sortIndex=z,u(w,U),_||$||(_=!0,he(le))),U},i.unstable_shouldYield=ht,i.unstable_wrapCallback=function(U){var Y=P;return function(){var B=P;P=Y;try{return U.apply(this,arguments)}finally{P=B}}}})(oo)),oo}var Ec;function sp(){return Ec||(Ec=1,ao.exports=op()),ao.exports}/** * @license React * react-dom.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var jc;function up(){if(jc)return Ze;jc=1;var i=ho(),u=sp();function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),w=Object.prototype.hasOwnProperty,k=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,L={},x={};function P(e){return w.call(x,e)?!0:w.call(L,e)?!1:k.test(e)?x[e]=!0:(L[e]=!0,!1)}function $(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function _(e,t,n,r){if(t===null||typeof t>"u"||$(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function I(e,t,n,r,l,a,c){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=c}var D={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){D[e]=new I(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];D[t]=new I(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){D[e]=new I(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){D[e]=new I(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){D[e]=new I(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){D[e]=new I(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){D[e]=new I(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){D[e]=new I(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){D[e]=new I(e,5,!1,e.toLowerCase(),null,!1,!1)});var R=/[\-:]([a-z])/g;function W(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(R,W);D[t]=new I(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(R,W);D[t]=new I(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(R,W);D[t]=new I(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){D[e]=new I(e,1,!1,e.toLowerCase(),null,!1,!1)}),D.xlinkHref=new I("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){D[e]=new I(e,1,!1,e.toLowerCase(),null,!0,!0)});function X(e,t,n,r){var l=D.hasOwnProperty(t)?D[t]:null;(l!==null?l.type!==0:r||!(2p||l[c]!==a[p]){var h=` `+l[c].replace(" at new "," at ");return e.displayName&&h.includes("")&&(h=h.replace("",e.displayName)),h}while(1<=c&&0<=p);break}}}finally{ee=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?z(e):""}function ae(e){switch(e.tag){case 5:return z(e.type);case 16:return z("Lazy");case 13:return z("Suspense");case 19:return z("SuspenseList");case 0:case 2:case 15:return e=ne(e.type,!1),e;case 11:return e=ne(e.type.render,!1),e;case 1:return e=ne(e.type,!0),e;default:return""}}function oe(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case fe:return"Fragment";case ue:return"Portal";case De:return"Profiler";case Ce:return"StrictMode";case ze:return"Suspense";case K:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ht:return(e.displayName||"Context")+".Consumer";case He:return(e._context.displayName||"Context")+".Provider";case Ke:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Z:return t=e.displayName||null,t!==null?t:oe(e.type)||"Memo";case he:t=e._payload,e=e._init;try{return oe(e(t))}catch{}}return null}function pe(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return oe(t);case 8:return t===Ce?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function ce(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function xe(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function et(e){var t=xe(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(c){r=""+c,a.call(this,c)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(c){r=""+c},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ar(e){e._valueTracker||(e._valueTracker=et(e))}function jo(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=xe(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function br(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function ci(e,t){var n=t.checked;return B({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Co(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=ce(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function _o(e,t){t=t.checked,t!=null&&X(e,"checked",t,!1)}function di(e,t){_o(e,t);var n=ce(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?fi(e,t.type,n):t.hasOwnProperty("defaultValue")&&fi(e,t.type,ce(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ro(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function fi(e,t,n){(t!=="number"||br(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Xn=Array.isArray;function Sn(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=Br.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Jn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Gn={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ad=["Webkit","ms","Moz","O"];Object.keys(Gn).forEach(function(e){ad.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Gn[t]=Gn[e]})});function Mo(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Gn.hasOwnProperty(e)&&Gn[e]?(""+t).trim():t+"px"}function Oo(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=Mo(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var od=B({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function hi(e,t){if(t){if(od[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(o(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(o(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(t.style!=null&&typeof t.style!="object")throw Error(o(62))}}function vi(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var gi=null;function yi(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var xi=null,kn=null,Nn=null;function Io(e){if(e=xr(e)){if(typeof xi!="function")throw Error(o(280));var t=e.stateNode;t&&(t=dl(t),xi(e.stateNode,e.type,t))}}function Fo(e){kn?Nn?Nn.push(e):Nn=[e]:kn=e}function $o(){if(kn){var e=kn,t=Nn;if(Nn=kn=null,Io(e),t)for(e=0;e>>=0,e===0?32:31-(yd(e)/xd|0)|0}var Kr=64,Yr=4194304;function tr(e){switch(e&-e){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: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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Xr(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,a=e.pingedLanes,c=n&268435455;if(c!==0){var p=c&~l;p!==0?r=tr(p):(a&=c,a!==0&&(r=tr(a)))}else c=n&~l,c!==0?r=tr(c):a!==0&&(r=tr(a));if(r===0)return 0;if(t!==0&&t!==r&&(t&l)===0&&(l=r&-r,a=t&-t,l>=a||l===16&&(a&4194240)!==0))return t;if((r&4)!==0&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function nr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-vt(t),e[t]=n}function Nd(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=cr),fs=" ",ps=!1;function ms(e,t){switch(e){case"keyup":return Gd.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function hs(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Cn=!1;function Zd(e,t){switch(e){case"compositionend":return hs(t);case"keypress":return t.which!==32?null:(ps=!0,fs);case"textInput":return e=t.data,e===fs&&ps?null:e;default:return null}}function ef(e,t){if(Cn)return e==="compositionend"||!Fi&&ms(e,t)?(e=as(),el=Ti=Ht=null,Cn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=ks(n)}}function Es(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Es(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function js(){for(var e=window,t=br();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=br(e.document)}return t}function Ai(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function cf(e){var t=js(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Es(n.ownerDocument.documentElement,n)){if(r!==null&&Ai(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,a=Math.min(r.start,l);r=r.end===void 0?a:Math.min(r.end,l),!e.extend&&a>r&&(l=r,r=a,a=l),l=Ns(n,a);var c=Ns(n,r);l&&c&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==c.node||e.focusOffset!==c.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(c.node,c.offset)):(t.setEnd(c.node,c.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,_n=null,bi=null,mr=null,Bi=!1;function Cs(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Bi||_n==null||_n!==br(r)||(r=_n,"selectionStart"in r&&Ai(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),mr&&pr(mr,r)||(mr=r,r=sl(bi,"onSelect"),0Dn||(e.current=ea[Dn],ea[Dn]=null,Dn--)}function me(e,t){Dn++,ea[Dn]=e.current,e.current=t}var Yt={},Ae=Kt(Yt),Ye=Kt(!1),un=Yt;function zn(e,t){var n=e.type.contextTypes;if(!n)return Yt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},a;for(a in n)l[a]=t[a];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function Xe(e){return e=e.childContextTypes,e!=null}function fl(){ye(Ye),ye(Ae)}function bs(e,t,n){if(Ae.current!==Yt)throw Error(o(168));me(Ae,t),me(Ye,n)}function Bs(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(o(108,pe(e)||"Unknown",l));return B({},n,r)}function pl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Yt,un=Ae.current,me(Ae,e),me(Ye,Ye.current),!0}function Vs(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=Bs(e,t,un),r.__reactInternalMemoizedMergedChildContext=e,ye(Ye),ye(Ae),me(Ae,e)):ye(Ye),me(Ye,n)}var Dt=null,ml=!1,ta=!1;function Hs(e){Dt===null?Dt=[e]:Dt.push(e)}function kf(e){ml=!0,Hs(e)}function Xt(){if(!ta&&Dt!==null){ta=!0;var e=0,t=de;try{var n=Dt;for(de=1;e>=c,l-=c,zt=1<<32-vt(t)+l|n<q?(Ie=G,G=null):Ie=G.sibling;var se=T(E,G,j[q],F);if(se===null){G===null&&(G=Ie);break}e&&G&&se.alternate===null&&t(E,G),g=a(se,g,q),J===null?Q=se:J.sibling=se,J=se,G=Ie}if(q===j.length)return n(E,G),we&&dn(E,q),Q;if(G===null){for(;qq?(Ie=G,G=null):Ie=G.sibling;var ln=T(E,G,se.value,F);if(ln===null){G===null&&(G=Ie);break}e&&G&&ln.alternate===null&&t(E,G),g=a(ln,g,q),J===null?Q=ln:J.sibling=ln,J=ln,G=Ie}if(se.done)return n(E,G),we&&dn(E,q),Q;if(G===null){for(;!se.done;q++,se=j.next())se=O(E,se.value,F),se!==null&&(g=a(se,g,q),J===null?Q=se:J.sibling=se,J=se);return we&&dn(E,q),Q}for(G=r(E,G);!se.done;q++,se=j.next())se=A(G,E,q,se.value,F),se!==null&&(e&&se.alternate!==null&&G.delete(se.key===null?q:se.key),g=a(se,g,q),J===null?Q=se:J.sibling=se,J=se);return e&&G.forEach(function(np){return t(E,np)}),we&&dn(E,q),Q}function Re(E,g,j,F){if(typeof j=="object"&&j!==null&&j.type===fe&&j.key===null&&(j=j.props.children),typeof j=="object"&&j!==null){switch(j.$$typeof){case le:e:{for(var Q=j.key,J=g;J!==null;){if(J.key===Q){if(Q=j.type,Q===fe){if(J.tag===7){n(E,J.sibling),g=l(J,j.props.children),g.return=E,E=g;break e}}else if(J.elementType===Q||typeof Q=="object"&&Q!==null&&Q.$$typeof===he&&Js(Q)===J.type){n(E,J.sibling),g=l(J,j.props),g.ref=wr(E,J,j),g.return=E,E=g;break e}n(E,J);break}else t(E,J);J=J.sibling}j.type===fe?(g=xn(j.props.children,E.mode,F,j.key),g.return=E,E=g):(F=Bl(j.type,j.key,j.props,null,E.mode,F),F.ref=wr(E,g,j),F.return=E,E=F)}return c(E);case ue:e:{for(J=j.key;g!==null;){if(g.key===J)if(g.tag===4&&g.stateNode.containerInfo===j.containerInfo&&g.stateNode.implementation===j.implementation){n(E,g.sibling),g=l(g,j.children||[]),g.return=E,E=g;break e}else{n(E,g);break}else t(E,g);g=g.sibling}g=qa(j,E.mode,F),g.return=E,E=g}return c(E);case he:return J=j._init,Re(E,g,J(j._payload),F)}if(Xn(j))return V(E,g,j,F);if(Y(j))return H(E,g,j,F);yl(E,j)}return typeof j=="string"&&j!==""||typeof j=="number"?(j=""+j,g!==null&&g.tag===6?(n(E,g.sibling),g=l(g,j),g.return=E,E=g):(n(E,g),g=Ga(j,E.mode,F),g.return=E,E=g),c(E)):n(E,g)}return Re}var Fn=Gs(!0),qs=Gs(!1),xl=Kt(null),wl=null,$n=null,oa=null;function sa(){oa=$n=wl=null}function ua(e){var t=xl.current;ye(xl),e._currentValue=t}function ca(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Un(e,t){wl=e,oa=$n=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Je=!0),e.firstContext=null)}function ut(e){var t=e._currentValue;if(oa!==e)if(e={context:e,memoizedValue:t,next:null},$n===null){if(wl===null)throw Error(o(308));$n=e,wl.dependencies={lanes:0,firstContext:e}}else $n=$n.next=e;return t}var fn=null;function da(e){fn===null?fn=[e]:fn.push(e)}function Zs(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,da(t)):(n.next=l.next,l.next=n),t.interleaved=n,Ot(e,r)}function Ot(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Jt=!1;function fa(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function eu(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function It(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Gt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,(ie&2)!==0){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,Ot(e,n)}return l=r.interleaved,l===null?(t.next=t,da(r)):(t.next=l.next,l.next=t),r.interleaved=t,Ot(e,n)}function Sl(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ci(e,n)}}function tu(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var c={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};a===null?l=a=c:a=a.next=c,n=n.next}while(n!==null);a===null?l=a=t:a=a.next=t}else l=a=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:a,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function kl(e,t,n,r){var l=e.updateQueue;Jt=!1;var a=l.firstBaseUpdate,c=l.lastBaseUpdate,p=l.shared.pending;if(p!==null){l.shared.pending=null;var h=p,C=h.next;h.next=null,c===null?a=C:c.next=C,c=h;var M=e.alternate;M!==null&&(M=M.updateQueue,p=M.lastBaseUpdate,p!==c&&(p===null?M.firstBaseUpdate=C:p.next=C,M.lastBaseUpdate=h))}if(a!==null){var O=l.baseState;c=0,M=C=h=null,p=a;do{var T=p.lane,A=p.eventTime;if((r&T)===T){M!==null&&(M=M.next={eventTime:A,lane:0,tag:p.tag,payload:p.payload,callback:p.callback,next:null});e:{var V=e,H=p;switch(T=t,A=n,H.tag){case 1:if(V=H.payload,typeof V=="function"){O=V.call(A,O,T);break e}O=V;break e;case 3:V.flags=V.flags&-65537|128;case 0:if(V=H.payload,T=typeof V=="function"?V.call(A,O,T):V,T==null)break e;O=B({},O,T);break e;case 2:Jt=!0}}p.callback!==null&&p.lane!==0&&(e.flags|=64,T=l.effects,T===null?l.effects=[p]:T.push(p))}else A={eventTime:A,lane:T,tag:p.tag,payload:p.payload,callback:p.callback,next:null},M===null?(C=M=A,h=O):M=M.next=A,c|=T;if(p=p.next,p===null){if(p=l.shared.pending,p===null)break;T=p,p=T.next,T.next=null,l.lastBaseUpdate=T,l.shared.pending=null}}while(!0);if(M===null&&(h=O),l.baseState=h,l.firstBaseUpdate=C,l.lastBaseUpdate=M,t=l.shared.interleaved,t!==null){l=t;do c|=l.lane,l=l.next;while(l!==t)}else a===null&&(l.shared.lanes=0);hn|=c,e.lanes=c,e.memoizedState=O}}function nu(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=ga.transition;ga.transition={};try{e(!1),t()}finally{de=n,ga.transition=r}}function Su(){return ct().memoizedState}function Cf(e,t,n){var r=tn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},ku(e))Nu(t,n);else if(n=Zs(e,t,n,r),n!==null){var l=Qe();kt(n,e,r,l),Eu(n,t,r)}}function _f(e,t,n){var r=tn(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ku(e))Nu(t,l);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var c=t.lastRenderedState,p=a(c,n);if(l.hasEagerState=!0,l.eagerState=p,gt(p,c)){var h=t.interleaved;h===null?(l.next=l,da(t)):(l.next=h.next,h.next=l),t.interleaved=l;return}}catch{}finally{}n=Zs(e,t,l,r),n!==null&&(l=Qe(),kt(n,e,r,l),Eu(n,t,r))}}function ku(e){var t=e.alternate;return e===Ne||t!==null&&t===Ne}function Nu(e,t){Er=jl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Eu(e,t,n){if((n&4194240)!==0){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ci(e,n)}}var Rl={readContext:ut,useCallback:be,useContext:be,useEffect:be,useImperativeHandle:be,useInsertionEffect:be,useLayoutEffect:be,useMemo:be,useReducer:be,useRef:be,useState:be,useDebugValue:be,useDeferredValue:be,useTransition:be,useMutableSource:be,useSyncExternalStore:be,useId:be,unstable_isNewReconciler:!1},Rf={readContext:ut,useCallback:function(e,t){return Rt().memoizedState=[e,t===void 0?null:t],e},useContext:ut,useEffect:pu,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Cl(4194308,4,vu.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Cl(4194308,4,e,t)},useInsertionEffect:function(e,t){return Cl(4,2,e,t)},useMemo:function(e,t){var n=Rt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Rt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Cf.bind(null,Ne,e),[r.memoizedState,e]},useRef:function(e){var t=Rt();return e={current:e},t.memoizedState=e},useState:du,useDebugValue:Ea,useDeferredValue:function(e){return Rt().memoizedState=e},useTransition:function(){var e=du(!1),t=e[0];return e=jf.bind(null,e[1]),Rt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Ne,l=Rt();if(we){if(n===void 0)throw Error(o(407));n=n()}else{if(n=t(),Oe===null)throw Error(o(349));(mn&30)!==0||au(r,t,n)}l.memoizedState=n;var a={value:n,getSnapshot:t};return l.queue=a,pu(su.bind(null,r,a,e),[e]),r.flags|=2048,_r(9,ou.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=Rt(),t=Oe.identifierPrefix;if(we){var n=Mt,r=zt;n=(r&~(1<<32-vt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=jr++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=c.createElement(n,{is:r.is}):(e=c.createElement(n),n==="select"&&(c=e,r.multiple?c.multiple=!0:r.size&&(c.size=r.size))):e=c.createElementNS(e,n),e[Ct]=t,e[yr]=r,Hu(e,t,!1,!1),t.stateNode=e;e:{switch(c=vi(n,r),n){case"dialog":ge("cancel",e),ge("close",e),l=r;break;case"iframe":case"object":case"embed":ge("load",e),l=r;break;case"video":case"audio":for(l=0;lHn&&(t.flags|=128,r=!0,Rr(a,!1),t.lanes=4194304)}else{if(!r)if(e=Nl(c),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Rr(a,!0),a.tail===null&&a.tailMode==="hidden"&&!c.alternate&&!we)return Be(t),null}else 2*_e()-a.renderingStartTime>Hn&&n!==1073741824&&(t.flags|=128,r=!0,Rr(a,!1),t.lanes=4194304);a.isBackwards?(c.sibling=t.child,t.child=c):(n=a.last,n!==null?n.sibling=c:t.child=c,a.last=c)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=_e(),t.sibling=null,n=ke.current,me(ke,r?n&1|2:n&1),t):(Be(t),null);case 22:case 23:return Ya(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(t.mode&1)!==0?(lt&1073741824)!==0&&(Be(t),t.subtreeFlags&6&&(t.flags|=8192)):Be(t),null;case 24:return null;case 25:return null}throw Error(o(156,t.tag))}function If(e,t){switch(ra(t),t.tag){case 1:return Xe(t.type)&&fl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return An(),ye(Ye),ye(Ae),va(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return ma(t),null;case 13:if(ye(ke),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(o(340));In()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ye(ke),null;case 4:return An(),null;case 10:return ua(t.type._context),null;case 22:case 23:return Ya(),null;case 24:return null;default:return null}}var Dl=!1,Ve=!1,Ff=typeof WeakSet=="function"?WeakSet:Set,b=null;function Bn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ee(e,t,r)}else n.current=null}function Ia(e,t,n){try{n()}catch(r){Ee(e,t,r)}}var Ku=!1;function $f(e,t){if(Yi=qr,e=js(),Ai(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch{n=null;break e}var c=0,p=-1,h=-1,C=0,M=0,O=e,T=null;t:for(;;){for(var A;O!==n||l!==0&&O.nodeType!==3||(p=c+l),O!==a||r!==0&&O.nodeType!==3||(h=c+r),O.nodeType===3&&(c+=O.nodeValue.length),(A=O.firstChild)!==null;)T=O,O=A;for(;;){if(O===e)break t;if(T===n&&++C===l&&(p=c),T===a&&++M===r&&(h=c),(A=O.nextSibling)!==null)break;O=T,T=O.parentNode}O=A}n=p===-1||h===-1?null:{start:p,end:h}}else n=null}n=n||{start:0,end:0}}else n=null;for(Xi={focusedElem:e,selectionRange:n},qr=!1,b=t;b!==null;)if(t=b,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,b=e;else for(;b!==null;){t=b;try{var V=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(V!==null){var H=V.memoizedProps,Re=V.memoizedState,E=t.stateNode,g=E.getSnapshotBeforeUpdate(t.elementType===t.type?H:xt(t.type,H),Re);E.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var j=t.stateNode.containerInfo;j.nodeType===1?j.textContent="":j.nodeType===9&&j.documentElement&&j.removeChild(j.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(o(163))}}catch(F){Ee(t,t.return,F)}if(e=t.sibling,e!==null){e.return=t.return,b=e;break}b=t.return}return V=Ku,Ku=!1,V}function Pr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var a=l.destroy;l.destroy=void 0,a!==void 0&&Ia(t,n,a)}l=l.next}while(l!==r)}}function zl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Fa(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Yu(e){var t=e.alternate;t!==null&&(e.alternate=null,Yu(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ct],delete t[yr],delete t[Zi],delete t[wf],delete t[Sf])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Xu(e){return e.tag===5||e.tag===3||e.tag===4}function Ju(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Xu(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function $a(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=cl));else if(r!==4&&(e=e.child,e!==null))for($a(e,t,n),e=e.sibling;e!==null;)$a(e,t,n),e=e.sibling}function Ua(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Ua(e,t,n),e=e.sibling;e!==null;)Ua(e,t,n),e=e.sibling}var $e=null,wt=!1;function qt(e,t,n){for(n=n.child;n!==null;)Gu(e,t,n),n=n.sibling}function Gu(e,t,n){if(jt&&typeof jt.onCommitFiberUnmount=="function")try{jt.onCommitFiberUnmount(Qr,n)}catch{}switch(n.tag){case 5:Ve||Bn(n,t);case 6:var r=$e,l=wt;$e=null,qt(e,t,n),$e=r,wt=l,$e!==null&&(wt?(e=$e,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):$e.removeChild(n.stateNode));break;case 18:$e!==null&&(wt?(e=$e,n=n.stateNode,e.nodeType===8?qi(e.parentNode,n):e.nodeType===1&&qi(e,n),or(e)):qi($e,n.stateNode));break;case 4:r=$e,l=wt,$e=n.stateNode.containerInfo,wt=!0,qt(e,t,n),$e=r,wt=l;break;case 0:case 11:case 14:case 15:if(!Ve&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var a=l,c=a.destroy;a=a.tag,c!==void 0&&((a&2)!==0||(a&4)!==0)&&Ia(n,t,c),l=l.next}while(l!==r)}qt(e,t,n);break;case 1:if(!Ve&&(Bn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(p){Ee(n,t,p)}qt(e,t,n);break;case 21:qt(e,t,n);break;case 22:n.mode&1?(Ve=(r=Ve)||n.memoizedState!==null,qt(e,t,n),Ve=r):qt(e,t,n);break;default:qt(e,t,n)}}function qu(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Ff),t.forEach(function(r){var l=Kf.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function St(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=c),r&=~a}if(r=l,r=_e()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Af(r/1960))-r,10e?16:e,en===null)var r=!1;else{if(e=en,en=null,$l=0,(ie&6)!==0)throw Error(o(331));var l=ie;for(ie|=4,b=e.current;b!==null;){var a=b,c=a.child;if((b.flags&16)!==0){var p=a.deletions;if(p!==null){for(var h=0;h_e()-Ba?gn(e,0):ba|=n),qe(e,t)}function dc(e,t){t===0&&((e.mode&1)===0?t=1:(t=Yr,Yr<<=1,(Yr&130023424)===0&&(Yr=4194304)));var n=Qe();e=Ot(e,t),e!==null&&(nr(e,t,n),qe(e,n))}function Qf(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),dc(e,n)}function Kf(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(o(314))}r!==null&&r.delete(t),dc(e,n)}var fc;fc=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ye.current)Je=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return Je=!1,Mf(e,t,n);Je=(e.flags&131072)!==0}else Je=!1,we&&(t.flags&1048576)!==0&&Ws(t,vl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Tl(e,t),e=t.pendingProps;var l=zn(t,Ae.current);Un(t,n),l=xa(null,t,r,e,l,n);var a=wa();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Xe(r)?(a=!0,pl(t)):a=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,fa(t),l.updater=Pl,t.stateNode=l,l._reactInternals=t,Ca(t,r,e,n),t=La(null,t,r,!0,a,n)):(t.tag=0,we&&a&&na(t),We(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Tl(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=Xf(r),e=xt(r,e),l){case 0:t=Pa(null,t,r,e,n);break e;case 1:t=$u(null,t,r,e,n);break e;case 11:t=zu(null,t,r,e,n);break e;case 14:t=Mu(null,t,r,xt(r.type,e),n);break e}throw Error(o(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:xt(r,l),Pa(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:xt(r,l),$u(e,t,r,l,n);case 3:e:{if(Uu(t),e===null)throw Error(o(387));r=t.pendingProps,a=t.memoizedState,l=a.element,eu(e,t),kl(t,r,null,n);var c=t.memoizedState;if(r=c.element,a.isDehydrated)if(a={element:r,isDehydrated:!1,cache:c.cache,pendingSuspenseBoundaries:c.pendingSuspenseBoundaries,transitions:c.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){l=bn(Error(o(423)),t),t=Au(e,t,r,n,l);break e}else if(r!==l){l=bn(Error(o(424)),t),t=Au(e,t,r,n,l);break e}else for(rt=Qt(t.stateNode.containerInfo.firstChild),nt=t,we=!0,yt=null,n=qs(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(In(),r===l){t=Ft(e,t,n);break e}We(e,t,r,n)}t=t.child}return t;case 5:return ru(t),e===null&&ia(t),r=t.type,l=t.pendingProps,a=e!==null?e.memoizedProps:null,c=l.children,Ji(r,l)?c=null:a!==null&&Ji(r,a)&&(t.flags|=32),Fu(e,t),We(e,t,c,n),t.child;case 6:return e===null&&ia(t),null;case 13:return bu(e,t,n);case 4:return pa(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Fn(t,null,r,n):We(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:xt(r,l),zu(e,t,r,l,n);case 7:return We(e,t,t.pendingProps,n),t.child;case 8:return We(e,t,t.pendingProps.children,n),t.child;case 12:return We(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,a=t.memoizedProps,c=l.value,me(xl,r._currentValue),r._currentValue=c,a!==null)if(gt(a.value,c)){if(a.children===l.children&&!Ye.current){t=Ft(e,t,n);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var p=a.dependencies;if(p!==null){c=a.child;for(var h=p.firstContext;h!==null;){if(h.context===r){if(a.tag===1){h=It(-1,n&-n),h.tag=2;var C=a.updateQueue;if(C!==null){C=C.shared;var M=C.pending;M===null?h.next=h:(h.next=M.next,M.next=h),C.pending=h}}a.lanes|=n,h=a.alternate,h!==null&&(h.lanes|=n),ca(a.return,n,t),p.lanes|=n;break}h=h.next}}else if(a.tag===10)c=a.type===t.type?null:a.child;else if(a.tag===18){if(c=a.return,c===null)throw Error(o(341));c.lanes|=n,p=c.alternate,p!==null&&(p.lanes|=n),ca(c,n,t),c=a.sibling}else c=a.child;if(c!==null)c.return=a;else for(c=a;c!==null;){if(c===t){c=null;break}if(a=c.sibling,a!==null){a.return=c.return,c=a;break}c=c.return}a=c}We(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,Un(t,n),l=ut(l),r=r(l),t.flags|=1,We(e,t,r,n),t.child;case 14:return r=t.type,l=xt(r,t.pendingProps),l=xt(r.type,l),Mu(e,t,r,l,n);case 15:return Ou(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:xt(r,l),Tl(e,t),t.tag=1,Xe(r)?(e=!0,pl(t)):e=!1,Un(t,n),Cu(t,r,l),Ca(t,r,l,n),La(null,t,r,!0,e,n);case 19:return Vu(e,t,n);case 22:return Iu(e,t,n)}throw Error(o(156,t.tag))};function pc(e,t){return Qo(e,t)}function Yf(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ft(e,t,n,r){return new Yf(e,t,n,r)}function Ja(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Xf(e){if(typeof e=="function")return Ja(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ke)return 11;if(e===Z)return 14}return 2}function rn(e,t){var n=e.alternate;return n===null?(n=ft(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Bl(e,t,n,r,l,a){var c=2;if(r=e,typeof e=="function")Ja(e)&&(c=1);else if(typeof e=="string")c=5;else e:switch(e){case fe:return xn(n.children,l,a,t);case Ce:c=8,l|=8;break;case De:return e=ft(12,n,t,l|2),e.elementType=De,e.lanes=a,e;case ze:return e=ft(13,n,t,l),e.elementType=ze,e.lanes=a,e;case K:return e=ft(19,n,t,l),e.elementType=K,e.lanes=a,e;case ve:return Vl(n,l,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case He:c=10;break e;case ht:c=9;break e;case Ke:c=11;break e;case Z:c=14;break e;case he:c=16,r=null;break e}throw Error(o(130,e==null?e:typeof e,""))}return t=ft(c,n,t,l),t.elementType=e,t.type=r,t.lanes=a,t}function xn(e,t,n,r){return e=ft(7,e,r,t),e.lanes=n,e}function Vl(e,t,n,r){return e=ft(22,e,r,t),e.elementType=ve,e.lanes=n,e.stateNode={isHidden:!1},e}function Ga(e,t,n){return e=ft(6,e,null,t),e.lanes=n,e}function qa(e,t,n){return t=ft(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Jf(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ji(0),this.expirationTimes=ji(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ji(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Za(e,t,n,r,l,a,c,p,h){return e=new Jf(e,t,n,p,h),t===1?(t=1,a===!0&&(t|=8)):t=0,a=ft(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},fa(a),e}function Gf(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(u){console.error(u)}}return i(),io.exports=up(),io.exports}var _c;function dp(){if(_c)return Jl;_c=1;var i=cp();return Jl.createRoot=i.createRoot,Jl.hydrateRoot=i.hydrateRoot,Jl}var fp=dp();const pp=Fc(fp);/** * react-router v7.18.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 vo=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,$c=/^[\\/]{2}/;function mp(i,u){return u+i.replace(/\\/g,"/")}var Rc="popstate";function Pc(i){return typeof i=="object"&&i!=null&&"pathname"in i&&"search"in i&&"hash"in i&&"state"in i&&"key"in i}function hp(i={}){function u(d,f){var k;let m=(k=f.state)==null?void 0:k.masked,{pathname:v,search:N,hash:w}=m||d.location;return fo("",{pathname:v,search:N,hash:w},f.state&&f.state.usr||null,f.state&&f.state.key||"default",m?{pathname:d.location.pathname,search:d.location.search,hash:d.location.hash}:void 0)}function o(d,f){return typeof f=="string"?f:Fr(f)}return gp(u,o,null,i)}function Se(i,u){if(i===!1||i===null||typeof i>"u")throw new Error(u)}function pt(i,u){if(!i){typeof console<"u"&&console.warn(u);try{throw new Error(u)}catch{}}}function vp(){return Math.random().toString(36).substring(2,10)}function Lc(i,u){return{usr:i.state,key:i.key,idx:u,masked:i.mask?{pathname:i.pathname,search:i.search,hash:i.hash}:void 0}}function fo(i,u,o=null,d,f){return{pathname:typeof i=="string"?i:i.pathname,search:"",hash:"",...typeof u=="string"?Qn(u):u,state:o,key:u&&u.key||d||vp(),mask:f}}function Fr({pathname:i="/",search:u="",hash:o=""}){return u&&u!=="?"&&(i+=u.charAt(0)==="?"?u:"?"+u),o&&o!=="#"&&(i+=o.charAt(0)==="#"?o:"#"+o),i}function Qn(i){let u={};if(i){let o=i.indexOf("#");o>=0&&(u.hash=i.substring(o),i=i.substring(0,o));let d=i.indexOf("?");d>=0&&(u.search=i.substring(d),i=i.substring(0,d)),i&&(u.pathname=i)}return u}function gp(i,u,o,d={}){let{window:f=document.defaultView,v5Compat:m=!1}=d,v=f.history,N="POP",w=null,k=L();k==null&&(k=0,v.replaceState({...v.state,idx:k},""));function L(){return(v.state||{idx:null}).idx}function x(){N="POP";let D=L(),R=D==null?null:D-k;k=D,w&&w({action:N,location:I.location,delta:R})}function P(D,R){N="PUSH";let W=Pc(D)?D:fo(I.location,D,R);k=L()+1;let X=Lc(W,k),re=I.createHref(W.mask||W);try{v.pushState(X,"",re)}catch(le){if(le instanceof DOMException&&le.name==="DataCloneError")throw le;f.location.assign(re)}m&&w&&w({action:N,location:I.location,delta:1})}function $(D,R){N="REPLACE";let W=Pc(D)?D:fo(I.location,D,R);k=L();let X=Lc(W,k),re=I.createHref(W.mask||W);v.replaceState(X,"",re),m&&w&&w({action:N,location:I.location,delta:0})}function _(D){return yp(f,D)}let I={get action(){return N},get location(){return i(f,v)},listen(D){if(w)throw new Error("A history only accepts one active listener");return f.addEventListener(Rc,x),w=D,()=>{f.removeEventListener(Rc,x),w=null}},createHref(D){return u(f,D)},createURL:_,encodeLocation(D){let R=_(D);return{pathname:R.pathname,search:R.search,hash:R.hash}},push:P,replace:$,go(D){return v.go(D)}};return I}function yp(i,u,o=!1){let d="http://localhost";i&&(d=i.location.origin!=="null"?i.location.origin:i.location.href),Se(d,"No window.location.(origin|href) available to create URL");let f=typeof u=="string"?u:Fr(u);return f=f.replace(/ $/,"%20"),!o&&$c.test(f)&&(f=d+f),new URL(f,d)}function Uc(i,u,o="/"){return xp(i,u,o,!1)}function xp(i,u,o,d,f){let m=typeof u=="string"?Qn(u):u,v=Ut(m.pathname||"/",o);if(v==null)return null;let N=wp(i),w=null,k=Tp(v);for(let L=0;w==null&&L{let L={relativePath:k===void 0?v.path||"":k,caseSensitive:v.caseSensitive===!0,childrenIndex:N,route:v};if(L.relativePath.startsWith("/")){if(!L.relativePath.startsWith(d)&&w)return;Se(L.relativePath.startsWith(d),`Absolute route path "${L.relativePath}" nested under path "${d}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),L.relativePath=L.relativePath.slice(d.length)}let x=Nt([d,L.relativePath]),P=o.concat(L);v.children&&v.children.length>0&&(Se(v.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${x}".`),Ac(v.children,u,P,x,w)),!(v.path==null&&!v.index)&&u.push({path:x,score:Rp(x,v.index),routesMeta:P.map(($,_)=>{let[I,D]=Vc($.relativePath,$.caseSensitive,_===P.length-1);return{...$,matcher:I,compiledParams:D}})})};return i.forEach((v,N)=>{var w;if(v.path===""||!((w=v.path)!=null&&w.includes("?")))m(v,N);else for(let k of bc(v.path))m(v,N,!0,k)}),u}function bc(i){let u=i.split("/");if(u.length===0)return[];let[o,...d]=u,f=o.endsWith("?"),m=o.replace(/\?$/,"");if(d.length===0)return f?[m,""]:[m];let v=bc(d.join("/")),N=[];return N.push(...v.map(w=>w===""?m:[m,w].join("/"))),f&&N.push(...v),N.map(w=>i.startsWith("/")&&w===""?"/":w)}function Sp(i){i.sort((u,o)=>u.score!==o.score?o.score-u.score:Pp(u.routesMeta.map(d=>d.childrenIndex),o.routesMeta.map(d=>d.childrenIndex)))}var kp=/^:[\w-]+$/,Np=3,Ep=2,jp=1,Cp=10,_p=-2,Tc=i=>i==="*";function Rp(i,u){let o=i.split("/"),d=o.length;return o.some(Tc)&&(d+=_p),u&&(d+=Ep),o.filter(f=>!Tc(f)).reduce((f,m)=>f+(kp.test(m)?Np:m===""?jp:Cp),d)}function Pp(i,u){return i.length===u.length&&i.slice(0,-1).every((d,f)=>d===u[f])?i[i.length-1]-u[u.length-1]:0}function Lp(i,u,o=!1){let{routesMeta:d}=i,f={},m="/",v=[];for(let N=0;N{if(L==="*"){let _=N[P]||"";v=m.slice(0,m.length-_.length).replace(/(.)\/+$/,"$1")}const $=N[P];return x&&!$?k[L]=void 0:k[L]=($||"").replace(/%2F/g,"/"),k},{}),pathname:m,pathnameBase:v,pattern:i}}function Vc(i,u=!1,o=!0){pt(i==="*"||!i.endsWith("*")||i.endsWith("/*"),`Route path "${i}" will be treated as if it were "${i.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${i.replace(/\*$/,"/*")}".`);let d=[],f="^"+i.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(v,N,w,k,L)=>{if(d.push({paramName:N,isOptional:w!=null}),w){let x=L.charAt(k+v.length);return x&&x!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return i.endsWith("*")?(d.push({paramName:"*"}),f+=i==="*"||i==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):o?f+="\\/*$":i!==""&&i!=="/"&&(f+="(?:(?=\\/|$))"),[new RegExp(f,u?void 0:"i"),d]}function Tp(i){try{return i.split("/").map(u=>decodeURIComponent(u).replace(/\//g,"%2F")).join("/")}catch(u){return pt(!1,`The URL path "${i}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${u}).`),i}}function Ut(i,u){if(u==="/")return i;if(!i.toLowerCase().startsWith(u.toLowerCase()))return null;let o=u.endsWith("/")?u.length-1:u.length,d=i.charAt(o);return d&&d!=="/"?null:i.slice(o)||"/"}function Dp(i,u="/"){let{pathname:o,search:d="",hash:f=""}=typeof i=="string"?Qn(i):i,m;return o?(o=Hc(o),o.startsWith("/")?m=Dc(o.substring(1),"/"):m=Dc(o,u)):m=u,{pathname:m,search:Op(d),hash:Ip(f)}}function Dc(i,u){let o=ni(u).split("/");return i.split("/").forEach(f=>{f===".."?o.length>1&&o.pop():f!=="."&&o.push(f)}),o.length>1?o.join("/"):"/"}function so(i,u,o,d){return`Cannot include a '${i}' character in a manually specified \`to.${u}\` field [${JSON.stringify(d)}]. Please separate it out to the \`to.${o}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function zp(i){return i.filter((u,o)=>o===0||u.route.path&&u.route.path.length>0)}function go(i){let u=zp(i);return u.map((o,d)=>d===u.length-1?o.pathname:o.pathnameBase)}function li(i,u,o,d=!1){let f;typeof i=="string"?f=Qn(i):(f={...i},Se(!f.pathname||!f.pathname.includes("?"),so("?","pathname","search",f)),Se(!f.pathname||!f.pathname.includes("#"),so("#","pathname","hash",f)),Se(!f.search||!f.search.includes("#"),so("#","search","hash",f)));let m=i===""||f.pathname==="",v=m?"/":f.pathname,N;if(v==null)N=o;else{let x=u.length-1;if(!d&&v.startsWith("..")){let P=v.split("/");for(;P[0]==="..";)P.shift(),x-=1;f.pathname=P.join("/")}N=x>=0?u[x]:"/"}let w=Dp(f,N),k=v&&v!=="/"&&v.endsWith("/"),L=(m||v===".")&&o.endsWith("/");return!w.pathname.endsWith("/")&&(k||L)&&(w.pathname+="/"),w}var Hc=i=>i.replace(/[\\/]{2,}/g,"/"),Nt=i=>Hc(i.join("/")),ni=i=>i.replace(/\/+$/,""),Mp=i=>ni(i).replace(/^\/*/,"/"),Op=i=>!i||i==="?"?"":i.startsWith("?")?i:"?"+i,Ip=i=>!i||i==="#"?"":i.startsWith("#")?i:"#"+i,Fp=class{constructor(i,u,o,d=!1){this.status=i,this.statusText=u||"",this.internal=d,o instanceof Error?(this.data=o.toString(),this.error=o):this.data=o}};function $p(i){return i!=null&&typeof i.status=="number"&&typeof i.statusText=="string"&&typeof i.internal=="boolean"&&"data"in i}function Up(i){let u=i.map(o=>o.route.path).filter(Boolean);return Nt(u)||"/"}var Wc=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Qc(i,u){let o=i;if(typeof o!="string"||!vo.test(o))return{absoluteURL:void 0,isExternal:!1,to:o};let d=o,f=!1;if(Wc)try{let m=new URL(window.location.href),v=$c.test(o)?new URL(mp(o,m.protocol)):new URL(o),N=Ut(v.pathname,u);v.origin===m.origin&&N!=null?o=N+v.search+v.hash:f=!0}catch{pt(!1,` contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:d,isExternal:f,to:o}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Kc=["POST","PUT","PATCH","DELETE"];new Set(Kc);var Ap=["GET",...Kc];new Set(Ap);var bp=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function Bp(i){try{return bp.includes(new URL(i).protocol)}catch{return!1}}var Kn=y.createContext(null);Kn.displayName="DataRouter";var ii=y.createContext(null);ii.displayName="DataRouterState";var Yc=y.createContext(!1);function Vp(){return y.useContext(Yc)}var Xc=y.createContext({isTransitioning:!1});Xc.displayName="ViewTransition";var Hp=y.createContext(new Map);Hp.displayName="Fetchers";var Wp=y.createContext(null);Wp.displayName="Await";var at=y.createContext(null);at.displayName="Navigation";var $r=y.createContext(null);$r.displayName="Location";var Et=y.createContext({outlet:null,matches:[],isDataRoute:!1});Et.displayName="Route";var yo=y.createContext(null);yo.displayName="RouteError";var Jc="REACT_ROUTER_ERROR",Qp="REDIRECT",Kp="ROUTE_ERROR_RESPONSE";function Yp(i){if(i.startsWith(`${Jc}:${Qp}:{`))try{let u=JSON.parse(i.slice(28));if(typeof u=="object"&&u&&typeof u.status=="number"&&typeof u.statusText=="string"&&typeof u.location=="string"&&typeof u.reloadDocument=="boolean"&&typeof u.replace=="boolean")return u}catch{}}function Xp(i){if(i.startsWith(`${Jc}:${Kp}:{`))try{let u=JSON.parse(i.slice(40));if(typeof u=="object"&&u&&typeof u.status=="number"&&typeof u.statusText=="string")return new Fp(u.status,u.statusText,u.data)}catch{}}function Jp(i,{relative:u}={}){Se(Yn(),"useHref() may be used only in the context of a component.");let{basename:o,navigator:d}=y.useContext(at),{hash:f,pathname:m,search:v}=Ur(i,{relative:u}),N=m;return o!=="/"&&(N=m==="/"?o:Nt([o,m])),d.createHref({pathname:N,search:v,hash:f})}function Yn(){return y.useContext($r)!=null}function mt(){return Se(Yn(),"useLocation() may be used only in the context of a component."),y.useContext($r).location}var Gc="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function qc(i){y.useContext(at).static||y.useLayoutEffect(i)}function an(){let{isDataRoute:i}=y.useContext(Et);return i?um():Gp()}function Gp(){Se(Yn(),"useNavigate() may be used only in the context of a component.");let i=y.useContext(Kn),{basename:u,navigator:o}=y.useContext(at),{matches:d}=y.useContext(Et),{pathname:f}=mt(),m=JSON.stringify(go(d)),v=y.useRef(!1);return qc(()=>{v.current=!0}),y.useCallback((w,k={})=>{if(pt(v.current,Gc),!v.current)return;if(typeof w=="number"){o.go(w);return}let L=li(w,JSON.parse(m),f,k.relative==="path");i==null&&u!=="/"&&(L.pathname=L.pathname==="/"?u:Nt([u,L.pathname])),(k.replace?o.replace:o.push)(L,k.state,k)},[u,o,m,f,i])}y.createContext(null);function Zc(){let{matches:i}=y.useContext(Et),u=i[i.length-1];return(u==null?void 0:u.params)??{}}function Ur(i,{relative:u}={}){let{matches:o}=y.useContext(Et),{pathname:d}=mt(),f=JSON.stringify(go(o));return y.useMemo(()=>li(i,JSON.parse(f),d,u==="path"),[i,f,d,u])}function qp(i,u){return ed(i,u)}function ed(i,u,o){var D;Se(Yn(),"useRoutes() may be used only in the context of a component.");let{navigator:d}=y.useContext(at),{matches:f}=y.useContext(Et),m=f[f.length-1],v=m?m.params:{},N=m?m.pathname:"/",w=m?m.pathnameBase:"/",k=m&&m.route;{let R=k&&k.path||"";nd(N,!k||R.endsWith("*")||R.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${N}" (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 L=mt(),x;if(u){let R=typeof u=="string"?Qn(u):u;Se(w==="/"||((D=R.pathname)==null?void 0:D.startsWith(w)),`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 "${w}" but pathname "${R.pathname}" was given in the \`location\` prop.`),x=R}else x=L;let P=x.pathname||"/",$=P;if(w!=="/"){let R=w.replace(/^\//,"").split("/");$="/"+P.replace(/^\//,"").split("/").slice(R.length).join("/")}let _=o&&o.state.matches.length?o.state.matches.map(R=>Object.assign(R,{route:o.manifest[R.route.id]||R.route})):Uc(i,{pathname:$});pt(k||_!=null,`No routes matched location "${x.pathname}${x.search}${x.hash}" `),pt(_==null||_[_.length-1].route.element!==void 0||_[_.length-1].route.Component!==void 0||_[_.length-1].route.lazy!==void 0,`Matched leaf route at location "${x.pathname}${x.search}${x.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 I=rm(_&&_.map(R=>Object.assign({},R,{params:Object.assign({},v,R.params),pathname:Nt([w,d.encodeLocation?d.encodeLocation(R.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:R.pathname]),pathnameBase:R.pathnameBase==="/"?w:Nt([w,d.encodeLocation?d.encodeLocation(R.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:R.pathnameBase])})),f,o);return u&&I?y.createElement($r.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...x},navigationType:"POP"}},I):I}function Zp(){let i=sm(),u=$p(i)?`${i.status} ${i.statusText}`:i instanceof Error?i.message:JSON.stringify(i),o=i instanceof Error?i.stack:null,d="rgba(200,200,200, 0.5)",f={padding:"0.5rem",backgroundColor:d},m={padding:"2px 4px",backgroundColor:d},v=null;return console.error("Error handled by React Router default ErrorBoundary:",i),v=y.createElement(y.Fragment,null,y.createElement("p",null,"💿 Hey developer 👋"),y.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",y.createElement("code",{style:m},"ErrorBoundary")," or"," ",y.createElement("code",{style:m},"errorElement")," prop on your route.")),y.createElement(y.Fragment,null,y.createElement("h2",null,"Unexpected Application Error!"),y.createElement("h3",{style:{fontStyle:"italic"}},u),o?y.createElement("pre",{style:f},o):null,v)}var em=y.createElement(Zp,null),td=class extends y.Component{constructor(i){super(i),this.state={location:i.location,revalidation:i.revalidation,error:i.error}}static getDerivedStateFromError(i){return{error:i}}static getDerivedStateFromProps(i,u){return u.location!==i.location||u.revalidation!=="idle"&&i.revalidation==="idle"?{error:i.error,location:i.location,revalidation:i.revalidation}:{error:i.error!==void 0?i.error:u.error,location:u.location,revalidation:i.revalidation||u.revalidation}}componentDidCatch(i,u){this.props.onError?this.props.onError(i,u):console.error("React Router caught the following error during render",i)}render(){let i=this.state.error;if(this.context&&typeof i=="object"&&i&&"digest"in i&&typeof i.digest=="string"){const o=Xp(i.digest);o&&(i=o)}let u=i!==void 0?y.createElement(Et.Provider,{value:this.props.routeContext},y.createElement(yo.Provider,{value:i,children:this.props.component})):this.props.children;return this.context?y.createElement(tm,{error:i},u):u}};td.contextType=Yc;var uo=new WeakMap;function tm({children:i,error:u}){let{basename:o}=y.useContext(at);if(typeof u=="object"&&u&&"digest"in u&&typeof u.digest=="string"){let d=Yp(u.digest);if(d){let f=uo.get(u);if(f)throw f;let m=Qc(d.location,o),v=m.absoluteURL||m.to;if(Bp(v))throw new Error("Invalid redirect location");if(Wc&&!uo.get(u))if(m.isExternal||d.reloadDocument)window.location.href=v;else{const N=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(m.to,{replace:d.replace}));throw uo.set(u,N),N}return y.createElement("meta",{httpEquiv:"refresh",content:`0;url=${v}`})}}return i}function nm({routeContext:i,match:u,children:o}){let d=y.useContext(Kn);return d&&d.static&&d.staticContext&&(u.route.errorElement||u.route.ErrorBoundary)&&(d.staticContext._deepestRenderedBoundaryId=u.route.id),y.createElement(Et.Provider,{value:i},o)}function rm(i,u=[],o){let d=o==null?void 0:o.state;if(i==null){if(!d)return null;if(d.errors)i=d.matches;else if(u.length===0&&!d.initialized&&d.matches.length>0)i=d.matches;else return null}let f=i,m=d==null?void 0:d.errors;if(m!=null){let L=f.findIndex(x=>x.route.id&&(m==null?void 0:m[x.route.id])!==void 0);Se(L>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(m).join(",")}`),f=f.slice(0,Math.min(f.length,L+1))}let v=!1,N=-1;if(o&&d){v=d.renderFallback;for(let L=0;L=0?f=f.slice(0,N+1):f=[f[0]];break}}}}let w=o==null?void 0:o.onError,k=d&&w?(L,x)=>{var P,$;w(L,{location:d.location,params:(($=(P=d.matches)==null?void 0:P[0])==null?void 0:$.params)??{},pattern:Up(d.matches),errorInfo:x})}:void 0;return f.reduceRight((L,x,P)=>{let $,_=!1,I=null,D=null;d&&($=m&&x.route.id?m[x.route.id]:void 0,I=x.route.errorElement||em,v&&(N<0&&P===0?(nd("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),_=!0,D=null):N===P&&(_=!0,D=x.route.hydrateFallbackElement||null)));let R=u.concat(f.slice(0,P+1)),W=()=>{let X;return $?X=I:_?X=D:x.route.Component?X=y.createElement(x.route.Component,null):x.route.element?X=x.route.element:X=L,y.createElement(nm,{match:x,routeContext:{outlet:L,matches:R,isDataRoute:d!=null},children:X})};return d&&(x.route.ErrorBoundary||x.route.errorElement||P===0)?y.createElement(td,{location:d.location,revalidation:d.revalidation,component:I,error:$,children:W(),routeContext:{outlet:null,matches:R,isDataRoute:!0},onError:k}):W()},null)}function xo(i){return`${i} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function lm(i){let u=y.useContext(Kn);return Se(u,xo(i)),u}function im(i){let u=y.useContext(ii);return Se(u,xo(i)),u}function am(i){let u=y.useContext(Et);return Se(u,xo(i)),u}function wo(i){let u=am(i),o=u.matches[u.matches.length-1];return Se(o.route.id,`${i} can only be used on routes that contain a unique "id"`),o.route.id}function om(){return wo("useRouteId")}function sm(){var d;let i=y.useContext(yo),u=im("useRouteError"),o=wo("useRouteError");return i!==void 0?i:(d=u.errors)==null?void 0:d[o]}function um(){let{router:i}=lm("useNavigate"),u=wo("useNavigate"),o=y.useRef(!1);return qc(()=>{o.current=!0}),y.useCallback(async(f,m={})=>{pt(o.current,Gc),o.current&&(typeof f=="number"?await i.navigate(f):await i.navigate(f,{fromRouteId:u,...m}))},[i,u])}var zc={};function nd(i,u,o){!u&&!zc[i]&&(zc[i]=!0,pt(!1,o))}y.memo(cm);function cm({routes:i,manifest:u,future:o,state:d,isStatic:f,onError:m}){return ed(i,void 0,{manifest:u,state:d,isStatic:f,onError:m})}function dm({to:i,replace:u,state:o,relative:d}){Se(Yn()," may be used only in the context of a component.");let{static:f}=y.useContext(at);pt(!f," 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:m}=y.useContext(Et),{pathname:v}=mt(),N=an(),w=li(i,go(m),v,d==="path"),k=JSON.stringify(w);return y.useEffect(()=>{N(JSON.parse(k),{replace:u,state:o,relative:d})},[N,k,d,u,o]),null}function Lt(i){Se(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function fm({basename:i="/",children:u=null,location:o,navigationType:d="POP",navigator:f,static:m=!1,useTransitions:v}){Se(!Yn(),"You cannot render a inside another . You should never have more than one in your app.");let N=i.replace(/^\/*/,"/"),w=y.useMemo(()=>({basename:N,navigator:f,static:m,useTransitions:v,future:{}}),[N,f,m,v]);typeof o=="string"&&(o=Qn(o));let{pathname:k="/",search:L="",hash:x="",state:P=null,key:$="default",mask:_}=o,I=y.useMemo(()=>{let D=Ut(k,N);return D==null?null:{location:{pathname:D,search:L,hash:x,state:P,key:$,mask:_},navigationType:d}},[N,k,L,x,P,$,d,_]);return pt(I!=null,` is not able to match the URL "${k}${L}${x}" because it does not start with the basename, so the won't render anything.`),I==null?null:y.createElement(at.Provider,{value:w},y.createElement($r.Provider,{children:u,value:I}))}function Mc({children:i,location:u}){return qp(po(i),u)}function po(i,u=[]){let o=[];return y.Children.forEach(i,(d,f)=>{if(!y.isValidElement(d))return;let m=[...u,f];if(d.type===y.Fragment){o.push.apply(o,po(d.props.children,m));return}Se(d.type===Lt,`[${typeof d.type=="string"?d.type:d.type.name}] is not a component. All component children of must be a or `),Se(!d.props.index||!d.props.children,"An index route cannot have child routes.");let v={id:d.props.id||m.join("-"),caseSensitive:d.props.caseSensitive,element:d.props.element,Component:d.props.Component,index:d.props.index,path:d.props.path,middleware:d.props.middleware,loader:d.props.loader,action:d.props.action,hydrateFallbackElement:d.props.hydrateFallbackElement,HydrateFallback:d.props.HydrateFallback,errorElement:d.props.errorElement,ErrorBoundary:d.props.ErrorBoundary,hasErrorBoundary:d.props.hasErrorBoundary===!0||d.props.ErrorBoundary!=null||d.props.errorElement!=null,shouldRevalidate:d.props.shouldRevalidate,handle:d.props.handle,lazy:d.props.lazy};d.props.children&&(v.children=po(d.props.children,m)),o.push(v)}),o}var Zl="get",ei="application/x-www-form-urlencoded";function ai(i){return typeof HTMLElement<"u"&&i instanceof HTMLElement}function pm(i){return ai(i)&&i.tagName.toLowerCase()==="button"}function mm(i){return ai(i)&&i.tagName.toLowerCase()==="form"}function hm(i){return ai(i)&&i.tagName.toLowerCase()==="input"}function vm(i){return!!(i.metaKey||i.altKey||i.ctrlKey||i.shiftKey)}function gm(i,u){return i.button===0&&(!u||u==="_self")&&!vm(i)}function mo(i=""){return new URLSearchParams(typeof i=="string"||Array.isArray(i)||i instanceof URLSearchParams?i:Object.keys(i).reduce((u,o)=>{let d=i[o];return u.concat(Array.isArray(d)?d.map(f=>[o,f]):[[o,d]])},[]))}function ym(i,u){let o=mo(i);return u&&u.forEach((d,f)=>{o.has(f)||u.getAll(f).forEach(m=>{o.append(f,m)})}),o}var Gl=null;function xm(){if(Gl===null)try{new FormData(document.createElement("form"),0),Gl=!1}catch{Gl=!0}return Gl}var wm=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function co(i){return i!=null&&!wm.has(i)?(pt(!1,`"${i}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${ei}"`),null):i}function Sm(i,u){let o,d,f,m,v;if(mm(i)){let N=i.getAttribute("action");d=N?Ut(N,u):null,o=i.getAttribute("method")||Zl,f=co(i.getAttribute("enctype"))||ei,m=new FormData(i)}else if(pm(i)||hm(i)&&(i.type==="submit"||i.type==="image")){let N=i.form;if(N==null)throw new Error('Cannot submit a