const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/breadcrumb.3tV5mc5m.js","assets/vue.D1BjjNmv.js","assets/index.DbBdG0ey.js","assets/index.4Qdovvko.css","assets/_plugin-vue_export-helper.DlAUqK2U.js","assets/breadcrumb.BJHFkKjg.css","assets/user.CoaX4NN_.js","assets/user.CGbR7jsZ.css","assets/index.CcUs1ELL.js","assets/LOGO1.CAkriOh-.js","assets/logo-mini.D57drHvk.js","assets/index.dNToJVUT.css","assets/horizontal.DMxy9wbX.js","assets/horizontal.C49BHnTi.css"])))=>i.map(i=>d[i]);
import{aI as D,u as P,e as d,_ as r}from"./index.DbBdG0ey.js";import{a as v,aC as p,aB as V,_ as O,f,q as F,W as M,c as w,o as _,J as h,M as L,S as C,u as a,aA as i}from"./vue.D1BjjNmv.js";import{_ as H}from"./_plugin-vue_export-helper.DlAUqK2U.js";const N={class:"layout-navbars-breadcrumb-index"},U=v({name:"layoutBreadcrumbIndex"}),j=v({...U,setup(q){const R=i(()=>r(()=>import("./breadcrumb.3tV5mc5m.js"),__vite__mapDeps([0,1,2,3,4,5]))),I=i(()=>r(()=>import("./user.CoaX4NN_.js"),__vite__mapDeps([6,2,1,3,4,7]))),S=i(()=>r(()=>import("./index.CcUs1ELL.js"),__vite__mapDeps([8,9,1,2,3,10,4,11]))),g=i(()=>r(()=>import("./horizontal.DMxy9wbX.js"),__vite__mapDeps([12,2,1,3,4,13]))),y=D(),E=P(),{themeConfig:c}=p(E),{routesList:u}=p(y),b=V(),l=O({menuList:[]}),x=f(()=>{let{isShowLogo:t,layout:e}=c.value;return t&&e==="classic"||t&&e==="transverse"}),B=f(()=>{let{layout:t,isClassicSplitMenu:e}=c.value;return t==="transverse"||e&&t==="classic"}),m=()=>{let{layout:t,isClassicSplitMenu:e}=c.value;if(t==="classic"&&e){l.menuList=T(n(u.value));const s=k(b.path);d.emit("setSendClassicChildren",s)}else l.menuList=n(u.value)},T=t=>(t.map(e=>{e.children&&delete e.children}),t),n=t=>t.filter(e=>{var s;return!((s=e.meta)!=null&&s.isHide)}).map(e=>(e=Object.assign({},e),e.children&&(e.children=n(e.children)),e)),k=t=>{const e=t.split("/");let s={children:[]};return n(u.value).map((o,A)=>{o.path===`/${e[1]}`&&(o.k=A,s.item={...o},s.children=[{...o}],o.children&&(s.children=o.children))}),s};return F(()=>{m(),d.on("getBreadcrumbIndexSetFilterRoutes",()=>{m()})}),M(()=>{d.off("getBreadcrumbIndexSetFilterRoutes",()=>{})}),(t,e)=>(_(),w("div",N,[x.value?(_(),h(a(S),{key:0})):L("",!0),C(a(R)),B.value?(_(),h(a(g),{key:1,menuList:l.menuList},null,8,["menuList"])):L("",!0),C(a(I))]))}}),$=H(j,[["__scopeId","data-v-c4f9509c"]]);export{$ as default};
