System.register(["./xterm-addon-canvas-legacy.js?v=1764233927359","./xterm-legacy.js?v=1764233927359","./page_layout-legacy.js?v=1764233927359","./vue-legacy.js?v=1764233927359","./naive-legacy.js?v=1764233927359","./common-legacy.js?v=1764233927359","./__commonjsHelpers__-legacy.js?v=1764233927359","./public-legacy.js?v=1764233927359"],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.d,r=e.m},e=>{d=e.k,c=e.r,u=e.o,i=e.b,m=e.R,g=e.V,p=e.S},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/*$vite$:1*/",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 v,y;const x=()=>{v.loadAddon(y),v.loadAddon(new t.CanvasAddon),v.loadAddon(new a.WebLinksAddon),d.value&&v.open(d.value)},j=()=>{y.fit()};return u(()=>{v=new o.Terminal({cursorBlink:!0,fontSize:12,lineHeight:1.26,fontFamily:"Monaco, Menlo, Consolas, 'Courier New', monospace",theme:{background:"#333",foreground:"#ececec"}}),y=new l.FitAddon,x(),j(),n.setProjectStatus(n.status,e=>{s(e)&&(-1===e.data&&r.success(e.msg),v.write(e.msg))})}),i(()=>{v.dispose()}),(e,n)=>(g(),m("div",f,[p("div",{ref_key:"terminalRef",ref:d,class:"w-full h-full overflow-hidden rounded-b-4px"},null,512)]))}}))}}});
