import{ad as c,aZ as m,_ as o}from"./app-QjDgb7aF.js";import{b as u,E as g,j as t,g as d,u as n,i as h,p as s,t as k,H as i,q as a,D as l}from"./vue-Cm77DuTi.js";const y=["title"],b=["title"],f=["src"],v=u({__name:"MkPagePreview",props:{page:{}},setup(e){return(p,x)=>{const r=g("MkA");return t(),d(r,{to:`/@${e.page.user.username}/pages/${e.page.name}`,class:"vhpxefrj _block",tabindex:"-1",behavior:`${n(c)==="deck"?"window":null}`},{default:h(()=>[e.page.eyeCatchingImage?(t(),s("div",{key:0,class:"thumbnail",style:k(`background-image: url('${e.page.eyeCatchingImage.thumbnailUrl}')`)},null,4)):i("",!0),a("article",null,[a("header",null,[a("h1",{title:e.page.title},l(e.page.title),9,y)]),e.page.summary?(t(),s("p",{key:0,title:e.page.summary},l(e.page.summary.length>85?e.page.summary.slice(0,85)+"…":e.page.summary),9,b)):i("",!0),a("footer",null,[a("img",{class:"icon",src:e.page.user.avatarUrl,"aria-label":"none"},null,8,f),a("p",null,l(n(m)(e.page.user)),1)])])]),_:1},8,["to","behavior"])}}}),M=o(v,[["__scopeId","data-v-f08b1b69"]]);export{M};
//# sourceMappingURL=MkPagePreview-BvNRcpjL.js.map
