const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/defaults.BSWXKy8y.js","assets/index.BKEMpsLA.js","assets/vue.YrNK8sx4.js","assets/index.De0vT77T.css","assets/classic.CiFJYmDv.js","assets/transverse.BatdlnZd.js","assets/columns.Bq_Ey2bc.js"])))=>i.map(i=>d[i]);
import{u as _,_ as t,L as a,e as i}from"./index.BKEMpsLA.js";import{a as u,aC as d,a5 as m,W as c,J as f,o as y,O as p,aA as s,u as v}from"./vue.YrNK8sx4.js";const L=u({name:"layout"}),g=u({...L,setup(E){const l={defaults:s(()=>t(()=>import("./defaults.BSWXKy8y.js"),__vite__mapDeps([0,1,2,3]))),classic:s(()=>t(()=>import("./classic.CiFJYmDv.js"),__vite__mapDeps([4,1,2,3]))),transverse:s(()=>t(()=>import("./transverse.BatdlnZd.js"),__vite__mapDeps([5,1,2,3]))),columns:s(()=>t(()=>import("./columns.Bq_Ey2bc.js"),__vite__mapDeps([6,1,2,3])))},r=_(),{themeConfig:e}=d(r),n=()=>{a.get("oldLayout")||a.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:a.get("oldLayout")?a.get("oldLayout"):e.value.layout,clientWidth:o})};return m(()=>{n(),window.addEventListener("resize",n)}),c(()=>{window.removeEventListener("resize",n)}),(o,C)=>(y(),f(p(l[v(e).layout])))}});export{g as default};
