1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[491,5564],{10491:(e,t,i)=>{i.r(t),i.d(t,{default:()=>y});var n=i(66352),r=i(95132),a=i(4113),o=i(71924),l=i(44258);let d=o.Ay.div.withConfig({componentId:"sc-5bc70442-0"})(["display:flex;background:",";border-radius:16px;"],({theme:e})=>e.default.color.backgrounds.offWhite),s=o.Ay.div.withConfig({componentId:"sc-5bc70442-1"})(["display:grid;grid-template-columns:1fr 1fr;column-gap:16px;row-gap:16px;@media (max-width:","){grid-template-columns:1fr;margin-bottom:16px;}"],l.KL.medium),c=o.Ay.div.withConfig({componentId:"sc-5bc70442-2"})(["background-color:",";color:white;align-items:center;padding:0.5rem 1rem;display:flex;font-family:",";font-weight:800;border-radius:16px 0 0 16px;h1{margin:0;font-size:52px;line-height:60px;}"],({theme:e})=>e.default.color.primary,({theme:e})=>e.default.fontFamily.primaryFont),p=o.Ay.div.withConfig({componentId:"sc-5bc70442-3"})(["color:",";text-transform:uppercase;font-size:12px;font-style:normal;font-weight:800;line-height:12px;text-transform:uppercase;"],({theme:e})=>e.default.color.primary),m=o.Ay.div.withConfig({componentId:"sc-5bc70442-4"})(["padding:8px;a{margin:0;font-size:14px;font-style:normal;font-weight:700;line-height:16px;cursor:pointer;&:hover{text-decoration:underline;}}"]),h=({number:e,article:t})=>t?(0,n.jsxs)(d,{children:[(0,n.jsx)(c,{children:(0,n.jsx)("h1",{children:e})}),(0,n.jsxs)(m,{children:[(0,n.jsx)(p,{children:t.articleTypes&&t.articleTypes[0]&&t.articleTypes[0].name&&t.articleTypes[0].name}),(0,n.jsx)("a",{style:{textAlign:"left"},href:t.path&&t.path,children:t.titleShort&&t.titleShort})]})]}):null,f=o.Ay.div.withConfig({componentId:"sc-4f6c7692-0"})(["display:grid;grid-template-columns:1fr 300px;column-gap:28px;margin-top:16px;align-items:center;padding-bottom:31px;@media (max-width:","){grid-template-columns:1fr;column-gap:24px;padding-bottom:20px;}"],l.KL.medium);var u=i(64028),x=i(59085),g=i(95564);let y=({mpu_id:e})=>{let[t,i]=(0,r.useState)(),{publication:o}=(0,r.useContext)(x.I),l=(0,r.useCallback)(async()=>{try{let e=await u.A.get(`/api/most_popular?publication=${o}&number=6`);e?.status!==404&&Array.isArray(e.data)?i(e.data):i(null)}catch(e){console.error("Error fetching data:",e),i(null)}},[o]);return((0,r.useEffect)(()=>
1{l()},[l]),t)?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a.A,{type:"section",children:"Most Read"}),(0,n.jsxs)(f,{children:[(0,n.jsx)(s,{children:t&&t?.map((e,t)=>(0,n.jsx)(h,{article:e,number:t+1},t))}),(0,n.jsx)(g.default,{className:"most_read_item",num:e})]})]}):null}},95564:(e,t,i)=>{i.r(t),i.d(t,{default:()=>d});var n=i(66352),r=i(54533),a=i(71924);let o=a.Ay.div.withConfig({componentId:"sc-9bfb18a2-0"})(["width:100%;display:flex;justify-content:center;min-height:250px;"]),l=a.Ay.div.withConfig({componentId:"sc-9bfb18a2-1"})(["width:100%;text-align:center;"]),d=({num:e=1,className:t,type:i="mpu"})=>(0,n.jsx)(o,{children:(0,n.jsx)(l,{children:(0,n.jsx)(r.default,{className:t,id:`${i}${e}`,width:"100%",height:"200"})})})}}]);
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.