1import{N as p,r as l,a as b,p as g,c as o,P as x,j as s,a8 as m,_ as u,a9 as h}from"./index.af7661b9.js";const y=()=>{const{id:t}=p(),[e,i]=l.exports.useState(),{language:n}=b(g);return l.exports.useEffect(()=>{t&&(async r=>await fetch(`${h}/pressnotenews/newsinfo/${r}`,{method:"GET"}).then(async a=>{if(a.ok){const c=await a.json();Object.keys(c).length>0&&i(c)}}))(t)},[t]),o(x,{children:[s(m,{english:"News",nepali:"\u0938\u092E\u093E\u091A\u093E\u0930"}),o("div",{className:"container pt-6 lg:pb-[80px] pb-[50px]",children:[s("h2",{className:"pb-2 text-xl font-semibold dynFont text-black",children:n==="en"?e==null?void 0:e.title:e==null?void 0:e.title_ne}),s("div",{className:"pb-[35px] text-base leading-[25px] dynFont font-medium text-blackOne ",children:n==="en"?e==null?void 0:e.date:u(e==null?void 0:e.date,"np")}),(e==null?void 0:e.image)&&s("img",{src:e==null?void 0:e.image,alt:"",className:"pb-8 w-full lg:h-[640px] h-[250px] object-cover bg-center",loading:"lazy"}),s("div",{className:"pb-2 text-base leading-6 font-normal dynFont text-black space-y-4",dangerouslySetInnerHTML:{__html:(n==="en"?e==null?void 0:e.description:e==null?void 0:e.description_ne)||""}})]})]})};export{y 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.