1import{j as e,S as a,v as c,u as i,L as o}from"./index-CFVreTXG.js";import{f as m}from"./date-D5NGqb8_.js";const x=()=>e.jsxs("aside",{className:"flex h-full w-full flex-col border border-[#e5eaf3] bg-white p-2 shadow-sm dark:border-slate-500/30 dark:bg-[#002e44] md:p-4",children:[e.jsx("ul",{className:"flex-1 space-y-1",children:Array.from({length:7}).map((l,t)=>e.jsx("li",{children:e.jsx("div",{className:"group block border-b transition-colors duration-200 md:px-3",children:e.jsxs("div",{className:"border-b border-[#e5eaf3] pb-3 group-last:border-none dark:border-slate-500/20",children:[e.jsxs("div",{className:"mb-2 flex items-center gap-1.5",children:[e.jsx(a,{className:"h-3 w-16"}),e.jsx("span",{className:"text-[#c3cee0]",children:"â¢"}),e.jsx(a,{className:"h-3 w-20"})]}),e.jsxs("div",{className:"flex min-h-[2.75rem] flex-col gap-2 pt-1",children:[e.jsx(a,{className:"h-4 w-full"}),e.jsx(a,{className:"h-4 w-5/6"})]})]})})},t))}),e.jsx(a,{className:"mt-2 h-4 w-32 md:ml-2"})]});function f(){const{data:l,isLoading:t}=c(),{t:d}=i(["news"]);return t?e.jsx(x,{}):e.jsxs("aside",{className:"flex h-full w-full flex-col border border-[#e5eaf3] bg-white p-2 shadow-sm dark:border-slate-500/30 dark:bg-[#002e44] md:p-4",children:[e.jsx("ul",{className:"flex-1 space-y-1",children:[...l??[]].sort((s,r)=>new Date(r.created_at).getTime()-new Date(s.created_at).getTime()).map(s=>{var r,n;return e.jsx("li",{children:e.jsx(o,{to:`/press/news-info/${s.slug||s.id}`,className:"group block border-b transition-colors duration-200 md:px-3",children:e.jsxs("div",{className:"border-b border-[#e5eaf3] pb-3 group-last:border-none group-hover:border-transparent dark:border-slate-500/20",children:[e.jsxs("div",{className:"mb-2 flex items-center gap-1.5",children:[((r=s.category)==null?void 0:r.name)&&e.jsx("span",{className:"font-montserrat text-[13px] font-medium text-[#003cc0] dark:text-[#4b84ff]",children:s.category.name}),((n=s.category)==null?void 0:n.name)&&e.jsx("span",{className:"text-[#c3cee0]",children:"â¢"}),e.jsx("span",{className:"font-montserrat text-[13px] font-medium text-[#8a96ad]",children:m(s.created_at)})]}),e.jsx("h1",{className:"line-clamp-2 min-h-[2.75rem] font-montserrat text-[15px] font-semibold leading-snug text-[#2c3a51] transition-colors duration-200 hover:underline group-hover:text-[#33445f] dark:text-gray-100 dark:group-hover:text-white",children:s.title})]})})},s.id)})}),e.jsx(o,{to:"/press/news/",className:"flex shrink-0 items-center justify-start text-sm text-gray-500 transition duration-500 hover:text-gray-700 hover:underline dark:text-white md:pl-2",children:d("news:sidebar.latestNews")})]})}export{x as L,f as a};
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.