diff --git "a/frontend/dist/assets/index-UqKblgA6.js" "b/frontend/dist/assets/index-UqKblgA6.js" new file mode 100644--- /dev/null +++ "b/frontend/dist/assets/index-UqKblgA6.js" @@ -0,0 +1,213 @@ +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const a of i)if(a.type==="childList")for(const o of a.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const a={};return i.integrity&&(a.integrity=i.integrity),i.referrerPolicy&&(a.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?a.credentials="include":i.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(i){if(i.ep)return;i.ep=!0;const a=n(i);fetch(i.href,a)}})();var gi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function je(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var __={exports:{}},Nd={},A_={exports:{}},Ae={};/** + * @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 Tl=Symbol.for("react.element"),kI=Symbol.for("react.portal"),PI=Symbol.for("react.fragment"),NI=Symbol.for("react.strict_mode"),II=Symbol.for("react.profiler"),DI=Symbol.for("react.provider"),LI=Symbol.for("react.context"),MI=Symbol.for("react.forward_ref"),RI=Symbol.for("react.suspense"),$I=Symbol.for("react.memo"),jI=Symbol.for("react.lazy"),X1=Symbol.iterator;function BI(e){return e===null||typeof e!="object"?null:(e=X1&&e[X1]||e["@@iterator"],typeof e=="function"?e:null)}var O_={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C_=Object.assign,k_={};function qo(e,t,n){this.props=e,this.context=t,this.refs=k_,this.updater=n||O_}qo.prototype.isReactComponent={};qo.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=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,e,t,"setState")};qo.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function P_(){}P_.prototype=qo.prototype;function fy(e,t,n){this.props=e,this.context=t,this.refs=k_,this.updater=n||O_}var dy=fy.prototype=new P_;dy.constructor=fy;C_(dy,qo.prototype);dy.isPureReactComponent=!0;var Q1=Array.isArray,N_=Object.prototype.hasOwnProperty,hy={current:null},I_={key:!0,ref:!0,__self:!0,__source:!0};function D_(e,t,n){var r,i={},a=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(a=""+t.key),t)N_.call(t,r)&&!I_.hasOwnProperty(r)&&(i[r]=t[r]);var u=arguments.length-2;if(u===1)i.children=n;else if(1>>1,j=H[ie];if(0>>1;iei(he,A))lei(me,he)?(H[ie]=me,H[le]=A,ie=le):(H[ie]=he,H[ae]=A,ie=ae);else if(lei(me,A))H[ie]=me,H[le]=A,ie=le;else break e}}return V}function i(H,V){var A=H.sortIndex-V.sortIndex;return A!==0?A:H.id-V.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,u=o.now();e.unstable_now=function(){return o.now()-u}}var s=[],l=[],c=1,f=null,d=3,h=!1,p=!1,y=!1,E=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,v=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function b(H){for(var V=n(l);V!==null;){if(V.callback===null)r(l);else if(V.startTime<=H)r(l),V.sortIndex=V.expirationTime,t(s,V);else break;V=n(l)}}function S(H){if(y=!1,b(H),!p)if(n(s)!==null)p=!0,W(T);else{var V=n(l);V!==null&&G(S,V.startTime-H)}}function T(H,V){p=!1,y&&(y=!1,g(C),C=-1),h=!0;var A=d;try{for(b(V),f=n(s);f!==null&&(!(f.expirationTime>V)||H&&!k());){var ie=f.callback;if(typeof ie=="function"){f.callback=null,d=f.priorityLevel;var j=ie(f.expirationTime<=V);V=e.unstable_now(),typeof j=="function"?f.callback=j:f===n(s)&&r(s),b(V)}else r(s);f=n(s)}if(f!==null)var O=!0;else{var ae=n(l);ae!==null&&G(S,ae.startTime-V),O=!1}return O}finally{f=null,d=A,h=!1}}var x=!1,w=null,C=-1,I=5,_=-1;function k(){return!(e.unstable_now()-_H||125ie?(H.sortIndex=A,t(l,H),n(s)===null&&H===n(l)&&(y?(g(C),C=-1):y=!0,G(S,A-ie))):(H.sortIndex=j,t(s,H),p||h||(p=!0,W(T))),H},e.unstable_shouldYield=k,e.unstable_wrapCallback=function(H){var V=d;return function(){var A=d;d=V;try{return H.apply(this,arguments)}finally{d=A}}}})(j_);$_.exports=j_;var XI=$_.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 QI=M,Tn=XI;function ee(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"),wm=Object.prototype.hasOwnProperty,ZI=/^[: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]*$/,J1={},eb={};function JI(e){return wm.call(eb,e)?!0:wm.call(J1,e)?!1:ZI.test(e)?eb[e]=!0:(J1[e]=!0,!1)}function e3(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 t3(e,t,n,r){if(t===null||typeof t>"u"||e3(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 Jt(e,t,n,r,i,a,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=o}var Mt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Mt[e]=new Jt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Mt[t]=new Jt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Mt[e]=new Jt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Mt[e]=new Jt(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){Mt[e]=new Jt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Mt[e]=new Jt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Mt[e]=new Jt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Mt[e]=new Jt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Mt[e]=new Jt(e,5,!1,e.toLowerCase(),null,!1,!1)});var my=/[\-:]([a-z])/g;function gy(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(my,gy);Mt[t]=new Jt(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(my,gy);Mt[t]=new Jt(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(my,gy);Mt[t]=new Jt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Mt[e]=new Jt(e,1,!1,e.toLowerCase(),null,!1,!1)});Mt.xlinkHref=new Jt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Mt[e]=new Jt(e,1,!1,e.toLowerCase(),null,!0,!0)});function yy(e,t,n,r){var i=Mt.hasOwnProperty(t)?Mt[t]:null;(i!==null?i.type!==0:r||!(2u||i[o]!==a[u]){var s=` +`+i[o].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=o&&0<=u);break}}}finally{ep=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Wu(e):""}function n3(e){switch(e.tag){case 5:return Wu(e.type);case 16:return Wu("Lazy");case 13:return Wu("Suspense");case 19:return Wu("SuspenseList");case 0:case 2:case 15:return e=tp(e.type,!1),e;case 11:return e=tp(e.type.render,!1),e;case 1:return e=tp(e.type,!0),e;default:return""}}function Cm(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 za:return"Fragment";case Ha:return"Portal";case _m:return"Profiler";case vy:return"StrictMode";case Am:return"Suspense";case Om:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case U_:return(e.displayName||"Context")+".Consumer";case F_:return(e._context.displayName||"Context")+".Provider";case by:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ey:return t=e.displayName||null,t!==null?t:Cm(e.type)||"Memo";case li:t=e._payload,e=e._init;try{return Cm(e(t))}catch{}}return null}function r3(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 Cm(t);case 8:return t===vy?"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 Ni(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function z_(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function i3(e){var t=z_(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 i=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){r=""+o,a.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Jl(e){e._valueTracker||(e._valueTracker=i3(e))}function W_(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=z_(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Jc(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 km(e,t){var n=t.checked;return ot({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function nb(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Ni(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 Y_(e,t){t=t.checked,t!=null&&yy(e,"checked",t,!1)}function Pm(e,t){Y_(e,t);var n=Ni(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")?Nm(e,t.type,n):t.hasOwnProperty("defaultValue")&&Nm(e,t.type,Ni(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function rb(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 Nm(e,t,n){(t!=="number"||Jc(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Yu=Array.isArray;function io(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=ec.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function bs(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Xu={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},a3=["Webkit","ms","Moz","O"];Object.keys(Xu).forEach(function(e){a3.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Xu[t]=Xu[e]})});function K_(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Xu.hasOwnProperty(e)&&Xu[e]?(""+t).trim():t+"px"}function X_(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=K_(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var o3=ot({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 Lm(e,t){if(t){if(o3[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(ee(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(ee(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(ee(61))}if(t.style!=null&&typeof t.style!="object")throw Error(ee(62))}}function Mm(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 Rm=null;function xy(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var $m=null,ao=null,oo=null;function ob(e){if(e=_l(e)){if(typeof $m!="function")throw Error(ee(280));var t=e.stateNode;t&&(t=Rd(t),$m(e.stateNode,e.type,t))}}function Q_(e){ao?oo?oo.push(e):oo=[e]:ao=e}function Z_(){if(ao){var e=ao,t=oo;if(oo=ao=null,ob(e),t)for(e=0;e>>=0,e===0?32:31-(y3(e)/v3|0)|0}var tc=64,nc=4194304;function Vu(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 rf(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,a=e.pingedLanes,o=n&268435455;if(o!==0){var u=o&~i;u!==0?r=Vu(u):(a&=o,a!==0&&(r=Vu(a)))}else o=n&~i,o!==0?r=Vu(o):a!==0&&(r=Vu(a));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,a=t&-t,i>=a||i===16&&(a&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Sl(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-nr(t),e[t]=n}function T3(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=Zu),mb=" ",gb=!1;function vA(e,t){switch(e){case"keyup":return X3.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function bA(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Wa=!1;function Z3(e,t){switch(e){case"compositionend":return bA(t);case"keypress":return t.which!==32?null:(gb=!0,mb);case"textInput":return e=t.data,e===mb&&gb?null:e;default:return null}}function J3(e,t){if(Wa)return e==="compositionend"||!ky&&vA(e,t)?(e=gA(),jc=Ay=yi=null,Wa=!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=Eb(n)}}function SA(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?SA(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function wA(){for(var e=window,t=Jc();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Jc(e.document)}return t}function Py(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 sD(e){var t=wA(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&SA(n.ownerDocument.documentElement,n)){if(r!==null&&Py(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 i=n.textContent.length,a=Math.min(r.start,i);r=r.end===void 0?a:Math.min(r.end,i),!e.extend&&a>r&&(i=r,r=a,a=i),i=xb(n,a);var o=xb(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.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,Ya=null,zm=null,es=null,Wm=!1;function Tb(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Wm||Ya==null||Ya!==Jc(r)||(r=Ya,"selectionStart"in r&&Py(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}),es&&_s(es,r)||(es=r,r=uf(zm,"onSelect"),0Ga||(e.current=Xm[Ga],Xm[Ga]=null,Ga--)}function Ge(e,t){Ga++,Xm[Ga]=e.current,e.current=t}var Ii={},zt=Li(Ii),on=Li(!1),da=Ii;function yo(e,t){var n=e.type.contextTypes;if(!n)return Ii;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},a;for(a in n)i[a]=t[a];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function un(e){return e=e.childContextTypes,e!=null}function lf(){Ze(on),Ze(zt)}function kb(e,t,n){if(zt.current!==Ii)throw Error(ee(168));Ge(zt,t),Ge(on,n)}function DA(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(ee(108,r3(e)||"Unknown",i));return ot({},n,r)}function cf(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ii,da=zt.current,Ge(zt,e),Ge(on,on.current),!0}function Pb(e,t,n){var r=e.stateNode;if(!r)throw Error(ee(169));n?(e=DA(e,t,da),r.__reactInternalMemoizedMergedChildContext=e,Ze(on),Ze(zt),Ge(zt,e)):Ze(on),Ge(on,n)}var Dr=null,$d=!1,mp=!1;function LA(e){Dr===null?Dr=[e]:Dr.push(e)}function ED(e){$d=!0,LA(e)}function Mi(){if(!mp&&Dr!==null){mp=!0;var e=0,t=$e;try{var n=Dr;for($e=1;e>=o,i-=o,Mr=1<<32-nr(t)+i|n<C?(I=w,w=null):I=w.sibling;var _=d(g,w,b[C],S);if(_===null){w===null&&(w=I);break}e&&w&&_.alternate===null&&t(g,w),v=a(_,v,C),x===null?T=_:x.sibling=_,x=_,w=I}if(C===b.length)return n(g,w),et&&Vi(g,C),T;if(w===null){for(;CC?(I=w,w=null):I=w.sibling;var k=d(g,w,_.value,S);if(k===null){w===null&&(w=I);break}e&&w&&k.alternate===null&&t(g,w),v=a(k,v,C),x===null?T=k:x.sibling=k,x=k,w=I}if(_.done)return n(g,w),et&&Vi(g,C),T;if(w===null){for(;!_.done;C++,_=b.next())_=f(g,_.value,S),_!==null&&(v=a(_,v,C),x===null?T=_:x.sibling=_,x=_);return et&&Vi(g,C),T}for(w=r(g,w);!_.done;C++,_=b.next())_=h(w,g,C,_.value,S),_!==null&&(e&&_.alternate!==null&&w.delete(_.key===null?C:_.key),v=a(_,v,C),x===null?T=_:x.sibling=_,x=_);return e&&w.forEach(function(L){return t(g,L)}),et&&Vi(g,C),T}function E(g,v,b,S){if(typeof b=="object"&&b!==null&&b.type===za&&b.key===null&&(b=b.props.children),typeof b=="object"&&b!==null){switch(b.$$typeof){case Zl:e:{for(var T=b.key,x=v;x!==null;){if(x.key===T){if(T=b.type,T===za){if(x.tag===7){n(g,x.sibling),v=i(x,b.props.children),v.return=g,g=v;break e}}else if(x.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===li&&Db(T)===x.type){n(g,x.sibling),v=i(x,b.props),v.ref=Au(g,x,b),v.return=g,g=v;break e}n(g,x);break}else t(g,x);x=x.sibling}b.type===za?(v=ua(b.props.children,g.mode,S,b.key),v.return=g,g=v):(S=Vc(b.type,b.key,b.props,null,g.mode,S),S.ref=Au(g,v,b),S.return=g,g=S)}return o(g);case Ha:e:{for(x=b.key;v!==null;){if(v.key===x)if(v.tag===4&&v.stateNode.containerInfo===b.containerInfo&&v.stateNode.implementation===b.implementation){n(g,v.sibling),v=i(v,b.children||[]),v.return=g,g=v;break e}else{n(g,v);break}else t(g,v);v=v.sibling}v=Sp(b,g.mode,S),v.return=g,g=v}return o(g);case li:return x=b._init,E(g,v,x(b._payload),S)}if(Yu(b))return p(g,v,b,S);if(xu(b))return y(g,v,b,S);lc(g,b)}return typeof b=="string"&&b!==""||typeof b=="number"?(b=""+b,v!==null&&v.tag===6?(n(g,v.sibling),v=i(v,b),v.return=g,g=v):(n(g,v),v=Tp(b,g.mode,S),v.return=g,g=v),o(g)):n(g,v)}return E}var bo=jA(!0),BA=jA(!1),hf=Li(null),pf=null,Qa=null,Ly=null;function My(){Ly=Qa=pf=null}function Ry(e){var t=hf.current;Ze(hf),e._currentValue=t}function Jm(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 so(e,t){pf=e,Ly=Qa=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(rn=!0),e.firstContext=null)}function jn(e){var t=e._currentValue;if(Ly!==e)if(e={context:e,memoizedValue:t,next:null},Qa===null){if(pf===null)throw Error(ee(308));Qa=e,pf.dependencies={lanes:0,firstContext:e}}else Qa=Qa.next=e;return t}var Ji=null;function $y(e){Ji===null?Ji=[e]:Ji.push(e)}function FA(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,$y(t)):(n.next=i.next,i.next=n),t.interleaved=n,qr(e,r)}function qr(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 ci=!1;function jy(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function UA(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 Fr(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function _i(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Ie&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,qr(e,n)}return i=r.interleaved,i===null?(t.next=t,$y(r)):(t.next=i.next,i.next=t),r.interleaved=t,qr(e,n)}function Fc(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,Sy(e,n)}}function Lb(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,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 mf(e,t,n,r){var i=e.updateQueue;ci=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,u=i.shared.pending;if(u!==null){i.shared.pending=null;var s=u,l=s.next;s.next=null,o===null?a=l:o.next=l,o=s;var c=e.alternate;c!==null&&(c=c.updateQueue,u=c.lastBaseUpdate,u!==o&&(u===null?c.firstBaseUpdate=l:u.next=l,c.lastBaseUpdate=s))}if(a!==null){var f=i.baseState;o=0,c=l=s=null,u=a;do{var d=u.lane,h=u.eventTime;if((r&d)===d){c!==null&&(c=c.next={eventTime:h,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var p=e,y=u;switch(d=t,h=n,y.tag){case 1:if(p=y.payload,typeof p=="function"){f=p.call(h,f,d);break e}f=p;break e;case 3:p.flags=p.flags&-65537|128;case 0:if(p=y.payload,d=typeof p=="function"?p.call(h,f,d):p,d==null)break e;f=ot({},f,d);break e;case 2:ci=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,d=i.effects,d===null?i.effects=[u]:d.push(u))}else h={eventTime:h,lane:d,tag:u.tag,payload:u.payload,callback:u.callback,next:null},c===null?(l=c=h,s=f):c=c.next=h,o|=d;if(u=u.next,u===null){if(u=i.shared.pending,u===null)break;d=u,u=d.next,d.next=null,i.lastBaseUpdate=d,i.shared.pending=null}}while(!0);if(c===null&&(s=f),i.baseState=s,i.firstBaseUpdate=l,i.lastBaseUpdate=c,t=i.shared.interleaved,t!==null){i=t;do o|=i.lane,i=i.next;while(i!==t)}else a===null&&(i.shared.lanes=0);ma|=o,e.lanes=o,e.memoizedState=f}}function Mb(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=yp.transition;yp.transition={};try{e(!1),t()}finally{$e=n,yp.transition=r}}function i2(){return Bn().memoizedState}function wD(e,t,n){var r=Oi(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},a2(e))o2(t,n);else if(n=FA(e,t,n,r),n!==null){var i=Qt();rr(n,e,r,i),u2(n,t,r)}}function _D(e,t,n){var r=Oi(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(a2(e))o2(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,u=a(o,n);if(i.hasEagerState=!0,i.eagerState=u,ar(u,o)){var s=t.interleaved;s===null?(i.next=i,$y(t)):(i.next=s.next,s.next=i),t.interleaved=i;return}}catch{}finally{}n=FA(e,t,i,r),n!==null&&(i=Qt(),rr(n,e,r,i),u2(n,t,r))}}function a2(e){var t=e.alternate;return e===at||t!==null&&t===at}function o2(e,t){ts=yf=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function u2(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Sy(e,n)}}var vf={readContext:jn,useCallback:Rt,useContext:Rt,useEffect:Rt,useImperativeHandle:Rt,useInsertionEffect:Rt,useLayoutEffect:Rt,useMemo:Rt,useReducer:Rt,useRef:Rt,useState:Rt,useDebugValue:Rt,useDeferredValue:Rt,useTransition:Rt,useMutableSource:Rt,useSyncExternalStore:Rt,useId:Rt,unstable_isNewReconciler:!1},AD={readContext:jn,useCallback:function(e,t){return dr().memoizedState=[e,t===void 0?null:t],e},useContext:jn,useEffect:$b,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Hc(4194308,4,JA.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Hc(4194308,4,e,t)},useInsertionEffect:function(e,t){return Hc(4,2,e,t)},useMemo:function(e,t){var n=dr();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=dr();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=wD.bind(null,at,e),[r.memoizedState,e]},useRef:function(e){var t=dr();return e={current:e},t.memoizedState=e},useState:Rb,useDebugValue:Vy,useDeferredValue:function(e){return dr().memoizedState=e},useTransition:function(){var e=Rb(!1),t=e[0];return e=SD.bind(null,e[1]),dr().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=at,i=dr();if(et){if(n===void 0)throw Error(ee(407));n=n()}else{if(n=t(),Ot===null)throw Error(ee(349));pa&30||YA(r,t,n)}i.memoizedState=n;var a={value:n,getSnapshot:t};return i.queue=a,$b(qA.bind(null,r,a,e),[e]),r.flags|=2048,Ds(9,VA.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=dr(),t=Ot.identifierPrefix;if(et){var n=Rr,r=Mr;n=(r&~(1<<32-nr(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Ns++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[gr]=t,e[Cs]=r,y2(e,t,!1,!1),t.stateNode=e;e:{switch(o=Mm(n,r),n){case"dialog":Ke("cancel",e),Ke("close",e),i=r;break;case"iframe":case"object":case"embed":Ke("load",e),i=r;break;case"video":case"audio":for(i=0;iTo&&(t.flags|=128,r=!0,Ou(a,!1),t.lanes=4194304)}else{if(!r)if(e=gf(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Ou(a,!0),a.tail===null&&a.tailMode==="hidden"&&!o.alternate&&!et)return $t(t),null}else 2*lt()-a.renderingStartTime>To&&n!==1073741824&&(t.flags|=128,r=!0,Ou(a,!1),t.lanes=4194304);a.isBackwards?(o.sibling=t.child,t.child=o):(n=a.last,n!==null?n.sibling=o:t.child=o,a.last=o)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=lt(),t.sibling=null,n=it.current,Ge(it,r?n&1|2:n&1),t):($t(t),null);case 22:case 23:return Zy(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?gn&1073741824&&($t(t),t.subtreeFlags&6&&(t.flags|=8192)):$t(t),null;case 24:return null;case 25:return null}throw Error(ee(156,t.tag))}function LD(e,t){switch(Iy(t),t.tag){case 1:return un(t.type)&&lf(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Eo(),Ze(on),Ze(zt),Uy(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Fy(t),null;case 13:if(Ze(it),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(ee(340));vo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ze(it),null;case 4:return Eo(),null;case 10:return Ry(t.type._context),null;case 22:case 23:return Zy(),null;case 24:return null;default:return null}}var fc=!1,Bt=!1,MD=typeof WeakSet=="function"?WeakSet:Set,fe=null;function Za(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ut(e,t,r)}else n.current=null}function s0(e,t,n){try{n()}catch(r){ut(e,t,r)}}var Gb=!1;function RD(e,t){if(Ym=af,e=wA(),Py(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 i=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch{n=null;break e}var o=0,u=-1,s=-1,l=0,c=0,f=e,d=null;t:for(;;){for(var h;f!==n||i!==0&&f.nodeType!==3||(u=o+i),f!==a||r!==0&&f.nodeType!==3||(s=o+r),f.nodeType===3&&(o+=f.nodeValue.length),(h=f.firstChild)!==null;)d=f,f=h;for(;;){if(f===e)break t;if(d===n&&++l===i&&(u=o),d===a&&++c===r&&(s=o),(h=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=h}n=u===-1||s===-1?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(Vm={focusedElem:e,selectionRange:n},af=!1,fe=t;fe!==null;)if(t=fe,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,fe=e;else for(;fe!==null;){t=fe;try{var p=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(p!==null){var y=p.memoizedProps,E=p.memoizedState,g=t.stateNode,v=g.getSnapshotBeforeUpdate(t.elementType===t.type?y:Gn(t.type,y),E);g.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var b=t.stateNode.containerInfo;b.nodeType===1?b.textContent="":b.nodeType===9&&b.documentElement&&b.removeChild(b.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(ee(163))}}catch(S){ut(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,fe=e;break}fe=t.return}return p=Gb,Gb=!1,p}function ns(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var a=i.destroy;i.destroy=void 0,a!==void 0&&s0(t,n,a)}i=i.next}while(i!==r)}}function Fd(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 l0(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 E2(e){var t=e.alternate;t!==null&&(e.alternate=null,E2(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[gr],delete t[Cs],delete t[Km],delete t[vD],delete t[bD])),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 x2(e){return e.tag===5||e.tag===3||e.tag===4}function Kb(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||x2(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 c0(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=sf));else if(r!==4&&(e=e.child,e!==null))for(c0(e,t,n),e=e.sibling;e!==null;)c0(e,t,n),e=e.sibling}function f0(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(f0(e,t,n),e=e.sibling;e!==null;)f0(e,t,n),e=e.sibling}var Nt=null,Kn=!1;function ai(e,t,n){for(n=n.child;n!==null;)T2(e,t,n),n=n.sibling}function T2(e,t,n){if(vr&&typeof vr.onCommitFiberUnmount=="function")try{vr.onCommitFiberUnmount(Id,n)}catch{}switch(n.tag){case 5:Bt||Za(n,t);case 6:var r=Nt,i=Kn;Nt=null,ai(e,t,n),Nt=r,Kn=i,Nt!==null&&(Kn?(e=Nt,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Nt.removeChild(n.stateNode));break;case 18:Nt!==null&&(Kn?(e=Nt,n=n.stateNode,e.nodeType===8?pp(e.parentNode,n):e.nodeType===1&&pp(e,n),Ss(e)):pp(Nt,n.stateNode));break;case 4:r=Nt,i=Kn,Nt=n.stateNode.containerInfo,Kn=!0,ai(e,t,n),Nt=r,Kn=i;break;case 0:case 11:case 14:case 15:if(!Bt&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var a=i,o=a.destroy;a=a.tag,o!==void 0&&(a&2||a&4)&&s0(n,t,o),i=i.next}while(i!==r)}ai(e,t,n);break;case 1:if(!Bt&&(Za(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){ut(n,t,u)}ai(e,t,n);break;case 21:ai(e,t,n);break;case 22:n.mode&1?(Bt=(r=Bt)||n.memoizedState!==null,ai(e,t,n),Bt=r):ai(e,t,n);break;default:ai(e,t,n)}}function Xb(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new MD),t.forEach(function(r){var i=YD.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Vn(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=o),r&=~a}if(r=i,r=lt()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*jD(r/1960))-r,10e?16:e,vi===null)var r=!1;else{if(e=vi,vi=null,xf=0,Ie&6)throw Error(ee(331));var i=Ie;for(Ie|=4,fe=e.current;fe!==null;){var a=fe,o=a.child;if(fe.flags&16){var u=a.deletions;if(u!==null){for(var s=0;slt()-Xy?oa(e,0):Ky|=n),sn(e,t)}function P2(e,t){t===0&&(e.mode&1?(t=nc,nc<<=1,!(nc&130023424)&&(nc=4194304)):t=1);var n=Qt();e=qr(e,t),e!==null&&(Sl(e,t,n),sn(e,n))}function WD(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),P2(e,n)}function YD(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(ee(314))}r!==null&&r.delete(t),P2(e,n)}var N2;N2=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||on.current)rn=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return rn=!1,ID(e,t,n);rn=!!(e.flags&131072)}else rn=!1,et&&t.flags&1048576&&MA(t,df,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;zc(e,t),e=t.pendingProps;var i=yo(t,zt.current);so(t,n),i=zy(null,t,r,e,i,n);var a=Wy();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,un(r)?(a=!0,cf(t)):a=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,jy(t),i.updater=Bd,t.stateNode=i,i._reactInternals=t,t0(t,r,e,n),t=i0(null,t,r,!0,a,n)):(t.tag=0,et&&a&&Ny(t),Gt(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(zc(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=qD(r),e=Gn(r,e),i){case 0:t=r0(null,t,r,e,n);break e;case 1:t=Yb(null,t,r,e,n);break e;case 11:t=zb(null,t,r,e,n);break e;case 14:t=Wb(null,t,r,Gn(r.type,e),n);break e}throw Error(ee(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Gn(r,i),r0(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Gn(r,i),Yb(e,t,r,i,n);case 3:e:{if(p2(t),e===null)throw Error(ee(387));r=t.pendingProps,a=t.memoizedState,i=a.element,UA(e,t),mf(t,r,null,n);var o=t.memoizedState;if(r=o.element,a.isDehydrated)if(a={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){i=xo(Error(ee(423)),t),t=Vb(e,t,r,n,i);break e}else if(r!==i){i=xo(Error(ee(424)),t),t=Vb(e,t,r,n,i);break e}else for(bn=wi(t.stateNode.containerInfo.firstChild),En=t,et=!0,Zn=null,n=BA(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(vo(),r===i){t=Gr(e,t,n);break e}Gt(e,t,r,n)}t=t.child}return t;case 5:return HA(t),e===null&&Zm(t),r=t.type,i=t.pendingProps,a=e!==null?e.memoizedProps:null,o=i.children,qm(r,i)?o=null:a!==null&&qm(r,a)&&(t.flags|=32),h2(e,t),Gt(e,t,o,n),t.child;case 6:return e===null&&Zm(t),null;case 13:return m2(e,t,n);case 4:return By(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=bo(t,null,r,n):Gt(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Gn(r,i),zb(e,t,r,i,n);case 7:return Gt(e,t,t.pendingProps,n),t.child;case 8:return Gt(e,t,t.pendingProps.children,n),t.child;case 12:return Gt(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,a=t.memoizedProps,o=i.value,Ge(hf,r._currentValue),r._currentValue=o,a!==null)if(ar(a.value,o)){if(a.children===i.children&&!on.current){t=Gr(e,t,n);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var u=a.dependencies;if(u!==null){o=a.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(a.tag===1){s=Fr(-1,n&-n),s.tag=2;var l=a.updateQueue;if(l!==null){l=l.shared;var c=l.pending;c===null?s.next=s:(s.next=c.next,c.next=s),l.pending=s}}a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),Jm(a.return,n,t),u.lanes|=n;break}s=s.next}}else if(a.tag===10)o=a.type===t.type?null:a.child;else if(a.tag===18){if(o=a.return,o===null)throw Error(ee(341));o.lanes|=n,u=o.alternate,u!==null&&(u.lanes|=n),Jm(o,n,t),o=a.sibling}else o=a.child;if(o!==null)o.return=a;else for(o=a;o!==null;){if(o===t){o=null;break}if(a=o.sibling,a!==null){a.return=o.return,o=a;break}o=o.return}a=o}Gt(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,so(t,n),i=jn(i),r=r(i),t.flags|=1,Gt(e,t,r,n),t.child;case 14:return r=t.type,i=Gn(r,t.pendingProps),i=Gn(r.type,i),Wb(e,t,r,i,n);case 15:return f2(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Gn(r,i),zc(e,t),t.tag=1,un(r)?(e=!0,cf(t)):e=!1,so(t,n),s2(t,r,i),t0(t,r,i,n),i0(null,t,r,!0,e,n);case 19:return g2(e,t,n);case 22:return d2(e,t,n)}throw Error(ee(156,t.tag))};function I2(e,t){return aA(e,t)}function VD(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 Dn(e,t,n,r){return new VD(e,t,n,r)}function ev(e){return e=e.prototype,!(!e||!e.isReactComponent)}function qD(e){if(typeof e=="function")return ev(e)?1:0;if(e!=null){if(e=e.$$typeof,e===by)return 11;if(e===Ey)return 14}return 2}function Ci(e,t){var n=e.alternate;return n===null?(n=Dn(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 Vc(e,t,n,r,i,a){var o=2;if(r=e,typeof e=="function")ev(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case za:return ua(n.children,i,a,t);case vy:o=8,i|=8;break;case _m:return e=Dn(12,n,t,i|2),e.elementType=_m,e.lanes=a,e;case Am:return e=Dn(13,n,t,i),e.elementType=Am,e.lanes=a,e;case Om:return e=Dn(19,n,t,i),e.elementType=Om,e.lanes=a,e;case H_:return Hd(n,i,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case F_:o=10;break e;case U_:o=9;break e;case by:o=11;break e;case Ey:o=14;break e;case li:o=16,r=null;break e}throw Error(ee(130,e==null?e:typeof e,""))}return t=Dn(o,n,t,i),t.elementType=e,t.type=r,t.lanes=a,t}function ua(e,t,n,r){return e=Dn(7,e,r,t),e.lanes=n,e}function Hd(e,t,n,r){return e=Dn(22,e,r,t),e.elementType=H_,e.lanes=n,e.stateNode={isHidden:!1},e}function Tp(e,t,n){return e=Dn(6,e,null,t),e.lanes=n,e}function Sp(e,t,n){return t=Dn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function GD(e,t,n,r,i){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=rp(0),this.expirationTimes=rp(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=rp(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function tv(e,t,n,r,i,a,o,u,s){return e=new GD(e,t,n,u,s),t===1?(t=1,a===!0&&(t|=8)):t=0,a=Dn(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},jy(a),e}function KD(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(R2)}catch(e){console.error(e)}}R2(),R_.exports=wn;var eL=R_.exports,iE=eL;Sm.createRoot=iE.createRoot,Sm.hydrateRoot=iE.hydrateRoot;var av={};Object.defineProperty(av,"__esModule",{value:!0});av.parse=uL;av.serialize=sL;const tL=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,nL=/^[\u0021-\u003A\u003C-\u007E]*$/,rL=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,iL=/^[\u0020-\u003A\u003D-\u007E]*$/,aL=Object.prototype.toString,oL=(()=>{const e=function(){};return e.prototype=Object.create(null),e})();function uL(e,t){const n=new oL,r=e.length;if(r<2)return n;const i=(t==null?void 0:t.decode)||lL;let a=0;do{const o=e.indexOf("=",a);if(o===-1)break;const u=e.indexOf(";",a),s=u===-1?r:u;if(o>s){a=e.lastIndexOf(";",o-1)+1;continue}const l=aE(e,a,o),c=oE(e,o,l),f=e.slice(l,c);if(n[f]===void 0){let d=aE(e,o+1,s),h=oE(e,s,d);const p=i(e.slice(d,h));n[f]=p}a=s+1}while(an;){const r=e.charCodeAt(--t);if(r!==32&&r!==9)return t+1}return n}function sL(e,t,n){const r=(n==null?void 0:n.encode)||encodeURIComponent;if(!tL.test(e))throw new TypeError(`argument name is invalid: ${e}`);const i=r(t);if(!nL.test(i))throw new TypeError(`argument val is invalid: ${t}`);let a=e+"="+i;if(!n)return a;if(n.maxAge!==void 0){if(!Number.isInteger(n.maxAge))throw new TypeError(`option maxAge is invalid: ${n.maxAge}`);a+="; Max-Age="+n.maxAge}if(n.domain){if(!rL.test(n.domain))throw new TypeError(`option domain is invalid: ${n.domain}`);a+="; Domain="+n.domain}if(n.path){if(!iL.test(n.path))throw new TypeError(`option path is invalid: ${n.path}`);a+="; Path="+n.path}if(n.expires){if(!cL(n.expires)||!Number.isFinite(n.expires.valueOf()))throw new TypeError(`option expires is invalid: ${n.expires}`);a+="; Expires="+n.expires.toUTCString()}if(n.httpOnly&&(a+="; HttpOnly"),n.secure&&(a+="; Secure"),n.partitioned&&(a+="; Partitioned"),n.priority)switch(typeof n.priority=="string"?n.priority.toLowerCase():void 0){case"low":a+="; Priority=Low";break;case"medium":a+="; Priority=Medium";break;case"high":a+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${n.priority}`)}if(n.sameSite)switch(typeof n.sameSite=="string"?n.sameSite.toLowerCase():n.sameSite){case!0:case"strict":a+="; SameSite=Strict";break;case"lax":a+="; SameSite=Lax";break;case"none":a+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${n.sameSite}`)}return a}function lL(e){if(e.indexOf("%")===-1)return e;try{return decodeURIComponent(e)}catch{return e}}function cL(e){return aL.call(e)==="[object Date]"}var uE="popstate";function fL(e={}){function t(r,i){let{pathname:a,search:o,hash:u}=r.location;return g0("",{pathname:a,search:o,hash:u},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:Ms(i)}return hL(t,n,null,e)}function nt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function or(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function dL(){return Math.random().toString(36).substring(2,10)}function sE(e,t){return{usr:e.state,key:e.key,idx:t}}function g0(e,t,n=null,r){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?Xo(t):t,state:n,key:t&&t.key||r||dL()}}function Ms({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function Xo(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function hL(e,t,n,r={}){let{window:i=document.defaultView,v5Compat:a=!1}=r,o=i.history,u="POP",s=null,l=c();l==null&&(l=0,o.replaceState({...o.state,idx:l},""));function c(){return(o.state||{idx:null}).idx}function f(){u="POP";let E=c(),g=E==null?null:E-l;l=E,s&&s({action:u,location:y.location,delta:g})}function d(E,g){u="PUSH";let v=g0(y.location,E,g);l=c()+1;let b=sE(v,l),S=y.createHref(v);try{o.pushState(b,"",S)}catch(T){if(T instanceof DOMException&&T.name==="DataCloneError")throw T;i.location.assign(S)}a&&s&&s({action:u,location:y.location,delta:1})}function h(E,g){u="REPLACE";let v=g0(y.location,E,g);l=c();let b=sE(v,l),S=y.createHref(v);o.replaceState(b,"",S),a&&s&&s({action:u,location:y.location,delta:0})}function p(E){return pL(E)}let y={get action(){return u},get location(){return e(i,o)},listen(E){if(s)throw new Error("A history only accepts one active listener");return i.addEventListener(uE,f),s=E,()=>{i.removeEventListener(uE,f),s=null}},createHref(E){return t(i,E)},createURL:p,encodeLocation(E){let g=p(E);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:d,replace:h,go(E){return o.go(E)}};return y}function pL(e,t=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),nt(n,"No window.location.(origin|href) available to create URL");let r=typeof e=="string"?e:Ms(e);return r=r.replace(/ $/,"%20"),!t&&r.startsWith("//")&&(r=n+r),new URL(r,n)}function $2(e,t,n="/"){return mL(e,t,n,!1)}function mL(e,t,n,r){let i=typeof t=="string"?Xo(t):t,a=Kr(i.pathname||"/",n);if(a==null)return null;let o=j2(e);gL(o);let u=null;for(let s=0;u==null&&s{let s={relativePath:u===void 0?a.path||"":u,caseSensitive:a.caseSensitive===!0,childrenIndex:o,route:a};s.relativePath.startsWith("/")&&(nt(s.relativePath.startsWith(r),`Absolute route path "${s.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),s.relativePath=s.relativePath.slice(r.length));let l=Ur([r,s.relativePath]),c=n.concat(s);a.children&&a.children.length>0&&(nt(a.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${l}".`),j2(a.children,t,c,l)),!(a.path==null&&!a.index)&&t.push({path:l,score:SL(l,a.index),routesMeta:c})};return e.forEach((a,o)=>{var u;if(a.path===""||!((u=a.path)!=null&&u.includes("?")))i(a,o);else for(let s of B2(a.path))i(a,o,s)}),t}function B2(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),a=n.replace(/\?$/,"");if(r.length===0)return i?[a,""]:[a];let o=B2(r.join("/")),u=[];return u.push(...o.map(s=>s===""?a:[a,s].join("/"))),i&&u.push(...o),u.map(s=>e.startsWith("/")&&s===""?"/":s)}function gL(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:wL(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var yL=/^:[\w-]+$/,vL=3,bL=2,EL=1,xL=10,TL=-2,lE=e=>e==="*";function SL(e,t){let n=e.split("/"),r=n.length;return n.some(lE)&&(r+=TL),t&&(r+=bL),n.filter(i=>!lE(i)).reduce((i,a)=>i+(yL.test(a)?vL:a===""?EL:xL),r)}function wL(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function _L(e,t,n=!1){let{routesMeta:r}=e,i={},a="/",o=[];for(let u=0;u{if(c==="*"){let p=u[d]||"";o=a.slice(0,a.length-p.length).replace(/(.)\/+$/,"$1")}const h=u[d];return f&&!h?l[c]=void 0:l[c]=(h||"").replace(/%2F/g,"/"),l},{}),pathname:a,pathnameBase:o,pattern:e}}function AL(e,t=!1,n=!0){or(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,u,s)=>(r.push({paramName:u,isOptional:s!=null}),s?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function OL(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return or(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function Kr(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function CL(e,t="/"){let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?Xo(e):e;return{pathname:n?n.startsWith("/")?n:kL(n,t):t,search:IL(r),hash:DL(i)}}function kL(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function wp(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function PL(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function ov(e){let t=PL(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function uv(e,t,n,r=!1){let i;typeof e=="string"?i=Xo(e):(i={...e},nt(!i.pathname||!i.pathname.includes("?"),wp("?","pathname","search",i)),nt(!i.pathname||!i.pathname.includes("#"),wp("#","pathname","hash",i)),nt(!i.search||!i.search.includes("#"),wp("#","search","hash",i)));let a=e===""||i.pathname==="",o=a?"/":i.pathname,u;if(o==null)u=n;else{let f=t.length-1;if(!r&&o.startsWith("..")){let d=o.split("/");for(;d[0]==="..";)d.shift(),f-=1;i.pathname=d.join("/")}u=f>=0?t[f]:"/"}let s=CL(i,u),l=o&&o!=="/"&&o.endsWith("/"),c=(a||o===".")&&n.endsWith("/");return!s.pathname.endsWith("/")&&(l||c)&&(s.pathname+="/"),s}var Ur=e=>e.join("/").replace(/\/\/+/g,"/"),NL=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),IL=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,DL=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function LL(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var F2=["POST","PUT","PATCH","DELETE"];new Set(F2);var ML=["GET",...F2];new Set(ML);var Qo=M.createContext(null);Qo.displayName="DataRouter";var qd=M.createContext(null);qd.displayName="DataRouterState";var U2=M.createContext({isTransitioning:!1});U2.displayName="ViewTransition";var RL=M.createContext(new Map);RL.displayName="Fetchers";var $L=M.createContext(null);$L.displayName="Await";var ur=M.createContext(null);ur.displayName="Navigation";var Ol=M.createContext(null);Ol.displayName="Location";var wr=M.createContext({outlet:null,matches:[],isDataRoute:!1});wr.displayName="Route";var sv=M.createContext(null);sv.displayName="RouteError";function jL(e,{relative:t}={}){nt(Zo(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:r}=M.useContext(ur),{hash:i,pathname:a,search:o}=Cl(e,{relative:t}),u=a;return n!=="/"&&(u=a==="/"?n:Ur([n,a])),r.createHref({pathname:u,search:o,hash:i})}function Zo(){return M.useContext(Ol)!=null}function _r(){return nt(Zo(),"useLocation() may be used only in the context of a component."),M.useContext(Ol).location}var H2="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function z2(e){M.useContext(ur).static||M.useLayoutEffect(e)}function Gd(){let{isDataRoute:e}=M.useContext(wr);return e?QL():BL()}function BL(){nt(Zo(),"useNavigate() may be used only in the context of a component.");let e=M.useContext(Qo),{basename:t,navigator:n}=M.useContext(ur),{matches:r}=M.useContext(wr),{pathname:i}=_r(),a=JSON.stringify(ov(r)),o=M.useRef(!1);return z2(()=>{o.current=!0}),M.useCallback((s,l={})=>{if(or(o.current,H2),!o.current)return;if(typeof s=="number"){n.go(s);return}let c=uv(s,JSON.parse(a),i,l.relative==="path");e==null&&t!=="/"&&(c.pathname=c.pathname==="/"?t:Ur([t,c.pathname])),(l.replace?n.replace:n.push)(c,l.state,l)},[t,n,a,i,e])}M.createContext(null);function Cl(e,{relative:t}={}){let{matches:n}=M.useContext(wr),{pathname:r}=_r(),i=JSON.stringify(ov(n));return M.useMemo(()=>uv(e,JSON.parse(i),r,t==="path"),[e,i,r,t])}function FL(e,t){return W2(e,t)}function W2(e,t,n,r){var g;nt(Zo(),"useRoutes() may be used only in the context of a component.");let{navigator:i}=M.useContext(ur),{matches:a}=M.useContext(wr),o=a[a.length-1],u=o?o.params:{},s=o?o.pathname:"/",l=o?o.pathnameBase:"/",c=o&&o.route;{let v=c&&c.path||"";Y2(s,!c||v.endsWith("*")||v.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${s}" (under ) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. + +Please change the parent to .`)}let f=_r(),d;if(t){let v=typeof t=="string"?Xo(t):t;nt(l==="/"||((g=v.pathname)==null?void 0:g.startsWith(l)),`When overriding the location using \`\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${l}" but pathname "${v.pathname}" was given in the \`location\` prop.`),d=v}else d=f;let h=d.pathname||"/",p=h;if(l!=="/"){let v=l.replace(/^\//,"").split("/");p="/"+h.replace(/^\//,"").split("/").slice(v.length).join("/")}let y=$2(e,{pathname:p});or(c||y!=null,`No routes matched location "${d.pathname}${d.search}${d.hash}" `),or(y==null||y[y.length-1].route.element!==void 0||y[y.length-1].route.Component!==void 0||y[y.length-1].route.lazy!==void 0,`Matched leaf route at location "${d.pathname}${d.search}${d.hash}" does not have an element or Component. This means it will render an with a null value by default resulting in an "empty" page.`);let E=YL(y&&y.map(v=>Object.assign({},v,{params:Object.assign({},u,v.params),pathname:Ur([l,i.encodeLocation?i.encodeLocation(v.pathname).pathname:v.pathname]),pathnameBase:v.pathnameBase==="/"?l:Ur([l,i.encodeLocation?i.encodeLocation(v.pathnameBase).pathname:v.pathnameBase])})),a,n,r);return t&&E?M.createElement(Ol.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...d},navigationType:"POP"}},E):E}function UL(){let e=XL(),t=LL(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:r},a={padding:"2px 4px",backgroundColor:r},o=null;return console.error("Error handled by React Router default ErrorBoundary:",e),o=M.createElement(M.Fragment,null,M.createElement("p",null,"💿 Hey developer 👋"),M.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",M.createElement("code",{style:a},"ErrorBoundary")," or"," ",M.createElement("code",{style:a},"errorElement")," prop on your route.")),M.createElement(M.Fragment,null,M.createElement("h2",null,"Unexpected Application Error!"),M.createElement("h3",{style:{fontStyle:"italic"}},t),n?M.createElement("pre",{style:i},n):null,o)}var HL=M.createElement(UL,null),zL=class extends M.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error!==void 0?M.createElement(wr.Provider,{value:this.props.routeContext},M.createElement(sv.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function WL({routeContext:e,match:t,children:n}){let r=M.useContext(Qo);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),M.createElement(wr.Provider,{value:e},n)}function YL(e,t=[],n=null,r=null){if(e==null){if(!n)return null;if(n.errors)e=n.matches;else if(t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let i=e,a=n==null?void 0:n.errors;if(a!=null){let s=i.findIndex(l=>l.route.id&&(a==null?void 0:a[l.route.id])!==void 0);nt(s>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`),i=i.slice(0,Math.min(i.length,s+1))}let o=!1,u=-1;if(n)for(let s=0;s=0?i=i.slice(0,u+1):i=[i[0]];break}}}return i.reduceRight((s,l,c)=>{let f,d=!1,h=null,p=null;n&&(f=a&&l.route.id?a[l.route.id]:void 0,h=l.route.errorElement||HL,o&&(u<0&&c===0?(Y2("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),d=!0,p=null):u===c&&(d=!0,p=l.route.hydrateFallbackElement||null)));let y=t.concat(i.slice(0,c+1)),E=()=>{let g;return f?g=h:d?g=p:l.route.Component?g=M.createElement(l.route.Component,null):l.route.element?g=l.route.element:g=s,M.createElement(WL,{match:l,routeContext:{outlet:s,matches:y,isDataRoute:n!=null},children:g})};return n&&(l.route.ErrorBoundary||l.route.errorElement||c===0)?M.createElement(zL,{location:n.location,revalidation:n.revalidation,component:h,error:f,children:E(),routeContext:{outlet:null,matches:y,isDataRoute:!0}}):E()},null)}function lv(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function VL(e){let t=M.useContext(Qo);return nt(t,lv(e)),t}function qL(e){let t=M.useContext(qd);return nt(t,lv(e)),t}function GL(e){let t=M.useContext(wr);return nt(t,lv(e)),t}function cv(e){let t=GL(e),n=t.matches[t.matches.length-1];return nt(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function KL(){return cv("useRouteId")}function XL(){var r;let e=M.useContext(sv),t=qL("useRouteError"),n=cv("useRouteError");return e!==void 0?e:(r=t.errors)==null?void 0:r[n]}function QL(){let{router:e}=VL("useNavigate"),t=cv("useNavigate"),n=M.useRef(!1);return z2(()=>{n.current=!0}),M.useCallback(async(i,a={})=>{or(n.current,H2),n.current&&(typeof i=="number"?e.navigate(i):await e.navigate(i,{fromRouteId:t,...a}))},[e,t])}var cE={};function Y2(e,t,n){!t&&!cE[e]&&(cE[e]=!0,or(!1,n))}M.memo(ZL);function ZL({routes:e,future:t,state:n}){return W2(e,void 0,n,t)}function fE({to:e,replace:t,state:n,relative:r}){nt(Zo()," may be used only in the context of a component.");let{static:i}=M.useContext(ur);or(!i," must not be used on the initial render in a . This is a no-op, but you should modify your code so the is only ever rendered in response to some user interaction or state change.");let{matches:a}=M.useContext(wr),{pathname:o}=_r(),u=Gd(),s=uv(e,ov(a),o,r==="path"),l=JSON.stringify(s);return M.useEffect(()=>{u(JSON.parse(l),{replace:t,state:n,relative:r})},[u,l,r,t,n]),null}function fr(e){nt(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function JL({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:i,static:a=!1}){nt(!Zo(),"You cannot render a inside another . You should never have more than one in your app.");let o=e.replace(/^\/*/,"/"),u=M.useMemo(()=>({basename:o,navigator:i,static:a,future:{}}),[o,i,a]);typeof n=="string"&&(n=Xo(n));let{pathname:s="/",search:l="",hash:c="",state:f=null,key:d="default"}=n,h=M.useMemo(()=>{let p=Kr(s,o);return p==null?null:{location:{pathname:p,search:l,hash:c,state:f,key:d},navigationType:r}},[o,s,l,c,f,d,r]);return or(h!=null,` is not able to match the URL "${s}${l}${c}" because it does not start with the basename, so the won't render anything.`),h==null?null:M.createElement(ur.Provider,{value:u},M.createElement(Ol.Provider,{children:t,value:h}))}function eM({children:e,location:t}){return FL(y0(e),t)}function y0(e,t=[]){let n=[];return M.Children.forEach(e,(r,i)=>{if(!M.isValidElement(r))return;let a=[...t,i];if(r.type===M.Fragment){n.push.apply(n,y0(r.props.children,a));return}nt(r.type===fr,`[${typeof r.type=="string"?r.type:r.type.name}] is not a component. All component children of must be a or `),nt(!r.props.index||!r.props.children,"An index route cannot have child routes.");let o={id:r.props.id||a.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=y0(r.props.children,a)),n.push(o)}),n}var qc="get",Gc="application/x-www-form-urlencoded";function Kd(e){return e!=null&&typeof e.tagName=="string"}function tM(e){return Kd(e)&&e.tagName.toLowerCase()==="button"}function nM(e){return Kd(e)&&e.tagName.toLowerCase()==="form"}function rM(e){return Kd(e)&&e.tagName.toLowerCase()==="input"}function iM(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function aM(e,t){return e.button===0&&(!t||t==="_self")&&!iM(e)}var pc=null;function oM(){if(pc===null)try{new FormData(document.createElement("form"),0),pc=!1}catch{pc=!0}return pc}var uM=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function _p(e){return e!=null&&!uM.has(e)?(or(!1,`"${e}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${Gc}"`),null):e}function sM(e,t){let n,r,i,a,o;if(nM(e)){let u=e.getAttribute("action");r=u?Kr(u,t):null,n=e.getAttribute("method")||qc,i=_p(e.getAttribute("enctype"))||Gc,a=new FormData(e)}else if(tM(e)||rM(e)&&(e.type==="submit"||e.type==="image")){let u=e.form;if(u==null)throw new Error('Cannot submit a