PageSourceSearch

https://static.wbur.org/app/prod/_next/static/chunks/pages/topic/[taxonomy]-7167af8854616b6a.js

js wbur.org collected 2026-09-24 07:31:16 UTC 3,108 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9464],{7815:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/topic/[taxonomy]",function(){return n(5287)}])},1511:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(5893),c=n(7294),a=n(5591),i=n(9008),s=n.n(i),o=n(1163),l=n(963),d=n(5357),u=n(4345),h=n(8420),x=n(5152),f=n.n(x);let p=f()(()=>Promise.resolve().then(n.bind(n,8420)),{loadableGenerated:{webpack:()=>[8420]}}),j=f()(()=>n.e(8350).then(n.bind(n,8350)),{loadableGenerated:{webpack:()=>[8350]}}),m=e=>{let{title:t,description:n,imageURL:c}=e;return c?(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(j,{index:1,headline:t,excerpt:n,imageData:{url:c}})}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("header",{className:"article-section--title article-section--title--full-width article-section--title--has-border",children:(0,r.jsx)("h1",{className:"page-hdr",children:t})}),n&&(0,r.jsx)(p,{children:(0,r.jsx)("p",{className:"article-lede",children:n})})]})};var v=n(3372),w=n(6681),g=n(6075);let _=e=>{let{taxData:t,channel:n,termData:i}=e,{query:x,asPath:f}=(0,o.useRouter)(),[p,j]=(0,c.useState)(1),{taxonomy:_}=x,{links:b}=t,k="",N="";if(_&&!x.channel){let e=f.substring(1).split("/");"news"===e[0]&&e.shift(),k=e[0],N=e[1]}else k=(null==_?void 0:_[0])?_[0]:"",N=(null==_?void 0:_[1])?_[1]:"";let{previous:y,next:E}=b,{name:F,description:P,imageURL:Z,id:U}=i||{},D=[{type:k,slug:N}],O=async e=>{try{let t=await fetch("".concat(v.T5,"/stories?limit=20&content=false&").concat(e));if(t.ok)return await t.json();throw"Error fetching stories"}catch(e){throw"Error fetching stories"}},R=n?"&sources=".concat(n):"",T="".concat(k,"=").concat(N).concat(R,"&page=").concat(p),{data:B,isLoading:C}=(0,a.ZP)(T,O,{fallbackData:t,revalidateOnFocus:!1,revalidateOnMount:!1});return y=B.links.previous,E=B.links.next,(0,c.useEffect)(()=>{E&&(0,a.MA)("".concat(k,"=").concat(N).concat(R,"&page=").concat(p+1),O)},[p]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s(),{children:(0,r.jsx)("title",{children:F?"".concat(F," | WBUR"):"WBUR"})}),(0,r.jsx)(l.Z,{rtype:k,id:U,children:(0,r.jsxs)("article",{className:"article",children:[(0,r.jsx)(m,{title:F,description:P,imageURL:Z}),(0,r.jsx)("span",{id:"zone"}),!B&&(0,r.jsx)("section",{className:"article-section--content article-section--centered article-section--page-intro",children:(0,r.jsx)("p",{children:"No stories found :("})}),C?(0,r.jsx)(w.Z,{type:"box"}):(0,r.jsx)(u.default,{index:1,contentItems:B.body,endsWith:"adBanner",routeType:"taxonomy",source:n,taxonomy:D,name:"taxonomy-archive"}),(0,r.jsx)(h.default,{children:(0,r.jsx)(d.Z,{previousUrl:y,nextUrl:E,setPage:j,classes:"row row--river row--centered",onClickFunc:g.k3})})]})})]})};var b=_},5287:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return i}});var r=n(5893),c=n(1511);let a=e=>{var t;let{taxData:n}=e;return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(c.Z,{taxData:n,termData:null===(t=n.context)||void 0===t?void 0:t.topic})})};var i=!0;t.default=a}},function(e){e.O(0,[5761,5945,8977,9774,2888,179],function(){return e(e.s=7815)}),_N_E=e.O()}]);

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.