System.register(["./index-legacy-DQdImDha.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785"],(function(e,t){"use strict";var a,o,l,n,r,i,s,c,u,d,g,p,f,h,v,y;return{setters:[e=>{a=e.aX,o=e.c},e=>{l=e.a9,n=e.B},e=>{r=e.k,i=e.r,s=e.w,c=e.ab,u=e.$,d=e.Z,g=e.a0,p=e.a9,f=e.S,h=e.j,v=e.aa,y=e.n}],execute:function(){var t=document.createElement("style");t.textContent=".full-btn[data-v-7977ade4]{position:absolute;top:1rem;right:1rem;opacity:0;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-duration:.3s}.group:hover .full-btn[data-v-7977ade4]{opacity:1}.bt-log[data-v-7977ade4]{height:100%;font-size:13px;overflow:auto;background:none;border:none;border-radius:0}.bt-log[data-v-7977ade4] .hljs{height:100%;border-radius:4px;white-space:pre-wrap}\n/*$vite$:1*/",document.head.appendChild(t);const b=r({__name:"index",props:{log:{default:""},loading:{type:Boolean,default:!1}},setup(e){const t=e,o=i(),r=i(null),{isFullscreen:b,toggle:m}=a(r);return s((()=>t.log),(()=>{y((()=>{const e=o.value.$el.querySelector("code");e?.scrollTo({top:9999999})}))}),{immediate:!0}),(e,t)=>{const a=c("highlightjs"),i=l,s=n;return u(),d("div",{ref_key:"containerRef",ref:r,class:"relative h-full group"},[g(i,{show:e.loading,class:"h-full"},{default:p((()=>[g(a,{ref_key:"logsRef",ref:o,class:"bt-log",language:"log",code:e.log},null,8,["code"])])),_:1},8,["show"]),g(s,{type:"primary",class:"full-btn",onClick:f(m)},{default:p((()=>[h(v(f(b)?e.$t("Exit Fullscreen"):e.$t("Fullscreen")),1)])),_:1},8,["onClick"])],512)}}});e("_",o(b,[["__scopeId","data-v-7977ade4"]]))}}}));
