import{b as V,u as c,m as k,c as C,a as u}from"./tag-Dx3OexMp.js";import{b as P,c as b,m as g}from"./layout-BFr6o7er.js";import{u as h}from"./ssrBoot-DGgZQEVC.js";import{v as p,x as v,a as S,a6 as y,J as d,e as r,aq as A,ah as B,C as L}from"./index-CTxlYqj4.js";const M=v({scrollable:Boolean,...u(),...C(),...k({tag:"main"})},"VMain"),D=p()({name:"VMain",props:M(),setup(a,o){let{slots:e}=o;const{dimensionStyles:s}=V(a),{mainStyles:n}=P(),{ssrBootStyles:m}=h();return c(()=>S(a.tag,{class:d(["v-main",{"v-main--scrollable":a.scrollable},a.class]),style:y([n.value,m.value,s.value,a.style])},{default:()=>{var t,l;return[a.scrollable?r("div",{class:"v-main__scroller"},[(t=e.default)==null?void 0:t.call(e)]):(l=e.default)==null?void 0:l.call(e)]}})),{}}}),_=v({...u(),...g({fullHeight:!0}),...L()},"VApp"),N=p()({name:"VApp",props:_(),setup(a,o){let{slots:e}=o;const s=A(a),{layoutClasses:n,getLayoutItem:m,items:t,layoutRef:l}=b(a),{rtlClasses:f}=B();return c(()=>{var i;return r("div",{ref:l,class:d(["v-application",s.themeClasses.value,n.value,f.value,a.class]),style:y([a.style])},[r("div",{class:"v-application__wrap"},[(i=e.default)==null?void 0:i.call(e)])])}),{getLayoutItem:m,items:t,theme:s}}});export{D as V,N as a};
