const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/defaults.BMbGiaEc.js","assets/index.lP_uh0LI.js","assets/vue.BxlDVA1H.js","assets/index.TG7KVPIy.css","assets/classic.LhCrf-xp.js","assets/transverse.Dcp5uS77.js","assets/columns.BJUEukuU.js"])))=>i.map(i=>d[i]);
import{u as r,_ as t,L as s,t as i}from"./index.lP_uh0LI.js";import{d as u,N as d,O as m,P as c,h as f,f as y,q as p,Q as a,u as v}from"./vue.BxlDVA1H.js";const L=u({name:"layout"}),T=u({...L,setup(E){const l={defaults:a(()=>t(()=>import("./defaults.BMbGiaEc.js"),__vite__mapDeps([0,1,2,3]))),classic:a(()=>t(()=>import("./classic.LhCrf-xp.js"),__vite__mapDeps([4,1,2,3]))),transverse:a(()=>t(()=>import("./transverse.Dcp5uS77.js"),__vite__mapDeps([5,1,2,3]))),columns:a(()=>t(()=>import("./columns.BJUEukuU.js"),__vite__mapDeps([6,1,2,3])))},_=r(),{themeConfig:e}=d(_),n=()=>{s.get("oldLayout")||s.set("oldLayout",e.value.layout);const o=document.body.clientWidth;o<1e3?(e.value.isCollapse=!1,i.emit("layoutMobileResize",{layout:"defaults",clientWidth:o})):i.emit("layoutMobileResize",{layout:s.get("oldLayout")?s.get("oldLayout"):e.value.layout,clientWidth:o})};return m(()=>{n(),window.addEventListener("resize",n)}),c(()=>{window.removeEventListener("resize",n)}),(o,R)=>(y(),f(p(l[v(e).layout])))}});export{T as default};
