System.register(["./xterm-addon-canvas-legacy.js?v=1763625242172","./xterm-legacy.js?v=1763625242172","./page_layout-legacy.js?v=1763625242172","./vue-legacy.js?v=1763625242172","./naive-legacy.js?v=1763625242172","./common-legacy.js?v=1763625242172","./__commonjsHelpers__-legacy.js?v=1763625242172","./public-legacy.js?v=1763625242172"],(function(e,n){"use strict";var t,o,l,a,s,r,d,c,u,i,m,g,p;return{setters:[e=>{t=e.x},e=>{o=e.x,l=e.a,a=e.b},e=>{s=e.c,r=e.m},e=>{d=e.k,c=e.r,u=e.o,i=e.b,m=e.R,g=e.S,p=e.U},null,null,null,null],execute:function(){var n=document.createElement("style");n.textContent=".drawer{display:none}.xterm{height:100%;padding:12px}.xterm .xterm-viewport{overflow:auto!important}\n",document.head.appendChild(n);const f={class:"h-full"};e("default",d({__name:"index",props:{status:{},setProjectStatus:{}},setup(e){const n=e,d=c(null);let y,v;const x=()=>{y.loadAddon(v),y.loadAddon(new t.CanvasAddon),y.loadAddon(new a.WebLinksAddon),d.value&&y.open(d.value)},j=()=>{v.fit()};return u((()=>{y=new o.Terminal({cursorBlink:!0,fontSize:12,lineHeight:1.26,fontFamily:"Monaco, Menlo, Consolas, 'Courier New', monospace",theme:{background:"#333",foreground:"#ececec"}}),v=new l.FitAddon,x(),j(),n.setProjectStatus(n.status,(e=>{s(e)&&(-1===e.data&&r.success(e.msg),y.write(e.msg))}))})),i((()=>{y.dispose()})),(e,n)=>(m(),g("div",f,[p("div",{ref_key:"terminalRef",ref:d,class:"w-full h-full overflow-hidden rounded-b-4px"},null,512)]))}}))}}}));
