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