function ef(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 tf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ps={exports:{}},hl={},Ns={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 lr=Symbol.for("react.element"),nf=Symbol.for("react.portal"),rf=Symbol.for("react.fragment"),lf=Symbol.for("react.strict_mode"),of=Symbol.for("react.profiler"),uf=Symbol.for("react.provider"),sf=Symbol.for("react.context"),af=Symbol.for("react.forward_ref"),cf=Symbol.for("react.suspense"),ff=Symbol.for("react.memo"),df=Symbol.for("react.lazy"),iu=Symbol.iterator;function pf(e){return e===null||typeof e!="object"?null:(e=iu&&e[iu]||e["@@iterator"],typeof e=="function"?e:null)}var _s={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},js=Object.assign,Ts={};function dn(e,t,n){this.props=e,this.context=t,this.refs=Ts,this.updater=n||_s}dn.prototype.isReactComponent={};dn.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")};dn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Rs(){}Rs.prototype=dn.prototype;function lo(e,t,n){this.props=e,this.context=t,this.refs=Ts,this.updater=n||_s}var io=lo.prototype=new Rs;io.constructor=lo;js(io,dn.prototype);io.isPureReactComponent=!0;var ou=Array.isArray,Ls=Object.prototype.hasOwnProperty,oo={current:null},zs={key:!0,ref:!0,__self:!0,__source:!0};function Os(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)Ls.call(t,r)&&!zs.hasOwnProperty(r)&&(l[r]=t[r]);var u=arguments.length-2;if(u===1)l.children=n;else if(1>>1,Z=N[Q];if(0>>1;Ql(Ol,L))ktl(pr,Ol)?(N[Q]=pr,N[kt]=L,Q=kt):(N[Q]=Ol,N[St]=L,Q=St);else if(ktl(pr,L))N[Q]=pr,N[kt]=L,Q=kt;else break e}}return R}function l(N,R){var L=N.sortIndex-R.sortIndex;return L!==0?L:N.id-R.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 s=[],a=[],m=1,p=null,v=3,w=!1,y=!1,x=!1,C=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,c=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(N){for(var R=n(a);R!==null;){if(R.callback===null)r(a);else if(R.startTime<=N)r(a),R.sortIndex=R.expirationTime,t(s,R);else break;R=n(a)}}function g(N){if(x=!1,d(N),!y)if(n(s)!==null)y=!0,Ll(E);else{var R=n(a);R!==null&&zl(g,R.startTime-N)}}function E(N,R){y=!1,x&&(x=!1,f(T),T=-1),w=!0;var L=v;try{for(d(R),p=n(s);p!==null&&(!(p.expirationTime>R)||N&&!Te());){var Q=p.callback;if(typeof Q=="function"){p.callback=null,v=p.priorityLevel;var Z=Q(p.expirationTime<=R);R=e.unstable_now(),typeof Z=="function"?p.callback=Z:p===n(s)&&r(s),d(R)}else r(s);p=n(s)}if(p!==null)var dr=!0;else{var St=n(a);St!==null&&zl(g,St.startTime-R),dr=!1}return dr}finally{p=null,v=L,w=!1}}var _=!1,j=null,T=-1,H=5,O=-1;function Te(){return!(e.unstable_now()-ON||125Q?(N.sortIndex=L,t(a,N),n(s)===null&&N===n(a)&&(x?(f(T),T=-1):x=!0,zl(g,L-Q))):(N.sortIndex=Z,t(s,N),y||w||(y=!0,Ll(E))),N},e.unstable_shouldYield=Te,e.unstable_wrapCallback=function(N){var R=v;return function(){var L=v;v=R;try{return N.apply(this,arguments)}finally{v=L}}}})(As);Us.exports=As;var Pf=Us.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 Nf=k,we=Pf;function S(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"),ai=Object.prototype.hasOwnProperty,_f=/^[: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]*$/,su={},au={};function jf(e){return ai.call(au,e)?!0:ai.call(su,e)?!1:_f.test(e)?au[e]=!0:(su[e]=!0,!1)}function Tf(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 Rf(e,t,n,r){if(t===null||typeof t>"u"||Tf(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 ce(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 ne={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ne[e]=new ce(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ne[t]=new ce(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ne[e]=new ce(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ne[e]=new ce(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){ne[e]=new ce(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ne[e]=new ce(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ne[e]=new ce(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ne[e]=new ce(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ne[e]=new ce(e,5,!1,e.toLowerCase(),null,!1,!1)});var so=/[\-:]([a-z])/g;function ao(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(so,ao);ne[t]=new ce(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(so,ao);ne[t]=new ce(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(so,ao);ne[t]=new ce(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ne[e]=new ce(e,1,!1,e.toLowerCase(),null,!1,!1)});ne.xlinkHref=new ce("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ne[e]=new ce(e,1,!1,e.toLowerCase(),null,!0,!0)});function co(e,t,n,r){var l=ne.hasOwnProperty(t)?ne[t]:null;(l!==null?l.type!==0:r||!(2u||l[o]!==i[u]){var s=` `+l[o].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=o&&0<=u);break}}}finally{Ml=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Nn(e):""}function Lf(e){switch(e.tag){case 5:return Nn(e.type);case 16:return Nn("Lazy");case 13:return Nn("Suspense");case 19:return Nn("SuspenseList");case 0:case 2:case 15:return e=Dl(e.type,!1),e;case 11:return e=Dl(e.type.render,!1),e;case 1:return e=Dl(e.type,!0),e;default:return""}}function pi(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 $t:return"Fragment";case Bt:return"Portal";case ci:return"Profiler";case fo:return"StrictMode";case fi:return"Suspense";case di:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ws:return(e.displayName||"Context")+".Consumer";case $s:return(e._context.displayName||"Context")+".Provider";case po:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ho:return t=e.displayName||null,t!==null?t:pi(e.type)||"Memo";case be:t=e._payload,e=e._init;try{return pi(e(t))}catch{}}return null}function zf(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 pi(t);case 8:return t===fo?"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 mt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Hs(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Of(e){var t=Hs(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 vr(e){e._valueTracker||(e._valueTracker=Of(e))}function Qs(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Hs(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Vr(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 hi(e,t){var n=t.checked;return W({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function fu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=mt(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 Ks(e,t){t=t.checked,t!=null&&co(e,"checked",t,!1)}function mi(e,t){Ks(e,t);var n=mt(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")?vi(e,t.type,n):t.hasOwnProperty("defaultValue")&&vi(e,t.type,mt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function du(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 vi(e,t,n){(t!=="number"||Vr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var _n=Array.isArray;function qt(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=gr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Bn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Rn={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},If=["Webkit","ms","Moz","O"];Object.keys(Rn).forEach(function(e){If.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Rn[t]=Rn[e]})});function Js(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Rn.hasOwnProperty(e)&&Rn[e]?(""+t).trim():t+"px"}function Zs(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=Js(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var Ff=W({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 wi(e,t){if(t){if(Ff[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(S(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(S(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(S(61))}if(t.style!=null&&typeof t.style!="object")throw Error(S(62))}}function xi(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 Si=null;function mo(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ki=null,bt=null,en=null;function mu(e){if(e=ur(e)){if(typeof ki!="function")throw Error(S(280));var t=e.stateNode;t&&(t=wl(t),ki(e.stateNode,e.type,t))}}function qs(e){bt?en?en.push(e):en=[e]:bt=e}function bs(){if(bt){var e=bt,t=en;if(en=bt=null,mu(e),t)for(e=0;e>>=0,e===0?32:31-(Kf(e)/Gf|0)|0}var yr=64,wr=4194304;function jn(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 Gr(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=jn(u):(i&=o,i!==0&&(r=jn(i)))}else o=n&~l,o!==0?r=jn(o):i!==0&&(r=jn(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 ir(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ie(t),e[t]=n}function Zf(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=zn),Cu=" ",Pu=!1;function wa(e,t){switch(e){case"keyup":return Pd.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function xa(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Wt=!1;function _d(e,t){switch(e){case"compositionend":return xa(t);case"keypress":return t.which!==32?null:(Pu=!0,Cu);case"textInput":return e=t.data,e===Cu&&Pu?null:e;default:return null}}function jd(e,t){if(Wt)return e==="compositionend"||!Eo&&wa(e,t)?(e=ga(),Ir=xo=rt=null,Wt=!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=Tu(n)}}function Ca(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Ca(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Pa(){for(var e=window,t=Vr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Vr(e.document)}return t}function Co(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 Dd(e){var t=Pa(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Ca(n.ownerDocument.documentElement,n)){if(r!==null&&Co(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=Ru(n,i);var o=Ru(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,Vt=null,ji=null,In=null,Ti=!1;function Lu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ti||Vt==null||Vt!==Vr(r)||(r=Vt,"selectionStart"in r&&Co(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}),In&&Kn(In,r)||(In=r,r=Jr(ji,"onSelect"),0Kt||(e.current=Fi[Kt],Fi[Kt]=null,Kt--)}function M(e,t){Kt++,Fi[Kt]=e.current,e.current=t}var vt={},oe=yt(vt),pe=yt(!1),Rt=vt;function on(e,t){var n=e.type.contextTypes;if(!n)return vt;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 he(e){return e=e.childContextTypes,e!=null}function qr(){U(pe),U(oe)}function Uu(e,t,n){if(oe.current!==vt)throw Error(S(168));M(oe,t),M(pe,n)}function Ia(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(S(108,zf(e)||"Unknown",l));return W({},n,r)}function br(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||vt,Rt=oe.current,M(oe,e),M(pe,pe.current),!0}function Au(e,t,n){var r=e.stateNode;if(!r)throw Error(S(169));n?(e=Ia(e,t,Rt),r.__reactInternalMemoizedMergedChildContext=e,U(pe),U(oe),M(oe,e)):U(pe),M(pe,n)}var Ve=null,xl=!1,Zl=!1;function Fa(e){Ve===null?Ve=[e]:Ve.push(e)}function Yd(e){xl=!0,Fa(e)}function wt(){if(!Zl&&Ve!==null){Zl=!0;var e=0,t=F;try{var n=Ve;for(F=1;e>=o,l-=o,He=1<<32-Ie(t)+l|n<T?(H=j,j=null):H=j.sibling;var O=v(f,j,d[T],g);if(O===null){j===null&&(j=H);break}e&&j&&O.alternate===null&&t(f,j),c=i(O,c,T),_===null?E=O:_.sibling=O,_=O,j=H}if(T===d.length)return n(f,j),A&&Et(f,T),E;if(j===null){for(;TT?(H=j,j=null):H=j.sibling;var Te=v(f,j,O.value,g);if(Te===null){j===null&&(j=H);break}e&&j&&Te.alternate===null&&t(f,j),c=i(Te,c,T),_===null?E=Te:_.sibling=Te,_=Te,j=H}if(O.done)return n(f,j),A&&Et(f,T),E;if(j===null){for(;!O.done;T++,O=d.next())O=p(f,O.value,g),O!==null&&(c=i(O,c,T),_===null?E=O:_.sibling=O,_=O);return A&&Et(f,T),E}for(j=r(f,j);!O.done;T++,O=d.next())O=w(j,f,T,O.value,g),O!==null&&(e&&O.alternate!==null&&j.delete(O.key===null?T:O.key),c=i(O,c,T),_===null?E=O:_.sibling=O,_=O);return e&&j.forEach(function(vn){return t(f,vn)}),A&&Et(f,T),E}function C(f,c,d,g){if(typeof d=="object"&&d!==null&&d.type===$t&&d.key===null&&(d=d.props.children),typeof d=="object"&&d!==null){switch(d.$$typeof){case mr:e:{for(var E=d.key,_=c;_!==null;){if(_.key===E){if(E=d.type,E===$t){if(_.tag===7){n(f,_.sibling),c=l(_,d.props.children),c.return=f,f=c;break e}}else if(_.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===be&&Wu(E)===_.type){n(f,_.sibling),c=l(_,d.props),c.ref=En(f,_,d),c.return=f,f=c;break e}n(f,_);break}else t(f,_);_=_.sibling}d.type===$t?(c=Tt(d.props.children,f.mode,g,d.key),c.return=f,f=c):(g=Wr(d.type,d.key,d.props,null,f.mode,g),g.ref=En(f,c,d),g.return=f,f=g)}return o(f);case Bt:e:{for(_=d.key;c!==null;){if(c.key===_)if(c.tag===4&&c.stateNode.containerInfo===d.containerInfo&&c.stateNode.implementation===d.implementation){n(f,c.sibling),c=l(c,d.children||[]),c.return=f,f=c;break e}else{n(f,c);break}else t(f,c);c=c.sibling}c=ii(d,f.mode,g),c.return=f,f=c}return o(f);case be:return _=d._init,C(f,c,_(d._payload),g)}if(_n(d))return y(f,c,d,g);if(yn(d))return x(f,c,d,g);Nr(f,d)}return typeof d=="string"&&d!==""||typeof d=="number"?(d=""+d,c!==null&&c.tag===6?(n(f,c.sibling),c=l(c,d),c.return=f,f=c):(n(f,c),c=li(d,f.mode,g),c.return=f,f=c),o(f)):n(f,c)}return C}var sn=Aa(!0),Ba=Aa(!1),nl=yt(null),rl=null,Yt=null,jo=null;function To(){jo=Yt=rl=null}function Ro(e){var t=nl.current;U(nl),e._currentValue=t}function Ui(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function nn(e,t){rl=e,jo=Yt=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(de=!0),e.firstContext=null)}function _e(e){var t=e._currentValue;if(jo!==e)if(e={context:e,memoizedValue:t,next:null},Yt===null){if(rl===null)throw Error(S(308));Yt=e,rl.dependencies={lanes:0,firstContext:e}}else Yt=Yt.next=e;return t}var Nt=null;function Lo(e){Nt===null?Nt=[e]:Nt.push(e)}function $a(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,Lo(t)):(n.next=l.next,l.next=n),t.interleaved=n,Ye(e,r)}function Ye(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var et=!1;function zo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Wa(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ke(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ct(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,I&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,Ye(e,n)}return l=r.interleaved,l===null?(t.next=t,Lo(r)):(t.next=l.next,l.next=t),r.interleaved=t,Ye(e,n)}function Mr(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,go(e,n)}}function Vu(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?l=i=o:i=i.next=o,n=n.next}while(n!==null);i===null?l=i=t:i=i.next=t}else l=i=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ll(e,t,n,r){var l=e.updateQueue;et=!1;var i=l.firstBaseUpdate,o=l.lastBaseUpdate,u=l.shared.pending;if(u!==null){l.shared.pending=null;var s=u,a=s.next;s.next=null,o===null?i=a:o.next=a,o=s;var m=e.alternate;m!==null&&(m=m.updateQueue,u=m.lastBaseUpdate,u!==o&&(u===null?m.firstBaseUpdate=a:u.next=a,m.lastBaseUpdate=s))}if(i!==null){var p=l.baseState;o=0,m=a=s=null,u=i;do{var v=u.lane,w=u.eventTime;if((r&v)===v){m!==null&&(m=m.next={eventTime:w,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var y=e,x=u;switch(v=t,w=n,x.tag){case 1:if(y=x.payload,typeof y=="function"){p=y.call(w,p,v);break e}p=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=x.payload,v=typeof y=="function"?y.call(w,p,v):y,v==null)break e;p=W({},p,v);break e;case 2:et=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,v=l.effects,v===null?l.effects=[u]:v.push(u))}else w={eventTime:w,lane:v,tag:u.tag,payload:u.payload,callback:u.callback,next:null},m===null?(a=m=w,s=p):m=m.next=w,o|=v;if(u=u.next,u===null){if(u=l.shared.pending,u===null)break;v=u,u=v.next,v.next=null,l.lastBaseUpdate=v,l.shared.pending=null}}while(!0);if(m===null&&(s=p),l.baseState=s,l.firstBaseUpdate=a,l.lastBaseUpdate=m,t=l.shared.interleaved,t!==null){l=t;do o|=l.lane,l=l.next;while(l!==t)}else i===null&&(l.shared.lanes=0);Ot|=o,e.lanes=o,e.memoizedState=p}}function Hu(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=bl.transition;bl.transition={};try{e(!1),t()}finally{F=n,bl.transition=r}}function ic(){return je().memoizedState}function bd(e,t,n){var r=dt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},oc(e))uc(t,n);else if(n=$a(e,t,n,r),n!==null){var l=se();Fe(n,e,r,l),sc(n,t,r)}}function ep(e,t,n){var r=dt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(oc(e))uc(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,Me(u,o)){var s=t.interleaved;s===null?(l.next=l,Lo(t)):(l.next=s.next,s.next=l),t.interleaved=l;return}}catch{}finally{}n=$a(e,t,l,r),n!==null&&(l=se(),Fe(n,e,r,l),sc(n,t,r))}}function oc(e){var t=e.alternate;return e===$||t!==null&&t===$}function uc(e,t){Fn=ol=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function sc(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,go(e,n)}}var ul={readContext:_e,useCallback:re,useContext:re,useEffect:re,useImperativeHandle:re,useInsertionEffect:re,useLayoutEffect:re,useMemo:re,useReducer:re,useRef:re,useState:re,useDebugValue:re,useDeferredValue:re,useTransition:re,useMutableSource:re,useSyncExternalStore:re,useId:re,unstable_isNewReconciler:!1},tp={readContext:_e,useCallback:function(e,t){return Ue().memoizedState=[e,t===void 0?null:t],e},useContext:_e,useEffect:Ku,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Ur(4194308,4,ec.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ur(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ur(4,2,e,t)},useMemo:function(e,t){var n=Ue();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ue();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=bd.bind(null,$,e),[r.memoizedState,e]},useRef:function(e){var t=Ue();return e={current:e},t.memoizedState=e},useState:Qu,useDebugValue:Bo,useDeferredValue:function(e){return Ue().memoizedState=e},useTransition:function(){var e=Qu(!1),t=e[0];return e=qd.bind(null,e[1]),Ue().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=$,l=Ue();if(A){if(n===void 0)throw Error(S(407));n=n()}else{if(n=t(),b===null)throw Error(S(349));zt&30||Ka(r,t,n)}l.memoizedState=n;var i={value:n,getSnapshot:t};return l.queue=i,Ku(Xa.bind(null,r,i,e),[e]),r.flags|=2048,er(9,Ga.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Ue(),t=b.identifierPrefix;if(A){var n=Qe,r=He;n=(r&~(1<<32-Ie(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=qn++,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[Ae]=t,e[Yn]=r,yc(e,t,!1,!1),t.stateNode=e;e:{switch(o=xi(n,r),n){case"dialog":D("cancel",e),D("close",e),l=r;break;case"iframe":case"object":case"embed":D("load",e),l=r;break;case"video":case"audio":for(l=0;lfn&&(t.flags|=128,r=!0,Cn(i,!1),t.lanes=4194304)}else{if(!r)if(e=il(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Cn(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!A)return le(t),null}else 2*K()-i.renderingStartTime>fn&&n!==1073741824&&(t.flags|=128,r=!0,Cn(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=K(),t.sibling=null,n=B.current,M(B,r?n&1|2:n&1),t):(le(t),null);case 22:case 23:return Ko(),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(S(156,t.tag))}function ap(e,t){switch(No(t),t.tag){case 1:return he(t.type)&&qr(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return an(),U(pe),U(oe),Fo(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Io(t),null;case 13:if(U(B),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(S(340));un()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return U(B),null;case 4:return an(),null;case 10:return Ro(t.type._context),null;case 22:case 23:return Ko(),null;case 24:return null;default:return null}}var jr=!1,ie=!1,cp=typeof WeakSet=="function"?WeakSet:Set,P=null;function Jt(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){V(e,t,r)}else n.current=null}function Gi(e,t,n){try{n()}catch(r){V(e,t,r)}}var rs=!1;function fp(e,t){if(Ri=Xr,e=Pa(),Co(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,s=-1,a=0,m=0,p=e,v=null;t:for(;;){for(var w;p!==n||l!==0&&p.nodeType!==3||(u=o+l),p!==i||r!==0&&p.nodeType!==3||(s=o+r),p.nodeType===3&&(o+=p.nodeValue.length),(w=p.firstChild)!==null;)v=p,p=w;for(;;){if(p===e)break t;if(v===n&&++a===l&&(u=o),v===i&&++m===r&&(s=o),(w=p.nextSibling)!==null)break;p=v,v=p.parentNode}p=w}n=u===-1||s===-1?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(Li={focusedElem:e,selectionRange:n},Xr=!1,P=t;P!==null;)if(t=P,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,P=e;else for(;P!==null;){t=P;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 x=y.memoizedProps,C=y.memoizedState,f=t.stateNode,c=f.getSnapshotBeforeUpdate(t.elementType===t.type?x:Le(t.type,x),C);f.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var d=t.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(S(163))}}catch(g){V(t,t.return,g)}if(e=t.sibling,e!==null){e.return=t.return,P=e;break}P=t.return}return y=rs,rs=!1,y}function Mn(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&&Gi(t,n,i)}l=l.next}while(l!==r)}}function El(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 Xi(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 Sc(e){var t=e.alternate;t!==null&&(e.alternate=null,Sc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ae],delete t[Yn],delete t[Ii],delete t[Gd],delete t[Xd])),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 kc(e){return e.tag===5||e.tag===3||e.tag===4}function ls(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||kc(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 Yi(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=Zr));else if(r!==4&&(e=e.child,e!==null))for(Yi(e,t,n),e=e.sibling;e!==null;)Yi(e,t,n),e=e.sibling}function Ji(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(Ji(e,t,n),e=e.sibling;e!==null;)Ji(e,t,n),e=e.sibling}var ee=null,ze=!1;function qe(e,t,n){for(n=n.child;n!==null;)Ec(e,t,n),n=n.sibling}function Ec(e,t,n){if(Be&&typeof Be.onCommitFiberUnmount=="function")try{Be.onCommitFiberUnmount(ml,n)}catch{}switch(n.tag){case 5:ie||Jt(n,t);case 6:var r=ee,l=ze;ee=null,qe(e,t,n),ee=r,ze=l,ee!==null&&(ze?(e=ee,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ee.removeChild(n.stateNode));break;case 18:ee!==null&&(ze?(e=ee,n=n.stateNode,e.nodeType===8?Jl(e.parentNode,n):e.nodeType===1&&Jl(e,n),Hn(e)):Jl(ee,n.stateNode));break;case 4:r=ee,l=ze,ee=n.stateNode.containerInfo,ze=!0,qe(e,t,n),ee=r,ze=l;break;case 0:case 11:case 14:case 15:if(!ie&&(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)&&Gi(n,t,o),l=l.next}while(l!==r)}qe(e,t,n);break;case 1:if(!ie&&(Jt(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){V(n,t,u)}qe(e,t,n);break;case 21:qe(e,t,n);break;case 22:n.mode&1?(ie=(r=ie)||n.memoizedState!==null,qe(e,t,n),ie=r):qe(e,t,n);break;default:qe(e,t,n)}}function is(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new cp),t.forEach(function(r){var l=xp.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function Re(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=o),r&=~i}if(r=l,r=K()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*pp(r/1960))-r,10e?16:e,lt===null)var r=!1;else{if(e=lt,lt=null,cl=0,I&6)throw Error(S(331));var l=I;for(I|=4,P=e.current;P!==null;){var i=P,o=i.child;if(P.flags&16){var u=i.deletions;if(u!==null){for(var s=0;sK()-Ho?jt(e,0):Vo|=n),me(e,t)}function Lc(e,t){t===0&&(e.mode&1?(t=wr,wr<<=1,!(wr&130023424)&&(wr=4194304)):t=1);var n=se();e=Ye(e,t),e!==null&&(ir(e,t,n),me(e,n))}function wp(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Lc(e,n)}function xp(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(S(314))}r!==null&&r.delete(t),Lc(e,n)}var zc;zc=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||pe.current)de=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return de=!1,up(e,t,n);de=!!(e.flags&131072)}else de=!1,A&&t.flags&1048576&&Ma(t,tl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ar(e,t),e=t.pendingProps;var l=on(t,oe.current);nn(t,n),l=Do(null,t,r,e,l,n);var i=Uo();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,he(r)?(i=!0,br(t)):i=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,zo(t),l.updater=kl,t.stateNode=l,l._reactInternals=t,Bi(t,r,e,n),t=Vi(null,t,r,!0,i,n)):(t.tag=0,A&&i&&Po(t),ue(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ar(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=kp(r),e=Le(r,e),l){case 0:t=Wi(null,t,r,e,n);break e;case 1:t=es(null,t,r,e,n);break e;case 11:t=qu(null,t,r,e,n);break e;case 14:t=bu(null,t,r,Le(r.type,e),n);break e}throw Error(S(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Le(r,l),Wi(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Le(r,l),es(e,t,r,l,n);case 3:e:{if(mc(t),e===null)throw Error(S(387));r=t.pendingProps,i=t.memoizedState,l=i.element,Wa(e,t),ll(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=cn(Error(S(423)),t),t=ts(e,t,r,n,l);break e}else if(r!==l){l=cn(Error(S(424)),t),t=ts(e,t,r,n,l);break e}else for(ge=at(t.stateNode.containerInfo.firstChild),ye=t,A=!0,Oe=null,n=Ba(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(un(),r===l){t=Je(e,t,n);break e}ue(e,t,r,n)}t=t.child}return t;case 5:return Va(t),e===null&&Di(t),r=t.type,l=t.pendingProps,i=e!==null?e.memoizedProps:null,o=l.children,zi(r,l)?o=null:i!==null&&zi(r,i)&&(t.flags|=32),hc(e,t),ue(e,t,o,n),t.child;case 6:return e===null&&Di(t),null;case 13:return vc(e,t,n);case 4:return Oo(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=sn(t,null,r,n):ue(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Le(r,l),qu(e,t,r,l,n);case 7:return ue(e,t,t.pendingProps,n),t.child;case 8:return ue(e,t,t.pendingProps.children,n),t.child;case 12:return ue(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,M(nl,r._currentValue),r._currentValue=o,i!==null)if(Me(i.value,o)){if(i.children===l.children&&!pe.current){t=Je(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 s=u.firstContext;s!==null;){if(s.context===r){if(i.tag===1){s=Ke(-1,n&-n),s.tag=2;var a=i.updateQueue;if(a!==null){a=a.shared;var m=a.pending;m===null?s.next=s:(s.next=m.next,m.next=s),a.pending=s}}i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),Ui(i.return,n,t),u.lanes|=n;break}s=s.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(S(341));o.lanes|=n,u=o.alternate,u!==null&&(u.lanes|=n),Ui(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}ue(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,nn(t,n),l=_e(l),r=r(l),t.flags|=1,ue(e,t,r,n),t.child;case 14:return r=t.type,l=Le(r,t.pendingProps),l=Le(r.type,l),bu(e,t,r,l,n);case 15:return dc(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Le(r,l),Ar(e,t),t.tag=1,he(r)?(e=!0,br(t)):e=!1,nn(t,n),ac(t,r,l),Bi(t,r,l,n),Vi(null,t,r,!0,e,n);case 19:return gc(e,t,n);case 22:return pc(e,t,n)}throw Error(S(156,t.tag))};function Oc(e,t){return oa(e,t)}function Sp(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 Ce(e,t,n,r){return new Sp(e,t,n,r)}function Xo(e){return e=e.prototype,!(!e||!e.isReactComponent)}function kp(e){if(typeof e=="function")return Xo(e)?1:0;if(e!=null){if(e=e.$$typeof,e===po)return 11;if(e===ho)return 14}return 2}function pt(e,t){var n=e.alternate;return n===null?(n=Ce(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 Wr(e,t,n,r,l,i){var o=2;if(r=e,typeof e=="function")Xo(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case $t:return Tt(n.children,l,i,t);case fo:o=8,l|=8;break;case ci:return e=Ce(12,n,t,l|2),e.elementType=ci,e.lanes=i,e;case fi:return e=Ce(13,n,t,l),e.elementType=fi,e.lanes=i,e;case di:return e=Ce(19,n,t,l),e.elementType=di,e.lanes=i,e;case Vs:return Pl(n,l,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case $s:o=10;break e;case Ws:o=9;break e;case po:o=11;break e;case ho:o=14;break e;case be:o=16,r=null;break e}throw Error(S(130,e==null?e:typeof e,""))}return t=Ce(o,n,t,l),t.elementType=e,t.type=r,t.lanes=i,t}function Tt(e,t,n,r){return e=Ce(7,e,r,t),e.lanes=n,e}function Pl(e,t,n,r){return e=Ce(22,e,r,t),e.elementType=Vs,e.lanes=n,e.stateNode={isHidden:!1},e}function li(e,t,n){return e=Ce(6,e,null,t),e.lanes=n,e}function ii(e,t,n){return t=Ce(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ep(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=Al(0),this.expirationTimes=Al(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Al(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Yo(e,t,n,r,l,i,o,u,s){return e=new Ep(e,t,n,u,s),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Ce(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},zo(i),e}function Cp(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Dc)}catch(e){console.error(e)}}Dc(),Ds.exports=xe;var Tp=Ds.exports,ps=Tp;si.createRoot=ps.createRoot,si.hydrateRoot=ps.hydrateRoot;/** * @remix-run/router v1.23.4 * * 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 nr(){return nr=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Uc(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Lp(){return Math.random().toString(36).substr(2,8)}function ms(e,t){return{usr:e.state,key:e.key,idx:t}}function to(e,t,n,r){return n===void 0&&(n=null),nr({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?mn(t):t,{state:n,key:t&&t.key||r||Lp()})}function pl(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 mn(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 zp(e,t,n,r){r===void 0&&(r={});let{window:l=document.defaultView,v5Compat:i=!1}=r,o=l.history,u=it.Pop,s=null,a=m();a==null&&(a=0,o.replaceState(nr({},o.state,{idx:a}),""));function m(){return(o.state||{idx:null}).idx}function p(){u=it.Pop;let C=m(),f=C==null?null:C-a;a=C,s&&s({action:u,location:x.location,delta:f})}function v(C,f){u=it.Push;let c=to(x.location,C,f);a=m()+1;let d=ms(c,a),g=x.createHref(c);try{o.pushState(d,"",g)}catch(E){if(E instanceof DOMException&&E.name==="DataCloneError")throw E;l.location.assign(g)}i&&s&&s({action:u,location:x.location,delta:1})}function w(C,f){u=it.Replace;let c=to(x.location,C,f);a=m();let d=ms(c,a),g=x.createHref(c);o.replaceState(d,"",g),i&&s&&s({action:u,location:x.location,delta:0})}function y(C){let f=l.location.origin!=="null"?l.location.origin:l.location.href,c=typeof C=="string"?C:pl(C);return c=c.replace(/ $/,"%20"),X(f,"No window.location.(origin|href) available to create URL for href: "+c),new URL(c,f)}let x={get action(){return u},get location(){return e(l,o)},listen(C){if(s)throw new Error("A history only accepts one active listener");return l.addEventListener(hs,p),s=C,()=>{l.removeEventListener(hs,p),s=null}},createHref(C){return t(l,C)},createURL:y,encodeLocation(C){let f=y(C);return{pathname:f.pathname,search:f.search,hash:f.hash}},push:v,replace:w,go(C){return o.go(C)}};return x}var vs;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(vs||(vs={}));function Op(e,t,n){return n===void 0&&(n="/"),Ip(e,t,n)}function Ip(e,t,n,r){let l=typeof t=="string"?mn(t):t,i=bo(l.pathname||"/",n);if(i==null)return null;let o=Ac(e);Fp(o);let u=null,s=Gp(i);for(let a=0;u==null&&a{let s={relativePath:u===void 0?i.path||"":u,caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};s.relativePath.startsWith("/")&&(X(s.relativePath.startsWith(r),'Absolute route path "'+s.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),s.relativePath=s.relativePath.slice(r.length));let a=ht([r,s.relativePath]),m=n.concat(s);i.children&&i.children.length>0&&(X(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+a+'".')),Ac(i.children,t,m,a)),!(i.path==null&&!i.index)&&t.push({path:a,score:Wp(a,i.index),routesMeta:m})};return e.forEach((i,o)=>{var u;if(i.path===""||!((u=i.path)!=null&&u.includes("?")))l(i,o);else for(let s of Bc(i.path))l(i,o,s)}),t}function Bc(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=Bc(r.join("/")),u=[];return u.push(...o.map(s=>s===""?i:[i,s].join("/"))),l&&u.push(...o),u.map(s=>e.startsWith("/")&&s===""?"/":s)}function Fp(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Vp(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const Mp=/^:[\w-]+$/,Dp=3,Up=2,Ap=1,Bp=10,$p=-2,gs=e=>e==="*";function Wp(e,t){let n=e.split("/"),r=n.length;return n.some(gs)&&(r+=$p),t&&(r+=Up),n.filter(l=>!gs(l)).reduce((l,i)=>l+(Mp.test(i)?Dp:i===""?Ap:Bp),r)}function Vp(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 Hp(e,t,n){let{routesMeta:r}=e,l={},i="/",o=[];for(let u=0;u{let{paramName:v,isOptional:w}=m;if(v==="*"){let x=u[p]||"";o=i.slice(0,i.length-x.length).replace(/(.)\/+$/,"$1")}const y=u[p];return w&&!y?a[v]=void 0:a[v]=(y||"").replace(/%2F/g,"/"),a},{}),pathname:i,pathnameBase:o,pattern:e}}function Kp(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Uc(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,s)=>(r.push({paramName:u,isOptional:s!=null}),s?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),r]}function Gp(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Uc(!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 bo(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 Xp(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:l=""}=typeof e=="string"?mn(e):e,i;return n?(n=Vc(n),n.startsWith("/")?i=ys(n.substring(1),"/"):i=ys(n,t)):i=t,{pathname:i,search:Zp(r),hash:qp(l)}}function ys(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 oi(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 Yp(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function $c(e,t){let n=Yp(e);return t?n.map((r,l)=>l===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Wc(e,t,n,r){r===void 0&&(r=!1);let l;typeof e=="string"?l=mn(e):(l=nr({},e),X(!l.pathname||!l.pathname.includes("?"),oi("?","pathname","search",l)),X(!l.pathname||!l.pathname.includes("#"),oi("#","pathname","hash",l)),X(!l.search||!l.search.includes("#"),oi("#","search","hash",l)));let i=e===""||l.pathname==="",o=i?"/":l.pathname,u;if(o==null)u=n;else{let p=t.length-1;if(!r&&o.startsWith("..")){let v=o.split("/");for(;v[0]==="..";)v.shift(),p-=1;l.pathname=v.join("/")}u=p>=0?t[p]:"/"}let s=Xp(l,u),a=o&&o!=="/"&&o.endsWith("/"),m=(i||o===".")&&n.endsWith("/");return!s.pathname.endsWith("/")&&(a||m)&&(s.pathname+="/"),s}const Vc=e=>e.replace(/\/\/+/g,"/"),ht=e=>Vc(e.join("/")),Jp=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Zp=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,qp=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function bp(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Hc=["post","put","patch","delete"];new Set(Hc);const eh=["get",...Hc];new Set(eh);/** * React Router v6.30.6 * * 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 rr(){return rr=Object.assign?Object.assign.bind():function(e){for(var t=1;t{u.current=!0}),k.useCallback(function(a,m){if(m===void 0&&(m={}),!u.current)return;if(typeof a=="number"){r.go(a);return}let p=Wc(a,JSON.parse(o),i,m.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:ht([t,p.pathname])),(m.replace?r.replace:r.push)(p,m.state,m)},[t,r,o,i,e])}function Gc(){let{matches:e}=k.useContext(xt),t=e[e.length-1];return t?t.params:{}}function Xc(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=k.useContext(Dt),{matches:l}=k.useContext(xt),{pathname:i}=cr(),o=JSON.stringify($c(l,r.v7_relativeSplatPath));return k.useMemo(()=>Wc(e,JSON.parse(o),i,n==="path"),[e,o,i,n])}function ih(e,t){return oh(e,t)}function oh(e,t,n,r){ar()||X(!1);let{navigator:l}=k.useContext(Dt),{matches:i}=k.useContext(xt),o=i[i.length-1],u=o?o.params:{};o&&o.pathname;let s=o?o.pathnameBase:"/";o&&o.route;let a=cr(),m;if(t){var p;let C=typeof t=="string"?mn(t):t;s==="/"||(p=C.pathname)!=null&&p.startsWith(s)||X(!1),m=C}else m=a;let v=m.pathname||"/",w=v;if(s!=="/"){let C=s.replace(/^\//,"").split("/");w="/"+v.replace(/^\//,"").split("/").slice(C.length).join("/")}let y=Op(e,{pathname:w}),x=fh(y&&y.map(C=>Object.assign({},C,{params:Object.assign({},u,C.params),pathname:ht([s,l.encodeLocation?l.encodeLocation(C.pathname).pathname:C.pathname]),pathnameBase:C.pathnameBase==="/"?s:ht([s,l.encodeLocation?l.encodeLocation(C.pathnameBase).pathname:C.pathnameBase])})),i,n,r);return t&&x?k.createElement(Rl.Provider,{value:{location:rr({pathname:"/",search:"",hash:"",state:null,key:"default"},m),navigationType:it.Pop}},x):x}function uh(){let e=mh(),t=bp(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)"};return k.createElement(k.Fragment,null,k.createElement("h2",null,"Unexpected Application Error!"),k.createElement("h3",{style:{fontStyle:"italic"}},t),n?k.createElement("pre",{style:l},n):null,null)}const sh=k.createElement(uh,null);class ah extends k.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?k.createElement(xt.Provider,{value:this.props.routeContext},k.createElement(Qc.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function ch(e){let{routeContext:t,match:n,children:r}=e,l=k.useContext(eu);return l&&l.static&&l.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=n.route.id),k.createElement(xt.Provider,{value:t},r)}function fh(e,t,n,r){var l;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,u=(l=n)==null?void 0:l.errors;if(u!=null){let m=o.findIndex(p=>p.route.id&&(u==null?void 0:u[p.route.id])!==void 0);m>=0||X(!1),o=o.slice(0,Math.min(o.length,m+1))}let s=!1,a=-1;if(n&&r&&r.v7_partialHydration)for(let m=0;m=0?o=o.slice(0,a+1):o=[o[0]];break}}}return o.reduceRight((m,p,v)=>{let w,y=!1,x=null,C=null;n&&(w=u&&p.route.id?u[p.route.id]:void 0,x=p.route.errorElement||sh,s&&(a<0&&v===0?(gh("route-fallback"),y=!0,C=null):a===v&&(y=!0,C=p.route.hydrateFallbackElement||null)));let f=t.concat(o.slice(0,v+1)),c=()=>{let d;return w?d=x:y?d=C:p.route.Component?d=k.createElement(p.route.Component,null):p.route.element?d=p.route.element:d=m,k.createElement(ch,{match:p,routeContext:{outlet:m,matches:f,isDataRoute:n!=null},children:d})};return n&&(p.route.ErrorBoundary||p.route.errorElement||v===0)?k.createElement(ah,{location:n.location,revalidation:n.revalidation,component:x,error:w,children:c(),routeContext:{outlet:null,matches:f,isDataRoute:!0}}):c()},null)}var Yc=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Yc||{}),Jc=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}(Jc||{});function dh(e){let t=k.useContext(eu);return t||X(!1),t}function ph(e){let t=k.useContext(th);return t||X(!1),t}function hh(e){let t=k.useContext(xt);return t||X(!1),t}function Zc(e){let t=hh(),n=t.matches[t.matches.length-1];return n.route.id||X(!1),n.route.id}function mh(){var e;let t=k.useContext(Qc),n=ph(),r=Zc();return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function vh(){let{router:e}=dh(Yc.UseNavigateStable),t=Zc(Jc.UseNavigateStable),n=k.useRef(!1);return Kc(()=>{n.current=!0}),k.useCallback(function(l,i){i===void 0&&(i={}),n.current&&(typeof l=="number"?e.navigate(l):e.navigate(l,rr({fromRouteId:t},i)))},[e,t])}const ws={};function gh(e,t,n){ws[e]||(ws[e]=!0)}function yh(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function At(e){X(!1)}function wh(e){let{basename:t="/",children:n=null,location:r,navigationType:l=it.Pop,navigator:i,static:o=!1,future:u}=e;ar()&&X(!1);let s=t.replace(/^\/*/,"/"),a=k.useMemo(()=>({basename:s,navigator:i,static:o,future:rr({v7_relativeSplatPath:!1},u)}),[s,u,i,o]);typeof r=="string"&&(r=mn(r));let{pathname:m="/",search:p="",hash:v="",state:w=null,key:y="default"}=r,x=k.useMemo(()=>{let C=bo(m,s);return C==null?null:{location:{pathname:C,search:p,hash:v,state:w,key:y},navigationType:l}},[s,m,p,v,w,y,l]);return x==null?null:k.createElement(Dt.Provider,{value:a},k.createElement(Rl.Provider,{children:n,value:x}))}function xh(e){let{children:t,location:n}=e;return ih(no(t),n)}new Promise(()=>{});function no(e,t){t===void 0&&(t=[]);let n=[];return k.Children.forEach(e,(r,l)=>{if(!k.isValidElement(r))return;let i=[...t,l];if(r.type===k.Fragment){n.push.apply(n,no(r.props.children,i));return}r.type!==At&&X(!1),!r.props.index||!r.props.children||X(!1);let o={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=no(r.props.children,i)),n.push(o)}),n}/** * React Router DOM v6.30.6 * * 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 ro(){return ro=Object.assign?Object.assign.bind():function(e){for(var t=1;t{a&&xs?xs(()=>s(p)):s(p)},[s,a]);return k.useLayoutEffect(()=>o.listen(m),[o,m]),k.useEffect(()=>yh(r),[r]),k.createElement(wh,{basename:t,children:n,location:u.location,navigationType:u.action,navigator:o,future:r})}const jh=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Th=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Pe=k.forwardRef(function(t,n){let{onClick:r,relative:l,reloadDocument:i,replace:o,state:u,target:s,to:a,preventScrollReset:m,viewTransition:p}=t,v=Sh(t,Ch),{basename:w}=k.useContext(Dt),y,x=!1;if(typeof a=="string"&&Th.test(a)&&(y=a,jh))try{let d=new URL(window.location.href),g=a.startsWith("//")?new URL(d.protocol+a):new URL(a),E=bo(g.pathname,w);g.origin===d.origin&&E!=null?a=E+g.search+g.hash:x=!0}catch{}let C=nh(a,{relative:l}),f=Rh(a,{replace:o,state:u,target:s,preventScrollReset:m,relative:l,viewTransition:p});function c(d){r&&r(d),d.defaultPrevented||f(d)}return k.createElement("a",ro({},v,{href:y||C,onClick:x||i?r:c,ref:n,target:s}))});var Ss;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Ss||(Ss={}));var ks;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(ks||(ks={}));function Rh(e,t){let{target:n,replace:r,state:l,preventScrollReset:i,relative:o,viewTransition:u}=t===void 0?{}:t,s=rh(),a=cr(),m=Xc(e,{relative:o});return k.useCallback(p=>{if(Eh(p,n)){p.preventDefault();let v=r!==void 0?r:pl(a)===pl(m);s(e,{replace:v,state:l,preventScrollReset:i,relative:o,viewTransition:u})}},[a,s,m,r,l,n,e,i,o,u])}const Lh={en:{tagline:"Leading the human-centric agentic era",admin:"Admin",copyright:"© 2026 Nexora. All rights reserved."},cn:{tagline:"以人为主体的智能体时代",admin:"管理",copyright:"© 2026 Nexora · 保留所有权利"}};function zh(){const[e,t]=k.useState(()=>localStorage.getItem("nexora.lang")||"en"),n=cr(),r=Lh[e];return k.useEffect(()=>{localStorage.setItem("nexora.lang",e),document.documentElement.lang=e},[e]),h.jsxs(h.Fragment,{children:[h.jsxs("div",{className:"frame-top",children:[h.jsxs(Pe,{to:"/",className:"brand-link",children:[h.jsx("div",{className:"sys-title",children:"Nexora"}),h.jsx("div",{className:"sys-subtitle",children:r.tagline})]}),h.jsxs("div",{className:"sys-meta-right",children:[h.jsxs("div",{className:"lang-picker",role:"group","aria-label":"Language",children:[h.jsx("button",{type:"button",className:`lang-btn ${e==="en"?"is-active":""}`,onClick:()=>t("en"),"aria-pressed":e==="en",children:"EN"}),h.jsx("span",{className:"lang-sep",children:"/"}),h.jsx("button",{type:"button",className:`lang-btn ${e==="cn"?"is-active":""}`,onClick:()=>t("cn"),"aria-pressed":e==="cn",children:"CN"})]}),h.jsx(Pe,{to:`/admin?from=${encodeURIComponent(n.pathname)}`,className:"admin-btn","aria-label":r.admin,children:r.admin})]})]}),h.jsxs("div",{className:"frame-bottom",children:[h.jsx("div",{className:"branding",children:r.copyright}),h.jsx("div",{className:"dot-signature",children:"•"})]})]})}const Oh=` attribute vec4 aVertexPosition; varying vec2 vUv; void main() { gl_Position = aVertexPosition; vUv = aVertexPosition.xy * 0.5 + 0.5; } `,Ih=` precision highp float; varying vec2 vUv; uniform float uTime; uniform vec2 uResolution; uniform vec2 uMouse; vec3 colorA = vec3(0.91, 0.36, 0.02); vec3 colorB = vec3(0.91, 0.77, 0.42); vec3 colorC = vec3(0.66, 0.85, 0.86); vec3 colorD = vec3(0.16, 0.62, 0.56); vec3 colorE = vec3(0.11, 0.21, 0.34); float random(vec2 st) { return fract(sin(dot(st.xy, vec2(12.9898,78.233))) * 43758.5453123); } vec3 mod289(vec3 x) { return x - floor(x * (1.0 / 289.0)) * 289.0; } vec2 mod289(vec2 x) { return x - floor(x * (1.0 / 289.0)) * 289.0; } vec3 permute(vec3 x) { return mod289(((x*34.0)+1.0)*x); } float snoise(vec2 v) { const vec4 C = vec4(0.211324865405187, 0.366025403784439, -0.577350269189626, 0.024390243902439); vec2 i = floor(v + dot(v, C.yy) ); vec2 x0 = v - i + dot(i, C.xx); vec2 i1; i1 = (x0.x > x0.y) ? vec2(1.0, 0.0) : vec2(0.0, 1.0); vec4 x12 = x0.xyxy + C.xxzz; x12.xy -= i1; i = mod289(i); vec3 p = permute( permute( i.y + vec3(0.0, i1.y, 1.0 )) + i.x + vec3(0.0, i1.x, 1.0 )); vec3 m = max(0.5 - vec3(dot(x0,x0), dot(x12.xy,x12.xy), dot(x12.zw,x12.zw)), 0.0); m = m*m; m = m*m; vec3 x = 2.0 * fract(p * C.www) - 1.0; vec3 h = abs(x) - 0.5; vec3 ox = floor(x + 0.5); vec3 a0 = x - ox; m *= 1.79284291400159 - 0.85373472095314 * ( a0*a0 + h*h ); vec3 g; g.x = a0.x * x0.x + h.x * x0.y; g.yz = a0.yz * x12.xz + h.yz * x12.yw; return 130.0 * dot(m, g); } void main() { vec2 st = gl_FragCoord.xy / uResolution.xy; st.x *= uResolution.x / uResolution.y; vec2 mouseOffset = (uMouse / uResolution) * 0.2; st += mouseOffset * 0.5; float n1 = snoise(st * 1.5 + uTime * 0.1); float n2 = snoise(st * 2.0 - uTime * 0.15 + n1); vec2 warpedSt = st + vec2(n1, n2) * 0.4; float d1 = length(warpedSt - vec2(0.2, 0.8)); float d2 = length(warpedSt - vec2(0.8, 0.2)); float d3 = length(warpedSt - vec2(0.5, 0.5)); vec3 finalColor = mix(colorA, colorB, smoothstep(0.0, 1.2, d1)); finalColor = mix(finalColor, colorC, smoothstep(0.2, 1.5, d3)); finalColor = mix(finalColor, colorE, smoothstep(0.4, 2.0, d2)); float cyanPop = snoise(st * 3.0 + uTime * 0.05); finalColor = mix(finalColor, colorD, smoothstep(0.5, 1.0, cyanPop) * 0.5); float grain = random(vUv * (uTime * 0.001 + 100.0)); float grainStrength = 0.18; vec3 grainyColor = finalColor + (grain - 0.5) * grainStrength; gl_FragColor = vec4(grainyColor, 1.0); } `;function Es(e,t,n){const r=e.createShader(t);return r?(e.shaderSource(r,n),e.compileShader(r),e.getShaderParameter(r,e.COMPILE_STATUS)?r:(console.error("Shader compile error:",e.getShaderInfoLog(r)),e.deleteShader(r),null)):null}function Fh(e){const t=Es(e,e.VERTEX_SHADER,Oh),n=Es(e,e.FRAGMENT_SHADER,Ih);if(!t||!n)return null;const r=e.createProgram();return r?(e.attachShader(r,t),e.attachShader(r,n),e.linkProgram(r),e.getProgramParameter(r,e.LINK_STATUS)?r:(console.error("Program link error:",e.getProgramInfoLog(r)),null)):null}function Mh(){const e=k.useRef(null);return k.useEffect(()=>{const t=e.current;if(!t)return;const n=t.getContext("webgl");if(!n){console.error("WebGL not supported");return}const r=Fh(n);if(!r)return;const l={vertexPosition:n.getAttribLocation(r,"aVertexPosition")},i={uTime:n.getUniformLocation(r,"uTime"),uResolution:n.getUniformLocation(r,"uResolution"),uMouse:n.getUniformLocation(r,"uMouse")},o=n.createBuffer();n.bindBuffer(n.ARRAY_BUFFER,o);const u=new Float32Array([1,1,-1,1,1,-1,-1,-1]);n.bufferData(n.ARRAY_BUFFER,u,n.STATIC_DRAW);let s=0,a=0;const m=y=>{s=y.clientX,a=window.innerHeight-y.clientY};window.addEventListener("mousemove",m);const p=()=>{const y=Math.min(window.devicePixelRatio||1,2),x=Math.max(t.clientWidth,document.documentElement.clientWidth),C=Math.max(t.clientHeight,document.documentElement.scrollHeight),f=Math.floor(x*y),c=Math.floor(C*y);return(t.width!==f||t.height!==c)&&(t.width=f,t.height=c),{w:x,h:C}};p(),window.addEventListener("resize",p);let v=0;const w=y=>{y*=.001,p(),n.viewport(0,0,t.width,t.height),n.useProgram(r),n.bindBuffer(n.ARRAY_BUFFER,o),n.vertexAttribPointer(l.vertexPosition,2,n.FLOAT,!1,0,0),n.enableVertexAttribArray(l.vertexPosition),n.uniform1f(i.uTime,y),n.uniform2f(i.uResolution,t.width,t.height),n.uniform2f(i.uMouse,s,a),n.drawArrays(n.TRIANGLE_STRIP,0,4),v=requestAnimationFrame(w)};return v=requestAnimationFrame(w),()=>{cancelAnimationFrame(v),window.removeEventListener("mousemove",m),window.removeEventListener("resize",p),n.deleteProgram(r),n.deleteBuffer(o)}},[]),h.jsx("canvas",{id:"glcanvas",ref:e})}const Dh={id:"research",index:"01",title:"Research",path:"/category/research",lede:"Where the work starts. Foundation models, agents, embedded + accelerator engineering.",subs:[{id:"llm",title:"LLM",path:"/category/research/llm",tagline:"Foundation models. Pre-training, SFT, RLHF, distillation."},{id:"agent",title:"Agent",path:"/category/research/agent",tagline:"Tool-using agents. Planning, memory, web + code + OS."},{id:"engineering",title:"Engineering",path:"/category/research/engineering",tagline:"From firmware to product. Driver + software + cloud."},{id:"hardware",title:"Hardware",path:"/category/research/hardware",tagline:"FPGA, edge accelerators, sensors, custom silicon."}]},Uh={id:"product",index:"02",title:"Product",path:"/category/product",lede:"What ships. Solutions, decoupled products, services, and the design system that ties them together.",subs:[{id:"solutions",title:"Solutions",path:"/category/product/solutions",tagline:"Applied AI for industry. Pilots to deployment."},{id:"standalone",title:"Decoupled",path:"/category/product/standalone",tagline:"Apps and the open source that backs them."},{id:"services",title:"Services",path:"/category/product/services",tagline:"Hosted endpoints, runtimes, and the API surface."},{id:"designs",title:"Designs",path:"/category/product/designs",tagline:"Visual + interaction system. Tokens, components, motion."}]},Ah={id:"vision",index:"03",title:"Vision",path:"/category/vision",lede:"Where the work is going. The long-form thinking behind the roadmap.",subs:[{id:"milestones",title:"Milestones",path:"/category/vision/milestones",tagline:"The markers that brought the work to where it is now."},{id:"news",title:"News",path:"/category/vision/news",tagline:"Releases, talks, press, public updates."},{id:"philosophy",title:"Philosophy",path:"/category/vision/philosophy",tagline:"How we work. Independent, long-term, open."}]},Bh={id:"reach",index:"04",title:"Reach",path:"/category/reach",lede:"Get in touch. Join, work with us, become a client, or meet us out there.",subs:[{id:"join",title:"Join",path:"/category/reach/join",tagline:"Open roles. Researchers, engineers, designers, operators."},{id:"us",title:"Us",path:"/category/reach/us",tagline:"About Nexora. The team, the model, the way we work."},{id:"clients",title:"Clients",path:"/category/reach/clients",tagline:"Production deployments with SLAs and support."},{id:"activities",title:"Activities",path:"/category/reach/activities",tagline:"Hackathons, competitions, intern program."}]},tu=[Dh,Uh,Ah,Bh],$h={research:{llm:{title:"LLM",tagline:"Foundation models and the IP they generate. Pre-training, post-training, distillation, continual learning.",blocks:[{kind:"hf_models"},{kind:"hf_datasets"}]},agent:{title:"Agent",tagline:"Tool-using agents. Planning, memory, multi-step reasoning, reproducible evals.",blocks:[{kind:"hf_spaces"},{kind:"gists",limit:12,filter:"agent",caption:"Agent research · gists"}]},engineering:{title:"Engineering",tagline:"Cross-stack software engineering. From firmware to product, end to end.",blocks:[{kind:"gists",limit:12,filter:"engineering",caption:"Engineering writing · gists"},{kind:"minervacap",limit:10,caption:"minervacap2022 · live repos"}]},hardware:{title:"Hardware",tagline:"Edge + local deployment. Apple Silicon, MLX, llama.cpp, on-device inference.",blocks:[{kind:"hf_datasets",caption:"HF · datasets · local + on-device deployment"},{kind:"hf_models",caption:"HF · models · MLX + GGUF local"}]}},product:{solutions:{title:"Solutions",tagline:"Applied AI for industry. Pilots → production.",blocks:[{kind:"panor_services"}]},standalone:{title:"Decoupled",tagline:"Apps that ship, and the open source that backs them.",blocks:[{kind:"panor_projects"}]},services:{title:"Services",tagline:"Hosted endpoints, runtimes, and the API surface.",blocks:[{kind:"api"}]},designs:{title:"Designs",tagline:"Visual + interaction system. Tokens, components, motion.",blocks:[{kind:"specs",items:["Color: deep orange → yellow → cyan → teal → navy (WebGL gradient)","Type: Inter 400/500 + JetBrains Mono 400/500","Line weight: 1px solid #000","Motion: 0.85s cubic-bezier(0.2, 1, 0.2, 1)","Grain: 0.18 (fragment shader)"]}]}},vision:{milestones:{title:"Milestones",tagline:"The markers that brought the work here.",blocks:[{kind:"timeline",items:[{when:"2026 Q3",title:"Site goes live",detail:"First public release of the Nexora site. Web and API independently deployed.",tag:"Release"},{when:"2026 Q2",title:"Independent R&D incorporation",detail:"Set up as an independent, long-horizon R&D group. Patient capital. No parent company.",tag:"Milestone"},{when:"2026 Q1",title:"First open model + agent eval",detail:"Released the first open-weights model and the eval harness that ships with every release.",tag:"Research"},{when:"2025 Q4",title:"Cross-stack engineering bench",detail:"Brought embedded, FPGA, and product engineering under one roof. First end-to-end hardware-software product.",tag:"Engineering"},{when:"2025 Q2",title:"Founding",detail:"The work began as a one-person research notebook. It became a team by the end of the year.",tag:"Origin"}]}]},news:{title:"News",tagline:"Releases, talks, press, public updates.",blocks:[{kind:"timeline",items:[{when:"2026-08",title:"Site is live",detail:"The first public release of the work is now reachable at the canonical URL.",tag:"News"},{when:"2026-07",title:"Talk: agent eval at ScaleConf",detail:"Talk on reproducible agent benchmarks and what we learned shipping them in production.",tag:"Talk"},{when:"2026-05",title:"Open release: nexora-align v0.3",detail:"Alignment pipeline with process-reward shaping. Public on GitHub.",tag:"Release"},{when:"2026-02",title:"Block-diffusion speculative decoding",detail:"Patent filed. 2.3× throughput on long-context inference at parity quality.",tag:"Patent"}]}]},philosophy:{title:"Philosophy",tagline:"How we work. Independent, long-term, open.",blocks:[{kind:"cards",cards:[{title:"Independent",meta:"No parent company",detail:"Decisions are made on the work, not on the quarter."},{title:"Long-term",meta:"Decades, not releases",detail:"Compute, data, and people are long-horizon investments."},{title:"Open by default",meta:"Open weights · Open source",detail:"Closed only when there is a real reason — and that reason is on the record."},{title:"Reproducible",meta:"Builds + evals on every push",detail:"A passing green that no one can reproduce is not a passing green."}]},{kind:"quote",text:"The goal is not to ship a model. The goal is to keep shipping the next one, and the one after, for a long time.",attribution:"Nexora · founding note"}]}},reach:{join:{title:"Join",tagline:"Open roles. Researchers, engineers, designers, operators.",blocks:[{kind:"list",items:[{title:"Research engineer",detail:"Pre-training / post-training. PyTorch, distributed, evals.",href:"mailto:join@nexora.dev?subject=Research%20engineer"},{title:"Agent engineer",detail:"Tool-using agents, planning, eval harnesses.",href:"mailto:join@nexora.dev?subject=Agent%20engineer"},{title:"Embedded + FPGA",detail:"Driver + firmware + RTL. Custom silicon.",href:"mailto:join@nexora.dev?subject=Embedded%2FFPGA"},{title:"Designer",detail:"Visual + interaction system. Tokens, components, motion.",href:"mailto:join@nexora.dev?subject=Designer"},{title:"Operator",detail:"Ops, finance, partnerships. Long-form thinking.",href:"mailto:join@nexora.dev?subject=Operator"}]}]},us:{title:"Us",tagline:"About Nexora. The team, the model, the way we work.",blocks:[{kind:"panor_team"},{kind:"cards",cards:[{title:"Team",meta:"Small + deep",detail:"A handful of people, all with deep ownership. The ratio of thinking to talking is high."},{title:"Model",meta:"Patient capital",detail:"Compute, data, and people are long-horizon investments. No extraction."},{title:"How",meta:"Reproducible + open",detail:"Builds, evals, and design decisions on the record. Closed only with a reason."}]}]},clients:{title:"Clients",tagline:"Production deployments with SLAs and support.",blocks:[{kind:"cards",cards:[{title:"Pilots",meta:"6 weeks",detail:"A scoped pilot against a real problem, with a real customer team."},{title:"Production",meta:"On-prem · Cloud · Edge",detail:"Deployment with SLAs, support, and a shared roadmap."},{title:"Support",meta:"24/7 · Uptime SLAs",detail:"Production support with a real engineer on call."}]}]},activities:{title:"Activities",tagline:"Hackathons, competitions, intern program.",blocks:[{kind:"list",items:[{title:"Hackathons",detail:"Find us at hackathons. We bring models, agents, and the eval harness.",href:"mailto:activities@nexora.dev?subject=Hackathon"},{title:"Competitions",detail:"Sponsorship + problem design. We co-organize with research groups.",href:"mailto:activities@nexora.dev?subject=Competition"},{title:"Intern program",meta:"Summer",detail:"A 12-week paid internship. Real ownership, real research.",href:"mailto:activities@nexora.dev?subject=Internship"}]}]}}};function Wh(e,t){var n;return((n=$h[e])==null?void 0:n[t])??null}function Vh(e,t){const n=tu.find(i=>i.id===e);if(!n)return null;const r=n.subs.find(i=>i.id===t);if(!r)return null;const l=Wh(e,t);return l?{category:n,sub:r,body:l}:null}function Cs(){return h.jsx("div",{className:"slider-container",children:tu.map(e=>h.jsxs("div",{className:"column",children:[h.jsx("div",{className:"col-index",children:e.index}),h.jsx("div",{className:"col-content-main",children:h.jsx(Pe,{to:e.path,className:"col-title",style:{textDecoration:"none",color:"inherit"},children:e.title})}),h.jsx("div",{className:"col-footer",children:h.jsx("ul",{className:"spec-list",style:{textAlign:"right"},children:e.subs.map((t,n)=>h.jsx("li",{children:h.jsx(Pe,{to:t.path,style:{textDecoration:"none",color:"inherit"},onClick:r=>r.stopPropagation(),children:t.title})},n))})})]},e.id))})}function Hh(){const{categoryId:e}=Gc(),t=tu.find(n=>n.id===e);return k.useEffect(()=>{window.scrollTo(0,0)},[e]),t?h.jsxs("div",{className:"content",children:[h.jsx("div",{className:"col-index",style:{marginBottom:8},children:t.index}),h.jsx("h1",{children:t.title}),h.jsx("p",{className:"lede",children:t.lede}),h.jsx("div",{style:{fontSize:11,textTransform:"uppercase",letterSpacing:"0.04em",opacity:.5,margin:"32px 0 16px"},children:"Sub-pages"}),h.jsx("div",{className:"section-grid",children:t.subs.map((n,r)=>h.jsxs(Pe,{to:n.path,className:"section-card",style:{textDecoration:"none",color:"inherit"},children:[h.jsx("div",{className:"index",children:String(r+1).padStart(2,"0")}),h.jsx("h3",{children:n.title}),h.jsx("p",{children:n.tagline}),h.jsx("div",{className:"tags",children:n.path})]},n.id))}),h.jsx("div",{style:{marginTop:48},children:h.jsx(Pe,{to:"/",style:{borderBottom:"1px solid currentColor",fontSize:13},children:"← back to home"})})]}):h.jsxs("div",{className:"content",children:[h.jsx("h1",{children:"Not found"}),h.jsx(Pe,{to:"/",children:"Back to home"})]})}function Qh({items:e}){return h.jsx("div",{className:"timeline",style:{margin:"0 0 32px"},children:e.map((t,n)=>h.jsxs("div",{className:"timeline-item",children:[h.jsx("div",{className:"when",children:t.when}),h.jsxs("div",{children:[h.jsx("h3",{children:t.title}),h.jsx("p",{children:t.detail})]}),h.jsx("div",{className:"tag",children:t.tag??""})]},n))})}const Kh={GET:"#2a9d8f",POST:"#e85d04",PUT:"#e9c46a",PATCH:"#f4a261",DELETE:"#e63946"};function Gh(){const[e,t]=k.useState(null);return k.useEffect(()=>{fetch("/api/meta/endpoints").then(n=>n.ok?n.json():null).then(n=>t(n)).catch(()=>t(null))},[]),!e||e.source!=="live"||e.items.length===0?null:h.jsxs("div",{style:{margin:"0 0 32px"},children:[h.jsxs("div",{style:{fontSize:11,textTransform:"uppercase",letterSpacing:"0.04em",opacity:.5,marginBottom:12},children:["Endpoints · live · ",e.count]}),h.jsx("div",{className:"resource-list",style:{borderTop:"1px solid currentColor"},children:e.items.map((n,r)=>h.jsxs("div",{className:"resource-row",style:{borderBottom:"1px solid rgba(0,0,0,0.2)"},children:[h.jsx("div",{className:"idx",children:String(r+1).padStart(2,"0")}),h.jsxs("div",{className:"name",children:[h.jsx("span",{style:{display:"inline-block",fontSize:10,fontFamily:"var(--font-mono)",padding:"2px 6px",border:"1px solid currentColor",marginRight:10,color:Kh[n.method]??"inherit"},children:n.method}),h.jsx("span",{style:{fontFamily:"var(--font-mono)",fontSize:13},children:n.path}),n.summary&&h.jsx("small",{children:n.summary})]})]},`${n.method}:${n.path}`))})]})}const nu="";async function ru(e){try{const t=await fetch(e);return t.ok?await t.json():null}catch{return null}}const Xh=()=>ru(`${nu}/api/panor/services`),Yh=()=>ru(`${nu}/api/panor/projects`),Jh=()=>ru(`${nu}/api/panor/team`);function Zh(e){const t=Math.ceil(e.length/2);return[{label:"live · panor.tech",items:e.slice(0,t)},{label:"live · panor.tech",items:e.slice(t)}]}function qc({item:e}){return h.jsxs("a",{href:e.id,target:"_blank",rel:"noreferrer",className:"resource-row",style:{textDecoration:"none",color:"inherit"},children:[h.jsx("div",{className:"idx",children:"·"}),h.jsx("div",{className:"name",children:e.title}),h.jsx("div",{className:"meta lang",children:e.kind}),h.jsx("div",{className:"meta",children:"↗"})]})}function qh(){const[e,t]=k.useState(null);if(k.useEffect(()=>{Xh().then(t)},[]),!e||e.source!=="live"||e.items.length===0)return null;const n=Zh(e.items);return h.jsxs("div",{style:{margin:"0 0 32px"},children:[h.jsxs("div",{style:{fontSize:11,textTransform:"uppercase",letterSpacing:"0.04em",opacity:.5,marginBottom:12},children:["Services · ",e.source," · ",e.items.length]}),h.jsx("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:32},children:n.map((r,l)=>h.jsx("div",{children:r.items.map((i,o)=>h.jsx(qc,{item:i},o))},l))})]})}function bh(){const[e,t]=k.useState(null);return k.useEffect(()=>{Yh().then(t)},[]),!e||e.source!=="live"||e.items.length===0?null:h.jsxs("div",{style:{margin:"0 0 32px"},children:[h.jsxs("div",{style:{fontSize:11,textTransform:"uppercase",letterSpacing:"0.04em",opacity:.5,marginBottom:12},children:["Decoupled products · ",e.source," · ",e.items.length]}),h.jsx("div",{className:"resource-list",children:e.items.map((n,r)=>h.jsx(qc,{item:n},r))})]})}function em(){const[e,t]=k.useState(null);return k.useEffect(()=>{Jh().then(t)},[]),!e||e.length===0?null:h.jsxs("div",{style:{margin:"0 0 32px"},children:[h.jsx("div",{style:{fontSize:11,textTransform:"uppercase",letterSpacing:"0.04em",opacity:.5,marginBottom:12},children:"The team"}),h.jsx("div",{className:"resource-list",children:e.map((n,r)=>h.jsxs("div",{className:"resource-row",children:[h.jsx("div",{className:"idx",children:n.avatar??"·"}),h.jsxs("div",{className:"name",children:[n.name,h.jsx("small",{children:n.description})]}),h.jsx("div",{className:"meta",style:{gridColumn:"3 / -1",textAlign:"right"},children:n.title})]},r))})]})}async function fr(e){try{const t=await fetch(e);return t.ok?await t.json():null}catch{return null}}const tm=(e=50)=>fr(`/api/github/gists?limit=${e}`),nm=(e=20)=>fr(`/api/github/minervacap?limit=${e}`);async function rm(e="ChengyiX"){const t=await fr(`/api/hf/models?author=${encodeURIComponent(e)}`);return t?"items"in t?t:{source:t.source,count:t.count,items:t.models.map(n=>({...n,name:n.id.split("/").pop()||n.id,last_modified:null}))}:null}const lm=(e="ChengyiX")=>fr(`/api/hf/datasets?author=${encodeURIComponent(e)}`),im=(e="ChengyiX")=>fr(`/api/hf/spaces?author=${encodeURIComponent(e)}`),om={agent:/\b(agent|mcp|tool|planning|memory|claude|gpt|llm|reasoning)\b/i,engineering:/\b(typescript|react|bun|deno|docker|kubernetes|postgres|sql|wasm|graphql|rest|cli|observability|telemetry|opentelemetry|vercel|edge|streaming|server|compiler|astro|htmx|tanstack|next|swift|kotlin|swiftui|jetpack)\b/i,writing:/\b(sitepoint|hashnode|draft|guide|patterns|practical|production patterns|writing)\b/i};function um(e,t){if(e==="all")return t;const n=om[e];return t.filter(r=>n.test(r.description||"")||n.test(r.files.join(" ")))}function sm(e){return e?e.slice(0,10):""}function am({limit:e=15,filter:t="all",caption:n}){const[r,l]=k.useState(null);if(k.useEffect(()=>{tm(50).then(l)},[]),!r||r.source!=="live")return null;const i=um(t,r.gists).slice(0,e);return i.length===0?null:h.jsxs("div",{style:{margin:"0 0 32px"},children:[h.jsx("div",{style:{fontSize:11,textTransform:"uppercase",letterSpacing:"0.04em",opacity:.5,marginBottom:12},children:n??`Gists · ${r.source} · ${i.length} of ${r.gists.length}`}),h.jsx("div",{className:"resource-list",children:i.map((o,u)=>{var s;return h.jsxs("a",{href:o.html_url,target:"_blank",rel:"noreferrer",className:"resource-row",style:{textDecoration:"none",color:"inherit"},children:[h.jsx("div",{className:"idx",children:String(u+1).padStart(2,"0")}),h.jsxs("div",{className:"name",children:[((s=o.description)==null?void 0:s.trim())||o.files[0]||o.id,o.files.length>0&&h.jsx("small",{children:o.files.slice(0,3).join(" · ")})]}),h.jsx("div",{className:"meta",style:{gridColumn:"3 / -1",textAlign:"right"},children:sm(o.updated_at)})]},o.id)})})]})}function cm({limit:e=15,caption:t}){const[n,r]=k.useState(null);if(k.useEffect(()=>{nm(50).then(r)},[]),!n||n.length===0)return null;const l=n.slice(0,e);return h.jsxs("div",{style:{margin:"0 0 32px"},children:[h.jsx("div",{style:{fontSize:11,textTransform:"uppercase",letterSpacing:"0.04em",opacity:.5,marginBottom:12},children:t??`minervacap2022 · live · ${l.length}`}),h.jsx("div",{className:"resource-list",children:l.map((i,o)=>h.jsxs("a",{href:i.html_url,target:"_blank",rel:"noreferrer",className:"resource-row",style:{textDecoration:"none",color:"inherit"},children:[h.jsx("div",{className:"idx",children:String(o+1).padStart(2,"0")}),h.jsxs("div",{className:"name",children:[i.name,i.description&&h.jsx("small",{children:i.description})]}),h.jsx("div",{className:"meta lang",children:i.language??"—"}),h.jsxs("div",{className:"meta",children:["★ ",i.stars]})]},i.name))})]})}function fm({item:e,kind:t}){const n=t==="model"?`https://huggingface.co/${e.id}`:t==="dataset"?`https://huggingface.co/datasets/${e.id}`:`https://huggingface.co/spaces/${e.id}`;return h.jsxs("a",{href:n,target:"_blank",rel:"noreferrer",className:"resource-row",style:{textDecoration:"none",color:"inherit"},children:[h.jsx("div",{className:"idx",children:"·"}),h.jsxs("div",{className:"name",children:[e.name,e.tags.length>0&&h.jsx("small",{children:e.tags.slice(0,4).join(" · ")})]}),h.jsxs("div",{className:"meta",children:["↓ ",e.downloads]}),h.jsxs("div",{className:"meta",children:["♥ ",e.likes]})]})}function dm({caption:e,data:t,kind:n}){return!t||t.source!=="live"||t.items.length===0?null:h.jsxs("div",{style:{margin:"0 0 32px"},children:[h.jsxs("div",{style:{fontSize:11,textTransform:"uppercase",letterSpacing:"0.04em",opacity:.5,marginBottom:12},children:[e," · ",t.source," · ",t.count]}),h.jsx("div",{className:"resource-list",children:t.items.map((r,l)=>h.jsx(fm,{item:r,kind:n},l))})]})}function ui({kind:e,caption:t,author:n="ChengyiX"}){const[r,l]=k.useState(null);k.useEffect(()=>{(e==="models"?rm:e==="datasets"?lm:im)(n).then(l)},[e,n]);const i=t??`HF · ${e} · ChengyiX`;return h.jsx(dm,{caption:i,data:r,kind:e==="models"?"model":e==="datasets"?"dataset":"space"})}function pm({block:e}){switch(e.kind){case"paragraph":return null;case"heading":return h.jsx("h2",{style:{fontSize:14,fontWeight:500,textTransform:"uppercase",letterSpacing:"0.06em",margin:"40px 0 16px",opacity:.6},children:e.text});case"specs":return h.jsx("ul",{style:{listStyle:"none",padding:0,margin:"0 0 32px",display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(260px, 1fr))",gap:8,maxWidth:800},children:e.items.map((t,n)=>h.jsx("li",{style:{borderLeft:"1px solid currentColor",paddingLeft:12,fontSize:13,fontFamily:"var(--font-mono)",opacity:.8},children:t},n))});case"cards":return null;case"list":return h.jsx("div",{className:"resource-list",style:{margin:"0 0 32px"},children:e.items.map((t,n)=>h.jsxs("div",{className:"resource-row",style:t.href?{cursor:"pointer"}:void 0,children:[h.jsx("div",{className:"idx",children:String(n+1).padStart(2,"0")}),h.jsx("div",{className:"name",children:t.href?h.jsx("a",{href:t.href,style:{color:"inherit",borderBottom:"1px solid currentColor"},children:t.title}):t.title}),h.jsx("div",{className:"meta",style:{gridColumn:"3 / -1",textAlign:"left"},children:t.detail})]},n))});case"quote":return h.jsxs("blockquote",{style:{borderLeft:"1px solid currentColor",paddingLeft:20,margin:"24px 0 32px",maxWidth:720,fontSize:20,lineHeight:1.5,fontWeight:400,letterSpacing:"-0.01em",opacity:.9},children:[e.text,e.attribution&&h.jsxs("div",{style:{marginTop:12,fontSize:12,opacity:.5,fontFamily:"var(--font-mono)",textTransform:"uppercase",letterSpacing:"0.04em"},children:["— ",e.attribution]})]});case"timeline":return h.jsx(Qh,{items:e.items});case"api":return h.jsx(Gh,{});case"panor_services":return h.jsx(qh,{});case"panor_projects":return h.jsx(bh,{});case"panor_team":return h.jsx(em,{});case"gists":return h.jsx(am,{limit:e.limit??15,filter:e.filter??"all",caption:e.caption});case"minervacap":return h.jsx(cm,{limit:e.limit??15,caption:e.caption});case"hf_models":return h.jsx(ui,{kind:"models",caption:e.caption});case"hf_datasets":return h.jsx(ui,{kind:"datasets",caption:e.caption});case"hf_spaces":return h.jsx(ui,{kind:"spaces",caption:e.caption});default:return null}}function hm(){const{categoryId:e,subId:t}=Gc(),n=e&&t?Vh(e,t):null;if(k.useEffect(()=>{window.scrollTo(0,0)},[e,t]),!n)return h.jsxs("div",{className:"content",children:[h.jsx("h1",{children:"Not found"}),h.jsx(Pe,{to:"/",children:"Back to home"})]});const{category:r,sub:l,body:i}=n;return h.jsxs("div",{className:"content",children:[h.jsxs("div",{style:{display:"flex",alignItems:"baseline",gap:12,marginBottom:8},children:[h.jsxs("div",{className:"col-index",children:[r.index,".",String(r.subs.findIndex(o=>o.id===t)+1).padStart(2,"0")]}),h.jsxs("div",{style:{fontSize:11,textTransform:"uppercase",letterSpacing:"0.04em",opacity:.5,fontFamily:"var(--font-mono)"},children:[r.title," ·"," ",h.jsx(Pe,{to:r.path,style:{color:"inherit",borderBottom:"1px solid currentColor"},children:l.title})]})]}),h.jsx("h1",{children:i.title}),h.jsx("p",{className:"lede",children:i.tagline}),i.blocks.map((o,u)=>h.jsx(pm,{block:o},u)),h.jsxs("div",{style:{borderTop:"1px solid currentColor",margin:"64px 0 0",padding:"24px 0",display:"flex",justifyContent:"space-between",fontSize:12,fontFamily:"var(--font-mono)",opacity:.7},children:[h.jsxs(Pe,{to:r.path,style:{color:"inherit"},children:["← ",r.title]}),h.jsx(Pe,{to:"/",style:{color:"inherit"},children:"home"})]})]})}function mm(){return h.jsxs("div",{className:"content",children:[h.jsx("div",{className:"col-index",style:{marginBottom:8},children:"A"}),h.jsx("h1",{children:"Admin"}),h.jsx("p",{className:"lede",children:"Placeholder. Internal auth, content management, and operational tooling will live here."}),h.jsxs("div",{style:{border:"1px solid currentColor",padding:32,margin:"32px 0",maxWidth:720},children:[h.jsx("div",{style:{fontSize:11,textTransform:"uppercase",letterSpacing:"0.04em",opacity:.5,marginBottom:12},children:"Not yet implemented"}),h.jsx("p",{style:{fontSize:14,lineHeight:1.6,opacity:.8},children:"The admin surface will host sign-in (GitHub OAuth), content management for the public pages, and the operational dashboard for the API. This button is a placeholder until that work is scoped."})]}),h.jsx("div",{style:{marginTop:48},children:h.jsx(Pe,{to:"/",style:{borderBottom:"1px solid currentColor",fontSize:13},children:"← back to home"})})]})}function vm(){return h.jsxs("div",{style:{position:"relative",minHeight:"100vh",overflow:"hidden"},children:[h.jsx(Mh,{}),h.jsxs("div",{className:"ui-layer",children:[h.jsx(zh,{}),h.jsxs(xh,{children:[h.jsx(At,{path:"/",element:h.jsx(Cs,{})}),h.jsx(At,{path:"/category/:categoryId",element:h.jsx(Hh,{})}),h.jsx(At,{path:"/category/:categoryId/:subId",element:h.jsx(hm,{})}),h.jsx(At,{path:"/admin",element:h.jsx(mm,{})}),h.jsx(At,{path:"*",element:h.jsx(Cs,{})})]})]})]})}si.createRoot(document.getElementById("root")).render(h.jsx(Fs.StrictMode,{children:h.jsx(_h,{children:h.jsx(vm,{})})}));