import{a as c,c as m,m as u,b as _,u as d}from"./dimensions-g-Hg75km.js";import{b as p}from"./layout-DbCDuti4.js";import{u as v}from"./ssrBoot-CnxmaXlH.js";import{x as f,s as y,e as o,d as b,i as h,U as w,b as V,w as k,f as x}from"./index-BrhME0Dw.js";const B=f({scrollable:Boolean,...u(),...m(),...c({tag:"main"})},"VMain"),g=y()({name:"VMain",props:B(),setup(e,t){let{slots:a}=t;const{dimensionStyles:s}=_(e),{mainStyles:l}=p(),{ssrBootStyles:i}=v();return d(()=>o(e.tag,{class:["v-main",{"v-main--scrollable":e.scrollable},e.class],style:[l.value,i.value,s.value,e.style]},{default:()=>{var n,r;return[e.scrollable?o("div",{class:"v-main__scroller"},[(n=a.default)==null?void 0:n.call(a)]):(r=a.default)==null?void 0:r.call(a)]}})),{}}}),C={style:{"max-height":"calc(100vh - 64px)",width:"100%",overflow:"auto"}},N=b({__name:"View",setup(e){return(t,a)=>{const s=w("router-view");return V(),h(g,null,{default:k(()=>[x("div",C,[o(s)])]),_:1})}}});export{N as _};
