import{m,w as f,a7 as e}from"./index.js";function y(l={}){const{query:c}=m(),{collapseLen:s,baseName:t}=l,a=f([]),o=e(()=>c.id),n=e(()=>u.value?`${t}\u8BE6\u60C5`:`\u521B\u5EFA${t}`),u=e(()=>!!o.value),i=r=>Array(r).fill(0).map((d,p)=>String(p+1));return s&&(a.value=i(s)),{id:o,title:n,isDetail:u,collapses:a}}export{y as u};
