forked from Simnation/Main
18 lines
88 KiB
JavaScript
18 lines
88 KiB
JavaScript
![]() |
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function n(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function s(r){if(r.ep)return;r.ep=!0;const i=n(r);fetch(r.href,i)}})();/**
|
||
|
* @vue/shared v3.5.13
|
||
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
* @license MIT
|
||
|
**//*! #__NO_SIDE_EFFECTS__ */function _s(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Q={},pt=[],Re=()=>{},bo=()=>!1,mn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ys=e=>e.startsWith("onUpdate:"),oe=Object.assign,vs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},_o=Object.prototype.hasOwnProperty,K=(e,t)=>_o.call(e,t),L=Array.isArray,gt=e=>bn(e)==="[object Map]",Br=e=>bn(e)==="[object Set]",N=e=>typeof e=="function",ne=e=>typeof e=="string",Je=e=>typeof e=="symbol",X=e=>e!==null&&typeof e=="object",Ur=e=>(X(e)||N(e))&&N(e.then)&&N(e.catch),kr=Object.prototype.toString,bn=e=>kr.call(e),yo=e=>bn(e).slice(8,-1),Kr=e=>bn(e)==="[object Object]",xs=e=>ne(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,It=_s(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),_n=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},vo=/-(\w)/g,ze=_n(e=>e.replace(vo,(t,n)=>n?n.toUpperCase():"")),xo=/\B([A-Z])/g,at=_n(e=>e.replace(xo,"-$1").toLowerCase()),Wr=_n(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ln=_n(e=>e?`on${Wr(e)}`:""),qe=(e,t)=>!Object.is(e,t),Rn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},qr=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},So=e=>{const t=parseFloat(e);return isNaN(t)?e:t},wo=e=>{const t=ne(e)?Number(e):NaN;return isNaN(t)?e:t};let Ws;const yn=()=>Ws||(Ws=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ss(e){if(L(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=ne(s)?Eo(s):Ss(s);if(r)for(const i in r)t[i]=r[i]}return t}else if(ne(e)||X(e))return e}const Co=/;(?![^(]*\))/g,To=/:([^]+)/,Io=/\/\*[^]*?\*\//g;function Eo(e){const t={};return e.replace(Io,"").split(Co).forEach(n=>{if(n){const s=n.split(To);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Lt(e){let t="";if(ne(e))t=e;else if(L(e))for(let n=0;n<e.length;n++){const s=Lt(e[n]);s&&(t+=s+" ")}else if(X(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Ao="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Oo=_s(Ao);function zr(e){return!!e||e===""}const Gr=e=>!!(e&&e.__v_isRef===!0),ot=e=>ne(e)?e:e==null?"":L(e)||X(e)&&(e.toString===kr||!N(e.toString))?Gr(e)?ot(e.value):JSON.stringify(e,Jr,2):String(e),Jr=(e,t)=>Gr(t)?Jr(e,t.value):gt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[Dn(s,i)+" =>"]=r,n),{})}:Br(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Dn(n))}:Je(t)?Dn(t):X(t)&&!L(t)&&!Kr(t)?String(t):t,Dn=(e,t="")=>{var n;return Je(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
||
|
* @vue/reactivity v3.5.13
|
||
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
* @license MIT
|
||
|
**/let ye;class Po{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=ye,!t&&ye&&(this.index=(ye.scopes||(ye.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=ye;try{return ye=this,t()}finally{ye=n}}}on(){ye=this}off(){ye=this.parent}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function Mo(){return ye}let J;const jn=new WeakSet;class Qr{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,ye&&ye.active&&ye.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,jn.has(this)&&(jn.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Xr(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,qs(this),Zr(this);const t=J,n=we;J=this,we=!0;try{return this.fn()}finally{ei(this),J=t,we=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Ts(t);this.deps=this.depsTail=void 0,qs(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?jn.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Jn(this)&&this.run()}get dirty(){return Jn(this)}}let Yr=0,Et,At;function Xr(e,t=!1){if(e.flags|=8,t){e.next=At,At=e;return}e.next=Et,Et=e}function ws(){Yr++}function Cs(){if(--Yr>0)return;if(At){let t=At;for(At=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Et;){let t=Et;for(Et=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function Zr(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function ei(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Ts(s),Fo(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function Jn(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ti(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ti(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Rt))return;e.globalVersion=Rt;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Jn(e)){e.flags&=-3;return}const n=J,s=we;J=e,we=!0;try{Zr(e);const r=e.fn(e._value);(t.version===0||qe(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{J=n,we=s,ei(e),e.flags&=-3}}function Ts(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Ts(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Fo(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let we=!0;const ni=[];function Qe(){ni.push(we),we=!1}function Ye(){const e=ni.pop();we=e===void 0?!0:e}function qs(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=J;J=void 0;try{t()}finally{J=n}}}let Rt=0;class Lo{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Is{constructor(t){this.computed=t,this.version=0,this.
|
||
|
* @vue/runtime-core v3.5.13
|
||
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
* @license MIT
|
||
|
**/function Kt(e,t,n,s){try{return s?e(...s):e()}catch(r){xn(r,t,n)}}function Te(e,t,n,s){if(N(e)){const r=Kt(e,t,n,s);return r&&Ur(r)&&r.catch(i=>{xn(i,t,n)}),r}if(L(e)){const r=[];for(let i=0;i<e.length;i++)r.push(Te(e[i],t,n,s));return r}}function xn(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||Q;if(t){let l=t.parent;const c=t.proxy,d=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const f=l.ec;if(f){for(let h=0;h<f.length;h++)if(f[h](e,c,d)===!1)return}l=l.parent}if(i){Qe(),Kt(i,null,10,[e,c,d]),Ye();return}}il(e,n,r,s,o)}function il(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const he=[];let Me=-1;const mt=[];let Ue=null,ht=0;const di=Promise.resolve();let fn=null;function ol(e){const t=fn||di;return e?t.then(this?e.bind(this):e):t}function ll(e){let t=Me+1,n=he.length;for(;t<n;){const s=t+n>>>1,r=he[s],i=jt(r);i<e||i===e&&r.flags&2?t=s+1:n=s}return t}function Ms(e){if(!(e.flags&1)){const t=jt(e),n=he[he.length-1];!n||!(e.flags&2)&&t>=jt(n)?he.push(e):he.splice(ll(t),0,e),e.flags|=1,hi()}}function hi(){fn||(fn=di.then(gi))}function cl(e){L(e)?mt.push(...e):Ue&&e.id===-1?Ue.splice(ht+1,0,e):e.flags&1||(mt.push(e),e.flags|=1),hi()}function Gs(e,t,n=Me+1){for(;n<he.length;n++){const s=he[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;he.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function pi(e){if(mt.length){const t=[...new Set(mt)].sort((n,s)=>jt(n)-jt(s));if(mt.length=0,Ue){Ue.push(...t);return}for(Ue=t,ht=0;ht<Ue.length;ht++){const n=Ue[ht];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Ue=null,ht=0}}const jt=e=>e.id==null?e.flags&2?-1:1/0:e.id;function gi(e){try{for(Me=0;Me<he.length;Me++){const t=he[Me];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Kt(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Me<he.length;Me++){const t=he[Me];t&&(t.flags&=-2)}Me=-1,he.length=0,pi(),fn=null,(he.length||mt.length)&&gi()}}let Se=null,mi=null;function un(e){const t=Se;return Se=e,mi=e&&e.type.__scopeId||null,t}function bi(e,t=Se,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&rr(-1);const i=un(t);let o;try{o=e(...r)}finally{un(i),s._d&&rr(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function et(e,t,n,s){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const l=r[o];i&&(l.oldValue=i[o].value);let c=l.dir[s];c&&(Qe(),Te(c,n,8,[e.el,l,e,t]),Ye())}}const fl=Symbol("_vte"),_i=e=>e.__isTeleport,ke=Symbol("_leaveCb"),Yt=Symbol("_enterCb");function ul(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Tn(()=>{e.isMounted=!0}),Ii(()=>{e.isUnmounting=!0}),e}const xe=[Function,Array],yi={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:xe,onEnter:xe,onAfterEnter:xe,onEnterCancelled:xe,onBeforeLeave:xe,onLeave:xe,onAfterLeave:xe,onLeaveCancelled:xe,onBeforeAppear:xe,onAppear:xe,onAfterAppear:xe,onAppearCancelled:xe},vi=e=>{const t=e.subTree;return t.component?vi(t.component):t},al={name:"BaseTransition",props:yi,setup(e,{slots:t}){const n=lc(),s=ul();return()=>{const r=t.default&&wi(t.default(),!0);if(!r||!r.length)return;const i=xi(r),o=k(e),{mode:l}=o;if(s.isLeaving)return Hn(i);const c=Js(i);if(!c)return Hn(i);let d=ts(c,o,s,n,h=>d=h);c.type!==ge&&Nt(c,d);let f=n.subTree&&Js(n.subTree);if(f&&f.type!==ge&&!lt(c,f)&&vi(n).type!==ge){let h=ts(f,o,s,n);if(Nt(f,h),l==="out-in"&&c.type!==ge)return s.isLeaving=!0,h.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete h.afterLeave,f=void 0},Hn(i);l==="in-out"&&c.type!==ge?h.delayLeave=(g,v,O)=>{const E=Si(s,f);E[String(f.key)]=f,g[ke]=()=>{v(),g[ke]=void 0,delete d.delayedLeave,f=void 0},d.delayedLeave=()=>{O(),delete d.delayedLeave,f=void 0}}:f=void 0}else f&&(f=void 0);return i}}};function xi(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==ge){t=n;break}}return t}const dl=al;function Si(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function ts(e,t,n,s,r){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:c,onEnter:d,onAfterEnter:f,onEnterCancelled:h,onBe
|
||
|
* @vue/runtime-dom v3.5.13
|
||
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
|
* @license MIT
|
||
|
**/let us;const lr=typeof window<"u"&&window.trustedTypes;if(lr)try{us=lr.createPolicy("vue",{createHTML:e=>e})}catch{}const Qi=us?e=>us.createHTML(e):e=>e,pc="http://www.w3.org/2000/svg",gc="http://www.w3.org/1998/Math/MathML",$e=typeof document<"u"?document:null,cr=$e&&$e.createElement("template"),mc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?$e.createElementNS(pc,e):t==="mathml"?$e.createElementNS(gc,e):n?$e.createElement(e,{is:n}):$e.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>$e.createTextNode(e),createComment:e=>$e.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>$e.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{cr.innerHTML=Qi(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=cr.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Be="transition",St="animation",Bt=Symbol("_vtc"),Yi={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},bc=oe({},yi,Yi),_c=e=>(e.displayName="Transition",e.props=bc,e),yc=_c((e,{slots:t})=>fs(dl,vc(e),t)),nt=(e,t=[])=>{L(e)?e.forEach(n=>n(...t)):e&&e(...t)},fr=e=>e?L(e)?e.some(t=>t.length>1):e.length>1:!1;function vc(e){const t={};for(const A in e)A in Yi||(t[A]=e[A]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:d=o,appearToClass:f=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:g=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,O=xc(r),E=O&&O[0],I=O&&O[1],{onBeforeEnter:$,onEnter:H,onEnterCancelled:P,onLeave:x,onLeaveCancelled:U,onBeforeAppear:D=$,onAppear:q=H,onAppearCancelled:te=P}=t,j=(A,Y,le,De)=>{A._enterCancelled=De,st(A,Y?f:l),st(A,Y?d:o),le&&le()},V=(A,Y)=>{A._isLeaving=!1,st(A,h),st(A,v),st(A,g),Y&&Y()},Z=A=>(Y,le)=>{const De=A?q:H,ie=()=>j(Y,A,le);nt(De,[Y,ie]),ur(()=>{st(Y,A?c:i),Ne(Y,A?f:l),fr(De)||ar(Y,s,E,ie)})};return oe(t,{onBeforeEnter(A){nt($,[A]),Ne(A,i),Ne(A,o)},onBeforeAppear(A){nt(D,[A]),Ne(A,c),Ne(A,d)},onEnter:Z(!1),onAppear:Z(!0),onLeave(A,Y){A._isLeaving=!0;const le=()=>V(A,Y);Ne(A,h),A._enterCancelled?(Ne(A,g),pr()):(pr(),Ne(A,g)),ur(()=>{A._isLeaving&&(st(A,h),Ne(A,v),fr(x)||ar(A,s,I,le))}),nt(x,[A,le])},onEnterCancelled(A){j(A,!1,void 0,!0),nt(P,[A])},onAppearCancelled(A){j(A,!0,void 0,!0),nt(te,[A])},onLeaveCancelled(A){V(A),nt(U,[A])}})}function xc(e){if(e==null)return null;if(X(e))return[Kn(e.enter),Kn(e.leave)];{const t=Kn(e);return[t,t]}}function Kn(e){return wo(e)}function Ne(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Bt]||(e[Bt]=new Set)).add(t)}function st(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Bt];n&&(n.delete(t),n.size||(e[Bt]=void 0))}function ur(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Sc=0;function ar(e,t,n,s){const r=e._endId=++Sc,i=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=wc(e,t);if(!o)return s();const d=o+"end";let f=0;const h=()=>{e.removeEventListener(d,g),i()},g=v=>{v.target===e&&++f>=c&&h()};setTimeout(()=>{f<c&&h()},l+1),e.addEventListener(d,g)}function wc(e,t){const n=window.getComputedStyle(e),s=O=>(n[O]||"").split(", "),r=s(`${Be}Delay`),i=s(`${Be}Duration`),o=dr(r,i),l=s(`${St}Delay`),c=s(
|