sillyspec 3.7.13 → 3.7.14

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,17 +0,0 @@
1
- (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const r of o)if(r.type==="childList")for(const i of r.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&n(i)}).observe(document,{childList:!0,subtree:!0});function s(o){const r={};return o.integrity&&(r.integrity=o.integrity),o.referrerPolicy&&(r.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?r.credentials="include":o.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function n(o){if(o.ep)return;o.ep=!0;const r=s(o);fetch(o.href,r)}})();/**
2
- * @vue/shared v3.5.32
3
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
- * @license MIT
5
- **/function yn(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const se={},$t=[],ze=()=>{},Bo=()=>!1,Fs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),$s=e=>e.startsWith("onUpdate:"),ge=Object.assign,vn=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},Ur=Object.prototype.hasOwnProperty,Q=(e,t)=>Ur.call(e,t),R=Array.isArray,Tt=e=>ns(e)==="[object Map]",Po=e=>ns(e)==="[object Set]",Vn=e=>ns(e)==="[object Date]",K=e=>typeof e=="function",fe=e=>typeof e=="string",Ge=e=>typeof e=="symbol",X=e=>e!==null&&typeof e=="object",Mo=e=>(X(e)||K(e))&&K(e.then)&&K(e.catch),jo=Object.prototype.toString,ns=e=>jo.call(e),Jr=e=>ns(e).slice(8,-1),Do=e=>ns(e)==="[object Object]",xn=e=>fe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Kt=yn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ts=e=>{const t=Object.create(null);return(s=>t[s]||(t[s]=e(s)))},Wr=/-\w/g,Me=Ts(e=>e.replace(Wr,t=>t.slice(1).toUpperCase())),zr=/\B([A-Z])/g,dt=Ts(e=>e.replace(zr,"-$1").toLowerCase()),Oo=Ts(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ks=Ts(e=>e?`on${Oo(e)}`:""),We=(e,t)=>!Object.is(e,t),hs=(e,...t)=>{for(let s=0;s<e.length;s++)e[s](...t)},Lo=(e,t,s,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:s})},bn=e=>{const t=parseFloat(e);return isNaN(t)?e:t},qr=e=>{const t=fe(e)?Number(e):NaN;return isNaN(t)?e:t};let Kn;const Bs=()=>Kn||(Kn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function le(e){if(R(e)){const t={};for(let s=0;s<e.length;s++){const n=e[s],o=fe(n)?Xr(n):le(n);if(o)for(const r in o)t[r]=o[r]}return t}else if(fe(e)||X(e))return e}const Gr=/;(?![^(]*\))/g,Yr=/:([^]+)/,Qr=/\/\*[^]*?\*\//g;function Xr(e){const t={};return e.replace(Qr,"").split(Gr).forEach(s=>{if(s){const n=s.split(Yr);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function $e(e){let t="";if(fe(e))t=e;else if(R(e))for(let s=0;s<e.length;s++){const n=$e(e[s]);n&&(t+=n+" ")}else if(X(e))for(const s in e)e[s]&&(t+=s+" ");return t.trim()}const Zr="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",ei=yn(Zr);function Io(e){return!!e||e===""}function ti(e,t){if(e.length!==t.length)return!1;let s=!0;for(let n=0;s&&n<e.length;n++)s=_n(e[n],t[n]);return s}function _n(e,t){if(e===t)return!0;let s=Vn(e),n=Vn(t);if(s||n)return s&&n?e.getTime()===t.getTime():!1;if(s=Ge(e),n=Ge(t),s||n)return e===t;if(s=R(e),n=R(t),s||n)return s&&n?ti(e,t):!1;if(s=X(e),n=X(t),s||n){if(!s||!n)return!1;const o=Object.keys(e).length,r=Object.keys(t).length;if(o!==r)return!1;for(const i in e){const l=e.hasOwnProperty(i),c=t.hasOwnProperty(i);if(l&&!c||!l&&c||!_n(e[i],t[i]))return!1}}return String(e)===String(t)}const No=e=>!!(e&&e.__v_isRef===!0),U=e=>fe(e)?e:e==null?"":R(e)||X(e)&&(e.toString===jo||!K(e.toString))?No(e)?U(e.value):JSON.stringify(e,Ro,2):String(e),Ro=(e,t)=>No(t)?Ro(e,t.value):Tt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[n,o],r)=>(s[Us(n,r)+" =>"]=o,s),{})}:Po(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>Us(s))}:Ge(t)?Us(t):X(t)&&!R(t)&&!Do(t)?String(t):t,Us=(e,t="")=>{var s;return Ge(e)?`Symbol(${(s=e.description)!=null?s:t})`:e};/**
6
- * @vue/reactivity v3.5.32
7
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
8
- * @license MIT
9
- **/let Ae;class si{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=Ae,!t&&Ae&&(this.index=(Ae.scopes||(Ae.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,s;if(this.scopes)for(t=0,s=this.scopes.length;t<s;t++)this.scopes[t].pause();for(t=0,s=this.effects.length;t<s;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,s;if(this.scopes)for(t=0,s=this.scopes.length;t<s;t++)this.scopes[t].resume();for(t=0,s=this.effects.length;t<s;t++)this.effects[t].resume()}}run(t){if(this._active){const s=Ae;try{return Ae=this,t()}finally{Ae=s}}}on(){++this._on===1&&(this.prevScope=Ae,Ae=this)}off(){this._on>0&&--this._on===0&&(Ae=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let s,n;for(s=0,n=this.effects.length;s<n;s++)this.effects[s].stop();for(this.effects.length=0,s=0,n=this.cleanups.length;s<n;s++)this.cleanups[s]();if(this.cleanups.length=0,this.scopes){for(s=0,n=this.scopes.length;s<n;s++)this.scopes[s].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function ni(){return Ae}let ie;const Js=new WeakSet;class Ho{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,Ae&&Ae.active&&Ae.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Js.has(this)&&(Js.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Ko(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Un(this),Uo(this);const t=ie,s=je;ie=this,je=!0;try{return this.fn()}finally{Jo(this),ie=t,je=s,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)kn(t);this.deps=this.depsTail=void 0,Un(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Js.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){tn(this)&&this.run()}get dirty(){return tn(this)}}let Vo=0,Ut,Jt;function Ko(e,t=!1){if(e.flags|=8,t){e.next=Jt,Jt=e;return}e.next=Ut,Ut=e}function Sn(){Vo++}function wn(){if(--Vo>0)return;if(Jt){let t=Jt;for(Jt=void 0;t;){const s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;Ut;){let t=Ut;for(Ut=void 0;t;){const s=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=s}}if(e)throw e}function Uo(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Jo(e){let t,s=e.depsTail,n=s;for(;n;){const o=n.prevDep;n.version===-1?(n===s&&(s=o),kn(n),oi(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=o}e.deps=t,e.depsTail=s}function tn(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Wo(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Wo(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Yt)||(e.globalVersion=Yt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!tn(e))))return;e.flags|=2;const t=e.dep,s=ie,n=je;ie=e,je=!0;try{Uo(e);const o=e.fn(e._value);(t.version===0||We(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{ie=s,je=n,Jo(e),e.flags&=-3}}function kn(e,t=!1){const{dep:s,prevSub:n,nextSub:o}=e;if(n&&(n.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=n,e.nextSub=void 0),s.subs===e&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let r=s.computed.deps;r;r=r.nextDep)kn(r,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function oi(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let je=!0;const zo=[];function nt(){zo.push(je),je=!1}function ot(){const e=zo.pop();je=e===void 0?!0:e}function Un(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=ie;ie=void 0;try{t()}finally{ie=s}}}let Yt=0;class ri{constructor(t,s){this.sub=t,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Cn{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!ie||!je||ie===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==ie)s=this.activeLink=new ri(ie,this),ie.deps?(s.prevDep=ie.depsTail,ie.depsTail.nextDep=s,ie.depsTail=s):ie.deps=ie.depsTail=s,qo(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const n=s.nextDep;n.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=n),s.prevDep=ie.depsTail,s.nextDep=void 0,ie.depsTail.nextDep=s,ie.depsTail=s,ie.deps===s&&(ie.deps=n)}return s}trigger(t){this.version++,Yt++,this.notify(t)}notify(t){Sn();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{wn()}}}function qo(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)qo(n)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const sn=new WeakMap,wt=Symbol(""),nn=Symbol(""),Qt=Symbol("");function xe(e,t,s){if(je&&ie){let n=sn.get(e);n||sn.set(e,n=new Map);let o=n.get(s);o||(n.set(s,o=new Cn),o.map=n,o.key=s),o.track()}}function tt(e,t,s,n,o,r){const i=sn.get(e);if(!i){Yt++;return}const l=c=>{c&&c.trigger()};if(Sn(),t==="clear")i.forEach(l);else{const c=R(e),d=c&&xn(s);if(c&&s==="length"){const a=Number(n);i.forEach((h,b)=>{(b==="length"||b===Qt||!Ge(b)&&b>=a)&&l(h)})}else switch((s!==void 0||i.has(void 0))&&l(i.get(s)),d&&l(i.get(Qt)),t){case"add":c?d&&l(i.get("length")):(l(i.get(wt)),Tt(e)&&l(i.get(nn)));break;case"delete":c||(l(i.get(wt)),Tt(e)&&l(i.get(nn)));break;case"set":Tt(e)&&l(i.get(wt));break}}wn()}function At(e){const t=G(e);return t===e?t:(xe(t,"iterate",Qt),Pe(e)?t:t.map(De))}function Ps(e){return xe(e=G(e),"iterate",Qt),e}function Ue(e,t){return rt(e)?Mt(kt(e)?De(t):t):De(t)}const ii={__proto__:null,[Symbol.iterator](){return Ws(this,Symbol.iterator,e=>Ue(this,e))},concat(...e){return At(this).concat(...e.map(t=>R(t)?At(t):t))},entries(){return Ws(this,"entries",e=>(e[1]=Ue(this,e[1]),e))},every(e,t){return Qe(this,"every",e,t,void 0,arguments)},filter(e,t){return Qe(this,"filter",e,t,s=>s.map(n=>Ue(this,n)),arguments)},find(e,t){return Qe(this,"find",e,t,s=>Ue(this,s),arguments)},findIndex(e,t){return Qe(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Qe(this,"findLast",e,t,s=>Ue(this,s),arguments)},findLastIndex(e,t){return Qe(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Qe(this,"forEach",e,t,void 0,arguments)},includes(...e){return zs(this,"includes",e)},indexOf(...e){return zs(this,"indexOf",e)},join(e){return At(this).join(e)},lastIndexOf(...e){return zs(this,"lastIndexOf",e)},map(e,t){return Qe(this,"map",e,t,void 0,arguments)},pop(){return It(this,"pop")},push(...e){return It(this,"push",e)},reduce(e,...t){return Jn(this,"reduce",e,t)},reduceRight(e,...t){return Jn(this,"reduceRight",e,t)},shift(){return It(this,"shift")},some(e,t){return Qe(this,"some",e,t,void 0,arguments)},splice(...e){return It(this,"splice",e)},toReversed(){return At(this).toReversed()},toSorted(e){return At(this).toSorted(e)},toSpliced(...e){return At(this).toSpliced(...e)},unshift(...e){return It(this,"unshift",e)},values(){return Ws(this,"values",e=>Ue(this,e))}};function Ws(e,t,s){const n=Ps(e),o=n[t]();return n!==e&&!Pe(e)&&(o._next=o.next,o.next=()=>{const r=o._next();return r.done||(r.value=s(r.value)),r}),o}const li=Array.prototype;function Qe(e,t,s,n,o,r){const i=Ps(e),l=i!==e&&!Pe(e),c=i[t];if(c!==li[t]){const h=c.apply(e,r);return l?De(h):h}let d=s;i!==e&&(l?d=function(h,b){return s.call(this,Ue(e,h),b,e)}:s.length>2&&(d=function(h,b){return s.call(this,h,b,e)}));const a=c.call(i,d,n);return l&&o?o(a):a}function Jn(e,t,s,n){const o=Ps(e),r=o!==e&&!Pe(e);let i=s,l=!1;o!==e&&(r?(l=n.length===0,i=function(d,a,h){return l&&(l=!1,d=Ue(e,d)),s.call(this,d,Ue(e,a),h,e)}):s.length>3&&(i=function(d,a,h){return s.call(this,d,a,h,e)}));const c=o[t](i,...n);return l?Ue(e,c):c}function zs(e,t,s){const n=G(e);xe(n,"iterate",Qt);const o=n[t](...s);return(o===-1||o===!1)&&Fn(s[0])?(s[0]=G(s[0]),n[t](...s)):o}function It(e,t,s=[]){nt(),Sn();const n=G(e)[t].apply(e,s);return wn(),ot(),n}const ci=yn("__proto__,__v_isRef,__isVue"),Go=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ge));function ai(e){Ge(e)||(e=String(e));const t=G(this);return xe(t,"has",e),t.hasOwnProperty(e)}class Yo{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,n){if(s==="__v_skip")return t.__v_skip;const o=this._isReadonly,r=this._isShallow;if(s==="__v_isReactive")return!o;if(s==="__v_isReadonly")return o;if(s==="__v_isShallow")return r;if(s==="__v_raw")return n===(o?r?xi:er:r?Zo:Xo).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const i=R(t);if(!o){let c;if(i&&(c=ii[s]))return c;if(s==="hasOwnProperty")return ai}const l=Reflect.get(t,s,be(t)?t:n);if((Ge(s)?Go.has(s):ci(s))||(o||xe(t,"get",s),r))return l;if(be(l)){const c=i&&xn(s)?l:l.value;return o&&X(c)?rn(c):c}return X(l)?o?rn(l):Ms(l):l}}class Qo extends Yo{constructor(t=!1){super(!1,t)}set(t,s,n,o){let r=t[s];const i=R(t)&&xn(s);if(!this._isShallow){const d=rt(r);if(!Pe(n)&&!rt(n)&&(r=G(r),n=G(n)),!i&&be(r)&&!be(n))return d||(r.value=n),!0}const l=i?Number(s)<t.length:Q(t,s),c=Reflect.set(t,s,n,be(t)?t:o);return t===G(o)&&(l?We(n,r)&&tt(t,"set",s,n):tt(t,"add",s,n)),c}deleteProperty(t,s){const n=Q(t,s);t[s];const o=Reflect.deleteProperty(t,s);return o&&n&&tt(t,"delete",s,void 0),o}has(t,s){const n=Reflect.has(t,s);return(!Ge(s)||!Go.has(s))&&xe(t,"has",s),n}ownKeys(t){return xe(t,"iterate",R(t)?"length":wt),Reflect.ownKeys(t)}}class ui extends Yo{constructor(t=!1){super(!0,t)}set(t,s){return!0}deleteProperty(t,s){return!0}}const fi=new Qo,di=new ui,pi=new Qo(!0);const on=e=>e,as=e=>Reflect.getPrototypeOf(e);function hi(e,t,s){return function(...n){const o=this.__v_raw,r=G(o),i=Tt(r),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,d=o[e](...n),a=s?on:t?Mt:De;return!t&&xe(r,"iterate",c?nn:wt),ge(Object.create(d),{next(){const{value:h,done:b}=d.next();return b?{value:h,done:b}:{value:l?[a(h[0]),a(h[1])]:a(h),done:b}}})}}function us(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function gi(e,t){const s={get(o){const r=this.__v_raw,i=G(r),l=G(o);e||(We(o,l)&&xe(i,"get",o),xe(i,"get",l));const{has:c}=as(i),d=t?on:e?Mt:De;if(c.call(i,o))return d(r.get(o));if(c.call(i,l))return d(r.get(l));r!==i&&r.get(o)},get size(){const o=this.__v_raw;return!e&&xe(G(o),"iterate",wt),o.size},has(o){const r=this.__v_raw,i=G(r),l=G(o);return e||(We(o,l)&&xe(i,"has",o),xe(i,"has",l)),o===l?r.has(o):r.has(o)||r.has(l)},forEach(o,r){const i=this,l=i.__v_raw,c=G(l),d=t?on:e?Mt:De;return!e&&xe(c,"iterate",wt),l.forEach((a,h)=>o.call(r,d(a),d(h),i))}};return ge(s,e?{add:us("add"),set:us("set"),delete:us("delete"),clear:us("clear")}:{add(o){const r=G(this),i=as(r),l=G(o),c=!t&&!Pe(o)&&!rt(o)?l:o;return i.has.call(r,c)||We(o,c)&&i.has.call(r,o)||We(l,c)&&i.has.call(r,l)||(r.add(c),tt(r,"add",c,c)),this},set(o,r){!t&&!Pe(r)&&!rt(r)&&(r=G(r));const i=G(this),{has:l,get:c}=as(i);let d=l.call(i,o);d||(o=G(o),d=l.call(i,o));const a=c.call(i,o);return i.set(o,r),d?We(r,a)&&tt(i,"set",o,r):tt(i,"add",o,r),this},delete(o){const r=G(this),{has:i,get:l}=as(r);let c=i.call(r,o);c||(o=G(o),c=i.call(r,o)),l&&l.call(r,o);const d=r.delete(o);return c&&tt(r,"delete",o,void 0),d},clear(){const o=G(this),r=o.size!==0,i=o.clear();return r&&tt(o,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(o=>{s[o]=hi(o,e,t)}),s}function An(e,t){const s=gi(e,t);return(n,o,r)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?n:Reflect.get(Q(s,o)&&o in n?s:n,o,r)}const mi={get:An(!1,!1)},yi={get:An(!1,!0)},vi={get:An(!0,!1)};const Xo=new WeakMap,Zo=new WeakMap,er=new WeakMap,xi=new WeakMap;function bi(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function _i(e){return e.__v_skip||!Object.isExtensible(e)?0:bi(Jr(e))}function Ms(e){return rt(e)?e:En(e,!1,fi,mi,Xo)}function Si(e){return En(e,!1,pi,yi,Zo)}function rn(e){return En(e,!0,di,vi,er)}function En(e,t,s,n,o){if(!X(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=_i(e);if(r===0)return e;const i=o.get(e);if(i)return i;const l=new Proxy(e,r===2?n:s);return o.set(e,l),l}function kt(e){return rt(e)?kt(e.__v_raw):!!(e&&e.__v_isReactive)}function rt(e){return!!(e&&e.__v_isReadonly)}function Pe(e){return!!(e&&e.__v_isShallow)}function Fn(e){return e?!!e.__v_raw:!1}function G(e){const t=e&&e.__v_raw;return t?G(t):e}function wi(e){return!Q(e,"__v_skip")&&Object.isExtensible(e)&&Lo(e,"__v_skip",!0),e}const De=e=>X(e)?Ms(e):e,Mt=e=>X(e)?rn(e):e;function be(e){return e?e.__v_isRef===!0:!1}function ye(e){return ki(e,!1)}function ki(e,t){return be(e)?e:new Ci(e,t)}class Ci{constructor(t,s){this.dep=new Cn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?t:G(t),this._value=s?t:De(t),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(t){const s=this._rawValue,n=this.__v_isShallow||Pe(t)||rt(t);t=n?t:G(t),We(t,s)&&(this._rawValue=t,this._value=n?t:De(t),this.dep.trigger())}}function ae(e){return be(e)?e.value:e}const Ai={get:(e,t,s)=>t==="__v_raw"?e:ae(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const o=e[t];return be(o)&&!be(s)?(o.value=s,!0):Reflect.set(e,t,s,n)}};function tr(e){return kt(e)?e:new Proxy(e,Ai)}class Ei{constructor(t,s,n){this.fn=t,this.setter=s,this._value=void 0,this.dep=new Cn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Yt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&ie!==this)return Ko(this,!0),!0}get value(){const t=this.dep.track();return Wo(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Fi(e,t,s=!1){let n,o;return K(e)?n=e:(n=e.get,o=e.set),new Ei(n,o,s)}const fs={},xs=new WeakMap;let bt;function $i(e,t=!1,s=bt){if(s){let n=xs.get(s);n||xs.set(s,n=[]),n.push(e)}}function Ti(e,t,s=se){const{immediate:n,deep:o,once:r,scheduler:i,augmentJob:l,call:c}=s,d=T=>o?T:Pe(T)||o===!1||o===0?st(T,1):st(T);let a,h,b,S,v=!1,f=!1;if(be(e)?(h=()=>e.value,v=Pe(e)):kt(e)?(h=()=>d(e),v=!0):R(e)?(f=!0,v=e.some(T=>kt(T)||Pe(T)),h=()=>e.map(T=>{if(be(T))return T.value;if(kt(T))return d(T);if(K(T))return c?c(T,2):T()})):K(e)?t?h=c?()=>c(e,2):e:h=()=>{if(b){nt();try{b()}finally{ot()}}const T=bt;bt=a;try{return c?c(e,3,[S]):e(S)}finally{bt=T}}:h=ze,t&&o){const T=h,I=o===!0?1/0:o;h=()=>st(T(),I)}const m=ni(),y=()=>{a.stop(),m&&m.active&&vn(m.effects,a)};if(r&&t){const T=t;t=(...I)=>{T(...I),y()}}let _=f?new Array(e.length).fill(fs):fs;const M=T=>{if(!(!(a.flags&1)||!a.dirty&&!T))if(t){const I=a.run();if(o||v||(f?I.some((O,q)=>We(O,_[q])):We(I,_))){b&&b();const O=bt;bt=a;try{const q=[I,_===fs?void 0:f&&_[0]===fs?[]:_,S];_=I,c?c(t,3,q):t(...q)}finally{bt=O}}}else a.run()};return l&&l(M),a=new Ho(h),a.scheduler=i?()=>i(M,!1):M,S=T=>$i(T,!1,a),b=a.onStop=()=>{const T=xs.get(a);if(T){if(c)c(T,4);else for(const I of T)I();xs.delete(a)}},t?n?M(!0):_=a.run():i?i(M.bind(null,!0),!0):a.run(),y.pause=a.pause.bind(a),y.resume=a.resume.bind(a),y.stop=y,y}function st(e,t=1/0,s){if(t<=0||!X(e)||e.__v_skip||(s=s||new Map,(s.get(e)||0)>=t))return e;if(s.set(e,t),t--,be(e))st(e.value,t,s);else if(R(e))for(let n=0;n<e.length;n++)st(e[n],t,s);else if(Po(e)||Tt(e))e.forEach(n=>{st(n,t,s)});else if(Do(e)){for(const n in e)st(e[n],t,s);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&st(e[n],t,s)}return e}/**
10
- * @vue/runtime-core v3.5.32
11
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
12
- * @license MIT
13
- **/function os(e,t,s,n){try{return n?e(...n):e()}catch(o){js(o,t,s)}}function Oe(e,t,s,n){if(K(e)){const o=os(e,t,s,n);return o&&Mo(o)&&o.catch(r=>{js(r,t,s)}),o}if(R(e)){const o=[];for(let r=0;r<e.length;r++)o.push(Oe(e[r],t,s,n));return o}}function js(e,t,s,n=!0){const o=t?t.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||se;if(t){let l=t.parent;const c=t.proxy,d=`https://vuejs.org/error-reference/#runtime-${s}`;for(;l;){const a=l.ec;if(a){for(let h=0;h<a.length;h++)if(a[h](e,c,d)===!1)return}l=l.parent}if(r){nt(),os(r,null,10,[e,c,d]),ot();return}}Bi(e,s,o,n,i)}function Bi(e,t,s,n=!0,o=!1){if(o)throw e;console.error(e)}const we=[];let Ve=-1;const Bt=[];let ct=null,Et=0;const sr=Promise.resolve();let bs=null;function Ds(e){const t=bs||sr;return e?t.then(this?e.bind(this):e):t}function Pi(e){let t=Ve+1,s=we.length;for(;t<s;){const n=t+s>>>1,o=we[n],r=Xt(o);r<e||r===e&&o.flags&2?t=n+1:s=n}return t}function $n(e){if(!(e.flags&1)){const t=Xt(e),s=we[we.length-1];!s||!(e.flags&2)&&t>=Xt(s)?we.push(e):we.splice(Pi(t),0,e),e.flags|=1,nr()}}function nr(){bs||(bs=sr.then(rr))}function Mi(e){R(e)?Bt.push(...e):ct&&e.id===-1?ct.splice(Et+1,0,e):e.flags&1||(Bt.push(e),e.flags|=1),nr()}function Wn(e,t,s=Ve+1){for(;s<we.length;s++){const n=we[s];if(n&&n.flags&2){if(e&&n.id!==e.uid)continue;we.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function or(e){if(Bt.length){const t=[...new Set(Bt)].sort((s,n)=>Xt(s)-Xt(n));if(Bt.length=0,ct){ct.push(...t);return}for(ct=t,Et=0;Et<ct.length;Et++){const s=ct[Et];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}ct=null,Et=0}}const Xt=e=>e.id==null?e.flags&2?-1:1/0:e.id;function rr(e){try{for(Ve=0;Ve<we.length;Ve++){const t=we[Ve];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),os(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Ve<we.length;Ve++){const t=we[Ve];t&&(t.flags&=-2)}Ve=-1,we.length=0,or(),bs=null,(we.length||Bt.length)&&rr()}}let Be=null,ir=null;function _s(e){const t=Be;return Be=e,ir=e&&e.type.__scopeId||null,t}function Ss(e,t=Be,s){if(!t||e._n)return e;const n=(...o)=>{n._d&&Cs(-1);const r=_s(t);let i;try{i=e(...o)}finally{_s(r),n._d&&Cs(1)}return i};return n._n=!0,n._c=!0,n._d=!0,n}function Tn(e,t){if(Be===null)return e;const s=Hs(Be),n=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[r,i,l,c=se]=t[o];r&&(K(r)&&(r={mounted:r,updated:r}),r.deep&&st(i),n.push({dir:r,instance:s,value:i,oldValue:void 0,arg:l,modifiers:c}))}return e}function gt(e,t,s,n){const o=e.dirs,r=t&&t.dirs;for(let i=0;i<o.length;i++){const l=o[i];r&&(l.oldValue=r[i].value);let c=l.dir[n];c&&(nt(),Oe(c,s,8,[e.el,l,e,t]),ot())}}function ji(e,t){if(Ce){let s=Ce.provides;const n=Ce.parent&&Ce.parent.provides;n===s&&(s=Ce.provides=Object.create(n)),s[e]=t}}function gs(e,t,s=!1){const n=Lr();if(n||Pt){let o=Pt?Pt._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return s&&K(t)?t.call(n&&n.proxy):t}}const Di=Symbol.for("v-scx"),Oi=()=>gs(Di);function at(e,t,s){return lr(e,t,s)}function lr(e,t,s=se){const{immediate:n,deep:o,flush:r,once:i}=s,l=ge({},s),c=t&&n||!t&&r!=="post";let d;if(ts){if(r==="sync"){const S=Oi();d=S.__watcherHandles||(S.__watcherHandles=[])}else if(!c){const S=()=>{};return S.stop=ze,S.resume=ze,S.pause=ze,S}}const a=Ce;l.call=(S,v,f)=>Oe(S,a,v,f);let h=!1;r==="post"?l.scheduler=S=>{Se(S,a&&a.suspense)}:r!=="sync"&&(h=!0,l.scheduler=(S,v)=>{v?S():$n(S)}),l.augmentJob=S=>{t&&(S.flags|=4),h&&(S.flags|=2,a&&(S.id=a.uid,S.i=a))};const b=Ti(e,t,l);return ts&&(d?d.push(b):c&&b()),b}function Li(e,t,s){const n=this.proxy,o=fe(e)?e.includes(".")?cr(n,e):()=>n[e]:e.bind(n,n);let r;K(t)?r=t:(r=t.handler,s=t);const i=is(this),l=lr(o,r.bind(n),s);return i(),l}function cr(e,t){const s=t.split(".");return()=>{let n=e;for(let o=0;o<s.length&&n;o++)n=n[s[o]];return n}}const mt=new WeakMap,ar=Symbol("_vte"),ur=e=>e.__isTeleport,_t=e=>e&&(e.disabled||e.disabled===""),Ii=e=>e&&(e.defer||e.defer===""),zn=e=>typeof SVGElement<"u"&&e instanceof SVGElement,qn=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,ln=(e,t)=>{const s=e&&e.to;return fe(s)?t?t(s):null:s},Ni={name:"Teleport",__isTeleport:!0,process(e,t,s,n,o,r,i,l,c,d){const{mc:a,pc:h,pbc:b,o:{insert:S,querySelector:v,createText:f,createComment:m}}=d,y=_t(t.props);let{dynamicChildren:_}=t;const M=(O,q,Z)=>{O.shapeFlag&16&&a(O.children,q,Z,o,r,i,l,c)},T=(O=t)=>{const q=_t(O.props),Z=O.target=ln(O.props,v),V=cn(Z,O,f,S);Z&&(i!=="svg"&&zn(Z)?i="svg":i!=="mathml"&&qn(Z)&&(i="mathml"),o&&o.isCE&&(o.ce._teleportTargets||(o.ce._teleportTargets=new Set)).add(Z),q||(M(O,Z,V),Ht(O,!1)))},I=O=>{const q=()=>{mt.get(O)===q&&(mt.delete(O),_t(O.props)&&(M(O,s,O.anchor),Ht(O,!0)),T(O))};mt.set(O,q),Se(q,r)};if(e==null){const O=t.el=f(""),q=t.anchor=f("");if(S(O,s,n),S(q,s,n),Ii(t.props)||r&&r.pendingBranch){I(t);return}y&&(M(t,s,q),Ht(t,!0)),T()}else{t.el=e.el;const O=t.anchor=e.anchor,q=mt.get(e);if(q){q.flags|=8,mt.delete(e),I(t);return}t.targetStart=e.targetStart;const Z=t.target=e.target,V=t.targetAnchor=e.targetAnchor,W=_t(e.props),ne=W?s:Z,D=W?O:V;if(i==="svg"||zn(Z)?i="svg":(i==="mathml"||qn(Z))&&(i="mathml"),_?(b(e.dynamicChildren,_,ne,o,r,i,l),Mn(e,t,!0)):c||h(e,t,ne,D,o,r,i,l,!1),y)W?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):ds(t,s,O,d,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const ee=t.target=ln(t.props,v);ee&&ds(t,ee,null,d,0)}else W&&ds(t,Z,V,d,1);Ht(t,y)}},remove(e,t,s,{um:n,o:{remove:o}},r){const{shapeFlag:i,children:l,anchor:c,targetStart:d,targetAnchor:a,target:h,props:b}=e;let S=r||!_t(b);const v=mt.get(e);if(v&&(v.flags|=8,mt.delete(e),S=!1),h&&(o(d),o(a)),r&&o(c),i&16)for(let f=0;f<l.length;f++){const m=l[f];n(m,t,s,S,!!m.dynamicChildren)}},move:ds,hydrate:Ri};function ds(e,t,s,{o:{insert:n},m:o},r=2){r===0&&n(e.targetAnchor,t,s);const{el:i,anchor:l,shapeFlag:c,children:d,props:a}=e,h=r===2;if(h&&n(i,t,s),(!h||_t(a))&&c&16)for(let b=0;b<d.length;b++)o(d[b],t,s,2);h&&n(l,t,s)}function Ri(e,t,s,n,o,r,{o:{nextSibling:i,parentNode:l,querySelector:c,insert:d,createText:a}},h){function b(m,y){let _=y;for(;_;){if(_&&_.nodeType===8){if(_.data==="teleport start anchor")t.targetStart=_;else if(_.data==="teleport anchor"){t.targetAnchor=_,m._lpa=t.targetAnchor&&i(t.targetAnchor);break}}_=i(_)}}function S(m,y){y.anchor=h(i(m),y,l(m),s,n,o,r)}const v=t.target=ln(t.props,c),f=_t(t.props);if(v){const m=v._lpa||v.firstChild;t.shapeFlag&16&&(f?(S(e,t),b(v,m),t.targetAnchor||cn(v,t,a,d,l(e)===v?e:null)):(t.anchor=i(e),b(v,m),t.targetAnchor||cn(v,t,a,d),h(m&&i(m),t,v,s,n,o,r))),Ht(t,f)}else f&&t.shapeFlag&16&&(S(e,t),t.targetStart=e,t.targetAnchor=i(e));return t.anchor&&i(t.anchor)}const Hi=Ni;function Ht(e,t){const s=e.ctx;if(s&&s.ut){let n,o;for(t?(n=e.el,o=e.anchor):(n=e.targetStart,o=e.targetAnchor);n&&n!==o;)n.nodeType===1&&n.setAttribute("data-v-owner",s.uid),n=n.nextSibling;s.ut()}}function cn(e,t,s,n,o=null){const r=t.targetStart=s(""),i=t.targetAnchor=s("");return r[ar]=i,e&&(n(r,e,o),n(i,e,o)),i}const Ke=Symbol("_leaveCb"),Nt=Symbol("_enterCb");function Vi(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return rs(()=>{e.isMounted=!0}),vr(()=>{e.isUnmounting=!0}),e}const Te=[Function,Array],fr={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Te,onEnter:Te,onAfterEnter:Te,onEnterCancelled:Te,onBeforeLeave:Te,onLeave:Te,onAfterLeave:Te,onLeaveCancelled:Te,onBeforeAppear:Te,onAppear:Te,onAfterAppear:Te,onAppearCancelled:Te},dr=e=>{const t=e.subTree;return t.component?dr(t.component):t},Ki={name:"BaseTransition",props:fr,setup(e,{slots:t}){const s=Lr(),n=Vi();return()=>{const o=t.default&&gr(t.default(),!0);if(!o||!o.length)return;const r=pr(o),i=G(e),{mode:l}=i;if(n.isLeaving)return qs(r);const c=Gn(r);if(!c)return qs(r);let d=an(c,i,n,s,h=>d=h);c.type!==ke&&Zt(c,d);let a=s.subTree&&Gn(s.subTree);if(a&&a.type!==ke&&!St(a,c)&&dr(s).type!==ke){let h=an(a,i,n,s);if(Zt(a,h),l==="out-in"&&c.type!==ke)return n.isLeaving=!0,h.afterLeave=()=>{n.isLeaving=!1,s.job.flags&8||s.update(),delete h.afterLeave,a=void 0},qs(r);l==="in-out"&&c.type!==ke?h.delayLeave=(b,S,v)=>{const f=hr(n,a);f[String(a.key)]=a,b[Ke]=()=>{S(),b[Ke]=void 0,delete d.delayedLeave,a=void 0},d.delayedLeave=()=>{v(),delete d.delayedLeave,a=void 0}}:a=void 0}else a&&(a=void 0);return r}}};function pr(e){let t=e[0];if(e.length>1){for(const s of e)if(s.type!==ke){t=s;break}}return t}const Ui=Ki;function hr(e,t){const{leavingVNodes:s}=e;let n=s.get(t.type);return n||(n=Object.create(null),s.set(t.type,n)),n}function an(e,t,s,n,o){const{appear:r,mode:i,persisted:l=!1,onBeforeEnter:c,onEnter:d,onAfterEnter:a,onEnterCancelled:h,onBeforeLeave:b,onLeave:S,onAfterLeave:v,onLeaveCancelled:f,onBeforeAppear:m,onAppear:y,onAfterAppear:_,onAppearCancelled:M}=t,T=String(e.key),I=hr(s,e),O=(V,W)=>{V&&Oe(V,n,9,W)},q=(V,W)=>{const ne=W[1];O(V,W),R(V)?V.every(D=>D.length<=1)&&ne():V.length<=1&&ne()},Z={mode:i,persisted:l,beforeEnter(V){let W=c;if(!s.isMounted)if(r)W=m||c;else return;V[Ke]&&V[Ke](!0);const ne=I[T];ne&&St(e,ne)&&ne.el[Ke]&&ne.el[Ke](),O(W,[V])},enter(V){if(I[T]===e)return;let W=d,ne=a,D=h;if(!s.isMounted)if(r)W=y||d,ne=_||a,D=M||h;else return;let ee=!1;V[Nt]=Ye=>{ee||(ee=!0,Ye?O(D,[V]):O(ne,[V]),Z.delayedLeave&&Z.delayedLeave(),V[Nt]=void 0)};const ve=V[Nt].bind(null,!1);W?q(W,[V,ve]):ve()},leave(V,W){const ne=String(e.key);if(V[Nt]&&V[Nt](!0),s.isUnmounting)return W();O(b,[V]);let D=!1;V[Ke]=ve=>{D||(D=!0,W(),ve?O(f,[V]):O(v,[V]),V[Ke]=void 0,I[ne]===e&&delete I[ne])};const ee=V[Ke].bind(null,!1);I[ne]=e,S?q(S,[V,ee]):ee()},clone(V){const W=an(V,t,s,n,o);return o&&o(W),W}};return Z}function qs(e){if(Os(e))return e=ft(e),e.children=null,e}function Gn(e){if(!Os(e))return ur(e.type)&&e.children?pr(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:s}=e;if(s){if(t&16)return s[0];if(t&32&&K(s.default))return s.default()}}function Zt(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Zt(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function gr(e,t=!1,s){let n=[],o=0;for(let r=0;r<e.length;r++){let i=e[r];const l=s==null?i.key:String(s)+String(i.key!=null?i.key:r);i.type===pe?(i.patchFlag&128&&o++,n=n.concat(gr(i.children,t,l))):(t||i.type!==ke)&&n.push(l!=null?ft(i,{key:l}):i)}if(o>1)for(let r=0;r<n.length;r++)n[r].patchFlag=-2;return n}function mr(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Yn(e,t){let s;return!!((s=Object.getOwnPropertyDescriptor(e,t))&&!s.configurable)}const ws=new WeakMap;function Wt(e,t,s,n,o=!1){if(R(e)){e.forEach((f,m)=>Wt(f,t&&(R(t)?t[m]:t),s,n,o));return}if(zt(n)&&!o){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Wt(e,t,s,n.component.subTree);return}const r=n.shapeFlag&4?Hs(n.component):n.el,i=o?null:r,{i:l,r:c}=e,d=t&&t.r,a=l.refs===se?l.refs={}:l.refs,h=l.setupState,b=G(h),S=h===se?Bo:f=>Yn(a,f)?!1:Q(b,f),v=(f,m)=>!(m&&Yn(a,m));if(d!=null&&d!==c){if(Qn(t),fe(d))a[d]=null,S(d)&&(h[d]=null);else if(be(d)){const f=t;v(d,f.k)&&(d.value=null),f.k&&(a[f.k]=null)}}if(K(c))os(c,l,12,[i,a]);else{const f=fe(c),m=be(c);if(f||m){const y=()=>{if(e.f){const _=f?S(c)?h[c]:a[c]:v()||!e.k?c.value:a[e.k];if(o)R(_)&&vn(_,r);else if(R(_))_.includes(r)||_.push(r);else if(f)a[c]=[r],S(c)&&(h[c]=a[c]);else{const M=[r];v(c,e.k)&&(c.value=M),e.k&&(a[e.k]=M)}}else f?(a[c]=i,S(c)&&(h[c]=i)):m&&(v(c,e.k)&&(c.value=i),e.k&&(a[e.k]=i))};if(i){const _=()=>{y(),ws.delete(e)};_.id=-1,ws.set(e,_),Se(_,s)}else Qn(e),y()}}}function Qn(e){const t=ws.get(e);t&&(t.flags|=8,ws.delete(e))}Bs().requestIdleCallback;Bs().cancelIdleCallback;const zt=e=>!!e.type.__asyncLoader,Os=e=>e.type.__isKeepAlive;function Ji(e,t){yr(e,"a",t)}function Wi(e,t){yr(e,"da",t)}function yr(e,t,s=Ce){const n=e.__wdc||(e.__wdc=()=>{let o=s;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Ls(t,n,s),s){let o=s.parent;for(;o&&o.parent;)Os(o.parent.vnode)&&zi(n,t,s,o),o=o.parent}}function zi(e,t,s,n){const o=Ls(t,e,n,!0);Is(()=>{vn(n[t],o)},s)}function Ls(e,t,s=Ce,n=!1){if(s){const o=s[e]||(s[e]=[]),r=t.__weh||(t.__weh=(...i)=>{nt();const l=is(s),c=Oe(t,s,e,i);return l(),ot(),c});return n?o.unshift(r):o.push(r),r}}const it=e=>(t,s=Ce)=>{(!ts||e==="sp")&&Ls(e,(...n)=>t(...n),s)},qi=it("bm"),rs=it("m"),Gi=it("bu"),Yi=it("u"),vr=it("bum"),Is=it("um"),Qi=it("sp"),Xi=it("rtg"),Zi=it("rtc");function el(e,t=Ce){Ls("ec",e,t)}const tl=Symbol.for("v-ndc");function qe(e,t,s,n){let o;const r=s,i=R(e);if(i||fe(e)){const l=i&&kt(e);let c=!1,d=!1;l&&(c=!Pe(e),d=rt(e),e=Ps(e)),o=new Array(e.length);for(let a=0,h=e.length;a<h;a++)o[a]=t(c?d?Mt(De(e[a])):De(e[a]):e[a],a,void 0,r)}else if(typeof e=="number"){o=new Array(e);for(let l=0;l<e;l++)o[l]=t(l+1,l,void 0,r)}else if(X(e))if(e[Symbol.iterator])o=Array.from(e,(l,c)=>t(l,c,void 0,r));else{const l=Object.keys(e);o=new Array(l.length);for(let c=0,d=l.length;c<d;c++){const a=l[c];o[c]=t(e[a],a,c,r)}}else o=[];return o}const un=e=>e?Ir(e)?Hs(e):un(e.parent):null,qt=ge(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>un(e.parent),$root:e=>un(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>br(e),$forceUpdate:e=>e.f||(e.f=()=>{$n(e.update)}),$nextTick:e=>e.n||(e.n=Ds.bind(e.proxy)),$watch:e=>Li.bind(e)}),Gs=(e,t)=>e!==se&&!e.__isScriptSetup&&Q(e,t),sl={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:n,data:o,props:r,accessCache:i,type:l,appContext:c}=e;if(t[0]!=="$"){const b=i[t];if(b!==void 0)switch(b){case 1:return n[t];case 2:return o[t];case 4:return s[t];case 3:return r[t]}else{if(Gs(n,t))return i[t]=1,n[t];if(o!==se&&Q(o,t))return i[t]=2,o[t];if(Q(r,t))return i[t]=3,r[t];if(s!==se&&Q(s,t))return i[t]=4,s[t];fn&&(i[t]=0)}}const d=qt[t];let a,h;if(d)return t==="$attrs"&&xe(e.attrs,"get",""),d(e);if((a=l.__cssModules)&&(a=a[t]))return a;if(s!==se&&Q(s,t))return i[t]=4,s[t];if(h=c.config.globalProperties,Q(h,t))return h[t]},set({_:e},t,s){const{data:n,setupState:o,ctx:r}=e;return Gs(o,t)?(o[t]=s,!0):n!==se&&Q(n,t)?(n[t]=s,!0):Q(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:o,props:r,type:i}},l){let c;return!!(s[l]||e!==se&&l[0]!=="$"&&Q(e,l)||Gs(t,l)||Q(r,l)||Q(n,l)||Q(qt,l)||Q(o.config.globalProperties,l)||(c=i.__cssModules)&&c[l])},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:Q(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function Xn(e){return R(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let fn=!0;function nl(e){const t=br(e),s=e.proxy,n=e.ctx;fn=!1,t.beforeCreate&&Zn(t.beforeCreate,e,"bc");const{data:o,computed:r,methods:i,watch:l,provide:c,inject:d,created:a,beforeMount:h,mounted:b,beforeUpdate:S,updated:v,activated:f,deactivated:m,beforeDestroy:y,beforeUnmount:_,destroyed:M,unmounted:T,render:I,renderTracked:O,renderTriggered:q,errorCaptured:Z,serverPrefetch:V,expose:W,inheritAttrs:ne,components:D,directives:ee,filters:ve}=t;if(d&&ol(d,n,null),i)for(const ce in i){const oe=i[ce];K(oe)&&(n[ce]=oe.bind(s))}if(o){const ce=o.call(s,s);X(ce)&&(e.data=Ms(ce))}if(fn=!0,r)for(const ce in r){const oe=r[ce],pt=K(oe)?oe.bind(s,s):K(oe.get)?oe.get.bind(s,s):ze,ls=!K(oe)&&K(oe.set)?oe.set.bind(s):ze,ht=ue({get:pt,set:ls});Object.defineProperty(n,ce,{enumerable:!0,configurable:!0,get:()=>ht.value,set:Le=>ht.value=Le})}if(l)for(const ce in l)xr(l[ce],n,s,ce);if(c){const ce=K(c)?c.call(s):c;Reflect.ownKeys(ce).forEach(oe=>{ji(oe,ce[oe])})}a&&Zn(a,e,"c");function he(ce,oe){R(oe)?oe.forEach(pt=>ce(pt.bind(s))):oe&&ce(oe.bind(s))}if(he(qi,h),he(rs,b),he(Gi,S),he(Yi,v),he(Ji,f),he(Wi,m),he(el,Z),he(Zi,O),he(Xi,q),he(vr,_),he(Is,T),he(Qi,V),R(W))if(W.length){const ce=e.exposed||(e.exposed={});W.forEach(oe=>{Object.defineProperty(ce,oe,{get:()=>s[oe],set:pt=>s[oe]=pt,enumerable:!0})})}else e.exposed||(e.exposed={});I&&e.render===ze&&(e.render=I),ne!=null&&(e.inheritAttrs=ne),D&&(e.components=D),ee&&(e.directives=ee),V&&mr(e)}function ol(e,t,s=ze){R(e)&&(e=dn(e));for(const n in e){const o=e[n];let r;X(o)?"default"in o?r=gs(o.from||n,o.default,!0):r=gs(o.from||n):r=gs(o),be(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:i=>r.value=i}):t[n]=r}}function Zn(e,t,s){Oe(R(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function xr(e,t,s,n){let o=n.includes(".")?cr(s,n):()=>s[n];if(fe(e)){const r=t[e];K(r)&&at(o,r)}else if(K(e))at(o,e.bind(s));else if(X(e))if(R(e))e.forEach(r=>xr(r,t,s,n));else{const r=K(e.handler)?e.handler.bind(s):t[e.handler];K(r)&&at(o,r,e)}}function br(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:o,optionsCache:r,config:{optionMergeStrategies:i}}=e.appContext,l=r.get(t);let c;return l?c=l:!o.length&&!s&&!n?c=t:(c={},o.length&&o.forEach(d=>ks(c,d,i,!0)),ks(c,t,i)),X(t)&&r.set(t,c),c}function ks(e,t,s,n=!1){const{mixins:o,extends:r}=t;r&&ks(e,r,s,!0),o&&o.forEach(i=>ks(e,i,s,!0));for(const i in t)if(!(n&&i==="expose")){const l=rl[i]||s&&s[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const rl={data:eo,props:to,emits:to,methods:Vt,computed:Vt,beforeCreate:_e,created:_e,beforeMount:_e,mounted:_e,beforeUpdate:_e,updated:_e,beforeDestroy:_e,beforeUnmount:_e,destroyed:_e,unmounted:_e,activated:_e,deactivated:_e,errorCaptured:_e,serverPrefetch:_e,components:Vt,directives:Vt,watch:ll,provide:eo,inject:il};function eo(e,t){return t?e?function(){return ge(K(e)?e.call(this,this):e,K(t)?t.call(this,this):t)}:t:e}function il(e,t){return Vt(dn(e),dn(t))}function dn(e){if(R(e)){const t={};for(let s=0;s<e.length;s++)t[e[s]]=e[s];return t}return e}function _e(e,t){return e?[...new Set([].concat(e,t))]:t}function Vt(e,t){return e?ge(Object.create(null),e,t):t}function to(e,t){return e?R(e)&&R(t)?[...new Set([...e,...t])]:ge(Object.create(null),Xn(e),Xn(t??{})):t}function ll(e,t){if(!e)return t;if(!t)return e;const s=ge(Object.create(null),e);for(const n in t)s[n]=_e(e[n],t[n]);return s}function _r(){return{app:null,config:{isNativeTag:Bo,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let cl=0;function al(e,t){return function(n,o=null){K(n)||(n=ge({},n)),o!=null&&!X(o)&&(o=null);const r=_r(),i=new WeakSet,l=[];let c=!1;const d=r.app={_uid:cl++,_component:n,_props:o,_container:null,_context:r,_instance:null,version:Vl,get config(){return r.config},set config(a){},use(a,...h){return i.has(a)||(a&&K(a.install)?(i.add(a),a.install(d,...h)):K(a)&&(i.add(a),a(d,...h))),d},mixin(a){return r.mixins.includes(a)||r.mixins.push(a),d},component(a,h){return h?(r.components[a]=h,d):r.components[a]},directive(a,h){return h?(r.directives[a]=h,d):r.directives[a]},mount(a,h,b){if(!c){const S=d._ceVNode||Y(n,o);return S.appContext=r,b===!0?b="svg":b===!1&&(b=void 0),e(S,a,b),c=!0,d._container=a,a.__vue_app__=d,Hs(S.component)}},onUnmount(a){l.push(a)},unmount(){c&&(Oe(l,d._instance,16),e(null,d._container),delete d._container.__vue_app__)},provide(a,h){return r.provides[a]=h,d},runWithContext(a){const h=Pt;Pt=d;try{return a()}finally{Pt=h}}};return d}}let Pt=null;const ul=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Me(t)}Modifiers`]||e[`${dt(t)}Modifiers`];function fl(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||se;let o=s;const r=t.startsWith("update:"),i=r&&ul(n,t.slice(7));i&&(i.trim&&(o=s.map(a=>fe(a)?a.trim():a)),i.number&&(o=s.map(bn)));let l,c=n[l=Ks(t)]||n[l=Ks(Me(t))];!c&&r&&(c=n[l=Ks(dt(t))]),c&&Oe(c,e,6,o);const d=n[l+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Oe(d,e,6,o)}}const dl=new WeakMap;function Sr(e,t,s=!1){const n=s?dl:t.emitsCache,o=n.get(e);if(o!==void 0)return o;const r=e.emits;let i={},l=!1;if(!K(e)){const c=d=>{const a=Sr(d,t,!0);a&&(l=!0,ge(i,a))};!s&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!r&&!l?(X(e)&&n.set(e,null),null):(R(r)?r.forEach(c=>i[c]=null):ge(i,r),X(e)&&n.set(e,i),i)}function Ns(e,t){return!e||!Fs(t)?!1:(t=t.slice(2).replace(/Once$/,""),Q(e,t[0].toLowerCase()+t.slice(1))||Q(e,dt(t))||Q(e,t))}function so(e){const{type:t,vnode:s,proxy:n,withProxy:o,propsOptions:[r],slots:i,attrs:l,emit:c,render:d,renderCache:a,props:h,data:b,setupState:S,ctx:v,inheritAttrs:f}=e,m=_s(e);let y,_;try{if(s.shapeFlag&4){const T=o||n,I=T;y=Je(d.call(I,T,a,h,S,b,v)),_=l}else{const T=t;y=Je(T.length>1?T(h,{attrs:l,slots:i,emit:c}):T(h,null)),_=t.props?l:pl(l)}}catch(T){Gt.length=0,js(T,e,1),y=Y(ke)}let M=y;if(_&&f!==!1){const T=Object.keys(_),{shapeFlag:I}=M;T.length&&I&7&&(r&&T.some($s)&&(_=hl(_,r)),M=ft(M,_,!1,!0))}return s.dirs&&(M=ft(M,null,!1,!0),M.dirs=M.dirs?M.dirs.concat(s.dirs):s.dirs),s.transition&&Zt(M,s.transition),y=M,_s(m),y}const pl=e=>{let t;for(const s in e)(s==="class"||s==="style"||Fs(s))&&((t||(t={}))[s]=e[s]);return t},hl=(e,t)=>{const s={};for(const n in e)(!$s(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function gl(e,t,s){const{props:n,children:o,component:r}=e,{props:i,children:l,patchFlag:c}=t,d=r.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&c>=0){if(c&1024)return!0;if(c&16)return n?no(n,i,d):!!i;if(c&8){const a=t.dynamicProps;for(let h=0;h<a.length;h++){const b=a[h];if(wr(i,n,b)&&!Ns(d,b))return!0}}}else return(o||l)&&(!l||!l.$stable)?!0:n===i?!1:n?i?no(n,i,d):!0:!!i;return!1}function no(e,t,s){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let o=0;o<n.length;o++){const r=n[o];if(wr(t,e,r)&&!Ns(s,r))return!0}return!1}function wr(e,t,s){const n=e[s],o=t[s];return s==="style"&&X(n)&&X(o)?!_n(n,o):n!==o}function ml({vnode:e,parent:t,suspense:s},n){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.suspense.vnode.el=o.el=n,e=o),o===e)(e=t.vnode).el=n,t=t.parent;else break}s&&s.activeBranch===e&&(s.vnode.el=n)}const kr={},Cr=()=>Object.create(kr),Ar=e=>Object.getPrototypeOf(e)===kr;function yl(e,t,s,n=!1){const o={},r=Cr();e.propsDefaults=Object.create(null),Er(e,t,o,r);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);s?e.props=n?o:Si(o):e.type.props?e.props=o:e.props=r,e.attrs=r}function vl(e,t,s,n){const{props:o,attrs:r,vnode:{patchFlag:i}}=e,l=G(o),[c]=e.propsOptions;let d=!1;if((n||i>0)&&!(i&16)){if(i&8){const a=e.vnode.dynamicProps;for(let h=0;h<a.length;h++){let b=a[h];if(Ns(e.emitsOptions,b))continue;const S=t[b];if(c)if(Q(r,b))S!==r[b]&&(r[b]=S,d=!0);else{const v=Me(b);o[v]=pn(c,l,v,S,e,!1)}else S!==r[b]&&(r[b]=S,d=!0)}}}else{Er(e,t,o,r)&&(d=!0);let a;for(const h in l)(!t||!Q(t,h)&&((a=dt(h))===h||!Q(t,a)))&&(c?s&&(s[h]!==void 0||s[a]!==void 0)&&(o[h]=pn(c,l,h,void 0,e,!0)):delete o[h]);if(r!==l)for(const h in r)(!t||!Q(t,h))&&(delete r[h],d=!0)}d&&tt(e.attrs,"set","")}function Er(e,t,s,n){const[o,r]=e.propsOptions;let i=!1,l;if(t)for(let c in t){if(Kt(c))continue;const d=t[c];let a;o&&Q(o,a=Me(c))?!r||!r.includes(a)?s[a]=d:(l||(l={}))[a]=d:Ns(e.emitsOptions,c)||(!(c in n)||d!==n[c])&&(n[c]=d,i=!0)}if(r){const c=G(s),d=l||se;for(let a=0;a<r.length;a++){const h=r[a];s[h]=pn(o,c,h,d[h],e,!Q(d,h))}}return i}function pn(e,t,s,n,o,r){const i=e[s];if(i!=null){const l=Q(i,"default");if(l&&n===void 0){const c=i.default;if(i.type!==Function&&!i.skipFactory&&K(c)){const{propsDefaults:d}=o;if(s in d)n=d[s];else{const a=is(o);n=d[s]=c.call(null,t),a()}}else n=c;o.ce&&o.ce._setProp(s,n)}i[0]&&(r&&!l?n=!1:i[1]&&(n===""||n===dt(s))&&(n=!0))}return n}const xl=new WeakMap;function Fr(e,t,s=!1){const n=s?xl:t.propsCache,o=n.get(e);if(o)return o;const r=e.props,i={},l=[];let c=!1;if(!K(e)){const a=h=>{c=!0;const[b,S]=Fr(h,t,!0);ge(i,b),S&&l.push(...S)};!s&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!r&&!c)return X(e)&&n.set(e,$t),$t;if(R(r))for(let a=0;a<r.length;a++){const h=Me(r[a]);oo(h)&&(i[h]=se)}else if(r)for(const a in r){const h=Me(a);if(oo(h)){const b=r[a],S=i[h]=R(b)||K(b)?{type:b}:ge({},b),v=S.type;let f=!1,m=!0;if(R(v))for(let y=0;y<v.length;++y){const _=v[y],M=K(_)&&_.name;if(M==="Boolean"){f=!0;break}else M==="String"&&(m=!1)}else f=K(v)&&v.name==="Boolean";S[0]=f,S[1]=m,(f||Q(S,"default"))&&l.push(h)}}const d=[i,l];return X(e)&&n.set(e,d),d}function oo(e){return e[0]!=="$"&&!Kt(e)}const Bn=e=>e==="_"||e==="_ctx"||e==="$stable",Pn=e=>R(e)?e.map(Je):[Je(e)],bl=(e,t,s)=>{if(t._n)return t;const n=Ss((...o)=>Pn(t(...o)),s);return n._c=!1,n},$r=(e,t,s)=>{const n=e._ctx;for(const o in e){if(Bn(o))continue;const r=e[o];if(K(r))t[o]=bl(o,r,n);else if(r!=null){const i=Pn(r);t[o]=()=>i}}},Tr=(e,t)=>{const s=Pn(t);e.slots.default=()=>s},Br=(e,t,s)=>{for(const n in t)(s||!Bn(n))&&(e[n]=t[n])},_l=(e,t,s)=>{const n=e.slots=Cr();if(e.vnode.shapeFlag&32){const o=t._;o?(Br(n,t,s),s&&Lo(n,"_",o,!0)):$r(t,n)}else t&&Tr(e,t)},Sl=(e,t,s)=>{const{vnode:n,slots:o}=e;let r=!0,i=se;if(n.shapeFlag&32){const l=t._;l?s&&l===1?r=!1:Br(o,t,s):(r=!t.$stable,$r(t,o)),i=t}else t&&(Tr(e,t),i={default:1});if(r)for(const l in o)!Bn(l)&&i[l]==null&&delete o[l]},Se=El;function wl(e){return kl(e)}function kl(e,t){const s=Bs();s.__VUE__=!0;const{insert:n,remove:o,patchProp:r,createElement:i,createText:l,createComment:c,setText:d,setElementText:a,parentNode:h,nextSibling:b,setScopeId:S=ze,insertStaticContent:v}=e,f=(u,p,x,E=null,w=null,k=null,P=void 0,B=null,$=!!p.dynamicChildren)=>{if(u===p)return;u&&!St(u,p)&&(E=cs(u),Le(u,w,k,!0),u=null),p.patchFlag===-2&&($=!1,p.dynamicChildren=null);const{type:C,ref:N,shapeFlag:j}=p;switch(C){case Rs:m(u,p,x,E);break;case ke:y(u,p,x,E);break;case ms:u==null&&_(p,x,E,P);break;case pe:D(u,p,x,E,w,k,P,B,$);break;default:j&1?I(u,p,x,E,w,k,P,B,$):j&6?ee(u,p,x,E,w,k,P,B,$):(j&64||j&128)&&C.process(u,p,x,E,w,k,P,B,$,Ot)}N!=null&&w?Wt(N,u&&u.ref,k,p||u,!p):N==null&&u&&u.ref!=null&&Wt(u.ref,null,k,u,!0)},m=(u,p,x,E)=>{if(u==null)n(p.el=l(p.children),x,E);else{const w=p.el=u.el;p.children!==u.children&&d(w,p.children)}},y=(u,p,x,E)=>{u==null?n(p.el=c(p.children||""),x,E):p.el=u.el},_=(u,p,x,E)=>{[u.el,u.anchor]=v(u.children,p,x,E,u.el,u.anchor)},M=({el:u,anchor:p},x,E)=>{let w;for(;u&&u!==p;)w=b(u),n(u,x,E),u=w;n(p,x,E)},T=({el:u,anchor:p})=>{let x;for(;u&&u!==p;)x=b(u),o(u),u=x;o(p)},I=(u,p,x,E,w,k,P,B,$)=>{if(p.type==="svg"?P="svg":p.type==="math"&&(P="mathml"),u==null)O(p,x,E,w,k,P,B,$);else{const C=u.el&&u.el._isVueCE?u.el:null;try{C&&C._beginPatch(),V(u,p,w,k,P,B,$)}finally{C&&C._endPatch()}}},O=(u,p,x,E,w,k,P,B)=>{let $,C;const{props:N,shapeFlag:j,transition:L,dirs:H}=u;if($=u.el=i(u.type,k,N&&N.is,N),j&8?a($,u.children):j&16&&Z(u.children,$,null,E,w,Ys(u,k),P,B),H&&gt(u,null,E,"created"),q($,u,u.scopeId,P,E),N){for(const te in N)te!=="value"&&!Kt(te)&&r($,te,null,N[te],k,E);"value"in N&&r($,"value",null,N.value,k),(C=N.onVnodeBeforeMount)&&He(C,E,u)}H&&gt(u,null,E,"beforeMount");const z=Cl(w,L);z&&L.beforeEnter($),n($,p,x),((C=N&&N.onVnodeMounted)||z||H)&&Se(()=>{try{C&&He(C,E,u),z&&L.enter($),H&&gt(u,null,E,"mounted")}finally{}},w)},q=(u,p,x,E,w)=>{if(x&&S(u,x),E)for(let k=0;k<E.length;k++)S(u,E[k]);if(w){let k=w.subTree;if(p===k||jr(k.type)&&(k.ssContent===p||k.ssFallback===p)){const P=w.vnode;q(u,P,P.scopeId,P.slotScopeIds,w.parent)}}},Z=(u,p,x,E,w,k,P,B,$=0)=>{for(let C=$;C<u.length;C++){const N=u[C]=B?et(u[C]):Je(u[C]);f(null,N,p,x,E,w,k,P,B)}},V=(u,p,x,E,w,k,P)=>{const B=p.el=u.el;let{patchFlag:$,dynamicChildren:C,dirs:N}=p;$|=u.patchFlag&16;const j=u.props||se,L=p.props||se;let H;if(x&&yt(x,!1),(H=L.onVnodeBeforeUpdate)&&He(H,x,p,u),N&&gt(p,u,x,"beforeUpdate"),x&&yt(x,!0),(j.innerHTML&&L.innerHTML==null||j.textContent&&L.textContent==null)&&a(B,""),C?W(u.dynamicChildren,C,B,x,E,Ys(p,w),k):P||oe(u,p,B,null,x,E,Ys(p,w),k,!1),$>0){if($&16)ne(B,j,L,x,w);else if($&2&&j.class!==L.class&&r(B,"class",null,L.class,w),$&4&&r(B,"style",j.style,L.style,w),$&8){const z=p.dynamicProps;for(let te=0;te<z.length;te++){const re=z[te],de=j[re],me=L[re];(me!==de||re==="value")&&r(B,re,de,me,w,x)}}$&1&&u.children!==p.children&&a(B,p.children)}else!P&&C==null&&ne(B,j,L,x,w);((H=L.onVnodeUpdated)||N)&&Se(()=>{H&&He(H,x,p,u),N&&gt(p,u,x,"updated")},E)},W=(u,p,x,E,w,k,P)=>{for(let B=0;B<p.length;B++){const $=u[B],C=p[B],N=$.el&&($.type===pe||!St($,C)||$.shapeFlag&198)?h($.el):x;f($,C,N,null,E,w,k,P,!0)}},ne=(u,p,x,E,w)=>{if(p!==x){if(p!==se)for(const k in p)!Kt(k)&&!(k in x)&&r(u,k,p[k],null,w,E);for(const k in x){if(Kt(k))continue;const P=x[k],B=p[k];P!==B&&k!=="value"&&r(u,k,B,P,w,E)}"value"in x&&r(u,"value",p.value,x.value,w)}},D=(u,p,x,E,w,k,P,B,$)=>{const C=p.el=u?u.el:l(""),N=p.anchor=u?u.anchor:l("");let{patchFlag:j,dynamicChildren:L,slotScopeIds:H}=p;H&&(B=B?B.concat(H):H),u==null?(n(C,x,E),n(N,x,E),Z(p.children||[],x,N,w,k,P,B,$)):j>0&&j&64&&L&&u.dynamicChildren&&u.dynamicChildren.length===L.length?(W(u.dynamicChildren,L,x,w,k,P,B),(p.key!=null||w&&p===w.subTree)&&Mn(u,p,!0)):oe(u,p,x,N,w,k,P,B,$)},ee=(u,p,x,E,w,k,P,B,$)=>{p.slotScopeIds=B,u==null?p.shapeFlag&512?w.ctx.activate(p,x,E,P,$):ve(p,x,E,w,k,P,$):Ye(u,p,$)},ve=(u,p,x,E,w,k,P)=>{const B=u.component=Dl(u,E,w);if(Os(u)&&(B.ctx.renderer=Ot),Ol(B,!1,P),B.asyncDep){if(w&&w.registerDep(B,he,P),!u.el){const $=B.subTree=Y(ke);y(null,$,p,x),u.placeholder=$.el}}else he(B,u,p,x,w,k,P)},Ye=(u,p,x)=>{const E=p.component=u.component;if(gl(u,p,x))if(E.asyncDep&&!E.asyncResolved){ce(E,p,x);return}else E.next=p,E.update();else p.el=u.el,E.vnode=p},he=(u,p,x,E,w,k,P)=>{const B=()=>{if(u.isMounted){let{next:j,bu:L,u:H,parent:z,vnode:te}=u;{const Ne=Pr(u);if(Ne){j&&(j.el=te.el,ce(u,j,P)),Ne.asyncDep.then(()=>{Se(()=>{u.isUnmounted||C()},w)});return}}let re=j,de;yt(u,!1),j?(j.el=te.el,ce(u,j,P)):j=te,L&&hs(L),(de=j.props&&j.props.onVnodeBeforeUpdate)&&He(de,z,j,te),yt(u,!0);const me=so(u),Ie=u.subTree;u.subTree=me,f(Ie,me,h(Ie.el),cs(Ie),u,w,k),j.el=me.el,re===null&&ml(u,me.el),H&&Se(H,w),(de=j.props&&j.props.onVnodeUpdated)&&Se(()=>He(de,z,j,te),w)}else{let j;const{el:L,props:H}=p,{bm:z,m:te,parent:re,root:de,type:me}=u,Ie=zt(p);yt(u,!1),z&&hs(z),!Ie&&(j=H&&H.onVnodeBeforeMount)&&He(j,re,p),yt(u,!0);{de.ce&&de.ce._hasShadowRoot()&&de.ce._injectChildStyle(me,u.parent?u.parent.type:void 0);const Ne=u.subTree=so(u);f(null,Ne,x,E,u,w,k),p.el=Ne.el}if(te&&Se(te,w),!Ie&&(j=H&&H.onVnodeMounted)){const Ne=p;Se(()=>He(j,re,Ne),w)}(p.shapeFlag&256||re&&zt(re.vnode)&&re.vnode.shapeFlag&256)&&u.a&&Se(u.a,w),u.isMounted=!0,p=x=E=null}};u.scope.on();const $=u.effect=new Ho(B);u.scope.off();const C=u.update=$.run.bind($),N=u.job=$.runIfDirty.bind($);N.i=u,N.id=u.uid,$.scheduler=()=>$n(N),yt(u,!0),C()},ce=(u,p,x)=>{p.component=u;const E=u.vnode.props;u.vnode=p,u.next=null,vl(u,p.props,E,x),Sl(u,p.children,x),nt(),Wn(u),ot()},oe=(u,p,x,E,w,k,P,B,$=!1)=>{const C=u&&u.children,N=u?u.shapeFlag:0,j=p.children,{patchFlag:L,shapeFlag:H}=p;if(L>0){if(L&128){ls(C,j,x,E,w,k,P,B,$);return}else if(L&256){pt(C,j,x,E,w,k,P,B,$);return}}H&8?(N&16&&Dt(C,w,k),j!==C&&a(x,j)):N&16?H&16?ls(C,j,x,E,w,k,P,B,$):Dt(C,w,k,!0):(N&8&&a(x,""),H&16&&Z(j,x,E,w,k,P,B,$))},pt=(u,p,x,E,w,k,P,B,$)=>{u=u||$t,p=p||$t;const C=u.length,N=p.length,j=Math.min(C,N);let L;for(L=0;L<j;L++){const H=p[L]=$?et(p[L]):Je(p[L]);f(u[L],H,x,null,w,k,P,B,$)}C>N?Dt(u,w,k,!0,!1,j):Z(p,x,E,w,k,P,B,$,j)},ls=(u,p,x,E,w,k,P,B,$)=>{let C=0;const N=p.length;let j=u.length-1,L=N-1;for(;C<=j&&C<=L;){const H=u[C],z=p[C]=$?et(p[C]):Je(p[C]);if(St(H,z))f(H,z,x,null,w,k,P,B,$);else break;C++}for(;C<=j&&C<=L;){const H=u[j],z=p[L]=$?et(p[L]):Je(p[L]);if(St(H,z))f(H,z,x,null,w,k,P,B,$);else break;j--,L--}if(C>j){if(C<=L){const H=L+1,z=H<N?p[H].el:E;for(;C<=L;)f(null,p[C]=$?et(p[C]):Je(p[C]),x,z,w,k,P,B,$),C++}}else if(C>L)for(;C<=j;)Le(u[C],w,k,!0),C++;else{const H=C,z=C,te=new Map;for(C=z;C<=L;C++){const Ee=p[C]=$?et(p[C]):Je(p[C]);Ee.key!=null&&te.set(Ee.key,C)}let re,de=0;const me=L-z+1;let Ie=!1,Ne=0;const Lt=new Array(me);for(C=0;C<me;C++)Lt[C]=0;for(C=H;C<=j;C++){const Ee=u[C];if(de>=me){Le(Ee,w,k,!0);continue}let Re;if(Ee.key!=null)Re=te.get(Ee.key);else for(re=z;re<=L;re++)if(Lt[re-z]===0&&St(Ee,p[re])){Re=re;break}Re===void 0?Le(Ee,w,k,!0):(Lt[Re-z]=C+1,Re>=Ne?Ne=Re:Ie=!0,f(Ee,p[Re],x,null,w,k,P,B,$),de++)}const Nn=Ie?Al(Lt):$t;for(re=Nn.length-1,C=me-1;C>=0;C--){const Ee=z+C,Re=p[Ee],Rn=p[Ee+1],Hn=Ee+1<N?Rn.el||Mr(Rn):E;Lt[C]===0?f(null,Re,x,Hn,w,k,P,B,$):Ie&&(re<0||C!==Nn[re]?ht(Re,x,Hn,2):re--)}}},ht=(u,p,x,E,w=null)=>{const{el:k,type:P,transition:B,children:$,shapeFlag:C}=u;if(C&6){ht(u.component.subTree,p,x,E);return}if(C&128){u.suspense.move(p,x,E);return}if(C&64){P.move(u,p,x,Ot);return}if(P===pe){n(k,p,x);for(let j=0;j<$.length;j++)ht($[j],p,x,E);n(u.anchor,p,x);return}if(P===ms){M(u,p,x);return}if(E!==2&&C&1&&B)if(E===0)B.beforeEnter(k),n(k,p,x),Se(()=>B.enter(k),w);else{const{leave:j,delayLeave:L,afterLeave:H}=B,z=()=>{u.ctx.isUnmounted?o(k):n(k,p,x)},te=()=>{k._isLeaving&&k[Ke](!0),j(k,()=>{z(),H&&H()})};L?L(k,z,te):te()}else n(k,p,x)},Le=(u,p,x,E=!1,w=!1)=>{const{type:k,props:P,ref:B,children:$,dynamicChildren:C,shapeFlag:N,patchFlag:j,dirs:L,cacheIndex:H,memo:z}=u;if(j===-2&&(w=!1),B!=null&&(nt(),Wt(B,null,x,u,!0),ot()),H!=null&&(p.renderCache[H]=void 0),N&256){p.ctx.deactivate(u);return}const te=N&1&&L,re=!zt(u);let de;if(re&&(de=P&&P.onVnodeBeforeUnmount)&&He(de,p,u),N&6)Kr(u.component,x,E);else{if(N&128){u.suspense.unmount(x,E);return}te&&gt(u,null,p,"beforeUnmount"),N&64?u.type.remove(u,p,x,Ot,E):C&&!C.hasOnce&&(k!==pe||j>0&&j&64)?Dt(C,p,x,!1,!0):(k===pe&&j&384||!w&&N&16)&&Dt($,p,x),E&&Ln(u)}const me=z!=null&&H==null;(re&&(de=P&&P.onVnodeUnmounted)||te||me)&&Se(()=>{de&&He(de,p,u),te&&gt(u,null,p,"unmounted"),me&&(u.el=null)},x)},Ln=u=>{const{type:p,el:x,anchor:E,transition:w}=u;if(p===pe){Vr(x,E);return}if(p===ms){T(u);return}const k=()=>{o(x),w&&!w.persisted&&w.afterLeave&&w.afterLeave()};if(u.shapeFlag&1&&w&&!w.persisted){const{leave:P,delayLeave:B}=w,$=()=>P(x,k);B?B(u.el,k,$):$()}else k()},Vr=(u,p)=>{let x;for(;u!==p;)x=b(u),o(u),u=x;o(p)},Kr=(u,p,x)=>{const{bum:E,scope:w,job:k,subTree:P,um:B,m:$,a:C}=u;ro($),ro(C),E&&hs(E),w.stop(),k&&(k.flags|=8,Le(P,u,p,x)),B&&Se(B,p),Se(()=>{u.isUnmounted=!0},p)},Dt=(u,p,x,E=!1,w=!1,k=0)=>{for(let P=k;P<u.length;P++)Le(u[P],p,x,E,w)},cs=u=>{if(u.shapeFlag&6)return cs(u.component.subTree);if(u.shapeFlag&128)return u.suspense.next();const p=b(u.anchor||u.el),x=p&&p[ar];return x?b(x):p};let Vs=!1;const In=(u,p,x)=>{let E;u==null?p._vnode&&(Le(p._vnode,null,null,!0),E=p._vnode.component):f(p._vnode||null,u,p,null,null,null,x),p._vnode=u,Vs||(Vs=!0,Wn(E),or(),Vs=!1)},Ot={p:f,um:Le,m:ht,r:Ln,mt:ve,mc:Z,pc:oe,pbc:W,n:cs,o:e};return{render:In,hydrate:void 0,createApp:al(In)}}function Ys({type:e,props:t},s){return s==="svg"&&e==="foreignObject"||s==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:s}function yt({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Cl(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Mn(e,t,s=!1){const n=e.children,o=t.children;if(R(n)&&R(o))for(let r=0;r<n.length;r++){const i=n[r];let l=o[r];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=o[r]=et(o[r]),l.el=i.el),!s&&l.patchFlag!==-2&&Mn(i,l)),l.type===Rs&&(l.patchFlag===-1&&(l=o[r]=et(l)),l.el=i.el),l.type===ke&&!l.el&&(l.el=i.el)}}function Al(e){const t=e.slice(),s=[0];let n,o,r,i,l;const c=e.length;for(n=0;n<c;n++){const d=e[n];if(d!==0){if(o=s[s.length-1],e[o]<d){t[n]=o,s.push(n);continue}for(r=0,i=s.length-1;r<i;)l=r+i>>1,e[s[l]]<d?r=l+1:i=l;d<e[s[r]]&&(r>0&&(t[n]=s[r-1]),s[r]=n)}}for(r=s.length,i=s[r-1];r-- >0;)s[r]=i,i=t[i];return s}function Pr(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Pr(t)}function ro(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Mr(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Mr(t.subTree):null}const jr=e=>e.__isSuspense;function El(e,t){t&&t.pendingBranch?R(e)?t.effects.push(...e):t.effects.push(e):Mi(e)}const pe=Symbol.for("v-fgt"),Rs=Symbol.for("v-txt"),ke=Symbol.for("v-cmt"),ms=Symbol.for("v-stc"),Gt=[];let Fe=null;function A(e=!1){Gt.push(Fe=e?null:[])}function Fl(){Gt.pop(),Fe=Gt[Gt.length-1]||null}let es=1;function Cs(e,t=!1){es+=e,e<0&&Fe&&t&&(Fe.hasOnce=!0)}function Dr(e){return e.dynamicChildren=es>0?Fe||$t:null,Fl(),es>0&&Fe&&Fe.push(e),e}function F(e,t,s,n,o,r){return Dr(g(e,t,s,n,o,r,!0))}function Ct(e,t,s,n,o){return Dr(Y(e,t,s,n,o,!0))}function As(e){return e?e.__v_isVNode===!0:!1}function St(e,t){return e.type===t.type&&e.key===t.key}const Or=({key:e})=>e??null,ys=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?fe(e)||be(e)||K(e)?{i:Be,r:e,k:t,f:!!s}:e:null);function g(e,t=null,s=null,n=0,o=null,r=e===pe?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Or(t),ref:t&&ys(t),scopeId:ir,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:n,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Be};return l?(jn(c,s),r&128&&e.normalize(c)):s&&(c.shapeFlag|=fe(s)?8:16),es>0&&!i&&Fe&&(c.patchFlag>0||r&6)&&c.patchFlag!==32&&Fe.push(c),c}const Y=$l;function $l(e,t=null,s=null,n=0,o=null,r=!1){if((!e||e===tl)&&(e=ke),As(e)){const l=ft(e,t,!0);return s&&jn(l,s),es>0&&!r&&Fe&&(l.shapeFlag&6?Fe[Fe.indexOf(e)]=l:Fe.push(l)),l.patchFlag=-2,l}if(Rl(e)&&(e=e.__vccOpts),t){t=Tl(t);let{class:l,style:c}=t;l&&!fe(l)&&(t.class=$e(l)),X(c)&&(Fn(c)&&!R(c)&&(c=ge({},c)),t.style=le(c))}const i=fe(e)?1:jr(e)?128:ur(e)?64:X(e)?4:K(e)?2:0;return g(e,t,s,n,o,i,r,!0)}function Tl(e){return e?Fn(e)||Ar(e)?ge({},e):e:null}function ft(e,t,s=!1,n=!1){const{props:o,ref:r,patchFlag:i,children:l,transition:c}=e,d=t?Pl(o||{},t):o,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&Or(d),ref:t&&t.ref?s&&r?R(r)?r.concat(ys(t)):[r,ys(t)]:ys(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==pe?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ft(e.ssContent),ssFallback:e.ssFallback&&ft(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&n&&Zt(a,c.clone(a)),a}function ut(e=" ",t=0){return Y(Rs,null,e,t)}function Bl(e,t){const s=Y(ms,null,e);return s.staticCount=t,s}function J(e="",t=!1){return t?(A(),Ct(ke,null,e)):Y(ke,null,e)}function Je(e){return e==null||typeof e=="boolean"?Y(ke):R(e)?Y(pe,null,e.slice()):As(e)?et(e):Y(Rs,null,String(e))}function et(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ft(e)}function jn(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(R(t))s=16;else if(typeof t=="object")if(n&65){const o=t.default;o&&(o._c&&(o._d=!1),jn(e,o()),o._c&&(o._d=!0));return}else{s=32;const o=t._;!o&&!Ar(t)?t._ctx=Be:o===3&&Be&&(Be.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else K(t)?(t={default:t,_ctx:Be},s=32):(t=String(t),n&64?(s=16,t=[ut(t)]):s=8);e.children=t,e.shapeFlag|=s}function Pl(...e){const t={};for(let s=0;s<e.length;s++){const n=e[s];for(const o in n)if(o==="class")t.class!==n.class&&(t.class=$e([t.class,n.class]));else if(o==="style")t.style=le([t.style,n.style]);else if(Fs(o)){const r=t[o],i=n[o];i&&r!==i&&!(R(r)&&r.includes(i))?t[o]=r?[].concat(r,i):i:i==null&&r==null&&!$s(o)&&(t[o]=i)}else o!==""&&(t[o]=n[o])}return t}function He(e,t,s,n=null){Oe(e,t,7,[s,n])}const Ml=_r();let jl=0;function Dl(e,t,s){const n=e.type,o=(t?t.appContext:e.appContext)||Ml,r={uid:jl++,vnode:e,type:n,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new si(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Fr(n,o),emitsOptions:Sr(n,o),emit:null,emitted:null,propsDefaults:se,inheritAttrs:n.inheritAttrs,ctx:se,data:se,props:se,attrs:se,slots:se,refs:se,setupState:se,setupContext:null,suspense:s,suspenseId:s?s.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return r.ctx={_:r},r.root=t?t.root:r,r.emit=fl.bind(null,r),e.ce&&e.ce(r),r}let Ce=null;const Lr=()=>Ce||Be;let Es,hn;{const e=Bs(),t=(s,n)=>{let o;return(o=e[s])||(o=e[s]=[]),o.push(n),r=>{o.length>1?o.forEach(i=>i(r)):o[0](r)}};Es=t("__VUE_INSTANCE_SETTERS__",s=>Ce=s),hn=t("__VUE_SSR_SETTERS__",s=>ts=s)}const is=e=>{const t=Ce;return Es(e),e.scope.on(),()=>{e.scope.off(),Es(t)}},io=()=>{Ce&&Ce.scope.off(),Es(null)};function Ir(e){return e.vnode.shapeFlag&4}let ts=!1;function Ol(e,t=!1,s=!1){t&&hn(t);const{props:n,children:o}=e.vnode,r=Ir(e);yl(e,n,r,t),_l(e,o,s||t);const i=r?Ll(e,t):void 0;return t&&hn(!1),i}function Ll(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,sl);const{setup:n}=s;if(n){nt();const o=e.setupContext=n.length>1?Nl(e):null,r=is(e),i=os(n,e,0,[e.props,o]),l=Mo(i);if(ot(),r(),(l||e.sp)&&!zt(e)&&mr(e),l){if(i.then(io,io),t)return i.then(c=>{lo(e,c)}).catch(c=>{js(c,e,0)});e.asyncDep=i}else lo(e,i)}else Nr(e)}function lo(e,t,s){K(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:X(t)&&(e.setupState=tr(t)),Nr(e)}function Nr(e,t,s){const n=e.type;e.render||(e.render=n.render||ze);{const o=is(e);nt();try{nl(e)}finally{ot(),o()}}}const Il={get(e,t){return xe(e,"get",""),e[t]}};function Nl(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,Il),slots:e.slots,emit:e.emit,expose:t}}function Hs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(tr(wi(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in qt)return qt[s](e)},has(t,s){return s in t||s in qt}})):e.proxy}function Rl(e){return K(e)&&"__vccOpts"in e}const ue=(e,t)=>Fi(e,t,ts);function Hl(e,t,s){try{Cs(-1);const n=arguments.length;return n===2?X(t)&&!R(t)?As(t)?Y(e,null,[t]):Y(e,t):Y(e,null,t):(n>3?s=Array.prototype.slice.call(arguments,2):n===3&&As(s)&&(s=[s]),Y(e,t,s))}finally{Cs(1)}}const Vl="3.5.32";/**
14
- * @vue/runtime-dom v3.5.32
15
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
16
- * @license MIT
17
- **/let gn;const co=typeof window<"u"&&window.trustedTypes;if(co)try{gn=co.createPolicy("vue",{createHTML:e=>e})}catch{}const Rr=gn?e=>gn.createHTML(e):e=>e,Kl="http://www.w3.org/2000/svg",Ul="http://www.w3.org/1998/Math/MathML",Ze=typeof document<"u"?document:null,ao=Ze&&Ze.createElement("template"),Jl={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,n)=>{const o=t==="svg"?Ze.createElementNS(Kl,e):t==="mathml"?Ze.createElementNS(Ul,e):s?Ze.createElement(e,{is:s}):Ze.createElement(e);return e==="select"&&n&&n.multiple!=null&&o.setAttribute("multiple",n.multiple),o},createText:e=>Ze.createTextNode(e),createComment:e=>Ze.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ze.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,o,r){const i=s?s.previousSibling:t.lastChild;if(o&&(o===r||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),s),!(o===r||!(o=o.nextSibling)););else{ao.innerHTML=Rr(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const l=ao.content;if(n==="svg"||n==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,s)}return[i?i.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},lt="transition",Rt="animation",ss=Symbol("_vtc"),Hr={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},Wl=ge({},fr,Hr),zl=e=>(e.displayName="Transition",e.props=Wl,e),mn=zl((e,{slots:t})=>Hl(Ui,ql(e),t)),vt=(e,t=[])=>{R(e)?e.forEach(s=>s(...t)):e&&e(...t)},uo=e=>e?R(e)?e.some(t=>t.length>1):e.length>1:!1;function ql(e){const t={};for(const D in e)D in Hr||(t[D]=e[D]);if(e.css===!1)return t;const{name:s="v",type:n,duration:o,enterFromClass:r=`${s}-enter-from`,enterActiveClass:i=`${s}-enter-active`,enterToClass:l=`${s}-enter-to`,appearFromClass:c=r,appearActiveClass:d=i,appearToClass:a=l,leaveFromClass:h=`${s}-leave-from`,leaveActiveClass:b=`${s}-leave-active`,leaveToClass:S=`${s}-leave-to`}=e,v=Gl(o),f=v&&v[0],m=v&&v[1],{onBeforeEnter:y,onEnter:_,onEnterCancelled:M,onLeave:T,onLeaveCancelled:I,onBeforeAppear:O=y,onAppear:q=_,onAppearCancelled:Z=M}=t,V=(D,ee,ve,Ye)=>{D._enterCancelled=Ye,xt(D,ee?a:l),xt(D,ee?d:i),ve&&ve()},W=(D,ee)=>{D._isLeaving=!1,xt(D,h),xt(D,S),xt(D,b),ee&&ee()},ne=D=>(ee,ve)=>{const Ye=D?q:_,he=()=>V(ee,D,ve);vt(Ye,[ee,he]),fo(()=>{xt(ee,D?c:r),Xe(ee,D?a:l),uo(Ye)||po(ee,n,f,he)})};return ge(t,{onBeforeEnter(D){vt(y,[D]),Xe(D,r),Xe(D,i)},onBeforeAppear(D){vt(O,[D]),Xe(D,c),Xe(D,d)},onEnter:ne(!1),onAppear:ne(!0),onLeave(D,ee){D._isLeaving=!0;const ve=()=>W(D,ee);Xe(D,h),D._enterCancelled?(Xe(D,b),mo(D)):(mo(D),Xe(D,b)),fo(()=>{D._isLeaving&&(xt(D,h),Xe(D,S),uo(T)||po(D,n,m,ve))}),vt(T,[D,ve])},onEnterCancelled(D){V(D,!1,void 0,!0),vt(M,[D])},onAppearCancelled(D){V(D,!0,void 0,!0),vt(Z,[D])},onLeaveCancelled(D){W(D),vt(I,[D])}})}function Gl(e){if(e==null)return null;if(X(e))return[Qs(e.enter),Qs(e.leave)];{const t=Qs(e);return[t,t]}}function Qs(e){return qr(e)}function Xe(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.add(s)),(e[ss]||(e[ss]=new Set)).add(t)}function xt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const s=e[ss];s&&(s.delete(t),s.size||(e[ss]=void 0))}function fo(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Yl=0;function po(e,t,s,n){const o=e._endId=++Yl,r=()=>{o===e._endId&&n()};if(s!=null)return setTimeout(r,s);const{type:i,timeout:l,propCount:c}=Ql(e,t);if(!i)return n();const d=i+"end";let a=0;const h=()=>{e.removeEventListener(d,b),r()},b=S=>{S.target===e&&++a>=c&&h()};setTimeout(()=>{a<c&&h()},l+1),e.addEventListener(d,b)}function Ql(e,t){const s=window.getComputedStyle(e),n=v=>(s[v]||"").split(", "),o=n(`${lt}Delay`),r=n(`${lt}Duration`),i=ho(o,r),l=n(`${Rt}Delay`),c=n(`${Rt}Duration`),d=ho(l,c);let a=null,h=0,b=0;t===lt?i>0&&(a=lt,h=i,b=r.length):t===Rt?d>0&&(a=Rt,h=d,b=c.length):(h=Math.max(i,d),a=h>0?i>d?lt:Rt:null,b=a?a===lt?r.length:c.length:0);const S=a===lt&&/\b(?:transform|all)(?:,|$)/.test(n(`${lt}Property`).toString());return{type:a,timeout:h,propCount:b,hasTransform:S}}function ho(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((s,n)=>go(s)+go(e[n])))}function go(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function mo(e){return(e?e.ownerDocument:document).body.offsetHeight}function Xl(e,t,s){const n=e[ss];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const yo=Symbol("_vod"),Zl=Symbol("_vsh"),ec=Symbol(""),tc=/(?:^|;)\s*display\s*:/;function sc(e,t,s){const n=e.style,o=fe(s);let r=!1;if(s&&!o){if(t)if(fe(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();s[l]==null&&vs(n,l,"")}else for(const i in t)s[i]==null&&vs(n,i,"");for(const i in s)i==="display"&&(r=!0),vs(n,i,s[i])}else if(o){if(t!==s){const i=n[ec];i&&(s+=";"+i),n.cssText=s,r=tc.test(s)}}else t&&e.removeAttribute("style");yo in e&&(e[yo]=r?n.display:"",e[Zl]&&(n.display="none"))}const vo=/\s*!important$/;function vs(e,t,s){if(R(s))s.forEach(n=>vs(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=nc(e,t);vo.test(s)?e.setProperty(dt(n),s.replace(vo,""),"important"):e[n]=s}}const xo=["Webkit","Moz","ms"],Xs={};function nc(e,t){const s=Xs[t];if(s)return s;let n=Me(t);if(n!=="filter"&&n in e)return Xs[t]=n;n=Oo(n);for(let o=0;o<xo.length;o++){const r=xo[o]+n;if(r in e)return Xs[t]=r}return t}const bo="http://www.w3.org/1999/xlink";function _o(e,t,s,n,o,r=ei(t)){n&&t.startsWith("xlink:")?s==null?e.removeAttributeNS(bo,t.slice(6,t.length)):e.setAttributeNS(bo,t,s):s==null||r&&!Io(s)?e.removeAttribute(t):e.setAttribute(t,r?"":Ge(s)?String(s):s)}function So(e,t,s,n,o){if(t==="innerHTML"||t==="textContent"){s!=null&&(e[t]=t==="innerHTML"?Rr(s):s);return}const r=e.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const l=r==="OPTION"?e.getAttribute("value")||"":e.value,c=s==null?e.type==="checkbox"?"on":"":String(s);(l!==c||!("_value"in e))&&(e.value=c),s==null&&e.removeAttribute(t),e._value=s;return}let i=!1;if(s===""||s==null){const l=typeof e[t];l==="boolean"?s=Io(s):s==null&&l==="string"?(s="",i=!0):l==="number"&&(s=0,i=!0)}try{e[t]=s}catch{}i&&e.removeAttribute(o||t)}function Ft(e,t,s,n){e.addEventListener(t,s,n)}function oc(e,t,s,n){e.removeEventListener(t,s,n)}const wo=Symbol("_vei");function rc(e,t,s,n,o=null){const r=e[wo]||(e[wo]={}),i=r[t];if(n&&i)i.value=n;else{const[l,c]=ic(t);if(n){const d=r[t]=ac(n,o);Ft(e,l,d,c)}else i&&(oc(e,l,i,c),r[t]=void 0)}}const ko=/(?:Once|Passive|Capture)$/;function ic(e){let t;if(ko.test(e)){t={};let n;for(;n=e.match(ko);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):dt(e.slice(2)),t]}let Zs=0;const lc=Promise.resolve(),cc=()=>Zs||(lc.then(()=>Zs=0),Zs=Date.now());function ac(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;Oe(uc(n,s.value),t,5,[n])};return s.value=e,s.attached=cc(),s}function uc(e,t){if(R(t)){const s=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{s.call(e),e._stopped=!0},t.map(n=>o=>!o._stopped&&n&&n(o))}else return t}const Co=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,fc=(e,t,s,n,o,r)=>{const i=o==="svg";t==="class"?Xl(e,n,i):t==="style"?sc(e,s,n):Fs(t)?$s(t)||rc(e,t,s,n,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):dc(e,t,n,i))?(So(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&_o(e,t,n,i,r,t!=="value")):e._isVueCE&&(pc(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!fe(n)))?So(e,Me(t),n,r,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),_o(e,t,n,i))};function dc(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&Co(t)&&K(s));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return Co(t)&&fe(s)?!1:t in e}function pc(e,t){const s=e._def.props;if(!s)return!1;const n=Me(t);return Array.isArray(s)?s.some(o=>Me(o)===n):Object.keys(s).some(o=>Me(o)===n)}const Ao=e=>{const t=e.props["onUpdate:modelValue"]||!1;return R(t)?s=>hs(t,s):t};function hc(e){e.target.composing=!0}function Eo(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const en=Symbol("_assign");function Fo(e,t,s){return t&&(e=e.trim()),s&&(e=bn(e)),e}const Dn={created(e,{modifiers:{lazy:t,trim:s,number:n}},o){e[en]=Ao(o);const r=n||o.props&&o.props.type==="number";Ft(e,t?"change":"input",i=>{i.target.composing||e[en](Fo(e.value,s,r))}),(s||r)&&Ft(e,"change",()=>{e.value=Fo(e.value,s,r)}),t||(Ft(e,"compositionstart",hc),Ft(e,"compositionend",Eo),Ft(e,"change",Eo))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:s,modifiers:{lazy:n,trim:o,number:r}},i){if(e[en]=Ao(i),e.composing)return;const l=(r||e.type==="number")&&!/^0\d/.test(e.value)?bn(e.value):e.value,c=t??"";if(l===c)return;const d=e.getRootNode();(d instanceof Document||d instanceof ShadowRoot)&&d.activeElement===e&&e.type!=="range"&&(n&&t===s||o&&e.value.trim()===c)||(e.value=c)}},gc={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},$o=(e,t)=>{const s=e._withKeys||(e._withKeys={}),n=t.join(".");return s[n]||(s[n]=(o=>{if(!("key"in o))return;const r=dt(o.key);if(t.some(i=>i===r||gc[i]===r))return e(o)}))},mc=ge({patchProp:fc},Jl);let To;function yc(){return To||(To=wl(mc))}const vc=((...e)=>{const t=yc().createApp(...e),{mount:s}=t;return t.mount=n=>{const o=bc(n);if(!o)return;const r=t._component;!K(r)&&!r.render&&!r.template&&(r.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const i=s(o,!1,xc(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t});function xc(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function bc(e){return fe(e)?document.querySelector(e):e}function _c(){const e=ye(null),t=ye(!1),s=ye(null),n=new Map;function o(){const d=`${location.protocol==="https:"?"wss:":"ws:"}//${location.host}`;e.value=new WebSocket(d),e.value.onopen=()=>{t.value=!0,console.log("WebSocket connected")},e.value.onclose=()=>{t.value=!1,console.log("WebSocket disconnected, reconnecting in 3s..."),s.value=setTimeout(()=>{o()},3e3)},e.value.onerror=a=>{console.error("WebSocket error:",a)},e.value.onmessage=a=>{try{const h=JSON.parse(a.data),{type:b,data:S}=h;(n.get(b)||[]).forEach(m=>m(S)),(n.get("*")||[]).forEach(m=>m(h))}catch(h){console.error("Error parsing WebSocket message:",h)}}}function r(c,d){return n.has(c)||n.set(c,[]),n.get(c).push(d),()=>{const a=n.get(c);if(a){const h=a.indexOf(d);h>-1&&a.splice(h,1)}}}function i(c){e.value&&t.value?e.value.send(JSON.stringify(c)):console.warn("Cannot send message: WebSocket not connected")}function l(){s.value&&(clearTimeout(s.value),s.value=null),e.value&&(e.value.close(),e.value=null),t.value=!1}return rs(()=>{o()}),Is(()=>{l()}),{connected:t,on:r,send:i,disconnect:l,reconnect:o}}function Sc(){const e=Ms({projects:[],activeProject:null,activeStep:null,logs:[],isPanelOpen:!0,executingProject:null,isLoading:!0,activeTab:"pipeline",docs:{groups:[]},selectedDocFile:null,docContent:"",docLoading:!1});function t(y){return e.projects.find(_=>_.path===y)||null}function s(y){var M,T;const _=typeof y=="string"?t(y):y;_&&(e.activeProject=_,e.activeStep=null,e.logs=[],e.selectedDocFile=null,e.docContent="",(T=(M=_.state)==null?void 0:M.progress)!=null&&T.currentLogs&&o(_.state.progress.currentLogs))}function n(y){e.activeStep=y}function o(y){const _=Array.isArray(y)?y:[y];for(const M of _){const T=new Date().toISOString();e.logs.push({id:`${T}-${Math.random().toString(36).substr(2,9)}`,timestamp:T,content:M,type:"info"})}e.logs.length>500&&(e.logs=e.logs.slice(-500))}function r(){e.logs=[]}function i(){e.isPanelOpen=!e.isPanelOpen}function l(){e.isPanelOpen=!0}function c(){e.isPanelOpen=!1}function d(y){if(e.isLoading=!1,e.projects=y,e.activeProject){const _=t(e.activeProject.path);_&&(e.activeProject=_)}}function a(y){e.executingProject=y}function h(y){return e.executingProject===y}const b=ue(()=>{var y;return((y=e.activeProject)==null?void 0:y.name)||null}),S=ue(()=>{var y;return((y=e.activeProject)==null?void 0:y.path)||null}),v=ue(()=>{var y,_;return((_=(y=e.activeProject)==null?void 0:y.state)==null?void 0:_.currentStage)||null}),f=ue(()=>e.projects.length>0),m=ue(()=>{var M,T,I;if(!((I=(T=(M=e.activeProject)==null?void 0:M.state)==null?void 0:T.progress)!=null&&I.stages))return[];const y=e.activeProject.state.currentStage,_=e.activeProject.state.progress.stages[y];return(_==null?void 0:_.steps)||[]});return{state:e,getProject:t,selectProject:s,selectStep:n,appendLog:o,clearLogs:r,togglePanel:i,openPanel:l,closePanel:c,updateProjects:d,setExecuting:a,isExecuting:h,activeProjectName:b,activeProjectPath:S,activeProjectStage:v,hasProjects:f,activeProjectSteps:m,setActiveTab(y){e.activeTab=y},updateDocs(y){e.docs=y},selectDocFile(y){e.selectedDocFile=y},setDocContent(y){e.docContent=y},setDocLoading(y){e.docLoading=y}}}function wc(e={}){const{onCmdK:t=null,onJ:s=null,onK:n=null,onEscape:o=null,onEnter:r=null,onArrowUp:i=null,onArrowDown:l=null,disabled:c=!1}=e;function d(a){if(c)return;const h=a.target;if(h.tagName==="INPUT"||h.tagName==="TEXTAREA"||h.contentEditable==="true")return;const S=navigator.platform.toUpperCase().indexOf("MAC")>=0?a.metaKey:a.ctrlKey;S&&a.key==="k"&&(a.preventDefault(),t&&t()),a.key==="j"&&!S&&(a.preventDefault(),s&&s()),a.key==="k"&&!S&&(a.preventDefault(),n&&n()),a.key==="Escape"&&(a.preventDefault(),o&&o()),a.key==="Enter"&&!S&&(a.preventDefault(),r&&r()),a.key==="ArrowUp"&&!S&&(a.preventDefault(),i&&i()),a.key==="ArrowDown"&&!S&&(a.preventDefault(),l&&l())}return rs(()=>{window.addEventListener("keydown",d)}),Is(()=>{window.removeEventListener("keydown",d)}),{disable:()=>{c=!0},enable:()=>{c=!1}}}function kc(e={}){const{onOpenCommandPalette:t,onNavigateDown:s,onNavigateUp:n,onClose:o,onSelect:r,onPanelToggle:i}=e;return wc({onCmdK:t,onJ:s,onK:n,onEscape:o,onEnter:r})}const jt={__name:"StageBadge",props:{status:{type:String,default:"pending"},label:{type:String,default:""},size:{type:String,default:"md"}},setup(e){const t=e,s=ue(()=>t.label?t.label:{completed:"done","in-progress":"running",blocked:"blocked",failed:"error",pending:"idle"}[t.status]||"idle"),n=ue(()=>t.size==="sm"?"px-1.5 py-0.5":"px-2 py-1"),o=ue(()=>{const l={completed:{background:"rgba(52,211,153,0.1)",color:"#34D399"},"in-progress":{background:"rgba(251,191,36,0.1)",color:"#FBBF24"},blocked:{background:"rgba(251,146,60,0.1)",color:"#FB923C"},failed:{background:"rgba(239,68,68,0.1)",color:"#EF4444"},pending:{background:"rgba(82,82,82,0.15)",color:"#525252"}};return l[t.status]||l.pending}),r=ue(()=>t.status==="in-progress"?"animate-pulse-dot":""),i=ue(()=>({background:{completed:"#34D399","in-progress":"#FBBF24",blocked:"#FB923C",failed:"#EF4444",pending:"#525252"}[t.status]||"#525252"}));return(l,c)=>(A(),F("span",{class:$e(["inline-flex items-center gap-1.5 rounded-sm text-[10px] font-medium font-[JetBrains_Mono,monospace] uppercase tracking-wider transition-colors duration-150",n.value]),style:le(o.value)},[g("span",{class:$e(["w-1 h-1 rounded-full",r.value]),style:le(i.value)},null,6),g("span",null,U(s.value),1)],6))}},On=(e,t)=>{const s=e.__vccOpts||e;for(const[n,o]of t)s[n]=o;return s},Cc={class:"h-full flex flex-col noise-bg"},Ac={class:"relative z-10 px-5 pt-5 pb-4"},Ec={class:"flex items-center gap-3"},Fc={key:0,class:"mt-3 rounded-md p-3",style:{background:"#141416",border:"1px solid #1F1F22"}},$c={key:0,class:"text-[10px] py-1",style:{color:"#3A3A3D"}},Tc={key:1,class:"space-y-1 mb-2"},Bc={class:"flex-1 truncate font-mono-log",style:{color:"#8B8B8E"}},Pc=["onClick"],Mc={key:2,class:"flex items-center gap-2"},jc={class:"flex-1 overflow-y-auto py-3 relative z-10"},Dc={key:0,class:"px-4 space-y-2"},Oc={key:1,class:"px-4 py-12 text-center"},Lc={class:"w-10 h-10 mx-auto mb-3 rounded-full flex items-center justify-center",style:{border:"1px dashed #2A2A2D"}},Ic={class:"w-4 h-4",style:{color:"#525252"},fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},Nc={key:2,class:"px-3 space-y-0.5"},Rc=["onMouseenter","onMouseleave","onClick"],Hc={class:"px-3 py-2.5"},Vc={class:"flex items-center justify-between gap-2"},Kc={class:"flex-1 min-w-0"},Uc={class:"text-[10px] mt-0.5 truncate font-mono-log",style:{color:"#525252"}},Jc={key:0,class:"mt-2 h-[2px] rounded-full overflow-hidden",style:{background:"#1C1C1F"}},Wc={class:"relative z-10 px-4 py-2.5",style:{"border-top":"1px solid #1F1F22"}},zc={class:"flex items-center justify-between"},qc={class:"text-[10px] font-[JetBrains_Mono,monospace]",style:{color:"#525252"}},Gc={__name:"ProjectList",props:{projects:{type:Array,default:()=>[]},activeProject:{type:Object,default:null},isLoading:{type:Boolean,default:!1},scanPaths:{type:Array,default:()=>[]}},emits:["select","scan:add-path","scan:remove-path"],setup(e,{emit:t}){const s=e,n=t,o=ye(!1),r=ye(!1),i=ye(""),l=ye(null);at(r,v=>{v&&Ds(()=>{var f;(f=l.value)==null||f.focus()})});function c(v){var f;return((f=s.activeProject)==null?void 0:f.path)===v.path}function d(v){var _,M,T,I;const f=(_=v.state)==null?void 0:_.currentStage;if(!f)return"pending";const m=(I=(T=(M=v.state)==null?void 0:M.progress)==null?void 0:T.stages)==null?void 0:I[f];if(!m)return"pending";const y=m.steps||[];return y.length===0?"pending":y.some(O=>O.status==="failed")?"failed":y.some(O=>O.status==="blocked")?"blocked":y.some(O=>O.status==="in-progress")?"in-progress":y.every(O=>O.status==="completed")?"completed":"pending"}function a(v){var y;const f=(y=v.state)==null?void 0:y.currentStage;return{brainstorm:"头脑风暴",plan:"规划",execute:"执行",verify:"验证"}[f]||f||"未知"}function h(v){var T;const f=(T=v.state)==null?void 0:T.progress;if(!f)return 0;const m=f.stages||{},y=["brainstorm","plan","execute","verify"];let _=0,M=0;for(const I of y){const O=m[I];O!=null&&O.steps&&(_+=O.steps.length,M+=O.steps.filter(q=>q.status==="completed").length)}return _===0?0:Math.round(M/_*100)}function b(){const v=i.value.trim();v&&(n("scan:add-path",v),i.value="",r.value=!1)}function S(v){n("scan:remove-path",v)}return(v,f)=>(A(),F("div",Cc,[g("div",Ac,[g("div",Ec,[f[5]||(f[5]=Bl('<div class="w-8 h-8 rounded-md flex items-center justify-center" style="background:linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);clip-path:polygon(0 0, 100% 0, 85% 100%, 15% 100%);" data-v-ce467cd5><span class="text-[10px] font-bold text-black font-[JetBrains_Mono,monospace]" data-v-ce467cd5>S</span></div><div class="flex-1" data-v-ce467cd5><h1 class="text-[13px] font-semibold tracking-tight font-[JetBrains_Mono,monospace]" style="color:#E4E4E7;" data-v-ce467cd5> SillySpec </h1><p class="text-[10px] tracking-widest uppercase" style="color:#525252;" data-v-ce467cd5>控制台</p></div>',2)),g("button",{onClick:f[0]||(f[0]=m=>o.value=!o.value),class:"p-1.5 rounded-sm transition-colors duration-100",style:le({color:o.value?"#FBBF24":"#525252",background:o.value?"rgba(251,191,36,0.08)":"transparent"}),title:"扫描路径设置"},[...f[4]||(f[4]=[g("svg",{class:"w-3.5 h-3.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.066 2.573c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.573 1.066c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.066-2.573c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z"}),g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"})],-1)])],4)]),Y(mn,{name:"slide"},{default:Ss(()=>[o.value?(A(),F("div",Fc,[f[6]||(f[6]=g("div",{class:"text-[10px] font-semibold uppercase tracking-[0.15em] mb-2 font-[JetBrains_Mono,monospace]",style:{color:"#525252"}},"扫描路径",-1)),e.scanPaths.length===0?(A(),F("div",$c,"暂无自定义路径")):(A(),F("div",Tc,[(A(!0),F(pe,null,qe(e.scanPaths,(m,y)=>(A(),F("div",{key:y,class:"flex items-center gap-2 text-[10px] group"},[g("span",Bc,U(m),1),g("button",{onClick:_=>S(m),class:"opacity-0 group-hover:opacity-100 transition-opacity text-[9px] px-1 rounded-sm",style:{color:"#EF4444",background:"rgba(239,68,68,0.08)"}},"✕",8,Pc)]))),128))])),r.value?(A(),F("div",Mc,[Tn(g("input",{ref_key:"pathInput",ref:l,"onUpdate:modelValue":f[1]||(f[1]=m=>i.value=m),type:"text",placeholder:"输入目录路径...",class:"flex-1 px-2 py-1 rounded-sm text-[10px] font-mono-log outline-none",style:{background:"#0A0A0B",border:"1px solid #2A2A2D",color:"#E4E4E7"},onKeydown:[$o(b,["enter"]),f[2]||(f[2]=$o(m=>r.value=!1,["escape"]))]},null,544),[[Dn,i.value]]),g("button",{onClick:b,class:"px-2 py-1 text-[10px] rounded-sm",style:{background:"rgba(251,191,36,0.1)",color:"#FBBF24",border:"1px solid rgba(251,191,36,0.2)"}},"添加")])):(A(),F("button",{key:3,onClick:f[3]||(f[3]=m=>r.value=!0),class:"text-[10px] px-2 py-1 rounded-sm transition-colors duration-100",style:{color:"#525252",border:"1px dashed #2A2A2D"}}," + 添加目录 "))])):J("",!0)]),_:1})]),f[13]||(f[13]=g("div",{class:"mx-4 h-px",style:{background:"linear-gradient(90deg, transparent, #2A2A2D, transparent)"}},null,-1)),g("div",jc,[e.isLoading?(A(),F("div",Dc,[(A(),F(pe,null,qe(4,m=>g("div",{key:m,class:"rounded-lg p-3",style:{background:"#141416"}},[...f[7]||(f[7]=[g("div",{class:"h-3 rounded w-20 skeleton-shimmer mb-2"},null,-1),g("div",{class:"h-2 rounded w-32 skeleton-shimmer"},null,-1)])])),64)),f[8]||(f[8]=g("p",{class:"text-center text-[10px] mt-4 font-[JetBrains_Mono,monospace]",style:{color:"#525252"}}," 正在扫描项目... ",-1))])):e.projects.length===0?(A(),F("div",Oc,[g("div",Lc,[(A(),F("svg",Ic,[...f[9]||(f[9]=[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"},null,-1)])]))]),f[10]||(f[10]=g("p",{class:"text-[11px]",style:{color:"#8B8B8E"}},"未发现 SillySpec 项目",-1)),f[11]||(f[11]=g("p",{class:"text-[10px] mt-1",style:{color:"#525252"}},"正在扫描项目目录...",-1))])):(A(),F("div",Nc,[(A(!0),F(pe,null,qe(e.projects,m=>{var y,_;return A(),F("div",{key:m.path,class:$e(["relative rounded-md cursor-pointer transition-all duration-150 overflow-hidden group"]),style:le({background:c(m)?"rgba(251,191,36,0.06)":"transparent",borderLeft:c(m)?"2px solid #FBBF24":"2px solid transparent"}),onMouseenter:M=>M.currentTarget.style.background=c(m)?"rgba(251,191,36,0.08)":"rgba(255,255,255,0.02)",onMouseleave:M=>M.currentTarget.style.background=c(m)?"rgba(251,191,36,0.06)":"transparent",onClick:M=>v.$emit("select",m)},[g("div",Hc,[g("div",Vc,[g("div",Kc,[g("h3",{class:$e(["text-[12px] font-medium truncate transition-colors duration-150 font-[JetBrains_Mono,monospace]"]),style:le({color:c(m)?"#FBBF24":"#E4E4E7"})},U(m.name),5),g("p",Uc,U(m.path),1)]),(y=m.state)!=null&&y.currentStage?(A(),Ct(jt,{key:0,status:d(m),label:a(m),size:"sm"},null,8,["status","label"])):J("",!0)]),(_=m.state)!=null&&_.progress?(A(),F("div",Jc,[g("div",{class:"h-full rounded-full transition-all duration-500 progress-gradient",style:le({width:h(m)+"%"})},null,4)])):J("",!0)])],44,Rc)}),128))]))]),g("div",Wc,[g("div",zc,[g("span",qc,U(e.projects.length)+" 个项目",1),f[12]||(f[12]=g("kbd",{class:"text-[9px] px-1.5 py-0.5 rounded font-mono-log",style:{color:"#525252",background:"#141416",border:"1px solid #2A2A2D"}},"⌘K",-1))])])]))}},Yc=On(Gc,[["__scopeId","data-v-ce467cd5"]]),Qc={class:"pl-3.5 pr-3 py-2.5"},Xc={class:"flex items-center gap-2"},Zc={class:"mt-1.5 text-[11px] line-clamp-2",style:{color:"#8B8B8E"}},ea={key:1,class:"mt-2 space-y-1"},ta={key:0,class:"text-[11px]",style:{color:"#E4E4E7"}},sa={key:1,class:"text-[11px]",style:{color:"#E4E4E7"}},na={key:2,class:"text-[11px] italic",style:{color:"#8B8B8E"}},oa={key:2,class:"mt-1 text-[10px] font-mono-log",style:{color:"#525252"}},ra={__name:"StepCard",props:{step:{type:Object,required:!0},isActive:{type:Boolean,default:!1},isClickable:{type:Boolean,default:!0}},emits:["select"],setup(e,{emit:t}){const s=e,n=t,o=ye(!1),r=ue(()=>{const d={completed:"#34D399","in-progress":"#FBBF24",blocked:"#FB923C",failed:"#EF4444",pending:"#2A2A2D"};return d[s.step.status]||d.pending}),i=ue(()=>({background:s.isActive?"rgba(251,191,36,0.04)":o.value?"rgba(255,255,255,0.015)":"#141416",border:`1px solid ${s.isActive?"rgba(251,191,36,0.2)":"#1F1F22"}`})),l=ue(()=>({completed:"完成","in-progress":"进行中",blocked:"阻塞",failed:"失败",pending:"待办"})[s.step.status]||"待办");function c(){s.isClickable&&n("select",s.step)}return(d,a)=>(A(),F("div",{class:$e(["group relative rounded-md cursor-pointer overflow-hidden transition-all duration-200"]),style:le(i.value),onMouseenter:a[0]||(a[0]=h=>o.value=!0),onMouseleave:a[1]||(a[1]=h=>o.value=!1),onClick:c},[g("div",{class:"absolute left-0 top-0 bottom-0 w-[2px]",style:le({background:r.value})},null,4),g("div",Qc,[g("div",Xc,[g("h3",{class:"text-[12px] font-medium transition-colors duration-150",style:le({color:e.isActive?"#FBBF24":"#E4E4E7",fontFamily:"'JetBrains Mono', monospace"})},U(e.step.title||e.step.name),5),e.step.status?(A(),Ct(jt,{key:0,status:e.step.status,label:l.value},null,8,["status","label"])):J("",!0)]),e.step.summary||e.step.description?(A(),F("div",{key:0,class:"overflow-hidden transition-all duration-200",style:le({maxHeight:o.value?"60px":"0",opacity:o.value?1:0})},[g("p",Zc,U(e.step.summary||e.step.description),1)],4)):J("",!0),e.isActive?(A(),F("div",ea,[e.step.conclusion?(A(),F("p",ta,[a[2]||(a[2]=g("span",{style:{color:"#FBBF24","font-weight":"600"}},"结论:",-1)),ut(" "+U(e.step.conclusion),1)])):J("",!0),e.step.decision?(A(),F("p",sa,[a[3]||(a[3]=g("span",{style:{color:"#FBBF24","font-weight":"600"}},"决策:",-1)),ut(" "+U(e.step.decision),1)])):J("",!0),e.step.userQuery?(A(),F("p",na,' "'+U(e.step.userQuery)+'" ',1)):J("",!0)])):J("",!0),e.step.duration?(A(),F("div",oa,U(e.step.duration),1)):J("",!0)])],36))}},ia=On(ra,[["__scopeId","data-v-20b76823"]]),la={class:"relative"},ca={class:"flex items-start gap-3"},aa={class:"flex flex-col items-center flex-shrink-0 pt-1.5"},ua={class:"flex-1 min-w-0 -mt-0.5"},fa={class:"flex items-center gap-2.5 mb-3"},da={class:"space-y-1"},pa={key:0,class:"text-[11px] italic py-1",style:{color:"#525252"}},ps={__name:"PipelineStage",props:{name:{type:String,required:!0},title:{type:String,required:!0},steps:{type:Array,default:()=>[]},status:{type:String,default:"pending"},isActive:{type:Boolean,default:!1},activeStep:{type:Object,default:null}},emits:["select-step"],setup(e,{emit:t}){const s=e,n=ue(()=>{if(s.isActive)return{background:"#FBBF24",boxShadow:"0 0 8px rgba(251,191,36,0.4)"};const r={completed:"#34D399","in-progress":"#FBBF24",blocked:"#FB923C",failed:"#EF4444",pending:"#2A2A2D"};return{background:r[s.status]||r.pending}});function o(r){var i,l;return((i=s.activeStep)==null?void 0:i.id)===r.id||((l=s.activeStep)==null?void 0:l.name)===r.name}return(r,i)=>(A(),F("div",la,[g("div",ca,[g("div",aa,[g("div",{class:$e(["w-2 h-2 transition-colors duration-200",{"animate-pulse-dot":e.isActive||e.status==="in-progress"}]),style:le(n.value)},null,6)]),g("div",ua,[g("div",fa,[g("span",{class:"text-[12px] font-semibold font-[JetBrains_Mono,monospace] tracking-tight",style:le({color:e.isActive?"#FBBF24":"#E4E4E7"})},U(e.title),5),Y(jt,{status:e.status},null,8,["status"])]),g("div",da,[e.steps.length===0?(A(),F("div",pa," No steps yet ")):J("",!0),(A(!0),F(pe,null,qe(e.steps,l=>(A(),Ct(ia,{key:l.id||l.name,step:l,"is-active":o(l),onSelect:i[0]||(i[0]=c=>r.$emit("select-step",c))},null,8,["step","is-active"]))),128))])])])]))}},ha={class:"flex flex-col h-full"},ga={key:0,class:"flex items-center justify-center h-full"},ma={key:1,class:"overflow-y-auto px-4 py-3 space-y-4"},ya={class:"text-[10px] font-semibold uppercase tracking-[0.15em] font-[JetBrains_Mono,monospace] mb-2",style:{color:"#525252"}},va={class:"space-y-0.5"},xa=["onClick"],ba={__name:"DocTree",props:{groups:{type:Array,default:()=>[]},selectedFile:{type:Object,default:null}},emits:["select-file"],setup(e){return(t,s)=>(A(),F("div",ha,[e.groups.length===0?(A(),F("div",ga,[...s[0]||(s[0]=[g("p",{class:"text-[12px] font-[JetBrains_Mono,monospace]",style:{color:"#525252"}},"暂无文档",-1)])])):(A(),F("div",ma,[(A(!0),F(pe,null,qe(e.groups,n=>(A(),F("div",{key:n.key},[g("div",ya,U(n.label),1),g("div",va,[(A(!0),F(pe,null,qe(n.files,o=>{var r,i;return A(),F("button",{key:o.path,onClick:l=>t.$emit("select-file",o),class:"w-full text-left px-2.5 py-1.5 rounded text-[12px] font-[JetBrains_Mono,monospace] transition-colors",style:le({color:((r=e.selectedFile)==null?void 0:r.path)===o.path?"#FBBF24":"#8B8B8E",background:((i=e.selectedFile)==null?void 0:i.path)===o.path?"rgba(251,191,36,0.08)":"transparent"})}," 📄 "+U(o.title),13,xa)}),128))])]))),128))]))]))}},_a={class:"h-full overflow-y-auto px-6 py-4"},Sa={key:0,class:"flex items-center justify-center h-full"},wa={key:1,class:"flex items-center justify-center h-full"},ka=["innerHTML"],Ca={__name:"DocPreview",props:{content:{type:String,default:""},loading:{type:Boolean,default:!1}},setup(e){const t=e,s=ue(()=>t.content?n(t.content):"");function n(o){return o.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/^### (.+)$/gm,'<h3 style="color:#FBBF24;font-size:14px;font-weight:600;margin:16px 0 8px;">$1</h3>').replace(/^## (.+)$/gm,'<h2 style="color:#E5E5E5;font-size:15px;font-weight:600;margin:20px 0 10px;">$1</h2>').replace(/^# (.+)$/gm,'<h1 style="color:#FBBF24;font-size:18px;font-weight:700;margin:0 0 16px;">$1</h1>').replace(/```(\w*)\n([\s\S]*?)```/g,'<pre style="background:#0A0A0B;border:1px solid #1F1F22;border-radius:6px;padding:12px;overflow-x:auto;font-size:12px;margin:8px 0;"><code>$2</code></pre>').replace(/`([^`]+)`/g,'<code style="background:#0A0A0B;padding:1px 4px;border-radius:3px;font-size:11px;">$1</code>').replace(/\*\*([^*]+)\*\*/g,'<strong style="color:#E5E5E5;">$1</strong>').replace(/\[([^\]]+)\]\(([^)]+)\)/g,'<a href="$2" style="color:#FBBF24;">$1</a>').replace(/^- \[x\] (.+)$/gm,'<div style="color:#34D399;">☑ $1</div>').replace(/^- \[ \] (.+)$/gm,'<div style="color:#8B8B8E;">☐ $1</div>').replace(/^- (.+)$/gm,'<div style="padding-left:12px;color:#8B8B8E;">• $1</div>').replace(/\n\n/g,"<br/><br/>").replace(/\n/g,"<br/>")}return(o,r)=>(A(),F("div",_a,[!e.content&&!e.loading?(A(),F("div",Sa,[...r[0]||(r[0]=[g("p",{class:"text-[12px] font-[JetBrains_Mono,monospace]",style:{color:"#525252"}},"选择一个文档查看内容",-1)])])):e.loading?(A(),F("div",wa,[...r[1]||(r[1]=[g("p",{class:"text-[12px] font-[JetBrains_Mono,monospace]",style:{color:"#525252"}},"加载中...",-1)])])):(A(),F("div",{key:2,class:"doc-preview",innerHTML:s.value},null,8,ka))]))}},Aa={class:"flex flex-col h-full",style:{background:"#0E0E10"}},Ea={class:"px-6 pt-4 pb-0",style:{"border-bottom":"1px solid #1F1F22"}},Fa={class:"flex items-center gap-6"},$a={class:"text-[11px] font-semibold uppercase tracking-[0.2em] font-[JetBrains_Mono,monospace]",style:{color:"#525252"}},Ta={class:"flex gap-1"},Ba={key:0,class:"flex flex-col flex-1 overflow-hidden"},Pa={class:"px-6 pt-4 pb-2"},Ma={key:0,class:"text-[12px] font-[JetBrains_Mono,monospace]",style:{color:"#8B8B8E"}},ja={style:{color:"#FBBF24"}},Da={key:0,class:"flex items-center justify-center flex-1"},Oa={class:"text-center"},La={class:"w-14 h-14 mx-auto mb-4 rounded-md flex items-center justify-center",style:{border:"1px dashed #2A2A2D",transform:"rotate(45deg)"}},Ia={class:"w-5 h-5",style:{color:"#525252",transform:"rotate(-45deg)"},fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},Na={key:1,class:"flex-1 overflow-y-auto px-6 pb-5 space-y-5"},Ra={key:0,class:"flex items-center pl-[3px]"},Ha={key:1,class:"flex items-center pl-[3px]"},Va={key:2,class:"flex items-center pl-[3px]"},Ka={key:2,style:{"border-top":"1px solid #1F1F22",background:"rgba(10,10,11,0.6)"}},Ua={class:"px-6 py-2.5 flex items-center justify-between"},Ja={class:"text-[10px] font-mono-log",style:{color:"#3A3A3D"}},Wa={class:"px-6 pb-3 space-y-0.5 max-h-32 overflow-y-auto"},za={class:"w-10 font-mono-log flex-shrink-0",style:{color:"#3A3A3D"}},qa={style:{color:"#8B8B8E"}},Ga={key:0,class:"text-[10px] py-1",style:{color:"#3A3A3D"}},Ya={key:1,class:"flex-1 flex overflow-hidden"},Qa={class:"w-[200px] flex-shrink-0 overflow-hidden",style:{"border-right":"1px solid #1F1F22"}},Xa={class:"flex-1 overflow-hidden"},Za={__name:"PipelineView",props:{project:{type:Object,default:null},activeStep:{type:Object,default:null},activeTab:{type:String,default:"pipeline"},docs:{type:Object,default:()=>({groups:[]})},selectedDocFile:{type:Object,default:null},docContent:{type:String,default:""},docLoading:{type:Boolean,default:!1}},emits:["select-step","switch-tab","select-doc-file"],setup(e,{emit:t}){const s=e,n=t,o=ue(()=>{var v,f;return((f=(v=s.project)==null?void 0:v.state)==null?void 0:f.currentStage)||"unknown"}),r=ue(()=>{var v,f;return((f=(v=s.project)==null?void 0:v.state)==null?void 0:f.progress)||{}}),i=ue(()=>r.value.stages||{}),l={brainstorm:"头脑风暴",plan:"规划",execute:"执行",verify:"验证"},c=ue(()=>{var f;if(!((f=s.project)!=null&&f.state))return[];const v=[];for(const[m,y]of Object.entries(r.value.stages||{})){const _=l[m]||m;y.status==="completed"?v.push({time:y.completedAt?d(y.completedAt):"--:--",status:"completed",description:`${_} 已完成`}):y.status==="in-progress"&&v.push({time:"--:--",status:"in-progress",description:`${_} 运行中`})}return v.reverse()});function d(v){try{const f=new Date(v);return`${String(f.getHours()).padStart(2,"0")}:${String(f.getMinutes()).padStart(2,"0")}`}catch{return"--:--"}}function a(v){return!!i.value[v]}function h(v){var f;return((f=i.value[v])==null?void 0:f.steps)||[]}function b(v){const f=i.value[v];if(!f)return"pending";const m=f.steps||[];return m.some(y=>y.status==="failed")?"failed":m.some(y=>y.status==="blocked")?"blocked":m.some(y=>y.status==="in-progress")?"in-progress":m.every(y=>y.status==="completed")?"completed":"pending"}function S(v){n("select-step",v)}return(v,f)=>{var m,y,_;return A(),F("div",Aa,[g("div",Ea,[g("div",Fa,[g("h2",$a,U(((m=e.project)==null?void 0:m.name)||"项目"),1),g("div",Ta,[g("button",{onClick:f[0]||(f[0]=M=>v.$emit("switch-tab","pipeline")),class:"px-3 py-1.5 text-[11px] font-[JetBrains_Mono,monospace] transition-colors rounded",style:le({color:e.activeTab==="pipeline"?"#FBBF24":"#525252",background:e.activeTab==="pipeline"?"rgba(251,191,36,0.08)":"transparent"})},"流水线",4),g("button",{onClick:f[1]||(f[1]=M=>v.$emit("switch-tab","docs")),class:"px-3 py-1.5 text-[11px] font-[JetBrains_Mono,monospace] transition-colors rounded",style:le({color:e.activeTab==="docs"?"#FBBF24":"#525252",background:e.activeTab==="docs"?"rgba(251,191,36,0.08)":"transparent"})},"文档",4)])])]),e.activeTab==="pipeline"?(A(),F("div",Ba,[g("div",Pa,[e.project?(A(),F("p",Ma,[g("span",ja,U(o.value),1)])):J("",!0)]),!e.project||!e.project.state?(A(),F("div",Da,[g("div",Oa,[g("div",La,[(A(),F("svg",Ia,[...f[3]||(f[3]=[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10"},null,-1)])]))]),f[4]||(f[4]=g("p",{class:"text-[12px] font-[JetBrains_Mono,monospace]",style:{color:"#525252"}},"选择一个项目查看流水线",-1))])])):(A(),F("div",Na,[Y(ps,{name:"brainstorm",title:"头脑风暴",steps:h("brainstorm"),status:b("brainstorm"),"is-active":o.value==="brainstorm","active-step":e.activeStep,onSelectStep:S},null,8,["steps","status","is-active","active-step"]),a("plan")?(A(),F("div",Ra,[...f[5]||(f[5]=[g("div",{class:"w-px h-4",style:{background:"#1F1F22"}},null,-1)])])):J("",!0),Y(ps,{name:"plan",title:"规划",steps:h("plan"),status:b("plan"),"is-active":o.value==="plan","active-step":e.activeStep,onSelectStep:S},null,8,["steps","status","is-active","active-step"]),a("execute")?(A(),F("div",Ha,[...f[6]||(f[6]=[g("div",{class:"w-px h-4",style:{background:"#1F1F22"}},null,-1)])])):J("",!0),Y(ps,{name:"execute",title:"执行",steps:h("execute"),status:b("execute"),"is-active":o.value==="execute","active-step":e.activeStep,onSelectStep:S},null,8,["steps","status","is-active","active-step"]),a("verify")?(A(),F("div",Va,[...f[7]||(f[7]=[g("div",{class:"w-px h-4",style:{background:"#1F1F22"}},null,-1)])])):J("",!0),Y(ps,{name:"verify",title:"验证",steps:h("verify"),status:b("verify"),"is-active":o.value==="verify","active-step":e.activeStep,onSelectStep:S},null,8,["steps","status","is-active","active-step"])])),(_=(y=e.project)==null?void 0:y.state)!=null&&_.progress?(A(),F("div",Ka,[g("div",Ua,[f[8]||(f[8]=g("div",{class:"text-[9px] font-semibold uppercase tracking-[0.25em] font-[JetBrains_Mono,monospace]",style:{color:"#525252"}},"活动日志",-1)),g("div",Ja,U(c.value.length),1)]),g("div",Wa,[(A(!0),F(pe,null,qe(c.value,(M,T)=>(A(),F("div",{key:T,class:"flex items-start gap-2.5 text-[11px] py-0.5"},[g("span",za,U(M.time),1),g("span",{style:le({color:M.status==="completed"?"#34D399":"#FBBF24"})},"›",4),g("span",qa,U(M.description),1)]))),128)),c.value.length===0?(A(),F("div",Ga,"暂无活动记录")):J("",!0)])])):J("",!0)])):J("",!0),e.activeTab==="docs"?(A(),F("div",Ya,[g("div",Qa,[Y(ba,{groups:e.docs.groups,"selected-file":e.selectedDocFile,onSelectFile:f[2]||(f[2]=M=>v.$emit("select-doc-file",M))},null,8,["groups","selected-file"])]),g("div",Xa,[Y(Ca,{content:e.docContent,loading:e.docLoading},null,8,["content","loading"])])])):J("",!0)])}}},eu={class:"flex flex-col h-full",style:{background:"#0E0E10"}},tu={class:"px-3 py-2 flex items-center gap-2",style:{"border-bottom":"1px solid #1F1F22"}},su={key:0,class:"flex items-center justify-center h-full"},nu={class:"font-mono-log",style:{color:"#2A2A2D"}},ou={key:1,class:"space-y-px"},ru={style:{color:"#3A3A3D"},class:"select-none"},iu={class:"px-3 py-1 flex items-center justify-between text-[9px] font-mono-log",style:{"border-top":"1px solid #1F1F22",background:"#0E0E10",color:"#3A3A3D"}},lu={key:0,style:{color:"#FB923C"}},cu={__name:"LogStream",props:{logs:{type:Array,default:()=>[]}},emits:["clear"],setup(e,{emit:t}){const s=e,n=t,o=ye(""),r=ye(!0),i=ye(null),l=ue(()=>{if(!o.value)return s.logs;const m=o.value.toLowerCase();return s.logs.filter(y=>y.content.toLowerCase().includes(m))});function c(m){return m?new Date(m).toLocaleTimeString("zh-CN",{hour12:!1}):""}function d(m){return m?m.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"):""}function a(m){return m==="error"?"rgba(239,68,68,0.05)":m==="warn"?"rgba(251,146,60,0.05)":"transparent"}function h(m){return m==="error"?"#EF4444":m==="warn"?"#FB923C":m==="debug"?"#525252":"#8B8B8E"}function b(){n("clear")}function S(){r.value=!r.value,r.value&&f()}function v(){if(!i.value)return;const{scrollTop:m,scrollHeight:y,clientHeight:_}=i.value,M=y-m-_<50;!M&&r.value?r.value=!1:M&&!r.value&&(r.value=!0)}function f(){Ds(()=>{i.value&&r.value&&(i.value.scrollTop=i.value.scrollHeight)})}return at(()=>s.logs.length,()=>{f()},{flush:"post"}),at(i,()=>{f()},{once:!0}),(m,y)=>(A(),F("div",eu,[g("div",tu,[Tn(g("input",{"onUpdate:modelValue":y[0]||(y[0]=_=>o.value=_),type:"text",placeholder:"过滤日志...",class:"flex-1 px-2 py-1 rounded-sm text-[10px] font-mono-log outline-none transition-colors duration-100",style:{background:"#141416",border:"1px solid #1F1F22",color:"#8B8B8E"}},null,512),[[Dn,o.value]]),g("button",{onClick:b,class:"px-2 py-1 text-[10px] rounded-sm transition-colors duration-100",style:{color:"#525252",border:"1px solid #1F1F22"}}," 清空 "),g("button",{onClick:S,class:"px-2 py-1 text-[10px] rounded-sm font-mono-log transition-colors duration-100",style:le({color:r.value?"#FBBF24":"#525252",background:r.value?"rgba(251,191,36,0.08)":"transparent",border:r.value?"1px solid rgba(251,191,36,0.2)":"1px solid #1F1F22"})},U(r.value?"自动":"暂停"),5)]),g("div",{ref_key:"logContainer",ref:i,class:"flex-1 overflow-y-auto px-2 py-1.5 font-mono-log text-[10px]",style:{background:"#0A0A0B"},onScroll:v},[l.value.length===0?(A(),F("div",su,[g("span",nu,U(e.logs.length===0?"暂无日志":"无匹配"),1)])):(A(),F("div",ou,[(A(!0),F(pe,null,qe(l.value,_=>(A(),F("div",{key:_.id,class:"px-1.5 py-px rounded-sm",style:le({background:a(_.type)})},[g("span",ru,"["+U(c(_.timestamp))+"]",1),g("span",{style:le({color:h(_.type)})},U(d(_.content)),5)],4))),128))]))],544),g("div",iu,[g("span",null,U(l.value.length)+"/"+U(e.logs.length),1),r.value?J("",!0):(A(),F("span",lu,"已暂停"))])]))}},au={class:"px-4 py-3 flex items-center justify-between flex-shrink-0",style:{"border-bottom":"1px solid #1F1F22"}},uu={class:"flex-1 overflow-y-auto"},fu={key:0,class:"flex items-center justify-center h-full"},du={class:"text-center"},pu={class:"w-10 h-10 mx-auto mb-3 rounded-md flex items-center justify-center",style:{border:"1px dashed #2A2A2D",transform:"rotate(45deg)"}},hu={class:"w-4 h-4",style:{color:"#3A3A3D",transform:"rotate(-45deg)"},fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},gu={key:1},mu={class:"px-4 py-3",style:{"border-bottom":"1px solid #1F1F22"}},yu={class:"text-[13px] font-semibold font-[JetBrains_Mono,monospace]",style:{color:"#FBBF24"}},vu={key:0,class:"mt-2"},xu={key:0,class:"px-4 py-3",style:{"border-bottom":"1px solid #1F1F22"}},bu={class:"text-[11px] leading-relaxed",style:{color:"#8B8B8E"}},_u={key:1,class:"px-4 py-3",style:{"border-bottom":"1px solid #1F1F22"}},Su={class:"text-[11px] leading-relaxed",style:{color:"#E4E4E7"}},wu={key:2,class:"px-4 py-3",style:{"border-bottom":"1px solid #1F1F22"}},ku={class:"text-[11px] leading-relaxed",style:{color:"#E4E4E7"}},Cu={key:3,class:"px-4 py-3",style:{"border-bottom":"1px solid #1F1F22"}},Au={class:"px-3 py-2 rounded-md",style:{background:"#0E0E10",border:"1px solid #1F1F22"}},Eu={class:"text-[11px] italic",style:{color:"#8B8B8E"}},Fu={key:4,class:"px-4 py-3",style:{"border-bottom":"1px solid #1F1F22"}},$u={class:"space-y-1 text-[11px]",style:{color:"#525252"}},Tu={key:0},Bu={key:1},Pu={key:5,class:"px-4 py-3",style:{"border-bottom":"1px solid #1F1F22"}},Mu={key:0,class:"px-3 py-2 rounded-md max-h-40 overflow-y-auto",style:{background:"#0E0E10",border:"1px solid #1F1F22"}},ju={class:"text-[10px] whitespace-pre-wrap font-mono-log",style:{color:"#8B8B8E"}},Du={key:1,class:"mt-2 space-y-1"},Ou={class:"truncate"},Lu={class:"flex-shrink-0",style:{height:"200px","border-top":"1px solid #1F1F22"}},Iu={__name:"DetailPanel",props:{isOpen:{type:Boolean,default:!0},activeStep:{type:Object,default:null},logs:{type:Array,default:()=>[]}},emits:["close","clear-logs"],setup(e,{emit:t}){function s(n){return n?new Date(n).toLocaleString("zh-CN",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"}):""}return(n,o)=>(A(),F("div",{class:$e(["flex flex-col transition-all duration-300",e.isOpen?"w-[340px]":"w-0 opacity-0 overflow-hidden"]),style:{background:"#111113"}},[g("div",au,[o[3]||(o[3]=g("h2",{class:"text-[11px] font-semibold uppercase tracking-[0.2em] font-[JetBrains_Mono,monospace]",style:{color:"#525252"}},"详情",-1)),g("button",{onClick:o[0]||(o[0]=r=>n.$emit("close")),class:"p-1 rounded-sm transition-colors duration-100 hover:bg-white/5",style:{color:"#525252"}},[...o[2]||(o[2]=[g("svg",{class:"w-3.5 h-3.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"})],-1)])])]),g("div",uu,[e.activeStep?(A(),F("div",gu,[g("div",mu,[g("h3",yu,U(e.activeStep.title||e.activeStep.name),1),e.activeStep.status?(A(),F("div",vu,[Y(jt,{status:e.activeStep.status},null,8,["status"])])):J("",!0)]),e.activeStep.description||e.activeStep.summary?(A(),F("div",xu,[o[6]||(o[6]=g("h4",{class:"text-[9px] font-semibold uppercase tracking-[0.2em] mb-1.5 font-[JetBrains_Mono,monospace]",style:{color:"#525252"}},"描述",-1)),g("p",bu,U(e.activeStep.description||e.activeStep.summary),1)])):J("",!0),e.activeStep.conclusion?(A(),F("div",_u,[o[7]||(o[7]=g("h4",{class:"text-[9px] font-semibold uppercase tracking-[0.2em] mb-1.5 font-[JetBrains_Mono,monospace]",style:{color:"#525252"}},"结论",-1)),g("p",Su,U(e.activeStep.conclusion),1)])):J("",!0),e.activeStep.decision?(A(),F("div",wu,[o[8]||(o[8]=g("h4",{class:"text-[9px] font-semibold uppercase tracking-[0.2em] mb-1.5 font-[JetBrains_Mono,monospace]",style:{color:"#525252"}},"决策",-1)),g("p",ku,U(e.activeStep.decision),1)])):J("",!0),e.activeStep.userQuery?(A(),F("div",Cu,[o[9]||(o[9]=g("h4",{class:"text-[9px] font-semibold uppercase tracking-[0.2em] mb-1.5 font-[JetBrains_Mono,monospace]",style:{color:"#525252"}},"用户提问",-1)),g("div",Au,[g("p",Eu,'"'+U(e.activeStep.userQuery)+'"',1)])])):J("",!0),e.activeStep.duration||e.activeStep.timestamp?(A(),F("div",Fu,[o[12]||(o[12]=g("h4",{class:"text-[9px] font-semibold uppercase tracking-[0.2em] mb-1.5 font-[JetBrains_Mono,monospace]",style:{color:"#525252"}},"元信息",-1)),g("div",$u,[e.activeStep.duration?(A(),F("div",Tu,[o[10]||(o[10]=g("span",{style:{color:"#8B8B8E"}},"耗时:",-1)),ut(" "+U(e.activeStep.duration),1)])):J("",!0),e.activeStep.timestamp?(A(),F("div",Bu,[o[11]||(o[11]=g("span",{style:{color:"#8B8B8E"}},"时间:",-1)),ut(" "+U(s(e.activeStep.timestamp)),1)])):J("",!0)])])):J("",!0),e.activeStep.output||e.activeStep.files?(A(),F("div",Pu,[o[14]||(o[14]=g("h4",{class:"text-[9px] font-semibold uppercase tracking-[0.2em] mb-1.5 font-[JetBrains_Mono,monospace]",style:{color:"#525252"}},"输出",-1)),e.activeStep.output?(A(),F("div",Mu,[g("pre",ju,U(e.activeStep.output),1)])):J("",!0),e.activeStep.files?(A(),F("div",Du,[(A(!0),F(pe,null,qe(e.activeStep.files,(r,i)=>(A(),F("div",{key:i,class:"flex items-center gap-2 text-[10px]",style:{color:"#525252"}},[o[13]||(o[13]=g("svg",{class:"w-3 h-3 flex-shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"})],-1)),g("span",Ou,U(r),1)]))),128))])):J("",!0)])):J("",!0)])):(A(),F("div",fu,[g("div",du,[g("div",pu,[(A(),F("svg",hu,[...o[4]||(o[4]=[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"},null,-1)])]))]),o[5]||(o[5]=g("p",{class:"text-[11px] font-[JetBrains_Mono,monospace]",style:{color:"#3A3A3D"}},"选择一个步骤",-1))])]))]),g("div",Lu,[Y(cu,{logs:e.logs,onClear:o[1]||(o[1]=r=>n.$emit("clear-logs"))},null,8,["logs"])])],2))}},Nu={class:"h-12 flex items-center justify-between px-5 relative",style:{background:"rgba(17,17,19,0.9)","backdrop-filter":"blur(20px)","border-top":"1px solid #1F1F22"}},Ru={class:"flex items-center gap-3"},Hu={key:0,class:"flex items-center gap-2"},Vu={class:"text-[11px] font-[JetBrains_Mono,monospace]",style:{color:"#525252"}},Ku={key:1,class:"text-[10px] font-[JetBrains_Mono,monospace]",style:{color:"#3A3A3D"}},Uu={class:"flex items-center gap-2"},Ju={key:0,class:"flex items-center gap-2"},Wu={key:1,class:"flex items-center gap-1.5"},zu={class:"flex items-center gap-1"},qu={__name:"ActionBar",props:{project:{type:Object,default:null},isExecuting:{type:Boolean,default:!1},executionResult:{type:Object,default:null},isPanelOpen:{type:Boolean,default:!0}},emits:["execute","kill","toggle-panel","open-palette"],setup(e,{emit:t}){const s=e;function n(){var l,c,d,a;if(!((l=s.project)!=null&&l.state))return"pending";const r=s.project.state.currentStage,i=((a=(d=(c=s.project.state.progress)==null?void 0:c.stages)==null?void 0:d[r])==null?void 0:a.steps)||[];return i.some(h=>h.status==="failed")?"failed":i.some(h=>h.status==="blocked")?"blocked":i.some(h=>h.status==="in-progress")?"in-progress":i.every(h=>h.status==="completed")?"completed":"pending"}function o(){var l,c;const r=(c=(l=s.project)==null?void 0:l.state)==null?void 0:c.currentStage;return{brainstorm:"头脑风暴",plan:"规划",execute:"执行",verify:"验证"}[r]||r||"未知"}return(r,i)=>{var l;return A(),F("div",Nu,[i[11]||(i[11]=g("div",{class:"absolute inset-x-0 top-0 h-px",style:{background:"linear-gradient(90deg, transparent, rgba(251,191,36,0.1), transparent)"}},null,-1)),g("div",Ru,[e.project?(A(),F("div",Hu,[g("span",Vu,U(e.project.name),1),i[7]||(i[7]=g("span",{style:{color:"#1F1F22"}},"|",-1)),(l=e.project.state)!=null&&l.currentStage?(A(),Ct(jt,{key:0,status:n(),label:o()},null,8,["status","label"])):J("",!0)])):(A(),F("div",Ku," 未选择项目 "))]),g("div",Uu,[e.isExecuting?(A(),F("div",Ju,[...i[8]||(i[8]=[g("div",{class:"w-1 h-1 rounded-full animate-pulse-dot",style:{background:"#FBBF24"}},null,-1),g("span",{class:"text-[10px] font-[JetBrains_Mono,monospace]",style:{color:"#FBBF24"}},"执行中...",-1)])])):e.executionResult?(A(),F("div",Wu,[g("span",{class:"text-[10px] font-[JetBrains_Mono,monospace]",style:le({color:e.executionResult.exitCode===0?"#34D399":"#EF4444"})},U(e.executionResult.exitCode===0?"● 完成":`● 失败 (${e.executionResult.exitCode})`),5)])):J("",!0)]),g("div",zu,[g("button",{onClick:i[0]||(i[0]=c=>r.$emit("toggle-panel")),class:"p-1.5 rounded-sm transition-colors duration-100",style:{color:"#525252"},onMouseenter:i[1]||(i[1]=c=>{c.target.style.color="#FBBF24",c.target.style.background="rgba(251,191,36,0.06)"}),onMouseleave:i[2]||(i[2]=c=>{c.target.style.color="#525252",c.target.style.background="transparent"}),title:"切换详情面板"},[(A(),F("svg",{class:$e(["w-3.5 h-3.5 transition-transform duration-200",{"rotate-180":!e.isPanelOpen}]),fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[...i[9]||(i[9]=[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 5l7 7-7 7"},null,-1)])],2))],32),e.isExecuting?(A(),F("button",{key:0,onClick:i[3]||(i[3]=c=>r.$emit("kill")),class:"px-2.5 py-1 rounded-sm text-[10px] font-[JetBrains_Mono,monospace] transition-colors duration-100",style:{background:"rgba(239,68,68,0.08)",border:"1px solid rgba(239,68,68,0.2)",color:"#EF4444"}}," 停止 ")):J("",!0),g("button",{onClick:i[4]||(i[4]=c=>r.$emit("open-palette")),class:"p-1.5 rounded-sm transition-colors duration-100",style:{color:"#525252"},onMouseenter:i[5]||(i[5]=c=>{c.target.style.color="#FBBF24",c.target.style.background="rgba(251,191,36,0.06)"}),onMouseleave:i[6]||(i[6]=c=>{c.target.style.color="#525252",c.target.style.background="transparent"}),title:"命令面板 (⌘K)"},[...i[10]||(i[10]=[g("svg",{class:"w-3.5 h-3.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})],-1)])],32)])])}}},Gu={key:0,class:"fixed left-1/2 top-[18%] -translate-x-1/2 w-full max-w-md z-50"},Yu={class:"overflow-hidden rounded-md",style:{background:"#141416",border:"1px solid #2A2A2D","box-shadow":"0 25px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(251,191,36,0.05)"}},Qu={class:"px-4 py-3",style:{"border-bottom":"1px solid #1F1F22"}},Xu={class:"flex items-center gap-3"},Zu={class:"w-3.5 h-3.5 flex-shrink-0",style:{color:"#525252"},fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},ef={key:0,class:"text-[9px] px-1 py-0.5 rounded-sm font-mono-log",style:{color:"#525252",background:"#0A0A0B",border:"1px solid #2A2A2D"}},tf={class:"max-h-72 overflow-y-auto"},sf={key:0,class:"py-10 text-center"},nf={key:1,class:"py-0.5"},of=["onClick","onMouseenter"],rf={class:"w-6 h-6 rounded-sm flex items-center justify-center text-[10px] font-[JetBrains_Mono,monospace] flex-shrink-0",style:{background:"#0A0A0B",border:"1px solid #1F1F22",color:"#525252"}},lf={class:"flex-1 min-w-0"},cf={class:"text-[12px] font-medium truncate font-[JetBrains_Mono,monospace]",style:{color:"#E4E4E7"}},af={class:"text-[10px] truncate",style:{color:"#525252"}},uf={__name:"CommandPalette",props:{isOpen:{type:Boolean,default:!1},projects:{type:Array,default:()=>[]}},emits:["close","select-project","select-stage"],setup(e,{emit:t}){const s=e,n=t,o=ye(""),r=ye(null),i=ye(0),l=[{id:"brainstorm",name:"头脑风暴"},{id:"plan",name:"规划"},{id:"execute",name:"执行"},{id:"verify",name:"验证"}],c=ue(()=>{const v=[];for(const f of s.projects){const m=!o.value||f.name.toLowerCase().includes(o.value.toLowerCase())||f.path.toLowerCase().includes(o.value.toLowerCase());m&&v.push({id:`project-${f.name}`,type:"project",title:f.name,subtitle:f.path,data:f,status:d(f)});for(const y of l)(!o.value||y.name.toLowerCase().includes(o.value.toLowerCase())||y.id.toLowerCase().includes(o.value.toLowerCase())||m)&&v.push({id:`stage-${f.name}-${y.id}`,type:"stage",title:`${f.name} / ${y.name}`,subtitle:`Jump to ${y.name}`,data:{project:f,stage:y.id},status:a(f,y.id)})}return v});function d(v){var m,y,_,M,T;const f=((T=(M=(y=(m=v.state)==null?void 0:m.progress)==null?void 0:y.stages)==null?void 0:M[(_=v.state)==null?void 0:_.currentStage])==null?void 0:T.steps)||[];return f.some(I=>I.status==="failed")?"failed":f.some(I=>I.status==="in-progress")?"in-progress":f.every(I=>I.status==="completed")?"completed":"pending"}function a(v,f){var y,_,M,T;const m=((T=(M=(_=(y=v.state)==null?void 0:y.progress)==null?void 0:_.stages)==null?void 0:M[f])==null?void 0:T.steps)||[];return m.length?m.some(I=>I.status==="failed")?"failed":m.some(I=>I.status==="in-progress")?"in-progress":m.every(I=>I.status==="completed")?"completed":"pending":"pending"}function h(){o.value="",i.value=0,n("close")}function b(v){v.type==="project"?n("select-project",v.data):n("select-stage",v.data),h()}function S(v){v.key==="ArrowDown"?(v.preventDefault(),i.value=Math.min(i.value+1,c.value.length-1)):v.key==="ArrowUp"?(v.preventDefault(),i.value=Math.max(i.value-1,0)):v.key==="Enter"?(v.preventDefault(),c.value[i.value]&&b(c.value[i.value])):v.key==="Escape"&&(v.preventDefault(),h())}return at(c,()=>{i.value=0}),at(()=>s.isOpen,v=>{v&&Ds(()=>{var f;(f=r.value)==null||f.focus()})}),(v,f)=>(A(),Ct(Hi,{to:"body"},[Y(mn,{name:"backdrop"},{default:Ss(()=>[e.isOpen?(A(),F("div",{key:0,class:"fixed inset-0 z-40",style:{background:"rgba(0,0,0,0.7)","backdrop-filter":"blur(4px)"},onClick:h})):J("",!0)]),_:1}),Y(mn,{name:"palette"},{default:Ss(()=>[e.isOpen?(A(),F("div",Gu,[g("div",Yu,[g("div",Qu,[g("div",Xu,[(A(),F("svg",Zu,[...f[1]||(f[1]=[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"},null,-1)])])),Tn(g("input",{ref_key:"searchInput",ref:r,"onUpdate:modelValue":f[0]||(f[0]=m=>o.value=m),type:"text",placeholder:"搜索项目或命令...",class:"flex-1 bg-transparent border-none outline-none text-[12px] font-[JetBrains_Mono,monospace]",style:{color:"#E4E4E7"},onKeydown:S},null,544),[[Dn,o.value]]),o.value?(A(),F("kbd",ef,"ESC")):J("",!0)])]),g("div",tf,[c.value.length===0?(A(),F("div",sf,[...f[2]||(f[2]=[g("p",{class:"text-[11px] font-[JetBrains_Mono,monospace]",style:{color:"#3A3A3D"}},"无结果",-1)])])):(A(),F("div",nf,[(A(!0),F(pe,null,qe(c.value,(m,y)=>(A(),F("div",{key:m.id,class:$e(["px-4 py-2.5 cursor-pointer transition-colors duration-100 flex items-center gap-3"]),style:le({background:i.value===y?"rgba(251,191,36,0.06)":"transparent"}),onClick:_=>b(m),onMouseenter:_=>i.value=y},[g("div",rf,U(m.type==="project"?"□":"◇"),1),g("div",lf,[g("div",cf,U(m.title),1),g("div",af,U(m.subtitle),1)]),m.status?(A(),Ct(jt,{key:0,status:m.status,size:"sm"},null,8,["status"])):J("",!0)],44,of))),128))]))]),f[3]||(f[3]=g("div",{class:"px-4 py-2 flex items-center gap-4 text-[9px] font-mono-log",style:{"border-top":"1px solid #1F1F22",color:"#3A3A3D"}},[g("span",null,[g("kbd",{class:"px-1 rounded-sm",style:{background:"#0A0A0B",border:"1px solid #1F1F22"}},"↑↓"),ut(" 导航")]),g("span",null,[g("kbd",{class:"px-1 rounded-sm",style:{background:"#0A0A0B",border:"1px solid #1F1F22"}},"↵"),ut(" 打开")]),g("span",null,[g("kbd",{class:"px-1 rounded-sm",style:{background:"#0A0A0B",border:"1px solid #1F1F22"}},"esc"),ut(" 关闭")])],-1))])])):J("",!0)]),_:1})]))}},ff=On(uf,[["__scopeId","data-v-fbb5ff82"]]),df={class:"h-screen w-screen flex flex-col overflow-hidden font-[DM_Sans,sans-serif] relative",style:{"background-color":"#151820"}},pf={class:"flex-1 flex overflow-hidden relative z-10"},hf={class:"w-[240px] flex-shrink-0 relative",style:{background:"#1A1E28","border-right":"1px solid #2A3040"}},gf={class:"flex-1 overflow-hidden accent-stripe"},mf={__name:"App",setup(e){const t=_c(),s=Sc(),n=ye(!1),o=ye(null),r=ye([]);kc({onOpenCommandPalette:()=>{n.value=!0},onClose:()=>{n.value?n.value=!1:s.state.activeStep?s.state.activeStep=null:s.closePanel()}}),rs(()=>{t.on("projects:init",f=>{s.updateProjects(f)}),t.on("projects:updated",f=>{s.updateProjects(f)}),t.on("cli:output",f=>{f.projectName===s.activeProjectName.value&&s.appendLog(f.output)}),t.on("cli:complete",f=>{f.projectName===s.activeProjectName.value&&(s.setExecuting(null),o.value={exitCode:f.exitCode,signal:f.signal})}),t.on("cli:started",f=>{f.projectName===s.activeProjectName.value&&(s.setExecuting(f.projectName),o.value=null)}),t.on("cli:killed",f=>{f.projectName===s.activeProjectName.value&&(s.setExecuting(null),o.value={exitCode:-1,signal:"SIGTERM"})}),t.on("scan:paths",f=>{r.value=f}),t.on("docs:tree",f=>{s.updateDocs(f)})});function i(f){s.selectProject(f),f!=null&&f.path&&t.send({type:"docs:get",data:{projectPath:f.path}})}function l({project:f,stage:m}){s.selectProject(f)}function c(f){s.selectStep(f)}function d(f){s.setActiveTab(f)}function a(f){s.selectDocFile(f),s.setDocLoading(!0),fetch(`/api/docs/content?path=${encodeURIComponent(f.path)}`).then(m=>m.ok?m.text():"").then(m=>{s.setDocContent(m),s.setDocLoading(!1)}).catch(()=>{s.setDocContent(""),s.setDocLoading(!1)})}function h(){const f=s.activeProjectName.value;f&&(s.clearLogs(),t.send({type:"cli:execute",data:{projectName:f,command:"next"}}))}function b(){const f=s.activeProjectName.value;f&&t.send({type:"cli:kill",data:{projectName:f}})}function S(f){t.send({type:"scan:add-path",data:{path:f}})}function v(f){t.send({type:"scan:remove-path",data:{path:f}})}return(f,m)=>(A(),F("div",df,[m[2]||(m[2]=g("div",{class:"absolute inset-0 pointer-events-none",style:{background:"radial-gradient(ellipse 60% 40% at 10% 20%, rgba(251,191,36,0.04) 0%, transparent 70%), radial-gradient(ellipse 50% 50% at 90% 80%, rgba(251,191,36,0.02) 0%, transparent 70%)"}},null,-1)),g("div",pf,[g("aside",hf,[Y(Yc,{projects:ae(s).state.projects,"active-project":ae(s).state.activeProject,"is-loading":ae(s).state.isLoading,"scan-paths":r.value,onSelect:i,"onScan:addPath":S,"onScan:removePath":v},null,8,["projects","active-project","is-loading","scan-paths"])]),g("main",gf,[Y(Za,{project:ae(s).state.activeProject,"active-step":ae(s).state.activeStep,"active-tab":ae(s).state.activeTab,docs:ae(s).state.docs,"selected-doc-file":ae(s).state.selectedDocFile,"doc-content":ae(s).state.docContent,"doc-loading":ae(s).state.docLoading,onSelectStep:c,onSwitchTab:d,onSelectDocFile:a},null,8,["project","active-step","active-tab","docs","selected-doc-file","doc-content","doc-loading"])]),g("aside",{class:$e(["flex-shrink-0 transition-all duration-300 relative overflow-hidden",ae(s).state.isPanelOpen?"w-[340px]":"w-0"]),style:{background:"#1A1E28","border-left":"1px solid #2A3040"}},[Y(Iu,{"is-open":ae(s).state.isPanelOpen,"active-step":ae(s).state.activeStep,logs:ae(s).state.logs,onClose:ae(s).closePanel,onClearLogs:ae(s).clearLogs},null,8,["is-open","active-step","logs","onClose","onClearLogs"])],2)]),Y(qu,{project:ae(s).state.activeProject,"is-executing":ae(s).state.executingProject!==null,"execution-result":o.value,"is-panel-open":ae(s).state.isPanelOpen,onExecute:h,onKill:b,onTogglePanel:ae(s).togglePanel,onOpenPalette:m[0]||(m[0]=y=>n.value=!0)},null,8,["project","is-executing","execution-result","is-panel-open","onTogglePanel"]),Y(ff,{"is-open":n.value,projects:ae(s).state.projects,onClose:m[1]||(m[1]=y=>n.value=!1),onSelectProject:i,onSelectStage:l},null,8,["is-open","projects"])]))}};vc(mf).mount("#app");