From 0095bda471be81a03c5d3e193a8b4a2e3bd892a0 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 6 May 2024 15:32:44 +0000 Subject: [PATCH] Deploy to GitHub pages --- assets/index-bff228d4.js | 68 +++++++++++++++++++++++++++++++++++++++ assets/index-c90e50bd.css | 1 + index.html | 4 +-- 3 files changed, 71 insertions(+), 2 deletions(-) create mode 100644 assets/index-bff228d4.js create mode 100644 assets/index-c90e50bd.css diff --git a/assets/index-bff228d4.js b/assets/index-bff228d4.js new file mode 100644 index 0000000..eed5a4b --- /dev/null +++ b/assets/index-bff228d4.js @@ -0,0 +1,68 @@ +function bd(e,t){for(var n=0;nr[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const o of l)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(l){const o={};return l.integrity&&(o.integrity=l.integrity),l.referrerPolicy&&(o.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?o.credentials="include":l.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(l){if(l.ep)return;l.ep=!0;const o=n(l);fetch(l.href,o)}})();function ep(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ac={exports:{}},Eo={},uc={exports:{}},K={};/** + * @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 cl=Symbol.for("react.element"),tp=Symbol.for("react.portal"),np=Symbol.for("react.fragment"),rp=Symbol.for("react.strict_mode"),lp=Symbol.for("react.profiler"),op=Symbol.for("react.provider"),ip=Symbol.for("react.context"),ap=Symbol.for("react.forward_ref"),up=Symbol.for("react.suspense"),sp=Symbol.for("react.memo"),cp=Symbol.for("react.lazy"),ju=Symbol.iterator;function fp(e){return e===null||typeof e!="object"?null:(e=ju&&e[ju]||e["@@iterator"],typeof e=="function"?e:null)}var sc={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},cc=Object.assign,fc={};function fr(e,t,n){this.props=e,this.context=t,this.refs=fc,this.updater=n||sc}fr.prototype.isReactComponent={};fr.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")};fr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function dc(){}dc.prototype=fr.prototype;function ya(e,t,n){this.props=e,this.context=t,this.refs=fc,this.updater=n||sc}var wa=ya.prototype=new dc;wa.constructor=ya;cc(wa,fr.prototype);wa.isPureReactComponent=!0;var Tu=Array.isArray,pc=Object.prototype.hasOwnProperty,Sa={current:null},hc={key:!0,ref:!0,__self:!0,__source:!0};function mc(e,t,n){var r,l={},o=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(o=""+t.key),t)pc.call(t,r)&&!hc.hasOwnProperty(r)&&(l[r]=t[r]);var a=arguments.length-2;if(a===1)l.children=n;else if(1>>1,Z=R[J];if(0>>1;Jl(We,B))Mel(qe,We)?(R[J]=qe,R[Me]=B,J=Me):(R[J]=We,R[Ve]=B,J=Ve);else if(Mel(qe,B))R[J]=qe,R[Me]=B,J=Me;else break e}}return U}function l(R,U){var B=R.sortIndex-U.sortIndex;return B!==0?B:R.id-U.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,a=i.now();e.unstable_now=function(){return i.now()-a}}var u=[],s=[],f=1,c=null,p=3,x=!1,S=!1,w=!1,N=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,d=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function m(R){for(var U=n(s);U!==null;){if(U.callback===null)r(s);else if(U.startTime<=R)r(s),U.sortIndex=U.expirationTime,t(u,U);else break;U=n(s)}}function E(R){if(w=!1,m(R),!S)if(n(u)!==null)S=!0,It(j);else{var U=n(s);U!==null&&Ut(E,U.startTime-R)}}function j(R,U){S=!1,w&&(w=!1,h(T),T=-1),x=!0;var B=p;try{for(m(U),c=n(u);c!==null&&(!(c.expirationTime>U)||R&&!q());){var J=c.callback;if(typeof J=="function"){c.callback=null,p=c.priorityLevel;var Z=J(c.expirationTime<=U);U=e.unstable_now(),typeof Z=="function"?c.callback=Z:c===n(u)&&r(u),m(U)}else r(u);c=n(u)}if(c!==null)var st=!0;else{var Ve=n(s);Ve!==null&&Ut(E,Ve.startTime-U),st=!1}return st}finally{c=null,p=B,x=!1}}var M=!1,v=null,T=-1,H=5,F=-1;function q(){return!(e.unstable_now()-FR||125J?(R.sortIndex=B,t(s,R),n(u)===null&&R===n(s)&&(w?(h(T),T=-1):w=!0,Ut(E,B-J))):(R.sortIndex=Z,t(u,R),S||x||(S=!0,It(j))),R},e.unstable_shouldYield=q,e.unstable_wrapCallback=function(R){var U=p;return function(){var B=p;p=U;try{return R.apply(this,arguments)}finally{p=B}}}})(Sc);wc.exports=Sc;var _p=wc.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 Cp=L,Xe=_p;function C(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),xi=Object.prototype.hasOwnProperty,Pp=/^[: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]*$/,Du={},zu={};function Rp(e){return xi.call(zu,e)?!0:xi.call(Du,e)?!1:Pp.test(e)?zu[e]=!0:(Du[e]=!0,!1)}function Np(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 Lp(e,t,n,r){if(t===null||typeof t>"u"||Np(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 Ie(e,t,n,r,l,o,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var _e={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){_e[e]=new Ie(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];_e[t]=new Ie(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){_e[e]=new Ie(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){_e[e]=new Ie(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){_e[e]=new Ie(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){_e[e]=new Ie(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){_e[e]=new Ie(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){_e[e]=new Ie(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){_e[e]=new Ie(e,5,!1,e.toLowerCase(),null,!1,!1)});var ka=/[\-:]([a-z])/g;function Ea(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(ka,Ea);_e[t]=new Ie(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(ka,Ea);_e[t]=new Ie(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(ka,Ea);_e[t]=new Ie(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){_e[e]=new Ie(e,1,!1,e.toLowerCase(),null,!1,!1)});_e.xlinkHref=new Ie("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){_e[e]=new Ie(e,1,!1,e.toLowerCase(),null,!0,!0)});function _a(e,t,n,r){var l=_e.hasOwnProperty(t)?_e[t]:null;(l!==null?l.type!==0:r||!(2a||l[i]!==o[a]){var u=` +`+l[i].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=i&&0<=a);break}}}finally{Ko=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Tr(e):""}function jp(e){switch(e.tag){case 5:return Tr(e.type);case 16:return Tr("Lazy");case 13:return Tr("Suspense");case 19:return Tr("SuspenseList");case 0:case 2:case 15:return e=Go(e.type,!1),e;case 11:return e=Go(e.type.render,!1),e;case 1:return e=Go(e.type,!0),e;default:return""}}function Ci(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Un:return"Fragment";case In:return"Portal";case ki:return"Profiler";case Ca:return"StrictMode";case Ei:return"Suspense";case _i:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ec:return(e.displayName||"Context")+".Consumer";case kc:return(e._context.displayName||"Context")+".Provider";case Pa:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ra:return t=e.displayName||null,t!==null?t:Ci(e.type)||"Memo";case Wt:t=e._payload,e=e._init;try{return Ci(e(t))}catch{}}return null}function Tp(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Ci(t);case 8:return t===Ca?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function on(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Cc(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Mp(e){var t=Cc(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(i){r=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function _l(e){e._valueTracker||(e._valueTracker=Mp(e))}function Pc(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Cc(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Zl(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Pi(e,t){var n=t.checked;return ue({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Fu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=on(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Rc(e,t){t=t.checked,t!=null&&_a(e,"checked",t,!1)}function Ri(e,t){Rc(e,t);var n=on(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Ni(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ni(e,t.type,on(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Iu(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 Ni(e,t,n){(t!=="number"||Zl(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Mr=Array.isArray;function Jn(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=Cl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Kr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Or={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},Dp=["Webkit","ms","Moz","O"];Object.keys(Or).forEach(function(e){Dp.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Or[t]=Or[e]})});function Tc(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Or.hasOwnProperty(e)&&Or[e]?(""+t).trim():t+"px"}function Mc(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=Tc(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var zp=ue({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 Ti(e,t){if(t){if(zp[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(C(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(C(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(C(61))}if(t.style!=null&&typeof t.style!="object")throw Error(C(62))}}function Mi(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 Di=null;function Na(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var zi=null,Zn=null,qn=null;function Bu(e){if(e=pl(e)){if(typeof zi!="function")throw Error(C(280));var t=e.stateNode;t&&(t=No(t),zi(e.stateNode,e.type,t))}}function Dc(e){Zn?qn?qn.push(e):qn=[e]:Zn=e}function zc(){if(Zn){var e=Zn,t=qn;if(qn=Zn=null,Bu(e),t)for(e=0;e>>=0,e===0?32:31-(Qp(e)/Kp|0)|0}var Pl=64,Rl=4194304;function Dr(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 to(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,o=e.pingedLanes,i=n&268435455;if(i!==0){var a=i&~l;a!==0?r=Dr(a):(o&=i,o!==0&&(r=Dr(o)))}else i=n&~l,i!==0?r=Dr(i):o!==0&&(r=Dr(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,o=t&-t,l>=o||l===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function fl(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-mt(t),e[t]=n}function Jp(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=Ir),Xu=String.fromCharCode(32),Ju=!1;function ef(e,t){switch(e){case"keyup":return _h.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function tf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var An=!1;function Ph(e,t){switch(e){case"compositionend":return tf(t);case"keypress":return t.which!==32?null:(Ju=!0,Xu);case"textInput":return e=t.data,e===Xu&&Ju?null:e;default:return null}}function Rh(e,t){if(An)return e==="compositionend"||!Fa&&ef(e,t)?(e=qc(),Hl=Da=Xt=null,An=!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=es(n)}}function of(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?of(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function af(){for(var e=window,t=Zl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Zl(e.document)}return t}function Ia(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 Fh(e){var t=af(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&of(n.ownerDocument.documentElement,n)){if(r!==null&&Ia(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,o=Math.min(r.start,l);r=r.end===void 0?o:Math.min(r.end,l),!e.extend&&o>r&&(l=r,r=o,o=l),l=ts(n,o);var i=ts(n,r);l&&i&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Bn=null,Bi=null,Ar=null,$i=!1;function ns(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;$i||Bn==null||Bn!==Zl(r)||(r=Bn,"selectionStart"in r&&Ia(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}),Ar&&qr(Ar,r)||(Ar=r,r=lo(Bi,"onSelect"),0Vn||(e.current=Gi[Vn],Gi[Vn]=null,Vn--)}function b(e,t){Vn++,Gi[Vn]=e.current,e.current=t}var an={},Le=cn(an),Be=cn(!1),En=an;function lr(e,t){var n=e.type.contextTypes;if(!n)return an;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},o;for(o in n)l[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function $e(e){return e=e.childContextTypes,e!=null}function io(){te(Be),te(Le)}function ss(e,t,n){if(Le.current!==an)throw Error(C(168));b(Le,t),b(Be,n)}function vf(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(C(108,Tp(e)||"Unknown",l));return ue({},n,r)}function ao(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||an,En=Le.current,b(Le,e),b(Be,Be.current),!0}function cs(e,t,n){var r=e.stateNode;if(!r)throw Error(C(169));n?(e=vf(e,t,En),r.__reactInternalMemoizedMergedChildContext=e,te(Be),te(Le),b(Le,e)):te(Be),b(Be,n)}var Rt=null,Lo=!1,ai=!1;function gf(e){Rt===null?Rt=[e]:Rt.push(e)}function Yh(e){Lo=!0,gf(e)}function fn(){if(!ai&&Rt!==null){ai=!0;var e=0,t=X;try{var n=Rt;for(X=1;e>=i,l-=i,Nt=1<<32-mt(t)+l|n<T?(H=v,v=null):H=v.sibling;var F=p(h,v,m[T],E);if(F===null){v===null&&(v=H);break}e&&v&&F.alternate===null&&t(h,v),d=o(F,d,T),M===null?j=F:M.sibling=F,M=F,v=H}if(T===m.length)return n(h,v),le&&hn(h,T),j;if(v===null){for(;TT?(H=v,v=null):H=v.sibling;var q=p(h,v,F.value,E);if(q===null){v===null&&(v=H);break}e&&v&&q.alternate===null&&t(h,v),d=o(q,d,T),M===null?j=q:M.sibling=q,M=q,v=H}if(F.done)return n(h,v),le&&hn(h,T),j;if(v===null){for(;!F.done;T++,F=m.next())F=c(h,F.value,E),F!==null&&(d=o(F,d,T),M===null?j=F:M.sibling=F,M=F);return le&&hn(h,T),j}for(v=r(h,v);!F.done;T++,F=m.next())F=x(v,h,T,F.value,E),F!==null&&(e&&F.alternate!==null&&v.delete(F.key===null?T:F.key),d=o(F,d,T),M===null?j=F:M.sibling=F,M=F);return e&&v.forEach(function(pe){return t(h,pe)}),le&&hn(h,T),j}function N(h,d,m,E){if(typeof m=="object"&&m!==null&&m.type===Un&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case El:e:{for(var j=m.key,M=d;M!==null;){if(M.key===j){if(j=m.type,j===Un){if(M.tag===7){n(h,M.sibling),d=l(M,m.props.children),d.return=h,h=d;break e}}else if(M.elementType===j||typeof j=="object"&&j!==null&&j.$$typeof===Wt&&ps(j)===M.type){n(h,M.sibling),d=l(M,m.props),d.ref=Pr(h,M,m),d.return=h,h=d;break e}n(h,M);break}else t(h,M);M=M.sibling}m.type===Un?(d=kn(m.props.children,h.mode,E,m.key),d.return=h,h=d):(E=Jl(m.type,m.key,m.props,null,h.mode,E),E.ref=Pr(h,d,m),E.return=h,h=E)}return i(h);case In:e:{for(M=m.key;d!==null;){if(d.key===M)if(d.tag===4&&d.stateNode.containerInfo===m.containerInfo&&d.stateNode.implementation===m.implementation){n(h,d.sibling),d=l(d,m.children||[]),d.return=h,h=d;break e}else{n(h,d);break}else t(h,d);d=d.sibling}d=mi(m,h.mode,E),d.return=h,h=d}return i(h);case Wt:return M=m._init,N(h,d,M(m._payload),E)}if(Mr(m))return S(h,d,m,E);if(xr(m))return w(h,d,m,E);zl(h,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,d!==null&&d.tag===6?(n(h,d.sibling),d=l(d,m),d.return=h,h=d):(n(h,d),d=hi(m,h.mode,E),d.return=h,h=d),i(h)):n(h,d)}return N}var ir=xf(!0),kf=xf(!1),co=cn(null),fo=null,Kn=null,$a=null;function Ha(){$a=Kn=fo=null}function Va(e){var t=co.current;te(co),e._currentValue=t}function Ji(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 er(e,t){fo=e,$a=Kn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ae=!0),e.firstContext=null)}function it(e){var t=e._currentValue;if($a!==e)if(e={context:e,memoizedValue:t,next:null},Kn===null){if(fo===null)throw Error(C(308));Kn=e,fo.dependencies={lanes:0,firstContext:e}}else Kn=Kn.next=e;return t}var gn=null;function Wa(e){gn===null?gn=[e]:gn.push(e)}function Ef(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,Wa(t)):(n.next=l.next,l.next=n),t.interleaved=n,zt(e,r)}function zt(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 Qt=!1;function Qa(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function _f(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 jt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function tn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Y&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,zt(e,n)}return l=r.interleaved,l===null?(t.next=t,Wa(r)):(t.next=l.next,l.next=t),r.interleaved=t,zt(e,n)}function Wl(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,ja(e,n)}}function hs(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?l=o=i:o=o.next=i,n=n.next}while(n!==null);o===null?l=o=t:o=o.next=t}else l=o=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function po(e,t,n,r){var l=e.updateQueue;Qt=!1;var o=l.firstBaseUpdate,i=l.lastBaseUpdate,a=l.shared.pending;if(a!==null){l.shared.pending=null;var u=a,s=u.next;u.next=null,i===null?o=s:i.next=s,i=u;var f=e.alternate;f!==null&&(f=f.updateQueue,a=f.lastBaseUpdate,a!==i&&(a===null?f.firstBaseUpdate=s:a.next=s,f.lastBaseUpdate=u))}if(o!==null){var c=l.baseState;i=0,f=s=u=null,a=o;do{var p=a.lane,x=a.eventTime;if((r&p)===p){f!==null&&(f=f.next={eventTime:x,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var S=e,w=a;switch(p=t,x=n,w.tag){case 1:if(S=w.payload,typeof S=="function"){c=S.call(x,c,p);break e}c=S;break e;case 3:S.flags=S.flags&-65537|128;case 0:if(S=w.payload,p=typeof S=="function"?S.call(x,c,p):S,p==null)break e;c=ue({},c,p);break e;case 2:Qt=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,p=l.effects,p===null?l.effects=[a]:p.push(a))}else x={eventTime:x,lane:p,tag:a.tag,payload:a.payload,callback:a.callback,next:null},f===null?(s=f=x,u=c):f=f.next=x,i|=p;if(a=a.next,a===null){if(a=l.shared.pending,a===null)break;p=a,a=p.next,p.next=null,l.lastBaseUpdate=p,l.shared.pending=null}}while(1);if(f===null&&(u=c),l.baseState=u,l.firstBaseUpdate=s,l.lastBaseUpdate=f,t=l.shared.interleaved,t!==null){l=t;do i|=l.lane,l=l.next;while(l!==t)}else o===null&&(l.shared.lanes=0);Pn|=i,e.lanes=i,e.memoizedState=c}}function ms(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=si.transition;si.transition={};try{e(!1),t()}finally{X=n,si.transition=r}}function $f(){return at().memoizedState}function qh(e,t,n){var r=rn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Hf(e))Vf(t,n);else if(n=Ef(e,t,n,r),n!==null){var l=Oe();vt(n,e,r,l),Wf(n,t,r)}}function bh(e,t,n){var r=rn(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Hf(e))Vf(t,l);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var i=t.lastRenderedState,a=o(i,n);if(l.hasEagerState=!0,l.eagerState=a,gt(a,i)){var u=t.interleaved;u===null?(l.next=l,Wa(t)):(l.next=u.next,u.next=l),t.interleaved=l;return}}catch{}finally{}n=Ef(e,t,l,r),n!==null&&(l=Oe(),vt(n,e,r,l),Wf(n,t,r))}}function Hf(e){var t=e.alternate;return e===ae||t!==null&&t===ae}function Vf(e,t){Br=mo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Wf(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ja(e,n)}}var vo={readContext:it,useCallback:Ce,useContext:Ce,useEffect:Ce,useImperativeHandle:Ce,useInsertionEffect:Ce,useLayoutEffect:Ce,useMemo:Ce,useReducer:Ce,useRef:Ce,useState:Ce,useDebugValue:Ce,useDeferredValue:Ce,useTransition:Ce,useMutableSource:Ce,useSyncExternalStore:Ce,useId:Ce,unstable_isNewReconciler:!1},em={readContext:it,useCallback:function(e,t){return St().memoizedState=[e,t===void 0?null:t],e},useContext:it,useEffect:gs,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Kl(4194308,4,Ff.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Kl(4194308,4,e,t)},useInsertionEffect:function(e,t){return Kl(4,2,e,t)},useMemo:function(e,t){var n=St();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=St();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=qh.bind(null,ae,e),[r.memoizedState,e]},useRef:function(e){var t=St();return e={current:e},t.memoizedState=e},useState:vs,useDebugValue:ba,useDeferredValue:function(e){return St().memoizedState=e},useTransition:function(){var e=vs(!1),t=e[0];return e=Zh.bind(null,e[1]),St().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ae,l=St();if(le){if(n===void 0)throw Error(C(407));n=n()}else{if(n=t(),ye===null)throw Error(C(349));Cn&30||Nf(r,t,n)}l.memoizedState=n;var o={value:n,getSnapshot:t};return l.queue=o,gs(jf.bind(null,r,o,e),[e]),r.flags|=2048,il(9,Lf.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=St(),t=ye.identifierPrefix;if(le){var n=Lt,r=Nt;n=(r&~(1<<32-mt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ll++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[xt]=t,e[tl]=r,ed(e,t,!1,!1),t.stateNode=e;e:{switch(i=Mi(n,r),n){case"dialog":ee("cancel",e),ee("close",e),l=r;break;case"iframe":case"object":case"embed":ee("load",e),l=r;break;case"video":case"audio":for(l=0;lsr&&(t.flags|=128,r=!0,Rr(o,!1),t.lanes=4194304)}else{if(!r)if(e=ho(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Rr(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!le)return Pe(t),null}else 2*fe()-o.renderingStartTime>sr&&n!==1073741824&&(t.flags|=128,r=!0,Rr(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(n=o.last,n!==null?n.sibling=i:t.child=i,o.last=i)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=fe(),t.sibling=null,n=ie.current,b(ie,r?n&1|2:n&1),t):(Pe(t),null);case 22:case 23:return ou(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ke&1073741824&&(Pe(t),t.subtreeFlags&6&&(t.flags|=8192)):Pe(t),null;case 24:return null;case 25:return null}throw Error(C(156,t.tag))}function um(e,t){switch(Aa(t),t.tag){case 1:return $e(t.type)&&io(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ar(),te(Be),te(Le),Ya(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Ga(t),null;case 13:if(te(ie),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(C(340));or()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return te(ie),null;case 4:return ar(),null;case 10:return Va(t.type._context),null;case 22:case 23:return ou(),null;case 24:return null;default:return null}}var Fl=!1,Ne=!1,sm=typeof WeakSet=="function"?WeakSet:Set,D=null;function Gn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){se(e,t,r)}else n.current=null}function oa(e,t,n){try{n()}catch(r){se(e,t,r)}}var Ns=!1;function cm(e,t){if(Hi=no,e=af(),Ia(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var i=0,a=-1,u=-1,s=0,f=0,c=e,p=null;t:for(;;){for(var x;c!==n||l!==0&&c.nodeType!==3||(a=i+l),c!==o||r!==0&&c.nodeType!==3||(u=i+r),c.nodeType===3&&(i+=c.nodeValue.length),(x=c.firstChild)!==null;)p=c,c=x;for(;;){if(c===e)break t;if(p===n&&++s===l&&(a=i),p===o&&++f===r&&(u=i),(x=c.nextSibling)!==null)break;c=p,p=c.parentNode}c=x}n=a===-1||u===-1?null:{start:a,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(Vi={focusedElem:e,selectionRange:n},no=!1,D=t;D!==null;)if(t=D,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,D=e;else for(;D!==null;){t=D;try{var S=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(S!==null){var w=S.memoizedProps,N=S.memoizedState,h=t.stateNode,d=h.getSnapshotBeforeUpdate(t.elementType===t.type?w:ft(t.type,w),N);h.__reactInternalSnapshotBeforeUpdate=d}break;case 3:var m=t.stateNode.containerInfo;m.nodeType===1?m.textContent="":m.nodeType===9&&m.documentElement&&m.removeChild(m.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(C(163))}}catch(E){se(t,t.return,E)}if(e=t.sibling,e!==null){e.return=t.return,D=e;break}D=t.return}return S=Ns,Ns=!1,S}function $r(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var o=l.destroy;l.destroy=void 0,o!==void 0&&oa(t,n,o)}l=l.next}while(l!==r)}}function Mo(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 ia(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 rd(e){var t=e.alternate;t!==null&&(e.alternate=null,rd(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[xt],delete t[tl],delete t[Ki],delete t[Kh],delete t[Gh])),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 ld(e){return e.tag===5||e.tag===3||e.tag===4}function Ls(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||ld(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 aa(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=oo));else if(r!==4&&(e=e.child,e!==null))for(aa(e,t,n),e=e.sibling;e!==null;)aa(e,t,n),e=e.sibling}function ua(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(ua(e,t,n),e=e.sibling;e!==null;)ua(e,t,n),e=e.sibling}var ke=null,dt=!1;function Ht(e,t,n){for(n=n.child;n!==null;)od(e,t,n),n=n.sibling}function od(e,t,n){if(kt&&typeof kt.onCommitFiberUnmount=="function")try{kt.onCommitFiberUnmount(_o,n)}catch{}switch(n.tag){case 5:Ne||Gn(n,t);case 6:var r=ke,l=dt;ke=null,Ht(e,t,n),ke=r,dt=l,ke!==null&&(dt?(e=ke,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ke.removeChild(n.stateNode));break;case 18:ke!==null&&(dt?(e=ke,n=n.stateNode,e.nodeType===8?ii(e.parentNode,n):e.nodeType===1&&ii(e,n),Jr(e)):ii(ke,n.stateNode));break;case 4:r=ke,l=dt,ke=n.stateNode.containerInfo,dt=!0,Ht(e,t,n),ke=r,dt=l;break;case 0:case 11:case 14:case 15:if(!Ne&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var o=l,i=o.destroy;o=o.tag,i!==void 0&&(o&2||o&4)&&oa(n,t,i),l=l.next}while(l!==r)}Ht(e,t,n);break;case 1:if(!Ne&&(Gn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){se(n,t,a)}Ht(e,t,n);break;case 21:Ht(e,t,n);break;case 22:n.mode&1?(Ne=(r=Ne)||n.memoizedState!==null,Ht(e,t,n),Ne=r):Ht(e,t,n);break;default:Ht(e,t,n)}}function js(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new sm),t.forEach(function(r){var l=wm.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function ct(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=i),r&=~o}if(r=l,r=fe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*dm(r/1960))-r,10e?16:e,Jt===null)var r=!1;else{if(e=Jt,Jt=null,wo=0,Y&6)throw Error(C(331));var l=Y;for(Y|=4,D=e.current;D!==null;){var o=D,i=o.child;if(D.flags&16){var a=o.deletions;if(a!==null){for(var u=0;ufe()-ru?xn(e,0):nu|=n),He(e,t)}function pd(e,t){t===0&&(e.mode&1?(t=Rl,Rl<<=1,!(Rl&130023424)&&(Rl=4194304)):t=1);var n=Oe();e=zt(e,t),e!==null&&(fl(e,t,n),He(e,n))}function ym(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),pd(e,n)}function wm(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(C(314))}r!==null&&r.delete(t),pd(e,n)}var hd;hd=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Be.current)Ae=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ae=!1,im(e,t,n);Ae=!!(e.flags&131072)}else Ae=!1,le&&t.flags&1048576&&yf(t,so,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Gl(e,t),e=t.pendingProps;var l=lr(t,Le.current);er(t,n),l=Ja(null,t,r,e,l,n);var o=Za();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,$e(r)?(o=!0,ao(t)):o=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Qa(t),l.updater=To,t.stateNode=l,l._reactInternals=t,qi(t,r,e,n),t=ta(null,t,r,!0,o,n)):(t.tag=0,le&&o&&Ua(t),ze(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Gl(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=xm(r),e=ft(r,e),l){case 0:t=ea(null,t,r,e,n);break e;case 1:t=Cs(null,t,r,e,n);break e;case 11:t=Es(null,t,r,e,n);break e;case 14:t=_s(null,t,r,ft(r.type,e),n);break e}throw Error(C(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ft(r,l),ea(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ft(r,l),Cs(e,t,r,l,n);case 3:e:{if(Zf(t),e===null)throw Error(C(387));r=t.pendingProps,o=t.memoizedState,l=o.element,_f(e,t),po(t,r,null,n);var i=t.memoizedState;if(r=i.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){l=ur(Error(C(423)),t),t=Ps(e,t,r,n,l);break e}else if(r!==l){l=ur(Error(C(424)),t),t=Ps(e,t,r,n,l);break e}else for(Ge=en(t.stateNode.containerInfo.firstChild),Ye=t,le=!0,ht=null,n=kf(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(or(),r===l){t=Ot(e,t,n);break e}ze(e,t,r,n)}t=t.child}return t;case 5:return Cf(t),e===null&&Xi(t),r=t.type,l=t.pendingProps,o=e!==null?e.memoizedProps:null,i=l.children,Wi(r,l)?i=null:o!==null&&Wi(r,o)&&(t.flags|=32),Jf(e,t),ze(e,t,i,n),t.child;case 6:return e===null&&Xi(t),null;case 13:return qf(e,t,n);case 4:return Ka(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=ir(t,null,r,n):ze(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ft(r,l),Es(e,t,r,l,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,l=t.pendingProps,o=t.memoizedProps,i=l.value,b(co,r._currentValue),r._currentValue=i,o!==null)if(gt(o.value,i)){if(o.children===l.children&&!Be.current){t=Ot(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){i=o.child;for(var u=a.firstContext;u!==null;){if(u.context===r){if(o.tag===1){u=jt(-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),Ji(o.return,n,t),a.lanes|=n;break}u=u.next}}else if(o.tag===10)i=o.type===t.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(C(341));i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),Ji(i,n,t),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===t){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}ze(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,er(t,n),l=it(l),r=r(l),t.flags|=1,ze(e,t,r,n),t.child;case 14:return r=t.type,l=ft(r,t.pendingProps),l=ft(r.type,l),_s(e,t,r,l,n);case 15:return Yf(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ft(r,l),Gl(e,t),t.tag=1,$e(r)?(e=!0,ao(t)):e=!1,er(t,n),Qf(t,r,l),qi(t,r,l,n),ta(null,t,r,!0,e,n);case 19:return bf(e,t,n);case 22:return Xf(e,t,n)}throw Error(C(156,t.tag))};function md(e,t){return $c(e,t)}function Sm(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 lt(e,t,n,r){return new Sm(e,t,n,r)}function au(e){return e=e.prototype,!(!e||!e.isReactComponent)}function xm(e){if(typeof e=="function")return au(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Pa)return 11;if(e===Ra)return 14}return 2}function ln(e,t){var n=e.alternate;return n===null?(n=lt(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 Jl(e,t,n,r,l,o){var i=2;if(r=e,typeof e=="function")au(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Un:return kn(n.children,l,o,t);case Ca:i=8,l|=8;break;case ki:return e=lt(12,n,t,l|2),e.elementType=ki,e.lanes=o,e;case Ei:return e=lt(13,n,t,l),e.elementType=Ei,e.lanes=o,e;case _i:return e=lt(19,n,t,l),e.elementType=_i,e.lanes=o,e;case _c:return zo(n,l,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case kc:i=10;break e;case Ec:i=9;break e;case Pa:i=11;break e;case Ra:i=14;break e;case Wt:i=16,r=null;break e}throw Error(C(130,e==null?e:typeof e,""))}return t=lt(i,n,t,l),t.elementType=e,t.type=r,t.lanes=o,t}function kn(e,t,n,r){return e=lt(7,e,r,t),e.lanes=n,e}function zo(e,t,n,r){return e=lt(22,e,r,t),e.elementType=_c,e.lanes=n,e.stateNode={isHidden:!1},e}function hi(e,t,n){return e=lt(6,e,null,t),e.lanes=n,e}function mi(e,t,n){return t=lt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function km(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Xo(0),this.expirationTimes=Xo(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Xo(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function uu(e,t,n,r,l,o,i,a,u){return e=new km(e,t,n,a,u),t===1?(t=1,o===!0&&(t|=8)):t=0,o=lt(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Qa(o),e}function Em(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(wd)}catch(e){console.error(e)}}wd(),yc.exports=Je;var Nm=yc.exports,Us=Nm;Si.createRoot=Us.createRoot,Si.hydrateRoot=Us.hydrateRoot;/** + * @remix-run/router v1.16.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function oe(){return oe=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Nn(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Tm(){return Math.random().toString(36).substr(2,8)}function Bs(e,t){return{usr:e.state,key:e.key,idx:t}}function cr(e,t,n,r){return n===void 0&&(n=null),oe({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?_t(t):t,{state:n,key:t&&t.key||r||Tm()})}function un(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 _t(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 Sd(e,t,n,r){r===void 0&&(r={});let{window:l=document.defaultView,v5Compat:o=!1}=r,i=l.history,a=ce.Pop,u=null,s=f();s==null&&(s=0,i.replaceState(oe({},i.state,{idx:s}),""));function f(){return(i.state||{idx:null}).idx}function c(){a=ce.Pop;let N=f(),h=N==null?null:N-s;s=N,u&&u({action:a,location:w.location,delta:h})}function p(N,h){a=ce.Push;let d=cr(w.location,N,h);n&&n(d,N),s=f()+1;let m=Bs(d,s),E=w.createHref(d);try{i.pushState(m,"",E)}catch(j){if(j instanceof DOMException&&j.name==="DataCloneError")throw j;l.location.assign(E)}o&&u&&u({action:a,location:w.location,delta:1})}function x(N,h){a=ce.Replace;let d=cr(w.location,N,h);n&&n(d,N),s=f();let m=Bs(d,s),E=w.createHref(d);i.replaceState(m,"",E),o&&u&&u({action:a,location:w.location,delta:0})}function S(N){let h=l.location.origin!=="null"?l.location.origin:l.location.href,d=typeof N=="string"?N:un(N);return d=d.replace(/ $/,"%20"),Q(h,"No window.location.(origin|href) available to create URL for href: "+d),new URL(d,h)}let w={get action(){return a},get location(){return e(l,i)},listen(N){if(u)throw new Error("A history only accepts one active listener");return l.addEventListener(As,c),u=N,()=>{l.removeEventListener(As,c),u=null}},createHref(N){return t(l,N)},createURL:S,encodeLocation(N){let h=S(N);return{pathname:h.pathname,search:h.search,hash:h.hash}},push:p,replace:x,go(N){return i.go(N)}};return w}var re;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(re||(re={}));const Mm=new Set(["lazy","caseSensitive","path","id","index","children"]);function Dm(e){return e.index===!0}function pa(e,t,n,r){return n===void 0&&(n=[]),r===void 0&&(r={}),e.map((l,o)=>{let i=[...n,o],a=typeof l.id=="string"?l.id:i.join("-");if(Q(l.index!==!0||!l.children,"Cannot specify children on an index route"),Q(!r[a],'Found a route id collision on id "'+a+`". Route id's must be globally unique within Data Router usages`),Dm(l)){let u=oe({},l,t(l),{id:a});return r[a]=u,u}else{let u=oe({},l,t(l),{id:a,children:void 0});return r[a]=u,l.children&&(u.children=pa(l.children,t,i,r)),u}})}function Xn(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?_t(t):t,l=hr(r.pathname||"/",n);if(l==null)return null;let o=xd(e);Om(o);let i=null;for(let a=0;i==null&&a{let u={relativePath:a===void 0?o.path||"":a,caseSensitive:o.caseSensitive===!0,childrenIndex:i,route:o};u.relativePath.startsWith("/")&&(Q(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=Tt([r,u.relativePath]),f=n.concat(u);o.children&&o.children.length>0&&(Q(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+s+'".')),xd(o.children,t,f,s)),!(o.path==null&&!o.index)&&t.push({path:s,score:Hm(s,o.index),routesMeta:f})};return e.forEach((o,i)=>{var a;if(o.path===""||!((a=o.path)!=null&&a.includes("?")))l(o,i);else for(let u of kd(o.path))l(o,i,u)}),t}function kd(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,l=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return l?[o,""]:[o];let i=kd(r.join("/")),a=[];return a.push(...i.map(u=>u===""?o:[o,u].join("/"))),l&&a.push(...i),a.map(u=>e.startsWith("/")&&u===""?"/":u)}function Om(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Vm(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const Fm=/^:[\w-]+$/,Im=3,Um=2,Am=1,Bm=10,$m=-2,$s=e=>e==="*";function Hm(e,t){let n=e.split("/"),r=n.length;return n.some($s)&&(r+=$m),t&&(r+=Um),n.filter(l=>!$s(l)).reduce((l,o)=>l+(Fm.test(o)?Im:o===""?Am:Bm),r)}function Vm(e,t){return e.length===t.length&&e.slice(0,-1).every((r,l)=>r===t[l])?e[e.length-1]-t[t.length-1]:0}function Wm(e,t){let{routesMeta:n}=e,r={},l="/",o=[];for(let i=0;i{let{paramName:p,isOptional:x}=f;if(p==="*"){let w=a[c]||"";i=o.slice(0,o.length-w.length).replace(/(.)\/+$/,"$1")}const S=a[c];return x&&!S?s[p]=void 0:s[p]=(S||"").replace(/%2F/g,"/"),s},{}),pathname:o,pathnameBase:i,pattern:e}}function Km(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Nn(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],l="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(i,a,u)=>(r.push({paramName:a,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),r]}function Gm(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Nn(!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 hr(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 Ym(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:l=""}=typeof e=="string"?_t(e):e;return{pathname:n?n.startsWith("/")?n:Xm(n,t):t,search:Zm(r),hash:qm(l)}}function Xm(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(l=>{l===".."?n.length>1&&n.pop():l!=="."&&n.push(l)}),n.length>1?n.join("/"):"/"}function vi(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 Ed(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function du(e,t){let n=Ed(e);return t?n.map((r,l)=>l===e.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function pu(e,t,n,r){r===void 0&&(r=!1);let l;typeof e=="string"?l=_t(e):(l=oe({},e),Q(!l.pathname||!l.pathname.includes("?"),vi("?","pathname","search",l)),Q(!l.pathname||!l.pathname.includes("#"),vi("#","pathname","hash",l)),Q(!l.search||!l.search.includes("#"),vi("#","search","hash",l)));let o=e===""||l.pathname==="",i=o?"/":l.pathname,a;if(i==null)a=n;else{let c=t.length-1;if(!r&&i.startsWith("..")){let p=i.split("/");for(;p[0]==="..";)p.shift(),c-=1;l.pathname=p.join("/")}a=c>=0?t[c]:"/"}let u=Ym(l,a),s=i&&i!=="/"&&i.endsWith("/"),f=(o||i===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(s||f)&&(u.pathname+="/"),u}const Tt=e=>e.join("/").replace(/\/\/+/g,"/"),Jm=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Zm=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,qm=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class hu{constructor(t,n,r,l){l===void 0&&(l=!1),this.status=t,this.statusText=n||"",this.internal=l,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function mu(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const _d=["post","put","patch","delete"],bm=new Set(_d),ev=["get",..._d],tv=new Set(ev),nv=new Set([301,302,303,307,308]),rv=new Set([307,308]),gi={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},lv={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Lr={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},vu=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ov=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),Cd="remix-router-transitions";function iv(e){const t=e.window?e.window:typeof window<"u"?window:void 0,n=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u",r=!n;Q(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let l;if(e.mapRouteProperties)l=e.mapRouteProperties;else if(e.detectErrorBoundary){let g=e.detectErrorBoundary;l=y=>({hasErrorBoundary:g(y)})}else l=ov;let o={},i=pa(e.routes,l,void 0,o),a,u=e.basename||"/",s=e.unstable_dataStrategy||cv,f=oe({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,unstable_skipActionErrorRevalidation:!1},e.future),c=null,p=new Set,x=null,S=null,w=null,N=e.hydrationData!=null,h=Xn(i,e.history.location,u),d=null;if(h==null){let g=et(404,{pathname:e.history.location.pathname}),{matches:y,route:k}=Zs(i);h=y,d={[k.id]:g}}let m,E=h.some(g=>g.route.lazy),j=h.some(g=>g.route.loader);if(E)m=!1;else if(!j)m=!0;else if(f.v7_partialHydration){let g=e.hydrationData?e.hydrationData.loaderData:null,y=e.hydrationData?e.hydrationData.errors:null,k=P=>P.route.loader?typeof P.route.loader=="function"&&P.route.loader.hydrate===!0?!1:g&&g[P.route.id]!==void 0||y&&y[P.route.id]!==void 0:!0;if(y){let P=h.findIndex(z=>y[z.route.id]!==void 0);m=h.slice(0,P+1).every(k)}else m=h.every(k)}else m=e.hydrationData!=null;let M,v={historyAction:e.history.action,location:e.history.location,matches:h,initialized:m,navigation:gi,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||d,fetchers:new Map,blockers:new Map},T=ce.Pop,H=!1,F,q=!1,pe=new Map,je=null,Te=!1,ut=!1,It=[],Ut=[],R=new Map,U=0,B=-1,J=new Map,Z=new Set,st=new Map,Ve=new Map,We=new Set,Me=new Map,qe=new Map,$o=!1;function Ud(){if(c=e.history.listen(g=>{let{action:y,location:k,delta:P}=g;if($o){$o=!1;return}Nn(qe.size===0||P!=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=Pu({currentLocation:v.location,nextLocation:k,historyAction:y});if(z&&P!=null){$o=!0,e.history.go(P*-1),yl(z,{state:"blocked",location:k,proceed(){yl(z,{state:"proceeding",proceed:void 0,reset:void 0,location:k}),e.history.go(P)},reset(){let V=new Map(v.blockers);V.set(z,Lr),Qe({blockers:V})}});return}return pn(y,k)}),n){kv(t,pe);let g=()=>Ev(t,pe);t.addEventListener("pagehide",g),je=()=>t.removeEventListener("pagehide",g)}return v.initialized||pn(ce.Pop,v.location,{initialHydration:!0}),M}function Ad(){c&&c(),je&&je(),p.clear(),F&&F.abort(),v.fetchers.forEach((g,y)=>gl(y)),v.blockers.forEach((g,y)=>Cu(y))}function Bd(g){return p.add(g),()=>p.delete(g)}function Qe(g,y){y===void 0&&(y={}),v=oe({},v,g);let k=[],P=[];f.v7_fetcherPersist&&v.fetchers.forEach((z,V)=>{z.state==="idle"&&(We.has(V)?P.push(V):k.push(V))}),[...p].forEach(z=>z(v,{deletedFetchers:P,unstable_viewTransitionOpts:y.viewTransitionOpts,unstable_flushSync:y.flushSync===!0})),f.v7_fetcherPersist&&(k.forEach(z=>v.fetchers.delete(z)),P.forEach(z=>gl(z)))}function mr(g,y,k){var P,z;let{flushSync:V}=k===void 0?{}:k,I=v.actionData!=null&&v.navigation.formMethod!=null&&pt(v.navigation.formMethod)&&v.navigation.state==="loading"&&((P=g.state)==null?void 0:P._isRedirect)!==!0,O;y.actionData?Object.keys(y.actionData).length>0?O=y.actionData:O=null:I?O=v.actionData:O=null;let W=y.loaderData?Xs(v.loaderData,y.loaderData,y.matches||[],y.errors):v.loaderData,$=v.blockers;$.size>0&&($=new Map($),$.forEach((A,ne)=>$.set(ne,Lr)));let we=H===!0||v.navigation.formMethod!=null&&pt(v.navigation.formMethod)&&((z=g.state)==null?void 0:z._isRedirect)!==!0;a&&(i=a,a=void 0),Te||T===ce.Pop||(T===ce.Push?e.history.push(g,g.state):T===ce.Replace&&e.history.replace(g,g.state));let Se;if(T===ce.Pop){let A=pe.get(v.location.pathname);A&&A.has(g.pathname)?Se={currentLocation:v.location,nextLocation:g}:pe.has(g.pathname)&&(Se={currentLocation:g,nextLocation:v.location})}else if(q){let A=pe.get(v.location.pathname);A?A.add(g.pathname):(A=new Set([g.pathname]),pe.set(v.location.pathname,A)),Se={currentLocation:v.location,nextLocation:g}}Qe(oe({},y,{actionData:O,loaderData:W,historyAction:T,location:g,initialized:!0,navigation:gi,revalidation:"idle",restoreScrollPosition:Nu(g,y.matches||v.matches),preventScrollReset:we,blockers:$}),{viewTransitionOpts:Se,flushSync:V===!0}),T=ce.Pop,H=!1,q=!1,Te=!1,ut=!1,It=[],Ut=[]}async function wu(g,y){if(typeof g=="number"){e.history.go(g);return}let k=ha(v.location,v.matches,u,f.v7_prependBasename,g,f.v7_relativeSplatPath,y==null?void 0:y.fromRouteId,y==null?void 0:y.relative),{path:P,submission:z,error:V}=Hs(f.v7_normalizeFormMethod,!1,k,y),I=v.location,O=cr(v.location,P,y&&y.state);O=oe({},O,e.history.encodeLocation(O));let W=y&&y.replace!=null?y.replace:void 0,$=ce.Push;W===!0?$=ce.Replace:W===!1||z!=null&&pt(z.formMethod)&&z.formAction===v.location.pathname+v.location.search&&($=ce.Replace);let we=y&&"preventScrollReset"in y?y.preventScrollReset===!0:void 0,Se=(y&&y.unstable_flushSync)===!0,A=Pu({currentLocation:I,nextLocation:O,historyAction:$});if(A){yl(A,{state:"blocked",location:O,proceed(){yl(A,{state:"proceeding",proceed:void 0,reset:void 0,location:O}),wu(g,y)},reset(){let ne=new Map(v.blockers);ne.set(A,Lr),Qe({blockers:ne})}});return}return await pn($,O,{submission:z,pendingError:V,preventScrollReset:we,replace:y&&y.replace,enableViewTransition:y&&y.unstable_viewTransition,flushSync:Se})}function $d(){if(Ho(),Qe({revalidation:"loading"}),v.navigation.state!=="submitting"){if(v.navigation.state==="idle"){pn(v.historyAction,v.location,{startUninterruptedRevalidation:!0});return}pn(T||v.historyAction,v.navigation.location,{overrideNavigation:v.navigation})}}async function pn(g,y,k){F&&F.abort(),F=null,T=g,Te=(k&&k.startUninterruptedRevalidation)===!0,Jd(v.location,v.matches),H=(k&&k.preventScrollReset)===!0,q=(k&&k.enableViewTransition)===!0;let P=a||i,z=k&&k.overrideNavigation,V=Xn(P,y,u),I=(k&&k.flushSync)===!0;if(!V){let A=et(404,{pathname:y.pathname}),{matches:ne,route:ve}=Zs(P);Vo(),mr(y,{matches:ne,loaderData:{},errors:{[ve.id]:A}},{flushSync:I});return}if(v.initialized&&!ut&&vv(v.location,y)&&!(k&&k.submission&&pt(k.submission.formMethod))){mr(y,{matches:V},{flushSync:I});return}F=new AbortController;let O=Fn(e.history,y,F.signal,k&&k.submission),W;if(k&&k.pendingError)W=[Wr(V).route.id,{type:re.error,error:k.pendingError}];else if(k&&k.submission&&pt(k.submission.formMethod)){let A=await Hd(O,y,k.submission,V,{replace:k.replace,flushSync:I});if(A.shortCircuited)return;W=A.pendingActionResult,z=yi(y,k.submission),I=!1,O=Fn(e.history,O.url,O.signal)}let{shortCircuited:$,loaderData:we,errors:Se}=await Vd(O,y,V,z,k&&k.submission,k&&k.fetcherSubmission,k&&k.replace,k&&k.initialHydration===!0,I,W);$||(F=null,mr(y,oe({matches:V},Js(W),{loaderData:we,errors:Se})))}async function Hd(g,y,k,P,z){z===void 0&&(z={}),Ho();let V=Sv(y,k);Qe({navigation:V},{flushSync:z.flushSync===!0});let I,O=va(P,y);if(!O.route.action&&!O.route.lazy)I={type:re.error,error:et(405,{method:g.method,pathname:y.pathname,routeId:O.route.id})};else if(I=(await gr("action",g,[O],P))[0],g.signal.aborted)return{shortCircuited:!0};if(Sn(I)){let W;return z&&z.replace!=null?W=z.replace:W=Ks(I.response.headers.get("Location"),new URL(g.url),u)===v.location.pathname+v.location.search,await vr(g,I,{submission:k,replace:W}),{shortCircuited:!0}}if(wn(I))throw et(400,{type:"defer-action"});if(rt(I)){let W=Wr(P,O.route.id);return(z&&z.replace)!==!0&&(T=ce.Push),{pendingActionResult:[W.route.id,I]}}return{pendingActionResult:[O.route.id,I]}}async function Vd(g,y,k,P,z,V,I,O,W,$){let we=P||yi(y,z),Se=z||V||ec(we),A=a||i,[ne,ve]=Vs(e.history,v,k,Se,y,f.v7_partialHydration&&O===!0,f.unstable_skipActionErrorRevalidation,ut,It,Ut,We,st,Z,A,u,$);if(Vo(G=>!(k&&k.some(De=>De.route.id===G))||ne&&ne.some(De=>De.route.id===G)),B=++U,ne.length===0&&ve.length===0){let G=Eu();return mr(y,oe({matches:k,loaderData:{},errors:$&&rt($[1])?{[$[0]]:$[1].error}:null},Js($),G?{fetchers:new Map(v.fetchers)}:{}),{flushSync:W}),{shortCircuited:!0}}if(!Te&&(!f.v7_partialHydration||!O)){ve.forEach(De=>{let be=v.fetchers.get(De.key),xe=jr(void 0,be?be.data:void 0);v.fetchers.set(De.key,xe)});let G;$&&!rt($[1])?G={[$[0]]:$[1].data}:v.actionData&&(Object.keys(v.actionData).length===0?G=null:G=v.actionData),Qe(oe({navigation:we},G!==void 0?{actionData:G}:{},ve.length>0?{fetchers:new Map(v.fetchers)}:{}),{flushSync:W})}ve.forEach(G=>{R.has(G.key)&&Bt(G.key),G.controller&&R.set(G.key,G.controller)});let wr=()=>ve.forEach(G=>Bt(G.key));F&&F.signal.addEventListener("abort",wr);let{loaderResults:$t,fetcherResults:Mn}=await Su(v.matches,k,ne,ve,g);if(g.signal.aborted)return{shortCircuited:!0};F&&F.signal.removeEventListener("abort",wr),ve.forEach(G=>R.delete(G.key));let Dn=qs([...$t,...Mn]);if(Dn){if(Dn.idx>=ne.length){let G=ve[Dn.idx-ne.length].key;Z.add(G)}return await vr(g,Dn.result,{replace:I}),{shortCircuited:!0}}let{loaderData:zn,errors:yt}=Ys(v,k,ne,$t,$,ve,Mn,Me);Me.forEach((G,De)=>{G.subscribe(be=>{(be||G.done)&&Me.delete(De)})}),f.v7_partialHydration&&O&&v.errors&&Object.entries(v.errors).filter(G=>{let[De]=G;return!ne.some(be=>be.route.id===De)}).forEach(G=>{let[De,be]=G;yt=Object.assign(yt||{},{[De]:be})});let wl=Eu(),Sl=_u(B),xl=wl||Sl||ve.length>0;return oe({loaderData:zn,errors:yt},xl?{fetchers:new Map(v.fetchers)}:{})}function Wd(g,y,k,P){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.");R.has(g)&&Bt(g);let z=(P&&P.unstable_flushSync)===!0,V=a||i,I=ha(v.location,v.matches,u,f.v7_prependBasename,k,f.v7_relativeSplatPath,y,P==null?void 0:P.relative),O=Xn(V,I,u);if(!O){yr(g,y,et(404,{pathname:I}),{flushSync:z});return}let{path:W,submission:$,error:we}=Hs(f.v7_normalizeFormMethod,!0,I,P);if(we){yr(g,y,we,{flushSync:z});return}let Se=va(O,W);if(H=(P&&P.preventScrollReset)===!0,$&&pt($.formMethod)){Qd(g,y,W,Se,O,z,$);return}st.set(g,{routeId:y,path:W}),Kd(g,y,W,Se,O,z,$)}async function Qd(g,y,k,P,z,V,I){if(Ho(),st.delete(g),!P.route.action&&!P.route.lazy){let xe=et(405,{method:I.formMethod,pathname:k,routeId:y});yr(g,y,xe,{flushSync:V});return}let O=v.fetchers.get(g);At(g,xv(I,O),{flushSync:V});let W=new AbortController,$=Fn(e.history,k,W.signal,I);R.set(g,W);let we=U,A=(await gr("action",$,[P],z))[0];if($.signal.aborted){R.get(g)===W&&R.delete(g);return}if(f.v7_fetcherPersist&&We.has(g)){if(Sn(A)||rt(A)){At(g,Vt(void 0));return}}else{if(Sn(A))if(R.delete(g),B>we){At(g,Vt(void 0));return}else return Z.add(g),At(g,jr(I)),vr($,A,{fetcherSubmission:I});if(rt(A)){yr(g,y,A.error);return}}if(wn(A))throw et(400,{type:"defer-action"});let ne=v.navigation.location||v.location,ve=Fn(e.history,ne,W.signal),wr=a||i,$t=v.navigation.state!=="idle"?Xn(wr,v.navigation.location,u):v.matches;Q($t,"Didn't find any matches after fetcher action");let Mn=++U;J.set(g,Mn);let Dn=jr(I,A.data);v.fetchers.set(g,Dn);let[zn,yt]=Vs(e.history,v,$t,I,ne,!1,f.unstable_skipActionErrorRevalidation,ut,It,Ut,We,st,Z,wr,u,[P.route.id,A]);yt.filter(xe=>xe.key!==g).forEach(xe=>{let Sr=xe.key,Lu=v.fetchers.get(Sr),qd=jr(void 0,Lu?Lu.data:void 0);v.fetchers.set(Sr,qd),R.has(Sr)&&Bt(Sr),xe.controller&&R.set(Sr,xe.controller)}),Qe({fetchers:new Map(v.fetchers)});let wl=()=>yt.forEach(xe=>Bt(xe.key));W.signal.addEventListener("abort",wl);let{loaderResults:Sl,fetcherResults:xl}=await Su(v.matches,$t,zn,yt,ve);if(W.signal.aborted)return;W.signal.removeEventListener("abort",wl),J.delete(g),R.delete(g),yt.forEach(xe=>R.delete(xe.key));let G=qs([...Sl,...xl]);if(G){if(G.idx>=zn.length){let xe=yt[G.idx-zn.length].key;Z.add(xe)}return vr(ve,G.result)}let{loaderData:De,errors:be}=Ys(v,v.matches,zn,Sl,void 0,yt,xl,Me);if(v.fetchers.has(g)){let xe=Vt(A.data);v.fetchers.set(g,xe)}_u(Mn),v.navigation.state==="loading"&&Mn>B?(Q(T,"Expected pending action"),F&&F.abort(),mr(v.navigation.location,{matches:$t,loaderData:De,errors:be,fetchers:new Map(v.fetchers)})):(Qe({errors:be,loaderData:Xs(v.loaderData,De,$t,be),fetchers:new Map(v.fetchers)}),ut=!1)}async function Kd(g,y,k,P,z,V,I){let O=v.fetchers.get(g);At(g,jr(I,O?O.data:void 0),{flushSync:V});let W=new AbortController,$=Fn(e.history,k,W.signal);R.set(g,W);let we=U,A=(await gr("loader",$,[P],z))[0];if(wn(A)&&(A=await Ld(A,$.signal,!0)||A),R.get(g)===W&&R.delete(g),!$.signal.aborted){if(We.has(g)){At(g,Vt(void 0));return}if(Sn(A))if(B>we){At(g,Vt(void 0));return}else{Z.add(g),await vr($,A);return}if(rt(A)){yr(g,y,A.error);return}Q(!wn(A),"Unhandled fetcher deferred data"),At(g,Vt(A.data))}}async function vr(g,y,k){let{submission:P,fetcherSubmission:z,replace:V}=k===void 0?{}:k;y.response.headers.has("X-Remix-Revalidate")&&(ut=!0);let I=y.response.headers.get("Location");Q(I,"Expected a Location header on the redirect Response"),I=Ks(I,new URL(g.url),u);let O=cr(v.location,I,{_isRedirect:!0});if(n){let ne=!1;if(y.response.headers.has("X-Remix-Reload-Document"))ne=!0;else if(vu.test(I)){const ve=e.history.createURL(I);ne=ve.origin!==t.location.origin||hr(ve.pathname,u)==null}if(ne){V?t.location.replace(I):t.location.assign(I);return}}F=null;let W=V===!0?ce.Replace:ce.Push,{formMethod:$,formAction:we,formEncType:Se}=v.navigation;!P&&!z&&$&&we&&Se&&(P=ec(v.navigation));let A=P||z;if(rv.has(y.response.status)&&A&&pt(A.formMethod))await pn(W,O,{submission:oe({},A,{formAction:I}),preventScrollReset:H});else{let ne=yi(O,P);await pn(W,O,{overrideNavigation:ne,fetcherSubmission:z,preventScrollReset:H})}}async function gr(g,y,k,P){try{let z=await fv(s,g,y,k,P,o,l);return await Promise.all(z.map((V,I)=>{if(gv(V)){let O=V.result;return{type:re.redirect,response:hv(O,y,k[I].route.id,P,u,f.v7_relativeSplatPath)}}return pv(V)}))}catch(z){return k.map(()=>({type:re.error,error:z}))}}async function Su(g,y,k,P,z){let[V,...I]=await Promise.all([k.length?gr("loader",z,k,y):[],...P.map(O=>{if(O.matches&&O.match&&O.controller){let W=Fn(e.history,O.path,O.controller.signal);return gr("loader",W,[O.match],O.matches).then($=>$[0])}else return Promise.resolve({type:re.error,error:et(404,{pathname:O.path})})})]);return await Promise.all([bs(g,k,V,V.map(()=>z.signal),!1,v.loaderData),bs(g,P.map(O=>O.match),I,P.map(O=>O.controller?O.controller.signal:null),!0)]),{loaderResults:V,fetcherResults:I}}function Ho(){ut=!0,It.push(...Vo()),st.forEach((g,y)=>{R.has(y)&&(Ut.push(y),Bt(y))})}function At(g,y,k){k===void 0&&(k={}),v.fetchers.set(g,y),Qe({fetchers:new Map(v.fetchers)},{flushSync:(k&&k.flushSync)===!0})}function yr(g,y,k,P){P===void 0&&(P={});let z=Wr(v.matches,y);gl(g),Qe({errors:{[z.route.id]:k},fetchers:new Map(v.fetchers)},{flushSync:(P&&P.flushSync)===!0})}function xu(g){return f.v7_fetcherPersist&&(Ve.set(g,(Ve.get(g)||0)+1),We.has(g)&&We.delete(g)),v.fetchers.get(g)||lv}function gl(g){let y=v.fetchers.get(g);R.has(g)&&!(y&&y.state==="loading"&&J.has(g))&&Bt(g),st.delete(g),J.delete(g),Z.delete(g),We.delete(g),v.fetchers.delete(g)}function Gd(g){if(f.v7_fetcherPersist){let y=(Ve.get(g)||0)-1;y<=0?(Ve.delete(g),We.add(g)):Ve.set(g,y)}else gl(g);Qe({fetchers:new Map(v.fetchers)})}function Bt(g){let y=R.get(g);Q(y,"Expected fetch controller: "+g),y.abort(),R.delete(g)}function ku(g){for(let y of g){let k=xu(y),P=Vt(k.data);v.fetchers.set(y,P)}}function Eu(){let g=[],y=!1;for(let k of Z){let P=v.fetchers.get(k);Q(P,"Expected fetcher: "+k),P.state==="loading"&&(Z.delete(k),g.push(k),y=!0)}return ku(g),y}function _u(g){let y=[];for(let[k,P]of J)if(P0}function Yd(g,y){let k=v.blockers.get(g)||Lr;return qe.get(g)!==y&&qe.set(g,y),k}function Cu(g){v.blockers.delete(g),qe.delete(g)}function yl(g,y){let k=v.blockers.get(g)||Lr;Q(k.state==="unblocked"&&y.state==="blocked"||k.state==="blocked"&&y.state==="blocked"||k.state==="blocked"&&y.state==="proceeding"||k.state==="blocked"&&y.state==="unblocked"||k.state==="proceeding"&&y.state==="unblocked","Invalid blocker state transition: "+k.state+" -> "+y.state);let P=new Map(v.blockers);P.set(g,y),Qe({blockers:P})}function Pu(g){let{currentLocation:y,nextLocation:k,historyAction:P}=g;if(qe.size===0)return;qe.size>1&&Nn(!1,"A router only supports one blocker at a time");let z=Array.from(qe.entries()),[V,I]=z[z.length-1],O=v.blockers.get(V);if(!(O&&O.state==="proceeding")&&I({currentLocation:y,nextLocation:k,historyAction:P}))return V}function Vo(g){let y=[];return Me.forEach((k,P)=>{(!g||g(P))&&(k.cancel(),y.push(P),Me.delete(P))}),y}function Xd(g,y,k){if(x=g,w=y,S=k||null,!N&&v.navigation===gi){N=!0;let P=Nu(v.location,v.matches);P!=null&&Qe({restoreScrollPosition:P})}return()=>{x=null,w=null,S=null}}function Ru(g,y){return S&&S(g,y.map(P=>zm(P,v.loaderData)))||g.key}function Jd(g,y){if(x&&w){let k=Ru(g,y);x[k]=w()}}function Nu(g,y){if(x){let k=Ru(g,y),P=x[k];if(typeof P=="number")return P}return null}function Zd(g){o={},a=pa(g,l,void 0,o)}return M={get basename(){return u},get future(){return f},get state(){return v},get routes(){return i},get window(){return t},initialize:Ud,subscribe:Bd,enableScrollRestoration:Xd,navigate:wu,fetch:Wd,revalidate:$d,createHref:g=>e.history.createHref(g),encodeLocation:g=>e.history.encodeLocation(g),getFetcher:xu,deleteFetcher:Gd,dispose:Ad,getBlocker:Yd,deleteBlocker:Cu,_internalFetchControllers:R,_internalActiveDeferreds:Me,_internalSetRoutes:Zd},M}function av(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function ha(e,t,n,r,l,o,i,a){let u,s;if(i){u=[];for(let c of t)if(u.push(c),c.route.id===i){s=c;break}}else u=t,s=t[t.length-1];let f=pu(l||".",du(u,o),hr(e.pathname,n)||e.pathname,a==="path");return l==null&&(f.search=e.search,f.hash=e.hash),(l==null||l===""||l===".")&&s&&s.route.index&&!gu(f.search)&&(f.search=f.search?f.search.replace(/^\?/,"?index&"):"?index"),r&&n!=="/"&&(f.pathname=f.pathname==="/"?n:Tt([n,f.pathname])),un(f)}function Hs(e,t,n,r){if(!r||!av(r))return{path:n};if(r.formMethod&&!wv(r.formMethod))return{path:n,error:et(405,{method:r.formMethod})};let l=()=>({path:n,error:et(400,{type:"invalid-body"})}),o=r.formMethod||"get",i=e?o.toUpperCase():o.toLowerCase(),a=Rd(n);if(r.body!==void 0){if(r.formEncType==="text/plain"){if(!pt(i))return l();let p=typeof r.body=="string"?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((x,S)=>{let[w,N]=S;return""+x+w+"="+N+` +`},""):String(r.body);return{path:n,submission:{formMethod:i,formAction:a,formEncType:r.formEncType,formData:void 0,json:void 0,text:p}}}else if(r.formEncType==="application/json"){if(!pt(i))return l();try{let p=typeof r.body=="string"?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:i,formAction:a,formEncType:r.formEncType,formData:void 0,json:p,text:void 0}}}catch{return l()}}}Q(typeof FormData=="function","FormData is not available in this environment");let u,s;if(r.formData)u=ma(r.formData),s=r.formData;else if(r.body instanceof FormData)u=ma(r.body),s=r.body;else if(r.body instanceof URLSearchParams)u=r.body,s=Gs(u);else if(r.body==null)u=new URLSearchParams,s=new FormData;else try{u=new URLSearchParams(r.body),s=Gs(u)}catch{return l()}let f={formMethod:i,formAction:a,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:s,json:void 0,text:void 0};if(pt(f.formMethod))return{path:n,submission:f};let c=_t(n);return t&&c.search&&gu(c.search)&&u.append("index",""),c.search="?"+u,{path:un(c),submission:f}}function uv(e,t){let n=e;if(t){let r=e.findIndex(l=>l.route.id===t);r>=0&&(n=e.slice(0,r))}return n}function Vs(e,t,n,r,l,o,i,a,u,s,f,c,p,x,S,w){let N=w?rt(w[1])?w[1].error:w[1].data:void 0,h=e.createURL(t.location),d=e.createURL(l),m=w&&rt(w[1])?w[0]:void 0,E=m?uv(n,m):n,j=w?w[1].statusCode:void 0,M=i&&j&&j>=400,v=E.filter((H,F)=>{let{route:q}=H;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(sv(t.loaderData,t.matches[F],H)||u.some(Te=>Te===H.route.id))return!0;let pe=t.matches[F],je=H;return Ws(H,oe({currentUrl:h,currentParams:pe.params,nextUrl:d,nextParams:je.params},r,{actionResult:N,unstable_actionStatus:j,defaultShouldRevalidate:M?!1:a||h.pathname+h.search===d.pathname+d.search||h.search!==d.search||Pd(pe,je)}))}),T=[];return c.forEach((H,F)=>{if(o||!n.some(ut=>ut.route.id===H.routeId)||f.has(F))return;let q=Xn(x,H.path,S);if(!q){T.push({key:F,routeId:H.routeId,path:H.path,matches:null,match:null,controller:null});return}let pe=t.fetchers.get(F),je=va(q,H.path),Te=!1;p.has(F)?Te=!1:s.includes(F)?Te=!0:pe&&pe.state!=="idle"&&pe.data===void 0?Te=a:Te=Ws(je,oe({currentUrl:h,currentParams:t.matches[t.matches.length-1].params,nextUrl:d,nextParams:n[n.length-1].params},r,{actionResult:N,unstable_actionStatus:j,defaultShouldRevalidate:M?!1:a})),Te&&T.push({key:F,routeId:H.routeId,path:H.path,matches:q,match:je,controller:new AbortController})}),[v,T]}function sv(e,t,n){let r=!t||n.route.id!==t.route.id,l=e[n.route.id]===void 0;return r||l}function Pd(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function Ws(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n=="boolean")return n}return t.defaultShouldRevalidate}async function Qs(e,t,n){if(!e.lazy)return;let r=await e.lazy();if(!e.lazy)return;let l=n[e.id];Q(l,"No route found in manifest");let o={};for(let i in r){let u=l[i]!==void 0&&i!=="hasErrorBoundary";Nn(!u,'Route "'+l.id+'" has a static property "'+i+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+i+'" will be ignored.')),!u&&!Mm.has(i)&&(o[i]=r[i])}Object.assign(l,o),Object.assign(l,oe({},t(l),{lazy:void 0}))}function cv(e){return Promise.all(e.matches.map(t=>t.resolve()))}async function fv(e,t,n,r,l,o,i,a){let u=r.reduce((c,p)=>c.add(p.route.id),new Set),s=new Set,f=await e({matches:l.map(c=>{let p=u.has(c.route.id);return oe({},c,{shouldLoad:p,resolve:S=>(s.add(c.route.id),p?dv(t,n,c,o,i,S,a):Promise.resolve({type:re.data,result:void 0}))})}),request:n,params:l[0].params,context:a});return l.forEach(c=>Q(s.has(c.route.id),'`match.resolve()` was not called for route id "'+c.route.id+'". You must call `match.resolve()` on every match passed to `dataStrategy` to ensure all routes are properly loaded.')),f.filter((c,p)=>u.has(l[p].route.id))}async function dv(e,t,n,r,l,o,i){let a,u,s=f=>{let c,p=new Promise((w,N)=>c=N);u=()=>c(),t.signal.addEventListener("abort",u);let x=w=>typeof f!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+e+'" [routeId: '+n.route.id+"]"))):f({request:t,params:n.params,context:i},...w!==void 0?[w]:[]),S;return o?S=o(w=>x(w)):S=(async()=>{try{return{type:"data",result:await x()}}catch(w){return{type:"error",result:w}}})(),Promise.race([S,p])};try{let f=n.route[e];if(n.route.lazy)if(f){let c,[p]=await Promise.all([s(f).catch(x=>{c=x}),Qs(n.route,l,r)]);if(c!==void 0)throw c;a=p}else if(await Qs(n.route,l,r),f=n.route[e],f)a=await s(f);else if(e==="action"){let c=new URL(t.url),p=c.pathname+c.search;throw et(405,{method:t.method,pathname:p,routeId:n.route.id})}else return{type:re.data,result:void 0};else if(f)a=await s(f);else{let c=new URL(t.url),p=c.pathname+c.search;throw et(404,{pathname:p})}Q(a.result!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+n.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(f){return{type:re.error,result:f}}finally{u&&t.signal.removeEventListener("abort",u)}return a}async function pv(e){let{result:t,type:n,status:r}=e;if(Nd(t)){let i;try{let a=t.headers.get("Content-Type");a&&/\bapplication\/json\b/.test(a)?t.body==null?i=null:i=await t.json():i=await t.text()}catch(a){return{type:re.error,error:a}}return n===re.error?{type:re.error,error:new hu(t.status,t.statusText,i),statusCode:t.status,headers:t.headers}:{type:re.data,data:i,statusCode:t.status,headers:t.headers}}if(n===re.error)return{type:re.error,error:t,statusCode:mu(t)?t.status:r};if(yv(t)){var l,o;return{type:re.deferred,deferredData:t,statusCode:(l=t.init)==null?void 0:l.status,headers:((o=t.init)==null?void 0:o.headers)&&new Headers(t.init.headers)}}return{type:re.data,data:t,statusCode:r}}function hv(e,t,n,r,l,o){let i=e.headers.get("Location");if(Q(i,"Redirects returned/thrown from loaders/actions must have a Location header"),!vu.test(i)){let a=r.slice(0,r.findIndex(u=>u.route.id===n)+1);i=ha(new URL(t.url),a,l,!0,i,o),e.headers.set("Location",i)}return e}function Ks(e,t,n){if(vu.test(e)){let r=e,l=r.startsWith("//")?new URL(t.protocol+r):new URL(r),o=hr(l.pathname,n)!=null;if(l.origin===t.origin&&o)return l.pathname+l.search+l.hash}return e}function Fn(e,t,n,r){let l=e.createURL(Rd(t)).toString(),o={signal:n};if(r&&pt(r.formMethod)){let{formMethod:i,formEncType:a}=r;o.method=i.toUpperCase(),a==="application/json"?(o.headers=new Headers({"Content-Type":a}),o.body=JSON.stringify(r.json)):a==="text/plain"?o.body=r.text:a==="application/x-www-form-urlencoded"&&r.formData?o.body=ma(r.formData):o.body=r.formData}return new Request(l,o)}function ma(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,typeof r=="string"?r:r.name);return t}function Gs(e){let t=new FormData;for(let[n,r]of e.entries())t.append(n,r);return t}function mv(e,t,n,r,l,o){let i={},a=null,u,s=!1,f={},c=r&&rt(r[1])?r[1].error:void 0;return n.forEach((p,x)=>{let S=t[x].route.id;if(Q(!Sn(p),"Cannot handle redirect results in processLoaderData"),rt(p)){let w=p.error;if(c!==void 0&&(w=c,c=void 0),a=a||{},o)a[S]=w;else{let N=Wr(e,S);a[N.route.id]==null&&(a[N.route.id]=w)}i[S]=void 0,s||(s=!0,u=mu(p.error)?p.error.status:500),p.headers&&(f[S]=p.headers)}else wn(p)?(l.set(S,p.deferredData),i[S]=p.deferredData.data,p.statusCode!=null&&p.statusCode!==200&&!s&&(u=p.statusCode),p.headers&&(f[S]=p.headers)):(i[S]=p.data,p.statusCode&&p.statusCode!==200&&!s&&(u=p.statusCode),p.headers&&(f[S]=p.headers))}),c!==void 0&&r&&(a={[r[0]]:c},i[r[0]]=void 0),{loaderData:i,errors:a,statusCode:u||200,loaderHeaders:f}}function Ys(e,t,n,r,l,o,i,a){let{loaderData:u,errors:s}=mv(t,n,r,l,a,!1);for(let f=0;fr.route.id===t)+1):[...e]).reverse().find(r=>r.route.hasErrorBoundary===!0)||e[0]}function Zs(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 et(e,t){let{pathname:n,routeId:r,method:l,type:o}=t===void 0?{}:t,i="Unknown Server Error",a="Unknown @remix-run/router error";return e===400?(i="Bad Request",l&&n&&r?a="You made a "+l+' request to "'+n+'" but '+('did not provide a `loader` for route "'+r+'", ')+"so there is no way to handle the request.":o==="defer-action"?a="defer() is not supported in actions":o==="invalid-body"&&(a="Unable to encode submission body")):e===403?(i="Forbidden",a='Route "'+r+'" does not match URL "'+n+'"'):e===404?(i="Not Found",a='No route matches URL "'+n+'"'):e===405&&(i="Method Not Allowed",l&&n&&r?a="You made a "+l.toUpperCase()+' request to "'+n+'" but '+('did not provide an `action` for route "'+r+'", ')+"so there is no way to handle the request.":l&&(a='Invalid request method "'+l.toUpperCase()+'"')),new hu(e||500,i,new Error(a),!0)}function qs(e){for(let t=e.length-1;t>=0;t--){let n=e[t];if(Sn(n))return{result:n,idx:t}}}function Rd(e){let t=typeof e=="string"?_t(e):e;return un(oe({},t,{hash:""}))}function vv(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function gv(e){return Nd(e.result)&&nv.has(e.result.status)}function wn(e){return e.type===re.deferred}function rt(e){return e.type===re.error}function Sn(e){return(e&&e.type)===re.redirect}function yv(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 Nd(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function wv(e){return tv.has(e.toLowerCase())}function pt(e){return bm.has(e.toLowerCase())}async function bs(e,t,n,r,l,o){for(let i=0;ic.route.id===u.route.id),f=s!=null&&!Pd(s,u)&&(o&&o[u.route.id])!==void 0;if(wn(a)&&(l||f)){let c=r[i];Q(c,"Expected an AbortSignal for revalidating fetcher deferred result"),await Ld(a,c,l).then(p=>{p&&(n[i]=p||n[i])})}}}async function Ld(e,t,n){if(n===void 0&&(n=!1),!await e.deferredData.resolveData(t)){if(n)try{return{type:re.data,data:e.deferredData.unwrappedData}}catch(l){return{type:re.error,error:l}}return{type:re.data,data:e.deferredData.data}}}function gu(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function va(e,t){let n=typeof t=="string"?_t(t).search:t.search;if(e[e.length-1].route.index&&gu(n||""))return e[e.length-1];let r=Ed(e);return r[r.length-1]}function ec(e){let{formMethod:t,formAction:n,formEncType:r,text:l,formData:o,json:i}=e;if(!(!t||!n||!r)){if(l!=null)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:l};if(o!=null)return{formMethod:t,formAction:n,formEncType:r,formData:o,json:void 0,text:void 0};if(i!==void 0)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:i,text:void 0}}}function yi(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 Sv(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 jr(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 xv(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 Vt(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 kv(e,t){try{let n=e.sessionStorage.getItem(Cd);if(n){let r=JSON.parse(n);for(let[l,o]of Object.entries(r||{}))o&&Array.isArray(o)&&t.set(l,new Set(o||[]))}}catch{}}function Ev(e,t){if(t.size>0){let n={};for(let[r,l]of t)n[r]=[...l];try{e.sessionStorage.setItem(Cd,JSON.stringify(n))}catch(r){Nn(!1,"Failed to save applied view transitions in sessionStorage ("+r+").")}}}/** + * React Router v6.23.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function ul(){return ul=Object.assign?Object.assign.bind():function(e){for(var t=1;t{a.current=!0}),L.useCallback(function(s,f){if(f===void 0&&(f={}),!a.current)return;if(typeof s=="number"){r.go(s);return}let c=pu(s,JSON.parse(i),o,f.relative==="path");e==null&&t!=="/"&&(c.pathname=c.pathname==="/"?t:Tt([t,c.pathname])),(f.replace?r.replace:r.push)(c,f.state,f)},[t,r,i,o,e])}const Nv=L.createContext(null);function Lv(e){let t=L.useContext(dn).outlet;return t&&L.createElement(Nv.Provider,{value:e},t)}function Md(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=L.useContext(Tn),{matches:l}=L.useContext(dn),{pathname:o}=vl(),i=JSON.stringify(du(l,r.v7_relativeSplatPath));return L.useMemo(()=>pu(e,JSON.parse(i),o,n==="path"),[e,i,o,n])}function jv(e,t){return Tv(e,t)}function Tv(e,t,n,r){ml()||Q(!1);let{navigator:l}=L.useContext(Tn),{matches:o}=L.useContext(dn),i=o[o.length-1],a=i?i.params:{};i&&i.pathname;let u=i?i.pathnameBase:"/";i&&i.route;let s=vl(),f;if(t){var c;let N=typeof t=="string"?_t(t):t;u==="/"||(c=N.pathname)!=null&&c.startsWith(u)||Q(!1),f=N}else f=s;let p=f.pathname||"/",x=p;if(u!=="/"){let N=u.replace(/^\//,"").split("/");x="/"+p.replace(/^\//,"").split("/").slice(N.length).join("/")}let S=Xn(e,{pathname:x}),w=Fv(S&&S.map(N=>Object.assign({},N,{params:Object.assign({},a,N.params),pathname:Tt([u,l.encodeLocation?l.encodeLocation(N.pathname).pathname:N.pathname]),pathnameBase:N.pathnameBase==="/"?u:Tt([u,l.encodeLocation?l.encodeLocation(N.pathnameBase).pathname:N.pathnameBase])})),o,n,r);return t&&w?L.createElement(Ao.Provider,{value:{location:ul({pathname:"/",search:"",hash:"",state:null,key:"default"},f),navigationType:ce.Pop}},w):w}function Mv(){let e=Bv(),t=mu(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,l={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},o=null;return L.createElement(L.Fragment,null,L.createElement("h2",null,"Unexpected Application Error!"),L.createElement("h3",{style:{fontStyle:"italic"}},t),n?L.createElement("pre",{style:l},n):null,o)}const Dv=L.createElement(Mv,null);class zv extends L.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?L.createElement(dn.Provider,{value:this.props.routeContext},L.createElement(jd.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Ov(e){let{routeContext:t,match:n,children:r}=e,l=L.useContext(yu);return l&&l.static&&l.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=n.route.id),L.createElement(dn.Provider,{value:t},r)}function Fv(e,t,n,r){var l;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if((o=n)!=null&&o.errors)e=n.matches;else return null}let i=e,a=(l=n)==null?void 0:l.errors;if(a!=null){let f=i.findIndex(c=>c.route.id&&(a==null?void 0:a[c.route.id])!==void 0);f>=0||Q(!1),i=i.slice(0,Math.min(i.length,f+1))}let u=!1,s=-1;if(n&&r&&r.v7_partialHydration)for(let f=0;f=0?i=i.slice(0,s+1):i=[i[0]];break}}}return i.reduceRight((f,c,p)=>{let x,S=!1,w=null,N=null;n&&(x=a&&c.route.id?a[c.route.id]:void 0,w=c.route.errorElement||Dv,u&&(s<0&&p===0?(Hv("route-fallback",!1),S=!0,N=null):s===p&&(S=!0,N=c.route.hydrateFallbackElement||null)));let h=t.concat(i.slice(0,p+1)),d=()=>{let m;return x?m=w:S?m=N:c.route.Component?m=L.createElement(c.route.Component,null):c.route.element?m=c.route.element:m=f,L.createElement(Ov,{match:c,routeContext:{outlet:f,matches:h,isDataRoute:n!=null},children:m})};return n&&(c.route.ErrorBoundary||c.route.errorElement||p===0)?L.createElement(zv,{location:n.location,revalidation:n.revalidation,component:w,error:x,children:d(),routeContext:{outlet:null,matches:h,isDataRoute:!0}}):d()},null)}var Dd=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Dd||{}),ko=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}(ko||{});function Iv(e){let t=L.useContext(yu);return t||Q(!1),t}function Uv(e){let t=L.useContext(_v);return t||Q(!1),t}function Av(e){let t=L.useContext(dn);return t||Q(!1),t}function zd(e){let t=Av(),n=t.matches[t.matches.length-1];return n.route.id||Q(!1),n.route.id}function Bv(){var e;let t=L.useContext(jd),n=Uv(ko.UseRouteError),r=zd(ko.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function $v(){let{router:e}=Iv(Dd.UseNavigateStable),t=zd(ko.UseNavigateStable),n=L.useRef(!1);return Td(()=>{n.current=!0}),L.useCallback(function(l,o){o===void 0&&(o={}),n.current&&(typeof l=="number"?e.navigate(l):e.navigate(l,ul({fromRouteId:t},o)))},[e,t])}const tc={};function Hv(e,t,n){!t&&!tc[e]&&(tc[e]=!0)}function Vv(e){return Lv(e.context)}function Wv(e){let{basename:t="/",children:n=null,location:r,navigationType:l=ce.Pop,navigator:o,static:i=!1,future:a}=e;ml()&&Q(!1);let u=t.replace(/^\/*/,"/"),s=L.useMemo(()=>({basename:u,navigator:o,static:i,future:ul({v7_relativeSplatPath:!1},a)}),[u,a,o,i]);typeof r=="string"&&(r=_t(r));let{pathname:f="/",search:c="",hash:p="",state:x=null,key:S="default"}=r,w=L.useMemo(()=>{let N=hr(f,u);return N==null?null:{location:{pathname:N,search:c,hash:p,state:x,key:S},navigationType:l}},[u,f,c,p,x,S,l]);return w==null?null:L.createElement(Tn.Provider,{value:s},L.createElement(Ao.Provider,{children:n,value:w}))}new Promise(()=>{});function Qv(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:L.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:L.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:L.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}/** + * React Router DOM v6.23.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function sl(){return sl=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[l]=e[l]);return n}function Gv(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Yv(e,t){return e.button===0&&(!t||t==="_self")&&!Gv(e)}const Xv=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],Jv="6";try{window.__reactRouterVersion=Jv}catch{}function Zv(e,t){return iv({basename:t==null?void 0:t.basename,future:sl({},t==null?void 0:t.future,{v7_prependBasename:!0}),history:Lm({window:t==null?void 0:t.window}),hydrationData:(t==null?void 0:t.hydrationData)||qv(),routes:e,mapRouteProperties:Qv,unstable_dataStrategy:t==null?void 0:t.unstable_dataStrategy,window:t==null?void 0:t.window}).initialize()}function qv(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=sl({},t,{errors:bv(t.errors)})),t}function bv(e){if(!e)return null;let t=Object.entries(e),n={};for(let[r,l]of t)if(l&&l.__type==="RouteErrorResponse")n[r]=new hu(l.status,l.statusText,l.data,l.internal===!0);else if(l&&l.__type==="Error"){if(l.__subType){let o=window[l.__subType];if(typeof o=="function")try{let i=new o(l.message);i.stack="",n[r]=i}catch{}}if(n[r]==null){let o=new Error(l.message);o.stack="",n[r]=o}}else n[r]=l;return n}const e0="startTransition",nc=gp[e0];function t0(e){let{basename:t,children:n,future:r,window:l}=e,o=L.useRef();o.current==null&&(o.current=jm({window:l,v5Compat:!0}));let i=o.current,[a,u]=L.useState({action:i.action,location:i.location}),{v7_startTransition:s}=r||{},f=L.useCallback(c=>{s&&nc?nc(()=>u(c)):u(c)},[u,s]);return L.useLayoutEffect(()=>i.listen(f),[i,f]),L.createElement(Wv,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:i,future:r})}const n0=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",r0=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,l0=L.forwardRef(function(t,n){let{onClick:r,relative:l,reloadDocument:o,replace:i,state:a,target:u,to:s,preventScrollReset:f,unstable_viewTransition:c}=t,p=Kv(t,Xv),{basename:x}=L.useContext(Tn),S,w=!1;if(typeof s=="string"&&r0.test(s)&&(S=s,n0))try{let m=new URL(window.location.href),E=s.startsWith("//")?new URL(m.protocol+s):new URL(s),j=hr(E.pathname,x);E.origin===m.origin&&j!=null?s=j+E.search+E.hash:w=!0}catch{}let N=Cv(s,{relative:l}),h=o0(s,{replace:i,state:a,target:u,preventScrollReset:f,relative:l,unstable_viewTransition:c});function d(m){r&&r(m),m.defaultPrevented||h(m)}return L.createElement("a",sl({},p,{href:S||N,onClick:w||o?r:d,ref:n,target:u}))});var rc;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(rc||(rc={}));var lc;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(lc||(lc={}));function o0(e,t){let{target:n,replace:r,state:l,preventScrollReset:o,relative:i,unstable_viewTransition:a}=t===void 0?{}:t,u=Pv(),s=vl(),f=Md(e,{relative:i});return L.useCallback(c=>{if(Yv(c,n)){c.preventDefault();let p=r!==void 0?r:un(s)===un(f);u(e,{replace:p,state:l,preventScrollReset:o,relative:i,unstable_viewTransition:a})}},[s,u,f,r,l,n,e,o,i,a])}const Od=e=>L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:100,height:100,viewBox:"0 0 100 100",xmlSpace:"preserve",...e},L.createElement("defs",null),L.createElement("g",{transform:"matrix(6.4 0 0 6.4 50.4 50.1)"},L.createElement("path",{style:{stroke:"none",strokeWidth:.2281,strokeDasharray:"none",strokeLinecap:"butt",strokeDashoffset:0,strokeLinejoin:"miter",strokeMiterlimit:4,fill:"inherit",fillRule:"nonzero",opacity:1},transform:" translate(-11.55, -13.23)",d:"m 9.9919 5.9866 c -0.70167 0.15599 -1.3955 0.37323 -2.0462 0.70078 c 0.014881 0.57462 0.052107 1.1252 0.12741 1.6845 c -0.25272 0.16191 -0.51864 0.30096 -0.75469 0.4905 c -0.23984 0.18451 -0.4845 0.36114 -0.70167 0.57693 c -0.43386 -0.28697 -0.8933 -0.55673 -1.3664 -0.79478 c -0.50993 0.54878 -0.98668 1.141 -1.3762 1.8039 c 0.3061 0.48048 0.63463 0.96347 0.93868 1.3401 v 4.0679 l -0.00446 0.53817 c 0.00103 0.24101 0.00446 0.50476 0.00446 0.55733 c 0 2.3684 3.0042 3.5069 6.7369 3.5199 h 0.009 c 3.7327 -0.01309 6.7361 -1.1516 6.7361 -3.5199 c 0 -0.05354 0.0033 -0.31618 0.0045 -0.55733 l -0.0045 -0.53817 v -0.32477 l 0.0013 -0.000445 v -3.7427 c 0.35118 -0.44209 0.68346 -0.9298 0.93824 -1.3401 c -0.38944 -0.66281 -0.8663 -1.2551 -1.3762 -1.8039 c -0.47293 0.23805 -0.93251 0.50782 -1.3664 0.79478 c -0.2171 -0.21579 -0.46149 -0.39242 -0.70167 -0.57693 c -0.23598 -0.18954 -0.502 -0.32859 -0.75424 -0.4905 c 0.075099 -0.55926 0.11246 -1.1098 0.12741 -1.6845 c -0.65082 -0.32755 -1.3451 -0.54479 -2.0471 -0.70078 c -0.28028 0.47107 -0.53635 0.98128 -0.75959 1.48 c -0.26471 -0.044233 -0.53071 -0.060538 -0.79701 -0.063707 v -0.0004455 c -0.0019 0 -0.0038 0.0004455 -0.0053 0.0004455 c -0.0016 0 -0.0033 -0.0004455 -0.0049 -0.0004455 v 0.0004455 c -0.26678 0.00317 -0.53268 0.019473 -0.79746 0.063707 c -0.22313 -0.49869 -0.47938 -1.0089 -0.76008 -1.48 z",strokeLinecap:"round"})));var i0={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const a0=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Bo=(e,t)=>{const n=L.forwardRef(({color:r="currentColor",size:l=24,strokeWidth:o=2,absoluteStrokeWidth:i,children:a,...u},s)=>L.createElement("svg",{ref:s,...i0,width:l,height:l,stroke:r,strokeWidth:i?Number(o)*24/Number(l):o,className:`lucide lucide-${a0(e)}`,...u},[...t.map(([f,c])=>L.createElement(f,c)),...(Array.isArray(a)?a:[a])||[]]));return n.displayName=`${e}`,n},u0=Bo("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]),oc=Bo("Mouse",[["rect",{x:"5",y:"2",width:"14",height:"20",rx:"7",key:"11ol66"}],["path",{d:"M12 6v4",key:"16clxf"}]]),ic=Bo("MoveDown",[["path",{d:"M8 18L12 22L16 18",key:"cskvfv"}],["path",{d:"M12 2V22",key:"r89rzk"}]]),s0=Bo("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),Fd=({color:e})=>{e||(e="primary");let[t,n]=L.useState("navbar__closed");return _.jsxs("div",{className:["navbar__navbar",e].join(" "),children:[_.jsx("div",{className:"navbar__logoWrapper",onClick:()=>location.hash="",children:_.jsx(Od,{style:{fill:"var(--primary-text)"}})}),_.jsxs("div",{className:"navbar__spaceWrapper",children:[_.jsx("h3",{onClick:()=>location.hash="",children:"Godot Indonesia"}),_.jsx("div",{className:"navbar__mobile",children:_.jsx(u0,{onClick:()=>n("")})}),_.jsxs("div",{className:"navbar__linksWrapper "+t,children:[_.jsx("div",{className:"navbar__mobile navbar__mobile__close",children:_.jsx(s0,{onClick:()=>n("navbar__closed")})}),_.jsx("a",{href:"#?content=profil",children:"Profil"}),_.jsx("a",{href:"https://itch.io/jams/hosted-by-hanzceo",children:"Kompetisi"}),_.jsx(l0,{to:"/gallery",children:"Galeri"}),_.jsx("button",{onClick:()=>window.open("https://t.me/godot_indonesia","_blank"),children:"Gabung"})]})]})]})};function Ct({imgsrc:e,title:t,desc:n}){return _.jsxs("li",{className:"gallery__item",children:[_.jsx("img",{src:e}),_.jsxs("div",{className:"gallery__item__overlay",children:[_.jsx("b",{children:t}),_.jsx("p",{children:n})]})]})}function c0(){return _.jsxs("div",{className:"gallery__gallery",children:[_.jsx(Fd,{color:"secondary"}),_.jsxs("div",{className:"gallery__content",children:[_.jsxs("div",{className:"gallery__hero",children:[_.jsx("h1",{children:"Galeri Komunitas"}),_.jsx("p",{children:"Karya, kegiatan, dan penghargaan"})]}),_.jsxs("ul",{className:"gallery__masonry",children:[_.jsx(Ct,{imgsrc:"https://picsum.photos/600/400",title:"My Game",desc:"A very great game with many developmental breakthrough"}),_.jsx(Ct,{imgsrc:"https://picsum.photos/800/400",title:"My Game",desc:"A very great game with many developmental breakthrough"}),_.jsx(Ct,{imgsrc:"https://picsum.photos/600/600",title:"My Game",desc:"A very great game with many developmental breakthrough"}),_.jsx(Ct,{imgsrc:"https://picsum.photos/700/400",title:"My Game",desc:"A very great game with many developmental breakthrough"}),_.jsx(Ct,{imgsrc:"https://picsum.photos/400/600",title:"My Game",desc:"A very great game with many developmental breakthrough"}),_.jsx(Ct,{imgsrc:"https://picsum.photos/500/600",title:"My Game",desc:"A very great game with many developmental breakthrough"}),_.jsx(Ct,{imgsrc:"https://picsum.photos/800/600",title:"My Game",desc:"A very great game with many developmental breakthrough"}),_.jsx(Ct,{imgsrc:"https://picsum.photos/900/600",title:"My Game",desc:"A very great game with many developmental breakthrough"}),_.jsx(Ct,{imgsrc:"https://picsum.photos/800/680",title:"My Game",desc:"A very great game with many developmental breakthrough"})]})]})]})}const f0=Object.freeze(Object.defineProperty({__proto__:null,default:c0},Symbol.toStringTag,{value:"Module"}));const d0=({progress:e})=>_.jsxs("div",{className:"sidebar__wrapper",children:[_.jsxs("div",{className:"sidebar__mouse",children:[_.jsx(ic,{}),_.jsx(oc,{})]}),_.jsxs("div",{className:"sidebar__progress",style:{height:e},children:[_.jsxs("div",{className:"sidebar__mouse",style:{color:"var(--secondary-text)"},children:[_.jsx(ic,{}),_.jsx(oc,{})]}),_.jsx("div",{className:"navbar__logoWrapper",style:{fill:"var(--secondary-text)",border:"inherit"},children:_.jsx(Od,{})})]})]});const p0=()=>_.jsxs("div",{id:"hero",className:"hero__hero",children:[_.jsxs("h1",{className:"hero__headline",children:["Komunitas Game Developer",_.jsx("br",{}),"Godot Engine #1 di Indonesia"]}),_.jsxs("p",{children:["Bergabung bersama lebih dari 450 godotters dan",_.jsx("br",{}),"ikuti berbagai event bersama!"]}),_.jsxs("p",{className:"hero__disclaimer",children:["Godot Indonesia is ",_.jsx("a",{href:"https://godotengine.org/community/user-groups/",children:"the unofficial national community"})," forum for Indonesia.",_.jsx("br",{}),"Godot Engine is courtesy of ",_.jsx("a",{href:"https://godotengine.org",children:"Godot Core Team"}),"."]})]});const h0=()=>_.jsxs("div",{id:"visi",className:"visimisi__main",children:[_.jsx("h2",{className:"visimisi__header",children:"Visi"}),_.jsxs("p",{className:"visimisi__text",children:["Menjadi pembimbing budaya penggunaan dan pembuatan",_.jsx("br",{}),"media hiburan virtual bagi generasi muda Indonesia",_.jsx("br",{}),"khususnya untuk perangkat lunak 'Godot Engine'."]})]}),m0=()=>_.jsxs("div",{id:"misi",className:"visimisi__main",children:[_.jsx("h2",{className:"visimisi__header",children:"Misi"}),_.jsx("ul",{className:"visimisi__text",children:_.jsxs("li",{children:[_.jsx("b",{children:"Generasi muda proaktif"}),_.jsxs("p",{children:["Pengadaan peran dan peluang bagi generasi muda Indonesia",_.jsx("br",{}),"melalui program perlombaan dan sukarelawan."]})]})})]});const v0="/assets/godot_indonesia-9f909dc5.jpg",g0=()=>_.jsxs("div",{id:"profil",className:"profil__main",children:[_.jsxs("div",{className:"profil__left",children:[_.jsx("h2",{className:"profil__header",children:"Profil Godot Indonesia"}),_.jsx("p",{className:"profil__text",children:"Berawal dari bulan Januari tahun 2021 sebagai sebuah group Telegram biasa. Kemudian pada bulan Maret 2021 menjadi komunitas yang memiliki komitmen untuk memajukan generasi muda bangsa Indonesia pada dunia teknik informasi."}),_.jsx("p",{className:"profil__text",children:"Komunitas Godot Indonesia mendukung kreatifitas anak muda Indonesia dengan menyediakan perlombaan, forum diskusi, dan berbagai kesempatan berkontribusi lainnya."})]}),_.jsx("div",{className:"profil__right",children:_.jsx("img",{className:"profil__right__image",src:v0})})]}),y0=()=>{let[e,t]=L.useState("0%");function n(){const o=document.getElementById("homepage"),i=document.body.scrollTop/(o.scrollHeight-document.body.clientHeight)*100;t(i+"%")}function r(o){let i=document.getElementById(o);i&&i.scrollIntoView({behavior:"smooth"})}function l(){let i=[...window.location.hash.substr(1).split("?"),""][1].split("&").map(u=>u.split("=",2)),a={};for(let u of i)a[u[0]]=u[1];console.log(a),a.content||(a.content="hero"),r(hashes.indexOf(a.content))}return L.useEffect(()=>{window.location.hash.substring(1)&&l(),window.addEventListener("scroll",n),window.addEventListener("hashchange",l)},[]),_.jsxs("div",{id:"homepage",className:"homepage__homepage",children:[_.jsx(Fd,{}),_.jsxs("div",{className:"homepage__content",children:[_.jsx(d0,{progress:e}),_.jsxs("div",{className:"homepage__main",children:[_.jsx(p0,{}),_.jsx(h0,{}),_.jsx(m0,{}),_.jsx(g0,{})]})]})]})},w0=Object.freeze(Object.defineProperty({__proto__:null,default:y0},Symbol.toStringTag,{value:"Module"}));var Kt={route:[/^.*\/src\/pages\/|\.(jsx|tsx|mdx)$/g,""],splat:[/\[\.{3}\w+\]/g,"*"],param:[/\[([^\]]+)\]/g,":$1"],slash:[/^index$|\./g,"/"],optional:[/^-(:?[\w-]+|\*)/,"$1?"]},S0=e=>Object.keys(e).reduce((t,n)=>{const r=n.replace(...Kt.route);return{...t,[r]:e[n]}},{}),x0=(e,t)=>Object.keys(e).filter(r=>!r.includes("/_")||/_layout\.(jsx|tsx)$/.test(r)).reduce((r,l)=>{const o=e[l],i={id:l.replace(...Kt.route),...t(o,l)},a=l.replace(...Kt.route).replace(...Kt.splat).replace(...Kt.param).split("/").filter(Boolean);return a.reduce((u,s,f)=>{var d;const c=s.replace(...Kt.slash).replace(...Kt.optional),p=f===0,x=f===a.length-1&&a.length>1,S=!p&&!x,w=s==="_layout",N=/\([\w-]+\)/.test(c),h=/^\w|\//.test(c)?"unshift":"push";if(p&&a.length===1)return r.push({path:c,...i}),u;if(p||S){const m=p?r:u.children,E=m==null?void 0:m.find(M=>{var v;return M.path===c||((v=M.id)==null?void 0:v.replace("/_layout","").endsWith(c))}),j=N?i!=null&&i.component?{id:c,path:"/"}:{id:c}:{path:c};return E?E.children??(E.children=[]):m==null||m[h]({...j,children:[]}),E||(m==null?void 0:m[h==="unshift"?0:m.length-1])}return w?Object.assign(u,i):(x&&((d=u==null?void 0:u.children)==null||d[h](i!=null&&i.index?i:{path:c,...i})),u)},{}),r},[]),k0=e=>Object.keys(e).reduce((t,n)=>{var l;const r=n.replace(...Kt.route).replace(/\+|\([\w-]+\)\//g,"").replace(/(\/)?index/g,"").replace(/\./g,"/");return{...t,[`/${r}`]:(l=e[n])==null?void 0:l.default}},{}),E0=Object.assign({}),_0=Object.assign({}),C0=Object.assign({"/src/pages/gallery.jsx":f0,"/src/pages/index.jsx":w0}),nr=S0(E0),P0=k0(_0),R0=x0(C0,(e,t)=>{const n=/index\.(jsx|tsx|mdx)$/.test(t)&&!t.includes("pages/index")?{index:!0}:{},r=(e==null?void 0:e.default)||L.Fragment;return{...n,Component:()=>e!=null&&e.Pending?_.jsx(L.Suspense,{fallback:_.jsx(e.Pending,{}),children:_.jsx(r,{})}):_.jsx(r,{}),ErrorBoundary:e==null?void 0:e.Catch,loader:e==null?void 0:e.Loader,action:e==null?void 0:e.Action}}),Re=nr==null?void 0:nr._app,wi=nr==null?void 0:nr["404"],N0=(Re==null?void 0:Re.default)||Vv,L0=()=>{var t;const e=P0[(t=vl().state)==null?void 0:t.modal]||L.Fragment;return _.jsx(e,{})},ga=()=>_.jsxs(_.Fragment,{children:[_.jsx(N0,{})," ",_.jsx(L0,{})]}),j0=()=>Re!=null&&Re.Pending?_.jsx(L.Suspense,{fallback:_.jsx(Re.Pending,{}),children:_.jsx(ga,{})}):_.jsx(ga,{}),T0={Component:Re!=null&&Re.default?j0:ga,ErrorBoundary:Re==null?void 0:Re.Catch,loader:Re==null?void 0:Re.Loader},M0={path:"*",Component:(wi==null?void 0:wi.default)||L.Fragment},Id=[{...T0,children:[...R0,M0]}];Zv(Id);function D0(){return jv(Id)}const z0=Si.createRoot(document.getElementById("root"));z0.render(_.jsx(t0,{children:_.jsx(D0,{})})); diff --git a/assets/index-c90e50bd.css b/assets/index-c90e50bd.css new file mode 100644 index 0000000..b02b9d1 --- /dev/null +++ b/assets/index-c90e50bd.css @@ -0,0 +1 @@ +.gallery__hero{width:100%;background:var(--primary-text);text-align:center;padding-top:calc(10em + 82px);padding-bottom:8em;border-bottom:1px solid var(--border-soft);box-shadow:0 4px 10px 0 var(--border-soft)}.gallery__hero>h1{font-size:48px;background:var(--primary-header-text);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.gallery__hero>p{color:var(--dim-paragraph)}.gallery__masonry{padding:5rem 2rem 0;list-style:none;columns:19rem;column-gap:1rem}.gallery__masonry li{break-inside:avoid;margin:0 0 1rem}.gallery__masonry img{display:block;height:auto;max-width:100%}.gallery__item{position:relative;overflow:clip}.gallery__item__overlay{opacity:0;padding:1rem;transform:translateY(100%);position:absolute;bottom:0;left:0;width:100%;background-image:linear-gradient(to top,black,transparent);color:var(--primary-text);transition:.8s}.gallery__item:hover .gallery__item__overlay{opacity:1;transform:translateY(0)}.gallery__item__overlay b{font-size:24px}.gallery__item__overlay p{margin:0;margin-top:.5rem}.navbar__navbar{width:100%;height:60px;border-bottom:1px solid var(--border-soft);border-left:none;border-radius:var(--border-radius-2);display:flex;position:fixed;top:0;z-index:1}.navbar__navbar.secondary{--primary-text: var(--secondary-text)}.navbar__logoWrapper{min-width:60px;min-height:60px;display:flex;align-items:center;justify-content:center}.navbar__logoWrapper>svg{width:2rem;height:2rem;cursor:pointer;transition:.2s}.navbar__logoWrapper>svg:hover{transform:scale(1.1);filter:drop-shadow(var(--button-background) 0 0 8px)}.navbar__logoWrapper>svg:active{transform:scale(.9)}.navbar__spaceWrapper{display:flex;align-items:center;justify-content:space-between;width:100%;padding:.4em 1em;color:var(--primary-text)}.navbar__linksWrapper{display:flex;align-items:center;justify-content:space-between;font-size:.8em}.navbar__linksWrapper>a{color:var(--primary-text);text-decoration:none;padding:0 1em;height:100%}.navbar__linksWrapper>button{margin-left:1rem;background:var(--button-background)}.navbar__mobile{display:none}@media screen and (max-width: 660px){.navbar__linksWrapper{display:none;position:fixed;top:0;left:0;width:100%;height:100%;z-index:2;background:var(--secondary-text);padding:0 1rem}.navbar__navbar.secondary .navbar__linksWrapper{background:var(--primary-text2)}.navbar__mobile{display:block;color:var(--primary-text)}.navbar__linksWrapper:not(.navbar__closed){display:flex;flex-direction:column;justify-content:flex-start}.navbar__linksWrapper>*{height:min-content!important;padding:1rem 0;width:100%}.navbar__linksWrapper>a{padding:1rem 0}.navbar__linksWrapper>button{margin:0;margin-top:1rem}.navbar__mobile__close{display:flex;justify-content:flex-end}.navbar__closed{display:none}}.homepage__homepage{height:min-content;background-image:radial-gradient(75% 75% at 68% 71%,#3DA42C10 0%,#1C802660 100%),radial-gradient(80% 120% at 20% 16%,#559c34 0%,rgb(21,45,21) 100%)}.homepage__content{display:flex;width:100%;height:100%}.homepage__main{width:100%;height:100%}.sidebar__wrapper{position:fixed;top:0;left:0;display:flex;flex-direction:column-reverse;z-index:2;height:100%;border-right:1px solid var(--border-soft);border-radius:var(--border-radius-2);min-width:60px;pointer-events:none}.sidebar__progress{width:100%;background:var(--primary-text);border-radius:var(--border-radius-2);overflow:hidden;position:relative}.sidebar__mouse{position:absolute;display:flex;flex-direction:column;color:var(--primary-text);gap:10px;align-items:center;justify-content:center;height:100px;width:100%;bottom:0;left:0}.sidebar__mouse>.lucide-move-down{animation:1s infinite alternate sidebar-instruct-scroll}.sidebar__mouse>.lucide-mouse>path{animation:1s infinite alternate-reverse sidebar-instruct-scroll}@keyframes sidebar-instruct-scroll{0%{transform:translateY(0)}to{transform:translateY(2px)}}@media screen and (max-width: 660px){.sidebar__wrapper{display:none}}.hero__hero{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2em;text-align:center;height:100vh;width:100%}.hero__hero>*{margin:0}.hero__hero>p{color:var(--primary-text)}.hero__headline{background-image:radial-gradient(230.88% 96.39% at 19.17% 21.57%,rgba(234,193,48,1) 0,rgba(205,163,13,1) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;font-weight:700;font-size:3.5rem}.hero__disclaimer{font-size:.8em;display:block;position:absolute;opacity:.5;bottom:10%}.hero__disclaimer a{color:var(--primary-text);text-decoration:underline dotted}.hero__disclaimer a:hover{text-decoration:underline}@media screen and (max-width: 660px){.hero__hero{text-align:left;padding:30% 1em;justify-content:left}.hero__disclaimer{padding:0 2em}}.visimisi__main{padding:5rem 12rem}.visimisi__main#misi{display:flex;flex-direction:column;align-items:end}.visimisi__main#misi>*{width:50%}.visimisi__header{background-image:var(--primary-header-text);font-weight:700;font-size:10rem;margin:0;-webkit-background-clip:text;-webkit-text-fill-color:transparent}.visimisi__text{color:var(--primary-text)}@media screen and (max-width: 660px){.visimisi__main{padding:7rem 1em}.visimisi__main#misi{display:block}.visimisi__main#misi>*{width:100%}}.profil__main{padding:5rem 12rem;display:flex;gap:2rem}.profil__left{flex:2}.profil__header{background-image:var(--primary-header-text);font-weight:700;font-size:3rem;margin:0;-webkit-background-clip:text;-webkit-text-fill-color:transparent}.profil__text{color:var(--primary-text)}.profil_right{flex:1}.profil__right__image{border-radius:var(--border-radius-second)}@media screen and (max-width: 660px){.profil__main{padding:7rem 1em;gap:0;flex-direction:column}}@font-face{font-family:Lexend;src:url(/assets/Lexend-Medium-585e350c.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:Lexend;src:url(/assets/Lexend-SemiBold-75a3d1d7.woff2) format("woff2");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:Lexend;src:url(/assets/Lexend-Regular-5796bdd2.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Lexend;src:url(/assets/Lexend-ExtraLight-7e843e9a.woff2) format("woff2");font-weight:200;font-style:normal;font-display:swap}@font-face{font-family:Lexend;src:url(/assets/Lexend-Light-68c3d27f.woff2) format("woff2");font-weight:300;font-style:normal;font-display:swap}@font-face{font-family:Lexend;src:url(/assets/Lexend-Thin-feb96f46.woff2) format("woff2");font-weight:100;font-style:normal;font-display:swap}@font-face{font-family:Lexend;src:url(/assets/Lexend-Black-9c3ea43e.woff2) format("woff2");font-weight:900;font-style:normal;font-display:swap}@font-face{font-family:Lexend;src:url(/assets/Lexend-ExtraBold-57e5161b.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Lexend;src:url(/assets/Lexend-Bold-629a3569.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Philosopher;src:url(/assets/Philosopher-Regular-087c59ef.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Philosopher;src:url(/assets/Philosopher-Bold-2c05221f.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Philosopher;src:url(/assets/Philosopher-BoldItalic-16e1bd51.woff2) format("woff2");font-weight:700;font-style:italic;font-display:swap}@font-face{font-family:Philosopher;src:url(/assets/Philosopher-Italic-cb27b956.woff2) format("woff2");font-weight:400;font-style:italic;font-display:swap}html,body,#root{height:100%}body{margin:0;min-height:100vh;text-rendering:optimizeLegibility}body *{outline:0;box-sizing:border-box;font-family:Lexend;font-size:1em}h1,h2,h3,h4,h5,h6{font-family:Philosopher;font-size:revert}button{border:0;padding:.4em .8em;font-weight:400;border-radius:var(--border-radius-second);margin:0;cursor:pointer}button:hover{background-color:var(--button-background-hover)}#root{height:100%;--primary-text: #ffffff;--primary-text2: #ffffff;--secondary-text: #218A2B;--dim-paragraph: #8a8a8a;--primary-header-text: radial-gradient( 230.88% 96.39% at 19.17% 21.57%, rgba(234, 193, 48, 1) 0, rgba(205, 163, 13, 1) 100% );--border-soft: #6dac78c0;--border-radius-second: 5px;--button-background: #ffffffc9;--button-background-hover: #ffffff;--border-radius-1: 8px;--border-radius-2: 5px;--border-radius-3: 3px}@media screen and (max-width: 660px){html,body,#root{overscroll-behavior:none}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}} diff --git a/index.html b/index.html index ac7c5c6..f91883a 100644 --- a/index.html +++ b/index.html @@ -7,8 +7,8 @@ - - + +