1import u from"./CotgsRq0.js";import{_ as m}from"./BGFod6da.js";import{a as _}from"./B6cpWjtx.js";import{d,p as f,q as b,a as g,K as h,c as x,j as k,w as y,i as V,g as s}from"./wGaC-Zcn.js";import"./2LaCKLr6.js";import"./mkZzzYft.js";import"./BGG3FQIg.js";import"./DtxA6ZXE.js";import"./C2CcVVBo.js";import"./CJUgHS6l.js";import"./B7pRSIFn.js";import"./-jdA4pKC.js";const v=d({__name:"MostRead",props:{title:{default:""}},async setup(w){let e,t;const{data:i,status:r,error:n}=([e,t]=f(()=>b(`/api/${g()}/most-read?count=3`,"$OEWhiNEx7R")),e=await e,t(),e),c=h(()=>r.value==="pending"?[]:r.value==="error"?(console.error("Error fetching most read articles:",n.value),[]):(i.value?.articles||[]).map(o=>({...o,bookmarkVisible:!0,description:"",typeVisible:!0,topicVisible:!1,updatedTimeVisible:!1,ignoreDuplicates:!0,layout:"2"})));return(a,o)=>{const l=u,p=m;return x(),k(p,{title:a.title,class:"u-most-read"},{default:y(()=>[V(l,{layout:"8",teasers:s(_)(s(c)||[],!1,!1)},null,8,["teasers"])]),_:1},8,["title"])}}}),A=Object.assign(v,{__name:"MostRead"});export{A as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.