PageSourceSearch

https://static.wbur.org/app/prod/_next/static/chunks/4345.ad7795d4456fc5c8.js

js wbur.org collected 2026-10-01 07:39:34 UTC 6,660 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4345,9111],{9230:function(e,t,n){n.d(t,{Z:function(){return u}});var r=n(5893),l=n(8153),s=n(5424);let a=(e,t)=>"channel"==e&&"leaderboard"!==t?[{viewport:[0,0],slot:[[300,50],[300,250],"fluid"]},{viewport:[900,0],slot:[[728,90],"fluid"]},{viewport:[1120,0],slot:[[970,250],[728,90],"fluid"]}]:"recirc"==t?[{viewport:[0,0],slot:[[300,50],[300,250],"fluid"]},{viewport:[900,0],slot:[[728,90],"fluid"]}]:"leaderboard"==t?[{viewport:[0,0],slot:[300,50]},{viewport:[900,0],slot:[728,90]}]:[{viewport:[0,0],slot:[[300,50],[300,250],"fluid"]},{viewport:[900,0],slot:[[728,90],"fluid"]},{viewport:[1120,0],slot:[[970,250],[728,90],"fluid"]}];var i=n(3372);let o=(e,t)=>{let n="/".concat(i.Tr.dfpId,"/");return t.length?"".concat(n).concat(t):"channel"!==e?"".concat(n,"wbur.billboard.landing'"):"".concat(n,"wbur.billboard")},d=(e,t,n,r,l,s,a)=>{let i=[];Array.isArray(l)&&l.forEach(e=>{("category"==e.type||"topic"==e.type)&&i.push(e.slug)});let o=[];Array.isArray(l)&&l.forEach(e=>{/tag/.test(e.type)&&o.push(e.slug)});let d=null;return a&&(d="billboard_".concat(r&&r>1?"btf":"atf","_").concat(a)),{adPosition:d,channel:s||"",routeType:e,articleID:t||null,newsSection:n||null,topics:i,tags:o}},c=e=>{let{index:t,routeType:n,adType:i,adUnit:c="wbur.billboard",adPositionBillboard:u,source:p,articleID:g,taxonomy:f,newsSection:b,css:h}=e;if("events"===p)return null;let m=o(n,c),v=d(n,g,b,t,f,p,u),w=a(n,i);return(0,r.jsx)("div",{className:h?"section--bp "+h:"section--bp",children:(0,r.jsx)("div",{className:"uw bp--outer",children:(0,r.jsxs)("div",{className:"bp-inner",children:[(0,r.jsx)("p",{className:"bp-label",children:"Support WBUR"}),(0,r.jsx)("div",{className:"bp-content bp-content--centered",children:(0,r.jsx)(l.Z,{children:(0,r.jsx)(s.Z,{path:m,targeting:v,sizeMapping:w})})})]})})})};var u=c},9111:function(e,t,n){n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(9230)},8153:function(e,t,n){var r=n(5893),l=n(3519),s=n(2905);let a=e=>{let{children:t}=e,n=(0,s.Z)(),a=()=>(0,r.jsx)("div",{className:"bp-label-ab",children:(0,r.jsxs)("span",{children:["Advertisements on wbur.org help support the news. Please consider a"," ",(0,r.jsx)(l.default,{href:"https://donate.wbur.org/secure/give?utm_medium=web&utm_source=wbur.org&utm_term=ad_block_message",children:"donation today!"})]})});return(0,r.jsx)(r.Fragment,{children:n?(0,r.jsx)(a,{}):t})};t.Z=a},5424:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(5893),l=n(7294),s=n(6075);n(5761);let a=e=>{let{path:t,targeting:n,slotSize:a,sizeMapping:i,viewableThreshold:o=.5}=e,d=(0,l.useId)().replace(/:/g,""),[c,u]=(0,l.useState)(!1),[p,g]=(0,l.useState)(null),f=(0,l.useRef)(null),[b,h]=(0,l.useState)(!1),m=(0,l.useRef)(null),v=()=>{let e=!window.googletag;e||u(!0);let t=window.googletag=window.googletag||{};t.cmd=t.cmd||[],e&&(t.cmd.push(()=>{t.pubads().enableSingleRequest(),t.pubads().disableInitialLoad(),t.enableServices()}),(()=>{let e=document.createElement("script");e.src="https://securepubads.g.doubleclick.net/tag/js/gpt.js",e.id="gptScript",e.async=!0,document.body.appendChild(e),u(!0)})())};return((0,l.useEffect)(()=>{v()},[]),(0,l.useEffect)(()=>{let e;if(!c||!b)return;let r=(e,t)=>{if(t){let n=t.reduce((e,t)=>e.addSize(t.viewport,t.slot),l.sizeMapping()).build();e.defineSizeMapping(n)}},{googletag:l}=window;return l.cmd.push(()=>{(e=l.defineSlot(t,a||[""],"adslot-".concat(d)))&&(r(e,i),l.pubads().enableSingleRequest(),l.pubads().collapseEmptyDivs(),l.enableServices(),e.addService(l.pubads()),e&&n&&(e.clearTargeting(),Object.keys(n).forEach(t=>{e.setTargeting(t,n[t])})),l.display("adslot-".concat(d)),l.pubads().refresh([e]))}),()=>{l.cmd.push(()=>{e&&l.destroySlots([e])})}},[c,t,p,b]),(0,l.useEffect)(()=>{let{current:e}=m;if(!e)return;let t=()=>window.innerWidth<900?"mobile":window.innerWidth<1120?"leaderboard":"billboard",n=(0,s.Ds)(()=>{let e=t();e!==f.current&&(f.current=e,g(e))},100);n(),window.addEventListener("resize",n);let r=new IntersectionObserver(e=>{e[0].isIntersecting&&h(!0)},{threshold:o});return r.observe(e),()=>{window.removeEventListener("resize",n),r.disconnect()}},[o]),t)?(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("div",{ref:m,id:"adslot-".concat(d)})}):null};var i=a},4345:function(e,t,n){n.r(t),n.d(t,{default:function(){return p}});var r=n(5893),l=n(8420),s=n(6780),a=n(3519),i=n(4622),o=n(9111);let d=e=>{let{index:t,stories:n,endsWith:l,adPosition:s,source:d,routeType:c,taxonomy:u,parentID:p,display:g,name:f}=e;if(n.length<1)return(0,r.jsx)("div",{className:"card--stream--not-found",children:(0,r.jsxs)("p",{children:["No stories were found. Please try using our site ",(0,r.jsx)(a.default,{href:"/search",children:"search"})," to find the program or story you are looking for."]})},"stream-stories-not-found");let b=e=>{let{adPosition:t}=e;return"adBanner"===l&&n.length>4?(0,r.jsx)("article",{className:"card--stream",children:(0,r.jsx)(o.default,{source:d,routeType:c,adType:"leaderboard",adUnit:"wbur.leaderboard",css:"section--bp-stream",taxonomy:u})},"adstr-"+t):null},h=n.filter(e=>{let{id:t}=e;return t&&t!==p}).map((e,n)=>(0,r.jsx)(i.Z,{name:f,contentItem:e,index:n,display:g,track:{event:"engagement",engagement_type:"channel"==c?"landing page":"story stream",engagement_name:"channel"==c?"section":f,engagement_title:e.headline,engagement_action:"click",engagement_section_name:"channel"==c?"stream":void 0,engagement_section_index:"channel"==c?(t+1).toString():void 0}},e.id));return"adBanner"===l&&s&&h.splice(s,0,(0,r.jsx)(b,{adPosition:s}
1,"str-ad-"+s)),(0,r.jsx)(r.Fragment,{children:h})};var c=n(6681);let u=e=>{let{index:t,endsWith:n,sectionLabel:a,sectionURL:i,linkLabel:o,contentItems:u,source:p,adPosition:g=5,routeType:f,taxonomy:b,loading:h=!1,display:m,name:v,meta:w}=e;return(null==u?void 0:u.length)<1?null:(0,r.jsxs)(l.default,{id:null==w?void 0:w.fragment,children:[a?(0,r.jsx)(s.Z,{linkUrl:i,linkLabel:o,label:a}):null,(0,r.jsx)("div",{className:"row row--river row--centered",children:(0,r.jsx)("div",{className:"zone",children:h?(0,r.jsx)(c.Z,{type:"box"}):(0,r.jsx)(d,{index:t,stories:u,endsWith:n,adPosition:g,source:p,routeType:f,taxonomy:b,display:m,name:v})})})]})};var p=u},2905:function(e,t,n){var r=n(7294);let l=()=>{let[e,t]=(0,r.useState)(!1),n=()=>{let n=document.querySelector("#jsdf8sdf78sjf3");if(!n){t(!0);return}setTimeout(()=>{var n,r;if(e)return;let l=document.querySelector('[id^="adslot-"]'),s=window.adsbygoogle=null!==(r=window.adsbygoogle)&&void 0!==r?r:{};!s.loaded&&((null==l?void 0:null===(n=l.childNodes)||void 0===n?void 0:n.length)||t(!0))},2500)};return(0,r.useEffect)(()=>{n()},[]),e};t.Z=l}}]);

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.