function Pd(e,t){for(var n=0;nr[i]})}}}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 i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const l of i)if(l.type==="childList")for(const o of l.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const l={};return i.integrity&&(l.integrity=i.integrity),i.referrerPolicy&&(l.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?l.credentials="include":i.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function r(i){if(i.ep)return;i.ep=!0;const l=n(i);fetch(i.href,l)}})();function Ed(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Hs={exports:{}},_i={},Ws={exports:{}},D={};/** * @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 yr=Symbol.for("react.element"),jd=Symbol.for("react.portal"),_d=Symbol.for("react.fragment"),Td=Symbol.for("react.strict_mode"),Nd=Symbol.for("react.profiler"),Ld=Symbol.for("react.provider"),Rd=Symbol.for("react.context"),Md=Symbol.for("react.forward_ref"),Id=Symbol.for("react.suspense"),Ad=Symbol.for("react.memo"),zd=Symbol.for("react.lazy"),ka=Symbol.iterator;function Od(e){return e===null||typeof e!="object"?null:(e=ka&&e[ka]||e["@@iterator"],typeof e=="function"?e:null)}var Vs={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ks=Object.assign,Qs={};function jn(e,t,n){this.props=e,this.context=t,this.refs=Qs,this.updater=n||Vs}jn.prototype.isReactComponent={};jn.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")};jn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Gs(){}Gs.prototype=jn.prototype;function yo(e,t,n){this.props=e,this.context=t,this.refs=Qs,this.updater=n||Vs}var wo=yo.prototype=new Gs;wo.constructor=yo;Ks(wo,jn.prototype);wo.isPureReactComponent=!0;var Sa=Array.isArray,Ys=Object.prototype.hasOwnProperty,xo={current:null},Js={key:!0,ref:!0,__self:!0,__source:!0};function Zs(e,t,n){var r,i={},l=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(l=""+t.key),t)Ys.call(t,r)&&!Js.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1>>1,oe=L[q];if(0>>1;qi(Vi,F))Ati(jr,Vi)?(L[q]=jr,L[At]=F,q=At):(L[q]=Vi,L[It]=F,q=It);else if(Ati(jr,F))L[q]=jr,L[At]=F,q=At;else break e}}return O}function i(L,O){var F=L.sortIndex-O.sortIndex;return F!==0?F:L.id-O.id}if(typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var o=Date,a=o.now();e.unstable_now=function(){return o.now()-a}}var s=[],u=[],g=1,m=null,v=3,k=!1,x=!1,S=!1,E=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,d=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function h(L){for(var O=n(u);O!==null;){if(O.callback===null)r(u);else if(O.startTime<=L)r(u),O.sortIndex=O.expirationTime,t(s,O);else break;O=n(u)}}function w(L){if(S=!1,h(L),!x)if(n(s)!==null)x=!0,Hi(T);else{var O=n(u);O!==null&&Wi(w,O.startTime-L)}}function T(L,O){x=!1,S&&(S=!1,f(A),A=-1),k=!0;var F=v;try{for(h(O),m=n(s);m!==null&&(!(m.expirationTime>O)||L&&!be());){var q=m.callback;if(typeof q=="function"){m.callback=null,v=m.priorityLevel;var oe=q(m.expirationTime<=O);O=e.unstable_now(),typeof oe=="function"?m.callback=oe:m===n(s)&&r(s),h(O)}else r(s);m=n(s)}if(m!==null)var Er=!0;else{var It=n(u);It!==null&&Wi(w,It.startTime-O),Er=!1}return Er}finally{m=null,v=F,k=!1}}var R=!1,M=null,A=-1,Z=5,B=-1;function be(){return!(e.unstable_now()-BL||125q?(L.sortIndex=F,t(u,L),n(s)===null&&L===n(u)&&(S?(f(A),A=-1):S=!0,Wi(w,F-q))):(L.sortIndex=oe,t(s,L),x||k||(x=!0,Hi(T))),L},e.unstable_shouldYield=be,e.unstable_wrapCallback=function(L){var O=v;return function(){var F=v;v=O;try{return L.apply(this,arguments)}finally{v=F}}}})(iu);ru.exports=iu;var Qd=ru.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 Gd=P,Re=Qd;function C(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Sl=Object.prototype.hasOwnProperty,Yd=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Pa={},Ea={};function Jd(e){return Sl.call(Ea,e)?!0:Sl.call(Pa,e)?!1:Yd.test(e)?Ea[e]=!0:(Pa[e]=!0,!1)}function Zd(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 qd(e,t,n,r){if(t===null||typeof t>"u"||Zd(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 xe(e,t,n,r,i,l,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=l,this.removeEmptyString=o}var fe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){fe[e]=new xe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];fe[t]=new xe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){fe[e]=new xe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){fe[e]=new xe(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){fe[e]=new xe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){fe[e]=new xe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){fe[e]=new xe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){fe[e]=new xe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){fe[e]=new xe(e,5,!1,e.toLowerCase(),null,!1,!1)});var So=/[\-:]([a-z])/g;function Co(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(So,Co);fe[t]=new xe(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(So,Co);fe[t]=new xe(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(So,Co);fe[t]=new xe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){fe[e]=new xe(e,1,!1,e.toLowerCase(),null,!1,!1)});fe.xlinkHref=new xe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){fe[e]=new xe(e,1,!1,e.toLowerCase(),null,!0,!0)});function Po(e,t,n,r){var i=fe.hasOwnProperty(t)?fe[t]:null;(i!==null?i.type!==0:r||!(2a||i[o]!==l[a]){var s=` `+i[o].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=o&&0<=a);break}}}finally{Gi=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?bn(e):""}function ef(e){switch(e.tag){case 5:return bn(e.type);case 16:return bn("Lazy");case 13:return bn("Suspense");case 19:return bn("SuspenseList");case 0:case 2:case 15:return e=Yi(e.type,!1),e;case 11:return e=Yi(e.type.render,!1),e;case 1:return e=Yi(e.type,!0),e;default:return""}}function jl(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 tn:return"Fragment";case en:return"Portal";case Cl:return"Profiler";case Eo:return"StrictMode";case Pl:return"Suspense";case El:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case au:return(e.displayName||"Context")+".Consumer";case ou:return(e._context.displayName||"Context")+".Provider";case jo:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case _o:return t=e.displayName||null,t!==null?t:jl(e.type)||"Memo";case dt:t=e._payload,e=e._init;try{return jl(e(t))}catch{}}return null}function tf(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 jl(t);case 8:return t===Eo?"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 _t(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function uu(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function nf(e){var t=uu(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 i=n.get,l=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){r=""+o,l.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 Nr(e){e._valueTracker||(e._valueTracker=nf(e))}function cu(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=uu(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function ni(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 _l(e,t){var n=t.checked;return Y({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function _a(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=_t(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 du(e,t){t=t.checked,t!=null&&Po(e,"checked",t,!1)}function Tl(e,t){du(e,t);var n=_t(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")?Nl(e,t.type,n):t.hasOwnProperty("defaultValue")&&Nl(e,t.type,_t(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ta(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Nl(e,t,n){(t!=="number"||ni(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Un=Array.isArray;function pn(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=Lr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function er(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Hn={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},rf=["Webkit","ms","Moz","O"];Object.keys(Hn).forEach(function(e){rf.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Hn[t]=Hn[e]})});function mu(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Hn.hasOwnProperty(e)&&Hn[e]?(""+t).trim():t+"px"}function gu(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=mu(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var lf=Y({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 Ml(e,t){if(t){if(lf[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(C(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(C(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(C(61))}if(t.style!=null&&typeof t.style!="object")throw Error(C(62))}}function Il(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 Al=null;function To(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var zl=null,hn=null,mn=null;function Ra(e){if(e=kr(e)){if(typeof zl!="function")throw Error(C(280));var t=e.stateNode;t&&(t=Mi(t),zl(e.stateNode,e.type,t))}}function vu(e){hn?mn?mn.push(e):mn=[e]:hn=e}function yu(){if(hn){var e=hn,t=mn;if(mn=hn=null,Ra(e),t)for(e=0;e>>=0,e===0?32:31-(gf(e)/vf|0)|0}var Rr=64,Mr=4194304;function $n(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 oi(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,l=e.pingedLanes,o=n&268435455;if(o!==0){var a=o&~i;a!==0?r=$n(a):(l&=o,l!==0&&(r=$n(l)))}else o=n&~i,o!==0?r=$n(o):l!==0&&(r=$n(l));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,l=t&-t,i>=l||i===16&&(l&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 wr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-We(t),e[t]=n}function kf(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=Vn),ba=" ",Ua=!1;function Du(e,t){switch(e){case"keyup":return Gf.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Bu(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var nn=!1;function Jf(e,t){switch(e){case"compositionend":return Bu(t);case"keypress":return t.which!==32?null:(Ua=!0,ba);case"textInput":return e=t.data,e===ba&&Ua?null:e;default:return null}}function Zf(e,t){if(nn)return e==="compositionend"||!Oo&&Du(e,t)?(e=Ou(),Kr=Io=mt=null,nn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Wa(n)}}function Xu(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Xu(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Hu(){for(var e=window,t=ni();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=ni(e.document)}return t}function Fo(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 ap(e){var t=Hu(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Xu(n.ownerDocument.documentElement,n)){if(r!==null&&Fo(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 i=n.textContent.length,l=Math.min(r.start,i);r=r.end===void 0?l:Math.min(r.end,i),!e.extend&&l>r&&(i=r,r=l,l=i),i=Va(n,l);var o=Va(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),l>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,rn=null,Ul=null,Qn=null,$l=!1;function Ka(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;$l||rn==null||rn!==ni(r)||(r=rn,"selectionStart"in r&&Fo(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}),Qn&&or(Qn,r)||(Qn=r,r=ui(Ul,"onSelect"),0an||(e.current=Ql[an],Ql[an]=null,an--)}function X(e,t){an++,Ql[an]=e.current,e.current=t}var Tt={},ge=Lt(Tt),Ce=Lt(!1),Xt=Tt;function xn(e,t){var n=e.type.contextTypes;if(!n)return Tt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},l;for(l in n)i[l]=t[l];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Pe(e){return e=e.childContextTypes,e!=null}function di(){W(Ce),W(ge)}function es(e,t,n){if(ge.current!==Tt)throw Error(C(168));X(ge,t),X(Ce,n)}function qu(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(C(108,tf(e)||"Unknown",i));return Y({},n,r)}function fi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Tt,Xt=ge.current,X(ge,e),X(Ce,Ce.current),!0}function ts(e,t,n){var r=e.stateNode;if(!r)throw Error(C(169));n?(e=qu(e,t,Xt),r.__reactInternalMemoizedMergedChildContext=e,W(Ce),W(ge),X(ge,e)):W(Ce),X(Ce,n)}var tt=null,Ii=!1,cl=!1;function ec(e){tt===null?tt=[e]:tt.push(e)}function wp(e){Ii=!0,ec(e)}function Rt(){if(!cl&&tt!==null){cl=!0;var e=0,t=$;try{var n=tt;for($=1;e>=o,i-=o,nt=1<<32-We(t)+i|n<A?(Z=M,M=null):Z=M.sibling;var B=v(f,M,h[A],w);if(B===null){M===null&&(M=Z);break}e&&M&&B.alternate===null&&t(f,M),d=l(B,d,A),R===null?T=B:R.sibling=B,R=B,M=Z}if(A===h.length)return n(f,M),V&&Ot(f,A),T;if(M===null){for(;AA?(Z=M,M=null):Z=M.sibling;var be=v(f,M,B.value,w);if(be===null){M===null&&(M=Z);break}e&&M&&be.alternate===null&&t(f,M),d=l(be,d,A),R===null?T=be:R.sibling=be,R=be,M=Z}if(B.done)return n(f,M),V&&Ot(f,A),T;if(M===null){for(;!B.done;A++,B=h.next())B=m(f,B.value,w),B!==null&&(d=l(B,d,A),R===null?T=B:R.sibling=B,R=B);return V&&Ot(f,A),T}for(M=r(f,M);!B.done;A++,B=h.next())B=k(M,f,A,B.value,w),B!==null&&(e&&B.alternate!==null&&M.delete(B.key===null?A:B.key),d=l(B,d,A),R===null?T=B:R.sibling=B,R=B);return e&&M.forEach(function(Ln){return t(f,Ln)}),V&&Ot(f,A),T}function E(f,d,h,w){if(typeof h=="object"&&h!==null&&h.type===tn&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case Tr:e:{for(var T=h.key,R=d;R!==null;){if(R.key===T){if(T=h.type,T===tn){if(R.tag===7){n(f,R.sibling),d=i(R,h.props.children),d.return=f,f=d;break e}}else if(R.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===dt&&is(T)===R.type){n(f,R.sibling),d=i(R,h.props),d.ref=Fn(f,R,h),d.return=f,f=d;break e}n(f,R);break}else t(f,R);R=R.sibling}h.type===tn?(d=$t(h.props.children,f.mode,w,h.key),d.return=f,f=d):(w=ti(h.type,h.key,h.props,null,f.mode,w),w.ref=Fn(f,d,h),w.return=f,f=w)}return o(f);case en:e:{for(R=h.key;d!==null;){if(d.key===R)if(d.tag===4&&d.stateNode.containerInfo===h.containerInfo&&d.stateNode.implementation===h.implementation){n(f,d.sibling),d=i(d,h.children||[]),d.return=f,f=d;break e}else{n(f,d);break}else t(f,d);d=d.sibling}d=yl(h,f.mode,w),d.return=f,f=d}return o(f);case dt:return R=h._init,E(f,d,R(h._payload),w)}if(Un(h))return x(f,d,h,w);if(Mn(h))return S(f,d,h,w);Br(f,h)}return typeof h=="string"&&h!==""||typeof h=="number"?(h=""+h,d!==null&&d.tag===6?(n(f,d.sibling),d=i(d,h),d.return=f,f=d):(n(f,d),d=vl(h,f.mode,w),d.return=f,f=d),o(f)):n(f,d)}return E}var Sn=ic(!0),lc=ic(!1),mi=Lt(null),gi=null,cn=null,Uo=null;function $o(){Uo=cn=gi=null}function Xo(e){var t=mi.current;W(mi),e._currentValue=t}function Jl(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 vn(e,t){gi=e,Uo=cn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Se=!0),e.firstContext=null)}function De(e){var t=e._currentValue;if(Uo!==e)if(e={context:e,memoizedValue:t,next:null},cn===null){if(gi===null)throw Error(C(308));cn=e,gi.dependencies={lanes:0,firstContext:e}}else cn=cn.next=e;return t}var Bt=null;function Ho(e){Bt===null?Bt=[e]:Bt.push(e)}function oc(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Ho(t)):(n.next=i.next,i.next=n),t.interleaved=n,at(e,r)}function at(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 ft=!1;function Wo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function ac(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 it(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function St(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,U&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,at(e,n)}return i=r.interleaved,i===null?(t.next=t,Ho(r)):(t.next=i.next,i.next=t),r.interleaved=t,at(e,n)}function Gr(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,Lo(e,n)}}function ls(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,l=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};l===null?i=l=o:l=l.next=o,n=n.next}while(n!==null);l===null?i=l=t:l=l.next=t}else i=l=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:l,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 vi(e,t,n,r){var i=e.updateQueue;ft=!1;var l=i.firstBaseUpdate,o=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var s=a,u=s.next;s.next=null,o===null?l=u:o.next=u,o=s;var g=e.alternate;g!==null&&(g=g.updateQueue,a=g.lastBaseUpdate,a!==o&&(a===null?g.firstBaseUpdate=u:a.next=u,g.lastBaseUpdate=s))}if(l!==null){var m=i.baseState;o=0,g=u=s=null,a=l;do{var v=a.lane,k=a.eventTime;if((r&v)===v){g!==null&&(g=g.next={eventTime:k,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var x=e,S=a;switch(v=t,k=n,S.tag){case 1:if(x=S.payload,typeof x=="function"){m=x.call(k,m,v);break e}m=x;break e;case 3:x.flags=x.flags&-65537|128;case 0:if(x=S.payload,v=typeof x=="function"?x.call(k,m,v):x,v==null)break e;m=Y({},m,v);break e;case 2:ft=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,v=i.effects,v===null?i.effects=[a]:v.push(a))}else k={eventTime:k,lane:v,tag:a.tag,payload:a.payload,callback:a.callback,next:null},g===null?(u=g=k,s=m):g=g.next=k,o|=v;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;v=a,a=v.next,v.next=null,i.lastBaseUpdate=v,i.shared.pending=null}}while(!0);if(g===null&&(s=m),i.baseState=s,i.firstBaseUpdate=u,i.lastBaseUpdate=g,t=i.shared.interleaved,t!==null){i=t;do o|=i.lane,i=i.next;while(i!==t)}else l===null&&(i.shared.lanes=0);Vt|=o,e.lanes=o,e.memoizedState=m}}function os(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=fl.transition;fl.transition={};try{e(!1),t()}finally{$=n,fl.transition=r}}function Pc(){return Be().memoizedState}function Cp(e,t,n){var r=Pt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Ec(e))jc(t,n);else if(n=oc(e,t,n,r),n!==null){var i=ye();Ve(n,e,r,i),_c(n,t,r)}}function Pp(e,t,n){var r=Pt(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ec(e))jc(t,i);else{var l=e.alternate;if(e.lanes===0&&(l===null||l.lanes===0)&&(l=t.lastRenderedReducer,l!==null))try{var o=t.lastRenderedState,a=l(o,n);if(i.hasEagerState=!0,i.eagerState=a,Ke(a,o)){var s=t.interleaved;s===null?(i.next=i,Ho(t)):(i.next=s.next,s.next=i),t.interleaved=i;return}}catch{}finally{}n=oc(e,t,i,r),n!==null&&(i=ye(),Ve(n,e,r,i),_c(n,t,r))}}function Ec(e){var t=e.alternate;return e===G||t!==null&&t===G}function jc(e,t){Gn=wi=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function _c(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Lo(e,n)}}var xi={readContext:De,useCallback:pe,useContext:pe,useEffect:pe,useImperativeHandle:pe,useInsertionEffect:pe,useLayoutEffect:pe,useMemo:pe,useReducer:pe,useRef:pe,useState:pe,useDebugValue:pe,useDeferredValue:pe,useTransition:pe,useMutableSource:pe,useSyncExternalStore:pe,useId:pe,unstable_isNewReconciler:!1},Ep={readContext:De,useCallback:function(e,t){return Ge().memoizedState=[e,t===void 0?null:t],e},useContext:De,useEffect:ss,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Jr(4194308,4,wc.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Jr(4194308,4,e,t)},useInsertionEffect:function(e,t){return Jr(4,2,e,t)},useMemo:function(e,t){var n=Ge();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ge();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,G,e),[r.memoizedState,e]},useRef:function(e){var t=Ge();return e={current:e},t.memoizedState=e},useState:as,useDebugValue:qo,useDeferredValue:function(e){return Ge().memoizedState=e},useTransition:function(){var e=as(!1),t=e[0];return e=Sp.bind(null,e[1]),Ge().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=G,i=Ge();if(V){if(n===void 0)throw Error(C(407));n=n()}else{if(n=t(),se===null)throw Error(C(349));Wt&30||dc(r,t,n)}i.memoizedState=n;var l={value:n,getSnapshot:t};return i.queue=l,ss(pc.bind(null,r,l,e),[e]),r.flags|=2048,hr(9,fc.bind(null,r,l,n,t),void 0,null),n},useId:function(){var e=Ge(),t=se.identifierPrefix;if(V){var n=rt,r=nt;n=(r&~(1<<32-We(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=fr++,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[Ye]=t,e[ur]=r,Fc(e,t,!1,!1),t.stateNode=e;e:{switch(o=Il(n,r),n){case"dialog":H("cancel",e),H("close",e),i=r;break;case"iframe":case"object":case"embed":H("load",e),i=r;break;case"video":case"audio":for(i=0;iEn&&(t.flags|=128,r=!0,Dn(l,!1),t.lanes=4194304)}else{if(!r)if(e=yi(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Dn(l,!0),l.tail===null&&l.tailMode==="hidden"&&!o.alternate&&!V)return he(t),null}else 2*ee()-l.renderingStartTime>En&&n!==1073741824&&(t.flags|=128,r=!0,Dn(l,!1),t.lanes=4194304);l.isBackwards?(o.sibling=t.child,t.child=o):(n=l.last,n!==null?n.sibling=o:t.child=o,l.last=o)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=ee(),t.sibling=null,n=Q.current,X(Q,r?n&1|2:n&1),t):(he(t),null);case 22:case 23:return la(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?_e&1073741824&&(he(t),t.subtreeFlags&6&&(t.flags|=8192)):he(t),null;case 24:return null;case 25:return null}throw Error(C(156,t.tag))}function Ip(e,t){switch(Bo(t),t.tag){case 1:return Pe(t.type)&&di(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Cn(),W(Ce),W(ge),Qo(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Ko(t),null;case 13:if(W(Q),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(C(340));kn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return W(Q),null;case 4:return Cn(),null;case 10:return Xo(t.type._context),null;case 22:case 23:return la(),null;case 24:return null;default:return null}}var Ur=!1,me=!1,Ap=typeof WeakSet=="function"?WeakSet:Set,N=null;function dn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){J(e,t,r)}else n.current=null}function oo(e,t,n){try{n()}catch(r){J(e,t,r)}}var ws=!1;function zp(e,t){if(Xl=ai,e=Hu(),Fo(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 i=r.anchorOffset,l=r.focusNode;r=r.focusOffset;try{n.nodeType,l.nodeType}catch{n=null;break e}var o=0,a=-1,s=-1,u=0,g=0,m=e,v=null;t:for(;;){for(var k;m!==n||i!==0&&m.nodeType!==3||(a=o+i),m!==l||r!==0&&m.nodeType!==3||(s=o+r),m.nodeType===3&&(o+=m.nodeValue.length),(k=m.firstChild)!==null;)v=m,m=k;for(;;){if(m===e)break t;if(v===n&&++u===i&&(a=o),v===l&&++g===r&&(s=o),(k=m.nextSibling)!==null)break;m=v,v=m.parentNode}m=k}n=a===-1||s===-1?null:{start:a,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(Hl={focusedElem:e,selectionRange:n},ai=!1,N=t;N!==null;)if(t=N,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,N=e;else for(;N!==null;){t=N;try{var x=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(x!==null){var S=x.memoizedProps,E=x.memoizedState,f=t.stateNode,d=f.getSnapshotBeforeUpdate(t.elementType===t.type?S:$e(t.type,S),E);f.__reactInternalSnapshotBeforeUpdate=d}break;case 3:var h=t.stateNode.containerInfo;h.nodeType===1?h.textContent="":h.nodeType===9&&h.documentElement&&h.removeChild(h.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(C(163))}}catch(w){J(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,N=e;break}N=t.return}return x=ws,ws=!1,x}function Yn(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var l=i.destroy;i.destroy=void 0,l!==void 0&&oo(t,n,l)}i=i.next}while(i!==r)}}function Oi(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 ao(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 bc(e){var t=e.alternate;t!==null&&(e.alternate=null,bc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ye],delete t[ur],delete t[Kl],delete t[vp],delete t[yp])),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 Uc(e){return e.tag===5||e.tag===3||e.tag===4}function xs(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Uc(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 so(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=ci));else if(r!==4&&(e=e.child,e!==null))for(so(e,t,n),e=e.sibling;e!==null;)so(e,t,n),e=e.sibling}function uo(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(uo(e,t,n),e=e.sibling;e!==null;)uo(e,t,n),e=e.sibling}var ce=null,Xe=!1;function ct(e,t,n){for(n=n.child;n!==null;)$c(e,t,n),n=n.sibling}function $c(e,t,n){if(Je&&typeof Je.onCommitFiberUnmount=="function")try{Je.onCommitFiberUnmount(Ti,n)}catch{}switch(n.tag){case 5:me||dn(n,t);case 6:var r=ce,i=Xe;ce=null,ct(e,t,n),ce=r,Xe=i,ce!==null&&(Xe?(e=ce,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ce.removeChild(n.stateNode));break;case 18:ce!==null&&(Xe?(e=ce,n=n.stateNode,e.nodeType===8?ul(e.parentNode,n):e.nodeType===1&&ul(e,n),ir(e)):ul(ce,n.stateNode));break;case 4:r=ce,i=Xe,ce=n.stateNode.containerInfo,Xe=!0,ct(e,t,n),ce=r,Xe=i;break;case 0:case 11:case 14:case 15:if(!me&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var l=i,o=l.destroy;l=l.tag,o!==void 0&&(l&2||l&4)&&oo(n,t,o),i=i.next}while(i!==r)}ct(e,t,n);break;case 1:if(!me&&(dn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){J(n,t,a)}ct(e,t,n);break;case 21:ct(e,t,n);break;case 22:n.mode&1?(me=(r=me)||n.memoizedState!==null,ct(e,t,n),me=r):ct(e,t,n);break;default:ct(e,t,n)}}function ks(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Ap),t.forEach(function(r){var i=Hp.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Ue(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=o),r&=~l}if(r=i,r=ee()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Fp(r/1960))-r,10e?16:e,gt===null)var r=!1;else{if(e=gt,gt=null,Ci=0,U&6)throw Error(C(331));var i=U;for(U|=4,N=e.current;N!==null;){var l=N,o=l.child;if(N.flags&16){var a=l.deletions;if(a!==null){for(var s=0;see()-ra?Ut(e,0):na|=n),Ee(e,t)}function Yc(e,t){t===0&&(e.mode&1?(t=Mr,Mr<<=1,!(Mr&130023424)&&(Mr=4194304)):t=1);var n=ye();e=at(e,t),e!==null&&(wr(e,t,n),Ee(e,n))}function Xp(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Yc(e,n)}function Hp(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(C(314))}r!==null&&r.delete(t),Yc(e,n)}var Jc;Jc=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ce.current)Se=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Se=!1,Rp(e,t,n);Se=!!(e.flags&131072)}else Se=!1,V&&t.flags&1048576&&tc(t,hi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Zr(e,t),e=t.pendingProps;var i=xn(t,ge.current);vn(t,n),i=Yo(null,t,r,e,i,n);var l=Jo();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Pe(r)?(l=!0,fi(t)):l=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Wo(t),i.updater=zi,t.stateNode=i,i._reactInternals=t,ql(t,r,e,n),t=no(null,t,r,!0,l,n)):(t.tag=0,V&&l&&Do(t),ve(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Zr(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=Vp(r),e=$e(r,e),i){case 0:t=to(null,t,r,e,n);break e;case 1:t=gs(null,t,r,e,n);break e;case 11:t=hs(null,t,r,e,n);break e;case 14:t=ms(null,t,r,$e(r.type,e),n);break e}throw Error(C(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:$e(r,i),to(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:$e(r,i),gs(e,t,r,i,n);case 3:e:{if(Ac(t),e===null)throw Error(C(387));r=t.pendingProps,l=t.memoizedState,i=l.element,ac(e,t),vi(t,r,null,n);var o=t.memoizedState;if(r=o.element,l.isDehydrated)if(l={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=l,t.memoizedState=l,t.flags&256){i=Pn(Error(C(423)),t),t=vs(e,t,r,n,i);break e}else if(r!==i){i=Pn(Error(C(424)),t),t=vs(e,t,r,n,i);break e}else for(Te=kt(t.stateNode.containerInfo.firstChild),Le=t,V=!0,He=null,n=lc(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(kn(),r===i){t=st(e,t,n);break e}ve(e,t,r,n)}t=t.child}return t;case 5:return sc(t),e===null&&Yl(t),r=t.type,i=t.pendingProps,l=e!==null?e.memoizedProps:null,o=i.children,Wl(r,i)?o=null:l!==null&&Wl(r,l)&&(t.flags|=32),Ic(e,t),ve(e,t,o,n),t.child;case 6:return e===null&&Yl(t),null;case 13:return zc(e,t,n);case 4:return Vo(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Sn(t,null,r,n):ve(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:$e(r,i),hs(e,t,r,i,n);case 7:return ve(e,t,t.pendingProps,n),t.child;case 8:return ve(e,t,t.pendingProps.children,n),t.child;case 12:return ve(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,l=t.memoizedProps,o=i.value,X(mi,r._currentValue),r._currentValue=o,l!==null)if(Ke(l.value,o)){if(l.children===i.children&&!Ce.current){t=st(e,t,n);break e}}else for(l=t.child,l!==null&&(l.return=t);l!==null;){var a=l.dependencies;if(a!==null){o=l.child;for(var s=a.firstContext;s!==null;){if(s.context===r){if(l.tag===1){s=it(-1,n&-n),s.tag=2;var u=l.updateQueue;if(u!==null){u=u.shared;var g=u.pending;g===null?s.next=s:(s.next=g.next,g.next=s),u.pending=s}}l.lanes|=n,s=l.alternate,s!==null&&(s.lanes|=n),Jl(l.return,n,t),a.lanes|=n;break}s=s.next}}else if(l.tag===10)o=l.type===t.type?null:l.child;else if(l.tag===18){if(o=l.return,o===null)throw Error(C(341));o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),Jl(o,n,t),o=l.sibling}else o=l.child;if(o!==null)o.return=l;else for(o=l;o!==null;){if(o===t){o=null;break}if(l=o.sibling,l!==null){l.return=o.return,o=l;break}o=o.return}l=o}ve(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,vn(t,n),i=De(i),r=r(i),t.flags|=1,ve(e,t,r,n),t.child;case 14:return r=t.type,i=$e(r,t.pendingProps),i=$e(r.type,i),ms(e,t,r,i,n);case 15:return Rc(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:$e(r,i),Zr(e,t),t.tag=1,Pe(r)?(e=!0,fi(t)):e=!1,vn(t,n),Tc(t,r,i),ql(t,r,i,n),no(null,t,r,!0,e,n);case 19:return Oc(e,t,n);case 22:return Mc(e,t,n)}throw Error(C(156,t.tag))};function Zc(e,t){return Eu(e,t)}function Wp(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 Oe(e,t,n,r){return new Wp(e,t,n,r)}function aa(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Vp(e){if(typeof e=="function")return aa(e)?1:0;if(e!=null){if(e=e.$$typeof,e===jo)return 11;if(e===_o)return 14}return 2}function Et(e,t){var n=e.alternate;return n===null?(n=Oe(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 ti(e,t,n,r,i,l){var o=2;if(r=e,typeof e=="function")aa(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case tn:return $t(n.children,i,l,t);case Eo:o=8,i|=8;break;case Cl:return e=Oe(12,n,t,i|2),e.elementType=Cl,e.lanes=l,e;case Pl:return e=Oe(13,n,t,i),e.elementType=Pl,e.lanes=l,e;case El:return e=Oe(19,n,t,i),e.elementType=El,e.lanes=l,e;case su:return Di(n,i,l,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ou:o=10;break e;case au:o=9;break e;case jo:o=11;break e;case _o:o=14;break e;case dt:o=16,r=null;break e}throw Error(C(130,e==null?e:typeof e,""))}return t=Oe(o,n,t,i),t.elementType=e,t.type=r,t.lanes=l,t}function $t(e,t,n,r){return e=Oe(7,e,r,t),e.lanes=n,e}function Di(e,t,n,r){return e=Oe(22,e,r,t),e.elementType=su,e.lanes=n,e.stateNode={isHidden:!1},e}function vl(e,t,n){return e=Oe(6,e,null,t),e.lanes=n,e}function yl(e,t,n){return t=Oe(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Kp(e,t,n,r,i){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=Zi(0),this.expirationTimes=Zi(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Zi(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function sa(e,t,n,r,i,l,o,a,s){return e=new Kp(e,t,n,a,s),t===1?(t=1,l===!0&&(t|=8)):t=0,l=Oe(3,null,null,t),e.current=l,l.stateNode=e,l.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Wo(l),e}function Qp(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(nd)}catch(e){console.error(e)}}nd(),nu.exports=Me;var qp=nu.exports,Ns=qp;kl.createRoot=Ns.createRoot,kl.hydrateRoot=Ns.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 gr(){return gr=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function fa(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function th(){return Math.random().toString(36).substr(2,8)}function Rs(e,t){return{usr:e.state,key:e.key,idx:t}}function mo(e,t,n,r){return n===void 0&&(n=null),gr({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Yt(t):t,{state:n,key:t&&t.key||r||th()})}function ji(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 Yt(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 nh(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:l=!1}=r,o=i.history,a=vt.Pop,s=null,u=g();u==null&&(u=0,o.replaceState(gr({},o.state,{idx:u}),""));function g(){return(o.state||{idx:null}).idx}function m(){a=vt.Pop;let E=g(),f=E==null?null:E-u;u=E,s&&s({action:a,location:S.location,delta:f})}function v(E,f){a=vt.Push;let d=mo(S.location,E,f);n&&n(d,E),u=g()+1;let h=Rs(d,u),w=S.createHref(d);try{o.pushState(h,"",w)}catch(T){if(T instanceof DOMException&&T.name==="DataCloneError")throw T;i.location.assign(w)}l&&s&&s({action:a,location:S.location,delta:1})}function k(E,f){a=vt.Replace;let d=mo(S.location,E,f);n&&n(d,E),u=g();let h=Rs(d,u),w=S.createHref(d);o.replaceState(h,"",w),l&&s&&s({action:a,location:S.location,delta:0})}function x(E){let f=i.location.origin!=="null"?i.location.origin:i.location.href,d=typeof E=="string"?E:ji(E);return d=d.replace(/ $/,"%20"),re(f,"No window.location.(origin|href) available to create URL for href: "+d),new URL(d,f)}let S={get action(){return a},get location(){return e(i,o)},listen(E){if(s)throw new Error("A history only accepts one active listener");return i.addEventListener(Ls,m),s=E,()=>{i.removeEventListener(Ls,m),s=null}},createHref(E){return t(i,E)},createURL:x,encodeLocation(E){let f=x(E);return{pathname:f.pathname,search:f.search,hash:f.hash}},push:v,replace:k,go(E){return o.go(E)}};return S}var Ms;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Ms||(Ms={}));function rh(e,t,n){return n===void 0&&(n="/"),ih(e,t,n)}function ih(e,t,n,r){let i=typeof t=="string"?Yt(t):t,l=pa(i.pathname||"/",n);if(l==null)return null;let o=rd(e);lh(o);let a=null,s=vh(l);for(let u=0;a==null&&u{let s={relativePath:a===void 0?l.path||"":a,caseSensitive:l.caseSensitive===!0,childrenIndex:o,route:l};s.relativePath.startsWith("/")&&(re(s.relativePath.startsWith(r),'Absolute route path "'+s.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),s.relativePath=s.relativePath.slice(r.length));let u=jt([r,s.relativePath]),g=n.concat(s);l.children&&l.children.length>0&&(re(l.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),rd(l.children,t,g,u)),!(l.path==null&&!l.index)&&t.push({path:u,score:fh(u,l.index),routesMeta:g})};return e.forEach((l,o)=>{var a;if(l.path===""||!((a=l.path)!=null&&a.includes("?")))i(l,o);else for(let s of id(l.path))i(l,o,s)}),t}function id(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),l=n.replace(/\?$/,"");if(r.length===0)return i?[l,""]:[l];let o=id(r.join("/")),a=[];return a.push(...o.map(s=>s===""?l:[l,s].join("/"))),i&&a.push(...o),a.map(s=>e.startsWith("/")&&s===""?"/":s)}function lh(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:ph(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const oh=/^:[\w-]+$/,ah=3,sh=2,uh=1,ch=10,dh=-2,Is=e=>e==="*";function fh(e,t){let n=e.split("/"),r=n.length;return n.some(Is)&&(r+=dh),t&&(r+=sh),n.filter(i=>!Is(i)).reduce((i,l)=>i+(oh.test(l)?ah:l===""?uh:ch),r)}function ph(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function hh(e,t,n){let{routesMeta:r}=e,i={},l="/",o=[];for(let a=0;a{let{paramName:v,isOptional:k}=g;if(v==="*"){let S=a[m]||"";o=l.slice(0,l.length-S.length).replace(/(.)\/+$/,"$1")}const x=a[m];return k&&!x?u[v]=void 0:u[v]=(x||"").replace(/%2F/g,"/"),u},{}),pathname:l,pathnameBase:o,pattern:e}}function gh(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),fa(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=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,a,s)=>(r.push({paramName:a,isOptional:s!=null}),s?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function vh(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return fa(!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 pa(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 yh(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?Yt(e):e,l;return n?(n=ad(n),n.startsWith("/")?l=As(n.substring(1),"/"):l=As(n,t)):l=t,{pathname:l,search:kh(r),hash:Sh(i)}}function As(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function wl(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 wh(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function ld(e,t){let n=wh(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function od(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=Yt(e):(i=gr({},e),re(!i.pathname||!i.pathname.includes("?"),wl("?","pathname","search",i)),re(!i.pathname||!i.pathname.includes("#"),wl("#","pathname","hash",i)),re(!i.search||!i.search.includes("#"),wl("#","search","hash",i)));let l=e===""||i.pathname==="",o=l?"/":i.pathname,a;if(o==null)a=n;else{let m=t.length-1;if(!r&&o.startsWith("..")){let v=o.split("/");for(;v[0]==="..";)v.shift(),m-=1;i.pathname=v.join("/")}a=m>=0?t[m]:"/"}let s=yh(i,a),u=o&&o!=="/"&&o.endsWith("/"),g=(l||o===".")&&n.endsWith("/");return!s.pathname.endsWith("/")&&(u||g)&&(s.pathname+="/"),s}const ad=e=>e.replace(/\/\/+/g,"/"),jt=e=>ad(e.join("/")),xh=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),kh=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Sh=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 sd=["post","put","patch","delete"];new Set(sd);const Ph=["get",...sd];new Set(Ph);/** * 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 vr(){return vr=Object.assign?Object.assign.bind():function(e){for(var t=1;t{a.current=!0}),P.useCallback(function(u,g){if(g===void 0&&(g={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let m=od(u,JSON.parse(o),l,g.relative==="path");e==null&&t!=="/"&&(m.pathname=m.pathname==="/"?t:jt([t,m.pathname])),(g.replace?r.replace:r.push)(m,g.state,g)},[t,r,o,l,e])}function dd(){let{matches:e}=P.useContext(Mt),t=e[e.length-1];return t?t.params:{}}function fd(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=P.useContext(Jt),{matches:i}=P.useContext(Mt),{pathname:l}=Nn(),o=JSON.stringify(ld(i,r.v7_relativeSplatPath));return P.useMemo(()=>od(e,JSON.parse(o),l,n==="path"),[e,o,l,n])}function Nh(e,t){return Lh(e,t)}function Lh(e,t,n,r){Cr()||re(!1);let{navigator:i}=P.useContext(Jt),{matches:l}=P.useContext(Mt),o=l[l.length-1],a=o?o.params:{};o&&o.pathname;let s=o?o.pathnameBase:"/";o&&o.route;let u=Nn(),g;if(t){var m;let E=typeof t=="string"?Yt(t):t;s==="/"||(m=E.pathname)!=null&&m.startsWith(s)||re(!1),g=E}else g=u;let v=g.pathname||"/",k=v;if(s!=="/"){let E=s.replace(/^\//,"").split("/");k="/"+v.replace(/^\//,"").split("/").slice(E.length).join("/")}let x=rh(e,{pathname:k}),S=zh(x&&x.map(E=>Object.assign({},E,{params:Object.assign({},a,E.params),pathname:jt([s,i.encodeLocation?i.encodeLocation(E.pathname).pathname:E.pathname]),pathnameBase:E.pathnameBase==="/"?s:jt([s,i.encodeLocation?i.encodeLocation(E.pathnameBase).pathname:E.pathnameBase])})),l,n,r);return t&&S?P.createElement(Xi.Provider,{value:{location:vr({pathname:"/",search:"",hash:"",state:null,key:"default"},g),navigationType:vt.Pop}},S):S}function Rh(){let e=Bh(),t=Ch(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return P.createElement(P.Fragment,null,P.createElement("h2",null,"Unexpected Application Error!"),P.createElement("h3",{style:{fontStyle:"italic"}},t),n?P.createElement("pre",{style:i},n):null,null)}const Mh=P.createElement(Rh,null);class Ih extends P.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?P.createElement(Mt.Provider,{value:this.props.routeContext},P.createElement(ud.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Ah(e){let{routeContext:t,match:n,children:r}=e,i=P.useContext(ha);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),P.createElement(Mt.Provider,{value:t},r)}function zh(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var l;if(!n)return null;if(n.errors)e=n.matches;else if((l=r)!=null&&l.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,a=(i=n)==null?void 0:i.errors;if(a!=null){let g=o.findIndex(m=>m.route.id&&(a==null?void 0:a[m.route.id])!==void 0);g>=0||re(!1),o=o.slice(0,Math.min(o.length,g+1))}let s=!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 k,x=!1,S=null,E=null;n&&(k=a&&m.route.id?a[m.route.id]:void 0,S=m.route.errorElement||Mh,s&&(u<0&&v===0?(Uh("route-fallback"),x=!0,E=null):u===v&&(x=!0,E=m.route.hydrateFallbackElement||null)));let f=t.concat(o.slice(0,v+1)),d=()=>{let h;return k?h=S:x?h=E:m.route.Component?h=P.createElement(m.route.Component,null):m.route.element?h=m.route.element:h=g,P.createElement(Ah,{match:m,routeContext:{outlet:g,matches:f,isDataRoute:n!=null},children:h})};return n&&(m.route.ErrorBoundary||m.route.errorElement||v===0)?P.createElement(Ih,{location:n.location,revalidation:n.revalidation,component:S,error:k,children:d(),routeContext:{outlet:null,matches:f,isDataRoute:!0}}):d()},null)}var pd=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(pd||{}),hd=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}(hd||{});function Oh(e){let t=P.useContext(ha);return t||re(!1),t}function Fh(e){let t=P.useContext(Eh);return t||re(!1),t}function Dh(e){let t=P.useContext(Mt);return t||re(!1),t}function md(e){let t=Dh(),n=t.matches[t.matches.length-1];return n.route.id||re(!1),n.route.id}function Bh(){var e;let t=P.useContext(ud),n=Fh(),r=md();return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function bh(){let{router:e}=Oh(pd.UseNavigateStable),t=md(hd.UseNavigateStable),n=P.useRef(!1);return cd(()=>{n.current=!0}),P.useCallback(function(i,l){l===void 0&&(l={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,vr({fromRouteId:t},l)))},[e,t])}const zs={};function Uh(e,t,n){zs[e]||(zs[e]=!0)}function $h(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function qt(e){re(!1)}function Xh(e){let{basename:t="/",children:n=null,location:r,navigationType:i=vt.Pop,navigator:l,static:o=!1,future:a}=e;Cr()&&re(!1);let s=t.replace(/^\/*/,"/"),u=P.useMemo(()=>({basename:s,navigator:l,static:o,future:vr({v7_relativeSplatPath:!1},a)}),[s,a,l,o]);typeof r=="string"&&(r=Yt(r));let{pathname:g="/",search:m="",hash:v="",state:k=null,key:x="default"}=r,S=P.useMemo(()=>{let E=pa(g,s);return E==null?null:{location:{pathname:E,search:m,hash:v,state:k,key:x},navigationType:i}},[s,g,m,v,k,x,i]);return S==null?null:P.createElement(Jt.Provider,{value:u},P.createElement(Xi.Provider,{children:n,value:S}))}function Hh(e){let{children:t,location:n}=e;return Nh(go(t),n)}new Promise(()=>{});function go(e,t){t===void 0&&(t=[]);let n=[];return P.Children.forEach(e,(r,i)=>{if(!P.isValidElement(r))return;let l=[...t,i];if(r.type===P.Fragment){n.push.apply(n,go(r.props.children,l));return}r.type!==qt&&re(!1),!r.props.index||!r.props.children||re(!1);let o={id:r.props.id||l.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=go(r.props.children,l)),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 vo(){return vo=Object.assign?Object.assign.bind():function(e){for(var t=1;t{u&&Os?Os(()=>s(m)):s(m)},[s,u]);return P.useLayoutEffect(()=>o.listen(g),[o,g]),P.useEffect(()=>$h(r),[r]),P.createElement(Xh,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:o,future:r})}const Zh=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",qh=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ne=P.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:l,replace:o,state:a,target:s,to:u,preventScrollReset:g,viewTransition:m}=t,v=Wh(t,Qh),{basename:k}=P.useContext(Jt),x,S=!1;if(typeof u=="string"&&qh.test(u)&&(x=u,Zh))try{let h=new URL(window.location.href),w=u.startsWith("//")?new URL(h.protocol+u):new URL(u),T=pa(w.pathname,k);w.origin===h.origin&&T!=null?u=T+w.search+w.hash:S=!0}catch{}let E=jh(u,{relative:i}),f=em(u,{replace:o,state:a,target:s,preventScrollReset:g,relative:i,viewTransition:m});function d(h){r&&r(h),h.defaultPrevented||f(h)}return P.createElement("a",vo({},v,{href:x||E,onClick:S||l?r:d,ref:n,target:s}))});var Fs;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Fs||(Fs={}));var Ds;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Ds||(Ds={}));function em(e,t){let{target:n,replace:r,state:i,preventScrollReset:l,relative:o,viewTransition:a}=t===void 0?{}:t,s=_h(),u=Nn(),g=fd(e,{relative:o});return P.useCallback(m=>{if(Kh(m,n)){m.preventDefault();let v=r!==void 0?r:ji(u)===ji(g);s(e,{replace:v,state:i,preventScrollReset:l,relative:o,viewTransition:a})}},[u,s,g,r,i,n,e,l,o,a])}const gd="nexora.lang",Bs={en:{tagline:"Leading the human-centric agentic era",siteTitle:"Nexora \\\\ Leading the human-centric agentic era",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",configured:"Configured",notConfigured:"Not configured"},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:"收起",configured:"已配置",notConfigured:"待配置"}},vd=P.createContext(null);function tm(){const e=localStorage.getItem(gd);return e==="cn"||e==="en"?e:"en"}function nm({children:e}){const[t,n]=P.useState(tm);P.useEffect(()=>{localStorage.setItem(gd,t),document.documentElement.lang=t==="cn"?"zh-CN":"en",document.title=Bs[t].siteTitle},[t]);const r=P.useMemo(()=>({lang:t,setLang:n,ui:Bs[t]}),[t]);return c.jsx(vd.Provider,{value:r,children:e})}function K(){const e=P.useContext(vd);if(!e)throw new Error("useLanguage must be used inside LanguageProvider");return e}function rm(){const{lang:e,setLang:t,ui:n}=K(),r=Nn();return c.jsxs(c.Fragment,{children:[c.jsxs("div",{className:"frame-top",children:[c.jsxs(Ne,{to:"/",className:"brand-link",children:[c.jsx("div",{className:"sys-title",children:"Nexora"}),c.jsx("div",{className:"sys-subtitle",children:n.tagline})]}),c.jsxs("div",{className:"sys-meta-right",children:[c.jsxs("div",{className:"lang-picker",role:"group","aria-label":n.language,children:[c.jsx("button",{type:"button",className:`lang-btn ${e==="en"?"is-active":""}`,onClick:()=>t("en"),"aria-pressed":e==="en","aria-label":"English",children:"EN"}),c.jsx("span",{className:"lang-sep",children:"/"}),c.jsx("button",{type:"button",className:`lang-btn ${e==="cn"?"is-active":""}`,onClick:()=>t("cn"),"aria-pressed":e==="cn","aria-label":"中文",children:"CN"})]}),c.jsx(Ne,{to:`/admin?from=${encodeURIComponent(r.pathname)}`,className:"admin-btn","aria-label":n.admin,children:n.admin})]})]}),c.jsxs("div",{className:"frame-bottom",children:[c.jsx("div",{className:"branding",children:n.copyright}),c.jsx("div",{className:"dot-signature",children:"•"})]})]})}const im=` attribute vec4 aVertexPosition; varying vec2 vUv; void main() { gl_Position = aVertexPosition; vUv = aVertexPosition.xy * 0.5 + 0.5; } `,lm=` 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 bs(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 om(e){const t=bs(e,e.VERTEX_SHADER,im),n=bs(e,e.FRAGMENT_SHADER,lm);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 am(){const e=P.useRef(null);return P.useEffect(()=>{const t=e.current;if(!t)return;const n=t.getContext("webgl");if(!n){console.error("WebGL not supported");return}const r=om(n);if(!r)return;const i={vertexPosition:n.getAttribLocation(r,"aVertexPosition")},l={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 a=new Float32Array([1,1,-1,1,1,-1,-1,-1]);n.bufferData(n.ARRAY_BUFFER,a,n.STATIC_DRAW);let s=0,u=0;const g=x=>{s=x.clientX,u=window.innerHeight-x.clientY};window.addEventListener("mousemove",g);const m=()=>{const x=Math.min(window.devicePixelRatio||1,2),S=Math.max(t.clientWidth,document.documentElement.clientWidth),E=Math.max(t.clientHeight,document.documentElement.scrollHeight),f=Math.floor(S*x),d=Math.floor(E*x);return(t.width!==f||t.height!==d)&&(t.width=f,t.height=d),{w:S,h:E}};m(),window.addEventListener("resize",m);let v=0;const k=x=>{x*=.001,m(),n.viewport(0,0,t.width,t.height),n.useProgram(r),n.bindBuffer(n.ARRAY_BUFFER,o),n.vertexAttribPointer(i.vertexPosition,2,n.FLOAT,!1,0,0),n.enableVertexAttribArray(i.vertexPosition),n.uniform1f(l.uTime,x),n.uniform2f(l.uResolution,t.width,t.height),n.uniform2f(l.uMouse,s,u),n.drawArrays(n.TRIANGLE_STRIP,0,4),v=requestAnimationFrame(k)};return v=requestAnimationFrame(k),()=>{cancelAnimationFrame(v),window.removeEventListener("mousemove",g),window.removeEventListener("resize",m),n.deleteProgram(r),n.deleteBuffer(o)}},[]),c.jsx("canvas",{id:"glcanvas",ref:e})}const p=(e,t)=>({en:e,cn:t}),z=(e,t)=>e[t],sm={id:"standalone",title:p("Decoupled","独立产品"),path:"/category/product/standalone",navigationTagline:p("One-shot experiences, tools, and independent content products.","一次性体验、工具与独立内容产品。"),tagline:p("One-shot experiences, tools, and independent content products.","一次性体验、工具与独立内容产品。"),blocks:[{kind:"panor_projects"}]},um={id:"designs",title:p("Designs","设计"),path:"/category/product/designs",navigationTagline:p("Visual + interaction system. Tokens, components, motion.","视觉与交互系统:设计令牌、组件与动效。"),tagline:p("Visual + interaction system. Tokens, components, motion.","视觉与交互系统:设计令牌、组件与动效。"),blocks:[{kind:"specs",items:[p("Color: deep orange → yellow → cyan → teal → navy (WebGL gradient)","色彩:深橙 → 黄色 → 青色 → 蓝绿 → 海军蓝(WebGL 渐变)"),p("Type: Inter 400/500 + JetBrains Mono 400/500","字体:Inter 400/500 + JetBrains Mono 400/500"),p("Line weight: 1px solid #000","线条:1px 实线 #000"),p("Motion: 0.85s cubic-bezier(0.2, 1, 0.2, 1)","动效:0.85 秒 cubic-bezier(0.2, 1, 0.2, 1)"),p("Grain: 0.18 (fragment shader)","颗粒:0.18(片元着色器)")]}]},cm={id:"services",title:p("Services","服务"),path:"/category/product/services",navigationTagline:p("Continuous-use, collaborative, and networked products.","持续使用、协作与网络型产品。"),tagline:p("Continuous-use, collaborative, and networked products.","持续使用、协作与网络型产品。"),blocks:[]},dm={id:"solutions",title:p("Solutions","解决方案"),path:"/category/product/solutions",navigationTagline:p("Non-standard FDE and client deployment solutions.","非标准 FDE 与客户部署型解决方案。"),tagline:p("Non-standard FDE and client deployment solutions.","非标准 FDE 与客户部署型解决方案。"),blocks:[{kind:"panor_services"}]},fm={id:"product",index:"02",title:p("Product","产品"),path:"/category/product",lede:p("Independent products, continuous services, client deployment solutions, and the system that ties them together.","独立产品、持续服务、客户部署型解决方案,以及贯穿其中的设计系统。"),subs:[dm,sm,cm,um]},pm={"Personal public updates and product notes.":"个人公开动态与产品笔记。","Direct phone contact.":"可电话或微信直接联系。","Email for direct contact.":"邮箱直接联系。","Public repositories, source releases, and technical work.":"公开仓库、源码发布与技术工作。","Models, datasets, and interactive Spaces.":"模型、数据集与交互式 Spaces。","Professional profile and career updates.":"职业资料与工作动态。","Long-form writing and research notes.":"长篇写作与研究笔记。","Public submissions and technical discussion.":"公开提交与技术讨论。","Product launches and public launch history.":"产品发布与公开发布记录。","Long-form publishing archive.":"长篇内容发布归档。","Public research and product archive.":"公开研究与产品档案。","Product property and public entry point.":"产品品牌与公开入口。","Brand updates and launch communications.":"品牌动态与发布沟通。","AI products and data-platform property.":"AI 产品与数据平台入口。","Organization repositories and technical assets.":"组织仓库与技术资产。","Brand social profile.":"品牌社交资料页。","Storefront and social-commerce distribution channel.":"店铺与社交电商分发渠道。","Short-video commerce and storefront distribution channel.":"短视频电商与店铺分发渠道。","Apple platform distribution and release channel.":"Apple 平台分发与发布渠道。","Android distribution and release channel.":"Android 分发与发布渠道。","Direct-to-user web distribution channel.":"面向用户的直接 Web 分发渠道。","Secondary marketplace and community-sales channel.":"二级市场与社区销售渠道。","Game discovery and distribution channel.":"游戏发现与分发渠道。","PC game distribution and community channel.":"PC 游戏分发与社区渠道。","WeChat Mini Program and Mini Game distribution channel.":"微信小程序与小游戏分发渠道。","Subscription and entitlement operations channel.":"订阅与权益运营渠道。","Visual discovery and referral channel.":"视觉发现与引流渠道。","International short-video distribution channel.":"国际短视频分发渠道。","Video publishing and technical-community channel.":"视频发布与技术社区渠道。","Content discovery and audience conversation channel.":"内容发现与受众沟通渠道。","Short-form video and campaign distribution channel.":"短视频与活动分发渠道。","Long-form publication and subscriber communication channel.":"长篇发布与订阅者沟通渠道。","Video publishing and WeChat ecosystem channel.":"视频发布与微信生态渠道。","Community entry point connected to product properties.":"与产品入口连接的社群入口。","Topic-based international community channel.":"主题型国际社区渠道。","Community conversation around Xiaohongshu content and commerce.":"围绕小红书内容与商业化的社群沟通渠道。","Direct group communication and community operations channel.":"直接群组沟通与社群运营渠道。"},yd=e=>p(e,pm[e]??e),ue=(e,t,n,r=e)=>({name:p(e,r),description:yd(t),url:n}),te=(e,t,n)=>({name:p(e,t),description:yd(n)}),hm=[{title:p("Public & brand properties","公开资料与品牌入口"),cards:[ue("X · Wilson Xu","Personal public updates and product notes.","https://x.com/wilsonxuuuu"),ue("Phone / WeChat · 17640021998","Direct phone contact.","tel:17640021998","联系电话 / 微信 · 17640021998"),ue("Email · chengyi_xu@outlook.com","Email for direct contact.","mailto:chengyi_xu@outlook.com","联系邮箱 · chengyi_xu@outlook.com"),ue("GitHub · chengyixu","Public repositories, source releases, and technical work.","https://github.com/chengyixu"),ue("Hugging Face · ChengyiX","Models, datasets, and interactive Spaces.","https://huggingface.co/ChengyiX"),ue("LinkedIn · Chengyi Xu","Professional profile and career updates.","https://www.linkedin.com/in/chengyi-xu-cn/"),ue("Substack · chengyixu","Long-form writing and research notes.","https://substack.com/@chengyixu"),ue("Hacker News · Wilson_Xu","Public submissions and technical discussion.","https://news.ycombinator.com/submitted?id=Wilson_Xu"),ue("Product Hunt · wilson_xuu","Product launches and public launch history.","https://www.producthunt.com/@wilson_xuu"),ue("Blogger","Long-form publishing archive.","https://www.blogger.com/blog/posts/8932726726247103479"),ue("Nexora","Public research and product archive.","https://chengyix-nexora.static.hf.space/"),ue("Hiklik","Product property and public entry point.","http://hiklik.ai/"),ue("X · Hiklik AI","Brand updates and launch communications.","https://x.com/hiklikai"),ue("Panor","AI products and data-platform property.","https://panor.tech/"),ue("Minerva Capital","Organization repositories and technical assets.","https://github.com/minervacap2022"),ue("Facebook","Brand social profile.","https://www.facebook.com/profile.php?id=100081528347346"),ue("Bilibili","Video publishing and technical-community channel.","https://space.bilibili.com/334951791?spm_id_from=333.1007.0.0"),te("Pinterest","Pinterest","Visual discovery and referral channel."),te("TikTok","TikTok","International short-video distribution channel.")]},{title:p("Distribution and storefronts","分发与店铺"),cards:[te("Xiaohongshu Shop","小红书小店","Storefront and social-commerce distribution channel."),te("Douyin Shop","抖音小店","Short-video commerce and storefront distribution channel."),te("iOS / macOS App Store","iOS / macOS App Store","Apple platform distribution and release channel."),te("Google Play Store","Google Play Store","Android distribution and release channel."),te("Independent site","独立站","Direct-to-user web distribution channel."),te("Xianyu","闲鱼","Secondary marketplace and community-sales channel."),te("TapTap","TapTap","Game discovery and distribution channel."),te("Steam","Steam","PC game distribution and community channel."),te("WeChat Mini Programs / Mini Games","微信小程序 / 小游戏","WeChat Mini Program and Mini Game distribution channel."),te("RevenueCat","RevenueCat","Subscription and entitlement operations channel.")]},{title:p("Communities","社群渠道"),cards:[te("Xiaohongshu","小红书","Content discovery and audience conversation channel."),te("Douyin","抖音","Short-form video and campaign distribution channel."),te("WeChat Official Account","微信公众号","Long-form publication and subscriber communication channel."),te("WeChat Channels","微信视频号","Video publishing and WeChat ecosystem channel."),te("Website community","官网社群","Community entry point connected to product properties."),te("Reddit community","Reddit 群","Topic-based international community channel."),te("Xiaohongshu community","小红书群","Community conversation around Xiaohongshu content and commerce."),te("WeChat group","微信群","Direct group communication and community operations channel.")]}],qe=e=>({kind:"internal",label:p("Member profile","成员资料"),url:`/category/reach/us?member=${e}`}),mm=[{id:"desiry",name:"Desiry",sortKey:"desiry",roles:p("Vision · Product · Administration","愿景 · 产品 · 行政"),bio:p("Connects long-term product direction with administrative follow-through, helping turn vision into coordinated decisions.","连接长期产品方向与行政执行,帮助将愿景转化为协调一致的决策。"),profileLinks:[qe("desiry")]},{id:"heidi",name:"Heidi",sortKey:"heidi",roles:p("Marketing · Design · Product","营销 · 设计 · 产品"),bio:p("Builds coherent product and marketing surfaces, connecting design decisions to audience-facing delivery.","构建一致的产品与营销界面,将设计决策连接到面向用户的交付。"),profileLinks:[qe("heidi")]},{id:"lyd",name:"lyd",sortKey:"lyd",roles:p("Research · Engineering · Infrastructure","研究 · 工程 · 基础设施"),bio:p("Works across research, engineering, and infrastructure to make technical systems dependable in operation.","横跨研究、工程与基础设施,推动技术系统稳定运行。"),profileLinks:[qe("lyd")]},{id:"lynn",name:"lynn",sortKey:"lynn",roles:p("Design · Product","设计 · 产品"),bio:p("Shapes product experiences through focused design work, from interface direction to practical product decisions.","通过聚焦的设计工作塑造产品体验,从界面方向到实际产品决策。"),profileLinks:[qe("lynn")]},{id:"rr",name:"RR",sortKey:"rr",roles:p("Management · Administration","管理 · 行政"),bio:p("Keeps management and administrative work connected, with attention to clear ownership and operational continuity.","连接管理与行政工作,关注清晰责任归属和运营连续性。"),profileLinks:[qe("rr")]},{id:"sq",name:"SQ",sortKey:"sq",roles:p("Design · Product","设计 · 产品"),bio:p("Contributes design judgment and product perspective to help keep public experiences clear and coherent.","贡献设计判断与产品视角,帮助公开体验保持清晰一致。"),profileLinks:[qe("sq")]},{id:"wang-gengyang",name:"王庚阳",sortKey:"wang-gengyang",roles:p("Research · Engineering · Safety · Network","研究 · 工程 · 安全 · 网络"),bio:p("Connects research and engineering with safety and network considerations across technical delivery.","在技术交付中连接研究、工程、安全与网络考量。"),profileLinks:[qe("wang-gengyang")]},{id:"xu-chengyi",name:"徐成一",sortKey:"xu-chengyi",roles:p("Research · Product · Engineering","研究 · 产品 · 工程"),bio:p("Works on AI applications, data platforms, and end-to-end product systems.","负责 AI 应用、数据平台与端到端产品系统。"),profileLinks:[{kind:"external",iconSrc:"https://cdn.simpleicons.org/github/ffffff",label:p("GitHub profile","GitHub 主页"),url:"https://github.com/chengyixu"},{kind:"external",iconSrc:"https://upload.wikimedia.org/wikipedia/commons/c/ca/LinkedIn_logo_initials.png",label:p("LinkedIn profile","LinkedIn 主页"),url:"https://www.linkedin.com/in/chengyi-xu-cn/"},{kind:"external",iconSrc:"https://cdn.simpleicons.org/x/ffffff",label:p("X profile","X 主页"),url:"https://x.com/wilsonxuuuu"},{kind:"external",iconSrc:"https://cdn.simpleicons.org/huggingface/ffffff",label:p("Hugging Face profile","Hugging Face 主页"),url:"https://huggingface.co/ChengyiX"}]},{id:"yr",name:"YR",sortKey:"yr",roles:p("Design · Product","设计 · 产品"),bio:p("Contributes design and product perspective to turn concepts into usable, coherent experiences.","贡献设计与产品视角,将概念转化为可用且一致的体验。"),profileLinks:[qe("yr")]},{id:"zml",name:"ZML",sortKey:"zml",roles:p("Research · Administration","研究 · 行政"),bio:p("Connects research work with administrative coordination to keep initiatives legible and actionable.","连接研究工作与行政协调,让项目保持清晰且可执行。"),profileLinks:[qe("zml")]}],gm=[...mm].sort((e,t)=>e.sortKey.localeCompare(t.sortKey)),wd=(e,t,n)=>({kind:"screenshot",src:e,alt:p(t,n)}),vm=(e,t)=>({kind:"embed",src:e,title:p(t,t)}),ym=()=>({kind:"unavailable",message:p("No public preview is available for this object.","该对象暂未提供公开预览。")}),y=e=>p(e,e),_=p("Pricing is scoped by object, integration, delivery, and support requirements.","定价按对象、集成、交付与支持要求确定。"),wm={llm:["/showcase/llm.webp","Hugging Face model preview","Hugging Face 模型预览"],agent:["/showcase/agent.webp","Agent research preview","智能体研究预览"],engineering:["/showcase/engineering.webp","Engineering source preview","工程源码预览"],hardware:["/showcase/hardware.webp","Hardware source preview","硬件源码预览"],marketing:["/showcase/marketing.webp","AI marketing source preview","AI 营销源码预览"],miniprogram:["/showcase/miniprogram.webp","Mini-program source preview","小程序源码预览"],solutions:["/showcase/solutions.webp","EVE research dashboard","EVE 研究看板"],decoupled:["/showcase/decoupled.webp","Not by AI certification preview","Not by AI 认证预览"],designs:["/showcase/designs.webp","Nexora archive interface","Nexora 档案界面"]},j=(e,t)=>{if(e==="embed")return vm(t,t);const[n,r,i]=wm[e];return wd(n,r,i)},xm={OhMyHerdr:"/showcase/products/01-ohmyherdr.webp","Baby Simulator":"/showcase/products/02-baby-simulator.webp","Medical Career Simulator":"/showcase/products/03-medical-career-simulator.webp","Three-Body: Sovereignty":"/showcase/products/04-three-body-sovereignty.webp","Worker HP Defense":"/showcase/products/05-worker-hp-defense.webp","The Other Side":"/showcase/products/06-the-other-side.webp","MBTI 16 Personality Test":"/showcase/products/07-mbti-16-personality-test.webp","Big Five Personality Test":"/showcase/products/08-big-five-personality-test.webp","Phobia Self-Assessment":"/showcase/products/09-phobia-self-assessment.webp","Mania Self-Screening":"/showcase/products/10-mania-self-screening.webp","Family Environment Test":"/showcase/products/11-family-environment-test.webp","Clothing Lab":"/showcase/products/12-clothing-lab.webp","Help Me Pick Up Balls":"/showcase/products/13-help-me-pick-up-balls.webp","AI Mac Pet":"/showcase/products/14-ai-mac-pet.webp","Love Chat Report":"/showcase/products/15-love-chat-report.webp","Mystic Tarot":"/showcase/products/16-mystic-tarot.webp","The Other Side macOS App":"/showcase/products/17-the-other-side-macos-app.webp","FIRE Calculator":"/showcase/products/18-fire-calculator.webp","MBTI Compatibility Analysis":"/showcase/products/19-mbti-compatibility-analysis.webp","Attachment Style Test":"/showcase/products/20-attachment-style-test.webp","Enneagram Test":"/showcase/products/21-enneagram-test.webp","Stan Wars":"/showcase/products/22-stan-wars.webp","SBTI Fun Personality Test":"/showcase/products/23-sbti-fun-personality-test.webp","PaiPai Beast":"/showcase/products/24-paipai-beast.webp","Fashion Buyer Store Simulator":"/showcase/products/25-fashion-buyer-store-simulator.webp","FIRE Financial Independence Calculator":"/showcase/products/26-fire-financial-independence-calculator.webp","Korean Rhetoric Translator":"/showcase/products/27-korean-rhetoric-translator.webp","Text Cleaner and Formatter":"/showcase/products/28-text-cleaner-and-formatter.webp","Baby Name Assistant":"/showcase/products/29-baby-name-assistant.webp","Love Language Test":"/showcase/products/30-love-language-test.webp","Ball Arena":"/showcase/products/31-ball-arena.webp","Jiahao Translator":"/showcase/products/32-jiahao-translator.webp","One Wish Willow":"/showcase/products/33-one-wish-willow.webp","Yue Lao · AI Relationship Reflection Tool":"/showcase/products/34-yue-lao-ai-relationship-reflection-tool.webp","Klik Desktop":"/showcase/products/35-klik-desktop.webp",Soundscape:"/showcase/products/36-soundscape.webp","Variant · Design Marketplace":"/showcase/products/37-variant-design-marketplace.webp",Pacering:"/showcase/products/38-pacering.webp","AI Turtle Soup":"/showcase/products/39-ai-turtle-soup.webp","Tacit Understanding Game":"/showcase/products/40-tacit-understanding-game.webp","AI Job Interview Assistant":"/showcase/products/41-ai-job-interview-assistant.webp","Biomedical Outreach Tool (@taoci)":"/showcase/products/42-biomedical-outreach-tool-taoci.webp","Token Gateway":"/showcase/products/43-token-gateway.webp","Not by AI — Human Certification":"/showcase/products/44-not-by-ai-human-certification.webp","Local LLM Deployment":"/showcase/products/45-local-llm-deployment.webp","Gateway and Aggregator Deployment":"/showcase/products/46-gateway-and-aggregator-deployment.webp","AI Transformation":"/showcase/products/47-ai-transformation.webp","AI Marketing":"/showcase/products/48-ai-marketing.webp","Multi-Platform Mini Program Development":"/showcase/products/49-multi-platform-mini-program-development.webp","EVE Quant Research Dashboard":"/showcase/products/50-eve-quant-research-dashboard.webp","EVE - Crypto Monitor":"/showcase/products/51-eve-crypto-monitor.webp"},km=(e,t)=>{const n=xm[e.en];return t&&n?wd(n,`${e.en} product preview`,`${e.cn} 产品预览`):ym()},I=(e,t)=>p(e,t),ma=e=>({label:p("GitHub repository","GitHub 仓库"),url:e}),ga=(e,t,n,r)=>({name:e,...t?{url:t}:{},...r!=null&&r.length?{links:r}:{},description:n,pricing:_,visual:km(e,t)}),b=(e,t,n)=>ga(e,t,p("Independent experience, tool, or content product.","一次性体验、工具或独立内容产品。"),n?[ma(n)]:void 0),je=(e,t,n)=>ga(e,t,p("Continuous-use, collaborative, or networked product.","持续使用、协作或网络型产品。"),n?[ma(n)]:void 0),zt=(e,t,n)=>ga(e,t,p("Non-standard deployed solution for a defined client or operational context.","面向明确客户或运营场景的非标准部署方案。"),n?[ma(n)]:void 0),Sm=[b(I("OhMyHerdr","OhMyHerdr"),"https://github.com/chengyixu/oh-my-herdr"),b(I("Mole Swift","Mole Swift")),b(I("Baby Simulator","养娃模拟器"),"https://www.panor.tech/babysim/","https://github.com/chengyixu/baby-sim"),b(I("Medical Career Simulator","医学生涯模拟器"),"https://www.panor.tech/doctor/emergency-med-simulator/","https://github.com/chengyixu/doctor"),b(I("Three-Body: Sovereignty","三体:王权"),"https://www.panor.tech/3body/","https://github.com/chengyixu/3body"),b(I("Worker HP Defense","打工人血条保卫战"),"https://www.panor.tech/worker/","https://github.com/chengyixu/worker"),b(I("The Other Side","人生B面"),"https://www.panor.tech/otherside/","https://github.com/chengyixu/otherside"),b(I("MBTI 16 Personality Test","MBTI 16型人格测试"),"https://www.panor.tech/mbti/"),b(I("Big Five Personality Test","大五人格测试"),"https://www.panor.tech/bigfive/"),b(I("Phobia Self-Assessment","恐惧症自评测试"),"https://www.panor.tech/phobia/"),b(I("Mania Self-Screening","躁狂症自评筛查"),"https://www.panor.tech/mania/"),b(I("Family Environment Test","家庭环境测试"),"https://www.panor.tech/family/","https://github.com/chengyixu/family"),b(I("Clothing Lab","穿搭实验室"),"https://www.panor.tech/clothing/","https://github.com/chengyixu/clothing"),b(I("Help Me Pick Up Balls","帮我捡捡球"),"https://www.panor.tech/tennis/"),b(I("AI Mac Pet","桌面猫咪"),"https://github.com/chengyixu/ai_mac_pet"),b(I("Love Chat Report","恋爱聊天报告"),"https://www.panor.tech/love/"),b(I("Mystic Tarot","神秘塔罗"),"https://www.panor.tech/taor/"),b(I("The Other Side macOS App","人生B面 macOS App"),"https://www.panor.tech/second_side/","https://github.com/chengyixu/second-side"),b(I("FIRE Calculator","FIRE 计算器"),"https://www.panor.tech/selfie_fire/","https://github.com/chengyixu/selfie-fire"),b(I("MBTI Compatibility Analysis","MBTI 人格匹配分析"),"https://www.panor.tech/mbti/compatibility/"),b(I("Attachment Style Test","依恋类型测试"),"https://www.panor.tech/attach/"),b(I("Enneagram Test","九型人格测试"),"https://www.panor.tech/ennea/"),b(I("Stan Wars","Stan Wars"),"https://www.panor.tech/stanwars/"),b(I("SBTI Fun Personality Test","SBTI 趣味人格测试"),"https://www.panor.tech/sbti/"),b(I("PaiPai Beast","拍拍兽"),"https://www.panor.tech/paipai/"),b(I("Fashion Buyer Store Simulator","时尚买手店模拟器"),"https://www.panor.tech/fashion/"),b(I("FIRE Financial Independence Calculator","FIRE 财务自由计算器"),"https://www.panor.tech/selfie/"),b(I("Korean Rhetoric Translator","韩式修辞翻译器"),"https://www.panor.tech/krtranslate/","https://github.com/chengyixu/krtranslate"),b(I("Text Cleaner and Formatter","文本清洗与格式化工具"),"https://www.panor.tech/paste/","https://github.com/chengyixu/paste"),b(I("Baby Name Assistant","宝宝取名助手"),"https://www.panor.tech/baby/"),b(I("Love Language Test","爱的语言测试"),"https://www.panor.tech/lovelang/"),b(I("Ball Arena","Ball Arena"),"https://www.panor.tech/arena/"),b(I("Jiahao Translator","嘉豪翻译器"),"https://www.panor.tech/jiahao/"),b(I("One Wish Willow","许愿柳"),"https://www.panor.tech/willow/"),b(I("Yue Lao · AI Relationship Reflection Tool","月老 · AI 关系反思工具"),"https://www.panor.tech/yuelao/")],Cm=[je(I("Klik Desktop","Klik 桌面端"),"https://github.com/minervacap2022/klik-desktop"),je(I("Soundscape","声景"),"https://www.panor.tech/sound/","https://github.com/chengyixu/panor-sound"),je(I("OWLSpace","OWLSpace")),je(I("OWLSpace-Re","OWLSpace-Re")),je(I("Variant · Design Marketplace","Variant · 卖设计"),"https://github.com/chengyixu/variant-design-languages"),je(I("Pacering","Pacering"),"https://github.com/chengyixu/pacering"),je(I("AI Turtle Soup","AI海龟汤"),"https://www.panor.tech/turtle/","https://github.com/chengyixu/turtle"),je(I("Tacit Understanding Game","默契小游戏"),"https://www.panor.tech/moqi/","https://github.com/chengyixu/tacit-understanding-game"),je(I("AI Job Interview Assistant","AI 求职面试助手"),"https://www.panor.tech/job/"),je(I("Biomedical Outreach Tool (@taoci)","生物医学套磁工具(@taoci)"),"https://www.panor.tech/taoci/","https://github.com/chengyixu/biomedical-outreach-tool"),je(I("Revenue-Sharing Computer Advertising","收益共享电脑广告")),je(I("Token Gateway","Token中转站"),"https://github.com/chengyixu/one-api"),je(I("Not by AI — Human Certification","Not by AI — 人类认证"),"https://www.panor.tech/human/")],Pm=[zt(I("Local LLM Deployment","LLM本地部署"),"https://huggingface.co/ChengyiX/Qwen3.8-27B-DFlash2-4bit-MLX"),zt(I("Gateway and Aggregator Deployment","中转站与聚合站部署"),"https://www.panor.tech/api/"),zt(I("AI Transformation","AI 化转型"),"https://www.panor.tech/api/"),zt(I("AI Marketing","AI 营销"),"https://github.com/chengyixu/xhs-automation"),zt(I("Multi-Platform Mini Program Development","多端小程序开发"),"https://github.com/chengyixu/tacit-understanding-game"),zt(I("EVE Quant Research Dashboard","EVE 量化研究看板"),"https://www.panor.tech/eve-invest/","https://github.com/chengyixu/eve-invest"),zt(I("EVE - Crypto Monitor","EVE - 加密资产监控"),"https://github.com/chengyixu/EVE-hk")],Em={"research/llm":{items:[{name:y("ChengyiX/Qwen3.8-27B-DFlash2-4bit-MLX"),url:"https://huggingface.co/ChengyiX/Qwen3.8-27B-DFlash2-4bit-MLX",description:y("Public research artifact."),pricing:_,visual:j("llm","https://huggingface.co/ChengyiX/Qwen3.8-27B-DFlash2-4bit-MLX")},{name:y("ChengyiX/Qwen3.8-27B-DFlash2-LocalFlash-M4Max"),url:"https://huggingface.co/ChengyiX/Qwen3.8-27B-DFlash2-LocalFlash-M4Max",description:y("Public research artifact."),pricing:_,visual:j("llm","https://huggingface.co/ChengyiX/Qwen3.8-27B-DFlash2-LocalFlash-M4Max")},{name:y("ChengyiX/Ornith-1.5-35B-A3B-Q4_K_M-LocalMoe-M4Max"),url:"https://huggingface.co/ChengyiX/Ornith-1.5-35B-A3B-Q4_K_M-LocalMoe-M4Max",description:y("Public research artifact."),pricing:_,visual:j("llm","https://huggingface.co/ChengyiX/Ornith-1.5-35B-A3B-Q4_K_M-LocalMoe-M4Max")},{name:y("ChengyiX/Ornith-1.5-35B-A3B-Q6_K-LocalMoe-M4Max"),url:"https://huggingface.co/ChengyiX/Ornith-1.5-35B-A3B-Q6_K-LocalMoe-M4Max",description:y("Public research artifact."),pricing:_,visual:j("llm","https://huggingface.co/ChengyiX/Ornith-1.5-35B-A3B-Q6_K-LocalMoe-M4Max")},{name:y("ChengyiX/CLI-Bench"),url:"https://huggingface.co/datasets/ChengyiX/CLI-Bench",description:y("Public research artifact."),pricing:_,visual:j("llm","https://huggingface.co/datasets/ChengyiX/CLI-Bench")},{name:y("ChengyiX/KLIK-Bench"),url:"https://huggingface.co/datasets/ChengyiX/KLIK-Bench",description:y("Public research artifact."),pricing:_,visual:j("llm","https://huggingface.co/datasets/ChengyiX/KLIK-Bench")},{name:y("ChengyiX/freetoken-macos-deployment"),url:"https://huggingface.co/datasets/ChengyiX/freetoken-macos-deployment",description:y("Public research artifact."),pricing:_,visual:j("llm","https://huggingface.co/datasets/ChengyiX/freetoken-macos-deployment")},{name:y("ChengyiX/ornith-256k-bench"),url:"https://huggingface.co/datasets/ChengyiX/ornith-256k-bench",description:y("Public research artifact."),pricing:_,visual:j("llm","https://huggingface.co/datasets/ChengyiX/ornith-256k-bench")},{name:y("ChengyiX/agent-context-review-cases"),url:"https://huggingface.co/datasets/ChengyiX/agent-context-review-cases",description:y("Public research artifact."),pricing:_,visual:j("llm","https://huggingface.co/datasets/ChengyiX/agent-context-review-cases")},{name:y("ChengyiX/proactive-execution-context-review-cases"),url:"https://huggingface.co/datasets/ChengyiX/proactive-execution-context-review-cases",description:y("Public research artifact."),pricing:_,visual:j("llm","https://huggingface.co/datasets/ChengyiX/proactive-execution-context-review-cases")},{name:y("ChengyiX/context-freshness-ledger-cases"),url:"https://huggingface.co/datasets/ChengyiX/context-freshness-ledger-cases",description:y("Public research artifact."),pricing:_,visual:j("llm","https://huggingface.co/datasets/ChengyiX/context-freshness-ledger-cases")},{name:y("ChengyiX/outcome-receipt-cases"),url:"https://huggingface.co/datasets/ChengyiX/outcome-receipt-cases",description:y("Public research artifact."),pricing:_,visual:j("llm","https://huggingface.co/datasets/ChengyiX/outcome-receipt-cases")},{name:y("ChengyiX/klik-temporal-memory-paper"),url:"https://huggingface.co/datasets/ChengyiX/klik-temporal-memory-paper",description:y("Public research artifact."),pricing:_,visual:j("llm","https://huggingface.co/datasets/ChengyiX/klik-temporal-memory-paper")},{name:y("ChengyiX/agent-scope-recovery-cases"),url:"https://huggingface.co/datasets/ChengyiX/agent-scope-recovery-cases",description:y("Public research artifact."),pricing:_,visual:j("llm","https://huggingface.co/datasets/ChengyiX/agent-scope-recovery-cases")}]},"research/agent":{items:[{name:y("ChengyiX/Minerva"),url:"https://huggingface.co/spaces/ChengyiX/Minerva",description:y("Public research artifact."),pricing:_,visual:j("agent","https://huggingface.co/spaces/ChengyiX/Minerva")},{name:y("ChengyiX/agent-handoff-decision-gate"),url:"https://huggingface.co/spaces/ChengyiX/agent-handoff-decision-gate",description:y("Public research artifact."),pricing:_,visual:j("agent","https://huggingface.co/spaces/ChengyiX/agent-handoff-decision-gate")},{name:y("ChengyiX/context-run-game"),url:"https://huggingface.co/spaces/ChengyiX/context-run-game",description:y("Public research artifact."),pricing:_,visual:j("agent","https://huggingface.co/spaces/ChengyiX/context-run-game")},{name:y("ChengyiX/action-receipt-check"),url:"https://huggingface.co/spaces/ChengyiX/action-receipt-check",description:y("Public research artifact."),pricing:_,visual:j("agent","https://huggingface.co/spaces/ChengyiX/action-receipt-check")},{name:y("ChengyiX/agent-context-review-playground"),url:"https://huggingface.co/spaces/ChengyiX/agent-context-review-playground",description:y("Public research artifact."),pricing:_,visual:j("agent","https://huggingface.co/spaces/ChengyiX/agent-context-review-playground")},{name:y("ChengyiX/klik-action-receipt-check"),url:"https://huggingface.co/spaces/ChengyiX/klik-action-receipt-check",description:y("Public research artifact."),pricing:_,visual:j("agent","https://huggingface.co/spaces/ChengyiX/klik-action-receipt-check")},{name:y("ChengyiX/klik-temporal-memory-research"),url:"https://huggingface.co/spaces/ChengyiX/klik-temporal-memory-research",description:y("Public research artifact."),pricing:_,visual:j("agent","https://huggingface.co/spaces/ChengyiX/klik-temporal-memory-research")},{name:y("ChengyiX/nexora"),url:"https://huggingface.co/spaces/ChengyiX/nexora",description:y("Public research artifact."),pricing:_,visual:j("agent","https://huggingface.co/spaces/ChengyiX/nexora")},{name:y("The Memory Record That Makes an Agent Handoff Reviewable"),url:"https://gist.github.com/chengyixu/c2c47006ef988884608072fa7c730b68",description:y("The Memory Record That Makes an Agent Handoff Reviewable"),pricing:_,visual:j("agent","https://gist.github.com/chengyixu/c2c47006ef988884608072fa7c730b68")},{name:y("Context Change Gate Fixtures for Memory-Aware, Permission-Aware Agents"),url:"https://gist.github.com/chengyixu/05c49514ecb497ef066bf882f585bb1c",description:y("Context Change Gate Fixtures for Memory-Aware, Permission-Aware Agents"),pricing:_,visual:j("agent","https://gist.github.com/chengyixu/05c49514ecb497ef066bf882f585bb1c")},{name:y("Memory-to-action receipts: a permission-aware checklist (Klik developer note)"),url:"https://gist.github.com/chengyixu/02ac2a93d308ae4f0420f86f16c5a41e",description:y("Memory-to-action receipts: a permission-aware checklist (Klik developer note)"),pricing:_,visual:j("agent","https://gist.github.com/chengyixu/02ac2a93d308ae4f0420f86f16c5a41e")},{name:y("Proactive Execution Receipt: a minimal review record for agent actions"),url:"https://gist.github.com/chengyixu/37a475f8672a027e4e17f4d93dd0b908",description:y("Proactive Execution Receipt: a minimal review record for agent actions"),pricing:_,visual:j("agent","https://gist.github.com/chengyixu/37a475f8672a027e4e17f4d93dd0b908")},{name:y("Idempotency Is Not Authority: A Test Matrix for Resuming Agent Actions"),url:"https://gist.github.com/chengyixu/8e05ccb2174ce7762906c5f6802cebd4",description:y("Idempotency Is Not Authority: A Test Matrix for Resuming Agent Actions"),pricing:_,visual:j("agent","https://gist.github.com/chengyixu/8e05ccb2174ce7762906c5f6802cebd4")},{name:y("Context Resumption Receipt for Interrupted Agent Work"),url:"https://gist.github.com/chengyixu/1cbf3c297a59700a46a38e600be1977c",description:y("Context Resumption Receipt for Interrupted Agent Work"),pricing:_,visual:j("agent","https://gist.github.com/chengyixu/1cbf3c297a59700a46a38e600be1977c")},{name:y("AI Agent Context Contract Checklist"),url:"https://gist.github.com/chengyixu/61e941be0374396802d53d46f2874294",description:y("AI Agent Context Contract Checklist"),pricing:_,visual:j("agent","https://gist.github.com/chengyixu/61e941be0374396802d53d46f2874294")},{name:y("AI Agents in Production with MCP: Complete 2026 Guide (2,759 words, 12 TS examples) - full draft for SitePoint"),url:"https://gist.github.com/chengyixu/443d04a05489801e546f122332cd3b48",description:y("AI Agents in Production with MCP: Complete 2026 Guide (2,759 words, 12 TS examples) - full draft for SitePoint"),pricing:_,visual:j("agent","https://gist.github.com/chengyixu/443d04a05489801e546f122332cd3b48")},{name:y("AI Agents in Production with MCP: The Complete 2026 Guide - How Model Context Protocol is reshaping how applications talk to LLMs"),url:"https://gist.github.com/chengyixu/943943e3aaed0c4cbd06761577a45e15",description:y("AI Agents in Production with MCP: The Complete 2026 Guide - How Model Context Protocol is reshaping how applications talk to LLMs"),pricing:_,visual:j("agent","https://gist.github.com/chengyixu/943943e3aaed0c4cbd06761577a45e15")},{name:y("Building AI Agents with the Vercel AI SDK: Tools, Memory, and Multi-Step Reasoning"),url:"https://gist.github.com/chengyixu/196a911034dc7b9f2ccdb5668b28227e",description:y("Building AI Agents with the Vercel AI SDK: Tools, Memory, and Multi-Step Reasoning"),pricing:_,visual:j("agent","https://gist.github.com/chengyixu/196a911034dc7b9f2ccdb5668b28227e")},{name:y("Using Anthropic's Claude API with Tool Use for Practical Automation"),url:"https://gist.github.com/chengyixu/3d9ed5de440f869b3450ff0f55193f65",description:y("Using Anthropic's Claude API with Tool Use for Practical Automation"),pricing:_,visual:j("agent","https://gist.github.com/chengyixu/3d9ed5de440f869b3450ff0f55193f65")},{name:y("Understanding Node.js Streams: Process Large Data Without Running Out of Memory"),url:"https://gist.github.com/chengyixu/116e301bc71f410a893a88a0345d1c5f",description:y("Understanding Node.js Streams: Process Large Data Without Running Out of Memory"),pricing:_,visual:j("agent","https://gist.github.com/chengyixu/116e301bc71f410a893a88a0345d1c5f")},{name:y("tool-showcase-2026-05-05.html"),url:"https://gist.github.com/chengyixu/866d6fc1cd7ecd65671ab40ffafe6e57",description:y("tool-showcase-2026-05-05.html"),pricing:_,visual:j("agent","https://gist.github.com/chengyixu/866d6fc1cd7ecd65671ab40ffafe6e57")}]},"research/engineering":{items:[{name:y("htmx vs React: When to Use Each -- practical comparison guide with decision matrix, real production examples, and migration strategies"),url:"https://gist.github.com/chengyixu/bddbb1c165ed52a66020dac33519481c",description:y("htmx vs React: When to Use Each -- practical comparison guide with decision matrix, real production examples, and migration strategies"),pricing:_,visual:j("engineering","https://gist.github.com/chengyixu/bddbb1c165ed52a66020dac33519481c")},{name:y("Mastering TypeScript Template Literal Types for API Type Safety — 2,376 words, practical patterns for building bulletproof API layers with template literal types"),url:"https://gist.github.com/chengyixu/5f238fffefc5d67a7dcdfc05d4cadc5a",description:y("Mastering TypeScript Template Literal Types for API Type Safety — 2,376 words, practical patterns for building bulletproof API layers with template literal types"),pricing:_,visual:j("engineering","https://gist.github.com/chengyixu/5f238fffefc5d67a7dcdfc05d4cadc5a")},{name:y("Bun 2 Full-Stack in 2026: From Dev Server to Production — complete guide to building/deploying full-stack TypeScript with Bun 2, no Node.js required"),url:"https://gist.github.com/chengyixu/ffb43ae10df6b2fac3923ea0a2f4f61b",description:y("Bun 2 Full-Stack in 2026: From Dev Server to Production — complete guide to building/deploying full-stack TypeScript with Bun 2, no Node.js required"),pricing:_,visual:j("engineering","https://gist.github.com/chengyixu/ffb43ae10df6b2fac3923ea0a2f4f61b")},{name:y("Event Sourcing in TypeScript: Building Audit Trails with Append-Only Event Stores"),url:"https://gist.github.com/chengyixu/9ee6807ae74b16be6e644fe0f4616fc7",description:y("Event Sourcing in TypeScript: Building Audit Trails with Append-Only Event Stores"),pricing:_,visual:j("engineering","https://gist.github.com/chengyixu/9ee6807ae74b16be6e644fe0f4616fc7")},{name:y("Building CLI Tools in TypeScript: From Script to Product - production CLI patterns with Commander, structured concurrency, config cascade, and npm publishing"),url:"https://gist.github.com/chengyixu/05960eed3fee9aaf0cec17866734ee9f",description:y("Building CLI Tools in TypeScript: From Script to Product - production CLI patterns with Commander, structured concurrency, config cascade, and npm publishing"),pricing:_,visual:j("engineering","https://gist.github.com/chengyixu/05960eed3fee9aaf0cec17866734ee9f")},{name:y("The React 19 Compiler: How Automatic Memoization Changes Everything — complete draft (2,371 words)"),url:"https://gist.github.com/chengyixu/f0c3da101470c8c08dda013fc78bdf14",description:y("The React 19 Compiler: How Automatic Memoization Changes Everything — complete draft (2,371 words)"),pricing:_,visual:j("engineering","https://gist.github.com/chengyixu/f0c3da101470c8c08dda013fc78bdf14")},{name:y("Building CLI Tools in TypeScript: From Script to Product — complete draft (3,642 words)"),url:"https://gist.github.com/chengyixu/0c66d5b06fbac74c9fc5767350c86d8b",description:y("Building CLI Tools in TypeScript: From Script to Product — complete draft (3,642 words)"),pricing:_,visual:j("engineering","https://gist.github.com/chengyixu/0c66d5b06fbac74c9fc5767350c86d8b")},{name:y("Railway-Oriented Programming in TypeScript — beyond try/catch with neverthrow and Effect-TS"),url:"https://gist.github.com/chengyixu/2105b889f96cc727588b310059e4125f",description:y("Railway-Oriented Programming in TypeScript — beyond try/catch with neverthrow and Effect-TS"),pricing:_,visual:j("engineering","https://gist.github.com/chengyixu/2105b889f96cc727588b310059e4125f")},{name:y("PostgreSQL for Frontend Developers: A Practical Guide to Queries, Indexing, and Schema Design"),url:"https://gist.github.com/chengyixu/1952f05c1c70637208a1e06e0a54c792",description:y("PostgreSQL for Frontend Developers: A Practical Guide to Queries, Indexing, and Schema Design"),pricing:_,visual:j("engineering","https://gist.github.com/chengyixu/1952f05c1c70637208a1e06e0a54c792")},{name:y("The React 19 Compiler: How Automatic Memoization Replaces useMemo, useCallback, and React.memo"),url:"https://gist.github.com/chengyixu/3da33e52f0970006077bce221429eb9b",description:y("The React 19 Compiler: How Automatic Memoization Replaces useMemo, useCallback, and React.memo"),pricing:_,visual:j("engineering","https://gist.github.com/chengyixu/3da33e52f0970006077bce221429eb9b")},{name:y("React 19 Compiler: How Automatic Memoization Changes Everything — 2,371 words, complete draft for SitePoint"),url:"https://gist.github.com/chengyixu/8b79349efeb447b30e71a0174c0d5cf0",description:y("React 19 Compiler: How Automatic Memoization Changes Everything — 2,371 words, complete draft for SitePoint"),pricing:_,visual:j("engineering","https://gist.github.com/chengyixu/8b79349efeb447b30e71a0174c0d5cf0")},{name:y("Postgres for Frontend Developers: The Database You Can't Avoid in 2026 — 3,540 words, complete draft for SitePoint"),url:"https://gist.github.com/chengyixu/bd985f6ab6df6663e6540685427222ea",description:y("Postgres for Frontend Developers: The Database You Can't Avoid in 2026 — 3,540 words, complete draft for SitePoint"),pricing:_,visual:j("engineering","https://gist.github.com/chengyixu/bd985f6ab6df6663e6540685427222ea")},{name:y("klik-desktop"),url:"https://github.com/minervacap2022/klik-desktop",description:y("Fully local Klik desktop app for audio, sessions, meeting minutes, projects, and proactive execution."),pricing:_,visual:j("engineering","https://github.com/minervacap2022/klik-desktop")},{name:y("KK_web"),url:"https://github.com/minervacap2022/KK_web",description:y("KLIK web app redesign (standalone React 19 + Vite + Tailwind)"),pricing:_,visual:j("engineering","https://github.com/minervacap2022/KK_web")},{name:y("Klik"),url:"https://github.com/minervacap2022/Klik",description:y("Klik"),pricing:_,visual:j("engineering","https://github.com/minervacap2022/Klik")},{name:y("klik-desktop-releases"),url:"https://github.com/minervacap2022/klik-desktop-releases",description:y("One-click public downloads and release notes for Klik Desktop"),pricing:_,visual:j("engineering","https://github.com/minervacap2022/klik-desktop-releases")},{name:y("Klik_prod_embed"),url:"https://github.com/minervacap2022/Klik_prod_embed",description:y("Production embedded firmware workspace for Klik"),pricing:_,visual:j("engineering","https://github.com/minervacap2022/Klik_prod_embed")},{name:y("embed_hardware_official_new"),url:"https://github.com/minervacap2022/embed_hardware_official_new",description:y("embed_hardware_official_new"),pricing:_,visual:j("engineering","https://github.com/minervacap2022/embed_hardware_official_new")},{name:y("klik-contextmap"),url:"https://github.com/minervacap2022/klik-contextmap",description:y("Live deterministic DDD context-map service for /opt projects (ContextMapper CML, bilingual, realtime SSE)"),pricing:_,visual:j("engineering","https://github.com/minervacap2022/klik-contextmap")},{name:y("klik_3089c_embed_newer"),url:"https://github.com/minervacap2022/klik_3089c_embed_newer",description:y("klik_3089c_embed_newer"),pricing:_,visual:j("engineering","https://github.com/minervacap2022/klik_3089c_embed_newer")},{name:y("klik-monitoring"),url:"https://github.com/minervacap2022/klik-monitoring",description:y("KLIK observability infrastructure — metrics, traces, logs collection/storage/visualisation (Prometheus, Grafana, Tempo, Elasticsearch, OTel Collector, exporters)"),pricing:_,visual:j("engineering","https://github.com/minervacap2022/klik-monitoring")},{name:y("Klikwebsite"),url:"https://github.com/minervacap2022/Klikwebsite",description:y("Klikwebsite"),pricing:_,visual:j("engineering","https://github.com/minervacap2022/Klikwebsite")}]},"research/hardware":{items:[{name:y("ChengyiX/Qwen3.8-27B-DFlash2-4bit-MLX"),url:"https://huggingface.co/ChengyiX/Qwen3.8-27B-DFlash2-4bit-MLX",description:y("Public research artifact."),pricing:_,visual:j("hardware","https://huggingface.co/ChengyiX/Qwen3.8-27B-DFlash2-4bit-MLX")},{name:y("ChengyiX/Qwen3.8-27B-DFlash2-LocalFlash-M4Max"),url:"https://huggingface.co/ChengyiX/Qwen3.8-27B-DFlash2-LocalFlash-M4Max",description:y("Public research artifact."),pricing:_,visual:j("hardware","https://huggingface.co/ChengyiX/Qwen3.8-27B-DFlash2-LocalFlash-M4Max")},{name:y("ChengyiX/Ornith-1.5-35B-A3B-Q4_K_M-LocalMoe-M4Max"),url:"https://huggingface.co/ChengyiX/Ornith-1.5-35B-A3B-Q4_K_M-LocalMoe-M4Max",description:y("Public research artifact."),pricing:_,visual:j("hardware","https://huggingface.co/ChengyiX/Ornith-1.5-35B-A3B-Q4_K_M-LocalMoe-M4Max")},{name:y("ChengyiX/Ornith-1.5-35B-A3B-Q6_K-LocalMoe-M4Max"),url:"https://huggingface.co/ChengyiX/Ornith-1.5-35B-A3B-Q6_K-LocalMoe-M4Max",description:y("Public research artifact."),pricing:_,visual:j("hardware","https://huggingface.co/ChengyiX/Ornith-1.5-35B-A3B-Q6_K-LocalMoe-M4Max")},{name:y("ChengyiX/CLI-Bench"),url:"https://huggingface.co/datasets/ChengyiX/CLI-Bench",description:y("Public research artifact."),pricing:_,visual:j("hardware","https://huggingface.co/datasets/ChengyiX/CLI-Bench")},{name:y("ChengyiX/KLIK-Bench"),url:"https://huggingface.co/datasets/ChengyiX/KLIK-Bench",description:y("Public research artifact."),pricing:_,visual:j("hardware","https://huggingface.co/datasets/ChengyiX/KLIK-Bench")},{name:y("ChengyiX/freetoken-macos-deployment"),url:"https://huggingface.co/datasets/ChengyiX/freetoken-macos-deployment",description:y("Public research artifact."),pricing:_,visual:j("hardware","https://huggingface.co/datasets/ChengyiX/freetoken-macos-deployment")},{name:y("ChengyiX/ornith-256k-bench"),url:"https://huggingface.co/datasets/ChengyiX/ornith-256k-bench",description:y("Public research artifact."),pricing:_,visual:j("hardware","https://huggingface.co/datasets/ChengyiX/ornith-256k-bench")},{name:y("ChengyiX/agent-context-review-cases"),url:"https://huggingface.co/datasets/ChengyiX/agent-context-review-cases",description:y("Public research artifact."),pricing:_,visual:j("hardware","https://huggingface.co/datasets/ChengyiX/agent-context-review-cases")},{name:y("ChengyiX/proactive-execution-context-review-cases"),url:"https://huggingface.co/datasets/ChengyiX/proactive-execution-context-review-cases",description:y("Public research artifact."),pricing:_,visual:j("hardware","https://huggingface.co/datasets/ChengyiX/proactive-execution-context-review-cases")},{name:y("ChengyiX/context-freshness-ledger-cases"),url:"https://huggingface.co/datasets/ChengyiX/context-freshness-ledger-cases",description:y("Public research artifact."),pricing:_,visual:j("hardware","https://huggingface.co/datasets/ChengyiX/context-freshness-ledger-cases")},{name:y("ChengyiX/outcome-receipt-cases"),url:"https://huggingface.co/datasets/ChengyiX/outcome-receipt-cases",description:y("Public research artifact."),pricing:_,visual:j("hardware","https://huggingface.co/datasets/ChengyiX/outcome-receipt-cases")},{name:y("ChengyiX/klik-temporal-memory-paper"),url:"https://huggingface.co/datasets/ChengyiX/klik-temporal-memory-paper",description:y("Public research artifact."),pricing:_,visual:j("hardware","https://huggingface.co/datasets/ChengyiX/klik-temporal-memory-paper")},{name:y("ChengyiX/agent-scope-recovery-cases"),url:"https://huggingface.co/datasets/ChengyiX/agent-scope-recovery-cases",description:y("Public research artifact."),pricing:_,visual:j("hardware","https://huggingface.co/datasets/ChengyiX/agent-scope-recovery-cases")}]},"product/solutions":{items:Pm},"product/standalone":{items:Sm},"product/services":{items:Cm},"product/designs":{items:[{name:y("Nexora archive system"),url:"https://chengyix-nexora.static.hf.space/index.html#/",description:y("Archive-slider composition, WebGL backdrop, mono metadata, and responsive section navigation."),pricing:y("Design systems are scoped by product surface, component inventory, and implementation handoff."),visual:j("designs","https://chengyix-nexora.static.hf.space/index.html#/")}]}};function xd(e,t){return Em[`${e}/${t}`]??null}const jm={id:"activities",title:p("Activities","活动"),path:"/category/reach/activities",navigationTagline:p("Hackathons, competitions, intern program.","黑客松、竞赛与实习计划。"),tagline:p("Hackathons, competitions, intern program.","黑客松、竞赛与实习计划。"),blocks:[{kind:"list",items:[{title:p("Hackathons","黑客松"),detail:p("Find us at hackathons. We bring models, agents, and the eval harness.","欢迎在黑客松相见:我们带来模型、智能体和评测框架。"),href:"mailto:activities@nexora.dev?subject=Hackathon"},{title:p("Competitions","竞赛"),detail:p("Sponsorship + problem design. We co-organize with research groups.","提供赞助与题目设计,并与研究团队共同组织。"),href:"mailto:activities@nexora.dev?subject=Competition"},{title:p("Intern program","实习计划"),meta:p("Summer","夏季"),detail:p("A 12-week paid internship. Real ownership, real research.","12 周带薪实习,承担真实责任,参与真实研究。"),href:"mailto:activities@nexora.dev?subject=Internship"}]}]},_m={id:"clients",title:p("Clients","客户"),path:"/category/reach/clients",navigationTagline:p("Production deployments with SLAs and support.","提供 SLA 与支持的生产部署。"),tagline:p("Production deployments with SLAs and support.","提供 SLA 与支持的生产部署。"),blocks:[{kind:"cards",cards:[{title:p("Pilots","试点"),meta:p("6 weeks","6 周"),detail:p("A scoped pilot against a real problem, with a real customer team.","围绕真实问题,与真实客户团队共同完成范围明确的试点。")},{title:p("Production","生产"),meta:p("On-prem · Cloud · Edge","本地 · 云端 · 边缘"),detail:p("Deployment with SLAs, support, and a shared roadmap.","提供 SLA、支持和共同路线图的部署。")},{title:p("Support","支持"),meta:p("24/7 · Uptime SLAs","全天候 · 可用性 SLA"),detail:p("Production support with a real engineer on call.","由真实工程师值守的生产支持。")}]}]},Tm={id:"join",title:p("Join","加入"),path:"/category/reach/join",navigationTagline:p("Open roles. Researchers, engineers, designers, operators.","开放岗位:研究员、工程师、设计师与运营人员。"),tagline:p("Open roles. Researchers, engineers, designers, operators.","开放岗位:研究员、工程师、设计师与运营人员。"),blocks:[{kind:"list",items:[{title:p("Research engineer","研究工程师"),detail:p("Pre-training / post-training. PyTorch, distributed, evals.","预训练 / 后训练;PyTorch、分布式训练与评测。"),href:"mailto:join@nexora.dev?subject=Research%20engineer"},{title:p("Agent engineer","智能体工程师"),detail:p("Tool-using agents, planning, eval harnesses.","工具型智能体、规划与评测框架。"),href:"mailto:join@nexora.dev?subject=Agent%20engineer"},{title:p("Embedded + FPGA","嵌入式与 FPGA 工程师"),detail:p("Driver + firmware + RTL. Custom silicon.","驱动、固件与 RTL;定制芯片。"),href:"mailto:join@nexora.dev?subject=Embedded%2FFPGA"},{title:p("Designer","设计师"),detail:p("Visual + interaction system. Tokens, components, motion.","视觉与交互系统:令牌、组件与动效。"),href:"mailto:join@nexora.dev?subject=Designer"},{title:p("Operator","运营人员"),detail:p("Ops, finance, partnerships. Long-form thinking.","运营、财务与合作伙伴关系;长期思考。"),href:"mailto:join@nexora.dev?subject=Operator"}]}]},Nm={id:"social",title:p("Social","社交与分发"),path:"/category/reach/social",navigationTagline:p("Public profiles, brand properties, distribution, and community channels.","公开资料、品牌入口、分发与社群渠道。"),tagline:p("Public profiles, brand properties, distribution, and community channels.","公开资料、品牌入口、分发与社群渠道。"),blocks:[{kind:"social_directory"}]},Lm={id:"us",title:p("Us","我们"),path:"/category/reach/us",navigationTagline:p("The people shaping research, products, and operations.","共同塑造研究、产品与运营的成员。"),tagline:p("The people shaping research, products, and operations.","共同塑造研究、产品与运营的成员。"),blocks:[{kind:"team_directory"}]},Rm={id:"reach",index:"04",title:p("Reach","联系"),path:"/category/reach",lede:p("Get in touch. Join, work with us, become a client, or meet us out there.","与我们联系:加入团队、共同合作、成为客户,或在线下活动中相见。"),subs:[Tm,Lm,_m,jm,Nm]},Mm={id:"agent",title:p("Agent","智能体"),path:"/category/research/agent",navigationTagline:p("Tool-using agents. Planning, memory, web + code + OS.","工具型智能体:规划、记忆、网页、代码与操作系统。"),tagline:p("Tool-using agents. Planning, memory, multi-step reasoning, reproducible evals.","工具型智能体:规划、记忆、多步推理与可复现评测。"),blocks:[{kind:"hf_spaces"},{kind:"gists",limit:12,filter:"agent",caption:p("Agent research · gists","智能体研究 · 代码片段")}]},Im={id:"engineering",title:p("Engineering","工程"),path:"/category/research/engineering",navigationTagline:p("From firmware to product. Driver + software + cloud.","从固件到产品:驱动、软件与云端。"),tagline:p("Cross-stack software engineering. From firmware to product, end to end.","跨栈软件工程:从固件到产品的端到端交付。"),blocks:[{kind:"gists",limit:12,filter:"engineering",caption:p("Engineering writing · gists","工程写作 · 代码片段")},{kind:"minervacap",limit:10,caption:p("minervacap2022 · live repos","minervacap2022 · 实时仓库")}]},Am={id:"hardware",title:p("Hardware","硬件"),path:"/category/research/hardware",navigationTagline:p("FPGA, edge accelerators, sensors, custom silicon.","FPGA、边缘加速器、传感器与定制芯片。"),tagline:p("Edge + local deployment. Apple Silicon, MLX, llama.cpp, on-device inference.","边缘与本地部署:Apple Silicon、MLX、llama.cpp 与端侧推理。"),blocks:[{kind:"hf_datasets",caption:p("HF · datasets · local + on-device deployment","HF · 数据集 · 本地与端侧部署")},{kind:"hf_models",caption:p("HF · models · MLX + GGUF local","HF · 模型 · MLX 与 GGUF 本地运行")}]},zm={id:"llm",title:p("LLM","大语言模型"),path:"/category/research/llm",navigationTagline:p("Foundation models. Pre-training, SFT, RLHF, distillation.","基础模型:预训练、监督微调、RLHF 与蒸馏。"),tagline:p("Foundation models and the IP they generate. Pre-training, post-training, distillation, continual learning.","基础模型及其产生的技术资产:预训练、后训练、蒸馏与持续学习。"),blocks:[{kind:"hf_models"},{kind:"hf_datasets"}]},Om={id:"research",index:"01",title:p("Research","研究"),path:"/category/research",lede:p("Where the work starts. Foundation models, agents, embedded + accelerator engineering.","工作从这里开始:基础模型、智能体、嵌入式与加速器工程。"),subs:[zm,Mm,Im,Am]},Fm={id:"milestones",title:p("Milestones","里程碑"),path:"/category/vision/milestones",navigationTagline:p("The markers that brought the work to where it is now.","推动工作走到今天的重要节点。"),tagline:p("The markers that brought the work here.","推动工作走到这里的重要节点。"),blocks:[{kind:"timeline",items:[{when:p("2026 Q3","2026 年第三季度"),title:p("Site goes live","网站上线"),detail:p("First public release of the Nexora site. Web and API independently deployed.","Nexora 网站首次公开发布,Web 与 API 可独立部署。"),tag:p("Release","发布")},{when:p("2026 Q2","2026 年第二季度"),title:p("Independent R&D incorporation","独立研发主体成立"),detail:p("Set up as an independent, long-horizon R&D group. Patient capital. No parent company.","成立独立、长期主义的研发团队:耐心资本,无母公司。"),tag:p("Milestone","里程碑")},{when:p("2026 Q1","2026 年第一季度"),title:p("First open model + agent eval","首个开放模型与智能体评测"),detail:p("Released the first open-weights model and the eval harness that ships with every release.","发布首个开放权重模型,以及随每次发布交付的评测框架。"),tag:p("Research","研究")},{when:p("2025 Q4","2025 年第四季度"),title:p("Cross-stack engineering bench","跨栈工程平台"),detail:p("Brought embedded, FPGA, and product engineering under one roof. First end-to-end hardware-software product.","将嵌入式、FPGA 与产品工程纳入同一体系,完成首个端到端软硬件产品。"),tag:p("Engineering","工程")},{when:p("2025 Q2","2025 年第二季度"),title:p("Founding","起步"),detail:p("The work began as a one-person research notebook. It became a team by the end of the year.","工作始于一份个人研究笔记,并在当年年底发展为团队。"),tag:p("Origin","起源")}]}]},Dm={id:"news",title:p("News","动态"),path:"/category/vision/news",navigationTagline:p("Releases, talks, press, public updates.","发布、演讲、媒体与公开动态。"),tagline:p("Releases, talks, press, public updates.","发布、演讲、媒体与公开动态。"),blocks:[{kind:"timeline",items:[{when:p("2026-08","2026-08"),title:p("Site is live","网站已上线"),detail:p("The first public release of the work is now reachable at the canonical URL.","首个公开版本现已可通过规范地址访问。"),tag:p("News","动态")},{when:p("2026-07","2026-07"),title:p("Talk: agent eval at ScaleConf","演讲:ScaleConf 智能体评测"),detail:p("Talk on reproducible agent benchmarks and what we learned shipping them in production.","分享可复现智能体基准测试,以及将其部署到生产环境后的经验。"),tag:p("Talk","演讲")},{when:p("2026-05","2026-05"),title:p("Open release: nexora-align v0.3","开放发布:nexora-align v0.3"),detail:p("Alignment pipeline with process-reward shaping. Public on GitHub.","采用过程奖励塑形的对齐流水线,已在 GitHub 公开。"),tag:p("Release","发布")},{when:p("2026-02","2026-02"),title:p("Block-diffusion speculative decoding","块扩散推测解码"),detail:p("Patent filed. 2.3× throughput on long-context inference at parity quality.","专利已提交;在同等质量下,长上下文推理吞吐量达到 2.3 倍。"),tag:p("Patent","专利")}]}]},Bm={id:"philosophy",title:p("Philosophy","理念"),path:"/category/vision/philosophy",navigationTagline:p("How we work. Independent, long-term, open.","我们的工作方式:独立、长期、开放。"),tagline:p("How we work. Independent, long-term, open.","我们的工作方式:独立、长期、开放。"),blocks:[{kind:"cards",cards:[{title:p("Independent","独立"),meta:p("No parent company","无母公司"),detail:p("Decisions are made on the work, not on the quarter.","决策以工作本身为准,而非季度指标。")},{title:p("Long-term","长期"),meta:p("Decades, not releases","以十年计,而非按发布周期"),detail:p("Compute, data, and people are long-horizon investments.","算力、数据和人才都是长期投入。")},{title:p("Open by default","默认开放"),meta:p("Open weights · Open source","开放权重 · 开源"),detail:p("Closed only when there is a real reason — and that reason is on the record.","只有在确有理由时才关闭,并且该理由会被记录。")},{title:p("Reproducible","可复现"),meta:p("Builds + evals on every push","每次推送均构建并评测"),detail:p("A passing green that no one can reproduce is not a passing green.","无法复现的通过结果,不是真正的通过。")}]},{kind:"quote",text:p("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:p("Nexora · founding note","Nexora · 创始说明")}]},bm={id:"vision",index:"03",title:p("Vision","愿景"),path:"/category/vision",lede:p("Where the work is going. The long-form thinking behind the roadmap.","工作的去向:路线图背后的长期思考。"),subs:[Fm,Dm,Bm]},va=[Om,fm,bm,Rm];function Um(e,t){const n=va.find(i=>i.id===e);if(!n)return null;const r=n.subs.find(i=>i.id===t);return r?{category:n,sub:r}:null}function Us(){const{lang:e}=K();return c.jsx("div",{className:"slider-container",children:va.map(t=>c.jsxs("div",{className:"column",children:[c.jsx("div",{className:"col-index",children:t.index}),c.jsx("div",{className:"col-content-main",children:c.jsx(Ne,{to:t.path,className:"col-title",style:{textDecoration:"none",color:"inherit"},children:z(t.title,e)})}),c.jsx("div",{className:"col-footer",children:c.jsx("ul",{className:"spec-list",style:{textAlign:"right"},children:t.subs.map(n=>c.jsx("li",{children:c.jsx(Ne,{to:n.path,style:{textDecoration:"none",color:"inherit"},onClick:r=>r.stopPropagation(),children:z(n.title,e)})},n.id))})})]},t.id))})}function $m({visual:e,url:t}){const{lang:n,ui:r}=K();return e.kind==="embed"?c.jsxs("div",{className:"showcase-visual showcase-embed",children:[c.jsx("iframe",{src:e.src,title:z(e.title,n)}),t&&c.jsxs("a",{className:"showcase-visual-fallback",href:t,target:"_blank",rel:"noreferrer",children:["↗ ",r.openObject]})]}):e.kind==="unavailable"?c.jsx("div",{className:"showcase-visual showcase-visual-unavailable",role:"img","aria-label":z(e.message,n)}):c.jsx("div",{className:"showcase-visual",children:c.jsx("img",{src:e.src,alt:z(e.alt,n)})})}function Xm({item:e,panelId:t}){var i;const{lang:n,ui:r}=K();return c.jsxs("div",{className:"showcase-object-panel",id:t,children:[c.jsx($m,{visual:e.visual,url:e.url}),c.jsxs("div",{className:"showcase-object-copy",children:[c.jsx("p",{children:z(e.description,n)}),c.jsxs("div",{className:"showcase-pricing",children:[c.jsx("span",{children:r.pricing}),z(e.pricing,n)]}),(i=e.links)!=null&&i.length?c.jsx("div",{className:"showcase-related-links",children:e.links.map(l=>c.jsxs("a",{href:l.url,target:"_blank",rel:"noreferrer",className:"showcase-related-link",children:["↗ ",z(l.label,n)]},l.url))}):null,e.url&&c.jsxs("a",{href:e.url,target:"_blank",rel:"noreferrer",className:"showcase-url",children:["↗ ",e.url.replace(/^https?:\/\//,"")]})]})]})}function kd({category:e,sub:t,topic:n}){const{lang:r,ui:i}=K(),[l,o]=P.useState(null),a=`${e.id}-${t.id}`;return c.jsx("div",{className:"showcase-object-list",children:n.items.map((s,u)=>{var k;const g=l===u,m=`showcase-object-${a}-${u}`,v=s.url||(k=s.links)!=null&&k.length?"is-publicly-usable":"is-preview-unavailable";return c.jsxs("article",{className:`archive-card-row showcase-object-item ${v} ${g?"is-expanded":""}`,children:[c.jsxs("button",{type:"button",className:"showcase-object-trigger",onClick:()=>o(g?null:u),"aria-expanded":g,"aria-controls":m,children:[c.jsx("span",{className:"showcase-index",children:String(u+1).padStart(2,"0")}),c.jsx("span",{className:"showcase-object-title",children:z(s.name,r)}),c.jsx("span",{className:"showcase-action",children:g?i.collapse:i.expand})]}),g&&c.jsx(Xm,{item:s,panelId:m})]},s.url??`${s.name.en}-${u}`)})})}function Hm({category:e,sub:t,index:n,topic:r}){const{lang:i}=K();return c.jsxs("section",{className:"showcase-subcategory",children:[c.jsxs("header",{className:"showcase-subcategory-header",children:[c.jsx("div",{className:"showcase-index",children:String(n+1).padStart(2,"0")}),c.jsxs("div",{children:[c.jsx("h2",{children:z(t.title,i)}),c.jsx("p",{children:z(t.navigationTagline,i)})]})]}),c.jsx(kd,{category:e,sub:t,topic:r})]})}function Wm({category:e,sub:t,topic:n}){return c.jsx(kd,{category:e,sub:t,topic:n})}function Vm({category:e}){return c.jsx("div",{className:"category-showcase",children:e.subs.map((t,n)=>{const r=xd(e.id,t.id);return r?c.jsx(Hm,{category:e,sub:t,index:n,topic:r},t.id):null})})}function Km(){const{categoryId:e}=dd(),{lang:t,ui:n}=K(),r=va.find(l=>l.id===e);if(P.useEffect(()=>{window.scrollTo(0,0)},[e]),!r)return c.jsxs("div",{className:"content",children:[c.jsx("h1",{children:n.notFound}),c.jsx(Ne,{to:"/",children:n.backHome})]});const i=r.id==="research"||r.id==="product";return c.jsxs("div",{className:"content",children:[c.jsx("div",{className:"col-index",style:{marginBottom:8},children:r.index}),c.jsx("h1",{children:z(r.title,t)}),c.jsx("p",{className:"lede",children:z(r.lede,t)}),!i&&c.jsx("div",{className:"category-section-label",children:n.subPages}),i?c.jsx(Vm,{category:r}):c.jsx("div",{className:"section-grid",children:r.subs.map((l,o)=>c.jsxs(Ne,{to:l.path,className:"section-card",style:{textDecoration:"none",color:"inherit"},children:[c.jsx("div",{className:"index",children:String(o+1).padStart(2,"0")}),c.jsx("h3",{children:z(l.title,t)}),c.jsx("p",{children:z(l.navigationTagline,t)}),c.jsx("div",{className:"tags",children:l.path})]},l.id))}),c.jsx("div",{style:{marginTop:48},children:c.jsxs(Ne,{to:"/",style:{borderBottom:"1px solid currentColor",fontSize:13},children:["← ",n.backHome]})})]})}function Qm({items:e}){const{lang:t}=K();return c.jsx("div",{className:"timeline",style:{margin:"0 0 32px"},children:e.map((n,r)=>c.jsxs("div",{className:"timeline-item",children:[c.jsx("div",{className:"when",children:z(n.when,t)}),c.jsxs("div",{children:[c.jsx("h3",{children:z(n.title,t)}),c.jsx("p",{children:z(n.detail,t)})]}),c.jsx("div",{className:"tag",children:n.tag?z(n.tag,t):""})]},r))})}const Gm={GET:"#2a9d8f",POST:"#e85d04",PUT:"#e9c46a",PATCH:"#f4a261",DELETE:"#e63946"},$s={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 Ym(){const[e,t]=P.useState(null),{lang:n,ui:r}=K();return P.useEffect(()=>{fetch("/api/meta/endpoints").then(i=>i.ok?i.json():null).then(i=>t(i)).catch(()=>t(null))},[]),!e||e.source!=="live"||e.items.length===0?null:c.jsxs("div",{style:{margin:"0 0 32px"},children:[c.jsxs("div",{style:{fontSize:11,textTransform:"uppercase",letterSpacing:"0.04em",opacity:.5,marginBottom:12},children:[r.endpoints," · ",r.live," · ",e.count]}),c.jsx("div",{className:"resource-list",style:{borderTop:"1px solid currentColor"},children:e.items.map((i,l)=>c.jsxs("div",{className:"resource-row",style:{borderBottom:"1px solid rgba(0,0,0,0.2)"},children:[c.jsx("div",{className:"idx",children:String(l+1).padStart(2,"0")}),c.jsxs("div",{className:"name",children:[c.jsx("span",{style:{display:"inline-block",fontSize:10,fontFamily:"var(--font-mono)",padding:"2px 6px",border:"1px solid currentColor",marginRight:10,color:Gm[i.method]??"inherit"},children:i.method}),c.jsx("span",{style:{fontFamily:"var(--font-mono)",fontSize:13},children:i.path}),($s[n][i.path]??i.summary)&&c.jsx("small",{children:$s[n][i.path]??i.summary})]})]},`${i.method}:${i.path}`))})]})}const ya="";async function wa(e){try{const t=await fetch(e);return t.ok?await t.json():null}catch{return null}}const Jm=()=>wa(`${ya}/api/panor/services`),Zm=()=>wa(`${ya}/api/panor/projects`),qm=()=>wa(`${ya}/api/panor/team`);function eg(e,t){const n=Math.ceil(e.length/2);return[{label:t,items:e.slice(0,n)},{label:t,items:e.slice(n)}]}function Sd({item:e}){const{ui:t}=K(),n=e.kind==="service"?t.resourceKindService:e.kind==="project"?t.resourceKindProject:e.kind;return c.jsxs("a",{href:e.id,target:"_blank",rel:"noreferrer",className:"resource-row",style:{textDecoration:"none",color:"inherit"},children:[c.jsx("div",{className:"idx",children:"·"}),c.jsx("div",{className:"name",children:e.title}),c.jsx("div",{className:"meta lang",children:n}),c.jsx("div",{className:"meta",children:"↗"})]})}function tg(){const[e,t]=P.useState(null),{ui:n}=K();if(P.useEffect(()=>{Jm().then(t)},[]),!e||e.source!=="live"||e.items.length===0)return null;const r=eg(e.items,`${n.live} · panor.tech`);return c.jsxs("div",{style:{margin:"0 0 32px"},children:[c.jsxs("div",{style:{fontSize:11,textTransform:"uppercase",letterSpacing:"0.04em",opacity:.5,marginBottom:12},children:[n.services," · ",n.live," · ",e.items.length]}),c.jsx("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:32},children:r.map((i,l)=>c.jsx("div",{children:i.items.map((o,a)=>c.jsx(Sd,{item:o},a))},l))})]})}function ng(){const[e,t]=P.useState(null),{ui:n}=K();return P.useEffect(()=>{Zm().then(t)},[]),!e||e.source!=="live"||e.items.length===0?null:c.jsxs("div",{style:{margin:"0 0 32px"},children:[c.jsxs("div",{style:{fontSize:11,textTransform:"uppercase",letterSpacing:"0.04em",opacity:.5,marginBottom:12},children:[n.projects," · ",n.live," · ",e.items.length]}),c.jsx("div",{className:"resource-list",children:e.items.map((r,i)=>c.jsx(Sd,{item:r},i))})]})}function rg(){const[e,t]=P.useState(null),{ui:n}=K();return P.useEffect(()=>{qm().then(t)},[]),!e||e.length===0?null:c.jsxs("div",{style:{margin:"0 0 32px"},children:[c.jsx("div",{style:{fontSize:11,textTransform:"uppercase",letterSpacing:"0.04em",opacity:.5,marginBottom:12},children:n.team}),c.jsx("div",{className:"resource-list",children:e.map((r,i)=>c.jsxs("div",{className:"resource-row",children:[c.jsx("div",{className:"idx",children:r.avatar??"·"}),c.jsxs("div",{className:"name",children:[r.name,c.jsx("small",{children:r.description})]}),c.jsx("div",{className:"meta",style:{gridColumn:"3 / -1",textAlign:"right"},children:r.title})]},i))})]})}function Xs({link:e}){return e.iconSrc?c.jsx("img",{src:e.iconSrc,alt:"","aria-hidden":"true"}):c.jsx("span",{"aria-hidden":"true",children:"↗"})}function ig({member:e,panelId:t}){const{lang:n}=K();return c.jsxs("div",{className:"team-member-panel",id:t,children:[c.jsx("p",{children:z(e.bio,n)}),c.jsx("div",{className:"team-profile-links",children:e.profileLinks.map(r=>r.kind==="internal"?c.jsx(Ne,{to:r.url,className:"team-profile-link","aria-label":z(r.label,n),children:c.jsx(Xs,{link:r})},r.url):c.jsx("a",{href:r.url,target:"_blank",rel:"noreferrer",className:"team-profile-link","aria-label":z(r.label,n),children:c.jsx(Xs,{link:r})},r.url))})]})}function lg(){const{lang:e,ui:t}=K(),n=Nn(),r=new URLSearchParams(n.search).get("member"),[i,l]=P.useState(r);return c.jsx("div",{className:"team-directory",children:gm.map((o,a)=>{const s=i===o.id,u=`team-member-${o.id}`;return c.jsxs("article",{className:`archive-card-row team-member ${s?"is-expanded":""}`,children:[c.jsxs("button",{type:"button",className:"team-member-trigger",onClick:()=>l(s?null:o.id),"aria-expanded":s,"aria-controls":u,children:[c.jsx("span",{className:"team-member-index",children:String(a+1).padStart(2,"0")}),c.jsx("span",{className:"team-member-name",children:o.name}),c.jsx("span",{className:"team-member-roles",children:z(o.roles,e)}),c.jsx("span",{className:"team-member-action",children:s?t.collapse:t.expand})]}),s&&c.jsx(ig,{member:o,panelId:u})]},o.id)})})}function og(){const{lang:e,ui:t}=K();return c.jsx("div",{className:"social-directory",children:hm.map(n=>c.jsxs("section",{className:"social-group",children:[c.jsx("h2",{children:z(n.title,e)}),c.jsx("div",{className:"social-card-grid",children:n.cards.map(r=>{const l=!!r.url?"social-card--configured":"social-card--pending",o=c.jsxs(c.Fragment,{children:[c.jsx("div",{className:"social-card-name",children:z(r.name,e)}),c.jsx("p",{children:z(r.description,e)}),r.url&&c.jsxs("span",{className:"social-card-url",children:["↗ ",r.url.replace(/^https?:\/\//,"")]})]});return r.url?c.jsx("a",{className:`archive-card-row social-card ${l}`,href:r.url,target:"_blank",rel:"noreferrer","aria-label":`${z(r.name,e)} · ${t.configured} · ${t.openObject}`,children:o},r.url):c.jsx("article",{className:`archive-card-row social-card ${l}`,"aria-label":`${z(r.name,e)} · ${t.notConfigured}`,children:o},r.name.en)})})]},n.title.en))})}async function Pr(e){try{const t=await fetch(e);return t.ok?await t.json():null}catch{return null}}const ag=(e=50)=>Pr(`/api/github/gists?limit=${e}`),sg=(e=20)=>Pr(`/api/github/minervacap?limit=${e}`);async function ug(e="ChengyiX"){const t=await Pr(`/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 cg=(e="ChengyiX")=>Pr(`/api/hf/datasets?author=${encodeURIComponent(e)}`),dg=(e="ChengyiX")=>Pr(`/api/hf/spaces?author=${encodeURIComponent(e)}`),fg={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 pg(e,t){if(e==="all")return t;const n=fg[e];return t.filter(r=>n.test(r.description||"")||n.test(r.files.join(" ")))}function hg(e){return e?e.slice(0,10):""}function mg({limit:e=15,filter:t="all",caption:n}){const[r,i]=P.useState(null),{ui:l}=K();if(P.useEffect(()=>{ag(50).then(i)},[]),!r||r.source!=="live")return null;const o=pg(t,r.gists).slice(0,e);return o.length===0?null:c.jsxs("div",{style:{margin:"0 0 32px"},children:[c.jsx("div",{style:{fontSize:11,textTransform:"uppercase",letterSpacing:"0.04em",opacity:.5,marginBottom:12},children:n??`${l.gists} · ${l.live} · ${o.length}/${r.gists.length}`}),c.jsx("div",{className:"resource-list",children:o.map((a,s)=>{var u;return c.jsxs("a",{href:a.html_url,target:"_blank",rel:"noreferrer",className:"resource-row",style:{textDecoration:"none",color:"inherit"},children:[c.jsx("div",{className:"idx",children:String(s+1).padStart(2,"0")}),c.jsxs("div",{className:"name",children:[((u=a.description)==null?void 0:u.trim())||a.files[0]||a.id,a.files.length>0&&c.jsx("small",{children:a.files.slice(0,3).join(" · ")})]}),c.jsx("div",{className:"meta",style:{gridColumn:"3 / -1",textAlign:"right"},children:hg(a.updated_at)})]},a.id)})})]})}function gg({limit:e=15,caption:t}){const[n,r]=P.useState(null),{ui:i}=K();if(P.useEffect(()=>{sg(50).then(r)},[]),!n||n.length===0)return null;const l=n.slice(0,e);return c.jsxs("div",{style:{margin:"0 0 32px"},children:[c.jsx("div",{style:{fontSize:11,textTransform:"uppercase",letterSpacing:"0.04em",opacity:.5,marginBottom:12},children:t??`minervacap2022 · ${i.live} · ${l.length} ${i.repositories}`}),c.jsx("div",{className:"resource-list",children:l.map((o,a)=>c.jsxs("a",{href:o.html_url,target:"_blank",rel:"noreferrer",className:"resource-row",style:{textDecoration:"none",color:"inherit"},children:[c.jsx("div",{className:"idx",children:String(a+1).padStart(2,"0")}),c.jsxs("div",{className:"name",children:[o.name,o.description&&c.jsx("small",{children:o.description})]}),c.jsx("div",{className:"meta lang",children:o.language??"—"}),c.jsxs("div",{className:"meta",children:["★ ",o.stars]})]},o.name))})]})}function vg({item:e,kind:t}){const{ui:n}=K(),r=t==="model"?`https://huggingface.co/${e.id}`:t==="dataset"?`https://huggingface.co/datasets/${e.id}`:`https://huggingface.co/spaces/${e.id}`;return c.jsxs("a",{href:r,target:"_blank",rel:"noreferrer",className:"resource-row",style:{textDecoration:"none",color:"inherit"},children:[c.jsx("div",{className:"idx",children:"·"}),c.jsxs("div",{className:"name",children:[e.name,e.tags.length>0&&c.jsx("small",{children:e.tags.slice(0,4).join(" · ")})]}),c.jsxs("div",{className:"meta",children:["↓ ",e.downloads," ",n.downloads]}),c.jsxs("div",{className:"meta",children:["♥ ",e.likes," ",n.likes]})]})}function yg({caption:e,data:t,kind:n}){const{ui:r}=K();return!t||t.source!=="live"||t.items.length===0?null:c.jsxs("div",{style:{margin:"0 0 32px"},children:[c.jsxs("div",{style:{fontSize:11,textTransform:"uppercase",letterSpacing:"0.04em",opacity:.5,marginBottom:12},children:[e," · ",r.live," · ",t.count]}),c.jsx("div",{className:"resource-list",children:t.items.map((i,l)=>c.jsx(vg,{item:i,kind:n},l))})]})}function xl({kind:e,caption:t,author:n="ChengyiX"}){const[r,i]=P.useState(null),{ui:l}=K();P.useEffect(()=>{(e==="models"?ug:e==="datasets"?cg:dg)(n).then(i)},[e,n]);const o=e==="models"?l.models:e==="datasets"?l.datasets:l.spaces;return c.jsx(yg,{caption:t??`HF · ${o} · ChengyiX`,data:r,kind:e==="models"?"model":e==="datasets"?"dataset":"space"})}function wg({block:e}){const{lang:t}=K();switch(e.kind){case"paragraph":return null;case"heading":return c.jsx("h2",{style:{fontSize:14,fontWeight:500,textTransform:"uppercase",letterSpacing:"0.06em",margin:"40px 0 16px",opacity:.6},children:z(e.text,t)});case"specs":return c.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)=>c.jsx("li",{style:{borderLeft:"1px solid currentColor",paddingLeft:12,fontSize:13,fontFamily:"var(--font-mono)",opacity:.8},children:z(n,t)},r))});case"cards":return null;case"list":return c.jsx("div",{className:"resource-list",style:{margin:"0 0 32px"},children:e.items.map((n,r)=>c.jsxs("div",{className:"resource-row",style:n.href?{cursor:"pointer"}:void 0,children:[c.jsx("div",{className:"idx",children:String(r+1).padStart(2,"0")}),c.jsx("div",{className:"name",children:n.href?c.jsx("a",{href:n.href,style:{color:"inherit",borderBottom:"1px solid currentColor"},children:z(n.title,t)}):z(n.title,t)}),c.jsx("div",{className:"meta",style:{gridColumn:"3 / -1",textAlign:"left"},children:z(n.detail,t)})]},r))});case"quote":return c.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:[z(e.text,t),e.attribution&&c.jsxs("div",{style:{marginTop:12,fontSize:12,opacity:.5,fontFamily:"var(--font-mono)",textTransform:"uppercase",letterSpacing:"0.04em"},children:["— ",z(e.attribution,t)]})]});case"timeline":return c.jsx(Qm,{items:e.items});case"api":return c.jsx(Ym,{});case"panor_services":return c.jsx(tg,{});case"panor_projects":return c.jsx(ng,{});case"panor_team":return c.jsx(rg,{});case"team_directory":return c.jsx(lg,{});case"social_directory":return c.jsx(og,{});case"gists":return c.jsx(mg,{limit:e.limit??15,filter:e.filter??"all",caption:e.caption?z(e.caption,t):void 0});case"minervacap":return c.jsx(gg,{limit:e.limit??15,caption:e.caption?z(e.caption,t):void 0});case"hf_models":return c.jsx(xl,{kind:"models",caption:e.caption?z(e.caption,t):void 0});case"hf_datasets":return c.jsx(xl,{kind:"datasets",caption:e.caption?z(e.caption,t):void 0});case"hf_spaces":return c.jsx(xl,{kind:"spaces",caption:e.caption?z(e.caption,t):void 0})}}function xg(){const{categoryId:e,subId:t}=dd(),{lang:n,ui:r}=K(),i=e&&t?Um(e,t):null;if(P.useEffect(()=>{window.scrollTo(0,0)},[e,t]),!i)return c.jsxs("div",{className:"content",children:[c.jsx("h1",{children:r.notFound}),c.jsx(Ne,{to:"/",children:r.backHome})]});const{category:l,sub:o}=i,a=xd(l.id,o.id);return c.jsxs("div",{className:"content",children:[c.jsxs("div",{style:{display:"flex",alignItems:"baseline",gap:12,marginBottom:8},children:[c.jsxs("div",{className:"col-index",children:[l.index,".",String(l.subs.findIndex(s=>s.id===t)+1).padStart(2,"0")]}),c.jsxs("div",{style:{fontSize:11,textTransform:"uppercase",letterSpacing:"0.04em",opacity:.5,fontFamily:"var(--font-mono)"},children:[z(l.title,n)," · ",c.jsx(Ne,{to:l.path,style:{color:"inherit",borderBottom:"1px solid currentColor"},children:z(o.title,n)})]})]}),c.jsx("h1",{children:z(o.title,n)}),c.jsx("p",{className:"lede",children:z(o.tagline,n)}),a?c.jsx(Wm,{category:l,sub:o,topic:a}):o.blocks.map((s,u)=>c.jsx(wg,{block:s},u)),c.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:[c.jsxs(Ne,{to:l.path,style:{color:"inherit"},children:["← ",z(l.title,n)]}),c.jsx(Ne,{to:"/",style:{color:"inherit"},children:r.home})]})]})}function kg(){const{ui:e}=K();return c.jsxs("div",{className:"content",children:[c.jsx("div",{className:"col-index",style:{marginBottom:8},children:"A"}),c.jsx("h1",{children:e.admin}),c.jsx("p",{className:"lede",children:e.adminLede}),c.jsxs("div",{style:{border:"1px solid currentColor",padding:32,margin:"32px 0",maxWidth:720},children:[c.jsx("div",{style:{fontSize:11,textTransform:"uppercase",letterSpacing:"0.04em",opacity:.5,marginBottom:12},children:e.notImplemented}),c.jsx("p",{style:{fontSize:14,lineHeight:1.6,opacity:.8},children:e.adminDetail})]}),c.jsx("div",{style:{marginTop:48},children:c.jsxs(Ne,{to:"/",style:{borderBottom:"1px solid currentColor",fontSize:13},children:["← ",e.backHome]})})]})}function Sg(){return c.jsx(nm,{children:c.jsxs("div",{style:{position:"relative",minHeight:"100vh",overflow:"hidden"},children:[c.jsx(am,{}),c.jsxs("div",{className:"ui-layer",children:[c.jsx(rm,{}),c.jsxs(Hh,{children:[c.jsx(qt,{path:"/",element:c.jsx(Us,{})}),c.jsx(qt,{path:"/category/:categoryId",element:c.jsx(Km,{})}),c.jsx(qt,{path:"/category/:categoryId/:subId",element:c.jsx(xg,{})}),c.jsx(qt,{path:"/admin",element:c.jsx(kg,{})}),c.jsx(qt,{path:"*",element:c.jsx(Us,{})})]})]})]})})}const Cg=Jh;kl.createRoot(document.getElementById("root")).render(c.jsx(eu.StrictMode,{children:c.jsx(Cg,{children:c.jsx(Sg,{})})}));