(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 l of o)if(l.type==="childList")for(const i of l.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const l={};return o.integrity&&(l.integrity=o.integrity),o.referrerPolicy&&(l.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?l.credentials="include":o.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function r(o){if(o.ep)return;o.ep=!0;const l=n(o);fetch(o.href,l)}})();function om(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var nc={exports:{}},vl={},rc={exports:{}},V={};/** * @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 ro=Symbol.for("react.element"),lm=Symbol.for("react.portal"),im=Symbol.for("react.fragment"),am=Symbol.for("react.strict_mode"),sm=Symbol.for("react.profiler"),um=Symbol.for("react.provider"),cm=Symbol.for("react.context"),dm=Symbol.for("react.forward_ref"),fm=Symbol.for("react.suspense"),pm=Symbol.for("react.memo"),hm=Symbol.for("react.lazy"),Ns=Symbol.iterator;function mm(e){return e===null||typeof e!="object"?null:(e=Ns&&e[Ns]||e["@@iterator"],typeof e=="function"?e:null)}var oc={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},lc=Object.assign,ic={};function ir(e,t,n){this.props=e,this.context=t,this.refs=ic,this.updater=n||oc}ir.prototype.isReactComponent={};ir.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")};ir.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function ac(){}ac.prototype=ir.prototype;function _a(e,t,n){this.props=e,this.context=t,this.refs=ic,this.updater=n||oc}var xa=_a.prototype=new ac;xa.constructor=_a;lc(xa,ir.prototype);xa.isPureReactComponent=!0;var Rs=Array.isArray,sc=Object.prototype.hasOwnProperty,ka={current:null},uc={key:!0,ref:!0,__self:!0,__source:!0};function cc(e,t,n){var r,o={},l=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(l=""+t.key),t)sc.call(t,r)&&!uc.hasOwnProperty(r)&&(o[r]=t[r]);var a=arguments.length-2;if(a===1)o.children=n;else if(1>>1,ne=N[b];if(0>>1;bo(Ke,I))yto(Cn,Ke)?(N[b]=Cn,N[yt]=I,b=yt):(N[b]=Ke,N[gt]=I,b=gt);else if(yto(Cn,I))N[b]=Cn,N[yt]=I,b=yt;else break e}}return D}function o(N,D){var I=N.sortIndex-D.sortIndex;return I!==0?I:N.id-D.id}if(typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var i=Date,a=i.now();e.unstable_now=function(){return i.now()-a}}var s=[],c=[],f=1,p=null,m=3,x=!1,S=!1,_=!1,R=typeof setTimeout=="function"?setTimeout:null,u=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 h(N){for(var D=n(c);D!==null;){if(D.callback===null)r(c);else if(D.startTime<=N)r(c),D.sortIndex=D.expirationTime,t(s,D);else break;D=n(c)}}function g(N){if(_=!1,h(N),!S)if(n(s)!==null)S=!0,Me(j);else{var D=n(c);D!==null&&K(g,D.startTime-N)}}function j(N,D){S=!1,_&&(_=!1,u(L),L=-1),x=!0;var I=m;try{for(h(D),p=n(s);p!==null&&(!(p.expirationTime>D)||N&&!q());){var b=p.callback;if(typeof b=="function"){p.callback=null,m=p.priorityLevel;var ne=b(p.expirationTime<=D);D=e.unstable_now(),typeof ne=="function"?p.callback=ne:p===n(s)&&r(s),h(D)}else r(s);p=n(s)}if(p!==null)var ln=!0;else{var gt=n(c);gt!==null&&K(g,gt.startTime-D),ln=!1}return ln}finally{p=null,m=I,x=!1}}var P=!1,M=null,L=-1,F=5,B=-1;function q(){return!(e.unstable_now()-BN||125b?(N.sortIndex=I,t(c,N),n(s)===null&&N===n(c)&&(_?(u(L),L=-1):_=!0,K(g,I-b))):(N.sortIndex=ne,t(s,N),S||x||(S=!0,Me(j))),N},e.unstable_shouldYield=q,e.unstable_wrapCallback=function(N){var D=m;return function(){var I=m;m=D;try{return N.apply(this,arguments)}finally{m=I}}}})(hc);pc.exports=hc;var Cm=pc.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 mc=E,We=Cm;function C(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"),xi=Object.prototype.hasOwnProperty,Pm=/^[: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]*$/,Ls={},Os={};function Nm(e){return xi.call(Os,e)?!0:xi.call(Ls,e)?!1:Pm.test(e)?Os[e]=!0:(Ls[e]=!0,!1)}function Rm(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 Mm(e,t,n,r){if(t===null||typeof t>"u"||Rm(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 Te(e,t,n,r,o,l,i){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=l,this.removeEmptyString=i}var ke={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ke[e]=new Te(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ke[t]=new Te(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ke[e]=new Te(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ke[e]=new Te(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){ke[e]=new Te(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ke[e]=new Te(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ke[e]=new Te(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ke[e]=new Te(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ke[e]=new Te(e,5,!1,e.toLowerCase(),null,!1,!1)});var ja=/[\-:]([a-z])/g;function Ca(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(ja,Ca);ke[t]=new Te(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(ja,Ca);ke[t]=new Te(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(ja,Ca);ke[t]=new Te(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ke[e]=new Te(e,1,!1,e.toLowerCase(),null,!1,!1)});ke.xlinkHref=new Te("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ke[e]=new Te(e,1,!1,e.toLowerCase(),null,!0,!0)});function Pa(e,t,n,r){var o=ke.hasOwnProperty(t)?ke[t]:null;(o!==null?o.type!==0:r||!(2a||o[i]!==l[a]){var s=` `+o[i].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=i&&0<=a);break}}}finally{Yl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Er(e):""}function Lm(e){switch(e.tag){case 5:return Er(e.type);case 16:return Er("Lazy");case 13:return Er("Suspense");case 19:return Er("SuspenseList");case 0:case 2:case 15:return e=Xl(e.type,!1),e;case 11:return e=Xl(e.type.render,!1),e;case 1:return e=Xl(e.type,!0),e;default:return""}}function Ci(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 Ln:return"Fragment";case Mn:return"Portal";case ki:return"Profiler";case Na:return"StrictMode";case Ei:return"Suspense";case ji: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 Ra:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ma:return t=e.displayName||null,t!==null?t:Ci(e.type)||"Memo";case Ft:t=e._payload,e=e._init;try{return Ci(e(t))}catch{}}return null}function Om(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 Ci(t);case 8:return t===Na?"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 en(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Sc(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function zm(e){var t=Sc(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,l=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(i){r=""+i,l.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 go(e){e._valueTracker||(e._valueTracker=zm(e))}function _c(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Sc(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Vo(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 Pi(e,t){var n=t.checked;return ae({},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=en(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 xc(e,t){t=t.checked,t!=null&&Pa(e,"checked",t,!1)}function Ni(e,t){xc(e,t);var n=en(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")?Ri(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ri(e,t.type,en(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function $s(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 Ri(e,t,n){(t!=="number"||Vo(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var jr=Array.isArray;function Wn(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=yo.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function br(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Nr={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},Tm=["Webkit","ms","Moz","O"];Object.keys(Nr).forEach(function(e){Tm.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Nr[t]=Nr[e]})});function Cc(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Nr.hasOwnProperty(e)&&Nr[e]?(""+t).trim():t+"px"}function Pc(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Cc(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var $m=ae({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 Oi(e,t){if(t){if($m[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(C(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(C(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(C(61))}if(t.style!=null&&typeof t.style!="object")throw Error(C(62))}}function zi(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 Ti=null;function La(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var $i=null,Vn=null,Qn=null;function Fs(e){if(e=io(e)){if(typeof $i!="function")throw Error(C(280));var t=e.stateNode;t&&(t=_l(t),$i(e.stateNode,e.type,t))}}function Nc(e){Vn?Qn?Qn.push(e):Qn=[e]:Vn=e}function Rc(){if(Vn){var e=Vn,t=Qn;if(Qn=Vn=null,Fs(e),t)for(e=0;e>>=0,e===0?32:31-(Qm(e)/Km|0)|0}var wo=64,So=4194304;function Cr(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 Yo(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,l=e.pingedLanes,i=n&268435455;if(i!==0){var a=i&~o;a!==0?r=Cr(a):(l&=i,l!==0&&(r=Cr(l)))}else i=n&~o,i!==0?r=Cr(i):l!==0&&(r=Cr(l));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,l=t&-t,o>=l||o===16&&(l&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 oo(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-st(t),e[t]=n}function Jm(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=Mr),Ks=String.fromCharCode(32),Gs=!1;function Yc(e,t){switch(e){case"keyup":return jv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Xc(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var On=!1;function Pv(e,t){switch(e){case"compositionend":return Xc(t);case"keypress":return t.which!==32?null:(Gs=!0,Ks);case"textInput":return e=t.data,e===Ks&&Gs?null:e;default:return null}}function Nv(e,t){if(On)return e==="compositionend"||!ba&&Yc(e,t)?(e=Kc(),Do=Da=Bt=null,On=!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=Zs(n)}}function ed(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ed(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function td(){for(var e=window,t=Vo();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Vo(e.document)}return t}function Ua(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 Iv(e){var t=td(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&ed(n.ownerDocument.documentElement,n)){if(r!==null&&Ua(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,l=Math.min(r.start,o);r=r.end===void 0?l:Math.min(r.end,o),!e.extend&&l>r&&(o=r,r=l,l=o),o=qs(n,l);var i=qs(n,r);o&&i&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),l>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,zn=null,Ai=null,Or=null,Bi=!1;function eu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Bi||zn==null||zn!==Vo(r)||(r=zn,"selectionStart"in r&&Ua(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}),Or&&Vr(Or,r)||(Or=r,r=Zo(Ai,"onSelect"),0Dn||(e.current=Gi[Dn],Gi[Dn]=null,Dn--)}function Z(e,t){Dn++,Gi[Dn]=e.current,e.current=t}var tn={},Re=rn(tn),Ie=rn(!1),gn=tn;function qn(e,t){var n=e.type.contextTypes;if(!n)return tn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},l;for(l in n)o[l]=t[l];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Fe(e){return e=e.childContextTypes,e!=null}function el(){te(Ie),te(Re)}function au(e,t,n){if(Re.current!==tn)throw Error(C(168));Z(Re,t),Z(Ie,n)}function cd(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(C(108,Om(e)||"Unknown",o));return ae({},n,r)}function tl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||tn,gn=Re.current,Z(Re,e),Z(Ie,Ie.current),!0}function su(e,t,n){var r=e.stateNode;if(!r)throw Error(C(169));n?(e=cd(e,t,gn),r.__reactInternalMemoizedMergedChildContext=e,te(Ie),te(Re),Z(Re,e)):te(Ie),Z(Ie,n)}var xt=null,xl=!1,ci=!1;function dd(e){xt===null?xt=[e]:xt.push(e)}function Yv(e){xl=!0,dd(e)}function on(){if(!ci&&xt!==null){ci=!0;var e=0,t=X;try{var n=xt;for(X=1;e>=i,o-=i,kt=1<<32-st(t)+o|n<L?(F=M,M=null):F=M.sibling;var B=m(u,M,h[L],g);if(B===null){M===null&&(M=F);break}e&&M&&B.alternate===null&&t(u,M),d=l(B,d,L),P===null?j=B:P.sibling=B,P=B,M=F}if(L===h.length)return n(u,M),re&&an(u,L),j;if(M===null){for(;LL?(F=M,M=null):F=M.sibling;var q=m(u,M,B.value,g);if(q===null){M===null&&(M=F);break}e&&M&&q.alternate===null&&t(u,M),d=l(q,d,L),P===null?j=q:P.sibling=q,P=q,M=F}if(B.done)return n(u,M),re&&an(u,L),j;if(M===null){for(;!B.done;L++,B=h.next())B=p(u,B.value,g),B!==null&&(d=l(B,d,L),P===null?j=B:P.sibling=B,P=B);return re&&an(u,L),j}for(M=r(u,M);!B.done;L++,B=h.next())B=x(M,u,L,B.value,g),B!==null&&(e&&B.alternate!==null&&M.delete(B.key===null?L:B.key),d=l(B,d,L),P===null?j=B:P.sibling=B,P=B);return e&&M.forEach(function(Se){return t(u,Se)}),re&&an(u,L),j}function R(u,d,h,g){if(typeof h=="object"&&h!==null&&h.type===Ln&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case vo:e:{for(var j=h.key,P=d;P!==null;){if(P.key===j){if(j=h.type,j===Ln){if(P.tag===7){n(u,P.sibling),d=o(P,h.props.children),d.return=u,u=d;break e}}else if(P.elementType===j||typeof j=="object"&&j!==null&&j.$$typeof===Ft&&mu(j)===P.type){n(u,P.sibling),d=o(P,h.props),d.ref=wr(u,P,h),d.return=u,u=d;break e}n(u,P);break}else t(u,P);P=P.sibling}h.type===Ln?(d=vn(h.props.children,u.mode,g,h.key),d.return=u,u=d):(g=Wo(h.type,h.key,h.props,null,u.mode,g),g.ref=wr(u,d,h),g.return=u,u=g)}return i(u);case Mn:e:{for(P=h.key;d!==null;){if(d.key===P)if(d.tag===4&&d.stateNode.containerInfo===h.containerInfo&&d.stateNode.implementation===h.implementation){n(u,d.sibling),d=o(d,h.children||[]),d.return=u,u=d;break e}else{n(u,d);break}else t(u,d);d=d.sibling}d=yi(h,u.mode,g),d.return=u,u=d}return i(u);case Ft:return P=h._init,R(u,d,P(h._payload),g)}if(jr(h))return S(u,d,h,g);if(hr(h))return _(u,d,h,g);Po(u,h)}return typeof h=="string"&&h!==""||typeof h=="number"?(h=""+h,d!==null&&d.tag===6?(n(u,d.sibling),d=o(d,h),d.return=u,u=d):(n(u,d),d=gi(h,u.mode,g),d.return=u,u=d),i(u)):n(u,d)}return R}var tr=wd(!0),Sd=wd(!1),ao={},vt=rn(ao),Yr=rn(ao),Xr=rn(ao);function fn(e){if(e===ao)throw Error(C(174));return e}function Ya(e,t){switch(Z(Xr,t),Z(Yr,e),Z(vt,ao),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Li(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Li(t,e)}te(vt),Z(vt,t)}function nr(){te(vt),te(Yr),te(Xr)}function _d(e){fn(Xr.current);var t=fn(vt.current),n=Li(t,e.type);t!==n&&(Z(Yr,e),Z(vt,n))}function Xa(e){Yr.current===e&&(te(vt),te(Yr))}var le=rn(0);function al(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var di=[];function Ja(){for(var e=0;en?n:4,e(!0);var r=fi.transition;fi.transition={};try{e(!1),t()}finally{X=n,fi.transition=r}}function Id(){return tt().memoizedState}function qv(e,t,n){var r=Xt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Fd(e))bd(t,n);else if(n=md(e,t,n,r),n!==null){var o=Oe();ut(n,e,r,o),Ud(n,t,r)}}function eg(e,t,n){var r=Xt(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Fd(e))bd(t,o);else{var l=e.alternate;if(e.lanes===0&&(l===null||l.lanes===0)&&(l=t.lastRenderedReducer,l!==null))try{var i=t.lastRenderedState,a=l(i,n);if(o.hasEagerState=!0,o.eagerState=a,ct(a,i)){var s=t.interleaved;s===null?(o.next=o,Ka(t)):(o.next=s.next,s.next=o),t.interleaved=o;return}}catch{}finally{}n=md(e,t,o,r),n!==null&&(o=Oe(),ut(n,e,r,o),Ud(n,t,r))}}function Fd(e){var t=e.alternate;return e===ie||t!==null&&t===ie}function bd(e,t){zr=sl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ud(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,za(e,n)}}var ul={readContext:et,useCallback:Ce,useContext:Ce,useEffect:Ce,useImperativeHandle:Ce,useInsertionEffect:Ce,useLayoutEffect:Ce,useMemo:Ce,useReducer:Ce,useRef:Ce,useState:Ce,useDebugValue:Ce,useDeferredValue:Ce,useTransition:Ce,useMutableSource:Ce,useSyncExternalStore:Ce,useId:Ce,unstable_isNewReconciler:!1},tg={readContext:et,useCallback:function(e,t){return ft().memoizedState=[e,t===void 0?null:t],e},useContext:et,useEffect:gu,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Uo(4194308,4,Od.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Uo(4194308,4,e,t)},useInsertionEffect:function(e,t){return Uo(4,2,e,t)},useMemo:function(e,t){var n=ft();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ft();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=qv.bind(null,ie,e),[r.memoizedState,e]},useRef:function(e){var t=ft();return e={current:e},t.memoizedState=e},useState:vu,useDebugValue:ns,useDeferredValue:function(e){return ft().memoizedState=e},useTransition:function(){var e=vu(!1),t=e[0];return e=Zv.bind(null,e[1]),ft().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ie,o=ft();if(re){if(n===void 0)throw Error(C(407));n=n()}else{if(n=t(),we===null)throw Error(C(349));wn&30||Ed(r,t,n)}o.memoizedState=n;var l={value:n,getSnapshot:t};return o.queue=l,gu(Cd.bind(null,r,l,e),[e]),r.flags|=2048,qr(9,jd.bind(null,r,l,n,t),void 0,null),n},useId:function(){var e=ft(),t=we.identifierPrefix;if(re){var n=Et,r=kt;n=(r&~(1<<32-st(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Jr++,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[Gr]=r,Yd(e,t,!1,!1),t.stateNode=e;e:{switch(i=zi(n,r),n){case"dialog":ee("cancel",e),ee("close",e),o=r;break;case"iframe":case"object":case"embed":ee("load",e),o=r;break;case"video":case"audio":for(o=0;oor&&(t.flags|=128,r=!0,Sr(l,!1),t.lanes=4194304)}else{if(!r)if(e=al(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Sr(l,!0),l.tail===null&&l.tailMode==="hidden"&&!i.alternate&&!re)return Pe(t),null}else 2*ue()-l.renderingStartTime>or&&n!==1073741824&&(t.flags|=128,r=!0,Sr(l,!1),t.lanes=4194304);l.isBackwards?(i.sibling=t.child,t.child=i):(n=l.last,n!==null?n.sibling=i:t.child=i,l.last=i)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=ue(),t.sibling=null,n=le.current,Z(le,r?n&1|2:n&1),t):(Pe(t),null);case 22:case 23:return ss(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ae&1073741824&&(Pe(t),t.subtreeFlags&6&&(t.flags|=8192)):Pe(t),null;case 24:return null;case 25:return null}throw Error(C(156,t.tag))}function ug(e,t){switch(Ba(t),t.tag){case 1:return Fe(t.type)&&el(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return nr(),te(Ie),te(Re),Ja(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Xa(t),null;case 13:if(te(le),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(C(340));er()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return te(le),null;case 4:return nr(),null;case 10:return Qa(t.type._context),null;case 22:case 23:return ss(),null;case 24:return null;default:return null}}var Ro=!1,Ne=!1,cg=typeof WeakSet=="function"?WeakSet:Set,O=null;function Un(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){se(e,t,r)}else n.current=null}function ia(e,t,n){try{n()}catch(r){se(e,t,r)}}var Cu=!1;function dg(e,t){if(Hi=Xo,e=td(),Ua(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,l=r.focusNode;r=r.focusOffset;try{n.nodeType,l.nodeType}catch{n=null;break e}var i=0,a=-1,s=-1,c=0,f=0,p=e,m=null;t:for(;;){for(var x;p!==n||o!==0&&p.nodeType!==3||(a=i+o),p!==l||r!==0&&p.nodeType!==3||(s=i+r),p.nodeType===3&&(i+=p.nodeValue.length),(x=p.firstChild)!==null;)m=p,p=x;for(;;){if(p===e)break t;if(m===n&&++c===o&&(a=i),m===l&&++f===r&&(s=i),(x=p.nextSibling)!==null)break;p=m,m=p.parentNode}p=x}n=a===-1||s===-1?null:{start:a,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(Wi={focusedElem:e,selectionRange:n},Xo=!1,O=t;O!==null;)if(t=O,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,O=e;else for(;O!==null;){t=O;try{var S=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(S!==null){var _=S.memoizedProps,R=S.memoizedState,u=t.stateNode,d=u.getSnapshotBeforeUpdate(t.elementType===t.type?_:ot(t.type,_),R);u.__reactInternalSnapshotBeforeUpdate=d}break;case 3:var h=t.stateNode.containerInfo;h.nodeType===1?h.textContent="":h.nodeType===9&&h.documentElement&&h.removeChild(h.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(C(163))}}catch(g){se(t,t.return,g)}if(e=t.sibling,e!==null){e.return=t.return,O=e;break}O=t.return}return S=Cu,Cu=!1,S}function Tr(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 l=o.destroy;o.destroy=void 0,l!==void 0&&ia(t,n,l)}o=o.next}while(o!==r)}}function jl(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 aa(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 Zd(e){var t=e.alternate;t!==null&&(e.alternate=null,Zd(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[pt],delete t[Gr],delete t[Ki],delete t[Kv],delete t[Gv])),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 qd(e){return e.tag===5||e.tag===3||e.tag===4}function Pu(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||qd(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 sa(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=qo));else if(r!==4&&(e=e.child,e!==null))for(sa(e,t,n),e=e.sibling;e!==null;)sa(e,t,n),e=e.sibling}function ua(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(ua(e,t,n),e=e.sibling;e!==null;)ua(e,t,n),e=e.sibling}var _e=null,it=!1;function Dt(e,t,n){for(n=n.child;n!==null;)ef(e,t,n),n=n.sibling}function ef(e,t,n){if(mt&&typeof mt.onCommitFiberUnmount=="function")try{mt.onCommitFiberUnmount(gl,n)}catch{}switch(n.tag){case 5:Ne||Un(n,t);case 6:var r=_e,o=it;_e=null,Dt(e,t,n),_e=r,it=o,_e!==null&&(it?(e=_e,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):_e.removeChild(n.stateNode));break;case 18:_e!==null&&(it?(e=_e,n=n.stateNode,e.nodeType===8?ui(e.parentNode,n):e.nodeType===1&&ui(e,n),Hr(e)):ui(_e,n.stateNode));break;case 4:r=_e,o=it,_e=n.stateNode.containerInfo,it=!0,Dt(e,t,n),_e=r,it=o;break;case 0:case 11:case 14:case 15:if(!Ne&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var l=o,i=l.destroy;l=l.tag,i!==void 0&&(l&2||l&4)&&ia(n,t,i),o=o.next}while(o!==r)}Dt(e,t,n);break;case 1:if(!Ne&&(Un(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){se(n,t,a)}Dt(e,t,n);break;case 21:Dt(e,t,n);break;case 22:n.mode&1?(Ne=(r=Ne)||n.memoizedState!==null,Dt(e,t,n),Ne=r):Dt(e,t,n);break;default:Dt(e,t,n)}}function Nu(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new cg),t.forEach(function(r){var o=Sg.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=i),r&=~l}if(r=o,r=ue()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*pg(r/1960))-r,10e?16:e,Ht===null)var r=!1;else{if(e=Ht,Ht=null,fl=0,Q&6)throw Error(C(331));var o=Q;for(Q|=4,O=e.current;O!==null;){var l=O,i=l.child;if(O.flags&16){var a=l.deletions;if(a!==null){for(var s=0;sue()-is?mn(e,0):ls|=n),be(e,t)}function uf(e,t){t===0&&(e.mode&1?(t=So,So<<=1,!(So&130023424)&&(So=4194304)):t=1);var n=Oe();e=Mt(e,t),e!==null&&(oo(e,t,n),be(e,n))}function wg(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),uf(e,n)}function Sg(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(C(314))}r!==null&&r.delete(t),uf(e,n)}var cf;cf=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ie.current)De=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return De=!1,ag(e,t,n);De=!!(e.flags&131072)}else De=!1,re&&t.flags&1048576&&fd(t,rl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ao(e,t),e=t.pendingProps;var o=qn(t,Re.current);Gn(t,n),o=qa(null,t,r,e,o,n);var l=es();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,Fe(r)?(l=!0,tl(t)):l=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Ga(t),o.updater=kl,t.stateNode=o,o._reactInternals=t,qi(t,r,e,n),t=na(null,t,r,!0,l,n)):(t.tag=0,re&&l&&Aa(t),Le(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ao(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=xg(r),e=ot(r,e),o){case 0:t=ta(null,t,r,e,n);break e;case 1:t=ku(null,t,r,e,n);break e;case 11:t=_u(null,t,r,e,n);break e;case 14:t=xu(null,t,r,ot(r.type,e),n);break e}throw Error(C(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ot(r,o),ta(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ot(r,o),ku(e,t,r,o,n);case 3:e:{if(Qd(t),e===null)throw Error(C(387));r=t.pendingProps,l=t.memoizedState,o=l.element,vd(e,t),il(t,r,null,n);var i=t.memoizedState;if(r=i.element,l.isDehydrated)if(l={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=l,t.memoizedState=l,t.flags&256){o=rr(Error(C(423)),t),t=Eu(e,t,r,n,o);break e}else if(r!==o){o=rr(Error(C(424)),t),t=Eu(e,t,r,n,o);break e}else for(Be=Kt(t.stateNode.containerInfo.firstChild),He=t,re=!0,at=null,n=Sd(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(er(),r===o){t=Lt(e,t,n);break e}Le(e,t,r,n)}t=t.child}return t;case 5:return _d(t),e===null&&Xi(t),r=t.type,o=t.pendingProps,l=e!==null?e.memoizedProps:null,i=o.children,Vi(r,o)?i=null:l!==null&&Vi(r,l)&&(t.flags|=32),Vd(e,t),Le(e,t,i,n),t.child;case 6:return e===null&&Xi(t),null;case 13:return Kd(e,t,n);case 4:return Ya(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=tr(t,null,r,n):Le(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ot(r,o),_u(e,t,r,o,n);case 7:return Le(e,t,t.pendingProps,n),t.child;case 8:return Le(e,t,t.pendingProps.children,n),t.child;case 12:return Le(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,l=t.memoizedProps,i=o.value,Z(ol,r._currentValue),r._currentValue=i,l!==null)if(ct(l.value,i)){if(l.children===o.children&&!Ie.current){t=Lt(e,t,n);break e}}else for(l=t.child,l!==null&&(l.return=t);l!==null;){var a=l.dependencies;if(a!==null){i=l.child;for(var s=a.firstContext;s!==null;){if(s.context===r){if(l.tag===1){s=Ct(-1,n&-n),s.tag=2;var c=l.updateQueue;if(c!==null){c=c.shared;var f=c.pending;f===null?s.next=s:(s.next=f.next,f.next=s),c.pending=s}}l.lanes|=n,s=l.alternate,s!==null&&(s.lanes|=n),Ji(l.return,n,t),a.lanes|=n;break}s=s.next}}else if(l.tag===10)i=l.type===t.type?null:l.child;else if(l.tag===18){if(i=l.return,i===null)throw Error(C(341));i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),Ji(i,n,t),i=l.sibling}else i=l.child;if(i!==null)i.return=l;else for(i=l;i!==null;){if(i===t){i=null;break}if(l=i.sibling,l!==null){l.return=i.return,i=l;break}i=i.return}l=i}Le(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Gn(t,n),o=et(o),r=r(o),t.flags|=1,Le(e,t,r,n),t.child;case 14:return r=t.type,o=ot(r,t.pendingProps),o=ot(r.type,o),xu(e,t,r,o,n);case 15:return Hd(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ot(r,o),Ao(e,t),t.tag=1,Fe(r)?(e=!0,tl(t)):e=!1,Gn(t,n),yd(t,r,o),qi(t,r,o,n),na(null,t,r,!0,e,n);case 19:return Gd(e,t,n);case 22:return Wd(e,t,n)}throw Error(C(156,t.tag))};function df(e,t){return Dc(e,t)}function _g(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 Ze(e,t,n,r){return new _g(e,t,n,r)}function cs(e){return e=e.prototype,!(!e||!e.isReactComponent)}function xg(e){if(typeof e=="function")return cs(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ra)return 11;if(e===Ma)return 14}return 2}function Jt(e,t){var n=e.alternate;return n===null?(n=Ze(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 Wo(e,t,n,r,o,l){var i=2;if(r=e,typeof e=="function")cs(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Ln:return vn(n.children,o,l,t);case Na:i=8,o|=8;break;case ki:return e=Ze(12,n,t,o|2),e.elementType=ki,e.lanes=l,e;case Ei:return e=Ze(13,n,t,o),e.elementType=Ei,e.lanes=l,e;case ji:return e=Ze(19,n,t,o),e.elementType=ji,e.lanes=l,e;case wc:return Pl(n,o,l,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case gc:i=10;break e;case yc:i=9;break e;case Ra:i=11;break e;case Ma:i=14;break e;case Ft:i=16,r=null;break e}throw Error(C(130,e==null?e:typeof e,""))}return t=Ze(i,n,t,o),t.elementType=e,t.type=r,t.lanes=l,t}function vn(e,t,n,r){return e=Ze(7,e,r,t),e.lanes=n,e}function Pl(e,t,n,r){return e=Ze(22,e,r,t),e.elementType=wc,e.lanes=n,e.stateNode={isHidden:!1},e}function gi(e,t,n){return e=Ze(6,e,null,t),e.lanes=n,e}function yi(e,t,n){return t=Ze(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function kg(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=Zl(0),this.expirationTimes=Zl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Zl(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function ds(e,t,n,r,o,l,i,a,s){return e=new kg(e,t,n,a,s),t===1?(t=1,l===!0&&(t|=8)):t=0,l=Ze(3,null,null,t),e.current=l,l.stateNode=e,l.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ga(l),e}function Eg(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(mf)}catch(e){console.error(e)}}mf(),fc.exports=Ve;var Rg=fc.exports,vf,Du=Rg;vf=Du.createRoot,Du.hydrateRoot;/** * @remix-run/router v1.6.1 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */function Y(){return Y=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function lr(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Lg(){return Math.random().toString(36).substr(2,8)}function Fu(e,t){return{usr:e.state,key:e.key,idx:t}}function to(e,t,n,r){return n===void 0&&(n=null),Y({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?zt(t):t,{state:n,key:t&&t.key||r||Lg()})}function xn(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 zt(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 Og(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:l=!1}=r,i=o.history,a=ce.Pop,s=null,c=f();c==null&&(c=0,i.replaceState(Y({},i.state,{idx:c}),""));function f(){return(i.state||{idx:null}).idx}function p(){a=ce.Pop;let R=f(),u=R==null?null:R-c;c=R,s&&s({action:a,location:_.location,delta:u})}function m(R,u){a=ce.Push;let d=to(_.location,R,u);n&&n(d,R),c=f()+1;let h=Fu(d,c),g=_.createHref(d);try{i.pushState(h,"",g)}catch{o.location.assign(g)}l&&s&&s({action:a,location:_.location,delta:1})}function x(R,u){a=ce.Replace;let d=to(_.location,R,u);n&&n(d,R),c=f();let h=Fu(d,c),g=_.createHref(d);i.replaceState(h,"",g),l&&s&&s({action:a,location:_.location,delta:0})}function S(R){let u=o.location.origin!=="null"?o.location.origin:o.location.href,d=typeof R=="string"?R:xn(R);return W(u,"No window.location.(origin|href) available to create URL for href: "+d),new URL(d,u)}let _={get action(){return a},get location(){return e(o,i)},listen(R){if(s)throw new Error("A history only accepts one active listener");return o.addEventListener(Iu,p),s=R,()=>{o.removeEventListener(Iu,p),s=null}},createHref(R){return t(o,R)},createURL:S,encodeLocation(R){let u=S(R);return{pathname:u.pathname,search:u.search,hash:u.hash}},push:m,replace:x,go(R){return i.go(R)}};return _}var pe;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(pe||(pe={}));const zg=new Set(["lazy","caseSensitive","path","id","index","children"]);function Tg(e){return e.index===!0}function gf(e,t,n,r){return n===void 0&&(n=[]),r===void 0&&(r={}),e.map((o,l)=>{let i=[...n,l],a=typeof o.id=="string"?o.id:i.join("-");if(W(o.index!==!0||!o.children,"Cannot specify children on an index route"),W(!r[a],'Found a route id collision on id "'+a+`". Route id's must be globally unique within Data Router usages`),Tg(o)){let s=Y({},o,t(o),{id:a});return r[a]=s,s}else{let s=Y({},o,t(o),{id:a,children:void 0});return r[a]=s,o.children&&(s.children=gf(o.children,t,i,r)),s}})}function Bn(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?zt(t):t,o=ur(r.pathname||"/",n);if(o==null)return null;let l=yf(e);$g(l);let i=null;for(let a=0;i==null&&a{let s={relativePath:a===void 0?l.path||"":a,caseSensitive:l.caseSensitive===!0,childrenIndex:i,route:l};s.relativePath.startsWith("/")&&(W(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 c=Pt([r,s.relativePath]),f=n.concat(s);l.children&&l.children.length>0&&(W(l.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),yf(l.children,t,f,c)),!(l.path==null&&!l.index)&&t.push({path:c,score:Bg(c,l.index),routesMeta:f})};return e.forEach((l,i)=>{var a;if(l.path===""||!((a=l.path)!=null&&a.includes("?")))o(l,i);else for(let s of wf(l.path))o(l,i,s)}),t}function wf(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),l=n.replace(/\?$/,"");if(r.length===0)return o?[l,""]:[l];let i=wf(r.join("/")),a=[];return a.push(...i.map(s=>s===""?l:[l,s].join("/"))),o&&a.push(...i),a.map(s=>e.startsWith("/")&&s===""?"/":s)}function $g(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Hg(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const Dg=/^:\w+$/,Ig=3,Fg=2,bg=1,Ug=10,Ag=-2,bu=e=>e==="*";function Bg(e,t){let n=e.split("/"),r=n.length;return n.some(bu)&&(r+=Ag),t&&(r+=Fg),n.filter(o=>!bu(o)).reduce((o,l)=>o+(Dg.test(l)?Ig:l===""?bg:Ug),r)}function Hg(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 Wg(e,t){let{routesMeta:n}=e,r={},o="/",l=[];for(let i=0;i{if(f==="*"){let m=a[p]||"";i=l.slice(0,l.length-m.length).replace(/(.)\/+$/,"$1")}return c[f]=Gg(a[p]||"",f),c},{}),pathname:l,pathnameBase:i,pattern:e}}function Qg(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),lr(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,(i,a)=>(r.push(a),"/([^\\/]+)"));return e.endsWith("*")?(r.push("*"),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function Kg(e){try{return decodeURI(e)}catch(t){return lr(!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 Gg(e,t){try{return decodeURIComponent(e)}catch(n){return lr(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+n+").")),e}}function ur(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 Yg(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?zt(e):e;return{pathname:n?n.startsWith("/")?n:Xg(n,t):t,search:Zg(r),hash:qg(o)}}function Xg(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 wi(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 Ol(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function ms(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=zt(e):(o=Y({},e),W(!o.pathname||!o.pathname.includes("?"),wi("?","pathname","search",o)),W(!o.pathname||!o.pathname.includes("#"),wi("#","pathname","hash",o)),W(!o.search||!o.search.includes("#"),wi("#","search","hash",o)));let l=e===""||o.pathname==="",i=l?"/":o.pathname,a;if(r||i==null)a=n;else{let p=t.length-1;if(i.startsWith("..")){let m=i.split("/");for(;m[0]==="..";)m.shift(),p-=1;o.pathname=m.join("/")}a=p>=0?t[p]:"/"}let s=Yg(o,a),c=i&&i!=="/"&&i.endsWith("/"),f=(l||i===".")&&n.endsWith("/");return!s.pathname.endsWith("/")&&(c||f)&&(s.pathname+="/"),s}const Pt=e=>e.join("/").replace(/\/\/+/g,"/"),Jg=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Zg=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,qg=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class vs{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 Sf(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const _f=["post","put","patch","delete"],ey=new Set(_f),ty=["get",..._f],ny=new Set(ty),ry=new Set([301,302,303,307,308]),oy=new Set([307,308]),Si={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0},ly={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0},Uu={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},xf=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,kf=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",iy=!kf,ay=e=>({hasErrorBoundary:!!e.hasErrorBoundary});function sy(e){W(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let t;if(e.mapRouteProperties)t=e.mapRouteProperties;else if(e.detectErrorBoundary){let y=e.detectErrorBoundary;t=w=>({hasErrorBoundary:y(w)})}else t=ay;let n={},r=gf(e.routes,t,void 0,n),o,l=e.basename||"/",i=Y({v7_normalizeFormMethod:!1,v7_prependBasename:!1},e.future),a=null,s=new Set,c=null,f=null,p=null,m=e.hydrationData!=null,x=Bn(r,e.history.location,l),S=null;if(x==null){let y=lt(404,{pathname:e.history.location.pathname}),{matches:w,route:k}=Ku(r);x=w,S={[k.id]:y}}let _=!x.some(y=>y.route.lazy)&&(!x.some(y=>y.route.loader)||e.hydrationData!=null),R,u={historyAction:e.history.action,location:e.history.location,matches:x,initialized:_,navigation:Si,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||S,fetchers:new Map,blockers:new Map},d=ce.Pop,h=!1,g,j=!1,P=!1,M=[],L=[],F=new Map,B=0,q=-1,Se=new Map,fe=new Set,Ee=new Map,nt=new Map,Me=new Map,K=!1;function N(){return a=e.history.listen(y=>{let{action:w,location:k,delta:z}=y;if(K){K=!1;return}lr(Me.size===0||z!=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 T=js({currentLocation:u.location,nextLocation:k,historyAction:w});if(T&&z!=null){K=!0,e.history.go(z*-1),co(T,{state:"blocked",location:k,proceed(){co(T,{state:"proceeding",proceed:void 0,reset:void 0,location:k}),e.history.go(z)},reset(){fr(T),b({blockers:new Map(R.state.blockers)})}});return}return Ke(w,k)}),u.initialized||Ke(ce.Pop,u.location),R}function D(){a&&a(),s.clear(),g&&g.abort(),u.fetchers.forEach((y,w)=>bl(w)),u.blockers.forEach((y,w)=>fr(w))}function I(y){return s.add(y),()=>s.delete(y)}function b(y){u=Y({},u,y),s.forEach(w=>w(u))}function ne(y,w){var k,z;let T=u.actionData!=null&&u.navigation.formMethod!=null&&_t(u.navigation.formMethod)&&u.navigation.state==="loading"&&((k=y.state)==null?void 0:k._isRedirect)!==!0,A;w.actionData?Object.keys(w.actionData).length>0?A=w.actionData:A=null:T?A=u.actionData:A=null;let H=w.loaderData?Qu(u.loaderData,w.loaderData,w.matches||[],w.errors):u.loaderData;for(let[$]of Me)fr($);let U=h===!0||u.navigation.formMethod!=null&&_t(u.navigation.formMethod)&&((z=y.state)==null?void 0:z._isRedirect)!==!0;o&&(r=o,o=void 0),b(Y({},w,{actionData:A,loaderData:H,historyAction:d,location:y,initialized:!0,navigation:Si,revalidation:"idle",restoreScrollPosition:Cs(y,w.matches||u.matches),preventScrollReset:U,blockers:new Map(u.blockers)})),j||d===ce.Pop||(d===ce.Push?e.history.push(y,y.state):d===ce.Replace&&e.history.replace(y,y.state)),d=ce.Pop,h=!1,j=!1,P=!1,M=[],L=[]}async function ln(y,w){if(typeof y=="number"){e.history.go(y);return}let k=ha(u.location,u.matches,l,i.v7_prependBasename,y,w==null?void 0:w.fromRouteId,w==null?void 0:w.relative),{path:z,submission:T,error:A}=Au(i.v7_normalizeFormMethod,!1,k,w),H=u.location,U=to(u.location,z,w&&w.state);U=Y({},U,e.history.encodeLocation(U));let $=w&&w.replace!=null?w.replace:void 0,G=ce.Push;$===!0?G=ce.Replace:$===!1||T!=null&&_t(T.formMethod)&&T.formAction===u.location.pathname+u.location.search&&(G=ce.Replace);let J=w&&"preventScrollReset"in w?w.preventScrollReset===!0:void 0,je=js({currentLocation:H,nextLocation:U,historyAction:G});if(je){co(je,{state:"blocked",location:U,proceed(){co(je,{state:"proceeding",proceed:void 0,reset:void 0,location:U}),ln(y,w)},reset(){fr(je),b({blockers:new Map(u.blockers)})}});return}return await Ke(G,U,{submission:T,pendingError:A,preventScrollReset:J,replace:w&&w.replace})}function gt(){if(Il(),b({revalidation:"loading"}),u.navigation.state!=="submitting"){if(u.navigation.state==="idle"){Ke(u.historyAction,u.location,{startUninterruptedRevalidation:!0});return}Ke(d||u.historyAction,u.navigation.location,{overrideNavigation:u.navigation})}}async function Ke(y,w,k){g&&g.abort(),g=null,d=y,j=(k&&k.startUninterruptedRevalidation)===!0,tm(u.location,u.matches),h=(k&&k.preventScrollReset)===!0;let z=o||r,T=k&&k.overrideNavigation,A=Bn(z,w,l);if(!A){let ve=lt(404,{pathname:w.pathname}),{matches:ge,route:Ge}=Ku(z);Ul(),ne(w,{matches:ge,loaderData:{},errors:{[Ge.id]:ve}});return}if(py(u.location,w)&&!(k&&k.submission&&_t(k.submission.formMethod))){ne(w,{matches:A});return}g=new AbortController;let H=kr(e.history,w,g.signal,k&&k.submission),U,$;if(k&&k.pendingError)$={[Hn(A).route.id]:k.pendingError};else if(k&&k.submission&&_t(k.submission.formMethod)){let ve=await yt(H,w,k.submission,A,{replace:k.replace});if(ve.shortCircuited)return;U=ve.pendingActionData,$=ve.pendingActionError,T=Y({state:"loading",location:w},k.submission),H=new Request(H.url,{signal:H.signal})}let{shortCircuited:G,loaderData:J,errors:je}=await Cn(H,w,A,T,k&&k.submission,k&&k.fetcherSubmission,k&&k.replace,U,$);G||(g=null,ne(w,Y({matches:A},U?{actionData:U}:{},{loaderData:J,errors:je})))}async function yt(y,w,k,z,T){Il();let A=Y({state:"submitting",location:w},k);b({navigation:A});let H,U=ma(z,w);if(!U.route.action&&!U.route.lazy)H={type:pe.error,error:lt(405,{method:y.method,pathname:w.pathname,routeId:U.route.id})};else if(H=await xr("action",y,U,z,n,t,l),y.signal.aborted)return{shortCircuited:!0};if(Xn(H)){let $;return T&&T.replace!=null?$=T.replace:$=H.location===u.location.pathname+u.location.search,await dr(u,H,{submission:k,replace:$}),{shortCircuited:!0}}if(Ir(H)){let $=Hn(z,U.route.id);return(T&&T.replace)!==!0&&(d=ce.Push),{pendingActionData:{},pendingActionError:{[$.route.id]:H.error}}}if(pn(H))throw lt(400,{type:"defer-action"});return{pendingActionData:{[U.route.id]:H.data}}}async function Cn(y,w,k,z,T,A,H,U,$){let G=z;G||(G=Y({state:"loading",location:w,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0},T));let J=T||A?T||A:G.formMethod&&G.formAction&&G.formData&&G.formEncType?{formMethod:G.formMethod,formAction:G.formAction,formData:G.formData,formEncType:G.formEncType}:void 0,je=o||r,[ve,ge]=Bu(e.history,u,k,J,w,P,M,L,Ee,je,l,U,$);if(Ul(oe=>!(k&&k.some(Ye=>Ye.route.id===oe))||ve&&ve.some(Ye=>Ye.route.id===oe)),ve.length===0&&ge.length===0){let oe=ks();return ne(w,Y({matches:k,loaderData:{},errors:$||null},U?{actionData:U}:{},oe?{fetchers:new Map(u.fetchers)}:{})),{shortCircuited:!0}}if(!j){ge.forEach(Ye=>{let Nn=u.fetchers.get(Ye.key),Vl={state:"loading",data:Nn&&Nn.data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0};u.fetchers.set(Ye.key,Vl)});let oe=U||u.actionData;b(Y({navigation:G},oe?Object.keys(oe).length===0?{actionData:null}:{actionData:oe}:{},ge.length>0?{fetchers:new Map(u.fetchers)}:{}))}q=++B,ge.forEach(oe=>{oe.controller&&F.set(oe.key,oe.controller)});let Ge=()=>ge.forEach(oe=>Pn(oe.key));g&&g.signal.addEventListener("abort",Ge);let{results:pr,loaderResults:Al,fetcherResults:fo}=await _s(u.matches,k,ve,ge,y);if(y.signal.aborted)return{shortCircuited:!0};g&&g.signal.removeEventListener("abort",Ge),ge.forEach(oe=>F.delete(oe.key));let $t=Gu(pr);if($t)return await dr(u,$t,{replace:H}),{shortCircuited:!0};let{loaderData:po,errors:Bl}=Vu(u,k,ve,Al,$,ge,fo,nt);nt.forEach((oe,Ye)=>{oe.subscribe(Nn=>{(Nn||oe.done)&&nt.delete(Ye)})});let Hl=ks(),Wl=Es(q),ho=Hl||Wl||ge.length>0;return Y({loaderData:po,errors:Bl},ho?{fetchers:new Map(u.fetchers)}:{})}function Ss(y){return u.fetchers.get(y)||ly}function Xh(y,w,k,z){if(iy)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.");F.has(y)&&Pn(y);let T=o||r,A=ha(u.location,u.matches,l,i.v7_prependBasename,k,w,z==null?void 0:z.relative),H=Bn(T,A,l);if(!H){Fl(y,w,lt(404,{pathname:A}));return}let{path:U,submission:$}=Au(i.v7_normalizeFormMethod,!0,A,z),G=ma(H,U);if(h=(z&&z.preventScrollReset)===!0,$&&_t($.formMethod)){Jh(y,w,U,G,H,$);return}Ee.set(y,{routeId:w,path:U}),Zh(y,w,U,G,H,$)}async function Jh(y,w,k,z,T,A){if(Il(),Ee.delete(y),!z.route.action&&!z.route.lazy){let Ue=lt(405,{method:A.formMethod,pathname:k,routeId:w});Fl(y,w,Ue);return}let H=u.fetchers.get(y),U=Y({state:"submitting"},A,{data:H&&H.data," _hasFetcherDoneAnything ":!0});u.fetchers.set(y,U),b({fetchers:new Map(u.fetchers)});let $=new AbortController,G=kr(e.history,k,$.signal,A);F.set(y,$);let J=await xr("action",G,z,T,n,t,l);if(G.signal.aborted){F.get(y)===$&&F.delete(y);return}if(Xn(J)){F.delete(y),fe.add(y);let Ue=Y({state:"loading"},A,{data:void 0," _hasFetcherDoneAnything ":!0});return u.fetchers.set(y,Ue),b({fetchers:new Map(u.fetchers)}),dr(u,J,{submission:A,isFetchActionRedirect:!0})}if(Ir(J)){Fl(y,w,J.error);return}if(pn(J))throw lt(400,{type:"defer-action"});let je=u.navigation.location||u.location,ve=kr(e.history,je,$.signal),ge=o||r,Ge=u.navigation.state!=="idle"?Bn(ge,u.navigation.location,l):u.matches;W(Ge,"Didn't find any matches after fetcher action");let pr=++B;Se.set(y,pr);let Al=Y({state:"loading",data:J.data},A,{" _hasFetcherDoneAnything ":!0});u.fetchers.set(y,Al);let[fo,$t]=Bu(e.history,u,Ge,A,je,P,M,L,Ee,ge,l,{[z.route.id]:J.data},void 0);$t.filter(Ue=>Ue.key!==y).forEach(Ue=>{let Ql=Ue.key,Ps=u.fetchers.get(Ql),rm={state:"loading",data:Ps&&Ps.data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0};u.fetchers.set(Ql,rm),Ue.controller&&F.set(Ql,Ue.controller)}),b({fetchers:new Map(u.fetchers)});let po=()=>$t.forEach(Ue=>Pn(Ue.key));$.signal.addEventListener("abort",po);let{results:Bl,loaderResults:Hl,fetcherResults:Wl}=await _s(u.matches,Ge,fo,$t,ve);if($.signal.aborted)return;$.signal.removeEventListener("abort",po),Se.delete(y),F.delete(y),$t.forEach(Ue=>F.delete(Ue.key));let ho=Gu(Bl);if(ho)return dr(u,ho);let{loaderData:oe,errors:Ye}=Vu(u,u.matches,fo,Hl,void 0,$t,Wl,nt),Nn={state:"idle",data:J.data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0};u.fetchers.set(y,Nn);let Vl=Es(pr);u.navigation.state==="loading"&&pr>q?(W(d,"Expected pending action"),g&&g.abort(),ne(u.navigation.location,{matches:Ge,loaderData:oe,errors:Ye,fetchers:new Map(u.fetchers)})):(b(Y({errors:Ye,loaderData:Qu(u.loaderData,oe,Ge,Ye)},Vl?{fetchers:new Map(u.fetchers)}:{})),P=!1)}async function Zh(y,w,k,z,T,A){let H=u.fetchers.get(y),U=Y({state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0},A,{data:H&&H.data," _hasFetcherDoneAnything ":!0});u.fetchers.set(y,U),b({fetchers:new Map(u.fetchers)});let $=new AbortController,G=kr(e.history,k,$.signal);F.set(y,$);let J=await xr("loader",G,z,T,n,t,l);if(pn(J)&&(J=await Pf(J,G.signal,!0)||J),F.get(y)===$&&F.delete(y),G.signal.aborted)return;if(Xn(J)){fe.add(y),await dr(u,J);return}if(Ir(J)){let ve=Hn(u.matches,w);u.fetchers.delete(y),b({fetchers:new Map(u.fetchers),errors:{[ve.route.id]:J.error}});return}W(!pn(J),"Unhandled fetcher deferred data");let je={state:"idle",data:J.data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0};u.fetchers.set(y,je),b({fetchers:new Map(u.fetchers)})}async function dr(y,w,k){var z;let{submission:T,replace:A,isFetchActionRedirect:H}=k===void 0?{}:k;w.revalidate&&(P=!0);let U=to(y.location,w.location,Y({_isRedirect:!0},H?{_isFetchActionRedirect:!0}:{}));if(W(U,"Expected a location on the redirect navigation"),xf.test(w.location)&&kf&&typeof((z=window)==null?void 0:z.location)<"u"){let ge=e.history.createURL(w.location),Ge=ur(ge.pathname,l)==null;if(window.location.origin!==ge.origin||Ge){A?window.location.replace(w.location):window.location.assign(w.location);return}}g=null;let $=A===!0?ce.Replace:ce.Push,{formMethod:G,formAction:J,formEncType:je,formData:ve}=y.navigation;!T&&G&&J&&ve&&je&&(T={formMethod:G,formAction:J,formEncType:je,formData:ve}),oy.has(w.status)&&T&&_t(T.formMethod)?await Ke($,U,{submission:Y({},T,{formAction:w.location}),preventScrollReset:h}):H?await Ke($,U,{overrideNavigation:{state:"loading",location:U,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0},fetcherSubmission:T,preventScrollReset:h}):await Ke($,U,{overrideNavigation:{state:"loading",location:U,formMethod:T?T.formMethod:void 0,formAction:T?T.formAction:void 0,formEncType:T?T.formEncType:void 0,formData:T?T.formData:void 0},preventScrollReset:h})}async function _s(y,w,k,z,T){let A=await Promise.all([...k.map($=>xr("loader",T,$,w,n,t,l)),...z.map($=>$.matches&&$.match&&$.controller?xr("loader",kr(e.history,$.path,$.controller.signal),$.match,$.matches,n,t,l):{type:pe.error,error:lt(404,{pathname:$.path})})]),H=A.slice(0,k.length),U=A.slice(k.length);return await Promise.all([Yu(y,k,H,H.map(()=>T.signal),!1,u.loaderData),Yu(y,z.map($=>$.match),U,z.map($=>$.controller?$.controller.signal:null),!0)]),{results:A,loaderResults:H,fetcherResults:U}}function Il(){P=!0,M.push(...Ul()),Ee.forEach((y,w)=>{F.has(w)&&(L.push(w),Pn(w))})}function Fl(y,w,k){let z=Hn(u.matches,w);bl(y),b({errors:{[z.route.id]:k},fetchers:new Map(u.fetchers)})}function bl(y){F.has(y)&&Pn(y),Ee.delete(y),Se.delete(y),fe.delete(y),u.fetchers.delete(y)}function Pn(y){let w=F.get(y);W(w,"Expected fetch controller: "+y),w.abort(),F.delete(y)}function xs(y){for(let w of y){let z={state:"idle",data:Ss(w).data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0};u.fetchers.set(w,z)}}function ks(){let y=[],w=!1;for(let k of fe){let z=u.fetchers.get(k);W(z,"Expected fetcher: "+k),z.state==="loading"&&(fe.delete(k),y.push(k),w=!0)}return xs(y),w}function Es(y){let w=[];for(let[k,z]of Se)if(z0}function qh(y,w){let k=u.blockers.get(y)||Uu;return Me.get(y)!==w&&Me.set(y,w),k}function fr(y){u.blockers.delete(y),Me.delete(y)}function co(y,w){let k=u.blockers.get(y)||Uu;W(k.state==="unblocked"&&w.state==="blocked"||k.state==="blocked"&&w.state==="blocked"||k.state==="blocked"&&w.state==="proceeding"||k.state==="blocked"&&w.state==="unblocked"||k.state==="proceeding"&&w.state==="unblocked","Invalid blocker state transition: "+k.state+" -> "+w.state),u.blockers.set(y,w),b({blockers:new Map(u.blockers)})}function js(y){let{currentLocation:w,nextLocation:k,historyAction:z}=y;if(Me.size===0)return;Me.size>1&&lr(!1,"A router only supports one blocker at a time");let T=Array.from(Me.entries()),[A,H]=T[T.length-1],U=u.blockers.get(A);if(!(U&&U.state==="proceeding")&&H({currentLocation:w,nextLocation:k,historyAction:z}))return A}function Ul(y){let w=[];return nt.forEach((k,z)=>{(!y||y(z))&&(k.cancel(),w.push(z),nt.delete(z))}),w}function em(y,w,k){if(c=y,p=w,f=k||(z=>z.key),!m&&u.navigation===Si){m=!0;let z=Cs(u.location,u.matches);z!=null&&b({restoreScrollPosition:z})}return()=>{c=null,p=null,f=null}}function tm(y,w){if(c&&f&&p){let k=w.map(T=>Xu(T,u.loaderData)),z=f(y,k)||y.key;c[z]=p()}}function Cs(y,w){if(c&&f&&p){let k=w.map(A=>Xu(A,u.loaderData)),z=f(y,k)||y.key,T=c[z];if(typeof T=="number")return T}return null}function nm(y){o=y}return R={get basename(){return l},get state(){return u},get routes(){return r},initialize:N,subscribe:I,enableScrollRestoration:em,navigate:ln,fetch:Xh,revalidate:gt,createHref:y=>e.history.createHref(y),encodeLocation:y=>e.history.encodeLocation(y),getFetcher:Ss,deleteFetcher:bl,dispose:D,getBlocker:qh,deleteBlocker:fr,_internalFetchControllers:F,_internalActiveDeferreds:nt,_internalSetRoutes:nm},R}function uy(e){return e!=null&&"formData"in e}function ha(e,t,n,r,o,l,i){let a,s;if(l!=null&&i!=="path"){a=[];for(let f of t)if(a.push(f),f.route.id===l){s=f;break}}else a=t,s=t[t.length-1];let c=ms(o||".",Ol(a).map(f=>f.pathnameBase),ur(e.pathname,n)||e.pathname,i==="path");return o==null&&(c.search=e.search,c.hash=e.hash),(o==null||o===""||o===".")&&s&&s.route.index&&!gs(c.search)&&(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),r&&n!=="/"&&(c.pathname=c.pathname==="/"?n:Pt([n,c.pathname])),xn(c)}function Au(e,t,n,r){if(!r||!uy(r))return{path:n};if(r.formMethod&&!vy(r.formMethod))return{path:n,error:lt(405,{method:r.formMethod})};let o;if(r.formData){let a=r.formMethod||"get";if(o={formMethod:e?a.toUpperCase():a.toLowerCase(),formAction:Cf(n),formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:r.formData},_t(o.formMethod))return{path:n,submission:o}}let l=zt(n),i=jf(r.formData);return t&&l.search&&gs(l.search)&&i.append("index",""),l.search="?"+i,{path:xn(l),submission:o}}function cy(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 Bu(e,t,n,r,o,l,i,a,s,c,f,p,m){let x=m?Object.values(m)[0]:p?Object.values(p)[0]:void 0,S=e.createURL(t.location),_=e.createURL(o),R=m?Object.keys(m)[0]:void 0,d=cy(n,R).filter((g,j)=>{if(g.route.lazy)return!0;if(g.route.loader==null)return!1;if(dy(t.loaderData,t.matches[j],g)||i.some(L=>L===g.route.id))return!0;let P=t.matches[j],M=g;return Hu(g,Y({currentUrl:S,currentParams:P.params,nextUrl:_,nextParams:M.params},r,{actionResult:x,defaultShouldRevalidate:l||S.pathname+S.search===_.pathname+_.search||S.search!==_.search||Ef(P,M)}))}),h=[];return s.forEach((g,j)=>{if(!n.some(F=>F.route.id===g.routeId))return;let P=Bn(c,g.path,f);if(!P){h.push({key:j,routeId:g.routeId,path:g.path,matches:null,match:null,controller:null});return}let M=ma(P,g.path);if(a.includes(j)){h.push({key:j,routeId:g.routeId,path:g.path,matches:P,match:M,controller:new AbortController});return}Hu(M,Y({currentUrl:S,currentParams:t.matches[t.matches.length-1].params,nextUrl:_,nextParams:n[n.length-1].params},r,{actionResult:x,defaultShouldRevalidate:l}))&&h.push({key:j,routeId:g.routeId,path:g.path,matches:P,match:M,controller:new AbortController})}),[d,h]}function dy(e,t,n){let r=!t||n.route.id!==t.route.id,o=e[n.route.id]===void 0;return r||o}function Ef(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function Hu(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n=="boolean")return n}return t.defaultShouldRevalidate}async function Wu(e,t,n){if(!e.lazy)return;let r=await e.lazy();if(!e.lazy)return;let o=n[e.id];W(o,"No route found in manifest");let l={};for(let i in r){let s=o[i]!==void 0&&i!=="hasErrorBoundary";lr(!s,'Route "'+o.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.')),!s&&!zg.has(i)&&(l[i]=r[i])}Object.assign(o,l),Object.assign(o,Y({},t(o),{lazy:void 0}))}async function xr(e,t,n,r,o,l,i,a,s,c){a===void 0&&(a=!1),s===void 0&&(s=!1);let f,p,m,x=R=>{let u,d=new Promise((h,g)=>u=g);return m=()=>u(),t.signal.addEventListener("abort",m),Promise.race([R({request:t,params:n.params,context:c}),d])};try{let R=n.route[e];if(n.route.lazy)if(R)p=(await Promise.all([x(R),Wu(n.route,l,o)]))[0];else if(await Wu(n.route,l,o),R=n.route[e],R)p=await x(R);else if(e==="action"){let u=new URL(t.url),d=u.pathname+u.search;throw lt(405,{method:t.method,pathname:d,routeId:n.route.id})}else return{type:pe.data,data:void 0};else if(R)p=await x(R);else{let u=new URL(t.url),d=u.pathname+u.search;throw lt(404,{pathname:d})}W(p!==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(R){f=pe.error,p=R}finally{m&&t.signal.removeEventListener("abort",m)}if(my(p)){let R=p.status;if(ry.has(R)){let h=p.headers.get("Location");if(W(h,"Redirects returned/thrown from loaders/actions must have a Location header"),!xf.test(h))h=ha(new URL(t.url),r.slice(0,r.indexOf(n)+1),i,!0,h);else if(!a){let g=new URL(t.url),j=h.startsWith("//")?new URL(g.protocol+h):new URL(h),P=ur(j.pathname,i)!=null;j.origin===g.origin&&P&&(h=j.pathname+j.search+j.hash)}if(a)throw p.headers.set("Location",h),p;return{type:pe.redirect,status:R,location:h,revalidate:p.headers.get("X-Remix-Revalidate")!==null}}if(s)throw{type:f||pe.data,response:p};let u,d=p.headers.get("Content-Type");return d&&/\bapplication\/json\b/.test(d)?u=await p.json():u=await p.text(),f===pe.error?{type:f,error:new vs(R,p.statusText,u),headers:p.headers}:{type:pe.data,data:u,statusCode:p.status,headers:p.headers}}if(f===pe.error)return{type:f,error:p};if(hy(p)){var S,_;return{type:pe.deferred,deferredData:p,statusCode:(S=p.init)==null?void 0:S.status,headers:((_=p.init)==null?void 0:_.headers)&&new Headers(p.init.headers)}}return{type:pe.data,data:p}}function kr(e,t,n,r){let o=e.createURL(Cf(t)).toString(),l={signal:n};if(r&&_t(r.formMethod)){let{formMethod:i,formEncType:a,formData:s}=r;l.method=i.toUpperCase(),l.body=a==="application/x-www-form-urlencoded"?jf(s):s}return new Request(o,l)}function jf(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,r instanceof File?r.name:r);return t}function fy(e,t,n,r,o){let l={},i=null,a,s=!1,c={};return n.forEach((f,p)=>{let m=t[p].route.id;if(W(!Xn(f),"Cannot handle redirect results in processLoaderData"),Ir(f)){let x=Hn(e,m),S=f.error;r&&(S=Object.values(r)[0],r=void 0),i=i||{},i[x.route.id]==null&&(i[x.route.id]=S),l[m]=void 0,s||(s=!0,a=Sf(f.error)?f.error.status:500),f.headers&&(c[m]=f.headers)}else pn(f)?(o.set(m,f.deferredData),l[m]=f.deferredData.data):l[m]=f.data,f.statusCode!=null&&f.statusCode!==200&&!s&&(a=f.statusCode),f.headers&&(c[m]=f.headers)}),r&&(i=r,l[Object.keys(r)[0]]=void 0),{loaderData:l,errors:i,statusCode:a||200,loaderHeaders:c}}function Vu(e,t,n,r,o,l,i,a){let{loaderData:s,errors:c}=fy(t,n,r,o,a);for(let f=0;fr.route.id===t)+1):[...e]).reverse().find(r=>r.route.hasErrorBoundary===!0)||e[0]}function Ku(e){let t=e.find(n=>n.index||!n.path||n.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function lt(e,t){let{pathname:n,routeId:r,method:o,type:l}=t===void 0?{}:t,i="Unknown Server Error",a="Unknown @remix-run/router error";return e===400?(i="Bad Request",o&&n&&r?a="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.":l==="defer-action"&&(a="defer() is not supported in actions")):e===403?(i="Forbidden",a='Route "'+r+'" does not match URL "'+n+'"'):e===404?(i="Not Found",a='No route matches URL "'+n+'"'):e===405&&(i="Method Not Allowed",o&&n&&r?a="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&&(a='Invalid request method "'+o.toUpperCase()+'"')),new vs(e||500,i,new Error(a),!0)}function Gu(e){for(let t=e.length-1;t>=0;t--){let n=e[t];if(Xn(n))return n}}function Cf(e){let t=typeof e=="string"?zt(e):e;return xn(Y({},t,{hash:""}))}function py(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function pn(e){return e.type===pe.deferred}function Ir(e){return e.type===pe.error}function Xn(e){return(e&&e.type)===pe.redirect}function hy(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 my(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function vy(e){return ny.has(e.toLowerCase())}function _t(e){return ey.has(e.toLowerCase())}async function Yu(e,t,n,r,o,l){for(let i=0;ip.route.id===s.route.id),f=c!=null&&!Ef(c,s)&&(l&&l[s.route.id])!==void 0;if(pn(a)&&(o||f)){let p=r[i];W(p,"Expected an AbortSignal for revalidating fetcher deferred result"),await Pf(a,p,o).then(m=>{m&&(n[i]=m||n[i])})}}}async function Pf(e,t,n){if(n===void 0&&(n=!1),!await e.deferredData.resolveData(t)){if(n)try{return{type:pe.data,data:e.deferredData.unwrappedData}}catch(o){return{type:pe.error,error:o}}return{type:pe.data,data:e.deferredData.data}}}function gs(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function Xu(e,t){let{route:n,pathname:r,params:o}=e;return{id:n.id,pathname:r,params:o,data:t[n.id],handle:n.handle}}function ma(e,t){let n=typeof t=="string"?zt(t).search:t.search;if(e[e.length-1].route.index&&gs(n||""))return e[e.length-1];let r=Ol(e);return r[r.length-1]}/** * React Router v6.11.1 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */function ml(){return ml=Object.assign?Object.assign.bind():function(e){for(var t=1;ta.pathnameBase)),l=E.useRef(!1);return Rf(()=>{l.current=!0}),E.useCallback(function(a,s){if(s===void 0&&(s={}),!l.current)return;if(typeof a=="number"){t.go(a);return}let c=ms(a,JSON.parse(o),r,s.relative==="path");e!=="/"&&(c.pathname=c.pathname==="/"?e:Pt([e,c.pathname])),(s.replace?t.replace:t.push)(c,s.state,s)},[e,t,o,r])}const Sy=E.createContext(null);function _y(e){let t=E.useContext(Tt).outlet;return t&&E.createElement(Sy.Provider,{value:e},t)}function xy(){let{matches:e}=E.useContext(Tt),t=e[e.length-1];return t?t.params:{}}function Mf(e,t){let{relative:n}=t===void 0?{}:t,{matches:r}=E.useContext(Tt),{pathname:o}=uo(),l=JSON.stringify(Ol(r).map(i=>i.pathnameBase));return E.useMemo(()=>ms(e,JSON.parse(l),o,n==="path"),[e,l,o,n])}function ky(e,t,n){so()||W(!1);let{navigator:r}=E.useContext(cr),{matches:o}=E.useContext(Tt),l=o[o.length-1],i=l?l.params:{};l&&l.pathname;let a=l?l.pathnameBase:"/";l&&l.route;let s=uo(),c;if(t){var f;let _=typeof t=="string"?zt(t):t;a==="/"||(f=_.pathname)!=null&&f.startsWith(a)||W(!1),c=_}else c=s;let p=c.pathname||"/",m=a==="/"?p:p.slice(a.length)||"/",x=Bn(e,{pathname:m}),S=Ny(x&&x.map(_=>Object.assign({},_,{params:Object.assign({},i,_.params),pathname:Pt([a,r.encodeLocation?r.encodeLocation(_.pathname).pathname:_.pathname]),pathnameBase:_.pathnameBase==="/"?a:Pt([a,r.encodeLocation?r.encodeLocation(_.pathnameBase).pathname:_.pathnameBase])})),o,n);return t&&S?E.createElement(Tl.Provider,{value:{location:ml({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:ce.Pop}},S):S}function Ey(){let e=zy(),t=Sf(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)"},l=null;return E.createElement(E.Fragment,null,E.createElement("h2",null,"Unexpected Application Error!"),E.createElement("h3",{style:{fontStyle:"italic"}},t),n?E.createElement("pre",{style:o},n):null,l)}const jy=E.createElement(Ey,null);class Cy extends E.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||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?E.createElement(Tt.Provider,{value:this.props.routeContext},E.createElement(Nf.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Py(e){let{routeContext:t,match:n,children:r}=e,o=E.useContext(zl);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),E.createElement(Tt.Provider,{value:t},r)}function Ny(e,t,n){var r;if(t===void 0&&(t=[]),n===void 0&&(n=null),e==null){var o;if((o=n)!=null&&o.errors)e=n.matches;else return null}let l=e,i=(r=n)==null?void 0:r.errors;if(i!=null){let a=l.findIndex(s=>s.route.id&&(i==null?void 0:i[s.route.id]));a>=0||W(!1),l=l.slice(0,Math.min(l.length,a+1))}return l.reduceRight((a,s,c)=>{let f=s.route.id?i==null?void 0:i[s.route.id]:null,p=null;n&&(p=s.route.errorElement||jy);let m=t.concat(l.slice(0,c+1)),x=()=>{let S;return f?S=p:s.route.Component?S=E.createElement(s.route.Component,null):s.route.element?S=s.route.element:S=a,E.createElement(Py,{match:s,routeContext:{outlet:a,matches:m,isDataRoute:n!=null},children:S})};return n&&(s.route.ErrorBoundary||s.route.errorElement||c===0)?E.createElement(Cy,{location:n.location,revalidation:n.revalidation,component:p,error:f,children:x(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):x()},null)}var va;(function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate"})(va||(va={}));var kn;(function(e){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"})(kn||(kn={}));function Ry(e){let t=E.useContext(zl);return t||W(!1),t}function ws(e){let t=E.useContext(ys);return t||W(!1),t}function My(e){let t=E.useContext(Tt);return t||W(!1),t}function Lf(e){let t=My(),n=t.matches[t.matches.length-1];return n.route.id||W(!1),n.route.id}function Ly(){return ws(kn.UseNavigation).navigation}function Oy(){let{matches:e,loaderData:t}=ws(kn.UseMatches);return E.useMemo(()=>e.map(n=>{let{pathname:r,params:o}=n;return{id:n.route.id,pathname:r,params:o,data:t[n.route.id],handle:n.route.handle}}),[e,t])}function zy(){var e;let t=E.useContext(Nf),n=ws(kn.UseRouteError),r=Lf(kn.UseRouteError);return t||((e=n.errors)==null?void 0:e[r])}function Ty(){let{router:e}=Ry(va.UseNavigateStable),t=Lf(kn.UseNavigateStable),n=E.useRef(!1);return Rf(()=>{n.current=!0}),E.useCallback(function(o,l){l===void 0&&(l={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,ml({fromRouteId:t},l)))},[e,t])}function $y(e){let{fallbackElement:t,router:n}=e,[r,o]=E.useState(n.state);E.useLayoutEffect(()=>n.subscribe(o),[n,o]);let l=E.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:s=>n.navigate(s),push:(s,c,f)=>n.navigate(s,{state:c,preventScrollReset:f==null?void 0:f.preventScrollReset}),replace:(s,c,f)=>n.navigate(s,{replace:!0,state:c,preventScrollReset:f==null?void 0:f.preventScrollReset})}),[n]),i=n.basename||"/",a=E.useMemo(()=>({router:n,navigator:l,static:!1,basename:i}),[n,l,i]);return E.createElement(E.Fragment,null,E.createElement(zl.Provider,{value:a},E.createElement(ys.Provider,{value:r},E.createElement(Fy,{basename:n.basename,location:n.state.location,navigationType:n.state.historyAction,navigator:l},n.state.initialized?E.createElement(Dy,{routes:n.routes,state:r}):t))),null)}function Dy(e){let{routes:t,state:n}=e;return ky(t,void 0,n)}function Iy(e){return _y(e.context)}function wt(e){W(!1)}function Fy(e){let{basename:t="/",children:n=null,location:r,navigationType:o=ce.Pop,navigator:l,static:i=!1}=e;so()&&W(!1);let a=t.replace(/^\/*/,"/"),s=E.useMemo(()=>({basename:a,navigator:l,static:i}),[a,l,i]);typeof r=="string"&&(r=zt(r));let{pathname:c="/",search:f="",hash:p="",state:m=null,key:x="default"}=r,S=E.useMemo(()=>{let _=ur(c,a);return _==null?null:{location:{pathname:_,search:f,hash:p,state:m,key:x},navigationType:o}},[a,c,f,p,m,x,o]);return S==null?null:E.createElement(cr.Provider,{value:s},E.createElement(Tl.Provider,{children:n,value:S}))}var Ju;(function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"})(Ju||(Ju={}));new Promise(()=>{});function ga(e,t){t===void 0&&(t=[]);let n=[];return E.Children.forEach(e,(r,o)=>{if(!E.isValidElement(r))return;let l=[...t,o];if(r.type===E.Fragment){n.push.apply(n,ga(r.props.children,l));return}r.type!==wt&&W(!1),!r.props.index||!r.props.children||W(!1);let i={id:r.props.id||l.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=ga(r.props.children,l)),n.push(i)}),n}function by(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:E.createElement(e.Component),Component:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:E.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}/** * React Router DOM v6.11.1 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */function no(){return no=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}function Ay(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function By(e,t){return e.button===0&&(!t||t==="_self")&&!Ay(e)}const Hy=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"];function Wy(e,t){return sy({basename:t==null?void 0:t.basename,future:no({},t==null?void 0:t.future,{v7_prependBasename:!0}),history:Mg({window:t==null?void 0:t.window}),hydrationData:(t==null?void 0:t.hydrationData)||Vy(),routes:e,mapRouteProperties:by}).initialize()}function Vy(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=no({},t,{errors:Qy(t.errors)})),t}function Qy(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 vs(o.status,o.statusText,o.data,o.internal===!0);else if(o&&o.__type==="Error"){let l=new Error(o.message);l.stack="",n[r]=l}else n[r]=o;return n}const Ky=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Gy=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,un=E.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:l,replace:i,state:a,target:s,to:c,preventScrollReset:f}=t,p=Uy(t,Hy),{basename:m}=E.useContext(cr),x,S=!1;if(typeof c=="string"&&Gy.test(c)&&(x=c,Ky))try{let d=new URL(window.location.href),h=c.startsWith("//")?new URL(d.protocol+c):new URL(c),g=ur(h.pathname,m);h.origin===d.origin&&g!=null?c=g+h.search+h.hash:S=!0}catch{}let _=gy(c,{relative:o}),R=Zy(c,{replace:i,state:a,target:s,preventScrollReset:f,relative:o});function u(d){r&&r(d),d.defaultPrevented||R(d)}return E.createElement("a",no({},p,{href:x||_,onClick:S||l?r:u,ref:n,target:s}))});function Yy(e){let{getKey:t,storageKey:n}=e;return qy({getKey:t,storageKey:n}),null}var ya;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(ya||(ya={}));var wa;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(wa||(wa={}));function Xy(e){let t=E.useContext(zl);return t||W(!1),t}function Jy(e){let t=E.useContext(ys);return t||W(!1),t}function Zy(e,t){let{target:n,replace:r,state:o,preventScrollReset:l,relative:i}=t===void 0?{}:t,a=yy(),s=uo(),c=Mf(e,{relative:i});return E.useCallback(f=>{if(By(f,n)){f.preventDefault();let p=r!==void 0?r:xn(s)===xn(c);a(e,{replace:p,state:o,preventScrollReset:l,relative:i})}},[s,a,c,r,o,n,e,l,i])}const Zu="react-router-scroll-positions";let Oo={};function qy(e){let{getKey:t,storageKey:n}=e===void 0?{}:e,{router:r}=Xy(ya.UseScrollRestoration),{restoreScrollPosition:o,preventScrollReset:l}=Jy(wa.UseScrollRestoration),i=uo(),a=Oy(),s=Ly();E.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),e0(E.useCallback(()=>{if(s.state==="idle"){let c=(t?t(i,a):null)||i.key;Oo[c]=window.scrollY}sessionStorage.setItem(n||Zu,JSON.stringify(Oo)),window.history.scrollRestoration="auto"},[n,t,s.state,i,a])),typeof document<"u"&&(E.useLayoutEffect(()=>{try{let c=sessionStorage.getItem(n||Zu);c&&(Oo=JSON.parse(c))}catch{}},[n]),E.useLayoutEffect(()=>{let c=r==null?void 0:r.enableScrollRestoration(Oo,()=>window.scrollY,t);return()=>c&&c()},[r,t]),E.useLayoutEffect(()=>{if(o!==!1){if(typeof o=="number"){window.scrollTo(0,o);return}if(i.hash){let c=document.getElementById(i.hash.slice(1));if(c){c.scrollIntoView();return}}l!==!0&&window.scrollTo(0,0)}},[i,o,l]))}function e0(e,t){let{capture:n}=t||{};E.useEffect(()=>{let r=n!=null?{capture:n}:void 0;return window.addEventListener("pagehide",e,r),()=>{window.removeEventListener("pagehide",e,r)}},[e,n])}function $l(e,t,n,r){return new(n||(n=Promise))(function(o,l){function i(c){try{s(r.next(c))}catch(f){l(f)}}function a(c){try{s(r.throw(c))}catch(f){l(f)}}function s(c){var f;c.done?o(c.value):(f=c.value,f instanceof n?f:new n(function(p){p(f)})).then(i,a)}s((r=r.apply(e,t||[])).next())})}function Zt(e,t){var n,r,o,l,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return l={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function a(s){return function(c){return function(f){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(o=2&f[0]?r.return:f[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,f[1])).done)return o;switch(r=0,o&&(f=[2&f[0],o.value]),f[0]){case 0:case 1:o=f;break;case 4:return i.label++,{value:f[1],done:!1};case 5:i.label++,r=f[1],f=[0];continue;case 7:f=i.ops.pop(),i.trys.pop();continue;default:if(o=i.trys,!((o=o.length>0&&o[o.length-1])||f[0]!==6&&f[0]!==2)){i=0;continue}if(f[0]===3&&(!o||f[1]>o[0]&&f[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ht(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r,o,l=n.call(e),i=[];try{for(;(t===void 0||t-- >0)&&!(r=l.next()).done;)i.push(r.value)}catch(a){o={error:a}}finally{try{r&&!r.done&&(n=l.return)&&n.call(l)}finally{if(o)throw o.error}}return i}function hn(e,t,n){if(n||arguments.length===2)for(var r,o=0,l=t.length;oc.length||f===""){i=a;break}l=t.slice(i,t.length)}d.label=1;case 1:d.trys.push([1,6,7,8]),p=Sa(function(h){var g,j,P,M,L,F,B;return Zt(this,function(q){switch(q.label){case 0:g=function(Se){return Zt(this,function(fe){switch(fe.label){case 0:return[4,{op:function(Ee){return requestAnimationFrame(function(){return Ee.textContent=Se})},opCode:function(Ee){return Se===""||Ee.textContent.length>Se.length?"DELETE":"WRITING"}}];case 1:return fe.sent(),[2]}})},q.label=1;case 1:q.trys.push([1,6,7,8]),j=Sa(h),P=j.next(),q.label=2;case 2:return P.done?[3,5]:(M=P.value,[5,g(M)]);case 3:q.sent(),q.label=4;case 4:return P=j.next(),[3,2];case 5:return[3,8];case 6:return L=q.sent(),F={error:L},[3,8];case 7:try{P&&!P.done&&(B=j.return)&&B.call(j)}finally{if(F)throw F.error}return[7];case 8:return[2]}})}(l)),m=p.next(),d.label=2;case 2:return m.done?[3,5]:(x=m.value,S=x.opCode(e)==="WRITING"?n+n*(Math.random()-.5):r+r*(Math.random()-.5),x.op(e),[4,Of(S)]);case 3:d.sent(),d.label=4;case 4:return m=p.next(),[3,2];case 5:return[3,8];case 6:return _=d.sent(),R={error:_},[3,8];case 7:try{m&&!m.done&&(u=p.return)&&u.call(p)}finally{if(R)throw R.error}return[7];case 8:return[2]}})})}function r0(e,t,n){var r=ht(e).slice(0);return t===void 0&&(t=0),n===void 0&&(n=r.length),Zt(this,function(o){switch(o.label){case 0:return tt?[4,r.slice(0,--n).join("")]:[3,2];case 1:return o.sent(),[3,0];case 2:return[2]}})}var l0="index-module_type__E-SaG";(function(e,t){t===void 0&&(t={});var n=t.insertAt;if(e&&typeof document<"u"){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css",n==="top"&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}})(`.index-module_type__E-SaG::after { content: '|'; animation: index-module_cursor__PQg0P 1.1s infinite step-start; } @keyframes index-module_cursor__PQg0P { 50% { opacity: 0; } } `);var i0=E.memo(E.forwardRef(function(e,t){var n=e.sequence,r=e.repeat,o=e.className,l=e.speed,i=l===void 0?40:l,a=e.deletionSpeed,s=e.omitDeletionAnimation,c=s!==void 0&&s,f=e.preRenderFirstString,p=f!==void 0&&f,m=e.wrapper,x=m===void 0?"span":m,S=e.cursor,_=S===void 0||S,R=e.style,u=function(K,N){var D={};for(var I in K)Object.prototype.hasOwnProperty.call(K,I)&&N.indexOf(I)<0&&(D[I]=K[I]);if(K!=null&&typeof Object.getOwnPropertySymbols=="function"){var b=0;for(I=Object.getOwnPropertySymbols(K);b{const[a,s]=E.useState(!1),c=o&&a;return v.jsxs("span",{style:{whiteSpace:"pre-wrap"},children:[v.jsx("span",{style:{position:"absolute"},children:t&&!c&&v.jsx(i0,{sequence:[...n,e,...r,()=>s(!0)],speed:l,deletionSpeed:i})}),v.jsx("span",{style:{visibility:c?"initial":"hidden"},children:e})]})},a0=()=>{const[e,t]=E.useState(0),n=window.innerWidth<1053;return v.jsx("div",{className:"obs__introduction",children:v.jsxs("div",{className:"obs__introduction-terminal",children:[v.jsxs("div",{className:"obs__introduction-terminal-buttons__container",children:[v.jsx("div",{className:"obs__introduction-terminal-buttons red"}),v.jsx("div",{className:"obs__introduction-terminal-buttons amber"}),v.jsx("div",{className:"obs__introduction-terminal-buttons green"})]}),v.jsxs("div",{className:"obs__introduction-terminal-body",style:{overflowWrap:"break-word"},children:[v.jsx("h1",{className:"obs__introduction-heading",children:v.jsx(It,{text:n?`WHERE DEVELOPERS BUILD TOGETHER`:`WHERE DEVELOPERS BUILD TOGETHER`,sequenceAfter:[1e3,()=>t(1)]})}),v.jsx("div",{className:"obs__introduction-description__container",children:v.jsx("div",{className:"obs__introduction-description-buls",children:v.jsxs("div",{className:"obs__introduction-description animate",children:[v.jsx("h3",{children:e<=2?v.jsx(It,{showIf:e>=1,text:"Find your people",sequenceAfter:[1e3,()=>{e===1&&t(2)}]}):e<=3?v.jsx(It,{text:"Develop your skills",sequenceAfter:[1e3,""]}):v.jsx(It,{text:"Contribute to projects",sequenceAfter:[1e3,""]})}),v.jsx("p",{children:e<=2?v.jsx(It,{showIf:e>=2,text:n?`() => { Members can present about their projects and find teammates. }`:"() => { Members can present about their projects and find teammates. }",sequenceAfter:[3e3,()=>t(2),"",()=>t(3)],sequenceBefore:[500],hideCursorAfter:!0,speed:60},e):e<=3?v.jsx(It,{text:n?`() => { Hone your collaboration skills and learn new technologies. }`:"() => { Hone your collaboration skills and learn new technologies. }",sequenceBefore:[500],sequenceAfter:[3e3,"",()=>t(4)],hideCursorAfter:!0,speed:60},e):v.jsx(It,{text:n?`() => { Hop in the development of an in-progress project. }`:"() => { Hop in the development of an in-progress project. }",sequenceBefore:[500],sequenceAfter:[3e3,"",()=>t(2)],hideCursorAfter:!0,speed:60},e)})]})})})]})]})})};var zf={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},ec=jt.createContext&&jt.createContext(zf),qt=globalThis&&globalThis.__assign||function(){return qt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{const[e,t]=E.useState(!1),n=v.jsxs(v.Fragment,{children:[v.jsx("p",{children:v.jsx(un,{to:"/hackathon",children:"Hackathon 2024!"})}),v.jsx("p",{children:v.jsx(un,{to:"/about",children:"About"})}),v.jsx("p",{children:v.jsx(un,{to:"/resources",children:"Resources"})}),v.jsx("p",{children:v.jsx(un,{to:"/contact",children:"Contact"})}),v.jsx("p",{children:v.jsx(un,{to:"/members",children:"Members"})})]});return v.jsxs("div",{className:"obs__navbar ",children:[v.jsxs("div",{className:"obs__navbar-links",children:[v.jsx("div",{className:"obs__navbar-links_logo",children:v.jsx("p",{children:v.jsxs(un,{to:"/",children:["{","obiesource","}"]})})}),v.jsx("div",{className:"obs__navbar-links_container",children:n})]}),v.jsxs("div",{className:"obs__navbar-menu",children:[e?v.jsx(c0,{color:"#fff",size:27,onClick:()=>t(!1)}):v.jsx(d0,{color:"#fff",size:27,onClick:()=>t(!0)}),e&&v.jsx("div",{className:"obs__navbar-menu_container",children:v.jsx("div",{className:"obs__navbar-menu_container-links",children:n})})]})]})};const p0=()=>{const[e,t]=E.useState(null);return E.useEffect(()=>{(async()=>{const r=await(await fetch("https://api.github.com/orgs/ObieSource/repos")).json(),o=[];for(let i=0;ia.updated_at.localeCompare(i.updated_at));t(l)})()},[]),e?v.jsxs("div",{className:"obs__projects",children:[v.jsx("div",{className:"obs__projects-header",children:"{See Our Projects}"}),v.jsx("div",{className:"obs__projects-flex__container",children:e.map((n,r)=>{var o;return v.jsxs("div",{className:"obs__projects-project animate flip",style:{animationDelay:.5+r*.25+"s"},children:[v.jsxs("div",{className:"obs__projects-project-heading",children:[v.jsx("div",{className:"obs__projects-project-heading-title",children:v.jsx("a",{href:n.html_url,children:n.name})}),v.jsx("div",{className:"obs__projects-project-heading-status",children:(o=n.license)==null?void 0:o.spdx_id})]}),v.jsxs("div",{className:"obs__projects-project-heading-description",children:[n.description!=null?n.description.indexOf(" Project")!==-1?n.description.substring(0,n.description.indexOf(" Project")):n.description:"",v.jsx("div",{className:"obs__projects-project-heading-description-leader",children:n.description!=null?n.description.indexOf(" Project")===-1?"":n.description.substring(n.description.indexOf(" Project")+9):""})]})]},n.name)})})]}):v.jsx("div",{children:"Loading..."})};const Dl=({heading:e})=>v.jsx("div",{className:"obs__terminal",children:v.jsxs("div",{className:"obs__terminal-terminal",children:[v.jsxs("div",{className:"obs__terminal-terminal-buttons__container",children:[v.jsx("div",{className:"obs__terminal-terminal-buttons red"}),v.jsx("div",{className:"obs__terminal-terminal-buttons amber"}),v.jsx("div",{className:"obs__terminal-terminal-buttons green"})]}),v.jsx("div",{className:"obs__terminal-terminal-body",children:v.jsx("h1",{className:"obs__terminal-heading",children:e.toUpperCase()})})]})});const h0=()=>v.jsxs("div",{className:"obs__about-more",children:[v.jsx("div",{className:"obs__about-more-heading",children:"{What do we do?}"}),v.jsxs("div",{className:"obs__about-more-description",children:["Oberlin Open Source Club (ObieSource) is a club in which students can interact with Oberlin-specific open source projects.",v.jsxs("span",{className:"emph-text",children:[" ","Anyone can join, and anyone can contribute to our projects."]})," ","To see what we're working on, checkout our"," ",v.jsx("a",{href:"https://github.com/ObieSource",className:"link-text",children:"GitHub Page"}),", and explore our website to learn more about our club!"]}),v.jsx("div",{className:"obs__about-more-heading",children:"{What is Open Source?}"}),v.jsx("div",{className:"obs__about-more-description",children:"Open Source is a programming philosophy that work and ownership of projects should be decentralized and community-based. Open Source Software (OSS) is software which is publically visible and modifiable. Some OSS projects that you may know or have used include Mozilla Firefox, Linux, Audacity, and Wordpress."})]});const m0=()=>v.jsxs("div",{className:"obs__contact-more",children:[v.jsx("div",{className:"obs__contact-more-heading",children:"{Reach out to us!}"}),v.jsxs("div",{className:"obs__contact-more-description",children:["To reach out about one of our projects, or if you want to collaborate with our club, contact"," ",v.jsx("a",{href:"mailto:opensource@oberlin.edu",children:"opensource@oberlin.edu"}),"."]}),v.jsx("div",{className:"obs__contact-more-heading",children:"{Come hang!}"}),v.jsxs("div",{className:"obs__contact-more-description",children:["Want to get involved?"," ",v.jsx("a",{href:"https://discord.gg/z5R6QhBA64",children:"Join our discord"})," or come to one of our meetings posted in"," ",v.jsx("a",{href:"https://calendar.google.com/calendar/r?cid=b2Jzb3VyY2VAb2Jlcmxpbi5lZHU",children:"our calendar"}),"!"]})]});const v0=()=>v.jsxs("div",{className:"obs__resources-more",children:[v.jsxs("div",{className:"obs__resources-more-heading",children:["{",v.jsx("a",{href:"https://drive.google.com/file/d/15X0463G8FPsME3MNhICZDjRrpZsog6Tx/view?usp=sharing",children:"ObieSource GitHub workshop slides"}),"}"]}),v.jsxs("div",{className:"obs__resources-more-heading",children:["{",v.jsx("a",{href:"https://learngitbranching.js.org/",children:"Git branch Visualizer"}),"}"]}),v.jsx("div",{className:"obs__resources-more-heading",children:"{Learn Git in 15 minutes}"}),v.jsx("div",{className:"obs__resources-more-description",children:v.jsx("iframe",{title:"Video: Learn Git in 15 Minutes",width:"max-width",height:"max-height",src:"https://www.youtube.com/embed/USjZcfj8yxE"})}),v.jsx("div",{className:"obs__resources-more-heading",children:"{2D Game Tutorial with Godot}"}),v.jsx("div",{className:"obs__resources-more-description",children:v.jsx("iframe",{title:"Video: Godot 2D Game Tutorial",width:"max-width",height:"max-height",src:"https://www.youtube.com/embed/HvPTSZl2WCc"})})]}),g0=()=>v.jsxs("div",{id:"about",children:[v.jsx(Dl,{heading:"About"}),v.jsx(h0,{})]});const y0=()=>v.jsxs("div",{children:[v.jsx(Dl,{heading:"Contact Us"}),v.jsx(m0,{})]}),w0=()=>v.jsxs("div",{id:"Home",children:[v.jsx(a0,{}),v.jsx(p0,{})]});const S0=()=>v.jsxs("main",{children:[v.jsx(Dl,{heading:"Resources"}),v.jsx(v0,{})]});const Df="../member.schema.json",If="AB Donegan",Ff="they/them",bf=["none, but you can reach me on Discord @ genderless_protagonist"],Uf="Heyo! Second year prospective Creative Writing major, previous experience in Processing and RPGmaker. Hoping to learn C++ one day",_0={$schema:Df,name:If,pronouns:Ff,class:"26",socials:bf,bio:Uf},x0=Object.freeze(Object.defineProperty({__proto__:null,$schema:Df,bio:Uf,default:_0,name:If,pronouns:Ff,socials:bf},Symbol.toStringTag,{value:"Module"})),Af="../member.schema.json",Bf="Ezra Crowe",Hf="officer",Wf="he/him/",Vf=["https://github.com/AbdominalBenito/obiesource.github.io","insta: ezra.crowe"],Qf="Hello! I’m Ezra. I’m the current treasurer of Obiesource and project leader for the Discord bot. I’m a CS and Philosophy major with a minor in Cognitive Science. I’m also the club cyber security specialist. If you’re interested in my ongoing projects or just want to be filled in on what I’ve found so far, I’d be happy to share! In my free time, I practice trumpet (I’m not a con student but have played since 4th grade), play water polo, or do a little board/video gaming. I love to help people, even more so if it means finding creative ways to break a system ;)",k0={$schema:Af,name:Bf,status:Hf,pronouns:Wf,class:"'26",socials:Vf,bio:Qf},E0=Object.freeze(Object.defineProperty({__proto__:null,$schema:Af,bio:Qf,default:k0,name:Bf,pronouns:Wf,socials:Vf,status:Hf},Symbol.toStringTag,{value:"Module"})),Kf="../member.schema.json",Gf="Huy Nguyen",Yf="he/him",Xf=["https://www.facebook.com/profile.php?id=100026490908290"],Jf="Hi! I'm a first-year, probably going to major in Computer Science. I do most (if not all) of my coding on C#.",Zf=[{name:"minesweeper",description:"My 3rd attempt. Coming sooooooon...",website:""},{name:"philostory",description:"my failed attempt to advance to the 3rd round of a so-called Hackathon. I lost the source code though, sadly. Also everything is written in Vietnamese (and C#).",website:"https://github.com/nguyenhuy0905/PhiloStory"}],j0={$schema:Kf,name:Gf,pronouns:Yf,class:"'27",socials:Xf,bio:Jf,projects:Zf},C0=Object.freeze(Object.defineProperty({__proto__:null,$schema:Kf,bio:Jf,default:j0,name:Gf,projects:Zf,pronouns:Yf,socials:Xf},Symbol.toStringTag,{value:"Module"})),qf="../member.schema.json",ep="Jingyi Yang",tp="she/her",np="Hello! I'm a 1st year undecided major with a concentration in Computer Science and Mathematics.",P0={$schema:qf,name:ep,pronouns:tp,class:"2027",bio:np},N0=Object.freeze(Object.defineProperty({__proto__:null,$schema:qf,bio:np,default:P0,name:ep,pronouns:tp},Symbol.toStringTag,{value:"Module"})),rp="../member.schema.json",op="Sophia Lieu",lp="she/her/hers",ip="Hi! I'm a 1st year undeclared interested in chemistry and psychology.",R0={$schema:rp,name:op,pronouns:lp,class:"2027",bio:ip},M0=Object.freeze(Object.defineProperty({__proto__:null,$schema:rp,bio:ip,default:R0,name:op,pronouns:lp},Symbol.toStringTag,{value:"Module"})),ap="../member.Sebastian.json",sp="Sebastian Heisler-Martin",up="he/him",cp="Greetings! I am very tall, very new to programming, and very much enjoying it.",L0={$schema:ap,name:sp,pronouns:up,class:"2027",bio:cp},O0=Object.freeze(Object.defineProperty({__proto__:null,$schema:ap,bio:cp,default:L0,name:sp,pronouns:up},Symbol.toStringTag,{value:"Module"})),dp="../member.schema.json",fp="Charlie McLaughlin",pp="whatever pronouns",hp=["https://github.com/cmclaugh"],mp="I am such a nifty person. I can do everything except what I need to do. I have no experience in anything and was born yesterday.",z0={$schema:dp,name:fp,pronouns:pp,class:"'26",socials:hp,bio:mp},T0=Object.freeze(Object.defineProperty({__proto__:null,$schema:dp,bio:mp,default:z0,name:fp,pronouns:pp,socials:hp},Symbol.toStringTag,{value:"Module"})),vp="../member.schema.json",gp="Dan-Ha Le",yp="officer",wp="she/they",Sp=["https://cyborf.github.io/"],_p=" Computer Science and Politics. Proud Writing Associate and Cat in the Cream Manager. Doer of all things that need doing ᕙ( •̀ ᗜ •́ )ᕗ",$0={$schema:vp,name:gp,status:yp,pronouns:wp,class:"'25",socials:Sp,bio:_p},D0=Object.freeze(Object.defineProperty({__proto__:null,$schema:vp,bio:_p,default:$0,name:gp,pronouns:wp,socials:Sp,status:yp},Symbol.toStringTag,{value:"Module"})),xp="../member.schema.json",kp="Em",Ep="any",jp=["https://github.com/captainbanaynays"],Cp=`"If you add yourself to the members page of the website, you won't be the leat committed member of the club" -Someone who clearly has no idea.`,Pp=[{name:"Look at my github",description:"Here is where all my projects are!",website:"https://github.com/captainbanaynays"}],I0={$schema:xp,name:kp,pronouns:Ep,class:"'25",socials:jp,bio:Cp,projects:Pp},F0=Object.freeze(Object.defineProperty({__proto__:null,$schema:xp,bio:Cp,default:I0,name:kp,projects:Pp,pronouns:Ep,socials:jp},Symbol.toStringTag,{value:"Module"})),Np="../member.schema.json",Rp="Kai Monno",Mp="officer",Lp="he/ him/ his",Op=["https://www.instagram.com/kaimonno/","https://www.facebook.com/kai.monno.92/"],zp="Hello, I am Kai Monno I am a first year computer science major. I plan to get very involved in the obiesource club!",Tp=[{name:"My Github",description:"This is my github.",website:"https://github.com/KaiMonno"}],b0={$schema:Np,name:Rp,status:Mp,pronouns:Lp,class:"'26",socials:Op,bio:zp,projects:Tp},U0=Object.freeze(Object.defineProperty({__proto__:null,$schema:Np,bio:zp,default:b0,name:Rp,projects:Tp,pronouns:Lp,socials:Op,status:Mp},Symbol.toStringTag,{value:"Module"})),$p="../member.schema.json",Dp="William Knowles-Kellett",Ip="alum",Fp="he/him/his",bp=["https://github.com/wknowleskellett","https://williamknowleskellett.dev/"],Up="Hi, I'm William. I'm a Math and Computer Science major. I've been trying to improve how knowledge is passed down among students in the CS department, through ObieSource and improvements to lab helping and the CS Majors committee.",Ap=[{name:"My Website",description:"I use my website as a home for the public facing version of anything I work on. I wrote the HTML/CSS/JS myself from scratch. Other than as an exercise, I don't recommend it.",website:"https://williamknowleskellett.dev/"}],A0={$schema:$p,name:Dp,status:Ip,pronouns:Fp,class:"'23",socials:bp,bio:Up,projects:Ap},B0=Object.freeze(Object.defineProperty({__proto__:null,$schema:$p,bio:Up,default:A0,name:Dp,projects:Ap,pronouns:Fp,socials:bp,status:Ip},Symbol.toStringTag,{value:"Module"})),Bp="../member.schema.json",Hp="Yen Mai",Wp="she/her/hers",Vp=["https://github.com/yen-mai-codes"],Qp="I am a 3rd year Computer Science major. I like manga and jewelry making.",H0={$schema:Bp,name:Hp,pronouns:Wp,class:"'24",socials:Vp,bio:Qp},W0=Object.freeze(Object.defineProperty({__proto__:null,$schema:Bp,bio:Qp,default:H0,name:Hp,pronouns:Wp,socials:Vp},Symbol.toStringTag,{value:"Module"})),Kp="../member.schema.json",Gp="Ajai Nelson",Yp="officer",Xp="he/him/his",Jp=["https://github.com/AjaiKN/","https://ajai.dev/"],Zp="Hi, I'm Ajai! My hobbies include worrying that someone will ask me to write a description of myself.",qp=[{name:"OPrestissimo",description:"A student-run alternative course catalog / schedule of classes for Oberlin. It was made 10 years ago by other students, and I'm the current maintainer. Let me know if you want to help!",website:"https://oprestissimo.com/"}],V0={$schema:Kp,name:Gp,status:Yp,pronouns:Xp,class:"'25",socials:Jp,bio:Zp,projects:qp},Q0=Object.freeze(Object.defineProperty({__proto__:null,$schema:Kp,bio:Zp,default:V0,name:Gp,projects:qp,pronouns:Xp,socials:Jp,status:Yp},Symbol.toStringTag,{value:"Module"})),eh="../member.schema.json",th="Nghi Nguyen",nh="officer",rh="he/him/his",oh=["https://github.com/nghi01"],lh="Hello! I'm a 3rd year Computer Science major, Philosophy Minor. My favorite game is Dark Souls III, favorite book is Kokoro by Natsume Souseki. I also like touching grass.",ih=[{name:"MazeGame",description:"I made a maze exploration game with some friends in Unreal Engine. Still under development though.",website:"https://github.com/bucket420/MazeGame"}],K0={$schema:eh,name:th,status:nh,pronouns:rh,class:"'24",socials:oh,bio:lh,projects:ih},G0=Object.freeze(Object.defineProperty({__proto__:null,$schema:eh,bio:lh,default:K0,name:th,projects:ih,pronouns:rh,socials:oh,status:nh},Symbol.toStringTag,{value:"Module"})),ah="../member.schema.json",sh="Ike Osenberg",uh="alum",ch="he/him/his or they/them/theirs",dh=["https://github.com/iosenberg"],fh="Hi! I'm from just North of Philadelphia, I'm a 4th year Computer Science and Musical Studies major, and Linguistics minor, and I'm a leader of Oberlin Open Source! I'm working on a few long term projects right now, including a Workchart generator for my dining co-op (Pyle) and a structure-overhaul mod for Minecraft. I also teach ToadsCo (an ExCo about frogs and toads), I work as a technology consultant at the CIT Help Desk and an intern at Acoustik Musik, Ltd., and I am the Pizza Dough Maker for Pyle Co-op. :)",ph=[{name:"Workchart Generator",description:"Builds a workchart off of a set of co-opers and availabilites read from a Google Form",website:"https://github.com/iosenberg/WorkchartGenerator"},{name:"The Polis Project",description:"A Minecraft Mod which adds more and more complex populated structures, as well as roads spanning the world which connect structures.",website:"https://github.com/iosenberg/PolisProject"}],Y0={$schema:ah,name:sh,status:uh,pronouns:ch,class:"'23",socials:dh,bio:fh,projects:ph},X0=Object.freeze(Object.defineProperty({__proto__:null,$schema:ah,bio:fh,default:Y0,name:sh,projects:ph,pronouns:ch,socials:dh,status:uh},Symbol.toStringTag,{value:"Module"})),hh="../member.schema.json",mh="William Rehwinkel",vh="he/him/his",gh=["https://koyu.space/@fiskfan1999","https://spectra.video/c/willrehwinkel_organ/videos"],yh="I'm a 3rd year double-degree student majoring in Computer Science and the Pipe Organ currently living in the New York/New Jersey area. I particularly love open-source projects, not only using them, but contributing to them and developing my own. My favorites are ffmpeg, ergo (an IRC daemon, which I'm particularly proud of having contributed to), and the Tor network. Recently, I moved to a new peertube instance which you can find above.",wh=[{name:"FiskFan1999/wvlist",description:"Catalogue of composers list of works with community submissions",website:"https://wvlist.net"},{name:"ObieSource/peertube-multipart-upload",description:"Command-line application to upload videos to a Peertube instance using the API.",website:"https://github.com/ObieSource/peertube-multipart-upload"}],J0={$schema:hh,name:mh,pronouns:vh,class:"'24",socials:gh,bio:yh,projects:wh},Z0=Object.freeze(Object.defineProperty({__proto__:null,$schema:hh,bio:yh,default:J0,name:mh,projects:wh,pronouns:vh,socials:gh},Symbol.toStringTag,{value:"Module"})),Sh="../member.schema.json",_h="Rosie McKusick",xh="she/they",kh=[],Eh="I like reading. :) I am a third year Computer Science major and hopefully Art History minor.",jh=[],q0={$schema:Sh,name:_h,pronouns:xh,class:"'25",socials:kh,bio:Eh,projects:jh},e1=Object.freeze(Object.defineProperty({__proto__:null,$schema:Sh,bio:Eh,default:q0,name:_h,projects:jh,pronouns:xh,socials:kh},Symbol.toStringTag,{value:"Module"})),Ch="../member.schema.json",Ph="Ben Snyder",Nh="he/him",Rh=["https://www.instagram.com/bensnydeer/"],Mh="Hi, I'm Ben Snyder! I'm a 3rd year CS major and Math minor. I like creating music and also recently have been doing some paper/cardboard art. Also a big command line utility fan",Lh=[{name:"GitHub",description:"Here is my content",website:"https://github.com/bsnyder2"}],t1={$schema:Ch,name:Ph,pronouns:Nh,class:"'25",socials:Rh,bio:Mh,projects:Lh},n1=Object.freeze(Object.defineProperty({__proto__:null,$schema:Ch,bio:Mh,default:t1,name:Ph,projects:Lh,pronouns:Nh,socials:Rh},Symbol.toStringTag,{value:"Module"})),Oh="../member.schema.json",zh="Tze Tseng Soh",Th="officer",$h="he/him/",Dh="",r1={$schema:Oh,name:zh,status:Th,pronouns:$h,class:"'26",bio:Dh},o1=Object.freeze(Object.defineProperty({__proto__:null,$schema:Oh,bio:Dh,default:r1,name:zh,pronouns:$h,status:Th},Symbol.toStringTag,{value:"Module"})),Ih="../member.schema.json",Fh="Jasper Thomas-Yount",bh="he/him/his",Uh=["https://github.com/zivoric"],Ah="I'm a first-year student intending to major in Computer Science. Other than CS, I also am studying Chinese and I play the viola.",Bh=[{name:"ZEnchantmentCore",description:"Minecraft plugin that adds custom enchantments",website:"https://github.com/zivoric/ZEnchantmentCore"}],l1={$schema:Ih,name:Fh,pronouns:bh,class:"'26",socials:Uh,bio:Ah,projects:Bh},i1=Object.freeze(Object.defineProperty({__proto__:null,$schema:Ih,bio:Ah,default:l1,name:Fh,projects:Bh,pronouns:bh,socials:Uh},Symbol.toStringTag,{value:"Module"})),Hh="../member.schema.json",Wh="Ben Toker",Vh="officer",Qh="he/him/his",Kh=["https://btoker.dev"],Gh="Hey! I'm Ben, president of ObieSource! I am a C.S. and Psychology major. I love Rust, C, Java, and (sometimes) Python. I love to read, play jazz guitar, and make coffee! I want to encourage the spread of knowledge through the C.S. department and help equip those who wish to learn with the tools they need!Let's make some cool stuff ^_^",Yh=[{name:"flowst",description:"A pomodoro study tool built in rust!",website:"https://github.com/ben-toker/flowst"}],a1={$schema:Hh,name:Wh,status:Vh,pronouns:Qh,class:"'26",socials:Kh,bio:Gh,projects:Yh},s1=Object.freeze(Object.defineProperty({__proto__:null,$schema:Hh,bio:Gh,default:a1,name:Wh,projects:Yh,pronouns:Qh,socials:Kh,status:Vh},Symbol.toStringTag,{value:"Module"})),Jn=[];function u1(e){for(const[t,n]of Object.entries(e)){const r=n.default;if(typeof r!="object")throw new Error(`The file ${t} must export a JSON object. Instead we got a JSON ${typeof r}.`);if(r===null)throw new Error(`The file ${t} must export a JSON object. Instead we got null.`);Jn.push({...r,filename:t.substring(2)})}}u1(Object.assign({"./members/AB.json":x0,"./members/Ezra-Crowe.json":E0,"./members/Huy-Nguyen.json":C0,"./members/Jingyi-Yang.json":N0,"./members/Lieu.json":M0,"./members/Sebastian Heiseler-Martin.json":O0,"./members/charlie-mclaughlin.json":T0,"./members/cyborf.json":D0,"./members/emeltzer.json":F0,"./members/kai.json":U0,"./members/knowles-kellett.json":B0,"./members/mai.json":W0,"./members/nelson.json":Q0,"./members/nghinguyen.json":G0,"./members/osenberg.json":X0,"./members/rehwinkel.json":Z0,"./members/rosie-mckusick.json":e1,"./members/snyder.json":n1,"./members/soh.json":o1,"./members/thomas-yount.json":i1,"./members/toker.json":s1}));const _i=({member:{name:e,filename:t}})=>e==null?v.jsx("li",{children:v.jsxs("strong",{className:"invalid-member",children:["The member in the file ",v.jsx("code",{children:t}),` doesn't have a "name" attribute!`]})}):v.jsx("li",{children:v.jsx(un,{to:e,children:e})}),c1=()=>v.jsxs("main",{id:"about",children:[v.jsx(Dl,{heading:"Members"}),v.jsx("div",{className:"obs__members color__text",children:v.jsx("div",{className:"obs__members-description",children:v.jsxs("div",{className:"obs__members-columns",children:[v.jsxs("div",{children:[v.jsx("h2",{className:"obs__members-heading",children:"Club Officers"}),v.jsx("ul",{className:"diroff",children:Jn.filter(e=>e.status==="officer").map(e=>v.jsx(_i,{member:e},e.filename))})]}),v.jsxs("div",{children:[v.jsx("h2",{className:"obs__members-heading",children:"Members"}),v.jsx("ul",{className:"dirmem",children:Jn.filter(e=>e.status==="member"||e.status==null).map(e=>v.jsx(_i,{member:e},e.filename))})]}),v.jsxs("div",{children:[v.jsx("h2",{className:"obs__members-heading",children:"Alumni"}),v.jsx("ul",{className:"diralum",children:Jn.filter(e=>e.status==="alum").map(e=>v.jsx(_i,{member:e},e.filename))})]})]})})})]});const d1=({socials:e})=>e?!Array.isArray(e)||!e.every(t=>typeof t=="string")?v.jsxs("p",{className:"invalid-member",children:['The "socials" field must be an array of strings (URLs)! Instead, we got'," ",v.jsx("code",{children:JSON.stringify(e)}),"."]}):v.jsx("ul",{children:e.map(t=>v.jsx("li",{children:v.jsx("a",{style:{fontFamily:"var(--font-text-1)"},href:t,children:t})},t))}):null,f1=({projects:e})=>e?!Array.isArray(e)||!e.every(t=>typeof t=="object")?v.jsxs("p",{className:"invalid-member",children:['The "socials" field should be an array of objects with ',v.jsx("code",{children:"name"}),", ",v.jsx("code",{children:"website"}),", and ",v.jsx("code",{children:"description"})," fields. Instead, we got ",v.jsx("code",{children:JSON.stringify(e)}),"."]}):v.jsx("ul",{style:{fontFamily:"var(--font-text-1)"},children:e.map(t=>v.jsxs("li",{children:[v.jsx("a",{style:{fontFamily:"var(--font-text-1)"},href:t.website,children:t.name})," ","- ",t.description]},t.name||t.website||t.description))}):null,p1=()=>{const{name:e}=xy(),t=Jn.find(n=>n.name===e)||Jn.find(n=>n.name===e);return t?v.jsxs("main",{className:"content color__text",children:[v.jsxs("h1",{style:{fontFamily:"var(--font-text-1)"},children:[t.name," ",t.class,t.pronouns&&`, ${t.pronouns}`]}),v.jsx(d1,{socials:t.socials}),v.jsx("p",{style:{fontFamily:"var(--font-text-1)",fontWeight:400,fontSize:"16px"},children:t.bio}),v.jsx(f1,{projects:t.projects})]}):v.jsxs("main",{className:"content invalid-member",children:["Member not found: ",e]})};function tc(e){const t={a:"a",em:"em",p:"p",...e.components};return v.jsx("main",{className:"content color__text hackathon",children:v.jsxs("div",{class:"text-center",children:[v.jsxs("div",{class:"title",children:[v.jsx(t.p,{children:"ObieSource presents…"}),v.jsx("div",{className:"obs__hackathon-intro-terminal-body",style:{overflowWrap:"break-word"},children:v.jsx("h1",{className:"obs__hackathon-intro-heading",children:v.jsx(It,{text:`> OBIEHACKS Spring 2024`,sequenceAfter:[1e3,()=>setAnimationState(1)]})})}),v.jsx(t.p,{children:v.jsx(t.em,{children:"Spring 2024"})})]}),v.jsx("div",{class:"obs__hackathon-devpost",children:v.jsx(t.p,{children:v.jsx(t.a,{href:"https://obiehacks.devpost.com/",children:"Learn more on our DevPost!"})})})]})})}function h1(e={}){const{wrapper:t}=e.components||{};return t?v.jsx(t,{...e,children:v.jsx(tc,{...e})}):tc(e)}const m1=()=>v.jsxs("div",{children:[v.jsx(f0,{}),v.jsx(Iy,{}),v.jsx(Yy,{})]}),v1=Wy(ga(v.jsxs(wt,{element:v.jsx(m1,{}),children:[v.jsx(wt,{path:"/",element:v.jsx(w0,{})}),v.jsx(wt,{path:"/about",element:v.jsx(g0,{})}),v.jsx(wt,{path:"/contact",element:v.jsx(y0,{})}),v.jsx(wt,{path:"/resources",element:v.jsx(S0,{})}),v.jsx(wt,{path:"/members",element:v.jsx(c1,{})}),v.jsx(wt,{path:"/members/:name",element:v.jsx(p1,{})}),v.jsx(wt,{path:"/hackathon",element:v.jsx(h1,{})})]}))),g1=()=>v.jsx(E.StrictMode,{children:v.jsx($y,{router:v1})});const y1=document.getElementById("root"),w1=vf(y1);w1.render(v.jsx(g1,{}));