diff --git a/dependabot/npm_and_yarn/vite-150fe9828a/.htaccess b/dependabot/npm_and_yarn/vite-150fe9828a/.htaccess new file mode 100644 index 00000000..680e1a5e --- /dev/null +++ b/dependabot/npm_and_yarn/vite-150fe9828a/.htaccess @@ -0,0 +1,16 @@ +RewriteEngine on +RewriteBase / + +# do not do anything for already existing files +RewriteCond %{REQUEST_FILENAME} -f [OR] +RewriteCond %{REQUEST_FILENAME} -l [OR] +RewriteCond %{REQUEST_FILENAME} -d +RewriteRule (.*) - [L] + +# if request is no valid file NOR directory +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +# if static asset do not do anything +RewriteRule (.*)(css|js|html|png|jpe?g|gif|bmp|ico|json|csv|otf|eot|svg|svgz|ttf|woff|woff2|ijmap|pdf|tif|map) - [NC,L,R=404] +# everything else should be redirected to /index.html so it can be routed by it +RewriteRule (.*) /index.html [L] diff --git a/dependabot/npm_and_yarn/vite-150fe9828a/assets/index-CXpyVz0G.js b/dependabot/npm_and_yarn/vite-150fe9828a/assets/index-CXpyVz0G.js new file mode 100644 index 00000000..f17cc2e6 --- /dev/null +++ b/dependabot/npm_and_yarn/vite-150fe9828a/assets/index-CXpyVz0G.js @@ -0,0 +1,821 @@ +var mH=Object.defineProperty;var Hk=e=>{throw TypeError(e)};var vH=(e,t,r)=>t in e?mH(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var qc=(e,t,r)=>vH(e,typeof t!="symbol"?t+"":t,r),Gk=(e,t,r)=>t.has(e)||Hk("Cannot "+r);var Eh=(e,t,r)=>(Gk(e,t,"read from private field"),r?r.call(e):t.get(e)),jh=(e,t,r)=>t.has(e)?Hk("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),Th=(e,t,r,n)=>(Gk(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(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"&&n(o)}).observe(document,{childList:!0,subtree:!0});function r(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 n(i){if(i.ep)return;i.ep=!0;const a=r(i);fetch(i.href,a)}})();var yg=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function kt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var X1={exports:{}},Ah={},Q1={exports:{}},Et={};/** + * @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 Kk;function gH(){if(Kk)return Et;Kk=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),o=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),l=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),p=Symbol.iterator;function g(k){return k===null||typeof k!="object"?null:(k=p&&k[p]||k["@@iterator"],typeof k=="function"?k:null)}var _={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w=Object.assign,b={};function x(k,Z,Q){this.props=k,this.context=Z,this.refs=b,this.updater=Q||_}x.prototype.isReactComponent={},x.prototype.setState=function(k,Z){if(typeof k!="object"&&typeof k!="function"&&k!=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,k,Z,"setState")},x.prototype.forceUpdate=function(k){this.updater.enqueueForceUpdate(this,k,"forceUpdate")};function S(){}S.prototype=x.prototype;function O(k,Z,Q){this.props=k,this.context=Z,this.refs=b,this.updater=Q||_}var E=O.prototype=new S;E.constructor=O,w(E,x.prototype),E.isPureReactComponent=!0;var j=Array.isArray,A=Object.prototype.hasOwnProperty,T={current:null},M={key:!0,ref:!0,__self:!0,__source:!0};function q(k,Z,Q){var ae,fe={},de=null,ve=null;if(Z!=null)for(ae in Z.ref!==void 0&&(ve=Z.ref),Z.key!==void 0&&(de=""+Z.key),Z)A.call(Z,ae)&&!M.hasOwnProperty(ae)&&(fe[ae]=Z[ae]);var D=arguments.length-2;if(D===1)fe.children=Q;else if(1>>1,Z=I[k];if(0>>1;ki(fe,B))dei(ve,fe)?(I[k]=ve,I[de]=B,k=de):(I[k]=fe,I[ae]=B,k=ae);else if(dei(ve,B))I[k]=ve,I[de]=B,k=de;else break e}}return F}function i(I,F){var B=I.sortIndex-F.sortIndex;return B!==0?B:I.id-F.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var u=[],l=[],h=1,p=null,g=3,_=!1,w=!1,b=!1,x=typeof setTimeout=="function"?setTimeout:null,S=typeof clearTimeout=="function"?clearTimeout:null,O=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(I){for(var F=r(l);F!==null;){if(F.callback===null)n(l);else if(F.startTime<=I)n(l),F.sortIndex=F.expirationTime,t(u,F);else break;F=r(l)}}function j(I){if(b=!1,E(I),!w)if(r(u)!==null)w=!0,re(A);else{var F=r(l);F!==null&&U(j,F.startTime-I)}}function A(I,F){w=!1,b&&(b=!1,S(q),q=-1),_=!0;var B=g;try{for(E(F),p=r(u);p!==null&&(!(p.expirationTime>F)||I&&!K());){var k=p.callback;if(typeof k=="function"){p.callback=null,g=p.priorityLevel;var Z=k(p.expirationTime<=F);F=e.unstable_now(),typeof Z=="function"?p.callback=Z:p===r(u)&&n(u),E(F)}else n(u);p=r(u)}if(p!==null)var Q=!0;else{var ae=r(l);ae!==null&&U(j,ae.startTime-F),Q=!1}return Q}finally{p=null,g=B,_=!1}}var T=!1,M=null,q=-1,W=5,H=-1;function K(){return!(e.unstable_now()-HI||125k?(I.sortIndex=B,t(l,I),r(u)===null&&I===r(l)&&(b?(S(q),q=-1):b=!0,U(j,B-k))):(I.sortIndex=Z,t(u,I),w||_||(w=!0,re(A))),I},e.unstable_shouldYield=K,e.unstable_wrapCallback=function(I){var F=g;return function(){var B=g;g=F;try{return I.apply(this,arguments)}finally{g=B}}}}(tw)),tw}var Jk;function wH(){return Jk||(Jk=1,ew.exports=_H()),ew.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 e4;function xH(){if(e4)return Hn;e4=1;var e=lb(),t=wH();function r(c){for(var d="https://reactjs.org/docs/error-decoder.html?invariant="+c,y=1;y"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),u=Object.prototype.hasOwnProperty,l=/^[: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]*$/,h={},p={};function g(c){return u.call(p,c)?!0:u.call(h,c)?!1:l.test(c)?p[c]=!0:(h[c]=!0,!1)}function _(c,d,y,P){if(y!==null&&y.type===0)return!1;switch(typeof d){case"function":case"symbol":return!0;case"boolean":return P?!1:y!==null?!y.acceptsBooleans:(c=c.toLowerCase().slice(0,5),c!=="data-"&&c!=="aria-");default:return!1}}function w(c,d,y,P){if(d===null||typeof d>"u"||_(c,d,y,P))return!0;if(P)return!1;if(y!==null)switch(y.type){case 3:return!d;case 4:return d===!1;case 5:return isNaN(d);case 6:return isNaN(d)||1>d}return!1}function b(c,d,y,P,R,V,oe){this.acceptsBooleans=d===2||d===3||d===4,this.attributeName=P,this.attributeNamespace=R,this.mustUseProperty=y,this.propertyName=c,this.type=d,this.sanitizeURL=V,this.removeEmptyString=oe}var x={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(c){x[c]=new b(c,0,!1,c,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(c){var d=c[0];x[d]=new b(d,1,!1,c[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(c){x[c]=new b(c,2,!1,c.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(c){x[c]=new b(c,2,!1,c,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(c){x[c]=new b(c,3,!1,c.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(c){x[c]=new b(c,3,!0,c,null,!1,!1)}),["capture","download"].forEach(function(c){x[c]=new b(c,4,!1,c,null,!1,!1)}),["cols","rows","size","span"].forEach(function(c){x[c]=new b(c,6,!1,c,null,!1,!1)}),["rowSpan","start"].forEach(function(c){x[c]=new b(c,5,!1,c.toLowerCase(),null,!1,!1)});var S=/[\-:]([a-z])/g;function O(c){return c[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(c){var d=c.replace(S,O);x[d]=new b(d,1,!1,c,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(c){var d=c.replace(S,O);x[d]=new b(d,1,!1,c,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(c){var d=c.replace(S,O);x[d]=new b(d,1,!1,c,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(c){x[c]=new b(c,1,!1,c.toLowerCase(),null,!1,!1)}),x.xlinkHref=new b("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(c){x[c]=new b(c,1,!1,c.toLowerCase(),null,!0,!0)});function E(c,d,y,P){var R=x.hasOwnProperty(d)?x[d]:null;(R!==null?R.type!==0:P||!(2me||R[oe]!==V[me]){var be=` +`+R[oe].replace(" at new "," at ");return c.displayName&&be.includes("")&&(be=be.replace("",c.displayName)),be}while(1<=oe&&0<=me);break}}}finally{Q=!1,Error.prepareStackTrace=y}return(c=c?c.displayName||c.name:"")?Z(c):""}function fe(c){switch(c.tag){case 5:return Z(c.type);case 16:return Z("Lazy");case 13:return Z("Suspense");case 19:return Z("SuspenseList");case 0:case 2:case 15:return c=ae(c.type,!1),c;case 11:return c=ae(c.type.render,!1),c;case 1:return c=ae(c.type,!0),c;default:return""}}function de(c){if(c==null)return null;if(typeof c=="function")return c.displayName||c.name||null;if(typeof c=="string")return c;switch(c){case M:return"Fragment";case T:return"Portal";case W:return"Profiler";case q:return"StrictMode";case se:return"Suspense";case X:return"SuspenseList"}if(typeof c=="object")switch(c.$$typeof){case K:return(c.displayName||"Context")+".Consumer";case H:return(c._context.displayName||"Context")+".Provider";case te:var d=c.render;return c=c.displayName,c||(c=d.displayName||d.name||"",c=c!==""?"ForwardRef("+c+")":"ForwardRef"),c;case ee:return d=c.displayName||null,d!==null?d:de(c.type)||"Memo";case re:d=c._payload,c=c._init;try{return de(c(d))}catch{}}return null}function ve(c){var d=c.type;switch(c.tag){case 24:return"Cache";case 9:return(d.displayName||"Context")+".Consumer";case 10:return(d._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return c=d.render,c=c.displayName||c.name||"",d.displayName||(c!==""?"ForwardRef("+c+")":"ForwardRef");case 7:return"Fragment";case 5:return d;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return de(d);case 8:return d===q?"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 d=="function")return d.displayName||d.name||null;if(typeof d=="string")return d}return null}function D(c){switch(typeof c){case"boolean":case"number":case"string":case"undefined":return c;case"object":return c;default:return""}}function z(c){var d=c.type;return(c=c.nodeName)&&c.toLowerCase()==="input"&&(d==="checkbox"||d==="radio")}function J(c){var d=z(c)?"checked":"value",y=Object.getOwnPropertyDescriptor(c.constructor.prototype,d),P=""+c[d];if(!c.hasOwnProperty(d)&&typeof y<"u"&&typeof y.get=="function"&&typeof y.set=="function"){var R=y.get,V=y.set;return Object.defineProperty(c,d,{configurable:!0,get:function(){return R.call(this)},set:function(oe){P=""+oe,V.call(this,oe)}}),Object.defineProperty(c,d,{enumerable:y.enumerable}),{getValue:function(){return P},setValue:function(oe){P=""+oe},stopTracking:function(){c._valueTracker=null,delete c[d]}}}}function ce(c){c._valueTracker||(c._valueTracker=J(c))}function Y(c){if(!c)return!1;var d=c._valueTracker;if(!d)return!0;var y=d.getValue(),P="";return c&&(P=z(c)?c.checked?"true":"false":c.value),c=P,c!==y?(d.setValue(c),!0):!1}function ue(c){if(c=c||(typeof document<"u"?document:void 0),typeof c>"u")return null;try{return c.activeElement||c.body}catch{return c.body}}function he(c,d){var y=d.checked;return B({},d,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:y??c._wrapperState.initialChecked})}function ye(c,d){var y=d.defaultValue==null?"":d.defaultValue,P=d.checked!=null?d.checked:d.defaultChecked;y=D(d.value!=null?d.value:y),c._wrapperState={initialChecked:P,initialValue:y,controlled:d.type==="checkbox"||d.type==="radio"?d.checked!=null:d.value!=null}}function pe(c,d){d=d.checked,d!=null&&E(c,"checked",d,!1)}function xe(c,d){pe(c,d);var y=D(d.value),P=d.type;if(y!=null)P==="number"?(y===0&&c.value===""||c.value!=y)&&(c.value=""+y):c.value!==""+y&&(c.value=""+y);else if(P==="submit"||P==="reset"){c.removeAttribute("value");return}d.hasOwnProperty("value")?ke(c,d.type,y):d.hasOwnProperty("defaultValue")&&ke(c,d.type,D(d.defaultValue)),d.checked==null&&d.defaultChecked!=null&&(c.defaultChecked=!!d.defaultChecked)}function Pe(c,d,y){if(d.hasOwnProperty("value")||d.hasOwnProperty("defaultValue")){var P=d.type;if(!(P!=="submit"&&P!=="reset"||d.value!==void 0&&d.value!==null))return;d=""+c._wrapperState.initialValue,y||d===c.value||(c.value=d),c.defaultValue=d}y=c.name,y!==""&&(c.name=""),c.defaultChecked=!!c._wrapperState.initialChecked,y!==""&&(c.name=y)}function ke(c,d,y){(d!=="number"||ue(c.ownerDocument)!==c)&&(y==null?c.defaultValue=""+c._wrapperState.initialValue:c.defaultValue!==""+y&&(c.defaultValue=""+y))}var Ie=Array.isArray;function Le(c,d,y,P){if(c=c.options,d){d={};for(var R=0;R"+d.valueOf().toString()+"",d=Fe.firstChild;c.firstChild;)c.removeChild(c.firstChild);for(;d.firstChild;)c.appendChild(d.firstChild)}});function Xe(c,d){if(d){var y=c.firstChild;if(y&&y===c.lastChild&&y.nodeType===3){y.nodeValue=d;return}}c.textContent=d}var ut={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},st=["Webkit","ms","Moz","O"];Object.keys(ut).forEach(function(c){st.forEach(function(d){d=d+c.charAt(0).toUpperCase()+c.substring(1),ut[d]=ut[c]})});function Ot(c,d,y){return d==null||typeof d=="boolean"||d===""?"":y||typeof d!="number"||d===0||ut.hasOwnProperty(c)&&ut[c]?(""+d).trim():d+"px"}function $t(c,d){c=c.style;for(var y in d)if(d.hasOwnProperty(y)){var P=y.indexOf("--")===0,R=Ot(y,d[y],P);y==="float"&&(y="cssFloat"),P?c.setProperty(y,R):c[y]=R}}var Zt=B({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ft(c,d){if(d){if(Zt[c]&&(d.children!=null||d.dangerouslySetInnerHTML!=null))throw Error(r(137,c));if(d.dangerouslySetInnerHTML!=null){if(d.children!=null)throw Error(r(60));if(typeof d.dangerouslySetInnerHTML!="object"||!("__html"in d.dangerouslySetInnerHTML))throw Error(r(61))}if(d.style!=null&&typeof d.style!="object")throw Error(r(62))}}function In(c,d){if(c.indexOf("-")===-1)return typeof d.is=="string";switch(c){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 Tr=null;function yo(c){return c=c.target||c.srcElement||window,c.correspondingUseElement&&(c=c.correspondingUseElement),c.nodeType===3?c.parentNode:c}var $n=null,na=null,ia=null;function Ml(c){if(c=Ao(c)){if(typeof $n!="function")throw Error(r(280));var d=c.stateNode;d&&(d=Tc(d),$n(c.stateNode,c.type,d))}}function hs(c){na?ia?ia.push(c):ia=[c]:na=c}function La(){if(na){var c=na,d=ia;if(ia=na=null,Ml(c),d)for(c=0;c>>=0,c===0?32:31-(ir(c)/sc|0)|0}var aa=64,vs=4194304;function _t(c){switch(c&-c){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 c&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return c&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return c}}function Xt(c,d){var y=c.pendingLanes;if(y===0)return 0;var P=0,R=c.suspendedLanes,V=c.pingedLanes,oe=y&268435455;if(oe!==0){var me=oe&~R;me!==0?P=_t(me):(V&=oe,V!==0&&(P=_t(V)))}else oe=y&~R,oe!==0?P=_t(oe):V!==0&&(P=_t(V));if(P===0)return 0;if(d!==0&&d!==P&&(d&R)===0&&(R=P&-P,V=d&-d,R>=V||R===16&&(V&4194240)!==0))return d;if((P&4)!==0&&(P|=y&16),d=c.entangledLanes,d!==0)for(c=c.entanglements,d&=P;0y;y++)d.push(c);return d}function ei(c,d,y){c.pendingLanes|=d,d!==536870912&&(c.suspendedLanes=0,c.pingedLanes=0),c=c.eventTimes,d=31-wt(d),c[d]=y}function Cr(c,d){var y=c.pendingLanes&~d;c.pendingLanes=d,c.suspendedLanes=0,c.pingedLanes=0,c.expiredLanes&=d,c.mutableReadLanes&=d,c.entangledLanes&=d,d=c.entanglements;var P=c.eventTimes;for(c=c.expirationTimes;0=ql),Po=" ",xv=!1;function Ss(c,d){switch(c){case"keyup":return ii.indexOf(d.keyCode)!==-1;case"keydown":return d.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function th(c){return c=c.detail,typeof c=="object"&&"data"in c?c.data:null}var ua=!1;function z_(c,d){switch(c){case"compositionend":return th(d);case"keypress":return d.which!==32?null:(xv=!0,Po);case"textInput":return c=d.data,c===Po&&xv?null:c;default:return null}}function Ba(c,d){if(ua)return c==="compositionend"||!Fa&&Ss(c,d)?(c=Hd(),$a=On=Ia=null,ua=!1,c):null;switch(c){case"paste":return null;case"keypress":if(!(d.ctrlKey||d.altKey||d.metaKey)||d.ctrlKey&&d.altKey){if(d.char&&1=d)return{node:y,offset:d-c};c=P}e:{for(;y;){if(y.nextSibling){y=y.nextSibling;break e}y=y.parentNode}y=void 0}y=Cv(y)}}function Pv(c,d){return c&&d?c===d?!0:c&&c.nodeType===3?!1:d&&d.nodeType===3?Pv(c,d.parentNode):"contains"in c?c.contains(d):c.compareDocumentPosition?!!(c.compareDocumentPosition(d)&16):!1:!1}function ih(){for(var c=window,d=ue();d instanceof c.HTMLIFrameElement;){try{var y=typeof d.contentWindow.location.href=="string"}catch{y=!1}if(y)c=d.contentWindow;else break;d=ue(c.document)}return d}function ah(c){var d=c&&c.nodeName&&c.nodeName.toLowerCase();return d&&(d==="input"&&(c.type==="text"||c.type==="search"||c.type==="tel"||c.type==="url"||c.type==="password")||d==="textarea"||c.contentEditable==="true")}function Ai(c){var d=ih(),y=c.focusedElem,P=c.selectionRange;if(d!==y&&y&&y.ownerDocument&&Pv(y.ownerDocument.documentElement,y)){if(P!==null&&ah(y)){if(d=P.start,c=P.end,c===void 0&&(c=d),"selectionStart"in y)y.selectionStart=d,y.selectionEnd=Math.min(c,y.value.length);else if(c=(d=y.ownerDocument||document)&&d.defaultView||window,c.getSelection){c=c.getSelection();var R=y.textContent.length,V=Math.min(P.start,R);P=P.end===void 0?V:Math.min(P.end,R),!c.extend&&V>P&&(R=P,P=V,V=R),R=nh(y,V);var oe=nh(y,P);R&&oe&&(c.rangeCount!==1||c.anchorNode!==R.node||c.anchorOffset!==R.offset||c.focusNode!==oe.node||c.focusOffset!==oe.offset)&&(d=d.createRange(),d.setStart(R.node,R.offset),c.removeAllRanges(),V>P?(c.addRange(d),c.extend(oe.node,oe.offset)):(d.setEnd(oe.node,oe.offset),c.addRange(d)))}}for(d=[],c=y;c=c.parentNode;)c.nodeType===1&&d.push({element:c,left:c.scrollLeft,top:c.scrollTop});for(typeof y.focus=="function"&&y.focus(),y=0;y=document.documentMode,Ps=null,Es=null,Gl=null,Ec=!1;function Ev(c,d,y){var P=y.window===y?y.document:y.nodeType===9?y:y.ownerDocument;Ec||Ps==null||Ps!==ue(P)||(P=Ps,"selectionStart"in P&&ah(P)?P={start:P.selectionStart,end:P.selectionEnd}:(P=(P.ownerDocument&&P.ownerDocument.defaultView||window).getSelection(),P={anchorNode:P.anchorNode,anchorOffset:P.anchorOffset,focusNode:P.focusNode,focusOffset:P.focusOffset}),Gl&&Ua(Gl,P)||(Gl=P,P=C(Es,"onSelect"),0Ac||(c.current=K_[Ac],K_[Ac]=null,Ac--)}function Qt(c,d){Ac++,K_[Ac]=c.current,c.current=d}var Ds={},mn=Ls(Ds),Un=Ls(!1),Zl=Ds;function kc(c,d){var y=c.type.contextTypes;if(!y)return Ds;var P=c.stateNode;if(P&&P.__reactInternalMemoizedUnmaskedChildContext===d)return P.__reactInternalMemoizedMaskedChildContext;var R={},V;for(V in y)R[V]=d[V];return P&&(c=c.stateNode,c.__reactInternalMemoizedUnmaskedChildContext=d,c.__reactInternalMemoizedMaskedChildContext=R),R}function zn(c){return c=c.childContextTypes,c!=null}function Mv(){ar(Un),ar(mn)}function p3(c,d,y){if(mn.current!==Ds)throw Error(r(168));Qt(mn,d),Qt(Un,y)}function m3(c,d,y){var P=c.stateNode;if(d=d.childContextTypes,typeof P.getChildContext!="function")return y;P=P.getChildContext();for(var R in P)if(!(R in d))throw Error(r(108,ve(c)||"Unknown",R));return B({},y,P)}function Lv(c){return c=(c=c.stateNode)&&c.__reactInternalMemoizedMergedChildContext||Ds,Zl=mn.current,Qt(mn,c),Qt(Un,Un.current),!0}function v3(c,d,y){var P=c.stateNode;if(!P)throw Error(r(169));y?(c=m3(c,d,Zl),P.__reactInternalMemoizedMergedChildContext=c,ar(Un),ar(mn),Qt(mn,c)):ar(Un),Qt(Un,y)}var No=null,Dv=!1,Y_=!1;function g3(c){No===null?No=[c]:No.push(c)}function MW(c){Dv=!0,g3(c)}function Is(){if(!Y_&&No!==null){Y_=!0;var c=0,d=Nt;try{var y=No;for(Nt=1;c>=oe,R-=oe,Ro=1<<32-wt(d)+R|y<bt?(Zr=ht,ht=null):Zr=ht.sibling;var Dt=ze(Ce,ht,Ee[bt],Ze);if(Dt===null){ht===null&&(ht=Zr);break}c&&ht&&Dt.alternate===null&&d(Ce,ht),we=V(Dt,we,bt),dt===null?lt=Dt:dt.sibling=Dt,dt=Dt,ht=Zr}if(bt===Ee.length)return y(Ce,ht),fr&&Ql(Ce,bt),lt;if(ht===null){for(;btbt?(Zr=ht,ht=null):Zr=ht.sibling;var Hs=ze(Ce,ht,Dt.value,Ze);if(Hs===null){ht===null&&(ht=Zr);break}c&&ht&&Hs.alternate===null&&d(Ce,ht),we=V(Hs,we,bt),dt===null?lt=Hs:dt.sibling=Hs,dt=Hs,ht=Zr}if(Dt.done)return y(Ce,ht),fr&&Ql(Ce,bt),lt;if(ht===null){for(;!Dt.done;bt++,Dt=Ee.next())Dt=qe(Ce,Dt.value,Ze),Dt!==null&&(we=V(Dt,we,bt),dt===null?lt=Dt:dt.sibling=Dt,dt=Dt);return fr&&Ql(Ce,bt),lt}for(ht=P(Ce,ht);!Dt.done;bt++,Dt=Ee.next())Dt=et(ht,Ce,bt,Dt.value,Ze),Dt!==null&&(c&&Dt.alternate!==null&&ht.delete(Dt.key===null?bt:Dt.key),we=V(Dt,we,bt),dt===null?lt=Dt:dt.sibling=Dt,dt=Dt);return c&&ht.forEach(function(pH){return d(Ce,pH)}),fr&&Ql(Ce,bt),lt}function Ar(Ce,we,Ee,Ze){if(typeof Ee=="object"&&Ee!==null&&Ee.type===M&&Ee.key===null&&(Ee=Ee.props.children),typeof Ee=="object"&&Ee!==null){switch(Ee.$$typeof){case A:e:{for(var lt=Ee.key,dt=we;dt!==null;){if(dt.key===lt){if(lt=Ee.type,lt===M){if(dt.tag===7){y(Ce,dt.sibling),we=R(dt,Ee.props.children),we.return=Ce,Ce=we;break e}}else if(dt.elementType===lt||typeof lt=="object"&<!==null&<.$$typeof===re&&S3(lt)===dt.type){y(Ce,dt.sibling),we=R(dt,Ee.props),we.ref=hh(Ce,dt,Ee),we.return=Ce,Ce=we;break e}y(Ce,dt);break}else d(Ce,dt);dt=dt.sibling}Ee.type===M?(we=ou(Ee.props.children,Ce.mode,Ze,Ee.key),we.return=Ce,Ce=we):(Ze=cg(Ee.type,Ee.key,Ee.props,null,Ce.mode,Ze),Ze.ref=hh(Ce,we,Ee),Ze.return=Ce,Ce=Ze)}return oe(Ce);case T:e:{for(dt=Ee.key;we!==null;){if(we.key===dt)if(we.tag===4&&we.stateNode.containerInfo===Ee.containerInfo&&we.stateNode.implementation===Ee.implementation){y(Ce,we.sibling),we=R(we,Ee.children||[]),we.return=Ce,Ce=we;break e}else{y(Ce,we);break}else d(Ce,we);we=we.sibling}we=H1(Ee,Ce.mode,Ze),we.return=Ce,Ce=we}return oe(Ce);case re:return dt=Ee._init,Ar(Ce,we,dt(Ee._payload),Ze)}if(Ie(Ee))return nt(Ce,we,Ee,Ze);if(F(Ee))return it(Ce,we,Ee,Ze);Bv(Ce,Ee)}return typeof Ee=="string"&&Ee!==""||typeof Ee=="number"?(Ee=""+Ee,we!==null&&we.tag===6?(y(Ce,we.sibling),we=R(we,Ee),we.return=Ce,Ce=we):(y(Ce,we),we=W1(Ee,Ce.mode,Ze),we.return=Ce,Ce=we),oe(Ce)):y(Ce,we)}return Ar}var Lc=O3(!0),C3=O3(!1),Uv=Ls(null),zv=null,Dc=null,t1=null;function r1(){t1=Dc=zv=null}function n1(c){var d=Uv.current;ar(Uv),c._currentValue=d}function i1(c,d,y){for(;c!==null;){var P=c.alternate;if((c.childLanes&d)!==d?(c.childLanes|=d,P!==null&&(P.childLanes|=d)):P!==null&&(P.childLanes&d)!==d&&(P.childLanes|=d),c===y)break;c=c.return}}function Ic(c,d){zv=c,t1=Dc=null,c=c.dependencies,c!==null&&c.firstContext!==null&&((c.lanes&d)!==0&&(Vn=!0),c.firstContext=null)}function Li(c){var d=c._currentValue;if(t1!==c)if(c={context:c,memoizedValue:d,next:null},Dc===null){if(zv===null)throw Error(r(308));Dc=c,zv.dependencies={lanes:0,firstContext:c}}else Dc=Dc.next=c;return d}var Jl=null;function a1(c){Jl===null?Jl=[c]:Jl.push(c)}function P3(c,d,y,P){var R=d.interleaved;return R===null?(y.next=y,a1(d)):(y.next=R.next,R.next=y),d.interleaved=y,Lo(c,P)}function Lo(c,d){c.lanes|=d;var y=c.alternate;for(y!==null&&(y.lanes|=d),y=c,c=c.return;c!==null;)c.childLanes|=d,y=c.alternate,y!==null&&(y.childLanes|=d),y=c,c=c.return;return y.tag===3?y.stateNode:null}var $s=!1;function o1(c){c.updateQueue={baseState:c.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function E3(c,d){c=c.updateQueue,d.updateQueue===c&&(d.updateQueue={baseState:c.baseState,firstBaseUpdate:c.firstBaseUpdate,lastBaseUpdate:c.lastBaseUpdate,shared:c.shared,effects:c.effects})}function Do(c,d){return{eventTime:c,lane:d,tag:0,payload:null,callback:null,next:null}}function Fs(c,d,y){var P=c.updateQueue;if(P===null)return null;if(P=P.shared,(Mt&2)!==0){var R=P.pending;return R===null?d.next=d:(d.next=R.next,R.next=d),P.pending=d,Lo(c,y)}return R=P.interleaved,R===null?(d.next=d,a1(P)):(d.next=R.next,R.next=d),P.interleaved=d,Lo(c,y)}function Vv(c,d,y){if(d=d.updateQueue,d!==null&&(d=d.shared,(y&4194240)!==0)){var P=d.lanes;P&=c.pendingLanes,y|=P,d.lanes=y,oa(c,y)}}function j3(c,d){var y=c.updateQueue,P=c.alternate;if(P!==null&&(P=P.updateQueue,y===P)){var R=null,V=null;if(y=y.firstBaseUpdate,y!==null){do{var oe={eventTime:y.eventTime,lane:y.lane,tag:y.tag,payload:y.payload,callback:y.callback,next:null};V===null?R=V=oe:V=V.next=oe,y=y.next}while(y!==null);V===null?R=V=d:V=V.next=d}else R=V=d;y={baseState:P.baseState,firstBaseUpdate:R,lastBaseUpdate:V,shared:P.shared,effects:P.effects},c.updateQueue=y;return}c=y.lastBaseUpdate,c===null?y.firstBaseUpdate=d:c.next=d,y.lastBaseUpdate=d}function qv(c,d,y,P){var R=c.updateQueue;$s=!1;var V=R.firstBaseUpdate,oe=R.lastBaseUpdate,me=R.shared.pending;if(me!==null){R.shared.pending=null;var be=me,Ae=be.next;be.next=null,oe===null?V=Ae:oe.next=Ae,oe=be;var Ve=c.alternate;Ve!==null&&(Ve=Ve.updateQueue,me=Ve.lastBaseUpdate,me!==oe&&(me===null?Ve.firstBaseUpdate=Ae:me.next=Ae,Ve.lastBaseUpdate=be))}if(V!==null){var qe=R.baseState;oe=0,Ve=Ae=be=null,me=V;do{var ze=me.lane,et=me.eventTime;if((P&ze)===ze){Ve!==null&&(Ve=Ve.next={eventTime:et,lane:0,tag:me.tag,payload:me.payload,callback:me.callback,next:null});e:{var nt=c,it=me;switch(ze=d,et=y,it.tag){case 1:if(nt=it.payload,typeof nt=="function"){qe=nt.call(et,qe,ze);break e}qe=nt;break e;case 3:nt.flags=nt.flags&-65537|128;case 0:if(nt=it.payload,ze=typeof nt=="function"?nt.call(et,qe,ze):nt,ze==null)break e;qe=B({},qe,ze);break e;case 2:$s=!0}}me.callback!==null&&me.lane!==0&&(c.flags|=64,ze=R.effects,ze===null?R.effects=[me]:ze.push(me))}else et={eventTime:et,lane:ze,tag:me.tag,payload:me.payload,callback:me.callback,next:null},Ve===null?(Ae=Ve=et,be=qe):Ve=Ve.next=et,oe|=ze;if(me=me.next,me===null){if(me=R.shared.pending,me===null)break;ze=me,me=ze.next,ze.next=null,R.lastBaseUpdate=ze,R.shared.pending=null}}while(!0);if(Ve===null&&(be=qe),R.baseState=be,R.firstBaseUpdate=Ae,R.lastBaseUpdate=Ve,d=R.shared.interleaved,d!==null){R=d;do oe|=R.lane,R=R.next;while(R!==d)}else V===null&&(R.shared.lanes=0);ru|=oe,c.lanes=oe,c.memoizedState=qe}}function T3(c,d,y){if(c=d.effects,d.effects=null,c!==null)for(d=0;dy?y:4,c(!0);var P=f1.transition;f1.transition={};try{c(!1),d()}finally{Nt=y,f1.transition=P}}function K3(){return Di().memoizedState}function $W(c,d,y){var P=Vs(c);if(y={lane:P,action:y,hasEagerState:!1,eagerState:null,next:null},Y3(c))Z3(d,y);else if(y=P3(c,d,y,P),y!==null){var R=jn();ma(y,c,P,R),X3(y,d,P)}}function FW(c,d,y){var P=Vs(c),R={lane:P,action:y,hasEagerState:!1,eagerState:null,next:null};if(Y3(c))Z3(d,R);else{var V=c.alternate;if(c.lanes===0&&(V===null||V.lanes===0)&&(V=d.lastRenderedReducer,V!==null))try{var oe=d.lastRenderedState,me=V(oe,y);if(R.hasEagerState=!0,R.eagerState=me,ai(me,oe)){var be=d.interleaved;be===null?(R.next=R,a1(d)):(R.next=be.next,be.next=R),d.interleaved=R;return}}catch{}finally{}y=P3(c,d,R,P),y!==null&&(R=jn(),ma(y,c,P,R),X3(y,d,P))}}function Y3(c){var d=c.alternate;return c===wr||d!==null&&d===wr}function Z3(c,d){gh=Gv=!0;var y=c.pending;y===null?d.next=d:(d.next=y.next,y.next=d),c.pending=d}function X3(c,d,y){if((y&4194240)!==0){var P=d.lanes;P&=c.pendingLanes,y|=P,d.lanes=y,oa(c,y)}}var Zv={readContext:Li,useCallback:vn,useContext:vn,useEffect:vn,useImperativeHandle:vn,useInsertionEffect:vn,useLayoutEffect:vn,useMemo:vn,useReducer:vn,useRef:vn,useState:vn,useDebugValue:vn,useDeferredValue:vn,useTransition:vn,useMutableSource:vn,useSyncExternalStore:vn,useId:vn,unstable_isNewReconciler:!1},BW={readContext:Li,useCallback:function(c,d){return Ha().memoizedState=[c,d===void 0?null:d],c},useContext:Li,useEffect:B3,useImperativeHandle:function(c,d,y){return y=y!=null?y.concat([c]):null,Kv(4194308,4,V3.bind(null,d,c),y)},useLayoutEffect:function(c,d){return Kv(4194308,4,c,d)},useInsertionEffect:function(c,d){return Kv(4,2,c,d)},useMemo:function(c,d){var y=Ha();return d=d===void 0?null:d,c=c(),y.memoizedState=[c,d],c},useReducer:function(c,d,y){var P=Ha();return d=y!==void 0?y(d):d,P.memoizedState=P.baseState=d,c={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:c,lastRenderedState:d},P.queue=c,c=c.dispatch=$W.bind(null,wr,c),[P.memoizedState,c]},useRef:function(c){var d=Ha();return c={current:c},d.memoizedState=c},useState:$3,useDebugValue:y1,useDeferredValue:function(c){return Ha().memoizedState=c},useTransition:function(){var c=$3(!1),d=c[0];return c=IW.bind(null,c[1]),Ha().memoizedState=c,[d,c]},useMutableSource:function(){},useSyncExternalStore:function(c,d,y){var P=wr,R=Ha();if(fr){if(y===void 0)throw Error(r(407));y=y()}else{if(y=d(),Yr===null)throw Error(r(349));(tu&30)!==0||R3(P,d,y)}R.memoizedState=y;var V={value:y,getSnapshot:d};return R.queue=V,B3(L3.bind(null,P,V,c),[c]),P.flags|=2048,_h(9,M3.bind(null,P,V,y,d),void 0,null),y},useId:function(){var c=Ha(),d=Yr.identifierPrefix;if(fr){var y=Mo,P=Ro;y=(P&~(1<<32-wt(P)-1)).toString(32)+y,d=":"+d+"R"+y,y=yh++,0<\/script>",c=c.removeChild(c.firstChild)):typeof P.is=="string"?c=oe.createElement(y,{is:P.is}):(c=oe.createElement(y),y==="select"&&(oe=c,P.multiple?oe.multiple=!0:P.size&&(oe.size=P.size))):c=oe.createElementNS(c,y),c[Ni]=d,c[Rs]=P,gk(c,d,!1,!1),d.stateNode=c;e:{switch(oe=In(y,P),y){case"dialog":Wt("cancel",c),Wt("close",c),R=P;break;case"iframe":case"object":case"embed":Wt("load",c),R=P;break;case"video":case"audio":for(R=0;Rzc&&(d.flags|=128,P=!0,wh(V,!1),d.lanes=4194304)}else{if(!P)if(c=Wv(oe),c!==null){if(d.flags|=128,P=!0,y=c.updateQueue,y!==null&&(d.updateQueue=y,d.flags|=4),wh(V,!0),V.tail===null&&V.tailMode==="hidden"&&!oe.alternate&&!fr)return gn(d),null}else 2*yr()-V.renderingStartTime>zc&&y!==1073741824&&(d.flags|=128,P=!0,wh(V,!1),d.lanes=4194304);V.isBackwards?(oe.sibling=d.child,d.child=oe):(y=V.last,y!==null?y.sibling=oe:d.child=oe,V.last=oe)}return V.tail!==null?(d=V.tail,V.rendering=d,V.tail=d.sibling,V.renderingStartTime=yr(),d.sibling=null,y=_r.current,Qt(_r,P?y&1|2:y&1),d):(gn(d),null);case 22:case 23:return z1(),P=d.memoizedState!==null,c!==null&&c.memoizedState!==null!==P&&(d.flags|=8192),P&&(d.mode&1)!==0?(ui&1073741824)!==0&&(gn(d),d.subtreeFlags&6&&(d.flags|=8192)):gn(d),null;case 24:return null;case 25:return null}throw Error(r(156,d.tag))}function KW(c,d){switch(X_(d),d.tag){case 1:return zn(d.type)&&Mv(),c=d.flags,c&65536?(d.flags=c&-65537|128,d):null;case 3:return $c(),ar(Un),ar(mn),c1(),c=d.flags,(c&65536)!==0&&(c&128)===0?(d.flags=c&-65537|128,d):null;case 5:return l1(d),null;case 13:if(ar(_r),c=d.memoizedState,c!==null&&c.dehydrated!==null){if(d.alternate===null)throw Error(r(340));Mc()}return c=d.flags,c&65536?(d.flags=c&-65537|128,d):null;case 19:return ar(_r),null;case 4:return $c(),null;case 10:return n1(d.type._context),null;case 22:case 23:return z1(),null;case 24:return null;default:return null}}var eg=!1,yn=!1,YW=typeof WeakSet=="function"?WeakSet:Set,tt=null;function Bc(c,d){var y=c.ref;if(y!==null)if(typeof y=="function")try{y(null)}catch(P){Pr(c,d,P)}else y.current=null}function A1(c,d,y){try{y()}catch(P){Pr(c,d,P)}}var _k=!1;function ZW(c,d){if(Je=zl,c=ih(),ah(c)){if("selectionStart"in c)var y={start:c.selectionStart,end:c.selectionEnd};else e:{y=(y=c.ownerDocument)&&y.defaultView||window;var P=y.getSelection&&y.getSelection();if(P&&P.rangeCount!==0){y=P.anchorNode;var R=P.anchorOffset,V=P.focusNode;P=P.focusOffset;try{y.nodeType,V.nodeType}catch{y=null;break e}var oe=0,me=-1,be=-1,Ae=0,Ve=0,qe=c,ze=null;t:for(;;){for(var et;qe!==y||R!==0&&qe.nodeType!==3||(me=oe+R),qe!==V||P!==0&&qe.nodeType!==3||(be=oe+P),qe.nodeType===3&&(oe+=qe.nodeValue.length),(et=qe.firstChild)!==null;)ze=qe,qe=et;for(;;){if(qe===c)break t;if(ze===y&&++Ae===R&&(me=oe),ze===V&&++Ve===P&&(be=oe),(et=qe.nextSibling)!==null)break;qe=ze,ze=qe.parentNode}qe=et}y=me===-1||be===-1?null:{start:me,end:be}}else y=null}y=y||{start:0,end:0}}else y=null;for(ft={focusedElem:c,selectionRange:y},zl=!1,tt=d;tt!==null;)if(d=tt,c=d.child,(d.subtreeFlags&1028)!==0&&c!==null)c.return=d,tt=c;else for(;tt!==null;){d=tt;try{var nt=d.alternate;if((d.flags&1024)!==0)switch(d.tag){case 0:case 11:case 15:break;case 1:if(nt!==null){var it=nt.memoizedProps,Ar=nt.memoizedState,Ce=d.stateNode,we=Ce.getSnapshotBeforeUpdate(d.elementType===d.type?it:da(d.type,it),Ar);Ce.__reactInternalSnapshotBeforeUpdate=we}break;case 3:var Ee=d.stateNode.containerInfo;Ee.nodeType===1?Ee.textContent="":Ee.nodeType===9&&Ee.documentElement&&Ee.removeChild(Ee.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(r(163))}}catch(Ze){Pr(d,d.return,Ze)}if(c=d.sibling,c!==null){c.return=d.return,tt=c;break}tt=d.return}return nt=_k,_k=!1,nt}function xh(c,d,y){var P=d.updateQueue;if(P=P!==null?P.lastEffect:null,P!==null){var R=P=P.next;do{if((R.tag&c)===c){var V=R.destroy;R.destroy=void 0,V!==void 0&&A1(d,y,V)}R=R.next}while(R!==P)}}function tg(c,d){if(d=d.updateQueue,d=d!==null?d.lastEffect:null,d!==null){var y=d=d.next;do{if((y.tag&c)===c){var P=y.create;y.destroy=P()}y=y.next}while(y!==d)}}function k1(c){var d=c.ref;if(d!==null){var y=c.stateNode;switch(c.tag){case 5:c=y;break;default:c=y}typeof d=="function"?d(c):d.current=c}}function wk(c){var d=c.alternate;d!==null&&(c.alternate=null,wk(d)),c.child=null,c.deletions=null,c.sibling=null,c.tag===5&&(d=c.stateNode,d!==null&&(delete d[Ni],delete d[Rs],delete d[Ms],delete d[H_],delete d[G_])),c.stateNode=null,c.return=null,c.dependencies=null,c.memoizedProps=null,c.memoizedState=null,c.pendingProps=null,c.stateNode=null,c.updateQueue=null}function xk(c){return c.tag===5||c.tag===3||c.tag===4}function Sk(c){e:for(;;){for(;c.sibling===null;){if(c.return===null||xk(c.return))return null;c=c.return}for(c.sibling.return=c.return,c=c.sibling;c.tag!==5&&c.tag!==6&&c.tag!==18;){if(c.flags&2||c.child===null||c.tag===4)continue e;c.child.return=c,c=c.child}if(!(c.flags&2))return c.stateNode}}function N1(c,d,y){var P=c.tag;if(P===5||P===6)c=c.stateNode,d?y.nodeType===8?y.parentNode.insertBefore(c,d):y.insertBefore(c,d):(y.nodeType===8?(d=y.parentNode,d.insertBefore(c,y)):(d=y,d.appendChild(c)),y=y._reactRootContainer,y!=null||d.onclick!==null||(d.onclick=Be));else if(P!==4&&(c=c.child,c!==null))for(N1(c,d,y),c=c.sibling;c!==null;)N1(c,d,y),c=c.sibling}function R1(c,d,y){var P=c.tag;if(P===5||P===6)c=c.stateNode,d?y.insertBefore(c,d):y.appendChild(c);else if(P!==4&&(c=c.child,c!==null))for(R1(c,d,y),c=c.sibling;c!==null;)R1(c,d,y),c=c.sibling}var an=null,ha=!1;function Bs(c,d,y){for(y=y.child;y!==null;)Ok(c,d,y),y=y.sibling}function Ok(c,d,y){if(Jn&&typeof Jn.onCommitFiberUnmount=="function")try{Jn.onCommitFiberUnmount(Dl,y)}catch{}switch(y.tag){case 5:yn||Bc(y,d);case 6:var P=an,R=ha;an=null,Bs(c,d,y),an=P,ha=R,an!==null&&(ha?(c=an,y=y.stateNode,c.nodeType===8?c.parentNode.removeChild(y):c.removeChild(y)):an.removeChild(y.stateNode));break;case 18:an!==null&&(ha?(c=an,y=y.stateNode,c.nodeType===8?dh(c.parentNode,y):c.nodeType===1&&dh(c,y),ri(c)):dh(an,y.stateNode));break;case 4:P=an,R=ha,an=y.stateNode.containerInfo,ha=!0,Bs(c,d,y),an=P,ha=R;break;case 0:case 11:case 14:case 15:if(!yn&&(P=y.updateQueue,P!==null&&(P=P.lastEffect,P!==null))){R=P=P.next;do{var V=R,oe=V.destroy;V=V.tag,oe!==void 0&&((V&2)!==0||(V&4)!==0)&&A1(y,d,oe),R=R.next}while(R!==P)}Bs(c,d,y);break;case 1:if(!yn&&(Bc(y,d),P=y.stateNode,typeof P.componentWillUnmount=="function"))try{P.props=y.memoizedProps,P.state=y.memoizedState,P.componentWillUnmount()}catch(me){Pr(y,d,me)}Bs(c,d,y);break;case 21:Bs(c,d,y);break;case 22:y.mode&1?(yn=(P=yn)||y.memoizedState!==null,Bs(c,d,y),yn=P):Bs(c,d,y);break;default:Bs(c,d,y)}}function Ck(c){var d=c.updateQueue;if(d!==null){c.updateQueue=null;var y=c.stateNode;y===null&&(y=c.stateNode=new YW),d.forEach(function(P){var R=aH.bind(null,c,P);y.has(P)||(y.add(P),P.then(R,R))})}}function pa(c,d){var y=d.deletions;if(y!==null)for(var P=0;PR&&(R=oe),P&=~V}if(P=R,P=yr()-P,P=(120>P?120:480>P?480:1080>P?1080:1920>P?1920:3e3>P?3e3:4320>P?4320:1960*QW(P/1960))-P,10c?16:c,zs===null)var P=!1;else{if(c=zs,zs=null,og=0,(Mt&6)!==0)throw Error(r(331));var R=Mt;for(Mt|=4,tt=c.current;tt!==null;){var V=tt,oe=V.child;if((tt.flags&16)!==0){var me=V.deletions;if(me!==null){for(var be=0;beyr()-D1?iu(c,0):L1|=y),Wn(c,d)}function $k(c,d){d===0&&((c.mode&1)===0?d=1:(d=vs,vs<<=1,(vs&130023424)===0&&(vs=4194304)));var y=jn();c=Lo(c,d),c!==null&&(ei(c,d,y),Wn(c,y))}function iH(c){var d=c.memoizedState,y=0;d!==null&&(y=d.retryLane),$k(c,y)}function aH(c,d){var y=0;switch(c.tag){case 13:var P=c.stateNode,R=c.memoizedState;R!==null&&(y=R.retryLane);break;case 19:P=c.stateNode;break;default:throw Error(r(314))}P!==null&&P.delete(d),$k(c,y)}var Fk;Fk=function(c,d,y){if(c!==null)if(c.memoizedProps!==d.pendingProps||Un.current)Vn=!0;else{if((c.lanes&y)===0&&(d.flags&128)===0)return Vn=!1,HW(c,d,y);Vn=(c.flags&131072)!==0}else Vn=!1,fr&&(d.flags&1048576)!==0&&y3(d,$v,d.index);switch(d.lanes=0,d.tag){case 2:var P=d.type;Jv(c,d),c=d.pendingProps;var R=kc(d,mn.current);Ic(d,y),R=h1(null,d,P,c,R,y);var V=p1();return d.flags|=1,typeof R=="object"&&R!==null&&typeof R.render=="function"&&R.$$typeof===void 0?(d.tag=1,d.memoizedState=null,d.updateQueue=null,zn(P)?(V=!0,Lv(d)):V=!1,d.memoizedState=R.state!==null&&R.state!==void 0?R.state:null,o1(d),R.updater=Xv,d.stateNode=R,R._reactInternals=d,_1(d,P,c,y),d=O1(null,d,P,!0,V,y)):(d.tag=0,fr&&V&&Z_(d),En(null,d,R,y),d=d.child),d;case 16:P=d.elementType;e:{switch(Jv(c,d),c=d.pendingProps,R=P._init,P=R(P._payload),d.type=P,R=d.tag=sH(P),c=da(P,c),R){case 0:d=S1(null,d,P,c,y);break e;case 1:d=fk(null,d,P,c,y);break e;case 11:d=ok(null,d,P,c,y);break e;case 14:d=sk(null,d,P,da(P.type,c),y);break e}throw Error(r(306,P,""))}return d;case 0:return P=d.type,R=d.pendingProps,R=d.elementType===P?R:da(P,R),S1(c,d,P,R,y);case 1:return P=d.type,R=d.pendingProps,R=d.elementType===P?R:da(P,R),fk(c,d,P,R,y);case 3:e:{if(dk(d),c===null)throw Error(r(387));P=d.pendingProps,V=d.memoizedState,R=V.element,E3(c,d),qv(d,P,null,y);var oe=d.memoizedState;if(P=oe.element,V.isDehydrated)if(V={element:P,isDehydrated:!1,cache:oe.cache,pendingSuspenseBoundaries:oe.pendingSuspenseBoundaries,transitions:oe.transitions},d.updateQueue.baseState=V,d.memoizedState=V,d.flags&256){R=Fc(Error(r(423)),d),d=hk(c,d,P,y,R);break e}else if(P!==R){R=Fc(Error(r(424)),d),d=hk(c,d,P,y,R);break e}else for(li=qa(d.stateNode.containerInfo.firstChild),si=d,fr=!0,fa=null,y=C3(d,null,P,y),d.child=y;y;)y.flags=y.flags&-3|4096,y=y.sibling;else{if(Mc(),P===R){d=Io(c,d,y);break e}En(c,d,P,y)}d=d.child}return d;case 5:return A3(d),c===null&&J_(d),P=d.type,R=d.pendingProps,V=c!==null?c.memoizedProps:null,oe=R.children,Ct(P,R)?oe=null:V!==null&&Ct(P,V)&&(d.flags|=32),ck(c,d),En(c,d,oe,y),d.child;case 6:return c===null&&J_(d),null;case 13:return pk(c,d,y);case 4:return s1(d,d.stateNode.containerInfo),P=d.pendingProps,c===null?d.child=Lc(d,null,P,y):En(c,d,P,y),d.child;case 11:return P=d.type,R=d.pendingProps,R=d.elementType===P?R:da(P,R),ok(c,d,P,R,y);case 7:return En(c,d,d.pendingProps,y),d.child;case 8:return En(c,d,d.pendingProps.children,y),d.child;case 12:return En(c,d,d.pendingProps.children,y),d.child;case 10:e:{if(P=d.type._context,R=d.pendingProps,V=d.memoizedProps,oe=R.value,Qt(Uv,P._currentValue),P._currentValue=oe,V!==null)if(ai(V.value,oe)){if(V.children===R.children&&!Un.current){d=Io(c,d,y);break e}}else for(V=d.child,V!==null&&(V.return=d);V!==null;){var me=V.dependencies;if(me!==null){oe=V.child;for(var be=me.firstContext;be!==null;){if(be.context===P){if(V.tag===1){be=Do(-1,y&-y),be.tag=2;var Ae=V.updateQueue;if(Ae!==null){Ae=Ae.shared;var Ve=Ae.pending;Ve===null?be.next=be:(be.next=Ve.next,Ve.next=be),Ae.pending=be}}V.lanes|=y,be=V.alternate,be!==null&&(be.lanes|=y),i1(V.return,y,d),me.lanes|=y;break}be=be.next}}else if(V.tag===10)oe=V.type===d.type?null:V.child;else if(V.tag===18){if(oe=V.return,oe===null)throw Error(r(341));oe.lanes|=y,me=oe.alternate,me!==null&&(me.lanes|=y),i1(oe,y,d),oe=V.sibling}else oe=V.child;if(oe!==null)oe.return=V;else for(oe=V;oe!==null;){if(oe===d){oe=null;break}if(V=oe.sibling,V!==null){V.return=oe.return,oe=V;break}oe=oe.return}V=oe}En(c,d,R.children,y),d=d.child}return d;case 9:return R=d.type,P=d.pendingProps.children,Ic(d,y),R=Li(R),P=P(R),d.flags|=1,En(c,d,P,y),d.child;case 14:return P=d.type,R=da(P,d.pendingProps),R=da(P.type,R),sk(c,d,P,R,y);case 15:return lk(c,d,d.type,d.pendingProps,y);case 17:return P=d.type,R=d.pendingProps,R=d.elementType===P?R:da(P,R),Jv(c,d),d.tag=1,zn(P)?(c=!0,Lv(d)):c=!1,Ic(d,y),J3(d,P,R),_1(d,P,R,y),O1(null,d,P,!0,c,y);case 19:return vk(c,d,y);case 22:return uk(c,d,y)}throw Error(r(156,d.tag))};function Bk(c,d){return uv(c,d)}function oH(c,d,y,P){this.tag=c,this.key=y,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=d,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=P,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function $i(c,d,y,P){return new oH(c,d,y,P)}function q1(c){return c=c.prototype,!(!c||!c.isReactComponent)}function sH(c){if(typeof c=="function")return q1(c)?1:0;if(c!=null){if(c=c.$$typeof,c===te)return 11;if(c===ee)return 14}return 2}function Ws(c,d){var y=c.alternate;return y===null?(y=$i(c.tag,d,c.key,c.mode),y.elementType=c.elementType,y.type=c.type,y.stateNode=c.stateNode,y.alternate=c,c.alternate=y):(y.pendingProps=d,y.type=c.type,y.flags=0,y.subtreeFlags=0,y.deletions=null),y.flags=c.flags&14680064,y.childLanes=c.childLanes,y.lanes=c.lanes,y.child=c.child,y.memoizedProps=c.memoizedProps,y.memoizedState=c.memoizedState,y.updateQueue=c.updateQueue,d=c.dependencies,y.dependencies=d===null?null:{lanes:d.lanes,firstContext:d.firstContext},y.sibling=c.sibling,y.index=c.index,y.ref=c.ref,y}function cg(c,d,y,P,R,V){var oe=2;if(P=c,typeof c=="function")q1(c)&&(oe=1);else if(typeof c=="string")oe=5;else e:switch(c){case M:return ou(y.children,R,V,d);case q:oe=8,R|=8;break;case W:return c=$i(12,y,d,R|2),c.elementType=W,c.lanes=V,c;case se:return c=$i(13,y,d,R),c.elementType=se,c.lanes=V,c;case X:return c=$i(19,y,d,R),c.elementType=X,c.lanes=V,c;case U:return fg(y,R,V,d);default:if(typeof c=="object"&&c!==null)switch(c.$$typeof){case H:oe=10;break e;case K:oe=9;break e;case te:oe=11;break e;case ee:oe=14;break e;case re:oe=16,P=null;break e}throw Error(r(130,c==null?c:typeof c,""))}return d=$i(oe,y,d,R),d.elementType=c,d.type=P,d.lanes=V,d}function ou(c,d,y,P){return c=$i(7,c,P,d),c.lanes=y,c}function fg(c,d,y,P){return c=$i(22,c,P,d),c.elementType=U,c.lanes=y,c.stateNode={isHidden:!1},c}function W1(c,d,y){return c=$i(6,c,null,d),c.lanes=y,c}function H1(c,d,y){return d=$i(4,c.children!==null?c.children:[],c.key,d),d.lanes=y,d.stateNode={containerInfo:c.containerInfo,pendingChildren:null,implementation:c.implementation},d}function lH(c,d,y,P,R){this.tag=d,this.containerInfo=c,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=gs(0),this.expirationTimes=gs(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gs(0),this.identifierPrefix=P,this.onRecoverableError=R,this.mutableSourceEagerHydrationData=null}function G1(c,d,y,P,R,V,oe,me,be){return c=new lH(c,d,y,me,be),d===1?(d=1,V===!0&&(d|=8)):d=0,V=$i(3,null,null,d),c.current=V,V.stateNode=c,V.memoizedState={element:P,isDehydrated:y,cache:null,transitions:null,pendingSuspenseBoundaries:null},o1(V),c}function uH(c,d,y){var P=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),J1.exports=xH(),J1.exports}var r4;function SH(){if(r4)return bg;r4=1;var e=b$();return bg.createRoot=e.createRoot,bg.hydrateRoot=e.hydrateRoot,bg}var OH=SH(),$=lb();const ie=kt($);var rw={exports:{}},nw={};/** + * @license React + * use-sync-external-store-with-selector.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var n4;function CH(){if(n4)return nw;n4=1;var e=lb();function t(u,l){return u===l&&(u!==0||1/u===1/l)||u!==u&&l!==l}var r=typeof Object.is=="function"?Object.is:t,n=e.useSyncExternalStore,i=e.useRef,a=e.useEffect,o=e.useMemo,s=e.useDebugValue;return nw.useSyncExternalStoreWithSelector=function(u,l,h,p,g){var _=i(null);if(_.current===null){var w={hasValue:!1,value:null};_.current=w}else w=_.current;_=o(function(){function x(A){if(!S){if(S=!0,O=A,A=p(A),g!==void 0&&w.hasValue){var T=w.value;if(g(T,A))return E=T}return E=A}if(T=E,r(O,A))return T;var M=p(A);return g!==void 0&&g(T,M)?(O=A,T):(O=A,E=M)}var S=!1,O,E,j=h===void 0?null:h;return[function(){return x(l())},j===null?void 0:function(){return x(j())}]},[l,h,p,g]);var b=n(u,_[0],_[1]);return a(function(){w.hasValue=!0,w.value=b},[b]),s(b),b},nw}var i4;function PH(){return i4||(i4=1,rw.exports=CH()),rw.exports}PH();var EH=$.version.startsWith("19"),jH=Symbol.for(EH?"react.transitional.element":"react.element"),TH=Symbol.for("react.portal"),AH=Symbol.for("react.fragment"),kH=Symbol.for("react.strict_mode"),NH=Symbol.for("react.profiler"),RH=Symbol.for("react.consumer"),MH=Symbol.for("react.context"),_$=Symbol.for("react.forward_ref"),LH=Symbol.for("react.suspense"),DH=Symbol.for("react.suspense_list"),_j=Symbol.for("react.memo"),IH=Symbol.for("react.lazy"),$H=_$,FH=_j;function BH(e){if(typeof e=="object"&&e!==null){const{$$typeof:t}=e;switch(t){case jH:switch(e=e.type,e){case AH:case NH:case kH:case LH:case DH:return e;default:switch(e=e&&e.$$typeof,e){case MH:case _$:case IH:case _j:return e;case RH:return e;default:return t}}case TH:return t}}}function UH(e){return BH(e)===_j}function zH(e,t,r,n,{areStatesEqual:i,areOwnPropsEqual:a,areStatePropsEqual:o}){let s=!1,u,l,h,p,g;function _(O,E){return u=O,l=E,h=e(u,l),p=t(n,l),g=r(h,p,l),s=!0,g}function w(){return h=e(u,l),t.dependsOnOwnProps&&(p=t(n,l)),g=r(h,p,l),g}function b(){return e.dependsOnOwnProps&&(h=e(u,l)),t.dependsOnOwnProps&&(p=t(n,l)),g=r(h,p,l),g}function x(){const O=e(u,l),E=!o(O,h);return h=O,E&&(g=r(h,p,l)),g}function S(O,E){const j=!a(E,l),A=!i(O,u,E,l);return u=O,l=E,j&&A?w():j?b():A?x():g}return function(E,j){return s?S(E,j):_(E,j)}}function VH(e,{initMapStateToProps:t,initMapDispatchToProps:r,initMergeProps:n,...i}){const a=t(e,i),o=r(e,i),s=n(e,i);return zH(a,o,s,e,i)}function qH(e,t){const r={};for(const n in e){const i=e[n];typeof i=="function"&&(r[n]=(...a)=>t(i(...a)))}return r}function qO(e){return function(r){const n=e(r);function i(){return n}return i.dependsOnOwnProps=!1,i}}function a4(e){return e.dependsOnOwnProps?!!e.dependsOnOwnProps:e.length!==1}function w$(e,t){return function(n,{displayName:i}){const a=function(s,u){return a.dependsOnOwnProps?a.mapToProps(s,u):a.mapToProps(s,void 0)};return a.dependsOnOwnProps=!0,a.mapToProps=function(s,u){a.mapToProps=e,a.dependsOnOwnProps=a4(e);let l=a(s,u);return typeof l=="function"&&(a.mapToProps=l,a.dependsOnOwnProps=a4(l),l=a(s,u)),l},a}}function wj(e,t){return(r,n)=>{throw new Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${n.wrappedComponentName}.`)}}function WH(e){return e&&typeof e=="object"?qO(t=>qH(e,t)):e?typeof e=="function"?w$(e):wj(e,"mapDispatchToProps"):qO(t=>({dispatch:t}))}function HH(e){return e?typeof e=="function"?w$(e):wj(e,"mapStateToProps"):qO(()=>({}))}function GH(e,t,r){return{...r,...e,...t}}function KH(e){return function(r,{displayName:n,areMergedPropsEqual:i}){let a=!1,o;return function(u,l,h){const p=e(u,l,h);return a?i(p,o)||(o=p):(a=!0,o=p),o}}}function YH(e){return e?typeof e=="function"?KH(e):wj(e,"mergeProps"):()=>GH}function ZH(e){e()}function XH(){let e=null,t=null;return{clear(){e=null,t=null},notify(){ZH(()=>{let r=e;for(;r;)r.callback(),r=r.next})},get(){const r=[];let n=e;for(;n;)r.push(n),n=n.next;return r},subscribe(r){let n=!0;const i=t={callback:r,next:null,prev:t};return i.prev?i.prev.next=i:e=i,function(){!n||e===null||(n=!1,i.next?i.next.prev=i.prev:t=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}var o4={notify(){},get:()=>[]};function x$(e,t){let r,n=o4,i=0,a=!1;function o(b){h();const x=n.subscribe(b);let S=!1;return()=>{S||(S=!0,x(),p())}}function s(){n.notify()}function u(){w.onStateChange&&w.onStateChange()}function l(){return a}function h(){i++,r||(r=t?t.addNestedSub(u):e.subscribe(u),n=XH())}function p(){i--,r&&i===0&&(r(),r=void 0,n.clear(),n=o4)}function g(){a||(a=!0,h())}function _(){a&&(a=!1,p())}const w={addNestedSub:o,notifyNestedSubs:s,handleChangeWrapper:u,isSubscribed:l,trySubscribe:g,tryUnsubscribe:_,getListeners:()=>n};return w}var QH=()=>typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",JH=QH(),eG=()=>typeof navigator<"u"&&navigator.product==="ReactNative",tG=eG(),rG=()=>JH||tG?$.useLayoutEffect:$.useEffect,dy=rG();function s4(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function iw(e,t){if(s4(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;const r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let i=0;ie(...t),r)}function pG(e,t,r,n,i,a){e.current=n,r.current=!1,i.current&&(i.current=null,a())}function mG(e,t,r,n,i,a,o,s,u,l,h){if(!e)return()=>{};let p=!1,g=null;const _=()=>{if(p||!s.current)return;const b=t.getState();let x,S;try{x=n(b,i.current)}catch(O){S=O,g=O}S||(g=null),x===a.current?o.current||l():(a.current=x,u.current=x,o.current=!0,h())};return r.onStateChange=_,r.trySubscribe(),_(),()=>{if(p=!0,r.tryUnsubscribe(),r.onStateChange=null,g)throw g}}function vG(e,t){return e===t}function gG(e,t,r,{pure:n,areStatesEqual:i=vG,areOwnPropsEqual:a=iw,areStatePropsEqual:o=iw,areMergedPropsEqual:s=iw,forwardRef:u=!1,context:l=O$}={}){const h=l,p=HH(e),g=WH(t),_=YH(r),w=!!e;return x=>{const S=x.displayName||x.name||"Component",O=`Connect(${S})`,E={shouldHandleStateChanges:w,displayName:O,wrappedComponentName:S,WrappedComponent:x,initMapStateToProps:p,initMapDispatchToProps:g,initMergeProps:_,areStatesEqual:i,areStatePropsEqual:o,areOwnPropsEqual:a,areMergedPropsEqual:s};function j(M){const[q,W,H]=$.useMemo(()=>{const{reactReduxForwardedRef:Y,...ue}=M;return[M.context,Y,ue]},[M]),K=$.useMemo(()=>{let Y=h;return q!=null&&q.Consumer,Y},[q,h]),te=$.useContext(K),se=!!M.store&&!!M.store.getState&&!!M.store.dispatch,X=!!te&&!!te.store,ee=se?M.store:te.store,re=X?te.getServerState:ee.getState,U=$.useMemo(()=>VH(ee.dispatch,E),[ee]),[I,F]=$.useMemo(()=>{if(!w)return dG;const Y=x$(ee,se?void 0:te.subscription),ue=Y.notifyNestedSubs.bind(Y);return[Y,ue]},[ee,se,te]),B=$.useMemo(()=>se?te:{...te,subscription:I},[se,te,I]),k=$.useRef(void 0),Z=$.useRef(H),Q=$.useRef(void 0),ae=$.useRef(!1),fe=$.useRef(!1),de=$.useRef(void 0);dy(()=>(fe.current=!0,()=>{fe.current=!1}),[]);const ve=$.useMemo(()=>()=>Q.current&&H===Z.current?Q.current:U(ee.getState(),H),[ee,H]),D=$.useMemo(()=>ue=>I?mG(w,ee,I,U,Z,k,ae,fe,Q,F,ue):()=>{},[I]);hG(pG,[Z,k,ae,H,Q,F]);let z;try{z=$.useSyncExternalStore(D,ve,re?()=>U(re(),H):ve)}catch(Y){throw de.current&&(Y.message+=` +The error may be correlated with this previous error: +${de.current.stack} + +`),Y}dy(()=>{de.current=void 0,Q.current=void 0,k.current=z});const J=$.useMemo(()=>$.createElement(x,{...z,ref:W}),[W,x,z]);return $.useMemo(()=>w?$.createElement(K.Provider,{value:B},J):J,[K,J,B])}const T=$.memo(j);if(T.WrappedComponent=x,T.displayName=j.displayName=O,u){const q=$.forwardRef(function(H,K){return $.createElement(T,{...H,reactReduxForwardedRef:K})});return q.displayName=O,q.WrappedComponent=x,WO(q,x)}return WO(T,x)}}var C$=gG;function yG(e){const{children:t,context:r,serverState:n,store:i}=e,a=$.useMemo(()=>{const u=x$(i);return{store:i,subscription:u,getServerState:n?()=>n:void 0}},[i,n]),o=$.useMemo(()=>i.getState(),[i]);dy(()=>{const{subscription:u}=a;return u.onStateChange=u.notifyNestedSubs,u.trySubscribe(),o!==i.getState()&&u.notifyNestedSubs(),()=>{u.tryUnsubscribe(),u.onStateChange=void 0}},[a,o]);const s=r||O$;return $.createElement(s.Provider,{value:a},t)}var P$=yG,kh={},f4;function bG(){if(f4)return kh;f4=1,Object.defineProperty(kh,"__esModule",{value:!0}),kh.parse=o,kh.serialize=l;const e=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,t=/^[\u0021-\u003A\u003C-\u007E]*$/,r=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,n=/^[\u0020-\u003A\u003D-\u007E]*$/,i=Object.prototype.toString,a=(()=>{const g=function(){};return g.prototype=Object.create(null),g})();function o(g,_){const w=new a,b=g.length;if(b<2)return w;const x=(_==null?void 0:_.decode)||h;let S=0;do{const O=g.indexOf("=",S);if(O===-1)break;const E=g.indexOf(";",S),j=E===-1?b:E;if(O>j){S=g.lastIndexOf(";",O-1)+1;continue}const A=s(g,S,O),T=u(g,O,A),M=g.slice(A,T);if(w[M]===void 0){let q=s(g,O+1,j),W=u(g,j,q);const H=x(g.slice(q,W));w[M]=H}S=j+1}while(Sw;){const b=g.charCodeAt(--_);if(b!==32&&b!==9)return _+1}return w}function l(g,_,w){const b=(w==null?void 0:w.encode)||encodeURIComponent;if(!e.test(g))throw new TypeError(`argument name is invalid: ${g}`);const x=b(_);if(!t.test(x))throw new TypeError(`argument val is invalid: ${_}`);let S=g+"="+x;if(!w)return S;if(w.maxAge!==void 0){if(!Number.isInteger(w.maxAge))throw new TypeError(`option maxAge is invalid: ${w.maxAge}`);S+="; Max-Age="+w.maxAge}if(w.domain){if(!r.test(w.domain))throw new TypeError(`option domain is invalid: ${w.domain}`);S+="; Domain="+w.domain}if(w.path){if(!n.test(w.path))throw new TypeError(`option path is invalid: ${w.path}`);S+="; Path="+w.path}if(w.expires){if(!p(w.expires)||!Number.isFinite(w.expires.valueOf()))throw new TypeError(`option expires is invalid: ${w.expires}`);S+="; Expires="+w.expires.toUTCString()}if(w.httpOnly&&(S+="; HttpOnly"),w.secure&&(S+="; Secure"),w.partitioned&&(S+="; Partitioned"),w.priority)switch(typeof w.priority=="string"?w.priority.toLowerCase():void 0){case"low":S+="; Priority=Low";break;case"medium":S+="; Priority=Medium";break;case"high":S+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${w.priority}`)}if(w.sameSite)switch(typeof w.sameSite=="string"?w.sameSite.toLowerCase():w.sameSite){case!0:case"strict":S+="; SameSite=Strict";break;case"lax":S+="; SameSite=Lax";break;case"none":S+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${w.sameSite}`)}return S}function h(g){if(g.indexOf("%")===-1)return g;try{return decodeURIComponent(g)}catch{return g}}function p(g){return i.call(g)==="[object Date]"}return kh}bG();/** + * react-router v7.5.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */var d4="popstate";function _G(e={}){function t(n,i){let{pathname:a,search:o,hash:s}=n.location;return HO("",{pathname:a,search:o,hash:s},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function r(n,i){return typeof i=="string"?i:Cp(i)}return xG(t,r,null,e)}function hr(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Ca(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function wG(){return Math.random().toString(36).substring(2,10)}function h4(e,t){return{usr:e.state,key:e.key,idx:t}}function HO(e,t,r=null,n){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?hd(t):t,state:r,key:t&&t.key||n||wG()}}function Cp({pathname:e="/",search:t="",hash:r=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}function hd(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substring(r),e=e.substring(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substring(n),e=e.substring(0,n)),e&&(t.pathname=e)}return t}function xG(e,t,r,n={}){let{window:i=document.defaultView,v5Compat:a=!1}=n,o=i.history,s="POP",u=null,l=h();l==null&&(l=0,o.replaceState({...o.state,idx:l},""));function h(){return(o.state||{idx:null}).idx}function p(){s="POP";let x=h(),S=x==null?null:x-l;l=x,u&&u({action:s,location:b.location,delta:S})}function g(x,S){s="PUSH";let O=HO(b.location,x,S);l=h()+1;let E=h4(O,l),j=b.createHref(O);try{o.pushState(E,"",j)}catch(A){if(A instanceof DOMException&&A.name==="DataCloneError")throw A;i.location.assign(j)}a&&u&&u({action:s,location:b.location,delta:1})}function _(x,S){s="REPLACE";let O=HO(b.location,x,S);l=h();let E=h4(O,l),j=b.createHref(O);o.replaceState(E,"",j),a&&u&&u({action:s,location:b.location,delta:0})}function w(x){let S=i.location.origin!=="null"?i.location.origin:i.location.href,O=typeof x=="string"?x:Cp(x);return O=O.replace(/ $/,"%20"),hr(S,`No window.location.(origin|href) available to create URL for href: ${O}`),new URL(O,S)}let b={get action(){return s},get location(){return e(i,o)},listen(x){if(u)throw new Error("A history only accepts one active listener");return i.addEventListener(d4,p),u=x,()=>{i.removeEventListener(d4,p),u=null}},createHref(x){return t(i,x)},createURL:w,encodeLocation(x){let S=w(x);return{pathname:S.pathname,search:S.search,hash:S.hash}},push:g,replace:_,go(x){return o.go(x)}};return b}function E$(e,t,r="/"){return SG(e,t,r,!1)}function SG(e,t,r,n){let i=typeof t=="string"?hd(t):t,a=Yo(i.pathname||"/",r);if(a==null)return null;let o=j$(e);OG(o);let s=null;for(let u=0;s==null&&u{let u={relativePath:s===void 0?a.path||"":s,caseSensitive:a.caseSensitive===!0,childrenIndex:o,route:a};u.relativePath.startsWith("/")&&(hr(u.relativePath.startsWith(n),`Absolute route path "${u.relativePath}" nested under path "${n}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),u.relativePath=u.relativePath.slice(n.length));let l=qo([n,u.relativePath]),h=r.concat(u);a.children&&a.children.length>0&&(hr(a.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${l}".`),j$(a.children,t,h,l)),!(a.path==null&&!a.index)&&t.push({path:l,score:kG(l,a.index),routesMeta:h})};return e.forEach((a,o)=>{var s;if(a.path===""||!((s=a.path)!=null&&s.includes("?")))i(a,o);else for(let u of T$(a.path))i(a,o,u)}),t}function T$(e){let t=e.split("/");if(t.length===0)return[];let[r,...n]=t,i=r.endsWith("?"),a=r.replace(/\?$/,"");if(n.length===0)return i?[a,""]:[a];let o=T$(n.join("/")),s=[];return s.push(...o.map(u=>u===""?a:[a,u].join("/"))),i&&s.push(...o),s.map(u=>e.startsWith("/")&&u===""?"/":u)}function OG(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:NG(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}var CG=/^:[\w-]+$/,PG=3,EG=2,jG=1,TG=10,AG=-2,p4=e=>e==="*";function kG(e,t){let r=e.split("/"),n=r.length;return r.some(p4)&&(n+=AG),t&&(n+=EG),r.filter(i=>!p4(i)).reduce((i,a)=>i+(CG.test(a)?PG:a===""?jG:TG),n)}function NG(e,t){return e.length===t.length&&e.slice(0,-1).every((n,i)=>n===t[i])?e[e.length-1]-t[t.length-1]:0}function RG(e,t,r=!1){let{routesMeta:n}=e,i={},a="/",o=[];for(let s=0;s{if(h==="*"){let w=s[g]||"";o=a.slice(0,a.length-w.length).replace(/(.)\/+$/,"$1")}const _=s[g];return p&&!_?l[h]=void 0:l[h]=(_||"").replace(/%2F/g,"/"),l},{}),pathname:a,pathnameBase:o,pattern:e}}function MG(e,t=!1,r=!0){Ca(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 n=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,s,u)=>(n.push({paramName:s,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(n.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),n]}function LG(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Ca(!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 Yo(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&n!=="/"?null:e.slice(r)||"/"}function DG(e,t="/"){let{pathname:r,search:n="",hash:i=""}=typeof e=="string"?hd(e):e;return{pathname:r?r.startsWith("/")?r:IG(r,t):t,search:BG(n),hash:UG(i)}}function IG(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?r.length>1&&r.pop():i!=="."&&r.push(i)}),r.length>1?r.join("/"):"/"}function sw(e,t,r,n){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` 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 $G(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function xj(e){let t=$G(e);return t.map((r,n)=>n===t.length-1?r.pathname:r.pathnameBase)}function Sj(e,t,r,n=!1){let i;typeof e=="string"?i=hd(e):(i={...e},hr(!i.pathname||!i.pathname.includes("?"),sw("?","pathname","search",i)),hr(!i.pathname||!i.pathname.includes("#"),sw("#","pathname","hash",i)),hr(!i.search||!i.search.includes("#"),sw("#","search","hash",i)));let a=e===""||i.pathname==="",o=a?"/":i.pathname,s;if(o==null)s=r;else{let p=t.length-1;if(!n&&o.startsWith("..")){let g=o.split("/");for(;g[0]==="..";)g.shift(),p-=1;i.pathname=g.join("/")}s=p>=0?t[p]:"/"}let u=DG(i,s),l=o&&o!=="/"&&o.endsWith("/"),h=(a||o===".")&&r.endsWith("/");return!u.pathname.endsWith("/")&&(l||h)&&(u.pathname+="/"),u}var qo=e=>e.join("/").replace(/\/\/+/g,"/"),FG=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),BG=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,UG=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function zG(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var A$=["POST","PUT","PATCH","DELETE"];new Set(A$);var VG=["GET",...A$];new Set(VG);var pd=$.createContext(null);pd.displayName="DataRouter";var ub=$.createContext(null);ub.displayName="DataRouterState";var k$=$.createContext({isTransitioning:!1});k$.displayName="ViewTransition";var qG=$.createContext(new Map);qG.displayName="Fetchers";var WG=$.createContext(null);WG.displayName="Await";var Ea=$.createContext(null);Ea.displayName="Navigation";var jm=$.createContext(null);jm.displayName="Location";var ja=$.createContext({outlet:null,matches:[],isDataRoute:!1});ja.displayName="Route";var Oj=$.createContext(null);Oj.displayName="RouteError";function HG(e,{relative:t}={}){hr(Zu(),"useHref() may be used only in the context of a component.");let{basename:r,navigator:n}=$.useContext(Ea),{hash:i,pathname:a,search:o}=Tm(e,{relative:t}),s=a;return r!=="/"&&(s=a==="/"?r:qo([r,a])),n.createHref({pathname:s,search:o,hash:i})}function Zu(){return $.useContext(jm)!=null}function Sn(){return hr(Zu(),"useLocation() may be used only in the context of a component."),$.useContext(jm).location}var N$="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function R$(e){$.useContext(Ea).static||$.useLayoutEffect(e)}function mo(){let{isDataRoute:e}=$.useContext(ja);return e?aK():GG()}function GG(){hr(Zu(),"useNavigate() may be used only in the context of a component.");let e=$.useContext(pd),{basename:t,navigator:r}=$.useContext(Ea),{matches:n}=$.useContext(ja),{pathname:i}=Sn(),a=JSON.stringify(xj(n)),o=$.useRef(!1);return R$(()=>{o.current=!0}),$.useCallback((u,l={})=>{if(Ca(o.current,N$),!o.current)return;if(typeof u=="number"){r.go(u);return}let h=Sj(u,JSON.parse(a),i,l.relative==="path");e==null&&t!=="/"&&(h.pathname=h.pathname==="/"?t:qo([t,h.pathname])),(l.replace?r.replace:r.push)(h,l.state,l)},[t,r,a,i,e])}$.createContext(null);function md(){let{matches:e}=$.useContext(ja),t=e[e.length-1];return t?t.params:{}}function Tm(e,{relative:t}={}){let{matches:r}=$.useContext(ja),{pathname:n}=Sn(),i=JSON.stringify(xj(r));return $.useMemo(()=>Sj(e,JSON.parse(i),n,t==="path"),[e,i,n,t])}function KG(e,t){return M$(e,t)}function M$(e,t,r,n){var O;hr(Zu(),"useRoutes() may be used only in the context of a component.");let{navigator:i,static:a}=$.useContext(Ea),{matches:o}=$.useContext(ja),s=o[o.length-1],u=s?s.params:{},l=s?s.pathname:"/",h=s?s.pathnameBase:"/",p=s&&s.route;{let E=p&&p.path||"";L$(l,!p||E.endsWith("*")||E.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${l}" (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 g=Sn(),_;if(t){let E=typeof t=="string"?hd(t):t;hr(h==="/"||((O=E.pathname)==null?void 0:O.startsWith(h)),`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 "${h}" but pathname "${E.pathname}" was given in the \`location\` prop.`),_=E}else _=g;let w=_.pathname||"/",b=w;if(h!=="/"){let E=h.replace(/^\//,"").split("/");b="/"+w.replace(/^\//,"").split("/").slice(E.length).join("/")}let x=!a&&r&&r.matches&&r.matches.length>0?r.matches:E$(e,{pathname:b});Ca(p||x!=null,`No routes matched location "${_.pathname}${_.search}${_.hash}" `),Ca(x==null||x[x.length-1].route.element!==void 0||x[x.length-1].route.Component!==void 0||x[x.length-1].route.lazy!==void 0,`Matched leaf route at location "${_.pathname}${_.search}${_.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 S=JG(x&&x.map(E=>Object.assign({},E,{params:Object.assign({},u,E.params),pathname:qo([h,i.encodeLocation?i.encodeLocation(E.pathname).pathname:E.pathname]),pathnameBase:E.pathnameBase==="/"?h:qo([h,i.encodeLocation?i.encodeLocation(E.pathnameBase).pathname:E.pathnameBase])})),o,r,n);return t&&S?$.createElement(jm.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",..._},navigationType:"POP"}},S):S}function YG(){let e=iK(),t=zG(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,n="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:n},a={padding:"2px 4px",backgroundColor:n},o=null;return console.error("Error handled by React Router default ErrorBoundary:",e),o=$.createElement($.Fragment,null,$.createElement("p",null,"💿 Hey developer 👋"),$.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",$.createElement("code",{style:a},"ErrorBoundary")," or"," ",$.createElement("code",{style:a},"errorElement")," prop on your route.")),$.createElement($.Fragment,null,$.createElement("h2",null,"Unexpected Application Error!"),$.createElement("h3",{style:{fontStyle:"italic"}},t),r?$.createElement("pre",{style:i},r):null,o)}var ZG=$.createElement(YG,null),XG=class extends $.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?$.createElement(ja.Provider,{value:this.props.routeContext},$.createElement(Oj.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function QG({routeContext:e,match:t,children:r}){let n=$.useContext(pd);return n&&n.static&&n.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(n.staticContext._deepestRenderedBoundaryId=t.route.id),$.createElement(ja.Provider,{value:e},r)}function JG(e,t=[],r=null,n=null){if(e==null){if(!r)return null;if(r.errors)e=r.matches;else if(t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let i=e,a=r==null?void 0:r.errors;if(a!=null){let u=i.findIndex(l=>l.route.id&&(a==null?void 0:a[l.route.id])!==void 0);hr(u>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`),i=i.slice(0,Math.min(i.length,u+1))}let o=!1,s=-1;if(r)for(let u=0;u=0?i=i.slice(0,s+1):i=[i[0]];break}}}return i.reduceRight((u,l,h)=>{let p,g=!1,_=null,w=null;r&&(p=a&&l.route.id?a[l.route.id]:void 0,_=l.route.errorElement||ZG,o&&(s<0&&h===0?(L$("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),g=!0,w=null):s===h&&(g=!0,w=l.route.hydrateFallbackElement||null)));let b=t.concat(i.slice(0,h+1)),x=()=>{let S;return p?S=_:g?S=w:l.route.Component?S=$.createElement(l.route.Component,null):l.route.element?S=l.route.element:S=u,$.createElement(QG,{match:l,routeContext:{outlet:u,matches:b,isDataRoute:r!=null},children:S})};return r&&(l.route.ErrorBoundary||l.route.errorElement||h===0)?$.createElement(XG,{location:r.location,revalidation:r.revalidation,component:_,error:p,children:x(),routeContext:{outlet:null,matches:b,isDataRoute:!0}}):x()},null)}function Cj(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function eK(e){let t=$.useContext(pd);return hr(t,Cj(e)),t}function tK(e){let t=$.useContext(ub);return hr(t,Cj(e)),t}function rK(e){let t=$.useContext(ja);return hr(t,Cj(e)),t}function Pj(e){let t=rK(e),r=t.matches[t.matches.length-1];return hr(r.route.id,`${e} can only be used on routes that contain a unique "id"`),r.route.id}function nK(){return Pj("useRouteId")}function iK(){var n;let e=$.useContext(Oj),t=tK("useRouteError"),r=Pj("useRouteError");return e!==void 0?e:(n=t.errors)==null?void 0:n[r]}function aK(){let{router:e}=eK("useNavigate"),t=Pj("useNavigate"),r=$.useRef(!1);return R$(()=>{r.current=!0}),$.useCallback(async(i,a={})=>{Ca(r.current,N$),r.current&&(typeof i=="number"?e.navigate(i):await e.navigate(i,{fromRouteId:t,...a}))},[e,t])}var m4={};function L$(e,t,r){!t&&!m4[e]&&(m4[e]=!0,Ca(!1,r))}$.memo(oK);function oK({routes:e,future:t,state:r}){return M$(e,void 0,r,t)}function Ej({to:e,replace:t,state:r,relative:n}){hr(Zu()," may be used only in the context of a component.");let{static:i}=$.useContext(Ea);Ca(!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}=$.useContext(ja),{pathname:o}=Sn(),s=mo(),u=Sj(e,xj(a),o,n==="path"),l=JSON.stringify(u);return $.useEffect(()=>{s(JSON.parse(l),{replace:t,state:r,relative:n})},[s,l,n,t,r]),null}function St(e){hr(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function sK({basename:e="/",children:t=null,location:r,navigationType:n="POP",navigator:i,static:a=!1}){hr(!Zu(),"You cannot render a inside another . You should never have more than one in your app.");let o=e.replace(/^\/*/,"/"),s=$.useMemo(()=>({basename:o,navigator:i,static:a,future:{}}),[o,i,a]);typeof r=="string"&&(r=hd(r));let{pathname:u="/",search:l="",hash:h="",state:p=null,key:g="default"}=r,_=$.useMemo(()=>{let w=Yo(u,o);return w==null?null:{location:{pathname:w,search:l,hash:h,state:p,key:g},navigationType:n}},[o,u,l,h,p,g,n]);return Ca(_!=null,` is not able to match the URL "${u}${l}${h}" because it does not start with the basename, so the won't render anything.`),_==null?null:$.createElement(Ea.Provider,{value:s},$.createElement(jm.Provider,{children:t,value:_}))}function cb({children:e,location:t}){return KG(GO(e),t)}function GO(e,t=[]){let r=[];return $.Children.forEach(e,(n,i)=>{if(!$.isValidElement(n))return;let a=[...t,i];if(n.type===$.Fragment){r.push.apply(r,GO(n.props.children,a));return}hr(n.type===St,`[${typeof n.type=="string"?n.type:n.type.name}] is not a component. All component children of must be a or `),hr(!n.props.index||!n.props.children,"An index route cannot have child routes.");let o={id:n.props.id||a.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&&(o.children=GO(n.props.children,a)),r.push(o)}),r}var Qg="get",Jg="application/x-www-form-urlencoded";function fb(e){return e!=null&&typeof e.tagName=="string"}function lK(e){return fb(e)&&e.tagName.toLowerCase()==="button"}function uK(e){return fb(e)&&e.tagName.toLowerCase()==="form"}function cK(e){return fb(e)&&e.tagName.toLowerCase()==="input"}function fK(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function dK(e,t){return e.button===0&&(!t||t==="_self")&&!fK(e)}var _g=null;function hK(){if(_g===null)try{new FormData(document.createElement("form"),0),_g=!1}catch{_g=!0}return _g}var pK=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function lw(e){return e!=null&&!pK.has(e)?(Ca(!1,`"${e}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${Jg}"`),null):e}function mK(e,t){let r,n,i,a,o;if(uK(e)){let s=e.getAttribute("action");n=s?Yo(s,t):null,r=e.getAttribute("method")||Qg,i=lw(e.getAttribute("enctype"))||Jg,a=new FormData(e)}else if(lK(e)||cK(e)&&(e.type==="submit"||e.type==="image")){let s=e.form;if(s==null)throw new Error('Cannot submit a