From 81428190c55ae99dd8edc97b98fb85f7da8502da Mon Sep 17 00:00:00 2001 From: "pro.boooooo" Date: Sun, 16 Jun 2024 23:32:05 +0200 Subject: [PATCH] Updates --- 404.html | 7 ---- assets/index-1585b039.css | 1 + assets/index-375ba707.js | 68 +++++++++++++++++++++++++++++++++++++++ assets/index-9a61feda.js | 68 --------------------------------------- assets/index-b6db4a0d.css | 1 - index.html | 4 +-- 6 files changed, 71 insertions(+), 78 deletions(-) delete mode 100644 404.html create mode 100644 assets/index-1585b039.css create mode 100644 assets/index-375ba707.js delete mode 100644 assets/index-9a61feda.js delete mode 100644 assets/index-b6db4a0d.css diff --git a/404.html b/404.html deleted file mode 100644 index d236a5c..0000000 --- a/404.html +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/assets/index-1585b039.css b/assets/index-1585b039.css new file mode 100644 index 0000000..2368785 --- /dev/null +++ b/assets/index-1585b039.css @@ -0,0 +1 @@ +body{padding:0;margin:0;background:#272727;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body main{width:100%;margin-top:9.9%}body code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.pg-container{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:20px;background:#1f1f1f;border-radius:10px;margin:2%}.pg-container div .btn{width:45px;height:45px;border-radius:50px;border:none;cursor:pointer}.pg-container div .btn:hover{background:#a6e329}.pg-container .cheat-container{display:flex;flex-direction:column;color:#fff}.pg-container .cheat-container .code{display:flex;flex-direction:row;justify-content:center;align-items:center;padding:2%;border-radius:10px;gap:50px;background:#151515}.pg-container .cheat-container .code .code-spec{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:10px;padding:10px}.pg-container .cheat-container .code .code-spec .code-input{text-align:center;width:20%}#nav-container{display:flex;flex-direction:row;width:100%;justify-content:center;align-items:center;position:fixed;background:#272727;top:0;left:0;z-index:100}#nav-container #links-container{display:flex;flex-direction:row;width:100%;justify-content:space-around;margin:1.5%;padding:0}#nav-container #links-container .logo{width:10%;height:auto}#nav-container #links-container .link{display:flex;flex-direction:row;justify-content:center;align-items:center;text-decoration:none;color:#3caad6;font-weight:700;font-size:1.3em;border-radius:10px;padding:1%}#nav-container #links-container .link:hover{color:#21b96b;background:#1f1f1f} diff --git a/assets/index-375ba707.js b/assets/index-375ba707.js new file mode 100644 index 0000000..f596cef --- /dev/null +++ b/assets/index-375ba707.js @@ -0,0 +1,68 @@ +function $f(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 i of l)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(l){const i={};return l.integrity&&(i.integrity=l.integrity),l.referrerPolicy&&(i.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?i.credentials="include":l.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(l){if(l.ep)return;l.ep=!0;const i=n(l);fetch(l.href,i)}})();function Zs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var bs={exports:{}},vi={},ec={exports:{}},H={};/** + * @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 ll=Symbol.for("react.element"),Vf=Symbol.for("react.portal"),Hf=Symbol.for("react.fragment"),Wf=Symbol.for("react.strict_mode"),Qf=Symbol.for("react.profiler"),Kf=Symbol.for("react.provider"),Gf=Symbol.for("react.context"),Yf=Symbol.for("react.forward_ref"),Jf=Symbol.for("react.suspense"),Xf=Symbol.for("react.memo"),qf=Symbol.for("react.lazy"),Pu=Symbol.iterator;function Zf(e){return e===null||typeof e!="object"?null:(e=Pu&&e[Pu]||e["@@iterator"],typeof e=="function"?e:null)}var tc={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},nc=Object.assign,rc={};function nr(e,t,n){this.props=e,this.context=t,this.refs=rc,this.updater=n||tc}nr.prototype.isReactComponent={};nr.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")};nr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function lc(){}lc.prototype=nr.prototype;function ga(e,t,n){this.props=e,this.context=t,this.refs=rc,this.updater=n||tc}var ya=ga.prototype=new lc;ya.constructor=ga;nc(ya,nr.prototype);ya.isPureReactComponent=!0;var Ru=Array.isArray,ic=Object.prototype.hasOwnProperty,wa={current:null},oc={key:!0,ref:!0,__self:!0,__source:!0};function ac(e,t,n){var r,l={},i=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(i=""+t.key),t)ic.call(t,r)&&!oc.hasOwnProperty(r)&&(l[r]=t[r]);var a=arguments.length-2;if(a===1)l.children=n;else if(1>>1,Z=T[G];if(0>>1;Gl(ar,I))ytl(re,ar)?(T[G]=re,T[yt]=I,G=yt):(T[G]=ar,T[gt]=I,G=gt);else if(ytl(re,I))T[G]=re,T[yt]=I,G=yt;else break e}}return O}function l(T,O){var I=T.sortIndex-O.sortIndex;return I!==0?I:T.id-O.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,a=o.now();e.unstable_now=function(){return o.now()-a}}var u=[],s=[],p=1,v=null,m=3,x=!1,y=!1,w=!1,L=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,d=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function h(T){for(var O=n(s);O!==null;){if(O.callback===null)r(s);else if(O.startTime<=T)r(s),O.sortIndex=O.expirationTime,t(u,O);else break;O=n(s)}}function c(T){if(w=!1,h(T),!y)if(n(u)!==null)y=!0,jt(k);else{var O=n(s);O!==null&&vt(c,O.startTime-T)}}function k(T,O){y=!1,w&&(w=!1,f(M),M=-1),x=!0;var I=m;try{for(h(O),v=n(u);v!==null&&(!(v.expirationTime>O)||T&&!Se());){var G=v.callback;if(typeof G=="function"){v.callback=null,m=v.priorityLevel;var Z=G(v.expirationTime<=O);O=e.unstable_now(),typeof Z=="function"?v.callback=Z:v===n(u)&&r(u),h(O)}else r(u);v=n(u)}if(v!==null)var zt=!0;else{var gt=n(s);gt!==null&&vt(c,gt.startTime-O),zt=!1}return zt}finally{v=null,m=I,x=!1}}var C=!1,P=null,M=-1,Q=5,F=-1;function Se(){return!(e.unstable_now()-FT||125G?(T.sortIndex=I,t(s,T),n(u)===null&&T===n(s)&&(w?(f(M),M=-1):w=!0,vt(c,I-G))):(T.sortIndex=Z,t(u,T),y||x||(y=!0,jt(k))),T},e.unstable_shouldYield=Se,e.unstable_wrapCallback=function(T){var O=m;return function(){var I=m;m=O;try{return T.apply(this,arguments)}finally{m=I}}}})(fc);dc.exports=fc;var cp=dc.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 pc=R,Qe=cp;function E(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"),xo=Object.prototype.hasOwnProperty,dp=/^[: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]*$/,Lu={},Nu={};function fp(e){return xo.call(Nu,e)?!0:xo.call(Lu,e)?!1:dp.test(e)?Nu[e]=!0:(Lu[e]=!0,!1)}function pp(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 hp(e,t,n,r){if(t===null||typeof t>"u"||pp(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 Oe(e,t,n,r,l,i,o){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=i,this.removeEmptyString=o}var Re={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Re[e]=new Oe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Re[t]=new Oe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Re[e]=new Oe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Re[e]=new Oe(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){Re[e]=new Oe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Re[e]=new Oe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Re[e]=new Oe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Re[e]=new Oe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Re[e]=new Oe(e,5,!1,e.toLowerCase(),null,!1,!1)});var xa=/[\-:]([a-z])/g;function _a(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(xa,_a);Re[t]=new Oe(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(xa,_a);Re[t]=new Oe(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(xa,_a);Re[t]=new Oe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Re[e]=new Oe(e,1,!1,e.toLowerCase(),null,!1,!1)});Re.xlinkHref=new Oe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Re[e]=new Oe(e,1,!1,e.toLowerCase(),null,!0,!0)});function ka(e,t,n,r){var l=Re.hasOwnProperty(t)?Re[t]:null;(l!==null?l.type!==0:r||!(2a||l[o]!==i[a]){var u=` +`+l[o].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=o&&0<=a);break}}}finally{Ki=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Cr(e):""}function mp(e){switch(e.tag){case 5:return Cr(e.type);case 16:return Cr("Lazy");case 13:return Cr("Suspense");case 19:return Cr("SuspenseList");case 0:case 2:case 15:return e=Gi(e.type,!1),e;case 11:return e=Gi(e.type.render,!1),e;case 1:return e=Gi(e.type,!0),e;default:return""}}function Co(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ln:return"Fragment";case Mn:return"Portal";case _o:return"Profiler";case Ea:return"StrictMode";case ko:return"Suspense";case Eo:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case vc:return(e.displayName||"Context")+".Consumer";case mc:return(e._context.displayName||"Context")+".Provider";case Ca:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Pa:return t=e.displayName||null,t!==null?t:Co(e.type)||"Memo";case It:t=e._payload,e=e._init;try{return Co(e(t))}catch{}}return null}function vp(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 Co(t);case 8:return t===Ea?"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 Zt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function yc(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function gp(e){var t=yc(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,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ml(e){e._valueTracker||(e._valueTracker=gp(e))}function wc(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=yc(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Wl(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 Po(e,t){var n=t.checked;return ue({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Du(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Zt(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 Sc(e,t){t=t.checked,t!=null&&ka(e,"checked",t,!1)}function Ro(e,t){Sc(e,t);var n=Zt(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")?Mo(e,t.type,n):t.hasOwnProperty("defaultValue")&&Mo(e,t.type,Zt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ju(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 Mo(e,t,n){(t!=="number"||Wl(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Pr=Array.isArray;function Vn(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=vl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Br(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Lr={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},yp=["Webkit","ms","Moz","O"];Object.keys(Lr).forEach(function(e){yp.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Lr[t]=Lr[e]})});function Ec(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Lr.hasOwnProperty(e)&&Lr[e]?(""+t).trim():t+"px"}function Cc(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=Ec(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var wp=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 To(e,t){if(t){if(wp[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(E(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(E(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(E(61))}if(t.style!=null&&typeof t.style!="object")throw Error(E(62))}}function Do(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 jo=null;function Ra(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var zo=null,Hn=null,Wn=null;function Au(e){if(e=al(e)){if(typeof zo!="function")throw Error(E(280));var t=e.stateNode;t&&(t=xi(t),zo(e.stateNode,e.type,t))}}function Pc(e){Hn?Wn?Wn.push(e):Wn=[e]:Hn=e}function Rc(){if(Hn){var e=Hn,t=Wn;if(Wn=Hn=null,Au(e),t)for(e=0;e>>=0,e===0?32:31-(Np(e)/Tp|0)|0}var gl=64,yl=4194304;function Rr(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 Yl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,i=e.pingedLanes,o=n&268435455;if(o!==0){var a=o&~l;a!==0?r=Rr(a):(i&=o,i!==0&&(r=Rr(i)))}else o=n&~l,o!==0?r=Rr(o):i!==0&&(r=Rr(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,i=t&-t,l>=i||l===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function il(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-at(t),e[t]=n}function Op(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=Tr),Qu=String.fromCharCode(32),Ku=!1;function Gc(e,t){switch(e){case"keyup":return sh.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Yc(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Nn=!1;function dh(e,t){switch(e){case"compositionend":return Yc(t);case"keypress":return t.which!==32?null:(Ku=!0,Qu);case"textInput":return e=t.data,e===Qu&&Ku?null:e;default:return null}}function fh(e,t){if(Nn)return e==="compositionend"||!Oa&&Gc(e,t)?(e=Qc(),zl=Da=Vt=null,Nn=!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=Xu(n)}}function Zc(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Zc(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function bc(){for(var e=window,t=Wl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Wl(e.document)}return t}function Aa(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 xh(e){var t=bc(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Zc(n.ownerDocument.documentElement,n)){if(r!==null&&Aa(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,i=Math.min(r.start,l);r=r.end===void 0?i:Math.min(r.end,l),!e.extend&&i>r&&(l=r,r=i,i=l),l=qu(n,i);var o=qu(n,r);l&&o&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.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,Tn=null,Bo=null,jr=null,$o=!1;function Zu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;$o||Tn==null||Tn!==Wl(r)||(r=Tn,"selectionStart"in r&&Aa(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}),jr&&Kr(jr,r)||(jr=r,r=ql(Bo,"onSelect"),0zn||(e.current=Go[zn],Go[zn]=null,zn--)}function b(e,t){zn++,Go[zn]=e.current,e.current=t}var bt={},Te=tn(bt),Ie=tn(!1),vn=bt;function Xn(e,t){var n=e.type.contextTypes;if(!n)return bt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},i;for(i in n)l[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function Ue(e){return e=e.childContextTypes,e!=null}function bl(){te(Ie),te(Te)}function is(e,t,n){if(Te.current!==bt)throw Error(E(168));b(Te,t),b(Ie,n)}function ud(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(E(108,vp(e)||"Unknown",l));return ue({},n,r)}function ei(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||bt,vn=Te.current,b(Te,e),b(Ie,Ie.current),!0}function os(e,t,n){var r=e.stateNode;if(!r)throw Error(E(169));n?(e=ud(e,t,vn),r.__reactInternalMemoizedMergedChildContext=e,te(Ie),te(Te),b(Te,e)):te(Ie),b(Ie,n)}var _t=null,_i=!1,ao=!1;function sd(e){_t===null?_t=[e]:_t.push(e)}function jh(e){_i=!0,sd(e)}function nn(){if(!ao&&_t!==null){ao=!0;var e=0,t=Y;try{var n=_t;for(Y=1;e>=o,l-=o,kt=1<<32-at(t)+l|n<M?(Q=P,P=null):Q=P.sibling;var F=m(f,P,h[M],c);if(F===null){P===null&&(P=Q);break}e&&P&&F.alternate===null&&t(f,P),d=i(F,d,M),C===null?k=F:C.sibling=F,C=F,P=Q}if(M===h.length)return n(f,P),ne&&un(f,M),k;if(P===null){for(;MM?(Q=P,P=null):Q=P.sibling;var Se=m(f,P,F.value,c);if(Se===null){P===null&&(P=Q);break}e&&P&&Se.alternate===null&&t(f,P),d=i(Se,d,M),C===null?k=Se:C.sibling=Se,C=Se,P=Q}if(F.done)return n(f,P),ne&&un(f,M),k;if(P===null){for(;!F.done;M++,F=h.next())F=v(f,F.value,c),F!==null&&(d=i(F,d,M),C===null?k=F:C.sibling=F,C=F);return ne&&un(f,M),k}for(P=r(f,P);!F.done;M++,F=h.next())F=x(P,f,M,F.value,c),F!==null&&(e&&F.alternate!==null&&P.delete(F.key===null?M:F.key),d=i(F,d,M),C===null?k=F:C.sibling=F,C=F);return e&&P.forEach(function($e){return t(f,$e)}),ne&&un(f,M),k}function L(f,d,h,c){if(typeof h=="object"&&h!==null&&h.type===Ln&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case hl:e:{for(var k=h.key,C=d;C!==null;){if(C.key===k){if(k=h.type,k===Ln){if(C.tag===7){n(f,C.sibling),d=l(C,h.props.children),d.return=f,f=d;break e}}else if(C.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===It&&ps(k)===C.type){n(f,C.sibling),d=l(C,h.props),d.ref=gr(f,C,h),d.return=f,f=d;break e}n(f,C);break}else t(f,C);C=C.sibling}h.type===Ln?(d=mn(h.props.children,f.mode,c,h.key),d.return=f,f=d):(c=Vl(h.type,h.key,h.props,null,f.mode,c),c.ref=gr(f,d,h),c.return=f,f=c)}return o(f);case Mn:e:{for(C=h.key;d!==null;){if(d.key===C)if(d.tag===4&&d.stateNode.containerInfo===h.containerInfo&&d.stateNode.implementation===h.implementation){n(f,d.sibling),d=l(d,h.children||[]),d.return=f,f=d;break e}else{n(f,d);break}else t(f,d);d=d.sibling}d=vo(h,f.mode,c),d.return=f,f=d}return o(f);case It:return C=h._init,L(f,d,C(h._payload),c)}if(Pr(h))return y(f,d,h,c);if(fr(h))return w(f,d,h,c);Cl(f,h)}return typeof h=="string"&&h!==""||typeof h=="number"?(h=""+h,d!==null&&d.tag===6?(n(f,d.sibling),d=l(d,h),d.return=f,f=d):(n(f,d),d=mo(h,f.mode,c),d.return=f,f=d),o(f)):n(f,d)}return L}var Zn=gd(!0),yd=gd(!1),ul={},mt=tn(ul),Xr=tn(ul),qr=tn(ul);function fn(e){if(e===ul)throw Error(E(174));return e}function Qa(e,t){switch(b(qr,t),b(Xr,e),b(mt,ul),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:No(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=No(t,e)}te(mt),b(mt,t)}function bn(){te(mt),te(Xr),te(qr)}function wd(e){fn(qr.current);var t=fn(mt.current),n=No(t,e.type);t!==n&&(b(Xr,e),b(mt,n))}function Ka(e){Xr.current===e&&(te(mt),te(Xr))}var oe=tn(0);function oi(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var uo=[];function Ga(){for(var e=0;en?n:4,e(!0);var r=so.transition;so.transition={};try{e(!1),t()}finally{Y=n,so.transition=r}}function Od(){return et().memoizedState}function Fh(e,t,n){var r=Xt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Ad(e))Fd(t,n);else if(n=pd(e,t,n,r),n!==null){var l=je();ut(n,e,r,l),Id(n,t,r)}}function Ih(e,t,n){var r=Xt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ad(e))Fd(t,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,a=i(o,n);if(l.hasEagerState=!0,l.eagerState=a,st(a,o)){var u=t.interleaved;u===null?(l.next=l,Ha(t)):(l.next=u.next,u.next=l),t.interleaved=l;return}}catch{}finally{}n=pd(e,t,l,r),n!==null&&(l=je(),ut(n,e,r,l),Id(n,t,r))}}function Ad(e){var t=e.alternate;return e===ae||t!==null&&t===ae}function Fd(e,t){zr=ai=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Id(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,La(e,n)}}var ui={readContext:be,useCallback:Me,useContext:Me,useEffect:Me,useImperativeHandle:Me,useInsertionEffect:Me,useLayoutEffect:Me,useMemo:Me,useReducer:Me,useRef:Me,useState:Me,useDebugValue:Me,useDeferredValue:Me,useTransition:Me,useMutableSource:Me,useSyncExternalStore:Me,useId:Me,unstable_isNewReconciler:!1},Uh={readContext:be,useCallback:function(e,t){return ft().memoizedState=[e,t===void 0?null:t],e},useContext:be,useEffect:ms,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Il(4194308,4,Nd.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Il(4194308,4,e,t)},useInsertionEffect:function(e,t){return Il(4,2,e,t)},useMemo:function(e,t){var n=ft();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ft();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Fh.bind(null,ae,e),[r.memoizedState,e]},useRef:function(e){var t=ft();return e={current:e},t.memoizedState=e},useState:hs,useDebugValue:Za,useDeferredValue:function(e){return ft().memoizedState=e},useTransition:function(){var e=hs(!1),t=e[0];return e=Ah.bind(null,e[1]),ft().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ae,l=ft();if(ne){if(n===void 0)throw Error(E(407));n=n()}else{if(n=t(),_e===null)throw Error(E(349));yn&30||_d(r,t,n)}l.memoizedState=n;var i={value:n,getSnapshot:t};return l.queue=i,ms(Ed.bind(null,r,i,e),[e]),r.flags|=2048,el(9,kd.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=ft(),t=_e.identifierPrefix;if(ne){var n=Et,r=kt;n=(r&~(1<<32-at(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Zr++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[pt]=t,e[Jr]=r,Gd(e,t,!1,!1),t.stateNode=e;e:{switch(o=Do(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;ltr&&(t.flags|=128,r=!0,yr(i,!1),t.lanes=4194304)}else{if(!r)if(e=oi(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),yr(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!ne)return Le(t),null}else 2*he()-i.renderingStartTime>tr&&n!==1073741824&&(t.flags|=128,r=!0,yr(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(n=i.last,n!==null?n.sibling=o:t.child=o,i.last=o)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=he(),t.sibling=null,n=oe.current,b(oe,r?n&1|2:n&1),t):(Le(t),null);case 22:case 23:return lu(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ve&1073741824&&(Le(t),t.subtreeFlags&6&&(t.flags|=8192)):Le(t),null;case 24:return null;case 25:return null}throw Error(E(156,t.tag))}function Gh(e,t){switch(Ia(t),t.tag){case 1:return Ue(t.type)&&bl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return bn(),te(Ie),te(Te),Ga(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Ka(t),null;case 13:if(te(oe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(E(340));qn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return te(oe),null;case 4:return bn(),null;case 10:return Va(t.type._context),null;case 22:case 23:return lu(),null;case 24:return null;default:return null}}var Rl=!1,Ne=!1,Yh=typeof WeakSet=="function"?WeakSet:Set,j=null;function In(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ce(e,t,r)}else n.current=null}function ia(e,t,n){try{n()}catch(r){ce(e,t,r)}}var Es=!1;function Jh(e,t){if(Vo=Jl,e=bc(),Aa(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,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var o=0,a=-1,u=-1,s=0,p=0,v=e,m=null;t:for(;;){for(var x;v!==n||l!==0&&v.nodeType!==3||(a=o+l),v!==i||r!==0&&v.nodeType!==3||(u=o+r),v.nodeType===3&&(o+=v.nodeValue.length),(x=v.firstChild)!==null;)m=v,v=x;for(;;){if(v===e)break t;if(m===n&&++s===l&&(a=o),m===i&&++p===r&&(u=o),(x=v.nextSibling)!==null)break;v=m,m=v.parentNode}v=x}n=a===-1||u===-1?null:{start:a,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ho={focusedElem:e,selectionRange:n},Jl=!1,j=t;j!==null;)if(t=j,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,j=e;else for(;j!==null;){t=j;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var w=y.memoizedProps,L=y.memoizedState,f=t.stateNode,d=f.getSnapshotBeforeUpdate(t.elementType===t.type?w:rt(t.type,w),L);f.__reactInternalSnapshotBeforeUpdate=d}break;case 3:var h=t.stateNode.containerInfo;h.nodeType===1?h.textContent="":h.nodeType===9&&h.documentElement&&h.removeChild(h.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(E(163))}}catch(c){ce(t,t.return,c)}if(e=t.sibling,e!==null){e.return=t.return,j=e;break}j=t.return}return y=Es,Es=!1,y}function Or(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 i=l.destroy;l.destroy=void 0,i!==void 0&&ia(t,n,i)}l=l.next}while(l!==r)}}function Ci(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 oa(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 Xd(e){var t=e.alternate;t!==null&&(e.alternate=null,Xd(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[pt],delete t[Jr],delete t[Ko],delete t[Th],delete t[Dh])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function qd(e){return e.tag===5||e.tag===3||e.tag===4}function Cs(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||qd(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function 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=Zl));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 Ce=null,lt=!1;function Ft(e,t,n){for(n=n.child;n!==null;)Zd(e,t,n),n=n.sibling}function Zd(e,t,n){if(ht&&typeof ht.onCommitFiberUnmount=="function")try{ht.onCommitFiberUnmount(gi,n)}catch{}switch(n.tag){case 5:Ne||In(n,t);case 6:var r=Ce,l=lt;Ce=null,Ft(e,t,n),Ce=r,lt=l,Ce!==null&&(lt?(e=Ce,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ce.removeChild(n.stateNode));break;case 18:Ce!==null&&(lt?(e=Ce,n=n.stateNode,e.nodeType===8?oo(e.parentNode,n):e.nodeType===1&&oo(e,n),Wr(e)):oo(Ce,n.stateNode));break;case 4:r=Ce,l=lt,Ce=n.stateNode.containerInfo,lt=!0,Ft(e,t,n),Ce=r,lt=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 i=l,o=i.destroy;i=i.tag,o!==void 0&&(i&2||i&4)&&ia(n,t,o),l=l.next}while(l!==r)}Ft(e,t,n);break;case 1:if(!Ne&&(In(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){ce(n,t,a)}Ft(e,t,n);break;case 21:Ft(e,t,n);break;case 22:n.mode&1?(Ne=(r=Ne)||n.memoizedState!==null,Ft(e,t,n),Ne=r):Ft(e,t,n);break;default:Ft(e,t,n)}}function Ps(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Yh),t.forEach(function(r){var l=lm.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function nt(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=o),r&=~i}if(r=l,r=he()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*qh(r/1960))-r,10e?16:e,Ht===null)var r=!1;else{if(e=Ht,Ht=null,di=0,K&6)throw Error(E(331));var l=K;for(K|=4,j=e.current;j!==null;){var i=j,o=i.child;if(j.flags&16){var a=i.deletions;if(a!==null){for(var u=0;uhe()-nu?hn(e,0):tu|=n),Be(e,t)}function af(e,t){t===0&&(e.mode&1?(t=yl,yl<<=1,!(yl&130023424)&&(yl=4194304)):t=1);var n=je();e=Lt(e,t),e!==null&&(il(e,t,n),Be(e,n))}function rm(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),af(e,n)}function lm(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(E(314))}r!==null&&r.delete(t),af(e,n)}var uf;uf=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ie.current)Fe=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Fe=!1,Qh(e,t,n);Fe=!!(e.flags&131072)}else Fe=!1,ne&&t.flags&1048576&&cd(t,ni,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ul(e,t),e=t.pendingProps;var l=Xn(t,Te.current);Kn(t,n),l=Ja(null,t,r,e,l,n);var i=Xa();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,Ue(r)?(i=!0,ei(t)):i=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Wa(t),l.updater=ki,t.stateNode=l,l._reactInternals=t,Zo(t,r,e,n),t=ta(null,t,r,!0,i,n)):(t.tag=0,ne&&i&&Fa(t),De(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ul(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=om(r),e=rt(r,e),l){case 0:t=ea(null,t,r,e,n);break e;case 1:t=xs(null,t,r,e,n);break e;case 11:t=ws(null,t,r,e,n);break e;case 14:t=Ss(null,t,r,rt(r.type,e),n);break e}throw Error(E(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:rt(r,l),ea(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:rt(r,l),xs(e,t,r,l,n);case 3:e:{if(Wd(t),e===null)throw Error(E(387));r=t.pendingProps,i=t.memoizedState,l=i.element,hd(e,t),ii(t,r,null,n);var o=t.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){l=er(Error(E(423)),t),t=_s(e,t,r,n,l);break e}else if(r!==l){l=er(Error(E(424)),t),t=_s(e,t,r,n,l);break e}else for(He=Gt(t.stateNode.containerInfo.firstChild),We=t,ne=!0,ot=null,n=yd(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(qn(),r===l){t=Nt(e,t,n);break e}De(e,t,r,n)}t=t.child}return t;case 5:return wd(t),e===null&&Jo(t),r=t.type,l=t.pendingProps,i=e!==null?e.memoizedProps:null,o=l.children,Wo(r,l)?o=null:i!==null&&Wo(r,i)&&(t.flags|=32),Hd(e,t),De(e,t,o,n),t.child;case 6:return e===null&&Jo(t),null;case 13:return Qd(e,t,n);case 4:return Qa(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Zn(t,null,r,n):De(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:rt(r,l),ws(e,t,r,l,n);case 7:return De(e,t,t.pendingProps,n),t.child;case 8:return De(e,t,t.pendingProps.children,n),t.child;case 12:return De(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,i=t.memoizedProps,o=l.value,b(ri,r._currentValue),r._currentValue=o,i!==null)if(st(i.value,o)){if(i.children===l.children&&!Ie.current){t=Nt(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){o=i.child;for(var u=a.firstContext;u!==null;){if(u.context===r){if(i.tag===1){u=Ct(-1,n&-n),u.tag=2;var s=i.updateQueue;if(s!==null){s=s.shared;var p=s.pending;p===null?u.next=u:(u.next=p.next,p.next=u),s.pending=u}}i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),Xo(i.return,n,t),a.lanes|=n;break}u=u.next}}else if(i.tag===10)o=i.type===t.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(E(341));o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),Xo(o,n,t),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===t){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}De(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,Kn(t,n),l=be(l),r=r(l),t.flags|=1,De(e,t,r,n),t.child;case 14:return r=t.type,l=rt(r,t.pendingProps),l=rt(r.type,l),Ss(e,t,r,l,n);case 15:return $d(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:rt(r,l),Ul(e,t),t.tag=1,Ue(r)?(e=!0,ei(t)):e=!1,Kn(t,n),vd(t,r,l),Zo(t,r,l,n),ta(null,t,r,!0,e,n);case 19:return Kd(e,t,n);case 22:return Vd(e,t,n)}throw Error(E(156,t.tag))};function sf(e,t){return zc(e,t)}function im(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 qe(e,t,n,r){return new im(e,t,n,r)}function ou(e){return e=e.prototype,!(!e||!e.isReactComponent)}function om(e){if(typeof e=="function")return ou(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ca)return 11;if(e===Pa)return 14}return 2}function qt(e,t){var n=e.alternate;return n===null?(n=qe(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 Vl(e,t,n,r,l,i){var o=2;if(r=e,typeof e=="function")ou(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Ln:return mn(n.children,l,i,t);case Ea:o=8,l|=8;break;case _o:return e=qe(12,n,t,l|2),e.elementType=_o,e.lanes=i,e;case ko:return e=qe(13,n,t,l),e.elementType=ko,e.lanes=i,e;case Eo:return e=qe(19,n,t,l),e.elementType=Eo,e.lanes=i,e;case gc:return Ri(n,l,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case mc:o=10;break e;case vc:o=9;break e;case Ca:o=11;break e;case Pa:o=14;break e;case It:o=16,r=null;break e}throw Error(E(130,e==null?e:typeof e,""))}return t=qe(o,n,t,l),t.elementType=e,t.type=r,t.lanes=i,t}function mn(e,t,n,r){return e=qe(7,e,r,t),e.lanes=n,e}function Ri(e,t,n,r){return e=qe(22,e,r,t),e.elementType=gc,e.lanes=n,e.stateNode={isHidden:!1},e}function mo(e,t,n){return e=qe(6,e,null,t),e.lanes=n,e}function vo(e,t,n){return t=qe(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function am(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=Ji(0),this.expirationTimes=Ji(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ji(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function au(e,t,n,r,l,i,o,a,u){return e=new am(e,t,n,a,u),t===1?(t=1,i===!0&&(t|=8)):t=0,i=qe(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Wa(i),e}function um(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(pf)}catch(e){console.error(e)}}pf(),cc.exports=Ke;var pm=cc.exports,zs=pm;So.createRoot=zs.createRoot,So.hydrateRoot=zs.hydrateRoot;/*! clipboard-copy. MIT License. Feross Aboukhadijeh */var hm=gm;function du(){return new DOMException("The request is not allowed","NotAllowedError")}async function mm(e){if(!navigator.clipboard)throw du();return navigator.clipboard.writeText(e)}async function vm(e){const t=document.createElement("span");t.textContent=e,t.style.whiteSpace="pre",t.style.webkitUserSelect="auto",t.style.userSelect="all",document.body.appendChild(t);const n=window.getSelection(),r=window.document.createRange();n.removeAllRanges(),r.selectNode(t),n.addRange(r);let l=!1;try{l=window.document.execCommand("copy")}finally{n.removeAllRanges(),window.document.body.removeChild(t)}if(!l)throw du()}async function gm(e){try{await mm(e)}catch(t){try{await vm(e)}catch(n){throw n||t||du()}}}const ym=Zs(hm);function Hl({title:e,code:t,desc:n,meta:r}){const l=R.useRef(null),i=async()=>{let a=l.current,u=a.querySelector("code").innerText;a.querySelectorAll("select").length===1?u+=` ${a.querySelectorAll("select")[0].value}`:a.querySelectorAll("select").length===2&&(u+=` ${a.querySelectorAll("select")[0].value}`,u+=` ${a.querySelectorAll("select")[1].value}`),a.querySelectorAll("input").length===1?u+=` ${a.querySelectorAll("input")[0].value}`:a.querySelectorAll("input").length===2&&(u+=` ${a.querySelectorAll("input")[0].value}`,u+=` ${a.querySelectorAll("input")[1].value}`),await ym(u),l.current.style.background="#21b96b",await setTimeout(()=>{l.current.style.background="#151515"},500),console.log(u)},o=()=>{if(!localStorage.getItem("like"))localStorage.setItem("like",JSON.stringify([r]));else{const a=JSON.parse(localStorage.getItem("like"));if(!a.includes(r))localStorage.setItem("like",JSON.stringify([...a,r]));else{const u=a.filter(s=>s!==r);localStorage.setItem("like",JSON.stringify(u))}}location.reload()};return N.jsxs("div",{className:"pg-container",children:[N.jsxs("div",{className:"cheat-container",children:[N.jsx("h2",{className:"title",children:e}),N.jsx("div",{ref:l,className:"code",onClick:i,children:t}),N.jsx("p",{className:"desc",children:n})]}),N.jsx("div",{children:N.jsx("button",{className:"btn",onClick:o,children:"💙"})})]})}/** + * @remix-run/router v1.10.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 ie(){return ie=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function xn(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Sm(){return Math.random().toString(36).substr(2,8)}function As(e,t){return{usr:e.state,key:e.key,idx:t}}function nl(e,t,n,r){return n===void 0&&(n=null),ie({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Dt(t):t,{state:n,key:t&&t.key||r||Sm()})}function _n(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 Dt(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 xm(e,t,n,r){r===void 0&&(r={});let{window:l=document.defaultView,v5Compat:i=!1}=r,o=l.history,a=fe.Pop,u=null,s=p();s==null&&(s=0,o.replaceState(ie({},o.state,{idx:s}),""));function p(){return(o.state||{idx:null}).idx}function v(){a=fe.Pop;let L=p(),f=L==null?null:L-s;s=L,u&&u({action:a,location:w.location,delta:f})}function m(L,f){a=fe.Push;let d=nl(w.location,L,f);n&&n(d,L),s=p()+1;let h=As(d,s),c=w.createHref(d);try{o.pushState(h,"",c)}catch(k){if(k instanceof DOMException&&k.name==="DataCloneError")throw k;l.location.assign(c)}i&&u&&u({action:a,location:w.location,delta:1})}function x(L,f){a=fe.Replace;let d=nl(w.location,L,f);n&&n(d,L),s=p();let h=As(d,s),c=w.createHref(d);o.replaceState(h,"",c),i&&u&&u({action:a,location:w.location,delta:0})}function y(L){let f=l.location.origin!=="null"?l.location.origin:l.location.href,d=typeof L=="string"?L:_n(L);return V(f,"No window.location.(origin|href) available to create URL for href: "+d),new URL(d,f)}let w={get action(){return a},get location(){return e(l,o)},listen(L){if(u)throw new Error("A history only accepts one active listener");return l.addEventListener(Os,v),u=L,()=>{l.removeEventListener(Os,v),u=null}},createHref(L){return t(l,L)},createURL:y,encodeLocation(L){let f=y(L);return{pathname:f.pathname,search:f.search,hash:f.hash}},push:m,replace:x,go(L){return o.go(L)}};return w}var pe;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(pe||(pe={}));const _m=new Set(["lazy","caseSensitive","path","id","index","children"]);function km(e){return e.index===!0}function pa(e,t,n,r){return n===void 0&&(n=[]),r===void 0&&(r={}),e.map((l,i)=>{let o=[...n,i],a=typeof l.id=="string"?l.id:o.join("-");if(V(l.index!==!0||!l.children,"Cannot specify children on an index route"),V(!r[a],'Found a route id collision on id "'+a+`". Route id's must be globally unique within Data Router usages`),km(l)){let u=ie({},l,t(l),{id:a});return r[a]=u,u}else{let u=ie({},l,t(l),{id:a,children:void 0});return r[a]=u,l.children&&(u.children=pa(l.children,t,o,r)),u}})}function Bn(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?Dt(t):t,l=ir(r.pathname||"/",n);if(l==null)return null;let i=hf(e);Cm(i);let o=null;for(let a=0;o==null&&a{let u={relativePath:a===void 0?i.path||"":a,caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};u.relativePath.startsWith("/")&&(V(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=Pt([r,u.relativePath]),p=n.concat(u);i.children&&i.children.length>0&&(V(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+s+'".')),hf(i.children,t,p,s)),!(i.path==null&&!i.index)&&t.push({path:s,score:Dm(s,i.index),routesMeta:p})};return e.forEach((i,o)=>{var a;if(i.path===""||!((a=i.path)!=null&&a.includes("?")))l(i,o);else for(let u of mf(i.path))l(i,o,u)}),t}function mf(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,l=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return l?[i,""]:[i];let o=mf(r.join("/")),a=[];return a.push(...o.map(u=>u===""?i:[i,u].join("/"))),l&&a.push(...o),a.map(u=>e.startsWith("/")&&u===""?"/":u)}function Cm(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:jm(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const Pm=/^:\w+$/,Rm=3,Mm=2,Lm=1,Nm=10,Tm=-2,Fs=e=>e==="*";function Dm(e,t){let n=e.split("/"),r=n.length;return n.some(Fs)&&(r+=Tm),t&&(r+=Mm),n.filter(l=>!Fs(l)).reduce((l,i)=>l+(Pm.test(i)?Rm:i===""?Lm:Nm),r)}function jm(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 zm(e,t){let{routesMeta:n}=e,r={},l="/",i=[];for(let o=0;o{if(p==="*"){let m=a[v]||"";o=i.slice(0,i.length-m.length).replace(/(.)\/+$/,"$1")}return s[p]=Im(a[v]||"",p),s},{}),pathname:i,pathnameBase:o,pattern:e}}function Am(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),xn(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,(o,a)=>(r.push(a),"/([^\\/]+)"));return e.endsWith("*")?(r.push("*"),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),r]}function Fm(e){try{return decodeURI(e)}catch(t){return xn(!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 Im(e,t){try{return decodeURIComponent(e)}catch(n){return xn(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+n+").")),e}}function ir(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 Um(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:l=""}=typeof e=="string"?Dt(e):e;return{pathname:n?n.startsWith("/")?n:Bm(n,t):t,search:Vm(r),hash:Hm(l)}}function Bm(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 go(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 Di(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function fu(e,t,n,r){r===void 0&&(r=!1);let l;typeof e=="string"?l=Dt(e):(l=ie({},e),V(!l.pathname||!l.pathname.includes("?"),go("?","pathname","search",l)),V(!l.pathname||!l.pathname.includes("#"),go("#","pathname","hash",l)),V(!l.search||!l.search.includes("#"),go("#","search","hash",l)));let i=e===""||l.pathname==="",o=i?"/":l.pathname,a;if(r||o==null)a=n;else{let v=t.length-1;if(o.startsWith("..")){let m=o.split("/");for(;m[0]==="..";)m.shift(),v-=1;l.pathname=m.join("/")}a=v>=0?t[v]:"/"}let u=Um(l,a),s=o&&o!=="/"&&o.endsWith("/"),p=(i||o===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(s||p)&&(u.pathname+="/"),u}const Pt=e=>e.join("/").replace(/\/\/+/g,"/"),$m=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Vm=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Hm=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class pu{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 vf(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const gf=["post","put","patch","delete"],Wm=new Set(gf),Qm=["get",...gf],Km=new Set(Qm),Gm=new Set([301,302,303,307,308]),Ym=new Set([307,308]),yo={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Jm={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Sr={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},yf=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Xm=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),wf="remix-router-transitions";function qm(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;V(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=S=>({hasErrorBoundary:g(S)})}else l=Xm;let i={},o=pa(e.routes,l,void 0,i),a,u=e.basename||"/",s=ie({v7_normalizeFormMethod:!1,v7_prependBasename:!1},e.future),p=null,v=new Set,m=null,x=null,y=null,w=e.hydrationData!=null,L=Bn(o,e.history.location,u),f=null;if(L==null){let g=Ye(404,{pathname:e.history.location.pathname}),{matches:S,route:_}=Qs(o);L=S,f={[_.id]:g}}let d=!L.some(g=>g.route.lazy)&&(!L.some(g=>g.route.loader)||e.hydrationData!=null),h,c={historyAction:e.history.action,location:e.history.location,matches:L,initialized:d,navigation:yo,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||f,fetchers:new Map,blockers:new Map},k=fe.Pop,C=!1,P,M=!1,Q=new Map,F=null,Se=!1,$e=!1,ct=[],rn=[],se=new Map,jt=0,vt=-1,T=new Map,O=new Set,I=new Map,G=new Map,Z=new Map,zt=!1;function gt(){if(p=e.history.listen(g=>{let{action:S,location:_,delta:D}=g;if(zt){zt=!1;return}xn(Z.size===0||D!=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 B=_u({currentLocation:c.location,nextLocation:_,historyAction:S});if(B&&D!=null){zt=!0,e.history.go(D*-1),dl(B,{state:"blocked",location:_,proceed(){dl(B,{state:"proceeding",proceed:void 0,reset:void 0,location:_}),e.history.go(D)},reset(){let U=new Map(c.blockers);U.set(B,Sr),re({blockers:U})}});return}return ln(S,_)}),n){uv(t,Q);let g=()=>sv(t,Q);t.addEventListener("pagehide",g),F=()=>t.removeEventListener("pagehide",g)}return c.initialized||ln(fe.Pop,c.location),h}function ar(){p&&p(),F&&F(),v.clear(),P&&P.abort(),c.fetchers.forEach((g,S)=>Fi(S)),c.blockers.forEach((g,S)=>xu(S))}function yt(g){return v.add(g),()=>v.delete(g)}function re(g,S){c=ie({},c,g),v.forEach(_=>_(c,{unstable_viewTransitionOpts:S}))}function ur(g,S){var _,D;let B=c.actionData!=null&&c.navigation.formMethod!=null&&it(c.navigation.formMethod)&&c.navigation.state==="loading"&&((_=g.state)==null?void 0:_._isRedirect)!==!0,U;S.actionData?Object.keys(S.actionData).length>0?U=S.actionData:U=null:B?U=c.actionData:U=null;let $=S.loaderData?Ws(c.loaderData,S.loaderData,S.matches||[],S.errors):c.loaderData,A=c.blockers;A.size>0&&(A=new Map(A),A.forEach((le,W)=>A.set(W,Sr)));let z=C===!0||c.navigation.formMethod!=null&&it(c.navigation.formMethod)&&((D=g.state)==null?void 0:D._isRedirect)!==!0;a&&(o=a,a=void 0),Se||k===fe.Pop||(k===fe.Push?e.history.push(g,g.state):k===fe.Replace&&e.history.replace(g,g.state));let X;if(k===fe.Pop){let le=Q.get(c.location.pathname);le&&le.has(g.pathname)?X={currentLocation:c.location,nextLocation:g}:Q.has(g.pathname)&&(X={currentLocation:g,nextLocation:c.location})}else if(M){let le=Q.get(c.location.pathname);le?le.add(g.pathname):(le=new Set([g.pathname]),Q.set(c.location.pathname,le)),X={currentLocation:c.location,nextLocation:g}}re(ie({},S,{actionData:U,loaderData:$,historyAction:k,location:g,initialized:!0,navigation:yo,revalidation:"idle",restoreScrollPosition:Eu(g,S.matches||c.matches),preventScrollReset:z,blockers:A}),X),k=fe.Pop,C=!1,M=!1,Se=!1,$e=!1,ct=[],rn=[]}async function mu(g,S){if(typeof g=="number"){e.history.go(g);return}let _=ha(c.location,c.matches,u,s.v7_prependBasename,g,S==null?void 0:S.fromRouteId,S==null?void 0:S.relative),{path:D,submission:B,error:U}=Is(s.v7_normalizeFormMethod,!1,_,S),$=c.location,A=nl(c.location,D,S&&S.state);A=ie({},A,e.history.encodeLocation(A));let z=S&&S.replace!=null?S.replace:void 0,X=fe.Push;z===!0?X=fe.Replace:z===!1||B!=null&&it(B.formMethod)&&B.formAction===c.location.pathname+c.location.search&&(X=fe.Replace);let le=S&&"preventScrollReset"in S?S.preventScrollReset===!0:void 0,W=_u({currentLocation:$,nextLocation:A,historyAction:X});if(W){dl(W,{state:"blocked",location:A,proceed(){dl(W,{state:"proceeding",proceed:void 0,reset:void 0,location:A}),mu(g,S)},reset(){let q=new Map(c.blockers);q.set(W,Sr),re({blockers:q})}});return}return await ln(X,A,{submission:B,pendingError:U,preventScrollReset:le,replace:S&&S.replace,enableViewTransition:S&&S.unstable_viewTransition})}function Nf(){if(Ai(),re({revalidation:"loading"}),c.navigation.state!=="submitting"){if(c.navigation.state==="idle"){ln(c.historyAction,c.location,{startUninterruptedRevalidation:!0});return}ln(k||c.historyAction,c.navigation.location,{overrideNavigation:c.navigation})}}async function ln(g,S,_){P&&P.abort(),P=null,k=g,Se=(_&&_.startUninterruptedRevalidation)===!0,If(c.location,c.matches),C=(_&&_.preventScrollReset)===!0,M=(_&&_.enableViewTransition)===!0;let D=a||o,B=_&&_.overrideNavigation,U=Bn(D,S,u);if(!U){let q=Ye(404,{pathname:S.pathname}),{matches:de,route:on}=Qs(D);Ii(),ur(S,{matches:de,loaderData:{},errors:{[on.id]:q}});return}if(c.initialized&&!$e&&nv(c.location,S)&&!(_&&_.submission&&it(_.submission.formMethod))){ur(S,{matches:U});return}P=new AbortController;let $=_r(e.history,S,P.signal,_&&_.submission),A,z;if(_&&_.pendingError)z={[$n(U).route.id]:_.pendingError};else if(_&&_.submission&&it(_.submission.formMethod)){let q=await Tf($,S,_.submission,U,{replace:_.replace});if(q.shortCircuited)return;A=q.pendingActionData,z=q.pendingActionError,B=wo(S,_.submission),$=new Request($.url,{signal:$.signal})}let{shortCircuited:X,loaderData:le,errors:W}=await Df($,S,U,B,_&&_.submission,_&&_.fetcherSubmission,_&&_.replace,A,z);X||(P=null,ur(S,ie({matches:U},A?{actionData:A}:{},{loaderData:le,errors:W})))}async function Tf(g,S,_,D,B){B===void 0&&(B={}),Ai();let U=ov(S,_);re({navigation:U});let $,A=va(D,S);if(!A.route.action&&!A.route.lazy)$={type:pe.error,error:Ye(405,{method:g.method,pathname:S.pathname,routeId:A.route.id})};else if($=await xr("action",g,A,D,i,l,u),g.signal.aborted)return{shortCircuited:!0};if(Yn($)){let z;return B&&B.replace!=null?z=B.replace:z=$.location===c.location.pathname+c.location.search,await sr(c,$,{submission:_,replace:z}),{shortCircuited:!0}}if(Ir($)){let z=$n(D,A.route.id);return(B&&B.replace)!==!0&&(k=fe.Push),{pendingActionData:{},pendingActionError:{[z.route.id]:$.error}}}if(pn($))throw Ye(400,{type:"defer-action"});return{pendingActionData:{[A.route.id]:$.data}}}async function Df(g,S,_,D,B,U,$,A,z){let X=D||wo(S,B),le=B||U||Ys(X),W=a||o,[q,de]=Us(e.history,c,_,le,S,$e,ct,rn,I,O,W,u,A,z);if(Ii(J=>!(_&&_.some(tt=>tt.route.id===J))||q&&q.some(tt=>tt.route.id===J)),vt=++jt,q.length===0&&de.length===0){let J=wu();return ur(S,ie({matches:_,loaderData:{},errors:z||null},A?{actionData:A}:{},J?{fetchers:new Map(c.fetchers)}:{})),{shortCircuited:!0}}if(!Se){de.forEach(tt=>{let At=c.fetchers.get(tt.key),Hi=kr(void 0,At?At.data:void 0);c.fetchers.set(tt.key,Hi)});let J=A||c.actionData;re(ie({navigation:X},J?Object.keys(J).length===0?{actionData:null}:{actionData:J}:{},de.length>0?{fetchers:new Map(c.fetchers)}:{}))}de.forEach(J=>{se.has(J.key)&&Ot(J.key),J.controller&&se.set(J.key,J.controller)});let on=()=>de.forEach(J=>Ot(J.key));P&&P.signal.addEventListener("abort",on);let{results:an,loaderResults:cr,fetcherResults:Ui}=await gu(c.matches,_,q,de,g);if(g.signal.aborted)return{shortCircuited:!0};P&&P.signal.removeEventListener("abort",on),de.forEach(J=>se.delete(J.key));let wt=Ks(an);if(wt){if(wt.idx>=q.length){let J=de[wt.idx-q.length].key;O.add(J)}return await sr(c,wt.result,{replace:$}),{shortCircuited:!0}}let{loaderData:St,errors:fl}=Hs(c,_,q,cr,z,de,Ui,G);G.forEach((J,tt)=>{J.subscribe(At=>{(At||J.done)&&G.delete(tt)})});let Bi=wu(),$i=Su(vt),Vi=Bi||$i||de.length>0;return ie({loaderData:St,errors:fl},Vi?{fetchers:new Map(c.fetchers)}:{})}function vu(g){return c.fetchers.get(g)||Jm}function jf(g,S,_,D){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.");se.has(g)&&Ot(g);let B=a||o,U=ha(c.location,c.matches,u,s.v7_prependBasename,_,S,D==null?void 0:D.relative),$=Bn(B,U,u);if(!$){cl(g,S,Ye(404,{pathname:U}));return}let{path:A,submission:z,error:X}=Is(s.v7_normalizeFormMethod,!0,U,D);if(X){cl(g,S,X);return}let le=va($,A);if(C=(D&&D.preventScrollReset)===!0,z&&it(z.formMethod)){zf(g,S,A,le,$,z);return}I.set(g,{routeId:S,path:A}),Of(g,S,A,le,$,z)}async function zf(g,S,_,D,B,U){if(Ai(),I.delete(g),!D.route.action&&!D.route.lazy){let ve=Ye(405,{method:U.formMethod,pathname:_,routeId:S});cl(g,S,ve);return}let $=c.fetchers.get(g),A=av(U,$);c.fetchers.set(g,A),re({fetchers:new Map(c.fetchers)});let z=new AbortController,X=_r(e.history,_,z.signal,U);se.set(g,z);let le=jt,W=await xr("action",X,D,B,i,l,u);if(X.signal.aborted){se.get(g)===z&&se.delete(g);return}if(Yn(W))if(se.delete(g),vt>le){let ve=Rn(void 0);c.fetchers.set(g,ve),re({fetchers:new Map(c.fetchers)});return}else{O.add(g);let ve=kr(U);return c.fetchers.set(g,ve),re({fetchers:new Map(c.fetchers)}),sr(c,W,{fetcherSubmission:U})}if(Ir(W)){cl(g,S,W.error);return}if(pn(W))throw Ye(400,{type:"defer-action"});let q=c.navigation.location||c.location,de=_r(e.history,q,z.signal),on=a||o,an=c.navigation.state!=="idle"?Bn(on,c.navigation.location,u):c.matches;V(an,"Didn't find any matches after fetcher action");let cr=++jt;T.set(g,cr);let Ui=kr(U,W.data);c.fetchers.set(g,Ui);let[wt,St]=Us(e.history,c,an,U,q,$e,ct,rn,I,O,on,u,{[D.route.id]:W.data},void 0);St.filter(ve=>ve.key!==g).forEach(ve=>{let dr=ve.key,Cu=c.fetchers.get(dr),Bf=kr(void 0,Cu?Cu.data:void 0);c.fetchers.set(dr,Bf),se.has(dr)&&Ot(dr),ve.controller&&se.set(dr,ve.controller)}),re({fetchers:new Map(c.fetchers)});let fl=()=>St.forEach(ve=>Ot(ve.key));z.signal.addEventListener("abort",fl);let{results:Bi,loaderResults:$i,fetcherResults:Vi}=await gu(c.matches,an,wt,St,de);if(z.signal.aborted)return;z.signal.removeEventListener("abort",fl),T.delete(g),se.delete(g),St.forEach(ve=>se.delete(ve.key));let J=Ks(Bi);if(J){if(J.idx>=wt.length){let ve=St[J.idx-wt.length].key;O.add(ve)}return sr(c,J.result)}let{loaderData:tt,errors:At}=Hs(c,c.matches,wt,$i,void 0,St,Vi,G);if(c.fetchers.has(g)){let ve=Rn(W.data);c.fetchers.set(g,ve)}let Hi=Su(cr);c.navigation.state==="loading"&&cr>vt?(V(k,"Expected pending action"),P&&P.abort(),ur(c.navigation.location,{matches:an,loaderData:tt,errors:At,fetchers:new Map(c.fetchers)})):(re(ie({errors:At,loaderData:Ws(c.loaderData,tt,an,At)},Hi||St.length>0?{fetchers:new Map(c.fetchers)}:{})),$e=!1)}async function Of(g,S,_,D,B,U){let $=c.fetchers.get(g),A=kr(U,$?$.data:void 0);c.fetchers.set(g,A),re({fetchers:new Map(c.fetchers)});let z=new AbortController,X=_r(e.history,_,z.signal);se.set(g,z);let le=jt,W=await xr("loader",X,D,B,i,l,u);if(pn(W)&&(W=await _f(W,X.signal,!0)||W),se.get(g)===z&&se.delete(g),X.signal.aborted)return;if(Yn(W))if(vt>le){let de=Rn(void 0);c.fetchers.set(g,de),re({fetchers:new Map(c.fetchers)});return}else{O.add(g),await sr(c,W);return}if(Ir(W)){let de=$n(c.matches,S);c.fetchers.delete(g),re({fetchers:new Map(c.fetchers),errors:{[de.route.id]:W.error}});return}V(!pn(W),"Unhandled fetcher deferred data");let q=Rn(W.data);c.fetchers.set(g,q),re({fetchers:new Map(c.fetchers)})}async function sr(g,S,_){let{submission:D,fetcherSubmission:B,replace:U}=_===void 0?{}:_;S.revalidate&&($e=!0);let $=nl(g.location,S.location,{_isRedirect:!0});if(V($,"Expected a location on the redirect navigation"),n){let q=!1;if(S.reloadDocument)q=!0;else if(yf.test(S.location)){const de=e.history.createURL(S.location);q=de.origin!==t.location.origin||ir(de.pathname,u)==null}if(q){U?t.location.replace(S.location):t.location.assign(S.location);return}}P=null;let A=U===!0?fe.Replace:fe.Push,{formMethod:z,formAction:X,formEncType:le}=g.navigation;!D&&!B&&z&&X&&le&&(D=Ys(g.navigation));let W=D||B;if(Ym.has(S.status)&&W&&it(W.formMethod))await ln(A,$,{submission:ie({},W,{formAction:S.location}),preventScrollReset:C});else{let q=wo($,D);await ln(A,$,{overrideNavigation:q,fetcherSubmission:B,preventScrollReset:C})}}async function gu(g,S,_,D,B){let U=await Promise.all([..._.map(z=>xr("loader",B,z,S,i,l,u)),...D.map(z=>z.matches&&z.match&&z.controller?xr("loader",_r(e.history,z.path,z.controller.signal),z.match,z.matches,i,l,u):{type:pe.error,error:Ye(404,{pathname:z.path})})]),$=U.slice(0,_.length),A=U.slice(_.length);return await Promise.all([Gs(g,_,$,$.map(()=>B.signal),!1,c.loaderData),Gs(g,D.map(z=>z.match),A,D.map(z=>z.controller?z.controller.signal:null),!0)]),{results:U,loaderResults:$,fetcherResults:A}}function Ai(){$e=!0,ct.push(...Ii()),I.forEach((g,S)=>{se.has(S)&&(rn.push(S),Ot(S))})}function cl(g,S,_){let D=$n(c.matches,S);Fi(g),re({errors:{[D.route.id]:_},fetchers:new Map(c.fetchers)})}function Fi(g){let S=c.fetchers.get(g);se.has(g)&&!(S&&S.state==="loading"&&T.has(g))&&Ot(g),I.delete(g),T.delete(g),O.delete(g),c.fetchers.delete(g)}function Ot(g){let S=se.get(g);V(S,"Expected fetch controller: "+g),S.abort(),se.delete(g)}function yu(g){for(let S of g){let _=vu(S),D=Rn(_.data);c.fetchers.set(S,D)}}function wu(){let g=[],S=!1;for(let _ of O){let D=c.fetchers.get(_);V(D,"Expected fetcher: "+_),D.state==="loading"&&(O.delete(_),g.push(_),S=!0)}return yu(g),S}function Su(g){let S=[];for(let[_,D]of T)if(D0}function Af(g,S){let _=c.blockers.get(g)||Sr;return Z.get(g)!==S&&Z.set(g,S),_}function xu(g){c.blockers.delete(g),Z.delete(g)}function dl(g,S){let _=c.blockers.get(g)||Sr;V(_.state==="unblocked"&&S.state==="blocked"||_.state==="blocked"&&S.state==="blocked"||_.state==="blocked"&&S.state==="proceeding"||_.state==="blocked"&&S.state==="unblocked"||_.state==="proceeding"&&S.state==="unblocked","Invalid blocker state transition: "+_.state+" -> "+S.state);let D=new Map(c.blockers);D.set(g,S),re({blockers:D})}function _u(g){let{currentLocation:S,nextLocation:_,historyAction:D}=g;if(Z.size===0)return;Z.size>1&&xn(!1,"A router only supports one blocker at a time");let B=Array.from(Z.entries()),[U,$]=B[B.length-1],A=c.blockers.get(U);if(!(A&&A.state==="proceeding")&&$({currentLocation:S,nextLocation:_,historyAction:D}))return U}function Ii(g){let S=[];return G.forEach((_,D)=>{(!g||g(D))&&(_.cancel(),S.push(D),G.delete(D))}),S}function Ff(g,S,_){if(m=g,y=S,x=_||null,!w&&c.navigation===yo){w=!0;let D=Eu(c.location,c.matches);D!=null&&re({restoreScrollPosition:D})}return()=>{m=null,y=null,x=null}}function ku(g,S){return x&&x(g,S.map(D=>Em(D,c.loaderData)))||g.key}function If(g,S){if(m&&y){let _=ku(g,S);m[_]=y()}}function Eu(g,S){if(m){let _=ku(g,S),D=m[_];if(typeof D=="number")return D}return null}function Uf(g){i={},a=pa(g,l,void 0,i)}return h={get basename(){return u},get state(){return c},get routes(){return o},get window(){return t},initialize:gt,subscribe:yt,enableScrollRestoration:Ff,navigate:mu,fetch:jf,revalidate:Nf,createHref:g=>e.history.createHref(g),encodeLocation:g=>e.history.encodeLocation(g),getFetcher:vu,deleteFetcher:Fi,dispose:ar,getBlocker:Af,deleteBlocker:xu,_internalFetchControllers:se,_internalActiveDeferreds:G,_internalSetRoutes:Uf},h}function Zm(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function ha(e,t,n,r,l,i,o){let a,u;if(i!=null&&o!=="path"){a=[];for(let p of t)if(a.push(p),p.route.id===i){u=p;break}}else a=t,u=t[t.length-1];let s=fu(l||".",Di(a).map(p=>p.pathnameBase),ir(e.pathname,n)||e.pathname,o==="path");return l==null&&(s.search=e.search,s.hash=e.hash),(l==null||l===""||l===".")&&u&&u.route.index&&!hu(s.search)&&(s.search=s.search?s.search.replace(/^\?/,"?index&"):"?index"),r&&n!=="/"&&(s.pathname=s.pathname==="/"?n:Pt([n,s.pathname])),_n(s)}function Is(e,t,n,r){if(!r||!Zm(r))return{path:n};if(r.formMethod&&!iv(r.formMethod))return{path:n,error:Ye(405,{method:r.formMethod})};let l=()=>({path:n,error:Ye(400,{type:"invalid-body"})}),i=r.formMethod||"get",o=e?i.toUpperCase():i.toLowerCase(),a=xf(n);if(r.body!==void 0){if(r.formEncType==="text/plain"){if(!it(o))return l();let m=typeof r.body=="string"?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((x,y)=>{let[w,L]=y;return""+x+w+"="+L+` +`},""):String(r.body);return{path:n,submission:{formMethod:o,formAction:a,formEncType:r.formEncType,formData:void 0,json:void 0,text:m}}}else if(r.formEncType==="application/json"){if(!it(o))return l();try{let m=typeof r.body=="string"?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:o,formAction:a,formEncType:r.formEncType,formData:void 0,json:m,text:void 0}}}catch{return l()}}}V(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=Vs(u);else if(r.body==null)u=new URLSearchParams,s=new FormData;else try{u=new URLSearchParams(r.body),s=Vs(u)}catch{return l()}let p={formMethod:o,formAction:a,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:s,json:void 0,text:void 0};if(it(p.formMethod))return{path:n,submission:p};let v=Dt(n);return t&&v.search&&hu(v.search)&&u.append("index",""),v.search="?"+u,{path:_n(v),submission:p}}function bm(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 Us(e,t,n,r,l,i,o,a,u,s,p,v,m,x){let y=x?Object.values(x)[0]:m?Object.values(m)[0]:void 0,w=e.createURL(t.location),L=e.createURL(l),f=x?Object.keys(x)[0]:void 0,h=bm(n,f).filter((k,C)=>{if(k.route.lazy)return!0;if(k.route.loader==null)return!1;if(ev(t.loaderData,t.matches[C],k)||o.some(Q=>Q===k.route.id))return!0;let P=t.matches[C],M=k;return Bs(k,ie({currentUrl:w,currentParams:P.params,nextUrl:L,nextParams:M.params},r,{actionResult:y,defaultShouldRevalidate:i||w.pathname+w.search===L.pathname+L.search||w.search!==L.search||Sf(P,M)}))}),c=[];return u.forEach((k,C)=>{if(!n.some(Se=>Se.route.id===k.routeId))return;let P=Bn(p,k.path,v);if(!P){c.push({key:C,routeId:k.routeId,path:k.path,matches:null,match:null,controller:null});return}let M=t.fetchers.get(C),Q=va(P,k.path),F=!1;s.has(C)?F=!1:a.includes(C)?F=!0:M&&M.state!=="idle"&&M.data===void 0?F=i:F=Bs(Q,ie({currentUrl:w,currentParams:t.matches[t.matches.length-1].params,nextUrl:L,nextParams:n[n.length-1].params},r,{actionResult:y,defaultShouldRevalidate:i})),F&&c.push({key:C,routeId:k.routeId,path:k.path,matches:P,match:Q,controller:new AbortController})}),[h,c]}function ev(e,t,n){let r=!t||n.route.id!==t.route.id,l=e[n.route.id]===void 0;return r||l}function Sf(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function Bs(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n=="boolean")return n}return t.defaultShouldRevalidate}async function $s(e,t,n){if(!e.lazy)return;let r=await e.lazy();if(!e.lazy)return;let l=n[e.id];V(l,"No route found in manifest");let i={};for(let o in r){let u=l[o]!==void 0&&o!=="hasErrorBoundary";xn(!u,'Route "'+l.id+'" has a static property "'+o+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+o+'" will be ignored.')),!u&&!_m.has(o)&&(i[o]=r[o])}Object.assign(l,i),Object.assign(l,ie({},t(l),{lazy:void 0}))}async function xr(e,t,n,r,l,i,o,a){a===void 0&&(a={});let u,s,p,v=y=>{let w,L=new Promise((f,d)=>w=d);return p=()=>w(),t.signal.addEventListener("abort",p),Promise.race([y({request:t,params:n.params,context:a.requestContext}),L])};try{let y=n.route[e];if(n.route.lazy)if(y){let w,L=await Promise.all([v(y).catch(f=>{w=f}),$s(n.route,i,l)]);if(w)throw w;s=L[0]}else if(await $s(n.route,i,l),y=n.route[e],y)s=await v(y);else if(e==="action"){let w=new URL(t.url),L=w.pathname+w.search;throw Ye(405,{method:t.method,pathname:L,routeId:n.route.id})}else return{type:pe.data,data:void 0};else if(y)s=await v(y);else{let w=new URL(t.url),L=w.pathname+w.search;throw Ye(404,{pathname:L})}V(s!==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(y){u=pe.error,s=y}finally{p&&t.signal.removeEventListener("abort",p)}if(lv(s)){let y=s.status;if(Gm.has(y)){let f=s.headers.get("Location");if(V(f,"Redirects returned/thrown from loaders/actions must have a Location header"),!yf.test(f))f=ha(new URL(t.url),r.slice(0,r.indexOf(n)+1),o,!0,f);else if(!a.isStaticRequest){let d=new URL(t.url),h=f.startsWith("//")?new URL(d.protocol+f):new URL(f),c=ir(h.pathname,o)!=null;h.origin===d.origin&&c&&(f=h.pathname+h.search+h.hash)}if(a.isStaticRequest)throw s.headers.set("Location",f),s;return{type:pe.redirect,status:y,location:f,revalidate:s.headers.get("X-Remix-Revalidate")!==null,reloadDocument:s.headers.get("X-Remix-Reload-Document")!==null}}if(a.isRouteRequest)throw{type:u===pe.error?pe.error:pe.data,response:s};let w,L=s.headers.get("Content-Type");return L&&/\bapplication\/json\b/.test(L)?w=await s.json():w=await s.text(),u===pe.error?{type:u,error:new pu(y,s.statusText,w),headers:s.headers}:{type:pe.data,data:w,statusCode:s.status,headers:s.headers}}if(u===pe.error)return{type:u,error:s};if(rv(s)){var m,x;return{type:pe.deferred,deferredData:s,statusCode:(m=s.init)==null?void 0:m.status,headers:((x=s.init)==null?void 0:x.headers)&&new Headers(s.init.headers)}}return{type:pe.data,data:s}}function _r(e,t,n,r){let l=e.createURL(xf(t)).toString(),i={signal:n};if(r&&it(r.formMethod)){let{formMethod:o,formEncType:a}=r;i.method=o.toUpperCase(),a==="application/json"?(i.headers=new Headers({"Content-Type":a}),i.body=JSON.stringify(r.json)):a==="text/plain"?i.body=r.text:a==="application/x-www-form-urlencoded"&&r.formData?i.body=ma(r.formData):i.body=r.formData}return new Request(l,i)}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 Vs(e){let t=new FormData;for(let[n,r]of e.entries())t.append(n,r);return t}function tv(e,t,n,r,l){let i={},o=null,a,u=!1,s={};return n.forEach((p,v)=>{let m=t[v].route.id;if(V(!Yn(p),"Cannot handle redirect results in processLoaderData"),Ir(p)){let x=$n(e,m),y=p.error;r&&(y=Object.values(r)[0],r=void 0),o=o||{},o[x.route.id]==null&&(o[x.route.id]=y),i[m]=void 0,u||(u=!0,a=vf(p.error)?p.error.status:500),p.headers&&(s[m]=p.headers)}else pn(p)?(l.set(m,p.deferredData),i[m]=p.deferredData.data):i[m]=p.data,p.statusCode!=null&&p.statusCode!==200&&!u&&(a=p.statusCode),p.headers&&(s[m]=p.headers)}),r&&(o=r,i[Object.keys(r)[0]]=void 0),{loaderData:i,errors:o,statusCode:a||200,loaderHeaders:s}}function Hs(e,t,n,r,l,i,o,a){let{loaderData:u,errors:s}=tv(t,n,r,l,a);for(let p=0;pr.route.id===t)+1):[...e]).reverse().find(r=>r.route.hasErrorBoundary===!0)||e[0]}function Qs(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 Ye(e,t){let{pathname:n,routeId:r,method:l,type:i}=t===void 0?{}:t,o="Unknown Server Error",a="Unknown @remix-run/router error";return e===400?(o="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.":i==="defer-action"?a="defer() is not supported in actions":i==="invalid-body"&&(a="Unable to encode submission body")):e===403?(o="Forbidden",a='Route "'+r+'" does not match URL "'+n+'"'):e===404?(o="Not Found",a='No route matches URL "'+n+'"'):e===405&&(o="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 pu(e||500,o,new Error(a),!0)}function Ks(e){for(let t=e.length-1;t>=0;t--){let n=e[t];if(Yn(n))return{result:n,idx:t}}}function xf(e){let t=typeof e=="string"?Dt(e):e;return _n(ie({},t,{hash:""}))}function nv(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function pn(e){return e.type===pe.deferred}function Ir(e){return e.type===pe.error}function Yn(e){return(e&&e.type)===pe.redirect}function rv(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 lv(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function iv(e){return Km.has(e.toLowerCase())}function it(e){return Wm.has(e.toLowerCase())}async function Gs(e,t,n,r,l,i){for(let o=0;ov.route.id===u.route.id),p=s!=null&&!Sf(s,u)&&(i&&i[u.route.id])!==void 0;if(pn(a)&&(l||p)){let v=r[o];V(v,"Expected an AbortSignal for revalidating fetcher deferred result"),await _f(a,v,l).then(m=>{m&&(n[o]=m||n[o])})}}}async function _f(e,t,n){if(n===void 0&&(n=!1),!await e.deferredData.resolveData(t)){if(n)try{return{type:pe.data,data:e.deferredData.unwrappedData}}catch(l){return{type:pe.error,error:l}}return{type:pe.data,data:e.deferredData.data}}}function hu(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function va(e,t){let n=typeof t=="string"?Dt(t).search:t.search;if(e[e.length-1].route.index&&hu(n||""))return e[e.length-1];let r=Di(e);return r[r.length-1]}function Ys(e){let{formMethod:t,formAction:n,formEncType:r,text:l,formData:i,json:o}=e;if(!(!t||!n||!r)){if(l!=null)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:l};if(i!=null)return{formMethod:t,formAction:n,formEncType:r,formData:i,json:void 0,text:void 0};if(o!==void 0)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:o,text:void 0}}}function wo(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 ov(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 kr(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 av(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 Rn(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 uv(e,t){try{let n=e.sessionStorage.getItem(wf);if(n){let r=JSON.parse(n);for(let[l,i]of Object.entries(r||{}))i&&Array.isArray(i)&&t.set(l,new Set(i||[]))}}catch{}}function sv(e,t){if(t.size>0){let n={};for(let[r,l]of t)n[r]=[...l];try{e.sessionStorage.setItem(wf,JSON.stringify(n))}catch(r){xn(!1,"Failed to save applied view transitions in sessionStorage ("+r+").")}}}/** + * React Router v6.17.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 hi(){return hi=Object.assign?Object.assign.bind():function(e){for(var t=1;tu.pathnameBase)),o=R.useRef(!1);return Cf(()=>{o.current=!0}),R.useCallback(function(u,s){if(s===void 0&&(s={}),!o.current)return;if(typeof u=="number"){n.go(u);return}let p=fu(u,JSON.parse(i),l,s.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:Pt([t,p.pathname])),(s.replace?n.replace:n.push)(p,s.state,s)},[t,n,i,l,e])}function Pf(e,t){let{relative:n}=t===void 0?{}:t,{matches:r}=R.useContext(Cn),{pathname:l}=Oi(),i=JSON.stringify(Di(r).map(o=>o.pathnameBase));return R.useMemo(()=>fu(e,JSON.parse(i),l,n==="path"),[e,i,l,n])}function pv(e,t,n){sl()||V(!1);let{navigator:r}=R.useContext(or),{matches:l}=R.useContext(Cn),i=l[l.length-1],o=i?i.params:{};i&&i.pathname;let a=i?i.pathnameBase:"/";i&&i.route;let u=Oi(),s;if(t){var p;let w=typeof t=="string"?Dt(t):t;a==="/"||(p=w.pathname)!=null&&p.startsWith(a)||V(!1),s=w}else s=u;let v=s.pathname||"/",m=a==="/"?v:v.slice(a.length)||"/",x=Bn(e,{pathname:m}),y=yv(x&&x.map(w=>Object.assign({},w,{params:Object.assign({},o,w.params),pathname:Pt([a,r.encodeLocation?r.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?a:Pt([a,r.encodeLocation?r.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),l,n);return t&&y?R.createElement(zi.Provider,{value:{location:hi({pathname:"/",search:"",hash:"",state:null,key:"default"},s),navigationType:fe.Pop}},y):y}function hv(){let e=_v(),t=vf(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)"},i=null;return R.createElement(R.Fragment,null,R.createElement("h2",null,"Unexpected Application Error!"),R.createElement("h3",{style:{fontStyle:"italic"}},t),n?R.createElement("pre",{style:l},n):null,i)}const mv=R.createElement(hv,null);class vv extends R.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error||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?R.createElement(Cn.Provider,{value:this.props.routeContext},R.createElement(Ef.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function gv(e){let{routeContext:t,match:n,children:r}=e,l=R.useContext(ji);return l&&l.static&&l.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=n.route.id),R.createElement(Cn.Provider,{value:t},r)}function yv(e,t,n){var r;if(t===void 0&&(t=[]),n===void 0&&(n=null),e==null){var l;if((l=n)!=null&&l.errors)e=n.matches;else return null}let i=e,o=(r=n)==null?void 0:r.errors;if(o!=null){let a=i.findIndex(u=>u.route.id&&(o==null?void 0:o[u.route.id]));a>=0||V(!1),i=i.slice(0,Math.min(i.length,a+1))}return i.reduceRight((a,u,s)=>{let p=u.route.id?o==null?void 0:o[u.route.id]:null,v=null;n&&(v=u.route.errorElement||mv);let m=t.concat(i.slice(0,s+1)),x=()=>{let y;return p?y=v:u.route.Component?y=R.createElement(u.route.Component,null):u.route.element?y=u.route.element:y=a,R.createElement(gv,{match:u,routeContext:{outlet:a,matches:m,isDataRoute:n!=null},children:y})};return n&&(u.route.ErrorBoundary||u.route.errorElement||s===0)?R.createElement(vv,{location:n.location,revalidation:n.revalidation,component:v,error:p,children:x(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):x()},null)}var Rf=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Rf||{}),mi=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}(mi||{});function wv(e){let t=R.useContext(ji);return t||V(!1),t}function Sv(e){let t=R.useContext(kf);return t||V(!1),t}function xv(e){let t=R.useContext(Cn);return t||V(!1),t}function Mf(e){let t=xv(),n=t.matches[t.matches.length-1];return n.route.id||V(!1),n.route.id}function _v(){var e;let t=R.useContext(Ef),n=Sv(mi.UseRouteError),r=Mf(mi.UseRouteError);return t||((e=n.errors)==null?void 0:e[r])}function kv(){let{router:e}=wv(Rf.UseNavigateStable),t=Mf(mi.UseNavigateStable),n=R.useRef(!1);return Cf(()=>{n.current=!0}),R.useCallback(function(l,i){i===void 0&&(i={}),n.current&&(typeof l=="number"?e.navigate(l):e.navigate(l,hi({fromRouteId:t},i)))},[e,t])}function Ev(e){let{basename:t="/",children:n=null,location:r,navigationType:l=fe.Pop,navigator:i,static:o=!1}=e;sl()&&V(!1);let a=t.replace(/^\/*/,"/"),u=R.useMemo(()=>({basename:a,navigator:i,static:o}),[a,i,o]);typeof r=="string"&&(r=Dt(r));let{pathname:s="/",search:p="",hash:v="",state:m=null,key:x="default"}=r,y=R.useMemo(()=>{let w=ir(s,a);return w==null?null:{location:{pathname:w,search:p,hash:v,state:m,key:x},navigationType:l}},[a,s,p,v,m,x,l]);return y==null?null:R.createElement(or.Provider,{value:u},R.createElement(zi.Provider,{children:n,value:y}))}new Promise(()=>{});function Cv(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:R.createElement(e.Component),Component:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:R.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}/** + * React Router DOM v6.17.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 rl(){return rl=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[l]=e[l]);return n}function Rv(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Mv(e,t){return e.button===0&&(!t||t==="_self")&&!Rv(e)}const Lv=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"];function Nv(e,t){return qm({basename:t==null?void 0:t.basename,future:rl({},t==null?void 0:t.future,{v7_prependBasename:!0}),history:wm({window:t==null?void 0:t.window}),hydrationData:(t==null?void 0:t.hydrationData)||Tv(),routes:e,mapRouteProperties:Cv,window:t==null?void 0:t.window}).initialize()}function Tv(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=rl({},t,{errors:Dv(t.errors)})),t}function Dv(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 pu(l.status,l.statusText,l.data,l.internal===!0);else if(l&&l.__type==="Error"){if(l.__subType){let i=window[l.__subType];if(typeof i=="function")try{let o=new i(l.message);o.stack="",n[r]=o}catch{}}if(n[r]==null){let i=new Error(l.message);i.stack="",n[r]=i}}else n[r]=l;return n}const jv=R.createContext({isTransitioning:!1}),zv="startTransition",Js=rp[zv];function Ov(e){Js?Js(e):e()}class Av{constructor(){this.status="pending",this.promise=new Promise((t,n)=>{this.resolve=r=>{this.status==="pending"&&(this.status="resolved",t(r))},this.reject=r=>{this.status==="pending"&&(this.status="rejected",n(r))}})}}function Fv(e){let{fallbackElement:t,router:n,future:r}=e,[l,i]=R.useState(n.state),[o,a]=R.useState(),[u,s]=R.useState({isTransitioning:!1}),[p,v]=R.useState(),[m,x]=R.useState(),[y,w]=R.useState(),{v7_startTransition:L}=r||{},f=R.useCallback(C=>{L?Ov(C):C()},[L]),d=R.useCallback((C,P)=>{let{unstable_viewTransitionOpts:M}=P;!M||n.window==null||typeof n.window.document.startViewTransition!="function"?f(()=>i(C)):m&&p?(p.resolve(),m.skipTransition(),w({state:C,currentLocation:M.currentLocation,nextLocation:M.nextLocation})):(a(C),s({isTransitioning:!0,currentLocation:M.currentLocation,nextLocation:M.nextLocation}))},[f,m,p,n.window]);R.useLayoutEffect(()=>n.subscribe(d),[n,d]),R.useEffect(()=>{u.isTransitioning&&v(new Av)},[u.isTransitioning]),R.useEffect(()=>{if(p&&o&&n.window){let C=o,P=p.promise,M=n.window.document.startViewTransition(async()=>{f(()=>i(C)),await P});M.finished.finally(()=>{v(void 0),x(void 0),a(void 0),s({isTransitioning:!1})}),x(M)}},[f,o,p,n.window]),R.useEffect(()=>{p&&o&&l.location.key===o.location.key&&p.resolve()},[p,m,l.location,o]),R.useEffect(()=>{!u.isTransitioning&&y&&(a(y.state),s({isTransitioning:!0,currentLocation:y.currentLocation,nextLocation:y.nextLocation}),w(void 0))},[u.isTransitioning,y]);let h=R.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:C=>n.navigate(C),push:(C,P,M)=>n.navigate(C,{state:P,preventScrollReset:M==null?void 0:M.preventScrollReset}),replace:(C,P,M)=>n.navigate(C,{replace:!0,state:P,preventScrollReset:M==null?void 0:M.preventScrollReset})}),[n]),c=n.basename||"/",k=R.useMemo(()=>({router:n,navigator:h,static:!1,basename:c}),[n,h,c]);return R.createElement(R.Fragment,null,R.createElement(ji.Provider,{value:k},R.createElement(kf.Provider,{value:l},R.createElement(jv.Provider,{value:u},R.createElement(Ev,{basename:c,location:l.location,navigationType:l.historyAction,navigator:h},l.initialized?R.createElement(Iv,{routes:n.routes,state:l}):t)))),null)}function Iv(e){let{routes:t,state:n}=e;return pv(t,void 0,n)}const Uv=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Bv=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Nl=R.forwardRef(function(t,n){let{onClick:r,relative:l,reloadDocument:i,replace:o,state:a,target:u,to:s,preventScrollReset:p,unstable_viewTransition:v}=t,m=Pv(t,Lv),{basename:x}=R.useContext(or),y,w=!1;if(typeof s=="string"&&Bv.test(s)&&(y=s,Uv))try{let h=new URL(window.location.href),c=s.startsWith("//")?new URL(h.protocol+s):new URL(s),k=ir(c.pathname,x);c.origin===h.origin&&k!=null?s=k+c.search+c.hash:w=!0}catch{}let L=cv(s,{relative:l}),f=$v(s,{replace:o,state:a,target:u,preventScrollReset:p,relative:l,unstable_viewTransition:v});function d(h){r&&r(h),h.defaultPrevented||f(h)}return R.createElement("a",rl({},m,{href:y||L,onClick:w||i?r:d,ref:n,target:u}))});var Xs;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Xs||(Xs={}));var qs;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(qs||(qs={}));function $v(e,t){let{target:n,replace:r,state:l,preventScrollReset:i,relative:o,unstable_viewTransition:a}=t===void 0?{}:t,u=dv(),s=Oi(),p=Pf(e,{relative:o});return R.useCallback(v=>{if(Mv(v,n)){v.preventDefault();let m=r!==void 0?r:_n(s)===_n(p);u(e,{replace:m,state:l,preventScrollReset:i,relative:o,unstable_viewTransition:a})}},[s,u,p,r,l,n,e,i,o,a])}const Vv="/Douze/assets/logo-58d7877d.png";function Hv(){return N.jsx("nav",{id:"nav-container",children:N.jsxs("ul",{id:"links-container",children:[N.jsx("img",{src:Vv,className:"logo",alt:"logo sims"}),N.jsx(Nl,{className:"link",to:"/Douze/Simflouz",children:"Simflouz"}),N.jsx(Nl,{className:"link",to:"/Douze/Personnage",children:"Personnage"}),N.jsx(Nl,{className:"link",to:"/Douze/Construction",children:"Construction"}),N.jsx(Nl,{className:"link",to:"/Douze/Like",children:"💙"})]})})}function Lf({children:e}){return N.jsxs(N.Fragment,{children:[N.jsx(Hv,{}),N.jsx("main",{children:e})]})}function Er({data:e}){return N.jsx(Lf,{children:e?Object.keys(e).length>0?Object.keys(e).map((t,n)=>N.jsx(Hl,{meta:t,title:e[t].title,code:e[t].args_i&&e[t].args_r?N.jsxs("div",{className:"code-spec",children:[N.jsx("code",{children:e[t].code}),e[t].args_i.map((r,l)=>N.jsx("input",{type:"text",placeholder:r},l)),N.jsx("select",{children:e[t].args_r.map((r,l)=>N.jsx("option",{id:l,value:e[t].args_r_v[l],children:r}))})]}):e[t].args_i||e[t].args_r?N.jsxs("div",{className:"code-spec",children:[N.jsx("code",{children:e[t].code}),e[t].args_i?e[t].args_i.map((r,l)=>N.jsx("input",{type:"text",placeholder:r},l)):N.jsx("select",{children:e[t].args_r.map((r,l)=>N.jsx("option",{value:e[t].args_r_v[l],id:l,children:r}))})]}):N.jsx("code",{children:e[t].code}),desc:e[t].desc},t)):N.jsx("p",{style:{color:"red"},children:"Pas de code de triche"}):null})}const Wv={title:"Recuperer 50k de Simflouz",code:"motherlode",desc:"Pas de parametre, juste ecrire la commande."},Qv={title:"Recuperer 10k de Simflouz",code:"rosebud",desc:"Pas de parametre, juste ecrire la commande."},Kv={title:"Recuperer n de Simflouz",code:"money",args_i:["[montant]"],desc:"[montant]: Nombre de Simflouz souhaité"},Gv={title:"Ne plus avoir de facture",code:"households.autopay_bills",desc:"Pas de parametre, juste ecrire la commande."},Yv={title:"Avoir toutes les maisons gratuite",code:"FreeRealEstate",args_r:["on","off"],args_r_v:["on","off"],desc:"[on]: Activer, [off]: desactiver"},ge={sf_mother_lode:Wv,sf_rose_bud:Qv,sf_money:Kv,sf_autopay:Gv,sf_freehouse:Yv},Jv={title:"Ne plus avoir faim, someil etc...",code:"stats.fill_commodities_household",desc:"Pas de parametre, juste ecrire la commande."},Xv={title:"Le sims choisit n'a plus faim, someil etc...",code:"stats.fill_commodities",desc:"Pas de parametre, juste ecrire la commande."},qv={title:"Ajouter n points de satisfaction",code:"sims.give_satisfaction_points",args_i:["[montant]"],desc:"[montant]: Nombre de points voulu"},Zv={title:"Rendre le sims immortel",code:"death.toggle",desc:"Pas de parametre, juste ecrire la commande."},bv={title:"Activer une competance pour un sims",code:"stats.set_skill_level",args_r:["Comédie","Pêche","Fuséologie","Jeux vidéo","Violon","Écriture","Jardinage","Cuisine gastronomique","Guitare","Bricolage","Cuisine","Logique","Malice","Mixologie","Charisme","Peinture","Piano","Fitness","Escalade","Communication (enfants)","Imagination (enfants)","Mouvement (enfants)","Pot (enfants)","Réflexion (enfants)","Orgue (Les Sims 4 : Vampires)","(Les Sims 4 : Vampires)","Danse (Les Sims 4 : Vivre ensemble)","DJ (Les Sims 4 : Vivre ensemble)","Chant (Les Sims 4 : Vie citadine)","Herboristerie (Les Sims 4 : Destination nature)","Bien-être (Les Sims 4 : Détente au spa)","Éducation (Les Sims 4 : Être parents)","Pâtisserie (Les Sims 4 : Au travail)","Photographie (Les Sims 4 : Au travail)","Entretien de magasin (Les Sims 4 : Au travail)","Vente (Les Sims 4 : Au travail)","Éthique professionnelle (Les Sims 4 : Au travail)","Culture Salvadorienne (Les Sims 4 : Dans la jungle)","Archéologie (Les Sims 4 : Dans la jungle)","Dressage (Les Sims 4 : Chiens et chats)","Vétérinaire (Les Sims 4 : Chiens et chats)","Composition florale (Les Sims 4 : Saisons)","Patinage (Les Sims 4 : Saisons)"],args_r_v:["Major_Comedy","Major_Fishing","Major_RocketScience","Major_VideoGaming","Major_Violin","Major_Writing","Major_Gardening","AdultMajor_GourmetCooking","Major_Guitar","Major_Handiness","Major_HomestyleCooking","Major_Logic","Major_Mischief","Major_Bartending","Major_Charisma","Major_Painting","Major_Piano","Skill_Fitness","Skill_Hidden_TreadMill","statistic_skill_toddler_Communication","statistic_skill_toddler_Imagination","statistic_skill_toddler_Movement","statistic_skill_toddler_Potty","statistic_skill_toddler_Thinking","Major_PipeOrgan","statistic_Skill_Hidden_VampireLore","Minor_Dancing","Major_DJ","Major_Singing","Major_Herbalism","Major_Wellness","Major_Parenting","Major_Baking","Major_Photography","retail_maintenance","retail_sales","retail_workethic","Minor_LocalCulture","Major_Archaeology","skill_Dog","Major_Vet","AdultMajor_FlowerArranging","Hidden_Skating"],args_i:["[niveau]"],desc:"[niveau]: Niveau de la competance (max. 10), [competance]: Competance voulue"},eg={title:"Terminer une missions d'aspiration de votre sims",code:"traits.equip_trait",args_r:["Grande longévité (Sport)","Expressionniste (Créativité)","Musicien envoûtant (Créativité)","Poétique (Créativité)","Manipulateur (Déviance)","Persécuteur (Déviance)","Vie par procuration (Famille)","Matriarche (Famille)","Chef frais (Nourriture)","Pro des potions (Nourriture)","Fromage fondu (Nourriture)","Doué mentalement (Enfants)","Doué socialement (Enfants)","Physique avantageux (Enfants)","Génie créatif (Enfants)","Astucieux (Fortune)","Econome (Fortune)","Hilarant (Popularité)","Hôte parfait (Popularité)","Aimé (Popularité)","Professoral (Connaissance)","Bricoleur (Connaissance)","Pro du web (Connaissance)","Croqueur de sims (Amour)","En couple (Amour)","Naturaliste (Nature)","Expert (Nature)","Sérénité du pêcheur (Nature)","Survivant (Nature)","Chasseur de trésor (Nature)"],args_r_v:["Longevity","Expressionistic","Piper","EpicPoet","Mastermind","Bane","LivingVicariously","Matriarch","FreshChef","PotionMaster","Melt Master","MentallyGifted","SociallyGifted","PhysicallyGifted","CreativelyGifted","Invested","ValuedCustomer","Hilarious","PerfectHost","Legendary","Chronicler","TheKnack","WebMaster","Player","EternalBond","OneWithNature","Appraiser","AnglersTranquility","Survivalist","Trait_JungleExplorer"],desc:"[aspiration]: Mission d'aspiration a finir"},tg={title:"Donner un metier a votre sims",code:"careers.add_career",args_r:["Astronaute","Athlète","Affaires","Criminel","Culinaire","Artiste","Peintre","Agent secret","Gourou des Technologies","Écrivain","Ingénieur","Juridique","Artiste indépendant (Métiers exclusifs aux Indépendants)","Auteur indépendant (Métiers exclusifs aux Indépendants)","Programmateur indépendant (Métiers exclusifs aux Indépendants)","Photographe indépendant (Métiers exclusifs aux Indépendants)","École primaire (enfant) (Métiers exclusifs aux adolescents)","Lycée (adolescent) (Métiers exclusifs aux adolescents)","Babysitter (adolescent) (Métiers exclusifs aux adolescents)","Barista (adolescent) (Métiers exclusifs aux adolescents)","Employé de Fast-Food (adolescent) (Métiers exclusifs aux adolescents)","Ouvrier (adolescent) (Métiers exclusifs aux adolescents)","Commerce (adolescent) (Métiers exclusifs aux adolescents)","Détective (Métiers exclusifs au Sims 4 : Vie Citadine)","Docteur (Métiers exclusifs au Sims 4 : Vie Citadine)","Scientifique (Métiers exclusifs au Sims 4 : Vie Citadine)","Activiste (Politique) (Métiers exclusifs au Sims 4 : Vie Citadine)","Social média (Métiers exclusifs au Sims 4 : Vie Citadine)","Critique gastronomique (Métiers exclusifs au Sims 4 : Vie Citadine)","Jardinier (Métier exclusif au Sims 4 : Les saisons)","Acteur (Métier exclusif au Sims 4 : Heure de Gloire)","Détective (Métier exclusif au Sims 4 : Pack Au Travail !)","Docteur (Métier exclusif au Sims 4 : Pack Au Travail !)","Concepteur civil (Métier exclusif au Sims 4 : Écologie)","Artisan indépendant (Métier exclusif au Sims 4 : Écologie)","Professeur (Métiers exclusifs au Sims 4 : A la fac !)","Avocat (Métiers exclusifs au Sims 4 : A la fac !)","Conservateur marin (Métier exclusif au Sims 4 : Îles paradisiaque)"],args_r_v:["Astronaut","Athletic","Business","Criminal","Culinary","Entertainer","Painter","Secretagent","TechGuru","Writer","careers_Adult_Engineer","careers_Adult_Law","adult_freelancer_artist","adult_freelancer_agency_writer","adult_freelancer_agency_programmer","Fashion_Photographer","Gradeschool","Highschool","Teen_Babysitter","Teen_Barista","Teen_FastFood","Teen_Manual","Teen_Retail","Detective","Doctor","Scientist","Activist","SocialMedia","Adult_critic","Adult_Gardener","Actor","Detective","Doctor","careers_Adult_CivilDesigner","careers_Adult_Freelancer_Agency_Maker","careers_Adult_Education","careers_Adult_Law","Conservationist"],desc:"[metier]: Le metier a choisir"},ng={title:"Donner une promotion a votre sims",code:"careers.promote",args_r:["Astronaute","Athlète","Affaires","Criminel","Culinaire","Artiste","Peintre","Agent secret","Gourou des Technologies","Écrivain","Ingénieur","Juridique","Artiste indépendant (Métiers exclusifs aux Indépendants)","Auteur indépendant (Métiers exclusifs aux Indépendants)","Programmateur indépendant (Métiers exclusifs aux Indépendants)","Photographe indépendant (Métiers exclusifs aux Indépendants)","École primaire (enfant) (Métiers exclusifs aux adolescents)","Lycée (adolescent) (Métiers exclusifs aux adolescents)","Babysitter (adolescent) (Métiers exclusifs aux adolescents)","Barista (adolescent) (Métiers exclusifs aux adolescents)","Employé de Fast-Food (adolescent) (Métiers exclusifs aux adolescents)","Ouvrier (adolescent) (Métiers exclusifs aux adolescents)","Commerce (adolescent) (Métiers exclusifs aux adolescents)","Détective (Métiers exclusifs au Sims 4 : Vie Citadine)","Docteur (Métiers exclusifs au Sims 4 : Vie Citadine)","Scientifique (Métiers exclusifs au Sims 4 : Vie Citadine)","Activiste (Politique) (Métiers exclusifs au Sims 4 : Vie Citadine)","Social média (Métiers exclusifs au Sims 4 : Vie Citadine)","Critique gastronomique (Métiers exclusifs au Sims 4 : Vie Citadine)","Jardinier (Métier exclusif au Sims 4 : Les saisons)","Acteur (Métier exclusif au Sims 4 : Heure de Gloire)","Détective (Métier exclusif au Sims 4 : Pack Au Travail !)","Docteur (Métier exclusif au Sims 4 : Pack Au Travail !)","Concepteur civil (Métier exclusif au Sims 4 : Écologie)","Artisan indépendant (Métier exclusif au Sims 4 : Écologie)","Professeur (Métiers exclusifs au Sims 4 : A la fac !)","Avocat (Métiers exclusifs au Sims 4 : A la fac !)","Conservateur marin (Métier exclusif au Sims 4 : Îles paradisiaque)"],args_r_v:["Astronaut","Athletic","Business","Criminal","Culinary","Entertainer","Painter","Secretagent","TechGuru","Writer","careers_Adult_Engineer","careers_Adult_Law","adult_freelancer_artist","adult_freelancer_agency_writer","adult_freelancer_agency_programmer","Fashion_Photographer","Gradeschool","Highschool","Teen_Babysitter","Teen_Barista","Teen_FastFood","Teen_Manual","Teen_Retail","Detective","Doctor","Scientist","Activist","SocialMedia","Adult_critic","Adult_Gardener","Actor","Detective","Doctor","careers_Adult_CivilDesigner","careers_Adult_Freelancer_Agency_Maker","careers_Adult_Education","careers_Adult_Law","Conservationist"],desc:"[metier]: Le metier a choisir"},rg={titre:"Debloquer votre sims d'un bug",code:"resetSim",args_i:["[prenom]","[nom]"],desc:"[prenom]: Prenom du sims a debloque, [nom]: Nom du sims a debloque"},lg={titre:"Modifier le skin d'un sims",code:"cas.fulleditmode",desc:"Pas de parametre, juste ecrire la commande."},ke={p_nopain:Jv,p_nopainfor:Xv,p_satisfyP:qv,p_godmode:Zv,p_skills:bv,p_aspiration_skills:eg,p_add_metiers:tg,p_promote:ng,p_reset:rg,p_modify_skin:lg},ig={title:"Supperposer deux objets",code:"bb.moveobjects on",desc:"Pas de parametre, juste ecrire la commande."},og={title:"Debloquer des objets speciaux dans la boutique",code:"bb.showhiddenobjects",desc:"Pas de parametre, juste ecrire la commande."},Ee={c_supperposition:ig,c_unlck_hidden_content:og};function ag(){const[e,t]=R.useState([]);return R.useEffect(()=>{const n=JSON.parse(localStorage.getItem("like"));if(!n)return;const r=[];for(let l of n){switch(l.split("_")[0]){case"p":{r.push(N.jsx(Hl,{meta:l,title:ke[l].title,code:ke[l].args_i&&ke[l].args_r?N.jsxs("div",{className:"code-spec",children:[N.jsx("code",{children:ke[l].code}),ke[l].args_i.map((o,a)=>N.jsx("input",{type:"text",placeholder:o},a)),N.jsx("select",{children:ke[l].args_r.map((o,a)=>N.jsx("option",{id:a,value:ke[l].args_r_v[a],children:o},a))})]}):ke[l].args_i||ke[l].args_r?N.jsxs("div",{className:"code-spec",children:[N.jsx("code",{children:ke[l].code}),ke[l].args_i?ke[l].args_i.map((o,a)=>N.jsx("input",{type:"text",placeholder:o},a)):N.jsx("select",{children:ke[l].args_r.map((o,a)=>N.jsx("option",{value:ke[l].args_r_v[a],id:a,children:o},a))})]}):N.jsx("code",{children:ke[l].code}),desc:ke[l].desc}));break}case"sf":{r.push(N.jsx(Hl,{meta:l,title:ge[l].title,code:ge[l].args_i&&ge[l].args_r?N.jsxs("div",{className:"code-spec",children:[N.jsx("code",{children:ge[l].code}),ge[l].args_i.map((o,a)=>N.jsx("input",{type:"text",placeholder:o},a)),N.jsx("select",{children:ge[l].args_r.map((o,a)=>N.jsx("option",{id:a,value:ge[l].args_r_v[a],children:o},a))})]}):ge[l].args_i||ge[l].args_r?N.jsxs("div",{className:"code-spec",children:[N.jsx("code",{children:ge[l].code}),ge[l].args_i?ge[l].args_i.map((o,a)=>N.jsx("input",{type:"text",placeholder:o},a)):N.jsx("select",{children:ge[l].args_r.map((o,a)=>N.jsx("option",{value:ge[l].args_r_v[a],id:a,children:o},a))})]}):N.jsx("code",{children:ge[l].code}),desc:ge[l].desc}));break}case"c":{r.push(N.jsx(Hl,{meta:l,title:Ee[l].title,code:Ee[l].args_i&&Ee[l].args_r?N.jsxs("div",{className:"code-spec",children:[N.jsx("code",{children:Ee[l].code}),Ee[l].args_i.map((o,a)=>N.jsx("input",{type:"text",placeholder:o},a)),N.jsx("select",{children:Ee[l].args_r.map((o,a)=>N.jsx("option",{id:a,value:Ee[l].args_r_v[a],children:o},a))})]}):Ee[l].args_i||Ee[l].args_r?N.jsxs("div",{className:"code-spec",children:[N.jsx("code",{children:Ee[l].code}),Ee[l].args_i?Ee[l].args_i.map((o,a)=>N.jsx("input",{type:"text",placeholder:o},a)):N.jsx("select",{children:Ee[l].args_r.map((o,a)=>N.jsx("option",{value:Ee[l].args_r_v[a],id:a,children:o},a))})]}):N.jsx("code",{children:Ee[l].code}),desc:Ee[l].desc}));break}default:{console.log("unknown prefix");break}}t(r)}},[]),N.jsx(Lf,{children:Object.keys(e).map((n,r)=>e[r])})}const ug=Nv([{path:"/",element:N.jsx(Er,{data:ge})},{path:"/Douze/",element:N.jsx(Er,{data:ge})},{path:"/Douze/Simflouz",element:N.jsx(Er,{data:ge})},{path:"/Douze/Personnage",element:N.jsx(Er,{data:ke})},{path:"/Douze/Construction",element:N.jsx(Er,{data:Ee})},{path:"/Douze/Like",element:N.jsx(ag,{})}]);So.createRoot(document.getElementById("root")).render(N.jsx(uc.StrictMode,{children:N.jsx(Fv,{router:ug})})); diff --git a/assets/index-9a61feda.js b/assets/index-9a61feda.js deleted file mode 100644 index 3c7f276..0000000 --- a/assets/index-9a61feda.js +++ /dev/null @@ -1,68 +0,0 @@ -function Ff(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 i of l)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(l){const i={};return l.integrity&&(i.integrity=l.integrity),l.referrerPolicy&&(i.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?i.credentials="include":l.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(l){if(l.ep)return;l.ep=!0;const i=n(l);fetch(l.href,i)}})();function Xs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var qs={exports:{}},di={},Js={exports:{}},H={};/** - * @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 tl=Symbol.for("react.element"),If=Symbol.for("react.portal"),Uf=Symbol.for("react.fragment"),Bf=Symbol.for("react.strict_mode"),$f=Symbol.for("react.profiler"),Vf=Symbol.for("react.provider"),Hf=Symbol.for("react.context"),Wf=Symbol.for("react.forward_ref"),Qf=Symbol.for("react.suspense"),Kf=Symbol.for("react.memo"),Gf=Symbol.for("react.lazy"),ka=Symbol.iterator;function Yf(e){return e===null||typeof e!="object"?null:(e=ka&&e[ka]||e["@@iterator"],typeof e=="function"?e:null)}var Zs={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},bs=Object.assign,ec={};function bn(e,t,n){this.props=e,this.context=t,this.refs=ec,this.updater=n||Zs}bn.prototype.isReactComponent={};bn.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")};bn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function tc(){}tc.prototype=bn.prototype;function hu(e,t,n){this.props=e,this.context=t,this.refs=ec,this.updater=n||Zs}var mu=hu.prototype=new tc;mu.constructor=hu;bs(mu,bn.prototype);mu.isPureReactComponent=!0;var _a=Array.isArray,nc=Object.prototype.hasOwnProperty,vu={current:null},rc={key:!0,ref:!0,__self:!0,__source:!0};function lc(e,t,n){var r,l={},i=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(i=""+t.key),t)nc.call(t,r)&&!rc.hasOwnProperty(r)&&(l[r]=t[r]);var u=arguments.length-2;if(u===1)l.children=n;else if(1>>1,Z=T[G];if(0>>1;Gl(lr,F))mtl(re,lr)?(T[G]=re,T[mt]=F,G=mt):(T[G]=lr,T[ht]=F,G=ht);else if(mtl(re,F))T[G]=re,T[mt]=F,G=mt;else break e}}return j}function l(T,j){var F=T.sortIndex-j.sortIndex;return F!==0?F:T.id-j.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,u=o.now();e.unstable_now=function(){return o.now()-u}}var a=[],s=[],p=1,v=null,m=3,x=!1,y=!1,w=!1,L=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,d=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function h(T){for(var j=n(s);j!==null;){if(j.callback===null)r(s);else if(j.startTime<=T)r(s),j.sortIndex=j.expirationTime,t(a,j);else break;j=n(s)}}function c(T){if(w=!1,h(T),!y)if(n(a)!==null)y=!0,Tt(k);else{var j=n(s);j!==null&&pt(c,j.startTime-T)}}function k(T,j){y=!1,w&&(w=!1,f(M),M=-1),x=!0;var F=m;try{for(h(j),v=n(a);v!==null&&(!(v.expirationTime>j)||T&&!we());){var G=v.callback;if(typeof G=="function"){v.callback=null,m=v.priorityLevel;var Z=G(v.expirationTime<=j);j=e.unstable_now(),typeof Z=="function"?v.callback=Z:v===n(a)&&r(a),h(j)}else r(a);v=n(a)}if(v!==null)var Nt=!0;else{var ht=n(s);ht!==null&&pt(c,ht.startTime-j),Nt=!1}return Nt}finally{v=null,m=F,x=!1}}var C=!1,P=null,M=-1,Q=5,A=-1;function we(){return!(e.unstable_now()-AT||125G?(T.sortIndex=F,t(s,T),n(a)===null&&T===n(s)&&(w?(f(M),M=-1):w=!0,pt(c,F-G))):(T.sortIndex=Z,t(a,T),y||x||(y=!0,Tt(k))),T},e.unstable_shouldYield=we,e.unstable_wrapCallback=function(T){var j=m;return function(){var F=m;m=j;try{return T.apply(this,arguments)}finally{m=F}}}})(sc);ac.exports=sc;var op=ac.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 cc=R,Ve=op;function _(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),yo=Object.prototype.hasOwnProperty,up=/^[: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]*$/,Pa={},Ra={};function ap(e){return yo.call(Ra,e)?!0:yo.call(Pa,e)?!1:up.test(e)?Ra[e]=!0:(Pa[e]=!0,!1)}function sp(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 cp(e,t,n,r){if(t===null||typeof t>"u"||sp(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 De(e,t,n,r,l,i,o){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=i,this.removeEmptyString=o}var _e={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){_e[e]=new De(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 De(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){_e[e]=new De(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){_e[e]=new De(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 De(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){_e[e]=new De(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){_e[e]=new De(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){_e[e]=new De(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){_e[e]=new De(e,5,!1,e.toLowerCase(),null,!1,!1)});var yu=/[\-:]([a-z])/g;function wu(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(yu,wu);_e[t]=new De(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(yu,wu);_e[t]=new De(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(yu,wu);_e[t]=new De(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){_e[e]=new De(e,1,!1,e.toLowerCase(),null,!1,!1)});_e.xlinkHref=new De("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){_e[e]=new De(e,1,!1,e.toLowerCase(),null,!0,!0)});function Su(e,t,n,r){var l=_e.hasOwnProperty(t)?_e[t]:null;(l!==null?l.type!==0:r||!(2u||l[o]!==i[u]){var a=` -`+l[o].replace(" at new "," at ");return e.displayName&&a.includes("")&&(a=a.replace("",e.displayName)),a}while(1<=o&&0<=u);break}}}finally{$i=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Er(e):""}function dp(e){switch(e.tag){case 5:return Er(e.type);case 16:return Er("Lazy");case 13:return Er("Suspense");case 19:return Er("SuspenseList");case 0:case 2:case 15:return e=Vi(e.type,!1),e;case 11:return e=Vi(e.type.render,!1),e;case 1:return e=Vi(e.type,!0),e;default:return""}}function Eo(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 Pn:return"Fragment";case Cn:return"Portal";case wo:return"Profiler";case xu:return"StrictMode";case So:return"Suspense";case xo:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case pc:return(e.displayName||"Context")+".Consumer";case fc:return(e._context.displayName||"Context")+".Provider";case Eu:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ku:return t=e.displayName||null,t!==null?t:Eo(e.type)||"Memo";case Ot:t=e._payload,e=e._init;try{return Eo(e(t))}catch{}}return null}function fp(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 Eo(t);case 8:return t===xu?"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 Xt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function mc(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function pp(e){var t=mc(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,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function fl(e){e._valueTracker||(e._valueTracker=pp(e))}function vc(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=mc(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Ul(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 ko(e,t){var n=t.checked;return ae({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function La(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Xt(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 gc(e,t){t=t.checked,t!=null&&Su(e,"checked",t,!1)}function _o(e,t){gc(e,t);var n=Xt(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")?Co(e,t.type,n):t.hasOwnProperty("defaultValue")&&Co(e,t.type,Xt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ta(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 Co(e,t,n){(t!=="number"||Ul(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var kr=Array.isArray;function Un(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=pl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Fr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Pr={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},hp=["Webkit","ms","Moz","O"];Object.keys(Pr).forEach(function(e){hp.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Pr[t]=Pr[e]})});function xc(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Pr.hasOwnProperty(e)&&Pr[e]?(""+t).trim():t+"px"}function Ec(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=xc(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var mp=ae({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Mo(e,t){if(t){if(mp[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(_(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(_(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(_(61))}if(t.style!=null&&typeof t.style!="object")throw Error(_(62))}}function Lo(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 To=null;function _u(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var No=null,Bn=null,$n=null;function za(e){if(e=ll(e)){if(typeof No!="function")throw Error(_(280));var t=e.stateNode;t&&(t=vi(t),No(e.stateNode,e.type,t))}}function kc(e){Bn?$n?$n.push(e):$n=[e]:Bn=e}function _c(){if(Bn){var e=Bn,t=$n;if($n=Bn=null,za(e),t)for(e=0;e>>=0,e===0?32:31-(Pp(e)/Rp|0)|0}var hl=64,ml=4194304;function _r(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Hl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,i=e.pingedLanes,o=n&268435455;if(o!==0){var u=o&~l;u!==0?r=_r(u):(i&=o,i!==0&&(r=_r(i)))}else o=n&~l,o!==0?r=_r(o):i!==0&&(r=_r(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,i=t&-t,l>=i||l===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function nl(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-lt(t),e[t]=n}function Np(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Mr),Va=String.fromCharCode(32),Ha=!1;function Wc(e,t){switch(e){case"keyup":return ih.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Qc(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Rn=!1;function uh(e,t){switch(e){case"compositionend":return Qc(t);case"keypress":return t.which!==32?null:(Ha=!0,Va);case"textInput":return e=t.data,e===Va&&Ha?null:e;default:return null}}function ah(e,t){if(Rn)return e==="compositionend"||!Du&&Wc(e,t)?(e=Vc(),Tl=Lu=Ut=null,Rn=!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=Ga(n)}}function Xc(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Xc(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function qc(){for(var e=window,t=Ul();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ul(e.document)}return t}function zu(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 gh(e){var t=qc(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Xc(n.ownerDocument.documentElement,n)){if(r!==null&&zu(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,i=Math.min(r.start,l);r=r.end===void 0?i:Math.min(r.end,l),!e.extend&&i>r&&(l=r,r=i,i=l),l=Ya(n,i);var o=Ya(n,r);l&&o&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.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,Mn=null,Fo=null,Tr=null,Io=!1;function Xa(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Io||Mn==null||Mn!==Ul(r)||(r=Mn,"selectionStart"in r&&zu(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}),Tr&&Hr(Tr,r)||(Tr=r,r=Kl(Fo,"onSelect"),0Nn||(e.current=Wo[Nn],Wo[Nn]=null,Nn--)}function b(e,t){Nn++,Wo[Nn]=e.current,e.current=t}var qt={},Me=Zt(qt),Oe=Zt(!1),pn=qt;function Gn(e,t){var n=e.type.contextTypes;if(!n)return qt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},i;for(i in n)l[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function Ae(e){return e=e.childContextTypes,e!=null}function Yl(){te(Oe),te(Me)}function ns(e,t,n){if(Me.current!==qt)throw Error(_(168));b(Me,t),b(Oe,n)}function id(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(_(108,fp(e)||"Unknown",l));return ae({},n,r)}function Xl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||qt,pn=Me.current,b(Me,e),b(Oe,Oe.current),!0}function rs(e,t,n){var r=e.stateNode;if(!r)throw Error(_(169));n?(e=id(e,t,pn),r.__reactInternalMemoizedMergedChildContext=e,te(Oe),te(Me),b(Me,e)):te(Oe),b(Oe,n)}var wt=null,gi=!1,no=!1;function od(e){wt===null?wt=[e]:wt.push(e)}function Lh(e){gi=!0,od(e)}function bt(){if(!no&&wt!==null){no=!0;var e=0,t=Y;try{var n=wt;for(Y=1;e>=o,l-=o,St=1<<32-lt(t)+l|n<M?(Q=P,P=null):Q=P.sibling;var A=m(f,P,h[M],c);if(A===null){P===null&&(P=Q);break}e&&P&&A.alternate===null&&t(f,P),d=i(A,d,M),C===null?k=A:C.sibling=A,C=A,P=Q}if(M===h.length)return n(f,P),ne&&ln(f,M),k;if(P===null){for(;MM?(Q=P,P=null):Q=P.sibling;var we=m(f,P,A.value,c);if(we===null){P===null&&(P=Q);break}e&&P&&we.alternate===null&&t(f,P),d=i(we,d,M),C===null?k=we:C.sibling=we,C=we,P=Q}if(A.done)return n(f,P),ne&&ln(f,M),k;if(P===null){for(;!A.done;M++,A=h.next())A=v(f,A.value,c),A!==null&&(d=i(A,d,M),C===null?k=A:C.sibling=A,C=A);return ne&&ln(f,M),k}for(P=r(f,P);!A.done;M++,A=h.next())A=x(P,f,M,A.value,c),A!==null&&(e&&A.alternate!==null&&P.delete(A.key===null?M:A.key),d=i(A,d,M),C===null?k=A:C.sibling=A,C=A);return e&&P.forEach(function(Ie){return t(f,Ie)}),ne&&ln(f,M),k}function L(f,d,h,c){if(typeof h=="object"&&h!==null&&h.type===Pn&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case dl:e:{for(var k=h.key,C=d;C!==null;){if(C.key===k){if(k=h.type,k===Pn){if(C.tag===7){n(f,C.sibling),d=l(C,h.props.children),d.return=f,f=d;break e}}else if(C.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===Ot&&cs(k)===C.type){n(f,C.sibling),d=l(C,h.props),d.ref=hr(f,C,h),d.return=f,f=d;break e}n(f,C);break}else t(f,C);C=C.sibling}h.type===Pn?(d=fn(h.props.children,f.mode,c,h.key),d.return=f,f=d):(c=Il(h.type,h.key,h.props,null,f.mode,c),c.ref=hr(f,d,h),c.return=f,f=c)}return o(f);case Cn:e:{for(C=h.key;d!==null;){if(d.key===C)if(d.tag===4&&d.stateNode.containerInfo===h.containerInfo&&d.stateNode.implementation===h.implementation){n(f,d.sibling),d=l(d,h.children||[]),d.return=f,f=d;break e}else{n(f,d);break}else t(f,d);d=d.sibling}d=co(h,f.mode,c),d.return=f,f=d}return o(f);case Ot:return C=h._init,L(f,d,C(h._payload),c)}if(kr(h))return y(f,d,h,c);if(sr(h))return w(f,d,h,c);El(f,h)}return typeof h=="string"&&h!==""||typeof h=="number"?(h=""+h,d!==null&&d.tag===6?(n(f,d.sibling),d=l(d,h),d.return=f,f=d):(n(f,d),d=so(h,f.mode,c),d.return=f,f=d),o(f)):n(f,d)}return L}var Xn=hd(!0),md=hd(!1),il={},ft=Zt(il),Gr=Zt(il),Yr=Zt(il);function sn(e){if(e===il)throw Error(_(174));return e}function Vu(e,t){switch(b(Yr,t),b(Gr,e),b(ft,il),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ro(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Ro(t,e)}te(ft),b(ft,t)}function qn(){te(ft),te(Gr),te(Yr)}function vd(e){sn(Yr.current);var t=sn(ft.current),n=Ro(t,e.type);t!==n&&(b(Gr,e),b(ft,n))}function Hu(e){Gr.current===e&&(te(ft),te(Gr))}var oe=Zt(0);function ti(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ro=[];function Wu(){for(var e=0;en?n:4,e(!0);var r=lo.transition;lo.transition={};try{e(!1),t()}finally{Y=n,lo.transition=r}}function Dd(){return Je().memoizedState}function zh(e,t,n){var r=Gt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},zd(e))jd(t,n);else if(n=cd(e,t,n,r),n!==null){var l=Te();it(n,e,r,l),Od(n,t,r)}}function jh(e,t,n){var r=Gt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(zd(e))jd(t,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,u=i(o,n);if(l.hasEagerState=!0,l.eagerState=u,ot(u,o)){var a=t.interleaved;a===null?(l.next=l,Bu(t)):(l.next=a.next,a.next=l),t.interleaved=l;return}}catch{}finally{}n=cd(e,t,l,r),n!==null&&(l=Te(),it(n,e,r,l),Od(n,t,r))}}function zd(e){var t=e.alternate;return e===ue||t!==null&&t===ue}function jd(e,t){Nr=ni=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Od(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Pu(e,n)}}var ri={readContext:qe,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},Oh={readContext:qe,useCallback:function(e,t){return st().memoizedState=[e,t===void 0?null:t],e},useContext:qe,useEffect:fs,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,jl(4194308,4,Rd.bind(null,t,e),n)},useLayoutEffect:function(e,t){return jl(4194308,4,e,t)},useInsertionEffect:function(e,t){return jl(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=zh.bind(null,ue,e),[r.memoizedState,e]},useRef:function(e){var t=st();return e={current:e},t.memoizedState=e},useState:ds,useDebugValue:Xu,useDeferredValue:function(e){return st().memoizedState=e},useTransition:function(){var e=ds(!1),t=e[0];return e=Dh.bind(null,e[1]),st().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ue,l=st();if(ne){if(n===void 0)throw Error(_(407));n=n()}else{if(n=t(),xe===null)throw Error(_(349));mn&30||wd(r,t,n)}l.memoizedState=n;var i={value:n,getSnapshot:t};return l.queue=i,fs(xd.bind(null,r,i,e),[e]),r.flags|=2048,Jr(9,Sd.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=st(),t=xe.identifierPrefix;if(ne){var n=xt,r=St;n=(r&~(1<<32-lt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Xr++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[ct]=t,e[Kr]=r,Wd(e,t,!1,!1),t.stateNode=e;e:{switch(o=Lo(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;lZn&&(t.flags|=128,r=!0,mr(i,!1),t.lanes=4194304)}else{if(!r)if(e=ti(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),mr(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!ne)return Pe(t),null}else 2*he()-i.renderingStartTime>Zn&&n!==1073741824&&(t.flags|=128,r=!0,mr(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(n=i.last,n!==null?n.sibling=o:t.child=o,i.last=o)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=he(),t.sibling=null,n=oe.current,b(oe,r?n&1|2:n&1),t):(Pe(t),null);case 22:case 23:return ta(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ue&1073741824&&(Pe(t),t.subtreeFlags&6&&(t.flags|=8192)):Pe(t),null;case 24:return null;case 25:return null}throw Error(_(156,t.tag))}function Hh(e,t){switch(Ou(t),t.tag){case 1:return Ae(t.type)&&Yl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return qn(),te(Oe),te(Me),Wu(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Hu(t),null;case 13:if(te(oe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(_(340));Yn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return te(oe),null;case 4:return qn(),null;case 10:return Uu(t.type._context),null;case 22:case 23:return ta(),null;case 24:return null;default:return null}}var _l=!1,Re=!1,Wh=typeof WeakSet=="function"?WeakSet:Set,D=null;function On(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ce(e,t,r)}else n.current=null}function nu(e,t,n){try{n()}catch(r){ce(e,t,r)}}var xs=!1;function Qh(e,t){if(Uo=Wl,e=qc(),zu(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,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var o=0,u=-1,a=-1,s=0,p=0,v=e,m=null;t:for(;;){for(var x;v!==n||l!==0&&v.nodeType!==3||(u=o+l),v!==i||r!==0&&v.nodeType!==3||(a=o+r),v.nodeType===3&&(o+=v.nodeValue.length),(x=v.firstChild)!==null;)m=v,v=x;for(;;){if(v===e)break t;if(m===n&&++s===l&&(u=o),m===i&&++p===r&&(a=o),(x=v.nextSibling)!==null)break;v=m,m=v.parentNode}v=x}n=u===-1||a===-1?null:{start:u,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(Bo={focusedElem:e,selectionRange:n},Wl=!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 y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var w=y.memoizedProps,L=y.memoizedState,f=t.stateNode,d=f.getSnapshotBeforeUpdate(t.elementType===t.type?w:et(t.type,w),L);f.__reactInternalSnapshotBeforeUpdate=d}break;case 3:var h=t.stateNode.containerInfo;h.nodeType===1?h.textContent="":h.nodeType===9&&h.documentElement&&h.removeChild(h.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(_(163))}}catch(c){ce(t,t.return,c)}if(e=t.sibling,e!==null){e.return=t.return,D=e;break}D=t.return}return y=xs,xs=!1,y}function Dr(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 i=l.destroy;l.destroy=void 0,i!==void 0&&nu(t,n,i)}l=l.next}while(l!==r)}}function Si(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 ru(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 Gd(e){var t=e.alternate;t!==null&&(e.alternate=null,Gd(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[ct],delete t[Kr],delete t[Ho],delete t[Rh],delete t[Mh])),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 Yd(e){return e.tag===5||e.tag===3||e.tag===4}function Es(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Yd(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 lu(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=Gl));else if(r!==4&&(e=e.child,e!==null))for(lu(e,t,n),e=e.sibling;e!==null;)lu(e,t,n),e=e.sibling}function iu(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(iu(e,t,n),e=e.sibling;e!==null;)iu(e,t,n),e=e.sibling}var Ee=null,tt=!1;function jt(e,t,n){for(n=n.child;n!==null;)Xd(e,t,n),n=n.sibling}function Xd(e,t,n){if(dt&&typeof dt.onCommitFiberUnmount=="function")try{dt.onCommitFiberUnmount(fi,n)}catch{}switch(n.tag){case 5:Re||On(n,t);case 6:var r=Ee,l=tt;Ee=null,jt(e,t,n),Ee=r,tt=l,Ee!==null&&(tt?(e=Ee,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ee.removeChild(n.stateNode));break;case 18:Ee!==null&&(tt?(e=Ee,n=n.stateNode,e.nodeType===8?to(e.parentNode,n):e.nodeType===1&&to(e,n),$r(e)):to(Ee,n.stateNode));break;case 4:r=Ee,l=tt,Ee=n.stateNode.containerInfo,tt=!0,jt(e,t,n),Ee=r,tt=l;break;case 0:case 11:case 14:case 15:if(!Re&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var i=l,o=i.destroy;i=i.tag,o!==void 0&&(i&2||i&4)&&nu(n,t,o),l=l.next}while(l!==r)}jt(e,t,n);break;case 1:if(!Re&&(On(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){ce(n,t,u)}jt(e,t,n);break;case 21:jt(e,t,n);break;case 22:n.mode&1?(Re=(r=Re)||n.memoizedState!==null,jt(e,t,n),Re=r):jt(e,t,n);break;default:jt(e,t,n)}}function ks(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Wh),t.forEach(function(r){var l=em.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function be(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=o),r&=~i}if(r=l,r=he()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Gh(r/1960))-r,10e?16:e,Bt===null)var r=!1;else{if(e=Bt,Bt=null,oi=0,K&6)throw Error(_(331));var l=K;for(K|=4,D=e.current;D!==null;){var i=D,o=i.child;if(D.flags&16){var u=i.deletions;if(u!==null){for(var a=0;ahe()-bu?dn(e,0):Zu|=n),Fe(e,t)}function rf(e,t){t===0&&(e.mode&1?(t=ml,ml<<=1,!(ml&130023424)&&(ml=4194304)):t=1);var n=Te();e=Pt(e,t),e!==null&&(nl(e,t,n),Fe(e,n))}function bh(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),rf(e,n)}function em(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(_(314))}r!==null&&r.delete(t),rf(e,n)}var lf;lf=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Oe.current)je=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return je=!1,$h(e,t,n);je=!!(e.flags&131072)}else je=!1,ne&&t.flags&1048576&&ud(t,Jl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ol(e,t),e=t.pendingProps;var l=Gn(t,Me.current);Hn(t,n),l=Ku(null,t,r,e,l,n);var i=Gu();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,Ae(r)?(i=!0,Xl(t)):i=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,$u(t),l.updater=yi,t.stateNode=l,l._reactInternals=t,Xo(t,r,e,n),t=Zo(null,t,r,!0,i,n)):(t.tag=0,ne&&i&&ju(t),Le(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ol(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=nm(r),e=et(r,e),l){case 0:t=Jo(null,t,r,e,n);break e;case 1:t=ys(null,t,r,e,n);break e;case 11:t=vs(null,t,r,e,n);break e;case 14:t=gs(null,t,r,et(r.type,e),n);break e}throw Error(_(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:et(r,l),Jo(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:et(r,l),ys(e,t,r,l,n);case 3:e:{if($d(t),e===null)throw Error(_(387));r=t.pendingProps,i=t.memoizedState,l=i.element,dd(e,t),ei(t,r,null,n);var o=t.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){l=Jn(Error(_(423)),t),t=ws(e,t,r,n,l);break e}else if(r!==l){l=Jn(Error(_(424)),t),t=ws(e,t,r,n,l);break e}else for(Be=Wt(t.stateNode.containerInfo.firstChild),$e=t,ne=!0,rt=null,n=md(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Yn(),r===l){t=Rt(e,t,n);break e}Le(e,t,r,n)}t=t.child}return t;case 5:return vd(t),e===null&&Ko(t),r=t.type,l=t.pendingProps,i=e!==null?e.memoizedProps:null,o=l.children,$o(r,l)?o=null:i!==null&&$o(r,i)&&(t.flags|=32),Bd(e,t),Le(e,t,o,n),t.child;case 6:return e===null&&Ko(t),null;case 13:return Vd(e,t,n);case 4:return Vu(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Xn(t,null,r,n):Le(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:et(r,l),vs(e,t,r,l,n);case 7:return Le(e,t,t.pendingProps,n),t.child;case 8:return Le(e,t,t.pendingProps.children,n),t.child;case 12:return Le(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,i=t.memoizedProps,o=l.value,b(Zl,r._currentValue),r._currentValue=o,i!==null)if(ot(i.value,o)){if(i.children===l.children&&!Oe.current){t=Rt(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var u=i.dependencies;if(u!==null){o=i.child;for(var a=u.firstContext;a!==null;){if(a.context===r){if(i.tag===1){a=Et(-1,n&-n),a.tag=2;var s=i.updateQueue;if(s!==null){s=s.shared;var p=s.pending;p===null?a.next=a:(a.next=p.next,p.next=a),s.pending=a}}i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),Go(i.return,n,t),u.lanes|=n;break}a=a.next}}else if(i.tag===10)o=i.type===t.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(_(341));o.lanes|=n,u=o.alternate,u!==null&&(u.lanes|=n),Go(o,n,t),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===t){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}Le(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,Hn(t,n),l=qe(l),r=r(l),t.flags|=1,Le(e,t,r,n),t.child;case 14:return r=t.type,l=et(r,t.pendingProps),l=et(r.type,l),gs(e,t,r,l,n);case 15:return Id(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:et(r,l),Ol(e,t),t.tag=1,Ae(r)?(e=!0,Xl(t)):e=!1,Hn(t,n),pd(t,r,l),Xo(t,r,l,n),Zo(null,t,r,!0,e,n);case 19:return Hd(e,t,n);case 22:return Ud(e,t,n)}throw Error(_(156,t.tag))};function of(e,t){return Nc(e,t)}function tm(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 Ye(e,t,n,r){return new tm(e,t,n,r)}function ra(e){return e=e.prototype,!(!e||!e.isReactComponent)}function nm(e){if(typeof e=="function")return ra(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Eu)return 11;if(e===ku)return 14}return 2}function Yt(e,t){var n=e.alternate;return n===null?(n=Ye(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 Il(e,t,n,r,l,i){var o=2;if(r=e,typeof e=="function")ra(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Pn:return fn(n.children,l,i,t);case xu:o=8,l|=8;break;case wo:return e=Ye(12,n,t,l|2),e.elementType=wo,e.lanes=i,e;case So:return e=Ye(13,n,t,l),e.elementType=So,e.lanes=i,e;case xo:return e=Ye(19,n,t,l),e.elementType=xo,e.lanes=i,e;case hc:return Ei(n,l,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case fc:o=10;break e;case pc:o=9;break e;case Eu:o=11;break e;case ku:o=14;break e;case Ot:o=16,r=null;break e}throw Error(_(130,e==null?e:typeof e,""))}return t=Ye(o,n,t,l),t.elementType=e,t.type=r,t.lanes=i,t}function fn(e,t,n,r){return e=Ye(7,e,r,t),e.lanes=n,e}function Ei(e,t,n,r){return e=Ye(22,e,r,t),e.elementType=hc,e.lanes=n,e.stateNode={isHidden:!1},e}function so(e,t,n){return e=Ye(6,e,null,t),e.lanes=n,e}function co(e,t,n){return t=Ye(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function rm(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=Wi(0),this.expirationTimes=Wi(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Wi(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function la(e,t,n,r,l,i,o,u,a){return e=new rm(e,t,n,u,a),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Ye(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},$u(i),e}function lm(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(cf)}catch(e){console.error(e)}}cf(),uc.exports=He;var sm=uc.exports,Ns=sm;go.createRoot=Ns.createRoot,go.hydrateRoot=Ns.hydrateRoot;/*! clipboard-copy. MIT License. Feross Aboukhadijeh */var cm=pm;function aa(){return new DOMException("The request is not allowed","NotAllowedError")}async function dm(e){if(!navigator.clipboard)throw aa();return navigator.clipboard.writeText(e)}async function fm(e){const t=document.createElement("span");t.textContent=e,t.style.whiteSpace="pre",t.style.webkitUserSelect="auto",t.style.userSelect="all",document.body.appendChild(t);const n=window.getSelection(),r=window.document.createRange();n.removeAllRanges(),r.selectNode(t),n.addRange(r);let l=!1;try{l=window.document.execCommand("copy")}finally{n.removeAllRanges(),window.document.body.removeChild(t)}if(!l)throw aa()}async function pm(e){try{await dm(e)}catch(t){try{await fm(e)}catch(n){throw n||t||aa()}}}const hm=Xs(cm);function mm({title:e,code:t,desc:n}){const r=R.useRef(null),l=async()=>{let i=r.current,o=i.querySelector("code").innerText;i.querySelectorAll("select").length===1?o+=` ${i.querySelectorAll("select")[0].value}`:i.querySelectorAll("select").length===2&&(o+=` ${i.querySelectorAll("select")[0].value}`,o+=` ${i.querySelectorAll("select")[1].value}`),i.querySelectorAll("input").length===1?o+=` ${i.querySelectorAll("input")[0].value}`:i.querySelectorAll("input").length===2&&(o+=` ${i.querySelectorAll("input")[0].value}`,o+=` ${i.querySelectorAll("input")[1].value}`),await hm(o),r.current.style.background="#21b96b",await setTimeout(()=>{r.current.style.background="#151515"},500),console.log(o)};return V.jsx("div",{className:"pg-container",children:V.jsxs("div",{className:"cheat-container",children:[V.jsx("h2",{className:"title",children:e}),V.jsx("div",{ref:r,className:"code",onClick:l,children:t}),V.jsx("p",{className:"desc",children:n})]})})}/** - * @remix-run/router v1.10.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 ie(){return ie=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function yn(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function gm(){return Math.random().toString(36).substr(2,8)}function zs(e,t){return{usr:e.state,key:e.key,idx:t}}function br(e,t,n,r){return n===void 0&&(n=null),ie({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Lt(t):t,{state:n,key:t&&t.key||r||gm()})}function wn(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 Lt(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 ym(e,t,n,r){r===void 0&&(r={});let{window:l=document.defaultView,v5Compat:i=!1}=r,o=l.history,u=fe.Pop,a=null,s=p();s==null&&(s=0,o.replaceState(ie({},o.state,{idx:s}),""));function p(){return(o.state||{idx:null}).idx}function v(){u=fe.Pop;let L=p(),f=L==null?null:L-s;s=L,a&&a({action:u,location:w.location,delta:f})}function m(L,f){u=fe.Push;let d=br(w.location,L,f);n&&n(d,L),s=p()+1;let h=zs(d,s),c=w.createHref(d);try{o.pushState(h,"",c)}catch(k){if(k instanceof DOMException&&k.name==="DataCloneError")throw k;l.location.assign(c)}i&&a&&a({action:u,location:w.location,delta:1})}function x(L,f){u=fe.Replace;let d=br(w.location,L,f);n&&n(d,L),s=p();let h=zs(d,s),c=w.createHref(d);o.replaceState(h,"",c),i&&a&&a({action:u,location:w.location,delta:0})}function y(L){let f=l.location.origin!=="null"?l.location.origin:l.location.href,d=typeof L=="string"?L:wn(L);return $(f,"No window.location.(origin|href) available to create URL for href: "+d),new URL(d,f)}let w={get action(){return u},get location(){return e(l,o)},listen(L){if(a)throw new Error("A history only accepts one active listener");return l.addEventListener(Ds,v),a=L,()=>{l.removeEventListener(Ds,v),a=null}},createHref(L){return t(l,L)},createURL:y,encodeLocation(L){let f=y(L);return{pathname:f.pathname,search:f.search,hash:f.hash}},push:m,replace:x,go(L){return o.go(L)}};return w}var pe;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(pe||(pe={}));const wm=new Set(["lazy","caseSensitive","path","id","index","children"]);function Sm(e){return e.index===!0}function cu(e,t,n,r){return n===void 0&&(n=[]),r===void 0&&(r={}),e.map((l,i)=>{let o=[...n,i],u=typeof l.id=="string"?l.id:o.join("-");if($(l.index!==!0||!l.children,"Cannot specify children on an index route"),$(!r[u],'Found a route id collision on id "'+u+`". Route id's must be globally unique within Data Router usages`),Sm(l)){let a=ie({},l,t(l),{id:u});return r[u]=a,a}else{let a=ie({},l,t(l),{id:u,children:void 0});return r[u]=a,l.children&&(a.children=cu(l.children,t,o,r)),a}})}function Fn(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?Lt(t):t,l=nr(r.pathname||"/",n);if(l==null)return null;let i=df(e);Em(i);let o=null;for(let u=0;o==null&&u{let a={relativePath:u===void 0?i.path||"":u,caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};a.relativePath.startsWith("/")&&($(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),a.relativePath=a.relativePath.slice(r.length));let s=kt([r,a.relativePath]),p=n.concat(a);i.children&&i.children.length>0&&($(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+s+'".')),df(i.children,t,p,s)),!(i.path==null&&!i.index)&&t.push({path:s,score:Lm(s,i.index),routesMeta:p})};return e.forEach((i,o)=>{var u;if(i.path===""||!((u=i.path)!=null&&u.includes("?")))l(i,o);else for(let a of ff(i.path))l(i,o,a)}),t}function ff(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,l=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return l?[i,""]:[i];let o=ff(r.join("/")),u=[];return u.push(...o.map(a=>a===""?i:[i,a].join("/"))),l&&u.push(...o),u.map(a=>e.startsWith("/")&&a===""?"/":a)}function Em(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Tm(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const km=/^:\w+$/,_m=3,Cm=2,Pm=1,Rm=10,Mm=-2,js=e=>e==="*";function Lm(e,t){let n=e.split("/"),r=n.length;return n.some(js)&&(r+=Mm),t&&(r+=Cm),n.filter(l=>!js(l)).reduce((l,i)=>l+(km.test(i)?_m:i===""?Pm:Rm),r)}function Tm(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 Nm(e,t){let{routesMeta:n}=e,r={},l="/",i=[];for(let o=0;o{if(p==="*"){let m=u[v]||"";o=i.slice(0,i.length-m.length).replace(/(.)\/+$/,"$1")}return s[p]=Om(u[v]||"",p),s},{}),pathname:i,pathnameBase:o,pattern:e}}function zm(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),yn(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,(o,u)=>(r.push(u),"/([^\\/]+)"));return e.endsWith("*")?(r.push("*"),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),r]}function jm(e){try{return decodeURI(e)}catch(t){return yn(!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 Om(e,t){try{return decodeURIComponent(e)}catch(n){return yn(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+n+").")),e}}function nr(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 Am(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:l=""}=typeof e=="string"?Lt(e):e;return{pathname:n?n.startsWith("/")?n:Fm(n,t):t,search:Um(r),hash:Bm(l)}}function Fm(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 fo(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 Ri(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function sa(e,t,n,r){r===void 0&&(r=!1);let l;typeof e=="string"?l=Lt(e):(l=ie({},e),$(!l.pathname||!l.pathname.includes("?"),fo("?","pathname","search",l)),$(!l.pathname||!l.pathname.includes("#"),fo("#","pathname","hash",l)),$(!l.search||!l.search.includes("#"),fo("#","search","hash",l)));let i=e===""||l.pathname==="",o=i?"/":l.pathname,u;if(r||o==null)u=n;else{let v=t.length-1;if(o.startsWith("..")){let m=o.split("/");for(;m[0]==="..";)m.shift(),v-=1;l.pathname=m.join("/")}u=v>=0?t[v]:"/"}let a=Am(l,u),s=o&&o!=="/"&&o.endsWith("/"),p=(i||o===".")&&n.endsWith("/");return!a.pathname.endsWith("/")&&(s||p)&&(a.pathname+="/"),a}const kt=e=>e.join("/").replace(/\/\/+/g,"/"),Im=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Um=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Bm=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class ca{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 pf(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const hf=["post","put","patch","delete"],$m=new Set(hf),Vm=["get",...hf],Hm=new Set(Vm),Wm=new Set([301,302,303,307,308]),Qm=new Set([307,308]),po={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Km={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},gr={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},mf=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Gm=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),vf="remix-router-transitions";function Ym(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;$(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=S=>({hasErrorBoundary:g(S)})}else l=Gm;let i={},o=cu(e.routes,l,void 0,i),u,a=e.basename||"/",s=ie({v7_normalizeFormMethod:!1,v7_prependBasename:!1},e.future),p=null,v=new Set,m=null,x=null,y=null,w=e.hydrationData!=null,L=Fn(o,e.history.location,a),f=null;if(L==null){let g=Qe(404,{pathname:e.history.location.pathname}),{matches:S,route:E}=Vs(o);L=S,f={[E.id]:g}}let d=!L.some(g=>g.route.lazy)&&(!L.some(g=>g.route.loader)||e.hydrationData!=null),h,c={historyAction:e.history.action,location:e.history.location,matches:L,initialized:d,navigation:po,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||f,fetchers:new Map,blockers:new Map},k=fe.Pop,C=!1,P,M=!1,Q=new Map,A=null,we=!1,Ie=!1,ut=[],en=[],se=new Map,Tt=0,pt=-1,T=new Map,j=new Set,F=new Map,G=new Map,Z=new Map,Nt=!1;function ht(){if(p=e.history.listen(g=>{let{action:S,location:E,delta:N}=g;if(Nt){Nt=!1;return}yn(Z.size===0||N!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let U=wa({currentLocation:c.location,nextLocation:E,historyAction:S});if(U&&N!=null){Nt=!0,e.history.go(N*-1),al(U,{state:"blocked",location:E,proceed(){al(U,{state:"proceeding",proceed:void 0,reset:void 0,location:E}),e.history.go(N)},reset(){let I=new Map(c.blockers);I.set(U,gr),re({blockers:I})}});return}return tn(S,E)}),n){iv(t,Q);let g=()=>ov(t,Q);t.addEventListener("pagehide",g),A=()=>t.removeEventListener("pagehide",g)}return c.initialized||tn(fe.Pop,c.location),h}function lr(){p&&p(),A&&A(),v.clear(),P&&P.abort(),c.fetchers.forEach((g,S)=>Di(S)),c.blockers.forEach((g,S)=>ya(S))}function mt(g){return v.add(g),()=>v.delete(g)}function re(g,S){c=ie({},c,g),v.forEach(E=>E(c,{unstable_viewTransitionOpts:S}))}function ir(g,S){var E,N;let U=c.actionData!=null&&c.navigation.formMethod!=null&&nt(c.navigation.formMethod)&&c.navigation.state==="loading"&&((E=g.state)==null?void 0:E._isRedirect)!==!0,I;S.actionData?Object.keys(S.actionData).length>0?I=S.actionData:I=null:U?I=c.actionData:I=null;let B=S.loaderData?$s(c.loaderData,S.loaderData,S.matches||[],S.errors):c.loaderData,O=c.blockers;O.size>0&&(O=new Map(O),O.forEach((le,W)=>O.set(W,gr)));let z=C===!0||c.navigation.formMethod!=null&&nt(c.navigation.formMethod)&&((N=g.state)==null?void 0:N._isRedirect)!==!0;u&&(o=u,u=void 0),we||k===fe.Pop||(k===fe.Push?e.history.push(g,g.state):k===fe.Replace&&e.history.replace(g,g.state));let q;if(k===fe.Pop){let le=Q.get(c.location.pathname);le&&le.has(g.pathname)?q={currentLocation:c.location,nextLocation:g}:Q.has(g.pathname)&&(q={currentLocation:g,nextLocation:c.location})}else if(M){let le=Q.get(c.location.pathname);le?le.add(g.pathname):(le=new Set([g.pathname]),Q.set(c.location.pathname,le)),q={currentLocation:c.location,nextLocation:g}}re(ie({},S,{actionData:I,loaderData:B,historyAction:k,location:g,initialized:!0,navigation:po,revalidation:"idle",restoreScrollPosition:xa(g,S.matches||c.matches),preventScrollReset:z,blockers:O}),q),k=fe.Pop,C=!1,M=!1,we=!1,Ie=!1,ut=[],en=[]}async function fa(g,S){if(typeof g=="number"){e.history.go(g);return}let E=du(c.location,c.matches,a,s.v7_prependBasename,g,S==null?void 0:S.fromRouteId,S==null?void 0:S.relative),{path:N,submission:U,error:I}=Os(s.v7_normalizeFormMethod,!1,E,S),B=c.location,O=br(c.location,N,S&&S.state);O=ie({},O,e.history.encodeLocation(O));let z=S&&S.replace!=null?S.replace:void 0,q=fe.Push;z===!0?q=fe.Replace:z===!1||U!=null&&nt(U.formMethod)&&U.formAction===c.location.pathname+c.location.search&&(q=fe.Replace);let le=S&&"preventScrollReset"in S?S.preventScrollReset===!0:void 0,W=wa({currentLocation:B,nextLocation:O,historyAction:q});if(W){al(W,{state:"blocked",location:O,proceed(){al(W,{state:"proceeding",proceed:void 0,reset:void 0,location:O}),fa(g,S)},reset(){let J=new Map(c.blockers);J.set(W,gr),re({blockers:J})}});return}return await tn(q,O,{submission:U,pendingError:I,preventScrollReset:le,replace:S&&S.replace,enableViewTransition:S&&S.unstable_viewTransition})}function Pf(){if(Ni(),re({revalidation:"loading"}),c.navigation.state!=="submitting"){if(c.navigation.state==="idle"){tn(c.historyAction,c.location,{startUninterruptedRevalidation:!0});return}tn(k||c.historyAction,c.navigation.location,{overrideNavigation:c.navigation})}}async function tn(g,S,E){P&&P.abort(),P=null,k=g,we=(E&&E.startUninterruptedRevalidation)===!0,jf(c.location,c.matches),C=(E&&E.preventScrollReset)===!0,M=(E&&E.enableViewTransition)===!0;let N=u||o,U=E&&E.overrideNavigation,I=Fn(N,S,a);if(!I){let J=Qe(404,{pathname:S.pathname}),{matches:de,route:nn}=Vs(N);zi(),ir(S,{matches:de,loaderData:{},errors:{[nn.id]:J}});return}if(c.initialized&&!Ie&&bm(c.location,S)&&!(E&&E.submission&&nt(E.submission.formMethod))){ir(S,{matches:I});return}P=new AbortController;let B=wr(e.history,S,P.signal,E&&E.submission),O,z;if(E&&E.pendingError)z={[In(I).route.id]:E.pendingError};else if(E&&E.submission&&nt(E.submission.formMethod)){let J=await Rf(B,S,E.submission,I,{replace:E.replace});if(J.shortCircuited)return;O=J.pendingActionData,z=J.pendingActionError,U=ho(S,E.submission),B=new Request(B.url,{signal:B.signal})}let{shortCircuited:q,loaderData:le,errors:W}=await Mf(B,S,I,U,E&&E.submission,E&&E.fetcherSubmission,E&&E.replace,O,z);q||(P=null,ir(S,ie({matches:I},O?{actionData:O}:{},{loaderData:le,errors:W})))}async function Rf(g,S,E,N,U){U===void 0&&(U={}),Ni();let I=rv(S,E);re({navigation:I});let B,O=pu(N,S);if(!O.route.action&&!O.route.lazy)B={type:pe.error,error:Qe(405,{method:g.method,pathname:S.pathname,routeId:O.route.id})};else if(B=await yr("action",g,O,N,i,l,a),g.signal.aborted)return{shortCircuited:!0};if(Qn(B)){let z;return U&&U.replace!=null?z=U.replace:z=B.location===c.location.pathname+c.location.search,await or(c,B,{submission:E,replace:z}),{shortCircuited:!0}}if(Or(B)){let z=In(N,O.route.id);return(U&&U.replace)!==!0&&(k=fe.Push),{pendingActionData:{},pendingActionError:{[z.route.id]:B.error}}}if(cn(B))throw Qe(400,{type:"defer-action"});return{pendingActionData:{[O.route.id]:B.data}}}async function Mf(g,S,E,N,U,I,B,O,z){let q=N||ho(S,U),le=U||I||Qs(q),W=u||o,[J,de]=As(e.history,c,E,le,S,Ie,ut,en,F,j,W,a,O,z);if(zi(X=>!(E&&E.some(Ze=>Ze.route.id===X))||J&&J.some(Ze=>Ze.route.id===X)),pt=++Tt,J.length===0&&de.length===0){let X=va();return ir(S,ie({matches:E,loaderData:{},errors:z||null},O?{actionData:O}:{},X?{fetchers:new Map(c.fetchers)}:{})),{shortCircuited:!0}}if(!we){de.forEach(Ze=>{let zt=c.fetchers.get(Ze.key),Ii=Sr(void 0,zt?zt.data:void 0);c.fetchers.set(Ze.key,Ii)});let X=O||c.actionData;re(ie({navigation:q},X?Object.keys(X).length===0?{actionData:null}:{actionData:X}:{},de.length>0?{fetchers:new Map(c.fetchers)}:{}))}de.forEach(X=>{se.has(X.key)&&Dt(X.key),X.controller&&se.set(X.key,X.controller)});let nn=()=>de.forEach(X=>Dt(X.key));P&&P.signal.addEventListener("abort",nn);let{results:rn,loaderResults:ur,fetcherResults:ji}=await ha(c.matches,E,J,de,g);if(g.signal.aborted)return{shortCircuited:!0};P&&P.signal.removeEventListener("abort",nn),de.forEach(X=>se.delete(X.key));let vt=Hs(rn);if(vt){if(vt.idx>=J.length){let X=de[vt.idx-J.length].key;j.add(X)}return await or(c,vt.result,{replace:B}),{shortCircuited:!0}}let{loaderData:gt,errors:sl}=Bs(c,E,J,ur,z,de,ji,G);G.forEach((X,Ze)=>{X.subscribe(zt=>{(zt||X.done)&&G.delete(Ze)})});let Oi=va(),Ai=ga(pt),Fi=Oi||Ai||de.length>0;return ie({loaderData:gt,errors:sl},Fi?{fetchers:new Map(c.fetchers)}:{})}function pa(g){return c.fetchers.get(g)||Km}function Lf(g,S,E,N){if(r)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");se.has(g)&&Dt(g);let U=u||o,I=du(c.location,c.matches,a,s.v7_prependBasename,E,S,N==null?void 0:N.relative),B=Fn(U,I,a);if(!B){ul(g,S,Qe(404,{pathname:I}));return}let{path:O,submission:z,error:q}=Os(s.v7_normalizeFormMethod,!0,I,N);if(q){ul(g,S,q);return}let le=pu(B,O);if(C=(N&&N.preventScrollReset)===!0,z&&nt(z.formMethod)){Tf(g,S,O,le,B,z);return}F.set(g,{routeId:S,path:O}),Nf(g,S,O,le,B,z)}async function Tf(g,S,E,N,U,I){if(Ni(),F.delete(g),!N.route.action&&!N.route.lazy){let ve=Qe(405,{method:I.formMethod,pathname:E,routeId:S});ul(g,S,ve);return}let B=c.fetchers.get(g),O=lv(I,B);c.fetchers.set(g,O),re({fetchers:new Map(c.fetchers)});let z=new AbortController,q=wr(e.history,E,z.signal,I);se.set(g,z);let le=Tt,W=await yr("action",q,N,U,i,l,a);if(q.signal.aborted){se.get(g)===z&&se.delete(g);return}if(Qn(W))if(se.delete(g),pt>le){let ve=_n(void 0);c.fetchers.set(g,ve),re({fetchers:new Map(c.fetchers)});return}else{j.add(g);let ve=Sr(I);return c.fetchers.set(g,ve),re({fetchers:new Map(c.fetchers)}),or(c,W,{fetcherSubmission:I})}if(Or(W)){ul(g,S,W.error);return}if(cn(W))throw Qe(400,{type:"defer-action"});let J=c.navigation.location||c.location,de=wr(e.history,J,z.signal),nn=u||o,rn=c.navigation.state!=="idle"?Fn(nn,c.navigation.location,a):c.matches;$(rn,"Didn't find any matches after fetcher action");let ur=++Tt;T.set(g,ur);let ji=Sr(I,W.data);c.fetchers.set(g,ji);let[vt,gt]=As(e.history,c,rn,I,J,Ie,ut,en,F,j,nn,a,{[N.route.id]:W.data},void 0);gt.filter(ve=>ve.key!==g).forEach(ve=>{let ar=ve.key,Ea=c.fetchers.get(ar),Af=Sr(void 0,Ea?Ea.data:void 0);c.fetchers.set(ar,Af),se.has(ar)&&Dt(ar),ve.controller&&se.set(ar,ve.controller)}),re({fetchers:new Map(c.fetchers)});let sl=()=>gt.forEach(ve=>Dt(ve.key));z.signal.addEventListener("abort",sl);let{results:Oi,loaderResults:Ai,fetcherResults:Fi}=await ha(c.matches,rn,vt,gt,de);if(z.signal.aborted)return;z.signal.removeEventListener("abort",sl),T.delete(g),se.delete(g),gt.forEach(ve=>se.delete(ve.key));let X=Hs(Oi);if(X){if(X.idx>=vt.length){let ve=gt[X.idx-vt.length].key;j.add(ve)}return or(c,X.result)}let{loaderData:Ze,errors:zt}=Bs(c,c.matches,vt,Ai,void 0,gt,Fi,G);if(c.fetchers.has(g)){let ve=_n(W.data);c.fetchers.set(g,ve)}let Ii=ga(ur);c.navigation.state==="loading"&&ur>pt?($(k,"Expected pending action"),P&&P.abort(),ir(c.navigation.location,{matches:rn,loaderData:Ze,errors:zt,fetchers:new Map(c.fetchers)})):(re(ie({errors:zt,loaderData:$s(c.loaderData,Ze,rn,zt)},Ii||gt.length>0?{fetchers:new Map(c.fetchers)}:{})),Ie=!1)}async function Nf(g,S,E,N,U,I){let B=c.fetchers.get(g),O=Sr(I,B?B.data:void 0);c.fetchers.set(g,O),re({fetchers:new Map(c.fetchers)});let z=new AbortController,q=wr(e.history,E,z.signal);se.set(g,z);let le=Tt,W=await yr("loader",q,N,U,i,l,a);if(cn(W)&&(W=await wf(W,q.signal,!0)||W),se.get(g)===z&&se.delete(g),q.signal.aborted)return;if(Qn(W))if(pt>le){let de=_n(void 0);c.fetchers.set(g,de),re({fetchers:new Map(c.fetchers)});return}else{j.add(g),await or(c,W);return}if(Or(W)){let de=In(c.matches,S);c.fetchers.delete(g),re({fetchers:new Map(c.fetchers),errors:{[de.route.id]:W.error}});return}$(!cn(W),"Unhandled fetcher deferred data");let J=_n(W.data);c.fetchers.set(g,J),re({fetchers:new Map(c.fetchers)})}async function or(g,S,E){let{submission:N,fetcherSubmission:U,replace:I}=E===void 0?{}:E;S.revalidate&&(Ie=!0);let B=br(g.location,S.location,{_isRedirect:!0});if($(B,"Expected a location on the redirect navigation"),n){let J=!1;if(S.reloadDocument)J=!0;else if(mf.test(S.location)){const de=e.history.createURL(S.location);J=de.origin!==t.location.origin||nr(de.pathname,a)==null}if(J){I?t.location.replace(S.location):t.location.assign(S.location);return}}P=null;let O=I===!0?fe.Replace:fe.Push,{formMethod:z,formAction:q,formEncType:le}=g.navigation;!N&&!U&&z&&q&&le&&(N=Qs(g.navigation));let W=N||U;if(Qm.has(S.status)&&W&&nt(W.formMethod))await tn(O,B,{submission:ie({},W,{formAction:S.location}),preventScrollReset:C});else{let J=ho(B,N);await tn(O,B,{overrideNavigation:J,fetcherSubmission:U,preventScrollReset:C})}}async function ha(g,S,E,N,U){let I=await Promise.all([...E.map(z=>yr("loader",U,z,S,i,l,a)),...N.map(z=>z.matches&&z.match&&z.controller?yr("loader",wr(e.history,z.path,z.controller.signal),z.match,z.matches,i,l,a):{type:pe.error,error:Qe(404,{pathname:z.path})})]),B=I.slice(0,E.length),O=I.slice(E.length);return await Promise.all([Ws(g,E,B,B.map(()=>U.signal),!1,c.loaderData),Ws(g,N.map(z=>z.match),O,N.map(z=>z.controller?z.controller.signal:null),!0)]),{results:I,loaderResults:B,fetcherResults:O}}function Ni(){Ie=!0,ut.push(...zi()),F.forEach((g,S)=>{se.has(S)&&(en.push(S),Dt(S))})}function ul(g,S,E){let N=In(c.matches,S);Di(g),re({errors:{[N.route.id]:E},fetchers:new Map(c.fetchers)})}function Di(g){let S=c.fetchers.get(g);se.has(g)&&!(S&&S.state==="loading"&&T.has(g))&&Dt(g),F.delete(g),T.delete(g),j.delete(g),c.fetchers.delete(g)}function Dt(g){let S=se.get(g);$(S,"Expected fetch controller: "+g),S.abort(),se.delete(g)}function ma(g){for(let S of g){let E=pa(S),N=_n(E.data);c.fetchers.set(S,N)}}function va(){let g=[],S=!1;for(let E of j){let N=c.fetchers.get(E);$(N,"Expected fetcher: "+E),N.state==="loading"&&(j.delete(E),g.push(E),S=!0)}return ma(g),S}function ga(g){let S=[];for(let[E,N]of T)if(N0}function Df(g,S){let E=c.blockers.get(g)||gr;return Z.get(g)!==S&&Z.set(g,S),E}function ya(g){c.blockers.delete(g),Z.delete(g)}function al(g,S){let E=c.blockers.get(g)||gr;$(E.state==="unblocked"&&S.state==="blocked"||E.state==="blocked"&&S.state==="blocked"||E.state==="blocked"&&S.state==="proceeding"||E.state==="blocked"&&S.state==="unblocked"||E.state==="proceeding"&&S.state==="unblocked","Invalid blocker state transition: "+E.state+" -> "+S.state);let N=new Map(c.blockers);N.set(g,S),re({blockers:N})}function wa(g){let{currentLocation:S,nextLocation:E,historyAction:N}=g;if(Z.size===0)return;Z.size>1&&yn(!1,"A router only supports one blocker at a time");let U=Array.from(Z.entries()),[I,B]=U[U.length-1],O=c.blockers.get(I);if(!(O&&O.state==="proceeding")&&B({currentLocation:S,nextLocation:E,historyAction:N}))return I}function zi(g){let S=[];return G.forEach((E,N)=>{(!g||g(N))&&(E.cancel(),S.push(N),G.delete(N))}),S}function zf(g,S,E){if(m=g,y=S,x=E||null,!w&&c.navigation===po){w=!0;let N=xa(c.location,c.matches);N!=null&&re({restoreScrollPosition:N})}return()=>{m=null,y=null,x=null}}function Sa(g,S){return x&&x(g,S.map(N=>xm(N,c.loaderData)))||g.key}function jf(g,S){if(m&&y){let E=Sa(g,S);m[E]=y()}}function xa(g,S){if(m){let E=Sa(g,S),N=m[E];if(typeof N=="number")return N}return null}function Of(g){i={},u=cu(g,l,void 0,i)}return h={get basename(){return a},get state(){return c},get routes(){return o},get window(){return t},initialize:ht,subscribe:mt,enableScrollRestoration:zf,navigate:fa,fetch:Lf,revalidate:Pf,createHref:g=>e.history.createHref(g),encodeLocation:g=>e.history.encodeLocation(g),getFetcher:pa,deleteFetcher:Di,dispose:lr,getBlocker:Df,deleteBlocker:ya,_internalFetchControllers:se,_internalActiveDeferreds:G,_internalSetRoutes:Of},h}function Xm(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function du(e,t,n,r,l,i,o){let u,a;if(i!=null&&o!=="path"){u=[];for(let p of t)if(u.push(p),p.route.id===i){a=p;break}}else u=t,a=t[t.length-1];let s=sa(l||".",Ri(u).map(p=>p.pathnameBase),nr(e.pathname,n)||e.pathname,o==="path");return l==null&&(s.search=e.search,s.hash=e.hash),(l==null||l===""||l===".")&&a&&a.route.index&&!da(s.search)&&(s.search=s.search?s.search.replace(/^\?/,"?index&"):"?index"),r&&n!=="/"&&(s.pathname=s.pathname==="/"?n:kt([n,s.pathname])),wn(s)}function Os(e,t,n,r){if(!r||!Xm(r))return{path:n};if(r.formMethod&&!nv(r.formMethod))return{path:n,error:Qe(405,{method:r.formMethod})};let l=()=>({path:n,error:Qe(400,{type:"invalid-body"})}),i=r.formMethod||"get",o=e?i.toUpperCase():i.toLowerCase(),u=yf(n);if(r.body!==void 0){if(r.formEncType==="text/plain"){if(!nt(o))return l();let m=typeof r.body=="string"?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((x,y)=>{let[w,L]=y;return""+x+w+"="+L+` -`},""):String(r.body);return{path:n,submission:{formMethod:o,formAction:u,formEncType:r.formEncType,formData:void 0,json:void 0,text:m}}}else if(r.formEncType==="application/json"){if(!nt(o))return l();try{let m=typeof r.body=="string"?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:o,formAction:u,formEncType:r.formEncType,formData:void 0,json:m,text:void 0}}}catch{return l()}}}$(typeof FormData=="function","FormData is not available in this environment");let a,s;if(r.formData)a=fu(r.formData),s=r.formData;else if(r.body instanceof FormData)a=fu(r.body),s=r.body;else if(r.body instanceof URLSearchParams)a=r.body,s=Us(a);else if(r.body==null)a=new URLSearchParams,s=new FormData;else try{a=new URLSearchParams(r.body),s=Us(a)}catch{return l()}let p={formMethod:o,formAction:u,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:s,json:void 0,text:void 0};if(nt(p.formMethod))return{path:n,submission:p};let v=Lt(n);return t&&v.search&&da(v.search)&&a.append("index",""),v.search="?"+a,{path:wn(v),submission:p}}function qm(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 As(e,t,n,r,l,i,o,u,a,s,p,v,m,x){let y=x?Object.values(x)[0]:m?Object.values(m)[0]:void 0,w=e.createURL(t.location),L=e.createURL(l),f=x?Object.keys(x)[0]:void 0,h=qm(n,f).filter((k,C)=>{if(k.route.lazy)return!0;if(k.route.loader==null)return!1;if(Jm(t.loaderData,t.matches[C],k)||o.some(Q=>Q===k.route.id))return!0;let P=t.matches[C],M=k;return Fs(k,ie({currentUrl:w,currentParams:P.params,nextUrl:L,nextParams:M.params},r,{actionResult:y,defaultShouldRevalidate:i||w.pathname+w.search===L.pathname+L.search||w.search!==L.search||gf(P,M)}))}),c=[];return a.forEach((k,C)=>{if(!n.some(we=>we.route.id===k.routeId))return;let P=Fn(p,k.path,v);if(!P){c.push({key:C,routeId:k.routeId,path:k.path,matches:null,match:null,controller:null});return}let M=t.fetchers.get(C),Q=pu(P,k.path),A=!1;s.has(C)?A=!1:u.includes(C)?A=!0:M&&M.state!=="idle"&&M.data===void 0?A=i:A=Fs(Q,ie({currentUrl:w,currentParams:t.matches[t.matches.length-1].params,nextUrl:L,nextParams:n[n.length-1].params},r,{actionResult:y,defaultShouldRevalidate:i})),A&&c.push({key:C,routeId:k.routeId,path:k.path,matches:P,match:Q,controller:new AbortController})}),[h,c]}function Jm(e,t,n){let r=!t||n.route.id!==t.route.id,l=e[n.route.id]===void 0;return r||l}function gf(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function Fs(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n=="boolean")return n}return t.defaultShouldRevalidate}async function Is(e,t,n){if(!e.lazy)return;let r=await e.lazy();if(!e.lazy)return;let l=n[e.id];$(l,"No route found in manifest");let i={};for(let o in r){let a=l[o]!==void 0&&o!=="hasErrorBoundary";yn(!a,'Route "'+l.id+'" has a static property "'+o+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+o+'" will be ignored.')),!a&&!wm.has(o)&&(i[o]=r[o])}Object.assign(l,i),Object.assign(l,ie({},t(l),{lazy:void 0}))}async function yr(e,t,n,r,l,i,o,u){u===void 0&&(u={});let a,s,p,v=y=>{let w,L=new Promise((f,d)=>w=d);return p=()=>w(),t.signal.addEventListener("abort",p),Promise.race([y({request:t,params:n.params,context:u.requestContext}),L])};try{let y=n.route[e];if(n.route.lazy)if(y){let w,L=await Promise.all([v(y).catch(f=>{w=f}),Is(n.route,i,l)]);if(w)throw w;s=L[0]}else if(await Is(n.route,i,l),y=n.route[e],y)s=await v(y);else if(e==="action"){let w=new URL(t.url),L=w.pathname+w.search;throw Qe(405,{method:t.method,pathname:L,routeId:n.route.id})}else return{type:pe.data,data:void 0};else if(y)s=await v(y);else{let w=new URL(t.url),L=w.pathname+w.search;throw Qe(404,{pathname:L})}$(s!==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(y){a=pe.error,s=y}finally{p&&t.signal.removeEventListener("abort",p)}if(tv(s)){let y=s.status;if(Wm.has(y)){let f=s.headers.get("Location");if($(f,"Redirects returned/thrown from loaders/actions must have a Location header"),!mf.test(f))f=du(new URL(t.url),r.slice(0,r.indexOf(n)+1),o,!0,f);else if(!u.isStaticRequest){let d=new URL(t.url),h=f.startsWith("//")?new URL(d.protocol+f):new URL(f),c=nr(h.pathname,o)!=null;h.origin===d.origin&&c&&(f=h.pathname+h.search+h.hash)}if(u.isStaticRequest)throw s.headers.set("Location",f),s;return{type:pe.redirect,status:y,location:f,revalidate:s.headers.get("X-Remix-Revalidate")!==null,reloadDocument:s.headers.get("X-Remix-Reload-Document")!==null}}if(u.isRouteRequest)throw{type:a===pe.error?pe.error:pe.data,response:s};let w,L=s.headers.get("Content-Type");return L&&/\bapplication\/json\b/.test(L)?w=await s.json():w=await s.text(),a===pe.error?{type:a,error:new ca(y,s.statusText,w),headers:s.headers}:{type:pe.data,data:w,statusCode:s.status,headers:s.headers}}if(a===pe.error)return{type:a,error:s};if(ev(s)){var m,x;return{type:pe.deferred,deferredData:s,statusCode:(m=s.init)==null?void 0:m.status,headers:((x=s.init)==null?void 0:x.headers)&&new Headers(s.init.headers)}}return{type:pe.data,data:s}}function wr(e,t,n,r){let l=e.createURL(yf(t)).toString(),i={signal:n};if(r&&nt(r.formMethod)){let{formMethod:o,formEncType:u}=r;i.method=o.toUpperCase(),u==="application/json"?(i.headers=new Headers({"Content-Type":u}),i.body=JSON.stringify(r.json)):u==="text/plain"?i.body=r.text:u==="application/x-www-form-urlencoded"&&r.formData?i.body=fu(r.formData):i.body=r.formData}return new Request(l,i)}function fu(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,typeof r=="string"?r:r.name);return t}function Us(e){let t=new FormData;for(let[n,r]of e.entries())t.append(n,r);return t}function Zm(e,t,n,r,l){let i={},o=null,u,a=!1,s={};return n.forEach((p,v)=>{let m=t[v].route.id;if($(!Qn(p),"Cannot handle redirect results in processLoaderData"),Or(p)){let x=In(e,m),y=p.error;r&&(y=Object.values(r)[0],r=void 0),o=o||{},o[x.route.id]==null&&(o[x.route.id]=y),i[m]=void 0,a||(a=!0,u=pf(p.error)?p.error.status:500),p.headers&&(s[m]=p.headers)}else cn(p)?(l.set(m,p.deferredData),i[m]=p.deferredData.data):i[m]=p.data,p.statusCode!=null&&p.statusCode!==200&&!a&&(u=p.statusCode),p.headers&&(s[m]=p.headers)}),r&&(o=r,i[Object.keys(r)[0]]=void 0),{loaderData:i,errors:o,statusCode:u||200,loaderHeaders:s}}function Bs(e,t,n,r,l,i,o,u){let{loaderData:a,errors:s}=Zm(t,n,r,l,u);for(let p=0;pr.route.id===t)+1):[...e]).reverse().find(r=>r.route.hasErrorBoundary===!0)||e[0]}function Vs(e){let t=e.length===1?e[0]:e.find(n=>n.index||!n.path||n.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function Qe(e,t){let{pathname:n,routeId:r,method:l,type:i}=t===void 0?{}:t,o="Unknown Server Error",u="Unknown @remix-run/router error";return e===400?(o="Bad Request",l&&n&&r?u="You made a "+l+' request to "'+n+'" but '+('did not provide a `loader` for route "'+r+'", ')+"so there is no way to handle the request.":i==="defer-action"?u="defer() is not supported in actions":i==="invalid-body"&&(u="Unable to encode submission body")):e===403?(o="Forbidden",u='Route "'+r+'" does not match URL "'+n+'"'):e===404?(o="Not Found",u='No route matches URL "'+n+'"'):e===405&&(o="Method Not Allowed",l&&n&&r?u="You made a "+l.toUpperCase()+' request to "'+n+'" but '+('did not provide an `action` for route "'+r+'", ')+"so there is no way to handle the request.":l&&(u='Invalid request method "'+l.toUpperCase()+'"')),new ca(e||500,o,new Error(u),!0)}function Hs(e){for(let t=e.length-1;t>=0;t--){let n=e[t];if(Qn(n))return{result:n,idx:t}}}function yf(e){let t=typeof e=="string"?Lt(e):e;return wn(ie({},t,{hash:""}))}function bm(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function cn(e){return e.type===pe.deferred}function Or(e){return e.type===pe.error}function Qn(e){return(e&&e.type)===pe.redirect}function ev(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 tv(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function nv(e){return Hm.has(e.toLowerCase())}function nt(e){return $m.has(e.toLowerCase())}async function Ws(e,t,n,r,l,i){for(let o=0;ov.route.id===a.route.id),p=s!=null&&!gf(s,a)&&(i&&i[a.route.id])!==void 0;if(cn(u)&&(l||p)){let v=r[o];$(v,"Expected an AbortSignal for revalidating fetcher deferred result"),await wf(u,v,l).then(m=>{m&&(n[o]=m||n[o])})}}}async function wf(e,t,n){if(n===void 0&&(n=!1),!await e.deferredData.resolveData(t)){if(n)try{return{type:pe.data,data:e.deferredData.unwrappedData}}catch(l){return{type:pe.error,error:l}}return{type:pe.data,data:e.deferredData.data}}}function da(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function pu(e,t){let n=typeof t=="string"?Lt(t).search:t.search;if(e[e.length-1].route.index&&da(n||""))return e[e.length-1];let r=Ri(e);return r[r.length-1]}function Qs(e){let{formMethod:t,formAction:n,formEncType:r,text:l,formData:i,json:o}=e;if(!(!t||!n||!r)){if(l!=null)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:l};if(i!=null)return{formMethod:t,formAction:n,formEncType:r,formData:i,json:void 0,text:void 0};if(o!==void 0)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:o,text:void 0}}}function ho(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 rv(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 Sr(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 lv(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 _n(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 iv(e,t){try{let n=e.sessionStorage.getItem(vf);if(n){let r=JSON.parse(n);for(let[l,i]of Object.entries(r||{}))i&&Array.isArray(i)&&t.set(l,new Set(i||[]))}}catch{}}function ov(e,t){if(t.size>0){let n={};for(let[r,l]of t)n[r]=[...l];try{e.sessionStorage.setItem(vf,JSON.stringify(n))}catch(r){yn(!1,"Failed to save applied view transitions in sessionStorage ("+r+").")}}}/** - * React Router v6.17.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 si(){return si=Object.assign?Object.assign.bind():function(e){for(var t=1;ta.pathnameBase)),o=R.useRef(!1);return Ef(()=>{o.current=!0}),R.useCallback(function(a,s){if(s===void 0&&(s={}),!o.current)return;if(typeof a=="number"){n.go(a);return}let p=sa(a,JSON.parse(i),l,s.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:kt([t,p.pathname])),(s.replace?n.replace:n.push)(p,s.state,s)},[t,n,i,l,e])}function kf(e,t){let{relative:n}=t===void 0?{}:t,{matches:r}=R.useContext(En),{pathname:l}=Ti(),i=JSON.stringify(Ri(r).map(o=>o.pathnameBase));return R.useMemo(()=>sa(e,JSON.parse(i),l,n==="path"),[e,i,l,n])}function cv(e,t,n){ol()||$(!1);let{navigator:r}=R.useContext(rr),{matches:l}=R.useContext(En),i=l[l.length-1],o=i?i.params:{};i&&i.pathname;let u=i?i.pathnameBase:"/";i&&i.route;let a=Ti(),s;if(t){var p;let w=typeof t=="string"?Lt(t):t;u==="/"||(p=w.pathname)!=null&&p.startsWith(u)||$(!1),s=w}else s=a;let v=s.pathname||"/",m=u==="/"?v:v.slice(u.length)||"/",x=Fn(e,{pathname:m}),y=mv(x&&x.map(w=>Object.assign({},w,{params:Object.assign({},o,w.params),pathname:kt([u,r.encodeLocation?r.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?u:kt([u,r.encodeLocation?r.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),l,n);return t&&y?R.createElement(Li.Provider,{value:{location:si({pathname:"/",search:"",hash:"",state:null,key:"default"},s),navigationType:fe.Pop}},y):y}function dv(){let e=wv(),t=pf(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)"},i=null;return R.createElement(R.Fragment,null,R.createElement("h2",null,"Unexpected Application Error!"),R.createElement("h3",{style:{fontStyle:"italic"}},t),n?R.createElement("pre",{style:l},n):null,i)}const fv=R.createElement(dv,null);class pv extends R.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error||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?R.createElement(En.Provider,{value:this.props.routeContext},R.createElement(xf.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function hv(e){let{routeContext:t,match:n,children:r}=e,l=R.useContext(Mi);return l&&l.static&&l.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=n.route.id),R.createElement(En.Provider,{value:t},r)}function mv(e,t,n){var r;if(t===void 0&&(t=[]),n===void 0&&(n=null),e==null){var l;if((l=n)!=null&&l.errors)e=n.matches;else return null}let i=e,o=(r=n)==null?void 0:r.errors;if(o!=null){let u=i.findIndex(a=>a.route.id&&(o==null?void 0:o[a.route.id]));u>=0||$(!1),i=i.slice(0,Math.min(i.length,u+1))}return i.reduceRight((u,a,s)=>{let p=a.route.id?o==null?void 0:o[a.route.id]:null,v=null;n&&(v=a.route.errorElement||fv);let m=t.concat(i.slice(0,s+1)),x=()=>{let y;return p?y=v:a.route.Component?y=R.createElement(a.route.Component,null):a.route.element?y=a.route.element:y=u,R.createElement(hv,{match:a,routeContext:{outlet:u,matches:m,isDataRoute:n!=null},children:y})};return n&&(a.route.ErrorBoundary||a.route.errorElement||s===0)?R.createElement(pv,{location:n.location,revalidation:n.revalidation,component:v,error:p,children:x(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):x()},null)}var _f=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(_f||{}),ci=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}(ci||{});function vv(e){let t=R.useContext(Mi);return t||$(!1),t}function gv(e){let t=R.useContext(Sf);return t||$(!1),t}function yv(e){let t=R.useContext(En);return t||$(!1),t}function Cf(e){let t=yv(),n=t.matches[t.matches.length-1];return n.route.id||$(!1),n.route.id}function wv(){var e;let t=R.useContext(xf),n=gv(ci.UseRouteError),r=Cf(ci.UseRouteError);return t||((e=n.errors)==null?void 0:e[r])}function Sv(){let{router:e}=vv(_f.UseNavigateStable),t=Cf(ci.UseNavigateStable),n=R.useRef(!1);return Ef(()=>{n.current=!0}),R.useCallback(function(l,i){i===void 0&&(i={}),n.current&&(typeof l=="number"?e.navigate(l):e.navigate(l,si({fromRouteId:t},i)))},[e,t])}function xv(e){let{basename:t="/",children:n=null,location:r,navigationType:l=fe.Pop,navigator:i,static:o=!1}=e;ol()&&$(!1);let u=t.replace(/^\/*/,"/"),a=R.useMemo(()=>({basename:u,navigator:i,static:o}),[u,i,o]);typeof r=="string"&&(r=Lt(r));let{pathname:s="/",search:p="",hash:v="",state:m=null,key:x="default"}=r,y=R.useMemo(()=>{let w=nr(s,u);return w==null?null:{location:{pathname:w,search:p,hash:v,state:m,key:x},navigationType:l}},[u,s,p,v,m,x,l]);return y==null?null:R.createElement(rr.Provider,{value:a},R.createElement(Li.Provider,{children:n,value:y}))}new Promise(()=>{});function Ev(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:R.createElement(e.Component),Component:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:R.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}/** - * React Router DOM v6.17.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 el(){return el=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[l]=e[l]);return n}function _v(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Cv(e,t){return e.button===0&&(!t||t==="_self")&&!_v(e)}const Pv=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"];function Rv(e,t){return Ym({basename:t==null?void 0:t.basename,future:el({},t==null?void 0:t.future,{v7_prependBasename:!0}),history:vm({window:t==null?void 0:t.window}),hydrationData:(t==null?void 0:t.hydrationData)||Mv(),routes:e,mapRouteProperties:Ev,window:t==null?void 0:t.window}).initialize()}function Mv(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=el({},t,{errors:Lv(t.errors)})),t}function Lv(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 ca(l.status,l.statusText,l.data,l.internal===!0);else if(l&&l.__type==="Error"){if(l.__subType){let i=window[l.__subType];if(typeof i=="function")try{let o=new i(l.message);o.stack="",n[r]=o}catch{}}if(n[r]==null){let i=new Error(l.message);i.stack="",n[r]=i}}else n[r]=l;return n}const Tv=R.createContext({isTransitioning:!1}),Nv="startTransition",Ks=bf[Nv];function Dv(e){Ks?Ks(e):e()}class zv{constructor(){this.status="pending",this.promise=new Promise((t,n)=>{this.resolve=r=>{this.status==="pending"&&(this.status="resolved",t(r))},this.reject=r=>{this.status==="pending"&&(this.status="rejected",n(r))}})}}function jv(e){let{fallbackElement:t,router:n,future:r}=e,[l,i]=R.useState(n.state),[o,u]=R.useState(),[a,s]=R.useState({isTransitioning:!1}),[p,v]=R.useState(),[m,x]=R.useState(),[y,w]=R.useState(),{v7_startTransition:L}=r||{},f=R.useCallback(C=>{L?Dv(C):C()},[L]),d=R.useCallback((C,P)=>{let{unstable_viewTransitionOpts:M}=P;!M||n.window==null||typeof n.window.document.startViewTransition!="function"?f(()=>i(C)):m&&p?(p.resolve(),m.skipTransition(),w({state:C,currentLocation:M.currentLocation,nextLocation:M.nextLocation})):(u(C),s({isTransitioning:!0,currentLocation:M.currentLocation,nextLocation:M.nextLocation}))},[f,m,p,n.window]);R.useLayoutEffect(()=>n.subscribe(d),[n,d]),R.useEffect(()=>{a.isTransitioning&&v(new zv)},[a.isTransitioning]),R.useEffect(()=>{if(p&&o&&n.window){let C=o,P=p.promise,M=n.window.document.startViewTransition(async()=>{f(()=>i(C)),await P});M.finished.finally(()=>{v(void 0),x(void 0),u(void 0),s({isTransitioning:!1})}),x(M)}},[f,o,p,n.window]),R.useEffect(()=>{p&&o&&l.location.key===o.location.key&&p.resolve()},[p,m,l.location,o]),R.useEffect(()=>{!a.isTransitioning&&y&&(u(y.state),s({isTransitioning:!0,currentLocation:y.currentLocation,nextLocation:y.nextLocation}),w(void 0))},[a.isTransitioning,y]);let h=R.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:C=>n.navigate(C),push:(C,P,M)=>n.navigate(C,{state:P,preventScrollReset:M==null?void 0:M.preventScrollReset}),replace:(C,P,M)=>n.navigate(C,{replace:!0,state:P,preventScrollReset:M==null?void 0:M.preventScrollReset})}),[n]),c=n.basename||"/",k=R.useMemo(()=>({router:n,navigator:h,static:!1,basename:c}),[n,h,c]);return R.createElement(R.Fragment,null,R.createElement(Mi.Provider,{value:k},R.createElement(Sf.Provider,{value:l},R.createElement(Tv.Provider,{value:a},R.createElement(xv,{basename:c,location:l.location,navigationType:l.historyAction,navigator:h},l.initialized?R.createElement(Ov,{routes:n.routes,state:l}):t)))),null)}function Ov(e){let{routes:t,state:n}=e;return cv(t,void 0,n)}const Av=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Fv=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,mo=R.forwardRef(function(t,n){let{onClick:r,relative:l,reloadDocument:i,replace:o,state:u,target:a,to:s,preventScrollReset:p,unstable_viewTransition:v}=t,m=kv(t,Pv),{basename:x}=R.useContext(rr),y,w=!1;if(typeof s=="string"&&Fv.test(s)&&(y=s,Av))try{let h=new URL(window.location.href),c=s.startsWith("//")?new URL(h.protocol+s):new URL(s),k=nr(c.pathname,x);c.origin===h.origin&&k!=null?s=k+c.search+c.hash:w=!0}catch{}let L=uv(s,{relative:l}),f=Iv(s,{replace:o,state:u,target:a,preventScrollReset:p,relative:l,unstable_viewTransition:v});function d(h){r&&r(h),h.defaultPrevented||f(h)}return R.createElement("a",el({},m,{href:y||L,onClick:w||i?r:d,ref:n,target:a}))});var Gs;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Gs||(Gs={}));var Ys;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Ys||(Ys={}));function Iv(e,t){let{target:n,replace:r,state:l,preventScrollReset:i,relative:o,unstable_viewTransition:u}=t===void 0?{}:t,a=av(),s=Ti(),p=kf(e,{relative:o});return R.useCallback(v=>{if(Cv(v,n)){v.preventDefault();let m=r!==void 0?r:wn(s)===wn(p);a(e,{replace:m,state:l,preventScrollReset:i,relative:o,unstable_viewTransition:u})}},[s,a,p,r,l,n,e,i,o,u])}const Uv="/Douze/assets/logo-58d7877d.png";function Bv(){return V.jsx("nav",{id:"nav-container",children:V.jsxs("ul",{id:"links-container",children:[V.jsx("img",{src:Uv,className:"logo",alt:"logo sims"}),V.jsx(mo,{className:"link",to:"/Douze/Simflouz",children:"Simflouz"}),V.jsx(mo,{className:"link",to:"/Douze/Personnage",children:"Personnage"}),V.jsx(mo,{className:"link",to:"/Douze/Construction",children:"Construction"})]})})}function $v({children:e}){return V.jsxs(V.Fragment,{children:[V.jsx(Bv,{}),V.jsx("main",{children:e})]})}function xr({data:e}){return V.jsx($v,{children:Object.keys(e).length>0?Object.keys(e).map(t=>V.jsx(mm,{title:e[t].title,code:e[t].args_i&&e[t].args_r?V.jsxs("div",{className:"code-spec",children:[V.jsx("code",{children:e[t].code}),e[t].args_i.map((n,r)=>V.jsx("input",{type:"text",placeholder:n},r)),V.jsx("select",{children:e[t].args_r.map((n,r)=>V.jsx("option",{id:r,value:e[t].args_r_v[r],children:n}))})]}):e[t].args_i||e[t].args_r?V.jsxs("div",{className:"code-spec",children:[V.jsx("code",{children:e[t].code}),e[t].args_i?e[t].args_i.map((n,r)=>V.jsx("input",{type:"text",placeholder:n},r)):V.jsx("select",{children:e[t].args_r.map((n,r)=>V.jsx("option",{value:e[t].args_r_v[r],id:r,children:n}))})]}):V.jsx("code",{children:e[t].code}),desc:e[t].desc})):V.jsx("p",{style:{color:"red"},children:"Pas de code de triche"})})}const Vv={title:"Recuperer 50k de Simflouz",code:"motherlode",desc:"Pas de parametre, juste ecrire la commande."},Hv={title:"Recuperer 10k de Simflouz",code:"rosebud",desc:"Pas de parametre, juste ecrire la commande."},Wv={title:"Recuperer n de Simflouz",code:"money",args_i:["[montant]"],desc:"[montant]: Nombre de Simflouz souhaité"},Qv={title:"Ne plus avoir de facture",code:"households.autopay_bills",desc:"Pas de parametre, juste ecrire la commande."},Kv={title:"Avoir toutes les maisons gratuite",code:"FreeRealEstate",args_r:["on","off"],args_r_v:["on","off"],desc:"[on]: Activer, [off]: desactiver"},vo={mother_lode:Vv,rose_bud:Hv,money:Wv,autopay:Qv,freehouse:Kv},Gv={title:"Ne plus avoir faim, someil etc...",code:"stats.fill_commodities_household",desc:"Pas de parametre, juste ecrire la commande."},Yv={title:"Le sims choisit n'a plus faim, someil etc...",code:"stats.fill_commodities",desc:"Pas de parametre, juste ecrire la commande."},Xv={title:"Ajouter n points de satisfaction",code:"sims.give_satisfaction_points",args_i:["[montant]"],desc:"[montant]: Nombre de points voulu"},qv={title:"Rendre le sims immortel",code:"death.toggle",desc:"Pas de parametre, juste ecrire la commande."},Jv={title:"Activer une competance pour un sims",code:"stats.set_skill_level",args_r:["Comédie","Pêche","Fuséologie","Jeux vidéo","Violon","Écriture","Jardinage","Cuisine gastronomique","Guitare","Bricolage","Cuisine","Logique","Malice","Mixologie","Charisme","Peinture","Piano","Fitness","Escalade","Communication (enfants)","Imagination (enfants)","Mouvement (enfants)","Pot (enfants)","Réflexion (enfants)","Orgue (Les Sims 4 : Vampires)","(Les Sims 4 : Vampires)","Danse (Les Sims 4 : Vivre ensemble)","DJ (Les Sims 4 : Vivre ensemble)","Chant (Les Sims 4 : Vie citadine)","Herboristerie (Les Sims 4 : Destination nature)","Bien-être (Les Sims 4 : Détente au spa)","Éducation (Les Sims 4 : Être parents)","Pâtisserie (Les Sims 4 : Au travail)","Photographie (Les Sims 4 : Au travail)","Entretien de magasin (Les Sims 4 : Au travail)","Vente (Les Sims 4 : Au travail)","Éthique professionnelle (Les Sims 4 : Au travail)","Culture Salvadorienne (Les Sims 4 : Dans la jungle)","Archéologie (Les Sims 4 : Dans la jungle)","Dressage (Les Sims 4 : Chiens et chats)","Vétérinaire (Les Sims 4 : Chiens et chats)","Composition florale (Les Sims 4 : Saisons)","Patinage (Les Sims 4 : Saisons)"],args_r_v:["Major_Comedy","Major_Fishing","Major_RocketScience","Major_VideoGaming","Major_Violin","Major_Writing","Major_Gardening","AdultMajor_GourmetCooking","Major_Guitar","Major_Handiness","Major_HomestyleCooking","Major_Logic","Major_Mischief","Major_Bartending","Major_Charisma","Major_Painting","Major_Piano","Skill_Fitness","Skill_Hidden_TreadMill","statistic_skill_toddler_Communication","statistic_skill_toddler_Imagination","statistic_skill_toddler_Movement","statistic_skill_toddler_Potty","statistic_skill_toddler_Thinking","Major_PipeOrgan","statistic_Skill_Hidden_VampireLore","Minor_Dancing","Major_DJ","Major_Singing","Major_Herbalism","Major_Wellness","Major_Parenting","Major_Baking","Major_Photography","retail_maintenance","retail_sales","retail_workethic","Minor_LocalCulture","Major_Archaeology","skill_Dog","Major_Vet","AdultMajor_FlowerArranging","Hidden_Skating"],args_i:["[niveau]"],desc:"[niveau]: Niveau de la competance (max. 10), [competance]: Competance voulue"},Zv={title:"Terminer une missions d'aspiration de votre sims",code:"traits.equip_trait",args_r:["Grande longévité (Sport)","Expressionniste (Créativité)","Musicien envoûtant (Créativité)","Poétique (Créativité)","Manipulateur (Déviance)","Persécuteur (Déviance)","Vie par procuration (Famille)","Matriarche (Famille)","Chef frais (Nourriture)","Pro des potions (Nourriture)","Fromage fondu (Nourriture)","Doué mentalement (Enfants)","Doué socialement (Enfants)","Physique avantageux (Enfants)","Génie créatif (Enfants)","Astucieux (Fortune)","Econome (Fortune)","Hilarant (Popularité)","Hôte parfait (Popularité)","Aimé (Popularité)","Professoral (Connaissance)","Bricoleur (Connaissance)","Pro du web (Connaissance)","Croqueur de sims (Amour)","En couple (Amour)","Naturaliste (Nature)","Expert (Nature)","Sérénité du pêcheur (Nature)","Survivant (Nature)","Chasseur de trésor (Nature)"],args_r_v:["Longevity","Expressionistic","Piper","EpicPoet","Mastermind","Bane","LivingVicariously","Matriarch","FreshChef","PotionMaster","Melt Master","MentallyGifted","SociallyGifted","PhysicallyGifted","CreativelyGifted","Invested","ValuedCustomer","Hilarious","PerfectHost","Legendary","Chronicler","TheKnack","WebMaster","Player","EternalBond","OneWithNature","Appraiser","AnglersTranquility","Survivalist","Trait_JungleExplorer"],desc:"[aspiration]: Mission d'aspiration a finir"},bv={title:"Donner un metier a votre sims",code:"careers.add_career",args_r:["Astronaute","Athlète","Affaires","Criminel","Culinaire","Artiste","Peintre","Agent secret","Gourou des Technologies","Écrivain","Ingénieur","Juridique","Artiste indépendant (Métiers exclusifs aux Indépendants)","Auteur indépendant (Métiers exclusifs aux Indépendants)","Programmateur indépendant (Métiers exclusifs aux Indépendants)","Photographe indépendant (Métiers exclusifs aux Indépendants)","École primaire (enfant) (Métiers exclusifs aux adolescents)","Lycée (adolescent) (Métiers exclusifs aux adolescents)","Babysitter (adolescent) (Métiers exclusifs aux adolescents)","Barista (adolescent) (Métiers exclusifs aux adolescents)","Employé de Fast-Food (adolescent) (Métiers exclusifs aux adolescents)","Ouvrier (adolescent) (Métiers exclusifs aux adolescents)","Commerce (adolescent) (Métiers exclusifs aux adolescents)","Détective (Métiers exclusifs au Sims 4 : Vie Citadine)","Docteur (Métiers exclusifs au Sims 4 : Vie Citadine)","Scientifique (Métiers exclusifs au Sims 4 : Vie Citadine)","Activiste (Politique) (Métiers exclusifs au Sims 4 : Vie Citadine)","Social média (Métiers exclusifs au Sims 4 : Vie Citadine)","Critique gastronomique (Métiers exclusifs au Sims 4 : Vie Citadine)","Jardinier (Métier exclusif au Sims 4 : Les saisons)","Acteur (Métier exclusif au Sims 4 : Heure de Gloire)","Détective (Métier exclusif au Sims 4 : Pack Au Travail !)","Docteur (Métier exclusif au Sims 4 : Pack Au Travail !)","Concepteur civil (Métier exclusif au Sims 4 : Écologie)","Artisan indépendant (Métier exclusif au Sims 4 : Écologie)","Professeur (Métiers exclusifs au Sims 4 : A la fac !)","Avocat (Métiers exclusifs au Sims 4 : A la fac !)","Conservateur marin (Métier exclusif au Sims 4 : Îles paradisiaque)"],args_r_v:["Astronaut","Athletic","Business","Criminal","Culinary","Entertainer","Painter","Secretagent","TechGuru","Writer","careers_Adult_Engineer","careers_Adult_Law","adult_freelancer_artist","adult_freelancer_agency_writer","adult_freelancer_agency_programmer","Fashion_Photographer","Gradeschool","Highschool","Teen_Babysitter","Teen_Barista","Teen_FastFood","Teen_Manual","Teen_Retail","Detective","Doctor","Scientist","Activist","SocialMedia","Adult_critic","Adult_Gardener","Actor","Detective","Doctor","careers_Adult_CivilDesigner","careers_Adult_Freelancer_Agency_Maker","careers_Adult_Education","careers_Adult_Law","Conservationist"],desc:"[metier]: Le metier a choisir"},eg={title:"Donner une promotion a votre sims",code:"careers.promote",args_r:["Astronaute","Athlète","Affaires","Criminel","Culinaire","Artiste","Peintre","Agent secret","Gourou des Technologies","Écrivain","Ingénieur","Juridique","Artiste indépendant (Métiers exclusifs aux Indépendants)","Auteur indépendant (Métiers exclusifs aux Indépendants)","Programmateur indépendant (Métiers exclusifs aux Indépendants)","Photographe indépendant (Métiers exclusifs aux Indépendants)","École primaire (enfant) (Métiers exclusifs aux adolescents)","Lycée (adolescent) (Métiers exclusifs aux adolescents)","Babysitter (adolescent) (Métiers exclusifs aux adolescents)","Barista (adolescent) (Métiers exclusifs aux adolescents)","Employé de Fast-Food (adolescent) (Métiers exclusifs aux adolescents)","Ouvrier (adolescent) (Métiers exclusifs aux adolescents)","Commerce (adolescent) (Métiers exclusifs aux adolescents)","Détective (Métiers exclusifs au Sims 4 : Vie Citadine)","Docteur (Métiers exclusifs au Sims 4 : Vie Citadine)","Scientifique (Métiers exclusifs au Sims 4 : Vie Citadine)","Activiste (Politique) (Métiers exclusifs au Sims 4 : Vie Citadine)","Social média (Métiers exclusifs au Sims 4 : Vie Citadine)","Critique gastronomique (Métiers exclusifs au Sims 4 : Vie Citadine)","Jardinier (Métier exclusif au Sims 4 : Les saisons)","Acteur (Métier exclusif au Sims 4 : Heure de Gloire)","Détective (Métier exclusif au Sims 4 : Pack Au Travail !)","Docteur (Métier exclusif au Sims 4 : Pack Au Travail !)","Concepteur civil (Métier exclusif au Sims 4 : Écologie)","Artisan indépendant (Métier exclusif au Sims 4 : Écologie)","Professeur (Métiers exclusifs au Sims 4 : A la fac !)","Avocat (Métiers exclusifs au Sims 4 : A la fac !)","Conservateur marin (Métier exclusif au Sims 4 : Îles paradisiaque)"],args_r_v:["Astronaut","Athletic","Business","Criminal","Culinary","Entertainer","Painter","Secretagent","TechGuru","Writer","careers_Adult_Engineer","careers_Adult_Law","adult_freelancer_artist","adult_freelancer_agency_writer","adult_freelancer_agency_programmer","Fashion_Photographer","Gradeschool","Highschool","Teen_Babysitter","Teen_Barista","Teen_FastFood","Teen_Manual","Teen_Retail","Detective","Doctor","Scientist","Activist","SocialMedia","Adult_critic","Adult_Gardener","Actor","Detective","Doctor","careers_Adult_CivilDesigner","careers_Adult_Freelancer_Agency_Maker","careers_Adult_Education","careers_Adult_Law","Conservationist"],desc:"[metier]: Le metier a choisir"},tg={titre:"Debloquer votre sims d'un bug",code:"resetSim",args_i:["[prenom]","[nom]"],desc:"[prenom]: Prenom du sims a debloque, [nom]: Nom du sims a debloque"},ng={titre:"Modifier le skin d'un sims",code:"cas.fulleditmode",desc:"Pas de parametre, juste ecrire la commande."},rg={nopain:Gv,nopainfor:Yv,satisfyP:Xv,godmode:qv,skills:Jv,aspiration_skills:Zv,add_metiers:bv,promote:eg,reset:tg,modify_skin:ng},lg={title:"Supperposer deux objets",code:"bb.moveobjects on",desc:"Pas de parametre, juste ecrire la commande."},ig={title:"Debloquer des objets speciaux dans la boutique",code:"bb.showhiddenobjects",desc:"Pas de parametre, juste ecrire la commande."},og={supperposition:lg,unlck_hidden_content:ig},ug=Rv([{path:"/",element:V.jsx(xr,{data:vo})},{path:"/Douze/",element:V.jsx(xr,{data:vo})},{path:"/Douze/Simflouz",element:V.jsx(xr,{data:vo})},{path:"/Douze/Personnage",element:V.jsx(xr,{data:rg})},{path:"/Douze/Construction",element:V.jsx(xr,{data:og})}]);go.createRoot(document.getElementById("root")).render(V.jsx(ic.StrictMode,{children:V.jsx(jv,{router:ug})})); diff --git a/assets/index-b6db4a0d.css b/assets/index-b6db4a0d.css deleted file mode 100644 index e290912..0000000 --- a/assets/index-b6db4a0d.css +++ /dev/null @@ -1 +0,0 @@ -body{padding:0;margin:0;background:#272727;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body main{width:100%;margin-top:9.9%}body code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.pg-container{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#1f1f1f;border-radius:10px;margin:2%}.pg-container .cheat-container{display:flex;flex-direction:column;color:#fff}.pg-container .cheat-container .code{display:flex;flex-direction:row;justify-content:center;align-items:center;padding:2%;border-radius:10px;gap:50px;background:#151515}.pg-container .cheat-container .code .code-spec{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:10px;padding:10px}.pg-container .cheat-container .code .code-spec .code-input{text-align:center;width:20%}#nav-container{display:flex;flex-direction:row;width:100%;justify-content:center;align-items:center;position:fixed;background:#272727;top:0;left:0;z-index:100}#nav-container #links-container{display:flex;flex-direction:row;width:100%;justify-content:space-around;margin:1.5%;padding:0}#nav-container #links-container .logo{width:10%;height:auto}#nav-container #links-container .link{display:flex;flex-direction:row;justify-content:center;align-items:center;text-decoration:none;color:#3caad6;font-weight:700;font-size:1.3em;border-radius:10px;padding:1%}#nav-container #links-container .link:hover{color:#21b96b;background:#1f1f1f} diff --git a/index.html b/index.html index d46d048..0747a07 100644 --- a/index.html +++ b/index.html @@ -10,8 +10,8 @@ content="Codes de triche The Sims 4." /> Douze - by General Zod (lalBi94) - - + +