diff --git a/assets/index-0dd243b7.css b/assets/index-0dd243b7.css new file mode 100644 index 0000000..6a645bc --- /dev/null +++ b/assets/index-0dd243b7.css @@ -0,0 +1 @@ +._main_1davt_1{max-width:38rem;padding:2rem;margin:auto}._logo_1davt_7{display:block;width:auto}._logo_1davt_7 a{display:block;width:fit-content;margin:0 auto}._logo__svg_1davt_18{height:6em;box-sizing:border-box;transition:filter .25s}._logo__svg_1davt_18:hover{filter:drop-shadow(0 0 2em #646cffaa)}._help_1davt_27{padding:2em 2em 0}._description_1davt_31{color:#888}:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;margin-top:.5em;font-size:1em;font-weight:500;font-family:inherit;color:#ffffffde;background-color:#646cff;cursor:pointer;transition:background-color .25s}button:hover{background-color:#747bff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}button:disabled{background-color:#78b856;cursor:default}svg{fill:#ffffffde}#root{max-width:1280px;margin:0 auto;padding:2rem;text-align:center}form{width:fit-content;margin:0 auto}form input{display:block;width:100%;padding:.5em;margin:.5em 0;box-sizing:border-box}@media (max-width: 420px){#root{padding:1rem}h1{font-size:2.5rem}}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}svg{fill:#213547}} diff --git a/assets/index-d872630a.js b/assets/index-d872630a.js new file mode 100644 index 0000000..9944da7 --- /dev/null +++ b/assets/index-d872630a.js @@ -0,0 +1,40 @@ +(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const o of l)if(o.type==="childList")for(const u of o.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&r(u)}).observe(document,{childList:!0,subtree:!0});function t(l){const o={};return l.integrity&&(o.integrity=l.integrity),l.referrerPolicy&&(o.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?o.credentials="include":l.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(l){if(l.ep)return;l.ep=!0;const o=t(l);fetch(l.href,o)}})();function oc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Wi={exports:{}},nl={},Qi={exports:{}},z={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Gt=Symbol.for("react.element"),uc=Symbol.for("react.portal"),ic=Symbol.for("react.fragment"),sc=Symbol.for("react.strict_mode"),ac=Symbol.for("react.profiler"),cc=Symbol.for("react.provider"),fc=Symbol.for("react.context"),dc=Symbol.for("react.forward_ref"),pc=Symbol.for("react.suspense"),mc=Symbol.for("react.memo"),hc=Symbol.for("react.lazy"),ju=Symbol.iterator;function vc(e){return e===null||typeof e!="object"?null:(e=ju&&e[ju]||e["@@iterator"],typeof e=="function"?e:null)}var Ki={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Zi=Object.assign,Yi={};function ot(e,n,t){this.props=e,this.context=n,this.refs=Yi,this.updater=t||Ki}ot.prototype.isReactComponent={};ot.prototype.setState=function(e,n){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,n,"setState")};ot.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Gi(){}Gi.prototype=ot.prototype;function Vo(e,n,t){this.props=e,this.context=n,this.refs=Yi,this.updater=t||Ki}var Ao=Vo.prototype=new Gi;Ao.constructor=Vo;Zi(Ao,ot.prototype);Ao.isPureReactComponent=!0;var Fu=Array.isArray,Xi=Object.prototype.hasOwnProperty,Ho={current:null},Ji={key:!0,ref:!0,__self:!0,__source:!0};function qi(e,n,t){var r,l={},o=null,u=null;if(n!=null)for(r in n.ref!==void 0&&(u=n.ref),n.key!==void 0&&(o=""+n.key),n)Xi.call(n,r)&&!Ji.hasOwnProperty(r)&&(l[r]=n[r]);var i=arguments.length-2;if(i===1)l.children=t;else if(1>>1,Y=E[B];if(0>>1;Bl(wl,N))gnl(nr,wl)?(E[B]=nr,E[gn]=N,B=gn):(E[B]=wl,E[yn]=N,B=yn);else if(gnl(nr,N))E[B]=nr,E[gn]=N,B=gn;else break e}}return P}function l(E,P){var N=E.sortIndex-P.sortIndex;return N!==0?N:E.id-P.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var u=Date,i=u.now();e.unstable_now=function(){return u.now()-i}}var s=[],f=[],h=1,m=null,p=3,v=!1,w=!1,k=!1,R=typeof setTimeout=="function"?setTimeout:null,c=typeof clearTimeout=="function"?clearTimeout:null,a=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function d(E){for(var P=t(f);P!==null;){if(P.callback===null)r(f);else if(P.startTime<=E)r(f),P.sortIndex=P.expirationTime,n(s,P);else break;P=t(f)}}function y(E){if(k=!1,d(E),!w)if(t(s)!==null)w=!0,yl(C);else{var P=t(f);P!==null&&gl(y,P.startTime-E)}}function C(E,P){w=!1,k&&(k=!1,c(L),L=-1),v=!0;var N=p;try{for(d(P),m=t(s);m!==null&&(!(m.expirationTime>P)||E&&!Le());){var B=m.callback;if(typeof B=="function"){m.callback=null,p=m.priorityLevel;var Y=B(m.expirationTime<=P);P=e.unstable_now(),typeof Y=="function"?m.callback=Y:m===t(s)&&r(s),d(P)}else r(s);m=t(s)}if(m!==null)var er=!0;else{var yn=t(f);yn!==null&&gl(y,yn.startTime-P),er=!1}return er}finally{m=null,p=N,v=!1}}var _=!1,x=null,L=-1,H=5,T=-1;function Le(){return!(e.unstable_now()-TE||125B?(E.sortIndex=N,n(f,E),t(s)===null&&E===t(f)&&(k?(c(L),L=-1):k=!0,gl(y,N-B))):(E.sortIndex=Y,n(s,E),w||v||(w=!0,yl(C))),E},e.unstable_shouldYield=Le,e.unstable_wrapCallback=function(E){var P=p;return function(){var N=p;p=P;try{return E.apply(this,arguments)}finally{p=N}}}})(ts);ns.exports=ts;var Nc=ns.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 rs=Re,ye=Nc;function g(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Kl=Object.prototype.hasOwnProperty,zc=/^[: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]*$/,$u={},Uu={};function Tc(e){return Kl.call(Uu,e)?!0:Kl.call($u,e)?!1:zc.test(e)?Uu[e]=!0:($u[e]=!0,!1)}function Rc(e,n,t,r){if(t!==null&&t.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return r?!1:t!==null?!t.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Mc(e,n,t,r){if(n===null||typeof n>"u"||Rc(e,n,t,r))return!0;if(r)return!1;if(t!==null)switch(t.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function se(e,n,t,r,l,o,u){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=o,this.removeEmptyString=u}var b={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){b[e]=new se(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];b[n]=new se(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){b[e]=new se(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){b[e]=new se(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){b[e]=new se(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){b[e]=new se(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){b[e]=new se(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){b[e]=new se(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){b[e]=new se(e,5,!1,e.toLowerCase(),null,!1,!1)});var Wo=/[\-:]([a-z])/g;function Qo(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 n=e.replace(Wo,Qo);b[n]=new se(n,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(Wo,Qo);b[n]=new se(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(Wo,Qo);b[n]=new se(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){b[e]=new se(e,1,!1,e.toLowerCase(),null,!1,!1)});b.xlinkHref=new se("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){b[e]=new se(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ko(e,n,t,r){var l=b.hasOwnProperty(n)?b[n]:null;(l!==null?l.type!==0:r||!(2i||l[u]!==o[i]){var s=` +`+l[u].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=u&&0<=i);break}}}finally{Cl=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?wt(e):""}function Oc(e){switch(e.tag){case 5:return wt(e.type);case 16:return wt("Lazy");case 13:return wt("Suspense");case 19:return wt("SuspenseList");case 0:case 2:case 15:return e=El(e.type,!1),e;case 11:return e=El(e.type.render,!1),e;case 1:return e=El(e.type,!0),e;default:return""}}function Xl(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 jn:return"Fragment";case Dn:return"Portal";case Zl:return"Profiler";case Zo:return"StrictMode";case Yl:return"Suspense";case Gl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case us:return(e.displayName||"Context")+".Consumer";case os:return(e._context.displayName||"Context")+".Provider";case Yo:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Go:return n=e.displayName||null,n!==null?n:Xl(e.type)||"Memo";case Je:n=e._payload,e=e._init;try{return Xl(e(n))}catch{}}return null}function Dc(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=n.render,e=e.displayName||e.name||"",n.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Xl(n);case 8:return n===Zo?"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 n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function dn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ss(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function jc(e){var n=ss(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),r=""+e[n];if(!e.hasOwnProperty(n)&&typeof t<"u"&&typeof t.get=="function"&&typeof t.set=="function"){var l=t.get,o=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return l.call(this)},set:function(u){r=""+u,o.call(this,u)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(u){r=""+u},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function lr(e){e._valueTracker||(e._valueTracker=jc(e))}function as(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),r="";return e&&(r=ss(e)?e.checked?"true":"false":e.value),e=r,e!==t?(n.setValue(e),!0):!1}function Rr(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 Jl(e,n){var t=n.checked;return V({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t??e._wrapperState.initialChecked})}function Au(e,n){var t=n.defaultValue==null?"":n.defaultValue,r=n.checked!=null?n.checked:n.defaultChecked;t=dn(n.value!=null?n.value:t),e._wrapperState={initialChecked:r,initialValue:t,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function cs(e,n){n=n.checked,n!=null&&Ko(e,"checked",n,!1)}function ql(e,n){cs(e,n);var t=dn(n.value),r=n.type;if(t!=null)r==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?bl(e,n.type,t):n.hasOwnProperty("defaultValue")&&bl(e,n.type,dn(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function Hu(e,n,t){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var r=n.type;if(!(r!=="submit"&&r!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+e._wrapperState.initialValue,t||n===e.value||(e.value=n),e.defaultValue=n}t=e.name,t!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,t!==""&&(e.name=t)}function bl(e,n,t){(n!=="number"||Rr(e.ownerDocument)!==e)&&(t==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}var kt=Array.isArray;function Kn(e,n,t,r){if(e=e.options,n){n={};for(var l=0;l"+n.valueOf().toString()+"",n=or.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function Ot(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&t.nodeType===3){t.nodeValue=n;return}}e.textContent=n}var Et={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},Fc=["Webkit","ms","Moz","O"];Object.keys(Et).forEach(function(e){Fc.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),Et[n]=Et[e]})});function ms(e,n,t){return n==null||typeof n=="boolean"||n===""?"":t||typeof n!="number"||n===0||Et.hasOwnProperty(e)&&Et[e]?(""+n).trim():n+"px"}function hs(e,n){e=e.style;for(var t in n)if(n.hasOwnProperty(t)){var r=t.indexOf("--")===0,l=ms(t,n[t],r);t==="float"&&(t="cssFloat"),r?e.setProperty(t,l):e[t]=l}}var Ic=V({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,n){if(n){if(Ic[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(g(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(g(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(g(61))}if(n.style!=null&&typeof n.style!="object")throw Error(g(62))}}function ro(e,n){if(e.indexOf("-")===-1)return typeof n.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 lo=null;function Xo(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var oo=null,Zn=null,Yn=null;function Qu(e){if(e=qt(e)){if(typeof oo!="function")throw Error(g(280));var n=e.stateNode;n&&(n=ul(n),oo(e.stateNode,e.type,n))}}function vs(e){Zn?Yn?Yn.push(e):Yn=[e]:Zn=e}function ys(){if(Zn){var e=Zn,n=Yn;if(Yn=Zn=null,Qu(e),n)for(e=0;e>>=0,e===0?32:31-(Yc(e)/Gc|0)|0}var ur=64,ir=4194304;function St(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 jr(e,n){var t=e.pendingLanes;if(t===0)return 0;var r=0,l=e.suspendedLanes,o=e.pingedLanes,u=t&268435455;if(u!==0){var i=u&~l;i!==0?r=St(i):(o&=u,o!==0&&(r=St(o)))}else u=t&~l,u!==0?r=St(u):o!==0&&(r=St(o));if(r===0)return 0;if(n!==0&&n!==r&&!(n&l)&&(l=r&-r,o=n&-n,l>=o||l===16&&(o&4194240)!==0))return n;if(r&4&&(r|=t&16),n=e.entangledLanes,n!==0)for(e=e.entanglements,n&=r;0t;t++)n.push(e);return n}function Xt(e,n,t){e.pendingLanes|=n,n!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,n=31-Me(n),e[n]=t}function bc(e,n){var t=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=xt),ei=String.fromCharCode(32),ni=!1;function Is(e,n){switch(e){case"keyup":return Nf.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function $s(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Fn=!1;function Tf(e,n){switch(e){case"compositionend":return $s(n);case"keypress":return n.which!==32?null:(ni=!0,ei);case"textInput":return e=n.data,e===ei&&ni?null:e;default:return null}}function Rf(e,n){if(Fn)return e==="compositionend"||!lu&&Is(e,n)?(e=js(),Cr=nu=nn=null,Fn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1=n)return{node:t,offset:n-e};e=r}e:{for(;t;){if(t.nextSibling){t=t.nextSibling;break e}t=t.parentNode}t=void 0}t=oi(t)}}function Hs(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?Hs(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function Bs(){for(var e=window,n=Rr();n instanceof e.HTMLIFrameElement;){try{var t=typeof n.contentWindow.location.href=="string"}catch{t=!1}if(t)e=n.contentWindow;else break;n=Rr(e.document)}return n}function ou(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}function Vf(e){var n=Bs(),t=e.focusedElem,r=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&Hs(t.ownerDocument.documentElement,t)){if(r!==null&&ou(t)){if(n=r.start,e=r.end,e===void 0&&(e=n),"selectionStart"in t)t.selectionStart=n,t.selectionEnd=Math.min(e,t.value.length);else if(e=(n=t.ownerDocument||document)&&n.defaultView||window,e.getSelection){e=e.getSelection();var l=t.textContent.length,o=Math.min(r.start,l);r=r.end===void 0?o:Math.min(r.end,l),!e.extend&&o>r&&(l=r,r=o,o=l),l=ui(t,o);var u=ui(t,r);l&&u&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==u.node||e.focusOffset!==u.offset)&&(n=n.createRange(),n.setStart(l.node,l.offset),e.removeAllRanges(),o>r?(e.addRange(n),e.extend(u.node,u.offset)):(n.setEnd(u.node,u.offset),e.addRange(n)))}}for(n=[],e=t;e=e.parentNode;)e.nodeType===1&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof t.focus=="function"&&t.focus(),t=0;t=document.documentMode,In=null,fo=null,Pt=null,po=!1;function ii(e,n,t){var r=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;po||In==null||In!==Rr(r)||(r=In,"selectionStart"in r&&ou(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}),Pt&&Ut(Pt,r)||(Pt=r,r=$r(fo,"onSelect"),0Vn||(e.current=wo[Vn],wo[Vn]=null,Vn--)}function D(e,n){Vn++,wo[Vn]=e.current,e.current=n}var pn={},le=hn(pn),fe=hn(!1),Ln=pn;function bn(e,n){var t=e.type.contextTypes;if(!t)return pn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===n)return r.__reactInternalMemoizedMaskedChildContext;var l={},o;for(o in t)l[o]=n[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=l),l}function de(e){return e=e.childContextTypes,e!=null}function Vr(){F(fe),F(le)}function mi(e,n,t){if(le.current!==pn)throw Error(g(168));D(le,n),D(fe,t)}function qs(e,n,t){var r=e.stateNode;if(n=n.childContextTypes,typeof r.getChildContext!="function")return t;r=r.getChildContext();for(var l in r)if(!(l in n))throw Error(g(108,Dc(e)||"Unknown",l));return V({},t,r)}function Ar(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||pn,Ln=le.current,D(le,e),D(fe,fe.current),!0}function hi(e,n,t){var r=e.stateNode;if(!r)throw Error(g(169));t?(e=qs(e,n,Ln),r.__reactInternalMemoizedMergedChildContext=e,F(fe),F(le),D(le,e)):F(fe),D(fe,t)}var Ae=null,il=!1,Il=!1;function bs(e){Ae===null?Ae=[e]:Ae.push(e)}function qf(e){il=!0,bs(e)}function vn(){if(!Il&&Ae!==null){Il=!0;var e=0,n=O;try{var t=Ae;for(O=1;e>=u,l-=u,He=1<<32-Me(n)+l|t<L?(H=x,x=null):H=x.sibling;var T=p(c,x,d[L],y);if(T===null){x===null&&(x=H);break}e&&x&&T.alternate===null&&n(c,x),a=o(T,a,L),_===null?C=T:_.sibling=T,_=T,x=H}if(L===d.length)return t(c,x),I&&wn(c,L),C;if(x===null){for(;LL?(H=x,x=null):H=x.sibling;var Le=p(c,x,T.value,y);if(Le===null){x===null&&(x=H);break}e&&x&&Le.alternate===null&&n(c,x),a=o(Le,a,L),_===null?C=Le:_.sibling=Le,_=Le,x=H}if(T.done)return t(c,x),I&&wn(c,L),C;if(x===null){for(;!T.done;L++,T=d.next())T=m(c,T.value,y),T!==null&&(a=o(T,a,L),_===null?C=T:_.sibling=T,_=T);return I&&wn(c,L),C}for(x=r(c,x);!T.done;L++,T=d.next())T=v(x,c,L,T.value,y),T!==null&&(e&&T.alternate!==null&&x.delete(T.key===null?L:T.key),a=o(T,a,L),_===null?C=T:_.sibling=T,_=T);return e&&x.forEach(function(st){return n(c,st)}),I&&wn(c,L),C}function R(c,a,d,y){if(typeof d=="object"&&d!==null&&d.type===jn&&d.key===null&&(d=d.props.children),typeof d=="object"&&d!==null){switch(d.$$typeof){case rr:e:{for(var C=d.key,_=a;_!==null;){if(_.key===C){if(C=d.type,C===jn){if(_.tag===7){t(c,_.sibling),a=l(_,d.props.children),a.return=c,c=a;break e}}else if(_.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Je&&Ci(C)===_.type){t(c,_.sibling),a=l(_,d.props),a.ref=ht(c,_,d),a.return=c,c=a;break e}t(c,_);break}else n(c,_);_=_.sibling}d.type===jn?(a=xn(d.props.children,c.mode,y,d.key),a.return=c,c=a):(y=Tr(d.type,d.key,d.props,null,c.mode,y),y.ref=ht(c,a,d),y.return=c,c=y)}return u(c);case Dn:e:{for(_=d.key;a!==null;){if(a.key===_)if(a.tag===4&&a.stateNode.containerInfo===d.containerInfo&&a.stateNode.implementation===d.implementation){t(c,a.sibling),a=l(a,d.children||[]),a.return=c,c=a;break e}else{t(c,a);break}else n(c,a);a=a.sibling}a=Ql(d,c.mode,y),a.return=c,c=a}return u(c);case Je:return _=d._init,R(c,a,_(d._payload),y)}if(kt(d))return w(c,a,d,y);if(ct(d))return k(c,a,d,y);mr(c,d)}return typeof d=="string"&&d!==""||typeof d=="number"?(d=""+d,a!==null&&a.tag===6?(t(c,a.sibling),a=l(a,d),a.return=c,c=a):(t(c,a),a=Wl(d,c.mode,y),a.return=c,c=a),u(c)):t(c,a)}return R}var nt=ia(!0),sa=ia(!1),bt={},Ue=hn(bt),Bt=hn(bt),Wt=hn(bt);function En(e){if(e===bt)throw Error(g(174));return e}function mu(e,n){switch(D(Wt,n),D(Bt,e),D(Ue,bt),e=n.nodeType,e){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:no(null,"");break;default:e=e===8?n.parentNode:n,n=e.namespaceURI||null,e=e.tagName,n=no(n,e)}F(Ue),D(Ue,n)}function tt(){F(Ue),F(Bt),F(Wt)}function aa(e){En(Wt.current);var n=En(Ue.current),t=no(n,e.type);n!==t&&(D(Bt,e),D(Ue,t))}function hu(e){Bt.current===e&&(F(Ue),F(Bt))}var $=hn(0);function Zr(e){for(var n=e;n!==null;){if(n.tag===13){var t=n.memoizedState;if(t!==null&&(t=t.dehydrated,t===null||t.data==="$?"||t.data==="$!"))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if(n.flags&128)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var $l=[];function vu(){for(var e=0;e<$l.length;e++)$l[e]._workInProgressVersionPrimary=null;$l.length=0}var xr=Ge.ReactCurrentDispatcher,Ul=Ge.ReactCurrentBatchConfig,Nn=0,U=null,K=null,G=null,Yr=!1,Nt=!1,Qt=0,ed=0;function ee(){throw Error(g(321))}function yu(e,n){if(n===null)return!1;for(var t=0;tt?t:4,e(!0);var r=Ul.transition;Ul.transition={};try{e(!1),n()}finally{O=t,Ul.transition=r}}function xa(){return xe().memoizedState}function td(e,n,t){var r=cn(e);if(t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},La(e))Pa(n,t);else if(t=ra(e,n,t,r),t!==null){var l=ue();Oe(t,e,r,l),Na(t,n,r)}}function rd(e,n,t){var r=cn(e),l={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(La(e))Pa(n,l);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=n.lastRenderedReducer,o!==null))try{var u=n.lastRenderedState,i=o(u,t);if(l.hasEagerState=!0,l.eagerState=i,De(i,u)){var s=n.interleaved;s===null?(l.next=l,du(n)):(l.next=s.next,s.next=l),n.interleaved=l;return}}catch{}finally{}t=ra(e,n,l,r),t!==null&&(l=ue(),Oe(t,e,r,l),Na(t,n,r))}}function La(e){var n=e.alternate;return e===U||n!==null&&n===U}function Pa(e,n){Nt=Yr=!0;var t=e.pending;t===null?n.next=n:(n.next=t.next,t.next=n),e.pending=n}function Na(e,n,t){if(t&4194240){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,qo(e,t)}}var Gr={readContext:_e,useCallback:ee,useContext:ee,useEffect:ee,useImperativeHandle:ee,useInsertionEffect:ee,useLayoutEffect:ee,useMemo:ee,useReducer:ee,useRef:ee,useState:ee,useDebugValue:ee,useDeferredValue:ee,useTransition:ee,useMutableSource:ee,useSyncExternalStore:ee,useId:ee,unstable_isNewReconciler:!1},ld={readContext:_e,useCallback:function(e,n){return Fe().memoizedState=[e,n===void 0?null:n],e},useContext:_e,useEffect:_i,useImperativeHandle:function(e,n,t){return t=t!=null?t.concat([e]):null,Lr(4194308,4,ka.bind(null,n,e),t)},useLayoutEffect:function(e,n){return Lr(4194308,4,e,n)},useInsertionEffect:function(e,n){return Lr(4,2,e,n)},useMemo:function(e,n){var t=Fe();return n=n===void 0?null:n,e=e(),t.memoizedState=[e,n],e},useReducer:function(e,n,t){var r=Fe();return n=t!==void 0?t(n):n,r.memoizedState=r.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},r.queue=e,e=e.dispatch=td.bind(null,U,e),[r.memoizedState,e]},useRef:function(e){var n=Fe();return e={current:e},n.memoizedState=e},useState:Ei,useDebugValue:Su,useDeferredValue:function(e){return Fe().memoizedState=e},useTransition:function(){var e=Ei(!1),n=e[0];return e=nd.bind(null,e[1]),Fe().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,t){var r=U,l=Fe();if(I){if(t===void 0)throw Error(g(407));t=t()}else{if(t=n(),X===null)throw Error(g(349));Nn&30||da(r,n,t)}l.memoizedState=t;var o={value:t,getSnapshot:n};return l.queue=o,_i(ma.bind(null,r,o,e),[e]),r.flags|=2048,Zt(9,pa.bind(null,r,o,t,n),void 0,null),t},useId:function(){var e=Fe(),n=X.identifierPrefix;if(I){var t=Be,r=He;t=(r&~(1<<32-Me(r)-1)).toString(32)+t,n=":"+n+"R"+t,t=Qt++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=u.createElement(t,{is:r.is}):(e=u.createElement(t),t==="select"&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,t),e[Ie]=n,e[Ht]=r,Ia(e,n,!1,!1),n.stateNode=e;e:{switch(u=ro(t,r),t){case"dialog":j("cancel",e),j("close",e),l=r;break;case"iframe":case"object":case"embed":j("load",e),l=r;break;case"video":case"audio":for(l=0;llt&&(n.flags|=128,r=!0,vt(o,!1),n.lanes=4194304)}else{if(!r)if(e=Zr(u),e!==null){if(n.flags|=128,r=!0,t=e.updateQueue,t!==null&&(n.updateQueue=t,n.flags|=4),vt(o,!0),o.tail===null&&o.tailMode==="hidden"&&!u.alternate&&!I)return ne(n),null}else 2*W()-o.renderingStartTime>lt&&t!==1073741824&&(n.flags|=128,r=!0,vt(o,!1),n.lanes=4194304);o.isBackwards?(u.sibling=n.child,n.child=u):(t=o.last,t!==null?t.sibling=u:n.child=u,o.last=u)}return o.tail!==null?(n=o.tail,o.rendering=n,o.tail=n.sibling,o.renderingStartTime=W(),n.sibling=null,t=$.current,D($,r?t&1|2:t&1),n):(ne(n),null);case 22:case 23:return Pu(),r=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(n.flags|=8192),r&&n.mode&1?me&1073741824&&(ne(n),n.subtreeFlags&6&&(n.flags|=8192)):ne(n),null;case 24:return null;case 25:return null}throw Error(g(156,n.tag))}function dd(e,n){switch(iu(n),n.tag){case 1:return de(n.type)&&Vr(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return tt(),F(fe),F(le),vu(),e=n.flags,e&65536&&!(e&128)?(n.flags=e&-65537|128,n):null;case 5:return hu(n),null;case 13:if(F($),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(g(340));et()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return F($),null;case 4:return tt(),null;case 10:return fu(n.type._context),null;case 22:case 23:return Pu(),null;case 24:return null;default:return null}}var vr=!1,re=!1,pd=typeof WeakSet=="function"?WeakSet:Set,S=null;function Wn(e,n){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){A(e,n,r)}else t.current=null}function Ro(e,n,t){try{t()}catch(r){A(e,n,r)}}var Oi=!1;function md(e,n){if(mo=Fr,e=Bs(),ou(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{t=(t=e.ownerDocument)&&t.defaultView||window;var r=t.getSelection&&t.getSelection();if(r&&r.rangeCount!==0){t=r.anchorNode;var l=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{t.nodeType,o.nodeType}catch{t=null;break e}var u=0,i=-1,s=-1,f=0,h=0,m=e,p=null;n:for(;;){for(var v;m!==t||l!==0&&m.nodeType!==3||(i=u+l),m!==o||r!==0&&m.nodeType!==3||(s=u+r),m.nodeType===3&&(u+=m.nodeValue.length),(v=m.firstChild)!==null;)p=m,m=v;for(;;){if(m===e)break n;if(p===t&&++f===l&&(i=u),p===o&&++h===r&&(s=u),(v=m.nextSibling)!==null)break;m=p,p=m.parentNode}m=v}t=i===-1||s===-1?null:{start:i,end:s}}else t=null}t=t||{start:0,end:0}}else t=null;for(ho={focusedElem:e,selectionRange:t},Fr=!1,S=n;S!==null;)if(n=S,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,S=e;else for(;S!==null;){n=S;try{var w=n.alternate;if(n.flags&1024)switch(n.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var k=w.memoizedProps,R=w.memoizedState,c=n.stateNode,a=c.getSnapshotBeforeUpdate(n.elementType===n.type?k:Ne(n.type,k),R);c.__reactInternalSnapshotBeforeUpdate=a}break;case 3:var d=n.stateNode.containerInfo;d.nodeType===1?d.textContent="":d.nodeType===9&&d.documentElement&&d.removeChild(d.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(g(163))}}catch(y){A(n,n.return,y)}if(e=n.sibling,e!==null){e.return=n.return,S=e;break}S=n.return}return w=Oi,Oi=!1,w}function zt(e,n,t){var r=n.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var o=l.destroy;l.destroy=void 0,o!==void 0&&Ro(n,t,o)}l=l.next}while(l!==r)}}function cl(e,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var t=n=n.next;do{if((t.tag&e)===e){var r=t.create;t.destroy=r()}t=t.next}while(t!==n)}}function Mo(e){var n=e.ref;if(n!==null){var t=e.stateNode;switch(e.tag){case 5:e=t;break;default:e=t}typeof n=="function"?n(e):n.current=e}}function Va(e){var n=e.alternate;n!==null&&(e.alternate=null,Va(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[Ie],delete n[Ht],delete n[go],delete n[Xf],delete n[Jf])),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 Aa(e){return e.tag===5||e.tag===3||e.tag===4}function Di(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Aa(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 Oo(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.nodeType===8?t.parentNode.insertBefore(e,n):t.insertBefore(e,n):(t.nodeType===8?(n=t.parentNode,n.insertBefore(e,t)):(n=t,n.appendChild(e)),t=t._reactRootContainer,t!=null||n.onclick!==null||(n.onclick=Ur));else if(r!==4&&(e=e.child,e!==null))for(Oo(e,n,t),e=e.sibling;e!==null;)Oo(e,n,t),e=e.sibling}function Do(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.insertBefore(e,n):t.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Do(e,n,t),e=e.sibling;e!==null;)Do(e,n,t),e=e.sibling}var J=null,ze=!1;function Xe(e,n,t){for(t=t.child;t!==null;)Ha(e,n,t),t=t.sibling}function Ha(e,n,t){if($e&&typeof $e.onCommitFiberUnmount=="function")try{$e.onCommitFiberUnmount(tl,t)}catch{}switch(t.tag){case 5:re||Wn(t,n);case 6:var r=J,l=ze;J=null,Xe(e,n,t),J=r,ze=l,J!==null&&(ze?(e=J,t=t.stateNode,e.nodeType===8?e.parentNode.removeChild(t):e.removeChild(t)):J.removeChild(t.stateNode));break;case 18:J!==null&&(ze?(e=J,t=t.stateNode,e.nodeType===8?Fl(e.parentNode,t):e.nodeType===1&&Fl(e,t),It(e)):Fl(J,t.stateNode));break;case 4:r=J,l=ze,J=t.stateNode.containerInfo,ze=!0,Xe(e,n,t),J=r,ze=l;break;case 0:case 11:case 14:case 15:if(!re&&(r=t.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var o=l,u=o.destroy;o=o.tag,u!==void 0&&(o&2||o&4)&&Ro(t,n,u),l=l.next}while(l!==r)}Xe(e,n,t);break;case 1:if(!re&&(Wn(t,n),r=t.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(i){A(t,n,i)}Xe(e,n,t);break;case 21:Xe(e,n,t);break;case 22:t.mode&1?(re=(r=re)||t.memoizedState!==null,Xe(e,n,t),re=r):Xe(e,n,t);break;default:Xe(e,n,t)}}function ji(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var t=e.stateNode;t===null&&(t=e.stateNode=new pd),n.forEach(function(r){var l=Ed.bind(null,e,r);t.has(r)||(t.add(r),r.then(l,l))})}}function Pe(e,n){var t=n.deletions;if(t!==null)for(var r=0;rl&&(l=u),r&=~o}if(r=l,r=W()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*vd(r/1960))-r,10e?16:e,tn===null)var r=!1;else{if(e=tn,tn=null,qr=0,M&6)throw Error(g(331));var l=M;for(M|=4,S=e.current;S!==null;){var o=S,u=o.child;if(S.flags&16){var i=o.deletions;if(i!==null){for(var s=0;sW()-xu?_n(e,0):_u|=t),pe(e,n)}function Xa(e,n){n===0&&(e.mode&1?(n=ir,ir<<=1,!(ir&130023424)&&(ir=4194304)):n=1);var t=ue();e=Ze(e,n),e!==null&&(Xt(e,n,t),pe(e,t))}function Cd(e){var n=e.memoizedState,t=0;n!==null&&(t=n.retryLane),Xa(e,t)}function Ed(e,n){var t=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(t=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(g(314))}r!==null&&r.delete(n),Xa(e,t)}var Ja;Ja=function(e,n,t){if(e!==null)if(e.memoizedProps!==n.pendingProps||fe.current)ce=!0;else{if(!(e.lanes&t)&&!(n.flags&128))return ce=!1,cd(e,n,t);ce=!!(e.flags&131072)}else ce=!1,I&&n.flags&1048576&&ea(n,Br,n.index);switch(n.lanes=0,n.tag){case 2:var r=n.type;Pr(e,n),e=n.pendingProps;var l=bn(n,le.current);Xn(n,t),l=gu(null,n,r,e,l,t);var o=wu();return n.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,de(r)?(o=!0,Ar(n)):o=!1,n.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,pu(n),l.updater=sl,n.stateNode=l,l._reactInternals=n,_o(n,r,e,t),n=Po(null,n,r,!0,o,t)):(n.tag=0,I&&o&&uu(n),oe(null,n,l,t),n=n.child),n;case 16:r=n.elementType;e:{switch(Pr(e,n),e=n.pendingProps,l=r._init,r=l(r._payload),n.type=r,l=n.tag=xd(r),e=Ne(r,e),l){case 0:n=Lo(null,n,r,e,t);break e;case 1:n=Ti(null,n,r,e,t);break e;case 11:n=Ni(null,n,r,e,t);break e;case 14:n=zi(null,n,r,Ne(r.type,e),t);break e}throw Error(g(306,r,""))}return n;case 0:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Ne(r,l),Lo(e,n,r,l,t);case 1:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Ne(r,l),Ti(e,n,r,l,t);case 3:e:{if(Da(n),e===null)throw Error(g(387));r=n.pendingProps,o=n.memoizedState,l=o.element,la(e,n),Kr(n,r,null,t);var u=n.memoizedState;if(r=u.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:u.cache,pendingSuspenseBoundaries:u.pendingSuspenseBoundaries,transitions:u.transitions},n.updateQueue.baseState=o,n.memoizedState=o,n.flags&256){l=rt(Error(g(423)),n),n=Ri(e,n,r,t,l);break e}else if(r!==l){l=rt(Error(g(424)),n),n=Ri(e,n,r,t,l);break e}else for(he=un(n.stateNode.containerInfo.firstChild),ve=n,I=!0,Te=null,t=sa(n,null,r,t),n.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling;else{if(et(),r===l){n=Ye(e,n,t);break e}oe(e,n,r,t)}n=n.child}return n;case 5:return aa(n),e===null&&So(n),r=n.type,l=n.pendingProps,o=e!==null?e.memoizedProps:null,u=l.children,vo(r,l)?u=null:o!==null&&vo(r,o)&&(n.flags|=32),Oa(e,n),oe(e,n,u,t),n.child;case 6:return e===null&&So(n),null;case 13:return ja(e,n,t);case 4:return mu(n,n.stateNode.containerInfo),r=n.pendingProps,e===null?n.child=nt(n,null,r,t):oe(e,n,r,t),n.child;case 11:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Ne(r,l),Ni(e,n,r,l,t);case 7:return oe(e,n,n.pendingProps,t),n.child;case 8:return oe(e,n,n.pendingProps.children,t),n.child;case 12:return oe(e,n,n.pendingProps.children,t),n.child;case 10:e:{if(r=n.type._context,l=n.pendingProps,o=n.memoizedProps,u=l.value,D(Wr,r._currentValue),r._currentValue=u,o!==null)if(De(o.value,u)){if(o.children===l.children&&!fe.current){n=Ye(e,n,t);break e}}else for(o=n.child,o!==null&&(o.return=n);o!==null;){var i=o.dependencies;if(i!==null){u=o.child;for(var s=i.firstContext;s!==null;){if(s.context===r){if(o.tag===1){s=We(-1,t&-t),s.tag=2;var f=o.updateQueue;if(f!==null){f=f.shared;var h=f.pending;h===null?s.next=s:(s.next=h.next,h.next=s),f.pending=s}}o.lanes|=t,s=o.alternate,s!==null&&(s.lanes|=t),Co(o.return,t,n),i.lanes|=t;break}s=s.next}}else if(o.tag===10)u=o.type===n.type?null:o.child;else if(o.tag===18){if(u=o.return,u===null)throw Error(g(341));u.lanes|=t,i=u.alternate,i!==null&&(i.lanes|=t),Co(u,t,n),u=o.sibling}else u=o.child;if(u!==null)u.return=o;else for(u=o;u!==null;){if(u===n){u=null;break}if(o=u.sibling,o!==null){o.return=u.return,u=o;break}u=u.return}o=u}oe(e,n,l.children,t),n=n.child}return n;case 9:return l=n.type,r=n.pendingProps.children,Xn(n,t),l=_e(l),r=r(l),n.flags|=1,oe(e,n,r,t),n.child;case 14:return r=n.type,l=Ne(r,n.pendingProps),l=Ne(r.type,l),zi(e,n,r,l,t);case 15:return Ra(e,n,n.type,n.pendingProps,t);case 17:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Ne(r,l),Pr(e,n),n.tag=1,de(r)?(e=!0,Ar(n)):e=!1,Xn(n,t),ua(n,r,l),_o(n,r,l,t),Po(null,n,r,!0,e,t);case 19:return Fa(e,n,t);case 22:return Ma(e,n,t)}throw Error(g(156,n.tag))};function qa(e,n){return _s(e,n)}function _d(e,n,t,r){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,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 Ce(e,n,t,r){return new _d(e,n,t,r)}function zu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function xd(e){if(typeof e=="function")return zu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Yo)return 11;if(e===Go)return 14}return 2}function fn(e,n){var t=e.alternate;return t===null?(t=Ce(e.tag,n,e.key,e.mode),t.elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=n,t.type=e.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=e.flags&14680064,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,n=e.dependencies,t.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t}function Tr(e,n,t,r,l,o){var u=2;if(r=e,typeof e=="function")zu(e)&&(u=1);else if(typeof e=="string")u=5;else e:switch(e){case jn:return xn(t.children,l,o,n);case Zo:u=8,l|=8;break;case Zl:return e=Ce(12,t,n,l|2),e.elementType=Zl,e.lanes=o,e;case Yl:return e=Ce(13,t,n,l),e.elementType=Yl,e.lanes=o,e;case Gl:return e=Ce(19,t,n,l),e.elementType=Gl,e.lanes=o,e;case is:return dl(t,l,o,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case os:u=10;break e;case us:u=9;break e;case Yo:u=11;break e;case Go:u=14;break e;case Je:u=16,r=null;break e}throw Error(g(130,e==null?e:typeof e,""))}return n=Ce(u,t,n,l),n.elementType=e,n.type=r,n.lanes=o,n}function xn(e,n,t,r){return e=Ce(7,e,r,n),e.lanes=t,e}function dl(e,n,t,r){return e=Ce(22,e,r,n),e.elementType=is,e.lanes=t,e.stateNode={isHidden:!1},e}function Wl(e,n,t){return e=Ce(6,e,null,n),e.lanes=t,e}function Ql(e,n,t){return n=Ce(4,e.children!==null?e.children:[],e.key,n),n.lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function Ld(e,n,t,r,l){this.tag=n,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=xl(0),this.expirationTimes=xl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=xl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Tu(e,n,t,r,l,o,u,i,s){return e=new Ld(e,n,t,i,s),n===1?(n=1,o===!0&&(n|=8)):n=0,o=Ce(3,null,null,n),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},pu(o),e}function Pd(e,n,t){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(tc)}catch(e){console.error(e)}}tc(),es.exports=ge;var Md=es.exports,rc,Bi=Md;rc=Bi.createRoot,Bi.hydrateRoot;const Od=e=>Re.createElement("svg",{height:"100%",strokeMiterlimit:10,style:{fillRule:"nonzero",clipRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},viewBox:"0 0 180 180",width:"100%",xmlSpace:"preserve",xmlns:"http://www.w3.org/2000/svg",...e},Re.createElement("g",{id:"layer"},Re.createElement("path",{d:"M90 0C40.2944 0 0 40.2944 0 90C0 139.706 40.2944 180 90 180C139.706 180 180 139.706 180 90C180 46.7669 149.49 10.7033 108.844 2.03125C103.994 20.0396 97.8695 42.7911 97.7188 43.3438C97.4797 44.1804 97.4098 44.2729 97 44.1875C96.778 44.1534 96.211 44.2213 95.75 44.375C95.1695 44.5628 94.8695 44.5883 94.75 44.4688C94.1694 43.8882 94.2864 43.3314 99.5625 23.9688C100.548 20.3593 103.762 8.62946 105.719 1.46875C100.602 0.564922 95.3766 0 90 0ZM93.0312 45.5938C94.0728 45.5937 95.3164 46.0867 96.375 46.9062C97.0921 47.4697 98.5 49.2664 98.5 49.625C98.5 50.1031 97.48 49.7178 95.875 48.625C95.0213 48.0445 93.6746 47.2961 92.9062 46.9375C92.1208 46.5789 91.5 46.2104 91.5 46.125C91.5 46.0226 91.6418 45.8666 91.8125 45.7812C91.9662 45.6788 92.519 45.6108 93.0312 45.5938ZM89.75 49.5938C90.8599 49.3035 92.4443 49.2864 93.4688 49.5938C95.1933 50.106 97.1543 51.9282 98.2812 54.0625C99.0838 55.5992 98.3866 55.4858 96.5938 53.8125C94.1009 51.5074 92.9961 50.9578 90.2812 50.7188C89.3422 50.6504 88.537 50.537 88.4688 50.4688C88.2468 50.2638 88.9133 49.8157 89.75 49.5938ZM88.25 53.9062C89.2403 53.7697 90.9897 53.8093 92.0312 54.0312C94.7462 54.6118 97.1762 56.5264 98.7812 59.3438C99.8569 61.2561 99.5634 61.2619 97.3438 59.2812C93.741 56.0371 92.499 55.4974 88.0938 55.3438C86.318 55.2755 85.2529 55.182 85.2188 55.0625C85.1163 54.7722 86.8499 54.1282 88.25 53.9062ZM80.625 57.875C80.7104 57.875 79.8315 58.8673 78.6875 60.0625C77.5606 61.2577 76.231 62.817 75.7188 63.5C71.3477 69.3054 70.5242 75.1747 73 82.6875C73.239 83.4217 73.48 84 73.5312 84C73.5825 84 73.537 83.8895 73.4688 83.7188C73.4175 83.5651 73.1482 82.6579 72.875 81.7188C71.2017 75.8622 71.51 71.5254 73.9688 66.625C74.9079 64.7639 76.3148 62.8814 78.3125 60.7812C79.798 59.2274 79.8979 59.1459 81.4688 58.5312C83.3128 57.8141 83.9001 57.7407 84.1562 58.2188C84.4124 58.7139 84.3502 59.2194 83.9062 60.5L83.5 61.6562L84.1875 60.875C84.5631 60.4481 84.9346 60.1363 84.9688 60.1875C85.02 60.2217 84.297 61.4945 83.375 63.0312C77.0574 73.6004 76.3615 80.0606 80.9375 86.1562C81.9107 87.4539 85.0477 90.6334 87.0625 92.375C87.7625 92.9897 86.8553 92.0258 85.0625 90.25C80.9475 86.1521 79.6095 84.2777 78.6875 81.375C78.2094 79.8383 78.0535 77.1192 78.3438 75.5312C78.9584 72.1676 81.761 65.6208 83.6562 63.0938C84.1343 62.4449 84.4932 62.1765 85.125 61.9375C86.1665 61.5789 86.4539 61.5789 86.8125 61.9375C87.2394 62.3473 87.03 63.337 86.125 65.625C84.8786 68.8009 84.5 70.6205 84.5 73.25C84.5 75.999 85.0287 78.1112 86.5312 81.2188C87.9655 84.1727 88.8557 85.2359 96.8125 93.5C102.191 99.0663 102.697 99.6469 103.875 101.781C105.002 103.83 105.29 105.006 105 106.406C104.573 108.472 103.126 110.534 101.094 111.969C99.9327 112.771 99.9011 112.772 99.5938 111.406C99.406 110.587 99.4149 110.65 99.3125 112.938C99.21 115.311 98.8534 117.249 98.1875 119.281C97.7094 120.681 97.2899 121.634 97.1875 121.531C97.1363 121.48 97.2809 120.63 97.4688 119.656C97.9468 117.215 98.1562 115.587 98.1562 114.562L98.1562 113.719L96.8438 115.469C95.2387 117.586 92.193 120.776 90.6562 121.938C89.0854 123.133 87.0222 124.105 85.6562 124.344C84.3244 124.566 82.8457 124.291 81.7188 123.625C81.0016 123.198 81.0023 123.22 81.3438 122.281C81.6511 121.376 81.5235 121.376 81.0625 122.281C80.4478 123.494 79.087 125.407 78.0625 126.5C77.5332 127.081 77.0825 127.534 77.0312 127.5C76.9971 127.449 77.4791 126.63 78.0938 125.656C81.1842 120.807 82.2332 117.295 82.0625 112.344C81.8747 107.409 80.7545 103.885 76.4688 94.9375C73.2416 88.176 72.5983 86.7181 71.625 83.7812C68.6199 74.8 69.9414 68.0335 75.9688 61.75C76.8566 60.828 78.2287 59.5664 79.0312 58.9688C79.8338 58.3711 80.5567 57.875 80.625 57.875ZM88 63.5625C88.0512 63.5967 87.8528 64.3905 87.5625 65.3125C85.7355 71.4252 85.8486 75.4385 88 79.8438C89.1952 82.3025 91.1286 84.7819 94.0312 87.7188C95.3118 89.0164 95.8222 89.5126 95.1562 88.8125C88.6508 81.829 86.5171 77.9433 86.5 72.9062C86.5 71.0963 86.9336 68.2964 87.5312 66.0938C87.8215 65.0522 87.8541 64.9803 88.4688 64.8438C89.3737 64.6218 90.2294 64.8144 90.6562 65.3438C90.9295 65.6852 90.9829 66.0438 91 67L91.0312 68.2188L91.25 67.1875C91.4719 66.163 91.9401 64.875 92.0938 64.875C92.1279 64.875 92.1421 66.1791 92.125 67.75C92.125 70.8917 92.4075 72.4878 93.3125 74.6562C94.5589 77.6443 96.2407 79.8058 101.688 85.4062C105.563 89.3676 107.215 91.3953 107.812 92.8125C107.949 93.1369 108.006 93.4062 107.938 93.4062C107.852 93.4062 106.891 92.4707 105.781 91.3438C104.654 90.1998 103.095 88.7284 102.344 88.0625C101.575 87.3796 102.227 88.1195 103.781 89.6562C106.838 92.6955 107.601 93.7748 108.25 95.875C108.54 96.8312 108.617 97.3132 108.531 98.5938C108.446 100.233 108.18 101.179 107.344 102.938C106.814 104.064 106.447 104.379 106.156 103.969C106.037 103.798 106.025 103.863 106.094 104.188C106.316 105.178 106.372 107.023 106.219 107.125C106.116 107.193 105.867 106.473 105.594 105.5C105.321 104.544 104.768 103.115 104.375 102.312C103.026 99.5806 101.803 98.0927 95.8438 92.0312C89.1846 85.2868 87.7439 83.4942 86.3438 80.25C84.7558 76.5619 84.5238 73.0238 85.5312 69.0625C85.9411 67.4575 86.9024 65.0612 87.5 64.1562C87.739 63.7977 87.9659 63.5284 88 63.5625ZM94.8438 66.1875C95.2834 66.2601 95.7606 66.4228 96.1875 66.6875C98.4243 68.0876 98.8972 68.6337 99.1875 70.1875C99.6144 72.3901 99.7771 72.836 100.562 74.0312C101.604 75.585 104.054 78.0921 105.438 79.0312C107.367 80.346 108.19 81.8225 108.344 84.2812C108.446 85.9546 108.217 86.9162 107.5 87.7188C107.022 88.231 106.839 88.3125 106.156 88.3125C105.439 88.3296 105.243 88.2484 104.406 87.5312C103.382 86.6605 97.6214 80.7042 96.375 79.2188C94.5139 77.0332 92.6965 73.0583 92.4062 70.5312C92.1843 68.4823 92.6943 66.8276 93.7188 66.2812C94.009 66.1361 94.4041 66.1149 94.8438 66.1875ZM99.8125 68.5938C99.9662 68.3376 100.181 68.674 100.625 69.9375C101.547 72.5158 102.492 73.6573 107.188 78.0625C108.605 79.3943 109.058 80.0938 108.562 80.0938C108.46 80.0937 107.995 79.864 107.5 79.625C104.683 78.1907 101.411 75.2477 100.438 73.25C99.635 71.6108 99.3344 69.3792 99.8125 68.5938ZM102.469 69.5625C104.031 69.8186 106.784 71.714 108.062 73.1875C107.58 72.6412 107.213 72.0689 106.406 71.3438C105.911 70.8998 105.5 70.4462 105.5 70.3438C105.5 70.0706 106.257 70.1385 107.281 70.5312C108.801 71.0947 110.231 72.5706 111.188 74.5C112.041 76.2416 112.381 77.5312 111.938 77.5312C111.613 77.5312 110.778 76.6053 109.531 74.8125C109.043 74.1236 108.489 73.6703 108.062 73.1875C108.489 73.6787 108.75 74.1174 108.75 74.4375C108.75 75.2742 108.461 75.8064 107.812 76.0625C107.488 76.1991 107.145 76.4401 107.094 76.5938C106.906 77.0718 106.212 76.8537 105.188 76C103.548 74.634 101.219 71.3199 101.219 70.3125C101.219 70.1588 101.378 69.9037 101.531 69.75C101.736 69.528 101.974 69.4942 102.469 69.5625ZM55.75 77.0625L57.875 82.8438L64 83.0625L59.1562 86.8438L60.8438 92.7188L55.75 89.3125L50.6875 92.7188L52.3438 86.8438L47.5312 83.0625L53.625 82.8438L55.75 77.0625ZM111.219 91.125L112 93.25L114.281 93.3438L112.5 94.75L113.125 96.9688L111.219 95.6562L109.344 96.9688L109.969 94.75L108.156 93.3438L110.406 93.25L111.219 91.125ZM129.375 95.5312L131.438 101.062L137.281 101.281L132.688 104.938L134.281 110.594L129.375 107.312L124.469 110.594L126.094 104.938L121.469 101.281L127.344 101.062L129.375 95.5312ZM73.9062 96.4062L74.8438 99.125L77.7188 99.2188L75.4688 101L76.25 103.75L73.9062 102.156L71.4688 103.75L72.2812 101L70.0312 99.2188L72.9062 99.125L73.9062 96.4062ZM58.5938 103.875L60.0938 107.969L64.4375 108.094L61 110.812L62.1875 115L58.5938 112.562L54.9688 115L56.1562 110.812L52.7188 108.094L57.0938 107.969L58.5938 103.875ZM109.875 106.406L110.969 109.344L114.094 109.469L111.625 111.406L112.469 114.375L109.875 112.656L107.312 114.375L108.156 111.406L105.688 109.469L108.781 109.344L109.875 106.406ZM76.8438 114L77.7188 116.469L80.3438 116.562L78.3125 118.188L79 120.719L76.8438 119.25L74.625 120.719L75.375 118.188L73.3125 116.562L75.9375 116.469L76.8438 114ZM116.625 118.125L118.125 122.219L122.469 122.375L119.031 125.094L120.25 129.281L116.625 126.812L113 129.281L114.219 125.094L110.75 122.375L115.125 122.219L116.625 118.125ZM94.6875 122.719L95.4375 124.656L97.5312 124.75L95.9062 126.031L96.4375 128.062L94.6875 126.906L93 128.062L93.5312 126.031L91.9062 124.75L94 124.656L94.6875 122.719ZM76.5 90.8438C76.4829 90.8949 77.2767 92.6385 78.25 94.6875C81.8528 102.252 83.1527 106.386 83.5625 111.406C83.7333 113.694 83.155 117.428 82.25 119.75C82.0622 120.245 81.9771 120.554 82.0625 120.469C82.3186 120.178 82.9539 118.497 83.3125 117.062C84.3199 113.05 84.0254 108.369 82.4375 103.281C82.1131 102.223 80.9604 99.6707 79.2188 96.1875C77.7162 93.1994 76.5 90.7925 76.5 90.8438ZM85.9375 93.7188L87.5625 95.2188C94.9217 102.014 97.4736 106.092 97.9688 112C98.1053 113.537 98.0909 113.576 98.125 112.5C98.142 111.151 97.7906 108.897 97.3125 107.531C96.2197 104.372 94.5538 101.915 91.3438 98.6875C89.9778 97.3215 88.2088 95.6517 87.4062 94.9688L85.9375 93.7188Z",fillRule:"nonzero",opacity:1,stroke:"none"}))),Dd="_main_1davt_1",jd="_logo_1davt_7",Fd="_logo__svg_1davt_18",Id="_help_1davt_27",$d="_description_1davt_31",gt={main:Dd,logo:jd,logo__svg:Fd,help:Id,description:$d},Uo={inputs:"",button:"Clean repository deployments",colors:{},disabled:!1};Object.freeze(Uo);function Ud(){const e=Re.useRef(!0),n=Re.useRef(null),[t,r]=Re.useState({repo:"",user:"",token:""}),[l,o]=Re.useState(Uo);Re.useEffect(()=>{if(e.current)e.current=!1;else if(Object.values(t).some(i=>i===""))console.log("Looks like you are in a development mode!");else{const i=`https://api.github.com/repos/${t.user}/${t.repo}/deployments`,s=`token ${t.token}`,f=async()=>(await fetch(`${i}`,{headers:{authorization:s}})).json(),h=async v=>{if((await fetch(`${i}/${v}/statuses`,{method:"POST",body:JSON.stringify({state:"inactive"}),headers:{"content-type":"application/json",accept:"application/vnd.github+json",authorization:s}})).status===404)throw Error("Access denied!");return v},m=async v=>(await fetch(`${i}/${v}`,{method:"DELETE",headers:{authorization:s}}),v);(async()=>{const v=await f();if(v.message&&["bad credentials","not found"].includes(v.message.toLowerCase()))throw Error("Incorrect credentials!");if(v.length===0)throw Error("No deployments found!");const w=R=>R.length===1?"deployment":"deployments";console.log(`Found ${v.length} ${w(v)}!`);const k=v.map(({id:R})=>R);try{const R=await Promise.all(k.map(a=>h(a)));console.log(`Disabled ${R.length} ${w(R)}!`);const c=await Promise.all(R.map(a=>m(a)));console.log(`Deleted ${c.length} ${w(c)}!`),o(a=>({...a,button:`Deleted ${c.length} ${w(c)}!`,disabled:!0}))}catch(R){throw R}})().catch(v=>{console.error(v),o(w=>({...w,button:v.message?v.message:"Error! Check the console",disabled:!0,colors:{backgroundColor:"crimson"}}))}).finally(()=>{const v=n.current;v.addEventListener("input",()=>{o(Uo),v.reset()},{once:!0})})}},[t]);const u=async i=>{i.preventDefault();const s=i.target.elements;r({repo:s.repo.value,user:s.user.value,token:s.token.value})};return te.jsxs("form",{onSubmit:u,ref:n,children:[te.jsx("input",{type:"text",name:"repo",placeholder:"Fill in your repository name",defaultValue:l.inputs,required:!0}),te.jsx("input",{type:"text",name:"user",placeholder:"Fill in your GitHub username",defaultValue:l.inputs,required:!0}),te.jsx("input",{type:"text",name:"token",placeholder:"Fill in your GitHub token",defaultValue:l.inputs,required:!0}),te.jsx("button",{type:"submit",style:l.colors,disabled:l.disabled,children:l.button})]})}function Vd(){return te.jsxs("main",{className:gt.main,children:[te.jsx("div",{className:gt.logo,children:te.jsx("a",{href:"https://github.com/solarlime/github-deployment-cleaner/",target:"_blank",rel:"noreferrer",children:te.jsx(Od,{className:gt.logo__svg})})}),te.jsx("h1",{children:"GitHub Deployment Cleaner"}),te.jsx("p",{className:gt.description,children:"This service helps to clean up repository deployments. It is possible to do it manually with the GitHub API. However, this one is simpler."}),te.jsx(Ud,{}),te.jsx("div",{className:gt.help,children:te.jsx("a",{href:"https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token",target:"_blank",rel:"noreferrer",children:"How you can get a GitHub token"})})]})}rc(document.getElementById("root")).render(te.jsx(Sc.StrictMode,{children:te.jsx(Vd,{})})); diff --git a/favicon.png b/favicon.png new file mode 100644 index 0000000..41ae5c7 Binary files /dev/null and b/favicon.png differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..d016f39 --- /dev/null +++ b/index.html @@ -0,0 +1,15 @@ + + + + + + + GitHub Deployment Cleaner + + + + +
+ + +