System.register(["./index-legacy-sO5zj2jA.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-4WXPUD4_.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./prismjs-legacy-BN0FEcG9.js?v=1773287522785","./index-legacy-C_9lLSB4.js?v=1773287522785","./useLoading-legacy-IiShPpjk.js?v=1773287522785","./index-legacy-DgZ0-E4f.js?v=1773287522785","./index.vue_vue_type_script_setup_true_lang-legacy-LjZ-8uGn.js?v=1773287522785"],(function(e,l){"use strict";var n,a,s,t,u,i,c,r,d,o,g,_,v,y,p,x,f,j;return{setters:[e=>{n=e._},e=>{a=e.m,s=e.g_,t=e.n},e=>{u=e._},e=>{i=e.k,c=e.R,r=e.r,d=e.x,o=e.$,g=e.Z,_=e.a0,v=e.S,y=e.X,p=e._,x=e.a8,f=e.ak,j=e.n},null,null,null,null,null,null],execute:function(){const l={class:"flex h-full"},m={class:"flex-1 p-16px overflow-hidden"};e("default",i({__name:"index",props:{id:{default:""}},emits:["close"],setup(e,{emit:i}){const k=e,h=i,{t:C}=c(),w=r(k.id),S=d([]),b=r(),D=()=>{j((()=>{b.value?.getContent()}))};return(async()=>{const e=a.loading(C("Public.Api.Load",[C("Docker.Container.log.index_27")]));try{const{message:e}=await s();t(e)&&e.length>0?(S.value=e.map((e=>({key:e.id,label:e.name}))),w.value||(w.value=e[0].id)):(a.error(C("Docker.Container.log.index_28")),h("close"))}finally{e.close()}})(),(e,a)=>{const s=n;return o(),g("div",l,[_(s,{value:v(w),"onUpdate:value":[a[0]||(a[0]=e=>y(w)?w.value=e:null),D],class:"w-auto h-full","pane-padding":"0px",data:v(S),onClickSelf:D},null,8,["value","data"]),p("div",m,[v(w)?(o(),x(u,{key:0,ref_key:"logRef",ref:b,id:v(w)},null,8,["id"])):f("",!0)])])}}}))}}}));
