function dd(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 fd(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ia={exports:{}},wl={},Oa={exports:{}},I={};/** * @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 ar=Symbol.for("react.element"),pd=Symbol.for("react.portal"),hd=Symbol.for("react.fragment"),md=Symbol.for("react.strict_mode"),gd=Symbol.for("react.profiler"),vd=Symbol.for("react.provider"),yd=Symbol.for("react.context"),wd=Symbol.for("react.forward_ref"),xd=Symbol.for("react.suspense"),Sd=Symbol.for("react.memo"),kd=Symbol.for("react.lazy"),ds=Symbol.iterator;function Ed(e){return e===null||typeof e!="object"?null:(e=ds&&e[ds]||e["@@iterator"],typeof e=="function"?e:null)}var Fa={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ma=Object.assign,Aa={};function vn(e,t,n){this.props=e,this.context=t,this.refs=Aa,this.updater=n||Fa}vn.prototype.isReactComponent={};vn.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")};vn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Da(){}Da.prototype=vn.prototype;function uo(e,t,n){this.props=e,this.context=t,this.refs=Aa,this.updater=n||Fa}var co=uo.prototype=new Da;co.constructor=uo;Ma(co,vn.prototype);co.isPureReactComponent=!0;var fs=Array.isArray,Ua=Object.prototype.hasOwnProperty,fo={current:null},$a={key:!0,ref:!0,__self:!0,__source:!0};function Ba(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)Ua.call(t,r)&&!$a.hasOwnProperty(r)&&(l[r]=t[r]);var s=arguments.length-2;if(s===1)l.children=n;else if(1>>1,ee=N[X];if(0>>1;Xl(Dl,z))Ptl(vr,Dl)?(N[X]=vr,N[Pt]=z,X=Pt):(N[X]=Dl,N[jt]=z,X=jt);else if(Ptl(vr,z))N[X]=vr,N[Pt]=z,X=Pt;else break e}}return R}function l(N,R){var z=N.sortIndex-R.sortIndex;return z!==0?z: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,s=o.now();e.unstable_now=function(){return o.now()-s}}var a=[],u=[],g=1,m=null,v=3,x=!1,w=!1,S=!1,C=typeof setTimeout=="function"?setTimeout:null,p=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 h(N){for(var R=n(u);R!==null;){if(R.callback===null)r(u);else if(R.startTime<=N)r(u),R.sortIndex=R.expirationTime,t(a,R);else break;R=n(u)}}function y(N){if(S=!1,h(N),!w)if(n(a)!==null)w=!0,Ml(j);else{var R=n(u);R!==null&&Al(y,R.startTime-N)}}function j(N,R){w=!1,S&&(S=!1,p(L),L=-1),x=!0;var z=v;try{for(h(R),m=n(a);m!==null&&(!(m.expirationTime>R)||N&&!ze());){var X=m.callback;if(typeof X=="function"){m.callback=null,v=m.priorityLevel;var ee=X(m.expirationTime<=R);R=e.unstable_now(),typeof ee=="function"?m.callback=ee:m===n(a)&&r(a),h(R)}else r(a);m=n(a)}if(m!==null)var gr=!0;else{var jt=n(u);jt!==null&&Al(y,jt.startTime-R),gr=!1}return gr}finally{m=null,v=z,x=!1}}var _=!1,T=null,L=-1,K=5,F=-1;function ze(){return!(e.unstable_now()-FN||125X?(N.sortIndex=z,t(u,N),n(a)===null&&N===n(u)&&(S?(p(L),L=-1):S=!0,Al(y,z-X))):(N.sortIndex=ee,t(a,N),w||x||(w=!0,Ml(j))),N},e.unstable_shouldYield=ze,e.unstable_wrapCallback=function(N){var R=v;return function(){var z=v;v=R;try{return N.apply(this,arguments)}finally{v=z}}}})(Ka);Ga.exports=Ka;var Fd=Ga.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 Md=E,Ee=Fd;function k(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"),hi=Object.prototype.hasOwnProperty,Ad=/^[: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]*$/,hs={},ms={};function Dd(e){return hi.call(ms,e)?!0:hi.call(hs,e)?!1:Ad.test(e)?ms[e]=!0:(hs[e]=!0,!1)}function Ud(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 $d(e,t,n,r){if(t===null||typeof t>"u"||Ud(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 pe(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 ie={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ie[e]=new pe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ie[t]=new pe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ie[e]=new pe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ie[e]=new pe(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){ie[e]=new pe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ie[e]=new pe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ie[e]=new pe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ie[e]=new pe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ie[e]=new pe(e,5,!1,e.toLowerCase(),null,!1,!1)});var ho=/[\-:]([a-z])/g;function mo(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(ho,mo);ie[t]=new pe(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(ho,mo);ie[t]=new pe(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(ho,mo);ie[t]=new pe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ie[e]=new pe(e,1,!1,e.toLowerCase(),null,!1,!1)});ie.xlinkHref=new pe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ie[e]=new pe(e,1,!1,e.toLowerCase(),null,!0,!0)});function go(e,t,n,r){var l=ie.hasOwnProperty(t)?ie[t]:null;(l!==null?l.type!==0:r||!(2s||l[o]!==i[s]){var a=` `+l[o].replace(" at new "," at ");return e.displayName&&a.includes("")&&(a=a.replace("",e.displayName)),a}while(1<=o&&0<=s);break}}}finally{Bl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ln(e):""}function Bd(e){switch(e.tag){case 5:return Ln(e.type);case 16:return Ln("Lazy");case 13:return Ln("Suspense");case 19:return Ln("SuspenseList");case 0:case 2:case 15:return e=Hl(e.type,!1),e;case 11:return e=Hl(e.type.render,!1),e;case 1:return e=Hl(e.type,!0),e;default:return""}}function yi(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 Gt:return"Fragment";case Qt:return"Portal";case mi:return"Profiler";case vo:return"StrictMode";case gi:return"Suspense";case vi:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ja:return(e.displayName||"Context")+".Consumer";case Ya:return(e._context.displayName||"Context")+".Provider";case yo:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case wo:return t=e.displayName||null,t!==null?t:yi(e.type)||"Memo";case rt:t=e._payload,e=e._init;try{return yi(e(t))}catch{}}return null}function Hd(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 yi(t);case 8:return t===vo?"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 wt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function qa(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Vd(e){var t=qa(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 xr(e){e._valueTracker||(e._valueTracker=Vd(e))}function ba(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=qa(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Xr(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 wi(e,t){var n=t.checked;return W({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function vs(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=wt(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 eu(e,t){t=t.checked,t!=null&&go(e,"checked",t,!1)}function xi(e,t){eu(e,t);var n=wt(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")?Si(e,t.type,n):t.hasOwnProperty("defaultValue")&&Si(e,t.type,wt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ys(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 Si(e,t,n){(t!=="number"||Xr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Rn=Array.isArray;function rn(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=Sr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Wn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var On={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},Wd=["Webkit","ms","Moz","O"];Object.keys(On).forEach(function(e){Wd.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),On[t]=On[e]})});function lu(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||On.hasOwnProperty(e)&&On[e]?(""+t).trim():t+"px"}function iu(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=lu(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var Qd=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 Ci(e,t){if(t){if(Qd[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(k(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(k(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(k(61))}if(t.style!=null&&typeof t.style!="object")throw Error(k(62))}}function ji(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 Pi=null;function xo(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ni=null,ln=null,on=null;function Ss(e){if(e=dr(e)){if(typeof Ni!="function")throw Error(k(280));var t=e.stateNode;t&&(t=Cl(t),Ni(e.stateNode,e.type,t))}}function ou(e){ln?on?on.push(e):on=[e]:ln=e}function su(){if(ln){var e=ln,t=on;if(on=ln=null,Ss(e),t)for(e=0;e>>=0,e===0?32:31-(nf(e)/rf|0)|0}var kr=64,Er=4194304;function zn(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 qr(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 s=o&~l;s!==0?r=zn(s):(i&=o,i!==0&&(r=zn(i)))}else o=n&~l,o!==0?r=zn(o):i!==0&&(r=zn(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 ur(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-De(t),e[t]=n}function af(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=Mn),Ls=" ",Rs=!1;function Nu(e,t){switch(e){case"keyup":return Mf.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function _u(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Kt=!1;function Df(e,t){switch(e){case"compositionend":return _u(t);case"keypress":return t.which!==32?null:(Rs=!0,Ls);case"textInput":return e=t.data,e===Ls&&Rs?null:e;default:return null}}function Uf(e,t){if(Kt)return e==="compositionend"||!_o&&Nu(e,t)?(e=ju(),Ur=jo=st=null,Kt=!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=Fs(n)}}function zu(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?zu(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Iu(){for(var e=window,t=Xr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Xr(e.document)}return t}function To(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 Xf(e){var t=Iu(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&zu(n.ownerDocument.documentElement,n)){if(r!==null&&To(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=Ms(n,i);var o=Ms(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,Xt=null,Ii=null,Dn=null,Oi=!1;function As(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Oi||Xt==null||Xt!==Xr(r)||(r=Xt,"selectionStart"in r&&To(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}),Dn&&Jn(Dn,r)||(Dn=r,r=tl(Ii,"onSelect"),0Zt||(e.current=$i[Zt],$i[Zt]=null,Zt--)}function D(e,t){Zt++,$i[Zt]=e.current,e.current=t}var xt={},ue=kt(xt),ge=kt(!1),Ot=xt;function dn(e,t){var n=e.type.contextTypes;if(!n)return xt;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 ve(e){return e=e.childContextTypes,e!=null}function rl(){$(ge),$(ue)}function Ws(e,t,n){if(ue.current!==xt)throw Error(k(168));D(ue,t),D(ge,n)}function Hu(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(k(108,Hd(e)||"Unknown",l));return W({},n,r)}function ll(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||xt,Ot=ue.current,D(ue,e),D(ge,ge.current),!0}function Qs(e,t,n){var r=e.stateNode;if(!r)throw Error(k(169));n?(e=Hu(e,t,Ot),r.__reactInternalMemoizedMergedChildContext=e,$(ge),$(ue),D(ue,e)):$(ge),D(ge,n)}var Ke=null,jl=!1,ni=!1;function Vu(e){Ke===null?Ke=[e]:Ke.push(e)}function op(e){jl=!0,Vu(e)}function Et(){if(!ni&&Ke!==null){ni=!0;var e=0,t=A;try{var n=Ke;for(A=1;e>=o,l-=o,Xe=1<<32-De(t)+l|n<L?(K=T,T=null):K=T.sibling;var F=v(p,T,h[L],y);if(F===null){T===null&&(T=K);break}e&&T&&F.alternate===null&&t(p,T),c=i(F,c,L),_===null?j=F:_.sibling=F,_=F,T=K}if(L===h.length)return n(p,T),B&&Nt(p,L),j;if(T===null){for(;LL?(K=T,T=null):K=T.sibling;var ze=v(p,T,F.value,y);if(ze===null){T===null&&(T=K);break}e&&T&&ze.alternate===null&&t(p,T),c=i(ze,c,L),_===null?j=ze:_.sibling=ze,_=ze,T=K}if(F.done)return n(p,T),B&&Nt(p,L),j;if(T===null){for(;!F.done;L++,F=h.next())F=m(p,F.value,y),F!==null&&(c=i(F,c,L),_===null?j=F:_.sibling=F,_=F);return B&&Nt(p,L),j}for(T=r(p,T);!F.done;L++,F=h.next())F=x(T,p,L,F.value,y),F!==null&&(e&&F.alternate!==null&&T.delete(F.key===null?L:F.key),c=i(F,c,L),_===null?j=F:_.sibling=F,_=F);return e&&T.forEach(function(xn){return t(p,xn)}),B&&Nt(p,L),j}function C(p,c,h,y){if(typeof h=="object"&&h!==null&&h.type===Gt&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case wr:e:{for(var j=h.key,_=c;_!==null;){if(_.key===j){if(j=h.type,j===Gt){if(_.tag===7){n(p,_.sibling),c=l(_,h.props.children),c.return=p,p=c;break e}}else if(_.elementType===j||typeof j=="object"&&j!==null&&j.$$typeof===rt&&Xs(j)===_.type){n(p,_.sibling),c=l(_,h.props),c.ref=Nn(p,_,h),c.return=p,p=c;break e}n(p,_);break}else t(p,_);_=_.sibling}h.type===Gt?(c=It(h.props.children,p.mode,y,h.key),c.return=p,p=c):(y=Kr(h.type,h.key,h.props,null,p.mode,y),y.ref=Nn(p,c,h),y.return=p,p=y)}return o(p);case Qt:e:{for(_=h.key;c!==null;){if(c.key===_)if(c.tag===4&&c.stateNode.containerInfo===h.containerInfo&&c.stateNode.implementation===h.implementation){n(p,c.sibling),c=l(c,h.children||[]),c.return=p,p=c;break e}else{n(p,c);break}else t(p,c);c=c.sibling}c=ci(h,p.mode,y),c.return=p,p=c}return o(p);case rt:return _=h._init,C(p,c,_(h._payload),y)}if(Rn(h))return w(p,c,h,y);if(kn(h))return S(p,c,h,y);Lr(p,h)}return typeof h=="string"&&h!==""||typeof h=="number"?(h=""+h,c!==null&&c.tag===6?(n(p,c.sibling),c=l(c,h),c.return=p,p=c):(n(p,c),c=ui(h,p.mode,y),c.return=p,p=c),o(p)):n(p,c)}return C}var pn=Ku(!0),Xu=Ku(!1),sl=kt(null),al=null,en=null,Io=null;function Oo(){Io=en=al=null}function Fo(e){var t=sl.current;$(sl),e._currentValue=t}function Vi(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 an(e,t){al=e,Io=en=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(me=!0),e.firstContext=null)}function Le(e){var t=e._currentValue;if(Io!==e)if(e={context:e,memoizedValue:t,next:null},en===null){if(al===null)throw Error(k(308));en=e,al.dependencies={lanes:0,firstContext:e}}else en=en.next=e;return t}var Lt=null;function Mo(e){Lt===null?Lt=[e]:Lt.push(e)}function Yu(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,Mo(t)):(n.next=l.next,l.next=n),t.interleaved=n,be(e,r)}function be(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 lt=!1;function Ao(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ju(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 Je(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ht(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,M&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,be(e,n)}return l=r.interleaved,l===null?(t.next=t,Mo(r)):(t.next=l.next,l.next=t),r.interleaved=t,be(e,n)}function Br(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,ko(e,n)}}function Ys(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 ul(e,t,n,r){var l=e.updateQueue;lt=!1;var i=l.firstBaseUpdate,o=l.lastBaseUpdate,s=l.shared.pending;if(s!==null){l.shared.pending=null;var a=s,u=a.next;a.next=null,o===null?i=u:o.next=u,o=a;var g=e.alternate;g!==null&&(g=g.updateQueue,s=g.lastBaseUpdate,s!==o&&(s===null?g.firstBaseUpdate=u:s.next=u,g.lastBaseUpdate=a))}if(i!==null){var m=l.baseState;o=0,g=u=a=null,s=i;do{var v=s.lane,x=s.eventTime;if((r&v)===v){g!==null&&(g=g.next={eventTime:x,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var w=e,S=s;switch(v=t,x=n,S.tag){case 1:if(w=S.payload,typeof w=="function"){m=w.call(x,m,v);break e}m=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=S.payload,v=typeof w=="function"?w.call(x,m,v):w,v==null)break e;m=W({},m,v);break e;case 2:lt=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,v=l.effects,v===null?l.effects=[s]:v.push(s))}else x={eventTime:x,lane:v,tag:s.tag,payload:s.payload,callback:s.callback,next:null},g===null?(u=g=x,a=m):g=g.next=x,o|=v;if(s=s.next,s===null){if(s=l.shared.pending,s===null)break;v=s,s=v.next,v.next=null,l.lastBaseUpdate=v,l.shared.pending=null}}while(!0);if(g===null&&(a=m),l.baseState=a,l.firstBaseUpdate=u,l.lastBaseUpdate=g,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);At|=o,e.lanes=o,e.memoizedState=m}}function Js(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=li.transition;li.transition={};try{e(!1),t()}finally{A=n,li.transition=r}}function pc(){return Re().memoizedState}function cp(e,t,n){var r=gt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},hc(e))mc(t,n);else if(n=Yu(e,t,n,r),n!==null){var l=de();Ue(n,e,r,l),gc(n,t,r)}}function dp(e,t,n){var r=gt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(hc(e))mc(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,s=i(o,n);if(l.hasEagerState=!0,l.eagerState=s,$e(s,o)){var a=t.interleaved;a===null?(l.next=l,Mo(t)):(l.next=a.next,a.next=l),t.interleaved=l;return}}catch{}finally{}n=Yu(e,t,l,r),n!==null&&(l=de(),Ue(n,e,r,l),gc(n,t,r))}}function hc(e){var t=e.alternate;return e===V||t!==null&&t===V}function mc(e,t){Un=dl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function gc(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ko(e,n)}}var fl={readContext:Le,useCallback:oe,useContext:oe,useEffect:oe,useImperativeHandle:oe,useInsertionEffect:oe,useLayoutEffect:oe,useMemo:oe,useReducer:oe,useRef:oe,useState:oe,useDebugValue:oe,useDeferredValue:oe,useTransition:oe,useMutableSource:oe,useSyncExternalStore:oe,useId:oe,unstable_isNewReconciler:!1},fp={readContext:Le,useCallback:function(e,t){return He().memoizedState=[e,t===void 0?null:t],e},useContext:Le,useEffect:qs,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Vr(4194308,4,ac.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Vr(4194308,4,e,t)},useInsertionEffect:function(e,t){return Vr(4,2,e,t)},useMemo:function(e,t){var n=He();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=He();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=cp.bind(null,V,e),[r.memoizedState,e]},useRef:function(e){var t=He();return e={current:e},t.memoizedState=e},useState:Zs,useDebugValue:Qo,useDeferredValue:function(e){return He().memoizedState=e},useTransition:function(){var e=Zs(!1),t=e[0];return e=up.bind(null,e[1]),He().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=V,l=He();if(B){if(n===void 0)throw Error(k(407));n=n()}else{if(n=t(),ne===null)throw Error(k(349));Mt&30||ec(r,t,n)}l.memoizedState=n;var i={value:n,getSnapshot:t};return l.queue=i,qs(nc.bind(null,r,i,e),[e]),r.flags|=2048,lr(9,tc.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=He(),t=ne.identifierPrefix;if(B){var n=Ye,r=Xe;n=(r&~(1<<32-De(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=nr++,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[Ve]=t,e[bn]=r,Pc(e,t,!1,!1),t.stateNode=e;e:{switch(o=ji(n,r),n){case"dialog":U("cancel",e),U("close",e),l=r;break;case"iframe":case"object":case"embed":U("load",e),l=r;break;case"video":case"audio":for(l=0;lgn&&(t.flags|=128,r=!0,_n(i,!1),t.lanes=4194304)}else{if(!r)if(e=cl(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),_n(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!B)return se(t),null}else 2*Y()-i.renderingStartTime>gn&&n!==1073741824&&(t.flags|=128,r=!0,_n(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=Y(),t.sibling=null,n=H.current,D(H,r?n&1|2:n&1),t):(se(t),null);case 22:case 23:return Zo(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?we&1073741824&&(se(t),t.subtreeFlags&6&&(t.flags|=8192)):se(t),null;case 24:return null;case 25:return null}throw Error(k(156,t.tag))}function xp(e,t){switch(Ro(t),t.tag){case 1:return ve(t.type)&&rl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return hn(),$(ge),$(ue),$o(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Uo(t),null;case 13:if($(H),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(k(340));fn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return $(H),null;case 4:return hn(),null;case 10:return Fo(t.type._context),null;case 22:case 23:return Zo(),null;case 24:return null;default:return null}}var zr=!1,ae=!1,Sp=typeof WeakSet=="function"?WeakSet:Set,P=null;function tn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Q(e,t,r)}else n.current=null}function qi(e,t,n){try{n()}catch(r){Q(e,t,r)}}var ua=!1;function kp(e,t){if(Fi=br,e=Iu(),To(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,s=-1,a=-1,u=0,g=0,m=e,v=null;t:for(;;){for(var x;m!==n||l!==0&&m.nodeType!==3||(s=o+l),m!==i||r!==0&&m.nodeType!==3||(a=o+r),m.nodeType===3&&(o+=m.nodeValue.length),(x=m.firstChild)!==null;)v=m,m=x;for(;;){if(m===e)break t;if(v===n&&++u===l&&(s=o),v===i&&++g===r&&(a=o),(x=m.nextSibling)!==null)break;m=v,v=m.parentNode}m=x}n=s===-1||a===-1?null:{start:s,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(Mi={focusedElem:e,selectionRange:n},br=!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 w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var S=w.memoizedProps,C=w.memoizedState,p=t.stateNode,c=p.getSnapshotBeforeUpdate(t.elementType===t.type?S:Fe(t.type,S),C);p.__reactInternalSnapshotBeforeUpdate=c}break;case 3:var h=t.stateNode.containerInfo;h.nodeType===1?h.textContent="":h.nodeType===9&&h.documentElement&&h.removeChild(h.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(k(163))}}catch(y){Q(t,t.return,y)}if(e=t.sibling,e!==null){e.return=t.return,P=e;break}P=t.return}return w=ua,ua=!1,w}function $n(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&&qi(t,n,i)}l=l.next}while(l!==r)}}function _l(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 bi(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 Tc(e){var t=e.alternate;t!==null&&(e.alternate=null,Tc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ve],delete t[bn],delete t[Ui],delete t[lp],delete t[ip])),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 Lc(e){return e.tag===5||e.tag===3||e.tag===4}function ca(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Lc(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 eo(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=nl));else if(r!==4&&(e=e.child,e!==null))for(eo(e,t,n),e=e.sibling;e!==null;)eo(e,t,n),e=e.sibling}function to(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(to(e,t,n),e=e.sibling;e!==null;)to(e,t,n),e=e.sibling}var re=null,Me=!1;function nt(e,t,n){for(n=n.child;n!==null;)Rc(e,t,n),n=n.sibling}function Rc(e,t,n){if(We&&typeof We.onCommitFiberUnmount=="function")try{We.onCommitFiberUnmount(xl,n)}catch{}switch(n.tag){case 5:ae||tn(n,t);case 6:var r=re,l=Me;re=null,nt(e,t,n),re=r,Me=l,re!==null&&(Me?(e=re,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):re.removeChild(n.stateNode));break;case 18:re!==null&&(Me?(e=re,n=n.stateNode,e.nodeType===8?ti(e.parentNode,n):e.nodeType===1&&ti(e,n),Xn(e)):ti(re,n.stateNode));break;case 4:r=re,l=Me,re=n.stateNode.containerInfo,Me=!0,nt(e,t,n),re=r,Me=l;break;case 0:case 11:case 14:case 15:if(!ae&&(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)&&qi(n,t,o),l=l.next}while(l!==r)}nt(e,t,n);break;case 1:if(!ae&&(tn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Q(n,t,s)}nt(e,t,n);break;case 21:nt(e,t,n);break;case 22:n.mode&1?(ae=(r=ae)||n.memoizedState!==null,nt(e,t,n),ae=r):nt(e,t,n);break;default:nt(e,t,n)}}function da(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Sp),t.forEach(function(r){var l=Rp.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function Ie(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=o),r&=~i}if(r=l,r=Y()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Cp(r/1960))-r,10e?16:e,at===null)var r=!1;else{if(e=at,at=null,ml=0,M&6)throw Error(k(331));var l=M;for(M|=4,P=e.current;P!==null;){var i=P,o=i.child;if(P.flags&16){var s=i.deletions;if(s!==null){for(var a=0;aY()-Yo?zt(e,0):Xo|=n),ye(e,t)}function Uc(e,t){t===0&&(e.mode&1?(t=Er,Er<<=1,!(Er&130023424)&&(Er=4194304)):t=1);var n=de();e=be(e,t),e!==null&&(ur(e,t,n),ye(e,n))}function Lp(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Uc(e,n)}function Rp(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(k(314))}r!==null&&r.delete(t),Uc(e,n)}var $c;$c=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ge.current)me=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return me=!1,yp(e,t,n);me=!!(e.flags&131072)}else me=!1,B&&t.flags&1048576&&Wu(t,ol,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Wr(e,t),e=t.pendingProps;var l=dn(t,ue.current);an(t,n),l=Ho(null,t,r,e,l,n);var i=Vo();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,ve(r)?(i=!0,ll(t)):i=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Ao(t),l.updater=Nl,t.stateNode=l,l._reactInternals=t,Qi(t,r,e,n),t=Xi(null,t,r,!0,i,n)):(t.tag=0,B&&i&&Lo(t),ce(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Wr(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=Ip(r),e=Fe(r,e),l){case 0:t=Ki(null,t,r,e,n);break e;case 1:t=oa(null,t,r,e,n);break e;case 11:t=la(null,t,r,e,n);break e;case 14:t=ia(null,t,r,Fe(r.type,e),n);break e}throw Error(k(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Fe(r,l),Ki(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Fe(r,l),oa(e,t,r,l,n);case 3:e:{if(Ec(t),e===null)throw Error(k(387));r=t.pendingProps,i=t.memoizedState,l=i.element,Ju(e,t),ul(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=mn(Error(k(423)),t),t=sa(e,t,r,n,l);break e}else if(r!==l){l=mn(Error(k(424)),t),t=sa(e,t,r,n,l);break e}else for(xe=pt(t.stateNode.containerInfo.firstChild),ke=t,B=!0,Ae=null,n=Xu(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(fn(),r===l){t=et(e,t,n);break e}ce(e,t,r,n)}t=t.child}return t;case 5:return Zu(t),e===null&&Hi(t),r=t.type,l=t.pendingProps,i=e!==null?e.memoizedProps:null,o=l.children,Ai(r,l)?o=null:i!==null&&Ai(r,i)&&(t.flags|=32),kc(e,t),ce(e,t,o,n),t.child;case 6:return e===null&&Hi(t),null;case 13:return Cc(e,t,n);case 4:return Do(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=pn(t,null,r,n):ce(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Fe(r,l),la(e,t,r,l,n);case 7:return ce(e,t,t.pendingProps,n),t.child;case 8:return ce(e,t,t.pendingProps.children,n),t.child;case 12:return ce(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,D(sl,r._currentValue),r._currentValue=o,i!==null)if($e(i.value,o)){if(i.children===l.children&&!ge.current){t=et(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){o=i.child;for(var a=s.firstContext;a!==null;){if(a.context===r){if(i.tag===1){a=Je(-1,n&-n),a.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var g=u.pending;g===null?a.next=a:(a.next=g.next,g.next=a),u.pending=a}}i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),Vi(i.return,n,t),s.lanes|=n;break}a=a.next}}else if(i.tag===10)o=i.type===t.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(k(341));o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),Vi(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}ce(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,an(t,n),l=Le(l),r=r(l),t.flags|=1,ce(e,t,r,n),t.child;case 14:return r=t.type,l=Fe(r,t.pendingProps),l=Fe(r.type,l),ia(e,t,r,l,n);case 15:return xc(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Fe(r,l),Wr(e,t),t.tag=1,ve(r)?(e=!0,ll(t)):e=!1,an(t,n),vc(t,r,l),Qi(t,r,l,n),Xi(null,t,r,!0,e,n);case 19:return jc(e,t,n);case 22:return Sc(e,t,n)}throw Error(k(156,t.tag))};function Bc(e,t){return hu(e,t)}function zp(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 _e(e,t,n,r){return new zp(e,t,n,r)}function bo(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Ip(e){if(typeof e=="function")return bo(e)?1:0;if(e!=null){if(e=e.$$typeof,e===yo)return 11;if(e===wo)return 14}return 2}function vt(e,t){var n=e.alternate;return n===null?(n=_e(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 Kr(e,t,n,r,l,i){var o=2;if(r=e,typeof e=="function")bo(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Gt:return It(n.children,l,i,t);case vo:o=8,l|=8;break;case mi:return e=_e(12,n,t,l|2),e.elementType=mi,e.lanes=i,e;case gi:return e=_e(13,n,t,l),e.elementType=gi,e.lanes=i,e;case vi:return e=_e(19,n,t,l),e.elementType=vi,e.lanes=i,e;case Za:return Ll(n,l,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Ya:o=10;break e;case Ja:o=9;break e;case yo:o=11;break e;case wo:o=14;break e;case rt:o=16,r=null;break e}throw Error(k(130,e==null?e:typeof e,""))}return t=_e(o,n,t,l),t.elementType=e,t.type=r,t.lanes=i,t}function It(e,t,n,r){return e=_e(7,e,r,t),e.lanes=n,e}function Ll(e,t,n,r){return e=_e(22,e,r,t),e.elementType=Za,e.lanes=n,e.stateNode={isHidden:!1},e}function ui(e,t,n){return e=_e(6,e,null,t),e.lanes=n,e}function ci(e,t,n){return t=_e(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Op(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=Wl(0),this.expirationTimes=Wl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Wl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function es(e,t,n,r,l,i,o,s,a){return e=new Op(e,t,n,s,a),t===1?(t=1,i===!0&&(t|=8)):t=0,i=_e(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ao(i),e}function Fp(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Qc)}catch(e){console.error(e)}}Qc(),Qa.exports=Ce;var $p=Qa.exports,wa=$p;pi.createRoot=wa.createRoot,pi.hydrateRoot=wa.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 or(){return or=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function ls(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Hp(){return Math.random().toString(36).substr(2,8)}function Sa(e,t){return{usr:e.state,key:e.key,idx:t}}function oo(e,t,n,r){return n===void 0&&(n=null),or({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Bt(t):t,{state:n,key:t&&t.key||r||Hp()})}function yl(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 Bt(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 Vp(e,t,n,r){r===void 0&&(r={});let{window:l=document.defaultView,v5Compat:i=!1}=r,o=l.history,s=ut.Pop,a=null,u=g();u==null&&(u=0,o.replaceState(or({},o.state,{idx:u}),""));function g(){return(o.state||{idx:null}).idx}function m(){s=ut.Pop;let C=g(),p=C==null?null:C-u;u=C,a&&a({action:s,location:S.location,delta:p})}function v(C,p){s=ut.Push;let c=oo(S.location,C,p);n&&n(c,C),u=g()+1;let h=Sa(c,u),y=S.createHref(c);try{o.pushState(h,"",y)}catch(j){if(j instanceof DOMException&&j.name==="DataCloneError")throw j;l.location.assign(y)}i&&a&&a({action:s,location:S.location,delta:1})}function x(C,p){s=ut.Replace;let c=oo(S.location,C,p);n&&n(c,C),u=g();let h=Sa(c,u),y=S.createHref(c);o.replaceState(h,"",y),i&&a&&a({action:s,location:S.location,delta:0})}function w(C){let p=l.location.origin!=="null"?l.location.origin:l.location.href,c=typeof C=="string"?C:yl(C);return c=c.replace(/ $/,"%20"),Z(p,"No window.location.(origin|href) available to create URL for href: "+c),new URL(c,p)}let S={get action(){return s},get location(){return e(l,o)},listen(C){if(a)throw new Error("A history only accepts one active listener");return l.addEventListener(xa,m),a=C,()=>{l.removeEventListener(xa,m),a=null}},createHref(C){return t(l,C)},createURL:w,encodeLocation(C){let p=w(C);return{pathname:p.pathname,search:p.search,hash:p.hash}},push:v,replace:x,go(C){return o.go(C)}};return S}var ka;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(ka||(ka={}));function Wp(e,t,n){return n===void 0&&(n="/"),Qp(e,t,n)}function Qp(e,t,n,r){let l=typeof t=="string"?Bt(t):t,i=is(l.pathname||"/",n);if(i==null)return null;let o=Gc(e);Gp(o);let s=null,a=lh(i);for(let u=0;s==null&&u{let a={relativePath:s===void 0?i.path||"":s,caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};a.relativePath.startsWith("/")&&(Z(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),a.relativePath=a.relativePath.slice(r.length));let u=yt([r,a.relativePath]),g=n.concat(a);i.children&&i.children.length>0&&(Z(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),Gc(i.children,t,g,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:bp(u,i.index),routesMeta:g})};return e.forEach((i,o)=>{var s;if(i.path===""||!((s=i.path)!=null&&s.includes("?")))l(i,o);else for(let a of Kc(i.path))l(i,o,a)}),t}function Kc(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=Kc(r.join("/")),s=[];return s.push(...o.map(a=>a===""?i:[i,a].join("/"))),l&&s.push(...o),s.map(a=>e.startsWith("/")&&a===""?"/":a)}function Gp(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:eh(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const Kp=/^:[\w-]+$/,Xp=3,Yp=2,Jp=1,Zp=10,qp=-2,Ea=e=>e==="*";function bp(e,t){let n=e.split("/"),r=n.length;return n.some(Ea)&&(r+=qp),t&&(r+=Yp),n.filter(l=>!Ea(l)).reduce((l,i)=>l+(Kp.test(i)?Xp:i===""?Jp:Zp),r)}function eh(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 th(e,t,n){let{routesMeta:r}=e,l={},i="/",o=[];for(let s=0;s{let{paramName:v,isOptional:x}=g;if(v==="*"){let S=s[m]||"";o=i.slice(0,i.length-S.length).replace(/(.)\/+$/,"$1")}const w=s[m];return x&&!w?u[v]=void 0:u[v]=(w||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:o,pattern:e}}function rh(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),ls(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,s,a)=>(r.push({paramName:s,isOptional:a!=null}),a?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),r]}function lh(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return ls(!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 is(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 ih(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:l=""}=typeof e=="string"?Bt(e):e,i;return n?(n=Jc(n),n.startsWith("/")?i=Ca(n.substring(1),"/"):i=Ca(n,t)):i=t,{pathname:i,search:ah(r),hash:uh(l)}}function Ca(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 di(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 oh(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Xc(e,t){let n=oh(e);return t?n.map((r,l)=>l===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Yc(e,t,n,r){r===void 0&&(r=!1);let l;typeof e=="string"?l=Bt(e):(l=or({},e),Z(!l.pathname||!l.pathname.includes("?"),di("?","pathname","search",l)),Z(!l.pathname||!l.pathname.includes("#"),di("#","pathname","hash",l)),Z(!l.search||!l.search.includes("#"),di("#","search","hash",l)));let i=e===""||l.pathname==="",o=i?"/":l.pathname,s;if(o==null)s=n;else{let m=t.length-1;if(!r&&o.startsWith("..")){let v=o.split("/");for(;v[0]==="..";)v.shift(),m-=1;l.pathname=v.join("/")}s=m>=0?t[m]:"/"}let a=ih(l,s),u=o&&o!=="/"&&o.endsWith("/"),g=(i||o===".")&&n.endsWith("/");return!a.pathname.endsWith("/")&&(u||g)&&(a.pathname+="/"),a}const Jc=e=>e.replace(/\/\/+/g,"/"),yt=e=>Jc(e.join("/")),sh=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),ah=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,uh=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function ch(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Zc=["post","put","patch","delete"];new Set(Zc);const dh=["get",...Zc];new Set(dh);/** * 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 sr(){return sr=Object.assign?Object.assign.bind():function(e){for(var t=1;t{s.current=!0}),E.useCallback(function(u,g){if(g===void 0&&(g={}),!s.current)return;if(typeof u=="number"){r.go(u);return}let m=Yc(u,JSON.parse(o),i,g.relative==="path");e==null&&t!=="/"&&(m.pathname=m.pathname==="/"?t:yt([t,m.pathname])),(g.replace?r.replace:r.push)(m,g.state,g)},[t,r,o,i,e])}function ed(){let{matches:e}=E.useContext(Ct),t=e[e.length-1];return t?t.params:{}}function td(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=E.useContext(Ht),{matches:l}=E.useContext(Ct),{pathname:i}=hr(),o=JSON.stringify(Xc(l,r.v7_relativeSplatPath));return E.useMemo(()=>Yc(e,JSON.parse(o),i,n==="path"),[e,o,i,n])}function gh(e,t){return vh(e,t)}function vh(e,t,n,r){pr()||Z(!1);let{navigator:l}=E.useContext(Ht),{matches:i}=E.useContext(Ct),o=i[i.length-1],s=o?o.params:{};o&&o.pathname;let a=o?o.pathnameBase:"/";o&&o.route;let u=hr(),g;if(t){var m;let C=typeof t=="string"?Bt(t):t;a==="/"||(m=C.pathname)!=null&&m.startsWith(a)||Z(!1),g=C}else g=u;let v=g.pathname||"/",x=v;if(a!=="/"){let C=a.replace(/^\//,"").split("/");x="/"+v.replace(/^\//,"").split("/").slice(C.length).join("/")}let w=Wp(e,{pathname:x}),S=kh(w&&w.map(C=>Object.assign({},C,{params:Object.assign({},s,C.params),pathname:yt([a,l.encodeLocation?l.encodeLocation(C.pathname).pathname:C.pathname]),pathnameBase:C.pathnameBase==="/"?a:yt([a,l.encodeLocation?l.encodeLocation(C.pathnameBase).pathname:C.pathnameBase])})),i,n,r);return t&&S?E.createElement(Fl.Provider,{value:{location:sr({pathname:"/",search:"",hash:"",state:null,key:"default"},g),navigationType:ut.Pop}},S):S}function yh(){let e=Ph(),t=ch(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 E.createElement(E.Fragment,null,E.createElement("h2",null,"Unexpected Application Error!"),E.createElement("h3",{style:{fontStyle:"italic"}},t),n?E.createElement("pre",{style:l},n):null,null)}const wh=E.createElement(yh,null);class xh extends E.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?E.createElement(Ct.Provider,{value:this.props.routeContext},E.createElement(qc.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Sh(e){let{routeContext:t,match:n,children:r}=e,l=E.useContext(os);return l&&l.static&&l.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=n.route.id),E.createElement(Ct.Provider,{value:t},r)}function kh(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,s=(l=n)==null?void 0:l.errors;if(s!=null){let g=o.findIndex(m=>m.route.id&&(s==null?void 0:s[m.route.id])!==void 0);g>=0||Z(!1),o=o.slice(0,Math.min(o.length,g+1))}let a=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let g=0;g=0?o=o.slice(0,u+1):o=[o[0]];break}}}return o.reduceRight((g,m,v)=>{let x,w=!1,S=null,C=null;n&&(x=s&&m.route.id?s[m.route.id]:void 0,S=m.route.errorElement||wh,a&&(u<0&&v===0?(_h("route-fallback"),w=!0,C=null):u===v&&(w=!0,C=m.route.hydrateFallbackElement||null)));let p=t.concat(o.slice(0,v+1)),c=()=>{let h;return x?h=S:w?h=C:m.route.Component?h=E.createElement(m.route.Component,null):m.route.element?h=m.route.element:h=g,E.createElement(Sh,{match:m,routeContext:{outlet:g,matches:p,isDataRoute:n!=null},children:h})};return n&&(m.route.ErrorBoundary||m.route.errorElement||v===0)?E.createElement(xh,{location:n.location,revalidation:n.revalidation,component:S,error:x,children:c(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):c()},null)}var nd=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(nd||{}),rd=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}(rd||{});function Eh(e){let t=E.useContext(os);return t||Z(!1),t}function Ch(e){let t=E.useContext(fh);return t||Z(!1),t}function jh(e){let t=E.useContext(Ct);return t||Z(!1),t}function ld(e){let t=jh(),n=t.matches[t.matches.length-1];return n.route.id||Z(!1),n.route.id}function Ph(){var e;let t=E.useContext(qc),n=Ch(),r=ld();return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function Nh(){let{router:e}=Eh(nd.UseNavigateStable),t=ld(rd.UseNavigateStable),n=E.useRef(!1);return bc(()=>{n.current=!0}),E.useCallback(function(l,i){i===void 0&&(i={}),n.current&&(typeof l=="number"?e.navigate(l):e.navigate(l,sr({fromRouteId:t},i)))},[e,t])}const ja={};function _h(e,t,n){ja[e]||(ja[e]=!0)}function Th(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function Wt(e){Z(!1)}function Lh(e){let{basename:t="/",children:n=null,location:r,navigationType:l=ut.Pop,navigator:i,static:o=!1,future:s}=e;pr()&&Z(!1);let a=t.replace(/^\/*/,"/"),u=E.useMemo(()=>({basename:a,navigator:i,static:o,future:sr({v7_relativeSplatPath:!1},s)}),[a,s,i,o]);typeof r=="string"&&(r=Bt(r));let{pathname:g="/",search:m="",hash:v="",state:x=null,key:w="default"}=r,S=E.useMemo(()=>{let C=is(g,a);return C==null?null:{location:{pathname:C,search:m,hash:v,state:x,key:w},navigationType:l}},[a,g,m,v,x,w,l]);return S==null?null:E.createElement(Ht.Provider,{value:u},E.createElement(Fl.Provider,{children:n,value:S}))}function Rh(e){let{children:t,location:n}=e;return gh(so(t),n)}new Promise(()=>{});function so(e,t){t===void 0&&(t=[]);let n=[];return E.Children.forEach(e,(r,l)=>{if(!E.isValidElement(r))return;let i=[...t,l];if(r.type===E.Fragment){n.push.apply(n,so(r.props.children,i));return}r.type!==Wt&&Z(!1),!r.props.index||!r.props.children||Z(!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=so(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 ao(){return ao=Object.assign?Object.assign.bind():function(e){for(var t=1;t{u&&Pa?Pa(()=>a(m)):a(m)},[a,u]);return E.useLayoutEffect(()=>o.listen(g),[o,g]),E.useEffect(()=>Th(r),[r]),E.createElement(Lh,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:o,future:r})}const Uh=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",$h=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Se=E.forwardRef(function(t,n){let{onClick:r,relative:l,reloadDocument:i,replace:o,state:s,target:a,to:u,preventScrollReset:g,viewTransition:m}=t,v=zh(t,Fh),{basename:x}=E.useContext(Ht),w,S=!1;if(typeof u=="string"&&$h.test(u)&&(w=u,Uh))try{let h=new URL(window.location.href),y=u.startsWith("//")?new URL(h.protocol+u):new URL(u),j=is(y.pathname,x);y.origin===h.origin&&j!=null?u=j+y.search+y.hash:S=!0}catch{}let C=ph(u,{relative:l}),p=Bh(u,{replace:o,state:s,target:a,preventScrollReset:g,relative:l,viewTransition:m});function c(h){r&&r(h),h.defaultPrevented||p(h)}return E.createElement("a",ao({},v,{href:w||C,onClick:S||i?r:c,ref:n,target:a}))});var Na;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Na||(Na={}));var _a;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(_a||(_a={}));function Bh(e,t){let{target:n,replace:r,state:l,preventScrollReset:i,relative:o,viewTransition:s}=t===void 0?{}:t,a=hh(),u=hr(),g=td(e,{relative:o});return E.useCallback(m=>{if(Oh(m,n)){m.preventDefault();let v=r!==void 0?r:yl(u)===yl(g);a(e,{replace:v,state:l,preventScrollReset:i,relative:o,viewTransition:s})}},[u,a,g,r,l,n,e,i,o,s])}const id="nexora.lang",Ta={en:{tagline:"Leading the human-centric agentic era",siteTitle:"Nexora // Archive",admin:"Admin",copyright:"© 2026 Nexora. All rights reserved.",language:"Language",subPages:"Sub-pages",notFound:"Not found",backHome:"Back to home",home:"home",services:"Services",projects:"Decoupled products",team:"The team",endpoints:"Endpoints",live:"live",models:"Models",datasets:"Datasets",spaces:"Spaces",downloads:"downloads",likes:"likes",gists:"Gists",repositories:"repositories",adminLede:"Internal authentication, content management, and operational tooling will live here.",notImplemented:"Not yet implemented",adminDetail:"This surface will host GitHub sign-in, public-page content management, and the API operations dashboard. It remains a placeholder until that work is scoped.",resourceKindService:"service",resourceKindProject:"project",object:"Object",pricing:"Pricing strategy",objectBrief:"Object brief",openObject:"Open object",openDetail:"Open detail",expand:"Expand",collapse:"Collapse"},cn:{tagline:"以人为主体的智能体时代",siteTitle:"Nexora // 档案",admin:"管理",copyright:"© 2026 Nexora · 保留所有权利",language:"语言",subPages:"子页面",notFound:"未找到页面",backHome:"返回首页",home:"首页",services:"服务",projects:"独立产品",team:"团队",endpoints:"接口端点",live:"实时",models:"模型",datasets:"数据集",spaces:"空间",downloads:"下载量",likes:"喜欢",gists:"代码片段",repositories:"仓库",adminLede:"内部认证、内容管理与运营工具将在这里提供。",notImplemented:"暂未实现",adminDetail:"这里将提供 GitHub 登录、公开页面内容管理和 API 运营看板。在明确范围前,该页面仅作为占位入口。",resourceKindService:"服务",resourceKindProject:"项目",object:"对象",pricing:"定价策略",objectBrief:"对象概览",openObject:"打开对象",openDetail:"打开详情",expand:"展开",collapse:"收起"}},od=E.createContext(null);function Hh(){const e=localStorage.getItem(id);return e==="cn"||e==="en"?e:"en"}function Vh({children:e}){const[t,n]=E.useState(Hh);E.useEffect(()=>{localStorage.setItem(id,t),document.documentElement.lang=t==="cn"?"zh-CN":"en",document.title=Ta[t].siteTitle},[t]);const r=E.useMemo(()=>({lang:t,setLang:n,ui:Ta[t]}),[t]);return d.jsx(od.Provider,{value:r,children:e})}function G(){const e=E.useContext(od);if(!e)throw new Error("useLanguage must be used inside LanguageProvider");return e}function Wh(){const{lang:e,setLang:t,ui:n}=G(),r=hr();return d.jsxs(d.Fragment,{children:[d.jsxs("div",{className:"frame-top",children:[d.jsxs(Se,{to:"/",className:"brand-link",children:[d.jsx("div",{className:"sys-title",children:"Nexora"}),d.jsx("div",{className:"sys-subtitle",children:n.tagline})]}),d.jsxs("div",{className:"sys-meta-right",children:[d.jsxs("div",{className:"lang-picker",role:"group","aria-label":n.language,children:[d.jsx("button",{type:"button",className:`lang-btn ${e==="en"?"is-active":""}`,onClick:()=>t("en"),"aria-pressed":e==="en","aria-label":"English",children:"EN"}),d.jsx("span",{className:"lang-sep",children:"/"}),d.jsx("button",{type:"button",className:`lang-btn ${e==="cn"?"is-active":""}`,onClick:()=>t("cn"),"aria-pressed":e==="cn","aria-label":"中文",children:"CN"})]}),d.jsx(Se,{to:`/admin?from=${encodeURIComponent(r.pathname)}`,className:"admin-btn","aria-label":n.admin,children:n.admin})]})]}),d.jsxs("div",{className:"frame-bottom",children:[d.jsx("div",{className:"branding",children:n.copyright}),d.jsx("div",{className:"dot-signature",children:"•"})]})]})}const Qh=` attribute vec4 aVertexPosition; varying vec2 vUv; void main() { gl_Position = aVertexPosition; vUv = aVertexPosition.xy * 0.5 + 0.5; } `,Gh=` 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 La(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 Kh(e){const t=La(e,e.VERTEX_SHADER,Qh),n=La(e,e.FRAGMENT_SHADER,Gh);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 Xh(){const e=E.useRef(null);return E.useEffect(()=>{const t=e.current;if(!t)return;const n=t.getContext("webgl");if(!n){console.error("WebGL not supported");return}const r=Kh(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 s=new Float32Array([1,1,-1,1,1,-1,-1,-1]);n.bufferData(n.ARRAY_BUFFER,s,n.STATIC_DRAW);let a=0,u=0;const g=w=>{a=w.clientX,u=window.innerHeight-w.clientY};window.addEventListener("mousemove",g);const m=()=>{const w=Math.min(window.devicePixelRatio||1,2),S=Math.max(t.clientWidth,document.documentElement.clientWidth),C=Math.max(t.clientHeight,document.documentElement.scrollHeight),p=Math.floor(S*w),c=Math.floor(C*w);return(t.width!==p||t.height!==c)&&(t.width=p,t.height=c),{w:S,h:C}};m(),window.addEventListener("resize",m);let v=0;const x=w=>{w*=.001,m(),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,w),n.uniform2f(i.uResolution,t.width,t.height),n.uniform2f(i.uMouse,a,u),n.drawArrays(n.TRIANGLE_STRIP,0,4),v=requestAnimationFrame(x)};return v=requestAnimationFrame(x),()=>{cancelAnimationFrame(v),window.removeEventListener("mousemove",g),window.removeEventListener("resize",m),n.deleteProgram(r),n.deleteBuffer(o)}},[]),d.jsx("canvas",{id:"glcanvas",ref:e})}const f=(e,t)=>({en:e,cn:t}),O=(e,t)=>e[t],Yh={id:"standalone",title:f("Decoupled","独立产品"),path:"/category/product/standalone",navigationTagline:f("Apps and the open source that backs them.","应用,以及支撑它们的开源项目。"),tagline:f("Apps that ship, and the open source that backs them.","正在交付的应用,以及支撑它们的开源项目。"),blocks:[{kind:"panor_projects"}]},Jh={id:"designs",title:f("Designs","设计"),path:"/category/product/designs",navigationTagline:f("Visual + interaction system. Tokens, components, motion.","视觉与交互系统:设计令牌、组件与动效。"),tagline:f("Visual + interaction system. Tokens, components, motion.","视觉与交互系统:设计令牌、组件与动效。"),blocks:[{kind:"specs",items:[f("Color: deep orange → yellow → cyan → teal → navy (WebGL gradient)","色彩:深橙 → 黄色 → 青色 → 蓝绿 → 海军蓝(WebGL 渐变)"),f("Type: Inter 400/500 + JetBrains Mono 400/500","字体:Inter 400/500 + JetBrains Mono 400/500"),f("Line weight: 1px solid #000","线条:1px 实线 #000"),f("Motion: 0.85s cubic-bezier(0.2, 1, 0.2, 1)","动效:0.85 秒 cubic-bezier(0.2, 1, 0.2, 1)"),f("Grain: 0.18 (fragment shader)","颗粒:0.18(片元着色器)")]}]},Zh={id:"services",title:f("Services","服务"),path:"/category/product/services",navigationTagline:f("Deployment, transformation, research, and AI product delivery.","部署、转型、研究与 AI 产品交付。"),tagline:f("Deployment, transformation, research, and AI product delivery.","部署、转型、研究与 AI 产品交付。"),blocks:[]},qh={id:"solutions",title:f("Solutions","解决方案"),path:"/category/product/solutions",navigationTagline:f("Applied AI for industry. Pilots to deployment.","面向行业的应用 AI:从试点到部署。"),tagline:f("Applied AI for industry. Pilots → production.","面向行业的应用 AI:试点 → 生产。"),blocks:[{kind:"panor_services"}]},bh={id:"product",index:"02",title:f("Product","产品"),path:"/category/product",lede:f("What ships. Solutions, decoupled products, services, and the design system that ties them together.","正在交付的成果:解决方案、独立产品、服务,以及贯穿其中的设计系统。"),subs:[qh,Yh,Zh,Jh]},Oe=(e,t,n)=>({kind:"screenshot",src:e,alt:f(t,n)}),Fr=(e,t,n)=>({kind:"embed",src:e,title:f(t,n)}),em={"research/llm":{description:f("Open-weight model research for practical local inference and reproducible release artifacts.","面向实用本地推理和可复现发布资产的开放权重模型研究。"),items:[{name:f("Qwen3.8-27B DFlash2 4-bit MLX","Qwen3.8-27B DFlash2 4-bit MLX"),url:"https://huggingface.co/ChengyiX/Qwen3.8-27B-DFlash2-4bit-MLX",description:f("Open local-model deployment artifact for Apple Silicon and edge inference.","面向 Apple Silicon 与边缘推理的开放本地模型部署资产。"),pricing:f("Open research artifact. Commercial support is scoped separately.","开放研究资产;商业支持按项目单独确定。"),visual:Oe("/showcase/llm.webp","Hugging Face model page","Hugging Face 模型页面")}]},"research/agent":{description:f("Tool-using agent research with explicit context, handoff, memory, and evaluation boundaries.","围绕上下文、交接、记忆与评测边界的工具型智能体研究。"),items:[{name:f("Agent Context Review Playground","智能体上下文审查实验场"),url:"https://huggingface.co/spaces/ChengyiX/agent-context-review-playground",description:f("Public interactive research surface for reviewing context and handoff decisions.","用于审查上下文和交接决策的公开交互研究界面。"),pricing:f("Public research demo. Advisory or implementation work is scoped per engagement.","公开研究演示;咨询或实施工作按合作范围确定。"),visual:Oe("/showcase/agent.webp","Agent research playground","智能体研究实验场")}]},"research/engineering":{description:f("Cross-stack engineering from dependable local tooling to production deployment discipline.","从可靠本地工具到生产部署规范的跨栈工程能力。"),items:[{name:f("OhMyHerdr","OhMyHerdr"),url:"https://github.com/chengyixu/oh-my-herdr",description:f("Native workspace runtime for coding agents, panes, tabs, and agent-aware terminal workflows.","面向编程智能体的原生工作区运行时,覆盖窗格、标签与智能体感知终端流程。"),pricing:f("Open-source tooling. Integration and customization are scoped separately.","开源工具;集成与定制按项目单独确定。"),visual:Oe("/showcase/engineering.webp","Engineering source repository","工程源码仓库")}]},"research/hardware":{description:f("Embedded, edge, and accelerator exploration that connects device constraints to usable AI systems.","连接设备约束与可用 AI 系统的嵌入式、边缘与加速器探索。"),items:[{name:f("Hardware and edge inference","硬件与边缘推理"),url:"https://github.com/chengyixu/tscircuit",description:f("Research spanning electronics workflows, local models, firmware, and device-side inference.","覆盖电子工作流、本地模型、固件和设备端推理的研究。"),pricing:f("Research and hardware engagements are quoted against device, scope, and validation plan.","研究与硬件合作根据设备、范围和验证计划报价。"),visual:Oe("/showcase/hardware.webp","Electronics engineering source repository","电子工程源码仓库")}]},"product/solutions":{description:f("Applied AI systems built around a real operating problem, from constrained pilot through production rollout.","围绕真实运营问题构建的应用 AI 系统,从范围明确的试点走向生产部署。"),items:[{name:f("EVE quantitative research dashboard","EVE 量化研究看板"),url:"https://www.panor.tech/eve-invest/",description:f("Strategy comparison, risk exposure, and reproducible research records for investment workflows.","为投资工作流提供策略对比、风险暴露分析与可复现研究记录。"),pricing:f("Pilot and production engagements are scoped by data access, workflow, and support requirements.","试点与生产合作按数据接入、工作流和支持要求确定。"),visual:Fr("https://www.panor.tech/eve-invest/","EVE quantitative research dashboard","EVE 量化研究看板")}]},"product/standalone":{description:f("Independent products with a focused public experience and a clear boundary between product, evidence, and operations.","拥有聚焦公开体验的独立产品,并清晰划分产品、证据与运营边界。"),items:[{name:f("Not by AI — Human Certification","Not by AI — 人类创作认证"),url:"https://www.panor.tech/human/",description:f("Human review and QR-verifiable certification for work claimed as human-made.","针对声称由人类创作的作品,提供人工审查与二维码可验证认证。"),pricing:f("Certification pricing is quoted by submission volume and review requirements.","认证价格按提交量与审查要求确定。"),visual:Fr("https://www.panor.tech/human/","Not by AI certification","Not by AI 人类创作认证")}]},"product/services":{description:f("Deployment, transformation, research, and product delivery services. Select one object to inspect its evidence and engagement model.","部署、转型、研究与产品交付服务。选择一个对象以查看其证据和合作方式。"),items:[{name:f("LLM本地部署","LLM本地部署"),url:"https://huggingface.co/ChengyiX/Qwen3.8-27B-DFlash2-4bit-MLX",description:f("Local model deployment for private, Apple Silicon, or edge-constrained environments.","面向私有、Apple Silicon 或边缘受限环境的本地模型部署。"),pricing:f("Scoped by model, target hardware, security boundary, and support level.","按模型、目标硬件、安全边界与支持级别确定。"),visual:Oe("/showcase/llm.webp","Local LLM deployment model page","本地 LLM 部署模型页面")},{name:f("中转站与聚合站部署","中转站与聚合站部署"),url:"https://www.panor.tech/api/",description:f("Gateway and aggregation deployment for routing models, providers, APIs, and operational observability.","用于路由模型、供应商、API 与运营可观测性的网关和聚合站部署。"),pricing:f("Scoped by traffic, integrations, runtime topology, and service-level requirements.","按流量、集成数量、运行时拓扑和服务等级要求确定。"),visual:Fr("https://www.panor.tech/api/","Panor API service page","Panor API 服务页面")},{name:f("AI 化转型","AI 化转型"),url:"https://www.panor.tech/api/",description:f("Workflow discovery, prototype delivery, and operational rollout for teams adopting AI systems.","为团队采用 AI 系统提供工作流梳理、原型交付与运营落地。"),pricing:f("Discovery first; implementation is quoted after workflow and data boundaries are agreed.","先进行需求梳理;在明确工作流和数据边界后报价实施。"),visual:Fr("https://www.panor.tech/api/","Panor API service page","Panor API 服务页面")},{name:f("AI Marketing","AI Marketing"),url:"https://github.com/chengyixu/xhs-automation",description:f("AI-assisted content operations, publishing workflows, and channel measurement.","AI 辅助内容运营、发布工作流与渠道度量。"),pricing:f("Retainer or campaign scope, depending on channels, approvals, and content volume.","按渠道、审核流程与内容量采用长期服务或活动项目报价。"),visual:Oe("/showcase/marketing.webp","AI marketing source repository","AI 营销源码仓库")},{name:f("多端小程序开发","多端小程序开发"),url:"https://github.com/chengyixu/tacit-understanding-game",description:f("Multi-platform mini-program delivery across product design, implementation, and release preparation.","覆盖产品设计、实现与发布准备的多端小程序交付。"),pricing:f("Quoted by target platforms, interaction scope, integrations, and release requirements.","按目标平台、交互范围、集成和发布要求确定。"),visual:Oe("/showcase/miniprogram.webp","Mini-program source repository","小程序源码仓库")},{name:f("EVE 量化研究看板","EVE 量化研究看板"),url:"https://www.panor.tech/eve-invest/",description:f("Research dashboard for strategy comparison, risk indicators, and reproducible investment analysis.","用于策略对比、风险指标与可复现投资分析的研究看板。"),pricing:f("Research engagement. No investment advice; commercial access is scoped by data and workflow requirements.","研究合作,不构成投资建议;商业接入按数据与工作流要求确定。"),visual:Oe("/showcase/solutions.webp","EVE quantitative research dashboard","EVE 量化研究看板")},{name:f("EVE - Crypto Monitor","EVE - Crypto Monitor"),url:"https://github.com/chengyixu/EVE-hk",description:f("Digital-asset market and position monitoring with transparent information and risk signals.","提供透明信息与风险信号的数字资产市场及仓位监控。"),pricing:f("Research engagement. No investment advice; access is scoped by market coverage and integrations.","研究合作,不构成投资建议;按市场覆盖和集成需求确定。"),visual:Oe("/showcase/solutions.webp","EVE research dashboard","EVE 研究看板")},{name:f("Not by AI — Human Certification","Not by AI — 人类创作认证"),url:"https://www.panor.tech/human/",description:f("Human-made work certification with review and a QR-verifiable certificate.","对人类创作作品提供审查和二维码可验证认证。"),pricing:f("Quoted by submission volume and verification requirements.","按提交量和验证要求确定。"),visual:Oe("/showcase/decoupled.webp","Not by AI certification page","Not by AI 认证页面")}]},"product/designs":{description:f("A visual and interaction system that keeps public product surfaces coherent across categories and devices.","让公开产品界面在不同分类和设备上保持一致的视觉与交互系统。"),items:[{name:f("Nexora archive system","Nexora 档案系统"),url:"https://chengyix-nexora.static.hf.space/index.html#/",description:f("Archive-slider composition, WebGL backdrop, mono metadata, and responsive section navigation.","档案滑块构图、WebGL 背景、等宽元数据与响应式分类导航。"),pricing:f("Design systems are scoped by product surface, component inventory, and implementation handoff.","设计系统按产品界面、组件清单与实现交付范围确定。"),visual:Oe("/showcase/designs.webp","Nexora archive interface","Nexora 档案界面")}]}};function sd(e,t){return em[`${e}/${t}`]??null}const tm={id:"activities",title:f("Activities","活动"),path:"/category/reach/activities",navigationTagline:f("Hackathons, competitions, intern program.","黑客松、竞赛与实习计划。"),tagline:f("Hackathons, competitions, intern program.","黑客松、竞赛与实习计划。"),blocks:[{kind:"list",items:[{title:f("Hackathons","黑客松"),detail:f("Find us at hackathons. We bring models, agents, and the eval harness.","欢迎在黑客松相见:我们带来模型、智能体和评测框架。"),href:"mailto:activities@nexora.dev?subject=Hackathon"},{title:f("Competitions","竞赛"),detail:f("Sponsorship + problem design. We co-organize with research groups.","提供赞助与题目设计,并与研究团队共同组织。"),href:"mailto:activities@nexora.dev?subject=Competition"},{title:f("Intern program","实习计划"),meta:f("Summer","夏季"),detail:f("A 12-week paid internship. Real ownership, real research.","12 周带薪实习,承担真实责任,参与真实研究。"),href:"mailto:activities@nexora.dev?subject=Internship"}]}]},nm={id:"clients",title:f("Clients","客户"),path:"/category/reach/clients",navigationTagline:f("Production deployments with SLAs and support.","提供 SLA 与支持的生产部署。"),tagline:f("Production deployments with SLAs and support.","提供 SLA 与支持的生产部署。"),blocks:[{kind:"cards",cards:[{title:f("Pilots","试点"),meta:f("6 weeks","6 周"),detail:f("A scoped pilot against a real problem, with a real customer team.","围绕真实问题,与真实客户团队共同完成范围明确的试点。")},{title:f("Production","生产"),meta:f("On-prem · Cloud · Edge","本地 · 云端 · 边缘"),detail:f("Deployment with SLAs, support, and a shared roadmap.","提供 SLA、支持和共同路线图的部署。")},{title:f("Support","支持"),meta:f("24/7 · Uptime SLAs","全天候 · 可用性 SLA"),detail:f("Production support with a real engineer on call.","由真实工程师值守的生产支持。")}]}]},rm={id:"join",title:f("Join","加入"),path:"/category/reach/join",navigationTagline:f("Open roles. Researchers, engineers, designers, operators.","开放岗位:研究员、工程师、设计师与运营人员。"),tagline:f("Open roles. Researchers, engineers, designers, operators.","开放岗位:研究员、工程师、设计师与运营人员。"),blocks:[{kind:"list",items:[{title:f("Research engineer","研究工程师"),detail:f("Pre-training / post-training. PyTorch, distributed, evals.","预训练 / 后训练;PyTorch、分布式训练与评测。"),href:"mailto:join@nexora.dev?subject=Research%20engineer"},{title:f("Agent engineer","智能体工程师"),detail:f("Tool-using agents, planning, eval harnesses.","工具型智能体、规划与评测框架。"),href:"mailto:join@nexora.dev?subject=Agent%20engineer"},{title:f("Embedded + FPGA","嵌入式与 FPGA 工程师"),detail:f("Driver + firmware + RTL. Custom silicon.","驱动、固件与 RTL;定制芯片。"),href:"mailto:join@nexora.dev?subject=Embedded%2FFPGA"},{title:f("Designer","设计师"),detail:f("Visual + interaction system. Tokens, components, motion.","视觉与交互系统:令牌、组件与动效。"),href:"mailto:join@nexora.dev?subject=Designer"},{title:f("Operator","运营人员"),detail:f("Ops, finance, partnerships. Long-form thinking.","运营、财务与合作伙伴关系;长期思考。"),href:"mailto:join@nexora.dev?subject=Operator"}]}]},lm={id:"us",title:f("Us","我们"),path:"/category/reach/us",navigationTagline:f("About Nexora. The team, the model, the way we work.","关于 Nexora:团队、模式与工作方式。"),tagline:f("About Nexora. The team, the model, the way we work.","关于 Nexora:团队、模式与工作方式。"),blocks:[{kind:"panor_team"},{kind:"cards",cards:[{title:f("Team","团队"),meta:f("Small + deep","小而深"),detail:f("A handful of people, all with deep ownership. The ratio of thinking to talking is high.","少量成员,每个人都拥有深度责任;思考多于空谈。")},{title:f("Model","模式"),meta:f("Patient capital","耐心资本"),detail:f("Compute, data, and people are long-horizon investments. No extraction.","算力、数据和人才均是长期投入,不做短期榨取。")},{title:f("How","方法"),meta:f("Reproducible + open","可复现 + 开放"),detail:f("Builds, evals, and design decisions on the record. Closed only with a reason.","构建、评测与设计决策均有记录;仅在有理由时关闭。")}]}]},im={id:"reach",index:"04",title:f("Reach","联系"),path:"/category/reach",lede:f("Get in touch. Join, work with us, become a client, or meet us out there.","与我们联系:加入团队、共同合作、成为客户,或在线下活动中相见。"),subs:[rm,lm,nm,tm]},om={id:"agent",title:f("Agent","智能体"),path:"/category/research/agent",navigationTagline:f("Tool-using agents. Planning, memory, web + code + OS.","工具型智能体:规划、记忆、网页、代码与操作系统。"),tagline:f("Tool-using agents. Planning, memory, multi-step reasoning, reproducible evals.","工具型智能体:规划、记忆、多步推理与可复现评测。"),blocks:[{kind:"hf_spaces"},{kind:"gists",limit:12,filter:"agent",caption:f("Agent research · gists","智能体研究 · 代码片段")}]},sm={id:"engineering",title:f("Engineering","工程"),path:"/category/research/engineering",navigationTagline:f("From firmware to product. Driver + software + cloud.","从固件到产品:驱动、软件与云端。"),tagline:f("Cross-stack software engineering. From firmware to product, end to end.","跨栈软件工程:从固件到产品的端到端交付。"),blocks:[{kind:"gists",limit:12,filter:"engineering",caption:f("Engineering writing · gists","工程写作 · 代码片段")},{kind:"minervacap",limit:10,caption:f("minervacap2022 · live repos","minervacap2022 · 实时仓库")}]},am={id:"hardware",title:f("Hardware","硬件"),path:"/category/research/hardware",navigationTagline:f("FPGA, edge accelerators, sensors, custom silicon.","FPGA、边缘加速器、传感器与定制芯片。"),tagline:f("Edge + local deployment. Apple Silicon, MLX, llama.cpp, on-device inference.","边缘与本地部署:Apple Silicon、MLX、llama.cpp 与端侧推理。"),blocks:[{kind:"hf_datasets",caption:f("HF · datasets · local + on-device deployment","HF · 数据集 · 本地与端侧部署")},{kind:"hf_models",caption:f("HF · models · MLX + GGUF local","HF · 模型 · MLX 与 GGUF 本地运行")}]},um={id:"llm",title:f("LLM","大语言模型"),path:"/category/research/llm",navigationTagline:f("Foundation models. Pre-training, SFT, RLHF, distillation.","基础模型:预训练、监督微调、RLHF 与蒸馏。"),tagline:f("Foundation models and the IP they generate. Pre-training, post-training, distillation, continual learning.","基础模型及其产生的技术资产:预训练、后训练、蒸馏与持续学习。"),blocks:[{kind:"hf_models"},{kind:"hf_datasets"}]},cm={id:"research",index:"01",title:f("Research","研究"),path:"/category/research",lede:f("Where the work starts. Foundation models, agents, embedded + accelerator engineering.","工作从这里开始:基础模型、智能体、嵌入式与加速器工程。"),subs:[um,om,sm,am]},dm={id:"milestones",title:f("Milestones","里程碑"),path:"/category/vision/milestones",navigationTagline:f("The markers that brought the work to where it is now.","推动工作走到今天的重要节点。"),tagline:f("The markers that brought the work here.","推动工作走到这里的重要节点。"),blocks:[{kind:"timeline",items:[{when:f("2026 Q3","2026 年第三季度"),title:f("Site goes live","网站上线"),detail:f("First public release of the Nexora site. Web and API independently deployed.","Nexora 网站首次公开发布,Web 与 API 可独立部署。"),tag:f("Release","发布")},{when:f("2026 Q2","2026 年第二季度"),title:f("Independent R&D incorporation","独立研发主体成立"),detail:f("Set up as an independent, long-horizon R&D group. Patient capital. No parent company.","成立独立、长期主义的研发团队:耐心资本,无母公司。"),tag:f("Milestone","里程碑")},{when:f("2026 Q1","2026 年第一季度"),title:f("First open model + agent eval","首个开放模型与智能体评测"),detail:f("Released the first open-weights model and the eval harness that ships with every release.","发布首个开放权重模型,以及随每次发布交付的评测框架。"),tag:f("Research","研究")},{when:f("2025 Q4","2025 年第四季度"),title:f("Cross-stack engineering bench","跨栈工程平台"),detail:f("Brought embedded, FPGA, and product engineering under one roof. First end-to-end hardware-software product.","将嵌入式、FPGA 与产品工程纳入同一体系,完成首个端到端软硬件产品。"),tag:f("Engineering","工程")},{when:f("2025 Q2","2025 年第二季度"),title:f("Founding","起步"),detail:f("The work began as a one-person research notebook. It became a team by the end of the year.","工作始于一份个人研究笔记,并在当年年底发展为团队。"),tag:f("Origin","起源")}]}]},fm={id:"news",title:f("News","动态"),path:"/category/vision/news",navigationTagline:f("Releases, talks, press, public updates.","发布、演讲、媒体与公开动态。"),tagline:f("Releases, talks, press, public updates.","发布、演讲、媒体与公开动态。"),blocks:[{kind:"timeline",items:[{when:f("2026-08","2026-08"),title:f("Site is live","网站已上线"),detail:f("The first public release of the work is now reachable at the canonical URL.","首个公开版本现已可通过规范地址访问。"),tag:f("News","动态")},{when:f("2026-07","2026-07"),title:f("Talk: agent eval at ScaleConf","演讲:ScaleConf 智能体评测"),detail:f("Talk on reproducible agent benchmarks and what we learned shipping them in production.","分享可复现智能体基准测试,以及将其部署到生产环境后的经验。"),tag:f("Talk","演讲")},{when:f("2026-05","2026-05"),title:f("Open release: nexora-align v0.3","开放发布:nexora-align v0.3"),detail:f("Alignment pipeline with process-reward shaping. Public on GitHub.","采用过程奖励塑形的对齐流水线,已在 GitHub 公开。"),tag:f("Release","发布")},{when:f("2026-02","2026-02"),title:f("Block-diffusion speculative decoding","块扩散推测解码"),detail:f("Patent filed. 2.3× throughput on long-context inference at parity quality.","专利已提交;在同等质量下,长上下文推理吞吐量达到 2.3 倍。"),tag:f("Patent","专利")}]}]},pm={id:"philosophy",title:f("Philosophy","理念"),path:"/category/vision/philosophy",navigationTagline:f("How we work. Independent, long-term, open.","我们的工作方式:独立、长期、开放。"),tagline:f("How we work. Independent, long-term, open.","我们的工作方式:独立、长期、开放。"),blocks:[{kind:"cards",cards:[{title:f("Independent","独立"),meta:f("No parent company","无母公司"),detail:f("Decisions are made on the work, not on the quarter.","决策以工作本身为准,而非季度指标。")},{title:f("Long-term","长期"),meta:f("Decades, not releases","以十年计,而非按发布周期"),detail:f("Compute, data, and people are long-horizon investments.","算力、数据和人才都是长期投入。")},{title:f("Open by default","默认开放"),meta:f("Open weights · Open source","开放权重 · 开源"),detail:f("Closed only when there is a real reason — and that reason is on the record.","只有在确有理由时才关闭,并且该理由会被记录。")},{title:f("Reproducible","可复现"),meta:f("Builds + evals on every push","每次推送均构建并评测"),detail:f("A passing green that no one can reproduce is not a passing green.","无法复现的通过结果,不是真正的通过。")}]},{kind:"quote",text:f("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:f("Nexora · founding note","Nexora · 创始说明")}]},hm={id:"vision",index:"03",title:f("Vision","愿景"),path:"/category/vision",lede:f("Where the work is going. The long-form thinking behind the roadmap.","工作的去向:路线图背后的长期思考。"),subs:[dm,fm,pm]},ss=[cm,bh,hm,im];function mm(e,t){const n=ss.find(l=>l.id===e);if(!n)return null;const r=n.subs.find(l=>l.id===t);return r?{category:n,sub:r}:null}function Ra(){const{lang:e}=G();return d.jsx("div",{className:"slider-container",children:ss.map(t=>d.jsxs("div",{className:"column",children:[d.jsx("div",{className:"col-index",children:t.index}),d.jsx("div",{className:"col-content-main",children:d.jsx(Se,{to:t.path,className:"col-title",style:{textDecoration:"none",color:"inherit"},children:O(t.title,e)})}),d.jsx("div",{className:"col-footer",children:d.jsx("ul",{className:"spec-list",style:{textAlign:"right"},children:t.subs.map(n=>d.jsx("li",{children:d.jsx(Se,{to:n.path,style:{textDecoration:"none",color:"inherit"},onClick:r=>r.stopPropagation(),children:O(n.title,e)})},n.id))})})]},t.id))})}function gm({visual:e,url:t}){const{lang:n,ui:r}=G();return e.kind==="embed"?d.jsxs("div",{className:"showcase-visual showcase-embed",children:[d.jsx("iframe",{src:e.src,title:O(e.title,n)}),d.jsxs("a",{className:"showcase-visual-fallback",href:t,target:"_blank",rel:"noreferrer",children:["↗ ",r.openObject]})]}):d.jsx("div",{className:"showcase-visual",children:d.jsx("img",{src:e.src,alt:O(e.alt,n)})})}function vm({item:e,panelId:t}){const{lang:n,ui:r}=G();return d.jsxs("div",{className:"showcase-object-panel",id:t,children:[d.jsx(gm,{visual:e.visual,url:e.url}),d.jsxs("div",{className:"showcase-object-copy",children:[d.jsx("p",{children:O(e.description,n)}),d.jsxs("div",{className:"showcase-pricing",children:[d.jsx("span",{children:r.pricing}),O(e.pricing,n)]}),d.jsxs("a",{href:e.url,target:"_blank",rel:"noreferrer",className:"showcase-url",children:["↗ ",e.url.replace(/^https?:\/\//,"")]})]})]})}function ad({category:e,sub:t,topic:n}){const{lang:r,ui:l}=G(),[i,o]=E.useState(null),s=`${e.id}-${t.id}`;return d.jsx("div",{className:"showcase-object-list",children:n.items.map((a,u)=>{const g=i===u,m=`showcase-object-${s}-${u}`;return d.jsxs("article",{className:`showcase-object-item ${g?"is-expanded":""}`,children:[d.jsxs("button",{type:"button",className:"showcase-object-trigger",onClick:()=>o(g?null:u),"aria-expanded":g,"aria-controls":m,children:[d.jsx("span",{className:"showcase-index",children:String(u+1).padStart(2,"0")}),d.jsx("span",{className:"showcase-object-title",children:O(a.name,r)}),d.jsx("span",{className:"showcase-action",children:g?l.collapse:l.expand})]}),g&&d.jsx(vm,{item:a,panelId:m})]},a.url)})})}function ym({category:e,sub:t,index:n,topic:r}){const{lang:l,ui:i}=G();return d.jsxs("section",{className:"showcase-subcategory",children:[d.jsxs("header",{className:"showcase-subcategory-header",children:[d.jsx("div",{className:"showcase-index",children:String(n+1).padStart(2,"0")}),d.jsxs("div",{children:[d.jsx("h2",{children:O(t.title,l)}),d.jsx("p",{children:O(t.navigationTagline,l)}),d.jsx("small",{children:O(r.description,l)})]}),d.jsxs(Se,{to:t.path,className:"showcase-link",children:[i.openDetail," →"]})]}),d.jsx(ad,{category:e,sub:t,topic:r})]})}function wm({category:e,sub:t,topic:n}){const{lang:r,ui:l}=G();return d.jsxs("section",{className:"showcase-direct-detail",children:[d.jsxs("div",{className:"showcase-direct-intro",children:[d.jsx("div",{className:"showcase-kicker",children:l.objectBrief}),d.jsx("p",{children:O(n.description,r)})]}),d.jsx(ad,{category:e,sub:t,topic:n})]})}function xm({category:e}){return d.jsx("div",{className:"category-showcase",children:e.subs.map((t,n)=>{const r=sd(e.id,t.id);return r?d.jsx(ym,{category:e,sub:t,index:n,topic:r},t.id):null})})}function Sm(){const{categoryId:e}=ed(),{lang:t,ui:n}=G(),r=ss.find(i=>i.id===e);if(E.useEffect(()=>{window.scrollTo(0,0)},[e]),!r)return d.jsxs("div",{className:"content",children:[d.jsx("h1",{children:n.notFound}),d.jsx(Se,{to:"/",children:n.backHome})]});const l=r.id==="research"||r.id==="product";return d.jsxs("div",{className:"content",children:[d.jsx("div",{className:"col-index",style:{marginBottom:8},children:r.index}),d.jsx("h1",{children:O(r.title,t)}),d.jsx("p",{className:"lede",children:O(r.lede,t)}),d.jsx("div",{className:"category-section-label",children:l?n.objectBrief:n.subPages}),l?d.jsx(xm,{category:r}):d.jsx("div",{className:"section-grid",children:r.subs.map((i,o)=>d.jsxs(Se,{to:i.path,className:"section-card",style:{textDecoration:"none",color:"inherit"},children:[d.jsx("div",{className:"index",children:String(o+1).padStart(2,"0")}),d.jsx("h3",{children:O(i.title,t)}),d.jsx("p",{children:O(i.navigationTagline,t)}),d.jsx("div",{className:"tags",children:i.path})]},i.id))}),d.jsx("div",{style:{marginTop:48},children:d.jsxs(Se,{to:"/",style:{borderBottom:"1px solid currentColor",fontSize:13},children:["← ",n.backHome]})})]})}function km({items:e}){const{lang:t}=G();return d.jsx("div",{className:"timeline",style:{margin:"0 0 32px"},children:e.map((n,r)=>d.jsxs("div",{className:"timeline-item",children:[d.jsx("div",{className:"when",children:O(n.when,t)}),d.jsxs("div",{children:[d.jsx("h3",{children:O(n.title,t)}),d.jsx("p",{children:O(n.detail,t)})]}),d.jsx("div",{className:"tag",children:n.tag?O(n.tag,t):""})]},r))})}const Em={GET:"#2a9d8f",POST:"#e85d04",PUT:"#e9c46a",PATCH:"#f4a261",DELETE:"#e63946"},za={en:{},cn:{"/api/health":"健康检查","/api/github/repos":"GitHub 仓库目录","/api/github/gists":"GitHub 代码片段目录","/api/github/minervacap":"Minerva Capital 仓库目录","/api/hf/models":"Hugging Face 模型目录","/api/hf/datasets":"Hugging Face 数据集目录","/api/hf/spaces":"Hugging Face Spaces 目录","/api/panor/items":"Panor 条目目录","/api/panor/services":"Panor 服务目录","/api/panor/projects":"Panor 项目目录","/api/panor/team":"Panor 团队目录","/api/content/all":"全部内容目录","/api/meta/endpoints":"API 端点目录"}};function Cm(){const[e,t]=E.useState(null),{lang:n,ui:r}=G();return E.useEffect(()=>{fetch("/api/meta/endpoints").then(l=>l.ok?l.json():null).then(l=>t(l)).catch(()=>t(null))},[]),!e||e.source!=="live"||e.items.length===0?null:d.jsxs("div",{style:{margin:"0 0 32px"},children:[d.jsxs("div",{style:{fontSize:11,textTransform:"uppercase",letterSpacing:"0.04em",opacity:.5,marginBottom:12},children:[r.endpoints," · ",r.live," · ",e.count]}),d.jsx("div",{className:"resource-list",style:{borderTop:"1px solid currentColor"},children:e.items.map((l,i)=>d.jsxs("div",{className:"resource-row",style:{borderBottom:"1px solid rgba(0,0,0,0.2)"},children:[d.jsx("div",{className:"idx",children:String(i+1).padStart(2,"0")}),d.jsxs("div",{className:"name",children:[d.jsx("span",{style:{display:"inline-block",fontSize:10,fontFamily:"var(--font-mono)",padding:"2px 6px",border:"1px solid currentColor",marginRight:10,color:Em[l.method]??"inherit"},children:l.method}),d.jsx("span",{style:{fontFamily:"var(--font-mono)",fontSize:13},children:l.path}),(za[n][l.path]??l.summary)&&d.jsx("small",{children:za[n][l.path]??l.summary})]})]},`${l.method}:${l.path}`))})]})}const as="";async function us(e){try{const t=await fetch(e);return t.ok?await t.json():null}catch{return null}}const jm=()=>us(`${as}/api/panor/services`),Pm=()=>us(`${as}/api/panor/projects`),Nm=()=>us(`${as}/api/panor/team`);function _m(e,t){const n=Math.ceil(e.length/2);return[{label:t,items:e.slice(0,n)},{label:t,items:e.slice(n)}]}function ud({item:e}){const{ui:t}=G(),n=e.kind==="service"?t.resourceKindService:e.kind==="project"?t.resourceKindProject:e.kind;return d.jsxs("a",{href:e.id,target:"_blank",rel:"noreferrer",className:"resource-row",style:{textDecoration:"none",color:"inherit"},children:[d.jsx("div",{className:"idx",children:"·"}),d.jsx("div",{className:"name",children:e.title}),d.jsx("div",{className:"meta lang",children:n}),d.jsx("div",{className:"meta",children:"↗"})]})}function Tm(){const[e,t]=E.useState(null),{ui:n}=G();if(E.useEffect(()=>{jm().then(t)},[]),!e||e.source!=="live"||e.items.length===0)return null;const r=_m(e.items,`${n.live} · panor.tech`);return d.jsxs("div",{style:{margin:"0 0 32px"},children:[d.jsxs("div",{style:{fontSize:11,textTransform:"uppercase",letterSpacing:"0.04em",opacity:.5,marginBottom:12},children:[n.services," · ",n.live," · ",e.items.length]}),d.jsx("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:32},children:r.map((l,i)=>d.jsx("div",{children:l.items.map((o,s)=>d.jsx(ud,{item:o},s))},i))})]})}function Lm(){const[e,t]=E.useState(null),{ui:n}=G();return E.useEffect(()=>{Pm().then(t)},[]),!e||e.source!=="live"||e.items.length===0?null:d.jsxs("div",{style:{margin:"0 0 32px"},children:[d.jsxs("div",{style:{fontSize:11,textTransform:"uppercase",letterSpacing:"0.04em",opacity:.5,marginBottom:12},children:[n.projects," · ",n.live," · ",e.items.length]}),d.jsx("div",{className:"resource-list",children:e.items.map((r,l)=>d.jsx(ud,{item:r},l))})]})}function Rm(){const[e,t]=E.useState(null),{ui:n}=G();return E.useEffect(()=>{Nm().then(t)},[]),!e||e.length===0?null:d.jsxs("div",{style:{margin:"0 0 32px"},children:[d.jsx("div",{style:{fontSize:11,textTransform:"uppercase",letterSpacing:"0.04em",opacity:.5,marginBottom:12},children:n.team}),d.jsx("div",{className:"resource-list",children:e.map((r,l)=>d.jsxs("div",{className:"resource-row",children:[d.jsx("div",{className:"idx",children:r.avatar??"·"}),d.jsxs("div",{className:"name",children:[r.name,d.jsx("small",{children:r.description})]}),d.jsx("div",{className:"meta",style:{gridColumn:"3 / -1",textAlign:"right"},children:r.title})]},l))})]})}async function mr(e){try{const t=await fetch(e);return t.ok?await t.json():null}catch{return null}}const zm=(e=50)=>mr(`/api/github/gists?limit=${e}`),Im=(e=20)=>mr(`/api/github/minervacap?limit=${e}`);async function Om(e="ChengyiX"){const t=await mr(`/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 Fm=(e="ChengyiX")=>mr(`/api/hf/datasets?author=${encodeURIComponent(e)}`),Mm=(e="ChengyiX")=>mr(`/api/hf/spaces?author=${encodeURIComponent(e)}`),Am={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 Dm(e,t){if(e==="all")return t;const n=Am[e];return t.filter(r=>n.test(r.description||"")||n.test(r.files.join(" ")))}function Um(e){return e?e.slice(0,10):""}function $m({limit:e=15,filter:t="all",caption:n}){const[r,l]=E.useState(null),{ui:i}=G();if(E.useEffect(()=>{zm(50).then(l)},[]),!r||r.source!=="live")return null;const o=Dm(t,r.gists).slice(0,e);return o.length===0?null:d.jsxs("div",{style:{margin:"0 0 32px"},children:[d.jsx("div",{style:{fontSize:11,textTransform:"uppercase",letterSpacing:"0.04em",opacity:.5,marginBottom:12},children:n??`${i.gists} · ${i.live} · ${o.length}/${r.gists.length}`}),d.jsx("div",{className:"resource-list",children:o.map((s,a)=>{var u;return d.jsxs("a",{href:s.html_url,target:"_blank",rel:"noreferrer",className:"resource-row",style:{textDecoration:"none",color:"inherit"},children:[d.jsx("div",{className:"idx",children:String(a+1).padStart(2,"0")}),d.jsxs("div",{className:"name",children:[((u=s.description)==null?void 0:u.trim())||s.files[0]||s.id,s.files.length>0&&d.jsx("small",{children:s.files.slice(0,3).join(" · ")})]}),d.jsx("div",{className:"meta",style:{gridColumn:"3 / -1",textAlign:"right"},children:Um(s.updated_at)})]},s.id)})})]})}function Bm({limit:e=15,caption:t}){const[n,r]=E.useState(null),{ui:l}=G();if(E.useEffect(()=>{Im(50).then(r)},[]),!n||n.length===0)return null;const i=n.slice(0,e);return d.jsxs("div",{style:{margin:"0 0 32px"},children:[d.jsx("div",{style:{fontSize:11,textTransform:"uppercase",letterSpacing:"0.04em",opacity:.5,marginBottom:12},children:t??`minervacap2022 · ${l.live} · ${i.length} ${l.repositories}`}),d.jsx("div",{className:"resource-list",children:i.map((o,s)=>d.jsxs("a",{href:o.html_url,target:"_blank",rel:"noreferrer",className:"resource-row",style:{textDecoration:"none",color:"inherit"},children:[d.jsx("div",{className:"idx",children:String(s+1).padStart(2,"0")}),d.jsxs("div",{className:"name",children:[o.name,o.description&&d.jsx("small",{children:o.description})]}),d.jsx("div",{className:"meta lang",children:o.language??"—"}),d.jsxs("div",{className:"meta",children:["★ ",o.stars]})]},o.name))})]})}function Hm({item:e,kind:t}){const{ui:n}=G(),r=t==="model"?`https://huggingface.co/${e.id}`:t==="dataset"?`https://huggingface.co/datasets/${e.id}`:`https://huggingface.co/spaces/${e.id}`;return d.jsxs("a",{href:r,target:"_blank",rel:"noreferrer",className:"resource-row",style:{textDecoration:"none",color:"inherit"},children:[d.jsx("div",{className:"idx",children:"·"}),d.jsxs("div",{className:"name",children:[e.name,e.tags.length>0&&d.jsx("small",{children:e.tags.slice(0,4).join(" · ")})]}),d.jsxs("div",{className:"meta",children:["↓ ",e.downloads," ",n.downloads]}),d.jsxs("div",{className:"meta",children:["♥ ",e.likes," ",n.likes]})]})}function Vm({caption:e,data:t,kind:n}){const{ui:r}=G();return!t||t.source!=="live"||t.items.length===0?null:d.jsxs("div",{style:{margin:"0 0 32px"},children:[d.jsxs("div",{style:{fontSize:11,textTransform:"uppercase",letterSpacing:"0.04em",opacity:.5,marginBottom:12},children:[e," · ",r.live," · ",t.count]}),d.jsx("div",{className:"resource-list",children:t.items.map((l,i)=>d.jsx(Hm,{item:l,kind:n},i))})]})}function fi({kind:e,caption:t,author:n="ChengyiX"}){const[r,l]=E.useState(null),{ui:i}=G();E.useEffect(()=>{(e==="models"?Om:e==="datasets"?Fm:Mm)(n).then(l)},[e,n]);const o=e==="models"?i.models:e==="datasets"?i.datasets:i.spaces;return d.jsx(Vm,{caption:t??`HF · ${o} · ChengyiX`,data:r,kind:e==="models"?"model":e==="datasets"?"dataset":"space"})}function Wm({block:e}){const{lang:t}=G();switch(e.kind){case"paragraph":return null;case"heading":return d.jsx("h2",{style:{fontSize:14,fontWeight:500,textTransform:"uppercase",letterSpacing:"0.06em",margin:"40px 0 16px",opacity:.6},children:O(e.text,t)});case"specs":return d.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((n,r)=>d.jsx("li",{style:{borderLeft:"1px solid currentColor",paddingLeft:12,fontSize:13,fontFamily:"var(--font-mono)",opacity:.8},children:O(n,t)},r))});case"cards":return null;case"list":return d.jsx("div",{className:"resource-list",style:{margin:"0 0 32px"},children:e.items.map((n,r)=>d.jsxs("div",{className:"resource-row",style:n.href?{cursor:"pointer"}:void 0,children:[d.jsx("div",{className:"idx",children:String(r+1).padStart(2,"0")}),d.jsx("div",{className:"name",children:n.href?d.jsx("a",{href:n.href,style:{color:"inherit",borderBottom:"1px solid currentColor"},children:O(n.title,t)}):O(n.title,t)}),d.jsx("div",{className:"meta",style:{gridColumn:"3 / -1",textAlign:"left"},children:O(n.detail,t)})]},r))});case"quote":return d.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:[O(e.text,t),e.attribution&&d.jsxs("div",{style:{marginTop:12,fontSize:12,opacity:.5,fontFamily:"var(--font-mono)",textTransform:"uppercase",letterSpacing:"0.04em"},children:["— ",O(e.attribution,t)]})]});case"timeline":return d.jsx(km,{items:e.items});case"api":return d.jsx(Cm,{});case"panor_services":return d.jsx(Tm,{});case"panor_projects":return d.jsx(Lm,{});case"panor_team":return d.jsx(Rm,{});case"gists":return d.jsx($m,{limit:e.limit??15,filter:e.filter??"all",caption:e.caption?O(e.caption,t):void 0});case"minervacap":return d.jsx(Bm,{limit:e.limit??15,caption:e.caption?O(e.caption,t):void 0});case"hf_models":return d.jsx(fi,{kind:"models",caption:e.caption?O(e.caption,t):void 0});case"hf_datasets":return d.jsx(fi,{kind:"datasets",caption:e.caption?O(e.caption,t):void 0});case"hf_spaces":return d.jsx(fi,{kind:"spaces",caption:e.caption?O(e.caption,t):void 0})}}function Qm(){const{categoryId:e,subId:t}=ed(),{lang:n,ui:r}=G(),l=e&&t?mm(e,t):null;if(E.useEffect(()=>{window.scrollTo(0,0)},[e,t]),!l)return d.jsxs("div",{className:"content",children:[d.jsx("h1",{children:r.notFound}),d.jsx(Se,{to:"/",children:r.backHome})]});const{category:i,sub:o}=l,s=sd(i.id,o.id);return d.jsxs("div",{className:"content",children:[d.jsxs("div",{style:{display:"flex",alignItems:"baseline",gap:12,marginBottom:8},children:[d.jsxs("div",{className:"col-index",children:[i.index,".",String(i.subs.findIndex(a=>a.id===t)+1).padStart(2,"0")]}),d.jsxs("div",{style:{fontSize:11,textTransform:"uppercase",letterSpacing:"0.04em",opacity:.5,fontFamily:"var(--font-mono)"},children:[O(i.title,n)," · ",d.jsx(Se,{to:i.path,style:{color:"inherit",borderBottom:"1px solid currentColor"},children:O(o.title,n)})]})]}),d.jsx("h1",{children:O(o.title,n)}),d.jsx("p",{className:"lede",children:O(o.tagline,n)}),s&&d.jsx(wm,{category:i,sub:o,topic:s}),o.blocks.map((a,u)=>d.jsx(Wm,{block:a},u)),d.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:[d.jsxs(Se,{to:i.path,style:{color:"inherit"},children:["← ",O(i.title,n)]}),d.jsx(Se,{to:"/",style:{color:"inherit"},children:r.home})]})]})}function Gm(){const{ui:e}=G();return d.jsxs("div",{className:"content",children:[d.jsx("div",{className:"col-index",style:{marginBottom:8},children:"A"}),d.jsx("h1",{children:e.admin}),d.jsx("p",{className:"lede",children:e.adminLede}),d.jsxs("div",{style:{border:"1px solid currentColor",padding:32,margin:"32px 0",maxWidth:720},children:[d.jsx("div",{style:{fontSize:11,textTransform:"uppercase",letterSpacing:"0.04em",opacity:.5,marginBottom:12},children:e.notImplemented}),d.jsx("p",{style:{fontSize:14,lineHeight:1.6,opacity:.8},children:e.adminDetail})]}),d.jsx("div",{style:{marginTop:48},children:d.jsxs(Se,{to:"/",style:{borderBottom:"1px solid currentColor",fontSize:13},children:["← ",e.backHome]})})]})}function Km(){return d.jsx(Vh,{children:d.jsxs("div",{style:{position:"relative",minHeight:"100vh",overflow:"hidden"},children:[d.jsx(Xh,{}),d.jsxs("div",{className:"ui-layer",children:[d.jsx(Wh,{}),d.jsxs(Rh,{children:[d.jsx(Wt,{path:"/",element:d.jsx(Ra,{})}),d.jsx(Wt,{path:"/category/:categoryId",element:d.jsx(Sm,{})}),d.jsx(Wt,{path:"/category/:categoryId/:subId",element:d.jsx(Qm,{})}),d.jsx(Wt,{path:"/admin",element:d.jsx(Gm,{})}),d.jsx(Wt,{path:"*",element:d.jsx(Ra,{})})]})]})]})})}const Xm=Dh;pi.createRoot(document.getElementById("root")).render(d.jsx(Va.StrictMode,{children:d.jsx(Xm,{children:d.jsx(Km,{})})}));