import{C as g,i as h,x as w,n as C}from"./index.ad3efb29.js";import{d as b,r as T,aD as k,ay as l,k as a,j as R,ai as n,o as V,M as F,O as i,U as c,u as H,J as M,aC as L}from"./vue.adf17aba.js";import"./elementPlus.4833989a.js";import"./echarts.72dc8373.js";const E=b({__name:"main",setup(P,{expose:u}){const m=L(()=>C(()=>import("./parent.e51119ff.js"),["assets/parent.e51119ff.js","assets/index.ad3efb29.js","assets/vue.adf17aba.js","assets/elementPlus.4833989a.js","assets/echarts.72dc8373.js","assets/index.7d841112.css"])),o=T(),_=k(),p=g(),f=h(),{themeConfig:e}=l(f),{isTagsViewCurrenFull:d}=l(p);a(()=>e.value.isFooter&&!_.meta.isIframe);const y=a(()=>e.value.isFixedHeader);a(()=>e.value.isFixedHeader?".layout-backtop-header-fixed .el-scrollbar__wrap":".layout-backtop .el-scrollbar__wrap");const s=a(()=>{if(d.value)return"0px";const{isTagsview:t,layout:r}=e.value;return t&&r!=="classic"?"85px":"51px"});return R(()=>{w.done(600)}),u({layoutMainScrollbarRef:o}),(t,r)=>{const x=n("el-scrollbar"),v=n("el-main");return V(),F(v,{class:"layout-main",style:M(y.value?`height: calc(100% - ${s.value})`:`minHeight: calc(100% - ${s.value})`)},{default:i(()=>[c(x,{ref_key:"layoutMainScrollbarRef",ref:o,class:"layout-main-scroll layout-backtop-header-fixed","wrap-class":"layout-main-scroll","view-class":"layout-main-scroll"},{default:i(()=>[c(H(m))]),_:1},512)]),_:1},8,["style"])}}});export{E as default};
