import{d as h,s as f,_,c as a,e as o,f as k,k as u,i as r,g as l,t as d,G as y,F as C,A as b}from"./index.0308b213.js";const $=h({components:{},props:{route:{type:Object,default:()=>({})}},setup(e){return{hasChildren:f(()=>{var t;return!!((t=e.route.children)!=null?t:[]).filter(s=>{var n;return!((n=s.meta)!=null&&n.hidden)}).length})}}});function g(e,i,m,t,s,n){const p=a("el-sub-menu"),c=a("el-menu-item");return!e.route.meta.hidden&&(e.route.meta.module&&e.route.is_buy>-1?e.route.is_buy===1:!0)?(o(),k(C,{key:0},[e.hasChildren?(o(),u(p,{key:0,index:e.route.path},{title:r(()=>[l("span",null,d(e.route.meta.title),1)]),default:r(()=>[y(e.$slots,"default")]),_:3},8,["index"])):(o(),u(c,{key:1,index:e.route.path},{default:r(()=>[l("span",null,d(e.route.meta.title),1)]),_:1},8,["index"]))],64)):b("",!0)}const S=_($,[["render",g]]);export{S as default};
