1import{a as w}from"./BtWN70yQ.js";import{_ as y}from"./CczmTbOY.js";import{d as v,v as x,K as L,w as R,q as k,m as n,o as r,g as l,y as o,h as d,F as m,r as A,z as f,_ as M,Z as P,G as $,n as E}from"./BsVCHWwX.js";import{a as I}from"./BpidYFg7.js";import{u as j}from"./vs-QG8Wr.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"4acf542fb7903612aa6d189326669db9e9abf052"};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="dad2e89e-19a3-4b05-98cb-84e05c8c2b14",e._sentryDebugIdIdentifier="sentry-dbid-dad2e89e-19a3-4b05-98cb-84e05c8c2b14")}catch{}})();const B="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_26833_4934)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.59974%208.70857L10.9598%2011.4343C11.6239%2011.7189%2012.3756%2011.7189%2013.0397%2011.4343L19.3998%208.70857C20.0699%208.4214%2020.8459%208.7318%2021.133%209.40187C21.2035%209.56618%2021.2398%209.74308%2021.2398%209.92184V18.0592C21.2398%2019.1153%2020.6104%2020.0697%2019.6397%2020.4857L13.0397%2023.3143C12.3756%2023.5989%2011.6239%2023.5989%2010.9598%2023.3143L4.35982%2020.4857C3.38913%2020.0697%202.75977%2019.1153%202.75977%2018.0592V9.92184C2.75977%209.19282%203.35075%208.60184%204.07977%208.60184C4.25853%208.60184%204.43543%208.63815%204.59974%208.70857Z'%20fill='%23EA1718'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M12%209.24001C14.1912%209.24001%2015.96%207.47121%2015.96%205.28001C15.96%203.08881%2014.1912%201.32001%2012%201.32001C9.80884%201.32001%208.04004%203.08881%208.04004%205.28001C8.04004%207.47121%209.80884%209.24001%2012%209.24001Z'%20fill='%233340B1'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_26833_4934'%3e%3crect%20width='24'%20height='24'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",D={key:0},N={class:"ml-5 pl-2"},S=["innerHTML"],T=v({__name:"MostRead",async setup(e){let t,i;const s=x(),g=L(),{data:c}=([t,i]=R(async()=>j(k(()=>`most-read-list-${s.activePaper.id}`),async()=>{const{err:a,data:_}=await g.$api.content.mostReadList({paperId:s.activePaper.id,pageSize:5});return a?(console.error(a),[]):_.data},"$j9gjr8Bb2b")),t=await t,i(),t);return(a,_)=>{const b=w,p=y,h=M;return n(c)&&n(c).length>0?(r(),l("div",D,[o(b,{label:n(s).isFrontPagePaper?a.$t("MostRead"):`${a.$t("MostRead")} ${n(s).activePaper.name}`,icon:n(B)},null,8,["label","icon"]),o(p,{dark:!1}),d("ol",{class:$(["list-decimal list-outside list-title-xxxs","text-red"])},[(r(!0),l(m,null,A(n(c),(u,C)=>(r(),l(m,{key:C},[d("li",N,[o(P,{name:"skeleton",mode:"out-in"},{default:f(()=>[o(h,{to:("getArticleRouteObject"in a?a.getArticleRouteObject:n(I))(u),class:"block"},{default:f(()=>[d("span",{class:"text-black",innerHTML:u.headline},null,8,S)]),_:2},1032,["to"])]),_:2},1024)]),o(p)],64))),128))])])):E("",!0)}}}),H=Object.assign(T,{__name:"ListMostRead"});export{H as _};
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.