beyond-simulator-web 0.5.1 → 0.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,14 +1,35 @@
1
- var tg=Object.create;var Kr=Object.defineProperty;var eg=Object.getOwnPropertyDescriptor;var ag=Object.getOwnPropertyNames;var lg=Object.getPrototypeOf,ng=Object.prototype.hasOwnProperty;var pa=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var ig=(t,e,a,l)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of ag(e))!ng.call(t,i)&&i!==a&&Kr(t,i,{get:()=>e[i],enumerable:!(l=eg(e,i))||l.enumerable});return t};var $r=(t,e,a)=>(a=t!=null?tg(lg(t)):{},ig(e||!t||!t.__esModule?Kr(a,"default",{value:t,enumerable:!0}):a,t));var df=pa(Z=>{"use strict";var Go=Symbol.for("react.transitional.element"),sg=Symbol.for("react.portal"),rg=Symbol.for("react.fragment"),fg=Symbol.for("react.strict_mode"),dg=Symbol.for("react.profiler"),pg=Symbol.for("react.consumer"),mg=Symbol.for("react.context"),hg=Symbol.for("react.forward_ref"),gg=Symbol.for("react.suspense"),vg=Symbol.for("react.memo"),uf=Symbol.for("react.lazy"),tf=Symbol.iterator;function yg(t){return t===null||typeof t!="object"?null:(t=tf&&t[tf]||t["@@iterator"],typeof t=="function"?t:null)}var of={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},cf=Object.assign,sf={};function gl(t,e,a){this.props=t,this.context=e,this.refs=sf,this.updater=a||of}gl.prototype.isReactComponent={};gl.prototype.setState=function(t,e){if(typeof t!="object"&&typeof t!="function"&&t!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")};gl.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function rf(){}rf.prototype=gl.prototype;function Bo(t,e,a){this.props=t,this.context=e,this.refs=sf,this.updater=a||of}var Yo=Bo.prototype=new rf;Yo.constructor=Bo;cf(Yo,gl.prototype);Yo.isPureReactComponent=!0;var ef=Array.isArray,pt={H:null,A:null,T:null,S:null,V:null},ff=Object.prototype.hasOwnProperty;function Xo(t,e,a,l,i,n){return a=n.ref,{$$typeof:Go,type:t,key:e,ref:a!==void 0?a:null,props:n}}function xg(t,e){return Xo(t.type,e,void 0,void 0,void 0,t.props)}function jo(t){return typeof t=="object"&&t!==null&&t.$$typeof===Go}function bg(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(a){return e[a]})}var af=/\/+/g;function Ho(t,e){return typeof t=="object"&&t!==null&&t.key!=null?bg(""+t.key):e.toString(36)}function lf(){}function Sg(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status=="string"?t.then(lf,lf):(t.status="pending",t.then(function(e){t.status==="pending"&&(t.status="fulfilled",t.value=e)},function(e){t.status==="pending"&&(t.status="rejected",t.reason=e)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t}function hl(t,e,a,l,i){var n=typeof t;(n==="undefined"||n==="boolean")&&(t=null);var u=!1;if(t===null)u=!0;else switch(n){case"bigint":case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case Go:case sg:u=!0;break;case uf:return u=t._init,hl(u(t._payload),e,a,l,i)}}if(u)return i=i(t),u=l===""?"."+Ho(t,0):l,ef(i)?(a="",u!=null&&(a=u.replace(af,"$&/")+"/"),hl(i,e,a,"",function(r){return r})):i!=null&&(jo(i)&&(i=xg(i,a+(i.key==null||t&&t.key===i.key?"":(""+i.key).replace(af,"$&/")+"/")+u)),e.push(i)),1;u=0;var c=l===""?".":l+":";if(ef(t))for(var s=0;s<t.length;s++)l=t[s],n=c+Ho(l,s),u+=hl(l,e,a,n,i);else if(s=yg(t),typeof s=="function")for(t=s.call(t),s=0;!(l=t.next()).done;)l=l.value,n=c+Ho(l,s++),u+=hl(l,e,a,n,i);else if(n==="object"){if(typeof t.then=="function")return hl(Sg(t),e,a,l,i);throw e=String(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.")}return u}function Ri(t,e,a){if(t==null)return t;var l=[],i=0;return hl(t,l,"","",function(n){return e.call(a,n,i++)}),l}function qg(t){if(t._status===-1){var e=t._result;e=e(),e.then(function(a){(t._status===0||t._status===-1)&&(t._status=1,t._result=a)},function(a){(t._status===0||t._status===-1)&&(t._status=2,t._result=a)}),t._status===-1&&(t._status=0,t._result=e)}if(t._status===1)return t._result.default;throw t._result}var nf=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)};function Ag(){}Z.Children={map:Ri,forEach:function(t,e,a){Ri(t,function(){e.apply(this,arguments)},a)},count:function(t){var e=0;return Ri(t,function(){e++}),e},toArray:function(t){return Ri(t,function(e){return e})||[]},only:function(t){if(!jo(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};Z.Component=gl;Z.Fragment=rg;Z.Profiler=dg;Z.PureComponent=Bo;Z.StrictMode=fg;Z.Suspense=gg;Z.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=pt;Z.__COMPILER_RUNTIME={__proto__:null,c:function(t){return pt.H.useMemoCache(t)}};Z.cache=function(t){return function(){return t.apply(null,arguments)}};Z.cloneElement=function(t,e,a){if(t==null)throw Error("The argument must be a React element, but you passed "+t+".");var l=cf({},t.props),i=t.key,n=void 0;if(e!=null)for(u in e.ref!==void 0&&(n=void 0),e.key!==void 0&&(i=""+e.key),e)!ff.call(e,u)||u==="key"||u==="__self"||u==="__source"||u==="ref"&&e.ref===void 0||(l[u]=e[u]);var u=arguments.length-2;if(u===1)l.children=a;else if(1<u){for(var c=Array(u),s=0;s<u;s++)c[s]=arguments[s+2];l.children=c}return Xo(t.type,i,void 0,void 0,n,l)};Z.createContext=function(t){return t={$$typeof:mg,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider=t,t.Consumer={$$typeof:pg,_context:t},t};Z.createElement=function(t,e,a){var l,i={},n=null;if(e!=null)for(l in e.key!==void 0&&(n=""+e.key),e)ff.call(e,l)&&l!=="key"&&l!=="__self"&&l!=="__source"&&(i[l]=e[l]);var u=arguments.length-2;if(u===1)i.children=a;else if(1<u){for(var c=Array(u),s=0;s<u;s++)c[s]=arguments[s+2];i.children=c}if(t&&t.defaultProps)for(l in u=t.defaultProps,u)i[l]===void 0&&(i[l]=u[l]);return Xo(t,n,void 0,void 0,null,i)};Z.createRef=function(){return{current:null}};Z.forwardRef=function(t){return{$$typeof:hg,render:t}};Z.isValidElement=jo;Z.lazy=function(t){return{$$typeof:uf,_payload:{_status:-1,_result:t},_init:qg}};Z.memo=function(t,e){return{$$typeof:vg,type:t,compare:e===void 0?null:e}};Z.startTransition=function(t){var e=pt.T,a={};pt.T=a;try{var l=t(),i=pt.S;i!==null&&i(a,l),typeof l=="object"&&l!==null&&typeof l.then=="function"&&l.then(Ag,nf)}catch(n){nf(n)}finally{pt.T=e}};Z.unstable_useCacheRefresh=function(){return pt.H.useCacheRefresh()};Z.use=function(t){return pt.H.use(t)};Z.useActionState=function(t,e,a){return pt.H.useActionState(t,e,a)};Z.useCallback=function(t,e){return pt.H.useCallback(t,e)};Z.useContext=function(t){return pt.H.useContext(t)};Z.useDebugValue=function(){};Z.useDeferredValue=function(t,e){return pt.H.useDeferredValue(t,e)};Z.useEffect=function(t,e,a){var l=pt.H;if(typeof a=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return l.useEffect(t,e)};Z.useId=function(){return pt.H.useId()};Z.useImperativeHandle=function(t,e,a){return pt.H.useImperativeHandle(t,e,a)};Z.useInsertionEffect=function(t,e){return pt.H.useInsertionEffect(t,e)};Z.useLayoutEffect=function(t,e){return pt.H.useLayoutEffect(t,e)};Z.useMemo=function(t,e){return pt.H.useMemo(t,e)};Z.useOptimistic=function(t,e){return pt.H.useOptimistic(t,e)};Z.useReducer=function(t,e,a){return pt.H.useReducer(t,e,a)};Z.useRef=function(t){return pt.H.useRef(t)};Z.useState=function(t){return pt.H.useState(t)};Z.useSyncExternalStore=function(t,e,a){return pt.H.useSyncExternalStore(t,e,a)};Z.useTransition=function(){return pt.H.useTransition()};Z.version="19.1.1"});var Li=pa((Ex,pf)=>{"use strict";pf.exports=df()});var Af=pa(mt=>{"use strict";function Ko(t,e){var a=t.length;t.push(e);t:for(;0<a;){var l=a-1>>>1,i=t[l];if(0<ki(i,e))t[l]=e,t[a]=i,a=l;else break t}}function Me(t){return t.length===0?null:t[0]}function Gi(t){if(t.length===0)return null;var e=t[0],a=t.pop();if(a!==e){t[0]=a;t:for(var l=0,i=t.length,n=i>>>1;l<n;){var u=2*(l+1)-1,c=t[u],s=u+1,r=t[s];if(0>ki(c,a))s<i&&0>ki(r,c)?(t[l]=r,t[s]=a,l=s):(t[l]=c,t[u]=a,l=u);else if(s<i&&0>ki(r,a))t[l]=r,t[s]=a,l=s;else break t}}return e}function ki(t,e){var a=t.sortIndex-e.sortIndex;return a!==0?a:t.id-e.id}mt.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(mf=performance,mt.unstable_now=function(){return mf.now()}):(Qo=Date,hf=Qo.now(),mt.unstable_now=function(){return Qo.now()-hf});var mf,Qo,hf,Ze=[],ma=[],Ng=1,me=null,Xt=3,$o=!1,pn=!1,mn=!1,Jo=!1,yf=typeof setTimeout=="function"?setTimeout:null,xf=typeof clearTimeout=="function"?clearTimeout:null,gf=typeof setImmediate<"u"?setImmediate:null;function Hi(t){for(var e=Me(ma);e!==null;){if(e.callback===null)Gi(ma);else if(e.startTime<=t)Gi(ma),e.sortIndex=e.expirationTime,Ko(Ze,e);else break;e=Me(ma)}}function Io(t){if(mn=!1,Hi(t),!pn)if(Me(Ze)!==null)pn=!0,yl||(yl=!0,vl());else{var e=Me(ma);e!==null&&Fo(Io,e.startTime-t)}}var yl=!1,hn=-1,bf=5,Sf=-1;function qf(){return Jo?!0:!(mt.unstable_now()-Sf<bf)}function Vo(){if(Jo=!1,yl){var t=mt.unstable_now();Sf=t;var e=!0;try{t:{pn=!1,mn&&(mn=!1,xf(hn),hn=-1),$o=!0;var a=Xt;try{e:{for(Hi(t),me=Me(Ze);me!==null&&!(me.expirationTime>t&&qf());){var l=me.callback;if(typeof l=="function"){me.callback=null,Xt=me.priorityLevel;var i=l(me.expirationTime<=t);if(t=mt.unstable_now(),typeof i=="function"){me.callback=i,Hi(t),e=!0;break e}me===Me(Ze)&&Gi(Ze),Hi(t)}else Gi(Ze);me=Me(Ze)}if(me!==null)e=!0;else{var n=Me(ma);n!==null&&Fo(Io,n.startTime-t),e=!1}}break t}finally{me=null,Xt=a,$o=!1}e=void 0}}finally{e?vl():yl=!1}}}var vl;typeof gf=="function"?vl=function(){gf(Vo)}:typeof MessageChannel<"u"?(Zo=new MessageChannel,vf=Zo.port2,Zo.port1.onmessage=Vo,vl=function(){vf.postMessage(null)}):vl=function(){yf(Vo,0)};var Zo,vf;function Fo(t,e){hn=yf(function(){t(mt.unstable_now())},e)}mt.unstable_IdlePriority=5;mt.unstable_ImmediatePriority=1;mt.unstable_LowPriority=4;mt.unstable_NormalPriority=3;mt.unstable_Profiling=null;mt.unstable_UserBlockingPriority=2;mt.unstable_cancelCallback=function(t){t.callback=null};mt.unstable_forceFrameRate=function(t){0>t||125<t?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):bf=0<t?Math.floor(1e3/t):5};mt.unstable_getCurrentPriorityLevel=function(){return Xt};mt.unstable_next=function(t){switch(Xt){case 1:case 2:case 3:var e=3;break;default:e=Xt}var a=Xt;Xt=e;try{return t()}finally{Xt=a}};mt.unstable_requestPaint=function(){Jo=!0};mt.unstable_runWithPriority=function(t,e){switch(t){case 1:case 2:case 3:case 4:case 5:break;default:t=3}var a=Xt;Xt=t;try{return e()}finally{Xt=a}};mt.unstable_scheduleCallback=function(t,e,a){var l=mt.unstable_now();switch(typeof a=="object"&&a!==null?(a=a.delay,a=typeof a=="number"&&0<a?l+a:l):a=l,t){case 1:var i=-1;break;case 2:i=250;break;case 5:i=1073741823;break;case 4:i=1e4;break;default:i=5e3}return i=a+i,t={id:Ng++,callback:e,priorityLevel:t,startTime:a,expirationTime:i,sortIndex:-1},a>l?(t.sortIndex=a,Ko(ma,t),Me(Ze)===null&&t===Me(ma)&&(mn?(xf(hn),hn=-1):mn=!0,Fo(Io,a-l))):(t.sortIndex=i,Ko(Ze,t),pn||$o||(pn=!0,yl||(yl=!0,vl()))),t};mt.unstable_shouldYield=qf;mt.unstable_wrapCallback=function(t){var e=Xt;return function(){var a=Xt;Xt=e;try{return t.apply(this,arguments)}finally{Xt=a}}}});var Ef=pa((Tx,Nf)=>{"use strict";Nf.exports=Af()});var Tf=pa(Kt=>{"use strict";var Eg=Li();function wf(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)e+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function ha(){}var Zt={d:{f:ha,r:function(){throw Error(wf(522))},D:ha,C:ha,L:ha,m:ha,X:ha,S:ha,M:ha},p:0,findDOMNode:null},wg=Symbol.for("react.portal");function Tg(t,e,a){var l=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:wg,key:l==null?null:""+l,children:t,containerInfo:e,implementation:a}}var gn=Eg.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function Bi(t,e){if(t==="font")return"";if(typeof e=="string")return e==="use-credentials"?e:""}Kt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Zt;Kt.createPortal=function(t,e){var a=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)throw Error(wf(299));return Tg(t,e,null,a)};Kt.flushSync=function(t){var e=gn.T,a=Zt.p;try{if(gn.T=null,Zt.p=2,t)return t()}finally{gn.T=e,Zt.p=a,Zt.d.f()}};Kt.preconnect=function(t,e){typeof t=="string"&&(e?(e=e.crossOrigin,e=typeof e=="string"?e==="use-credentials"?e:"":void 0):e=null,Zt.d.C(t,e))};Kt.prefetchDNS=function(t){typeof t=="string"&&Zt.d.D(t)};Kt.preinit=function(t,e){if(typeof t=="string"&&e&&typeof e.as=="string"){var a=e.as,l=Bi(a,e.crossOrigin),i=typeof e.integrity=="string"?e.integrity:void 0,n=typeof e.fetchPriority=="string"?e.fetchPriority:void 0;a==="style"?Zt.d.S(t,typeof e.precedence=="string"?e.precedence:void 0,{crossOrigin:l,integrity:i,fetchPriority:n}):a==="script"&&Zt.d.X(t,{crossOrigin:l,integrity:i,fetchPriority:n,nonce:typeof e.nonce=="string"?e.nonce:void 0})}};Kt.preinitModule=function(t,e){if(typeof t=="string")if(typeof e=="object"&&e!==null){if(e.as==null||e.as==="script"){var a=Bi(e.as,e.crossOrigin);Zt.d.M(t,{crossOrigin:a,integrity:typeof e.integrity=="string"?e.integrity:void 0,nonce:typeof e.nonce=="string"?e.nonce:void 0})}}else e==null&&Zt.d.M(t)};Kt.preload=function(t,e){if(typeof t=="string"&&typeof e=="object"&&e!==null&&typeof e.as=="string"){var a=e.as,l=Bi(a,e.crossOrigin);Zt.d.L(t,a,{crossOrigin:l,integrity:typeof e.integrity=="string"?e.integrity:void 0,nonce:typeof e.nonce=="string"?e.nonce:void 0,type:typeof e.type=="string"?e.type:void 0,fetchPriority:typeof e.fetchPriority=="string"?e.fetchPriority:void 0,referrerPolicy:typeof e.referrerPolicy=="string"?e.referrerPolicy:void 0,imageSrcSet:typeof e.imageSrcSet=="string"?e.imageSrcSet:void 0,imageSizes:typeof e.imageSizes=="string"?e.imageSizes:void 0,media:typeof e.media=="string"?e.media:void 0})}};Kt.preloadModule=function(t,e){if(typeof t=="string")if(e){var a=Bi(e.as,e.crossOrigin);Zt.d.m(t,{as:typeof e.as=="string"&&e.as!=="script"?e.as:void 0,crossOrigin:a,integrity:typeof e.integrity=="string"?e.integrity:void 0})}else Zt.d.m(t)};Kt.requestFormReset=function(t){Zt.d.r(t)};Kt.unstable_batchedUpdates=function(t,e){return t(e)};Kt.useFormState=function(t,e,a){return gn.H.useFormState(t,e,a)};Kt.useFormStatus=function(){return gn.H.useHostTransitionStatus()};Kt.version="19.1.1"});var zf=pa((Mx,Mf)=>{"use strict";function Cf(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Cf)}catch(t){console.error(t)}}Cf(),Mf.exports=Tf()});var U0=pa(co=>{"use strict";var Ot=Ef(),Wd=Li(),Cg=zf();function w(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)e+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function Pd(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function li(t){var e=t,a=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(a=e.return),t=e.return;while(t)}return e.tag===3?a:null}function tp(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function Of(t){if(li(t)!==t)throw Error(w(188))}function Mg(t){var e=t.alternate;if(!e){if(e=li(t),e===null)throw Error(w(188));return e!==t?null:t}for(var a=t,l=e;;){var i=a.return;if(i===null)break;var n=i.alternate;if(n===null){if(l=i.return,l!==null){a=l;continue}break}if(i.child===n.child){for(n=i.child;n;){if(n===a)return Of(i),t;if(n===l)return Of(i),e;n=n.sibling}throw Error(w(188))}if(a.return!==l.return)a=i,l=n;else{for(var u=!1,c=i.child;c;){if(c===a){u=!0,a=i,l=n;break}if(c===l){u=!0,l=i,a=n;break}c=c.sibling}if(!u){for(c=n.child;c;){if(c===a){u=!0,a=n,l=i;break}if(c===l){u=!0,l=n,a=i;break}c=c.sibling}if(!u)throw Error(w(189))}}if(a.alternate!==l)throw Error(w(190))}if(a.tag!==3)throw Error(w(188));return a.stateNode.current===a?t:e}function ep(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=ep(t),e!==null)return e;t=t.sibling}return null}var ft=Object.assign,zg=Symbol.for("react.element"),Yi=Symbol.for("react.transitional.element"),En=Symbol.for("react.portal"),El=Symbol.for("react.fragment"),ap=Symbol.for("react.strict_mode"),Mc=Symbol.for("react.profiler"),Og=Symbol.for("react.provider"),lp=Symbol.for("react.consumer"),Fe=Symbol.for("react.context"),Ns=Symbol.for("react.forward_ref"),zc=Symbol.for("react.suspense"),Oc=Symbol.for("react.suspense_list"),Es=Symbol.for("react.memo"),ya=Symbol.for("react.lazy");Symbol.for("react.scope");var Uc=Symbol.for("react.activity");Symbol.for("react.legacy_hidden");Symbol.for("react.tracing_marker");var Ug=Symbol.for("react.memo_cache_sentinel");Symbol.for("react.view_transition");var Uf=Symbol.iterator;function vn(t){return t===null||typeof t!="object"?null:(t=Uf&&t[Uf]||t["@@iterator"],typeof t=="function"?t:null)}var Dg=Symbol.for("react.client.reference");function Dc(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===Dg?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case El:return"Fragment";case Mc:return"Profiler";case ap:return"StrictMode";case zc:return"Suspense";case Oc:return"SuspenseList";case Uc:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case En:return"Portal";case Fe:return(t.displayName||"Context")+".Provider";case lp:return(t._context.displayName||"Context")+".Consumer";case Ns:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case Es:return e=t.displayName||null,e!==null?e:Dc(t.type)||"Memo";case ya:e=t._payload,t=t._init;try{return Dc(t(e))}catch{}}return null}var wn=Array.isArray,j=Wd.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,at=Cg.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,$a={pending:!1,data:null,method:null,action:null},_c=[],wl=-1;function Le(t){return{current:t}}function Lt(t){0>wl||(t.current=_c[wl],_c[wl]=null,wl--)}function gt(t,e){wl++,_c[wl]=t.current,t.current=e}var De=Le(null),jn=Le(null),Ca=Le(null),vu=Le(null);function yu(t,e){switch(gt(Ca,e),gt(jn,t),gt(De,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?Hd(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=Hd(e),t=b0(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}Lt(De),gt(De,t)}function Vl(){Lt(De),Lt(jn),Lt(Ca)}function Rc(t){t.memoizedState!==null&&gt(vu,t);var e=De.current,a=b0(e,t.type);e!==a&&(gt(jn,t),gt(De,a))}function xu(t){jn.current===t&&(Lt(De),Lt(jn)),vu.current===t&&(Lt(vu),Pn._currentValue=$a)}var Lc=Object.prototype.hasOwnProperty,ws=Ot.unstable_scheduleCallback,Wo=Ot.unstable_cancelCallback,_g=Ot.unstable_shouldYield,Rg=Ot.unstable_requestPaint,_e=Ot.unstable_now,Lg=Ot.unstable_getCurrentPriorityLevel,np=Ot.unstable_ImmediatePriority,ip=Ot.unstable_UserBlockingPriority,bu=Ot.unstable_NormalPriority,kg=Ot.unstable_LowPriority,up=Ot.unstable_IdlePriority,Hg=Ot.log,Gg=Ot.unstable_setDisableYieldValue,ni=null,oe=null;function Na(t){if(typeof Hg=="function"&&Gg(t),oe&&typeof oe.setStrictMode=="function")try{oe.setStrictMode(ni,t)}catch{}}var ce=Math.clz32?Math.clz32:Xg,Bg=Math.log,Yg=Math.LN2;function Xg(t){return t>>>=0,t===0?32:31-(Bg(t)/Yg|0)|0}var Xi=256,ji=4194304;function Va(t){var e=t&42;if(e!==0)return e;switch(t&-t){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:return 64;case 128:return 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 t&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function Ku(t,e,a){var l=t.pendingLanes;if(l===0)return 0;var i=0,n=t.suspendedLanes,u=t.pingedLanes;t=t.warmLanes;var c=l&134217727;return c!==0?(l=c&~n,l!==0?i=Va(l):(u&=c,u!==0?i=Va(u):a||(a=c&~t,a!==0&&(i=Va(a))))):(c=l&~n,c!==0?i=Va(c):u!==0?i=Va(u):a||(a=l&~t,a!==0&&(i=Va(a)))),i===0?0:e!==0&&e!==i&&(e&n)===0&&(n=i&-i,a=e&-e,n>=a||n===32&&(a&4194048)!==0)?e:i}function ii(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function jg(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+250;case 16:case 32: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+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function op(){var t=Xi;return Xi<<=1,(Xi&4194048)===0&&(Xi=256),t}function cp(){var t=ji;return ji<<=1,(ji&62914560)===0&&(ji=4194304),t}function Po(t){for(var e=[],a=0;31>a;a++)e.push(t);return e}function ui(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function Qg(t,e,a,l,i,n){var u=t.pendingLanes;t.pendingLanes=a,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=a,t.entangledLanes&=a,t.errorRecoveryDisabledLanes&=a,t.shellSuspendCounter=0;var c=t.entanglements,s=t.expirationTimes,r=t.hiddenUpdates;for(a=u&~a;0<a;){var y=31-ce(a),b=1<<y;c[y]=0,s[y]=-1;var h=r[y];if(h!==null)for(r[y]=null,y=0;y<h.length;y++){var v=h[y];v!==null&&(v.lane&=-536870913)}a&=~b}l!==0&&sp(t,l,0),n!==0&&i===0&&t.tag!==0&&(t.suspendedLanes|=n&~(u&~e))}function sp(t,e,a){t.pendingLanes|=e,t.suspendedLanes&=~e;var l=31-ce(e);t.entangledLanes|=e,t.entanglements[l]=t.entanglements[l]|1073741824|a&4194090}function rp(t,e){var a=t.entangledLanes|=e;for(t=t.entanglements;a;){var l=31-ce(a),i=1<<l;i&e|t[l]&e&&(t[l]|=e),a&=~i}}function Ts(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=16;break;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:case 4194304:case 8388608:case 16777216:case 33554432:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function Cs(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function fp(){var t=at.p;return t!==0?t:(t=window.event,t===void 0?32:z0(t.type))}function Vg(t,e){var a=at.p;try{return at.p=t,e()}finally{at.p=a}}var Ga=Math.random().toString(36).slice(2),jt="__reactFiber$"+Ga,Pt="__reactProps$"+Ga,an="__reactContainer$"+Ga,kc="__reactEvents$"+Ga,Zg="__reactListeners$"+Ga,Kg="__reactHandles$"+Ga,Df="__reactResources$"+Ga,oi="__reactMarker$"+Ga;function Ms(t){delete t[jt],delete t[Pt],delete t[kc],delete t[Zg],delete t[Kg]}function Tl(t){var e=t[jt];if(e)return e;for(var a=t.parentNode;a;){if(e=a[an]||a[jt]){if(a=e.alternate,e.child!==null||a!==null&&a.child!==null)for(t=Yd(t);t!==null;){if(a=t[jt])return a;t=Yd(t)}return e}t=a,a=t.parentNode}return null}function ln(t){if(t=t[jt]||t[an]){var e=t.tag;if(e===5||e===6||e===13||e===26||e===27||e===3)return t}return null}function Tn(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(w(33))}function kl(t){var e=t[Df];return e||(e=t[Df]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function _t(t){t[oi]=!0}var dp=new Set,pp={};function il(t,e){Zl(t,e),Zl(t+"Capture",e)}function Zl(t,e){for(pp[t]=e,t=0;t<e.length;t++)dp.add(e[t])}var $g=RegExp("^[: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]*$"),_f={},Rf={};function Jg(t){return Lc.call(Rf,t)?!0:Lc.call(_f,t)?!1:$g.test(t)?Rf[t]=!0:(_f[t]=!0,!1)}function nu(t,e,a){if(Jg(e))if(a===null)t.removeAttribute(e);else{switch(typeof a){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var l=e.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+a)}}function Qi(t,e,a){if(a===null)t.removeAttribute(e);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+a)}}function Ke(t,e,a,l){if(l===null)t.removeAttribute(a);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(a);return}t.setAttributeNS(e,a,""+l)}}var tc,Lf;function ql(t){if(tc===void 0)try{throw Error()}catch(a){var e=a.stack.trim().match(/\n( *(at )?)/);tc=e&&e[1]||"",Lf=-1<a.stack.indexOf(`
1
+ var wm=Object.create;var od=Object.defineProperty;var Sm=Object.getOwnPropertyDescriptor;var Em=Object.getOwnPropertyNames;var qm=Object.getPrototypeOf,Am=Object.prototype.hasOwnProperty;var pa=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Nm=(e,t,a,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let l of Em(t))!Am.call(e,l)&&l!==a&&od(e,l,{get:()=>t[l],enumerable:!(i=Sm(t,l))||i.enumerable});return e};var cd=(e,t,a)=>(a=e!=null?wm(qm(e)):{},Nm(t||!e||!e.__esModule?od(a,"default",{value:e,enumerable:!0}):a,e));var qd=pa($=>{"use strict";var Ic=Symbol.for("react.transitional.element"),Om=Symbol.for("react.portal"),zm=Symbol.for("react.fragment"),Dm=Symbol.for("react.strict_mode"),Um=Symbol.for("react.profiler"),_m=Symbol.for("react.consumer"),km=Symbol.for("react.context"),Lm=Symbol.for("react.forward_ref"),Rm=Symbol.for("react.suspense"),Bm=Symbol.for("react.memo"),vd=Symbol.for("react.lazy"),bd=Symbol.iterator;function Hm(e){return e===null||typeof e!="object"?null:(e=bd&&e[bd]||e["@@iterator"],typeof e=="function"?e:null)}var yd={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},xd=Object.assign,wd={};function vi(e,t,a){this.props=e,this.context=t,this.refs=wd,this.updater=a||yd}vi.prototype.isReactComponent={};vi.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("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")};vi.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Sd(){}Sd.prototype=vi.prototype;function Jc(e,t,a){this.props=e,this.context=t,this.refs=wd,this.updater=a||yd}var Fc=Jc.prototype=new Sd;Fc.constructor=Jc;xd(Fc,vi.prototype);Fc.isPureReactComponent=!0;var md=Array.isArray,he={H:null,A:null,T:null,S:null,V:null},Ed=Object.prototype.hasOwnProperty;function Wc(e,t,a,i,l,n){return a=n.ref,{$$typeof:Ic,type:e,key:t,ref:a!==void 0?a:null,props:n}}function Gm(e,t){return Wc(e.type,t,void 0,void 0,void 0,e.props)}function Pc(e){return typeof e=="object"&&e!==null&&e.$$typeof===Ic}function Ym(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(a){return t[a]})}var pd=/\/+/g;function Kc(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Ym(""+e.key):t.toString(36)}function hd(){}function Xm(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(hd,hd):(e.status="pending",e.then(function(t){e.status==="pending"&&(e.status="fulfilled",e.value=t)},function(t){e.status==="pending"&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function gi(e,t,a,i,l){var n=typeof e;(n==="undefined"||n==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(n){case"bigint":case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case Ic:case Om:o=!0;break;case vd:return o=e._init,gi(o(e._payload),t,a,i,l)}}if(o)return l=l(e),o=i===""?"."+Kc(e,0):i,md(l)?(a="",o!=null&&(a=o.replace(pd,"$&/")+"/"),gi(l,t,a,"",function(d){return d})):l!=null&&(Pc(l)&&(l=Gm(l,a+(l.key==null||e&&e.key===l.key?"":(""+l.key).replace(pd,"$&/")+"/")+o)),t.push(l)),1;o=0;var s=i===""?".":i+":";if(md(e))for(var u=0;u<e.length;u++)i=e[u],n=s+Kc(i,u),o+=gi(i,t,a,n,l);else if(u=Hm(e),typeof u=="function")for(e=u.call(e),u=0;!(i=e.next()).done;)i=i.value,n=s+Kc(i,u++),o+=gi(i,t,a,n,l);else if(n==="object"){if(typeof e.then=="function")return gi(Xm(e),t,a,i,l);throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return o}function Yl(e,t,a){if(e==null)return e;var i=[],l=0;return gi(e,i,"","",function(n){return t.call(a,n,l++)}),i}function Vm(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(a){(e._status===0||e._status===-1)&&(e._status=1,e._result=a)},function(a){(e._status===0||e._status===-1)&&(e._status=2,e._result=a)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var gd=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)};function jm(){}$.Children={map:Yl,forEach:function(e,t,a){Yl(e,function(){t.apply(this,arguments)},a)},count:function(e){var t=0;return Yl(e,function(){t++}),t},toArray:function(e){return Yl(e,function(t){return t})||[]},only:function(e){if(!Pc(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};$.Component=vi;$.Fragment=zm;$.Profiler=Um;$.PureComponent=Jc;$.StrictMode=Dm;$.Suspense=Rm;$.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=he;$.__COMPILER_RUNTIME={__proto__:null,c:function(e){return he.H.useMemoCache(e)}};$.cache=function(e){return function(){return e.apply(null,arguments)}};$.cloneElement=function(e,t,a){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var i=xd({},e.props),l=e.key,n=void 0;if(t!=null)for(o in t.ref!==void 0&&(n=void 0),t.key!==void 0&&(l=""+t.key),t)!Ed.call(t,o)||o==="key"||o==="__self"||o==="__source"||o==="ref"&&t.ref===void 0||(i[o]=t[o]);var o=arguments.length-2;if(o===1)i.children=a;else if(1<o){for(var s=Array(o),u=0;u<o;u++)s[u]=arguments[u+2];i.children=s}return Wc(e.type,l,void 0,void 0,n,i)};$.createContext=function(e){return e={$$typeof:km,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:_m,_context:e},e};$.createElement=function(e,t,a){var i,l={},n=null;if(t!=null)for(i in t.key!==void 0&&(n=""+t.key),t)Ed.call(t,i)&&i!=="key"&&i!=="__self"&&i!=="__source"&&(l[i]=t[i]);var o=arguments.length-2;if(o===1)l.children=a;else if(1<o){for(var s=Array(o),u=0;u<o;u++)s[u]=arguments[u+2];l.children=s}if(e&&e.defaultProps)for(i in o=e.defaultProps,o)l[i]===void 0&&(l[i]=o[i]);return Wc(e,n,void 0,void 0,null,l)};$.createRef=function(){return{current:null}};$.forwardRef=function(e){return{$$typeof:Lm,render:e}};$.isValidElement=Pc;$.lazy=function(e){return{$$typeof:vd,_payload:{_status:-1,_result:e},_init:Vm}};$.memo=function(e,t){return{$$typeof:Bm,type:e,compare:t===void 0?null:t}};$.startTransition=function(e){var t=he.T,a={};he.T=a;try{var i=e(),l=he.S;l!==null&&l(a,i),typeof i=="object"&&i!==null&&typeof i.then=="function"&&i.then(jm,gd)}catch(n){gd(n)}finally{he.T=t}};$.unstable_useCacheRefresh=function(){return he.H.useCacheRefresh()};$.use=function(e){return he.H.use(e)};$.useActionState=function(e,t,a){return he.H.useActionState(e,t,a)};$.useCallback=function(e,t){return he.H.useCallback(e,t)};$.useContext=function(e){return he.H.useContext(e)};$.useDebugValue=function(){};$.useDeferredValue=function(e,t){return he.H.useDeferredValue(e,t)};$.useEffect=function(e,t,a){var i=he.H;if(typeof a=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return i.useEffect(e,t)};$.useId=function(){return he.H.useId()};$.useImperativeHandle=function(e,t,a){return he.H.useImperativeHandle(e,t,a)};$.useInsertionEffect=function(e,t){return he.H.useInsertionEffect(e,t)};$.useLayoutEffect=function(e,t){return he.H.useLayoutEffect(e,t)};$.useMemo=function(e,t){return he.H.useMemo(e,t)};$.useOptimistic=function(e,t){return he.H.useOptimistic(e,t)};$.useReducer=function(e,t,a){return he.H.useReducer(e,t,a)};$.useRef=function(e){return he.H.useRef(e)};$.useState=function(e){return he.H.useState(e)};$.useSyncExternalStore=function(e,t,a){return he.H.useSyncExternalStore(e,t,a)};$.useTransition=function(){return he.H.useTransition()};$.version="19.1.1"});var Xl=pa((F6,Ad)=>{"use strict";Ad.exports=qd()});var kd=pa(ge=>{"use strict";function i0(e,t){var a=e.length;e.push(t);e:for(;0<a;){var i=a-1>>>1,l=e[i];if(0<Vl(l,t))e[i]=t,e[a]=l,a=i;else break e}}function kt(e){return e.length===0?null:e[0]}function Ql(e){if(e.length===0)return null;var t=e[0],a=e.pop();if(a!==t){e[0]=a;e:for(var i=0,l=e.length,n=l>>>1;i<n;){var o=2*(i+1)-1,s=e[o],u=o+1,d=e[u];if(0>Vl(s,a))u<l&&0>Vl(d,s)?(e[i]=d,e[u]=a,i=u):(e[i]=s,e[o]=a,i=o);else if(u<l&&0>Vl(d,a))e[i]=d,e[u]=a,i=u;else break e}}return t}function Vl(e,t){var a=e.sortIndex-t.sortIndex;return a!==0?a:e.id-t.id}ge.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(Nd=performance,ge.unstable_now=function(){return Nd.now()}):(e0=Date,Cd=e0.now(),ge.unstable_now=function(){return e0.now()-Cd});var Nd,e0,Cd,Kt=[],ha=[],Qm=1,yt=null,Ke=3,n0=!1,gn=!1,vn=!1,l0=!1,Od=typeof setTimeout=="function"?setTimeout:null,zd=typeof clearTimeout=="function"?clearTimeout:null,Td=typeof setImmediate<"u"?setImmediate:null;function jl(e){for(var t=kt(ha);t!==null;){if(t.callback===null)Ql(ha);else if(t.startTime<=e)Ql(ha),t.sortIndex=t.expirationTime,i0(Kt,t);else break;t=kt(ha)}}function o0(e){if(vn=!1,jl(e),!gn)if(kt(Kt)!==null)gn=!0,xi||(xi=!0,yi());else{var t=kt(ha);t!==null&&c0(o0,t.startTime-e)}}var xi=!1,yn=-1,Dd=5,Ud=-1;function _d(){return l0?!0:!(ge.unstable_now()-Ud<Dd)}function t0(){if(l0=!1,xi){var e=ge.unstable_now();Ud=e;var t=!0;try{e:{gn=!1,vn&&(vn=!1,zd(yn),yn=-1),n0=!0;var a=Ke;try{t:{for(jl(e),yt=kt(Kt);yt!==null&&!(yt.expirationTime>e&&_d());){var i=yt.callback;if(typeof i=="function"){yt.callback=null,Ke=yt.priorityLevel;var l=i(yt.expirationTime<=e);if(e=ge.unstable_now(),typeof l=="function"){yt.callback=l,jl(e),t=!0;break t}yt===kt(Kt)&&Ql(Kt),jl(e)}else Ql(Kt);yt=kt(Kt)}if(yt!==null)t=!0;else{var n=kt(ha);n!==null&&c0(o0,n.startTime-e),t=!1}}break e}finally{yt=null,Ke=a,n0=!1}t=void 0}}finally{t?yi():xi=!1}}}var yi;typeof Td=="function"?yi=function(){Td(t0)}:typeof MessageChannel<"u"?(a0=new MessageChannel,Md=a0.port2,a0.port1.onmessage=t0,yi=function(){Md.postMessage(null)}):yi=function(){Od(t0,0)};var a0,Md;function c0(e,t){yn=Od(function(){e(ge.unstable_now())},t)}ge.unstable_IdlePriority=5;ge.unstable_ImmediatePriority=1;ge.unstable_LowPriority=4;ge.unstable_NormalPriority=3;ge.unstable_Profiling=null;ge.unstable_UserBlockingPriority=2;ge.unstable_cancelCallback=function(e){e.callback=null};ge.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Dd=0<e?Math.floor(1e3/e):5};ge.unstable_getCurrentPriorityLevel=function(){return Ke};ge.unstable_next=function(e){switch(Ke){case 1:case 2:case 3:var t=3;break;default:t=Ke}var a=Ke;Ke=t;try{return e()}finally{Ke=a}};ge.unstable_requestPaint=function(){l0=!0};ge.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var a=Ke;Ke=e;try{return t()}finally{Ke=a}};ge.unstable_scheduleCallback=function(e,t,a){var i=ge.unstable_now();switch(typeof a=="object"&&a!==null?(a=a.delay,a=typeof a=="number"&&0<a?i+a:i):a=i,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return l=a+l,e={id:Qm++,callback:t,priorityLevel:e,startTime:a,expirationTime:l,sortIndex:-1},a>i?(e.sortIndex=a,i0(ha,e),kt(Kt)===null&&e===kt(ha)&&(vn?(zd(yn),yn=-1):vn=!0,c0(o0,a-i))):(e.sortIndex=l,i0(Kt,e),gn||n0||(gn=!0,xi||(xi=!0,yi()))),e};ge.unstable_shouldYield=_d;ge.unstable_wrapCallback=function(e){var t=Ke;return function(){var a=Ke;Ke=t;try{return e.apply(this,arguments)}finally{Ke=a}}}});var Rd=pa((P6,Ld)=>{"use strict";Ld.exports=kd()});var Hd=pa(et=>{"use strict";var Zm=Xl();function Bd(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function ga(){}var Pe={d:{f:ga,r:function(){throw Error(Bd(522))},D:ga,C:ga,L:ga,m:ga,X:ga,S:ga,M:ga},p:0,findDOMNode:null},$m=Symbol.for("react.portal");function Km(e,t,a){var i=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:$m,key:i==null?null:""+i,children:e,containerInfo:t,implementation:a}}var xn=Zm.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function Zl(e,t){if(e==="font")return"";if(typeof t=="string")return t==="use-credentials"?t:""}et.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Pe;et.createPortal=function(e,t){var a=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(Bd(299));return Km(e,t,null,a)};et.flushSync=function(e){var t=xn.T,a=Pe.p;try{if(xn.T=null,Pe.p=2,e)return e()}finally{xn.T=t,Pe.p=a,Pe.d.f()}};et.preconnect=function(e,t){typeof e=="string"&&(t?(t=t.crossOrigin,t=typeof t=="string"?t==="use-credentials"?t:"":void 0):t=null,Pe.d.C(e,t))};et.prefetchDNS=function(e){typeof e=="string"&&Pe.d.D(e)};et.preinit=function(e,t){if(typeof e=="string"&&t&&typeof t.as=="string"){var a=t.as,i=Zl(a,t.crossOrigin),l=typeof t.integrity=="string"?t.integrity:void 0,n=typeof t.fetchPriority=="string"?t.fetchPriority:void 0;a==="style"?Pe.d.S(e,typeof t.precedence=="string"?t.precedence:void 0,{crossOrigin:i,integrity:l,fetchPriority:n}):a==="script"&&Pe.d.X(e,{crossOrigin:i,integrity:l,fetchPriority:n,nonce:typeof t.nonce=="string"?t.nonce:void 0})}};et.preinitModule=function(e,t){if(typeof e=="string")if(typeof t=="object"&&t!==null){if(t.as==null||t.as==="script"){var a=Zl(t.as,t.crossOrigin);Pe.d.M(e,{crossOrigin:a,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0})}}else t==null&&Pe.d.M(e)};et.preload=function(e,t){if(typeof e=="string"&&typeof t=="object"&&t!==null&&typeof t.as=="string"){var a=t.as,i=Zl(a,t.crossOrigin);Pe.d.L(e,a,{crossOrigin:i,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,type:typeof t.type=="string"?t.type:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy=="string"?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet=="string"?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes=="string"?t.imageSizes:void 0,media:typeof t.media=="string"?t.media:void 0})}};et.preloadModule=function(e,t){if(typeof e=="string")if(t){var a=Zl(t.as,t.crossOrigin);Pe.d.m(e,{as:typeof t.as=="string"&&t.as!=="script"?t.as:void 0,crossOrigin:a,integrity:typeof t.integrity=="string"?t.integrity:void 0})}else Pe.d.m(e)};et.requestFormReset=function(e){Pe.d.r(e)};et.unstable_batchedUpdates=function(e,t){return e(t)};et.useFormState=function(e,t,a){return xn.H.useFormState(e,t,a)};et.useFormStatus=function(){return xn.H.useHostTransitionStatus()};et.version="19.1.1"});var Xd=pa((tg,Yd)=>{"use strict";function Gd(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Gd)}catch(e){console.error(e)}}Gd(),Yd.exports=Hd()});var Qb=pa(pc=>{"use strict";var Le=Rd(),d1=Xl(),Im=Xd();function M(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r1(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function cl(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(a=t.return),e=t.return;while(e)}return t.tag===3?a:null}function f1(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Vd(e){if(cl(e)!==e)throw Error(M(188))}function Jm(e){var t=e.alternate;if(!t){if(t=cl(e),t===null)throw Error(M(188));return t!==e?null:e}for(var a=e,i=t;;){var l=a.return;if(l===null)break;var n=l.alternate;if(n===null){if(i=l.return,i!==null){a=i;continue}break}if(l.child===n.child){for(n=l.child;n;){if(n===a)return Vd(l),e;if(n===i)return Vd(l),t;n=n.sibling}throw Error(M(188))}if(a.return!==i.return)a=l,i=n;else{for(var o=!1,s=l.child;s;){if(s===a){o=!0,a=l,i=n;break}if(s===i){o=!0,i=l,a=n;break}s=s.sibling}if(!o){for(s=n.child;s;){if(s===a){o=!0,a=n,i=l;break}if(s===i){o=!0,i=n,a=l;break}s=s.sibling}if(!o)throw Error(M(189))}}if(a.alternate!==i)throw Error(M(190))}if(a.tag!==3)throw Error(M(188));return a.stateNode.current===a?e:t}function b1(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=b1(e),t!==null)return t;e=e.sibling}return null}var pe=Object.assign,Fm=Symbol.for("react.element"),$l=Symbol.for("react.transitional.element"),Mn=Symbol.for("react.portal"),Ci=Symbol.for("react.fragment"),m1=Symbol.for("react.strict_mode"),H0=Symbol.for("react.profiler"),Wm=Symbol.for("react.provider"),p1=Symbol.for("react.consumer"),Pt=Symbol.for("react.context"),_s=Symbol.for("react.forward_ref"),G0=Symbol.for("react.suspense"),Y0=Symbol.for("react.suspense_list"),ks=Symbol.for("react.memo"),xa=Symbol.for("react.lazy");Symbol.for("react.scope");var X0=Symbol.for("react.activity");Symbol.for("react.legacy_hidden");Symbol.for("react.tracing_marker");var Pm=Symbol.for("react.memo_cache_sentinel");Symbol.for("react.view_transition");var jd=Symbol.iterator;function wn(e){return e===null||typeof e!="object"?null:(e=jd&&e[jd]||e["@@iterator"],typeof e=="function"?e:null)}var ep=Symbol.for("react.client.reference");function V0(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===ep?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ci:return"Fragment";case H0:return"Profiler";case m1:return"StrictMode";case G0:return"Suspense";case Y0:return"SuspenseList";case X0:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case Mn:return"Portal";case Pt:return(e.displayName||"Context")+".Provider";case p1:return(e._context.displayName||"Context")+".Consumer";case _s:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ks:return t=e.displayName||null,t!==null?t:V0(e.type)||"Memo";case xa:t=e._payload,e=e._init;try{return V0(e(t))}catch{}}return null}var On=Array.isArray,j=d1.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ie=Im.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Ia={pending:!1,data:null,method:null,action:null},j0=[],Ti=-1;function Xt(e){return{current:e}}function Ye(e){0>Ti||(e.current=j0[Ti],j0[Ti]=null,Ti--)}function ye(e,t){Ti++,j0[Ti]=e.current,e.current=t}var Ht=Xt(null),$n=Xt(null),Oa=Xt(null),qo=Xt(null);function Ao(e,t){switch(ye(Oa,t),ye($n,e),ye(Ht,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Jr(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Jr(t),e=Ub(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}Ye(Ht),ye(Ht,e)}function $i(){Ye(Ht),Ye($n),Ye(Oa)}function Q0(e){e.memoizedState!==null&&ye(qo,e);var t=Ht.current,a=Ub(t,e.type);t!==a&&(ye($n,e),ye(Ht,a))}function No(e){$n.current===e&&(Ye(Ht),Ye($n)),qo.current===e&&(Ye(qo),il._currentValue=Ia)}var Z0=Object.prototype.hasOwnProperty,Ls=Le.unstable_scheduleCallback,s0=Le.unstable_cancelCallback,tp=Le.unstable_shouldYield,ap=Le.unstable_requestPaint,Gt=Le.unstable_now,ip=Le.unstable_getCurrentPriorityLevel,h1=Le.unstable_ImmediatePriority,g1=Le.unstable_UserBlockingPriority,Co=Le.unstable_NormalPriority,np=Le.unstable_LowPriority,v1=Le.unstable_IdlePriority,lp=Le.log,op=Le.unstable_setDisableYieldValue,sl=null,ft=null;function Na(e){if(typeof lp=="function"&&op(e),ft&&typeof ft.setStrictMode=="function")try{ft.setStrictMode(sl,e)}catch{}}var bt=Math.clz32?Math.clz32:up,cp=Math.log,sp=Math.LN2;function up(e){return e>>>=0,e===0?32:31-(cp(e)/sp|0)|0}var Kl=256,Il=4194304;function Za(e){var t=e&42;if(t!==0)return t;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:return 64;case 128:return 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&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function ec(e,t,a){var i=e.pendingLanes;if(i===0)return 0;var l=0,n=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=i&134217727;return s!==0?(i=s&~n,i!==0?l=Za(i):(o&=s,o!==0?l=Za(o):a||(a=s&~e,a!==0&&(l=Za(a))))):(s=i&~n,s!==0?l=Za(s):o!==0?l=Za(o):a||(a=i&~e,a!==0&&(l=Za(a)))),l===0?0:t!==0&&t!==l&&(t&n)===0&&(n=l&-l,a=t&-t,n>=a||n===32&&(a&4194048)!==0)?t:l}function ul(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function dp(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32: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 t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function y1(){var e=Kl;return Kl<<=1,(Kl&4194048)===0&&(Kl=256),e}function x1(){var e=Il;return Il<<=1,(Il&62914560)===0&&(Il=4194304),e}function u0(e){for(var t=[],a=0;31>a;a++)t.push(e);return t}function dl(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function rp(e,t,a,i,l,n){var o=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var s=e.entanglements,u=e.expirationTimes,d=e.hiddenUpdates;for(a=o&~a;0<a;){var v=31-bt(a),x=1<<v;s[v]=0,u[v]=-1;var p=d[v];if(p!==null)for(d[v]=null,v=0;v<p.length;v++){var h=p[v];h!==null&&(h.lane&=-536870913)}a&=~x}i!==0&&w1(e,i,0),n!==0&&l===0&&e.tag!==0&&(e.suspendedLanes|=n&~(o&~t))}function w1(e,t,a){e.pendingLanes|=t,e.suspendedLanes&=~t;var i=31-bt(t);e.entangledLanes|=t,e.entanglements[i]=e.entanglements[i]|1073741824|a&4194090}function S1(e,t){var a=e.entangledLanes|=t;for(e=e.entanglements;a;){var i=31-bt(a),l=1<<i;l&t|e[i]&t&&(e[i]|=t),a&=~l}}function Rs(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;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:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Bs(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function E1(){var e=ie.p;return e!==0?e:(e=window.event,e===void 0?32:Vb(e.type))}function fp(e,t){var a=ie.p;try{return ie.p=e,t()}finally{ie.p=a}}var Ya=Math.random().toString(36).slice(2),Ie="__reactFiber$"+Ya,lt="__reactProps$"+Ya,ln="__reactContainer$"+Ya,$0="__reactEvents$"+Ya,bp="__reactListeners$"+Ya,mp="__reactHandles$"+Ya,Qd="__reactResources$"+Ya,rl="__reactMarker$"+Ya;function Hs(e){delete e[Ie],delete e[lt],delete e[$0],delete e[bp],delete e[mp]}function Mi(e){var t=e[Ie];if(t)return t;for(var a=e.parentNode;a;){if(t=a[ln]||a[Ie]){if(a=t.alternate,t.child!==null||a!==null&&a.child!==null)for(e=Pr(e);e!==null;){if(a=e[Ie])return a;e=Pr(e)}return t}e=a,a=e.parentNode}return null}function on(e){if(e=e[Ie]||e[ln]){var t=e.tag;if(t===5||t===6||t===13||t===26||t===27||t===3)return e}return null}function zn(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(M(33))}function Hi(e){var t=e[Qd];return t||(t=e[Qd]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function He(e){e[rl]=!0}var q1=new Set,A1={};function oi(e,t){Ki(e,t),Ki(e+"Capture",t)}function Ki(e,t){for(A1[e]=t,e=0;e<t.length;e++)q1.add(t[e])}var pp=RegExp("^[: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]*$"),Zd={},$d={};function hp(e){return Z0.call($d,e)?!0:Z0.call(Zd,e)?!1:pp.test(e)?$d[e]=!0:(Zd[e]=!0,!1)}function ro(e,t,a){if(hp(t))if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var i=t.toLowerCase().slice(0,5);if(i!=="data-"&&i!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+a)}}function Jl(e,t,a){if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+a)}}function It(e,t,a,i){if(i===null)e.removeAttribute(a);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttributeNS(t,a,""+i)}}var d0,Kd;function qi(e){if(d0===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);d0=t&&t[1]||"",Kd=-1<a.stack.indexOf(`
2
2
  at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
3
- `+tc+t+Lf}var ec=!1;function ac(t,e){if(!t||ec)return"";ec=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(e){var b=function(){throw Error()};if(Object.defineProperty(b.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(b,[])}catch(v){var h=v}Reflect.construct(t,[],b)}else{try{b.call()}catch(v){h=v}t.call(b.prototype)}}else{try{throw Error()}catch(v){h=v}(b=t())&&typeof b.catch=="function"&&b.catch(function(){})}}catch(v){if(v&&h&&typeof v.stack=="string")return[v.stack,h.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var i=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");i&&i.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var n=l.DetermineComponentFrameRoot(),u=n[0],c=n[1];if(u&&c){var s=u.split(`
4
- `),r=c.split(`
5
- `);for(i=l=0;l<s.length&&!s[l].includes("DetermineComponentFrameRoot");)l++;for(;i<r.length&&!r[i].includes("DetermineComponentFrameRoot");)i++;if(l===s.length||i===r.length)for(l=s.length-1,i=r.length-1;1<=l&&0<=i&&s[l]!==r[i];)i--;for(;1<=l&&0<=i;l--,i--)if(s[l]!==r[i]){if(l!==1||i!==1)do if(l--,i--,0>i||s[l]!==r[i]){var y=`
6
- `+s[l].replace(" at new "," at ");return t.displayName&&y.includes("<anonymous>")&&(y=y.replace("<anonymous>",t.displayName)),y}while(1<=l&&0<=i);break}}}finally{ec=!1,Error.prepareStackTrace=a}return(a=t?t.displayName||t.name:"")?ql(a):""}function Ig(t){switch(t.tag){case 26:case 27:case 5:return ql(t.type);case 16:return ql("Lazy");case 13:return ql("Suspense");case 19:return ql("SuspenseList");case 0:case 15:return ac(t.type,!1);case 11:return ac(t.type.render,!1);case 1:return ac(t.type,!0);case 31:return ql("Activity");default:return""}}function kf(t){try{var e="";do e+=Ig(t),t=t.return;while(t);return e}catch(a){return`
3
+ `+d0+e+Kd}var r0=!1;function f0(e,t){if(!e||r0)return"";r0=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var i={DetermineComponentFrameRoot:function(){try{if(t){var x=function(){throw Error()};if(Object.defineProperty(x.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(x,[])}catch(h){var p=h}Reflect.construct(e,[],x)}else{try{x.call()}catch(h){p=h}e.call(x.prototype)}}else{try{throw Error()}catch(h){p=h}(x=e())&&typeof x.catch=="function"&&x.catch(function(){})}}catch(h){if(h&&p&&typeof h.stack=="string")return[h.stack,p.stack]}return[null,null]}};i.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var l=Object.getOwnPropertyDescriptor(i.DetermineComponentFrameRoot,"name");l&&l.configurable&&Object.defineProperty(i.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var n=i.DetermineComponentFrameRoot(),o=n[0],s=n[1];if(o&&s){var u=o.split(`
4
+ `),d=s.split(`
5
+ `);for(l=i=0;i<u.length&&!u[i].includes("DetermineComponentFrameRoot");)i++;for(;l<d.length&&!d[l].includes("DetermineComponentFrameRoot");)l++;if(i===u.length||l===d.length)for(i=u.length-1,l=d.length-1;1<=i&&0<=l&&u[i]!==d[l];)l--;for(;1<=i&&0<=l;i--,l--)if(u[i]!==d[l]){if(i!==1||l!==1)do if(i--,l--,0>l||u[i]!==d[l]){var v=`
6
+ `+u[i].replace(" at new "," at ");return e.displayName&&v.includes("<anonymous>")&&(v=v.replace("<anonymous>",e.displayName)),v}while(1<=i&&0<=l);break}}}finally{r0=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:"")?qi(a):""}function gp(e){switch(e.tag){case 26:case 27:case 5:return qi(e.type);case 16:return qi("Lazy");case 13:return qi("Suspense");case 19:return qi("SuspenseList");case 0:case 15:return f0(e.type,!1);case 11:return f0(e.type.render,!1);case 1:return f0(e.type,!0);case 31:return qi("Activity");default:return""}}function Id(e){try{var t="";do t+=gp(e),e=e.return;while(e);return t}catch(a){return`
7
7
  Error generating stack: `+a.message+`
8
- `+a.stack}}function ge(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function mp(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function Fg(t){var e=mp(t)?"checked":"value",a=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),l=""+t[e];if(!t.hasOwnProperty(e)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var i=a.get,n=a.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return i.call(this)},set:function(u){l=""+u,n.call(this,u)}}),Object.defineProperty(t,e,{enumerable:a.enumerable}),{getValue:function(){return l},setValue:function(u){l=""+u},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function Su(t){t._valueTracker||(t._valueTracker=Fg(t))}function hp(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var a=e.getValue(),l="";return t&&(l=mp(t)?t.checked?"true":"false":t.value),t=l,t!==a?(e.setValue(t),!0):!1}function qu(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var Wg=/[\n"\\]/g;function xe(t){return t.replace(Wg,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function Hc(t,e,a,l,i,n,u,c){t.name="",u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"?t.type=u:t.removeAttribute("type"),e!=null?u==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+ge(e)):t.value!==""+ge(e)&&(t.value=""+ge(e)):u!=="submit"&&u!=="reset"||t.removeAttribute("value"),e!=null?Gc(t,u,ge(e)):a!=null?Gc(t,u,ge(a)):l!=null&&t.removeAttribute("value"),i==null&&n!=null&&(t.defaultChecked=!!n),i!=null&&(t.checked=i&&typeof i!="function"&&typeof i!="symbol"),c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?t.name=""+ge(c):t.removeAttribute("name")}function gp(t,e,a,l,i,n,u,c){if(n!=null&&typeof n!="function"&&typeof n!="symbol"&&typeof n!="boolean"&&(t.type=n),e!=null||a!=null){if(!(n!=="submit"&&n!=="reset"||e!=null))return;a=a!=null?""+ge(a):"",e=e!=null?""+ge(e):a,c||e===t.value||(t.value=e),t.defaultValue=e}l=l??i,l=typeof l!="function"&&typeof l!="symbol"&&!!l,t.checked=c?t.checked:!!l,t.defaultChecked=!!l,u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(t.name=u)}function Gc(t,e,a){e==="number"&&qu(t.ownerDocument)===t||t.defaultValue===""+a||(t.defaultValue=""+a)}function Hl(t,e,a,l){if(t=t.options,e){e={};for(var i=0;i<a.length;i++)e["$"+a[i]]=!0;for(a=0;a<t.length;a++)i=e.hasOwnProperty("$"+t[a].value),t[a].selected!==i&&(t[a].selected=i),i&&l&&(t[a].defaultSelected=!0)}else{for(a=""+ge(a),e=null,i=0;i<t.length;i++){if(t[i].value===a){t[i].selected=!0,l&&(t[i].defaultSelected=!0);return}e!==null||t[i].disabled||(e=t[i])}e!==null&&(e.selected=!0)}}function vp(t,e,a){if(e!=null&&(e=""+ge(e),e!==t.value&&(t.value=e),a==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=a!=null?""+ge(a):""}function yp(t,e,a,l){if(e==null){if(l!=null){if(a!=null)throw Error(w(92));if(wn(l)){if(1<l.length)throw Error(w(93));l=l[0]}a=l}a==null&&(a=""),e=a}a=ge(e),t.defaultValue=a,l=t.textContent,l===a&&l!==""&&l!==null&&(t.value=l)}function Kl(t,e){if(e){var a=t.firstChild;if(a&&a===t.lastChild&&a.nodeType===3){a.nodeValue=e;return}}t.textContent=e}var Pg=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Hf(t,e,a){var l=e.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?l?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":l?t.setProperty(e,a):typeof a!="number"||a===0||Pg.has(e)?e==="float"?t.cssFloat=a:t[e]=(""+a).trim():t[e]=a+"px"}function xp(t,e,a){if(e!=null&&typeof e!="object")throw Error(w(62));if(t=t.style,a!=null){for(var l in a)!a.hasOwnProperty(l)||e!=null&&e.hasOwnProperty(l)||(l.indexOf("--")===0?t.setProperty(l,""):l==="float"?t.cssFloat="":t[l]="");for(var i in e)l=e[i],e.hasOwnProperty(i)&&a[i]!==l&&Hf(t,i,l)}else for(var n in e)e.hasOwnProperty(n)&&Hf(t,n,e[n])}function zs(t){if(t.indexOf("-")===-1)return!1;switch(t){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 tv=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),ev=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function iu(t){return ev.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}var Bc=null;function Os(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Cl=null,Gl=null;function Gf(t){var e=ln(t);if(e&&(t=e.stateNode)){var a=t[Pt]||null;t:switch(t=e.stateNode,e.type){case"input":if(Hc(t,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),e=a.name,a.type==="radio"&&e!=null){for(a=t;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll('input[name="'+xe(""+e)+'"][type="radio"]'),e=0;e<a.length;e++){var l=a[e];if(l!==t&&l.form===t.form){var i=l[Pt]||null;if(!i)throw Error(w(90));Hc(l,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name)}}for(e=0;e<a.length;e++)l=a[e],l.form===t.form&&hp(l)}break t;case"textarea":vp(t,a.value,a.defaultValue);break t;case"select":e=a.value,e!=null&&Hl(t,!!a.multiple,e,!1)}}}var lc=!1;function bp(t,e,a){if(lc)return t(e,a);lc=!0;try{var l=t(e);return l}finally{if(lc=!1,(Cl!==null||Gl!==null)&&(lo(),Cl&&(e=Cl,t=Gl,Gl=Cl=null,Gf(e),t)))for(e=0;e<t.length;e++)Gf(t[e])}}function Qn(t,e){var a=t.stateNode;if(a===null)return null;var l=a[Pt]||null;if(l===null)return null;a=l[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(t=t.type,l=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!l;break t;default:t=!1}if(t)return null;if(a&&typeof a!="function")throw Error(w(231,e,typeof a));return a}var na=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Yc=!1;if(na)try{xl={},Object.defineProperty(xl,"passive",{get:function(){Yc=!0}}),window.addEventListener("test",xl,xl),window.removeEventListener("test",xl,xl)}catch{Yc=!1}var xl,Ea=null,Us=null,uu=null;function Sp(){if(uu)return uu;var t,e=Us,a=e.length,l,i="value"in Ea?Ea.value:Ea.textContent,n=i.length;for(t=0;t<a&&e[t]===i[t];t++);var u=a-t;for(l=1;l<=u&&e[a-l]===i[n-l];l++);return uu=i.slice(t,1<l?1-l:void 0)}function ou(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function Vi(){return!0}function Bf(){return!1}function te(t){function e(a,l,i,n,u){this._reactName=a,this._targetInst=i,this.type=l,this.nativeEvent=n,this.target=u,this.currentTarget=null;for(var c in t)t.hasOwnProperty(c)&&(a=t[c],this[c]=a?a(n):n[c]);return this.isDefaultPrevented=(n.defaultPrevented!=null?n.defaultPrevented:n.returnValue===!1)?Vi:Bf,this.isPropagationStopped=Bf,this}return ft(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=Vi)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=Vi)},persist:function(){},isPersistent:Vi}),e}var ul={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},$u=te(ul),ci=ft({},ul,{view:0,detail:0}),av=te(ci),nc,ic,yn,Ju=ft({},ci,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ds,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==yn&&(yn&&t.type==="mousemove"?(nc=t.screenX-yn.screenX,ic=t.screenY-yn.screenY):ic=nc=0,yn=t),nc)},movementY:function(t){return"movementY"in t?t.movementY:ic}}),Yf=te(Ju),lv=ft({},Ju,{dataTransfer:0}),nv=te(lv),iv=ft({},ci,{relatedTarget:0}),uc=te(iv),uv=ft({},ul,{animationName:0,elapsedTime:0,pseudoElement:0}),ov=te(uv),cv=ft({},ul,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),sv=te(cv),rv=ft({},ul,{data:0}),Xf=te(rv),fv={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},dv={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},pv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function mv(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=pv[t])?!!e[t]:!1}function Ds(){return mv}var hv=ft({},ci,{key:function(t){if(t.key){var e=fv[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=ou(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?dv[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ds,charCode:function(t){return t.type==="keypress"?ou(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?ou(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),gv=te(hv),vv=ft({},Ju,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),jf=te(vv),yv=ft({},ci,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ds}),xv=te(yv),bv=ft({},ul,{propertyName:0,elapsedTime:0,pseudoElement:0}),Sv=te(bv),qv=ft({},Ju,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),Av=te(qv),Nv=ft({},ul,{newState:0,oldState:0}),Ev=te(Nv),wv=[9,13,27,32],_s=na&&"CompositionEvent"in window,Mn=null;na&&"documentMode"in document&&(Mn=document.documentMode);var Tv=na&&"TextEvent"in window&&!Mn,qp=na&&(!_s||Mn&&8<Mn&&11>=Mn),Qf=" ",Vf=!1;function Ap(t,e){switch(t){case"keyup":return wv.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Np(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Ml=!1;function Cv(t,e){switch(t){case"compositionend":return Np(e);case"keypress":return e.which!==32?null:(Vf=!0,Qf);case"textInput":return t=e.data,t===Qf&&Vf?null:t;default:return null}}function Mv(t,e){if(Ml)return t==="compositionend"||!_s&&Ap(t,e)?(t=Sp(),uu=Us=Ea=null,Ml=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return qp&&e.locale!=="ko"?null:e.data;default:return null}}var zv={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Zf(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!zv[t.type]:e==="textarea"}function Ep(t,e,a,l){Cl?Gl?Gl.push(l):Gl=[l]:Cl=l,e=Bu(e,"onChange"),0<e.length&&(a=new $u("onChange","change",null,a,l),t.push({event:a,listeners:e}))}var zn=null,Vn=null;function Ov(t){v0(t,0)}function Iu(t){var e=Tn(t);if(hp(e))return t}function Kf(t,e){if(t==="change")return e}var wp=!1;na&&(na?(Ki="oninput"in document,Ki||(oc=document.createElement("div"),oc.setAttribute("oninput","return;"),Ki=typeof oc.oninput=="function"),Zi=Ki):Zi=!1,wp=Zi&&(!document.documentMode||9<document.documentMode));var Zi,Ki,oc;function $f(){zn&&(zn.detachEvent("onpropertychange",Tp),Vn=zn=null)}function Tp(t){if(t.propertyName==="value"&&Iu(Vn)){var e=[];Ep(e,Vn,t,Os(t)),bp(Ov,e)}}function Uv(t,e,a){t==="focusin"?($f(),zn=e,Vn=a,zn.attachEvent("onpropertychange",Tp)):t==="focusout"&&$f()}function Dv(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Iu(Vn)}function _v(t,e){if(t==="click")return Iu(e)}function Rv(t,e){if(t==="input"||t==="change")return Iu(e)}function Lv(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var fe=typeof Object.is=="function"?Object.is:Lv;function Zn(t,e){if(fe(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var a=Object.keys(t),l=Object.keys(e);if(a.length!==l.length)return!1;for(l=0;l<a.length;l++){var i=a[l];if(!Lc.call(e,i)||!fe(t[i],e[i]))return!1}return!0}function Jf(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function If(t,e){var a=Jf(t);t=0;for(var l;a;){if(a.nodeType===3){if(l=t+a.textContent.length,t<=e&&l>=e)return{node:a,offset:e-t};t=l}t:{for(;a;){if(a.nextSibling){a=a.nextSibling;break t}a=a.parentNode}a=void 0}a=Jf(a)}}function Cp(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?Cp(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Mp(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=qu(t.document);e instanceof t.HTMLIFrameElement;){try{var a=typeof e.contentWindow.location.href=="string"}catch{a=!1}if(a)t=e.contentWindow;else break;e=qu(t.document)}return e}function Rs(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var kv=na&&"documentMode"in document&&11>=document.documentMode,zl=null,Xc=null,On=null,jc=!1;function Ff(t,e,a){var l=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;jc||zl==null||zl!==qu(l)||(l=zl,"selectionStart"in l&&Rs(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),On&&Zn(On,l)||(On=l,l=Bu(Xc,"onSelect"),0<l.length&&(e=new $u("onSelect","select",null,e,a),t.push({event:e,listeners:l}),e.target=zl)))}function Qa(t,e){var a={};return a[t.toLowerCase()]=e.toLowerCase(),a["Webkit"+t]="webkit"+e,a["Moz"+t]="moz"+e,a}var Ol={animationend:Qa("Animation","AnimationEnd"),animationiteration:Qa("Animation","AnimationIteration"),animationstart:Qa("Animation","AnimationStart"),transitionrun:Qa("Transition","TransitionRun"),transitionstart:Qa("Transition","TransitionStart"),transitioncancel:Qa("Transition","TransitionCancel"),transitionend:Qa("Transition","TransitionEnd")},cc={},zp={};na&&(zp=document.createElement("div").style,"AnimationEvent"in window||(delete Ol.animationend.animation,delete Ol.animationiteration.animation,delete Ol.animationstart.animation),"TransitionEvent"in window||delete Ol.transitionend.transition);function ol(t){if(cc[t])return cc[t];if(!Ol[t])return t;var e=Ol[t],a;for(a in e)if(e.hasOwnProperty(a)&&a in zp)return cc[t]=e[a];return t}var Op=ol("animationend"),Up=ol("animationiteration"),Dp=ol("animationstart"),Hv=ol("transitionrun"),Gv=ol("transitionstart"),Bv=ol("transitioncancel"),_p=ol("transitionend"),Rp=new Map,Qc="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Qc.push("scrollEnd");function Ce(t,e){Rp.set(t,e),il(e,[t])}var Wf=new WeakMap;function be(t,e){if(typeof t=="object"&&t!==null){var a=Wf.get(t);return a!==void 0?a:(e={value:t,source:e,stack:kf(e)},Wf.set(t,e),e)}return{value:t,source:e,stack:kf(e)}}var he=[],Ul=0,Ls=0;function Fu(){for(var t=Ul,e=Ls=Ul=0;e<t;){var a=he[e];he[e++]=null;var l=he[e];he[e++]=null;var i=he[e];he[e++]=null;var n=he[e];if(he[e++]=null,l!==null&&i!==null){var u=l.pending;u===null?i.next=i:(i.next=u.next,u.next=i),l.pending=i}n!==0&&Lp(a,i,n)}}function Wu(t,e,a,l){he[Ul++]=t,he[Ul++]=e,he[Ul++]=a,he[Ul++]=l,Ls|=l,t.lanes|=l,t=t.alternate,t!==null&&(t.lanes|=l)}function ks(t,e,a,l){return Wu(t,e,a,l),Au(t)}function nn(t,e){return Wu(t,null,null,e),Au(t)}function Lp(t,e,a){t.lanes|=a;var l=t.alternate;l!==null&&(l.lanes|=a);for(var i=!1,n=t.return;n!==null;)n.childLanes|=a,l=n.alternate,l!==null&&(l.childLanes|=a),n.tag===22&&(t=n.stateNode,t===null||t._visibility&1||(i=!0)),t=n,n=n.return;return t.tag===3?(n=t.stateNode,i&&e!==null&&(i=31-ce(a),t=n.hiddenUpdates,l=t[i],l===null?t[i]=[e]:l.push(e),e.lane=a|536870912),n):null}function Au(t){if(50<Yn)throw Yn=0,fs=null,Error(w(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var Dl={};function Yv(t,e,a,l){this.tag=t,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ue(t,e,a,l){return new Yv(t,e,a,l)}function Hs(t){return t=t.prototype,!(!t||!t.isReactComponent)}function aa(t,e){var a=t.alternate;return a===null?(a=ue(t.tag,e,t.key,t.mode),a.elementType=t.elementType,a.type=t.type,a.stateNode=t.stateNode,a.alternate=t,t.alternate=a):(a.pendingProps=e,a.type=t.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=t.flags&65011712,a.childLanes=t.childLanes,a.lanes=t.lanes,a.child=t.child,a.memoizedProps=t.memoizedProps,a.memoizedState=t.memoizedState,a.updateQueue=t.updateQueue,e=t.dependencies,a.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},a.sibling=t.sibling,a.index=t.index,a.ref=t.ref,a.refCleanup=t.refCleanup,a}function kp(t,e){t.flags&=65011714;var a=t.alternate;return a===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=a.childLanes,t.lanes=a.lanes,t.child=a.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=a.memoizedProps,t.memoizedState=a.memoizedState,t.updateQueue=a.updateQueue,t.type=a.type,e=a.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t}function cu(t,e,a,l,i,n){var u=0;if(l=t,typeof t=="function")Hs(t)&&(u=1);else if(typeof t=="string")u=Yy(t,a,De.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case Uc:return t=ue(31,a,e,i),t.elementType=Uc,t.lanes=n,t;case El:return Ja(a.children,i,n,e);case ap:u=8,i|=24;break;case Mc:return t=ue(12,a,e,i|2),t.elementType=Mc,t.lanes=n,t;case zc:return t=ue(13,a,e,i),t.elementType=zc,t.lanes=n,t;case Oc:return t=ue(19,a,e,i),t.elementType=Oc,t.lanes=n,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case Og:case Fe:u=10;break t;case lp:u=9;break t;case Ns:u=11;break t;case Es:u=14;break t;case ya:u=16,l=null;break t}u=29,a=Error(w(130,t===null?"null":typeof t,"")),l=null}return e=ue(u,a,e,i),e.elementType=t,e.type=l,e.lanes=n,e}function Ja(t,e,a,l){return t=ue(7,t,l,e),t.lanes=a,t}function sc(t,e,a){return t=ue(6,t,null,e),t.lanes=a,t}function rc(t,e,a){return e=ue(4,t.children!==null?t.children:[],t.key,e),e.lanes=a,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var _l=[],Rl=0,Nu=null,Eu=0,ve=[],ye=0,Ia=null,We=1,Pe="";function Za(t,e){_l[Rl++]=Eu,_l[Rl++]=Nu,Nu=t,Eu=e}function Hp(t,e,a){ve[ye++]=We,ve[ye++]=Pe,ve[ye++]=Ia,Ia=t;var l=We;t=Pe;var i=32-ce(l)-1;l&=~(1<<i),a+=1;var n=32-ce(e)+i;if(30<n){var u=i-i%5;n=(l&(1<<u)-1).toString(32),l>>=u,i-=u,We=1<<32-ce(e)+i|a<<i|l,Pe=n+t}else We=1<<n|a<<i|l,Pe=t}function Gs(t){t.return!==null&&(Za(t,1),Hp(t,1,0))}function Bs(t){for(;t===Nu;)Nu=_l[--Rl],_l[Rl]=null,Eu=_l[--Rl],_l[Rl]=null;for(;t===Ia;)Ia=ve[--ye],ve[ye]=null,Pe=ve[--ye],ve[ye]=null,We=ve[--ye],ve[ye]=null}var $t=null,xt=null,et=!1,Fa=null,Oe=!1,Vc=Error(w(519));function el(t){var e=Error(w(418,""));throw Kn(be(e,t)),Vc}function Pf(t){var e=t.stateNode,a=t.type,l=t.memoizedProps;switch(e[jt]=t,e[Pt]=l,a){case"dialog":F("cancel",e),F("close",e);break;case"iframe":case"object":case"embed":F("load",e);break;case"video":case"audio":for(a=0;a<In.length;a++)F(In[a],e);break;case"source":F("error",e);break;case"img":case"image":case"link":F("error",e),F("load",e);break;case"details":F("toggle",e);break;case"input":F("invalid",e),gp(e,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0),Su(e);break;case"select":F("invalid",e);break;case"textarea":F("invalid",e),yp(e,l.value,l.defaultValue,l.children),Su(e)}a=l.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||e.textContent===""+a||l.suppressHydrationWarning===!0||x0(e.textContent,a)?(l.popover!=null&&(F("beforetoggle",e),F("toggle",e)),l.onScroll!=null&&F("scroll",e),l.onScrollEnd!=null&&F("scrollend",e),l.onClick!=null&&(e.onclick=uo),e=!0):e=!1,e||el(t)}function td(t){for($t=t.return;$t;)switch($t.tag){case 5:case 13:Oe=!1;return;case 27:case 3:Oe=!0;return;default:$t=$t.return}}function xn(t){if(t!==$t)return!1;if(!et)return td(t),et=!0,!1;var e=t.tag,a;if((a=e!==3&&e!==27)&&((a=e===5)&&(a=t.type,a=!(a!=="form"&&a!=="button")||vs(t.type,t.memoizedProps)),a=!a),a&&xt&&el(t),td(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(w(317));t:{for(t=t.nextSibling,e=0;t;){if(t.nodeType===8)if(a=t.data,a==="/$"){if(e===0){xt=Te(t.nextSibling);break t}e--}else a!=="$"&&a!=="$!"&&a!=="$?"||e++;t=t.nextSibling}xt=null}}else e===27?(e=xt,Ba(t.type)?(t=bs,bs=null,xt=t):xt=e):xt=$t?Te(t.stateNode.nextSibling):null;return!0}function si(){xt=$t=null,et=!1}function ed(){var t=Fa;return t!==null&&(Wt===null?Wt=t:Wt.push.apply(Wt,t),Fa=null),t}function Kn(t){Fa===null?Fa=[t]:Fa.push(t)}var Zc=Le(null),cl=null,ta=null;function ba(t,e,a){gt(Zc,e._currentValue),e._currentValue=a}function la(t){t._currentValue=Zc.current,Lt(Zc)}function Kc(t,e,a){for(;t!==null;){var l=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,l!==null&&(l.childLanes|=e)):l!==null&&(l.childLanes&e)!==e&&(l.childLanes|=e),t===a)break;t=t.return}}function $c(t,e,a,l){var i=t.child;for(i!==null&&(i.return=t);i!==null;){var n=i.dependencies;if(n!==null){var u=i.child;n=n.firstContext;t:for(;n!==null;){var c=n;n=i;for(var s=0;s<e.length;s++)if(c.context===e[s]){n.lanes|=a,c=n.alternate,c!==null&&(c.lanes|=a),Kc(n.return,a,t),l||(u=null);break t}n=c.next}}else if(i.tag===18){if(u=i.return,u===null)throw Error(w(341));u.lanes|=a,n=u.alternate,n!==null&&(n.lanes|=a),Kc(u,a,t),u=null}else u=i.child;if(u!==null)u.return=i;else for(u=i;u!==null;){if(u===t){u=null;break}if(i=u.sibling,i!==null){i.return=u.return,u=i;break}u=u.return}i=u}}function ri(t,e,a,l){t=null;for(var i=e,n=!1;i!==null;){if(!n){if((i.flags&524288)!==0)n=!0;else if((i.flags&262144)!==0)break}if(i.tag===10){var u=i.alternate;if(u===null)throw Error(w(387));if(u=u.memoizedProps,u!==null){var c=i.type;fe(i.pendingProps.value,u.value)||(t!==null?t.push(c):t=[c])}}else if(i===vu.current){if(u=i.alternate,u===null)throw Error(w(387));u.memoizedState.memoizedState!==i.memoizedState.memoizedState&&(t!==null?t.push(Pn):t=[Pn])}i=i.return}t!==null&&$c(e,t,a,l),e.flags|=262144}function wu(t){for(t=t.firstContext;t!==null;){if(!fe(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function al(t){cl=t,ta=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function Qt(t){return Gp(cl,t)}function $i(t,e){return cl===null&&al(t),Gp(t,e)}function Gp(t,e){var a=e._currentValue;if(e={context:e,memoizedValue:a,next:null},ta===null){if(t===null)throw Error(w(308));ta=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else ta=ta.next=e;return a}var Xv=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(a,l){t.push(l)}};this.abort=function(){e.aborted=!0,t.forEach(function(a){return a()})}},jv=Ot.unstable_scheduleCallback,Qv=Ot.unstable_NormalPriority,Mt={$$typeof:Fe,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Ys(){return{controller:new Xv,data:new Map,refCount:0}}function fi(t){t.refCount--,t.refCount===0&&jv(Qv,function(){t.controller.abort()})}var Un=null,Jc=0,$l=0,Bl=null;function Vv(t,e){if(Un===null){var a=Un=[];Jc=0,$l=rr(),Bl={status:"pending",value:void 0,then:function(l){a.push(l)}}}return Jc++,e.then(ad,ad),e}function ad(){if(--Jc===0&&Un!==null){Bl!==null&&(Bl.status="fulfilled");var t=Un;Un=null,$l=0,Bl=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function Zv(t,e){var a=[],l={status:"pending",value:null,reason:null,then:function(i){a.push(i)}};return t.then(function(){l.status="fulfilled",l.value=e;for(var i=0;i<a.length;i++)(0,a[i])(e)},function(i){for(l.status="rejected",l.reason=i,i=0;i<a.length;i++)(0,a[i])(void 0)}),l}var ld=j.S;j.S=function(t,e){typeof e=="object"&&e!==null&&typeof e.then=="function"&&Vv(t,e),ld!==null&&ld(t,e)};var Wa=Le(null);function Xs(){var t=Wa.current;return t!==null?t:rt.pooledCache}function su(t,e){e===null?gt(Wa,Wa.current):gt(Wa,e.pool)}function Bp(){var t=Xs();return t===null?null:{parent:Mt._currentValue,pool:t}}var di=Error(w(460)),Yp=Error(w(474)),Pu=Error(w(542)),Ic={then:function(){}};function nd(t){return t=t.status,t==="fulfilled"||t==="rejected"}function Ji(){}function Xp(t,e,a){switch(a=t[a],a===void 0?t.push(e):a!==e&&(e.then(Ji,Ji),e=a),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,ud(t),t;default:if(typeof e.status=="string")e.then(Ji,Ji);else{if(t=rt,t!==null&&100<t.shellSuspendCounter)throw Error(w(482));t=e,t.status="pending",t.then(function(l){if(e.status==="pending"){var i=e;i.status="fulfilled",i.value=l}},function(l){if(e.status==="pending"){var i=e;i.status="rejected",i.reason=l}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,ud(t),t}throw Dn=e,di}}var Dn=null;function id(){if(Dn===null)throw Error(w(459));var t=Dn;return Dn=null,t}function ud(t){if(t===di||t===Pu)throw Error(w(483))}var xa=!1;function js(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Fc(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function Ma(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function za(t,e,a){var l=t.updateQueue;if(l===null)return null;if(l=l.shared,(it&2)!==0){var i=l.pending;return i===null?e.next=e:(e.next=i.next,i.next=e),l.pending=e,e=Au(t),Lp(t,null,a),e}return Wu(t,l,e,a),Au(t)}function _n(t,e,a){if(e=e.updateQueue,e!==null&&(e=e.shared,(a&4194048)!==0)){var l=e.lanes;l&=t.pendingLanes,a|=l,e.lanes=a,rp(t,a)}}function fc(t,e){var a=t.updateQueue,l=t.alternate;if(l!==null&&(l=l.updateQueue,a===l)){var i=null,n=null;if(a=a.firstBaseUpdate,a!==null){do{var u={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};n===null?i=n=u:n=n.next=u,a=a.next}while(a!==null);n===null?i=n=e:n=n.next=e}else i=n=e;a={baseState:l.baseState,firstBaseUpdate:i,lastBaseUpdate:n,shared:l.shared,callbacks:l.callbacks},t.updateQueue=a;return}t=a.lastBaseUpdate,t===null?a.firstBaseUpdate=e:t.next=e,a.lastBaseUpdate=e}var Wc=!1;function Rn(){if(Wc){var t=Bl;if(t!==null)throw t}}function Ln(t,e,a,l){Wc=!1;var i=t.updateQueue;xa=!1;var n=i.firstBaseUpdate,u=i.lastBaseUpdate,c=i.shared.pending;if(c!==null){i.shared.pending=null;var s=c,r=s.next;s.next=null,u===null?n=r:u.next=r,u=s;var y=t.alternate;y!==null&&(y=y.updateQueue,c=y.lastBaseUpdate,c!==u&&(c===null?y.firstBaseUpdate=r:c.next=r,y.lastBaseUpdate=s))}if(n!==null){var b=i.baseState;u=0,y=r=s=null,c=n;do{var h=c.lane&-536870913,v=h!==c.lane;if(v?(tt&h)===h:(l&h)===h){h!==0&&h===$l&&(Wc=!0),y!==null&&(y=y.next={lane:0,tag:c.tag,payload:c.payload,callback:null,next:null});t:{var T=t,C=c;h=e;var M=a;switch(C.tag){case 1:if(T=C.payload,typeof T=="function"){b=T.call(M,b,h);break t}b=T;break t;case 3:T.flags=T.flags&-65537|128;case 0:if(T=C.payload,h=typeof T=="function"?T.call(M,b,h):T,h==null)break t;b=ft({},b,h);break t;case 2:xa=!0}}h=c.callback,h!==null&&(t.flags|=64,v&&(t.flags|=8192),v=i.callbacks,v===null?i.callbacks=[h]:v.push(h))}else v={lane:h,tag:c.tag,payload:c.payload,callback:c.callback,next:null},y===null?(r=y=v,s=b):y=y.next=v,u|=h;if(c=c.next,c===null){if(c=i.shared.pending,c===null)break;v=c,c=v.next,v.next=null,i.lastBaseUpdate=v,i.shared.pending=null}}while(!0);y===null&&(s=b),i.baseState=s,i.firstBaseUpdate=r,i.lastBaseUpdate=y,n===null&&(i.shared.lanes=0),Ha|=u,t.lanes=u,t.memoizedState=b}}function jp(t,e){if(typeof t!="function")throw Error(w(191,t));t.call(e)}function Qp(t,e){var a=t.callbacks;if(a!==null)for(t.callbacks=null,t=0;t<a.length;t++)jp(a[t],e)}var Jl=Le(null),Tu=Le(0);function od(t,e){t=oa,gt(Tu,t),gt(Jl,e),oa=t|e.baseLanes}function Pc(){gt(Tu,oa),gt(Jl,Jl.current)}function Qs(){oa=Tu.current,Lt(Jl),Lt(Tu)}var La=0,$=null,ct=null,wt=null,Cu=!1,Yl=!1,ll=!1,Mu=0,$n=0,Xl=null,Kv=0;function At(){throw Error(w(321))}function Vs(t,e){if(e===null)return!1;for(var a=0;a<e.length&&a<t.length;a++)if(!fe(t[a],e[a]))return!1;return!0}function Zs(t,e,a,l,i,n){return La=n,$=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,j.H=t===null||t.memoizedState===null?Sm:qm,ll=!1,n=a(l,i),ll=!1,Yl&&(n=Zp(e,a,l,i)),Vp(t),n}function Vp(t){j.H=zu;var e=ct!==null&&ct.next!==null;if(La=0,wt=ct=$=null,Cu=!1,$n=0,Xl=null,e)throw Error(w(300));t===null||Rt||(t=t.dependencies,t!==null&&wu(t)&&(Rt=!0))}function Zp(t,e,a,l){$=t;var i=0;do{if(Yl&&(Xl=null),$n=0,Yl=!1,25<=i)throw Error(w(301));if(i+=1,wt=ct=null,t.updateQueue!=null){var n=t.updateQueue;n.lastEffect=null,n.events=null,n.stores=null,n.memoCache!=null&&(n.memoCache.index=0)}j.H=ty,n=e(a,l)}while(Yl);return n}function $v(){var t=j.H,e=t.useState()[0];return e=typeof e.then=="function"?pi(e):e,t=t.useState()[0],(ct!==null?ct.memoizedState:null)!==t&&($.flags|=1024),e}function Ks(){var t=Mu!==0;return Mu=0,t}function $s(t,e,a){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~a}function Js(t){if(Cu){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}Cu=!1}La=0,wt=ct=$=null,Yl=!1,$n=Mu=0,Xl=null}function It(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return wt===null?$.memoizedState=wt=t:wt=wt.next=t,wt}function Tt(){if(ct===null){var t=$.alternate;t=t!==null?t.memoizedState:null}else t=ct.next;var e=wt===null?$.memoizedState:wt.next;if(e!==null)wt=e,ct=t;else{if(t===null)throw $.alternate===null?Error(w(467)):Error(w(310));ct=t,t={memoizedState:ct.memoizedState,baseState:ct.baseState,baseQueue:ct.baseQueue,queue:ct.queue,next:null},wt===null?$.memoizedState=wt=t:wt=wt.next=t}return wt}function Is(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function pi(t){var e=$n;return $n+=1,Xl===null&&(Xl=[]),t=Xp(Xl,t,e),e=$,(wt===null?e.memoizedState:wt.next)===null&&(e=e.alternate,j.H=e===null||e.memoizedState===null?Sm:qm),t}function to(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return pi(t);if(t.$$typeof===Fe)return Qt(t)}throw Error(w(438,String(t)))}function Fs(t){var e=null,a=$.updateQueue;if(a!==null&&(e=a.memoCache),e==null){var l=$.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(e={data:l.data.map(function(i){return i.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),a===null&&(a=Is(),$.updateQueue=a),a.memoCache=e,a=e.data[e.index],a===void 0)for(a=e.data[e.index]=Array(t),l=0;l<t;l++)a[l]=Ug;return e.index++,a}function ia(t,e){return typeof e=="function"?e(t):e}function ru(t){var e=Tt();return Ws(e,ct,t)}function Ws(t,e,a){var l=t.queue;if(l===null)throw Error(w(311));l.lastRenderedReducer=a;var i=t.baseQueue,n=l.pending;if(n!==null){if(i!==null){var u=i.next;i.next=n.next,n.next=u}e.baseQueue=i=n,l.pending=null}if(n=t.baseState,i===null)t.memoizedState=n;else{e=i.next;var c=u=null,s=null,r=e,y=!1;do{var b=r.lane&-536870913;if(b!==r.lane?(tt&b)===b:(La&b)===b){var h=r.revertLane;if(h===0)s!==null&&(s=s.next={lane:0,revertLane:0,action:r.action,hasEagerState:r.hasEagerState,eagerState:r.eagerState,next:null}),b===$l&&(y=!0);else if((La&h)===h){r=r.next,h===$l&&(y=!0);continue}else b={lane:0,revertLane:r.revertLane,action:r.action,hasEagerState:r.hasEagerState,eagerState:r.eagerState,next:null},s===null?(c=s=b,u=n):s=s.next=b,$.lanes|=h,Ha|=h;b=r.action,ll&&a(n,b),n=r.hasEagerState?r.eagerState:a(n,b)}else h={lane:b,revertLane:r.revertLane,action:r.action,hasEagerState:r.hasEagerState,eagerState:r.eagerState,next:null},s===null?(c=s=h,u=n):s=s.next=h,$.lanes|=b,Ha|=b;r=r.next}while(r!==null&&r!==e);if(s===null?u=n:s.next=c,!fe(n,t.memoizedState)&&(Rt=!0,y&&(a=Bl,a!==null)))throw a;t.memoizedState=n,t.baseState=u,t.baseQueue=s,l.lastRenderedState=n}return i===null&&(l.lanes=0),[t.memoizedState,l.dispatch]}function dc(t){var e=Tt(),a=e.queue;if(a===null)throw Error(w(311));a.lastRenderedReducer=t;var l=a.dispatch,i=a.pending,n=e.memoizedState;if(i!==null){a.pending=null;var u=i=i.next;do n=t(n,u.action),u=u.next;while(u!==i);fe(n,e.memoizedState)||(Rt=!0),e.memoizedState=n,e.baseQueue===null&&(e.baseState=n),a.lastRenderedState=n}return[n,l]}function Kp(t,e,a){var l=$,i=Tt(),n=et;if(n){if(a===void 0)throw Error(w(407));a=a()}else a=e();var u=!fe((ct||i).memoizedState,a);u&&(i.memoizedState=a,Rt=!0),i=i.queue;var c=Ip.bind(null,l,i,t);if(mi(2048,8,c,[t]),i.getSnapshot!==e||u||wt!==null&&wt.memoizedState.tag&1){if(l.flags|=2048,Il(9,eo(),Jp.bind(null,l,i,a,e),null),rt===null)throw Error(w(349));n||(La&124)!==0||$p(l,e,a)}return a}function $p(t,e,a){t.flags|=16384,t={getSnapshot:e,value:a},e=$.updateQueue,e===null?(e=Is(),$.updateQueue=e,e.stores=[t]):(a=e.stores,a===null?e.stores=[t]:a.push(t))}function Jp(t,e,a,l){e.value=a,e.getSnapshot=l,Fp(e)&&Wp(t)}function Ip(t,e,a){return a(function(){Fp(e)&&Wp(t)})}function Fp(t){var e=t.getSnapshot;t=t.value;try{var a=e();return!fe(t,a)}catch{return!0}}function Wp(t){var e=nn(t,2);e!==null&&re(e,t,2)}function ts(t){var e=It();if(typeof t=="function"){var a=t;if(t=a(),ll){Na(!0);try{a()}finally{Na(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ia,lastRenderedState:t},e}function Pp(t,e,a,l){return t.baseState=a,Ws(t,ct,typeof l=="function"?l:ia)}function Jv(t,e,a,l,i){if(ao(t))throw Error(w(485));if(t=e.action,t!==null){var n={payload:i,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(u){n.listeners.push(u)}};j.T!==null?a(!0):n.isTransition=!1,l(n),a=e.pending,a===null?(n.next=e.pending=n,tm(e,n)):(n.next=a.next,e.pending=a.next=n)}}function tm(t,e){var a=e.action,l=e.payload,i=t.state;if(e.isTransition){var n=j.T,u={};j.T=u;try{var c=a(i,l),s=j.S;s!==null&&s(u,c),cd(t,e,c)}catch(r){es(t,e,r)}finally{j.T=n}}else try{n=a(i,l),cd(t,e,n)}catch(r){es(t,e,r)}}function cd(t,e,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(l){sd(t,e,l)},function(l){return es(t,e,l)}):sd(t,e,a)}function sd(t,e,a){e.status="fulfilled",e.value=a,em(e),t.state=a,e=t.pending,e!==null&&(a=e.next,a===e?t.pending=null:(a=a.next,e.next=a,tm(t,a)))}function es(t,e,a){var l=t.pending;if(t.pending=null,l!==null){l=l.next;do e.status="rejected",e.reason=a,em(e),e=e.next;while(e!==l)}t.action=null}function em(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function am(t,e){return e}function rd(t,e){if(et){var a=rt.formState;if(a!==null){t:{var l=$;if(et){if(xt){e:{for(var i=xt,n=Oe;i.nodeType!==8;){if(!n){i=null;break e}if(i=Te(i.nextSibling),i===null){i=null;break e}}n=i.data,i=n==="F!"||n==="F"?i:null}if(i){xt=Te(i.nextSibling),l=i.data==="F!";break t}}el(l)}l=!1}l&&(e=a[0])}}return a=It(),a.memoizedState=a.baseState=e,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:am,lastRenderedState:e},a.queue=l,a=ym.bind(null,$,l),l.dispatch=a,l=ts(!1),n=ar.bind(null,$,!1,l.queue),l=It(),i={state:e,dispatch:null,action:t,pending:null},l.queue=i,a=Jv.bind(null,$,i,n,a),i.dispatch=a,l.memoizedState=t,[e,a,!1]}function fd(t){var e=Tt();return lm(e,ct,t)}function lm(t,e,a){if(e=Ws(t,e,am)[0],t=ru(ia)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var l=pi(e)}catch(u){throw u===di?Pu:u}else l=e;e=Tt();var i=e.queue,n=i.dispatch;return a!==e.memoizedState&&($.flags|=2048,Il(9,eo(),Iv.bind(null,i,a),null)),[l,n,t]}function Iv(t,e){t.action=e}function dd(t){var e=Tt(),a=ct;if(a!==null)return lm(e,a,t);Tt(),e=e.memoizedState,a=Tt();var l=a.queue.dispatch;return a.memoizedState=t,[e,l,!1]}function Il(t,e,a,l){return t={tag:t,create:a,deps:l,inst:e,next:null},e=$.updateQueue,e===null&&(e=Is(),$.updateQueue=e),a=e.lastEffect,a===null?e.lastEffect=t.next=t:(l=a.next,a.next=t,t.next=l,e.lastEffect=t),t}function eo(){return{destroy:void 0,resource:void 0}}function nm(){return Tt().memoizedState}function fu(t,e,a,l){var i=It();l=l===void 0?null:l,$.flags|=t,i.memoizedState=Il(1|e,eo(),a,l)}function mi(t,e,a,l){var i=Tt();l=l===void 0?null:l;var n=i.memoizedState.inst;ct!==null&&l!==null&&Vs(l,ct.memoizedState.deps)?i.memoizedState=Il(e,n,a,l):($.flags|=t,i.memoizedState=Il(1|e,n,a,l))}function pd(t,e){fu(8390656,8,t,e)}function im(t,e){mi(2048,8,t,e)}function um(t,e){return mi(4,2,t,e)}function om(t,e){return mi(4,4,t,e)}function cm(t,e){if(typeof e=="function"){t=t();var a=e(t);return function(){typeof a=="function"?a():e(null)}}if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function sm(t,e,a){a=a!=null?a.concat([t]):null,mi(4,4,cm.bind(null,e,t),a)}function Ps(){}function rm(t,e){var a=Tt();e=e===void 0?null:e;var l=a.memoizedState;return e!==null&&Vs(e,l[1])?l[0]:(a.memoizedState=[t,e],t)}function fm(t,e){var a=Tt();e=e===void 0?null:e;var l=a.memoizedState;if(e!==null&&Vs(e,l[1]))return l[0];if(l=t(),ll){Na(!0);try{t()}finally{Na(!1)}}return a.memoizedState=[l,e],l}function tr(t,e,a){return a===void 0||(La&1073741824)!==0?t.memoizedState=e:(t.memoizedState=a,t=e0(),$.lanes|=t,Ha|=t,a)}function dm(t,e,a,l){return fe(a,e)?a:Jl.current!==null?(t=tr(t,a,l),fe(t,e)||(Rt=!0),t):(La&42)===0?(Rt=!0,t.memoizedState=a):(t=e0(),$.lanes|=t,Ha|=t,e)}function pm(t,e,a,l,i){var n=at.p;at.p=n!==0&&8>n?n:8;var u=j.T,c={};j.T=c,ar(t,!1,e,a);try{var s=i(),r=j.S;if(r!==null&&r(c,s),s!==null&&typeof s=="object"&&typeof s.then=="function"){var y=Zv(s,l);kn(t,e,y,se(t))}else kn(t,e,l,se(t))}catch(b){kn(t,e,{then:function(){},status:"rejected",reason:b},se())}finally{at.p=n,j.T=u}}function Fv(){}function as(t,e,a,l){if(t.tag!==5)throw Error(w(476));var i=mm(t).queue;pm(t,i,e,$a,a===null?Fv:function(){return hm(t),a(l)})}function mm(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:$a,baseState:$a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ia,lastRenderedState:$a},next:null};var a={};return e.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ia,lastRenderedState:a},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function hm(t){var e=mm(t).next.queue;kn(t,e,{},se())}function er(){return Qt(Pn)}function gm(){return Tt().memoizedState}function vm(){return Tt().memoizedState}function Wv(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var a=se();t=Ma(a);var l=za(e,t,a);l!==null&&(re(l,e,a),_n(l,e,a)),e={cache:Ys()},t.payload=e;return}e=e.return}}function Pv(t,e,a){var l=se();a={lane:l,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null},ao(t)?xm(e,a):(a=ks(t,e,a,l),a!==null&&(re(a,t,l),bm(a,e,l)))}function ym(t,e,a){var l=se();kn(t,e,a,l)}function kn(t,e,a,l){var i={lane:l,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null};if(ao(t))xm(e,i);else{var n=t.alternate;if(t.lanes===0&&(n===null||n.lanes===0)&&(n=e.lastRenderedReducer,n!==null))try{var u=e.lastRenderedState,c=n(u,a);if(i.hasEagerState=!0,i.eagerState=c,fe(c,u))return Wu(t,e,i,0),rt===null&&Fu(),!1}catch{}finally{}if(a=ks(t,e,i,l),a!==null)return re(a,t,l),bm(a,e,l),!0}return!1}function ar(t,e,a,l){if(l={lane:2,revertLane:rr(),action:l,hasEagerState:!1,eagerState:null,next:null},ao(t)){if(e)throw Error(w(479))}else e=ks(t,a,l,2),e!==null&&re(e,t,2)}function ao(t){var e=t.alternate;return t===$||e!==null&&e===$}function xm(t,e){Yl=Cu=!0;var a=t.pending;a===null?e.next=e:(e.next=a.next,a.next=e),t.pending=e}function bm(t,e,a){if((a&4194048)!==0){var l=e.lanes;l&=t.pendingLanes,a|=l,e.lanes=a,rp(t,a)}}var zu={readContext:Qt,use:to,useCallback:At,useContext:At,useEffect:At,useImperativeHandle:At,useLayoutEffect:At,useInsertionEffect:At,useMemo:At,useReducer:At,useRef:At,useState:At,useDebugValue:At,useDeferredValue:At,useTransition:At,useSyncExternalStore:At,useId:At,useHostTransitionStatus:At,useFormState:At,useActionState:At,useOptimistic:At,useMemoCache:At,useCacheRefresh:At},Sm={readContext:Qt,use:to,useCallback:function(t,e){return It().memoizedState=[t,e===void 0?null:e],t},useContext:Qt,useEffect:pd,useImperativeHandle:function(t,e,a){a=a!=null?a.concat([t]):null,fu(4194308,4,cm.bind(null,e,t),a)},useLayoutEffect:function(t,e){return fu(4194308,4,t,e)},useInsertionEffect:function(t,e){fu(4,2,t,e)},useMemo:function(t,e){var a=It();e=e===void 0?null:e;var l=t();if(ll){Na(!0);try{t()}finally{Na(!1)}}return a.memoizedState=[l,e],l},useReducer:function(t,e,a){var l=It();if(a!==void 0){var i=a(e);if(ll){Na(!0);try{a(e)}finally{Na(!1)}}}else i=e;return l.memoizedState=l.baseState=i,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:i},l.queue=t,t=t.dispatch=Pv.bind(null,$,t),[l.memoizedState,t]},useRef:function(t){var e=It();return t={current:t},e.memoizedState=t},useState:function(t){t=ts(t);var e=t.queue,a=ym.bind(null,$,e);return e.dispatch=a,[t.memoizedState,a]},useDebugValue:Ps,useDeferredValue:function(t,e){var a=It();return tr(a,t,e)},useTransition:function(){var t=ts(!1);return t=pm.bind(null,$,t.queue,!0,!1),It().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,a){var l=$,i=It();if(et){if(a===void 0)throw Error(w(407));a=a()}else{if(a=e(),rt===null)throw Error(w(349));(tt&124)!==0||$p(l,e,a)}i.memoizedState=a;var n={value:a,getSnapshot:e};return i.queue=n,pd(Ip.bind(null,l,n,t),[t]),l.flags|=2048,Il(9,eo(),Jp.bind(null,l,n,a,e),null),a},useId:function(){var t=It(),e=rt.identifierPrefix;if(et){var a=Pe,l=We;a=(l&~(1<<32-ce(l)-1)).toString(32)+a,e="\xAB"+e+"R"+a,a=Mu++,0<a&&(e+="H"+a.toString(32)),e+="\xBB"}else a=Kv++,e="\xAB"+e+"r"+a.toString(32)+"\xBB";return t.memoizedState=e},useHostTransitionStatus:er,useFormState:rd,useActionState:rd,useOptimistic:function(t){var e=It();e.memoizedState=e.baseState=t;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=a,e=ar.bind(null,$,!0,a),a.dispatch=e,[t,e]},useMemoCache:Fs,useCacheRefresh:function(){return It().memoizedState=Wv.bind(null,$)}},qm={readContext:Qt,use:to,useCallback:rm,useContext:Qt,useEffect:im,useImperativeHandle:sm,useInsertionEffect:um,useLayoutEffect:om,useMemo:fm,useReducer:ru,useRef:nm,useState:function(){return ru(ia)},useDebugValue:Ps,useDeferredValue:function(t,e){var a=Tt();return dm(a,ct.memoizedState,t,e)},useTransition:function(){var t=ru(ia)[0],e=Tt().memoizedState;return[typeof t=="boolean"?t:pi(t),e]},useSyncExternalStore:Kp,useId:gm,useHostTransitionStatus:er,useFormState:fd,useActionState:fd,useOptimistic:function(t,e){var a=Tt();return Pp(a,ct,t,e)},useMemoCache:Fs,useCacheRefresh:vm},ty={readContext:Qt,use:to,useCallback:rm,useContext:Qt,useEffect:im,useImperativeHandle:sm,useInsertionEffect:um,useLayoutEffect:om,useMemo:fm,useReducer:dc,useRef:nm,useState:function(){return dc(ia)},useDebugValue:Ps,useDeferredValue:function(t,e){var a=Tt();return ct===null?tr(a,t,e):dm(a,ct.memoizedState,t,e)},useTransition:function(){var t=dc(ia)[0],e=Tt().memoizedState;return[typeof t=="boolean"?t:pi(t),e]},useSyncExternalStore:Kp,useId:gm,useHostTransitionStatus:er,useFormState:dd,useActionState:dd,useOptimistic:function(t,e){var a=Tt();return ct!==null?Pp(a,ct,t,e):(a.baseState=t,[t,a.queue.dispatch])},useMemoCache:Fs,useCacheRefresh:vm},jl=null,Jn=0;function Ii(t){var e=Jn;return Jn+=1,jl===null&&(jl=[]),Xp(jl,t,e)}function bn(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function Fi(t,e){throw e.$$typeof===zg?Error(w(525)):(t=Object.prototype.toString.call(e),Error(w(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function md(t){var e=t._init;return e(t._payload)}function Am(t){function e(f,d){if(t){var g=f.deletions;g===null?(f.deletions=[d],f.flags|=16):g.push(d)}}function a(f,d){if(!t)return null;for(;d!==null;)e(f,d),d=d.sibling;return null}function l(f){for(var d=new Map;f!==null;)f.key!==null?d.set(f.key,f):d.set(f.index,f),f=f.sibling;return d}function i(f,d){return f=aa(f,d),f.index=0,f.sibling=null,f}function n(f,d,g){return f.index=g,t?(g=f.alternate,g!==null?(g=g.index,g<d?(f.flags|=67108866,d):g):(f.flags|=67108866,d)):(f.flags|=1048576,d)}function u(f){return t&&f.alternate===null&&(f.flags|=67108866),f}function c(f,d,g,S){return d===null||d.tag!==6?(d=sc(g,f.mode,S),d.return=f,d):(d=i(d,g),d.return=f,d)}function s(f,d,g,S){var q=g.type;return q===El?y(f,d,g.props.children,S,g.key):d!==null&&(d.elementType===q||typeof q=="object"&&q!==null&&q.$$typeof===ya&&md(q)===d.type)?(d=i(d,g.props),bn(d,g),d.return=f,d):(d=cu(g.type,g.key,g.props,null,f.mode,S),bn(d,g),d.return=f,d)}function r(f,d,g,S){return d===null||d.tag!==4||d.stateNode.containerInfo!==g.containerInfo||d.stateNode.implementation!==g.implementation?(d=rc(g,f.mode,S),d.return=f,d):(d=i(d,g.children||[]),d.return=f,d)}function y(f,d,g,S,q){return d===null||d.tag!==7?(d=Ja(g,f.mode,S,q),d.return=f,d):(d=i(d,g),d.return=f,d)}function b(f,d,g){if(typeof d=="string"&&d!==""||typeof d=="number"||typeof d=="bigint")return d=sc(""+d,f.mode,g),d.return=f,d;if(typeof d=="object"&&d!==null){switch(d.$$typeof){case Yi:return g=cu(d.type,d.key,d.props,null,f.mode,g),bn(g,d),g.return=f,g;case En:return d=rc(d,f.mode,g),d.return=f,d;case ya:var S=d._init;return d=S(d._payload),b(f,d,g)}if(wn(d)||vn(d))return d=Ja(d,f.mode,g,null),d.return=f,d;if(typeof d.then=="function")return b(f,Ii(d),g);if(d.$$typeof===Fe)return b(f,$i(f,d),g);Fi(f,d)}return null}function h(f,d,g,S){var q=d!==null?d.key:null;if(typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint")return q!==null?null:c(f,d,""+g,S);if(typeof g=="object"&&g!==null){switch(g.$$typeof){case Yi:return g.key===q?s(f,d,g,S):null;case En:return g.key===q?r(f,d,g,S):null;case ya:return q=g._init,g=q(g._payload),h(f,d,g,S)}if(wn(g)||vn(g))return q!==null?null:y(f,d,g,S,null);if(typeof g.then=="function")return h(f,d,Ii(g),S);if(g.$$typeof===Fe)return h(f,d,$i(f,g),S);Fi(f,g)}return null}function v(f,d,g,S,q){if(typeof S=="string"&&S!==""||typeof S=="number"||typeof S=="bigint")return f=f.get(g)||null,c(d,f,""+S,q);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case Yi:return f=f.get(S.key===null?g:S.key)||null,s(d,f,S,q);case En:return f=f.get(S.key===null?g:S.key)||null,r(d,f,S,q);case ya:var O=S._init;return S=O(S._payload),v(f,d,g,S,q)}if(wn(S)||vn(S))return f=f.get(g)||null,y(d,f,S,q,null);if(typeof S.then=="function")return v(f,d,g,Ii(S),q);if(S.$$typeof===Fe)return v(f,d,g,$i(d,S),q);Fi(d,S)}return null}function T(f,d,g,S){for(var q=null,O=null,A=d,k=d=0,G=null;A!==null&&k<g.length;k++){A.index>k?(G=A,A=null):G=A.sibling;var B=h(f,A,g[k],S);if(B===null){A===null&&(A=G);break}t&&A&&B.alternate===null&&e(f,A),d=n(B,d,k),O===null?q=B:O.sibling=B,O=B,A=G}if(k===g.length)return a(f,A),et&&Za(f,k),q;if(A===null){for(;k<g.length;k++)A=b(f,g[k],S),A!==null&&(d=n(A,d,k),O===null?q=A:O.sibling=A,O=A);return et&&Za(f,k),q}for(A=l(A);k<g.length;k++)G=v(A,f,k,g[k],S),G!==null&&(t&&G.alternate!==null&&A.delete(G.key===null?k:G.key),d=n(G,d,k),O===null?q=G:O.sibling=G,O=G);return t&&A.forEach(function(J){return e(f,J)}),et&&Za(f,k),q}function C(f,d,g,S){if(g==null)throw Error(w(151));for(var q=null,O=null,A=d,k=d=0,G=null,B=g.next();A!==null&&!B.done;k++,B=g.next()){A.index>k?(G=A,A=null):G=A.sibling;var J=h(f,A,B.value,S);if(J===null){A===null&&(A=G);break}t&&A&&J.alternate===null&&e(f,A),d=n(J,d,k),O===null?q=J:O.sibling=J,O=J,A=G}if(B.done)return a(f,A),et&&Za(f,k),q;if(A===null){for(;!B.done;k++,B=g.next())B=b(f,B.value,S),B!==null&&(d=n(B,d,k),O===null?q=B:O.sibling=B,O=B);return et&&Za(f,k),q}for(A=l(A);!B.done;k++,B=g.next())B=v(A,f,k,B.value,S),B!==null&&(t&&B.alternate!==null&&A.delete(B.key===null?k:B.key),d=n(B,d,k),O===null?q=B:O.sibling=B,O=B);return t&&A.forEach(function(ee){return e(f,ee)}),et&&Za(f,k),q}function M(f,d,g,S){if(typeof g=="object"&&g!==null&&g.type===El&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case Yi:t:{for(var q=g.key;d!==null;){if(d.key===q){if(q=g.type,q===El){if(d.tag===7){a(f,d.sibling),S=i(d,g.props.children),S.return=f,f=S;break t}}else if(d.elementType===q||typeof q=="object"&&q!==null&&q.$$typeof===ya&&md(q)===d.type){a(f,d.sibling),S=i(d,g.props),bn(S,g),S.return=f,f=S;break t}a(f,d);break}else e(f,d);d=d.sibling}g.type===El?(S=Ja(g.props.children,f.mode,S,g.key),S.return=f,f=S):(S=cu(g.type,g.key,g.props,null,f.mode,S),bn(S,g),S.return=f,f=S)}return u(f);case En:t:{for(q=g.key;d!==null;){if(d.key===q)if(d.tag===4&&d.stateNode.containerInfo===g.containerInfo&&d.stateNode.implementation===g.implementation){a(f,d.sibling),S=i(d,g.children||[]),S.return=f,f=S;break t}else{a(f,d);break}else e(f,d);d=d.sibling}S=rc(g,f.mode,S),S.return=f,f=S}return u(f);case ya:return q=g._init,g=q(g._payload),M(f,d,g,S)}if(wn(g))return T(f,d,g,S);if(vn(g)){if(q=vn(g),typeof q!="function")throw Error(w(150));return g=q.call(g),C(f,d,g,S)}if(typeof g.then=="function")return M(f,d,Ii(g),S);if(g.$$typeof===Fe)return M(f,d,$i(f,g),S);Fi(f,g)}return typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint"?(g=""+g,d!==null&&d.tag===6?(a(f,d.sibling),S=i(d,g),S.return=f,f=S):(a(f,d),S=sc(g,f.mode,S),S.return=f,f=S),u(f)):a(f,d)}return function(f,d,g,S){try{Jn=0;var q=M(f,d,g,S);return jl=null,q}catch(A){if(A===di||A===Pu)throw A;var O=ue(29,A,null,f.mode);return O.lanes=S,O.return=f,O}finally{}}}var Fl=Am(!0),Nm=Am(!1),qe=Le(null),Re=null;function Sa(t){var e=t.alternate;gt(zt,zt.current&1),gt(qe,t),Re===null&&(e===null||Jl.current!==null||e.memoizedState!==null)&&(Re=t)}function Em(t){if(t.tag===22){if(gt(zt,zt.current),gt(qe,t),Re===null){var e=t.alternate;e!==null&&e.memoizedState!==null&&(Re=t)}}else qa(t)}function qa(){gt(zt,zt.current),gt(qe,qe.current)}function ea(t){Lt(qe),Re===t&&(Re=null),Lt(zt)}var zt=Le(0);function Ou(t){for(var e=t;e!==null;){if(e.tag===13){var a=e.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||a.data==="$?"||xs(a)))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}function pc(t,e,a,l){e=t.memoizedState,a=a(l,e),a=a==null?e:ft({},e,a),t.memoizedState=a,t.lanes===0&&(t.updateQueue.baseState=a)}var ls={enqueueSetState:function(t,e,a){t=t._reactInternals;var l=se(),i=Ma(l);i.payload=e,a!=null&&(i.callback=a),e=za(t,i,l),e!==null&&(re(e,t,l),_n(e,t,l))},enqueueReplaceState:function(t,e,a){t=t._reactInternals;var l=se(),i=Ma(l);i.tag=1,i.payload=e,a!=null&&(i.callback=a),e=za(t,i,l),e!==null&&(re(e,t,l),_n(e,t,l))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var a=se(),l=Ma(a);l.tag=2,e!=null&&(l.callback=e),e=za(t,l,a),e!==null&&(re(e,t,a),_n(e,t,a))}};function hd(t,e,a,l,i,n,u){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(l,n,u):e.prototype&&e.prototype.isPureReactComponent?!Zn(a,l)||!Zn(i,n):!0}function gd(t,e,a,l){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(a,l),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(a,l),e.state!==t&&ls.enqueueReplaceState(e,e.state,null)}function nl(t,e){var a=e;if("ref"in e){a={};for(var l in e)l!=="ref"&&(a[l]=e[l])}if(t=t.defaultProps){a===e&&(a=ft({},a));for(var i in t)a[i]===void 0&&(a[i]=t[i])}return a}var Uu=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)};function wm(t){Uu(t)}function Tm(t){console.error(t)}function Cm(t){Uu(t)}function Du(t,e){try{var a=t.onUncaughtError;a(e.value,{componentStack:e.stack})}catch(l){setTimeout(function(){throw l})}}function vd(t,e,a){try{var l=t.onCaughtError;l(a.value,{componentStack:a.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(i){setTimeout(function(){throw i})}}function ns(t,e,a){return a=Ma(a),a.tag=3,a.payload={element:null},a.callback=function(){Du(t,e)},a}function Mm(t){return t=Ma(t),t.tag=3,t}function zm(t,e,a,l){var i=a.type.getDerivedStateFromError;if(typeof i=="function"){var n=l.value;t.payload=function(){return i(n)},t.callback=function(){vd(e,a,l)}}var u=a.stateNode;u!==null&&typeof u.componentDidCatch=="function"&&(t.callback=function(){vd(e,a,l),typeof i!="function"&&(Oa===null?Oa=new Set([this]):Oa.add(this));var c=l.stack;this.componentDidCatch(l.value,{componentStack:c!==null?c:""})})}function ey(t,e,a,l,i){if(a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(e=a.alternate,e!==null&&ri(e,a,i,!0),a=qe.current,a!==null){switch(a.tag){case 13:return Re===null?ds():a.alternate===null&&bt===0&&(bt=3),a.flags&=-257,a.flags|=65536,a.lanes=i,l===Ic?a.flags|=16384:(e=a.updateQueue,e===null?a.updateQueue=new Set([l]):e.add(l),Nc(t,l,i)),!1;case 22:return a.flags|=65536,l===Ic?a.flags|=16384:(e=a.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([l])},a.updateQueue=e):(a=e.retryQueue,a===null?e.retryQueue=new Set([l]):a.add(l)),Nc(t,l,i)),!1}throw Error(w(435,a.tag))}return Nc(t,l,i),ds(),!1}if(et)return e=qe.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=i,l!==Vc&&(t=Error(w(422),{cause:l}),Kn(be(t,a)))):(l!==Vc&&(e=Error(w(423),{cause:l}),Kn(be(e,a))),t=t.current.alternate,t.flags|=65536,i&=-i,t.lanes|=i,l=be(l,a),i=ns(t.stateNode,l,i),fc(t,i),bt!==4&&(bt=2)),!1;var n=Error(w(520),{cause:l});if(n=be(n,a),Bn===null?Bn=[n]:Bn.push(n),bt!==4&&(bt=2),e===null)return!0;l=be(l,a),a=e;do{switch(a.tag){case 3:return a.flags|=65536,t=i&-i,a.lanes|=t,t=ns(a.stateNode,l,t),fc(a,t),!1;case 1:if(e=a.type,n=a.stateNode,(a.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||n!==null&&typeof n.componentDidCatch=="function"&&(Oa===null||!Oa.has(n))))return a.flags|=65536,i&=-i,a.lanes|=i,i=Mm(i),zm(i,t,a,l),fc(a,i),!1}a=a.return}while(a!==null);return!1}var Om=Error(w(461)),Rt=!1;function Ht(t,e,a,l){e.child=t===null?Nm(e,null,a,l):Fl(e,t.child,a,l)}function yd(t,e,a,l,i){a=a.render;var n=e.ref;if("ref"in l){var u={};for(var c in l)c!=="ref"&&(u[c]=l[c])}else u=l;return al(e),l=Zs(t,e,a,u,n,i),c=Ks(),t!==null&&!Rt?($s(t,e,i),ua(t,e,i)):(et&&c&&Gs(e),e.flags|=1,Ht(t,e,l,i),e.child)}function xd(t,e,a,l,i){if(t===null){var n=a.type;return typeof n=="function"&&!Hs(n)&&n.defaultProps===void 0&&a.compare===null?(e.tag=15,e.type=n,Um(t,e,n,l,i)):(t=cu(a.type,null,l,e,e.mode,i),t.ref=e.ref,t.return=e,e.child=t)}if(n=t.child,!lr(t,i)){var u=n.memoizedProps;if(a=a.compare,a=a!==null?a:Zn,a(u,l)&&t.ref===e.ref)return ua(t,e,i)}return e.flags|=1,t=aa(n,l),t.ref=e.ref,t.return=e,e.child=t}function Um(t,e,a,l,i){if(t!==null){var n=t.memoizedProps;if(Zn(n,l)&&t.ref===e.ref)if(Rt=!1,e.pendingProps=l=n,lr(t,i))(t.flags&131072)!==0&&(Rt=!0);else return e.lanes=t.lanes,ua(t,e,i)}return is(t,e,a,l,i)}function Dm(t,e,a){var l=e.pendingProps,i=l.children,n=t!==null?t.memoizedState:null;if(l.mode==="hidden"){if((e.flags&128)!==0){if(l=n!==null?n.baseLanes|a:a,t!==null){for(i=e.child=t.child,n=0;i!==null;)n=n|i.lanes|i.childLanes,i=i.sibling;e.childLanes=n&~l}else e.childLanes=0,e.child=null;return bd(t,e,l,a)}if((a&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&su(e,n!==null?n.cachePool:null),n!==null?od(e,n):Pc(),Em(e);else return e.lanes=e.childLanes=536870912,bd(t,e,n!==null?n.baseLanes|a:a,a)}else n!==null?(su(e,n.cachePool),od(e,n),qa(e),e.memoizedState=null):(t!==null&&su(e,null),Pc(),qa(e));return Ht(t,e,i,a),e.child}function bd(t,e,a,l){var i=Xs();return i=i===null?null:{parent:Mt._currentValue,pool:i},e.memoizedState={baseLanes:a,cachePool:i},t!==null&&su(e,null),Pc(),Em(e),t!==null&&ri(t,e,l,!0),null}function du(t,e){var a=e.ref;if(a===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error(w(284));(t===null||t.ref!==a)&&(e.flags|=4194816)}}function is(t,e,a,l,i){return al(e),a=Zs(t,e,a,l,void 0,i),l=Ks(),t!==null&&!Rt?($s(t,e,i),ua(t,e,i)):(et&&l&&Gs(e),e.flags|=1,Ht(t,e,a,i),e.child)}function Sd(t,e,a,l,i,n){return al(e),e.updateQueue=null,a=Zp(e,l,a,i),Vp(t),l=Ks(),t!==null&&!Rt?($s(t,e,n),ua(t,e,n)):(et&&l&&Gs(e),e.flags|=1,Ht(t,e,a,n),e.child)}function qd(t,e,a,l,i){if(al(e),e.stateNode===null){var n=Dl,u=a.contextType;typeof u=="object"&&u!==null&&(n=Qt(u)),n=new a(l,n),e.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=ls,e.stateNode=n,n._reactInternals=e,n=e.stateNode,n.props=l,n.state=e.memoizedState,n.refs={},js(e),u=a.contextType,n.context=typeof u=="object"&&u!==null?Qt(u):Dl,n.state=e.memoizedState,u=a.getDerivedStateFromProps,typeof u=="function"&&(pc(e,a,u,l),n.state=e.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof n.getSnapshotBeforeUpdate=="function"||typeof n.UNSAFE_componentWillMount!="function"&&typeof n.componentWillMount!="function"||(u=n.state,typeof n.componentWillMount=="function"&&n.componentWillMount(),typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount(),u!==n.state&&ls.enqueueReplaceState(n,n.state,null),Ln(e,l,n,i),Rn(),n.state=e.memoizedState),typeof n.componentDidMount=="function"&&(e.flags|=4194308),l=!0}else if(t===null){n=e.stateNode;var c=e.memoizedProps,s=nl(a,c);n.props=s;var r=n.context,y=a.contextType;u=Dl,typeof y=="object"&&y!==null&&(u=Qt(y));var b=a.getDerivedStateFromProps;y=typeof b=="function"||typeof n.getSnapshotBeforeUpdate=="function",c=e.pendingProps!==c,y||typeof n.UNSAFE_componentWillReceiveProps!="function"&&typeof n.componentWillReceiveProps!="function"||(c||r!==u)&&gd(e,n,l,u),xa=!1;var h=e.memoizedState;n.state=h,Ln(e,l,n,i),Rn(),r=e.memoizedState,c||h!==r||xa?(typeof b=="function"&&(pc(e,a,b,l),r=e.memoizedState),(s=xa||hd(e,a,s,l,h,r,u))?(y||typeof n.UNSAFE_componentWillMount!="function"&&typeof n.componentWillMount!="function"||(typeof n.componentWillMount=="function"&&n.componentWillMount(),typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount()),typeof n.componentDidMount=="function"&&(e.flags|=4194308)):(typeof n.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=l,e.memoizedState=r),n.props=l,n.state=r,n.context=u,l=s):(typeof n.componentDidMount=="function"&&(e.flags|=4194308),l=!1)}else{n=e.stateNode,Fc(t,e),u=e.memoizedProps,y=nl(a,u),n.props=y,b=e.pendingProps,h=n.context,r=a.contextType,s=Dl,typeof r=="object"&&r!==null&&(s=Qt(r)),c=a.getDerivedStateFromProps,(r=typeof c=="function"||typeof n.getSnapshotBeforeUpdate=="function")||typeof n.UNSAFE_componentWillReceiveProps!="function"&&typeof n.componentWillReceiveProps!="function"||(u!==b||h!==s)&&gd(e,n,l,s),xa=!1,h=e.memoizedState,n.state=h,Ln(e,l,n,i),Rn();var v=e.memoizedState;u!==b||h!==v||xa||t!==null&&t.dependencies!==null&&wu(t.dependencies)?(typeof c=="function"&&(pc(e,a,c,l),v=e.memoizedState),(y=xa||hd(e,a,y,l,h,v,s)||t!==null&&t.dependencies!==null&&wu(t.dependencies))?(r||typeof n.UNSAFE_componentWillUpdate!="function"&&typeof n.componentWillUpdate!="function"||(typeof n.componentWillUpdate=="function"&&n.componentWillUpdate(l,v,s),typeof n.UNSAFE_componentWillUpdate=="function"&&n.UNSAFE_componentWillUpdate(l,v,s)),typeof n.componentDidUpdate=="function"&&(e.flags|=4),typeof n.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof n.componentDidUpdate!="function"||u===t.memoizedProps&&h===t.memoizedState||(e.flags|=4),typeof n.getSnapshotBeforeUpdate!="function"||u===t.memoizedProps&&h===t.memoizedState||(e.flags|=1024),e.memoizedProps=l,e.memoizedState=v),n.props=l,n.state=v,n.context=s,l=y):(typeof n.componentDidUpdate!="function"||u===t.memoizedProps&&h===t.memoizedState||(e.flags|=4),typeof n.getSnapshotBeforeUpdate!="function"||u===t.memoizedProps&&h===t.memoizedState||(e.flags|=1024),l=!1)}return n=l,du(t,e),l=(e.flags&128)!==0,n||l?(n=e.stateNode,a=l&&typeof a.getDerivedStateFromError!="function"?null:n.render(),e.flags|=1,t!==null&&l?(e.child=Fl(e,t.child,null,i),e.child=Fl(e,null,a,i)):Ht(t,e,a,i),e.memoizedState=n.state,t=e.child):t=ua(t,e,i),t}function Ad(t,e,a,l){return si(),e.flags|=256,Ht(t,e,a,l),e.child}var mc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function hc(t){return{baseLanes:t,cachePool:Bp()}}function gc(t,e,a){return t=t!==null?t.childLanes&~a:0,e&&(t|=Se),t}function _m(t,e,a){var l=e.pendingProps,i=!1,n=(e.flags&128)!==0,u;if((u=n)||(u=t!==null&&t.memoizedState===null?!1:(zt.current&2)!==0),u&&(i=!0,e.flags&=-129),u=(e.flags&32)!==0,e.flags&=-33,t===null){if(et){if(i?Sa(e):qa(e),et){var c=xt,s;if(s=c){t:{for(s=c,c=Oe;s.nodeType!==8;){if(!c){c=null;break t}if(s=Te(s.nextSibling),s===null){c=null;break t}}c=s}c!==null?(e.memoizedState={dehydrated:c,treeContext:Ia!==null?{id:We,overflow:Pe}:null,retryLane:536870912,hydrationErrors:null},s=ue(18,null,null,0),s.stateNode=c,s.return=e,e.child=s,$t=e,xt=null,s=!0):s=!1}s||el(e)}if(c=e.memoizedState,c!==null&&(c=c.dehydrated,c!==null))return xs(c)?e.lanes=32:e.lanes=536870912,null;ea(e)}return c=l.children,l=l.fallback,i?(qa(e),i=e.mode,c=_u({mode:"hidden",children:c},i),l=Ja(l,i,a,null),c.return=e,l.return=e,c.sibling=l,e.child=c,i=e.child,i.memoizedState=hc(a),i.childLanes=gc(t,u,a),e.memoizedState=mc,l):(Sa(e),us(e,c))}if(s=t.memoizedState,s!==null&&(c=s.dehydrated,c!==null)){if(n)e.flags&256?(Sa(e),e.flags&=-257,e=vc(t,e,a)):e.memoizedState!==null?(qa(e),e.child=t.child,e.flags|=128,e=null):(qa(e),i=l.fallback,c=e.mode,l=_u({mode:"visible",children:l.children},c),i=Ja(i,c,a,null),i.flags|=2,l.return=e,i.return=e,l.sibling=i,e.child=l,Fl(e,t.child,null,a),l=e.child,l.memoizedState=hc(a),l.childLanes=gc(t,u,a),e.memoizedState=mc,e=i);else if(Sa(e),xs(c)){if(u=c.nextSibling&&c.nextSibling.dataset,u)var r=u.dgst;u=r,l=Error(w(419)),l.stack="",l.digest=u,Kn({value:l,source:null,stack:null}),e=vc(t,e,a)}else if(Rt||ri(t,e,a,!1),u=(a&t.childLanes)!==0,Rt||u){if(u=rt,u!==null&&(l=a&-a,l=(l&42)!==0?1:Ts(l),l=(l&(u.suspendedLanes|a))!==0?0:l,l!==0&&l!==s.retryLane))throw s.retryLane=l,nn(t,l),re(u,t,l),Om;c.data==="$?"||ds(),e=vc(t,e,a)}else c.data==="$?"?(e.flags|=192,e.child=t.child,e=null):(t=s.treeContext,xt=Te(c.nextSibling),$t=e,et=!0,Fa=null,Oe=!1,t!==null&&(ve[ye++]=We,ve[ye++]=Pe,ve[ye++]=Ia,We=t.id,Pe=t.overflow,Ia=e),e=us(e,l.children),e.flags|=4096);return e}return i?(qa(e),i=l.fallback,c=e.mode,s=t.child,r=s.sibling,l=aa(s,{mode:"hidden",children:l.children}),l.subtreeFlags=s.subtreeFlags&65011712,r!==null?i=aa(r,i):(i=Ja(i,c,a,null),i.flags|=2),i.return=e,l.return=e,l.sibling=i,e.child=l,l=i,i=e.child,c=t.child.memoizedState,c===null?c=hc(a):(s=c.cachePool,s!==null?(r=Mt._currentValue,s=s.parent!==r?{parent:r,pool:r}:s):s=Bp(),c={baseLanes:c.baseLanes|a,cachePool:s}),i.memoizedState=c,i.childLanes=gc(t,u,a),e.memoizedState=mc,l):(Sa(e),a=t.child,t=a.sibling,a=aa(a,{mode:"visible",children:l.children}),a.return=e,a.sibling=null,t!==null&&(u=e.deletions,u===null?(e.deletions=[t],e.flags|=16):u.push(t)),e.child=a,e.memoizedState=null,a)}function us(t,e){return e=_u({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function _u(t,e){return t=ue(22,t,null,e),t.lanes=0,t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},t}function vc(t,e,a){return Fl(e,t.child,null,a),t=us(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function Nd(t,e,a){t.lanes|=e;var l=t.alternate;l!==null&&(l.lanes|=e),Kc(t.return,e,a)}function yc(t,e,a,l,i){var n=t.memoizedState;n===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:l,tail:a,tailMode:i}:(n.isBackwards=e,n.rendering=null,n.renderingStartTime=0,n.last=l,n.tail=a,n.tailMode=i)}function Rm(t,e,a){var l=e.pendingProps,i=l.revealOrder,n=l.tail;if(Ht(t,e,l.children,a),l=zt.current,(l&2)!==0)l=l&1|2,e.flags|=128;else{if(t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Nd(t,a,e);else if(t.tag===19)Nd(t,a,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}l&=1}switch(gt(zt,l),i){case"forwards":for(a=e.child,i=null;a!==null;)t=a.alternate,t!==null&&Ou(t)===null&&(i=a),a=a.sibling;a=i,a===null?(i=e.child,e.child=null):(i=a.sibling,a.sibling=null),yc(e,!1,i,a,n);break;case"backwards":for(a=null,i=e.child,e.child=null;i!==null;){if(t=i.alternate,t!==null&&Ou(t)===null){e.child=i;break}t=i.sibling,i.sibling=a,a=i,i=t}yc(e,!0,a,null,n);break;case"together":yc(e,!1,null,null,void 0);break;default:e.memoizedState=null}return e.child}function ua(t,e,a){if(t!==null&&(e.dependencies=t.dependencies),Ha|=e.lanes,(a&e.childLanes)===0)if(t!==null){if(ri(t,e,a,!1),(a&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(w(153));if(e.child!==null){for(t=e.child,a=aa(t,t.pendingProps),e.child=a,a.return=e;t.sibling!==null;)t=t.sibling,a=a.sibling=aa(t,t.pendingProps),a.return=e;a.sibling=null}return e.child}function lr(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&wu(t)))}function ay(t,e,a){switch(e.tag){case 3:yu(e,e.stateNode.containerInfo),ba(e,Mt,t.memoizedState.cache),si();break;case 27:case 5:Rc(e);break;case 4:yu(e,e.stateNode.containerInfo);break;case 10:ba(e,e.type,e.memoizedProps.value);break;case 13:var l=e.memoizedState;if(l!==null)return l.dehydrated!==null?(Sa(e),e.flags|=128,null):(a&e.child.childLanes)!==0?_m(t,e,a):(Sa(e),t=ua(t,e,a),t!==null?t.sibling:null);Sa(e);break;case 19:var i=(t.flags&128)!==0;if(l=(a&e.childLanes)!==0,l||(ri(t,e,a,!1),l=(a&e.childLanes)!==0),i){if(l)return Rm(t,e,a);e.flags|=128}if(i=e.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),gt(zt,zt.current),l)break;return null;case 22:case 23:return e.lanes=0,Dm(t,e,a);case 24:ba(e,Mt,t.memoizedState.cache)}return ua(t,e,a)}function Lm(t,e,a){if(t!==null)if(t.memoizedProps!==e.pendingProps)Rt=!0;else{if(!lr(t,a)&&(e.flags&128)===0)return Rt=!1,ay(t,e,a);Rt=(t.flags&131072)!==0}else Rt=!1,et&&(e.flags&1048576)!==0&&Hp(e,Eu,e.index);switch(e.lanes=0,e.tag){case 16:t:{t=e.pendingProps;var l=e.elementType,i=l._init;if(l=i(l._payload),e.type=l,typeof l=="function")Hs(l)?(t=nl(l,t),e.tag=1,e=qd(null,e,l,t,a)):(e.tag=0,e=is(null,e,l,t,a));else{if(l!=null){if(i=l.$$typeof,i===Ns){e.tag=11,e=yd(null,e,l,t,a);break t}else if(i===Es){e.tag=14,e=xd(null,e,l,t,a);break t}}throw e=Dc(l)||l,Error(w(306,e,""))}}return e;case 0:return is(t,e,e.type,e.pendingProps,a);case 1:return l=e.type,i=nl(l,e.pendingProps),qd(t,e,l,i,a);case 3:t:{if(yu(e,e.stateNode.containerInfo),t===null)throw Error(w(387));l=e.pendingProps;var n=e.memoizedState;i=n.element,Fc(t,e),Ln(e,l,null,a);var u=e.memoizedState;if(l=u.cache,ba(e,Mt,l),l!==n.cache&&$c(e,[Mt],a,!0),Rn(),l=u.element,n.isDehydrated)if(n={element:l,isDehydrated:!1,cache:u.cache},e.updateQueue.baseState=n,e.memoizedState=n,e.flags&256){e=Ad(t,e,l,a);break t}else if(l!==i){i=be(Error(w(424)),e),Kn(i),e=Ad(t,e,l,a);break t}else{switch(t=e.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(xt=Te(t.firstChild),$t=e,et=!0,Fa=null,Oe=!0,a=Nm(e,null,l,a),e.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(si(),l===i){e=ua(t,e,a);break t}Ht(t,e,l,a)}e=e.child}return e;case 26:return du(t,e),t===null?(a=jd(e.type,null,e.pendingProps,null))?e.memoizedState=a:et||(a=e.type,t=e.pendingProps,l=Yu(Ca.current).createElement(a),l[jt]=e,l[Pt]=t,Bt(l,a,t),_t(l),e.stateNode=l):e.memoizedState=jd(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return Rc(e),t===null&&et&&(l=e.stateNode=q0(e.type,e.pendingProps,Ca.current),$t=e,Oe=!0,i=xt,Ba(e.type)?(bs=i,xt=Te(l.firstChild)):xt=i),Ht(t,e,e.pendingProps.children,a),du(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&et&&((i=l=xt)&&(l=Cy(l,e.type,e.pendingProps,Oe),l!==null?(e.stateNode=l,$t=e,xt=Te(l.firstChild),Oe=!1,i=!0):i=!1),i||el(e)),Rc(e),i=e.type,n=e.pendingProps,u=t!==null?t.memoizedProps:null,l=n.children,vs(i,n)?l=null:u!==null&&vs(i,u)&&(e.flags|=32),e.memoizedState!==null&&(i=Zs(t,e,$v,null,null,a),Pn._currentValue=i),du(t,e),Ht(t,e,l,a),e.child;case 6:return t===null&&et&&((t=a=xt)&&(a=My(a,e.pendingProps,Oe),a!==null?(e.stateNode=a,$t=e,xt=null,t=!0):t=!1),t||el(e)),null;case 13:return _m(t,e,a);case 4:return yu(e,e.stateNode.containerInfo),l=e.pendingProps,t===null?e.child=Fl(e,null,l,a):Ht(t,e,l,a),e.child;case 11:return yd(t,e,e.type,e.pendingProps,a);case 7:return Ht(t,e,e.pendingProps,a),e.child;case 8:return Ht(t,e,e.pendingProps.children,a),e.child;case 12:return Ht(t,e,e.pendingProps.children,a),e.child;case 10:return l=e.pendingProps,ba(e,e.type,l.value),Ht(t,e,l.children,a),e.child;case 9:return i=e.type._context,l=e.pendingProps.children,al(e),i=Qt(i),l=l(i),e.flags|=1,Ht(t,e,l,a),e.child;case 14:return xd(t,e,e.type,e.pendingProps,a);case 15:return Um(t,e,e.type,e.pendingProps,a);case 19:return Rm(t,e,a);case 31:return l=e.pendingProps,a=e.mode,l={mode:l.mode,children:l.children},t===null?(a=_u(l,a),a.ref=e.ref,e.child=a,a.return=e,e=a):(a=aa(t.child,l),a.ref=e.ref,e.child=a,a.return=e,e=a),e;case 22:return Dm(t,e,a);case 24:return al(e),l=Qt(Mt),t===null?(i=Xs(),i===null&&(i=rt,n=Ys(),i.pooledCache=n,n.refCount++,n!==null&&(i.pooledCacheLanes|=a),i=n),e.memoizedState={parent:l,cache:i},js(e),ba(e,Mt,i)):((t.lanes&a)!==0&&(Fc(t,e),Ln(e,null,null,a),Rn()),i=t.memoizedState,n=e.memoizedState,i.parent!==l?(i={parent:l,cache:l},e.memoizedState=i,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=i),ba(e,Mt,l)):(l=n.cache,ba(e,Mt,l),l!==i.cache&&$c(e,[Mt],a,!0))),Ht(t,e,e.pendingProps.children,a),e.child;case 29:throw e.pendingProps}throw Error(w(156,e.tag))}function $e(t){t.flags|=4}function Ed(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!E0(e)){if(e=qe.current,e!==null&&((tt&4194048)===tt?Re!==null:(tt&62914560)!==tt&&(tt&536870912)===0||e!==Re))throw Dn=Ic,Yp;t.flags|=8192}}function Wi(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?cp():536870912,t.lanes|=e,Wl|=e)}function Sn(t,e){if(!et)switch(t.tailMode){case"hidden":e=t.tail;for(var a=null;e!==null;)e.alternate!==null&&(a=e),e=e.sibling;a===null?t.tail=null:a.sibling=null;break;case"collapsed":a=t.tail;for(var l=null;a!==null;)a.alternate!==null&&(l=a),a=a.sibling;l===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:l.sibling=null}}function vt(t){var e=t.alternate!==null&&t.alternate.child===t.child,a=0,l=0;if(e)for(var i=t.child;i!==null;)a|=i.lanes|i.childLanes,l|=i.subtreeFlags&65011712,l|=i.flags&65011712,i.return=t,i=i.sibling;else for(i=t.child;i!==null;)a|=i.lanes|i.childLanes,l|=i.subtreeFlags,l|=i.flags,i.return=t,i=i.sibling;return t.subtreeFlags|=l,t.childLanes=a,e}function ly(t,e,a){var l=e.pendingProps;switch(Bs(e),e.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return vt(e),null;case 1:return vt(e),null;case 3:return a=e.stateNode,l=null,t!==null&&(l=t.memoizedState.cache),e.memoizedState.cache!==l&&(e.flags|=2048),la(Mt),Vl(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(t===null||t.child===null)&&(xn(e)?$e(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,ed())),vt(e),null;case 26:return a=e.memoizedState,t===null?($e(e),a!==null?(vt(e),Ed(e,a)):(vt(e),e.flags&=-16777217)):a?a!==t.memoizedState?($e(e),vt(e),Ed(e,a)):(vt(e),e.flags&=-16777217):(t.memoizedProps!==l&&$e(e),vt(e),e.flags&=-16777217),null;case 27:xu(e),a=Ca.current;var i=e.type;if(t!==null&&e.stateNode!=null)t.memoizedProps!==l&&$e(e);else{if(!l){if(e.stateNode===null)throw Error(w(166));return vt(e),null}t=De.current,xn(e)?Pf(e,t):(t=q0(i,l,a),e.stateNode=t,$e(e))}return vt(e),null;case 5:if(xu(e),a=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==l&&$e(e);else{if(!l){if(e.stateNode===null)throw Error(w(166));return vt(e),null}if(t=De.current,xn(e))Pf(e,t);else{switch(i=Yu(Ca.current),t){case 1:t=i.createElementNS("http://www.w3.org/2000/svg",a);break;case 2:t=i.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;default:switch(a){case"svg":t=i.createElementNS("http://www.w3.org/2000/svg",a);break;case"math":t=i.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;case"script":t=i.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild);break;case"select":t=typeof l.is=="string"?i.createElement("select",{is:l.is}):i.createElement("select"),l.multiple?t.multiple=!0:l.size&&(t.size=l.size);break;default:t=typeof l.is=="string"?i.createElement(a,{is:l.is}):i.createElement(a)}}t[jt]=e,t[Pt]=l;t:for(i=e.child;i!==null;){if(i.tag===5||i.tag===6)t.appendChild(i.stateNode);else if(i.tag!==4&&i.tag!==27&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===e)break t;for(;i.sibling===null;){if(i.return===null||i.return===e)break t;i=i.return}i.sibling.return=i.return,i=i.sibling}e.stateNode=t;t:switch(Bt(t,a,l),a){case"button":case"input":case"select":case"textarea":t=!!l.autoFocus;break t;case"img":t=!0;break t;default:t=!1}t&&$e(e)}}return vt(e),e.flags&=-16777217,null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==l&&$e(e);else{if(typeof l!="string"&&e.stateNode===null)throw Error(w(166));if(t=Ca.current,xn(e)){if(t=e.stateNode,a=e.memoizedProps,l=null,i=$t,i!==null)switch(i.tag){case 27:case 5:l=i.memoizedProps}t[jt]=e,t=!!(t.nodeValue===a||l!==null&&l.suppressHydrationWarning===!0||x0(t.nodeValue,a)),t||el(e)}else t=Yu(t).createTextNode(l),t[jt]=e,e.stateNode=t}return vt(e),null;case 13:if(l=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(i=xn(e),l!==null&&l.dehydrated!==null){if(t===null){if(!i)throw Error(w(318));if(i=e.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(w(317));i[jt]=e}else si(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;vt(e),i=!1}else i=ed(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=i),i=!0;if(!i)return e.flags&256?(ea(e),e):(ea(e),null)}if(ea(e),(e.flags&128)!==0)return e.lanes=a,e;if(a=l!==null,t=t!==null&&t.memoizedState!==null,a){l=e.child,i=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(i=l.alternate.memoizedState.cachePool.pool);var n=null;l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(n=l.memoizedState.cachePool.pool),n!==i&&(l.flags|=2048)}return a!==t&&a&&(e.child.flags|=8192),Wi(e,e.updateQueue),vt(e),null;case 4:return Vl(),t===null&&fr(e.stateNode.containerInfo),vt(e),null;case 10:return la(e.type),vt(e),null;case 19:if(Lt(zt),i=e.memoizedState,i===null)return vt(e),null;if(l=(e.flags&128)!==0,n=i.rendering,n===null)if(l)Sn(i,!1);else{if(bt!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(n=Ou(t),n!==null){for(e.flags|=128,Sn(i,!1),t=n.updateQueue,e.updateQueue=t,Wi(e,t),e.subtreeFlags=0,t=a,a=e.child;a!==null;)kp(a,t),a=a.sibling;return gt(zt,zt.current&1|2),e.child}t=t.sibling}i.tail!==null&&_e()>Lu&&(e.flags|=128,l=!0,Sn(i,!1),e.lanes=4194304)}else{if(!l)if(t=Ou(n),t!==null){if(e.flags|=128,l=!0,t=t.updateQueue,e.updateQueue=t,Wi(e,t),Sn(i,!0),i.tail===null&&i.tailMode==="hidden"&&!n.alternate&&!et)return vt(e),null}else 2*_e()-i.renderingStartTime>Lu&&a!==536870912&&(e.flags|=128,l=!0,Sn(i,!1),e.lanes=4194304);i.isBackwards?(n.sibling=e.child,e.child=n):(t=i.last,t!==null?t.sibling=n:e.child=n,i.last=n)}return i.tail!==null?(e=i.tail,i.rendering=e,i.tail=e.sibling,i.renderingStartTime=_e(),e.sibling=null,t=zt.current,gt(zt,l?t&1|2:t&1),e):(vt(e),null);case 22:case 23:return ea(e),Qs(),l=e.memoizedState!==null,t!==null?t.memoizedState!==null!==l&&(e.flags|=8192):l&&(e.flags|=8192),l?(a&536870912)!==0&&(e.flags&128)===0&&(vt(e),e.subtreeFlags&6&&(e.flags|=8192)):vt(e),a=e.updateQueue,a!==null&&Wi(e,a.retryQueue),a=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),l=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),l!==a&&(e.flags|=2048),t!==null&&Lt(Wa),null;case 24:return a=null,t!==null&&(a=t.memoizedState.cache),e.memoizedState.cache!==a&&(e.flags|=2048),la(Mt),vt(e),null;case 25:return null;case 30:return null}throw Error(w(156,e.tag))}function ny(t,e){switch(Bs(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return la(Mt),Vl(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return xu(e),null;case 13:if(ea(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(w(340));si()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return Lt(zt),null;case 4:return Vl(),null;case 10:return la(e.type),null;case 22:case 23:return ea(e),Qs(),t!==null&&Lt(Wa),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return la(Mt),null;case 25:return null;default:return null}}function km(t,e){switch(Bs(e),e.tag){case 3:la(Mt),Vl();break;case 26:case 27:case 5:xu(e);break;case 4:Vl();break;case 13:ea(e);break;case 19:Lt(zt);break;case 10:la(e.type);break;case 22:case 23:ea(e),Qs(),t!==null&&Lt(Wa);break;case 24:la(Mt)}}function hi(t,e){try{var a=e.updateQueue,l=a!==null?a.lastEffect:null;if(l!==null){var i=l.next;a=i;do{if((a.tag&t)===t){l=void 0;var n=a.create,u=a.inst;l=n(),u.destroy=l}a=a.next}while(a!==i)}}catch(c){st(e,e.return,c)}}function ka(t,e,a){try{var l=e.updateQueue,i=l!==null?l.lastEffect:null;if(i!==null){var n=i.next;l=n;do{if((l.tag&t)===t){var u=l.inst,c=u.destroy;if(c!==void 0){u.destroy=void 0,i=e;var s=a,r=c;try{r()}catch(y){st(i,s,y)}}}l=l.next}while(l!==n)}}catch(y){st(e,e.return,y)}}function Hm(t){var e=t.updateQueue;if(e!==null){var a=t.stateNode;try{Qp(e,a)}catch(l){st(t,t.return,l)}}}function Gm(t,e,a){a.props=nl(t.type,t.memoizedProps),a.state=t.memoizedState;try{a.componentWillUnmount()}catch(l){st(t,e,l)}}function Hn(t,e){try{var a=t.ref;if(a!==null){switch(t.tag){case 26:case 27:case 5:var l=t.stateNode;break;case 30:l=t.stateNode;break;default:l=t.stateNode}typeof a=="function"?t.refCleanup=a(l):a.current=l}}catch(i){st(t,e,i)}}function Ue(t,e){var a=t.ref,l=t.refCleanup;if(a!==null)if(typeof l=="function")try{l()}catch(i){st(t,e,i)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(i){st(t,e,i)}else a.current=null}function Bm(t){var e=t.type,a=t.memoizedProps,l=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":a.autoFocus&&l.focus();break t;case"img":a.src?l.src=a.src:a.srcSet&&(l.srcset=a.srcSet)}}catch(i){st(t,t.return,i)}}function xc(t,e,a){try{var l=t.stateNode;Ay(l,t.type,a,e),l[Pt]=e}catch(i){st(t,t.return,i)}}function Ym(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&Ba(t.type)||t.tag===4}function bc(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||Ym(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&Ba(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function os(t,e,a){var l=t.tag;if(l===5||l===6)t=t.stateNode,e?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(t,e):(e=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,e.appendChild(t),a=a._reactRootContainer,a!=null||e.onclick!==null||(e.onclick=uo));else if(l!==4&&(l===27&&Ba(t.type)&&(a=t.stateNode,e=null),t=t.child,t!==null))for(os(t,e,a),t=t.sibling;t!==null;)os(t,e,a),t=t.sibling}function Ru(t,e,a){var l=t.tag;if(l===5||l===6)t=t.stateNode,e?a.insertBefore(t,e):a.appendChild(t);else if(l!==4&&(l===27&&Ba(t.type)&&(a=t.stateNode),t=t.child,t!==null))for(Ru(t,e,a),t=t.sibling;t!==null;)Ru(t,e,a),t=t.sibling}function Xm(t){var e=t.stateNode,a=t.memoizedProps;try{for(var l=t.type,i=e.attributes;i.length;)e.removeAttributeNode(i[0]);Bt(e,l,a),e[jt]=t,e[Pt]=a}catch(n){st(t,t.return,n)}}var Ie=!1,Nt=!1,Sc=!1,wd=typeof WeakSet=="function"?WeakSet:Set,Dt=null;function iy(t,e){if(t=t.containerInfo,hs=Vu,t=Mp(t),Rs(t)){if("selectionStart"in t)var a={start:t.selectionStart,end:t.selectionEnd};else t:{a=(a=t.ownerDocument)&&a.defaultView||window;var l=a.getSelection&&a.getSelection();if(l&&l.rangeCount!==0){a=l.anchorNode;var i=l.anchorOffset,n=l.focusNode;l=l.focusOffset;try{a.nodeType,n.nodeType}catch{a=null;break t}var u=0,c=-1,s=-1,r=0,y=0,b=t,h=null;e:for(;;){for(var v;b!==a||i!==0&&b.nodeType!==3||(c=u+i),b!==n||l!==0&&b.nodeType!==3||(s=u+l),b.nodeType===3&&(u+=b.nodeValue.length),(v=b.firstChild)!==null;)h=b,b=v;for(;;){if(b===t)break e;if(h===a&&++r===i&&(c=u),h===n&&++y===l&&(s=u),(v=b.nextSibling)!==null)break;b=h,h=b.parentNode}b=v}a=c===-1||s===-1?null:{start:c,end:s}}else a=null}a=a||{start:0,end:0}}else a=null;for(gs={focusedElem:t,selectionRange:a},Vu=!1,Dt=e;Dt!==null;)if(e=Dt,t=e.child,(e.subtreeFlags&1024)!==0&&t!==null)t.return=e,Dt=t;else for(;Dt!==null;){switch(e=Dt,n=e.alternate,t=e.flags,e.tag){case 0:break;case 11:case 15:break;case 1:if((t&1024)!==0&&n!==null){t=void 0,a=e,i=n.memoizedProps,n=n.memoizedState,l=a.stateNode;try{var T=nl(a.type,i,a.elementType===a.type);t=l.getSnapshotBeforeUpdate(T,n),l.__reactInternalSnapshotBeforeUpdate=t}catch(C){st(a,a.return,C)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,a=t.nodeType,a===9)ys(t);else if(a===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":ys(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(w(163))}if(t=e.sibling,t!==null){t.return=e.return,Dt=t;break}Dt=e.return}}function jm(t,e,a){var l=a.flags;switch(a.tag){case 0:case 11:case 15:ga(t,a),l&4&&hi(5,a);break;case 1:if(ga(t,a),l&4)if(t=a.stateNode,e===null)try{t.componentDidMount()}catch(u){st(a,a.return,u)}else{var i=nl(a.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(i,e,t.__reactInternalSnapshotBeforeUpdate)}catch(u){st(a,a.return,u)}}l&64&&Hm(a),l&512&&Hn(a,a.return);break;case 3:if(ga(t,a),l&64&&(t=a.updateQueue,t!==null)){if(e=null,a.child!==null)switch(a.child.tag){case 27:case 5:e=a.child.stateNode;break;case 1:e=a.child.stateNode}try{Qp(t,e)}catch(u){st(a,a.return,u)}}break;case 27:e===null&&l&4&&Xm(a);case 26:case 5:ga(t,a),e===null&&l&4&&Bm(a),l&512&&Hn(a,a.return);break;case 12:ga(t,a);break;case 13:ga(t,a),l&4&&Zm(t,a),l&64&&(t=a.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(a=my.bind(null,a),zy(t,a))));break;case 22:if(l=a.memoizedState!==null||Ie,!l){e=e!==null&&e.memoizedState!==null||Nt,i=Ie;var n=Nt;Ie=l,(Nt=e)&&!n?va(t,a,(a.subtreeFlags&8772)!==0):ga(t,a),Ie=i,Nt=n}break;case 30:break;default:ga(t,a)}}function Qm(t){var e=t.alternate;e!==null&&(t.alternate=null,Qm(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&Ms(e)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var ht=null,Ft=!1;function Je(t,e,a){for(a=a.child;a!==null;)Vm(t,e,a),a=a.sibling}function Vm(t,e,a){if(oe&&typeof oe.onCommitFiberUnmount=="function")try{oe.onCommitFiberUnmount(ni,a)}catch{}switch(a.tag){case 26:Nt||Ue(a,e),Je(t,e,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:Nt||Ue(a,e);var l=ht,i=Ft;Ba(a.type)&&(ht=a.stateNode,Ft=!1),Je(t,e,a),Xn(a.stateNode),ht=l,Ft=i;break;case 5:Nt||Ue(a,e);case 6:if(l=ht,i=Ft,ht=null,Je(t,e,a),ht=l,Ft=i,ht!==null)if(Ft)try{(ht.nodeType===9?ht.body:ht.nodeName==="HTML"?ht.ownerDocument.body:ht).removeChild(a.stateNode)}catch(n){st(a,e,n)}else try{ht.removeChild(a.stateNode)}catch(n){st(a,e,n)}break;case 18:ht!==null&&(Ft?(t=ht,Bd(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,a.stateNode),ai(t)):Bd(ht,a.stateNode));break;case 4:l=ht,i=Ft,ht=a.stateNode.containerInfo,Ft=!0,Je(t,e,a),ht=l,Ft=i;break;case 0:case 11:case 14:case 15:Nt||ka(2,a,e),Nt||ka(4,a,e),Je(t,e,a);break;case 1:Nt||(Ue(a,e),l=a.stateNode,typeof l.componentWillUnmount=="function"&&Gm(a,e,l)),Je(t,e,a);break;case 21:Je(t,e,a);break;case 22:Nt=(l=Nt)||a.memoizedState!==null,Je(t,e,a),Nt=l;break;default:Je(t,e,a)}}function Zm(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{ai(t)}catch(a){st(e,e.return,a)}}function uy(t){switch(t.tag){case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new wd),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new wd),e;default:throw Error(w(435,t.tag))}}function qc(t,e){var a=uy(t);e.forEach(function(l){var i=hy.bind(null,t,l);a.has(l)||(a.add(l),l.then(i,i))})}function le(t,e){var a=e.deletions;if(a!==null)for(var l=0;l<a.length;l++){var i=a[l],n=t,u=e,c=u;t:for(;c!==null;){switch(c.tag){case 27:if(Ba(c.type)){ht=c.stateNode,Ft=!1;break t}break;case 5:ht=c.stateNode,Ft=!1;break t;case 3:case 4:ht=c.stateNode.containerInfo,Ft=!0;break t}c=c.return}if(ht===null)throw Error(w(160));Vm(n,u,i),ht=null,Ft=!1,n=i.alternate,n!==null&&(n.return=null),i.return=null}if(e.subtreeFlags&13878)for(e=e.child;e!==null;)Km(e,t),e=e.sibling}var we=null;function Km(t,e){var a=t.alternate,l=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:le(e,t),ne(t),l&4&&(ka(3,t,t.return),hi(3,t),ka(5,t,t.return));break;case 1:le(e,t),ne(t),l&512&&(Nt||a===null||Ue(a,a.return)),l&64&&Ie&&(t=t.updateQueue,t!==null&&(l=t.callbacks,l!==null&&(a=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=a===null?l:a.concat(l))));break;case 26:var i=we;if(le(e,t),ne(t),l&512&&(Nt||a===null||Ue(a,a.return)),l&4){var n=a!==null?a.memoizedState:null;if(l=t.memoizedState,a===null)if(l===null)if(t.stateNode===null){t:{l=t.type,a=t.memoizedProps,i=i.ownerDocument||i;e:switch(l){case"title":n=i.getElementsByTagName("title")[0],(!n||n[oi]||n[jt]||n.namespaceURI==="http://www.w3.org/2000/svg"||n.hasAttribute("itemprop"))&&(n=i.createElement(l),i.head.insertBefore(n,i.querySelector("head > title"))),Bt(n,l,a),n[jt]=t,_t(n),l=n;break t;case"link":var u=Vd("link","href",i).get(l+(a.href||""));if(u){for(var c=0;c<u.length;c++)if(n=u[c],n.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&n.getAttribute("rel")===(a.rel==null?null:a.rel)&&n.getAttribute("title")===(a.title==null?null:a.title)&&n.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){u.splice(c,1);break e}}n=i.createElement(l),Bt(n,l,a),i.head.appendChild(n);break;case"meta":if(u=Vd("meta","content",i).get(l+(a.content||""))){for(c=0;c<u.length;c++)if(n=u[c],n.getAttribute("content")===(a.content==null?null:""+a.content)&&n.getAttribute("name")===(a.name==null?null:a.name)&&n.getAttribute("property")===(a.property==null?null:a.property)&&n.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&n.getAttribute("charset")===(a.charSet==null?null:a.charSet)){u.splice(c,1);break e}}n=i.createElement(l),Bt(n,l,a),i.head.appendChild(n);break;default:throw Error(w(468,l))}n[jt]=t,_t(n),l=n}t.stateNode=l}else Zd(i,t.type,t.stateNode);else t.stateNode=Qd(i,l,t.memoizedProps);else n!==l?(n===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):n.count--,l===null?Zd(i,t.type,t.stateNode):Qd(i,l,t.memoizedProps)):l===null&&t.stateNode!==null&&xc(t,t.memoizedProps,a.memoizedProps)}break;case 27:le(e,t),ne(t),l&512&&(Nt||a===null||Ue(a,a.return)),a!==null&&l&4&&xc(t,t.memoizedProps,a.memoizedProps);break;case 5:if(le(e,t),ne(t),l&512&&(Nt||a===null||Ue(a,a.return)),t.flags&32){i=t.stateNode;try{Kl(i,"")}catch(v){st(t,t.return,v)}}l&4&&t.stateNode!=null&&(i=t.memoizedProps,xc(t,i,a!==null?a.memoizedProps:i)),l&1024&&(Sc=!0);break;case 6:if(le(e,t),ne(t),l&4){if(t.stateNode===null)throw Error(w(162));l=t.memoizedProps,a=t.stateNode;try{a.nodeValue=l}catch(v){st(t,t.return,v)}}break;case 3:if(hu=null,i=we,we=Xu(e.containerInfo),le(e,t),we=i,ne(t),l&4&&a!==null&&a.memoizedState.isDehydrated)try{ai(e.containerInfo)}catch(v){st(t,t.return,v)}Sc&&(Sc=!1,$m(t));break;case 4:l=we,we=Xu(t.stateNode.containerInfo),le(e,t),ne(t),we=l;break;case 12:le(e,t),ne(t);break;case 13:le(e,t),ne(t),t.child.flags&8192&&t.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(cr=_e()),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,qc(t,l)));break;case 22:i=t.memoizedState!==null;var s=a!==null&&a.memoizedState!==null,r=Ie,y=Nt;if(Ie=r||i,Nt=y||s,le(e,t),Nt=y,Ie=r,ne(t),l&8192)t:for(e=t.stateNode,e._visibility=i?e._visibility&-2:e._visibility|1,i&&(a===null||s||Ie||Nt||Ka(t)),a=null,e=t;;){if(e.tag===5||e.tag===26){if(a===null){s=a=e;try{if(n=s.stateNode,i)u=n.style,typeof u.setProperty=="function"?u.setProperty("display","none","important"):u.display="none";else{c=s.stateNode;var b=s.memoizedProps.style,h=b!=null&&b.hasOwnProperty("display")?b.display:null;c.style.display=h==null||typeof h=="boolean"?"":(""+h).trim()}}catch(v){st(s,s.return,v)}}}else if(e.tag===6){if(a===null){s=e;try{s.stateNode.nodeValue=i?"":s.memoizedProps}catch(v){st(s,s.return,v)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===t)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;a===e&&(a=null),e=e.return}a===e&&(a=null),e.sibling.return=e.return,e=e.sibling}l&4&&(l=t.updateQueue,l!==null&&(a=l.retryQueue,a!==null&&(l.retryQueue=null,qc(t,a))));break;case 19:le(e,t),ne(t),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,qc(t,l)));break;case 30:break;case 21:break;default:le(e,t),ne(t)}}function ne(t){var e=t.flags;if(e&2){try{for(var a,l=t.return;l!==null;){if(Ym(l)){a=l;break}l=l.return}if(a==null)throw Error(w(160));switch(a.tag){case 27:var i=a.stateNode,n=bc(t);Ru(t,n,i);break;case 5:var u=a.stateNode;a.flags&32&&(Kl(u,""),a.flags&=-33);var c=bc(t);Ru(t,c,u);break;case 3:case 4:var s=a.stateNode.containerInfo,r=bc(t);os(t,r,s);break;default:throw Error(w(161))}}catch(y){st(t,t.return,y)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function $m(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;$m(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function ga(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)jm(t,e.alternate,e),e=e.sibling}function Ka(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:ka(4,e,e.return),Ka(e);break;case 1:Ue(e,e.return);var a=e.stateNode;typeof a.componentWillUnmount=="function"&&Gm(e,e.return,a),Ka(e);break;case 27:Xn(e.stateNode);case 26:case 5:Ue(e,e.return),Ka(e);break;case 22:e.memoizedState===null&&Ka(e);break;case 30:Ka(e);break;default:Ka(e)}t=t.sibling}}function va(t,e,a){for(a=a&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var l=e.alternate,i=t,n=e,u=n.flags;switch(n.tag){case 0:case 11:case 15:va(i,n,a),hi(4,n);break;case 1:if(va(i,n,a),l=n,i=l.stateNode,typeof i.componentDidMount=="function")try{i.componentDidMount()}catch(r){st(l,l.return,r)}if(l=n,i=l.updateQueue,i!==null){var c=l.stateNode;try{var s=i.shared.hiddenCallbacks;if(s!==null)for(i.shared.hiddenCallbacks=null,i=0;i<s.length;i++)jp(s[i],c)}catch(r){st(l,l.return,r)}}a&&u&64&&Hm(n),Hn(n,n.return);break;case 27:Xm(n);case 26:case 5:va(i,n,a),a&&l===null&&u&4&&Bm(n),Hn(n,n.return);break;case 12:va(i,n,a);break;case 13:va(i,n,a),a&&u&4&&Zm(i,n);break;case 22:n.memoizedState===null&&va(i,n,a),Hn(n,n.return);break;case 30:break;default:va(i,n,a)}e=e.sibling}}function nr(t,e){var a=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==a&&(t!=null&&t.refCount++,a!=null&&fi(a))}function ir(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&fi(t))}function ze(t,e,a,l){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Jm(t,e,a,l),e=e.sibling}function Jm(t,e,a,l){var i=e.flags;switch(e.tag){case 0:case 11:case 15:ze(t,e,a,l),i&2048&&hi(9,e);break;case 1:ze(t,e,a,l);break;case 3:ze(t,e,a,l),i&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&fi(t)));break;case 12:if(i&2048){ze(t,e,a,l),t=e.stateNode;try{var n=e.memoizedProps,u=n.id,c=n.onPostCommit;typeof c=="function"&&c(u,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(s){st(e,e.return,s)}}else ze(t,e,a,l);break;case 13:ze(t,e,a,l);break;case 23:break;case 22:n=e.stateNode,u=e.alternate,e.memoizedState!==null?n._visibility&2?ze(t,e,a,l):Gn(t,e):n._visibility&2?ze(t,e,a,l):(n._visibility|=2,Al(t,e,a,l,(e.subtreeFlags&10256)!==0)),i&2048&&nr(u,e);break;case 24:ze(t,e,a,l),i&2048&&ir(e.alternate,e);break;default:ze(t,e,a,l)}}function Al(t,e,a,l,i){for(i=i&&(e.subtreeFlags&10256)!==0,e=e.child;e!==null;){var n=t,u=e,c=a,s=l,r=u.flags;switch(u.tag){case 0:case 11:case 15:Al(n,u,c,s,i),hi(8,u);break;case 23:break;case 22:var y=u.stateNode;u.memoizedState!==null?y._visibility&2?Al(n,u,c,s,i):Gn(n,u):(y._visibility|=2,Al(n,u,c,s,i)),i&&r&2048&&nr(u.alternate,u);break;case 24:Al(n,u,c,s,i),i&&r&2048&&ir(u.alternate,u);break;default:Al(n,u,c,s,i)}e=e.sibling}}function Gn(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var a=t,l=e,i=l.flags;switch(l.tag){case 22:Gn(a,l),i&2048&&nr(l.alternate,l);break;case 24:Gn(a,l),i&2048&&ir(l.alternate,l);break;default:Gn(a,l)}e=e.sibling}}var Cn=8192;function bl(t){if(t.subtreeFlags&Cn)for(t=t.child;t!==null;)Im(t),t=t.sibling}function Im(t){switch(t.tag){case 26:bl(t),t.flags&Cn&&t.memoizedState!==null&&jy(we,t.memoizedState,t.memoizedProps);break;case 5:bl(t);break;case 3:case 4:var e=we;we=Xu(t.stateNode.containerInfo),bl(t),we=e;break;case 22:t.memoizedState===null&&(e=t.alternate,e!==null&&e.memoizedState!==null?(e=Cn,Cn=16777216,bl(t),Cn=e):bl(t));break;default:bl(t)}}function Fm(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function qn(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var a=0;a<e.length;a++){var l=e[a];Dt=l,Pm(l,t)}Fm(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Wm(t),t=t.sibling}function Wm(t){switch(t.tag){case 0:case 11:case 15:qn(t),t.flags&2048&&ka(9,t,t.return);break;case 3:qn(t);break;case 12:qn(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,pu(t)):qn(t);break;default:qn(t)}}function pu(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var a=0;a<e.length;a++){var l=e[a];Dt=l,Pm(l,t)}Fm(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:ka(8,e,e.return),pu(e);break;case 22:a=e.stateNode,a._visibility&2&&(a._visibility&=-3,pu(e));break;default:pu(e)}t=t.sibling}}function Pm(t,e){for(;Dt!==null;){var a=Dt;switch(a.tag){case 0:case 11:case 15:ka(8,a,e);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var l=a.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:fi(a.memoizedState.cache)}if(l=a.child,l!==null)l.return=a,Dt=l;else t:for(a=t;Dt!==null;){l=Dt;var i=l.sibling,n=l.return;if(Qm(l),l===a){Dt=null;break t}if(i!==null){i.return=n,Dt=i;break t}Dt=n}}}var oy={getCacheForType:function(t){var e=Qt(Mt),a=e.data.get(t);return a===void 0&&(a=t(),e.data.set(t,a)),a}},cy=typeof WeakMap=="function"?WeakMap:Map,it=0,rt=null,W=null,tt=0,nt=0,ie=null,wa=!1,un=!1,ur=!1,oa=0,bt=0,Ha=0,Pa=0,or=0,Se=0,Wl=0,Bn=null,Wt=null,cs=!1,cr=0,Lu=1/0,ku=null,Oa=null,Gt=0,Ua=null,Pl=null,Ql=0,ss=0,rs=null,t0=null,Yn=0,fs=null;function se(){if((it&2)!==0&&tt!==0)return tt&-tt;if(j.T!==null){var t=$l;return t!==0?t:rr()}return fp()}function e0(){Se===0&&(Se=(tt&536870912)===0||et?op():536870912);var t=qe.current;return t!==null&&(t.flags|=32),Se}function re(t,e,a){(t===rt&&(nt===2||nt===9)||t.cancelPendingCommit!==null)&&(tn(t,0),Ta(t,tt,Se,!1)),ui(t,a),((it&2)===0||t!==rt)&&(t===rt&&((it&2)===0&&(Pa|=a),bt===4&&Ta(t,tt,Se,!1)),ke(t))}function a0(t,e,a){if((it&6)!==0)throw Error(w(327));var l=!a&&(e&124)===0&&(e&t.expiredLanes)===0||ii(t,e),i=l?fy(t,e):Ac(t,e,!0),n=l;do{if(i===0){un&&!l&&Ta(t,e,0,!1);break}else{if(a=t.current.alternate,n&&!sy(a)){i=Ac(t,e,!1),n=!1;continue}if(i===2){if(n=e,t.errorRecoveryDisabledLanes&n)var u=0;else u=t.pendingLanes&-536870913,u=u!==0?u:u&536870912?536870912:0;if(u!==0){e=u;t:{var c=t;i=Bn;var s=c.current.memoizedState.isDehydrated;if(s&&(tn(c,u).flags|=256),u=Ac(c,u,!1),u!==2){if(ur&&!s){c.errorRecoveryDisabledLanes|=n,Pa|=n,i=4;break t}n=Wt,Wt=i,n!==null&&(Wt===null?Wt=n:Wt.push.apply(Wt,n))}i=u}if(n=!1,i!==2)continue}}if(i===1){tn(t,0),Ta(t,e,0,!0);break}t:{switch(l=t,n=i,n){case 0:case 1:throw Error(w(345));case 4:if((e&4194048)!==e)break;case 6:Ta(l,e,Se,!wa);break t;case 2:Wt=null;break;case 3:case 5:break;default:throw Error(w(329))}if((e&62914560)===e&&(i=cr+300-_e(),10<i)){if(Ta(l,e,Se,!wa),Ku(l,0,!0)!==0)break t;l.timeoutHandle=S0(Td.bind(null,l,a,Wt,ku,cs,e,Se,Pa,Wl,wa,n,2,-0,0),i);break t}Td(l,a,Wt,ku,cs,e,Se,Pa,Wl,wa,n,0,-0,0)}}break}while(!0);ke(t)}function Td(t,e,a,l,i,n,u,c,s,r,y,b,h,v){if(t.timeoutHandle=-1,b=e.subtreeFlags,(b&8192||(b&16785408)===16785408)&&(Wn={stylesheets:null,count:0,unsuspend:Xy},Im(e),b=Qy(),b!==null)){t.cancelPendingCommit=b(Md.bind(null,t,e,n,a,l,i,u,c,s,y,1,h,v)),Ta(t,n,u,!r);return}Md(t,e,n,a,l,i,u,c,s)}function sy(t){for(var e=t;;){var a=e.tag;if((a===0||a===11||a===15)&&e.flags&16384&&(a=e.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var l=0;l<a.length;l++){var i=a[l],n=i.getSnapshot;i=i.value;try{if(!fe(n(),i))return!1}catch{return!1}}if(a=e.child,e.subtreeFlags&16384&&a!==null)a.return=e,e=a;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function Ta(t,e,a,l){e&=~or,e&=~Pa,t.suspendedLanes|=e,t.pingedLanes&=~e,l&&(t.warmLanes|=e),l=t.expirationTimes;for(var i=e;0<i;){var n=31-ce(i),u=1<<n;l[n]=-1,i&=~u}a!==0&&sp(t,a,e)}function lo(){return(it&6)===0?(gi(0,!1),!1):!0}function sr(){if(W!==null){if(nt===0)var t=W.return;else t=W,ta=cl=null,Js(t),jl=null,Jn=0,t=W;for(;t!==null;)km(t.alternate,t),t=t.return;W=null}}function tn(t,e){var a=t.timeoutHandle;a!==-1&&(t.timeoutHandle=-1,Ey(a)),a=t.cancelPendingCommit,a!==null&&(t.cancelPendingCommit=null,a()),sr(),rt=t,W=a=aa(t.current,null),tt=e,nt=0,ie=null,wa=!1,un=ii(t,e),ur=!1,Wl=Se=or=Pa=Ha=bt=0,Wt=Bn=null,cs=!1,(e&8)!==0&&(e|=e&32);var l=t.entangledLanes;if(l!==0)for(t=t.entanglements,l&=e;0<l;){var i=31-ce(l),n=1<<i;e|=t[i],l&=~n}return oa=e,Fu(),a}function l0(t,e){$=null,j.H=zu,e===di||e===Pu?(e=id(),nt=3):e===Yp?(e=id(),nt=4):nt=e===Om?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,ie=e,W===null&&(bt=1,Du(t,be(e,t.current)))}function n0(){var t=j.H;return j.H=zu,t===null?zu:t}function i0(){var t=j.A;return j.A=oy,t}function ds(){bt=4,wa||(tt&4194048)!==tt&&qe.current!==null||(un=!0),(Ha&134217727)===0&&(Pa&134217727)===0||rt===null||Ta(rt,tt,Se,!1)}function Ac(t,e,a){var l=it;it|=2;var i=n0(),n=i0();(rt!==t||tt!==e)&&(ku=null,tn(t,e)),e=!1;var u=bt;t:do try{if(nt!==0&&W!==null){var c=W,s=ie;switch(nt){case 8:sr(),u=6;break t;case 3:case 2:case 9:case 6:qe.current===null&&(e=!0);var r=nt;if(nt=0,ie=null,Ll(t,c,s,r),a&&un){u=0;break t}break;default:r=nt,nt=0,ie=null,Ll(t,c,s,r)}}ry(),u=bt;break}catch(y){l0(t,y)}while(!0);return e&&t.shellSuspendCounter++,ta=cl=null,it=l,j.H=i,j.A=n,W===null&&(rt=null,tt=0,Fu()),u}function ry(){for(;W!==null;)u0(W)}function fy(t,e){var a=it;it|=2;var l=n0(),i=i0();rt!==t||tt!==e?(ku=null,Lu=_e()+500,tn(t,e)):un=ii(t,e);t:do try{if(nt!==0&&W!==null){e=W;var n=ie;e:switch(nt){case 1:nt=0,ie=null,Ll(t,e,n,1);break;case 2:case 9:if(nd(n)){nt=0,ie=null,Cd(e);break}e=function(){nt!==2&&nt!==9||rt!==t||(nt=7),ke(t)},n.then(e,e);break t;case 3:nt=7;break t;case 4:nt=5;break t;case 7:nd(n)?(nt=0,ie=null,Cd(e)):(nt=0,ie=null,Ll(t,e,n,7));break;case 5:var u=null;switch(W.tag){case 26:u=W.memoizedState;case 5:case 27:var c=W;if(!u||E0(u)){nt=0,ie=null;var s=c.sibling;if(s!==null)W=s;else{var r=c.return;r!==null?(W=r,no(r)):W=null}break e}}nt=0,ie=null,Ll(t,e,n,5);break;case 6:nt=0,ie=null,Ll(t,e,n,6);break;case 8:sr(),bt=6;break t;default:throw Error(w(462))}}dy();break}catch(y){l0(t,y)}while(!0);return ta=cl=null,j.H=l,j.A=i,it=a,W!==null?0:(rt=null,tt=0,Fu(),bt)}function dy(){for(;W!==null&&!_g();)u0(W)}function u0(t){var e=Lm(t.alternate,t,oa);t.memoizedProps=t.pendingProps,e===null?no(t):W=e}function Cd(t){var e=t,a=e.alternate;switch(e.tag){case 15:case 0:e=Sd(a,e,e.pendingProps,e.type,void 0,tt);break;case 11:e=Sd(a,e,e.pendingProps,e.type.render,e.ref,tt);break;case 5:Js(e);default:km(a,e),e=W=kp(e,oa),e=Lm(a,e,oa)}t.memoizedProps=t.pendingProps,e===null?no(t):W=e}function Ll(t,e,a,l){ta=cl=null,Js(e),jl=null,Jn=0;var i=e.return;try{if(ey(t,i,e,a,tt)){bt=1,Du(t,be(a,t.current)),W=null;return}}catch(n){if(i!==null)throw W=i,n;bt=1,Du(t,be(a,t.current)),W=null;return}e.flags&32768?(et||l===1?t=!0:un||(tt&536870912)!==0?t=!1:(wa=t=!0,(l===2||l===9||l===3||l===6)&&(l=qe.current,l!==null&&l.tag===13&&(l.flags|=16384))),o0(e,t)):no(e)}function no(t){var e=t;do{if((e.flags&32768)!==0){o0(e,wa);return}t=e.return;var a=ly(e.alternate,e,oa);if(a!==null){W=a;return}if(e=e.sibling,e!==null){W=e;return}W=e=t}while(e!==null);bt===0&&(bt=5)}function o0(t,e){do{var a=ny(t.alternate,t);if(a!==null){a.flags&=32767,W=a;return}if(a=t.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!e&&(t=t.sibling,t!==null)){W=t;return}W=t=a}while(t!==null);bt=6,W=null}function Md(t,e,a,l,i,n,u,c,s){t.cancelPendingCommit=null;do io();while(Gt!==0);if((it&6)!==0)throw Error(w(327));if(e!==null){if(e===t.current)throw Error(w(177));if(n=e.lanes|e.childLanes,n|=Ls,Qg(t,a,n,u,c,s),t===rt&&(W=rt=null,tt=0),Pl=e,Ua=t,Ql=a,ss=n,rs=i,t0=l,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,gy(bu,function(){return d0(!0),null})):(t.callbackNode=null,t.callbackPriority=0),l=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||l){l=j.T,j.T=null,i=at.p,at.p=2,u=it,it|=4;try{iy(t,e,a)}finally{it=u,at.p=i,j.T=l}}Gt=1,c0(),s0(),r0()}}function c0(){if(Gt===1){Gt=0;var t=Ua,e=Pl,a=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||a){a=j.T,j.T=null;var l=at.p;at.p=2;var i=it;it|=4;try{Km(e,t);var n=gs,u=Mp(t.containerInfo),c=n.focusedElem,s=n.selectionRange;if(u!==c&&c&&c.ownerDocument&&Cp(c.ownerDocument.documentElement,c)){if(s!==null&&Rs(c)){var r=s.start,y=s.end;if(y===void 0&&(y=r),"selectionStart"in c)c.selectionStart=r,c.selectionEnd=Math.min(y,c.value.length);else{var b=c.ownerDocument||document,h=b&&b.defaultView||window;if(h.getSelection){var v=h.getSelection(),T=c.textContent.length,C=Math.min(s.start,T),M=s.end===void 0?C:Math.min(s.end,T);!v.extend&&C>M&&(u=M,M=C,C=u);var f=If(c,C),d=If(c,M);if(f&&d&&(v.rangeCount!==1||v.anchorNode!==f.node||v.anchorOffset!==f.offset||v.focusNode!==d.node||v.focusOffset!==d.offset)){var g=b.createRange();g.setStart(f.node,f.offset),v.removeAllRanges(),C>M?(v.addRange(g),v.extend(d.node,d.offset)):(g.setEnd(d.node,d.offset),v.addRange(g))}}}}for(b=[],v=c;v=v.parentNode;)v.nodeType===1&&b.push({element:v,left:v.scrollLeft,top:v.scrollTop});for(typeof c.focus=="function"&&c.focus(),c=0;c<b.length;c++){var S=b[c];S.element.scrollLeft=S.left,S.element.scrollTop=S.top}}Vu=!!hs,gs=hs=null}finally{it=i,at.p=l,j.T=a}}t.current=e,Gt=2}}function s0(){if(Gt===2){Gt=0;var t=Ua,e=Pl,a=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||a){a=j.T,j.T=null;var l=at.p;at.p=2;var i=it;it|=4;try{jm(t,e.alternate,e)}finally{it=i,at.p=l,j.T=a}}Gt=3}}function r0(){if(Gt===4||Gt===3){Gt=0,Rg();var t=Ua,e=Pl,a=Ql,l=t0;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?Gt=5:(Gt=0,Pl=Ua=null,f0(t,t.pendingLanes));var i=t.pendingLanes;if(i===0&&(Oa=null),Cs(a),e=e.stateNode,oe&&typeof oe.onCommitFiberRoot=="function")try{oe.onCommitFiberRoot(ni,e,void 0,(e.current.flags&128)===128)}catch{}if(l!==null){e=j.T,i=at.p,at.p=2,j.T=null;try{for(var n=t.onRecoverableError,u=0;u<l.length;u++){var c=l[u];n(c.value,{componentStack:c.stack})}}finally{j.T=e,at.p=i}}(Ql&3)!==0&&io(),ke(t),i=t.pendingLanes,(a&4194090)!==0&&(i&42)!==0?t===fs?Yn++:(Yn=0,fs=t):Yn=0,gi(0,!1)}}function f0(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,fi(e)))}function io(t){return c0(),s0(),r0(),d0(t)}function d0(){if(Gt!==5)return!1;var t=Ua,e=ss;ss=0;var a=Cs(Ql),l=j.T,i=at.p;try{at.p=32>a?32:a,j.T=null,a=rs,rs=null;var n=Ua,u=Ql;if(Gt=0,Pl=Ua=null,Ql=0,(it&6)!==0)throw Error(w(331));var c=it;if(it|=4,Wm(n.current),Jm(n,n.current,u,a),it=c,gi(0,!1),oe&&typeof oe.onPostCommitFiberRoot=="function")try{oe.onPostCommitFiberRoot(ni,n)}catch{}return!0}finally{at.p=i,j.T=l,f0(t,e)}}function zd(t,e,a){e=be(a,e),e=ns(t.stateNode,e,2),t=za(t,e,2),t!==null&&(ui(t,2),ke(t))}function st(t,e,a){if(t.tag===3)zd(t,t,a);else for(;e!==null;){if(e.tag===3){zd(e,t,a);break}else if(e.tag===1){var l=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(Oa===null||!Oa.has(l))){t=be(a,t),a=Mm(2),l=za(e,a,2),l!==null&&(zm(a,l,e,t),ui(l,2),ke(l));break}}e=e.return}}function Nc(t,e,a){var l=t.pingCache;if(l===null){l=t.pingCache=new cy;var i=new Set;l.set(e,i)}else i=l.get(e),i===void 0&&(i=new Set,l.set(e,i));i.has(a)||(ur=!0,i.add(a),t=py.bind(null,t,e,a),e.then(t,t))}function py(t,e,a){var l=t.pingCache;l!==null&&l.delete(e),t.pingedLanes|=t.suspendedLanes&a,t.warmLanes&=~a,rt===t&&(tt&a)===a&&(bt===4||bt===3&&(tt&62914560)===tt&&300>_e()-cr?(it&2)===0&&tn(t,0):or|=a,Wl===tt&&(Wl=0)),ke(t)}function p0(t,e){e===0&&(e=cp()),t=nn(t,e),t!==null&&(ui(t,e),ke(t))}function my(t){var e=t.memoizedState,a=0;e!==null&&(a=e.retryLane),p0(t,a)}function hy(t,e){var a=0;switch(t.tag){case 13:var l=t.stateNode,i=t.memoizedState;i!==null&&(a=i.retryLane);break;case 19:l=t.stateNode;break;case 22:l=t.stateNode._retryCache;break;default:throw Error(w(314))}l!==null&&l.delete(e),p0(t,a)}function gy(t,e){return ws(t,e)}var Hu=null,Nl=null,ps=!1,Gu=!1,Ec=!1,tl=0;function ke(t){t!==Nl&&t.next===null&&(Nl===null?Hu=Nl=t:Nl=Nl.next=t),Gu=!0,ps||(ps=!0,yy())}function gi(t,e){if(!Ec&&Gu){Ec=!0;do for(var a=!1,l=Hu;l!==null;){if(!e)if(t!==0){var i=l.pendingLanes;if(i===0)var n=0;else{var u=l.suspendedLanes,c=l.pingedLanes;n=(1<<31-ce(42|t)+1)-1,n&=i&~(u&~c),n=n&201326741?n&201326741|1:n?n|2:0}n!==0&&(a=!0,Od(l,n))}else n=tt,n=Ku(l,l===rt?n:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(n&3)===0||ii(l,n)||(a=!0,Od(l,n));l=l.next}while(a);Ec=!1}}function vy(){m0()}function m0(){Gu=ps=!1;var t=0;tl!==0&&(Ny()&&(t=tl),tl=0);for(var e=_e(),a=null,l=Hu;l!==null;){var i=l.next,n=h0(l,e);n===0?(l.next=null,a===null?Hu=i:a.next=i,i===null&&(Nl=a)):(a=l,(t!==0||(n&3)!==0)&&(Gu=!0)),l=i}gi(t,!1)}function h0(t,e){for(var a=t.suspendedLanes,l=t.pingedLanes,i=t.expirationTimes,n=t.pendingLanes&-62914561;0<n;){var u=31-ce(n),c=1<<u,s=i[u];s===-1?((c&a)===0||(c&l)!==0)&&(i[u]=jg(c,e)):s<=e&&(t.expiredLanes|=c),n&=~c}if(e=rt,a=tt,a=Ku(t,t===e?a:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l=t.callbackNode,a===0||t===e&&(nt===2||nt===9)||t.cancelPendingCommit!==null)return l!==null&&l!==null&&Wo(l),t.callbackNode=null,t.callbackPriority=0;if((a&3)===0||ii(t,a)){if(e=a&-a,e===t.callbackPriority)return e;switch(l!==null&&Wo(l),Cs(a)){case 2:case 8:a=ip;break;case 32:a=bu;break;case 268435456:a=up;break;default:a=bu}return l=g0.bind(null,t),a=ws(a,l),t.callbackPriority=e,t.callbackNode=a,e}return l!==null&&l!==null&&Wo(l),t.callbackPriority=2,t.callbackNode=null,2}function g0(t,e){if(Gt!==0&&Gt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var a=t.callbackNode;if(io(!0)&&t.callbackNode!==a)return null;var l=tt;return l=Ku(t,t===rt?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l===0?null:(a0(t,l,e),h0(t,_e()),t.callbackNode!=null&&t.callbackNode===a?g0.bind(null,t):null)}function Od(t,e){if(io())return null;a0(t,e,!0)}function yy(){wy(function(){(it&6)!==0?ws(np,vy):m0()})}function rr(){return tl===0&&(tl=op()),tl}function Ud(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:iu(""+t)}function Dd(t,e){var a=e.ownerDocument.createElement("input");return a.name=e.name,a.value=e.value,t.id&&a.setAttribute("form",t.id),e.parentNode.insertBefore(a,e),t=new FormData(t),a.parentNode.removeChild(a),t}function xy(t,e,a,l,i){if(e==="submit"&&a&&a.stateNode===i){var n=Ud((i[Pt]||null).action),u=l.submitter;u&&(e=(e=u[Pt]||null)?Ud(e.formAction):u.getAttribute("formAction"),e!==null&&(n=e,u=null));var c=new $u("action","action",null,l,i);t.push({event:c,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(tl!==0){var s=u?Dd(i,u):new FormData(i);as(a,{pending:!0,data:s,method:i.method,action:n},null,s)}}else typeof n=="function"&&(c.preventDefault(),s=u?Dd(i,u):new FormData(i),as(a,{pending:!0,data:s,method:i.method,action:n},n,s))},currentTarget:i}]})}}for(Pi=0;Pi<Qc.length;Pi++)tu=Qc[Pi],_d=tu.toLowerCase(),Rd=tu[0].toUpperCase()+tu.slice(1),Ce(_d,"on"+Rd);var tu,_d,Rd,Pi;Ce(Op,"onAnimationEnd");Ce(Up,"onAnimationIteration");Ce(Dp,"onAnimationStart");Ce("dblclick","onDoubleClick");Ce("focusin","onFocus");Ce("focusout","onBlur");Ce(Hv,"onTransitionRun");Ce(Gv,"onTransitionStart");Ce(Bv,"onTransitionCancel");Ce(_p,"onTransitionEnd");Zl("onMouseEnter",["mouseout","mouseover"]);Zl("onMouseLeave",["mouseout","mouseover"]);Zl("onPointerEnter",["pointerout","pointerover"]);Zl("onPointerLeave",["pointerout","pointerover"]);il("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));il("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));il("onBeforeInput",["compositionend","keypress","textInput","paste"]);il("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));il("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));il("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var In="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),by=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(In));function v0(t,e){e=(e&4)!==0;for(var a=0;a<t.length;a++){var l=t[a],i=l.event;l=l.listeners;t:{var n=void 0;if(e)for(var u=l.length-1;0<=u;u--){var c=l[u],s=c.instance,r=c.currentTarget;if(c=c.listener,s!==n&&i.isPropagationStopped())break t;n=c,i.currentTarget=r;try{n(i)}catch(y){Uu(y)}i.currentTarget=null,n=s}else for(u=0;u<l.length;u++){if(c=l[u],s=c.instance,r=c.currentTarget,c=c.listener,s!==n&&i.isPropagationStopped())break t;n=c,i.currentTarget=r;try{n(i)}catch(y){Uu(y)}i.currentTarget=null,n=s}}}}function F(t,e){var a=e[kc];a===void 0&&(a=e[kc]=new Set);var l=t+"__bubble";a.has(l)||(y0(e,t,2,!1),a.add(l))}function wc(t,e,a){var l=0;e&&(l|=4),y0(a,t,l,e)}var eu="_reactListening"+Math.random().toString(36).slice(2);function fr(t){if(!t[eu]){t[eu]=!0,dp.forEach(function(a){a!=="selectionchange"&&(by.has(a)||wc(a,!1,t),wc(a,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[eu]||(e[eu]=!0,wc("selectionchange",!1,e))}}function y0(t,e,a,l){switch(z0(e)){case 2:var i=Ky;break;case 8:i=$y;break;default:i=hr}a=i.bind(null,e,a,t),i=void 0,!Yc||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(i=!0),l?i!==void 0?t.addEventListener(e,a,{capture:!0,passive:i}):t.addEventListener(e,a,!0):i!==void 0?t.addEventListener(e,a,{passive:i}):t.addEventListener(e,a,!1)}function Tc(t,e,a,l,i){var n=l;if((e&1)===0&&(e&2)===0&&l!==null)t:for(;;){if(l===null)return;var u=l.tag;if(u===3||u===4){var c=l.stateNode.containerInfo;if(c===i)break;if(u===4)for(u=l.return;u!==null;){var s=u.tag;if((s===3||s===4)&&u.stateNode.containerInfo===i)return;u=u.return}for(;c!==null;){if(u=Tl(c),u===null)return;if(s=u.tag,s===5||s===6||s===26||s===27){l=n=u;continue t}c=c.parentNode}}l=l.return}bp(function(){var r=n,y=Os(a),b=[];t:{var h=Rp.get(t);if(h!==void 0){var v=$u,T=t;switch(t){case"keypress":if(ou(a)===0)break t;case"keydown":case"keyup":v=gv;break;case"focusin":T="focus",v=uc;break;case"focusout":T="blur",v=uc;break;case"beforeblur":case"afterblur":v=uc;break;case"click":if(a.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":v=Yf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":v=nv;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":v=xv;break;case Op:case Up:case Dp:v=ov;break;case _p:v=Sv;break;case"scroll":case"scrollend":v=av;break;case"wheel":v=Av;break;case"copy":case"cut":case"paste":v=sv;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":v=jf;break;case"toggle":case"beforetoggle":v=Ev}var C=(e&4)!==0,M=!C&&(t==="scroll"||t==="scrollend"),f=C?h!==null?h+"Capture":null:h;C=[];for(var d=r,g;d!==null;){var S=d;if(g=S.stateNode,S=S.tag,S!==5&&S!==26&&S!==27||g===null||f===null||(S=Qn(d,f),S!=null&&C.push(Fn(d,S,g))),M)break;d=d.return}0<C.length&&(h=new v(h,T,null,a,y),b.push({event:h,listeners:C}))}}if((e&7)===0){t:{if(h=t==="mouseover"||t==="pointerover",v=t==="mouseout"||t==="pointerout",h&&a!==Bc&&(T=a.relatedTarget||a.fromElement)&&(Tl(T)||T[an]))break t;if((v||h)&&(h=y.window===y?y:(h=y.ownerDocument)?h.defaultView||h.parentWindow:window,v?(T=a.relatedTarget||a.toElement,v=r,T=T?Tl(T):null,T!==null&&(M=li(T),C=T.tag,T!==M||C!==5&&C!==27&&C!==6)&&(T=null)):(v=null,T=r),v!==T)){if(C=Yf,S="onMouseLeave",f="onMouseEnter",d="mouse",(t==="pointerout"||t==="pointerover")&&(C=jf,S="onPointerLeave",f="onPointerEnter",d="pointer"),M=v==null?h:Tn(v),g=T==null?h:Tn(T),h=new C(S,d+"leave",v,a,y),h.target=M,h.relatedTarget=g,S=null,Tl(y)===r&&(C=new C(f,d+"enter",T,a,y),C.target=g,C.relatedTarget=M,S=C),M=S,v&&T)e:{for(C=v,f=T,d=0,g=C;g;g=Sl(g))d++;for(g=0,S=f;S;S=Sl(S))g++;for(;0<d-g;)C=Sl(C),d--;for(;0<g-d;)f=Sl(f),g--;for(;d--;){if(C===f||f!==null&&C===f.alternate)break e;C=Sl(C),f=Sl(f)}C=null}else C=null;v!==null&&Ld(b,h,v,C,!1),T!==null&&M!==null&&Ld(b,M,T,C,!0)}}t:{if(h=r?Tn(r):window,v=h.nodeName&&h.nodeName.toLowerCase(),v==="select"||v==="input"&&h.type==="file")var q=Kf;else if(Zf(h))if(wp)q=Rv;else{q=Dv;var O=Uv}else v=h.nodeName,!v||v.toLowerCase()!=="input"||h.type!=="checkbox"&&h.type!=="radio"?r&&zs(r.elementType)&&(q=Kf):q=_v;if(q&&(q=q(t,r))){Ep(b,q,a,y);break t}O&&O(t,h,r),t==="focusout"&&r&&h.type==="number"&&r.memoizedProps.value!=null&&Gc(h,"number",h.value)}switch(O=r?Tn(r):window,t){case"focusin":(Zf(O)||O.contentEditable==="true")&&(zl=O,Xc=r,On=null);break;case"focusout":On=Xc=zl=null;break;case"mousedown":jc=!0;break;case"contextmenu":case"mouseup":case"dragend":jc=!1,Ff(b,a,y);break;case"selectionchange":if(kv)break;case"keydown":case"keyup":Ff(b,a,y)}var A;if(_s)t:{switch(t){case"compositionstart":var k="onCompositionStart";break t;case"compositionend":k="onCompositionEnd";break t;case"compositionupdate":k="onCompositionUpdate";break t}k=void 0}else Ml?Ap(t,a)&&(k="onCompositionEnd"):t==="keydown"&&a.keyCode===229&&(k="onCompositionStart");k&&(qp&&a.locale!=="ko"&&(Ml||k!=="onCompositionStart"?k==="onCompositionEnd"&&Ml&&(A=Sp()):(Ea=y,Us="value"in Ea?Ea.value:Ea.textContent,Ml=!0)),O=Bu(r,k),0<O.length&&(k=new Xf(k,t,null,a,y),b.push({event:k,listeners:O}),A?k.data=A:(A=Np(a),A!==null&&(k.data=A)))),(A=Tv?Cv(t,a):Mv(t,a))&&(k=Bu(r,"onBeforeInput"),0<k.length&&(O=new Xf("onBeforeInput","beforeinput",null,a,y),b.push({event:O,listeners:k}),O.data=A)),xy(b,t,r,a,y)}v0(b,e)})}function Fn(t,e,a){return{instance:t,listener:e,currentTarget:a}}function Bu(t,e){for(var a=e+"Capture",l=[];t!==null;){var i=t,n=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||n===null||(i=Qn(t,a),i!=null&&l.unshift(Fn(t,i,n)),i=Qn(t,e),i!=null&&l.push(Fn(t,i,n))),t.tag===3)return l;t=t.return}return[]}function Sl(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function Ld(t,e,a,l,i){for(var n=e._reactName,u=[];a!==null&&a!==l;){var c=a,s=c.alternate,r=c.stateNode;if(c=c.tag,s!==null&&s===l)break;c!==5&&c!==26&&c!==27||r===null||(s=r,i?(r=Qn(a,n),r!=null&&u.unshift(Fn(a,r,s))):i||(r=Qn(a,n),r!=null&&u.push(Fn(a,r,s)))),a=a.return}u.length!==0&&t.push({event:e,listeners:u})}var Sy=/\r\n?/g,qy=/\u0000|\uFFFD/g;function kd(t){return(typeof t=="string"?t:""+t).replace(Sy,`
9
- `).replace(qy,"")}function x0(t,e){return e=kd(e),kd(t)===e}function uo(){}function ot(t,e,a,l,i,n){switch(a){case"children":typeof l=="string"?e==="body"||e==="textarea"&&l===""||Kl(t,l):(typeof l=="number"||typeof l=="bigint")&&e!=="body"&&Kl(t,""+l);break;case"className":Qi(t,"class",l);break;case"tabIndex":Qi(t,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":Qi(t,a,l);break;case"style":xp(t,l,n);break;case"data":if(e!=="object"){Qi(t,"data",l);break}case"src":case"href":if(l===""&&(e!=="a"||a!=="href")){t.removeAttribute(a);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(a);break}l=iu(""+l),t.setAttribute(a,l);break;case"action":case"formAction":if(typeof l=="function"){t.setAttribute(a,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof n=="function"&&(a==="formAction"?(e!=="input"&&ot(t,e,"name",i.name,i,null),ot(t,e,"formEncType",i.formEncType,i,null),ot(t,e,"formMethod",i.formMethod,i,null),ot(t,e,"formTarget",i.formTarget,i,null)):(ot(t,e,"encType",i.encType,i,null),ot(t,e,"method",i.method,i,null),ot(t,e,"target",i.target,i,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(a);break}l=iu(""+l),t.setAttribute(a,l);break;case"onClick":l!=null&&(t.onclick=uo);break;case"onScroll":l!=null&&F("scroll",t);break;case"onScrollEnd":l!=null&&F("scrollend",t);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(w(61));if(a=l.__html,a!=null){if(i.children!=null)throw Error(w(60));t.innerHTML=a}}break;case"multiple":t.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":t.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){t.removeAttribute("xlink:href");break}a=iu(""+l),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(a,""+l):t.removeAttribute(a);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":l&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(a,""):t.removeAttribute(a);break;case"capture":case"download":l===!0?t.setAttribute(a,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(a,l):t.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?t.setAttribute(a,l):t.removeAttribute(a);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?t.removeAttribute(a):t.setAttribute(a,l);break;case"popover":F("beforetoggle",t),F("toggle",t),nu(t,"popover",l);break;case"xlinkActuate":Ke(t,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":Ke(t,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":Ke(t,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":Ke(t,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":Ke(t,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":Ke(t,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":Ke(t,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":Ke(t,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":Ke(t,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":nu(t,"is",l);break;case"innerText":case"textContent":break;default:(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(a=tv.get(a)||a,nu(t,a,l))}}function ms(t,e,a,l,i,n){switch(a){case"style":xp(t,l,n);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(w(61));if(a=l.__html,a!=null){if(i.children!=null)throw Error(w(60));t.innerHTML=a}}break;case"children":typeof l=="string"?Kl(t,l):(typeof l=="number"||typeof l=="bigint")&&Kl(t,""+l);break;case"onScroll":l!=null&&F("scroll",t);break;case"onScrollEnd":l!=null&&F("scrollend",t);break;case"onClick":l!=null&&(t.onclick=uo);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!pp.hasOwnProperty(a))t:{if(a[0]==="o"&&a[1]==="n"&&(i=a.endsWith("Capture"),e=a.slice(2,i?a.length-7:void 0),n=t[Pt]||null,n=n!=null?n[a]:null,typeof n=="function"&&t.removeEventListener(e,n,i),typeof l=="function")){typeof n!="function"&&n!==null&&(a in t?t[a]=null:t.hasAttribute(a)&&t.removeAttribute(a)),t.addEventListener(e,l,i);break t}a in t?t[a]=l:l===!0?t.setAttribute(a,""):nu(t,a,l)}}}function Bt(t,e,a){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":F("error",t),F("load",t);var l=!1,i=!1,n;for(n in a)if(a.hasOwnProperty(n)){var u=a[n];if(u!=null)switch(n){case"src":l=!0;break;case"srcSet":i=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(w(137,e));default:ot(t,e,n,u,a,null)}}i&&ot(t,e,"srcSet",a.srcSet,a,null),l&&ot(t,e,"src",a.src,a,null);return;case"input":F("invalid",t);var c=n=u=i=null,s=null,r=null;for(l in a)if(a.hasOwnProperty(l)){var y=a[l];if(y!=null)switch(l){case"name":i=y;break;case"type":u=y;break;case"checked":s=y;break;case"defaultChecked":r=y;break;case"value":n=y;break;case"defaultValue":c=y;break;case"children":case"dangerouslySetInnerHTML":if(y!=null)throw Error(w(137,e));break;default:ot(t,e,l,y,a,null)}}gp(t,n,c,s,r,u,i,!1),Su(t);return;case"select":F("invalid",t),l=u=n=null;for(i in a)if(a.hasOwnProperty(i)&&(c=a[i],c!=null))switch(i){case"value":n=c;break;case"defaultValue":u=c;break;case"multiple":l=c;default:ot(t,e,i,c,a,null)}e=n,a=u,t.multiple=!!l,e!=null?Hl(t,!!l,e,!1):a!=null&&Hl(t,!!l,a,!0);return;case"textarea":F("invalid",t),n=i=l=null;for(u in a)if(a.hasOwnProperty(u)&&(c=a[u],c!=null))switch(u){case"value":l=c;break;case"defaultValue":i=c;break;case"children":n=c;break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(w(91));break;default:ot(t,e,u,c,a,null)}yp(t,l,i,n),Su(t);return;case"option":for(s in a)if(a.hasOwnProperty(s)&&(l=a[s],l!=null))switch(s){case"selected":t.selected=l&&typeof l!="function"&&typeof l!="symbol";break;default:ot(t,e,s,l,a,null)}return;case"dialog":F("beforetoggle",t),F("toggle",t),F("cancel",t),F("close",t);break;case"iframe":case"object":F("load",t);break;case"video":case"audio":for(l=0;l<In.length;l++)F(In[l],t);break;case"image":F("error",t),F("load",t);break;case"details":F("toggle",t);break;case"embed":case"source":case"link":F("error",t),F("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(r in a)if(a.hasOwnProperty(r)&&(l=a[r],l!=null))switch(r){case"children":case"dangerouslySetInnerHTML":throw Error(w(137,e));default:ot(t,e,r,l,a,null)}return;default:if(zs(e)){for(y in a)a.hasOwnProperty(y)&&(l=a[y],l!==void 0&&ms(t,e,y,l,a,void 0));return}}for(c in a)a.hasOwnProperty(c)&&(l=a[c],l!=null&&ot(t,e,c,l,a,null))}function Ay(t,e,a,l){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var i=null,n=null,u=null,c=null,s=null,r=null,y=null;for(v in a){var b=a[v];if(a.hasOwnProperty(v)&&b!=null)switch(v){case"checked":break;case"value":break;case"defaultValue":s=b;default:l.hasOwnProperty(v)||ot(t,e,v,null,l,b)}}for(var h in l){var v=l[h];if(b=a[h],l.hasOwnProperty(h)&&(v!=null||b!=null))switch(h){case"type":n=v;break;case"name":i=v;break;case"checked":r=v;break;case"defaultChecked":y=v;break;case"value":u=v;break;case"defaultValue":c=v;break;case"children":case"dangerouslySetInnerHTML":if(v!=null)throw Error(w(137,e));break;default:v!==b&&ot(t,e,h,v,l,b)}}Hc(t,u,c,s,r,y,n,i);return;case"select":v=u=c=h=null;for(n in a)if(s=a[n],a.hasOwnProperty(n)&&s!=null)switch(n){case"value":break;case"multiple":v=s;default:l.hasOwnProperty(n)||ot(t,e,n,null,l,s)}for(i in l)if(n=l[i],s=a[i],l.hasOwnProperty(i)&&(n!=null||s!=null))switch(i){case"value":h=n;break;case"defaultValue":c=n;break;case"multiple":u=n;default:n!==s&&ot(t,e,i,n,l,s)}e=c,a=u,l=v,h!=null?Hl(t,!!a,h,!1):!!l!=!!a&&(e!=null?Hl(t,!!a,e,!0):Hl(t,!!a,a?[]:"",!1));return;case"textarea":v=h=null;for(c in a)if(i=a[c],a.hasOwnProperty(c)&&i!=null&&!l.hasOwnProperty(c))switch(c){case"value":break;case"children":break;default:ot(t,e,c,null,l,i)}for(u in l)if(i=l[u],n=a[u],l.hasOwnProperty(u)&&(i!=null||n!=null))switch(u){case"value":h=i;break;case"defaultValue":v=i;break;case"children":break;case"dangerouslySetInnerHTML":if(i!=null)throw Error(w(91));break;default:i!==n&&ot(t,e,u,i,l,n)}vp(t,h,v);return;case"option":for(var T in a)if(h=a[T],a.hasOwnProperty(T)&&h!=null&&!l.hasOwnProperty(T))switch(T){case"selected":t.selected=!1;break;default:ot(t,e,T,null,l,h)}for(s in l)if(h=l[s],v=a[s],l.hasOwnProperty(s)&&h!==v&&(h!=null||v!=null))switch(s){case"selected":t.selected=h&&typeof h!="function"&&typeof h!="symbol";break;default:ot(t,e,s,h,l,v)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var C in a)h=a[C],a.hasOwnProperty(C)&&h!=null&&!l.hasOwnProperty(C)&&ot(t,e,C,null,l,h);for(r in l)if(h=l[r],v=a[r],l.hasOwnProperty(r)&&h!==v&&(h!=null||v!=null))switch(r){case"children":case"dangerouslySetInnerHTML":if(h!=null)throw Error(w(137,e));break;default:ot(t,e,r,h,l,v)}return;default:if(zs(e)){for(var M in a)h=a[M],a.hasOwnProperty(M)&&h!==void 0&&!l.hasOwnProperty(M)&&ms(t,e,M,void 0,l,h);for(y in l)h=l[y],v=a[y],!l.hasOwnProperty(y)||h===v||h===void 0&&v===void 0||ms(t,e,y,h,l,v);return}}for(var f in a)h=a[f],a.hasOwnProperty(f)&&h!=null&&!l.hasOwnProperty(f)&&ot(t,e,f,null,l,h);for(b in l)h=l[b],v=a[b],!l.hasOwnProperty(b)||h===v||h==null&&v==null||ot(t,e,b,h,l,v)}var hs=null,gs=null;function Yu(t){return t.nodeType===9?t:t.ownerDocument}function Hd(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function b0(t,e){if(t===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&e==="foreignObject"?0:t}function vs(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var Cc=null;function Ny(){var t=window.event;return t&&t.type==="popstate"?t===Cc?!1:(Cc=t,!0):(Cc=null,!1)}var S0=typeof setTimeout=="function"?setTimeout:void 0,Ey=typeof clearTimeout=="function"?clearTimeout:void 0,Gd=typeof Promise=="function"?Promise:void 0,wy=typeof queueMicrotask=="function"?queueMicrotask:typeof Gd<"u"?function(t){return Gd.resolve(null).then(t).catch(Ty)}:S0;function Ty(t){setTimeout(function(){throw t})}function Ba(t){return t==="head"}function Bd(t,e){var a=e,l=0,i=0;do{var n=a.nextSibling;if(t.removeChild(a),n&&n.nodeType===8)if(a=n.data,a==="/$"){if(0<l&&8>l){a=l;var u=t.ownerDocument;if(a&1&&Xn(u.documentElement),a&2&&Xn(u.body),a&4)for(a=u.head,Xn(a),u=a.firstChild;u;){var c=u.nextSibling,s=u.nodeName;u[oi]||s==="SCRIPT"||s==="STYLE"||s==="LINK"&&u.rel.toLowerCase()==="stylesheet"||a.removeChild(u),u=c}}if(i===0){t.removeChild(n),ai(e);return}i--}else a==="$"||a==="$?"||a==="$!"?i++:l=a.charCodeAt(0)-48;else l=0;a=n}while(a);ai(e)}function ys(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var a=e;switch(e=e.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":ys(a),Ms(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}t.removeChild(a)}}function Cy(t,e,a,l){for(;t.nodeType===1;){var i=a;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!l&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(l){if(!t[oi])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(n=t.getAttribute("rel"),n==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(n!==i.rel||t.getAttribute("href")!==(i.href==null||i.href===""?null:i.href)||t.getAttribute("crossorigin")!==(i.crossOrigin==null?null:i.crossOrigin)||t.getAttribute("title")!==(i.title==null?null:i.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(n=t.getAttribute("src"),(n!==(i.src==null?null:i.src)||t.getAttribute("type")!==(i.type==null?null:i.type)||t.getAttribute("crossorigin")!==(i.crossOrigin==null?null:i.crossOrigin))&&n&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var n=i.name==null?null:""+i.name;if(i.type==="hidden"&&t.getAttribute("name")===n)return t}else return t;if(t=Te(t.nextSibling),t===null)break}return null}function My(t,e,a){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!a||(t=Te(t.nextSibling),t===null))return null;return t}function xs(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState==="complete"}function zy(t,e){var a=t.ownerDocument;if(t.data!=="$?"||a.readyState==="complete")e();else{var l=function(){e(),a.removeEventListener("DOMContentLoaded",l)};a.addEventListener("DOMContentLoaded",l),t._reactRetry=l}}function Te(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?"||e==="F!"||e==="F")break;if(e==="/$")return null}}return t}var bs=null;function Yd(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var a=t.data;if(a==="$"||a==="$!"||a==="$?"){if(e===0)return t;e--}else a==="/$"&&e++}t=t.previousSibling}return null}function q0(t,e,a){switch(e=Yu(a),t){case"html":if(t=e.documentElement,!t)throw Error(w(452));return t;case"head":if(t=e.head,!t)throw Error(w(453));return t;case"body":if(t=e.body,!t)throw Error(w(454));return t;default:throw Error(w(451))}}function Xn(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);Ms(t)}var Ae=new Map,Xd=new Set;function Xu(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var ca=at.d;at.d={f:Oy,r:Uy,D:Dy,C:_y,L:Ry,m:Ly,X:Hy,S:ky,M:Gy};function Oy(){var t=ca.f(),e=lo();return t||e}function Uy(t){var e=ln(t);e!==null&&e.tag===5&&e.type==="form"?hm(e):ca.r(t)}var on=typeof document>"u"?null:document;function A0(t,e,a){var l=on;if(l&&typeof e=="string"&&e){var i=xe(e);i='link[rel="'+t+'"][href="'+i+'"]',typeof a=="string"&&(i+='[crossorigin="'+a+'"]'),Xd.has(i)||(Xd.add(i),t={rel:t,crossOrigin:a,href:e},l.querySelector(i)===null&&(e=l.createElement("link"),Bt(e,"link",t),_t(e),l.head.appendChild(e)))}}function Dy(t){ca.D(t),A0("dns-prefetch",t,null)}function _y(t,e){ca.C(t,e),A0("preconnect",t,e)}function Ry(t,e,a){ca.L(t,e,a);var l=on;if(l&&t&&e){var i='link[rel="preload"][as="'+xe(e)+'"]';e==="image"&&a&&a.imageSrcSet?(i+='[imagesrcset="'+xe(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(i+='[imagesizes="'+xe(a.imageSizes)+'"]')):i+='[href="'+xe(t)+'"]';var n=i;switch(e){case"style":n=en(t);break;case"script":n=cn(t)}Ae.has(n)||(t=ft({rel:"preload",href:e==="image"&&a&&a.imageSrcSet?void 0:t,as:e},a),Ae.set(n,t),l.querySelector(i)!==null||e==="style"&&l.querySelector(vi(n))||e==="script"&&l.querySelector(yi(n))||(e=l.createElement("link"),Bt(e,"link",t),_t(e),l.head.appendChild(e)))}}function Ly(t,e){ca.m(t,e);var a=on;if(a&&t){var l=e&&typeof e.as=="string"?e.as:"script",i='link[rel="modulepreload"][as="'+xe(l)+'"][href="'+xe(t)+'"]',n=i;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":n=cn(t)}if(!Ae.has(n)&&(t=ft({rel:"modulepreload",href:t},e),Ae.set(n,t),a.querySelector(i)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(yi(n)))return}l=a.createElement("link"),Bt(l,"link",t),_t(l),a.head.appendChild(l)}}}function ky(t,e,a){ca.S(t,e,a);var l=on;if(l&&t){var i=kl(l).hoistableStyles,n=en(t);e=e||"default";var u=i.get(n);if(!u){var c={loading:0,preload:null};if(u=l.querySelector(vi(n)))c.loading=5;else{t=ft({rel:"stylesheet",href:t,"data-precedence":e},a),(a=Ae.get(n))&&dr(t,a);var s=u=l.createElement("link");_t(s),Bt(s,"link",t),s._p=new Promise(function(r,y){s.onload=r,s.onerror=y}),s.addEventListener("load",function(){c.loading|=1}),s.addEventListener("error",function(){c.loading|=2}),c.loading|=4,mu(u,e,l)}u={type:"stylesheet",instance:u,count:1,state:c},i.set(n,u)}}}function Hy(t,e){ca.X(t,e);var a=on;if(a&&t){var l=kl(a).hoistableScripts,i=cn(t),n=l.get(i);n||(n=a.querySelector(yi(i)),n||(t=ft({src:t,async:!0},e),(e=Ae.get(i))&&pr(t,e),n=a.createElement("script"),_t(n),Bt(n,"link",t),a.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},l.set(i,n))}}function Gy(t,e){ca.M(t,e);var a=on;if(a&&t){var l=kl(a).hoistableScripts,i=cn(t),n=l.get(i);n||(n=a.querySelector(yi(i)),n||(t=ft({src:t,async:!0,type:"module"},e),(e=Ae.get(i))&&pr(t,e),n=a.createElement("script"),_t(n),Bt(n,"link",t),a.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},l.set(i,n))}}function jd(t,e,a,l){var i=(i=Ca.current)?Xu(i):null;if(!i)throw Error(w(446));switch(t){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(e=en(a.href),a=kl(i).hoistableStyles,l=a.get(e),l||(l={type:"style",instance:null,count:0,state:null},a.set(e,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){t=en(a.href);var n=kl(i).hoistableStyles,u=n.get(t);if(u||(i=i.ownerDocument||i,u={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},n.set(t,u),(n=i.querySelector(vi(t)))&&!n._p&&(u.instance=n,u.state.loading=5),Ae.has(t)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},Ae.set(t,a),n||By(i,t,a,u.state))),e&&l===null)throw Error(w(528,""));return u}if(e&&l!==null)throw Error(w(529,""));return null;case"script":return e=a.async,a=a.src,typeof a=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=cn(a),a=kl(i).hoistableScripts,l=a.get(e),l||(l={type:"script",instance:null,count:0,state:null},a.set(e,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(w(444,t))}}function en(t){return'href="'+xe(t)+'"'}function vi(t){return'link[rel="stylesheet"]['+t+"]"}function N0(t){return ft({},t,{"data-precedence":t.precedence,precedence:null})}function By(t,e,a,l){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?l.loading=1:(e=t.createElement("link"),l.preload=e,e.addEventListener("load",function(){return l.loading|=1}),e.addEventListener("error",function(){return l.loading|=2}),Bt(e,"link",a),_t(e),t.head.appendChild(e))}function cn(t){return'[src="'+xe(t)+'"]'}function yi(t){return"script[async]"+t}function Qd(t,e,a){if(e.count++,e.instance===null)switch(e.type){case"style":var l=t.querySelector('style[data-href~="'+xe(a.href)+'"]');if(l)return e.instance=l,_t(l),l;var i=ft({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return l=(t.ownerDocument||t).createElement("style"),_t(l),Bt(l,"style",i),mu(l,a.precedence,t),e.instance=l;case"stylesheet":i=en(a.href);var n=t.querySelector(vi(i));if(n)return e.state.loading|=4,e.instance=n,_t(n),n;l=N0(a),(i=Ae.get(i))&&dr(l,i),n=(t.ownerDocument||t).createElement("link"),_t(n);var u=n;return u._p=new Promise(function(c,s){u.onload=c,u.onerror=s}),Bt(n,"link",l),e.state.loading|=4,mu(n,a.precedence,t),e.instance=n;case"script":return n=cn(a.src),(i=t.querySelector(yi(n)))?(e.instance=i,_t(i),i):(l=a,(i=Ae.get(n))&&(l=ft({},a),pr(l,i)),t=t.ownerDocument||t,i=t.createElement("script"),_t(i),Bt(i,"link",l),t.head.appendChild(i),e.instance=i);case"void":return null;default:throw Error(w(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(l=e.instance,e.state.loading|=4,mu(l,a.precedence,t));return e.instance}function mu(t,e,a){for(var l=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),i=l.length?l[l.length-1]:null,n=i,u=0;u<l.length;u++){var c=l[u];if(c.dataset.precedence===e)n=c;else if(n!==i)break}n?n.parentNode.insertBefore(t,n.nextSibling):(e=a.nodeType===9?a.head:a,e.insertBefore(t,e.firstChild))}function dr(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function pr(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var hu=null;function Vd(t,e,a){if(hu===null){var l=new Map,i=hu=new Map;i.set(a,l)}else i=hu,l=i.get(a),l||(l=new Map,i.set(a,l));if(l.has(t))return l;for(l.set(t,null),a=a.getElementsByTagName(t),i=0;i<a.length;i++){var n=a[i];if(!(n[oi]||n[jt]||t==="link"&&n.getAttribute("rel")==="stylesheet")&&n.namespaceURI!=="http://www.w3.org/2000/svg"){var u=n.getAttribute(e)||"";u=t+u;var c=l.get(u);c?c.push(n):l.set(u,[n])}}return l}function Zd(t,e,a){t=t.ownerDocument||t,t.head.insertBefore(a,e==="title"?t.querySelector("head > title"):null)}function Yy(t,e,a){if(a===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function E0(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}var Wn=null;function Xy(){}function jy(t,e,a){if(Wn===null)throw Error(w(475));var l=Wn;if(e.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(e.state.loading&4)===0){if(e.instance===null){var i=en(a.href),n=t.querySelector(vi(i));if(n){t=n._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(l.count++,l=ju.bind(l),t.then(l,l)),e.state.loading|=4,e.instance=n,_t(n);return}n=t.ownerDocument||t,a=N0(a),(i=Ae.get(i))&&dr(a,i),n=n.createElement("link"),_t(n);var u=n;u._p=new Promise(function(c,s){u.onload=c,u.onerror=s}),Bt(n,"link",a),e.instance=n}l.stylesheets===null&&(l.stylesheets=new Map),l.stylesheets.set(e,t),(t=e.state.preload)&&(e.state.loading&3)===0&&(l.count++,e=ju.bind(l),t.addEventListener("load",e),t.addEventListener("error",e))}}function Qy(){if(Wn===null)throw Error(w(475));var t=Wn;return t.stylesheets&&t.count===0&&Ss(t,t.stylesheets),0<t.count?function(e){var a=setTimeout(function(){if(t.stylesheets&&Ss(t,t.stylesheets),t.unsuspend){var l=t.unsuspend;t.unsuspend=null,l()}},6e4);return t.unsuspend=e,function(){t.unsuspend=null,clearTimeout(a)}}:null}function ju(){if(this.count--,this.count===0){if(this.stylesheets)Ss(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Qu=null;function Ss(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Qu=new Map,e.forEach(Vy,t),Qu=null,ju.call(t))}function Vy(t,e){if(!(e.state.loading&4)){var a=Qu.get(t);if(a)var l=a.get(null);else{a=new Map,Qu.set(t,a);for(var i=t.querySelectorAll("link[data-precedence],style[data-precedence]"),n=0;n<i.length;n++){var u=i[n];(u.nodeName==="LINK"||u.getAttribute("media")!=="not all")&&(a.set(u.dataset.precedence,u),l=u)}l&&a.set(null,l)}i=e.instance,u=i.getAttribute("data-precedence"),n=a.get(u)||l,n===l&&a.set(null,i),a.set(u,i),this.count++,l=ju.bind(this),i.addEventListener("load",l),i.addEventListener("error",l),n?n.parentNode.insertBefore(i,n.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(i,t.firstChild)),e.state.loading|=4}}var Pn={$$typeof:Fe,Provider:null,Consumer:null,_currentValue:$a,_currentValue2:$a,_threadCount:0};function Zy(t,e,a,l,i,n,u,c){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Po(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Po(0),this.hiddenUpdates=Po(null),this.identifierPrefix=l,this.onUncaughtError=i,this.onCaughtError=n,this.onRecoverableError=u,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=c,this.incompleteTransitions=new Map}function w0(t,e,a,l,i,n,u,c,s,r,y,b){return t=new Zy(t,e,a,u,c,s,r,b),e=1,n===!0&&(e|=24),n=ue(3,null,null,e),t.current=n,n.stateNode=t,e=Ys(),e.refCount++,t.pooledCache=e,e.refCount++,n.memoizedState={element:l,isDehydrated:a,cache:e},js(n),t}function T0(t){return t?(t=Dl,t):Dl}function C0(t,e,a,l,i,n){i=T0(i),l.context===null?l.context=i:l.pendingContext=i,l=Ma(e),l.payload={element:a},n=n===void 0?null:n,n!==null&&(l.callback=n),a=za(t,l,e),a!==null&&(re(a,t,e),_n(a,t,e))}function Kd(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var a=t.retryLane;t.retryLane=a!==0&&a<e?a:e}}function mr(t,e){Kd(t,e),(t=t.alternate)&&Kd(t,e)}function M0(t){if(t.tag===13){var e=nn(t,67108864);e!==null&&re(e,t,67108864),mr(t,67108864)}}var Vu=!0;function Ky(t,e,a,l){var i=j.T;j.T=null;var n=at.p;try{at.p=2,hr(t,e,a,l)}finally{at.p=n,j.T=i}}function $y(t,e,a,l){var i=j.T;j.T=null;var n=at.p;try{at.p=8,hr(t,e,a,l)}finally{at.p=n,j.T=i}}function hr(t,e,a,l){if(Vu){var i=qs(l);if(i===null)Tc(t,e,l,Zu,a),$d(t,l);else if(Iy(i,t,e,a,l))l.stopPropagation();else if($d(t,l),e&4&&-1<Jy.indexOf(t)){for(;i!==null;){var n=ln(i);if(n!==null)switch(n.tag){case 3:if(n=n.stateNode,n.current.memoizedState.isDehydrated){var u=Va(n.pendingLanes);if(u!==0){var c=n;for(c.pendingLanes|=2,c.entangledLanes|=2;u;){var s=1<<31-ce(u);c.entanglements[1]|=s,u&=~s}ke(n),(it&6)===0&&(Lu=_e()+500,gi(0,!1))}}break;case 13:c=nn(n,2),c!==null&&re(c,n,2),lo(),mr(n,2)}if(n=qs(l),n===null&&Tc(t,e,l,Zu,a),n===i)break;i=n}i!==null&&l.stopPropagation()}else Tc(t,e,l,null,a)}}function qs(t){return t=Os(t),gr(t)}var Zu=null;function gr(t){if(Zu=null,t=Tl(t),t!==null){var e=li(t);if(e===null)t=null;else{var a=e.tag;if(a===13){if(t=tp(e),t!==null)return t;t=null}else if(a===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return Zu=t,null}function z0(t){switch(t){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Lg()){case np:return 2;case ip:return 8;case bu:case kg:return 32;case up:return 268435456;default:return 32}default:return 32}}var As=!1,Da=null,_a=null,Ra=null,ti=new Map,ei=new Map,Aa=[],Jy="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function $d(t,e){switch(t){case"focusin":case"focusout":Da=null;break;case"dragenter":case"dragleave":_a=null;break;case"mouseover":case"mouseout":Ra=null;break;case"pointerover":case"pointerout":ti.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":ei.delete(e.pointerId)}}function An(t,e,a,l,i,n){return t===null||t.nativeEvent!==n?(t={blockedOn:e,domEventName:a,eventSystemFlags:l,nativeEvent:n,targetContainers:[i]},e!==null&&(e=ln(e),e!==null&&M0(e)),t):(t.eventSystemFlags|=l,e=t.targetContainers,i!==null&&e.indexOf(i)===-1&&e.push(i),t)}function Iy(t,e,a,l,i){switch(e){case"focusin":return Da=An(Da,t,e,a,l,i),!0;case"dragenter":return _a=An(_a,t,e,a,l,i),!0;case"mouseover":return Ra=An(Ra,t,e,a,l,i),!0;case"pointerover":var n=i.pointerId;return ti.set(n,An(ti.get(n)||null,t,e,a,l,i)),!0;case"gotpointercapture":return n=i.pointerId,ei.set(n,An(ei.get(n)||null,t,e,a,l,i)),!0}return!1}function O0(t){var e=Tl(t.target);if(e!==null){var a=li(e);if(a!==null){if(e=a.tag,e===13){if(e=tp(a),e!==null){t.blockedOn=e,Vg(t.priority,function(){if(a.tag===13){var l=se();l=Ts(l);var i=nn(a,l);i!==null&&re(i,a,l),mr(a,l)}});return}}else if(e===3&&a.stateNode.current.memoizedState.isDehydrated){t.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}t.blockedOn=null}function gu(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var a=qs(t.nativeEvent);if(a===null){a=t.nativeEvent;var l=new a.constructor(a.type,a);Bc=l,a.target.dispatchEvent(l),Bc=null}else return e=ln(a),e!==null&&M0(e),t.blockedOn=a,!1;e.shift()}return!0}function Jd(t,e,a){gu(t)&&a.delete(e)}function Fy(){As=!1,Da!==null&&gu(Da)&&(Da=null),_a!==null&&gu(_a)&&(_a=null),Ra!==null&&gu(Ra)&&(Ra=null),ti.forEach(Jd),ei.forEach(Jd)}function au(t,e){t.blockedOn===e&&(t.blockedOn=null,As||(As=!0,Ot.unstable_scheduleCallback(Ot.unstable_NormalPriority,Fy)))}var lu=null;function Id(t){lu!==t&&(lu=t,Ot.unstable_scheduleCallback(Ot.unstable_NormalPriority,function(){lu===t&&(lu=null);for(var e=0;e<t.length;e+=3){var a=t[e],l=t[e+1],i=t[e+2];if(typeof l!="function"){if(gr(l||a)===null)continue;break}var n=ln(a);n!==null&&(t.splice(e,3),e-=3,as(n,{pending:!0,data:i,method:a.method,action:l},l,i))}}))}function ai(t){function e(s){return au(s,t)}Da!==null&&au(Da,t),_a!==null&&au(_a,t),Ra!==null&&au(Ra,t),ti.forEach(e),ei.forEach(e);for(var a=0;a<Aa.length;a++){var l=Aa[a];l.blockedOn===t&&(l.blockedOn=null)}for(;0<Aa.length&&(a=Aa[0],a.blockedOn===null);)O0(a),a.blockedOn===null&&Aa.shift();if(a=(t.ownerDocument||t).$$reactFormReplay,a!=null)for(l=0;l<a.length;l+=3){var i=a[l],n=a[l+1],u=i[Pt]||null;if(typeof n=="function")u||Id(a);else if(u){var c=null;if(n&&n.hasAttribute("formAction")){if(i=n,u=n[Pt]||null)c=u.formAction;else if(gr(i)!==null)continue}else c=u.action;typeof c=="function"?a[l+1]=c:(a.splice(l,3),l-=3),Id(a)}}}function vr(t){this._internalRoot=t}oo.prototype.render=vr.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(w(409));var a=e.current,l=se();C0(a,l,t,e,null,null)};oo.prototype.unmount=vr.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;C0(t.current,2,null,t,null,null),lo(),e[an]=null}};function oo(t){this._internalRoot=t}oo.prototype.unstable_scheduleHydration=function(t){if(t){var e=fp();t={blockedOn:null,target:t,priority:e};for(var a=0;a<Aa.length&&e!==0&&e<Aa[a].priority;a++);Aa.splice(a,0,t),a===0&&O0(t)}};var Fd=Wd.version;if(Fd!=="19.1.1")throw Error(w(527,Fd,"19.1.1"));at.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(w(188)):(t=Object.keys(t).join(","),Error(w(268,t)));return t=Mg(e),t=t!==null?ep(t):null,t=t===null?null:t.stateNode,t};var Wy={bundleType:0,version:"19.1.1",rendererPackageName:"react-dom",currentDispatcherRef:j,reconcilerVersion:"19.1.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(Nn=__REACT_DEVTOOLS_GLOBAL_HOOK__,!Nn.isDisabled&&Nn.supportsFiber))try{ni=Nn.inject(Wy),oe=Nn}catch{}var Nn;co.createRoot=function(t,e){if(!Pd(t))throw Error(w(299));var a=!1,l="",i=wm,n=Tm,u=Cm,c=null;return e!=null&&(e.unstable_strictMode===!0&&(a=!0),e.identifierPrefix!==void 0&&(l=e.identifierPrefix),e.onUncaughtError!==void 0&&(i=e.onUncaughtError),e.onCaughtError!==void 0&&(n=e.onCaughtError),e.onRecoverableError!==void 0&&(u=e.onRecoverableError),e.unstable_transitionCallbacks!==void 0&&(c=e.unstable_transitionCallbacks)),e=w0(t,1,!1,null,null,a,l,i,n,u,c,null),t[an]=e.current,fr(t),new vr(e)};co.hydrateRoot=function(t,e,a){if(!Pd(t))throw Error(w(299));var l=!1,i="",n=wm,u=Tm,c=Cm,s=null,r=null;return a!=null&&(a.unstable_strictMode===!0&&(l=!0),a.identifierPrefix!==void 0&&(i=a.identifierPrefix),a.onUncaughtError!==void 0&&(n=a.onUncaughtError),a.onCaughtError!==void 0&&(u=a.onCaughtError),a.onRecoverableError!==void 0&&(c=a.onRecoverableError),a.unstable_transitionCallbacks!==void 0&&(s=a.unstable_transitionCallbacks),a.formState!==void 0&&(r=a.formState)),e=w0(t,1,!0,e,a??null,l,i,n,u,c,s,r),e.context=T0(null),a=e.current,l=se(),l=Ts(l),i=Ma(l),i.callback=null,za(a,i,l),a=l,e.current.lanes=a,ui(e,a),ke(e),t[an]=e.current,fr(t),new oo(e)};co.version="19.1.1"});var R0=pa((Ox,_0)=>{"use strict";function D0(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(D0)}catch(t){console.error(t)}}D0(),_0.exports=U0()});var zi={"\u5F53\u524D\u540E\u53F0\u5C1A\u672A\u52A0\u8F7D\u5B57\u4F53\u8BBE\u7F6E\u529F\u80FD\uFF0C\u8BF7\u91CD\u542F Web \u6216 Harness \u5BBF\u4E3B\u540E\u91CD\u8BD5\u3002":"The running backend does not support font settings yet. Restart the Web or Harness host, then retry.","\u5F53\u524D\u540E\u53F0\u5C1A\u672A\u52A0\u8F7D\u68C0\u67E5\u66F4\u65B0\u529F\u80FD\uFF0C\u8BF7\u91CD\u542F Web \u6216 Harness \u5BBF\u4E3B\u540E\u91CD\u8BD5\u3002":"The running backend does not support update checks yet. Restart the Web or Harness host, then retry.","\u8BF7\u8F93\u5165\u516D\u4F4D\u989C\u8272\uFF0C\u4F8B\u5982 #FF8800":"Enter a six-digit color, e.g. #FF8800","\u900F\u660E\u5EA6\u8BF7\u8F93\u5165 0\u2013100 \u7684\u6574\u6570":"Enter an integer from 0 to 100 for opacity","Alpha\uFF1A0% \u5B8C\u5168\u900F\u660E\uFF0C100% \u5B8C\u5168\u4E0D\u900F\u660E":"Alpha: 0% is transparent; 100% is opaque","{0}\u4E0E\u900F\u660E\u5EA6":"{0} and opacity",\u6253\u5F00\u53D6\u8272\u5668:"Open color picker","{0}\u53D6\u8272\u5668":"{0} color picker",\u900F\u660E\u5EA6:"Opacity","{0}\u900F\u660E\u5EA6\u6ED1\u5757":"{0} opacity slider","{0}\u900F\u660E\u5EA6":"{0} opacity","Lua \u7D22\u5F15\u5F85\u540C\u6B65\uFF08{0} \u9879\uFF09\xB7 \u5C55\u5F00":"Lua index references need updating ({0}) \xB7 Expand","Lua \u7D22\u5F15\u540C\u6B65":"Update Lua Index References","\u4E0B\u4E00\u6B65\uFF1A\u540C\u6B65 Lua \u7D22\u5F15\u5F15\u7528\uFF08{0} \u9879\uFF09":"Next: Update Lua index references ({0})",\u811A\u672C\u5168\u91CF\u66FF\u6362\u5DF2\u5B8C\u6210:"Script index replacement completed",\u5173\u95ED\u7D22\u5F15\u540C\u6B65\u63D0\u793A:"Close index update notice","\u6536\u8D77\u63D0\u793A\uFF0C\u4FDD\u7559\u5F85\u540C\u6B65\u8BB0\u5F55":"Collapse notice and keep pending changes",\u5173\u95ED:"Close","\u540C\u6B65\u4EFB\u52A1\uFF08\u7C98\u8D34\u7ED9\u5F53\u524D\u9879\u76EE\u7684 AI\uFF09":"Update task (paste into this project's AI chat)","AI \u7D22\u5F15\u540C\u6B65\u4EFB\u52A1":"AI task: Update index references","AI \u5DF2\u5904\u7406\uFF0C\u91CD\u65B0\u8F7D\u5165\u5B58\u6863":"AI finished \u2014 reload the save","\u63A7\u4EF6\u7D22\u5F15\u5DF2\u4FEE\u6539\uFF0C\u8BF7\u9009\u62E9\u4E00\u79CD\u65B9\u5F0F\u540C\u6B65\u811A\u672C\u3002":"Control indices changed. Choose how to update script references.","\u8BF7\u68C0\u67E5\u66FF\u6362\u7ED3\u679C\u5E76\u4FDD\u5B58\u5B58\u6863\uFF0C\u518D\u5230\u300CLua \u811A\u672C \u2192 \u5B9E\u673A\u811A\u672C\u540C\u6B65\u300D\u66F4\u65B0\u6E38\u620F\u91CC\u7684\u6587\u4EF6\u5E76\u91CD\u65B0\u8BD5\u73A9\u3002":"Review the replacements and save. Then use Lua Scripts \u2192 Sync Scripts to Game and test again in the game.",\u7D22\u5F15\u540C\u6B65\u65B9\u5F0F:"Update method",\u5168\u91CF\u66FF\u6362\u811A\u672C\u7D22\u5F15:"Replace All Script Indices","\u53EF\u80FD\u9519\u8BEF\u5730\u66FF\u6362\u975E\u7D22\u5F15\u5185\u5BB9\u3002":"This may replace numbers unrelated to control indices.","\u6309\u5B8C\u6574\u5341\u8FDB\u5236\u6570\u5B57\u66FF\u6362\u6240\u6709\u5DF2\u767B\u8BB0\u811A\u672C\uFF0C\u5305\u62EC\u914D\u7F6E\u8868\u3001\u5B57\u7B26\u4E32\u548C\u6CE8\u91CA\uFF1B\u540C\u65F6\u66F4\u65B0\u5185\u5BB9\u4E00\u81F4\u7684\u5DE5\u4F5C\u533A\u6E90\u6587\u4EF6\uFF0C\u66FF\u6362\u524D\u81EA\u52A8\u5907\u4EFD\u3002":"Replace whole decimal numbers in all registered scripts, including tables, strings, and comments. Matching workspace source files are updated too, with backups.","\u590D\u5236\u63D0\u793A\u8BCD\u7ED9 AI":"Copy Task for AI","\u5148\u4FDD\u5B58\u6700\u65B0\u5B58\u6863\uFF0C\u518D\u590D\u5236\u5305\u542B\u6620\u5C04\u8BFB\u53D6\u65B9\u5F0F\u548C\u811A\u672C\u4F4D\u7F6E\u7684\u63D0\u793A\u8BCD\uFF0C\u7531 AI \u5224\u65AD\u54EA\u4E9B\u5F15\u7528\u9700\u8981\u66F4\u65B0\u3002":"Save first, then copy the index mapping instructions and script locations so the AI can identify references to update.","\u67E5\u770B\u7D22\u5F15\u53D8\u66F4\uFF08{0} \u9879\uFF09":"View index changes ({0})","\u8FD9\u91CC\u663E\u793A\u524D 20 \u9879\uFF1B\u5B8C\u6574\u6620\u5C04\u968F\u5B58\u6863\u4FDD\u5B58\uFF0C\u590D\u5236\u7684\u4EFB\u52A1\u4F1A\u5F15\u5BFC AI \u8BFB\u53D6\u5168\u90E8\u3002":"Showing the first 20 changes. The save includes the complete mapping; the copied task tells the AI how to read it.","Lua \u7D22\u5F15\u540C\u6B65\u95EE\u9898":"Lua index update issues","\u6E90\u7801\u6587\u4EF6\u6216\u7D22\u5F15\u6620\u5C04\u5B58\u5728\u51B2\u7A81\uFF0C\u672C\u6B21\u6CA1\u6709\u4FEE\u6539\u811A\u672C\u3002\u53EF\u590D\u5236\u63D0\u793A\u8BCD\u7ED9 AI \u5904\u7406\u3002":"Source files or index mappings conflict. No scripts were changed. You can copy a task for the AI.",\u5185\u8054\u811A\u672C:"Inline script","\u7B2C {0} \u884C\uFF1A":"Line {0}:","\u5176\u4F59\u95EE\u9898\u8BF7\u7531 AI \u6838\u5BF9\u3002":"Ask the AI to review the remaining issues.","\u5DF2\u66FF\u6362 {0} \u4E2A\u811A\u672C\u7684 {1} \u5904\u6587\u672C\uFF0C\u66F4\u65B0 {2} \u4E2A\u9879\u76EE\u6587\u4EF6\u3002\u5907\u4EFD\uFF1A{3}":"Replaced {1} occurrences in {0} scripts and updated {2} project files. Backups: {3}","\u524D\u5F80 Lua \u811A\u672C":"Open Lua Scripts",\u65E0\u6CD5\u8BFB\u53D6\u5B57\u4F53\u8BBE\u7F6E:"Unable to read font settings","\u627E\u5230\u5B57\u4F53\uFF1A{0}\u3002":"Font found: {0}.","\u9ED8\u8BA4\u4F4D\u7F6E\u672A\u627E\u5230\u5B57\u4F53\uFF0C\u5C06\u4F7F\u7528\u7CFB\u7EDF\u5B57\u4F53\u3002":"No font found in the default locations. The system font will be used.","\u5DF2\u4FDD\u5B58\u3002{0}\u91CD\u542F Web\u3001MCP \u6216 Harness \u5BBF\u4E3B\u540E\uFF0C\u5237\u65B0\u7F16\u8F91\u5668\u53CA\u8BD5\u73A9\u9875\u751F\u6548\u3002":"Saved. {0}Restart the Web, MCP, or Harness host, then refresh the editor and playtest pages to apply.",\u5B57\u4F53\u8BBE\u7F6E:"Font Settings","\u81EA\u5B9A\u4E49\u5B57\u4F53\u53EF\u7528\u4E8E\u6E38\u620F\u5185\u6587\u672C\u6216\u6574\u4F53 UI\u3002\u8BBE\u7F6E\u4EC5\u4FDD\u5B58\u5728\u672C\u673A\uFF0C\u91CD\u542F\u5BBF\u4E3B\u540E\u751F\u6548\u3002":"Apply the custom font to in-game text or the entire UI. Settings stay on this machine and apply after restarting the host.",\u5E94\u7528\u8303\u56F4:"Apply to",\u4EC5\u6E38\u620F\u5185\u6587\u672C:"In-game text only","\u6574\u4F53 UI":"Entire UI","\u4EC5\u6E38\u620F\u5185\u6587\u672C\uFF1A\u7528\u4E8E\u753B\u5E03\u3001\u8BD5\u73A9\u548C\u622A\u56FE\uFF1B\u6574\u4F53 UI\uFF1A\u540C\u65F6\u66FF\u6362\u5DE5\u5177\u680F\u3001\u9762\u677F\u3001\u4EE3\u7801\u548C\u65E5\u5FD7\u5B57\u4F53\u3002":"In-game text only: canvas, playtests, and screenshots. Entire UI: also changes fonts in toolbars, panels, code, and logs.",\u8BF7\u9009\u62E9\u5B57\u4F53\u5E94\u7528\u8303\u56F4:"Choose where to apply the font","\u5F53\u524D\u5B57\u4F53\uFF1A{0}":"Active font: {0}",\u7CFB\u7EDF\u5B57\u4F53:"System font","\u5B57\u4F53\u6587\u4EF6\u7531\u73AF\u5883\u53D8\u91CF QXQY_FONT_PATH \u6307\u5B9A\uFF0C\u4ECD\u53EF\u8C03\u6574\u5E94\u7528\u8303\u56F4\u3002":"QXQY_FONT_PATH selects the font file. You can still change where it applies.",\u5B57\u4F53\u6765\u6E90:"Font source",\u81EA\u52A8\u5C1D\u8BD5\u539F\u795E\u7684\u9ED8\u8BA4\u5B89\u88C5\u4F4D\u7F6E:"Look in Genshin Impact's default installation locations",\u6307\u5B9A\u672C\u673A\u5B57\u4F53\u6587\u4EF6:"Use a local font file",\u4F7F\u7528\u7CFB\u7EDF\u5B57\u4F53:"Use the system font",\u5B57\u4F53\u6587\u4EF6\u8DEF\u5F84:"Font file path","\u586B\u5199 TTF / OTF \u7684\u7EDD\u5BF9\u8DEF\u5F84\uFF0C\u6700\u5927 32 MiB\uFF1B\u53EF\u4EE5\u76F4\u63A5\u7C98\u8D34\u5E26\u5F15\u53F7\u7684 Windows \u8DEF\u5F84\u3002":"Enter an absolute TTF / OTF path (up to 32 MiB). Quoted Windows paths are accepted.","\u6309\u987A\u5E8F\u5C1D\u8BD5\u4EE5\u4E0B\u4F4D\u7F6E\uFF1B\u90FD\u672A\u627E\u5230\u65F6\u4F7F\u7528\u7CFB\u7EDF\u5B57\u4F53\u3002\u5B89\u88C5\u5728\u5176\u4ED6\u76D8\u7B26\u65F6\u8BF7\u9009\u62E9\u201C\u6307\u5B9A\u672C\u673A\u5B57\u4F53\u6587\u4EF6\u201D\u3002":"These locations are checked in order. If none contains a font, the system font is used. For another drive, select \u201CUse a local font file\u201D.","\u5F53\u524D\u7CFB\u7EDF\u4E0D\u81EA\u52A8\u67E5\u627E\uFF0C\u8BF7\u6307\u5B9A\u5B57\u4F53\u6587\u4EF6\u3002":"Automatic font discovery is unavailable on this system. Specify a font file.","\u6709\u5DF2\u4FDD\u5B58\u7684\u5B57\u4F53\u8BBE\u7F6E\uFF0C\u91CD\u542F\u5BBF\u4E3B\u5E76\u5237\u65B0\u9875\u9762\u540E\u751F\u6548\u3002":"Font settings have been saved. Restart the host and refresh the pages to apply them.","\u6B63\u5728\u8BFB\u53D6\u8BBE\u7F6E\u2026":"Loading settings\u2026","\u4FDD\u5B58\u4E2D\u2026":"Saving...",\u4FDD\u5B58\u8BBE\u7F6E:"Save Settings","\u56FE\u7247 {0} \u52A0\u8F7D\u5931\u8D25":"Failed to load image {0}","\u52A0\u8F7D\u56FE\u7247 {0}\u2026":"Loading image {0}\u2026","\u56FE\u7247 {0}":"Image {0}",\u56FE\u7247\u7C7B\u578B:"Image Type",\u5143\u6570\u636E\u52A0\u8F7D\u5931\u8D25:"Failed to load image metadata","\u8BFB\u53D6\u7D20\u6750\u8FB9\u754C\u2026":"Loading asset borders\u2026",\u57FA\u7840:"Basic",\u62C9\u4F38:"Stretch",\u5BA2\u6237\u7AEF\u63A7\u4EF6\u5BB9\u5668:"Client Control Container",\u5BB9\u5668\u8282\u70B9:"Container Control",\u6587\u672C\u6846:"Text Box",\u5149\u6807\u68C0\u6D4B\u533A\u57DF:"CursorEventArea",\u6A21\u677F\u5F15\u7528\u63A7\u4EF6:"Reference Control",\u7F51\u683C\u89C6\u7A97:"Grid Scroller",\u56FE\u7247:"Image",\u9884\u8BBE\u6309\u94AE:"Preset Button",\u6587\u672C\u89C6\u7A97:"Text Window",\u6309\u952E\u63D0\u793A:"Key Hint",\u754C\u9762\u52A8\u6548:"UI Animation",\u5168\u5C4F\u52A8\u6548:"Fullscreen UI Animation",\u5149\u6807\u68C0\u6D4B:"CursorEventArea",\u6A21\u677F\u5F15\u7528:"Reference Control","\u5BFC\u51FA\u5185\u5BB9\u89E3\u7801\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5\u6216\u5237\u65B0\u9875\u9762":"Unable to decode the export. Retry or refresh the page.","PC KEYBOARD \u753B\u5E03\uFF1A1600\xD7900 / 2100\xD7900":"PC KEYBOARD canvas: 1600\xD7900 / 2100\xD7900",\u624B\u673A:"Mobile","\u624B\u673A TOUCHSCREEN \u753B\u5E03\uFF1A1280\xD7720 / 1560\xD7720 / 1280\xD7960":"Mobile TOUCHSCREEN canvas: 1280\xD7720 / 1560\xD7720 / 1280\xD7960",\u5C1A\u65E0\u53EF\u7F16\u8F91\u503C:"No editable value available","\u672A\u8BC6\u522B\u9009\u9879 {0}\uFF08\u4FDD\u7559\u539F\u503C\uFF09":"Unknown option {0} (original value preserved)",\u7A7A:"None","\u65B0\u5EFA\u5E76\u7ED1\u5B9A{0}\u56FE\u7247":"Create and assign a {0} image",\u7FBD\u5316\u5BBD\u5EA6:"Soft Edge Width",\u7FBD\u5316\u8303\u56F4:"Soft Edge Range",\u56FE\u7247\u8BBE\u7F6E:"Image Settings",\u906E\u7F69\u8BBE\u7F6E:"Mask Settings",\u6587\u672C\u6846\u8BBE\u7F6E:"Text Box Settings",\u6309\u94AE\u8BBE\u7F6E:"Button Settings","{0}\u8BBE\u7F6E":"{0} Settings",\u8282\u70B9\u4FE1\u606F:"Node Information",\u53D8\u6362:"Transform",\u4F4D\u7F6E:"Location",\u5927\u5C0F:"Size",\u4E2D\u5FC3:"Pivot",\u521B\u5EFA\u8BBE\u7F6E:"Create Settings",\u624B\u67C4\u5BFC\u822A:"Controller Navigation",\u5B9E\u73B0\u72B6\u6001:"Support Status","\u5B58\u6863\u5185 Lua \u811A\u672C\uFF08{0}\uFF09":"Lua Scripts in This Save ({0})","\uFF0B \u65B0\u5EFA\u811A\u672C":"\uFF0B New Script","(\u672A\u547D\u540D\u811A\u672C)":"(Unnamed script)","\u6302\u8F7D\uFF1A{0} \xB7 {1}":"Attached to: {0} \xB7 {1}","\u672A\u6302\u8F7D\uFF08\u4EC5\u53EF\u88AB require\uFF09":"Not attached (available through require only)","\u4E0B\u8F7D\u8BE5\u811A\u672C .lua":"Download this script as .lua",\u5220\u9664\u8BE5\u811A\u672C:"Delete this script","\u8FD8\u6CA1\u6709\u811A\u672C\uFF0C\u70B9\u51FB\u201C\u65B0\u5EFA\u811A\u672C\u201D\u5F00\u59CB":"No scripts yet. Click \u201CNew Script\u201D to begin.","\u5C5E\u4E8E\u5B58\u6863\u201C{0}\u201D \xB7 Lua \u811A\u672C\u662F\u5B58\u6863\u5185\u72EC\u7ACB\u8D44\u4EA7":"Save: \u201C{0}\u201D \xB7 Lua scripts are separate assets within the save",\u672A\u547D\u540D\u5B58\u6863:"Untitled Save","\u811A\u672C {0}":"Script {0}","\u811A\u672C\u8DEF\u5F84\uFF08\u5DE5\u4F5C\u533A\u76F8\u5BF9\u8DEF\u5F84\uFF09":"Script path (relative to the workspace)","\u6302\u8F7D\u76EE\u6807\uFF08\u5BA2\u6237\u7AEF\u63A7\u4EF6 / \u5BA2\u6237\u7AEF\u63A7\u4EF6\u6A21\u677F\uFF09":"Attach to (client control / client control template)","\u672A\u6302\u8F7D\uFF08\u4E0D\u751F\u6548\uFF0C\u4EC5\u53EF\u88AB require\uFF09":"Not attached (does not run automatically; require only)","\u670D\u52A1\u5668\u63A7\u4EF6\u6A21\u677F \xB7 \u5BA2\u6237\u7AEF\u63A7\u4EF6\u5BB9\u5668\u5185":"Server Control Template \xB7 Inside the Client Control Container",\u5BA2\u6237\u7AEF\u63A7\u4EF6\u6A21\u677F:"Client Control Template","Lua \u6E90\u7801":"Lua Source","-- \u5728\u8FD9\u91CC\u8F93\u5165\u5BA2\u6237\u7AEF Lua\uFF1B\u811A\u672C\u53EA\u6709\u6302\u8F7D\u5230\u5BA2\u6237\u7AEF\u63A7\u4EF6\u540E\u624D\u4F1A\u5728\u8BD5\u73A9\u65F6\u751F\u6548":"-- Enter client-side Lua here; attach the script to a client control to run it in playtests",\u6709\u672A\u4FDD\u5B58\u7684\u4FEE\u6539:"Unsaved changes","\u5DF2\u6302\u8F7D\uFF1A{0}":"Attached to: {0}","\u5F53\u524D\u672A\u6302\u8F7D\uFF0C\u8BD5\u73A9\u65F6\u4E0D\u4F1A\u81EA\u52A8\u8FD0\u884C":"Not attached; it will not run automatically in playtests","\u21E9 \u811A\u672C\u5305 JSON":"\u21E9 Script Bundle JSON","\u21E9 \u811A\u672C\u5305 GIA":"\u21E9 Script Bundle GIA",\u4FDD\u5B58\u811A\u672C:"Save Script",\u8BF7\u65B0\u5EFA\u6216\u9009\u62E9\u4E00\u4E2A\u811A\u672C:"Create or select a script","PlayerSelf \u5F53\u524D\u73A9\u5BB6":"PlayerSelf \u2014 Current Player","AllPlayers \u5168\u90E8\u73A9\u5BB6":"AllPlayers \u2014 All Players","Level \u5173\u5361":"Level \u2014 Stage","Player1 \u73A9\u5BB61":"Player1 \u2014 Player 1","Player2 \u73A9\u5BB62":"Player2 \u2014 Player 2","Player3 \u73A9\u5BB63":"Player3 \u2014 Player 3","Player4 \u73A9\u5BB64":"Player4 \u2014 Player 4","Player5 \u73A9\u5BB65":"Player5 \u2014 Player 5","Player6 \u73A9\u5BB66":"Player6 \u2014 Player 6","Player7 \u73A9\u5BB67":"Player7 \u2014 Player 7","Player8 \u73A9\u5BB68":"Player8 \u2014 Player 8","\u89C4\u5219 {0} \u9700\u8981\u76D1\u542C\u4FE1\u53F7\u540D":"Rule {0} needs a signal name to listen for","\u89C4\u5219 {0} \u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u52A8\u4F5C":"Rule {0} needs at least one action","\u89C4\u5219 {0} \u52A8\u4F5C {1} \u9700\u8981\u5BA2\u6237\u7AEF\u4FE1\u53F7\u540D":"Rule {0}, action {1} needs a client signal name","\u89C4\u5219 {0} \u52A8\u4F5C {1} \u9700\u8981\u53D8\u91CF\u540D":"Rule {0}, action {1} needs a variable name","{0}\u6765\u6E90":"{0} source","\u5B57\u9762\u91CF\uFF08JSON\uFF09":"Literal (JSON)",\u5F15\u7528\u76D1\u542C\u4FE1\u53F7\u53C2\u6570:"Use a received signal argument","{0}\u53C2\u6570\u5E8F\u53F7":"{0} argument index","{0}\u5B57\u9762\u91CF":"{0} literal","\u5BA2\u6237\u7AEF\u4FE1\u53F7\u53C2\u6570\uFF08\u6309\u6DFB\u52A0\u987A\u5E8F\uFF09":"Client signal arguments (in order)","\u53C2\u6570 {0}":"Argument {0}",\u5220\u9664\u53C2\u6570:"Remove argument","\u6682\u65E0\u53C2\u6570\uFF0C\u53EF\u53D1\u9001\u7A7A\u53C2\u6570\u5217\u8868":"No arguments; an empty argument list can be sent","\uFF0B \u6DFB\u52A0\u53C2\u6570":"\uFF0B Add Argument",\u670D\u52A1\u7AEF\u903B\u8F91:"Server Logic","\u5C5E\u4E8E\u5B58\u6863\u201C{0}\u201D \xB7 \u76D1\u542C\u5BA2\u6237\u7AEF\u4FE1\u53F7\u540E\u8BBE\u7F6E Level / \u73A9\u5BB6\u53D8\u91CF\uFF0C\u6216\u5411\u6307\u5B9A\u73A9\u5BB6\u53D1\u9001\u5BA2\u6237\u7AEF\u811A\u672C\u4FE1\u53F7":"Save: \u201C{0}\u201D \xB7 Listen for client signals to set Level / player variables or send client script signals to selected players",\u4FDD\u5B58\u670D\u52A1\u7AEF\u903B\u8F91:"Save Server Logic","\u8FD9\u662F\u6A21\u62DF\u5668\u5B58\u6863\u683C\u5F0F\uFF0C\u4E0D\u662F\u5B98\u65B9\u8282\u70B9\u56FE\u3002PlayerSelf \u8868\u793A\u53D1\u4FE1\u53F7\u7684\u90A3\u4F4D\u73A9\u5BB6\uFF1BPlayer1\u20138 \u662F\u56FA\u5B9A\u5EA7\u4F4D\uFF1BAllPlayers \u5411\u672C\u5C40\u5168\u90E8\u8BD5\u73A9\u73A9\u5BB6\u5E7F\u64AD\u3002":"This uses the simulator's save format. PlayerSelf is the player who sent the signal; Player1\u20138 are fixed slots; AllPlayers broadcasts to every player in this playtest.","\u89C4\u5219 {0}":"Rule {0}",\u76D1\u542C\u4FE1\u53F7\u540D:"Signal to listen for","\u89C4\u5219 {0} \u76D1\u542C\u4FE1\u53F7\u540D":"Rule {0}: signal to listen for",\u5220\u9664\u89C4\u5219:"Remove rule","\u52A8\u4F5C {0}":"Action {0}","\u89C4\u5219 {0} \u52A8\u4F5C {1} \u7C7B\u578B":"Rule {0}, action {1}: type",\u8BBE\u7F6E\u81EA\u5B9A\u4E49\u53D8\u91CF:"Set Custom Variable",\u53D1\u9001\u5BA2\u6237\u7AEF\u811A\u672C\u4FE1\u53F7:"Send Client Script Signal","\u53D1\u7ED9\u5F53\u524D\u73A9\u5BB6\u3001\u6307\u5B9A\u73A9\u5BB6\u6216\u5168\u90E8\u73A9\u5BB6":"Send to the current player, a selected player, or all players","\u5199\u5165 Level / \u5F53\u524D\u73A9\u5BB6 / \u73A9\u5BB61-8":"Write to Level / current player / Player1\u20138",\u5220\u9664\u52A8\u4F5C:"Remove action",\u53D1\u9001\u76EE\u6807:"Send to",\u5BA2\u6237\u7AEF\u4FE1\u53F7\u540D:"Client signal name",\u5B9E\u4F53:"Entity",\u53D8\u91CF\u540D:"Variable name",\u53D8\u91CF\u503C:"Variable value","\uFF0B \u8BBE\u7F6E\u81EA\u5B9A\u4E49\u53D8\u91CF":"\uFF0B Set Custom Variable","\uFF0B \u53D1\u9001\u5BA2\u6237\u7AEF\u811A\u672C\u4FE1\u53F7":"\uFF0B Send Client Script Signal","\u8FD8\u6CA1\u6709\u76D1\u542C\u89C4\u5219\u3002\u8BD5\u73A9\u65F6\u5BA2\u6237\u7AEF SendSignal \u4E0D\u4F1A\u81EA\u52A8\u6539\u53D8\u91CF\u6216\u56DE\u4F20\u4FE1\u53F7\u3002":"No signal rules yet. In a playtest, client SendSignal calls do not automatically change variables or send signals back.","\uFF0B \u6DFB\u52A0\u76D1\u542C\u89C4\u5219":"\uFF0B Add Signal Rule","\u4FDD\u5B58\u540E\u4F1A\u5199\u5165\u5F53\u524D\u5B58\u6863\uFF0C\u4E0B\u6B21\u8BD5\u73A9\u751F\u6548":"Saved to the current save; applies on the next playtest","\u8BF7\u8F93\u5165 1\u20132147483647 \u4E4B\u95F4\u7684\u6574\u6570\u7D22\u5F15\u3002":"Enter an integer index from 1 to 2147483647.",\u5BA2\u6237\u7AEF\u63A7\u4EF6\u7D22\u5F15:"Client Control Index",\u4FDD\u5B58\u4E2D:"Saving",\u4FEE\u6539:"Edit",\u81EA\u52A8\u4FEE\u6539\u5176\u4ED6\u5BA2\u6237\u7AEF\u7D22\u5F15\u503C:"Automatically fill other client control indices",\u81EA\u52A8\u586B\u5145\u7D22\u5F15\u9884\u89C8:"Index Autofill Preview","\u4EE5\u5F53\u524D\u63A7\u4EF6\u4E3A\u57FA\u51C6\uFF0C\u6309 GIA \u5BFC\u5165\u987A\u5E8F\u586B\u5145 {0} \u4E2A\u63A7\u4EF6\uFF08{1} \u4E2A\u6A21\u677F\u53CA\u5176\u5B50\u63A7\u4EF6\uFF09\u3002":"Using this control as the anchor, assign indices in GIA import order to {0} controls ({1} templates and their children).","\u7D22\u5F15\u8303\u56F4\uFF1A{0}\u2013{1}":"Index range: {0}\u2013{1}","\u7D22\u5F15\u8303\u56F4\u8D85\u51FA\u6709\u6548\u8303\u56F4\uFF0C\u8BF7\u68C0\u67E5\u8F93\u5165\u3002":"Index range exceeds the valid bounds. Check your input.","\u9002\u7528\u4E8E\u6574\u6279\u5BFC\u5165\u540E\u672A\u589E\u5220\u3001\u91CD\u6392\u7684\u6A21\u677F\u3002\u670D\u52A1\u7AEF\u754C\u9762\u548C\u811A\u672C\u7D22\u5F15\u9700\u5355\u72EC\u586B\u5199\u3002":"For templates imported together without structural changes or reordering. Server UI and script indices must be entered separately.","\u586B\u5199 GIA \u5BFC\u5165\u540E\u5B9E\u9645\u663E\u793A\u7684\u7D22\u5F15\uFF1B\u4FEE\u6539\u540E\u4ECE\u9875\u9762\u4E0A\u65B9\u7EE7\u7EED\u540C\u6B65 Lua\u3002":"Enter the actual index shown after importing the GIA. Then update Lua references using the notice above.",\u6302\u8F7D\u5230\u8BE5\u63A7\u4EF6\u7684\u811A\u672C:"Scripts Attached to This Control","\u89E3\u9664\u6302\u8F7D\uFF08\u4FDD\u7559\u811A\u672C\uFF09":"Detach (keep script)","\u8BE5\u63A7\u4EF6\u5C1A\u672A\u6302\u8F7D\u811A\u672C\u3002\u811A\u672C\u6302\u8F7D\u5230\u5BA2\u6237\u7AEF\u63A7\u4EF6\u540E\u624D\u4F1A\u5728\u8BD5\u73A9\u65F6\u751F\u6548\u3002":"No script is attached to this control. Attach a script to a client control to run it in playtests.",\u6302\u8F7D\u5DF2\u6709\u811A\u672C:"Attach an Existing Script",\u9009\u62E9\u811A\u672C\u6302\u8F7D\u5230\u8BE5\u63A7\u4EF6:"Choose a script to attach to this control","\u9009\u62E9\u811A\u672C\u2026":"Select a script\u2026","\uFF08\u5F53\u524D\u6302\u8F7D\u4E8E {0} \xB7 {1}\uFF0C\u5C06\u79FB\u52A8\u5230\u6B64\u63A7\u4EF6\uFF09":"(currently on {0} \xB7 {1}; will move to this control)","\uFF08\u672A\u6302\u8F7D\uFF09":"(not attached)","\u5B58\u6863\u5185\u8FD8\u6CA1\u6709\u5176\u4ED6\u811A\u672C\uFF0C\u53EF\u70B9\u51FB\u4E0B\u65B9\u6309\u94AE\u65B0\u5EFA\u3002":"No other scripts in this save. Create one using the button below.","\uFF0B \u65B0\u5EFA\u811A\u672C\u5E76\u6302\u8F7D\u5230\u6B64\u63A7\u4EF6":"\uFF0B Create and Attach a Script","\u7F3A\u5C11\u56FE\u7247 {0}":"Missing image {0}",\u672C\u5730\u5B57\u4F53\u52A0\u8F7D\u5931\u8D25:"Failed to load the local font","\u5F53\u524D\u8D44\u4EA7\u5DF2\u5207\u6362\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9\u63A7\u4EF6\u540E\u4FEE\u6539\u7D22\u5F15":"The active asset changed. Select the control again before changing its index.","\u63A7\u4EF6\u7D22\u5F15\u5DF2\u4FEE\u6539\u3002\u8BF7\u9009\u62E9\u4E0A\u65B9\u300C\u5168\u91CF\u66FF\u6362\u811A\u672C\u7D22\u5F15\u300D\u6216\u300C\u590D\u5236\u63D0\u793A\u8BCD\u7ED9 AI\u300D\u3002":"Control indices changed. Choose \u201CReplace All Script Indices\u201D or \u201CCopy Task for AI\u201D above.","\u8BF7\u5148\u4FDD\u5B58\u5B8C\u6574\u5B58\u6863\uFF0C\u518D\u590D\u5236\u63D0\u793A\u8BCD\uFF1BAI \u9700\u8981\u8BFB\u53D6\u8FD9\u6B21\u5B9E\u9645\u4FEE\u6539\u7684\u5B58\u6863\u3002":"Save the complete project before copying the task. The AI needs the save containing these changes.","\u8BF7\u5B8C\u6210\u6A21\u62DF\u5668\u63A7\u4EF6\u7D22\u5F15\u4E0E Lua \u5F15\u7528\u540C\u6B65\u3002":"Update the simulator's control indices and Lua references.","\u5DE5\u4F5C\u533A\uFF1A{0}":"Workspace: {0}",\u8BF7\u5148\u6838\u5BF9\u5DE5\u4F5C\u533A:"Verify the workspace first","\u6700\u65B0\u5B8C\u6574\u5B58\u6863\uFF1A{0}\uFF08\u7F16\u8F91\u5668\u5DF2\u4FDD\u5B58\uFF09":"Latest complete save: {0} (saved by the editor)","Lua \u6587\u4EF6\uFF1A{0}":"Lua files: {0}","\u5185\u8054\u811A\u672C {0}":"Inline script {0}",\u6682\u65E0:"None","\u5148\u4ECE\u4E0A\u8FF0\u6587\u4EF6\u91CD\u65B0\u52A0\u8F7D\u6700\u65B0\u5B58\u6863\uFF0C\u4E0D\u8981\u4F7F\u7528\u53E6\u4E00\u4E2A MCP/Web \u8FDB\u7A0B\u91CC\u7684\u65E7\u5DE5\u7A0B\u3002":"Reload the latest save from the file above. Do not use an older project from another MCP/Web process.","\u83B7\u53D6\u65B0\u65E7\u6620\u5C04\uFF1A\u8BFB\u53D6\u8BE5 JSON \u9876\u5C42\u7684 controlGuidChanges \u6570\u7EC4\uFF0C\u5F53\u524D\u5171 {0} \u6761\uFF0C\u5FC5\u987B\u8BFB\u53D6\u5168\u90E8\u8BB0\u5F55\u3002oldGuid \u662F\u65E7\u7D22\u5F15\uFF0CnewGuid \u662F\u65B0\u7D22\u5F15\uFF1BcontrolAsset + controlId \u6807\u8BC6\u63A7\u4EF6\uFF0CcontrolName \u662F\u540D\u79F0\uFF0Cid \u662F\u8BB0\u5F55\u7F16\u53F7\uFF0CbatchId \u662F\u6279\u6B21\u3002":"Read all {0} entries in the save's top-level controlGuidChanges array. oldGuid/newGuid are the old/new indices. controlAsset + controlId identifies the control; controlName is its name; id identifies the change; batchId identifies the batch.","\u83B7\u53D6\u811A\u672C\uFF1A\u8BFB\u53D6 assets.scripts \u6570\u7EC4\uFF1B\u6BCF\u9879\u7684 source \u662F\u5B58\u6863\u5185\u6E90\u7801\uFF0Cpath \u662F\u811A\u672C\u6587\u4EF6\u8DEF\u5F84\uFF08\u76F8\u5BF9\u8DEF\u5F84\u4EE5\u5DE5\u4F5C\u533A\u4E3A\u57FA\u51C6\uFF09\u3002":"Read scripts from assets.scripts. Each source contains the saved code; path identifies its file, relative to the workspace where applicable.","\u6309\u63A7\u4EF6\u8EAB\u4EFD\u548C\u53D8\u66F4\u987A\u5E8F\u6838\u5BF9\u5168\u90E8 Lua \u811A\u672C\u7684\u7D22\u5F15\u5E38\u91CF\u3001\u914D\u7F6E\u8868\u4E0E\u8C03\u7528\uFF0C\u4FEE\u6539\u5B58\u6863\u4E2D\u7684 source \u53CA\u76F8\u5173 Lua \u6E90\u6587\u4EF6\u548C\u751F\u6210\u5668\u6620\u5C04\uFF0C\u907F\u514D\u91CD\u5EFA\u540E\u8986\u76D6\u3002\u4E0D\u8981\u5168\u5C40\u66FF\u6362\u540C\u503C\u6570\u5B57\uFF0C\u4E5F\u4E0D\u8981\u6539\u8FD0\u884C\u65F6\u5B9E\u4F8B ID \u6216\u56FE\u7247\u8D44\u6E90 ID\u3002":"Review index constants, tables, and calls in all Lua scripts by control identity and change order. Update saved source, related Lua files, and generator mappings. Do not globally replace equal numbers or alter runtime instance IDs or image resource IDs.","\u540C\u4E00 batchId \u662F\u540C\u65F6\u6620\u5C04\uFF0C\u987B\u6309\u539F\u503C\u4E00\u6B21\u6027\u5E94\u7528\uFF0C\u4E0D\u80FD\u9010\u6761\u66FF\u6362\u5BFC\u81F4\u7D22\u5F15\u4E32\u6539\u3002":"Changes sharing batchId form one simultaneous mapping. Apply them to original values together to avoid cascading replacements.","\u68C0\u67E5\u65E7\u7D22\u5F15\u5F15\u7528\u5E76\u91CD\u65B0\u8BD5\u73A9\uFF1B\u4EC5\u5728\u5F15\u7528\u5168\u90E8\u540C\u6B65\u6216\u660E\u786E\u6CA1\u6709\u5F15\u7528\u540E\uFF0C\u7528 acknowledgeControlGuidChanges \u7684 changeIds \u6E05\u9664\u5DF2\u6838\u5BF9\u8BB0\u5F55\uFF0C\u4FDD\u5B58\u5B8C\u6574\u5B58\u6863\u3002\u672A\u5224\u65AD\u7684\u8BB0\u5F55\u7EE7\u7EED\u4FDD\u7559\u3002":"Check old references and playtest again. Only after updating every reference or confirming none exist, acknowledge reviewed changeIds with acknowledgeControlGuidChanges and save. Keep unreviewed changes.","\u5B8C\u6210\u540E\u544A\u77E5\u7528\u6237\u91CD\u65B0\u8F7D\u5165\u8FD9\u4E2A\u5B58\u6863\uFF0C\u518D\u901A\u8FC7\u300CLua \u811A\u672C \u2192 \u5B9E\u673A\u811A\u672C\u540C\u6B65\u300D\u66F4\u65B0\u6E38\u620F\u6587\u4EF6\uFF1B\u4E0D\u8981\u91CD\u65B0\u5BFC\u5165 GIA\uFF0C\u4E5F\u4E0D\u8981\u64C5\u81EA\u590D\u5236\u5230\u6E38\u620F\u76EE\u5F55\u3002":"Tell the user to reload this save and use Lua Scripts \u2192 Sync Scripts to Game. Do not reimport GIA or copy files into the game directory without authorization.","\u5B58\u6863\u5DF2\u4FDD\u5B58\uFF0C\u63D0\u793A\u8BCD\u5DF2\u590D\u5236\uFF0C\u5305\u542B\u5B8C\u6574\u6620\u5C04\u7684\u8BFB\u53D6\u65B9\u5F0F\u3002\u7C98\u8D34\u7ED9 AI\uFF1B\u5904\u7406\u540E\u91CD\u65B0\u8F7D\u5165\u5B58\u6863\u3002":"Save written and task copied, including instructions for reading the full mapping. Paste it into the AI chat, then reload the save when finished.","\u5B58\u6863\u5DF2\u4FDD\u5B58\u3002\u526A\u8D34\u677F\u4E0D\u53EF\u7528\uFF0C\u53EF\u4ECE\u4E0B\u65B9\u6587\u672C\u6846\u624B\u52A8\u590D\u5236\u63D0\u793A\u8BCD\u3002":"Save written. Clipboard access is unavailable; copy the task from the text box below.","\u56FE\u7247 {0} \u5DF2\u91CD\u65B0\u4E0B\u8F7D\uFF1B\u540C\u6E90\u8BD5\u73A9\u9875\u4F1A\u540C\u6B65\u5237\u65B0\u3002":"Image {0} downloaded again. Playtest pages on this origin will refresh it too.","{0}\u56FE\u7247":"{0} Image","{0}\u5DF2\u521B\u5EFA\u5E76\u7ED1\u5B9A\uFF1B\u53EF\u5728\u63A7\u4EF6\u6811\u4E2D\u7EE7\u7EED\u7F16\u8F91\u56FE\u7247\u3002":"Created and assigned {0}. Edit the image in the control tree.","Lua \u811A\u672C\u5DF2\u4FDD\u5B58\u5230\u5F53\u524D\u5B58\u6863":"Lua script saved to the current save",\u670D\u52A1\u7AEF\u903B\u8F91\u5DF2\u4FDD\u5B58\u5230\u5F53\u524D\u5B58\u6863:"Server logic saved to the current save",\u5DF2\u65B0\u5EFA\u811A\u672C\u5E76\u6302\u8F7D\u5230\u8BE5\u63A7\u4EF6:"Script created and attached to this control","\u5DF2\u65B0\u5EFA\u811A\u672C\uFF0C\u53EF\u7F16\u8F91\u8DEF\u5F84\u3001\u6E90\u7801\u548C\u6302\u8F7D\u76EE\u6807":"Script created. Edit its path, source, and attachment target.",\u811A\u672C\u5DF2\u5220\u9664:"Script deleted","\u5DF2\u89E3\u9664\u6302\u8F7D\uFF0C\u811A\u672C\u4ECD\u4FDD\u7559\u5728\u5B58\u6863\u4E2D":"Script detached and kept in the save",\u5DF2\u6302\u8F7D\u5230\u5F53\u524D\u63A7\u4EF6:"Attached to the current control","\u5DF2\u5207\u6362\u5230\u5B58\u6863\u5185\u7684{0}":"Switched to {0} in this save","{0}\u6A21\u677F":"{0} Template","\u5DF2\u65B0\u589E{0}\u6A21\u677F":"Created a {0} template","\u5DF2\u6DFB\u52A0{0}\u5B50\u63A7\u4EF6":"Added a {0} child control","\u5DF2\u5BFC\u51FA {0} \u4E2A GIA \u6587\u4EF6\uFF08{1}\uFF09\uFF1B\u82E5\u6D4F\u89C8\u5668\u62E6\u622A\u591A\u6587\u4EF6\u4E0B\u8F7D\uFF0C\u8BF7\u5141\u8BB8\u540E\u91CD\u8BD5\u3002":"Exported {0} GIA files ({1}). If downloads are blocked, allow multiple downloads and retry.","\u5DF2\u5BFC\u51FA {0}\uFF1B\u8BF7\u67E5\u770B\u4E0A\u65B9\u5BFC\u51FA\u8BF4\u660E\u3002":"Exported {0}. Review the export notes above.","\u5DF2\u5BFC\u51FA {0}":"Exported {0}","\u5DF2\u4ECE\u5DE5\u4F5C\u533A\u62C9\u53D6 {0}":"Loaded {0} from the workspace","\u4EC5\u652F\u6301 .json\u3001.gia \u6216 .lua \u6587\u4EF6":"Only .json, .gia, and .lua files are supported","\u5DF2\u5BFC\u5165 {0}":"Imported {0}","\u5DF2\u4FDD\u5B58\u5230 {0}":"Saved to {0}","\u6B63\u5728\u8F7D\u5165\u5343\u661F\u6C99\u7BB1\u2026":"Loading Miliastra Sandbox\u2026","\u5DF2\u5207\u6362\u5230{0}":"Switched to {0}",\u4FDD\u5B58\u5230\u5DE5\u4F5C\u533A:"Save to Workspace",\u5B58\u6863\u76F8\u5BF9\u8DEF\u5F84:"Save path (relative to workspace)",\u53D6\u6D88:"Cancel",\u4FDD\u5B58:"Save",\u5DE5\u4F5C\u533A\u672A\u7ED1\u5B9A:"No workspace bound",\u5C1A\u672A\u5BFC\u5165\u6587\u4EF6:"No file imported","\u5B58\u6863\uFF1A{0}":"Save: {0}","\u5DE5\u4F5C\u533A\uFF1A{0} \xB7 \u5F53\u524D\u8D44\u4EA7\uFF1A{1}":"Workspace: {0} \xB7 Active asset: {1}",\u672A\u7ED1\u5B9A:"Unbound",UI\u63A7\u4EF6:"UI Controls",\u76EE\u6807\u8BBE\u5907:"Target device",\u5C4F\u5E55\u6BD4\u4F8B:"Aspect ratio",\u753B\u5E03\u7F29\u653E:"Canvas zoom",\u9002\u5E94:"Fit","\u670D\u52A1\u7AEF\u903B\u8F91\uFF1A\u76D1\u542C\u4FE1\u53F7 / \u81EA\u5B9A\u4E49\u53D8\u91CF / \u73A9\u5BB61-8 \u56DE\u4F20":"Server logic: signals / custom variables / Player1\u20138 responses","Lua \u811A\u672C\u8D44\u4EA7\u7F16\u8F91":"Lua script asset editor",\u4FDD\u5B58\u5B8C\u6574\u5B58\u6863\u5230\u5DE5\u4F5C\u533A:"Save the complete project to the workspace",\u4FDD\u5B58\u5B58\u6863:"Save Project",\u4ECE\u5DE5\u4F5C\u533A\u62C9\u53D6\u5B58\u6863:"Load a save from the workspace","\u2913 \u5DE5\u4F5C\u533A\u5B58\u6863":"\u2913 Workspace Saves","\u672A\u53D1\u73B0 qxqy-simulator-save":"No qxqy-simulator-save found",\u5148\u7ED1\u5B9A\u4F1A\u8BDD\u5DE5\u4F5C\u533A:"Bind a session workspace first","\u5BFC\u5165\u5B58\u6863\u3001\u5355\u9879 UI \u8D44\u4EA7\u6216 Lua":"Import a save, individual UI asset, or Lua script","\u21E7 \u5BFC\u5165":"\u21E7 Import",\u5BFC\u51FA\u683C\u5F0F:"Export format","\u21E9 \u5BFC\u51FA":"\u21E9 Export","\u8D44\u4EA7\u5305 JSON\uFF08\u4E09\u7C7B\u5408\u4E00\uFF09":"Complete Save JSON (all three asset types)","\u8D44\u4EA7\u5305 GIA\uFF08\u5DF2\u6539\u52A8\u9879\uFF09":"Asset Bundle GIA (modified assets)","\u8D44\u4EA7\u5305 GIA \u6574\u5408\u5305\uFF08\u63A7\u4EF6+\u811A\u672C\uFF09":"Combined GIA (controls + scripts)","\u5F53\u524D\u754C\u9762\uFF08\u5DE6\u680F\u6B63\u5728\u770B\u7684\u90A3\u68F5\u6811\uFF09":"Current UI (the tree shown on the left)","\u5F53\u524D\u754C\u9762 Authoring JSON":"Current UI Authoring JSON","\u5F53\u524D\u754C\u9762 GIA":"Current UI GIA",\u670D\u52A1\u5668\u63A7\u4EF6\u6A21\u677F:"Server Control Template","\u5BA2\u6237\u7AEF\u63A7\u4EF6\u6A21\u677F\uFF08\u4EC5\u5F53\u5DE6\u680F\u5207\u5230\u300CUI\u63A7\u4EF6-\u5BA2\u6237\u7AEF\u300D\u65F6\u624D\u662F\u9875\u9762\u5185\u5BB9\uFF09":"Client Control Templates (shown in the Client UI tab)","Lua \u811A\u672C":"Lua Scripts","\u811A\u672C\u5305 JSON\uFF08\u5168\u90E8\u811A\u672C\uFF09":"Script Bundle JSON (all scripts)","\u811A\u672C\u5305 GIA\uFF08\u5168\u90E8\u811A\u672C\uFF09":"Script Bundle GIA (all scripts)","\u6253\u5F00\u8BD5\u73A9\uFF1B\u65B0\u7A97\u53E3\u4E0D\u53EF\u7528\u65F6\u5728\u5E94\u7528\u5185\u8BD5\u73A9":"Open a playtest; use an embedded view if new windows are unavailable","\u6B63\u5728\u51C6\u5907\u2026":"Preparing\u2026","\u25B7 \u8BD5\u73A9 \u2197":"\u25B7 Playtest \u2197",\u91CD\u65B0\u8F7D\u5165:"Reload",\u7F16\u8F91\u9875\u9762:"Editor page","UI \u7F16\u8F91":"UI Editor","\u4E00\u4E2A\u5B58\u6863 \xB7 \u670D\u52A1\u5668\u63A7\u4EF6\u6A21\u677F + \u5BA2\u6237\u7AEF\u63A7\u4EF6\u6A21\u677F + Lua \u811A\u672C + \u670D\u52A1\u7AEF\u903B\u8F91":"One save \xB7 Server Control Templates + Client Control Templates + Lua Scripts + Server Logic","\u4E0A\u6B21\u5BFC\u51FA\u8BF4\u660E\uFF08{0} \u9879\uFF0C\u8BF7\u6838\u5BF9\u5BFC\u5165\u540E\u7684\u6548\u679C\uFF09":"Export notes ({0}; verify the result after import)",\u5173\u95ED\u5BFC\u51FA\u8BF4\u660E:"Close export notes",\u7F16\u8F91\u8D44\u6E90\u7C7B\u578B:"Asset type","\u7F16\u8F91\u5B58\u6863\u5185\u7684\u670D\u52A1\u7AEF UI \u63A7\u4EF6":"Edit the save's server UI controls","UI\u63A7\u4EF6-\u670D\u52A1\u7AEF":"Server UI",\u7F16\u8F91\u5B58\u6863\u5185\u7684\u5BA2\u6237\u7AEF\u63A7\u4EF6\u6A21\u677F:"Edit the save's client control templates","UI\u63A7\u4EF6-\u5BA2\u6237\u7AEF":"Client UI",\u6A21\u677F\u4E0E\u5B50\u63A7\u4EF6:"Templates and Children",\u63A7\u4EF6\u6811:"Control Tree","{0} \u4E2A\u6A21\u677F \xB7 {1} \u4E2A\u63A7\u4EF6":"{0} templates \xB7 {1} controls","{0} \u4E2A\u8282\u70B9":"{0} nodes",\u641C\u7D22\u6A21\u677F\u6216\u63A7\u4EF6:"Search templates or controls",\u641C\u7D22\u63A7\u4EF6:"Search controls",\u6A21\u677F:"Template",\u6682\u4E0D\u652F\u6301:"Not supported yet","\u5728\u753B\u5E03\u4E0A\u663E\u793A\uFF08\u4E0D\u5F71\u54CD\u63A7\u4EF6\u521D\u59CB\u53EF\u89C1\u6027\uFF09":"Show on canvas (does not change initial visibility)","\u5728\u753B\u5E03\u4E0A\u9690\u85CF\uFF08\u4E0D\u5F71\u54CD\u63A7\u4EF6\u521D\u59CB\u53EF\u89C1\u6027\uFF09":"Hide on canvas (does not change initial visibility)","{0}\u753B\u5E03\u53EF\u89C1\u6027":"Canvas visibility: {0}",\u6CA1\u6709\u5339\u914D\u7684\u63A7\u4EF6:"No matching controls",\u5C42\u7EA7\u4E0E\u6A21\u677F\u8FB9\u754C:"Hierarchy and Templates",\u7236\u7EA7\u63A7\u4EF6:"Parent control",\u5DF2\u63D0\u5347\u4E3A\u53EF\u5B9E\u4F8B\u5316\u9876\u5C42\u6A21\u677F:"Promoted to an instantiable top-level template",\u5DF2\u8C03\u6574\u63A7\u4EF6\u7236\u7EA7:"Control parent changed","\u9876\u5C42\u6A21\u677F\uFF08\u53EF\u5B9E\u4F8B\u5316\uFF09":"Top-level template (instantiable)",\u5728\u540C\u7EA7\u4E2D\u4E0A\u79FB:"Move up among siblings",\u5728\u540C\u7EA7\u4E2D\u4E0B\u79FB:"Move down among siblings","\u8BE5\u8282\u70B9\u4F1A\u5199\u5165\u72EC\u7ACB UIControlTemplate\uFF0C\u53EF\u76F4\u63A5\u4F5C\u4E3A prefabId\u3002":"This node exports as a separate UIControlTemplate and can be used directly as prefabId.","\u5F53\u524D\u4E3A\u7B2C {0} \u5C42\u5B50\u63A7\u4EF6\uFF0C\u4E0D\u4F1A\u5355\u72EC\u6210\u4E3A prefabId\u3002":"This is a depth-{0} child control, not a standalone template for prefabId instantiation.",\u65B0\u589E\u72EC\u7ACB\u53EF\u5B9E\u4F8B\u5316\u6A21\u677F:"Create a separate instantiable template","\u6DFB\u52A0\u5230{0}":"Add to {0}",\u5F53\u524D\u63A7\u4EF6:"Current control",\u65B0\u589E\u9876\u5C42\u6A21\u677F:"Create a top-level template",\u9876\u5C42:"Top Level",\u5B50\u63A7\u4EF6:"Child",\u65B0\u589E:"New",\u6DFB\u52A0:"Add","Lua \u6A21\u677F\u9884\u89C8":"Lua Template Preview",\u754C\u9762\u63A7\u4EF6\u7EC4:"UI Control Group","{0} \xB7 {1}\xD7{2} \xB7 \u5DE6\u4E0B\u539F\u70B9":"{0} \xB7 {1}\xD7{2} \xB7 Bottom-left origin","\u25CF {0}\u7F16\u8F91":"\u25CF Editing {0}",\u63A7\u4EF6:"Control","\u5F53\u524D\uFF1A{0}":"Selected: {0}","GIA \u5BFC\u51FA\u540E\u53EF\u5728 Lua \u4E2D\u6309 prefabId \u5B9E\u4F8B\u5316":"After exporting GIA, instantiate in Lua using prefabId","\u5B57\u6BB5\u5728\u5931\u7126\u6216 Enter \u65F6\u63D0\u4EA4":"Commit fields on blur or Enter","\u4F5C\u8005 B\u7AD9\u4E3B\u9875":"Author's Bilibili profile",\u4F5C\u8005B\u7AD9:"Bilibili",\u53EF\u5B9E\u4F8B\u5316:"Instantiable","\u6A21\u677F\u7D22\u5F15 ":"Template index ","\u63A7\u4EF6 GUID ":"Control GUID ",\u8282\u70B9:"Node",\u57FA\u7840\u5C5E\u6027:"Properties",\u811A\u672C:"Script","\u6B63\u5728\u5237\u65B0\u7D20\u6750\u2026":"Refreshing asset\u2026","\u21BB \u91CD\u65B0\u4E0B\u8F7D\u6B64\u7D20\u6750":"\u21BB Download This Asset Again","\u767D\u540D\u5355\u56FE\u7247\u6309\u9700\u7F13\u5B58\uFF1B\u5237\u65B0\u4F1A\u91CD\u65B0\u8BBF\u95EE\u7D20\u6750\u6E90\u3002":"Supported images are cached on demand. Refreshing downloads them from the asset source.","\u232B \u5220\u9664\u5F53\u524D\u6A21\u677F":"\u232B Delete Template","\u232B \u5220\u9664\u5F53\u524D\u63A7\u4EF6":"\u232B Delete Control",\u8BF7\u9009\u62E9\u4E00\u4E2A\u63A7\u4EF6:"Select a control",'<!doctype html><meta charset="utf-8"><title>\u6B63\u5728\u51C6\u5907\u8BD5\u73A9\u2026</title><p>\u6B63\u5728\u4FDD\u5B58\u9879\u76EE\u5E76\u51C6\u5907\u8BD5\u73A9\u2026</p>':'<!doctype html><meta charset="utf-8"><title>Preparing playtest\u2026</title><p>Saving the project and preparing the playtest\u2026</p>',"\u505C\u6B62\u8BD5\u73A9\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5\uFF1A{0}":"Could not stop the playtest. Retry: {0}","\u8BD5\u73A9\u9875\u672A\u80FD\u52A0\u8F7D\uFF0C\u8BF7\u8FD4\u56DE\u7F16\u8F91\u540E\u91CD\u8BD5\u3002":"The playtest page could not load. Return to the editor and retry.",\u8BD5\u73A9\u6B63\u5728\u5173\u95ED:"Closing playtest",\u5185\u5D4C\u8BD5\u73A9:"Embedded Playtest","\u6B63\u5728\u505C\u6B62\u8BD5\u73A9\u2026":"Stopping playtest\u2026","\u6B63\u5728\u8F7D\u5165\u8BD5\u73A9\u2026":"Loading playtest\u2026",\u5173\u95ED\u8BD5\u73A9:"Close Playtest",\u5343\u661F\u6C99\u7BB1\u8BD5\u73A9:"Miliastra Sandbox Playtest",\u672A\u53D8\u5316:"Unchanged","\u3010\u5343\u661F\u6C99\u7BB1\u811A\u672C\u6587\u4EF6\u5939\u3011":"[Miliastra Sandbox Script Folder]",\u65B0\u589E\u6587\u4EF6:"New file",\u66F4\u65B0\u5DF2\u6709\u6587\u4EF6:"Update existing file","\u5185\u5BB9\u76F8\u540C\uFF0C\u65E0\u9700\u66F4\u65B0":"Identical; no update needed",\u65E0\u6CD5\u590D\u5236:"Cannot copy",\u5B58\u6863\u91CC\u7F16\u8F91\u7684\u4EE3\u7801:"Code edited in the save","\u9879\u76EE\u4E2D\u7684 .lua \u6587\u4EF6":"Project .lua file","\u5B9E\u673A\u811A\u672C\u540C\u6B65 \xB7 {0}":"Sync Scripts to Game \xB7 {0}",\u5DF2\u8BBE\u7F6E\u6587\u4EF6\u5939:"Folders configured",\u5148\u8BBE\u7F6E\u6587\u4EF6\u5939:"Configure folders first","\u628A\u5F53\u524D\u5B58\u6863\u91CC\u7684 Lua \u811A\u672C\u590D\u5236\u5230\u5343\u661F\u6C99\u7BB1\uFF0C\u7528\u4E8E\u6E38\u620F\u5185\u6D4B\u8BD5\u3002\u64CD\u4F5C\u987A\u5E8F\uFF1A\u586B\u5199\u811A\u672C\u4F4D\u7F6E \u2192 \u4FDD\u5B58\u8BBE\u7F6E \u2192 \u4FDD\u5B58\u5B58\u6863\u5E76\u67E5\u770B\u66F4\u65B0 \u2192 \u786E\u8BA4\u590D\u5236\u3002":"Copy this save's Lua scripts into Miliastra Sandbox for in-game testing. Set folders \u2192 Save Settings \u2192 Save and Preview Changes \u2192 Confirm Copy.",\u9879\u76EE\u811A\u672C\u6587\u4EF6\u5939:"Project script folder","\u4F8B\u5982 workspace/my-game\uFF1B\u4E5F\u53EF\u4EE5\u7559\u7A7A":"e.g. workspace/my-game; may be left blank","\u586B\u5199\u5728\u5DE5\u4F5C\u533A\u91CC\u7684\u4F4D\u7F6E\uFF0C\u4F8B\u5982 workspace/my-game\uFF1B\u7559\u7A7A\u8868\u793A\u4F7F\u7528\u5DE5\u4F5C\u533A\u672C\u8EAB\u3002":"Enter a workspace-relative folder, e.g. workspace/my-game. Leave blank to use the workspace root.",\u5343\u661F\u6C99\u7BB1\u811A\u672C\u6587\u4EF6\u5939:"Miliastra Sandbox script folder","\u7C98\u8D34\u4EE5 default_import_file \u7ED3\u5C3E\u7684\u5B8C\u6574\u8DEF\u5F84":"Paste the full path ending in default_import_file","\u5173\u5361\u5B58\u653E\u5916\u90E8 Lua \u811A\u672C\u7684\u6587\u4EF6\u5939\uFF0C\u53EF\u70B9\u51FB\u300C\u53D1\u73B0\u672C\u673A\u76EE\u5F55\u300D\u67E5\u627E\u3002\u8BF7\u586B\u5199\u8FD0\u884C\u6A21\u62DF\u5668\u90A3\u53F0\u7535\u8111\u4E0A\u7684\u5B8C\u6574\u8DEF\u5F84\u3002":"The stage's folder for external Lua scripts. Use \u201CFind Local Folders\u201D to locate it. Enter the full path on the simulator host machine.",\u6E38\u620F\u91CC\u7684\u9879\u76EE\u5B50\u6587\u4EF6\u5939:"Project subfolder in the game","\u4E00\u822C\u548C\u201C\u9879\u76EE\u811A\u672C\u6587\u4EF6\u5939\u201D\u586B\u4E00\u6837\u7684\u5185\u5BB9\uFF0C\u4FDD\u7559\u539F\u6765\u7684\u6587\u4EF6\u4F4D\u7F6E\u3002\u7559\u7A7A\u5219\u76F4\u63A5\u653E\u8FDB\u5343\u661F\u6C99\u7BB1\u811A\u672C\u6587\u4EF6\u5939\u3002":"Usually matches the project script folder to preserve file locations. Leave blank to place files directly in the Miliastra Sandbox script folder.",\u590D\u5236\u8DEF\u5F84\u793A\u4F8B:"Copy Path Example","\u590D\u5236\u793A\u4F8B\uFF1A":"Example destination:","\u6E38\u620F\u8D26\u53F7 UID\uFF1A{0} \xB7 \u5173\u5361\u76EE\u5F55\u7F16\u53F7\uFF1A{1}":"Game account UID: {0} \xB7 Stage folder ID: {1}",\u53D1\u73B0\u672C\u673A\u76EE\u5F55:"Find Local Folders","\u6CA1\u6709\u627E\u5230\u6E38\u620F\u811A\u672C\u6587\u4EF6\u5939\u3002\u53EF\u4EE5\u624B\u52A8\u7C98\u8D34 default_import_file \u6587\u4EF6\u5939\u7684\u5B8C\u6574\u8DEF\u5F84\uFF1B\u5982\u679C\u8FD8\u6CA1\u5BFC\u5165\u811A\u672C\uFF0C\u8BF7\u5148\u5728\u5343\u661F\u6C99\u7BB1\u5B8C\u6210\u5BFC\u5165\u3002":"No game script folder found. Paste the full default_import_file path manually. If you have not imported scripts yet, do so in Miliastra Sandbox first.","\u627E\u5230 {0} \u4E2A\u6E38\u620F\u811A\u672C\u6587\u4EF6\u5939\uFF0C\u8BF7\u9009\u62E9\u8981\u66F4\u65B0\u7684\u8D26\u53F7\u548C\u5173\u5361\u3002":"Found {0} game script folders. Select the account and stage to update.","\u811A\u672C\u4F4D\u7F6E\u5DF2\u4FDD\u5B58\u3002\u4E0B\u4E00\u6B65\u70B9\u51FB\u300C\u4FDD\u5B58\u5B58\u6863\u5E76\u67E5\u770B\u66F4\u65B0\u300D\u3002":"Script folders saved. Next, click \u201CSave and Preview Changes\u201D.",\u6E05\u9664\u8BBE\u7F6E:"Clear Settings","\u5DF2\u6E05\u9664\u811A\u672C\u4F4D\u7F6E\u8BBE\u7F6E\u3002\u6E38\u620F\u91CC\u7684\u811A\u672C\u6587\u4EF6\u4ECD\u7136\u4FDD\u7559\u3002":"Script folder settings cleared. Existing files in the game are kept.",\u9009\u62E9\u8981\u66F4\u65B0\u7684\u8D26\u53F7\u548C\u5173\u5361:"Select the Account and Stage","\u8BF7\u9009\u62E9\u6E38\u620F\u8D26\u53F7\u548C\u5173\u5361\u6587\u4EF6\u5939\u2026":"Select a game account and stage folder\u2026","\u8D26\u53F7 {0} / \u5173\u5361\u76EE\u5F55 {1} \xB7 {2}":"Account {0} / Stage folder {1} \xB7 {2}",\u6A21\u62DF\u5668\u5B58\u6863\u6587\u4EF6:"Simulator save file","\u4F8B\u5982 my-game.save.json":"e.g. my-game.save.json","\u586B\u5199\u5DE5\u4F5C\u533A\u91CC\u7684\u5B58\u6863\u6587\u4EF6\u540D\u6216\u8DEF\u5F84\u3002\u4FDD\u5B58\u8BBE\u7F6E\u65F6\u4F1A\u4E00\u8D77\u4FDD\u5B58\u9879\u76EE\uFF0C\u4E0B\u6B21\u6253\u5F00\u5B58\u6863\u5373\u53EF\u590D\u7528\u3002":"Enter a save filename or path within the workspace. Saving these settings also saves the project so they are available next time.",\u4FDD\u5B58\u5B58\u6863\u5E76\u67E5\u770B\u66F4\u65B0:"Save and Preview Changes","\u8BF7\u5148\u586B\u5199\u5343\u661F\u6C99\u7BB1\u811A\u672C\u6587\u4EF6\u5939\uFF0C\u5E76\u70B9\u51FB\u300C\u4FDD\u5B58\u8BBE\u7F6E\u300D\u3002":"Enter the Miliastra Sandbox script folder and click \u201CSave Settings\u201D first.","\u811A\u672C\u4F4D\u7F6E\u5DF2\u6539\u52A8\uFF0C\u8BF7\u5148\u70B9\u51FB\u300C\u4FDD\u5B58\u8BBE\u7F6E\u300D\u3002":"Script folders changed. Click \u201CSave Settings\u201D first.","\u8BF7\u5148\u586B\u5199\u6A21\u62DF\u5668\u5B58\u6863\u6587\u4EF6\u540D\u3002":"Enter a simulator save filename first.","\u6B63\u5728\u5904\u7406\uFF0C\u8BF7\u7A0D\u5019\u2026":"Working, please wait\u2026",\u811A\u672C\u540C\u6B65\u786E\u8BA4:"Confirm Script Copy","\u672C\u6B21\u66F4\u65B0\u5230\uFF1A{0}":"Destination: {0}","\u8FD9\u4E2A\u5B58\u6863\u8FD8\u6CA1\u6709 Lua \u811A\u672C\u3002\u8BF7\u5148\u5728\u4E0B\u65B9\u6DFB\u52A0\u811A\u672C\uFF0C\u518D\u67E5\u770B\u66F4\u65B0\u3002":"This save has no Lua scripts. Add a script below, then preview the changes.","\u6240\u6709\u811A\u672C\u90FD\u4E0E\u6E38\u620F\u6587\u4EF6\u5939\u91CC\u7684\u5185\u5BB9\u76F8\u540C\uFF0C\u65E0\u9700\u590D\u5236\u3002":"All scripts match the game folder. Nothing to copy.","\u6709\u63A7\u4EF6\u7D22\u5F15\u5C1A\u672A\u540C\u6B65\u5230 Lua\u3002\u8BF7\u5148\u5728\u4E0A\u65B9\u300C\u5168\u91CF\u66FF\u6362\u811A\u672C\u7D22\u5F15\u300D\uFF0C\u6216\u300C\u590D\u5236\u63D0\u793A\u8BCD\u7ED9 AI\u300D\uFF1B\u5904\u7406\u5B8C\u6210\u540E\u518D\u67E5\u770B\u6E38\u620F\u811A\u672C\u66F4\u65B0\u3002":"Some control index changes are not reflected in Lua. Use \u201CReplace All Script Indices\u201D or \u201CCopy Task for AI\u201D above before previewing game script changes.","\u590D\u5236\u7684\u4EE3\u7801\u6765\u81EA\uFF1A{0}":"Code source: {0}","\u65E0\u6CD5\u590D\u5236\uFF1A{0}":"Cannot copy: {0}","\u590D\u5236\u5230\uFF1A{0}":"Copy to: {0}","\u8FD9\u4E2A\u811A\u672C\u5728\u5B58\u6863\u91CC\u548C\u9879\u76EE\u6587\u4EF6\u91CC\u7684\u4EE3\u7801\u4E0D\u540C\u3002\u672C\u6B21\u4F1A\u590D\u5236\u5B58\u6863\u91CC\u7684\u4EE3\u7801\uFF1B\u5982\u679C\u8981\u4F7F\u7528\u9879\u76EE\u6587\u4EF6\uFF0C\u8BF7\u70B9\u51FB\u300C\u6539\u7528\u9879\u76EE\u6587\u4EF6\u91CC\u7684\u4EE3\u7801\u300D\uFF0C\u7136\u540E\u91CD\u65B0\u67E5\u770B\u66F4\u65B0\u3002":"The saved script differs from its project file. This copy uses the saved code. To use the project file instead, choose \u201CUse Project File Code\u201D, then preview changes again.",\u67E5\u770B\u9879\u76EE\u6587\u4EF6\u91CC\u7684\u4EE3\u7801:"View Project File Code",\u6539\u7528\u9879\u76EE\u6587\u4EF6\u91CC\u7684\u4EE3\u7801:"Use Project File Code",\u5BF9\u6BD4\u66F4\u65B0\u524D\u540E\u7684\u4EE3\u7801:"Compare Changes",\u6E38\u620F\u91CC\u73B0\u5728\u7684\u4EE3\u7801:"Current Code in the Game","\uFF08\u6E38\u620F\u91CC\u8FD8\u6CA1\u6709\u8FD9\u4E2A\u6587\u4EF6\uFF09":"(This file does not exist in the game yet)",\u672C\u6B21\u8981\u590D\u5236\u7684\u4EE3\u7801:"Code to Copy","\u65B0\u589E\u811A\u672C\u590D\u5236\u540E\uFF0C\u8FD8\u9700\u8981\u5728\u5343\u661F\u6C99\u7BB1\u91CC\u5173\u8054\u5BF9\u5E94\u7684\u811A\u672C\u6587\u4EF6\uFF1B\u9700\u8981\u76F4\u63A5\u8FD0\u884C\u7684\u811A\u672C\u8FD8\u8981\u6302\u5230\u63A7\u4EF6\u4E0A\u3002":"After copying new scripts, link their files in Miliastra Sandbox. Scripts that should run directly must also be attached to controls.","\u5DF2\u9009 {0} \u4E2A\u811A\u672C\uFF0C\u5176\u4E2D {1} \u4E2A\u4F1A\u66FF\u6362\u6E38\u620F\u91CC\u7684\u65E7\u6587\u4EF6\u3002\u66FF\u6362\u524D\u4F1A\u81EA\u52A8\u5907\u4EFD\u65E7\u6587\u4EF6\uFF0C\u6E38\u620F\u91CC\u7684\u5176\u4ED6\u6587\u4EF6\u4F1A\u4FDD\u7559\u3002":"Selected {0} scripts; {1} will replace existing game files. Replaced files are backed up. Other files are kept.",\u8986\u76D6:"Replace",\u6682\u4E0D\u590D\u5236:"Cancel","\u786E\u8BA4\u590D\u5236 {0} \u4E2A\u811A\u672C":"Confirm Copy of {0} Scripts",\u811A\u672C\u5DF2\u590D\u5236\u5230\u5343\u661F\u6C99\u7BB1:"Scripts Copied to Miliastra Sandbox",\u6709\u4E9B\u811A\u672C\u672A\u590D\u5236\u6210\u529F:"Some Scripts Could Not Be Copied","\u4E0B\u4E00\u6B65\uFF1A\u56DE\u5230\u5343\u661F\u6C99\u7BB1\uFF0C\u4FDD\u5B58\u5173\u5361\u5E76\u91CD\u65B0\u8BD5\u73A9\uFF0C\u8BA9\u6E38\u620F\u52A0\u8F7D\u66F4\u65B0\u540E\u7684\u811A\u672C\u3002":"Next: Return to Miliastra Sandbox, save the stage, and start a new playtest to load the updated scripts.","\u8BF7\u6309\u4E0B\u65B9\u63D0\u793A\u5904\u7406\u5931\u8D25\u7684\u6587\u4EF6\uFF0C\u518D\u91CD\u65B0\u67E5\u770B\u66F4\u65B0\u5E76\u590D\u5236\u3002":"Resolve the failed files using the notes below, then preview and copy again.","\u590D\u5236\u65F6\u95F4\uFF1A{0} \xB7 \u65E7\u6587\u4EF6\u5907\u4EFD\u4FDD\u5B58\u5728\uFF1A{1}":"Copied at: {0} \xB7 Backups: {1}",\u6210\u529F:"Success",\u5DF2\u590D\u5236:"Copied",\u672A\u590D\u5236:"Not copied",\u5207\u6362\u5230\u4EAE\u8272\u4E3B\u9898:"Switch to light theme",\u5207\u6362\u5230\u6697\u8272\u4E3B\u9898:"Switch to dark theme",\u5F53\u524D\u5B58\u6863:"Current save","\u5F53\u524D\u8D44\u4EA7\u6CA1\u6709\u63A7\u4EF6\u3002":"This asset has no controls.","\u6253\u5F00\u5B58\u6863\u540E\u663E\u793A\u63A7\u4EF6\u7ED3\u6784\u3002":"Open a save to view its control structure.",\u672A\u9009\u62E9:"None selected",\u7C7B\u578B:"Type",\u6811\u6DF1\u5EA6:"Tree depth",\u7236\u8282\u70B9:"Parent node","\u8BD5\u73A9\u542F\u52A8\u540E\u663E\u793A Lua \u65E5\u5FD7\u3002":"Lua logs appear after starting a playtest.",\u5B58\u6863\u52A0\u8F7D\u5931\u8D25:"Failed to Load Save",\u7B49\u5F85\u5DE5\u4F5C\u533A\u5B58\u6863:"Waiting for a Workspace Save","\u6B63\u5728\u76D1\u542C {0}\u3002":"Watching {0}.","{0}Codex \u4FDD\u5B58 qxqy-simulator-save JSON \u540E\u4F1A\u81EA\u52A8\u51FA\u73B0\u5728\u8FD9\u91CC\u3002":"{0}Saves appear here automatically when Codex writes a qxqy-simulator-save JSON file.",\u8BD5\u73A9\u5C1A\u672A\u542F\u52A8:"Playtest Not Started","\u9009\u62E9\u8BBE\u5907\u5E76\u70B9\u51FB\u201C\u542F\u52A8\u201D\uFF0C\u5373\u53EF\u8FD0\u884C Lua \u548C\u4EA4\u4E92\u903B\u8F91\u3002":"Select a device and click \u201CStart\u201D to run Lua scripts and interactions.",\u7B49\u5F85\u5B58\u6863:"Waiting for a Save",\u5C1A\u672A\u6253\u5F00\u5B58\u6863:"No save open"," \xB7 \u5DF2\u6682\u505C":" \xB7 Paused","\u7B49\u5F85\u542F\u52A8 Runtime":"Waiting to start Runtime","\u7F16\u8F91\u5668\u9759\u6001\u9884\u89C8 \xB7 \u78C1\u76D8\u81EA\u52A8\u5237\u65B0":"Static editor preview \xB7 Refreshes from disk automatically","\u7F16\u8F91\u5668\u753B\u9762\u52A0\u8F7D\u5931\u8D25\u3002":"Failed to load the editor preview.","\u670D\u52A1\u7248\u672C\u672A\u77E5\uFF0C\u8BF7\u66F4\u65B0 Web":"Unknown server version. Update the Web package.",\u5B9E\u65F6\u76D1\u542C\u4E2D:"Live",\u8FDE\u63A5\u4E2D\u65AD:"Disconnected",\u5F00\u542F\u58F0\u97F3:"Enable Sound",\u58F0\u97F3\u5DF2\u5173\u95ED:"Sound Off",\u58F0\u97F3\u5DF2\u5F00\u542F:"Sound On",\u70B9\u51FB\u6216\u5728\u753B\u5E03\u5185\u64CD\u4F5C\u4EE5\u89E3\u9501\u97F3\u6548:"Click or interact with the canvas to enable audio",\u5207\u6362\u9759\u97F3:"Toggle mute","\u952E\u4F4D\u54CD\u5E94\uFF1A\u5F00":"Key Input: On","\u952E\u4F4D\u54CD\u5E94\uFF1A\u5173":"Key Input: Off",\u5DF2\u6253\u5F00\u5B58\u6863:"Save opened",\u5DF2\u91CD\u65B0\u8BFB\u53D6\u78C1\u76D8\u5B58\u6863:"Save reloaded from disk","\u65E5\u5FD7\u5DF2\u5728\u5F53\u524D\u89C6\u56FE\u6E05\u7A7A\u3002":"Logs cleared in this view.",\u6B63\u5728\u91CD\u8FDE:"Reconnecting","\u68C0\u6D4B\u5230\u5B58\u6863\u53D8\u5316\uFF0C\u9884\u89C8\u5DF2\u66F4\u65B0":"Save changed; preview updated",\u9884\u89C8\u5B58\u6863\u5DF2\u6253\u5F00:"Preview save opened","\u624B\u673A 1280\xD7720":"Mobile 1280\xD7720","\u624B\u673A 1560\xD7720":"Mobile 1560\xD7720","\u624B\u673A 1280\xD7960":"Mobile 1280\xD7960",\u540D\u79F0:"Name",\u521D\u59CB\u6FC0\u6D3B:"Initially Active",\u521D\u59CB\u53EF\u89C1\u6027:"Initially Visible",\u53EF\u88AB\u624B\u67C4\u6447\u6746\u5BFC\u822A\u9009\u4E2D:"Selectable by Controller Navigation","\u4F4D\u7F6E X":"Location X","\u4F4D\u7F6E Y":"Location Y","\u5927\u5C0F W":"Width","\u5927\u5C0F H":"Height","\u65CB\u8F6C X":"Rotation X","\u65CB\u8F6C Y":"Rotation Y","\u65CB\u8F6C Z":"Rotation Z",\u540C\u6B65\u4FE1\u606F\u81F3\u6240\u6709\u8BBE\u5907:"Sync Layout Across Devices",\u951A\u70B9\u7C7B\u578B:"Anchor Preset",\u5C45\u4E2D:"Center",\u5DE6\u4E0A:"Top Left",\u4E0A\u65B9:"Top",\u53F3\u4E0A:"Top Right",\u5DE6\u4FA7:"Left",\u53F3\u4FA7:"Right",\u5DE6\u4E0B:"Bottom Left",\u4E0B\u65B9:"Bottom",\u53F3\u4E0B:"Bottom Right",\u53CC\u5411\u62C9\u4F38:"Stretch Both Axes",\u6C34\u5E73\u62C9\u4F38:"Stretch Horizontally",\u5782\u76F4\u62C9\u4F38:"Stretch Vertically",\u81EA\u5B9A\u4E49:"Custom","\u951A\u70B9 Min X":"Anchor Min X","\u951A\u70B9 Min Y":"Anchor Min Y","\u951A\u70B9 Max X":"Anchor Max X","\u951A\u70B9 Max Y":"Anchor Max Y","\u4E2D\u5FC3 X":"Pivot X","\u4E2D\u5FC3 Y":"Pivot Y",\u9694\u79BB\u624B\u67C4\u5BFC\u822A:"Isolate Controller Navigation",\u5C4F\u853D\u6309\u952E\u4E8B\u4EF6\u7A7F\u900F:"Block Key Event Passthrough",\u5C4F\u853D\u533A\u57DF\u5185\u70B9\u51FB\u4E8B\u4EF6\u7A7F\u900F:"Block Click Event Passthrough in Area",\u663E\u793A\u5E38\u9A7B\u5149\u6807:"Show Persistent Cursor",\u5B57\u53F7:"Font Size",\u5B57\u53F7\u81EA\u9002\u5E94:"Auto Font Size",\u6700\u5C0F\u5B57\u53F7:"Minimum Font Size",\u6587\u672C\u8272:"Text Color",\u80CC\u666F\u8272:"Background Color",\u542F\u7528\u63CF\u8FB9:"Enable Outline",\u63CF\u8FB9\u8272:"Outline Color",\u6C34\u5E73\u5BF9\u9F50:"Horizontal Alignment",\u5DE6\u5BF9\u9F50:"Left",\u53F3\u5BF9\u9F50:"Right",\u5782\u76F4\u5BF9\u9F50:"Vertical Alignment",\u9876\u90E8:"Top",\u5E95\u90E8:"Bottom",\u6587\u672C:"Text",\u56FE\u7247\u6E90:"Image Source",\u9759\u6001\u5F15\u7528:"Static Reference",\u5143\u4EF6:"Prefab",\u586B\u5145\u8272:"Fill Color",\u5F00\u542F\u906E\u7F69:"Enable Mask",\u8FB9\u7F18\u7FBD\u5316:"Soft Edge",\u7FBD\u5316\u6A21\u5F0F:"Soft Edge Mode",\u767E\u5206\u6BD4:"Percentage",\u50CF\u7D20:"Pixels","\u7FBD\u5316\u5BBD\u5EA6 X":"Soft Edge Width X","\u7FBD\u5316\u5BBD\u5EA6 Y":"Soft Edge Width Y",\u6C34\u5E73\u7FBD\u5316\u8303\u56F4:"Horizontal Soft Edge Range",\u5782\u76F4\u7FBD\u5316\u8303\u56F4:"Vertical Soft Edge Range",\u6309\u8FDB\u5EA6\u586B\u5145:"Fill by Progress",\u5F62\u72B6:"Shape",\u6A2A\u5411:"Horizontal",\u7EB5\u5411:"Vertical","90\u5EA6\u73AF\u7ED5":"Radial90","180\u5EA6\u73AF\u7ED5":"Radial180","360\u5EA6\u73AF\u7ED5":"Radial360",\u65B9\u5411:"Direction",\u4ECE\u5DE6\u81F3\u53F3:"From Left to Right",\u4ECE\u53F3\u81F3\u5DE6:"From Right to Left",\u4ECE\u4E0B\u81F3\u4E0A:"From Bottom to Top",\u4ECE\u4E0A\u81F3\u4E0B:"From Top to Bottom",\u8D77\u70B9:"Origin",\u8FDB\u5EA6:"Progress",\u906E\u7F69\u533A\u57DF\u53CD\u8F6C:"Invert Mask Area",\u672A\u8BBE\u7F6E:"Not set",\u53EF\u88AB\u5149\u6807\u5C04\u7EBF\u68C0\u6D4B:"Raycast Target",\u6309\u94AE\u662F\u5426\u53EF\u7528:"Interactable",\u4E0D\u53EF\u7528\u72B6\u6001\u8282\u70B9:"Unavailable Status Nodes",\u60AC\u505C\u72B6\u6001\u8282\u70B9:"Hover Status Nodes",\u6309\u4E0B\u72B6\u6001\u8282\u70B9:"Pressed Status Nodes",\u9009\u4E2D\u72B6\u6001\u8282\u70B9:"Selected Status Nodes",\u70B9\u51FB\u97F3\u6548:"Click Sound",\u5F15\u7528\u63A7\u4EF6\u6A21\u677F\u7D22\u5F15:"Referenced Control Template Index",\u5141\u8BB8\u6EDA\u52A8\u4EA4\u4E92:"Enable Scrolling",\u663E\u793A\u6EDA\u52A8\u6761:"Show Scrollbar",\u5217\u8868\u9879\u6A21\u677F\u7D22\u5F15:"Item Template Index",\u6EDA\u52A8\u65B9\u5411:"Scroll Direction",\u6392\u5217\u9650\u5236:"Layout Constraint",\u81EA\u52A8\u6362\u884C:"Automatic Wrapping",\u56FA\u5B9A\u884C\u5217\u6570:"Fixed Row / Column Count",\u6BCF\u884C\u6216\u6BCF\u5217\u6570\u91CF:"Items per Row / Column","\u5217\u8868\u9879\u5927\u5C0F W":"Item Width","\u5217\u8868\u9879\u5927\u5C0F H":"Item Height","\u5217\u8868\u9879\u95F4\u9694 X":"Item Spacing X","\u5217\u8868\u9879\u95F4\u9694 Y":"Item Spacing Y","\u8FB9\u8DDD\u5411\u91CF 1 X":"Padding 1 X","\u8FB9\u8DDD\u5411\u91CF 1 Y":"Padding 1 Y","\u8FB9\u8DDD\u5411\u91CF 2 X":"Padding 2 X","\u8FB9\u8DDD\u5411\u91CF 2 Y":"Padding 2 Y",\u9884\u89C8\u6570\u91CF:"Preview Count",\u952E\u9F20\u6309\u952E:"Keyboard / Mouse Key",\u624B\u67C4\u6309\u952E:"Controller Button",\u52A8\u6548\u7D22\u5F15:"Animation Index",\u5168\u5C4F\u52A8\u6548\u7D22\u5F15:"Fullscreen Animation Index",\u5B8C\u6574\u5EA6:"Support Status","\u8BD5\u73A9\u652F\u6301\u57FA\u7840\u6EDA\u52A8\uFF1B\u6EDA\u52A8\u4EA4\u4E92\u3001\u6EDA\u52A8\u6761\u53CA\u5217\u8868\u914D\u7F6E\u4EE5 JSON/Lua \u4E3A\u51C6\uFF0C\u76F8\u5173 GIA \u5F00\u5173\u6620\u5C04\u5C1A\u672A\u6838\u5B9E\u3002":"Basic scrolling is supported in playtests. Configure interaction, scrollbars, and lists through JSON/Lua; the related GIA flags are not yet verified.","\u672C\u9636\u6BB5\u4EC5\u516C\u5171\u53D8\u6362\uFF0C\u4E1A\u52A1\u69FD\u4E0D\u5B8C\u6574":"Only common transforms are supported at this stage; control-specific fields are incomplete.",\u5173\u5361:"Stage",\u5F53\u524D\u73A9\u5BB6:"Current Player",\u5F53\u524D\u89D2\u8272:"Current Character","\u73A9\u5BB6{0}":"Player {0}","\u89D2\u8272{0}":"Character {0}","\u63A7\u4EF6\u7D22\u5F15\u5FC5\u987B\u662F 1\u20132147483647 \u8303\u56F4\u5185\u7684\u6574\u6570":"Control indices must be integers from 1 to 2147483647","controlGuidChanges \u5FC5\u987B\u662F\u6570\u7EC4":"controlGuidChanges must be an array","controlGuidChanges \u5305\u542B\u65E0\u6548\u6216\u91CD\u590D\u7684\u53D8\u66F4\u8BB0\u5F55":"controlGuidChanges contains invalid or duplicate changes","controlGuidChanges \u5305\u542B\u65E0\u6548\u7684 batchId":"controlGuidChanges contains an invalid batchId","controlGuidChanges \u5305\u542B\u65E0\u6548\u7684 scriptSignature":"controlGuidChanges contains an invalid scriptSignature",\u672A\u547D\u540D\u754C\u9762:"Untitled UI",\u672A\u547D\u540D\u754C\u9762\u63A7\u4EF6\u7EC4:"Untitled UI Control Group",\u6574\u5408\u5305\u9700\u8981\u670D\u52A1\u7AEF\u5BA2\u6237\u7AEF\u63A7\u4EF6\u5BB9\u5668\u4E0B\u81F3\u5C11\u6709\u4E00\u4E2A\u6839\u63A7\u4EF6:"A combined bundle requires at least one root control inside the server-side Client Control Container","{0} \xB7 \u6574\u5408\u5305.gia":"{0} \xB7 Combined.gia",\u6302\u8F7D\u76EE\u6807\u5FC5\u987B\u662F\u5B58\u6863\u5185\u7684\u5BA2\u6237\u7AEF\u63A7\u4EF6\u6216\u5BA2\u6237\u7AEF\u63A7\u4EF6\u6A21\u677F:"Attachment targets must be client controls or client control templates in the save","\u811A\u672C\u4E0D\u5B58\u5728: {0}":"Script not found: {0}",\u4EC5\u5BA2\u6237\u7AEF\u63A7\u4EF6\u6216\u5BA2\u6237\u7AEF\u63A7\u4EF6\u6A21\u677F\u5141\u8BB8\u4FEE\u6539\u7D22\u5F15:"Only client controls and client control templates support index changes","autoFillClientGuids \u5FC5\u987B\u662F\u5E03\u5C14\u503C":"autoFillClientGuids must be a boolean","\u81EA\u52A8\u586B\u5145\u4EC5\u652F\u6301\u5BA2\u6237\u7AEF\u6A21\u677F\u5217\u8868\uFF1B\u670D\u52A1\u7AEF\u754C\u9762\u7684\u7D22\u5F15\u9700\u5355\u72EC\u586B\u5199":"Autofill is only available for client templates. Enter server UI indices separately.","\u5BA2\u6237\u7AEF\u6A21\u677F\u5B58\u5728\u91CD\u590D\u65E7\u7D22\u5F15\uFF0C\u65E0\u6CD5\u81EA\u52A8\u586B\u5145\uFF1B\u8BF7\u5148\u6D88\u9664\u6B67\u4E49":"Client templates contain duplicate old indices. Resolve the ambiguity before using autofill.","\u63A7\u4EF6\u7D22\u5F15 {0} \u5DF2\u88AB\u300C{1}\u300D\u5360\u7528\uFF1B\u8BF7\u5148\u586B\u5199\u5B83\u7684\u5B9E\u9645\u7D22\u5F15\u3002\u672C\u6B21\u672A\u4FEE\u6539\u4EFB\u4F55\u7D22\u5F15\u3002":"Control index {0} is already used by \u201C{1}\u201D. Enter its actual index first. No indices were changed.","\u65E7\u7D22\u5F15 {0} \u5728\u591A\u68F5\u8D44\u4EA7\u6811\u4E2D\u91CD\u590D\uFF0C\u65E0\u6CD5\u786E\u5B9A\u6A21\u677F\u5F15\u7528\u5F52\u5C5E\uFF1B\u8BF7\u5148\u6D88\u9664\u6B67\u4E49\u540E\u4FEE\u6539":"Old index {0} appears in multiple asset trees, so the template reference is ambiguous. Resolve it before making changes.","\u8BF7\u660E\u786E\u6307\u5B9A\u5DF2\u6838\u5BF9 Lua \u5F15\u7528\u7684\u6709\u6548\u7D22\u5F15\u53D8\u66F4\u8BB0\u5F55 changeIds":"Specify valid changeIds whose Lua references have been reviewed",\u5B58\u6863\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A:"The save name cannot be empty","\u63A7\u4EF6\u7D22\u5F15\u5F85\u6838\u5BF9 Lua \u5F15\u7528\uFF1A{0} / {1} ({2})\uFF1A{3} \u2192 {4}\u3002\u8BF7\u6309\u8BED\u4E49\u66F4\u65B0\u811A\u672C\u4E2D\u7684\u63A7\u4EF6\u7D22\u5F15\u5F15\u7528\uFF0C\u6838\u5BF9\u540E\u786E\u8BA4\u53D8\u66F4\u8BB0\u5F55 {5}\uFF1B\u4E0D\u8981\u5168\u5C40\u66FF\u6362\u540C\u503C\u6570\u5B57\u3002":"Review Lua references for control index change: {0} / {1} ({2}): {3} \u2192 {4}. Update references by meaning, then acknowledge change {5}. Do not globally replace equal numbers.","{0} \xB7 \u8D44\u4EA7\u5305.json":"{0} \xB7 Assets.json","\u670D\u52A1\u5668\u63A7\u4EF6\u6A21\u677F\u4ECD\u662F\u9ED8\u8BA4\u6A71\u7A97\uFF0C\u672A\u6539\u52A8\u4E14\u5F53\u524D\u672A\u663E\u793A\uFF0C\u5DF2\u4ECE\u8D44\u4EA7\u5305 GIA \u4E2D\u7701\u7565\u3002":"The unchanged, hidden default server UI was omitted from the asset bundle GIA.","\u5BA2\u6237\u7AEF\u63A7\u4EF6\u6A21\u677F\u4ECD\u662F\u9ED8\u8BA4\u300CLua\u5B9E\u4F8B\u5316\u9762\u677F\u300D\uFF0C\u672A\u6539\u52A8\u4E14\u5F53\u524D\u672A\u663E\u793A\uFF0C\u5DF2\u4ECE\u8D44\u4EA7\u5305 GIA \u4E2D\u7701\u7565\u3002":"The unchanged, hidden default client control template was omitted from the asset bundle GIA.","\u8D44\u4EA7\u5305 GIA \u6CA1\u6709\u53EF\u5BFC\u51FA\u7684\u5DF2\u6539\u52A8\u9879\uFF1B\u8BF7\u5148\u7F16\u8F91\u5F53\u524D\u754C\u9762\uFF0C\u6216\u6539\u7528\u300C\u5F53\u524D\u754C\u9762 GIA\u300D\u3002":"There are no modified assets to export. Edit the UI first, or use \u201CCurrent UI GIA\u201D.","{0} \xB7 \u811A\u672C.json":"{0} \xB7 Scripts.json","{0} \xB7 \u811A\u672C.gia":"{0} \xB7 Scripts.gia","\u6CA1\u6709\u53EF\u5BFC\u51FA\u7684 Lua \u811A\u672C\uFF0C\u8BF7\u5148\u5728\u201CLua \u811A\u672C\u201D\u9875\u521B\u5EFA":"No Lua scripts to export. Create one on the Lua Scripts page first.","\u5F53\u524D\u670D\u52A1\u5668\u63A7\u4EF6 GIA \u4E0D\u5305\u542B {0} \u4E2A Lua \u811A\u672C\u7684\u6E90\u7801\uFF1B\u8BF7\u4F7F\u7528\u300C\u8D44\u4EA7\u5305 GIA \u6574\u5408\u5305\u300D\uFF0C\u6216\u53E6\u884C\u5BFC\u5165\u811A\u672C\u5305\u5E76\u6838\u5BF9\u6302\u8F7D\u3002":"This server UI GIA does not contain source for {0} Lua scripts. Use \u201CCombined GIA\u201D or import the script bundle separately and check attachments.","JSON \u6587\u4EF6\u65E0\u6548":"Invalid JSON file","\u6574\u5408\u5305\u5DF2\u62C6\u56DE\u300CUI\u63A7\u4EF6-\u670D\u52A1\u7AEF\u300D\u4E0E\u300CUI\u63A7\u4EF6-\u5BA2\u6237\u7AEF\u300D\uFF1B\u5BA2\u6237\u7AEF\u6A21\u677F\u8FB9\u754C\u5DF2\u4FDD\u7559\u3002":"Combined bundle split back into Server UI and Client UI. Client template boundaries were preserved.","\u811A\u672C GUID {0} \u540C\u65F6\u6302\u8F7D\u5230\u591A\u4E2A\u63A7\u4EF6\uFF0C\u5DF2\u4FDD\u7559\u201C{1}\u201D\u76EE\u6807\u3002":"Script GUID {0} was attached to multiple controls. The \u201C{1}\u201D target was kept.",\u670D\u52A1\u7AEF:"Server",\u5BA2\u6237\u7AEF:"Client","\u5355\u8D44\u4EA7 JSON \u7684\u7D22\u5F15\u53D8\u66F4\u8BB0\u5F55\u5FC5\u987B\u5C5E\u4E8E\u5F53\u524D\u5BFC\u5165\u8D44\u4EA7":"Index change records in a single-asset JSON must belong to the imported asset","\u811A\u672C {0} \u8BFB\u53D6\u5931\u8D25: {1}":"Failed to read script {0}: {1}","\u5343\u661F\u6C99\u7BB1 \xB7 \u72EC\u7ACB\u8BD5\u73A9":"Miliastra Sandbox \xB7 Standalone Playtest",\u6A21\u62DF\u5668:"Simulator",\u5207\u6362\u8BBE\u5907\u753B\u5E03:"Switch Device Canvas","\u5207\u6362\u8BBE\u5907\u753B\u5E03\uFF1A\u4EE5\u65B0\u753B\u5E03\u91CD\u5EFA\u8FD0\u884C\u65F6\uFF0CGetUICanvasSize \u4E0E\u9884\u8BBE\u50CF\u7D20\u4E00\u81F4":"Rebuild the runtime for the selected canvas. GetUICanvasSize matches the preset's pixel dimensions.",\u8BD5\u73A9\u4EBA\u6570:"Player count","\u8BD5\u73A9\u4EBA\u6570\uFF1A\u6700\u591A 8 \u4EBA\uFF0C\u6BCF\u4EBA\u4E00\u4EFD\u72EC\u7ACB\u5BA2\u6237\u7AEF":"Up to 8 players, each with a separate client instance",\u5F53\u524D\u73A9\u5BB6\u89C6\u89D2:"Current player view","\u5207\u6362\u5F53\u524D\u73A9\u5BB6\u89C6\u89D2\uFF1A\u8F93\u5165\u3001\u753B\u9762\u548C PlayerSelf \u90FD\u8DDF\u968F\u8BE5\u73A9\u5BB6":"Change the active player for input, rendering, and PlayerSelf",\u8BBE\u5907:"Device","\u51C6\u5907\u4E2D\u2026":"Preparing...",\u8BD5\u73A9\u9875\u9762:"Playtest page",\u8BD5\u73A9:"Playtest",\u65E5\u5FD7:"Logs","\u8F6C\u53D1\u5B98\u65B9\u952E\u4F4D\u7684\u6309\u4E0B/\u62AC\u8D77\u4E8B\u4EF6\uFF08\u542B\u9F20\u6807\u5DE6\u53F3\u952E\uFF09\uFF1B\u5173\u95ED\u4E0D\u5F71\u54CD\u753B\u5E03\u70B9\u51FB":"Forward supported key/button down and up events, including mouse buttons. Turning this off does not disable canvas clicks.",\u70B9\u51FB\u89E3\u9501\u6D4F\u89C8\u5668\u97F3\u6548:"Click to enable browser audio","\u2161 \u6682\u505C\u8FD0\u884C":"\u2161 Pause",\u6682\u505C\u540E\u53EF\u5355\u5E27\u8C03\u8BD5:"Pause to step through individual frames","\u25B7 \u5355\u5E27\u8C03\u8BD5":"\u25B7 Step One Frame","\u25A0 \u7ED3\u675F\u8BD5\u73A9":"\u25A0 Stop Playtest","\u21BB \u91CD\u65B0\u5F00\u59CB":"\u21BB Restart",\u5207\u6362\u4EAE\u6697\u4E3B\u9898:"Toggle light / dark theme",\u8FD4\u56DE\u7F16\u8F91:"Back to Editor","\u6B63\u5728\u51C6\u5907\u8BD5\u73A9\u2026":"Preparing playtest\u2026",\u8FD0\u884C\u65F6\u573A\u666F\u6811:"Runtime Scene Tree","0 \u8282\u70B9":"0 nodes",\u670D\u52A1\u7AEF\u53D8\u91CF:"Server Variables","0 \u9879":"0 items",\u5BA2\u6237\u7AEF\u811A\u672C\u65E5\u5FD7:"Client Script Logs","\u6700\u8FD1 100 \u6761":"Latest 100 entries",\u670D\u52A1\u7AEF\u65E5\u5FD7:"Server Logs","\u53D8\u91CF / \u4FE1\u53F7":"Variables / signals",\u81EA\u52A8\u6D4B\u7528\u4F8B:"Automated Test Case","\u5148\u8BD5\u73A9\uFF0C\u518D\u4FDD\u5B58\u56DE\u653E":"Play first, then save a replay",'\u65AD\u8A00 JSON \u6570\u7EC4\uFF0C\u4F8B\u5982 [{"kind":"log","contains":"clicked"}]':'JSON assertion array, e.g. [{"kind":"log","contains":"clicked"}]',\u4FDD\u5B58\u7528\u4F8B:"Save Test Case",\u56DE\u653E\u7528\u4F8B:"Replay Test Case","\u25CF \u6B63\u5728\u542F\u52A8":"\u25CF Starting","\u9875\u9762\uFF1A\u8BD5\u73A9":"View: Playtest","\u9875\u9762\uFF1A\u65E5\u5FD7":"View: Logs",\u8BD5\u73A9\u8BF7\u6C42\u5931\u8D25:"Playtest request failed"," \u9879":" items","\u6682\u65E0\u81EA\u5B9A\u4E49\u53D8\u91CF\u3002\u811A\u672C Get/Set \u6216 serverSet \u4E4B\u540E\u4F1A\u51FA\u73B0\u5728\u8FD9\u91CC\u3002":"No custom variables yet. They appear after script Get/Set calls or serverSet.","\u5B8C\u6574\u8FD0\u884C\u6811\u8BF7\u7528 Agent \u7684 inspect \u5FEB\u7167\u3002\u821E\u53F0\u6309\u5DE6\u6811\u4E0A\u65B9\u76D6\u4F4F\u4E0B\u65B9\u7ED8\u5236\u3002":"Use an Agent inspect snapshot for the full runtime tree. Items higher in the left tree draw over those below."," \u4E2A\u53EF\u89C1\u56FE\u5143":" visible primitives","\u25B6 \u7EE7\u7EED\u8FD0\u884C":"\u25B6 Resume"," \u4EBA":" players",\u73A9\u5BB6:"Player"," \xB7 \u73A9\u5BB6":" \xB7 Player "," \xB7 \u70B9\u51FB\u8F93\u5165":" \xB7 Click to focus","\u26A0 \u811A\u672C\u6302\u8F7D\u5931\u8D25":"\u26A0 Script attachment failed","\u2161 \u5DF2\u6682\u505C":"\u2161 Paused","\u25CF \u8BD5\u73A9\u8FD0\u884C\u4E2D":"\u25CF Playtest running","\u5DF2\u8BB0\u5F55 ":"Recorded "," \u6B65":" steps","\u26A0 \u8BD5\u73A9\u9519\u8BEF":"\u26A0 Playtest error","\u25A0 \u8BD5\u73A9\u5DF2\u7ED3\u675F\uFF0C\u53EF\u91CD\u65B0\u5F00\u59CB\u6216\u8FD4\u56DE\u7F16\u8F91":"\u25A0 Playtest stopped. Restart or return to the editor.","\u65AD\u8A00\u5FC5\u987B\u662F JSON \u6570\u7EC4":"Assertions must be a JSON array","\u5DF2\u4FDD\u5B58 ":"Saved "," \u6B65 / ":" steps / "," \u6761\u65AD\u8A00":" assertions",\u56DE\u653E\u901A\u8FC7:"Replay passed","\u56DE\u653E\u5931\u8D25 @":"Replay failed @","\u7F3A\u5C11\u4F1A\u8BDD ID":"Missing session ID","\u5343\u661F\u6A21\u62DF\u5668 \xB7 Live Preview":"Miliastra Simulator \xB7 Live Preview","\u5343\u661F\u6A21\u62DF\u5668 \xB7 \u7F16\u8F91\u5DE5\u4F5C\u53F0":"Miliastra Simulator \xB7 Editor","Web Preview \xB7 \u5B9E\u65F6\u9884\u89C8":"Web Preview \xB7 Live Preview",\u5DE5\u4F5C\u533A\u5B58\u6863:"Workspace Saves",\u91CD\u65B0\u8BFB\u53D6\u5B58\u6863:"Reload save from disk","\u7F16\u8F91\u5DE5\u4F5C\u53F0 \u2197":"Open Editor \u2197",\u6B63\u5728\u8FDE\u63A5:"Connecting",\u9884\u89C8\u6A21\u5F0F:"Preview mode",\u7F16\u8F91\u5668:"Editor",\u8D44\u4EA7:"Asset","\u670D\u52A1\u7AEF UI":"Server UI",\u5BA2\u6237\u7AEF\u6A21\u677F:"Client Templates","\u25B6 \u542F\u52A8":"\u25B6 Start","\u2161 \u6682\u505C":"\u2161 Pause","\u25B7 \u7EE7\u7EED":"\u25B7 Resume","+ 1 \u5E27":"+ 1 Frame","\u25A0 \u505C\u6B62":"\u25A0 Stop",\u6A21\u62DF\u5668\u9884\u89C8\u753B\u5E03:"Simulator preview canvas","Codex \u4FDD\u5B58 qxqy-simulator-save JSON \u540E\u4F1A\u81EA\u52A8\u51FA\u73B0\u5728\u8FD9\u91CC\u3002":"Saves appear here automatically when Codex writes a qxqy-simulator-save JSON file.","\u6B63\u5728\u66F4\u65B0\u753B\u9762\u2026":"Updating preview\u2026",\u7F16\u8F91\u5668\u9759\u6001\u9884\u89C8:"Static Editor Preview",\u9884\u89C8\u4FE1\u606F:"Preview Details",\u5F53\u524D\u8282\u70B9:"Selected Node",\u753B\u5E03:"Canvas",\u6E05\u7A7A:"Clear",\u9884\u89C8\u8FDE\u63A5:"Preview Connection","\u6B63\u5728\u8FDE\u63A5\u670D\u52A1\u2026":"Connecting to the service\u2026","\u5F53\u524D\u5B58\u6863\u4FDD\u5B58\u540E\u81EA\u52A8\u5237\u65B0\uFF1B\u9996\u6B21\u5B58\u6863\u4F1A\u81EA\u52A8\u53D1\u73B0\u3002\u5207\u6362\u5176\u4ED6\u5B58\u6863\u8BF7\u4F7F\u7528\u9876\u90E8\u5217\u8868\u6216 MCP \u9884\u89C8\u5DE5\u5177\u3002":"Refreshes automatically when the current save changes, and discovers the first save. Switch saves using the list above or the MCP preview tool.","\u68C0\u67E5\u66F4\u65B0\u5931\u8D25\uFF0C\u8BF7\u68C0\u67E5\u7F51\u7EDC\u8FDE\u63A5\u540E\u91CD\u8BD5\u3002":"Update check failed. Check your network connection and retry.",\u53D1\u73B0\u65B0\u7248\u672C:"A new version is available",\u5F53\u524D\u5DF2\u662F\u6700\u65B0\u7248\u672C:"You are up to date",\u5F53\u524D\u7248\u672C\u6BD4\u516C\u5F00\u7248\u672C\u66F4\u65B0:"Your version is newer than the public release",\u6682\u672A\u627E\u5230\u6B64\u5B89\u88C5\u5305\u7684\u6B63\u5F0F\u7248\u672C:"No stable release found for this package",\u754C\u9762\u8BED\u8A00:"Interface language","\u81EA\u52A8\uFF08\u7CFB\u7EDF\u8BED\u8A00\uFF09":"Auto (system language)","\u6B63\u5728\u68C0\u67E5\u66F4\u65B0\u2026":"Checking for updates\u2026",\u68C0\u67E5\u66F4\u65B0:"Check for Updates",\u8054\u7CFB\u4F5C\u8005:"Contact Author",QQ\u7FA4\u53F71007538100:"QQ Group: 1007538100","\u4F5C\u8005\u90AE\u7BB1 ":"Email: ","\u5F00\u6E90\u4ED3\u5E93 ":"Source repository: ","\u5F53\u524D\u7248\u672C\uFF1A{0}":"Current version: {0}","\u516C\u5F00\u7248\u672C\uFF1A{0}":"Public version: {0}","\u66F4\u65B0\u540E\u8BF7\u91CD\u542F\u5BBF\u4E3B\u5E76\u5237\u65B0\u7F16\u8F91\u5668\u4E0E\u8BD5\u73A9\u9875\u3002":"After updating, restart the host and refresh the editor and playtest pages.",\u67E5\u770B\u66F4\u65B0\u8BF4\u660E:"View Release Notes",\u4E0B\u8F7D\u66F4\u65B0\u5305:"Download Update",\u91CD\u8BD5:"Retry","\u8BF7\u9009\u62E9\u81EA\u52A8\u67E5\u627E\u3001\u6307\u5B9A\u6587\u4EF6\u6216\u7CFB\u7EDF\u5B57\u4F53":"Choose automatic discovery, a local file, or the system font",\u5B57\u4F53\u8DEF\u5F84\u8FC7\u957F:"The font path is too long",\u8BF7\u586B\u5199\u5B57\u4F53\u6587\u4EF6\u7684\u7EDD\u5BF9\u8DEF\u5F84:"Enter an absolute font file path","\u672C\u673A\u5B57\u4F53\u8BBE\u7F6E\u65E0\u6CD5\u8BFB\u53D6\uFF0C\u8BF7\u5728\u300C\u5B57\u4F53\u8BBE\u7F6E\u300D\u4E2D\u91CD\u65B0\u4FDD\u5B58":"Unable to read local font settings. Save them again in Font Settings.","\u65E0\u6CD5\u4FDD\u5B58\u672C\u673A\u5B57\u4F53\u8BBE\u7F6E\uFF0C\u8BF7\u68C0\u67E5\u914D\u7F6E\u76EE\u5F55\u7684\u5199\u5165\u6743\u9650":"Unable to save local font settings. Check write permissions for the configuration directory.","\u5F53\u524D\u5B57\u4F53\u7531 QXQY_FONT_PATH \u56FA\u5B9A\uFF0C\u8BF7\u79FB\u9664\u8BE5\u73AF\u5883\u53D8\u91CF\u5E76\u91CD\u542F\u540E\u518D\u4F7F\u7528\u524D\u7AEF\u8BBE\u7F6E":"QXQY_FONT_PATH overrides font settings. Remove it and restart before editing settings here.",\u5B57\u4F53\u8BBE\u7F6E\u4EC5\u9650\u672C\u673A\u76F4\u63A5\u8BBF\u95EE:"Font settings require a direct connection from this machine",\u5B57\u4F53\u8BBE\u7F6E\u8FC7\u5927:"Font settings exceed the size limit",\u5343\u661F\u6C99\u7BB1:"Miliastra Sandbox",\u5343\u661F\u5947\u57DF:"Miliastra Wonderland",\u670D\u52A1\u7AEF\u63A7\u4EF6\u6A21\u677F:"Server Control Template",\u670D\u52A1\u7AEF\u63A7\u4EF6:"Server Controls",\u5BA2\u6237\u7AEF\u63A7\u4EF6:"Client Controls","1 \u4EBA":"1 player","{0} \u4EBA":"{0} players"};var Do="qxqy-ui-language",Ui="qxqy-ui-language-change",ja=new Set,Jr=t=>["auto","zh","en"].includes(t);function _o(){try{let t=globalThis.localStorage?.getItem(Do);return Jr(t)?t:"auto"}catch{return"auto"}}var dn=_o(),Ir=null;function ug(t="auto",e="zh-CN",a=""){return t==="zh"||t==="en"?t:/^(?:zh|cmn|yue|wuu|hak|nan|gan|hsn)(?:[-_]|$)/i.test(a||e)?"zh":"en"}var Fr=()=>dn,Di=()=>Ir||{language:typeof window>"u"?"zh-CN":globalThis.navigator?.language||globalThis.navigator?.languages?.[0]||Intl.DateTimeFormat().resolvedOptions().locale||"en",source:"browser"},Ro=()=>ug(dn,Di().language);async function Wr(t,e=globalThis.fetch){try{let a=await e(t,{method:"POST",mode:"same-origin",credentials:"same-origin",cache:"no-store",headers:{"content-type":"application/json"},body:"{}",signal:AbortSignal.timeout(4e3)});if(a.ok){let l=await a.json(),i=l.ok?l.value:null;if(typeof i?.language=="string"&&i.language.length<=80){let n=Intl.getCanonicalLocales(i.language.replaceAll("_","-"))[0];if(n){Ir={language:n,source:i.source||"host"};for(let u of ja)u()}}}}catch{}return Di()}function ml(t){if(!(t?.type==="storage"&&t.key!==Do&&t.key!==null)){dn=t?.type===Ui?t.detail:_o();for(let e of ja)e()}}function Pr(t){if(Jr(t)){dn=t;try{globalThis.localStorage?.setItem(Do,t)}catch{}if(typeof window<"u")window.dispatchEvent(new CustomEvent(Ui,{detail:t}));else for(let e of ja)e()}}function Lo(t){return!ja.size&&typeof window<"u"&&(dn=_o(),window.addEventListener("storage",ml),window.addEventListener(Ui,ml),window.addEventListener("languagechange",ml)),ja.add(t),()=>{ja.delete(t),!ja.size&&typeof window<"u"&&(window.removeEventListener("storage",ml),window.removeEventListener(Ui,ml),window.removeEventListener("languagechange",ml))}}function _i(t){return()=>{let[,e]=t.useReducer(a=>a+1,0);return t.useEffect(()=>{let a=Lo(e);return e(),a},[]),Ro()}}var Oi=(t,e)=>t.replace(/\{(\d+)\}/g,(a,l)=>l<e.length?String(e[l]??""):a),og=Object.entries(zi).filter(([t])=>/\{\d+\}/.test(t)).map(([t,e])=>{let a=[],l=t.split(/(\{\d+\})/).map(i=>{let n=i.match(/^\{(\d+)\}$/);return n?(a.push(Number(n[1])),"([\\s\\S]*?)"):i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}).join("");return{expression:new RegExp(`^${l}$`),value:e,slots:a}});function cg(t,e,...a){if(Array.isArray(e)&&Object.hasOwn(e,"raw")&&(e=e.reduce((l,i,n)=>l+(n?`{${n-1}}`:"")+i,"")),typeof e!="string")return e;if(t!=="en")return Oi(e,a);if(Object.hasOwn(zi,e))return Oi(zi[e],a);if(!a.length&&/[\p{Script=Han}]/u.test(e))for(let l of og){let i=l.expression.exec(e);if(!i)continue;let n=[];return l.slots.forEach((u,c)=>{n[u]=i[c+1]}),Oi(l.value,n)}return Oi(e,a)}var o=(t,...e)=>cg(Ro(),t,...e);function ko(t=document){for(let e of t.querySelectorAll("[data-i18n]"))e.textContent=o(e.dataset.i18n);for(let e of["title","placeholder","aria-label"])for(let a of t.querySelectorAll(`[data-i18n-${e}]`))a.setAttribute(e,o(a.getAttribute(`data-i18n-${e}`)));t===document&&(document.documentElement.lang=Ro()==="zh"?"zh-CN":"en")}var Mr=$r(Li(),1),vh=$r(R0(),1);function L0(t){let e=t.createElement;return function({snap:l,request:i,patch:n,prepare:u,refresh:c}){let s={version:1,workspaceDir:"",clientImportRoot:"",clientSubdir:""},[r,y]=t.useState(l.scriptSync||s),[b,h]=t.useState(l.storage?.path||"qxqy-simulator.save.json"),[v,T]=t.useState([]),[C,M]=t.useState(null),[f,d]=t.useState([]),[g,S]=t.useState(null),[q,O]=t.useState(""),[A,k]=t.useState(""),[G,B]=t.useState(!1),J=t.useId();t.useEffect(()=>{y(l.scriptSync||s),M(null)},[JSON.stringify(l.scriptSync),l.storage?.path]),t.useEffect(()=>{M(null)},[l.version,l.asset?.type]),t.useEffect(()=>{l.storage?.path&&h(l.storage.path)},[l.storage?.path]);let ee=async U=>{B(!0),k(""),O("");try{await U()}catch(kt){k(kt.message||String(kt))}finally{B(!1)}},Yt=(U,kt={})=>i("script-sync",{action:U,args:kt});async function de(){M(null),S(null);let U=await u();await i("save",{path:b,expectedRevision:U.version}),await c();let kt=await Yt("preview");M(kt),d(kt.rows.filter(ae=>!ae.error&&ae.status!=="\u672A\u53D8\u5316").map(ae=>ae.id))}let Ne=JSON.stringify(r)!==JSON.stringify(l.scriptSync||s),pe=(U,kt,ae,bi)=>e("label",{className:"qxsim-field",key:U},e("span",null,kt),e("input",{type:"text",value:r[U],placeholder:ae,"aria-label":kt,"aria-describedby":`${J}-${U}`,disabled:G,onChange:Si=>{y({...r,[U]:Si.target.value}),M(null),O("")}}),e("small",{id:`${J}-${U}`},bi)),Ge=r.clientImportRoot.replaceAll("\\","/").match(/BeyondLocal\/([^/]+)\/Beyond_Local_Save_Level\/([^/]+)/),Be=U=>U.trim().replaceAll("\\","/").replace(/^\.$/,""),Ut=Be(r.workspaceDir)?`${Be(r.workspaceDir)}/`:"",St=l.scripts?.find(U=>U.path.replaceAll("\\","/").startsWith(Ut)&&U.path.toLowerCase().endsWith(".lua"))?.path.replaceAll("\\","/")||`${Ut}main.lua`,ho=[r.clientImportRoot.trim().replaceAll("\\","/").replace(/\/+$/,"")||o("\u3010\u5343\u661F\u6C99\u7BB1\u811A\u672C\u6587\u4EF6\u5939\u3011"),Be(r.clientSubdir),St.slice(Ut.length)].filter(Boolean).join("/"),Ye={\u65B0\u589E:o("\u65B0\u589E\u6587\u4EF6"),\u8986\u76D6:o("\u66F4\u65B0\u5DF2\u6709\u6587\u4EF6"),\u672A\u53D8\u5316:o("\u5185\u5BB9\u76F8\u540C\uFF0C\u65E0\u9700\u66F4\u65B0"),\u9519\u8BEF:o("\u65E0\u6CD5\u590D\u5236")},go={\u5B58\u6863\u6E90\u7801:o("\u5B58\u6863\u91CC\u7F16\u8F91\u7684\u4EE3\u7801"),\u5DE5\u4F5C\u533A\u6587\u4EF6:o("\u9879\u76EE\u4E2D\u7684 .lua \u6587\u4EF6")},Xe=(U,kt,ae=!1)=>e("button",{type:"button",className:"qxsim-action",disabled:G||ae,onClick:()=>void ee(kt)},U);return e("details",{className:"qxsim-section",style:{flexShrink:0,maxHeight:"55%",overflow:"auto",margin:"5px 10px"}},e("summary",null,o`实机脚本同步 · ${l.scriptSync?o("\u5DF2\u8BBE\u7F6E\u6587\u4EF6\u5939"):o("\u5148\u8BBE\u7F6E\u6587\u4EF6\u5939")}`),e("div",{className:"qxsim-section-body"},e("p",null,o("\u628A\u5F53\u524D\u5B58\u6863\u91CC\u7684 Lua \u811A\u672C\u590D\u5236\u5230\u5343\u661F\u6C99\u7BB1\uFF0C\u7528\u4E8E\u6E38\u620F\u5185\u6D4B\u8BD5\u3002\u64CD\u4F5C\u987A\u5E8F\uFF1A\u586B\u5199\u811A\u672C\u4F4D\u7F6E \u2192 \u4FDD\u5B58\u8BBE\u7F6E \u2192 \u4FDD\u5B58\u5B58\u6863\u5E76\u67E5\u770B\u66F4\u65B0 \u2192 \u786E\u8BA4\u590D\u5236\u3002")),pe("workspaceDir",o("\u9879\u76EE\u811A\u672C\u6587\u4EF6\u5939"),o("\u4F8B\u5982 workspace/my-game\uFF1B\u4E5F\u53EF\u4EE5\u7559\u7A7A"),o("\u586B\u5199\u5728\u5DE5\u4F5C\u533A\u91CC\u7684\u4F4D\u7F6E\uFF0C\u4F8B\u5982 workspace/my-game\uFF1B\u7559\u7A7A\u8868\u793A\u4F7F\u7528\u5DE5\u4F5C\u533A\u672C\u8EAB\u3002")),pe("clientImportRoot",o("\u5343\u661F\u6C99\u7BB1\u811A\u672C\u6587\u4EF6\u5939"),o("\u7C98\u8D34\u4EE5 default_import_file \u7ED3\u5C3E\u7684\u5B8C\u6574\u8DEF\u5F84"),o("\u5173\u5361\u5B58\u653E\u5916\u90E8 Lua \u811A\u672C\u7684\u6587\u4EF6\u5939\uFF0C\u53EF\u70B9\u51FB\u300C\u53D1\u73B0\u672C\u673A\u76EE\u5F55\u300D\u67E5\u627E\u3002\u8BF7\u586B\u5199\u8FD0\u884C\u6A21\u62DF\u5668\u90A3\u53F0\u7535\u8111\u4E0A\u7684\u5B8C\u6574\u8DEF\u5F84\u3002")),pe("clientSubdir",o("\u6E38\u620F\u91CC\u7684\u9879\u76EE\u5B50\u6587\u4EF6\u5939"),o("\u4F8B\u5982 workspace/my-game\uFF1B\u4E5F\u53EF\u4EE5\u7559\u7A7A"),e(t.Fragment,null,o("\u4E00\u822C\u548C\u201C\u9879\u76EE\u811A\u672C\u6587\u4EF6\u5939\u201D\u586B\u4E00\u6837\u7684\u5185\u5BB9\uFF0C\u4FDD\u7559\u539F\u6765\u7684\u6587\u4EF6\u4F4D\u7F6E\u3002\u7559\u7A7A\u5219\u76F4\u63A5\u653E\u8FDB\u5343\u661F\u6C99\u7BB1\u811A\u672C\u6587\u4EF6\u5939\u3002"),e("span",{"aria-label":o("\u590D\u5236\u8DEF\u5F84\u793A\u4F8B"),style:{display:"block",overflowWrap:"anywhere"}},o("\u590D\u5236\u793A\u4F8B\uFF1A"),e("code",null,St)," \u2192 ",e("code",null,ho)))),Ge?e("p",null,o`游戏账号 UID:${Ge[1]} · 关卡目录编号:${Ge[2]}`):null,e("div",{style:{display:"flex",gap:6,flexWrap:"wrap"}},Xe(o("\u53D1\u73B0\u672C\u673A\u76EE\u5F55"),async()=>{let U=await Yt("discover");T(U.candidates),U.candidates.length?O(o`找到 ${U.candidates.length} 个游戏脚本文件夹,请选择要更新的账号和关卡。`):k(o("\u6CA1\u6709\u627E\u5230\u6E38\u620F\u811A\u672C\u6587\u4EF6\u5939\u3002\u53EF\u4EE5\u624B\u52A8\u7C98\u8D34 default_import_file \u6587\u4EF6\u5939\u7684\u5B8C\u6574\u8DEF\u5F84\uFF1B\u5982\u679C\u8FD8\u6CA1\u5BFC\u5165\u811A\u672C\uFF0C\u8BF7\u5148\u5728\u5343\u661F\u6C99\u7BB1\u5B8C\u6210\u5BFC\u5165\u3002"))}),Xe(o("\u4FDD\u5B58\u8BBE\u7F6E"),async()=>{await u();let U=await n({op:"setScriptSync",config:r});await i("save",{path:b,expectedRevision:U.version}),await c(),M(null),S(null),O(o("\u811A\u672C\u4F4D\u7F6E\u5DF2\u4FDD\u5B58\u3002\u4E0B\u4E00\u6B65\u70B9\u51FB\u300C\u4FDD\u5B58\u5B58\u6863\u5E76\u67E5\u770B\u66F4\u65B0\u300D\u3002"))},!r.clientImportRoot.trim()||!b.trim()),Xe(o("\u6E05\u9664\u8BBE\u7F6E"),async()=>{await u();let U=await n({op:"setScriptSync",config:null});await i("save",{path:b,expectedRevision:U.version}),await c(),M(null),S(null),O(o("\u5DF2\u6E05\u9664\u811A\u672C\u4F4D\u7F6E\u8BBE\u7F6E\u3002\u6E38\u620F\u91CC\u7684\u811A\u672C\u6587\u4EF6\u4ECD\u7136\u4FDD\u7559\u3002"))},!l.scriptSync||!b.trim())),v.length?e("label",{className:"qxsim-field"},o("\u9009\u62E9\u8981\u66F4\u65B0\u7684\u8D26\u53F7\u548C\u5173\u5361"),e("select",{value:"",disabled:G,onChange:U=>{y({...r,clientImportRoot:U.target.value}),M(null),O("")}},e("option",{value:""},o("\u8BF7\u9009\u62E9\u6E38\u620F\u8D26\u53F7\u548C\u5173\u5361\u6587\u4EF6\u5939\u2026")),v.map(U=>e("option",{key:U.path,value:U.path},o`账号 ${U.uid} / 关卡目录 ${U.editorId} · ${U.path}`)))):null,e("label",{className:"qxsim-field",style:{marginTop:8}},e("span",null,o("\u6A21\u62DF\u5668\u5B58\u6863\u6587\u4EF6")),e("input",{type:"text",value:b,placeholder:o("\u4F8B\u5982 my-game.save.json"),"aria-label":o("\u6A21\u62DF\u5668\u5B58\u6863\u6587\u4EF6"),"aria-describedby":`${J}-archive`,disabled:G,onChange:U=>{h(U.target.value),M(null),O("")}}),e("small",{id:`${J}-archive`},o("\u586B\u5199\u5DE5\u4F5C\u533A\u91CC\u7684\u5B58\u6863\u6587\u4EF6\u540D\u6216\u8DEF\u5F84\u3002\u4FDD\u5B58\u8BBE\u7F6E\u65F6\u4F1A\u4E00\u8D77\u4FDD\u5B58\u9879\u76EE\uFF0C\u4E0B\u6B21\u6253\u5F00\u5B58\u6863\u5373\u53EF\u590D\u7528\u3002"))),Xe(o("\u4FDD\u5B58\u5B58\u6863\u5E76\u67E5\u770B\u66F4\u65B0"),de,!l.scriptSync||Ne||!b.trim()),l.scriptSync?Ne?e("p",null,o("\u811A\u672C\u4F4D\u7F6E\u5DF2\u6539\u52A8\uFF0C\u8BF7\u5148\u70B9\u51FB\u300C\u4FDD\u5B58\u8BBE\u7F6E\u300D\u3002")):b.trim()?null:e("p",null,o("\u8BF7\u5148\u586B\u5199\u6A21\u62DF\u5668\u5B58\u6863\u6587\u4EF6\u540D\u3002")):e("p",null,o("\u8BF7\u5148\u586B\u5199\u5343\u661F\u6C99\u7BB1\u811A\u672C\u6587\u4EF6\u5939\uFF0C\u5E76\u70B9\u51FB\u300C\u4FDD\u5B58\u8BBE\u7F6E\u300D\u3002")),G?e("p",{role:"status"},o("\u6B63\u5728\u5904\u7406\uFF0C\u8BF7\u7A0D\u5019\u2026")):q?e("p",{role:"status"},q):null,A?e("p",{role:"alert",style:{color:"var(--danger)"}},o(A)):null,C?e("section",{"aria-label":o("\u811A\u672C\u540C\u6B65\u786E\u8BA4")},e("p",{style:{overflowWrap:"anywhere"}},o`本次更新到:${C.root}`),C.rows.length?C.rows.every(U=>U.status==="\u672A\u53D8\u5316")?e("p",{role:"status"},o("\u6240\u6709\u811A\u672C\u90FD\u4E0E\u6E38\u620F\u6587\u4EF6\u5939\u91CC\u7684\u5185\u5BB9\u76F8\u540C\uFF0C\u65E0\u9700\u590D\u5236\u3002")):null:e("p",null,o("\u8FD9\u4E2A\u5B58\u6863\u8FD8\u6CA1\u6709 Lua \u811A\u672C\u3002\u8BF7\u5148\u5728\u4E0B\u65B9\u6DFB\u52A0\u811A\u672C\uFF0C\u518D\u67E5\u770B\u66F4\u65B0\u3002")),C.pendingGuidChanges?e("p",{role:"alert"},o("\u6709\u63A7\u4EF6\u7D22\u5F15\u5C1A\u672A\u540C\u6B65\u5230 Lua\u3002\u8BF7\u5148\u5728\u4E0A\u65B9\u300C\u5168\u91CF\u66FF\u6362\u811A\u672C\u7D22\u5F15\u300D\uFF0C\u6216\u300C\u590D\u5236\u63D0\u793A\u8BCD\u7ED9 AI\u300D\uFF1B\u5904\u7406\u5B8C\u6210\u540E\u518D\u67E5\u770B\u6E38\u620F\u811A\u672C\u66F4\u65B0\u3002")):null,C.rows.map(U=>e("div",{key:U.id,style:{borderTop:"1px solid var(--line)",padding:6}},e("label",{style:{overflowWrap:"anywhere"}},e("input",{type:"checkbox",disabled:G||!!U.error||U.status==="\u672A\u53D8\u5316",checked:f.includes(U.id),onChange:kt=>d(kt.target.checked?[...f,U.id]:f.filter(ae=>ae!==U.id))}),` ${U.path} \xB7 ${Ye[U.status]||U.status}`),e("div",null,o`复制的代码来自:${go[U.sourceKind]||U.sourceKind}`),e("div",{style:{overflowWrap:"anywhere"}},U.error?o`无法复制:${U.error}`:o`复制到:${U.target}`),U.sourceMismatch?e("div",{className:"qxsim-note"},o("\u8FD9\u4E2A\u811A\u672C\u5728\u5B58\u6863\u91CC\u548C\u9879\u76EE\u6587\u4EF6\u91CC\u7684\u4EE3\u7801\u4E0D\u540C\u3002\u672C\u6B21\u4F1A\u590D\u5236\u5B58\u6863\u91CC\u7684\u4EE3\u7801\uFF1B\u5982\u679C\u8981\u4F7F\u7528\u9879\u76EE\u6587\u4EF6\uFF0C\u8BF7\u70B9\u51FB\u300C\u6539\u7528\u9879\u76EE\u6587\u4EF6\u91CC\u7684\u4EE3\u7801\u300D\uFF0C\u7136\u540E\u91CD\u65B0\u67E5\u770B\u66F4\u65B0\u3002"),e("details",null,e("summary",null,o("\u67E5\u770B\u9879\u76EE\u6587\u4EF6\u91CC\u7684\u4EE3\u7801")),e("pre",{style:{maxHeight:200,overflow:"auto"}},U.diskSource)),Xe(o("\u6539\u7528\u9879\u76EE\u6587\u4EF6\u91CC\u7684\u4EE3\u7801"),async()=>{await u(),await n({op:"updateScript",id:U.id,source:U.diskSource}),M(null)})):null,!U.error&&U.status!=="\u672A\u53D8\u5316"?e("details",null,e("summary",null,o("\u5BF9\u6BD4\u66F4\u65B0\u524D\u540E\u7684\u4EE3\u7801")),e("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:8}},e("div",{style:{minWidth:0}},o("\u6E38\u620F\u91CC\u73B0\u5728\u7684\u4EE3\u7801"),e("pre",{style:{maxHeight:240,overflow:"auto"}},U.status==="\u65B0\u589E"?o("\uFF08\u6E38\u620F\u91CC\u8FD8\u6CA1\u6709\u8FD9\u4E2A\u6587\u4EF6\uFF09"):U.beforeSource)),e("div",{style:{minWidth:0}},o("\u672C\u6B21\u8981\u590D\u5236\u7684\u4EE3\u7801"),e("pre",{style:{maxHeight:240,overflow:"auto"}},U.source)))):null)),C.rows.some(U=>U.status==="\u65B0\u589E")?e("p",null,o("\u65B0\u589E\u811A\u672C\u590D\u5236\u540E\uFF0C\u8FD8\u9700\u8981\u5728\u5343\u661F\u6C99\u7BB1\u91CC\u5173\u8054\u5BF9\u5E94\u7684\u811A\u672C\u6587\u4EF6\uFF1B\u9700\u8981\u76F4\u63A5\u8FD0\u884C\u7684\u811A\u672C\u8FD8\u8981\u6302\u5230\u63A7\u4EF6\u4E0A\u3002")):null,f.length?e("p",null,o`已选 ${f.length} 个脚本,其中 ${C.rows.filter(U=>f.includes(U.id)&&U.status==="\u8986\u76D6").length} 个会替换游戏里的旧文件。替换前会自动备份旧文件,游戏里的其他文件会保留。`):null,e("div",{style:{display:"flex",gap:6}},Xe(o("\u6682\u4E0D\u590D\u5236"),async()=>M(null)),Xe(o`确认复制 ${f.length} 个脚本`,async()=>{let U=C;M(null),await u(),S(await i("script-sync-apply",{planId:U.id,scriptIds:f,confirmed:!0}))},!f.length||!!C.pendingGuidChanges))):null,g?e("div",{role:"status"},e("strong",null,g.completed?o("\u811A\u672C\u5DF2\u590D\u5236\u5230\u5343\u661F\u6C99\u7BB1"):o("\u6709\u4E9B\u811A\u672C\u672A\u590D\u5236\u6210\u529F")),e("p",null,g.completed?o("\u4E0B\u4E00\u6B65\uFF1A\u56DE\u5230\u5343\u661F\u6C99\u7BB1\uFF0C\u4FDD\u5B58\u5173\u5361\u5E76\u91CD\u65B0\u8BD5\u73A9\uFF0C\u8BA9\u6E38\u620F\u52A0\u8F7D\u66F4\u65B0\u540E\u7684\u811A\u672C\u3002"):o("\u8BF7\u6309\u4E0B\u65B9\u63D0\u793A\u5904\u7406\u5931\u8D25\u7684\u6587\u4EF6\uFF0C\u518D\u91CD\u65B0\u67E5\u770B\u66F4\u65B0\u5E76\u590D\u5236\u3002")),e("p",{style:{overflowWrap:"anywhere"}},o`复制时间:${new Date(g.at).toLocaleString()} · 旧文件备份保存在:${g.backupRoot}`),e("ul",{style:{overflowWrap:"anywhere"}},g.results.map(U=>e("li",{key:U.id},`${U.target}\uFF1A${U.status==="\u6210\u529F"?o("\u5DF2\u590D\u5236"):o("\u672A\u590D\u5236")}${U.error?` \xB7 ${U.error}`:""}`)))):null))}}function k0(t){let e=t.createElement;return function({snap:l,prepare:i,patch:n,copy:u,onScripts:c,onError:s,reloadArchive:r}){let[y,b]=t.useState(!1),[h,v]=t.useState(null),[T,C]=t.useState(null),[M,f]=t.useState(""),[d,g]=t.useState(!1),S=t.useRef(null),q=l.controlGuidChanges||[],O=q.at(-1)?.id||"";t.useEffect(()=>{v(null),f("")},[l.version,l.save?.name]),t.useEffect(()=>{g(!1)},[O,l.save?.name]),t.useLayoutEffect(()=>{M&&S.current&&(S.current.scrollTop=0)},[M]);let A=G=>async()=>{b(!0);try{await G()}catch(B){s(B?.message||String(B))}finally{b(!1)}},k=A(async()=>{f(await u()),v(null),S.current&&(S.current.scrollTop=0)});return!q.length&&!T?null:d?e("div",{style:{flexShrink:0,padding:"2px 10px"}},e("button",{className:"qxsim-action",onClick:()=>g(!1)},o`Lua 索引待同步(${q.length} 项)· 展开`)):e("section",{ref:S,className:"qxsim-note","aria-label":o("Lua \u7D22\u5F15\u540C\u6B65"),style:{flexShrink:0,maxHeight:270,overflow:"auto",overflowWrap:"anywhere"}},e("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:8}},e("strong",null,q.length?o`下一步:同步 Lua 索引引用(${q.length} 项)`:o("\u811A\u672C\u5168\u91CF\u66FF\u6362\u5DF2\u5B8C\u6210")),e("button",{className:"qxsim-action","aria-label":o("\u5173\u95ED\u7D22\u5F15\u540C\u6B65\u63D0\u793A"),title:o("\u6536\u8D77\u63D0\u793A\uFF0C\u4FDD\u7559\u5F85\u540C\u6B65\u8BB0\u5F55"),disabled:y,onClick:()=>{q.length?g(!0):C(null)}},o("\u5173\u95ED"))),M?e("details",{open:!0},e("summary",null,o("\u540C\u6B65\u4EFB\u52A1\uFF08\u7C98\u8D34\u7ED9\u5F53\u524D\u9879\u76EE\u7684 AI\uFF09")),e("textarea",{"aria-label":o("AI \u7D22\u5F15\u540C\u6B65\u4EFB\u52A1"),readOnly:!0,value:M,rows:5,style:{width:"100%",boxSizing:"border-box"}}),e("button",{className:"qxsim-action",disabled:y,onClick:A(r)},o("AI \u5DF2\u5904\u7406\uFF0C\u91CD\u65B0\u8F7D\u5165\u5B58\u6863"))):null,e("div",null,q.length?o("\u63A7\u4EF6\u7D22\u5F15\u5DF2\u4FEE\u6539\uFF0C\u8BF7\u9009\u62E9\u4E00\u79CD\u65B9\u5F0F\u540C\u6B65\u811A\u672C\u3002"):o("\u8BF7\u68C0\u67E5\u66FF\u6362\u7ED3\u679C\u5E76\u4FDD\u5B58\u5B58\u6863\uFF0C\u518D\u5230\u300CLua \u811A\u672C \u2192 \u5B9E\u673A\u811A\u672C\u540C\u6B65\u300D\u66F4\u65B0\u6E38\u620F\u91CC\u7684\u6587\u4EF6\u5E76\u91CD\u65B0\u8BD5\u73A9\u3002")),q.length?e(t.Fragment,null,e("div",{role:"group","aria-label":o("\u7D22\u5F15\u540C\u6B65\u65B9\u5F0F"),style:{display:"flex",gap:12,flexWrap:"wrap",marginTop:5}},e("div",{style:{flex:"1 1 280px"}},e("button",{className:"qxsim-action",disabled:y,onClick:A(async()=>{await i();let B=(await n({op:"previewControlGuidSync"})).controlGuidSyncPreview;if(C(null),f(""),!B.canApply){v(B);return}let J=await n({op:"syncControlGuidReferences",planId:B.id});C(J.controlGuidSyncResult),v(null)})},o("\u5168\u91CF\u66FF\u6362\u811A\u672C\u7D22\u5F15")),e("div",null,e("strong",null,o("\u53EF\u80FD\u9519\u8BEF\u5730\u66FF\u6362\u975E\u7D22\u5F15\u5185\u5BB9\u3002")),o("\u6309\u5B8C\u6574\u5341\u8FDB\u5236\u6570\u5B57\u66FF\u6362\u6240\u6709\u5DF2\u767B\u8BB0\u811A\u672C\uFF0C\u5305\u62EC\u914D\u7F6E\u8868\u3001\u5B57\u7B26\u4E32\u548C\u6CE8\u91CA\uFF1B\u540C\u65F6\u66F4\u65B0\u5185\u5BB9\u4E00\u81F4\u7684\u5DE5\u4F5C\u533A\u6E90\u6587\u4EF6\uFF0C\u66FF\u6362\u524D\u81EA\u52A8\u5907\u4EFD\u3002"))),e("div",{style:{flex:"1 1 280px"}},e("button",{className:"qxsim-action",disabled:y,onClick:k},o("\u590D\u5236\u63D0\u793A\u8BCD\u7ED9 AI")),e("div",null,o("\u5148\u4FDD\u5B58\u6700\u65B0\u5B58\u6863\uFF0C\u518D\u590D\u5236\u5305\u542B\u6620\u5C04\u8BFB\u53D6\u65B9\u5F0F\u548C\u811A\u672C\u4F4D\u7F6E\u7684\u63D0\u793A\u8BCD\uFF0C\u7531 AI \u5224\u65AD\u54EA\u4E9B\u5F15\u7528\u9700\u8981\u66F4\u65B0\u3002")))),e("details",null,e("summary",null,o`查看索引变更(${q.length} 项)`),e("ul",null,q.slice(0,20).map(G=>e("li",{key:G.id},`${G.controlName}\uFF1A${G.oldGuid} \u2192 ${G.newGuid}`))),q.length>20?e("div",null,o("\u8FD9\u91CC\u663E\u793A\u524D 20 \u9879\uFF1B\u5B8C\u6574\u6620\u5C04\u968F\u5B58\u6863\u4FDD\u5B58\uFF0C\u590D\u5236\u7684\u4EFB\u52A1\u4F1A\u5F15\u5BFC AI \u8BFB\u53D6\u5168\u90E8\u3002")):null)):null,h?e("div",{"aria-label":o("Lua \u7D22\u5F15\u540C\u6B65\u95EE\u9898")},e("p",null,o("\u6E90\u7801\u6587\u4EF6\u6216\u7D22\u5F15\u6620\u5C04\u5B58\u5728\u51B2\u7A81\uFF0C\u672C\u6B21\u6CA1\u6709\u4FEE\u6539\u811A\u672C\u3002\u53EF\u590D\u5236\u63D0\u793A\u8BCD\u7ED9 AI \u5904\u7406\u3002")),h.issues.map((G,B)=>e("div",{key:B},G)),h.rows.filter(G=>G.issues.length).map(G=>e("details",{key:G.id,open:!0},e("summary",null,G.path||o("\u5185\u8054\u811A\u672C")),G.issues.slice(0,12).map((B,J)=>e("div",{key:`i${J}`},`${B.line?o`第 ${B.line} 行:`:""}${B.reason}`)),G.issues.length>12?e("div",null,o("\u5176\u4F59\u95EE\u9898\u8BF7\u7531 AI \u6838\u5BF9\u3002")):null))):null,T&&!q.length?e(t.Fragment,null,e("div",null,o`已替换 ${T.scripts} 个脚本的 ${T.replacements} 处文本,更新 ${T.projectFiles} 个项目文件。备份:${T.backupRoot}`),e("button",{className:"qxsim-action",onClick:c},o("\u524D\u5F80 Lua \u811A\u672C"))):null)}}function so(t){try{t?.close()}catch{}}function Py(){if(window.location.protocol==="dsh-app:")return null;let t;try{return t=window.open("about:blank","_blank"),!t||t.closed?null:(t.document.write(o('<!doctype html><meta charset="utf-8"><title>\u6B63\u5728\u51C6\u5907\u8BD5\u73A9\u2026</title><p>\u6B63\u5728\u4FDD\u5B58\u9879\u76EE\u5E76\u51C6\u5907\u8BD5\u73A9\u2026</p>')),t)}catch{return so(t),null}}function H0(t){let e=t.createElement,a=new Map;function l({entry:i,api:n,onClosed:u}){let c=t.useRef(null),s=t.useRef(null),[r,y]=t.useState(!1),[b,h]=t.useState(""),[v,T]=t.useState(!1);t.useLayoutEffect(()=>{let M={closing:!1,stopped:!1,pending:null,controller:null,requests:new Set};s.current=M;let f=c.current,d=f.querySelector("iframe"),g=!0,S=()=>{if(M.stopped)return Promise.resolve();if(M.closing=!0,!M.controller)return M.stopped=!0,Promise.resolve();if(!M.pending){let A=(async()=>{M.controller?.quiesce(),await Promise.allSettled([...M.requests]),await n(i.sessionId,"play",{action:"stop",args:{}}),M.stopped=!0})().finally(()=>{M.pending=null,a.get(i.sessionId)===A&&a.delete(i.sessionId)});M.pending=A,a.set(i.sessionId,A)}return M.pending};M.close=async()=>{if(!(M.pending||M.stopped)){y(!0),h("");try{await S(),g&&u()}catch(A){g&&(h(o`停止试玩失败,请重试:${A?.message||A}`),y(!1))}}};let q=A=>{A.source!==d.contentWindow||A.data?.type!=="qxqy-play-close"||A.data.sessionId!==i.sessionId||M.close()},O=A=>{A.preventDefault(),M.close()};return window.addEventListener("message",q),f.addEventListener("cancel",O),f.showModal(),()=>{g=!1,window.removeEventListener("message",q),f.removeEventListener("cancel",O),f.close(),S().catch(A=>console.error("Embedded play cleanup failed",A)),i.returnFocus?.isConnected&&i.returnFocus.focus()}},[i,n,u]);function C(M){let f=s.current;if(!f.closing)try{let d=M.currentTarget,g=d.contentWindow?.qxqyEmbeddedPlay;if(!g)throw new Error(o("\u8BD5\u73A9\u9875\u672A\u80FD\u52A0\u8F7D\uFF0C\u8BF7\u8FD4\u56DE\u7F16\u8F91\u540E\u91CD\u8BD5\u3002"));f.controller=g,T(!0),d.focus(),g.focus();let S=(q,O={})=>{if(f.closing)return Promise.reject(new Error(o("\u8BD5\u73A9\u6B63\u5728\u5173\u95ED")));let A=n(i.sessionId,"play",{action:q,args:O});return f.requests.add(A),A.then(()=>f.requests.delete(A),()=>f.requests.delete(A)),A};g.start(S).catch(q=>{f.closing||h(q?.message||String(q))})}catch(d){h(d?.message||String(d))}}return e("dialog",{ref:c,className:"qxsim-play-overlay","aria-label":o("\u5185\u5D4C\u8BD5\u73A9"),"aria-modal":!0},e("header",{className:"qxsim-play-header"},e("span",{role:"status"},r?o("\u6B63\u5728\u505C\u6B62\u8BD5\u73A9\u2026"):v?o("\u5185\u5D4C\u8BD5\u73A9"):o("\u6B63\u5728\u8F7D\u5165\u8BD5\u73A9\u2026")),e("button",{className:"qxsim-action",type:"button",disabled:r,onClick:()=>void s.current?.close?.()},o("\u5173\u95ED\u8BD5\u73A9"))),b?e("div",{className:"qxsim-play-error",role:"alert"},o(b)):null,e("iframe",{title:o("\u5343\u661F\u6C99\u7BB1\u8BD5\u73A9"),src:i.url,onLoad:C,tabIndex:0}))}return function({sessionId:n,api:u,playUrl:c,onError:s}){let r=t.useRef(null),[y,b]=t.useState(!1),[h,v]=t.useState(null),T=t.useCallback(()=>v(null),[]);t.useEffect(()=>{let M={active:!0,pending:!1,popup:null};return r.current=M,b(!1),v(null),()=>{M.active=!1,so(M.popup)}},[n]);async function C(M){let f=r.current;if(!f?.active||f.pending||h)return;f.pending=!0;let d=document.activeElement;b(!0);try{let g=Py();if(f.popup=g,await a.get(n),!f.active||(await M(),!f.active))return;let S=new URL(c(n),window.location.href);if(g){try{if(g.closed)throw new Error("Play window closed");g.location.replace(S.href)}catch{so(g),g=null}f.popup=null}g||(S.searchParams.set("embedded","1"),v({sessionId:n,url:S.href,returnFocus:d}))}catch(g){so(f.popup),f.popup=null,f.active&&s(g?.message||String(g))}finally{f.pending=!1,f.active&&b(!1)}}return{open:C,opening:y,overlay:h?.sessionId===n?e(l,{key:n,entry:h,api:u,onClosed:T}):null}}}var G0="prefab-v1",tx=[[10003004,10003004],[10005001,10005142],[10006001,10006002],[10007002,10007002],[10008001,10008001],[10009001,10009011],[20001001,20001074],[20001076,20001121],[20001123,20001156],[20001158,20001302],[20001304,20001568],[20001570,20001999],[20002001,20002755],[20002757,20002999],[20003001,20003455],[30001001,30001016],[30002001,30002017],[30003001,30003011],[30004001,30004001],[30005001,30005020],[30006001,30006026],[30007001,30007013],[30008001,30008011]];function B0(t){return!Number.isSafeInteger(t)||!tx.some(([e,a])=>t>=e&&t<=a)?null:t===10003004||t===10008001?128:256}var ex="sprite-v1",ax="/qxqy-assets/",lx=[[100001,100006],[100101,100213],[101001,101018],[101020,101028],[101030,101046],[101048,101048],[101050,101054],[101056,101080],[102001,102052],[103001,103148],[104001,104010],[105001,105140],[105142,105219],[105221,105317],[106001,106047],[106049,106096],[107001,107007],[107010,107020],[107031,107092],[107094,107180],[107183,107201],[107203,107205],[107207,107228],[107231,107278],[107280,107402],[108001,108017],[108019,108020],[109001,109031],[109033,109034],[109036,109075],[110001,110053],[111001,111139],[112001,112042]];function Ya(t){return t==null||t===""?"StaticReference":typeof t=="string"?t:typeof t.Name=="string"?t.Name:"Unknown"}function He(t,e){return`${Ya(e)}:${t}`}function sl(t,e){let a=Ya(e);return a==="Prefab"?B0(t)!==null:a==="StaticReference"&&Number.isSafeInteger(t)&&t>100006&&lx.some(([l,i])=>t>=l&&t<=i)}function yr(t,e=0,a){let l=Ya(a);if(!["StaticReference","Prefab"].includes(l))throw new Error(`Unsupported image source: ${l}`);return`${ax}${l==="Prefab"?G0:ex}/${t}.png${e?`?refresh=${e}`:""}`}function Y0(t,e=0,a){return yr(t,e,a).replace(".png",".json")}var xr="qxqy-image-refresh",sa=new Map,xi=new Map,sn=new Map,br=new Set,nx=16777216,X0=!1;function Q0(t,e){sn.set(t,e),sa.delete(t),xi.delete(t);for(let a of br)a(t)}var j0=t=>/^\d+$/.test(t)?He(Number(t)):t;function ro(){if(!(X0||typeof window>"u")){X0=!0;try{for(let[t,e]of Object.entries(JSON.parse(localStorage.getItem(xr)||"{}")))sn.set(j0(t),e)}catch{}window.addEventListener("storage",t=>{if(t.key===xr)try{for(let[e,a]of Object.entries(JSON.parse(t.newValue||"{}"))){let l=j0(e);sn.get(l)!==a&&Q0(l,a)}}catch{}})}}function Sr(t){return ro(),br.add(t),()=>br.delete(t)}function V0(t,e){ro(),Q0(He(t,e),Date.now());try{localStorage.setItem(xr,JSON.stringify(Object.fromEntries(sn)))}catch{}}function qr(t,e){if(ro(),Ya(e)!=="StaticReference"||!sl(t,e))return Promise.resolve(null);let a=He(t,e),l=xi.get(a);if(l)return l;let i=fetch(Y0(t,sn.get(a),e),{signal:AbortSignal.timeout(3e4)}).then(async n=>{if(!n.ok)throw new Error(`\u56FE\u7247 ${t} \u5143\u6570\u636E\u52A0\u8F7D\u5931\u8D25\uFF1AHTTP ${n.status}`);return n.json()}).catch(n=>{throw xi.get(a)===i&&xi.delete(a),n});return xi.set(a,i),i}async function Z0(t,e){let[a,l]=await Promise.all([ix(t,e),qr(t,e).then(i=>({meta:i,error:""}),i=>({meta:void 0,error:i.message}))]);return{image:a,...l}}function ix(t,e){if(ro(),!sl(t,e))return Promise.reject(new Error("Image source/ID is not in the preview allowlist"));let a=He(t,e),l=sa.get(a);if(l&&(!l.failed||Date.now()<l.retryAt))return sa.delete(a),sa.set(a,l),l.promise;let i={pixels:0,failed:!1};return i.promise=new Promise((n,u)=>{let c=new Image,s=setTimeout(()=>{c.src="",r(new Error("\u56FE\u7247\u52A0\u8F7D\u8D85\u65F6"))},45e3);function r(y){if(clearTimeout(s),c.onload=c.onerror=null,y){i.failed=!0,i.retryAt=Date.now()+6e4,u(y);return}i.pixels=c.width*c.height;let b=[...sa.values()].reduce((h,v)=>h+v.pixels,0);for(let[h,v]of sa){if(b<=nx&&sa.size<=128)break;h!==a&&(!v.pixels&&!v.failed||(sa.delete(h),b-=v.pixels))}n(c)}c.onload=()=>r(),c.onerror=()=>r(new Error(`\u56FE\u7247 ${t} \u52A0\u8F7D\u5931\u8D25\uFF0C\u53EF\u5728\u5C5E\u6027\u9762\u677F\u5237\u65B0\u7D20\u6750`)),c.src=yr(t,sn.get(a),e)}),sa.set(a,i),i.promise}function K0(t,e,a){let l=Number(e??4294967295)>>>0;if((l&16777215)===16777215)return t;let i=a(t.width,t.height),n=i.getContext("2d");n.drawImage(t,0,0);let u=n.getImageData(0,0,i.width,i.height),c=l>>>16&255,s=l>>>8&255,r=l&255;for(let y=0;y<u.data.length;y+=4)u.data[y]=Math.round(u.data[y]*c/255),u.data[y+1]=Math.round(u.data[y+1]*s/255),u.data[y+2]=Math.round(u.data[y+2]*r/255);return n.putImageData(u,0,0),i}function Ar(t){return!!t?.border&&Object.values(t.border).some(e=>Number.isFinite(e)&&e>0)}function fo(t,e){let a=typeof e=="object"?e?.Name:e;return Ar(t)&&a!=="Basic"?"Stretch":"Basic"}function ux(t,e,a,l){e=Number.isFinite(e)?Math.max(0,e):0,a=Number.isFinite(a)?Math.max(0,a):0;let i=Math.min(1,t/(e+a||1));e*=i,a*=i;let n=Math.min(1,l/(e+a||1));return{source:[0,e,t-a,t],target:[0,e*n,l-a*n,l]}}var $0=new WeakMap;function J0(t,e,a,l,i){let n=Math.max(0,a),u=Math.max(0,l),c=Math.min(1,4096/Math.max(1,n),4096/Math.max(1,u)),s=Math.max(1,Math.round(n*c)),r=Math.max(1,Math.round(u*c)),y=i(s,r),b=y.getContext("2d");if(!n||!u)return y;let h=$0.get(t);if(!h){let d=i(t.width,t.height),g=d.getContext("2d");g.drawImage(t,0,0),h=g.getImageData(0,0,t.width,t.height),$0.set(t,h)}let v=b.createImageData(s,r),T=h.data,C=(d,g,S,q,O,A)=>{let{source:k,target:G}=ux(g,S,q,O);return Array.from({length:A},(B,J)=>{let ee=(J+.5)*O/A,Yt=ee<G[1]?0:ee<G[2]?1:2,de=G[Yt+1]>G[Yt]?(ee-G[Yt])/(G[Yt+1]-G[Yt]):0,Ne=Math.max(0,Math.min(d-1,(k[Yt]+de*(k[Yt+1]-k[Yt]))*d/g-.5)),pe=Math.floor(Ne);return[pe,Math.min(d-1,pe+1),Ne-pe]})},M=C(t.width,e.width,e.border.left,e.border.right,n,s),f=C(t.height,e.height,e.border.top,e.border.bottom,u,r);for(let d=0;d<r;d++)for(let g=0;g<s;g++){let[S,q,O]=M[g],[A,k,G]=f[d],B=(A*t.width+S)*4,J=(A*t.width+q)*4,ee=(k*t.width+S)*4,Yt=(k*t.width+q)*4,de=T[B+3]*(1-O)*(1-G),Ne=T[J+3]*O*(1-G),pe=T[ee+3]*(1-O)*G,Ge=T[Yt+3]*O*G,Be=de+Ne+pe+Ge,Ut=(d*s+g)*4;v.data[Ut+3]=Math.round(Be);for(let St=0;St<3;St++)v.data[Ut+St]=Be?Math.round((T[B+St]*de+T[J+St]*Ne+T[ee+St]*pe+T[Yt+St]*Ge)/Be):0}return b.putImageData(v,0,0),y}function I0(t,e,a){if(t.fillType!=="Horizontal"&&t.fillType!=="Vertical")return null;let l=Number(t.fillAmount??1),i=Number.isFinite(l)?Math.max(0,Math.min(1,l)):1;if(t.fillType==="Horizontal"){let u=e*i;return{x:t.fillHorizontalType==="Right"?e/2-u:-e/2,y:-a/2,width:u,height:a}}let n=a*i;return{x:-e/2,y:t.fillVerticalType==="Top"?-a/2:a/2-n,width:e,height:n}}function F0(t,e){let a=document.createElement("canvas");return a.width=t,a.height=e,a}function W0(t){let e=t.createElement;return function({item:l}){let i=He(l.imageId,l.imageSource),n=t.useRef(null),[u,c]=t.useState({image:null,meta:null,error:""}),[s,r]=t.useState(0);return t.useEffect(()=>Sr(y=>{y===i&&r(b=>b+1)}),[i]),t.useEffect(()=>{let y=!0;return c({image:null,error:""}),Z0(l.imageId,l.imageSource).then(({image:b,meta:h,error:v})=>{y&&c({image:b,meta:h,error:v})},b=>{y&&c({image:null,error:b.message})}),()=>{y=!1}},[i,s]),t.useEffect(()=>{let y=n.current;if(!u.image||!y)return;let b=fo(u.meta,l.imageType)==="Stretch"?J0(u.image,u.meta,l.width,l.height,F0):u.image,h=K0(b,l.imageColor,F0);y.width=h.width,y.height=h.height;let v=y.getContext("2d"),T=l.enableFill?I0(l,y.width,y.height):null;T&&(v.beginPath(),v.rect(T.x+y.width/2,T.y+y.height/2,T.width,T.height),v.clip()),v.globalAlpha=(Number(l.imageColor??4294967295)>>>24&255)/255,v.drawImage(h,0,0)},[u.image,u.meta,l.imageType,l.width,l.height,l.imageColor,l.enableFill,l.fillType,l.fillHorizontalType,l.fillVerticalType,l.fillAmount]),u.image?e("canvas",{ref:n,title:u.error,"data-image-id":l.imageId,"data-image-source":Ya(l.imageSource),"data-image-type":fo(u.meta,l.imageType),"aria-label":o`图片 ${l.imageId}`,style:{display:"block",position:"absolute",inset:0,width:"100%",height:"100%"}}):e("span",{className:"qxsim-box-label",title:u.error,role:u.error?"status":void 0},u.error?o`图片 ${l.imageId} 加载失败`:o`加载图片 ${l.imageId}…`)}}function P0(t){let e=t.createElement;return function({imageId:l,imageSource:i,value:n,commit:u}){let c=He(l,i),[s,r]=t.useState({key:"",meta:void 0,error:""}),[y,b]=t.useState(0);t.useEffect(()=>Sr(T=>{T===c&&b(C=>C+1)}),[c]),t.useEffect(()=>{let T=!0;return r({key:c,meta:void 0,error:""}),qr(l,i).then(C=>{T&&r({key:c,meta:C,error:""})},C=>{T&&r({key:c,meta:void 0,error:C.message})}),()=>{T=!1}},[c,y]);let h=s.key===c&&s.meta!==void 0,v=h&&Ar(s.meta);return e("label",{className:"qxsim-field"},e("span",{className:"qxsim-field-label"},o("\u56FE\u7247\u7C7B\u578B")),e("select",{"aria-label":o("\u56FE\u7247\u7C7B\u578B"),disabled:!v,value:h?fo(s.meta,n):"",onChange:T=>u("imageType",T.target.value)},h?e("option",{value:"Basic"},o("\u57FA\u7840")):e("option",{value:""},s.error?o("\u5143\u6570\u636E\u52A0\u8F7D\u5931\u8D25"):o("\u8BFB\u53D6\u7D20\u6750\u8FB9\u754C\u2026")),v?e("option",{value:"Stretch"},o("\u62C9\u4F38")):null),s.error?e("small",{role:"status"},s.error):null)}}var ox=t=>`#${(Number(t)&16777215).toString(16).padStart(6,"0").toUpperCase()}`,th=t=>String(Math.round(t/255*100));function eh(t){let e=t.createElement;return function({field:l,commit:i}){let n=ox(l.value),u=Number(l.value)>>>24,c=th(u),[s,r]=t.useState(n),[y,b]=t.useState(c),h=t.useRef(!1),[v,T]=t.useState(""),[C,M]=t.useState("");t.useEffect(()=>{r(n),T("")},[n]),t.useEffect(()=>{h.current||(b(c),M(""))},[c]);function f(q){let O=q.trim().replace(/^#/,"");if(!/^[0-9a-f]{6}$/i.test(O)){T(o("\u8BF7\u8F93\u5165\u516D\u4F4D\u989C\u8272\uFF0C\u4F8B\u5982 #FF8800"));return}let A=`#${O.toUpperCase()}`;r(A),T(""),i(l.key,k=>(Number(k)&4278190080|parseInt(O,16))>>>0)}function d(q){let O=Number(q);if(!String(q).trim()||!Number.isInteger(O)||O<0||O>100){M(o("\u900F\u660E\u5EA6\u8BF7\u8F93\u5165 0\u2013100 \u7684\u6574\u6570"));return}let A=Math.round(O/100*255);h.current=!1,b(th(A)),M(""),i(l.key,k=>(A<<24|Number(k)&16777215)>>>0)}let g=o("Alpha\uFF1A0% \u5B8C\u5168\u900F\u660E\uFF0C100% \u5B8C\u5168\u4E0D\u900F\u660E"),S=y.trim()&&Number.isFinite(Number(y))?Math.max(0,Math.min(100,Number(y))):Number(c);return e("div",{className:"qxsim-color-editor",role:"group","aria-label":o`${o(l.label)}与透明度`},e("div",{className:"qxsim-field"},e("span",{className:"qxsim-field-label"},o(l.label)),e("span",{className:"qxsim-color-row"},e("span",{className:"qxsim-color-swatch",title:o("\u6253\u5F00\u53D6\u8272\u5668")},e("input",{type:"color",value:/^#[0-9a-f]{6}$/i.test(s)?s:n,disabled:!!l.readonly,"aria-label":o`${o(l.label)}取色器`,onInput:q=>f(q.target.value)})),e("input",{type:"text",value:s,spellCheck:!1,disabled:!!l.readonly,placeholder:"#RRGGBB","aria-label":`${o(l.label)} RGB`,"aria-invalid":!!v,onChange:q=>{r(q.target.value),T("")},onBlur:()=>f(s),onKeyDown:q=>{q.key==="Enter"&&q.currentTarget.blur(),q.key==="Escape"&&(r(n),T(""))}})),v?e("small",{className:"qxsim-color-error",role:"alert"},v):null),e("div",{className:"qxsim-field"},e("span",{className:"qxsim-field-label",title:g},o("\u900F\u660E\u5EA6")),e("span",{className:"qxsim-alpha-row"},e("input",{type:"range",min:0,max:100,step:1,value:S,disabled:!!l.readonly,title:g,"aria-label":o`${o(l.label)}透明度滑块`,onInput:q=>d(q.target.value)}),e("span",{className:"qxsim-alpha-value"},e("input",{type:"number",min:0,max:100,step:1,inputMode:"numeric",value:y,disabled:!!l.readonly,title:g,"aria-label":o`${o(l.label)}透明度`,"aria-invalid":!!C,onChange:q=>{h.current=!0,b(q.target.value),M("")},onBlur:()=>{h.current&&d(y)},onKeyDown:q=>{q.key==="Enter"&&q.currentTarget.blur(),q.key==="Escape"&&(h.current=!1,b(c),M(""))}}),e("span",{"aria-hidden":!0},"%"))),C?e("small",{className:"qxsim-color-error",role:"alert"},C):null))}}function ah(t,e,a){let l=t.renderMatrix;if(!l)return{};let i=l.a*t.centerX+l.c*t.centerY+l.tx,n=l.b*t.centerX+l.d*t.centerY+l.ty;return{left:`${(i-t.width/2)/e*100}%`,bottom:`${(n-t.height/2)/a*100}%`,width:`${t.width/e*100}%`,height:`${t.height/a*100}%`,transform:`matrix(${l.a},${-l.b},${-l.c},${l.d},0,0)`}}var rl='"Microsoft YaHei UI","Microsoft YaHei","HarmonyOS Sans SC","Noto Sans CJK SC",sans-serif',Nr="/qxqy-font";var Er=t=>`QxqyLocal_${t}`,lh=t=>t?`"${Er(t)}",${rl}`:rl;var l1=Object.freeze({aqua:"00ffff",black:"000000",blue:"0000ff",brown:"a52a2a",cyan:"00ffff",darkblue:"0000a0",fuchsia:"ff00ff",green:"008000",grey:"808080",lightblue:"add8e6",lime:"00ff00",magenta:"ff00ff",maroon:"800000",navy:"000080",olive:"808000",orange:"ffa500",purple:"800080",red:"ff0000",silver:"c0c0c0",teal:"008080",white:"ffffff",yellow:"ffff00"});function nh(t,e){return`${t.italic?"italic ":""}${t.bold?"bold ":""}${t.fontSize}px ${e}`}function ih(t){let e=Number(t)>>>0;return`rgba(${e>>>16&255},${e>>>8&255},${e&255},${(e>>>24)/255})`}function cx(t,e,a,l,i=rl){let n=e.textLayout;if(!n?.richLines||a<=0||l<=0)return;let u=e.horizontalAlignment==="Right"?1:e.horizontalAlignment==="Middle"?.5:0,c=e.verticalAlignment==="Bottom"?1:e.verticalAlignment==="Middle"?.5:0,s=e.kind==="textwindow"?e.scroll:null,r=n.visibleLineCount??n.richLines.length,y=n.visibleContentHeight??n.contentHeight,b=e.kind==="textwindow"&&n.contentHeight>l?-(s?.offset||0):c*(l-y);t.save(),t.beginPath(),t.rect(0,0,a,l),t.clip(),t.textAlign="left",t.textBaseline="alphabetic",t.lineJoin="round",t.strokeStyle=ih(e.outlineColor??4278190080);for(let h=0;h<r;h++){let v=n.richLines[h],T=b+v.top;if(T+v.height<0||T>l)continue;let C=2+u*(n.textWidth-v.width);for(let M of v.runs)t.font=nh(M,i||rl),t.fillStyle=ih(M.color??e.fontColor??4294967295),e.enableOutline&&(t.lineWidth=Math.max(2,M.fontSize*.12),t.strokeText(M.text,C+M.x,T+v.baseline)),t.fillText(M.text,C+M.x,T+v.baseline)}t.restore()}function uh(t,e,a,l,i,n=1){let u=Math.min(Math.max(1,n),4096/Math.max(1,a,l)),c=Math.max(1,Math.ceil(a*u)),s=Math.max(1,Math.ceil(l*u));t.width!==c&&(t.width=c),t.height!==s&&(t.height=s);let r=t.getContext("2d");r.setTransform(1,0,0,1,0,0),r.clearRect(0,0,c,s),r.save(),r.scale(c/(a>0?a:1),s/(l>0?l:1)),cx(r,e,a,l,i),r.restore()}function oh(t){return function({item:a,zoom:l,fontFamily:i}){let n=t.useRef(null),u=!!a.textLayout?.richLines;return t.useLayoutEffect(()=>{u&&n.current&&uh(n.current,a,a.width,a.height,i,Math.min(2,window.devicePixelRatio||1)*l)},[a,l,i,u]),u?t.createElement("canvas",{ref:n,className:"qxsim-rich-text",role:"img","aria-label":a.textLayout.lines.join(`
10
- `),style:{position:"absolute",left:0,top:0,width:"100%",height:"100%"}}):t.createElement("span",{style:rx(a,l,i)},sx(a))}}function sx(t){let e=t.textLayout;return e?e.lines.slice(0,e.visibleLineCount??e.lines.length).join(`
11
- `):t.text??""}function rx(t,e,a){let l=t.textLayout;return{flex:"0 0 auto",width:`${(l?.textWidth??Math.max(0,t.width-4))*e}px`,margin:`0 ${2*e}px`,whiteSpace:"pre",fontFamily:a||rl,fontSize:`${(l?.fontSize??t.fontSize??20)*e}px`,lineHeight:`${(l?.lineHeight??(t.fontSize??20)*1.2)*e}px`,textAlign:t.horizontalAlignment==="Right"?"right":t.horizontalAlignment==="Middle"?"center":"left"}}var fx=Object.freeze(["KEYBOARD","TOUCHSCREEN","CONTROLLER_CONSOLE","CONTROLLER_MOBILE"]),dx=Object.freeze({"pc-16-9":{id:"pc-16-9",device:"pc",platform:"KEYBOARD",width:1600,height:900,ratio:"16:9",luaDevice:"KeyboardAndMouse",label:"PC 1600\xD7900"},"pc-21-9":{id:"pc-21-9",device:"pc",platform:"KEYBOARD",width:2100,height:900,ratio:"21:9",luaDevice:"KeyboardAndMouse",label:"PC 2100\xD7900"},"mobile-16-9":{id:"mobile-16-9",device:"mobile",platform:"TOUCHSCREEN",width:1280,height:720,ratio:"16:9",luaDevice:"Mobile",label:"\u624B\u673A 1280\xD7720"},"mobile-19.5-9":{id:"mobile-19.5-9",device:"mobile",platform:"TOUCHSCREEN",width:1560,height:720,ratio:"19.5:9",luaDevice:"Mobile",label:"\u624B\u673A 1560\xD7720"},"mobile-4-3":{id:"mobile-4-3",device:"mobile",platform:"TOUCHSCREEN",width:1280,height:960,ratio:"4:3",luaDevice:"Mobile",label:"\u624B\u673A 1280\xD7960"}});var d1=Object.freeze({KEYBOARD:"pc-16-9",TOUCHSCREEN:"mobile-16-9",CONTROLLER_CONSOLE:"pc-16-9",CONTROLLER_MOBILE:"mobile-16-9"}),p1=Object.freeze({"server-container":"\u5BA2\u6237\u7AEF\u63A7\u4EF6\u5BB9\u5668",container:"\u5BB9\u5668\u8282\u70B9",textbox:"\u6587\u672C\u6846",image:"\u56FE\u7247",button:"\u9884\u8BBE\u6309\u94AE",cursor:"\u5149\u6807\u68C0\u6D4B\u533A\u57DF",grid:"\u7F51\u683C\u89C6\u7A97",reference:"\u6A21\u677F\u5F15\u7528\u63A7\u4EF6",textwindow:"\u6587\u672C\u89C6\u7A97",keyhint:"\u6309\u952E\u63D0\u793A",animation:"\u754C\u9762\u52A8\u6548",fullscreen:"\u5168\u5C4F\u52A8\u6548"}),m1=Object.freeze(["server-container","container","textbox","cursor","reference","grid","image","button","textwindow","keyhint","animation","fullscreen"]),h1=Object.freeze({"server-container":null,container:[150,150],textbox:[100,40],image:[80,80],button:[150,50],cursor:[150,50],grid:[80,80],reference:[80,80],textwindow:[100,40],keyhint:[40,40],animation:[100,100],fullscreen:null}),g1=Object.freeze({100001:"rect",100002:"circle",100003:"triangle",100004:"fourstar",100005:"fivestar",100006:"ring"});var v1=Object.freeze({font:4294967295,bg:16777215,outline:858993459,image:4294967295});function wr(t){let e=t.a*t.d-t.b*t.c;return!Number.isFinite(e)||Math.abs(e)<1e-8?null:{a:t.d/e,b:-t.b/e,c:-t.c/e,d:t.a/e,tx:(t.c*t.ty-t.d*t.tx)/e,ty:(t.b*t.tx-t.a*t.ty)/e}}function px(t,e,a){let l=(i,n)=>i<=0?0:!(n>0)||i>=n?1:i/n;return Math.min(l(t+a.width/2,a.featherX),l(a.width/2-t,a.featherX),l(e+a.height/2,a.featherY),l(a.height/2-e,a.featherY))}function ch(t){let e={children:[]},a=[e],l=[];for(let i of t||[]){if(!i||i.id==null)continue;let n=i.masks||[],u=n.map(s=>JSON.stringify([s.id,s.matrix,s.width,s.height,s.featherX,s.featherY])),c=0;for(;c<l.length&&c<u.length&&l[c]===u[c];)c++;a.length=c+1;for(let s=c;s<n.length;s++){let r={mask:n[s],children:[]};a.at(-1).children.push(r),a.push(r)}a.at(-1).children.push({item:i}),l=u}return e.children}function sh(t,e){let a=Math.max(1,t.width),l=Math.max(1,t.height),i=t.getContext("2d"),n=i.createImageData(a,l),u=n.data;for(let c=0;c<l;c+=1){let s=e.height/2-(c+.5)*e.height/l;for(let r=0;r<a;r+=1){let y=-e.width/2+(r+.5)*e.width/a,b=Math.round(255*px(y,s,e)),h=(c*a+r)*4;u[h]=255,u[h+1]=255,u[h+2]=255,u[h+3]=b}}return i.putImageData(n,0,0),t}function rh(t){let e=t.createElement;function a({mask:l,canvasWidth:i,canvasHeight:n,children:u}){let{width:c,height:s,featherX:r,featherY:y,matrix:b}=l,h=t.useMemo(()=>{if(!(c>0&&s>0)||!(r>0||y>0))return"";let d=document.createElement("canvas"),g=Math.min(2,2048/Math.max(c,s));return d.width=Math.max(1,Math.ceil(c*g)),d.height=Math.max(1,Math.ceil(s*g)),sh(d,l),d.toDataURL("image/png")},[c,s,r,y]);if(!(c>0&&s>0)||!wr(b))return null;let v=b.tx-b.a*c/2+b.c*s/2,T=n-b.ty+b.b*c/2-b.d*s/2,C=`matrix(${b.a} ${-b.b} ${-b.c} ${b.d} ${v} ${T})`,M=h?`<image width="${c}" height="${s}" preserveAspectRatio="none" href="${h}" transform="${C}"/>`:`<rect width="${c}" height="${s}" fill="white" transform="${C}"/>`,f=`<svg xmlns="http://www.w3.org/2000/svg" width="${i}" height="${n}" viewBox="0 0 ${i} ${n}">${M}</svg>`;return e("div",{className:"qxsim-mask-group","data-mask-id":l.id,style:{position:"absolute",inset:0,pointerEvents:"none",maskImage:`url("data:image/svg+xml,${encodeURIComponent(f)}")`,maskMode:"alpha",maskSize:"100% 100%",maskRepeat:"no-repeat"}},u)}return function({boxes:i,canvasWidth:n,canvasHeight:u,renderControl:c}){let s=r=>r.map(y=>y.item?c(y.item):e(a,{key:`mask:${y.mask.id}`,mask:y.mask,canvasWidth:n,canvasHeight:u},s(y.children)));return s(ch(i))}}function po(t){let e=Number(t);return Number.isSafeInteger(e)&&e>=1073741824&&e<=1077936127}var Tr;function fh(){return Tr||=hx().catch(t=>{throw Tr=null,t}),Tr}async function hx(){let t={cache:"no-store",credentials:"same-origin",mode:"same-origin",signal:AbortSignal.timeout(1e4)},e=await fetch(`${Nr}/manifest`,t);if(!e.ok)throw new Error("\u65E0\u6CD5\u8BFB\u53D6\u672C\u5730\u5B57\u4F53\u914D\u7F6E\uFF0C\u8BF7\u68C0\u67E5\u5BBF\u4E3B\u914D\u7F6E\u53CA\u672C\u673A\u8FDE\u63A5");let{id:a,scope:l="all"}=await e.json();if(a===null)return null;if(typeof a!="string"||!/^[a-f0-9]{64}$/.test(a))throw new Error("\u672C\u5730\u5B57\u4F53\u6807\u8BC6\u65E0\u6548");let i=await fetch(`${Nr}/file/${a}`,t);if(!i.ok)throw new Error("\u672C\u5730\u5B57\u4F53\u52A0\u8F7D\u5931\u8D25\uFF0C\u8BF7\u91CD\u542F\u5BBF\u4E3B\u5E76\u5237\u65B0\u9875\u9762");let n=await i.arrayBuffer();if(!n.byteLength||n.byteLength>33554432)throw new Error("\u672C\u5730\u5B57\u4F53\u5927\u5C0F\u65E0\u6548");let u=new FontFace(Er(a),n);await u.load(),document.fonts.add(u);let c=lh(a),s="qxqy-local-font-style",r=document.getElementById(s);return l==="game"?r?.remove():(r||(r=document.createElement("style"),r.id=s,document.head.appendChild(r)),r.textContent=`[data-qxqy-font-ui], [data-qxqy-font-ui] * { font-family: ${c} !important; }`),c}var gx="/qxqy-font/settings";async function dh(t){let e=await fetch(gx,{credentials:"same-origin",mode:"same-origin",cache:"no-store",signal:AbortSignal.timeout(1e4),...t?{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(t)}:{}});if(e.status===404)throw new Error("\u5F53\u524D\u540E\u53F0\u5C1A\u672A\u52A0\u8F7D\u5B57\u4F53\u8BBE\u7F6E\u529F\u80FD\uFF0C\u8BF7\u91CD\u542F Web \u6216 Harness \u5BBF\u4E3B\u540E\u91CD\u8BD5\u3002");if(!e.ok)throw new Error(await e.text()||o("\u65E0\u6CD5\u8BFB\u53D6\u5B57\u4F53\u8BBE\u7F6E"));return e.json()}function ph(t){let e=t.createElement;return function({onClose:l}){let[i,n]=t.useState(null),[u,c]=t.useState("auto"),[s,r]=t.useState(""),[y,b]=t.useState("all"),[h,v]=t.useState(!1),[T,C]=t.useState(""),[M,f]=t.useState(""),[d,g]=t.useState(0);t.useEffect(()=>{let O=!0;return C(""),dh().then(A=>{O&&(n(A),c(A.mode),b(A.scope||"all"),r(A.environmentPath||A.path||A.active.path||A.defaultPaths[0]||""))},A=>{O&&C(A.message)}),()=>{O=!1}},[d]);async function S(O){O.preventDefault(),v(!0),C(""),f("");try{let A=await dh(q?{scope:y}:{mode:u,path:s,scope:y});n(A);let k=!q&&u==="auto"?A.nextFont.path?o`找到字体:${A.nextFont.path}。`:o("\u9ED8\u8BA4\u4F4D\u7F6E\u672A\u627E\u5230\u5B57\u4F53\uFF0C\u5C06\u4F7F\u7528\u7CFB\u7EDF\u5B57\u4F53\u3002"):"";f(o`已保存。${k}重启 Web、MCP 或 Harness 宿主后,刷新编辑器及试玩页生效。`)}catch(A){C(A.message)}finally{v(!1)}}let q=!!i?.environmentPath;return e("div",{className:"qxsim-save-overlay",onKeyDown:O=>{O.key==="Escape"&&(O.stopPropagation(),h||l())}},e("form",{className:"qxsim-save-dialog qxsim-font-dialog",role:"dialog","aria-modal":!0,"aria-label":o("\u5B57\u4F53\u8BBE\u7F6E"),onSubmit:S,style:{width:"min(680px, 94%)",maxHeight:"90%",overflow:"auto"}},e("h2",null,o("\u5B57\u4F53\u8BBE\u7F6E")),e("p",null,o("\u81EA\u5B9A\u4E49\u5B57\u4F53\u53EF\u7528\u4E8E\u6E38\u620F\u5185\u6587\u672C\u6216\u6574\u4F53 UI\u3002\u8BBE\u7F6E\u4EC5\u4FDD\u5B58\u5728\u672C\u673A\uFF0C\u91CD\u542F\u5BBF\u4E3B\u540E\u751F\u6548\u3002")),i?e(t.Fragment,null,e("p",{style:{overflowWrap:"anywhere"}},o`当前字体:${i.active.path||o("\u7CFB\u7EDF\u5B57\u4F53")}`),q?e("p",{role:"status"},o("\u5B57\u4F53\u6587\u4EF6\u7531\u73AF\u5883\u53D8\u91CF QXQY_FONT_PATH \u6307\u5B9A\uFF0C\u4ECD\u53EF\u8C03\u6574\u5E94\u7528\u8303\u56F4\u3002")):null,i.error?e("p",{role:"alert"},o(i.error)):null,e("label",{className:"qxsim-field"},o("\u5B57\u4F53\u6765\u6E90"),e("select",{autoFocus:!0,"aria-label":o("\u5B57\u4F53\u6765\u6E90"),value:u,disabled:h||q,onChange:O=>{c(O.target.value),f("")}},e("option",{value:"auto"},o("\u81EA\u52A8\u5C1D\u8BD5\u539F\u795E\u7684\u9ED8\u8BA4\u5B89\u88C5\u4F4D\u7F6E")),e("option",{value:"custom"},o("\u6307\u5B9A\u672C\u673A\u5B57\u4F53\u6587\u4EF6")),e("option",{value:"system"},o("\u4F7F\u7528\u7CFB\u7EDF\u5B57\u4F53")))),u==="custom"||q?e("label",{className:"qxsim-field"},o("\u5B57\u4F53\u6587\u4EF6\u8DEF\u5F84"),e("input",{type:"text","aria-label":o("\u5B57\u4F53\u6587\u4EF6\u8DEF\u5F84"),value:s,required:u==="custom",disabled:h||q,spellCheck:!1,placeholder:i.defaultPaths[0]||"/path/to/font.ttf",onChange:O=>{r(O.target.value),f("")}}),e("small",null,o("\u586B\u5199 TTF / OTF \u7684\u7EDD\u5BF9\u8DEF\u5F84\uFF0C\u6700\u5927 32 MiB\uFF1B\u53EF\u4EE5\u76F4\u63A5\u7C98\u8D34\u5E26\u5F15\u53F7\u7684 Windows \u8DEF\u5F84\u3002"))):null,u==="auto"&&!q?e("div",null,e("p",null,o("\u6309\u987A\u5E8F\u5C1D\u8BD5\u4EE5\u4E0B\u4F4D\u7F6E\uFF1B\u90FD\u672A\u627E\u5230\u65F6\u4F7F\u7528\u7CFB\u7EDF\u5B57\u4F53\u3002\u5B89\u88C5\u5728\u5176\u4ED6\u76D8\u7B26\u65F6\u8BF7\u9009\u62E9\u201C\u6307\u5B9A\u672C\u673A\u5B57\u4F53\u6587\u4EF6\u201D\u3002")),i.defaultPaths.length?e("ul",{style:{paddingLeft:20,overflowWrap:"anywhere"}},i.defaultPaths.map(O=>e("li",{key:O},O))):e("p",null,o("\u5F53\u524D\u7CFB\u7EDF\u4E0D\u81EA\u52A8\u67E5\u627E\uFF0C\u8BF7\u6307\u5B9A\u5B57\u4F53\u6587\u4EF6\u3002"))):null,e("label",{className:"qxsim-field"},o("\u5E94\u7528\u8303\u56F4"),e("select",{"aria-label":o("\u5E94\u7528\u8303\u56F4"),value:y,disabled:h,onChange:O=>{b(O.target.value),f("")}},e("option",{value:"game"},o("\u4EC5\u6E38\u620F\u5185\u6587\u672C")),e("option",{value:"all"},o("\u6574\u4F53 UI"))),e("small",null,o("\u4EC5\u6E38\u620F\u5185\u6587\u672C\uFF1A\u7528\u4E8E\u753B\u5E03\u3001\u8BD5\u73A9\u548C\u622A\u56FE\uFF1B\u6574\u4F53 UI\uFF1A\u540C\u65F6\u66FF\u6362\u5DE5\u5177\u680F\u3001\u9762\u677F\u3001\u4EE3\u7801\u548C\u65E5\u5FD7\u5B57\u4F53\u3002"))),i.restartRequired&&!M?e("p",{role:"status"},o("\u6709\u5DF2\u4FDD\u5B58\u7684\u5B57\u4F53\u8BBE\u7F6E\uFF0C\u91CD\u542F\u5BBF\u4E3B\u5E76\u5237\u65B0\u9875\u9762\u540E\u751F\u6548\u3002")):null):T?null:e("p",null,o("\u6B63\u5728\u8BFB\u53D6\u8BBE\u7F6E\u2026")),T?e("p",{role:"alert"},o(T)):null,T&&!i?e("button",{type:"button",className:"qxsim-action",onClick:()=>g(O=>O+1)},o("\u91CD\u8BD5")):null,M?e("p",{role:"status",style:{overflowWrap:"anywhere"}},M):null,e("footer",null,e("button",{type:"button",className:"qxsim-action",disabled:h,onClick:l},o("\u5173\u95ED")),e("button",{type:"submit",className:"qxsim-action primary",disabled:h||!i},h?o("\u4FDD\u5B58\u4E2D\u2026"):o("\u4FDD\u5B58\u8BBE\u7F6E")))))}}var Cr="https://github.com/1475505/miliastra-beyond-simulator";function mh(t){let e=t.createElement,a=_i(t);function l({title:i,children:n,onClose:u}){let c=t.useRef(null);return t.useEffect(()=>{let s=document.activeElement;return c.current.showModal(),()=>{c.current?.close(),s?.focus?.()}},[]),e("dialog",{ref:c,className:"qxsim-modal","aria-label":i,onCancel:s=>{s.preventDefault(),u()}},e("h2",null,i),n,e("footer",null,e("button",{className:"qxsim-action",onClick:u},o("\u5173\u95ED"))))}return function({request:n,version:u}){a();let[c,s]=t.useState(""),[r,y]=t.useState(!1),[b,h]=t.useState(null),[v,T]=t.useState("");async function C(){s("updates"),y(!0),T(""),h(null);try{h(await n("updates"))}catch(f){T(/^unknown (?:editor )?action\b/i.test(f?.message||"")?"\u5F53\u524D\u540E\u53F0\u5C1A\u672A\u52A0\u8F7D\u68C0\u67E5\u66F4\u65B0\u529F\u80FD\uFF0C\u8BF7\u91CD\u542F Web \u6216 Harness \u5BBF\u4E3B\u540E\u91CD\u8BD5\u3002":"\u68C0\u67E5\u66F4\u65B0\u5931\u8D25\uFF0C\u8BF7\u68C0\u67E5\u7F51\u7EDC\u8FDE\u63A5\u540E\u91CD\u8BD5\u3002")}finally{y(!1)}}let M={available:o("\u53D1\u73B0\u65B0\u7248\u672C"),current:o("\u5F53\u524D\u5DF2\u662F\u6700\u65B0\u7248\u672C"),ahead:o("\u5F53\u524D\u7248\u672C\u6BD4\u516C\u5F00\u7248\u672C\u66F4\u65B0"),unavailable:o("\u6682\u672A\u627E\u5230\u6B64\u5B89\u88C5\u5305\u7684\u6B63\u5F0F\u7248\u672C")};return e(t.Fragment,null,e("footer",{className:"qxsim-footer"},u?e("span",{className:"qxsim-muted"},`v${u}`):null,e("span",{className:"spacer"}),e("button",{onClick:C,disabled:r},r?o("\u6B63\u5728\u68C0\u67E5\u66F4\u65B0\u2026"):o("\u68C0\u67E5\u66F4\u65B0")),e("a",{href:"https://space.bilibili.com/23358791",target:"_blank",rel:"noreferrer"},o("\u4F5C\u8005B\u7AD9")),e("button",{onClick:()=>s("contact")},o("\u8054\u7CFB\u4F5C\u8005"))),c==="contact"?e(l,{title:o("\u8054\u7CFB\u4F5C\u8005"),onClose:()=>s("")},e("div",null,e("p",null,o("QQ\u7FA4\u53F71007538100")),e("p",null,o("\u4F5C\u8005\u90AE\u7BB1 "),e("a",{href:"mailto:725230880@qq.com"},"725230880@qq.com")),e("p",null,o("\u5F00\u6E90\u4ED3\u5E93 "),e("a",{href:Cr,target:"_blank",rel:"noreferrer"},Cr)))):null,c==="updates"?e(l,{title:o("\u68C0\u67E5\u66F4\u65B0"),onClose:()=>s("")},e("div",{role:"status"},r?e("p",null,o("\u6B63\u5728\u68C0\u67E5\u66F4\u65B0\u2026")):null,v?e("p",{role:"alert"},o(v)):null,!r&&!v&&b?e(t.Fragment,null,e("p",null,o(M[b.status])),e("p",null,o`当前版本:${b.currentVersion}`),b.latestVersion?e("p",null,o`公开版本:${b.latestVersion}`):null,e("p",null,o("\u66F4\u65B0\u540E\u8BF7\u91CD\u542F\u5BBF\u4E3B\u5E76\u5237\u65B0\u7F16\u8F91\u5668\u4E0E\u8BD5\u73A9\u9875\u3002")),e("a",{href:b.url,target:"_blank",rel:"noreferrer"},o("\u67E5\u770B\u66F4\u65B0\u8BF4\u660E")),b.status==="available"&&b.downloadUrl?e("p",null,e("a",{href:b.downloadUrl,target:"_blank",rel:"noreferrer"},o("\u4E0B\u8F7D\u66F4\u65B0\u5305"))):null):null,v?e(t.Fragment,null,e("button",{className:"qxsim-action",onClick:C,disabled:r},o("\u91CD\u8BD5")),e("p",null,e("a",{href:Cr+"/releases",target:"_blank",rel:"noreferrer"},o("\u67E5\u770B\u66F4\u65B0\u8BF4\u660E")))):null)):null)}}function hh(t,{api:e,playUrl:a,saveToWorkspace:l=!1,version:i=""}){let n=t.createElement,u=L0(t),c=k0(t),s=H0(t),r=W0(t),y=oh(t),b=rh(t),h=P0(t),v=eh(t),T=ph(t),C=mh(t),M=_i(t),f="qxqy-simulator-style",d=`
8
+ `+a.stack}}function wt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function N1(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function vp(e){var t=N1(e)?"checked":"value",a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),i=""+e[t];if(!e.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var l=a.get,n=a.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(o){i=""+o,n.call(this,o)}}),Object.defineProperty(e,t,{enumerable:a.enumerable}),{getValue:function(){return i},setValue:function(o){i=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function To(e){e._valueTracker||(e._valueTracker=vp(e))}function C1(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var a=t.getValue(),i="";return e&&(i=N1(e)?e.checked?"true":"false":e.value),e=i,e!==a?(t.setValue(e),!0):!1}function Mo(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}}var yp=/[\n"\\]/g;function qt(e){return e.replace(yp,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function K0(e,t,a,i,l,n,o,s){e.name="",o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"?e.type=o:e.removeAttribute("type"),t!=null?o==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+wt(t)):e.value!==""+wt(t)&&(e.value=""+wt(t)):o!=="submit"&&o!=="reset"||e.removeAttribute("value"),t!=null?I0(e,o,wt(t)):a!=null?I0(e,o,wt(a)):i!=null&&e.removeAttribute("value"),l==null&&n!=null&&(e.defaultChecked=!!n),l!=null&&(e.checked=l&&typeof l!="function"&&typeof l!="symbol"),s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"?e.name=""+wt(s):e.removeAttribute("name")}function T1(e,t,a,i,l,n,o,s){if(n!=null&&typeof n!="function"&&typeof n!="symbol"&&typeof n!="boolean"&&(e.type=n),t!=null||a!=null){if(!(n!=="submit"&&n!=="reset"||t!=null))return;a=a!=null?""+wt(a):"",t=t!=null?""+wt(t):a,s||t===e.value||(e.value=t),e.defaultValue=t}i=i??l,i=typeof i!="function"&&typeof i!="symbol"&&!!i,e.checked=s?e.checked:!!i,e.defaultChecked=!!i,o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"&&(e.name=o)}function I0(e,t,a){t==="number"&&Mo(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function Gi(e,t,a,i){if(e=e.options,t){t={};for(var l=0;l<a.length;l++)t["$"+a[l]]=!0;for(a=0;a<e.length;a++)l=t.hasOwnProperty("$"+e[a].value),e[a].selected!==l&&(e[a].selected=l),l&&i&&(e[a].defaultSelected=!0)}else{for(a=""+wt(a),t=null,l=0;l<e.length;l++){if(e[l].value===a){e[l].selected=!0,i&&(e[l].defaultSelected=!0);return}t!==null||e[l].disabled||(t=e[l])}t!==null&&(t.selected=!0)}}function M1(e,t,a){if(t!=null&&(t=""+wt(t),t!==e.value&&(e.value=t),a==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=a!=null?""+wt(a):""}function O1(e,t,a,i){if(t==null){if(i!=null){if(a!=null)throw Error(M(92));if(On(i)){if(1<i.length)throw Error(M(93));i=i[0]}a=i}a==null&&(a=""),t=a}a=wt(t),e.defaultValue=a,i=e.textContent,i===a&&i!==""&&i!==null&&(e.value=i)}function Ii(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=t;return}}e.textContent=t}var xp=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Jd(e,t,a){var i=t.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?i?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":i?e.setProperty(t,a):typeof a!="number"||a===0||xp.has(t)?t==="float"?e.cssFloat=a:e[t]=(""+a).trim():e[t]=a+"px"}function z1(e,t,a){if(t!=null&&typeof t!="object")throw Error(M(62));if(e=e.style,a!=null){for(var i in a)!a.hasOwnProperty(i)||t!=null&&t.hasOwnProperty(i)||(i.indexOf("--")===0?e.setProperty(i,""):i==="float"?e.cssFloat="":e[i]="");for(var l in t)i=t[l],t.hasOwnProperty(l)&&a[l]!==i&&Jd(e,l,i)}else for(var n in t)t.hasOwnProperty(n)&&Jd(e,n,t[n])}function Gs(e){if(e.indexOf("-")===-1)return!1;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 wp=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Sp=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function fo(e){return Sp.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var J0=null;function Ys(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Oi=null,Yi=null;function Fd(e){var t=on(e);if(t&&(e=t.stateNode)){var a=e[lt]||null;e:switch(e=t.stateNode,t.type){case"input":if(K0(e,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),t=a.name,a.type==="radio"&&t!=null){for(a=e;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll('input[name="'+qt(""+t)+'"][type="radio"]'),t=0;t<a.length;t++){var i=a[t];if(i!==e&&i.form===e.form){var l=i[lt]||null;if(!l)throw Error(M(90));K0(i,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name)}}for(t=0;t<a.length;t++)i=a[t],i.form===e.form&&C1(i)}break e;case"textarea":M1(e,a.value,a.defaultValue);break e;case"select":t=a.value,t!=null&&Gi(e,!!a.multiple,t,!1)}}}var b0=!1;function D1(e,t,a){if(b0)return e(t,a);b0=!0;try{var i=e(t);return i}finally{if(b0=!1,(Oi!==null||Yi!==null)&&(dc(),Oi&&(t=Oi,e=Yi,Yi=Oi=null,Fd(t),e)))for(t=0;t<e.length;t++)Fd(e[t])}}function Kn(e,t){var a=e.stateNode;if(a===null)return null;var i=a[lt]||null;if(i===null)return null;a=i[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(i=!i.disabled)||(e=e.type,i=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!i;break e;default:e=!1}if(e)return null;if(a&&typeof a!="function")throw Error(M(231,t,typeof a));return a}var oa=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),F0=!1;if(oa)try{wi={},Object.defineProperty(wi,"passive",{get:function(){F0=!0}}),window.addEventListener("test",wi,wi),window.removeEventListener("test",wi,wi)}catch{F0=!1}var wi,Ca=null,Xs=null,bo=null;function U1(){if(bo)return bo;var e,t=Xs,a=t.length,i,l="value"in Ca?Ca.value:Ca.textContent,n=l.length;for(e=0;e<a&&t[e]===l[e];e++);var o=a-e;for(i=1;i<=o&&t[a-i]===l[n-i];i++);return bo=l.slice(e,1<i?1-i:void 0)}function mo(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Fl(){return!0}function Wd(){return!1}function ot(e){function t(a,i,l,n,o){this._reactName=a,this._targetInst=l,this.type=i,this.nativeEvent=n,this.target=o,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(a=e[s],this[s]=a?a(n):n[s]);return this.isDefaultPrevented=(n.defaultPrevented!=null?n.defaultPrevented:n.returnValue===!1)?Fl:Wd,this.isPropagationStopped=Wd,this}return pe(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=Fl)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=Fl)},persist:function(){},isPersistent:Fl}),t}var ci={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},tc=ot(ci),fl=pe({},ci,{view:0,detail:0}),Ep=ot(fl),m0,p0,Sn,ac=pe({},fl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Vs,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Sn&&(Sn&&e.type==="mousemove"?(m0=e.screenX-Sn.screenX,p0=e.screenY-Sn.screenY):p0=m0=0,Sn=e),m0)},movementY:function(e){return"movementY"in e?e.movementY:p0}}),Pd=ot(ac),qp=pe({},ac,{dataTransfer:0}),Ap=ot(qp),Np=pe({},fl,{relatedTarget:0}),h0=ot(Np),Cp=pe({},ci,{animationName:0,elapsedTime:0,pseudoElement:0}),Tp=ot(Cp),Mp=pe({},ci,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Op=ot(Mp),zp=pe({},ci,{data:0}),er=ot(zp),Dp={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Up={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},_p={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function kp(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=_p[e])?!!t[e]:!1}function Vs(){return kp}var Lp=pe({},fl,{key:function(e){if(e.key){var t=Dp[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=mo(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Up[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Vs,charCode:function(e){return e.type==="keypress"?mo(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?mo(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Rp=ot(Lp),Bp=pe({},ac,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),tr=ot(Bp),Hp=pe({},fl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Vs}),Gp=ot(Hp),Yp=pe({},ci,{propertyName:0,elapsedTime:0,pseudoElement:0}),Xp=ot(Yp),Vp=pe({},ac,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),jp=ot(Vp),Qp=pe({},ci,{newState:0,oldState:0}),Zp=ot(Qp),$p=[9,13,27,32],js=oa&&"CompositionEvent"in window,Un=null;oa&&"documentMode"in document&&(Un=document.documentMode);var Kp=oa&&"TextEvent"in window&&!Un,_1=oa&&(!js||Un&&8<Un&&11>=Un),ar=" ",ir=!1;function k1(e,t){switch(e){case"keyup":return $p.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function L1(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var zi=!1;function Ip(e,t){switch(e){case"compositionend":return L1(t);case"keypress":return t.which!==32?null:(ir=!0,ar);case"textInput":return e=t.data,e===ar&&ir?null:e;default:return null}}function Jp(e,t){if(zi)return e==="compositionend"||!js&&k1(e,t)?(e=U1(),bo=Xs=Ca=null,zi=!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.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return _1&&t.locale!=="ko"?null:t.data;default:return null}}var Fp={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function nr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Fp[e.type]:t==="textarea"}function R1(e,t,a,i){Oi?Yi?Yi.push(i):Yi=[i]:Oi=i,t=$o(t,"onChange"),0<t.length&&(a=new tc("onChange","change",null,a,i),e.push({event:a,listeners:t}))}var _n=null,In=null;function Wp(e){Ob(e,0)}function ic(e){var t=zn(e);if(C1(t))return e}function lr(e,t){if(e==="change")return t}var B1=!1;oa&&(oa?(Pl="oninput"in document,Pl||(g0=document.createElement("div"),g0.setAttribute("oninput","return;"),Pl=typeof g0.oninput=="function"),Wl=Pl):Wl=!1,B1=Wl&&(!document.documentMode||9<document.documentMode));var Wl,Pl,g0;function or(){_n&&(_n.detachEvent("onpropertychange",H1),In=_n=null)}function H1(e){if(e.propertyName==="value"&&ic(In)){var t=[];R1(t,In,e,Ys(e)),D1(Wp,t)}}function Pp(e,t,a){e==="focusin"?(or(),_n=t,In=a,_n.attachEvent("onpropertychange",H1)):e==="focusout"&&or()}function eh(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return ic(In)}function th(e,t){if(e==="click")return ic(t)}function ah(e,t){if(e==="input"||e==="change")return ic(t)}function ih(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ht=typeof Object.is=="function"?Object.is:ih;function Jn(e,t){if(ht(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),i=Object.keys(t);if(a.length!==i.length)return!1;for(i=0;i<a.length;i++){var l=a[i];if(!Z0.call(t,l)||!ht(e[l],t[l]))return!1}return!0}function cr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function sr(e,t){var a=cr(e);e=0;for(var i;a;){if(a.nodeType===3){if(i=e+a.textContent.length,e<=t&&i>=t)return{node:a,offset:t-e};e=i}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=cr(a)}}function G1(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?G1(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Y1(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Mo(e.document);t instanceof e.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)e=t.contentWindow;else break;t=Mo(e.document)}return t}function Qs(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")}var nh=oa&&"documentMode"in document&&11>=document.documentMode,Di=null,W0=null,kn=null,P0=!1;function ur(e,t,a){var i=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;P0||Di==null||Di!==Mo(i)||(i=Di,"selectionStart"in i&&Qs(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),kn&&Jn(kn,i)||(kn=i,i=$o(W0,"onSelect"),0<i.length&&(t=new tc("onSelect","select",null,t,a),e.push({event:t,listeners:i}),t.target=Di)))}function Qa(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var Ui={animationend:Qa("Animation","AnimationEnd"),animationiteration:Qa("Animation","AnimationIteration"),animationstart:Qa("Animation","AnimationStart"),transitionrun:Qa("Transition","TransitionRun"),transitionstart:Qa("Transition","TransitionStart"),transitioncancel:Qa("Transition","TransitionCancel"),transitionend:Qa("Transition","TransitionEnd")},v0={},X1={};oa&&(X1=document.createElement("div").style,"AnimationEvent"in window||(delete Ui.animationend.animation,delete Ui.animationiteration.animation,delete Ui.animationstart.animation),"TransitionEvent"in window||delete Ui.transitionend.transition);function si(e){if(v0[e])return v0[e];if(!Ui[e])return e;var t=Ui[e],a;for(a in t)if(t.hasOwnProperty(a)&&a in X1)return v0[e]=t[a];return e}var V1=si("animationend"),j1=si("animationiteration"),Q1=si("animationstart"),lh=si("transitionrun"),oh=si("transitionstart"),ch=si("transitioncancel"),Z1=si("transitionend"),$1=new Map,es="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");es.push("scrollEnd");function Dt(e,t){$1.set(e,t),oi(t,[e])}var dr=new WeakMap;function At(e,t){if(typeof e=="object"&&e!==null){var a=dr.get(e);return a!==void 0?a:(t={value:e,source:t,stack:Id(t)},dr.set(e,t),t)}return{value:e,source:t,stack:Id(t)}}var xt=[],_i=0,Zs=0;function nc(){for(var e=_i,t=Zs=_i=0;t<e;){var a=xt[t];xt[t++]=null;var i=xt[t];xt[t++]=null;var l=xt[t];xt[t++]=null;var n=xt[t];if(xt[t++]=null,i!==null&&l!==null){var o=i.pending;o===null?l.next=l:(l.next=o.next,o.next=l),i.pending=l}n!==0&&K1(a,l,n)}}function lc(e,t,a,i){xt[_i++]=e,xt[_i++]=t,xt[_i++]=a,xt[_i++]=i,Zs|=i,e.lanes|=i,e=e.alternate,e!==null&&(e.lanes|=i)}function $s(e,t,a,i){return lc(e,t,a,i),Oo(e)}function cn(e,t){return lc(e,null,null,t),Oo(e)}function K1(e,t,a){e.lanes|=a;var i=e.alternate;i!==null&&(i.lanes|=a);for(var l=!1,n=e.return;n!==null;)n.childLanes|=a,i=n.alternate,i!==null&&(i.childLanes|=a),n.tag===22&&(e=n.stateNode,e===null||e._visibility&1||(l=!0)),e=n,n=n.return;return e.tag===3?(n=e.stateNode,l&&t!==null&&(l=31-bt(a),e=n.hiddenUpdates,i=e[l],i===null?e[l]=[t]:i.push(t),t.lane=a|536870912),n):null}function Oo(e){if(50<Qn)throw Qn=0,ws=null,Error(M(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var ki={};function sh(e,t,a,i){this.tag=e,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function rt(e,t,a,i){return new sh(e,t,a,i)}function Ks(e){return e=e.prototype,!(!e||!e.isReactComponent)}function na(e,t){var a=e.alternate;return a===null?(a=rt(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=e.flags&65011712,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,t=e.dependencies,a.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a}function I1(e,t){e.flags&=65011714;var a=e.alternate;return a===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type,t=a.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function po(e,t,a,i,l,n){var o=0;if(i=e,typeof e=="function")Ks(e)&&(o=1);else if(typeof e=="string")o=s6(e,a,Ht.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case X0:return e=rt(31,a,t,l),e.elementType=X0,e.lanes=n,e;case Ci:return Ja(a.children,l,n,t);case m1:o=8,l|=24;break;case H0:return e=rt(12,a,t,l|2),e.elementType=H0,e.lanes=n,e;case G0:return e=rt(13,a,t,l),e.elementType=G0,e.lanes=n,e;case Y0:return e=rt(19,a,t,l),e.elementType=Y0,e.lanes=n,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Wm:case Pt:o=10;break e;case p1:o=9;break e;case _s:o=11;break e;case ks:o=14;break e;case xa:o=16,i=null;break e}o=29,a=Error(M(130,e===null?"null":typeof e,"")),i=null}return t=rt(o,a,t,l),t.elementType=e,t.type=i,t.lanes=n,t}function Ja(e,t,a,i){return e=rt(7,e,i,t),e.lanes=a,e}function y0(e,t,a){return e=rt(6,e,null,t),e.lanes=a,e}function x0(e,t,a){return t=rt(4,e.children!==null?e.children:[],e.key,t),t.lanes=a,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Li=[],Ri=0,zo=null,Do=0,St=[],Et=0,Fa=null,ea=1,ta="";function $a(e,t){Li[Ri++]=Do,Li[Ri++]=zo,zo=e,Do=t}function J1(e,t,a){St[Et++]=ea,St[Et++]=ta,St[Et++]=Fa,Fa=e;var i=ea;e=ta;var l=32-bt(i)-1;i&=~(1<<l),a+=1;var n=32-bt(t)+l;if(30<n){var o=l-l%5;n=(i&(1<<o)-1).toString(32),i>>=o,l-=o,ea=1<<32-bt(t)+l|a<<l|i,ta=n+e}else ea=1<<n|a<<l|i,ta=e}function Is(e){e.return!==null&&($a(e,1),J1(e,1,0))}function Js(e){for(;e===zo;)zo=Li[--Ri],Li[Ri]=null,Do=Li[--Ri],Li[Ri]=null;for(;e===Fa;)Fa=St[--Et],St[Et]=null,ta=St[--Et],St[Et]=null,ea=St[--Et],St[Et]=null}var tt=null,Ee=null,ae=!1,Wa=null,Rt=!1,ts=Error(M(519));function ai(e){var t=Error(M(418,""));throw Fn(At(t,e)),ts}function rr(e){var t=e.stateNode,a=e.type,i=e.memoizedProps;switch(t[Ie]=e,t[lt]=i,a){case"dialog":W("cancel",t),W("close",t);break;case"iframe":case"object":case"embed":W("load",t);break;case"video":case"audio":for(a=0;a<el.length;a++)W(el[a],t);break;case"source":W("error",t);break;case"img":case"image":case"link":W("error",t),W("load",t);break;case"details":W("toggle",t);break;case"input":W("invalid",t),T1(t,i.value,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name,!0),To(t);break;case"select":W("invalid",t);break;case"textarea":W("invalid",t),O1(t,i.value,i.defaultValue,i.children),To(t)}a=i.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||t.textContent===""+a||i.suppressHydrationWarning===!0||Db(t.textContent,a)?(i.popover!=null&&(W("beforetoggle",t),W("toggle",t)),i.onScroll!=null&&W("scroll",t),i.onScrollEnd!=null&&W("scrollend",t),i.onClick!=null&&(t.onclick=bc),t=!0):t=!1,t||ai(e)}function fr(e){for(tt=e.return;tt;)switch(tt.tag){case 5:case 13:Rt=!1;return;case 27:case 3:Rt=!0;return;default:tt=tt.return}}function En(e){if(e!==tt)return!1;if(!ae)return fr(e),ae=!0,!1;var t=e.tag,a;if((a=t!==3&&t!==27)&&((a=t===5)&&(a=e.type,a=!(a!=="form"&&a!=="button")||Cs(e.type,e.memoizedProps)),a=!a),a&&Ee&&ai(e),fr(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(M(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8)if(a=e.data,a==="/$"){if(t===0){Ee=zt(e.nextSibling);break e}t--}else a!=="$"&&a!=="$!"&&a!=="$?"||t++;e=e.nextSibling}Ee=null}}else t===27?(t=Ee,Xa(e.type)?(e=Os,Os=null,Ee=e):Ee=t):Ee=tt?zt(e.stateNode.nextSibling):null;return!0}function bl(){Ee=tt=null,ae=!1}function br(){var e=Wa;return e!==null&&(nt===null?nt=e:nt.push.apply(nt,e),Wa=null),e}function Fn(e){Wa===null?Wa=[e]:Wa.push(e)}var as=Xt(null),ui=null,aa=null;function Sa(e,t,a){ye(as,t._currentValue),t._currentValue=a}function la(e){e._currentValue=as.current,Ye(as)}function is(e,t,a){for(;e!==null;){var i=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,i!==null&&(i.childLanes|=t)):i!==null&&(i.childLanes&t)!==t&&(i.childLanes|=t),e===a)break;e=e.return}}function ns(e,t,a,i){var l=e.child;for(l!==null&&(l.return=e);l!==null;){var n=l.dependencies;if(n!==null){var o=l.child;n=n.firstContext;e:for(;n!==null;){var s=n;n=l;for(var u=0;u<t.length;u++)if(s.context===t[u]){n.lanes|=a,s=n.alternate,s!==null&&(s.lanes|=a),is(n.return,a,e),i||(o=null);break e}n=s.next}}else if(l.tag===18){if(o=l.return,o===null)throw Error(M(341));o.lanes|=a,n=o.alternate,n!==null&&(n.lanes|=a),is(o,a,e),o=null}else o=l.child;if(o!==null)o.return=l;else for(o=l;o!==null;){if(o===e){o=null;break}if(l=o.sibling,l!==null){l.return=o.return,o=l;break}o=o.return}l=o}}function ml(e,t,a,i){e=null;for(var l=t,n=!1;l!==null;){if(!n){if((l.flags&524288)!==0)n=!0;else if((l.flags&262144)!==0)break}if(l.tag===10){var o=l.alternate;if(o===null)throw Error(M(387));if(o=o.memoizedProps,o!==null){var s=l.type;ht(l.pendingProps.value,o.value)||(e!==null?e.push(s):e=[s])}}else if(l===qo.current){if(o=l.alternate,o===null)throw Error(M(387));o.memoizedState.memoizedState!==l.memoizedState.memoizedState&&(e!==null?e.push(il):e=[il])}l=l.return}e!==null&&ns(t,e,a,i),t.flags|=262144}function Uo(e){for(e=e.firstContext;e!==null;){if(!ht(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ii(e){ui=e,aa=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Je(e){return F1(ui,e)}function eo(e,t){return ui===null&&ii(e),F1(e,t)}function F1(e,t){var a=t._currentValue;if(t={context:t,memoizedValue:a,next:null},aa===null){if(e===null)throw Error(M(308));aa=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else aa=aa.next=t;return a}var uh=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(a,i){e.push(i)}};this.abort=function(){t.aborted=!0,e.forEach(function(a){return a()})}},dh=Le.unstable_scheduleCallback,rh=Le.unstable_NormalPriority,_e={$$typeof:Pt,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Fs(){return{controller:new uh,data:new Map,refCount:0}}function pl(e){e.refCount--,e.refCount===0&&dh(rh,function(){e.controller.abort()})}var Ln=null,ls=0,Ji=0,Xi=null;function fh(e,t){if(Ln===null){var a=Ln=[];ls=0,Ji=xu(),Xi={status:"pending",value:void 0,then:function(i){a.push(i)}}}return ls++,t.then(mr,mr),t}function mr(){if(--ls===0&&Ln!==null){Xi!==null&&(Xi.status="fulfilled");var e=Ln;Ln=null,Ji=0,Xi=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function bh(e,t){var a=[],i={status:"pending",value:null,reason:null,then:function(l){a.push(l)}};return e.then(function(){i.status="fulfilled",i.value=t;for(var l=0;l<a.length;l++)(0,a[l])(t)},function(l){for(i.status="rejected",i.reason=l,l=0;l<a.length;l++)(0,a[l])(void 0)}),i}var pr=j.S;j.S=function(e,t){typeof t=="object"&&t!==null&&typeof t.then=="function"&&fh(e,t),pr!==null&&pr(e,t)};var Pa=Xt(null);function Ws(){var e=Pa.current;return e!==null?e:me.pooledCache}function ho(e,t){t===null?ye(Pa,Pa.current):ye(Pa,t.pool)}function W1(){var e=Ws();return e===null?null:{parent:_e._currentValue,pool:e}}var hl=Error(M(460)),P1=Error(M(474)),oc=Error(M(542)),os={then:function(){}};function hr(e){return e=e.status,e==="fulfilled"||e==="rejected"}function to(){}function ef(e,t,a){switch(a=e[a],a===void 0?e.push(t):a!==t&&(t.then(to,to),t=a),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,vr(e),e;default:if(typeof t.status=="string")t.then(to,to);else{if(e=me,e!==null&&100<e.shellSuspendCounter)throw Error(M(482));e=t,e.status="pending",e.then(function(i){if(t.status==="pending"){var l=t;l.status="fulfilled",l.value=i}},function(i){if(t.status==="pending"){var l=t;l.status="rejected",l.reason=i}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,vr(e),e}throw Rn=t,hl}}var Rn=null;function gr(){if(Rn===null)throw Error(M(459));var e=Rn;return Rn=null,e}function vr(e){if(e===hl||e===oc)throw Error(M(483))}var wa=!1;function Ps(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function cs(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function za(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Da(e,t,a){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,(oe&2)!==0){var l=i.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),i.pending=t,t=Oo(e),K1(e,null,a),t}return lc(e,i,t,a),Oo(e)}function Bn(e,t,a){if(t=t.updateQueue,t!==null&&(t=t.shared,(a&4194048)!==0)){var i=t.lanes;i&=e.pendingLanes,a|=i,t.lanes=a,S1(e,a)}}function w0(e,t){var a=e.updateQueue,i=e.alternate;if(i!==null&&(i=i.updateQueue,a===i)){var l=null,n=null;if(a=a.firstBaseUpdate,a!==null){do{var o={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};n===null?l=n=o:n=n.next=o,a=a.next}while(a!==null);n===null?l=n=t:n=n.next=t}else l=n=t;a={baseState:i.baseState,firstBaseUpdate:l,lastBaseUpdate:n,shared:i.shared,callbacks:i.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=t:e.next=t,a.lastBaseUpdate=t}var ss=!1;function Hn(){if(ss){var e=Xi;if(e!==null)throw e}}function Gn(e,t,a,i){ss=!1;var l=e.updateQueue;wa=!1;var n=l.firstBaseUpdate,o=l.lastBaseUpdate,s=l.shared.pending;if(s!==null){l.shared.pending=null;var u=s,d=u.next;u.next=null,o===null?n=d:o.next=d,o=u;var v=e.alternate;v!==null&&(v=v.updateQueue,s=v.lastBaseUpdate,s!==o&&(s===null?v.firstBaseUpdate=d:s.next=d,v.lastBaseUpdate=u))}if(n!==null){var x=l.baseState;o=0,v=d=u=null,s=n;do{var p=s.lane&-536870913,h=p!==s.lane;if(h?(te&p)===p:(i&p)===p){p!==0&&p===Ji&&(ss=!0),v!==null&&(v=v.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});e:{var E=e,C=s;p=t;var N=a;switch(C.tag){case 1:if(E=C.payload,typeof E=="function"){x=E.call(N,x,p);break e}x=E;break e;case 3:E.flags=E.flags&-65537|128;case 0:if(E=C.payload,p=typeof E=="function"?E.call(N,x,p):E,p==null)break e;x=pe({},x,p);break e;case 2:wa=!0}}p=s.callback,p!==null&&(e.flags|=64,h&&(e.flags|=8192),h=l.callbacks,h===null?l.callbacks=[p]:h.push(p))}else h={lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},v===null?(d=v=h,u=x):v=v.next=h,o|=p;if(s=s.next,s===null){if(s=l.shared.pending,s===null)break;h=s,s=h.next,h.next=null,l.lastBaseUpdate=h,l.shared.pending=null}}while(!0);v===null&&(u=x),l.baseState=u,l.firstBaseUpdate=d,l.lastBaseUpdate=v,n===null&&(l.shared.lanes=0),Ga|=o,e.lanes=o,e.memoizedState=x}}function tf(e,t){if(typeof e!="function")throw Error(M(191,e));e.call(t)}function af(e,t){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)tf(a[e],t)}var Fi=Xt(null),_o=Xt(0);function yr(e,t){e=ua,ye(_o,e),ye(Fi,t),ua=e|t.baseLanes}function us(){ye(_o,ua),ye(Fi,Fi.current)}function eu(){ua=_o.current,Ye(Fi),Ye(_o)}var Ba=0,I=null,ue=null,De=null,ko=!1,Vi=!1,ni=!1,Lo=0,Wn=0,ji=null,mh=0;function Te(){throw Error(M(321))}function tu(e,t){if(t===null)return!1;for(var a=0;a<t.length&&a<e.length;a++)if(!ht(e[a],t[a]))return!1;return!0}function au(e,t,a,i,l,n){return Ba=n,I=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,j.H=e===null||e.memoizedState===null?_f:kf,ni=!1,n=a(i,l),ni=!1,Vi&&(n=lf(t,a,i,l)),nf(e),n}function nf(e){j.H=Ro;var t=ue!==null&&ue.next!==null;if(Ba=0,De=ue=I=null,ko=!1,Wn=0,ji=null,t)throw Error(M(300));e===null||Ge||(e=e.dependencies,e!==null&&Uo(e)&&(Ge=!0))}function lf(e,t,a,i){I=e;var l=0;do{if(Vi&&(ji=null),Wn=0,Vi=!1,25<=l)throw Error(M(301));if(l+=1,De=ue=null,e.updateQueue!=null){var n=e.updateQueue;n.lastEffect=null,n.events=null,n.stores=null,n.memoCache!=null&&(n.memoCache.index=0)}j.H=wh,n=t(a,i)}while(Vi);return n}function ph(){var e=j.H,t=e.useState()[0];return t=typeof t.then=="function"?gl(t):t,e=e.useState()[0],(ue!==null?ue.memoizedState:null)!==e&&(I.flags|=1024),t}function iu(){var e=Lo!==0;return Lo=0,e}function nu(e,t,a){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a}function lu(e){if(ko){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}ko=!1}Ba=0,De=ue=I=null,Vi=!1,Wn=Lo=0,ji=null}function at(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return De===null?I.memoizedState=De=e:De=De.next=e,De}function Ue(){if(ue===null){var e=I.alternate;e=e!==null?e.memoizedState:null}else e=ue.next;var t=De===null?I.memoizedState:De.next;if(t!==null)De=t,ue=e;else{if(e===null)throw I.alternate===null?Error(M(467)):Error(M(310));ue=e,e={memoizedState:ue.memoizedState,baseState:ue.baseState,baseQueue:ue.baseQueue,queue:ue.queue,next:null},De===null?I.memoizedState=De=e:De=De.next=e}return De}function ou(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function gl(e){var t=Wn;return Wn+=1,ji===null&&(ji=[]),e=ef(ji,e,t),t=I,(De===null?t.memoizedState:De.next)===null&&(t=t.alternate,j.H=t===null||t.memoizedState===null?_f:kf),e}function cc(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return gl(e);if(e.$$typeof===Pt)return Je(e)}throw Error(M(438,String(e)))}function cu(e){var t=null,a=I.updateQueue;if(a!==null&&(t=a.memoCache),t==null){var i=I.alternate;i!==null&&(i=i.updateQueue,i!==null&&(i=i.memoCache,i!=null&&(t={data:i.data.map(function(l){return l.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),a===null&&(a=ou(),I.updateQueue=a),a.memoCache=t,a=t.data[t.index],a===void 0)for(a=t.data[t.index]=Array(e),i=0;i<e;i++)a[i]=Pm;return t.index++,a}function ca(e,t){return typeof t=="function"?t(e):t}function go(e){var t=Ue();return su(t,ue,e)}function su(e,t,a){var i=e.queue;if(i===null)throw Error(M(311));i.lastRenderedReducer=a;var l=e.baseQueue,n=i.pending;if(n!==null){if(l!==null){var o=l.next;l.next=n.next,n.next=o}t.baseQueue=l=n,i.pending=null}if(n=e.baseState,l===null)e.memoizedState=n;else{t=l.next;var s=o=null,u=null,d=t,v=!1;do{var x=d.lane&-536870913;if(x!==d.lane?(te&x)===x:(Ba&x)===x){var p=d.revertLane;if(p===0)u!==null&&(u=u.next={lane:0,revertLane:0,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null}),x===Ji&&(v=!0);else if((Ba&p)===p){d=d.next,p===Ji&&(v=!0);continue}else x={lane:0,revertLane:d.revertLane,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null},u===null?(s=u=x,o=n):u=u.next=x,I.lanes|=p,Ga|=p;x=d.action,ni&&a(n,x),n=d.hasEagerState?d.eagerState:a(n,x)}else p={lane:x,revertLane:d.revertLane,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null},u===null?(s=u=p,o=n):u=u.next=p,I.lanes|=x,Ga|=x;d=d.next}while(d!==null&&d!==t);if(u===null?o=n:u.next=s,!ht(n,e.memoizedState)&&(Ge=!0,v&&(a=Xi,a!==null)))throw a;e.memoizedState=n,e.baseState=o,e.baseQueue=u,i.lastRenderedState=n}return l===null&&(i.lanes=0),[e.memoizedState,i.dispatch]}function S0(e){var t=Ue(),a=t.queue;if(a===null)throw Error(M(311));a.lastRenderedReducer=e;var i=a.dispatch,l=a.pending,n=t.memoizedState;if(l!==null){a.pending=null;var o=l=l.next;do n=e(n,o.action),o=o.next;while(o!==l);ht(n,t.memoizedState)||(Ge=!0),t.memoizedState=n,t.baseQueue===null&&(t.baseState=n),a.lastRenderedState=n}return[n,i]}function of(e,t,a){var i=I,l=Ue(),n=ae;if(n){if(a===void 0)throw Error(M(407));a=a()}else a=t();var o=!ht((ue||l).memoizedState,a);o&&(l.memoizedState=a,Ge=!0),l=l.queue;var s=uf.bind(null,i,l,e);if(vl(2048,8,s,[e]),l.getSnapshot!==t||o||De!==null&&De.memoizedState.tag&1){if(i.flags|=2048,Wi(9,sc(),sf.bind(null,i,l,a,t),null),me===null)throw Error(M(349));n||(Ba&124)!==0||cf(i,t,a)}return a}function cf(e,t,a){e.flags|=16384,e={getSnapshot:t,value:a},t=I.updateQueue,t===null?(t=ou(),I.updateQueue=t,t.stores=[e]):(a=t.stores,a===null?t.stores=[e]:a.push(e))}function sf(e,t,a,i){t.value=a,t.getSnapshot=i,df(t)&&rf(e)}function uf(e,t,a){return a(function(){df(t)&&rf(e)})}function df(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!ht(e,a)}catch{return!0}}function rf(e){var t=cn(e,2);t!==null&&pt(t,e,2)}function ds(e){var t=at();if(typeof e=="function"){var a=e;if(e=a(),ni){Na(!0);try{a()}finally{Na(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ca,lastRenderedState:e},t}function ff(e,t,a,i){return e.baseState=a,su(e,ue,typeof i=="function"?i:ca)}function hh(e,t,a,i,l){if(uc(e))throw Error(M(485));if(e=t.action,e!==null){var n={payload:l,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(o){n.listeners.push(o)}};j.T!==null?a(!0):n.isTransition=!1,i(n),a=t.pending,a===null?(n.next=t.pending=n,bf(t,n)):(n.next=a.next,t.pending=a.next=n)}}function bf(e,t){var a=t.action,i=t.payload,l=e.state;if(t.isTransition){var n=j.T,o={};j.T=o;try{var s=a(l,i),u=j.S;u!==null&&u(o,s),xr(e,t,s)}catch(d){rs(e,t,d)}finally{j.T=n}}else try{n=a(l,i),xr(e,t,n)}catch(d){rs(e,t,d)}}function xr(e,t,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(i){wr(e,t,i)},function(i){return rs(e,t,i)}):wr(e,t,a)}function wr(e,t,a){t.status="fulfilled",t.value=a,mf(t),e.state=a,t=e.pending,t!==null&&(a=t.next,a===t?e.pending=null:(a=a.next,t.next=a,bf(e,a)))}function rs(e,t,a){var i=e.pending;if(e.pending=null,i!==null){i=i.next;do t.status="rejected",t.reason=a,mf(t),t=t.next;while(t!==i)}e.action=null}function mf(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function pf(e,t){return t}function Sr(e,t){if(ae){var a=me.formState;if(a!==null){e:{var i=I;if(ae){if(Ee){t:{for(var l=Ee,n=Rt;l.nodeType!==8;){if(!n){l=null;break t}if(l=zt(l.nextSibling),l===null){l=null;break t}}n=l.data,l=n==="F!"||n==="F"?l:null}if(l){Ee=zt(l.nextSibling),i=l.data==="F!";break e}}ai(i)}i=!1}i&&(t=a[0])}}return a=at(),a.memoizedState=a.baseState=t,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:pf,lastRenderedState:t},a.queue=i,a=zf.bind(null,I,i),i.dispatch=a,i=ds(!1),n=fu.bind(null,I,!1,i.queue),i=at(),l={state:t,dispatch:null,action:e,pending:null},i.queue=l,a=hh.bind(null,I,l,n,a),l.dispatch=a,i.memoizedState=e,[t,a,!1]}function Er(e){var t=Ue();return hf(t,ue,e)}function hf(e,t,a){if(t=su(e,t,pf)[0],e=go(ca)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var i=gl(t)}catch(o){throw o===hl?oc:o}else i=t;t=Ue();var l=t.queue,n=l.dispatch;return a!==t.memoizedState&&(I.flags|=2048,Wi(9,sc(),gh.bind(null,l,a),null)),[i,n,e]}function gh(e,t){e.action=t}function qr(e){var t=Ue(),a=ue;if(a!==null)return hf(t,a,e);Ue(),t=t.memoizedState,a=Ue();var i=a.queue.dispatch;return a.memoizedState=e,[t,i,!1]}function Wi(e,t,a,i){return e={tag:e,create:a,deps:i,inst:t,next:null},t=I.updateQueue,t===null&&(t=ou(),I.updateQueue=t),a=t.lastEffect,a===null?t.lastEffect=e.next=e:(i=a.next,a.next=e,e.next=i,t.lastEffect=e),e}function sc(){return{destroy:void 0,resource:void 0}}function gf(){return Ue().memoizedState}function vo(e,t,a,i){var l=at();i=i===void 0?null:i,I.flags|=e,l.memoizedState=Wi(1|t,sc(),a,i)}function vl(e,t,a,i){var l=Ue();i=i===void 0?null:i;var n=l.memoizedState.inst;ue!==null&&i!==null&&tu(i,ue.memoizedState.deps)?l.memoizedState=Wi(t,n,a,i):(I.flags|=e,l.memoizedState=Wi(1|t,n,a,i))}function Ar(e,t){vo(8390656,8,e,t)}function vf(e,t){vl(2048,8,e,t)}function yf(e,t){return vl(4,2,e,t)}function xf(e,t){return vl(4,4,e,t)}function wf(e,t){if(typeof t=="function"){e=e();var a=t(e);return function(){typeof a=="function"?a():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Sf(e,t,a){a=a!=null?a.concat([e]):null,vl(4,4,wf.bind(null,t,e),a)}function uu(){}function Ef(e,t){var a=Ue();t=t===void 0?null:t;var i=a.memoizedState;return t!==null&&tu(t,i[1])?i[0]:(a.memoizedState=[e,t],e)}function qf(e,t){var a=Ue();t=t===void 0?null:t;var i=a.memoizedState;if(t!==null&&tu(t,i[1]))return i[0];if(i=e(),ni){Na(!0);try{e()}finally{Na(!1)}}return a.memoizedState=[i,t],i}function du(e,t,a){return a===void 0||(Ba&1073741824)!==0?e.memoizedState=t:(e.memoizedState=a,e=mb(),I.lanes|=e,Ga|=e,a)}function Af(e,t,a,i){return ht(a,t)?a:Fi.current!==null?(e=du(e,a,i),ht(e,t)||(Ge=!0),e):(Ba&42)===0?(Ge=!0,e.memoizedState=a):(e=mb(),I.lanes|=e,Ga|=e,t)}function Nf(e,t,a,i,l){var n=ie.p;ie.p=n!==0&&8>n?n:8;var o=j.T,s={};j.T=s,fu(e,!1,t,a);try{var u=l(),d=j.S;if(d!==null&&d(s,u),u!==null&&typeof u=="object"&&typeof u.then=="function"){var v=bh(u,i);Yn(e,t,v,mt(e))}else Yn(e,t,i,mt(e))}catch(x){Yn(e,t,{then:function(){},status:"rejected",reason:x},mt())}finally{ie.p=n,j.T=o}}function vh(){}function fs(e,t,a,i){if(e.tag!==5)throw Error(M(476));var l=Cf(e).queue;Nf(e,l,t,Ia,a===null?vh:function(){return Tf(e),a(i)})}function Cf(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Ia,baseState:Ia,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ca,lastRenderedState:Ia},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ca,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Tf(e){var t=Cf(e).next.queue;Yn(e,t,{},mt())}function ru(){return Je(il)}function Mf(){return Ue().memoizedState}function Of(){return Ue().memoizedState}function yh(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var a=mt();e=za(a);var i=Da(t,e,a);i!==null&&(pt(i,t,a),Bn(i,t,a)),t={cache:Fs()},e.payload=t;return}t=t.return}}function xh(e,t,a){var i=mt();a={lane:i,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null},uc(e)?Df(t,a):(a=$s(e,t,a,i),a!==null&&(pt(a,e,i),Uf(a,t,i)))}function zf(e,t,a){var i=mt();Yn(e,t,a,i)}function Yn(e,t,a,i){var l={lane:i,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null};if(uc(e))Df(t,l);else{var n=e.alternate;if(e.lanes===0&&(n===null||n.lanes===0)&&(n=t.lastRenderedReducer,n!==null))try{var o=t.lastRenderedState,s=n(o,a);if(l.hasEagerState=!0,l.eagerState=s,ht(s,o))return lc(e,t,l,0),me===null&&nc(),!1}catch{}finally{}if(a=$s(e,t,l,i),a!==null)return pt(a,e,i),Uf(a,t,i),!0}return!1}function fu(e,t,a,i){if(i={lane:2,revertLane:xu(),action:i,hasEagerState:!1,eagerState:null,next:null},uc(e)){if(t)throw Error(M(479))}else t=$s(e,a,i,2),t!==null&&pt(t,e,2)}function uc(e){var t=e.alternate;return e===I||t!==null&&t===I}function Df(e,t){Vi=ko=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function Uf(e,t,a){if((a&4194048)!==0){var i=t.lanes;i&=e.pendingLanes,a|=i,t.lanes=a,S1(e,a)}}var Ro={readContext:Je,use:cc,useCallback:Te,useContext:Te,useEffect:Te,useImperativeHandle:Te,useLayoutEffect:Te,useInsertionEffect:Te,useMemo:Te,useReducer:Te,useRef:Te,useState:Te,useDebugValue:Te,useDeferredValue:Te,useTransition:Te,useSyncExternalStore:Te,useId:Te,useHostTransitionStatus:Te,useFormState:Te,useActionState:Te,useOptimistic:Te,useMemoCache:Te,useCacheRefresh:Te},_f={readContext:Je,use:cc,useCallback:function(e,t){return at().memoizedState=[e,t===void 0?null:t],e},useContext:Je,useEffect:Ar,useImperativeHandle:function(e,t,a){a=a!=null?a.concat([e]):null,vo(4194308,4,wf.bind(null,t,e),a)},useLayoutEffect:function(e,t){return vo(4194308,4,e,t)},useInsertionEffect:function(e,t){vo(4,2,e,t)},useMemo:function(e,t){var a=at();t=t===void 0?null:t;var i=e();if(ni){Na(!0);try{e()}finally{Na(!1)}}return a.memoizedState=[i,t],i},useReducer:function(e,t,a){var i=at();if(a!==void 0){var l=a(t);if(ni){Na(!0);try{a(t)}finally{Na(!1)}}}else l=t;return i.memoizedState=i.baseState=l,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:l},i.queue=e,e=e.dispatch=xh.bind(null,I,e),[i.memoizedState,e]},useRef:function(e){var t=at();return e={current:e},t.memoizedState=e},useState:function(e){e=ds(e);var t=e.queue,a=zf.bind(null,I,t);return t.dispatch=a,[e.memoizedState,a]},useDebugValue:uu,useDeferredValue:function(e,t){var a=at();return du(a,e,t)},useTransition:function(){var e=ds(!1);return e=Nf.bind(null,I,e.queue,!0,!1),at().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,a){var i=I,l=at();if(ae){if(a===void 0)throw Error(M(407));a=a()}else{if(a=t(),me===null)throw Error(M(349));(te&124)!==0||cf(i,t,a)}l.memoizedState=a;var n={value:a,getSnapshot:t};return l.queue=n,Ar(uf.bind(null,i,n,e),[e]),i.flags|=2048,Wi(9,sc(),sf.bind(null,i,n,a,t),null),a},useId:function(){var e=at(),t=me.identifierPrefix;if(ae){var a=ta,i=ea;a=(i&~(1<<32-bt(i)-1)).toString(32)+a,t="\xAB"+t+"R"+a,a=Lo++,0<a&&(t+="H"+a.toString(32)),t+="\xBB"}else a=mh++,t="\xAB"+t+"r"+a.toString(32)+"\xBB";return e.memoizedState=t},useHostTransitionStatus:ru,useFormState:Sr,useActionState:Sr,useOptimistic:function(e){var t=at();t.memoizedState=t.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=a,t=fu.bind(null,I,!0,a),a.dispatch=t,[e,t]},useMemoCache:cu,useCacheRefresh:function(){return at().memoizedState=yh.bind(null,I)}},kf={readContext:Je,use:cc,useCallback:Ef,useContext:Je,useEffect:vf,useImperativeHandle:Sf,useInsertionEffect:yf,useLayoutEffect:xf,useMemo:qf,useReducer:go,useRef:gf,useState:function(){return go(ca)},useDebugValue:uu,useDeferredValue:function(e,t){var a=Ue();return Af(a,ue.memoizedState,e,t)},useTransition:function(){var e=go(ca)[0],t=Ue().memoizedState;return[typeof e=="boolean"?e:gl(e),t]},useSyncExternalStore:of,useId:Mf,useHostTransitionStatus:ru,useFormState:Er,useActionState:Er,useOptimistic:function(e,t){var a=Ue();return ff(a,ue,e,t)},useMemoCache:cu,useCacheRefresh:Of},wh={readContext:Je,use:cc,useCallback:Ef,useContext:Je,useEffect:vf,useImperativeHandle:Sf,useInsertionEffect:yf,useLayoutEffect:xf,useMemo:qf,useReducer:S0,useRef:gf,useState:function(){return S0(ca)},useDebugValue:uu,useDeferredValue:function(e,t){var a=Ue();return ue===null?du(a,e,t):Af(a,ue.memoizedState,e,t)},useTransition:function(){var e=S0(ca)[0],t=Ue().memoizedState;return[typeof e=="boolean"?e:gl(e),t]},useSyncExternalStore:of,useId:Mf,useHostTransitionStatus:ru,useFormState:qr,useActionState:qr,useOptimistic:function(e,t){var a=Ue();return ue!==null?ff(a,ue,e,t):(a.baseState=e,[e,a.queue.dispatch])},useMemoCache:cu,useCacheRefresh:Of},Qi=null,Pn=0;function ao(e){var t=Pn;return Pn+=1,Qi===null&&(Qi=[]),ef(Qi,e,t)}function qn(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function io(e,t){throw t.$$typeof===Fm?Error(M(525)):(e=Object.prototype.toString.call(t),Error(M(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function Nr(e){var t=e._init;return t(e._payload)}function Lf(e){function t(f,r){if(e){var g=f.deletions;g===null?(f.deletions=[r],f.flags|=16):g.push(r)}}function a(f,r){if(!e)return null;for(;r!==null;)t(f,r),r=r.sibling;return null}function i(f){for(var r=new Map;f!==null;)f.key!==null?r.set(f.key,f):r.set(f.index,f),f=f.sibling;return r}function l(f,r){return f=na(f,r),f.index=0,f.sibling=null,f}function n(f,r,g){return f.index=g,e?(g=f.alternate,g!==null?(g=g.index,g<r?(f.flags|=67108866,r):g):(f.flags|=67108866,r)):(f.flags|=1048576,r)}function o(f){return e&&f.alternate===null&&(f.flags|=67108866),f}function s(f,r,g,w){return r===null||r.tag!==6?(r=y0(g,f.mode,w),r.return=f,r):(r=l(r,g),r.return=f,r)}function u(f,r,g,w){var S=g.type;return S===Ci?v(f,r,g.props.children,w,g.key):r!==null&&(r.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===xa&&Nr(S)===r.type)?(r=l(r,g.props),qn(r,g),r.return=f,r):(r=po(g.type,g.key,g.props,null,f.mode,w),qn(r,g),r.return=f,r)}function d(f,r,g,w){return r===null||r.tag!==4||r.stateNode.containerInfo!==g.containerInfo||r.stateNode.implementation!==g.implementation?(r=x0(g,f.mode,w),r.return=f,r):(r=l(r,g.children||[]),r.return=f,r)}function v(f,r,g,w,S){return r===null||r.tag!==7?(r=Ja(g,f.mode,w,S),r.return=f,r):(r=l(r,g),r.return=f,r)}function x(f,r,g){if(typeof r=="string"&&r!==""||typeof r=="number"||typeof r=="bigint")return r=y0(""+r,f.mode,g),r.return=f,r;if(typeof r=="object"&&r!==null){switch(r.$$typeof){case $l:return g=po(r.type,r.key,r.props,null,f.mode,g),qn(g,r),g.return=f,g;case Mn:return r=x0(r,f.mode,g),r.return=f,r;case xa:var w=r._init;return r=w(r._payload),x(f,r,g)}if(On(r)||wn(r))return r=Ja(r,f.mode,g,null),r.return=f,r;if(typeof r.then=="function")return x(f,ao(r),g);if(r.$$typeof===Pt)return x(f,eo(f,r),g);io(f,r)}return null}function p(f,r,g,w){var S=r!==null?r.key:null;if(typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint")return S!==null?null:s(f,r,""+g,w);if(typeof g=="object"&&g!==null){switch(g.$$typeof){case $l:return g.key===S?u(f,r,g,w):null;case Mn:return g.key===S?d(f,r,g,w):null;case xa:return S=g._init,g=S(g._payload),p(f,r,g,w)}if(On(g)||wn(g))return S!==null?null:v(f,r,g,w,null);if(typeof g.then=="function")return p(f,r,ao(g),w);if(g.$$typeof===Pt)return p(f,r,eo(f,g),w);io(f,g)}return null}function h(f,r,g,w,S){if(typeof w=="string"&&w!==""||typeof w=="number"||typeof w=="bigint")return f=f.get(g)||null,s(r,f,""+w,S);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case $l:return f=f.get(w.key===null?g:w.key)||null,u(r,f,w,S);case Mn:return f=f.get(w.key===null?g:w.key)||null,d(r,f,w,S);case xa:var z=w._init;return w=z(w._payload),h(f,r,g,w,S)}if(On(w)||wn(w))return f=f.get(g)||null,v(r,f,w,S,null);if(typeof w.then=="function")return h(f,r,g,ao(w),S);if(w.$$typeof===Pt)return h(f,r,g,eo(r,w),S);io(r,w)}return null}function E(f,r,g,w){for(var S=null,z=null,q=r,k=r=0,D=null;q!==null&&k<g.length;k++){q.index>k?(D=q,q=null):D=q.sibling;var H=p(f,q,g[k],w);if(H===null){q===null&&(q=D);break}e&&q&&H.alternate===null&&t(f,q),r=n(H,r,k),z===null?S=H:z.sibling=H,z=H,q=D}if(k===g.length)return a(f,q),ae&&$a(f,k),S;if(q===null){for(;k<g.length;k++)q=x(f,g[k],w),q!==null&&(r=n(q,r,k),z===null?S=q:z.sibling=q,z=q);return ae&&$a(f,k),S}for(q=i(q);k<g.length;k++)D=h(q,f,k,g[k],w),D!==null&&(e&&D.alternate!==null&&q.delete(D.key===null?k:D.key),r=n(D,r,k),z===null?S=D:z.sibling=D,z=D);return e&&q.forEach(function(ce){return t(f,ce)}),ae&&$a(f,k),S}function C(f,r,g,w){if(g==null)throw Error(M(151));for(var S=null,z=null,q=r,k=r=0,D=null,H=g.next();q!==null&&!H.done;k++,H=g.next()){q.index>k?(D=q,q=null):D=q.sibling;var ce=p(f,q,H.value,w);if(ce===null){q===null&&(q=D);break}e&&q&&ce.alternate===null&&t(f,q),r=n(ce,r,k),z===null?S=ce:z.sibling=ce,z=ce,q=D}if(H.done)return a(f,q),ae&&$a(f,k),S;if(q===null){for(;!H.done;k++,H=g.next())H=x(f,H.value,w),H!==null&&(r=n(H,r,k),z===null?S=H:z.sibling=H,z=H);return ae&&$a(f,k),S}for(q=i(q);!H.done;k++,H=g.next())H=h(q,f,k,H.value,w),H!==null&&(e&&H.alternate!==null&&q.delete(H.key===null?k:H.key),r=n(H,r,k),z===null?S=H:z.sibling=H,z=H);return e&&q.forEach(function(Xe){return t(f,Xe)}),ae&&$a(f,k),S}function N(f,r,g,w){if(typeof g=="object"&&g!==null&&g.type===Ci&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case $l:e:{for(var S=g.key;r!==null;){if(r.key===S){if(S=g.type,S===Ci){if(r.tag===7){a(f,r.sibling),w=l(r,g.props.children),w.return=f,f=w;break e}}else if(r.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===xa&&Nr(S)===r.type){a(f,r.sibling),w=l(r,g.props),qn(w,g),w.return=f,f=w;break e}a(f,r);break}else t(f,r);r=r.sibling}g.type===Ci?(w=Ja(g.props.children,f.mode,w,g.key),w.return=f,f=w):(w=po(g.type,g.key,g.props,null,f.mode,w),qn(w,g),w.return=f,f=w)}return o(f);case Mn:e:{for(S=g.key;r!==null;){if(r.key===S)if(r.tag===4&&r.stateNode.containerInfo===g.containerInfo&&r.stateNode.implementation===g.implementation){a(f,r.sibling),w=l(r,g.children||[]),w.return=f,f=w;break e}else{a(f,r);break}else t(f,r);r=r.sibling}w=x0(g,f.mode,w),w.return=f,f=w}return o(f);case xa:return S=g._init,g=S(g._payload),N(f,r,g,w)}if(On(g))return E(f,r,g,w);if(wn(g)){if(S=wn(g),typeof S!="function")throw Error(M(150));return g=S.call(g),C(f,r,g,w)}if(typeof g.then=="function")return N(f,r,ao(g),w);if(g.$$typeof===Pt)return N(f,r,eo(f,g),w);io(f,g)}return typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint"?(g=""+g,r!==null&&r.tag===6?(a(f,r.sibling),w=l(r,g),w.return=f,f=w):(a(f,r),w=y0(g,f.mode,w),w.return=f,f=w),o(f)):a(f,r)}return function(f,r,g,w){try{Pn=0;var S=N(f,r,g,w);return Qi=null,S}catch(q){if(q===hl||q===oc)throw q;var z=rt(29,q,null,f.mode);return z.lanes=w,z.return=f,z}finally{}}}var Pi=Lf(!0),Rf=Lf(!1),Ct=Xt(null),Yt=null;function Ea(e){var t=e.alternate;ye(ke,ke.current&1),ye(Ct,e),Yt===null&&(t===null||Fi.current!==null||t.memoizedState!==null)&&(Yt=e)}function Bf(e){if(e.tag===22){if(ye(ke,ke.current),ye(Ct,e),Yt===null){var t=e.alternate;t!==null&&t.memoizedState!==null&&(Yt=e)}}else qa(e)}function qa(){ye(ke,ke.current),ye(Ct,Ct.current)}function ia(e){Ye(Ct),Yt===e&&(Yt=null),Ye(ke)}var ke=Xt(0);function Bo(e){for(var t=e;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||a.data==="$?"||Ms(a)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function E0(e,t,a,i){t=e.memoizedState,a=a(i,t),a=a==null?t:pe({},t,a),e.memoizedState=a,e.lanes===0&&(e.updateQueue.baseState=a)}var bs={enqueueSetState:function(e,t,a){e=e._reactInternals;var i=mt(),l=za(i);l.payload=t,a!=null&&(l.callback=a),t=Da(e,l,i),t!==null&&(pt(t,e,i),Bn(t,e,i))},enqueueReplaceState:function(e,t,a){e=e._reactInternals;var i=mt(),l=za(i);l.tag=1,l.payload=t,a!=null&&(l.callback=a),t=Da(e,l,i),t!==null&&(pt(t,e,i),Bn(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var a=mt(),i=za(a);i.tag=2,t!=null&&(i.callback=t),t=Da(e,i,a),t!==null&&(pt(t,e,a),Bn(t,e,a))}};function Cr(e,t,a,i,l,n,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(i,n,o):t.prototype&&t.prototype.isPureReactComponent?!Jn(a,i)||!Jn(l,n):!0}function Tr(e,t,a,i){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,i),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,i),t.state!==e&&bs.enqueueReplaceState(t,t.state,null)}function li(e,t){var a=t;if("ref"in t){a={};for(var i in t)i!=="ref"&&(a[i]=t[i])}if(e=e.defaultProps){a===t&&(a=pe({},a));for(var l in e)a[l]===void 0&&(a[l]=e[l])}return a}var Ho=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)};function Hf(e){Ho(e)}function Gf(e){console.error(e)}function Yf(e){Ho(e)}function Go(e,t){try{var a=e.onUncaughtError;a(t.value,{componentStack:t.stack})}catch(i){setTimeout(function(){throw i})}}function Mr(e,t,a){try{var i=e.onCaughtError;i(a.value,{componentStack:a.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(l){setTimeout(function(){throw l})}}function ms(e,t,a){return a=za(a),a.tag=3,a.payload={element:null},a.callback=function(){Go(e,t)},a}function Xf(e){return e=za(e),e.tag=3,e}function Vf(e,t,a,i){var l=a.type.getDerivedStateFromError;if(typeof l=="function"){var n=i.value;e.payload=function(){return l(n)},e.callback=function(){Mr(t,a,i)}}var o=a.stateNode;o!==null&&typeof o.componentDidCatch=="function"&&(e.callback=function(){Mr(t,a,i),typeof l!="function"&&(Ua===null?Ua=new Set([this]):Ua.add(this));var s=i.stack;this.componentDidCatch(i.value,{componentStack:s!==null?s:""})})}function Sh(e,t,a,i,l){if(a.flags|=32768,i!==null&&typeof i=="object"&&typeof i.then=="function"){if(t=a.alternate,t!==null&&ml(t,a,l,!0),a=Ct.current,a!==null){switch(a.tag){case 13:return Yt===null?Ss():a.alternate===null&&qe===0&&(qe=3),a.flags&=-257,a.flags|=65536,a.lanes=l,i===os?a.flags|=16384:(t=a.updateQueue,t===null?a.updateQueue=new Set([i]):t.add(i),_0(e,i,l)),!1;case 22:return a.flags|=65536,i===os?a.flags|=16384:(t=a.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([i])},a.updateQueue=t):(a=t.retryQueue,a===null?t.retryQueue=new Set([i]):a.add(i)),_0(e,i,l)),!1}throw Error(M(435,a.tag))}return _0(e,i,l),Ss(),!1}if(ae)return t=Ct.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=l,i!==ts&&(e=Error(M(422),{cause:i}),Fn(At(e,a)))):(i!==ts&&(t=Error(M(423),{cause:i}),Fn(At(t,a))),e=e.current.alternate,e.flags|=65536,l&=-l,e.lanes|=l,i=At(i,a),l=ms(e.stateNode,i,l),w0(e,l),qe!==4&&(qe=2)),!1;var n=Error(M(520),{cause:i});if(n=At(n,a),jn===null?jn=[n]:jn.push(n),qe!==4&&(qe=2),t===null)return!0;i=At(i,a),a=t;do{switch(a.tag){case 3:return a.flags|=65536,e=l&-l,a.lanes|=e,e=ms(a.stateNode,i,e),w0(a,e),!1;case 1:if(t=a.type,n=a.stateNode,(a.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||n!==null&&typeof n.componentDidCatch=="function"&&(Ua===null||!Ua.has(n))))return a.flags|=65536,l&=-l,a.lanes|=l,l=Xf(l),Vf(l,e,a,i),w0(a,l),!1}a=a.return}while(a!==null);return!1}var jf=Error(M(461)),Ge=!1;function je(e,t,a,i){t.child=e===null?Rf(t,null,a,i):Pi(t,e.child,a,i)}function Or(e,t,a,i,l){a=a.render;var n=t.ref;if("ref"in i){var o={};for(var s in i)s!=="ref"&&(o[s]=i[s])}else o=i;return ii(t),i=au(e,t,a,o,n,l),s=iu(),e!==null&&!Ge?(nu(e,t,l),sa(e,t,l)):(ae&&s&&Is(t),t.flags|=1,je(e,t,i,l),t.child)}function zr(e,t,a,i,l){if(e===null){var n=a.type;return typeof n=="function"&&!Ks(n)&&n.defaultProps===void 0&&a.compare===null?(t.tag=15,t.type=n,Qf(e,t,n,i,l)):(e=po(a.type,null,i,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(n=e.child,!bu(e,l)){var o=n.memoizedProps;if(a=a.compare,a=a!==null?a:Jn,a(o,i)&&e.ref===t.ref)return sa(e,t,l)}return t.flags|=1,e=na(n,i),e.ref=t.ref,e.return=t,t.child=e}function Qf(e,t,a,i,l){if(e!==null){var n=e.memoizedProps;if(Jn(n,i)&&e.ref===t.ref)if(Ge=!1,t.pendingProps=i=n,bu(e,l))(e.flags&131072)!==0&&(Ge=!0);else return t.lanes=e.lanes,sa(e,t,l)}return ps(e,t,a,i,l)}function Zf(e,t,a){var i=t.pendingProps,l=i.children,n=e!==null?e.memoizedState:null;if(i.mode==="hidden"){if((t.flags&128)!==0){if(i=n!==null?n.baseLanes|a:a,e!==null){for(l=t.child=e.child,n=0;l!==null;)n=n|l.lanes|l.childLanes,l=l.sibling;t.childLanes=n&~i}else t.childLanes=0,t.child=null;return Dr(e,t,i,a)}if((a&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&ho(t,n!==null?n.cachePool:null),n!==null?yr(t,n):us(),Bf(t);else return t.lanes=t.childLanes=536870912,Dr(e,t,n!==null?n.baseLanes|a:a,a)}else n!==null?(ho(t,n.cachePool),yr(t,n),qa(t),t.memoizedState=null):(e!==null&&ho(t,null),us(),qa(t));return je(e,t,l,a),t.child}function Dr(e,t,a,i){var l=Ws();return l=l===null?null:{parent:_e._currentValue,pool:l},t.memoizedState={baseLanes:a,cachePool:l},e!==null&&ho(t,null),us(),Bf(t),e!==null&&ml(e,t,i,!0),null}function yo(e,t){var a=t.ref;if(a===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error(M(284));(e===null||e.ref!==a)&&(t.flags|=4194816)}}function ps(e,t,a,i,l){return ii(t),a=au(e,t,a,i,void 0,l),i=iu(),e!==null&&!Ge?(nu(e,t,l),sa(e,t,l)):(ae&&i&&Is(t),t.flags|=1,je(e,t,a,l),t.child)}function Ur(e,t,a,i,l,n){return ii(t),t.updateQueue=null,a=lf(t,i,a,l),nf(e),i=iu(),e!==null&&!Ge?(nu(e,t,n),sa(e,t,n)):(ae&&i&&Is(t),t.flags|=1,je(e,t,a,n),t.child)}function _r(e,t,a,i,l){if(ii(t),t.stateNode===null){var n=ki,o=a.contextType;typeof o=="object"&&o!==null&&(n=Je(o)),n=new a(i,n),t.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=bs,t.stateNode=n,n._reactInternals=t,n=t.stateNode,n.props=i,n.state=t.memoizedState,n.refs={},Ps(t),o=a.contextType,n.context=typeof o=="object"&&o!==null?Je(o):ki,n.state=t.memoizedState,o=a.getDerivedStateFromProps,typeof o=="function"&&(E0(t,a,o,i),n.state=t.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof n.getSnapshotBeforeUpdate=="function"||typeof n.UNSAFE_componentWillMount!="function"&&typeof n.componentWillMount!="function"||(o=n.state,typeof n.componentWillMount=="function"&&n.componentWillMount(),typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount(),o!==n.state&&bs.enqueueReplaceState(n,n.state,null),Gn(t,i,n,l),Hn(),n.state=t.memoizedState),typeof n.componentDidMount=="function"&&(t.flags|=4194308),i=!0}else if(e===null){n=t.stateNode;var s=t.memoizedProps,u=li(a,s);n.props=u;var d=n.context,v=a.contextType;o=ki,typeof v=="object"&&v!==null&&(o=Je(v));var x=a.getDerivedStateFromProps;v=typeof x=="function"||typeof n.getSnapshotBeforeUpdate=="function",s=t.pendingProps!==s,v||typeof n.UNSAFE_componentWillReceiveProps!="function"&&typeof n.componentWillReceiveProps!="function"||(s||d!==o)&&Tr(t,n,i,o),wa=!1;var p=t.memoizedState;n.state=p,Gn(t,i,n,l),Hn(),d=t.memoizedState,s||p!==d||wa?(typeof x=="function"&&(E0(t,a,x,i),d=t.memoizedState),(u=wa||Cr(t,a,u,i,p,d,o))?(v||typeof n.UNSAFE_componentWillMount!="function"&&typeof n.componentWillMount!="function"||(typeof n.componentWillMount=="function"&&n.componentWillMount(),typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount()),typeof n.componentDidMount=="function"&&(t.flags|=4194308)):(typeof n.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=i,t.memoizedState=d),n.props=i,n.state=d,n.context=o,i=u):(typeof n.componentDidMount=="function"&&(t.flags|=4194308),i=!1)}else{n=t.stateNode,cs(e,t),o=t.memoizedProps,v=li(a,o),n.props=v,x=t.pendingProps,p=n.context,d=a.contextType,u=ki,typeof d=="object"&&d!==null&&(u=Je(d)),s=a.getDerivedStateFromProps,(d=typeof s=="function"||typeof n.getSnapshotBeforeUpdate=="function")||typeof n.UNSAFE_componentWillReceiveProps!="function"&&typeof n.componentWillReceiveProps!="function"||(o!==x||p!==u)&&Tr(t,n,i,u),wa=!1,p=t.memoizedState,n.state=p,Gn(t,i,n,l),Hn();var h=t.memoizedState;o!==x||p!==h||wa||e!==null&&e.dependencies!==null&&Uo(e.dependencies)?(typeof s=="function"&&(E0(t,a,s,i),h=t.memoizedState),(v=wa||Cr(t,a,v,i,p,h,u)||e!==null&&e.dependencies!==null&&Uo(e.dependencies))?(d||typeof n.UNSAFE_componentWillUpdate!="function"&&typeof n.componentWillUpdate!="function"||(typeof n.componentWillUpdate=="function"&&n.componentWillUpdate(i,h,u),typeof n.UNSAFE_componentWillUpdate=="function"&&n.UNSAFE_componentWillUpdate(i,h,u)),typeof n.componentDidUpdate=="function"&&(t.flags|=4),typeof n.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof n.componentDidUpdate!="function"||o===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof n.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=i,t.memoizedState=h),n.props=i,n.state=h,n.context=u,i=v):(typeof n.componentDidUpdate!="function"||o===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof n.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),i=!1)}return n=i,yo(e,t),i=(t.flags&128)!==0,n||i?(n=t.stateNode,a=i&&typeof a.getDerivedStateFromError!="function"?null:n.render(),t.flags|=1,e!==null&&i?(t.child=Pi(t,e.child,null,l),t.child=Pi(t,null,a,l)):je(e,t,a,l),t.memoizedState=n.state,e=t.child):e=sa(e,t,l),e}function kr(e,t,a,i){return bl(),t.flags|=256,je(e,t,a,i),t.child}var q0={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function A0(e){return{baseLanes:e,cachePool:W1()}}function N0(e,t,a){return e=e!==null?e.childLanes&~a:0,t&&(e|=Nt),e}function $f(e,t,a){var i=t.pendingProps,l=!1,n=(t.flags&128)!==0,o;if((o=n)||(o=e!==null&&e.memoizedState===null?!1:(ke.current&2)!==0),o&&(l=!0,t.flags&=-129),o=(t.flags&32)!==0,t.flags&=-33,e===null){if(ae){if(l?Ea(t):qa(t),ae){var s=Ee,u;if(u=s){e:{for(u=s,s=Rt;u.nodeType!==8;){if(!s){s=null;break e}if(u=zt(u.nextSibling),u===null){s=null;break e}}s=u}s!==null?(t.memoizedState={dehydrated:s,treeContext:Fa!==null?{id:ea,overflow:ta}:null,retryLane:536870912,hydrationErrors:null},u=rt(18,null,null,0),u.stateNode=s,u.return=t,t.child=u,tt=t,Ee=null,u=!0):u=!1}u||ai(t)}if(s=t.memoizedState,s!==null&&(s=s.dehydrated,s!==null))return Ms(s)?t.lanes=32:t.lanes=536870912,null;ia(t)}return s=i.children,i=i.fallback,l?(qa(t),l=t.mode,s=Yo({mode:"hidden",children:s},l),i=Ja(i,l,a,null),s.return=t,i.return=t,s.sibling=i,t.child=s,l=t.child,l.memoizedState=A0(a),l.childLanes=N0(e,o,a),t.memoizedState=q0,i):(Ea(t),hs(t,s))}if(u=e.memoizedState,u!==null&&(s=u.dehydrated,s!==null)){if(n)t.flags&256?(Ea(t),t.flags&=-257,t=C0(e,t,a)):t.memoizedState!==null?(qa(t),t.child=e.child,t.flags|=128,t=null):(qa(t),l=i.fallback,s=t.mode,i=Yo({mode:"visible",children:i.children},s),l=Ja(l,s,a,null),l.flags|=2,i.return=t,l.return=t,i.sibling=l,t.child=i,Pi(t,e.child,null,a),i=t.child,i.memoizedState=A0(a),i.childLanes=N0(e,o,a),t.memoizedState=q0,t=l);else if(Ea(t),Ms(s)){if(o=s.nextSibling&&s.nextSibling.dataset,o)var d=o.dgst;o=d,i=Error(M(419)),i.stack="",i.digest=o,Fn({value:i,source:null,stack:null}),t=C0(e,t,a)}else if(Ge||ml(e,t,a,!1),o=(a&e.childLanes)!==0,Ge||o){if(o=me,o!==null&&(i=a&-a,i=(i&42)!==0?1:Rs(i),i=(i&(o.suspendedLanes|a))!==0?0:i,i!==0&&i!==u.retryLane))throw u.retryLane=i,cn(e,i),pt(o,e,i),jf;s.data==="$?"||Ss(),t=C0(e,t,a)}else s.data==="$?"?(t.flags|=192,t.child=e.child,t=null):(e=u.treeContext,Ee=zt(s.nextSibling),tt=t,ae=!0,Wa=null,Rt=!1,e!==null&&(St[Et++]=ea,St[Et++]=ta,St[Et++]=Fa,ea=e.id,ta=e.overflow,Fa=t),t=hs(t,i.children),t.flags|=4096);return t}return l?(qa(t),l=i.fallback,s=t.mode,u=e.child,d=u.sibling,i=na(u,{mode:"hidden",children:i.children}),i.subtreeFlags=u.subtreeFlags&65011712,d!==null?l=na(d,l):(l=Ja(l,s,a,null),l.flags|=2),l.return=t,i.return=t,i.sibling=l,t.child=i,i=l,l=t.child,s=e.child.memoizedState,s===null?s=A0(a):(u=s.cachePool,u!==null?(d=_e._currentValue,u=u.parent!==d?{parent:d,pool:d}:u):u=W1(),s={baseLanes:s.baseLanes|a,cachePool:u}),l.memoizedState=s,l.childLanes=N0(e,o,a),t.memoizedState=q0,i):(Ea(t),a=e.child,e=a.sibling,a=na(a,{mode:"visible",children:i.children}),a.return=t,a.sibling=null,e!==null&&(o=t.deletions,o===null?(t.deletions=[e],t.flags|=16):o.push(e)),t.child=a,t.memoizedState=null,a)}function hs(e,t){return t=Yo({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Yo(e,t){return e=rt(22,e,null,t),e.lanes=0,e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function C0(e,t,a){return Pi(t,e.child,null,a),e=hs(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Lr(e,t,a){e.lanes|=t;var i=e.alternate;i!==null&&(i.lanes|=t),is(e.return,t,a)}function T0(e,t,a,i,l){var n=e.memoizedState;n===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:a,tailMode:l}:(n.isBackwards=t,n.rendering=null,n.renderingStartTime=0,n.last=i,n.tail=a,n.tailMode=l)}function Kf(e,t,a){var i=t.pendingProps,l=i.revealOrder,n=i.tail;if(je(e,t,i.children,a),i=ke.current,(i&2)!==0)i=i&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Lr(e,a,t);else if(e.tag===19)Lr(e,a,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}i&=1}switch(ye(ke,i),l){case"forwards":for(a=t.child,l=null;a!==null;)e=a.alternate,e!==null&&Bo(e)===null&&(l=a),a=a.sibling;a=l,a===null?(l=t.child,t.child=null):(l=a.sibling,a.sibling=null),T0(t,!1,l,a,n);break;case"backwards":for(a=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&Bo(e)===null){t.child=l;break}e=l.sibling,l.sibling=a,a=l,l=e}T0(t,!0,a,null,n);break;case"together":T0(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function sa(e,t,a){if(e!==null&&(t.dependencies=e.dependencies),Ga|=t.lanes,(a&t.childLanes)===0)if(e!==null){if(ml(e,t,a,!1),(a&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(M(153));if(t.child!==null){for(e=t.child,a=na(e,e.pendingProps),t.child=a,a.return=t;e.sibling!==null;)e=e.sibling,a=a.sibling=na(e,e.pendingProps),a.return=t;a.sibling=null}return t.child}function bu(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Uo(e)))}function Eh(e,t,a){switch(t.tag){case 3:Ao(t,t.stateNode.containerInfo),Sa(t,_e,e.memoizedState.cache),bl();break;case 27:case 5:Q0(t);break;case 4:Ao(t,t.stateNode.containerInfo);break;case 10:Sa(t,t.type,t.memoizedProps.value);break;case 13:var i=t.memoizedState;if(i!==null)return i.dehydrated!==null?(Ea(t),t.flags|=128,null):(a&t.child.childLanes)!==0?$f(e,t,a):(Ea(t),e=sa(e,t,a),e!==null?e.sibling:null);Ea(t);break;case 19:var l=(e.flags&128)!==0;if(i=(a&t.childLanes)!==0,i||(ml(e,t,a,!1),i=(a&t.childLanes)!==0),l){if(i)return Kf(e,t,a);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),ye(ke,ke.current),i)break;return null;case 22:case 23:return t.lanes=0,Zf(e,t,a);case 24:Sa(t,_e,e.memoizedState.cache)}return sa(e,t,a)}function If(e,t,a){if(e!==null)if(e.memoizedProps!==t.pendingProps)Ge=!0;else{if(!bu(e,a)&&(t.flags&128)===0)return Ge=!1,Eh(e,t,a);Ge=(e.flags&131072)!==0}else Ge=!1,ae&&(t.flags&1048576)!==0&&J1(t,Do,t.index);switch(t.lanes=0,t.tag){case 16:e:{e=t.pendingProps;var i=t.elementType,l=i._init;if(i=l(i._payload),t.type=i,typeof i=="function")Ks(i)?(e=li(i,e),t.tag=1,t=_r(null,t,i,e,a)):(t.tag=0,t=ps(null,t,i,e,a));else{if(i!=null){if(l=i.$$typeof,l===_s){t.tag=11,t=Or(null,t,i,e,a);break e}else if(l===ks){t.tag=14,t=zr(null,t,i,e,a);break e}}throw t=V0(i)||i,Error(M(306,t,""))}}return t;case 0:return ps(e,t,t.type,t.pendingProps,a);case 1:return i=t.type,l=li(i,t.pendingProps),_r(e,t,i,l,a);case 3:e:{if(Ao(t,t.stateNode.containerInfo),e===null)throw Error(M(387));i=t.pendingProps;var n=t.memoizedState;l=n.element,cs(e,t),Gn(t,i,null,a);var o=t.memoizedState;if(i=o.cache,Sa(t,_e,i),i!==n.cache&&ns(t,[_e],a,!0),Hn(),i=o.element,n.isDehydrated)if(n={element:i,isDehydrated:!1,cache:o.cache},t.updateQueue.baseState=n,t.memoizedState=n,t.flags&256){t=kr(e,t,i,a);break e}else if(i!==l){l=At(Error(M(424)),t),Fn(l),t=kr(e,t,i,a);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Ee=zt(e.firstChild),tt=t,ae=!0,Wa=null,Rt=!0,a=Rf(t,null,i,a),t.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(bl(),i===l){t=sa(e,t,a);break e}je(e,t,i,a)}t=t.child}return t;case 26:return yo(e,t),e===null?(a=t1(t.type,null,t.pendingProps,null))?t.memoizedState=a:ae||(a=t.type,e=t.pendingProps,i=Ko(Oa.current).createElement(a),i[Ie]=t,i[lt]=e,Ze(i,a,e),He(i),t.stateNode=i):t.memoizedState=t1(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Q0(t),e===null&&ae&&(i=t.stateNode=kb(t.type,t.pendingProps,Oa.current),tt=t,Rt=!0,l=Ee,Xa(t.type)?(Os=l,Ee=zt(i.firstChild)):Ee=l),je(e,t,t.pendingProps.children,a),yo(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&ae&&((l=i=Ee)&&(i=Ih(i,t.type,t.pendingProps,Rt),i!==null?(t.stateNode=i,tt=t,Ee=zt(i.firstChild),Rt=!1,l=!0):l=!1),l||ai(t)),Q0(t),l=t.type,n=t.pendingProps,o=e!==null?e.memoizedProps:null,i=n.children,Cs(l,n)?i=null:o!==null&&Cs(l,o)&&(t.flags|=32),t.memoizedState!==null&&(l=au(e,t,ph,null,null,a),il._currentValue=l),yo(e,t),je(e,t,i,a),t.child;case 6:return e===null&&ae&&((e=a=Ee)&&(a=Jh(a,t.pendingProps,Rt),a!==null?(t.stateNode=a,tt=t,Ee=null,e=!0):e=!1),e||ai(t)),null;case 13:return $f(e,t,a);case 4:return Ao(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=Pi(t,null,i,a):je(e,t,i,a),t.child;case 11:return Or(e,t,t.type,t.pendingProps,a);case 7:return je(e,t,t.pendingProps,a),t.child;case 8:return je(e,t,t.pendingProps.children,a),t.child;case 12:return je(e,t,t.pendingProps.children,a),t.child;case 10:return i=t.pendingProps,Sa(t,t.type,i.value),je(e,t,i.children,a),t.child;case 9:return l=t.type._context,i=t.pendingProps.children,ii(t),l=Je(l),i=i(l),t.flags|=1,je(e,t,i,a),t.child;case 14:return zr(e,t,t.type,t.pendingProps,a);case 15:return Qf(e,t,t.type,t.pendingProps,a);case 19:return Kf(e,t,a);case 31:return i=t.pendingProps,a=t.mode,i={mode:i.mode,children:i.children},e===null?(a=Yo(i,a),a.ref=t.ref,t.child=a,a.return=t,t=a):(a=na(e.child,i),a.ref=t.ref,t.child=a,a.return=t,t=a),t;case 22:return Zf(e,t,a);case 24:return ii(t),i=Je(_e),e===null?(l=Ws(),l===null&&(l=me,n=Fs(),l.pooledCache=n,n.refCount++,n!==null&&(l.pooledCacheLanes|=a),l=n),t.memoizedState={parent:i,cache:l},Ps(t),Sa(t,_e,l)):((e.lanes&a)!==0&&(cs(e,t),Gn(t,null,null,a),Hn()),l=e.memoizedState,n=t.memoizedState,l.parent!==i?(l={parent:i,cache:i},t.memoizedState=l,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=l),Sa(t,_e,i)):(i=n.cache,Sa(t,_e,i),i!==l.cache&&ns(t,[_e],a,!0))),je(e,t,t.pendingProps.children,a),t.child;case 29:throw t.pendingProps}throw Error(M(156,t.tag))}function Jt(e){e.flags|=4}function Rr(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Bb(t)){if(t=Ct.current,t!==null&&((te&4194048)===te?Yt!==null:(te&62914560)!==te&&(te&536870912)===0||t!==Yt))throw Rn=os,P1;e.flags|=8192}}function no(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?x1():536870912,e.lanes|=t,en|=t)}function An(e,t){if(!ae)switch(e.tailMode){case"hidden":t=e.tail;for(var a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?e.tail=null:a.sibling=null;break;case"collapsed":a=e.tail;for(var i=null;a!==null;)a.alternate!==null&&(i=a),a=a.sibling;i===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:i.sibling=null}}function Se(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=0,i=0;if(t)for(var l=e.child;l!==null;)a|=l.lanes|l.childLanes,i|=l.subtreeFlags&65011712,i|=l.flags&65011712,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)a|=l.lanes|l.childLanes,i|=l.subtreeFlags,i|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=i,e.childLanes=a,t}function qh(e,t,a){var i=t.pendingProps;switch(Js(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Se(t),null;case 1:return Se(t),null;case 3:return a=t.stateNode,i=null,e!==null&&(i=e.memoizedState.cache),t.memoizedState.cache!==i&&(t.flags|=2048),la(_e),$i(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(En(t)?Jt(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,br())),Se(t),null;case 26:return a=t.memoizedState,e===null?(Jt(t),a!==null?(Se(t),Rr(t,a)):(Se(t),t.flags&=-16777217)):a?a!==e.memoizedState?(Jt(t),Se(t),Rr(t,a)):(Se(t),t.flags&=-16777217):(e.memoizedProps!==i&&Jt(t),Se(t),t.flags&=-16777217),null;case 27:No(t),a=Oa.current;var l=t.type;if(e!==null&&t.stateNode!=null)e.memoizedProps!==i&&Jt(t);else{if(!i){if(t.stateNode===null)throw Error(M(166));return Se(t),null}e=Ht.current,En(t)?rr(t,e):(e=kb(l,i,a),t.stateNode=e,Jt(t))}return Se(t),null;case 5:if(No(t),a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==i&&Jt(t);else{if(!i){if(t.stateNode===null)throw Error(M(166));return Se(t),null}if(e=Ht.current,En(t))rr(t,e);else{switch(l=Ko(Oa.current),e){case 1:e=l.createElementNS("http://www.w3.org/2000/svg",a);break;case 2:e=l.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;default:switch(a){case"svg":e=l.createElementNS("http://www.w3.org/2000/svg",a);break;case"math":e=l.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;case"script":e=l.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof i.is=="string"?l.createElement("select",{is:i.is}):l.createElement("select"),i.multiple?e.multiple=!0:i.size&&(e.size=i.size);break;default:e=typeof i.is=="string"?l.createElement(a,{is:i.is}):l.createElement(a)}}e[Ie]=t,e[lt]=i;e:for(l=t.child;l!==null;){if(l.tag===5||l.tag===6)e.appendChild(l.stateNode);else if(l.tag!==4&&l.tag!==27&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===t)break e;for(;l.sibling===null;){if(l.return===null||l.return===t)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}t.stateNode=e;e:switch(Ze(e,a,i),a){case"button":case"input":case"select":case"textarea":e=!!i.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&Jt(t)}}return Se(t),t.flags&=-16777217,null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==i&&Jt(t);else{if(typeof i!="string"&&t.stateNode===null)throw Error(M(166));if(e=Oa.current,En(t)){if(e=t.stateNode,a=t.memoizedProps,i=null,l=tt,l!==null)switch(l.tag){case 27:case 5:i=l.memoizedProps}e[Ie]=t,e=!!(e.nodeValue===a||i!==null&&i.suppressHydrationWarning===!0||Db(e.nodeValue,a)),e||ai(t)}else e=Ko(e).createTextNode(i),e[Ie]=t,t.stateNode=e}return Se(t),null;case 13:if(i=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(l=En(t),i!==null&&i.dehydrated!==null){if(e===null){if(!l)throw Error(M(318));if(l=t.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(M(317));l[Ie]=t}else bl(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Se(t),l=!1}else l=br(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),l=!0;if(!l)return t.flags&256?(ia(t),t):(ia(t),null)}if(ia(t),(t.flags&128)!==0)return t.lanes=a,t;if(a=i!==null,e=e!==null&&e.memoizedState!==null,a){i=t.child,l=null,i.alternate!==null&&i.alternate.memoizedState!==null&&i.alternate.memoizedState.cachePool!==null&&(l=i.alternate.memoizedState.cachePool.pool);var n=null;i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(n=i.memoizedState.cachePool.pool),n!==l&&(i.flags|=2048)}return a!==e&&a&&(t.child.flags|=8192),no(t,t.updateQueue),Se(t),null;case 4:return $i(),e===null&&wu(t.stateNode.containerInfo),Se(t),null;case 10:return la(t.type),Se(t),null;case 19:if(Ye(ke),l=t.memoizedState,l===null)return Se(t),null;if(i=(t.flags&128)!==0,n=l.rendering,n===null)if(i)An(l,!1);else{if(qe!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(n=Bo(e),n!==null){for(t.flags|=128,An(l,!1),e=n.updateQueue,t.updateQueue=e,no(t,e),t.subtreeFlags=0,e=a,a=t.child;a!==null;)I1(a,e),a=a.sibling;return ye(ke,ke.current&1|2),t.child}e=e.sibling}l.tail!==null&&Gt()>Vo&&(t.flags|=128,i=!0,An(l,!1),t.lanes=4194304)}else{if(!i)if(e=Bo(n),e!==null){if(t.flags|=128,i=!0,e=e.updateQueue,t.updateQueue=e,no(t,e),An(l,!0),l.tail===null&&l.tailMode==="hidden"&&!n.alternate&&!ae)return Se(t),null}else 2*Gt()-l.renderingStartTime>Vo&&a!==536870912&&(t.flags|=128,i=!0,An(l,!1),t.lanes=4194304);l.isBackwards?(n.sibling=t.child,t.child=n):(e=l.last,e!==null?e.sibling=n:t.child=n,l.last=n)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=Gt(),t.sibling=null,e=ke.current,ye(ke,i?e&1|2:e&1),t):(Se(t),null);case 22:case 23:return ia(t),eu(),i=t.memoizedState!==null,e!==null?e.memoizedState!==null!==i&&(t.flags|=8192):i&&(t.flags|=8192),i?(a&536870912)!==0&&(t.flags&128)===0&&(Se(t),t.subtreeFlags&6&&(t.flags|=8192)):Se(t),a=t.updateQueue,a!==null&&no(t,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),i=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(i=t.memoizedState.cachePool.pool),i!==a&&(t.flags|=2048),e!==null&&Ye(Pa),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),la(_e),Se(t),null;case 25:return null;case 30:return null}throw Error(M(156,t.tag))}function Ah(e,t){switch(Js(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return la(_e),$i(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return No(t),null;case 13:if(ia(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(M(340));bl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ye(ke),null;case 4:return $i(),null;case 10:return la(t.type),null;case 22:case 23:return ia(t),eu(),e!==null&&Ye(Pa),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return la(_e),null;case 25:return null;default:return null}}function Jf(e,t){switch(Js(t),t.tag){case 3:la(_e),$i();break;case 26:case 27:case 5:No(t);break;case 4:$i();break;case 13:ia(t);break;case 19:Ye(ke);break;case 10:la(t.type);break;case 22:case 23:ia(t),eu(),e!==null&&Ye(Pa);break;case 24:la(_e)}}function yl(e,t){try{var a=t.updateQueue,i=a!==null?a.lastEffect:null;if(i!==null){var l=i.next;a=l;do{if((a.tag&e)===e){i=void 0;var n=a.create,o=a.inst;i=n(),o.destroy=i}a=a.next}while(a!==l)}}catch(s){re(t,t.return,s)}}function Ha(e,t,a){try{var i=t.updateQueue,l=i!==null?i.lastEffect:null;if(l!==null){var n=l.next;i=n;do{if((i.tag&e)===e){var o=i.inst,s=o.destroy;if(s!==void 0){o.destroy=void 0,l=t;var u=a,d=s;try{d()}catch(v){re(l,u,v)}}}i=i.next}while(i!==n)}}catch(v){re(t,t.return,v)}}function Ff(e){var t=e.updateQueue;if(t!==null){var a=e.stateNode;try{af(t,a)}catch(i){re(e,e.return,i)}}}function Wf(e,t,a){a.props=li(e.type,e.memoizedProps),a.state=e.memoizedState;try{a.componentWillUnmount()}catch(i){re(e,t,i)}}function Xn(e,t){try{var a=e.ref;if(a!==null){switch(e.tag){case 26:case 27:case 5:var i=e.stateNode;break;case 30:i=e.stateNode;break;default:i=e.stateNode}typeof a=="function"?e.refCleanup=a(i):a.current=i}}catch(l){re(e,t,l)}}function Bt(e,t){var a=e.ref,i=e.refCleanup;if(a!==null)if(typeof i=="function")try{i()}catch(l){re(e,t,l)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(l){re(e,t,l)}else a.current=null}function Pf(e){var t=e.type,a=e.memoizedProps,i=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&i.focus();break e;case"img":a.src?i.src=a.src:a.srcSet&&(i.srcset=a.srcSet)}}catch(l){re(e,e.return,l)}}function M0(e,t,a){try{var i=e.stateNode;jh(i,e.type,a,t),i[lt]=t}catch(l){re(e,e.return,l)}}function eb(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Xa(e.type)||e.tag===4}function O0(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||eb(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.tag===27&&Xa(e.type)||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 gs(e,t,a){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(e,t):(t=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,t.appendChild(e),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=bc));else if(i!==4&&(i===27&&Xa(e.type)&&(a=e.stateNode,t=null),e=e.child,e!==null))for(gs(e,t,a),e=e.sibling;e!==null;)gs(e,t,a),e=e.sibling}function Xo(e,t,a){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?a.insertBefore(e,t):a.appendChild(e);else if(i!==4&&(i===27&&Xa(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(Xo(e,t,a),e=e.sibling;e!==null;)Xo(e,t,a),e=e.sibling}function tb(e){var t=e.stateNode,a=e.memoizedProps;try{for(var i=e.type,l=t.attributes;l.length;)t.removeAttributeNode(l[0]);Ze(t,i,a),t[Ie]=e,t[lt]=a}catch(n){re(e,e.return,n)}}var Wt=!1,Me=!1,z0=!1,Br=typeof WeakSet=="function"?WeakSet:Set,Be=null;function Nh(e,t){if(e=e.containerInfo,As=Wo,e=Y1(e),Qs(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var i=a.getSelection&&a.getSelection();if(i&&i.rangeCount!==0){a=i.anchorNode;var l=i.anchorOffset,n=i.focusNode;i=i.focusOffset;try{a.nodeType,n.nodeType}catch{a=null;break e}var o=0,s=-1,u=-1,d=0,v=0,x=e,p=null;t:for(;;){for(var h;x!==a||l!==0&&x.nodeType!==3||(s=o+l),x!==n||i!==0&&x.nodeType!==3||(u=o+i),x.nodeType===3&&(o+=x.nodeValue.length),(h=x.firstChild)!==null;)p=x,x=h;for(;;){if(x===e)break t;if(p===a&&++d===l&&(s=o),p===n&&++v===i&&(u=o),(h=x.nextSibling)!==null)break;x=p,p=x.parentNode}x=h}a=s===-1||u===-1?null:{start:s,end:u}}else a=null}a=a||{start:0,end:0}}else a=null;for(Ns={focusedElem:e,selectionRange:a},Wo=!1,Be=t;Be!==null;)if(t=Be,e=t.child,(t.subtreeFlags&1024)!==0&&e!==null)e.return=t,Be=e;else for(;Be!==null;){switch(t=Be,n=t.alternate,e=t.flags,t.tag){case 0:break;case 11:case 15:break;case 1:if((e&1024)!==0&&n!==null){e=void 0,a=t,l=n.memoizedProps,n=n.memoizedState,i=a.stateNode;try{var E=li(a.type,l,a.elementType===a.type);e=i.getSnapshotBeforeUpdate(E,n),i.__reactInternalSnapshotBeforeUpdate=e}catch(C){re(a,a.return,C)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,a=e.nodeType,a===9)Ts(e);else if(a===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Ts(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(M(163))}if(e=t.sibling,e!==null){e.return=t.return,Be=e;break}Be=t.return}}function ab(e,t,a){var i=a.flags;switch(a.tag){case 0:case 11:case 15:va(e,a),i&4&&yl(5,a);break;case 1:if(va(e,a),i&4)if(e=a.stateNode,t===null)try{e.componentDidMount()}catch(o){re(a,a.return,o)}else{var l=li(a.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(l,t,e.__reactInternalSnapshotBeforeUpdate)}catch(o){re(a,a.return,o)}}i&64&&Ff(a),i&512&&Xn(a,a.return);break;case 3:if(va(e,a),i&64&&(e=a.updateQueue,e!==null)){if(t=null,a.child!==null)switch(a.child.tag){case 27:case 5:t=a.child.stateNode;break;case 1:t=a.child.stateNode}try{af(e,t)}catch(o){re(a,a.return,o)}}break;case 27:t===null&&i&4&&tb(a);case 26:case 5:va(e,a),t===null&&i&4&&Pf(a),i&512&&Xn(a,a.return);break;case 12:va(e,a);break;case 13:va(e,a),i&4&&lb(e,a),i&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(a=kh.bind(null,a),Fh(e,a))));break;case 22:if(i=a.memoizedState!==null||Wt,!i){t=t!==null&&t.memoizedState!==null||Me,l=Wt;var n=Me;Wt=i,(Me=t)&&!n?ya(e,a,(a.subtreeFlags&8772)!==0):va(e,a),Wt=l,Me=n}break;case 30:break;default:va(e,a)}}function ib(e){var t=e.alternate;t!==null&&(e.alternate=null,ib(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Hs(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var ve=null,it=!1;function Ft(e,t,a){for(a=a.child;a!==null;)nb(e,t,a),a=a.sibling}function nb(e,t,a){if(ft&&typeof ft.onCommitFiberUnmount=="function")try{ft.onCommitFiberUnmount(sl,a)}catch{}switch(a.tag){case 26:Me||Bt(a,t),Ft(e,t,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:Me||Bt(a,t);var i=ve,l=it;Xa(a.type)&&(ve=a.stateNode,it=!1),Ft(e,t,a),Zn(a.stateNode),ve=i,it=l;break;case 5:Me||Bt(a,t);case 6:if(i=ve,l=it,ve=null,Ft(e,t,a),ve=i,it=l,ve!==null)if(it)try{(ve.nodeType===9?ve.body:ve.nodeName==="HTML"?ve.ownerDocument.body:ve).removeChild(a.stateNode)}catch(n){re(a,t,n)}else try{ve.removeChild(a.stateNode)}catch(n){re(a,t,n)}break;case 18:ve!==null&&(it?(e=ve,Wr(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),ol(e)):Wr(ve,a.stateNode));break;case 4:i=ve,l=it,ve=a.stateNode.containerInfo,it=!0,Ft(e,t,a),ve=i,it=l;break;case 0:case 11:case 14:case 15:Me||Ha(2,a,t),Me||Ha(4,a,t),Ft(e,t,a);break;case 1:Me||(Bt(a,t),i=a.stateNode,typeof i.componentWillUnmount=="function"&&Wf(a,t,i)),Ft(e,t,a);break;case 21:Ft(e,t,a);break;case 22:Me=(i=Me)||a.memoizedState!==null,Ft(e,t,a),Me=i;break;default:Ft(e,t,a)}}function lb(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{ol(e)}catch(a){re(t,t.return,a)}}function Ch(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Br),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Br),t;default:throw Error(M(435,e.tag))}}function D0(e,t){var a=Ch(e);t.forEach(function(i){var l=Lh.bind(null,e,i);a.has(i)||(a.add(i),i.then(l,l))})}function st(e,t){var a=t.deletions;if(a!==null)for(var i=0;i<a.length;i++){var l=a[i],n=e,o=t,s=o;e:for(;s!==null;){switch(s.tag){case 27:if(Xa(s.type)){ve=s.stateNode,it=!1;break e}break;case 5:ve=s.stateNode,it=!1;break e;case 3:case 4:ve=s.stateNode.containerInfo,it=!0;break e}s=s.return}if(ve===null)throw Error(M(160));nb(n,o,l),ve=null,it=!1,n=l.alternate,n!==null&&(n.return=null),l.return=null}if(t.subtreeFlags&13878)for(t=t.child;t!==null;)ob(t,e),t=t.sibling}var Ot=null;function ob(e,t){var a=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:st(t,e),ut(e),i&4&&(Ha(3,e,e.return),yl(3,e),Ha(5,e,e.return));break;case 1:st(t,e),ut(e),i&512&&(Me||a===null||Bt(a,a.return)),i&64&&Wt&&(e=e.updateQueue,e!==null&&(i=e.callbacks,i!==null&&(a=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=a===null?i:a.concat(i))));break;case 26:var l=Ot;if(st(t,e),ut(e),i&512&&(Me||a===null||Bt(a,a.return)),i&4){var n=a!==null?a.memoizedState:null;if(i=e.memoizedState,a===null)if(i===null)if(e.stateNode===null){e:{i=e.type,a=e.memoizedProps,l=l.ownerDocument||l;t:switch(i){case"title":n=l.getElementsByTagName("title")[0],(!n||n[rl]||n[Ie]||n.namespaceURI==="http://www.w3.org/2000/svg"||n.hasAttribute("itemprop"))&&(n=l.createElement(i),l.head.insertBefore(n,l.querySelector("head > title"))),Ze(n,i,a),n[Ie]=e,He(n),i=n;break e;case"link":var o=i1("link","href",l).get(i+(a.href||""));if(o){for(var s=0;s<o.length;s++)if(n=o[s],n.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&n.getAttribute("rel")===(a.rel==null?null:a.rel)&&n.getAttribute("title")===(a.title==null?null:a.title)&&n.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){o.splice(s,1);break t}}n=l.createElement(i),Ze(n,i,a),l.head.appendChild(n);break;case"meta":if(o=i1("meta","content",l).get(i+(a.content||""))){for(s=0;s<o.length;s++)if(n=o[s],n.getAttribute("content")===(a.content==null?null:""+a.content)&&n.getAttribute("name")===(a.name==null?null:a.name)&&n.getAttribute("property")===(a.property==null?null:a.property)&&n.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&n.getAttribute("charset")===(a.charSet==null?null:a.charSet)){o.splice(s,1);break t}}n=l.createElement(i),Ze(n,i,a),l.head.appendChild(n);break;default:throw Error(M(468,i))}n[Ie]=e,He(n),i=n}e.stateNode=i}else n1(l,e.type,e.stateNode);else e.stateNode=a1(l,i,e.memoizedProps);else n!==i?(n===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):n.count--,i===null?n1(l,e.type,e.stateNode):a1(l,i,e.memoizedProps)):i===null&&e.stateNode!==null&&M0(e,e.memoizedProps,a.memoizedProps)}break;case 27:st(t,e),ut(e),i&512&&(Me||a===null||Bt(a,a.return)),a!==null&&i&4&&M0(e,e.memoizedProps,a.memoizedProps);break;case 5:if(st(t,e),ut(e),i&512&&(Me||a===null||Bt(a,a.return)),e.flags&32){l=e.stateNode;try{Ii(l,"")}catch(h){re(e,e.return,h)}}i&4&&e.stateNode!=null&&(l=e.memoizedProps,M0(e,l,a!==null?a.memoizedProps:l)),i&1024&&(z0=!0);break;case 6:if(st(t,e),ut(e),i&4){if(e.stateNode===null)throw Error(M(162));i=e.memoizedProps,a=e.stateNode;try{a.nodeValue=i}catch(h){re(e,e.return,h)}}break;case 3:if(So=null,l=Ot,Ot=Io(t.containerInfo),st(t,e),Ot=l,ut(e),i&4&&a!==null&&a.memoizedState.isDehydrated)try{ol(t.containerInfo)}catch(h){re(e,e.return,h)}z0&&(z0=!1,cb(e));break;case 4:i=Ot,Ot=Io(e.stateNode.containerInfo),st(t,e),ut(e),Ot=i;break;case 12:st(t,e),ut(e);break;case 13:st(t,e),ut(e),e.child.flags&8192&&e.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(vu=Gt()),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,D0(e,i)));break;case 22:l=e.memoizedState!==null;var u=a!==null&&a.memoizedState!==null,d=Wt,v=Me;if(Wt=d||l,Me=v||u,st(t,e),Me=v,Wt=d,ut(e),i&8192)e:for(t=e.stateNode,t._visibility=l?t._visibility&-2:t._visibility|1,l&&(a===null||u||Wt||Me||Ka(e)),a=null,t=e;;){if(t.tag===5||t.tag===26){if(a===null){u=a=t;try{if(n=u.stateNode,l)o=n.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none";else{s=u.stateNode;var x=u.memoizedProps.style,p=x!=null&&x.hasOwnProperty("display")?x.display:null;s.style.display=p==null||typeof p=="boolean"?"":(""+p).trim()}}catch(h){re(u,u.return,h)}}}else if(t.tag===6){if(a===null){u=t;try{u.stateNode.nodeValue=l?"":u.memoizedProps}catch(h){re(u,u.return,h)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;a===t&&(a=null),t=t.return}a===t&&(a=null),t.sibling.return=t.return,t=t.sibling}i&4&&(i=e.updateQueue,i!==null&&(a=i.retryQueue,a!==null&&(i.retryQueue=null,D0(e,a))));break;case 19:st(t,e),ut(e),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,D0(e,i)));break;case 30:break;case 21:break;default:st(t,e),ut(e)}}function ut(e){var t=e.flags;if(t&2){try{for(var a,i=e.return;i!==null;){if(eb(i)){a=i;break}i=i.return}if(a==null)throw Error(M(160));switch(a.tag){case 27:var l=a.stateNode,n=O0(e);Xo(e,n,l);break;case 5:var o=a.stateNode;a.flags&32&&(Ii(o,""),a.flags&=-33);var s=O0(e);Xo(e,s,o);break;case 3:case 4:var u=a.stateNode.containerInfo,d=O0(e);gs(e,d,u);break;default:throw Error(M(161))}}catch(v){re(e,e.return,v)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function cb(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;cb(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function va(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)ab(e,t.alternate,t),t=t.sibling}function Ka(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Ha(4,t,t.return),Ka(t);break;case 1:Bt(t,t.return);var a=t.stateNode;typeof a.componentWillUnmount=="function"&&Wf(t,t.return,a),Ka(t);break;case 27:Zn(t.stateNode);case 26:case 5:Bt(t,t.return),Ka(t);break;case 22:t.memoizedState===null&&Ka(t);break;case 30:Ka(t);break;default:Ka(t)}e=e.sibling}}function ya(e,t,a){for(a=a&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var i=t.alternate,l=e,n=t,o=n.flags;switch(n.tag){case 0:case 11:case 15:ya(l,n,a),yl(4,n);break;case 1:if(ya(l,n,a),i=n,l=i.stateNode,typeof l.componentDidMount=="function")try{l.componentDidMount()}catch(d){re(i,i.return,d)}if(i=n,l=i.updateQueue,l!==null){var s=i.stateNode;try{var u=l.shared.hiddenCallbacks;if(u!==null)for(l.shared.hiddenCallbacks=null,l=0;l<u.length;l++)tf(u[l],s)}catch(d){re(i,i.return,d)}}a&&o&64&&Ff(n),Xn(n,n.return);break;case 27:tb(n);case 26:case 5:ya(l,n,a),a&&i===null&&o&4&&Pf(n),Xn(n,n.return);break;case 12:ya(l,n,a);break;case 13:ya(l,n,a),a&&o&4&&lb(l,n);break;case 22:n.memoizedState===null&&ya(l,n,a),Xn(n,n.return);break;case 30:break;default:ya(l,n,a)}t=t.sibling}}function mu(e,t){var a=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==a&&(e!=null&&e.refCount++,a!=null&&pl(a))}function pu(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&pl(e))}function Lt(e,t,a,i){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)sb(e,t,a,i),t=t.sibling}function sb(e,t,a,i){var l=t.flags;switch(t.tag){case 0:case 11:case 15:Lt(e,t,a,i),l&2048&&yl(9,t);break;case 1:Lt(e,t,a,i);break;case 3:Lt(e,t,a,i),l&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&pl(e)));break;case 12:if(l&2048){Lt(e,t,a,i),e=t.stateNode;try{var n=t.memoizedProps,o=n.id,s=n.onPostCommit;typeof s=="function"&&s(o,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(u){re(t,t.return,u)}}else Lt(e,t,a,i);break;case 13:Lt(e,t,a,i);break;case 23:break;case 22:n=t.stateNode,o=t.alternate,t.memoizedState!==null?n._visibility&2?Lt(e,t,a,i):Vn(e,t):n._visibility&2?Lt(e,t,a,i):(n._visibility|=2,Ai(e,t,a,i,(t.subtreeFlags&10256)!==0)),l&2048&&mu(o,t);break;case 24:Lt(e,t,a,i),l&2048&&pu(t.alternate,t);break;default:Lt(e,t,a,i)}}function Ai(e,t,a,i,l){for(l=l&&(t.subtreeFlags&10256)!==0,t=t.child;t!==null;){var n=e,o=t,s=a,u=i,d=o.flags;switch(o.tag){case 0:case 11:case 15:Ai(n,o,s,u,l),yl(8,o);break;case 23:break;case 22:var v=o.stateNode;o.memoizedState!==null?v._visibility&2?Ai(n,o,s,u,l):Vn(n,o):(v._visibility|=2,Ai(n,o,s,u,l)),l&&d&2048&&mu(o.alternate,o);break;case 24:Ai(n,o,s,u,l),l&&d&2048&&pu(o.alternate,o);break;default:Ai(n,o,s,u,l)}t=t.sibling}}function Vn(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var a=e,i=t,l=i.flags;switch(i.tag){case 22:Vn(a,i),l&2048&&mu(i.alternate,i);break;case 24:Vn(a,i),l&2048&&pu(i.alternate,i);break;default:Vn(a,i)}t=t.sibling}}var Dn=8192;function Si(e){if(e.subtreeFlags&Dn)for(e=e.child;e!==null;)ub(e),e=e.sibling}function ub(e){switch(e.tag){case 26:Si(e),e.flags&Dn&&e.memoizedState!==null&&d6(Ot,e.memoizedState,e.memoizedProps);break;case 5:Si(e);break;case 3:case 4:var t=Ot;Ot=Io(e.stateNode.containerInfo),Si(e),Ot=t;break;case 22:e.memoizedState===null&&(t=e.alternate,t!==null&&t.memoizedState!==null?(t=Dn,Dn=16777216,Si(e),Dn=t):Si(e));break;default:Si(e)}}function db(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Nn(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var i=t[a];Be=i,fb(i,e)}db(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)rb(e),e=e.sibling}function rb(e){switch(e.tag){case 0:case 11:case 15:Nn(e),e.flags&2048&&Ha(9,e,e.return);break;case 3:Nn(e);break;case 12:Nn(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,xo(e)):Nn(e);break;default:Nn(e)}}function xo(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var i=t[a];Be=i,fb(i,e)}db(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Ha(8,t,t.return),xo(t);break;case 22:a=t.stateNode,a._visibility&2&&(a._visibility&=-3,xo(t));break;default:xo(t)}e=e.sibling}}function fb(e,t){for(;Be!==null;){var a=Be;switch(a.tag){case 0:case 11:case 15:Ha(8,a,t);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var i=a.memoizedState.cachePool.pool;i!=null&&i.refCount++}break;case 24:pl(a.memoizedState.cache)}if(i=a.child,i!==null)i.return=a,Be=i;else e:for(a=e;Be!==null;){i=Be;var l=i.sibling,n=i.return;if(ib(i),i===a){Be=null;break e}if(l!==null){l.return=n,Be=l;break e}Be=n}}}var Th={getCacheForType:function(e){var t=Je(_e),a=t.data.get(e);return a===void 0&&(a=e(),t.data.set(e,a)),a}},Mh=typeof WeakMap=="function"?WeakMap:Map,oe=0,me=null,P=null,te=0,le=0,dt=null,Ta=!1,sn=!1,hu=!1,ua=0,qe=0,Ga=0,ei=0,gu=0,Nt=0,en=0,jn=null,nt=null,vs=!1,vu=0,Vo=1/0,jo=null,Ua=null,Qe=0,_a=null,tn=null,Zi=0,ys=0,xs=null,bb=null,Qn=0,ws=null;function mt(){if((oe&2)!==0&&te!==0)return te&-te;if(j.T!==null){var e=Ji;return e!==0?e:xu()}return E1()}function mb(){Nt===0&&(Nt=(te&536870912)===0||ae?y1():536870912);var e=Ct.current;return e!==null&&(e.flags|=32),Nt}function pt(e,t,a){(e===me&&(le===2||le===9)||e.cancelPendingCommit!==null)&&(an(e,0),Ma(e,te,Nt,!1)),dl(e,a),((oe&2)===0||e!==me)&&(e===me&&((oe&2)===0&&(ei|=a),qe===4&&Ma(e,te,Nt,!1)),Vt(e))}function pb(e,t,a){if((oe&6)!==0)throw Error(M(327));var i=!a&&(t&124)===0&&(t&e.expiredLanes)===0||ul(e,t),l=i?Dh(e,t):U0(e,t,!0),n=i;do{if(l===0){sn&&!i&&Ma(e,t,0,!1);break}else{if(a=e.current.alternate,n&&!Oh(a)){l=U0(e,t,!1),n=!1;continue}if(l===2){if(n=t,e.errorRecoveryDisabledLanes&n)var o=0;else o=e.pendingLanes&-536870913,o=o!==0?o:o&536870912?536870912:0;if(o!==0){t=o;e:{var s=e;l=jn;var u=s.current.memoizedState.isDehydrated;if(u&&(an(s,o).flags|=256),o=U0(s,o,!1),o!==2){if(hu&&!u){s.errorRecoveryDisabledLanes|=n,ei|=n,l=4;break e}n=nt,nt=l,n!==null&&(nt===null?nt=n:nt.push.apply(nt,n))}l=o}if(n=!1,l!==2)continue}}if(l===1){an(e,0),Ma(e,t,0,!0);break}e:{switch(i=e,n=l,n){case 0:case 1:throw Error(M(345));case 4:if((t&4194048)!==t)break;case 6:Ma(i,t,Nt,!Ta);break e;case 2:nt=null;break;case 3:case 5:break;default:throw Error(M(329))}if((t&62914560)===t&&(l=vu+300-Gt(),10<l)){if(Ma(i,t,Nt,!Ta),ec(i,0,!0)!==0)break e;i.timeoutHandle=_b(Hr.bind(null,i,a,nt,jo,vs,t,Nt,ei,en,Ta,n,2,-0,0),l);break e}Hr(i,a,nt,jo,vs,t,Nt,ei,en,Ta,n,0,-0,0)}}break}while(!0);Vt(e)}function Hr(e,t,a,i,l,n,o,s,u,d,v,x,p,h){if(e.timeoutHandle=-1,x=t.subtreeFlags,(x&8192||(x&16785408)===16785408)&&(al={stylesheets:null,count:0,unsuspend:u6},ub(t),x=r6(),x!==null)){e.cancelPendingCommit=x(Yr.bind(null,e,t,n,a,i,l,o,s,u,v,1,p,h)),Ma(e,n,o,!d);return}Yr(e,t,n,a,i,l,o,s,u)}function Oh(e){for(var t=e;;){var a=t.tag;if((a===0||a===11||a===15)&&t.flags&16384&&(a=t.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var i=0;i<a.length;i++){var l=a[i],n=l.getSnapshot;l=l.value;try{if(!ht(n(),l))return!1}catch{return!1}}if(a=t.child,t.subtreeFlags&16384&&a!==null)a.return=t,t=a;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Ma(e,t,a,i){t&=~gu,t&=~ei,e.suspendedLanes|=t,e.pingedLanes&=~t,i&&(e.warmLanes|=t),i=e.expirationTimes;for(var l=t;0<l;){var n=31-bt(l),o=1<<n;i[n]=-1,l&=~o}a!==0&&w1(e,a,t)}function dc(){return(oe&6)===0?(xl(0,!1),!1):!0}function yu(){if(P!==null){if(le===0)var e=P.return;else e=P,aa=ui=null,lu(e),Qi=null,Pn=0,e=P;for(;e!==null;)Jf(e.alternate,e),e=e.return;P=null}}function an(e,t){var a=e.timeoutHandle;a!==-1&&(e.timeoutHandle=-1,Zh(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),yu(),me=e,P=a=na(e.current,null),te=t,le=0,dt=null,Ta=!1,sn=ul(e,t),hu=!1,en=Nt=gu=ei=Ga=qe=0,nt=jn=null,vs=!1,(t&8)!==0&&(t|=t&32);var i=e.entangledLanes;if(i!==0)for(e=e.entanglements,i&=t;0<i;){var l=31-bt(i),n=1<<l;t|=e[l],i&=~n}return ua=t,nc(),a}function hb(e,t){I=null,j.H=Ro,t===hl||t===oc?(t=gr(),le=3):t===P1?(t=gr(),le=4):le=t===jf?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,dt=t,P===null&&(qe=1,Go(e,At(t,e.current)))}function gb(){var e=j.H;return j.H=Ro,e===null?Ro:e}function vb(){var e=j.A;return j.A=Th,e}function Ss(){qe=4,Ta||(te&4194048)!==te&&Ct.current!==null||(sn=!0),(Ga&134217727)===0&&(ei&134217727)===0||me===null||Ma(me,te,Nt,!1)}function U0(e,t,a){var i=oe;oe|=2;var l=gb(),n=vb();(me!==e||te!==t)&&(jo=null,an(e,t)),t=!1;var o=qe;e:do try{if(le!==0&&P!==null){var s=P,u=dt;switch(le){case 8:yu(),o=6;break e;case 3:case 2:case 9:case 6:Ct.current===null&&(t=!0);var d=le;if(le=0,dt=null,Bi(e,s,u,d),a&&sn){o=0;break e}break;default:d=le,le=0,dt=null,Bi(e,s,u,d)}}zh(),o=qe;break}catch(v){hb(e,v)}while(!0);return t&&e.shellSuspendCounter++,aa=ui=null,oe=i,j.H=l,j.A=n,P===null&&(me=null,te=0,nc()),o}function zh(){for(;P!==null;)yb(P)}function Dh(e,t){var a=oe;oe|=2;var i=gb(),l=vb();me!==e||te!==t?(jo=null,Vo=Gt()+500,an(e,t)):sn=ul(e,t);e:do try{if(le!==0&&P!==null){t=P;var n=dt;t:switch(le){case 1:le=0,dt=null,Bi(e,t,n,1);break;case 2:case 9:if(hr(n)){le=0,dt=null,Gr(t);break}t=function(){le!==2&&le!==9||me!==e||(le=7),Vt(e)},n.then(t,t);break e;case 3:le=7;break e;case 4:le=5;break e;case 7:hr(n)?(le=0,dt=null,Gr(t)):(le=0,dt=null,Bi(e,t,n,7));break;case 5:var o=null;switch(P.tag){case 26:o=P.memoizedState;case 5:case 27:var s=P;if(!o||Bb(o)){le=0,dt=null;var u=s.sibling;if(u!==null)P=u;else{var d=s.return;d!==null?(P=d,rc(d)):P=null}break t}}le=0,dt=null,Bi(e,t,n,5);break;case 6:le=0,dt=null,Bi(e,t,n,6);break;case 8:yu(),qe=6;break e;default:throw Error(M(462))}}Uh();break}catch(v){hb(e,v)}while(!0);return aa=ui=null,j.H=i,j.A=l,oe=a,P!==null?0:(me=null,te=0,nc(),qe)}function Uh(){for(;P!==null&&!tp();)yb(P)}function yb(e){var t=If(e.alternate,e,ua);e.memoizedProps=e.pendingProps,t===null?rc(e):P=t}function Gr(e){var t=e,a=t.alternate;switch(t.tag){case 15:case 0:t=Ur(a,t,t.pendingProps,t.type,void 0,te);break;case 11:t=Ur(a,t,t.pendingProps,t.type.render,t.ref,te);break;case 5:lu(t);default:Jf(a,t),t=P=I1(t,ua),t=If(a,t,ua)}e.memoizedProps=e.pendingProps,t===null?rc(e):P=t}function Bi(e,t,a,i){aa=ui=null,lu(t),Qi=null,Pn=0;var l=t.return;try{if(Sh(e,l,t,a,te)){qe=1,Go(e,At(a,e.current)),P=null;return}}catch(n){if(l!==null)throw P=l,n;qe=1,Go(e,At(a,e.current)),P=null;return}t.flags&32768?(ae||i===1?e=!0:sn||(te&536870912)!==0?e=!1:(Ta=e=!0,(i===2||i===9||i===3||i===6)&&(i=Ct.current,i!==null&&i.tag===13&&(i.flags|=16384))),xb(t,e)):rc(t)}function rc(e){var t=e;do{if((t.flags&32768)!==0){xb(t,Ta);return}e=t.return;var a=qh(t.alternate,t,ua);if(a!==null){P=a;return}if(t=t.sibling,t!==null){P=t;return}P=t=e}while(t!==null);qe===0&&(qe=5)}function xb(e,t){do{var a=Ah(e.alternate,e);if(a!==null){a.flags&=32767,P=a;return}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!t&&(e=e.sibling,e!==null)){P=e;return}P=e=a}while(e!==null);qe=6,P=null}function Yr(e,t,a,i,l,n,o,s,u){e.cancelPendingCommit=null;do fc();while(Qe!==0);if((oe&6)!==0)throw Error(M(327));if(t!==null){if(t===e.current)throw Error(M(177));if(n=t.lanes|t.childLanes,n|=Zs,rp(e,a,n,o,s,u),e===me&&(P=me=null,te=0),tn=t,_a=e,Zi=a,ys=n,xs=l,bb=i,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,Rh(Co,function(){return Ab(!0),null})):(e.callbackNode=null,e.callbackPriority=0),i=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||i){i=j.T,j.T=null,l=ie.p,ie.p=2,o=oe,oe|=4;try{Nh(e,t,a)}finally{oe=o,ie.p=l,j.T=i}}Qe=1,wb(),Sb(),Eb()}}function wb(){if(Qe===1){Qe=0;var e=_a,t=tn,a=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||a){a=j.T,j.T=null;var i=ie.p;ie.p=2;var l=oe;oe|=4;try{ob(t,e);var n=Ns,o=Y1(e.containerInfo),s=n.focusedElem,u=n.selectionRange;if(o!==s&&s&&s.ownerDocument&&G1(s.ownerDocument.documentElement,s)){if(u!==null&&Qs(s)){var d=u.start,v=u.end;if(v===void 0&&(v=d),"selectionStart"in s)s.selectionStart=d,s.selectionEnd=Math.min(v,s.value.length);else{var x=s.ownerDocument||document,p=x&&x.defaultView||window;if(p.getSelection){var h=p.getSelection(),E=s.textContent.length,C=Math.min(u.start,E),N=u.end===void 0?C:Math.min(u.end,E);!h.extend&&C>N&&(o=N,N=C,C=o);var f=sr(s,C),r=sr(s,N);if(f&&r&&(h.rangeCount!==1||h.anchorNode!==f.node||h.anchorOffset!==f.offset||h.focusNode!==r.node||h.focusOffset!==r.offset)){var g=x.createRange();g.setStart(f.node,f.offset),h.removeAllRanges(),C>N?(h.addRange(g),h.extend(r.node,r.offset)):(g.setEnd(r.node,r.offset),h.addRange(g))}}}}for(x=[],h=s;h=h.parentNode;)h.nodeType===1&&x.push({element:h,left:h.scrollLeft,top:h.scrollTop});for(typeof s.focus=="function"&&s.focus(),s=0;s<x.length;s++){var w=x[s];w.element.scrollLeft=w.left,w.element.scrollTop=w.top}}Wo=!!As,Ns=As=null}finally{oe=l,ie.p=i,j.T=a}}e.current=t,Qe=2}}function Sb(){if(Qe===2){Qe=0;var e=_a,t=tn,a=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||a){a=j.T,j.T=null;var i=ie.p;ie.p=2;var l=oe;oe|=4;try{ab(e,t.alternate,t)}finally{oe=l,ie.p=i,j.T=a}}Qe=3}}function Eb(){if(Qe===4||Qe===3){Qe=0,ap();var e=_a,t=tn,a=Zi,i=bb;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?Qe=5:(Qe=0,tn=_a=null,qb(e,e.pendingLanes));var l=e.pendingLanes;if(l===0&&(Ua=null),Bs(a),t=t.stateNode,ft&&typeof ft.onCommitFiberRoot=="function")try{ft.onCommitFiberRoot(sl,t,void 0,(t.current.flags&128)===128)}catch{}if(i!==null){t=j.T,l=ie.p,ie.p=2,j.T=null;try{for(var n=e.onRecoverableError,o=0;o<i.length;o++){var s=i[o];n(s.value,{componentStack:s.stack})}}finally{j.T=t,ie.p=l}}(Zi&3)!==0&&fc(),Vt(e),l=e.pendingLanes,(a&4194090)!==0&&(l&42)!==0?e===ws?Qn++:(Qn=0,ws=e):Qn=0,xl(0,!1)}}function qb(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,pl(t)))}function fc(e){return wb(),Sb(),Eb(),Ab(e)}function Ab(){if(Qe!==5)return!1;var e=_a,t=ys;ys=0;var a=Bs(Zi),i=j.T,l=ie.p;try{ie.p=32>a?32:a,j.T=null,a=xs,xs=null;var n=_a,o=Zi;if(Qe=0,tn=_a=null,Zi=0,(oe&6)!==0)throw Error(M(331));var s=oe;if(oe|=4,rb(n.current),sb(n,n.current,o,a),oe=s,xl(0,!1),ft&&typeof ft.onPostCommitFiberRoot=="function")try{ft.onPostCommitFiberRoot(sl,n)}catch{}return!0}finally{ie.p=l,j.T=i,qb(e,t)}}function Xr(e,t,a){t=At(a,t),t=ms(e.stateNode,t,2),e=Da(e,t,2),e!==null&&(dl(e,2),Vt(e))}function re(e,t,a){if(e.tag===3)Xr(e,e,a);else for(;t!==null;){if(t.tag===3){Xr(t,e,a);break}else if(t.tag===1){var i=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(Ua===null||!Ua.has(i))){e=At(a,e),a=Xf(2),i=Da(t,a,2),i!==null&&(Vf(a,i,t,e),dl(i,2),Vt(i));break}}t=t.return}}function _0(e,t,a){var i=e.pingCache;if(i===null){i=e.pingCache=new Mh;var l=new Set;i.set(t,l)}else l=i.get(t),l===void 0&&(l=new Set,i.set(t,l));l.has(a)||(hu=!0,l.add(a),e=_h.bind(null,e,t,a),t.then(e,e))}function _h(e,t,a){var i=e.pingCache;i!==null&&i.delete(t),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,me===e&&(te&a)===a&&(qe===4||qe===3&&(te&62914560)===te&&300>Gt()-vu?(oe&2)===0&&an(e,0):gu|=a,en===te&&(en=0)),Vt(e)}function Nb(e,t){t===0&&(t=x1()),e=cn(e,t),e!==null&&(dl(e,t),Vt(e))}function kh(e){var t=e.memoizedState,a=0;t!==null&&(a=t.retryLane),Nb(e,a)}function Lh(e,t){var a=0;switch(e.tag){case 13:var i=e.stateNode,l=e.memoizedState;l!==null&&(a=l.retryLane);break;case 19:i=e.stateNode;break;case 22:i=e.stateNode._retryCache;break;default:throw Error(M(314))}i!==null&&i.delete(t),Nb(e,a)}function Rh(e,t){return Ls(e,t)}var Qo=null,Ni=null,Es=!1,Zo=!1,k0=!1,ti=0;function Vt(e){e!==Ni&&e.next===null&&(Ni===null?Qo=Ni=e:Ni=Ni.next=e),Zo=!0,Es||(Es=!0,Hh())}function xl(e,t){if(!k0&&Zo){k0=!0;do for(var a=!1,i=Qo;i!==null;){if(!t)if(e!==0){var l=i.pendingLanes;if(l===0)var n=0;else{var o=i.suspendedLanes,s=i.pingedLanes;n=(1<<31-bt(42|e)+1)-1,n&=l&~(o&~s),n=n&201326741?n&201326741|1:n?n|2:0}n!==0&&(a=!0,Vr(i,n))}else n=te,n=ec(i,i===me?n:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),(n&3)===0||ul(i,n)||(a=!0,Vr(i,n));i=i.next}while(a);k0=!1}}function Bh(){Cb()}function Cb(){Zo=Es=!1;var e=0;ti!==0&&(Qh()&&(e=ti),ti=0);for(var t=Gt(),a=null,i=Qo;i!==null;){var l=i.next,n=Tb(i,t);n===0?(i.next=null,a===null?Qo=l:a.next=l,l===null&&(Ni=a)):(a=i,(e!==0||(n&3)!==0)&&(Zo=!0)),i=l}xl(e,!1)}function Tb(e,t){for(var a=e.suspendedLanes,i=e.pingedLanes,l=e.expirationTimes,n=e.pendingLanes&-62914561;0<n;){var o=31-bt(n),s=1<<o,u=l[o];u===-1?((s&a)===0||(s&i)!==0)&&(l[o]=dp(s,t)):u<=t&&(e.expiredLanes|=s),n&=~s}if(t=me,a=te,a=ec(e,e===t?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),i=e.callbackNode,a===0||e===t&&(le===2||le===9)||e.cancelPendingCommit!==null)return i!==null&&i!==null&&s0(i),e.callbackNode=null,e.callbackPriority=0;if((a&3)===0||ul(e,a)){if(t=a&-a,t===e.callbackPriority)return t;switch(i!==null&&s0(i),Bs(a)){case 2:case 8:a=g1;break;case 32:a=Co;break;case 268435456:a=v1;break;default:a=Co}return i=Mb.bind(null,e),a=Ls(a,i),e.callbackPriority=t,e.callbackNode=a,t}return i!==null&&i!==null&&s0(i),e.callbackPriority=2,e.callbackNode=null,2}function Mb(e,t){if(Qe!==0&&Qe!==5)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(fc(!0)&&e.callbackNode!==a)return null;var i=te;return i=ec(e,e===me?i:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),i===0?null:(pb(e,i,t),Tb(e,Gt()),e.callbackNode!=null&&e.callbackNode===a?Mb.bind(null,e):null)}function Vr(e,t){if(fc())return null;pb(e,t,!0)}function Hh(){$h(function(){(oe&6)!==0?Ls(h1,Bh):Cb()})}function xu(){return ti===0&&(ti=y1()),ti}function jr(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:fo(""+e)}function Qr(e,t){var a=t.ownerDocument.createElement("input");return a.name=t.name,a.value=t.value,e.id&&a.setAttribute("form",e.id),t.parentNode.insertBefore(a,t),e=new FormData(e),a.parentNode.removeChild(a),e}function Gh(e,t,a,i,l){if(t==="submit"&&a&&a.stateNode===l){var n=jr((l[lt]||null).action),o=i.submitter;o&&(t=(t=o[lt]||null)?jr(t.formAction):o.getAttribute("formAction"),t!==null&&(n=t,o=null));var s=new tc("action","action",null,i,l);e.push({event:s,listeners:[{instance:null,listener:function(){if(i.defaultPrevented){if(ti!==0){var u=o?Qr(l,o):new FormData(l);fs(a,{pending:!0,data:u,method:l.method,action:n},null,u)}}else typeof n=="function"&&(s.preventDefault(),u=o?Qr(l,o):new FormData(l),fs(a,{pending:!0,data:u,method:l.method,action:n},n,u))},currentTarget:l}]})}}for(lo=0;lo<es.length;lo++)oo=es[lo],Zr=oo.toLowerCase(),$r=oo[0].toUpperCase()+oo.slice(1),Dt(Zr,"on"+$r);var oo,Zr,$r,lo;Dt(V1,"onAnimationEnd");Dt(j1,"onAnimationIteration");Dt(Q1,"onAnimationStart");Dt("dblclick","onDoubleClick");Dt("focusin","onFocus");Dt("focusout","onBlur");Dt(lh,"onTransitionRun");Dt(oh,"onTransitionStart");Dt(ch,"onTransitionCancel");Dt(Z1,"onTransitionEnd");Ki("onMouseEnter",["mouseout","mouseover"]);Ki("onMouseLeave",["mouseout","mouseover"]);Ki("onPointerEnter",["pointerout","pointerover"]);Ki("onPointerLeave",["pointerout","pointerover"]);oi("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));oi("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));oi("onBeforeInput",["compositionend","keypress","textInput","paste"]);oi("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));oi("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));oi("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var el="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Yh=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(el));function Ob(e,t){t=(t&4)!==0;for(var a=0;a<e.length;a++){var i=e[a],l=i.event;i=i.listeners;e:{var n=void 0;if(t)for(var o=i.length-1;0<=o;o--){var s=i[o],u=s.instance,d=s.currentTarget;if(s=s.listener,u!==n&&l.isPropagationStopped())break e;n=s,l.currentTarget=d;try{n(l)}catch(v){Ho(v)}l.currentTarget=null,n=u}else for(o=0;o<i.length;o++){if(s=i[o],u=s.instance,d=s.currentTarget,s=s.listener,u!==n&&l.isPropagationStopped())break e;n=s,l.currentTarget=d;try{n(l)}catch(v){Ho(v)}l.currentTarget=null,n=u}}}}function W(e,t){var a=t[$0];a===void 0&&(a=t[$0]=new Set);var i=e+"__bubble";a.has(i)||(zb(t,e,2,!1),a.add(i))}function L0(e,t,a){var i=0;t&&(i|=4),zb(a,e,i,t)}var co="_reactListening"+Math.random().toString(36).slice(2);function wu(e){if(!e[co]){e[co]=!0,q1.forEach(function(a){a!=="selectionchange"&&(Yh.has(a)||L0(a,!1,e),L0(a,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[co]||(t[co]=!0,L0("selectionchange",!1,t))}}function zb(e,t,a,i){switch(Vb(t)){case 2:var l=m6;break;case 8:l=p6;break;default:l=Au}a=l.bind(null,t,a,e),l=void 0,!F0||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(l=!0),i?l!==void 0?e.addEventListener(t,a,{capture:!0,passive:l}):e.addEventListener(t,a,!0):l!==void 0?e.addEventListener(t,a,{passive:l}):e.addEventListener(t,a,!1)}function R0(e,t,a,i,l){var n=i;if((t&1)===0&&(t&2)===0&&i!==null)e:for(;;){if(i===null)return;var o=i.tag;if(o===3||o===4){var s=i.stateNode.containerInfo;if(s===l)break;if(o===4)for(o=i.return;o!==null;){var u=o.tag;if((u===3||u===4)&&o.stateNode.containerInfo===l)return;o=o.return}for(;s!==null;){if(o=Mi(s),o===null)return;if(u=o.tag,u===5||u===6||u===26||u===27){i=n=o;continue e}s=s.parentNode}}i=i.return}D1(function(){var d=n,v=Ys(a),x=[];e:{var p=$1.get(e);if(p!==void 0){var h=tc,E=e;switch(e){case"keypress":if(mo(a)===0)break e;case"keydown":case"keyup":h=Rp;break;case"focusin":E="focus",h=h0;break;case"focusout":E="blur",h=h0;break;case"beforeblur":case"afterblur":h=h0;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":h=Pd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":h=Ap;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":h=Gp;break;case V1:case j1:case Q1:h=Tp;break;case Z1:h=Xp;break;case"scroll":case"scrollend":h=Ep;break;case"wheel":h=jp;break;case"copy":case"cut":case"paste":h=Op;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":h=tr;break;case"toggle":case"beforetoggle":h=Zp}var C=(t&4)!==0,N=!C&&(e==="scroll"||e==="scrollend"),f=C?p!==null?p+"Capture":null:p;C=[];for(var r=d,g;r!==null;){var w=r;if(g=w.stateNode,w=w.tag,w!==5&&w!==26&&w!==27||g===null||f===null||(w=Kn(r,f),w!=null&&C.push(tl(r,w,g))),N)break;r=r.return}0<C.length&&(p=new h(p,E,null,a,v),x.push({event:p,listeners:C}))}}if((t&7)===0){e:{if(p=e==="mouseover"||e==="pointerover",h=e==="mouseout"||e==="pointerout",p&&a!==J0&&(E=a.relatedTarget||a.fromElement)&&(Mi(E)||E[ln]))break e;if((h||p)&&(p=v.window===v?v:(p=v.ownerDocument)?p.defaultView||p.parentWindow:window,h?(E=a.relatedTarget||a.toElement,h=d,E=E?Mi(E):null,E!==null&&(N=cl(E),C=E.tag,E!==N||C!==5&&C!==27&&C!==6)&&(E=null)):(h=null,E=d),h!==E)){if(C=Pd,w="onMouseLeave",f="onMouseEnter",r="mouse",(e==="pointerout"||e==="pointerover")&&(C=tr,w="onPointerLeave",f="onPointerEnter",r="pointer"),N=h==null?p:zn(h),g=E==null?p:zn(E),p=new C(w,r+"leave",h,a,v),p.target=N,p.relatedTarget=g,w=null,Mi(v)===d&&(C=new C(f,r+"enter",E,a,v),C.target=g,C.relatedTarget=N,w=C),N=w,h&&E)t:{for(C=h,f=E,r=0,g=C;g;g=Ei(g))r++;for(g=0,w=f;w;w=Ei(w))g++;for(;0<r-g;)C=Ei(C),r--;for(;0<g-r;)f=Ei(f),g--;for(;r--;){if(C===f||f!==null&&C===f.alternate)break t;C=Ei(C),f=Ei(f)}C=null}else C=null;h!==null&&Kr(x,p,h,C,!1),E!==null&&N!==null&&Kr(x,N,E,C,!0)}}e:{if(p=d?zn(d):window,h=p.nodeName&&p.nodeName.toLowerCase(),h==="select"||h==="input"&&p.type==="file")var S=lr;else if(nr(p))if(B1)S=ah;else{S=eh;var z=Pp}else h=p.nodeName,!h||h.toLowerCase()!=="input"||p.type!=="checkbox"&&p.type!=="radio"?d&&Gs(d.elementType)&&(S=lr):S=th;if(S&&(S=S(e,d))){R1(x,S,a,v);break e}z&&z(e,p,d),e==="focusout"&&d&&p.type==="number"&&d.memoizedProps.value!=null&&I0(p,"number",p.value)}switch(z=d?zn(d):window,e){case"focusin":(nr(z)||z.contentEditable==="true")&&(Di=z,W0=d,kn=null);break;case"focusout":kn=W0=Di=null;break;case"mousedown":P0=!0;break;case"contextmenu":case"mouseup":case"dragend":P0=!1,ur(x,a,v);break;case"selectionchange":if(nh)break;case"keydown":case"keyup":ur(x,a,v)}var q;if(js)e:{switch(e){case"compositionstart":var k="onCompositionStart";break e;case"compositionend":k="onCompositionEnd";break e;case"compositionupdate":k="onCompositionUpdate";break e}k=void 0}else zi?k1(e,a)&&(k="onCompositionEnd"):e==="keydown"&&a.keyCode===229&&(k="onCompositionStart");k&&(_1&&a.locale!=="ko"&&(zi||k!=="onCompositionStart"?k==="onCompositionEnd"&&zi&&(q=U1()):(Ca=v,Xs="value"in Ca?Ca.value:Ca.textContent,zi=!0)),z=$o(d,k),0<z.length&&(k=new er(k,e,null,a,v),x.push({event:k,listeners:z}),q?k.data=q:(q=L1(a),q!==null&&(k.data=q)))),(q=Kp?Ip(e,a):Jp(e,a))&&(k=$o(d,"onBeforeInput"),0<k.length&&(z=new er("onBeforeInput","beforeinput",null,a,v),x.push({event:z,listeners:k}),z.data=q)),Gh(x,e,d,a,v)}Ob(x,t)})}function tl(e,t,a){return{instance:e,listener:t,currentTarget:a}}function $o(e,t){for(var a=t+"Capture",i=[];e!==null;){var l=e,n=l.stateNode;if(l=l.tag,l!==5&&l!==26&&l!==27||n===null||(l=Kn(e,a),l!=null&&i.unshift(tl(e,l,n)),l=Kn(e,t),l!=null&&i.push(tl(e,l,n))),e.tag===3)return i;e=e.return}return[]}function Ei(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Kr(e,t,a,i,l){for(var n=t._reactName,o=[];a!==null&&a!==i;){var s=a,u=s.alternate,d=s.stateNode;if(s=s.tag,u!==null&&u===i)break;s!==5&&s!==26&&s!==27||d===null||(u=d,l?(d=Kn(a,n),d!=null&&o.unshift(tl(a,d,u))):l||(d=Kn(a,n),d!=null&&o.push(tl(a,d,u)))),a=a.return}o.length!==0&&e.push({event:t,listeners:o})}var Xh=/\r\n?/g,Vh=/\u0000|\uFFFD/g;function Ir(e){return(typeof e=="string"?e:""+e).replace(Xh,`
9
+ `).replace(Vh,"")}function Db(e,t){return t=Ir(t),Ir(e)===t}function bc(){}function se(e,t,a,i,l,n){switch(a){case"children":typeof i=="string"?t==="body"||t==="textarea"&&i===""||Ii(e,i):(typeof i=="number"||typeof i=="bigint")&&t!=="body"&&Ii(e,""+i);break;case"className":Jl(e,"class",i);break;case"tabIndex":Jl(e,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":Jl(e,a,i);break;case"style":z1(e,i,n);break;case"data":if(t!=="object"){Jl(e,"data",i);break}case"src":case"href":if(i===""&&(t!=="a"||a!=="href")){e.removeAttribute(a);break}if(i==null||typeof i=="function"||typeof i=="symbol"||typeof i=="boolean"){e.removeAttribute(a);break}i=fo(""+i),e.setAttribute(a,i);break;case"action":case"formAction":if(typeof i=="function"){e.setAttribute(a,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof n=="function"&&(a==="formAction"?(t!=="input"&&se(e,t,"name",l.name,l,null),se(e,t,"formEncType",l.formEncType,l,null),se(e,t,"formMethod",l.formMethod,l,null),se(e,t,"formTarget",l.formTarget,l,null)):(se(e,t,"encType",l.encType,l,null),se(e,t,"method",l.method,l,null),se(e,t,"target",l.target,l,null)));if(i==null||typeof i=="symbol"||typeof i=="boolean"){e.removeAttribute(a);break}i=fo(""+i),e.setAttribute(a,i);break;case"onClick":i!=null&&(e.onclick=bc);break;case"onScroll":i!=null&&W("scroll",e);break;case"onScrollEnd":i!=null&&W("scrollend",e);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(M(61));if(a=i.__html,a!=null){if(l.children!=null)throw Error(M(60));e.innerHTML=a}}break;case"multiple":e.multiple=i&&typeof i!="function"&&typeof i!="symbol";break;case"muted":e.muted=i&&typeof i!="function"&&typeof i!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(i==null||typeof i=="function"||typeof i=="boolean"||typeof i=="symbol"){e.removeAttribute("xlink:href");break}a=fo(""+i),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":i!=null&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(a,""+i):e.removeAttribute(a);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":i&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(a,""):e.removeAttribute(a);break;case"capture":case"download":i===!0?e.setAttribute(a,""):i!==!1&&i!=null&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(a,i):e.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":i!=null&&typeof i!="function"&&typeof i!="symbol"&&!isNaN(i)&&1<=i?e.setAttribute(a,i):e.removeAttribute(a);break;case"rowSpan":case"start":i==null||typeof i=="function"||typeof i=="symbol"||isNaN(i)?e.removeAttribute(a):e.setAttribute(a,i);break;case"popover":W("beforetoggle",e),W("toggle",e),ro(e,"popover",i);break;case"xlinkActuate":It(e,"http://www.w3.org/1999/xlink","xlink:actuate",i);break;case"xlinkArcrole":It(e,"http://www.w3.org/1999/xlink","xlink:arcrole",i);break;case"xlinkRole":It(e,"http://www.w3.org/1999/xlink","xlink:role",i);break;case"xlinkShow":It(e,"http://www.w3.org/1999/xlink","xlink:show",i);break;case"xlinkTitle":It(e,"http://www.w3.org/1999/xlink","xlink:title",i);break;case"xlinkType":It(e,"http://www.w3.org/1999/xlink","xlink:type",i);break;case"xmlBase":It(e,"http://www.w3.org/XML/1998/namespace","xml:base",i);break;case"xmlLang":It(e,"http://www.w3.org/XML/1998/namespace","xml:lang",i);break;case"xmlSpace":It(e,"http://www.w3.org/XML/1998/namespace","xml:space",i);break;case"is":ro(e,"is",i);break;case"innerText":case"textContent":break;default:(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(a=wp.get(a)||a,ro(e,a,i))}}function qs(e,t,a,i,l,n){switch(a){case"style":z1(e,i,n);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(M(61));if(a=i.__html,a!=null){if(l.children!=null)throw Error(M(60));e.innerHTML=a}}break;case"children":typeof i=="string"?Ii(e,i):(typeof i=="number"||typeof i=="bigint")&&Ii(e,""+i);break;case"onScroll":i!=null&&W("scroll",e);break;case"onScrollEnd":i!=null&&W("scrollend",e);break;case"onClick":i!=null&&(e.onclick=bc);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!A1.hasOwnProperty(a))e:{if(a[0]==="o"&&a[1]==="n"&&(l=a.endsWith("Capture"),t=a.slice(2,l?a.length-7:void 0),n=e[lt]||null,n=n!=null?n[a]:null,typeof n=="function"&&e.removeEventListener(t,n,l),typeof i=="function")){typeof n!="function"&&n!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(t,i,l);break e}a in e?e[a]=i:i===!0?e.setAttribute(a,""):ro(e,a,i)}}}function Ze(e,t,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":W("error",e),W("load",e);var i=!1,l=!1,n;for(n in a)if(a.hasOwnProperty(n)){var o=a[n];if(o!=null)switch(n){case"src":i=!0;break;case"srcSet":l=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(M(137,t));default:se(e,t,n,o,a,null)}}l&&se(e,t,"srcSet",a.srcSet,a,null),i&&se(e,t,"src",a.src,a,null);return;case"input":W("invalid",e);var s=n=o=l=null,u=null,d=null;for(i in a)if(a.hasOwnProperty(i)){var v=a[i];if(v!=null)switch(i){case"name":l=v;break;case"type":o=v;break;case"checked":u=v;break;case"defaultChecked":d=v;break;case"value":n=v;break;case"defaultValue":s=v;break;case"children":case"dangerouslySetInnerHTML":if(v!=null)throw Error(M(137,t));break;default:se(e,t,i,v,a,null)}}T1(e,n,s,u,d,o,l,!1),To(e);return;case"select":W("invalid",e),i=o=n=null;for(l in a)if(a.hasOwnProperty(l)&&(s=a[l],s!=null))switch(l){case"value":n=s;break;case"defaultValue":o=s;break;case"multiple":i=s;default:se(e,t,l,s,a,null)}t=n,a=o,e.multiple=!!i,t!=null?Gi(e,!!i,t,!1):a!=null&&Gi(e,!!i,a,!0);return;case"textarea":W("invalid",e),n=l=i=null;for(o in a)if(a.hasOwnProperty(o)&&(s=a[o],s!=null))switch(o){case"value":i=s;break;case"defaultValue":l=s;break;case"children":n=s;break;case"dangerouslySetInnerHTML":if(s!=null)throw Error(M(91));break;default:se(e,t,o,s,a,null)}O1(e,i,l,n),To(e);return;case"option":for(u in a)if(a.hasOwnProperty(u)&&(i=a[u],i!=null))switch(u){case"selected":e.selected=i&&typeof i!="function"&&typeof i!="symbol";break;default:se(e,t,u,i,a,null)}return;case"dialog":W("beforetoggle",e),W("toggle",e),W("cancel",e),W("close",e);break;case"iframe":case"object":W("load",e);break;case"video":case"audio":for(i=0;i<el.length;i++)W(el[i],e);break;case"image":W("error",e),W("load",e);break;case"details":W("toggle",e);break;case"embed":case"source":case"link":W("error",e),W("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(d in a)if(a.hasOwnProperty(d)&&(i=a[d],i!=null))switch(d){case"children":case"dangerouslySetInnerHTML":throw Error(M(137,t));default:se(e,t,d,i,a,null)}return;default:if(Gs(t)){for(v in a)a.hasOwnProperty(v)&&(i=a[v],i!==void 0&&qs(e,t,v,i,a,void 0));return}}for(s in a)a.hasOwnProperty(s)&&(i=a[s],i!=null&&se(e,t,s,i,a,null))}function jh(e,t,a,i){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var l=null,n=null,o=null,s=null,u=null,d=null,v=null;for(h in a){var x=a[h];if(a.hasOwnProperty(h)&&x!=null)switch(h){case"checked":break;case"value":break;case"defaultValue":u=x;default:i.hasOwnProperty(h)||se(e,t,h,null,i,x)}}for(var p in i){var h=i[p];if(x=a[p],i.hasOwnProperty(p)&&(h!=null||x!=null))switch(p){case"type":n=h;break;case"name":l=h;break;case"checked":d=h;break;case"defaultChecked":v=h;break;case"value":o=h;break;case"defaultValue":s=h;break;case"children":case"dangerouslySetInnerHTML":if(h!=null)throw Error(M(137,t));break;default:h!==x&&se(e,t,p,h,i,x)}}K0(e,o,s,u,d,v,n,l);return;case"select":h=o=s=p=null;for(n in a)if(u=a[n],a.hasOwnProperty(n)&&u!=null)switch(n){case"value":break;case"multiple":h=u;default:i.hasOwnProperty(n)||se(e,t,n,null,i,u)}for(l in i)if(n=i[l],u=a[l],i.hasOwnProperty(l)&&(n!=null||u!=null))switch(l){case"value":p=n;break;case"defaultValue":s=n;break;case"multiple":o=n;default:n!==u&&se(e,t,l,n,i,u)}t=s,a=o,i=h,p!=null?Gi(e,!!a,p,!1):!!i!=!!a&&(t!=null?Gi(e,!!a,t,!0):Gi(e,!!a,a?[]:"",!1));return;case"textarea":h=p=null;for(s in a)if(l=a[s],a.hasOwnProperty(s)&&l!=null&&!i.hasOwnProperty(s))switch(s){case"value":break;case"children":break;default:se(e,t,s,null,i,l)}for(o in i)if(l=i[o],n=a[o],i.hasOwnProperty(o)&&(l!=null||n!=null))switch(o){case"value":p=l;break;case"defaultValue":h=l;break;case"children":break;case"dangerouslySetInnerHTML":if(l!=null)throw Error(M(91));break;default:l!==n&&se(e,t,o,l,i,n)}M1(e,p,h);return;case"option":for(var E in a)if(p=a[E],a.hasOwnProperty(E)&&p!=null&&!i.hasOwnProperty(E))switch(E){case"selected":e.selected=!1;break;default:se(e,t,E,null,i,p)}for(u in i)if(p=i[u],h=a[u],i.hasOwnProperty(u)&&p!==h&&(p!=null||h!=null))switch(u){case"selected":e.selected=p&&typeof p!="function"&&typeof p!="symbol";break;default:se(e,t,u,p,i,h)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var C in a)p=a[C],a.hasOwnProperty(C)&&p!=null&&!i.hasOwnProperty(C)&&se(e,t,C,null,i,p);for(d in i)if(p=i[d],h=a[d],i.hasOwnProperty(d)&&p!==h&&(p!=null||h!=null))switch(d){case"children":case"dangerouslySetInnerHTML":if(p!=null)throw Error(M(137,t));break;default:se(e,t,d,p,i,h)}return;default:if(Gs(t)){for(var N in a)p=a[N],a.hasOwnProperty(N)&&p!==void 0&&!i.hasOwnProperty(N)&&qs(e,t,N,void 0,i,p);for(v in i)p=i[v],h=a[v],!i.hasOwnProperty(v)||p===h||p===void 0&&h===void 0||qs(e,t,v,p,i,h);return}}for(var f in a)p=a[f],a.hasOwnProperty(f)&&p!=null&&!i.hasOwnProperty(f)&&se(e,t,f,null,i,p);for(x in i)p=i[x],h=a[x],!i.hasOwnProperty(x)||p===h||p==null&&h==null||se(e,t,x,p,i,h)}var As=null,Ns=null;function Ko(e){return e.nodeType===9?e:e.ownerDocument}function Jr(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Ub(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function Cs(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var B0=null;function Qh(){var e=window.event;return e&&e.type==="popstate"?e===B0?!1:(B0=e,!0):(B0=null,!1)}var _b=typeof setTimeout=="function"?setTimeout:void 0,Zh=typeof clearTimeout=="function"?clearTimeout:void 0,Fr=typeof Promise=="function"?Promise:void 0,$h=typeof queueMicrotask=="function"?queueMicrotask:typeof Fr<"u"?function(e){return Fr.resolve(null).then(e).catch(Kh)}:_b;function Kh(e){setTimeout(function(){throw e})}function Xa(e){return e==="head"}function Wr(e,t){var a=t,i=0,l=0;do{var n=a.nextSibling;if(e.removeChild(a),n&&n.nodeType===8)if(a=n.data,a==="/$"){if(0<i&&8>i){a=i;var o=e.ownerDocument;if(a&1&&Zn(o.documentElement),a&2&&Zn(o.body),a&4)for(a=o.head,Zn(a),o=a.firstChild;o;){var s=o.nextSibling,u=o.nodeName;o[rl]||u==="SCRIPT"||u==="STYLE"||u==="LINK"&&o.rel.toLowerCase()==="stylesheet"||a.removeChild(o),o=s}}if(l===0){e.removeChild(n),ol(t);return}l--}else a==="$"||a==="$?"||a==="$!"?l++:i=a.charCodeAt(0)-48;else i=0;a=n}while(a);ol(t)}function Ts(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var a=t;switch(t=t.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":Ts(a),Hs(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function Ih(e,t,a,i){for(;e.nodeType===1;){var l=a;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!i&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(i){if(!e[rl])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(n=e.getAttribute("rel"),n==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(n!==l.rel||e.getAttribute("href")!==(l.href==null||l.href===""?null:l.href)||e.getAttribute("crossorigin")!==(l.crossOrigin==null?null:l.crossOrigin)||e.getAttribute("title")!==(l.title==null?null:l.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(n=e.getAttribute("src"),(n!==(l.src==null?null:l.src)||e.getAttribute("type")!==(l.type==null?null:l.type)||e.getAttribute("crossorigin")!==(l.crossOrigin==null?null:l.crossOrigin))&&n&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var n=l.name==null?null:""+l.name;if(l.type==="hidden"&&e.getAttribute("name")===n)return e}else return e;if(e=zt(e.nextSibling),e===null)break}return null}function Jh(e,t,a){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=zt(e.nextSibling),e===null))return null;return e}function Ms(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState==="complete"}function Fh(e,t){var a=e.ownerDocument;if(e.data!=="$?"||a.readyState==="complete")t();else{var i=function(){t(),a.removeEventListener("DOMContentLoaded",i)};a.addEventListener("DOMContentLoaded",i),e._reactRetry=i}}function zt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="F!"||t==="F")break;if(t==="/$")return null}}return e}var Os=null;function Pr(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="$"||a==="$!"||a==="$?"){if(t===0)return e;t--}else a==="/$"&&t++}e=e.previousSibling}return null}function kb(e,t,a){switch(t=Ko(a),e){case"html":if(e=t.documentElement,!e)throw Error(M(452));return e;case"head":if(e=t.head,!e)throw Error(M(453));return e;case"body":if(e=t.body,!e)throw Error(M(454));return e;default:throw Error(M(451))}}function Zn(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Hs(e)}var Tt=new Map,e1=new Set;function Io(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var da=ie.d;ie.d={f:Wh,r:Ph,D:e6,C:t6,L:a6,m:i6,X:l6,S:n6,M:o6};function Wh(){var e=da.f(),t=dc();return e||t}function Ph(e){var t=on(e);t!==null&&t.tag===5&&t.type==="form"?Tf(t):da.r(e)}var un=typeof document>"u"?null:document;function Lb(e,t,a){var i=un;if(i&&typeof t=="string"&&t){var l=qt(t);l='link[rel="'+e+'"][href="'+l+'"]',typeof a=="string"&&(l+='[crossorigin="'+a+'"]'),e1.has(l)||(e1.add(l),e={rel:e,crossOrigin:a,href:t},i.querySelector(l)===null&&(t=i.createElement("link"),Ze(t,"link",e),He(t),i.head.appendChild(t)))}}function e6(e){da.D(e),Lb("dns-prefetch",e,null)}function t6(e,t){da.C(e,t),Lb("preconnect",e,t)}function a6(e,t,a){da.L(e,t,a);var i=un;if(i&&e&&t){var l='link[rel="preload"][as="'+qt(t)+'"]';t==="image"&&a&&a.imageSrcSet?(l+='[imagesrcset="'+qt(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(l+='[imagesizes="'+qt(a.imageSizes)+'"]')):l+='[href="'+qt(e)+'"]';var n=l;switch(t){case"style":n=nn(e);break;case"script":n=dn(e)}Tt.has(n)||(e=pe({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:e,as:t},a),Tt.set(n,e),i.querySelector(l)!==null||t==="style"&&i.querySelector(wl(n))||t==="script"&&i.querySelector(Sl(n))||(t=i.createElement("link"),Ze(t,"link",e),He(t),i.head.appendChild(t)))}}function i6(e,t){da.m(e,t);var a=un;if(a&&e){var i=t&&typeof t.as=="string"?t.as:"script",l='link[rel="modulepreload"][as="'+qt(i)+'"][href="'+qt(e)+'"]',n=l;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":n=dn(e)}if(!Tt.has(n)&&(e=pe({rel:"modulepreload",href:e},t),Tt.set(n,e),a.querySelector(l)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(Sl(n)))return}i=a.createElement("link"),Ze(i,"link",e),He(i),a.head.appendChild(i)}}}function n6(e,t,a){da.S(e,t,a);var i=un;if(i&&e){var l=Hi(i).hoistableStyles,n=nn(e);t=t||"default";var o=l.get(n);if(!o){var s={loading:0,preload:null};if(o=i.querySelector(wl(n)))s.loading=5;else{e=pe({rel:"stylesheet",href:e,"data-precedence":t},a),(a=Tt.get(n))&&Su(e,a);var u=o=i.createElement("link");He(u),Ze(u,"link",e),u._p=new Promise(function(d,v){u.onload=d,u.onerror=v}),u.addEventListener("load",function(){s.loading|=1}),u.addEventListener("error",function(){s.loading|=2}),s.loading|=4,wo(o,t,i)}o={type:"stylesheet",instance:o,count:1,state:s},l.set(n,o)}}}function l6(e,t){da.X(e,t);var a=un;if(a&&e){var i=Hi(a).hoistableScripts,l=dn(e),n=i.get(l);n||(n=a.querySelector(Sl(l)),n||(e=pe({src:e,async:!0},t),(t=Tt.get(l))&&Eu(e,t),n=a.createElement("script"),He(n),Ze(n,"link",e),a.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},i.set(l,n))}}function o6(e,t){da.M(e,t);var a=un;if(a&&e){var i=Hi(a).hoistableScripts,l=dn(e),n=i.get(l);n||(n=a.querySelector(Sl(l)),n||(e=pe({src:e,async:!0,type:"module"},t),(t=Tt.get(l))&&Eu(e,t),n=a.createElement("script"),He(n),Ze(n,"link",e),a.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},i.set(l,n))}}function t1(e,t,a,i){var l=(l=Oa.current)?Io(l):null;if(!l)throw Error(M(446));switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(t=nn(a.href),a=Hi(l).hoistableStyles,i=a.get(t),i||(i={type:"style",instance:null,count:0,state:null},a.set(t,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){e=nn(a.href);var n=Hi(l).hoistableStyles,o=n.get(e);if(o||(l=l.ownerDocument||l,o={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},n.set(e,o),(n=l.querySelector(wl(e)))&&!n._p&&(o.instance=n,o.state.loading=5),Tt.has(e)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},Tt.set(e,a),n||c6(l,e,a,o.state))),t&&i===null)throw Error(M(528,""));return o}if(t&&i!==null)throw Error(M(529,""));return null;case"script":return t=a.async,a=a.src,typeof a=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=dn(a),a=Hi(l).hoistableScripts,i=a.get(t),i||(i={type:"script",instance:null,count:0,state:null},a.set(t,i)),i):{type:"void",instance:null,count:0,state:null};default:throw Error(M(444,e))}}function nn(e){return'href="'+qt(e)+'"'}function wl(e){return'link[rel="stylesheet"]['+e+"]"}function Rb(e){return pe({},e,{"data-precedence":e.precedence,precedence:null})}function c6(e,t,a,i){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?i.loading=1:(t=e.createElement("link"),i.preload=t,t.addEventListener("load",function(){return i.loading|=1}),t.addEventListener("error",function(){return i.loading|=2}),Ze(t,"link",a),He(t),e.head.appendChild(t))}function dn(e){return'[src="'+qt(e)+'"]'}function Sl(e){return"script[async]"+e}function a1(e,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var i=e.querySelector('style[data-href~="'+qt(a.href)+'"]');if(i)return t.instance=i,He(i),i;var l=pe({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return i=(e.ownerDocument||e).createElement("style"),He(i),Ze(i,"style",l),wo(i,a.precedence,e),t.instance=i;case"stylesheet":l=nn(a.href);var n=e.querySelector(wl(l));if(n)return t.state.loading|=4,t.instance=n,He(n),n;i=Rb(a),(l=Tt.get(l))&&Su(i,l),n=(e.ownerDocument||e).createElement("link"),He(n);var o=n;return o._p=new Promise(function(s,u){o.onload=s,o.onerror=u}),Ze(n,"link",i),t.state.loading|=4,wo(n,a.precedence,e),t.instance=n;case"script":return n=dn(a.src),(l=e.querySelector(Sl(n)))?(t.instance=l,He(l),l):(i=a,(l=Tt.get(n))&&(i=pe({},a),Eu(i,l)),e=e.ownerDocument||e,l=e.createElement("script"),He(l),Ze(l,"link",i),e.head.appendChild(l),t.instance=l);case"void":return null;default:throw Error(M(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(i=t.instance,t.state.loading|=4,wo(i,a.precedence,e));return t.instance}function wo(e,t,a){for(var i=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),l=i.length?i[i.length-1]:null,n=l,o=0;o<i.length;o++){var s=i[o];if(s.dataset.precedence===t)n=s;else if(n!==l)break}n?n.parentNode.insertBefore(e,n.nextSibling):(t=a.nodeType===9?a.head:a,t.insertBefore(e,t.firstChild))}function Su(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Eu(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var So=null;function i1(e,t,a){if(So===null){var i=new Map,l=So=new Map;l.set(a,i)}else l=So,i=l.get(a),i||(i=new Map,l.set(a,i));if(i.has(e))return i;for(i.set(e,null),a=a.getElementsByTagName(e),l=0;l<a.length;l++){var n=a[l];if(!(n[rl]||n[Ie]||e==="link"&&n.getAttribute("rel")==="stylesheet")&&n.namespaceURI!=="http://www.w3.org/2000/svg"){var o=n.getAttribute(t)||"";o=e+o;var s=i.get(o);s?s.push(n):i.set(o,[n])}}return i}function n1(e,t,a){e=e.ownerDocument||e,e.head.insertBefore(a,t==="title"?e.querySelector("head > title"):null)}function s6(e,t,a){if(a===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function Bb(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}var al=null;function u6(){}function d6(e,t,a){if(al===null)throw Error(M(475));var i=al;if(t.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(t.state.loading&4)===0){if(t.instance===null){var l=nn(a.href),n=e.querySelector(wl(l));if(n){e=n._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(i.count++,i=Jo.bind(i),e.then(i,i)),t.state.loading|=4,t.instance=n,He(n);return}n=e.ownerDocument||e,a=Rb(a),(l=Tt.get(l))&&Su(a,l),n=n.createElement("link"),He(n);var o=n;o._p=new Promise(function(s,u){o.onload=s,o.onerror=u}),Ze(n,"link",a),t.instance=n}i.stylesheets===null&&(i.stylesheets=new Map),i.stylesheets.set(t,e),(e=t.state.preload)&&(t.state.loading&3)===0&&(i.count++,t=Jo.bind(i),e.addEventListener("load",t),e.addEventListener("error",t))}}function r6(){if(al===null)throw Error(M(475));var e=al;return e.stylesheets&&e.count===0&&zs(e,e.stylesheets),0<e.count?function(t){var a=setTimeout(function(){if(e.stylesheets&&zs(e,e.stylesheets),e.unsuspend){var i=e.unsuspend;e.unsuspend=null,i()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(a)}}:null}function Jo(){if(this.count--,this.count===0){if(this.stylesheets)zs(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Fo=null;function zs(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Fo=new Map,t.forEach(f6,e),Fo=null,Jo.call(e))}function f6(e,t){if(!(t.state.loading&4)){var a=Fo.get(e);if(a)var i=a.get(null);else{a=new Map,Fo.set(e,a);for(var l=e.querySelectorAll("link[data-precedence],style[data-precedence]"),n=0;n<l.length;n++){var o=l[n];(o.nodeName==="LINK"||o.getAttribute("media")!=="not all")&&(a.set(o.dataset.precedence,o),i=o)}i&&a.set(null,i)}l=t.instance,o=l.getAttribute("data-precedence"),n=a.get(o)||i,n===i&&a.set(null,l),a.set(o,l),this.count++,i=Jo.bind(this),l.addEventListener("load",i),l.addEventListener("error",i),n?n.parentNode.insertBefore(l,n.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(l,e.firstChild)),t.state.loading|=4}}var il={$$typeof:Pt,Provider:null,Consumer:null,_currentValue:Ia,_currentValue2:Ia,_threadCount:0};function b6(e,t,a,i,l,n,o,s){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=u0(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=u0(0),this.hiddenUpdates=u0(null),this.identifierPrefix=i,this.onUncaughtError=l,this.onCaughtError=n,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=s,this.incompleteTransitions=new Map}function Hb(e,t,a,i,l,n,o,s,u,d,v,x){return e=new b6(e,t,a,o,s,u,d,x),t=1,n===!0&&(t|=24),n=rt(3,null,null,t),e.current=n,n.stateNode=e,t=Fs(),t.refCount++,e.pooledCache=t,t.refCount++,n.memoizedState={element:i,isDehydrated:a,cache:t},Ps(n),e}function Gb(e){return e?(e=ki,e):ki}function Yb(e,t,a,i,l,n){l=Gb(l),i.context===null?i.context=l:i.pendingContext=l,i=za(t),i.payload={element:a},n=n===void 0?null:n,n!==null&&(i.callback=n),a=Da(e,i,t),a!==null&&(pt(a,e,t),Bn(a,e,t))}function l1(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<t?a:t}}function qu(e,t){l1(e,t),(e=e.alternate)&&l1(e,t)}function Xb(e){if(e.tag===13){var t=cn(e,67108864);t!==null&&pt(t,e,67108864),qu(e,67108864)}}var Wo=!0;function m6(e,t,a,i){var l=j.T;j.T=null;var n=ie.p;try{ie.p=2,Au(e,t,a,i)}finally{ie.p=n,j.T=l}}function p6(e,t,a,i){var l=j.T;j.T=null;var n=ie.p;try{ie.p=8,Au(e,t,a,i)}finally{ie.p=n,j.T=l}}function Au(e,t,a,i){if(Wo){var l=Ds(i);if(l===null)R0(e,t,i,Po,a),o1(e,i);else if(g6(l,e,t,a,i))i.stopPropagation();else if(o1(e,i),t&4&&-1<h6.indexOf(e)){for(;l!==null;){var n=on(l);if(n!==null)switch(n.tag){case 3:if(n=n.stateNode,n.current.memoizedState.isDehydrated){var o=Za(n.pendingLanes);if(o!==0){var s=n;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var u=1<<31-bt(o);s.entanglements[1]|=u,o&=~u}Vt(n),(oe&6)===0&&(Vo=Gt()+500,xl(0,!1))}}break;case 13:s=cn(n,2),s!==null&&pt(s,n,2),dc(),qu(n,2)}if(n=Ds(i),n===null&&R0(e,t,i,Po,a),n===l)break;l=n}l!==null&&i.stopPropagation()}else R0(e,t,i,null,a)}}function Ds(e){return e=Ys(e),Nu(e)}var Po=null;function Nu(e){if(Po=null,e=Mi(e),e!==null){var t=cl(e);if(t===null)e=null;else{var a=t.tag;if(a===13){if(e=f1(t),e!==null)return e;e=null}else if(a===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Po=e,null}function Vb(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(ip()){case h1:return 2;case g1:return 8;case Co:case np:return 32;case v1:return 268435456;default:return 32}default:return 32}}var Us=!1,ka=null,La=null,Ra=null,nl=new Map,ll=new Map,Aa=[],h6="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function o1(e,t){switch(e){case"focusin":case"focusout":ka=null;break;case"dragenter":case"dragleave":La=null;break;case"mouseover":case"mouseout":Ra=null;break;case"pointerover":case"pointerout":nl.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ll.delete(t.pointerId)}}function Cn(e,t,a,i,l,n){return e===null||e.nativeEvent!==n?(e={blockedOn:t,domEventName:a,eventSystemFlags:i,nativeEvent:n,targetContainers:[l]},t!==null&&(t=on(t),t!==null&&Xb(t)),e):(e.eventSystemFlags|=i,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function g6(e,t,a,i,l){switch(t){case"focusin":return ka=Cn(ka,e,t,a,i,l),!0;case"dragenter":return La=Cn(La,e,t,a,i,l),!0;case"mouseover":return Ra=Cn(Ra,e,t,a,i,l),!0;case"pointerover":var n=l.pointerId;return nl.set(n,Cn(nl.get(n)||null,e,t,a,i,l)),!0;case"gotpointercapture":return n=l.pointerId,ll.set(n,Cn(ll.get(n)||null,e,t,a,i,l)),!0}return!1}function jb(e){var t=Mi(e.target);if(t!==null){var a=cl(t);if(a!==null){if(t=a.tag,t===13){if(t=f1(a),t!==null){e.blockedOn=t,fp(e.priority,function(){if(a.tag===13){var i=mt();i=Rs(i);var l=cn(a,i);l!==null&&pt(l,a,i),qu(a,i)}});return}}else if(t===3&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Eo(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var a=Ds(e.nativeEvent);if(a===null){a=e.nativeEvent;var i=new a.constructor(a.type,a);J0=i,a.target.dispatchEvent(i),J0=null}else return t=on(a),t!==null&&Xb(t),e.blockedOn=a,!1;t.shift()}return!0}function c1(e,t,a){Eo(e)&&a.delete(t)}function v6(){Us=!1,ka!==null&&Eo(ka)&&(ka=null),La!==null&&Eo(La)&&(La=null),Ra!==null&&Eo(Ra)&&(Ra=null),nl.forEach(c1),ll.forEach(c1)}function so(e,t){e.blockedOn===t&&(e.blockedOn=null,Us||(Us=!0,Le.unstable_scheduleCallback(Le.unstable_NormalPriority,v6)))}var uo=null;function s1(e){uo!==e&&(uo=e,Le.unstable_scheduleCallback(Le.unstable_NormalPriority,function(){uo===e&&(uo=null);for(var t=0;t<e.length;t+=3){var a=e[t],i=e[t+1],l=e[t+2];if(typeof i!="function"){if(Nu(i||a)===null)continue;break}var n=on(a);n!==null&&(e.splice(t,3),t-=3,fs(n,{pending:!0,data:l,method:a.method,action:i},i,l))}}))}function ol(e){function t(u){return so(u,e)}ka!==null&&so(ka,e),La!==null&&so(La,e),Ra!==null&&so(Ra,e),nl.forEach(t),ll.forEach(t);for(var a=0;a<Aa.length;a++){var i=Aa[a];i.blockedOn===e&&(i.blockedOn=null)}for(;0<Aa.length&&(a=Aa[0],a.blockedOn===null);)jb(a),a.blockedOn===null&&Aa.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(i=0;i<a.length;i+=3){var l=a[i],n=a[i+1],o=l[lt]||null;if(typeof n=="function")o||s1(a);else if(o){var s=null;if(n&&n.hasAttribute("formAction")){if(l=n,o=n[lt]||null)s=o.formAction;else if(Nu(l)!==null)continue}else s=o.action;typeof s=="function"?a[i+1]=s:(a.splice(i,3),i-=3),s1(a)}}}function Cu(e){this._internalRoot=e}mc.prototype.render=Cu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(M(409));var a=t.current,i=mt();Yb(a,i,e,t,null,null)};mc.prototype.unmount=Cu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Yb(e.current,2,null,e,null,null),dc(),t[ln]=null}};function mc(e){this._internalRoot=e}mc.prototype.unstable_scheduleHydration=function(e){if(e){var t=E1();e={blockedOn:null,target:e,priority:t};for(var a=0;a<Aa.length&&t!==0&&t<Aa[a].priority;a++);Aa.splice(a,0,e),a===0&&jb(e)}};var u1=d1.version;if(u1!=="19.1.1")throw Error(M(527,u1,"19.1.1"));ie.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(M(188)):(e=Object.keys(e).join(","),Error(M(268,e)));return e=Jm(t),e=e!==null?b1(e):null,e=e===null?null:e.stateNode,e};var y6={bundleType:0,version:"19.1.1",rendererPackageName:"react-dom",currentDispatcherRef:j,reconcilerVersion:"19.1.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(Tn=__REACT_DEVTOOLS_GLOBAL_HOOK__,!Tn.isDisabled&&Tn.supportsFiber))try{sl=Tn.inject(y6),ft=Tn}catch{}var Tn;pc.createRoot=function(e,t){if(!r1(e))throw Error(M(299));var a=!1,i="",l=Hf,n=Gf,o=Yf,s=null;return t!=null&&(t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(i=t.identifierPrefix),t.onUncaughtError!==void 0&&(l=t.onUncaughtError),t.onCaughtError!==void 0&&(n=t.onCaughtError),t.onRecoverableError!==void 0&&(o=t.onRecoverableError),t.unstable_transitionCallbacks!==void 0&&(s=t.unstable_transitionCallbacks)),t=Hb(e,1,!1,null,null,a,i,l,n,o,s,null),e[ln]=t.current,wu(e),new Cu(t)};pc.hydrateRoot=function(e,t,a){if(!r1(e))throw Error(M(299));var i=!1,l="",n=Hf,o=Gf,s=Yf,u=null,d=null;return a!=null&&(a.unstable_strictMode===!0&&(i=!0),a.identifierPrefix!==void 0&&(l=a.identifierPrefix),a.onUncaughtError!==void 0&&(n=a.onUncaughtError),a.onCaughtError!==void 0&&(o=a.onCaughtError),a.onRecoverableError!==void 0&&(s=a.onRecoverableError),a.unstable_transitionCallbacks!==void 0&&(u=a.unstable_transitionCallbacks),a.formState!==void 0&&(d=a.formState)),t=Hb(e,1,!0,t,a??null,i,l,n,o,s,u,d),t.context=Gb(null),a=t.current,i=mt(),i=Rs(i),l=za(i),l.callback=null,Da(a,l,i),a=i,t.current.lanes=a,dl(t,a),Vt(t),e[ln]=t.current,wu(e),new mc(t)};pc.version="19.1.1"});var Kb=pa((ig,$b)=>{"use strict";function Zb(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Zb)}catch(e){console.error(e)}}Zb(),$b.exports=Qb()});var Ll={"\u611F\u8C22@xiaomol444\u63D0\u4F9B\u7684\u56FE\u7247\u3001\u97F3\u6548\u3001\u754C\u9762\u52A8\u6548\u7D20\u6750":"Thanks to @xiaomol444 for providing the image, sound effect, and UI animation assets.",\u64AD\u653E\u52A8\u6548\u97F3\u6548:"Play effect sound",\u52A8\u6548\u5C42\u7EA7:"Effect layer",\u6240\u6709\u63A7\u4EF6\u4E4B\u4E0A:"Above all controls",\u6240\u6709\u63A7\u4EF6\u4E4B\u4E0B:"Below all controls","\u652F\u6301\u6D4F\u89C8\u5668\u52A8\u6548\u64AD\u653E\uFF1B\u975E\u7A7A\u52A8\u6548 GIA \u914D\u7F6E\u5C1A\u672A\u6838\u5B9E\u3002":"Browser effect playback is supported; nonempty effect settings in GIA remain unverified.",\u8BF7\u9009\u62E9\u52A8\u6548\u7D20\u6750:"Choose an effect","\u753B\u5E03\u9884\u89C8\u9759\u97F3\uFF1B\u52A0\u8F7D\u5931\u8D25\u53EA\u8DF3\u8FC7\u5F53\u524D\u52A8\u6548\u3002":"Canvas preview is muted. Unavailable effects are skipped.",\u9009\u62E9\u7D20\u6750:"Choose effect","\u91CD\u64AD / \u91CD\u8BD5":"Replay / retry",\u505C\u6B62\u9884\u89C8:"Stop Preview","\u641C\u7D22 ID / \u540D\u79F0":"Search ID / name",\u641C\u7D22\u52A8\u6548:"Search effects","\u52A8\u6548\u52A0\u8F7D\u5931\u8D25\uFF08{0}\uFF09":"Effects unavailable ({0})","\u5F53\u524D\u540E\u53F0\u5C1A\u672A\u52A0\u8F7D\u5B57\u4F53\u8BBE\u7F6E\u529F\u80FD\uFF0C\u8BF7\u91CD\u542F Web \u6216 Harness \u5BBF\u4E3B\u540E\u91CD\u8BD5\u3002":"The running backend does not support font settings yet. Restart the Web or Harness host, then retry.","\u5F53\u524D\u540E\u53F0\u5C1A\u672A\u52A0\u8F7D\u68C0\u67E5\u66F4\u65B0\u529F\u80FD\uFF0C\u8BF7\u91CD\u542F Web \u6216 Harness \u5BBF\u4E3B\u540E\u91CD\u8BD5\u3002":"The running backend does not support update checks yet. Restart the Web or Harness host, then retry.","\u8BF7\u8F93\u5165\u516D\u4F4D\u989C\u8272\uFF0C\u4F8B\u5982 #FF8800":"Enter a six-digit color, e.g. #FF8800","\u900F\u660E\u5EA6\u8BF7\u8F93\u5165 0\u2013100 \u7684\u6574\u6570":"Enter an integer from 0 to 100 for opacity","Alpha\uFF1A0% \u5B8C\u5168\u900F\u660E\uFF0C100% \u5B8C\u5168\u4E0D\u900F\u660E":"Alpha: 0% is transparent; 100% is opaque","{0}\u4E0E\u900F\u660E\u5EA6":"{0} and opacity",\u6253\u5F00\u53D6\u8272\u5668:"Open color picker","{0}\u53D6\u8272\u5668":"{0} color picker",\u900F\u660E\u5EA6:"Opacity","{0}\u900F\u660E\u5EA6\u6ED1\u5757":"{0} opacity slider","{0}\u900F\u660E\u5EA6":"{0} opacity","Lua \u7D22\u5F15\u5F85\u540C\u6B65\uFF08{0} \u9879\uFF09\xB7 \u5C55\u5F00":"Lua index references need updating ({0}) \xB7 Expand","Lua \u7D22\u5F15\u540C\u6B65":"Update Lua Index References","\u4E0B\u4E00\u6B65\uFF1A\u540C\u6B65 Lua \u7D22\u5F15\u5F15\u7528\uFF08{0} \u9879\uFF09":"Next: Update Lua index references ({0})",\u811A\u672C\u5168\u91CF\u66FF\u6362\u5DF2\u5B8C\u6210:"Script index replacement completed",\u5173\u95ED\u7D22\u5F15\u540C\u6B65\u63D0\u793A:"Close index update notice","\u6536\u8D77\u63D0\u793A\uFF0C\u4FDD\u7559\u5F85\u540C\u6B65\u8BB0\u5F55":"Collapse notice and keep pending changes",\u5173\u95ED:"Close","\u540C\u6B65\u4EFB\u52A1\uFF08\u7C98\u8D34\u7ED9\u5F53\u524D\u9879\u76EE\u7684 AI\uFF09":"Update task (paste into this project's AI chat)","AI \u7D22\u5F15\u540C\u6B65\u4EFB\u52A1":"AI task: Update index references","AI \u5DF2\u5904\u7406\uFF0C\u91CD\u65B0\u8F7D\u5165\u5B58\u6863":"AI finished \u2014 reload the save","\u63A7\u4EF6\u7D22\u5F15\u5DF2\u4FEE\u6539\uFF0C\u8BF7\u9009\u62E9\u4E00\u79CD\u65B9\u5F0F\u540C\u6B65\u811A\u672C\u3002":"Control indices changed. Choose how to update script references.","\u8BF7\u68C0\u67E5\u66FF\u6362\u7ED3\u679C\u5E76\u4FDD\u5B58\u5B58\u6863\uFF0C\u518D\u5230\u300CLua \u811A\u672C \u2192 \u5B9E\u673A\u811A\u672C\u540C\u6B65\u300D\u66F4\u65B0\u6E38\u620F\u91CC\u7684\u6587\u4EF6\u5E76\u91CD\u65B0\u8BD5\u73A9\u3002":"Review the replacements and save. Then use Lua Scripts \u2192 Sync Scripts to Game and test again in the game.",\u7D22\u5F15\u540C\u6B65\u65B9\u5F0F:"Update method",\u5168\u91CF\u66FF\u6362\u811A\u672C\u7D22\u5F15:"Replace All Script Indices","\u53EF\u80FD\u9519\u8BEF\u5730\u66FF\u6362\u975E\u7D22\u5F15\u5185\u5BB9\u3002":"This may replace numbers unrelated to control indices.","\u6309\u5B8C\u6574\u5341\u8FDB\u5236\u6570\u5B57\u66FF\u6362\u6240\u6709\u5DF2\u767B\u8BB0\u811A\u672C\uFF0C\u5305\u62EC\u914D\u7F6E\u8868\u3001\u5B57\u7B26\u4E32\u548C\u6CE8\u91CA\uFF1B\u540C\u65F6\u66F4\u65B0\u5185\u5BB9\u4E00\u81F4\u7684\u5DE5\u4F5C\u533A\u6E90\u6587\u4EF6\uFF0C\u66FF\u6362\u524D\u81EA\u52A8\u5907\u4EFD\u3002":"Replace whole decimal numbers in all registered scripts, including tables, strings, and comments. Matching workspace source files are updated too, with backups.","\u590D\u5236\u63D0\u793A\u8BCD\u7ED9 AI":"Copy Task for AI","\u5148\u4FDD\u5B58\u6700\u65B0\u5B58\u6863\uFF0C\u518D\u590D\u5236\u5305\u542B\u6620\u5C04\u8BFB\u53D6\u65B9\u5F0F\u548C\u811A\u672C\u4F4D\u7F6E\u7684\u63D0\u793A\u8BCD\uFF0C\u7531 AI \u5224\u65AD\u54EA\u4E9B\u5F15\u7528\u9700\u8981\u66F4\u65B0\u3002":"Save first, then copy the index mapping instructions and script locations so the AI can identify references to update.","\u67E5\u770B\u7D22\u5F15\u53D8\u66F4\uFF08{0} \u9879\uFF09":"View index changes ({0})","\u8FD9\u91CC\u663E\u793A\u524D 20 \u9879\uFF1B\u5B8C\u6574\u6620\u5C04\u968F\u5B58\u6863\u4FDD\u5B58\uFF0C\u590D\u5236\u7684\u4EFB\u52A1\u4F1A\u5F15\u5BFC AI \u8BFB\u53D6\u5168\u90E8\u3002":"Showing the first 20 changes. The save includes the complete mapping; the copied task tells the AI how to read it.","Lua \u7D22\u5F15\u540C\u6B65\u95EE\u9898":"Lua index update issues","\u6E90\u7801\u6587\u4EF6\u6216\u7D22\u5F15\u6620\u5C04\u5B58\u5728\u51B2\u7A81\uFF0C\u672C\u6B21\u6CA1\u6709\u4FEE\u6539\u811A\u672C\u3002\u53EF\u590D\u5236\u63D0\u793A\u8BCD\u7ED9 AI \u5904\u7406\u3002":"Source files or index mappings conflict. No scripts were changed. You can copy a task for the AI.",\u5185\u8054\u811A\u672C:"Inline script","\u7B2C {0} \u884C\uFF1A":"Line {0}:","\u5176\u4F59\u95EE\u9898\u8BF7\u7531 AI \u6838\u5BF9\u3002":"Ask the AI to review the remaining issues.","\u5DF2\u66FF\u6362 {0} \u4E2A\u811A\u672C\u7684 {1} \u5904\u6587\u672C\uFF0C\u66F4\u65B0 {2} \u4E2A\u9879\u76EE\u6587\u4EF6\u3002\u5907\u4EFD\uFF1A{3}":"Replaced {1} occurrences in {0} scripts and updated {2} project files. Backups: {3}","\u524D\u5F80 Lua \u811A\u672C":"Open Lua Scripts",\u65E0\u6CD5\u8BFB\u53D6\u5B57\u4F53\u8BBE\u7F6E:"Unable to read font settings","\u627E\u5230\u5B57\u4F53\uFF1A{0}\u3002":"Font found: {0}.","\u9ED8\u8BA4\u4F4D\u7F6E\u672A\u627E\u5230\u5B57\u4F53\uFF0C\u5C06\u4F7F\u7528\u7CFB\u7EDF\u5B57\u4F53\u3002":"No font found in the default locations. The system font will be used.","\u5DF2\u4FDD\u5B58\u3002{0}\u91CD\u542F Web\u3001MCP \u6216 Harness \u5BBF\u4E3B\u540E\uFF0C\u5237\u65B0\u7F16\u8F91\u5668\u53CA\u8BD5\u73A9\u9875\u751F\u6548\u3002":"Saved. {0}Restart the Web, MCP, or Harness host, then refresh the editor and playtest pages to apply.",\u5B57\u4F53\u8BBE\u7F6E:"Font Settings","\u81EA\u5B9A\u4E49\u5B57\u4F53\u53EF\u7528\u4E8E\u6E38\u620F\u5185\u6587\u672C\u6216\u6574\u4F53 UI\u3002\u8BBE\u7F6E\u4EC5\u4FDD\u5B58\u5728\u672C\u673A\uFF0C\u91CD\u542F\u5BBF\u4E3B\u540E\u751F\u6548\u3002":"Apply the custom font to in-game text or the entire UI. Settings stay on this machine and apply after restarting the host.",\u5E94\u7528\u8303\u56F4:"Apply to",\u4EC5\u6E38\u620F\u5185\u6587\u672C:"In-game text only","\u6574\u4F53 UI":"Entire UI","\u4EC5\u6E38\u620F\u5185\u6587\u672C\uFF1A\u7528\u4E8E\u753B\u5E03\u3001\u8BD5\u73A9\u548C\u622A\u56FE\uFF1B\u6574\u4F53 UI\uFF1A\u540C\u65F6\u66FF\u6362\u5DE5\u5177\u680F\u3001\u9762\u677F\u3001\u4EE3\u7801\u548C\u65E5\u5FD7\u5B57\u4F53\u3002":"In-game text only: canvas, playtests, and screenshots. Entire UI: also changes fonts in toolbars, panels, code, and logs.",\u8BF7\u9009\u62E9\u5B57\u4F53\u5E94\u7528\u8303\u56F4:"Choose where to apply the font","\u5F53\u524D\u5B57\u4F53\uFF1A{0}":"Active font: {0}",\u7CFB\u7EDF\u5B57\u4F53:"System font","\u5B57\u4F53\u6587\u4EF6\u7531\u73AF\u5883\u53D8\u91CF QXQY_FONT_PATH \u6307\u5B9A\uFF0C\u4ECD\u53EF\u8C03\u6574\u5E94\u7528\u8303\u56F4\u3002":"QXQY_FONT_PATH selects the font file. You can still change where it applies.",\u5B57\u4F53\u6765\u6E90:"Font source",\u81EA\u52A8\u5C1D\u8BD5\u539F\u795E\u7684\u9ED8\u8BA4\u5B89\u88C5\u4F4D\u7F6E:"Look in Genshin Impact's default installation locations",\u6307\u5B9A\u672C\u673A\u5B57\u4F53\u6587\u4EF6:"Use a local font file",\u4F7F\u7528\u7CFB\u7EDF\u5B57\u4F53:"Use the system font",\u5B57\u4F53\u6587\u4EF6\u8DEF\u5F84:"Font file path","\u586B\u5199 TTF / OTF \u7684\u7EDD\u5BF9\u8DEF\u5F84\uFF0C\u6700\u5927 32 MiB\uFF1B\u53EF\u4EE5\u76F4\u63A5\u7C98\u8D34\u5E26\u5F15\u53F7\u7684 Windows \u8DEF\u5F84\u3002":"Enter an absolute TTF / OTF path (up to 32 MiB). Quoted Windows paths are accepted.","\u6309\u987A\u5E8F\u5C1D\u8BD5\u4EE5\u4E0B\u4F4D\u7F6E\uFF1B\u90FD\u672A\u627E\u5230\u65F6\u4F7F\u7528\u7CFB\u7EDF\u5B57\u4F53\u3002\u5B89\u88C5\u5728\u5176\u4ED6\u76D8\u7B26\u65F6\u8BF7\u9009\u62E9\u201C\u6307\u5B9A\u672C\u673A\u5B57\u4F53\u6587\u4EF6\u201D\u3002":"These locations are checked in order. If none contains a font, the system font is used. For another drive, select \u201CUse a local font file\u201D.","\u5F53\u524D\u7CFB\u7EDF\u4E0D\u81EA\u52A8\u67E5\u627E\uFF0C\u8BF7\u6307\u5B9A\u5B57\u4F53\u6587\u4EF6\u3002":"Automatic font discovery is unavailable on this system. Specify a font file.","\u6709\u5DF2\u4FDD\u5B58\u7684\u5B57\u4F53\u8BBE\u7F6E\uFF0C\u91CD\u542F\u5BBF\u4E3B\u5E76\u5237\u65B0\u9875\u9762\u540E\u751F\u6548\u3002":"Font settings have been saved. Restart the host and refresh the pages to apply them.","\u6B63\u5728\u8BFB\u53D6\u8BBE\u7F6E\u2026":"Loading settings\u2026","\u4FDD\u5B58\u4E2D\u2026":"Saving...",\u4FDD\u5B58\u8BBE\u7F6E:"Save Settings","\u56FE\u7247 {0} \u52A0\u8F7D\u5931\u8D25":"Failed to load image {0}","\u52A0\u8F7D\u56FE\u7247 {0}\u2026":"Loading image {0}\u2026","\u56FE\u7247 {0}":"Image {0}",\u56FE\u7247\u7C7B\u578B:"Image Type",\u5143\u6570\u636E\u52A0\u8F7D\u5931\u8D25:"Failed to load image metadata","\u8BFB\u53D6\u7D20\u6750\u8FB9\u754C\u2026":"Loading asset borders\u2026",\u57FA\u7840:"Basic",\u62C9\u4F38:"Stretch",\u5BA2\u6237\u7AEF\u63A7\u4EF6\u5BB9\u5668:"Client Control Container",\u5BB9\u5668\u8282\u70B9:"Container Control",\u6587\u672C\u6846:"Text Box",\u5149\u6807\u68C0\u6D4B\u533A\u57DF:"CursorEventArea",\u6A21\u677F\u5F15\u7528\u63A7\u4EF6:"Reference Control",\u7F51\u683C\u89C6\u7A97:"Grid Scroller",\u56FE\u7247:"Image",\u9884\u8BBE\u6309\u94AE:"Preset Button",\u6587\u672C\u89C6\u7A97:"Text Window",\u6309\u952E\u63D0\u793A:"Key Hint",\u754C\u9762\u52A8\u6548:"UI Animation",\u5168\u5C4F\u52A8\u6548:"Fullscreen UI Animation",\u5149\u6807\u68C0\u6D4B:"CursorEventArea",\u6A21\u677F\u5F15\u7528:"Reference Control","\u5BFC\u51FA\u5185\u5BB9\u89E3\u7801\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5\u6216\u5237\u65B0\u9875\u9762":"Unable to decode the export. Retry or refresh the page.","PC KEYBOARD \u753B\u5E03\uFF1A1600\xD7900 / 2100\xD7900":"PC KEYBOARD canvas: 1600\xD7900 / 2100\xD7900",\u624B\u673A:"Mobile","\u624B\u673A TOUCHSCREEN \u753B\u5E03\uFF1A1280\xD7720 / 1560\xD7720 / 1280\xD7960":"Mobile TOUCHSCREEN canvas: 1280\xD7720 / 1560\xD7720 / 1280\xD7960",\u5C1A\u65E0\u53EF\u7F16\u8F91\u503C:"No editable value available","\u672A\u8BC6\u522B\u9009\u9879 {0}\uFF08\u4FDD\u7559\u539F\u503C\uFF09":"Unknown option {0} (original value preserved)",\u7A7A:"None","\u65B0\u5EFA\u5E76\u7ED1\u5B9A{0}\u56FE\u7247":"Create and assign a {0} image",\u7FBD\u5316\u5BBD\u5EA6:"Soft Edge Width",\u7FBD\u5316\u8303\u56F4:"Soft Edge Range",\u56FE\u7247\u8BBE\u7F6E:"Image Settings",\u906E\u7F69\u8BBE\u7F6E:"Mask Settings",\u6587\u672C\u6846\u8BBE\u7F6E:"Text Box Settings",\u6309\u94AE\u8BBE\u7F6E:"Button Settings","{0}\u8BBE\u7F6E":"{0} Settings",\u8282\u70B9\u4FE1\u606F:"Node Information",\u53D8\u6362:"Transform",\u4F4D\u7F6E:"Location",\u5927\u5C0F:"Size",\u4E2D\u5FC3:"Pivot",\u521B\u5EFA\u8BBE\u7F6E:"Create Settings",\u624B\u67C4\u5BFC\u822A:"Controller Navigation",\u5B9E\u73B0\u72B6\u6001:"Support Status","\u5B58\u6863\u5185 Lua \u811A\u672C\uFF08{0}\uFF09":"Lua Scripts in This Save ({0})","\uFF0B \u65B0\u5EFA\u811A\u672C":"\uFF0B New Script","(\u672A\u547D\u540D\u811A\u672C)":"(Unnamed script)","\u6302\u8F7D\uFF1A{0} \xB7 {1}":"Attached to: {0} \xB7 {1}","\u672A\u6302\u8F7D\uFF08\u4EC5\u53EF\u88AB require\uFF09":"Not attached (available through require only)","\u4E0B\u8F7D\u8BE5\u811A\u672C .lua":"Download this script as .lua",\u5220\u9664\u8BE5\u811A\u672C:"Delete this script","\u8FD8\u6CA1\u6709\u811A\u672C\uFF0C\u70B9\u51FB\u201C\u65B0\u5EFA\u811A\u672C\u201D\u5F00\u59CB":"No scripts yet. Click \u201CNew Script\u201D to begin.","\u5C5E\u4E8E\u5B58\u6863\u201C{0}\u201D \xB7 Lua \u811A\u672C\u662F\u5B58\u6863\u5185\u72EC\u7ACB\u8D44\u4EA7":"Save: \u201C{0}\u201D \xB7 Lua scripts are separate assets within the save",\u672A\u547D\u540D\u5B58\u6863:"Untitled Save","\u811A\u672C {0}":"Script {0}","\u811A\u672C\u8DEF\u5F84\uFF08\u5DE5\u4F5C\u533A\u76F8\u5BF9\u8DEF\u5F84\uFF09":"Script path (relative to the workspace)","\u6302\u8F7D\u76EE\u6807\uFF08\u5BA2\u6237\u7AEF\u63A7\u4EF6 / \u5BA2\u6237\u7AEF\u63A7\u4EF6\u6A21\u677F\uFF09":"Attach to (client control / client control template)","\u672A\u6302\u8F7D\uFF08\u4E0D\u751F\u6548\uFF0C\u4EC5\u53EF\u88AB require\uFF09":"Not attached (does not run automatically; require only)","\u670D\u52A1\u5668\u63A7\u4EF6\u6A21\u677F \xB7 \u5BA2\u6237\u7AEF\u63A7\u4EF6\u5BB9\u5668\u5185":"Server Control Template \xB7 Inside the Client Control Container",\u5BA2\u6237\u7AEF\u63A7\u4EF6\u6A21\u677F:"Client Control Template","Lua \u6E90\u7801":"Lua Source","-- \u5728\u8FD9\u91CC\u8F93\u5165\u5BA2\u6237\u7AEF Lua\uFF1B\u811A\u672C\u53EA\u6709\u6302\u8F7D\u5230\u5BA2\u6237\u7AEF\u63A7\u4EF6\u540E\u624D\u4F1A\u5728\u8BD5\u73A9\u65F6\u751F\u6548":"-- Enter client-side Lua here; attach the script to a client control to run it in playtests",\u6709\u672A\u4FDD\u5B58\u7684\u4FEE\u6539:"Unsaved changes","\u5DF2\u6302\u8F7D\uFF1A{0}":"Attached to: {0}","\u5F53\u524D\u672A\u6302\u8F7D\uFF0C\u8BD5\u73A9\u65F6\u4E0D\u4F1A\u81EA\u52A8\u8FD0\u884C":"Not attached; it will not run automatically in playtests","\u21E9 \u811A\u672C\u5305 JSON":"\u21E9 Script Bundle JSON","\u21E9 \u811A\u672C\u5305 GIA":"\u21E9 Script Bundle GIA",\u4FDD\u5B58\u811A\u672C:"Save Script",\u8BF7\u65B0\u5EFA\u6216\u9009\u62E9\u4E00\u4E2A\u811A\u672C:"Create or select a script","PlayerSelf \u5F53\u524D\u73A9\u5BB6":"PlayerSelf \u2014 Current Player","AllPlayers \u5168\u90E8\u73A9\u5BB6":"AllPlayers \u2014 All Players","Level \u5173\u5361":"Level \u2014 Stage","Player1 \u73A9\u5BB61":"Player1 \u2014 Player 1","Player2 \u73A9\u5BB62":"Player2 \u2014 Player 2","Player3 \u73A9\u5BB63":"Player3 \u2014 Player 3","Player4 \u73A9\u5BB64":"Player4 \u2014 Player 4","Player5 \u73A9\u5BB65":"Player5 \u2014 Player 5","Player6 \u73A9\u5BB66":"Player6 \u2014 Player 6","Player7 \u73A9\u5BB67":"Player7 \u2014 Player 7","Player8 \u73A9\u5BB68":"Player8 \u2014 Player 8","\u89C4\u5219 {0} \u9700\u8981\u76D1\u542C\u4FE1\u53F7\u540D":"Rule {0} needs a signal name to listen for","\u89C4\u5219 {0} \u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u52A8\u4F5C":"Rule {0} needs at least one action","\u89C4\u5219 {0} \u52A8\u4F5C {1} \u9700\u8981\u5BA2\u6237\u7AEF\u4FE1\u53F7\u540D":"Rule {0}, action {1} needs a client signal name","\u89C4\u5219 {0} \u52A8\u4F5C {1} \u9700\u8981\u53D8\u91CF\u540D":"Rule {0}, action {1} needs a variable name","{0}\u6765\u6E90":"{0} source","\u5B57\u9762\u91CF\uFF08JSON\uFF09":"Literal (JSON)",\u5F15\u7528\u76D1\u542C\u4FE1\u53F7\u53C2\u6570:"Use a received signal argument","{0}\u53C2\u6570\u5E8F\u53F7":"{0} argument index","{0}\u5B57\u9762\u91CF":"{0} literal","\u5BA2\u6237\u7AEF\u4FE1\u53F7\u53C2\u6570\uFF08\u6309\u6DFB\u52A0\u987A\u5E8F\uFF09":"Client signal arguments (in order)","\u53C2\u6570 {0}":"Argument {0}",\u5220\u9664\u53C2\u6570:"Remove argument","\u6682\u65E0\u53C2\u6570\uFF0C\u53EF\u53D1\u9001\u7A7A\u53C2\u6570\u5217\u8868":"No arguments; an empty argument list can be sent","\uFF0B \u6DFB\u52A0\u53C2\u6570":"\uFF0B Add Argument",\u670D\u52A1\u7AEF\u903B\u8F91:"Server Logic","\u5C5E\u4E8E\u5B58\u6863\u201C{0}\u201D \xB7 \u76D1\u542C\u5BA2\u6237\u7AEF\u4FE1\u53F7\u540E\u8BBE\u7F6E Level / \u73A9\u5BB6\u53D8\u91CF\uFF0C\u6216\u5411\u6307\u5B9A\u73A9\u5BB6\u53D1\u9001\u5BA2\u6237\u7AEF\u811A\u672C\u4FE1\u53F7":"Save: \u201C{0}\u201D \xB7 Listen for client signals to set Level / player variables or send client script signals to selected players",\u4FDD\u5B58\u670D\u52A1\u7AEF\u903B\u8F91:"Save Server Logic","\u8FD9\u662F\u6A21\u62DF\u5668\u5B58\u6863\u683C\u5F0F\uFF0C\u4E0D\u662F\u5B98\u65B9\u8282\u70B9\u56FE\u3002PlayerSelf \u8868\u793A\u53D1\u4FE1\u53F7\u7684\u90A3\u4F4D\u73A9\u5BB6\uFF1BPlayer1\u20138 \u662F\u56FA\u5B9A\u5EA7\u4F4D\uFF1BAllPlayers \u5411\u672C\u5C40\u5168\u90E8\u8BD5\u73A9\u73A9\u5BB6\u5E7F\u64AD\u3002":"This uses the simulator's save format. PlayerSelf is the player who sent the signal; Player1\u20138 are fixed slots; AllPlayers broadcasts to every player in this playtest.","\u89C4\u5219 {0}":"Rule {0}",\u76D1\u542C\u4FE1\u53F7\u540D:"Signal to listen for","\u89C4\u5219 {0} \u76D1\u542C\u4FE1\u53F7\u540D":"Rule {0}: signal to listen for",\u5220\u9664\u89C4\u5219:"Remove rule","\u52A8\u4F5C {0}":"Action {0}","\u89C4\u5219 {0} \u52A8\u4F5C {1} \u7C7B\u578B":"Rule {0}, action {1}: type",\u8BBE\u7F6E\u81EA\u5B9A\u4E49\u53D8\u91CF:"Set Custom Variable",\u53D1\u9001\u5BA2\u6237\u7AEF\u811A\u672C\u4FE1\u53F7:"Send Client Script Signal","\u53D1\u7ED9\u5F53\u524D\u73A9\u5BB6\u3001\u6307\u5B9A\u73A9\u5BB6\u6216\u5168\u90E8\u73A9\u5BB6":"Send to the current player, a selected player, or all players","\u5199\u5165 Level / \u5F53\u524D\u73A9\u5BB6 / \u73A9\u5BB61-8":"Write to Level / current player / Player1\u20138",\u5220\u9664\u52A8\u4F5C:"Remove action",\u53D1\u9001\u76EE\u6807:"Send to",\u5BA2\u6237\u7AEF\u4FE1\u53F7\u540D:"Client signal name",\u5B9E\u4F53:"Entity",\u53D8\u91CF\u540D:"Variable name",\u53D8\u91CF\u503C:"Variable value","\uFF0B \u8BBE\u7F6E\u81EA\u5B9A\u4E49\u53D8\u91CF":"\uFF0B Set Custom Variable","\uFF0B \u53D1\u9001\u5BA2\u6237\u7AEF\u811A\u672C\u4FE1\u53F7":"\uFF0B Send Client Script Signal","\u8FD8\u6CA1\u6709\u76D1\u542C\u89C4\u5219\u3002\u8BD5\u73A9\u65F6\u5BA2\u6237\u7AEF SendSignal \u4E0D\u4F1A\u81EA\u52A8\u6539\u53D8\u91CF\u6216\u56DE\u4F20\u4FE1\u53F7\u3002":"No signal rules yet. In a playtest, client SendSignal calls do not automatically change variables or send signals back.","\uFF0B \u6DFB\u52A0\u76D1\u542C\u89C4\u5219":"\uFF0B Add Signal Rule","\u4FDD\u5B58\u540E\u4F1A\u5199\u5165\u5F53\u524D\u5B58\u6863\uFF0C\u4E0B\u6B21\u8BD5\u73A9\u751F\u6548":"Saved to the current save; applies on the next playtest","\u8BF7\u8F93\u5165 1\u20132147483647 \u4E4B\u95F4\u7684\u6574\u6570\u7D22\u5F15\u3002":"Enter an integer index from 1 to 2147483647.",\u5BA2\u6237\u7AEF\u63A7\u4EF6\u7D22\u5F15:"Client Control Index",\u4FDD\u5B58\u4E2D:"Saving",\u4FEE\u6539:"Edit",\u81EA\u52A8\u4FEE\u6539\u5176\u4ED6\u5BA2\u6237\u7AEF\u7D22\u5F15\u503C:"Automatically fill other client control indices",\u81EA\u52A8\u586B\u5145\u7D22\u5F15\u9884\u89C8:"Index Autofill Preview","\u4EE5\u5F53\u524D\u63A7\u4EF6\u4E3A\u57FA\u51C6\uFF0C\u6309 GIA \u5BFC\u5165\u987A\u5E8F\u586B\u5145 {0} \u4E2A\u63A7\u4EF6\uFF08{1} \u4E2A\u6A21\u677F\u53CA\u5176\u5B50\u63A7\u4EF6\uFF09\u3002":"Using this control as the anchor, assign indices in GIA import order to {0} controls ({1} templates and their children).","\u7D22\u5F15\u8303\u56F4\uFF1A{0}\u2013{1}":"Index range: {0}\u2013{1}","\u7D22\u5F15\u8303\u56F4\u8D85\u51FA\u6709\u6548\u8303\u56F4\uFF0C\u8BF7\u68C0\u67E5\u8F93\u5165\u3002":"Index range exceeds the valid bounds. Check your input.","\u9002\u7528\u4E8E\u6574\u6279\u5BFC\u5165\u540E\u672A\u589E\u5220\u3001\u91CD\u6392\u7684\u6A21\u677F\u3002\u670D\u52A1\u7AEF\u754C\u9762\u548C\u811A\u672C\u7D22\u5F15\u9700\u5355\u72EC\u586B\u5199\u3002":"For templates imported together without structural changes or reordering. Server UI and script indices must be entered separately.","\u586B\u5199 GIA \u5BFC\u5165\u540E\u5B9E\u9645\u663E\u793A\u7684\u7D22\u5F15\uFF1B\u4FEE\u6539\u540E\u4ECE\u9875\u9762\u4E0A\u65B9\u7EE7\u7EED\u540C\u6B65 Lua\u3002":"Enter the actual index shown after importing the GIA. Then update Lua references using the notice above.",\u6302\u8F7D\u5230\u8BE5\u63A7\u4EF6\u7684\u811A\u672C:"Scripts Attached to This Control","\u89E3\u9664\u6302\u8F7D\uFF08\u4FDD\u7559\u811A\u672C\uFF09":"Detach (keep script)","\u8BE5\u63A7\u4EF6\u5C1A\u672A\u6302\u8F7D\u811A\u672C\u3002\u811A\u672C\u6302\u8F7D\u5230\u5BA2\u6237\u7AEF\u63A7\u4EF6\u540E\u624D\u4F1A\u5728\u8BD5\u73A9\u65F6\u751F\u6548\u3002":"No script is attached to this control. Attach a script to a client control to run it in playtests.",\u6302\u8F7D\u5DF2\u6709\u811A\u672C:"Attach an Existing Script",\u9009\u62E9\u811A\u672C\u6302\u8F7D\u5230\u8BE5\u63A7\u4EF6:"Choose a script to attach to this control","\u9009\u62E9\u811A\u672C\u2026":"Select a script\u2026","\uFF08\u5F53\u524D\u6302\u8F7D\u4E8E {0} \xB7 {1}\uFF0C\u5C06\u79FB\u52A8\u5230\u6B64\u63A7\u4EF6\uFF09":"(currently on {0} \xB7 {1}; will move to this control)","\uFF08\u672A\u6302\u8F7D\uFF09":"(not attached)","\u5B58\u6863\u5185\u8FD8\u6CA1\u6709\u5176\u4ED6\u811A\u672C\uFF0C\u53EF\u70B9\u51FB\u4E0B\u65B9\u6309\u94AE\u65B0\u5EFA\u3002":"No other scripts in this save. Create one using the button below.","\uFF0B \u65B0\u5EFA\u811A\u672C\u5E76\u6302\u8F7D\u5230\u6B64\u63A7\u4EF6":"\uFF0B Create and Attach a Script","\u7F3A\u5C11\u56FE\u7247 {0}":"Missing image {0}",\u672C\u5730\u5B57\u4F53\u52A0\u8F7D\u5931\u8D25:"Failed to load the local font","\u5F53\u524D\u8D44\u4EA7\u5DF2\u5207\u6362\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9\u63A7\u4EF6\u540E\u4FEE\u6539\u7D22\u5F15":"The active asset changed. Select the control again before changing its index.","\u63A7\u4EF6\u7D22\u5F15\u5DF2\u4FEE\u6539\u3002\u8BF7\u9009\u62E9\u4E0A\u65B9\u300C\u5168\u91CF\u66FF\u6362\u811A\u672C\u7D22\u5F15\u300D\u6216\u300C\u590D\u5236\u63D0\u793A\u8BCD\u7ED9 AI\u300D\u3002":"Control indices changed. Choose \u201CReplace All Script Indices\u201D or \u201CCopy Task for AI\u201D above.","\u8BF7\u5148\u4FDD\u5B58\u5B8C\u6574\u5B58\u6863\uFF0C\u518D\u590D\u5236\u63D0\u793A\u8BCD\uFF1BAI \u9700\u8981\u8BFB\u53D6\u8FD9\u6B21\u5B9E\u9645\u4FEE\u6539\u7684\u5B58\u6863\u3002":"Save the complete project before copying the task. The AI needs the save containing these changes.","\u8BF7\u5B8C\u6210\u6A21\u62DF\u5668\u63A7\u4EF6\u7D22\u5F15\u4E0E Lua \u5F15\u7528\u540C\u6B65\u3002":"Update the simulator's control indices and Lua references.","\u5DE5\u4F5C\u533A\uFF1A{0}":"Workspace: {0}",\u8BF7\u5148\u6838\u5BF9\u5DE5\u4F5C\u533A:"Verify the workspace first","\u6700\u65B0\u5B8C\u6574\u5B58\u6863\uFF1A{0}\uFF08\u7F16\u8F91\u5668\u5DF2\u4FDD\u5B58\uFF09":"Latest complete save: {0} (saved by the editor)","Lua \u6587\u4EF6\uFF1A{0}":"Lua files: {0}","\u5185\u8054\u811A\u672C {0}":"Inline script {0}",\u6682\u65E0:"None","\u5148\u4ECE\u4E0A\u8FF0\u6587\u4EF6\u91CD\u65B0\u52A0\u8F7D\u6700\u65B0\u5B58\u6863\uFF0C\u4E0D\u8981\u4F7F\u7528\u53E6\u4E00\u4E2A MCP/Web \u8FDB\u7A0B\u91CC\u7684\u65E7\u5DE5\u7A0B\u3002":"Reload the latest save from the file above. Do not use an older project from another MCP/Web process.","\u83B7\u53D6\u65B0\u65E7\u6620\u5C04\uFF1A\u8BFB\u53D6\u8BE5 JSON \u9876\u5C42\u7684 controlGuidChanges \u6570\u7EC4\uFF0C\u5F53\u524D\u5171 {0} \u6761\uFF0C\u5FC5\u987B\u8BFB\u53D6\u5168\u90E8\u8BB0\u5F55\u3002oldGuid \u662F\u65E7\u7D22\u5F15\uFF0CnewGuid \u662F\u65B0\u7D22\u5F15\uFF1BcontrolAsset + controlId \u6807\u8BC6\u63A7\u4EF6\uFF0CcontrolName \u662F\u540D\u79F0\uFF0Cid \u662F\u8BB0\u5F55\u7F16\u53F7\uFF0CbatchId \u662F\u6279\u6B21\u3002":"Read all {0} entries in the save's top-level controlGuidChanges array. oldGuid/newGuid are the old/new indices. controlAsset + controlId identifies the control; controlName is its name; id identifies the change; batchId identifies the batch.","\u83B7\u53D6\u811A\u672C\uFF1A\u8BFB\u53D6 assets.scripts \u6570\u7EC4\uFF1B\u6BCF\u9879\u7684 source \u662F\u5B58\u6863\u5185\u6E90\u7801\uFF0Cpath \u662F\u811A\u672C\u6587\u4EF6\u8DEF\u5F84\uFF08\u76F8\u5BF9\u8DEF\u5F84\u4EE5\u5DE5\u4F5C\u533A\u4E3A\u57FA\u51C6\uFF09\u3002":"Read scripts from assets.scripts. Each source contains the saved code; path identifies its file, relative to the workspace where applicable.","\u6309\u63A7\u4EF6\u8EAB\u4EFD\u548C\u53D8\u66F4\u987A\u5E8F\u6838\u5BF9\u5168\u90E8 Lua \u811A\u672C\u7684\u7D22\u5F15\u5E38\u91CF\u3001\u914D\u7F6E\u8868\u4E0E\u8C03\u7528\uFF0C\u4FEE\u6539\u5B58\u6863\u4E2D\u7684 source \u53CA\u76F8\u5173 Lua \u6E90\u6587\u4EF6\u548C\u751F\u6210\u5668\u6620\u5C04\uFF0C\u907F\u514D\u91CD\u5EFA\u540E\u8986\u76D6\u3002\u4E0D\u8981\u5168\u5C40\u66FF\u6362\u540C\u503C\u6570\u5B57\uFF0C\u4E5F\u4E0D\u8981\u6539\u8FD0\u884C\u65F6\u5B9E\u4F8B ID \u6216\u56FE\u7247\u8D44\u6E90 ID\u3002":"Review index constants, tables, and calls in all Lua scripts by control identity and change order. Update saved source, related Lua files, and generator mappings. Do not globally replace equal numbers or alter runtime instance IDs or image resource IDs.","\u540C\u4E00 batchId \u662F\u540C\u65F6\u6620\u5C04\uFF0C\u987B\u6309\u539F\u503C\u4E00\u6B21\u6027\u5E94\u7528\uFF0C\u4E0D\u80FD\u9010\u6761\u66FF\u6362\u5BFC\u81F4\u7D22\u5F15\u4E32\u6539\u3002":"Changes sharing batchId form one simultaneous mapping. Apply them to original values together to avoid cascading replacements.","\u68C0\u67E5\u65E7\u7D22\u5F15\u5F15\u7528\u5E76\u91CD\u65B0\u8BD5\u73A9\uFF1B\u4EC5\u5728\u5F15\u7528\u5168\u90E8\u540C\u6B65\u6216\u660E\u786E\u6CA1\u6709\u5F15\u7528\u540E\uFF0C\u7528 acknowledgeControlGuidChanges \u7684 changeIds \u6E05\u9664\u5DF2\u6838\u5BF9\u8BB0\u5F55\uFF0C\u4FDD\u5B58\u5B8C\u6574\u5B58\u6863\u3002\u672A\u5224\u65AD\u7684\u8BB0\u5F55\u7EE7\u7EED\u4FDD\u7559\u3002":"Check old references and playtest again. Only after updating every reference or confirming none exist, acknowledge reviewed changeIds with acknowledgeControlGuidChanges and save. Keep unreviewed changes.","\u5B8C\u6210\u540E\u544A\u77E5\u7528\u6237\u91CD\u65B0\u8F7D\u5165\u8FD9\u4E2A\u5B58\u6863\uFF0C\u518D\u901A\u8FC7\u300CLua \u811A\u672C \u2192 \u5B9E\u673A\u811A\u672C\u540C\u6B65\u300D\u66F4\u65B0\u6E38\u620F\u6587\u4EF6\uFF1B\u4E0D\u8981\u91CD\u65B0\u5BFC\u5165 GIA\uFF0C\u4E5F\u4E0D\u8981\u64C5\u81EA\u590D\u5236\u5230\u6E38\u620F\u76EE\u5F55\u3002":"Tell the user to reload this save and use Lua Scripts \u2192 Sync Scripts to Game. Do not reimport GIA or copy files into the game directory without authorization.","\u5B58\u6863\u5DF2\u4FDD\u5B58\uFF0C\u63D0\u793A\u8BCD\u5DF2\u590D\u5236\uFF0C\u5305\u542B\u5B8C\u6574\u6620\u5C04\u7684\u8BFB\u53D6\u65B9\u5F0F\u3002\u7C98\u8D34\u7ED9 AI\uFF1B\u5904\u7406\u540E\u91CD\u65B0\u8F7D\u5165\u5B58\u6863\u3002":"Save written and task copied, including instructions for reading the full mapping. Paste it into the AI chat, then reload the save when finished.","\u5B58\u6863\u5DF2\u4FDD\u5B58\u3002\u526A\u8D34\u677F\u4E0D\u53EF\u7528\uFF0C\u53EF\u4ECE\u4E0B\u65B9\u6587\u672C\u6846\u624B\u52A8\u590D\u5236\u63D0\u793A\u8BCD\u3002":"Save written. Clipboard access is unavailable; copy the task from the text box below.","\u56FE\u7247 {0} \u5DF2\u91CD\u65B0\u4E0B\u8F7D\uFF1B\u540C\u6E90\u8BD5\u73A9\u9875\u4F1A\u540C\u6B65\u5237\u65B0\u3002":"Image {0} downloaded again. Playtest pages on this origin will refresh it too.","{0}\u56FE\u7247":"{0} Image","{0}\u5DF2\u521B\u5EFA\u5E76\u7ED1\u5B9A\uFF1B\u53EF\u5728\u63A7\u4EF6\u6811\u4E2D\u7EE7\u7EED\u7F16\u8F91\u56FE\u7247\u3002":"Created and assigned {0}. Edit the image in the control tree.","Lua \u811A\u672C\u5DF2\u4FDD\u5B58\u5230\u5F53\u524D\u5B58\u6863":"Lua script saved to the current save",\u670D\u52A1\u7AEF\u903B\u8F91\u5DF2\u4FDD\u5B58\u5230\u5F53\u524D\u5B58\u6863:"Server logic saved to the current save",\u5DF2\u65B0\u5EFA\u811A\u672C\u5E76\u6302\u8F7D\u5230\u8BE5\u63A7\u4EF6:"Script created and attached to this control","\u5DF2\u65B0\u5EFA\u811A\u672C\uFF0C\u53EF\u7F16\u8F91\u8DEF\u5F84\u3001\u6E90\u7801\u548C\u6302\u8F7D\u76EE\u6807":"Script created. Edit its path, source, and attachment target.",\u811A\u672C\u5DF2\u5220\u9664:"Script deleted","\u5DF2\u89E3\u9664\u6302\u8F7D\uFF0C\u811A\u672C\u4ECD\u4FDD\u7559\u5728\u5B58\u6863\u4E2D":"Script detached and kept in the save",\u5DF2\u6302\u8F7D\u5230\u5F53\u524D\u63A7\u4EF6:"Attached to the current control","\u5DF2\u5207\u6362\u5230\u5B58\u6863\u5185\u7684{0}":"Switched to {0} in this save","{0}\u6A21\u677F":"{0} Template","\u5DF2\u65B0\u589E{0}\u6A21\u677F":"Created a {0} template","\u5DF2\u6DFB\u52A0{0}\u5B50\u63A7\u4EF6":"Added a {0} child control","\u5DF2\u5BFC\u51FA {0} \u4E2A GIA \u6587\u4EF6\uFF08{1}\uFF09\uFF1B\u82E5\u6D4F\u89C8\u5668\u62E6\u622A\u591A\u6587\u4EF6\u4E0B\u8F7D\uFF0C\u8BF7\u5141\u8BB8\u540E\u91CD\u8BD5\u3002":"Exported {0} GIA files ({1}). If downloads are blocked, allow multiple downloads and retry.","\u5DF2\u5BFC\u51FA {0}\uFF1B\u8BF7\u67E5\u770B\u4E0A\u65B9\u5BFC\u51FA\u8BF4\u660E\u3002":"Exported {0}. Review the export notes above.","\u5DF2\u5BFC\u51FA {0}":"Exported {0}","\u5DF2\u4ECE\u5DE5\u4F5C\u533A\u62C9\u53D6 {0}":"Loaded {0} from the workspace","\u4EC5\u652F\u6301 .json\u3001.gia \u6216 .lua \u6587\u4EF6":"Only .json, .gia, and .lua files are supported","\u5DF2\u5BFC\u5165 {0}":"Imported {0}","\u5DF2\u4FDD\u5B58\u5230 {0}":"Saved to {0}","\u6B63\u5728\u8F7D\u5165\u5343\u661F\u6C99\u7BB1\u2026":"Loading Miliastra Sandbox\u2026","\u5DF2\u5207\u6362\u5230{0}":"Switched to {0}",\u4FDD\u5B58\u5230\u5DE5\u4F5C\u533A:"Save to Workspace",\u5B58\u6863\u76F8\u5BF9\u8DEF\u5F84:"Save path (relative to workspace)",\u53D6\u6D88:"Cancel",\u4FDD\u5B58:"Save",\u5DE5\u4F5C\u533A\u672A\u7ED1\u5B9A:"No workspace bound",\u5C1A\u672A\u5BFC\u5165\u6587\u4EF6:"No file imported","\u5B58\u6863\uFF1A{0}":"Save: {0}","\u5DE5\u4F5C\u533A\uFF1A{0} \xB7 \u5F53\u524D\u8D44\u4EA7\uFF1A{1}":"Workspace: {0} \xB7 Active asset: {1}",\u672A\u7ED1\u5B9A:"Unbound",UI\u63A7\u4EF6:"UI Controls",\u76EE\u6807\u8BBE\u5907:"Target device",\u5C4F\u5E55\u6BD4\u4F8B:"Aspect ratio",\u753B\u5E03\u7F29\u653E:"Canvas zoom",\u9002\u5E94:"Fit","\u670D\u52A1\u7AEF\u903B\u8F91\uFF1A\u76D1\u542C\u4FE1\u53F7 / \u81EA\u5B9A\u4E49\u53D8\u91CF / \u73A9\u5BB61-8 \u56DE\u4F20":"Server logic: signals / custom variables / Player1\u20138 responses","Lua \u811A\u672C\u8D44\u4EA7\u7F16\u8F91":"Lua script asset editor",\u4FDD\u5B58\u5B8C\u6574\u5B58\u6863\u5230\u5DE5\u4F5C\u533A:"Save the complete project to the workspace",\u4FDD\u5B58\u5B58\u6863:"Save Project",\u4ECE\u5DE5\u4F5C\u533A\u62C9\u53D6\u5B58\u6863:"Load a save from the workspace","\u2913 \u5DE5\u4F5C\u533A\u5B58\u6863":"\u2913 Workspace Saves","\u672A\u53D1\u73B0 qxqy-simulator-save":"No qxqy-simulator-save found",\u5148\u7ED1\u5B9A\u4F1A\u8BDD\u5DE5\u4F5C\u533A:"Bind a session workspace first","\u5BFC\u5165\u5B58\u6863\u3001\u5355\u9879 UI \u8D44\u4EA7\u6216 Lua":"Import a save, individual UI asset, or Lua script","\u21E7 \u5BFC\u5165":"\u21E7 Import",\u5BFC\u51FA\u683C\u5F0F:"Export format","\u21E9 \u5BFC\u51FA":"\u21E9 Export","\u8D44\u4EA7\u5305 JSON\uFF08\u4E09\u7C7B\u5408\u4E00\uFF09":"Complete Save JSON (all three asset types)","\u8D44\u4EA7\u5305 GIA\uFF08\u5DF2\u6539\u52A8\u9879\uFF09":"Asset Bundle GIA (modified assets)","\u8D44\u4EA7\u5305 GIA \u6574\u5408\u5305\uFF08\u63A7\u4EF6+\u811A\u672C\uFF09":"Combined GIA (controls + scripts)","\u5F53\u524D\u754C\u9762\uFF08\u5DE6\u680F\u6B63\u5728\u770B\u7684\u90A3\u68F5\u6811\uFF09":"Current UI (the tree shown on the left)","\u5F53\u524D\u754C\u9762 Authoring JSON":"Current UI Authoring JSON","\u5F53\u524D\u754C\u9762 GIA":"Current UI GIA",\u670D\u52A1\u5668\u63A7\u4EF6\u6A21\u677F:"Server Control Template","\u5BA2\u6237\u7AEF\u63A7\u4EF6\u6A21\u677F\uFF08\u4EC5\u5F53\u5DE6\u680F\u5207\u5230\u300CUI\u63A7\u4EF6-\u5BA2\u6237\u7AEF\u300D\u65F6\u624D\u662F\u9875\u9762\u5185\u5BB9\uFF09":"Client Control Templates (shown in the Client UI tab)","Lua \u811A\u672C":"Lua Scripts","\u811A\u672C\u5305 JSON\uFF08\u5168\u90E8\u811A\u672C\uFF09":"Script Bundle JSON (all scripts)","\u811A\u672C\u5305 GIA\uFF08\u5168\u90E8\u811A\u672C\uFF09":"Script Bundle GIA (all scripts)","\u6253\u5F00\u8BD5\u73A9\uFF1B\u65B0\u7A97\u53E3\u4E0D\u53EF\u7528\u65F6\u5728\u5E94\u7528\u5185\u8BD5\u73A9":"Open a playtest; use an embedded view if new windows are unavailable","\u6B63\u5728\u51C6\u5907\u2026":"Preparing\u2026","\u25B7 \u8BD5\u73A9 \u2197":"\u25B7 Playtest \u2197",\u91CD\u65B0\u8F7D\u5165:"Reload",\u7F16\u8F91\u9875\u9762:"Editor page","UI \u7F16\u8F91":"UI Editor","\u4E00\u4E2A\u5B58\u6863 \xB7 \u670D\u52A1\u5668\u63A7\u4EF6\u6A21\u677F + \u5BA2\u6237\u7AEF\u63A7\u4EF6\u6A21\u677F + Lua \u811A\u672C + \u670D\u52A1\u7AEF\u903B\u8F91":"One save \xB7 Server Control Templates + Client Control Templates + Lua Scripts + Server Logic","\u4E0A\u6B21\u5BFC\u51FA\u8BF4\u660E\uFF08{0} \u9879\uFF0C\u8BF7\u6838\u5BF9\u5BFC\u5165\u540E\u7684\u6548\u679C\uFF09":"Export notes ({0}; verify the result after import)",\u5173\u95ED\u5BFC\u51FA\u8BF4\u660E:"Close export notes",\u7F16\u8F91\u8D44\u6E90\u7C7B\u578B:"Asset type","\u7F16\u8F91\u5B58\u6863\u5185\u7684\u670D\u52A1\u7AEF UI \u63A7\u4EF6":"Edit the save's server UI controls","UI\u63A7\u4EF6-\u670D\u52A1\u7AEF":"Server UI",\u7F16\u8F91\u5B58\u6863\u5185\u7684\u5BA2\u6237\u7AEF\u63A7\u4EF6\u6A21\u677F:"Edit the save's client control templates","UI\u63A7\u4EF6-\u5BA2\u6237\u7AEF":"Client UI",\u6A21\u677F\u4E0E\u5B50\u63A7\u4EF6:"Templates and Children",\u63A7\u4EF6\u6811:"Control Tree","{0} \u4E2A\u6A21\u677F \xB7 {1} \u4E2A\u63A7\u4EF6":"{0} templates \xB7 {1} controls","{0} \u4E2A\u8282\u70B9":"{0} nodes",\u641C\u7D22\u6A21\u677F\u6216\u63A7\u4EF6:"Search templates or controls",\u641C\u7D22\u63A7\u4EF6:"Search controls",\u6A21\u677F:"Template",\u6682\u4E0D\u652F\u6301:"Not supported yet","\u5728\u753B\u5E03\u4E0A\u663E\u793A\uFF08\u4E0D\u5F71\u54CD\u63A7\u4EF6\u521D\u59CB\u53EF\u89C1\u6027\uFF09":"Show on canvas (does not change initial visibility)","\u5728\u753B\u5E03\u4E0A\u9690\u85CF\uFF08\u4E0D\u5F71\u54CD\u63A7\u4EF6\u521D\u59CB\u53EF\u89C1\u6027\uFF09":"Hide on canvas (does not change initial visibility)","{0}\u753B\u5E03\u53EF\u89C1\u6027":"Canvas visibility: {0}",\u6CA1\u6709\u5339\u914D\u7684\u63A7\u4EF6:"No matching controls",\u5C42\u7EA7\u4E0E\u6A21\u677F\u8FB9\u754C:"Hierarchy and Templates",\u7236\u7EA7\u63A7\u4EF6:"Parent control",\u5DF2\u63D0\u5347\u4E3A\u53EF\u5B9E\u4F8B\u5316\u9876\u5C42\u6A21\u677F:"Promoted to an instantiable top-level template",\u5DF2\u8C03\u6574\u63A7\u4EF6\u7236\u7EA7:"Control parent changed","\u9876\u5C42\u6A21\u677F\uFF08\u53EF\u5B9E\u4F8B\u5316\uFF09":"Top-level template (instantiable)",\u5728\u540C\u7EA7\u4E2D\u4E0A\u79FB:"Move up among siblings",\u5728\u540C\u7EA7\u4E2D\u4E0B\u79FB:"Move down among siblings","\u8BE5\u8282\u70B9\u4F1A\u5199\u5165\u72EC\u7ACB UIControlTemplate\uFF0C\u53EF\u76F4\u63A5\u4F5C\u4E3A prefabId\u3002":"This node exports as a separate UIControlTemplate and can be used directly as prefabId.","\u5F53\u524D\u4E3A\u7B2C {0} \u5C42\u5B50\u63A7\u4EF6\uFF0C\u4E0D\u4F1A\u5355\u72EC\u6210\u4E3A prefabId\u3002":"This is a depth-{0} child control, not a standalone template for prefabId instantiation.",\u65B0\u589E\u72EC\u7ACB\u53EF\u5B9E\u4F8B\u5316\u6A21\u677F:"Create a separate instantiable template","\u6DFB\u52A0\u5230{0}":"Add to {0}",\u5F53\u524D\u63A7\u4EF6:"Current control",\u65B0\u589E\u9876\u5C42\u6A21\u677F:"Create a top-level template",\u9876\u5C42:"Top Level",\u5B50\u63A7\u4EF6:"Child",\u65B0\u589E:"New",\u6DFB\u52A0:"Add","Lua \u6A21\u677F\u9884\u89C8":"Lua Template Preview",\u754C\u9762\u63A7\u4EF6\u7EC4:"UI Control Group","{0} \xB7 {1}\xD7{2} \xB7 \u5DE6\u4E0B\u539F\u70B9":"{0} \xB7 {1}\xD7{2} \xB7 Bottom-left origin","\u25CF {0}\u7F16\u8F91":"\u25CF Editing {0}",\u63A7\u4EF6:"Control","\u5F53\u524D\uFF1A{0}":"Selected: {0}","GIA \u5BFC\u51FA\u540E\u53EF\u5728 Lua \u4E2D\u6309 prefabId \u5B9E\u4F8B\u5316":"After exporting GIA, instantiate in Lua using prefabId","\u5B57\u6BB5\u5728\u5931\u7126\u6216 Enter \u65F6\u63D0\u4EA4":"Commit fields on blur or Enter","\u4F5C\u8005 B\u7AD9\u4E3B\u9875":"Author's Bilibili profile",\u4F5C\u8005B\u7AD9:"Bilibili",\u53EF\u5B9E\u4F8B\u5316:"Instantiable","\u6A21\u677F\u7D22\u5F15 ":"Template index ","\u63A7\u4EF6 GUID ":"Control GUID ",\u8282\u70B9:"Node",\u57FA\u7840\u5C5E\u6027:"Properties",\u811A\u672C:"Script","\u6B63\u5728\u5237\u65B0\u7D20\u6750\u2026":"Refreshing asset\u2026","\u21BB \u91CD\u65B0\u4E0B\u8F7D\u6B64\u7D20\u6750":"\u21BB Download This Asset Again","\u767D\u540D\u5355\u56FE\u7247\u6309\u9700\u7F13\u5B58\uFF1B\u5237\u65B0\u4F1A\u91CD\u65B0\u8BBF\u95EE\u7D20\u6750\u6E90\u3002":"Supported images are cached on demand. Refreshing downloads them from the asset source.","\u232B \u5220\u9664\u5F53\u524D\u6A21\u677F":"\u232B Delete Template","\u232B \u5220\u9664\u5F53\u524D\u63A7\u4EF6":"\u232B Delete Control",\u8BF7\u9009\u62E9\u4E00\u4E2A\u63A7\u4EF6:"Select a control",'<!doctype html><meta charset="utf-8"><title>\u6B63\u5728\u51C6\u5907\u8BD5\u73A9\u2026</title><p>\u6B63\u5728\u4FDD\u5B58\u9879\u76EE\u5E76\u51C6\u5907\u8BD5\u73A9\u2026</p>':'<!doctype html><meta charset="utf-8"><title>Preparing playtest\u2026</title><p>Saving the project and preparing the playtest\u2026</p>',"\u505C\u6B62\u8BD5\u73A9\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5\uFF1A{0}":"Could not stop the playtest. Retry: {0}","\u8BD5\u73A9\u9875\u672A\u80FD\u52A0\u8F7D\uFF0C\u8BF7\u8FD4\u56DE\u7F16\u8F91\u540E\u91CD\u8BD5\u3002":"The playtest page could not load. Return to the editor and retry.",\u8BD5\u73A9\u6B63\u5728\u5173\u95ED:"Closing playtest",\u5185\u5D4C\u8BD5\u73A9:"Embedded Playtest","\u6B63\u5728\u505C\u6B62\u8BD5\u73A9\u2026":"Stopping playtest\u2026","\u6B63\u5728\u8F7D\u5165\u8BD5\u73A9\u2026":"Loading playtest\u2026",\u5173\u95ED\u8BD5\u73A9:"Close Playtest",\u5343\u661F\u6C99\u7BB1\u8BD5\u73A9:"Miliastra Sandbox Playtest",\u672A\u53D8\u5316:"Unchanged","\u3010\u5343\u661F\u6C99\u7BB1\u811A\u672C\u6587\u4EF6\u5939\u3011":"[Miliastra Sandbox Script Folder]",\u65B0\u589E\u6587\u4EF6:"New file",\u66F4\u65B0\u5DF2\u6709\u6587\u4EF6:"Update existing file","\u5185\u5BB9\u76F8\u540C\uFF0C\u65E0\u9700\u66F4\u65B0":"Identical; no update needed",\u65E0\u6CD5\u590D\u5236:"Cannot copy",\u5B58\u6863\u91CC\u7F16\u8F91\u7684\u4EE3\u7801:"Code edited in the save","\u9879\u76EE\u4E2D\u7684 .lua \u6587\u4EF6":"Project .lua file","\u5B9E\u673A\u811A\u672C\u540C\u6B65 \xB7 {0}":"Sync Scripts to Game \xB7 {0}",\u5DF2\u8BBE\u7F6E\u6587\u4EF6\u5939:"Folders configured",\u5148\u8BBE\u7F6E\u6587\u4EF6\u5939:"Configure folders first","\u628A\u5F53\u524D\u5B58\u6863\u91CC\u7684 Lua \u811A\u672C\u590D\u5236\u5230\u5343\u661F\u6C99\u7BB1\uFF0C\u7528\u4E8E\u6E38\u620F\u5185\u6D4B\u8BD5\u3002\u64CD\u4F5C\u987A\u5E8F\uFF1A\u586B\u5199\u811A\u672C\u4F4D\u7F6E \u2192 \u4FDD\u5B58\u8BBE\u7F6E \u2192 \u4FDD\u5B58\u5B58\u6863\u5E76\u67E5\u770B\u66F4\u65B0 \u2192 \u786E\u8BA4\u590D\u5236\u3002":"Copy this save's Lua scripts into Miliastra Sandbox for in-game testing. Set folders \u2192 Save Settings \u2192 Save and Preview Changes \u2192 Confirm Copy.",\u9879\u76EE\u811A\u672C\u6587\u4EF6\u5939:"Project script folder","\u4F8B\u5982 workspace/my-game\uFF1B\u4E5F\u53EF\u4EE5\u7559\u7A7A":"e.g. workspace/my-game; may be left blank","\u586B\u5199\u5728\u5DE5\u4F5C\u533A\u91CC\u7684\u4F4D\u7F6E\uFF0C\u4F8B\u5982 workspace/my-game\uFF1B\u7559\u7A7A\u8868\u793A\u4F7F\u7528\u5DE5\u4F5C\u533A\u672C\u8EAB\u3002":"Enter a workspace-relative folder, e.g. workspace/my-game. Leave blank to use the workspace root.",\u5343\u661F\u6C99\u7BB1\u811A\u672C\u6587\u4EF6\u5939:"Miliastra Sandbox script folder","\u7C98\u8D34\u4EE5 default_import_file \u7ED3\u5C3E\u7684\u5B8C\u6574\u8DEF\u5F84":"Paste the full path ending in default_import_file","\u5173\u5361\u5B58\u653E\u5916\u90E8 Lua \u811A\u672C\u7684\u6587\u4EF6\u5939\uFF0C\u53EF\u70B9\u51FB\u300C\u53D1\u73B0\u672C\u673A\u76EE\u5F55\u300D\u67E5\u627E\u3002\u8BF7\u586B\u5199\u8FD0\u884C\u6A21\u62DF\u5668\u90A3\u53F0\u7535\u8111\u4E0A\u7684\u5B8C\u6574\u8DEF\u5F84\u3002":"The stage's folder for external Lua scripts. Use \u201CFind Local Folders\u201D to locate it. Enter the full path on the simulator host machine.",\u6E38\u620F\u91CC\u7684\u9879\u76EE\u5B50\u6587\u4EF6\u5939:"Project subfolder in the game","\u4E00\u822C\u548C\u201C\u9879\u76EE\u811A\u672C\u6587\u4EF6\u5939\u201D\u586B\u4E00\u6837\u7684\u5185\u5BB9\uFF0C\u4FDD\u7559\u539F\u6765\u7684\u6587\u4EF6\u4F4D\u7F6E\u3002\u7559\u7A7A\u5219\u76F4\u63A5\u653E\u8FDB\u5343\u661F\u6C99\u7BB1\u811A\u672C\u6587\u4EF6\u5939\u3002":"Usually matches the project script folder to preserve file locations. Leave blank to place files directly in the Miliastra Sandbox script folder.",\u590D\u5236\u8DEF\u5F84\u793A\u4F8B:"Copy Path Example","\u590D\u5236\u793A\u4F8B\uFF1A":"Example destination:","\u6E38\u620F\u8D26\u53F7 UID\uFF1A{0} \xB7 \u5173\u5361\u76EE\u5F55\u7F16\u53F7\uFF1A{1}":"Game account UID: {0} \xB7 Stage folder ID: {1}",\u53D1\u73B0\u672C\u673A\u76EE\u5F55:"Find Local Folders","\u6CA1\u6709\u627E\u5230\u6E38\u620F\u811A\u672C\u6587\u4EF6\u5939\u3002\u53EF\u4EE5\u624B\u52A8\u7C98\u8D34 default_import_file \u6587\u4EF6\u5939\u7684\u5B8C\u6574\u8DEF\u5F84\uFF1B\u5982\u679C\u8FD8\u6CA1\u5BFC\u5165\u811A\u672C\uFF0C\u8BF7\u5148\u5728\u5343\u661F\u6C99\u7BB1\u5B8C\u6210\u5BFC\u5165\u3002":"No game script folder found. Paste the full default_import_file path manually. If you have not imported scripts yet, do so in Miliastra Sandbox first.","\u627E\u5230 {0} \u4E2A\u6E38\u620F\u811A\u672C\u6587\u4EF6\u5939\uFF0C\u8BF7\u9009\u62E9\u8981\u66F4\u65B0\u7684\u8D26\u53F7\u548C\u5173\u5361\u3002":"Found {0} game script folders. Select the account and stage to update.","\u811A\u672C\u4F4D\u7F6E\u5DF2\u4FDD\u5B58\u3002\u4E0B\u4E00\u6B65\u70B9\u51FB\u300C\u4FDD\u5B58\u5B58\u6863\u5E76\u67E5\u770B\u66F4\u65B0\u300D\u3002":"Script folders saved. Next, click \u201CSave and Preview Changes\u201D.",\u6E05\u9664\u8BBE\u7F6E:"Clear Settings","\u5DF2\u6E05\u9664\u811A\u672C\u4F4D\u7F6E\u8BBE\u7F6E\u3002\u6E38\u620F\u91CC\u7684\u811A\u672C\u6587\u4EF6\u4ECD\u7136\u4FDD\u7559\u3002":"Script folder settings cleared. Existing files in the game are kept.",\u9009\u62E9\u8981\u66F4\u65B0\u7684\u8D26\u53F7\u548C\u5173\u5361:"Select the Account and Stage","\u8BF7\u9009\u62E9\u6E38\u620F\u8D26\u53F7\u548C\u5173\u5361\u6587\u4EF6\u5939\u2026":"Select a game account and stage folder\u2026","\u8D26\u53F7 {0} / \u5173\u5361\u76EE\u5F55 {1} \xB7 {2}":"Account {0} / Stage folder {1} \xB7 {2}",\u6A21\u62DF\u5668\u5B58\u6863\u6587\u4EF6:"Simulator save file","\u4F8B\u5982 my-game.save.json":"e.g. my-game.save.json","\u586B\u5199\u5DE5\u4F5C\u533A\u91CC\u7684\u5B58\u6863\u6587\u4EF6\u540D\u6216\u8DEF\u5F84\u3002\u4FDD\u5B58\u8BBE\u7F6E\u65F6\u4F1A\u4E00\u8D77\u4FDD\u5B58\u9879\u76EE\uFF0C\u4E0B\u6B21\u6253\u5F00\u5B58\u6863\u5373\u53EF\u590D\u7528\u3002":"Enter a save filename or path within the workspace. Saving these settings also saves the project so they are available next time.",\u4FDD\u5B58\u5B58\u6863\u5E76\u67E5\u770B\u66F4\u65B0:"Save and Preview Changes","\u8BF7\u5148\u586B\u5199\u5343\u661F\u6C99\u7BB1\u811A\u672C\u6587\u4EF6\u5939\uFF0C\u5E76\u70B9\u51FB\u300C\u4FDD\u5B58\u8BBE\u7F6E\u300D\u3002":"Enter the Miliastra Sandbox script folder and click \u201CSave Settings\u201D first.","\u811A\u672C\u4F4D\u7F6E\u5DF2\u6539\u52A8\uFF0C\u8BF7\u5148\u70B9\u51FB\u300C\u4FDD\u5B58\u8BBE\u7F6E\u300D\u3002":"Script folders changed. Click \u201CSave Settings\u201D first.","\u8BF7\u5148\u586B\u5199\u6A21\u62DF\u5668\u5B58\u6863\u6587\u4EF6\u540D\u3002":"Enter a simulator save filename first.","\u6B63\u5728\u5904\u7406\uFF0C\u8BF7\u7A0D\u5019\u2026":"Working, please wait\u2026",\u811A\u672C\u540C\u6B65\u786E\u8BA4:"Confirm Script Copy","\u672C\u6B21\u66F4\u65B0\u5230\uFF1A{0}":"Destination: {0}","\u8FD9\u4E2A\u5B58\u6863\u8FD8\u6CA1\u6709 Lua \u811A\u672C\u3002\u8BF7\u5148\u5728\u4E0B\u65B9\u6DFB\u52A0\u811A\u672C\uFF0C\u518D\u67E5\u770B\u66F4\u65B0\u3002":"This save has no Lua scripts. Add a script below, then preview the changes.","\u6240\u6709\u811A\u672C\u90FD\u4E0E\u6E38\u620F\u6587\u4EF6\u5939\u91CC\u7684\u5185\u5BB9\u76F8\u540C\uFF0C\u65E0\u9700\u590D\u5236\u3002":"All scripts match the game folder. Nothing to copy.","\u6709\u63A7\u4EF6\u7D22\u5F15\u5C1A\u672A\u540C\u6B65\u5230 Lua\u3002\u8BF7\u5148\u5728\u4E0A\u65B9\u300C\u5168\u91CF\u66FF\u6362\u811A\u672C\u7D22\u5F15\u300D\uFF0C\u6216\u300C\u590D\u5236\u63D0\u793A\u8BCD\u7ED9 AI\u300D\uFF1B\u5904\u7406\u5B8C\u6210\u540E\u518D\u67E5\u770B\u6E38\u620F\u811A\u672C\u66F4\u65B0\u3002":"Some control index changes are not reflected in Lua. Use \u201CReplace All Script Indices\u201D or \u201CCopy Task for AI\u201D above before previewing game script changes.","\u590D\u5236\u7684\u4EE3\u7801\u6765\u81EA\uFF1A{0}":"Code source: {0}","\u65E0\u6CD5\u590D\u5236\uFF1A{0}":"Cannot copy: {0}","\u590D\u5236\u5230\uFF1A{0}":"Copy to: {0}","\u8FD9\u4E2A\u811A\u672C\u5728\u5B58\u6863\u91CC\u548C\u9879\u76EE\u6587\u4EF6\u91CC\u7684\u4EE3\u7801\u4E0D\u540C\u3002\u672C\u6B21\u4F1A\u590D\u5236\u5B58\u6863\u91CC\u7684\u4EE3\u7801\uFF1B\u5982\u679C\u8981\u4F7F\u7528\u9879\u76EE\u6587\u4EF6\uFF0C\u8BF7\u70B9\u51FB\u300C\u6539\u7528\u9879\u76EE\u6587\u4EF6\u91CC\u7684\u4EE3\u7801\u300D\uFF0C\u7136\u540E\u91CD\u65B0\u67E5\u770B\u66F4\u65B0\u3002":"The saved script differs from its project file. This copy uses the saved code. To use the project file instead, choose \u201CUse Project File Code\u201D, then preview changes again.",\u67E5\u770B\u9879\u76EE\u6587\u4EF6\u91CC\u7684\u4EE3\u7801:"View Project File Code",\u6539\u7528\u9879\u76EE\u6587\u4EF6\u91CC\u7684\u4EE3\u7801:"Use Project File Code",\u5BF9\u6BD4\u66F4\u65B0\u524D\u540E\u7684\u4EE3\u7801:"Compare Changes",\u6E38\u620F\u91CC\u73B0\u5728\u7684\u4EE3\u7801:"Current Code in the Game","\uFF08\u6E38\u620F\u91CC\u8FD8\u6CA1\u6709\u8FD9\u4E2A\u6587\u4EF6\uFF09":"(This file does not exist in the game yet)",\u672C\u6B21\u8981\u590D\u5236\u7684\u4EE3\u7801:"Code to Copy","\u65B0\u589E\u811A\u672C\u590D\u5236\u540E\uFF0C\u8FD8\u9700\u8981\u5728\u5343\u661F\u6C99\u7BB1\u91CC\u5173\u8054\u5BF9\u5E94\u7684\u811A\u672C\u6587\u4EF6\uFF1B\u9700\u8981\u76F4\u63A5\u8FD0\u884C\u7684\u811A\u672C\u8FD8\u8981\u6302\u5230\u63A7\u4EF6\u4E0A\u3002":"After copying new scripts, link their files in Miliastra Sandbox. Scripts that should run directly must also be attached to controls.","\u5DF2\u9009 {0} \u4E2A\u811A\u672C\uFF0C\u5176\u4E2D {1} \u4E2A\u4F1A\u66FF\u6362\u6E38\u620F\u91CC\u7684\u65E7\u6587\u4EF6\u3002\u66FF\u6362\u524D\u4F1A\u81EA\u52A8\u5907\u4EFD\u65E7\u6587\u4EF6\uFF0C\u6E38\u620F\u91CC\u7684\u5176\u4ED6\u6587\u4EF6\u4F1A\u4FDD\u7559\u3002":"Selected {0} scripts; {1} will replace existing game files. Replaced files are backed up. Other files are kept.",\u8986\u76D6:"Replace",\u6682\u4E0D\u590D\u5236:"Cancel","\u786E\u8BA4\u590D\u5236 {0} \u4E2A\u811A\u672C":"Confirm Copy of {0} Scripts",\u811A\u672C\u5DF2\u590D\u5236\u5230\u5343\u661F\u6C99\u7BB1:"Scripts Copied to Miliastra Sandbox",\u6709\u4E9B\u811A\u672C\u672A\u590D\u5236\u6210\u529F:"Some Scripts Could Not Be Copied","\u4E0B\u4E00\u6B65\uFF1A\u56DE\u5230\u5343\u661F\u6C99\u7BB1\uFF0C\u4FDD\u5B58\u5173\u5361\u5E76\u91CD\u65B0\u8BD5\u73A9\uFF0C\u8BA9\u6E38\u620F\u52A0\u8F7D\u66F4\u65B0\u540E\u7684\u811A\u672C\u3002":"Next: Return to Miliastra Sandbox, save the stage, and start a new playtest to load the updated scripts.","\u8BF7\u6309\u4E0B\u65B9\u63D0\u793A\u5904\u7406\u5931\u8D25\u7684\u6587\u4EF6\uFF0C\u518D\u91CD\u65B0\u67E5\u770B\u66F4\u65B0\u5E76\u590D\u5236\u3002":"Resolve the failed files using the notes below, then preview and copy again.","\u590D\u5236\u65F6\u95F4\uFF1A{0} \xB7 \u65E7\u6587\u4EF6\u5907\u4EFD\u4FDD\u5B58\u5728\uFF1A{1}":"Copied at: {0} \xB7 Backups: {1}",\u6210\u529F:"Success",\u5DF2\u590D\u5236:"Copied",\u672A\u590D\u5236:"Not copied",\u5207\u6362\u5230\u4EAE\u8272\u4E3B\u9898:"Switch to light theme",\u5207\u6362\u5230\u6697\u8272\u4E3B\u9898:"Switch to dark theme",\u5F53\u524D\u5B58\u6863:"Current save","\u5F53\u524D\u8D44\u4EA7\u6CA1\u6709\u63A7\u4EF6\u3002":"This asset has no controls.","\u6253\u5F00\u5B58\u6863\u540E\u663E\u793A\u63A7\u4EF6\u7ED3\u6784\u3002":"Open a save to view its control structure.",\u672A\u9009\u62E9:"None selected",\u7C7B\u578B:"Type",\u6811\u6DF1\u5EA6:"Tree depth",\u7236\u8282\u70B9:"Parent node","\u8BD5\u73A9\u542F\u52A8\u540E\u663E\u793A Lua \u65E5\u5FD7\u3002":"Lua logs appear after starting a playtest.",\u5B58\u6863\u52A0\u8F7D\u5931\u8D25:"Failed to Load Save",\u7B49\u5F85\u5DE5\u4F5C\u533A\u5B58\u6863:"Waiting for a Workspace Save","\u6B63\u5728\u76D1\u542C {0}\u3002":"Watching {0}.","{0}Codex \u4FDD\u5B58 qxqy-simulator-save JSON \u540E\u4F1A\u81EA\u52A8\u51FA\u73B0\u5728\u8FD9\u91CC\u3002":"{0}Saves appear here automatically when Codex writes a qxqy-simulator-save JSON file.",\u8BD5\u73A9\u5C1A\u672A\u542F\u52A8:"Playtest Not Started","\u9009\u62E9\u8BBE\u5907\u5E76\u70B9\u51FB\u201C\u542F\u52A8\u201D\uFF0C\u5373\u53EF\u8FD0\u884C Lua \u548C\u4EA4\u4E92\u903B\u8F91\u3002":"Select a device and click \u201CStart\u201D to run Lua scripts and interactions.",\u7B49\u5F85\u5B58\u6863:"Waiting for a Save",\u5C1A\u672A\u6253\u5F00\u5B58\u6863:"No save open"," \xB7 \u5DF2\u6682\u505C":" \xB7 Paused","\u7B49\u5F85\u542F\u52A8 Runtime":"Waiting to start Runtime","\u7F16\u8F91\u5668\u9759\u6001\u9884\u89C8 \xB7 \u78C1\u76D8\u81EA\u52A8\u5237\u65B0":"Static editor preview \xB7 Refreshes from disk automatically","\u7F16\u8F91\u5668\u753B\u9762\u52A0\u8F7D\u5931\u8D25\u3002":"Failed to load the editor preview.","\u670D\u52A1\u7248\u672C\u672A\u77E5\uFF0C\u8BF7\u66F4\u65B0 Web":"Unknown server version. Update the Web package.",\u5B9E\u65F6\u76D1\u542C\u4E2D:"Live",\u8FDE\u63A5\u4E2D\u65AD:"Disconnected",\u5F00\u542F\u58F0\u97F3:"Enable Sound",\u58F0\u97F3\u5DF2\u5173\u95ED:"Sound Off",\u58F0\u97F3\u5DF2\u5F00\u542F:"Sound On",\u70B9\u51FB\u6216\u5728\u753B\u5E03\u5185\u64CD\u4F5C\u4EE5\u89E3\u9501\u97F3\u6548:"Click or interact with the canvas to enable audio",\u5207\u6362\u9759\u97F3:"Toggle mute","\u952E\u4F4D\u54CD\u5E94\uFF1A\u5F00":"Key Input: On","\u952E\u4F4D\u54CD\u5E94\uFF1A\u5173":"Key Input: Off",\u5DF2\u6253\u5F00\u5B58\u6863:"Save opened",\u5DF2\u91CD\u65B0\u8BFB\u53D6\u78C1\u76D8\u5B58\u6863:"Save reloaded from disk","\u65E5\u5FD7\u5DF2\u5728\u5F53\u524D\u89C6\u56FE\u6E05\u7A7A\u3002":"Logs cleared in this view.",\u6B63\u5728\u91CD\u8FDE:"Reconnecting","\u68C0\u6D4B\u5230\u5B58\u6863\u53D8\u5316\uFF0C\u9884\u89C8\u5DF2\u66F4\u65B0":"Save changed; preview updated",\u9884\u89C8\u5B58\u6863\u5DF2\u6253\u5F00:"Preview save opened","\u624B\u673A 1280\xD7720":"Mobile 1280\xD7720","\u624B\u673A 1560\xD7720":"Mobile 1560\xD7720","\u624B\u673A 1280\xD7960":"Mobile 1280\xD7960",\u540D\u79F0:"Name",\u521D\u59CB\u6FC0\u6D3B:"Initially Active",\u521D\u59CB\u53EF\u89C1\u6027:"Initially Visible",\u53EF\u88AB\u624B\u67C4\u6447\u6746\u5BFC\u822A\u9009\u4E2D:"Selectable by Controller Navigation","\u4F4D\u7F6E X":"Location X","\u4F4D\u7F6E Y":"Location Y","\u5927\u5C0F W":"Width","\u5927\u5C0F H":"Height","\u65CB\u8F6C X":"Rotation X","\u65CB\u8F6C Y":"Rotation Y","\u65CB\u8F6C Z":"Rotation Z",\u540C\u6B65\u4FE1\u606F\u81F3\u6240\u6709\u8BBE\u5907:"Sync Layout Across Devices",\u951A\u70B9\u7C7B\u578B:"Anchor Preset",\u5C45\u4E2D:"Center",\u5DE6\u4E0A:"Top Left",\u4E0A\u65B9:"Top",\u53F3\u4E0A:"Top Right",\u5DE6\u4FA7:"Left",\u53F3\u4FA7:"Right",\u5DE6\u4E0B:"Bottom Left",\u4E0B\u65B9:"Bottom",\u53F3\u4E0B:"Bottom Right",\u53CC\u5411\u62C9\u4F38:"Stretch Both Axes",\u6C34\u5E73\u62C9\u4F38:"Stretch Horizontally",\u5782\u76F4\u62C9\u4F38:"Stretch Vertically",\u81EA\u5B9A\u4E49:"Custom","\u951A\u70B9 Min X":"Anchor Min X","\u951A\u70B9 Min Y":"Anchor Min Y","\u951A\u70B9 Max X":"Anchor Max X","\u951A\u70B9 Max Y":"Anchor Max Y","\u4E2D\u5FC3 X":"Pivot X","\u4E2D\u5FC3 Y":"Pivot Y",\u9694\u79BB\u624B\u67C4\u5BFC\u822A:"Isolate Controller Navigation",\u5C4F\u853D\u6309\u952E\u4E8B\u4EF6\u7A7F\u900F:"Block Key Event Passthrough",\u5C4F\u853D\u533A\u57DF\u5185\u70B9\u51FB\u4E8B\u4EF6\u7A7F\u900F:"Block Click Event Passthrough in Area",\u663E\u793A\u5E38\u9A7B\u5149\u6807:"Show Persistent Cursor",\u5B57\u53F7:"Font Size",\u5B57\u53F7\u81EA\u9002\u5E94:"Auto Font Size",\u6700\u5C0F\u5B57\u53F7:"Minimum Font Size",\u6587\u672C\u8272:"Text Color",\u80CC\u666F\u8272:"Background Color",\u542F\u7528\u63CF\u8FB9:"Enable Outline",\u63CF\u8FB9\u8272:"Outline Color",\u6C34\u5E73\u5BF9\u9F50:"Horizontal Alignment",\u5DE6\u5BF9\u9F50:"Left",\u53F3\u5BF9\u9F50:"Right",\u5782\u76F4\u5BF9\u9F50:"Vertical Alignment",\u9876\u90E8:"Top",\u5E95\u90E8:"Bottom",\u6587\u672C:"Text",\u56FE\u7247\u6E90:"Image Source",\u9759\u6001\u5F15\u7528:"Static Reference",\u5143\u4EF6:"Prefab",\u586B\u5145\u8272:"Fill Color",\u5F00\u542F\u906E\u7F69:"Enable Mask",\u8FB9\u7F18\u7FBD\u5316:"Soft Edge",\u7FBD\u5316\u6A21\u5F0F:"Soft Edge Mode",\u767E\u5206\u6BD4:"Percentage",\u50CF\u7D20:"Pixels","\u7FBD\u5316\u5BBD\u5EA6 X":"Soft Edge Width X","\u7FBD\u5316\u5BBD\u5EA6 Y":"Soft Edge Width Y",\u6C34\u5E73\u7FBD\u5316\u8303\u56F4:"Horizontal Soft Edge Range",\u5782\u76F4\u7FBD\u5316\u8303\u56F4:"Vertical Soft Edge Range",\u6309\u8FDB\u5EA6\u586B\u5145:"Fill by Progress",\u5F62\u72B6:"Shape",\u6A2A\u5411:"Horizontal",\u7EB5\u5411:"Vertical","90\u5EA6\u73AF\u7ED5":"Radial90","180\u5EA6\u73AF\u7ED5":"Radial180","360\u5EA6\u73AF\u7ED5":"Radial360",\u65B9\u5411:"Direction",\u4ECE\u5DE6\u81F3\u53F3:"From Left to Right",\u4ECE\u53F3\u81F3\u5DE6:"From Right to Left",\u4ECE\u4E0B\u81F3\u4E0A:"From Bottom to Top",\u4ECE\u4E0A\u81F3\u4E0B:"From Top to Bottom",\u8D77\u70B9:"Origin",\u8FDB\u5EA6:"Progress",\u906E\u7F69\u533A\u57DF\u53CD\u8F6C:"Invert Mask Area",\u672A\u8BBE\u7F6E:"Not set",\u53EF\u88AB\u5149\u6807\u5C04\u7EBF\u68C0\u6D4B:"Raycast Target",\u6309\u94AE\u662F\u5426\u53EF\u7528:"Interactable",\u4E0D\u53EF\u7528\u72B6\u6001\u8282\u70B9:"Unavailable Status Nodes",\u60AC\u505C\u72B6\u6001\u8282\u70B9:"Hover Status Nodes",\u6309\u4E0B\u72B6\u6001\u8282\u70B9:"Pressed Status Nodes",\u9009\u4E2D\u72B6\u6001\u8282\u70B9:"Selected Status Nodes",\u70B9\u51FB\u97F3\u6548:"Click Sound",\u5F15\u7528\u63A7\u4EF6\u6A21\u677F\u7D22\u5F15:"Referenced Control Template Index",\u5141\u8BB8\u6EDA\u52A8\u4EA4\u4E92:"Enable Scrolling",\u663E\u793A\u6EDA\u52A8\u6761:"Show Scrollbar",\u5217\u8868\u9879\u6A21\u677F\u7D22\u5F15:"Item Template Index",\u6EDA\u52A8\u65B9\u5411:"Scroll Direction",\u6392\u5217\u9650\u5236:"Layout Constraint",\u81EA\u52A8\u6362\u884C:"Automatic Wrapping",\u56FA\u5B9A\u884C\u5217\u6570:"Fixed Row / Column Count",\u6BCF\u884C\u6216\u6BCF\u5217\u6570\u91CF:"Items per Row / Column","\u5217\u8868\u9879\u5927\u5C0F W":"Item Width","\u5217\u8868\u9879\u5927\u5C0F H":"Item Height","\u5217\u8868\u9879\u95F4\u9694 X":"Item Spacing X","\u5217\u8868\u9879\u95F4\u9694 Y":"Item Spacing Y","\u8FB9\u8DDD\u5411\u91CF 1 X":"Padding 1 X","\u8FB9\u8DDD\u5411\u91CF 1 Y":"Padding 1 Y","\u8FB9\u8DDD\u5411\u91CF 2 X":"Padding 2 X","\u8FB9\u8DDD\u5411\u91CF 2 Y":"Padding 2 Y",\u9884\u89C8\u6570\u91CF:"Preview Count",\u952E\u9F20\u6309\u952E:"Keyboard / Mouse Key",\u624B\u67C4\u6309\u952E:"Controller Button",\u52A8\u6548\u7D22\u5F15:"Animation Index",\u5168\u5C4F\u52A8\u6548\u7D22\u5F15:"Fullscreen Animation Index",\u5B8C\u6574\u5EA6:"Support Status","\u8BD5\u73A9\u652F\u6301\u57FA\u7840\u6EDA\u52A8\uFF1B\u6EDA\u52A8\u4EA4\u4E92\u3001\u6EDA\u52A8\u6761\u53CA\u5217\u8868\u914D\u7F6E\u4EE5 JSON/Lua \u4E3A\u51C6\uFF0C\u76F8\u5173 GIA \u5F00\u5173\u6620\u5C04\u5C1A\u672A\u6838\u5B9E\u3002":"Basic scrolling is supported in playtests. Configure interaction, scrollbars, and lists through JSON/Lua; the related GIA flags are not yet verified.","\u672C\u9636\u6BB5\u4EC5\u516C\u5171\u53D8\u6362\uFF0C\u4E1A\u52A1\u69FD\u4E0D\u5B8C\u6574":"Only common transforms are supported at this stage; control-specific fields are incomplete.",\u5173\u5361:"Stage",\u5F53\u524D\u73A9\u5BB6:"Current Player",\u5F53\u524D\u89D2\u8272:"Current Character","\u73A9\u5BB6{0}":"Player {0}","\u89D2\u8272{0}":"Character {0}","\u63A7\u4EF6\u7D22\u5F15\u5FC5\u987B\u662F 1\u20132147483647 \u8303\u56F4\u5185\u7684\u6574\u6570":"Control indices must be integers from 1 to 2147483647","controlGuidChanges \u5FC5\u987B\u662F\u6570\u7EC4":"controlGuidChanges must be an array","controlGuidChanges \u5305\u542B\u65E0\u6548\u6216\u91CD\u590D\u7684\u53D8\u66F4\u8BB0\u5F55":"controlGuidChanges contains invalid or duplicate changes","controlGuidChanges \u5305\u542B\u65E0\u6548\u7684 batchId":"controlGuidChanges contains an invalid batchId","controlGuidChanges \u5305\u542B\u65E0\u6548\u7684 scriptSignature":"controlGuidChanges contains an invalid scriptSignature",\u672A\u547D\u540D\u754C\u9762:"Untitled UI",\u672A\u547D\u540D\u754C\u9762\u63A7\u4EF6\u7EC4:"Untitled UI Control Group",\u6574\u5408\u5305\u9700\u8981\u670D\u52A1\u7AEF\u5BA2\u6237\u7AEF\u63A7\u4EF6\u5BB9\u5668\u4E0B\u81F3\u5C11\u6709\u4E00\u4E2A\u6839\u63A7\u4EF6:"A combined bundle requires at least one root control inside the server-side Client Control Container","{0} \xB7 \u6574\u5408\u5305.gia":"{0} \xB7 Combined.gia",\u6302\u8F7D\u76EE\u6807\u5FC5\u987B\u662F\u5B58\u6863\u5185\u7684\u5BA2\u6237\u7AEF\u63A7\u4EF6\u6216\u5BA2\u6237\u7AEF\u63A7\u4EF6\u6A21\u677F:"Attachment targets must be client controls or client control templates in the save","\u811A\u672C\u4E0D\u5B58\u5728: {0}":"Script not found: {0}",\u4EC5\u5BA2\u6237\u7AEF\u63A7\u4EF6\u6216\u5BA2\u6237\u7AEF\u63A7\u4EF6\u6A21\u677F\u5141\u8BB8\u4FEE\u6539\u7D22\u5F15:"Only client controls and client control templates support index changes","autoFillClientGuids \u5FC5\u987B\u662F\u5E03\u5C14\u503C":"autoFillClientGuids must be a boolean","\u81EA\u52A8\u586B\u5145\u4EC5\u652F\u6301\u5BA2\u6237\u7AEF\u6A21\u677F\u5217\u8868\uFF1B\u670D\u52A1\u7AEF\u754C\u9762\u7684\u7D22\u5F15\u9700\u5355\u72EC\u586B\u5199":"Autofill is only available for client templates. Enter server UI indices separately.","\u5BA2\u6237\u7AEF\u6A21\u677F\u5B58\u5728\u91CD\u590D\u65E7\u7D22\u5F15\uFF0C\u65E0\u6CD5\u81EA\u52A8\u586B\u5145\uFF1B\u8BF7\u5148\u6D88\u9664\u6B67\u4E49":"Client templates contain duplicate old indices. Resolve the ambiguity before using autofill.","\u63A7\u4EF6\u7D22\u5F15 {0} \u5DF2\u88AB\u300C{1}\u300D\u5360\u7528\uFF1B\u8BF7\u5148\u586B\u5199\u5B83\u7684\u5B9E\u9645\u7D22\u5F15\u3002\u672C\u6B21\u672A\u4FEE\u6539\u4EFB\u4F55\u7D22\u5F15\u3002":"Control index {0} is already used by \u201C{1}\u201D. Enter its actual index first. No indices were changed.","\u65E7\u7D22\u5F15 {0} \u5728\u591A\u68F5\u8D44\u4EA7\u6811\u4E2D\u91CD\u590D\uFF0C\u65E0\u6CD5\u786E\u5B9A\u6A21\u677F\u5F15\u7528\u5F52\u5C5E\uFF1B\u8BF7\u5148\u6D88\u9664\u6B67\u4E49\u540E\u4FEE\u6539":"Old index {0} appears in multiple asset trees, so the template reference is ambiguous. Resolve it before making changes.","\u8BF7\u660E\u786E\u6307\u5B9A\u5DF2\u6838\u5BF9 Lua \u5F15\u7528\u7684\u6709\u6548\u7D22\u5F15\u53D8\u66F4\u8BB0\u5F55 changeIds":"Specify valid changeIds whose Lua references have been reviewed",\u5B58\u6863\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A:"The save name cannot be empty","\u63A7\u4EF6\u7D22\u5F15\u5F85\u6838\u5BF9 Lua \u5F15\u7528\uFF1A{0} / {1} ({2})\uFF1A{3} \u2192 {4}\u3002\u8BF7\u6309\u8BED\u4E49\u66F4\u65B0\u811A\u672C\u4E2D\u7684\u63A7\u4EF6\u7D22\u5F15\u5F15\u7528\uFF0C\u6838\u5BF9\u540E\u786E\u8BA4\u53D8\u66F4\u8BB0\u5F55 {5}\uFF1B\u4E0D\u8981\u5168\u5C40\u66FF\u6362\u540C\u503C\u6570\u5B57\u3002":"Review Lua references for control index change: {0} / {1} ({2}): {3} \u2192 {4}. Update references by meaning, then acknowledge change {5}. Do not globally replace equal numbers.","{0} \xB7 \u8D44\u4EA7\u5305.json":"{0} \xB7 Assets.json","\u670D\u52A1\u5668\u63A7\u4EF6\u6A21\u677F\u4ECD\u662F\u9ED8\u8BA4\u6A71\u7A97\uFF0C\u672A\u6539\u52A8\u4E14\u5F53\u524D\u672A\u663E\u793A\uFF0C\u5DF2\u4ECE\u8D44\u4EA7\u5305 GIA \u4E2D\u7701\u7565\u3002":"The unchanged, hidden default server UI was omitted from the asset bundle GIA.","\u5BA2\u6237\u7AEF\u63A7\u4EF6\u6A21\u677F\u4ECD\u662F\u9ED8\u8BA4\u300CLua\u5B9E\u4F8B\u5316\u9762\u677F\u300D\uFF0C\u672A\u6539\u52A8\u4E14\u5F53\u524D\u672A\u663E\u793A\uFF0C\u5DF2\u4ECE\u8D44\u4EA7\u5305 GIA \u4E2D\u7701\u7565\u3002":"The unchanged, hidden default client control template was omitted from the asset bundle GIA.","\u8D44\u4EA7\u5305 GIA \u6CA1\u6709\u53EF\u5BFC\u51FA\u7684\u5DF2\u6539\u52A8\u9879\uFF1B\u8BF7\u5148\u7F16\u8F91\u5F53\u524D\u754C\u9762\uFF0C\u6216\u6539\u7528\u300C\u5F53\u524D\u754C\u9762 GIA\u300D\u3002":"There are no modified assets to export. Edit the UI first, or use \u201CCurrent UI GIA\u201D.","{0} \xB7 \u811A\u672C.json":"{0} \xB7 Scripts.json","{0} \xB7 \u811A\u672C.gia":"{0} \xB7 Scripts.gia","\u6CA1\u6709\u53EF\u5BFC\u51FA\u7684 Lua \u811A\u672C\uFF0C\u8BF7\u5148\u5728\u201CLua \u811A\u672C\u201D\u9875\u521B\u5EFA":"No Lua scripts to export. Create one on the Lua Scripts page first.","\u5F53\u524D\u670D\u52A1\u5668\u63A7\u4EF6 GIA \u4E0D\u5305\u542B {0} \u4E2A Lua \u811A\u672C\u7684\u6E90\u7801\uFF1B\u8BF7\u4F7F\u7528\u300C\u8D44\u4EA7\u5305 GIA \u6574\u5408\u5305\u300D\uFF0C\u6216\u53E6\u884C\u5BFC\u5165\u811A\u672C\u5305\u5E76\u6838\u5BF9\u6302\u8F7D\u3002":"This server UI GIA does not contain source for {0} Lua scripts. Use \u201CCombined GIA\u201D or import the script bundle separately and check attachments.","JSON \u6587\u4EF6\u65E0\u6548":"Invalid JSON file","\u6574\u5408\u5305\u5DF2\u62C6\u56DE\u300CUI\u63A7\u4EF6-\u670D\u52A1\u7AEF\u300D\u4E0E\u300CUI\u63A7\u4EF6-\u5BA2\u6237\u7AEF\u300D\uFF1B\u5BA2\u6237\u7AEF\u6A21\u677F\u8FB9\u754C\u5DF2\u4FDD\u7559\u3002":"Combined bundle split back into Server UI and Client UI. Client template boundaries were preserved.","\u811A\u672C GUID {0} \u540C\u65F6\u6302\u8F7D\u5230\u591A\u4E2A\u63A7\u4EF6\uFF0C\u5DF2\u4FDD\u7559\u201C{1}\u201D\u76EE\u6807\u3002":"Script GUID {0} was attached to multiple controls. The \u201C{1}\u201D target was kept.",\u670D\u52A1\u7AEF:"Server",\u5BA2\u6237\u7AEF:"Client","\u5355\u8D44\u4EA7 JSON \u7684\u7D22\u5F15\u53D8\u66F4\u8BB0\u5F55\u5FC5\u987B\u5C5E\u4E8E\u5F53\u524D\u5BFC\u5165\u8D44\u4EA7":"Index change records in a single-asset JSON must belong to the imported asset","\u811A\u672C {0} \u8BFB\u53D6\u5931\u8D25: {1}":"Failed to read script {0}: {1}","\u5343\u661F\u6C99\u7BB1 \xB7 \u72EC\u7ACB\u8BD5\u73A9":"Miliastra Sandbox \xB7 Standalone Playtest",\u6A21\u62DF\u5668:"Simulator",\u5207\u6362\u8BBE\u5907\u753B\u5E03:"Switch Device Canvas","\u5207\u6362\u8BBE\u5907\u753B\u5E03\uFF1A\u4EE5\u65B0\u753B\u5E03\u91CD\u5EFA\u8FD0\u884C\u65F6\uFF0CGetUICanvasSize \u4E0E\u9884\u8BBE\u50CF\u7D20\u4E00\u81F4":"Rebuild the runtime for the selected canvas. GetUICanvasSize matches the preset's pixel dimensions.",\u8BD5\u73A9\u4EBA\u6570:"Player count","\u8BD5\u73A9\u4EBA\u6570\uFF1A\u6700\u591A 8 \u4EBA\uFF0C\u6BCF\u4EBA\u4E00\u4EFD\u72EC\u7ACB\u5BA2\u6237\u7AEF":"Up to 8 players, each with a separate client instance",\u5F53\u524D\u73A9\u5BB6\u89C6\u89D2:"Current player view","\u5207\u6362\u5F53\u524D\u73A9\u5BB6\u89C6\u89D2\uFF1A\u8F93\u5165\u3001\u753B\u9762\u548C PlayerSelf \u90FD\u8DDF\u968F\u8BE5\u73A9\u5BB6":"Change the active player for input, rendering, and PlayerSelf",\u8BBE\u5907:"Device","\u51C6\u5907\u4E2D\u2026":"Preparing...",\u8BD5\u73A9\u9875\u9762:"Playtest page",\u8BD5\u73A9:"Playtest",\u65E5\u5FD7:"Logs","\u8F6C\u53D1\u5B98\u65B9\u952E\u4F4D\u7684\u6309\u4E0B/\u62AC\u8D77\u4E8B\u4EF6\uFF08\u542B\u9F20\u6807\u5DE6\u53F3\u952E\uFF09\uFF1B\u5173\u95ED\u4E0D\u5F71\u54CD\u753B\u5E03\u70B9\u51FB":"Forward supported key/button down and up events, including mouse buttons. Turning this off does not disable canvas clicks.",\u70B9\u51FB\u89E3\u9501\u6D4F\u89C8\u5668\u97F3\u6548:"Click to enable browser audio","\u2161 \u6682\u505C\u8FD0\u884C":"\u2161 Pause",\u6682\u505C\u540E\u53EF\u5355\u5E27\u8C03\u8BD5:"Pause to step through individual frames","\u25B7 \u5355\u5E27\u8C03\u8BD5":"\u25B7 Step One Frame","\u25A0 \u7ED3\u675F\u8BD5\u73A9":"\u25A0 Stop Playtest","\u21BB \u91CD\u65B0\u5F00\u59CB":"\u21BB Restart",\u5207\u6362\u4EAE\u6697\u4E3B\u9898:"Toggle light / dark theme",\u8FD4\u56DE\u7F16\u8F91:"Back to Editor","\u6B63\u5728\u51C6\u5907\u8BD5\u73A9\u2026":"Preparing playtest\u2026",\u8FD0\u884C\u65F6\u573A\u666F\u6811:"Runtime Scene Tree","0 \u8282\u70B9":"0 nodes",\u670D\u52A1\u7AEF\u53D8\u91CF:"Server Variables","0 \u9879":"0 items",\u5BA2\u6237\u7AEF\u811A\u672C\u65E5\u5FD7:"Client Script Logs","\u6700\u8FD1 100 \u6761":"Latest 100 entries",\u670D\u52A1\u7AEF\u65E5\u5FD7:"Server Logs","\u53D8\u91CF / \u4FE1\u53F7":"Variables / signals",\u81EA\u52A8\u6D4B\u7528\u4F8B:"Automated Test Case","\u5148\u8BD5\u73A9\uFF0C\u518D\u4FDD\u5B58\u56DE\u653E":"Play first, then save a replay",'\u65AD\u8A00 JSON \u6570\u7EC4\uFF0C\u4F8B\u5982 [{"kind":"log","contains":"clicked"}]':'JSON assertion array, e.g. [{"kind":"log","contains":"clicked"}]',\u4FDD\u5B58\u7528\u4F8B:"Save Test Case",\u56DE\u653E\u7528\u4F8B:"Replay Test Case","\u25CF \u6B63\u5728\u542F\u52A8":"\u25CF Starting","\u9875\u9762\uFF1A\u8BD5\u73A9":"View: Playtest","\u9875\u9762\uFF1A\u65E5\u5FD7":"View: Logs",\u8BD5\u73A9\u8BF7\u6C42\u5931\u8D25:"Playtest request failed"," \u9879":" items","\u6682\u65E0\u81EA\u5B9A\u4E49\u53D8\u91CF\u3002\u811A\u672C Get/Set \u6216 serverSet \u4E4B\u540E\u4F1A\u51FA\u73B0\u5728\u8FD9\u91CC\u3002":"No custom variables yet. They appear after script Get/Set calls or serverSet.","\u5B8C\u6574\u8FD0\u884C\u6811\u8BF7\u7528 Agent \u7684 inspect \u5FEB\u7167\u3002\u821E\u53F0\u6309\u5DE6\u6811\u4E0A\u65B9\u76D6\u4F4F\u4E0B\u65B9\u7ED8\u5236\u3002":"Use an Agent inspect snapshot for the full runtime tree. Items higher in the left tree draw over those below."," \u4E2A\u53EF\u89C1\u56FE\u5143":" visible primitives","\u25B6 \u7EE7\u7EED\u8FD0\u884C":"\u25B6 Resume"," \u4EBA":" players",\u73A9\u5BB6:"Player"," \xB7 \u73A9\u5BB6":" \xB7 Player "," \xB7 \u70B9\u51FB\u8F93\u5165":" \xB7 Click to focus","\u26A0 \u811A\u672C\u6302\u8F7D\u5931\u8D25":"\u26A0 Script attachment failed","\u2161 \u5DF2\u6682\u505C":"\u2161 Paused","\u25CF \u8BD5\u73A9\u8FD0\u884C\u4E2D":"\u25CF Playtest running","\u5DF2\u8BB0\u5F55 ":"Recorded "," \u6B65":" steps","\u26A0 \u8BD5\u73A9\u9519\u8BEF":"\u26A0 Playtest error","\u25A0 \u8BD5\u73A9\u5DF2\u7ED3\u675F\uFF0C\u53EF\u91CD\u65B0\u5F00\u59CB\u6216\u8FD4\u56DE\u7F16\u8F91":"\u25A0 Playtest stopped. Restart or return to the editor.","\u65AD\u8A00\u5FC5\u987B\u662F JSON \u6570\u7EC4":"Assertions must be a JSON array","\u5DF2\u4FDD\u5B58 ":"Saved "," \u6B65 / ":" steps / "," \u6761\u65AD\u8A00":" assertions",\u56DE\u653E\u901A\u8FC7:"Replay passed","\u56DE\u653E\u5931\u8D25 @":"Replay failed @","\u7F3A\u5C11\u4F1A\u8BDD ID":"Missing session ID","\u5343\u661F\u6A21\u62DF\u5668 \xB7 Live Preview":"Miliastra Simulator \xB7 Live Preview","\u5343\u661F\u6A21\u62DF\u5668 \xB7 \u7F16\u8F91\u5DE5\u4F5C\u53F0":"Miliastra Simulator \xB7 Editor","Web Preview \xB7 \u5B9E\u65F6\u9884\u89C8":"Web Preview \xB7 Live Preview",\u5DE5\u4F5C\u533A\u5B58\u6863:"Workspace Saves",\u91CD\u65B0\u8BFB\u53D6\u5B58\u6863:"Reload save from disk","\u7F16\u8F91\u5DE5\u4F5C\u53F0 \u2197":"Open Editor \u2197",\u6B63\u5728\u8FDE\u63A5:"Connecting",\u9884\u89C8\u6A21\u5F0F:"Preview mode",\u7F16\u8F91\u5668:"Editor",\u8D44\u4EA7:"Asset","\u670D\u52A1\u7AEF UI":"Server UI",\u5BA2\u6237\u7AEF\u6A21\u677F:"Client Templates","\u25B6 \u542F\u52A8":"\u25B6 Start","\u2161 \u6682\u505C":"\u2161 Pause","\u25B7 \u7EE7\u7EED":"\u25B7 Resume","+ 1 \u5E27":"+ 1 Frame","\u25A0 \u505C\u6B62":"\u25A0 Stop",\u6A21\u62DF\u5668\u9884\u89C8\u753B\u5E03:"Simulator preview canvas","Codex \u4FDD\u5B58 qxqy-simulator-save JSON \u540E\u4F1A\u81EA\u52A8\u51FA\u73B0\u5728\u8FD9\u91CC\u3002":"Saves appear here automatically when Codex writes a qxqy-simulator-save JSON file.","\u6B63\u5728\u66F4\u65B0\u753B\u9762\u2026":"Updating preview\u2026",\u7F16\u8F91\u5668\u9759\u6001\u9884\u89C8:"Static Editor Preview",\u9884\u89C8\u4FE1\u606F:"Preview Details",\u5F53\u524D\u8282\u70B9:"Selected Node",\u753B\u5E03:"Canvas",\u6E05\u7A7A:"Clear",\u9884\u89C8\u8FDE\u63A5:"Preview Connection","\u6B63\u5728\u8FDE\u63A5\u670D\u52A1\u2026":"Connecting to the service\u2026","\u5F53\u524D\u5B58\u6863\u4FDD\u5B58\u540E\u81EA\u52A8\u5237\u65B0\uFF1B\u9996\u6B21\u5B58\u6863\u4F1A\u81EA\u52A8\u53D1\u73B0\u3002\u5207\u6362\u5176\u4ED6\u5B58\u6863\u8BF7\u4F7F\u7528\u9876\u90E8\u5217\u8868\u6216 MCP \u9884\u89C8\u5DE5\u5177\u3002":"Refreshes automatically when the current save changes, and discovers the first save. Switch saves using the list above or the MCP preview tool.","\u68C0\u67E5\u66F4\u65B0\u5931\u8D25\uFF0C\u8BF7\u68C0\u67E5\u7F51\u7EDC\u8FDE\u63A5\u540E\u91CD\u8BD5\u3002":"Update check failed. Check your network connection and retry.",\u53D1\u73B0\u65B0\u7248\u672C:"A new version is available",\u5F53\u524D\u5DF2\u662F\u6700\u65B0\u7248\u672C:"You are up to date",\u5F53\u524D\u7248\u672C\u6BD4\u516C\u5F00\u7248\u672C\u66F4\u65B0:"Your version is newer than the public release",\u6682\u672A\u627E\u5230\u6B64\u5B89\u88C5\u5305\u7684\u6B63\u5F0F\u7248\u672C:"No stable release found for this package",\u754C\u9762\u8BED\u8A00:"Interface language","\u81EA\u52A8\uFF08\u7CFB\u7EDF\u8BED\u8A00\uFF09":"Auto (system language)","\u6B63\u5728\u68C0\u67E5\u66F4\u65B0\u2026":"Checking for updates\u2026",\u68C0\u67E5\u66F4\u65B0:"Check for Updates",\u8054\u7CFB\u4F5C\u8005:"Contact Author",QQ\u7FA4\u53F71007538100:"QQ Group: 1007538100","\u4F5C\u8005\u90AE\u7BB1 ":"Email: ","\u5F00\u6E90\u4ED3\u5E93 ":"Source repository: ","\u5F53\u524D\u7248\u672C\uFF1A{0}":"Current version: {0}","\u516C\u5F00\u7248\u672C\uFF1A{0}":"Public version: {0}","\u66F4\u65B0\u540E\u8BF7\u91CD\u542F\u5BBF\u4E3B\u5E76\u5237\u65B0\u7F16\u8F91\u5668\u4E0E\u8BD5\u73A9\u9875\u3002":"After updating, restart the host and refresh the editor and playtest pages.",\u67E5\u770B\u66F4\u65B0\u8BF4\u660E:"View Release Notes",\u4E0B\u8F7D\u66F4\u65B0\u5305:"Download Update",\u91CD\u8BD5:"Retry","\u8BF7\u9009\u62E9\u81EA\u52A8\u67E5\u627E\u3001\u6307\u5B9A\u6587\u4EF6\u6216\u7CFB\u7EDF\u5B57\u4F53":"Choose automatic discovery, a local file, or the system font",\u5B57\u4F53\u8DEF\u5F84\u8FC7\u957F:"The font path is too long",\u8BF7\u586B\u5199\u5B57\u4F53\u6587\u4EF6\u7684\u7EDD\u5BF9\u8DEF\u5F84:"Enter an absolute font file path","\u672C\u673A\u5B57\u4F53\u8BBE\u7F6E\u65E0\u6CD5\u8BFB\u53D6\uFF0C\u8BF7\u5728\u300C\u5B57\u4F53\u8BBE\u7F6E\u300D\u4E2D\u91CD\u65B0\u4FDD\u5B58":"Unable to read local font settings. Save them again in Font Settings.","\u65E0\u6CD5\u4FDD\u5B58\u672C\u673A\u5B57\u4F53\u8BBE\u7F6E\uFF0C\u8BF7\u68C0\u67E5\u914D\u7F6E\u76EE\u5F55\u7684\u5199\u5165\u6743\u9650":"Unable to save local font settings. Check write permissions for the configuration directory.","\u5F53\u524D\u5B57\u4F53\u7531 QXQY_FONT_PATH \u56FA\u5B9A\uFF0C\u8BF7\u79FB\u9664\u8BE5\u73AF\u5883\u53D8\u91CF\u5E76\u91CD\u542F\u540E\u518D\u4F7F\u7528\u524D\u7AEF\u8BBE\u7F6E":"QXQY_FONT_PATH overrides font settings. Remove it and restart before editing settings here.",\u5B57\u4F53\u8BBE\u7F6E\u4EC5\u9650\u672C\u673A\u76F4\u63A5\u8BBF\u95EE:"Font settings require a direct connection from this machine",\u5B57\u4F53\u8BBE\u7F6E\u8FC7\u5927:"Font settings exceed the size limit",\u5343\u661F\u6C99\u7BB1:"Miliastra Sandbox",\u5343\u661F\u5947\u57DF:"Miliastra Wonderland",\u670D\u52A1\u7AEF\u63A7\u4EF6\u6A21\u677F:"Server Control Template",\u670D\u52A1\u7AEF\u63A7\u4EF6:"Server Controls",\u5BA2\u6237\u7AEF\u63A7\u4EF6:"Client Controls","1 \u4EBA":"1 player","{0} \u4EBA":"{0} players",\u90E8\u5206\u7EC4\u5408\u5BFC\u51FA:"Export Selected Controls","\u52FE\u9009\u5BA2\u6237\u7AEF\u63A7\u4EF6\u53CA\u5176\u5B50\u6811\uFF0C\u7EC4\u5408\u4E3A\u4E00\u4E2A GIA \u6587\u4EF6\u3002\u7236\u5B50\u540C\u65F6\u9009\u4E2D\u65F6\u53EA\u5BFC\u51FA\u4E00\u6B21\u3002":"Select client controls and their subtrees for one GIA file. Overlapping selections are exported once.",\u53EF\u5BFC\u51FA\u7684\u5BA2\u6237\u7AEF\u63A7\u4EF6:"Exportable Client Controls","\u5BFC\u51FA {0}":"Export {0}","\u9884\u89C8 {0}":"Preview {0}","{0} \u4E2A\u63A7\u4EF6":"{0} controls",\u6CA1\u6709\u53EF\u5BFC\u51FA\u7684\u5BA2\u6237\u7AEF\u63A7\u4EF6:"No client controls to export","\u6B63\u5728\u52A0\u8F7D\u2026":"Loading\u2026",\u5BFC\u51FA\u9884\u89C8:"Export Preview","\u9884\u89C8\u5F53\u524D\u9879\u72EC\u7ACB\u5BFC\u51FA\u540E\u7684\u5E03\u5C40\uFF0C\u4E0D\u6539\u53D8\u539F\u9879\u76EE\u3002":"Preview this item as an independent template without changing the project.",\u5305\u542B\u6302\u8F7D\u811A\u672C\u53CA\u672A\u6302\u8F7D\u6A21\u5757:"Include attached scripts and unattached modules",\u5168\u9009:"Select All",\u6E05\u9664:"Clear","\u5DF2\u9009 {0} \u9879":"{0} selected","\u6B63\u5728\u5BFC\u51FA\u2026":"Exporting\u2026","\u5BFC\u51FA GIA":"Export GIA",\u5BFC\u51FA\u5F53\u524D\u5BA2\u6237\u7AEF\u63A7\u4EF6\u53CA\u5176\u5B50\u6811:"Export this client control and its subtree","\u8BF7\u9009\u62E9\u81F3\u5C11\u4E00\u4E2A\u5BA2\u6237\u7AEF\u63A7\u4EF6 controlIds":"Select at least one client control in controlIds","revision conflict: reload export choices":"Revision conflict: reopen the export selection","\u5DF2\u5305\u542B\u672A\u6302\u8F7D\u7684 Lua \u6A21\u5757\uFF1BLua \u52A8\u6001\u5F15\u7528\u65E0\u6CD5\u81EA\u52A8\u5224\u65AD\uFF0C\u8BF7\u6838\u5BF9\u5916\u90E8\u6A21\u677F\u548C\u811A\u672C\u4F9D\u8D56\u3002":"Unattached Lua modules are included. Check external template and script dependencies; dynamic Lua references cannot be resolved automatically.","\u672C\u6B21\u672A\u5305\u542B\u6302\u8F7D\u811A\u672C\uFF0C\u5BFC\u5165\u540E\u9700\u53E6\u884C\u5BFC\u5165\u5E76\u6302\u8F7D\u3002":"Attached scripts are excluded. Import and attach them separately.","\u672A\u77E5\u5BA2\u6237\u7AEF\u63A7\u4EF6\uFF1A{0}":"Unknown client control: {0}","{0}\uFF1A\u4EC5\u5728\u5BFC\u51FA\u526F\u672C\u4E2D\u63D0\u5347\u4E3A\u72EC\u7ACB\u6A21\u677F\uFF0C\u4FDD\u7559\u56DB\u5E73\u53F0\u5C40\u90E8\u53D8\u6362\uFF1B\u5916\u90E8\u7236\u7EA7\u7684\u7F29\u653E\u3001\u65CB\u8F6C\u3001\u906E\u7F69\u53CA\u663E\u9690\u4E0D\u5305\u542B\u5728\u5185\u3002":"{0}: Promoted to an independent template in the export copy only. Local transforms for all four platforms are retained; the parent's scale, rotation, masks and visibility are excluded.","{0}\uFF1A\u5F15\u7528 {1} \u4E0D\u5728\u672C\u6B21\u5BFC\u51FA\u4E2D\uFF0C\u8BF7\u540C\u65F6\u5BFC\u5165\u5BF9\u5E94\u6A21\u677F\u3002":"{0}: Reference {1} is outside this export. Import the referenced template separately.","{0}\uFF1A\u4E8C\u8FDB\u5236\u6A21\u677F\u5F15\u7528\u539F\u6837\u4FDD\u7559\uFF0C\u65E0\u6CD5\u81EA\u52A8\u5224\u65AD\u5916\u90E8\u4F9D\u8D56\u3002":"{0}: The binary template reference is preserved unchanged. External dependencies cannot be resolved automatically.","{0}\uFF1A\u811A\u672C\u6620\u5C04 {1} \u7684\u6E90\u7801\u672A\u767B\u8BB0\uFF0C\u8BF7\u53E6\u884C\u5BFC\u5165\u3002":"{0}: Source for script mapping {1} is not registered. Import it separately.","{0}\uFF1A\u4EC5\u767B\u8BB0\u4E86\u8DEF\u5F84\uFF0C\u6CA1\u6709\u5185\u8054\u6E90\u7801\uFF1B\u8BF7\u6838\u5BF9\u6E38\u620F\u5185\u7684\u811A\u672C\u6587\u4EF6\u3002":"{0}: Only the path is registered, without inline source. Check the script file in the game."};var jc="qxqy-ui-language",Bl="qxqy-ui-language-change",ja=new Set,sd=e=>["auto","zh","en"].includes(e);function Qc(){try{let e=globalThis.localStorage?.getItem(jc);return sd(e)?e:"auto"}catch{return"auto"}}var pn=Qc(),ud=null;function Cm(e="auto",t="zh-CN",a=""){return e==="zh"||e==="en"?e:/^(?:zh|cmn|yue|wuu|hak|nan|gan|hsn)(?:[-_]|$)/i.test(a||t)?"zh":"en"}var dd=()=>pn,Hl=()=>ud||{language:typeof window>"u"?"zh-CN":globalThis.navigator?.language||globalThis.navigator?.languages?.[0]||Intl.DateTimeFormat().resolvedOptions().locale||"en",source:"browser"},hn=()=>Cm(pn,Hl().language);async function rd(e,t=globalThis.fetch){try{let a=await t(e,{method:"POST",mode:"same-origin",credentials:"same-origin",cache:"no-store",headers:{"content-type":"application/json"},body:"{}",signal:AbortSignal.timeout(4e3)});if(a.ok){let i=await a.json(),l=i.ok?i.value:null;if(typeof l?.language=="string"&&l.language.length<=80){let n=Intl.getCanonicalLocales(l.language.replaceAll("_","-"))[0];if(n){ud={language:n,source:l.source||"host"};for(let o of ja)o()}}}}catch{}return Hl()}function hi(e){if(!(e?.type==="storage"&&e.key!==jc&&e.key!==null)){pn=e?.type===Bl?e.detail:Qc();for(let t of ja)t()}}function fd(e){if(sd(e)){pn=e;try{globalThis.localStorage?.setItem(jc,e)}catch{}if(typeof window<"u")window.dispatchEvent(new CustomEvent(Bl,{detail:e}));else for(let t of ja)t()}}function Zc(e){return!ja.size&&typeof window<"u"&&(pn=Qc(),window.addEventListener("storage",hi),window.addEventListener(Bl,hi),window.addEventListener("languagechange",hi)),ja.add(e),()=>{ja.delete(e),!ja.size&&typeof window<"u"&&(window.removeEventListener("storage",hi),window.removeEventListener(Bl,hi),window.removeEventListener("languagechange",hi))}}function Gl(e){return()=>{let[,t]=e.useReducer(a=>a+1,0);return e.useEffect(()=>{let a=Zc(t);return t(),a},[]),hn()}}var Rl=(e,t)=>e.replace(/\{(\d+)\}/g,(a,i)=>i<t.length?String(t[i]??""):a),Tm=Object.entries(Ll).filter(([e])=>/\{\d+\}/.test(e)).map(([e,t])=>{let a=[],i=e.split(/(\{\d+\})/).map(l=>{let n=l.match(/^\{(\d+)\}$/);return n?(a.push(Number(n[1])),"([\\s\\S]*?)"):l.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}).join("");return{expression:new RegExp(`^${i}$`),value:t,slots:a}});function Mm(e,t,...a){if(Array.isArray(t)&&Object.hasOwn(t,"raw")&&(t=t.reduce((i,l,n)=>i+(n?`{${n-1}}`:"")+l,"")),typeof t!="string")return t;if(e!=="en")return Rl(t,a);if(Object.hasOwn(Ll,t))return Rl(Ll[t],a);if(!a.length&&/[\p{Script=Han}]/u.test(t))for(let i of Tm){let l=i.expression.exec(t);if(!l)continue;let n=[];return i.slots.forEach((o,s)=>{n[o]=l[s+1]}),Rl(i.value,n)}return Rl(t,a)}var c=(e,...t)=>Mm(hn(),e,...t);function $c(e=document){for(let t of e.querySelectorAll("[data-i18n]"))t.textContent=c(t.dataset.i18n);for(let t of["title","placeholder","aria-label"])for(let a of e.querySelectorAll(`[data-i18n-${t}]`))a.setAttribute(t,c(a.getAttribute(`data-i18n-${t}`)));e===document&&(document.documentElement.lang=hn()==="zh"?"zh-CN":"en")}var Yu=cd(Xl(),1),k2=cd(Kb(),1);function Ib(e){let t=e.createElement;return function({snap:i,request:l,patch:n,prepare:o,refresh:s}){let u={version:1,workspaceDir:"",clientImportRoot:"",clientSubdir:""},[d,v]=e.useState(i.scriptSync||u),[x,p]=e.useState(i.storage?.path||"qxqy-simulator.save.json"),[h,E]=e.useState([]),[C,N]=e.useState(null),[f,r]=e.useState([]),[g,w]=e.useState(null),[S,z]=e.useState(""),[q,k]=e.useState(""),[D,H]=e.useState(!1),ce=e.useId();e.useEffect(()=>{v(i.scriptSync||u),N(null)},[JSON.stringify(i.scriptSync),i.storage?.path]),e.useEffect(()=>{N(null)},[i.version,i.asset?.type]),e.useEffect(()=>{i.storage?.path&&p(i.storage.path)},[i.storage?.path]);let Xe=async U=>{H(!0),k(""),z("");try{await U()}catch($e){k($e.message||String($e))}finally{H(!1)}},Re=(U,$e={})=>l("script-sync",{action:U,args:$e});async function G(){N(null),w(null);let U=await o();await l("save",{path:x,expectedRevision:U.version}),await s();let $e=await Re("preview");N($e),r($e.rows.filter(vt=>!vt.error&&vt.status!=="\u672A\u53D8\u5316").map(vt=>vt.id))}let de=JSON.stringify(d)!==JSON.stringify(i.scriptSync||u),fe=(U,$e,vt,qc)=>t("label",{className:"qxsim-field",key:U},t("span",null,$e),t("input",{type:"text",value:d[U],placeholder:vt,"aria-label":$e,"aria-describedby":`${ce}-${U}`,disabled:D,onChange:Tl=>{v({...d,[U]:Tl.target.value}),N(null),z("")}}),t("small",{id:`${ce}-${U}`},qc)),Ae=d.clientImportRoot.replaceAll("\\","/").match(/BeyondLocal\/([^/]+)\/Beyond_Local_Save_Level\/([^/]+)/),Fe=U=>U.trim().replaceAll("\\","/").replace(/^\.$/,""),Oe=Fe(d.workspaceDir)?`${Fe(d.workspaceDir)}/`:"",Ve=i.scripts?.find(U=>U.path.replaceAll("\\","/").startsWith(Oe)&&U.path.toLowerCase().endsWith(".lua"))?.path.replaceAll("\\","/")||`${Oe}main.lua`,fn=[d.clientImportRoot.trim().replaceAll("\\","/").replace(/\/+$/,"")||c("\u3010\u5343\u661F\u6C99\u7BB1\u811A\u672C\u6587\u4EF6\u5939\u3011"),Fe(d.clientSubdir),Ve.slice(Oe.length)].filter(Boolean).join("/"),ct={\u65B0\u589E:c("\u65B0\u589E\u6587\u4EF6"),\u8986\u76D6:c("\u66F4\u65B0\u5DF2\u6709\u6587\u4EF6"),\u672A\u53D8\u5316:c("\u5185\u5BB9\u76F8\u540C\uFF0C\u65E0\u9700\u66F4\u65B0"),\u9519\u8BEF:c("\u65E0\u6CD5\u590D\u5236")},gt={\u5B58\u6863\u6E90\u7801:c("\u5B58\u6863\u91CC\u7F16\u8F91\u7684\u4EE3\u7801"),\u5DE5\u4F5C\u533A\u6587\u4EF6:c("\u9879\u76EE\u4E2D\u7684 .lua \u6587\u4EF6")},Qt=(U,$e,vt=!1)=>t("button",{type:"button",className:"qxsim-action",disabled:D||vt,onClick:()=>void Xe($e)},U);return t("details",{className:"qxsim-section",style:{flexShrink:0,maxHeight:"55%",overflow:"auto",margin:"5px 10px"}},t("summary",null,c`实机脚本同步 · ${i.scriptSync?c("\u5DF2\u8BBE\u7F6E\u6587\u4EF6\u5939"):c("\u5148\u8BBE\u7F6E\u6587\u4EF6\u5939")}`),t("div",{className:"qxsim-section-body"},t("p",null,c("\u628A\u5F53\u524D\u5B58\u6863\u91CC\u7684 Lua \u811A\u672C\u590D\u5236\u5230\u5343\u661F\u6C99\u7BB1\uFF0C\u7528\u4E8E\u6E38\u620F\u5185\u6D4B\u8BD5\u3002\u64CD\u4F5C\u987A\u5E8F\uFF1A\u586B\u5199\u811A\u672C\u4F4D\u7F6E \u2192 \u4FDD\u5B58\u8BBE\u7F6E \u2192 \u4FDD\u5B58\u5B58\u6863\u5E76\u67E5\u770B\u66F4\u65B0 \u2192 \u786E\u8BA4\u590D\u5236\u3002")),fe("workspaceDir",c("\u9879\u76EE\u811A\u672C\u6587\u4EF6\u5939"),c("\u4F8B\u5982 workspace/my-game\uFF1B\u4E5F\u53EF\u4EE5\u7559\u7A7A"),c("\u586B\u5199\u5728\u5DE5\u4F5C\u533A\u91CC\u7684\u4F4D\u7F6E\uFF0C\u4F8B\u5982 workspace/my-game\uFF1B\u7559\u7A7A\u8868\u793A\u4F7F\u7528\u5DE5\u4F5C\u533A\u672C\u8EAB\u3002")),fe("clientImportRoot",c("\u5343\u661F\u6C99\u7BB1\u811A\u672C\u6587\u4EF6\u5939"),c("\u7C98\u8D34\u4EE5 default_import_file \u7ED3\u5C3E\u7684\u5B8C\u6574\u8DEF\u5F84"),c("\u5173\u5361\u5B58\u653E\u5916\u90E8 Lua \u811A\u672C\u7684\u6587\u4EF6\u5939\uFF0C\u53EF\u70B9\u51FB\u300C\u53D1\u73B0\u672C\u673A\u76EE\u5F55\u300D\u67E5\u627E\u3002\u8BF7\u586B\u5199\u8FD0\u884C\u6A21\u62DF\u5668\u90A3\u53F0\u7535\u8111\u4E0A\u7684\u5B8C\u6574\u8DEF\u5F84\u3002")),fe("clientSubdir",c("\u6E38\u620F\u91CC\u7684\u9879\u76EE\u5B50\u6587\u4EF6\u5939"),c("\u4F8B\u5982 workspace/my-game\uFF1B\u4E5F\u53EF\u4EE5\u7559\u7A7A"),t(e.Fragment,null,c("\u4E00\u822C\u548C\u201C\u9879\u76EE\u811A\u672C\u6587\u4EF6\u5939\u201D\u586B\u4E00\u6837\u7684\u5185\u5BB9\uFF0C\u4FDD\u7559\u539F\u6765\u7684\u6587\u4EF6\u4F4D\u7F6E\u3002\u7559\u7A7A\u5219\u76F4\u63A5\u653E\u8FDB\u5343\u661F\u6C99\u7BB1\u811A\u672C\u6587\u4EF6\u5939\u3002"),t("span",{"aria-label":c("\u590D\u5236\u8DEF\u5F84\u793A\u4F8B"),style:{display:"block",overflowWrap:"anywhere"}},c("\u590D\u5236\u793A\u4F8B\uFF1A"),t("code",null,Ve)," \u2192 ",t("code",null,fn)))),Ae?t("p",null,c`游戏账号 UID:${Ae[1]} · 关卡目录编号:${Ae[2]}`):null,t("div",{style:{display:"flex",gap:6,flexWrap:"wrap"}},Qt(c("\u53D1\u73B0\u672C\u673A\u76EE\u5F55"),async()=>{let U=await Re("discover");E(U.candidates),U.candidates.length?z(c`找到 ${U.candidates.length} 个游戏脚本文件夹,请选择要更新的账号和关卡。`):k(c("\u6CA1\u6709\u627E\u5230\u6E38\u620F\u811A\u672C\u6587\u4EF6\u5939\u3002\u53EF\u4EE5\u624B\u52A8\u7C98\u8D34 default_import_file \u6587\u4EF6\u5939\u7684\u5B8C\u6574\u8DEF\u5F84\uFF1B\u5982\u679C\u8FD8\u6CA1\u5BFC\u5165\u811A\u672C\uFF0C\u8BF7\u5148\u5728\u5343\u661F\u6C99\u7BB1\u5B8C\u6210\u5BFC\u5165\u3002"))}),Qt(c("\u4FDD\u5B58\u8BBE\u7F6E"),async()=>{await o();let U=await n({op:"setScriptSync",config:d});await l("save",{path:x,expectedRevision:U.version}),await s(),N(null),w(null),z(c("\u811A\u672C\u4F4D\u7F6E\u5DF2\u4FDD\u5B58\u3002\u4E0B\u4E00\u6B65\u70B9\u51FB\u300C\u4FDD\u5B58\u5B58\u6863\u5E76\u67E5\u770B\u66F4\u65B0\u300D\u3002"))},!d.clientImportRoot.trim()||!x.trim()),Qt(c("\u6E05\u9664\u8BBE\u7F6E"),async()=>{await o();let U=await n({op:"setScriptSync",config:null});await l("save",{path:x,expectedRevision:U.version}),await s(),N(null),w(null),z(c("\u5DF2\u6E05\u9664\u811A\u672C\u4F4D\u7F6E\u8BBE\u7F6E\u3002\u6E38\u620F\u91CC\u7684\u811A\u672C\u6587\u4EF6\u4ECD\u7136\u4FDD\u7559\u3002"))},!i.scriptSync||!x.trim())),h.length?t("label",{className:"qxsim-field"},c("\u9009\u62E9\u8981\u66F4\u65B0\u7684\u8D26\u53F7\u548C\u5173\u5361"),t("select",{value:"",disabled:D,onChange:U=>{v({...d,clientImportRoot:U.target.value}),N(null),z("")}},t("option",{value:""},c("\u8BF7\u9009\u62E9\u6E38\u620F\u8D26\u53F7\u548C\u5173\u5361\u6587\u4EF6\u5939\u2026")),h.map(U=>t("option",{key:U.path,value:U.path},c`账号 ${U.uid} / 关卡目录 ${U.editorId} · ${U.path}`)))):null,t("label",{className:"qxsim-field",style:{marginTop:8}},t("span",null,c("\u6A21\u62DF\u5668\u5B58\u6863\u6587\u4EF6")),t("input",{type:"text",value:x,placeholder:c("\u4F8B\u5982 my-game.save.json"),"aria-label":c("\u6A21\u62DF\u5668\u5B58\u6863\u6587\u4EF6"),"aria-describedby":`${ce}-archive`,disabled:D,onChange:U=>{p(U.target.value),N(null),z("")}}),t("small",{id:`${ce}-archive`},c("\u586B\u5199\u5DE5\u4F5C\u533A\u91CC\u7684\u5B58\u6863\u6587\u4EF6\u540D\u6216\u8DEF\u5F84\u3002\u4FDD\u5B58\u8BBE\u7F6E\u65F6\u4F1A\u4E00\u8D77\u4FDD\u5B58\u9879\u76EE\uFF0C\u4E0B\u6B21\u6253\u5F00\u5B58\u6863\u5373\u53EF\u590D\u7528\u3002"))),Qt(c("\u4FDD\u5B58\u5B58\u6863\u5E76\u67E5\u770B\u66F4\u65B0"),G,!i.scriptSync||de||!x.trim()),i.scriptSync?de?t("p",null,c("\u811A\u672C\u4F4D\u7F6E\u5DF2\u6539\u52A8\uFF0C\u8BF7\u5148\u70B9\u51FB\u300C\u4FDD\u5B58\u8BBE\u7F6E\u300D\u3002")):x.trim()?null:t("p",null,c("\u8BF7\u5148\u586B\u5199\u6A21\u62DF\u5668\u5B58\u6863\u6587\u4EF6\u540D\u3002")):t("p",null,c("\u8BF7\u5148\u586B\u5199\u5343\u661F\u6C99\u7BB1\u811A\u672C\u6587\u4EF6\u5939\uFF0C\u5E76\u70B9\u51FB\u300C\u4FDD\u5B58\u8BBE\u7F6E\u300D\u3002")),D?t("p",{role:"status"},c("\u6B63\u5728\u5904\u7406\uFF0C\u8BF7\u7A0D\u5019\u2026")):S?t("p",{role:"status"},S):null,q?t("p",{role:"alert",style:{color:"var(--danger)"}},c(q)):null,C?t("section",{"aria-label":c("\u811A\u672C\u540C\u6B65\u786E\u8BA4")},t("p",{style:{overflowWrap:"anywhere"}},c`本次更新到:${C.root}`),C.rows.length?C.rows.every(U=>U.status==="\u672A\u53D8\u5316")?t("p",{role:"status"},c("\u6240\u6709\u811A\u672C\u90FD\u4E0E\u6E38\u620F\u6587\u4EF6\u5939\u91CC\u7684\u5185\u5BB9\u76F8\u540C\uFF0C\u65E0\u9700\u590D\u5236\u3002")):null:t("p",null,c("\u8FD9\u4E2A\u5B58\u6863\u8FD8\u6CA1\u6709 Lua \u811A\u672C\u3002\u8BF7\u5148\u5728\u4E0B\u65B9\u6DFB\u52A0\u811A\u672C\uFF0C\u518D\u67E5\u770B\u66F4\u65B0\u3002")),C.pendingGuidChanges?t("p",{role:"alert"},c("\u6709\u63A7\u4EF6\u7D22\u5F15\u5C1A\u672A\u540C\u6B65\u5230 Lua\u3002\u8BF7\u5148\u5728\u4E0A\u65B9\u300C\u5168\u91CF\u66FF\u6362\u811A\u672C\u7D22\u5F15\u300D\uFF0C\u6216\u300C\u590D\u5236\u63D0\u793A\u8BCD\u7ED9 AI\u300D\uFF1B\u5904\u7406\u5B8C\u6210\u540E\u518D\u67E5\u770B\u6E38\u620F\u811A\u672C\u66F4\u65B0\u3002")):null,C.rows.map(U=>t("div",{key:U.id,style:{borderTop:"1px solid var(--line)",padding:6}},t("label",{style:{overflowWrap:"anywhere"}},t("input",{type:"checkbox",disabled:D||!!U.error||U.status==="\u672A\u53D8\u5316",checked:f.includes(U.id),onChange:$e=>r($e.target.checked?[...f,U.id]:f.filter(vt=>vt!==U.id))}),` ${U.path} \xB7 ${ct[U.status]||U.status}`),t("div",null,c`复制的代码来自:${gt[U.sourceKind]||U.sourceKind}`),t("div",{style:{overflowWrap:"anywhere"}},U.error?c`无法复制:${U.error}`:c`复制到:${U.target}`),U.sourceMismatch?t("div",{className:"qxsim-note"},c("\u8FD9\u4E2A\u811A\u672C\u5728\u5B58\u6863\u91CC\u548C\u9879\u76EE\u6587\u4EF6\u91CC\u7684\u4EE3\u7801\u4E0D\u540C\u3002\u672C\u6B21\u4F1A\u590D\u5236\u5B58\u6863\u91CC\u7684\u4EE3\u7801\uFF1B\u5982\u679C\u8981\u4F7F\u7528\u9879\u76EE\u6587\u4EF6\uFF0C\u8BF7\u70B9\u51FB\u300C\u6539\u7528\u9879\u76EE\u6587\u4EF6\u91CC\u7684\u4EE3\u7801\u300D\uFF0C\u7136\u540E\u91CD\u65B0\u67E5\u770B\u66F4\u65B0\u3002"),t("details",null,t("summary",null,c("\u67E5\u770B\u9879\u76EE\u6587\u4EF6\u91CC\u7684\u4EE3\u7801")),t("pre",{style:{maxHeight:200,overflow:"auto"}},U.diskSource)),Qt(c("\u6539\u7528\u9879\u76EE\u6587\u4EF6\u91CC\u7684\u4EE3\u7801"),async()=>{await o(),await n({op:"updateScript",id:U.id,source:U.diskSource}),N(null)})):null,!U.error&&U.status!=="\u672A\u53D8\u5316"?t("details",null,t("summary",null,c("\u5BF9\u6BD4\u66F4\u65B0\u524D\u540E\u7684\u4EE3\u7801")),t("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:8}},t("div",{style:{minWidth:0}},c("\u6E38\u620F\u91CC\u73B0\u5728\u7684\u4EE3\u7801"),t("pre",{style:{maxHeight:240,overflow:"auto"}},U.status==="\u65B0\u589E"?c("\uFF08\u6E38\u620F\u91CC\u8FD8\u6CA1\u6709\u8FD9\u4E2A\u6587\u4EF6\uFF09"):U.beforeSource)),t("div",{style:{minWidth:0}},c("\u672C\u6B21\u8981\u590D\u5236\u7684\u4EE3\u7801"),t("pre",{style:{maxHeight:240,overflow:"auto"}},U.source)))):null)),C.rows.some(U=>U.status==="\u65B0\u589E")?t("p",null,c("\u65B0\u589E\u811A\u672C\u590D\u5236\u540E\uFF0C\u8FD8\u9700\u8981\u5728\u5343\u661F\u6C99\u7BB1\u91CC\u5173\u8054\u5BF9\u5E94\u7684\u811A\u672C\u6587\u4EF6\uFF1B\u9700\u8981\u76F4\u63A5\u8FD0\u884C\u7684\u811A\u672C\u8FD8\u8981\u6302\u5230\u63A7\u4EF6\u4E0A\u3002")):null,f.length?t("p",null,c`已选 ${f.length} 个脚本,其中 ${C.rows.filter(U=>f.includes(U.id)&&U.status==="\u8986\u76D6").length} 个会替换游戏里的旧文件。替换前会自动备份旧文件,游戏里的其他文件会保留。`):null,t("div",{style:{display:"flex",gap:6}},Qt(c("\u6682\u4E0D\u590D\u5236"),async()=>N(null)),Qt(c`确认复制 ${f.length} 个脚本`,async()=>{let U=C;N(null),await o(),w(await l("script-sync-apply",{planId:U.id,scriptIds:f,confirmed:!0}))},!f.length||!!C.pendingGuidChanges))):null,g?t("div",{role:"status"},t("strong",null,g.completed?c("\u811A\u672C\u5DF2\u590D\u5236\u5230\u5343\u661F\u6C99\u7BB1"):c("\u6709\u4E9B\u811A\u672C\u672A\u590D\u5236\u6210\u529F")),t("p",null,g.completed?c("\u4E0B\u4E00\u6B65\uFF1A\u56DE\u5230\u5343\u661F\u6C99\u7BB1\uFF0C\u4FDD\u5B58\u5173\u5361\u5E76\u91CD\u65B0\u8BD5\u73A9\uFF0C\u8BA9\u6E38\u620F\u52A0\u8F7D\u66F4\u65B0\u540E\u7684\u811A\u672C\u3002"):c("\u8BF7\u6309\u4E0B\u65B9\u63D0\u793A\u5904\u7406\u5931\u8D25\u7684\u6587\u4EF6\uFF0C\u518D\u91CD\u65B0\u67E5\u770B\u66F4\u65B0\u5E76\u590D\u5236\u3002")),t("p",{style:{overflowWrap:"anywhere"}},c`复制时间:${new Date(g.at).toLocaleString()} · 旧文件备份保存在:${g.backupRoot}`),t("ul",{style:{overflowWrap:"anywhere"}},g.results.map(U=>t("li",{key:U.id},`${U.target}\uFF1A${U.status==="\u6210\u529F"?c("\u5DF2\u590D\u5236"):c("\u672A\u590D\u5236")}${U.error?` \xB7 ${U.error}`:""}`)))):null))}}function Jb(e){let t=e.createElement;return function({snap:i,prepare:l,patch:n,copy:o,onScripts:s,onError:u,reloadArchive:d}){let[v,x]=e.useState(!1),[p,h]=e.useState(null),[E,C]=e.useState(null),[N,f]=e.useState(""),[r,g]=e.useState(!1),w=e.useRef(null),S=i.controlGuidChanges||[],z=S.at(-1)?.id||"";e.useEffect(()=>{h(null),f("")},[i.version,i.save?.name]),e.useEffect(()=>{g(!1)},[z,i.save?.name]),e.useLayoutEffect(()=>{N&&w.current&&(w.current.scrollTop=0)},[N]);let q=D=>async()=>{x(!0);try{await D()}catch(H){u(H?.message||String(H))}finally{x(!1)}},k=q(async()=>{f(await o()),h(null),w.current&&(w.current.scrollTop=0)});return!S.length&&!E?null:r?t("div",{style:{flexShrink:0,padding:"2px 10px"}},t("button",{className:"qxsim-action",onClick:()=>g(!1)},c`Lua 索引待同步(${S.length} 项)· 展开`)):t("section",{ref:w,className:"qxsim-note","aria-label":c("Lua \u7D22\u5F15\u540C\u6B65"),style:{flexShrink:0,maxHeight:270,overflow:"auto",overflowWrap:"anywhere"}},t("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:8}},t("strong",null,S.length?c`下一步:同步 Lua 索引引用(${S.length} 项)`:c("\u811A\u672C\u5168\u91CF\u66FF\u6362\u5DF2\u5B8C\u6210")),t("button",{className:"qxsim-action","aria-label":c("\u5173\u95ED\u7D22\u5F15\u540C\u6B65\u63D0\u793A"),title:c("\u6536\u8D77\u63D0\u793A\uFF0C\u4FDD\u7559\u5F85\u540C\u6B65\u8BB0\u5F55"),disabled:v,onClick:()=>{S.length?g(!0):C(null)}},c("\u5173\u95ED"))),N?t("details",{open:!0},t("summary",null,c("\u540C\u6B65\u4EFB\u52A1\uFF08\u7C98\u8D34\u7ED9\u5F53\u524D\u9879\u76EE\u7684 AI\uFF09")),t("textarea",{"aria-label":c("AI \u7D22\u5F15\u540C\u6B65\u4EFB\u52A1"),readOnly:!0,value:N,rows:5,style:{width:"100%",boxSizing:"border-box"}}),t("button",{className:"qxsim-action",disabled:v,onClick:q(d)},c("AI \u5DF2\u5904\u7406\uFF0C\u91CD\u65B0\u8F7D\u5165\u5B58\u6863"))):null,t("div",null,S.length?c("\u63A7\u4EF6\u7D22\u5F15\u5DF2\u4FEE\u6539\uFF0C\u8BF7\u9009\u62E9\u4E00\u79CD\u65B9\u5F0F\u540C\u6B65\u811A\u672C\u3002"):c("\u8BF7\u68C0\u67E5\u66FF\u6362\u7ED3\u679C\u5E76\u4FDD\u5B58\u5B58\u6863\uFF0C\u518D\u5230\u300CLua \u811A\u672C \u2192 \u5B9E\u673A\u811A\u672C\u540C\u6B65\u300D\u66F4\u65B0\u6E38\u620F\u91CC\u7684\u6587\u4EF6\u5E76\u91CD\u65B0\u8BD5\u73A9\u3002")),S.length?t(e.Fragment,null,t("div",{role:"group","aria-label":c("\u7D22\u5F15\u540C\u6B65\u65B9\u5F0F"),style:{display:"flex",gap:12,flexWrap:"wrap",marginTop:5}},t("div",{style:{flex:"1 1 280px"}},t("button",{className:"qxsim-action",disabled:v,onClick:q(async()=>{await l();let H=(await n({op:"previewControlGuidSync"})).controlGuidSyncPreview;if(C(null),f(""),!H.canApply){h(H);return}let ce=await n({op:"syncControlGuidReferences",planId:H.id});C(ce.controlGuidSyncResult),h(null)})},c("\u5168\u91CF\u66FF\u6362\u811A\u672C\u7D22\u5F15")),t("div",null,t("strong",null,c("\u53EF\u80FD\u9519\u8BEF\u5730\u66FF\u6362\u975E\u7D22\u5F15\u5185\u5BB9\u3002")),c("\u6309\u5B8C\u6574\u5341\u8FDB\u5236\u6570\u5B57\u66FF\u6362\u6240\u6709\u5DF2\u767B\u8BB0\u811A\u672C\uFF0C\u5305\u62EC\u914D\u7F6E\u8868\u3001\u5B57\u7B26\u4E32\u548C\u6CE8\u91CA\uFF1B\u540C\u65F6\u66F4\u65B0\u5185\u5BB9\u4E00\u81F4\u7684\u5DE5\u4F5C\u533A\u6E90\u6587\u4EF6\uFF0C\u66FF\u6362\u524D\u81EA\u52A8\u5907\u4EFD\u3002"))),t("div",{style:{flex:"1 1 280px"}},t("button",{className:"qxsim-action",disabled:v,onClick:k},c("\u590D\u5236\u63D0\u793A\u8BCD\u7ED9 AI")),t("div",null,c("\u5148\u4FDD\u5B58\u6700\u65B0\u5B58\u6863\uFF0C\u518D\u590D\u5236\u5305\u542B\u6620\u5C04\u8BFB\u53D6\u65B9\u5F0F\u548C\u811A\u672C\u4F4D\u7F6E\u7684\u63D0\u793A\u8BCD\uFF0C\u7531 AI \u5224\u65AD\u54EA\u4E9B\u5F15\u7528\u9700\u8981\u66F4\u65B0\u3002")))),t("details",null,t("summary",null,c`查看索引变更(${S.length} 项)`),t("ul",null,S.slice(0,20).map(D=>t("li",{key:D.id},`${D.controlName}\uFF1A${D.oldGuid} \u2192 ${D.newGuid}`))),S.length>20?t("div",null,c("\u8FD9\u91CC\u663E\u793A\u524D 20 \u9879\uFF1B\u5B8C\u6574\u6620\u5C04\u968F\u5B58\u6863\u4FDD\u5B58\uFF0C\u590D\u5236\u7684\u4EFB\u52A1\u4F1A\u5F15\u5BFC AI \u8BFB\u53D6\u5168\u90E8\u3002")):null)):null,p?t("div",{"aria-label":c("Lua \u7D22\u5F15\u540C\u6B65\u95EE\u9898")},t("p",null,c("\u6E90\u7801\u6587\u4EF6\u6216\u7D22\u5F15\u6620\u5C04\u5B58\u5728\u51B2\u7A81\uFF0C\u672C\u6B21\u6CA1\u6709\u4FEE\u6539\u811A\u672C\u3002\u53EF\u590D\u5236\u63D0\u793A\u8BCD\u7ED9 AI \u5904\u7406\u3002")),p.issues.map((D,H)=>t("div",{key:H},D)),p.rows.filter(D=>D.issues.length).map(D=>t("details",{key:D.id,open:!0},t("summary",null,D.path||c("\u5185\u8054\u811A\u672C")),D.issues.slice(0,12).map((H,ce)=>t("div",{key:`i${ce}`},`${H.line?c`第 ${H.line} 行:`:""}${H.reason}`)),D.issues.length>12?t("div",null,c("\u5176\u4F59\u95EE\u9898\u8BF7\u7531 AI \u6838\u5BF9\u3002")):null))):null,E&&!S.length?t(e.Fragment,null,t("div",null,c`已替换 ${E.scripts} 个脚本的 ${E.replacements} 处文本,更新 ${E.projectFiles} 个项目文件。备份:${E.backupRoot}`),t("button",{className:"qxsim-action",onClick:s},c("\u524D\u5F80 Lua \u811A\u672C"))):null)}}function x6({webdriver:e=!1,userAgent:t="",search:a=""}={}){let i=String(a||"");return new URLSearchParams(i.startsWith("?")?i.slice(1):i).get("audio")==="0"?!0:e===!0||/\bOpenCode\//.test(t)||/HeadlessChrome/i.test(t)}function Fb(e=globalThis){let t=e.navigator;if(!t)return!1;let a="";try{a=e.location?.search||""}catch{}return x6({webdriver:t.webdriver===!0,userAgent:t.userAgent||"",search:a})}function hc(e){try{e?.close()}catch{}}function w6(){if(window.location.protocol==="dsh-app:")return null;let e;try{return e=window.open("about:blank","_blank"),!e||e.closed?null:(e.document.write(c('<!doctype html><meta charset="utf-8"><title>\u6B63\u5728\u51C6\u5907\u8BD5\u73A9\u2026</title><p>\u6B63\u5728\u4FDD\u5B58\u9879\u76EE\u5E76\u51C6\u5907\u8BD5\u73A9\u2026</p>')),e)}catch{return hc(e),null}}function Wb(e){let t=e.createElement,a=new Map;function i({entry:l,api:n,onClosed:o}){let s=e.useRef(null),u=e.useRef(null),[d,v]=e.useState(!1),[x,p]=e.useState(""),[h,E]=e.useState(!1);e.useLayoutEffect(()=>{let N={closing:!1,stopped:!1,pending:null,controller:null,requests:new Set};u.current=N;let f=s.current,r=f.querySelector("iframe"),g=!0,w=()=>{if(N.stopped)return Promise.resolve();if(N.closing=!0,!N.controller)return N.stopped=!0,Promise.resolve();if(!N.pending){let q=(async()=>{N.controller?.quiesce(),await Promise.allSettled([...N.requests]),await n(l.sessionId,"play",{action:"stop",args:{}}),N.stopped=!0})().finally(()=>{N.pending=null,a.get(l.sessionId)===q&&a.delete(l.sessionId)});N.pending=q,a.set(l.sessionId,q)}return N.pending};N.close=async()=>{if(!(N.pending||N.stopped)){v(!0),p("");try{await w(),g&&o()}catch(q){g&&(p(c`停止试玩失败,请重试:${q?.message||q}`),v(!1))}}};let S=q=>{q.source!==r.contentWindow||q.data?.type!=="qxqy-play-close"||q.data.sessionId!==l.sessionId||N.close()},z=q=>{q.preventDefault(),N.close()};return window.addEventListener("message",S),f.addEventListener("cancel",z),f.showModal(),()=>{g=!1,window.removeEventListener("message",S),f.removeEventListener("cancel",z),f.close(),w().catch(q=>console.error("Embedded play cleanup failed",q)),l.returnFocus?.isConnected&&l.returnFocus.focus()}},[l,n,o]);function C(N){let f=u.current;if(!f.closing)try{let r=N.currentTarget,g=r.contentWindow?.qxqyEmbeddedPlay;if(!g)throw new Error(c("\u8BD5\u73A9\u9875\u672A\u80FD\u52A0\u8F7D\uFF0C\u8BF7\u8FD4\u56DE\u7F16\u8F91\u540E\u91CD\u8BD5\u3002"));f.controller=g,E(!0),r.focus(),g.focus();let w=(S,z={})=>{if(f.closing)return Promise.reject(new Error(c("\u8BD5\u73A9\u6B63\u5728\u5173\u95ED")));let q=n(l.sessionId,"play",{action:S,args:z});return f.requests.add(q),q.then(()=>f.requests.delete(q),()=>f.requests.delete(q)),q};g.start(w).catch(S=>{f.closing||p(S?.message||String(S))})}catch(r){p(r?.message||String(r))}}return t("dialog",{ref:s,className:"qxsim-play-overlay","aria-label":c("\u5185\u5D4C\u8BD5\u73A9"),"aria-modal":!0},t("header",{className:"qxsim-play-header"},t("span",{role:"status"},d?c("\u6B63\u5728\u505C\u6B62\u8BD5\u73A9\u2026"):h?c("\u5185\u5D4C\u8BD5\u73A9"):c("\u6B63\u5728\u8F7D\u5165\u8BD5\u73A9\u2026")),t("button",{className:"qxsim-action",type:"button",disabled:d,onClick:()=>void u.current?.close?.()},c("\u5173\u95ED\u8BD5\u73A9"))),x?t("div",{className:"qxsim-play-error",role:"alert"},c(x)):null,t("iframe",{title:c("\u5343\u661F\u6C99\u7BB1\u8BD5\u73A9"),src:l.url,onLoad:C,tabIndex:0}))}return function({sessionId:n,api:o,playUrl:s,onError:u}){let d=e.useRef(null),[v,x]=e.useState(!1),[p,h]=e.useState(null),E=e.useCallback(()=>h(null),[]);e.useEffect(()=>{let N={active:!0,pending:!1,popup:null};return d.current=N,x(!1),h(null),()=>{N.active=!1,hc(N.popup)}},[n]);async function C(N){let f=d.current;if(!f?.active||f.pending||p)return;f.pending=!0;let r=document.activeElement;x(!0);try{let g=w6();if(f.popup=g,await a.get(n),!f.active||(await N(),!f.active))return;let w=new URL(s(n),window.location.href);if(Fb()&&w.searchParams.set("audio","0"),g){try{if(g.closed)throw new Error("Play window closed");g.location.replace(w.href)}catch{hc(g),g=null}f.popup=null}g||(w.searchParams.set("embedded","1"),h({sessionId:n,url:w.href,returnFocus:r}))}catch(g){hc(f.popup),f.popup=null,f.active&&u(g?.message||String(g))}finally{f.pending=!1,f.active&&x(!1)}}return{open:C,opening:v,overlay:p?.sessionId===n?t(i,{key:n,entry:p,api:o,onClosed:E}):null}}}var Pb="prefab-v1",S6=[[10003004,10003004],[10005001,10005142],[10006001,10006002],[10007002,10007002],[10008001,10008001],[10009001,10009011],[20001001,20001074],[20001076,20001121],[20001123,20001156],[20001158,20001302],[20001304,20001568],[20001570,20001999],[20002001,20002755],[20002757,20002999],[20003001,20003455],[30001001,30001016],[30002001,30002017],[30003001,30003011],[30004001,30004001],[30005001,30005020],[30006001,30006026],[30007001,30007013],[30008001,30008011]];function e2(e){return!Number.isSafeInteger(e)||!S6.some(([t,a])=>e>=t&&e<=a)?null:e===10003004||e===10008001?128:256}var E6="sprite-v1",q6="/qxqy-assets/",A6=[[100001,100006],[100101,100213],[101001,101018],[101020,101028],[101030,101046],[101048,101048],[101050,101054],[101056,101080],[102001,102052],[103001,103148],[104001,104010],[105001,105140],[105142,105219],[105221,105317],[106001,106047],[106049,106096],[107001,107007],[107010,107020],[107031,107092],[107094,107180],[107183,107201],[107203,107205],[107207,107228],[107231,107278],[107280,107402],[108001,108017],[108019,108020],[109001,109031],[109033,109034],[109036,109075],[110001,110053],[111001,111139],[112001,112042]];function Va(e){return e==null||e===""?"StaticReference":typeof e=="string"?e:typeof e.Name=="string"?e.Name:"Unknown"}function jt(e,t){return`${Va(t)}:${e}`}function di(e,t){let a=Va(t);return a==="Prefab"?e2(e)!==null:a==="StaticReference"&&Number.isSafeInteger(e)&&e>100006&&A6.some(([i,l])=>e>=i&&e<=l)}function Tu(e,t=0,a){let i=Va(a);if(!["StaticReference","Prefab"].includes(i))throw new Error(`Unsupported image source: ${i}`);return`${q6}${i==="Prefab"?Pb:E6}/${e}.png${t?`?refresh=${t}`:""}`}function t2(e,t=0,a){return Tu(e,t,a).replace(".png",".json")}var Mu="qxqy-image-refresh",ra=new Map,El=new Map,rn=new Map,Ou=new Set,N6=16777216,a2=!1;function n2(e,t){rn.set(e,t),ra.delete(e),El.delete(e);for(let a of Ou)a(e)}var i2=e=>/^\d+$/.test(e)?jt(Number(e)):e;function gc(){if(!(a2||typeof window>"u")){a2=!0;try{for(let[e,t]of Object.entries(JSON.parse(localStorage.getItem(Mu)||"{}")))rn.set(i2(e),t)}catch{}window.addEventListener("storage",e=>{if(e.key===Mu)try{for(let[t,a]of Object.entries(JSON.parse(e.newValue||"{}"))){let i=i2(t);rn.get(i)!==a&&n2(i,a)}}catch{}})}}function zu(e){return gc(),Ou.add(e),()=>Ou.delete(e)}function l2(e,t){gc(),n2(jt(e,t),Date.now());try{localStorage.setItem(Mu,JSON.stringify(Object.fromEntries(rn)))}catch{}}function Du(e,t){if(gc(),Va(t)!=="StaticReference"||!di(e,t))return Promise.resolve(null);let a=jt(e,t),i=El.get(a);if(i)return i;let l=fetch(t2(e,rn.get(a),t),{signal:AbortSignal.timeout(3e4)}).then(async n=>{if(!n.ok)throw new Error(`\u56FE\u7247 ${e} \u5143\u6570\u636E\u52A0\u8F7D\u5931\u8D25\uFF1AHTTP ${n.status}`);return n.json()}).catch(n=>{throw El.get(a)===l&&El.delete(a),n});return El.set(a,l),l}async function o2(e,t){let[a,i]=await Promise.all([C6(e,t),Du(e,t).then(l=>({meta:l,error:""}),l=>({meta:void 0,error:l.message}))]);return{image:a,...i}}function C6(e,t){if(gc(),!di(e,t))return Promise.reject(new Error("Image source/ID is not in the preview allowlist"));let a=jt(e,t),i=ra.get(a);if(i&&(!i.failed||Date.now()<i.retryAt))return ra.delete(a),ra.set(a,i),i.promise;let l={pixels:0,failed:!1};return l.promise=new Promise((n,o)=>{let s=new Image,u=setTimeout(()=>{s.src="",d(new Error("\u56FE\u7247\u52A0\u8F7D\u8D85\u65F6"))},45e3);function d(v){if(clearTimeout(u),s.onload=s.onerror=null,v){l.failed=!0,l.retryAt=Date.now()+6e4,o(v);return}l.pixels=s.width*s.height;let x=[...ra.values()].reduce((p,h)=>p+h.pixels,0);for(let[p,h]of ra){if(x<=N6&&ra.size<=128)break;p!==a&&(!h.pixels&&!h.failed||(ra.delete(p),x-=h.pixels))}n(s)}s.onload=()=>d(),s.onerror=()=>d(new Error(`\u56FE\u7247 ${e} \u52A0\u8F7D\u5931\u8D25\uFF0C\u53EF\u5728\u5C5E\u6027\u9762\u677F\u5237\u65B0\u7D20\u6750`)),s.src=Tu(e,rn.get(a),t)}),ra.set(a,l),l.promise}function c2(e,t,a){let i=Number(t??4294967295)>>>0;if((i&16777215)===16777215)return e;let l=a(e.width,e.height),n=l.getContext("2d");n.drawImage(e,0,0);let o=n.getImageData(0,0,l.width,l.height),s=i>>>16&255,u=i>>>8&255,d=i&255;for(let v=0;v<o.data.length;v+=4)o.data[v]=Math.round(o.data[v]*s/255),o.data[v+1]=Math.round(o.data[v+1]*u/255),o.data[v+2]=Math.round(o.data[v+2]*d/255);return n.putImageData(o,0,0),l}function Uu(e){return!!e?.border&&Object.values(e.border).some(t=>Number.isFinite(t)&&t>0)}function vc(e,t){let a=typeof t=="object"?t?.Name:t;return Uu(e)&&a!=="Basic"?"Stretch":"Basic"}function T6(e,t,a,i){t=Number.isFinite(t)?Math.max(0,t):0,a=Number.isFinite(a)?Math.max(0,a):0;let l=Math.min(1,e/(t+a||1));t*=l,a*=l;let n=Math.min(1,i/(t+a||1));return{source:[0,t,e-a,e],target:[0,t*n,i-a*n,i]}}var s2=new WeakMap;function u2(e,t,a,i,l){let n=Math.max(0,a),o=Math.max(0,i),s=Math.min(1,4096/Math.max(1,n),4096/Math.max(1,o)),u=Math.max(1,Math.round(n*s)),d=Math.max(1,Math.round(o*s)),v=l(u,d),x=v.getContext("2d");if(!n||!o)return v;let p=s2.get(e);if(!p){let r=l(e.width,e.height),g=r.getContext("2d");g.drawImage(e,0,0),p=g.getImageData(0,0,e.width,e.height),s2.set(e,p)}let h=x.createImageData(u,d),E=p.data,C=(r,g,w,S,z,q)=>{let{source:k,target:D}=T6(g,w,S,z);return Array.from({length:q},(H,ce)=>{let Xe=(ce+.5)*z/q,Re=Xe<D[1]?0:Xe<D[2]?1:2,G=D[Re+1]>D[Re]?(Xe-D[Re])/(D[Re+1]-D[Re]):0,de=Math.max(0,Math.min(r-1,(k[Re]+G*(k[Re+1]-k[Re]))*r/g-.5)),fe=Math.floor(de);return[fe,Math.min(r-1,fe+1),de-fe]})},N=C(e.width,t.width,t.border.left,t.border.right,n,u),f=C(e.height,t.height,t.border.top,t.border.bottom,o,d);for(let r=0;r<d;r++)for(let g=0;g<u;g++){let[w,S,z]=N[g],[q,k,D]=f[r],H=(q*e.width+w)*4,ce=(q*e.width+S)*4,Xe=(k*e.width+w)*4,Re=(k*e.width+S)*4,G=E[H+3]*(1-z)*(1-D),de=E[ce+3]*z*(1-D),fe=E[Xe+3]*(1-z)*D,Ae=E[Re+3]*z*D,Fe=G+de+fe+Ae,Oe=(r*u+g)*4;h.data[Oe+3]=Math.round(Fe);for(let Ve=0;Ve<3;Ve++)h.data[Oe+Ve]=Fe?Math.round((E[H+Ve]*G+E[ce+Ve]*de+E[Xe+Ve]*fe+E[Re+Ve]*Ae)/Fe):0}return x.putImageData(h,0,0),v}function d2(e,t,a){if(e.fillType!=="Horizontal"&&e.fillType!=="Vertical")return null;let i=Number(e.fillAmount??1),l=Number.isFinite(i)?Math.max(0,Math.min(1,i)):1;if(e.fillType==="Horizontal"){let o=t*l;return{x:e.fillHorizontalType==="Right"?t/2-o:-t/2,y:-a/2,width:o,height:a}}let n=a*l;return{x:-t/2,y:e.fillVerticalType==="Top"?-a/2:a/2-n,width:t,height:n}}function r2(e,t){let a=document.createElement("canvas");return a.width=e,a.height=t,a}function f2(e){let t=e.createElement;return function({item:i}){let l=jt(i.imageId,i.imageSource),n=e.useRef(null),[o,s]=e.useState({image:null,meta:null,error:""}),[u,d]=e.useState(0);return e.useEffect(()=>zu(v=>{v===l&&d(x=>x+1)}),[l]),e.useEffect(()=>{let v=!0;return s({image:null,error:""}),o2(i.imageId,i.imageSource).then(({image:x,meta:p,error:h})=>{v&&s({image:x,meta:p,error:h})},x=>{v&&s({image:null,error:x.message})}),()=>{v=!1}},[l,u]),e.useEffect(()=>{let v=n.current;if(!o.image||!v)return;let x=vc(o.meta,i.imageType)==="Stretch"?u2(o.image,o.meta,i.width,i.height,r2):o.image,p=c2(x,i.imageColor,r2);v.width=p.width,v.height=p.height;let h=v.getContext("2d"),E=i.enableFill?d2(i,v.width,v.height):null;E&&(h.beginPath(),h.rect(E.x+v.width/2,E.y+v.height/2,E.width,E.height),h.clip()),h.globalAlpha=(Number(i.imageColor??4294967295)>>>24&255)/255,h.drawImage(p,0,0)},[o.image,o.meta,i.imageType,i.width,i.height,i.imageColor,i.enableFill,i.fillType,i.fillHorizontalType,i.fillVerticalType,i.fillAmount]),o.image?t("canvas",{ref:n,title:o.error,"data-image-id":i.imageId,"data-image-source":Va(i.imageSource),"data-image-type":vc(o.meta,i.imageType),"aria-label":c`图片 ${i.imageId}`,style:{display:"block",position:"absolute",inset:0,width:"100%",height:"100%"}}):t("span",{className:"qxsim-box-label",title:o.error,role:o.error?"status":void 0},o.error?c`图片 ${i.imageId} 加载失败`:c`加载图片 ${i.imageId}…`)}}function b2(e){let t=e.createElement;return function({imageId:i,imageSource:l,value:n,commit:o}){let s=jt(i,l),[u,d]=e.useState({key:"",meta:void 0,error:""}),[v,x]=e.useState(0);e.useEffect(()=>zu(E=>{E===s&&x(C=>C+1)}),[s]),e.useEffect(()=>{let E=!0;return d({key:s,meta:void 0,error:""}),Du(i,l).then(C=>{E&&d({key:s,meta:C,error:""})},C=>{E&&d({key:s,meta:void 0,error:C.message})}),()=>{E=!1}},[s,v]);let p=u.key===s&&u.meta!==void 0,h=p&&Uu(u.meta);return t("label",{className:"qxsim-field"},t("span",{className:"qxsim-field-label"},c("\u56FE\u7247\u7C7B\u578B")),t("select",{"aria-label":c("\u56FE\u7247\u7C7B\u578B"),disabled:!h,value:p?vc(u.meta,n):"",onChange:E=>o("imageType",E.target.value)},p?t("option",{value:"Basic"},c("\u57FA\u7840")):t("option",{value:""},u.error?c("\u5143\u6570\u636E\u52A0\u8F7D\u5931\u8D25"):c("\u8BFB\u53D6\u7D20\u6750\u8FB9\u754C\u2026")),h?t("option",{value:"Stretch"},c("\u62C9\u4F38")):null),u.error?t("small",{role:"status"},u.error):null)}}var ql={version:"ct-v1",catalogSha256:"fcdd2087b0ce558f90489db6c1368211d8b110e8cc755baf1efd731814a53fd4",assets:[{id:10001001,scope:"ui",width:182,height:182,loop:!0,duration:10,name:"\u96F7\u80FD\u91CF\u6EE1\u503C1",nameEn:"Electro Energy Max Value 1",video:"video/10001001.webm",icon:"icon/10001001.png",audio:[]},{id:10001002,scope:"ui",width:182,height:182,loop:!0,duration:10,name:"\u706B\u80FD\u91CF\u6EE1\u503C1",nameEn:"Pyro Energy Max Value 1",video:"video/10001002.webm",icon:"icon/10001002.png",audio:[]},{id:10001003,scope:"ui",width:174,height:182,loop:!0,duration:10,name:"\u8349\u80FD\u91CF\u6EE1\u503C1",nameEn:"Dendro Energy Max Value 1",video:"video/10001003.webm",icon:"icon/10001003.png",audio:[]},{id:10001004,scope:"ui",width:182,height:182,loop:!0,duration:10,name:"\u51B0\u80FD\u91CF\u6EE1\u503C1",nameEn:"Cryo Energy Max Value 1",video:"video/10001004.webm",icon:"icon/10001004.png",audio:[]},{id:10001005,scope:"ui",width:182,height:182,loop:!0,duration:10,name:"\u5CA9\u80FD\u91CF\u6EE1\u503C1",nameEn:"Geo Energy Max Value 1",video:"video/10001005.webm",icon:"icon/10001005.png",audio:[]},{id:10001006,scope:"ui",width:186,height:186,loop:!0,duration:10,name:"\u6C34\u80FD\u91CF\u6EE1\u503C1",nameEn:"Hydro Energy Max Value 1",video:"video/10001006.webm",icon:"icon/10001006.png",audio:[]},{id:10001007,scope:"ui",width:182,height:182,loop:!0,duration:10,name:"\u98CE\u80FD\u91CF\u6EE1\u503C1",nameEn:"Anemo Energy Max Value 1",video:"video/10001007.webm",icon:"icon/10001007.png",audio:[]},{id:10001008,scope:"ui",width:224,height:224,loop:!1,duration:1.3,name:"\u53EF\u7528\u63D0\u793A1",nameEn:"Available Hint 1",video:"video/10001008.webm",icon:"icon/10001008.png",audio:[]},{id:10001009,scope:"ui",width:224,height:224,loop:!1,duration:1.3,name:"\u53EF\u7528\u63D0\u793A2",nameEn:"Available Hint 2",video:"video/10001009.webm",icon:"icon/10001009.png",audio:[]},{id:10001010,scope:"ui",width:176,height:176,loop:!0,duration:10,name:"\u96F7\u80FD\u91CF\u6EE1\u503C2",nameEn:"Electro Energy Max Value 2",video:"video/10001010.webm",icon:"icon/10001010.png",audio:[]},{id:10001011,scope:"ui",width:182,height:182,loop:!0,duration:10,name:"\u706B\u80FD\u91CF\u6EE1\u503C2",nameEn:"Pyro Energy Max Value 2",video:"video/10001011.webm",icon:"icon/10001011.png",audio:[]},{id:10001012,scope:"ui",width:162,height:162,loop:!0,duration:10,name:"\u8349\u80FD\u91CF\u6EE1\u503C2",nameEn:"Dendro Energy Max Value 2",video:"video/10001012.webm",icon:"icon/10001012.png",audio:[]},{id:10001013,scope:"ui",width:176,height:184,loop:!0,duration:10,name:"\u51B0\u80FD\u91CF\u6EE1\u503C2",nameEn:"Cryo Energy Max Value 2",video:"video/10001013.webm",icon:"icon/10001013.png",audio:[]},{id:10001014,scope:"ui",width:170,height:170,loop:!0,duration:10,name:"\u5CA9\u80FD\u91CF\u6EE1\u503C2",nameEn:"Geo Energy Max Value 2",video:"video/10001014.webm",icon:"icon/10001014.png",audio:[]},{id:10001015,scope:"ui",width:186,height:186,loop:!0,duration:10,name:"\u6C34\u80FD\u91CF\u6EE1\u503C2",nameEn:"Hydro Energy Max Value 2",video:"video/10001015.webm",icon:"icon/10001015.png",audio:[]},{id:10001016,scope:"ui",width:180,height:180,loop:!0,duration:10,name:"\u98CE\u80FD\u91CF\u6EE1\u503C2",nameEn:"Anemo Energy Max Value 2",video:"video/10001016.webm",icon:"icon/10001016.png",audio:[]},{id:10001017,scope:"ui",width:300,height:280,loop:!0,duration:10,name:"\u80FD\u91CF\u6EE1\u503C1",nameEn:"Energy Max Value 1",video:"video/10001017.webm",icon:"icon/10001017.png",audio:["audio/10001017.mp3"]},{id:10001018,scope:"ui",width:220,height:226,loop:!0,duration:10,name:"\u80FD\u91CF\u6EE1\u503C2",nameEn:"Energy Max Value 2",video:"video/10001018.webm",icon:"icon/10001018.png",audio:[]},{id:10001019,scope:"ui",width:220,height:226,loop:!0,duration:10,name:"\u80FD\u91CF\u6EE1\u503C3",nameEn:"Energy Max Value 3",video:"video/10001019.webm",icon:"icon/10001019.png",audio:[]},{id:10001020,scope:"ui",width:210,height:216,loop:!0,duration:10,name:"\u80FD\u91CF\u6EE1\u503C4",nameEn:"Energy Max Value 4",video:"video/10001020.webm",icon:"icon/10001020.png",audio:[]},{id:10001021,scope:"ui",width:216,height:220,loop:!0,duration:10,name:"\u80FD\u91CF\u6EE1\u503C5",nameEn:"Energy Max Value 5",video:"video/10001021.webm",icon:"icon/10001021.png",audio:[]},{id:10001022,scope:"ui",width:216,height:220,loop:!0,duration:10,name:"\u80FD\u91CF\u6EE1\u503C6",nameEn:"Energy Max Value 6",video:"video/10001022.webm",icon:"icon/10001022.png",audio:[]},{id:10001023,scope:"ui",width:216,height:220,loop:!0,duration:10,name:"\u80FD\u91CF\u6EE1\u503C7",nameEn:"Energy Max Value 7",video:"video/10001023.webm",icon:"icon/10001023.png",audio:[]},{id:10001024,scope:"ui",width:134,height:134,loop:!0,duration:10,name:"\u96F7\u5143\u7D20\u5171\u9E23",nameEn:"Electro Elemental Resonance",video:"video/10001024.webm",icon:"icon/10001024.png",audio:[]},{id:10001025,scope:"ui",width:130,height:134,loop:!0,duration:10,name:"\u706B\u5143\u7D20\u5171\u9E23",nameEn:"Pyro Elemental Resonance",video:"video/10001025.webm",icon:"icon/10001025.png",audio:[]},{id:10001026,scope:"ui",width:130,height:130,loop:!0,duration:10,name:"\u8349\u5143\u7D20\u5171\u9E23",nameEn:"Dendro Elemental Resonance",video:"video/10001026.webm",icon:"icon/10001026.png",audio:[]},{id:10001027,scope:"ui",width:128,height:128,loop:!0,duration:10,name:"\u51B0\u5143\u7D20\u5171\u9E23",nameEn:"Cryo Elemental Resonance",video:"video/10001027.webm",icon:"icon/10001027.png",audio:[]},{id:10001028,scope:"ui",width:130,height:130,loop:!0,duration:10,name:"\u5CA9\u5143\u7D20\u5171\u9E23",nameEn:"Geo Elemental Resonance",video:"video/10001028.webm",icon:"icon/10001028.png",audio:[]},{id:10001029,scope:"ui",width:130,height:134,loop:!0,duration:10,name:"\u6C34\u5143\u7D20\u5171\u9E23",nameEn:"Hydro Elemental Resonance",video:"video/10001029.webm",icon:"icon/10001029.png",audio:[]},{id:10001030,scope:"ui",width:130,height:130,loop:!0,duration:10,name:"\u98CE\u5143\u7D20\u5171\u9E23",nameEn:"Anemo Elemental Resonance",video:"video/10001030.webm",icon:"icon/10001030.png",audio:[]},{id:10001031,scope:"ui",width:156,height:160,loop:!1,duration:1,name:"\u6C34\u70AE\u6548\u679C1",nameEn:"Hydro Cannon Effect 1",video:"video/10001031.webm",icon:"icon/10001031.png",audio:[]},{id:10001032,scope:"ui",width:216,height:216,loop:!1,duration:.933,name:"\u6C34\u70AE\u6548\u679C2",nameEn:"Hydro Cannon Effect 2",video:"video/10001032.webm",icon:"icon/10001032.png",audio:["audio/10001032.mp3"]},{id:10001033,scope:"ui",width:488,height:488,loop:!1,duration:1.2,name:"\u97F3\u7B26\u6548\u679C1",nameEn:"Note Effect 1",video:"video/10001033.webm",icon:"icon/10001033.png",audio:[]},{id:10001034,scope:"ui",width:536,height:536,loop:!1,duration:1.4,name:"\u97F3\u7B26\u6548\u679C2",nameEn:"Note Effect 2",video:"video/10001034.webm",icon:"icon/10001034.png",audio:[]},{id:10001035,scope:"ui",width:262,height:266,loop:!0,duration:10,name:"\u97F3\u7B26\u6548\u679C3",nameEn:"Note Effect 3",video:"video/10001035.webm",icon:"icon/10001035.png",audio:[]},{id:10001036,scope:"ui",width:536,height:536,loop:!1,duration:1.4,name:"\u97F3\u7B26\u6548\u679C4",nameEn:"Note Effect 4",video:"video/10001036.webm",icon:"icon/10001036.png",audio:[]},{id:10001037,scope:"ui",width:262,height:266,loop:!0,duration:10,name:"\u97F3\u7B26\u6548\u679C5",nameEn:"Note Effect 5",video:"video/10001037.webm",icon:"icon/10001037.png",audio:[]},{id:10001038,scope:"ui",width:190,height:190,loop:!0,duration:10,name:"\u6269\u6563\u6548\u679C1",nameEn:"Swirl Effect 1",video:"video/10001038.webm",icon:"icon/10001038.png",audio:[]},{id:10001039,scope:"ui",width:208,height:208,loop:!1,duration:.766,name:"\u70B9\u51FB\u6548\u679C1",nameEn:"Press Effect 1",video:"video/10001039.webm",icon:"icon/10001039.png",audio:[]},{id:10001040,scope:"ui",width:390,height:390,loop:!1,duration:1.2,name:"\u8F6C\u6362\u6548\u679C1",nameEn:"Conversion Effect 1",video:"video/10001040.webm",icon:"icon/10001040.png",audio:["audio/10001040.mp3"]},{id:10001041,scope:"ui",width:208,height:208,loop:!0,duration:10,name:"\u8F6C\u6362\u6548\u679C2",nameEn:"Conversion Effect 2",video:"video/10001041.webm",icon:"icon/10001041.png",audio:[]},{id:10001042,scope:"ui",width:208,height:208,loop:!0,duration:10,name:"\u8F6C\u6362\u6548\u679C3",nameEn:"Conversion Effect 3",video:"video/10001042.webm",icon:"icon/10001042.png",audio:[]},{id:10001043,scope:"ui",width:168,height:180,loop:!1,duration:1.233,name:"\u70B9\u51FB\u6548\u679C2",nameEn:"Press Effect 2",video:"video/10001043.webm",icon:"icon/10001043.png",audio:["audio/10001043.mp3","audio/10001043_02.mp3"]},{id:10001044,scope:"ui",width:190,height:198,loop:!1,duration:1.566,name:"\u70B9\u51FB\u6548\u679C3",nameEn:"Press Effect 3",video:"video/10001044.webm",icon:"icon/10001044.png",audio:[]},{id:10001045,scope:"ui",width:114,height:114,loop:!1,duration:.733,name:"\u70B9\u51FB\u6548\u679C4",nameEn:"Press Effect 4",video:"video/10001045.webm",icon:"icon/10001045.png",audio:[]},{id:10001046,scope:"ui",width:106,height:122,loop:!1,duration:.8,name:"\u70B9\u51FB\u6548\u679C5",nameEn:"Press Effect 5",video:"video/10001046.webm",icon:"icon/10001046.png",audio:[]},{id:10001047,scope:"ui",width:114,height:114,loop:!1,duration:.733,name:"\u70B9\u51FB\u6548\u679C6",nameEn:"Press Effect 6",video:"video/10001047.webm",icon:"icon/10001047.png",audio:[]},{id:10001048,scope:"ui",width:114,height:114,loop:!1,duration:.733,name:"\u70B9\u51FB\u6548\u679C7",nameEn:"Press Effect 7",video:"video/10001048.webm",icon:"icon/10001048.png",audio:[]},{id:10001049,scope:"ui",width:130,height:118,loop:!1,duration:1,name:"\u70B9\u51FB\u6548\u679C8",nameEn:"Press Effect 8",video:"video/10001049.webm",icon:"icon/10001049.png",audio:[]},{id:10001050,scope:"ui",width:114,height:114,loop:!1,duration:.733,name:"\u70B9\u51FB\u6548\u679C9",nameEn:"Press Effect 9",video:"video/10001050.webm",icon:"icon/10001050.png",audio:[]},{id:10001051,scope:"ui",width:408,height:408,loop:!0,duration:10,name:"\u9AD8\u4EAE\u6548\u679C1",nameEn:"Highlight Effect 1",video:"video/10001051.webm",icon:"icon/10001051.png",audio:[]},{id:10001052,scope:"ui",width:272,height:272,loop:!1,duration:.9,name:"\u95EA\u70C1\u6548\u679C1",nameEn:"Blink Effect 1",video:"video/10001052.webm",icon:"icon/10001052.png",audio:[]},{id:10001053,scope:"ui",width:176,height:194,loop:!0,duration:10,name:"\u9AD8\u4EAE\u6548\u679C2",nameEn:"Highlight Effect 2",video:"video/10001053.webm",icon:"icon/10001053.png",audio:[]},{id:10001054,scope:"ui",width:274,height:286,loop:!1,duration:1,name:"\u95EA\u70C1\u6548\u679C2",nameEn:"Blink Effect 2",video:"video/10001054.webm",icon:"icon/10001054.png",audio:[]},{id:10001055,scope:"ui",width:368,height:368,loop:!1,duration:1,name:"\u95EA\u70C1\u6548\u679C3",nameEn:"Blink Effect 3",video:"video/10001055.webm",icon:"icon/10001055.png",audio:[]},{id:10001056,scope:"ui",width:226,height:210,loop:!0,duration:10,name:"\u9AD8\u4EAE\u6548\u679C3",nameEn:"Highlight Effect 3",video:"video/10001056.webm",icon:"icon/10001056.png",audio:[]},{id:10001057,scope:"ui",width:304,height:304,loop:!1,duration:.966,name:"\u8F6C\u6362\u6548\u679C4",nameEn:"Conversion Effect 4",video:"video/10001057.webm",icon:"icon/10001057.png",audio:["audio/10001057.mp3"]},{id:10001058,scope:"ui",width:174,height:178,loop:!1,duration:1.6,name:"\u95EA\u70C1\u6548\u679C4",nameEn:"Blink Effect 4",video:"video/10001058.webm",icon:"icon/10001058.png",audio:[]},{id:10001059,scope:"ui",width:362,height:362,loop:!1,duration:1.766,name:"\u95EA\u70C1\u6548\u679C5",nameEn:"Blink Effect 5",video:"video/10001059.webm",icon:"icon/10001059.png",audio:["audio/10001059.mp3"]},{id:10001060,scope:"ui",width:190,height:192,loop:!0,duration:10,name:"\u95EA\u70C1\u6548\u679C6",nameEn:"Blink Effect 6",video:"video/10001060.webm",icon:"icon/10001060.png",audio:[]},{id:10001061,scope:"ui",width:890,height:456,loop:!1,duration:1,name:"\u95EA\u70C1\u6548\u679C7",nameEn:"Blink Effect 7",video:"video/10001061.webm",icon:"icon/10001061.png",audio:[]},{id:10001062,scope:"ui",width:890,height:646,loop:!1,duration:1,name:"\u95EA\u70C1\u6548\u679C8",nameEn:"Blink Effect 8",video:"video/10001062.webm",icon:"icon/10001062.png",audio:[]},{id:10001063,scope:"ui",width:290,height:290,loop:!0,duration:10,name:"\u9AD8\u4EAE\u6548\u679C4",nameEn:"Highlight Effect 4",video:"video/10001063.webm",icon:"icon/10001063.png",audio:[]},{id:10001064,scope:"ui",width:272,height:272,loop:!1,duration:.866,name:"\u6D88\u9664\u6548\u679C1",nameEn:"Clear Effect 1",video:"video/10001064.webm",icon:"icon/10001064.png",audio:[]},{id:10001065,scope:"ui",width:272,height:272,loop:!1,duration:.9,name:"\u6D88\u9664\u6548\u679C2",nameEn:"Clear Effect 2",video:"video/10001065.webm",icon:"icon/10001065.png",audio:[]},{id:10001066,scope:"ui",width:238,height:210,loop:!1,duration:1.066,name:"\u6D88\u9664\u6548\u679C3",nameEn:"Clear Effect 3",video:"video/10001066.webm",icon:"icon/10001066.png",audio:[]},{id:10001067,scope:"ui",width:154,height:154,loop:!0,duration:10,name:"\u95EA\u70C1\u6548\u679C9",nameEn:"Blink Effect 9",video:"video/10001067.webm",icon:"icon/10001067.png",audio:[]},{id:10001068,scope:"ui",width:484,height:484,loop:!1,duration:1,name:"\u95EA\u70C1\u6548\u679C10",nameEn:"Blink Effect 10",video:"video/10001068.webm",icon:"icon/10001068.png",audio:[]},{id:10001069,scope:"ui",width:326,height:326,loop:!0,duration:10,name:"\u9AD8\u4EAE\u6548\u679C5",nameEn:"Highlight Effect 5",video:"video/10001069.webm",icon:"icon/10001069.png",audio:[]},{id:10001070,scope:"ui",width:206,height:196,loop:!0,duration:10,name:"\u9AD8\u4EAE\u6548\u679C6",nameEn:"Highlight Effect 6",video:"video/10001070.webm",icon:"icon/10001070.png",audio:[]},{id:10001071,scope:"ui",width:2236,height:2236,loop:!0,duration:10,name:"\u6C1B\u56F4\u6548\u679C1",nameEn:"Ambience Effect 1",video:"video/10001071.webm",icon:"icon/10001071.png",audio:[]},{id:10001072,scope:"ui",width:406,height:406,loop:!0,duration:10,name:"\u6C1B\u56F4\u6548\u679C2",nameEn:"Ambience Effect 2",video:"video/10001072.webm",icon:"icon/10001072.png",audio:[]},{id:10001073,scope:"ui",width:376,height:336,loop:!1,duration:2.1,name:"\u95EA\u70C1\u6548\u679C11",nameEn:"Blink Effect 11",video:"video/10001073.webm",icon:"icon/10001073.png",audio:[]},{id:10001074,scope:"ui",width:258,height:228,loop:!1,duration:1.666,name:"\u95EA\u70C1\u6548\u679C12",nameEn:"Blink Effect 12",video:"video/10001074.webm",icon:"icon/10001074.png",audio:[]},{id:10001075,scope:"ui",width:322,height:322,loop:!0,duration:10,name:"\u9AD8\u4EAE\u6548\u679C7",nameEn:"Highlight Effect 7",video:"video/10001075.webm",icon:"icon/10001075.png",audio:[]},{id:10001076,scope:"ui",width:258,height:270,loop:!1,duration:1.2,name:"\u4E92\u52A8\u6548\u679C1",nameEn:"Interaction Effect 1",video:"video/10001076.webm",icon:"icon/10001076.png",audio:[]},{id:10001077,scope:"ui",width:126,height:118,loop:!1,duration:1.1,name:"\u88C5\u9970\u6548\u679C1",nameEn:"Decoration Effect 1",video:"video/10001077.webm",icon:"icon/10001077.png",audio:[]},{id:10001078,scope:"ui",width:220,height:248,loop:!1,duration:1.133,name:"\u88C5\u9970\u6548\u679C2",nameEn:"Decoration Effect 2",video:"video/10001078.webm",icon:"icon/10001078.png",audio:[]},{id:10001079,scope:"ui",width:234,height:232,loop:!1,duration:1.166,name:"\u88C5\u9970\u6548\u679C3",nameEn:"Decoration Effect 3",video:"video/10001079.webm",icon:"icon/10001079.png",audio:[]},{id:10001080,scope:"ui",width:582,height:550,loop:!0,duration:10,name:"\u88C5\u9970\u6548\u679C4",nameEn:"Decoration Effect 4",video:"video/10001080.webm",icon:"icon/10001080.png",audio:[]},{id:10001081,scope:"ui",width:388,height:400,loop:!0,duration:10,name:"\u88C5\u9970\u6548\u679C5",nameEn:"Decoration Effect 5",video:"video/10001081.webm",icon:"icon/10001081.png",audio:[]},{id:10001082,scope:"ui",width:386,height:386,loop:!0,duration:10,name:"\u88C5\u9970\u6548\u679C6",nameEn:"Decoration Effect 6",video:"video/10001082.webm",icon:"icon/10001082.png",audio:[]},{id:10001083,scope:"ui",width:196,height:196,loop:!1,duration:1.2,name:"\u88C5\u9970\u6548\u679C7",nameEn:"Decoration Effect 7",video:"video/10001083.webm",icon:"icon/10001083.png",audio:[]},{id:10001084,scope:"ui",width:496,height:462,loop:!1,duration:.7,name:"\u95EA\u70C1\u6548\u679C13",nameEn:"Blink Effect 13",video:"video/10001084.webm",icon:"icon/10001084.png",audio:[]},{id:10001085,scope:"ui",width:426,height:336,loop:!1,duration:.566,name:"\u95EA\u70C1\u6548\u679C14",nameEn:"Blink Effect 14",video:"video/10001085.webm",icon:"icon/10001085.png",audio:[]},{id:10001086,scope:"ui",width:266,height:190,loop:!1,duration:.866,name:"\u88C5\u9970\u6548\u679C8",nameEn:"Decoration Effect 8",video:"video/10001086.webm",icon:"icon/10001086.png",audio:[]},{id:10001087,scope:"ui",width:310,height:252,loop:!1,duration:1.166,name:"\u88C5\u9970\u6548\u679C9",nameEn:"Decoration Effect 9",video:"video/10001087.webm",icon:"icon/10001087.png",audio:[]},{id:10001088,scope:"ui",width:310,height:252,loop:!1,duration:1.166,name:"\u88C5\u9970\u6548\u679C10",nameEn:"Decoration Effect 10",video:"video/10001088.webm",icon:"icon/10001088.png",audio:[]},{id:10001089,scope:"ui",width:178,height:74,loop:!1,duration:1.966,name:"\u88C5\u9970\u6548\u679C11",nameEn:"Decoration Effect 11",video:"video/10001089.webm",icon:"icon/10001089.png",audio:[]},{id:10001090,scope:"ui",width:190,height:190,loop:!1,duration:1.166,name:"\u95EA\u70C1\u6548\u679C15",nameEn:"Blink Effect 15",video:"video/10001090.webm",icon:"icon/10001090.png",audio:[]},{id:10001091,scope:"ui",width:188,height:188,loop:!1,duration:1.6,name:"\u95EA\u70C1\u6548\u679C16",nameEn:"Blink Effect 16",video:"video/10001091.webm",icon:"icon/10001091.png",audio:[]},{id:10001092,scope:"ui",width:200,height:200,loop:!0,duration:10,name:"\u88C5\u9970\u6548\u679C12",nameEn:"Decoration Effect 12",video:"video/10001092.webm",icon:"icon/10001092.png",audio:[]},{id:10001093,scope:"ui",width:294,height:302,loop:!1,duration:1.033,name:"\u88C5\u9970\u6548\u679C13",nameEn:"Decoration Effect 13",video:"video/10001093.webm",icon:"icon/10001093.png",audio:[]},{id:10001094,scope:"ui",width:310,height:310,loop:!1,duration:.833,name:"\u88C5\u9970\u6548\u679C14",nameEn:"Decoration Effect 14",video:"video/10001094.webm",icon:"icon/10001094.png",audio:[]},{id:10001095,scope:"ui",width:252,height:300,loop:!1,duration:1.8,name:"\u88C5\u9970\u6548\u679C15",nameEn:"Decoration Effect 15",video:"video/10001095.webm",icon:"icon/10001095.png",audio:[]},{id:10001096,scope:"ui",width:252,height:252,loop:!1,duration:1.6,name:"\u88C5\u9970\u6548\u679C16",nameEn:"Decoration Effect 16",video:"video/10001096.webm",icon:"icon/10001096.png",audio:[]},{id:10001097,scope:"ui",width:252,height:252,loop:!1,duration:1.6,name:"\u88C5\u9970\u6548\u679C17",nameEn:"Decoration Effect 17",video:"video/10001097.webm",icon:"icon/10001097.png",audio:[]},{id:10001098,scope:"ui",width:252,height:252,loop:!1,duration:1.6,name:"\u88C5\u9970\u6548\u679C18",nameEn:"Decoration Effect 18",video:"video/10001098.webm",icon:"icon/10001098.png",audio:[]},{id:10001099,scope:"ui",width:252,height:252,loop:!1,duration:1.6,name:"\u88C5\u9970\u6548\u679C19",nameEn:"Decoration Effect 19",video:"video/10001099.webm",icon:"icon/10001099.png",audio:[]},{id:10001100,scope:"ui",width:252,height:252,loop:!1,duration:1.6,name:"\u88C5\u9970\u6548\u679C20",nameEn:"Decoration Effect 20",video:"video/10001100.webm",icon:"icon/10001100.png",audio:[]},{id:10001101,scope:"ui",width:252,height:252,loop:!1,duration:1.6,name:"\u88C5\u9970\u6548\u679C21",nameEn:"Decoration Effect 21",video:"video/10001101.webm",icon:"icon/10001101.png",audio:[]},{id:10001102,scope:"ui",width:260,height:260,loop:!1,duration:1.133,name:"\u9AD8\u4EAE\u6548\u679C8",nameEn:"Highlight Effect 8",video:"video/10001102.webm",icon:"icon/10001102.png",audio:[]},{id:10001103,scope:"ui",width:260,height:260,loop:!1,duration:1.166,name:"\u9AD8\u4EAE\u6548\u679C9",nameEn:"Highlight Effect 9",video:"video/10001103.webm",icon:"icon/10001103.png",audio:[]},{id:10001104,scope:"ui",width:322,height:344,loop:!1,duration:1.133,name:"\u9AD8\u4EAE\u6548\u679C10",nameEn:"Highlight Effect 10",video:"video/10001104.webm",icon:"icon/10001104.png",audio:[]},{id:10001105,scope:"ui",width:380,height:394,loop:!1,duration:1.133,name:"\u9AD8\u4EAE\u6548\u679C11",nameEn:"Highlight Effect 11",video:"video/10001105.webm",icon:"icon/10001105.png",audio:[]},{id:10001106,scope:"ui",width:176,height:140,loop:!0,duration:10,name:"\u6C1B\u56F4\u6548\u679C3",nameEn:"Ambience Effect 3",video:"video/10001106.webm",icon:"icon/10001106.png",audio:[]},{id:10001107,scope:"ui",width:136,height:136,loop:!1,duration:.8,name:"\u95EA\u70C1\u6548\u679C17",nameEn:"Blink Effect 17",video:"video/10001107.webm",icon:"icon/10001107.png",audio:["audio/10001107.mp3"]},{id:10001108,scope:"ui",width:206,height:212,loop:!1,duration:1.7,name:"\u95EA\u70C1\u6548\u679C18",nameEn:"Blink Effect 18",video:"video/10001108.webm",icon:"icon/10001108.png",audio:["audio/10001108.mp3"]},{id:10001109,scope:"ui",width:182,height:182,loop:!1,duration:1.666,name:"\u95EA\u70C1\u6548\u679C19",nameEn:"Blink Effect 19",video:"video/10001109.webm",icon:"icon/10001109.png",audio:[]},{id:10001110,scope:"ui",width:650,height:306,loop:!1,duration:1.533,name:"\u95EA\u70C1\u6548\u679C20",nameEn:"Blink Effect 20",video:"video/10001110.webm",icon:"icon/10001110.png",audio:["audio/10001110.mp3"]},{id:10001111,scope:"ui",width:742,height:494,loop:!1,duration:.9,name:"\u95EA\u70C1\u6548\u679C21",nameEn:"Blink Effect 21",video:"video/10001111.webm",icon:"icon/10001111.png",audio:["audio/10001111.mp3"]},{id:10001112,scope:"ui",width:872,height:462,loop:!1,duration:.9,name:"\u95EA\u70C1\u6548\u679C22",nameEn:"Blink Effect 22",video:"video/10001112.webm",icon:"icon/10001112.png",audio:["audio/10001112.mp3"]},{id:10001113,scope:"ui",width:182,height:182,loop:!1,duration:1.166,name:"\u95EA\u70C1\u6548\u679C23",nameEn:"Blink Effect 23",video:"video/10001113.webm",icon:"icon/10001113.png",audio:[]},{id:10001114,scope:"ui",width:116,height:228,loop:!0,duration:10,name:"\u8FDB\u5EA6\u7D2F\u79EF1",nameEn:"Progress Accumulation 1",video:"video/10001114.webm",icon:"icon/10001114.png",audio:[]},{id:10001115,scope:"ui",width:520,height:676,loop:!1,duration:1.133,name:"\u8FDB\u5EA6\u7D2F\u79EF2",nameEn:"Progress Accumulation 2",video:"video/10001115.webm",icon:"icon/10001115.png",audio:[]},{id:10001116,scope:"ui",width:88,height:88,loop:!0,duration:10,name:"\u8FDB\u5EA6\u7D2F\u79EF3",nameEn:"Progress Accumulation 3",video:"video/10001116.webm",icon:"icon/10001116.png",audio:[]},{id:10001117,scope:"ui",width:166,height:278,loop:!1,duration:1.466,name:"\u95EA\u70C1\u6548\u679C24",nameEn:"Blink Effect 24",video:"video/10001117.webm",icon:"icon/10001117.png",audio:[]},{id:10001118,scope:"ui",width:106,height:106,loop:!0,duration:10,name:"\u95EA\u70C1\u6548\u679C25",nameEn:"Blink Effect 25",video:"video/10001118.webm",icon:"icon/10001118.png",audio:[]},{id:10001119,scope:"ui",width:118,height:118,loop:!0,duration:10,name:"\u95EA\u70C1\u6548\u679C26",nameEn:"Blink Effect 26",video:"video/10001119.webm",icon:"icon/10001119.png",audio:[]},{id:10001120,scope:"ui",width:130,height:118,loop:!1,duration:1.566,name:"\u95EA\u70C1\u6548\u679C27",nameEn:"Blink Effect 27",video:"video/10001120.webm",icon:"icon/10001120.png",audio:["audio/10001120.mp3","audio/10001120_02.mp3","audio/10001120_03.mp3","audio/10001120_04.mp3","audio/10001120_05.mp3","audio/10001120_06.mp3","audio/10001120_07.mp3","audio/10001120_08.mp3","audio/10001120_09.mp3","audio/10001120_10.mp3","audio/10001120_11.mp3"]},{id:10001121,scope:"ui",width:376,height:400,loop:!1,duration:1.333,name:"\u95EA\u70C1\u6548\u679C28",nameEn:"Blink Effect 28",video:"video/10001121.webm",icon:"icon/10001121.png",audio:[]},{id:10001122,scope:"ui",width:986,height:706,loop:!1,duration:2.6,name:"\u95EA\u70C1\u6548\u679C29",nameEn:"Blink Effect 29",video:"video/10001122.webm",icon:"icon/10001122.png",audio:[]},{id:10001124,scope:"ui",width:2334,height:2714,loop:!1,duration:1.4,name:"\u7ED3\u7B97\u6548\u679C1",nameEn:"Settlement Effect 1",video:"video/10001124.webm",icon:"icon/10001124.png",audio:[]},{id:10001125,scope:"ui",width:2214,height:2270,loop:!1,duration:1.233,name:"\u7ED3\u7B97\u6548\u679C2",nameEn:"Settlement Effect 2",video:"video/10001125.webm",icon:"icon/10001125.png",audio:[]},{id:10001126,scope:"ui",width:2574,height:1178,loop:!1,duration:3.133,name:"\u7ED3\u7B97\u6548\u679C3",nameEn:"Settlement Effect 3",video:"video/10001126.webm",icon:"icon/10001126.png",audio:[]},{id:10001127,scope:"ui",width:1918,height:1138,loop:!1,duration:3.066,name:"\u7ED3\u7B97\u6548\u679C4",nameEn:"Settlement Effect 4",video:"video/10001127.webm",icon:"icon/10001127.png",audio:[]},{id:10001128,scope:"ui",width:548,height:212,loop:!1,duration:1.966,name:"\u95EA\u70C1\u6548\u679C30",nameEn:"Blink Effect 30",video:"video/10001128.webm",icon:"icon/10001128.png",audio:[]},{id:10001129,scope:"ui",width:638,height:520,loop:!1,duration:1.133,name:"\u95EA\u70C1\u6548\u679C31",nameEn:"Blink Effect 31",video:"video/10001129.webm",icon:"icon/10001129.png",audio:["audio/10001129.mp3"]},{id:10001130,scope:"ui",width:284,height:142,loop:!1,duration:1.2,name:"\u95EA\u70C1\u6548\u679C32",nameEn:"Blink Effect 32",video:"video/10001130.webm",icon:"icon/10001130.png",audio:[]},{id:10001131,scope:"ui",width:790,height:790,loop:!0,duration:10,name:"\u95EA\u70C1\u6548\u679C33",nameEn:"Blink Effect 33",video:"video/10001131.webm",icon:"icon/10001131.png",audio:["audio/10001131.mp3"]},{id:10001132,scope:"ui",width:1020,height:264,loop:!0,duration:10,name:"\u95EA\u70C1\u6548\u679C34",nameEn:"Blink Effect 34",video:"video/10001132.webm",icon:"icon/10001132.png",audio:[]},{id:10001133,scope:"ui",width:1348,height:358,loop:!1,duration:1.5,name:"\u7ED3\u7B97\u6548\u679C5",nameEn:"Settlement Effect 5",video:"video/10001133.webm",icon:"icon/10001133.png",audio:[]},{id:10001134,scope:"ui",width:1116,height:290,loop:!1,duration:2,name:"\u95EA\u70C1\u6548\u679C35",nameEn:"Blink Effect 35",video:"video/10001134.webm",icon:"icon/10001134.png",audio:["audio/10001134.mp3"]},{id:10001135,scope:"ui",width:1116,height:290,loop:!1,duration:2,name:"\u95EA\u70C1\u6548\u679C36",nameEn:"Blink Effect 36",video:"video/10001135.webm",icon:"icon/10001135.png",audio:["audio/10001135.mp3"]},{id:10001136,scope:"ui",width:1520,height:296,loop:!1,duration:1.466,name:"\u95EA\u70C1\u6548\u679C37",nameEn:"Blink Effect 37",video:"video/10001136.webm",icon:"icon/10001136.png",audio:[]},{id:10001137,scope:"ui",width:2266,height:706,loop:!1,duration:2.066,name:"\u95EA\u70C1\u6548\u679C38",nameEn:"Blink Effect 38",video:"video/10001137.webm",icon:"icon/10001137.png",audio:[]},{id:10001138,scope:"ui",width:912,height:192,loop:!1,duration:2.033,name:"\u95EA\u70C1\u6548\u679C39",nameEn:"Blink Effect 39",video:"video/10001138.webm",icon:"icon/10001138.png",audio:[]},{id:10001139,scope:"ui",width:912,height:192,loop:!1,duration:2.033,name:"\u95EA\u70C1\u6548\u679C40",nameEn:"Blink Effect 40",video:"video/10001139.webm",icon:"icon/10001139.png",audio:[]},{id:10001140,scope:"ui",width:912,height:174,loop:!1,duration:2.033,name:"\u95EA\u70C1\u6548\u679C41",nameEn:"Blink Effect 41",video:"video/10001140.webm",icon:"icon/10001140.png",audio:[]},{id:10001141,scope:"ui",width:912,height:102,loop:!1,duration:2.033,name:"\u95EA\u70C1\u6548\u679C42",nameEn:"Blink Effect 42",video:"video/10001141.webm",icon:"icon/10001141.png",audio:[]},{id:10001142,scope:"ui",width:1766,height:1542,loop:!1,duration:3.8,name:"\u95EA\u70C1\u6548\u679C43",nameEn:"Blink Effect 43",video:"video/10001142.webm",icon:"icon/10001142.png",audio:[]},{id:10001143,scope:"ui",width:1312,height:168,loop:!1,duration:1.066,name:"\u95EA\u70C1\u6548\u679C44",nameEn:"Blink Effect 44",video:"video/10001143.webm",icon:"icon/10001143.png",audio:["audio/10001143.mp3","audio/10001143_02.mp3"]},{id:10001144,scope:"ui",width:698,height:82,loop:!1,duration:2.233,name:"\u95EA\u70C1\u6548\u679C45",nameEn:"Blink Effect 45",video:"video/10001144.webm",icon:"icon/10001144.png",audio:[]},{id:10001145,scope:"ui",width:698,height:92,loop:!1,duration:2.266,name:"\u95EA\u70C1\u6548\u679C46",nameEn:"Blink Effect 46",video:"video/10001145.webm",icon:"icon/10001145.png",audio:[]},{id:10001146,scope:"ui",width:698,height:92,loop:!1,duration:2.266,name:"\u95EA\u70C1\u6548\u679C47",nameEn:"Blink Effect 47",video:"video/10001146.webm",icon:"icon/10001146.png",audio:[]},{id:10001147,scope:"ui",width:306,height:54,loop:!0,duration:10,name:"\u8FDB\u5EA6\u7D2F\u79EF4",nameEn:"Progress Accumulation 4",video:"video/10001147.webm",icon:"icon/10001147.png",audio:[]},{id:10001148,scope:"ui",width:934,height:194,loop:!1,duration:1.233,name:"\u8FDB\u5EA6\u7D2F\u79EF5",nameEn:"Progress Accumulation 5",video:"video/10001148.webm",icon:"icon/10001148.png",audio:[]},{id:10001149,scope:"ui",width:616,height:248,loop:!0,duration:10,name:"\u95EA\u70C1\u6548\u679C48",nameEn:"Blink Effect 48",video:"video/10001149.webm",icon:"icon/10001149.png",audio:[]},{id:10001150,scope:"ui",width:746,height:228,loop:!1,duration:1.366,name:"\u95EA\u70C1\u6548\u679C49",nameEn:"Blink Effect 49",video:"video/10001150.webm",icon:"icon/10001150.png",audio:[]},{id:10001151,scope:"ui",width:606,height:210,loop:!1,duration:1.233,name:"\u95EA\u70C1\u6548\u679C50",nameEn:"Blink Effect 50",video:"video/10001151.webm",icon:"icon/10001151.png",audio:[]},{id:10001152,scope:"ui",width:1674,height:346,loop:!0,duration:10,name:"\u8FDB\u5EA6\u7D2F\u79EF6",nameEn:"Progress Accumulation 6",video:"video/10001152.webm",icon:"icon/10001152.png",audio:[]},{id:10001153,scope:"ui",width:1110,height:400,loop:!1,duration:1.2,name:"\u95EA\u70C1\u6548\u679C51",nameEn:"Blink Effect 51",video:"video/10001153.webm",icon:"icon/10001153.png",audio:["audio/10001153.mp3","audio/10001153_02.mp3"]},{id:10001154,scope:"ui",width:1178,height:506,loop:!0,duration:10,name:"\u8FDB\u5EA6\u7D2F\u79EF7",nameEn:"Progress Accumulation 7",video:"video/10001154.webm",icon:"icon/10001154.png",audio:[]},{id:10001155,scope:"ui",width:1254,height:200,loop:!1,duration:1.2,name:"\u8FDB\u5EA6\u7D2F\u79EF8",nameEn:"Progress Accumulation 8",video:"video/10001155.webm",icon:"icon/10001155.png",audio:["audio/10001155.mp3"]},{id:10001156,scope:"ui",width:1180,height:202,loop:!1,duration:1.2,name:"\u8FDB\u5EA6\u7D2F\u79EF9",nameEn:"Progress Accumulation 9",video:"video/10001156.webm",icon:"icon/10001156.png",audio:["audio/10001156.mp3"]},{id:10001157,scope:"ui",width:654,height:118,loop:!0,duration:10,name:"\u8FDB\u5EA6\u7D2F\u79EF10",nameEn:"Progress Accumulation 10",video:"video/10001157.webm",icon:"icon/10001157.png",audio:[]},{id:10001158,scope:"ui",width:962,height:162,loop:!0,duration:10,name:"\u8FDB\u5EA6\u7D2F\u79EF11",nameEn:"Progress Accumulation 11",video:"video/10001158.webm",icon:"icon/10001158.png",audio:[]},{id:10001159,scope:"ui",width:1016,height:142,loop:!0,duration:10,name:"\u8FDB\u5EA6\u7D2F\u79EF12",nameEn:"Progress Accumulation 12",video:"video/10001159.webm",icon:"icon/10001159.png",audio:[]},{id:10001160,scope:"ui",width:790,height:210,loop:!1,duration:1,name:"\u8FDB\u5EA6\u7D2F\u79EF13",nameEn:"Progress Accumulation 13",video:"video/10001160.webm",icon:"icon/10001160.png",audio:[]},{id:10002001,scope:"screen",width:1280,height:720,loop:!0,duration:10,name:"\u89C6\u91CE\u6C1B\u56F41",nameEn:"View Ambience 1",video:"video/10002001.webm",icon:"icon/10002001.png",audio:["audio/10002001.mp3"]},{id:10002002,scope:"screen",width:1280,height:720,loop:!0,duration:10,name:"\u89C6\u91CE\u6C1B\u56F42",nameEn:"View Ambience 2",video:"video/10002002.webm",icon:"icon/10002002.png",audio:[]},{id:10002003,scope:"screen",width:1280,height:720,loop:!0,duration:10,name:"\u89C6\u91CE\u6C1B\u56F43",nameEn:"View Ambience 3",video:"video/10002003.webm",icon:"icon/10002003.png",audio:[]},{id:10002004,scope:"screen",width:1280,height:720,loop:!0,duration:10,name:"\u89C6\u91CE\u6C1B\u56F44",nameEn:"View Ambience 4",video:"video/10002004.webm",icon:"icon/10002004.png",audio:[]},{id:10002005,scope:"screen",width:1280,height:720,loop:!0,duration:10,name:"\u89C6\u91CE\u6C1B\u56F45",nameEn:"View Ambience 5",video:"video/10002005.webm",icon:"icon/10002005.png",audio:[]},{id:10002006,scope:"screen",width:1280,height:720,loop:!1,duration:1.9,name:"\u89C6\u91CE\u6C1B\u56F46",nameEn:"View Ambience 6",video:"video/10002006.webm",icon:"icon/10002006.png",audio:[]},{id:10002007,scope:"screen",width:1280,height:720,loop:!1,duration:2.4,name:"\u89C6\u91CE\u6C1B\u56F47",nameEn:"View Ambience 7",video:"video/10002007.webm",icon:"icon/10002007.png",audio:[]},{id:10002008,scope:"screen",width:1280,height:720,loop:!1,duration:3.433,name:"\u89C6\u91CE\u6C1B\u56F48",nameEn:"View Ambience 8",video:"video/10002008.webm",icon:"icon/10002008.png",audio:["audio/10002008.mp3"]},{id:10002009,scope:"screen",width:1280,height:720,loop:!0,duration:10,name:"\u89C6\u91CE\u6C1B\u56F49",nameEn:"View Ambience 9",video:"video/10002009.webm",icon:"icon/10002009.png",audio:["audio/10002009.mp3"]},{id:10002010,scope:"screen",width:1280,height:720,loop:!1,duration:2.5,name:"\u89C6\u91CE\u6C1B\u56F410",nameEn:"View Ambience 10",video:"video/10002010.webm",icon:"icon/10002010.png",audio:[]},{id:10002011,scope:"screen",width:1280,height:720,loop:!1,duration:1.8,name:"\u89C6\u91CE\u6C1B\u56F411",nameEn:"View Ambience 11",video:"video/10002011.webm",icon:"icon/10002011.png",audio:[]},{id:10002012,scope:"screen",width:1280,height:720,loop:!1,duration:2.933,name:"\u89C6\u91CE\u6C1B\u56F412",nameEn:"View Ambience 12",video:"video/10002012.webm",icon:"icon/10002012.png",audio:[]},{id:10002013,scope:"screen",width:1280,height:720,loop:!1,duration:3.9,name:"\u89C6\u91CE\u6C1B\u56F413",nameEn:"View Ambience 13",video:"video/10002013.webm",icon:"icon/10002013.png",audio:[]},{id:10002014,scope:"screen",width:1280,height:720,loop:!0,duration:10,name:"\u89C6\u91CE\u6C1B\u56F414",nameEn:"View Ambience 14",video:"video/10002014.webm",icon:"icon/10002014.png",audio:[]},{id:10002015,scope:"screen",width:1280,height:720,loop:!0,duration:10,name:"\u89C6\u91CE\u6C1B\u56F415",nameEn:"View Ambience 15",video:"video/10002015.webm",icon:"icon/10002015.png",audio:["audio/10002015.mp3"]},{id:10002016,scope:"screen",width:1280,height:720,loop:!1,duration:2.5,name:"\u89C6\u91CE\u6C1B\u56F416",nameEn:"View Ambience 16",video:"video/10002016.webm",icon:"icon/10002016.png",audio:[]},{id:10002017,scope:"screen",width:1280,height:720,loop:!1,duration:.733,name:"\u89C6\u91CE\u6C1B\u56F417",nameEn:"View Ambience 17",video:"video/10002017.webm",icon:"icon/10002017.png",audio:[]},{id:10002018,scope:"screen",width:1280,height:720,loop:!0,duration:10,name:"\u89C6\u91CE\u6C1B\u56F418",nameEn:"View Ambience 18",video:"video/10002018.webm",icon:"icon/10002018.png",audio:[]},{id:10002019,scope:"screen",width:1280,height:720,loop:!1,duration:2.2,name:"\u89C6\u91CE\u6C1B\u56F419",nameEn:"View Ambience 19",video:"video/10002019.webm",icon:"icon/10002019.png",audio:[]},{id:10002020,scope:"screen",width:1280,height:720,loop:!0,duration:10,name:"\u89C6\u91CE\u6C1B\u56F420",nameEn:"View Ambience 20",video:"video/10002020.webm",icon:"icon/10002020.png",audio:[]},{id:10002021,scope:"screen",width:1280,height:720,loop:!0,duration:10,name:"\u89C6\u91CE\u6C1B\u56F421",nameEn:"View Ambience 21",video:"video/10002021.webm",icon:"icon/10002021.png",audio:[]},{id:10002022,scope:"screen",width:1280,height:720,loop:!0,duration:10,name:"\u89C6\u91CE\u6C1B\u56F422",nameEn:"View Ambience 22",video:"video/10002022.webm",icon:"icon/10002022.png",audio:[]},{id:10002023,scope:"screen",width:1280,height:720,loop:!0,duration:10,name:"\u89C6\u91CE\u6C1B\u56F423",nameEn:"View Ambience 23",video:"video/10002023.webm",icon:"icon/10002023.png",audio:[]},{id:10002024,scope:"screen",width:1280,height:720,loop:!1,duration:3.4,name:"\u89C6\u91CE\u6C1B\u56F424",nameEn:"View Ambience 24",video:"video/10002024.webm",icon:"icon/10002024.png",audio:[]},{id:10002025,scope:"screen",width:1280,height:720,loop:!0,duration:10,name:"\u89C6\u91CE\u6C1B\u56F425",nameEn:"View Ambience 25",video:"video/10002025.webm",icon:"icon/10002025.png",audio:[]},{id:10002026,scope:"screen",width:1280,height:720,loop:!0,duration:10,name:"\u89C6\u91CE\u6C1B\u56F426",nameEn:"View Ambience 26",video:"video/10002026.webm",icon:"icon/10002026.png",audio:["audio/10002026.mp3"]},{id:10002027,scope:"screen",width:1280,height:720,loop:!0,duration:10,name:"\u89C6\u91CE\u6C1B\u56F427",nameEn:"View Ambience 27",video:"video/10002027.webm",icon:"icon/10002027.png",audio:[]},{id:10002028,scope:"screen",width:1280,height:720,loop:!0,duration:10,name:"\u89C6\u91CE\u6C1B\u56F428",nameEn:"View Ambience 28",video:"video/10002028.webm",icon:"icon/10002028.png",audio:[]},{id:10002029,scope:"screen",width:1280,height:720,loop:!0,duration:10,name:"\u89C6\u91CE\u6C1B\u56F429",nameEn:"View Ambience 29",video:"video/10002029.webm",icon:"icon/10002029.png",audio:[]},{id:10002030,scope:"screen",width:1280,height:720,loop:!1,duration:1.966,name:"\u89C6\u91CE\u6C1B\u56F430",nameEn:"View Ambience 30",video:"video/10002030.webm",icon:"icon/10002030.png",audio:[]},{id:10002031,scope:"screen",width:1280,height:720,loop:!1,duration:1.166,name:"\u89C6\u91CE\u6C1B\u56F431",nameEn:"View Ambience 31",video:"video/10002031.webm",icon:"icon/10002031.png",audio:["audio/10002031.mp3","audio/10002031_02.mp3","audio/10002031_03.mp3","audio/10002031_04.mp3"]},{id:10002032,scope:"screen",width:1280,height:720,loop:!0,duration:10,name:"\u89C6\u91CE\u6C1B\u56F432",nameEn:"View Ambience 32",video:"video/10002032.webm",icon:"icon/10002032.png",audio:["audio/10002032.mp3"]},{id:10002033,scope:"screen",width:1280,height:720,loop:!1,duration:2,name:"\u89C6\u91CE\u6C1B\u56F433",nameEn:"View Ambience 33",video:"video/10002033.webm",icon:"icon/10002033.png",audio:["audio/10002033.mp3","audio/10002033_02.mp3"]},{id:10002034,scope:"screen",width:1280,height:720,loop:!0,duration:10,name:"\u89C6\u91CE\u6C1B\u56F434",nameEn:"View Ambience 34",video:"video/10002034.webm",icon:"icon/10002034.png",audio:[]},{id:10002035,scope:"screen",width:1280,height:720,loop:!0,duration:10,name:"\u89C6\u91CE\u6C1B\u56F435",nameEn:"View Ambience 35",video:"video/10002035.webm",icon:"icon/10002035.png",audio:["audio/10002035.mp3"]},{id:10002036,scope:"screen",width:1280,height:720,loop:!0,duration:10,name:"\u7784\u51C6\u6548\u679C1",nameEn:"Aiming Effect 1",video:"video/10002036.webm",icon:"icon/10002036.png",audio:[]},{id:10002037,scope:"screen",width:1280,height:720,loop:!0,duration:10,name:"\u7784\u51C6\u6548\u679C2",nameEn:"Aiming Effect 2",video:"video/10002037.webm",icon:"icon/10002037.png",audio:["audio/10002037.mp3"]}],files:{"audio/10001017.mp3":{bytes:6524,sha256:"82470dfef398dab45fb3d50134da7b49573e7189f683d2bdf0849b478f267c79",duration:.850667},"audio/10001032.mp3":{bytes:27907,sha256:"53ca71dde10d2d7b6fbf7232d2461f48e564c2d847cbb29f9aac685114634dff",duration:1.258231},"audio/10001040.mp3":{bytes:24212,sha256:"faf6a45ba3d02a6d86ba43f8fe8bf7dbadd22997f0e16ed22b990b0eeaac05c2",duration:1.202104},"audio/10001043.mp3":{bytes:15068,sha256:"ffe52807864f795fd7f8e5e235fca49537437d70a34db83d66352063fe538a52",duration:.570563},"audio/10001043_02.mp3":{bytes:12812,sha256:"b8c194027b798e504f51ae73b67ae63e0d56904ebc95d458b0065d995fa2ed58",duration:.501813},"audio/10001057.mp3":{bytes:28220,sha256:"df501138ff9ae6a43fc8b434c09a401093a5598e9366136e7071e1c57baeb238",duration:1.613042},"audio/10001059.mp3":{bytes:29516,sha256:"2d80dbec2dde2348c3c9dcf95598a79bd851aa8329c5ed68e33d40a532ee491c",duration:1.4855},"audio/10001107.mp3":{bytes:27174,sha256:"eedee79d5e4cb0282bba21e5b12a24170a07354f3285d3f50cd47e24ead5149b",duration:1.383039},"audio/10001108.mp3":{bytes:27174,sha256:"eedee79d5e4cb0282bba21e5b12a24170a07354f3285d3f50cd47e24ead5149b",duration:1.383039},"audio/10001110.mp3":{bytes:12164,sha256:"de0f6db4c8942741fa82168431e31f8b54d68260bf412266ef707506ff6f10c3",duration:.448},"audio/10001111.mp3":{bytes:12164,sha256:"de0f6db4c8942741fa82168431e31f8b54d68260bf412266ef707506ff6f10c3",duration:.448},"audio/10001112.mp3":{bytes:12164,sha256:"de0f6db4c8942741fa82168431e31f8b54d68260bf412266ef707506ff6f10c3",duration:.448},"audio/10001120.mp3":{bytes:19556,sha256:"2f7a402979dc442b4214e46d79b2dd1b7925c96c0eaebbbf0555fe3f5bb3a529",duration:1.5},"audio/10001120_02.mp3":{bytes:19772,sha256:"f1c0f5e4b3f8a550d058f14a35340f4cbf56de86b4c409dd13b1125d682e09d6",duration:1.5},"audio/10001120_03.mp3":{bytes:18572,sha256:"630975e0a80512e788648adadc6b2d96c526a6125e13ffffde83e65cf000aa5e",duration:1.5},"audio/10001120_04.mp3":{bytes:21212,sha256:"00da41febe7cf8a8491117ef820c42aa79c65172769b4a12705666e9d7f2b636",duration:1.5},"audio/10001120_05.mp3":{bytes:19220,sha256:"5d85fe103ecc1868eefc679ff676996c329e61881640ac743409899d34fc5b6b",duration:1.5},"audio/10001120_06.mp3":{bytes:24596,sha256:"ce03626d5f0a7ccaf4a6cec7bce8ed915f61d6ec57b3cd532cbfc89da5bdcc3e",duration:1.5},"audio/10001120_07.mp3":{bytes:22316,sha256:"4dadba002982494e40772cccfedce6f6405fb4abc1e81f2206c4c2e0ac2645b5",duration:1.5},"audio/10001120_08.mp3":{bytes:21548,sha256:"309625fddc0d645da062ff788100a656bd83c4ce8cb75d523ed1949387e8252e",duration:1.5},"audio/10001120_09.mp3":{bytes:23060,sha256:"2eaf460f61ae85e8e2a4c324ebb9c4bc4f460fd2489a15943b92d2fa4422d3b6",duration:1.5},"audio/10001120_10.mp3":{bytes:18668,sha256:"6242a47c96c9ce87cb00a6f2288e8209b9ef5e3dc7ecb62bdadbf8672df95714",duration:1.5},"audio/10001120_11.mp3":{bytes:21188,sha256:"880383e307f7fe7210c05c37fc04a0ac8e3c909d500215f72c7228b9c2e660a6",duration:1.5},"audio/10001129.mp3":{bytes:45188,sha256:"07198b0853f2a859c6ccb85ec4ad1e56c6131302f5145f50d39fd98efe7e5387",duration:2.130667},"audio/10001131.mp3":{bytes:45188,sha256:"07198b0853f2a859c6ccb85ec4ad1e56c6131302f5145f50d39fd98efe7e5387",duration:2.130667},"audio/10001134.mp3":{bytes:45908,sha256:"ff64e15c3144791ad9073ee4537eb21ec7cf1d41dd205b0ef051a8263784793f",duration:2.518667},"audio/10001135.mp3":{bytes:49940,sha256:"edf39fa868e9e42da6fe38c8f726bf4162c950543efdfdefb1f85d3dfaa4d72b",duration:2.758667},"audio/10001143.mp3":{bytes:20156,sha256:"740c276f344b457077bc48f627304d15bbd879d06b3d6b6108673f07d2ec0dc5",duration:.841333},"audio/10001143_02.mp3":{bytes:36524,sha256:"b70b6326344739a781ef5ba96103b349d37052102a29cf2d5cddd2517cd13dff",duration:2.298604},"audio/10001153.mp3":{bytes:20372,sha256:"5c7d6a7ee0d3fff9352071a17979c9941ab1e5322e9b5a94692077f932c71ecf",duration:1.074208},"audio/10001153_02.mp3":{bytes:21140,sha256:"34e4852a0e1bcfd46c8820d9d61a1ef5288ba2795decc8829d1cf1c4b04d1b3a",duration:1.074208},"audio/10001155.mp3":{bytes:32132,sha256:"e1b38d6f72b3b7124da2c8a6417484053e1dd2833507d03cea32175d3d8e486c",duration:1.361167},"audio/10001156.mp3":{bytes:17468,sha256:"b945a4cc1ef374343806f677e1e2ab461c452a4eed6992151575791ccae7e9b2",duration:.808958},"audio/10002001.mp3":{bytes:126284,sha256:"9bedc3f73a10d1b4205d53c2c11b22ad1fc54375a430be0f64e2e5a7ed68b35d",duration:6.018875},"audio/10002008.mp3":{bytes:58316,sha256:"e24d9e46941a40c27b0adbc06927f245cb4826445142d3d4d1ca5d4e7a6889b7",duration:2.57125},"audio/10002009.mp3":{bytes:57932,sha256:"abea73a14c14dc143ed4b1244eba7257bf38119edb13923504c00ee11f51deb1",duration:2.5},"audio/10002015.mp3":{bytes:57932,sha256:"abea73a14c14dc143ed4b1244eba7257bf38119edb13923504c00ee11f51deb1",duration:2.5},"audio/10002026.mp3":{bytes:38137,sha256:"3ce1a1df88494fb7179a6df74a9f30f14e185e16060d84daff586c2992f06c1d",duration:1.994603},"audio/10002031.mp3":{bytes:6932,sha256:"81439fcff710fdd6ce4541ddf76edc30f119c44fbf7e6d39df2c6349ffe4a347",duration:.301333},"audio/10002031_02.mp3":{bytes:5420,sha256:"f9ad4c41d670a010fb7e8acc6227e0ea8dc73dc1504972190aa513fdc0257d05",duration:.296104},"audio/10002031_03.mp3":{bytes:8012,sha256:"40c44c0ea861bd86e1bbedda8bf48dbe5c4d0b3a22f493cc2d9dfab43544d9e5",duration:.296104},"audio/10002031_04.mp3":{bytes:5948,sha256:"69c8ab1fc17a47a696e1e65d2a87613ae98377712d09a4d18cfbdf6cb06defae",duration:.296104},"audio/10002032.mp3":{bytes:111082,sha256:"0f17b84ae322621d29af50d88c3ee8d66677926429ae818579eba240e5f07a52",duration:4.90771},"audio/10002033.mp3":{bytes:59847,sha256:"0476fabf3f0d6d000758a82e467a1ff0e363d0efa3e873b60eb2d4194372aa24",duration:2.949274},"audio/10002033_02.mp3":{bytes:60791,sha256:"9f6eac53ec1f8dd02be7a532ee51ddbfc2c1f34c935616194e2c92e8ea8794bd",duration:2.928254},"audio/10002035.mp3":{bytes:93092,sha256:"360a57a535ffe34d8fdd3ef652512dac3cb46c1155791ea5992b3fd5cfde3a0c",duration:4.26},"audio/10002037.mp3":{bytes:50252,sha256:"508a7cadf5dec9f94a41570aa5d0dae7b7ee2fef4bbf42e96b7a8b46da21e51d",duration:2.246667},"icon/10001001.png":{bytes:23905,sha256:"fe51bb11c58eef524f2f6683663a58f69c4272de1d027797ccf1b283b5fcc583"},"icon/10001002.png":{bytes:22166,sha256:"36936f7678f5c5cb0a3a014a76eb9c6bdd5a9f23e72dfbef6d9523523cf9be48"},"icon/10001003.png":{bytes:22959,sha256:"77e1ca70f67b68c3a2ff8951017a95c54af43a02d37f025c4b39e299a0389820"},"icon/10001004.png":{bytes:24182,sha256:"127a9be79e7a0460bbba6f4390b83cf0137a1f50995fd4ddfdf071d0ce9aec5c"},"icon/10001005.png":{bytes:24501,sha256:"78dfe771d99b5002ef7ba93d6b2705aabf28fc8ad362becccd986de62da8b9ee"},"icon/10001006.png":{bytes:23058,sha256:"0bd296f4d2ec3fb3a46f6cbaaeaa959de21e5e94927317cc1c00f3eb767a8ab4"},"icon/10001007.png":{bytes:24384,sha256:"0d858dd1574291ff8365a64381eb7c2244e2f3ee054b89c4291d295af23cb565"},"icon/10001008.png":{bytes:25339,sha256:"60fb9e6b7b0765eb6559360a501220628f73995f20cf32bf600556ed55baebed"},"icon/10001009.png":{bytes:25470,sha256:"6eedb42ef97b243de8b3c7ce7d4ff06ecda408e333c1b67bfb0c3252ba2b71fc"},"icon/10001010.png":{bytes:17067,sha256:"3067643b0330ec446e15ff4b50eadc5c9d75597fac5b7ead544cf9f74c27c8f3"},"icon/10001011.png":{bytes:20283,sha256:"693c10ff57c4f729c5bc4bbc64aa15a7ee9ed1666ad08af11a6bf976e3608ab6"},"icon/10001012.png":{bytes:17900,sha256:"eeb4aa0a6a2e7d52983207ae143660f4cb50c1b529f7c42817112f760ef07520"},"icon/10001013.png":{bytes:20986,sha256:"273f7d86fb8e209bbd2dc06ceb3679c7f8d5d78f57fc3690bfbf83dd48a5fb4c"},"icon/10001014.png":{bytes:19083,sha256:"966cdcbd74d3e990262f5fdf1cc58704f67ca4a2ea5cd36d0118c0be2f312e0c"},"icon/10001015.png":{bytes:19533,sha256:"da2debca11cfa90e1868b966aa19f426664b968d0523ed458bc23e6a26601272"},"icon/10001016.png":{bytes:20596,sha256:"9a584e1393532cc8649512c31319bfa901fc73d557e01c3cd3c77ec80b8a6225"},"icon/10001017.png":{bytes:15766,sha256:"b2588c21a03d6c7795398e2240e527bbdd4e3f718f806f3906930bd68a4c8b85"},"icon/10001018.png":{bytes:18168,sha256:"5e9938443c22663db8434fc568362ae4d3de48cb1b6c411e703aeac07e3b5c4c"},"icon/10001019.png":{bytes:21447,sha256:"7625187d1c358b23e8ff7c38a9a4c6a9952bb0d7f9d4b6cf1256f1a0493df72f"},"icon/10001020.png":{bytes:24125,sha256:"2c07a35ade6a3d73b08d24b76153eedb6de41f1298e840dd5faee04bbf8fbcb0"},"icon/10001021.png":{bytes:19226,sha256:"06046a9387fd8ead3fbe4002c9cafbaa4189852bd683ef3b627133324fc578e9"},"icon/10001022.png":{bytes:19063,sha256:"30406afc29728bd50b1cd1704307effdca73a86db5d3b97a7fd1b2ba936e383a"},"icon/10001023.png":{bytes:19749,sha256:"29ed71483317b6d1f7fdcc4556731ca19a3828158bd70710eaaac5f7512b7aa1"},"icon/10001024.png":{bytes:7178,sha256:"1459dc8c6bba8f391e63d40dc410b0a94ba1ea346a2cc19b8fcee940010a3bd6"},"icon/10001025.png":{bytes:5758,sha256:"7fd586d94c22c9a6c4ad0248974b21d4f29b2a7e2c8c04cecf607f860bd4dd74"},"icon/10001026.png":{bytes:6248,sha256:"1829dd3720c0df86849f78fc5fb532e8412a5302bae20cd4571376c9ae06f43d"},"icon/10001027.png":{bytes:5454,sha256:"fed706b5943134d4fdb776ec35f479bf792a0b4603e23b2030e7893a3159ecd8"},"icon/10001028.png":{bytes:5275,sha256:"f0f01e125afd58d2a7cc6f850e1a69edb8e47d31a424eed21431b0b4f0e34bdd"},"icon/10001029.png":{bytes:6492,sha256:"592c905f1b364684d1004bc17739d1dd563e6aad5a0da97174d6f4d91dde0afc"},"icon/10001030.png":{bytes:5994,sha256:"816c8995dc94a724233222b3a21633d55330bad2c9879509587cfc10a20e9f50"},"icon/10001031.png":{bytes:12053,sha256:"36d3220568ee902b5cdce711946423d79edf54d70b46f7e46d9d79316a60f470"},"icon/10001032.png":{bytes:6189,sha256:"4d2f2a6a4aa56f799fa6d9b2bf112dd14754f3480951962899ed8e19f0f3d5a4"},"icon/10001033.png":{bytes:19270,sha256:"74367881fc31f13f6c8c6aa87a5da0c779d8303cda03aab1b914d03e2e243697"},"icon/10001034.png":{bytes:23429,sha256:"fdf41e7834dacd674f9d14e4db0c3a4598ae18ad7bcb0ed2f819af69decc4564"},"icon/10001035.png":{bytes:10567,sha256:"71e42a76b7d82964f609885a8fd0f4b8082dfbbc450349dd1329fac1d0f3b8d7"},"icon/10001036.png":{bytes:20003,sha256:"3ffb2d2cae852795566819b3bc65e42d6f5cfea442807813e3f110d2ae5306ab"},"icon/10001037.png":{bytes:11651,sha256:"0f2f343b4030beb38a5d03ca500b16292ee3402853a685eea33907da3166d00d"},"icon/10001038.png":{bytes:3402,sha256:"4fe6ebe2f6160b91c3c51971e4d588fa75f17dc58680c5e7525547eadb8a9922"},"icon/10001039.png":{bytes:16348,sha256:"c91c4bb5fd6c4ca331d4e47015669bd8727d2c91a3d79e97dceabba5484eed51"},"icon/10001040.png":{bytes:15606,sha256:"02c74e003d186f3c5ca4ea280312e2629faade7a3b95dc9ea320f587d411c658"},"icon/10001041.png":{bytes:7378,sha256:"dcec72b04c3096893874d605112c6c8aca2182a5d7af4231e08e279155efc6f0"},"icon/10001042.png":{bytes:9216,sha256:"4d53cec5485b07cde76ef6a459d7f30b73cbb149c7d22d70f94c9d4f08caca95"},"icon/10001043.png":{bytes:7268,sha256:"d0c2a175a0de3b1ed673ff2298cd964e93681a79b8bae03cb3a9940bf2b295b7"},"icon/10001044.png":{bytes:17785,sha256:"b166e9094cfb03ecce6eeeef4715623325ec4b86eda3236e72d34c7f1e4c7aee"},"icon/10001045.png":{bytes:20257,sha256:"dba951310f94d16e23800d78e6f15fb09753de1106fce0b6b65c869ac836ae5e"},"icon/10001046.png":{bytes:18695,sha256:"ccabfef92ec484881baade8997962077e362dde9552a0eefa4c11a063156bc61"},"icon/10001047.png":{bytes:20724,sha256:"571f24becceb229b8388a458c72bf5367c9c9b1bd2f511be9b6175f34c3fa743"},"icon/10001048.png":{bytes:19845,sha256:"3bccfb7c346d124071a2746f75d9e519d90985f07a9122cbb373347646c50d1e"},"icon/10001049.png":{bytes:26620,sha256:"62eaca8f1fa7013d5a9039864571102c640f0ad38b7fc19c34e475caf719cda5"},"icon/10001050.png":{bytes:21554,sha256:"9757b6b14968327fbd2933e4bc1df5c88e8acaa6a1654f880d0aa60557d0f012"},"icon/10001051.png":{bytes:23608,sha256:"3649049db87f65e60857124089570f03d8a87ccd367eddf1cd3189dc49318222"},"icon/10001052.png":{bytes:10144,sha256:"2939136db3eeca57cf771b6e776b0d00ef93b53d00a436b1429c8035821cb49b"},"icon/10001053.png":{bytes:16400,sha256:"29c5e8192b476e74b655b9b717ffa08b0195d5e098951a07904128b2fdfd8cd3"},"icon/10001054.png":{bytes:26202,sha256:"f73fbc019e699b109591814aae3f6d8b111b1388e6bb129ccb35edf7b526dd6d"},"icon/10001055.png":{bytes:19948,sha256:"48de3fe25bdde874eac546529417ffcc4ad395640539895293de829bc9d28fcb"},"icon/10001056.png":{bytes:9550,sha256:"a681352376be706911851bb90563ed343968c35c58c7af3a77fff4b4c16ea3a2"},"icon/10001057.png":{bytes:4530,sha256:"f855883dd19a55155968b77c238f2b5fe0cd894569959ec0f776b3c7d9c0006d"},"icon/10001058.png":{bytes:19430,sha256:"d94b796fbddaf0d63531c0b5569b26ef3e5cb42a51b06faced91b6c9fe467c94"},"icon/10001059.png":{bytes:21181,sha256:"71fe484027e51e4b7af32da4a4d3c661bef1dc5e011710aa0c8512db46237072"},"icon/10001060.png":{bytes:19537,sha256:"cb3ee2648a2b1b656e731d8b2c0cb102bc2eed1c6125b166e1867ca0129b4117"},"icon/10001061.png":{bytes:19347,sha256:"2b7bff19a05b1868e680b8d96919aa1449a7a35fb16fad62ce12d9e546f1cc8c"},"icon/10001062.png":{bytes:24195,sha256:"381bb70063fa7dcc3eda51a116bd79c44f41f32fb2abe647c3957570ca3c5257"},"icon/10001063.png":{bytes:24414,sha256:"240ad25841dcf341fc202efeb82009b52f9e99a403129b251443248f8729200d"},"icon/10001064.png":{bytes:21752,sha256:"8f37873cb51acc05c3e38534b272fc0dffaf2455e85f123fb7d1273584e9a276"},"icon/10001065.png":{bytes:22353,sha256:"082328a9b48c365b77eb4b7c7fe3461647af52da0f6f8d3a9a6aed4715ef55c9"},"icon/10001066.png":{bytes:25040,sha256:"93e8e9a1154521759b8275da6dd7813520067bdbb958fa1ef40a3e2db5d33ebd"},"icon/10001067.png":{bytes:17900,sha256:"764844d417a505af87d84c5b45ed11d8d4f6751e0bb934296354baf2c5e9b7db"},"icon/10001068.png":{bytes:27775,sha256:"f1696ad983c71560c9954d23d24e32fa79d877b7f136b115526d74002dfa13ee"},"icon/10001069.png":{bytes:27560,sha256:"14a34457ecf46a8f4a587ec4c7349a56dfa50550382dade7b3496365165b6f3c"},"icon/10001070.png":{bytes:7342,sha256:"392327cac6f05cd50cf10517e065449b3e3d63a20f2e7028cb54597341fffa1a"},"icon/10001071.png":{bytes:8292,sha256:"e35b725fd8337d3caf63550d9b3483fcc4d2e033711538db5cf792c1990760f2"},"icon/10001072.png":{bytes:2941,sha256:"92b0722a12b3370aaa2ddc69da17d1df9ded02d96e1310d9f88d22531d1e52bf"},"icon/10001073.png":{bytes:26648,sha256:"8cb0bfeb6f957c3507f9c59987440e34f9b8af8435ded2e80451c47c5e40e3ed"},"icon/10001074.png":{bytes:15602,sha256:"ade023a5bbeabcb56c1f14936c05d43a55836d9e0d530ac27a582ce5fd099cbd"},"icon/10001075.png":{bytes:29167,sha256:"d104103a60927435254c590c3d13294426f05ea81193ba5581ac1c56dbad690d"},"icon/10001076.png":{bytes:21611,sha256:"d42eff9554cf6b8010729decfe48c67f82fbe044d7174ffcf6f66ce1e0aaa776"},"icon/10001077.png":{bytes:17232,sha256:"417922105baee5e55df1ca41dec0f6ea50e5597e25e972bda5e85921ba89defa"},"icon/10001078.png":{bytes:22903,sha256:"f595cae988c1aa72bb46aaed66fbd4eb2a80b0d428e6f69279e6cc5eb8f33d43"},"icon/10001079.png":{bytes:12314,sha256:"d786c8e75869e85cd1282fedbdd7184599d467323ec627ba84fc8ac4d5b32802"},"icon/10001080.png":{bytes:21705,sha256:"40070edd6457107645f67436623734dc991b9ca443ab90f69f70dbaaea7a39ad"},"icon/10001081.png":{bytes:20562,sha256:"d56e7c2c982f3b27cd11f81799f37e59bed9c0ee33c38cb388a761faa3ff4aa7"},"icon/10001082.png":{bytes:16044,sha256:"d1a2f46512f076d4c94d595d09bd79a621823a9beb605d7550ec7c0a18063fee"},"icon/10001083.png":{bytes:20479,sha256:"fdccdda6ccfed67eac85cfa376d6f8a40ee1219ddd3cad6900b277b609e192eb"},"icon/10001084.png":{bytes:10321,sha256:"8ed3211996fe8174c1eea74b1b5187b507fda63b2d4f9c92d1a198d2560b00b3"},"icon/10001085.png":{bytes:14763,sha256:"2f965520fc95c4616a4af85f5340788038a5b4530ee2e687153ce58559c03220"},"icon/10001086.png":{bytes:18341,sha256:"060c578e663efedf5cb8516fedc4f05837fcf63a55b977d19658324708910776"},"icon/10001087.png":{bytes:4213,sha256:"769837b1d6caa5bbd3e3aa99ea416c57538b18c7c24d918e284d9c1251bbc460"},"icon/10001088.png":{bytes:4172,sha256:"5d4ea01aaec16fe631fc2383d258bba90158083c6bfcd8c1183dc22bad62fc0e"},"icon/10001089.png":{bytes:3474,sha256:"90625242ffa6ef70ba55f48bc7ecdb056c359db8381831ff22f9885d3c3f22f3"},"icon/10001090.png":{bytes:7435,sha256:"513808a1c0e913a192a113b8503698612af55c7ba9f3f341d24f50995aa7e902"},"icon/10001091.png":{bytes:22367,sha256:"7daa0d126bd8a7389720014dcb8448da8bc21eb0b381a99062bfa81d0b4d090c"},"icon/10001092.png":{bytes:12227,sha256:"9d63290e2cfa3acf8d58df425be36a101579b867c66c306986d762d7d4f422fd"},"icon/10001093.png":{bytes:26518,sha256:"bc385ef5b565fd3a9e6f923d6172155fd25472be7705b2b62569b07b8dc08cf6"},"icon/10001094.png":{bytes:25052,sha256:"e4ae56756a19592c96fe52a7a4b538c943377c2a20d921d8fecaea6a8f0c7dea"},"icon/10001095.png":{bytes:23206,sha256:"c4f38e680893ecda45e5c7e3589a2b852a15f4345abe4ec23629e1836d4db70e"},"icon/10001096.png":{bytes:22122,sha256:"f686a5ea91407ebdc08f4291b5169bd552ed5c8d8333be59db9366770cf7ff2b"},"icon/10001097.png":{bytes:12560,sha256:"f73d09781a3c85f822b0c88fa72b740cd50a15c2b8f592fa87979353ab4469dd"},"icon/10001098.png":{bytes:15059,sha256:"7e8050b1404cc16aa86a71b41dbc9d21925a9b78ad9e5254cc4e9624deb31f6c"},"icon/10001099.png":{bytes:15584,sha256:"ac80e1a8be3932dd9961cf91cbb2b177c47600b2bebe29e415bbb6fea798164c"},"icon/10001100.png":{bytes:16326,sha256:"c09dc9a07b44cf2c71c61756237422b4a0c2d2067321cd43695ce6585cffcf56"},"icon/10001101.png":{bytes:10612,sha256:"7aedce9017c7ee89d59e134d9ddd054dd907a26db6c45e7fc20b7506c51b687a"},"icon/10001102.png":{bytes:23039,sha256:"493c35fb2876f09ab03cfe98eb72b4897c8ae425650572c20fb92e71434c98ca"},"icon/10001103.png":{bytes:19364,sha256:"530857b7b8e777d3f96fda60ccb9f23007ecac339c4f752ef3c85a297b3a7966"},"icon/10001104.png":{bytes:28069,sha256:"e9eb24af2a0ba2805b54c614f10221fcb7c1d73217b5d0dc6b7e00fea2e26c33"},"icon/10001105.png":{bytes:26082,sha256:"24952154a32e5955b8503c92d6ebbd85991930130c4308e2cafe9f7c5f577230"},"icon/10001106.png":{bytes:1651,sha256:"617f1f8e08229f2678330ba3c3b6167ba865b07f93691127e870b8d6adf6641b"},"icon/10001107.png":{bytes:22485,sha256:"938d08c4bf33909d7f0895c84a91713cfd1e6f937f33ff2da5eaf2b52eb5b06d"},"icon/10001108.png":{bytes:24430,sha256:"a601101f8b16bdd131b47c8f66433bcb973d1b695d992b09e634a728dff54535"},"icon/10001109.png":{bytes:15975,sha256:"210c74315ec41a5d3c19c29a76bdd3413765f8f17ded734dc0691e76d85b2191"},"icon/10001110.png":{bytes:2344,sha256:"e655f46b6fccd2edafc4eb323d8678eb28f3c3ff117e3ac9f69c60c1827ace46"},"icon/10001111.png":{bytes:3021,sha256:"85f3c7595d26004037c41ec5303b62384a0e78b1ae06bdb99386e027de99ff54"},"icon/10001112.png":{bytes:3407,sha256:"89107889930ee230b538fbbaf11e6d0d041ab412ddf5b9d834a35c30289184e6"},"icon/10001113.png":{bytes:20006,sha256:"043f3dc850dd766a97ca36a4a6b6a4f69f6bd1a39b503a94ae7f44d24a3f9f94"},"icon/10001114.png":{bytes:13510,sha256:"00746c36384a8db4907dd246d6eefa673f5d1779ebd7411e9ce240b605129211"},"icon/10001115.png":{bytes:25840,sha256:"81c3874b31b33ff76ff5696828fc7e041acbc4e5802a159e6d7cf39623b6e4d9"},"icon/10001116.png":{bytes:26845,sha256:"e08add35bb5d9dab63eb2113db0a3f02837033f89ef5bf03d6fb6bde4b143a7e"},"icon/10001117.png":{bytes:5260,sha256:"7d5929d69cf88c4fd3aad5d0924e5501c8d6466ae8deea9dd98587bcc683ace5"},"icon/10001118.png":{bytes:2319,sha256:"4a2e00b11368da3400d0fde87af9ae0004a491f9e5166cbe9ba3e412d8c42977"},"icon/10001119.png":{bytes:9639,sha256:"69c0e0c0244fe4f9a863a749dd0697021334cf6f8a940aae48047447d07abfb5"},"icon/10001120.png":{bytes:3934,sha256:"92b3b1c0bb994c6eda4527f6b6dd2af58c3fa895d04867856d0ff59ccfd19048"},"icon/10001121.png":{bytes:20543,sha256:"2ab3a15500ca6a11e4ca65bc371d95c0af1e0563cc2c0dc4f20c8c01ab092e38"},"icon/10001122.png":{bytes:12810,sha256:"b5836c452bfa9d9a1db7a362538da5568db5824118c696eb3a2c158ae70f0cf6"},"icon/10001124.png":{bytes:35989,sha256:"619ff5c41712328cb34e98705aa8df74574a1821770a4586b22909577a4bc58e"},"icon/10001125.png":{bytes:29137,sha256:"99a9ab0501de6dba85c2abc0e1e36adf7a86f10fb37875e2680f2f6d9ca3e83f"},"icon/10001126.png":{bytes:22453,sha256:"f43f07f4c18e71b27570d8523eb3a8e029420c31ffadcb3e3aa1bbaa80a9fe4d"},"icon/10001127.png":{bytes:19714,sha256:"07781839310d272bc7aa3dad17d09224462964e4a677466697030781c8fa71ce"},"icon/10001128.png":{bytes:13908,sha256:"e1181919aa1dcf4fce455f94c43548cdc4db1eccbd1056cd9cc2dd3eb8f61d64"},"icon/10001129.png":{bytes:17401,sha256:"350f315d554986c5a522f79ce80a4f33b658317e2dfd28e765f31f1f55d9fd8b"},"icon/10001130.png":{bytes:12296,sha256:"9a43c99b2df57772c96547b0de18a8d0760d6c324c2b9d3cc3db33467dd08503"},"icon/10001131.png":{bytes:5038,sha256:"75d352f831fb2cb7f33db7514a5e8c96e1dbaedcf370955cad7783baa0845efe"},"icon/10001132.png":{bytes:7256,sha256:"b0dba588447f82e38c20eb54684a9d1f84ea83fb011287908f81cac2d9c29756"},"icon/10001133.png":{bytes:6606,sha256:"96100d356bd18b99201bde0a3196a851804f391a99e915a189d1ece883c4e349"},"icon/10001134.png":{bytes:7075,sha256:"93352721db5da92231f0b53f01f72aacc33670a820e2fa6331f402c79ab3dff3"},"icon/10001135.png":{bytes:7300,sha256:"e978e0bfac39714827cd7dd770b54fda77e5e7bc82392ce8092e9ba616ceac3c"},"icon/10001136.png":{bytes:4617,sha256:"403a83d32973ff5007759b8910d8d38f29c42d0caaee60876a29951a263008c1"},"icon/10001137.png":{bytes:6923,sha256:"e64530fb2cc4cb2e95be5481ce47d78a99d095cb4739f6c58f0269bb6c06df60"},"icon/10001138.png":{bytes:3412,sha256:"0d8839c0f16110389f079dd0cdaf32130b0d4363994cd62e51f64775a89736c6"},"icon/10001139.png":{bytes:3432,sha256:"ed8360d109e366c6a330c2806137f37d458194adcb5d7a5d61da0c168061f316"},"icon/10001140.png":{bytes:2813,sha256:"b3d6c1d80544a5327c21f9e63e452ed129e729e4ba18653013386bfe9a26d6ea"},"icon/10001141.png":{bytes:1976,sha256:"7874744cf4f00e0a676a4d76eb469e72ecd5fed016ae4b25a164f78994dedc19"},"icon/10001142.png":{bytes:15037,sha256:"14d12854b4b17da8ba54f0808be9acca2cdea82f004b047343b288fc5c442d65"},"icon/10001143.png":{bytes:5652,sha256:"5f02f7cf842d9aef4b81b784e3dce9ed4e820745c97efde3b7af2fa94cc6f2c6"},"icon/10001144.png":{bytes:3080,sha256:"ed7b8552f4dff8310e269986336dba5cbe76ccb6e065156b825bf8e0b5c8fdfc"},"icon/10001145.png":{bytes:2987,sha256:"ffa4d3452e8d0c751aec973fffe797c2e872175cd5912d0393c72b3da8cad13c"},"icon/10001146.png":{bytes:5483,sha256:"4ed80b9c3fa0d88c6cef1289f18048b9b373742348e991e23b3ac042bd71ad26"},"icon/10001147.png":{bytes:1152,sha256:"05750a2593db8d6cb0e64755e447fa2236cc5edfdd633a8ab9be8d8b5fcd7d89"},"icon/10001148.png":{bytes:2662,sha256:"421eafe1622cd73809a8b09b7a74074628a8acc9df8c4411f7ee51fb96a6cc2d"},"icon/10001149.png":{bytes:5963,sha256:"a16c6f9abbd6d866df576878a10477bb1f9c055d4ad19a050e3305b394f80058"},"icon/10001150.png":{bytes:7106,sha256:"66161334208241a31f9f5bca369733c81c6070de9b1d9f4c922c6c5a15dcc684"},"icon/10001151.png":{bytes:10932,sha256:"260a9dc36d191df0700e243e8461362605ddd759a0bd7fb382a9175ead3d9c91"},"icon/10001152.png":{bytes:5867,sha256:"e1980362d5eed82c2806a9ea5fc1b0ccdac33629f7aee398f74c5f54389ed683"},"icon/10001153.png":{bytes:9870,sha256:"e1e279e3065898eca9503c8652b74a71b4151284a733ee9293026be4d249c05d"},"icon/10001154.png":{bytes:9156,sha256:"6c6bd25805bb81659537de7814550b6b4daaddaf894645eb630ff9520a246d04"},"icon/10001155.png":{bytes:5172,sha256:"057bb0e931efc9b955b43943dcbbe5df73cc34ffd1755df8986e0f8f691b4794"},"icon/10001156.png":{bytes:4527,sha256:"5b93b62d5f786efce3b63ad62da61c67f15a65441a47fcb2df3cf92807170758"},"icon/10001157.png":{bytes:1326,sha256:"054bbfcfbb69453dfeec70ac86a3fef70f4ea818110a9a8285bd294d65972d60"},"icon/10001158.png":{bytes:4270,sha256:"dc54dad40d681aaf0f6aac8b3dd4b419e05a079d5d05bd4561a7348b9edf7927"},"icon/10001159.png":{bytes:3192,sha256:"b3962f15d41f625b1435c7d7182f2b744fa9de0ff299503dd3683171de794d2a"},"icon/10001160.png":{bytes:5158,sha256:"9e52b24f602584cc198214039c10c2bd33609b3c448ddfd2acbd565beb8bfbac"},"icon/10002001.png":{bytes:20145,sha256:"f4d95a54594309ab6deed445289097af22295f51ff5b7139acad7bb06045bcb3"},"icon/10002002.png":{bytes:21810,sha256:"af166959cddb542b83349dcc045096dae6185cd52d48a013dad78fe7ba1053ce"},"icon/10002003.png":{bytes:21958,sha256:"8bd0e7b9603ab0136ce86d8f7ace42ae23640013f07464730efd774655bd1628"},"icon/10002004.png":{bytes:23769,sha256:"4c1e6d5b3eef62b104f392bcd6cbf3ae7d2abaee06b161a1a65c6e916734945f"},"icon/10002005.png":{bytes:23898,sha256:"b30336b8be741b5a6315bf6ffffde315446e1639d9438e649f282153eec3f13b"},"icon/10002006.png":{bytes:36362,sha256:"81973c5d0fc8a86e8cec23d9d3eeb68f23ea95c302e8fefccaec90a320891427"},"icon/10002007.png":{bytes:23004,sha256:"1b42dcbd00fb4f45d6818b05e8b56c2880b0b2fbe061d17562f0c2125e6dbef6"},"icon/10002008.png":{bytes:25821,sha256:"7a6a91b0b32ef193de8601d3779c8a96b30c8994f746ecdb14920f364f434401"},"icon/10002009.png":{bytes:29951,sha256:"d736d5118775d03725093e1dd6bc51236c7fa39ed00184487db2267bae5f9f4f"},"icon/10002010.png":{bytes:26085,sha256:"6b92c88569ffcdd8b2cd4836f281b36ef5085c468fbb14923d085317e3d25c81"},"icon/10002011.png":{bytes:25715,sha256:"827cbcdb97487fefbfb801847e4acbcf298d0c10037173d612b006f615ef5ef0"},"icon/10002012.png":{bytes:26384,sha256:"e7ae9e007cddcc3c1f3a0d8206052b107ed5726276105583f4bb9015a14c5fa3"},"icon/10002013.png":{bytes:27500,sha256:"5ff084b46a5b00e83aefdba355c33bd972cad0537c08fee7bc6ffb42bc0ebdc6"},"icon/10002014.png":{bytes:20236,sha256:"c98b3528d9506c343a680e3699c3481dc0e17a7c14966b447a963c8bc0639c81"},"icon/10002015.png":{bytes:30913,sha256:"1efb63f37ed6ebcb4e28488901b4866d37204840be668a677e53fd8735b55c53"},"icon/10002016.png":{bytes:26866,sha256:"a91a05fa0e2f633e32011fc416ecc7b79096bdc531480200bc64b71ff8c05b5a"},"icon/10002017.png":{bytes:27987,sha256:"e9adecf78cac8b30edfec13604726b9e04a3bc5cc9ab2459ca09957a4300130b"},"icon/10002018.png":{bytes:25698,sha256:"2c9ce8412106fef0b68132d1bb13358b0c2953ab968f248559f1b4bfb043cc80"},"icon/10002019.png":{bytes:20846,sha256:"891a3906fc6324235cdbf4c83c7e0d58c6a7a71c423b2bb0a38e04d0de717d4b"},"icon/10002020.png":{bytes:19304,sha256:"b06d5f3d0a91dd2b49174f680d829d73260a6d4cbec4fff48a6131d4a4e89695"},"icon/10002021.png":{bytes:21812,sha256:"01dad29e897e1660646fdaa826b72fadbe822ceb13bbad6cb57fd1f9519e3139"},"icon/10002022.png":{bytes:19095,sha256:"eb571c371e8c9f6447d1567652425c43d2e6cfa9ed5f3dbd6b29fd3ff26f741e"},"icon/10002023.png":{bytes:20241,sha256:"5769cad4d0fa0effb7498b15f97ee1f45e6655275df15164e04f79ef314324e3"},"icon/10002024.png":{bytes:14546,sha256:"b823c0e0b8e4b852519254794cf219b42e02021d667528c6387a545fc2a066ac"},"icon/10002025.png":{bytes:28393,sha256:"5374e4d458ac4d8ae45419c0040c1981f12395afb984b631c48b640b8be2aebb"},"icon/10002026.png":{bytes:5243,sha256:"f97e20c0f2ea8e3c2d3b3dfaa9d3b9449e3ed559364cc2e7ab1516d0cb88bd78"},"icon/10002027.png":{bytes:4486,sha256:"cdd1376115bf45ba21b47c6e574a5b28f7c83cb36159bb1f7c60d737f9ec8ecc"},"icon/10002028.png":{bytes:3253,sha256:"41e38057943bc5dfbb24d8279c9ce23b58c871615deb28d934b0bb954bb66df2"},"icon/10002029.png":{bytes:24855,sha256:"60c949a324f60ac215dd01ea0dd4471ccff9b912717fd3b03443dea31dd87940"},"icon/10002030.png":{bytes:4435,sha256:"0a3e76f32808add9274d8e65d279b33521b655036d24cf87de3f5fa11de6dfc9"},"icon/10002031.png":{bytes:27998,sha256:"8fa5a2187292213adab843c9fbc68e8f099371a3ed74c55195998f92810e8b4f"},"icon/10002032.png":{bytes:21697,sha256:"9ece6166203932aad1a59d851258dc92e17f67f11de52b642c3abedeef571a3a"},"icon/10002033.png":{bytes:35521,sha256:"99c220eec1407ade7a0a5ff8c22a8dc6e4149ac6d0f407c005f78f8338f9bab5"},"icon/10002034.png":{bytes:6754,sha256:"b5097a0501688fe67edf17c7a993ce12323a2b86b55226db7cad7d9c2ffa016b"},"icon/10002035.png":{bytes:9625,sha256:"172106dc0c33f12daad2eee2ab1278f94c1026d0d6db70320851f2908eb9eb46"},"icon/10002036.png":{bytes:2474,sha256:"43ca13e6572a60aacfba330ac86bf5211a6901914fbd1559fffbb89ca15ccd41"},"icon/10002037.png":{bytes:23717,sha256:"d232b256c550eb85f96d5eb28f19a661f2127f383f49bf4ba4348f935f32dbe9"},"video/10001001.webm":{bytes:147646,sha256:"a72065f7abcc9387fb3dccd473d509bec7b421aa6c34c89e344dd8ee294bc2d2",duration:10},"video/10001002.webm":{bytes:171594,sha256:"b6e89b1967387bf40278b73414d90f0a3b8c61b0e4bfa63e74f67fa049ad3482",duration:10},"video/10001003.webm":{bytes:151975,sha256:"c5fa8ecbc3e6992256ee128dc400d2c93bf91fe5f7813a4d289c4b6d477fda54",duration:10},"video/10001004.webm":{bytes:164765,sha256:"d85282288b6a845d35f7ec6bfe49fc0f5d4766fe61ae30b87a9df6ff2a4961fc",duration:10},"video/10001005.webm":{bytes:189607,sha256:"0f186507b14407573ebb42da49a5749809e28819854cd46b4bf82b858ff057fd",duration:10},"video/10001006.webm":{bytes:136733,sha256:"cd11113d02047c42e3c03be3f2835f34eb52d0fe595b8e380a69fa86d9a40957",duration:10},"video/10001007.webm":{bytes:174723,sha256:"c9e65dbd73985b4ee5e716b63f5a9bf5719be8b95ea9a3a61a3aae772adaa064",duration:10},"video/10001008.webm":{bytes:13947,sha256:"d494a403015acc7700b45021ce269771edc8766e62f2bd82a7d26c9f60c63bb5",duration:1.3},"video/10001009.webm":{bytes:15895,sha256:"04d442aa0a51199be173b17a069b8365ae3205b26db275fb73355356fa1f871a",duration:1.3},"video/10001010.webm":{bytes:83391,sha256:"9bb064beb2f4622cc761ba26e5793da93c576d9c26be517912bd0d25f82763a2",duration:10},"video/10001011.webm":{bytes:107849,sha256:"d884e886fd74baba25a896921907e37675329915a90081fbcdd30e84fe4df099",duration:10},"video/10001012.webm":{bytes:84881,sha256:"c3ed5ae0813a45908906170ed6513b64c20a51f72aa0783ee55112ddb8701f80",duration:10},"video/10001013.webm":{bytes:96819,sha256:"560da96c18685b4fe4acc7b32ab940f229bc7ed1c57b0dd4511be7c22e5b6162",duration:10},"video/10001014.webm":{bytes:140840,sha256:"6ae425c9aa6d7ce1a476f18caa12ef0b124fa8b98e446696a3bba29ef6ae9a32",duration:10},"video/10001015.webm":{bytes:106513,sha256:"78e68a0cd736cf5c7a433f79f603126d0036bec8a751c937c7b96106180865c9",duration:10},"video/10001016.webm":{bytes:126160,sha256:"206ff8c1ba2836b2e58a907458b3c5a9ded69556eb4e29685725f49a90a2b481",duration:10},"video/10001017.webm":{bytes:217547,sha256:"0b1402a3ab2b0b3fa2284c33dec5b818049399a3a7cf1c2bf6b891c604905577",duration:10},"video/10001018.webm":{bytes:78212,sha256:"b5681b42272c66d918e143a63b6b4f9c044cd6b3ef1a8d2050a26f583b6b7a2c",duration:10},"video/10001019.webm":{bytes:175270,sha256:"6f493f9db0be094ab927becf8be553d416eab7ccdbac76896cd02a33ea094af3",duration:10},"video/10001020.webm":{bytes:227796,sha256:"57eb38683cf84e8abbd6319da39e08e4233baee90bac54568034fca55f7a253b",duration:10},"video/10001021.webm":{bytes:216527,sha256:"e19c751b9c36ce5d68c18a161ada9216e23f7cf8598638de9c8b4c2911d6e390",duration:10},"video/10001022.webm":{bytes:188626,sha256:"6ca2e91020c1141ee626b5dca2c7c190978562a70af2a6982f387c1e9cd9e53d",duration:10},"video/10001023.webm":{bytes:199004,sha256:"0b42968e4ac8f1152244e3821ef33d15954bfd3efba5709568b778b7ef375d23",duration:10},"video/10001024.webm":{bytes:60772,sha256:"a1a4269849425bc985f07f4e2c9e7bfd2fa5094238926b9d4096b8155bee39ce",duration:10},"video/10001025.webm":{bytes:61785,sha256:"0d7e10b6b97b5cbb5098046277b0315b0db4b5542ad8da82758adb800eb970f0",duration:10},"video/10001026.webm":{bytes:59199,sha256:"d2404c66eb3f357ae6349541a53fa713c4d81793c9b5f273cb6d5b949ded6330",duration:10},"video/10001027.webm":{bytes:37421,sha256:"c97fd7cda4cf46636757fd2913f5cdbfc44db0c183d7190499c3f54c1b007bc5",duration:10},"video/10001028.webm":{bytes:57620,sha256:"0deb4f0b933adce6785a46c2319e63721774f185532875fb4434f78eb905863d",duration:10},"video/10001029.webm":{bytes:66083,sha256:"ae3ef6d5ed1c676ce11136f98404159bbd3e847b7967c7cd76e53060df090ddd",duration:10},"video/10001030.webm":{bytes:58745,sha256:"0c7965cbed1119b1ff13e1b3381129a28468a6464279751590063f11efd8028a",duration:10},"video/10001031.webm":{bytes:8557,sha256:"5847d08b09f9f39575fba5fabada6133757231545bf08656ae145136c8d21bd9",duration:1},"video/10001032.webm":{bytes:25221,sha256:"0a401d8d73d2a838d01daecdf047b04ae98cf76cac899ae7a21fda8b9cefc2da",duration:.933},"video/10001033.webm":{bytes:34602,sha256:"896f71d3387bcf4154cec5fe67593c1982374af65cfebd5b989108adc2e07ddd",duration:1.2},"video/10001034.webm":{bytes:125134,sha256:"3804a3b13d8974702162d97a703c63a7aa5bb2690e892a6215d3a61af788fa8a",duration:1.4},"video/10001035.webm":{bytes:67308,sha256:"22651c969c1e7ad47a6aa062a7791fed498069d407dce6471afb760b83eee66c",duration:10},"video/10001036.webm":{bytes:127270,sha256:"f0dabcf3554f6aeb9a3070796760df4f5a7047e435ba94e8c3948bdae24dcc45",duration:1.4},"video/10001037.webm":{bytes:168190,sha256:"3b0423327eac86c2376f2d0e1ad08142c335e80b3bf2a35b58410e43038a39e4",duration:10},"video/10001038.webm":{bytes:131917,sha256:"3153ff561dbb204cff54001334794aff6551dc29e55dbeb0fad35bdef372033a",duration:10},"video/10001039.webm":{bytes:11634,sha256:"2bbbdddc40b1790c6ff3f4a7be9c6ad0f8a5ef521d45e4c7ca9f0a84a70dcca3",duration:.766},"video/10001040.webm":{bytes:29034,sha256:"9187e82dace372eda0441947980d8a981238b519fe8b91b3cd8983a25bc38124",duration:1.2},"video/10001041.webm":{bytes:145234,sha256:"86c73a18f5f07c18427a4f6540e94ae0488a22ba061f931c5071f4524aeb8e33",duration:10},"video/10001042.webm":{bytes:173888,sha256:"f4011ff7a3474cf2ff9cc02eee560e46d3e1ad165848dafb989907199951ac01",duration:10},"video/10001043.webm":{bytes:42182,sha256:"9bd4b77d6cb8be53aa0cb3954a124c523f076cd4b3f3ef646d1a41a272c9a058",duration:1.233},"video/10001044.webm":{bytes:32089,sha256:"789fc8b1316530b118bedf21682606096aa1f4191c1946dcd1d3262713567a84",duration:1.566},"video/10001045.webm":{bytes:9892,sha256:"d9261d0738da8852b6473a93bff97ec9f5d7e8fe130d314b44f4d870f9e2ef85",duration:.733},"video/10001046.webm":{bytes:7771,sha256:"bc5fcfa1b15638d4f4b44cea1f27e02e5c7281e5d422dd70e8945e52524f236b",duration:.8},"video/10001047.webm":{bytes:11433,sha256:"8dfb6ace018b13706517ee2511753af3606a9d646ef98f7808a1bbdf0220e23f",duration:.733},"video/10001048.webm":{bytes:9648,sha256:"d92bced2753f1ab8cd2edbab06905ac82e4b1423235bd32e9259058070d19470",duration:.733},"video/10001049.webm":{bytes:24623,sha256:"54769931e5ce88f652c63c4b190aa017a7e70e5860b046df7a2813f00cb42b59",duration:1},"video/10001050.webm":{bytes:20713,sha256:"919a6070b7e1f042e5a74f091ba8c23924f467cc1ddfdc5816feb3d638cc3acb",duration:.733},"video/10001051.webm":{bytes:317681,sha256:"a1dda360215590f4b5fb7b8a82cbe44d240211270485eae950b5535b01686d08",duration:10},"video/10001052.webm":{bytes:15091,sha256:"ff7685c63cf73e1422f07b59bf5e006b6dad8d2d80b1a8ae0997d13ef58487df",duration:.9},"video/10001053.webm":{bytes:183319,sha256:"c8c07a2deb6b4899a6d1c1b8dda72fac6ed45a11d6646c40f5c2e354a84a8d13",duration:10},"video/10001054.webm":{bytes:17094,sha256:"ca07c647725212c323dad57886c5b56a5eda2ae27909bf5ddf0f3589e99b5b5b",duration:1},"video/10001055.webm":{bytes:53469,sha256:"a8c69dd8c3c9e4836f1c3c9a4c033bc7bfacc0fab9ac2981c48e4391589c41de",duration:1},"video/10001056.webm":{bytes:225400,sha256:"60fbad9fef225e7205c0eba98951387354a8470e9a50db3921494db3dba6ba0f",duration:10},"video/10001057.webm":{bytes:7082,sha256:"0aeb94988ec8862c3bec3f357f380b675da3b0881c48640b37fa3d1215353b9b",duration:.966},"video/10001058.webm":{bytes:90245,sha256:"4bbbc44479a590344eb38e965facc757347d87c63816e0ccf8939d98d8278ecb",duration:1.6},"video/10001059.webm":{bytes:87447,sha256:"fb1b2bf01c971fcf2a69833b2728d8553f058877386c6e17947e2bc28e50f904",duration:1.766},"video/10001060.webm":{bytes:1276390,sha256:"19f135d0143a973a7ea358a64f83aacb227ddd483f200c6fc88738b3a2e1c9b5",duration:10},"video/10001061.webm":{bytes:70336,sha256:"10d1a43ee81a6fb691448a1a3165612edd96943e7188612069a13f57788c3513",duration:1},"video/10001062.webm":{bytes:102563,sha256:"79a12a7baa9ab219c27845166f613f87829073e0214ff26ac1b3239a2f8a8222",duration:1},"video/10001063.webm":{bytes:565456,sha256:"6784dd43aa64a9005df034defe99ca23eedf9a124f0a0681bb9ea531152d5656",duration:10},"video/10001064.webm":{bytes:48740,sha256:"3585e3b7579301babf2a941529d05261f7a4e7993d394be668ce3e6b34269be2",duration:.866},"video/10001065.webm":{bytes:16738,sha256:"96de617b4263a73bdb61e98d4643e8ad6488bc0cc359ee4f8da5eb6b0333c466",duration:.9},"video/10001066.webm":{bytes:12376,sha256:"ca507ca6ab20dae1d3e9ff3cf8fb0fb70763983f4b3c82fe8f05b5b011160189",duration:1.066},"video/10001067.webm":{bytes:23685,sha256:"8702ce3719d477e8a79a5321b152a804a583578aa6335aae221e238e449c4508",duration:10},"video/10001068.webm":{bytes:55734,sha256:"708b564295d3c3e1929d4f5da5af6595e9ef236e692380a838e4230ff3813381",duration:1},"video/10001069.webm":{bytes:1128088,sha256:"56b38a26aaa7913066c3336ba98f7eb1037c17fe80fb110d45e123cc46c36acc",duration:10},"video/10001070.webm":{bytes:975681,sha256:"4c762f4cc796d0a167e47ba18c6c658b9173cc8fd951b9c7537043ac1d3cab4c",duration:10},"video/10001071.webm":{bytes:815992,sha256:"e2547ebac9f4d2dba4cc455fc73cf1de2afa209f4a54473a252f3578b5882361",duration:10},"video/10001072.webm":{bytes:616757,sha256:"551e36eea20409279ac7b058f0658460e88b60c7b62189209ab219ab5ab35969",duration:10},"video/10001073.webm":{bytes:37684,sha256:"913e5eb86f0de97099bc8f1c2860dcc0ccb23af3df7b9565e46d23dcd3d5b2e4",duration:2.1},"video/10001074.webm":{bytes:12604,sha256:"7a034a81cb6b8d09507a83c42b44fa6ce5dac567aaa4dad86900772e81573fac",duration:1.666},"video/10001075.webm":{bytes:107268,sha256:"a58331fcb3c6ca07f581b3ca490eedcd4e4d486ddcf944083038198495dc8c6b",duration:10},"video/10001076.webm":{bytes:32481,sha256:"6c49036a5c3d63f3f8a554e751fde071afa7a88c69c0eb5fa8aac3ead9936c85",duration:1.2},"video/10001077.webm":{bytes:34358,sha256:"8b1cd91b4547b5c773688dc7586d02ef3505b56a6c0e5e8cfe95ac2877074fd9",duration:1.1},"video/10001078.webm":{bytes:46506,sha256:"d2b1506af78535ae8c25d12ed47f613f58c96c237aabd3a69481926279abbad2",duration:1.133},"video/10001079.webm":{bytes:73888,sha256:"14eaab31df0169c82d784132e336f21e3dbcde36e8d863e813fdbbd0cc7fe736",duration:1.166},"video/10001080.webm":{bytes:227149,sha256:"f953d8cb2c360f1a7beff3f1eb0287d2ad5b4b5021cd8add406935e7bce0f499",duration:10},"video/10001081.webm":{bytes:206185,sha256:"bd954a94b76ecb754018c8d2f5600757907fcbf5b8d8fd8c16eba98d2c77bd45",duration:10},"video/10001082.webm":{bytes:414215,sha256:"a66f150faa15b300f9d87422b83566b253c50579b8b08a83e7d5fecdeb33117a",duration:10},"video/10001083.webm":{bytes:103790,sha256:"f7619598f5fd506003b6161a7d7a9f7d13eaf3ae26a51cf560899ee50ab74850",duration:1.2},"video/10001084.webm":{bytes:49760,sha256:"075a51589f5556f125c56e3448e2b8c7fcfeec7f7981228e46991fcadb58b603",duration:.7},"video/10001085.webm":{bytes:39486,sha256:"7782a3f27d41c5b833746b6892a2074821226da33b0dfefe1173c5a45890abbc",duration:.566},"video/10001086.webm":{bytes:24420,sha256:"1e7c975fd2c3027095353ae2b7651e3b9f0104554a072579127817aa5ccdea02",duration:.866},"video/10001087.webm":{bytes:58874,sha256:"5101e1da0097fc9785131be66f411e54f427ef18f21ade4b254728e94ac568b7",duration:1.166},"video/10001088.webm":{bytes:64189,sha256:"a3c150eeaca295e70a351b250bd3554b4633a77f6704e581b72a8bd93f0ea194",duration:1.166},"video/10001089.webm":{bytes:25443,sha256:"0e5a1151fea93701ebc923211c8f5c406e895104a4afb9ba71d521ad45b39b85",duration:1.966},"video/10001090.webm":{bytes:65254,sha256:"89ad6f296294c0abf4fb08e68ebf141d1c602a659c0ec563f7058ac6d2462fd4",duration:1.166},"video/10001091.webm":{bytes:81681,sha256:"3081d901c969bc1f4a4b10a447c3a712a8b4136965c34a76119e1b6dcd5e6cd3",duration:1.6},"video/10001092.webm":{bytes:548135,sha256:"5c013b847ea4b8338927ebd2597c2bb12b9c9a7231853c3d277eba10f9dd453f",duration:10},"video/10001093.webm":{bytes:63342,sha256:"bc87982e78383167ff4c649b6603a78cff1d6cf3cb51349e73626fcb2a5a7b49",duration:1.033},"video/10001094.webm":{bytes:20050,sha256:"53e91848830acea081a4d56ab8db383627a78ebb806ecb6766a2e11ed9573c58",duration:.833},"video/10001095.webm":{bytes:84670,sha256:"172553d18635861bfe28c6f06b5c8cea5e7640287cb75242fec31c12319772d4",duration:1.8},"video/10001096.webm":{bytes:28716,sha256:"31d3f4236eb9e2f2f6cc76003284b02496bc581ab1c8e19cd5929b5828c894ef",duration:1.6},"video/10001097.webm":{bytes:25147,sha256:"2129484b7dfcc5abe518553a0841a92a6582062356acda687b942b2cb221d26f",duration:1.6},"video/10001098.webm":{bytes:76333,sha256:"ac1d85c4f336abd854fd461db4e0951c83346dd2669c38b91e537ec758e9de65",duration:1.6},"video/10001099.webm":{bytes:76173,sha256:"2fba51975dae32febc9c1a270b1b5b769d299f143c4996198c7dfca26efd1014",duration:1.6},"video/10001100.webm":{bytes:80616,sha256:"ee23d3bf91e53bf9eb93d5a7c5879daa54aaa7e7194ba3944758131ebee68c5d",duration:1.6},"video/10001101.webm":{bytes:84160,sha256:"cb606310669a2a1d2f30b0903af51eae290a4276d2d934439999bfa10bdb5604",duration:1.6},"video/10001102.webm":{bytes:82257,sha256:"01cad0b39abfc2f041df3c1e786a11d3323cd25297fbebca2f196f8f556c8d82",duration:1.133},"video/10001103.webm":{bytes:91224,sha256:"106929efba101b9ae0f76b6b637cd4e16863bf9f72f779c2474d0d6cab4fc1fc",duration:1.166},"video/10001104.webm":{bytes:89745,sha256:"0862ade9ff0001d2cb5458e3cb6998a7ac42c2336840d73532f5492e522cbb34",duration:1.133},"video/10001105.webm":{bytes:93873,sha256:"0b03b634e18bb25087af672cee8e29df618540f3ac73761dae9a854a629dcfff",duration:1.133},"video/10001106.webm":{bytes:80898,sha256:"c25414e50001dd924e75c4b9aab2aa4fca72d1765bec268344e1541c9f9734ff",duration:10},"video/10001107.webm":{bytes:14411,sha256:"faa6ad2693c69433203864414e338b8d0f322096ff6b05b826787ec3a7bf7f57",duration:.8},"video/10001108.webm":{bytes:45841,sha256:"5e3c3dbbbd11985807452e9b02a69477d018b60dcf1598ed1deb21ec82bb4a50",duration:1.7},"video/10001109.webm":{bytes:53026,sha256:"2a0c537529b94d06bac852d498825b431a2830d944e8601e752b115b68d481ac",duration:1.666},"video/10001110.webm":{bytes:28873,sha256:"b1ec1a3d0d577270b1eb3fd1dcf2ddc36df9dcea52df0249b8440db3e0ec9b6f",duration:1.533},"video/10001111.webm":{bytes:15873,sha256:"74c62d1739cb80ecfbc66b755c7332a27a53b3ff3c6d72aa75d47804b211ad36",duration:.9},"video/10001112.webm":{bytes:17381,sha256:"e3c96e5b87f26c54347abcc591e241a78ae3ccccfc2eaa0bc447f1400410ed92",duration:.9},"video/10001113.webm":{bytes:28753,sha256:"1b16a8e140a6787675a0201e4ef4dea5633076d9494cdfb6f8c16c9b2507b8ea",duration:1.166},"video/10001114.webm":{bytes:111410,sha256:"13cd5f511962912110c6ac8d6ef7e39a823fcf48477762a18123080866b43138",duration:10},"video/10001115.webm":{bytes:43777,sha256:"0000583cb60ee7e8d562e13bbf5ddd7fc3fd8c9d93d2bcc7b96df9ab524f980e",duration:1.133},"video/10001116.webm":{bytes:87365,sha256:"d96dc3d3f552ca40e77ddd55b50da8c93a7bf34f53a6ecf01802751248f2189c",duration:10},"video/10001117.webm":{bytes:15087,sha256:"9e95f50d1385083834770fa0f09ffe79fa570e93def94b52a6a7a7e64f581a0b",duration:1.466},"video/10001118.webm":{bytes:74213,sha256:"4340b8ff11f8a3795d4d2fcd5c32d112ea4bb92153880f8b3eda34e15a82738d",duration:10},"video/10001119.webm":{bytes:26934,sha256:"244f12529343f2163be2b075dafc1907662ef53ab60c4ad081b8db9d81b4abc1",duration:10},"video/10001120.webm":{bytes:15909,sha256:"77c6308d62f016d2f6a0669f5c165efab2afff3d15611afb54965bc65e3ecca4",duration:1.566},"video/10001121.webm":{bytes:14072,sha256:"d5cc8215a5d4e8499f402cf5ad34e4ed958319a559c669aef9d5507be8f31d03",duration:1.333},"video/10001122.webm":{bytes:39768,sha256:"a0c0c537e22211affdafff6d4a42fee3b6fbe1d0fcdc17adbd5854b6395c9496",duration:2.6},"video/10001124.webm":{bytes:568780,sha256:"39b58e373aa854c91dfad8af90b3b84e9b04b7cde050388152622ac2c1f9c19b",duration:1.4},"video/10001125.webm":{bytes:179690,sha256:"42591454c30e14b1a65f5c7696516edf9e690002ca6fedf5a331e3fb39e13a83",duration:1.233},"video/10001126.webm":{bytes:243266,sha256:"faf35bae68aa35a358447c791c91808872921d4794f5c90e5763d692bd807a9f",duration:3.133},"video/10001127.webm":{bytes:208681,sha256:"42fecb16b110931f78c06d61d52374f5fa74fee60b1b37dcec4c608bf240adba",duration:3.066},"video/10001128.webm":{bytes:14331,sha256:"4a57b0082c4f32309eb212ebea0d1069efb87e4c3da4d65d556ca7d4cf397954",duration:1.966},"video/10001129.webm":{bytes:34019,sha256:"4bcab75c2f7ce6e2980b13fca3f8cb95bfb3bbb46396f52b0691a3b9499b2af9",duration:1.133},"video/10001130.webm":{bytes:10181,sha256:"f9e3bd1de752007281ab2d45fddc933b4709182a765e602879c3c9402dcebef2",duration:1.2},"video/10001131.webm":{bytes:168665,sha256:"275465192460a885a738b907be135e91be2546c9596cf0d0232ffea6d06065a5",duration:10},"video/10001132.webm":{bytes:97830,sha256:"4dbe1e8d33843f8360ad246082650ae7ebd0d66ce6b133e2f12f1d748719d13d",duration:10},"video/10001133.webm":{bytes:51508,sha256:"44b562df1ae76f3a1983447107aeeb00fb439afe3eb3e1d6a67a141467673aa1",duration:1.5},"video/10001134.webm":{bytes:36767,sha256:"adf67abc9bb2872b6aae897ecdaeb281384654e3066d03b07d6616a7393708a0",duration:2},"video/10001135.webm":{bytes:26042,sha256:"c2d6215296f9e200fc75c0d36f8523c4c5b24066a0e8eda2f01b6f5daa717bec",duration:2},"video/10001136.webm":{bytes:28762,sha256:"07d2d47eb8672b958f35fe6abe9ee2dae11db9a8846f1ac8d1e7206e466bf2db",duration:1.466},"video/10001137.webm":{bytes:151972,sha256:"f94c2f584f894e56def265d016e53ebf81473677633dfded66890fe6d3e2f175",duration:2.066},"video/10001138.webm":{bytes:68031,sha256:"43929724a51e2f99d9ebf5f7ffebc51ee90712b7520e213a9457bfcbb5f9a517",duration:2.033},"video/10001139.webm":{bytes:72750,sha256:"19d626334d981b16c00b4c5cc39ddab5bca75034f497f5345f18526e7fe25250",duration:2.033},"video/10001140.webm":{bytes:70456,sha256:"8cadee838df527fbe11b4e8fc5e3b7c784fad21f61c7c214ef7dffca72f0ef58",duration:2.033},"video/10001141.webm":{bytes:42664,sha256:"34f97de7d1dc183a5fb958305424f73ea6498254804c3ad669d44dc04bef939a",duration:2.033},"video/10001142.webm":{bytes:710423,sha256:"dd2aec022ab89b4e048b4e212216e5c0862b6c8be9899970d11b1d7a2267f9be",duration:3.8},"video/10001143.webm":{bytes:14487,sha256:"c393d0afa72faccf42aefb8cf946f08725dd76e28af2cb608049ae9416dc0887",duration:1.066},"video/10001144.webm":{bytes:13412,sha256:"47692e1e22510aef145080fcf1e42d6d4594cbc1ce3ca8dd89f247d7c59fd271",duration:2.233},"video/10001145.webm":{bytes:19632,sha256:"8fa9abcbc084f7952e2dd8b1ec325e676b78e2fd2be421aadbc83137463175f4",duration:2.266},"video/10001146.webm":{bytes:13723,sha256:"bda3925d9183b351f85c8152a9a2ca36ed994e6656fb210e08e2251df70c4ddd",duration:2.266},"video/10001147.webm":{bytes:23765,sha256:"566fafa5c585eb127bb81912324486a26c12db6bce8509763eb130ca1bf4be57",duration:10},"video/10001148.webm":{bytes:48537,sha256:"d7eb086bbe4e43d1733c4b7c4683248fc9686c0d2540b15b44030050415f18e7",duration:1.233},"video/10001149.webm":{bytes:56797,sha256:"a89363c03820728fe3041217caf3daa2c6b3b18c03a38478c9fbc38013df4874",duration:10},"video/10001150.webm":{bytes:71959,sha256:"33d5db768fc90f96ad2dd81fcaa2944ad721331fdba90ebbbc76abe9c9e622ad",duration:1.366},"video/10001151.webm":{bytes:70714,sha256:"f866a0e45980bbb029df58349d1401f259e79076e5a919584eebaea9b94d451b",duration:1.233},"video/10001152.webm":{bytes:1072305,sha256:"b9200f9b1dea6f7350dfaa0d1bc4eadcc4b4f0650fe190fe22ad25bc7e3a2b7e",duration:10},"video/10001153.webm":{bytes:37507,sha256:"add87a7074d611f312fe0c43a24ae18d774ff62a4cd24db69d2526fb7a2e1736",duration:1.2},"video/10001154.webm":{bytes:755336,sha256:"cae2ff5f2dc15d639a5ea411cab50a9bea03fad5f73116764945f6d012be74b6",duration:10},"video/10001155.webm":{bytes:28588,sha256:"ee157e4e1e8452bf7f1dbb32bb5509e9b8659edc5d1bb0bbba0b70af2e6c4328",duration:1.2},"video/10001156.webm":{bytes:21193,sha256:"2655315d0fa59d136b1a77e760a5b085aeaabfe70d1130ea17e937b037160afb",duration:1.2},"video/10001157.webm":{bytes:146426,sha256:"eb48647b768bf300429f157eb570b4c0d7c9d04bb3df53768e6875b91e51931d",duration:10},"video/10001158.webm":{bytes:231389,sha256:"8ea98583d1972f176e3354b6d7c116ac6b2689c1593b02ae4fea55774ca0bf8c",duration:10},"video/10001159.webm":{bytes:69087,sha256:"8b70a7eb8e83a9230bd3b7a658633c84037ed0667b0da87b78206f48ca2f487b",duration:10},"video/10001160.webm":{bytes:46691,sha256:"11698fa6b8a4f5ffd3f289e41266a7097f0e620bbb64359e97f1bcf7430731e4",duration:1},"video/10002001.webm":{bytes:543544,sha256:"6a3509a94437899e30846d0f701e0ae3ccfa82793f51d293ed507c8efaa67099",duration:10},"video/10002002.webm":{bytes:796059,sha256:"8cdab49708511f4d42d45fe0a319d2334e4e9aa42709e946c8d00a1ff77b07fd",duration:10},"video/10002003.webm":{bytes:715230,sha256:"6b5422c889243db499114370af5a260d624180fe17991445f7e3133eee619381",duration:10},"video/10002004.webm":{bytes:693595,sha256:"24aa66de5a0649c10652bb66b70a0407210e26e18a8d2d64b0610ca29fdfb02b",duration:10},"video/10002005.webm":{bytes:815174,sha256:"5ec0b1a66bf28c7bf0b2bc61a7bbbb374be18d4b1f338217ab3d84d88cd2838f",duration:10},"video/10002006.webm":{bytes:194930,sha256:"7ef8f4e4a5ea4430ea4910b06f0dc00c71d61ed9bd54e03b4a268a4d1f3e7525",duration:1.9},"video/10002007.webm":{bytes:93264,sha256:"cbdc07ca88626c73d074eae923aac8972ce8898fd331fecb40cbb22392d32e6a",duration:2.4},"video/10002008.webm":{bytes:669120,sha256:"9299206b7cdc7fc4f319864e425be91f90b4721bcd8555f56ead4dc45f776b27",duration:3.433},"video/10002009.webm":{bytes:434158,sha256:"3db3a361cf11e9ee543dff860ba8a7aef3831d920e1e95fb6773a13f15f7ff6a",duration:10},"video/10002010.webm":{bytes:161424,sha256:"3b6e41d32df6eca2645978e8ba0f13a4aef69aa8217d38e85e5b8db058016a9a",duration:2.5},"video/10002011.webm":{bytes:73568,sha256:"86966a56aef3a2a6a263526d1efa0092044b48ce26f7f076c5bdd259131a8121",duration:1.8},"video/10002012.webm":{bytes:187942,sha256:"2b3e1b9538ddaeb62adeae52b9ea0ab38801430c76bab0f6425da9e127e0d896",duration:2.933},"video/10002013.webm":{bytes:482076,sha256:"14b90e097eebe09d3337afb0867da590081f111b5593d601963dcccf39638a4e",duration:3.9},"video/10002014.webm":{bytes:1475640,sha256:"f81e417888b1a833e254cf069f33a5ff1820bfc1599ac0f86d67a3cea44cad78",duration:10},"video/10002015.webm":{bytes:2392745,sha256:"db572d1dd4f090a104cdeea17a84aaa94c5800820ec66168ccd2eb99cb05d867",duration:10},"video/10002016.webm":{bytes:178656,sha256:"aa5dfb8ef461f168b2b64790b90f5a0e847b2a02aa3964e35a1734b37f0b69dc",duration:2.5},"video/10002017.webm":{bytes:80715,sha256:"addc2369f55de0a067937f48f40f300d123c320efc9c03ff3be6ea922581b575",duration:.733},"video/10002018.webm":{bytes:790722,sha256:"1d8d5b69fe0a5949566c216eac072f739ee0be9d0ac7ad85a809db6fe4da14c5",duration:10},"video/10002019.webm":{bytes:115786,sha256:"1a4a39ff5bd9dd26bfda75176469acca6a2aace830961c3a5e5dc164bcc1ac64",duration:2.2},"video/10002020.webm":{bytes:581822,sha256:"2ce9a04ffb641ef53d0090a22dcb394f580475c41052c5dea83ceed1dffbcd69",duration:10},"video/10002021.webm":{bytes:568208,sha256:"b3aa5b1f712c379a80767d599059adcb482bb8cd2c0f07c404b6fd862c8d7e9b",duration:10},"video/10002022.webm":{bytes:610636,sha256:"8c2663f7c031328ef06dc59aa0c0a11f5e7708b3981b4399d8bfd609573e986f",duration:10},"video/10002023.webm":{bytes:612556,sha256:"79a90a1d7d5f6a2b9a1e81738e12566f14ce96f99fa81ca102aab157b4b2664f",duration:10},"video/10002024.webm":{bytes:1453404,sha256:"7e5412973270e8e58a539c9f83304b4cd07a0faa740a4752b982333e380a1d55",duration:3.4},"video/10002025.webm":{bytes:1544749,sha256:"63af745659c7063ba0d7fff63af97eaf8972c2a5a06cd6739ad518cd4187b153",duration:10},"video/10002026.webm":{bytes:280741,sha256:"cf701673766d966c3b522749ba169622c98261501be50bb3afee3c998898486e",duration:10},"video/10002027.webm":{bytes:327918,sha256:"d59447600017e11aa42fc342833fad186af9f9d1670aba32f922d77fca63d6c6",duration:10},"video/10002028.webm":{bytes:336612,sha256:"827a91d60bf0fa75a131853e0f1fda8855cf2cfdf9b06194d195833bda026986",duration:10},"video/10002029.webm":{bytes:700863,sha256:"1a8ad0969222629d8fd89bafb174df58082aaa50755e3843ca82ad953b18e0aa",duration:10},"video/10002030.webm":{bytes:34533,sha256:"f4080af95380d8f640133b255bbe2b25b03180a3cfcd99aed1f281265c6f18cb",duration:1.966},"video/10002031.webm":{bytes:187567,sha256:"8bbdc15b123c3ac7f3cba16b04ca18571996e6556f190edd4f13d6a50ecd8c0c",duration:1.166},"video/10002032.webm":{bytes:1776997,sha256:"e3b15a717b1db503bd3d838ed9b6fdb70def2fcb4b47f51db24eb86fc03e7923",duration:10},"video/10002033.webm":{bytes:297716,sha256:"425cd20f5a5038f720e0f3c4dd65ab58c6c5ad80aa346b6c9035eb0700e69d3e",duration:2},"video/10002034.webm":{bytes:2495666,sha256:"70f377770e704850e9a2eff20fa283cbae7939fd42b66b85110b9b6eb1aa2add",duration:10},"video/10002035.webm":{bytes:183443,sha256:"a631becd1c4585ec80d91b435a5c6cda28b6b2033f2eb62f929a7580ad2ffbad",duration:10},"video/10002036.webm":{bytes:89987,sha256:"5b523e749db42145e8f3947e86d6e8d9683300b737f7775477cd94f02c1c8004",duration:10},"video/10002037.webm":{bytes:823633,sha256:"a4e7ba6ce6a6a43c31597d6b6430e86c507ab45a89910eb5010f1d058901f539",duration:10}}};var O6=ql.version,z6="/qxqy-vfx/",_u=Object.freeze(ql.assets.map(Object.freeze)),D6=new Map(_u.map(e=>[e.id,e]));function yc(e,t="animation"){let a=D6.get(Number(e));return a?.scope===(t==="fullscreen"?"screen":"ui")?a:null}function U6(e){return Object.hasOwn(ql.files,e)?ql.files[e]:null}function xc(e){return U6(e)?`${z6}${O6}/${e}`:null}function Al(e,t){let a=Math.max(0,t||0);return a<e.duration?a:e.loop?e.duration/2+(a-e.duration)%(e.duration/2):null}var _6=Object.freeze(["KEYBOARD","TOUCHSCREEN","CONTROLLER_CONSOLE","CONTROLLER_MOBILE"]),k6=Object.freeze({"pc-16-9":{id:"pc-16-9",device:"pc",platform:"KEYBOARD",width:1600,height:900,ratio:"16:9",luaDevice:"KeyboardAndMouse",label:"PC 1600\xD7900"},"pc-21-9":{id:"pc-21-9",device:"pc",platform:"KEYBOARD",width:2100,height:900,ratio:"21:9",luaDevice:"KeyboardAndMouse",label:"PC 2100\xD7900"},"mobile-16-9":{id:"mobile-16-9",device:"mobile",platform:"TOUCHSCREEN",width:1280,height:720,ratio:"16:9",luaDevice:"Mobile",label:"\u624B\u673A 1280\xD7720"},"mobile-19.5-9":{id:"mobile-19.5-9",device:"mobile",platform:"TOUCHSCREEN",width:1560,height:720,ratio:"19.5:9",luaDevice:"Mobile",label:"\u624B\u673A 1560\xD7720"},"mobile-4-3":{id:"mobile-4-3",device:"mobile",platform:"TOUCHSCREEN",width:1280,height:960,ratio:"4:3",luaDevice:"Mobile",label:"\u624B\u673A 1280\xD7960"}});var zg=Object.freeze({KEYBOARD:"pc-16-9",TOUCHSCREEN:"mobile-16-9",CONTROLLER_CONSOLE:"pc-16-9",CONTROLLER_MOBILE:"mobile-16-9"}),Dg=Object.freeze({"server-container":"\u5BA2\u6237\u7AEF\u63A7\u4EF6\u5BB9\u5668",container:"\u5BB9\u5668\u8282\u70B9",textbox:"\u6587\u672C\u6846",image:"\u56FE\u7247",button:"\u9884\u8BBE\u6309\u94AE",cursor:"\u5149\u6807\u68C0\u6D4B\u533A\u57DF",grid:"\u7F51\u683C\u89C6\u7A97",reference:"\u6A21\u677F\u5F15\u7528\u63A7\u4EF6",textwindow:"\u6587\u672C\u89C6\u7A97",keyhint:"\u6309\u952E\u63D0\u793A",animation:"\u754C\u9762\u52A8\u6548",fullscreen:"\u5168\u5C4F\u52A8\u6548"}),Ug=Object.freeze(["server-container","container","textbox","cursor","reference","grid","image","button","textwindow","keyhint","animation","fullscreen"]),_g=Object.freeze({"server-container":null,container:[150,150],textbox:[100,40],image:[80,80],button:[150,50],cursor:[150,50],grid:[80,80],reference:[80,80],textwindow:[100,40],keyhint:[40,40],animation:[100,100],fullscreen:null}),kg=Object.freeze({100001:"rect",100002:"circle",100003:"triangle",100004:"fourstar",100005:"fivestar",100006:"ring"});var Lg=Object.freeze({font:4294967295,bg:16777215,outline:858993459,image:4294967295});function Nl(e,t,a){return{x:e.a*t+e.c*a+e.tx,y:e.b*t+e.d*a+e.ty}}function Cl(e){let t=e.a*e.d-e.b*e.c;return!Number.isFinite(t)||Math.abs(t)<1e-8?null:{a:e.d/t,b:-e.b/t,c:-e.c/t,d:e.a/t,tx:(e.c*e.ty-e.d*e.tx)/t,ty:(e.b*e.tx-e.a*e.ty)/t}}function m2(e,t,a){let i=Nl(e,t,a);return{a:e.a,b:e.b,c:e.c,d:e.d,tx:i.x,ty:i.y}}function ku(e,t,a){let i=(l,n)=>l<=0?0:!(n>0)||l>=n?1:l/n;return Math.min(i(e+a.width/2,a.featherX),i(a.width/2-e,a.featherX),i(t+a.height/2,a.featherY),i(a.height/2-t,a.featherY))}function p2(e){let t={children:[]},a=[t],i=[];for(let l of e||[]){if(!l||l.id==null)continue;let n=l.masks||[],o=n.map(u=>JSON.stringify([u.id,u.matrix,u.width,u.height,u.featherX,u.featherY])),s=0;for(;s<i.length&&s<o.length&&i[s]===o[s];)s++;a.length=s+1;for(let u=s;u<n.length;u++){let d={mask:n[u],children:[]};a.at(-1).children.push(d),a.push(d)}a.at(-1).children.push({item:l}),i=o}return t.children}function h2(e,t){let a=Math.max(1,e.width),i=Math.max(1,e.height),l=e.getContext("2d"),n=l.createImageData(a,i),o=n.data;for(let s=0;s<i;s+=1){let u=t.height/2-(s+.5)*t.height/i;for(let d=0;d<a;d+=1){let v=-t.width/2+(d+.5)*t.width/a,x=Math.round(255*ku(v,u,t)),p=(s*a+d)*4;o[p]=255,o[p+1]=255,o[p+2]=255,o[p+3]=x}}return l.putImageData(n,0,0),e}var wc=class{constructor(t,{now:a=()=>performance.now(),onStatus:i=()=>{},timeout:l=3e4}={}){Object.assign(this,{host:t,now:a,onStatus:i,timeout:l}),this.entries=new Map,this.key="",this.disposed=!1,this.snapshot=null,this.raf=null,this.lastFrame=0,this.host.style.display="contents",this.badge=t.ownerDocument.createElement("span"),this.badge.dataset.uiVfxStatus="",Object.assign(this.badge.style,{position:"absolute",left:"5px",bottom:"5px",zIndex:"3",color:"#ffc18b",background:"#1a233ddd",padding:"2px 5px",font:"11px sans-serif",pointerEvents:"none",display:"none"}),t.append(this.badge),this.errors=new Map}report(t,a){a?this.errors.set(t,String(a)):this.errors.delete(t);let i=[...this.errors.values()];this.badge.style.display=i.length?"":"none",this.badge.textContent=i.length?c`动效加载失败(${i.length})`:"",this.badge.title=i.join(`
10
+ `),this.onStatus({errors:i})}time(){return(this.snapshot?.time||0)+(this.realtime&&!this.host.ownerDocument.hidden?Math.min(.25,Math.max(0,(this.now()-this.observedAt)/1e3)):0)}sync(t){if(this.disposed)return;let a=`${t?.audio?.sessionId||"editor"}:${t?.viewPlayerIndex||1}`;a!==this.key&&(this.reset(),this.key=a),this.snapshot=t,this.observedAt=this.now(),this.realtime=t?.running!==!1&&!t?.paused&&t?.clockMode!=="manual";let i=t?.running===!1?[]:t?.effects||[],l=new Set(i.map(s=>String(s.id)));for(let s of this.entries.keys())l.has(s)||this.remove(s);for(let s of this.errors.keys())l.has(s)||this.report(s,"");let n=0,o=0;for(let s of i){let u=String(s.id),d=yc(s.animationId,s.kind),v=this.entries.get(u);if(v&&(v.row.generation!==s.generation||v.asset!==d)&&this.remove(u),!d){this.report(u,`Unknown UI effect: ${s.animationId??""}`);continue}if(Al(d,this.time()-s.startedAt)===null){this.remove(u),this.report(u,"");continue}let x=d.width*d.height*2;if(n+x>24*1024*1024||o>=12){this.remove(u),this.report(u,`UI effect ${d.id}: preview budget exceeded`);continue}n+=x,o++;let p=this.entries.get(u);if(!p)try{this.report(u,""),p=this.create(u,s,d)}catch(h){this.report(u,`UI effect ${d.id}: ${h.message}`);continue}p.row=s;try{this.position(p),this.advance(p)}catch(h){this.fail(p,h)}}this.schedule()}create(t,a,i){let l=this.host.ownerDocument;if(!globalThis.CSS?.supports("mix-blend-mode","plus-lighter"))throw new Error("C/T blending is unavailable");let n=l.createElement("video");n.muted=!0,n.playsInline=!0,n.preload="auto";let o=Math.min(1,1536/Math.max(i.width,i.height),Math.sqrt(1024*1024/(i.width*i.height))),s=["multiply","plus-lighter"].map(d=>{let v=l.createElement("canvas");return v.width=Math.max(1,Math.round(i.width*o)),v.height=Math.max(1,Math.round(i.height*o)),v.dataset.uiVfx=`${t}:${d}`,Object.assign(v.style,{position:"absolute",pointerEvents:"none",transformOrigin:"center",mixBlendMode:d,display:"none"}),v}),u={id:t,row:a,asset:i,video:n,planes:s,failed:!1,ready:!1,playing:!1,maskKey:"",mask:null};u.fail=()=>this.fail(u,new Error(`media load/decode failed (${n.error?.code||"unknown"})`)),u.loaded=()=>{if(!(this.disposed||u.failed||this.entries.get(t)!==u))try{if(n.videoWidth!==i.width*2||n.videoHeight!==i.height)throw new Error("Unexpected packed C/T dimensions");u.ready=!0,clearTimeout(u.timer),this.advance(u)}catch(d){this.fail(u,d)}},u.seeked=()=>{if(!u.failed&&this.entries.get(t)===u)try{this.draw(u)}catch(d){this.fail(u,d)}},n.addEventListener("error",u.fail),n.addEventListener("loadeddata",u.loaded),n.addEventListener("seeked",u.seeked),u.timer=setTimeout(()=>this.fail(u,new Error("media loading timed out")),this.timeout),this.entries.set(t,u),this.host.append(...s);try{n.src=xc(i.video)+(a.generation>1?"?retry=1":""),n.load()}catch(d){this.fail(u,d)}return u}position(t){let{asset:a,row:i,planes:l}=t,n=this.snapshot.canvasWidth,o=this.snapshot.canvasHeight,s=i.matrix;if(i.kind==="fullscreen"){let h=Math.max(n/a.width,o/a.height);s={a:h,b:0,c:0,d:h,tx:n/2,ty:o/2}}if(!s||![n,o,s.a,s.b,s.c,s.d,s.tx,s.ty].every(Number.isFinite)||n<=0||o<=0)throw new Error("Invalid effect geometry");for(let h of l)Object.assign(h.style,{left:`${(s.tx-a.width/2)/n*100}%`,top:`${(o-s.ty-a.height/2)/o*100}%`,width:`${a.width/n*100}%`,height:`${a.height/o*100}%`,transform:`matrix(${s.a},${-s.b},${-s.c},${s.d},0,0)`,zIndex:i.kind==="fullscreen"||i.layer==="BelowAllControls"?"-1":"1"});this.host.append(...l);let u=JSON.stringify([i.masks,s]);if(u===t.maskKey||(t.maskKey=u,t.mask=null,!i.masks?.length))return;let d=this.host.ownerDocument.createElement("canvas");d.width=l[0].width,d.height=l[0].height;let v=d.getContext("2d"),x=v.createImageData(d.width,d.height),p=i.masks.map(h=>({spec:h,inverse:Cl(h.matrix)}));for(let h=0;h<d.height;h++)for(let E=0;E<d.width;E++){let C=Nl(s,(E+.5)*a.width/d.width-a.width/2,a.height/2-(h+.5)*a.height/d.height),N=1;for(let{spec:f,inverse:r}of p){if(!r){N=0;break}let g=Nl(r,C.x,C.y);N*=ku(g.x,g.y,f)}x.data[(h*d.width+E)*4+3]=Math.round(255*N)}v.putImageData(x,0,0),t.mask=d}advance(t){if(t.failed||!t.ready)return;let a=Al(t.asset,this.time()-t.row.startedAt);if(a===null){t.video.pause();for(let n of t.planes)n.style.display="none";return}let i=t.video,l=this.realtime&&!this.host.ownerDocument.hidden;l||(i.pause(),t.playing=!1),!i.seeking&&Math.abs(i.currentTime-a)>(l?.18:1/60)&&(i.currentTime=a),l&&i.paused&&!t.playing&&(t.playing=!0,Promise.resolve(i.play()).then(()=>{t.playing=!1},n=>{t.playing=!1,n.name!=="AbortError"&&this.fail(t,n)})),i.seeking||this.draw(t)}draw(t){if(!(!t.ready||t.failed||t.video.readyState<2||Al(t.asset,this.time()-t.row.startedAt)===null))for(let i=0;i<2;i++){let l=t.planes[i],n=l.getContext("2d");n.globalCompositeOperation="source-over",n.clearRect(0,0,l.width,l.height),n.drawImage(t.video,i===0?t.asset.width:0,0,t.asset.width,t.asset.height,0,0,l.width,l.height),t.mask&&(n.globalCompositeOperation="destination-in",n.drawImage(t.mask,0,0),n.globalCompositeOperation="source-over"),l.style.display=""}}fail(t,a){if(!(this.disposed||t.failed||this.entries.get(t.id)!==t)){t.failed=!0,this.releaseMedia(t);for(let i of t.planes)i.style.display="none";this.report(t.id,`UI effect ${t.asset.id}: ${a.message}`)}}schedule(){this.raf!==null||this.disposed||!this.entries.size||(this.raf=requestAnimationFrame(()=>{if(this.raf=null,this.now()-this.lastFrame>=1e3/30){this.lastFrame=this.now();for(let t of this.entries.values())try{this.advance(t)}catch(a){this.fail(t,a)}}this.realtime&&[...this.entries.values()].some(t=>!t.failed&&Al(t.asset,this.time()-t.row.startedAt)!==null)&&this.schedule()}))}releaseMedia(t){clearTimeout(t.timer);let a=t.video;a.removeEventListener("error",t.fail),a.removeEventListener("loadeddata",t.loaded),a.removeEventListener("seeked",t.seeked),a.pause(),a.removeAttribute("src"),a.load()}remove(t){let a=this.entries.get(t);if(a){this.entries.delete(t),this.releaseMedia(a);for(let i of a.planes)i.remove(),i.width=i.height=1;a.mask=null,this.report(t,"")}}reset(){this.raf!==null&&cancelAnimationFrame(this.raf),this.raf=null;for(let t of this.entries.keys())this.remove(t);this.errors.clear(),this.report("",""),this.snapshot=null}destroy(){this.disposed=!0,this.reset(),this.badge.remove()}};var Lu="qxqy-ui-vfx-preview";function g2(e){let{createElement:t,useEffect:a,useRef:i,useState:l}=e;function n({boxes:s,canvasWidth:u,canvasHeight:d}){let v=i(null),x=i(null);return x.current={boxes:s,canvasWidth:u,canvasHeight:d},a(()=>{let p=new wc(v.current);v.current.parentElement.style.isolation="isolate";let h=performance.now(),E=new Map,C=g=>{let w=E.get(g.detail.id);w&&(w.stopped=g.detail.stop,w.startedAt=(performance.now()-h)/1e3,w.generation++)},N=v.current.closest(".qxsim")||v.current.parentElement;N.addEventListener(Lu,C);let f=()=>{let{boxes:g,canvasWidth:w,canvasHeight:S}=x.current,z=(performance.now()-h)/1e3,q=[],k=new Set;for(let D of g){if(!["animation","fullscreen"].includes(D.kind)||D.animationId==null||String(D.animationId).trim()===""||Number(D.animationId)===0)continue;k.add(D.id);let H=E.get(D.id);(!H||H.animationId!==D.animationId)&&(H={animationId:D.animationId,startedAt:z,generation:(H?.generation||0)+1,stopped:!1},E.set(D.id,H)),!H.stopped&&D.visibleInHierarchy!==!1&&D.visible!==!1&&q.push({...H,id:D.id,kind:D.kind,layer:D.layer,matrix:m2(D.renderMatrix,D.centerX,D.centerY),masks:D.masks||[]})}for(let D of E.keys())k.has(D)||E.delete(D);p.sync({effects:q,time:z,canvasWidth:w,canvasHeight:S,running:!0})},r=setInterval(f,50);return f(),()=>{clearInterval(r),N.removeEventListener(Lu,C),p.destroy()}},[]),t("div",{ref:v,style:{display:"contents"}})}function o({item:s,commit:u}){let d=i(null),[v,x]=l(""),[p,h]=l(!1),[E,C]=l(""),N=hn()==="en",f=yc(s.animationId,s.kind),r=_u.filter(w=>w.scope===(s.kind==="fullscreen"?"screen":"ui")&&`${w.id} ${w.name} ${w.nameEn}`.toLowerCase().includes(v.toLowerCase())),g=w=>d.current.dispatchEvent(new CustomEvent(Lu,{bubbles:!0,detail:{id:s.id,stop:w}}));return t("div",{ref:d,className:"qxsim-section-body","data-ui-vfx-picker":""},t("strong",null,f?`${f.id} \xB7 ${N?f.nameEn:f.name}`:c("\u8BF7\u9009\u62E9\u52A8\u6548\u7D20\u6750")),t("p",{className:"qxsim-muted"},c("\u753B\u5E03\u9884\u89C8\u9759\u97F3\uFF1B\u52A0\u8F7D\u5931\u8D25\u53EA\u8DF3\u8FC7\u5F53\u524D\u52A8\u6548\u3002")),t("div",{style:{display:"flex",gap:6,flexWrap:"wrap"}},t("button",{className:"qxsim-action",onClick:()=>h(!p)},c("\u9009\u62E9\u7D20\u6750")),t("button",{className:"qxsim-action",onClick:()=>g(!1)},c("\u91CD\u64AD / \u91CD\u8BD5")),t("button",{className:"qxsim-action",onClick:()=>g(!0)},c("\u505C\u6B62\u9884\u89C8"))),E?t("p",{role:"status"},E):null,p?t("div",null,t("input",{value:v,placeholder:c("\u641C\u7D22 ID / \u540D\u79F0"),"aria-label":c("\u641C\u7D22\u52A8\u6548"),onChange:w=>x(w.target.value),style:{width:"100%",margin:"8px 0"}}),t("div",{style:{maxHeight:310,overflow:"auto",display:"grid",gridTemplateColumns:"1fr 1fr",gap:5}},r.map(w=>t("button",{key:w.id,className:"qxsim-action",title:N?w.nameEn:w.name,style:{height:"auto",minHeight:80,whiteSpace:"normal"},onClick:()=>{C(""),Promise.resolve().then(()=>u("animationId",String(w.id))).then(()=>h(!1)).catch(S=>C(S.message))}},t("img",{src:xc(w.icon),loading:"lazy",alt:"",width:48,height:48,style:{objectFit:"contain",display:"block",margin:"auto"},onError:S=>{S.currentTarget.style.visibility="hidden"}}),t("div",null,w.id),t("small",null,N?w.nameEn:w.name))))):null)}return{Effects:n,Picker:o}}var L6=e=>`#${(Number(e)&16777215).toString(16).padStart(6,"0").toUpperCase()}`,v2=e=>String(Math.round(e/255*100));function y2(e){let t=e.createElement;return function({field:i,commit:l}){let n=L6(i.value),o=Number(i.value)>>>24,s=v2(o),[u,d]=e.useState(n),[v,x]=e.useState(s),p=e.useRef(!1),[h,E]=e.useState(""),[C,N]=e.useState("");e.useEffect(()=>{d(n),E("")},[n]),e.useEffect(()=>{p.current||(x(s),N(""))},[s]);function f(S){let z=S.trim().replace(/^#/,"");if(!/^[0-9a-f]{6}$/i.test(z)){E(c("\u8BF7\u8F93\u5165\u516D\u4F4D\u989C\u8272\uFF0C\u4F8B\u5982 #FF8800"));return}let q=`#${z.toUpperCase()}`;d(q),E(""),l(i.key,k=>(Number(k)&4278190080|parseInt(z,16))>>>0)}function r(S){let z=Number(S);if(!String(S).trim()||!Number.isInteger(z)||z<0||z>100){N(c("\u900F\u660E\u5EA6\u8BF7\u8F93\u5165 0\u2013100 \u7684\u6574\u6570"));return}let q=Math.round(z/100*255);p.current=!1,x(v2(q)),N(""),l(i.key,k=>(q<<24|Number(k)&16777215)>>>0)}let g=c("Alpha\uFF1A0% \u5B8C\u5168\u900F\u660E\uFF0C100% \u5B8C\u5168\u4E0D\u900F\u660E"),w=v.trim()&&Number.isFinite(Number(v))?Math.max(0,Math.min(100,Number(v))):Number(s);return t("div",{className:"qxsim-color-editor",role:"group","aria-label":c`${c(i.label)}与透明度`},t("div",{className:"qxsim-field"},t("span",{className:"qxsim-field-label"},c(i.label)),t("span",{className:"qxsim-color-row"},t("span",{className:"qxsim-color-swatch",title:c("\u6253\u5F00\u53D6\u8272\u5668")},t("input",{type:"color",value:/^#[0-9a-f]{6}$/i.test(u)?u:n,disabled:!!i.readonly,"aria-label":c`${c(i.label)}取色器`,onInput:S=>f(S.target.value)})),t("input",{type:"text",value:u,spellCheck:!1,disabled:!!i.readonly,placeholder:"#RRGGBB","aria-label":`${c(i.label)} RGB`,"aria-invalid":!!h,onChange:S=>{d(S.target.value),E("")},onBlur:()=>f(u),onKeyDown:S=>{S.key==="Enter"&&S.currentTarget.blur(),S.key==="Escape"&&(d(n),E(""))}})),h?t("small",{className:"qxsim-color-error",role:"alert"},h):null),t("div",{className:"qxsim-field"},t("span",{className:"qxsim-field-label",title:g},c("\u900F\u660E\u5EA6")),t("span",{className:"qxsim-alpha-row"},t("input",{type:"range",min:0,max:100,step:1,value:w,disabled:!!i.readonly,title:g,"aria-label":c`${c(i.label)}透明度滑块`,onInput:S=>r(S.target.value)}),t("span",{className:"qxsim-alpha-value"},t("input",{type:"number",min:0,max:100,step:1,inputMode:"numeric",value:v,disabled:!!i.readonly,title:g,"aria-label":c`${c(i.label)}透明度`,"aria-invalid":!!C,onChange:S=>{p.current=!0,x(S.target.value),N("")},onBlur:()=>{p.current&&r(v)},onKeyDown:S=>{S.key==="Enter"&&S.currentTarget.blur(),S.key==="Escape"&&(p.current=!1,x(s),N(""))}}),t("span",{"aria-hidden":!0},"%"))),C?t("small",{className:"qxsim-color-error",role:"alert"},C):null))}}function x2(e,t,a){let i=e.renderMatrix;if(!i)return{};let l=i.a*e.centerX+i.c*e.centerY+i.tx,n=i.b*e.centerX+i.d*e.centerY+i.ty;return{left:`${(l-e.width/2)/t*100}%`,bottom:`${(n-e.height/2)/a*100}%`,width:`${e.width/t*100}%`,height:`${e.height/a*100}%`,transform:`matrix(${i.a},${-i.b},${-i.c},${i.d},0,0)`}}var ri='"Microsoft YaHei UI","Microsoft YaHei","HarmonyOS Sans SC","Noto Sans CJK SC",sans-serif',Ru="/qxqy-font";var Bu=e=>`QxqyLocal_${e}`,w2=e=>e?`"${Bu(e)}",${ri}`:ri;var i3=Object.freeze({aqua:"00ffff",black:"000000",blue:"0000ff",brown:"a52a2a",cyan:"00ffff",darkblue:"0000a0",fuchsia:"ff00ff",green:"008000",grey:"808080",lightblue:"add8e6",lime:"00ff00",magenta:"ff00ff",maroon:"800000",navy:"000080",olive:"808000",orange:"ffa500",purple:"800080",red:"ff0000",silver:"c0c0c0",teal:"008080",white:"ffffff",yellow:"ffff00"});function S2(e,t){return`${e.italic?"italic ":""}${e.bold?"bold ":""}${e.fontSize}px ${t}`}function E2(e){let t=Number(e)>>>0;return`rgba(${t>>>16&255},${t>>>8&255},${t&255},${(t>>>24)/255})`}function R6(e,t,a,i,l=ri){let n=t.textLayout;if(!n?.richLines||a<=0||i<=0)return;let o=t.horizontalAlignment==="Right"?1:t.horizontalAlignment==="Middle"?.5:0,s=t.verticalAlignment==="Bottom"?1:t.verticalAlignment==="Middle"?.5:0,u=t.kind==="textwindow"?t.scroll:null,d=n.visibleLineCount??n.richLines.length,v=n.visibleContentHeight??n.contentHeight,x=t.kind==="textwindow"&&n.contentHeight>i?-(u?.offset||0):s*(i-v);e.save(),e.beginPath(),e.rect(0,0,a,i),e.clip(),e.textAlign="left",e.textBaseline="alphabetic",e.lineJoin="round",e.strokeStyle=E2(t.outlineColor??4278190080);for(let p=0;p<d;p++){let h=n.richLines[p],E=x+h.top;if(E+h.height<0||E>i)continue;let C=2+o*(n.textWidth-h.width);for(let N of h.runs)e.font=S2(N,l||ri),e.fillStyle=E2(N.color??t.fontColor??4294967295),t.enableOutline&&(e.lineWidth=Math.max(2,N.fontSize*.12),e.strokeText(N.text,C+N.x,E+h.baseline)),e.fillText(N.text,C+N.x,E+h.baseline)}e.restore()}function q2(e,t,a,i,l,n=1){let o=Math.min(Math.max(1,n),4096/Math.max(1,a,i)),s=Math.max(1,Math.ceil(a*o)),u=Math.max(1,Math.ceil(i*o));e.width!==s&&(e.width=s),e.height!==u&&(e.height=u);let d=e.getContext("2d");d.setTransform(1,0,0,1,0,0),d.clearRect(0,0,s,u),d.save(),d.scale(s/(a>0?a:1),u/(i>0?i:1)),R6(d,t,a,i,l),d.restore()}function A2(e){return function({item:a,zoom:i,fontFamily:l}){let n=e.useRef(null),o=!!a.textLayout?.richLines;return e.useLayoutEffect(()=>{o&&n.current&&q2(n.current,a,a.width,a.height,l,Math.min(2,window.devicePixelRatio||1)*i)},[a,i,l,o]),o?e.createElement("canvas",{ref:n,className:"qxsim-rich-text",role:"img","aria-label":a.textLayout.lines.join(`
11
+ `),style:{position:"absolute",left:0,top:0,width:"100%",height:"100%"}}):e.createElement("span",{style:H6(a,i,l)},B6(a))}}function B6(e){let t=e.textLayout;return t?t.lines.slice(0,t.visibleLineCount??t.lines.length).join(`
12
+ `):e.text??""}function H6(e,t,a){let i=e.textLayout;return{flex:"0 0 auto",width:`${(i?.textWidth??Math.max(0,e.width-4))*t}px`,margin:`0 ${2*t}px`,whiteSpace:"pre",fontFamily:a||ri,fontSize:`${(i?.fontSize??e.fontSize??20)*t}px`,lineHeight:`${(i?.lineHeight??(e.fontSize??20)*1.2)*t}px`,textAlign:e.horizontalAlignment==="Right"?"right":e.horizontalAlignment==="Middle"?"center":"left"}}function N2(e){let t=e.createElement;function a({mask:i,canvasWidth:l,canvasHeight:n,children:o}){let{width:s,height:u,featherX:d,featherY:v,matrix:x}=i,p=e.useMemo(()=>{if(!(s>0&&u>0)||!(d>0||v>0))return"";let r=document.createElement("canvas"),g=Math.min(2,2048/Math.max(s,u));return r.width=Math.max(1,Math.ceil(s*g)),r.height=Math.max(1,Math.ceil(u*g)),h2(r,i),r.toDataURL("image/png")},[s,u,d,v]);if(!(s>0&&u>0)||!Cl(x))return null;let h=x.tx-x.a*s/2+x.c*u/2,E=n-x.ty+x.b*s/2-x.d*u/2,C=`matrix(${x.a} ${-x.b} ${-x.c} ${x.d} ${h} ${E})`,N=p?`<image width="${s}" height="${u}" preserveAspectRatio="none" href="${p}" transform="${C}"/>`:`<rect width="${s}" height="${u}" fill="white" transform="${C}"/>`,f=`<svg xmlns="http://www.w3.org/2000/svg" width="${l}" height="${n}" viewBox="0 0 ${l} ${n}">${N}</svg>`;return t("div",{className:"qxsim-mask-group","data-mask-id":i.id,style:{position:"absolute",inset:0,pointerEvents:"none",maskImage:`url("data:image/svg+xml,${encodeURIComponent(f)}")`,maskMode:"alpha",maskSize:"100% 100%",maskRepeat:"no-repeat"}},o)}return function({boxes:l,canvasWidth:n,canvasHeight:o,renderControl:s}){let u=d=>d.map(v=>v.item?s(v.item):t(a,{key:`mask:${v.mask.id}`,mask:v.mask,canvasWidth:n,canvasHeight:o},u(v.children)));return u(p2(l))}}function Sc(e){let t=Number(e);return Number.isSafeInteger(t)&&t>=1073741824&&t<=1077936127}var Hu;function C2(){return Hu||=Y6().catch(e=>{throw Hu=null,e}),Hu}async function Y6(){let e={cache:"no-store",credentials:"same-origin",mode:"same-origin",signal:AbortSignal.timeout(1e4)},t=await fetch(`${Ru}/manifest`,e);if(!t.ok)throw new Error("\u65E0\u6CD5\u8BFB\u53D6\u672C\u5730\u5B57\u4F53\u914D\u7F6E\uFF0C\u8BF7\u68C0\u67E5\u5BBF\u4E3B\u914D\u7F6E\u53CA\u672C\u673A\u8FDE\u63A5");let{id:a,scope:i="all"}=await t.json();if(a===null)return null;if(typeof a!="string"||!/^[a-f0-9]{64}$/.test(a))throw new Error("\u672C\u5730\u5B57\u4F53\u6807\u8BC6\u65E0\u6548");let l=await fetch(`${Ru}/file/${a}`,e);if(!l.ok)throw new Error("\u672C\u5730\u5B57\u4F53\u52A0\u8F7D\u5931\u8D25\uFF0C\u8BF7\u91CD\u542F\u5BBF\u4E3B\u5E76\u5237\u65B0\u9875\u9762");let n=await l.arrayBuffer();if(!n.byteLength||n.byteLength>33554432)throw new Error("\u672C\u5730\u5B57\u4F53\u5927\u5C0F\u65E0\u6548");let o=new FontFace(Bu(a),n);await o.load(),document.fonts.add(o);let s=w2(a),u="qxqy-local-font-style",d=document.getElementById(u);return i==="game"?d?.remove():(d||(d=document.createElement("style"),d.id=u,document.head.appendChild(d)),d.textContent=`[data-qxqy-font-ui], [data-qxqy-font-ui] * { font-family: ${s} !important; }`),s}var X6="/qxqy-font/settings";async function T2(e){let t=await fetch(X6,{credentials:"same-origin",mode:"same-origin",cache:"no-store",signal:AbortSignal.timeout(1e4),...e?{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(e)}:{}});if(t.status===404)throw new Error("\u5F53\u524D\u540E\u53F0\u5C1A\u672A\u52A0\u8F7D\u5B57\u4F53\u8BBE\u7F6E\u529F\u80FD\uFF0C\u8BF7\u91CD\u542F Web \u6216 Harness \u5BBF\u4E3B\u540E\u91CD\u8BD5\u3002");if(!t.ok)throw new Error(await t.text()||c("\u65E0\u6CD5\u8BFB\u53D6\u5B57\u4F53\u8BBE\u7F6E"));return t.json()}function M2(e){let t=e.createElement;return function({onClose:i}){let[l,n]=e.useState(null),[o,s]=e.useState("auto"),[u,d]=e.useState(""),[v,x]=e.useState("all"),[p,h]=e.useState(!1),[E,C]=e.useState(""),[N,f]=e.useState(""),[r,g]=e.useState(0);e.useEffect(()=>{let z=!0;return C(""),T2().then(q=>{z&&(n(q),s(q.mode),x(q.scope||"all"),d(q.environmentPath||q.path||q.active.path||q.defaultPaths[0]||""))},q=>{z&&C(q.message)}),()=>{z=!1}},[r]);async function w(z){z.preventDefault(),h(!0),C(""),f("");try{let q=await T2(S?{scope:v}:{mode:o,path:u,scope:v});n(q);let k=!S&&o==="auto"?q.nextFont.path?c`找到字体:${q.nextFont.path}。`:c("\u9ED8\u8BA4\u4F4D\u7F6E\u672A\u627E\u5230\u5B57\u4F53\uFF0C\u5C06\u4F7F\u7528\u7CFB\u7EDF\u5B57\u4F53\u3002"):"";f(c`已保存。${k}重启 Web、MCP 或 Harness 宿主后,刷新编辑器及试玩页生效。`)}catch(q){C(q.message)}finally{h(!1)}}let S=!!l?.environmentPath;return t("div",{className:"qxsim-save-overlay",onKeyDown:z=>{z.key==="Escape"&&(z.stopPropagation(),p||i())}},t("form",{className:"qxsim-save-dialog qxsim-font-dialog",role:"dialog","aria-modal":!0,"aria-label":c("\u5B57\u4F53\u8BBE\u7F6E"),onSubmit:w,style:{width:"min(680px, 94%)",maxHeight:"90%",overflow:"auto"}},t("h2",null,c("\u5B57\u4F53\u8BBE\u7F6E")),t("p",null,c("\u81EA\u5B9A\u4E49\u5B57\u4F53\u53EF\u7528\u4E8E\u6E38\u620F\u5185\u6587\u672C\u6216\u6574\u4F53 UI\u3002\u8BBE\u7F6E\u4EC5\u4FDD\u5B58\u5728\u672C\u673A\uFF0C\u91CD\u542F\u5BBF\u4E3B\u540E\u751F\u6548\u3002")),l?t(e.Fragment,null,t("p",{style:{overflowWrap:"anywhere"}},c`当前字体:${l.active.path||c("\u7CFB\u7EDF\u5B57\u4F53")}`),S?t("p",{role:"status"},c("\u5B57\u4F53\u6587\u4EF6\u7531\u73AF\u5883\u53D8\u91CF QXQY_FONT_PATH \u6307\u5B9A\uFF0C\u4ECD\u53EF\u8C03\u6574\u5E94\u7528\u8303\u56F4\u3002")):null,l.error?t("p",{role:"alert"},c(l.error)):null,t("label",{className:"qxsim-field"},c("\u5B57\u4F53\u6765\u6E90"),t("select",{autoFocus:!0,"aria-label":c("\u5B57\u4F53\u6765\u6E90"),value:o,disabled:p||S,onChange:z=>{s(z.target.value),f("")}},t("option",{value:"auto"},c("\u81EA\u52A8\u5C1D\u8BD5\u539F\u795E\u7684\u9ED8\u8BA4\u5B89\u88C5\u4F4D\u7F6E")),t("option",{value:"custom"},c("\u6307\u5B9A\u672C\u673A\u5B57\u4F53\u6587\u4EF6")),t("option",{value:"system"},c("\u4F7F\u7528\u7CFB\u7EDF\u5B57\u4F53")))),o==="custom"||S?t("label",{className:"qxsim-field"},c("\u5B57\u4F53\u6587\u4EF6\u8DEF\u5F84"),t("input",{type:"text","aria-label":c("\u5B57\u4F53\u6587\u4EF6\u8DEF\u5F84"),value:u,required:o==="custom",disabled:p||S,spellCheck:!1,placeholder:l.defaultPaths[0]||"/path/to/font.ttf",onChange:z=>{d(z.target.value),f("")}}),t("small",null,c("\u586B\u5199 TTF / OTF \u7684\u7EDD\u5BF9\u8DEF\u5F84\uFF0C\u6700\u5927 32 MiB\uFF1B\u53EF\u4EE5\u76F4\u63A5\u7C98\u8D34\u5E26\u5F15\u53F7\u7684 Windows \u8DEF\u5F84\u3002"))):null,o==="auto"&&!S?t("div",null,t("p",null,c("\u6309\u987A\u5E8F\u5C1D\u8BD5\u4EE5\u4E0B\u4F4D\u7F6E\uFF1B\u90FD\u672A\u627E\u5230\u65F6\u4F7F\u7528\u7CFB\u7EDF\u5B57\u4F53\u3002\u5B89\u88C5\u5728\u5176\u4ED6\u76D8\u7B26\u65F6\u8BF7\u9009\u62E9\u201C\u6307\u5B9A\u672C\u673A\u5B57\u4F53\u6587\u4EF6\u201D\u3002")),l.defaultPaths.length?t("ul",{style:{paddingLeft:20,overflowWrap:"anywhere"}},l.defaultPaths.map(z=>t("li",{key:z},z))):t("p",null,c("\u5F53\u524D\u7CFB\u7EDF\u4E0D\u81EA\u52A8\u67E5\u627E\uFF0C\u8BF7\u6307\u5B9A\u5B57\u4F53\u6587\u4EF6\u3002"))):null,t("label",{className:"qxsim-field"},c("\u5E94\u7528\u8303\u56F4"),t("select",{"aria-label":c("\u5E94\u7528\u8303\u56F4"),value:v,disabled:p,onChange:z=>{x(z.target.value),f("")}},t("option",{value:"game"},c("\u4EC5\u6E38\u620F\u5185\u6587\u672C")),t("option",{value:"all"},c("\u6574\u4F53 UI"))),t("small",null,c("\u4EC5\u6E38\u620F\u5185\u6587\u672C\uFF1A\u7528\u4E8E\u753B\u5E03\u3001\u8BD5\u73A9\u548C\u622A\u56FE\uFF1B\u6574\u4F53 UI\uFF1A\u540C\u65F6\u66FF\u6362\u5DE5\u5177\u680F\u3001\u9762\u677F\u3001\u4EE3\u7801\u548C\u65E5\u5FD7\u5B57\u4F53\u3002"))),l.restartRequired&&!N?t("p",{role:"status"},c("\u6709\u5DF2\u4FDD\u5B58\u7684\u5B57\u4F53\u8BBE\u7F6E\uFF0C\u91CD\u542F\u5BBF\u4E3B\u5E76\u5237\u65B0\u9875\u9762\u540E\u751F\u6548\u3002")):null):E?null:t("p",null,c("\u6B63\u5728\u8BFB\u53D6\u8BBE\u7F6E\u2026")),E?t("p",{role:"alert"},c(E)):null,E&&!l?t("button",{type:"button",className:"qxsim-action",onClick:()=>g(z=>z+1)},c("\u91CD\u8BD5")):null,N?t("p",{role:"status",style:{overflowWrap:"anywhere"}},N):null,t("footer",null,t("button",{type:"button",className:"qxsim-action",disabled:p,onClick:i},c("\u5173\u95ED")),t("button",{type:"submit",className:"qxsim-action primary",disabled:p||!l},p?c("\u4FDD\u5B58\u4E2D\u2026"):c("\u4FDD\u5B58\u8BBE\u7F6E")))))}}var Gu="https://github.com/1475505/miliastra-beyond-simulator";function O2(e){let t=e.createElement,a=Gl(e);function i({title:l,children:n,onClose:o}){let s=e.useRef(null);return e.useEffect(()=>{let u=document.activeElement;return s.current.showModal(),()=>{s.current?.close(),u?.focus?.()}},[]),t("dialog",{ref:s,className:"qxsim-modal","aria-label":l,onCancel:u=>{u.preventDefault(),o()}},t("h2",null,l),n,t("footer",null,t("button",{className:"qxsim-action",onClick:o},c("\u5173\u95ED"))))}return function({request:n,version:o}){a();let[s,u]=e.useState(""),[d,v]=e.useState(!1),[x,p]=e.useState(null),[h,E]=e.useState("");async function C(){u("updates"),v(!0),E(""),p(null);try{p(await n("updates"))}catch(f){E(/^unknown (?:editor )?action\b/i.test(f?.message||"")?"\u5F53\u524D\u540E\u53F0\u5C1A\u672A\u52A0\u8F7D\u68C0\u67E5\u66F4\u65B0\u529F\u80FD\uFF0C\u8BF7\u91CD\u542F Web \u6216 Harness \u5BBF\u4E3B\u540E\u91CD\u8BD5\u3002":"\u68C0\u67E5\u66F4\u65B0\u5931\u8D25\uFF0C\u8BF7\u68C0\u67E5\u7F51\u7EDC\u8FDE\u63A5\u540E\u91CD\u8BD5\u3002")}finally{v(!1)}}let N={available:c("\u53D1\u73B0\u65B0\u7248\u672C"),current:c("\u5F53\u524D\u5DF2\u662F\u6700\u65B0\u7248\u672C"),ahead:c("\u5F53\u524D\u7248\u672C\u6BD4\u516C\u5F00\u7248\u672C\u66F4\u65B0"),unavailable:c("\u6682\u672A\u627E\u5230\u6B64\u5B89\u88C5\u5305\u7684\u6B63\u5F0F\u7248\u672C")};return t(e.Fragment,null,t("footer",{className:"qxsim-footer"},o?t("span",{className:"qxsim-muted"},`v${o}`):null,t("span",{className:"spacer"}),t("button",{onClick:C,disabled:d},d?c("\u6B63\u5728\u68C0\u67E5\u66F4\u65B0\u2026"):c("\u68C0\u67E5\u66F4\u65B0")),t("a",{href:"https://space.bilibili.com/23358791",target:"_blank",rel:"noreferrer"},c("\u4F5C\u8005B\u7AD9")),t("button",{onClick:()=>u("contact")},c("\u8054\u7CFB\u4F5C\u8005"))),s==="contact"?t(i,{title:c("\u8054\u7CFB\u4F5C\u8005"),onClose:()=>u("")},t("div",null,t("p",null,c("QQ\u7FA4\u53F71007538100")),t("p",null,c("\u4F5C\u8005\u90AE\u7BB1 "),t("a",{href:"mailto:725230880@qq.com"},"725230880@qq.com")),t("p",null,c("\u5F00\u6E90\u4ED3\u5E93 "),t("a",{href:Gu,target:"_blank",rel:"noreferrer"},Gu)),t("p",{className:"qxsim-muted"},c("\u611F\u8C22@xiaomol444\u63D0\u4F9B\u7684\u56FE\u7247\u3001\u97F3\u6548\u3001\u754C\u9762\u52A8\u6548\u7D20\u6750")))):null,s==="updates"?t(i,{title:c("\u68C0\u67E5\u66F4\u65B0"),onClose:()=>u("")},t("div",{role:"status"},d?t("p",null,c("\u6B63\u5728\u68C0\u67E5\u66F4\u65B0\u2026")):null,h?t("p",{role:"alert"},c(h)):null,!d&&!h&&x?t(e.Fragment,null,t("p",null,c(N[x.status])),t("p",null,c`当前版本:${x.currentVersion}`),x.latestVersion?t("p",null,c`公开版本:${x.latestVersion}`):null,t("p",null,c("\u66F4\u65B0\u540E\u8BF7\u91CD\u542F\u5BBF\u4E3B\u5E76\u5237\u65B0\u7F16\u8F91\u5668\u4E0E\u8BD5\u73A9\u9875\u3002")),t("a",{href:x.url,target:"_blank",rel:"noreferrer"},c("\u67E5\u770B\u66F4\u65B0\u8BF4\u660E")),x.status==="available"&&x.downloadUrl?t("p",null,t("a",{href:x.downloadUrl,target:"_blank",rel:"noreferrer"},c("\u4E0B\u8F7D\u66F4\u65B0\u5305"))):null):null,h?t(e.Fragment,null,t("button",{className:"qxsim-action",onClick:C,disabled:d},c("\u91CD\u8BD5")),t("p",null,t("a",{href:Gu+"/releases",target:"_blank",rel:"noreferrer"},c("\u67E5\u770B\u66F4\u65B0\u8BF4\u660E")))):null)):null)}}var z2=`
13
+ .qxsim-modal.qxsim-export-dialog{width:min(1080px,94vw);max-width:94vw;padding:0;overflow:hidden}
14
+ .qxsim-export-dialog[open]{display:flex;flex-direction:column;max-height:90vh}
15
+ .qxsim-export-dialog header{padding:18px 20px;border-bottom:1px solid var(--line);flex-shrink:0}
16
+ .qxsim-export-dialog h2{margin:0 0 6px}.qxsim-export-dialog p{margin:4px 0;color:var(--muted)}
17
+ .qxsim-export-body{display:grid;grid-template-columns:minmax(220px,36%) minmax(0,1fr);min-height:0;max-height:52vh;overflow:hidden}
18
+ .qxsim-export-list{min-height:0;overflow:auto;border-right:1px solid var(--line);padding:8px}
19
+ .qxsim-export-row{display:flex;align-items:center;gap:8px;min-height:42px;padding:5px 8px;border:1px solid transparent;border-radius:5px}
20
+ .qxsim-export-row.active{background:var(--hover);border-color:var(--blue)}.qxsim-export-row input{flex:0 0 auto;accent-color:var(--blue)}
21
+ .qxsim-export-row button{min-width:0;flex:1;border:0;background:transparent;text-align:left;padding:0}
22
+ .qxsim-export-row strong,.qxsim-export-row small{display:block;overflow-wrap:anywhere}.qxsim-export-row small{color:var(--muted);font-size:10px}
23
+ .qxsim-export-preview{display:flex;flex-direction:column;min-width:0;min-height:0;padding:12px;overflow:hidden;background:var(--workspace)}
24
+ .qxsim-export-canvas{display:flex;align-items:center;justify-content:center;flex:1;height:min(32vh,360px);min-height:40px;width:100%;margin-top:8px}
25
+ .qxsim-export-preview .qxsim-stage{max-width:100%;flex-shrink:0}
26
+ .qxsim-export-dialog footer{flex-shrink:0;margin:0;padding:12px 20px;display:flex;align-items:center;flex-wrap:wrap;gap:8px;border-top:1px solid var(--line)}
27
+ .qxsim-export-dialog .spacer{flex:1}.qxsim-export-options{display:flex;flex-shrink:0;flex-wrap:wrap;gap:12px;padding:10px 20px}
28
+ .qxsim-export-error{color:var(--danger);padding:8px 20px;overflow-wrap:anywhere}
29
+ .qxsim-export-warnings{padding:0 20px;font-size:11px;max-height:76px;overflow:auto;flex-shrink:0}.qxsim-export-warnings p{margin:4px 0}
30
+ .qxsim-export-single{margin-top:8px;width:100%}
31
+ @media(max-width:680px){.qxsim-export-body{grid-template-columns:1fr;overflow:auto}.qxsim-export-list{max-height:22vh;border-right:0}.qxsim-export-preview{min-height:180px}}
32
+ `;function D2(e){let t=e.createElement;return function({sessionId:i,api:l,initialId:n,onExport:o,onClose:s,renderPreview:u}){let d=e.useRef(null),[v,x]=e.useState(null),[p,h]=e.useState([]),[E,C]=e.useState(""),[N,f]=e.useState(null),[r,g]=e.useState(!0),[w,S]=e.useState(!1),[z,q]=e.useState(""),k=e.useRef({busy:w,onClose:s});k.current={busy:w,onClose:s},e.useEffect(()=>{let G=!0,de=d.current,fe=document.activeElement,Ae=Oe=>{Oe.preventDefault(),k.current.busy||k.current.onClose()},Fe=Oe=>{Oe.key==="Escape"&&(Oe.stopPropagation(),Ae(Oe))};return de.addEventListener("cancel",Ae),de.addEventListener("keydown",Fe),de.showModal(),l(i,"export-list").then(Oe=>{if(!G)return;x(Oe);let Ve=Oe.rows.some(fn=>fn.id===n)?n:Oe.rows[0]?.id||"";C(Ve),h(n&&Ve===n?[Ve]:[])},Oe=>{G&&q(Oe.message)}),()=>{G=!1,de.removeEventListener("cancel",Ae),de.removeEventListener("keydown",Fe),de.close(),fe?.isConnected&&fe.focus()}},[i,l,n]),e.useEffect(()=>{let G=!0;if(f(null),!v||!E)return;let de=setTimeout(()=>{l(i,"export-preview",{controlIds:[E],includeScripts:r,expectedRevision:v.revision}).then(fe=>{G&&(f(fe),q(""))},fe=>{G&&q(fe.message)})},100);return()=>{G=!1,clearTimeout(de)}},[v,E,r,i,l]);let D=v?.rows||[],H=new Set(p),ce=D.filter(G=>H.has(G.id)&&!G.ancestorIds.some(de=>H.has(de)));function Xe(G,de){C(G.id),h(fe=>de?[...fe.filter(Ae=>Ae!==G.id&&!D.find(Fe=>Fe.id===Ae)?.ancestorIds.includes(G.id)),G.id]:fe.filter(Ae=>Ae!==G.id))}async function Re(){S(!0),q("");try{await o({controlIds:ce.map(G=>G.id),includeScripts:r,expectedRevision:v.revision}),s()}catch(G){q(G.message)}finally{S(!1)}}return t("dialog",{ref:d,className:"qxsim-modal qxsim-export-dialog","aria-label":c("\u90E8\u5206\u7EC4\u5408\u5BFC\u51FA")},t("header",null,t("h2",null,c("\u90E8\u5206\u7EC4\u5408\u5BFC\u51FA")),t("p",null,c("\u52FE\u9009\u5BA2\u6237\u7AEF\u63A7\u4EF6\u53CA\u5176\u5B50\u6811\uFF0C\u7EC4\u5408\u4E3A\u4E00\u4E2A GIA \u6587\u4EF6\u3002\u7236\u5B50\u540C\u65F6\u9009\u4E2D\u65F6\u53EA\u5BFC\u51FA\u4E00\u6B21\u3002"))),t("div",{className:"qxsim-export-body"},t("div",{className:"qxsim-export-list","aria-label":c("\u53EF\u5BFC\u51FA\u7684\u5BA2\u6237\u7AEF\u63A7\u4EF6")},D.length?D.map(G=>{let de=G.ancestorIds.some(fe=>H.has(fe));return t("div",{key:G.id,className:`qxsim-export-row${E===G.id?" active":""}`,style:{paddingLeft:8+G.depth*14}},t("input",{type:"checkbox",checked:de||H.has(G.id),disabled:w||de,"aria-label":c("\u5BFC\u51FA {0}",G.name),onChange:fe=>Xe(G,fe.target.checked)}),t("button",{type:"button",onClick:()=>C(G.id),"aria-label":c("\u9884\u89C8 {0}",G.name)},t("strong",null,G.name),t("small",null,`#${G.guid} \xB7 `,c("{0} \u4E2A\u63A7\u4EF6",G.controlCount))))}):t("p",null,v?c("\u6CA1\u6709\u53EF\u5BFC\u51FA\u7684\u5BA2\u6237\u7AEF\u63A7\u4EF6"):c("\u6B63\u5728\u52A0\u8F7D\u2026"))),t("section",{className:"qxsim-export-preview","aria-label":c("\u5BFC\u51FA\u9884\u89C8")},t("strong",null,D.find(G=>G.id===E)?.name||c("\u8BF7\u9009\u62E9\u4E00\u4E2A\u63A7\u4EF6")),t("p",null,c("\u9884\u89C8\u5F53\u524D\u9879\u72EC\u7ACB\u5BFC\u51FA\u540E\u7684\u5E03\u5C40\uFF0C\u4E0D\u6539\u53D8\u539F\u9879\u76EE\u3002")),N?u(N.snapshot):t("p",null,c("\u6B63\u5728\u52A0\u8F7D\u2026")))),t("div",{className:"qxsim-export-options"},t("label",null,t("input",{type:"checkbox",checked:r,disabled:w,onChange:G=>g(G.target.checked)})," ",c("\u5305\u542B\u6302\u8F7D\u811A\u672C\u53CA\u672A\u6302\u8F7D\u6A21\u5757"))),N?.warnings?.length?t("div",{className:"qxsim-export-warnings"},N.warnings.map(G=>t("p",{key:G},c(G)))):null,z?t("div",{role:"alert",className:"qxsim-export-error"},c(z)):null,t("footer",null,t("button",{className:"qxsim-action",disabled:w||!D.length,onClick:()=>h(D.filter(G=>!G.parentId).map(G=>G.id))},c("\u5168\u9009")),t("button",{className:"qxsim-action",disabled:w||!p.length,onClick:()=>h([])},c("\u6E05\u9664")),t("span",null,c("\u5DF2\u9009 {0} \u9879",ce.length)),t("span",{className:"spacer"}),t("button",{className:"qxsim-action",disabled:w,onClick:s},c("\u53D6\u6D88")),t("button",{className:"qxsim-action primary",disabled:w||!ce.length,onClick:()=>void Re()},w?c("\u6B63\u5728\u5BFC\u51FA\u2026"):c("\u5BFC\u51FA GIA"))))}}function U2(e,{api:t,playUrl:a,saveToWorkspace:i=!1,version:l=""}){let n=e.createElement,o=Ib(e),s=Jb(e),u=Wb(e),d=f2(e),{Effects:v,Picker:x}=g2(e),p=A2(e),h=N2(e),E=b2(e),C=y2(e),N=M2(e),f=O2(e),r=D2(e),g=Gl(e),w="qxqy-simulator-style",S=z2+`
12
33
  .qxsim-save-overlay{position:absolute;inset:0;z-index:30;display:grid;place-items:center;background:#0006}.qxsim-save-dialog{width:min(440px,90%);padding:24px;border:1px solid var(--line);border-radius:12px;background:var(--panel);box-shadow:0 12px 48px #0005}.qxsim-save-dialog h2{margin:0 0 16px;font-size:17px}.qxsim-save-dialog input{width:100%;margin:8px 0 16px;padding:10px;border:1px solid var(--line);border-radius:6px;background:var(--input)}.qxsim-save-dialog footer{display:flex;justify-content:flex-end;gap:8px}.qxsim-save-dialog [role=alert]{color:var(--danger);margin-bottom:12px;overflow-wrap:anywhere}
13
34
  .qxsim-play-overlay{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;background:var(--bg);color:var(--text)}.qxsim-play-overlay[open]{display:flex;flex-direction:column}.qxsim-play-overlay::backdrop{background:#0008}.qxsim-play-header{display:flex;align-items:center;justify-content:space-between;flex-shrink:0;gap:12px;padding:4px 12px;border-bottom:1px solid var(--line);background:var(--panel)}.qxsim-play-overlay iframe{display:block;flex:1;width:100%;min-height:0;border:0;background:var(--bg)}.qxsim-play-error{padding:8px 12px;color:var(--danger);overflow-wrap:anywhere}html[data-windows-titlebar] .qxsim-play-overlay{top:40px;height:calc(100% - 40px)}
14
35
  .qxsim-footer{display:flex;align-items:center;gap:12px;flex-shrink:0;min-height:32px;padding:4px 10px;border-top:1px solid var(--line);background:var(--panel);font-size:11px}.qxsim-footer .spacer{flex:1}.qxsim-footer button{border:0;background:transparent;color:var(--muted);font:inherit;cursor:pointer}.qxsim-footer a,.qxsim-modal a{color:var(--blue);text-decoration:none}.qxsim-footer button:hover,.qxsim-footer a:hover{color:var(--blue);text-decoration:underline}.qxsim-modal{width:min(620px,94vw);max-height:90vh;overflow:auto;border:1px solid var(--line);border-radius:10px;padding:24px;background:var(--panel);color:var(--text);font:inherit;box-shadow:0 16px 60px #0006}.qxsim-modal::backdrop{background:#0008}.qxsim-modal h2{margin:0 0 16px;font-size:17px}.qxsim-modal p{overflow-wrap:anywhere;line-height:1.6}.qxsim-modal footer{display:flex;justify-content:flex-end;margin-top:20px}
@@ -36,10 +57,10 @@ Error generating stack: `+a.message+`
36
57
  @container(max-width:1180px){.qxsim-toolbar{grid-template-columns:minmax(130px,1fr) auto auto;column-gap:8px}.qxsim-action{padding:0 8px}.qxsim-main{grid-template-columns:200px minmax(300px,1fr) 292px}.qxsim-control{min-width:132px}.qxsim-control.ratio{width:128px}.qxsim-io .qxsim-control{width:96px}.qxsim-device-switch button{padding:0 7px}.qxsim-workspace{padding-left:12px;padding-right:12px}.qxsim-brand-text span{display:none}.qxsim-asset-switch button{font-size:11px}}
37
58
  @container(max-width:1000px){.qxsim-toolbar{height:90px;flex-basis:90px;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:42px 42px}.qxsim-toolbar-center{justify-self:end}.qxsim-actions{grid-column:1 / -1}.qxsim-editor-nav .save-summary{display:none}.qxsim-inspector{top:130px}}
38
59
  @container(max-width:820px){.qxsim-main{grid-template-columns:180px minmax(280px,1fr)}.qxsim-inspector{position:absolute;right:0;top:0;bottom:0;width:285px;z-index:5;box-shadow:-10px 0 24px var(--shadow)}.qxsim-script-page{grid-template-columns:190px minmax(320px,1fr)}.qxsim-script-editor{padding:12px}.qxsim-script-fields{grid-template-columns:1fr}}
39
- `,g={"server-container":["\u25A3","\u5BA2\u6237\u7AEF\u63A7\u4EF6\u5BB9\u5668"],container:["\u25A1","\u5BB9\u5668\u8282\u70B9"],textbox:["T","\u6587\u672C\u6846"],cursor:["\u2301","\u5149\u6807\u68C0\u6D4B\u533A\u57DF"],reference:["\u2197","\u6A21\u677F\u5F15\u7528\u63A7\u4EF6"],grid:["\u25A6","\u7F51\u683C\u89C6\u7A97"],image:["\u25A7","\u56FE\u7247"],button:["Btn","\u9884\u8BBE\u6309\u94AE"],textwindow:["T\u2195","\u6587\u672C\u89C6\u7A97"],keyhint:["1","\u6309\u952E\u63D0\u793A"],animation:["\u2726","\u754C\u9762\u52A8\u6548"],fullscreen:["\u2725","\u5168\u5C4F\u52A8\u6548"]},S=[["container","\u5BB9\u5668\u8282\u70B9"],["textbox","\u6587\u672C\u6846"],["cursor","\u5149\u6807\u68C0\u6D4B"],["reference","\u6A21\u677F\u5F15\u7528"],["grid","\u7F51\u683C\u89C6\u7A97"],["button","\u9884\u8BBE\u6309\u94AE"],["textwindow","\u6587\u672C\u89C6\u7A97"],["keyhint","\u6309\u952E\u63D0\u793A"],["image","\u56FE\u7247"],["animation","\u754C\u9762\u52A8\u6548"],["fullscreen","\u5168\u5C4F\u52A8\u6548"]],q={container:["isolateNavigation","disableKeyEventPassthrough","disableCursorEventPassthrough","showCursor"],textbox:["fontSize","adaptiveFontSize","minimumFontSize","fontColor","bgColor","enableOutline","outlineColor","horizontalAlignment","verticalAlignment","text"],cursor:[],reference:["referencedPrefabId"],grid:["itemPrefabId","raycastTarget","interactable","showScrollBar","scrollDirection","layoutConstraint","layoutConstraintFixedCount","cellSizeX","cellSizeY","spacingX","spacingY","padding1X","padding1Y","padding2X","padding2Y","previewCount"],image:["imageSource","imageId","imageColor","enableMask","enableSoftEdge","softEdgeMode","softEdgeWidthX","softEdgeWidthY","horizontalSoftRange","verticalSoftRange","enableFill","fillType","fillHorizontalType","fillVerticalType","fillRadial90Type","fillRadialType","fillAmount","reverseMaskArea"],button:["raycastTarget","interactable","unavailableChildId","hoverChildId","pressedChildId","selectedChildId","clickAudioId"],textwindow:["interactable","showScrollBar","fontSize","adaptiveFontSize","minimumFontSize","fontColor","bgColor","enableOutline","outlineColor","horizontalAlignment","verticalAlignment","text"],keyhint:["keyboardKeyCode","controllerKeyCode"],animation:["animationId"],fullscreen:["animationId"]};function O(){if(document.getElementById(f))return;let m=document.createElement("style");m.id=f,m.textContent=d,document.head.appendChild(m)}function A(){let m=document.documentElement,N=document.body,z=[m.dataset.theme,m.className,m.getAttribute("style"),N?.dataset?.theme,N?.className,N?.getAttribute("style"),getComputedStyle(m).colorScheme].filter(Boolean).join(" ").toLowerCase();return z.includes("dark")?"dark":z.includes("light")?"light":window.matchMedia?.("(prefers-color-scheme: dark)").matches?"dark":"light"}function k(){let[m,N]=t.useState(A);return t.useEffect(()=>{let z=()=>N(A()),x=new MutationObserver(z);x.observe(document.documentElement,{attributes:!0,attributeFilter:["class","style","data-theme"]}),document.body&&x.observe(document.body,{attributes:!0,attributeFilter:["class","style","data-theme"]});let R=window.matchMedia?.("(prefers-color-scheme: dark)");return R?.addEventListener?.("change",z),()=>{x.disconnect(),R?.removeEventListener?.("change",z)}},[]),m}function G(m,N){let z=Number(m??N)>>>0;return`rgba(${z>>>16&255},${z>>>8&255},${z&255},${(z>>>24&255)/255})`}function B(m,N){return m==="sprite"?{background:"transparent"}:m==="circle"?{borderRadius:"50%",background:N}:m==="ring"?{borderRadius:"50%",border:`7px solid ${N}`,background:"transparent"}:m==="triangle"?{background:N,clipPath:"polygon(50% 0,100% 100%,0 100%)"}:m==="fourstar"?{background:N,clipPath:"polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%)"}:m==="fivestar"?{background:N,clipPath:"polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%)"}:m==="missing"?{background:"#4822285c",border:"1px dashed #ff7481"}:{background:N}}let J=e;function ee(m){let N;try{N=atob(m.data)}catch{throw new Error(o("\u5BFC\u51FA\u5185\u5BB9\u89E3\u7801\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5\u6216\u5237\u65B0\u9875\u9762"))}let z=new Uint8Array(N.length);for(let _=0;_<N.length;_+=1)z[_]=N.charCodeAt(_);let x=URL.createObjectURL(new Blob([z],{type:m.mimeType||"application/octet-stream"})),R=document.createElement("a");R.href=x,R.download=m.filename||"qxqy-export",R.rel="noopener",R.style.display="none",document.body.appendChild(R),R.click(),R.remove(),setTimeout(()=>URL.revokeObjectURL(x),1e3)}async function Yt(m){let N=new Uint8Array(await m.arrayBuffer()),z="",x=32768;for(let R=0;R<N.length;R+=x)z+=String.fromCharCode(...N.subarray(R,R+x));return btoa(z)}let de=m=>typeof m=="object"?m.value:m,Ne=m=>o(typeof m=="object"?m.label:m),pe=[{key:"KEYBOARD",label:"PC",title:"PC KEYBOARD \u753B\u5E03\uFF1A1600\xD7900 / 2100\xD7900"},{key:"TOUCHSCREEN",label:"\u624B\u673A",title:"\u624B\u673A TOUCHSCREEN \u753B\u5E03\uFF1A1280\xD7720 / 1560\xD7720 / 1280\xD7960"}];function Ge(m){return String(m.id||"").split("-").slice(1).join(":")}function Be(m,N){let z=(R,_)=>_?z(_,R%_):R,x=z(Math.round(m),Math.round(N))||1;return`${Math.round(m)/x}:${Math.round(N)/x}`}function Ut({field:m,commit:N,axis:z}){let x=m.value==null?"":String(m.value),[R,_]=t.useState(x);if(t.useEffect(()=>_(m.value==null?"":String(m.value)),[m.value,m.type]),m.type==="note")return n("div",{className:"qxsim-note"},o(m.value||m.label));if(m.readonly&&(m.evidence==="N"||m.evidence==="U"))return n("div",{className:"qxsim-field"},n("span",{className:"qxsim-field-label"},o(m.label)),n("div",{className:"qxsim-unsupported"},m.value==null?o("\u5C1A\u65E0\u53EF\u7F16\u8F91\u503C"):String(m.value)));if(m.type==="bool")return n("div",{className:"qxsim-switch-row"},n("span",null,o(m.label)),n("label",{className:"qxsim-switch"},n("input",{type:"checkbox",checked:!!m.value,disabled:!!m.readonly,onChange:D=>N(m.key,D.target.checked)}),n("span",{className:"qxsim-switch-track"})));if(m.type==="enum"){let D=[...m.options||[]],H=String(m.value??"");return D.some(ut=>String(de(ut))===H)||D.unshift({value:m.value??"",label:o`未识别选项 ${m.unknownValue??(H||o("\u7A7A"))}(保留原值)`}),n("label",{className:"qxsim-field"},n("span",{className:"qxsim-field-label"},o(m.label)),n("select",{value:H,disabled:!!m.readonly,onChange:ut=>N(m.key,ut.target.value)},D.map(ut=>n("option",{key:String(de(ut)),value:de(ut)},Ne(ut)))))}if(m.type==="percent"){let D=Math.round(Number(m.value||0)*100);return n("label",{className:"qxsim-field"},n("span",{className:"qxsim-field-label"},o(m.label)),n("span",{className:"qxsim-percent"},n("input",{type:"range",min:0,max:100,value:D,onInput:H=>N(m.key,Number(H.target.value)/100)}),n("output",null,`${D}%`)))}if(m.type==="color")return n(v,{field:m,commit:N});let Y={value:R,disabled:!!m.readonly,readOnly:!!m.readonly,onChange:D=>_(D.target.value),onBlur:()=>{m.readonly||N(m.key,R)},onKeyDown:D=>{D.key==="Enter"&&m.type!=="text"&&D.currentTarget.blur(),D.key==="Escape"&&_(m.value==null?"":String(m.value))}};return n("label",{className:"qxsim-field"},n("span",{className:"qxsim-field-label"},z?n("b",{className:`qxsim-axis ${z.toLowerCase()}`},z):null,o(m.label)),m.type==="text"?n("textarea",{...Y,rows:4}):n("input",{...Y,type:m.type==="number"?"number":"text",step:m.type==="number"?"any":void 0}))}function St({title:m,open:N=!0,children:z}){return n("details",{className:"qxsim-section",open:N},n("summary",null,m),n("div",{className:"qxsim-section-body"},z))}function ho(m){let N={};for(let z of m||[])N[z.key]=z;return N}function Ye({label:m,x:N,y:z,xAxis:x="X",yAxis:R="Y",commit:_}){return n("div",{className:"qxsim-pair"},n("div",{className:"qxsim-pair-name"},m),n(Ut,{field:N,axis:x,commit:_}),n(Ut,{field:z,axis:R,commit:_}))}function go({field:m,commit:N,createStateChild:z}){return n("div",{className:"qxsim-state-field"},n("div",{className:"qxsim-state-label"},o(m.label)),n("div",{className:"qxsim-state-ref"},n("button",{title:o`新建并绑定${o(m.label)}图片`,onClick:()=>z(m.key,o(m.label))},"+"),n("select",{value:String(m.value??""),"aria-label":o(m.label),onChange:x=>N(m.key,x.target.value)},(m.options||[]).map(x=>n("option",{key:String(de(x)),value:de(x)},Ne(x))))))}function Xe({inspector:m,commit:N,createStateChild:z}){let x=ho(m.fields),R=H=>H?.type==="node"?n(go,{key:H.key,field:H,commit:N,createStateChild:z}):H?n(Ut,{key:H.key,field:H,commit:N}):null,_=(q[m.kind]||[]).map(H=>x[H]).filter(Boolean).map(R),Y=null;if(m.kind==="image"){let H=x.fillType?.value==="Horizontal"?x.fillHorizontalType:x.fillType?.value==="Vertical"?x.fillVerticalType:x.fillType?.value==="Radial90"?x.fillRadial90Type:x.fillRadialType,ut=[R(x.enableMask),R(x.enableSoftEdge),x.enableSoftEdge?.value?n("div",{className:"qxsim-subfields",key:"soft-fields"},R(x.softEdgeMode),n(Ye,{label:o("\u7FBD\u5316\u5BBD\u5EA6"),x:x.softEdgeWidthX,y:x.softEdgeWidthY,commit:N}),n(Ye,{label:o("\u7FBD\u5316\u8303\u56F4"),x:x.horizontalSoftRange,y:x.verticalSoftRange,commit:N})):null,R(x.enableFill),x.enableFill?.value?n("div",{className:"qxsim-subfields",key:"fill-fields"},R(x.fillType),R(H),R(x.fillAmount)):null,R(x.reverseMaskArea)];Y=n(t.Fragment,null,n(St,{title:o("\u56FE\u7247\u8BBE\u7F6E")},R(x.imageSource),R(x.imageId),n(h,{imageId:x.imageId?.value,imageSource:x.imageSource?.value,value:x.imageType?.value,commit:N}),R(x.imageColor)),n(St,{title:o("\u906E\u7F69\u8BBE\u7F6E")},ut))}let D=m.kind==="textbox"?o("\u6587\u672C\u6846\u8BBE\u7F6E"):m.kind==="button"?o("\u6309\u94AE\u8BBE\u7F6E"):o`${o(m.label)}设置`;return n(t.Fragment,null,n(St,{title:o("\u8282\u70B9\u4FE1\u606F"),open:!1},n(Ut,{field:x.name,commit:N})),n(St,{title:o("\u53D8\u6362")},x.posX?n(Ye,{label:o("\u4F4D\u7F6E"),x:x.posX,y:x.posY,commit:N}):null,x.width?n(Ye,{label:o("\u5927\u5C0F"),x:x.width,y:x.height,xAxis:"W",yAxis:"H",commit:N}):null,...["rotationX","rotationY","rotationZ"].map(H=>x[H]?n(Ut,{key:H,field:x[H],commit:N}):null),x.syncAllDevices?n(Ut,{field:x.syncAllDevices,commit:N}):null,x.anchorType?n(Ut,{field:x.anchorType,commit:N}):null,x.anchorMinX?n(Ye,{label:"Min",x:x.anchorMinX,y:x.anchorMinY,commit:N}):null,x.anchorMaxX?n(Ye,{label:"Max",x:x.anchorMaxX,y:x.anchorMaxY,commit:N}):null,x.pivotX?n(Ye,{label:o("\u4E2D\u5FC3"),x:x.pivotX,y:x.pivotY,commit:N}):null),n(St,{title:o("\u521B\u5EFA\u8BBE\u7F6E")},x.active?n(Ut,{field:x.active,commit:N}):null,x.visible?n(Ut,{field:x.visible,commit:N}):null),Y||(_.length?n(St,{title:D},_):null),x.canControllerFocus?n(St,{title:o("\u624B\u67C4\u5BFC\u822A"),open:!1},n(Ut,{field:x.canControllerFocus,commit:N})):null,x.incomplete?n(St,{title:o("\u5B9E\u73B0\u72B6\u6001")},n(Ut,{field:x.incomplete,commit:N})):null)}function U({snap:m,selectedScriptId:N,selectScript:z,draft:x,updateDraft:R,saveScript:_,addScript:Y,removeScript:D,exportLua:H,exportScripts:ut,exportScriptsGia:Et,notice:Ee}){let lt=m.scripts||[],I=lt.find(V=>V.id===N)||null,P=m.mountTargets||[],K=P.filter(V=>V.assetType==="server-control-template"),Q=P.filter(V=>V.assetType==="client-control-template"),Vt=V=>{let ra=P.find(fa=>fa.id===V);return ra?`${ra.assetLabel} \xB7 ${ra.name}`:""};return n("div",{className:"qxsim-script-page"},n("aside",{className:"qxsim-script-assets"},n("h3",null,o`存档内 Lua 脚本(${lt.length})`),n("button",{className:"qxsim-action",style:{width:"100%",marginBottom:8},onClick:Y},o("\uFF0B \u65B0\u5EFA\u811A\u672C")),lt.length?lt.map(V=>n("div",{key:V.id,className:"qxsim-script-list-row"},n("button",{className:`qxsim-script-asset${V.id===N?" active":""}`,onClick:()=>z(V.id)},n("strong",null,V.path||o("(\u672A\u547D\u540D\u811A\u672C)")),n("small",null,V.mounted?o`挂载:${V.assetLabel} · ${V.controlName}`:o("\u672A\u6302\u8F7D\uFF08\u4EC5\u53EF\u88AB require\uFF09"))),n("button",{className:"qxsim-iconbtn",title:o("\u4E0B\u8F7D\u8BE5\u811A\u672C .lua"),onClick:()=>H(V.id)},"\u21E9"),n("button",{className:"qxsim-iconbtn",title:o("\u5220\u9664\u8BE5\u811A\u672C"),onClick:()=>D(V.id)},"\u2715"))):n("div",{className:"qxsim-empty"},o("\u8FD8\u6CA1\u6709\u811A\u672C\uFF0C\u70B9\u51FB\u201C\u65B0\u5EFA\u811A\u672C\u201D\u5F00\u59CB"))),n("main",{className:"qxsim-script-editor"},I&&x?n(t.Fragment,null,n("div",{className:"qxsim-script-title"},n("div",null,n("h2",null,x.path||o("(\u672A\u547D\u540D\u811A\u672C)")),n("span",null,o`属于存档“${m.save?.name||o("\u672A\u547D\u540D\u5B58\u6863")}” · Lua 脚本是存档内独立资产`)),n("span",null,o`脚本 ${I.id}`)),n("div",{className:"qxsim-script-fields"},n("label",null,o("\u811A\u672C\u8DEF\u5F84\uFF08\u5DE5\u4F5C\u533A\u76F8\u5BF9\u8DEF\u5F84\uFF09"),n("input",{type:"text",value:x.path,placeholder:"lua/example.lua",onChange:V=>R({path:V.target.value})})),n("label",null,o("\u6302\u8F7D\u76EE\u6807\uFF08\u5BA2\u6237\u7AEF\u63A7\u4EF6 / \u5BA2\u6237\u7AEF\u63A7\u4EF6\u6A21\u677F\uFF09"),n("select",{value:x.controlId?`${x.controlAsset||"server-control-template"}|${x.controlId}`:"",onChange:V=>{let[ra,fa]=V.target.value.split("|");R(fa?{controlId:fa,controlAsset:ra}:{controlId:"",controlAsset:""})}},n("option",{value:""},o("\u672A\u6302\u8F7D\uFF08\u4E0D\u751F\u6548\uFF0C\u4EC5\u53EF\u88AB require\uFF09")),n("optgroup",{label:o("\u670D\u52A1\u5668\u63A7\u4EF6\u6A21\u677F \xB7 \u5BA2\u6237\u7AEF\u63A7\u4EF6\u5BB9\u5668\u5185")},K.map(V=>n("option",{key:V.id,value:`${V.assetType}|${V.id}`},`${V.name} \xB7 ${V.id}`))),Q.length?n("optgroup",{label:o("\u5BA2\u6237\u7AEF\u63A7\u4EF6\u6A21\u677F")},Q.map(V=>n("option",{key:V.id,value:`${V.assetType}|${V.id}`},`${V.name} \xB7 ${V.id}`))):null))),n("label",null,o("Lua \u6E90\u7801"),n("textarea",{value:x.source,spellCheck:!1,placeholder:o("-- \u5728\u8FD9\u91CC\u8F93\u5165\u5BA2\u6237\u7AEF Lua\uFF1B\u811A\u672C\u53EA\u6709\u6302\u8F7D\u5230\u5BA2\u6237\u7AEF\u63A7\u4EF6\u540E\u624D\u4F1A\u5728\u8BD5\u73A9\u65F6\u751F\u6548"),onChange:V=>R({source:V.target.value})})),n("div",{className:"qxsim-script-footer"},n("span",null,x.dirty?o("\u6709\u672A\u4FDD\u5B58\u7684\u4FEE\u6539"):Ee||(I.mounted?o`已挂载:${Vt(I.controlId)}`:o("\u5F53\u524D\u672A\u6302\u8F7D\uFF0C\u8BD5\u73A9\u65F6\u4E0D\u4F1A\u81EA\u52A8\u8FD0\u884C"))),n("span",{className:"spacer"}),n("button",{className:"qxsim-action",onClick:ut},o("\u21E9 \u811A\u672C\u5305 JSON")),n("button",{className:"qxsim-action",onClick:Et},o("\u21E9 \u811A\u672C\u5305 GIA")),n("button",{className:"qxsim-action primary",disabled:!x.dirty,onClick:_},o("\u4FDD\u5B58\u811A\u672C")))):n("div",{className:"qxsim-empty"},o("\u8BF7\u65B0\u5EFA\u6216\u9009\u62E9\u4E00\u4E2A\u811A\u672C"))))}function kt(m){if(m===void 0)return"null";try{return JSON.stringify(m)}catch{return String(m)}}function ae(m){let N=String(m??"").trim();if(!N)return null;try{return JSON.parse(N)}catch{return N}}function bi(m){return!!(m&&typeof m=="object"&&!Array.isArray(m)&&Object.prototype.hasOwnProperty.call(m,"fromSignalParam"))}function Si(m){return{version:1,dirty:!1,rules:(Array.isArray(m?.rules)?m.rules:[]).map((z,x)=>({id:String(z.id||`signal-${x+1}`),signalName:String(z.signalName||""),actions:Array.isArray(z.actions)&&z.actions.length?z.actions.map(R=>qh(R)):[rn("setCustomVariable")]}))}}let zr=["PlayerSelf","AllPlayers","Player1","Player2","Player3","Player4","Player5","Player6","Player7","Player8"],Or=["PlayerSelf","Level","Player1","Player2","Player3","Player4","Player5","Player6","Player7","Player8"],Ur={PlayerSelf:"PlayerSelf \u5F53\u524D\u73A9\u5BB6",AllPlayers:"AllPlayers \u5168\u90E8\u73A9\u5BB6",Level:"Level \u5173\u5361",Player1:"Player1 \u73A9\u5BB61",Player2:"Player2 \u73A9\u5BB62",Player3:"Player3 \u73A9\u5BB63",Player4:"Player4 \u73A9\u5BB64",Player5:"Player5 \u73A9\u5BB65",Player6:"Player6 \u73A9\u5BB66",Player7:"Player7 \u73A9\u5BB67",Player8:"Player8 \u73A9\u5BB68"};function vo(m){return Or.includes(m)&&m!=="AllPlayers"?m:m==="Level"?"Level":"PlayerSelf"}function yo(m){return zr.includes(m)?m:"PlayerSelf"}function rn(m){return m==="sendClientScriptSignal"?{kind:"sendClientScriptSignal",target:"PlayerSelf",signalName:"",params:[]}:{kind:"setCustomVariable",entityType:"PlayerSelf",name:"",value:0}}function bh(m){return{version:1,rules:(m?.rules||[]).map(N=>({id:String(N.id||""),signalName:String(N.signalName||"").trim(),actions:(N.actions||[]).map(z=>z?.kind==="sendClientScriptSignal"?{kind:"sendClientScriptSignal",target:yo(z.target),signalName:String(z.signalName||"").trim(),params:Array.isArray(z.params)?z.params:[]}:{kind:"setCustomVariable",entityType:vo(z?.entityType),name:String(z?.name||"").trim(),value:z&&Object.prototype.hasOwnProperty.call(z,"value")?z.value:0})}))}}function Sh(m){let N=[];for(let[z,x]of(m?.rules||[]).entries()){String(x.signalName||"").trim()||N.push(o`规则 ${z+1} 需要监听信号名`);let R=x.actions||[];R.length||N.push(o`规则 ${z+1} 至少需要一个动作`);for(let[_,Y]of R.entries())Y?.kind==="sendClientScriptSignal"?String(Y.signalName||"").trim()||N.push(o`规则 ${z+1} 动作 ${_+1} 需要客户端信号名`):String(Y?.name||"").trim()||N.push(o`规则 ${z+1} 动作 ${_+1} 需要变量名`)}return N}function qh(m){if(m?.kind==="sendClientScriptSignal")return{kind:"sendClientScriptSignal",target:yo(m.target),signalName:String(m.signalName||""),params:Array.isArray(m.params)?m.params.map(z=>{try{return JSON.parse(JSON.stringify(z))}catch{return z}}):[]};let N=0;if(m&&Object.prototype.hasOwnProperty.call(m,"value"))try{N=JSON.parse(JSON.stringify(m.value))}catch{N=m.value}return{kind:"setCustomVariable",entityType:vo(m?.entityType),name:String(m?.name||""),value:N}}function Dr({label:m,value:N,onChange:z}){let x=bi(N),[R,_]=t.useState(()=>x?"":kt(N));return t.useEffect(()=>{bi(N)||_(kt(N))},[N]),n("label",{className:"qxsim-field"},n("span",{className:"qxsim-field-label"},m),n("select",{value:x?"param":"literal","aria-label":o`${o(m)}来源`,onChange:Y=>{Y.target.value==="param"?z({fromSignalParam:Number(N?.fromSignalParam)||0}):z(ae(R||"0"))}},n("option",{value:"literal"},o("\u5B57\u9762\u91CF\uFF08JSON\uFF09")),n("option",{value:"param"},o("\u5F15\u7528\u76D1\u542C\u4FE1\u53F7\u53C2\u6570"))),x?n("input",{type:"number",min:0,step:1,value:Number(N.fromSignalParam)||0,"aria-label":o`${o(m)}参数序号`,onChange:Y=>z({fromSignalParam:Math.max(0,Math.trunc(Number(Y.target.value)||0))})}):n("textarea",{className:"qxsim-logic-json",value:R,spellCheck:!1,"aria-label":o`${o(m)}字面量`,onBlur:()=>z(ae(R)),onChange:Y=>_(Y.target.value)}))}function Ah({params:m,onChange:N}){let z=Array.isArray(m)?m:[];return n("div",{className:"qxsim-field wide"},n("span",{className:"qxsim-field-label"},o("\u5BA2\u6237\u7AEF\u4FE1\u53F7\u53C2\u6570\uFF08\u6309\u6DFB\u52A0\u987A\u5E8F\uFF09")),z.length?z.map((x,R)=>n("div",{key:R,style:{display:"flex",gap:6,alignItems:"flex-start",marginBottom:6}},n("div",{style:{flex:1,minWidth:0}},n(Dr,{label:o`参数 ${R}`,value:x,onChange:_=>N(z.map((Y,D)=>D===R?_:Y))})),n("button",{className:"qxsim-iconbtn",title:o("\u5220\u9664\u53C2\u6570"),onClick:()=>N(z.filter((_,Y)=>Y!==R))},"\u2715"))):n("div",{className:"qxsim-muted"},o("\u6682\u65E0\u53C2\u6570\uFF0C\u53EF\u53D1\u9001\u7A7A\u53C2\u6570\u5217\u8868")),n("button",{className:"qxsim-action",style:{marginTop:4},onClick:()=>N(z.concat([0]))},o("\uFF0B \u6DFB\u52A0\u53C2\u6570")))}function Nh({snap:m,draft:N,setDraft:z,saveLogic:x,notice:R,error:_}){let Y=N?.rules||[];function D(lt){z({version:1,rules:lt,dirty:!0})}function H(){D(Y.concat([{id:`signal-${Date.now().toString(36)}`,signalName:"",actions:[rn("setCustomVariable")]}]))}function ut(lt,I){D(Y.map((P,K)=>K===lt?{...P,...I}:P))}function Et(lt,I,P){let K=Y[lt];K&&ut(lt,{actions:K.actions.map((Q,Vt)=>Vt===I?{...Q,...P}:Q)})}function Ee(lt,I,P){Et(lt,I,rn(P))}return n("div",{className:"qxsim-server-logic"},n("div",{className:"qxsim-logic-wrap"},n("div",{className:"qxsim-logic-title"},n("div",null,n("h2",null,o("\u670D\u52A1\u7AEF\u903B\u8F91")),n("p",null,o`属于存档“${m.save?.name||o("\u672A\u547D\u540D\u5B58\u6863")}” · 监听客户端信号后设置 Level / 玩家变量,或向指定玩家发送客户端脚本信号`)),n("button",{className:"qxsim-action primary",disabled:!N?.dirty,onClick:x},o("\u4FDD\u5B58\u670D\u52A1\u7AEF\u903B\u8F91"))),n("div",{className:"qxsim-note"},o("\u8FD9\u662F\u6A21\u62DF\u5668\u5B58\u6863\u683C\u5F0F\uFF0C\u4E0D\u662F\u5B98\u65B9\u8282\u70B9\u56FE\u3002PlayerSelf \u8868\u793A\u53D1\u4FE1\u53F7\u7684\u90A3\u4F4D\u73A9\u5BB6\uFF1BPlayer1\u20138 \u662F\u56FA\u5B9A\u5EA7\u4F4D\uFF1BAllPlayers \u5411\u672C\u5C40\u5168\u90E8\u8BD5\u73A9\u73A9\u5BB6\u5E7F\u64AD\u3002")),_?n("div",{className:"qxsim-logic-error"},o(_)):null,Y.length?Y.map((lt,I)=>n("section",{key:lt.id||I,className:"qxsim-logic-rule"},n("div",{className:"qxsim-logic-rule-head"},n("strong",null,o`规则 ${I+1}`),n("label",{className:"qxsim-field"},n("span",{className:"qxsim-field-label"},o("\u76D1\u542C\u4FE1\u53F7\u540D")),n("input",{type:"text",value:lt.signalName,placeholder:"EarnGold","aria-label":o`规则 ${I+1} 监听信号名`,onChange:P=>ut(I,{signalName:P.target.value})})),n("button",{className:"qxsim-iconbtn",title:o("\u5220\u9664\u89C4\u5219"),onClick:()=>D(Y.filter((P,K)=>K!==I))},"\u2715")),n("div",{className:"qxsim-logic-actions"},(lt.actions||[]).map((P,K)=>n("div",{key:K,className:"qxsim-logic-action"},n("div",{className:"qxsim-logic-action-head"},n("strong",null,o`动作 ${K+1}`),n("select",{value:P.kind,"aria-label":o`规则 ${I+1} 动作 ${K+1} 类型`,onChange:Q=>Ee(I,K,Q.target.value)},n("option",{value:"setCustomVariable"},o("\u8BBE\u7F6E\u81EA\u5B9A\u4E49\u53D8\u91CF")),n("option",{value:"sendClientScriptSignal"},o("\u53D1\u9001\u5BA2\u6237\u7AEF\u811A\u672C\u4FE1\u53F7"))),n("span",null,P.kind==="sendClientScriptSignal"?o("\u53D1\u7ED9\u5F53\u524D\u73A9\u5BB6\u3001\u6307\u5B9A\u73A9\u5BB6\u6216\u5168\u90E8\u73A9\u5BB6"):o("\u5199\u5165 Level / \u5F53\u524D\u73A9\u5BB6 / \u73A9\u5BB61-8")),n("button",{className:"qxsim-iconbtn",title:o("\u5220\u9664\u52A8\u4F5C"),disabled:(lt.actions||[]).length<=1,onClick:()=>ut(I,{actions:lt.actions.filter((Q,Vt)=>Vt!==K)})},"\u2715")),P.kind==="sendClientScriptSignal"?n("div",{className:"qxsim-logic-fields"},n("label",{className:"qxsim-field"},n("span",{className:"qxsim-field-label"},o("\u53D1\u9001\u76EE\u6807")),n("select",{value:yo(P.target),onChange:Q=>Et(I,K,{target:Q.target.value})},zr.map(Q=>n("option",{key:Q,value:Q},Ur[Q])))),n("label",{className:"qxsim-field"},n("span",{className:"qxsim-field-label"},o("\u5BA2\u6237\u7AEF\u4FE1\u53F7\u540D")),n("input",{type:"text",value:P.signalName,placeholder:"GoldChanged",onChange:Q=>Et(I,K,{signalName:Q.target.value})})),n(Ah,{params:P.params,onChange:Q=>Et(I,K,{params:Q})})):n("div",{className:"qxsim-logic-fields"},n("label",{className:"qxsim-field"},n("span",{className:"qxsim-field-label"},o("\u5B9E\u4F53")),n("select",{value:vo(P.entityType),onChange:Q=>Et(I,K,{entityType:Q.target.value})},Or.map(Q=>n("option",{key:Q,value:Q},o(Ur[Q]))))),n("label",{className:"qxsim-field"},n("span",{className:"qxsim-field-label"},o("\u53D8\u91CF\u540D")),n("input",{type:"text",value:P.name,placeholder:"Gold",onChange:Q=>Et(I,K,{name:Q.target.value})})),n("div",{className:"wide"},n(Dr,{label:o("\u53D8\u91CF\u503C"),value:P.value,onChange:Q=>Et(I,K,{value:Q})}))))),n("div",{className:"qxsim-logic-actions-foot"},n("button",{className:"qxsim-action",onClick:()=>ut(I,{actions:(lt.actions||[]).concat([rn("setCustomVariable")])})},o("\uFF0B \u8BBE\u7F6E\u81EA\u5B9A\u4E49\u53D8\u91CF")),n("button",{className:"qxsim-action",onClick:()=>ut(I,{actions:(lt.actions||[]).concat([rn("sendClientScriptSignal")])})},o("\uFF0B \u53D1\u9001\u5BA2\u6237\u7AEF\u811A\u672C\u4FE1\u53F7")))))):n("div",{className:"qxsim-logic-empty"},o("\u8FD8\u6CA1\u6709\u76D1\u542C\u89C4\u5219\u3002\u8BD5\u73A9\u65F6\u5BA2\u6237\u7AEF SendSignal \u4E0D\u4F1A\u81EA\u52A8\u6539\u53D8\u91CF\u6216\u56DE\u4F20\u4FE1\u53F7\u3002")),n("div",{className:"qxsim-logic-actions-foot"},n("button",{className:"qxsim-action",onClick:H},o("\uFF0B \u6DFB\u52A0\u76D1\u542C\u89C4\u5219"))),n("div",{className:"qxsim-script-footer",style:{marginTop:16}},n("span",null,N?.dirty?o("\u6709\u672A\u4FDD\u5B58\u7684\u4FEE\u6539"):R||o("\u4FDD\u5B58\u540E\u4F1A\u5199\u5165\u5F53\u524D\u5B58\u6863\uFF0C\u4E0B\u6B21\u8BD5\u73A9\u751F\u6548")),n("span",{className:"spacer"}))))}function Eh({inspector:m,autofill:N,onSave:z}){let[x,R]=t.useState(String(m.guid??"")),[_,Y]=t.useState(!1),[D,H]=t.useState(!1),[ut,Et]=t.useState("");t.useEffect(()=>{R(String(m.guid??"")),Y(!1),Et("")},[m.id,m.guid]);let Ee=N?.count>1&&N.selectedOffset>=0,lt=/^[0-9]+$/.test(x.trim())?Number(x)-(N?.selectedOffset||0):NaN,I=lt+(N?.count||0)-1,P=po(lt)&&po(I);async function K(Q){Q.preventDefault();let Vt=x.trim();if(!/^[0-9]+$/.test(Vt)||!po(Vt)){Et(o`索引范围:${1073741824}–${1077936127}`);return}H(!0),Et("");try{await z(m.id,Number(Vt),_&&Ee)}catch(V){Et(V?.message||String(V))}finally{H(!1)}}return n("form",{onSubmit:K,style:{marginTop:8}},n("label",{className:"qxsim-field"},n("span",{className:"qxsim-field-label"},o("\u5BA2\u6237\u7AEF\u63A7\u4EF6\u7D22\u5F15")),n("div",{style:{display:"flex",gap:6}},n("input",{type:"text",inputMode:"numeric","aria-label":o("\u5BA2\u6237\u7AEF\u63A7\u4EF6\u7D22\u5F15"),value:x,disabled:D,onChange:Q=>{R(Q.target.value),Et("")},onKeyDown:Q=>{Q.key==="Escape"&&(R(String(m.guid)),Et(""))}}),n("button",{type:"submit",className:"qxsim-action",disabled:D||!_&&x.trim()===String(m.guid)||_&&!P},D?o("\u4FDD\u5B58\u4E2D"):o("\u4FEE\u6539")))),Ee?n("label",{style:{display:"flex",gap:6,alignItems:"center",margin:"6px 0"}},n("input",{type:"checkbox",checked:_,disabled:D,onChange:Q=>Y(Q.target.checked)}),o("\u81EA\u52A8\u4FEE\u6539\u5176\u4ED6\u5BA2\u6237\u7AEF\u7D22\u5F15\u503C")):null,_&&Ee?n("div",{className:"qxsim-note","aria-label":o("\u81EA\u52A8\u586B\u5145\u7D22\u5F15\u9884\u89C8")},o`以当前控件为基准,按 GIA 导入顺序填充 ${N.count} 个控件(${N.templateCount} 个模板及其子控件)。`,n("div",null,P?o`索引范围:${lt}–${I}`:o("\u7D22\u5F15\u8303\u56F4\u8D85\u51FA\u6709\u6548\u8303\u56F4\uFF0C\u8BF7\u68C0\u67E5\u8F93\u5165\u3002")),n("div",null,o("\u9002\u7528\u4E8E\u6574\u6279\u5BFC\u5165\u540E\u672A\u589E\u5220\u3001\u91CD\u6392\u7684\u6A21\u677F\u3002\u670D\u52A1\u7AEF\u754C\u9762\u548C\u811A\u672C\u7D22\u5F15\u9700\u5355\u72EC\u586B\u5199\u3002"))):null,ut?n("div",{role:"alert",className:"qxsim-note"},o(ut)):null,n("div",{className:"qxsim-muted",style:{lineHeight:1.5}},o("\u586B\u5199 GIA \u5BFC\u5165\u540E\u5B9E\u9645\u663E\u793A\u7684\u7D22\u5F15\uFF1B\u4FEE\u6539\u540E\u4ECE\u9875\u9762\u4E0A\u65B9\u7EE7\u7EED\u540C\u6B65 Lua\u3002")))}function wh({snap:m,addScriptMounted:N,mountScriptTo:z,unmountScript:x,openScript:R}){let _=(m.scripts||[]).filter(D=>D.controlId===m.selectedId),Y=(m.scripts||[]).filter(D=>D.controlId!==m.selectedId);return n(t.Fragment,null,n(St,{title:o("\u6302\u8F7D\u5230\u8BE5\u63A7\u4EF6\u7684\u811A\u672C")},_.length?_.map(D=>n("div",{key:D.id,className:"qxsim-script-list-row"},n("button",{className:"qxsim-script-asset",onClick:()=>R(D.id)},n("strong",null,D.path||o("(\u672A\u547D\u540D\u811A\u672C)")),n("small",null,o`脚本 ${D.id}`)),n("button",{className:"qxsim-iconbtn",title:o("\u89E3\u9664\u6302\u8F7D\uFF08\u4FDD\u7559\u811A\u672C\uFF09"),onClick:()=>x(D.id)},"\u292B"))):n("div",{className:"qxsim-note"},o("\u8BE5\u63A7\u4EF6\u5C1A\u672A\u6302\u8F7D\u811A\u672C\u3002\u811A\u672C\u6302\u8F7D\u5230\u5BA2\u6237\u7AEF\u63A7\u4EF6\u540E\u624D\u4F1A\u5728\u8BD5\u73A9\u65F6\u751F\u6548\u3002"))),n(St,{title:o("\u6302\u8F7D\u5DF2\u6709\u811A\u672C"),open:!1},Y.length?n("label",{className:"qxsim-field"},n("span",{className:"qxsim-field-label"},o("\u9009\u62E9\u811A\u672C\u6302\u8F7D\u5230\u8BE5\u63A7\u4EF6")),n("select",{value:"","aria-label":o("\u9009\u62E9\u811A\u672C\u6302\u8F7D\u5230\u8BE5\u63A7\u4EF6"),onChange:D=>{let H=D.target.value;D.target.value="",H&&z(H)}},n("option",{value:""},o("\u9009\u62E9\u811A\u672C\u2026")),Y.map(D=>n("option",{key:D.id,value:D.id},`${D.path||o("(\u672A\u547D\u540D\u811A\u672C)")} \xB7 ${D.id}${D.mounted?o`(当前挂载于 ${D.assetLabel} · ${D.controlName},将移动到此控件)`:o("\uFF08\u672A\u6302\u8F7D\uFF09")}`)))):n("div",{className:"qxsim-note"},o("\u5B58\u6863\u5185\u8FD8\u6CA1\u6709\u5176\u4ED6\u811A\u672C\uFF0C\u53EF\u70B9\u51FB\u4E0B\u65B9\u6309\u94AE\u65B0\u5EFA\u3002")),n("div",{className:"qxsim-script-actions",style:{marginTop:8}},n("button",{onClick:()=>N(m.selectedId)},o("\uFF0B \u65B0\u5EFA\u811A\u672C\u5E76\u6302\u8F7D\u5230\u6B64\u63A7\u4EF6")))))}function Th(m,N){let z=null,x=null;function R(_,Y){_.id===N&&(z=_,x=Y);for(let D of _.children||[])R(D,_)}if(R(m,null),z?.kind==="container")return z.id;if(z?.kind==="server-container")return z.children?.find(_=>_.kind==="container")?.id||z.id;for(;x&&x.kind!=="container";){let Y=function(D){for(let H of D.children||[])H===x&&(_=D),Y(H)},_=null;Y(m),x=_}return x?.id||m.children?.find(_=>_.kind==="container")?.id}function Ch(m,N){let z=null;function x(R){R.id===N&&(z=R);for(let _ of R.children||[])x(_)}return x(m),z&&z.kind!=="server-container"?z.id:Th(m,N)}function _r(m,N,z,x,R,_,Y=!1){let D=m,H=m.kind,ut=H==="textbox"||H==="textwindow",Et=D.renderLeft??D.left,Ee=D.renderBottom??D.bottom,lt=D.renderWidth??D.width,I=D.renderHeight??D.height,P=D.renderRotationZ??m.rotationZ??0,K={left:`${Et/z*100}%`,bottom:`${Ee/x*100}%`,width:`${lt/z*100}%`,height:`${I/x*100}%`,"--rotation":`${-Number(P)}deg`,fontSize:Math.max(8,Math.min(40,Number(m.fontSize||12))),color:ut?G(m.fontColor,4294967295):"#fff"};if(Object.assign(K,ah(D,z,x)),Y)return n("div",{className:"qxsim-box selected qxsim-selection","data-selection-id":m.id,style:{...K,border:"1px solid #61b9ff",background:"transparent",zIndex:2}},H!=="container"?["tl","tr","bl","br"].map(Vt=>n("i",{key:Vt,className:`qxsim-handle ${Vt}`})):null);ut&&_&&(K.fontFamily=_),H==="image"?Object.assign(K,B(m.primitive,G(m.imageColor,4294967295))):ut?(K.background=G(m.bgColor,16777215),K.justifyContent=m.horizontalAlignment==="Right"?"flex-end":m.horizontalAlignment==="Middle"?"center":"flex-start",K.alignItems=m.verticalAlignment==="Bottom"?"flex-end":m.verticalAlignment==="Middle"?"center":"flex-start",K.textShadow=m.enableOutline===!1?"none":`0 0 2px ${G(m.outlineColor,4278190080)}`):H==="container"&&(K.background="transparent");let Q=H==="image"&&m.primitive==="sprite"?n(r,{key:He(m.imageId,m.imageSource),item:m}):ut?n(y,{item:m,zoom:R,fontFamily:_}):H==="image"&&m.primitive==="missing"?n("span",{className:"qxsim-box-label"},o`缺少图片 ${m.imageId||""}`):H!=="container"&&H!=="image"?n("span",{className:"qxsim-box-label"},m.name||o(g[H]?.[1])||H):null;return n("div",{key:m.id,"data-control-id":m.id,className:`qxsim-box ${H}${m.instantiated?" dynamic":""}${m.pressed?" pressed":""}`,style:K},Q)}function Mh({sessionId:m}){let N=M(),z=k(),[x,R]=t.useState(null),_=t.useRef(null),Y=t.useRef(Promise.resolve()),[D,H]=t.useState(""),[ut,Et]=t.useState(null),[Ee,lt]=t.useState(!1);t.useEffect(()=>{let p=!0;return fh().then(E=>{p&&Et(E)},E=>{p&&H(E?.message||o("\u672C\u5730\u5B57\u4F53\u52A0\u8F7D\u5931\u8D25"))}),()=>{p=!1}},[]);let I=s({sessionId:m,api:J,playUrl:a,onError:H}),[P,K]=t.useState(null),[Q,Vt]=t.useState(!1),[V,ra]=t.useState(!1),[fa,qt]=t.useState(""),qi=t.useRef(null),[xo,Ai]=t.useState([]),[Rr,Lr]=t.useState([]),[je,zh]=t.useState("ui"),[bo,So]=t.useState("base"),[qo,Oh]=t.useState("fit"),[Ao,Uh]=t.useState({}),[Ni,No]=t.useState(""),[fl,Eo]=t.useState("template"),[wo,Ei]=t.useState(""),[To,fn]=t.useState(null),[kr,Co]=t.useState({version:1,rules:[],dirty:!1}),Hr=t.useRef(null),[wi,Dh]=t.useState({width:0,height:0});t.useEffect(()=>{let p=Hr.current;if(!p||typeof ResizeObserver>"u")return;let E=new ResizeObserver(L=>{let X=L[0]?.contentRect;X&&X.width>0&&Dh({width:X.width,height:X.height})});return E.observe(p),()=>E.disconnect()},[x?.canvas?.id]);function dl(p,{keepLogicDraft:E=!0}={}){return _.current=p,R(p),p?.scripts&&Ei(L=>p.scripts.some(X=>X.id===L)?L:p.scripts[0]?.id||""),Co(L=>E&&L?.dirty?L:Si(p?.serverLogic)),p}let Ti=t.useCallback(async()=>{try{H(""),dl(await J(m,"get"),{keepLogicDraft:!1})}catch(p){H(p?.message||String(p))}},[m]),Ci=t.useCallback(async()=>{try{let p=await J(m,"archives");Lr(p?.archives||[])}catch{Lr([])}},[m]);t.useEffect(()=>{Ti(),Ci()},[Ti,Ci]);function yt(p,E=""){let L=async()=>{let X=_.current;if(!X)throw new Error("editor is not ready");try{if(E&&X.asset?.type!==E)throw new Error(o("\u5F53\u524D\u8D44\u4EA7\u5DF2\u5207\u6362\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9\u63A7\u4EF6\u540E\u4FEE\u6539\u7D22\u5F15"));let Jt=await J(m,"patch",{op:{...typeof p=="function"?p(X):p,expectedRevision:X.version}});return H(""),dl(Jt)}catch(Jt){throw H(Jt?.message||String(Jt)),/revision conflict/.test(String(Jt?.message||Jt))&&await Ti(),Jt}};return Y.current=Y.current.then(L,L),Y.current}async function _h(p,E,L,X=!1){await Qe(),await yt({op:"setControlGuid",id:p,guid:E,autoFillClientGuids:X},L),qt(o("\u63A7\u4EF6\u7D22\u5F15\u5DF2\u4FEE\u6539\u3002\u8BF7\u9009\u62E9\u4E0A\u65B9\u300C\u5168\u91CF\u66FF\u6362\u811A\u672C\u7D22\u5F15\u300D\u6216\u300C\u590D\u5236\u63D0\u793A\u8BCD\u7ED9 AI\u300D\u3002"))}async function Rh(){await Qe(),await Xa(),await Y.current;let p=_.current;if(!p.storage?.path)throw l&&K(`${p.save?.name||"project"}.save.json`),new Error(o("\u8BF7\u5148\u4FDD\u5B58\u5B8C\u6574\u5B58\u6863\uFF0C\u518D\u590D\u5236\u63D0\u793A\u8BCD\uFF1BAI \u9700\u8981\u8BFB\u53D6\u8FD9\u6B21\u5B9E\u9645\u4FEE\u6539\u7684\u5B58\u6863\u3002"));await J(m,"save",{path:p.storage.path,expectedRevision:p.version});let E=p.controlGuidChanges||[],L=[o("\u8BF7\u5B8C\u6210\u6A21\u62DF\u5668\u63A7\u4EF6\u7D22\u5F15\u4E0E Lua \u5F15\u7528\u540C\u6B65\u3002"),o`工作区:${p.workspace?.path||o("\u8BF7\u5148\u6838\u5BF9\u5DE5\u4F5C\u533A")}`,o`最新完整存档:${p.storage.path}(编辑器已保存)`,o`Lua 文件:${(p.scripts||[]).map(X=>X.path||o`内联脚本 ${X.id}`).join("\u3001")||o("\u6682\u65E0")}`,o("\u5148\u4ECE\u4E0A\u8FF0\u6587\u4EF6\u91CD\u65B0\u52A0\u8F7D\u6700\u65B0\u5B58\u6863\uFF0C\u4E0D\u8981\u4F7F\u7528\u53E6\u4E00\u4E2A MCP/Web \u8FDB\u7A0B\u91CC\u7684\u65E7\u5DE5\u7A0B\u3002"),o`获取新旧映射:读取该 JSON 顶层的 controlGuidChanges 数组,当前共 ${E.length} 条,必须读取全部记录。oldGuid 是旧索引,newGuid 是新索引;controlAsset + controlId 标识控件,controlName 是名称,id 是记录编号,batchId 是批次。`,o("\u83B7\u53D6\u811A\u672C\uFF1A\u8BFB\u53D6 assets.scripts \u6570\u7EC4\uFF1B\u6BCF\u9879\u7684 source \u662F\u5B58\u6863\u5185\u6E90\u7801\uFF0Cpath \u662F\u811A\u672C\u6587\u4EF6\u8DEF\u5F84\uFF08\u76F8\u5BF9\u8DEF\u5F84\u4EE5\u5DE5\u4F5C\u533A\u4E3A\u57FA\u51C6\uFF09\u3002"),o("\u6309\u63A7\u4EF6\u8EAB\u4EFD\u548C\u53D8\u66F4\u987A\u5E8F\u6838\u5BF9\u5168\u90E8 Lua \u811A\u672C\u7684\u7D22\u5F15\u5E38\u91CF\u3001\u914D\u7F6E\u8868\u4E0E\u8C03\u7528\uFF0C\u4FEE\u6539\u5B58\u6863\u4E2D\u7684 source \u53CA\u76F8\u5173 Lua \u6E90\u6587\u4EF6\u548C\u751F\u6210\u5668\u6620\u5C04\uFF0C\u907F\u514D\u91CD\u5EFA\u540E\u8986\u76D6\u3002\u4E0D\u8981\u5168\u5C40\u66FF\u6362\u540C\u503C\u6570\u5B57\uFF0C\u4E5F\u4E0D\u8981\u6539\u8FD0\u884C\u65F6\u5B9E\u4F8B ID \u6216\u56FE\u7247\u8D44\u6E90 ID\u3002"),o("\u540C\u4E00 batchId \u662F\u540C\u65F6\u6620\u5C04\uFF0C\u987B\u6309\u539F\u503C\u4E00\u6B21\u6027\u5E94\u7528\uFF0C\u4E0D\u80FD\u9010\u6761\u66FF\u6362\u5BFC\u81F4\u7D22\u5F15\u4E32\u6539\u3002"),o("\u68C0\u67E5\u65E7\u7D22\u5F15\u5F15\u7528\u5E76\u91CD\u65B0\u8BD5\u73A9\uFF1B\u4EC5\u5728\u5F15\u7528\u5168\u90E8\u540C\u6B65\u6216\u660E\u786E\u6CA1\u6709\u5F15\u7528\u540E\uFF0C\u7528 acknowledgeControlGuidChanges \u7684 changeIds \u6E05\u9664\u5DF2\u6838\u5BF9\u8BB0\u5F55\uFF0C\u4FDD\u5B58\u5B8C\u6574\u5B58\u6863\u3002\u672A\u5224\u65AD\u7684\u8BB0\u5F55\u7EE7\u7EED\u4FDD\u7559\u3002"),o("\u5B8C\u6210\u540E\u544A\u77E5\u7528\u6237\u91CD\u65B0\u8F7D\u5165\u8FD9\u4E2A\u5B58\u6863\uFF0C\u518D\u901A\u8FC7\u300CLua \u811A\u672C \u2192 \u5B9E\u673A\u811A\u672C\u540C\u6B65\u300D\u66F4\u65B0\u6E38\u620F\u6587\u4EF6\uFF1B\u4E0D\u8981\u91CD\u65B0\u5BFC\u5165 GIA\uFF0C\u4E5F\u4E0D\u8981\u64C5\u81EA\u590D\u5236\u5230\u6E38\u620F\u76EE\u5F55\u3002")].join(`
40
- `);try{await navigator.clipboard.writeText(L),qt(o("\u5B58\u6863\u5DF2\u4FDD\u5B58\uFF0C\u63D0\u793A\u8BCD\u5DF2\u590D\u5236\uFF0C\u5305\u542B\u5B8C\u6574\u6620\u5C04\u7684\u8BFB\u53D6\u65B9\u5F0F\u3002\u7C98\u8D34\u7ED9 AI\uFF1B\u5904\u7406\u540E\u91CD\u65B0\u8F7D\u5165\u5B58\u6863\u3002"))}catch{qt(o("\u5B58\u6863\u5DF2\u4FDD\u5B58\u3002\u526A\u8D34\u677F\u4E0D\u53EF\u7528\uFF0C\u53EF\u4ECE\u4E0B\u65B9\u6587\u672C\u6846\u624B\u52A8\u590D\u5236\u63D0\u793A\u8BCD\u3002"))}return L}let Lh=(p,E)=>void yt(L=>({op:"set",key:p,value:typeof E=="function"?E(L.inspector.fields.find(X=>X.key===p)?.value):E})).catch(()=>{});async function kh(){let{imageId:p,imageSource:E}=_.current?.boxes?.find(L=>L.id===_.current.selectedId)||{};if(sl(p,E)){ra(!0);try{await J(m,"image-refresh",{imageId:p,imageSource:E}),V0(p,E),qt(o`图片 ${p} 已重新下载;同源试玩页会同步刷新。`)}catch(L){H(L.message)}finally{ra(!1)}}}async function Hh(p,E){let L=_.current?.inspector?.id;if(L)try{let X=await yt({op:"add",kind:"image",parentId:L,name:o`${o(E)}图片`});await yt({op:"set",id:L,key:p,value:X.selectedId}),qt(o`${o(E)}已创建并绑定;可在控件树中继续编辑图片。`)}catch{}}t.useEffect(()=>{let p=x?.scripts?.find(E=>E.id===wo);fn(E=>E&&p&&E.id===p.id&&E.dirty?E:p?{id:p.id,path:p.path,source:p.source,controlId:p.controlId,controlAsset:p.controlAsset,dirty:!1}:null)},[x,wo]);function Gh(p){fn(E=>E&&{...E,...p,dirty:!0})}async function Qe(){let p=To;!p||!p.dirty||(await yt({op:"updateScript",id:p.id,path:p.path,source:p.source,controlId:p.controlId,controlAsset:p.controlAsset}),fn(E=>E&&E.id===p.id?{...E,dirty:!1}:E))}function Gr(){Qe().then(()=>qt(o("Lua \u811A\u672C\u5DF2\u4FDD\u5B58\u5230\u5F53\u524D\u5B58\u6863"))).catch(()=>{})}async function Xa({silent:p=!1}={}){let E=kr;if(!E||!E.dirty)return;let L=Sh(E);if(L.length){let Jt=L[0];throw p||H(Jt),new Error(Jt)}let X=await yt({op:"setServerLogic",logic:bh(E)});Co(Si(X.serverLogic)),qt(o("\u670D\u52A1\u7AEF\u903B\u8F91\u5DF2\u4FDD\u5B58\u5230\u5F53\u524D\u5B58\u6863"))}function Bh(){Xa({silent:!0}).catch(()=>{})}function pl(p){Gr(),Bh(),zh(p)}async function Br(p={}){let E=await yt({op:"addScript",...p}),L=E.scripts?.[E.scripts.length-1];return L&&Ei(L.id),qt(p.controlId?o("\u5DF2\u65B0\u5EFA\u811A\u672C\u5E76\u6302\u8F7D\u5230\u8BE5\u63A7\u4EF6"):o("\u5DF2\u65B0\u5EFA\u811A\u672C\uFF0C\u53EF\u7F16\u8F91\u8DEF\u5F84\u3001\u6E90\u7801\u548C\u6302\u8F7D\u76EE\u6807")),L}function Yh(p){To?.id===p&&fn(null),yt({op:"removeScript",id:p}).then(()=>qt(o("\u811A\u672C\u5DF2\u5220\u9664"))).catch(()=>{})}function Xh(p){yt({op:"updateScript",id:p,controlId:""}).then(()=>qt(o("\u5DF2\u89E3\u9664\u6302\u8F7D\uFF0C\u811A\u672C\u4ECD\u4FDD\u7559\u5728\u5B58\u6863\u4E2D"))).catch(()=>{})}function jh(p){let E=_.current?.selectedId||"",L=_.current?.asset?.type||"";E&&(fn(X=>X&&X.id===p?{...X,controlId:E,controlAsset:L}:X),yt({op:"updateScript",id:p,controlId:E,controlAsset:L}).then(()=>qt(o("\u5DF2\u6302\u8F7D\u5230\u5F53\u524D\u63A7\u4EF6"))).catch(()=>{}))}async function Yr(p){if(_.current?.asset?.type!==p)try{let E=await yt({op:"selectAsset",assetType:p});No(""),Eo(p==="client-control-template"?"template":"child"),qt(o`已切换到存档内的${o(E.asset.label)}`)}catch{}}function Qh(p,E){let L=_.current;if(!L)return;let X=L.asset?.type==="client-control-template"&&fl==="template",Jt=X?{op:"addTemplate",kind:p,name:o`${o(E)}模板`}:{op:"add",kind:p,parentId:Ch(L.root,L.selectedId),name:E};yt(Jt).then(()=>qt(X?o`已新增${o(E)}模板`:o`已添加${o(E)}子控件`)).catch(()=>{})}async function Mi(p,E=""){try{await Y.current.catch(()=>{}),await Qe(),await Xa();let L=await J(m,"export",{format:p,assetType:E});if(Ai([...new Set([...L.warnings||[],...(L.files||[]).flatMap(X=>X.warnings||[])])]),Array.isArray(L?.files)&&L.files.length){for(let X of L.files)ee(X);H(""),qt(o`已导出 ${L.files.length} 个 GIA 文件(${L.files.map(X=>X.filename).join("\u3001")});若浏览器拦截多文件下载,请允许后重试。`);return}ee(L),H(""),qt(L.warnings?.length?o`已导出 ${L.filename};请查看上方导出说明。`:o`已导出 ${L.filename}`)}catch(L){H(L?.message||String(L))}}async function Xr(p){if(p)try{await Y.current.catch(()=>{});let E=await J(m,"load-archive",{path:p});dl(E.snapshot,{keepLogicDraft:!1}),H(""),qt(o`已从工作区拉取 ${p}`),Ai([])}catch(E){H(E?.message||String(E))}}async function Vh(p){if(!p)return;let E=p.name.toLowerCase().endsWith(".gia")?"gia":p.name.toLowerCase().endsWith(".json")?"json":p.name.toLowerCase().endsWith(".lua")?"lua":"";if(!E){H(o("\u4EC5\u652F\u6301 .json\u3001.gia \u6216 .lua \u6587\u4EF6"));return}try{await Y.current.catch(()=>{});let L=await J(m,"import",{format:E,filename:p.name,data:await Yt(p)});dl(L.snapshot,{keepLogicDraft:!1}),H(""),qt([o`已导入 ${p.name}`,...L.warnings||[]].join(`
41
- `)),Ai([])}catch(L){H(L?.message||String(L))}finally{qi.current&&(qi.current.value="")}}function Zh(){I.open(async()=>{await Y.current.catch(()=>{}),await Qe(),await Xa(),await Y.current,H("")})}async function Kh(){if(!(Q||!P?.trim())){Vt(!0);try{await Qe(),await Xa(),await Y.current.catch(()=>{});let p=_.current,E=await J(m,"save",{path:P.trim(),expectedRevision:p.version});dl(await J(m,"get")),qt(o`已保存到 ${E.path}`),H(""),K(null),Ci()}catch(p){H(p?.message||String(p))}finally{Vt(!1)}}}if(t.useEffect(()=>{x?.inspector?.kind==="server-container"&&So("base")},[x?.inspector?.kind]),!x)return n("div",{className:"qxsim","data-qxqy-font-ui":"","data-theme":z,"data-qxsim-session-id":m},n("div",{className:"qxsim-status error"},D||o("\u6B63\u5728\u8F7D\u5165\u5343\u661F\u6C99\u7BB1\u2026")));let Ve=x.canvas.width,da=x.canvas.height,Mo=wi.width>0&&wi.height>0?Math.min((wi.width-44)/Ve,(wi.height-54)/da):NaN,$h=Number.isFinite(Mo)&&Mo>0?Math.min(2,Math.round(Mo*1e3)/1e3):.5,zo=qo==="fit"?$h:Number(qo)||.5,jr=Be(Ve,da),Jh=(x.canvas.presets||[]).filter(p=>p.platform===x.canvas.platform);function Ih(p){if(!x||x.canvas.platform===p)return;let E=(x.canvas.presets||[]).filter(X=>X.platform===p);if(!E.length)return;let L=E.find(X=>Ge(X)===jr)||E[0];yt({op:"setCanvas",canvasId:L.id}).then(()=>qt(o`已切换到${L.label}`)).catch(()=>{})}let Ct=x.asset?.type==="client-control-template",Oo=!!(x.inspector&&x.inspector.kind!=="server-container"),Uo=new Set;for(let p of x.tree||[])(Ao[p.id]||(p.ancestorIds||[]).some(E=>Ao[E]))&&Uo.add(p.id);let Qr=(x.boxes||[]).filter(p=>p.kind!=="server-container"&&p.visible&&p.visibleInHierarchy!==!1&&!Uo.has(p.id)),Vr=Qr.find(p=>p.id===x.selectedId);function Fh(p,E){p.stopPropagation(),Uh(L=>{let X={...L};return X[E]?delete X[E]:X[E]=!0,X})}let Zr=x.tree.filter(p=>!Ni.trim()||`${p.name} ${p.label} ${o(p.label)}`.toLowerCase().includes(Ni.trim().toLowerCase())),dt=x.tree.find(p=>p.id===x.selectedId),Wh=Ct&&dt?x.tree.filter(p=>p.id!==dt.id&&!(p.ancestorIds||[]).includes(dt.id)):[],Ph=dt?.parentId||x.root.id;return n("div",{className:"qxsim","data-qxqy-font-ui":"",lang:N==="zh"?"zh-CN":"en","data-theme":z,"data-qxsim-session-id":m},I.overlay,Ee?n(T,{onClose:()=>lt(!1)}):null,je==="script"&&D?n("div",{className:"qxsim-status error",role:"alert"},o(D)):null,P!==null?n("div",{className:"qxsim-save-overlay"},n("form",{className:"qxsim-save-dialog",role:"dialog","aria-modal":!0,"aria-label":o("\u4FDD\u5B58\u5230\u5DE5\u4F5C\u533A"),onSubmit:p=>{p.preventDefault(),Kh()}},n("h2",null,o("\u4FDD\u5B58\u5230\u5DE5\u4F5C\u533A")),n("label",null,o("\u5B58\u6863\u76F8\u5BF9\u8DEF\u5F84"),n("input",{autoFocus:!0,required:!0,value:P,disabled:Q,onChange:p=>K(p.target.value)})),D?n("div",{role:"alert"},o(D)):null,n("footer",null,n("button",{className:"qxsim-action",type:"button",disabled:Q,onClick:()=>K(null)},o("\u53D6\u6D88")),n("button",{className:"qxsim-action primary",type:"submit",disabled:Q||!P.trim()},Q?o("\u4FDD\u5B58\u4E2D\u2026"):o("\u4FDD\u5B58"))))):null,n("header",{className:"qxsim-toolbar"},n("div",{className:"qxsim-brand",title:`${x.workspace?.bound?x.workspace.path:o("\u5DE5\u4F5C\u533A\u672A\u7ED1\u5B9A")}
42
- ${x.meta?.sourceFile||o("\u5C1A\u672A\u5BFC\u5165\u6587\u4EF6")}`},n("span",{className:"qxsim-appicon"},"UI"),n("span",{className:"qxsim-brand-text"},n("strong",null,o`存档:${x.save?.name||x.meta?.name||o("\u672A\u547D\u540D\u5B58\u6863")}`),n("span",null,o`工作区:${x.workspace?.bound?x.workspace.name:o("\u672A\u7ED1\u5B9A")} · 当前资产:${o(x.asset?.label)||o("UI\u63A7\u4EF6")}`))),n("div",{className:"qxsim-toolbar-center"},je==="ui"?n(t.Fragment,null,n("div",{className:"qxsim-device-switch",role:"group","aria-label":o("\u76EE\u6807\u8BBE\u5907")},pe.map(p=>n("button",{key:p.key,className:x.canvas.platform===p.key?"active":"",title:o(p.title),onClick:()=>Ih(p.key)},o(p.label)))),n("select",{className:"qxsim-control ratio","aria-label":o("\u5C4F\u5E55\u6BD4\u4F8B"),value:x.canvasId,onChange:p=>void yt({op:"setCanvas",canvasId:p.target.value}).catch(()=>{})},Jh.map(p=>n("option",{key:p.id,value:p.id},`${Ge(p)} \xB7 ${p.width}\xD7${p.height}`))),n("select",{className:"qxsim-control zoom","aria-label":o("\u753B\u5E03\u7F29\u653E"),value:qo,onChange:p=>Oh(p.target.value)},[["fit",o("\u9002\u5E94")],["0.25","25%"],["0.5","50%"],["0.75","75%"],["1","100%"]].map(([p,E])=>n("option",{key:p,value:p},E)))):n("span",{className:"qxsim-muted"},je==="logic"?o("\u670D\u52A1\u7AEF\u903B\u8F91\uFF1A\u76D1\u542C\u4FE1\u53F7 / \u81EA\u5B9A\u4E49\u53D8\u91CF / \u73A9\u5BB61-8 \u56DE\u4F20"):o("Lua \u811A\u672C\u8D44\u4EA7\u7F16\u8F91"))),n("div",{className:"qxsim-actions"},l?n("button",{className:"qxsim-action",title:o("\u4FDD\u5B58\u5B8C\u6574\u5B58\u6863\u5230\u5DE5\u4F5C\u533A"),onClick:()=>{H(""),K(_.current?.storage?.path||"qxqy-simulator.save.json")}},o("\u4FDD\u5B58\u5B58\u6863")):null,n("div",{className:"qxsim-io"},n("input",{ref:qi,hidden:!0,type:"file",accept:".json,.gia,.lua,application/json,application/octet-stream,text/plain",onChange:p=>void Vh(p.target.files?.[0])}),n("select",{className:"qxsim-control zoom","aria-label":o("\u4ECE\u5DE5\u4F5C\u533A\u62C9\u53D6\u5B58\u6863"),defaultValue:"",onFocus:()=>void Ci(),onChange:p=>{let E=p.target.value;p.target.value="",E&&Xr(E)}},n("option",{value:"",disabled:!0},x.workspace?.bound?o("\u2913 \u5DE5\u4F5C\u533A\u5B58\u6863"):o("\u5DE5\u4F5C\u533A\u672A\u7ED1\u5B9A")),...Rr.length?Rr.map(p=>n("option",{key:p.path,value:p.path},`${p.name} \xB7 ${p.path}`)):[n("option",{value:"",disabled:!0},x.workspace?.bound?o("\u672A\u53D1\u73B0 qxqy-simulator-save"):o("\u5148\u7ED1\u5B9A\u4F1A\u8BDD\u5DE5\u4F5C\u533A"))]),n("button",{className:"qxsim-action",title:o("\u5BFC\u5165\u5B58\u6863\u3001\u5355\u9879 UI \u8D44\u4EA7\u6216 Lua"),onClick:()=>qi.current?.click()},o("\u21E7 \u5BFC\u5165")),n("select",{className:"qxsim-control zoom","aria-label":o("\u5BFC\u51FA\u683C\u5F0F"),defaultValue:"",onChange:p=>{let[E,L=""]=p.target.value.split("|");p.target.value="",E&&Mi(E,L)}},n("option",{value:"",disabled:!0},o("\u21E9 \u5BFC\u51FA")),n("option",{value:"save"},o("\u8D44\u4EA7\u5305 JSON\uFF08\u4E09\u7C7B\u5408\u4E00\uFF09")),n("option",{value:"save-gia"},o("\u8D44\u4EA7\u5305 GIA\uFF08\u5DF2\u6539\u52A8\u9879\uFF09")),n("option",{value:"gia-combined"},o("\u8D44\u4EA7\u5305 GIA \u6574\u5408\u5305\uFF08\u63A7\u4EF6+\u811A\u672C\uFF09")),n("optgroup",{label:o("\u5F53\u524D\u754C\u9762\uFF08\u5DE6\u680F\u6B63\u5728\u770B\u7684\u90A3\u68F5\u6811\uFF09")},n("option",{value:"json"},o("\u5F53\u524D\u754C\u9762 Authoring JSON")),n("option",{value:"gia"},o("\u5F53\u524D\u754C\u9762 GIA"))),n("optgroup",{label:o("\u670D\u52A1\u5668\u63A7\u4EF6\u6A21\u677F")},n("option",{value:"json|server-control-template"},"Authoring JSON"),n("option",{value:"gia|server-control-template"},"GIA")),n("optgroup",{label:o("\u5BA2\u6237\u7AEF\u63A7\u4EF6\u6A21\u677F\uFF08\u4EC5\u5F53\u5DE6\u680F\u5207\u5230\u300CUI\u63A7\u4EF6-\u5BA2\u6237\u7AEF\u300D\u65F6\u624D\u662F\u9875\u9762\u5185\u5BB9\uFF09")},n("option",{value:"json|client-control-template"},"Authoring JSON"),n("option",{value:"gia|client-control-template"},"GIA")),n("optgroup",{label:o("Lua \u811A\u672C")},n("option",{value:"scripts"},o("\u811A\u672C\u5305 JSON\uFF08\u5168\u90E8\u811A\u672C\uFF09")),n("option",{value:"scripts-gia"},o("\u811A\u672C\u5305 GIA\uFF08\u5168\u90E8\u811A\u672C\uFF09"))))),n("button",{className:"qxsim-action primary",title:o("\u6253\u5F00\u8BD5\u73A9\uFF1B\u65B0\u7A97\u53E3\u4E0D\u53EF\u7528\u65F6\u5728\u5E94\u7528\u5185\u8BD5\u73A9"),disabled:I.opening,onClick:Zh},I.opening?o("\u6B63\u5728\u51C6\u5907\u2026"):o("\u25B7 \u8BD5\u73A9 \u2197")),n("button",{className:"qxsim-iconbtn",title:o("\u91CD\u65B0\u8F7D\u5165"),onClick:Ti},"\u21BB"))),n("nav",{className:"qxsim-editor-nav","aria-label":o("\u7F16\u8F91\u9875\u9762")},n("button",{className:je==="ui"?"active":"",onClick:()=>pl("ui")},o("UI \u7F16\u8F91")),n("button",{className:je==="script"?"active":"",onClick:()=>pl("script")},o("Lua \u811A\u672C")),n("button",{className:je==="logic"?"active":"",onClick:()=>pl("logic")},o("\u670D\u52A1\u7AEF\u903B\u8F91")),n("span",{className:"save-summary"},o("\u4E00\u4E2A\u5B58\u6863 \xB7 \u670D\u52A1\u5668\u63A7\u4EF6\u6A21\u677F + \u5BA2\u6237\u7AEF\u63A7\u4EF6\u6A21\u677F + Lua \u811A\u672C + \u670D\u52A1\u7AEF\u903B\u8F91")),n("div",{className:"qxsim-editor-settings"},n("button",{onClick:()=>lt(!0),"aria-label":o("\u5B57\u4F53\u8BBE\u7F6E")},o("\u5B57\u4F53\u8BBE\u7F6E")),n("select",{className:"qxsim-control qxsim-language","aria-label":o("\u754C\u9762\u8BED\u8A00"),title:o("\u754C\u9762\u8BED\u8A00"),value:Fr(),onChange:p=>Pr(p.target.value)},n("option",{value:"auto"},o("\u81EA\u52A8\uFF08\u7CFB\u7EDF\u8BED\u8A00\uFF09")+" \xB7 "+Di().language),n("option",{value:"zh"},"\u7B80\u4F53\u4E2D\u6587"),n("option",{value:"en"},"English")))),je==="script"?n(u,{snap:x,patch:yt,request:(p,E)=>J(m,p,E),refresh:async()=>dl(await J(m,"get")),prepare:async()=>(await Y.current,await Qe(),await Xa(),_.current)}):null,n(c,{snap:x,patch:yt,prepare:Qe,copy:Rh,onScripts:()=>pl("script"),onError:H,reloadArchive:()=>Xr(_.current.storage?.path)}),xo.length?n("details",{className:"qxsim-export-warnings",open:!0,role:"status",style:{flexShrink:0,maxHeight:180,overflow:"auto",padding:"8px 16px",borderBottom:"1px solid currentColor"}},n("summary",{style:{cursor:"pointer"}},o`上次导出说明(${xo.length} 项,请核对导入后的效果)`),n("button",{className:"qxsim-action",onClick:()=>Ai([])},o("\u5173\u95ED\u5BFC\u51FA\u8BF4\u660E")),n("ul",null,xo.map((p,E)=>n("li",{key:E},o(p))))):null,je==="ui"?n("div",{className:"qxsim-main"},n("aside",{className:"qxsim-tree"},n("div",{className:"qxsim-asset-switch","aria-label":o("\u7F16\u8F91\u8D44\u6E90\u7C7B\u578B")},n("button",{className:Ct?"":"active",title:o("\u7F16\u8F91\u5B58\u6863\u5185\u7684\u670D\u52A1\u7AEF UI \u63A7\u4EF6"),onClick:()=>void Yr("server-control-template")},o("UI\u63A7\u4EF6-\u670D\u52A1\u7AEF")),n("button",{className:Ct?"active":"",title:o("\u7F16\u8F91\u5B58\u6863\u5185\u7684\u5BA2\u6237\u7AEF\u63A7\u4EF6\u6A21\u677F"),onClick:()=>void Yr("client-control-template")},o("UI\u63A7\u4EF6-\u5BA2\u6237\u7AEF"))),n("div",{className:"qxsim-pane-head"},n("div",{className:"qxsim-pane-title"},Ct?o("\u6A21\u677F\u4E0E\u5B50\u63A7\u4EF6"):o("\u63A7\u4EF6\u6811")),n("span",{className:"qxsim-muted"},Ct?o`${x.asset.templateCount} 个模板 · ${x.tree.length} 个控件`:o`${x.tree.length} 个节点`)),n("label",{className:"qxsim-search"},"\u2315",n("input",{value:Ni,placeholder:Ct?o("\u641C\u7D22\u6A21\u677F\u6216\u63A7\u4EF6"):o("\u641C\u7D22\u63A7\u4EF6"),onChange:p=>No(p.target.value)}),Ni?n("button",{onClick:()=>No("")},"\xD7"):n("span",null,"\u2301")),n("div",{className:"qxsim-tree-scroll"},Zr.length?Zr.map(p=>{let E=g[p.kind]||["\u25C7",p.label],L=Uo.has(p.id),X=!!Ao[p.id];return n("div",{key:p.id,className:`qxsim-row${Ct&&p.depth===0?" template-root":""}${p.id===x.selectedId?" active":""}${L?" canvas-hidden":""}`,style:{paddingLeft:8+p.depth*18,"--depth":p.depth},title:`${o(E[1])} \xB7 ${p.name} \xB7 GUID ${p.guid??p.id}`,onClick:()=>void yt({op:"select",id:p.id}).catch(()=>{})},n("span",{className:"qxsim-chevron"},p.childCount?"\u25BC":""),n("span",{className:"qxsim-kind"},E[0]),n("span",{className:"qxsim-row-label"},p.name),n("span",{className:"qxsim-row-end"},Ct&&p.depth===0?n(t.Fragment,null,n("span",{className:"qxsim-template-tag"},o("\u6A21\u677F")),n("span",{className:"qxsim-template-id"},`#${p.guid??p.id}`)):p.incomplete?n("span",{className:"qxsim-incomplete"},o("\u6682\u4E0D\u652F\u6301")):null,n("button",{className:`qxsim-eye${X?" off":""}`,type:"button",title:X?o("\u5728\u753B\u5E03\u4E0A\u663E\u793A\uFF08\u4E0D\u5F71\u54CD\u63A7\u4EF6\u521D\u59CB\u53EF\u89C1\u6027\uFF09"):o("\u5728\u753B\u5E03\u4E0A\u9690\u85CF\uFF08\u4E0D\u5F71\u54CD\u63A7\u4EF6\u521D\u59CB\u53EF\u89C1\u6027\uFF09"),"aria-label":o`${p.name}画布可见性`,"aria-pressed":!X,onClick:Jt=>Fh(Jt,p.id)},X?"\u25CC":"\u25C9")))}):n("div",{className:"qxsim-empty"},o("\u6CA1\u6709\u5339\u914D\u7684\u63A7\u4EF6"))),n("div",{className:"qxsim-tree-foot"},Ct&&dt?n("div",{className:"qxsim-hierarchy"},n("div",{className:"qxsim-hierarchy-head"},n("strong",null,o("\u5C42\u7EA7\u4E0E\u6A21\u677F\u8FB9\u754C")),n("span",null,dt.name)),n("div",{className:"qxsim-parent-row"},n("select",{"aria-label":o("\u7236\u7EA7\u63A7\u4EF6"),value:Ph,onChange:p=>void yt({op:"reparent",id:dt.id,parentId:p.target.value}).then(()=>qt(p.target.value===x.root.id?o("\u5DF2\u63D0\u5347\u4E3A\u53EF\u5B9E\u4F8B\u5316\u9876\u5C42\u6A21\u677F"):o("\u5DF2\u8C03\u6574\u63A7\u4EF6\u7236\u7EA7"))).catch(()=>{})},n("option",{value:x.root.id},o("\u9876\u5C42\u6A21\u677F\uFF08\u53EF\u5B9E\u4F8B\u5316\uFF09")),Wh.map(p=>n("option",{key:p.id,value:p.id},`${"\u3000".repeat(p.depth)}${p.name}`))),n("button",{title:o("\u5728\u540C\u7EA7\u4E2D\u4E0A\u79FB"),disabled:dt.siblingIndex<=0,onClick:()=>void yt({op:"moveSibling",id:dt.id,direction:"up"}).catch(()=>{})},"\u2191"),n("button",{title:o("\u5728\u540C\u7EA7\u4E2D\u4E0B\u79FB"),disabled:dt.siblingIndex>=dt.siblingCount-1,onClick:()=>void yt({op:"moveSibling",id:dt.id,direction:"down"}).catch(()=>{})},"\u2193")),n("div",{className:"qxsim-hierarchy-note"},dt.depth===0?o("\u8BE5\u8282\u70B9\u4F1A\u5199\u5165\u72EC\u7ACB UIControlTemplate\uFF0C\u53EF\u76F4\u63A5\u4F5C\u4E3A prefabId\u3002"):o`当前为第 ${dt.depth} 层子控件,不会单独成为 prefabId。`)):null,n("div",{className:"qxsim-palette-head"},n("span",{title:Ct&&fl==="template"?o("\u65B0\u589E\u72EC\u7ACB\u53EF\u5B9E\u4F8B\u5316\u6A21\u677F"):o`添加到${dt?dt.name:o("\u5F53\u524D\u63A7\u4EF6")}`},Ct&&fl==="template"?o("\u65B0\u589E\u9876\u5C42\u6A21\u677F"):o`添加到${dt?`\u201C${dt.name}\u201D`:o("\u5F53\u524D\u63A7\u4EF6")}`),Ct?n("span",{className:"qxsim-add-mode"},n("button",{className:fl==="template"?"active":"",onClick:()=>Eo("template")},o("\u9876\u5C42")),n("button",{className:fl==="child"?"active":"",onClick:()=>Eo("child")},o("\u5B50\u63A7\u4EF6"))):null),n("div",{className:"qxsim-add"},S.filter(([p])=>Ct||p!=="container").map(([p,E])=>n("button",{key:p,title:`${Ct&&fl==="template"?o("\u65B0\u589E"):o("\u6DFB\u52A0")}${o(E)}`,onClick:()=>Qh(p,o(E))},`\uFF0B ${o(E)}`))))),n("main",{className:"qxsim-center"},n("div",{className:"qxsim-workspace",ref:Hr},n("div",{className:"qxsim-stage-shell",style:{width:`${Math.max(40,Math.round(Ve*zo))}px`}},n("div",{className:"qxsim-stage-label"},n("b",null,Ct?o("Lua \u6A21\u677F\u9884\u89C8"):o("\u754C\u9762\u63A7\u4EF6\u7EC4")),n("span",{className:"qxsim-platform-tag"},x.canvas.platform),n("span",null,o`${jr} · ${Ve}×${da} · 左下原点`)),n("div",{className:"qxsim-stage",style:{width:"100%",aspectRatio:`${Ve} / ${da}`},onClick:p=>{let E=p.currentTarget.getBoundingClientRect();yt({op:"pick",x:(p.clientX-E.left)*Ve/E.width,y:(E.bottom-p.clientY)*da/E.height}).catch(()=>{})}},n(b,{boxes:Qr,canvasWidth:Ve,canvasHeight:da,renderControl:p=>_r(p,x,Ve,da,zo,ut)}),Vr?_r(Vr,x,Ve,da,zo,ut,!0):null))),D?n("div",{className:"qxsim-status error"},"\u26A0 ",o(D)):n("div",{className:"qxsim-status"},n("span",null,o`● ${o(x.asset?.label)||o("\u63A7\u4EF6")}编辑`),n("span",null,fa||(dt?o`当前:${dt.name}`:"")),n("span",{className:"spacer"}),n("span",null,Ct?o("GIA \u5BFC\u51FA\u540E\u53EF\u5728 Lua \u4E2D\u6309 prefabId \u5B9E\u4F8B\u5316"):o("\u5B57\u6BB5\u5728\u5931\u7126\u6216 Enter \u65F6\u63D0\u4EA4")))),n("aside",{className:"qxsim-inspector"},x.inspector?n(t.Fragment,null,n("div",{className:"qxsim-inspector-head"},n("div",{className:"qxsim-inspector-line"},n("span",{className:"qxsim-kind"},(g[x.inspector.kind]||["\u25C7"])[0]),n("strong",null,o(x.inspector.label)),Ct&&dt?.depth===0?n("span",{className:"qxsim-template-tag"},o("\u53EF\u5B9E\u4F8B\u5316")):null),n("div",{className:"qxsim-node-id"},Ct&&dt?.depth===0?o("\u6A21\u677F\u7D22\u5F15 "):o("\u63A7\u4EF6 GUID "),n("code",null,x.inspector.guid??x.inspector.id)," \xB7 ",dt?.name||o("\u8282\u70B9")),x.inspector.kind!=="server-container"?n(Eh,{key:`${x.asset.type}:${x.inspector.id}`,inspector:x.inspector,autofill:x.clientGuidAutofill,onSave:(p,E,L)=>_h(p,E,x.asset.type,L)}):null),n("div",{className:"qxsim-tabs",style:Oo?void 0:{gridTemplateColumns:"1fr"}},n("button",{className:bo==="base"?"active":"",onClick:()=>So("base")},o("\u57FA\u7840\u5C5E\u6027")),Oo?n("button",{className:bo==="script"?"active":"",onClick:()=>So("script")},o("\u811A\u672C")):null),n("div",{className:"qxsim-inspector-scroll"},Oo&&bo==="script"?n(wh,{snap:x,addScriptMounted:p=>void Br({controlId:p,controlAsset:x.asset?.type}).then(()=>pl("script")),mountScriptTo:jh,unmountScript:Xh,openScript:p=>{Ei(p),pl("script")}}):n(t.Fragment,null,n(Xe,{key:`${x.asset.type}:${x.inspector.id}`,inspector:x.inspector,commit:Lh,createStateChild:Hh}),x.boxes?.some(p=>p.id===x.selectedId&&sl(p.imageId,p.imageSource))?n("div",{className:"qxsim-section-body"},n("button",{className:"qxsim-action",disabled:V,onClick:kh},V?o("\u6B63\u5728\u5237\u65B0\u7D20\u6750\u2026"):o("\u21BB \u91CD\u65B0\u4E0B\u8F7D\u6B64\u7D20\u6750")),n("p",{className:"qxsim-muted"},o("\u767D\u540D\u5355\u56FE\u7247\u6309\u9700\u7F13\u5B58\uFF1B\u5237\u65B0\u4F1A\u91CD\u65B0\u8BBF\u95EE\u7D20\u6750\u6E90\u3002"))):null)),n("div",{className:"qxsim-tree-foot"},n("button",{className:"qxsim-action danger",style:{width:"100%"},onClick:()=>void yt({op:"remove"}).catch(()=>{})},Ct&&dt?.depth===0?o("\u232B \u5220\u9664\u5F53\u524D\u6A21\u677F"):o("\u232B \u5220\u9664\u5F53\u524D\u63A7\u4EF6")))):n("div",{className:"qxsim-empty"},o("\u8BF7\u9009\u62E9\u4E00\u4E2A\u63A7\u4EF6")))):je==="script"?n(U,{snap:x,selectedScriptId:wo,selectScript:p=>{Gr(),Ei(p)},draft:To,updateDraft:Gh,saveScript:()=>void Qe().then(()=>qt(o("Lua \u811A\u672C\u5DF2\u4FDD\u5B58\u5230\u5F53\u524D\u5B58\u6863"))).catch(()=>{}),addScript:()=>void Br(),removeScript:Yh,exportLua:p=>void Mi("lua",p),exportScripts:()=>void Mi("scripts"),exportScriptsGia:()=>void Mi("scripts-gia"),notice:fa}):n(Nh,{snap:x,draft:kr,setDraft:Co,saveLogic:()=>void Xa().catch(()=>{}),notice:fa,error:D}),n(C,{version:i,request:p=>J(m,p)}))}return{SimulatorView:Mh,ensureStyle:O,removeStyle:()=>document.getElementById(f)?.remove()}}var gh={name:"beyond-simulator-web",version:"0.5.1",description:"Self-hosted editor, preview and play surface for Qianxing simulator saves",type:"module",main:"dist/server.js",bin:{"beyond-simulator-web":"dist/server.js"},files:["dist","README.md"],scripts:{build:"node ../scripts/build.mjs web",pretest:"node ../scripts/build.mjs web",prepack:"node ../scripts/build.mjs web",start:"node dist/server.js",dev:"node ../scripts/build.mjs web && node server.js",test:"node --test test/*.test.mjs"},engines:{node:">=20"},dependencies:{"@napi-rs/canvas":"0.1.100",fengari:"0.1.5",protobufjs:"8.7.2"},devDependencies:{react:"19.1.1","react-dom":"19.1.1","qxqy-editor-ui":"workspace:*","qxqy-studio":"workspace:*"},license:"GPL-3.0-only",repository:{type:"git",url:"git+https://github.com/1475505/miliastra-beyond-simulator.git",directory:"web"}};await Wr("/editor/api/locale");ko();Lo(()=>ko());var yh="qxqy-editor-session",mo=sessionStorage.getItem(yh);mo||(mo=Array.from(crypto.getRandomValues(new Uint8Array(16)),t=>t.toString(16).padStart(2,"0")).join(""),sessionStorage.setItem(yh,mo));var xh=hh(Mr.default,{version:gh.version,async api(t,e,a={}){let l=await fetch(`/editor/api/${e}`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({sessionId:t,...a}),...e==="play"?{signal:AbortSignal.timeout(15e3)}:{}}),i=await l.json();if(!l.ok||!i.ok)throw new Error(i.error||"\u8BF7\u6C42\u5931\u8D25");return i.value},playUrl:t=>`/editor/play#${encodeURIComponent(t)}`,saveToWorkspace:!0});xh.ensureStyle();(0,vh.createRoot)(document.getElementById("editor")).render(Mr.default.createElement(xh.SimulatorView,{sessionId:mo}));
60
+ `,z={"server-container":["\u25A3","\u5BA2\u6237\u7AEF\u63A7\u4EF6\u5BB9\u5668"],container:["\u25A1","\u5BB9\u5668\u8282\u70B9"],textbox:["T","\u6587\u672C\u6846"],cursor:["\u2301","\u5149\u6807\u68C0\u6D4B\u533A\u57DF"],reference:["\u2197","\u6A21\u677F\u5F15\u7528\u63A7\u4EF6"],grid:["\u25A6","\u7F51\u683C\u89C6\u7A97"],image:["\u25A7","\u56FE\u7247"],button:["Btn","\u9884\u8BBE\u6309\u94AE"],textwindow:["T\u2195","\u6587\u672C\u89C6\u7A97"],keyhint:["1","\u6309\u952E\u63D0\u793A"],animation:["\u2726","\u754C\u9762\u52A8\u6548"],fullscreen:["\u2725","\u5168\u5C4F\u52A8\u6548"]},q=[["container","\u5BB9\u5668\u8282\u70B9"],["textbox","\u6587\u672C\u6846"],["cursor","\u5149\u6807\u68C0\u6D4B"],["reference","\u6A21\u677F\u5F15\u7528"],["grid","\u7F51\u683C\u89C6\u7A97"],["button","\u9884\u8BBE\u6309\u94AE"],["textwindow","\u6587\u672C\u89C6\u7A97"],["keyhint","\u6309\u952E\u63D0\u793A"],["image","\u56FE\u7247"],["animation","\u754C\u9762\u52A8\u6548"],["fullscreen","\u5168\u5C4F\u52A8\u6548"]],k={container:["isolateNavigation","disableKeyEventPassthrough","disableCursorEventPassthrough","showCursor"],textbox:["fontSize","adaptiveFontSize","minimumFontSize","fontColor","bgColor","enableOutline","outlineColor","horizontalAlignment","verticalAlignment","text"],cursor:[],reference:["referencedPrefabId"],grid:["itemPrefabId","raycastTarget","interactable","showScrollBar","scrollDirection","layoutConstraint","layoutConstraintFixedCount","cellSizeX","cellSizeY","spacingX","spacingY","padding1X","padding1Y","padding2X","padding2Y","previewCount"],image:["imageSource","imageId","imageColor","enableMask","enableSoftEdge","softEdgeMode","softEdgeWidthX","softEdgeWidthY","horizontalSoftRange","verticalSoftRange","enableFill","fillType","fillHorizontalType","fillVerticalType","fillRadial90Type","fillRadialType","fillAmount","reverseMaskArea"],button:["raycastTarget","interactable","unavailableChildId","hoverChildId","pressedChildId","selectedChildId","clickAudioId"],textwindow:["interactable","showScrollBar","fontSize","adaptiveFontSize","minimumFontSize","fontColor","bgColor","enableOutline","outlineColor","horizontalAlignment","verticalAlignment","text"],keyhint:["keyboardKeyCode","controllerKeyCode"],animation:["animationId","playSoundEffect","layer"],fullscreen:["animationId","playSoundEffect"]};function D(){if(document.getElementById(w))return;let m=document.createElement("style");m.id=w,m.textContent=S,document.head.appendChild(m)}function H(){let m=document.documentElement,A=document.body,O=[m.dataset.theme,m.className,m.getAttribute("style"),A?.dataset?.theme,A?.className,A?.getAttribute("style"),getComputedStyle(m).colorScheme].filter(Boolean).join(" ").toLowerCase();return O.includes("dark")?"dark":O.includes("light")?"light":window.matchMedia?.("(prefers-color-scheme: dark)").matches?"dark":"light"}function ce(){let[m,A]=e.useState(H);return e.useEffect(()=>{let O=()=>A(H()),y=new MutationObserver(O);y.observe(document.documentElement,{attributes:!0,attributeFilter:["class","style","data-theme"]}),document.body&&y.observe(document.body,{attributes:!0,attributeFilter:["class","style","data-theme"]});let R=window.matchMedia?.("(prefers-color-scheme: dark)");return R?.addEventListener?.("change",O),()=>{y.disconnect(),R?.removeEventListener?.("change",O)}},[]),m}function Xe(m,A){let O=Number(m??A)>>>0;return`rgba(${O>>>16&255},${O>>>8&255},${O&255},${(O>>>24&255)/255})`}function Re(m,A){return m==="sprite"?{background:"transparent"}:m==="circle"?{borderRadius:"50%",background:A}:m==="ring"?{borderRadius:"50%",border:`7px solid ${A}`,background:"transparent"}:m==="triangle"?{background:A,clipPath:"polygon(50% 0,100% 100%,0 100%)"}:m==="fourstar"?{background:A,clipPath:"polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%)"}:m==="fivestar"?{background:A,clipPath:"polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%)"}:m==="missing"?{background:"#4822285c",border:"1px dashed #ff7481"}:{background:A}}let G=t;function de(m){let A;try{A=atob(m.data)}catch{throw new Error(c("\u5BFC\u51FA\u5185\u5BB9\u89E3\u7801\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5\u6216\u5237\u65B0\u9875\u9762"))}let O=new Uint8Array(A.length);for(let _=0;_<A.length;_+=1)O[_]=A.charCodeAt(_);let y=URL.createObjectURL(new Blob([O],{type:m.mimeType||"application/octet-stream"})),R=document.createElement("a");R.href=y,R.download=m.filename||"qxqy-export",R.rel="noopener",R.style.display="none",document.body.appendChild(R),R.click(),R.remove(),setTimeout(()=>URL.revokeObjectURL(y),1e3)}async function fe(m){let A=new Uint8Array(await m.arrayBuffer()),O="",y=32768;for(let R=0;R<A.length;R+=y)O+=String.fromCharCode(...A.subarray(R,R+y));return btoa(O)}let Ae=m=>typeof m=="object"?m.value:m,Fe=m=>c(typeof m=="object"?m.label:m),Oe=[{key:"KEYBOARD",label:"PC",title:"PC KEYBOARD \u753B\u5E03\uFF1A1600\xD7900 / 2100\xD7900"},{key:"TOUCHSCREEN",label:"\u624B\u673A",title:"\u624B\u673A TOUCHSCREEN \u753B\u5E03\uFF1A1280\xD7720 / 1560\xD7720 / 1280\xD7960"}];function Ve(m){return String(m.id||"").split("-").slice(1).join(":")}function fn(m,A){let O=(R,_)=>_?O(_,R%_):R,y=O(Math.round(m),Math.round(A))||1;return`${Math.round(m)/y}:${Math.round(A)/y}`}function ct({field:m,commit:A,axis:O}){let y=m.value==null?"":String(m.value),[R,_]=e.useState(y);if(e.useEffect(()=>_(m.value==null?"":String(m.value)),[m.value,m.type]),m.type==="note")return n("div",{className:"qxsim-note"},c(m.value||m.label));if(m.readonly&&(m.evidence==="N"||m.evidence==="U"))return n("div",{className:"qxsim-field"},n("span",{className:"qxsim-field-label"},c(m.label)),n("div",{className:"qxsim-unsupported"},m.value==null?c("\u5C1A\u65E0\u53EF\u7F16\u8F91\u503C"):String(m.value)));if(m.type==="bool")return n("div",{className:"qxsim-switch-row"},n("span",null,c(m.label)),n("label",{className:"qxsim-switch"},n("input",{type:"checkbox",checked:!!m.value,disabled:!!m.readonly,onChange:L=>A(m.key,L.target.checked)}),n("span",{className:"qxsim-switch-track"})));if(m.type==="enum"){let L=[...m.options||[]],B=String(m.value??"");return L.some(J=>String(Ae(J))===B)||L.unshift({value:m.value??"",label:c`未识别选项 ${m.unknownValue??(B||c("\u7A7A"))}(保留原值)`}),n("label",{className:"qxsim-field"},n("span",{className:"qxsim-field-label"},c(m.label)),n("select",{value:B,disabled:!!m.readonly,onChange:J=>A(m.key,J.target.value)},L.map(J=>n("option",{key:String(Ae(J)),value:Ae(J)},Fe(J)))))}if(m.type==="percent"){let L=Math.round(Number(m.value||0)*100);return n("label",{className:"qxsim-field"},n("span",{className:"qxsim-field-label"},c(m.label)),n("span",{className:"qxsim-percent"},n("input",{type:"range",min:0,max:100,value:L,onInput:B=>A(m.key,Number(B.target.value)/100)}),n("output",null,`${L}%`)))}if(m.type==="color")return n(C,{field:m,commit:A});let X={value:R,disabled:!!m.readonly,readOnly:!!m.readonly,onChange:L=>_(L.target.value),onBlur:()=>{m.readonly||A(m.key,R)},onKeyDown:L=>{L.key==="Enter"&&m.type!=="text"&&L.currentTarget.blur(),L.key==="Escape"&&_(m.value==null?"":String(m.value))}};return n("label",{className:"qxsim-field"},n("span",{className:"qxsim-field-label"},O?n("b",{className:`qxsim-axis ${O.toLowerCase()}`},O):null,c(m.label)),m.type==="text"?n("textarea",{...X,rows:4}):n("input",{...X,type:m.type==="number"?"number":"text",step:m.type==="number"?"any":void 0}))}function gt({title:m,open:A=!0,children:O}){return n("details",{className:"qxsim-section",open:A},n("summary",null,m),n("div",{className:"qxsim-section-body"},O))}function Qt(m){let A={};for(let O of m||[])A[O.key]=O;return A}function U({label:m,x:A,y:O,xAxis:y="X",yAxis:R="Y",commit:_}){return n("div",{className:"qxsim-pair"},n("div",{className:"qxsim-pair-name"},m),n(ct,{field:A,axis:y,commit:_}),n(ct,{field:O,axis:R,commit:_}))}function $e({field:m,commit:A,createStateChild:O}){return n("div",{className:"qxsim-state-field"},n("div",{className:"qxsim-state-label"},c(m.label)),n("div",{className:"qxsim-state-ref"},n("button",{title:c`新建并绑定${c(m.label)}图片`,onClick:()=>O(m.key,c(m.label))},"+"),n("select",{value:String(m.value??""),"aria-label":c(m.label),onChange:y=>A(m.key,y.target.value)},(m.options||[]).map(y=>n("option",{key:String(Ae(y)),value:Ae(y)},Fe(y))))))}function vt({inspector:m,commit:A,createStateChild:O}){let y=Qt(m.fields),R=B=>B?.type==="node"?n($e,{key:B.key,field:B,commit:A,createStateChild:O}):B?n(ct,{key:B.key,field:B,commit:A}):null,_=(k[m.kind]||[]).map(B=>y[B]).filter(Boolean).map(R),X=null;if(m.kind==="image"){let B=y.fillType?.value==="Horizontal"?y.fillHorizontalType:y.fillType?.value==="Vertical"?y.fillVerticalType:y.fillType?.value==="Radial90"?y.fillRadial90Type:y.fillRadialType,J=[R(y.enableMask),R(y.enableSoftEdge),y.enableSoftEdge?.value?n("div",{className:"qxsim-subfields",key:"soft-fields"},R(y.softEdgeMode),n(U,{label:c("\u7FBD\u5316\u5BBD\u5EA6"),x:y.softEdgeWidthX,y:y.softEdgeWidthY,commit:A}),n(U,{label:c("\u7FBD\u5316\u8303\u56F4"),x:y.horizontalSoftRange,y:y.verticalSoftRange,commit:A})):null,R(y.enableFill),y.enableFill?.value?n("div",{className:"qxsim-subfields",key:"fill-fields"},R(y.fillType),R(B),R(y.fillAmount)):null,R(y.reverseMaskArea)];X=n(e.Fragment,null,n(gt,{title:c("\u56FE\u7247\u8BBE\u7F6E")},R(y.imageSource),R(y.imageId),n(E,{imageId:y.imageId?.value,imageSource:y.imageSource?.value,value:y.imageType?.value,commit:A}),R(y.imageColor)),n(gt,{title:c("\u906E\u7F69\u8BBE\u7F6E")},J))}let L=m.kind==="textbox"?c("\u6587\u672C\u6846\u8BBE\u7F6E"):m.kind==="button"?c("\u6309\u94AE\u8BBE\u7F6E"):c`${c(m.label)}设置`;return n(e.Fragment,null,n(gt,{title:c("\u8282\u70B9\u4FE1\u606F"),open:!1},n(ct,{field:y.name,commit:A})),n(gt,{title:c("\u53D8\u6362")},y.posX?n(U,{label:c("\u4F4D\u7F6E"),x:y.posX,y:y.posY,commit:A}):null,y.width?n(U,{label:c("\u5927\u5C0F"),x:y.width,y:y.height,xAxis:"W",yAxis:"H",commit:A}):null,...["rotationX","rotationY","rotationZ"].map(B=>y[B]?n(ct,{key:B,field:y[B],commit:A}):null),y.syncAllDevices?n(ct,{field:y.syncAllDevices,commit:A}):null,y.anchorType?n(ct,{field:y.anchorType,commit:A}):null,y.anchorMinX?n(U,{label:"Min",x:y.anchorMinX,y:y.anchorMinY,commit:A}):null,y.anchorMaxX?n(U,{label:"Max",x:y.anchorMaxX,y:y.anchorMaxY,commit:A}):null,y.pivotX?n(U,{label:c("\u4E2D\u5FC3"),x:y.pivotX,y:y.pivotY,commit:A}):null),n(gt,{title:c("\u521B\u5EFA\u8BBE\u7F6E")},y.active?n(ct,{field:y.active,commit:A}):null,y.visible?n(ct,{field:y.visible,commit:A}):null),X||(_.length?n(gt,{title:L},_):null),y.canControllerFocus?n(gt,{title:c("\u624B\u67C4\u5BFC\u822A"),open:!1},n(ct,{field:y.canControllerFocus,commit:A})):null,y.incomplete?n(gt,{title:c("\u5B9E\u73B0\u72B6\u6001")},n(ct,{field:y.incomplete,commit:A})):null)}function qc({snap:m,selectedScriptId:A,selectScript:O,draft:y,updateDraft:R,saveScript:_,addScript:X,removeScript:L,exportLua:B,exportScripts:J,exportScriptsGia:xe,notice:Mt}){let ne=m.scripts||[],F=ne.find(Z=>Z.id===A)||null,ee=m.mountTargets||[],K=ee.filter(Z=>Z.assetType==="server-control-template"),Q=ee.filter(Z=>Z.assetType==="client-control-template"),We=Z=>{let fa=ee.find(ba=>ba.id===Z);return fa?`${fa.assetLabel} \xB7 ${fa.name}`:""};return n("div",{className:"qxsim-script-page"},n("aside",{className:"qxsim-script-assets"},n("h3",null,c`存档内 Lua 脚本(${ne.length})`),n("button",{className:"qxsim-action",style:{width:"100%",marginBottom:8},onClick:X},c("\uFF0B \u65B0\u5EFA\u811A\u672C")),ne.length?ne.map(Z=>n("div",{key:Z.id,className:"qxsim-script-list-row"},n("button",{className:`qxsim-script-asset${Z.id===A?" active":""}`,onClick:()=>O(Z.id)},n("strong",null,Z.path||c("(\u672A\u547D\u540D\u811A\u672C)")),n("small",null,Z.mounted?c`挂载:${Z.assetLabel} · ${Z.controlName}`:c("\u672A\u6302\u8F7D\uFF08\u4EC5\u53EF\u88AB require\uFF09"))),n("button",{className:"qxsim-iconbtn",title:c("\u4E0B\u8F7D\u8BE5\u811A\u672C .lua"),onClick:()=>B(Z.id)},"\u21E9"),n("button",{className:"qxsim-iconbtn",title:c("\u5220\u9664\u8BE5\u811A\u672C"),onClick:()=>L(Z.id)},"\u2715"))):n("div",{className:"qxsim-empty"},c("\u8FD8\u6CA1\u6709\u811A\u672C\uFF0C\u70B9\u51FB\u201C\u65B0\u5EFA\u811A\u672C\u201D\u5F00\u59CB"))),n("main",{className:"qxsim-script-editor"},F&&y?n(e.Fragment,null,n("div",{className:"qxsim-script-title"},n("div",null,n("h2",null,y.path||c("(\u672A\u547D\u540D\u811A\u672C)")),n("span",null,c`属于存档“${m.save?.name||c("\u672A\u547D\u540D\u5B58\u6863")}” · Lua 脚本是存档内独立资产`)),n("span",null,c`脚本 ${F.id}`)),n("div",{className:"qxsim-script-fields"},n("label",null,c("\u811A\u672C\u8DEF\u5F84\uFF08\u5DE5\u4F5C\u533A\u76F8\u5BF9\u8DEF\u5F84\uFF09"),n("input",{type:"text",value:y.path,placeholder:"lua/example.lua",onChange:Z=>R({path:Z.target.value})})),n("label",null,c("\u6302\u8F7D\u76EE\u6807\uFF08\u5BA2\u6237\u7AEF\u63A7\u4EF6 / \u5BA2\u6237\u7AEF\u63A7\u4EF6\u6A21\u677F\uFF09"),n("select",{value:y.controlId?`${y.controlAsset||"server-control-template"}|${y.controlId}`:"",onChange:Z=>{let[fa,ba]=Z.target.value.split("|");R(ba?{controlId:ba,controlAsset:fa}:{controlId:"",controlAsset:""})}},n("option",{value:""},c("\u672A\u6302\u8F7D\uFF08\u4E0D\u751F\u6548\uFF0C\u4EC5\u53EF\u88AB require\uFF09")),n("optgroup",{label:c("\u670D\u52A1\u5668\u63A7\u4EF6\u6A21\u677F \xB7 \u5BA2\u6237\u7AEF\u63A7\u4EF6\u5BB9\u5668\u5185")},K.map(Z=>n("option",{key:Z.id,value:`${Z.assetType}|${Z.id}`},`${Z.name} \xB7 ${Z.id}`))),Q.length?n("optgroup",{label:c("\u5BA2\u6237\u7AEF\u63A7\u4EF6\u6A21\u677F")},Q.map(Z=>n("option",{key:Z.id,value:`${Z.assetType}|${Z.id}`},`${Z.name} \xB7 ${Z.id}`))):null))),n("label",null,c("Lua \u6E90\u7801"),n("textarea",{value:y.source,spellCheck:!1,placeholder:c("-- \u5728\u8FD9\u91CC\u8F93\u5165\u5BA2\u6237\u7AEF Lua\uFF1B\u811A\u672C\u53EA\u6709\u6302\u8F7D\u5230\u5BA2\u6237\u7AEF\u63A7\u4EF6\u540E\u624D\u4F1A\u5728\u8BD5\u73A9\u65F6\u751F\u6548"),onChange:Z=>R({source:Z.target.value})})),n("div",{className:"qxsim-script-footer"},n("span",null,y.dirty?c("\u6709\u672A\u4FDD\u5B58\u7684\u4FEE\u6539"):Mt||(F.mounted?c`已挂载:${We(F.controlId)}`:c("\u5F53\u524D\u672A\u6302\u8F7D\uFF0C\u8BD5\u73A9\u65F6\u4E0D\u4F1A\u81EA\u52A8\u8FD0\u884C"))),n("span",{className:"spacer"}),n("button",{className:"qxsim-action",onClick:J},c("\u21E9 \u811A\u672C\u5305 JSON")),n("button",{className:"qxsim-action",onClick:xe},c("\u21E9 \u811A\u672C\u5305 GIA")),n("button",{className:"qxsim-action primary",disabled:!y.dirty,onClick:_},c("\u4FDD\u5B58\u811A\u672C")))):n("div",{className:"qxsim-empty"},c("\u8BF7\u65B0\u5EFA\u6216\u9009\u62E9\u4E00\u4E2A\u811A\u672C"))))}function Tl(m){if(m===void 0)return"null";try{return JSON.stringify(m)}catch{return String(m)}}function Xu(m){let A=String(m??"").trim();if(!A)return null;try{return JSON.parse(A)}catch{return A}}function Vu(m){return!!(m&&typeof m=="object"&&!Array.isArray(m)&&Object.prototype.hasOwnProperty.call(m,"fromSignalParam"))}function ju(m){return{version:1,dirty:!1,rules:(Array.isArray(m?.rules)?m.rules:[]).map((O,y)=>({id:String(O.id||`signal-${y+1}`),signalName:String(O.signalName||""),actions:Array.isArray(O.actions)&&O.actions.length?O.actions.map(R=>G2(R)):[bn("setCustomVariable")]}))}}let Qu=["PlayerSelf","AllPlayers","Player1","Player2","Player3","Player4","Player5","Player6","Player7","Player8"],Zu=["PlayerSelf","Level","Player1","Player2","Player3","Player4","Player5","Player6","Player7","Player8"],$u={PlayerSelf:"PlayerSelf \u5F53\u524D\u73A9\u5BB6",AllPlayers:"AllPlayers \u5168\u90E8\u73A9\u5BB6",Level:"Level \u5173\u5361",Player1:"Player1 \u73A9\u5BB61",Player2:"Player2 \u73A9\u5BB62",Player3:"Player3 \u73A9\u5BB63",Player4:"Player4 \u73A9\u5BB64",Player5:"Player5 \u73A9\u5BB65",Player6:"Player6 \u73A9\u5BB66",Player7:"Player7 \u73A9\u5BB67",Player8:"Player8 \u73A9\u5BB68"};function Ac(m){return Zu.includes(m)&&m!=="AllPlayers"?m:m==="Level"?"Level":"PlayerSelf"}function Nc(m){return Qu.includes(m)?m:"PlayerSelf"}function bn(m){return m==="sendClientScriptSignal"?{kind:"sendClientScriptSignal",target:"PlayerSelf",signalName:"",params:[]}:{kind:"setCustomVariable",entityType:"PlayerSelf",name:"",value:0}}function B2(m){return{version:1,rules:(m?.rules||[]).map(A=>({id:String(A.id||""),signalName:String(A.signalName||"").trim(),actions:(A.actions||[]).map(O=>O?.kind==="sendClientScriptSignal"?{kind:"sendClientScriptSignal",target:Nc(O.target),signalName:String(O.signalName||"").trim(),params:Array.isArray(O.params)?O.params:[]}:{kind:"setCustomVariable",entityType:Ac(O?.entityType),name:String(O?.name||"").trim(),value:O&&Object.prototype.hasOwnProperty.call(O,"value")?O.value:0})}))}}function H2(m){let A=[];for(let[O,y]of(m?.rules||[]).entries()){String(y.signalName||"").trim()||A.push(c`规则 ${O+1} 需要监听信号名`);let R=y.actions||[];R.length||A.push(c`规则 ${O+1} 至少需要一个动作`);for(let[_,X]of R.entries())X?.kind==="sendClientScriptSignal"?String(X.signalName||"").trim()||A.push(c`规则 ${O+1} 动作 ${_+1} 需要客户端信号名`):String(X?.name||"").trim()||A.push(c`规则 ${O+1} 动作 ${_+1} 需要变量名`)}return A}function G2(m){if(m?.kind==="sendClientScriptSignal")return{kind:"sendClientScriptSignal",target:Nc(m.target),signalName:String(m.signalName||""),params:Array.isArray(m.params)?m.params.map(O=>{try{return JSON.parse(JSON.stringify(O))}catch{return O}}):[]};let A=0;if(m&&Object.prototype.hasOwnProperty.call(m,"value"))try{A=JSON.parse(JSON.stringify(m.value))}catch{A=m.value}return{kind:"setCustomVariable",entityType:Ac(m?.entityType),name:String(m?.name||""),value:A}}function Ku({label:m,value:A,onChange:O}){let y=Vu(A),[R,_]=e.useState(()=>y?"":Tl(A));return e.useEffect(()=>{Vu(A)||_(Tl(A))},[A]),n("label",{className:"qxsim-field"},n("span",{className:"qxsim-field-label"},m),n("select",{value:y?"param":"literal","aria-label":c`${c(m)}来源`,onChange:X=>{X.target.value==="param"?O({fromSignalParam:Number(A?.fromSignalParam)||0}):O(Xu(R||"0"))}},n("option",{value:"literal"},c("\u5B57\u9762\u91CF\uFF08JSON\uFF09")),n("option",{value:"param"},c("\u5F15\u7528\u76D1\u542C\u4FE1\u53F7\u53C2\u6570"))),y?n("input",{type:"number",min:0,step:1,value:Number(A.fromSignalParam)||0,"aria-label":c`${c(m)}参数序号`,onChange:X=>O({fromSignalParam:Math.max(0,Math.trunc(Number(X.target.value)||0))})}):n("textarea",{className:"qxsim-logic-json",value:R,spellCheck:!1,"aria-label":c`${c(m)}字面量`,onBlur:()=>O(Xu(R)),onChange:X=>_(X.target.value)}))}function Y2({params:m,onChange:A}){let O=Array.isArray(m)?m:[];return n("div",{className:"qxsim-field wide"},n("span",{className:"qxsim-field-label"},c("\u5BA2\u6237\u7AEF\u4FE1\u53F7\u53C2\u6570\uFF08\u6309\u6DFB\u52A0\u987A\u5E8F\uFF09")),O.length?O.map((y,R)=>n("div",{key:R,style:{display:"flex",gap:6,alignItems:"flex-start",marginBottom:6}},n("div",{style:{flex:1,minWidth:0}},n(Ku,{label:c`参数 ${R}`,value:y,onChange:_=>A(O.map((X,L)=>L===R?_:X))})),n("button",{className:"qxsim-iconbtn",title:c("\u5220\u9664\u53C2\u6570"),onClick:()=>A(O.filter((_,X)=>X!==R))},"\u2715"))):n("div",{className:"qxsim-muted"},c("\u6682\u65E0\u53C2\u6570\uFF0C\u53EF\u53D1\u9001\u7A7A\u53C2\u6570\u5217\u8868")),n("button",{className:"qxsim-action",style:{marginTop:4},onClick:()=>A(O.concat([0]))},c("\uFF0B \u6DFB\u52A0\u53C2\u6570")))}function X2({snap:m,draft:A,setDraft:O,saveLogic:y,notice:R,error:_}){let X=A?.rules||[];function L(ne){O({version:1,rules:ne,dirty:!0})}function B(){L(X.concat([{id:`signal-${Date.now().toString(36)}`,signalName:"",actions:[bn("setCustomVariable")]}]))}function J(ne,F){L(X.map((ee,K)=>K===ne?{...ee,...F}:ee))}function xe(ne,F,ee){let K=X[ne];K&&J(ne,{actions:K.actions.map((Q,We)=>We===F?{...Q,...ee}:Q)})}function Mt(ne,F,ee){xe(ne,F,bn(ee))}return n("div",{className:"qxsim-server-logic"},n("div",{className:"qxsim-logic-wrap"},n("div",{className:"qxsim-logic-title"},n("div",null,n("h2",null,c("\u670D\u52A1\u7AEF\u903B\u8F91")),n("p",null,c`属于存档“${m.save?.name||c("\u672A\u547D\u540D\u5B58\u6863")}” · 监听客户端信号后设置 Level / 玩家变量,或向指定玩家发送客户端脚本信号`)),n("button",{className:"qxsim-action primary",disabled:!A?.dirty,onClick:y},c("\u4FDD\u5B58\u670D\u52A1\u7AEF\u903B\u8F91"))),n("div",{className:"qxsim-note"},c("\u8FD9\u662F\u6A21\u62DF\u5668\u5B58\u6863\u683C\u5F0F\uFF0C\u4E0D\u662F\u5B98\u65B9\u8282\u70B9\u56FE\u3002PlayerSelf \u8868\u793A\u53D1\u4FE1\u53F7\u7684\u90A3\u4F4D\u73A9\u5BB6\uFF1BPlayer1\u20138 \u662F\u56FA\u5B9A\u5EA7\u4F4D\uFF1BAllPlayers \u5411\u672C\u5C40\u5168\u90E8\u8BD5\u73A9\u73A9\u5BB6\u5E7F\u64AD\u3002")),_?n("div",{className:"qxsim-logic-error"},c(_)):null,X.length?X.map((ne,F)=>n("section",{key:ne.id||F,className:"qxsim-logic-rule"},n("div",{className:"qxsim-logic-rule-head"},n("strong",null,c`规则 ${F+1}`),n("label",{className:"qxsim-field"},n("span",{className:"qxsim-field-label"},c("\u76D1\u542C\u4FE1\u53F7\u540D")),n("input",{type:"text",value:ne.signalName,placeholder:"EarnGold","aria-label":c`规则 ${F+1} 监听信号名`,onChange:ee=>J(F,{signalName:ee.target.value})})),n("button",{className:"qxsim-iconbtn",title:c("\u5220\u9664\u89C4\u5219"),onClick:()=>L(X.filter((ee,K)=>K!==F))},"\u2715")),n("div",{className:"qxsim-logic-actions"},(ne.actions||[]).map((ee,K)=>n("div",{key:K,className:"qxsim-logic-action"},n("div",{className:"qxsim-logic-action-head"},n("strong",null,c`动作 ${K+1}`),n("select",{value:ee.kind,"aria-label":c`规则 ${F+1} 动作 ${K+1} 类型`,onChange:Q=>Mt(F,K,Q.target.value)},n("option",{value:"setCustomVariable"},c("\u8BBE\u7F6E\u81EA\u5B9A\u4E49\u53D8\u91CF")),n("option",{value:"sendClientScriptSignal"},c("\u53D1\u9001\u5BA2\u6237\u7AEF\u811A\u672C\u4FE1\u53F7"))),n("span",null,ee.kind==="sendClientScriptSignal"?c("\u53D1\u7ED9\u5F53\u524D\u73A9\u5BB6\u3001\u6307\u5B9A\u73A9\u5BB6\u6216\u5168\u90E8\u73A9\u5BB6"):c("\u5199\u5165 Level / \u5F53\u524D\u73A9\u5BB6 / \u73A9\u5BB61-8")),n("button",{className:"qxsim-iconbtn",title:c("\u5220\u9664\u52A8\u4F5C"),disabled:(ne.actions||[]).length<=1,onClick:()=>J(F,{actions:ne.actions.filter((Q,We)=>We!==K)})},"\u2715")),ee.kind==="sendClientScriptSignal"?n("div",{className:"qxsim-logic-fields"},n("label",{className:"qxsim-field"},n("span",{className:"qxsim-field-label"},c("\u53D1\u9001\u76EE\u6807")),n("select",{value:Nc(ee.target),onChange:Q=>xe(F,K,{target:Q.target.value})},Qu.map(Q=>n("option",{key:Q,value:Q},$u[Q])))),n("label",{className:"qxsim-field"},n("span",{className:"qxsim-field-label"},c("\u5BA2\u6237\u7AEF\u4FE1\u53F7\u540D")),n("input",{type:"text",value:ee.signalName,placeholder:"GoldChanged",onChange:Q=>xe(F,K,{signalName:Q.target.value})})),n(Y2,{params:ee.params,onChange:Q=>xe(F,K,{params:Q})})):n("div",{className:"qxsim-logic-fields"},n("label",{className:"qxsim-field"},n("span",{className:"qxsim-field-label"},c("\u5B9E\u4F53")),n("select",{value:Ac(ee.entityType),onChange:Q=>xe(F,K,{entityType:Q.target.value})},Zu.map(Q=>n("option",{key:Q,value:Q},c($u[Q]))))),n("label",{className:"qxsim-field"},n("span",{className:"qxsim-field-label"},c("\u53D8\u91CF\u540D")),n("input",{type:"text",value:ee.name,placeholder:"Gold",onChange:Q=>xe(F,K,{name:Q.target.value})})),n("div",{className:"wide"},n(Ku,{label:c("\u53D8\u91CF\u503C"),value:ee.value,onChange:Q=>xe(F,K,{value:Q})}))))),n("div",{className:"qxsim-logic-actions-foot"},n("button",{className:"qxsim-action",onClick:()=>J(F,{actions:(ne.actions||[]).concat([bn("setCustomVariable")])})},c("\uFF0B \u8BBE\u7F6E\u81EA\u5B9A\u4E49\u53D8\u91CF")),n("button",{className:"qxsim-action",onClick:()=>J(F,{actions:(ne.actions||[]).concat([bn("sendClientScriptSignal")])})},c("\uFF0B \u53D1\u9001\u5BA2\u6237\u7AEF\u811A\u672C\u4FE1\u53F7")))))):n("div",{className:"qxsim-logic-empty"},c("\u8FD8\u6CA1\u6709\u76D1\u542C\u89C4\u5219\u3002\u8BD5\u73A9\u65F6\u5BA2\u6237\u7AEF SendSignal \u4E0D\u4F1A\u81EA\u52A8\u6539\u53D8\u91CF\u6216\u56DE\u4F20\u4FE1\u53F7\u3002")),n("div",{className:"qxsim-logic-actions-foot"},n("button",{className:"qxsim-action",onClick:B},c("\uFF0B \u6DFB\u52A0\u76D1\u542C\u89C4\u5219"))),n("div",{className:"qxsim-script-footer",style:{marginTop:16}},n("span",null,A?.dirty?c("\u6709\u672A\u4FDD\u5B58\u7684\u4FEE\u6539"):R||c("\u4FDD\u5B58\u540E\u4F1A\u5199\u5165\u5F53\u524D\u5B58\u6863\uFF0C\u4E0B\u6B21\u8BD5\u73A9\u751F\u6548")),n("span",{className:"spacer"}))))}function V2({inspector:m,autofill:A,onSave:O}){let[y,R]=e.useState(String(m.guid??"")),[_,X]=e.useState(!1),[L,B]=e.useState(!1),[J,xe]=e.useState("");e.useEffect(()=>{R(String(m.guid??"")),X(!1),xe("")},[m.id,m.guid]);let Mt=A?.count>1&&A.selectedOffset>=0,ne=/^[0-9]+$/.test(y.trim())?Number(y)-(A?.selectedOffset||0):NaN,F=ne+(A?.count||0)-1,ee=Sc(ne)&&Sc(F);async function K(Q){Q.preventDefault();let We=y.trim();if(!/^[0-9]+$/.test(We)||!Sc(We)){xe(c`索引范围:${1073741824}–${1077936127}`);return}B(!0),xe("");try{await O(m.id,Number(We),_&&Mt)}catch(Z){xe(Z?.message||String(Z))}finally{B(!1)}}return n("form",{onSubmit:K,style:{marginTop:8}},n("label",{className:"qxsim-field"},n("span",{className:"qxsim-field-label"},c("\u5BA2\u6237\u7AEF\u63A7\u4EF6\u7D22\u5F15")),n("div",{style:{display:"flex",gap:6}},n("input",{type:"text",inputMode:"numeric","aria-label":c("\u5BA2\u6237\u7AEF\u63A7\u4EF6\u7D22\u5F15"),value:y,disabled:L,onChange:Q=>{R(Q.target.value),xe("")},onKeyDown:Q=>{Q.key==="Escape"&&(R(String(m.guid)),xe(""))}}),n("button",{type:"submit",className:"qxsim-action",disabled:L||!_&&y.trim()===String(m.guid)||_&&!ee},L?c("\u4FDD\u5B58\u4E2D"):c("\u4FEE\u6539")))),Mt?n("label",{style:{display:"flex",gap:6,alignItems:"center",margin:"6px 0"}},n("input",{type:"checkbox",checked:_,disabled:L,onChange:Q=>X(Q.target.checked)}),c("\u81EA\u52A8\u4FEE\u6539\u5176\u4ED6\u5BA2\u6237\u7AEF\u7D22\u5F15\u503C")):null,_&&Mt?n("div",{className:"qxsim-note","aria-label":c("\u81EA\u52A8\u586B\u5145\u7D22\u5F15\u9884\u89C8")},c`以当前控件为基准,按 GIA 导入顺序填充 ${A.count} 个控件(${A.templateCount} 个模板及其子控件)。`,n("div",null,ee?c`索引范围:${ne}–${F}`:c("\u7D22\u5F15\u8303\u56F4\u8D85\u51FA\u6709\u6548\u8303\u56F4\uFF0C\u8BF7\u68C0\u67E5\u8F93\u5165\u3002")),n("div",null,c("\u9002\u7528\u4E8E\u6574\u6279\u5BFC\u5165\u540E\u672A\u589E\u5220\u3001\u91CD\u6392\u7684\u6A21\u677F\u3002\u670D\u52A1\u7AEF\u754C\u9762\u548C\u811A\u672C\u7D22\u5F15\u9700\u5355\u72EC\u586B\u5199\u3002"))):null,J?n("div",{role:"alert",className:"qxsim-note"},c(J)):null,n("div",{className:"qxsim-muted",style:{lineHeight:1.5}},c("\u586B\u5199 GIA \u5BFC\u5165\u540E\u5B9E\u9645\u663E\u793A\u7684\u7D22\u5F15\uFF1B\u4FEE\u6539\u540E\u4ECE\u9875\u9762\u4E0A\u65B9\u7EE7\u7EED\u540C\u6B65 Lua\u3002")))}function j2({snap:m,addScriptMounted:A,mountScriptTo:O,unmountScript:y,openScript:R}){let _=(m.scripts||[]).filter(L=>L.controlId===m.selectedId),X=(m.scripts||[]).filter(L=>L.controlId!==m.selectedId);return n(e.Fragment,null,n(gt,{title:c("\u6302\u8F7D\u5230\u8BE5\u63A7\u4EF6\u7684\u811A\u672C")},_.length?_.map(L=>n("div",{key:L.id,className:"qxsim-script-list-row"},n("button",{className:"qxsim-script-asset",onClick:()=>R(L.id)},n("strong",null,L.path||c("(\u672A\u547D\u540D\u811A\u672C)")),n("small",null,c`脚本 ${L.id}`)),n("button",{className:"qxsim-iconbtn",title:c("\u89E3\u9664\u6302\u8F7D\uFF08\u4FDD\u7559\u811A\u672C\uFF09"),onClick:()=>y(L.id)},"\u292B"))):n("div",{className:"qxsim-note"},c("\u8BE5\u63A7\u4EF6\u5C1A\u672A\u6302\u8F7D\u811A\u672C\u3002\u811A\u672C\u6302\u8F7D\u5230\u5BA2\u6237\u7AEF\u63A7\u4EF6\u540E\u624D\u4F1A\u5728\u8BD5\u73A9\u65F6\u751F\u6548\u3002"))),n(gt,{title:c("\u6302\u8F7D\u5DF2\u6709\u811A\u672C"),open:!1},X.length?n("label",{className:"qxsim-field"},n("span",{className:"qxsim-field-label"},c("\u9009\u62E9\u811A\u672C\u6302\u8F7D\u5230\u8BE5\u63A7\u4EF6")),n("select",{value:"","aria-label":c("\u9009\u62E9\u811A\u672C\u6302\u8F7D\u5230\u8BE5\u63A7\u4EF6"),onChange:L=>{let B=L.target.value;L.target.value="",B&&O(B)}},n("option",{value:""},c("\u9009\u62E9\u811A\u672C\u2026")),X.map(L=>n("option",{key:L.id,value:L.id},`${L.path||c("(\u672A\u547D\u540D\u811A\u672C)")} \xB7 ${L.id}${L.mounted?c`(当前挂载于 ${L.assetLabel} · ${L.controlName},将移动到此控件)`:c("\uFF08\u672A\u6302\u8F7D\uFF09")}`)))):n("div",{className:"qxsim-note"},c("\u5B58\u6863\u5185\u8FD8\u6CA1\u6709\u5176\u4ED6\u811A\u672C\uFF0C\u53EF\u70B9\u51FB\u4E0B\u65B9\u6309\u94AE\u65B0\u5EFA\u3002")),n("div",{className:"qxsim-script-actions",style:{marginTop:8}},n("button",{onClick:()=>A(m.selectedId)},c("\uFF0B \u65B0\u5EFA\u811A\u672C\u5E76\u6302\u8F7D\u5230\u6B64\u63A7\u4EF6")))))}function Q2(m,A){let O=null,y=null;function R(_,X){_.id===A&&(O=_,y=X);for(let L of _.children||[])R(L,_)}if(R(m,null),O?.kind==="container")return O.id;if(O?.kind==="server-container")return O.children?.find(_=>_.kind==="container")?.id||O.id;for(;y&&y.kind!=="container";){let X=function(L){for(let B of L.children||[])B===y&&(_=L),X(B)},_=null;X(m),y=_}return y?.id||m.children?.find(_=>_.kind==="container")?.id}function Z2(m,A){let O=null;function y(R){R.id===A&&(O=R);for(let _ of R.children||[])y(_)}return y(m),O&&O.kind!=="server-container"?O.id:Q2(m,A)}function Cc(m,A,O,y,R,_,X=!1){let L=m,B=m.kind,J=B==="textbox"||B==="textwindow",xe=L.renderLeft??L.left,Mt=L.renderBottom??L.bottom,ne=L.renderWidth??L.width,F=L.renderHeight??L.height,ee=L.renderRotationZ??m.rotationZ??0,K={left:`${xe/O*100}%`,bottom:`${Mt/y*100}%`,width:`${ne/O*100}%`,height:`${F/y*100}%`,"--rotation":`${-Number(ee)}deg`,fontSize:Math.max(8,Math.min(40,Number(m.fontSize||12))),color:J?Xe(m.fontColor,4294967295):"#fff"};if(Object.assign(K,x2(L,O,y)),X)return n("div",{className:"qxsim-box selected qxsim-selection","data-selection-id":m.id,style:{...K,border:"1px solid #61b9ff",background:"transparent",zIndex:2}},B!=="container"?["tl","tr","bl","br"].map(We=>n("i",{key:We,className:`qxsim-handle ${We}`})):null);J&&_&&(K.fontFamily=_),B==="image"?Object.assign(K,Re(m.primitive,Xe(m.imageColor,4294967295))):J?(K.background=Xe(m.bgColor,16777215),K.justifyContent=m.horizontalAlignment==="Right"?"flex-end":m.horizontalAlignment==="Middle"?"center":"flex-start",K.alignItems=m.verticalAlignment==="Bottom"?"flex-end":m.verticalAlignment==="Middle"?"center":"flex-start",K.textShadow=m.enableOutline===!1?"none":`0 0 2px ${Xe(m.outlineColor,4278190080)}`):B==="container"&&(K.background="transparent");let Q=B==="image"&&m.primitive==="sprite"?n(d,{key:jt(m.imageId,m.imageSource),item:m}):J?n(p,{item:m,zoom:R,fontFamily:_}):B==="image"&&m.primitive==="missing"?n("span",{className:"qxsim-box-label"},c`缺少图片 ${m.imageId||""}`):B!=="container"&&B!=="image"?n("span",{className:"qxsim-box-label"},m.name||c(z[B]?.[1])||B):null;return n("div",{key:m.id,"data-control-id":m.id,className:`qxsim-box ${B}${m.instantiated?" dynamic":""}${m.pressed?" pressed":""}`,style:K},Q)}function $2({snapshot:m,fontFamily:A}){let O=e.useRef(null),[y,R]=e.useState({width:560,height:300});e.useEffect(()=>{let J=new ResizeObserver(xe=>R({width:xe[0].contentRect.width,height:xe[0].contentRect.height}));return J.observe(O.current),()=>J.disconnect()},[]);let{width:_,height:X}=m.canvas,L=Math.max(1,Math.min(y.width,y.height*_/X)),B=m.boxes.filter(J=>J.kind!=="server-container"&&J.visible&&J.visibleInHierarchy!==!1);return n("div",{ref:O,className:"qxsim-export-canvas"},n("div",{className:"qxsim-stage","data-export-preview-id":m.selectedId,style:{width:`${L}px`,aspectRatio:`${_}/${X}`}},n(h,{boxes:B,canvasWidth:_,canvasHeight:X,renderControl:J=>Cc(J,m,_,X,L/_,A)})))}function K2({sessionId:m}){let A=g(),O=ce(),[y,R]=e.useState(null),_=e.useRef(null),X=e.useRef(Promise.resolve()),[L,B]=e.useState(""),[J,xe]=e.useState(null),[Mt,ne]=e.useState(!1);e.useEffect(()=>{let b=!0;return C2().then(T=>{b&&xe(T)},T=>{b&&B(T?.message||c("\u672C\u5730\u5B57\u4F53\u52A0\u8F7D\u5931\u8D25"))}),()=>{b=!1}},[]);let F=u({sessionId:m,api:G,playUrl:a,onError:B}),[ee,K]=e.useState(null),[Q,We]=e.useState(!1),[Z,fa]=e.useState(!1),[ba,Ne]=e.useState(""),Ml=e.useRef(null),[Tc,Ol]=e.useState([]),[I2,Mc]=e.useState(!1);e.useEffect(()=>Mc(!1),[m]);let[Iu,Ju]=e.useState([]),[Zt,J2]=e.useState("ui"),[Oc,zc]=e.useState("base"),[Dc,F2]=e.useState("fit"),[Uc,W2]=e.useState({}),[zl,_c]=e.useState(""),[fi,kc]=e.useState("template"),[Lc,Dl]=e.useState(""),[Rc,mn]=e.useState(null),[Fu,Bc]=e.useState({version:1,rules:[],dirty:!1}),Wu=e.useRef(null),[Ul,P2]=e.useState({width:0,height:0});e.useEffect(()=>{let b=Wu.current;if(!b||typeof ResizeObserver>"u")return;let T=new ResizeObserver(V=>{let Y=V[0]?.contentRect;Y&&Y.width>0&&P2({width:Y.width,height:Y.height})});return T.observe(b),()=>T.disconnect()},[y?.canvas?.id]);function bi(b,{keepLogicDraft:T=!0}={}){return _.current=b,R(b),b?.scripts&&Dl(V=>b.scripts.some(Y=>Y.id===V)?V:b.scripts[0]?.id||""),Bc(V=>T&&V?.dirty?V:ju(b?.serverLogic)),b}let _l=e.useCallback(async()=>{try{B(""),bi(await G(m,"get"),{keepLogicDraft:!1})}catch(b){B(b?.message||String(b))}},[m]),kl=e.useCallback(async()=>{try{let b=await G(m,"archives");Ju(b?.archives||[])}catch{Ju([])}},[m]);e.useEffect(()=>{_l(),kl()},[_l,kl]);function we(b,T=""){let V=async()=>{let Y=_.current;if(!Y)throw new Error("editor is not ready");try{if(T&&Y.asset?.type!==T)throw new Error(c("\u5F53\u524D\u8D44\u4EA7\u5DF2\u5207\u6362\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9\u63A7\u4EF6\u540E\u4FEE\u6539\u7D22\u5F15"));let ze=await G(m,"patch",{op:{...typeof b=="function"?b(Y):b,expectedRevision:Y.version}});return B(""),bi(ze)}catch(ze){throw B(ze?.message||String(ze)),/revision conflict/.test(String(ze?.message||ze))&&await _l(),ze}};return X.current=X.current.then(V,V),X.current}async function em(b,T,V,Y=!1){await Ut(),await we({op:"setControlGuid",id:b,guid:T,autoFillClientGuids:Y},V),Ne(c("\u63A7\u4EF6\u7D22\u5F15\u5DF2\u4FEE\u6539\u3002\u8BF7\u9009\u62E9\u4E0A\u65B9\u300C\u5168\u91CF\u66FF\u6362\u811A\u672C\u7D22\u5F15\u300D\u6216\u300C\u590D\u5236\u63D0\u793A\u8BCD\u7ED9 AI\u300D\u3002"))}async function tm(){await Ut(),await ma(),await X.current;let b=_.current;if(!b.storage?.path)throw i&&K(`${b.save?.name||"project"}.save.json`),new Error(c("\u8BF7\u5148\u4FDD\u5B58\u5B8C\u6574\u5B58\u6863\uFF0C\u518D\u590D\u5236\u63D0\u793A\u8BCD\uFF1BAI \u9700\u8981\u8BFB\u53D6\u8FD9\u6B21\u5B9E\u9645\u4FEE\u6539\u7684\u5B58\u6863\u3002"));await G(m,"save",{path:b.storage.path,expectedRevision:b.version});let T=b.controlGuidChanges||[],V=[c("\u8BF7\u5B8C\u6210\u6A21\u62DF\u5668\u63A7\u4EF6\u7D22\u5F15\u4E0E Lua \u5F15\u7528\u540C\u6B65\u3002"),c`工作区:${b.workspace?.path||c("\u8BF7\u5148\u6838\u5BF9\u5DE5\u4F5C\u533A")}`,c`最新完整存档:${b.storage.path}(编辑器已保存)`,c`Lua 文件:${(b.scripts||[]).map(Y=>Y.path||c`内联脚本 ${Y.id}`).join("\u3001")||c("\u6682\u65E0")}`,c("\u5148\u4ECE\u4E0A\u8FF0\u6587\u4EF6\u91CD\u65B0\u52A0\u8F7D\u6700\u65B0\u5B58\u6863\uFF0C\u4E0D\u8981\u4F7F\u7528\u53E6\u4E00\u4E2A MCP/Web \u8FDB\u7A0B\u91CC\u7684\u65E7\u5DE5\u7A0B\u3002"),c`获取新旧映射:读取该 JSON 顶层的 controlGuidChanges 数组,当前共 ${T.length} 条,必须读取全部记录。oldGuid 是旧索引,newGuid 是新索引;controlAsset + controlId 标识控件,controlName 是名称,id 是记录编号,batchId 是批次。`,c("\u83B7\u53D6\u811A\u672C\uFF1A\u8BFB\u53D6 assets.scripts \u6570\u7EC4\uFF1B\u6BCF\u9879\u7684 source \u662F\u5B58\u6863\u5185\u6E90\u7801\uFF0Cpath \u662F\u811A\u672C\u6587\u4EF6\u8DEF\u5F84\uFF08\u76F8\u5BF9\u8DEF\u5F84\u4EE5\u5DE5\u4F5C\u533A\u4E3A\u57FA\u51C6\uFF09\u3002"),c("\u6309\u63A7\u4EF6\u8EAB\u4EFD\u548C\u53D8\u66F4\u987A\u5E8F\u6838\u5BF9\u5168\u90E8 Lua \u811A\u672C\u7684\u7D22\u5F15\u5E38\u91CF\u3001\u914D\u7F6E\u8868\u4E0E\u8C03\u7528\uFF0C\u4FEE\u6539\u5B58\u6863\u4E2D\u7684 source \u53CA\u76F8\u5173 Lua \u6E90\u6587\u4EF6\u548C\u751F\u6210\u5668\u6620\u5C04\uFF0C\u907F\u514D\u91CD\u5EFA\u540E\u8986\u76D6\u3002\u4E0D\u8981\u5168\u5C40\u66FF\u6362\u540C\u503C\u6570\u5B57\uFF0C\u4E5F\u4E0D\u8981\u6539\u8FD0\u884C\u65F6\u5B9E\u4F8B ID \u6216\u56FE\u7247\u8D44\u6E90 ID\u3002"),c("\u540C\u4E00 batchId \u662F\u540C\u65F6\u6620\u5C04\uFF0C\u987B\u6309\u539F\u503C\u4E00\u6B21\u6027\u5E94\u7528\uFF0C\u4E0D\u80FD\u9010\u6761\u66FF\u6362\u5BFC\u81F4\u7D22\u5F15\u4E32\u6539\u3002"),c("\u68C0\u67E5\u65E7\u7D22\u5F15\u5F15\u7528\u5E76\u91CD\u65B0\u8BD5\u73A9\uFF1B\u4EC5\u5728\u5F15\u7528\u5168\u90E8\u540C\u6B65\u6216\u660E\u786E\u6CA1\u6709\u5F15\u7528\u540E\uFF0C\u7528 acknowledgeControlGuidChanges \u7684 changeIds \u6E05\u9664\u5DF2\u6838\u5BF9\u8BB0\u5F55\uFF0C\u4FDD\u5B58\u5B8C\u6574\u5B58\u6863\u3002\u672A\u5224\u65AD\u7684\u8BB0\u5F55\u7EE7\u7EED\u4FDD\u7559\u3002"),c("\u5B8C\u6210\u540E\u544A\u77E5\u7528\u6237\u91CD\u65B0\u8F7D\u5165\u8FD9\u4E2A\u5B58\u6863\uFF0C\u518D\u901A\u8FC7\u300CLua \u811A\u672C \u2192 \u5B9E\u673A\u811A\u672C\u540C\u6B65\u300D\u66F4\u65B0\u6E38\u620F\u6587\u4EF6\uFF1B\u4E0D\u8981\u91CD\u65B0\u5BFC\u5165 GIA\uFF0C\u4E5F\u4E0D\u8981\u64C5\u81EA\u590D\u5236\u5230\u6E38\u620F\u76EE\u5F55\u3002")].join(`
61
+ `);try{await navigator.clipboard.writeText(V),Ne(c("\u5B58\u6863\u5DF2\u4FDD\u5B58\uFF0C\u63D0\u793A\u8BCD\u5DF2\u590D\u5236\uFF0C\u5305\u542B\u5B8C\u6574\u6620\u5C04\u7684\u8BFB\u53D6\u65B9\u5F0F\u3002\u7C98\u8D34\u7ED9 AI\uFF1B\u5904\u7406\u540E\u91CD\u65B0\u8F7D\u5165\u5B58\u6863\u3002"))}catch{Ne(c("\u5B58\u6863\u5DF2\u4FDD\u5B58\u3002\u526A\u8D34\u677F\u4E0D\u53EF\u7528\uFF0C\u53EF\u4ECE\u4E0B\u65B9\u6587\u672C\u6846\u624B\u52A8\u590D\u5236\u63D0\u793A\u8BCD\u3002"))}return V}let am=(b,T)=>void we(V=>({op:"set",key:b,value:typeof T=="function"?T(V.inspector.fields.find(Y=>Y.key===b)?.value):T})).catch(()=>{});async function im(){let{imageId:b,imageSource:T}=_.current?.boxes?.find(V=>V.id===_.current.selectedId)||{};if(di(b,T)){fa(!0);try{await G(m,"image-refresh",{imageId:b,imageSource:T}),l2(b,T),Ne(c`图片 ${b} 已重新下载;同源试玩页会同步刷新。`)}catch(V){B(V.message)}finally{fa(!1)}}}async function nm(b,T){let V=_.current?.inspector?.id;if(V)try{let Y=await we({op:"add",kind:"image",parentId:V,name:c`${c(T)}图片`});await we({op:"set",id:V,key:b,value:Y.selectedId}),Ne(c`${c(T)}已创建并绑定;可在控件树中继续编辑图片。`)}catch{}}e.useEffect(()=>{let b=y?.scripts?.find(T=>T.id===Lc);mn(T=>T&&b&&T.id===b.id&&T.dirty?T:b?{id:b.id,path:b.path,source:b.source,controlId:b.controlId,controlAsset:b.controlAsset,dirty:!1}:null)},[y,Lc]);function lm(b){mn(T=>T&&{...T,...b,dirty:!0})}async function Ut(){let b=Rc;!b||!b.dirty||(await we({op:"updateScript",id:b.id,path:b.path,source:b.source,controlId:b.controlId,controlAsset:b.controlAsset}),mn(T=>T&&T.id===b.id?{...T,dirty:!1}:T))}function Pu(){Ut().then(()=>Ne(c("Lua \u811A\u672C\u5DF2\u4FDD\u5B58\u5230\u5F53\u524D\u5B58\u6863"))).catch(()=>{})}async function ma({silent:b=!1}={}){let T=Fu;if(!T||!T.dirty)return;let V=H2(T);if(V.length){let ze=V[0];throw b||B(ze),new Error(ze)}let Y=await we({op:"setServerLogic",logic:B2(T)});Bc(ju(Y.serverLogic)),Ne(c("\u670D\u52A1\u7AEF\u903B\u8F91\u5DF2\u4FDD\u5B58\u5230\u5F53\u524D\u5B58\u6863"))}function om(){ma({silent:!0}).catch(()=>{})}function mi(b){Pu(),om(),J2(b)}async function ed(b={}){let T=await we({op:"addScript",...b}),V=T.scripts?.[T.scripts.length-1];return V&&Dl(V.id),Ne(b.controlId?c("\u5DF2\u65B0\u5EFA\u811A\u672C\u5E76\u6302\u8F7D\u5230\u8BE5\u63A7\u4EF6"):c("\u5DF2\u65B0\u5EFA\u811A\u672C\uFF0C\u53EF\u7F16\u8F91\u8DEF\u5F84\u3001\u6E90\u7801\u548C\u6302\u8F7D\u76EE\u6807")),V}function cm(b){Rc?.id===b&&mn(null),we({op:"removeScript",id:b}).then(()=>Ne(c("\u811A\u672C\u5DF2\u5220\u9664"))).catch(()=>{})}function sm(b){we({op:"updateScript",id:b,controlId:""}).then(()=>Ne(c("\u5DF2\u89E3\u9664\u6302\u8F7D\uFF0C\u811A\u672C\u4ECD\u4FDD\u7559\u5728\u5B58\u6863\u4E2D"))).catch(()=>{})}function um(b){let T=_.current?.selectedId||"",V=_.current?.asset?.type||"";T&&(mn(Y=>Y&&Y.id===b?{...Y,controlId:T,controlAsset:V}:Y),we({op:"updateScript",id:b,controlId:T,controlAsset:V}).then(()=>Ne(c("\u5DF2\u6302\u8F7D\u5230\u5F53\u524D\u63A7\u4EF6"))).catch(()=>{}))}async function td(b){if(_.current?.asset?.type!==b)try{let T=await we({op:"selectAsset",assetType:b});_c(""),kc(b==="client-control-template"?"template":"child"),Ne(c`已切换到存档内的${c(T.asset.label)}`)}catch{}}function dm(b,T){let V=_.current;if(!V)return;let Y=V.asset?.type==="client-control-template"&&fi==="template",ze=Y?{op:"addTemplate",kind:b,name:c`${c(T)}模板`}:{op:"add",kind:b,parentId:Z2(V.root,V.selectedId),name:T};we(ze).then(()=>Ne(Y?c`已新增${c(T)}模板`:c`已添加${c(T)}子控件`)).catch(()=>{})}async function pi(b,T="",V={}){try{await X.current.catch(()=>{}),await Ut(),await ma();let Y=await G(m,"export",{format:b,assetType:T,...V});if(Ol([...new Set([...Y.warnings||[],...(Y.files||[]).flatMap(ze=>ze.warnings||[])])]),Array.isArray(Y?.files)&&Y.files.length){for(let ze of Y.files)de(ze);B(""),Ne(c`已导出 ${Y.files.length} 个 GIA 文件(${Y.files.map(ze=>ze.filename).join("\u3001")});若浏览器拦截多文件下载,请允许后重试。`);return}de(Y),B(""),Ne(Y.warnings?.length?c`已导出 ${Y.filename};请查看上方导出说明。`:c`已导出 ${Y.filename}`)}catch(Y){if(B(Y?.message||String(Y)),b==="gia-partial")throw Y}}async function rm(){try{await X.current,await Ut(),await ma(),B(""),Mc(!0)}catch(b){B(b?.message||String(b))}}async function ad(b){if(b)try{await X.current.catch(()=>{});let T=await G(m,"load-archive",{path:b});bi(T.snapshot,{keepLogicDraft:!1}),B(""),Ne(c`已从工作区拉取 ${b}`),Ol([])}catch(T){B(T?.message||String(T))}}async function fm(b){if(!b)return;let T=b.name.toLowerCase().endsWith(".gia")?"gia":b.name.toLowerCase().endsWith(".json")?"json":b.name.toLowerCase().endsWith(".lua")?"lua":"";if(!T){B(c("\u4EC5\u652F\u6301 .json\u3001.gia \u6216 .lua \u6587\u4EF6"));return}try{await X.current.catch(()=>{});let V=await G(m,"import",{format:T,filename:b.name,data:await fe(b)});bi(V.snapshot,{keepLogicDraft:!1}),B(""),Ne([c`已导入 ${b.name}`,...V.warnings||[]].join(`
62
+ `)),Ol([])}catch(V){B(V?.message||String(V))}finally{Ml.current&&(Ml.current.value="")}}function bm(){F.open(async()=>{await X.current.catch(()=>{}),await Ut(),await ma(),await X.current,B("")})}async function mm(){if(!(Q||!ee?.trim())){We(!0);try{await Ut(),await ma(),await X.current.catch(()=>{});let b=_.current,T=await G(m,"save",{path:ee.trim(),expectedRevision:b.version});bi(await G(m,"get")),Ne(c`已保存到 ${T.path}`),B(""),K(null),kl()}catch(b){B(b?.message||String(b))}finally{We(!1)}}}if(e.useEffect(()=>{y?.inspector?.kind==="server-container"&&zc("base")},[y?.inspector?.kind]),!y)return n("div",{className:"qxsim","data-qxqy-font-ui":"","data-theme":O,"data-qxsim-session-id":m},n("div",{className:"qxsim-status error"},L||c("\u6B63\u5728\u8F7D\u5165\u5343\u661F\u6C99\u7BB1\u2026")));let _t=y.canvas.width,$t=y.canvas.height,Hc=Ul.width>0&&Ul.height>0?Math.min((Ul.width-44)/_t,(Ul.height-54)/$t):NaN,pm=Number.isFinite(Hc)&&Hc>0?Math.min(2,Math.round(Hc*1e3)/1e3):.5,Gc=Dc==="fit"?pm:Number(Dc)||.5,id=fn(_t,$t),hm=(y.canvas.presets||[]).filter(b=>b.platform===y.canvas.platform);function gm(b){if(!y||y.canvas.platform===b)return;let T=(y.canvas.presets||[]).filter(Y=>Y.platform===b);if(!T.length)return;let V=T.find(Y=>Ve(Y)===id)||T[0];we({op:"setCanvas",canvasId:V.id}).then(()=>Ne(c`已切换到${V.label}`)).catch(()=>{})}let Ce=y.asset?.type==="client-control-template",Yc=!!(y.inspector&&y.inspector.kind!=="server-container"),Xc=new Set;for(let b of y.tree||[])(Uc[b.id]||(b.ancestorIds||[]).some(T=>Uc[T]))&&Xc.add(b.id);let Vc=(y.boxes||[]).filter(b=>b.kind!=="server-container"&&b.visible&&b.visibleInHierarchy!==!1&&!Xc.has(b.id)),nd=Vc.find(b=>b.id===y.selectedId);function vm(b,T){b.stopPropagation(),W2(V=>{let Y={...V};return Y[T]?delete Y[T]:Y[T]=!0,Y})}let ld=y.tree.filter(b=>!zl.trim()||`${b.name} ${b.label} ${c(b.label)}`.toLowerCase().includes(zl.trim().toLowerCase())),be=y.tree.find(b=>b.id===y.selectedId),ym=Ce&&be?y.tree.filter(b=>b.id!==be.id&&!(b.ancestorIds||[]).includes(be.id)):[],xm=be?.parentId||y.root.id;return n("div",{className:"qxsim","data-qxqy-font-ui":"",lang:A==="zh"?"zh-CN":"en","data-theme":O,"data-qxsim-session-id":m},F.overlay,I2?n(r,{sessionId:m,api:G,initialId:Ce?y.selectedId:"",onClose:()=>Mc(!1),onExport:b=>pi("gia-partial","client-control-template",b),renderPreview:b=>n($2,{snapshot:b,fontFamily:J})}):null,Mt?n(N,{onClose:()=>ne(!1)}):null,Zt==="script"&&L?n("div",{className:"qxsim-status error",role:"alert"},c(L)):null,ee!==null?n("div",{className:"qxsim-save-overlay"},n("form",{className:"qxsim-save-dialog",role:"dialog","aria-modal":!0,"aria-label":c("\u4FDD\u5B58\u5230\u5DE5\u4F5C\u533A"),onSubmit:b=>{b.preventDefault(),mm()}},n("h2",null,c("\u4FDD\u5B58\u5230\u5DE5\u4F5C\u533A")),n("label",null,c("\u5B58\u6863\u76F8\u5BF9\u8DEF\u5F84"),n("input",{autoFocus:!0,required:!0,value:ee,disabled:Q,onChange:b=>K(b.target.value)})),L?n("div",{role:"alert"},c(L)):null,n("footer",null,n("button",{className:"qxsim-action",type:"button",disabled:Q,onClick:()=>K(null)},c("\u53D6\u6D88")),n("button",{className:"qxsim-action primary",type:"submit",disabled:Q||!ee.trim()},Q?c("\u4FDD\u5B58\u4E2D\u2026"):c("\u4FDD\u5B58"))))):null,n("header",{className:"qxsim-toolbar"},n("div",{className:"qxsim-brand",title:`${y.workspace?.bound?y.workspace.path:c("\u5DE5\u4F5C\u533A\u672A\u7ED1\u5B9A")}
63
+ ${y.meta?.sourceFile||c("\u5C1A\u672A\u5BFC\u5165\u6587\u4EF6")}`},n("span",{className:"qxsim-appicon"},"UI"),n("span",{className:"qxsim-brand-text"},n("strong",null,c`存档:${y.save?.name||y.meta?.name||c("\u672A\u547D\u540D\u5B58\u6863")}`),n("span",null,c`工作区:${y.workspace?.bound?y.workspace.name:c("\u672A\u7ED1\u5B9A")} · 当前资产:${c(y.asset?.label)||c("UI\u63A7\u4EF6")}`))),n("div",{className:"qxsim-toolbar-center"},Zt==="ui"?n(e.Fragment,null,n("div",{className:"qxsim-device-switch",role:"group","aria-label":c("\u76EE\u6807\u8BBE\u5907")},Oe.map(b=>n("button",{key:b.key,className:y.canvas.platform===b.key?"active":"",title:c(b.title),onClick:()=>gm(b.key)},c(b.label)))),n("select",{className:"qxsim-control ratio","aria-label":c("\u5C4F\u5E55\u6BD4\u4F8B"),value:y.canvasId,onChange:b=>void we({op:"setCanvas",canvasId:b.target.value}).catch(()=>{})},hm.map(b=>n("option",{key:b.id,value:b.id},`${Ve(b)} \xB7 ${b.width}\xD7${b.height}`))),n("select",{className:"qxsim-control zoom","aria-label":c("\u753B\u5E03\u7F29\u653E"),value:Dc,onChange:b=>F2(b.target.value)},[["fit",c("\u9002\u5E94")],["0.25","25%"],["0.5","50%"],["0.75","75%"],["1","100%"]].map(([b,T])=>n("option",{key:b,value:b},T)))):n("span",{className:"qxsim-muted"},Zt==="logic"?c("\u670D\u52A1\u7AEF\u903B\u8F91\uFF1A\u76D1\u542C\u4FE1\u53F7 / \u81EA\u5B9A\u4E49\u53D8\u91CF / \u73A9\u5BB61-8 \u56DE\u4F20"):c("Lua \u811A\u672C\u8D44\u4EA7\u7F16\u8F91"))),n("div",{className:"qxsim-actions"},i?n("button",{className:"qxsim-action",title:c("\u4FDD\u5B58\u5B8C\u6574\u5B58\u6863\u5230\u5DE5\u4F5C\u533A"),onClick:()=>{B(""),K(_.current?.storage?.path||"qxqy-simulator.save.json")}},c("\u4FDD\u5B58\u5B58\u6863")):null,n("div",{className:"qxsim-io"},n("input",{ref:Ml,hidden:!0,type:"file",accept:".json,.gia,.lua,application/json,application/octet-stream,text/plain",onChange:b=>void fm(b.target.files?.[0])}),n("select",{className:"qxsim-control zoom","aria-label":c("\u4ECE\u5DE5\u4F5C\u533A\u62C9\u53D6\u5B58\u6863"),defaultValue:"",onFocus:()=>void kl(),onChange:b=>{let T=b.target.value;b.target.value="",T&&ad(T)}},n("option",{value:"",disabled:!0},y.workspace?.bound?c("\u2913 \u5DE5\u4F5C\u533A\u5B58\u6863"):c("\u5DE5\u4F5C\u533A\u672A\u7ED1\u5B9A")),...Iu.length?Iu.map(b=>n("option",{key:b.path,value:b.path},`${b.name} \xB7 ${b.path}`)):[n("option",{value:"",disabled:!0},y.workspace?.bound?c("\u672A\u53D1\u73B0 qxqy-simulator-save"):c("\u5148\u7ED1\u5B9A\u4F1A\u8BDD\u5DE5\u4F5C\u533A"))]),n("button",{className:"qxsim-action",title:c("\u5BFC\u5165\u5B58\u6863\u3001\u5355\u9879 UI \u8D44\u4EA7\u6216 Lua"),onClick:()=>Ml.current?.click()},c("\u21E7 \u5BFC\u5165")),n("select",{className:"qxsim-control zoom","aria-label":c("\u5BFC\u51FA\u683C\u5F0F"),defaultValue:"",onChange:b=>{let[T,V=""]=b.target.value.split("|");b.target.value="",T==="gia-partial"?rm():T&&pi(T,V)}},n("option",{value:"",disabled:!0},c("\u21E9 \u5BFC\u51FA")),n("option",{value:"gia-partial"},c("\u90E8\u5206\u7EC4\u5408\u5BFC\u51FA")),n("option",{value:"save"},c("\u8D44\u4EA7\u5305 JSON\uFF08\u4E09\u7C7B\u5408\u4E00\uFF09")),n("option",{value:"save-gia"},c("\u8D44\u4EA7\u5305 GIA\uFF08\u5DF2\u6539\u52A8\u9879\uFF09")),n("option",{value:"gia-combined"},c("\u8D44\u4EA7\u5305 GIA \u6574\u5408\u5305\uFF08\u63A7\u4EF6+\u811A\u672C\uFF09")),n("optgroup",{label:c("\u5F53\u524D\u754C\u9762\uFF08\u5DE6\u680F\u6B63\u5728\u770B\u7684\u90A3\u68F5\u6811\uFF09")},n("option",{value:"json"},c("\u5F53\u524D\u754C\u9762 Authoring JSON")),n("option",{value:"gia"},c("\u5F53\u524D\u754C\u9762 GIA"))),n("optgroup",{label:c("\u670D\u52A1\u5668\u63A7\u4EF6\u6A21\u677F")},n("option",{value:"json|server-control-template"},"Authoring JSON"),n("option",{value:"gia|server-control-template"},"GIA")),n("optgroup",{label:c("\u5BA2\u6237\u7AEF\u63A7\u4EF6\u6A21\u677F\uFF08\u4EC5\u5F53\u5DE6\u680F\u5207\u5230\u300CUI\u63A7\u4EF6-\u5BA2\u6237\u7AEF\u300D\u65F6\u624D\u662F\u9875\u9762\u5185\u5BB9\uFF09")},n("option",{value:"json|client-control-template"},"Authoring JSON"),n("option",{value:"gia|client-control-template"},"GIA")),n("optgroup",{label:c("Lua \u811A\u672C")},n("option",{value:"scripts"},c("\u811A\u672C\u5305 JSON\uFF08\u5168\u90E8\u811A\u672C\uFF09")),n("option",{value:"scripts-gia"},c("\u811A\u672C\u5305 GIA\uFF08\u5168\u90E8\u811A\u672C\uFF09"))))),n("button",{className:"qxsim-action primary",title:c("\u6253\u5F00\u8BD5\u73A9\uFF1B\u65B0\u7A97\u53E3\u4E0D\u53EF\u7528\u65F6\u5728\u5E94\u7528\u5185\u8BD5\u73A9"),disabled:F.opening,onClick:bm},F.opening?c("\u6B63\u5728\u51C6\u5907\u2026"):c("\u25B7 \u8BD5\u73A9 \u2197")),n("button",{className:"qxsim-iconbtn",title:c("\u91CD\u65B0\u8F7D\u5165"),onClick:_l},"\u21BB"))),n("nav",{className:"qxsim-editor-nav","aria-label":c("\u7F16\u8F91\u9875\u9762")},n("button",{className:Zt==="ui"?"active":"",onClick:()=>mi("ui")},c("UI \u7F16\u8F91")),n("button",{className:Zt==="script"?"active":"",onClick:()=>mi("script")},c("Lua \u811A\u672C")),n("button",{className:Zt==="logic"?"active":"",onClick:()=>mi("logic")},c("\u670D\u52A1\u7AEF\u903B\u8F91")),n("span",{className:"save-summary"},c("\u4E00\u4E2A\u5B58\u6863 \xB7 \u670D\u52A1\u5668\u63A7\u4EF6\u6A21\u677F + \u5BA2\u6237\u7AEF\u63A7\u4EF6\u6A21\u677F + Lua \u811A\u672C + \u670D\u52A1\u7AEF\u903B\u8F91")),n("div",{className:"qxsim-editor-settings"},n("button",{onClick:()=>ne(!0),"aria-label":c("\u5B57\u4F53\u8BBE\u7F6E")},c("\u5B57\u4F53\u8BBE\u7F6E")),n("select",{className:"qxsim-control qxsim-language","aria-label":c("\u754C\u9762\u8BED\u8A00"),title:c("\u754C\u9762\u8BED\u8A00"),value:dd(),onChange:b=>fd(b.target.value)},n("option",{value:"auto"},c("\u81EA\u52A8\uFF08\u7CFB\u7EDF\u8BED\u8A00\uFF09")+" \xB7 "+Hl().language),n("option",{value:"zh"},"\u7B80\u4F53\u4E2D\u6587"),n("option",{value:"en"},"English")))),Zt==="script"?n(o,{snap:y,patch:we,request:(b,T)=>G(m,b,T),refresh:async()=>bi(await G(m,"get")),prepare:async()=>(await X.current,await Ut(),await ma(),_.current)}):null,n(s,{snap:y,patch:we,prepare:Ut,copy:tm,onScripts:()=>mi("script"),onError:B,reloadArchive:()=>ad(_.current.storage?.path)}),Tc.length?n("details",{className:"qxsim-export-warnings",open:!0,role:"status",style:{flexShrink:0,maxHeight:180,overflow:"auto",padding:"8px 16px",borderBottom:"1px solid currentColor"}},n("summary",{style:{cursor:"pointer"}},c`上次导出说明(${Tc.length} 项,请核对导入后的效果)`),n("button",{className:"qxsim-action",onClick:()=>Ol([])},c("\u5173\u95ED\u5BFC\u51FA\u8BF4\u660E")),n("ul",null,Tc.map((b,T)=>n("li",{key:T},c(b))))):null,Zt==="ui"?n("div",{className:"qxsim-main"},n("aside",{className:"qxsim-tree"},n("div",{className:"qxsim-asset-switch","aria-label":c("\u7F16\u8F91\u8D44\u6E90\u7C7B\u578B")},n("button",{className:Ce?"":"active",title:c("\u7F16\u8F91\u5B58\u6863\u5185\u7684\u670D\u52A1\u7AEF UI \u63A7\u4EF6"),onClick:()=>void td("server-control-template")},c("UI\u63A7\u4EF6-\u670D\u52A1\u7AEF")),n("button",{className:Ce?"active":"",title:c("\u7F16\u8F91\u5B58\u6863\u5185\u7684\u5BA2\u6237\u7AEF\u63A7\u4EF6\u6A21\u677F"),onClick:()=>void td("client-control-template")},c("UI\u63A7\u4EF6-\u5BA2\u6237\u7AEF"))),n("div",{className:"qxsim-pane-head"},n("div",{className:"qxsim-pane-title"},Ce?c("\u6A21\u677F\u4E0E\u5B50\u63A7\u4EF6"):c("\u63A7\u4EF6\u6811")),n("span",{className:"qxsim-muted"},Ce?c`${y.asset.templateCount} 个模板 · ${y.tree.length} 个控件`:c`${y.tree.length} 个节点`)),n("label",{className:"qxsim-search"},"\u2315",n("input",{value:zl,placeholder:Ce?c("\u641C\u7D22\u6A21\u677F\u6216\u63A7\u4EF6"):c("\u641C\u7D22\u63A7\u4EF6"),onChange:b=>_c(b.target.value)}),zl?n("button",{onClick:()=>_c("")},"\xD7"):n("span",null,"\u2301")),n("div",{className:"qxsim-tree-scroll"},ld.length?ld.map(b=>{let T=z[b.kind]||["\u25C7",b.label],V=Xc.has(b.id),Y=!!Uc[b.id];return n("div",{key:b.id,className:`qxsim-row${Ce&&b.depth===0?" template-root":""}${b.id===y.selectedId?" active":""}${V?" canvas-hidden":""}`,style:{paddingLeft:8+b.depth*18,"--depth":b.depth},title:`${c(T[1])} \xB7 ${b.name} \xB7 GUID ${b.guid??b.id}`,onClick:()=>void we({op:"select",id:b.id}).catch(()=>{})},n("span",{className:"qxsim-chevron"},b.childCount?"\u25BC":""),n("span",{className:"qxsim-kind"},T[0]),n("span",{className:"qxsim-row-label"},b.name),n("span",{className:"qxsim-row-end"},Ce&&b.depth===0?n(e.Fragment,null,n("span",{className:"qxsim-template-tag"},c("\u6A21\u677F")),n("span",{className:"qxsim-template-id"},`#${b.guid??b.id}`)):b.incomplete?n("span",{className:"qxsim-incomplete"},c("\u6682\u4E0D\u652F\u6301")):null,n("button",{className:`qxsim-eye${Y?" off":""}`,type:"button",title:Y?c("\u5728\u753B\u5E03\u4E0A\u663E\u793A\uFF08\u4E0D\u5F71\u54CD\u63A7\u4EF6\u521D\u59CB\u53EF\u89C1\u6027\uFF09"):c("\u5728\u753B\u5E03\u4E0A\u9690\u85CF\uFF08\u4E0D\u5F71\u54CD\u63A7\u4EF6\u521D\u59CB\u53EF\u89C1\u6027\uFF09"),"aria-label":c`${b.name}画布可见性`,"aria-pressed":!Y,onClick:ze=>vm(ze,b.id)},Y?"\u25CC":"\u25C9")))}):n("div",{className:"qxsim-empty"},c("\u6CA1\u6709\u5339\u914D\u7684\u63A7\u4EF6"))),n("div",{className:"qxsim-tree-foot"},Ce&&be?n("div",{className:"qxsim-hierarchy"},n("div",{className:"qxsim-hierarchy-head"},n("strong",null,c("\u5C42\u7EA7\u4E0E\u6A21\u677F\u8FB9\u754C")),n("span",null,be.name)),n("div",{className:"qxsim-parent-row"},n("select",{"aria-label":c("\u7236\u7EA7\u63A7\u4EF6"),value:xm,onChange:b=>void we({op:"reparent",id:be.id,parentId:b.target.value}).then(()=>Ne(b.target.value===y.root.id?c("\u5DF2\u63D0\u5347\u4E3A\u53EF\u5B9E\u4F8B\u5316\u9876\u5C42\u6A21\u677F"):c("\u5DF2\u8C03\u6574\u63A7\u4EF6\u7236\u7EA7"))).catch(()=>{})},n("option",{value:y.root.id},c("\u9876\u5C42\u6A21\u677F\uFF08\u53EF\u5B9E\u4F8B\u5316\uFF09")),ym.map(b=>n("option",{key:b.id,value:b.id},`${"\u3000".repeat(b.depth)}${b.name}`))),n("button",{title:c("\u5728\u540C\u7EA7\u4E2D\u4E0A\u79FB"),disabled:be.siblingIndex<=0,onClick:()=>void we({op:"moveSibling",id:be.id,direction:"up"}).catch(()=>{})},"\u2191"),n("button",{title:c("\u5728\u540C\u7EA7\u4E2D\u4E0B\u79FB"),disabled:be.siblingIndex>=be.siblingCount-1,onClick:()=>void we({op:"moveSibling",id:be.id,direction:"down"}).catch(()=>{})},"\u2193")),n("div",{className:"qxsim-hierarchy-note"},be.depth===0?c("\u8BE5\u8282\u70B9\u4F1A\u5199\u5165\u72EC\u7ACB UIControlTemplate\uFF0C\u53EF\u76F4\u63A5\u4F5C\u4E3A prefabId\u3002"):c`当前为第 ${be.depth} 层子控件,不会单独成为 prefabId。`)):null,n("div",{className:"qxsim-palette-head"},n("span",{title:Ce&&fi==="template"?c("\u65B0\u589E\u72EC\u7ACB\u53EF\u5B9E\u4F8B\u5316\u6A21\u677F"):c`添加到${be?be.name:c("\u5F53\u524D\u63A7\u4EF6")}`},Ce&&fi==="template"?c("\u65B0\u589E\u9876\u5C42\u6A21\u677F"):c`添加到${be?`\u201C${be.name}\u201D`:c("\u5F53\u524D\u63A7\u4EF6")}`),Ce?n("span",{className:"qxsim-add-mode"},n("button",{className:fi==="template"?"active":"",onClick:()=>kc("template")},c("\u9876\u5C42")),n("button",{className:fi==="child"?"active":"",onClick:()=>kc("child")},c("\u5B50\u63A7\u4EF6"))):null),n("div",{className:"qxsim-add"},q.filter(([b])=>Ce||b!=="container").map(([b,T])=>n("button",{key:b,title:`${Ce&&fi==="template"?c("\u65B0\u589E"):c("\u6DFB\u52A0")}${c(T)}`,onClick:()=>dm(b,c(T))},`\uFF0B ${c(T)}`))))),n("main",{className:"qxsim-center"},n("div",{className:"qxsim-workspace",ref:Wu},n("div",{className:"qxsim-stage-shell",style:{width:`${Math.max(40,Math.round(_t*Gc))}px`}},n("div",{className:"qxsim-stage-label"},n("b",null,Ce?c("Lua \u6A21\u677F\u9884\u89C8"):c("\u754C\u9762\u63A7\u4EF6\u7EC4")),n("span",{className:"qxsim-platform-tag"},y.canvas.platform),n("span",null,c`${id} · ${_t}×${$t} · 左下原点`)),n("div",{className:"qxsim-stage",style:{width:"100%",aspectRatio:`${_t} / ${$t}`},onClick:b=>{let T=b.currentTarget.getBoundingClientRect();we({op:"pick",x:(b.clientX-T.left)*_t/T.width,y:(T.bottom-b.clientY)*$t/T.height}).catch(()=>{})}},n(v,{key:`${m}:${y.asset?.type}:${y.asset?.currentTemplateId}`,boxes:Vc,canvasWidth:_t,canvasHeight:$t}),n(h,{boxes:Vc,canvasWidth:_t,canvasHeight:$t,renderControl:b=>Cc(b,y,_t,$t,Gc,J)}),nd?Cc(nd,y,_t,$t,Gc,J,!0):null))),L?n("div",{className:"qxsim-status error"},"\u26A0 ",c(L)):n("div",{className:"qxsim-status"},n("span",null,c`● ${c(y.asset?.label)||c("\u63A7\u4EF6")}编辑`),n("span",null,ba||(be?c`当前:${be.name}`:"")),n("span",{className:"spacer"}),n("span",null,Ce?c("GIA \u5BFC\u51FA\u540E\u53EF\u5728 Lua \u4E2D\u6309 prefabId \u5B9E\u4F8B\u5316"):c("\u5B57\u6BB5\u5728\u5931\u7126\u6216 Enter \u65F6\u63D0\u4EA4")))),n("aside",{className:"qxsim-inspector"},y.inspector?n(e.Fragment,null,n("div",{className:"qxsim-inspector-head"},n("div",{className:"qxsim-inspector-line"},n("span",{className:"qxsim-kind"},(z[y.inspector.kind]||["\u25C7"])[0]),n("strong",null,c(y.inspector.label)),Ce&&be?.depth===0?n("span",{className:"qxsim-template-tag"},c("\u53EF\u5B9E\u4F8B\u5316")):null),n("div",{className:"qxsim-node-id"},Ce&&be?.depth===0?c("\u6A21\u677F\u7D22\u5F15 "):c("\u63A7\u4EF6 GUID "),n("code",null,y.inspector.guid??y.inspector.id)," \xB7 ",be?.name||c("\u8282\u70B9")),y.inspector.kind!=="server-container"?n(V2,{key:`${y.asset.type}:${y.inspector.id}`,inspector:y.inspector,autofill:y.clientGuidAutofill,onSave:(b,T,V)=>em(b,T,y.asset.type,V)}):null),Ce&&be?n("div",{className:"qxsim-section-body"},n("button",{className:"qxsim-action qxsim-export-single",title:c("\u5BFC\u51FA\u5F53\u524D\u5BA2\u6237\u7AEF\u63A7\u4EF6\u53CA\u5176\u5B50\u6811"),onClick:()=>{pi("gia-partial","client-control-template",{controlIds:[be.id],includeScripts:!0}).catch(()=>{})}},c("\u5BFC\u51FA GIA"))):null,n("div",{className:"qxsim-tabs",style:Yc?void 0:{gridTemplateColumns:"1fr"}},n("button",{className:Oc==="base"?"active":"",onClick:()=>zc("base")},c("\u57FA\u7840\u5C5E\u6027")),Yc?n("button",{className:Oc==="script"?"active":"",onClick:()=>zc("script")},c("\u811A\u672C")):null),n("div",{className:"qxsim-inspector-scroll"},Yc&&Oc==="script"?n(j2,{snap:y,addScriptMounted:b=>void ed({controlId:b,controlAsset:y.asset?.type}).then(()=>mi("script")),mountScriptTo:um,unmountScript:sm,openScript:b=>{Dl(b),mi("script")}}):n(e.Fragment,null,n(vt,{key:`${y.asset.type}:${y.inspector.id}`,inspector:y.inspector,commit:am,createStateChild:nm}),["animation","fullscreen"].includes(y.inspector.kind)?n(x,{key:y.selectedId,item:y.boxes.find(b=>b.id===y.selectedId),commit:(b,T)=>we({op:"set",key:b,value:T})}):null,y.boxes?.some(b=>b.id===y.selectedId&&di(b.imageId,b.imageSource))?n("div",{className:"qxsim-section-body"},n("button",{className:"qxsim-action",disabled:Z,onClick:im},Z?c("\u6B63\u5728\u5237\u65B0\u7D20\u6750\u2026"):c("\u21BB \u91CD\u65B0\u4E0B\u8F7D\u6B64\u7D20\u6750")),n("p",{className:"qxsim-muted"},c("\u767D\u540D\u5355\u56FE\u7247\u6309\u9700\u7F13\u5B58\uFF1B\u5237\u65B0\u4F1A\u91CD\u65B0\u8BBF\u95EE\u7D20\u6750\u6E90\u3002"))):null)),n("div",{className:"qxsim-tree-foot"},n("button",{className:"qxsim-action danger",style:{width:"100%"},onClick:()=>void we({op:"remove"}).catch(()=>{})},Ce&&be?.depth===0?c("\u232B \u5220\u9664\u5F53\u524D\u6A21\u677F"):c("\u232B \u5220\u9664\u5F53\u524D\u63A7\u4EF6")))):n("div",{className:"qxsim-empty"},c("\u8BF7\u9009\u62E9\u4E00\u4E2A\u63A7\u4EF6")))):Zt==="script"?n(qc,{snap:y,selectedScriptId:Lc,selectScript:b=>{Pu(),Dl(b)},draft:Rc,updateDraft:lm,saveScript:()=>void Ut().then(()=>Ne(c("Lua \u811A\u672C\u5DF2\u4FDD\u5B58\u5230\u5F53\u524D\u5B58\u6863"))).catch(()=>{}),addScript:()=>void ed(),removeScript:cm,exportLua:b=>void pi("lua",b),exportScripts:()=>void pi("scripts"),exportScriptsGia:()=>void pi("scripts-gia"),notice:ba}):n(X2,{snap:y,draft:Fu,setDraft:Bc,saveLogic:()=>void ma().catch(()=>{}),notice:ba,error:L}),n(f,{version:l,request:b=>G(m,b)}))}return{SimulatorView:K2,ensureStyle:D,removeStyle:()=>document.getElementById(w)?.remove()}}var _2={name:"beyond-simulator-web",version:"0.5.2",description:"Self-hosted editor, preview and play surface for Qianxing simulator saves",type:"module",main:"dist/server.js",bin:{"beyond-simulator-web":"dist/server.js"},files:["dist","README.md"],scripts:{build:"node ../scripts/build.mjs web",pretest:"node ../scripts/build.mjs web",prepack:"node ../scripts/build.mjs web",start:"node dist/server.js",dev:"node ../scripts/build.mjs web && node server.js",test:"node --test test/*.test.mjs"},engines:{node:">=20"},dependencies:{"@napi-rs/canvas":"0.1.100",fengari:"0.1.5",protobufjs:"8.7.2"},devDependencies:{react:"19.1.1","react-dom":"19.1.1","qxqy-editor-ui":"workspace:*","qxqy-studio":"workspace:*"},license:"GPL-3.0-only",repository:{type:"git",url:"git+https://github.com/1475505/miliastra-beyond-simulator.git",directory:"web"}};await rd("/editor/api/locale");$c();Zc(()=>$c());var L2="qxqy-editor-session",Ec=sessionStorage.getItem(L2);Ec||(Ec=Array.from(crypto.getRandomValues(new Uint8Array(16)),e=>e.toString(16).padStart(2,"0")).join(""),sessionStorage.setItem(L2,Ec));var R2=U2(Yu.default,{version:_2.version,async api(e,t,a={}){let i=await fetch(`/editor/api/${t}`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({sessionId:e,...a}),...t==="play"?{signal:AbortSignal.timeout(15e3)}:{}}),l=await i.json();if(!i.ok||!l.ok)throw new Error(l.error||"\u8BF7\u6C42\u5931\u8D25");return l.value},playUrl:e=>`/editor/play#${encodeURIComponent(e)}`,saveToWorkspace:!0});R2.ensureStyle();(0,k2.createRoot)(document.getElementById("editor")).render(Yu.default.createElement(R2.SimulatorView,{sessionId:Ec}));
43
64
  /*! Bundled license information:
44
65
 
45
66
  react/cjs/react.production.js: