diff --git a/assets/index-D13aNCKl.js b/assets/index-D13aNCKl.js new file mode 100644 index 0000000..85c388c --- /dev/null +++ b/assets/index-D13aNCKl.js @@ -0,0 +1,502 @@ +var nd=e=>{throw TypeError(e)};var Os=(e,t,n)=>t.has(e)||nd("Cannot "+n);var E=(e,t,n)=>(Os(e,t,"read from private field"),n?n.call(e):t.get(e)),K=(e,t,n)=>t.has(e)?nd("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),U=(e,t,n,r)=>(Os(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),te=(e,t,n)=>(Os(e,t,"access private method"),n);var _l=(e,t,n,r)=>({set _(i){U(e,t,i,n)},get _(){return E(e,t,r)}});function mp(e,t){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const l of o.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();function Qi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var vp={exports:{}},qa={},yp={exports:{}},ee={};/** + * @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 sl=Symbol.for("react.element"),Jm=Symbol.for("react.portal"),ev=Symbol.for("react.fragment"),tv=Symbol.for("react.strict_mode"),nv=Symbol.for("react.profiler"),rv=Symbol.for("react.provider"),iv=Symbol.for("react.context"),ov=Symbol.for("react.forward_ref"),lv=Symbol.for("react.suspense"),av=Symbol.for("react.memo"),sv=Symbol.for("react.lazy"),rd=Symbol.iterator;function uv(e){return e===null||typeof e!="object"?null:(e=rd&&e[rd]||e["@@iterator"],typeof e=="function"?e:null)}var gp={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},wp=Object.assign,Sp={};function Wi(e,t,n){this.props=e,this.context=t,this.refs=Sp,this.updater=n||gp}Wi.prototype.isReactComponent={};Wi.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")};Wi.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function xp(){}xp.prototype=Wi.prototype;function Tc(e,t,n){this.props=e,this.context=t,this.refs=Sp,this.updater=n||gp}var kc=Tc.prototype=new xp;kc.constructor=Tc;wp(kc,Wi.prototype);kc.isPureReactComponent=!0;var id=Array.isArray,Ep=Object.prototype.hasOwnProperty,Pc={current:null},Cp={key:!0,ref:!0,__self:!0,__source:!0};function Tp(e,t,n){var r,i={},o=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(o=""+t.key),t)Ep.call(t,r)&&!Cp.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(10?We(qi,--xt):0,Fi--,Fe===10&&(Fi=1,Ga--),Fe}function Rt(){return Fe=xt2||Mo(Fe)>3?"":" "}function Av(e,t){for(;--t&&Rt()&&!(Fe<48||Fe>102||Fe>57&&Fe<65||Fe>70&&Fe<97););return ul(e,ta()+(t<6&&hn()==32&&Rt()==32))}function fu(e){for(;Rt();)switch(Fe){case e:return xt;case 34:case 39:e!==34&&e!==39&&fu(Fe);break;case 40:e===41&&fu(e);break;case 92:Rt();break}return xt}function Iv(e,t){for(;Rt()&&e+Fe!==57;)if(e+Fe===84&&hn()===47)break;return"/*"+ul(t,xt-1)+"*"+Ka(e===47?e:Rt())}function Fv(e){for(;!Mo(hn());)Rt();return ul(e,xt)}function bv(e){return Np(ra("",null,null,null,[""],e=Mp(e),0,[0],e))}function ra(e,t,n,r,i,o,l,a,s){for(var u=0,f=0,c=l,p=0,g=0,x=0,y=1,k=1,m=1,h=0,v="",T=i,_=o,M=r,O=v;k;)switch(x=h,h=Rt()){case 40:if(x!=108&&We(O,c-1)==58){cu(O+=se(na(h),"&","&\f"),"&\f")!=-1&&(m=-1);break}case 34:case 39:case 91:O+=na(h);break;case 9:case 10:case 13:case 32:O+=Dv(x);break;case 92:O+=Av(ta()-1,7);continue;case 47:switch(hn()){case 42:case 47:Ll(zv(Iv(Rt(),ta()),t,n),s);break;default:O+="/"}break;case 123*y:a[u++]=un(O)*m;case 125*y:case 59:case 0:switch(h){case 0:case 125:k=0;case 59+f:m==-1&&(O=se(O,/\f/g,"")),g>0&&un(O)-c&&Ll(g>32?ad(O+";",r,n,c-1):ad(se(O," ","")+";",r,n,c-2),s);break;case 59:O+=";";default:if(Ll(M=ld(O,t,n,u,f,i,a,v,T=[],_=[],c),o),h===123)if(f===0)ra(O,t,M,M,T,o,c,a,_);else switch(p===99&&We(O,3)===110?100:p){case 100:case 108:case 109:case 115:ra(e,M,M,r&&Ll(ld(e,M,M,0,0,i,a,v,i,T=[],c),_),i,_,c,a,r?T:_);break;default:ra(O,M,M,M,[""],_,0,a,_)}}u=f=g=0,y=m=1,v=O="",c=l;break;case 58:c=1+un(O),g=x;default:if(y<1){if(h==123)--y;else if(h==125&&y++==0&&Nv()==125)continue}switch(O+=Ka(h),h*y){case 38:m=f>0?1:(O+="\f",-1);break;case 44:a[u++]=(un(O)-1)*m,m=1;break;case 64:hn()===45&&(O+=na(Rt())),p=hn(),f=c=un(v=O+=Fv(ta())),h++;break;case 45:x===45&&un(O)==2&&(y=0)}}return o}function ld(e,t,n,r,i,o,l,a,s,u,f){for(var c=i-1,p=i===0?o:[""],g=Lc(p),x=0,y=0,k=0;x0?p[m]+" "+h:se(h,/&\f/g,p[m])))&&(s[k++]=v);return Ya(e,t,n,i===0?_c:a,s,u,f)}function zv(e,t,n){return Ya(e,t,n,Rp,Ka(Mv()),Lo(e,2,-2),0)}function ad(e,t,n,r){return Ya(e,t,n,Oc,Lo(e,0,r),Lo(e,r+1,-1),r)}function pi(e,t){for(var n="",r=Lc(e),i=0;i6)switch(We(e,t+1)){case 109:if(We(e,t+4)!==45)break;case 102:return se(e,/(.+:)(.+)-([^]+)/,"$1"+ae+"$2-$3$1"+va+(We(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~cu(e,"stretch")?Dp(se(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(We(e,t+1)!==115)break;case 6444:switch(We(e,un(e)-3-(~cu(e,"!important")&&10))){case 107:return se(e,":",":"+ae)+e;case 101:return se(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ae+(We(e,14)===45?"inline-":"")+"box$3$1"+ae+"$2$3$1"+Ze+"$2box$3")+e}break;case 5936:switch(We(e,t+11)){case 114:return ae+e+Ze+se(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ae+e+Ze+se(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ae+e+Ze+se(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ae+e+Ze+e+e}return e}var qv=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case Oc:t.return=Dp(t.value,t.length);break;case _p:return pi([Ji(t,{value:se(t.value,"@","@"+ae)})],i);case _c:if(t.length)return Lv(t.props,function(o){switch(Ov(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return pi([Ji(t,{props:[se(o,/:(read-\w+)/,":"+va+"$1")]})],i);case"::placeholder":return pi([Ji(t,{props:[se(o,/:(plac\w+)/,":"+ae+"input-$1")]}),Ji(t,{props:[se(o,/:(plac\w+)/,":"+va+"$1")]}),Ji(t,{props:[se(o,/:(plac\w+)/,Ze+"input-$1")]})],i)}return""})}},Kv=[qv],Gv=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(y){var k=y.getAttribute("data-emotion");k.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var i=t.stylisPlugins||Kv,o={},l,a=[];l=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(y){for(var k=y.getAttribute("data-emotion").split(" "),m=1;m=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Up={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},oy=!1,ly=/[A-Z]|^ms/g,ay=/_EMO_([^_]+?)_([^]*?)_EMO_/g,$p=function(t){return t.charCodeAt(1)===45},ud=function(t){return t!=null&&typeof t!="boolean"},Ms=Mc(function(e){return $p(e)?e:e.replace(ly,"-$&").toLowerCase()}),cd=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(ay,function(r,i,o){return cn={name:i,styles:o,next:cn},i})}return Up[t]!==1&&!$p(t)&&typeof n=="number"&&n!==0?n+"px":n},sy="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function No(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var i=n;if(i.anim===1)return cn={name:i.name,styles:i.styles,next:cn},i.name;var o=n;if(o.styles!==void 0){var l=o.next;if(l!==void 0)for(;l!==void 0;)cn={name:l.name,styles:l.styles,next:cn},l=l.next;var a=o.styles+";";return a}return uy(e,t,n)}case"function":{if(e!==void 0){var s=cn,u=n(e);return cn=s,No(e,t,u)}break}}var f=n;return f}function uy(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i>>1,ve=b[pe];if(0>>1;pei(vn,Y))Vei(Dt,vn)?(b[pe]=Dt,b[Ve]=Y,pe=Ve):(b[pe]=vn,b[ht]=Y,pe=ht);else if(Vei(Dt,Y))b[pe]=Dt,b[Ve]=Y,pe=Ve;else break e}}return $}function i(b,$){var Y=b.sortIndex-$.sortIndex;return Y!==0?Y:b.id-$.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var l=Date,a=l.now();e.unstable_now=function(){return l.now()-a}}var s=[],u=[],f=1,c=null,p=3,g=!1,x=!1,y=!1,k=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,h=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(b){for(var $=n(u);$!==null;){if($.callback===null)r(u);else if($.startTime<=b)r(u),$.sortIndex=$.expirationTime,t(s,$);else break;$=n(u)}}function T(b){if(y=!1,v(b),!x)if(n(s)!==null)x=!0,Bt(_);else{var $=n(u);$!==null&&In(T,$.startTime-b)}}function _(b,$){x=!1,y&&(y=!1,m(w),w=-1),g=!0;var Y=p;try{for(v($),c=n(s);c!==null&&(!(c.expirationTime>$)||b&&!q());){var pe=c.callback;if(typeof pe=="function"){c.callback=null,p=c.priorityLevel;var ve=pe(c.expirationTime<=$);$=e.unstable_now(),typeof ve=="function"?c.callback=ve:c===n(s)&&r(s),v($)}else r(s);c=n(s)}if(c!==null)var dt=!0;else{var ht=n(u);ht!==null&&In(T,ht.startTime-$),dt=!1}return dt}finally{c=null,p=Y,g=!1}}var M=!1,O=null,w=-1,D=5,A=-1;function q(){return!(e.unstable_now()-Ab||125pe?(b.sortIndex=Y,t(u,b),n(s)===null&&b===n(u)&&(y?(m(w),w=-1):y=!0,In(T,Y-pe))):(b.sortIndex=ve,t(s,b),x||g||(x=!0,Bt(_))),b},e.unstable_shouldYield=q,e.unstable_wrapCallback=function(b){var $=p;return function(){var Y=p;p=$;try{return b.apply(this,arguments)}finally{p=Y}}}})(Gp);Kp.exports=Gp;var py=Kp.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 my=R,Ot=py;function N(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"),pu=Object.prototype.hasOwnProperty,vy=/^[: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]*$/,hd={},pd={};function yy(e){return pu.call(pd,e)?!0:pu.call(hd,e)?!1:vy.test(e)?pd[e]=!0:(hd[e]=!0,!1)}function gy(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 wy(e,t,n,r){if(t===null||typeof t>"u"||gy(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 ft(e,t,n,r,i,o,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=l}var Ge={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ge[e]=new ft(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ge[t]=new ft(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ge[e]=new ft(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ge[e]=new ft(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){Ge[e]=new ft(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ge[e]=new ft(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ge[e]=new ft(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ge[e]=new ft(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ge[e]=new ft(e,5,!1,e.toLowerCase(),null,!1,!1)});var Uc=/[\-:]([a-z])/g;function $c(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(Uc,$c);Ge[t]=new ft(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(Uc,$c);Ge[t]=new ft(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(Uc,$c);Ge[t]=new ft(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ge[e]=new ft(e,1,!1,e.toLowerCase(),null,!1,!1)});Ge.xlinkHref=new ft("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ge[e]=new ft(e,1,!1,e.toLowerCase(),null,!0,!0)});function Hc(e,t,n,r){var i=Ge.hasOwnProperty(t)?Ge[t]:null;(i!==null?i.type!==0:r||!(2a||i[l]!==o[a]){var s=` +`+i[l].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=l&&0<=a);break}}}finally{Ds=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?po(e):""}function Sy(e){switch(e.tag){case 5:return po(e.type);case 16:return po("Lazy");case 13:return po("Suspense");case 19:return po("SuspenseList");case 0:case 2:case 15:return e=As(e.type,!1),e;case 11:return e=As(e.type.render,!1),e;case 1:return e=As(e.type,!0),e;default:return""}}function gu(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 ei:return"Fragment";case Jr:return"Portal";case mu:return"Profiler";case Bc:return"StrictMode";case vu:return"Suspense";case yu:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Zp:return(e.displayName||"Context")+".Consumer";case Xp:return(e._context.displayName||"Context")+".Provider";case Vc:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Qc:return t=e.displayName||null,t!==null?t:gu(e.type)||"Memo";case Hn:t=e._payload,e=e._init;try{return gu(e(t))}catch{}}return null}function xy(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 gu(t);case 8:return t===Bc?"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 cr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function e0(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Ey(e){var t=e0(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(l){r=""+l,o.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Nl(e){e._valueTracker||(e._valueTracker=Ey(e))}function t0(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=e0(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function ya(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 wu(e,t){var n=t.checked;return Pe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function vd(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=cr(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 n0(e,t){t=t.checked,t!=null&&Hc(e,"checked",t,!1)}function Su(e,t){n0(e,t);var n=cr(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")?xu(e,t.type,n):t.hasOwnProperty("defaultValue")&&xu(e,t.type,cr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function yd(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 xu(e,t,n){(t!=="number"||ya(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var mo=Array.isArray;function mi(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=Dl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ao(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var So={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},Cy=["Webkit","ms","Moz","O"];Object.keys(So).forEach(function(e){Cy.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),So[t]=So[e]})});function l0(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||So.hasOwnProperty(e)&&So[e]?(""+t).trim():t+"px"}function a0(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=l0(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var Ty=Pe({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 Tu(e,t){if(t){if(Ty[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(N(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(N(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(N(61))}if(t.style!=null&&typeof t.style!="object")throw Error(N(62))}}function ku(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 Pu=null;function Wc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ru=null,vi=null,yi=null;function Sd(e){if(e=dl(e)){if(typeof Ru!="function")throw Error(N(280));var t=e.stateNode;t&&(t=ds(t),Ru(e.stateNode,e.type,t))}}function s0(e){vi?yi?yi.push(e):yi=[e]:vi=e}function u0(){if(vi){var e=vi,t=yi;if(yi=vi=null,Sd(e),t)for(e=0;e>>=0,e===0?32:31-(Iy(e)/Fy|0)|0}var Al=64,Il=4194304;function vo(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 xa(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,l=n&268435455;if(l!==0){var a=l&~i;a!==0?r=vo(a):(o&=l,o!==0&&(r=vo(o)))}else l=n&~i,l!==0?r=vo(l):o!==0&&(r=vo(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function cl(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Zt(t),e[t]=n}function Uy(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=Eo),Od=" ",Ld=!1;function O0(e,t){switch(e){case"keyup":return pg.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function L0(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ti=!1;function vg(e,t){switch(e){case"compositionend":return L0(t);case"keypress":return t.which!==32?null:(Ld=!0,Od);case"textInput":return e=t.data,e===Od&&Ld?null:e;default:return null}}function yg(e,t){if(ti)return e==="compositionend"||!ef&&O0(e,t)?(e=R0(),oa=Xc=Jn=null,ti=!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=Ad(n)}}function A0(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?A0(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function I0(){for(var e=window,t=ya();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=ya(e.document)}return t}function tf(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 Pg(e){var t=I0(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&A0(n.ownerDocument.documentElement,n)){if(r!==null&&tf(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=Id(n,o);var l=Id(n,r);i&&l&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,ni=null,Du=null,To=null,Au=!1;function Fd(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Au||ni==null||ni!==ya(r)||(r=ni,"selectionStart"in r&&tf(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}),To&&Uo(To,r)||(To=r,r=Ta(Du,"onSelect"),0oi||(e.current=Uu[oi],Uu[oi]=null,oi--)}function me(e,t){oi++,Uu[oi]=e.current,e.current=t}var fr={},tt=hr(fr),gt=hr(!1),br=fr;function zi(e,t){var n=e.type.contextTypes;if(!n)return fr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function wt(e){return e=e.childContextTypes,e!=null}function Pa(){we(gt),we(tt)}function Bd(e,t,n){if(tt.current!==fr)throw Error(N(168));me(tt,t),me(gt,n)}function V0(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(N(108,xy(e)||"Unknown",i));return Pe({},n,r)}function Ra(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||fr,br=tt.current,me(tt,e),me(gt,gt.current),!0}function Vd(e,t,n){var r=e.stateNode;if(!r)throw Error(N(169));n?(e=V0(e,t,br),r.__reactInternalMemoizedMergedChildContext=e,we(gt),we(tt),me(tt,e)):we(gt),me(gt,n)}var Tn=null,hs=!1,Ks=!1;function Q0(e){Tn===null?Tn=[e]:Tn.push(e)}function zg(e){hs=!0,Q0(e)}function pr(){if(!Ks&&Tn!==null){Ks=!0;var e=0,t=fe;try{var n=Tn;for(fe=1;e>=l,i-=l,Pn=1<<32-Zt(t)+i|n<w?(D=O,O=null):D=O.sibling;var A=p(m,O,v[w],T);if(A===null){O===null&&(O=D);break}e&&O&&A.alternate===null&&t(m,O),h=o(A,h,w),M===null?_=A:M.sibling=A,M=A,O=D}if(w===v.length)return n(m,O),Ee&&Sr(m,w),_;if(O===null){for(;ww?(D=O,O=null):D=O.sibling;var q=p(m,O,A.value,T);if(q===null){O===null&&(O=D);break}e&&O&&q.alternate===null&&t(m,O),h=o(q,h,w),M===null?_=q:M.sibling=q,M=q,O=D}if(A.done)return n(m,O),Ee&&Sr(m,w),_;if(O===null){for(;!A.done;w++,A=v.next())A=c(m,A.value,T),A!==null&&(h=o(A,h,w),M===null?_=A:M.sibling=A,M=A);return Ee&&Sr(m,w),_}for(O=r(m,O);!A.done;w++,A=v.next())A=g(O,m,w,A.value,T),A!==null&&(e&&A.alternate!==null&&O.delete(A.key===null?w:A.key),h=o(A,h,w),M===null?_=A:M.sibling=A,M=A);return e&&O.forEach(function(oe){return t(m,oe)}),Ee&&Sr(m,w),_}function k(m,h,v,T){if(typeof v=="object"&&v!==null&&v.type===ei&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case Ml:e:{for(var _=v.key,M=h;M!==null;){if(M.key===_){if(_=v.type,_===ei){if(M.tag===7){n(m,M.sibling),h=i(M,v.props.children),h.return=m,m=h;break e}}else if(M.elementType===_||typeof _=="object"&&_!==null&&_.$$typeof===Hn&&qd(_)===M.type){n(m,M.sibling),h=i(M,v.props),h.ref=oo(m,M,v),h.return=m,m=h;break e}n(m,M);break}else t(m,M);M=M.sibling}v.type===ei?(h=Ir(v.props.children,m.mode,T,v.key),h.return=m,m=h):(T=ha(v.type,v.key,v.props,null,m.mode,T),T.ref=oo(m,h,v),T.return=m,m=T)}return l(m);case Jr:e:{for(M=v.key;h!==null;){if(h.key===M)if(h.tag===4&&h.stateNode.containerInfo===v.containerInfo&&h.stateNode.implementation===v.implementation){n(m,h.sibling),h=i(h,v.children||[]),h.return=m,m=h;break e}else{n(m,h);break}else t(m,h);h=h.sibling}h=nu(v,m.mode,T),h.return=m,m=h}return l(m);case Hn:return M=v._init,k(m,h,M(v._payload),T)}if(mo(v))return x(m,h,v,T);if(eo(v))return y(m,h,v,T);Hl(m,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,h!==null&&h.tag===6?(n(m,h.sibling),h=i(h,v),h.return=m,m=h):(n(m,h),h=tu(v,m.mode,T),h.return=m,m=h),l(m)):n(m,h)}return k}var Ui=G0(!0),Y0=G0(!1),La=hr(null),Ma=null,si=null,lf=null;function af(){lf=si=Ma=null}function sf(e){var t=La.current;we(La),e._currentValue=t}function Bu(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function wi(e,t){Ma=e,lf=si=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(yt=!0),e.firstContext=null)}function Ut(e){var t=e._currentValue;if(lf!==e)if(e={context:e,memoizedValue:t,next:null},si===null){if(Ma===null)throw Error(N(308));si=e,Ma.dependencies={lanes:0,firstContext:e}}else si=si.next=e;return t}var Tr=null;function uf(e){Tr===null?Tr=[e]:Tr.push(e)}function X0(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,uf(t)):(n.next=i.next,i.next=n),t.interleaved=n,Nn(e,r)}function Nn(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Bn=!1;function cf(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Z0(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function _n(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function lr(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,ie&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Nn(e,n)}return i=r.interleaved,i===null?(t.next=t,uf(r)):(t.next=i.next,i.next=t),r.interleaved=t,Nn(e,n)}function aa(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Kc(e,n)}}function Kd(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=l:o=o.next=l,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Na(e,t,n,r){var i=e.updateQueue;Bn=!1;var o=i.firstBaseUpdate,l=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var s=a,u=s.next;s.next=null,l===null?o=u:l.next=u,l=s;var f=e.alternate;f!==null&&(f=f.updateQueue,a=f.lastBaseUpdate,a!==l&&(a===null?f.firstBaseUpdate=u:a.next=u,f.lastBaseUpdate=s))}if(o!==null){var c=i.baseState;l=0,f=u=s=null,a=o;do{var p=a.lane,g=a.eventTime;if((r&p)===p){f!==null&&(f=f.next={eventTime:g,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var x=e,y=a;switch(p=t,g=n,y.tag){case 1:if(x=y.payload,typeof x=="function"){c=x.call(g,c,p);break e}c=x;break e;case 3:x.flags=x.flags&-65537|128;case 0:if(x=y.payload,p=typeof x=="function"?x.call(g,c,p):x,p==null)break e;c=Pe({},c,p);break e;case 2:Bn=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,p=i.effects,p===null?i.effects=[a]:p.push(a))}else g={eventTime:g,lane:p,tag:a.tag,payload:a.payload,callback:a.callback,next:null},f===null?(u=f=g,s=c):f=f.next=g,l|=p;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;p=a,a=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(!0);if(f===null&&(s=c),i.baseState=s,i.firstBaseUpdate=u,i.lastBaseUpdate=f,t=i.shared.interleaved,t!==null){i=t;do l|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);Ur|=l,e.lanes=l,e.memoizedState=c}}function Gd(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Ys.transition;Ys.transition={};try{e(!1),t()}finally{fe=n,Ys.transition=r}}function m1(){return $t().memoizedState}function Hg(e,t,n){var r=sr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},v1(e))y1(t,n);else if(n=X0(e,t,n,r),n!==null){var i=ut();Jt(n,e,r,i),g1(n,t,r)}}function Bg(e,t,n){var r=sr(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(v1(e))y1(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var l=t.lastRenderedState,a=o(l,n);if(i.hasEagerState=!0,i.eagerState=a,en(a,l)){var s=t.interleaved;s===null?(i.next=i,uf(t)):(i.next=s.next,s.next=i),t.interleaved=i;return}}catch{}finally{}n=X0(e,t,i,r),n!==null&&(i=ut(),Jt(n,e,r,i),g1(n,t,r))}}function v1(e){var t=e.alternate;return e===ke||t!==null&&t===ke}function y1(e,t){ko=Aa=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function g1(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Kc(e,n)}}var Ia={readContext:Ut,useCallback:Ye,useContext:Ye,useEffect:Ye,useImperativeHandle:Ye,useInsertionEffect:Ye,useLayoutEffect:Ye,useMemo:Ye,useReducer:Ye,useRef:Ye,useState:Ye,useDebugValue:Ye,useDeferredValue:Ye,useTransition:Ye,useMutableSource:Ye,useSyncExternalStore:Ye,useId:Ye,unstable_isNewReconciler:!1},Vg={readContext:Ut,useCallback:function(e,t){return rn().memoizedState=[e,t===void 0?null:t],e},useContext:Ut,useEffect:Xd,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ua(4194308,4,c1.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ua(4194308,4,e,t)},useInsertionEffect:function(e,t){return ua(4,2,e,t)},useMemo:function(e,t){var n=rn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=rn();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=Hg.bind(null,ke,e),[r.memoizedState,e]},useRef:function(e){var t=rn();return e={current:e},t.memoizedState=e},useState:Yd,useDebugValue:gf,useDeferredValue:function(e){return rn().memoizedState=e},useTransition:function(){var e=Yd(!1),t=e[0];return e=$g.bind(null,e[1]),rn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ke,i=rn();if(Ee){if(n===void 0)throw Error(N(407));n=n()}else{if(n=t(),He===null)throw Error(N(349));jr&30||n1(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,Xd(i1.bind(null,r,o,e),[e]),r.flags|=2048,Ko(9,r1.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=rn(),t=He.identifierPrefix;if(Ee){var n=Rn,r=Pn;n=(r&~(1<<32-Zt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Wo++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[dn]=t,e[Bo]=r,_1(e,t,!1,!1),t.stateNode=e;e:{switch(l=ku(n,r),n){case"dialog":ge("cancel",e),ge("close",e),i=r;break;case"iframe":case"object":case"embed":ge("load",e),i=r;break;case"video":case"audio":for(i=0;iBi&&(t.flags|=128,r=!0,lo(o,!1),t.lanes=4194304)}else{if(!r)if(e=Da(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),lo(o,!0),o.tail===null&&o.tailMode==="hidden"&&!l.alternate&&!Ee)return Xe(t),null}else 2*Ne()-o.renderingStartTime>Bi&&n!==1073741824&&(t.flags|=128,r=!0,lo(o,!1),t.lanes=4194304);o.isBackwards?(l.sibling=t.child,t.child=l):(n=o.last,n!==null?n.sibling=l:t.child=l,o.last=l)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Ne(),t.sibling=null,n=Te.current,me(Te,r?n&1|2:n&1),t):(Xe(t),null);case 22:case 23:return Tf(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Tt&1073741824&&(Xe(t),t.subtreeFlags&6&&(t.flags|=8192)):Xe(t),null;case 24:return null;case 25:return null}throw Error(N(156,t.tag))}function Zg(e,t){switch(rf(t),t.tag){case 1:return wt(t.type)&&Pa(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return $i(),we(gt),we(tt),hf(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return df(t),null;case 13:if(we(Te),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(N(340));ji()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return we(Te),null;case 4:return $i(),null;case 10:return sf(t.type._context),null;case 22:case 23:return Tf(),null;case 24:return null;default:return null}}var Vl=!1,et=!1,Jg=typeof WeakSet=="function"?WeakSet:Set,j=null;function ui(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Me(e,t,r)}else n.current=null}function Zu(e,t,n){try{n()}catch(r){Me(e,t,r)}}var sh=!1;function e2(e,t){if(Iu=Ea,e=I0(),tf(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var l=0,a=-1,s=-1,u=0,f=0,c=e,p=null;t:for(;;){for(var g;c!==n||i!==0&&c.nodeType!==3||(a=l+i),c!==o||r!==0&&c.nodeType!==3||(s=l+r),c.nodeType===3&&(l+=c.nodeValue.length),(g=c.firstChild)!==null;)p=c,c=g;for(;;){if(c===e)break t;if(p===n&&++u===i&&(a=l),p===o&&++f===r&&(s=l),(g=c.nextSibling)!==null)break;c=p,p=c.parentNode}c=g}n=a===-1||s===-1?null:{start:a,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(Fu={focusedElem:e,selectionRange:n},Ea=!1,j=t;j!==null;)if(t=j,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,j=e;else for(;j!==null;){t=j;try{var x=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(x!==null){var y=x.memoizedProps,k=x.memoizedState,m=t.stateNode,h=m.getSnapshotBeforeUpdate(t.elementType===t.type?y:Qt(t.type,y),k);m.__reactInternalSnapshotBeforeUpdate=h}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(N(163))}}catch(T){Me(t,t.return,T)}if(e=t.sibling,e!==null){e.return=t.return,j=e;break}j=t.return}return x=sh,sh=!1,x}function Po(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&Zu(t,n,o)}i=i.next}while(i!==r)}}function vs(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 Ju(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 M1(e){var t=e.alternate;t!==null&&(e.alternate=null,M1(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[dn],delete t[Bo],delete t[ju],delete t[Fg],delete t[bg])),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 N1(e){return e.tag===5||e.tag===3||e.tag===4}function uh(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||N1(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 ec(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=ka));else if(r!==4&&(e=e.child,e!==null))for(ec(e,t,n),e=e.sibling;e!==null;)ec(e,t,n),e=e.sibling}function tc(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(tc(e,t,n),e=e.sibling;e!==null;)tc(e,t,n),e=e.sibling}var Qe=null,qt=!1;function jn(e,t,n){for(n=n.child;n!==null;)D1(e,t,n),n=n.sibling}function D1(e,t,n){if(pn&&typeof pn.onCommitFiberUnmount=="function")try{pn.onCommitFiberUnmount(ss,n)}catch{}switch(n.tag){case 5:et||ui(n,t);case 6:var r=Qe,i=qt;Qe=null,jn(e,t,n),Qe=r,qt=i,Qe!==null&&(qt?(e=Qe,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Qe.removeChild(n.stateNode));break;case 18:Qe!==null&&(qt?(e=Qe,n=n.stateNode,e.nodeType===8?qs(e.parentNode,n):e.nodeType===1&&qs(e,n),zo(e)):qs(Qe,n.stateNode));break;case 4:r=Qe,i=qt,Qe=n.stateNode.containerInfo,qt=!0,jn(e,t,n),Qe=r,qt=i;break;case 0:case 11:case 14:case 15:if(!et&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,l=o.destroy;o=o.tag,l!==void 0&&(o&2||o&4)&&Zu(n,t,l),i=i.next}while(i!==r)}jn(e,t,n);break;case 1:if(!et&&(ui(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Me(n,t,a)}jn(e,t,n);break;case 21:jn(e,t,n);break;case 22:n.mode&1?(et=(r=et)||n.memoizedState!==null,jn(e,t,n),et=r):jn(e,t,n);break;default:jn(e,t,n)}}function ch(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Jg),t.forEach(function(r){var i=u2.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Vt(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=l),r&=~o}if(r=i,r=Ne()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*n2(r/1960))-r,10e?16:e,er===null)var r=!1;else{if(e=er,er=null,za=0,ie&6)throw Error(N(331));var i=ie;for(ie|=4,j=e.current;j!==null;){var o=j,l=o.child;if(j.flags&16){var a=o.deletions;if(a!==null){for(var s=0;sNe()-Ef?Ar(e,0):xf|=n),St(e,t)}function $1(e,t){t===0&&(e.mode&1?(t=Il,Il<<=1,!(Il&130023424)&&(Il=4194304)):t=1);var n=ut();e=Nn(e,t),e!==null&&(cl(e,t,n),St(e,n))}function s2(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),$1(e,n)}function u2(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(N(314))}r!==null&&r.delete(t),$1(e,n)}var H1;H1=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||gt.current)yt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return yt=!1,Yg(e,t,n);yt=!!(e.flags&131072)}else yt=!1,Ee&&t.flags&1048576&&W0(t,Oa,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ca(e,t),e=t.pendingProps;var i=zi(t,tt.current);wi(t,n),i=mf(null,t,r,e,i,n);var o=vf();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,wt(r)?(o=!0,Ra(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,cf(t),i.updater=ms,t.stateNode=i,i._reactInternals=t,Qu(t,r,e,n),t=Ku(null,t,r,!0,o,n)):(t.tag=0,Ee&&o&&nf(t),st(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ca(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=f2(r),e=Qt(r,e),i){case 0:t=qu(null,t,r,e,n);break e;case 1:t=oh(null,t,r,e,n);break e;case 11:t=rh(null,t,r,e,n);break e;case 14:t=ih(null,t,r,Qt(r.type,e),n);break e}throw Error(N(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Qt(r,i),qu(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Qt(r,i),oh(e,t,r,i,n);case 3:e:{if(k1(t),e===null)throw Error(N(387));r=t.pendingProps,o=t.memoizedState,i=o.element,Z0(e,t),Na(t,r,null,n);var l=t.memoizedState;if(r=l.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=Hi(Error(N(423)),t),t=lh(e,t,r,n,i);break e}else if(r!==i){i=Hi(Error(N(424)),t),t=lh(e,t,r,n,i);break e}else for(Pt=or(t.stateNode.containerInfo.firstChild),_t=t,Ee=!0,Gt=null,n=Y0(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(ji(),r===i){t=Dn(e,t,n);break e}st(e,t,r,n)}t=t.child}return t;case 5:return J0(t),e===null&&Hu(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,l=i.children,bu(r,i)?l=null:o!==null&&bu(r,o)&&(t.flags|=32),T1(e,t),st(e,t,l,n),t.child;case 6:return e===null&&Hu(t),null;case 13:return P1(e,t,n);case 4:return ff(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ui(t,null,r,n):st(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Qt(r,i),rh(e,t,r,i,n);case 7:return st(e,t,t.pendingProps,n),t.child;case 8:return st(e,t,t.pendingProps.children,n),t.child;case 12:return st(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,l=i.value,me(La,r._currentValue),r._currentValue=l,o!==null)if(en(o.value,l)){if(o.children===i.children&&!gt.current){t=Dn(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){l=o.child;for(var s=a.firstContext;s!==null;){if(s.context===r){if(o.tag===1){s=_n(-1,n&-n),s.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var f=u.pending;f===null?s.next=s:(s.next=f.next,f.next=s),u.pending=s}}o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),Bu(o.return,n,t),a.lanes|=n;break}s=s.next}}else if(o.tag===10)l=o.type===t.type?null:o.child;else if(o.tag===18){if(l=o.return,l===null)throw Error(N(341));l.lanes|=n,a=l.alternate,a!==null&&(a.lanes|=n),Bu(l,n,t),l=o.sibling}else l=o.child;if(l!==null)l.return=o;else for(l=o;l!==null;){if(l===t){l=null;break}if(o=l.sibling,o!==null){o.return=l.return,l=o;break}l=l.return}o=l}st(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,wi(t,n),i=Ut(i),r=r(i),t.flags|=1,st(e,t,r,n),t.child;case 14:return r=t.type,i=Qt(r,t.pendingProps),i=Qt(r.type,i),ih(e,t,r,i,n);case 15:return E1(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Qt(r,i),ca(e,t),t.tag=1,wt(r)?(e=!0,Ra(t)):e=!1,wi(t,n),w1(t,r,i),Qu(t,r,i,n),Ku(null,t,r,!0,e,n);case 19:return R1(e,t,n);case 22:return C1(e,t,n)}throw Error(N(156,t.tag))};function B1(e,t){return v0(e,t)}function c2(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 zt(e,t,n,r){return new c2(e,t,n,r)}function Pf(e){return e=e.prototype,!(!e||!e.isReactComponent)}function f2(e){if(typeof e=="function")return Pf(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Vc)return 11;if(e===Qc)return 14}return 2}function ur(e,t){var n=e.alternate;return n===null?(n=zt(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 ha(e,t,n,r,i,o){var l=2;if(r=e,typeof e=="function")Pf(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case ei:return Ir(n.children,i,o,t);case Bc:l=8,i|=8;break;case mu:return e=zt(12,n,t,i|2),e.elementType=mu,e.lanes=o,e;case vu:return e=zt(13,n,t,i),e.elementType=vu,e.lanes=o,e;case yu:return e=zt(19,n,t,i),e.elementType=yu,e.lanes=o,e;case Jp:return gs(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Xp:l=10;break e;case Zp:l=9;break e;case Vc:l=11;break e;case Qc:l=14;break e;case Hn:l=16,r=null;break e}throw Error(N(130,e==null?e:typeof e,""))}return t=zt(l,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Ir(e,t,n,r){return e=zt(7,e,r,t),e.lanes=n,e}function gs(e,t,n,r){return e=zt(22,e,r,t),e.elementType=Jp,e.lanes=n,e.stateNode={isHidden:!1},e}function tu(e,t,n){return e=zt(6,e,null,t),e.lanes=n,e}function nu(e,t,n){return t=zt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function d2(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Fs(0),this.expirationTimes=Fs(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Fs(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Rf(e,t,n,r,i,o,l,a,s){return e=new d2(e,t,n,a,s),t===1?(t=1,o===!0&&(t|=8)):t=0,o=zt(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},cf(o),e}function h2(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(q1)}catch(e){console.error(e)}}q1(),qp.exports=Mt;var Mf=qp.exports;const g2=Qi(Mf),w2=mp({__proto__:null,default:g2},[Mf]);var K1,gh=Mf;K1=gh.createRoot,gh.hydrateRoot;/** + * @remix-run/router v1.19.2 + * + * 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 Ce(){return Ce=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Vi(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function x2(){return Math.random().toString(36).substr(2,8)}function Sh(e,t){return{usr:e.state,key:e.key,idx:t}}function Yo(e,t,n,r){return n===void 0&&(n=null),Ce({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?mr(t):t,{state:n,key:t&&t.key||r||x2()})}function Hr(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 mr(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 E2(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,l=i.history,a=Ie.Pop,s=null,u=f();u==null&&(u=0,l.replaceState(Ce({},l.state,{idx:u}),""));function f(){return(l.state||{idx:null}).idx}function c(){a=Ie.Pop;let k=f(),m=k==null?null:k-u;u=k,s&&s({action:a,location:y.location,delta:m})}function p(k,m){a=Ie.Push;let h=Yo(y.location,k,m);u=f()+1;let v=Sh(h,u),T=y.createHref(h);try{l.pushState(v,"",T)}catch(_){if(_ instanceof DOMException&&_.name==="DataCloneError")throw _;i.location.assign(T)}o&&s&&s({action:a,location:y.location,delta:1})}function g(k,m){a=Ie.Replace;let h=Yo(y.location,k,m);u=f();let v=Sh(h,u),T=y.createHref(h);l.replaceState(v,"",T),o&&s&&s({action:a,location:y.location,delta:0})}function x(k){let m=i.location.origin!=="null"?i.location.origin:i.location.href,h=typeof k=="string"?k:Hr(k);return h=h.replace(/ $/,"%20"),J(m,"No window.location.(origin|href) available to create URL for href: "+h),new URL(h,m)}let y={get action(){return a},get location(){return e(i,l)},listen(k){if(s)throw new Error("A history only accepts one active listener");return i.addEventListener(wh,c),s=k,()=>{i.removeEventListener(wh,c),s=null}},createHref(k){return t(i,k)},createURL:x,encodeLocation(k){let m=x(k);return{pathname:m.pathname,search:m.search,hash:m.hash}},push:p,replace:g,go(k){return l.go(k)}};return y}var he;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(he||(he={}));const C2=new Set(["lazy","caseSensitive","path","id","index","children"]);function T2(e){return e.index===!0}function Xo(e,t,n,r){return n===void 0&&(n=[]),r===void 0&&(r={}),e.map((i,o)=>{let l=[...n,String(o)],a=typeof i.id=="string"?i.id:l.join("-");if(J(i.index!==!0||!i.children,"Cannot specify children on an index route"),J(!r[a],'Found a route id collision on id "'+a+`". Route id's must be globally unique within Data Router usages`),T2(i)){let s=Ce({},i,t(i),{id:a});return r[a]=s,s}else{let s=Ce({},i,t(i),{id:a,children:void 0});return r[a]=s,i.children&&(s.children=Xo(i.children,t,l,r)),s}})}function Er(e,t,n){return n===void 0&&(n="/"),pa(e,t,n,!1)}function pa(e,t,n,r){let i=typeof t=="string"?mr(t):t,o=Yi(i.pathname||"/",n);if(o==null)return null;let l=G1(e);P2(l);let a=null;for(let s=0;a==null&&s{let s={relativePath:a===void 0?o.path||"":a,caseSensitive:o.caseSensitive===!0,childrenIndex:l,route:o};s.relativePath.startsWith("/")&&(J(s.relativePath.startsWith(r),'Absolute route path "'+s.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),s.relativePath=s.relativePath.slice(r.length));let u=On([r,s.relativePath]),f=n.concat(s);o.children&&o.children.length>0&&(J(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),G1(o.children,t,f,u)),!(o.path==null&&!o.index)&&t.push({path:u,score:D2(u,o.index),routesMeta:f})};return e.forEach((o,l)=>{var a;if(o.path===""||!((a=o.path)!=null&&a.includes("?")))i(o,l);else for(let s of Y1(o.path))i(o,l,s)}),t}function Y1(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return i?[o,""]:[o];let l=Y1(r.join("/")),a=[];return a.push(...l.map(s=>s===""?o:[o,s].join("/"))),i&&a.push(...l),a.map(s=>e.startsWith("/")&&s===""?"/":s)}function P2(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:A2(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const R2=/^:[\w-]+$/,_2=3,O2=2,L2=1,M2=10,N2=-2,xh=e=>e==="*";function D2(e,t){let n=e.split("/"),r=n.length;return n.some(xh)&&(r+=N2),t&&(r+=O2),n.filter(i=>!xh(i)).reduce((i,o)=>i+(R2.test(o)?_2:o===""?L2:M2),r)}function A2(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function I2(e,t,n){n===void 0&&(n=!1);let{routesMeta:r}=e,i={},o="/",l=[];for(let a=0;a{let{paramName:p,isOptional:g}=f;if(p==="*"){let y=a[c]||"";l=o.slice(0,o.length-y.length).replace(/(.)\/+$/,"$1")}const x=a[c];return g&&!x?u[p]=void 0:u[p]=(x||"").replace(/%2F/g,"/"),u},{}),pathname:o,pathnameBase:l,pattern:e}}function F2(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Vi(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(l,a,s)=>(r.push({paramName:a,isOptional:s!=null}),s?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function b2(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Vi(!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 Yi(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 z2(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?mr(e):e;return{pathname:n?n.startsWith("/")?n:j2(n,t):t,search:$2(r),hash:H2(i)}}function j2(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function ru(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 X1(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Nf(e,t){let n=X1(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Df(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=mr(e):(i=Ce({},e),J(!i.pathname||!i.pathname.includes("?"),ru("?","pathname","search",i)),J(!i.pathname||!i.pathname.includes("#"),ru("#","pathname","hash",i)),J(!i.search||!i.search.includes("#"),ru("#","search","hash",i)));let o=e===""||i.pathname==="",l=o?"/":i.pathname,a;if(l==null)a=n;else{let c=t.length-1;if(!r&&l.startsWith("..")){let p=l.split("/");for(;p[0]==="..";)p.shift(),c-=1;i.pathname=p.join("/")}a=c>=0?t[c]:"/"}let s=z2(i,a),u=l&&l!=="/"&&l.endsWith("/"),f=(o||l===".")&&n.endsWith("/");return!s.pathname.endsWith("/")&&(u||f)&&(s.pathname+="/"),s}const On=e=>e.join("/").replace(/\/\/+/g,"/"),U2=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),$2=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,H2=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class $a{constructor(t,n,r,i){i===void 0&&(i=!1),this.status=t,this.statusText=n||"",this.internal=i,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function Cs(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Z1=["post","put","patch","delete"],B2=new Set(Z1),V2=["get",...Z1],Q2=new Set(V2),W2=new Set([301,302,303,307,308]),q2=new Set([307,308]),iu={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},K2={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},so={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},Af=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,G2=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),J1="remix-router-transitions";function Y2(e){const t=e.window?e.window:typeof window<"u"?window:void 0,n=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u",r=!n;J(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let i;if(e.mapRouteProperties)i=e.mapRouteProperties;else if(e.detectErrorBoundary){let S=e.detectErrorBoundary;i=C=>({hasErrorBoundary:S(C)})}else i=G2;let o={},l=Xo(e.routes,i,void 0,o),a,s=e.basename||"/",u=e.unstable_dataStrategy||n4,f=e.unstable_patchRoutesOnNavigation,c=Ce({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),p=null,g=new Set,x=1e3,y=new Set,k=null,m=null,h=null,v=e.hydrationData!=null,T=Er(l,e.history.location,s),_=null;if(T==null&&!f){let S=at(404,{pathname:e.history.location.pathname}),{matches:C,route:P}=Mh(l);T=C,_={[P.id]:S}}T&&!e.hydrationData&&El(T,l,e.history.location.pathname).active&&(T=null);let M;if(T)if(T.some(S=>S.route.lazy))M=!1;else if(!T.some(S=>S.route.loader))M=!0;else if(c.v7_partialHydration){let S=e.hydrationData?e.hydrationData.loaderData:null,C=e.hydrationData?e.hydrationData.errors:null,P=L=>L.route.loader?typeof L.route.loader=="function"&&L.route.loader.hydrate===!0?!1:S&&S[L.route.id]!==void 0||C&&C[L.route.id]!==void 0:!0;if(C){let L=T.findIndex(z=>C[z.route.id]!==void 0);M=T.slice(0,L+1).every(P)}else M=T.every(P)}else M=e.hydrationData!=null;else if(M=!1,T=[],c.v7_partialHydration){let S=El(null,l,e.history.location.pathname);S.active&&S.matches&&(T=S.matches)}let O,w={historyAction:e.history.action,location:e.history.location,matches:T,initialized:M,navigation:iu,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||_,fetchers:new Map,blockers:new Map},D=Ie.Pop,A=!1,q,oe=!1,De=new Map,Re=null,tn=!1,Bt=!1,In=[],b=new Set,$=new Map,Y=0,pe=-1,ve=new Map,dt=new Set,ht=new Map,vn=new Map,Ve=new Set,Dt=new Map,yr=new Map,Im=new Map,gl;function Fm(){if(p=e.history.listen(S=>{let{action:C,location:P,delta:L}=S;if(gl){gl(),gl=void 0;return}Vi(yr.size===0||L!=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 z=Xf({currentLocation:w.location,nextLocation:P,historyAction:C});if(z&&L!=null){let Q=new Promise(G=>{gl=G});e.history.go(L*-1),Sl(z,{state:"blocked",location:P,proceed(){Sl(z,{state:"proceeding",proceed:void 0,reset:void 0,location:P}),Q.then(()=>e.history.go(L))},reset(){let G=new Map(w.blockers);G.set(z,so),nt({blockers:G})}});return}return gr(C,P)}),n){y4(t,De);let S=()=>g4(t,De);t.addEventListener("pagehide",S),Re=()=>t.removeEventListener("pagehide",S)}return w.initialized||gr(Ie.Pop,w.location,{initialHydration:!0}),O}function bm(){p&&p(),Re&&Re(),g.clear(),q&&q.abort(),w.fetchers.forEach((S,C)=>wl(C)),w.blockers.forEach((S,C)=>Yf(C))}function zm(S){return g.add(S),()=>g.delete(S)}function nt(S,C){C===void 0&&(C={}),w=Ce({},w,S);let P=[],L=[];c.v7_fetcherPersist&&w.fetchers.forEach((z,Q)=>{z.state==="idle"&&(Ve.has(Q)?L.push(Q):P.push(Q))}),[...g].forEach(z=>z(w,{deletedFetchers:L,unstable_viewTransitionOpts:C.viewTransitionOpts,unstable_flushSync:C.flushSync===!0})),c.v7_fetcherPersist&&(P.forEach(z=>w.fetchers.delete(z)),L.forEach(z=>wl(z)))}function Kr(S,C,P){var L,z;let{flushSync:Q}=P===void 0?{}:P,G=w.actionData!=null&&w.navigation.formMethod!=null&&Kt(w.navigation.formMethod)&&w.navigation.state==="loading"&&((L=S.state)==null?void 0:L._isRedirect)!==!0,I;C.actionData?Object.keys(C.actionData).length>0?I=C.actionData:I=null:G?I=w.actionData:I=null;let W=C.loaderData?Oh(w.loaderData,C.loaderData,C.matches||[],C.errors):w.loaderData,H=w.blockers;H.size>0&&(H=new Map(H),H.forEach((ce,ye)=>H.set(ye,so)));let B=A===!0||w.navigation.formMethod!=null&&Kt(w.navigation.formMethod)&&((z=S.state)==null?void 0:z._isRedirect)!==!0;a&&(l=a,a=void 0),tn||D===Ie.Pop||(D===Ie.Push?e.history.push(S,S.state):D===Ie.Replace&&e.history.replace(S,S.state));let le;if(D===Ie.Pop){let ce=De.get(w.location.pathname);ce&&ce.has(S.pathname)?le={currentLocation:w.location,nextLocation:S}:De.has(S.pathname)&&(le={currentLocation:S,nextLocation:w.location})}else if(oe){let ce=De.get(w.location.pathname);ce?ce.add(S.pathname):(ce=new Set([S.pathname]),De.set(w.location.pathname,ce)),le={currentLocation:w.location,nextLocation:S}}nt(Ce({},C,{actionData:I,loaderData:W,historyAction:D,location:S,initialized:!0,navigation:iu,revalidation:"idle",restoreScrollPosition:Jf(S,C.matches||w.matches),preventScrollReset:B,blockers:H}),{viewTransitionOpts:le,flushSync:Q===!0}),D=Ie.Pop,A=!1,oe=!1,tn=!1,Bt=!1,In=[]}async function Bf(S,C){if(typeof S=="number"){e.history.go(S);return}let P=lc(w.location,w.matches,s,c.v7_prependBasename,S,c.v7_relativeSplatPath,C==null?void 0:C.fromRouteId,C==null?void 0:C.relative),{path:L,submission:z,error:Q}=Ch(c.v7_normalizeFormMethod,!1,P,C),G=w.location,I=Yo(w.location,L,C&&C.state);I=Ce({},I,e.history.encodeLocation(I));let W=C&&C.replace!=null?C.replace:void 0,H=Ie.Push;W===!0?H=Ie.Replace:W===!1||z!=null&&Kt(z.formMethod)&&z.formAction===w.location.pathname+w.location.search&&(H=Ie.Replace);let B=C&&"preventScrollReset"in C?C.preventScrollReset===!0:void 0,le=(C&&C.unstable_flushSync)===!0,ce=Xf({currentLocation:G,nextLocation:I,historyAction:H});if(ce){Sl(ce,{state:"blocked",location:I,proceed(){Sl(ce,{state:"proceeding",proceed:void 0,reset:void 0,location:I}),Bf(S,C)},reset(){let ye=new Map(w.blockers);ye.set(ce,so),nt({blockers:ye})}});return}return await gr(H,I,{submission:z,pendingError:Q,preventScrollReset:B,replace:C&&C.replace,enableViewTransition:C&&C.unstable_viewTransition,flushSync:le})}function jm(){if(Ps(),nt({revalidation:"loading"}),w.navigation.state!=="submitting"){if(w.navigation.state==="idle"){gr(w.historyAction,w.location,{startUninterruptedRevalidation:!0});return}gr(D||w.historyAction,w.navigation.location,{overrideNavigation:w.navigation,enableViewTransition:oe===!0})}}async function gr(S,C,P){q&&q.abort(),q=null,D=S,tn=(P&&P.startUninterruptedRevalidation)===!0,Gm(w.location,w.matches),A=(P&&P.preventScrollReset)===!0,oe=(P&&P.enableViewTransition)===!0;let L=a||l,z=P&&P.overrideNavigation,Q=Er(L,C,s),G=(P&&P.flushSync)===!0,I=El(Q,L,C.pathname);if(I.active&&I.matches&&(Q=I.matches),!Q){let{error:re,notFoundMatches:Ue,route:Ae}=Rs(C.pathname);Kr(C,{matches:Ue,loaderData:{},errors:{[Ae.id]:re}},{flushSync:G});return}if(w.initialized&&!Bt&&s4(w.location,C)&&!(P&&P.submission&&Kt(P.submission.formMethod))){Kr(C,{matches:Q},{flushSync:G});return}q=new AbortController;let W=Xr(e.history,C,q.signal,P&&P.submission),H;if(P&&P.pendingError)H=[fi(Q).route.id,{type:he.error,error:P.pendingError}];else if(P&&P.submission&&Kt(P.submission.formMethod)){let re=await Um(W,C,P.submission,Q,I.active,{replace:P.replace,flushSync:G});if(re.shortCircuited)return;if(re.pendingActionResult){let[Ue,Ae]=re.pendingActionResult;if(kt(Ae)&&Cs(Ae.error)&&Ae.error.status===404){q=null,Kr(C,{matches:re.matches,loaderData:{},errors:{[Ue]:Ae.error}});return}}Q=re.matches||Q,H=re.pendingActionResult,z=ou(C,P.submission),G=!1,I.active=!1,W=Xr(e.history,W.url,W.signal)}let{shortCircuited:B,matches:le,loaderData:ce,errors:ye}=await $m(W,C,Q,I.active,z,P&&P.submission,P&&P.fetcherSubmission,P&&P.replace,P&&P.initialHydration===!0,G,H);B||(q=null,Kr(C,Ce({matches:le||Q},Lh(H),{loaderData:ce,errors:ye})))}async function Um(S,C,P,L,z,Q){Q===void 0&&(Q={}),Ps();let G=m4(C,P);if(nt({navigation:G},{flushSync:Q.flushSync===!0}),z){let H=await Cl(L,C.pathname,S.signal);if(H.type==="aborted")return{shortCircuited:!0};if(H.type==="error"){let{boundaryId:B,error:le}=xl(C.pathname,H);return{matches:H.partialMatches,pendingActionResult:[B,{type:he.error,error:le}]}}else if(H.matches)L=H.matches;else{let{notFoundMatches:B,error:le,route:ce}=Rs(C.pathname);return{matches:B,pendingActionResult:[ce.id,{type:he.error,error:le}]}}}let I,W=go(L,C);if(!W.route.action&&!W.route.lazy)I={type:he.error,error:at(405,{method:S.method,pathname:C.pathname,routeId:W.route.id})};else if(I=(await Xi("action",w,S,[W],L,null))[W.route.id],S.signal.aborted)return{shortCircuited:!0};if(Pr(I)){let H;return Q&&Q.replace!=null?H=Q.replace:H=Ph(I.response.headers.get("Location"),new URL(S.url),s)===w.location.pathname+w.location.search,await wr(S,I,!0,{submission:P,replace:H}),{shortCircuited:!0}}if(tr(I))throw at(400,{type:"defer-action"});if(kt(I)){let H=fi(L,W.route.id);return(Q&&Q.replace)!==!0&&(D=Ie.Push),{matches:L,pendingActionResult:[H.route.id,I]}}return{matches:L,pendingActionResult:[W.route.id,I]}}async function $m(S,C,P,L,z,Q,G,I,W,H,B){let le=z||ou(C,Q),ce=Q||G||Dh(le),ye=!tn&&(!c.v7_partialHydration||!W);if(L){if(ye){let _e=Vf(B);nt(Ce({navigation:le},_e!==void 0?{actionData:_e}:{}),{flushSync:H})}let Z=await Cl(P,C.pathname,S.signal);if(Z.type==="aborted")return{shortCircuited:!0};if(Z.type==="error"){let{boundaryId:_e,error:Et}=xl(C.pathname,Z);return{matches:Z.partialMatches,loaderData:{},errors:{[_e]:Et}}}else if(Z.matches)P=Z.matches;else{let{error:_e,notFoundMatches:Et,route:Oe}=Rs(C.pathname);return{matches:Et,loaderData:{},errors:{[Oe.id]:_e}}}}let re=a||l,[Ue,Ae]=Th(e.history,w,P,ce,C,c.v7_partialHydration&&W===!0,c.v7_skipActionErrorRevalidation,Bt,In,b,Ve,ht,dt,re,s,B);if(_s(Z=>!(P&&P.some(_e=>_e.route.id===Z))||Ue&&Ue.some(_e=>_e.route.id===Z)),pe=++Y,Ue.length===0&&Ae.length===0){let Z=Kf();return Kr(C,Ce({matches:P,loaderData:{},errors:B&&kt(B[1])?{[B[0]]:B[1].error}:null},Lh(B),Z?{fetchers:new Map(w.fetchers)}:{}),{flushSync:H}),{shortCircuited:!0}}if(ye){let Z={};if(!L){Z.navigation=le;let _e=Vf(B);_e!==void 0&&(Z.actionData=_e)}Ae.length>0&&(Z.fetchers=Hm(Ae)),nt(Z,{flushSync:H})}Ae.forEach(Z=>{$.has(Z.key)&&bn(Z.key),Z.controller&&$.set(Z.key,Z.controller)});let Zi=()=>Ae.forEach(Z=>bn(Z.key));q&&q.signal.addEventListener("abort",Zi);let{loaderResults:gn,fetcherResults:Gr}=await Qf(w,P,Ue,Ae,S);if(S.signal.aborted)return{shortCircuited:!0};q&&q.signal.removeEventListener("abort",Zi),Ae.forEach(Z=>$.delete(Z.key));let zn=ql(gn);if(zn)return await wr(S,zn.result,!0,{replace:I}),{shortCircuited:!0};if(zn=ql(Gr),zn)return dt.add(zn.key),await wr(S,zn.result,!0,{replace:I}),{shortCircuited:!0};let{loaderData:Tl,errors:wn}=_h(w,P,Ue,gn,B,Ae,Gr,Dt);Dt.forEach((Z,_e)=>{Z.subscribe(Et=>{(Et||Z.done)&&Dt.delete(_e)})}),c.v7_partialHydration&&W&&w.errors&&Object.entries(w.errors).filter(Z=>{let[_e]=Z;return!Ue.some(Et=>Et.route.id===_e)}).forEach(Z=>{let[_e,Et]=Z;wn=Object.assign(wn||{},{[_e]:Et})});let kl=Kf(),Pl=Gf(pe),Rl=kl||Pl||Ae.length>0;return Ce({matches:P,loaderData:Tl,errors:wn},Rl?{fetchers:new Map(w.fetchers)}:{})}function Vf(S){if(S&&!kt(S[1]))return{[S[0]]:S[1].data};if(w.actionData)return Object.keys(w.actionData).length===0?null:w.actionData}function Hm(S){return S.forEach(C=>{let P=w.fetchers.get(C.key),L=uo(void 0,P?P.data:void 0);w.fetchers.set(C.key,L)}),new Map(w.fetchers)}function Bm(S,C,P,L){if(r)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");$.has(S)&&bn(S);let z=(L&&L.unstable_flushSync)===!0,Q=a||l,G=lc(w.location,w.matches,s,c.v7_prependBasename,P,c.v7_relativeSplatPath,C,L==null?void 0:L.relative),I=Er(Q,G,s),W=El(I,Q,G);if(W.active&&W.matches&&(I=W.matches),!I){yn(S,C,at(404,{pathname:G}),{flushSync:z});return}let{path:H,submission:B,error:le}=Ch(c.v7_normalizeFormMethod,!0,G,L);if(le){yn(S,C,le,{flushSync:z});return}let ce=go(I,H);if(A=(L&&L.preventScrollReset)===!0,B&&Kt(B.formMethod)){Vm(S,C,H,ce,I,W.active,z,B);return}ht.set(S,{routeId:C,path:H}),Qm(S,C,H,ce,I,W.active,z,B)}async function Vm(S,C,P,L,z,Q,G,I){Ps(),ht.delete(S);function W(Oe){if(!Oe.route.action&&!Oe.route.lazy){let Sn=at(405,{method:I.formMethod,pathname:P,routeId:C});return yn(S,C,Sn,{flushSync:G}),!0}return!1}if(!Q&&W(L))return;let H=w.fetchers.get(S);Fn(S,v4(I,H),{flushSync:G});let B=new AbortController,le=Xr(e.history,P,B.signal,I);if(Q){let Oe=await Cl(z,P,le.signal);if(Oe.type==="aborted")return;if(Oe.type==="error"){let{error:Sn}=xl(P,Oe);yn(S,C,Sn,{flushSync:G});return}else if(Oe.matches){if(z=Oe.matches,L=go(z,P),W(L))return}else{yn(S,C,at(404,{pathname:P}),{flushSync:G});return}}$.set(S,B);let ce=Y,re=(await Xi("action",w,le,[L],z,S))[L.route.id];if(le.signal.aborted){$.get(S)===B&&$.delete(S);return}if(c.v7_fetcherPersist&&Ve.has(S)){if(Pr(re)||kt(re)){Fn(S,Un(void 0));return}}else{if(Pr(re))if($.delete(S),pe>ce){Fn(S,Un(void 0));return}else return dt.add(S),Fn(S,uo(I)),wr(le,re,!1,{fetcherSubmission:I});if(kt(re)){yn(S,C,re.error);return}}if(tr(re))throw at(400,{type:"defer-action"});let Ue=w.navigation.location||w.location,Ae=Xr(e.history,Ue,B.signal),Zi=a||l,gn=w.navigation.state!=="idle"?Er(Zi,w.navigation.location,s):w.matches;J(gn,"Didn't find any matches after fetcher action");let Gr=++Y;ve.set(S,Gr);let zn=uo(I,re.data);w.fetchers.set(S,zn);let[Tl,wn]=Th(e.history,w,gn,I,Ue,!1,c.v7_skipActionErrorRevalidation,Bt,In,b,Ve,ht,dt,Zi,s,[L.route.id,re]);wn.filter(Oe=>Oe.key!==S).forEach(Oe=>{let Sn=Oe.key,td=w.fetchers.get(Sn),Zm=uo(void 0,td?td.data:void 0);w.fetchers.set(Sn,Zm),$.has(Sn)&&bn(Sn),Oe.controller&&$.set(Sn,Oe.controller)}),nt({fetchers:new Map(w.fetchers)});let kl=()=>wn.forEach(Oe=>bn(Oe.key));B.signal.addEventListener("abort",kl);let{loaderResults:Pl,fetcherResults:Rl}=await Qf(w,gn,Tl,wn,Ae);if(B.signal.aborted)return;B.signal.removeEventListener("abort",kl),ve.delete(S),$.delete(S),wn.forEach(Oe=>$.delete(Oe.key));let Z=ql(Pl);if(Z)return wr(Ae,Z.result,!1);if(Z=ql(Rl),Z)return dt.add(Z.key),wr(Ae,Z.result,!1);let{loaderData:_e,errors:Et}=_h(w,gn,Tl,Pl,void 0,wn,Rl,Dt);if(w.fetchers.has(S)){let Oe=Un(re.data);w.fetchers.set(S,Oe)}Gf(Gr),w.navigation.state==="loading"&&Gr>pe?(J(D,"Expected pending action"),q&&q.abort(),Kr(w.navigation.location,{matches:gn,loaderData:_e,errors:Et,fetchers:new Map(w.fetchers)})):(nt({errors:Et,loaderData:Oh(w.loaderData,_e,gn,Et),fetchers:new Map(w.fetchers)}),Bt=!1)}async function Qm(S,C,P,L,z,Q,G,I){let W=w.fetchers.get(S);Fn(S,uo(I,W?W.data:void 0),{flushSync:G});let H=new AbortController,B=Xr(e.history,P,H.signal);if(Q){let re=await Cl(z,P,B.signal);if(re.type==="aborted")return;if(re.type==="error"){let{error:Ue}=xl(P,re);yn(S,C,Ue,{flushSync:G});return}else if(re.matches)z=re.matches,L=go(z,P);else{yn(S,C,at(404,{pathname:P}),{flushSync:G});return}}$.set(S,H);let le=Y,ye=(await Xi("loader",w,B,[L],z,S))[L.route.id];if(tr(ye)&&(ye=await If(ye,B.signal,!0)||ye),$.get(S)===H&&$.delete(S),!B.signal.aborted){if(Ve.has(S)){Fn(S,Un(void 0));return}if(Pr(ye))if(pe>le){Fn(S,Un(void 0));return}else{dt.add(S),await wr(B,ye,!1);return}if(kt(ye)){yn(S,C,ye.error);return}J(!tr(ye),"Unhandled fetcher deferred data"),Fn(S,Un(ye.data))}}async function wr(S,C,P,L){let{submission:z,fetcherSubmission:Q,replace:G}=L===void 0?{}:L;C.response.headers.has("X-Remix-Revalidate")&&(Bt=!0);let I=C.response.headers.get("Location");J(I,"Expected a Location header on the redirect Response"),I=Ph(I,new URL(S.url),s);let W=Yo(w.location,I,{_isRedirect:!0});if(n){let re=!1;if(C.response.headers.has("X-Remix-Reload-Document"))re=!0;else if(Af.test(I)){const Ue=e.history.createURL(I);re=Ue.origin!==t.location.origin||Yi(Ue.pathname,s)==null}if(re){G?t.location.replace(I):t.location.assign(I);return}}q=null;let H=G===!0||C.response.headers.has("X-Remix-Replace")?Ie.Replace:Ie.Push,{formMethod:B,formAction:le,formEncType:ce}=w.navigation;!z&&!Q&&B&&le&&ce&&(z=Dh(w.navigation));let ye=z||Q;if(q2.has(C.response.status)&&ye&&Kt(ye.formMethod))await gr(H,W,{submission:Ce({},ye,{formAction:I}),preventScrollReset:A,enableViewTransition:P?oe:void 0});else{let re=ou(W,z);await gr(H,W,{overrideNavigation:re,fetcherSubmission:Q,preventScrollReset:A,enableViewTransition:P?oe:void 0})}}async function Xi(S,C,P,L,z,Q){let G,I={};try{G=await r4(u,S,C,P,L,z,Q,o,i)}catch(W){return L.forEach(H=>{I[H.route.id]={type:he.error,error:W}}),I}for(let[W,H]of Object.entries(G))if(c4(H)){let B=H.result;I[W]={type:he.redirect,response:l4(B,P,W,z,s,c.v7_relativeSplatPath)}}else I[W]=await o4(H);return I}async function Qf(S,C,P,L,z){let Q=S.matches,G=Xi("loader",S,z,P,C,null),I=Promise.all(L.map(async B=>{if(B.matches&&B.match&&B.controller){let ce=(await Xi("loader",S,Xr(e.history,B.path,B.controller.signal),[B.match],B.matches,B.key))[B.match.route.id];return{[B.key]:ce}}else return Promise.resolve({[B.key]:{type:he.error,error:at(404,{pathname:B.path})}})})),W=await G,H=(await I).reduce((B,le)=>Object.assign(B,le),{});return await Promise.all([h4(C,W,z.signal,Q,S.loaderData),p4(C,H,L)]),{loaderResults:W,fetcherResults:H}}function Ps(){Bt=!0,In.push(..._s()),ht.forEach((S,C)=>{$.has(C)&&(b.add(C),bn(C))})}function Fn(S,C,P){P===void 0&&(P={}),w.fetchers.set(S,C),nt({fetchers:new Map(w.fetchers)},{flushSync:(P&&P.flushSync)===!0})}function yn(S,C,P,L){L===void 0&&(L={});let z=fi(w.matches,C);wl(S),nt({errors:{[z.route.id]:P},fetchers:new Map(w.fetchers)},{flushSync:(L&&L.flushSync)===!0})}function Wf(S){return c.v7_fetcherPersist&&(vn.set(S,(vn.get(S)||0)+1),Ve.has(S)&&Ve.delete(S)),w.fetchers.get(S)||K2}function wl(S){let C=w.fetchers.get(S);$.has(S)&&!(C&&C.state==="loading"&&ve.has(S))&&bn(S),ht.delete(S),ve.delete(S),dt.delete(S),Ve.delete(S),b.delete(S),w.fetchers.delete(S)}function Wm(S){if(c.v7_fetcherPersist){let C=(vn.get(S)||0)-1;C<=0?(vn.delete(S),Ve.add(S)):vn.set(S,C)}else wl(S);nt({fetchers:new Map(w.fetchers)})}function bn(S){let C=$.get(S);J(C,"Expected fetch controller: "+S),C.abort(),$.delete(S)}function qf(S){for(let C of S){let P=Wf(C),L=Un(P.data);w.fetchers.set(C,L)}}function Kf(){let S=[],C=!1;for(let P of dt){let L=w.fetchers.get(P);J(L,"Expected fetcher: "+P),L.state==="loading"&&(dt.delete(P),S.push(P),C=!0)}return qf(S),C}function Gf(S){let C=[];for(let[P,L]of ve)if(L0}function qm(S,C){let P=w.blockers.get(S)||so;return yr.get(S)!==C&&yr.set(S,C),P}function Yf(S){w.blockers.delete(S),yr.delete(S)}function Sl(S,C){let P=w.blockers.get(S)||so;J(P.state==="unblocked"&&C.state==="blocked"||P.state==="blocked"&&C.state==="blocked"||P.state==="blocked"&&C.state==="proceeding"||P.state==="blocked"&&C.state==="unblocked"||P.state==="proceeding"&&C.state==="unblocked","Invalid blocker state transition: "+P.state+" -> "+C.state);let L=new Map(w.blockers);L.set(S,C),nt({blockers:L})}function Xf(S){let{currentLocation:C,nextLocation:P,historyAction:L}=S;if(yr.size===0)return;yr.size>1&&Vi(!1,"A router only supports one blocker at a time");let z=Array.from(yr.entries()),[Q,G]=z[z.length-1],I=w.blockers.get(Q);if(!(I&&I.state==="proceeding")&&G({currentLocation:C,nextLocation:P,historyAction:L}))return Q}function Rs(S){let C=at(404,{pathname:S}),P=a||l,{matches:L,route:z}=Mh(P);return _s(),{notFoundMatches:L,route:z,error:C}}function xl(S,C){return{boundaryId:fi(C.partialMatches).route.id,error:at(400,{type:"route-discovery",pathname:S,message:C.error!=null&&"message"in C.error?C.error:String(C.error)})}}function _s(S){let C=[];return Dt.forEach((P,L)=>{(!S||S(L))&&(P.cancel(),C.push(L),Dt.delete(L))}),C}function Km(S,C,P){if(k=S,h=C,m=P||null,!v&&w.navigation===iu){v=!0;let L=Jf(w.location,w.matches);L!=null&&nt({restoreScrollPosition:L})}return()=>{k=null,h=null,m=null}}function Zf(S,C){return m&&m(S,C.map(L=>k2(L,w.loaderData)))||S.key}function Gm(S,C){if(k&&h){let P=Zf(S,C);k[P]=h()}}function Jf(S,C){if(k){let P=Zf(S,C),L=k[P];if(typeof L=="number")return L}return null}function El(S,C,P){if(f){if(y.has(P))return{active:!1,matches:S};if(S){if(Object.keys(S[0].params).length>0)return{active:!0,matches:pa(C,P,s,!0)}}else return{active:!0,matches:pa(C,P,s,!0)||[]}}return{active:!1,matches:null}}async function Cl(S,C,P){let L=S;for(;;){let z=a==null,Q=a||l;try{await e4(f,C,L,Q,o,i,Im,P)}catch(W){return{type:"error",error:W,partialMatches:L}}finally{z&&(l=[...l])}if(P.aborted)return{type:"aborted"};let G=Er(Q,C,s);if(G)return ed(C,y),{type:"success",matches:G};let I=pa(Q,C,s,!0);if(!I||L.length===I.length&&L.every((W,H)=>W.route.id===I[H].route.id))return ed(C,y),{type:"success",matches:null};L=I}}function ed(S,C){if(C.size>=x){let P=C.values().next().value;C.delete(P)}C.add(S)}function Ym(S){o={},a=Xo(S,i,void 0,o)}function Xm(S,C){let P=a==null;tm(S,C,a||l,o,i),P&&(l=[...l],nt({}))}return O={get basename(){return s},get future(){return c},get state(){return w},get routes(){return l},get window(){return t},initialize:Fm,subscribe:zm,enableScrollRestoration:Km,navigate:Bf,fetch:Bm,revalidate:jm,createHref:S=>e.history.createHref(S),encodeLocation:S=>e.history.encodeLocation(S),getFetcher:Wf,deleteFetcher:Wm,dispose:bm,getBlocker:qm,deleteBlocker:Yf,patchRoutes:Xm,_internalFetchControllers:$,_internalActiveDeferreds:Dt,_internalSetRoutes:Ym},O}function X2(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function lc(e,t,n,r,i,o,l,a){let s,u;if(l){s=[];for(let c of t)if(s.push(c),c.route.id===l){u=c;break}}else s=t,u=t[t.length-1];let f=Df(i||".",Nf(s,o),Yi(e.pathname,n)||e.pathname,a==="path");return i==null&&(f.search=e.search,f.hash=e.hash),(i==null||i===""||i===".")&&u&&u.route.index&&!Ff(f.search)&&(f.search=f.search?f.search.replace(/^\?/,"?index&"):"?index"),r&&n!=="/"&&(f.pathname=f.pathname==="/"?n:On([n,f.pathname])),Hr(f)}function Ch(e,t,n,r){if(!r||!X2(r))return{path:n};if(r.formMethod&&!d4(r.formMethod))return{path:n,error:at(405,{method:r.formMethod})};let i=()=>({path:n,error:at(400,{type:"invalid-body"})}),o=r.formMethod||"get",l=e?o.toUpperCase():o.toLowerCase(),a=nm(n);if(r.body!==void 0){if(r.formEncType==="text/plain"){if(!Kt(l))return i();let p=typeof r.body=="string"?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((g,x)=>{let[y,k]=x;return""+g+y+"="+k+` +`},""):String(r.body);return{path:n,submission:{formMethod:l,formAction:a,formEncType:r.formEncType,formData:void 0,json:void 0,text:p}}}else if(r.formEncType==="application/json"){if(!Kt(l))return i();try{let p=typeof r.body=="string"?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:l,formAction:a,formEncType:r.formEncType,formData:void 0,json:p,text:void 0}}}catch{return i()}}}J(typeof FormData=="function","FormData is not available in this environment");let s,u;if(r.formData)s=ac(r.formData),u=r.formData;else if(r.body instanceof FormData)s=ac(r.body),u=r.body;else if(r.body instanceof URLSearchParams)s=r.body,u=Rh(s);else if(r.body==null)s=new URLSearchParams,u=new FormData;else try{s=new URLSearchParams(r.body),u=Rh(s)}catch{return i()}let f={formMethod:l,formAction:a,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:u,json:void 0,text:void 0};if(Kt(f.formMethod))return{path:n,submission:f};let c=mr(n);return t&&c.search&&Ff(c.search)&&s.append("index",""),c.search="?"+s,{path:Hr(c),submission:f}}function Z2(e,t){let n=e;if(t){let r=e.findIndex(i=>i.route.id===t);r>=0&&(n=e.slice(0,r))}return n}function Th(e,t,n,r,i,o,l,a,s,u,f,c,p,g,x,y){let k=y?kt(y[1])?y[1].error:y[1].data:void 0,m=e.createURL(t.location),h=e.createURL(i),v=y&&kt(y[1])?y[0]:void 0,T=v?Z2(n,v):n,_=y?y[1].statusCode:void 0,M=l&&_&&_>=400,O=T.filter((D,A)=>{let{route:q}=D;if(q.lazy)return!0;if(q.loader==null)return!1;if(o)return typeof q.loader!="function"||q.loader.hydrate?!0:t.loaderData[q.id]===void 0&&(!t.errors||t.errors[q.id]===void 0);if(J2(t.loaderData,t.matches[A],D)||s.some(Re=>Re===D.route.id))return!0;let oe=t.matches[A],De=D;return kh(D,Ce({currentUrl:m,currentParams:oe.params,nextUrl:h,nextParams:De.params},r,{actionResult:k,actionStatus:_,defaultShouldRevalidate:M?!1:a||m.pathname+m.search===h.pathname+h.search||m.search!==h.search||em(oe,De)}))}),w=[];return c.forEach((D,A)=>{if(o||!n.some(tn=>tn.route.id===D.routeId)||f.has(A))return;let q=Er(g,D.path,x);if(!q){w.push({key:A,routeId:D.routeId,path:D.path,matches:null,match:null,controller:null});return}let oe=t.fetchers.get(A),De=go(q,D.path),Re=!1;p.has(A)?Re=!1:u.has(A)?(u.delete(A),Re=!0):oe&&oe.state!=="idle"&&oe.data===void 0?Re=a:Re=kh(De,Ce({currentUrl:m,currentParams:t.matches[t.matches.length-1].params,nextUrl:h,nextParams:n[n.length-1].params},r,{actionResult:k,actionStatus:_,defaultShouldRevalidate:M?!1:a})),Re&&w.push({key:A,routeId:D.routeId,path:D.path,matches:q,match:De,controller:new AbortController})}),[O,w]}function J2(e,t,n){let r=!t||n.route.id!==t.route.id,i=e[n.route.id]===void 0;return r||i}function em(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function kh(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n=="boolean")return n}return t.defaultShouldRevalidate}async function e4(e,t,n,r,i,o,l,a){let s=[t,...n.map(u=>u.route.id)].join("-");try{let u=l.get(s);u||(u=e({path:t,matches:n,patch:(f,c)=>{a.aborted||tm(f,c,r,i,o)}}),l.set(s,u)),u&&u4(u)&&await u}finally{l.delete(s)}}function tm(e,t,n,r,i){if(e){var o;let l=r[e];J(l,"No route found to patch children into: routeId = "+e);let a=Xo(t,i,[e,"patch",String(((o=l.children)==null?void 0:o.length)||"0")],r);l.children?l.children.push(...a):l.children=a}else{let l=Xo(t,i,["patch",String(n.length||"0")],r);n.push(...l)}}async function t4(e,t,n){if(!e.lazy)return;let r=await e.lazy();if(!e.lazy)return;let i=n[e.id];J(i,"No route found in manifest");let o={};for(let l in r){let s=i[l]!==void 0&&l!=="hasErrorBoundary";Vi(!s,'Route "'+i.id+'" has a static property "'+l+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+l+'" will be ignored.')),!s&&!C2.has(l)&&(o[l]=r[l])}Object.assign(i,o),Object.assign(i,Ce({},t(i),{lazy:void 0}))}async function n4(e){let{matches:t}=e,n=t.filter(i=>i.shouldLoad);return(await Promise.all(n.map(i=>i.resolve()))).reduce((i,o,l)=>Object.assign(i,{[n[l].route.id]:o}),{})}async function r4(e,t,n,r,i,o,l,a,s,u){let f=o.map(g=>g.route.lazy?t4(g.route,s,a):void 0),c=o.map((g,x)=>{let y=f[x],k=i.some(h=>h.route.id===g.route.id);return Ce({},g,{shouldLoad:k,resolve:async h=>(h&&r.method==="GET"&&(g.route.lazy||g.route.loader)&&(k=!0),k?i4(t,r,g,y,h,u):Promise.resolve({type:he.data,result:void 0}))})}),p=await e({matches:c,request:r,params:o[0].params,fetcherKey:l,context:u});try{await Promise.all(f)}catch{}return p}async function i4(e,t,n,r,i,o){let l,a,s=u=>{let f,c=new Promise((x,y)=>f=y);a=()=>f(),t.signal.addEventListener("abort",a);let p=x=>typeof u!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+e+'" [routeId: '+n.route.id+"]"))):u({request:t,params:n.params,context:o},...x!==void 0?[x]:[]),g=(async()=>{try{return{type:"data",result:await(i?i(y=>p(y)):p())}}catch(x){return{type:"error",result:x}}})();return Promise.race([g,c])};try{let u=n.route[e];if(r)if(u){let f,[c]=await Promise.all([s(u).catch(p=>{f=p}),r]);if(f!==void 0)throw f;l=c}else if(await r,u=n.route[e],u)l=await s(u);else if(e==="action"){let f=new URL(t.url),c=f.pathname+f.search;throw at(405,{method:t.method,pathname:c,routeId:n.route.id})}else return{type:he.data,result:void 0};else if(u)l=await s(u);else{let f=new URL(t.url),c=f.pathname+f.search;throw at(404,{pathname:c})}J(l.result!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+n.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(u){return{type:he.error,result:u}}finally{a&&t.signal.removeEventListener("abort",a)}return l}async function o4(e){let{result:t,type:n}=e;if(rm(t)){let u;try{let f=t.headers.get("Content-Type");f&&/\bapplication\/json\b/.test(f)?t.body==null?u=null:u=await t.json():u=await t.text()}catch(f){return{type:he.error,error:f}}return n===he.error?{type:he.error,error:new $a(t.status,t.statusText,u),statusCode:t.status,headers:t.headers}:{type:he.data,data:u,statusCode:t.status,headers:t.headers}}if(n===he.error){if(Nh(t)){var r;if(t.data instanceof Error){var i;return{type:he.error,error:t.data,statusCode:(i=t.init)==null?void 0:i.status}}t=new $a(((r=t.init)==null?void 0:r.status)||500,void 0,t.data)}return{type:he.error,error:t,statusCode:Cs(t)?t.status:void 0}}if(f4(t)){var o,l;return{type:he.deferred,deferredData:t,statusCode:(o=t.init)==null?void 0:o.status,headers:((l=t.init)==null?void 0:l.headers)&&new Headers(t.init.headers)}}if(Nh(t)){var a,s;return{type:he.data,data:t.data,statusCode:(a=t.init)==null?void 0:a.status,headers:(s=t.init)!=null&&s.headers?new Headers(t.init.headers):void 0}}return{type:he.data,data:t}}function l4(e,t,n,r,i,o){let l=e.headers.get("Location");if(J(l,"Redirects returned/thrown from loaders/actions must have a Location header"),!Af.test(l)){let a=r.slice(0,r.findIndex(s=>s.route.id===n)+1);l=lc(new URL(t.url),a,i,!0,l,o),e.headers.set("Location",l)}return e}function Ph(e,t,n){if(Af.test(e)){let r=e,i=r.startsWith("//")?new URL(t.protocol+r):new URL(r),o=Yi(i.pathname,n)!=null;if(i.origin===t.origin&&o)return i.pathname+i.search+i.hash}return e}function Xr(e,t,n,r){let i=e.createURL(nm(t)).toString(),o={signal:n};if(r&&Kt(r.formMethod)){let{formMethod:l,formEncType:a}=r;o.method=l.toUpperCase(),a==="application/json"?(o.headers=new Headers({"Content-Type":a}),o.body=JSON.stringify(r.json)):a==="text/plain"?o.body=r.text:a==="application/x-www-form-urlencoded"&&r.formData?o.body=ac(r.formData):o.body=r.formData}return new Request(i,o)}function ac(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,typeof r=="string"?r:r.name);return t}function Rh(e){let t=new FormData;for(let[n,r]of e.entries())t.append(n,r);return t}function a4(e,t,n,r,i){let o={},l=null,a,s=!1,u={},f=n&&kt(n[1])?n[1].error:void 0;return e.forEach(c=>{if(!(c.route.id in t))return;let p=c.route.id,g=t[p];if(J(!Pr(g),"Cannot handle redirect results in processLoaderData"),kt(g)){let x=g.error;f!==void 0&&(x=f,f=void 0),l=l||{};{let y=fi(e,p);l[y.route.id]==null&&(l[y.route.id]=x)}o[p]=void 0,s||(s=!0,a=Cs(g.error)?g.error.status:500),g.headers&&(u[p]=g.headers)}else tr(g)?(r.set(p,g.deferredData),o[p]=g.deferredData.data,g.statusCode!=null&&g.statusCode!==200&&!s&&(a=g.statusCode),g.headers&&(u[p]=g.headers)):(o[p]=g.data,g.statusCode&&g.statusCode!==200&&!s&&(a=g.statusCode),g.headers&&(u[p]=g.headers))}),f!==void 0&&n&&(l={[n[0]]:f},o[n[0]]=void 0),{loaderData:o,errors:l,statusCode:a||200,loaderHeaders:u}}function _h(e,t,n,r,i,o,l,a){let{loaderData:s,errors:u}=a4(t,r,i,a);return o.forEach(f=>{let{key:c,match:p,controller:g}=f,x=l[c];if(J(x,"Did not find corresponding fetcher result"),!(g&&g.signal.aborted))if(kt(x)){let y=fi(e.matches,p==null?void 0:p.route.id);u&&u[y.route.id]||(u=Ce({},u,{[y.route.id]:x.error})),e.fetchers.delete(c)}else if(Pr(x))J(!1,"Unhandled fetcher revalidation redirect");else if(tr(x))J(!1,"Unhandled fetcher deferred data");else{let y=Un(x.data);e.fetchers.set(c,y)}}),{loaderData:s,errors:u}}function Oh(e,t,n,r){let i=Ce({},t);for(let o of n){let l=o.route.id;if(t.hasOwnProperty(l)?t[l]!==void 0&&(i[l]=t[l]):e[l]!==void 0&&o.route.loader&&(i[l]=e[l]),r&&r.hasOwnProperty(l))break}return i}function Lh(e){return e?kt(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function fi(e,t){return(t?e.slice(0,e.findIndex(r=>r.route.id===t)+1):[...e]).reverse().find(r=>r.route.hasErrorBoundary===!0)||e[0]}function Mh(e){let t=e.length===1?e[0]:e.find(n=>n.index||!n.path||n.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function at(e,t){let{pathname:n,routeId:r,method:i,type:o,message:l}=t===void 0?{}:t,a="Unknown Server Error",s="Unknown @remix-run/router error";return e===400?(a="Bad Request",o==="route-discovery"?s='Unable to match URL "'+n+'" - the `unstable_patchRoutesOnNavigation()` '+(`function threw the following error: +`+l):i&&n&&r?s="You made a "+i+' request to "'+n+'" but '+('did not provide a `loader` for route "'+r+'", ')+"so there is no way to handle the request.":o==="defer-action"?s="defer() is not supported in actions":o==="invalid-body"&&(s="Unable to encode submission body")):e===403?(a="Forbidden",s='Route "'+r+'" does not match URL "'+n+'"'):e===404?(a="Not Found",s='No route matches URL "'+n+'"'):e===405&&(a="Method Not Allowed",i&&n&&r?s="You made a "+i.toUpperCase()+' request to "'+n+'" but '+('did not provide an `action` for route "'+r+'", ')+"so there is no way to handle the request.":i&&(s='Invalid request method "'+i.toUpperCase()+'"')),new $a(e||500,a,new Error(s),!0)}function ql(e){let t=Object.entries(e);for(let n=t.length-1;n>=0;n--){let[r,i]=t[n];if(Pr(i))return{key:r,result:i}}}function nm(e){let t=typeof e=="string"?mr(e):e;return Hr(Ce({},t,{hash:""}))}function s4(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function u4(e){return typeof e=="object"&&e!=null&&"then"in e}function c4(e){return rm(e.result)&&W2.has(e.result.status)}function tr(e){return e.type===he.deferred}function kt(e){return e.type===he.error}function Pr(e){return(e&&e.type)===he.redirect}function Nh(e){return typeof e=="object"&&e!=null&&"type"in e&&"data"in e&&"init"in e&&e.type==="DataWithResponseInit"}function f4(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 rm(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function d4(e){return Q2.has(e.toLowerCase())}function Kt(e){return B2.has(e.toLowerCase())}async function h4(e,t,n,r,i){let o=Object.entries(t);for(let l=0;l(p==null?void 0:p.route.id)===a);if(!u)continue;let f=r.find(p=>p.route.id===u.route.id),c=f!=null&&!em(f,u)&&(i&&i[u.route.id])!==void 0;tr(s)&&c&&await If(s,n,!1).then(p=>{p&&(t[a]=p)})}}async function p4(e,t,n){for(let r=0;r(u==null?void 0:u.route.id)===o)&&tr(a)&&(J(l,"Expected an AbortController for revalidating fetcher deferred result"),await If(a,l.signal,!0).then(u=>{u&&(t[i]=u)}))}}async function If(e,t,n){if(n===void 0&&(n=!1),!await e.deferredData.resolveData(t)){if(n)try{return{type:he.data,data:e.deferredData.unwrappedData}}catch(i){return{type:he.error,error:i}}return{type:he.data,data:e.deferredData.data}}}function Ff(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function go(e,t){let n=typeof t=="string"?mr(t).search:t.search;if(e[e.length-1].route.index&&Ff(n||""))return e[e.length-1];let r=X1(e);return r[r.length-1]}function Dh(e){let{formMethod:t,formAction:n,formEncType:r,text:i,formData:o,json:l}=e;if(!(!t||!n||!r)){if(i!=null)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:i};if(o!=null)return{formMethod:t,formAction:n,formEncType:r,formData:o,json:void 0,text:void 0};if(l!==void 0)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:l,text:void 0}}}function ou(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function m4(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function uo(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function v4(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function Un(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function y4(e,t){try{let n=e.sessionStorage.getItem(J1);if(n){let r=JSON.parse(n);for(let[i,o]of Object.entries(r||{}))o&&Array.isArray(o)&&t.set(i,new Set(o||[]))}}catch{}}function g4(e,t){if(t.size>0){let n={};for(let[r,i]of t)n[r]=[...i];try{e.sessionStorage.setItem(J1,JSON.stringify(n))}catch(r){Vi(!1,"Failed to save applied view transitions in sessionStorage ("+r+").")}}}/** + * React Router v6.26.2 + * + * 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 Ha(){return Ha=Object.assign?Object.assign.bind():function(e){for(var t=1;t{a.current=!0}),R.useCallback(function(u,f){if(f===void 0&&(f={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let c=Df(u,JSON.parse(l),o,f.relative==="path");e==null&&t!=="/"&&(c.pathname=c.pathname==="/"?t:On([t,c.pathname])),(f.replace?r.replace:r.push)(c,f.state,f)},[t,r,l,o,e])}const E4=R.createContext(null);function C4(e){let t=R.useContext(vr).outlet;return t&&R.createElement(E4.Provider,{value:e},t)}function am(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=R.useContext(Wr),{matches:i}=R.useContext(vr),{pathname:o}=qr(),l=JSON.stringify(Nf(i,r.v7_relativeSplatPath));return R.useMemo(()=>Df(e,JSON.parse(l),o,n==="path"),[e,l,o,n])}function T4(e,t,n,r){pl()||J(!1);let{navigator:i}=R.useContext(Wr),{matches:o}=R.useContext(vr),l=o[o.length-1],a=l?l.params:{};l&&l.pathname;let s=l?l.pathnameBase:"/";l&&l.route;let u=qr(),f;f=u;let c=f.pathname||"/",p=c;if(s!=="/"){let y=s.replace(/^\//,"").split("/");p="/"+c.replace(/^\//,"").split("/").slice(y.length).join("/")}let g=Er(e,{pathname:p});return O4(g&&g.map(y=>Object.assign({},y,{params:Object.assign({},a,y.params),pathname:On([s,i.encodeLocation?i.encodeLocation(y.pathname).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?s:On([s,i.encodeLocation?i.encodeLocation(y.pathnameBase).pathname:y.pathnameBase])})),o,n,r)}function k4(){let e=D4(),t=Cs(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return R.createElement(R.Fragment,null,R.createElement("h2",null,"Unexpected Application Error!"),R.createElement("h3",{style:{fontStyle:"italic"}},t),n?R.createElement("pre",{style:i},n):null,null)}const P4=R.createElement(k4,null);class R4 extends R.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?R.createElement(vr.Provider,{value:this.props.routeContext},R.createElement(om.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function _4(e){let{routeContext:t,match:n,children:r}=e,i=R.useContext(Ts);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),R.createElement(vr.Provider,{value:t},r)}function O4(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if(!n)return null;if(n.errors)e=n.matches;else if((o=r)!=null&&o.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let l=e,a=(i=n)==null?void 0:i.errors;if(a!=null){let f=l.findIndex(c=>c.route.id&&(a==null?void 0:a[c.route.id])!==void 0);f>=0||J(!1),l=l.slice(0,Math.min(l.length,f+1))}let s=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let f=0;f=0?l=l.slice(0,u+1):l=[l[0]];break}}}return l.reduceRight((f,c,p)=>{let g,x=!1,y=null,k=null;n&&(g=a&&c.route.id?a[c.route.id]:void 0,y=c.route.errorElement||P4,s&&(u<0&&p===0?(I4("route-fallback"),x=!0,k=null):u===p&&(x=!0,k=c.route.hydrateFallbackElement||null)));let m=t.concat(l.slice(0,p+1)),h=()=>{let v;return g?v=y:x?v=k:c.route.Component?v=R.createElement(c.route.Component,null):c.route.element?v=c.route.element:v=f,R.createElement(_4,{match:c,routeContext:{outlet:f,matches:m,isDataRoute:n!=null},children:v})};return n&&(c.route.ErrorBoundary||c.route.errorElement||p===0)?R.createElement(R4,{location:n.location,revalidation:n.revalidation,component:y,error:g,children:h(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):h()},null)}var sm=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(sm||{}),Ba=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Ba||{});function L4(e){let t=R.useContext(Ts);return t||J(!1),t}function M4(e){let t=R.useContext(im);return t||J(!1),t}function N4(e){let t=R.useContext(vr);return t||J(!1),t}function um(e){let t=N4(),n=t.matches[t.matches.length-1];return n.route.id||J(!1),n.route.id}function D4(){var e;let t=R.useContext(om),n=M4(Ba.UseRouteError),r=um(Ba.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function A4(){let{router:e}=L4(sm.UseNavigateStable),t=um(Ba.UseNavigateStable),n=R.useRef(!1);return lm(()=>{n.current=!0}),R.useCallback(function(i,o){o===void 0&&(o={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,Ha({fromRouteId:t},o)))},[e,t])}const Ah={};function I4(e,t,n){Ah[e]||(Ah[e]=!0)}function F4(e){return C4(e.context)}function b4(e){let{basename:t="/",children:n=null,location:r,navigationType:i=Ie.Pop,navigator:o,static:l=!1,future:a}=e;pl()&&J(!1);let s=t.replace(/^\/*/,"/"),u=R.useMemo(()=>({basename:s,navigator:o,static:l,future:Ha({v7_relativeSplatPath:!1},a)}),[s,a,o,l]);typeof r=="string"&&(r=mr(r));let{pathname:f="/",search:c="",hash:p="",state:g=null,key:x="default"}=r,y=R.useMemo(()=>{let k=Yi(f,s);return k==null?null:{location:{pathname:k,search:c,hash:p,state:g,key:x},navigationType:i}},[s,f,c,p,g,x,i]);return y==null?null:R.createElement(Wr.Provider,{value:u},R.createElement(bf.Provider,{children:n,value:y}))}new Promise(()=>{});function z4(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:R.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:R.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:R.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}/** + * React Router DOM v6.26.2 + * + * 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 Zo(){return Zo=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function U4(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function $4(e,t){return e.button===0&&(!t||t==="_self")&&!U4(e)}const H4=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],B4="6";try{window.__reactRouterVersion=B4}catch{}function V4(e,t){return Y2({basename:void 0,future:Zo({},void 0,{v7_prependBasename:!0}),history:S2({window:void 0}),hydrationData:Q4(),routes:e,mapRouteProperties:z4,unstable_dataStrategy:void 0,unstable_patchRoutesOnNavigation:void 0,window:void 0}).initialize()}function Q4(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=Zo({},t,{errors:W4(t.errors)})),t}function W4(e){if(!e)return null;let t=Object.entries(e),n={};for(let[r,i]of t)if(i&&i.__type==="RouteErrorResponse")n[r]=new $a(i.status,i.statusText,i.data,i.internal===!0);else if(i&&i.__type==="Error"){if(i.__subType){let o=window[i.__subType];if(typeof o=="function")try{let l=new o(i.message);l.stack="",n[r]=l}catch{}}if(n[r]==null){let o=new Error(i.message);o.stack="",n[r]=o}}else n[r]=i;return n}const q4=R.createContext({isTransitioning:!1}),K4=R.createContext(new Map),G4="startTransition",Ih=uu[G4],Y4="flushSync",Fh=w2[Y4];function X4(e){Ih?Ih(e):e()}function co(e){Fh?Fh(e):e()}class Z4{constructor(){this.status="pending",this.promise=new Promise((t,n)=>{this.resolve=r=>{this.status==="pending"&&(this.status="resolved",t(r))},this.reject=r=>{this.status==="pending"&&(this.status="rejected",n(r))}})}}function J4(e){let{fallbackElement:t,router:n,future:r}=e,[i,o]=R.useState(n.state),[l,a]=R.useState(),[s,u]=R.useState({isTransitioning:!1}),[f,c]=R.useState(),[p,g]=R.useState(),[x,y]=R.useState(),k=R.useRef(new Map),{v7_startTransition:m}=r||{},h=R.useCallback(w=>{m?X4(w):w()},[m]),v=R.useCallback((w,D)=>{let{deletedFetchers:A,unstable_flushSync:q,unstable_viewTransitionOpts:oe}=D;A.forEach(Re=>k.current.delete(Re)),w.fetchers.forEach((Re,tn)=>{Re.data!==void 0&&k.current.set(tn,Re.data)});let De=n.window==null||n.window.document==null||typeof n.window.document.startViewTransition!="function";if(!oe||De){q?co(()=>o(w)):h(()=>o(w));return}if(q){co(()=>{p&&(f&&f.resolve(),p.skipTransition()),u({isTransitioning:!0,flushSync:!0,currentLocation:oe.currentLocation,nextLocation:oe.nextLocation})});let Re=n.window.document.startViewTransition(()=>{co(()=>o(w))});Re.finished.finally(()=>{co(()=>{c(void 0),g(void 0),a(void 0),u({isTransitioning:!1})})}),co(()=>g(Re));return}p?(f&&f.resolve(),p.skipTransition(),y({state:w,currentLocation:oe.currentLocation,nextLocation:oe.nextLocation})):(a(w),u({isTransitioning:!0,flushSync:!1,currentLocation:oe.currentLocation,nextLocation:oe.nextLocation}))},[n.window,p,f,k,h]);R.useLayoutEffect(()=>n.subscribe(v),[n,v]),R.useEffect(()=>{s.isTransitioning&&!s.flushSync&&c(new Z4)},[s]),R.useEffect(()=>{if(f&&l&&n.window){let w=l,D=f.promise,A=n.window.document.startViewTransition(async()=>{h(()=>o(w)),await D});A.finished.finally(()=>{c(void 0),g(void 0),a(void 0),u({isTransitioning:!1})}),g(A)}},[h,l,f,n.window]),R.useEffect(()=>{f&&l&&i.location.key===l.location.key&&f.resolve()},[f,p,i.location,l]),R.useEffect(()=>{!s.isTransitioning&&x&&(a(x.state),u({isTransitioning:!0,flushSync:!1,currentLocation:x.currentLocation,nextLocation:x.nextLocation}),y(void 0))},[s.isTransitioning,x]),R.useEffect(()=>{},[]);let T=R.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:w=>n.navigate(w),push:(w,D,A)=>n.navigate(w,{state:D,preventScrollReset:A==null?void 0:A.preventScrollReset}),replace:(w,D,A)=>n.navigate(w,{replace:!0,state:D,preventScrollReset:A==null?void 0:A.preventScrollReset})}),[n]),_=n.basename||"/",M=R.useMemo(()=>({router:n,navigator:T,static:!1,basename:_}),[n,T,_]),O=R.useMemo(()=>({v7_relativeSplatPath:n.future.v7_relativeSplatPath}),[n.future.v7_relativeSplatPath]);return R.createElement(R.Fragment,null,R.createElement(Ts.Provider,{value:M},R.createElement(im.Provider,{value:i},R.createElement(K4.Provider,{value:k.current},R.createElement(q4.Provider,{value:s},R.createElement(b4,{basename:_,location:i.location,navigationType:i.historyAction,navigator:T,future:O},i.initialized||n.future.v7_partialHydration?R.createElement(e3,{routes:n.routes,future:n.future,state:i}):t))))),null)}const e3=R.memo(t3);function t3(e){let{routes:t,future:n,state:r}=e;return T4(t,void 0,r,n)}const n3=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",r3=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,di=R.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:o,replace:l,state:a,target:s,to:u,preventScrollReset:f,unstable_viewTransition:c}=t,p=j4(t,H4),{basename:g}=R.useContext(Wr),x,y=!1;if(typeof u=="string"&&r3.test(u)&&(x=u,n3))try{let v=new URL(window.location.href),T=u.startsWith("//")?new URL(v.protocol+u):new URL(u),_=Yi(T.pathname,g);T.origin===v.origin&&_!=null?u=_+T.search+T.hash:y=!0}catch{}let k=w4(u,{relative:i}),m=i3(u,{replace:l,state:a,target:s,preventScrollReset:f,relative:i,unstable_viewTransition:c});function h(v){r&&r(v),v.defaultPrevented||m(v)}return R.createElement("a",Zo({},p,{href:x||k,onClick:y||o?r:h,ref:n,target:s}))});var bh;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(bh||(bh={}));var zh;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(zh||(zh={}));function i3(e,t){let{target:n,replace:r,state:i,preventScrollReset:o,relative:l,unstable_viewTransition:a}=t===void 0?{}:t,s=S4(),u=qr(),f=am(e,{relative:l});return R.useCallback(c=>{if($4(c,n)){c.preventDefault();let p=r!==void 0?r:Hr(u)===Hr(f);s(e,{replace:p,state:i,preventScrollReset:o,relative:l,unstable_viewTransition:a})}},[u,s,f,r,i,n,e,o,l,a])}var o3=zc(function(e,t){var n=e.styles,r=bc([n],void 0,R.useContext(jc)),i=R.useRef();return dd(function(){var o=t.key+"-global",l=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,s=document.querySelector('style[data-emotion="'+o+" "+r.name+'"]');return t.sheet.tags.length&&(l.before=t.sheet.tags[0]),s!==null&&(a=!0,s.setAttribute("data-emotion",o),l.hydrate([s])),i.current=[l,a],function(){l.flush()}},[t]),dd(function(){var o=i.current,l=o[0],a=o[1];if(a){o[1]=!1;return}if(r.next!==void 0&&Fc(t,r.next,!0),l.tags.length){var s=l.tags[l.tags.length-1].nextElementSibling;l.before=s,l.flush()}t.insert("",r,l,!1)},[t,r.name]),null});function V(){for(var e=arguments.length,t=new Array(e),n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},V3=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e},sc=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return n===!1?String(t):String(t).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")},Q3=function(t){var n=xi(t,X.TITLE),r=xi(t,Jo.TITLE_TEMPLATE);if(r&&n)return r.replace(/%s/g,function(){return Array.isArray(n)?n.join(""):n});var i=xi(t,Jo.DEFAULT_TITLE);return n||i||void 0},W3=function(t){return xi(t,Jo.ON_CHANGE_CLIENT_STATE)||function(){}},lu=function(t,n){return n.filter(function(r){return typeof r[t]<"u"}).map(function(r){return r[t]}).reduce(function(r,i){return pt({},r,i)},{})},q3=function(t,n){return n.filter(function(r){return typeof r[X.BASE]<"u"}).map(function(r){return r[X.BASE]}).reverse().reduce(function(r,i){if(!r.length)for(var o=Object.keys(i),l=0;l=0;r--){var i=t[r];if(i.hasOwnProperty(n))return i[n]}return null},K3=function(t){return{baseTag:q3([xe.HREF,xe.TARGET],t),bodyAttributes:lu(Fr.BODY,t),defer:xi(t,Jo.DEFER),encode:xi(t,Jo.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:lu(Fr.HTML,t),linkTags:fo(X.LINK,[xe.REL,xe.HREF],t),metaTags:fo(X.META,[xe.NAME,xe.CHARSET,xe.HTTPEQUIV,xe.PROPERTY,xe.ITEM_PROP],t),noscriptTags:fo(X.NOSCRIPT,[xe.INNER_HTML],t),onChangeClientState:W3(t),scriptTags:fo(X.SCRIPT,[xe.SRC,xe.INNER_HTML],t),styleTags:fo(X.STYLE,[xe.CSS_TEXT],t),title:Q3(t),titleAttributes:lu(Fr.TITLE,t)}},uc=function(){var e=Date.now();return function(t){var n=Date.now();n-e>16?(e=n,t(n)):setTimeout(function(){uc(t)},0)}}(),Hh=function(t){return clearTimeout(t)},G3=typeof window<"u"?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||uc:global.requestAnimationFrame||uc,Y3=typeof window<"u"?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||Hh:global.cancelAnimationFrame||Hh,X3=function(t){return console&&typeof console.warn=="function"&&console.warn(t)},ho=null,Z3=function(t){ho&&Y3(ho),t.defer?ho=G3(function(){Bh(t,function(){ho=null})}):(Bh(t),ho=null)},Bh=function(t,n){var r=t.baseTag,i=t.bodyAttributes,o=t.htmlAttributes,l=t.linkTags,a=t.metaTags,s=t.noscriptTags,u=t.onChangeClientState,f=t.scriptTags,c=t.styleTags,p=t.title,g=t.titleAttributes;cc(X.BODY,i),cc(X.HTML,o),J3(p,g);var x={baseTag:Zr(X.BASE,r),linkTags:Zr(X.LINK,l),metaTags:Zr(X.META,a),noscriptTags:Zr(X.NOSCRIPT,s),scriptTags:Zr(X.SCRIPT,f),styleTags:Zr(X.STYLE,c)},y={},k={};Object.keys(x).forEach(function(m){var h=x[m],v=h.newTags,T=h.oldTags;v.length&&(y[m]=v),T.length&&(k[m]=x[m].oldTags)}),n&&n(),u(t,y,k)},ym=function(t){return Array.isArray(t)?t.join(""):t},J3=function(t,n){typeof t<"u"&&document.title!==t&&(document.title=ym(t)),cc(X.TITLE,n)},cc=function(t,n){var r=document.getElementsByTagName(t)[0];if(r){for(var i=r.getAttribute(Xt),o=i?i.split(","):[],l=[].concat(o),a=Object.keys(n),s=0;s=0;p--)r.removeAttribute(l[p]);o.length===l.length?r.removeAttribute(Xt):r.getAttribute(Xt)!==a.join(",")&&r.setAttribute(Xt,a.join(","))}},Zr=function(t,n){var r=document.head||document.querySelector(X.HEAD),i=r.querySelectorAll(t+"["+Xt+"]"),o=Array.prototype.slice.call(i),l=[],a=void 0;return n&&n.length&&n.forEach(function(s){var u=document.createElement(t);for(var f in s)if(s.hasOwnProperty(f))if(f===xe.INNER_HTML)u.innerHTML=s.innerHTML;else if(f===xe.CSS_TEXT)u.styleSheet?u.styleSheet.cssText=s.cssText:u.appendChild(document.createTextNode(s.cssText));else{var c=typeof s[f]>"u"?"":s[f];u.setAttribute(f,c)}u.setAttribute(Xt,"true"),o.some(function(p,g){return a=g,u.isEqualNode(p)})?o.splice(a,1):l.push(u)}),o.forEach(function(s){return s.parentNode.removeChild(s)}),l.forEach(function(s){return r.appendChild(s)}),{oldTags:o,newTags:l}},gm=function(t){return Object.keys(t).reduce(function(n,r){var i=typeof t[r]<"u"?r+'="'+t[r]+'"':""+r;return n?n+" "+i:i},"")},e5=function(t,n,r,i){var o=gm(r),l=ym(n);return o?"<"+t+" "+Xt+'="true" '+o+">"+sc(l,i)+"":"<"+t+" "+Xt+'="true">'+sc(l,i)+""},t5=function(t,n,r){return n.reduce(function(i,o){var l=Object.keys(o).filter(function(u){return!(u===xe.INNER_HTML||u===xe.CSS_TEXT)}).reduce(function(u,f){var c=typeof o[f]>"u"?f:f+'="'+sc(o[f],r)+'"';return u?u+" "+c:c},""),a=o.innerHTML||o.cssText||"",s=j3.indexOf(t)===-1;return i+"<"+t+" "+Xt+'="true" '+l+(s?"/>":">"+a+"")},"")},wm=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(t).reduce(function(r,i){return r[Va[i]||i]=t[i],r},n)},n5=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(t).reduce(function(r,i){return r[z3[i]||i]=t[i],r},n)},r5=function(t,n,r){var i,o=(i={key:n},i[Xt]=!0,i),l=wm(r,o);return[hi.createElement(X.TITLE,l,n)]},i5=function(t,n){return n.map(function(r,i){var o,l=(o={key:i},o[Xt]=!0,o);return Object.keys(r).forEach(function(a){var s=Va[a]||a;if(s===xe.INNER_HTML||s===xe.CSS_TEXT){var u=r.innerHTML||r.cssText;l.dangerouslySetInnerHTML={__html:u}}else l[s]=r[a]}),hi.createElement(t,l)})},xn=function(t,n,r){switch(t){case X.TITLE:return{toComponent:function(){return r5(t,n.title,n.titleAttributes)},toString:function(){return e5(t,n.title,n.titleAttributes,r)}};case Fr.BODY:case Fr.HTML:return{toComponent:function(){return wm(n)},toString:function(){return gm(n)}};default:return{toComponent:function(){return i5(t,n)},toString:function(){return t5(t,n,r)}}}},Sm=function(t){var n=t.baseTag,r=t.bodyAttributes,i=t.encode,o=t.htmlAttributes,l=t.linkTags,a=t.metaTags,s=t.noscriptTags,u=t.scriptTags,f=t.styleTags,c=t.title,p=c===void 0?"":c,g=t.titleAttributes;return{base:xn(X.BASE,n,i),bodyAttributes:xn(Fr.BODY,r,i),htmlAttributes:xn(Fr.HTML,o,i),link:xn(X.LINK,l,i),meta:xn(X.META,a,i),noscript:xn(X.NOSCRIPT,s,i),script:xn(X.SCRIPT,u,i),style:xn(X.STYLE,f,i),title:xn(X.TITLE,{title:p,titleAttributes:g},i)}},o5=function(t){var n,r;return r=n=function(i){B3(o,i);function o(){return $3(this,o),V3(this,i.apply(this,arguments))}return o.prototype.shouldComponentUpdate=function(a){return!M3(this.props,a)},o.prototype.mapNestedChildrenToProps=function(a,s){if(!s)return null;switch(a.type){case X.SCRIPT:case X.NOSCRIPT:return{innerHTML:s};case X.STYLE:return{cssText:s}}throw new Error("<"+a.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},o.prototype.flattenArrayTypeChildren=function(a){var s,u=a.child,f=a.arrayTypeChildren,c=a.newChildProps,p=a.nestedChildren;return pt({},f,(s={},s[u.type]=[].concat(f[u.type]||[],[pt({},c,this.mapNestedChildrenToProps(u,p))]),s))},o.prototype.mapObjectTypeChildren=function(a){var s,u,f=a.child,c=a.newProps,p=a.newChildProps,g=a.nestedChildren;switch(f.type){case X.TITLE:return pt({},c,(s={},s[f.type]=g,s.titleAttributes=pt({},p),s));case X.BODY:return pt({},c,{bodyAttributes:pt({},p)});case X.HTML:return pt({},c,{htmlAttributes:pt({},p)})}return pt({},c,(u={},u[f.type]=pt({},p),u))},o.prototype.mapArrayTypeChildrenToProps=function(a,s){var u=pt({},s);return Object.keys(a).forEach(function(f){var c;u=pt({},u,(c={},c[f]=a[f],c))}),u},o.prototype.warnOnInvalidChildren=function(a,s){return!0},o.prototype.mapChildrenToProps=function(a,s){var u=this,f={};return hi.Children.forEach(a,function(c){if(!(!c||!c.props)){var p=c.props,g=p.children,x=$h(p,["children"]),y=n5(x);switch(u.warnOnInvalidChildren(c,g),c.type){case X.LINK:case X.META:case X.NOSCRIPT:case X.SCRIPT:case X.STYLE:f=u.flattenArrayTypeChildren({child:c,arrayTypeChildren:f,newChildProps:y,nestedChildren:g});break;default:s=u.mapObjectTypeChildren({child:c,newProps:s,newChildProps:y,nestedChildren:g});break}}}),s=this.mapArrayTypeChildrenToProps(f,s),s},o.prototype.render=function(){var a=this.props,s=a.children,u=$h(a,["children"]),f=pt({},u);return s&&(f=this.mapChildrenToProps(s,f)),hi.createElement(t,f)},H3(o,null,[{key:"canUseDOM",set:function(a){t.canUseDOM=a}}]),o}(hi.Component),n.propTypes={base:Se.object,bodyAttributes:Se.object,children:Se.oneOfType([Se.arrayOf(Se.node),Se.node]),defaultTitle:Se.string,defer:Se.bool,encodeSpecialCharacters:Se.bool,htmlAttributes:Se.object,link:Se.arrayOf(Se.object),meta:Se.arrayOf(Se.object),noscript:Se.arrayOf(Se.object),onChangeClientState:Se.func,script:Se.arrayOf(Se.object),style:Se.arrayOf(Se.object),title:Se.string,titleAttributes:Se.object,titleTemplate:Se.string},n.defaultProps={defer:!0,encodeSpecialCharacters:!0},n.peek=t.peek,n.rewind=function(){var i=t.rewind();return i||(i=Sm({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),i},r},l5=function(){return null},a5=k3(K3,Z3,Sm)(l5),el=o5(a5);el.renderStatic=el.rewind;function vl(){const e=R.useRef(null),t=qr();return R.useEffect(()=>{var n;(n=e.current)==null||n.classList.remove("transitioned")},[]),R.useEffect(()=>{setTimeout(()=>{var n;(n=e.current)==null||n.classList.add("transitioned")},50)},[t]),{ref:e}}const s5=V` + ${ml} + ${ks} + display: flex; + gap: 8px; + flex-direction: column; + align-items: flex-start; + + li { + list-style: circle; + } + + p { + margin-block: 0; + } +`,u5=V` + gap: 16px; + flex-direction: row; + display: flex; + width: 100%; + + @media only screen and (max-width: ${Ht}) { + justify-content: start; + flex-wrap: wrap; + } +`,c5=V` + display: flex; + align-items: center; + max-width: 42em; + font-size: large; + + @media only screen and (max-width: ${Ht}) { + max-width: 100%; + } +`,Vh=V` + font-weight: bold; +`,Kl=V` + font-style: italic; + padding-inline-start: 8px; +`,Gl=V` + margin-block-start: 0; +`;function f5(){const{ref:e}=vl(),t=`Experienced software developer with a decade of expertise in building + web applications, specializing in front-end development. Passionate + about modernizing legacy code and collaborating with UX teams to + design new innovative features.`;return F("div",{css:s5,ref:e,children:[F(el,{children:[d("meta",{name:"description",content:t}),d("title",{children:"Joseph D. Phelan"})]}),d("h1",{css:h3,children:"Home page for Joseph Phelan"}),F("div",{css:u5,children:[d(u3,{}),d("p",{css:c5,children:t})]}),d(d3,{}),d("h3",{children:"Work"}),d("p",{css:Vh,children:"Acquia"}),d("p",{css:Kl,children:"Staff software engineer (2024 - current)"}),F("ul",{css:Gl,children:[d("li",{children:"Maintain cross team component library and documentation"}),d("li",{children:"Code with a focus of maintainability, A11y standards, and e2e testing"}),d("li",{children:"Conduct one-on-one coding sessions and demos to teach and support other developers"}),d("li",{children:"Ensure applications are up to date on dependencies and assist/troubleshoot any blockers"}),d("li",{children:"Collaborate with UX designers to iron out designs and patterns"}),d("li",{children:"Provide constructive feedback and recommendations in pull requests, contributing to the overall code quality and maintainability"}),d("li",{children:"Vet usage of new libraries to ensure they meet the company standards"})]}),d("p",{css:Kl,children:"Senior software engineer (2022 - 2024)"}),F("ul",{css:Gl,children:[d("li",{children:"Develop cross application component library"}),d("li",{children:"Create smart components (micro frontend w/module federation) for use throughout product teams"}),d("li",{children:"Support maintain and document software functionality"}),d("li",{children:"Communicate new releases and features to product development teams"})]}),d("p",{css:Kl,children:"Business Systems Software Developer III (2019 - 2022)"}),F("ul",{css:Gl,children:[d("li",{children:"Support a java/react web application and add new features as needed"}),d("li",{children:"Design, develop and test business solutions primarily on the Salesforce platform using apex, visualforce, lightning web components, flows, and process builders"}),d("li",{children:"Communicate with team members and colleagues to gather user requirements and keep up to date with integration changes"}),d("li",{children:"Make changes on hubspot website, including custom hubl components and ADA compliance"})]}),d("p",{css:Vh,children:"Nelnet (formerly Great Lakes Higher Education)"}),d("p",{css:Kl,children:"Senior software engineer (2012 - 2019)"}),F("ul",{css:Gl,children:[d("li",{children:"Responsible for performing analysis, designing, coding, testing, and implementation of accurate and efficient web applications"}),d("li",{children:"Experience working on large projects over the span of many years"}),d("li",{children:"Handle large release efforts that require communication with multiple departments and teams"}),d("li",{children:"Train new developers in applications and best practices"}),d("li",{children:"Engage in peer programming and work together to solve problems, this includes code reviews on all code that goes into production"})]})]})}const d5="/assets/family-C2zfP4Fb.jpg",h5=V` + width: 100%; + display: block; + height: auto; + border-radius: 10px; + max-width: 400px; +`,p5=V` + ${ml} + ${ks} + display: grid; + gap: 24px; + grid-template-columns: repeat(2, minmax(0, 1fr)); + grid-template-rows: auto 1fr; + + @media only screen and (max-width: ${Ht}) { + grid-template-columns: repeat(1, minmax(0, 1fr)); + } +`,m5=V` + margin-inline: auto; + margin-block-start: 27px; +`,v5=V` + max-width: 42em; + + p:first-child { + margin-top: 0; + } +`;function y5(){const{ref:e}=vl();return F("div",{css:p5,ref:e,children:[F(el,{children:[d("meta",{name:"description",content:"Learn about me and how I got started on my path to becoming a software engineer."}),d("title",{children:"About - Joseph D. Phelan"})]}),F("div",{css:v5,children:[d("h1",{children:"About"}),d("p",{children:"From my humble beginnings working on my fathers farm I learned the value of hard work. After spending time with our family DOS computer, I developed an interest in all things technology. This led to me attending the University of Wisconsin Milwaukee in pursuit of a bachelors degree in computer science. Once acquired I moved to Madison WI and began my professional career."}),F("p",{children:["Today I work as a staff software engineer at"," ",d("a",{href:"https://www.acquia.com/products/acquia-dam",children:"Acquia"})," ","specializing in front end. I have a wonderful wife and 2 boys that I enjoy spending as much time with as possible. When I'm not working I enjoy biking, listening to podcasts and audio books, playing video games, reading books, fishing, and gardening."]}),d("p",{children:"Going forward I want to continue making a difference on teams. Improving aging codebases, building out new features, and making other developers' lives easier. Above all I want to raise good kids that go on to make a difference in this world."})]}),d("div",{css:m5,children:d("img",{loading:"lazy",src:d5,css:h5,alt:"Picture of my family"})})]})}function g5({fill:e}){return d("svg",{xmlns:"http://www.w3.org/2000/svg",fill:e,width:"24",height:"24",viewBox:"0 0 24 24","aria-label":"light icon, click to toggle page theme",children:d("path",{d:"M12 0c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm4.95 5.636l1.414 1.414-2.195 2.195c-.372-.562-.853-1.042-1.414-1.414l2.195-2.195zm-5.95-1.636h2v3.101c-.323-.066-.657-.101-1-.101s-.677.035-1 .101v-3.101zm-3.95 1.636l2.195 2.195c-.561.372-1.042.853-1.414 1.415l-2.195-2.196 1.414-1.414zm-3.05 5.364h3.101c-.066.323-.101.657-.101 1s.035.677.101 1h-3.101v-2zm3.05 7.364l-1.414-1.414 2.195-2.195c.372.562.853 1.042 1.414 1.414l-2.195 2.195zm5.95 1.636h-2v-3.101c.323.066.657.101 1 .101s.677-.035 1-.101v3.101zm-1-5c-1.657 0-3-1.343-3-3s1.343-3 3-3 3 1.343 3 3-1.343 3-3 3zm4.95 3.364l-2.195-2.195c.562-.372 1.042-.853 1.414-1.414l2.195 2.195-1.414 1.414zm3.05-5.364h-3.101c.066-.323.101-.657.101-1s-.035-.677-.101-1h3.101v2z"})})}var w5=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,S5=Mc(function(e){return w5.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),x5=!1,E5=/[A-Z]|^ms/g,C5=/_EMO_([^_]+?)_([^]*?)_EMO_/g,xm=function(t){return t.charCodeAt(1)===45},Qh=function(t){return t!=null&&typeof t!="boolean"},au=Mc(function(e){return xm(e)?e:e.replace(E5,"-$&").toLowerCase()}),Wh=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(C5,function(r,i,o){return fn={name:i,styles:o,next:fn},i})}return Up[t]!==1&&!xm(t)&&typeof n=="number"&&n!==0?n+"px":n},T5="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function tl(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var i=n;if(i.anim===1)return fn={name:i.name,styles:i.styles,next:fn},i.name;var o=n;if(o.styles!==void 0){var l=o.next;if(l!==void 0)for(;l!==void 0;)fn={name:l.name,styles:l.styles,next:fn},l=l.next;var a=o.styles+";";return a}return k5(e,t,n)}case"function":{if(e!==void 0){var s=fn,u=n(e);return fn=s,tl(e,t,u)}break}}var f=n;if(t==null)return f;var c=t[f];return c!==void 0?c:f}function k5(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i96?R5:_5},Gh=function(t,n,r){var i;if(n){var o=n.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(l){return t.__emotion_forwardProp(l)&&o(l)}:o}return typeof i!="function"&&r&&(i=t.__emotion_forwardProp),i},O5=!1,L5=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return Ic(n,r,i),Bp(function(){return Fc(n,r,i)}),null},M5=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,o,l;n!==void 0&&(o=n.label,l=n.target);var a=Gh(t,n,r),s=a||Kh(i),u=!s("as");return function(){var f=arguments,c=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&c.push("label:"+o+";"),f[0]==null||f[0].raw===void 0)c.push.apply(c,f);else{c.push(f[0][0]);for(var p=f.length,g=1;g{dm()},css:{fontSize:"xxx-large"},"aria-label":"Toggle theme",title:"Toggle theme",children:"Toggle Theme"})})]})})}function I5({fill:e}){return d("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:e,children:d("path",{d:"M120-240v-80h720v80H120Zm0-200v-80h720v80H120Zm0-200v-80h720v80H120Z"})})}function F5(){return d("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor",children:d("path",{d:"m256-200-56-56 224-224-224-224 56-56 224 224 224-224 56 56-224 224 224 224-56 56-224-224-224 224Z"})})}const b5=V` + display: none; +`,z5=V` + width: 100%; + height: 100%; + position: inherit; + top: 0; + position: fixed; + left: 0; + top: 0; + overflow: hidden; + z-index: 10; + background: var(--bg-color); + display: flex; + align-items: center; + justify-content: center; + flex-direction: column; + font-size: xxx-large; +`,j5=V` + position: fixed; + top: 16px; + right: 16px; + font-size: xx-large; +`;function U5(){const[e,t]=R.useState(!1),{pathname:n}=qr(),r=R.useRef(null);return R.useEffect(()=>{t(!1)},[n]),F(R.Fragment,{children:[d(kn,{"aria-expanded":e,"aria-controls":"menu",onClick:()=>{t(!e),setTimeout(()=>{var i;(i=r.current)==null||i.focus()},50)},"aria-label":"Open nav menu",children:d(I5,{fill:"var(--fg-color)"})}),F("div",{id:"menu",role:"dialog",css:[z5,!e&&b5],onKeyDown:i=>{i.key==="Escape"&&t(!1)},children:[d(kn,{ref:r,onClick:()=>{t(!1)},"aria-label":"close nav menu",css:j5,children:d(F5,{})}),d(Cm,{})]})]})}const $5=V` + margin: 0; + max-width: 320px; + font-size: 1.2em; + font-weight: bold; + font-variant: petite-caps; +`,H5=V` + background: var(--bg-footer-header); + margin-bottom: 40px; + display: flex; + justify-content: space-between; + flex-wrap: wrap; + align-items: center; + gap: 10px; + border-bottom: 1px solid var(--fg-color); + padding-inline: var(--layout-padding); + padding-block: 16px; +`,B5=V` + display: flex; + gap: 20px; + align-items: center; + + @media only screen and (max-width: ${Ht}) { + && { + background: red; + display: none; + } + } +`,V5=V` + border-radius: 100%; + width: 24px; + height: 24px; +`,Q5=V` + display: flex; + align-items: center; + gap: 8px; +`,W5=V` + display: none; + + @media only screen and (max-width: ${Ht}) { + display: block; + } +`;function q5(){return F("header",{css:H5,children:[F("div",{css:Q5,children:[d(di,{to:"/",children:d("img",{src:cm,css:V5,alt:"Picture of Joe Phelan",id:"joephela-avatar"})}),d("span",{css:$5,children:"Joseph D. Phelan"})]}),F("div",{children:[d("div",{css:W5,children:d(U5,{})}),F("div",{css:B5,children:[d(Cm,{}),d(kn,{onClick:()=>{dm()},"aria-label":"Toggle theme",title:"Toggle theme",children:d(g5,{fill:"var(--fg-color)"})})]})]})]})}function K5({fill:e}){return d("svg",{xmlns:"http://www.w3.org/2000/svg",fill:e,width:"24",height:"24",viewBox:"0 0 24 24","aria-label":"Github icon, click to view Joe's github page",children:d("path",{d:"M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"})})}function G5({fill:e}){return d("svg",{xmlns:"http://www.w3.org/2000/svg",fill:e,width:"24",height:"24",viewBox:"0 0 24 24","aria-label":"Linkedin icon, click to view Joe's linkedin profile",children:d("path",{d:"M19 0h-14c-2.761 0-5 2.239-5 5v14c0 2.761 2.239 5 5 5h14c2.762 0 5-2.239 5-5v-14c0-2.761-2.238-5-5-5zm-11 19h-3v-11h3v11zm-1.5-12.268c-.966 0-1.75-.79-1.75-1.764s.784-1.764 1.75-1.764 1.75.79 1.75 1.764-.783 1.764-1.75 1.764zm13.5 12.268h-3v-5.604c0-3.368-4-3.113-4 0v5.604h-3v-11h3v1.765c1.396-2.586 7-2.777 7 2.476v6.759z"})})}const Y5=V` + display: flex; + gap: 10px; + padding: 10px; +`,X5="https://linkedin.com/in/joseph-phelan-3a871625",Z5="https://github.com/joephela";function J5(){return F("div",{css:Y5,children:[d(Yh,{as:"a","aria-label":"View Joe Phelan's Github",target:"_blank",href:Z5,children:d(K5,{fill:"var(--fg-color)"})}),d(Yh,{as:"a","aria-label":"View Joe Phelan's Linkedin",href:X5,target:"_blank",children:d(G5,{fill:"var(--fg-color)"})})]})}const ew=V` + background: var(--bg-footer-header); + margin-top: 50px; + display: flex; + justify-content: space-between; + border-top: 1px solid var(--fg-color); + padding-inline: var(--layout-padding); + align-items: center; + padding-block: 8px; +`,tw=V` + font-size: small; +`;function nw(){return F("footer",{css:ew,children:[F("p",{css:tw,children:["Built by me using"," ",d("a",{href:"https://vite.dev/",rel:"noreferrer",target:"_blank",children:"Vite"}),".",d("br",{}),"Copyright © 2024 Joseph Phelan."]}),d(J5,{})]})}const rw="/assets/moving-B_q13TNX.jpg";function iw(){return F("div",{css:{margin:"24px"},children:[d("h1",{children:"This site has moved!"}),F("p",{children:["Check out the new location ",d("a",{href:"https://www.joephela.com",children:"here"}),"."]}),d("img",{src:rw,alt:"moving trucks"})]})}const ow="128px",lw="123px",aw=V` + height: 100%; + margin-inline: var(--layout-padding); + min-height: calc(100vh - ${ow} - ${lw}); +`,sw=V` + body { + ${l3} + margin: 0; + color: var(--fg-color); + background-color: var(--bg-color); + font-family: Verdana, Arial, Helvetica, sans-serif; + color: var(--fg-color); + background-color: var(--bg-color); + + p { + font-size: medium; + line-height: 1.4em; + } + } + + ul { + list-style: none; + } + + li { + text-decoration: none; + } +`;function uw(){return F(R.Fragment,{children:[d(o3,{styles:sw}),document.location.origin==="https://joephela.github.io"?d(iw,{}):F(R.Fragment,{children:[d(q5,{}),d("main",{css:aw,children:d(F4,{})}),d(nw,{})]})]})}function cw(){return F("svg",{width:"40",height:"40",viewBox:"-10.5 -9.45 21 18.9",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d("circle",{cx:"0",cy:"0",r:"2",fill:"currentColor"}),F("g",{stroke:"currentColor","stroke-width":"1",fill:"none",children:[d("ellipse",{rx:"10",ry:"4.5"}),d("ellipse",{rx:"10",ry:"4.5",transform:"rotate(60)"}),d("ellipse",{rx:"10",ry:"4.5",transform:"rotate(120)"})]})]})}function fw(){return d("svg",{fill:"none",height:"40",viewBox:"0 0 27 26",width:"40",xmlns:"http://www.w3.org/2000/svg",children:d("path",{"clip-rule":"evenodd",d:"m.98608 0h24.32332c.5446 0 .9861.436522.9861.975v24.05c0 .5385-.4415.975-.9861.975h-24.32332c-.544597 0-.98608-.4365-.98608-.975v-24.05c0-.538478.441483-.975.98608-.975zm13.63142 13.8324v-2.1324h-9.35841v2.1324h3.34111v9.4946h2.6598v-9.4946zm1.0604 9.2439c.4289.2162.9362.3784 1.5218.4865.5857.1081 1.2029.1622 1.8518.1622.6324 0 1.2331-.0595 1.8023-.1784.5691-.1189 1.0681-.3149 1.497-.5879s.7685-.6297 1.0187-1.0703.3753-.9852.3753-1.6339c0-.4703-.0715-.8824-.2145-1.2365-.1429-.3541-.3491-.669-.6186-.9447-.2694-.2757-.5925-.523-.9692-.7419s-.8014-.4257-1.2743-.6203c-.3465-.1406-.6572-.2771-.9321-.4095-.275-.1324-.5087-.2676-.7011-.4054-.1925-.1379-.3409-.2838-.4454-.4379-.1045-.154-.1567-.3284-.1567-.523 0-.1784.0467-.3392.1402-.4824.0935-.1433.2254-.2663.3959-.369s.3794-.1824.6269-.2392c.2474-.0567.5224-.0851.8248-.0851.22 0 .4523.0162.697.0486.2447.0325.4908.0825.7382.15.2475.0676.4881.1527.7218.2555.2337.1027.4495.2216.6475.3567v-2.4244c-.4015-.1514-.84-.2636-1.3157-.3365-.4756-.073-1.0214-.1095-1.6373-.1095-.6268 0-1.2207.0662-1.7816.1987-.5609.1324-1.0544.3392-1.4806.6203s-.763.6392-1.0104 1.0743c-.2475.4352-.3712.9555-.3712 1.5609 0 .7731.2268 1.4326.6805 1.9785.4537.546 1.1424 1.0082 2.0662 1.3866.363.146.7011.2892 1.0146.4298.3134.1405.5842.2865.8124.4378.2282.1514.4083.3162.5403.4946s.198.3811.198.6082c0 .1676-.0413.323-.1238.4662-.0825.1433-.2076.2676-.3753.373s-.3766.1879-.6268.2473c-.2502.0595-.5431.0892-.8785.0892-.5719 0-1.1383-.0986-1.6992-.2959-.5608-.1973-1.0805-.4933-1.5589-.8879z",fill:"currentColor","fill-rule":"evenodd"})})}function dw(){return F("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",viewBox:"0 0 92 92",children:[d("defs",{children:d("clipPath",{id:"a",children:d("path",{d:"M0 .113h91.887V92H0Zm0 0"})})}),d("g",{"clip-path":"url(#a)",children:d("path",{fill:"currentColor",d:"M90.156 41.965 50.036 1.848a5.918 5.918 0 0 0-8.372 0l-8.328 8.332 10.566 10.566a7.03 7.03 0 0 1 7.23 1.684 7.034 7.034 0 0 1 1.669 7.277l10.187 10.184a7.028 7.028 0 0 1 7.278 1.672 7.04 7.04 0 0 1 0 9.957 7.05 7.05 0 0 1-9.965 0 7.044 7.044 0 0 1-1.528-7.66l-9.5-9.497V59.36a7.04 7.04 0 0 1 1.86 11.29 7.04 7.04 0 0 1-9.957 0 7.04 7.04 0 0 1 0-9.958 7.06 7.06 0 0 1 2.304-1.539V33.926a7.049 7.049 0 0 1-3.82-9.234L29.242 14.272 1.73 41.777a5.925 5.925 0 0 0 0 8.371L41.852 90.27a5.925 5.925 0 0 0 8.37 0l39.934-39.934a5.925 5.925 0 0 0 0-8.371"})})]})}function hw(){return d("svg",{height:"40",viewBox:"0 0 323.99971 285.09601",width:"40",xmlns:"http://www.w3.org/2000/svg",children:F("g",{transform:"matrix(1.2548929 0 0 1.2548929 -22.9868 -19.949332)",children:[d("path",{d:"m97.021 99.016l48.432-27.962c1.212-.7 2.706-.7 3.918 0l48.433 27.962c1.211.7 1.959 1.993 1.959 3.393v55.924c0 1.399-.748 2.693-1.959 3.394l-48.433 27.962c-1.212.7-2.706.7-3.918 0l-48.432-27.962c-1.212-.7-1.959-1.994-1.959-3.394v-55.924c.001-1.4.748-2.693 1.959-3.393",fill:"currentColor"}),d("path",{d:"m273.336 124.488l-57.867-100.672c-2.102-3.64-5.985-6.325-10.188-6.325h-115.736c-4.204 0-8.088 2.685-10.19 6.325l-57.867 100.45c-2.102 3.641-2.102 8.236 0 11.877l57.867 99.847c2.102 3.64 5.986 5.501 10.19 5.501h115.735c4.203 0 8.087-1.805 10.188-5.446l57.867-100.01c2.104-3.639 2.104-7.907.001-11.547m-47.917 48.41c0 1.48-.891 2.849-2.174 3.59l-73.71 42.527c-1.282.74-2.888.74-4.17 0l-73.767-42.527c-1.282-.741-2.179-2.109-2.179-3.59v-85.055c0-1.481.884-2.849 2.167-3.59l73.707-42.527c1.282-.741 2.886-.741 4.168 0l73.772 42.527c1.283.741 2.186 2.109 2.186 3.59z",fill:"currentColor"})]})})}function pw(){return d("svg",{width:"40",height:"40",viewBox:"0 0 256 256",version:"1.1",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid",fill:"currentColor",children:F("g",{children:[d("rect",{x:"182.857143",y:"48.7619048",width:"24.3809524",height:"12.1904762",rx:"5"}),d("rect",{x:"0",y:"243.809524",width:"73.1428571",height:"12.1904762",rx:"5"}),d("rect",{x:"146.285714",y:"146.285714",width:"48.7619048",height:"12.1904762",rx:"5"}),d("rect",{x:"73.1428571",y:"146.285714",width:"60.952381",height:"12.1904762",rx:"5"}),d("rect",{x:"0",y:"146.285714",width:"60.952381",height:"12.1904762",rx:"5"}),d("rect",{x:"0",y:"195.047619",width:"73.1428571",height:"12.1904762",rx:"5"}),d("rect",{x:"0",y:"97.5238095",width:"73.1428571",height:"12.1904762",rx:"5"}),d("rect",{x:"60.952381",y:"24.3809524",width:"134.095238",height:"12.1904762",rx:"5"}),d("rect",{x:"0",y:"24.3809524",width:"48.7619048",height:"12.1904762",rx:"5"}),d("rect",{x:"48.7619048",y:"219.428571",width:"24.3809524",height:"12.1904762",rx:"5"}),d("rect",{x:"48.7619048",y:"73.1428571",width:"24.3809524",height:"12.1904762",rx:"5"}),d("rect",{x:"0",y:"219.428571",width:"36.5714286",height:"12.1904762",rx:"5"}),d("rect",{x:"0",y:"73.1428571",width:"36.5714286",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"158.47619",y:"219.428571",width:"24.3809524",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"85.3333333",y:"219.428571",width:"60.952381",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"195.047619",y:"219.428571",width:"60.952381",height:"12.1904762",rx:"5"}),d("rect",{x:"97.5238095",y:"121.904762",width:"109.714286",height:"12.1904762",rx:"5"}),d("rect",{x:"36.5714286",y:"121.904762",width:"48.7619048",height:"12.1904762",rx:"5"}),d("rect",{x:"0",y:"121.904762",width:"24.3809524",height:"12.1904762",rx:"5"}),d("rect",{x:"109.714286",y:"48.7619048",width:"60.952381",height:"12.1904762",rx:"5"}),d("rect",{x:"0",y:"48.7619048",width:"97.5238095",height:"12.1904762",rx:"5"}),d("rect",{x:"36.5714286",y:"170.666667",width:"121.904762",height:"12.1904762",rx:"5"}),d("rect",{x:"0",y:"170.666667",width:"24.3809524",height:"12.1904762",rx:"5"}),d("rect",{x:"146.285714",y:"73.1428571",width:"73.1428571",height:"12.1904762",rx:"5"}),d("rect",{x:"146.285714",y:"97.5238095",width:"73.1428571",height:"12.1904762",rx:"5"}),d("rect",{x:"0",y:"0",width:"158.47619",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"170.666667",y:"0",width:"85.3333333",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"170.666667",y:"170.666667",width:"36.5714286",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"219.428571",y:"170.666667",width:"36.5714286",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"207.238095",y:"146.285714",width:"48.7619048",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"207.238095",y:"24.3809524",width:"48.7619048",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"219.428571",y:"121.904762",width:"36.5714286",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"219.428571",y:"48.7619048",width:"36.5714286",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"231.619048",y:"73.1428571",width:"24.3809524",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"231.619048",y:"97.5238095",width:"24.3809524",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"134.095238",y:"195.047619",width:"121.904762",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"85.3333333",y:"195.047619",width:"36.5714286",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"182.857143",y:"243.809524",width:"73.1428571",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"85.3333333",y:"243.809524",width:"85.3333333",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"85.3333333",y:"73.1428571",width:"48.7619048",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"85.3333333",y:"97.5238095",width:"48.7619048",height:"12.1904762",rx:"5"})]})})}function mw(){return F("svg",{width:"40",height:"40",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",children:[d("title",{children:"file_type_vite"}),d("path",{d:"M29.8836 6.146L16.7418 29.6457c-.2714.4851-.9684.488-1.2439.0052L2.0956 6.1482c-.3-.5262.1498-1.1635.746-1.057l13.156 2.3516a.7144.7144 0 00.2537-.0004l12.8808-2.3478c.5942-.1083 1.0463.5241.7515 1.0513z",fill:"currentColor",fillOpacity:"50%"}),d("path",{d:"M22.2644 2.0069l-9.7253 1.9056a.3571.3571 0 00-.2879.3294l-.5982 10.1038c-.014.238.2045.4227.4367.3691l2.7077-.6248c.2534-.0585.4823.1647.4302.4194l-.8044 3.9393c-.0542.265.1947.4918.4536.4132l1.6724-.5082c.2593-.0787.5084.1487.4536.414l-1.2784 6.1877c-.08.387.4348.598.6495.2662L16.5173 25 24.442 9.1848c.1327-.2648-.096-.5667-.387-.5106l-2.787.5379c-.262.0505-.4848-.1934-.4109-.4497l1.8191-6.306c.074-.2568-.1496-.5009-.4118-.4495z",fill:"currentColor"})]})}function vw(){return d("svg",{width:"40",height:"40",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:d("path",{d:"M12 1L24 22H0L12 1Z",fill:"currentColor"})})}function yw(){return F("svg",{width:"40",height:"40",viewBox:"0 0 32 32",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:[d("path",{d:"M21.0016 3.11679C21.0016 2.23783 20.0175 2.23782 19.5801 2.34769C20.1924 1.86426 20.9105 1.98147 21.1656 2.12796L27.079 5.02747C27.6424 5.30375 27.9998 5.8786 27.9998 6.50857V25.5831C27.9998 26.2215 27.6329 26.8025 27.058 27.0743L21.4937 29.7054C21.1109 29.8701 20.2799 30.2767 19.5801 29.7053C20.4549 29.8702 20.9287 29.2476 21.0016 28.8264V3.11679Z"}),d("path",{d:"M19.6512 2.3319C20.1154 2.24017 21.0018 2.28271 21.0018 3.11685V9.68254L3.07359 23.2453C2.76022 23.4824 2.3192 23.443 2.05229 23.1542L0.204532 21.1548C-0.0849358 20.8416 -0.0646824 20.3513 0.249624 20.0633L19.5802 2.34775L19.6512 2.3319Z"}),d("path",{d:"M21.0018 22.3708L3.07359 8.80801C2.76022 8.57094 2.3192 8.61028 2.05229 8.8991L0.204532 10.8985C-0.0849358 11.2117 -0.0646824 11.702 0.249624 11.9901L19.5802 29.7056C20.455 29.8704 20.9289 29.2478 21.0018 28.8266V22.3708Z"}),F("defs",{children:[F("linearGradient",{id:"paint0_linear_87_8101",x1:"23.79",y1:"2",x2:"23.79",y2:"30",gradientUnits:"userSpaceOnUse",children:[d("stop",{"stop-color":"#32B5F1"}),d("stop",{offset:"1","stop-color":"#2B9FED"})]}),F("linearGradient",{id:"paint1_linear_87_8101",x1:"21.0018",y1:"5.53398",x2:"1.0217",y2:"22.3051",gradientUnits:"userSpaceOnUse",children:[d("stop",{"stop-color":"#0F6FB3"}),d("stop",{offset:"0.270551","stop-color":"#1279B7"}),d("stop",{offset:"0.421376","stop-color":"#1176B5"}),d("stop",{offset:"0.618197","stop-color":"#0E69AC"}),d("stop",{offset:"0.855344","stop-color":"#0F70AF"}),d("stop",{offset:"1","stop-color":"#0F6DAD"})]}),F("linearGradient",{id:"paint2_linear_87_8101",x1:"1.15522",y1:"9.98389",x2:"21.0791",y2:"26.4808",gradientUnits:"userSpaceOnUse",children:[d("stop",{"stop-color":"#1791D2"}),d("stop",{offset:"1","stop-color":"#1173C5"})]})]})]})}function gw(){return d("svg",{xmlns:"http://www.w3.org/2000/svg",height:"40",viewBox:"0 -960 960 960",width:"40",fill:"currentColor",children:d("path",{d:"M480-480Zm80 240q100 0 170-70t70-170q0-101-73.5-170.5T550-720q-48 0-93 11t-87 33l100 40q41 17 65.5 52.5T560-504q0 60-41.5 102T418-360H162q-2 24-2 54.5v65.5h400ZM176-440h240q27 0 45.5-18.5T480-504q0-19-10.5-34.5T440-562l-148-60q-42 37-71.5 84T176-440Zm384 280H160q-33 0-56.5-23.5T80-240v-90q0-98 37-183.5t100.5-149Q281-726 367-763t183-37q68 0 128 25t105 68.5Q828-663 854-605t26 125q0 66-25 124.5t-68.5 102Q743-210 684.5-185T560-160Z"})})}function ww(){return d("svg",{xmlns:"http://www.w3.org/2000/svg",height:"40",viewBox:"0 -960 960 960",width:"40",fill:"currentColor",children:d("path",{d:"M320-240h320v-80H320v80Zm0-160h320v-80H320v80ZM240-80q-33 0-56.5-23.5T160-160v-640q0-33 23.5-56.5T240-880h320l240 240v480q0 33-23.5 56.5T720-80H240Zm280-520v-200H240v640h480v-440H520ZM240-800v200-200 640-640Z"})})}function Sw(){return F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 35 35",width:"40",height:"40",preserveAspectRatio:"xMidYMid meet",fill:"currentColor",children:[F("defs",{children:[d("clipPath",{id:"__lottie_element_23",children:d("rect",{width:"35",height:"35",x:"0",y:"0"})}),d("mask",{id:"__lottie_element_38",children:d("path",{"clip-rule":"nonzero",d:"M0,0 h35 v35 h-35 v-35 M29.062000274658203,-3 C29.062000274658203,-3 14.753000259399414,-3 14.753000259399414,-3 C14.753000259399414,-3 14.753000259399414,29.816999435424805 14.753000259399414,29.816999435424805 C14.753000259399414,29.816999435424805 29.062000274658203,29.816999435424805 29.062000274658203,29.816999435424805 C29.062000274658203,29.816999435424805 29.062000274658203,-3 29.062000274658203,-3","fill-opacity":"1"})})]}),F("g",{"clip-path":"url(#__lottie_element_23)",children:[d("g",{mask:"url(#__lottie_element_38)",transform:"matrix(1,0,0,1,1.25,5.75)",opacity:"1",children:d("g",{opacity:"1",transform:"matrix(1,0,0,1,12,11.75)",children:d("path",{"fill-opacity":"1",d:" M-11.75,11.5 C-11.75,11.5 2.75,-11.5 2.75,-11.5 C2.75,-11.5 11.75,-11.5 11.75,-11.5 C11.75,-11.5 11.75,-8.300000190734863 11.75,-8.300000190734863 C11.75,-8.300000190734863 -0.75,11.5 -0.75,11.5"})})}),d("g",{transform:"matrix(1,0,0,1,15.75,5.75)",opacity:"1",children:d("g",{opacity:"1",transform:"matrix(1,0,0,1,4.75,11.75)",children:d("path",{"fill-opacity":"1",d:" M4.5,11.5 C4.5,11.5 -4.5,11.5 -4.5,11.5 C-4.5,11.5 -4.5,-11.5 -4.5,-11.5 C-4.5,-11.5 4.5,-11.5 4.5,-11.5 C4.5,-11.5 4.5,11.5 4.5,11.5z"})})}),d("g",{transform:"matrix(1,0,0,1,24.75,15.75)",opacity:"1",children:d("g",{opacity:"1",transform:"matrix(1,0,0,1,3.5,6.75)",children:d("path",{"fill-opacity":"1",d:" M3.25,0 C3.25,3.5899999141693115 0.3400000035762787,6.5 -3.25,6.5 C-3.25,6.5 -3.25,-6.5 -3.25,-6.5 C0.3400000035762787,-6.5 3.25,-3.5899999141693115 3.25,0z"})})}),d("g",{transform:"matrix(1,0,0,1,18.25,15.75)",opacity:"1",children:d("g",{opacity:"1",transform:"matrix(1,0,0,1,3.5,6.75)",children:d("path",{"fill-opacity":"1",d:" M3.25,6.5 C-0.3400000035762787,6.5 -3.25,3.5899999141693115 -3.25,0 C-3.25,-3.5899999141693115 -0.3400000035762787,-6.5 3.25,-6.5 C3.25,-6.5 3.25,6.5 3.25,6.5z"})})}),d("g",{transform:"matrix(0.9999958872795105,0,0,0.9999958872795105,24.75,5.750020980834961)",opacity:"1",children:d("g",{opacity:"1",transform:"matrix(1,0,0,1,2.75,5.25)",children:d("path",{"fill-opacity":"1",d:" M2.5,0 C2.5,2.760999917984009 0.2619999945163727,5 -2.5,5 C-2.5,5 -2.5,-5 -2.5,-5 C0.2619999945163727,-5 2.5,-2.760999917984009 2.5,0z"})})}),d("g",{transform:"matrix(0.9999958872795105,0,0,0.9999958872795105,19.75002098083496,5.750020980834961)",opacity:"1",children:d("g",{opacity:"1",transform:"matrix(1,0,0,1,2.75,5.25)",children:d("path",{"fill-opacity":"1",d:" M2.5,5 C-0.2619999945163727,5 -2.5,2.760999917984009 -2.5,0 C-2.5,-2.760999917984009 -0.2619999945163727,-5 2.5,-5 C2.5,-5 2.5,5 2.5,5z"})})}),d("g",{transform:"matrix(1,0,0,1,1.75,5.75)",opacity:"0.9999999999999999",children:d("g",{opacity:"1",transform:"matrix(1,0,0,1,4.75,4.75)",children:d("path",{"fill-opacity":"1",d:" M-4.5,0 C-4.5,-2.484999895095825 -2.484999895095825,-4.5 0,-4.5 C2.484999895095825,-4.5 4.5,-2.484999895095825 4.5,0 C4.5,2.484999895095825 2.484999895095825,4.5 0,4.5 C-2.484999895095825,4.5 -4.5,2.484999895095825 -4.5,0z"})})})]})]})}function xw(){return d("svg",{height:"40",viewBox:"0 0 24 24",version:"1.1",width:"40","data-view-component":"true",fill:"currentColor",children:d("path",{d:"M12.5.75C6.146.75 1 5.896 1 12.25c0 5.089 3.292 9.387 7.863 10.91.575.101.79-.244.79-.546 0-.273-.014-1.178-.014-2.142-2.889.532-3.636-.704-3.866-1.35-.13-.331-.69-1.352-1.18-1.625-.402-.216-.977-.748-.014-.762.906-.014 1.553.834 1.769 1.179 1.035 1.74 2.688 1.25 3.349.948.1-.747.402-1.25.733-1.538-2.559-.287-5.232-1.279-5.232-5.678 0-1.25.445-2.285 1.178-3.09-.115-.288-.517-1.467.115-3.048 0 0 .963-.302 3.163 1.179.92-.259 1.897-.388 2.875-.388.977 0 1.955.13 2.875.388 2.2-1.495 3.162-1.179 3.162-1.179.633 1.581.23 2.76.115 3.048.733.805 1.179 1.825 1.179 3.09 0 4.413-2.688 5.39-5.247 5.678.417.36.776 1.05.776 2.128 0 1.538-.014 2.774-.014 3.162 0 .302.216.662.79.547C20.709 21.637 24 17.324 24 12.25 24 5.896 18.854.75 12.5.75Z"})})}function Ew(){return F("svg",{xmlns:"http://www.w3.org/2000/svg",width:"53.34",height:"40",viewBox:"0 0 256 192",children:[d("path",{fill:"currentColor",d:"M84.38 108.352c-9.556 2.712-15.826 7.467-19.956 12.218c3.956-3.461 9.255-6.639 16.402-8.665c7.311-2.072 13.548-2.057 18.702-1.062v-4.03c-4.397-.402-9.437-.082-15.148 1.539M63.987 74.475l-35.49 9.35s.646.914 1.844 2.133l30.092-7.93s-.427 5.495-4.13 10.41c7.005-5.299 7.684-13.963 7.684-13.963m29.709 83.41c-49.946 13.452-76.37-44.43-84.37-74.472c-3.696-13.868-5.31-24.37-5.74-31.148a11.5 11.5 0 0 1 .025-1.84C1.021 50.58-.22 51.927.032 55.82c.43 6.773 2.044 17.275 5.74 31.147c7.997 30.038 34.424 87.92 84.37 74.468c10.871-2.929 19.038-8.263 25.17-15.073c-5.652 5.104-12.724 9.123-21.616 11.523M103.08 39.05v3.555h19.59c-.401-1.259-.806-2.393-1.208-3.555z"}),d("path",{fill:"currentColor",d:"M127.05 68.325c8.81 2.503 13.47 8.68 15.933 14.146l9.824 2.79s-1.34-19.132-18.645-24.047c-16.189-4.6-26.151 8.995-27.363 10.754c4.71-3.355 11.586-6.102 20.251-3.643m78.197 14.234c-16.204-4.62-26.162 9.003-27.356 10.737c4.713-3.351 11.586-6.099 20.247-3.629c8.797 2.506 13.452 8.676 15.923 14.146l9.837 2.8s-1.361-19.135-18.651-24.054m-9.76 50.443l-81.718-22.845s.885 4.485 4.279 10.293l68.803 19.234c5.664-3.277 8.636-6.682 8.636-6.682m-56.655 49.174C74.127 164.828 81.949 82.386 92.419 43.32c4.311-16.1 8.743-28.066 12.419-36.088c-2.193-.451-4.01.704-5.804 4.354C95.13 19.5 90.14 32.387 85.312 50.427c-10.467 39.066-18.29 121.506 46.412 138.854c30.497 8.17 54.256-4.247 71.966-23.749c-16.81 15.226-38.274 23.763-64.858 16.644"}),d("path",{fill:"currentColor",d:"M103.081 138.565v-16.637l-46.223 13.108s3.415-19.846 27.522-26.684c7.311-2.072 13.549-2.058 18.701-1.063V39.05h23.145c-2.52-7.787-4.958-13.782-7.006-17.948c-3.387-6.895-6.859-2.324-14.741 4.269c-5.552 4.638-19.583 14.533-40.698 20.222c-21.114 5.694-38.185 4.184-45.307 2.95c-10.097-1.742-15.378-3.96-14.884 3.721c.43 6.774 2.043 17.277 5.74 31.148c7.996 30.039 34.424 87.92 84.37 74.468c13.046-3.515 22.254-10.464 28.637-19.32h-19.256zm-74.588-54.74l35.494-9.35s-1.034 13.654-14.34 17.162c-13.31 3.504-21.154-7.812-21.154-7.812"}),d("path",{fill:"currentColor",d:"M236.664 39.84c-9.226 1.617-31.361 3.632-58.716-3.7c-27.363-7.328-45.517-20.144-52.71-26.168c-10.197-8.54-14.682-14.476-19.096-5.498c-3.902 7.918-8.893 20.805-13.723 38.846c-10.466 39.066-18.289 121.505 46.413 138.853c64.687 17.333 99.126-57.978 109.593-97.047c4.83-18.037 6.948-31.695 7.53-40.502c.665-9.976-6.187-7.08-19.29-4.784M106.668 72.161s10.196-15.859 27.49-10.943c17.305 4.915 18.645 24.046 18.645 24.046zm42.215 71.163c-30.419-8.91-35.11-33.167-35.11-33.167l81.714 22.846c0-.004-16.494 19.12-46.604 10.32m28.89-49.85s10.183-15.847 27.474-10.918c17.29 4.923 18.651 24.054 18.651 24.054z"}),d("path",{fill:"currentColor",d:"m86.928 126.51l-30.07 8.522s3.266-18.609 25.418-25.983L65.25 45.147l-1.471.447c-21.115 5.694-38.185 4.184-45.307 2.95c-10.097-1.741-15.379-3.96-14.885 3.722c.43 6.774 2.044 17.276 5.74 31.147c7.997 30.039 34.425 87.92 84.37 74.468l1.471-.462zM28.493 83.825l35.494-9.351s-1.034 13.654-14.34 17.162c-13.31 3.504-21.154-7.811-21.154-7.811"}),d("path",{fill:"currentColor",d:"m150.255 143.658l-1.376-.335c-30.419-8.91-35.11-33.166-35.11-33.166l42.137 11.778l22.308-85.724l-.27-.07c-27.362-7.329-45.516-20.145-52.71-26.17c-10.196-8.54-14.682-14.475-19.096-5.497c-3.898 7.918-8.889 20.805-13.719 38.846c-10.466 39.066-18.289 121.505 46.413 138.852l1.326.3zM106.668 72.16s10.196-15.859 27.49-10.943c17.305 4.915 18.645 24.046 18.645 24.046z"}),d("path",{fill:"currentColor",d:"m88.46 126.072l-8.064 2.289c1.906 10.74 5.264 21.047 10.534 30.152c.918-.202 1.828-.376 2.762-.632c2.449-.66 4.72-1.479 6.906-2.371c-5.89-8.74-9.785-18.804-12.137-29.438m-3.148-75.644c-4.144 15.467-7.852 37.73-6.831 60.06c1.826-.793 3.756-1.532 5.9-2.14l1.492-.334c-1.82-23.852 2.114-48.157 6.546-64.694a323 323 0 0 1 3.373-11.704a105 105 0 0 1-5.974 3.547a307 307 0 0 0-4.506 15.265"})]})}function Cw(){return d("svg",{xmlns:"http://www.w3.org/2000/svg",height:"40",viewBox:"0 -960 960 960",width:"40",fill:"currentColor",children:d("path",{d:"M480-80q-82 0-155-31.5t-127.5-86Q143-252 111.5-325T80-480q0-83 32.5-156t88-127Q256-817 330-848.5T488-880q80 0 151 27.5t124.5 76q53.5 48.5 85 115T880-518q0 115-70 176.5T640-280h-74q-9 0-12.5 5t-3.5 11q0 12 15 34.5t15 51.5q0 50-27.5 74T480-80Zm0-400Zm-220 40q26 0 43-17t17-43q0-26-17-43t-43-17q-26 0-43 17t-17 43q0 26 17 43t43 17Zm120-160q26 0 43-17t17-43q0-26-17-43t-43-17q-26 0-43 17t-17 43q0 26 17 43t43 17Zm200 0q26 0 43-17t17-43q0-26-17-43t-43-17q-26 0-43 17t-17 43q0 26 17 43t43 17Zm120 160q26 0 43-17t17-43q0-26-17-43t-43-17q-26 0-43 17t-17 43q0 26 17 43t43 17ZM480-160q9 0 14.5-5t5.5-13q0-14-15-33t-15-57q0-42 29-67t71-25h70q66 0 113-38.5T800-518q0-121-92.5-201.5T488-800q-136 0-232 93t-96 227q0 133 93.5 226.5T480-160Z"})})}function Tw(){return d("svg",{fill:"currentColor",width:"40",height:"40",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",children:d("path",{d:"M29.667 15.76c0-1.885-1.276-3.536-3.104-4.015l3.984-11.745h-19.74l3.996 11.787c-1.772 0.516-2.991 2.135-2.996 3.979 0 1.391 0.693 2.625 1.751 3.385-0.421 0.599-0.907 1.152-1.443 1.656-0.984 0.939-2.141 1.683-3.401 2.199-1.115-0.751-1.593-2.079-1.161-3.26 4.531-1.412 3.531-8.089-1.208-8.109-2.292 0.004-4.151 1.859-4.151 4.151 0 1.131 0.457 2.167 1.203 2.911-0.068 0.125-0.131 0.261-0.199 0.396-0.619 1.281-1.323 2.724-1.593 4.344-0.536 3.245 0.344 5.849 2.469 7.323 1.145 0.808 2.52 1.245 3.927 1.24 2.432 0 4.907-1.224 7.297-2.412 1.708-0.839 3.468-1.719 5.197-2.145 0.641-0.156 1.308-0.249 2.011-0.355 1.427-0.203 2.901-0.416 4.224-1.187 1.531-0.875 2.599-2.385 2.911-4.12 0.229-1.323 0-2.656-0.593-3.828 0.401-0.641 0.62-1.385 0.62-2.193zM27.86 15.76c0 1.287-1.048 2.333-2.333 2.333-2.209-0.005-3.177-2.791-1.444-4.167l0.005-0.009c0.079-0.057 0.163-0.115 0.24-0.168 0 0 0.016 0 0.016-0.009 0.036-0.021 0.072-0.047 0.109-0.068 0.011 0 0.016-0.005 0.025-0.005 0.037-0.021 0.084-0.036 0.131-0.057s0.093-0.036 0.131-0.057c0.009 0 0.015-0.005 0.025-0.005 0.037-0.011 0.079-0.031 0.115-0.036 0.005 0 0.027-0.011 0.037-0.011 0.047-0.011 0.083-0.021 0.129-0.027h0.005l0.141-0.031c0.009 0 0.025 0 0.036-0.011 0.036 0 0.073-0.011 0.115-0.011h0.041c0.047 0 0.093-0.005 0.151-0.005h0.12c0.037 0 0.068 0 0.104 0.005h0.016c0.073 0.011 0.151 0.021 0.224 0.043 1.083 0.229 1.86 1.187 1.86 2.296zM13.391 1.855h14.573l-3.344 9.864c-0.141 0.027-0.276 0.073-0.417 0.12l-3.52-7.177-3.532 7.131c-0.135-0.043-0.287-0.073-0.437-0.099zM20.016 14.953c-0.172-0.855-0.609-1.636-1.251-2.224l1.917-3.869 1.937 3.952c-0.579 0.573-0.995 1.308-1.161 2.141zM15.375 13.489c0.041-0.011 0.084-0.020 0.131-0.025h0.025c0.037-0.011 0.073-0.011 0.109-0.021h0.037c0.036 0 0.068-0.011 0.104-0.011h0.359c0.037 0 0.068 0.011 0.095 0.011 0.020 0 0.025 0 0.047 0.011 0.036 0.011 0.063 0.011 0.099 0.016 0.011 0 0.021 0 0.041 0.009l0.125 0.027h0.011c0.036 0.011 0.079 0.021 0.115 0.041 0.005 0 0.016 0.005 0.036 0.005 0.027 0.011 0.063 0.021 0.095 0.036 0.004 0 0.015 0.011 0.025 0.011 0.036 0.021 0.073 0.032 0.109 0.047h0.011c0.041 0.016 0.083 0.037 0.12 0.068h0.011c0.036 0.016 0.072 0.041 0.109 0.063 0.009 0 0.009 0.011 0.020 0.011 0.037 0.016 0.063 0.047 0.099 0.063l0.011 0.011c0.109 0.083 0.213 0.176 0.319 0.271l0.004 0.005c0.417 0.437 0.647 1.015 0.641 1.613-0.099 3.011-4.568 3.011-4.667 0-0.005-1.067 0.724-2 1.76-2.26zM6.255 13.421c1.287 0 2.333 1.052 2.333 2.339s-1.047 2.333-2.333 2.333c-1.285 0-2.333-1.047-2.333-2.333s1.048-2.339 2.333-2.339zM27.807 21.459c-0.213 1.197-0.952 2.239-2.009 2.844-1.011 0.583-2.256 0.771-3.557 0.952-0.735 0.095-1.469 0.224-2.188 0.391-1.927 0.475-3.781 1.396-5.579 2.287-2.296 1.141-4.463 2.213-6.473 2.213-1.031 0.005-2.036-0.312-2.875-0.916-2.037-1.407-1.937-4.047-1.693-5.495 0.219-1.355 0.839-2.62 1.432-3.833 0.043-0.073 0.068-0.141 0.105-0.213 0.203 0.072 0.416 0.129 0.64 0.167-0.355 1.963 0.645 3.995 2.593 4.995l0.349 0.181 0.38-0.135c1.62-0.579 3.125-1.511 4.448-2.76 0.735-0.683 1.38-1.453 1.927-2.292 0.215 0.036 0.428 0.047 0.641 0.047 1.885-0.005 3.531-1.276 4.011-3.104h1.557c0.473 1.828 2.124 3.104 4.011 3.104 0.771 0 1.484-0.213 2.093-0.573 0.24 0.693 0.317 1.417 0.187 2.141z"})})}const kw=V` + ${ml} + ${ks} +`,Pw=V` + display: flex; + gap: 24px; + flex-wrap: wrap; + margin-block-start: 40px; + justify-content: center; +`,Rw=V` + width: 120px; + height: 120px; + box-shadow: 1px 1px 4px var(--fg-color); + display: flex; + justify-content: end; + align-items: center; + border: 1px solid grey; + border-radius: 10px; + cursor: pointer; + flex-direction: column; + color: unset; + ${zf} + + &:hover, + &:focus { + box-shadow: 1px 1px 1px var(--hover-color); + } +`;function it({children:e,href:t}){return d("a",{css:Rw,href:t,target:"_blank",children:e})}function _w(){const{ref:e}=vl();return F("div",{css:kw,ref:e,children:[F(el,{children:[d("meta",{name:"description",content:`A collection of technologies used in the process of making this + website and in my day to day work.`}),d("title",{children:"Tech - Joseph D. Phelan"})]}),d("h1",{children:"Technology"}),d("p",{children:"A collection of technologies used in the process of making this website and in my day to day work."}),d("p",{children:"My preferred stack includes working in typescript and react with some sort of css-in-js library (in my case I am using emotion). I use git and github for version control and code reviews. Eslint and prettier are used for code formatting. Vite was used to generate the skeleton of this project."}),d("p",{children:"My preferred code editor is visual studio code, but I've also used some jetbrains editors in the past. I use vercel to host my website. I like to use Playwright for e2e testing and jest for js unit testing."}),F("div",{css:Pw,children:[F(it,{href:"https://react.dev/",children:[d(cw,{}),d("p",{children:"React"})]}),F(it,{href:"https://www.typescriptlang.org/",children:[d(fw,{}),d("p",{children:"Typescript"})]}),F(it,{href:"https://git-scm.com/",children:[d(dw,{}),d("p",{children:"Git"})]}),F(it,{href:"https://github.com/",children:[d(xw,{}),d("p",{children:"Github"})]}),F(it,{href:"https://eslint.org/",children:[d(hw,{}),d("p",{children:"Eslint"})]}),F(it,{href:"https://prettier.io/",children:[d(pw,{}),d("p",{children:"Prettier"})]}),F(it,{href:"https://vite.dev/",children:[d(mw,{}),d("p",{children:"Vite"})]}),F(it,{href:"https://vercel.com",children:[d(vw,{}),d("p",{children:"Vercel"})]}),F(it,{href:"https://code.visualstudio.com/",children:[d(yw,{}),d("p",{children:"VS code"})]}),F(it,{href:"https://playwright.dev",children:[d(Ew,{}),d("p",{children:"Playwright"})]}),F(it,{href:"https://jestjs.io/",children:[d(Tw,{}),d("p",{children:"Jest"})]}),F(it,{href:"https://emotion.sh",children:[d(Cw,{}),d("p",{children:"Emotion"})]}),F(it,{href:"https://fonts.google.com/icons",children:[d(Sw,{}),d("p",{children:"Material icons"})]}),F(it,{href:"https://github.com/nfl/react-helmet",children:[d(gw,{}),d("p",{children:"React-helmet"})]}),F(it,{href:"https://github.com/tschaub/gh-pages",children:[d(ww,{}),d("p",{children:"Gh-pages"})]})]})]})}function Ow(){return d("svg",{xmlns:"http://www.w3.org/2000/svg",height:"40px",viewBox:"0 -960 960 960",width:"40px",fill:"currentColor",children:d("path",{d:"M480-280q17 0 28.5-11.5T520-320q0-17-11.5-28.5T480-360q-17 0-28.5 11.5T440-320q0 17 11.5 28.5T480-280Zm-40-160h80v-240h-80v240Zm40 360q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z"})})}const Lw=V` + ${ml} +`,Mw=V` + display: flex; + align-items: center; + gap: 8px; +`;function Nw(){const{ref:e}=vl();return F("div",{css:Lw,ref:e,children:[F("h1",{css:Mw,children:[d(Ow,{}),"Path not found"]}),"Looks like the path you are trying to reach does not exist. Run back"," ",d(di,{to:"/",children:"Home"}),"!"]})}const Dw=V` + display: flex; + gap: 4px; + flex-direction: column; + + select { + width: fit-content; + } +`;function Aw({label:e,options:t,hideLabel:n=!1,...r}){return F("span",{css:Dw,children:[n?null:d("label",{htmlFor:e,children:e}),d("select",{...r,id:e,"aria-label":e,title:e,children:t.map(i=>d("option",{value:i.value,children:i.label},i.value))})]})}const Iw="https://api.spaceflightnewsapi.net/v4";async function Fw({limit:e,offset:t,search:n}){const r=new URLSearchParams;return r.append("limit",e.toString()),r.append("offset",t.toString()),r.append("search",n),await(await fetch(`${Iw}/articles?${r.toString()}`)).json()}var yl=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Br=typeof window>"u"||"Deno"in globalThis;function It(){}function bw(e,t){return typeof e=="function"?e(t):e}function fc(e){return typeof e=="number"&&e>=0&&e!==1/0}function Tm(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Ei(e,t){return typeof e=="function"?e(t):e}function Yt(e,t){return typeof e=="function"?e(t):e}function Xh(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:o,queryKey:l,stale:a}=e;if(l){if(r){if(t.queryHash!==jf(l,t.options))return!1}else if(!rl(t.queryKey,l))return!1}if(n!=="all"){const s=t.isActive();if(n==="active"&&!s||n==="inactive"&&s)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||i&&i!==t.state.fetchStatus||o&&!o(t))}function Zh(e,t){const{exact:n,status:r,predicate:i,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(n){if(nl(t.options.mutationKey)!==nl(o))return!1}else if(!rl(t.options.mutationKey,o))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function jf(e,t){return((t==null?void 0:t.queryKeyHashFn)||nl)(e)}function nl(e){return JSON.stringify(e,(t,n)=>hc(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function rl(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!rl(e[n],t[n])):!1}function km(e,t){if(e===t)return e;const n=Jh(e)&&Jh(t);if(n||hc(e)&&hc(t)){const r=n?e:Object.keys(e),i=r.length,o=n?t:Object.keys(t),l=o.length,a=n?[]:{};let s=0;for(let u=0;u{setTimeout(t,e)})}function pc(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?km(e,t):t}function jw(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function Uw(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Uf=Symbol();function Pm(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Uf?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Rr,Wn,Ci,lp,$w=(lp=class extends yl{constructor(){super();K(this,Rr);K(this,Wn);K(this,Ci);U(this,Ci,t=>{if(!Br&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){E(this,Wn)||this.setEventListener(E(this,Ci))}onUnsubscribe(){var t;this.hasListeners()||((t=E(this,Wn))==null||t.call(this),U(this,Wn,void 0))}setEventListener(t){var n;U(this,Ci,t),(n=E(this,Wn))==null||n.call(this),U(this,Wn,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){E(this,Rr)!==t&&(U(this,Rr,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof E(this,Rr)=="boolean"?E(this,Rr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Rr=new WeakMap,Wn=new WeakMap,Ci=new WeakMap,lp),$f=new $w,Ti,qn,ki,ap,Hw=(ap=class extends yl{constructor(){super();K(this,Ti,!0);K(this,qn);K(this,ki);U(this,ki,t=>{if(!Br&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){E(this,qn)||this.setEventListener(E(this,ki))}onUnsubscribe(){var t;this.hasListeners()||((t=E(this,qn))==null||t.call(this),U(this,qn,void 0))}setEventListener(t){var n;U(this,ki,t),(n=E(this,qn))==null||n.call(this),U(this,qn,t(this.setOnline.bind(this)))}setOnline(t){E(this,Ti)!==t&&(U(this,Ti,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return E(this,Ti)}},Ti=new WeakMap,qn=new WeakMap,ki=new WeakMap,ap),Wa=new Hw;function mc(){let e,t;const n=new Promise((i,o)=>{e=i,t=o});n.status="pending",n.catch(()=>{});function r(i){Object.assign(n,i),delete n.resolve,delete n.reject}return n.resolve=i=>{r({status:"fulfilled",value:i}),e(i)},n.reject=i=>{r({status:"rejected",reason:i}),t(i)},n}function Bw(e){return Math.min(1e3*2**e,3e4)}function Rm(e){return(e??"online")==="online"?Wa.isOnline():!0}var _m=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function su(e){return e instanceof _m}function Om(e){let t=!1,n=0,r=!1,i;const o=mc(),l=y=>{var k;r||(p(new _m(y)),(k=e.abort)==null||k.call(e))},a=()=>{t=!0},s=()=>{t=!1},u=()=>$f.isFocused()&&(e.networkMode==="always"||Wa.isOnline())&&e.canRun(),f=()=>Rm(e.networkMode)&&e.canRun(),c=y=>{var k;r||(r=!0,(k=e.onSuccess)==null||k.call(e,y),i==null||i(),o.resolve(y))},p=y=>{var k;r||(r=!0,(k=e.onError)==null||k.call(e,y),i==null||i(),o.reject(y))},g=()=>new Promise(y=>{var k;i=m=>{(r||u())&&y(m)},(k=e.onPause)==null||k.call(e)}).then(()=>{var y;i=void 0,r||(y=e.onContinue)==null||y.call(e)}),x=()=>{if(r)return;let y;const k=n===0?e.initialPromise:void 0;try{y=k??e.fn()}catch(m){y=Promise.reject(m)}Promise.resolve(y).then(c).catch(m=>{var M;if(r)return;const h=e.retry??(Br?0:3),v=e.retryDelay??Bw,T=typeof v=="function"?v(n,m):v,_=h===!0||typeof h=="number"&&nu()?void 0:g()).then(()=>{t?p(m):x()})})};return{promise:o,cancel:l,continue:()=>(i==null||i(),o),cancelRetry:a,continueRetry:s,canStart:f,start:()=>(f()?x():g().then(x),o)}}function Vw(){let e=[],t=0,n=a=>{a()},r=a=>{a()},i=a=>setTimeout(a,0);const o=a=>{t?e.push(a):i(()=>{n(a)})},l=()=>{const a=e;e=[],a.length&&i(()=>{r(()=>{a.forEach(s=>{n(s)})})})};return{batch:a=>{let s;t++;try{s=a()}finally{t--,t||l()}return s},batchCalls:a=>(...s)=>{o(()=>{a(...s)})},schedule:o,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{i=a}}}var qe=Vw(),_r,sp,Lm=(sp=class{constructor(){K(this,_r)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),fc(this.gcTime)&&U(this,_r,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Br?1/0:5*60*1e3))}clearGcTimeout(){E(this,_r)&&(clearTimeout(E(this,_r)),U(this,_r,void 0))}},_r=new WeakMap,sp),Pi,Ri,At,Je,il,Or,Wt,En,up,Qw=(up=class extends Lm{constructor(t){super();K(this,Wt);K(this,Pi);K(this,Ri);K(this,At);K(this,Je);K(this,il);K(this,Or);U(this,Or,!1),U(this,il,t.defaultOptions),this.setOptions(t.options),this.observers=[],U(this,At,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,U(this,Pi,Ww(this.options)),this.state=t.state??E(this,Pi),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=E(this,Je))==null?void 0:t.promise}setOptions(t){this.options={...E(this,il),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&E(this,At).remove(this)}setData(t,n){const r=pc(this.state.data,t,this.options);return te(this,Wt,En).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){te(this,Wt,En).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,i;const n=(r=E(this,Je))==null?void 0:r.promise;return(i=E(this,Je))==null||i.cancel(t),n?n.then(It).catch(It):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(E(this,Pi))}isActive(){return this.observers.some(t=>Yt(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Uf||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!Tm(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=E(this,Je))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=E(this,Je))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),E(this,At).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(E(this,Je)&&(E(this,Or)?E(this,Je).cancel({revert:!0}):E(this,Je).cancelRetry()),this.scheduleGc()),E(this,At).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||te(this,Wt,En).call(this,{type:"invalidate"})}fetch(t,n){var s,u,f;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(E(this,Je))return E(this,Je).continueRetry(),E(this,Je).promise}if(t&&this.setOptions(t),!this.options.queryFn){const c=this.observers.find(p=>p.options.queryFn);c&&this.setOptions(c.options)}const r=new AbortController,i=c=>{Object.defineProperty(c,"signal",{enumerable:!0,get:()=>(U(this,Or,!0),r.signal)})},o=()=>{const c=Pm(this.options,n),p={queryKey:this.queryKey,meta:this.meta};return i(p),U(this,Or,!1),this.options.persister?this.options.persister(c,p,this):c(p)},l={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:o};i(l),(s=this.options.behavior)==null||s.onFetch(l,this),U(this,Ri,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((u=l.fetchOptions)==null?void 0:u.meta))&&te(this,Wt,En).call(this,{type:"fetch",meta:(f=l.fetchOptions)==null?void 0:f.meta});const a=c=>{var p,g,x,y;su(c)&&c.silent||te(this,Wt,En).call(this,{type:"error",error:c}),su(c)||((g=(p=E(this,At).config).onError)==null||g.call(p,c,this),(y=(x=E(this,At).config).onSettled)==null||y.call(x,this.state.data,c,this)),this.scheduleGc()};return U(this,Je,Om({initialPromise:n==null?void 0:n.initialPromise,fn:l.fetchFn,abort:r.abort.bind(r),onSuccess:c=>{var p,g,x,y;if(c===void 0){a(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(c)}catch(k){a(k);return}(g=(p=E(this,At).config).onSuccess)==null||g.call(p,c,this),(y=(x=E(this,At).config).onSettled)==null||y.call(x,c,this.state.error,this),this.scheduleGc()},onError:a,onFail:(c,p)=>{te(this,Wt,En).call(this,{type:"failed",failureCount:c,error:p})},onPause:()=>{te(this,Wt,En).call(this,{type:"pause"})},onContinue:()=>{te(this,Wt,En).call(this,{type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0})),E(this,Je).start()}},Pi=new WeakMap,Ri=new WeakMap,At=new WeakMap,Je=new WeakMap,il=new WeakMap,Or=new WeakMap,Wt=new WeakSet,En=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...Mm(r.data,this.options),fetchMeta:t.meta??null};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const i=t.error;return su(i)&&i.revert&&E(this,Ri)?{...E(this,Ri),fetchStatus:"idle"}:{...r,error:i,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),qe.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),E(this,At).notify({query:this,type:"updated",action:t})})},up);function Mm(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Rm(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function Ww(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var on,cp,qw=(cp=class extends yl{constructor(t={}){super();K(this,on);this.config=t,U(this,on,new Map)}build(t,n,r){const i=n.queryKey,o=n.queryHash??jf(i,n);let l=this.get(o);return l||(l=new Qw({cache:this,queryKey:i,queryHash:o,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(i)}),this.add(l)),l}add(t){E(this,on).has(t.queryHash)||(E(this,on).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=E(this,on).get(t.queryHash);n&&(t.destroy(),n===t&&E(this,on).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){qe.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return E(this,on).get(t)}getAll(){return[...E(this,on).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Xh(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Xh(t,r)):n}notify(t){qe.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){qe.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){qe.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},on=new WeakMap,cp),ln,ot,Lr,an,$n,fp,Kw=(fp=class extends Lm{constructor(t){super();K(this,an);K(this,ln);K(this,ot);K(this,Lr);this.mutationId=t.mutationId,U(this,ot,t.mutationCache),U(this,ln,[]),this.state=t.state||Gw(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){E(this,ln).includes(t)||(E(this,ln).push(t),this.clearGcTimeout(),E(this,ot).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){U(this,ln,E(this,ln).filter(n=>n!==t)),this.scheduleGc(),E(this,ot).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){E(this,ln).length||(this.state.status==="pending"?this.scheduleGc():E(this,ot).remove(this))}continue(){var t;return((t=E(this,Lr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,o,l,a,s,u,f,c,p,g,x,y,k,m,h,v,T,_,M,O;U(this,Lr,Om({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(w,D)=>{te(this,an,$n).call(this,{type:"failed",failureCount:w,error:D})},onPause:()=>{te(this,an,$n).call(this,{type:"pause"})},onContinue:()=>{te(this,an,$n).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>E(this,ot).canRun(this)}));const n=this.state.status==="pending",r=!E(this,Lr).canStart();try{if(!n){te(this,an,$n).call(this,{type:"pending",variables:t,isPaused:r}),await((o=(i=E(this,ot).config).onMutate)==null?void 0:o.call(i,t,this));const D=await((a=(l=this.options).onMutate)==null?void 0:a.call(l,t));D!==this.state.context&&te(this,an,$n).call(this,{type:"pending",context:D,variables:t,isPaused:r})}const w=await E(this,Lr).start();return await((u=(s=E(this,ot).config).onSuccess)==null?void 0:u.call(s,w,t,this.state.context,this)),await((c=(f=this.options).onSuccess)==null?void 0:c.call(f,w,t,this.state.context)),await((g=(p=E(this,ot).config).onSettled)==null?void 0:g.call(p,w,null,this.state.variables,this.state.context,this)),await((y=(x=this.options).onSettled)==null?void 0:y.call(x,w,null,t,this.state.context)),te(this,an,$n).call(this,{type:"success",data:w}),w}catch(w){try{throw await((m=(k=E(this,ot).config).onError)==null?void 0:m.call(k,w,t,this.state.context,this)),await((v=(h=this.options).onError)==null?void 0:v.call(h,w,t,this.state.context)),await((_=(T=E(this,ot).config).onSettled)==null?void 0:_.call(T,void 0,w,this.state.variables,this.state.context,this)),await((O=(M=this.options).onSettled)==null?void 0:O.call(M,void 0,w,t,this.state.context)),w}finally{te(this,an,$n).call(this,{type:"error",error:w})}}finally{E(this,ot).runNext(this)}}},ln=new WeakMap,ot=new WeakMap,Lr=new WeakMap,an=new WeakSet,$n=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),qe.batch(()=>{E(this,ln).forEach(r=>{r.onMutationUpdate(t)}),E(this,ot).notify({mutation:this,type:"updated",action:t})})},fp);function Gw(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Ct,ol,dp,Yw=(dp=class extends yl{constructor(t={}){super();K(this,Ct);K(this,ol);this.config=t,U(this,Ct,new Map),U(this,ol,Date.now())}build(t,n,r){const i=new Kw({mutationCache:this,mutationId:++_l(this,ol)._,options:t.defaultMutationOptions(n),state:r});return this.add(i),i}add(t){const n=Zl(t),r=E(this,Ct).get(n)??[];r.push(t),E(this,Ct).set(n,r),this.notify({type:"added",mutation:t})}remove(t){var r;const n=Zl(t);if(E(this,Ct).has(n)){const i=(r=E(this,Ct).get(n))==null?void 0:r.filter(o=>o!==t);i&&(i.length===0?E(this,Ct).delete(n):E(this,Ct).set(n,i))}this.notify({type:"removed",mutation:t})}canRun(t){var r;const n=(r=E(this,Ct).get(Zl(t)))==null?void 0:r.find(i=>i.state.status==="pending");return!n||n===t}runNext(t){var r;const n=(r=E(this,Ct).get(Zl(t)))==null?void 0:r.find(i=>i!==t&&i.state.isPaused);return(n==null?void 0:n.continue())??Promise.resolve()}clear(){qe.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}getAll(){return[...E(this,Ct).values()].flat()}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Zh(n,r))}findAll(t={}){return this.getAll().filter(n=>Zh(t,n))}notify(t){qe.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return qe.batch(()=>Promise.all(t.map(n=>n.continue().catch(It))))}},Ct=new WeakMap,ol=new WeakMap,dp);function Zl(e){var t;return((t=e.options.scope)==null?void 0:t.id)??String(e.mutationId)}function tp(e){return{onFetch:(t,n)=>{var f,c,p,g,x;const r=t.options,i=(p=(c=(f=t.fetchOptions)==null?void 0:f.meta)==null?void 0:c.fetchMore)==null?void 0:p.direction,o=((g=t.state.data)==null?void 0:g.pages)||[],l=((x=t.state.data)==null?void 0:x.pageParams)||[];let a={pages:[],pageParams:[]},s=0;const u=async()=>{let y=!1;const k=v=>{Object.defineProperty(v,"signal",{enumerable:!0,get:()=>(t.signal.aborted?y=!0:t.signal.addEventListener("abort",()=>{y=!0}),t.signal)})},m=Pm(t.options,t.fetchOptions),h=async(v,T,_)=>{if(y)return Promise.reject();if(T==null&&v.pages.length)return Promise.resolve(v);const M={queryKey:t.queryKey,pageParam:T,direction:_?"backward":"forward",meta:t.options.meta};k(M);const O=await m(M),{maxPages:w}=t.options,D=_?Uw:jw;return{pages:D(v.pages,O,w),pageParams:D(v.pageParams,T,w)}};if(i&&o.length){const v=i==="backward",T=v?Xw:np,_={pages:o,pageParams:l},M=T(r,_);a=await h(_,M,v)}else{const v=e??o.length;do{const T=s===0?l[0]??r.initialPageParam:np(r,a);if(s>0&&T==null)break;a=await h(a,T),s++}while(s{var y,k;return(k=(y=t.options).persister)==null?void 0:k.call(y,u,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function np(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function Xw(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var Le,Kn,Gn,_i,Oi,Yn,Li,Mi,hp,Zw=(hp=class{constructor(e={}){K(this,Le);K(this,Kn);K(this,Gn);K(this,_i);K(this,Oi);K(this,Yn);K(this,Li);K(this,Mi);U(this,Le,e.queryCache||new qw),U(this,Kn,e.mutationCache||new Yw),U(this,Gn,e.defaultOptions||{}),U(this,_i,new Map),U(this,Oi,new Map),U(this,Yn,0)}mount(){_l(this,Yn)._++,E(this,Yn)===1&&(U(this,Li,$f.subscribe(async e=>{e&&(await this.resumePausedMutations(),E(this,Le).onFocus())})),U(this,Mi,Wa.subscribe(async e=>{e&&(await this.resumePausedMutations(),E(this,Le).onOnline())})))}unmount(){var e,t;_l(this,Yn)._--,E(this,Yn)===0&&((e=E(this,Li))==null||e.call(this),U(this,Li,void 0),(t=E(this,Mi))==null||t.call(this),U(this,Mi,void 0))}isFetching(e){return E(this,Le).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return E(this,Kn).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=E(this,Le).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);if(t===void 0)return this.fetchQuery(e);{const n=this.defaultQueryOptions(e),r=E(this,Le).build(this,n);return e.revalidateIfStale&&r.isStaleByTime(Ei(n.staleTime,r))&&this.prefetchQuery(n),Promise.resolve(t)}}getQueriesData(e){return E(this,Le).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),i=E(this,Le).get(r.queryHash),o=i==null?void 0:i.state.data,l=bw(t,o);if(l!==void 0)return E(this,Le).build(this,r).setData(l,{...n,manual:!0})}setQueriesData(e,t,n){return qe.batch(()=>E(this,Le).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=E(this,Le).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=E(this,Le);qe.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=E(this,Le),r={type:"active",...e};return qe.batch(()=>(n.findAll(e).forEach(i=>{i.reset()}),this.refetchQueries(r,t)))}cancelQueries(e={},t={}){const n={revert:!0,...t},r=qe.batch(()=>E(this,Le).findAll(e).map(i=>i.cancel(n)));return Promise.all(r).then(It).catch(It)}invalidateQueries(e={},t={}){return qe.batch(()=>{if(E(this,Le).findAll(e).forEach(r=>{r.invalidate()}),e.refetchType==="none")return Promise.resolve();const n={...e,type:e.refetchType??e.type??"active"};return this.refetchQueries(n,t)})}refetchQueries(e={},t){const n={...t,cancelRefetch:(t==null?void 0:t.cancelRefetch)??!0},r=qe.batch(()=>E(this,Le).findAll(e).filter(i=>!i.isDisabled()).map(i=>{let o=i.fetch(void 0,n);return n.throwOnError||(o=o.catch(It)),i.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(r).then(It)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=E(this,Le).build(this,t);return n.isStaleByTime(Ei(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(It).catch(It)}fetchInfiniteQuery(e){return e.behavior=tp(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(It).catch(It)}ensureInfiniteQueryData(e){return e.behavior=tp(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Wa.isOnline()?E(this,Kn).resumePausedMutations():Promise.resolve()}getQueryCache(){return E(this,Le)}getMutationCache(){return E(this,Kn)}getDefaultOptions(){return E(this,Gn)}setDefaultOptions(e){U(this,Gn,e)}setQueryDefaults(e,t){E(this,_i).set(nl(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...E(this,_i).values()];let n={};return t.forEach(r=>{rl(e,r.queryKey)&&(n={...n,...r.defaultOptions})}),n}setMutationDefaults(e,t){E(this,Oi).set(nl(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...E(this,Oi).values()];let n={};return t.forEach(r=>{rl(e,r.mutationKey)&&(n={...n,...r.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...E(this,Gn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=jf(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.enabled!==!0&&t.queryFn===Uf&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...E(this,Gn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){E(this,Le).clear(),E(this,Kn).clear()}},Le=new WeakMap,Kn=new WeakMap,Gn=new WeakMap,_i=new WeakMap,Oi=new WeakMap,Yn=new WeakMap,Li=new WeakMap,Mi=new WeakMap,hp),mt,ne,ll,lt,Mr,Ni,Xn,sn,al,Di,Ai,Nr,Dr,Zn,Ii,ue,wo,vc,yc,gc,wc,Sc,xc,Ec,Nm,pp,Jw=(pp=class extends yl{constructor(t,n){super();K(this,ue);K(this,mt);K(this,ne);K(this,ll);K(this,lt);K(this,Mr);K(this,Ni);K(this,Xn);K(this,sn);K(this,al);K(this,Di);K(this,Ai);K(this,Nr);K(this,Dr);K(this,Zn);K(this,Ii,new Set);this.options=n,U(this,mt,t),U(this,sn,null),U(this,Xn,mc()),this.options.experimental_prefetchInRender||E(this,Xn).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(E(this,ne).addObserver(this),rp(E(this,ne),this.options)?te(this,ue,wo).call(this):this.updateResult(),te(this,ue,wc).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Cc(E(this,ne),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Cc(E(this,ne),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,te(this,ue,Sc).call(this),te(this,ue,xc).call(this),E(this,ne).removeObserver(this)}setOptions(t,n){const r=this.options,i=E(this,ne);if(this.options=E(this,mt).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Yt(this.options.enabled,E(this,ne))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");te(this,ue,Ec).call(this),E(this,ne).setOptions(this.options),r._defaulted&&!dc(this.options,r)&&E(this,mt).getQueryCache().notify({type:"observerOptionsUpdated",query:E(this,ne),observer:this});const o=this.hasListeners();o&&ip(E(this,ne),i,this.options,r)&&te(this,ue,wo).call(this),this.updateResult(n),o&&(E(this,ne)!==i||Yt(this.options.enabled,E(this,ne))!==Yt(r.enabled,E(this,ne))||Ei(this.options.staleTime,E(this,ne))!==Ei(r.staleTime,E(this,ne)))&&te(this,ue,vc).call(this);const l=te(this,ue,yc).call(this);o&&(E(this,ne)!==i||Yt(this.options.enabled,E(this,ne))!==Yt(r.enabled,E(this,ne))||l!==E(this,Zn))&&te(this,ue,gc).call(this,l)}getOptimisticResult(t){const n=E(this,mt).getQueryCache().build(E(this,mt),t),r=this.createResult(n,t);return t6(this,r)&&(U(this,lt,r),U(this,Ni,this.options),U(this,Mr,E(this,ne).state)),r}getCurrentResult(){return E(this,lt)}trackResult(t,n){const r={};return Object.keys(t).forEach(i=>{Object.defineProperty(r,i,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(i),n==null||n(i),t[i])})}),r}trackProp(t){E(this,Ii).add(t)}getCurrentQuery(){return E(this,ne)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=E(this,mt).defaultQueryOptions(t),r=E(this,mt).getQueryCache().build(E(this,mt),n);return r.fetch().then(()=>this.createResult(r,n))}fetch(t){return te(this,ue,wo).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),E(this,lt)))}createResult(t,n){var w;const r=E(this,ne),i=this.options,o=E(this,lt),l=E(this,Mr),a=E(this,Ni),u=t!==r?t.state:E(this,ll),{state:f}=t;let c={...f},p=!1,g;if(n._optimisticResults){const D=this.hasListeners(),A=!D&&rp(t,n),q=D&&ip(t,r,n,i);(A||q)&&(c={...c,...Mm(f.data,t.options)}),n._optimisticResults==="isRestoring"&&(c.fetchStatus="idle")}let{error:x,errorUpdatedAt:y,status:k}=c;if(n.select&&c.data!==void 0)if(o&&c.data===(l==null?void 0:l.data)&&n.select===E(this,al))g=E(this,Di);else try{U(this,al,n.select),g=n.select(c.data),g=pc(o==null?void 0:o.data,g,n),U(this,Di,g),U(this,sn,null)}catch(D){U(this,sn,D)}else g=c.data;if(n.placeholderData!==void 0&&g===void 0&&k==="pending"){let D;if(o!=null&&o.isPlaceholderData&&n.placeholderData===(a==null?void 0:a.placeholderData))D=o.data;else if(D=typeof n.placeholderData=="function"?n.placeholderData((w=E(this,Ai))==null?void 0:w.state.data,E(this,Ai)):n.placeholderData,n.select&&D!==void 0)try{D=n.select(D),U(this,sn,null)}catch(A){U(this,sn,A)}D!==void 0&&(k="success",g=pc(o==null?void 0:o.data,D,n),p=!0)}E(this,sn)&&(x=E(this,sn),g=E(this,Di),y=Date.now(),k="error");const m=c.fetchStatus==="fetching",h=k==="pending",v=k==="error",T=h&&m,_=g!==void 0,O={status:k,fetchStatus:c.fetchStatus,isPending:h,isSuccess:k==="success",isError:v,isInitialLoading:T,isLoading:T,data:g,dataUpdatedAt:c.dataUpdatedAt,error:x,errorUpdatedAt:y,failureCount:c.fetchFailureCount,failureReason:c.fetchFailureReason,errorUpdateCount:c.errorUpdateCount,isFetched:c.dataUpdateCount>0||c.errorUpdateCount>0,isFetchedAfterMount:c.dataUpdateCount>u.dataUpdateCount||c.errorUpdateCount>u.errorUpdateCount,isFetching:m,isRefetching:m&&!h,isLoadingError:v&&!_,isPaused:c.fetchStatus==="paused",isPlaceholderData:p,isRefetchError:v&&_,isStale:Hf(t,n),refetch:this.refetch,promise:E(this,Xn)};if(this.options.experimental_prefetchInRender){const D=oe=>{O.status==="error"?oe.reject(O.error):O.data!==void 0&&oe.resolve(O.data)},A=()=>{const oe=U(this,Xn,O.promise=mc());D(oe)},q=E(this,Xn);switch(q.status){case"pending":t.queryHash===r.queryHash&&D(q);break;case"fulfilled":(O.status==="error"||O.data!==q.value)&&A();break;case"rejected":(O.status!=="error"||O.error!==q.reason)&&A();break}}return O}updateResult(t){const n=E(this,lt),r=this.createResult(E(this,ne),this.options);if(U(this,Mr,E(this,ne).state),U(this,Ni,this.options),E(this,Mr).data!==void 0&&U(this,Ai,E(this,ne)),dc(r,n))return;U(this,lt,r);const i={},o=()=>{if(!n)return!0;const{notifyOnChangeProps:l}=this.options,a=typeof l=="function"?l():l;if(a==="all"||!a&&!E(this,Ii).size)return!0;const s=new Set(a??E(this,Ii));return this.options.throwOnError&&s.add("error"),Object.keys(E(this,lt)).some(u=>{const f=u;return E(this,lt)[f]!==n[f]&&s.has(f)})};(t==null?void 0:t.listeners)!==!1&&o()&&(i.listeners=!0),te(this,ue,Nm).call(this,{...i,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&te(this,ue,wc).call(this)}},mt=new WeakMap,ne=new WeakMap,ll=new WeakMap,lt=new WeakMap,Mr=new WeakMap,Ni=new WeakMap,Xn=new WeakMap,sn=new WeakMap,al=new WeakMap,Di=new WeakMap,Ai=new WeakMap,Nr=new WeakMap,Dr=new WeakMap,Zn=new WeakMap,Ii=new WeakMap,ue=new WeakSet,wo=function(t){te(this,ue,Ec).call(this);let n=E(this,ne).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(It)),n},vc=function(){te(this,ue,Sc).call(this);const t=Ei(this.options.staleTime,E(this,ne));if(Br||E(this,lt).isStale||!fc(t))return;const r=Tm(E(this,lt).dataUpdatedAt,t)+1;U(this,Nr,setTimeout(()=>{E(this,lt).isStale||this.updateResult()},r))},yc=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(E(this,ne)):this.options.refetchInterval)??!1},gc=function(t){te(this,ue,xc).call(this),U(this,Zn,t),!(Br||Yt(this.options.enabled,E(this,ne))===!1||!fc(E(this,Zn))||E(this,Zn)===0)&&U(this,Dr,setInterval(()=>{(this.options.refetchIntervalInBackground||$f.isFocused())&&te(this,ue,wo).call(this)},E(this,Zn)))},wc=function(){te(this,ue,vc).call(this),te(this,ue,gc).call(this,te(this,ue,yc).call(this))},Sc=function(){E(this,Nr)&&(clearTimeout(E(this,Nr)),U(this,Nr,void 0))},xc=function(){E(this,Dr)&&(clearInterval(E(this,Dr)),U(this,Dr,void 0))},Ec=function(){const t=E(this,mt).getQueryCache().build(E(this,mt),this.options);if(t===E(this,ne))return;const n=E(this,ne);U(this,ne,t),U(this,ll,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},Nm=function(t){qe.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(E(this,lt))}),E(this,mt).getQueryCache().notify({query:E(this,ne),type:"observerResultsUpdated"})})},pp);function e6(e,t){return Yt(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function rp(e,t){return e6(e,t)||e.state.data!==void 0&&Cc(e,t,t.refetchOnMount)}function Cc(e,t,n){if(Yt(t.enabled,e)!==!1){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&Hf(e,t)}return!1}function ip(e,t,n,r){return(e!==t||Yt(r.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&Hf(e,n)}function Hf(e,t){return Yt(t.enabled,e)!==!1&&e.isStaleByTime(Ei(t.staleTime,e))}function t6(e,t){return!dc(e.getCurrentResult(),t)}var Dm=R.createContext(void 0),n6=e=>{const t=R.useContext(Dm);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},r6=({client:e,children:t})=>(R.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),Oo.jsx(Dm.Provider,{value:e,children:t})),Am=R.createContext(!1),i6=()=>R.useContext(Am);Am.Provider;function o6(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var l6=R.createContext(o6()),a6=()=>R.useContext(l6);function s6(e,t){return typeof e=="function"?e(...t):!!e}function u6(){}var c6=(e,t)=>{(e.suspense||e.throwOnError)&&(t.isReset()||(e.retryOnMount=!1))},f6=e=>{R.useEffect(()=>{e.clearReset()},[e])},d6=({result:e,errorResetBoundary:t,throwOnError:n,query:r})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&s6(n,[e.error,r]),h6=e=>{e.suspense&&(e.staleTime===void 0&&(e.staleTime=1e3),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3)))},p6=(e,t)=>e.isLoading&&e.isFetching&&!t,m6=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,op=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function v6(e,t,n){var f,c,p,g,x;const r=n6(),i=i6(),o=a6(),l=r.defaultQueryOptions(e);(c=(f=r.getDefaultOptions().queries)==null?void 0:f._experimental_beforeQuery)==null||c.call(f,l),l._optimisticResults=i?"isRestoring":"optimistic",h6(l),c6(l,o),f6(o);const a=!r.getQueryCache().get(l.queryHash),[s]=R.useState(()=>new t(r,l)),u=s.getOptimisticResult(l);if(R.useSyncExternalStore(R.useCallback(y=>{const k=i?()=>{}:s.subscribe(qe.batchCalls(y));return s.updateResult(),k},[s,i]),()=>s.getCurrentResult(),()=>s.getCurrentResult()),R.useEffect(()=>{s.setOptions(l,{listeners:!1})},[l,s]),m6(l,u))throw op(l,s,o);if(d6({result:u,errorResetBoundary:o,throwOnError:l.throwOnError,query:r.getQueryCache().get(l.queryHash)}))throw u.error;if((g=(p=r.getDefaultOptions().queries)==null?void 0:p._experimental_afterQuery)==null||g.call(p,l,u),l.experimental_prefetchInRender&&!Br&&p6(u,i)){const y=a?op(l,s,o):(x=r.getQueryCache().get(l.queryHash))==null?void 0:x.promise;y==null||y.catch(u6).finally(()=>{s.updateResult()})}return l.notifyOnChangeProps?u:s.trackResult(u)}function y6(e,t){return v6(e,Jw)}function g6(){return F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",children:[d("circle",{cx:"50",cy:"50",r:"35",stroke:"var(--bg-accent)","stroke-width":"8",fill:"none"}),F("circle",{cx:"50",cy:"50",r:"35",stroke:"currentColor","stroke-width":"8",fill:"none","stroke-dasharray":"220","stroke-dashoffset":"0",children:[d("animateTransform",{attributeName:"transform",attributeType:"XML",type:"rotate",from:"0 50 50",to:"360 50 50",dur:"1.5s",repeatCount:"indefinite"}),d("animate",{attributeName:"stroke-dashoffset",values:"0;220",dur:"1.5s",repeatCount:"indefinite"})]}),F("g",{transform:"translate(35,35) scale(0.8)",children:[d("circle",{cx:"15",cy:"15",r:"10",stroke:"var(--bg-accent)","stroke-width":"3",fill:"none",children:d("animate",{attributeName:"opacity",values:"1;0.3;1",dur:"1.5s",repeatCount:"indefinite"})}),d("line",{x1:"22",y1:"22",x2:"30",y2:"30",stroke:"var(--bg-accent)","stroke-width":"3","stroke-linecap":"round",children:d("animate",{attributeName:"opacity",values:"1;0.3;1",dur:"1.5s",repeatCount:"indefinite"})})]})]})}const w6=V` + display: flex; + gap: 16px; + width: 90%; + + h3 { + padding: 0; + margin: 0; + } + + @media only screen and (max-width: ${Ht}) { + && { + flex-direction: column; + } + } +`,S6=V` + max-width: 200px; + min-width: 200px; + + @media only screen and (max-width: ${Ht}) { + && { + max-width: unset; + } + } +`,x6=V` + width: 100%; + border-radius: 4px; +`,E6=V` + font-size: small; + line-height: 1em; +`;function C6({id:e,image_url:t,published_at:n,summary:r,title:i,url:o}){return F("div",{css:w6,children:[d("div",{css:S6,children:d("img",{css:x6,src:t,loading:"lazy","aria-label":`relating to ${i}`})}),F("div",{children:[d("a",{href:o,target:"_blank",children:d("h3",{children:i})}),d("p",{css:E6,children:`${new Date(n).toLocaleDateString()} - ${new Date(n).toLocaleTimeString()}`}),d("p",{children:r})]})]},e)}const T6=V` + ${ml} + ${ks} +`;function k6(){const{ref:e}=vl(),[t,n]=R.useState(25),[r,i]=R.useState(0),[o,l]=R.useState(""),[a,s]=R.useState(""),u=[{label:"25",value:"25"},{label:"50",value:"50"},{label:"100",value:"100"}],{data:f,isFetching:c,isLoading:p}=y6({queryKey:["articles",a,t,r],queryFn:()=>Fw({limit:t,offset:r,search:a}),refetchOnMount:!1,refetchOnWindowFocus:!1}),g=V` + display: flex; + flex-wrap: wrap; + gap: 40px; + padding-block: 24px; + `,x=V` + font-size: large; + padding-inline: 8px; + `,y=V` + display: flex; + gap: 16px; + align-items: center; + position: sticky; + flex-wrap: wrap; + top: 0; + z-index: 10; + background: var(--bg-color); + width: 100vw; + + @media only screen and (max-width: ${Ht}) { + && { + gap: 8px; + padding: 8px; + } + } + `,k=V` + height: 1em; + width: 100px; + `,m=V` + border: 1px solid; + border-radius: 4px; + padding-inline: 8px; + margin-inline-start: 4px; + `,h=V` + display: flex; + align-items: center; + justify-content: center; + + svg { + max-width: 300px; + } + `,v=r+t,T=V` + padding-block: 16px; + `,_=V` + display: flex; + gap: 16px; + align-items: center; + `;return F("div",{css:T6,ref:e,children:[d("h1",{children:"News"}),F("p",{children:["An example of a search experience built with a"," ",d("a",{href:"https://spaceflightnewsapi.net/?ref=public_apis",target:"_blank",children:"public api"}),"."]}),F("div",{css:_,children:[F("form",{css:T,onSubmit:M=>{M.preventDefault(),s(o),i(0)},children:[d("input",{id:"news-search",type:"text","aria-label":"search news",css:k,onChange:M=>{l(M.target.value)}}),d(kn,{type:"submit",css:m,children:"Search"})]}),d(Aw,{label:"Limit",hideLabel:!0,options:u,onChange:({target:M})=>{n(parseInt(M.value))}})]}),F("div",{css:y,children:[F("p",{children:["Total: ",f?f.count:"loading"]}),F("div",{children:[d(kn,{css:x,disabled:r===0,"aria-label":"First Page",title:"First Page",onClick:()=>{i(0)},children:"<<"}),d(kn,{css:x,disabled:r===0,"aria-label":"Previous page",title:"Previous page",onClick:()=>{r-t>0?i(r-t):i(0)},children:"<"}),"Showing:"," ",`${r+1} - ${v>((f==null?void 0:f.count)??v)?(f==null?void 0:f.count)??v:v}`,d(kn,{disabled:!f||t+r>=f.count,onClick:()=>{i(r+t)},css:x,"aria-label":"Next page",title:"Next page",children:">"}),d(kn,{disabled:!f||r===f.count-t,onClick:()=>{i(f.count-t)},css:x,"aria-label":"Last page",title:"Last page",children:">>"})]})]}),c||p?d("div",{css:h,children:d(g6,{})}):f?d("div",{css:g,children:f.count===0?d("p",{children:"No results found."}):f.results.map(M=>d(C6,{...M}))}):null]})}function P6(){const e=new Zw,t=V4([{path:"/",element:d(uw,{}),children:[{path:"/",Component:f5,index:!0},{path:"/about",Component:y5},{path:"/tech",Component:_w},{path:"/news",Component:k6},{path:"*",Component:Nw}]}]);return R.useLayoutEffect(()=>{typeof window<"u"&&fm(window.localStorage.getItem("theme"))},[]),d(r6,{client:e,children:d(J4,{router:t})})}K1(document.getElementById("root")).render(d(R.StrictMode,{children:d(P6,{})})); diff --git a/assets/index-c7VgTTot.js b/assets/index-c7VgTTot.js deleted file mode 100644 index 692dd63..0000000 --- a/assets/index-c7VgTTot.js +++ /dev/null @@ -1,410 +0,0 @@ -function Ed(e,t){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const l of o.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();function Wr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Cd={exports:{}},Il={},Td={exports:{}},Z={};/** - * @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 eo=Symbol.for("react.element"),Gp=Symbol.for("react.portal"),Kp=Symbol.for("react.fragment"),Zp=Symbol.for("react.strict_mode"),Xp=Symbol.for("react.profiler"),Jp=Symbol.for("react.provider"),eh=Symbol.for("react.context"),th=Symbol.for("react.forward_ref"),nh=Symbol.for("react.suspense"),rh=Symbol.for("react.memo"),ih=Symbol.for("react.lazy"),_c=Symbol.iterator;function oh(e){return e===null||typeof e!="object"?null:(e=_c&&e[_c]||e["@@iterator"],typeof e=="function"?e:null)}var kd={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Pd=Object.assign,_d={};function Qr(e,t,n){this.props=e,this.context=t,this.refs=_d,this.updater=n||kd}Qr.prototype.isReactComponent={};Qr.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")};Qr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Rd(){}Rd.prototype=Qr.prototype;function Ju(e,t,n){this.props=e,this.context=t,this.refs=_d,this.updater=n||kd}var es=Ju.prototype=new Rd;es.constructor=Ju;Pd(es,Qr.prototype);es.isPureReactComponent=!0;var Rc=Array.isArray,Ld=Object.prototype.hasOwnProperty,ts={current:null},Md={key:!0,ref:!0,__self:!0,__source:!0};function Od(e,t,n){var r,i={},o=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(o=""+t.key),t)Ld.call(t,r)&&!Md.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(10?$e(qr,--st):0,zr--,Le===10&&(zr=1,zl--),Le}function ht(){return Le=st2||Li(Le)>3?"":" "}function Mh(e,t){for(;--t&&ht()&&!(Le<48||Le>102||Le>57&&Le<65||Le>70&&Le<97););return to(e,Ho()+(t<6&&Vt()==32&&ht()==32))}function Ja(e){for(;ht();)switch(Le){case e:return st;case 34:case 39:e!==34&&e!==39&&Ja(Le);break;case 40:e===41&&Ja(e);break;case 92:ht();break}return st}function Oh(e,t){for(;ht()&&e+Le!==57;)if(e+Le===84&&Vt()===47)break;return"/*"+to(t,st-1)+"*"+Dl(e===47?e:ht())}function Nh(e){for(;!Li(Vt());)ht();return to(e,st)}function Ah(e){return $d(bo("",null,null,null,[""],e=jd(e),0,[0],e))}function bo(e,t,n,r,i,o,l,a,u){for(var s=0,f=0,c=l,h=0,y=0,E=0,x=1,P=1,m=1,p=0,g="",T=i,R=o,O=r,L=g;P;)switch(E=p,p=ht()){case 40:if(E!=108&&$e(L,c-1)==58){Xa(L+=ne(Bo(p),"&","&\f"),"&\f")!=-1&&(m=-1);break}case 34:case 39:case 91:L+=Bo(p);break;case 9:case 10:case 13:case 32:L+=Lh(E);break;case 92:L+=Mh(Ho()-1,7);continue;case 47:switch(Vt()){case 42:case 47:wo(Ih(Oh(ht(),Ho()),t,n),u);break;default:L+="/"}break;case 123*x:a[s++]=Ut(L)*m;case 125*x:case 59:case 0:switch(p){case 0:case 125:P=0;case 59+f:m==-1&&(L=ne(L,/\f/g,"")),y>0&&Ut(L)-c&&wo(y>32?Oc(L+";",r,n,c-1):Oc(ne(L," ","")+";",r,n,c-2),u);break;case 59:L+=";";default:if(wo(O=Mc(L,t,n,s,f,i,a,g,T=[],R=[],c),o),p===123)if(f===0)bo(L,t,O,O,T,o,c,a,R);else switch(h===99&&$e(L,3)===110?100:h){case 100:case 108:case 109:case 115:bo(e,O,O,r&&wo(Mc(e,O,O,0,0,i,a,g,i,T=[],c),R),i,R,c,a,r?T:R);break;default:bo(L,O,O,O,[""],R,0,a,R)}}s=f=y=0,x=m=1,g=L="",c=l;break;case 58:c=1+Ut(L),y=E;default:if(x<1){if(p==123)--x;else if(p==125&&x++==0&&Rh()==125)continue}switch(L+=Dl(p),p*x){case 38:m=f>0?1:(L+="\f",-1);break;case 44:a[s++]=(Ut(L)-1)*m,m=1;break;case 64:Vt()===45&&(L+=Bo(ht())),h=Vt(),f=c=Ut(g=L+=Nh(Ho())),p++;break;case 45:E===45&&Ut(L)==2&&(x=0)}}return o}function Mc(e,t,n,r,i,o,l,a,u,s,f){for(var c=i-1,h=i===0?o:[""],y=os(h),E=0,x=0,P=0;E0?h[m]+" "+p:ne(p,/&\f/g,h[m])))&&(u[P++]=g);return Fl(e,t,n,i===0?rs:a,u,s,f)}function Ih(e,t,n){return Fl(e,t,n,Id,Dl(_h()),Ri(e,2,-2),0)}function Oc(e,t,n,r){return Fl(e,t,n,is,Ri(e,0,r),Ri(e,r+1,-1),r)}function Rr(e,t){for(var n="",r=os(e),i=0;i6)switch($e(e,t+1)){case 109:if($e(e,t+4)!==45)break;case 102:return ne(e,/(.+:)(.+)-([^]+)/,"$1"+te+"$2-$3$1"+rl+($e(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Xa(e,"stretch")?Ud(ne(e,"stretch","fill-available"),t)+e:e}break;case 4949:if($e(e,t+1)!==115)break;case 6444:switch($e(e,Ut(e)-3-(~Xa(e,"!important")&&10))){case 107:return ne(e,":",":"+te)+e;case 101:return ne(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+te+($e(e,14)===45?"inline-":"")+"box$3$1"+te+"$2$3$1"+Ve+"$2box$3")+e}break;case 5936:switch($e(e,t+11)){case 114:return te+e+Ve+ne(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return te+e+Ve+ne(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return te+e+Ve+ne(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return te+e+Ve+e+e}return e}var bh=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case is:t.return=Ud(t.value,t.length);break;case Dd:return Rr([Jr(t,{value:ne(t.value,"@","@"+te)})],i);case rs:if(t.length)return Ph(t.props,function(o){switch(kh(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Rr([Jr(t,{props:[ne(o,/:(read-\w+)/,":"+rl+"$1")]})],i);case"::placeholder":return Rr([Jr(t,{props:[ne(o,/:(plac\w+)/,":"+te+"input-$1")]}),Jr(t,{props:[ne(o,/:(plac\w+)/,":"+rl+"$1")]}),Jr(t,{props:[ne(o,/:(plac\w+)/,Ve+"input-$1")]})],i)}return""})}},Vh=[bh],Wh=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(x){var P=x.getAttribute("data-emotion");P.indexOf(" ")!==-1&&(document.head.appendChild(x),x.setAttribute("data-s",""))})}var i=t.stylisPlugins||Vh,o={},l,a=[];l=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(x){for(var P=x.getAttribute("data-emotion").split(" "),m=1;m=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var qd={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},tm=!1,nm=/[A-Z]|^ms/g,rm=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Yd=function(t){return t.charCodeAt(1)===45},Ac=function(t){return t!=null&&typeof t!="boolean"},ya=ls(function(e){return Yd(e)?e:e.replace(nm,"-$&").toLowerCase()}),Ic=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(rm,function(r,i,o){return Ht={name:i,styles:o,next:Ht},i})}return qd[t]!==1&&!Yd(t)&&typeof n=="number"&&n!==0?n+"px":n},im="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Mi(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var i=n;if(i.anim===1)return Ht={name:i.name,styles:i.styles,next:Ht},i.name;var o=n;if(o.styles!==void 0){var l=o.next;if(l!==void 0)for(;l!==void 0;)Ht={name:l.name,styles:l.styles,next:Ht},l=l.next;var a=o.styles+";";return a}return om(e,t,n)}case"function":{if(e!==void 0){var u=Ht,s=n(e);return Ht=u,Mi(e,t,s)}break}}var f=n;return f}function om(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i>>1,ce=I[ue];if(0>>1;uei(qt,W))Fei(St,qt)?(I[ue]=St,I[Fe]=W,ue=Fe):(I[ue]=qt,I[nt]=W,ue=nt);else if(Fei(St,W))I[ue]=St,I[Fe]=W,ue=Fe;else break e}}return F}function i(I,F){var W=I.sortIndex-F.sortIndex;return W!==0?W:I.id-F.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var l=Date,a=l.now();e.unstable_now=function(){return l.now()-a}}var u=[],s=[],f=1,c=null,h=3,y=!1,E=!1,x=!1,P=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,p=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function g(I){for(var F=n(s);F!==null;){if(F.callback===null)r(s);else if(F.startTime<=I)r(s),F.sortIndex=F.expirationTime,t(u,F);else break;F=n(s)}}function T(I){if(x=!1,g(I),!E)if(n(u)!==null)E=!0,_t(R);else{var F=n(s);F!==null&&dn(T,F.startTime-I)}}function R(I,F){E=!1,x&&(x=!1,m(w),w=-1),y=!0;var W=h;try{for(g(F),c=n(u);c!==null&&(!(c.expirationTime>F)||I&&!Y());){var ue=c.callback;if(typeof ue=="function"){c.callback=null,h=c.priorityLevel;var ce=ue(c.expirationTime<=F);F=e.unstable_now(),typeof ce=="function"?c.callback=ce:c===n(u)&&r(u),g(F)}else r(u);c=n(u)}if(c!==null)var tt=!0;else{var nt=n(s);nt!==null&&dn(T,nt.startTime-F),tt=!1}return tt}finally{c=null,h=W,y=!1}}var O=!1,L=null,w=-1,$=5,A=-1;function Y(){return!(e.unstable_now()-A<$)}function ae(){if(L!==null){var I=e.unstable_now();A=I;var F=!0;try{F=L(!0,I)}finally{F?Pe():(O=!1,L=null)}}else O=!1}var Pe;if(typeof p=="function")Pe=function(){p(ae)};else if(typeof MessageChannel<"u"){var xe=new MessageChannel,Ft=xe.port2;xe.port1.onmessage=ae,Pe=function(){Ft.postMessage(null)}}else Pe=function(){P(ae,0)};function _t(I){L=I,O||(O=!0,Pe())}function dn(I,F){w=P(function(){I(e.unstable_now())},F)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(I){I.callback=null},e.unstable_continueExecution=function(){E||y||(E=!0,_t(R))},e.unstable_forceFrameRate=function(I){0>I||125ue?(I.sortIndex=W,t(s,I),n(u)===null&&I===n(s)&&(x?(m(w),w=-1):x=!0,dn(T,W-ue))):(I.sortIndex=ce,t(u,I),E||y||(E=!0,_t(R))),I},e.unstable_shouldYield=Y,e.unstable_wrapCallback=function(I){var F=h;return function(){var W=h;h=F;try{return I.apply(this,arguments)}finally{h=W}}}})(n0);t0.exports=n0;var cm=t0.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 fm=k,vt=cm;function M(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"),nu=Object.prototype.hasOwnProperty,dm=/^[: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]*$/,Fc={},jc={};function pm(e){return nu.call(jc,e)?!0:nu.call(Fc,e)?!1:dm.test(e)?jc[e]=!0:(Fc[e]=!0,!1)}function hm(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"||hm(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 et(e,t,n,r,i,o,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=l}var He={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){He[e]=new et(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];He[t]=new et(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){He[e]=new et(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){He[e]=new et(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){He[e]=new et(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){He[e]=new et(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){He[e]=new et(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){He[e]=new et(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){He[e]=new et(e,5,!1,e.toLowerCase(),null,!1,!1)});var ms=/[\-:]([a-z])/g;function vs(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(ms,vs);He[t]=new et(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(ms,vs);He[t]=new et(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(ms,vs);He[t]=new et(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){He[e]=new et(e,1,!1,e.toLowerCase(),null,!1,!1)});He.xlinkHref=new et("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){He[e]=new et(e,1,!1,e.toLowerCase(),null,!0,!0)});function gs(e,t,n,r){var i=He.hasOwnProperty(t)?He[t]:null;(i!==null?i.type!==0:r||!(2a||i[l]!==o[a]){var u=` -`+i[l].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=l&&0<=a);break}}}finally{Sa=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?pi(e):""}function vm(e){switch(e.tag){case 5:return pi(e.type);case 16:return pi("Lazy");case 13:return pi("Suspense");case 19:return pi("SuspenseList");case 0:case 2:case 15:return e=xa(e.type,!1),e;case 11:return e=xa(e.type.render,!1),e;case 1:return e=xa(e.type,!0),e;default:return""}}function lu(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 mr:return"Fragment";case hr:return"Portal";case ru:return"Profiler";case ys:return"StrictMode";case iu:return"Suspense";case ou:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case o0:return(e.displayName||"Context")+".Consumer";case i0:return(e._context.displayName||"Context")+".Provider";case ws:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ss:return t=e.displayName||null,t!==null?t:lu(e.type)||"Memo";case yn:t=e._payload,e=e._init;try{return lu(e(t))}catch{}}return null}function gm(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 lu(t);case 8:return t===ys?"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 An(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function a0(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function ym(e){var t=a0(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(l){r=""+l,o.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function xo(e){e._valueTracker||(e._valueTracker=ym(e))}function u0(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=a0(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function il(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 au(e,t){var n=t.checked;return Se({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Uc(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=An(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 s0(e,t){t=t.checked,t!=null&&gs(e,"checked",t,!1)}function uu(e,t){s0(e,t);var n=An(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")?su(e,t.type,n):t.hasOwnProperty("defaultValue")&&su(e,t.type,An(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Hc(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 su(e,t,n){(t!=="number"||il(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var hi=Array.isArray;function Lr(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=Eo.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ni(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var yi={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},wm=["Webkit","ms","Moz","O"];Object.keys(yi).forEach(function(e){wm.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),yi[t]=yi[e]})});function p0(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||yi.hasOwnProperty(e)&&yi[e]?(""+t).trim():t+"px"}function h0(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=p0(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var Sm=Se({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 du(e,t){if(t){if(Sm[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(M(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(M(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(M(61))}if(t.style!=null&&typeof t.style!="object")throw Error(M(62))}}function pu(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 hu=null;function xs(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var mu=null,Mr=null,Or=null;function Vc(e){if(e=io(e)){if(typeof mu!="function")throw Error(M(280));var t=e.stateNode;t&&(t=Jl(t),mu(e.stateNode,e.type,t))}}function m0(e){Mr?Or?Or.push(e):Or=[e]:Mr=e}function v0(){if(Mr){var e=Mr,t=Or;if(Or=Mr=null,Vc(e),t)for(e=0;e>>=0,e===0?32:31-(Om(e)/Nm|0)|0}var Co=64,To=4194304;function mi(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 ul(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,l=n&268435455;if(l!==0){var a=l&~i;a!==0?r=mi(a):(o&=l,o!==0&&(r=mi(o)))}else l=n&~i,l!==0?r=mi(l):o!==0&&(r=mi(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function no(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-It(t),e[t]=n}function zm(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=Si),Jc=" ",ef=!1;function z0(e,t){switch(e){case"keyup":return cv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function F0(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var vr=!1;function dv(e,t){switch(e){case"compositionend":return F0(t);case"keypress":return t.which!==32?null:(ef=!0,Jc);case"textInput":return e=t.data,e===Jc&&ef?null:e;default:return null}}function pv(e,t){if(vr)return e==="compositionend"||!Ls&&z0(e,t)?(e=I0(),Wo=Ps=En=null,vr=!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=of(n)}}function H0(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?H0(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function B0(){for(var e=window,t=il();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=il(e.document)}return t}function Ms(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 Ev(e){var t=B0(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&H0(n.ownerDocument.documentElement,n)){if(r!==null&&Ms(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=lf(n,o);var l=lf(n,r);i&&l&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,gr=null,xu=null,Ei=null,Eu=!1;function af(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Eu||gr==null||gr!==il(r)||(r=gr,"selectionStart"in r&&Ms(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}),Ei&&ji(Ei,r)||(Ei=r,r=fl(xu,"onSelect"),0Sr||(e.current=Ru[Sr],Ru[Sr]=null,Sr--)}function se(e,t){Sr++,Ru[Sr]=e.current,e.current=t}var In={},Qe=zn(In),lt=zn(!1),Jn=In;function jr(e,t){var n=e.type.contextTypes;if(!n)return In;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function at(e){return e=e.childContextTypes,e!=null}function pl(){pe(lt),pe(Qe)}function hf(e,t,n){if(Qe.current!==In)throw Error(M(168));se(Qe,t),se(lt,n)}function Z0(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(M(108,gm(e)||"Unknown",i));return Se({},n,r)}function hl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||In,Jn=Qe.current,se(Qe,e),se(lt,lt.current),!0}function mf(e,t,n){var r=e.stateNode;if(!r)throw Error(M(169));n?(e=Z0(e,t,Jn),r.__reactInternalMemoizedMergedChildContext=e,pe(lt),pe(Qe),se(Qe,e)):pe(lt),se(lt,n)}var en=null,ea=!1,Da=!1;function X0(e){en===null?en=[e]:en.push(e)}function Iv(e){ea=!0,X0(e)}function Fn(){if(!Da&&en!==null){Da=!0;var e=0,t=ie;try{var n=en;for(ie=1;e>=l,i-=l,tn=1<<32-It(t)+i|n<w?($=L,L=null):$=L.sibling;var A=h(m,L,g[w],T);if(A===null){L===null&&(L=$);break}e&&L&&A.alternate===null&&t(m,L),p=o(A,p,w),O===null?R=A:O.sibling=A,O=A,L=$}if(w===g.length)return n(m,L),ve&&bn(m,w),R;if(L===null){for(;ww?($=L,L=null):$=L.sibling;var Y=h(m,L,A.value,T);if(Y===null){L===null&&(L=$);break}e&&L&&Y.alternate===null&&t(m,L),p=o(Y,p,w),O===null?R=Y:O.sibling=Y,O=Y,L=$}if(A.done)return n(m,L),ve&&bn(m,w),R;if(L===null){for(;!A.done;w++,A=g.next())A=c(m,A.value,T),A!==null&&(p=o(A,p,w),O===null?R=A:O.sibling=A,O=A);return ve&&bn(m,w),R}for(L=r(m,L);!A.done;w++,A=g.next())A=y(L,m,w,A.value,T),A!==null&&(e&&A.alternate!==null&&L.delete(A.key===null?w:A.key),p=o(A,p,w),O===null?R=A:O.sibling=A,O=A);return e&&L.forEach(function(ae){return t(m,ae)}),ve&&bn(m,w),R}function P(m,p,g,T){if(typeof g=="object"&&g!==null&&g.type===mr&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case So:e:{for(var R=g.key,O=p;O!==null;){if(O.key===R){if(R=g.type,R===mr){if(O.tag===7){n(m,O.sibling),p=i(O,g.props.children),p.return=m,m=p;break e}}else if(O.elementType===R||typeof R=="object"&&R!==null&&R.$$typeof===yn&&yf(R)===O.type){n(m,O.sibling),p=i(O,g.props),p.ref=oi(m,O,g),p.return=m,m=p;break e}n(m,O);break}else t(m,O);O=O.sibling}g.type===mr?(p=Zn(g.props.children,m.mode,T,g.key),p.return=m,m=p):(T=Jo(g.type,g.key,g.props,null,m.mode,T),T.ref=oi(m,p,g),T.return=m,m=T)}return l(m);case hr:e:{for(O=g.key;p!==null;){if(p.key===O)if(p.tag===4&&p.stateNode.containerInfo===g.containerInfo&&p.stateNode.implementation===g.implementation){n(m,p.sibling),p=i(p,g.children||[]),p.return=m,m=p;break e}else{n(m,p);break}else t(m,p);p=p.sibling}p=ba(g,m.mode,T),p.return=m,m=p}return l(m);case yn:return O=g._init,P(m,p,O(g._payload),T)}if(hi(g))return E(m,p,g,T);if(ei(g))return x(m,p,g,T);Oo(m,g)}return typeof g=="string"&&g!==""||typeof g=="number"?(g=""+g,p!==null&&p.tag===6?(n(m,p.sibling),p=i(p,g),p.return=m,m=p):(n(m,p),p=Ba(g,m.mode,T),p.return=m,m=p),l(m)):n(m,p)}return P}var Ur=n1(!0),r1=n1(!1),gl=zn(null),yl=null,Cr=null,Is=null;function Ds(){Is=Cr=yl=null}function zs(e){var t=gl.current;pe(gl),e._currentValue=t}function Ou(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ar(e,t){yl=e,Is=Cr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(ot=!0),e.firstContext=null)}function kt(e){var t=e._currentValue;if(Is!==e)if(e={context:e,memoizedValue:t,next:null},Cr===null){if(yl===null)throw Error(M(308));Cr=e,yl.dependencies={lanes:0,firstContext:e}}else Cr=Cr.next=e;return t}var qn=null;function Fs(e){qn===null?qn=[e]:qn.push(e)}function i1(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Fs(t)):(n.next=i.next,i.next=n),t.interleaved=n,un(e,r)}function un(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var wn=!1;function js(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function o1(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function rn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ln(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,J&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,un(e,n)}return i=r.interleaved,i===null?(t.next=t,Fs(r)):(t.next=i.next,i.next=t),r.interleaved=t,un(e,n)}function qo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Cs(e,n)}}function wf(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=l:o=o.next=l,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function wl(e,t,n,r){var i=e.updateQueue;wn=!1;var o=i.firstBaseUpdate,l=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var u=a,s=u.next;u.next=null,l===null?o=s:l.next=s,l=u;var f=e.alternate;f!==null&&(f=f.updateQueue,a=f.lastBaseUpdate,a!==l&&(a===null?f.firstBaseUpdate=s:a.next=s,f.lastBaseUpdate=u))}if(o!==null){var c=i.baseState;l=0,f=s=u=null,a=o;do{var h=a.lane,y=a.eventTime;if((r&h)===h){f!==null&&(f=f.next={eventTime:y,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var E=e,x=a;switch(h=t,y=n,x.tag){case 1:if(E=x.payload,typeof E=="function"){c=E.call(y,c,h);break e}c=E;break e;case 3:E.flags=E.flags&-65537|128;case 0:if(E=x.payload,h=typeof E=="function"?E.call(y,c,h):E,h==null)break e;c=Se({},c,h);break e;case 2:wn=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,h=i.effects,h===null?i.effects=[a]:h.push(a))}else y={eventTime:y,lane:h,tag:a.tag,payload:a.payload,callback:a.callback,next:null},f===null?(s=f=y,u=c):f=f.next=y,l|=h;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;h=a,a=h.next,h.next=null,i.lastBaseUpdate=h,i.shared.pending=null}}while(!0);if(f===null&&(u=c),i.baseState=u,i.firstBaseUpdate=s,i.lastBaseUpdate=f,t=i.shared.interleaved,t!==null){i=t;do l|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);nr|=l,e.lanes=l,e.memoizedState=c}}function Sf(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Fa.transition;Fa.transition={};try{e(!1),t()}finally{ie=n,Fa.transition=r}}function E1(){return Pt().memoizedState}function jv(e,t,n){var r=On(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},C1(e))T1(t,n);else if(n=i1(e,t,n,r),n!==null){var i=Xe();Dt(n,e,r,i),k1(n,t,r)}}function $v(e,t,n){var r=On(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(C1(e))T1(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var l=t.lastRenderedState,a=o(l,n);if(i.hasEagerState=!0,i.eagerState=a,zt(a,l)){var u=t.interleaved;u===null?(i.next=i,Fs(t)):(i.next=u.next,u.next=i),t.interleaved=i;return}}catch{}finally{}n=i1(e,t,i,r),n!==null&&(i=Xe(),Dt(n,e,r,i),k1(n,t,r))}}function C1(e){var t=e.alternate;return e===we||t!==null&&t===we}function T1(e,t){Ci=xl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function k1(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Cs(e,n)}}var El={readContext:kt,useCallback:Be,useContext:Be,useEffect:Be,useImperativeHandle:Be,useInsertionEffect:Be,useLayoutEffect:Be,useMemo:Be,useReducer:Be,useRef:Be,useState:Be,useDebugValue:Be,useDeferredValue:Be,useTransition:Be,useMutableSource:Be,useSyncExternalStore:Be,useId:Be,unstable_isNewReconciler:!1},Uv={readContext:kt,useCallback:function(e,t){return $t().memoizedState=[e,t===void 0?null:t],e},useContext:kt,useEffect:Ef,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Go(4194308,4,g1.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Go(4194308,4,e,t)},useInsertionEffect:function(e,t){return Go(4,2,e,t)},useMemo:function(e,t){var n=$t();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=$t();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=jv.bind(null,we,e),[r.memoizedState,e]},useRef:function(e){var t=$t();return e={current:e},t.memoizedState=e},useState:xf,useDebugValue:Qs,useDeferredValue:function(e){return $t().memoizedState=e},useTransition:function(){var e=xf(!1),t=e[0];return e=Fv.bind(null,e[1]),$t().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=we,i=$t();if(ve){if(n===void 0)throw Error(M(407));n=n()}else{if(n=t(),De===null)throw Error(M(349));tr&30||s1(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,Ef(f1.bind(null,r,o,e),[e]),r.flags|=2048,Qi(9,c1.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=$t(),t=De.identifierPrefix;if(ve){var n=nn,r=tn;n=(r&~(1<<32-It(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Vi++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[bt]=t,e[Hi]=r,D1(e,t,!1,!1),t.stateNode=e;e:{switch(l=pu(n,r),n){case"dialog":de("cancel",e),de("close",e),i=r;break;case"iframe":case"object":case"embed":de("load",e),i=r;break;case"video":case"audio":for(i=0;ibr&&(t.flags|=128,r=!0,li(o,!1),t.lanes=4194304)}else{if(!r)if(e=Sl(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),li(o,!0),o.tail===null&&o.tailMode==="hidden"&&!l.alternate&&!ve)return be(t),null}else 2*ke()-o.renderingStartTime>br&&n!==1073741824&&(t.flags|=128,r=!0,li(o,!1),t.lanes=4194304);o.isBackwards?(l.sibling=t.child,t.child=l):(n=o.last,n!==null?n.sibling=l:t.child=l,o.last=l)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=ke(),t.sibling=null,n=ye.current,se(ye,r?n&1|2:n&1),t):(be(t),null);case 22:case 23:return Xs(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ft&1073741824&&(be(t),t.subtreeFlags&6&&(t.flags|=8192)):be(t),null;case 24:return null;case 25:return null}throw Error(M(156,t.tag))}function Yv(e,t){switch(Ns(t),t.tag){case 1:return at(t.type)&&pl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Hr(),pe(lt),pe(Qe),Hs(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Us(t),null;case 13:if(pe(ye),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(M(340));$r()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return pe(ye),null;case 4:return Hr(),null;case 10:return zs(t.type._context),null;case 22:case 23:return Xs(),null;case 24:return null;default:return null}}var Ao=!1,We=!1,Gv=typeof WeakSet=="function"?WeakSet:Set,z=null;function Tr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Te(e,t,r)}else n.current=null}function Uu(e,t,n){try{n()}catch(r){Te(e,t,r)}}var Af=!1;function Kv(e,t){if(Cu=sl,e=B0(),Ms(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var l=0,a=-1,u=-1,s=0,f=0,c=e,h=null;t:for(;;){for(var y;c!==n||i!==0&&c.nodeType!==3||(a=l+i),c!==o||r!==0&&c.nodeType!==3||(u=l+r),c.nodeType===3&&(l+=c.nodeValue.length),(y=c.firstChild)!==null;)h=c,c=y;for(;;){if(c===e)break t;if(h===n&&++s===i&&(a=l),h===o&&++f===r&&(u=l),(y=c.nextSibling)!==null)break;c=h,h=c.parentNode}c=y}n=a===-1||u===-1?null:{start:a,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(Tu={focusedElem:e,selectionRange:n},sl=!1,z=t;z!==null;)if(t=z,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,z=e;else for(;z!==null;){t=z;try{var E=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(E!==null){var x=E.memoizedProps,P=E.memoizedState,m=t.stateNode,p=m.getSnapshotBeforeUpdate(t.elementType===t.type?x:Lt(t.type,x),P);m.__reactInternalSnapshotBeforeUpdate=p}break;case 3:var g=t.stateNode.containerInfo;g.nodeType===1?g.textContent="":g.nodeType===9&&g.documentElement&&g.removeChild(g.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(M(163))}}catch(T){Te(t,t.return,T)}if(e=t.sibling,e!==null){e.return=t.return,z=e;break}z=t.return}return E=Af,Af=!1,E}function Ti(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&Uu(t,n,o)}i=i.next}while(i!==r)}}function ra(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 Hu(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 j1(e){var t=e.alternate;t!==null&&(e.alternate=null,j1(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[bt],delete t[Hi],delete t[_u],delete t[Nv],delete t[Av])),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 $1(e){return e.tag===5||e.tag===3||e.tag===4}function If(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||$1(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 Bu(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=dl));else if(r!==4&&(e=e.child,e!==null))for(Bu(e,t,n),e=e.sibling;e!==null;)Bu(e,t,n),e=e.sibling}function bu(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(bu(e,t,n),e=e.sibling;e!==null;)bu(e,t,n),e=e.sibling}var je=null,Mt=!1;function vn(e,t,n){for(n=n.child;n!==null;)U1(e,t,n),n=n.sibling}function U1(e,t,n){if(Wt&&typeof Wt.onCommitFiberUnmount=="function")try{Wt.onCommitFiberUnmount(Gl,n)}catch{}switch(n.tag){case 5:We||Tr(n,t);case 6:var r=je,i=Mt;je=null,vn(e,t,n),je=r,Mt=i,je!==null&&(Mt?(e=je,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):je.removeChild(n.stateNode));break;case 18:je!==null&&(Mt?(e=je,n=n.stateNode,e.nodeType===8?Ia(e.parentNode,n):e.nodeType===1&&Ia(e,n),zi(e)):Ia(je,n.stateNode));break;case 4:r=je,i=Mt,je=n.stateNode.containerInfo,Mt=!0,vn(e,t,n),je=r,Mt=i;break;case 0:case 11:case 14:case 15:if(!We&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,l=o.destroy;o=o.tag,l!==void 0&&(o&2||o&4)&&Uu(n,t,l),i=i.next}while(i!==r)}vn(e,t,n);break;case 1:if(!We&&(Tr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Te(n,t,a)}vn(e,t,n);break;case 21:vn(e,t,n);break;case 22:n.mode&1?(We=(r=We)||n.memoizedState!==null,vn(e,t,n),We=r):vn(e,t,n);break;default:vn(e,t,n)}}function Df(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Gv),t.forEach(function(r){var i=o2.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Rt(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=l),r&=~o}if(r=i,r=ke()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Xv(r/1960))-r,10e?16:e,Cn===null)var r=!1;else{if(e=Cn,Cn=null,kl=0,J&6)throw Error(M(331));var i=J;for(J|=4,z=e.current;z!==null;){var o=z,l=o.child;if(z.flags&16){var a=o.deletions;if(a!==null){for(var u=0;uke()-Ks?Kn(e,0):Gs|=n),ut(e,t)}function Y1(e,t){t===0&&(e.mode&1?(t=To,To<<=1,!(To&130023424)&&(To=4194304)):t=1);var n=Xe();e=un(e,t),e!==null&&(no(e,t,n),ut(e,n))}function i2(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Y1(e,n)}function o2(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(M(314))}r!==null&&r.delete(t),Y1(e,n)}var G1;G1=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||lt.current)ot=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return ot=!1,Qv(e,t,n);ot=!!(e.flags&131072)}else ot=!1,ve&&t.flags&1048576&&J0(t,vl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ko(e,t),e=t.pendingProps;var i=jr(t,Qe.current);Ar(t,n),i=bs(null,t,r,e,i,n);var o=Vs();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,at(r)?(o=!0,hl(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,js(t),i.updater=na,t.stateNode=i,i._reactInternals=t,Au(t,r,e,n),t=zu(null,t,r,!0,o,n)):(t.tag=0,ve&&o&&Os(t),Ze(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ko(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=a2(r),e=Lt(r,e),i){case 0:t=Du(null,t,r,e,n);break e;case 1:t=Mf(null,t,r,e,n);break e;case 11:t=Rf(null,t,r,e,n);break e;case 14:t=Lf(null,t,r,Lt(r.type,e),n);break e}throw Error(M(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Lt(r,i),Du(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Lt(r,i),Mf(e,t,r,i,n);case 3:e:{if(N1(t),e===null)throw Error(M(387));r=t.pendingProps,o=t.memoizedState,i=o.element,o1(e,t),wl(t,r,null,n);var l=t.memoizedState;if(r=l.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=Br(Error(M(423)),t),t=Of(e,t,r,n,i);break e}else if(r!==i){i=Br(Error(M(424)),t),t=Of(e,t,r,n,i);break e}else for(pt=Rn(t.stateNode.containerInfo.firstChild),mt=t,ve=!0,Nt=null,n=r1(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if($r(),r===i){t=sn(e,t,n);break e}Ze(e,t,r,n)}t=t.child}return t;case 5:return l1(t),e===null&&Mu(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,l=i.children,ku(r,i)?l=null:o!==null&&ku(r,o)&&(t.flags|=32),O1(e,t),Ze(e,t,l,n),t.child;case 6:return e===null&&Mu(t),null;case 13:return A1(e,t,n);case 4:return $s(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ur(t,null,r,n):Ze(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Lt(r,i),Rf(e,t,r,i,n);case 7:return Ze(e,t,t.pendingProps,n),t.child;case 8:return Ze(e,t,t.pendingProps.children,n),t.child;case 12:return Ze(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,l=i.value,se(gl,r._currentValue),r._currentValue=l,o!==null)if(zt(o.value,l)){if(o.children===i.children&&!lt.current){t=sn(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){l=o.child;for(var u=a.firstContext;u!==null;){if(u.context===r){if(o.tag===1){u=rn(-1,n&-n),u.tag=2;var s=o.updateQueue;if(s!==null){s=s.shared;var f=s.pending;f===null?u.next=u:(u.next=f.next,f.next=u),s.pending=u}}o.lanes|=n,u=o.alternate,u!==null&&(u.lanes|=n),Ou(o.return,n,t),a.lanes|=n;break}u=u.next}}else if(o.tag===10)l=o.type===t.type?null:o.child;else if(o.tag===18){if(l=o.return,l===null)throw Error(M(341));l.lanes|=n,a=l.alternate,a!==null&&(a.lanes|=n),Ou(l,n,t),l=o.sibling}else l=o.child;if(l!==null)l.return=o;else for(l=o;l!==null;){if(l===t){l=null;break}if(o=l.sibling,o!==null){o.return=l.return,l=o;break}l=l.return}o=l}Ze(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Ar(t,n),i=kt(i),r=r(i),t.flags|=1,Ze(e,t,r,n),t.child;case 14:return r=t.type,i=Lt(r,t.pendingProps),i=Lt(r.type,i),Lf(e,t,r,i,n);case 15:return L1(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Lt(r,i),Ko(e,t),t.tag=1,at(r)?(e=!0,hl(t)):e=!1,Ar(t,n),P1(t,r,i),Au(t,r,i,n),zu(null,t,r,!0,e,n);case 19:return I1(e,t,n);case 22:return M1(e,t,n)}throw Error(M(156,t.tag))};function K1(e,t){return C0(e,t)}function l2(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 Ct(e,t,n,r){return new l2(e,t,n,r)}function ec(e){return e=e.prototype,!(!e||!e.isReactComponent)}function a2(e){if(typeof e=="function")return ec(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ws)return 11;if(e===Ss)return 14}return 2}function Nn(e,t){var n=e.alternate;return n===null?(n=Ct(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 Jo(e,t,n,r,i,o){var l=2;if(r=e,typeof e=="function")ec(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case mr:return Zn(n.children,i,o,t);case ys:l=8,i|=8;break;case ru:return e=Ct(12,n,t,i|2),e.elementType=ru,e.lanes=o,e;case iu:return e=Ct(13,n,t,i),e.elementType=iu,e.lanes=o,e;case ou:return e=Ct(19,n,t,i),e.elementType=ou,e.lanes=o,e;case l0:return oa(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case i0:l=10;break e;case o0:l=9;break e;case ws:l=11;break e;case Ss:l=14;break e;case yn:l=16,r=null;break e}throw Error(M(130,e==null?e:typeof e,""))}return t=Ct(l,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Zn(e,t,n,r){return e=Ct(7,e,r,t),e.lanes=n,e}function oa(e,t,n,r){return e=Ct(22,e,r,t),e.elementType=l0,e.lanes=n,e.stateNode={isHidden:!1},e}function Ba(e,t,n){return e=Ct(6,e,null,t),e.lanes=n,e}function ba(e,t,n){return t=Ct(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function u2(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ca(0),this.expirationTimes=Ca(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ca(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function tc(e,t,n,r,i,o,l,a,u){return e=new u2(e,t,n,a,u),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Ct(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},js(o),e}function s2(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(ep)}catch(e){console.error(e)}}ep(),e0.exports=yt;var oc=e0.exports;const h2=Wr(oc),m2=Ed({__proto__:null,default:h2},[oc]);var tp,bf=oc;tp=bf.createRoot,bf.hydrateRoot;/** - * @remix-run/router v1.19.2 - * - * 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 ge(){return ge=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Vr(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function g2(){return Math.random().toString(36).substr(2,8)}function Wf(e,t){return{usr:e.state,key:e.key,idx:t}}function Yi(e,t,n,r){return n===void 0&&(n=null),ge({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?jn(t):t,{state:n,key:t&&t.key||r||g2()})}function ir(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 jn(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 y2(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,l=i.history,a=Re.Pop,u=null,s=f();s==null&&(s=0,l.replaceState(ge({},l.state,{idx:s}),""));function f(){return(l.state||{idx:null}).idx}function c(){a=Re.Pop;let P=f(),m=P==null?null:P-s;s=P,u&&u({action:a,location:x.location,delta:m})}function h(P,m){a=Re.Push;let p=Yi(x.location,P,m);s=f()+1;let g=Wf(p,s),T=x.createHref(p);try{l.pushState(g,"",T)}catch(R){if(R instanceof DOMException&&R.name==="DataCloneError")throw R;i.location.assign(T)}o&&u&&u({action:a,location:x.location,delta:1})}function y(P,m){a=Re.Replace;let p=Yi(x.location,P,m);s=f();let g=Wf(p,s),T=x.createHref(p);l.replaceState(g,"",T),o&&u&&u({action:a,location:x.location,delta:0})}function E(P){let m=i.location.origin!=="null"?i.location.origin:i.location.href,p=typeof P=="string"?P:ir(P);return p=p.replace(/ $/,"%20"),K(m,"No window.location.(origin|href) available to create URL for href: "+p),new URL(p,m)}let x={get action(){return a},get location(){return e(i,l)},listen(P){if(u)throw new Error("A history only accepts one active listener");return i.addEventListener(Vf,c),u=P,()=>{i.removeEventListener(Vf,c),u=null}},createHref(P){return t(i,P)},createURL:E,encodeLocation(P){let m=E(P);return{pathname:m.pathname,search:m.search,hash:m.hash}},push:h,replace:y,go(P){return l.go(P)}};return x}var le;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(le||(le={}));const w2=new Set(["lazy","caseSensitive","path","id","index","children"]);function S2(e){return e.index===!0}function Gi(e,t,n,r){return n===void 0&&(n=[]),r===void 0&&(r={}),e.map((i,o)=>{let l=[...n,String(o)],a=typeof i.id=="string"?i.id:l.join("-");if(K(i.index!==!0||!i.children,"Cannot specify children on an index route"),K(!r[a],'Found a route id collision on id "'+a+`". Route id's must be globally unique within Data Router usages`),S2(i)){let u=ge({},i,t(i),{id:a});return r[a]=u,u}else{let u=ge({},i,t(i),{id:a,children:void 0});return r[a]=u,i.children&&(u.children=Gi(i.children,t,l,r)),u}})}function Wn(e,t,n){return n===void 0&&(n="/"),el(e,t,n,!1)}function el(e,t,n,r){let i=typeof t=="string"?jn(t):t,o=Kr(i.pathname||"/",n);if(o==null)return null;let l=np(e);E2(l);let a=null;for(let u=0;a==null&&u{let u={relativePath:a===void 0?o.path||"":a,caseSensitive:o.caseSensitive===!0,childrenIndex:l,route:o};u.relativePath.startsWith("/")&&(K(u.relativePath.startsWith(r),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(r.length));let s=on([r,u.relativePath]),f=n.concat(u);o.children&&o.children.length>0&&(K(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+s+'".')),np(o.children,t,f,s)),!(o.path==null&&!o.index)&&t.push({path:s,score:L2(s,o.index),routesMeta:f})};return e.forEach((o,l)=>{var a;if(o.path===""||!((a=o.path)!=null&&a.includes("?")))i(o,l);else for(let u of rp(o.path))i(o,l,u)}),t}function rp(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return i?[o,""]:[o];let l=rp(r.join("/")),a=[];return a.push(...l.map(u=>u===""?o:[o,u].join("/"))),i&&a.push(...l),a.map(u=>e.startsWith("/")&&u===""?"/":u)}function E2(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:M2(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const C2=/^:[\w-]+$/,T2=3,k2=2,P2=1,_2=10,R2=-2,Qf=e=>e==="*";function L2(e,t){let n=e.split("/"),r=n.length;return n.some(Qf)&&(r+=R2),t&&(r+=k2),n.filter(i=>!Qf(i)).reduce((i,o)=>i+(C2.test(o)?T2:o===""?P2:_2),r)}function M2(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function O2(e,t,n){n===void 0&&(n=!1);let{routesMeta:r}=e,i={},o="/",l=[];for(let a=0;a{let{paramName:h,isOptional:y}=f;if(h==="*"){let x=a[c]||"";l=o.slice(0,o.length-x.length).replace(/(.)\/+$/,"$1")}const E=a[c];return y&&!E?s[h]=void 0:s[h]=(E||"").replace(/%2F/g,"/"),s},{}),pathname:o,pathnameBase:l,pattern:e}}function N2(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Vr(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(l,a,u)=>(r.push({paramName:a,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function A2(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Vr(!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 Kr(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function I2(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?jn(e):e;return{pathname:n?n.startsWith("/")?n:D2(n,t):t,search:F2(r),hash:j2(i)}}function D2(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function Va(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 ip(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function lc(e,t){let n=ip(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function ac(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=jn(e):(i=ge({},e),K(!i.pathname||!i.pathname.includes("?"),Va("?","pathname","search",i)),K(!i.pathname||!i.pathname.includes("#"),Va("#","pathname","hash",i)),K(!i.search||!i.search.includes("#"),Va("#","search","hash",i)));let o=e===""||i.pathname==="",l=o?"/":i.pathname,a;if(l==null)a=n;else{let c=t.length-1;if(!r&&l.startsWith("..")){let h=l.split("/");for(;h[0]==="..";)h.shift(),c-=1;i.pathname=h.join("/")}a=c>=0?t[c]:"/"}let u=I2(i,a),s=l&&l!=="/"&&l.endsWith("/"),f=(o||l===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(s||f)&&(u.pathname+="/"),u}const on=e=>e.join("/").replace(/\/\/+/g,"/"),z2=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),F2=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,j2=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class Rl{constructor(t,n,r,i){i===void 0&&(i=!1),this.status=t,this.statusText=n||"",this.internal=i,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function ca(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const op=["post","put","patch","delete"],$2=new Set(op),U2=["get",...op],H2=new Set(U2),B2=new Set([301,302,303,307,308]),b2=new Set([307,308]),Wa={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},V2={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},ui={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},uc=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,W2=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),lp="remix-router-transitions";function Q2(e){const t=e.window?e.window:typeof window<"u"?window:void 0,n=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u",r=!n;K(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let i;if(e.mapRouteProperties)i=e.mapRouteProperties;else if(e.detectErrorBoundary){let v=e.detectErrorBoundary;i=S=>({hasErrorBoundary:v(S)})}else i=W2;let o={},l=Gi(e.routes,i,void 0,o),a,u=e.basename||"/",s=e.unstable_dataStrategy||X2,f=e.unstable_patchRoutesOnNavigation,c=ge({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),h=null,y=new Set,E=1e3,x=new Set,P=null,m=null,p=null,g=e.hydrationData!=null,T=Wn(l,e.history.location,u),R=null;if(T==null&&!f){let v=Ke(404,{pathname:e.history.location.pathname}),{matches:S,route:C}=nd(l);T=S,R={[C.id]:v}}T&&!e.hydrationData&&fo(T,l,e.history.location.pathname).active&&(T=null);let O;if(T)if(T.some(v=>v.route.lazy))O=!1;else if(!T.some(v=>v.route.loader))O=!0;else if(c.v7_partialHydration){let v=e.hydrationData?e.hydrationData.loaderData:null,S=e.hydrationData?e.hydrationData.errors:null,C=_=>_.route.loader?typeof _.route.loader=="function"&&_.route.loader.hydrate===!0?!1:v&&v[_.route.id]!==void 0||S&&S[_.route.id]!==void 0:!0;if(S){let _=T.findIndex(D=>S[D.route.id]!==void 0);O=T.slice(0,_+1).every(C)}else O=T.every(C)}else O=e.hydrationData!=null;else if(O=!1,T=[],c.v7_partialHydration){let v=fo(null,l,e.history.location.pathname);v.active&&v.matches&&(T=v.matches)}let L,w={historyAction:e.history.action,location:e.history.location,matches:T,initialized:O,navigation:Wa,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||R,fetchers:new Map,blockers:new Map},$=Re.Pop,A=!1,Y,ae=!1,Pe=new Map,xe=null,Ft=!1,_t=!1,dn=[],I=new Set,F=new Map,W=0,ue=-1,ce=new Map,tt=new Set,nt=new Map,qt=new Map,Fe=new Set,St=new Map,Un=new Map,Op=new Map,ao;function Np(){if(h=e.history.listen(v=>{let{action:S,location:C,delta:_}=v;if(ao){ao(),ao=void 0;return}Vr(Un.size===0||_!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let D=Ec({currentLocation:w.location,nextLocation:C,historyAction:S});if(D&&_!=null){let B=new Promise(V=>{ao=V});e.history.go(_*-1),so(D,{state:"blocked",location:C,proceed(){so(D,{state:"proceeding",proceed:void 0,reset:void 0,location:C}),B.then(()=>e.history.go(_))},reset(){let V=new Map(w.blockers);V.set(D,ui),qe({blockers:V})}});return}return Hn(S,C)}),n){pg(t,Pe);let v=()=>hg(t,Pe);t.addEventListener("pagehide",v),xe=()=>t.removeEventListener("pagehide",v)}return w.initialized||Hn(Re.Pop,w.location,{initialHydration:!0}),L}function Ap(){h&&h(),xe&&xe(),y.clear(),Y&&Y.abort(),w.fetchers.forEach((v,S)=>uo(S)),w.blockers.forEach((v,S)=>xc(S))}function Ip(v){return y.add(v),()=>y.delete(v)}function qe(v,S){S===void 0&&(S={}),w=ge({},w,v);let C=[],_=[];c.v7_fetcherPersist&&w.fetchers.forEach((D,B)=>{D.state==="idle"&&(Fe.has(B)?_.push(B):C.push(B))}),[...y].forEach(D=>D(w,{deletedFetchers:_,unstable_viewTransitionOpts:S.viewTransitionOpts,unstable_flushSync:S.flushSync===!0})),c.v7_fetcherPersist&&(C.forEach(D=>w.fetchers.delete(D)),_.forEach(D=>uo(D)))}function sr(v,S,C){var _,D;let{flushSync:B}=C===void 0?{}:C,V=w.actionData!=null&&w.navigation.formMethod!=null&&Ot(w.navigation.formMethod)&&w.navigation.state==="loading"&&((_=v.state)==null?void 0:_._isRedirect)!==!0,N;S.actionData?Object.keys(S.actionData).length>0?N=S.actionData:N=null:V?N=w.actionData:N=null;let b=S.loaderData?ed(w.loaderData,S.loaderData,S.matches||[],S.errors):w.loaderData,U=w.blockers;U.size>0&&(U=new Map(U),U.forEach((re,fe)=>U.set(fe,ui)));let H=A===!0||w.navigation.formMethod!=null&&Ot(w.navigation.formMethod)&&((D=v.state)==null?void 0:D._isRedirect)!==!0;a&&(l=a,a=void 0),Ft||$===Re.Pop||($===Re.Push?e.history.push(v,v.state):$===Re.Replace&&e.history.replace(v,v.state));let ee;if($===Re.Pop){let re=Pe.get(w.location.pathname);re&&re.has(v.pathname)?ee={currentLocation:w.location,nextLocation:v}:Pe.has(v.pathname)&&(ee={currentLocation:v,nextLocation:w.location})}else if(ae){let re=Pe.get(w.location.pathname);re?re.add(v.pathname):(re=new Set([v.pathname]),Pe.set(w.location.pathname,re)),ee={currentLocation:w.location,nextLocation:v}}qe(ge({},S,{actionData:N,loaderData:b,historyAction:$,location:v,initialized:!0,navigation:Wa,revalidation:"idle",restoreScrollPosition:Tc(v,S.matches||w.matches),preventScrollReset:H,blockers:U}),{viewTransitionOpts:ee,flushSync:B===!0}),$=Re.Pop,A=!1,ae=!1,Ft=!1,_t=!1,dn=[]}async function hc(v,S){if(typeof v=="number"){e.history.go(v);return}let C=Yu(w.location,w.matches,u,c.v7_prependBasename,v,c.v7_relativeSplatPath,S==null?void 0:S.fromRouteId,S==null?void 0:S.relative),{path:_,submission:D,error:B}=Yf(c.v7_normalizeFormMethod,!1,C,S),V=w.location,N=Yi(w.location,_,S&&S.state);N=ge({},N,e.history.encodeLocation(N));let b=S&&S.replace!=null?S.replace:void 0,U=Re.Push;b===!0?U=Re.Replace:b===!1||D!=null&&Ot(D.formMethod)&&D.formAction===w.location.pathname+w.location.search&&(U=Re.Replace);let H=S&&"preventScrollReset"in S?S.preventScrollReset===!0:void 0,ee=(S&&S.unstable_flushSync)===!0,re=Ec({currentLocation:V,nextLocation:N,historyAction:U});if(re){so(re,{state:"blocked",location:N,proceed(){so(re,{state:"proceeding",proceed:void 0,reset:void 0,location:N}),hc(v,S)},reset(){let fe=new Map(w.blockers);fe.set(re,ui),qe({blockers:fe})}});return}return await Hn(U,N,{submission:D,pendingError:B,preventScrollReset:H,replace:S&&S.replace,enableViewTransition:S&&S.unstable_viewTransition,flushSync:ee})}function Dp(){if(ha(),qe({revalidation:"loading"}),w.navigation.state!=="submitting"){if(w.navigation.state==="idle"){Hn(w.historyAction,w.location,{startUninterruptedRevalidation:!0});return}Hn($||w.historyAction,w.navigation.location,{overrideNavigation:w.navigation,enableViewTransition:ae===!0})}}async function Hn(v,S,C){Y&&Y.abort(),Y=null,$=v,Ft=(C&&C.startUninterruptedRevalidation)===!0,Wp(w.location,w.matches),A=(C&&C.preventScrollReset)===!0,ae=(C&&C.enableViewTransition)===!0;let _=a||l,D=C&&C.overrideNavigation,B=Wn(_,S,u),V=(C&&C.flushSync)===!0,N=fo(B,_,S.pathname);if(N.active&&N.matches&&(B=N.matches),!B){let{error:X,notFoundMatches:Ae,route:_e}=ma(S.pathname);sr(S,{matches:Ae,loaderData:{},errors:{[_e.id]:X}},{flushSync:V});return}if(w.initialized&&!_t&&ig(w.location,S)&&!(C&&C.submission&&Ot(C.submission.formMethod))){sr(S,{matches:B},{flushSync:V});return}Y=new AbortController;let b=dr(e.history,S,Y.signal,C&&C.submission),U;if(C&&C.pendingError)U=[Pr(B).route.id,{type:le.error,error:C.pendingError}];else if(C&&C.submission&&Ot(C.submission.formMethod)){let X=await zp(b,S,C.submission,B,N.active,{replace:C.replace,flushSync:V});if(X.shortCircuited)return;if(X.pendingActionResult){let[Ae,_e]=X.pendingActionResult;if(dt(_e)&&ca(_e.error)&&_e.error.status===404){Y=null,sr(S,{matches:X.matches,loaderData:{},errors:{[Ae]:_e.error}});return}}B=X.matches||B,U=X.pendingActionResult,D=Qa(S,C.submission),V=!1,N.active=!1,b=dr(e.history,b.url,b.signal)}let{shortCircuited:H,matches:ee,loaderData:re,errors:fe}=await Fp(b,S,B,N.active,D,C&&C.submission,C&&C.fetcherSubmission,C&&C.replace,C&&C.initialHydration===!0,V,U);H||(Y=null,sr(S,ge({matches:ee||B},td(U),{loaderData:re,errors:fe})))}async function zp(v,S,C,_,D,B){B===void 0&&(B={}),ha();let V=fg(S,C);if(qe({navigation:V},{flushSync:B.flushSync===!0}),D){let U=await po(_,S.pathname,v.signal);if(U.type==="aborted")return{shortCircuited:!0};if(U.type==="error"){let{boundaryId:H,error:ee}=co(S.pathname,U);return{matches:U.partialMatches,pendingActionResult:[H,{type:le.error,error:ee}]}}else if(U.matches)_=U.matches;else{let{notFoundMatches:H,error:ee,route:re}=ma(S.pathname);return{matches:H,pendingActionResult:[re.id,{type:le.error,error:ee}]}}}let N,b=gi(_,S);if(!b.route.action&&!b.route.lazy)N={type:le.error,error:Ke(405,{method:v.method,pathname:S.pathname,routeId:b.route.id})};else if(N=(await Zr("action",w,v,[b],_,null))[b.route.id],v.signal.aborted)return{shortCircuited:!0};if(Gn(N)){let U;return B&&B.replace!=null?U=B.replace:U=Zf(N.response.headers.get("Location"),new URL(v.url),u)===w.location.pathname+w.location.search,await Bn(v,N,!0,{submission:C,replace:U}),{shortCircuited:!0}}if(Tn(N))throw Ke(400,{type:"defer-action"});if(dt(N)){let U=Pr(_,b.route.id);return(B&&B.replace)!==!0&&($=Re.Push),{matches:_,pendingActionResult:[U.route.id,N]}}return{matches:_,pendingActionResult:[b.route.id,N]}}async function Fp(v,S,C,_,D,B,V,N,b,U,H){let ee=D||Qa(S,B),re=B||V||id(ee),fe=!Ft&&(!c.v7_partialHydration||!b);if(_){if(fe){let Ee=mc(H);qe(ge({navigation:ee},Ee!==void 0?{actionData:Ee}:{}),{flushSync:U})}let G=await po(C,S.pathname,v.signal);if(G.type==="aborted")return{shortCircuited:!0};if(G.type==="error"){let{boundaryId:Ee,error:ct}=co(S.pathname,G);return{matches:G.partialMatches,loaderData:{},errors:{[Ee]:ct}}}else if(G.matches)C=G.matches;else{let{error:Ee,notFoundMatches:ct,route:Ce}=ma(S.pathname);return{matches:ct,loaderData:{},errors:{[Ce.id]:Ee}}}}let X=a||l,[Ae,_e]=Gf(e.history,w,C,re,S,c.v7_partialHydration&&b===!0,c.v7_skipActionErrorRevalidation,_t,dn,I,Fe,nt,tt,X,u,H);if(va(G=>!(C&&C.some(Ee=>Ee.route.id===G))||Ae&&Ae.some(Ee=>Ee.route.id===G)),ue=++W,Ae.length===0&&_e.length===0){let G=wc();return sr(S,ge({matches:C,loaderData:{},errors:H&&dt(H[1])?{[H[0]]:H[1].error}:null},td(H),G?{fetchers:new Map(w.fetchers)}:{}),{flushSync:U}),{shortCircuited:!0}}if(fe){let G={};if(!_){G.navigation=ee;let Ee=mc(H);Ee!==void 0&&(G.actionData=Ee)}_e.length>0&&(G.fetchers=jp(_e)),qe(G,{flushSync:U})}_e.forEach(G=>{F.has(G.key)&&hn(G.key),G.controller&&F.set(G.key,G.controller)});let Xr=()=>_e.forEach(G=>hn(G.key));Y&&Y.signal.addEventListener("abort",Xr);let{loaderResults:Gt,fetcherResults:cr}=await vc(w,C,Ae,_e,v);if(v.signal.aborted)return{shortCircuited:!0};Y&&Y.signal.removeEventListener("abort",Xr),_e.forEach(G=>F.delete(G.key));let mn=zo(Gt);if(mn)return await Bn(v,mn.result,!0,{replace:N}),{shortCircuited:!0};if(mn=zo(cr),mn)return tt.add(mn.key),await Bn(v,mn.result,!0,{replace:N}),{shortCircuited:!0};let{loaderData:ho,errors:Kt}=Jf(w,C,Ae,Gt,H,_e,cr,St);St.forEach((G,Ee)=>{G.subscribe(ct=>{(ct||G.done)&&St.delete(Ee)})}),c.v7_partialHydration&&b&&w.errors&&Object.entries(w.errors).filter(G=>{let[Ee]=G;return!Ae.some(ct=>ct.route.id===Ee)}).forEach(G=>{let[Ee,ct]=G;Kt=Object.assign(Kt||{},{[Ee]:ct})});let mo=wc(),vo=Sc(ue),go=mo||vo||_e.length>0;return ge({matches:C,loaderData:ho,errors:Kt},go?{fetchers:new Map(w.fetchers)}:{})}function mc(v){if(v&&!dt(v[1]))return{[v[0]]:v[1].data};if(w.actionData)return Object.keys(w.actionData).length===0?null:w.actionData}function jp(v){return v.forEach(S=>{let C=w.fetchers.get(S.key),_=si(void 0,C?C.data:void 0);w.fetchers.set(S.key,_)}),new Map(w.fetchers)}function $p(v,S,C,_){if(r)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");F.has(v)&&hn(v);let D=(_&&_.unstable_flushSync)===!0,B=a||l,V=Yu(w.location,w.matches,u,c.v7_prependBasename,C,c.v7_relativeSplatPath,S,_==null?void 0:_.relative),N=Wn(B,V,u),b=fo(N,B,V);if(b.active&&b.matches&&(N=b.matches),!N){Yt(v,S,Ke(404,{pathname:V}),{flushSync:D});return}let{path:U,submission:H,error:ee}=Yf(c.v7_normalizeFormMethod,!0,V,_);if(ee){Yt(v,S,ee,{flushSync:D});return}let re=gi(N,U);if(A=(_&&_.preventScrollReset)===!0,H&&Ot(H.formMethod)){Up(v,S,U,re,N,b.active,D,H);return}nt.set(v,{routeId:S,path:U}),Hp(v,S,U,re,N,b.active,D,H)}async function Up(v,S,C,_,D,B,V,N){ha(),nt.delete(v);function b(Ce){if(!Ce.route.action&&!Ce.route.lazy){let Zt=Ke(405,{method:N.formMethod,pathname:C,routeId:S});return Yt(v,S,Zt,{flushSync:V}),!0}return!1}if(!B&&b(_))return;let U=w.fetchers.get(v);pn(v,dg(N,U),{flushSync:V});let H=new AbortController,ee=dr(e.history,C,H.signal,N);if(B){let Ce=await po(D,C,ee.signal);if(Ce.type==="aborted")return;if(Ce.type==="error"){let{error:Zt}=co(C,Ce);Yt(v,S,Zt,{flushSync:V});return}else if(Ce.matches){if(D=Ce.matches,_=gi(D,C),b(_))return}else{Yt(v,S,Ke(404,{pathname:C}),{flushSync:V});return}}F.set(v,H);let re=W,X=(await Zr("action",w,ee,[_],D,v))[_.route.id];if(ee.signal.aborted){F.get(v)===H&&F.delete(v);return}if(c.v7_fetcherPersist&&Fe.has(v)){if(Gn(X)||dt(X)){pn(v,gn(void 0));return}}else{if(Gn(X))if(F.delete(v),ue>re){pn(v,gn(void 0));return}else return tt.add(v),pn(v,si(N)),Bn(ee,X,!1,{fetcherSubmission:N});if(dt(X)){Yt(v,S,X.error);return}}if(Tn(X))throw Ke(400,{type:"defer-action"});let Ae=w.navigation.location||w.location,_e=dr(e.history,Ae,H.signal),Xr=a||l,Gt=w.navigation.state!=="idle"?Wn(Xr,w.navigation.location,u):w.matches;K(Gt,"Didn't find any matches after fetcher action");let cr=++W;ce.set(v,cr);let mn=si(N,X.data);w.fetchers.set(v,mn);let[ho,Kt]=Gf(e.history,w,Gt,N,Ae,!1,c.v7_skipActionErrorRevalidation,_t,dn,I,Fe,nt,tt,Xr,u,[_.route.id,X]);Kt.filter(Ce=>Ce.key!==v).forEach(Ce=>{let Zt=Ce.key,Pc=w.fetchers.get(Zt),Yp=si(void 0,Pc?Pc.data:void 0);w.fetchers.set(Zt,Yp),F.has(Zt)&&hn(Zt),Ce.controller&&F.set(Zt,Ce.controller)}),qe({fetchers:new Map(w.fetchers)});let mo=()=>Kt.forEach(Ce=>hn(Ce.key));H.signal.addEventListener("abort",mo);let{loaderResults:vo,fetcherResults:go}=await vc(w,Gt,ho,Kt,_e);if(H.signal.aborted)return;H.signal.removeEventListener("abort",mo),ce.delete(v),F.delete(v),Kt.forEach(Ce=>F.delete(Ce.key));let G=zo(vo);if(G)return Bn(_e,G.result,!1);if(G=zo(go),G)return tt.add(G.key),Bn(_e,G.result,!1);let{loaderData:Ee,errors:ct}=Jf(w,Gt,ho,vo,void 0,Kt,go,St);if(w.fetchers.has(v)){let Ce=gn(X.data);w.fetchers.set(v,Ce)}Sc(cr),w.navigation.state==="loading"&&cr>ue?(K($,"Expected pending action"),Y&&Y.abort(),sr(w.navigation.location,{matches:Gt,loaderData:Ee,errors:ct,fetchers:new Map(w.fetchers)})):(qe({errors:ct,loaderData:ed(w.loaderData,Ee,Gt,ct),fetchers:new Map(w.fetchers)}),_t=!1)}async function Hp(v,S,C,_,D,B,V,N){let b=w.fetchers.get(v);pn(v,si(N,b?b.data:void 0),{flushSync:V});let U=new AbortController,H=dr(e.history,C,U.signal);if(B){let X=await po(D,C,H.signal);if(X.type==="aborted")return;if(X.type==="error"){let{error:Ae}=co(C,X);Yt(v,S,Ae,{flushSync:V});return}else if(X.matches)D=X.matches,_=gi(D,C);else{Yt(v,S,Ke(404,{pathname:C}),{flushSync:V});return}}F.set(v,U);let ee=W,fe=(await Zr("loader",w,H,[_],D,v))[_.route.id];if(Tn(fe)&&(fe=await sc(fe,H.signal,!0)||fe),F.get(v)===U&&F.delete(v),!H.signal.aborted){if(Fe.has(v)){pn(v,gn(void 0));return}if(Gn(fe))if(ue>ee){pn(v,gn(void 0));return}else{tt.add(v),await Bn(H,fe,!1);return}if(dt(fe)){Yt(v,S,fe.error);return}K(!Tn(fe),"Unhandled fetcher deferred data"),pn(v,gn(fe.data))}}async function Bn(v,S,C,_){let{submission:D,fetcherSubmission:B,replace:V}=_===void 0?{}:_;S.response.headers.has("X-Remix-Revalidate")&&(_t=!0);let N=S.response.headers.get("Location");K(N,"Expected a Location header on the redirect Response"),N=Zf(N,new URL(v.url),u);let b=Yi(w.location,N,{_isRedirect:!0});if(n){let X=!1;if(S.response.headers.has("X-Remix-Reload-Document"))X=!0;else if(uc.test(N)){const Ae=e.history.createURL(N);X=Ae.origin!==t.location.origin||Kr(Ae.pathname,u)==null}if(X){V?t.location.replace(N):t.location.assign(N);return}}Y=null;let U=V===!0||S.response.headers.has("X-Remix-Replace")?Re.Replace:Re.Push,{formMethod:H,formAction:ee,formEncType:re}=w.navigation;!D&&!B&&H&&ee&&re&&(D=id(w.navigation));let fe=D||B;if(b2.has(S.response.status)&&fe&&Ot(fe.formMethod))await Hn(U,b,{submission:ge({},fe,{formAction:N}),preventScrollReset:A,enableViewTransition:C?ae:void 0});else{let X=Qa(b,D);await Hn(U,b,{overrideNavigation:X,fetcherSubmission:B,preventScrollReset:A,enableViewTransition:C?ae:void 0})}}async function Zr(v,S,C,_,D,B){let V,N={};try{V=await J2(s,v,S,C,_,D,B,o,i)}catch(b){return _.forEach(U=>{N[U.route.id]={type:le.error,error:b}}),N}for(let[b,U]of Object.entries(V))if(lg(U)){let H=U.result;N[b]={type:le.redirect,response:ng(H,C,b,D,u,c.v7_relativeSplatPath)}}else N[b]=await tg(U);return N}async function vc(v,S,C,_,D){let B=v.matches,V=Zr("loader",v,D,C,S,null),N=Promise.all(_.map(async H=>{if(H.matches&&H.match&&H.controller){let re=(await Zr("loader",v,dr(e.history,H.path,H.controller.signal),[H.match],H.matches,H.key))[H.match.route.id];return{[H.key]:re}}else return Promise.resolve({[H.key]:{type:le.error,error:Ke(404,{pathname:H.path})}})})),b=await V,U=(await N).reduce((H,ee)=>Object.assign(H,ee),{});return await Promise.all([sg(S,b,D.signal,B,v.loaderData),cg(S,U,_)]),{loaderResults:b,fetcherResults:U}}function ha(){_t=!0,dn.push(...va()),nt.forEach((v,S)=>{F.has(S)&&(I.add(S),hn(S))})}function pn(v,S,C){C===void 0&&(C={}),w.fetchers.set(v,S),qe({fetchers:new Map(w.fetchers)},{flushSync:(C&&C.flushSync)===!0})}function Yt(v,S,C,_){_===void 0&&(_={});let D=Pr(w.matches,S);uo(v),qe({errors:{[D.route.id]:C},fetchers:new Map(w.fetchers)},{flushSync:(_&&_.flushSync)===!0})}function gc(v){return c.v7_fetcherPersist&&(qt.set(v,(qt.get(v)||0)+1),Fe.has(v)&&Fe.delete(v)),w.fetchers.get(v)||V2}function uo(v){let S=w.fetchers.get(v);F.has(v)&&!(S&&S.state==="loading"&&ce.has(v))&&hn(v),nt.delete(v),ce.delete(v),tt.delete(v),Fe.delete(v),I.delete(v),w.fetchers.delete(v)}function Bp(v){if(c.v7_fetcherPersist){let S=(qt.get(v)||0)-1;S<=0?(qt.delete(v),Fe.add(v)):qt.set(v,S)}else uo(v);qe({fetchers:new Map(w.fetchers)})}function hn(v){let S=F.get(v);K(S,"Expected fetch controller: "+v),S.abort(),F.delete(v)}function yc(v){for(let S of v){let C=gc(S),_=gn(C.data);w.fetchers.set(S,_)}}function wc(){let v=[],S=!1;for(let C of tt){let _=w.fetchers.get(C);K(_,"Expected fetcher: "+C),_.state==="loading"&&(tt.delete(C),v.push(C),S=!0)}return yc(v),S}function Sc(v){let S=[];for(let[C,_]of ce)if(_0}function bp(v,S){let C=w.blockers.get(v)||ui;return Un.get(v)!==S&&Un.set(v,S),C}function xc(v){w.blockers.delete(v),Un.delete(v)}function so(v,S){let C=w.blockers.get(v)||ui;K(C.state==="unblocked"&&S.state==="blocked"||C.state==="blocked"&&S.state==="blocked"||C.state==="blocked"&&S.state==="proceeding"||C.state==="blocked"&&S.state==="unblocked"||C.state==="proceeding"&&S.state==="unblocked","Invalid blocker state transition: "+C.state+" -> "+S.state);let _=new Map(w.blockers);_.set(v,S),qe({blockers:_})}function Ec(v){let{currentLocation:S,nextLocation:C,historyAction:_}=v;if(Un.size===0)return;Un.size>1&&Vr(!1,"A router only supports one blocker at a time");let D=Array.from(Un.entries()),[B,V]=D[D.length-1],N=w.blockers.get(B);if(!(N&&N.state==="proceeding")&&V({currentLocation:S,nextLocation:C,historyAction:_}))return B}function ma(v){let S=Ke(404,{pathname:v}),C=a||l,{matches:_,route:D}=nd(C);return va(),{notFoundMatches:_,route:D,error:S}}function co(v,S){return{boundaryId:Pr(S.partialMatches).route.id,error:Ke(400,{type:"route-discovery",pathname:v,message:S.error!=null&&"message"in S.error?S.error:String(S.error)})}}function va(v){let S=[];return St.forEach((C,_)=>{(!v||v(_))&&(C.cancel(),S.push(_),St.delete(_))}),S}function Vp(v,S,C){if(P=v,p=S,m=C||null,!g&&w.navigation===Wa){g=!0;let _=Tc(w.location,w.matches);_!=null&&qe({restoreScrollPosition:_})}return()=>{P=null,p=null,m=null}}function Cc(v,S){return m&&m(v,S.map(_=>x2(_,w.loaderData)))||v.key}function Wp(v,S){if(P&&p){let C=Cc(v,S);P[C]=p()}}function Tc(v,S){if(P){let C=Cc(v,S),_=P[C];if(typeof _=="number")return _}return null}function fo(v,S,C){if(f){if(x.has(C))return{active:!1,matches:v};if(v){if(Object.keys(v[0].params).length>0)return{active:!0,matches:el(S,C,u,!0)}}else return{active:!0,matches:el(S,C,u,!0)||[]}}return{active:!1,matches:null}}async function po(v,S,C){let _=v;for(;;){let D=a==null,B=a||l;try{await K2(f,S,_,B,o,i,Op,C)}catch(b){return{type:"error",error:b,partialMatches:_}}finally{D&&(l=[...l])}if(C.aborted)return{type:"aborted"};let V=Wn(B,S,u);if(V)return kc(S,x),{type:"success",matches:V};let N=el(B,S,u,!0);if(!N||_.length===N.length&&_.every((b,U)=>b.route.id===N[U].route.id))return kc(S,x),{type:"success",matches:null};_=N}}function kc(v,S){if(S.size>=E){let C=S.values().next().value;S.delete(C)}S.add(v)}function Qp(v){o={},a=Gi(v,i,void 0,o)}function qp(v,S){let C=a==null;up(v,S,a||l,o,i),C&&(l=[...l],qe({}))}return L={get basename(){return u},get future(){return c},get state(){return w},get routes(){return l},get window(){return t},initialize:Np,subscribe:Ip,enableScrollRestoration:Vp,navigate:hc,fetch:$p,revalidate:Dp,createHref:v=>e.history.createHref(v),encodeLocation:v=>e.history.encodeLocation(v),getFetcher:gc,deleteFetcher:Bp,dispose:Ap,getBlocker:bp,deleteBlocker:xc,patchRoutes:qp,_internalFetchControllers:F,_internalActiveDeferreds:St,_internalSetRoutes:Qp},L}function q2(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function Yu(e,t,n,r,i,o,l,a){let u,s;if(l){u=[];for(let c of t)if(u.push(c),c.route.id===l){s=c;break}}else u=t,s=t[t.length-1];let f=ac(i||".",lc(u,o),Kr(e.pathname,n)||e.pathname,a==="path");return i==null&&(f.search=e.search,f.hash=e.hash),(i==null||i===""||i===".")&&s&&s.route.index&&!cc(f.search)&&(f.search=f.search?f.search.replace(/^\?/,"?index&"):"?index"),r&&n!=="/"&&(f.pathname=f.pathname==="/"?n:on([n,f.pathname])),ir(f)}function Yf(e,t,n,r){if(!r||!q2(r))return{path:n};if(r.formMethod&&!ug(r.formMethod))return{path:n,error:Ke(405,{method:r.formMethod})};let i=()=>({path:n,error:Ke(400,{type:"invalid-body"})}),o=r.formMethod||"get",l=e?o.toUpperCase():o.toLowerCase(),a=sp(n);if(r.body!==void 0){if(r.formEncType==="text/plain"){if(!Ot(l))return i();let h=typeof r.body=="string"?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((y,E)=>{let[x,P]=E;return""+y+x+"="+P+` -`},""):String(r.body);return{path:n,submission:{formMethod:l,formAction:a,formEncType:r.formEncType,formData:void 0,json:void 0,text:h}}}else if(r.formEncType==="application/json"){if(!Ot(l))return i();try{let h=typeof r.body=="string"?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:l,formAction:a,formEncType:r.formEncType,formData:void 0,json:h,text:void 0}}}catch{return i()}}}K(typeof FormData=="function","FormData is not available in this environment");let u,s;if(r.formData)u=Gu(r.formData),s=r.formData;else if(r.body instanceof FormData)u=Gu(r.body),s=r.body;else if(r.body instanceof URLSearchParams)u=r.body,s=Xf(u);else if(r.body==null)u=new URLSearchParams,s=new FormData;else try{u=new URLSearchParams(r.body),s=Xf(u)}catch{return i()}let f={formMethod:l,formAction:a,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:s,json:void 0,text:void 0};if(Ot(f.formMethod))return{path:n,submission:f};let c=jn(n);return t&&c.search&&cc(c.search)&&u.append("index",""),c.search="?"+u,{path:ir(c),submission:f}}function Y2(e,t){let n=e;if(t){let r=e.findIndex(i=>i.route.id===t);r>=0&&(n=e.slice(0,r))}return n}function Gf(e,t,n,r,i,o,l,a,u,s,f,c,h,y,E,x){let P=x?dt(x[1])?x[1].error:x[1].data:void 0,m=e.createURL(t.location),p=e.createURL(i),g=x&&dt(x[1])?x[0]:void 0,T=g?Y2(n,g):n,R=x?x[1].statusCode:void 0,O=l&&R&&R>=400,L=T.filter(($,A)=>{let{route:Y}=$;if(Y.lazy)return!0;if(Y.loader==null)return!1;if(o)return typeof Y.loader!="function"||Y.loader.hydrate?!0:t.loaderData[Y.id]===void 0&&(!t.errors||t.errors[Y.id]===void 0);if(G2(t.loaderData,t.matches[A],$)||u.some(xe=>xe===$.route.id))return!0;let ae=t.matches[A],Pe=$;return Kf($,ge({currentUrl:m,currentParams:ae.params,nextUrl:p,nextParams:Pe.params},r,{actionResult:P,actionStatus:R,defaultShouldRevalidate:O?!1:a||m.pathname+m.search===p.pathname+p.search||m.search!==p.search||ap(ae,Pe)}))}),w=[];return c.forEach(($,A)=>{if(o||!n.some(Ft=>Ft.route.id===$.routeId)||f.has(A))return;let Y=Wn(y,$.path,E);if(!Y){w.push({key:A,routeId:$.routeId,path:$.path,matches:null,match:null,controller:null});return}let ae=t.fetchers.get(A),Pe=gi(Y,$.path),xe=!1;h.has(A)?xe=!1:s.has(A)?(s.delete(A),xe=!0):ae&&ae.state!=="idle"&&ae.data===void 0?xe=a:xe=Kf(Pe,ge({currentUrl:m,currentParams:t.matches[t.matches.length-1].params,nextUrl:p,nextParams:n[n.length-1].params},r,{actionResult:P,actionStatus:R,defaultShouldRevalidate:O?!1:a})),xe&&w.push({key:A,routeId:$.routeId,path:$.path,matches:Y,match:Pe,controller:new AbortController})}),[L,w]}function G2(e,t,n){let r=!t||n.route.id!==t.route.id,i=e[n.route.id]===void 0;return r||i}function ap(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function Kf(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n=="boolean")return n}return t.defaultShouldRevalidate}async function K2(e,t,n,r,i,o,l,a){let u=[t,...n.map(s=>s.route.id)].join("-");try{let s=l.get(u);s||(s=e({path:t,matches:n,patch:(f,c)=>{a.aborted||up(f,c,r,i,o)}}),l.set(u,s)),s&&og(s)&&await s}finally{l.delete(u)}}function up(e,t,n,r,i){if(e){var o;let l=r[e];K(l,"No route found to patch children into: routeId = "+e);let a=Gi(t,i,[e,"patch",String(((o=l.children)==null?void 0:o.length)||"0")],r);l.children?l.children.push(...a):l.children=a}else{let l=Gi(t,i,["patch",String(n.length||"0")],r);n.push(...l)}}async function Z2(e,t,n){if(!e.lazy)return;let r=await e.lazy();if(!e.lazy)return;let i=n[e.id];K(i,"No route found in manifest");let o={};for(let l in r){let u=i[l]!==void 0&&l!=="hasErrorBoundary";Vr(!u,'Route "'+i.id+'" has a static property "'+l+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+l+'" will be ignored.')),!u&&!w2.has(l)&&(o[l]=r[l])}Object.assign(i,o),Object.assign(i,ge({},t(i),{lazy:void 0}))}async function X2(e){let{matches:t}=e,n=t.filter(i=>i.shouldLoad);return(await Promise.all(n.map(i=>i.resolve()))).reduce((i,o,l)=>Object.assign(i,{[n[l].route.id]:o}),{})}async function J2(e,t,n,r,i,o,l,a,u,s){let f=o.map(y=>y.route.lazy?Z2(y.route,u,a):void 0),c=o.map((y,E)=>{let x=f[E],P=i.some(p=>p.route.id===y.route.id);return ge({},y,{shouldLoad:P,resolve:async p=>(p&&r.method==="GET"&&(y.route.lazy||y.route.loader)&&(P=!0),P?eg(t,r,y,x,p,s):Promise.resolve({type:le.data,result:void 0}))})}),h=await e({matches:c,request:r,params:o[0].params,fetcherKey:l,context:s});try{await Promise.all(f)}catch{}return h}async function eg(e,t,n,r,i,o){let l,a,u=s=>{let f,c=new Promise((E,x)=>f=x);a=()=>f(),t.signal.addEventListener("abort",a);let h=E=>typeof s!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+e+'" [routeId: '+n.route.id+"]"))):s({request:t,params:n.params,context:o},...E!==void 0?[E]:[]),y=(async()=>{try{return{type:"data",result:await(i?i(x=>h(x)):h())}}catch(E){return{type:"error",result:E}}})();return Promise.race([y,c])};try{let s=n.route[e];if(r)if(s){let f,[c]=await Promise.all([u(s).catch(h=>{f=h}),r]);if(f!==void 0)throw f;l=c}else if(await r,s=n.route[e],s)l=await u(s);else if(e==="action"){let f=new URL(t.url),c=f.pathname+f.search;throw Ke(405,{method:t.method,pathname:c,routeId:n.route.id})}else return{type:le.data,result:void 0};else if(s)l=await u(s);else{let f=new URL(t.url),c=f.pathname+f.search;throw Ke(404,{pathname:c})}K(l.result!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+n.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(s){return{type:le.error,result:s}}finally{a&&t.signal.removeEventListener("abort",a)}return l}async function tg(e){let{result:t,type:n}=e;if(cp(t)){let s;try{let f=t.headers.get("Content-Type");f&&/\bapplication\/json\b/.test(f)?t.body==null?s=null:s=await t.json():s=await t.text()}catch(f){return{type:le.error,error:f}}return n===le.error?{type:le.error,error:new Rl(t.status,t.statusText,s),statusCode:t.status,headers:t.headers}:{type:le.data,data:s,statusCode:t.status,headers:t.headers}}if(n===le.error){if(rd(t)){var r;if(t.data instanceof Error){var i;return{type:le.error,error:t.data,statusCode:(i=t.init)==null?void 0:i.status}}t=new Rl(((r=t.init)==null?void 0:r.status)||500,void 0,t.data)}return{type:le.error,error:t,statusCode:ca(t)?t.status:void 0}}if(ag(t)){var o,l;return{type:le.deferred,deferredData:t,statusCode:(o=t.init)==null?void 0:o.status,headers:((l=t.init)==null?void 0:l.headers)&&new Headers(t.init.headers)}}if(rd(t)){var a,u;return{type:le.data,data:t.data,statusCode:(a=t.init)==null?void 0:a.status,headers:(u=t.init)!=null&&u.headers?new Headers(t.init.headers):void 0}}return{type:le.data,data:t}}function ng(e,t,n,r,i,o){let l=e.headers.get("Location");if(K(l,"Redirects returned/thrown from loaders/actions must have a Location header"),!uc.test(l)){let a=r.slice(0,r.findIndex(u=>u.route.id===n)+1);l=Yu(new URL(t.url),a,i,!0,l,o),e.headers.set("Location",l)}return e}function Zf(e,t,n){if(uc.test(e)){let r=e,i=r.startsWith("//")?new URL(t.protocol+r):new URL(r),o=Kr(i.pathname,n)!=null;if(i.origin===t.origin&&o)return i.pathname+i.search+i.hash}return e}function dr(e,t,n,r){let i=e.createURL(sp(t)).toString(),o={signal:n};if(r&&Ot(r.formMethod)){let{formMethod:l,formEncType:a}=r;o.method=l.toUpperCase(),a==="application/json"?(o.headers=new Headers({"Content-Type":a}),o.body=JSON.stringify(r.json)):a==="text/plain"?o.body=r.text:a==="application/x-www-form-urlencoded"&&r.formData?o.body=Gu(r.formData):o.body=r.formData}return new Request(i,o)}function Gu(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,typeof r=="string"?r:r.name);return t}function Xf(e){let t=new FormData;for(let[n,r]of e.entries())t.append(n,r);return t}function rg(e,t,n,r,i){let o={},l=null,a,u=!1,s={},f=n&&dt(n[1])?n[1].error:void 0;return e.forEach(c=>{if(!(c.route.id in t))return;let h=c.route.id,y=t[h];if(K(!Gn(y),"Cannot handle redirect results in processLoaderData"),dt(y)){let E=y.error;f!==void 0&&(E=f,f=void 0),l=l||{};{let x=Pr(e,h);l[x.route.id]==null&&(l[x.route.id]=E)}o[h]=void 0,u||(u=!0,a=ca(y.error)?y.error.status:500),y.headers&&(s[h]=y.headers)}else Tn(y)?(r.set(h,y.deferredData),o[h]=y.deferredData.data,y.statusCode!=null&&y.statusCode!==200&&!u&&(a=y.statusCode),y.headers&&(s[h]=y.headers)):(o[h]=y.data,y.statusCode&&y.statusCode!==200&&!u&&(a=y.statusCode),y.headers&&(s[h]=y.headers))}),f!==void 0&&n&&(l={[n[0]]:f},o[n[0]]=void 0),{loaderData:o,errors:l,statusCode:a||200,loaderHeaders:s}}function Jf(e,t,n,r,i,o,l,a){let{loaderData:u,errors:s}=rg(t,r,i,a);return o.forEach(f=>{let{key:c,match:h,controller:y}=f,E=l[c];if(K(E,"Did not find corresponding fetcher result"),!(y&&y.signal.aborted))if(dt(E)){let x=Pr(e.matches,h==null?void 0:h.route.id);s&&s[x.route.id]||(s=ge({},s,{[x.route.id]:E.error})),e.fetchers.delete(c)}else if(Gn(E))K(!1,"Unhandled fetcher revalidation redirect");else if(Tn(E))K(!1,"Unhandled fetcher deferred data");else{let x=gn(E.data);e.fetchers.set(c,x)}}),{loaderData:u,errors:s}}function ed(e,t,n,r){let i=ge({},t);for(let o of n){let l=o.route.id;if(t.hasOwnProperty(l)?t[l]!==void 0&&(i[l]=t[l]):e[l]!==void 0&&o.route.loader&&(i[l]=e[l]),r&&r.hasOwnProperty(l))break}return i}function td(e){return e?dt(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function Pr(e,t){return(t?e.slice(0,e.findIndex(r=>r.route.id===t)+1):[...e]).reverse().find(r=>r.route.hasErrorBoundary===!0)||e[0]}function nd(e){let t=e.length===1?e[0]:e.find(n=>n.index||!n.path||n.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function Ke(e,t){let{pathname:n,routeId:r,method:i,type:o,message:l}=t===void 0?{}:t,a="Unknown Server Error",u="Unknown @remix-run/router error";return e===400?(a="Bad Request",o==="route-discovery"?u='Unable to match URL "'+n+'" - the `unstable_patchRoutesOnNavigation()` '+(`function threw the following error: -`+l):i&&n&&r?u="You made a "+i+' request to "'+n+'" but '+('did not provide a `loader` for route "'+r+'", ')+"so there is no way to handle the request.":o==="defer-action"?u="defer() is not supported in actions":o==="invalid-body"&&(u="Unable to encode submission body")):e===403?(a="Forbidden",u='Route "'+r+'" does not match URL "'+n+'"'):e===404?(a="Not Found",u='No route matches URL "'+n+'"'):e===405&&(a="Method Not Allowed",i&&n&&r?u="You made a "+i.toUpperCase()+' request to "'+n+'" but '+('did not provide an `action` for route "'+r+'", ')+"so there is no way to handle the request.":i&&(u='Invalid request method "'+i.toUpperCase()+'"')),new Rl(e||500,a,new Error(u),!0)}function zo(e){let t=Object.entries(e);for(let n=t.length-1;n>=0;n--){let[r,i]=t[n];if(Gn(i))return{key:r,result:i}}}function sp(e){let t=typeof e=="string"?jn(e):e;return ir(ge({},t,{hash:""}))}function ig(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function og(e){return typeof e=="object"&&e!=null&&"then"in e}function lg(e){return cp(e.result)&&B2.has(e.result.status)}function Tn(e){return e.type===le.deferred}function dt(e){return e.type===le.error}function Gn(e){return(e&&e.type)===le.redirect}function rd(e){return typeof e=="object"&&e!=null&&"type"in e&&"data"in e&&"init"in e&&e.type==="DataWithResponseInit"}function ag(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 cp(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function ug(e){return H2.has(e.toLowerCase())}function Ot(e){return $2.has(e.toLowerCase())}async function sg(e,t,n,r,i){let o=Object.entries(t);for(let l=0;l(h==null?void 0:h.route.id)===a);if(!s)continue;let f=r.find(h=>h.route.id===s.route.id),c=f!=null&&!ap(f,s)&&(i&&i[s.route.id])!==void 0;Tn(u)&&c&&await sc(u,n,!1).then(h=>{h&&(t[a]=h)})}}async function cg(e,t,n){for(let r=0;r(s==null?void 0:s.route.id)===o)&&Tn(a)&&(K(l,"Expected an AbortController for revalidating fetcher deferred result"),await sc(a,l.signal,!0).then(s=>{s&&(t[i]=s)}))}}async function sc(e,t,n){if(n===void 0&&(n=!1),!await e.deferredData.resolveData(t)){if(n)try{return{type:le.data,data:e.deferredData.unwrappedData}}catch(i){return{type:le.error,error:i}}return{type:le.data,data:e.deferredData.data}}}function cc(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function gi(e,t){let n=typeof t=="string"?jn(t).search:t.search;if(e[e.length-1].route.index&&cc(n||""))return e[e.length-1];let r=ip(e);return r[r.length-1]}function id(e){let{formMethod:t,formAction:n,formEncType:r,text:i,formData:o,json:l}=e;if(!(!t||!n||!r)){if(i!=null)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:i};if(o!=null)return{formMethod:t,formAction:n,formEncType:r,formData:o,json:void 0,text:void 0};if(l!==void 0)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:l,text:void 0}}}function Qa(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function fg(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function si(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function dg(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function gn(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function pg(e,t){try{let n=e.sessionStorage.getItem(lp);if(n){let r=JSON.parse(n);for(let[i,o]of Object.entries(r||{}))o&&Array.isArray(o)&&t.set(i,new Set(o||[]))}}catch{}}function hg(e,t){if(t.size>0){let n={};for(let[r,i]of t)n[r]=[...i];try{e.sessionStorage.setItem(lp,JSON.stringify(n))}catch(r){Vr(!1,"Failed to save applied view transitions in sessionStorage ("+r+").")}}}/** - * React Router v6.26.2 - * - * 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 Ll(){return Ll=Object.assign?Object.assign.bind():function(e){for(var t=1;t{a.current=!0}),k.useCallback(function(s,f){if(f===void 0&&(f={}),!a.current)return;if(typeof s=="number"){r.go(s);return}let c=ac(s,JSON.parse(l),o,f.relative==="path");e==null&&t!=="/"&&(c.pathname=c.pathname==="/"?t:on([t,c.pathname])),(f.replace?r.replace:r.push)(c,f.state,f)},[t,r,l,o,e])}const yg=k.createContext(null);function wg(e){let t=k.useContext($n).outlet;return t&&k.createElement(yg.Provider,{value:e},t)}function hp(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=k.useContext(ar),{matches:i}=k.useContext($n),{pathname:o}=ur(),l=JSON.stringify(lc(i,r.v7_relativeSplatPath));return k.useMemo(()=>ac(e,JSON.parse(l),o,n==="path"),[e,l,o,n])}function Sg(e,t,n,r){lo()||K(!1);let{navigator:i}=k.useContext(ar),{matches:o}=k.useContext($n),l=o[o.length-1],a=l?l.params:{};l&&l.pathname;let u=l?l.pathnameBase:"/";l&&l.route;let s=ur(),f;f=s;let c=f.pathname||"/",h=c;if(u!=="/"){let x=u.replace(/^\//,"").split("/");h="/"+c.replace(/^\//,"").split("/").slice(x.length).join("/")}let y=Wn(e,{pathname:h});return kg(y&&y.map(x=>Object.assign({},x,{params:Object.assign({},a,x.params),pathname:on([u,i.encodeLocation?i.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?u:on([u,i.encodeLocation?i.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),o,n,r)}function xg(){let e=Lg(),t=ca(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return k.createElement(k.Fragment,null,k.createElement("h2",null,"Unexpected Application Error!"),k.createElement("h3",{style:{fontStyle:"italic"}},t),n?k.createElement("pre",{style:i},n):null,null)}const Eg=k.createElement(xg,null);class Cg extends k.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?k.createElement($n.Provider,{value:this.props.routeContext},k.createElement(dp.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Tg(e){let{routeContext:t,match:n,children:r}=e,i=k.useContext(fa);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),k.createElement($n.Provider,{value:t},r)}function kg(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if(!n)return null;if(n.errors)e=n.matches;else if((o=r)!=null&&o.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let l=e,a=(i=n)==null?void 0:i.errors;if(a!=null){let f=l.findIndex(c=>c.route.id&&(a==null?void 0:a[c.route.id])!==void 0);f>=0||K(!1),l=l.slice(0,Math.min(l.length,f+1))}let u=!1,s=-1;if(n&&r&&r.v7_partialHydration)for(let f=0;f=0?l=l.slice(0,s+1):l=[l[0]];break}}}return l.reduceRight((f,c,h)=>{let y,E=!1,x=null,P=null;n&&(y=a&&c.route.id?a[c.route.id]:void 0,x=c.route.errorElement||Eg,u&&(s<0&&h===0?(Og("route-fallback"),E=!0,P=null):s===h&&(E=!0,P=c.route.hydrateFallbackElement||null)));let m=t.concat(l.slice(0,h+1)),p=()=>{let g;return y?g=x:E?g=P:c.route.Component?g=k.createElement(c.route.Component,null):c.route.element?g=c.route.element:g=f,k.createElement(Tg,{match:c,routeContext:{outlet:f,matches:m,isDataRoute:n!=null},children:g})};return n&&(c.route.ErrorBoundary||c.route.errorElement||h===0)?k.createElement(Cg,{location:n.location,revalidation:n.revalidation,component:x,error:y,children:p(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):p()},null)}var mp=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(mp||{}),Ml=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Ml||{});function Pg(e){let t=k.useContext(fa);return t||K(!1),t}function _g(e){let t=k.useContext(fp);return t||K(!1),t}function Rg(e){let t=k.useContext($n);return t||K(!1),t}function vp(e){let t=Rg(),n=t.matches[t.matches.length-1];return n.route.id||K(!1),n.route.id}function Lg(){var e;let t=k.useContext(dp),n=_g(Ml.UseRouteError),r=vp(Ml.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function Mg(){let{router:e}=Pg(mp.UseNavigateStable),t=vp(Ml.UseNavigateStable),n=k.useRef(!1);return pp(()=>{n.current=!0}),k.useCallback(function(i,o){o===void 0&&(o={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,Ll({fromRouteId:t},o)))},[e,t])}const od={};function Og(e,t,n){od[e]||(od[e]=!0)}function Ng(e){return wg(e.context)}function Ag(e){let{basename:t="/",children:n=null,location:r,navigationType:i=Re.Pop,navigator:o,static:l=!1,future:a}=e;lo()&&K(!1);let u=t.replace(/^\/*/,"/"),s=k.useMemo(()=>({basename:u,navigator:o,static:l,future:Ll({v7_relativeSplatPath:!1},a)}),[u,a,o,l]);typeof r=="string"&&(r=jn(r));let{pathname:f="/",search:c="",hash:h="",state:y=null,key:E="default"}=r,x=k.useMemo(()=>{let P=Kr(f,u);return P==null?null:{location:{pathname:P,search:c,hash:h,state:y,key:E},navigationType:i}},[u,f,c,h,y,E,i]);return x==null?null:k.createElement(ar.Provider,{value:s},k.createElement(fc.Provider,{children:n,value:x}))}new Promise(()=>{});function Ig(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:k.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:k.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:k.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}/** - * React Router DOM v6.26.2 - * - * 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 Ki(){return Ki=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function zg(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Fg(e,t){return e.button===0&&(!t||t==="_self")&&!zg(e)}const jg=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],$g="6";try{window.__reactRouterVersion=$g}catch{}function Ug(e,t){return Q2({basename:void 0,future:Ki({},void 0,{v7_prependBasename:!0}),history:v2({window:void 0}),hydrationData:Hg(),routes:e,mapRouteProperties:Ig,unstable_dataStrategy:void 0,unstable_patchRoutesOnNavigation:void 0,window:void 0}).initialize()}function Hg(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=Ki({},t,{errors:Bg(t.errors)})),t}function Bg(e){if(!e)return null;let t=Object.entries(e),n={};for(let[r,i]of t)if(i&&i.__type==="RouteErrorResponse")n[r]=new Rl(i.status,i.statusText,i.data,i.internal===!0);else if(i&&i.__type==="Error"){if(i.__subType){let o=window[i.__subType];if(typeof o=="function")try{let l=new o(i.message);l.stack="",n[r]=l}catch{}}if(n[r]==null){let o=new Error(i.message);o.stack="",n[r]=o}}else n[r]=i;return n}const bg=k.createContext({isTransitioning:!1}),Vg=k.createContext(new Map),Wg="startTransition",ld=Za[Wg],Qg="flushSync",ad=m2[Qg];function qg(e){ld?ld(e):e()}function ci(e){ad?ad(e):e()}class Yg{constructor(){this.status="pending",this.promise=new Promise((t,n)=>{this.resolve=r=>{this.status==="pending"&&(this.status="resolved",t(r))},this.reject=r=>{this.status==="pending"&&(this.status="rejected",n(r))}})}}function Gg(e){let{fallbackElement:t,router:n,future:r}=e,[i,o]=k.useState(n.state),[l,a]=k.useState(),[u,s]=k.useState({isTransitioning:!1}),[f,c]=k.useState(),[h,y]=k.useState(),[E,x]=k.useState(),P=k.useRef(new Map),{v7_startTransition:m}=r||{},p=k.useCallback(w=>{m?qg(w):w()},[m]),g=k.useCallback((w,$)=>{let{deletedFetchers:A,unstable_flushSync:Y,unstable_viewTransitionOpts:ae}=$;A.forEach(xe=>P.current.delete(xe)),w.fetchers.forEach((xe,Ft)=>{xe.data!==void 0&&P.current.set(Ft,xe.data)});let Pe=n.window==null||n.window.document==null||typeof n.window.document.startViewTransition!="function";if(!ae||Pe){Y?ci(()=>o(w)):p(()=>o(w));return}if(Y){ci(()=>{h&&(f&&f.resolve(),h.skipTransition()),s({isTransitioning:!0,flushSync:!0,currentLocation:ae.currentLocation,nextLocation:ae.nextLocation})});let xe=n.window.document.startViewTransition(()=>{ci(()=>o(w))});xe.finished.finally(()=>{ci(()=>{c(void 0),y(void 0),a(void 0),s({isTransitioning:!1})})}),ci(()=>y(xe));return}h?(f&&f.resolve(),h.skipTransition(),x({state:w,currentLocation:ae.currentLocation,nextLocation:ae.nextLocation})):(a(w),s({isTransitioning:!0,flushSync:!1,currentLocation:ae.currentLocation,nextLocation:ae.nextLocation}))},[n.window,h,f,P,p]);k.useLayoutEffect(()=>n.subscribe(g),[n,g]),k.useEffect(()=>{u.isTransitioning&&!u.flushSync&&c(new Yg)},[u]),k.useEffect(()=>{if(f&&l&&n.window){let w=l,$=f.promise,A=n.window.document.startViewTransition(async()=>{p(()=>o(w)),await $});A.finished.finally(()=>{c(void 0),y(void 0),a(void 0),s({isTransitioning:!1})}),y(A)}},[p,l,f,n.window]),k.useEffect(()=>{f&&l&&i.location.key===l.location.key&&f.resolve()},[f,h,i.location,l]),k.useEffect(()=>{!u.isTransitioning&&E&&(a(E.state),s({isTransitioning:!0,flushSync:!1,currentLocation:E.currentLocation,nextLocation:E.nextLocation}),x(void 0))},[u.isTransitioning,E]),k.useEffect(()=>{},[]);let T=k.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:w=>n.navigate(w),push:(w,$,A)=>n.navigate(w,{state:$,preventScrollReset:A==null?void 0:A.preventScrollReset}),replace:(w,$,A)=>n.navigate(w,{replace:!0,state:$,preventScrollReset:A==null?void 0:A.preventScrollReset})}),[n]),R=n.basename||"/",O=k.useMemo(()=>({router:n,navigator:T,static:!1,basename:R}),[n,T,R]),L=k.useMemo(()=>({v7_relativeSplatPath:n.future.v7_relativeSplatPath}),[n.future.v7_relativeSplatPath]);return k.createElement(k.Fragment,null,k.createElement(fa.Provider,{value:O},k.createElement(fp.Provider,{value:i},k.createElement(Vg.Provider,{value:P.current},k.createElement(bg.Provider,{value:u},k.createElement(Ag,{basename:R,location:i.location,navigationType:i.historyAction,navigator:T,future:L},i.initialized||n.future.v7_partialHydration?k.createElement(Kg,{routes:n.routes,future:n.future,state:i}):t))))),null)}const Kg=k.memo(Zg);function Zg(e){let{routes:t,future:n,state:r}=e;return Sg(t,void 0,r,n)}const Xg=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Jg=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,_i=k.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:o,replace:l,state:a,target:u,to:s,preventScrollReset:f,unstable_viewTransition:c}=t,h=Dg(t,jg),{basename:y}=k.useContext(ar),E,x=!1;if(typeof s=="string"&&Jg.test(s)&&(E=s,Xg))try{let g=new URL(window.location.href),T=s.startsWith("//")?new URL(g.protocol+s):new URL(s),R=Kr(T.pathname,y);T.origin===g.origin&&R!=null?s=R+T.search+T.hash:x=!0}catch{}let P=mg(s,{relative:i}),m=ey(s,{replace:l,state:a,target:u,preventScrollReset:f,relative:i,unstable_viewTransition:c});function p(g){r&&r(g),g.defaultPrevented||m(g)}return k.createElement("a",Ki({},h,{href:E||P,onClick:x||o?r:p,ref:n,target:u}))});var ud;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(ud||(ud={}));var sd;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(sd||(sd={}));function ey(e,t){let{target:n,replace:r,state:i,preventScrollReset:o,relative:l,unstable_viewTransition:a}=t===void 0?{}:t,u=vg(),s=ur(),f=hp(e,{relative:l});return k.useCallback(c=>{if(Fg(c,n)){c.preventDefault();let h=r!==void 0?r:ir(s)===ir(f);u(e,{replace:h,state:i,preventScrollReset:o,relative:l,unstable_viewTransition:a})}},[s,u,f,r,i,n,e,o,l,a])}var ty=ps(function(e,t){var n=e.styles,r=ds([n],void 0,k.useContext(hs)),i=k.useRef();return zc(function(){var o=t.key+"-global",l=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,u=document.querySelector('style[data-emotion="'+o+" "+r.name+'"]');return t.sheet.tags.length&&(l.before=t.sheet.tags[0]),u!==null&&(a=!0,u.setAttribute("data-emotion",o),l.hydrate([u])),i.current=[l,a],function(){l.flush()}},[t]),zc(function(){var o=i.current,l=o[0],a=o[1];if(a){o[1]=!1;return}if(r.next!==void 0&&fs(t,r.next,!0),l.tags.length){var u=l.tags[l.tags.length-1].nextElementSibling;l.before=u,l.flush()}t.insert("",r,l,!1)},[t,r.name]),null});function q(){for(var e=arguments.length,t=new Array(e),n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},Uy=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e},Ku=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return n===!1?String(t):String(t).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")},Hy=function(t){var n=Dr(t,Q.TITLE),r=Dr(t,Zi.TITLE_TEMPLATE);if(r&&n)return r.replace(/%s/g,function(){return Array.isArray(n)?n.join(""):n});var i=Dr(t,Zi.DEFAULT_TITLE);return n||i||void 0},By=function(t){return Dr(t,Zi.ON_CHANGE_CLIENT_STATE)||function(){}},qa=function(t,n){return n.filter(function(r){return typeof r[t]<"u"}).map(function(r){return r[t]}).reduce(function(r,i){return rt({},r,i)},{})},by=function(t,n){return n.filter(function(r){return typeof r[Q.BASE]<"u"}).map(function(r){return r[Q.BASE]}).reverse().reduce(function(r,i){if(!r.length)for(var o=Object.keys(i),l=0;l=0;r--){var i=t[r];if(i.hasOwnProperty(n))return i[n]}return null},Vy=function(t){return{baseTag:by([me.HREF,me.TARGET],t),bodyAttributes:qa(Xn.BODY,t),defer:Dr(t,Zi.DEFER),encode:Dr(t,Zi.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:qa(Xn.HTML,t),linkTags:fi(Q.LINK,[me.REL,me.HREF],t),metaTags:fi(Q.META,[me.NAME,me.CHARSET,me.HTTPEQUIV,me.PROPERTY,me.ITEM_PROP],t),noscriptTags:fi(Q.NOSCRIPT,[me.INNER_HTML],t),onChangeClientState:By(t),scriptTags:fi(Q.SCRIPT,[me.SRC,me.INNER_HTML],t),styleTags:fi(Q.STYLE,[me.CSS_TEXT],t),title:Hy(t),titleAttributes:qa(Xn.TITLE,t)}},Zu=function(){var e=Date.now();return function(t){var n=Date.now();n-e>16?(e=n,t(n)):setTimeout(function(){Zu(t)},0)}}(),pd=function(t){return clearTimeout(t)},Wy=typeof window<"u"?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||Zu:global.requestAnimationFrame||Zu,Qy=typeof window<"u"?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||pd:global.cancelAnimationFrame||pd,qy=function(t){return console&&typeof console.warn=="function"&&console.warn(t)},di=null,Yy=function(t){di&&Qy(di),t.defer?di=Wy(function(){hd(t,function(){di=null})}):(hd(t),di=null)},hd=function(t,n){var r=t.baseTag,i=t.bodyAttributes,o=t.htmlAttributes,l=t.linkTags,a=t.metaTags,u=t.noscriptTags,s=t.onChangeClientState,f=t.scriptTags,c=t.styleTags,h=t.title,y=t.titleAttributes;Xu(Q.BODY,i),Xu(Q.HTML,o),Gy(h,y);var E={baseTag:pr(Q.BASE,r),linkTags:pr(Q.LINK,l),metaTags:pr(Q.META,a),noscriptTags:pr(Q.NOSCRIPT,u),scriptTags:pr(Q.SCRIPT,f),styleTags:pr(Q.STYLE,c)},x={},P={};Object.keys(E).forEach(function(m){var p=E[m],g=p.newTags,T=p.oldTags;g.length&&(x[m]=g),T.length&&(P[m]=E[m].oldTags)}),n&&n(),s(t,x,P)},Tp=function(t){return Array.isArray(t)?t.join(""):t},Gy=function(t,n){typeof t<"u"&&document.title!==t&&(document.title=Tp(t)),Xu(Q.TITLE,n)},Xu=function(t,n){var r=document.getElementsByTagName(t)[0];if(r){for(var i=r.getAttribute(At),o=i?i.split(","):[],l=[].concat(o),a=Object.keys(n),u=0;u=0;h--)r.removeAttribute(l[h]);o.length===l.length?r.removeAttribute(At):r.getAttribute(At)!==a.join(",")&&r.setAttribute(At,a.join(","))}},pr=function(t,n){var r=document.head||document.querySelector(Q.HEAD),i=r.querySelectorAll(t+"["+At+"]"),o=Array.prototype.slice.call(i),l=[],a=void 0;return n&&n.length&&n.forEach(function(u){var s=document.createElement(t);for(var f in u)if(u.hasOwnProperty(f))if(f===me.INNER_HTML)s.innerHTML=u.innerHTML;else if(f===me.CSS_TEXT)s.styleSheet?s.styleSheet.cssText=u.cssText:s.appendChild(document.createTextNode(u.cssText));else{var c=typeof u[f]>"u"?"":u[f];s.setAttribute(f,c)}s.setAttribute(At,"true"),o.some(function(h,y){return a=y,s.isEqualNode(h)})?o.splice(a,1):l.push(s)}),o.forEach(function(u){return u.parentNode.removeChild(u)}),l.forEach(function(u){return r.appendChild(u)}),{oldTags:o,newTags:l}},kp=function(t){return Object.keys(t).reduce(function(n,r){var i=typeof t[r]<"u"?r+'="'+t[r]+'"':""+r;return n?n+" "+i:i},"")},Ky=function(t,n,r,i){var o=kp(r),l=Tp(n);return o?"<"+t+" "+At+'="true" '+o+">"+Ku(l,i)+"":"<"+t+" "+At+'="true">'+Ku(l,i)+""},Zy=function(t,n,r){return n.reduce(function(i,o){var l=Object.keys(o).filter(function(s){return!(s===me.INNER_HTML||s===me.CSS_TEXT)}).reduce(function(s,f){var c=typeof o[f]>"u"?f:f+'="'+Ku(o[f],r)+'"';return s?s+" "+c:c},""),a=o.innerHTML||o.cssText||"",u=Dy.indexOf(t)===-1;return i+"<"+t+" "+At+'="true" '+l+(u?"/>":">"+a+"")},"")},Pp=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(t).reduce(function(r,i){return r[Ol[i]||i]=t[i],r},n)},Xy=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(t).reduce(function(r,i){return r[Iy[i]||i]=t[i],r},n)},Jy=function(t,n,r){var i,o=(i={key:n},i[At]=!0,i),l=Pp(r,o);return[_r.createElement(Q.TITLE,l,n)]},e4=function(t,n){return n.map(function(r,i){var o,l=(o={key:i},o[At]=!0,o);return Object.keys(r).forEach(function(a){var u=Ol[a]||a;if(u===me.INNER_HTML||u===me.CSS_TEXT){var s=r.innerHTML||r.cssText;l.dangerouslySetInnerHTML={__html:s}}else l[u]=r[a]}),_r.createElement(t,l)})},Xt=function(t,n,r){switch(t){case Q.TITLE:return{toComponent:function(){return Jy(t,n.title,n.titleAttributes)},toString:function(){return Ky(t,n.title,n.titleAttributes,r)}};case Xn.BODY:case Xn.HTML:return{toComponent:function(){return Pp(n)},toString:function(){return kp(n)}};default:return{toComponent:function(){return e4(t,n)},toString:function(){return Zy(t,n,r)}}}},_p=function(t){var n=t.baseTag,r=t.bodyAttributes,i=t.encode,o=t.htmlAttributes,l=t.linkTags,a=t.metaTags,u=t.noscriptTags,s=t.scriptTags,f=t.styleTags,c=t.title,h=c===void 0?"":c,y=t.titleAttributes;return{base:Xt(Q.BASE,n,i),bodyAttributes:Xt(Xn.BODY,r,i),htmlAttributes:Xt(Xn.HTML,o,i),link:Xt(Q.LINK,l,i),meta:Xt(Q.META,a,i),noscript:Xt(Q.NOSCRIPT,u,i),script:Xt(Q.SCRIPT,s,i),style:Xt(Q.STYLE,f,i),title:Xt(Q.TITLE,{title:h,titleAttributes:y},i)}},t4=function(t){var n,r;return r=n=function(i){$y(o,i);function o(){return Fy(this,o),Uy(this,i.apply(this,arguments))}return o.prototype.shouldComponentUpdate=function(a){return!_y(this.props,a)},o.prototype.mapNestedChildrenToProps=function(a,u){if(!u)return null;switch(a.type){case Q.SCRIPT:case Q.NOSCRIPT:return{innerHTML:u};case Q.STYLE:return{cssText:u}}throw new Error("<"+a.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},o.prototype.flattenArrayTypeChildren=function(a){var u,s=a.child,f=a.arrayTypeChildren,c=a.newChildProps,h=a.nestedChildren;return rt({},f,(u={},u[s.type]=[].concat(f[s.type]||[],[rt({},c,this.mapNestedChildrenToProps(s,h))]),u))},o.prototype.mapObjectTypeChildren=function(a){var u,s,f=a.child,c=a.newProps,h=a.newChildProps,y=a.nestedChildren;switch(f.type){case Q.TITLE:return rt({},c,(u={},u[f.type]=y,u.titleAttributes=rt({},h),u));case Q.BODY:return rt({},c,{bodyAttributes:rt({},h)});case Q.HTML:return rt({},c,{htmlAttributes:rt({},h)})}return rt({},c,(s={},s[f.type]=rt({},h),s))},o.prototype.mapArrayTypeChildrenToProps=function(a,u){var s=rt({},u);return Object.keys(a).forEach(function(f){var c;s=rt({},s,(c={},c[f]=a[f],c))}),s},o.prototype.warnOnInvalidChildren=function(a,u){return!0},o.prototype.mapChildrenToProps=function(a,u){var s=this,f={};return _r.Children.forEach(a,function(c){if(!(!c||!c.props)){var h=c.props,y=h.children,E=dd(h,["children"]),x=Xy(E);switch(s.warnOnInvalidChildren(c,y),c.type){case Q.LINK:case Q.META:case Q.NOSCRIPT:case Q.SCRIPT:case Q.STYLE:f=s.flattenArrayTypeChildren({child:c,arrayTypeChildren:f,newChildProps:x,nestedChildren:y});break;default:u=s.mapObjectTypeChildren({child:c,newProps:u,newChildProps:x,nestedChildren:y});break}}}),u=this.mapArrayTypeChildrenToProps(f,u),u},o.prototype.render=function(){var a=this.props,u=a.children,s=dd(a,["children"]),f=rt({},s);return u&&(f=this.mapChildrenToProps(u,f)),_r.createElement(t,f)},jy(o,null,[{key:"canUseDOM",set:function(a){t.canUseDOM=a}}]),o}(_r.Component),n.propTypes={base:he.object,bodyAttributes:he.object,children:he.oneOfType([he.arrayOf(he.node),he.node]),defaultTitle:he.string,defer:he.bool,encodeSpecialCharacters:he.bool,htmlAttributes:he.object,link:he.arrayOf(he.object),meta:he.arrayOf(he.object),noscript:he.arrayOf(he.object),onChangeClientState:he.func,script:he.arrayOf(he.object),style:he.arrayOf(he.object),title:he.string,titleAttributes:he.object,titleTemplate:he.string},n.defaultProps={defer:!0,encodeSpecialCharacters:!0},n.peek=t.peek,n.rewind=function(){var i=t.rewind();return i||(i=_p({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),i},r},n4=function(){return null},r4=xy(Vy,Yy,_p)(n4),Xi=t4(r4);Xi.renderStatic=Xi.rewind;function pa(){const e=k.useRef(null),t=ur();return k.useEffect(()=>{var n;(n=e.current)==null||n.classList.remove("transitioned")},[]),k.useEffect(()=>{setTimeout(()=>{var n;(n=e.current)==null||n.classList.add("transitioned")},50)},[t]),{ref:e}}const i4=q` - ${da} - ${dc} - display: flex; - gap: 8px; - flex-direction: column; - align-items: flex-start; - - li { - list-style: circle; - } - - p { - margin-block: 0; - } -`,o4=q` - gap: 16px; - flex-direction: row; - display: flex; - width: 100%; - - @media only screen and (max-width: ${fn}) { - justify-content: start; - flex-wrap: wrap; - } -`,l4=q` - display: flex; - align-items: center; - max-width: 42em; - font-size: large; - - @media only screen and (max-width: ${fn}) { - max-width: 100%; - } -`,md=q` - font-weight: bold; -`,Fo=q` - font-style: italic; - padding-inline-start: 8px; -`,jo=q` - margin-block-start: 0; -`;function a4(){const{ref:e}=pa(),t=`Experienced software developer with a decade of expertise in building - web applications, specializing in front-end development. Passionate - about modernizing legacy code and collaborating with UX teams to - design new innovative features.`;return j("div",{css:i4,ref:e,children:[j(Xi,{children:[d("meta",{name:"description",content:t}),d("title",{children:"Joseph D. Phelan"})]}),d("h1",{css:sy,children:"Home page for Joseph Phelan"}),j("div",{css:o4,children:[d(oy,{}),d("p",{css:l4,children:t})]}),d(uy,{}),d("h3",{children:"Work"}),d("p",{css:md,children:"Acquia"}),d("p",{css:Fo,children:"Staff software engineer (2024 - current)"}),j("ul",{css:jo,children:[d("li",{children:"Maintain cross team component library and documentation"}),d("li",{children:"Code with a focus of maintainability, A11y standards, and e2e testing"}),d("li",{children:"Conduct one-on-one coding sessions and demos to teach and support other developers"}),d("li",{children:"Ensure applications are up to date on dependencies and assist/troubleshoot any blockers"}),d("li",{children:"Collaborate with UX designers to iron out designs and patterns"}),d("li",{children:"Provide constructive feedback and recommendations in pull requests, contributing to the overall code quality and maintainability"}),d("li",{children:"Vet usage of new libraries to ensure they meet the company standards"})]}),d("p",{css:Fo,children:"Senior software engineer (2022 - 2024)"}),j("ul",{css:jo,children:[d("li",{children:"Develop cross application component library"}),d("li",{children:"Create smart components (micro frontend w/module federation) for use throughout product teams"}),d("li",{children:"Support maintain and document software functionality"}),d("li",{children:"Communicate new releases and features to product development teams"})]}),d("p",{css:Fo,children:"Business Systems Software Developer III (2019 - 2022)"}),j("ul",{css:jo,children:[d("li",{children:"Support a java/react web application and add new features as needed"}),d("li",{children:"Design, develop and test business solutions primarily on the Salesforce platform using apex, visualforce, lightning web components, flows, and process builders"}),d("li",{children:"Communicate with team members and colleagues to gather user requirements and keep up to date with integration changes"}),d("li",{children:"Make changes on hubspot website, including custom hubl components and ADA compliance"})]}),d("p",{css:md,children:"Nelnet (formerly Great Lakes Higher Education)"}),d("p",{css:Fo,children:"Senior software engineer (2012 - 2019)"}),j("ul",{css:jo,children:[d("li",{children:"Responsible for performing analysis, designing, coding, testing, and implementation of accurate and efficient web applications"}),d("li",{children:"Experience working on large projects over the span of many years"}),d("li",{children:"Handle large release efforts that require communication with multiple departments and teams"}),d("li",{children:"Train new developers in applications and best practices"}),d("li",{children:"Engage in peer programming and work together to solve problems, this includes code reviews on all code that goes into production"})]})]})}const u4="/assets/family-C2zfP4Fb.jpg",s4=q` - width: 100%; - display: block; - height: auto; - border-radius: 10px; - max-width: 400px; -`,c4=q` - ${da} - ${dc} - display: grid; - gap: 24px; - grid-template-columns: repeat(2, minmax(0, 1fr)); - grid-template-rows: auto 1fr; - - @media only screen and (max-width: ${fn}) { - grid-template-columns: repeat(1, minmax(0, 1fr)); - } -`,f4=q` - margin-inline: auto; - margin-block-start: 27px; -`,d4=q` - max-width: 42em; - - p:first-child { - margin-top: 0; - } -`;function p4(){const{ref:e}=pa();return j("div",{css:c4,ref:e,children:[j(Xi,{children:[d("meta",{name:"description",content:"Learn about me and how I got started on my path to becoming a software engineer."}),d("title",{children:"About - Joseph D. Phelan"})]}),j("div",{css:d4,children:[d("h1",{children:"About"}),d("p",{children:"From my humble beginnings working on my fathers farm I learned the value of hard work. After spending time with our family DOS computer, I developed an interest in all things technology. This led to me attending the University of Wisconsin Milwaukee in pursuit of a bachelors degree in computer science. Once acquired I moved to Madison WI and began my professional career."}),j("p",{children:["Today I work as a staff software engineer at"," ",d("a",{href:"https://www.acquia.com/products/acquia-dam",children:"Acquia"})," ","specializing in front end. I have a wonderful wife and 2 boys that I enjoy spending as much time with as possible. When I'm not working I enjoy biking, listening to podcasts and audio books, playing video games, reading books, fishing, and gardening."]}),d("p",{children:"Going forward I want to continue making a difference on teams. Improving aging codebases, building out new features, and making other developers' lives easier. Above all I want to raise good kids that go on to make a difference in this world."})]}),d("div",{css:f4,children:d("img",{loading:"lazy",src:u4,css:s4,alt:"Picture of my family"})})]})}function h4({fill:e}){return d("svg",{xmlns:"http://www.w3.org/2000/svg",fill:e,width:"24",height:"24",viewBox:"0 0 24 24","aria-label":"light icon, click to toggle page theme",children:d("path",{d:"M12 0c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm4.95 5.636l1.414 1.414-2.195 2.195c-.372-.562-.853-1.042-1.414-1.414l2.195-2.195zm-5.95-1.636h2v3.101c-.323-.066-.657-.101-1-.101s-.677.035-1 .101v-3.101zm-3.95 1.636l2.195 2.195c-.561.372-1.042.853-1.414 1.415l-2.195-2.196 1.414-1.414zm-3.05 5.364h3.101c-.066.323-.101.657-.101 1s.035.677.101 1h-3.101v-2zm3.05 7.364l-1.414-1.414 2.195-2.195c.372.562.853 1.042 1.414 1.414l-2.195 2.195zm5.95 1.636h-2v-3.101c.323.066.657.101 1 .101s.677-.035 1-.101v3.101zm-1-5c-1.657 0-3-1.343-3-3s1.343-3 3-3 3 1.343 3 3-1.343 3-3 3zm4.95 3.364l-2.195-2.195c.562-.372 1.042-.853 1.414-1.414l2.195 2.195-1.414 1.414zm3.05-5.364h-3.101c.066-.323.101-.657.101-1s-.035-.677-.101-1h3.101v2z"})})}var m4=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,v4=ls(function(e){return m4.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),g4=!1,y4=/[A-Z]|^ms/g,w4=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Rp=function(t){return t.charCodeAt(1)===45},vd=function(t){return t!=null&&typeof t!="boolean"},Ya=ls(function(e){return Rp(e)?e:e.replace(y4,"-$&").toLowerCase()}),gd=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(w4,function(r,i,o){return Bt={name:i,styles:o,next:Bt},i})}return qd[t]!==1&&!Rp(t)&&typeof n=="number"&&n!==0?n+"px":n},S4="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Ji(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var i=n;if(i.anim===1)return Bt={name:i.name,styles:i.styles,next:Bt},i.name;var o=n;if(o.styles!==void 0){var l=o.next;if(l!==void 0)for(;l!==void 0;)Bt={name:l.name,styles:l.styles,next:Bt},l=l.next;var a=o.styles+";";return a}return x4(e,t,n)}case"function":{if(e!==void 0){var u=Bt,s=n(e);return Bt=u,Ji(e,t,s)}break}}var f=n;if(t==null)return f;var c=t[f];return c!==void 0?c:f}function x4(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i96?C4:T4},Sd=function(t,n,r){var i;if(n){var o=n.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(l){return t.__emotion_forwardProp(l)&&o(l)}:o}return typeof i!="function"&&r&&(i=t.__emotion_forwardProp),i},k4=!1,P4=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return cs(n,r,i),Kd(function(){return fs(n,r,i)}),null},_4=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,o,l;n!==void 0&&(o=n.label,l=n.target);var a=Sd(t,n,r),u=a||wd(i),s=!u("as");return function(){var f=arguments,c=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&c.push("label:"+o+";"),f[0]==null||f[0].raw===void 0)c.push.apply(c,f);else{c.push(f[0][0]);for(var h=f.length,y=1;y{wp()},css:{fontSize:"xxx-large"},"aria-label":"Toggle theme",title:"Toggle theme",children:"Toggle Theme"})})]})})}function O4({fill:e}){return d("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:e,children:d("path",{d:"M120-240v-80h720v80H120Zm0-200v-80h720v80H120Zm0-200v-80h720v80H120Z"})})}function N4(){return d("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 -960 960 960",width:"24px",fill:"currentColor",children:d("path",{d:"m256-200-56-56 224-224-224-224 56-56 224 224 224-224 56 56-224 224 224 224-56 56-224-224-224 224Z"})})}const A4=q` - display: none; -`,I4=q` - width: 100%; - height: 100%; - position: inherit; - top: 0; - position: fixed; - left: 0; - top: 0; - overflow: hidden; - z-index: 10; - background: var(--bg-color); - display: flex; - align-items: center; - justify-content: center; - flex-direction: column; - font-size: xxx-large; -`,D4=q` - position: fixed; - top: 16px; - right: 16px; - font-size: xx-large; -`;function z4(){const[e,t]=k.useState(!1),{pathname:n}=ur(),r=k.useRef(null);return k.useEffect(()=>{t(!1)},[n]),j(k.Fragment,{children:[d(Al,{"aria-expanded":e,"aria-controls":"menu",onClick:()=>{t(!e),setTimeout(()=>{var i;(i=r.current)==null||i.focus()},50)},"aria-label":"Open nav menu",children:d(O4,{fill:"var(--fg-color)"})}),j("div",{id:"menu",role:"dialog",css:[I4,!e&&A4],onKeyDown:i=>{i.key==="Escape"&&t(!1)},children:[d(Al,{ref:r,onClick:()=>{t(!1)},"aria-label":"close nav menu",css:D4,children:d(N4,{})}),d(Mp,{})]})]})}const F4=q` - margin: 0; - max-width: 320px; - font-size: 1.2em; - font-weight: bold; - font-variant: petite-caps; -`,j4=q` - background: var(--bg-footer-header); - margin-bottom: 40px; - display: flex; - justify-content: space-between; - flex-wrap: wrap; - align-items: center; - gap: 10px; - border-bottom: 1px solid var(--fg-color); - padding-inline: var(--layout-padding); - padding-block: 16px; -`,$4=q` - display: flex; - gap: 20px; - align-items: center; - - @media only screen and (max-width: ${fn}) { - && { - background: red; - display: none; - } - } -`,U4=q` - border-radius: 100%; - width: 24px; - height: 24px; -`,H4=q` - display: flex; - align-items: center; - gap: 8px; -`,B4=q` - display: none; - - @media only screen and (max-width: ${fn}) { - display: block; - } -`;function b4(){return j("header",{css:j4,children:[j("div",{css:H4,children:[d(_i,{to:"/",children:d("img",{src:gp,css:U4,alt:"Picture of Joe Phelan",id:"joephela-avatar"})}),d("span",{css:F4,children:"Joseph D. Phelan"})]}),j("div",{children:[d("div",{css:B4,children:d(z4,{})}),j("div",{css:$4,children:[d(Mp,{}),d(Al,{onClick:()=>{wp()},"aria-label":"Toggle theme",title:"Toggle theme",children:d(h4,{fill:"var(--fg-color)"})})]})]})]})}function V4({fill:e}){return d("svg",{xmlns:"http://www.w3.org/2000/svg",fill:e,width:"24",height:"24",viewBox:"0 0 24 24","aria-label":"Github icon, click to view Joe's github page",children:d("path",{d:"M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"})})}function W4({fill:e}){return d("svg",{xmlns:"http://www.w3.org/2000/svg",fill:e,width:"24",height:"24",viewBox:"0 0 24 24","aria-label":"Linkedin icon, click to view Joe's linkedin profile",children:d("path",{d:"M19 0h-14c-2.761 0-5 2.239-5 5v14c0 2.761 2.239 5 5 5h14c2.762 0 5-2.239 5-5v-14c0-2.761-2.238-5-5-5zm-11 19h-3v-11h3v11zm-1.5-12.268c-.966 0-1.75-.79-1.75-1.764s.784-1.764 1.75-1.764 1.75.79 1.75 1.764-.783 1.764-1.75 1.764zm13.5 12.268h-3v-5.604c0-3.368-4-3.113-4 0v5.604h-3v-11h3v1.765c1.396-2.586 7-2.777 7 2.476v6.759z"})})}const Q4=q` - display: flex; - gap: 10px; - padding: 10px; -`,q4="https://linkedin.com/in/joseph-phelan-3a871625",Y4="https://github.com/joephela";function G4(){return j("div",{css:Q4,children:[d(xd,{as:"a","aria-label":"View Joe Phelan's Github",target:"_blank",href:Y4,children:d(V4,{fill:"var(--fg-color)"})}),d(xd,{as:"a","aria-label":"View Joe Phelan's Linkedin",href:q4,target:"_blank",children:d(W4,{fill:"var(--fg-color)"})})]})}const K4=q` - background: var(--bg-footer-header); - margin-top: 50px; - display: flex; - justify-content: space-between; - border-top: 1px solid var(--fg-color); - padding-inline: var(--layout-padding); - align-items: center; - padding-block: 8px; -`,Z4=q` - font-size: small; -`;function X4(){return j("footer",{css:K4,children:[j("p",{css:Z4,children:["Built by me using"," ",d("a",{href:"https://vite.dev/",rel:"noreferrer",target:"_blank",children:"Vite"}),".",d("br",{}),"Copyright © 2024 Joseph Phelan."]}),d(G4,{})]})}const J4="/assets/moving-B_q13TNX.jpg";function e3(){return j("div",{css:{margin:"24px"},children:[d("h1",{children:"This site has moved!"}),j("p",{children:["Check out the new location ",d("a",{href:"https://www.joephela.com",children:"here"}),"."]}),d("img",{src:J4,alt:"moving trucks"})]})}const t3="128px",n3="123px",r3=q` - height: 100%; - margin-inline: var(--layout-padding); - min-height: calc(100vh - ${t3} - ${n3}); -`,i3=q` - body { - ${ny} - margin: 0; - color: var(--fg-color); - background-color: var(--bg-color); - font-family: Verdana, Arial, Helvetica, sans-serif; - color: var(--fg-color); - background-color: var(--bg-color); - - p { - font-size: medium; - line-height: 1.4em; - } - } - - ul { - list-style: none; - } - - li { - text-decoration: none; - } -`;function o3(){return j(k.Fragment,{children:[d(ty,{styles:i3}),document.location.origin==="https://joephela.github.io"?d(e3,{}):j(k.Fragment,{children:[d(b4,{}),d("main",{css:r3,children:d(Ng,{})}),d(X4,{})]})]})}function l3(){return j("svg",{width:"40",height:"40",viewBox:"-10.5 -9.45 21 18.9",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d("circle",{cx:"0",cy:"0",r:"2",fill:"currentColor"}),j("g",{stroke:"currentColor","stroke-width":"1",fill:"none",children:[d("ellipse",{rx:"10",ry:"4.5"}),d("ellipse",{rx:"10",ry:"4.5",transform:"rotate(60)"}),d("ellipse",{rx:"10",ry:"4.5",transform:"rotate(120)"})]})]})}function a3(){return d("svg",{fill:"none",height:"40",viewBox:"0 0 27 26",width:"40",xmlns:"http://www.w3.org/2000/svg",children:d("path",{"clip-rule":"evenodd",d:"m.98608 0h24.32332c.5446 0 .9861.436522.9861.975v24.05c0 .5385-.4415.975-.9861.975h-24.32332c-.544597 0-.98608-.4365-.98608-.975v-24.05c0-.538478.441483-.975.98608-.975zm13.63142 13.8324v-2.1324h-9.35841v2.1324h3.34111v9.4946h2.6598v-9.4946zm1.0604 9.2439c.4289.2162.9362.3784 1.5218.4865.5857.1081 1.2029.1622 1.8518.1622.6324 0 1.2331-.0595 1.8023-.1784.5691-.1189 1.0681-.3149 1.497-.5879s.7685-.6297 1.0187-1.0703.3753-.9852.3753-1.6339c0-.4703-.0715-.8824-.2145-1.2365-.1429-.3541-.3491-.669-.6186-.9447-.2694-.2757-.5925-.523-.9692-.7419s-.8014-.4257-1.2743-.6203c-.3465-.1406-.6572-.2771-.9321-.4095-.275-.1324-.5087-.2676-.7011-.4054-.1925-.1379-.3409-.2838-.4454-.4379-.1045-.154-.1567-.3284-.1567-.523 0-.1784.0467-.3392.1402-.4824.0935-.1433.2254-.2663.3959-.369s.3794-.1824.6269-.2392c.2474-.0567.5224-.0851.8248-.0851.22 0 .4523.0162.697.0486.2447.0325.4908.0825.7382.15.2475.0676.4881.1527.7218.2555.2337.1027.4495.2216.6475.3567v-2.4244c-.4015-.1514-.84-.2636-1.3157-.3365-.4756-.073-1.0214-.1095-1.6373-.1095-.6268 0-1.2207.0662-1.7816.1987-.5609.1324-1.0544.3392-1.4806.6203s-.763.6392-1.0104 1.0743c-.2475.4352-.3712.9555-.3712 1.5609 0 .7731.2268 1.4326.6805 1.9785.4537.546 1.1424 1.0082 2.0662 1.3866.363.146.7011.2892 1.0146.4298.3134.1405.5842.2865.8124.4378.2282.1514.4083.3162.5403.4946s.198.3811.198.6082c0 .1676-.0413.323-.1238.4662-.0825.1433-.2076.2676-.3753.373s-.3766.1879-.6268.2473c-.2502.0595-.5431.0892-.8785.0892-.5719 0-1.1383-.0986-1.6992-.2959-.5608-.1973-1.0805-.4933-1.5589-.8879z",fill:"currentColor","fill-rule":"evenodd"})})}function u3(){return j("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",viewBox:"0 0 92 92",children:[d("defs",{children:d("clipPath",{id:"a",children:d("path",{d:"M0 .113h91.887V92H0Zm0 0"})})}),d("g",{"clip-path":"url(#a)",children:d("path",{fill:"currentColor",d:"M90.156 41.965 50.036 1.848a5.918 5.918 0 0 0-8.372 0l-8.328 8.332 10.566 10.566a7.03 7.03 0 0 1 7.23 1.684 7.034 7.034 0 0 1 1.669 7.277l10.187 10.184a7.028 7.028 0 0 1 7.278 1.672 7.04 7.04 0 0 1 0 9.957 7.05 7.05 0 0 1-9.965 0 7.044 7.044 0 0 1-1.528-7.66l-9.5-9.497V59.36a7.04 7.04 0 0 1 1.86 11.29 7.04 7.04 0 0 1-9.957 0 7.04 7.04 0 0 1 0-9.958 7.06 7.06 0 0 1 2.304-1.539V33.926a7.049 7.049 0 0 1-3.82-9.234L29.242 14.272 1.73 41.777a5.925 5.925 0 0 0 0 8.371L41.852 90.27a5.925 5.925 0 0 0 8.37 0l39.934-39.934a5.925 5.925 0 0 0 0-8.371"})})]})}function s3(){return d("svg",{height:"40",viewBox:"0 0 323.99971 285.09601",width:"40",xmlns:"http://www.w3.org/2000/svg",children:j("g",{transform:"matrix(1.2548929 0 0 1.2548929 -22.9868 -19.949332)",children:[d("path",{d:"m97.021 99.016l48.432-27.962c1.212-.7 2.706-.7 3.918 0l48.433 27.962c1.211.7 1.959 1.993 1.959 3.393v55.924c0 1.399-.748 2.693-1.959 3.394l-48.433 27.962c-1.212.7-2.706.7-3.918 0l-48.432-27.962c-1.212-.7-1.959-1.994-1.959-3.394v-55.924c.001-1.4.748-2.693 1.959-3.393",fill:"currentColor"}),d("path",{d:"m273.336 124.488l-57.867-100.672c-2.102-3.64-5.985-6.325-10.188-6.325h-115.736c-4.204 0-8.088 2.685-10.19 6.325l-57.867 100.45c-2.102 3.641-2.102 8.236 0 11.877l57.867 99.847c2.102 3.64 5.986 5.501 10.19 5.501h115.735c4.203 0 8.087-1.805 10.188-5.446l57.867-100.01c2.104-3.639 2.104-7.907.001-11.547m-47.917 48.41c0 1.48-.891 2.849-2.174 3.59l-73.71 42.527c-1.282.74-2.888.74-4.17 0l-73.767-42.527c-1.282-.741-2.179-2.109-2.179-3.59v-85.055c0-1.481.884-2.849 2.167-3.59l73.707-42.527c1.282-.741 2.886-.741 4.168 0l73.772 42.527c1.283.741 2.186 2.109 2.186 3.59z",fill:"currentColor"})]})})}function c3(){return d("svg",{width:"40",height:"40",viewBox:"0 0 256 256",version:"1.1",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid",fill:"currentColor",children:j("g",{children:[d("rect",{x:"182.857143",y:"48.7619048",width:"24.3809524",height:"12.1904762",rx:"5"}),d("rect",{x:"0",y:"243.809524",width:"73.1428571",height:"12.1904762",rx:"5"}),d("rect",{x:"146.285714",y:"146.285714",width:"48.7619048",height:"12.1904762",rx:"5"}),d("rect",{x:"73.1428571",y:"146.285714",width:"60.952381",height:"12.1904762",rx:"5"}),d("rect",{x:"0",y:"146.285714",width:"60.952381",height:"12.1904762",rx:"5"}),d("rect",{x:"0",y:"195.047619",width:"73.1428571",height:"12.1904762",rx:"5"}),d("rect",{x:"0",y:"97.5238095",width:"73.1428571",height:"12.1904762",rx:"5"}),d("rect",{x:"60.952381",y:"24.3809524",width:"134.095238",height:"12.1904762",rx:"5"}),d("rect",{x:"0",y:"24.3809524",width:"48.7619048",height:"12.1904762",rx:"5"}),d("rect",{x:"48.7619048",y:"219.428571",width:"24.3809524",height:"12.1904762",rx:"5"}),d("rect",{x:"48.7619048",y:"73.1428571",width:"24.3809524",height:"12.1904762",rx:"5"}),d("rect",{x:"0",y:"219.428571",width:"36.5714286",height:"12.1904762",rx:"5"}),d("rect",{x:"0",y:"73.1428571",width:"36.5714286",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"158.47619",y:"219.428571",width:"24.3809524",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"85.3333333",y:"219.428571",width:"60.952381",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"195.047619",y:"219.428571",width:"60.952381",height:"12.1904762",rx:"5"}),d("rect",{x:"97.5238095",y:"121.904762",width:"109.714286",height:"12.1904762",rx:"5"}),d("rect",{x:"36.5714286",y:"121.904762",width:"48.7619048",height:"12.1904762",rx:"5"}),d("rect",{x:"0",y:"121.904762",width:"24.3809524",height:"12.1904762",rx:"5"}),d("rect",{x:"109.714286",y:"48.7619048",width:"60.952381",height:"12.1904762",rx:"5"}),d("rect",{x:"0",y:"48.7619048",width:"97.5238095",height:"12.1904762",rx:"5"}),d("rect",{x:"36.5714286",y:"170.666667",width:"121.904762",height:"12.1904762",rx:"5"}),d("rect",{x:"0",y:"170.666667",width:"24.3809524",height:"12.1904762",rx:"5"}),d("rect",{x:"146.285714",y:"73.1428571",width:"73.1428571",height:"12.1904762",rx:"5"}),d("rect",{x:"146.285714",y:"97.5238095",width:"73.1428571",height:"12.1904762",rx:"5"}),d("rect",{x:"0",y:"0",width:"158.47619",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"170.666667",y:"0",width:"85.3333333",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"170.666667",y:"170.666667",width:"36.5714286",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"219.428571",y:"170.666667",width:"36.5714286",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"207.238095",y:"146.285714",width:"48.7619048",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"207.238095",y:"24.3809524",width:"48.7619048",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"219.428571",y:"121.904762",width:"36.5714286",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"219.428571",y:"48.7619048",width:"36.5714286",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"231.619048",y:"73.1428571",width:"24.3809524",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"231.619048",y:"97.5238095",width:"24.3809524",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"134.095238",y:"195.047619",width:"121.904762",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"85.3333333",y:"195.047619",width:"36.5714286",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"182.857143",y:"243.809524",width:"73.1428571",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"85.3333333",y:"243.809524",width:"85.3333333",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"85.3333333",y:"73.1428571",width:"48.7619048",height:"12.1904762",rx:"5"}),d("rect",{opacity:"0.5",x:"85.3333333",y:"97.5238095",width:"48.7619048",height:"12.1904762",rx:"5"})]})})}function f3(){return j("svg",{width:"40",height:"40",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",children:[d("title",{children:"file_type_vite"}),d("path",{d:"M29.8836 6.146L16.7418 29.6457c-.2714.4851-.9684.488-1.2439.0052L2.0956 6.1482c-.3-.5262.1498-1.1635.746-1.057l13.156 2.3516a.7144.7144 0 00.2537-.0004l12.8808-2.3478c.5942-.1083 1.0463.5241.7515 1.0513z",fill:"currentColor",fillOpacity:"50%"}),d("path",{d:"M22.2644 2.0069l-9.7253 1.9056a.3571.3571 0 00-.2879.3294l-.5982 10.1038c-.014.238.2045.4227.4367.3691l2.7077-.6248c.2534-.0585.4823.1647.4302.4194l-.8044 3.9393c-.0542.265.1947.4918.4536.4132l1.6724-.5082c.2593-.0787.5084.1487.4536.414l-1.2784 6.1877c-.08.387.4348.598.6495.2662L16.5173 25 24.442 9.1848c.1327-.2648-.096-.5667-.387-.5106l-2.787.5379c-.262.0505-.4848-.1934-.4109-.4497l1.8191-6.306c.074-.2568-.1496-.5009-.4118-.4495z",fill:"currentColor"})]})}function d3(){return d("svg",{width:"40",height:"40",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:d("path",{d:"M12 1L24 22H0L12 1Z",fill:"currentColor"})})}function p3(){return j("svg",{width:"40",height:"40",viewBox:"0 0 32 32",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:[d("path",{d:"M21.0016 3.11679C21.0016 2.23783 20.0175 2.23782 19.5801 2.34769C20.1924 1.86426 20.9105 1.98147 21.1656 2.12796L27.079 5.02747C27.6424 5.30375 27.9998 5.8786 27.9998 6.50857V25.5831C27.9998 26.2215 27.6329 26.8025 27.058 27.0743L21.4937 29.7054C21.1109 29.8701 20.2799 30.2767 19.5801 29.7053C20.4549 29.8702 20.9287 29.2476 21.0016 28.8264V3.11679Z"}),d("path",{d:"M19.6512 2.3319C20.1154 2.24017 21.0018 2.28271 21.0018 3.11685V9.68254L3.07359 23.2453C2.76022 23.4824 2.3192 23.443 2.05229 23.1542L0.204532 21.1548C-0.0849358 20.8416 -0.0646824 20.3513 0.249624 20.0633L19.5802 2.34775L19.6512 2.3319Z"}),d("path",{d:"M21.0018 22.3708L3.07359 8.80801C2.76022 8.57094 2.3192 8.61028 2.05229 8.8991L0.204532 10.8985C-0.0849358 11.2117 -0.0646824 11.702 0.249624 11.9901L19.5802 29.7056C20.455 29.8704 20.9289 29.2478 21.0018 28.8266V22.3708Z"}),j("defs",{children:[j("linearGradient",{id:"paint0_linear_87_8101",x1:"23.79",y1:"2",x2:"23.79",y2:"30",gradientUnits:"userSpaceOnUse",children:[d("stop",{"stop-color":"#32B5F1"}),d("stop",{offset:"1","stop-color":"#2B9FED"})]}),j("linearGradient",{id:"paint1_linear_87_8101",x1:"21.0018",y1:"5.53398",x2:"1.0217",y2:"22.3051",gradientUnits:"userSpaceOnUse",children:[d("stop",{"stop-color":"#0F6FB3"}),d("stop",{offset:"0.270551","stop-color":"#1279B7"}),d("stop",{offset:"0.421376","stop-color":"#1176B5"}),d("stop",{offset:"0.618197","stop-color":"#0E69AC"}),d("stop",{offset:"0.855344","stop-color":"#0F70AF"}),d("stop",{offset:"1","stop-color":"#0F6DAD"})]}),j("linearGradient",{id:"paint2_linear_87_8101",x1:"1.15522",y1:"9.98389",x2:"21.0791",y2:"26.4808",gradientUnits:"userSpaceOnUse",children:[d("stop",{"stop-color":"#1791D2"}),d("stop",{offset:"1","stop-color":"#1173C5"})]})]})]})}function h3(){return d("svg",{xmlns:"http://www.w3.org/2000/svg",height:"40",viewBox:"0 -960 960 960",width:"40",fill:"currentColor",children:d("path",{d:"M480-480Zm80 240q100 0 170-70t70-170q0-101-73.5-170.5T550-720q-48 0-93 11t-87 33l100 40q41 17 65.5 52.5T560-504q0 60-41.5 102T418-360H162q-2 24-2 54.5v65.5h400ZM176-440h240q27 0 45.5-18.5T480-504q0-19-10.5-34.5T440-562l-148-60q-42 37-71.5 84T176-440Zm384 280H160q-33 0-56.5-23.5T80-240v-90q0-98 37-183.5t100.5-149Q281-726 367-763t183-37q68 0 128 25t105 68.5Q828-663 854-605t26 125q0 66-25 124.5t-68.5 102Q743-210 684.5-185T560-160Z"})})}function m3(){return d("svg",{xmlns:"http://www.w3.org/2000/svg",height:"40",viewBox:"0 -960 960 960",width:"40",fill:"currentColor",children:d("path",{d:"M320-240h320v-80H320v80Zm0-160h320v-80H320v80ZM240-80q-33 0-56.5-23.5T160-160v-640q0-33 23.5-56.5T240-880h320l240 240v480q0 33-23.5 56.5T720-80H240Zm280-520v-200H240v640h480v-440H520ZM240-800v200-200 640-640Z"})})}function v3(){return j("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 35 35",width:"40",height:"40",preserveAspectRatio:"xMidYMid meet",fill:"currentColor",children:[j("defs",{children:[d("clipPath",{id:"__lottie_element_23",children:d("rect",{width:"35",height:"35",x:"0",y:"0"})}),d("mask",{id:"__lottie_element_38",children:d("path",{"clip-rule":"nonzero",d:"M0,0 h35 v35 h-35 v-35 M29.062000274658203,-3 C29.062000274658203,-3 14.753000259399414,-3 14.753000259399414,-3 C14.753000259399414,-3 14.753000259399414,29.816999435424805 14.753000259399414,29.816999435424805 C14.753000259399414,29.816999435424805 29.062000274658203,29.816999435424805 29.062000274658203,29.816999435424805 C29.062000274658203,29.816999435424805 29.062000274658203,-3 29.062000274658203,-3","fill-opacity":"1"})})]}),j("g",{"clip-path":"url(#__lottie_element_23)",children:[d("g",{mask:"url(#__lottie_element_38)",transform:"matrix(1,0,0,1,1.25,5.75)",opacity:"1",children:d("g",{opacity:"1",transform:"matrix(1,0,0,1,12,11.75)",children:d("path",{"fill-opacity":"1",d:" M-11.75,11.5 C-11.75,11.5 2.75,-11.5 2.75,-11.5 C2.75,-11.5 11.75,-11.5 11.75,-11.5 C11.75,-11.5 11.75,-8.300000190734863 11.75,-8.300000190734863 C11.75,-8.300000190734863 -0.75,11.5 -0.75,11.5"})})}),d("g",{transform:"matrix(1,0,0,1,15.75,5.75)",opacity:"1",children:d("g",{opacity:"1",transform:"matrix(1,0,0,1,4.75,11.75)",children:d("path",{"fill-opacity":"1",d:" M4.5,11.5 C4.5,11.5 -4.5,11.5 -4.5,11.5 C-4.5,11.5 -4.5,-11.5 -4.5,-11.5 C-4.5,-11.5 4.5,-11.5 4.5,-11.5 C4.5,-11.5 4.5,11.5 4.5,11.5z"})})}),d("g",{transform:"matrix(1,0,0,1,24.75,15.75)",opacity:"1",children:d("g",{opacity:"1",transform:"matrix(1,0,0,1,3.5,6.75)",children:d("path",{"fill-opacity":"1",d:" M3.25,0 C3.25,3.5899999141693115 0.3400000035762787,6.5 -3.25,6.5 C-3.25,6.5 -3.25,-6.5 -3.25,-6.5 C0.3400000035762787,-6.5 3.25,-3.5899999141693115 3.25,0z"})})}),d("g",{transform:"matrix(1,0,0,1,18.25,15.75)",opacity:"1",children:d("g",{opacity:"1",transform:"matrix(1,0,0,1,3.5,6.75)",children:d("path",{"fill-opacity":"1",d:" M3.25,6.5 C-0.3400000035762787,6.5 -3.25,3.5899999141693115 -3.25,0 C-3.25,-3.5899999141693115 -0.3400000035762787,-6.5 3.25,-6.5 C3.25,-6.5 3.25,6.5 3.25,6.5z"})})}),d("g",{transform:"matrix(0.9999958872795105,0,0,0.9999958872795105,24.75,5.750020980834961)",opacity:"1",children:d("g",{opacity:"1",transform:"matrix(1,0,0,1,2.75,5.25)",children:d("path",{"fill-opacity":"1",d:" M2.5,0 C2.5,2.760999917984009 0.2619999945163727,5 -2.5,5 C-2.5,5 -2.5,-5 -2.5,-5 C0.2619999945163727,-5 2.5,-2.760999917984009 2.5,0z"})})}),d("g",{transform:"matrix(0.9999958872795105,0,0,0.9999958872795105,19.75002098083496,5.750020980834961)",opacity:"1",children:d("g",{opacity:"1",transform:"matrix(1,0,0,1,2.75,5.25)",children:d("path",{"fill-opacity":"1",d:" M2.5,5 C-0.2619999945163727,5 -2.5,2.760999917984009 -2.5,0 C-2.5,-2.760999917984009 -0.2619999945163727,-5 2.5,-5 C2.5,-5 2.5,5 2.5,5z"})})}),d("g",{transform:"matrix(1,0,0,1,1.75,5.75)",opacity:"0.9999999999999999",children:d("g",{opacity:"1",transform:"matrix(1,0,0,1,4.75,4.75)",children:d("path",{"fill-opacity":"1",d:" M-4.5,0 C-4.5,-2.484999895095825 -2.484999895095825,-4.5 0,-4.5 C2.484999895095825,-4.5 4.5,-2.484999895095825 4.5,0 C4.5,2.484999895095825 2.484999895095825,4.5 0,4.5 C-2.484999895095825,4.5 -4.5,2.484999895095825 -4.5,0z"})})})]})]})}function g3(){return d("svg",{height:"40",viewBox:"0 0 24 24",version:"1.1",width:"40","data-view-component":"true",fill:"currentColor",children:d("path",{d:"M12.5.75C6.146.75 1 5.896 1 12.25c0 5.089 3.292 9.387 7.863 10.91.575.101.79-.244.79-.546 0-.273-.014-1.178-.014-2.142-2.889.532-3.636-.704-3.866-1.35-.13-.331-.69-1.352-1.18-1.625-.402-.216-.977-.748-.014-.762.906-.014 1.553.834 1.769 1.179 1.035 1.74 2.688 1.25 3.349.948.1-.747.402-1.25.733-1.538-2.559-.287-5.232-1.279-5.232-5.678 0-1.25.445-2.285 1.178-3.09-.115-.288-.517-1.467.115-3.048 0 0 .963-.302 3.163 1.179.92-.259 1.897-.388 2.875-.388.977 0 1.955.13 2.875.388 2.2-1.495 3.162-1.179 3.162-1.179.633 1.581.23 2.76.115 3.048.733.805 1.179 1.825 1.179 3.09 0 4.413-2.688 5.39-5.247 5.678.417.36.776 1.05.776 2.128 0 1.538-.014 2.774-.014 3.162 0 .302.216.662.79.547C20.709 21.637 24 17.324 24 12.25 24 5.896 18.854.75 12.5.75Z"})})}function y3(){return j("svg",{xmlns:"http://www.w3.org/2000/svg",width:"53.34",height:"40",viewBox:"0 0 256 192",children:[d("path",{fill:"currentColor",d:"M84.38 108.352c-9.556 2.712-15.826 7.467-19.956 12.218c3.956-3.461 9.255-6.639 16.402-8.665c7.311-2.072 13.548-2.057 18.702-1.062v-4.03c-4.397-.402-9.437-.082-15.148 1.539M63.987 74.475l-35.49 9.35s.646.914 1.844 2.133l30.092-7.93s-.427 5.495-4.13 10.41c7.005-5.299 7.684-13.963 7.684-13.963m29.709 83.41c-49.946 13.452-76.37-44.43-84.37-74.472c-3.696-13.868-5.31-24.37-5.74-31.148a11.5 11.5 0 0 1 .025-1.84C1.021 50.58-.22 51.927.032 55.82c.43 6.773 2.044 17.275 5.74 31.147c7.997 30.038 34.424 87.92 84.37 74.468c10.871-2.929 19.038-8.263 25.17-15.073c-5.652 5.104-12.724 9.123-21.616 11.523M103.08 39.05v3.555h19.59c-.401-1.259-.806-2.393-1.208-3.555z"}),d("path",{fill:"currentColor",d:"M127.05 68.325c8.81 2.503 13.47 8.68 15.933 14.146l9.824 2.79s-1.34-19.132-18.645-24.047c-16.189-4.6-26.151 8.995-27.363 10.754c4.71-3.355 11.586-6.102 20.251-3.643m78.197 14.234c-16.204-4.62-26.162 9.003-27.356 10.737c4.713-3.351 11.586-6.099 20.247-3.629c8.797 2.506 13.452 8.676 15.923 14.146l9.837 2.8s-1.361-19.135-18.651-24.054m-9.76 50.443l-81.718-22.845s.885 4.485 4.279 10.293l68.803 19.234c5.664-3.277 8.636-6.682 8.636-6.682m-56.655 49.174C74.127 164.828 81.949 82.386 92.419 43.32c4.311-16.1 8.743-28.066 12.419-36.088c-2.193-.451-4.01.704-5.804 4.354C95.13 19.5 90.14 32.387 85.312 50.427c-10.467 39.066-18.29 121.506 46.412 138.854c30.497 8.17 54.256-4.247 71.966-23.749c-16.81 15.226-38.274 23.763-64.858 16.644"}),d("path",{fill:"currentColor",d:"M103.081 138.565v-16.637l-46.223 13.108s3.415-19.846 27.522-26.684c7.311-2.072 13.549-2.058 18.701-1.063V39.05h23.145c-2.52-7.787-4.958-13.782-7.006-17.948c-3.387-6.895-6.859-2.324-14.741 4.269c-5.552 4.638-19.583 14.533-40.698 20.222c-21.114 5.694-38.185 4.184-45.307 2.95c-10.097-1.742-15.378-3.96-14.884 3.721c.43 6.774 2.043 17.277 5.74 31.148c7.996 30.039 34.424 87.92 84.37 74.468c13.046-3.515 22.254-10.464 28.637-19.32h-19.256zm-74.588-54.74l35.494-9.35s-1.034 13.654-14.34 17.162c-13.31 3.504-21.154-7.812-21.154-7.812"}),d("path",{fill:"currentColor",d:"M236.664 39.84c-9.226 1.617-31.361 3.632-58.716-3.7c-27.363-7.328-45.517-20.144-52.71-26.168c-10.197-8.54-14.682-14.476-19.096-5.498c-3.902 7.918-8.893 20.805-13.723 38.846c-10.466 39.066-18.289 121.505 46.413 138.853c64.687 17.333 99.126-57.978 109.593-97.047c4.83-18.037 6.948-31.695 7.53-40.502c.665-9.976-6.187-7.08-19.29-4.784M106.668 72.161s10.196-15.859 27.49-10.943c17.305 4.915 18.645 24.046 18.645 24.046zm42.215 71.163c-30.419-8.91-35.11-33.167-35.11-33.167l81.714 22.846c0-.004-16.494 19.12-46.604 10.32m28.89-49.85s10.183-15.847 27.474-10.918c17.29 4.923 18.651 24.054 18.651 24.054z"}),d("path",{fill:"currentColor",d:"m86.928 126.51l-30.07 8.522s3.266-18.609 25.418-25.983L65.25 45.147l-1.471.447c-21.115 5.694-38.185 4.184-45.307 2.95c-10.097-1.741-15.379-3.96-14.885 3.722c.43 6.774 2.044 17.276 5.74 31.147c7.997 30.039 34.425 87.92 84.37 74.468l1.471-.462zM28.493 83.825l35.494-9.351s-1.034 13.654-14.34 17.162c-13.31 3.504-21.154-7.811-21.154-7.811"}),d("path",{fill:"currentColor",d:"m150.255 143.658l-1.376-.335c-30.419-8.91-35.11-33.166-35.11-33.166l42.137 11.778l22.308-85.724l-.27-.07c-27.362-7.329-45.516-20.145-52.71-26.17c-10.196-8.54-14.682-14.475-19.096-5.497c-3.898 7.918-8.889 20.805-13.719 38.846c-10.466 39.066-18.289 121.505 46.413 138.852l1.326.3zM106.668 72.16s10.196-15.859 27.49-10.943c17.305 4.915 18.645 24.046 18.645 24.046z"}),d("path",{fill:"currentColor",d:"m88.46 126.072l-8.064 2.289c1.906 10.74 5.264 21.047 10.534 30.152c.918-.202 1.828-.376 2.762-.632c2.449-.66 4.72-1.479 6.906-2.371c-5.89-8.74-9.785-18.804-12.137-29.438m-3.148-75.644c-4.144 15.467-7.852 37.73-6.831 60.06c1.826-.793 3.756-1.532 5.9-2.14l1.492-.334c-1.82-23.852 2.114-48.157 6.546-64.694a323 323 0 0 1 3.373-11.704a105 105 0 0 1-5.974 3.547a307 307 0 0 0-4.506 15.265"})]})}function w3(){return d("svg",{xmlns:"http://www.w3.org/2000/svg",height:"40",viewBox:"0 -960 960 960",width:"40",fill:"currentColor",children:d("path",{d:"M480-80q-82 0-155-31.5t-127.5-86Q143-252 111.5-325T80-480q0-83 32.5-156t88-127Q256-817 330-848.5T488-880q80 0 151 27.5t124.5 76q53.5 48.5 85 115T880-518q0 115-70 176.5T640-280h-74q-9 0-12.5 5t-3.5 11q0 12 15 34.5t15 51.5q0 50-27.5 74T480-80Zm0-400Zm-220 40q26 0 43-17t17-43q0-26-17-43t-43-17q-26 0-43 17t-17 43q0 26 17 43t43 17Zm120-160q26 0 43-17t17-43q0-26-17-43t-43-17q-26 0-43 17t-17 43q0 26 17 43t43 17Zm200 0q26 0 43-17t17-43q0-26-17-43t-43-17q-26 0-43 17t-17 43q0 26 17 43t43 17Zm120 160q26 0 43-17t17-43q0-26-17-43t-43-17q-26 0-43 17t-17 43q0 26 17 43t43 17ZM480-160q9 0 14.5-5t5.5-13q0-14-15-33t-15-57q0-42 29-67t71-25h70q66 0 113-38.5T800-518q0-121-92.5-201.5T488-800q-136 0-232 93t-96 227q0 133 93.5 226.5T480-160Z"})})}function S3(){return d("svg",{fill:"currentColor",width:"40",height:"40",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",children:d("path",{d:"M29.667 15.76c0-1.885-1.276-3.536-3.104-4.015l3.984-11.745h-19.74l3.996 11.787c-1.772 0.516-2.991 2.135-2.996 3.979 0 1.391 0.693 2.625 1.751 3.385-0.421 0.599-0.907 1.152-1.443 1.656-0.984 0.939-2.141 1.683-3.401 2.199-1.115-0.751-1.593-2.079-1.161-3.26 4.531-1.412 3.531-8.089-1.208-8.109-2.292 0.004-4.151 1.859-4.151 4.151 0 1.131 0.457 2.167 1.203 2.911-0.068 0.125-0.131 0.261-0.199 0.396-0.619 1.281-1.323 2.724-1.593 4.344-0.536 3.245 0.344 5.849 2.469 7.323 1.145 0.808 2.52 1.245 3.927 1.24 2.432 0 4.907-1.224 7.297-2.412 1.708-0.839 3.468-1.719 5.197-2.145 0.641-0.156 1.308-0.249 2.011-0.355 1.427-0.203 2.901-0.416 4.224-1.187 1.531-0.875 2.599-2.385 2.911-4.12 0.229-1.323 0-2.656-0.593-3.828 0.401-0.641 0.62-1.385 0.62-2.193zM27.86 15.76c0 1.287-1.048 2.333-2.333 2.333-2.209-0.005-3.177-2.791-1.444-4.167l0.005-0.009c0.079-0.057 0.163-0.115 0.24-0.168 0 0 0.016 0 0.016-0.009 0.036-0.021 0.072-0.047 0.109-0.068 0.011 0 0.016-0.005 0.025-0.005 0.037-0.021 0.084-0.036 0.131-0.057s0.093-0.036 0.131-0.057c0.009 0 0.015-0.005 0.025-0.005 0.037-0.011 0.079-0.031 0.115-0.036 0.005 0 0.027-0.011 0.037-0.011 0.047-0.011 0.083-0.021 0.129-0.027h0.005l0.141-0.031c0.009 0 0.025 0 0.036-0.011 0.036 0 0.073-0.011 0.115-0.011h0.041c0.047 0 0.093-0.005 0.151-0.005h0.12c0.037 0 0.068 0 0.104 0.005h0.016c0.073 0.011 0.151 0.021 0.224 0.043 1.083 0.229 1.86 1.187 1.86 2.296zM13.391 1.855h14.573l-3.344 9.864c-0.141 0.027-0.276 0.073-0.417 0.12l-3.52-7.177-3.532 7.131c-0.135-0.043-0.287-0.073-0.437-0.099zM20.016 14.953c-0.172-0.855-0.609-1.636-1.251-2.224l1.917-3.869 1.937 3.952c-0.579 0.573-0.995 1.308-1.161 2.141zM15.375 13.489c0.041-0.011 0.084-0.020 0.131-0.025h0.025c0.037-0.011 0.073-0.011 0.109-0.021h0.037c0.036 0 0.068-0.011 0.104-0.011h0.359c0.037 0 0.068 0.011 0.095 0.011 0.020 0 0.025 0 0.047 0.011 0.036 0.011 0.063 0.011 0.099 0.016 0.011 0 0.021 0 0.041 0.009l0.125 0.027h0.011c0.036 0.011 0.079 0.021 0.115 0.041 0.005 0 0.016 0.005 0.036 0.005 0.027 0.011 0.063 0.021 0.095 0.036 0.004 0 0.015 0.011 0.025 0.011 0.036 0.021 0.073 0.032 0.109 0.047h0.011c0.041 0.016 0.083 0.037 0.12 0.068h0.011c0.036 0.016 0.072 0.041 0.109 0.063 0.009 0 0.009 0.011 0.020 0.011 0.037 0.016 0.063 0.047 0.099 0.063l0.011 0.011c0.109 0.083 0.213 0.176 0.319 0.271l0.004 0.005c0.417 0.437 0.647 1.015 0.641 1.613-0.099 3.011-4.568 3.011-4.667 0-0.005-1.067 0.724-2 1.76-2.26zM6.255 13.421c1.287 0 2.333 1.052 2.333 2.339s-1.047 2.333-2.333 2.333c-1.285 0-2.333-1.047-2.333-2.333s1.048-2.339 2.333-2.339zM27.807 21.459c-0.213 1.197-0.952 2.239-2.009 2.844-1.011 0.583-2.256 0.771-3.557 0.952-0.735 0.095-1.469 0.224-2.188 0.391-1.927 0.475-3.781 1.396-5.579 2.287-2.296 1.141-4.463 2.213-6.473 2.213-1.031 0.005-2.036-0.312-2.875-0.916-2.037-1.407-1.937-4.047-1.693-5.495 0.219-1.355 0.839-2.62 1.432-3.833 0.043-0.073 0.068-0.141 0.105-0.213 0.203 0.072 0.416 0.129 0.64 0.167-0.355 1.963 0.645 3.995 2.593 4.995l0.349 0.181 0.38-0.135c1.62-0.579 3.125-1.511 4.448-2.76 0.735-0.683 1.38-1.453 1.927-2.292 0.215 0.036 0.428 0.047 0.641 0.047 1.885-0.005 3.531-1.276 4.011-3.104h1.557c0.473 1.828 2.124 3.104 4.011 3.104 0.771 0 1.484-0.213 2.093-0.573 0.24 0.693 0.317 1.417 0.187 2.141z"})})}const x3=q` - ${da} - ${dc} -`,E3=q` - display: flex; - gap: 24px; - flex-wrap: wrap; - margin-block-start: 40px; - justify-content: center; -`,C3=q` - width: 120px; - height: 120px; - box-shadow: 1px 1px 4px var(--fg-color); - display: flex; - justify-content: end; - align-items: center; - border: 1px solid grey; - border-radius: 10px; - cursor: pointer; - flex-direction: column; - color: unset; - ${pc} - - &:hover, - &:focus { - box-shadow: 1px 1px 1px var(--hover-color); - } -`;function Ge({children:e,href:t}){return d("a",{css:C3,href:t,target:"_blank",children:e})}function T3(){const{ref:e}=pa();return j("div",{css:x3,ref:e,children:[j(Xi,{children:[d("meta",{name:"description",content:`A collection of technologies used in the process of making this - website and in my day to day work.`}),d("title",{children:"Tech - Joseph D. Phelan"})]}),d("h1",{children:"Technology"}),d("p",{children:"A collection of technologies used in the process of making this website and in my day to day work."}),d("p",{children:"My preferred stack includes working in typescript and react with some sort of css-in-js library (in my case I am using emotion). I use git and github for version control and code reviews. Eslint and prettier are used for code formatting. Vite was used to generate the skeleton of this project."}),d("p",{children:"My preferred code editor is visual studio code, but I've also used some jetbrains editors in the past. I use vercel to host my website. I like to use Playwright for e2e testing and jest for js unit testing."}),j("div",{css:E3,children:[j(Ge,{href:"https://react.dev/",children:[d(l3,{}),d("p",{children:"React"})]}),j(Ge,{href:"https://www.typescriptlang.org/",children:[d(a3,{}),d("p",{children:"Typescript"})]}),j(Ge,{href:"https://git-scm.com/",children:[d(u3,{}),d("p",{children:"Git"})]}),j(Ge,{href:"https://github.com/",children:[d(g3,{}),d("p",{children:"Github"})]}),j(Ge,{href:"https://eslint.org/",children:[d(s3,{}),d("p",{children:"Eslint"})]}),j(Ge,{href:"https://prettier.io/",children:[d(c3,{}),d("p",{children:"Prettier"})]}),j(Ge,{href:"https://vite.dev/",children:[d(f3,{}),d("p",{children:"Vite"})]}),j(Ge,{href:"https://vercel.com",children:[d(d3,{}),d("p",{children:"Vercel"})]}),j(Ge,{href:"https://code.visualstudio.com/",children:[d(p3,{}),d("p",{children:"VS code"})]}),j(Ge,{href:"https://playwright.dev",children:[d(y3,{}),d("p",{children:"Playwright"})]}),j(Ge,{href:"https://jestjs.io/",children:[d(S3,{}),d("p",{children:"Jest"})]}),j(Ge,{href:"https://emotion.sh",children:[d(w3,{}),d("p",{children:"Emotion"})]}),j(Ge,{href:"https://fonts.google.com/icons",children:[d(v3,{}),d("p",{children:"Material icons"})]}),j(Ge,{href:"https://github.com/nfl/react-helmet",children:[d(h3,{}),d("p",{children:"React-helmet"})]}),j(Ge,{href:"https://github.com/tschaub/gh-pages",children:[d(m3,{}),d("p",{children:"Gh-pages"})]})]})]})}function k3(){return d("svg",{xmlns:"http://www.w3.org/2000/svg",height:"40px",viewBox:"0 -960 960 960",width:"40px",fill:"currentColor",children:d("path",{d:"M480-280q17 0 28.5-11.5T520-320q0-17-11.5-28.5T480-360q-17 0-28.5 11.5T440-320q0 17 11.5 28.5T480-280Zm-40-160h80v-240h-80v240Zm40 360q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z"})})}const P3=q` - ${da} -`,_3=q` - display: flex; - align-items: center; - gap: 8px; -`;function R3(){const{ref:e}=pa();return j("div",{css:P3,ref:e,children:[j("h1",{css:_3,children:[d(k3,{}),"Path not found"]}),"Looks like the path you are trying to reach does not exist. Run back"," ",d(_i,{to:"/",children:"Home"}),"!"]})}function L3(){const e=Ug([{path:"/",element:d(o3,{}),children:[{path:"/",Component:a4,index:!0},{path:"/about",Component:p4},{path:"/tech",Component:T3},{path:"*",Component:R3}]}]);return k.useLayoutEffect(()=>{typeof window<"u"&&yp(window.localStorage.getItem("theme"))},[]),d(Gg,{router:e})}tp(document.getElementById("root")).render(d(k.StrictMode,{children:d(L3,{})})); diff --git a/index.html b/index.html index c385d1b..5204f8e 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@ Joseph D. Phelan - +