var fF=Object.defineProperty;var kS=t=>{throw TypeError(t)};var pF=(t,e,r)=>e in t?fF(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var Oe=(t,e,r)=>pF(t,typeof e!="symbol"?e+"":e,r),tv=(t,e,r)=>e.has(t)||kS("Cannot "+r);var S=(t,e,r)=>(tv(t,e,"read from private field"),r?r.call(t):e.get(t)),ke=(t,e,r)=>e.has(t)?kS("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r),ie=(t,e,r,n)=>(tv(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r),W=(t,e,r)=>(tv(t,e,"access private method"),r);var Hp=(t,e,r,n)=>({set _(i){ie(t,e,i,r)},get _(){return S(t,e,n)}});(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&n(s)}).observe(document,{childList:!0,subtree:!0});function r(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function n(i){if(i.ep)return;i.ep=!0;const o=r(i);fetch(i.href,o)}})();var C=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function hF(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function vy(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var r=function n(){return this instanceof n?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(n){var i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return t[n]}})}),r}var Bk={exports:{}},Ey={},Ik={exports:{}},Ce={};/** * @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 af=Symbol.for("react.element"),mF=Symbol.for("react.portal"),yF=Symbol.for("react.fragment"),gF=Symbol.for("react.strict_mode"),bF=Symbol.for("react.profiler"),vF=Symbol.for("react.provider"),EF=Symbol.for("react.context"),wF=Symbol.for("react.forward_ref"),xF=Symbol.for("react.suspense"),_F=Symbol.for("react.memo"),RF=Symbol.for("react.lazy"),PS=Symbol.iterator;function AF(t){return t===null||typeof t!="object"?null:(t=PS&&t[PS]||t["@@iterator"],typeof t=="function"?t:null)}var jk={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ok=Object.assign,Uk={};function Zl(t,e,r){this.props=t,this.context=e,this.refs=Uk,this.updater=r||jk}Zl.prototype.isReactComponent={};Zl.prototype.setState=function(t,e){if(typeof t!="object"&&typeof t!="function"&&t!=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,t,e,"setState")};Zl.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function $k(){}$k.prototype=Zl.prototype;function uw(t,e,r){this.props=t,this.context=e,this.refs=Uk,this.updater=r||jk}var dw=uw.prototype=new $k;dw.constructor=uw;Ok(dw,Zl.prototype);dw.isPureReactComponent=!0;var LS=Array.isArray,Vk=Object.prototype.hasOwnProperty,fw={current:null},Kk={key:!0,ref:!0,__self:!0,__source:!0};function Mk(t,e,r){var n,i={},o=null,s=null;if(e!=null)for(n in e.ref!==void 0&&(s=e.ref),e.key!==void 0&&(o=""+e.key),e)Vk.call(e,n)&&!Kk.hasOwnProperty(n)&&(i[n]=e[n]);var a=arguments.length-2;if(a===1)i.children=r;else if(1>>1,Fe=q[ue];if(0>>1;uei(Ni,de))zti(U,Ni)?(q[ue]=U,q[zt]=de,ue=zt):(q[ue]=Ni,q[qr]=de,ue=qr);else if(zti(U,de))q[ue]=U,q[zt]=de,ue=zt;else break e}}return oe}function i(q,oe){var de=q.sortIndex-oe.sortIndex;return de!==0?de:q.id-oe.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;t.unstable_now=function(){return o.now()}}else{var s=Date,a=s.now();t.unstable_now=function(){return s.now()-a}}var c=[],u=[],d=1,f=null,h=3,m=!1,g=!1,v=!1,w=typeof setTimeout=="function"?setTimeout:null,y=typeof clearTimeout=="function"?clearTimeout:null,b=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function E(q){for(var oe=r(u);oe!==null;){if(oe.callback===null)n(u);else if(oe.startTime<=q)n(u),oe.sortIndex=oe.expirationTime,e(c,oe);else break;oe=r(u)}}function _(q){if(v=!1,E(q),!g)if(r(c)!==null)g=!0,Ke(T);else{var oe=r(u);oe!==null&&Ar(_,oe.startTime-q)}}function T(q,oe){g=!1,v&&(v=!1,y(O),O=-1),m=!0;var de=h;try{for(E(oe),f=r(c);f!==null&&(!(f.expirationTime>oe)||q&&!ze());){var ue=f.callback;if(typeof ue=="function"){f.callback=null,h=f.priorityLevel;var Fe=ue(f.expirationTime<=oe);oe=t.unstable_now(),typeof Fe=="function"?f.callback=Fe:f===r(c)&&n(c),E(oe)}else n(c);f=r(c)}if(f!==null)var Bn=!0;else{var qr=r(u);qr!==null&&Ar(_,qr.startTime-oe),Bn=!1}return Bn}finally{f=null,h=de,m=!1}}var B=!1,I=null,O=-1,F=5,re=-1;function ze(){return!(t.unstable_now()-req||125ue?(q.sortIndex=de,e(u,q),r(c)===null&&q===r(u)&&(v?(y(O),O=-1):v=!0,Ar(_,de-ue))):(q.sortIndex=Fe,e(c,q),g||m||(g=!0,Ke(T))),q},t.unstable_shouldYield=ze,t.unstable_wrapCallback=function(q){var oe=h;return function(){var de=h;h=oe;try{return q.apply(this,arguments)}finally{h=de}}}})(Gk);qk.exports=Gk;var OF=qk.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 UF=k,en=OF;function $(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=1;r"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),R0=Object.prototype.hasOwnProperty,$F=/^[: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]*$/,BS={},IS={};function VF(t){return R0.call(IS,t)?!0:R0.call(BS,t)?!1:$F.test(t)?IS[t]=!0:(BS[t]=!0,!1)}function KF(t,e,r,n){if(r!==null&&r.type===0)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(t=t.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-");default:return!1}}function MF(t,e,r,n){if(e===null||typeof e>"u"||KF(t,e,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!e;case 4:return e===!1;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}function wr(t,e,r,n,i,o,s){this.acceptsBooleans=e===2||e===3||e===4,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=t,this.type=e,this.sanitizeURL=o,this.removeEmptyString=s}var Wt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){Wt[t]=new wr(t,0,!1,t,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var e=t[0];Wt[e]=new wr(e,1,!1,t[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(t){Wt[t]=new wr(t,2,!1,t.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){Wt[t]=new wr(t,2,!1,t,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(t){Wt[t]=new wr(t,3,!1,t.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(t){Wt[t]=new wr(t,3,!0,t,null,!1,!1)});["capture","download"].forEach(function(t){Wt[t]=new wr(t,4,!1,t,null,!1,!1)});["cols","rows","size","span"].forEach(function(t){Wt[t]=new wr(t,6,!1,t,null,!1,!1)});["rowSpan","start"].forEach(function(t){Wt[t]=new wr(t,5,!1,t.toLowerCase(),null,!1,!1)});var mw=/[\-:]([a-z])/g;function yw(t){return t[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(t){var e=t.replace(mw,yw);Wt[e]=new wr(e,1,!1,t,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var e=t.replace(mw,yw);Wt[e]=new wr(e,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(t){var e=t.replace(mw,yw);Wt[e]=new wr(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(t){Wt[t]=new wr(t,1,!1,t.toLowerCase(),null,!1,!1)});Wt.xlinkHref=new wr("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(t){Wt[t]=new wr(t,1,!1,t.toLowerCase(),null,!0,!0)});function gw(t,e,r,n){var i=Wt.hasOwnProperty(e)?Wt[e]:null;(i!==null?i.type!==0:n||!(2a||i[s]!==o[a]){var c=` `+i[s].replace(" at new "," at ");return t.displayName&&c.includes("")&&(c=c.replace("",t.displayName)),c}while(1<=s&&0<=a);break}}}finally{iv=!1,Error.prepareStackTrace=r}return(t=t?t.displayName||t.name:"")?Xu(t):""}function NF(t){switch(t.tag){case 5:return Xu(t.type);case 16:return Xu("Lazy");case 13:return Xu("Suspense");case 19:return Xu("SuspenseList");case 0:case 2:case 15:return t=ov(t.type,!1),t;case 11:return t=ov(t.type.render,!1),t;case 1:return t=ov(t.type,!0),t;default:return""}}function T0(t){if(t==null)return null;if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case cl:return"Fragment";case ll:return"Portal";case A0:return"Profiler";case bw:return"StrictMode";case S0:return"Suspense";case C0:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case Xk:return(t.displayName||"Context")+".Consumer";case Wk:return(t._context.displayName||"Context")+".Provider";case vw:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case Ew:return e=t.displayName||null,e!==null?e:T0(t.type)||"Memo";case Mo:e=t._payload,t=t._init;try{return T0(t(e))}catch{}}return null}function zF(t){var e=t.type;switch(t.tag){case 24:return"Cache";case 9:return(e.displayName||"Context")+".Consumer";case 10:return(e._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return t=e.render,t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return T0(e);case 8:return e===bw?"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 e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e}return null}function ls(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Zk(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function FF(t){var e=Zk(t)?"checked":"value",r=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),n=""+t[e];if(!t.hasOwnProperty(e)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var i=r.get,o=r.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return i.call(this)},set:function(s){n=""+s,o.call(this,s)}}),Object.defineProperty(t,e,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(s){n=""+s},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function Jp(t){t._valueTracker||(t._valueTracker=FF(t))}function Qk(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var r=e.getValue(),n="";return t&&(n=Zk(t)?t.checked?"true":"false":t.value),t=n,t!==r?(e.setValue(t),!0):!1}function mm(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function k0(t,e){var r=e.checked;return lt({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??t._wrapperState.initialChecked})}function OS(t,e){var r=e.defaultValue==null?"":e.defaultValue,n=e.checked!=null?e.checked:e.defaultChecked;r=ls(e.value!=null?e.value:r),t._wrapperState={initialChecked:n,initialValue:r,controlled:e.type==="checkbox"||e.type==="radio"?e.checked!=null:e.value!=null}}function Yk(t,e){e=e.checked,e!=null&&gw(t,"checked",e,!1)}function P0(t,e){Yk(t,e);var r=ls(e.value),n=e.type;if(r!=null)n==="number"?(r===0&&t.value===""||t.value!=r)&&(t.value=""+r):t.value!==""+r&&(t.value=""+r);else if(n==="submit"||n==="reset"){t.removeAttribute("value");return}e.hasOwnProperty("value")?L0(t,e.type,r):e.hasOwnProperty("defaultValue")&&L0(t,e.type,ls(e.defaultValue)),e.checked==null&&e.defaultChecked!=null&&(t.defaultChecked=!!e.defaultChecked)}function US(t,e,r){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var n=e.type;if(!(n!=="submit"&&n!=="reset"||e.value!==void 0&&e.value!==null))return;e=""+t._wrapperState.initialValue,r||e===t.value||(t.value=e),t.defaultValue=e}r=t.name,r!==""&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,r!==""&&(t.name=r)}function L0(t,e,r){(e!=="number"||mm(t.ownerDocument)!==t)&&(r==null?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+r&&(t.defaultValue=""+r))}var Ju=Array.isArray;function Rl(t,e,r,n){if(t=t.options,e){e={};for(var i=0;i"+e.valueOf().toString()+"",e=Zp.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}});function wd(t,e){if(e){var r=t.firstChild;if(r&&r===t.lastChild&&r.nodeType===3){r.nodeValue=e;return}}t.textContent=e}var rd={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},qF=["Webkit","ms","Moz","O"];Object.keys(rd).forEach(function(t){qF.forEach(function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),rd[e]=rd[t]})});function nP(t,e,r){return e==null||typeof e=="boolean"||e===""?"":r||typeof e!="number"||e===0||rd.hasOwnProperty(t)&&rd[t]?(""+e).trim():e+"px"}function iP(t,e){t=t.style;for(var r in e)if(e.hasOwnProperty(r)){var n=r.indexOf("--")===0,i=nP(r,e[r],n);r==="float"&&(r="cssFloat"),n?t.setProperty(r,i):t[r]=i}}var GF=lt({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 I0(t,e){if(e){if(GF[t]&&(e.children!=null||e.dangerouslySetInnerHTML!=null))throw Error($(137,t));if(e.dangerouslySetInnerHTML!=null){if(e.children!=null)throw Error($(60));if(typeof e.dangerouslySetInnerHTML!="object"||!("__html"in e.dangerouslySetInnerHTML))throw Error($(61))}if(e.style!=null&&typeof e.style!="object")throw Error($(62))}}function j0(t,e){if(t.indexOf("-")===-1)return typeof e.is=="string";switch(t){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 O0=null;function ww(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var U0=null,Al=null,Sl=null;function KS(t){if(t=uf(t)){if(typeof U0!="function")throw Error($(280));var e=t.stateNode;e&&(e=Ay(e),U0(t.stateNode,t.type,e))}}function oP(t){Al?Sl?Sl.push(t):Sl=[t]:Al=t}function sP(){if(Al){var t=Al,e=Sl;if(Sl=Al=null,KS(t),e)for(t=0;t>>=0,t===0?32:31-(n4(t)/i4|0)|0}var Qp=64,Yp=4194304;function Zu(t){switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64: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 t&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return t&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return t}}function vm(t,e){var r=t.pendingLanes;if(r===0)return 0;var n=0,i=t.suspendedLanes,o=t.pingedLanes,s=r&268435455;if(s!==0){var a=s&~i;a!==0?n=Zu(a):(o&=s,o!==0&&(n=Zu(o)))}else s=r&~i,s!==0?n=Zu(s):o!==0&&(n=Zu(o));if(n===0)return 0;if(e!==0&&e!==n&&!(e&i)&&(i=n&-n,o=e&-e,i>=o||i===16&&(o&4194240)!==0))return e;if(n&4&&(n|=r&16),e=t.entangledLanes,e!==0)for(t=t.entanglements,e&=n;0r;r++)e.push(t);return e}function lf(t,e,r){t.pendingLanes|=e,e!==536870912&&(t.suspendedLanes=0,t.pingedLanes=0),t=t.eventTimes,e=31-Zn(e),t[e]=r}function l4(t,e){var r=t.pendingLanes&~e;t.pendingLanes=e,t.suspendedLanes=0,t.pingedLanes=0,t.expiredLanes&=e,t.mutableReadLanes&=e,t.entangledLanes&=e,e=t.entanglements;var n=t.eventTimes;for(t=t.expirationTimes;0=id),XS=" ",JS=!1;function SP(t,e){switch(t){case"keyup":return O4.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function CP(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var ul=!1;function $4(t,e){switch(t){case"compositionend":return CP(e);case"keypress":return e.which!==32?null:(JS=!0,XS);case"textInput":return t=e.data,t===XS&&JS?null:t;default:return null}}function V4(t,e){if(ul)return t==="compositionend"||!kw&&SP(t,e)?(t=RP(),Nh=Sw=Wo=null,ul=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1=e)return{node:r,offset:e-t};t=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=e1(r)}}function LP(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?LP(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function DP(){for(var t=window,e=mm();e instanceof t.HTMLIFrameElement;){try{var r=typeof e.contentWindow.location.href=="string"}catch{r=!1}if(r)t=e.contentWindow;else break;e=mm(t.document)}return e}function Pw(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}function W4(t){var e=DP(),r=t.focusedElem,n=t.selectionRange;if(e!==r&&r&&r.ownerDocument&&LP(r.ownerDocument.documentElement,r)){if(n!==null&&Pw(r)){if(e=n.start,t=n.end,t===void 0&&(t=e),"selectionStart"in r)r.selectionStart=e,r.selectionEnd=Math.min(t,r.value.length);else if(t=(e=r.ownerDocument||document)&&e.defaultView||window,t.getSelection){t=t.getSelection();var i=r.textContent.length,o=Math.min(n.start,i);n=n.end===void 0?o:Math.min(n.end,i),!t.extend&&o>n&&(i=n,n=o,o=i),i=t1(r,o);var s=t1(r,n);i&&s&&(t.rangeCount!==1||t.anchorNode!==i.node||t.anchorOffset!==i.offset||t.focusNode!==s.node||t.focusOffset!==s.offset)&&(e=e.createRange(),e.setStart(i.node,i.offset),t.removeAllRanges(),o>n?(t.addRange(e),t.extend(s.node,s.offset)):(e.setEnd(s.node,s.offset),t.addRange(e)))}}for(e=[],t=r;t=t.parentNode;)t.nodeType===1&&e.push({element:t,left:t.scrollLeft,top:t.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r=document.documentMode,dl=null,z0=null,sd=null,F0=!1;function r1(t,e,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;F0||dl==null||dl!==mm(n)||(n=dl,"selectionStart"in n&&Pw(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),sd&&Cd(sd,n)||(sd=n,n=xm(z0,"onSelect"),0hl||(t.current=J0[hl],J0[hl]=null,hl--)}function Ge(t,e){hl++,J0[hl]=t.current,t.current=e}var cs={},ar=Cs(cs),Ir=Cs(!1),Ca=cs;function Ol(t,e){var r=t.type.contextTypes;if(!r)return cs;var n=t.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===e)return n.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in r)i[o]=e[o];return n&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=i),i}function jr(t){return t=t.childContextTypes,t!=null}function Rm(){Ze(Ir),Ze(ar)}function c1(t,e,r){if(ar.current!==cs)throw Error($(168));Ge(ar,e),Ge(Ir,r)}function MP(t,e,r){var n=t.stateNode;if(e=e.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var i in n)if(!(i in e))throw Error($(108,zF(t)||"Unknown",i));return lt({},r,n)}function Am(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||cs,Ca=ar.current,Ge(ar,t),Ge(Ir,Ir.current),!0}function u1(t,e,r){var n=t.stateNode;if(!n)throw Error($(169));r?(t=MP(t,e,Ca),n.__reactInternalMemoizedMergedChildContext=t,Ze(Ir),Ze(ar),Ge(ar,t)):Ze(Ir),Ge(Ir,r)}var Zi=null,Sy=!1,vv=!1;function NP(t){Zi===null?Zi=[t]:Zi.push(t)}function s8(t){Sy=!0,NP(t)}function Ts(){if(!vv&&Zi!==null){vv=!0;var t=0,e=Ue;try{var r=Zi;for(Ue=1;t>=s,i-=s,ro=1<<32-Zn(e)+i|r<O?(F=I,I=null):F=I.sibling;var re=h(y,I,E[O],_);if(re===null){I===null&&(I=F);break}t&&I&&re.alternate===null&&e(y,I),b=o(re,b,O),B===null?T=re:B.sibling=re,B=re,I=F}if(O===E.length)return r(y,I),Ye&&na(y,O),T;if(I===null){for(;OO?(F=I,I=null):F=I.sibling;var ze=h(y,I,re.value,_);if(ze===null){I===null&&(I=F);break}t&&I&&ze.alternate===null&&e(y,I),b=o(ze,b,O),B===null?T=ze:B.sibling=ze,B=ze,I=F}if(re.done)return r(y,I),Ye&&na(y,O),T;if(I===null){for(;!re.done;O++,re=E.next())re=f(y,re.value,_),re!==null&&(b=o(re,b,O),B===null?T=re:B.sibling=re,B=re);return Ye&&na(y,O),T}for(I=n(y,I);!re.done;O++,re=E.next())re=m(I,y,O,re.value,_),re!==null&&(t&&re.alternate!==null&&I.delete(re.key===null?O:re.key),b=o(re,b,O),B===null?T=re:B.sibling=re,B=re);return t&&I.forEach(function(Rt){return e(y,Rt)}),Ye&&na(y,O),T}function w(y,b,E,_){if(typeof E=="object"&&E!==null&&E.type===cl&&E.key===null&&(E=E.props.children),typeof E=="object"&&E!==null){switch(E.$$typeof){case Xp:e:{for(var T=E.key,B=b;B!==null;){if(B.key===T){if(T=E.type,T===cl){if(B.tag===7){r(y,B.sibling),b=i(B,E.props.children),b.return=y,y=b;break e}}else if(B.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===Mo&&p1(T)===B.type){r(y,B.sibling),b=i(B,E.props),b.ref=ku(y,B,E),b.return=y,y=b;break e}r(y,B);break}else e(y,B);B=B.sibling}E.type===cl?(b=xa(E.props.children,y.mode,_,E.key),b.return=y,y=b):(_=Jh(E.type,E.key,E.props,null,y.mode,_),_.ref=ku(y,b,E),_.return=y,y=_)}return s(y);case ll:e:{for(B=E.key;b!==null;){if(b.key===B)if(b.tag===4&&b.stateNode.containerInfo===E.containerInfo&&b.stateNode.implementation===E.implementation){r(y,b.sibling),b=i(b,E.children||[]),b.return=y,y=b;break e}else{r(y,b);break}else e(y,b);b=b.sibling}b=Cv(E,y.mode,_),b.return=y,y=b}return s(y);case Mo:return B=E._init,w(y,b,B(E._payload),_)}if(Ju(E))return g(y,b,E,_);if(Ru(E))return v(y,b,E,_);sh(y,E)}return typeof E=="string"&&E!==""||typeof E=="number"?(E=""+E,b!==null&&b.tag===6?(r(y,b.sibling),b=i(b,E),b.return=y,y=b):(r(y,b),b=Sv(E,y.mode,_),b.return=y,y=b),s(y)):r(y,b)}return w}var $l=GP(!0),HP=GP(!1),Tm=Cs(null),km=null,gl=null,Iw=null;function jw(){Iw=gl=km=null}function Ow(t){var e=Tm.current;Ze(Tm),t._currentValue=e}function Y0(t,e,r){for(;t!==null;){var n=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,n!==null&&(n.childLanes|=e)):n!==null&&(n.childLanes&e)!==e&&(n.childLanes|=e),t===r)break;t=t.return}}function Tl(t,e){km=t,Iw=gl=null,t=t.dependencies,t!==null&&t.firstContext!==null&&(t.lanes&e&&(Br=!0),t.firstContext=null)}function En(t){var e=t._currentValue;if(Iw!==t)if(t={context:t,memoizedValue:e,next:null},gl===null){if(km===null)throw Error($(308));gl=t,km.dependencies={lanes:0,firstContext:t}}else gl=gl.next=t;return e}var ha=null;function Uw(t){ha===null?ha=[t]:ha.push(t)}function WP(t,e,r,n){var i=e.interleaved;return i===null?(r.next=r,Uw(e)):(r.next=i.next,i.next=r),e.interleaved=r,yo(t,n)}function yo(t,e){t.lanes|=e;var r=t.alternate;for(r!==null&&(r.lanes|=e),r=t,t=t.return;t!==null;)t.childLanes|=e,r=t.alternate,r!==null&&(r.childLanes|=e),r=t,t=t.return;return r.tag===3?r.stateNode:null}var No=!1;function $w(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function XP(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,effects:t.effects})}function oo(t,e){return{eventTime:t,lane:e,tag:0,payload:null,callback:null,next:null}}function ts(t,e,r){var n=t.updateQueue;if(n===null)return null;if(n=n.shared,De&2){var i=n.pending;return i===null?e.next=e:(e.next=i.next,i.next=e),n.pending=e,yo(t,r)}return i=n.interleaved,i===null?(e.next=e,Uw(n)):(e.next=i.next,i.next=e),n.interleaved=e,yo(t,r)}function Fh(t,e,r){if(e=e.updateQueue,e!==null&&(e=e.shared,(r&4194240)!==0)){var n=e.lanes;n&=t.pendingLanes,r|=n,e.lanes=r,_w(t,r)}}function h1(t,e){var r=t.updateQueue,n=t.alternate;if(n!==null&&(n=n.updateQueue,r===n)){var i=null,o=null;if(r=r.firstBaseUpdate,r!==null){do{var s={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};o===null?i=o=s:o=o.next=s,r=r.next}while(r!==null);o===null?i=o=e:o=o.next=e}else i=o=e;r={baseState:n.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:n.shared,effects:n.effects},t.updateQueue=r;return}t=r.lastBaseUpdate,t===null?r.firstBaseUpdate=e:t.next=e,r.lastBaseUpdate=e}function Pm(t,e,r,n){var i=t.updateQueue;No=!1;var o=i.firstBaseUpdate,s=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var c=a,u=c.next;c.next=null,s===null?o=u:s.next=u,s=c;var d=t.alternate;d!==null&&(d=d.updateQueue,a=d.lastBaseUpdate,a!==s&&(a===null?d.firstBaseUpdate=u:a.next=u,d.lastBaseUpdate=c))}if(o!==null){var f=i.baseState;s=0,d=u=c=null,a=o;do{var h=a.lane,m=a.eventTime;if((n&h)===h){d!==null&&(d=d.next={eventTime:m,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var g=t,v=a;switch(h=e,m=r,v.tag){case 1:if(g=v.payload,typeof g=="function"){f=g.call(m,f,h);break e}f=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=v.payload,h=typeof g=="function"?g.call(m,f,h):g,h==null)break e;f=lt({},f,h);break e;case 2:No=!0}}a.callback!==null&&a.lane!==0&&(t.flags|=64,h=i.effects,h===null?i.effects=[a]:h.push(a))}else m={eventTime:m,lane:h,tag:a.tag,payload:a.payload,callback:a.callback,next:null},d===null?(u=d=m,c=f):d=d.next=m,s|=h;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;h=a,a=h.next,h.next=null,i.lastBaseUpdate=h,i.shared.pending=null}}while(!0);if(d===null&&(c=f),i.baseState=c,i.firstBaseUpdate=u,i.lastBaseUpdate=d,e=i.shared.interleaved,e!==null){i=e;do s|=i.lane,i=i.next;while(i!==e)}else o===null&&(i.shared.lanes=0);Pa|=s,t.lanes=s,t.memoizedState=f}}function m1(t,e,r){if(t=e.effects,e.effects=null,t!==null)for(e=0;er?r:4,t(!0);var n=wv.transition;wv.transition={};try{t(!1),e()}finally{Ue=r,wv.transition=n}}function fL(){return wn().memoizedState}function u8(t,e,r){var n=ns(t);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},pL(t))hL(e,r);else if(r=WP(t,e,r,n),r!==null){var i=vr();Qn(r,t,n,i),mL(r,e,n)}}function d8(t,e,r){var n=ns(t),i={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(pL(t))hL(e,i);else{var o=t.alternate;if(t.lanes===0&&(o===null||o.lanes===0)&&(o=e.lastRenderedReducer,o!==null))try{var s=e.lastRenderedState,a=o(s,r);if(i.hasEagerState=!0,i.eagerState=a,ei(a,s)){var c=e.interleaved;c===null?(i.next=i,Uw(e)):(i.next=c.next,c.next=i),e.interleaved=i;return}}catch{}finally{}r=WP(t,e,i,n),r!==null&&(i=vr(),Qn(r,t,n,i),mL(r,e,n))}}function pL(t){var e=t.alternate;return t===st||e!==null&&e===st}function hL(t,e){ad=Dm=!0;var r=t.pending;r===null?e.next=e:(e.next=r.next,r.next=e),t.pending=e}function mL(t,e,r){if(r&4194240){var n=e.lanes;n&=t.pendingLanes,r|=n,e.lanes=r,_w(t,r)}}var Bm={readContext:En,useCallback:Jt,useContext:Jt,useEffect:Jt,useImperativeHandle:Jt,useInsertionEffect:Jt,useLayoutEffect:Jt,useMemo:Jt,useReducer:Jt,useRef:Jt,useState:Jt,useDebugValue:Jt,useDeferredValue:Jt,useTransition:Jt,useMutableSource:Jt,useSyncExternalStore:Jt,useId:Jt,unstable_isNewReconciler:!1},f8={readContext:En,useCallback:function(t,e){return ci().memoizedState=[t,e===void 0?null:e],t},useContext:En,useEffect:g1,useImperativeHandle:function(t,e,r){return r=r!=null?r.concat([t]):null,Gh(4194308,4,aL.bind(null,e,t),r)},useLayoutEffect:function(t,e){return Gh(4194308,4,t,e)},useInsertionEffect:function(t,e){return Gh(4,2,t,e)},useMemo:function(t,e){var r=ci();return e=e===void 0?null:e,t=t(),r.memoizedState=[t,e],t},useReducer:function(t,e,r){var n=ci();return e=r!==void 0?r(e):e,n.memoizedState=n.baseState=e,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:e},n.queue=t,t=t.dispatch=u8.bind(null,st,t),[n.memoizedState,t]},useRef:function(t){var e=ci();return t={current:t},e.memoizedState=t},useState:y1,useDebugValue:Gw,useDeferredValue:function(t){return ci().memoizedState=t},useTransition:function(){var t=y1(!1),e=t[0];return t=c8.bind(null,t[1]),ci().memoizedState=t,[e,t]},useMutableSource:function(){},useSyncExternalStore:function(t,e,r){var n=st,i=ci();if(Ye){if(r===void 0)throw Error($(407));r=r()}else{if(r=e(),Ut===null)throw Error($(349));ka&30||YP(n,e,r)}i.memoizedState=r;var o={value:r,getSnapshot:e};return i.queue=o,g1(tL.bind(null,n,o,t),[t]),n.flags|=2048,jd(9,eL.bind(null,n,o,r,e),void 0,null),r},useId:function(){var t=ci(),e=Ut.identifierPrefix;if(Ye){var r=no,n=ro;r=(n&~(1<<32-Zn(n)-1)).toString(32)+r,e=":"+e+"R"+r,r=Bd++,0<\/script>",t=t.removeChild(t.firstChild)):typeof n.is=="string"?t=s.createElement(r,{is:n.is}):(t=s.createElement(r),r==="select"&&(s=t,n.multiple?s.multiple=!0:n.size&&(s.size=n.size))):t=s.createElementNS(t,r),t[di]=e,t[Pd]=n,AL(t,e,!1,!1),e.stateNode=t;e:{switch(s=j0(r,n),r){case"dialog":He("cancel",t),He("close",t),i=n;break;case"iframe":case"object":case"embed":He("load",t),i=n;break;case"video":case"audio":for(i=0;iMl&&(e.flags|=128,n=!0,Pu(o,!1),e.lanes=4194304)}else{if(!n)if(t=Lm(s),t!==null){if(e.flags|=128,n=!0,r=t.updateQueue,r!==null&&(e.updateQueue=r,e.flags|=4),Pu(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!Ye)return Zt(e),null}else 2*ft()-o.renderingStartTime>Ml&&r!==1073741824&&(e.flags|=128,n=!0,Pu(o,!1),e.lanes=4194304);o.isBackwards?(s.sibling=e.child,e.child=s):(r=o.last,r!==null?r.sibling=s:e.child=s,o.last=s)}return o.tail!==null?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=ft(),e.sibling=null,r=it.current,Ge(it,n?r&1|2:r&1),e):(Zt(e),null);case 22:case 23:return Qw(),n=e.memoizedState!==null,t!==null&&t.memoizedState!==null!==n&&(e.flags|=8192),n&&e.mode&1?Jr&1073741824&&(Zt(e),e.subtreeFlags&6&&(e.flags|=8192)):Zt(e),null;case 24:return null;case 25:return null}throw Error($(156,e.tag))}function E8(t,e){switch(Dw(e),e.tag){case 1:return jr(e.type)&&Rm(),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return Vl(),Ze(Ir),Ze(ar),Mw(),t=e.flags,t&65536&&!(t&128)?(e.flags=t&-65537|128,e):null;case 5:return Kw(e),null;case 13:if(Ze(it),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error($(340));Ul()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return Ze(it),null;case 4:return Vl(),null;case 10:return Ow(e.type._context),null;case 22:case 23:return Qw(),null;case 24:return null;default:return null}}var lh=!1,ir=!1,w8=typeof WeakSet=="function"?WeakSet:Set,G=null;function bl(t,e){var r=t.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){ut(t,e,n)}else r.current=null}function lE(t,e,r){try{r()}catch(n){ut(t,e,n)}}var T1=!1;function x8(t,e){if(q0=Em,t=DP(),Pw(t)){if("selectionStart"in t)var r={start:t.selectionStart,end:t.selectionEnd};else e:{r=(r=t.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var i=n.anchorOffset,o=n.focusNode;n=n.focusOffset;try{r.nodeType,o.nodeType}catch{r=null;break e}var s=0,a=-1,c=-1,u=0,d=0,f=t,h=null;t:for(;;){for(var m;f!==r||i!==0&&f.nodeType!==3||(a=s+i),f!==o||n!==0&&f.nodeType!==3||(c=s+n),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)h=f,f=m;for(;;){if(f===t)break t;if(h===r&&++u===i&&(a=s),h===o&&++d===n&&(c=s),(m=f.nextSibling)!==null)break;f=h,h=f.parentNode}f=m}r=a===-1||c===-1?null:{start:a,end:c}}else r=null}r=r||{start:0,end:0}}else r=null;for(G0={focusedElem:t,selectionRange:r},Em=!1,G=e;G!==null;)if(e=G,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,G=t;else for(;G!==null;){e=G;try{var g=e.alternate;if(e.flags&1024)switch(e.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var v=g.memoizedProps,w=g.memoizedState,y=e.stateNode,b=y.getSnapshotBeforeUpdate(e.elementType===e.type?v:Un(e.type,v),w);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var E=e.stateNode.containerInfo;E.nodeType===1?E.textContent="":E.nodeType===9&&E.documentElement&&E.removeChild(E.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error($(163))}}catch(_){ut(e,e.return,_)}if(t=e.sibling,t!==null){t.return=e.return,G=t;break}G=e.return}return g=T1,T1=!1,g}function ld(t,e,r){var n=e.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var i=n=n.next;do{if((i.tag&t)===t){var o=i.destroy;i.destroy=void 0,o!==void 0&&lE(e,r,o)}i=i.next}while(i!==n)}}function ky(t,e){if(e=e.updateQueue,e=e!==null?e.lastEffect:null,e!==null){var r=e=e.next;do{if((r.tag&t)===t){var n=r.create;r.destroy=n()}r=r.next}while(r!==e)}}function cE(t){var e=t.ref;if(e!==null){var r=t.stateNode;switch(t.tag){case 5:t=r;break;default:t=r}typeof e=="function"?e(t):e.current=t}}function TL(t){var e=t.alternate;e!==null&&(t.alternate=null,TL(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&(delete e[di],delete e[Pd],delete e[X0],delete e[i8],delete e[o8])),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function kL(t){return t.tag===5||t.tag===3||t.tag===4}function k1(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||kL(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function uE(t,e,r){var n=t.tag;if(n===5||n===6)t=t.stateNode,e?r.nodeType===8?r.parentNode.insertBefore(t,e):r.insertBefore(t,e):(r.nodeType===8?(e=r.parentNode,e.insertBefore(t,r)):(e=r,e.appendChild(t)),r=r._reactRootContainer,r!=null||e.onclick!==null||(e.onclick=_m));else if(n!==4&&(t=t.child,t!==null))for(uE(t,e,r),t=t.sibling;t!==null;)uE(t,e,r),t=t.sibling}function dE(t,e,r){var n=t.tag;if(n===5||n===6)t=t.stateNode,e?r.insertBefore(t,e):r.appendChild(t);else if(n!==4&&(t=t.child,t!==null))for(dE(t,e,r),t=t.sibling;t!==null;)dE(t,e,r),t=t.sibling}var Gt=null,Gn=!1;function Co(t,e,r){for(r=r.child;r!==null;)PL(t,e,r),r=r.sibling}function PL(t,e,r){if(pi&&typeof pi.onCommitFiberUnmount=="function")try{pi.onCommitFiberUnmount(wy,r)}catch{}switch(r.tag){case 5:ir||bl(r,e);case 6:var n=Gt,i=Gn;Gt=null,Co(t,e,r),Gt=n,Gn=i,Gt!==null&&(Gn?(t=Gt,r=r.stateNode,t.nodeType===8?t.parentNode.removeChild(r):t.removeChild(r)):Gt.removeChild(r.stateNode));break;case 18:Gt!==null&&(Gn?(t=Gt,r=r.stateNode,t.nodeType===8?bv(t.parentNode,r):t.nodeType===1&&bv(t,r),Ad(t)):bv(Gt,r.stateNode));break;case 4:n=Gt,i=Gn,Gt=r.stateNode.containerInfo,Gn=!0,Co(t,e,r),Gt=n,Gn=i;break;case 0:case 11:case 14:case 15:if(!ir&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){i=n=n.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&lE(r,e,s),i=i.next}while(i!==n)}Co(t,e,r);break;case 1:if(!ir&&(bl(r,e),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(a){ut(r,e,a)}Co(t,e,r);break;case 21:Co(t,e,r);break;case 22:r.mode&1?(ir=(n=ir)||r.memoizedState!==null,Co(t,e,r),ir=n):Co(t,e,r);break;default:Co(t,e,r)}}function P1(t){var e=t.updateQueue;if(e!==null){t.updateQueue=null;var r=t.stateNode;r===null&&(r=t.stateNode=new w8),e.forEach(function(n){var i=L8.bind(null,t,n);r.has(n)||(r.add(n),n.then(i,i))})}}function In(t,e){var r=e.deletions;if(r!==null)for(var n=0;ni&&(i=s),n&=~o}if(n=i,n=ft()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*R8(n/1960))-n,10t?16:t,Xo===null)var n=!1;else{if(t=Xo,Xo=null,Om=0,De&6)throw Error($(331));var i=De;for(De|=4,G=t.current;G!==null;){var o=G,s=o.child;if(G.flags&16){var a=o.deletions;if(a!==null){for(var c=0;cft()-Jw?wa(t,0):Xw|=r),Or(t,e)}function $L(t,e){e===0&&(t.mode&1?(e=Yp,Yp<<=1,!(Yp&130023424)&&(Yp=4194304)):e=1);var r=vr();t=yo(t,e),t!==null&&(lf(t,e,r),Or(t,r))}function P8(t){var e=t.memoizedState,r=0;e!==null&&(r=e.retryLane),$L(t,r)}function L8(t,e){var r=0;switch(t.tag){case 13:var n=t.stateNode,i=t.memoizedState;i!==null&&(r=i.retryLane);break;case 19:n=t.stateNode;break;default:throw Error($(314))}n!==null&&n.delete(e),$L(t,r)}var VL;VL=function(t,e,r){if(t!==null)if(t.memoizedProps!==e.pendingProps||Ir.current)Br=!0;else{if(!(t.lanes&r)&&!(e.flags&128))return Br=!1,b8(t,e,r);Br=!!(t.flags&131072)}else Br=!1,Ye&&e.flags&1048576&&zP(e,Cm,e.index);switch(e.lanes=0,e.tag){case 2:var n=e.type;Hh(t,e),t=e.pendingProps;var i=Ol(e,ar.current);Tl(e,r),i=zw(null,e,n,t,i,r);var o=Fw();return e.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(e.tag=1,e.memoizedState=null,e.updateQueue=null,jr(n)?(o=!0,Am(e)):o=!1,e.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,$w(e),i.updater=Ty,e.stateNode=i,i._reactInternals=e,tE(e,n,t,r),e=iE(null,e,n,!0,o,r)):(e.tag=0,Ye&&o&&Lw(e),yr(null,e,i,r),e=e.child),e;case 16:n=e.elementType;e:{switch(Hh(t,e),t=e.pendingProps,i=n._init,n=i(n._payload),e.type=n,i=e.tag=B8(n),t=Un(n,t),i){case 0:e=nE(null,e,n,t,r);break e;case 1:e=A1(null,e,n,t,r);break e;case 11:e=_1(null,e,n,t,r);break e;case 14:e=R1(null,e,n,Un(n.type,t),r);break e}throw Error($(306,n,""))}return e;case 0:return n=e.type,i=e.pendingProps,i=e.elementType===n?i:Un(n,i),nE(t,e,n,i,r);case 1:return n=e.type,i=e.pendingProps,i=e.elementType===n?i:Un(n,i),A1(t,e,n,i,r);case 3:e:{if(xL(e),t===null)throw Error($(387));n=e.pendingProps,o=e.memoizedState,i=o.element,XP(t,e),Pm(e,n,null,r);var s=e.memoizedState;if(n=s.element,o.isDehydrated)if(o={element:n,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},e.updateQueue.baseState=o,e.memoizedState=o,e.flags&256){i=Kl(Error($(423)),e),e=S1(t,e,n,r,i);break e}else if(n!==i){i=Kl(Error($(424)),e),e=S1(t,e,n,r,i);break e}else for(Qr=es(e.stateNode.containerInfo.firstChild),Yr=e,Ye=!0,Hn=null,r=HP(e,null,n,r),e.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Ul(),n===i){e=go(t,e,r);break e}yr(t,e,n,r)}e=e.child}return e;case 5:return JP(e),t===null&&Q0(e),n=e.type,i=e.pendingProps,o=t!==null?t.memoizedProps:null,s=i.children,H0(n,i)?s=null:o!==null&&H0(n,o)&&(e.flags|=32),wL(t,e),yr(t,e,s,r),e.child;case 6:return t===null&&Q0(e),null;case 13:return _L(t,e,r);case 4:return Vw(e,e.stateNode.containerInfo),n=e.pendingProps,t===null?e.child=$l(e,null,n,r):yr(t,e,n,r),e.child;case 11:return n=e.type,i=e.pendingProps,i=e.elementType===n?i:Un(n,i),_1(t,e,n,i,r);case 7:return yr(t,e,e.pendingProps,r),e.child;case 8:return yr(t,e,e.pendingProps.children,r),e.child;case 12:return yr(t,e,e.pendingProps.children,r),e.child;case 10:e:{if(n=e.type._context,i=e.pendingProps,o=e.memoizedProps,s=i.value,Ge(Tm,n._currentValue),n._currentValue=s,o!==null)if(ei(o.value,s)){if(o.children===i.children&&!Ir.current){e=go(t,e,r);break e}}else for(o=e.child,o!==null&&(o.return=e);o!==null;){var a=o.dependencies;if(a!==null){s=o.child;for(var c=a.firstContext;c!==null;){if(c.context===n){if(o.tag===1){c=oo(-1,r&-r),c.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}o.lanes|=r,c=o.alternate,c!==null&&(c.lanes|=r),Y0(o.return,r,e),a.lanes|=r;break}c=c.next}}else if(o.tag===10)s=o.type===e.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error($(341));s.lanes|=r,a=s.alternate,a!==null&&(a.lanes|=r),Y0(s,r,e),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===e){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}yr(t,e,i.children,r),e=e.child}return e;case 9:return i=e.type,n=e.pendingProps.children,Tl(e,r),i=En(i),n=n(i),e.flags|=1,yr(t,e,n,r),e.child;case 14:return n=e.type,i=Un(n,e.pendingProps),i=Un(n.type,i),R1(t,e,n,i,r);case 15:return vL(t,e,e.type,e.pendingProps,r);case 17:return n=e.type,i=e.pendingProps,i=e.elementType===n?i:Un(n,i),Hh(t,e),e.tag=1,jr(n)?(t=!0,Am(e)):t=!1,Tl(e,r),yL(e,n,i),tE(e,n,i,r),iE(null,e,n,!0,t,r);case 19:return RL(t,e,r);case 22:return EL(t,e,r)}throw Error($(156,e.tag))};function KL(t,e){return pP(t,e)}function D8(t,e,r,n){this.tag=t,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function pn(t,e,r,n){return new D8(t,e,r,n)}function ex(t){return t=t.prototype,!(!t||!t.isReactComponent)}function B8(t){if(typeof t=="function")return ex(t)?1:0;if(t!=null){if(t=t.$$typeof,t===vw)return 11;if(t===Ew)return 14}return 2}function is(t,e){var r=t.alternate;return r===null?(r=pn(t.tag,e,t.key,t.mode),r.elementType=t.elementType,r.type=t.type,r.stateNode=t.stateNode,r.alternate=t,t.alternate=r):(r.pendingProps=e,r.type=t.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=t.flags&14680064,r.childLanes=t.childLanes,r.lanes=t.lanes,r.child=t.child,r.memoizedProps=t.memoizedProps,r.memoizedState=t.memoizedState,r.updateQueue=t.updateQueue,e=t.dependencies,r.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},r.sibling=t.sibling,r.index=t.index,r.ref=t.ref,r}function Jh(t,e,r,n,i,o){var s=2;if(n=t,typeof t=="function")ex(t)&&(s=1);else if(typeof t=="string")s=5;else e:switch(t){case cl:return xa(r.children,i,o,e);case bw:s=8,i|=8;break;case A0:return t=pn(12,r,e,i|2),t.elementType=A0,t.lanes=o,t;case S0:return t=pn(13,r,e,i),t.elementType=S0,t.lanes=o,t;case C0:return t=pn(19,r,e,i),t.elementType=C0,t.lanes=o,t;case Jk:return Ly(r,i,o,e);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case Wk:s=10;break e;case Xk:s=9;break e;case vw:s=11;break e;case Ew:s=14;break e;case Mo:s=16,n=null;break e}throw Error($(130,t==null?t:typeof t,""))}return e=pn(s,r,e,i),e.elementType=t,e.type=n,e.lanes=o,e}function xa(t,e,r,n){return t=pn(7,t,n,e),t.lanes=r,t}function Ly(t,e,r,n){return t=pn(22,t,n,e),t.elementType=Jk,t.lanes=r,t.stateNode={isHidden:!1},t}function Sv(t,e,r){return t=pn(6,t,null,e),t.lanes=r,t}function Cv(t,e,r){return e=pn(4,t.children!==null?t.children:[],t.key,e),e.lanes=r,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function I8(t,e,r,n,i){this.tag=e,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=av(0),this.expirationTimes=av(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=av(0),this.identifierPrefix=n,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function tx(t,e,r,n,i,o,s,a,c){return t=new I8(t,e,r,a,c),e===1?(e=1,o===!0&&(e|=8)):e=0,o=pn(3,null,null,e),t.current=o,o.stateNode=t,o.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},$w(o),t}function j8(t,e,r){var n=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(FL)}catch(t){console.error(t)}}FL(),Fk.exports=rn;var K8=Fk.exports,$1=K8;_0.createRoot=$1.createRoot,_0.hydrateRoot=$1.hydrateRoot;var ox={};Object.defineProperty(ox,"__esModule",{value:!0});ox.parse=H8;ox.serialize=W8;const M8=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,N8=/^[\u0021-\u003A\u003C-\u007E]*$/,z8=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,F8=/^[\u0020-\u003A\u003D-\u007E]*$/,q8=Object.prototype.toString,G8=(()=>{const t=function(){};return t.prototype=Object.create(null),t})();function H8(t,e){const r=new G8,n=t.length;if(n<2)return r;const i=(e==null?void 0:e.decode)||X8;let o=0;do{const s=t.indexOf("=",o);if(s===-1)break;const a=t.indexOf(";",o),c=a===-1?n:a;if(s>c){o=t.lastIndexOf(";",s-1)+1;continue}const u=V1(t,o,s),d=K1(t,s,u),f=t.slice(u,d);if(r[f]===void 0){let h=V1(t,s+1,c),m=K1(t,c,h);const g=i(t.slice(h,m));r[f]=g}o=c+1}while(or;){const n=t.charCodeAt(--e);if(n!==32&&n!==9)return e+1}return r}function W8(t,e,r){const n=(r==null?void 0:r.encode)||encodeURIComponent;if(!M8.test(t))throw new TypeError(`argument name is invalid: ${t}`);const i=n(e);if(!N8.test(i))throw new TypeError(`argument val is invalid: ${e}`);let o=t+"="+i;if(!r)return o;if(r.maxAge!==void 0){if(!Number.isInteger(r.maxAge))throw new TypeError(`option maxAge is invalid: ${r.maxAge}`);o+="; Max-Age="+r.maxAge}if(r.domain){if(!z8.test(r.domain))throw new TypeError(`option domain is invalid: ${r.domain}`);o+="; Domain="+r.domain}if(r.path){if(!F8.test(r.path))throw new TypeError(`option path is invalid: ${r.path}`);o+="; Path="+r.path}if(r.expires){if(!J8(r.expires)||!Number.isFinite(r.expires.valueOf()))throw new TypeError(`option expires is invalid: ${r.expires}`);o+="; Expires="+r.expires.toUTCString()}if(r.httpOnly&&(o+="; HttpOnly"),r.secure&&(o+="; Secure"),r.partitioned&&(o+="; Partitioned"),r.priority)switch(typeof r.priority=="string"?r.priority.toLowerCase():void 0){case"low":o+="; Priority=Low";break;case"medium":o+="; Priority=Medium";break;case"high":o+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${r.priority}`)}if(r.sameSite)switch(typeof r.sameSite=="string"?r.sameSite.toLowerCase():r.sameSite){case!0:case"strict":o+="; SameSite=Strict";break;case"lax":o+="; SameSite=Lax";break;case"none":o+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${r.sameSite}`)}return o}function X8(t){if(t.indexOf("%")===-1)return t;try{return decodeURIComponent(t)}catch{return t}}function J8(t){return q8.call(t)==="[object Date]"}var M1="popstate";function Z8(t={}){function e(n,i){let{pathname:o,search:s,hash:a}=n.location;return yE("",{pathname:o,search:s,hash:a},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function r(n,i){return typeof i=="string"?i:Ud(i)}return Y8(e,r,null,t)}function at(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function xi(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function Q8(){return Math.random().toString(36).substring(2,10)}function N1(t,e){return{usr:t.state,key:t.key,idx:e}}function yE(t,e,r=null,n){return{pathname:typeof t=="string"?t:t.pathname,search:"",hash:"",...typeof e=="string"?ec(e):e,state:r,key:e&&e.key||n||Q8()}}function Ud({pathname:t="/",search:e="",hash:r=""}){return e&&e!=="?"&&(t+=e.charAt(0)==="?"?e:"?"+e),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function ec(t){let e={};if(t){let r=t.indexOf("#");r>=0&&(e.hash=t.substring(r),t=t.substring(0,r));let n=t.indexOf("?");n>=0&&(e.search=t.substring(n),t=t.substring(0,n)),t&&(e.pathname=t)}return e}function Y8(t,e,r,n={}){let{window:i=document.defaultView,v5Compat:o=!1}=n,s=i.history,a="POP",c=null,u=d();u==null&&(u=0,s.replaceState({...s.state,idx:u},""));function d(){return(s.state||{idx:null}).idx}function f(){a="POP";let w=d(),y=w==null?null:w-u;u=w,c&&c({action:a,location:v.location,delta:y})}function h(w,y){a="PUSH";let b=yE(v.location,w,y);u=d()+1;let E=N1(b,u),_=v.createHref(b);try{s.pushState(E,"",_)}catch(T){if(T instanceof DOMException&&T.name==="DataCloneError")throw T;i.location.assign(_)}o&&c&&c({action:a,location:v.location,delta:1})}function m(w,y){a="REPLACE";let b=yE(v.location,w,y);u=d();let E=N1(b,u),_=v.createHref(b);s.replaceState(E,"",_),o&&c&&c({action:a,location:v.location,delta:0})}function g(w){return e5(w)}let v={get action(){return a},get location(){return t(i,s)},listen(w){if(c)throw new Error("A history only accepts one active listener");return i.addEventListener(M1,f),c=w,()=>{i.removeEventListener(M1,f),c=null}},createHref(w){return e(i,w)},createURL:g,encodeLocation(w){let y=g(w);return{pathname:y.pathname,search:y.search,hash:y.hash}},push:h,replace:m,go(w){return s.go(w)}};return v}function e5(t,e=!1){let r="http://localhost";typeof window<"u"&&(r=window.location.origin!=="null"?window.location.origin:window.location.href),at(r,"No window.location.(origin|href) available to create URL");let n=typeof t=="string"?t:Ud(t);return n=n.replace(/ $/,"%20"),!e&&n.startsWith("//")&&(n=r+n),new URL(n,r)}function qL(t,e,r="/"){return t5(t,e,r,!1)}function t5(t,e,r,n){let i=typeof e=="string"?ec(e):e,o=bo(i.pathname||"/",r);if(o==null)return null;let s=GL(t);r5(s);let a=null;for(let c=0;a==null&&c{let c={relativePath:a===void 0?o.path||"":a,caseSensitive:o.caseSensitive===!0,childrenIndex:s,route:o};c.relativePath.startsWith("/")&&(at(c.relativePath.startsWith(n),`Absolute route path "${c.relativePath}" nested under path "${n}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),c.relativePath=c.relativePath.slice(n.length));let u=so([n,c.relativePath]),d=r.concat(c);o.children&&o.children.length>0&&(at(o.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${u}".`),GL(o.children,e,d,u)),!(o.path==null&&!o.index)&&e.push({path:u,score:c5(u,o.index),routesMeta:d})};return t.forEach((o,s)=>{var a;if(o.path===""||!((a=o.path)!=null&&a.includes("?")))i(o,s);else for(let c of HL(o.path))i(o,s,c)}),e}function HL(t){let e=t.split("/");if(e.length===0)return[];let[r,...n]=e,i=r.endsWith("?"),o=r.replace(/\?$/,"");if(n.length===0)return i?[o,""]:[o];let s=HL(n.join("/")),a=[];return a.push(...s.map(c=>c===""?o:[o,c].join("/"))),i&&a.push(...s),a.map(c=>t.startsWith("/")&&c===""?"/":c)}function r5(t){t.sort((e,r)=>e.score!==r.score?r.score-e.score:u5(e.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}var n5=/^:[\w-]+$/,i5=3,o5=2,s5=1,a5=10,l5=-2,z1=t=>t==="*";function c5(t,e){let r=t.split("/"),n=r.length;return r.some(z1)&&(n+=l5),e&&(n+=o5),r.filter(i=>!z1(i)).reduce((i,o)=>i+(n5.test(o)?i5:o===""?s5:a5),n)}function u5(t,e){return t.length===e.length&&t.slice(0,-1).every((n,i)=>n===e[i])?t[t.length-1]-e[e.length-1]:0}function d5(t,e,r=!1){let{routesMeta:n}=t,i={},o="/",s=[];for(let a=0;a{if(d==="*"){let g=a[h]||"";s=o.slice(0,o.length-g.length).replace(/(.)\/+$/,"$1")}const m=a[h];return f&&!m?u[d]=void 0:u[d]=(m||"").replace(/%2F/g,"/"),u},{}),pathname:o,pathnameBase:s,pattern:t}}function f5(t,e=!1,r=!0){xi(t==="*"||!t.endsWith("*")||t.endsWith("/*"),`Route path "${t}" will be treated as if it were "${t.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${t.replace(/\*$/,"/*")}".`);let n=[],i="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,a,c)=>(n.push({paramName:a,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return t.endsWith("*")?(n.push({paramName:"*"}),i+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?i+="\\/*$":t!==""&&t!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,e?void 0:"i"),n]}function p5(t){try{return t.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return xi(!1,`The URL path "${t}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${e}).`),t}}function bo(t,e){if(e==="/")return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let r=e.endsWith("/")?e.length-1:e.length,n=t.charAt(r);return n&&n!=="/"?null:t.slice(r)||"/"}function h5(t,e="/"){let{pathname:r,search:n="",hash:i=""}=typeof t=="string"?ec(t):t;return{pathname:r?r.startsWith("/")?r:m5(r,e):e,search:b5(n),hash:v5(i)}}function m5(t,e){let r=e.replace(/\/+$/,"").split("/");return t.split("/").forEach(i=>{i===".."?r.length>1&&r.pop():i!=="."&&r.push(i)}),r.length>1?r.join("/"):"/"}function Tv(t,e,r,n){return`Cannot include a '${t}' character in a manually specified \`to.${e}\` field [${JSON.stringify(n)}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function y5(t){return t.filter((e,r)=>r===0||e.route.path&&e.route.path.length>0)}function WL(t){let e=y5(t);return e.map((r,n)=>n===e.length-1?r.pathname:r.pathnameBase)}function XL(t,e,r,n=!1){let i;typeof t=="string"?i=ec(t):(i={...t},at(!i.pathname||!i.pathname.includes("?"),Tv("?","pathname","search",i)),at(!i.pathname||!i.pathname.includes("#"),Tv("#","pathname","hash",i)),at(!i.search||!i.search.includes("#"),Tv("#","search","hash",i)));let o=t===""||i.pathname==="",s=o?"/":i.pathname,a;if(s==null)a=r;else{let f=e.length-1;if(!n&&s.startsWith("..")){let h=s.split("/");for(;h[0]==="..";)h.shift(),f-=1;i.pathname=h.join("/")}a=f>=0?e[f]:"/"}let c=h5(i,a),u=s&&s!=="/"&&s.endsWith("/"),d=(o||s===".")&&r.endsWith("/");return!c.pathname.endsWith("/")&&(u||d)&&(c.pathname+="/"),c}var so=t=>t.join("/").replace(/\/\/+/g,"/"),g5=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),b5=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,v5=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t;function E5(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}var JL=["POST","PUT","PATCH","DELETE"];new Set(JL);var w5=["GET",...JL];new Set(w5);var tc=k.createContext(null);tc.displayName="DataRouter";var Oy=k.createContext(null);Oy.displayName="DataRouterState";var ZL=k.createContext({isTransitioning:!1});ZL.displayName="ViewTransition";var x5=k.createContext(new Map);x5.displayName="Fetchers";var _5=k.createContext(null);_5.displayName="Await";var Ci=k.createContext(null);Ci.displayName="Navigation";var ff=k.createContext(null);ff.displayName="Location";var xo=k.createContext({outlet:null,matches:[],isDataRoute:!1});xo.displayName="Route";var sx=k.createContext(null);sx.displayName="RouteError";function R5(t,{relative:e}={}){at(pf(),"useHref() may be used only in the context of a component.");let{basename:r,navigator:n}=k.useContext(Ci),{hash:i,pathname:o,search:s}=hf(t,{relative:e}),a=o;return r!=="/"&&(a=o==="/"?r:so([r,o])),n.createHref({pathname:a,search:s,hash:i})}function pf(){return k.useContext(ff)!=null}function Va(){return at(pf(),"useLocation() may be used only in the context of a component."),k.useContext(ff).location}var QL="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function YL(t){k.useContext(Ci).static||k.useLayoutEffect(t)}function eD(){let{isDataRoute:t}=k.useContext(xo);return t?U5():A5()}function A5(){at(pf(),"useNavigate() may be used only in the context of a component.");let t=k.useContext(tc),{basename:e,navigator:r}=k.useContext(Ci),{matches:n}=k.useContext(xo),{pathname:i}=Va(),o=JSON.stringify(WL(n)),s=k.useRef(!1);return YL(()=>{s.current=!0}),k.useCallback((c,u={})=>{if(xi(s.current,QL),!s.current)return;if(typeof c=="number"){r.go(c);return}let d=XL(c,JSON.parse(o),i,u.relative==="path");t==null&&e!=="/"&&(d.pathname=d.pathname==="/"?e:so([e,d.pathname])),(u.replace?r.replace:r.push)(d,u.state,u)},[e,r,o,i,t])}k.createContext(null);function hf(t,{relative:e}={}){let{matches:r}=k.useContext(xo),{pathname:n}=Va(),i=JSON.stringify(WL(r));return k.useMemo(()=>XL(t,JSON.parse(i),n,e==="path"),[t,i,n,e])}function S5(t,e){return tD(t,e)}function tD(t,e,r,n){var y;at(pf(),"useRoutes() may be used only in the context of a component.");let{navigator:i}=k.useContext(Ci),{matches:o}=k.useContext(xo),s=o[o.length-1],a=s?s.params:{},c=s?s.pathname:"/",u=s?s.pathnameBase:"/",d=s&&s.route;{let b=d&&d.path||"";rD(c,!d||b.endsWith("*")||b.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${c}" (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 f=Va(),h;if(e){let b=typeof e=="string"?ec(e):e;at(u==="/"||((y=b.pathname)==null?void 0:y.startsWith(u)),`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 "${u}" but pathname "${b.pathname}" was given in the \`location\` prop.`),h=b}else h=f;let m=h.pathname||"/",g=m;if(u!=="/"){let b=u.replace(/^\//,"").split("/");g="/"+m.replace(/^\//,"").split("/").slice(b.length).join("/")}let v=qL(t,{pathname:g});xi(d||v!=null,`No routes matched location "${h.pathname}${h.search}${h.hash}" `),xi(v==null||v[v.length-1].route.element!==void 0||v[v.length-1].route.Component!==void 0||v[v.length-1].route.lazy!==void 0,`Matched leaf route at location "${h.pathname}${h.search}${h.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 w=L5(v&&v.map(b=>Object.assign({},b,{params:Object.assign({},a,b.params),pathname:so([u,i.encodeLocation?i.encodeLocation(b.pathname).pathname:b.pathname]),pathnameBase:b.pathnameBase==="/"?u:so([u,i.encodeLocation?i.encodeLocation(b.pathnameBase).pathname:b.pathnameBase])})),o,r,n);return e&&w?k.createElement(ff.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...h},navigationType:"POP"}},w):w}function C5(){let t=O5(),e=E5(t)?`${t.status} ${t.statusText}`:t instanceof Error?t.message:JSON.stringify(t),r=t instanceof Error?t.stack:null,n="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:n},o={padding:"2px 4px",backgroundColor:n},s=null;return console.error("Error handled by React Router default ErrorBoundary:",t),s=k.createElement(k.Fragment,null,k.createElement("p",null,"💿 Hey developer 👋"),k.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",k.createElement("code",{style:o},"ErrorBoundary")," or"," ",k.createElement("code",{style:o},"errorElement")," prop on your route.")),k.createElement(k.Fragment,null,k.createElement("h2",null,"Unexpected Application Error!"),k.createElement("h3",{style:{fontStyle:"italic"}},e),r?k.createElement("pre",{style:i},r):null,s)}var T5=k.createElement(C5,null),k5=class extends k.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,e){return e.location!==t.location||e.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:e.error,location:e.location,revalidation:t.revalidation||e.revalidation}}componentDidCatch(t,e){console.error("React Router caught the following error during render",t,e)}render(){return this.state.error!==void 0?k.createElement(xo.Provider,{value:this.props.routeContext},k.createElement(sx.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function P5({routeContext:t,match:e,children:r}){let n=k.useContext(tc);return n&&n.static&&n.staticContext&&(e.route.errorElement||e.route.ErrorBoundary)&&(n.staticContext._deepestRenderedBoundaryId=e.route.id),k.createElement(xo.Provider,{value:t},r)}function L5(t,e=[],r=null,n=null){if(t==null){if(!r)return null;if(r.errors)t=r.matches;else if(e.length===0&&!r.initialized&&r.matches.length>0)t=r.matches;else return null}let i=t,o=r==null?void 0:r.errors;if(o!=null){let c=i.findIndex(u=>u.route.id&&(o==null?void 0:o[u.route.id])!==void 0);at(c>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(o).join(",")}`),i=i.slice(0,Math.min(i.length,c+1))}let s=!1,a=-1;if(r)for(let c=0;c=0?i=i.slice(0,a+1):i=[i[0]];break}}}return i.reduceRight((c,u,d)=>{let f,h=!1,m=null,g=null;r&&(f=o&&u.route.id?o[u.route.id]:void 0,m=u.route.errorElement||T5,s&&(a<0&&d===0?(rD("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),h=!0,g=null):a===d&&(h=!0,g=u.route.hydrateFallbackElement||null)));let v=e.concat(i.slice(0,d+1)),w=()=>{let y;return f?y=m:h?y=g:u.route.Component?y=k.createElement(u.route.Component,null):u.route.element?y=u.route.element:y=c,k.createElement(P5,{match:u,routeContext:{outlet:c,matches:v,isDataRoute:r!=null},children:y})};return r&&(u.route.ErrorBoundary||u.route.errorElement||d===0)?k.createElement(k5,{location:r.location,revalidation:r.revalidation,component:m,error:f,children:w(),routeContext:{outlet:null,matches:v,isDataRoute:!0}}):w()},null)}function ax(t){return`${t} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function D5(t){let e=k.useContext(tc);return at(e,ax(t)),e}function B5(t){let e=k.useContext(Oy);return at(e,ax(t)),e}function I5(t){let e=k.useContext(xo);return at(e,ax(t)),e}function lx(t){let e=I5(t),r=e.matches[e.matches.length-1];return at(r.route.id,`${t} can only be used on routes that contain a unique "id"`),r.route.id}function j5(){return lx("useRouteId")}function O5(){var n;let t=k.useContext(sx),e=B5("useRouteError"),r=lx("useRouteError");return t!==void 0?t:(n=e.errors)==null?void 0:n[r]}function U5(){let{router:t}=D5("useNavigate"),e=lx("useNavigate"),r=k.useRef(!1);return YL(()=>{r.current=!0}),k.useCallback(async(i,o={})=>{xi(r.current,QL),r.current&&(typeof i=="number"?t.navigate(i):await t.navigate(i,{fromRouteId:e,...o}))},[t,e])}var F1={};function rD(t,e,r){!e&&!F1[t]&&(F1[t]=!0,xi(!1,r))}k.memo($5);function $5({routes:t,future:e,state:r}){return tD(t,void 0,r,e)}function Zh(t){at(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function V5({basename:t="/",children:e=null,location:r,navigationType:n="POP",navigator:i,static:o=!1}){at(!pf(),"You cannot render a inside another . You should never have more than one in your app.");let s=t.replace(/^\/*/,"/"),a=k.useMemo(()=>({basename:s,navigator:i,static:o,future:{}}),[s,i,o]);typeof r=="string"&&(r=ec(r));let{pathname:c="/",search:u="",hash:d="",state:f=null,key:h="default"}=r,m=k.useMemo(()=>{let g=bo(c,s);return g==null?null:{location:{pathname:g,search:u,hash:d,state:f,key:h},navigationType:n}},[s,c,u,d,f,h,n]);return xi(m!=null,` is not able to match the URL "${c}${u}${d}" because it does not start with the basename, so the won't render anything.`),m==null?null:k.createElement(Ci.Provider,{value:a},k.createElement(ff.Provider,{children:e,value:m}))}function K5({children:t,location:e}){return S5(gE(t),e)}function gE(t,e=[]){let r=[];return k.Children.forEach(t,(n,i)=>{if(!k.isValidElement(n))return;let o=[...e,i];if(n.type===k.Fragment){r.push.apply(r,gE(n.props.children,o));return}at(n.type===Zh,`[${typeof n.type=="string"?n.type:n.type.name}] is not a component. All component children of must be a or `),at(!n.props.index||!n.props.children,"An index route cannot have child routes.");let s={id:n.props.id||o.join("-"),caseSensitive:n.props.caseSensitive,element:n.props.element,Component:n.props.Component,index:n.props.index,path:n.props.path,loader:n.props.loader,action:n.props.action,hydrateFallbackElement:n.props.hydrateFallbackElement,HydrateFallback:n.props.HydrateFallback,errorElement:n.props.errorElement,ErrorBoundary:n.props.ErrorBoundary,hasErrorBoundary:n.props.hasErrorBoundary===!0||n.props.ErrorBoundary!=null||n.props.errorElement!=null,shouldRevalidate:n.props.shouldRevalidate,handle:n.props.handle,lazy:n.props.lazy};n.props.children&&(s.children=gE(n.props.children,o)),r.push(s)}),r}var Qh="get",Yh="application/x-www-form-urlencoded";function Uy(t){return t!=null&&typeof t.tagName=="string"}function M5(t){return Uy(t)&&t.tagName.toLowerCase()==="button"}function N5(t){return Uy(t)&&t.tagName.toLowerCase()==="form"}function z5(t){return Uy(t)&&t.tagName.toLowerCase()==="input"}function F5(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function q5(t,e){return t.button===0&&(!e||e==="_self")&&!F5(t)}var dh=null;function G5(){if(dh===null)try{new FormData(document.createElement("form"),0),dh=!1}catch{dh=!0}return dh}var H5=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function kv(t){return t!=null&&!H5.has(t)?(xi(!1,`"${t}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${Yh}"`),null):t}function W5(t,e){let r,n,i,o,s;if(N5(t)){let a=t.getAttribute("action");n=a?bo(a,e):null,r=t.getAttribute("method")||Qh,i=kv(t.getAttribute("enctype"))||Yh,o=new FormData(t)}else if(M5(t)||z5(t)&&(t.type==="submit"||t.type==="image")){let a=t.form;if(a==null)throw new Error('Cannot submit a