import{B as e,F as t,H as n,I as r,P as i,Q as a,T as o,V as s,W as c,X as l,Z as u,st as d,y as f,z as p}from"./vue-quasar-CzR5lecU.js";import{r as m}from"./index-C94eCAzg.js";var h={name:`SectionMoreView`,props:{app:{type:Object,required:!0}},setup(e){return e.app}},g={class:`detail-page`},_={key:0,class:`shelf-section`},v={class:`section-header`},y={class:`media-rail media-rail--more`},b=[`onClick`,`onKeydown`,`onContextmenu`],x={key:1,class:`media-card__art media-card__art--empty`},S={class:`media-card__title explicit-title`},C={class:`explicit-title__text`},w={class:`media-card__meta`},T={class:`media-card__stat`};function E(m,h,E,D,O,k){let A=a(`ExplicitBadge`);return l(),n(`main`,g,[m.sectionMoreDetail?(l(),n(`section`,_,[p(`div`,v,[p(`h2`,null,d(m.sectionMoreDetail.title),1),p(`span`,null,d(m.sectionMoreDetail.loading?`Loading…`:m.sectionCount(m.sectionMoreDetail)),1)]),p(`div`,y,[(l(!0),n(r,null,u(m.sectionMoreDetail.items,r=>(l(),n(`article`,{key:`section-more-${m.sectionMoreDetail.key}-${r.id||r.browseId||r.title}`,class:`media-card`,role:`button`,tabindex:`0`,onClick:e=>m.openMedia(r,m.sectionMoreDetail.items),onKeydown:[i(t(e=>m.openMedia(r,m.sectionMoreDetail.items),[`prevent`]),[`enter`]),i(t(e=>m.openMedia(r,m.sectionMoreDetail.items),[`prevent`]),[`space`]),e=>m.onSongActionKeydown(e,r)],onContextmenu:e=>m.shareMediaSongLink(r,e)},[m.mediaThumbnail(r)?(l(),e(f,{key:0,src:m.mediaThumbnail(r),class:`media-card__art`},null,8,[`src`])):(l(),n(`div`,x,[c(o,{name:`album`})])),p(`div`,S,[p(`span`,C,d(r.title),1),c(A,{explicit:r.explicit},null,8,[`explicit`])]),p(`div`,w,d(m.itemMeta(r)),1),p(`div`,T,d(m.itemStat(r)),1)],40,b))),128))])])):s(``,!0)])}var D=m(h,[[`render`,E]]);export{D as default};