1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8132],{9192:function(e,a,t){t.d(a,{Z:function(){return u}});var s=t(5893),i=t(7294),n=t(1163),o=t(906),r=t(9040),l=t.n(r),d=t(9981);function u(e){let{id:a,theme:t,adTargets:r,config:u,postTags:c}=e,p=(0,n.useRouter)(),m=p&&p.query,h=["badge_sports","badge_tags","badge_leagues"],g=!(0,o.xb)(m)&&Object.entries(m).find(e=>h.includes(e[0])),[_,f]=(0,i.useState)(!1),[v,x]=(0,i.useState)(!1),[w,j]=(0,i.useState)(!1),[y,N]=(0,i.useState)(r.data&&r.data),b=!!(null==u?void 0:u.error),S=!!(null==r?void 0:r.error),P=u.data&&u.data.sponsorship,{counterStatus:T,updateCounter:k}=(0,i.useContext)(d.k),L=(0,i.useCallback)((e,a)=>{k(e&&e.map(e=>(e.tag===a&&(e.count=e.count+1),e)))},[k]);if((0,i.useEffect)(()=>{if(void 0!==window.adUtility&&!r.isLoading&&!u.isLoading&&!b&&!S&&r.data&&u.data&&!_){if(g&&void 0!==g){let e=g[0],t=g[1],s=e.replace("badge_","");!_&&P["sponsor_targeting_".concat(s)].includes(t)&&(j(!0),window.setTimeout(()=>{delete r.data.tags,r.data[s]=t,window.adUtility.insertAd("inline-test-sponsor-"+a,{type:window.adUtility._AD_SPONSORSHIP_BUTTON,adPath:r.data.ad_unit_path,targeting:r.data}),f(!0)},100))}!g&&(u&&u.data.sponsorship.sponsor_targeting_tags.split("|")).some(e=>e===c)&&(x(!0),N({...y,tags:[c]}),window.setTimeout(()=>{if(void 0!==y.tags&&y.tags.length>0){let e=r&&r.sponsored_badges_total,t=r&&r.sponsored_badges_per_sponsor,s=T&&T.find(e=>e.tag===c),i=void 0!==s&&s.count;e!==(T&&T.reduce((e,a)=>e+a.count,0))&&i!==t&&(window.adUtility.insertAd("inline-sponsor-"+a,{type:window.adUtility._AD_SPONSORSHIP_BUTTON,adPath:y.ad_unit_path,targeting:y}),L(T,c))}f(!0)},100))}}),b||S)return null;let U="dark"===t?l()["sponsorship-wrapper"]+" "+l()["sponsorship-text-white"]:l()["sponsorship-wrapper"];return v?(0,s.jsx)("div",{className:U,children:(0,s.jsxs)("div",{className:l()["inline-text"],children:[(0,s.jsx)("div",{className:"sponsorship-badge-placeholder"}),(0,s.jsx)("span",{id:"inline-sponsor-"+a})]})}):w?(0,s.jsx)("div",{className:U,children:(0,s.jsxs)("div",{className:l()["inline-text"],style:{background:"floralwhite"},children:[(0,s.jsx)("div",{className:"sponsorship-badge-placeholder"}),(0,s.jsx)("span",{id:"inline-test-sponsor-"+a,style:{color:"red","font-weight":"bold"},children:a})]})}):null}},9600:function(e,a,t){t.d(a,{Z:function(){return o}});var s=t(5893),i=t(9435),n=t.n(i);function o(e){let{duration:a,type:t}=e;if(!1!==a){let e="audio"===t?n()["audio-duration-label"]:n()["video-duration-label"];return(0,s.jsx)("span",{className:e,children:a})}return(0,s.jsx)(s.Fragment,{})}},8132:function(e,a,t){t.r(a),t.d(a,{Element:function(){return v},HeadlinesVisualContainer:function(){return f},default:function(){return g},durationMeta:function(){return _}});var s=t(5893),i=t(7294),n=t(9600),o=t(9192),r=t(7990),l=t(9646),d=t(7722),u=t(4357),c=t(906),p=t(1100),m=t(9435),h=t.n(m);function g(e){let{post:a,onVideoPlay:t}=e,{useAdConfig:n,useAdTargets:o}=(0,r.I)(),d=a&&a.collection_data,[u,c]=(0,i.useState)({}),[p,m]=(0,i.useState)({autoplay:!1,hidePlayer:!0});return a?(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:"row "+h()["collection-headlines-visual-layout"],children:[(0,s.jsx)("div",{className:"row "+h()["headlines-visual"],children:(0,s.jsx)(f,{post:d&&d,adConfig:n&&n,adTargets:o&&o,onVideoPlay:t,setRadioData:c,setRadioPlayer:m})}),u.adpath&&(0,s.jsx)(l.RadioPlayer,{adpath:u.adpath,callLetter:u.callLetter,currentShowName:u.currentShowName,currentShowTime:u.currentShowTime,stationLogo:u.stationLogo,stationName:u.stationName,autoplay:!0,onDismiss:()=>setTimeout(()=>{m({hidePlayer:!0,autoplay:!1})},300),streamUrl:u.streamUrl,hidePlayer:p.hidePlayer,dismissable:!0})]})}):(0,s.jsx)(s.Fragment,{})}function _(e){let a=null;return null!==e&&("bc-video"===e.wp_post_type?a=(0,s.jsx)(n.Z,{duration:e.video_duration}):"sn-audio"===e.wp_post_type&&(a=(0,s.jsx)(n.Z,{duration:e.audio_duration,type:"audio"}))),a}function f(e){let{post:a,adConfig:t,adTargets:i,onVideoPlay:n,setRadioData:o,setRadioPlayer:r}=e;return a&&a.map((e,a)=>(0,s.jsx)("div",{className:"col-xs-12 col-sm-6 col-md-6",i:a,children:(0,s.jsx)(v,{adConfig:t,adTargets:i,onVideoPlay:n,item:e,setRadioData:o,setRadioPlayer:r})},"element-"+a))}function v(e){let{adConfig:a,adTargets:t,onVideoPlay:n,item:r,setRadioData:l,setRadioPlayer:m}=e,g=(0,u.e)(),[f,v]=(0,i.useState)({adpath:"",callLetter:"",currentShowName:"",currentShowTime:"",stationLogo:"",stationName:"",streamUrl:""});return(0,i.useEffect)(()=>{f.callLetter&&l({...f})},[f]),(0,s.jsxs)("a",{href:r.bc_video_id?"#":r.sn_custom_permalink,onClick:e=>{r.bc_video_id&&(e.preventDefault(),n(r.bc_video_id)),r.sn_custom_permalink.includes("?player=true")&&(e.preventDefault(),(0,p.D)(r,g,v),m({auto
1play:!0,hidePlayer:!1})),(0,c.b1)("moduleClick","".concat(r.data.title.toLowerCase()," : headlines visual"))},children:[(0,s.jsxs)("div",{className:h().image,children:[(0,s.jsx)("span",{dangerouslySetInnerHTML:{__html:r.images.square}}),_(r)]}),(0,s.jsx)("div",{className:h().meta,children:(0,s.jsxs)("div",{className:h()["meta-wrap"],children:[(0,s.jsxs)("span",{children:[r.importance?(0,s.jsx)("strong",{className:h()["breaking-badge"],children:r.importance}):r.league?(0,s.jsx)("strong",{className:"league-badge",children:r.league}):"",(0,s.jsx)("strong",{className:"author",children:r.data.author.data.display_name?!0===(0,c.hR)(r.data.author.data.display_name)?"":r.data.author.data.display_name:""})]}),(0,s.jsx)("h3",{children:(0,d.p1)(r.data.title)}),(0,s.jsx)(o.Z,{id:r.ID,adTargets:t,config:a,postTags:r.sponsor_tags})]})})]})}},1100:function(e,a,t){t.d(a,{D:function(){return o}});var s=t(5893),i=t(9744),n=t(7345);function o(e,a,t){let o,r,l,d,u,c,p,m,h;let g=e.sn_custom_permalink.split("/")[3];if("590"===g||"650"===g||"960"===g){let e=n.Mi[g];if(e){var _,f,v;({"call-letter":o,station_name:r,station_logo:l,"stream-url":p,adpath_web:c}=e),d=null===(_=a.get(o).data)||void 0===_?void 0:_.name,u="".concat(null===(f=a.get(o).data)||void 0===f?void 0:f.start_time.split(" ").join("")," - ").concat(null===(v=a.get(o).data)||void 0===v?void 0:v.end_time.split(" ").join("")),m=a.get(o).isLoading,h=a.get(o).isError}}if(m||t(e=>({...e,currentShowName:d,currentShowTime:u,stationLogo:l,adpath:c,callLetter:o,stationName:r,streamUrl:p})),h)return(0,s.jsx)(i.Z,{data:h})}}}]);
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.