diff --git a/assets/index-B3FfT050.js b/assets/index-B3FfT050.js deleted file mode 100644 index ce0495d..0000000 --- a/assets/index-B3FfT050.js +++ /dev/null @@ -1,69 +0,0 @@ -function Tc(e,t){for(var n=0;nr[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const o of l)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(l){const o={};return l.integrity&&(o.integrity=l.integrity),l.referrerPolicy&&(o.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?o.credentials="include":l.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(l){if(l.ep)return;l.ep=!0;const o=n(l);fetch(l.href,o)}})();function zc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Mc={exports:{}},Bo={},Dc={exports:{}},Y={};/** - * @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 wl=Symbol.for("react.element"),Op=Symbol.for("react.portal"),Fp=Symbol.for("react.fragment"),Ip=Symbol.for("react.strict_mode"),Up=Symbol.for("react.profiler"),Ap=Symbol.for("react.provider"),Bp=Symbol.for("react.context"),$p=Symbol.for("react.forward_ref"),Vp=Symbol.for("react.suspense"),Hp=Symbol.for("react.memo"),Wp=Symbol.for("react.lazy"),Yu=Symbol.iterator;function Qp(e){return e===null||typeof e!="object"?null:(e=Yu&&e[Yu]||e["@@iterator"],typeof e=="function"?e:null)}var jc={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Oc=Object.assign,Fc={};function yr(e,t,n){this.props=e,this.context=t,this.refs=Fc,this.updater=n||jc}yr.prototype.isReactComponent={};yr.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")};yr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Ic(){}Ic.prototype=yr.prototype;function Fa(e,t,n){this.props=e,this.context=t,this.refs=Fc,this.updater=n||jc}var Ia=Fa.prototype=new Ic;Ia.constructor=Fa;Oc(Ia,yr.prototype);Ia.isPureReactComponent=!0;var Xu=Array.isArray,Uc=Object.prototype.hasOwnProperty,Ua={current:null},Ac={key:!0,ref:!0,__self:!0,__source:!0};function Bc(e,t,n){var r,l={},o=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(o=""+t.key),t)Uc.call(t,r)&&!Ac.hasOwnProperty(r)&&(l[r]=t[r]);var a=arguments.length-2;if(a===1)l.children=n;else if(1>>1,ee=M[G];if(0>>1;Gl(ft,V))Uel(Un,ft)?(M[G]=Un,M[Ue]=V,G=Ue):(M[G]=ft,M[Ne]=V,G=Ne);else if(Uel(Un,V))M[G]=Un,M[Ue]=V,G=Ue;else break e}}return U}function l(M,U){var V=M.sortIndex-U.sortIndex;return V!==0?V:M.id-U.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,a=i.now();e.unstable_now=function(){return i.now()-a}}var u=[],s=[],f=1,c=null,p=3,E=!1,x=!1,w=!1,R=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,d=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(M){for(var U=n(s);U!==null;){if(U.callback===null)r(s);else if(U.startTime<=M)r(s),U.sortIndex=U.expirationTime,t(u,U);else break;U=n(s)}}function k(M){if(w=!1,v(M),!x)if(n(u)!==null)x=!0,Je(L);else{var U=n(s);U!==null&&ie(k,U.startTime-M)}}function L(M,U){x=!1,w&&(w=!1,h(N),N=-1),E=!0;var V=p;try{for(v(U),c=n(u);c!==null&&(!(c.expirationTime>U)||M&&!X());){var G=c.callback;if(typeof G=="function"){c.callback=null,p=c.priorityLevel;var ee=G(c.expirationTime<=U);U=e.unstable_now(),typeof ee=="function"?c.callback=ee:c===n(u)&&r(u),v(U)}else r(u);c=n(u)}if(c!==null)var xt=!0;else{var Ne=n(s);Ne!==null&&ie(k,Ne.startTime-U),xt=!1}return xt}finally{c=null,p=V,E=!1}}var y=!1,z=null,N=-1,F=5,O=-1;function X(){return!(e.unstable_now()-OM||125G?(M.sortIndex=V,t(s,M),n(u)===null&&M===n(s)&&(w?(h(N),N=-1):w=!0,ie(k,V-G))):(M.sortIndex=ee,t(u,M),x||E||(x=!0,Je(L))),M},e.unstable_shouldYield=X,e.unstable_wrapCallback=function(M){var U=p;return function(){var V=p;p=U;try{return M.apply(this,arguments)}finally{p=V}}}})(bc);Qc.exports=bc;var rh=Qc.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 lh=P,rt=rh;function _(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"),Ui=Object.prototype.hasOwnProperty,oh=/^[: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]*$/,Zu={},qu={};function ih(e){return Ui.call(qu,e)?!0:Ui.call(Zu,e)?!1:oh.test(e)?qu[e]=!0:(Zu[e]=!0,!1)}function ah(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 uh(e,t,n,r){if(t===null||typeof t>"u"||ah(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 We(e,t,n,r,l,o,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var De={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){De[e]=new We(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];De[t]=new We(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){De[e]=new We(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){De[e]=new We(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){De[e]=new We(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){De[e]=new We(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){De[e]=new We(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){De[e]=new We(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){De[e]=new We(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ba=/[\-:]([a-z])/g;function $a(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(Ba,$a);De[t]=new We(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(Ba,$a);De[t]=new We(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(Ba,$a);De[t]=new We(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){De[e]=new We(e,1,!1,e.toLowerCase(),null,!1,!1)});De.xlinkHref=new We("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){De[e]=new We(e,1,!1,e.toLowerCase(),null,!0,!0)});function Va(e,t,n,r){var l=De.hasOwnProperty(t)?De[t]:null;(l!==null?l.type!==0:r||!(2a||l[i]!==o[a]){var u=` -`+l[i].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=i&&0<=a);break}}}finally{di=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ar(e):""}function sh(e){switch(e.tag){case 5:return Ar(e.type);case 16:return Ar("Lazy");case 13:return Ar("Suspense");case 19:return Ar("SuspenseList");case 0:case 2:case 15:return e=fi(e.type,!1),e;case 11:return e=fi(e.type.render,!1),e;case 1:return e=fi(e.type,!0),e;default:return""}}function Vi(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 bn:return"Fragment";case Qn:return"Portal";case Ai:return"Profiler";case Ha:return"StrictMode";case Bi:return"Suspense";case $i:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Yc:return(e.displayName||"Context")+".Consumer";case Gc:return(e._context.displayName||"Context")+".Provider";case Wa:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Qa:return t=e.displayName||null,t!==null?t:Vi(e.type)||"Memo";case Yt:t=e._payload,e=e._init;try{return Vi(e(t))}catch{}}return null}function ch(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 Vi(t);case 8:return t===Ha?"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 cn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Jc(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function dh(e){var t=Jc(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(i){r=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ol(e){e._valueTracker||(e._valueTracker=dh(e))}function Zc(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Jc(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function fo(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 Hi(e,t){var n=t.checked;return ge({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function ts(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=cn(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 qc(e,t){t=t.checked,t!=null&&Va(e,"checked",t,!1)}function Wi(e,t){qc(e,t);var n=cn(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")?Qi(e,t.type,n):t.hasOwnProperty("defaultValue")&&Qi(e,t.type,cn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ns(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 Qi(e,t,n){(t!=="number"||fo(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Br=Array.isArray;function lr(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=Fl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function el(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Wr={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},fh=["Webkit","ms","Moz","O"];Object.keys(Wr).forEach(function(e){fh.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Wr[t]=Wr[e]})});function rd(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Wr.hasOwnProperty(e)&&Wr[e]?(""+t).trim():t+"px"}function ld(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=rd(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var ph=ge({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 Gi(e,t){if(t){if(ph[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(_(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(_(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(_(61))}if(t.style!=null&&typeof t.style!="object")throw Error(_(62))}}function Yi(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 Xi=null;function ba(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ji=null,or=null,ir=null;function os(e){if(e=El(e)){if(typeof Ji!="function")throw Error(_(280));var t=e.stateNode;t&&(t=Qo(t),Ji(e.stateNode,e.type,t))}}function od(e){or?ir?ir.push(e):ir=[e]:or=e}function id(){if(or){var e=or,t=ir;if(ir=or=null,os(e),t)for(e=0;e>>=0,e===0?32:31-(Ch(e)/Ph|0)|0}var Il=64,Ul=4194304;function $r(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 vo(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,o=e.pingedLanes,i=n&268435455;if(i!==0){var a=i&~l;a!==0?r=$r(a):(o&=i,o!==0&&(r=$r(o)))}else i=n&~l,i!==0?r=$r(i):o!==0&&(r=$r(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,o=t&-t,l>=o||l===16&&(o&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-yt(t),e[t]=n}function Nh(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=br),hs=" ",ms=!1;function Rd(e,t){switch(e){case"keyup":return rm.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function _d(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Kn=!1;function om(e,t){switch(e){case"compositionend":return _d(t);case"keypress":return t.which!==32?null:(ms=!0,hs);case"textInput":return e=t.data,e===hs&&ms?null:e;default:return null}}function im(e,t){if(Kn)return e==="compositionend"||!eu&&Rd(e,t)?(e=Cd(),eo=Ja=qt=null,Kn=!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=ws(n)}}function zd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?zd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Md(){for(var e=window,t=fo();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=fo(e.document)}return t}function tu(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 mm(e){var t=Md(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&zd(n.ownerDocument.documentElement,n)){if(r!==null&&tu(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,o=Math.min(r.start,l);r=r.end===void 0?o:Math.min(r.end,l),!e.extend&&o>r&&(l=r,r=o,o=l),l=Ss(n,o);var i=Ss(n,r);l&&i&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.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,Gn=null,ra=null,Gr=null,la=!1;function xs(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;la||Gn==null||Gn!==fo(r)||(r=Gn,"selectionStart"in r&&tu(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}),Gr&&il(Gr,r)||(Gr=r,r=wo(ra,"onSelect"),0Jn||(e.current=ca[Jn],ca[Jn]=null,Jn--)}function ue(e,t){Jn++,ca[Jn]=e.current,e.current=t}var dn={},Ie=pn(dn),Ke=pn(!1),Nn=dn;function dr(e,t){var n=e.type.contextTypes;if(!n)return dn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},o;for(o in n)l[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function Ge(e){return e=e.childContextTypes,e!=null}function xo(){de(Ke),de(Ie)}function Ls(e,t,n){if(Ie.current!==dn)throw Error(_(168));ue(Ie,t),ue(Ke,n)}function $d(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(_(108,ch(e)||"Unknown",l));return ge({},n,r)}function Eo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||dn,Nn=Ie.current,ue(Ie,e),ue(Ke,Ke.current),!0}function Ns(e,t,n){var r=e.stateNode;if(!r)throw Error(_(169));n?(e=$d(e,t,Nn),r.__reactInternalMemoizedMergedChildContext=e,de(Ke),de(Ie),ue(Ie,e)):de(Ke),ue(Ke,n)}var Mt=null,bo=!1,Ri=!1;function Vd(e){Mt===null?Mt=[e]:Mt.push(e)}function _m(e){bo=!0,Vd(e)}function hn(){if(!Ri&&Mt!==null){Ri=!0;var e=0,t=re;try{var n=Mt;for(re=1;e>=i,l-=i,Dt=1<<32-yt(t)+l|n<N?(F=z,z=null):F=z.sibling;var O=p(h,z,v[N],k);if(O===null){z===null&&(z=F);break}e&&z&&O.alternate===null&&t(h,z),d=o(O,d,N),y===null?L=O:y.sibling=O,y=O,z=F}if(N===v.length)return n(h,z),pe&&yn(h,N),L;if(z===null){for(;NN?(F=z,z=null):F=z.sibling;var X=p(h,z,O.value,k);if(X===null){z===null&&(z=F);break}e&&z&&X.alternate===null&&t(h,z),d=o(X,d,N),y===null?L=X:y.sibling=X,y=X,z=F}if(O.done)return n(h,z),pe&&yn(h,N),L;if(z===null){for(;!O.done;N++,O=v.next())O=c(h,O.value,k),O!==null&&(d=o(O,d,N),y===null?L=O:y.sibling=O,y=O);return pe&&yn(h,N),L}for(z=r(h,z);!O.done;N++,O=v.next())O=E(z,h,N,O.value,k),O!==null&&(e&&O.alternate!==null&&z.delete(O.key===null?N:O.key),d=o(O,d,N),y===null?L=O:y.sibling=O,y=O);return e&&z.forEach(function($){return t(h,$)}),pe&&yn(h,N),L}function R(h,d,v,k){if(typeof v=="object"&&v!==null&&v.type===bn&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case jl:e:{for(var L=v.key,y=d;y!==null;){if(y.key===L){if(L=v.type,L===bn){if(y.tag===7){n(h,y.sibling),d=l(y,v.props.children),d.return=h,h=d;break e}}else if(y.elementType===L||typeof L=="object"&&L!==null&&L.$$typeof===Yt&&Ms(L)===y.type){n(h,y.sibling),d=l(y,v.props),d.ref=zr(h,y,v),d.return=h,h=d;break e}n(h,y);break}else t(h,y);y=y.sibling}v.type===bn?(d=Ln(v.props.children,h.mode,k,v.key),d.return=h,h=d):(k=uo(v.type,v.key,v.props,null,h.mode,k),k.ref=zr(h,d,v),k.return=h,h=k)}return i(h);case Qn:e:{for(y=v.key;d!==null;){if(d.key===y)if(d.tag===4&&d.stateNode.containerInfo===v.containerInfo&&d.stateNode.implementation===v.implementation){n(h,d.sibling),d=l(d,v.children||[]),d.return=h,h=d;break e}else{n(h,d);break}else t(h,d);d=d.sibling}d=ji(v,h.mode,k),d.return=h,h=d}return i(h);case Yt:return y=v._init,R(h,d,y(v._payload),k)}if(Br(v))return x(h,d,v,k);if(Rr(v))return w(h,d,v,k);Ql(h,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,d!==null&&d.tag===6?(n(h,d.sibling),d=l(d,v),d.return=h,h=d):(n(h,d),d=Di(v,h.mode,k),d.return=h,h=d),i(h)):n(h,d)}return R}var pr=bd(!0),Kd=bd(!1),Po=pn(null),Ro=null,er=null,ou=null;function iu(){ou=er=Ro=null}function au(e){var t=Po.current;de(Po),e._currentValue=t}function pa(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 ur(e,t){Ro=e,ou=er=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(be=!0),e.firstContext=null)}function ct(e){var t=e._currentValue;if(ou!==e)if(e={context:e,memoizedValue:t,next:null},er===null){if(Ro===null)throw Error(_(308));er=e,Ro.dependencies={lanes:0,firstContext:e}}else er=er.next=e;return t}var En=null;function uu(e){En===null?En=[e]:En.push(e)}function Gd(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,uu(t)):(n.next=l.next,l.next=n),t.interleaved=n,At(e,r)}function At(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 Xt=!1;function su(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Yd(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 Ot(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function on(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,J&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,At(e,n)}return l=r.interleaved,l===null?(t.next=t,uu(r)):(t.next=l.next,l.next=t),r.interleaved=t,At(e,n)}function no(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,Ga(e,n)}}function Ds(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?l=o=i:o=o.next=i,n=n.next}while(n!==null);o===null?l=o=t:o=o.next=t}else l=o=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:o,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 _o(e,t,n,r){var l=e.updateQueue;Xt=!1;var o=l.firstBaseUpdate,i=l.lastBaseUpdate,a=l.shared.pending;if(a!==null){l.shared.pending=null;var u=a,s=u.next;u.next=null,i===null?o=s:i.next=s,i=u;var f=e.alternate;f!==null&&(f=f.updateQueue,a=f.lastBaseUpdate,a!==i&&(a===null?f.firstBaseUpdate=s:a.next=s,f.lastBaseUpdate=u))}if(o!==null){var c=l.baseState;i=0,f=s=u=null,a=o;do{var p=a.lane,E=a.eventTime;if((r&p)===p){f!==null&&(f=f.next={eventTime:E,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var x=e,w=a;switch(p=t,E=n,w.tag){case 1:if(x=w.payload,typeof x=="function"){c=x.call(E,c,p);break e}c=x;break e;case 3:x.flags=x.flags&-65537|128;case 0:if(x=w.payload,p=typeof x=="function"?x.call(E,c,p):x,p==null)break e;c=ge({},c,p);break e;case 2:Xt=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,p=l.effects,p===null?l.effects=[a]:p.push(a))}else E={eventTime:E,lane:p,tag:a.tag,payload:a.payload,callback:a.callback,next:null},f===null?(s=f=E,u=c):f=f.next=E,i|=p;if(a=a.next,a===null){if(a=l.shared.pending,a===null)break;p=a,a=p.next,p.next=null,l.lastBaseUpdate=p,l.shared.pending=null}}while(!0);if(f===null&&(u=c),l.baseState=u,l.firstBaseUpdate=s,l.lastBaseUpdate=f,t=l.shared.interleaved,t!==null){l=t;do i|=l.lane,l=l.next;while(l!==t)}else o===null&&(l.shared.lanes=0);Mn|=i,e.lanes=i,e.memoizedState=c}}function js(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Li.transition;Li.transition={};try{e(!1),t()}finally{re=n,Li.transition=r}}function pf(){return dt().memoizedState}function zm(e,t,n){var r=un(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},hf(e))mf(t,n);else if(n=Gd(e,t,n,r),n!==null){var l=Ve();wt(n,e,r,l),vf(n,t,r)}}function Mm(e,t,n){var r=un(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(hf(e))mf(t,l);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var i=t.lastRenderedState,a=o(i,n);if(l.hasEagerState=!0,l.eagerState=a,St(a,i)){var u=t.interleaved;u===null?(l.next=l,uu(t)):(l.next=u.next,u.next=l),t.interleaved=l;return}}catch{}finally{}n=Gd(e,t,l,r),n!==null&&(l=Ve(),wt(n,e,r,l),vf(n,t,r))}}function hf(e){var t=e.alternate;return e===ve||t!==null&&t===ve}function mf(e,t){Yr=No=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function vf(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ga(e,n)}}var To={readContext:ct,useCallback:je,useContext:je,useEffect:je,useImperativeHandle:je,useInsertionEffect:je,useLayoutEffect:je,useMemo:je,useReducer:je,useRef:je,useState:je,useDebugValue:je,useDeferredValue:je,useTransition:je,useMutableSource:je,useSyncExternalStore:je,useId:je,unstable_isNewReconciler:!1},Dm={readContext:ct,useCallback:function(e,t){return Ct().memoizedState=[e,t===void 0?null:t],e},useContext:ct,useEffect:Fs,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,lo(4194308,4,uf.bind(null,t,e),n)},useLayoutEffect:function(e,t){return lo(4194308,4,e,t)},useInsertionEffect:function(e,t){return lo(4,2,e,t)},useMemo:function(e,t){var n=Ct();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ct();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=zm.bind(null,ve,e),[r.memoizedState,e]},useRef:function(e){var t=Ct();return e={current:e},t.memoizedState=e},useState:Os,useDebugValue:gu,useDeferredValue:function(e){return Ct().memoizedState=e},useTransition:function(){var e=Os(!1),t=e[0];return e=Tm.bind(null,e[1]),Ct().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ve,l=Ct();if(pe){if(n===void 0)throw Error(_(407));n=n()}else{if(n=t(),Le===null)throw Error(_(349));zn&30||qd(r,t,n)}l.memoizedState=n;var o={value:n,getSnapshot:t};return l.queue=o,Fs(tf.bind(null,r,o,e),[e]),r.flags|=2048,hl(9,ef.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Ct(),t=Le.identifierPrefix;if(pe){var n=jt,r=Dt;n=(r&~(1<<32-yt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=fl++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[Pt]=t,e[sl]=r,Rf(e,t,!1,!1),t.stateNode=e;e:{switch(i=Yi(n,r),n){case"dialog":ce("cancel",e),ce("close",e),l=r;break;case"iframe":case"object":case"embed":ce("load",e),l=r;break;case"video":case"audio":for(l=0;lvr&&(t.flags|=128,r=!0,Mr(o,!1),t.lanes=4194304)}else{if(!r)if(e=Lo(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Mr(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!pe)return Oe(t),null}else 2*xe()-o.renderingStartTime>vr&&n!==1073741824&&(t.flags|=128,r=!0,Mr(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(n=o.last,n!==null?n.sibling=i:t.child=i,o.last=i)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=xe(),t.sibling=null,n=me.current,ue(me,r?n&1|2:n&1),t):(Oe(t),null);case 22:case 23:return ku(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?qe&1073741824&&(Oe(t),t.subtreeFlags&6&&(t.flags|=8192)):Oe(t),null;case 24:return null;case 25:return null}throw Error(_(156,t.tag))}function $m(e,t){switch(ru(t),t.tag){case 1:return Ge(t.type)&&xo(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return hr(),de(Ke),de(Ie),fu(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return du(t),null;case 13:if(de(me),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(_(340));fr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return de(me),null;case 4:return hr(),null;case 10:return au(t.type._context),null;case 22:case 23:return ku(),null;case 24:return null;default:return null}}var Kl=!1,Fe=!1,Vm=typeof WeakSet=="function"?WeakSet:Set,j=null;function tr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){we(e,t,r)}else n.current=null}function Ea(e,t,n){try{n()}catch(r){we(e,t,r)}}var Ks=!1;function Hm(e,t){if(oa=go,e=Md(),tu(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var i=0,a=-1,u=-1,s=0,f=0,c=e,p=null;t:for(;;){for(var E;c!==n||l!==0&&c.nodeType!==3||(a=i+l),c!==o||r!==0&&c.nodeType!==3||(u=i+r),c.nodeType===3&&(i+=c.nodeValue.length),(E=c.firstChild)!==null;)p=c,c=E;for(;;){if(c===e)break t;if(p===n&&++s===l&&(a=i),p===o&&++f===r&&(u=i),(E=c.nextSibling)!==null)break;c=p,p=c.parentNode}c=E}n=a===-1||u===-1?null:{start:a,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(ia={focusedElem:e,selectionRange:n},go=!1,j=t;j!==null;)if(t=j,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,j=e;else for(;j!==null;){t=j;try{var x=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(x!==null){var w=x.memoizedProps,R=x.memoizedState,h=t.stateNode,d=h.getSnapshotBeforeUpdate(t.elementType===t.type?w:ht(t.type,w),R);h.__reactInternalSnapshotBeforeUpdate=d}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(_(163))}}catch(k){we(t,t.return,k)}if(e=t.sibling,e!==null){e.return=t.return,j=e;break}j=t.return}return x=Ks,Ks=!1,x}function Xr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var o=l.destroy;l.destroy=void 0,o!==void 0&&Ea(t,n,o)}l=l.next}while(l!==r)}}function Yo(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 ka(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 Nf(e){var t=e.alternate;t!==null&&(e.alternate=null,Nf(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Pt],delete t[sl],delete t[sa],delete t[Pm],delete t[Rm])),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 Tf(e){return e.tag===5||e.tag===3||e.tag===4}function Gs(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Tf(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 Ca(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=So));else if(r!==4&&(e=e.child,e!==null))for(Ca(e,t,n),e=e.sibling;e!==null;)Ca(e,t,n),e=e.sibling}function Pa(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(Pa(e,t,n),e=e.sibling;e!==null;)Pa(e,t,n),e=e.sibling}var ze=null,mt=!1;function Qt(e,t,n){for(n=n.child;n!==null;)zf(e,t,n),n=n.sibling}function zf(e,t,n){if(Rt&&typeof Rt.onCommitFiberUnmount=="function")try{Rt.onCommitFiberUnmount($o,n)}catch{}switch(n.tag){case 5:Fe||tr(n,t);case 6:var r=ze,l=mt;ze=null,Qt(e,t,n),ze=r,mt=l,ze!==null&&(mt?(e=ze,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ze.removeChild(n.stateNode));break;case 18:ze!==null&&(mt?(e=ze,n=n.stateNode,e.nodeType===8?Pi(e.parentNode,n):e.nodeType===1&&Pi(e,n),ll(e)):Pi(ze,n.stateNode));break;case 4:r=ze,l=mt,ze=n.stateNode.containerInfo,mt=!0,Qt(e,t,n),ze=r,mt=l;break;case 0:case 11:case 14:case 15:if(!Fe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var o=l,i=o.destroy;o=o.tag,i!==void 0&&(o&2||o&4)&&Ea(n,t,i),l=l.next}while(l!==r)}Qt(e,t,n);break;case 1:if(!Fe&&(tr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){we(n,t,a)}Qt(e,t,n);break;case 21:Qt(e,t,n);break;case 22:n.mode&1?(Fe=(r=Fe)||n.memoizedState!==null,Qt(e,t,n),Fe=r):Qt(e,t,n);break;default:Qt(e,t,n)}}function Ys(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Vm),t.forEach(function(r){var l=Zm.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function pt(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=i),r&=~o}if(r=l,r=xe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Qm(r/1960))-r,10e?16:e,en===null)var r=!1;else{if(e=en,en=null,Do=0,J&6)throw Error(_(331));var l=J;for(J|=4,j=e.current;j!==null;){var o=j,i=o.child;if(j.flags&16){var a=o.deletions;if(a!==null){for(var u=0;uxe()-xu?_n(e,0):Su|=n),Ye(e,t)}function Af(e,t){t===0&&(e.mode&1?(t=Ul,Ul<<=1,!(Ul&130023424)&&(Ul=4194304)):t=1);var n=Ve();e=At(e,t),e!==null&&(Sl(e,t,n),Ye(e,n))}function Jm(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Af(e,n)}function Zm(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(_(314))}r!==null&&r.delete(t),Af(e,n)}var Bf;Bf=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ke.current)be=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return be=!1,Am(e,t,n);be=!!(e.flags&131072)}else be=!1,pe&&t.flags&1048576&&Hd(t,Co,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;oo(e,t),e=t.pendingProps;var l=dr(t,Ie.current);ur(t,n),l=hu(null,t,r,e,l,n);var o=mu();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ge(r)?(o=!0,Eo(t)):o=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,su(t),l.updater=Go,t.stateNode=l,l._reactInternals=t,ma(t,r,e,n),t=ya(null,t,r,!0,o,n)):(t.tag=0,pe&&o&&nu(t),$e(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(oo(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=ev(r),e=ht(r,e),l){case 0:t=ga(null,t,r,e,n);break e;case 1:t=Ws(null,t,r,e,n);break e;case 11:t=Vs(null,t,r,e,n);break e;case 14:t=Hs(null,t,r,ht(r.type,e),n);break e}throw Error(_(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ht(r,l),ga(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ht(r,l),Ws(e,t,r,l,n);case 3:e:{if(kf(t),e===null)throw Error(_(387));r=t.pendingProps,o=t.memoizedState,l=o.element,Yd(e,t),_o(t,r,null,n);var i=t.memoizedState;if(r=i.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){l=mr(Error(_(423)),t),t=Qs(e,t,r,n,l);break e}else if(r!==l){l=mr(Error(_(424)),t),t=Qs(e,t,r,n,l);break e}else for(tt=ln(t.stateNode.containerInfo.firstChild),nt=t,pe=!0,gt=null,n=Kd(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(fr(),r===l){t=Bt(e,t,n);break e}$e(e,t,r,n)}t=t.child}return t;case 5:return Xd(t),e===null&&fa(t),r=t.type,l=t.pendingProps,o=e!==null?e.memoizedProps:null,i=l.children,aa(r,l)?i=null:o!==null&&aa(r,o)&&(t.flags|=32),Ef(e,t),$e(e,t,i,n),t.child;case 6:return e===null&&fa(t),null;case 13:return Cf(e,t,n);case 4:return cu(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=pr(t,null,r,n):$e(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ht(r,l),Vs(e,t,r,l,n);case 7:return $e(e,t,t.pendingProps,n),t.child;case 8:return $e(e,t,t.pendingProps.children,n),t.child;case 12:return $e(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,o=t.memoizedProps,i=l.value,ue(Po,r._currentValue),r._currentValue=i,o!==null)if(St(o.value,i)){if(o.children===l.children&&!Ke.current){t=Bt(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){i=o.child;for(var u=a.firstContext;u!==null;){if(u.context===r){if(o.tag===1){u=Ot(-1,n&-n),u.tag=2;var s=o.updateQueue;if(s!==null){s=s.shared;var f=s.pending;f===null?u.next=u:(u.next=f.next,f.next=u),s.pending=u}}o.lanes|=n,u=o.alternate,u!==null&&(u.lanes|=n),pa(o.return,n,t),a.lanes|=n;break}u=u.next}}else if(o.tag===10)i=o.type===t.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(_(341));i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),pa(i,n,t),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===t){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}$e(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,ur(t,n),l=ct(l),r=r(l),t.flags|=1,$e(e,t,r,n),t.child;case 14:return r=t.type,l=ht(r,t.pendingProps),l=ht(r.type,l),Hs(e,t,r,l,n);case 15:return Sf(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ht(r,l),oo(e,t),t.tag=1,Ge(r)?(e=!0,Eo(t)):e=!1,ur(t,n),gf(t,r,l),ma(t,r,l,n),ya(null,t,r,!0,e,n);case 19:return Pf(e,t,n);case 22:return xf(e,t,n)}throw Error(_(156,t.tag))};function $f(e,t){return pd(e,t)}function qm(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 ut(e,t,n,r){return new qm(e,t,n,r)}function Pu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ev(e){if(typeof e=="function")return Pu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Wa)return 11;if(e===Qa)return 14}return 2}function sn(e,t){var n=e.alternate;return n===null?(n=ut(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 uo(e,t,n,r,l,o){var i=2;if(r=e,typeof e=="function")Pu(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case bn:return Ln(n.children,l,o,t);case Ha:i=8,l|=8;break;case Ai:return e=ut(12,n,t,l|2),e.elementType=Ai,e.lanes=o,e;case Bi:return e=ut(13,n,t,l),e.elementType=Bi,e.lanes=o,e;case $i:return e=ut(19,n,t,l),e.elementType=$i,e.lanes=o,e;case Xc:return Jo(n,l,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Gc:i=10;break e;case Yc:i=9;break e;case Wa:i=11;break e;case Qa:i=14;break e;case Yt:i=16,r=null;break e}throw Error(_(130,e==null?e:typeof e,""))}return t=ut(i,n,t,l),t.elementType=e,t.type=r,t.lanes=o,t}function Ln(e,t,n,r){return e=ut(7,e,r,t),e.lanes=n,e}function Jo(e,t,n,r){return e=ut(22,e,r,t),e.elementType=Xc,e.lanes=n,e.stateNode={isHidden:!1},e}function Di(e,t,n){return e=ut(6,e,null,t),e.lanes=n,e}function ji(e,t,n){return t=ut(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function tv(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=hi(0),this.expirationTimes=hi(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=hi(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Ru(e,t,n,r,l,o,i,a,u){return e=new tv(e,t,n,a,u),t===1?(t=1,o===!0&&(t|=8)):t=0,o=ut(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},su(o),e}function nv(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Qf)}catch(e){console.error(e)}}Qf(),Wc.exports=lt;var Tu=Wc.exports;const av=zc(Tu),uv=Tc({__proto__:null,default:av},[Tu]);/** - * @remix-run/router v1.19.0 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function he(){return he=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function gr(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function cv(){return Math.random().toString(36).substr(2,8)}function lc(e,t){return{usr:e.state,key:e.key,idx:t}}function vl(e,t,n,r){return n===void 0&&(n=null),he({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?mn(t):t,{state:n,key:t&&t.key||r||cv()})}function jn(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function mn(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function dv(e,t,n,r){r===void 0&&(r={});let{window:l=document.defaultView,v5Compat:o=!1}=r,i=l.history,a=ke.Pop,u=null,s=f();s==null&&(s=0,i.replaceState(he({},i.state,{idx:s}),""));function f(){return(i.state||{idx:null}).idx}function c(){a=ke.Pop;let R=f(),h=R==null?null:R-s;s=R,u&&u({action:a,location:w.location,delta:h})}function p(R,h){a=ke.Push;let d=vl(w.location,R,h);s=f()+1;let v=lc(d,s),k=w.createHref(d);try{i.pushState(v,"",k)}catch(L){if(L instanceof DOMException&&L.name==="DataCloneError")throw L;l.location.assign(k)}o&&u&&u({action:a,location:w.location,delta:1})}function E(R,h){a=ke.Replace;let d=vl(w.location,R,h);s=f();let v=lc(d,s),k=w.createHref(d);i.replaceState(v,"",k),o&&u&&u({action:a,location:w.location,delta:0})}function x(R){let h=l.location.origin!=="null"?l.location.origin:l.location.href,d=typeof R=="string"?R:jn(R);return d=d.replace(/ $/,"%20"),b(h,"No window.location.(origin|href) available to create URL for href: "+d),new URL(d,h)}let w={get action(){return a},get location(){return e(l,i)},listen(R){if(u)throw new Error("A history only accepts one active listener");return l.addEventListener(rc,c),u=R,()=>{l.removeEventListener(rc,c),u=null}},createHref(R){return t(l,R)},createURL:x,encodeLocation(R){let h=x(R);return{pathname:h.pathname,search:h.search,hash:h.hash}},push:p,replace:E,go(R){return i.go(R)}};return w}var oe;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(oe||(oe={}));const fv=new Set(["lazy","caseSensitive","path","id","index","children"]);function pv(e){return e.index===!0}function gl(e,t,n,r){return n===void 0&&(n=[]),r===void 0&&(r={}),e.map((l,o)=>{let i=[...n,String(o)],a=typeof l.id=="string"?l.id:i.join("-");if(b(l.index!==!0||!l.children,"Cannot specify children on an index route"),b(!r[a],'Found a route id collision on id "'+a+`". Route id's must be globally unique within Data Router usages`),pv(l)){let u=he({},l,t(l),{id:a});return r[a]=u,u}else{let u=he({},l,t(l),{id:a,children:void 0});return r[a]=u,l.children&&(u.children=gl(l.children,t,i,r)),u}})}function Sn(e,t,n){return n===void 0&&(n="/"),so(e,t,n,!1)}function so(e,t,n,r){let l=typeof t=="string"?mn(t):t,o=xr(l.pathname||"/",n);if(o==null)return null;let i=bf(e);mv(i);let a=null;for(let u=0;a==null&&u{let u={relativePath:a===void 0?o.path||"":a,caseSensitive:o.caseSensitive===!0,childrenIndex:i,route:o};u.relativePath.startsWith("/")&&(b(u.relativePath.startsWith(r),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(r.length));let s=Ft([r,u.relativePath]),f=n.concat(u);o.children&&o.children.length>0&&(b(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+s+'".')),bf(o.children,t,f,s)),!(o.path==null&&!o.index)&&t.push({path:s,score:Ev(s,o.index),routesMeta:f})};return e.forEach((o,i)=>{var a;if(o.path===""||!((a=o.path)!=null&&a.includes("?")))l(o,i);else for(let u of Kf(o.path))l(o,i,u)}),t}function Kf(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,l=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return l?[o,""]:[o];let i=Kf(r.join("/")),a=[];return a.push(...i.map(u=>u===""?o:[o,u].join("/"))),l&&a.push(...i),a.map(u=>e.startsWith("/")&&u===""?"/":u)}function mv(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:kv(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const vv=/^:[\w-]+$/,gv=3,yv=2,wv=1,Sv=10,xv=-2,oc=e=>e==="*";function Ev(e,t){let n=e.split("/"),r=n.length;return n.some(oc)&&(r+=xv),t&&(r+=yv),n.filter(l=>!oc(l)).reduce((l,o)=>l+(vv.test(o)?gv:o===""?wv:Sv),r)}function kv(e,t){return e.length===t.length&&e.slice(0,-1).every((r,l)=>r===t[l])?e[e.length-1]-t[t.length-1]:0}function Cv(e,t,n){n===void 0&&(n=!1);let{routesMeta:r}=e,l={},o="/",i=[];for(let a=0;a{let{paramName:p,isOptional:E}=f;if(p==="*"){let w=a[c]||"";i=o.slice(0,o.length-w.length).replace(/(.)\/+$/,"$1")}const x=a[c];return E&&!x?s[p]=void 0:s[p]=(x||"").replace(/%2F/g,"/"),s},{}),pathname:o,pathnameBase:i,pattern:e}}function Pv(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),gr(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=[],l="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(i,a,u)=>(r.push({paramName:a,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),r]}function Rv(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return gr(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function xr(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 _v(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:l=""}=typeof e=="string"?mn(e):e;return{pathname:n?n.startsWith("/")?n:Lv(n,t):t,search:Tv(r),hash:zv(l)}}function Lv(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(l=>{l===".."?n.length>1&&n.pop():l!=="."&&n.push(l)}),n.length>1?n.join("/"):"/"}function Oi(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 Gf(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function zu(e,t){let n=Gf(e);return t?n.map((r,l)=>l===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Mu(e,t,n,r){r===void 0&&(r=!1);let l;typeof e=="string"?l=mn(e):(l=he({},e),b(!l.pathname||!l.pathname.includes("?"),Oi("?","pathname","search",l)),b(!l.pathname||!l.pathname.includes("#"),Oi("#","pathname","hash",l)),b(!l.search||!l.search.includes("#"),Oi("#","search","hash",l)));let o=e===""||l.pathname==="",i=o?"/":l.pathname,a;if(i==null)a=n;else{let c=t.length-1;if(!r&&i.startsWith("..")){let p=i.split("/");for(;p[0]==="..";)p.shift(),c-=1;l.pathname=p.join("/")}a=c>=0?t[c]:"/"}let u=_v(l,a),s=i&&i!=="/"&&i.endsWith("/"),f=(o||i===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(s||f)&&(u.pathname+="/"),u}const Ft=e=>e.join("/").replace(/\/\/+/g,"/"),Nv=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Tv=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,zv=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class Fo{constructor(t,n,r,l){l===void 0&&(l=!1),this.status=t,this.statusText=n||"",this.internal=l,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function ni(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Yf=["post","put","patch","delete"],Mv=new Set(Yf),Dv=["get",...Yf],jv=new Set(Dv),Ov=new Set([301,302,303,307,308]),Fv=new Set([307,308]),Fi={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Iv={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},jr={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},Du=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Uv=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),Xf="remix-router-transitions";function Av(e){const t=e.window?e.window:typeof window<"u"?window:void 0,n=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u",r=!n;b(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let l;if(e.mapRouteProperties)l=e.mapRouteProperties;else if(e.detectErrorBoundary){let m=e.detectErrorBoundary;l=g=>({hasErrorBoundary:m(g)})}else l=Uv;let o={},i=gl(e.routes,l,void 0,o),a,u=e.basename||"/",s=e.unstable_dataStrategy||Wv,f=e.unstable_patchRoutesOnMiss,c=he({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),p=null,E=new Set,x=null,w=null,R=null,h=e.hydrationData!=null,d=Sn(i,e.history.location,u),v=null;if(d==null&&!f){let m=Be(404,{pathname:e.history.location.pathname}),{matches:g,route:S}=vc(i);d=g,v={[S.id]:m}}d&&!e.hydrationData&&Ll(d,i,e.history.location.pathname).active&&(d=null);let k;if(d)if(d.some(m=>m.route.lazy))k=!1;else if(!d.some(m=>m.route.loader))k=!0;else if(c.v7_partialHydration){let m=e.hydrationData?e.hydrationData.loaderData:null,g=e.hydrationData?e.hydrationData.errors:null,S=C=>C.route.loader?typeof C.route.loader=="function"&&C.route.loader.hydrate===!0?!1:m&&m[C.route.id]!==void 0||g&&g[C.route.id]!==void 0:!0;if(g){let C=d.findIndex(D=>g[D.route.id]!==void 0);k=d.slice(0,C+1).every(S)}else k=d.every(S)}else k=e.hydrationData!=null;else if(k=!1,d=[],c.v7_partialHydration){let m=Ll(null,i,e.history.location.pathname);m.active&&m.matches&&(d=m.matches)}let L,y={historyAction:e.history.action,location:e.history.location,matches:d,initialized:k,navigation:Fi,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||v,fetchers:new Map,blockers:new Map},z=ke.Pop,N=!1,F,O=!1,X=new Map,$=null,Se=!1,q=!1,Xe=[],Je=new Set,ie=new Map,M=0,U=-1,V=new Map,G=new Set,ee=new Map,xt=new Map,Ne=new Set,ft=new Map,Ue=new Map,Un=new Map,oi=!1;function yp(){if(p=e.history.listen(m=>{let{action:g,location:S,delta:C}=m;if(oi){oi=!1;return}gr(Ue.size===0||C!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let D=Qu({currentLocation:y.location,nextLocation:S,historyAction:g});if(D&&C!=null){oi=!0,e.history.go(C*-1),Rl(D,{state:"blocked",location:S,proceed(){Rl(D,{state:"proceeding",proceed:void 0,reset:void 0,location:S}),e.history.go(C)},reset(){let I=new Map(y.blockers);I.set(D,jr),Ae({blockers:I})}});return}return gn(g,S)}),n){rg(t,X);let m=()=>lg(t,X);t.addEventListener("pagehide",m),$=()=>t.removeEventListener("pagehide",m)}return y.initialized||gn(ke.Pop,y.location,{initialHydration:!0}),L}function wp(){p&&p(),$&&$(),E.clear(),F&&F.abort(),y.fetchers.forEach((m,g)=>Pl(g)),y.blockers.forEach((m,g)=>Wu(g))}function Sp(m){return E.add(m),()=>E.delete(m)}function Ae(m,g){g===void 0&&(g={}),y=he({},y,m);let S=[],C=[];c.v7_fetcherPersist&&y.fetchers.forEach((D,I)=>{D.state==="idle"&&(Ne.has(I)?C.push(I):S.push(I))}),[...E].forEach(D=>D(y,{deletedFetchers:C,unstable_viewTransitionOpts:g.viewTransitionOpts,unstable_flushSync:g.flushSync===!0})),c.v7_fetcherPersist&&(S.forEach(D=>y.fetchers.delete(D)),C.forEach(D=>Pl(D)))}function An(m,g,S){var C,D;let{flushSync:I}=S===void 0?{}:S,H=y.actionData!=null&&y.navigation.formMethod!=null&&vt(y.navigation.formMethod)&&y.navigation.state==="loading"&&((C=m.state)==null?void 0:C._isRedirect)!==!0,T;g.actionData?Object.keys(g.actionData).length>0?T=g.actionData:T=null:H?T=y.actionData:T=null;let W=g.loaderData?hc(y.loaderData,g.loaderData,g.matches||[],g.errors):y.loaderData,A=y.blockers;A.size>0&&(A=new Map(A),A.forEach((ne,ae)=>A.set(ae,jr)));let B=N===!0||y.navigation.formMethod!=null&&vt(y.navigation.formMethod)&&((D=m.state)==null?void 0:D._isRedirect)!==!0;a&&(i=a,a=void 0),Se||z===ke.Pop||(z===ke.Push?e.history.push(m,m.state):z===ke.Replace&&e.history.replace(m,m.state));let le;if(z===ke.Pop){let ne=X.get(y.location.pathname);ne&&ne.has(m.pathname)?le={currentLocation:y.location,nextLocation:m}:X.has(m.pathname)&&(le={currentLocation:m,nextLocation:y.location})}else if(O){let ne=X.get(y.location.pathname);ne?ne.add(m.pathname):(ne=new Set([m.pathname]),X.set(y.location.pathname,ne)),le={currentLocation:y.location,nextLocation:m}}Ae(he({},g,{actionData:T,loaderData:W,historyAction:z,location:m,initialized:!0,navigation:Fi,revalidation:"idle",restoreScrollPosition:Ku(m,g.matches||y.matches),preventScrollReset:B,blockers:A}),{viewTransitionOpts:le,flushSync:I===!0}),z=ke.Pop,N=!1,O=!1,Se=!1,q=!1,Xe=[]}async function Iu(m,g){if(typeof m=="number"){e.history.go(m);return}let S=Ta(y.location,y.matches,u,c.v7_prependBasename,m,c.v7_relativeSplatPath,g==null?void 0:g.fromRouteId,g==null?void 0:g.relative),{path:C,submission:D,error:I}=ac(c.v7_normalizeFormMethod,!1,S,g),H=y.location,T=vl(y.location,C,g&&g.state);T=he({},T,e.history.encodeLocation(T));let W=g&&g.replace!=null?g.replace:void 0,A=ke.Push;W===!0?A=ke.Replace:W===!1||D!=null&&vt(D.formMethod)&&D.formAction===y.location.pathname+y.location.search&&(A=ke.Replace);let B=g&&"preventScrollReset"in g?g.preventScrollReset===!0:void 0,le=(g&&g.unstable_flushSync)===!0,ne=Qu({currentLocation:H,nextLocation:T,historyAction:A});if(ne){Rl(ne,{state:"blocked",location:T,proceed(){Rl(ne,{state:"proceeding",proceed:void 0,reset:void 0,location:T}),Iu(m,g)},reset(){let ae=new Map(y.blockers);ae.set(ne,jr),Ae({blockers:ae})}});return}return await gn(A,T,{submission:D,pendingError:I,preventScrollReset:B,replace:g&&g.replace,enableViewTransition:g&&g.unstable_viewTransition,flushSync:le})}function xp(){if(ii(),Ae({revalidation:"loading"}),y.navigation.state!=="submitting"){if(y.navigation.state==="idle"){gn(y.historyAction,y.location,{startUninterruptedRevalidation:!0});return}gn(z||y.historyAction,y.navigation.location,{overrideNavigation:y.navigation})}}async function gn(m,g,S){F&&F.abort(),F=null,z=m,Se=(S&&S.startUninterruptedRevalidation)===!0,zp(y.location,y.matches),N=(S&&S.preventScrollReset)===!0,O=(S&&S.enableViewTransition)===!0;let C=a||i,D=S&&S.overrideNavigation,I=Sn(C,g,u),H=(S&&S.flushSync)===!0,T=Ll(I,C,g.pathname);if(T.active&&T.matches&&(I=T.matches),!I){let{error:te,notFoundMatches:Te,route:Ee}=ai(g.pathname);An(g,{matches:Te,loaderData:{},errors:{[Ee.id]:te}},{flushSync:H});return}if(y.initialized&&!q&&Xv(y.location,g)&&!(S&&S.submission&&vt(S.submission.formMethod))){An(g,{matches:I},{flushSync:H});return}F=new AbortController;let W=Wn(e.history,g,F.signal,S&&S.submission),A;if(S&&S.pendingError)A=[rr(I).route.id,{type:oe.error,error:S.pendingError}];else if(S&&S.submission&&vt(S.submission.formMethod)){let te=await Ep(W,g,S.submission,I,T.active,{replace:S.replace,flushSync:H});if(te.shortCircuited)return;if(te.pendingActionResult){let[Te,Ee]=te.pendingActionResult;if(et(Ee)&&ni(Ee.error)&&Ee.error.status===404){F=null,An(g,{matches:te.matches,loaderData:{},errors:{[Te]:Ee.error}});return}}I=te.matches||I,A=te.pendingActionResult,D=Ii(g,S.submission),H=!1,T.active=!1,W=Wn(e.history,W.url,W.signal)}let{shortCircuited:B,matches:le,loaderData:ne,errors:ae}=await kp(W,g,I,T.active,D,S&&S.submission,S&&S.fetcherSubmission,S&&S.replace,S&&S.initialHydration===!0,H,A);B||(F=null,An(g,he({matches:le||I},mc(A),{loaderData:ne,errors:ae})))}async function Ep(m,g,S,C,D,I){I===void 0&&(I={}),ii();let H=tg(g,S);if(Ae({navigation:H},{flushSync:I.flushSync===!0}),D){let A=await Nl(C,g.pathname,m.signal);if(A.type==="aborted")return{shortCircuited:!0};if(A.type==="error"){let{boundaryId:B,error:le}=_l(g.pathname,A);return{matches:A.partialMatches,pendingActionResult:[B,{type:oe.error,error:le}]}}else if(A.matches)C=A.matches;else{let{notFoundMatches:B,error:le,route:ne}=ai(g.pathname);return{matches:B,pendingActionResult:[ne.id,{type:oe.error,error:le}]}}}let T,W=Hr(C,g);if(!W.route.action&&!W.route.lazy)T={type:oe.error,error:Be(405,{method:m.method,pathname:g.pathname,routeId:W.route.id})};else if(T=(await Cr("action",m,[W],C))[0],m.signal.aborted)return{shortCircuited:!0};if(Pn(T)){let A;return I&&I.replace!=null?A=I.replace:A=dc(T.response.headers.get("Location"),new URL(m.url),u)===y.location.pathname+y.location.search,await kr(m,T,{submission:S,replace:A}),{shortCircuited:!0}}if(Cn(T))throw Be(400,{type:"defer-action"});if(et(T)){let A=rr(C,W.route.id);return(I&&I.replace)!==!0&&(z=ke.Push),{matches:C,pendingActionResult:[A.route.id,T]}}return{matches:C,pendingActionResult:[W.route.id,T]}}async function kp(m,g,S,C,D,I,H,T,W,A,B){let le=D||Ii(g,I),ne=I||H||Sc(le),ae=!Se&&(!c.v7_partialHydration||!W);if(C){if(ae){let ye=Uu(B);Ae(he({navigation:le},ye!==void 0?{actionData:ye}:{}),{flushSync:A})}let K=await Nl(S,g.pathname,m.signal);if(K.type==="aborted")return{shortCircuited:!0};if(K.type==="error"){let{boundaryId:ye,error:Ze}=_l(g.pathname,K);return{matches:K.partialMatches,loaderData:{},errors:{[ye]:Ze}}}else if(K.matches)S=K.matches;else{let{error:ye,notFoundMatches:Ze,route:fe}=ai(g.pathname);return{matches:Ze,loaderData:{},errors:{[fe.id]:ye}}}}let te=a||i,[Te,Ee]=uc(e.history,y,S,ne,g,c.v7_partialHydration&&W===!0,c.v7_skipActionErrorRevalidation,q,Xe,Je,Ne,ee,G,te,u,B);if(ui(K=>!(S&&S.some(ye=>ye.route.id===K))||Te&&Te.some(ye=>ye.route.id===K)),U=++M,Te.length===0&&Ee.length===0){let K=Vu();return An(g,he({matches:S,loaderData:{},errors:B&&et(B[1])?{[B[0]]:B[1].error}:null},mc(B),K?{fetchers:new Map(y.fetchers)}:{}),{flushSync:A}),{shortCircuited:!0}}if(ae){let K={};if(!C){K.navigation=le;let ye=Uu(B);ye!==void 0&&(K.actionData=ye)}Ee.length>0&&(K.fetchers=Cp(Ee)),Ae(K,{flushSync:A})}Ee.forEach(K=>{ie.has(K.key)&&Ht(K.key),K.controller&&ie.set(K.key,K.controller)});let Pr=()=>Ee.forEach(K=>Ht(K.key));F&&F.signal.addEventListener("abort",Pr);let{loaderResults:Wt,fetcherResults:Bn}=await Au(y.matches,S,Te,Ee,m);if(m.signal.aborted)return{shortCircuited:!0};F&&F.signal.removeEventListener("abort",Pr),Ee.forEach(K=>ie.delete(K.key));let $n=gc([...Wt,...Bn]);if($n){if($n.idx>=Te.length){let K=Ee[$n.idx-Te.length].key;G.add(K)}return await kr(m,$n.result,{replace:T}),{shortCircuited:!0}}let{loaderData:Vn,errors:Et}=pc(y,S,Te,Wt,B,Ee,Bn,ft);ft.forEach((K,ye)=>{K.subscribe(Ze=>{(Ze||K.done)&&ft.delete(ye)})}),c.v7_partialHydration&&W&&y.errors&&Object.entries(y.errors).filter(K=>{let[ye]=K;return!Te.some(Ze=>Ze.route.id===ye)}).forEach(K=>{let[ye,Ze]=K;Et=Object.assign(Et||{},{[ye]:Ze})});let Tl=Vu(),zl=Hu(U),Ml=Tl||zl||Ee.length>0;return he({matches:S,loaderData:Vn,errors:Et},Ml?{fetchers:new Map(y.fetchers)}:{})}function Uu(m){if(m&&!et(m[1]))return{[m[0]]:m[1].data};if(y.actionData)return Object.keys(y.actionData).length===0?null:y.actionData}function Cp(m){return m.forEach(g=>{let S=y.fetchers.get(g.key),C=Or(void 0,S?S.data:void 0);y.fetchers.set(g.key,C)}),new Map(y.fetchers)}function Pp(m,g,S,C){if(r)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");ie.has(m)&&Ht(m);let D=(C&&C.unstable_flushSync)===!0,I=a||i,H=Ta(y.location,y.matches,u,c.v7_prependBasename,S,c.v7_relativeSplatPath,g,C==null?void 0:C.relative),T=Sn(I,H,u),W=Ll(T,I,H);if(W.active&&W.matches&&(T=W.matches),!T){Lt(m,g,Be(404,{pathname:H}),{flushSync:D});return}let{path:A,submission:B,error:le}=ac(c.v7_normalizeFormMethod,!0,H,C);if(le){Lt(m,g,le,{flushSync:D});return}let ne=Hr(T,A);if(N=(C&&C.preventScrollReset)===!0,B&&vt(B.formMethod)){Rp(m,g,A,ne,T,W.active,D,B);return}ee.set(m,{routeId:g,path:A}),_p(m,g,A,ne,T,W.active,D,B)}async function Rp(m,g,S,C,D,I,H,T){ii(),ee.delete(m);function W(fe){if(!fe.route.action&&!fe.route.lazy){let Nt=Be(405,{method:T.formMethod,pathname:S,routeId:g});return Lt(m,g,Nt,{flushSync:H}),!0}return!1}if(!I&&W(C))return;let A=y.fetchers.get(m);Vt(m,ng(T,A),{flushSync:H});let B=new AbortController,le=Wn(e.history,S,B.signal,T);if(I){let fe=await Nl(D,S,le.signal);if(fe.type==="aborted")return;if(fe.type==="error"){let{error:Nt}=_l(S,fe);Lt(m,g,Nt,{flushSync:H});return}else if(fe.matches){if(D=fe.matches,C=Hr(D,S),W(C))return}else{Lt(m,g,Be(404,{pathname:S}),{flushSync:H});return}}ie.set(m,B);let ne=M,te=(await Cr("action",le,[C],D))[0];if(le.signal.aborted){ie.get(m)===B&&ie.delete(m);return}if(c.v7_fetcherPersist&&Ne.has(m)){if(Pn(te)||et(te)){Vt(m,Gt(void 0));return}}else{if(Pn(te))if(ie.delete(m),U>ne){Vt(m,Gt(void 0));return}else return G.add(m),Vt(m,Or(T)),kr(le,te,{fetcherSubmission:T});if(et(te)){Lt(m,g,te.error);return}}if(Cn(te))throw Be(400,{type:"defer-action"});let Te=y.navigation.location||y.location,Ee=Wn(e.history,Te,B.signal),Pr=a||i,Wt=y.navigation.state!=="idle"?Sn(Pr,y.navigation.location,u):y.matches;b(Wt,"Didn't find any matches after fetcher action");let Bn=++M;V.set(m,Bn);let $n=Or(T,te.data);y.fetchers.set(m,$n);let[Vn,Et]=uc(e.history,y,Wt,T,Te,!1,c.v7_skipActionErrorRevalidation,q,Xe,Je,Ne,ee,G,Pr,u,[C.route.id,te]);Et.filter(fe=>fe.key!==m).forEach(fe=>{let Nt=fe.key,Gu=y.fetchers.get(Nt),jp=Or(void 0,Gu?Gu.data:void 0);y.fetchers.set(Nt,jp),ie.has(Nt)&&Ht(Nt),fe.controller&&ie.set(Nt,fe.controller)}),Ae({fetchers:new Map(y.fetchers)});let Tl=()=>Et.forEach(fe=>Ht(fe.key));B.signal.addEventListener("abort",Tl);let{loaderResults:zl,fetcherResults:Ml}=await Au(y.matches,Wt,Vn,Et,Ee);if(B.signal.aborted)return;B.signal.removeEventListener("abort",Tl),V.delete(m),ie.delete(m),Et.forEach(fe=>ie.delete(fe.key));let K=gc([...zl,...Ml]);if(K){if(K.idx>=Vn.length){let fe=Et[K.idx-Vn.length].key;G.add(fe)}return kr(Ee,K.result)}let{loaderData:ye,errors:Ze}=pc(y,y.matches,Vn,zl,void 0,Et,Ml,ft);if(y.fetchers.has(m)){let fe=Gt(te.data);y.fetchers.set(m,fe)}Hu(Bn),y.navigation.state==="loading"&&Bn>U?(b(z,"Expected pending action"),F&&F.abort(),An(y.navigation.location,{matches:Wt,loaderData:ye,errors:Ze,fetchers:new Map(y.fetchers)})):(Ae({errors:Ze,loaderData:hc(y.loaderData,ye,Wt,Ze),fetchers:new Map(y.fetchers)}),q=!1)}async function _p(m,g,S,C,D,I,H,T){let W=y.fetchers.get(m);Vt(m,Or(T,W?W.data:void 0),{flushSync:H});let A=new AbortController,B=Wn(e.history,S,A.signal);if(I){let te=await Nl(D,S,B.signal);if(te.type==="aborted")return;if(te.type==="error"){let{error:Te}=_l(S,te);Lt(m,g,Te,{flushSync:H});return}else if(te.matches)D=te.matches,C=Hr(D,S);else{Lt(m,g,Be(404,{pathname:S}),{flushSync:H});return}}ie.set(m,A);let le=M,ae=(await Cr("loader",B,[C],D))[0];if(Cn(ae)&&(ae=await tp(ae,B.signal,!0)||ae),ie.get(m)===A&&ie.delete(m),!B.signal.aborted){if(Ne.has(m)){Vt(m,Gt(void 0));return}if(Pn(ae))if(U>le){Vt(m,Gt(void 0));return}else{G.add(m),await kr(B,ae);return}if(et(ae)){Lt(m,g,ae.error);return}b(!Cn(ae),"Unhandled fetcher deferred data"),Vt(m,Gt(ae.data))}}async function kr(m,g,S){let{submission:C,fetcherSubmission:D,replace:I}=S===void 0?{}:S;g.response.headers.has("X-Remix-Revalidate")&&(q=!0);let H=g.response.headers.get("Location");b(H,"Expected a Location header on the redirect Response"),H=dc(H,new URL(m.url),u);let T=vl(y.location,H,{_isRedirect:!0});if(n){let ae=!1;if(g.response.headers.has("X-Remix-Reload-Document"))ae=!0;else if(Du.test(H)){const te=e.history.createURL(H);ae=te.origin!==t.location.origin||xr(te.pathname,u)==null}if(ae){I?t.location.replace(H):t.location.assign(H);return}}F=null;let W=I===!0||g.response.headers.has("X-Remix-Replace")?ke.Replace:ke.Push,{formMethod:A,formAction:B,formEncType:le}=y.navigation;!C&&!D&&A&&B&&le&&(C=Sc(y.navigation));let ne=C||D;if(Fv.has(g.response.status)&&ne&&vt(ne.formMethod))await gn(W,T,{submission:he({},ne,{formAction:H}),preventScrollReset:N});else{let ae=Ii(T,C);await gn(W,T,{overrideNavigation:ae,fetcherSubmission:D,preventScrollReset:N})}}async function Cr(m,g,S,C){try{let D=await Qv(s,m,g,S,C,o,l);return await Promise.all(D.map((I,H)=>{if(Zv(I)){let T=I.result;return{type:oe.redirect,response:Gv(T,g,S[H].route.id,C,u,c.v7_relativeSplatPath)}}return Kv(I)}))}catch(D){return S.map(()=>({type:oe.error,error:D}))}}async function Au(m,g,S,C,D){let[I,...H]=await Promise.all([S.length?Cr("loader",D,S,g):[],...C.map(T=>{if(T.matches&&T.match&&T.controller){let W=Wn(e.history,T.path,T.controller.signal);return Cr("loader",W,[T.match],T.matches).then(A=>A[0])}else return Promise.resolve({type:oe.error,error:Be(404,{pathname:T.path})})})]);return await Promise.all([wc(m,S,I,I.map(()=>D.signal),!1,y.loaderData),wc(m,C.map(T=>T.match),H,C.map(T=>T.controller?T.controller.signal:null),!0)]),{loaderResults:I,fetcherResults:H}}function ii(){q=!0,Xe.push(...ui()),ee.forEach((m,g)=>{ie.has(g)&&(Je.add(g),Ht(g))})}function Vt(m,g,S){S===void 0&&(S={}),y.fetchers.set(m,g),Ae({fetchers:new Map(y.fetchers)},{flushSync:(S&&S.flushSync)===!0})}function Lt(m,g,S,C){C===void 0&&(C={});let D=rr(y.matches,g);Pl(m),Ae({errors:{[D.route.id]:S},fetchers:new Map(y.fetchers)},{flushSync:(C&&C.flushSync)===!0})}function Bu(m){return c.v7_fetcherPersist&&(xt.set(m,(xt.get(m)||0)+1),Ne.has(m)&&Ne.delete(m)),y.fetchers.get(m)||Iv}function Pl(m){let g=y.fetchers.get(m);ie.has(m)&&!(g&&g.state==="loading"&&V.has(m))&&Ht(m),ee.delete(m),V.delete(m),G.delete(m),Ne.delete(m),Je.delete(m),y.fetchers.delete(m)}function Lp(m){if(c.v7_fetcherPersist){let g=(xt.get(m)||0)-1;g<=0?(xt.delete(m),Ne.add(m)):xt.set(m,g)}else Pl(m);Ae({fetchers:new Map(y.fetchers)})}function Ht(m){let g=ie.get(m);b(g,"Expected fetch controller: "+m),g.abort(),ie.delete(m)}function $u(m){for(let g of m){let S=Bu(g),C=Gt(S.data);y.fetchers.set(g,C)}}function Vu(){let m=[],g=!1;for(let S of G){let C=y.fetchers.get(S);b(C,"Expected fetcher: "+S),C.state==="loading"&&(G.delete(S),m.push(S),g=!0)}return $u(m),g}function Hu(m){let g=[];for(let[S,C]of V)if(C0}function Np(m,g){let S=y.blockers.get(m)||jr;return Ue.get(m)!==g&&Ue.set(m,g),S}function Wu(m){y.blockers.delete(m),Ue.delete(m)}function Rl(m,g){let S=y.blockers.get(m)||jr;b(S.state==="unblocked"&&g.state==="blocked"||S.state==="blocked"&&g.state==="blocked"||S.state==="blocked"&&g.state==="proceeding"||S.state==="blocked"&&g.state==="unblocked"||S.state==="proceeding"&&g.state==="unblocked","Invalid blocker state transition: "+S.state+" -> "+g.state);let C=new Map(y.blockers);C.set(m,g),Ae({blockers:C})}function Qu(m){let{currentLocation:g,nextLocation:S,historyAction:C}=m;if(Ue.size===0)return;Ue.size>1&&gr(!1,"A router only supports one blocker at a time");let D=Array.from(Ue.entries()),[I,H]=D[D.length-1],T=y.blockers.get(I);if(!(T&&T.state==="proceeding")&&H({currentLocation:g,nextLocation:S,historyAction:C}))return I}function ai(m){let g=Be(404,{pathname:m}),S=a||i,{matches:C,route:D}=vc(S);return ui(),{notFoundMatches:C,route:D,error:g}}function _l(m,g){return{boundaryId:rr(g.partialMatches).route.id,error:Be(400,{type:"route-discovery",pathname:m,message:g.error!=null&&"message"in g.error?g.error:String(g.error)})}}function ui(m){let g=[];return ft.forEach((S,C)=>{(!m||m(C))&&(S.cancel(),g.push(C),ft.delete(C))}),g}function Tp(m,g,S){if(x=m,R=g,w=S||null,!h&&y.navigation===Fi){h=!0;let C=Ku(y.location,y.matches);C!=null&&Ae({restoreScrollPosition:C})}return()=>{x=null,R=null,w=null}}function bu(m,g){return w&&w(m,g.map(C=>hv(C,y.loaderData)))||m.key}function zp(m,g){if(x&&R){let S=bu(m,g);x[S]=R()}}function Ku(m,g){if(x){let S=bu(m,g),C=x[S];if(typeof C=="number")return C}return null}function Ll(m,g,S){if(f)if(m){let C=m[m.length-1].route;if(C.path&&(C.path==="*"||C.path.endsWith("/*")))return{active:!0,matches:so(g,S,u,!0)}}else return{active:!0,matches:so(g,S,u,!0)||[]};return{active:!1,matches:null}}async function Nl(m,g,S){let C=m,D=C.length>0?C[C.length-1].route:null;for(;;){let I=a==null,H=a||i;try{await Hv(f,g,C,H,o,l,Un,S)}catch(B){return{type:"error",error:B,partialMatches:C}}finally{I&&(i=[...i])}if(S.aborted)return{type:"aborted"};let T=Sn(H,g,u),W=!1;if(T){let B=T[T.length-1].route;if(B.index)return{type:"success",matches:T};if(B.path&&B.path.length>0)if(B.path==="*")W=!0;else return{type:"success",matches:T}}let A=so(H,g,u,!0);if(!A||C.map(B=>B.route.id).join("-")===A.map(B=>B.route.id).join("-"))return{type:"success",matches:W?T:null};if(C=A,D=C[C.length-1].route,D.path==="*")return{type:"success",matches:C}}}function Mp(m){o={},a=gl(m,l,void 0,o)}function Dp(m,g){let S=a==null;Zf(m,g,a||i,o,l),S&&(i=[...i],Ae({}))}return L={get basename(){return u},get future(){return c},get state(){return y},get routes(){return i},get window(){return t},initialize:yp,subscribe:Sp,enableScrollRestoration:Tp,navigate:Iu,fetch:Pp,revalidate:xp,createHref:m=>e.history.createHref(m),encodeLocation:m=>e.history.encodeLocation(m),getFetcher:Bu,deleteFetcher:Lp,dispose:wp,getBlocker:Np,deleteBlocker:Wu,patchRoutes:Dp,_internalFetchControllers:ie,_internalActiveDeferreds:ft,_internalSetRoutes:Mp},L}function Bv(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function Ta(e,t,n,r,l,o,i,a){let u,s;if(i){u=[];for(let c of t)if(u.push(c),c.route.id===i){s=c;break}}else u=t,s=t[t.length-1];let f=Mu(l||".",zu(u,o),xr(e.pathname,n)||e.pathname,a==="path");return l==null&&(f.search=e.search,f.hash=e.hash),(l==null||l===""||l===".")&&s&&s.route.index&&!ju(f.search)&&(f.search=f.search?f.search.replace(/^\?/,"?index&"):"?index"),r&&n!=="/"&&(f.pathname=f.pathname==="/"?n:Ft([n,f.pathname])),jn(f)}function ac(e,t,n,r){if(!r||!Bv(r))return{path:n};if(r.formMethod&&!eg(r.formMethod))return{path:n,error:Be(405,{method:r.formMethod})};let l=()=>({path:n,error:Be(400,{type:"invalid-body"})}),o=r.formMethod||"get",i=e?o.toUpperCase():o.toLowerCase(),a=qf(n);if(r.body!==void 0){if(r.formEncType==="text/plain"){if(!vt(i))return l();let p=typeof r.body=="string"?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((E,x)=>{let[w,R]=x;return""+E+w+"="+R+` -`},""):String(r.body);return{path:n,submission:{formMethod:i,formAction:a,formEncType:r.formEncType,formData:void 0,json:void 0,text:p}}}else if(r.formEncType==="application/json"){if(!vt(i))return l();try{let p=typeof r.body=="string"?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:i,formAction:a,formEncType:r.formEncType,formData:void 0,json:p,text:void 0}}}catch{return l()}}}b(typeof FormData=="function","FormData is not available in this environment");let u,s;if(r.formData)u=za(r.formData),s=r.formData;else if(r.body instanceof FormData)u=za(r.body),s=r.body;else if(r.body instanceof URLSearchParams)u=r.body,s=fc(u);else if(r.body==null)u=new URLSearchParams,s=new FormData;else try{u=new URLSearchParams(r.body),s=fc(u)}catch{return l()}let f={formMethod:i,formAction:a,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:s,json:void 0,text:void 0};if(vt(f.formMethod))return{path:n,submission:f};let c=mn(n);return t&&c.search&&ju(c.search)&&u.append("index",""),c.search="?"+u,{path:jn(c),submission:f}}function $v(e,t){let n=e;if(t){let r=e.findIndex(l=>l.route.id===t);r>=0&&(n=e.slice(0,r))}return n}function uc(e,t,n,r,l,o,i,a,u,s,f,c,p,E,x,w){let R=w?et(w[1])?w[1].error:w[1].data:void 0,h=e.createURL(t.location),d=e.createURL(l),v=w&&et(w[1])?w[0]:void 0,k=v?$v(n,v):n,L=w?w[1].statusCode:void 0,y=i&&L&&L>=400,z=k.filter((F,O)=>{let{route:X}=F;if(X.lazy)return!0;if(X.loader==null)return!1;if(o)return typeof X.loader!="function"||X.loader.hydrate?!0:t.loaderData[X.id]===void 0&&(!t.errors||t.errors[X.id]===void 0);if(Vv(t.loaderData,t.matches[O],F)||u.some(q=>q===F.route.id))return!0;let $=t.matches[O],Se=F;return sc(F,he({currentUrl:h,currentParams:$.params,nextUrl:d,nextParams:Se.params},r,{actionResult:R,actionStatus:L,defaultShouldRevalidate:y?!1:a||h.pathname+h.search===d.pathname+d.search||h.search!==d.search||Jf($,Se)}))}),N=[];return c.forEach((F,O)=>{if(o||!n.some(Xe=>Xe.route.id===F.routeId)||f.has(O))return;let X=Sn(E,F.path,x);if(!X){N.push({key:O,routeId:F.routeId,path:F.path,matches:null,match:null,controller:null});return}let $=t.fetchers.get(O),Se=Hr(X,F.path),q=!1;p.has(O)?q=!1:s.has(O)?(s.delete(O),q=!0):$&&$.state!=="idle"&&$.data===void 0?q=a:q=sc(Se,he({currentUrl:h,currentParams:t.matches[t.matches.length-1].params,nextUrl:d,nextParams:n[n.length-1].params},r,{actionResult:R,actionStatus:L,defaultShouldRevalidate:y?!1:a})),q&&N.push({key:O,routeId:F.routeId,path:F.path,matches:X,match:Se,controller:new AbortController})}),[z,N]}function Vv(e,t,n){let r=!t||n.route.id!==t.route.id,l=e[n.route.id]===void 0;return r||l}function Jf(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function sc(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n=="boolean")return n}return t.defaultShouldRevalidate}async function Hv(e,t,n,r,l,o,i,a){let u=[t,...n.map(s=>s.route.id)].join("-");try{let s=i.get(u);s||(s=e({path:t,matches:n,patch:(f,c)=>{a.aborted||Zf(f,c,r,l,o)}}),i.set(u,s)),s&&Jv(s)&&await s}finally{i.delete(u)}}function Zf(e,t,n,r,l){if(e){var o;let i=r[e];b(i,"No route found to patch children into: routeId = "+e);let a=gl(t,l,[e,"patch",String(((o=i.children)==null?void 0:o.length)||"0")],r);i.children?i.children.push(...a):i.children=a}else{let i=gl(t,l,["patch",String(n.length||"0")],r);n.push(...i)}}async function cc(e,t,n){if(!e.lazy)return;let r=await e.lazy();if(!e.lazy)return;let l=n[e.id];b(l,"No route found in manifest");let o={};for(let i in r){let u=l[i]!==void 0&&i!=="hasErrorBoundary";gr(!u,'Route "'+l.id+'" has a static property "'+i+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+i+'" will be ignored.')),!u&&!fv.has(i)&&(o[i]=r[i])}Object.assign(l,o),Object.assign(l,he({},t(l),{lazy:void 0}))}function Wv(e){return Promise.all(e.matches.map(t=>t.resolve()))}async function Qv(e,t,n,r,l,o,i,a){let u=r.reduce((c,p)=>c.add(p.route.id),new Set),s=new Set,f=await e({matches:l.map(c=>{let p=u.has(c.route.id);return he({},c,{shouldLoad:p,resolve:x=>(s.add(c.route.id),p?bv(t,n,c,o,i,x,a):Promise.resolve({type:oe.data,result:void 0}))})}),request:n,params:l[0].params,context:a});return l.forEach(c=>b(s.has(c.route.id),'`match.resolve()` was not called for route id "'+c.route.id+'". You must call `match.resolve()` on every match passed to `dataStrategy` to ensure all routes are properly loaded.')),f.filter((c,p)=>u.has(l[p].route.id))}async function bv(e,t,n,r,l,o,i){let a,u,s=f=>{let c,p=new Promise((w,R)=>c=R);u=()=>c(),t.signal.addEventListener("abort",u);let E=w=>typeof f!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+e+'" [routeId: '+n.route.id+"]"))):f({request:t,params:n.params,context:i},...w!==void 0?[w]:[]),x;return o?x=o(w=>E(w)):x=(async()=>{try{return{type:"data",result:await E()}}catch(w){return{type:"error",result:w}}})(),Promise.race([x,p])};try{let f=n.route[e];if(n.route.lazy)if(f){let c,[p]=await Promise.all([s(f).catch(E=>{c=E}),cc(n.route,l,r)]);if(c!==void 0)throw c;a=p}else if(await cc(n.route,l,r),f=n.route[e],f)a=await s(f);else if(e==="action"){let c=new URL(t.url),p=c.pathname+c.search;throw Be(405,{method:t.method,pathname:p,routeId:n.route.id})}else return{type:oe.data,result:void 0};else if(f)a=await s(f);else{let c=new URL(t.url),p=c.pathname+c.search;throw Be(404,{pathname:p})}b(a.result!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+n.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(f){return{type:oe.error,result:f}}finally{u&&t.signal.removeEventListener("abort",u)}return a}async function Kv(e){let{result:t,type:n}=e;if(ep(t)){let s;try{let f=t.headers.get("Content-Type");f&&/\bapplication\/json\b/.test(f)?t.body==null?s=null:s=await t.json():s=await t.text()}catch(f){return{type:oe.error,error:f}}return n===oe.error?{type:oe.error,error:new Fo(t.status,t.statusText,s),statusCode:t.status,headers:t.headers}:{type:oe.data,data:s,statusCode:t.status,headers:t.headers}}if(n===oe.error){if(yc(t)){var r;if(t.data instanceof Error){var l;return{type:oe.error,error:t.data,statusCode:(l=t.init)==null?void 0:l.status}}t=new Fo(((r=t.init)==null?void 0:r.status)||500,void 0,t.data)}return{type:oe.error,error:t,statusCode:ni(t)?t.status:void 0}}if(qv(t)){var o,i;return{type:oe.deferred,deferredData:t,statusCode:(o=t.init)==null?void 0:o.status,headers:((i=t.init)==null?void 0:i.headers)&&new Headers(t.init.headers)}}if(yc(t)){var a,u;return{type:oe.data,data:t.data,statusCode:(a=t.init)==null?void 0:a.status,headers:(u=t.init)!=null&&u.headers?new Headers(t.init.headers):void 0}}return{type:oe.data,data:t}}function Gv(e,t,n,r,l,o){let i=e.headers.get("Location");if(b(i,"Redirects returned/thrown from loaders/actions must have a Location header"),!Du.test(i)){let a=r.slice(0,r.findIndex(u=>u.route.id===n)+1);i=Ta(new URL(t.url),a,l,!0,i,o),e.headers.set("Location",i)}return e}function dc(e,t,n){if(Du.test(e)){let r=e,l=r.startsWith("//")?new URL(t.protocol+r):new URL(r),o=xr(l.pathname,n)!=null;if(l.origin===t.origin&&o)return l.pathname+l.search+l.hash}return e}function Wn(e,t,n,r){let l=e.createURL(qf(t)).toString(),o={signal:n};if(r&&vt(r.formMethod)){let{formMethod:i,formEncType:a}=r;o.method=i.toUpperCase(),a==="application/json"?(o.headers=new Headers({"Content-Type":a}),o.body=JSON.stringify(r.json)):a==="text/plain"?o.body=r.text:a==="application/x-www-form-urlencoded"&&r.formData?o.body=za(r.formData):o.body=r.formData}return new Request(l,o)}function za(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,typeof r=="string"?r:r.name);return t}function fc(e){let t=new FormData;for(let[n,r]of e.entries())t.append(n,r);return t}function Yv(e,t,n,r,l,o){let i={},a=null,u,s=!1,f={},c=r&&et(r[1])?r[1].error:void 0;return n.forEach((p,E)=>{let x=t[E].route.id;if(b(!Pn(p),"Cannot handle redirect results in processLoaderData"),et(p)){let w=p.error;c!==void 0&&(w=c,c=void 0),a=a||{};{let R=rr(e,x);a[R.route.id]==null&&(a[R.route.id]=w)}i[x]=void 0,s||(s=!0,u=ni(p.error)?p.error.status:500),p.headers&&(f[x]=p.headers)}else Cn(p)?(l.set(x,p.deferredData),i[x]=p.deferredData.data,p.statusCode!=null&&p.statusCode!==200&&!s&&(u=p.statusCode),p.headers&&(f[x]=p.headers)):(i[x]=p.data,p.statusCode&&p.statusCode!==200&&!s&&(u=p.statusCode),p.headers&&(f[x]=p.headers))}),c!==void 0&&r&&(a={[r[0]]:c},i[r[0]]=void 0),{loaderData:i,errors:a,statusCode:u||200,loaderHeaders:f}}function pc(e,t,n,r,l,o,i,a){let{loaderData:u,errors:s}=Yv(t,n,r,l,a);for(let f=0;fr.route.id===t)+1):[...e]).reverse().find(r=>r.route.hasErrorBoundary===!0)||e[0]}function vc(e){let t=e.length===1?e[0]:e.find(n=>n.index||!n.path||n.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function Be(e,t){let{pathname:n,routeId:r,method:l,type:o,message:i}=t===void 0?{}:t,a="Unknown Server Error",u="Unknown @remix-run/router error";return e===400?(a="Bad Request",o==="route-discovery"?u='Unable to match URL "'+n+'" - the `unstable_patchRoutesOnMiss()` '+(`function threw the following error: -`+i):l&&n&&r?u="You made a "+l+' request to "'+n+'" but '+('did not provide a `loader` for route "'+r+'", ')+"so there is no way to handle the request.":o==="defer-action"?u="defer() is not supported in actions":o==="invalid-body"&&(u="Unable to encode submission body")):e===403?(a="Forbidden",u='Route "'+r+'" does not match URL "'+n+'"'):e===404?(a="Not Found",u='No route matches URL "'+n+'"'):e===405&&(a="Method Not Allowed",l&&n&&r?u="You made a "+l.toUpperCase()+' request to "'+n+'" but '+('did not provide an `action` for route "'+r+'", ')+"so there is no way to handle the request.":l&&(u='Invalid request method "'+l.toUpperCase()+'"')),new Fo(e||500,a,new Error(u),!0)}function gc(e){for(let t=e.length-1;t>=0;t--){let n=e[t];if(Pn(n))return{result:n,idx:t}}}function qf(e){let t=typeof e=="string"?mn(e):e;return jn(he({},t,{hash:""}))}function Xv(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function Jv(e){return typeof e=="object"&&e!=null&&"then"in e}function Zv(e){return ep(e.result)&&Ov.has(e.result.status)}function Cn(e){return e.type===oe.deferred}function et(e){return e.type===oe.error}function Pn(e){return(e&&e.type)===oe.redirect}function yc(e){return typeof e=="object"&&e!=null&&"type"in e&&"data"in e&&"init"in e&&e.type==="DataWithResponseInit"}function qv(e){let t=e;return t&&typeof t=="object"&&typeof t.data=="object"&&typeof t.subscribe=="function"&&typeof t.cancel=="function"&&typeof t.resolveData=="function"}function ep(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function eg(e){return jv.has(e.toLowerCase())}function vt(e){return Mv.has(e.toLowerCase())}async function wc(e,t,n,r,l,o){for(let i=0;ic.route.id===u.route.id),f=s!=null&&!Jf(s,u)&&(o&&o[u.route.id])!==void 0;if(Cn(a)&&(l||f)){let c=r[i];b(c,"Expected an AbortSignal for revalidating fetcher deferred result"),await tp(a,c,l).then(p=>{p&&(n[i]=p||n[i])})}}}async function tp(e,t,n){if(n===void 0&&(n=!1),!await e.deferredData.resolveData(t)){if(n)try{return{type:oe.data,data:e.deferredData.unwrappedData}}catch(l){return{type:oe.error,error:l}}return{type:oe.data,data:e.deferredData.data}}}function ju(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function Hr(e,t){let n=typeof t=="string"?mn(t).search:t.search;if(e[e.length-1].route.index&&ju(n||""))return e[e.length-1];let r=Gf(e);return r[r.length-1]}function Sc(e){let{formMethod:t,formAction:n,formEncType:r,text:l,formData:o,json:i}=e;if(!(!t||!n||!r)){if(l!=null)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:l};if(o!=null)return{formMethod:t,formAction:n,formEncType:r,formData:o,json:void 0,text:void 0};if(i!==void 0)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:i,text:void 0}}}function Ii(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function tg(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function Or(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function ng(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function Gt(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function rg(e,t){try{let n=e.sessionStorage.getItem(Xf);if(n){let r=JSON.parse(n);for(let[l,o]of Object.entries(r||{}))o&&Array.isArray(o)&&t.set(l,new Set(o||[]))}}catch{}}function lg(e,t){if(t.size>0){let n={};for(let[r,l]of t)n[r]=[...l];try{e.sessionStorage.setItem(Xf,JSON.stringify(n))}catch(r){gr(!1,"Failed to save applied view transitions in sessionStorage ("+r+").")}}}/** - * React Router v6.26.0 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function Io(){return Io=Object.assign?Object.assign.bind():function(e){for(var t=1;t{a.current=!0}),P.useCallback(function(s,f){if(f===void 0&&(f={}),!a.current)return;if(typeof s=="number"){r.go(s);return}let c=Mu(s,JSON.parse(i),o,f.relative==="path");e==null&&t!=="/"&&(c.pathname=c.pathname==="/"?t:Ft([t,c.pathname])),(f.replace?r.replace:r.push)(c,f.state,f)},[t,r,i,o,e])}const ug=P.createContext(null);function sg(e){let t=P.useContext(vn).outlet;return t&&P.createElement(ug.Provider,{value:e},t)}function op(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=P.useContext(In),{matches:l}=P.useContext(vn),{pathname:o}=li(),i=JSON.stringify(zu(l,r.v7_relativeSplatPath));return P.useMemo(()=>Mu(e,JSON.parse(i),o,n==="path"),[e,i,o,n])}function cg(e,t,n,r){Cl()||b(!1);let{navigator:l}=P.useContext(In),{matches:o}=P.useContext(vn),i=o[o.length-1],a=i?i.params:{};i&&i.pathname;let u=i?i.pathnameBase:"/";i&&i.route;let s=li(),f;f=s;let c=f.pathname||"/",p=c;if(u!=="/"){let w=u.replace(/^\//,"").split("/");p="/"+c.replace(/^\//,"").split("/").slice(w.length).join("/")}let E=Sn(e,{pathname:p});return mg(E&&E.map(w=>Object.assign({},w,{params:Object.assign({},a,w.params),pathname:Ft([u,l.encodeLocation?l.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?u:Ft([u,l.encodeLocation?l.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),o,n,r)}function dg(){let e=wg(),t=ni(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,l={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return P.createElement(P.Fragment,null,P.createElement("h2",null,"Unexpected Application Error!"),P.createElement("h3",{style:{fontStyle:"italic"}},t),n?P.createElement("pre",{style:l},n):null,null)}const fg=P.createElement(dg,null);class pg extends P.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?P.createElement(vn.Provider,{value:this.props.routeContext},P.createElement(rp.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function hg(e){let{routeContext:t,match:n,children:r}=e,l=P.useContext(ri);return l&&l.static&&l.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=n.route.id),P.createElement(vn.Provider,{value:t},r)}function mg(e,t,n,r){var l;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if(!n)return null;if(n.errors)e=n.matches;else if((o=r)!=null&&o.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let i=e,a=(l=n)==null?void 0:l.errors;if(a!=null){let f=i.findIndex(c=>c.route.id&&(a==null?void 0:a[c.route.id])!==void 0);f>=0||b(!1),i=i.slice(0,Math.min(i.length,f+1))}let u=!1,s=-1;if(n&&r&&r.v7_partialHydration)for(let f=0;f=0?i=i.slice(0,s+1):i=[i[0]];break}}}return i.reduceRight((f,c,p)=>{let E,x=!1,w=null,R=null;n&&(E=a&&c.route.id?a[c.route.id]:void 0,w=c.route.errorElement||fg,u&&(s<0&&p===0?(x=!0,R=null):s===p&&(x=!0,R=c.route.hydrateFallbackElement||null)));let h=t.concat(i.slice(0,p+1)),d=()=>{let v;return E?v=w:x?v=R:c.route.Component?v=P.createElement(c.route.Component,null):c.route.element?v=c.route.element:v=f,P.createElement(hg,{match:c,routeContext:{outlet:f,matches:h,isDataRoute:n!=null},children:v})};return n&&(c.route.ErrorBoundary||c.route.errorElement||p===0)?P.createElement(pg,{location:n.location,revalidation:n.revalidation,component:w,error:E,children:d(),routeContext:{outlet:null,matches:h,isDataRoute:!0}}):d()},null)}var ip=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(ip||{}),Uo=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Uo||{});function vg(e){let t=P.useContext(ri);return t||b(!1),t}function gg(e){let t=P.useContext(np);return t||b(!1),t}function yg(e){let t=P.useContext(vn);return t||b(!1),t}function ap(e){let t=yg(),n=t.matches[t.matches.length-1];return n.route.id||b(!1),n.route.id}function wg(){var e;let t=P.useContext(rp),n=gg(Uo.UseRouteError),r=ap(Uo.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function Sg(){let{router:e}=vg(ip.UseNavigateStable),t=ap(Uo.UseNavigateStable),n=P.useRef(!1);return lp(()=>{n.current=!0}),P.useCallback(function(l,o){o===void 0&&(o={}),n.current&&(typeof l=="number"?e.navigate(l):e.navigate(l,Io({fromRouteId:t},o)))},[e,t])}function xg(e){return sg(e.context)}function co(e){b(!1)}function Eg(e){let{basename:t="/",children:n=null,location:r,navigationType:l=ke.Pop,navigator:o,static:i=!1,future:a}=e;Cl()&&b(!1);let u=t.replace(/^\/*/,"/"),s=P.useMemo(()=>({basename:u,navigator:o,static:i,future:Io({v7_relativeSplatPath:!1},a)}),[u,a,o,i]);typeof r=="string"&&(r=mn(r));let{pathname:f="/",search:c="",hash:p="",state:E=null,key:x="default"}=r,w=P.useMemo(()=>{let R=xr(f,u);return R==null?null:{location:{pathname:R,search:c,hash:p,state:E,key:x},navigationType:l}},[u,f,c,p,E,x,l]);return w==null?null:P.createElement(In.Provider,{value:s},P.createElement(Ou.Provider,{children:n,value:w}))}new Promise(()=>{});function Ma(e,t){t===void 0&&(t=[]);let n=[];return P.Children.forEach(e,(r,l)=>{if(!P.isValidElement(r))return;let o=[...t,l];if(r.type===P.Fragment){n.push.apply(n,Ma(r.props.children,o));return}r.type!==co&&b(!1),!r.props.index||!r.props.children||b(!1);let i={id:r.props.id||o.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,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(i.children=Ma(r.props.children,o)),n.push(i)}),n}function kg(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:P.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:P.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:P.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}/** - * React Router DOM v6.26.0 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function yl(){return yl=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[l]=e[l]);return n}function Pg(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Rg(e,t){return e.button===0&&(!t||t==="_self")&&!Pg(e)}const _g=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],Lg="6";try{window.__reactRouterVersion=Lg}catch{}function Ng(e,t){return Av({basename:void 0,future:yl({},void 0,{v7_prependBasename:!0}),history:sv({window:void 0}),hydrationData:Tg(),routes:e,mapRouteProperties:kg,unstable_dataStrategy:void 0,unstable_patchRoutesOnMiss:void 0,window:void 0}).initialize()}function Tg(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=yl({},t,{errors:zg(t.errors)})),t}function zg(e){if(!e)return null;let t=Object.entries(e),n={};for(let[r,l]of t)if(l&&l.__type==="RouteErrorResponse")n[r]=new Fo(l.status,l.statusText,l.data,l.internal===!0);else if(l&&l.__type==="Error"){if(l.__subType){let o=window[l.__subType];if(typeof o=="function")try{let i=new o(l.message);i.stack="",n[r]=i}catch{}}if(n[r]==null){let o=new Error(l.message);o.stack="",n[r]=o}}else n[r]=l;return n}const Mg=P.createContext({isTransitioning:!1}),Dg=P.createContext(new Map),jg="startTransition",xc=Xp[jg],Og="flushSync",Ec=uv[Og];function Fg(e){xc?xc(e):e()}function Fr(e){Ec?Ec(e):e()}class Ig{constructor(){this.status="pending",this.promise=new Promise((t,n)=>{this.resolve=r=>{this.status==="pending"&&(this.status="resolved",t(r))},this.reject=r=>{this.status==="pending"&&(this.status="rejected",n(r))}})}}function Ug(e){let{fallbackElement:t,router:n,future:r}=e,[l,o]=P.useState(n.state),[i,a]=P.useState(),[u,s]=P.useState({isTransitioning:!1}),[f,c]=P.useState(),[p,E]=P.useState(),[x,w]=P.useState(),R=P.useRef(new Map),{v7_startTransition:h}=r||{},d=P.useCallback(N=>{h?Fg(N):N()},[h]),v=P.useCallback((N,F)=>{let{deletedFetchers:O,unstable_flushSync:X,unstable_viewTransitionOpts:$}=F;O.forEach(q=>R.current.delete(q)),N.fetchers.forEach((q,Xe)=>{q.data!==void 0&&R.current.set(Xe,q.data)});let Se=n.window==null||n.window.document==null||typeof n.window.document.startViewTransition!="function";if(!$||Se){X?Fr(()=>o(N)):d(()=>o(N));return}if(X){Fr(()=>{p&&(f&&f.resolve(),p.skipTransition()),s({isTransitioning:!0,flushSync:!0,currentLocation:$.currentLocation,nextLocation:$.nextLocation})});let q=n.window.document.startViewTransition(()=>{Fr(()=>o(N))});q.finished.finally(()=>{Fr(()=>{c(void 0),E(void 0),a(void 0),s({isTransitioning:!1})})}),Fr(()=>E(q));return}p?(f&&f.resolve(),p.skipTransition(),w({state:N,currentLocation:$.currentLocation,nextLocation:$.nextLocation})):(a(N),s({isTransitioning:!0,flushSync:!1,currentLocation:$.currentLocation,nextLocation:$.nextLocation}))},[n.window,p,f,R,d]);P.useLayoutEffect(()=>n.subscribe(v),[n,v]),P.useEffect(()=>{u.isTransitioning&&!u.flushSync&&c(new Ig)},[u]),P.useEffect(()=>{if(f&&i&&n.window){let N=i,F=f.promise,O=n.window.document.startViewTransition(async()=>{d(()=>o(N)),await F});O.finished.finally(()=>{c(void 0),E(void 0),a(void 0),s({isTransitioning:!1})}),E(O)}},[d,i,f,n.window]),P.useEffect(()=>{f&&i&&l.location.key===i.location.key&&f.resolve()},[f,p,l.location,i]),P.useEffect(()=>{!u.isTransitioning&&x&&(a(x.state),s({isTransitioning:!0,flushSync:!1,currentLocation:x.currentLocation,nextLocation:x.nextLocation}),w(void 0))},[u.isTransitioning,x]),P.useEffect(()=>{},[]);let k=P.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:N=>n.navigate(N),push:(N,F,O)=>n.navigate(N,{state:F,preventScrollReset:O==null?void 0:O.preventScrollReset}),replace:(N,F,O)=>n.navigate(N,{replace:!0,state:F,preventScrollReset:O==null?void 0:O.preventScrollReset})}),[n]),L=n.basename||"/",y=P.useMemo(()=>({router:n,navigator:k,static:!1,basename:L}),[n,k,L]),z=P.useMemo(()=>({v7_relativeSplatPath:n.future.v7_relativeSplatPath}),[n.future.v7_relativeSplatPath]);return P.createElement(P.Fragment,null,P.createElement(ri.Provider,{value:y},P.createElement(np.Provider,{value:l},P.createElement(Dg.Provider,{value:R.current},P.createElement(Mg.Provider,{value:u},P.createElement(Eg,{basename:L,location:l.location,navigationType:l.historyAction,navigator:k,future:z},l.initialized||n.future.v7_partialHydration?P.createElement(Ag,{routes:n.routes,future:n.future,state:l}):t))))),null)}const Ag=P.memo(Bg);function Bg(e){let{routes:t,future:n,state:r}=e;return cg(t,void 0,r,n)}const $g=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Vg=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,up=P.forwardRef(function(t,n){let{onClick:r,relative:l,reloadDocument:o,replace:i,state:a,target:u,to:s,preventScrollReset:f,unstable_viewTransition:c}=t,p=Cg(t,_g),{basename:E}=P.useContext(In),x,w=!1;if(typeof s=="string"&&Vg.test(s)&&(x=s,$g))try{let v=new URL(window.location.href),k=s.startsWith("//")?new URL(v.protocol+s):new URL(s),L=xr(k.pathname,E);k.origin===v.origin&&L!=null?s=L+k.search+k.hash:w=!0}catch{}let R=og(s,{relative:l}),h=Hg(s,{replace:i,state:a,target:u,preventScrollReset:f,relative:l,unstable_viewTransition:c});function d(v){r&&r(v),v.defaultPrevented||h(v)}return P.createElement("a",yl({},p,{href:x||R,onClick:w||o?r:d,ref:n,target:u}))});var kc;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(kc||(kc={}));var Cc;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Cc||(Cc={}));function Hg(e,t){let{target:n,replace:r,state:l,preventScrollReset:o,relative:i,unstable_viewTransition:a}=t===void 0?{}:t,u=ig(),s=li(),f=op(e,{relative:i});return P.useCallback(c=>{if(Rg(c,n)){c.preventDefault();let p=r!==void 0?r:jn(s)===jn(f);u(e,{replace:p,state:l,preventScrollReset:o,relative:i,unstable_viewTransition:a})}},[s,u,f,r,l,n,e,o,i,a])}var Da={},Pc=Tu;Da.createRoot=Pc.createRoot,Da.hydrateRoot=Pc.hydrateRoot;const Wg=()=>Z.jsx("div",{children:"Not Found"});function Qg(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function bg(...e){return t=>e.forEach(n=>Qg(n,t))}var sp=P.forwardRef((e,t)=>{const{children:n,...r}=e,l=P.Children.toArray(n),o=l.find(Gg);if(o){const i=o.props.children,a=l.map(u=>u===o?P.Children.count(i)>1?P.Children.only(null):P.isValidElement(i)?i.props.children:null:u);return Z.jsx(ja,{...r,ref:t,children:P.isValidElement(i)?P.cloneElement(i,void 0,a):null})}return Z.jsx(ja,{...r,ref:t,children:n})});sp.displayName="Slot";var ja=P.forwardRef((e,t)=>{const{children:n,...r}=e;if(P.isValidElement(n)){const l=Xg(n);return P.cloneElement(n,{...Yg(r,n.props),ref:t?bg(t,l):l})}return P.Children.count(n)>1?P.Children.only(null):null});ja.displayName="SlotClone";var Kg=({children:e})=>Z.jsx(Z.Fragment,{children:e});function Gg(e){return P.isValidElement(e)&&e.type===Kg}function Yg(e,t){const n={...t};for(const r in t){const l=e[r],o=t[r];/^on[A-Z]/.test(r)?l&&o?n[r]=(...a)=>{o(...a),l(...a)}:l&&(n[r]=l):r==="style"?n[r]={...l,...o}:r==="className"&&(n[r]=[l,o].filter(Boolean).join(" "))}return{...e,...n}}function Xg(e){var r,l;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(l=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:l.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function cp(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;ttypeof e=="boolean"?"".concat(e):e===0?"0":e,_c=Jg,Zg=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return _c(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:l,defaultVariants:o}=t,i=Object.keys(l).map(s=>{const f=n==null?void 0:n[s],c=o==null?void 0:o[s];if(f===null)return null;const p=Rc(f)||Rc(c);return l[s][p]}),a=n&&Object.entries(n).reduce((s,f)=>{let[c,p]=f;return p===void 0||(s[c]=p),s},{}),u=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((s,f)=>{let{class:c,className:p,...E}=f;return Object.entries(E).every(x=>{let[w,R]=x;return Array.isArray(R)?R.includes({...o,...a}[w]):{...o,...a}[w]===R})?[...s,c,p]:s},[]);return _c(e,i,u,n==null?void 0:n.class,n==null?void 0:n.className)};function dp(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var l=e.length;for(t=0;ta(o)))==null?void 0:i.classGroupId}const Lc=/^\[(.+)\]$/;function ty(e){if(Lc.test(e)){const t=Lc.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}function ny(e){const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return ly(Object.entries(e.classGroups),n).forEach(([o,i])=>{Oa(i,r,o,t)}),r}function Oa(e,t,n,r){e.forEach(l=>{if(typeof l=="string"){const o=l===""?t:Nc(t,l);o.classGroupId=n;return}if(typeof l=="function"){if(ry(l)){Oa(l(r),t,n,r);return}t.validators.push({validator:l,classGroupId:n});return}Object.entries(l).forEach(([o,i])=>{Oa(i,Nc(t,o),n,r)})})}function Nc(e,t){let n=e;return t.split(Fu).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n}function ry(e){return e.isThemeGetter}function ly(e,t){return t?e.map(([n,r])=>{const l=r.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,a])=>[t+i,a])):o);return[n,l]}):e}function oy(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;function l(o,i){n.set(o,i),t++,t>e&&(t=0,r=n,n=new Map)}return{get(o){let i=n.get(o);if(i!==void 0)return i;if((i=r.get(o))!==void 0)return l(o,i),i},set(o,i){n.has(o)?n.set(o,i):l(o,i)}}}const pp="!";function iy(e){const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,l=t[0],o=t.length;function i(a){const u=[];let s=0,f=0,c;for(let R=0;Rf?c-f:void 0;return{modifiers:u,hasImportantModifier:E,baseClassName:x,maybePostfixModifierPosition:w}}return n?function(u){return n({className:u,parseClassName:i})}:i}function ay(e){if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t}function uy(e){return{cache:oy(e.cacheSize),parseClassName:iy(e),...ey(e)}}const sy=/\s+/;function cy(e,t){const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:l}=t,o=new Set;return e.trim().split(sy).map(i=>{const{modifiers:a,hasImportantModifier:u,baseClassName:s,maybePostfixModifierPosition:f}=n(i);let c=!!f,p=r(c?s.substring(0,f):s);if(!p){if(!c)return{isTailwindClass:!1,originalClassName:i};if(p=r(s),!p)return{isTailwindClass:!1,originalClassName:i};c=!1}const E=ay(a).join(":");return{isTailwindClass:!0,modifierId:u?E+pp:E,classGroupId:p,originalClassName:i,hasPostfixModifier:c}}).reverse().filter(i=>{if(!i.isTailwindClass)return!0;const{modifierId:a,classGroupId:u,hasPostfixModifier:s}=i,f=a+u;return o.has(f)?!1:(o.add(f),l(u,s).forEach(c=>o.add(a+c)),!0)}).reverse().map(i=>i.originalClassName).join(" ")}function dy(){let e=0,t,n,r="";for(;ec(f),e());return n=uy(s),r=n.cache.get,l=n.cache.set,o=a,a(u)}function a(u){const s=r(u);if(s)return s;const f=cy(u,n);return l(u,f),f}return function(){return o(dy.apply(null,arguments))}}function se(e){const t=n=>n[e]||[];return t.isThemeGetter=!0,t}const mp=/^\[(?:([a-z-]+):)?(.+)\]$/i,py=/^\d+\/\d+$/,hy=new Set(["px","full","screen"]),my=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,vy=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,gy=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,yy=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,wy=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function Tt(e){return Rn(e)||hy.has(e)||py.test(e)}function bt(e){return Er(e,"length",_y)}function Rn(e){return!!e&&!Number.isNaN(Number(e))}function Xl(e){return Er(e,"number",Rn)}function Ir(e){return!!e&&Number.isInteger(Number(e))}function Sy(e){return e.endsWith("%")&&Rn(e.slice(0,-1))}function Q(e){return mp.test(e)}function Kt(e){return my.test(e)}const xy=new Set(["length","size","percentage"]);function Ey(e){return Er(e,xy,vp)}function ky(e){return Er(e,"position",vp)}const Cy=new Set(["image","url"]);function Py(e){return Er(e,Cy,Ny)}function Ry(e){return Er(e,"",Ly)}function Ur(){return!0}function Er(e,t,n){const r=mp.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1}function _y(e){return vy.test(e)&&!gy.test(e)}function vp(){return!1}function Ly(e){return yy.test(e)}function Ny(e){return wy.test(e)}function Ty(){const e=se("colors"),t=se("spacing"),n=se("blur"),r=se("brightness"),l=se("borderColor"),o=se("borderRadius"),i=se("borderSpacing"),a=se("borderWidth"),u=se("contrast"),s=se("grayscale"),f=se("hueRotate"),c=se("invert"),p=se("gap"),E=se("gradientColorStops"),x=se("gradientColorStopPositions"),w=se("inset"),R=se("margin"),h=se("opacity"),d=se("padding"),v=se("saturate"),k=se("scale"),L=se("sepia"),y=se("skew"),z=se("space"),N=se("translate"),F=()=>["auto","contain","none"],O=()=>["auto","hidden","clip","visible","scroll"],X=()=>["auto",Q,t],$=()=>[Q,t],Se=()=>["",Tt,bt],q=()=>["auto",Rn,Q],Xe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Je=()=>["solid","dashed","dotted","double","none"],ie=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],M=()=>["start","end","center","between","around","evenly","stretch"],U=()=>["","0",Q],V=()=>["auto","avoid","all","avoid-page","page","left","right","column"],G=()=>[Rn,Xl],ee=()=>[Rn,Q];return{cacheSize:500,separator:":",theme:{colors:[Ur],spacing:[Tt,bt],blur:["none","",Kt,Q],brightness:G(),borderColor:[e],borderRadius:["none","","full",Kt,Q],borderSpacing:$(),borderWidth:Se(),contrast:G(),grayscale:U(),hueRotate:ee(),invert:U(),gap:$(),gradientColorStops:[e],gradientColorStopPositions:[Sy,bt],inset:X(),margin:X(),opacity:G(),padding:$(),saturate:G(),scale:G(),sepia:U(),skew:ee(),space:$(),translate:$()},classGroups:{aspect:[{aspect:["auto","square","video",Q]}],container:["container"],columns:[{columns:[Kt]}],"break-after":[{"break-after":V()}],"break-before":[{"break-before":V()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Xe(),Q]}],overflow:[{overflow:O()}],"overflow-x":[{"overflow-x":O()}],"overflow-y":[{"overflow-y":O()}],overscroll:[{overscroll:F()}],"overscroll-x":[{"overscroll-x":F()}],"overscroll-y":[{"overscroll-y":F()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[w]}],"inset-x":[{"inset-x":[w]}],"inset-y":[{"inset-y":[w]}],start:[{start:[w]}],end:[{end:[w]}],top:[{top:[w]}],right:[{right:[w]}],bottom:[{bottom:[w]}],left:[{left:[w]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Ir,Q]}],basis:[{basis:X()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Q]}],grow:[{grow:U()}],shrink:[{shrink:U()}],order:[{order:["first","last","none",Ir,Q]}],"grid-cols":[{"grid-cols":[Ur]}],"col-start-end":[{col:["auto",{span:["full",Ir,Q]},Q]}],"col-start":[{"col-start":q()}],"col-end":[{"col-end":q()}],"grid-rows":[{"grid-rows":[Ur]}],"row-start-end":[{row:["auto",{span:[Ir,Q]},Q]}],"row-start":[{"row-start":q()}],"row-end":[{"row-end":q()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Q]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Q]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal",...M()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...M(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...M(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[d]}],px:[{px:[d]}],py:[{py:[d]}],ps:[{ps:[d]}],pe:[{pe:[d]}],pt:[{pt:[d]}],pr:[{pr:[d]}],pb:[{pb:[d]}],pl:[{pl:[d]}],m:[{m:[R]}],mx:[{mx:[R]}],my:[{my:[R]}],ms:[{ms:[R]}],me:[{me:[R]}],mt:[{mt:[R]}],mr:[{mr:[R]}],mb:[{mb:[R]}],ml:[{ml:[R]}],"space-x":[{"space-x":[z]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[z]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Q,t]}],"min-w":[{"min-w":[Q,t,"min","max","fit"]}],"max-w":[{"max-w":[Q,t,"none","full","min","max","fit","prose",{screen:[Kt]},Kt]}],h:[{h:[Q,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Q,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Q,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Q,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Kt,bt]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Xl]}],"font-family":[{font:[Ur]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",Q]}],"line-clamp":[{"line-clamp":["none",Rn,Xl]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Tt,Q]}],"list-image":[{"list-image":["none",Q]}],"list-style-type":[{list:["none","disc","decimal",Q]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[h]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[h]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Je(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Tt,bt]}],"underline-offset":[{"underline-offset":["auto",Tt,Q]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:$()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Q]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Q]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[h]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Xe(),ky]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Ey]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Py]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[x]}],"gradient-via-pos":[{via:[x]}],"gradient-to-pos":[{to:[x]}],"gradient-from":[{from:[E]}],"gradient-via":[{via:[E]}],"gradient-to":[{to:[E]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[h]}],"border-style":[{border:[...Je(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[h]}],"divide-style":[{divide:Je()}],"border-color":[{border:[l]}],"border-color-x":[{"border-x":[l]}],"border-color-y":[{"border-y":[l]}],"border-color-t":[{"border-t":[l]}],"border-color-r":[{"border-r":[l]}],"border-color-b":[{"border-b":[l]}],"border-color-l":[{"border-l":[l]}],"divide-color":[{divide:[l]}],"outline-style":[{outline:["",...Je()]}],"outline-offset":[{"outline-offset":[Tt,Q]}],"outline-w":[{outline:[Tt,bt]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Se()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-w":[{"ring-offset":[Tt,bt]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Kt,Ry]}],"shadow-color":[{shadow:[Ur]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":[...ie(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ie()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",Kt,Q]}],grayscale:[{grayscale:[s]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[c]}],saturate:[{saturate:[v]}],sepia:[{sepia:[L]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[s]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[c]}],"backdrop-opacity":[{"backdrop-opacity":[h]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[L]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Q]}],duration:[{duration:ee()}],ease:[{ease:["linear","in","out","in-out",Q]}],delay:[{delay:ee()}],animate:[{animate:["none","spin","ping","pulse","bounce",Q]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[k]}],"scale-x":[{"scale-x":[k]}],"scale-y":[{"scale-y":[k]}],rotate:[{rotate:[Ir,Q]}],"translate-x":[{"translate-x":[N]}],"translate-y":[{"translate-y":[N]}],"skew-x":[{"skew-x":[y]}],"skew-y":[{"skew-y":[y]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Q]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Q]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":$()}],"scroll-mx":[{"scroll-mx":$()}],"scroll-my":[{"scroll-my":$()}],"scroll-ms":[{"scroll-ms":$()}],"scroll-me":[{"scroll-me":$()}],"scroll-mt":[{"scroll-mt":$()}],"scroll-mr":[{"scroll-mr":$()}],"scroll-mb":[{"scroll-mb":$()}],"scroll-ml":[{"scroll-ml":$()}],"scroll-p":[{"scroll-p":$()}],"scroll-px":[{"scroll-px":$()}],"scroll-py":[{"scroll-py":$()}],"scroll-ps":[{"scroll-ps":$()}],"scroll-pe":[{"scroll-pe":$()}],"scroll-pt":[{"scroll-pt":$()}],"scroll-pr":[{"scroll-pr":$()}],"scroll-pb":[{"scroll-pb":$()}],"scroll-pl":[{"scroll-pl":$()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Q]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Tt,bt,Xl]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}const zy=fy(Ty);function My(...e){return zy(qg(e))}const Dy=Zg("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),gp=P.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...l},o)=>{const i=r?sp:"button";return Z.jsx(i,{className:My(Dy({variant:t,size:n,className:e})),ref:o,...l})});gp.displayName="Button";const jy=()=>Z.jsx(up,{to:"https://drive.google.com/file/d/1zeF5O_iNHSwUhJrxzS5HjV6CdZmfxVm_/view?usp=sharing",target:"_blank",children:Z.jsx(gp,{className:"hover:scale-95 transition-all rounded-full hover:drop-shadow-glow",children:"Check Resume"})});var Ao=(e=>(e.root="/",e.notFound="*",e))(Ao||{});const Oy="/assets/light-logo-D1zLD16O.png",Fy=Oy,Iy=()=>Z.jsx(up,{to:Ao.root,className:"hover:scale-95 transition-all hover:drop-shadow-glow",children:Z.jsx("img",{src:Fy,alt:"Logo",className:"h-6"})}),Uy=[{label:"About",href:""},{label:"Skills",href:""},{label:"Experience",href:""},{label:"Projects",href:""},{label:"Education",href:""},{label:"Contact",href:""}],Ay=()=>Z.jsx("nav",{className:"flex-center flex-1 px-4",children:Z.jsx("ul",{className:"flex-center gap-x-8",children:Uy.map((e,t)=>Z.jsx("li",{className:"capitalize font-semibold leading-none hover:scale-95 transition-all cursor-pointer hover:drop-shadow-glow",children:e.label},`${e.label}-${t}`))})}),By=()=>Z.jsx("header",{className:"h-14 flex-center bg-light-background border-b",children:Z.jsxs("div",{className:"flex-between h-full w-full max-w-screen-lg",children:[Z.jsx(Iy,{}),Z.jsx(Ay,{}),Z.jsx(jy,{})]})}),$y=()=>Z.jsxs(Z.Fragment,{children:[Z.jsx(By,{}),Z.jsx("main",{className:"h-[calc(100dvg_-_56px)] max-w-screen-lg mx-auto py-8",children:Z.jsx(xg,{})})]}),Vy=()=>Z.jsx("div",{children:"RootPage"}),Hy=Ng(Ma(Z.jsxs(co,{path:Ao.root,element:Z.jsx($y,{}),children:[Z.jsx(co,{index:!0,element:Z.jsx(Vy,{})}),Z.jsx(co,{path:Ao.notFound,element:Z.jsx(Wg,{})})]})));Da.createRoot(document.getElementById("root")).render(Z.jsx(Vc.StrictMode,{children:Z.jsx(Ug,{router:Hy})})); diff --git a/assets/index-CYDA9eoL.js b/assets/index-CYDA9eoL.js new file mode 100644 index 0000000..5966e12 --- /dev/null +++ b/assets/index-CYDA9eoL.js @@ -0,0 +1,161 @@ +function fp(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const l of i.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function pp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var hp={exports:{}},ra={},mp={exports:{}},re={};/** + * @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 vi=Symbol.for("react.element"),cy=Symbol.for("react.portal"),dy=Symbol.for("react.fragment"),fy=Symbol.for("react.strict_mode"),py=Symbol.for("react.profiler"),hy=Symbol.for("react.provider"),my=Symbol.for("react.context"),vy=Symbol.for("react.forward_ref"),gy=Symbol.for("react.suspense"),yy=Symbol.for("react.memo"),wy=Symbol.for("react.lazy"),sd=Symbol.iterator;function xy(e){return e===null||typeof e!="object"?null:(e=sd&&e[sd]||e["@@iterator"],typeof e=="function"?e:null)}var vp={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},gp=Object.assign,yp={};function no(e,t,n){this.props=e,this.context=t,this.refs=yp,this.updater=n||vp}no.prototype.isReactComponent={};no.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")};no.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function wp(){}wp.prototype=no.prototype;function Du(e,t,n){this.props=e,this.context=t,this.refs=yp,this.updater=n||vp}var Ou=Du.prototype=new wp;Ou.constructor=Du;gp(Ou,no.prototype);Ou.isPureReactComponent=!0;var ud=Array.isArray,xp=Object.prototype.hasOwnProperty,Au={current:null},Sp={key:!0,ref:!0,__self:!0,__source:!0};function Ep(e,t,n){var r,o={},i=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(i=""+t.key),t)xp.call(t,r)&&!Sp.hasOwnProperty(r)&&(o[r]=t[r]);var a=arguments.length-2;if(a===1)o.children=n;else if(1>>1,X=L[H];if(0>>1;Ho($e,U))weo(Be,$e)?(L[H]=Be,L[we]=U,H=we):(L[H]=$e,L[ye]=U,H=ye);else if(weo(Be,U))L[H]=Be,L[we]=U,H=we;else break e}}return b}function o(L,b){var U=L.sortIndex-b.sortIndex;return U!==0?U:L.id-b.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var l=Date,a=l.now();e.unstable_now=function(){return l.now()-a}}var s=[],u=[],d=1,c=null,f=3,y=!1,g=!1,v=!1,S=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,h=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function w(L){for(var b=n(u);b!==null;){if(b.callback===null)r(u);else if(b.startTime<=L)r(u),b.sortIndex=b.expirationTime,t(s,b);else break;b=n(u)}}function C(L){if(v=!1,w(L),!g)if(n(s)!==null)g=!0,ne(P);else{var b=n(u);b!==null&&$(C,b.startTime-L)}}function P(L,b){g=!1,v&&(v=!1,m(T),T=-1),y=!0;var U=f;try{for(w(b),c=n(s);c!==null&&(!(c.expirationTime>b)||L&&!B());){var H=c.callback;if(typeof H=="function"){c.callback=null,f=c.priorityLevel;var X=H(c.expirationTime<=b);b=e.unstable_now(),typeof X=="function"?c.callback=X:c===n(s)&&r(s),w(b)}else r(s);c=n(s)}if(c!==null)var Ue=!0;else{var ye=n(u);ye!==null&&$(C,ye.startTime-b),Ue=!1}return Ue}finally{c=null,f=U,y=!1}}var x=!1,_=null,T=-1,A=5,D=-1;function B(){return!(e.unstable_now()-DL||125H?(L.sortIndex=U,t(u,L),n(s)===null&&L===n(u)&&(v?(m(T),T=-1):v=!0,$(C,U-H))):(L.sortIndex=X,t(s,L),g||y||(g=!0,ne(P))),L},e.unstable_shouldYield=B,e.unstable_wrapCallback=function(L){var b=f;return function(){var U=f;f=b;try{return L.apply(this,arguments)}finally{f=U}}}})(_p);Mp.exports=_p;var by=Mp.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 Ly=p,pt=by;function O(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ks=Object.prototype.hasOwnProperty,Dy=/^[: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]*$/,dd={},fd={};function Oy(e){return ks.call(fd,e)?!0:ks.call(dd,e)?!1:Dy.test(e)?fd[e]=!0:(dd[e]=!0,!1)}function Ay(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 Iy(e,t,n,r){if(t===null||typeof t>"u"||Ay(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 Je(e,t,n,r,o,i,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=l}var Fe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Fe[e]=new Je(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Fe[t]=new Je(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Fe[e]=new Je(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Fe[e]=new Je(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){Fe[e]=new Je(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Fe[e]=new Je(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Fe[e]=new Je(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Fe[e]=new Je(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Fe[e]=new Je(e,5,!1,e.toLowerCase(),null,!1,!1)});var ju=/[\-:]([a-z])/g;function Fu(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(ju,Fu);Fe[t]=new Je(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(ju,Fu);Fe[t]=new Je(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(ju,Fu);Fe[t]=new Je(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Fe[e]=new Je(e,1,!1,e.toLowerCase(),null,!1,!1)});Fe.xlinkHref=new Je("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Fe[e]=new Je(e,1,!1,e.toLowerCase(),null,!0,!0)});function zu(e,t,n,r){var o=Fe.hasOwnProperty(t)?Fe[t]:null;(o!==null?o.type!==0:r||!(2a||o[l]!==i[a]){var s=` +`+o[l].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=l&&0<=a);break}}}finally{Wa=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?bo(e):""}function jy(e){switch(e.tag){case 5:return bo(e.type);case 16:return bo("Lazy");case 13:return bo("Suspense");case 19:return bo("SuspenseList");case 0:case 2:case 15:return e=Va(e.type,!1),e;case 11:return e=Va(e.type.render,!1),e;case 1:return e=Va(e.type,!0),e;default:return""}}function Ts(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 kr:return"Fragment";case Rr:return"Portal";case Ps:return"Profiler";case Uu:return"StrictMode";case Ms:return"Suspense";case _s:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case bp:return(e.displayName||"Context")+".Consumer";case Np:return(e._context.displayName||"Context")+".Provider";case $u:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Bu:return t=e.displayName||null,t!==null?t:Ts(e.type)||"Memo";case xn:t=e._payload,e=e._init;try{return Ts(e(t))}catch{}}return null}function Fy(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 Ts(t);case 8:return t===Uu?"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 On(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Dp(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function zy(e){var t=Dp(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 o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(l){r=""+l,i.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ii(e){e._valueTracker||(e._valueTracker=zy(e))}function Op(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Dp(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function El(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 Ns(e,t){var n=t.checked;return Ce({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function hd(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=On(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 Ap(e,t){t=t.checked,t!=null&&zu(e,"checked",t,!1)}function bs(e,t){Ap(e,t);var n=On(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")?Ls(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ls(e,t.type,On(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function md(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 Ls(e,t,n){(t!=="number"||El(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Lo=Array.isArray;function jr(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=ji.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Go(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var jo={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},Uy=["Webkit","ms","Moz","O"];Object.keys(jo).forEach(function(e){Uy.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),jo[t]=jo[e]})});function zp(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||jo.hasOwnProperty(e)&&jo[e]?(""+t).trim():t+"px"}function Up(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=zp(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var $y=Ce({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 As(e,t){if(t){if($y[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(O(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(O(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(O(61))}if(t.style!=null&&typeof t.style!="object")throw Error(O(62))}}function Is(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 js=null;function Wu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Fs=null,Fr=null,zr=null;function yd(e){if(e=wi(e)){if(typeof Fs!="function")throw Error(O(280));var t=e.stateNode;t&&(t=sa(t),Fs(e.stateNode,e.type,t))}}function $p(e){Fr?zr?zr.push(e):zr=[e]:Fr=e}function Bp(){if(Fr){var e=Fr,t=zr;if(zr=Fr=null,yd(e),t)for(e=0;e>>=0,e===0?32:31-(Jy(e)/qy|0)|0}var Fi=64,zi=4194304;function Do(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 Pl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,l=n&268435455;if(l!==0){var a=l&~o;a!==0?r=Do(a):(i&=l,i!==0&&(r=Do(i)))}else l=n&~o,l!==0?r=Do(l):i!==0&&(r=Do(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&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 gi(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Tt(t),e[t]=n}function r0(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=zo),Md=" ",_d=!1;function sh(e,t){switch(e){case"keyup":return b0.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function uh(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Pr=!1;function D0(e,t){switch(e){case"compositionend":return uh(t);case"keypress":return t.which!==32?null:(_d=!0,Md);case"textInput":return e=t.data,e===Md&&_d?null:e;default:return null}}function O0(e,t){if(Pr)return e==="compositionend"||!Zu&&sh(e,t)?(e=lh(),al=Qu=Rn=null,Pr=!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=Ld(n)}}function ph(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ph(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function hh(){for(var e=window,t=El();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=El(e.document)}return t}function Ju(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 W0(e){var t=hh(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&ph(n.ownerDocument.documentElement,n)){if(r!==null&&Ju(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 o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=Dd(n,i);var l=Dd(n,r);o&&l&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.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,Mr=null,Vs=null,$o=null,Hs=!1;function Od(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Hs||Mr==null||Mr!==El(r)||(r=Mr,"selectionStart"in r&&Ju(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}),$o&&qo($o,r)||($o=r,r=Tl(Vs,"onSelect"),0Nr||(e.current=Zs[Nr],Zs[Nr]=null,Nr--)}function fe(e,t){Nr++,Zs[Nr]=e.current,e.current=t}var An={},Ke=Un(An),rt=Un(!1),rr=An;function Kr(e,t){var n=e.type.contextTypes;if(!n)return An;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function ot(e){return e=e.childContextTypes,e!=null}function bl(){me(rt),me(Ke)}function $d(e,t,n){if(Ke.current!==An)throw Error(O(168));fe(Ke,t),fe(rt,n)}function Ch(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(O(108,Fy(e)||"Unknown",o));return Ce({},n,r)}function Ll(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||An,rr=Ke.current,fe(Ke,e),fe(rt,rt.current),!0}function Bd(e,t,n){var r=e.stateNode;if(!r)throw Error(O(169));n?(e=Ch(e,t,rr),r.__reactInternalMemoizedMergedChildContext=e,me(rt),me(Ke),fe(Ke,e)):me(rt),fe(rt,n)}var Jt=null,ua=!1,os=!1;function Rh(e){Jt===null?Jt=[e]:Jt.push(e)}function tw(e){ua=!0,Rh(e)}function $n(){if(!os&&Jt!==null){os=!0;var e=0,t=se;try{var n=Jt;for(se=1;e>=l,o-=l,qt=1<<32-Tt(t)+o|n<T?(A=_,_=null):A=_.sibling;var D=f(m,_,w[T],C);if(D===null){_===null&&(_=A);break}e&&_&&D.alternate===null&&t(m,_),h=i(D,h,T),x===null?P=D:x.sibling=D,x=D,_=A}if(T===w.length)return n(m,_),ge&&Kn(m,T),P;if(_===null){for(;TT?(A=_,_=null):A=_.sibling;var B=f(m,_,D.value,C);if(B===null){_===null&&(_=A);break}e&&_&&B.alternate===null&&t(m,_),h=i(B,h,T),x===null?P=B:x.sibling=B,x=B,_=A}if(D.done)return n(m,_),ge&&Kn(m,T),P;if(_===null){for(;!D.done;T++,D=w.next())D=c(m,D.value,C),D!==null&&(h=i(D,h,T),x===null?P=D:x.sibling=D,x=D);return ge&&Kn(m,T),P}for(_=r(m,_);!D.done;T++,D=w.next())D=y(_,m,T,D.value,C),D!==null&&(e&&D.alternate!==null&&_.delete(D.key===null?T:D.key),h=i(D,h,T),x===null?P=D:x.sibling=D,x=D);return e&&_.forEach(function(j){return t(m,j)}),ge&&Kn(m,T),P}function S(m,h,w,C){if(typeof w=="object"&&w!==null&&w.type===kr&&w.key===null&&(w=w.props.children),typeof w=="object"&&w!==null){switch(w.$$typeof){case Ai:e:{for(var P=w.key,x=h;x!==null;){if(x.key===P){if(P=w.type,P===kr){if(x.tag===7){n(m,x.sibling),h=o(x,w.props.children),h.return=m,m=h;break e}}else if(x.elementType===P||typeof P=="object"&&P!==null&&P.$$typeof===xn&&Hd(P)===x.type){n(m,x.sibling),h=o(x,w.props),h.ref=Co(m,x,w),h.return=m,m=h;break e}n(m,x);break}else t(m,x);x=x.sibling}w.type===kr?(h=nr(w.props.children,m.mode,C,w.key),h.return=m,m=h):(C=ml(w.type,w.key,w.props,null,m.mode,C),C.ref=Co(m,h,w),C.return=m,m=C)}return l(m);case Rr:e:{for(x=w.key;h!==null;){if(h.key===x)if(h.tag===4&&h.stateNode.containerInfo===w.containerInfo&&h.stateNode.implementation===w.implementation){n(m,h.sibling),h=o(h,w.children||[]),h.return=m,m=h;break e}else{n(m,h);break}else t(m,h);h=h.sibling}h=fs(w,m.mode,C),h.return=m,m=h}return l(m);case xn:return x=w._init,S(m,h,x(w._payload),C)}if(Lo(w))return g(m,h,w,C);if(yo(w))return v(m,h,w,C);Ki(m,w)}return typeof w=="string"&&w!==""||typeof w=="number"?(w=""+w,h!==null&&h.tag===6?(n(m,h.sibling),h=o(h,w),h.return=m,m=h):(n(m,h),h=ds(w,m.mode,C),h.return=m,m=h),l(m)):n(m,h)}return S}var Qr=_h(!0),Th=_h(!1),Al=Un(null),Il=null,Dr=null,nc=null;function rc(){nc=Dr=Il=null}function oc(e){var t=Al.current;me(Al),e._currentValue=t}function eu(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 $r(e,t){Il=e,nc=Dr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(nt=!0),e.firstContext=null)}function Et(e){var t=e._currentValue;if(nc!==e)if(e={context:e,memoizedValue:t,next:null},Dr===null){if(Il===null)throw Error(O(308));Dr=e,Il.dependencies={lanes:0,firstContext:e}}else Dr=Dr.next=e;return t}var Xn=null;function ic(e){Xn===null?Xn=[e]:Xn.push(e)}function Nh(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,ic(t)):(n.next=o.next,o.next=n),t.interleaved=n,ln(e,r)}function ln(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 Sn=!1;function lc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function bh(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 tn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Nn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,ie&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,ln(e,n)}return o=r.interleaved,o===null?(t.next=t,ic(r)):(t.next=o.next,o.next=t),r.interleaved=t,ln(e,n)}function ul(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,Hu(e,n)}}function Kd(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=l:i=i.next=l,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,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 jl(e,t,n,r){var o=e.updateQueue;Sn=!1;var i=o.firstBaseUpdate,l=o.lastBaseUpdate,a=o.shared.pending;if(a!==null){o.shared.pending=null;var s=a,u=s.next;s.next=null,l===null?i=u:l.next=u,l=s;var d=e.alternate;d!==null&&(d=d.updateQueue,a=d.lastBaseUpdate,a!==l&&(a===null?d.firstBaseUpdate=u:a.next=u,d.lastBaseUpdate=s))}if(i!==null){var c=o.baseState;l=0,d=u=s=null,a=i;do{var f=a.lane,y=a.eventTime;if((r&f)===f){d!==null&&(d=d.next={eventTime:y,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var g=e,v=a;switch(f=t,y=n,v.tag){case 1:if(g=v.payload,typeof g=="function"){c=g.call(y,c,f);break e}c=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=v.payload,f=typeof g=="function"?g.call(y,c,f):g,f==null)break e;c=Ce({},c,f);break e;case 2:Sn=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,f=o.effects,f===null?o.effects=[a]:f.push(a))}else y={eventTime:y,lane:f,tag:a.tag,payload:a.payload,callback:a.callback,next:null},d===null?(u=d=y,s=c):d=d.next=y,l|=f;if(a=a.next,a===null){if(a=o.shared.pending,a===null)break;f=a,a=f.next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}while(!0);if(d===null&&(s=c),o.baseState=s,o.firstBaseUpdate=u,o.lastBaseUpdate=d,t=o.shared.interleaved,t!==null){o=t;do l|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);lr|=l,e.lanes=l,e.memoizedState=c}}function Gd(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=ls.transition;ls.transition={};try{e(!1),t()}finally{se=n,ls.transition=r}}function Qh(){return Ct().memoizedState}function iw(e,t,n){var r=Ln(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Yh(e))Xh(t,n);else if(n=Nh(e,t,n,r),n!==null){var o=Xe();Nt(n,e,r,o),Zh(n,t,r)}}function lw(e,t,n){var r=Ln(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Yh(e))Xh(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var l=t.lastRenderedState,a=i(l,n);if(o.hasEagerState=!0,o.eagerState=a,bt(a,l)){var s=t.interleaved;s===null?(o.next=o,ic(t)):(o.next=s.next,s.next=o),t.interleaved=o;return}}catch{}finally{}n=Nh(e,t,o,r),n!==null&&(o=Xe(),Nt(n,e,r,o),Zh(n,t,r))}}function Yh(e){var t=e.alternate;return e===Ee||t!==null&&t===Ee}function Xh(e,t){Bo=zl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Zh(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Hu(e,n)}}var Ul={readContext:Et,useCallback:We,useContext:We,useEffect:We,useImperativeHandle:We,useInsertionEffect:We,useLayoutEffect:We,useMemo:We,useReducer:We,useRef:We,useState:We,useDebugValue:We,useDeferredValue:We,useTransition:We,useMutableSource:We,useSyncExternalStore:We,useId:We,unstable_isNewReconciler:!1},aw={readContext:Et,useCallback:function(e,t){return jt().memoizedState=[e,t===void 0?null:t],e},useContext:Et,useEffect:Yd,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,dl(4194308,4,Wh.bind(null,t,e),n)},useLayoutEffect:function(e,t){return dl(4194308,4,e,t)},useInsertionEffect:function(e,t){return dl(4,2,e,t)},useMemo:function(e,t){var n=jt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=jt();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=iw.bind(null,Ee,e),[r.memoizedState,e]},useRef:function(e){var t=jt();return e={current:e},t.memoizedState=e},useState:Qd,useDebugValue:hc,useDeferredValue:function(e){return jt().memoizedState=e},useTransition:function(){var e=Qd(!1),t=e[0];return e=ow.bind(null,e[1]),jt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Ee,o=jt();if(ge){if(n===void 0)throw Error(O(407));n=n()}else{if(n=t(),Oe===null)throw Error(O(349));ir&30||Ah(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Yd(jh.bind(null,r,i,e),[e]),r.flags|=2048,ai(9,Ih.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=jt(),t=Oe.identifierPrefix;if(ge){var n=en,r=qt;n=(r&~(1<<32-Tt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ii++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[Ft]=t,e[ni]=r,am(e,t,!1,!1),t.stateNode=e;e:{switch(l=Is(n,r),n){case"dialog":he("cancel",e),he("close",e),o=r;break;case"iframe":case"object":case"embed":he("load",e),o=r;break;case"video":case"audio":for(o=0;oZr&&(t.flags|=128,r=!0,Ro(i,!1),t.lanes=4194304)}else{if(!r)if(e=Fl(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Ro(i,!0),i.tail===null&&i.tailMode==="hidden"&&!l.alternate&&!ge)return Ve(t),null}else 2*Pe()-i.renderingStartTime>Zr&&n!==1073741824&&(t.flags|=128,r=!0,Ro(i,!1),t.lanes=4194304);i.isBackwards?(l.sibling=t.child,t.child=l):(n=i.last,n!==null?n.sibling=l:t.child=l,i.last=l)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Pe(),t.sibling=null,n=Se.current,fe(Se,r?n&1|2:n&1),t):(Ve(t),null);case 22:case 23:return xc(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?at&1073741824&&(Ve(t),t.subtreeFlags&6&&(t.flags|=8192)):Ve(t),null;case 24:return null;case 25:return null}throw Error(O(156,t.tag))}function mw(e,t){switch(ec(t),t.tag){case 1:return ot(t.type)&&bl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Yr(),me(rt),me(Ke),uc(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return sc(t),null;case 13:if(me(Se),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(O(340));Gr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return me(Se),null;case 4:return Yr(),null;case 10:return oc(t.type._context),null;case 22:case 23:return xc(),null;case 24:return null;default:return null}}var Qi=!1,He=!1,vw=typeof WeakSet=="function"?WeakSet:Set,z=null;function Or(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ke(e,t,r)}else n.current=null}function uu(e,t,n){try{n()}catch(r){ke(e,t,r)}}var af=!1;function gw(e,t){if(Ks=Ml,e=hh(),Ju(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 o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var l=0,a=-1,s=-1,u=0,d=0,c=e,f=null;t:for(;;){for(var y;c!==n||o!==0&&c.nodeType!==3||(a=l+o),c!==i||r!==0&&c.nodeType!==3||(s=l+r),c.nodeType===3&&(l+=c.nodeValue.length),(y=c.firstChild)!==null;)f=c,c=y;for(;;){if(c===e)break t;if(f===n&&++u===o&&(a=l),f===i&&++d===r&&(s=l),(y=c.nextSibling)!==null)break;c=f,f=c.parentNode}c=y}n=a===-1||s===-1?null:{start:a,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(Gs={focusedElem:e,selectionRange:n},Ml=!1,z=t;z!==null;)if(t=z,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,z=e;else for(;z!==null;){t=z;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var v=g.memoizedProps,S=g.memoizedState,m=t.stateNode,h=m.getSnapshotBeforeUpdate(t.elementType===t.type?v:kt(t.type,v),S);m.__reactInternalSnapshotBeforeUpdate=h}break;case 3:var w=t.stateNode.containerInfo;w.nodeType===1?w.textContent="":w.nodeType===9&&w.documentElement&&w.removeChild(w.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(O(163))}}catch(C){ke(t,t.return,C)}if(e=t.sibling,e!==null){e.return=t.return,z=e;break}z=t.return}return g=af,af=!1,g}function Wo(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&uu(t,n,i)}o=o.next}while(o!==r)}}function fa(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 cu(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 cm(e){var t=e.alternate;t!==null&&(e.alternate=null,cm(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ft],delete t[ni],delete t[Xs],delete t[q0],delete t[ew])),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 dm(e){return e.tag===5||e.tag===3||e.tag===4}function sf(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||dm(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 du(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=Nl));else if(r!==4&&(e=e.child,e!==null))for(du(e,t,n),e=e.sibling;e!==null;)du(e,t,n),e=e.sibling}function fu(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(fu(e,t,n),e=e.sibling;e!==null;)fu(e,t,n),e=e.sibling}var Ie=null,Pt=!1;function mn(e,t,n){for(n=n.child;n!==null;)fm(e,t,n),n=n.sibling}function fm(e,t,n){if($t&&typeof $t.onCommitFiberUnmount=="function")try{$t.onCommitFiberUnmount(oa,n)}catch{}switch(n.tag){case 5:He||Or(n,t);case 6:var r=Ie,o=Pt;Ie=null,mn(e,t,n),Ie=r,Pt=o,Ie!==null&&(Pt?(e=Ie,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ie.removeChild(n.stateNode));break;case 18:Ie!==null&&(Pt?(e=Ie,n=n.stateNode,e.nodeType===8?rs(e.parentNode,n):e.nodeType===1&&rs(e,n),Zo(e)):rs(Ie,n.stateNode));break;case 4:r=Ie,o=Pt,Ie=n.stateNode.containerInfo,Pt=!0,mn(e,t,n),Ie=r,Pt=o;break;case 0:case 11:case 14:case 15:if(!He&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,l=i.destroy;i=i.tag,l!==void 0&&(i&2||i&4)&&uu(n,t,l),o=o.next}while(o!==r)}mn(e,t,n);break;case 1:if(!He&&(Or(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){ke(n,t,a)}mn(e,t,n);break;case 21:mn(e,t,n);break;case 22:n.mode&1?(He=(r=He)||n.memoizedState!==null,mn(e,t,n),He=r):mn(e,t,n);break;default:mn(e,t,n)}}function uf(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new vw),t.forEach(function(r){var o=Pw.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Rt(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=l),r&=~i}if(r=o,r=Pe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*ww(r/1960))-r,10e?16:e,kn===null)var r=!1;else{if(e=kn,kn=null,Wl=0,ie&6)throw Error(O(331));var o=ie;for(ie|=4,z=e.current;z!==null;){var i=z,l=i.child;if(z.flags&16){var a=i.deletions;if(a!==null){for(var s=0;sPe()-yc?tr(e,0):gc|=n),it(e,t)}function xm(e,t){t===0&&(e.mode&1?(t=zi,zi<<=1,!(zi&130023424)&&(zi=4194304)):t=1);var n=Xe();e=ln(e,t),e!==null&&(gi(e,t,n),it(e,n))}function kw(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),xm(e,n)}function Pw(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(O(314))}r!==null&&r.delete(t),xm(e,n)}var Sm;Sm=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||rt.current)nt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return nt=!1,pw(e,t,n);nt=!!(e.flags&131072)}else nt=!1,ge&&t.flags&1048576&&kh(t,Ol,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;fl(e,t),e=t.pendingProps;var o=Kr(t,Ke.current);$r(t,n),o=dc(null,t,r,e,o,n);var i=fc();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ot(r)?(i=!0,Ll(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,lc(t),o.updater=da,t.stateNode=o,o._reactInternals=t,nu(t,r,e,n),t=iu(null,t,r,!0,i,n)):(t.tag=0,ge&&i&&qu(t),Ye(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(fl(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=_w(r),e=kt(r,e),o){case 0:t=ou(null,t,r,e,n);break e;case 1:t=rf(null,t,r,e,n);break e;case 11:t=tf(null,t,r,e,n);break e;case 14:t=nf(null,t,r,kt(r.type,e),n);break e}throw Error(O(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:kt(r,o),ou(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:kt(r,o),rf(e,t,r,o,n);case 3:e:{if(om(t),e===null)throw Error(O(387));r=t.pendingProps,i=t.memoizedState,o=i.element,bh(e,t),jl(t,r,null,n);var l=t.memoizedState;if(r=l.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=Xr(Error(O(423)),t),t=of(e,t,r,n,o);break e}else if(r!==o){o=Xr(Error(O(424)),t),t=of(e,t,r,n,o);break e}else for(ct=Tn(t.stateNode.containerInfo.firstChild),dt=t,ge=!0,_t=null,n=Th(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Gr(),r===o){t=an(e,t,n);break e}Ye(e,t,r,n)}t=t.child}return t;case 5:return Lh(t),e===null&&qs(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,l=o.children,Qs(r,o)?l=null:i!==null&&Qs(r,i)&&(t.flags|=32),rm(e,t),Ye(e,t,l,n),t.child;case 6:return e===null&&qs(t),null;case 13:return im(e,t,n);case 4:return ac(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Qr(t,null,r,n):Ye(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:kt(r,o),tf(e,t,r,o,n);case 7:return Ye(e,t,t.pendingProps,n),t.child;case 8:return Ye(e,t,t.pendingProps.children,n),t.child;case 12:return Ye(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,l=o.value,fe(Al,r._currentValue),r._currentValue=l,i!==null)if(bt(i.value,l)){if(i.children===o.children&&!rt.current){t=an(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){l=i.child;for(var s=a.firstContext;s!==null;){if(s.context===r){if(i.tag===1){s=tn(-1,n&-n),s.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?s.next=s:(s.next=d.next,d.next=s),u.pending=s}}i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),eu(i.return,n,t),a.lanes|=n;break}s=s.next}}else if(i.tag===10)l=i.type===t.type?null:i.child;else if(i.tag===18){if(l=i.return,l===null)throw Error(O(341));l.lanes|=n,a=l.alternate,a!==null&&(a.lanes|=n),eu(l,n,t),l=i.sibling}else l=i.child;if(l!==null)l.return=i;else for(l=i;l!==null;){if(l===t){l=null;break}if(i=l.sibling,i!==null){i.return=l.return,l=i;break}l=l.return}i=l}Ye(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,$r(t,n),o=Et(o),r=r(o),t.flags|=1,Ye(e,t,r,n),t.child;case 14:return r=t.type,o=kt(r,t.pendingProps),o=kt(r.type,o),nf(e,t,r,o,n);case 15:return tm(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:kt(r,o),fl(e,t),t.tag=1,ot(r)?(e=!0,Ll(t)):e=!1,$r(t,n),Jh(t,r,o),nu(t,r,o,n),iu(null,t,r,!0,e,n);case 19:return lm(e,t,n);case 22:return nm(e,t,n)}throw Error(O(156,t.tag))};function Em(e,t){return Yp(e,t)}function Mw(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 wt(e,t,n,r){return new Mw(e,t,n,r)}function Ec(e){return e=e.prototype,!(!e||!e.isReactComponent)}function _w(e){if(typeof e=="function")return Ec(e)?1:0;if(e!=null){if(e=e.$$typeof,e===$u)return 11;if(e===Bu)return 14}return 2}function Dn(e,t){var n=e.alternate;return n===null?(n=wt(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 ml(e,t,n,r,o,i){var l=2;if(r=e,typeof e=="function")Ec(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case kr:return nr(n.children,o,i,t);case Uu:l=8,o|=8;break;case Ps:return e=wt(12,n,t,o|2),e.elementType=Ps,e.lanes=i,e;case Ms:return e=wt(13,n,t,o),e.elementType=Ms,e.lanes=i,e;case _s:return e=wt(19,n,t,o),e.elementType=_s,e.lanes=i,e;case Lp:return ha(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Np:l=10;break e;case bp:l=9;break e;case $u:l=11;break e;case Bu:l=14;break e;case xn:l=16,r=null;break e}throw Error(O(130,e==null?e:typeof e,""))}return t=wt(l,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function nr(e,t,n,r){return e=wt(7,e,r,t),e.lanes=n,e}function ha(e,t,n,r){return e=wt(22,e,r,t),e.elementType=Lp,e.lanes=n,e.stateNode={isHidden:!1},e}function ds(e,t,n){return e=wt(6,e,null,t),e.lanes=n,e}function fs(e,t,n){return t=wt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Tw(e,t,n,r,o){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=Ka(0),this.expirationTimes=Ka(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ka(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Cc(e,t,n,r,o,i,l,a,s){return e=new Tw(e,t,n,a,s),t===1?(t=1,i===!0&&(t|=8)):t=0,i=wt(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},lc(i),e}function Nw(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Pm)}catch(e){console.error(e)}}Pm(),Pp.exports=ht;var io=Pp.exports;const Mm=pp(io),Aw=fp({__proto__:null,default:Mm},[io]);/** + * @remix-run/router v1.19.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function xe(){return xe=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Jr(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function jw(){return Math.random().toString(36).substr(2,8)}function yf(e,t){return{usr:e.state,key:e.key,idx:t}}function ui(e,t,n,r){return n===void 0&&(n=null),xe({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Bn(t):t,{state:n,key:t&&t.key||r||jw()})}function sr(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Bn(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function Fw(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,l=o.history,a=_e.Pop,s=null,u=d();u==null&&(u=0,l.replaceState(xe({},l.state,{idx:u}),""));function d(){return(l.state||{idx:null}).idx}function c(){a=_e.Pop;let S=d(),m=S==null?null:S-u;u=S,s&&s({action:a,location:v.location,delta:m})}function f(S,m){a=_e.Push;let h=ui(v.location,S,m);u=d()+1;let w=yf(h,u),C=v.createHref(h);try{l.pushState(w,"",C)}catch(P){if(P instanceof DOMException&&P.name==="DataCloneError")throw P;o.location.assign(C)}i&&s&&s({action:a,location:v.location,delta:1})}function y(S,m){a=_e.Replace;let h=ui(v.location,S,m);u=d();let w=yf(h,u),C=v.createHref(h);l.replaceState(w,"",C),i&&s&&s({action:a,location:v.location,delta:0})}function g(S){let m=o.location.origin!=="null"?o.location.origin:o.location.href,h=typeof S=="string"?S:sr(S);return h=h.replace(/ $/,"%20"),q(m,"No window.location.(origin|href) available to create URL for href: "+h),new URL(h,m)}let v={get action(){return a},get location(){return e(o,l)},listen(S){if(s)throw new Error("A history only accepts one active listener");return o.addEventListener(gf,c),s=S,()=>{o.removeEventListener(gf,c),s=null}},createHref(S){return t(o,S)},createURL:g,encodeLocation(S){let m=g(S);return{pathname:m.pathname,search:m.search,hash:m.hash}},push:f,replace:y,go(S){return l.go(S)}};return v}var ce;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(ce||(ce={}));const zw=new Set(["lazy","caseSensitive","path","id","index","children"]);function Uw(e){return e.index===!0}function ci(e,t,n,r){return n===void 0&&(n=[]),r===void 0&&(r={}),e.map((o,i)=>{let l=[...n,String(i)],a=typeof o.id=="string"?o.id:l.join("-");if(q(o.index!==!0||!o.children,"Cannot specify children on an index route"),q(!r[a],'Found a route id collision on id "'+a+`". Route id's must be globally unique within Data Router usages`),Uw(o)){let s=xe({},o,t(o),{id:a});return r[a]=s,s}else{let s=xe({},o,t(o),{id:a,children:void 0});return r[a]=s,o.children&&(s.children=ci(o.children,t,l,r)),s}})}function Qn(e,t,n){return n===void 0&&(n="/"),vl(e,t,n,!1)}function vl(e,t,n,r){let o=typeof t=="string"?Bn(t):t,i=lo(o.pathname||"/",n);if(i==null)return null;let l=_m(e);Bw(l);let a=null;for(let s=0;a==null&&s{let s={relativePath:a===void 0?i.path||"":a,caseSensitive:i.caseSensitive===!0,childrenIndex:l,route:i};s.relativePath.startsWith("/")&&(q(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 u=nn([r,s.relativePath]),d=n.concat(s);i.children&&i.children.length>0&&(q(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),_m(i.children,t,d,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:Yw(u,i.index),routesMeta:d})};return e.forEach((i,l)=>{var a;if(i.path===""||!((a=i.path)!=null&&a.includes("?")))o(i,l);else for(let s of Tm(i.path))o(i,l,s)}),t}function Tm(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let l=Tm(r.join("/")),a=[];return a.push(...l.map(s=>s===""?i:[i,s].join("/"))),o&&a.push(...l),a.map(s=>e.startsWith("/")&&s===""?"/":s)}function Bw(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Xw(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const Ww=/^:[\w-]+$/,Vw=3,Hw=2,Kw=1,Gw=10,Qw=-2,wf=e=>e==="*";function Yw(e,t){let n=e.split("/"),r=n.length;return n.some(wf)&&(r+=Qw),t&&(r+=Hw),n.filter(o=>!wf(o)).reduce((o,i)=>o+(Ww.test(i)?Vw:i===""?Kw:Gw),r)}function Xw(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function Zw(e,t,n){n===void 0&&(n=!1);let{routesMeta:r}=e,o={},i="/",l=[];for(let a=0;a{let{paramName:f,isOptional:y}=d;if(f==="*"){let v=a[c]||"";l=i.slice(0,i.length-v.length).replace(/(.)\/+$/,"$1")}const g=a[c];return y&&!g?u[f]=void 0:u[f]=(g||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:l,pattern:e}}function Jw(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Jr(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=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(l,a,s)=>(r.push({paramName:a,isOptional:s!=null}),s?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function qw(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Jr(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function lo(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 ex(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?Bn(e):e;return{pathname:n?n.startsWith("/")?n:tx(n,t):t,search:rx(r),hash:ox(o)}}function tx(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function ps(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 Nm(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Mc(e,t){let n=Nm(e);return t?n.map((r,o)=>o===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function _c(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=Bn(e):(o=xe({},e),q(!o.pathname||!o.pathname.includes("?"),ps("?","pathname","search",o)),q(!o.pathname||!o.pathname.includes("#"),ps("#","pathname","hash",o)),q(!o.search||!o.search.includes("#"),ps("#","search","hash",o)));let i=e===""||o.pathname==="",l=i?"/":o.pathname,a;if(l==null)a=n;else{let c=t.length-1;if(!r&&l.startsWith("..")){let f=l.split("/");for(;f[0]==="..";)f.shift(),c-=1;o.pathname=f.join("/")}a=c>=0?t[c]:"/"}let s=ex(o,a),u=l&&l!=="/"&&l.endsWith("/"),d=(i||l===".")&&n.endsWith("/");return!s.pathname.endsWith("/")&&(u||d)&&(s.pathname+="/"),s}const nn=e=>e.join("/").replace(/\/\/+/g,"/"),nx=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),rx=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,ox=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class Kl{constructor(t,n,r,o){o===void 0&&(o=!1),this.status=t,this.statusText=n||"",this.internal=o,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function wa(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const bm=["post","put","patch","delete"],ix=new Set(bm),lx=["get",...bm],ax=new Set(lx),sx=new Set([301,302,303,307,308]),ux=new Set([307,308]),hs={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},cx={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Po={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},Tc=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,dx=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),Lm="remix-router-transitions";function fx(e){const t=e.window?e.window:typeof window<"u"?window:void 0,n=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u",r=!n;q(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let o;if(e.mapRouteProperties)o=e.mapRouteProperties;else if(e.detectErrorBoundary){let E=e.detectErrorBoundary;o=R=>({hasErrorBoundary:E(R)})}else o=dx;let i={},l=ci(e.routes,o,void 0,i),a,s=e.basename||"/",u=e.unstable_dataStrategy||gx,d=e.unstable_patchRoutesOnMiss,c=xe({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),f=null,y=new Set,g=null,v=null,S=null,m=e.hydrationData!=null,h=Qn(l,e.history.location,s),w=null;if(h==null&&!d){let E=Qe(404,{pathname:e.history.location.pathname}),{matches:R,route:M}=Nf(l);h=R,w={[M.id]:E}}h&&!e.hydrationData&&Ti(h,l,e.history.location.pathname).active&&(h=null);let C;if(h)if(h.some(E=>E.route.lazy))C=!1;else if(!h.some(E=>E.route.loader))C=!0;else if(c.v7_partialHydration){let E=e.hydrationData?e.hydrationData.loaderData:null,R=e.hydrationData?e.hydrationData.errors:null,M=N=>N.route.loader?typeof N.route.loader=="function"&&N.route.loader.hydrate===!0?!1:E&&E[N.route.id]!==void 0||R&&R[N.route.id]!==void 0:!0;if(R){let N=h.findIndex(F=>R[F.route.id]!==void 0);C=h.slice(0,N+1).every(M)}else C=h.every(M)}else C=e.hydrationData!=null;else if(C=!1,h=[],c.v7_partialHydration){let E=Ti(null,l,e.history.location.pathname);E.active&&E.matches&&(h=E.matches)}let P,x={historyAction:e.history.action,location:e.history.location,matches:h,initialized:C,navigation:hs,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||w,fetchers:new Map,blockers:new Map},_=_e.Pop,T=!1,A,D=!1,B=new Map,j=null,Y=!1,W=!1,oe=[],ne=new Set,$=new Map,L=0,b=-1,U=new Map,H=new Set,X=new Map,Ue=new Map,ye=new Set,$e=new Map,we=new Map,Be=new Map,Ht=!1;function et(){if(f=e.history.listen(E=>{let{action:R,location:M,delta:N}=E;if(Ht){Ht=!1;return}Jr(we.size===0||N!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let F=od({currentLocation:x.location,nextLocation:M,historyAction:R});if(F&&N!=null){Ht=!0,e.history.go(N*-1),Mi(F,{state:"blocked",location:M,proceed(){Mi(F,{state:"proceeding",proceed:void 0,reset:void 0,location:M}),e.history.go(N)},reset(){let V=new Map(x.blockers);V.set(F,Po),Le({blockers:V})}});return}return Kt(R,M)}),n){Nx(t,B);let E=()=>bx(t,B);t.addEventListener("pagehide",E),j=()=>t.removeEventListener("pagehide",E)}return x.initialized||Kt(_e.Pop,x.location,{initialHydration:!0}),P}function Vn(){f&&f(),j&&j(),y.clear(),A&&A.abort(),x.fetchers.forEach((E,R)=>Pi(R)),x.blockers.forEach((E,R)=>rd(R))}function ki(E){return y.add(E),()=>y.delete(E)}function Le(E,R){R===void 0&&(R={}),x=xe({},x,E);let M=[],N=[];c.v7_fetcherPersist&&x.fetchers.forEach((F,V)=>{F.state==="idle"&&(ye.has(V)?N.push(V):M.push(V))}),[...y].forEach(F=>F(x,{deletedFetchers:N,unstable_viewTransitionOpts:R.viewTransitionOpts,unstable_flushSync:R.flushSync===!0})),c.v7_fetcherPersist&&(M.forEach(F=>x.fetchers.delete(F)),N.forEach(F=>Pi(F)))}function vt(E,R,M){var N,F;let{flushSync:V}=M===void 0?{}:M,Q=x.actionData!=null&&x.navigation.formMethod!=null&&Mt(x.navigation.formMethod)&&x.navigation.state==="loading"&&((N=E.state)==null?void 0:N._isRedirect)!==!0,I;R.actionData?Object.keys(R.actionData).length>0?I=R.actionData:I=null:Q?I=x.actionData:I=null;let Z=R.loaderData?_f(x.loaderData,R.loaderData,R.matches||[],R.errors):x.loaderData,K=x.blockers;K.size>0&&(K=new Map(K),K.forEach((ae,de)=>K.set(de,Po)));let G=T===!0||x.navigation.formMethod!=null&&Mt(x.navigation.formMethod)&&((F=E.state)==null?void 0:F._isRedirect)!==!0;a&&(l=a,a=void 0),Y||_===_e.Pop||(_===_e.Push?e.history.push(E,E.state):_===_e.Replace&&e.history.replace(E,E.state));let ue;if(_===_e.Pop){let ae=B.get(x.location.pathname);ae&&ae.has(E.pathname)?ue={currentLocation:x.location,nextLocation:E}:B.has(E.pathname)&&(ue={currentLocation:E,nextLocation:x.location})}else if(D){let ae=B.get(x.location.pathname);ae?ae.add(E.pathname):(ae=new Set([E.pathname]),B.set(x.location.pathname,ae)),ue={currentLocation:x.location,nextLocation:E}}Le(xe({},R,{actionData:I,loaderData:Z,historyAction:_,location:E,initialized:!0,navigation:hs,revalidation:"idle",restoreScrollPosition:ld(E,R.matches||x.matches),preventScrollReset:G,blockers:K}),{viewTransitionOpts:ue,flushSync:V===!0}),_=_e.Pop,T=!1,D=!1,Y=!1,W=!1,oe=[]}async function ho(E,R){if(typeof E=="number"){e.history.go(E);return}let M=gu(x.location,x.matches,s,c.v7_prependBasename,E,c.v7_relativeSplatPath,R==null?void 0:R.fromRouteId,R==null?void 0:R.relative),{path:N,submission:F,error:V}=Sf(c.v7_normalizeFormMethod,!1,M,R),Q=x.location,I=ui(x.location,N,R&&R.state);I=xe({},I,e.history.encodeLocation(I));let Z=R&&R.replace!=null?R.replace:void 0,K=_e.Push;Z===!0?K=_e.Replace:Z===!1||F!=null&&Mt(F.formMethod)&&F.formAction===x.location.pathname+x.location.search&&(K=_e.Replace);let G=R&&"preventScrollReset"in R?R.preventScrollReset===!0:void 0,ue=(R&&R.unstable_flushSync)===!0,ae=od({currentLocation:Q,nextLocation:I,historyAction:K});if(ae){Mi(ae,{state:"blocked",location:I,proceed(){Mi(ae,{state:"proceeding",proceed:void 0,reset:void 0,location:I}),ho(E,R)},reset(){let de=new Map(x.blockers);de.set(ae,Po),Le({blockers:de})}});return}return await Kt(K,I,{submission:F,pendingError:V,preventScrollReset:G,replace:R&&R.replace,enableViewTransition:R&&R.unstable_viewTransition,flushSync:ue})}function Aa(){if(Fa(),Le({revalidation:"loading"}),x.navigation.state!=="submitting"){if(x.navigation.state==="idle"){Kt(x.historyAction,x.location,{startUninterruptedRevalidation:!0});return}Kt(_||x.historyAction,x.navigation.location,{overrideNavigation:x.navigation})}}async function Kt(E,R,M){A&&A.abort(),A=null,_=E,Y=(M&&M.startUninterruptedRevalidation)===!0,ly(x.location,x.matches),T=(M&&M.preventScrollReset)===!0,D=(M&&M.enableViewTransition)===!0;let N=a||l,F=M&&M.overrideNavigation,V=Qn(N,R,s),Q=(M&&M.flushSync)===!0,I=Ti(V,N,R.pathname);if(I.active&&I.matches&&(V=I.matches),!V){let{error:le,notFoundMatches:Ae,route:Me}=za(R.pathname);vt(R,{matches:Ae,loaderData:{},errors:{[Me.id]:le}},{flushSync:Q});return}if(x.initialized&&!W&&Cx(x.location,R)&&!(M&&M.submission&&Mt(M.submission.formMethod))){vt(R,{matches:V},{flushSync:Q});return}A=new AbortController;let Z=xr(e.history,R,A.signal,M&&M.submission),K;if(M&&M.pendingError)K=[Ir(V).route.id,{type:ce.error,error:M.pendingError}];else if(M&&M.submission&&Mt(M.submission.formMethod)){let le=await Ia(Z,R,M.submission,V,I.active,{replace:M.replace,flushSync:Q});if(le.shortCircuited)return;if(le.pendingActionResult){let[Ae,Me]=le.pendingActionResult;if(st(Me)&&wa(Me.error)&&Me.error.status===404){A=null,vt(R,{matches:le.matches,loaderData:{},errors:{[Ae]:Me.error}});return}}V=le.matches||V,K=le.pendingActionResult,F=ms(R,M.submission),Q=!1,I.active=!1,Z=xr(e.history,Z.url,Z.signal)}let{shortCircuited:G,matches:ue,loaderData:ae,errors:de}=await ja(Z,R,V,I.active,F,M&&M.submission,M&&M.fetcherSubmission,M&&M.replace,M&&M.initialHydration===!0,Q,K);G||(A=null,vt(R,xe({matches:ue||V},Tf(K),{loaderData:ae,errors:de})))}async function Ia(E,R,M,N,F,V){V===void 0&&(V={}),Fa();let Q=_x(R,M);if(Le({navigation:Q},{flushSync:V.flushSync===!0}),F){let K=await Ni(N,R.pathname,E.signal);if(K.type==="aborted")return{shortCircuited:!0};if(K.type==="error"){let{boundaryId:G,error:ue}=_i(R.pathname,K);return{matches:K.partialMatches,pendingActionResult:[G,{type:ce.error,error:ue}]}}else if(K.matches)N=K.matches;else{let{notFoundMatches:G,error:ue,route:ae}=za(R.pathname);return{matches:G,pendingActionResult:[ae.id,{type:ce.error,error:ue}]}}}let I,Z=Ao(N,R);if(!Z.route.action&&!Z.route.lazy)I={type:ce.error,error:Qe(405,{method:E.method,pathname:R.pathname,routeId:Z.route.id})};else if(I=(await vo("action",E,[Z],N))[0],E.signal.aborted)return{shortCircuited:!0};if(qn(I)){let K;return V&&V.replace!=null?K=V.replace:K=kf(I.response.headers.get("Location"),new URL(E.url),s)===x.location.pathname+x.location.search,await mo(E,I,{submission:M,replace:K}),{shortCircuited:!0}}if(Jn(I))throw Qe(400,{type:"defer-action"});if(st(I)){let K=Ir(N,Z.route.id);return(V&&V.replace)!==!0&&(_=_e.Push),{matches:N,pendingActionResult:[K.route.id,I]}}return{matches:N,pendingActionResult:[Z.route.id,I]}}async function ja(E,R,M,N,F,V,Q,I,Z,K,G){let ue=F||ms(R,V),ae=V||Q||Of(ue),de=!Y&&(!c.v7_partialHydration||!Z);if(N){if(de){let Re=Hn(G);Le(xe({navigation:ue},Re!==void 0?{actionData:Re}:{}),{flushSync:K})}let ee=await Ni(M,R.pathname,E.signal);if(ee.type==="aborted")return{shortCircuited:!0};if(ee.type==="error"){let{boundaryId:Re,error:lt}=_i(R.pathname,ee);return{matches:ee.partialMatches,loaderData:{},errors:{[Re]:lt}}}else if(ee.matches)M=ee.matches;else{let{error:Re,notFoundMatches:lt,route:ve}=za(R.pathname);return{matches:lt,loaderData:{},errors:{[ve.id]:Re}}}}let le=a||l,[Ae,Me]=Ef(e.history,x,M,ae,R,c.v7_partialHydration&&Z===!0,c.v7_skipActionErrorRevalidation,W,oe,ne,ye,X,H,le,s,G);if(Ua(ee=>!(M&&M.some(Re=>Re.route.id===ee))||Ae&&Ae.some(Re=>Re.route.id===ee)),b=++L,Ae.length===0&&Me.length===0){let ee=td();return vt(R,xe({matches:M,loaderData:{},errors:G&&st(G[1])?{[G[0]]:G[1].error}:null},Tf(G),ee?{fetchers:new Map(x.fetchers)}:{}),{flushSync:K}),{shortCircuited:!0}}if(de){let ee={};if(!N){ee.navigation=ue;let Re=Hn(G);Re!==void 0&&(ee.actionData=Re)}Me.length>0&&(ee.fetchers=qg(Me)),Le(ee,{flushSync:K})}Me.forEach(ee=>{$.has(ee.key)&&pn(ee.key),ee.controller&&$.set(ee.key,ee.controller)});let go=()=>Me.forEach(ee=>pn(ee.key));A&&A.signal.addEventListener("abort",go);let{loaderResults:hn,fetcherResults:vr}=await Jc(x.matches,M,Ae,Me,E);if(E.signal.aborted)return{shortCircuited:!0};A&&A.signal.removeEventListener("abort",go),Me.forEach(ee=>$.delete(ee.key));let gr=bf([...hn,...vr]);if(gr){if(gr.idx>=Ae.length){let ee=Me[gr.idx-Ae.length].key;H.add(ee)}return await mo(E,gr.result,{replace:I}),{shortCircuited:!0}}let{loaderData:yr,errors:At}=Mf(x,M,Ae,hn,G,Me,vr,$e);$e.forEach((ee,Re)=>{ee.subscribe(lt=>{(lt||ee.done)&&$e.delete(Re)})}),c.v7_partialHydration&&Z&&x.errors&&Object.entries(x.errors).filter(ee=>{let[Re]=ee;return!Ae.some(lt=>lt.route.id===Re)}).forEach(ee=>{let[Re,lt]=ee;At=Object.assign(At||{},{[Re]:lt})});let bi=td(),Li=nd(b),Di=bi||Li||Me.length>0;return xe({matches:M,loaderData:yr,errors:At},Di?{fetchers:new Map(x.fetchers)}:{})}function Hn(E){if(E&&!st(E[1]))return{[E[0]]:E[1].data};if(x.actionData)return Object.keys(x.actionData).length===0?null:x.actionData}function qg(E){return E.forEach(R=>{let M=x.fetchers.get(R.key),N=Mo(void 0,M?M.data:void 0);x.fetchers.set(R.key,N)}),new Map(x.fetchers)}function ey(E,R,M,N){if(r)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");$.has(E)&&pn(E);let F=(N&&N.unstable_flushSync)===!0,V=a||l,Q=gu(x.location,x.matches,s,c.v7_prependBasename,M,c.v7_relativeSplatPath,R,N==null?void 0:N.relative),I=Qn(V,Q,s),Z=Ti(I,V,Q);if(Z.active&&Z.matches&&(I=Z.matches),!I){Gt(E,R,Qe(404,{pathname:Q}),{flushSync:F});return}let{path:K,submission:G,error:ue}=Sf(c.v7_normalizeFormMethod,!0,Q,N);if(ue){Gt(E,R,ue,{flushSync:F});return}let ae=Ao(I,K);if(T=(N&&N.preventScrollReset)===!0,G&&Mt(G.formMethod)){ty(E,R,K,ae,I,Z.active,F,G);return}X.set(E,{routeId:R,path:K}),ny(E,R,K,ae,I,Z.active,F,G)}async function ty(E,R,M,N,F,V,Q,I){Fa(),X.delete(E);function Z(ve){if(!ve.route.action&&!ve.route.lazy){let Qt=Qe(405,{method:I.formMethod,pathname:M,routeId:R});return Gt(E,R,Qt,{flushSync:Q}),!0}return!1}if(!V&&Z(N))return;let K=x.fetchers.get(E);fn(E,Tx(I,K),{flushSync:Q});let G=new AbortController,ue=xr(e.history,M,G.signal,I);if(V){let ve=await Ni(F,M,ue.signal);if(ve.type==="aborted")return;if(ve.type==="error"){let{error:Qt}=_i(M,ve);Gt(E,R,Qt,{flushSync:Q});return}else if(ve.matches){if(F=ve.matches,N=Ao(F,M),Z(N))return}else{Gt(E,R,Qe(404,{pathname:M}),{flushSync:Q});return}}$.set(E,G);let ae=L,le=(await vo("action",ue,[N],F))[0];if(ue.signal.aborted){$.get(E)===G&&$.delete(E);return}if(c.v7_fetcherPersist&&ye.has(E)){if(qn(le)||st(le)){fn(E,yn(void 0));return}}else{if(qn(le))if($.delete(E),b>ae){fn(E,yn(void 0));return}else return H.add(E),fn(E,Mo(I)),mo(ue,le,{fetcherSubmission:I});if(st(le)){Gt(E,R,le.error);return}}if(Jn(le))throw Qe(400,{type:"defer-action"});let Ae=x.navigation.location||x.location,Me=xr(e.history,Ae,G.signal),go=a||l,hn=x.navigation.state!=="idle"?Qn(go,x.navigation.location,s):x.matches;q(hn,"Didn't find any matches after fetcher action");let vr=++L;U.set(E,vr);let gr=Mo(I,le.data);x.fetchers.set(E,gr);let[yr,At]=Ef(e.history,x,hn,I,Ae,!1,c.v7_skipActionErrorRevalidation,W,oe,ne,ye,X,H,go,s,[N.route.id,le]);At.filter(ve=>ve.key!==E).forEach(ve=>{let Qt=ve.key,ad=x.fetchers.get(Qt),uy=Mo(void 0,ad?ad.data:void 0);x.fetchers.set(Qt,uy),$.has(Qt)&&pn(Qt),ve.controller&&$.set(Qt,ve.controller)}),Le({fetchers:new Map(x.fetchers)});let bi=()=>At.forEach(ve=>pn(ve.key));G.signal.addEventListener("abort",bi);let{loaderResults:Li,fetcherResults:Di}=await Jc(x.matches,hn,yr,At,Me);if(G.signal.aborted)return;G.signal.removeEventListener("abort",bi),U.delete(E),$.delete(E),At.forEach(ve=>$.delete(ve.key));let ee=bf([...Li,...Di]);if(ee){if(ee.idx>=yr.length){let ve=At[ee.idx-yr.length].key;H.add(ve)}return mo(Me,ee.result)}let{loaderData:Re,errors:lt}=Mf(x,x.matches,yr,Li,void 0,At,Di,$e);if(x.fetchers.has(E)){let ve=yn(le.data);x.fetchers.set(E,ve)}nd(vr),x.navigation.state==="loading"&&vr>b?(q(_,"Expected pending action"),A&&A.abort(),vt(x.navigation.location,{matches:hn,loaderData:Re,errors:lt,fetchers:new Map(x.fetchers)})):(Le({errors:lt,loaderData:_f(x.loaderData,Re,hn,lt),fetchers:new Map(x.fetchers)}),W=!1)}async function ny(E,R,M,N,F,V,Q,I){let Z=x.fetchers.get(E);fn(E,Mo(I,Z?Z.data:void 0),{flushSync:Q});let K=new AbortController,G=xr(e.history,M,K.signal);if(V){let le=await Ni(F,M,G.signal);if(le.type==="aborted")return;if(le.type==="error"){let{error:Ae}=_i(M,le);Gt(E,R,Ae,{flushSync:Q});return}else if(le.matches)F=le.matches,N=Ao(F,M);else{Gt(E,R,Qe(404,{pathname:M}),{flushSync:Q});return}}$.set(E,K);let ue=L,de=(await vo("loader",G,[N],F))[0];if(Jn(de)&&(de=await jm(de,G.signal,!0)||de),$.get(E)===K&&$.delete(E),!G.signal.aborted){if(ye.has(E)){fn(E,yn(void 0));return}if(qn(de))if(b>ue){fn(E,yn(void 0));return}else{H.add(E),await mo(G,de);return}if(st(de)){Gt(E,R,de.error);return}q(!Jn(de),"Unhandled fetcher deferred data"),fn(E,yn(de.data))}}async function mo(E,R,M){let{submission:N,fetcherSubmission:F,replace:V}=M===void 0?{}:M;R.response.headers.has("X-Remix-Revalidate")&&(W=!0);let Q=R.response.headers.get("Location");q(Q,"Expected a Location header on the redirect Response"),Q=kf(Q,new URL(E.url),s);let I=ui(x.location,Q,{_isRedirect:!0});if(n){let de=!1;if(R.response.headers.has("X-Remix-Reload-Document"))de=!0;else if(Tc.test(Q)){const le=e.history.createURL(Q);de=le.origin!==t.location.origin||lo(le.pathname,s)==null}if(de){V?t.location.replace(Q):t.location.assign(Q);return}}A=null;let Z=V===!0||R.response.headers.has("X-Remix-Replace")?_e.Replace:_e.Push,{formMethod:K,formAction:G,formEncType:ue}=x.navigation;!N&&!F&&K&&G&&ue&&(N=Of(x.navigation));let ae=N||F;if(ux.has(R.response.status)&&ae&&Mt(ae.formMethod))await Kt(Z,I,{submission:xe({},ae,{formAction:Q}),preventScrollReset:T});else{let de=ms(I,N);await Kt(Z,I,{overrideNavigation:de,fetcherSubmission:F,preventScrollReset:T})}}async function vo(E,R,M,N){try{let F=await yx(u,E,R,M,N,i,o);return await Promise.all(F.map((V,Q)=>{if(kx(V)){let I=V.result;return{type:ce.redirect,response:Sx(I,R,M[Q].route.id,N,s,c.v7_relativeSplatPath)}}return xx(V)}))}catch(F){return M.map(()=>({type:ce.error,error:F}))}}async function Jc(E,R,M,N,F){let[V,...Q]=await Promise.all([M.length?vo("loader",F,M,R):[],...N.map(I=>{if(I.matches&&I.match&&I.controller){let Z=xr(e.history,I.path,I.controller.signal);return vo("loader",Z,[I.match],I.matches).then(K=>K[0])}else return Promise.resolve({type:ce.error,error:Qe(404,{pathname:I.path})})})]);return await Promise.all([Df(E,M,V,V.map(()=>F.signal),!1,x.loaderData),Df(E,N.map(I=>I.match),Q,N.map(I=>I.controller?I.controller.signal:null),!0)]),{loaderResults:V,fetcherResults:Q}}function Fa(){W=!0,oe.push(...Ua()),X.forEach((E,R)=>{$.has(R)&&(ne.add(R),pn(R))})}function fn(E,R,M){M===void 0&&(M={}),x.fetchers.set(E,R),Le({fetchers:new Map(x.fetchers)},{flushSync:(M&&M.flushSync)===!0})}function Gt(E,R,M,N){N===void 0&&(N={});let F=Ir(x.matches,R);Pi(E),Le({errors:{[F.route.id]:M},fetchers:new Map(x.fetchers)},{flushSync:(N&&N.flushSync)===!0})}function qc(E){return c.v7_fetcherPersist&&(Ue.set(E,(Ue.get(E)||0)+1),ye.has(E)&&ye.delete(E)),x.fetchers.get(E)||cx}function Pi(E){let R=x.fetchers.get(E);$.has(E)&&!(R&&R.state==="loading"&&U.has(E))&&pn(E),X.delete(E),U.delete(E),H.delete(E),ye.delete(E),ne.delete(E),x.fetchers.delete(E)}function ry(E){if(c.v7_fetcherPersist){let R=(Ue.get(E)||0)-1;R<=0?(Ue.delete(E),ye.add(E)):Ue.set(E,R)}else Pi(E);Le({fetchers:new Map(x.fetchers)})}function pn(E){let R=$.get(E);q(R,"Expected fetch controller: "+E),R.abort(),$.delete(E)}function ed(E){for(let R of E){let M=qc(R),N=yn(M.data);x.fetchers.set(R,N)}}function td(){let E=[],R=!1;for(let M of H){let N=x.fetchers.get(M);q(N,"Expected fetcher: "+M),N.state==="loading"&&(H.delete(M),E.push(M),R=!0)}return ed(E),R}function nd(E){let R=[];for(let[M,N]of U)if(N0}function oy(E,R){let M=x.blockers.get(E)||Po;return we.get(E)!==R&&we.set(E,R),M}function rd(E){x.blockers.delete(E),we.delete(E)}function Mi(E,R){let M=x.blockers.get(E)||Po;q(M.state==="unblocked"&&R.state==="blocked"||M.state==="blocked"&&R.state==="blocked"||M.state==="blocked"&&R.state==="proceeding"||M.state==="blocked"&&R.state==="unblocked"||M.state==="proceeding"&&R.state==="unblocked","Invalid blocker state transition: "+M.state+" -> "+R.state);let N=new Map(x.blockers);N.set(E,R),Le({blockers:N})}function od(E){let{currentLocation:R,nextLocation:M,historyAction:N}=E;if(we.size===0)return;we.size>1&&Jr(!1,"A router only supports one blocker at a time");let F=Array.from(we.entries()),[V,Q]=F[F.length-1],I=x.blockers.get(V);if(!(I&&I.state==="proceeding")&&Q({currentLocation:R,nextLocation:M,historyAction:N}))return V}function za(E){let R=Qe(404,{pathname:E}),M=a||l,{matches:N,route:F}=Nf(M);return Ua(),{notFoundMatches:N,route:F,error:R}}function _i(E,R){return{boundaryId:Ir(R.partialMatches).route.id,error:Qe(400,{type:"route-discovery",pathname:E,message:R.error!=null&&"message"in R.error?R.error:String(R.error)})}}function Ua(E){let R=[];return $e.forEach((M,N)=>{(!E||E(N))&&(M.cancel(),R.push(N),$e.delete(N))}),R}function iy(E,R,M){if(g=E,S=R,v=M||null,!m&&x.navigation===hs){m=!0;let N=ld(x.location,x.matches);N!=null&&Le({restoreScrollPosition:N})}return()=>{g=null,S=null,v=null}}function id(E,R){return v&&v(E,R.map(N=>$w(N,x.loaderData)))||E.key}function ly(E,R){if(g&&S){let M=id(E,R);g[M]=S()}}function ld(E,R){if(g){let M=id(E,R),N=g[M];if(typeof N=="number")return N}return null}function Ti(E,R,M){if(d)if(E){let N=E[E.length-1].route;if(N.path&&(N.path==="*"||N.path.endsWith("/*")))return{active:!0,matches:vl(R,M,s,!0)}}else return{active:!0,matches:vl(R,M,s,!0)||[]};return{active:!1,matches:null}}async function Ni(E,R,M){let N=E,F=N.length>0?N[N.length-1].route:null;for(;;){let V=a==null,Q=a||l;try{await vx(d,R,N,Q,i,o,Be,M)}catch(G){return{type:"error",error:G,partialMatches:N}}finally{V&&(l=[...l])}if(M.aborted)return{type:"aborted"};let I=Qn(Q,R,s),Z=!1;if(I){let G=I[I.length-1].route;if(G.index)return{type:"success",matches:I};if(G.path&&G.path.length>0)if(G.path==="*")Z=!0;else return{type:"success",matches:I}}let K=vl(Q,R,s,!0);if(!K||N.map(G=>G.route.id).join("-")===K.map(G=>G.route.id).join("-"))return{type:"success",matches:Z?I:null};if(N=K,F=N[N.length-1].route,F.path==="*")return{type:"success",matches:N}}}function ay(E){i={},a=ci(E,o,void 0,i)}function sy(E,R){let M=a==null;Om(E,R,a||l,i,o),M&&(l=[...l],Le({}))}return P={get basename(){return s},get future(){return c},get state(){return x},get routes(){return l},get window(){return t},initialize:et,subscribe:ki,enableScrollRestoration:iy,navigate:ho,fetch:ey,revalidate:Aa,createHref:E=>e.history.createHref(E),encodeLocation:E=>e.history.encodeLocation(E),getFetcher:qc,deleteFetcher:ry,dispose:Vn,getBlocker:oy,deleteBlocker:rd,patchRoutes:sy,_internalFetchControllers:$,_internalActiveDeferreds:$e,_internalSetRoutes:ay},P}function px(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function gu(e,t,n,r,o,i,l,a){let s,u;if(l){s=[];for(let c of t)if(s.push(c),c.route.id===l){u=c;break}}else s=t,u=t[t.length-1];let d=_c(o||".",Mc(s,i),lo(e.pathname,n)||e.pathname,a==="path");return o==null&&(d.search=e.search,d.hash=e.hash),(o==null||o===""||o===".")&&u&&u.route.index&&!Nc(d.search)&&(d.search=d.search?d.search.replace(/^\?/,"?index&"):"?index"),r&&n!=="/"&&(d.pathname=d.pathname==="/"?n:nn([n,d.pathname])),sr(d)}function Sf(e,t,n,r){if(!r||!px(r))return{path:n};if(r.formMethod&&!Mx(r.formMethod))return{path:n,error:Qe(405,{method:r.formMethod})};let o=()=>({path:n,error:Qe(400,{type:"invalid-body"})}),i=r.formMethod||"get",l=e?i.toUpperCase():i.toLowerCase(),a=Am(n);if(r.body!==void 0){if(r.formEncType==="text/plain"){if(!Mt(l))return o();let f=typeof r.body=="string"?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((y,g)=>{let[v,S]=g;return""+y+v+"="+S+` +`},""):String(r.body);return{path:n,submission:{formMethod:l,formAction:a,formEncType:r.formEncType,formData:void 0,json:void 0,text:f}}}else if(r.formEncType==="application/json"){if(!Mt(l))return o();try{let f=typeof r.body=="string"?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:l,formAction:a,formEncType:r.formEncType,formData:void 0,json:f,text:void 0}}}catch{return o()}}}q(typeof FormData=="function","FormData is not available in this environment");let s,u;if(r.formData)s=yu(r.formData),u=r.formData;else if(r.body instanceof FormData)s=yu(r.body),u=r.body;else if(r.body instanceof URLSearchParams)s=r.body,u=Pf(s);else if(r.body==null)s=new URLSearchParams,u=new FormData;else try{s=new URLSearchParams(r.body),u=Pf(s)}catch{return o()}let d={formMethod:l,formAction:a,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:u,json:void 0,text:void 0};if(Mt(d.formMethod))return{path:n,submission:d};let c=Bn(n);return t&&c.search&&Nc(c.search)&&s.append("index",""),c.search="?"+s,{path:sr(c),submission:d}}function hx(e,t){let n=e;if(t){let r=e.findIndex(o=>o.route.id===t);r>=0&&(n=e.slice(0,r))}return n}function Ef(e,t,n,r,o,i,l,a,s,u,d,c,f,y,g,v){let S=v?st(v[1])?v[1].error:v[1].data:void 0,m=e.createURL(t.location),h=e.createURL(o),w=v&&st(v[1])?v[0]:void 0,C=w?hx(n,w):n,P=v?v[1].statusCode:void 0,x=l&&P&&P>=400,_=C.filter((A,D)=>{let{route:B}=A;if(B.lazy)return!0;if(B.loader==null)return!1;if(i)return typeof B.loader!="function"||B.loader.hydrate?!0:t.loaderData[B.id]===void 0&&(!t.errors||t.errors[B.id]===void 0);if(mx(t.loaderData,t.matches[D],A)||s.some(W=>W===A.route.id))return!0;let j=t.matches[D],Y=A;return Cf(A,xe({currentUrl:m,currentParams:j.params,nextUrl:h,nextParams:Y.params},r,{actionResult:S,actionStatus:P,defaultShouldRevalidate:x?!1:a||m.pathname+m.search===h.pathname+h.search||m.search!==h.search||Dm(j,Y)}))}),T=[];return c.forEach((A,D)=>{if(i||!n.some(oe=>oe.route.id===A.routeId)||d.has(D))return;let B=Qn(y,A.path,g);if(!B){T.push({key:D,routeId:A.routeId,path:A.path,matches:null,match:null,controller:null});return}let j=t.fetchers.get(D),Y=Ao(B,A.path),W=!1;f.has(D)?W=!1:u.has(D)?(u.delete(D),W=!0):j&&j.state!=="idle"&&j.data===void 0?W=a:W=Cf(Y,xe({currentUrl:m,currentParams:t.matches[t.matches.length-1].params,nextUrl:h,nextParams:n[n.length-1].params},r,{actionResult:S,actionStatus:P,defaultShouldRevalidate:x?!1:a})),W&&T.push({key:D,routeId:A.routeId,path:A.path,matches:B,match:Y,controller:new AbortController})}),[_,T]}function mx(e,t,n){let r=!t||n.route.id!==t.route.id,o=e[n.route.id]===void 0;return r||o}function Dm(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function Cf(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n=="boolean")return n}return t.defaultShouldRevalidate}async function vx(e,t,n,r,o,i,l,a){let s=[t,...n.map(u=>u.route.id)].join("-");try{let u=l.get(s);u||(u=e({path:t,matches:n,patch:(d,c)=>{a.aborted||Om(d,c,r,o,i)}}),l.set(s,u)),u&&Rx(u)&&await u}finally{l.delete(s)}}function Om(e,t,n,r,o){if(e){var i;let l=r[e];q(l,"No route found to patch children into: routeId = "+e);let a=ci(t,o,[e,"patch",String(((i=l.children)==null?void 0:i.length)||"0")],r);l.children?l.children.push(...a):l.children=a}else{let l=ci(t,o,["patch",String(n.length||"0")],r);n.push(...l)}}async function Rf(e,t,n){if(!e.lazy)return;let r=await e.lazy();if(!e.lazy)return;let o=n[e.id];q(o,"No route found in manifest");let i={};for(let l in r){let s=o[l]!==void 0&&l!=="hasErrorBoundary";Jr(!s,'Route "'+o.id+'" has a static property "'+l+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+l+'" will be ignored.')),!s&&!zw.has(l)&&(i[l]=r[l])}Object.assign(o,i),Object.assign(o,xe({},t(o),{lazy:void 0}))}function gx(e){return Promise.all(e.matches.map(t=>t.resolve()))}async function yx(e,t,n,r,o,i,l,a){let s=r.reduce((c,f)=>c.add(f.route.id),new Set),u=new Set,d=await e({matches:o.map(c=>{let f=s.has(c.route.id);return xe({},c,{shouldLoad:f,resolve:g=>(u.add(c.route.id),f?wx(t,n,c,i,l,g,a):Promise.resolve({type:ce.data,result:void 0}))})}),request:n,params:o[0].params,context:a});return o.forEach(c=>q(u.has(c.route.id),'`match.resolve()` was not called for route id "'+c.route.id+'". You must call `match.resolve()` on every match passed to `dataStrategy` to ensure all routes are properly loaded.')),d.filter((c,f)=>s.has(o[f].route.id))}async function wx(e,t,n,r,o,i,l){let a,s,u=d=>{let c,f=new Promise((v,S)=>c=S);s=()=>c(),t.signal.addEventListener("abort",s);let y=v=>typeof d!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+e+'" [routeId: '+n.route.id+"]"))):d({request:t,params:n.params,context:l},...v!==void 0?[v]:[]),g;return i?g=i(v=>y(v)):g=(async()=>{try{return{type:"data",result:await y()}}catch(v){return{type:"error",result:v}}})(),Promise.race([g,f])};try{let d=n.route[e];if(n.route.lazy)if(d){let c,[f]=await Promise.all([u(d).catch(y=>{c=y}),Rf(n.route,o,r)]);if(c!==void 0)throw c;a=f}else if(await Rf(n.route,o,r),d=n.route[e],d)a=await u(d);else if(e==="action"){let c=new URL(t.url),f=c.pathname+c.search;throw Qe(405,{method:t.method,pathname:f,routeId:n.route.id})}else return{type:ce.data,result:void 0};else if(d)a=await u(d);else{let c=new URL(t.url),f=c.pathname+c.search;throw Qe(404,{pathname:f})}q(a.result!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+n.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(d){return{type:ce.error,result:d}}finally{s&&t.signal.removeEventListener("abort",s)}return a}async function xx(e){let{result:t,type:n}=e;if(Im(t)){let u;try{let d=t.headers.get("Content-Type");d&&/\bapplication\/json\b/.test(d)?t.body==null?u=null:u=await t.json():u=await t.text()}catch(d){return{type:ce.error,error:d}}return n===ce.error?{type:ce.error,error:new Kl(t.status,t.statusText,u),statusCode:t.status,headers:t.headers}:{type:ce.data,data:u,statusCode:t.status,headers:t.headers}}if(n===ce.error){if(Lf(t)){var r;if(t.data instanceof Error){var o;return{type:ce.error,error:t.data,statusCode:(o=t.init)==null?void 0:o.status}}t=new Kl(((r=t.init)==null?void 0:r.status)||500,void 0,t.data)}return{type:ce.error,error:t,statusCode:wa(t)?t.status:void 0}}if(Px(t)){var i,l;return{type:ce.deferred,deferredData:t,statusCode:(i=t.init)==null?void 0:i.status,headers:((l=t.init)==null?void 0:l.headers)&&new Headers(t.init.headers)}}if(Lf(t)){var a,s;return{type:ce.data,data:t.data,statusCode:(a=t.init)==null?void 0:a.status,headers:(s=t.init)!=null&&s.headers?new Headers(t.init.headers):void 0}}return{type:ce.data,data:t}}function Sx(e,t,n,r,o,i){let l=e.headers.get("Location");if(q(l,"Redirects returned/thrown from loaders/actions must have a Location header"),!Tc.test(l)){let a=r.slice(0,r.findIndex(s=>s.route.id===n)+1);l=gu(new URL(t.url),a,o,!0,l,i),e.headers.set("Location",l)}return e}function kf(e,t,n){if(Tc.test(e)){let r=e,o=r.startsWith("//")?new URL(t.protocol+r):new URL(r),i=lo(o.pathname,n)!=null;if(o.origin===t.origin&&i)return o.pathname+o.search+o.hash}return e}function xr(e,t,n,r){let o=e.createURL(Am(t)).toString(),i={signal:n};if(r&&Mt(r.formMethod)){let{formMethod:l,formEncType:a}=r;i.method=l.toUpperCase(),a==="application/json"?(i.headers=new Headers({"Content-Type":a}),i.body=JSON.stringify(r.json)):a==="text/plain"?i.body=r.text:a==="application/x-www-form-urlencoded"&&r.formData?i.body=yu(r.formData):i.body=r.formData}return new Request(o,i)}function yu(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,typeof r=="string"?r:r.name);return t}function Pf(e){let t=new FormData;for(let[n,r]of e.entries())t.append(n,r);return t}function Ex(e,t,n,r,o,i){let l={},a=null,s,u=!1,d={},c=r&&st(r[1])?r[1].error:void 0;return n.forEach((f,y)=>{let g=t[y].route.id;if(q(!qn(f),"Cannot handle redirect results in processLoaderData"),st(f)){let v=f.error;c!==void 0&&(v=c,c=void 0),a=a||{};{let S=Ir(e,g);a[S.route.id]==null&&(a[S.route.id]=v)}l[g]=void 0,u||(u=!0,s=wa(f.error)?f.error.status:500),f.headers&&(d[g]=f.headers)}else Jn(f)?(o.set(g,f.deferredData),l[g]=f.deferredData.data,f.statusCode!=null&&f.statusCode!==200&&!u&&(s=f.statusCode),f.headers&&(d[g]=f.headers)):(l[g]=f.data,f.statusCode&&f.statusCode!==200&&!u&&(s=f.statusCode),f.headers&&(d[g]=f.headers))}),c!==void 0&&r&&(a={[r[0]]:c},l[r[0]]=void 0),{loaderData:l,errors:a,statusCode:s||200,loaderHeaders:d}}function Mf(e,t,n,r,o,i,l,a){let{loaderData:s,errors:u}=Ex(t,n,r,o,a);for(let d=0;dr.route.id===t)+1):[...e]).reverse().find(r=>r.route.hasErrorBoundary===!0)||e[0]}function Nf(e){let t=e.length===1?e[0]:e.find(n=>n.index||!n.path||n.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function Qe(e,t){let{pathname:n,routeId:r,method:o,type:i,message:l}=t===void 0?{}:t,a="Unknown Server Error",s="Unknown @remix-run/router error";return e===400?(a="Bad Request",i==="route-discovery"?s='Unable to match URL "'+n+'" - the `unstable_patchRoutesOnMiss()` '+(`function threw the following error: +`+l):o&&n&&r?s="You made a "+o+' request to "'+n+'" but '+('did not provide a `loader` for route "'+r+'", ')+"so there is no way to handle the request.":i==="defer-action"?s="defer() is not supported in actions":i==="invalid-body"&&(s="Unable to encode submission body")):e===403?(a="Forbidden",s='Route "'+r+'" does not match URL "'+n+'"'):e===404?(a="Not Found",s='No route matches URL "'+n+'"'):e===405&&(a="Method Not Allowed",o&&n&&r?s="You made a "+o.toUpperCase()+' request to "'+n+'" but '+('did not provide an `action` for route "'+r+'", ')+"so there is no way to handle the request.":o&&(s='Invalid request method "'+o.toUpperCase()+'"')),new Kl(e||500,a,new Error(s),!0)}function bf(e){for(let t=e.length-1;t>=0;t--){let n=e[t];if(qn(n))return{result:n,idx:t}}}function Am(e){let t=typeof e=="string"?Bn(e):e;return sr(xe({},t,{hash:""}))}function Cx(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function Rx(e){return typeof e=="object"&&e!=null&&"then"in e}function kx(e){return Im(e.result)&&sx.has(e.result.status)}function Jn(e){return e.type===ce.deferred}function st(e){return e.type===ce.error}function qn(e){return(e&&e.type)===ce.redirect}function Lf(e){return typeof e=="object"&&e!=null&&"type"in e&&"data"in e&&"init"in e&&e.type==="DataWithResponseInit"}function Px(e){let t=e;return t&&typeof t=="object"&&typeof t.data=="object"&&typeof t.subscribe=="function"&&typeof t.cancel=="function"&&typeof t.resolveData=="function"}function Im(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function Mx(e){return ax.has(e.toLowerCase())}function Mt(e){return ix.has(e.toLowerCase())}async function Df(e,t,n,r,o,i){for(let l=0;lc.route.id===s.route.id),d=u!=null&&!Dm(u,s)&&(i&&i[s.route.id])!==void 0;if(Jn(a)&&(o||d)){let c=r[l];q(c,"Expected an AbortSignal for revalidating fetcher deferred result"),await jm(a,c,o).then(f=>{f&&(n[l]=f||n[l])})}}}async function jm(e,t,n){if(n===void 0&&(n=!1),!await e.deferredData.resolveData(t)){if(n)try{return{type:ce.data,data:e.deferredData.unwrappedData}}catch(o){return{type:ce.error,error:o}}return{type:ce.data,data:e.deferredData.data}}}function Nc(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function Ao(e,t){let n=typeof t=="string"?Bn(t).search:t.search;if(e[e.length-1].route.index&&Nc(n||""))return e[e.length-1];let r=Nm(e);return r[r.length-1]}function Of(e){let{formMethod:t,formAction:n,formEncType:r,text:o,formData:i,json:l}=e;if(!(!t||!n||!r)){if(o!=null)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:o};if(i!=null)return{formMethod:t,formAction:n,formEncType:r,formData:i,json:void 0,text:void 0};if(l!==void 0)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:l,text:void 0}}}function ms(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function _x(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function Mo(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function Tx(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function yn(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function Nx(e,t){try{let n=e.sessionStorage.getItem(Lm);if(n){let r=JSON.parse(n);for(let[o,i]of Object.entries(r||{}))i&&Array.isArray(i)&&t.set(o,new Set(i||[]))}}catch{}}function bx(e,t){if(t.size>0){let n={};for(let[r,o]of t)n[r]=[...o];try{e.sessionStorage.setItem(Lm,JSON.stringify(n))}catch(r){Jr(!1,"Failed to save applied view transitions in sessionStorage ("+r+").")}}}/** + * React Router v6.26.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function Gl(){return Gl=Object.assign?Object.assign.bind():function(e){for(var t=1;t{a.current=!0}),p.useCallback(function(u,d){if(d===void 0&&(d={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let c=_c(u,JSON.parse(l),i,d.relative==="path");e==null&&t!=="/"&&(c.pathname=c.pathname==="/"?t:nn([t,c.pathname])),(d.replace?r.replace:r.push)(c,d.state,d)},[t,r,l,i,e])}const Ax=p.createContext(null);function Ix(e){let t=p.useContext(Wn).outlet;return t&&p.createElement(Ax.Provider,{value:e},t)}function $m(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=p.useContext(pr),{matches:o}=p.useContext(Wn),{pathname:i}=Sa(),l=JSON.stringify(Mc(o,r.v7_relativeSplatPath));return p.useMemo(()=>_c(e,JSON.parse(l),i,n==="path"),[e,l,i,n])}function jx(e,t,n,r){Si()||q(!1);let{navigator:o}=p.useContext(pr),{matches:i}=p.useContext(Wn),l=i[i.length-1],a=l?l.params:{};l&&l.pathname;let s=l?l.pathnameBase:"/";l&&l.route;let u=Sa(),d;d=u;let c=d.pathname||"/",f=c;if(s!=="/"){let v=s.replace(/^\//,"").split("/");f="/"+c.replace(/^\//,"").split("/").slice(v.length).join("/")}let y=Qn(e,{pathname:f});return Bx(y&&y.map(v=>Object.assign({},v,{params:Object.assign({},a,v.params),pathname:nn([s,o.encodeLocation?o.encodeLocation(v.pathname).pathname:v.pathname]),pathnameBase:v.pathnameBase==="/"?s:nn([s,o.encodeLocation?o.encodeLocation(v.pathnameBase).pathname:v.pathnameBase])})),i,n,r)}function Fx(){let e=Kx(),t=wa(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return p.createElement(p.Fragment,null,p.createElement("h2",null,"Unexpected Application Error!"),p.createElement("h3",{style:{fontStyle:"italic"}},t),n?p.createElement("pre",{style:o},n):null,null)}const zx=p.createElement(Fx,null);class Ux extends p.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?p.createElement(Wn.Provider,{value:this.props.routeContext},p.createElement(zm.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function $x(e){let{routeContext:t,match:n,children:r}=e,o=p.useContext(xa);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),p.createElement(Wn.Provider,{value:t},r)}function Bx(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let l=e,a=(o=n)==null?void 0:o.errors;if(a!=null){let d=l.findIndex(c=>c.route.id&&(a==null?void 0:a[c.route.id])!==void 0);d>=0||q(!1),l=l.slice(0,Math.min(l.length,d+1))}let s=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d=0?l=l.slice(0,u+1):l=[l[0]];break}}}return l.reduceRight((d,c,f)=>{let y,g=!1,v=null,S=null;n&&(y=a&&c.route.id?a[c.route.id]:void 0,v=c.route.errorElement||zx,s&&(u<0&&f===0?(g=!0,S=null):u===f&&(g=!0,S=c.route.hydrateFallbackElement||null)));let m=t.concat(l.slice(0,f+1)),h=()=>{let w;return y?w=v:g?w=S:c.route.Component?w=p.createElement(c.route.Component,null):c.route.element?w=c.route.element:w=d,p.createElement($x,{match:c,routeContext:{outlet:d,matches:m,isDataRoute:n!=null},children:w})};return n&&(c.route.ErrorBoundary||c.route.errorElement||f===0)?p.createElement(Ux,{location:n.location,revalidation:n.revalidation,component:v,error:y,children:h(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):h()},null)}var Bm=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Bm||{}),Ql=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Ql||{});function Wx(e){let t=p.useContext(xa);return t||q(!1),t}function Vx(e){let t=p.useContext(Fm);return t||q(!1),t}function Hx(e){let t=p.useContext(Wn);return t||q(!1),t}function Wm(e){let t=Hx(),n=t.matches[t.matches.length-1];return n.route.id||q(!1),n.route.id}function Kx(){var e;let t=p.useContext(zm),n=Vx(Ql.UseRouteError),r=Wm(Ql.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function Gx(){let{router:e}=Wx(Bm.UseNavigateStable),t=Wm(Ql.UseNavigateStable),n=p.useRef(!1);return Um(()=>{n.current=!0}),p.useCallback(function(o,i){i===void 0&&(i={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,Gl({fromRouteId:t},i)))},[e,t])}function Qx(e){return Ix(e.context)}function gl(e){q(!1)}function Yx(e){let{basename:t="/",children:n=null,location:r,navigationType:o=_e.Pop,navigator:i,static:l=!1,future:a}=e;Si()&&q(!1);let s=t.replace(/^\/*/,"/"),u=p.useMemo(()=>({basename:s,navigator:i,static:l,future:Gl({v7_relativeSplatPath:!1},a)}),[s,a,i,l]);typeof r=="string"&&(r=Bn(r));let{pathname:d="/",search:c="",hash:f="",state:y=null,key:g="default"}=r,v=p.useMemo(()=>{let S=lo(d,s);return S==null?null:{location:{pathname:S,search:c,hash:f,state:y,key:g},navigationType:o}},[s,d,c,f,y,g,o]);return v==null?null:p.createElement(pr.Provider,{value:u},p.createElement(bc.Provider,{children:n,value:v}))}new Promise(()=>{});function wu(e,t){t===void 0&&(t=[]);let n=[];return p.Children.forEach(e,(r,o)=>{if(!p.isValidElement(r))return;let i=[...t,o];if(r.type===p.Fragment){n.push.apply(n,wu(r.props.children,i));return}r.type!==gl&&q(!1),!r.props.index||!r.props.children||q(!1);let l={id:r.props.id||i.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,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(l.children=wu(r.props.children,i)),n.push(l)}),n}function Xx(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:p.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:p.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:p.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}/** + * React Router DOM v6.26.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function di(){return di=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}function Jx(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function qx(e,t){return e.button===0&&(!t||t==="_self")&&!Jx(e)}const e1=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],t1="6";try{window.__reactRouterVersion=t1}catch{}function n1(e,t){return fx({basename:void 0,future:di({},void 0,{v7_prependBasename:!0}),history:Iw({window:void 0}),hydrationData:r1(),routes:e,mapRouteProperties:Xx,unstable_dataStrategy:void 0,unstable_patchRoutesOnMiss:void 0,window:void 0}).initialize()}function r1(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=di({},t,{errors:o1(t.errors)})),t}function o1(e){if(!e)return null;let t=Object.entries(e),n={};for(let[r,o]of t)if(o&&o.__type==="RouteErrorResponse")n[r]=new Kl(o.status,o.statusText,o.data,o.internal===!0);else if(o&&o.__type==="Error"){if(o.__subType){let i=window[o.__subType];if(typeof i=="function")try{let l=new i(o.message);l.stack="",n[r]=l}catch{}}if(n[r]==null){let i=new Error(o.message);i.stack="",n[r]=i}}else n[r]=o;return n}const i1=p.createContext({isTransitioning:!1}),l1=p.createContext(new Map),a1="startTransition",Af=Rp[a1],s1="flushSync",If=Aw[s1];function u1(e){Af?Af(e):e()}function _o(e){If?If(e):e()}class c1{constructor(){this.status="pending",this.promise=new Promise((t,n)=>{this.resolve=r=>{this.status==="pending"&&(this.status="resolved",t(r))},this.reject=r=>{this.status==="pending"&&(this.status="rejected",n(r))}})}}function d1(e){let{fallbackElement:t,router:n,future:r}=e,[o,i]=p.useState(n.state),[l,a]=p.useState(),[s,u]=p.useState({isTransitioning:!1}),[d,c]=p.useState(),[f,y]=p.useState(),[g,v]=p.useState(),S=p.useRef(new Map),{v7_startTransition:m}=r||{},h=p.useCallback(T=>{m?u1(T):T()},[m]),w=p.useCallback((T,A)=>{let{deletedFetchers:D,unstable_flushSync:B,unstable_viewTransitionOpts:j}=A;D.forEach(W=>S.current.delete(W)),T.fetchers.forEach((W,oe)=>{W.data!==void 0&&S.current.set(oe,W.data)});let Y=n.window==null||n.window.document==null||typeof n.window.document.startViewTransition!="function";if(!j||Y){B?_o(()=>i(T)):h(()=>i(T));return}if(B){_o(()=>{f&&(d&&d.resolve(),f.skipTransition()),u({isTransitioning:!0,flushSync:!0,currentLocation:j.currentLocation,nextLocation:j.nextLocation})});let W=n.window.document.startViewTransition(()=>{_o(()=>i(T))});W.finished.finally(()=>{_o(()=>{c(void 0),y(void 0),a(void 0),u({isTransitioning:!1})})}),_o(()=>y(W));return}f?(d&&d.resolve(),f.skipTransition(),v({state:T,currentLocation:j.currentLocation,nextLocation:j.nextLocation})):(a(T),u({isTransitioning:!0,flushSync:!1,currentLocation:j.currentLocation,nextLocation:j.nextLocation}))},[n.window,f,d,S,h]);p.useLayoutEffect(()=>n.subscribe(w),[n,w]),p.useEffect(()=>{s.isTransitioning&&!s.flushSync&&c(new c1)},[s]),p.useEffect(()=>{if(d&&l&&n.window){let T=l,A=d.promise,D=n.window.document.startViewTransition(async()=>{h(()=>i(T)),await A});D.finished.finally(()=>{c(void 0),y(void 0),a(void 0),u({isTransitioning:!1})}),y(D)}},[h,l,d,n.window]),p.useEffect(()=>{d&&l&&o.location.key===l.location.key&&d.resolve()},[d,f,o.location,l]),p.useEffect(()=>{!s.isTransitioning&&g&&(a(g.state),u({isTransitioning:!0,flushSync:!1,currentLocation:g.currentLocation,nextLocation:g.nextLocation}),v(void 0))},[s.isTransitioning,g]),p.useEffect(()=>{},[]);let C=p.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:T=>n.navigate(T),push:(T,A,D)=>n.navigate(T,{state:A,preventScrollReset:D==null?void 0:D.preventScrollReset}),replace:(T,A,D)=>n.navigate(T,{replace:!0,state:A,preventScrollReset:D==null?void 0:D.preventScrollReset})}),[n]),P=n.basename||"/",x=p.useMemo(()=>({router:n,navigator:C,static:!1,basename:P}),[n,C,P]),_=p.useMemo(()=>({v7_relativeSplatPath:n.future.v7_relativeSplatPath}),[n.future.v7_relativeSplatPath]);return p.createElement(p.Fragment,null,p.createElement(xa.Provider,{value:x},p.createElement(Fm.Provider,{value:o},p.createElement(l1.Provider,{value:S.current},p.createElement(i1.Provider,{value:s},p.createElement(Yx,{basename:P,location:o.location,navigationType:o.historyAction,navigator:C,future:_},o.initialized||n.future.v7_partialHydration?p.createElement(f1,{routes:n.routes,future:n.future,state:o}):t))))),null)}const f1=p.memo(p1);function p1(e){let{routes:t,future:n,state:r}=e;return jx(t,void 0,r,n)}const h1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",m1=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Vm=p.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:i,replace:l,state:a,target:s,to:u,preventScrollReset:d,unstable_viewTransition:c}=t,f=Zx(t,e1),{basename:y}=p.useContext(pr),g,v=!1;if(typeof u=="string"&&m1.test(u)&&(g=u,h1))try{let w=new URL(window.location.href),C=u.startsWith("//")?new URL(w.protocol+u):new URL(u),P=lo(C.pathname,y);C.origin===w.origin&&P!=null?u=P+C.search+C.hash:v=!0}catch{}let S=Lx(u,{relative:o}),m=v1(u,{replace:l,state:a,target:s,preventScrollReset:d,relative:o,unstable_viewTransition:c});function h(w){r&&r(w),w.defaultPrevented||m(w)}return p.createElement("a",di({},f,{href:g||S,onClick:v||i?r:h,ref:n,target:s}))});var jf;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(jf||(jf={}));var Ff;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Ff||(Ff={}));function v1(e,t){let{target:n,replace:r,state:o,preventScrollReset:i,relative:l,unstable_viewTransition:a}=t===void 0?{}:t,s=Dx(),u=Sa(),d=$m(e,{relative:l});return p.useCallback(c=>{if(qx(c,n)){c.preventDefault();let f=r!==void 0?r:sr(u)===sr(d);s(e,{replace:f,state:o,preventScrollReset:i,relative:l,unstable_viewTransition:a})}},[u,s,d,r,o,n,e,i,l,a])}var xu={},zf=io;xu.createRoot=zf.createRoot,xu.hydrateRoot=zf.hydrateRoot;const g1={theme:"system",setTheme:()=>null},Hm=p.createContext(g1),y1=({children:e,defaultTheme:t="system",storageKey:n="vite-ui-theme",...r})=>{const[o,i]=p.useState(()=>localStorage.getItem(n)||t);p.useEffect(()=>{const a=window.document.documentElement;if(a.classList.remove("light","dark"),o==="system"){const s=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";a.classList.add(s);return}a.classList.add(o)},[o]);const l={theme:o,setTheme:a=>{localStorage.setItem(n,a),i(a)}};return k.jsx(Hm.Provider,{...r,value:l,children:e})},w1=()=>k.jsx("div",{children:"Not Found"});function x1(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Ea(...e){return t=>e.forEach(n=>x1(n,t))}function Ge(...e){return p.useCallback(Ea(...e),e)}var qr=p.forwardRef((e,t)=>{const{children:n,...r}=e,o=p.Children.toArray(n),i=o.find(S1);if(i){const l=i.props.children,a=o.map(s=>s===i?p.Children.count(l)>1?p.Children.only(null):p.isValidElement(l)?l.props.children:null:s);return k.jsx(Su,{...r,ref:t,children:p.isValidElement(l)?p.cloneElement(l,void 0,a):null})}return k.jsx(Su,{...r,ref:t,children:n})});qr.displayName="Slot";var Su=p.forwardRef((e,t)=>{const{children:n,...r}=e;if(p.isValidElement(n)){const o=C1(n);return p.cloneElement(n,{...E1(r,n.props),ref:t?Ea(t,o):o})}return p.Children.count(n)>1?p.Children.only(null):null});Su.displayName="SlotClone";var Km=({children:e})=>k.jsx(k.Fragment,{children:e});function S1(e){return p.isValidElement(e)&&e.type===Km}function E1(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...a)=>{i(...a),o(...a)}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function C1(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function Gm(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;ttypeof e=="boolean"?"".concat(e):e===0?"0":e,$f=R1,k1=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return $f(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:i}=t,l=Object.keys(o).map(u=>{const d=n==null?void 0:n[u],c=i==null?void 0:i[u];if(d===null)return null;const f=Uf(d)||Uf(c);return o[u][f]}),a=n&&Object.entries(n).reduce((u,d)=>{let[c,f]=d;return f===void 0||(u[c]=f),u},{}),s=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,d)=>{let{class:c,className:f,...y}=d;return Object.entries(y).every(g=>{let[v,S]=g;return Array.isArray(S)?S.includes({...i,...a}[v]):{...i,...a}[v]===S})?[...u,c,f]:u},[]);return $f(e,l,s,n==null?void 0:n.class,n==null?void 0:n.className)};function Qm(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;ta(i)))==null?void 0:l.classGroupId}const Bf=/^\[(.+)\]$/;function _1(e){if(Bf.test(e)){const t=Bf.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}function T1(e){const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return b1(Object.entries(e.classGroups),n).forEach(([i,l])=>{Eu(l,r,i,t)}),r}function Eu(e,t,n,r){e.forEach(o=>{if(typeof o=="string"){const i=o===""?t:Wf(t,o);i.classGroupId=n;return}if(typeof o=="function"){if(N1(o)){Eu(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([i,l])=>{Eu(l,Wf(t,i),n,r)})})}function Wf(e,t){let n=e;return t.split(Lc).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n}function N1(e){return e.isThemeGetter}function b1(e,t){return t?e.map(([n,r])=>{const o=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([l,a])=>[t+l,a])):i);return[n,o]}):e}function L1(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;function o(i,l){n.set(i,l),t++,t>e&&(t=0,r=n,n=new Map)}return{get(i){let l=n.get(i);if(l!==void 0)return l;if((l=r.get(i))!==void 0)return o(i,l),l},set(i,l){n.has(i)?n.set(i,l):o(i,l)}}}const Xm="!";function D1(e){const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,o=t[0],i=t.length;function l(a){const s=[];let u=0,d=0,c;for(let S=0;Sd?c-d:void 0;return{modifiers:s,hasImportantModifier:y,baseClassName:g,maybePostfixModifierPosition:v}}return n?function(s){return n({className:s,parseClassName:l})}:l}function O1(e){if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t}function A1(e){return{cache:L1(e.cacheSize),parseClassName:D1(e),...M1(e)}}const I1=/\s+/;function j1(e,t){const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,i=new Set;return e.trim().split(I1).map(l=>{const{modifiers:a,hasImportantModifier:s,baseClassName:u,maybePostfixModifierPosition:d}=n(l);let c=!!d,f=r(c?u.substring(0,d):u);if(!f){if(!c)return{isTailwindClass:!1,originalClassName:l};if(f=r(u),!f)return{isTailwindClass:!1,originalClassName:l};c=!1}const y=O1(a).join(":");return{isTailwindClass:!0,modifierId:s?y+Xm:y,classGroupId:f,originalClassName:l,hasPostfixModifier:c}}).reverse().filter(l=>{if(!l.isTailwindClass)return!0;const{modifierId:a,classGroupId:s,hasPostfixModifier:u}=l,d=a+s;return i.has(d)?!1:(i.add(d),o(s,u).forEach(c=>i.add(a+c)),!0)}).reverse().map(l=>l.originalClassName).join(" ")}function F1(){let e=0,t,n,r="";for(;ec(d),e());return n=A1(u),r=n.cache.get,o=n.cache.set,i=a,a(s)}function a(s){const u=r(s);if(u)return u;const d=j1(s,n);return o(s,d),d}return function(){return i(F1.apply(null,arguments))}}function pe(e){const t=n=>n[e]||[];return t.isThemeGetter=!0,t}const Jm=/^\[(?:([a-z-]+):)?(.+)\]$/i,U1=/^\d+\/\d+$/,$1=new Set(["px","full","screen"]),B1=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,W1=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,V1=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,H1=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,K1=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function Yt(e){return er(e)||$1.has(e)||U1.test(e)}function vn(e){return ao(e,"length",eS)}function er(e){return!!e&&!Number.isNaN(Number(e))}function Zi(e){return ao(e,"number",er)}function To(e){return!!e&&Number.isInteger(Number(e))}function G1(e){return e.endsWith("%")&&er(e.slice(0,-1))}function J(e){return Jm.test(e)}function gn(e){return B1.test(e)}const Q1=new Set(["length","size","percentage"]);function Y1(e){return ao(e,Q1,qm)}function X1(e){return ao(e,"position",qm)}const Z1=new Set(["image","url"]);function J1(e){return ao(e,Z1,nS)}function q1(e){return ao(e,"",tS)}function No(){return!0}function ao(e,t,n){const r=Jm.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1}function eS(e){return W1.test(e)&&!V1.test(e)}function qm(){return!1}function tS(e){return H1.test(e)}function nS(e){return K1.test(e)}function rS(){const e=pe("colors"),t=pe("spacing"),n=pe("blur"),r=pe("brightness"),o=pe("borderColor"),i=pe("borderRadius"),l=pe("borderSpacing"),a=pe("borderWidth"),s=pe("contrast"),u=pe("grayscale"),d=pe("hueRotate"),c=pe("invert"),f=pe("gap"),y=pe("gradientColorStops"),g=pe("gradientColorStopPositions"),v=pe("inset"),S=pe("margin"),m=pe("opacity"),h=pe("padding"),w=pe("saturate"),C=pe("scale"),P=pe("sepia"),x=pe("skew"),_=pe("space"),T=pe("translate"),A=()=>["auto","contain","none"],D=()=>["auto","hidden","clip","visible","scroll"],B=()=>["auto",J,t],j=()=>[J,t],Y=()=>["",Yt,vn],W=()=>["auto",er,J],oe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ne=()=>["solid","dashed","dotted","double","none"],$=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],L=()=>["start","end","center","between","around","evenly","stretch"],b=()=>["","0",J],U=()=>["auto","avoid","all","avoid-page","page","left","right","column"],H=()=>[er,Zi],X=()=>[er,J];return{cacheSize:500,separator:":",theme:{colors:[No],spacing:[Yt,vn],blur:["none","",gn,J],brightness:H(),borderColor:[e],borderRadius:["none","","full",gn,J],borderSpacing:j(),borderWidth:Y(),contrast:H(),grayscale:b(),hueRotate:X(),invert:b(),gap:j(),gradientColorStops:[e],gradientColorStopPositions:[G1,vn],inset:B(),margin:B(),opacity:H(),padding:j(),saturate:H(),scale:H(),sepia:b(),skew:X(),space:j(),translate:j()},classGroups:{aspect:[{aspect:["auto","square","video",J]}],container:["container"],columns:[{columns:[gn]}],"break-after":[{"break-after":U()}],"break-before":[{"break-before":U()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...oe(),J]}],overflow:[{overflow:D()}],"overflow-x":[{"overflow-x":D()}],"overflow-y":[{"overflow-y":D()}],overscroll:[{overscroll:A()}],"overscroll-x":[{"overscroll-x":A()}],"overscroll-y":[{"overscroll-y":A()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",To,J]}],basis:[{basis:B()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",J]}],grow:[{grow:b()}],shrink:[{shrink:b()}],order:[{order:["first","last","none",To,J]}],"grid-cols":[{"grid-cols":[No]}],"col-start-end":[{col:["auto",{span:["full",To,J]},J]}],"col-start":[{"col-start":W()}],"col-end":[{"col-end":W()}],"grid-rows":[{"grid-rows":[No]}],"row-start-end":[{row:["auto",{span:[To,J]},J]}],"row-start":[{"row-start":W()}],"row-end":[{"row-end":W()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",J]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",J]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...L()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...L(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...L(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[h]}],px:[{px:[h]}],py:[{py:[h]}],ps:[{ps:[h]}],pe:[{pe:[h]}],pt:[{pt:[h]}],pr:[{pr:[h]}],pb:[{pb:[h]}],pl:[{pl:[h]}],m:[{m:[S]}],mx:[{mx:[S]}],my:[{my:[S]}],ms:[{ms:[S]}],me:[{me:[S]}],mt:[{mt:[S]}],mr:[{mr:[S]}],mb:[{mb:[S]}],ml:[{ml:[S]}],"space-x":[{"space-x":[_]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[_]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",J,t]}],"min-w":[{"min-w":[J,t,"min","max","fit"]}],"max-w":[{"max-w":[J,t,"none","full","min","max","fit","prose",{screen:[gn]},gn]}],h:[{h:[J,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[J,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[J,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[J,t,"auto","min","max","fit"]}],"font-size":[{text:["base",gn,vn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Zi]}],"font-family":[{font:[No]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",J]}],"line-clamp":[{"line-clamp":["none",er,Zi]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Yt,J]}],"list-image":[{"list-image":["none",J]}],"list-style-type":[{list:["none","disc","decimal",J]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[m]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[m]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ne(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Yt,vn]}],"underline-offset":[{"underline-offset":["auto",Yt,J]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:j()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",J]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",J]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[m]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...oe(),X1]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Y1]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},J1]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[g]}],"gradient-via-pos":[{via:[g]}],"gradient-to-pos":[{to:[g]}],"gradient-from":[{from:[y]}],"gradient-via":[{via:[y]}],"gradient-to":[{to:[y]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[m]}],"border-style":[{border:[...ne(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[m]}],"divide-style":[{divide:ne()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...ne()]}],"outline-offset":[{"outline-offset":[Yt,J]}],"outline-w":[{outline:[Yt,vn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Y()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[m]}],"ring-offset-w":[{"ring-offset":[Yt,vn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",gn,q1]}],"shadow-color":[{shadow:[No]}],opacity:[{opacity:[m]}],"mix-blend":[{"mix-blend":[...$(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":$()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[s]}],"drop-shadow":[{"drop-shadow":["","none",gn,J]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[c]}],saturate:[{saturate:[w]}],sepia:[{sepia:[P]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[s]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[c]}],"backdrop-opacity":[{"backdrop-opacity":[m]}],"backdrop-saturate":[{"backdrop-saturate":[w]}],"backdrop-sepia":[{"backdrop-sepia":[P]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",J]}],duration:[{duration:X()}],ease:[{ease:["linear","in","out","in-out",J]}],delay:[{delay:X()}],animate:[{animate:["none","spin","ping","pulse","bounce",J]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[C]}],"scale-x":[{"scale-x":[C]}],"scale-y":[{"scale-y":[C]}],rotate:[{rotate:[To,J]}],"translate-x":[{"translate-x":[T]}],"translate-y":[{"translate-y":[T]}],"skew-x":[{"skew-x":[x]}],"skew-y":[{"skew-y":[x]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",J]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",J]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":j()}],"scroll-mx":[{"scroll-mx":j()}],"scroll-my":[{"scroll-my":j()}],"scroll-ms":[{"scroll-ms":j()}],"scroll-me":[{"scroll-me":j()}],"scroll-mt":[{"scroll-mt":j()}],"scroll-mr":[{"scroll-mr":j()}],"scroll-mb":[{"scroll-mb":j()}],"scroll-ml":[{"scroll-ml":j()}],"scroll-p":[{"scroll-p":j()}],"scroll-px":[{"scroll-px":j()}],"scroll-py":[{"scroll-py":j()}],"scroll-ps":[{"scroll-ps":j()}],"scroll-pe":[{"scroll-pe":j()}],"scroll-pt":[{"scroll-pt":j()}],"scroll-pr":[{"scroll-pr":j()}],"scroll-pb":[{"scroll-pb":j()}],"scroll-pl":[{"scroll-pl":j()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",J]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Yt,vn,Zi]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}const oS=z1(rS);function Vt(...e){return oS(P1(e))}const iS=k1("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),Ca=p.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...o},i)=>{const l=r?qr:"button";return k.jsx(l,{className:Vt(iS({variant:t,size:n,className:e})),ref:i,...o})});Ca.displayName="Button";const lS=()=>k.jsx(Vm,{to:"https://drive.google.com/file/d/1zeF5O_iNHSwUhJrxzS5HjV6CdZmfxVm_/view?usp=sharing",target:"_blank",className:"hidden lg:block",children:k.jsx(Ca,{className:"hover:scale-95 transition-all rounded-full hover:drop-shadow-glow",children:"Check Resume"})}),aS="/assets/light-logo-D1zLD16O.png",sS="/assets/dark-logo-BJU8kvEn.png",uS=aS,cS=sS;var Cu=(e=>(e.system="system",e.dark="dark",e.light="light",e))(Cu||{});const ev=()=>{const e=p.useContext(Hm);if(e===void 0)throw new Error("useTheme must be used within a ThemeProvider");return e};var Yl=(e=>(e.root="/",e.notFound="*",e))(Yl||{});const dS=()=>{const{theme:e}=ev(),t=e===Cu.dark||e===Cu.system?cS:uS;return k.jsx(Vm,{to:Yl.root,className:"hover:scale-95 transition-all hover:drop-shadow-glow",children:k.jsx("img",{src:t,alt:"Logo",className:"h-6"})})};/** + * @license lucide-react v0.427.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const fS=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),tv=(...e)=>e.filter((t,n,r)=>!!t&&r.indexOf(t)===n).join(" ");/** + * @license lucide-react v0.427.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */var pS={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** + * @license lucide-react v0.427.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const hS=p.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:i,iconNode:l,...a},s)=>p.createElement("svg",{ref:s,...pS,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:tv("lucide",o),...a},[...l.map(([u,d])=>p.createElement(u,d)),...Array.isArray(i)?i:[i]]));/** + * @license lucide-react v0.427.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const so=(e,t)=>{const n=p.forwardRef(({className:r,...o},i)=>p.createElement(hS,{ref:i,iconNode:t,className:tv(`lucide-${fS(e)}`,r),...o}));return n.displayName=`${e}`,n};/** + * @license lucide-react v0.427.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const mS=so("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/** + * @license lucide-react v0.427.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const vS=so("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/** + * @license lucide-react v0.427.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const gS=so("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/** + * @license lucide-react v0.427.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const yS=so("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/** + * @license lucide-react v0.427.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const wS=so("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/** + * @license lucide-react v0.427.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const xS=so("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);function te(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function uo(e,t=[]){let n=[];function r(i,l){const a=p.createContext(l),s=n.length;n=[...n,l];function u(c){const{scope:f,children:y,...g}=c,v=(f==null?void 0:f[e][s])||a,S=p.useMemo(()=>g,Object.values(g));return k.jsx(v.Provider,{value:S,children:y})}function d(c,f){const y=(f==null?void 0:f[e][s])||a,g=p.useContext(y);if(g)return g;if(l!==void 0)return l;throw new Error(`\`${c}\` must be used within \`${i}\``)}return u.displayName=i+"Provider",[u,d]}const o=()=>{const i=n.map(l=>p.createContext(l));return function(a){const s=(a==null?void 0:a[e])||i;return p.useMemo(()=>({[`__scope${e}`]:{...a,[e]:s}}),[a,s])}};return o.scopeName=e,[r,SS(o,...t)]}function SS(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const l=r.reduce((a,{useScope:s,scopeName:u})=>{const c=s(i)[`__scope${u}`];return{...a,...c}},{});return p.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return n.scopeName=t.scopeName,n}var ES=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],ze=ES.reduce((e,t)=>{const n=p.forwardRef((r,o)=>{const{asChild:i,...l}=r,a=i?qr:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),k.jsx(a,{...l,ref:o})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function nv(e,t){e&&io.flushSync(()=>e.dispatchEvent(t))}function Lt(e){const t=p.useRef(e);return p.useEffect(()=>{t.current=e}),p.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function CS(e,t=globalThis==null?void 0:globalThis.document){const n=Lt(e);p.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var RS="DismissableLayer",Ru="dismissableLayer.update",kS="dismissableLayer.pointerDownOutside",PS="dismissableLayer.focusOutside",Vf,rv=p.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Dc=p.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:l,onDismiss:a,...s}=e,u=p.useContext(rv),[d,c]=p.useState(null),f=(d==null?void 0:d.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,y]=p.useState({}),g=Ge(t,_=>c(_)),v=Array.from(u.layers),[S]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),m=v.indexOf(S),h=d?v.indexOf(d):-1,w=u.layersWithOutsidePointerEventsDisabled.size>0,C=h>=m,P=TS(_=>{const T=_.target,A=[...u.branches].some(D=>D.contains(T));!C||A||(o==null||o(_),l==null||l(_),_.defaultPrevented||a==null||a())},f),x=NS(_=>{const T=_.target;[...u.branches].some(D=>D.contains(T))||(i==null||i(_),l==null||l(_),_.defaultPrevented||a==null||a())},f);return CS(_=>{h===u.layers.size-1&&(r==null||r(_),!_.defaultPrevented&&a&&(_.preventDefault(),a()))},f),p.useEffect(()=>{if(d)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Vf=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),Hf(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=Vf)}},[d,f,n,u]),p.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),Hf())},[d,u]),p.useEffect(()=>{const _=()=>y({});return document.addEventListener(Ru,_),()=>document.removeEventListener(Ru,_)},[]),k.jsx(ze.div,{...s,ref:g,style:{pointerEvents:w?C?"auto":"none":void 0,...e.style},onFocusCapture:te(e.onFocusCapture,x.onFocusCapture),onBlurCapture:te(e.onBlurCapture,x.onBlurCapture),onPointerDownCapture:te(e.onPointerDownCapture,P.onPointerDownCapture)})});Dc.displayName=RS;var MS="DismissableLayerBranch",_S=p.forwardRef((e,t)=>{const n=p.useContext(rv),r=p.useRef(null),o=Ge(t,r);return p.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),k.jsx(ze.div,{...e,ref:o})});_S.displayName=MS;function TS(e,t=globalThis==null?void 0:globalThis.document){const n=Lt(e),r=p.useRef(!1),o=p.useRef(()=>{});return p.useEffect(()=>{const i=a=>{if(a.target&&!r.current){let s=function(){ov(kS,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=s,t.addEventListener("click",o.current,{once:!0})):s()}else t.removeEventListener("click",o.current);r.current=!1},l=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(l),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function NS(e,t=globalThis==null?void 0:globalThis.document){const n=Lt(e),r=p.useRef(!1);return p.useEffect(()=>{const o=i=>{i.target&&!r.current&&ov(PS,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Hf(){const e=new CustomEvent(Ru);document.dispatchEvent(e)}function ov(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?nv(o,i):o.dispatchEvent(i)}var ur=globalThis!=null&&globalThis.document?p.useLayoutEffect:()=>{},bS=Rp.useId||(()=>{}),LS=0;function Xl(e){const[t,n]=p.useState(bS());return ur(()=>{n(r=>r??String(LS++))},[e]),t?`radix-${t}`:""}const DS=["top","right","bottom","left"],Ut=Math.min,ut=Math.max,Zl=Math.round,Ji=Math.floor,In=e=>({x:e,y:e}),OS={left:"right",right:"left",bottom:"top",top:"bottom"},AS={start:"end",end:"start"};function ku(e,t,n){return ut(e,Ut(t,n))}function sn(e,t){return typeof e=="function"?e(t):e}function un(e){return e.split("-")[0]}function co(e){return e.split("-")[1]}function Oc(e){return e==="x"?"y":"x"}function Ac(e){return e==="y"?"height":"width"}function jn(e){return["top","bottom"].includes(un(e))?"y":"x"}function Ic(e){return Oc(jn(e))}function IS(e,t,n){n===void 0&&(n=!1);const r=co(e),o=Ic(e),i=Ac(o);let l=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=Jl(l)),[l,Jl(l)]}function jS(e){const t=Jl(e);return[Pu(e),t,Pu(t)]}function Pu(e){return e.replace(/start|end/g,t=>AS[t])}function FS(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],l=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:l;default:return[]}}function zS(e,t,n,r){const o=co(e);let i=FS(un(e),n==="start",r);return o&&(i=i.map(l=>l+"-"+o),t&&(i=i.concat(i.map(Pu)))),i}function Jl(e){return e.replace(/left|right|bottom|top/g,t=>OS[t])}function US(e){return{top:0,right:0,bottom:0,left:0,...e}}function iv(e){return typeof e!="number"?US(e):{top:e,right:e,bottom:e,left:e}}function ql(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Kf(e,t,n){let{reference:r,floating:o}=e;const i=jn(t),l=Ic(t),a=Ac(l),s=un(t),u=i==="y",d=r.x+r.width/2-o.width/2,c=r.y+r.height/2-o.height/2,f=r[a]/2-o[a]/2;let y;switch(s){case"top":y={x:d,y:r.y-o.height};break;case"bottom":y={x:d,y:r.y+r.height};break;case"right":y={x:r.x+r.width,y:c};break;case"left":y={x:r.x-o.width,y:c};break;default:y={x:r.x,y:r.y}}switch(co(t)){case"start":y[l]-=f*(n&&u?-1:1);break;case"end":y[l]+=f*(n&&u?-1:1);break}return y}const $S=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:l}=n,a=i.filter(Boolean),s=await(l.isRTL==null?void 0:l.isRTL(t));let u=await l.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:c}=Kf(u,r,s),f=r,y={},g=0;for(let v=0;v({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:l,elements:a,middlewareData:s}=t,{element:u,padding:d=0}=sn(e,t)||{};if(u==null)return{};const c=iv(d),f={x:n,y:r},y=Ic(o),g=Ac(y),v=await l.getDimensions(u),S=y==="y",m=S?"top":"left",h=S?"bottom":"right",w=S?"clientHeight":"clientWidth",C=i.reference[g]+i.reference[y]-f[y]-i.floating[g],P=f[y]-i.reference[y],x=await(l.getOffsetParent==null?void 0:l.getOffsetParent(u));let _=x?x[w]:0;(!_||!await(l.isElement==null?void 0:l.isElement(x)))&&(_=a.floating[w]||i.floating[g]);const T=C/2-P/2,A=_/2-v[g]/2-1,D=Ut(c[m],A),B=Ut(c[h],A),j=D,Y=_-v[g]-B,W=_/2-v[g]/2+T,oe=ku(j,W,Y),ne=!s.arrow&&co(o)!=null&&W!==oe&&i.reference[g]/2-(WW<=0)){var B,j;const W=(((B=i.flip)==null?void 0:B.index)||0)+1,oe=_[W];if(oe)return{data:{index:W,overflows:D},reset:{placement:oe}};let ne=(j=D.filter($=>$.overflows[0]<=0).sort(($,L)=>$.overflows[1]-L.overflows[1])[0])==null?void 0:j.placement;if(!ne)switch(y){case"bestFit":{var Y;const $=(Y=D.filter(L=>{if(x){const b=jn(L.placement);return b===h||b==="y"}return!0}).map(L=>[L.placement,L.overflows.filter(b=>b>0).reduce((b,U)=>b+U,0)]).sort((L,b)=>L[1]-b[1])[0])==null?void 0:Y[0];$&&(ne=$);break}case"initialPlacement":ne=a;break}if(o!==ne)return{reset:{placement:ne}}}return{}}}};function Gf(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Qf(e){return DS.some(t=>e[t]>=0)}const VS=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=sn(e,t);switch(r){case"referenceHidden":{const i=await fi(t,{...o,elementContext:"reference"}),l=Gf(i,n.reference);return{data:{referenceHiddenOffsets:l,referenceHidden:Qf(l)}}}case"escaped":{const i=await fi(t,{...o,altBoundary:!0}),l=Gf(i,n.floating);return{data:{escapedOffsets:l,escaped:Qf(l)}}}default:return{}}}}};async function HS(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),l=un(n),a=co(n),s=jn(n)==="y",u=["left","top"].includes(l)?-1:1,d=i&&s?-1:1,c=sn(t,e);let{mainAxis:f,crossAxis:y,alignmentAxis:g}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...c};return a&&typeof g=="number"&&(y=a==="end"?g*-1:g),s?{x:y*d,y:f*u}:{x:f*u,y:y*d}}const KS=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:l,middlewareData:a}=t,s=await HS(t,e);return l===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:o+s.x,y:i+s.y,data:{...s,placement:l}}}}},GS=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:l=!1,limiter:a={fn:S=>{let{x:m,y:h}=S;return{x:m,y:h}}},...s}=sn(e,t),u={x:n,y:r},d=await fi(t,s),c=jn(un(o)),f=Oc(c);let y=u[f],g=u[c];if(i){const S=f==="y"?"top":"left",m=f==="y"?"bottom":"right",h=y+d[S],w=y-d[m];y=ku(h,y,w)}if(l){const S=c==="y"?"top":"left",m=c==="y"?"bottom":"right",h=g+d[S],w=g-d[m];g=ku(h,g,w)}const v=a.fn({...t,[f]:y,[c]:g});return{...v,data:{x:v.x-n,y:v.y-r}}}}},QS=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:l}=t,{offset:a=0,mainAxis:s=!0,crossAxis:u=!0}=sn(e,t),d={x:n,y:r},c=jn(o),f=Oc(c);let y=d[f],g=d[c];const v=sn(a,t),S=typeof v=="number"?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(s){const w=f==="y"?"height":"width",C=i.reference[f]-i.floating[w]+S.mainAxis,P=i.reference[f]+i.reference[w]-S.mainAxis;yP&&(y=P)}if(u){var m,h;const w=f==="y"?"width":"height",C=["top","left"].includes(un(o)),P=i.reference[c]-i.floating[w]+(C&&((m=l.offset)==null?void 0:m[c])||0)+(C?0:S.crossAxis),x=i.reference[c]+i.reference[w]+(C?0:((h=l.offset)==null?void 0:h[c])||0)-(C?S.crossAxis:0);gx&&(g=x)}return{[f]:y,[c]:g}}}},YS=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:i}=t,{apply:l=()=>{},...a}=sn(e,t),s=await fi(t,a),u=un(n),d=co(n),c=jn(n)==="y",{width:f,height:y}=r.floating;let g,v;u==="top"||u==="bottom"?(g=u,v=d===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(v=u,g=d==="end"?"top":"bottom");const S=y-s.top-s.bottom,m=f-s.left-s.right,h=Ut(y-s[g],S),w=Ut(f-s[v],m),C=!t.middlewareData.shift;let P=h,x=w;if(c?x=d||C?Ut(w,m):m:P=d||C?Ut(h,S):S,C&&!d){const T=ut(s.left,0),A=ut(s.right,0),D=ut(s.top,0),B=ut(s.bottom,0);c?x=f-2*(T!==0||A!==0?T+A:ut(s.left,s.right)):P=y-2*(D!==0||B!==0?D+B:ut(s.top,s.bottom))}await l({...t,availableWidth:x,availableHeight:P});const _=await o.getDimensions(i.floating);return f!==_.width||y!==_.height?{reset:{rects:!0}}:{}}}};function fo(e){return lv(e)?(e.nodeName||"").toLowerCase():"#document"}function ft(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function dn(e){var t;return(t=(lv(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function lv(e){return e instanceof Node||e instanceof ft(e).Node}function Dt(e){return e instanceof Element||e instanceof ft(e).Element}function Wt(e){return e instanceof HTMLElement||e instanceof ft(e).HTMLElement}function Yf(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ft(e).ShadowRoot}function Ei(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Ot(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function XS(e){return["table","td","th"].includes(fo(e))}function Ra(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function jc(e){const t=Fc(),n=Dt(e)?Ot(e):e;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function ZS(e){let t=Fn(e);for(;Wt(t)&&!eo(t);){if(jc(t))return t;if(Ra(t))return null;t=Fn(t)}return null}function Fc(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function eo(e){return["html","body","#document"].includes(fo(e))}function Ot(e){return ft(e).getComputedStyle(e)}function ka(e){return Dt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Fn(e){if(fo(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Yf(e)&&e.host||dn(e);return Yf(t)?t.host:t}function av(e){const t=Fn(e);return eo(t)?e.ownerDocument?e.ownerDocument.body:e.body:Wt(t)&&Ei(t)?t:av(t)}function pi(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=av(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),l=ft(o);if(i){const a=Mu(l);return t.concat(l,l.visualViewport||[],Ei(o)?o:[],a&&n?pi(a):[])}return t.concat(o,pi(o,[],n))}function Mu(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function sv(e){const t=Ot(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Wt(e),i=o?e.offsetWidth:n,l=o?e.offsetHeight:r,a=Zl(n)!==i||Zl(r)!==l;return a&&(n=i,r=l),{width:n,height:r,$:a}}function zc(e){return Dt(e)?e:e.contextElement}function Wr(e){const t=zc(e);if(!Wt(t))return In(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=sv(t);let l=(i?Zl(n.width):n.width)/r,a=(i?Zl(n.height):n.height)/o;return(!l||!Number.isFinite(l))&&(l=1),(!a||!Number.isFinite(a))&&(a=1),{x:l,y:a}}const JS=In(0);function uv(e){const t=ft(e);return!Fc()||!t.visualViewport?JS:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function qS(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==ft(e)?!1:t}function cr(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=zc(e);let l=In(1);t&&(r?Dt(r)&&(l=Wr(r)):l=Wr(e));const a=qS(i,n,r)?uv(i):In(0);let s=(o.left+a.x)/l.x,u=(o.top+a.y)/l.y,d=o.width/l.x,c=o.height/l.y;if(i){const f=ft(i),y=r&&Dt(r)?ft(r):r;let g=f,v=Mu(g);for(;v&&r&&y!==g;){const S=Wr(v),m=v.getBoundingClientRect(),h=Ot(v),w=m.left+(v.clientLeft+parseFloat(h.paddingLeft))*S.x,C=m.top+(v.clientTop+parseFloat(h.paddingTop))*S.y;s*=S.x,u*=S.y,d*=S.x,c*=S.y,s+=w,u+=C,g=ft(v),v=Mu(g)}}return ql({width:d,height:c,x:s,y:u})}function eE(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",l=dn(r),a=t?Ra(t.floating):!1;if(r===l||a&&i)return n;let s={scrollLeft:0,scrollTop:0},u=In(1);const d=In(0),c=Wt(r);if((c||!c&&!i)&&((fo(r)!=="body"||Ei(l))&&(s=ka(r)),Wt(r))){const f=cr(r);u=Wr(r),d.x=f.x+r.clientLeft,d.y=f.y+r.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-s.scrollLeft*u.x+d.x,y:n.y*u.y-s.scrollTop*u.y+d.y}}function tE(e){return Array.from(e.getClientRects())}function cv(e){return cr(dn(e)).left+ka(e).scrollLeft}function nE(e){const t=dn(e),n=ka(e),r=e.ownerDocument.body,o=ut(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=ut(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let l=-n.scrollLeft+cv(e);const a=-n.scrollTop;return Ot(r).direction==="rtl"&&(l+=ut(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:l,y:a}}function rE(e,t){const n=ft(e),r=dn(e),o=n.visualViewport;let i=r.clientWidth,l=r.clientHeight,a=0,s=0;if(o){i=o.width,l=o.height;const u=Fc();(!u||u&&t==="fixed")&&(a=o.offsetLeft,s=o.offsetTop)}return{width:i,height:l,x:a,y:s}}function oE(e,t){const n=cr(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Wt(e)?Wr(e):In(1),l=e.clientWidth*i.x,a=e.clientHeight*i.y,s=o*i.x,u=r*i.y;return{width:l,height:a,x:s,y:u}}function Xf(e,t,n){let r;if(t==="viewport")r=rE(e,n);else if(t==="document")r=nE(dn(e));else if(Dt(t))r=oE(t,n);else{const o=uv(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return ql(r)}function dv(e,t){const n=Fn(e);return n===t||!Dt(n)||eo(n)?!1:Ot(n).position==="fixed"||dv(n,t)}function iE(e,t){const n=t.get(e);if(n)return n;let r=pi(e,[],!1).filter(a=>Dt(a)&&fo(a)!=="body"),o=null;const i=Ot(e).position==="fixed";let l=i?Fn(e):e;for(;Dt(l)&&!eo(l);){const a=Ot(l),s=jc(l);!s&&a.position==="fixed"&&(o=null),(i?!s&&!o:!s&&a.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||Ei(l)&&!s&&dv(e,l))?r=r.filter(d=>d!==l):o=a,l=Fn(l)}return t.set(e,r),r}function lE(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const l=[...n==="clippingAncestors"?Ra(t)?[]:iE(t,this._c):[].concat(n),r],a=l[0],s=l.reduce((u,d)=>{const c=Xf(t,d,o);return u.top=ut(c.top,u.top),u.right=Ut(c.right,u.right),u.bottom=Ut(c.bottom,u.bottom),u.left=ut(c.left,u.left),u},Xf(t,a,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function aE(e){const{width:t,height:n}=sv(e);return{width:t,height:n}}function sE(e,t,n){const r=Wt(t),o=dn(t),i=n==="fixed",l=cr(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const s=In(0);if(r||!r&&!i)if((fo(t)!=="body"||Ei(o))&&(a=ka(t)),r){const c=cr(t,!0,i,t);s.x=c.x+t.clientLeft,s.y=c.y+t.clientTop}else o&&(s.x=cv(o));const u=l.left+a.scrollLeft-s.x,d=l.top+a.scrollTop-s.y;return{x:u,y:d,width:l.width,height:l.height}}function vs(e){return Ot(e).position==="static"}function Zf(e,t){return!Wt(e)||Ot(e).position==="fixed"?null:t?t(e):e.offsetParent}function fv(e,t){const n=ft(e);if(Ra(e))return n;if(!Wt(e)){let o=Fn(e);for(;o&&!eo(o);){if(Dt(o)&&!vs(o))return o;o=Fn(o)}return n}let r=Zf(e,t);for(;r&&XS(r)&&vs(r);)r=Zf(r,t);return r&&eo(r)&&vs(r)&&!jc(r)?n:r||ZS(e)||n}const uE=async function(e){const t=this.getOffsetParent||fv,n=this.getDimensions,r=await n(e.floating);return{reference:sE(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function cE(e){return Ot(e).direction==="rtl"}const dE={convertOffsetParentRelativeRectToViewportRelativeRect:eE,getDocumentElement:dn,getClippingRect:lE,getOffsetParent:fv,getElementRects:uE,getClientRects:tE,getDimensions:aE,getScale:Wr,isElement:Dt,isRTL:cE};function fE(e,t){let n=null,r;const o=dn(e);function i(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function l(a,s){a===void 0&&(a=!1),s===void 0&&(s=1),i();const{left:u,top:d,width:c,height:f}=e.getBoundingClientRect();if(a||t(),!c||!f)return;const y=Ji(d),g=Ji(o.clientWidth-(u+c)),v=Ji(o.clientHeight-(d+f)),S=Ji(u),h={rootMargin:-y+"px "+-g+"px "+-v+"px "+-S+"px",threshold:ut(0,Ut(1,s))||1};let w=!0;function C(P){const x=P[0].intersectionRatio;if(x!==s){if(!w)return l();x?l(!1,x):r=setTimeout(()=>{l(!1,1e-7)},1e3)}w=!1}try{n=new IntersectionObserver(C,{...h,root:o.ownerDocument})}catch{n=new IntersectionObserver(C,h)}n.observe(e)}return l(!0),i}function pE(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:s=!1}=r,u=zc(e),d=o||i?[...u?pi(u):[],...pi(t)]:[];d.forEach(m=>{o&&m.addEventListener("scroll",n,{passive:!0}),i&&m.addEventListener("resize",n)});const c=u&&a?fE(u,n):null;let f=-1,y=null;l&&(y=new ResizeObserver(m=>{let[h]=m;h&&h.target===u&&y&&(y.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var w;(w=y)==null||w.observe(t)})),n()}),u&&!s&&y.observe(u),y.observe(t));let g,v=s?cr(e):null;s&&S();function S(){const m=cr(e);v&&(m.x!==v.x||m.y!==v.y||m.width!==v.width||m.height!==v.height)&&n(),v=m,g=requestAnimationFrame(S)}return n(),()=>{var m;d.forEach(h=>{o&&h.removeEventListener("scroll",n),i&&h.removeEventListener("resize",n)}),c==null||c(),(m=y)==null||m.disconnect(),y=null,s&&cancelAnimationFrame(g)}}const hE=KS,mE=GS,vE=WS,gE=YS,yE=VS,Jf=BS,wE=QS,xE=(e,t,n)=>{const r=new Map,o={platform:dE,...n},i={...o.platform,_c:r};return $S(e,t,{...o,platform:i})};var yl=typeof document<"u"?p.useLayoutEffect:p.useEffect;function ea(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!ea(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!ea(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function pv(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function qf(e,t){const n=pv(e);return Math.round(t*n)/n}function ep(e){const t=p.useRef(e);return yl(()=>{t.current=e}),t}function SE(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:l}={},transform:a=!0,whileElementsMounted:s,open:u}=e,[d,c]=p.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,y]=p.useState(r);ea(f,r)||y(r);const[g,v]=p.useState(null),[S,m]=p.useState(null),h=p.useCallback($=>{$!==x.current&&(x.current=$,v($))},[]),w=p.useCallback($=>{$!==_.current&&(_.current=$,m($))},[]),C=i||g,P=l||S,x=p.useRef(null),_=p.useRef(null),T=p.useRef(d),A=s!=null,D=ep(s),B=ep(o),j=p.useCallback(()=>{if(!x.current||!_.current)return;const $={placement:t,strategy:n,middleware:f};B.current&&($.platform=B.current),xE(x.current,_.current,$).then(L=>{const b={...L,isPositioned:!0};Y.current&&!ea(T.current,b)&&(T.current=b,io.flushSync(()=>{c(b)}))})},[f,t,n,B]);yl(()=>{u===!1&&T.current.isPositioned&&(T.current.isPositioned=!1,c($=>({...$,isPositioned:!1})))},[u]);const Y=p.useRef(!1);yl(()=>(Y.current=!0,()=>{Y.current=!1}),[]),yl(()=>{if(C&&(x.current=C),P&&(_.current=P),C&&P){if(D.current)return D.current(C,P,j);j()}},[C,P,j,D,A]);const W=p.useMemo(()=>({reference:x,floating:_,setReference:h,setFloating:w}),[h,w]),oe=p.useMemo(()=>({reference:C,floating:P}),[C,P]),ne=p.useMemo(()=>{const $={position:n,left:0,top:0};if(!oe.floating)return $;const L=qf(oe.floating,d.x),b=qf(oe.floating,d.y);return a?{...$,transform:"translate("+L+"px, "+b+"px)",...pv(oe.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:L,top:b}},[n,a,oe.floating,d.x,d.y]);return p.useMemo(()=>({...d,update:j,refs:W,elements:oe,floatingStyles:ne}),[d,j,W,oe,ne])}const EE=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Jf({element:r.current,padding:o}).fn(n):{}:r?Jf({element:r,padding:o}).fn(n):{}}}},CE=(e,t)=>({...hE(e),options:[e,t]}),RE=(e,t)=>({...mE(e),options:[e,t]}),kE=(e,t)=>({...wE(e),options:[e,t]}),PE=(e,t)=>({...vE(e),options:[e,t]}),ME=(e,t)=>({...gE(e),options:[e,t]}),_E=(e,t)=>({...yE(e),options:[e,t]}),TE=(e,t)=>({...EE(e),options:[e,t]});var NE="Arrow",hv=p.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return k.jsx(ze.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:k.jsx("polygon",{points:"0,0 30,0 15,10"})})});hv.displayName=NE;var bE=hv;function LE(e){const[t,n]=p.useState(void 0);return ur(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let l,a;if("borderBoxSize"in i){const s=i.borderBoxSize,u=Array.isArray(s)?s[0]:s;l=u.inlineSize,a=u.blockSize}else l=e.offsetWidth,a=e.offsetHeight;n({width:l,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var Uc="Popper",[mv,Pa]=uo(Uc),[DE,vv]=mv(Uc),gv=e=>{const{__scopePopper:t,children:n}=e,[r,o]=p.useState(null);return k.jsx(DE,{scope:t,anchor:r,onAnchorChange:o,children:n})};gv.displayName=Uc;var yv="PopperAnchor",wv=p.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=vv(yv,n),l=p.useRef(null),a=Ge(t,l);return p.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||l.current)}),r?null:k.jsx(ze.div,{...o,ref:a})});wv.displayName=yv;var $c="PopperContent",[OE,AE]=mv($c),xv=p.forwardRef((e,t)=>{var Be,Ht,et,Vn,ki,Le;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:i="center",alignOffset:l=0,arrowPadding:a=0,avoidCollisions:s=!0,collisionBoundary:u=[],collisionPadding:d=0,sticky:c="partial",hideWhenDetached:f=!1,updatePositionStrategy:y="optimized",onPlaced:g,...v}=e,S=vv($c,n),[m,h]=p.useState(null),w=Ge(t,vt=>h(vt)),[C,P]=p.useState(null),x=LE(C),_=(x==null?void 0:x.width)??0,T=(x==null?void 0:x.height)??0,A=r+(i!=="center"?"-"+i:""),D=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},B=Array.isArray(u)?u:[u],j=B.length>0,Y={padding:D,boundary:B.filter(jE),altBoundary:j},{refs:W,floatingStyles:oe,placement:ne,isPositioned:$,middlewareData:L}=SE({strategy:"fixed",placement:A,whileElementsMounted:(...vt)=>pE(...vt,{animationFrame:y==="always"}),elements:{reference:S.anchor},middleware:[CE({mainAxis:o+T,alignmentAxis:l}),s&&RE({mainAxis:!0,crossAxis:!1,limiter:c==="partial"?kE():void 0,...Y}),s&&PE({...Y}),ME({...Y,apply:({elements:vt,rects:ho,availableWidth:Aa,availableHeight:Kt})=>{const{width:Ia,height:ja}=ho.reference,Hn=vt.floating.style;Hn.setProperty("--radix-popper-available-width",`${Aa}px`),Hn.setProperty("--radix-popper-available-height",`${Kt}px`),Hn.setProperty("--radix-popper-anchor-width",`${Ia}px`),Hn.setProperty("--radix-popper-anchor-height",`${ja}px`)}}),C&&TE({element:C,padding:a}),FE({arrowWidth:_,arrowHeight:T}),f&&_E({strategy:"referenceHidden",...Y})]}),[b,U]=Cv(ne),H=Lt(g);ur(()=>{$&&(H==null||H())},[$,H]);const X=(Be=L.arrow)==null?void 0:Be.x,Ue=(Ht=L.arrow)==null?void 0:Ht.y,ye=((et=L.arrow)==null?void 0:et.centerOffset)!==0,[$e,we]=p.useState();return ur(()=>{m&&we(window.getComputedStyle(m).zIndex)},[m]),k.jsx("div",{ref:W.setFloating,"data-radix-popper-content-wrapper":"",style:{...oe,transform:$?oe.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:$e,"--radix-popper-transform-origin":[(Vn=L.transformOrigin)==null?void 0:Vn.x,(ki=L.transformOrigin)==null?void 0:ki.y].join(" "),...((Le=L.hide)==null?void 0:Le.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:k.jsx(OE,{scope:n,placedSide:b,onArrowChange:P,arrowX:X,arrowY:Ue,shouldHideArrow:ye,children:k.jsx(ze.div,{"data-side":b,"data-align":U,...v,ref:w,style:{...v.style,animation:$?void 0:"none"}})})})});xv.displayName=$c;var Sv="PopperArrow",IE={top:"bottom",right:"left",bottom:"top",left:"right"},Ev=p.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,i=AE(Sv,r),l=IE[i.placedSide];return k.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[l]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:k.jsx(bE,{...o,ref:n,style:{...o.style,display:"block"}})})});Ev.displayName=Sv;function jE(e){return e!==null}var FE=e=>({name:"transformOrigin",options:e,fn(t){var S,m,h;const{placement:n,rects:r,middlewareData:o}=t,l=((S=o.arrow)==null?void 0:S.centerOffset)!==0,a=l?0:e.arrowWidth,s=l?0:e.arrowHeight,[u,d]=Cv(n),c={start:"0%",center:"50%",end:"100%"}[d],f=(((m=o.arrow)==null?void 0:m.x)??0)+a/2,y=(((h=o.arrow)==null?void 0:h.y)??0)+s/2;let g="",v="";return u==="bottom"?(g=l?c:`${f}px`,v=`${-s}px`):u==="top"?(g=l?c:`${f}px`,v=`${r.floating.height+s}px`):u==="right"?(g=`${-s}px`,v=l?c:`${y}px`):u==="left"&&(g=`${r.floating.width+s}px`,v=l?c:`${y}px`),{data:{x:g,y:v}}}});function Cv(e){const[t,n="center"]=e.split("-");return[t,n]}var Rv=gv,kv=wv,Pv=xv,Mv=Ev,zE="Portal",_v=p.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[o,i]=p.useState(!1);ur(()=>i(!0),[]);const l=n||o&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return l?Mm.createPortal(k.jsx(ze.div,{...r,ref:t}),l):null});_v.displayName=zE;function UE(e,t){return p.useReducer((n,r)=>t[n][r]??n,e)}var po=e=>{const{present:t,children:n}=e,r=$E(t),o=typeof n=="function"?n({present:r.isPresent}):p.Children.only(n),i=Ge(r.ref,BE(o));return typeof n=="function"||r.isPresent?p.cloneElement(o,{ref:i}):null};po.displayName="Presence";function $E(e){const[t,n]=p.useState(),r=p.useRef({}),o=p.useRef(e),i=p.useRef("none"),l=e?"mounted":"unmounted",[a,s]=UE(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return p.useEffect(()=>{const u=qi(r.current);i.current=a==="mounted"?u:"none"},[a]),ur(()=>{const u=r.current,d=o.current;if(d!==e){const f=i.current,y=qi(u);e?s("MOUNT"):y==="none"||(u==null?void 0:u.display)==="none"?s("UNMOUNT"):s(d&&f!==y?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,s]),ur(()=>{if(t){const u=c=>{const y=qi(r.current).includes(c.animationName);c.target===t&&y&&io.flushSync(()=>s("ANIMATION_END"))},d=c=>{c.target===t&&(i.current=qi(r.current))};return t.addEventListener("animationstart",d),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",d),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else s("ANIMATION_END")},[t,s]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:p.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function qi(e){return(e==null?void 0:e.animationName)||"none"}function BE(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function Bc({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=WE({defaultProp:t,onChange:n}),i=e!==void 0,l=i?e:r,a=Lt(n),s=p.useCallback(u=>{if(i){const c=typeof u=="function"?u(e):u;c!==e&&a(c)}else o(u)},[i,e,o,a]);return[l,s]}function WE({defaultProp:e,onChange:t}){const n=p.useState(e),[r]=n,o=p.useRef(r),i=Lt(t);return p.useEffect(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}var VE="VisuallyHidden",Tv=p.forwardRef((e,t)=>k.jsx(ze.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));Tv.displayName=VE;var HE=Tv,[Ma,Wk]=uo("Tooltip",[Pa]),_a=Pa(),Nv="TooltipProvider",KE=700,_u="tooltip.open",[GE,Wc]=Ma(Nv),bv=e=>{const{__scopeTooltip:t,delayDuration:n=KE,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:i}=e,[l,a]=p.useState(!0),s=p.useRef(!1),u=p.useRef(0);return p.useEffect(()=>{const d=u.current;return()=>window.clearTimeout(d)},[]),k.jsx(GE,{scope:t,isOpenDelayed:l,delayDuration:n,onOpen:p.useCallback(()=>{window.clearTimeout(u.current),a(!1)},[]),onClose:p.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>a(!0),r)},[r]),isPointerInTransitRef:s,onPointerInTransitChange:p.useCallback(d=>{s.current=d},[]),disableHoverableContent:o,children:i})};bv.displayName=Nv;var Ta="Tooltip",[QE,Na]=Ma(Ta),Lv=e=>{const{__scopeTooltip:t,children:n,open:r,defaultOpen:o=!1,onOpenChange:i,disableHoverableContent:l,delayDuration:a}=e,s=Wc(Ta,e.__scopeTooltip),u=_a(t),[d,c]=p.useState(null),f=Xl(),y=p.useRef(0),g=l??s.disableHoverableContent,v=a??s.delayDuration,S=p.useRef(!1),[m=!1,h]=Bc({prop:r,defaultProp:o,onChange:_=>{_?(s.onOpen(),document.dispatchEvent(new CustomEvent(_u))):s.onClose(),i==null||i(_)}}),w=p.useMemo(()=>m?S.current?"delayed-open":"instant-open":"closed",[m]),C=p.useCallback(()=>{window.clearTimeout(y.current),S.current=!1,h(!0)},[h]),P=p.useCallback(()=>{window.clearTimeout(y.current),h(!1)},[h]),x=p.useCallback(()=>{window.clearTimeout(y.current),y.current=window.setTimeout(()=>{S.current=!0,h(!0)},v)},[v,h]);return p.useEffect(()=>()=>window.clearTimeout(y.current),[]),k.jsx(Rv,{...u,children:k.jsx(QE,{scope:t,contentId:f,open:m,stateAttribute:w,trigger:d,onTriggerChange:c,onTriggerEnter:p.useCallback(()=>{s.isOpenDelayed?x():C()},[s.isOpenDelayed,x,C]),onTriggerLeave:p.useCallback(()=>{g?P():window.clearTimeout(y.current)},[P,g]),onOpen:C,onClose:P,disableHoverableContent:g,children:n})})};Lv.displayName=Ta;var Tu="TooltipTrigger",Dv=p.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=Na(Tu,n),i=Wc(Tu,n),l=_a(n),a=p.useRef(null),s=Ge(t,a,o.onTriggerChange),u=p.useRef(!1),d=p.useRef(!1),c=p.useCallback(()=>u.current=!1,[]);return p.useEffect(()=>()=>document.removeEventListener("pointerup",c),[c]),k.jsx(kv,{asChild:!0,...l,children:k.jsx(ze.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...r,ref:s,onPointerMove:te(e.onPointerMove,f=>{f.pointerType!=="touch"&&!d.current&&!i.isPointerInTransitRef.current&&(o.onTriggerEnter(),d.current=!0)}),onPointerLeave:te(e.onPointerLeave,()=>{o.onTriggerLeave(),d.current=!1}),onPointerDown:te(e.onPointerDown,()=>{u.current=!0,document.addEventListener("pointerup",c,{once:!0})}),onFocus:te(e.onFocus,()=>{u.current||o.onOpen()}),onBlur:te(e.onBlur,o.onClose),onClick:te(e.onClick,o.onClose)})})});Dv.displayName=Tu;var YE="TooltipPortal",[Vk,XE]=Ma(YE,{forceMount:void 0}),to="TooltipContent",Ov=p.forwardRef((e,t)=>{const n=XE(to,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,l=Na(to,e.__scopeTooltip);return k.jsx(po,{present:r||l.open,children:l.disableHoverableContent?k.jsx(Av,{side:o,...i,ref:t}):k.jsx(ZE,{side:o,...i,ref:t})})}),ZE=p.forwardRef((e,t)=>{const n=Na(to,e.__scopeTooltip),r=Wc(to,e.__scopeTooltip),o=p.useRef(null),i=Ge(t,o),[l,a]=p.useState(null),{trigger:s,onClose:u}=n,d=o.current,{onPointerInTransitChange:c}=r,f=p.useCallback(()=>{a(null),c(!1)},[c]),y=p.useCallback((g,v)=>{const S=g.currentTarget,m={x:g.clientX,y:g.clientY},h=tC(m,S.getBoundingClientRect()),w=nC(m,h),C=rC(v.getBoundingClientRect()),P=iC([...w,...C]);a(P),c(!0)},[c]);return p.useEffect(()=>()=>f(),[f]),p.useEffect(()=>{if(s&&d){const g=S=>y(S,d),v=S=>y(S,s);return s.addEventListener("pointerleave",g),d.addEventListener("pointerleave",v),()=>{s.removeEventListener("pointerleave",g),d.removeEventListener("pointerleave",v)}}},[s,d,y,f]),p.useEffect(()=>{if(l){const g=v=>{const S=v.target,m={x:v.clientX,y:v.clientY},h=(s==null?void 0:s.contains(S))||(d==null?void 0:d.contains(S)),w=!oC(m,l);h?f():w&&(f(),u())};return document.addEventListener("pointermove",g),()=>document.removeEventListener("pointermove",g)}},[s,d,l,u,f]),k.jsx(Av,{...e,ref:i})}),[JE,qE]=Ma(Ta,{isInside:!1}),Av=p.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:i,onPointerDownOutside:l,...a}=e,s=Na(to,n),u=_a(n),{onClose:d}=s;return p.useEffect(()=>(document.addEventListener(_u,d),()=>document.removeEventListener(_u,d)),[d]),p.useEffect(()=>{if(s.trigger){const c=f=>{const y=f.target;y!=null&&y.contains(s.trigger)&&d()};return window.addEventListener("scroll",c,{capture:!0}),()=>window.removeEventListener("scroll",c,{capture:!0})}},[s.trigger,d]),k.jsx(Dc,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:l,onFocusOutside:c=>c.preventDefault(),onDismiss:d,children:k.jsxs(Pv,{"data-state":s.stateAttribute,...u,...a,ref:t,style:{...a.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[k.jsx(Km,{children:r}),k.jsx(JE,{scope:n,isInside:!0,children:k.jsx(HE,{id:s.contentId,role:"tooltip",children:o||r})})]})})});Ov.displayName=to;var Iv="TooltipArrow",eC=p.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=_a(n);return qE(Iv,n).isInside?null:k.jsx(Mv,{...o,...r,ref:t})});eC.displayName=Iv;function tC(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function nC(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function rC(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function oC(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,l=t.length-1;ir!=d>r&&n<(u-a)*(r-s)/(d-s)+a&&(o=!o)}return o}function iC(e){const t=e.slice();return t.sort((n,r)=>n.xr.x?1:n.yr.y?1:0),lC(t)}function lC(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r=2;){const i=t[t.length-1],l=t[t.length-2];if((i.x-l.x)*(o.y-l.y)>=(i.y-l.y)*(o.x-l.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const i=n[n.length-1],l=n[n.length-2];if((i.x-l.x)*(o.y-l.y)>=(i.y-l.y)*(o.x-l.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var aC=bv,sC=Lv,uC=Dv,jv=Ov;const cC=aC,dC=sC,fC=uC,Fv=p.forwardRef(({className:e,sideOffset:t=4,...n},r)=>k.jsx(jv,{ref:r,sideOffset:t,className:Vt("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));Fv.displayName=jv.displayName;const zv=({children:e,label:t,asChild:n,side:r,align:o})=>k.jsx(cC,{delayDuration:0,children:k.jsxs(dC,{children:[k.jsx(fC,{asChild:n,children:e}),k.jsx(Fv,{side:r,align:o,children:k.jsx("p",{children:t})})]})}),pC=[{label:"About",href:""},{label:"Skills",href:""},{label:"Experience",href:""},{label:"Projects",href:""},{label:"Education",href:""},{label:"Contact",href:""}],hC=()=>k.jsxs("nav",{className:"flex-center lg:px-4",children:[k.jsx("ul",{className:"hidden lg:flex-center gap-x-10",children:pC.map((e,t)=>k.jsx("li",{className:"capitalize text-sm font-semibold leading-none hover:scale-95 transition-all cursor-pointer hover:drop-shadow-glow hover:text-accent",children:e.label},`${e.label}-${t}`))}),k.jsx(zv,{asChild:!0,label:"Menu",children:k.jsx(Ca,{variant:"ghost",size:"icon",className:"lg:hidden hover:drop-shadow-glow",children:k.jsx(yS,{className:"w-6 h-6"})})})]}),mC=()=>k.jsx("header",{className:"h-14 flex-center bg-light-background border-b px-4 md:px-8 lg:px-0",children:k.jsxs("div",{className:"flex-between h-full w-full max-w-screen-lg",children:[k.jsx(dS,{}),k.jsx(hC,{}),k.jsx(lS,{})]})});function Uv(e){const t=e+"CollectionProvider",[n,r]=uo(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),l=y=>{const{scope:g,children:v}=y,S=Xt.useRef(null),m=Xt.useRef(new Map).current;return k.jsx(o,{scope:g,itemMap:m,collectionRef:S,children:v})};l.displayName=t;const a=e+"CollectionSlot",s=Xt.forwardRef((y,g)=>{const{scope:v,children:S}=y,m=i(a,v),h=Ge(g,m.collectionRef);return k.jsx(qr,{ref:h,children:S})});s.displayName=a;const u=e+"CollectionItemSlot",d="data-radix-collection-item",c=Xt.forwardRef((y,g)=>{const{scope:v,children:S,...m}=y,h=Xt.useRef(null),w=Ge(g,h),C=i(u,v);return Xt.useEffect(()=>(C.itemMap.set(h,{ref:h,...m}),()=>void C.itemMap.delete(h))),k.jsx(qr,{[d]:"",ref:w,children:S})});c.displayName=u;function f(y){const g=i(e+"CollectionConsumer",y);return Xt.useCallback(()=>{const S=g.collectionRef.current;if(!S)return[];const m=Array.from(S.querySelectorAll(`[${d}]`));return Array.from(g.itemMap.values()).sort((C,P)=>m.indexOf(C.ref.current)-m.indexOf(P.ref.current))},[g.collectionRef,g.itemMap])}return[{Provider:l,Slot:s,ItemSlot:c},f,r]}var vC=p.createContext(void 0);function $v(e){const t=p.useContext(vC);return e||t||"ltr"}var gs=0;function gC(){p.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??tp()),document.body.insertAdjacentElement("beforeend",e[1]??tp()),gs++,()=>{gs===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),gs--}},[])}function tp(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var ys="focusScope.autoFocusOnMount",ws="focusScope.autoFocusOnUnmount",np={bubbles:!1,cancelable:!0},yC="FocusScope",Bv=p.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...l}=e,[a,s]=p.useState(null),u=Lt(o),d=Lt(i),c=p.useRef(null),f=Ge(t,v=>s(v)),y=p.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;p.useEffect(()=>{if(r){let v=function(w){if(y.paused||!a)return;const C=w.target;a.contains(C)?c.current=C:wn(c.current,{select:!0})},S=function(w){if(y.paused||!a)return;const C=w.relatedTarget;C!==null&&(a.contains(C)||wn(c.current,{select:!0}))},m=function(w){if(document.activeElement===document.body)for(const P of w)P.removedNodes.length>0&&wn(a)};document.addEventListener("focusin",v),document.addEventListener("focusout",S);const h=new MutationObserver(m);return a&&h.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",v),document.removeEventListener("focusout",S),h.disconnect()}}},[r,a,y.paused]),p.useEffect(()=>{if(a){op.add(y);const v=document.activeElement;if(!a.contains(v)){const m=new CustomEvent(ys,np);a.addEventListener(ys,u),a.dispatchEvent(m),m.defaultPrevented||(wC(RC(Wv(a)),{select:!0}),document.activeElement===v&&wn(a))}return()=>{a.removeEventListener(ys,u),setTimeout(()=>{const m=new CustomEvent(ws,np);a.addEventListener(ws,d),a.dispatchEvent(m),m.defaultPrevented||wn(v??document.body,{select:!0}),a.removeEventListener(ws,d),op.remove(y)},0)}}},[a,u,d,y]);const g=p.useCallback(v=>{if(!n&&!r||y.paused)return;const S=v.key==="Tab"&&!v.altKey&&!v.ctrlKey&&!v.metaKey,m=document.activeElement;if(S&&m){const h=v.currentTarget,[w,C]=xC(h);w&&C?!v.shiftKey&&m===C?(v.preventDefault(),n&&wn(w,{select:!0})):v.shiftKey&&m===w&&(v.preventDefault(),n&&wn(C,{select:!0})):m===h&&v.preventDefault()}},[n,r,y.paused]);return k.jsx(ze.div,{tabIndex:-1,...l,ref:f,onKeyDown:g})});Bv.displayName=yC;function wC(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(wn(r,{select:t}),document.activeElement!==n)return}function xC(e){const t=Wv(e),n=rp(t,e),r=rp(t.reverse(),e);return[n,r]}function Wv(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function rp(e,t){for(const n of e)if(!SC(n,{upTo:t}))return n}function SC(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function EC(e){return e instanceof HTMLInputElement&&"select"in e}function wn(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&EC(e)&&t&&e.select()}}var op=CC();function CC(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=ip(e,t),e.unshift(t)},remove(t){var n;e=ip(e,t),(n=e[0])==null||n.resume()}}}function ip(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function RC(e){return e.filter(t=>t.tagName!=="A")}var xs="rovingFocusGroup.onEntryFocus",kC={bubbles:!1,cancelable:!0},ba="RovingFocusGroup",[Nu,Vv,PC]=Uv(ba),[MC,Hv]=uo(ba,[PC]),[_C,TC]=MC(ba),Kv=p.forwardRef((e,t)=>k.jsx(Nu.Provider,{scope:e.__scopeRovingFocusGroup,children:k.jsx(Nu.Slot,{scope:e.__scopeRovingFocusGroup,children:k.jsx(NC,{...e,ref:t})})}));Kv.displayName=ba;var NC=p.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:i,currentTabStopId:l,defaultCurrentTabStopId:a,onCurrentTabStopIdChange:s,onEntryFocus:u,preventScrollOnEntryFocus:d=!1,...c}=e,f=p.useRef(null),y=Ge(t,f),g=$v(i),[v=null,S]=Bc({prop:l,defaultProp:a,onChange:s}),[m,h]=p.useState(!1),w=Lt(u),C=Vv(n),P=p.useRef(!1),[x,_]=p.useState(0);return p.useEffect(()=>{const T=f.current;if(T)return T.addEventListener(xs,w),()=>T.removeEventListener(xs,w)},[w]),k.jsx(_C,{scope:n,orientation:r,dir:g,loop:o,currentTabStopId:v,onItemFocus:p.useCallback(T=>S(T),[S]),onItemShiftTab:p.useCallback(()=>h(!0),[]),onFocusableItemAdd:p.useCallback(()=>_(T=>T+1),[]),onFocusableItemRemove:p.useCallback(()=>_(T=>T-1),[]),children:k.jsx(ze.div,{tabIndex:m||x===0?-1:0,"data-orientation":r,...c,ref:y,style:{outline:"none",...e.style},onMouseDown:te(e.onMouseDown,()=>{P.current=!0}),onFocus:te(e.onFocus,T=>{const A=!P.current;if(T.target===T.currentTarget&&A&&!m){const D=new CustomEvent(xs,kC);if(T.currentTarget.dispatchEvent(D),!D.defaultPrevented){const B=C().filter(ne=>ne.focusable),j=B.find(ne=>ne.active),Y=B.find(ne=>ne.id===v),oe=[j,Y,...B].filter(Boolean).map(ne=>ne.ref.current);Yv(oe,d)}}P.current=!1}),onBlur:te(e.onBlur,()=>h(!1))})})}),Gv="RovingFocusGroupItem",Qv=p.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:i,...l}=e,a=Xl(),s=i||a,u=TC(Gv,n),d=u.currentTabStopId===s,c=Vv(n),{onFocusableItemAdd:f,onFocusableItemRemove:y}=u;return p.useEffect(()=>{if(r)return f(),()=>y()},[r,f,y]),k.jsx(Nu.ItemSlot,{scope:n,id:s,focusable:r,active:o,children:k.jsx(ze.span,{tabIndex:d?0:-1,"data-orientation":u.orientation,...l,ref:t,onMouseDown:te(e.onMouseDown,g=>{r?u.onItemFocus(s):g.preventDefault()}),onFocus:te(e.onFocus,()=>u.onItemFocus(s)),onKeyDown:te(e.onKeyDown,g=>{if(g.key==="Tab"&&g.shiftKey){u.onItemShiftTab();return}if(g.target!==g.currentTarget)return;const v=DC(g,u.orientation,u.dir);if(v!==void 0){if(g.metaKey||g.ctrlKey||g.altKey||g.shiftKey)return;g.preventDefault();let m=c().filter(h=>h.focusable).map(h=>h.ref.current);if(v==="last")m.reverse();else if(v==="prev"||v==="next"){v==="prev"&&m.reverse();const h=m.indexOf(g.currentTarget);m=u.loop?OC(m,h+1):m.slice(h+1)}setTimeout(()=>Yv(m))}})})})});Qv.displayName=Gv;var bC={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function LC(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function DC(e,t,n){const r=LC(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return bC[r]}function Yv(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function OC(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var AC=Kv,IC=Qv,jC=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Sr=new WeakMap,el=new WeakMap,tl={},Ss=0,Xv=function(e){return e&&(e.host||Xv(e.parentNode))},FC=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Xv(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},zC=function(e,t,n,r){var o=FC(t,Array.isArray(e)?e:[e]);tl[n]||(tl[n]=new WeakMap);var i=tl[n],l=[],a=new Set,s=new Set(o),u=function(c){!c||a.has(c)||(a.add(c),u(c.parentNode))};o.forEach(u);var d=function(c){!c||s.has(c)||Array.prototype.forEach.call(c.children,function(f){if(a.has(f))d(f);else try{var y=f.getAttribute(r),g=y!==null&&y!=="false",v=(Sr.get(f)||0)+1,S=(i.get(f)||0)+1;Sr.set(f,v),i.set(f,S),l.push(f),v===1&&g&&el.set(f,!0),S===1&&f.setAttribute(n,"true"),g||f.setAttribute(r,"true")}catch(m){console.error("aria-hidden: cannot operate on ",f,m)}})};return d(t),a.clear(),Ss++,function(){l.forEach(function(c){var f=Sr.get(c)-1,y=i.get(c)-1;Sr.set(c,f),i.set(c,y),f||(el.has(c)||c.removeAttribute(r),el.delete(c)),y||c.removeAttribute(n)}),Ss--,Ss||(Sr=new WeakMap,Sr=new WeakMap,el=new WeakMap,tl={})}},UC=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=jC(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),zC(r,o,n,"aria-hidden")):function(){return null}},zt=function(){return zt=Object.assign||function(t){for(var n,r=1,o=arguments.length;r"u")return rR;var t=oR(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},lR=eg(),Vr="data-scroll-locked",aR=function(e,t,n,r){var o=e.left,i=e.top,l=e.right,a=e.gap;return n===void 0&&(n="margin"),` + .`.concat(BC,` { + overflow: hidden `).concat(r,`; + padding-right: `).concat(a,"px ").concat(r,`; + } + body[`).concat(Vr,`] { + overflow: hidden `).concat(r,`; + overscroll-behavior: contain; + `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&` + padding-left: `.concat(o,`px; + padding-top: `).concat(i,`px; + padding-right: `).concat(l,`px; + margin-left:0; + margin-top:0; + margin-right: `).concat(a,"px ").concat(r,`; + `),n==="padding"&&"padding-right: ".concat(a,"px ").concat(r,";")].filter(Boolean).join(""),` + } + + .`).concat(wl,` { + right: `).concat(a,"px ").concat(r,`; + } + + .`).concat(xl,` { + margin-right: `).concat(a,"px ").concat(r,`; + } + + .`).concat(wl," .").concat(wl,` { + right: 0 `).concat(r,`; + } + + .`).concat(xl," .").concat(xl,` { + margin-right: 0 `).concat(r,`; + } + + body[`).concat(Vr,`] { + `).concat(WC,": ").concat(a,`px; + } +`)},ap=function(){var e=parseInt(document.body.getAttribute(Vr)||"0",10);return isFinite(e)?e:0},sR=function(){p.useEffect(function(){return document.body.setAttribute(Vr,(ap()+1).toString()),function(){var e=ap()-1;e<=0?document.body.removeAttribute(Vr):document.body.setAttribute(Vr,e.toString())}},[])},uR=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;sR();var i=p.useMemo(function(){return iR(o)},[o]);return p.createElement(lR,{styles:aR(i,!t,o,n?"":"!important")})},bu=!1;if(typeof window<"u")try{var nl=Object.defineProperty({},"passive",{get:function(){return bu=!0,!0}});window.addEventListener("test",nl,nl),window.removeEventListener("test",nl,nl)}catch{bu=!1}var Er=bu?{passive:!1}:!1,cR=function(e){return e.tagName==="TEXTAREA"},tg=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!cR(e)&&n[t]==="visible")},dR=function(e){return tg(e,"overflowY")},fR=function(e){return tg(e,"overflowX")},sp=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=ng(e,r);if(o){var i=rg(e,r),l=i[1],a=i[2];if(l>a)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},pR=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},hR=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},ng=function(e,t){return e==="v"?dR(t):fR(t)},rg=function(e,t){return e==="v"?pR(t):hR(t)},mR=function(e,t){return e==="h"&&t==="rtl"?-1:1},vR=function(e,t,n,r,o){var i=mR(e,window.getComputedStyle(t).direction),l=i*r,a=n.target,s=t.contains(a),u=!1,d=l>0,c=0,f=0;do{var y=rg(e,a),g=y[0],v=y[1],S=y[2],m=v-S-i*g;(g||m)&&ng(e,a)&&(c+=m,f+=g),a instanceof ShadowRoot?a=a.host:a=a.parentNode}while(!s&&a!==document.body||s&&(t.contains(a)||t===a));return(d&&(Math.abs(c)<1||!o)||!d&&(Math.abs(f)<1||!o))&&(u=!0),u},rl=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},up=function(e){return[e.deltaX,e.deltaY]},cp=function(e){return e&&"current"in e?e.current:e},gR=function(e,t){return e[0]===t[0]&&e[1]===t[1]},yR=function(e){return` + .block-interactivity-`.concat(e,` {pointer-events: none;} + .allow-interactivity-`).concat(e,` {pointer-events: all;} +`)},wR=0,Cr=[];function xR(e){var t=p.useRef([]),n=p.useRef([0,0]),r=p.useRef(),o=p.useState(wR++)[0],i=p.useState(eg)[0],l=p.useRef(e);p.useEffect(function(){l.current=e},[e]),p.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var v=$C([e.lockRef.current],(e.shards||[]).map(cp),!0).filter(Boolean);return v.forEach(function(S){return S.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),v.forEach(function(S){return S.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var a=p.useCallback(function(v,S){if("touches"in v&&v.touches.length===2)return!l.current.allowPinchZoom;var m=rl(v),h=n.current,w="deltaX"in v?v.deltaX:h[0]-m[0],C="deltaY"in v?v.deltaY:h[1]-m[1],P,x=v.target,_=Math.abs(w)>Math.abs(C)?"h":"v";if("touches"in v&&_==="h"&&x.type==="range")return!1;var T=sp(_,x);if(!T)return!0;if(T?P=_:(P=_==="v"?"h":"v",T=sp(_,x)),!T)return!1;if(!r.current&&"changedTouches"in v&&(w||C)&&(r.current=P),!P)return!0;var A=r.current||P;return vR(A,S,v,A==="h"?w:C,!0)},[]),s=p.useCallback(function(v){var S=v;if(!(!Cr.length||Cr[Cr.length-1]!==i)){var m="deltaY"in S?up(S):rl(S),h=t.current.filter(function(P){return P.name===S.type&&(P.target===S.target||S.target===P.shadowParent)&&gR(P.delta,m)})[0];if(h&&h.should){S.cancelable&&S.preventDefault();return}if(!h){var w=(l.current.shards||[]).map(cp).filter(Boolean).filter(function(P){return P.contains(S.target)}),C=w.length>0?a(S,w[0]):!l.current.noIsolation;C&&S.cancelable&&S.preventDefault()}}},[]),u=p.useCallback(function(v,S,m,h){var w={name:v,delta:S,target:m,should:h,shadowParent:SR(m)};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(C){return C!==w})},1)},[]),d=p.useCallback(function(v){n.current=rl(v),r.current=void 0},[]),c=p.useCallback(function(v){u(v.type,up(v),v.target,a(v,e.lockRef.current))},[]),f=p.useCallback(function(v){u(v.type,rl(v),v.target,a(v,e.lockRef.current))},[]);p.useEffect(function(){return Cr.push(i),e.setCallbacks({onScrollCapture:c,onWheelCapture:c,onTouchMoveCapture:f}),document.addEventListener("wheel",s,Er),document.addEventListener("touchmove",s,Er),document.addEventListener("touchstart",d,Er),function(){Cr=Cr.filter(function(v){return v!==i}),document.removeEventListener("wheel",s,Er),document.removeEventListener("touchmove",s,Er),document.removeEventListener("touchstart",d,Er)}},[]);var y=e.removeScrollBar,g=e.inert;return p.createElement(p.Fragment,null,g?p.createElement(i,{styles:yR(o)}):null,y?p.createElement(uR,{gapMode:e.gapMode}):null)}function SR(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const ER=XC(qv,xR);var og=p.forwardRef(function(e,t){return p.createElement(La,zt({},e,{ref:t,sideCar:ER}))});og.classNames=La.classNames;var Lu=["Enter"," "],CR=["ArrowDown","PageUp","Home"],ig=["ArrowUp","PageDown","End"],RR=[...CR,...ig],kR={ltr:[...Lu,"ArrowRight"],rtl:[...Lu,"ArrowLeft"]},PR={ltr:["ArrowLeft"],rtl:["ArrowRight"]},Ci="Menu",[hi,MR,_R]=Uv(Ci),[hr,lg]=uo(Ci,[_R,Pa,Hv]),Da=Pa(),ag=Hv(),[TR,mr]=hr(Ci),[NR,Ri]=hr(Ci),sg=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:o,onOpenChange:i,modal:l=!0}=e,a=Da(t),[s,u]=p.useState(null),d=p.useRef(!1),c=Lt(i),f=$v(o);return p.useEffect(()=>{const y=()=>{d.current=!0,document.addEventListener("pointerdown",g,{capture:!0,once:!0}),document.addEventListener("pointermove",g,{capture:!0,once:!0})},g=()=>d.current=!1;return document.addEventListener("keydown",y,{capture:!0}),()=>{document.removeEventListener("keydown",y,{capture:!0}),document.removeEventListener("pointerdown",g,{capture:!0}),document.removeEventListener("pointermove",g,{capture:!0})}},[]),k.jsx(Rv,{...a,children:k.jsx(TR,{scope:t,open:n,onOpenChange:c,content:s,onContentChange:u,children:k.jsx(NR,{scope:t,onClose:p.useCallback(()=>c(!1),[c]),isUsingKeyboardRef:d,dir:f,modal:l,children:r})})})};sg.displayName=Ci;var bR="MenuAnchor",Vc=p.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,o=Da(n);return k.jsx(kv,{...o,...r,ref:t})});Vc.displayName=bR;var Hc="MenuPortal",[LR,ug]=hr(Hc,{forceMount:void 0}),cg=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:o}=e,i=mr(Hc,t);return k.jsx(LR,{scope:t,forceMount:n,children:k.jsx(po,{present:n||i.open,children:k.jsx(_v,{asChild:!0,container:o,children:r})})})};cg.displayName=Hc;var St="MenuContent",[DR,Kc]=hr(St),dg=p.forwardRef((e,t)=>{const n=ug(St,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=mr(St,e.__scopeMenu),l=Ri(St,e.__scopeMenu);return k.jsx(hi.Provider,{scope:e.__scopeMenu,children:k.jsx(po,{present:r||i.open,children:k.jsx(hi.Slot,{scope:e.__scopeMenu,children:l.modal?k.jsx(OR,{...o,ref:t}):k.jsx(AR,{...o,ref:t})})})})}),OR=p.forwardRef((e,t)=>{const n=mr(St,e.__scopeMenu),r=p.useRef(null),o=Ge(t,r);return p.useEffect(()=>{const i=r.current;if(i)return UC(i)},[]),k.jsx(Gc,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:te(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),AR=p.forwardRef((e,t)=>{const n=mr(St,e.__scopeMenu);return k.jsx(Gc,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),Gc=p.forwardRef((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:l,disableOutsidePointerEvents:a,onEntryFocus:s,onEscapeKeyDown:u,onPointerDownOutside:d,onFocusOutside:c,onInteractOutside:f,onDismiss:y,disableOutsideScroll:g,...v}=e,S=mr(St,n),m=Ri(St,n),h=Da(n),w=ag(n),C=MR(n),[P,x]=p.useState(null),_=p.useRef(null),T=Ge(t,_,S.onContentChange),A=p.useRef(0),D=p.useRef(""),B=p.useRef(0),j=p.useRef(null),Y=p.useRef("right"),W=p.useRef(0),oe=g?og:p.Fragment,ne=g?{as:qr,allowPinchZoom:!0}:void 0,$=b=>{var Be,Ht;const U=D.current+b,H=C().filter(et=>!et.disabled),X=document.activeElement,Ue=(Be=H.find(et=>et.ref.current===X))==null?void 0:Be.textValue,ye=H.map(et=>et.textValue),$e=GR(ye,U,Ue),we=(Ht=H.find(et=>et.textValue===$e))==null?void 0:Ht.ref.current;(function et(Vn){D.current=Vn,window.clearTimeout(A.current),Vn!==""&&(A.current=window.setTimeout(()=>et(""),1e3))})(U),we&&setTimeout(()=>we.focus())};p.useEffect(()=>()=>window.clearTimeout(A.current),[]),gC();const L=p.useCallback(b=>{var H,X;return Y.current===((H=j.current)==null?void 0:H.side)&&YR(b,(X=j.current)==null?void 0:X.area)},[]);return k.jsx(DR,{scope:n,searchRef:D,onItemEnter:p.useCallback(b=>{L(b)&&b.preventDefault()},[L]),onItemLeave:p.useCallback(b=>{var U;L(b)||((U=_.current)==null||U.focus(),x(null))},[L]),onTriggerLeave:p.useCallback(b=>{L(b)&&b.preventDefault()},[L]),pointerGraceTimerRef:B,onPointerGraceIntentChange:p.useCallback(b=>{j.current=b},[]),children:k.jsx(oe,{...ne,children:k.jsx(Bv,{asChild:!0,trapped:o,onMountAutoFocus:te(i,b=>{var U;b.preventDefault(),(U=_.current)==null||U.focus({preventScroll:!0})}),onUnmountAutoFocus:l,children:k.jsx(Dc,{asChild:!0,disableOutsidePointerEvents:a,onEscapeKeyDown:u,onPointerDownOutside:d,onFocusOutside:c,onInteractOutside:f,onDismiss:y,children:k.jsx(AC,{asChild:!0,...w,dir:m.dir,orientation:"vertical",loop:r,currentTabStopId:P,onCurrentTabStopIdChange:x,onEntryFocus:te(s,b=>{m.isUsingKeyboardRef.current||b.preventDefault()}),preventScrollOnEntryFocus:!0,children:k.jsx(Pv,{role:"menu","aria-orientation":"vertical","data-state":Mg(S.open),"data-radix-menu-content":"",dir:m.dir,...h,...v,ref:T,style:{outline:"none",...v.style},onKeyDown:te(v.onKeyDown,b=>{const H=b.target.closest("[data-radix-menu-content]")===b.currentTarget,X=b.ctrlKey||b.altKey||b.metaKey,Ue=b.key.length===1;H&&(b.key==="Tab"&&b.preventDefault(),!X&&Ue&&$(b.key));const ye=_.current;if(b.target!==ye||!RR.includes(b.key))return;b.preventDefault();const we=C().filter(Be=>!Be.disabled).map(Be=>Be.ref.current);ig.includes(b.key)&&we.reverse(),HR(we)}),onBlur:te(e.onBlur,b=>{b.currentTarget.contains(b.target)||(window.clearTimeout(A.current),D.current="")}),onPointerMove:te(e.onPointerMove,mi(b=>{const U=b.target,H=W.current!==b.clientX;if(b.currentTarget.contains(U)&&H){const X=b.clientX>W.current?"right":"left";Y.current=X,W.current=b.clientX}}))})})})})})})});dg.displayName=St;var IR="MenuGroup",Qc=p.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return k.jsx(ze.div,{role:"group",...r,ref:t})});Qc.displayName=IR;var jR="MenuLabel",fg=p.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return k.jsx(ze.div,{...r,ref:t})});fg.displayName=jR;var ta="MenuItem",dp="menu.itemSelect",Oa=p.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...o}=e,i=p.useRef(null),l=Ri(ta,e.__scopeMenu),a=Kc(ta,e.__scopeMenu),s=Ge(t,i),u=p.useRef(!1),d=()=>{const c=i.current;if(!n&&c){const f=new CustomEvent(dp,{bubbles:!0,cancelable:!0});c.addEventListener(dp,y=>r==null?void 0:r(y),{once:!0}),nv(c,f),f.defaultPrevented?u.current=!1:l.onClose()}};return k.jsx(pg,{...o,ref:s,disabled:n,onClick:te(e.onClick,d),onPointerDown:c=>{var f;(f=e.onPointerDown)==null||f.call(e,c),u.current=!0},onPointerUp:te(e.onPointerUp,c=>{var f;u.current||(f=c.currentTarget)==null||f.click()}),onKeyDown:te(e.onKeyDown,c=>{const f=a.searchRef.current!=="";n||f&&c.key===" "||Lu.includes(c.key)&&(c.currentTarget.click(),c.preventDefault())})})});Oa.displayName=ta;var pg=p.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:o,...i}=e,l=Kc(ta,n),a=ag(n),s=p.useRef(null),u=Ge(t,s),[d,c]=p.useState(!1),[f,y]=p.useState("");return p.useEffect(()=>{const g=s.current;g&&y((g.textContent??"").trim())},[i.children]),k.jsx(hi.ItemSlot,{scope:n,disabled:r,textValue:o??f,children:k.jsx(IC,{asChild:!0,...a,focusable:!r,children:k.jsx(ze.div,{role:"menuitem","data-highlighted":d?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0,...i,ref:u,onPointerMove:te(e.onPointerMove,mi(g=>{r?l.onItemLeave(g):(l.onItemEnter(g),g.defaultPrevented||g.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:te(e.onPointerLeave,mi(g=>l.onItemLeave(g))),onFocus:te(e.onFocus,()=>c(!0)),onBlur:te(e.onBlur,()=>c(!1))})})})}),FR="MenuCheckboxItem",hg=p.forwardRef((e,t)=>{const{checked:n=!1,onCheckedChange:r,...o}=e;return k.jsx(wg,{scope:e.__scopeMenu,checked:n,children:k.jsx(Oa,{role:"menuitemcheckbox","aria-checked":na(n)?"mixed":n,...o,ref:t,"data-state":Xc(n),onSelect:te(o.onSelect,()=>r==null?void 0:r(na(n)?!0:!n),{checkForDefaultPrevented:!1})})})});hg.displayName=FR;var mg="MenuRadioGroup",[zR,UR]=hr(mg,{value:void 0,onValueChange:()=>{}}),vg=p.forwardRef((e,t)=>{const{value:n,onValueChange:r,...o}=e,i=Lt(r);return k.jsx(zR,{scope:e.__scopeMenu,value:n,onValueChange:i,children:k.jsx(Qc,{...o,ref:t})})});vg.displayName=mg;var gg="MenuRadioItem",yg=p.forwardRef((e,t)=>{const{value:n,...r}=e,o=UR(gg,e.__scopeMenu),i=n===o.value;return k.jsx(wg,{scope:e.__scopeMenu,checked:i,children:k.jsx(Oa,{role:"menuitemradio","aria-checked":i,...r,ref:t,"data-state":Xc(i),onSelect:te(r.onSelect,()=>{var l;return(l=o.onValueChange)==null?void 0:l.call(o,n)},{checkForDefaultPrevented:!1})})})});yg.displayName=gg;var Yc="MenuItemIndicator",[wg,$R]=hr(Yc,{checked:!1}),xg=p.forwardRef((e,t)=>{const{__scopeMenu:n,forceMount:r,...o}=e,i=$R(Yc,n);return k.jsx(po,{present:r||na(i.checked)||i.checked===!0,children:k.jsx(ze.span,{...o,ref:t,"data-state":Xc(i.checked)})})});xg.displayName=Yc;var BR="MenuSeparator",Sg=p.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return k.jsx(ze.div,{role:"separator","aria-orientation":"horizontal",...r,ref:t})});Sg.displayName=BR;var WR="MenuArrow",Eg=p.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,o=Da(n);return k.jsx(Mv,{...o,...r,ref:t})});Eg.displayName=WR;var VR="MenuSub",[Hk,Cg]=hr(VR),Io="MenuSubTrigger",Rg=p.forwardRef((e,t)=>{const n=mr(Io,e.__scopeMenu),r=Ri(Io,e.__scopeMenu),o=Cg(Io,e.__scopeMenu),i=Kc(Io,e.__scopeMenu),l=p.useRef(null),{pointerGraceTimerRef:a,onPointerGraceIntentChange:s}=i,u={__scopeMenu:e.__scopeMenu},d=p.useCallback(()=>{l.current&&window.clearTimeout(l.current),l.current=null},[]);return p.useEffect(()=>d,[d]),p.useEffect(()=>{const c=a.current;return()=>{window.clearTimeout(c),s(null)}},[a,s]),k.jsx(Vc,{asChild:!0,...u,children:k.jsx(pg,{id:o.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":o.contentId,"data-state":Mg(n.open),...e,ref:Ea(t,o.onTriggerChange),onClick:c=>{var f;(f=e.onClick)==null||f.call(e,c),!(e.disabled||c.defaultPrevented)&&(c.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:te(e.onPointerMove,mi(c=>{i.onItemEnter(c),!c.defaultPrevented&&!e.disabled&&!n.open&&!l.current&&(i.onPointerGraceIntentChange(null),l.current=window.setTimeout(()=>{n.onOpenChange(!0),d()},100))})),onPointerLeave:te(e.onPointerLeave,mi(c=>{var y,g;d();const f=(y=n.content)==null?void 0:y.getBoundingClientRect();if(f){const v=(g=n.content)==null?void 0:g.dataset.side,S=v==="right",m=S?-5:5,h=f[S?"left":"right"],w=f[S?"right":"left"];i.onPointerGraceIntentChange({area:[{x:c.clientX+m,y:c.clientY},{x:h,y:f.top},{x:w,y:f.top},{x:w,y:f.bottom},{x:h,y:f.bottom}],side:v}),window.clearTimeout(a.current),a.current=window.setTimeout(()=>i.onPointerGraceIntentChange(null),300)}else{if(i.onTriggerLeave(c),c.defaultPrevented)return;i.onPointerGraceIntentChange(null)}})),onKeyDown:te(e.onKeyDown,c=>{var y;const f=i.searchRef.current!=="";e.disabled||f&&c.key===" "||kR[r.dir].includes(c.key)&&(n.onOpenChange(!0),(y=n.content)==null||y.focus(),c.preventDefault())})})})});Rg.displayName=Io;var kg="MenuSubContent",Pg=p.forwardRef((e,t)=>{const n=ug(St,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=mr(St,e.__scopeMenu),l=Ri(St,e.__scopeMenu),a=Cg(kg,e.__scopeMenu),s=p.useRef(null),u=Ge(t,s);return k.jsx(hi.Provider,{scope:e.__scopeMenu,children:k.jsx(po,{present:r||i.open,children:k.jsx(hi.Slot,{scope:e.__scopeMenu,children:k.jsx(Gc,{id:a.contentId,"aria-labelledby":a.triggerId,...o,ref:u,align:"start",side:l.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:d=>{var c;l.isUsingKeyboardRef.current&&((c=s.current)==null||c.focus()),d.preventDefault()},onCloseAutoFocus:d=>d.preventDefault(),onFocusOutside:te(e.onFocusOutside,d=>{d.target!==a.trigger&&i.onOpenChange(!1)}),onEscapeKeyDown:te(e.onEscapeKeyDown,d=>{l.onClose(),d.preventDefault()}),onKeyDown:te(e.onKeyDown,d=>{var y;const c=d.currentTarget.contains(d.target),f=PR[l.dir].includes(d.key);c&&f&&(i.onOpenChange(!1),(y=a.trigger)==null||y.focus(),d.preventDefault())})})})})})});Pg.displayName=kg;function Mg(e){return e?"open":"closed"}function na(e){return e==="indeterminate"}function Xc(e){return na(e)?"indeterminate":e?"checked":"unchecked"}function HR(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function KR(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function GR(e,t,n){const o=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,i=n?e.indexOf(n):-1;let l=KR(e,Math.max(i,0));o.length===1&&(l=l.filter(u=>u!==n));const s=l.find(u=>u.toLowerCase().startsWith(o.toLowerCase()));return s!==n?s:void 0}function QR(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,l=t.length-1;ir!=d>r&&n<(u-a)*(r-s)/(d-s)+a&&(o=!o)}return o}function YR(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return QR(n,t)}function mi(e){return t=>t.pointerType==="mouse"?e(t):void 0}var XR=sg,ZR=Vc,JR=cg,qR=dg,ek=Qc,tk=fg,nk=Oa,rk=hg,ok=vg,ik=yg,lk=xg,ak=Sg,sk=Eg,uk=Rg,ck=Pg,Zc="DropdownMenu",[dk,Kk]=uo(Zc,[lg]),qe=lg(),[fk,_g]=dk(Zc),Tg=e=>{const{__scopeDropdownMenu:t,children:n,dir:r,open:o,defaultOpen:i,onOpenChange:l,modal:a=!0}=e,s=qe(t),u=p.useRef(null),[d=!1,c]=Bc({prop:o,defaultProp:i,onChange:l});return k.jsx(fk,{scope:t,triggerId:Xl(),triggerRef:u,contentId:Xl(),open:d,onOpenChange:c,onOpenToggle:p.useCallback(()=>c(f=>!f),[c]),modal:a,children:k.jsx(XR,{...s,open:d,onOpenChange:c,dir:r,modal:a,children:n})})};Tg.displayName=Zc;var Ng="DropdownMenuTrigger",bg=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,disabled:r=!1,...o}=e,i=_g(Ng,n),l=qe(n);return k.jsx(ZR,{asChild:!0,...l,children:k.jsx(ze.button,{type:"button",id:i.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":i.open?"open":"closed","data-disabled":r?"":void 0,disabled:r,...o,ref:Ea(t,i.triggerRef),onPointerDown:te(e.onPointerDown,a=>{!r&&a.button===0&&a.ctrlKey===!1&&(i.onOpenToggle(),i.open||a.preventDefault())}),onKeyDown:te(e.onKeyDown,a=>{r||(["Enter"," "].includes(a.key)&&i.onOpenToggle(),a.key==="ArrowDown"&&i.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(a.key)&&a.preventDefault())})})})});bg.displayName=Ng;var pk="DropdownMenuPortal",Lg=e=>{const{__scopeDropdownMenu:t,...n}=e,r=qe(t);return k.jsx(JR,{...r,...n})};Lg.displayName=pk;var Dg="DropdownMenuContent",Og=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=_g(Dg,n),i=qe(n),l=p.useRef(!1);return k.jsx(qR,{id:o.contentId,"aria-labelledby":o.triggerId,...i,...r,ref:t,onCloseAutoFocus:te(e.onCloseAutoFocus,a=>{var s;l.current||(s=o.triggerRef.current)==null||s.focus(),l.current=!1,a.preventDefault()}),onInteractOutside:te(e.onInteractOutside,a=>{const s=a.detail.originalEvent,u=s.button===0&&s.ctrlKey===!0,d=s.button===2||u;(!o.modal||d)&&(l.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});Og.displayName=Dg;var hk="DropdownMenuGroup",mk=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=qe(n);return k.jsx(ek,{...o,...r,ref:t})});mk.displayName=hk;var vk="DropdownMenuLabel",Ag=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=qe(n);return k.jsx(tk,{...o,...r,ref:t})});Ag.displayName=vk;var gk="DropdownMenuItem",Ig=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=qe(n);return k.jsx(nk,{...o,...r,ref:t})});Ig.displayName=gk;var yk="DropdownMenuCheckboxItem",jg=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=qe(n);return k.jsx(rk,{...o,...r,ref:t})});jg.displayName=yk;var wk="DropdownMenuRadioGroup",xk=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=qe(n);return k.jsx(ok,{...o,...r,ref:t})});xk.displayName=wk;var Sk="DropdownMenuRadioItem",Fg=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=qe(n);return k.jsx(ik,{...o,...r,ref:t})});Fg.displayName=Sk;var Ek="DropdownMenuItemIndicator",zg=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=qe(n);return k.jsx(lk,{...o,...r,ref:t})});zg.displayName=Ek;var Ck="DropdownMenuSeparator",Ug=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=qe(n);return k.jsx(ak,{...o,...r,ref:t})});Ug.displayName=Ck;var Rk="DropdownMenuArrow",kk=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=qe(n);return k.jsx(sk,{...o,...r,ref:t})});kk.displayName=Rk;var Pk="DropdownMenuSubTrigger",$g=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=qe(n);return k.jsx(uk,{...o,...r,ref:t})});$g.displayName=Pk;var Mk="DropdownMenuSubContent",Bg=p.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=qe(n);return k.jsx(ck,{...o,...r,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});Bg.displayName=Mk;var _k=Tg,Tk=bg,Nk=Lg,Wg=Og,Vg=Ag,Hg=Ig,Kg=jg,Gg=Fg,Qg=zg,Yg=Ug,Xg=$g,Zg=Bg;const bk=_k,Lk=Tk,Dk=p.forwardRef(({className:e,inset:t,children:n,...r},o)=>k.jsxs(Xg,{ref:o,className:Vt("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",t&&"pl-8",e),...r,children:[n,k.jsx(vS,{className:"ml-auto h-4 w-4"})]}));Dk.displayName=Xg.displayName;const Ok=p.forwardRef(({className:e,...t},n)=>k.jsx(Zg,{ref:n,className:Vt("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));Ok.displayName=Zg.displayName;const Jg=p.forwardRef(({className:e,sideOffset:t=4,...n},r)=>k.jsx(Nk,{children:k.jsx(Wg,{ref:r,sideOffset:t,className:Vt("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n})}));Jg.displayName=Wg.displayName;const Sl=p.forwardRef(({className:e,inset:t,...n},r)=>k.jsx(Hg,{ref:r,className:Vt("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t&&"pl-8",e),...n}));Sl.displayName=Hg.displayName;const Ak=p.forwardRef(({className:e,children:t,checked:n,...r},o)=>k.jsxs(Kg,{ref:o,className:Vt("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:n,...r,children:[k.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:k.jsx(Qg,{children:k.jsx(mS,{className:"h-4 w-4"})})}),t]}));Ak.displayName=Kg.displayName;const Ik=p.forwardRef(({className:e,children:t,...n},r)=>k.jsxs(Gg,{ref:r,className:Vt("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...n,children:[k.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:k.jsx(Qg,{children:k.jsx(gS,{className:"h-2 w-2 fill-current"})})}),t]}));Ik.displayName=Gg.displayName;const jk=p.forwardRef(({className:e,inset:t,...n},r)=>k.jsx(Vg,{ref:r,className:Vt("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...n}));jk.displayName=Vg.displayName;const Fk=p.forwardRef(({className:e,...t},n)=>k.jsx(Yg,{ref:n,className:Vt("-mx-1 my-1 h-px bg-muted",e),...t}));Fk.displayName=Yg.displayName;const zk=()=>{const{setTheme:e}=ev();return k.jsxs(bk,{children:[k.jsx(zv,{asChild:!0,label:"Mode",children:k.jsx(Lk,{asChild:!0,children:k.jsxs(Ca,{variant:"outline",size:"icon",className:`absolute bottom-6 lg:bottom-8 right-6 lg:right-8 rounded-full outline-none border-none \r + focus-visible:border-none focus-visible:ring-0 focus-visible:ring-transparent \r + focus-visible:ring-offset-0 hover:drop-shadow-glow `,children:[k.jsx(xS,{className:"h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0"}),k.jsx(wS,{className:"absolute h-[1.2rem] w-[1.2rem] rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100"}),k.jsx("span",{className:"sr-only",children:"Toggle theme"})]})})}),k.jsxs(Jg,{align:"end",children:[k.jsx(Sl,{onClick:()=>e("light"),children:"Light"}),k.jsx(Sl,{onClick:()=>e("dark"),children:"Dark"}),k.jsx(Sl,{onClick:()=>e("system"),children:"System"})]})]})},Uk=()=>k.jsxs(k.Fragment,{children:[k.jsx(mC,{}),k.jsx("main",{className:"h-[calc(100dvh_-_56px)] max-w-screen-lg mx-auto py-8",children:k.jsx(Qx,{})}),k.jsx(zk,{})]}),$k=()=>k.jsx("div",{children:"RootPage"}),Bk=n1(wu(k.jsxs(gl,{path:Yl.root,element:k.jsx(Uk,{}),children:[k.jsx(gl,{index:!0,element:k.jsx($k,{})}),k.jsx(gl,{path:Yl.notFound,element:k.jsx(w1,{})})]})));xu.createRoot(document.getElementById("root")).render(k.jsx(Xt.StrictMode,{children:k.jsx(y1,{children:k.jsx(d1,{router:Bk})})})); diff --git a/assets/index-CcqOc3i0.css b/assets/index-CcqOc3i0.css new file mode 100644 index 0000000..b85dd15 --- /dev/null +++ b/assets/index-CcqOc3i0.css @@ -0,0 +1 @@ +@import"https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap";*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}:root{--background: 300 7% 97%;--foreground: 0 0% 8%;--card: 0 0% 100%;--card-foreground: 222.2 84% 4.9%;--popover: 300 8% 95%;--popover-foreground: 0 0% 8%;--primary: 292 12% 63%;--primary-foreground: 0 0% 8%;--secondary: 291 10% 74%;--secondary-foreground: 222.2 47.4% 11.2%;--muted: 210 40% 96.1%;--muted-foreground: 215.4 16.3% 46.9%;--accent: 293 7% 52%;--accent-foreground: 222.2 47.4% 11.2%;--destructive: 0 84.2% 60.2%;--destructive-foreground: 210 40% 98%;--border: 288 10% 90%;--input: 214.3 31.8% 91.4%;--ring: 222.2 84% 4.9%;--radius: .5rem;--chart-1: 12 76% 61%;--chart-2: 173 58% 39%;--chart-3: 197 37% 24%;--chart-4: 43 74% 66%;--chart-5: 27 87% 67%}.dark{--background: 300 7% 3%;--foreground: 0 0% 92%;--card: 222.2 84% 4.9%;--card-foreground: 210 40% 98%;--popover: 270 8% 5%;--popover-foreground: 0 0% 92%;--primary: 292 12% 37%;--primary-foreground: 0 0% 92%;--secondary: 291 10% 26%;--secondary-foreground: 210 40% 98%;--muted: 217.2 32.6% 17.5%;--muted-foreground: 215 20.2% 65.1%;--accent: 293 7% 48%;--accent-foreground: 210 40% 98%;--destructive: 0 62.8% 30.6%;--destructive-foreground: 210 40% 98%;--border: 288 10% 10%;--input: 217.2 32.6% 17.5%;--ring: 212.7 26.8% 83.9%;--chart-1: 220 70% 50%;--chart-2: 160 60% 45%;--chart-3: 30 80% 55%;--chart-4: 280 65% 60%;--chart-5: 340 75% 55%}*{margin:0;box-sizing:border-box;border-color:hsl(var(--border));padding:0}body{background-color:hsl(var(--background));font-family:Poppins,sans-serif;color:hsl(var(--foreground))}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.absolute{position:absolute}.relative{position:relative}.bottom-6{bottom:1.5rem}.left-2{left:.5rem}.right-6{right:1.5rem}.z-50{z-index:50}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.ml-auto{margin-left:auto}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-14{height:3.5rem}.h-2{height:.5rem}.h-3\.5{height:.875rem}.h-4{height:1rem}.h-6{height:1.5rem}.h-9{height:2.25rem}.h-\[1\.2rem\]{height:1.2rem}.h-\[calc\(100dvh_-_56px\)\]{height:calc(100dvh - 56px)}.h-full{height:100%}.h-px{height:1px}.w-10{width:2.5rem}.w-2{width:.5rem}.w-3\.5{width:.875rem}.w-4{width:1rem}.w-6{width:1.5rem}.w-\[1\.2rem\]{width:1.2rem}.w-full{width:100%}.min-w-\[8rem\]{min-width:8rem}.max-w-screen-lg{max-width:1024px}.rotate-0{--tw-rotate: 0deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-0{--tw-scale-x: 0;--tw-scale-y: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.items-center{align-items:center}.justify-center{justify-content:center}.gap-x-10{-moz-column-gap:2.5rem;column-gap:2.5rem}.overflow-hidden{overflow:hidden}.whitespace-nowrap{white-space:nowrap}.rounded-full{border-radius:9999px}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-none{border-style:none}.border-input{border-color:hsl(var(--input))}.bg-background{background-color:hsl(var(--background))}.bg-destructive{background-color:hsl(var(--destructive))}.bg-muted{background-color:hsl(var(--muted))}.bg-popover{background-color:hsl(var(--popover))}.bg-primary{background-color:hsl(var(--primary))}.bg-secondary{background-color:hsl(var(--secondary))}.fill-current{fill:currentColor}.p-1{padding:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-8{padding-left:2rem;padding-right:2rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pl-8{padding-left:2rem}.pr-2{padding-right:.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-medium{font-weight:500}.font-semibold{font-weight:600}.capitalize{text-transform:capitalize}.leading-none{line-height:1}.tracking-widest{letter-spacing:.1em}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.underline-offset-4{text-underline-offset:4px}.opacity-60{opacity:.6}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring-offset-background{--tw-ring-offset-color: hsl(var(--background))}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.fade-in-0{--tw-enter-opacity: 0}.zoom-in-95{--tw-enter-scale: .95}.flex-center{display:flex;align-items:center;justify-content:center}.flex-between{display:flex;align-items:center;justify-content:space-between}.hover\:scale-95:hover{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive) / .9)}.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary) / .9)}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary) / .8)}.hover\:text-accent:hover{color:hsl(var(--accent))}.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:underline:hover{text-decoration-line:underline}.hover\:drop-shadow-glow:hover{--tw-drop-shadow: drop-shadow(0 0px 20px hsl(var(--primary))) drop-shadow(0 0px 65px hsl(var(--primary)));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.focus\:bg-accent:focus{background-color:hsl(var(--accent))}.focus\:text-accent-foreground:focus{color:hsl(var(--accent-foreground))}.focus-visible\:border-none:focus-visible{border-style:none}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-0:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color: hsl(var(--ring))}.focus-visible\:ring-transparent:focus-visible{--tw-ring-color: transparent}.focus-visible\:ring-offset-0:focus-visible{--tw-ring-offset-width: 0px}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:opacity-50:disabled{opacity:.5}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[state\=open\]\:bg-accent[data-state=open]{background-color:hsl(var(--accent))}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[state\=open\]\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.data-\[state\=closed\]\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity: 0}.data-\[state\=open\]\:fade-in-0[data-state=open]{--tw-enter-opacity: 0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale: .95}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}.dark\:-rotate-90:is(.dark *){--tw-rotate: -90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.dark\:rotate-0:is(.dark *){--tw-rotate: 0deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.dark\:scale-0:is(.dark *){--tw-scale-x: 0;--tw-scale-y: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.dark\:scale-100:is(.dark *){--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@media (min-width: 768px){.md\:px-8{padding-left:2rem;padding-right:2rem}}@media (min-width: 1024px){.lg\:bottom-8{bottom:2rem}.lg\:right-8{right:2rem}.lg\:block{display:block}.lg\:hidden{display:none}.lg\:px-0{padding-left:0;padding-right:0}.lg\:px-4{padding-left:1rem;padding-right:1rem}.lg\:flex-center{display:flex;align-items:center;justify-content:center}} diff --git a/assets/index-sAFOQtjE.css b/assets/index-sAFOQtjE.css deleted file mode 100644 index 10e5e7a..0000000 --- a/assets/index-sAFOQtjE.css +++ /dev/null @@ -1 +0,0 @@ -@import"https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap";*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}:root{--background: 300 7% 97%;--foreground: 0 0% 8%;--card: 0 0% 100%;--card-foreground: 222.2 84% 4.9%;--popover: 0 0% 100%;--popover-foreground: 222.2 84% 4.9%;--primary: 293 7% 52%;--primary-foreground: 210 40% 98%;--secondary: 291 10% 74%;--secondary-foreground: 222.2 47.4% 11.2%;--muted: 210 40% 96.1%;--muted-foreground: 215.4 16.3% 46.9%;--accent: 292 12% 63%;--accent-foreground: 222.2 47.4% 11.2%;--destructive: 0 84.2% 60.2%;--destructive-foreground: 210 40% 98%;--border: 214.3 31.8% 91.4%;--input: 214.3 31.8% 91.4%;--ring: 222.2 84% 4.9%;--radius: .5rem;--chart-1: 12 76% 61%;--chart-2: 173 58% 39%;--chart-3: 197 37% 24%;--chart-4: 43 74% 66%;--chart-5: 27 87% 67%}*{margin:0;box-sizing:border-box;border-color:hsl(var(--border));padding:0}body{background-color:hsl(var(--background));font-family:Poppins,sans-serif;color:hsl(var(--foreground))}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.mx-auto{margin-left:auto;margin-right:auto}.inline-flex{display:inline-flex}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-14{height:3.5rem}.h-6{height:1.5rem}.h-9{height:2.25rem}.h-\[calc\(100dvg_-_56px\)\]{height:calc(100dvg - 56px)}.h-full{height:100%}.w-10{width:2.5rem}.w-full{width:100%}.max-w-screen-lg{max-width:1024px}.flex-1{flex:1 1 0%}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.justify-center{justify-content:center}.gap-x-8{-moz-column-gap:2rem;column-gap:2rem}.whitespace-nowrap{white-space:nowrap}.rounded-full{border-radius:9999px}.rounded-md{border-radius:calc(var(--radius) - 2px)}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-input{border-color:hsl(var(--input))}.bg-background{background-color:hsl(var(--background))}.bg-destructive{background-color:hsl(var(--destructive))}.bg-primary{background-color:hsl(var(--primary))}.bg-secondary{background-color:hsl(var(--secondary))}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-8{padding-left:2rem;padding-right:2rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-medium{font-weight:500}.font-semibold{font-weight:600}.capitalize{text-transform:capitalize}.leading-none{line-height:1}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.underline-offset-4{text-underline-offset:4px}.outline{outline-style:solid}.ring-offset-background{--tw-ring-offset-color: hsl(var(--background))}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.flex-center{display:flex;align-items:center;justify-content:center}.flex-between{display:flex;align-items:center;justify-content:space-between}.hover\:scale-95:hover{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive) / .9)}.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary) / .9)}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary) / .8)}.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:underline:hover{text-decoration-line:underline}.hover\:drop-shadow-glow:hover{--tw-drop-shadow: drop-shadow(0 0px 20px hsl(var(--primary))) drop-shadow(0 0px 65px hsl(var(--primary)));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color: hsl(var(--ring))}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:opacity-50:disabled{opacity:.5} diff --git a/index.html b/index.html index bad47e6..ae78473 100644 --- a/index.html +++ b/index.html @@ -1,14 +1,14 @@ - - - - - - - Ghian Carlos Tan - - - - -
- - + + + + + + + Ghian Carlos Tan + + + + +
+ +