1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9111],{9230:function(e,t,r){r.d(t,{Z:function(){return u}});var l=r(5893),n=r(8153),s=r(5424);let i=(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 o=r(3372);let a=(e,t)=>{let r="/".concat(o.Tr.dfpId,"/");return t.length?"".concat(r).concat(t):"channel"!==e?"".concat(r,"wbur.billboard.landing'"):"".concat(r,"wbur.billboard")},d=(e,t,r,l,n,s,i)=>{let o=[];Array.isArray(n)&&n.forEach(e=>{("category"==e.type||"topic"==e.type)&&o.push(e.slug)});let a=[];Array.isArray(n)&&n.forEach(e=>{/tag/.test(e.type)&&a.push(e.slug)});let d=null;return i&&(d="billboard_".concat(l&&l>1?"btf":"atf","_").concat(i)),{adPosition:d,channel:s||"",routeType:e,articleID:t||null,newsSection:r||null,topics:o,tags:a}},c=e=>{let{index:t,routeType:r,adType:o,adUnit:c="wbur.billboard",adPositionBillboard:u,source:p,articleID:b,taxonomy:f,newsSection:g,css:w}=e;if("events"===p)return null;let v=a(r,c),h=d(r,b,g,t,f,p,u),m=i(r,o);return(0,l.jsx)("div",{className:w?"section--bp "+w:"section--bp",children:(0,l.jsx)("div",{className:"uw bp--outer",children:(0,l.jsxs)("div",{className:"bp-inner",children:[(0,l.jsx)("p",{className:"bp-label",children:"Support WBUR"}),(0,l.jsx)("div",{className:"bp-content bp-content--centered",children:(0,l.jsx)(n.Z,{children:(0,l.jsx)(s.Z,{path:v,targeting:h,sizeMapping:m})})})]})})})};var u=c},9111:function(e,t,r){r.r(t),r.d(t,{default:function(){return l.Z}});var l=r(9230)},8153:function(e,t,r){var l=r(5893),n=r(3519),s=r(2905);let i=e=>{let{children:t}=e,r=(0,s.Z)(),i=()=>(0,l.jsx)("div",{className:"bp-label-ab",children:(0,l.jsxs)("span",{children:["Advertisements on wbur.org help support the news. Please consider a"," ",(0,l.jsx)(n.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,l.jsx)(l.Fragment,{children:r?(0,l.jsx)(i,{}):t})};t.Z=i},5424:function(e,t,r){r.d(t,{Z:function(){return o}});var l=r(5893),n=r(7294),s=r(6075);r(5761);let i=e=>{let{path:t,targeting:r,slotSize:i,sizeMapping:o,viewableThreshold:a=.5}
1=e,d=(0,n.useId)().replace(/:/g,""),[c,u]=(0,n.useState)(!1),[p,b]=(0,n.useState)(null),f=(0,n.useRef)(null),[g,w]=(0,n.useState)(!1),v=(0,n.useRef)(null),h=()=>{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,n.useEffect)(()=>{h()},[]),(0,n.useEffect)(()=>{let e;if(!c||!g)return;let l=(e,t)=>{if(t){let r=t.reduce((e,t)=>e.addSize(t.viewport,t.slot),n.sizeMapping()).build();e.defineSizeMapping(r)}},{googletag:n}=window;return n.cmd.push(()=>{(e=n.defineSlot(t,i||[""],"adslot-".concat(d)))&&(l(e,o),n.pubads().enableSingleRequest(),n.pubads().collapseEmptyDivs(),n.enableServices(),e.addService(n.pubads()),e&&r&&(e.clearTargeting(),Object.keys(r).forEach(t=>{e.setTargeting(t,r[t])})),n.display("adslot-".concat(d)),n.pubads().refresh([e]))}),()=>{n.cmd.push(()=>{e&&n.destroySlots([e])})}},[c,t,p,g]),(0,n.useEffect)(()=>{let{current:e}=v;if(!e)return;let t=()=>window.innerWidth<900?"mobile":window.innerWidth<1120?"leaderboard":"billboard",r=(0,s.Ds)(()=>{let e=t();e!==f.current&&(f.current=e,b(e))},100);r(),window.addEventListener("resize",r);let l=new IntersectionObserver(e=>{e[0].isIntersecting&&w(!0)},{threshold:a});return l.observe(e),()=>{window.removeEventListener("resize",r),l.disconnect()}},[a]),t)?(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("div",{ref:v,id:"adslot-".concat(d)})}):null};var o=i},2905:function(e,t,r){var l=r(7294);let n=()=>{let[e,t]=(0,l.useState)(!1),r=()=>{let r=document.querySelector("#jsdf8sdf78sjf3");if(!r){t(!0);return}setTimeout(()=>{var r,l;if(e)return;let n=document.querySelector('[id^="adslot-"]'),s=window.adsbygoogle=null!==(l=window.adsbygoogle)&&void 0!==l?l:{};!s.loaded&&((null==n?void 0:null===(r=n.childNodes)||void 0===r?void 0:r.length)||t(!0))},2500)};return(0,l.useEffect)(()=>{r()},[]),e};t.Z=n}}]);
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.