System.register(["./index-legacy246.js?v=1764830988434","./page_layout-legacy.js?v=1764830988434","./index.vue_vue_type_script_setup_true_lang-legacy20.js?v=1764830988434","./vue-legacy.js?v=1764830988434","./naive-legacy.js?v=1764830988434","./common-legacy.js?v=1764830988434","./__commonjsHelpers__-legacy.js?v=1764830988434","./public-legacy.js?v=1764830988434","./index-legacy.js?v=1764830988434","./index-legacy179.js?v=1764830988434","./index.vue_vue_type_script_setup_true_lang-legacy.js?v=1764830988434"],function(e,l){"use strict";var a,n,t,s,u,c,i,o,r,d,g,_,y,p,v,x,f,j;return{setters:[e=>{a=e._},e=>{n=e.m,t=e.gc,s=e.x},e=>{u=e._},e=>{c=e.k,i=e.P,o=e.r,r=e.x,d=e.R,g=e.V,_=e.W,y=e.S,p=e.U,v=e.ak,x=e.a2,f=e.an,j=e.n},null,null,null,null,null,null,null],execute:function(){const l={class:"flex h-full"},m={class:"flex-1 p-16px overflow-hidden"};e("default",c({__name:"index",props:{id:{default:""}},emits:["close"],setup(e,{emit:c}){const k=e,h=c,{t:C}=i(),b=o(k.id),w=r([]),S=o(),D=()=>{j(()=>{S.value?.getContent()})};return(async()=>{const e=n.loading(C("Public.Api.Load",[C("Docker.Container.log.index_27")]));try{const{message:e}=await t();s(e)&&e.length>0?(w.value=e.map(e=>({key:e.id,label:e.name})),b.value||(b.value=e[0].id)):(n.error(C("Docker.Container.log.index_28")),h("close"))}finally{e.close()}})(),(e,n)=>{const t=a;return g(),d("div",l,[_(t,{value:p(b),"onUpdate:value":[n[0]||(n[0]=e=>v(b)?b.value=e:null),D],class:"w-auto h-full","pane-padding":"0px",data:p(w),onClickSelf:D},null,8,["value","data"]),y("div",m,[p(b)?(g(),x(u,{key:0,ref_key:"logRef",ref:S,id:p(b)},null,8,["id"])):f("",!0)])])}}}))}}});
