PageSourceSearch

https://www.ntfc.co.uk/_nuxt/D2Ynf2yU.js

js ntfc.co.uk collected 2026-09-24 22:31:38 UTC 1,379 bytes, 1 lines download raw bytes

1import{d as f,z as m,o as t,c as o,b as i,w,f as x,t as b,g as h,a as n,F as k,i as C,j as v,u as c,K as j,r as _,l as $,y as z}from"./usx7zruX.js";const B={class:"container mx-auto my-8 max-w-[1200px]"},D={class:"flex flex-wrap gap-4 px-4"},N={class:"flex justify-center mt-8"},I=f({name:"NewsNewsCategory",__name:"index",props:{data:{},widget:{}},setup(r){const a=r,{$gc:d}=m(),l=_([]),g=$(()=>`/news#${a.data.category.slice(1,a.data.category.length).split("-").map(s=>`${s.charAt(0).toUpperCase()}${s.slice(1)}`).join("_")}`);return(async()=>{var s;l.value=await d().news.web().getByCategory((s=a.data)==null?void 0:s.category,{page:{size:a.data.number},sort:"publishedDateTime:desc"},"",a.widget.postID)})(),(s,A)=>{const p=h,u=z,y=j;return t(),o("div",B,[i(p,{tag:"h1",class:"px-4 mb-8 font-bold font-heading"},{default:w(()=>{var e;return[x(b((e=a.data)==null?void 0:e.title),1)]}),_:1}),n("div",D,[(t(!0),o(k,null,C(c(l),e=>(t(),v(u,{key:e.id,data:e,widget:{...e,layout:{style:"stacked"}},class:"!h-[384px] w-full sm:flex-1 sm:basis-[calc(50%-16px)] lg:flex-1 lg:basis-[calc(33.333%-16px)]",style:{}},null,8,["data","widget"]))),128))]),n("div",N,[i(y,{content:"Browse","icon-pack":"fan",icon:"article",link:c(g),style:{backgroundColor:"primary",backgroundShade:500,fontColor:"light",borderRadius:"large",fontWeight:"bold"}},null,8,["link"])])])}}});export{I 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.