PageSourceSearch

https://www.gulfcoastnewsnow.com/_assets/fre/scopes/htv/_next/static/chunks/158-906036e738cc2da2.js

js gulfcoastnewsnow.com collected 2026-10-02 04:33:40 UTC 41,021 bytes, 70 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[158],{7370:(e,t,r)=>{"use strict";r.d(t,{default:()=>eq});var n=r(53954),i=r(92835);r(39983),r(45958),i.Ay.CLOSINGS_URL;var a=r(92890);i.Ay.VIDEO_RECOMMENDATIONS_ENABLE_LOGGING,new a.default("Video Recommendations Client"),i.Ay.VIDEO_RECOMMENDATIONS_TIMEOUT,i.Ay.VIDEO_RECOMMENDATIONS_CACHE_DURATION,i.Ay.VIDEO_RECOMMENDATIONS_ERROR_CACHE_DURATION,i.Ay.FEED_SERVICE_URL;var o=r(44557),l=r(25390),s=r(68394),c=r(57539),d=r(38413);let u=(0,c.J1)`
2	query SiteMetadataQuery($siteId: UUID!) {
3		sites(ID: $siteId) {
4			id
5			__typename
6			metadata {
7				web
8				social
9				links
10				defaults
11			}
12		}
13	}
14`;async function h(e){let{site:{site_id:t},graphqlClient:r}=e,n=await r.query({query:u,variables:{siteId:t},context:{cache:{strategy:d.D.dynamic,ttl:300}}});return n?.data?.sites?.[0]?.metadata}async function m(e){let t=e?.req?.site?.site_id;if(t)try{let{config:r}=await (0,l.H)(e,{configType:"htv-metadata",resourceId:t,resourceType:"site",consumer:"htv",slugs:e?.req?.site?.site_prefix??""});return r}catch(e){console.warn("GAI Search: fetchSiteHtvMetadata failed",e);return}}(0,s.cache)(h),(0,s.cache)(m),(0,c.J1)`
15	query ClosingsSectionQuery($siteId: UUID!) {
16		sites(ID: $siteId) {
17			id
18			__typename
19			sections(slug: "closings") {
20				__typename
21				id
22				display_id
23				title
24				slug
25				body
26				parent {
27					id
28					display_id
29					slug
30					metadata {
31						seo_meta_title
32						seo_meta_description
33						seo_meta_keywords
34					}
35				}
36				metadata {
37					seo_meta_title
38					seo_meta_description
39					seo_meta_keywords
40				}
41			}
42		}
43	}
44`;var p=r(92826),f=r(24226),g=r(35004),x=r(27607),y=r(52763),b=r(54288),w=r(67565),v=r(47333);let j={fontFamily:"var(--font-montserrat)",fontWeight:600,fontSize:"1.4rem"},S=w.A.div({backgroundColor:"rgba(44, 44, 44, 0.97)",position:"fixed",top:"0",left:"0",zIndex:"5999997",width:"100%",height:"100%",color:v.T.neutral[550]}),A=w.A.div({padding:"1.25rem",[b.fi.small]:{padding:"4.375rem 1.875rem 1.875rem"}}),k=w.A.button({color:v.T.neutral[50],float:"right",border:"none",background:"transparent"}),T=w.A.h2({...j}),_=w.A.label({position:"absolute",top:"-1000px",left:"-1000px",height:"1px",width:"1px",overflow:"hidden"}),C=w.A.input({...j,fontSize:"3.125rem",width:"20rem",background:"transparent",border:`1px solid ${v.T.neutral[550]}`,borderRadius:0,marginBottom:"1.25rem",color:v.T.neutral[550],textAlign:"center",letterSpacing:"1rem",padding:"5px 0"}),$=w.A.button({background:"transparent",color:"white",border:"none",marginLeft:"20px"}),E=w.A.button({...j,display:"block",background:"transparent",color:"white",border:"none",padding:0,margin:"20px 0"});function I({recentLocations:e,addLocation:t,isOpen:r=!1,onClose:i}){let[a,l]=(0,s.useState)(""),c=(0,s.useRef)(null),d=()=>{alert("That ZIP doesn't appear to be valid.")},u=async e=>{if(e.preventDefault(),null===/\d{5}/.exec(a)){d(),c.current?.focus();return}try{let e=await (0,o.Jf)(a);if(!e){d(),c.current?.focus();return}t({zip:e.zip,name:`${e.city}, ${e.state}`}),i()}catch{d(),c.current?.focus()}};if(!r)return null;let h=e=>(0,n.jsxs)(E,{onClick:()=>{t(e),i()},children:[e.name," ",e.zip]},e.zip);return(0,n.jsx)(S,{className:"weather-overlay",role:"dialog","aria-modal":"true","aria-label":"Search Locations",children:(0,n.jsxs)(A,{className:"page-overlay--inner",children:[(0,n.jsx)(k,{className:"weather-overlay-close-button","aria-label":"Close ZIP modal",onClick:i,children:(0,n.jsx)(y.GWt,{size:30,"aria-hidden":"true"})}),(0,n.jsxs)("form",{action:"/search",className:"search-form",method:"get",onSubmit:u,children:[(0,n.jsx)(T,{as:"h1",children:"Search location by ZIP code"}),(0,n.jsx)(_,{children:"ZIP"}),(0,n.jsx)(C,{ref:c,className:"zipcode-input",pattern:"[0-9]*",type:"text",name:"zip",id:"zip-input-field",maxLength:5,value:a,onChange:e=>l(e.target.value),autoComplete:"postal-code"}),(0,n.jsx)($,{type:"submit",className:"submit","aria-label":"Search ZIP code",children:(0,n.jsx)(x.KSO,{size:32,"aria-hidden":"true"})}),e[0]&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(T,{children:"Current Location"}),h(e[0])]}),e.slice(1).length&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(T,{children:"Recent Locations"}),e.slice(1).map(e=>h(e))]})]})]})})}let L=w.A.div({opacity:"1",overflow:"inherit",transition:"opacity 0.3s ease-in-out",backgroundColor:"rgba(44, 44, 44, 0.97)",position:"fixed",top:"0",left:"0",zIndex:"5999997",width:"100%",height:"100%"}),z=w.A.div({padding:"1.25rem","@media only screen and (min-width: 41.25rem)":{padding:"4.375rem 1.875rem 1.875rem"}}),N=w.A.button({color:v.T.neutral[50],float:"right",border:"none",background:"transparent",outline:"none",transition:"color .3s ease-in-out",textDecoration:"none",i:{lineHeight:"inherit",fontFamily:"var(--font-icon)",display:"inline-block",verticalAlign:"middle",fontWeight:"400",fontStyle:"normal",speak:"none"}}),R=w.A.div`
45	margin: 0 auto;
46	clear: both;
47`;w.A.div({fontFamily:"var(--font-montserrat), Helvetica, Arial, sans-serif",fontSize:"1.5rem",lineHeight:"1.2",boxSizing:"border-box",outline:"none",display:"block",background:"transparent",width:"100%",padding:"0.3125rem 0",border:"none",borderBottom:`1px solid ${v.T.neutral[825]}`,color:v.T.neutral[50],marginBottom:"1.25rem",borderRadius:"0",margin:"0"});let D=w.A.input({fontFamily:"var(--font-montserrat), Helvetica, Arial, sans-serif",fontSize:"1.5rem",lineHeight:"1.2",boxSizing:"border-box",outline:"none",display:"block",background:"transparent",width:"100%",padding:"0.3125rem 0",border:"none",borderBottom:`1px solid ${v.T.neutral[825]}`,color:v.T.neutral[50],marginBottom:"1.25rem",borderRadius:"0",fontWeight:"600","
47::placeholder":{color:v.T.neutral[50]},"::-webkit-search-cancel-button":{display:"none"}}),W=w.A.label({fontFamily:"var(--font-montserrat), Helvetica, Arial, sans-serif",fontSize:"1.125rem",lineHeight:"1.2",color:v.T.neutral[50],fontWeight:"600"});function M(){return(0,n.jsx)("svg",{width:"30",height:"30",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M20 4L4 20M4 4L20 20",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}function O({isOpen:e=!1,onClose:t}){let[r,i]=(0,s.useState)("");return e?(0,n.jsx)(L,{className:`page-overlay search-overlay ${e?"active":""}`,role:"dialog","aria-modal":"true","aria-label":"search",children:(0,n.jsxs)(z,{className:"page-overlay--inner",children:[(0,n.jsx)(N,{className:"page-overlay--close-button","aria-label":"Close search",onClick:()=>t(),children:(0,n.jsx)("i",{className:"icon icon-close01","aria-hidden":"true",children:(0,n.jsx)(M,{})})}),(0,n.jsx)(R,{className:"search-overlay--form",children:(0,n.jsxs)("form",{action:"/search",className:"search-form",method:"get",onSubmit:e=>{e.preventDefault(),window.location.href=`/search?q=${encodeURIComponent(r)}`},children:[(0,n.jsx)(D,{type:"search",name:"q",placeholder:"Search",value:r,onChange:e=>i(e.target.value),autoComplete:"off"}),(0,n.jsx)(W,{children:""===r?"Type to Search":"Press enter to search"})]})})]})}):null}let H=w.A.nav(({isActive:e})=>({left:0,position:"absolute",width:"17rem",backgroundColor:"rgba(44,44,44,.98)",zIndex:1e3,overflowY:"auto",paddingBottom:"4rem",transition:e?"visibility 0s linear 0s,transform .5s":"visibility 0s linear .5s,transform .5s",transform:e?"translateX(0)":"translateX(-17rem)",visibility:e?"visible":"hidden"})),F=w.A.button({padding:"24px 32px 8px 0",textAlign:"right",fontSize:"1.5rem",color:v.T.neutral[50],border:"none",background:"transparent",transition:"color .3s ease-in-out",textDecoration:"none",display:"flex",justifyContent:"flex-end",width:"100%"}),U=w.A.ul({listStyle:"none",margin:0,padding:"16px 32px 32px 16px"}),P=w.A.li({borderBottom:`1px solid ${v.T.neutral[875]}`,position:"relative","&:last-child":{borderWidth:0},a:{background:"transparent",padding:".625rem 0 .625rem .625rem",display:"inline-block",width:"100%",transition:"unset",textDecoration:"none",fontFamily:"var(--font-montserrat)",fontWeight:500,fontSize:"1.125rem",lineHeight:"1.2",color:v.T.neutral[50]},".menu-item-button":{background:"transparent",padding:"10px 12px",display:"inline-block",width:"100%",border:"none",textAlign:"left",fontFamily:"var(--font-montserrat)",fontWeight:500,fontSize:"1.125rem",lineHeight:"1.2",color:v.T.neutral[50],position:"relative"}}),B=w.A.ul({listStyle:"none",paddingLeft:0,borderTop:`1px solid ${v.T.neutral[875]}`}),q=w.A.li({borderBottom:`1px solid ${v.T.neutral[925]}`,a:{color:v.T.neutral[500],padding:"8px 12px 8px 32px"}}),G=w.A.span(({isExpanded:e})=>({position:"absolute",right:0,top:"50%",transform:"translateY(-50%)",color:v.T.neutral[500],fontSize:"30px",cursor:"pointer","&::before":{content:e?'"–"':'"+"'}})),J=w.A.span({display:"inline-block",width:"28px",height:"28px",position:"relative","&::before, &::after":{content:'""',position:"absolute",width:"100%",height:"2px",backgroundColor:"currentColor",top:"50%",left:0},"&::before":{transform:"rotate(45deg)"},"&::after":{transform:"rotate(-45deg)"}}),V=w.A.small({margin:"8px",fontFamily:"var(--font-montserrat)",fontWeight:500});function Z({appVersion:e,isActive:t,onClose:r,menu:i,sidebarTop:a}){let{expandedItems:o,handleToggleSubmenu:l}=function(){let[e,t]=(0,s.useState)(new Set);return{expandedItems:e,handleToggleSubmenu:(0,s.useCallback)(e=>{t(t=>{let r=new Set(t);return r.has(e)?r.delete(e):r.add(e),r})},[])}}(),c=(0,s.useCallback)((e,t)=>{let r=e.items&&e.items.length>0,i=o.has(t),a=Array.isArray(e.url)?e.url[0]:e.url;return(0,n.jsx)(P,{children:r?(0,n.jsxs)(n.Fragment,{children:[a?(0,n.jsxs)("a",{href:a,className:"menu-item-button","aria-expanded":i,"aria-label":`Navigate to ${e.label}`,tabIndex:0,children:[e.label,(0,n.jsx)(G,{isExpanded:i,onClick:e=>{e.preventDefault(),e.stopPropagation(),l(t)}})]}):(0,n.jsxs)("button",{className:"menu-item-button",onClick:()=>l(t),"aria-expanded":i,"aria-label":e.label,tabIndex:0,children:[e.label,(0,n.jsx)(G,{isExpanded:i,onClick:e=>{e.stopPropagation(),l(t)}})]}),i&&(0,n.jsx)(B,{children:e.items.map(e=>(0,n.jsx)(q,{children:(0,n.jsx)("a",{href:Array.isArray(e.url)?e.url[0]:e.url,tabIndex:0,"aria-label":`Navigate to ${e.label}`,children:e.label})},`${e.label}-${Array.isArray(e.url)?e.url[0]:e.url}`))})]}):(0,n.jsx)("a",{href:a,tabIndex:0,"aria-label":`Navigate to ${e.label}`,children:e.label})},`${e.label}-${a||t}`)},[o,l]),d=(0,s.useMemo)(()=>i?.map((e,t)=>c(e,t))||[],[i,c]);
47return(0,n.jsxs)(H,{isActive:t,id:"sidepanel",style:{top:a},"aria-label":"Main navigation",children:[(0,n.jsx)(F,{id:"sidepanel-close-button",onClick:r,onTouchStart:r,"aria-label":"Close navigation",tabIndex:0,children:(0,n.jsx)(J,{})}),(0,n.jsx)(U,{id:"sidepanel-menu",role:"menu",children:d}),(0,n.jsxs)(V,{"aria-hidden":"true",children:["NextFRE ",e]})]})}var X=r(73180),K=r(33639),Y=r(21802);r(82239),r(32207);var Q=r(81341),ee=r(92026);let et=w.A.div({fontFamily:"var(--font-montserrat)",fontWeight:600,fontSize:"0.875rem",borderBottom:`3px solid ${v.T.neutral[975]}`,backgroundColor:v.T.neutral[50],[b.Zj.small]:{minHeight:"75px"},[(0,b.v0)("48rem")]:{fontSize:"1rem"}}),er=(0,w.A)(b.LayoutContainer)({position:"relative",minHeight:"44px"}),en=w.A.div({padding:"6px 0",[b.fi.small]:{width:"calc(100% - 140px)"}}),ei=w.A.div({overflow:"hidden"}),ea=w.A.a({overflow:"hidden",textOverflow:"ellipsis",textDecoration:"none",display:"block",lineHeight:"28px",[b.fi.small]:{whiteSpace:"nowrap"}}),eo=w.A.span({color:v.T.red[400],textTransform:"uppercase"}),el=w.A.span({color:v.T.neutral[975],display:"-webkit-box",lineHeight:"1.2rem",maxHeight:"2.4rem",overflow:"hidden",textOverflow:"ellipsis",WebkitLineClamp:2,WebkitBoxOrient:"vertical",[b.fi.small]:{display:"inline",marginLeft:"10px"}}),es=w.A.span({color:v.T.neutral[850],marginLeft:"10px"}),ec=w.A.div({display:"flex",flexWrap:"wrap",alignItems:"center",">*":{marginRight:"15px"}}),ed=w.A.span({width:"100%",flexGrow:1,lineHeight:"28px",span:{marginLeft:"5px"},[b.fi.small]:{width:"auto",flexGrow:0,lineHeight:"normal"}}),eu=w.A.span({fontWeight:700}),eh=w.A.span({color:v.T.neutral[825],fontSize:"0.8rem",display:"inline-flex",alignItems:"center",svg:{marginRight:"3px"}}),em=w.A.div({display:"inline-block"}),ep={color:v.T.neutral[990],backgroundColor:"rgba(222, 222, 222, .8)",borderRadius:"2.5rem",border:"none",height:"28px",fontFamily:"inherit",display:"inline-flex",alignItems:"center",padding:"0 .4rem",svg:{verticalAlign:"text-top"}},ef=w.A.button({...ep,fontWeight:500,span:{marginLeft:"3px",display:"none",[b.fi.medium]:{display:"initial"}}}),eg=w.A.button({...ep,marginLeft:"5px"}),ex=w.A.a({display:"none",marginLeft:"30px",textDecoration:"none",color:v.T.neutral[1100],fontSize:"0.8rem",alignItems:"center",svg:{marginLeft:"10px"},[b.fi.medium]:{display:"inline-flex"}}),ey=w.A.div({background:"white",position:"absolute",top:"10px",right:"6px",display:"flex",flexShrink:0}),eb=w.A.span({color:v.T.neutral[825],textAlign:"center",padding:"0 6px"}),ew=w.A.button({background:"none",border:"none",padding:"0 8px"}),ev=(0,w.A)(ew)({paddingRight:"0"});function ej({content:e,frontendLinkTemplate:t,...r}){let i=(0,X.G)(e);return(0,n.jsx)(ei,{...r,children:(0,n.jsxs)(ea,{target:"_top",href:e.metadata.external_link||(0,K.JX)(e,t),children:[(0,n.jsx)(eo,{children:"Breaking News:"}),(0,n.jsxs)(el,{children:[e.metadata.index_title||e.title,i&&(0,n.jsx)(es,{children:i})]})]})})}function eS(e){return 1===e?"There is currently 1 active weather alert":`There are currently ${e} active weather alerts`}function eA({frontendLinkTemplate:e,weatherData:t,storedLocation:r,closingsCount:i,breakingNews:a,locateMeEnabled:o,handleLocateMeClick:l,handleChangeZipClick:c}){let d=(0,s.useRef)(null),[u,h]=(0,s.useState)(!1),[m,p]=(0,s.useState)(1),f=()=>{d?.current?.slickPause(),h(!0)},g=a?.sections.flatMap(e=>e.units.map(e=>e.data.content)),x=t?.alerts_count??0,b=x>0,w=!!(t||r?.zip),v=(g?.length??0)+ +!!i+ +!!b+ +!!w;return(0,n.jsx)(et,{children:(0,n.jsxs)(er,{children:[(0,n.jsx)(en,{children:(0,n.jsxs)(Y.A,{ref:e=>{d.current=e},...{slidesToShow:1,slidesToScroll:1,arrows:!1,dots:!1,infinite:v>1,autoplay:!0,autoplaySpeed:8e3,speed:500,draggable:!1,afterChange:e=>{p(e+1)}},children:[g?.map(t=>(0,n.jsx)(ej,{content:t,frontendLinkTemplate:e},t.display_id)),i&&(0,n.jsx)(ei,{children:(0,n.jsxs)(ea,{target:"_top",href:"/weather/closings",children:[(0,n.jsx)(eo,{children:"Closings"}),(0,n.jsx)(el,{children:1===i?"There is currently 1 active closing or delay":`There are currently ${i} active closings or delays`})]})}),b&&(0,n.jsx)(ei,{children:(0,n.jsxs)(ea,{target:"_top",href:"/alerts",children:[(0,n.jsx)(eo,{children:"Severe Weather"}),(0,n.jsx)(el,{title:eS(x),children:eS(x)})]})}),w&&(0,n.jsx)(ei,{children:(0,n.jsxs)(ec,{children:[(0,n.jsxs)(ed,{children:[t?(0,ee.y)(t)??"":(0,ee.Z)(r)??"",(0,n.jsx)("span",{children:t?.zip??r?.zip})]}),(0,n.jsx)(eu,{children:t?.current?`${t.current.temp_f}\xb0`:"—"}),(0,n.jsxs)(eh,{children:[(0,n.jsx)(Q.A,{size:28,iconName:t?.current?.icon_name,"aria-hidden":"true"}),t?.current?.sky??""]}),(0,n.jsxs)(eh,{children:[(0,n.jsx)(Q.A,{iconName:"precipitation",size:20,"aria-hidden":"true"}),t?.hourly?.[0]?`${t.hourly[0].precip_chance}%`:"—"]}),(0,n.jsxs)(em,{children:[(0,n.jsxs)(ef,{onClick:c,"aria-label":"Change weather location",children:[(0,n.jsx)(y.sIY,{size:16,"aria-hidden":"true"}),(0,n.jsx)("span",{children:"Change"})]}),o&&(0,n.jsx)(eg,{"aria-label":"Use current location for weather",onClick:()=>{l()},children:(0,n.jsx)(y.meu,{size:16,"aria-hidden":"true"})})]}),(0,n.jsxs)(ex,{target:"_top",href:"/weather",children:["MORE",(0,n.jsx)(y.X6T,{size:10,"aria-hidden":"true"})]})]})})]})}),0!==v&&(0,n.jsxs)(ey,{children:[(0,n.jsx)(ew,{onClick:()=>{d?.current?.slickPrev(),f()},"aria-label":"Previous Alert",children:(0,n.jsx)(y._Jj,{size:14})}),(0,n.jsxs)(eb,{children:[m," / ",v]}),(0,n.jsx)(ew,{onClick:()=>{d?.current?.slickNext(),f()},"aria-label":"Next Alert",children:(0,n.jsx)(y.X6T,{size:14})}),(0,n.jsx)(ev,{onClick:u?()=>{d?.current?.slickPlay(),h(!1)}:f,children:u?(0,n.jsx)(y.gSK,{size:18,"aria-label":"Play Alerts Carousel"}):(0,n.jsx)(y.kwt,{size:18,"aria-label":"Stop Alerts Carousel"})})]})]})})}let ek=w.A.header({backgroundColor:v.T.neutral[975],display:"block"}),eT=(0,w.A)(b.LayoutContainer)(({$noLeftPadding:e})=>({height:"4rem",...e&&{paddingLeft:0,"& .header-logo, & #header-logo-mobile":{marginLeft:0}},[b.fi.small]:{height:"6rem"}})),e_=w.A.button({color:v.T.neutral[500],verticalAlign:"middle",textAlign:"center",border:"none",background:"transparent",padding:0,transition:"color .3s ease-in-out",textDecoration:"none",height:"100%","&:hover":{color:v.T.neutral[50]},i:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"2rem",svg:{fontStyle:"normal",fontSize:"2rem",width:"2rem",height:"2rem",display:"block"}}}),eC=w.A.span({fontWeight:700,display:"none",fontFamily:"sans-serif",[b.fi.small]:{fontSize:".7rem",textTransform:"uppercase",display:"block",marginTop:".25rem",fontWeight:"700"}});w.A.i({display:"flex"});let e$=w.A.a({display:"none",marginLeft:".625rem",lineHeight:"4rem",[b.fi.small]:{marginLeft:"1.25rem",lineHeight:"6rem"},[b.fi.medium]:{display:"inline-block"},img:{verticalAlign:"middle",height:"2.8rem",[b.fi.small]:{height:"4.2rem"}}}),eE=w.A.a({display:"inline-block;",marginLeft:".625rem",lineHeight:"4rem",[b.fi.small]:{marginLeft:"1.25rem",lineHeight:"6rem"},[b.fi.medium]:{display:"none"},img:{verticalAlign:"middle",height:"2.8rem",[b.fi.small]:{height:"4.2rem",width:"auto"}}}),eI=w.A.ul({float:"right",display:"table",margin:0,padding:0,height:"4rem",listStyleType:"none",[b.fi.small]:{height:"6rem"},a:{fontFamily:"var(--font-montserrat)",fontSize:".75rem",lineHeight:"1.2",textTransform:"uppercase",textDecoration:"none",color:"inherit",display:"block"}}),eL=w.A.li({display:"table-cell",textAlign:"center",verticalAlign:"bottom",paddingLeft:".9375rem",paddingBottom:"19px",fontFamily:"var(--font-montserrat)",fontSize:"1rem",lineHeight:"1.2",color:v.T.neutral[500],[b.f
47i.small]:{paddingLeft:"1.875rem"}}),ez=w.A.li({[b.fi.small]:{paddingLeft:"1.875rem",display:"table-cell",textAlign:"center",verticalAlign:"bottom",paddingBottom:"19px",fontFamily:"var(--font-montserrat)",fontSize:"1rem",lineHeight:"1.2",color:v.T.neutral[500]}}),eN=w.A.div({display:"none",[b.fi.medium]:{display:"table-cell",paddingLeft:"6px",paddingRight:"6px"}}),eR=w.A.a({display:"flex",flexDirection:"column",cursor:"pointer","&:hover":{color:v.T.neutral[50]}}),eD=w.A.button({display:"flex",flexDirection:"column",cursor:"pointer",border:"none",background:"transparent",padding:0,margin:0,color:"inherit",fontFamily:"var(--font-montserrat)",fontSize:".75rem",lineHeight:"1.2",textTransform:"uppercase",textDecoration:"none","&:hover":{color:v.T.neutral[50]}}),eW=w.A.div({fontWeight:600,display:"none",[b.fi.small]:{display:"block",marginTop:".25rem"}}),eM=w.A.span({fontFamily:"var(--font-montserrat)",fontSize:".9375rem",fontWeight:600,lineHeight:"1.2",minWidth:"21px",display:"inline-block",[b.fi.small]:{fontSize:"1rem"}}),eO=w.A.i(({fontSize:e="0.9rem"})=>({margin:"4px",svg:{fontSize:e,width:e,height:e,verticalAlign:"middle",marginBottom:".25rem"}})),eH=w.A.div({display:"flex",alignItems:"center",justifyContent:"center",img:{margin:"4px"}});w.A.button({background:"none",border:"none",color:"white"});var eF=r(98663);let eU=({assets:e,accessibilityName:t})=>{let r=e?.alternate_logo,i=(0,eF.k2)(e?.alternate_logo),a=(0,eF.k2)(e?.logo),o=(0,eF.k2)(e?.logo_mobile||e?.logo);return(0,n.jsx)(n.Fragment,{children:r?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(e$,{href:"/",target:"_top",className:"header-logo",children:(0,n.jsx)("img",{src:i,alt:t,height:67,width:200})}),(0,n.jsx)(eE,{id:"header-logo-mobile",href:"/",target:"_top",children:(0,n.jsx)("img",{src:i,alt:t,height:44,width:133,fetchPriority:"high"})})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(e$,{href:"/",target:"_top",className:"header-logo",children:(0,n.jsx)("img",{src:a,alt:t,height:67,width:200})}),(0,n.jsx)(eE,{id:"header-logo-mobile",href:"/",target:"_top",children:(0,n.jsx)("img",{src:o,alt:t,height:44,width:133,fetchPriority:"high"})})]})})};function eP({weatherData:e}){let t=e?.current.temp_f,r=e?.current.icon_name;return(0,n.jsx)(eL,{id:"weather-nav-item",children:(0,n.jsxs)(eR,{id:"nav-menu-weather-button",target:"_top",href:"/weather",children:[(0,n.jsxs)(eH,{children:[(0,n.jsx)(Q.A,{iconName:r,size:20,"aria-hidden":"true"}),(0,n.jsx)(eM,{children:t&&`${t}\xb0`})]}),(0,n.jsx)(eW,{id:"nav-item-text",children:"WEATHER"})]})})}var eB=r(62408);function eq({appVersion:e,frontendLinkTemplate:t,menu:r,defaultZipCode:i,assets:a,fullName:l,shortName:c,closingsCount:d,breakingNews:u,hideMenuButton:h=!1,hideSearch:m=!1,hideCarousel:x=!1,hideNavMenu:y=!1}){let[w,v]=(0,s.useState)(!1),{sidebarTop:j,syncSidebarTop:S}=function(e){let[t,r]=(0,s.useState)(`${b.Cp}px`),n=(0,s.useCallback)(()=>{var e,t;let n=(e=document.querySelector("#nowcast-header"),(t=document.querySelector("#header-inner"))?(e?.clientHeight??0)+t.clientHeight:b.Cp);r(`${n}px`)},[]);return(0,s.useEffect)(()=>{if(e)return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)},[e,n]),{sidebarTop:t,syncSidebarTop:n}}(w),[A,k]=(0,s.useState)(!1),[T,_]=(0,s.useState)(!1),[C,$]=(0,s.useState)(),[E,L]=(0,s.useState)(!1),{addLocation:z,setCurrentLocationName:N,currentZip:R,recentLocations:D}=(0,g.KE)({defaultZipCode:i});(0,s.useEffect)(()=>{L("u">typeof navigator&&!!navigator.geolocation)},[]);let W=async()=>{try{let e=await (0,eB.gW)();e&&z(e)}catch(e){console.error("Error using current location for weather",e)}};return(0,s.useEffect)(()=>{let e=R?.zip;if(!e)return;let t=!1;return(async()=>{try{let r=await (0,o.Jf)(e);if(t)return;$(r),r?.city!=null&&r?.state!=null&&N(e,`${r.city}, ${r.state}`)}catch(e){console.error("Error fetching simple weather for top nav",e),t||$(void 0)}})(),()=>{t=!0}},[R?.zip]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(O,{isOpen:A,onClose:()=>{k(!1)}}),(0,n.jsx)(I,{isOpen:T,onClose:()=>{_(!1)},recentLocations:D,addLocation:z}),(0,n.jsxs)(ek,{id:"header",children:[(0,n.jsxs)(eT,{id:"header-inner",$noLeftPadding:h,children:[!h&&(0,n.jsxs)(e_,{id:"header-sidepanel-button",title:"Navigation","aria-controls":"sidepanel",onClick:()=>{S(),v(!w)}
47,children:[(0,n.jsx)("i",{id:"bars","aria-hidden":!0,children:(0,n.jsx)(f.g,{icon:p.ckx})}),(0,n.jsx)(eC,{id:"header-sidepanel-text",children:"Menu"})]}),(0,n.jsx)(eU,{assets:a,accessibilityName:c||l}),!y&&(0,n.jsxs)(eI,{id:"nav-menu",children:[(0,n.jsx)(eL,{id:"nav-item","data-id":"1",children:(0,n.jsxs)(eR,{id:"brazeSubscribe",href:"/subscribe",children:[(0,n.jsx)(eO,{children:(0,n.jsx)(f.g,{icon:p.y_8,"aria-hidden":!0})}),(0,n.jsx)(eW,{id:"brazeSubscribeText",children:"SUBSCRIBE TO EMAILS"})]})}),(0,n.jsx)(eP,{weatherData:C}),!m&&(0,n.jsx)(ez,{id:"nav-search-item",children:(0,n.jsx)(eN,{id:"desktop-only",children:(0,n.jsxs)(eD,{id:"nav-search-button",type:"button","aria-label":"Search",onClick:()=>k(!0),onTouchStart:()=>k(!0),children:[(0,n.jsx)(eO,{children:(0,n.jsx)(f.g,{icon:p.MjD,"aria-hidden":!0})}),(0,n.jsx)(eW,{id:"nav-item-text",children:"SEARCH"})]})})})]})]}),!x&&(0,n.jsx)(eA,{frontendLinkTemplate:t,weatherData:C,storedLocation:R,locateMeEnabled:E,closingsCount:d,breakingNews:u,handleLocateMeClick:W,handleChangeZipClick:()=>_(!0)})]}),!h&&(0,n.jsx)(Z,{appVersion:e,menu:r,isActive:w,onClose:()=>v(!1),sidebarTop:j})]})}},9900:(e,t,r)=>{"use strict";r.d(t,{y:()=>i});var n=r(92835);function i(e){let t=n.Ay[e];if(t)return t;if("u">typeof document)try{let t=document.getElementById("runtimeConfig"),r=t?.textContent;if(!r)return;return JSON.parse(r)[e]}catch{return}}},25390:(e,t,r)=>{"use strict";r.d(t,{H:()=>o});var n=r(57539),i=r(38413);let a=(0,n.Ay)`
48	query ConfigQuery(
49		$resourceId: String!
50		$resourceType: String!
51		$slugs: String!
52		$debug: String!
53		$consumer: String!
54		$configType: String!
55	) {
56		cacheable_config(
57			resource_id: $resourceId
58			config_type: $configType
59			resource_type: $resourceType
60			consumer: $consumer
61			slugs: $slugs
62			debug: $debug
63		) {
64			merged_configs: merged_config_ids
65			config
66			hash
67			__typename
68		}
69	}
70`;async function o(e,t,r={}){let{graphqlClient:n}=e.req,{resourceId:l,resourceType:s,slugs:c="",debug:d="",consumer:u="htv",configType:h="theme"}=t,{cache:m=!0}=r,p=m?{cache:{strategy:i.D.config}}:{cache:!1},f=c;if(!m){let e=`nocache_${Date.now()}`;f?f+=`,${e}`:f=e}let{data:g}=await n.query({query:a,variables:{resourceId:l,resourceType:s,slugs:f,debug:d,consumer:u,configType:h},requiredFields:["cacheable_config.config"],context:p});if(g?.notFound)return{isValid:!1,config:g};let{merged_configs:x,config:y,hash:b}=g.cacheable_config||{};return x?.length&&e?.res?.locals.surrogateKeys.push(...x),b&&Object.defineProperty(y,"hash",{value:b}),{isValid:!!y,config:y}}},33639:(e,t,r)=>{"use strict";r.d(t,{JX:()=>i,tp:()=>a});var n=r(27566);let i=(e,t)=>{let r=t?.replace("{slug}",e.slug).replace("{display_id_absolute}",e.display_id.toString());return r?(0,n.IU)(r):""},a=(e,t)=>i(e,t?.links?.templates?.ContentModel?.frontendLinkTemplate)},35004:(e,t,r)=>{"use strict";r.d(t,{pY:()=>l,KE:()=>o});var n=r(75797),i=r.n(n),a=r(68394);function o({defaultZipCode:e}={}){let t="hrst.zip.history",r=(0,a.useMemo)(()=>e??("u">typeof globalThis&&globalThis.DEFAULT_ZIPCODE||"10001"),[e]),{get:n,set:i}={get:e=>{try{if(!window.localStorage)return null;return JSON.parse(localStorage.getItem(e)??"null")}catch(e){return console.warn("Cannot get value from localStorage",e),null}},set:(e,t)=>{try{if(!window.localStorage)return;localStorage.setItem(e,JSON.stringify(t))}catch(e){console.warn("Cannot set value on localStorage",e)}},remove:e=>{try{if(!window.localStorage)return;localStorage.removeItem(e)}catch(e){console.warn("Cannot remove from localStorage",e)}}},[l,s]=(0,a.useState)(()=>[{zip:r}]),c=(0,a.useMemo)(()=>l[0],[l]),d=(0,a.useMemo)(()=>c?.zip||r,[c,r]),u=(0,a.useRef)(n),h=(0,a.useRef)(r);(0,a.useEffect)(()=>{u.current=n,h.current=r},[n,r]),(0,a.useEffect)(()=>{let e=()=>{try{let e=u.current(t);e&&e.length>0?s(e):s([{zip:h.current}])}catch{s([{zip:h.current}])}},r=r=>{r.key===t&&e()},n=()=>{e()};return"u">typeof globalThis&&globalThis.window&&(e(),globalThis.window.addEventListener("storage",r),globalThis.window.addEventListener("zipCodeChange",n)),()=>{"u">typeof globalThis&&globalThis.window&&(globalThis.window.removeEventListener("storage",r),globalThis.window.removeEventListener("zipCodeChange",n))}},[t]);let m=e=>{i(t,e),s(e),"u">typeof globalThis&&globalThis.window&&globalThis.window.dispatchEvent(new Event("zipCodeChange"))};return{zipcode:d,addLocation:e=>{let r=n(t)??[];r.length>=5&&r.pop();let i=r.findIndex(t=>t.zip===e.zip);-1!==i&&r.splice(i,1),r.unshift(e),m(r)},setCurrentLocationName:(e,r)=>{let i=n(t);if(!i||0===i.length)return void m([{zip:e,name:r}]);let[a,...o]=i;a.zip===e&&a.name!==r&&m([{...a,name:r},...o])},currentZip:c,recentLocations:l}}async function l(e,t){let r=await fetch("https://assets.htvapps.com/global/zips.json",{method:"GET"}),n=await r.json();return i().createKdTree(n,function(e,t){return Math.pow(e.lat-t.lat,2)+Math.pow(e.lng-t.lng,2)},["lat","lng"]).nearest({lat:e,lng:t},1)[0][0].zip}}
70,36216:e=>{e.exports={}},37280:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(53954),i=r(78911);let a=/^(https?:)?\/\//,o=function({designTokenPath:e,...t}){let r=a.test(e)?e:"",o=(0,i.i)(e,r);return o?(0,n.jsx)("img",{src:o,...t,"data-design-token-path":e,"data-server-src":o,suppressHydrationWarning:!0}):(0,n.jsx)("img",{alt:"",...t,suppressHydrationWarning:!0,style:{display:"none"}})}},39983:(e,t,r)=>{"use strict";r.d(t,{u:()=>l});var n=r(54733),i=r(92890),a=r(45958);let o=new i.default("upstream-http");async function l(e,t={}){try{let r=await (0,n.hd)(e,{method:t.method??"GET",headers:t.headers??{"Content-Type":"application/json"},timeout:t.timeout??5e3,cache:null!=t.cacheTtl?{ttl:t.cacheTtl}:{ttl:120},throwIfErrorStatus:!0});if(null==r)return{status:"empty"};return{status:"ok",data:r}}catch(r){let t=r instanceof Error?r:Error(String(r));return o.error(`Upstream fetch failed: ${e}`,t),{status:"failed",error:t,httpStatus:(0,a.Xd)(t)}}}},44557:(e,t,r)=>{"use strict";r.d(t,{IM:()=>c,Jf:()=>s,aj:()=>d});var n=r(9900),i=r(39983),a=r(45958);let o={"Content-Type":"application/json"};function l(){return(0,n.y)("RUNTIME_WEATHER_URL")}async function s(e){return u(`${l()}/api/v1/weather/simple/${e}`)}async function c(e){return u(`${l()}/api/v1/weather/full/${e}`)}async function d(e){return u(`${l()}/api/v1/alerts/${e}`)}async function u(e){let t=await (0,i.u)(e,{headers:o,timeout:5e3,cacheTtl:600}),r=(0,a.pb)(t,`Weather fetch failed: ${e}`);return r?.data}},45958:(e,t,r)=>{"use strict";r.d(t,{Xd:()=>l,pb:()=>a});
70class n extends Error{constructor(e="Upstream content fetch failed",t){super(e,t),this.name="UpstreamFetchError"}}class i extends Error{constructor(e="Primary upstream output is empty"){super(e),this.name="EmptyOutputError"}}function a(e,t){if("ok"===e.status)return e.data;if("empty"===e.status)throw new i(t);if(e.error instanceof n)throw null!=e.httpStatus&&null==e.error.httpStatus&&(e.error.httpStatus=e.httpStatus),e.error;let r=new n(t,{cause:e.error});throw r.httpStatus=e.httpStatus,r}function o(e){if("number"==typeof e&&e>=100&&e<600)return e}function l(e){let t=e;for(let e=0;e<6&&t&&"object"==typeof t&&null!==t;e++){let e=t,r=o(e.httpStatus)??o(e.status)??o(e.statusCode);if(null!=r)return r;t=e.cause}}},47333:(e,t,r)=>{"use strict";r.d(t,{A:()=>i,T:()=>n});let n={neutral:{50:"#ffffff",100:"#f5f5f5",125:"#f7f7f7",150:"#f3f3f3",200:"#eeeeee",250:"#ececec",275:"#e3e3e3",300:"#e0e0e0",350:"#d8d8d8",400:"#cdcdcd",450:"#cccccc",500:"#c5c5c5",525:"#A4A4A4",550:"#9b9b9b",580:"#909090",600:"#999999",650:"#888888",700:"#767676",750:"#737373",775:"#5E5E5E",780:"#797979",800:"#6e6e6e",825:"#666666",830:"#6A6C6E",850:"#595959",875:"#515151",880:"#676767",900:"#414141",925:"#383939",950:"#333333",975:"#2c2c2c",990:"#222222",1e3:"#444444",1100:"#000000"},blue:{50:"#06c",60:"#7db7f1",80:"#69c",90:"#42a1ff",100:"#3367d6",200:"#0066cc",300:"#0063cc",400:"#0063cf",500:"#0066cc",525:"#007bff",550:"#1C58B8",600:"#003399",700:"#3b5998",800:"#0000ff",900:"#001122"},red:{400:"#ea1031",500:"#ff0000",550:"#CC0000",600:"#ce0000",700:"#a60300",800:"#460606"},green:{500:"#00ff00",600:"#1a7a78"}},i=n},54288:(e,t,r)=>{"use strict";r.d(t,{Cp:()=>s,F0:()=>i,Jw:()=>o,LayoutContainer:()=>h,Zj:()=>d,fi:()=>c,oV:()=>u,v0:()=>a});var n=r(67565);let i={small:"41.25rem",medium:"61.25rem",large:"73.75rem"},a=e=>`@media only screen and (min-width: ${e})`,o=e=>`@media only screen and (max-width: ${e})`,l=e=>`@media only screen and (max-width: ${e}) and (max-height: 600px)`,s=136,c={small:a(i.small),medium:a(i.medium),large:a(i.large)},d={small:o(i.small),medium:o(i.medium),large:o(i.large)},u={small:l(i.small),medium:l(i.medium),large:l(i.large)},h=n.A.div({maxWidth:"75rem",margin:"0 auto",paddingLeft:"2%",paddingRight:"2%",[c.medium]:{paddingLeft:"1%",paddingRight:"1%"}})},57332:()=>{},58716:()=>{},62408:(e,t,r)=>{"use strict";r.d(t,{We:()=>u,_t:()=>l,fU:()=>d,fi:()=>o,gW:()=>c,gx:()=>p,lW:()=>s,lp:()=>m,o5:()=>f,rW:()=>h,yo:()=>a});var n=r(44557),i=r(35004);let a=/^\d{5}$/,o=/\D/g,l=(e,t)=>{let r=encodeURIComponent(e),n=encodeURIComponent(t);return{facebook:{iconPath:"static/icons/social/facebook.svg",iconSize:20,alt:"Share to Facebook",ariaLabel:"Share this article to Facebook",handler:()=>{let e=`https://www.facebook.com/sharer.php?u=${r}&t=${n}`;window.open(e,"_blank","width=600,height=400")}},twitter:{iconPath:"static/icons/social/x.svg",iconSize:20,alt:"Share to Twitter",ariaLabel:"Share this article to Twitter",handler:()=>{let e=`https://twitter.com/share?url=${r}&text=${n}&count=none/`;window.open(e,"_blank","width=600,height=400")}},"e-mail":{iconPath:"static/icons/social/email.svg",iconSize:20,alt:"Email",ariaLabel:"Email this article",handler:()=>{window.location.href=`mailto:?subject=${n}&body=${r}`}}}},s=async(e,t,r)=>{try{await navigator.clipboard.writeText(e)}catch{t?.current&&(t?.current.select(),document.execCommand("copy"))}finally{r("Link copied!")}},c=async()=>"u"<typeof navigator||!navigator.geolocation?null:new Promise((e,t)=>{navigator.geolocation.getCurrentPosition(async t=>{let r=await (0,i.pY)(t.coords.latitude,t.coords.longitude),a=await (0,n.IM)(String(r));a?e({zip:a.zip,name:`${a.city}, ${a.state}`}):e(null)},t)}),d=e=>{if(!e)return"—";let t=/([1-2]?[0-9]:[0-9]{2}):[0-9]{2}\s*(am|pm)/i.exec(e);return t?`${t[1]} ${t[2].toLowerCase()}`:e},u=e=>{if(!e)return 12;try{let t=new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1,timeZone:e}).format(new Date);return parseInt(t,10)||0}catch{return 12}},h=(e,t)=>0===e?"Today":1===e?"Tomorrow":t,m=(e,t)=>0===e?"Tonight":1===e?"Tomorrow Night":`${t} Night`,p=(e,t)=>{if(e>0)return!0;try{return 15>
70parseInt(new Date().toLocaleString("en-US",{timeZone:t,hour:"numeric",hour12:!1}),10)}catch{return!0}},f=e=>{if(!e?.length)return[];let t=e[0].day,r=7;switch(t){case"Friday":r=3;break;case"Saturday":r=2;break;case"Sunday":r=1}return e.filter(e=>e.day_offset<r&&("Friday"===e.day||"Saturday"===e.day||"Sunday"===e.day))}},73180:(e,t,r)=>{"use strict";r.d(t,{G:()=>i});var n=r(68394);let i=(e,t)=>{let[r,i]=(0,n.useState)(void 0);return(0,n.useEffect)(()=>{i(((e,t=120)=>{if(!e.updated_at)return;let r=Math.floor(Math.floor((Date.now()-new Date(e.updated_at).getTime())/1e3)/60);if(!(r<1)&&!(r>t))return r>=60?"1 HR":`${r} MIN`})(e,t))},[e.updated_at,t]),r}},78911:(e,t,r)=>{"use strict";r.d(t,{i:()=>l});var n=r(47463),i=r(22537),a=r(79031),o=r(68394);function l(e,t=""){let r=(0,i.useAtomValue)(n.yj.atom),[s,c]=(0,o.useState)(0),d=(0,o.useRef)(!1),u=(0,a.yF)((0,o.useCallback)(e=>{let t=n.yj.clientAtom;return t?e(t):Promise.resolve(void 0)},[]));return(0,o.useEffect)(()=>{r&&"resolve"in r&&!r.hasManifest&&!d.current&&(d.current=!0,u().then(e=>{e&&r&&"setManifest"in r&&(r.setManifest(e),c(e=>e+1))}).catch(()=>{}))},[r,u]),(0,o.useMemo)(()=>{let n;return(n=t=>{if(t&&"resolve"in t)try{let r=t.resolve(e);if(r&&(r.startsWith("http://")||r.startsWith("https://")||r.startsWith("//")||r!==e&&r!==`/${e}`&&!(!r.startsWith("/")||r.startsWith("/static/"))))return r}catch{}})(r)??n(null)??t},[r,null,e,t,s])}},81341:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(53954),i=r(37280);let a=new Set(["chanceflurries","chancerain","chancesleet","chancesnow","chancetstorms","clear","cloudy","flurries","fog","hazy","mostlycloudy","partlycloudy","partlysunny","rain","sleet","snow","sunny","tstorms","wind","humidity","hightemp","lowtemp","sunrise","sunset","precipitation"]);function o({iconName:e,size:t=24,title:r,...l}){let s=function(e){if(!e)return"unknown";let t=e.startsWith("nt_"),r=t?e.slice(3):e,n=a.has(r)?r:"unknown";return t?`nt_${n}`:n}(e);return(0,n.jsx)(i.A,{designTokenPath:`static/icons/weather/${s}.svg`,alt:r??"",title:r,width:t,height:t,...l})}},92026:(e,t,r)=>{"use strict";function n(e){return e?.city!=null&&e?.state!=null?`${e.city}, ${e.state}`:null}function i(e){return e?.name?.trim()||null}r.d(t,{Z:()=>i,y:()=>n})},94226:()=>{},96121:(e,t,r)=>{"use strict";r.d(t,{default:()=>k});var n=r(53954),i=r(67565),a=r(54288),o=r(47333);let l=i.A.div({overflow:"hidden",height:"2.5rem"}),s=i.A.div({display:"inline-block",[a.fi.small]:{width:"60%"}}),c=i.A.span({float:"left",fontWeight:600,marginRight:".3125rem",lineHeight:"2.5rem",fontFamily:"var(--font-montserrat)",fontSize:"1.0625rem",color:o.T.neutral[50]}),d=i.A.span({fontWeight:700,float:"left",lineHeight:"2.5rem",color:o.T.neutral[50],display:"none",[a.fi.large]:{display:"inline-block",textOverflow:"ellipsis",overflow:"hidden",maxWidth:"80%",whiteSpace:"nowrap"},[a.fi.medium]:{display:"inline-block",textOverflow:"ellipsis",overflow:"hidden",maxWidth:"80%",whiteSpace:"nowrap"},[a.fi.small]:{fontFamily:"var(--font-montserrat)",fontSize:"1.0625rem"},[a.oV.large]:{display:"inline-block",textOverflow:"ellipsis",overflow:"hidden",maxWidth:"80%",whiteSpace:"nowrap"}}),u=i.A.div({float:"right",height:"2.5rem",[a.fi.small]:{width:"38%"}}),h=i.A.i({float:"right",width:"2.5rem",height:"2.5rem",marginLeft:".625rem",position:"relative",top:"0",right:"0",textAlign:"center",lineHeight:"2.5rem",background:"rgba(255, 255, 255, .3)",color:o.T.neutral[50],verticalAlign:"baseline",fontSize:"1.1rem",fontFamily:"var(--font-icon)",fontWeight:400,fontStyle:"normal",speak:"none",textDecoration:"inherit",textTransform:"none",textRendering:"auto",display:"flex",alignItems:"center",justifyContent:"center"}),m=i.A.span({fontWeight:600,float:"right",lineHeight:"2.5rem",color:o.T.neutral[50],fontFamily:"var(--font-montserrat)",[a.fi.small]:{fontSize:"1.0625rem"}}),p=i.A.span({display:"inline-block",width:"0",height:"0",borderTop:"7px solid transparent",borderBottom:"7px solid transparent",borderLeft:"12px solid white",marginLeft:"2.5px"});var f=r(68394),g=r(54733),x=r(9900);r(36216);function y(e){let t;return((t=(0,x.y)("RUNTIME_NOWCAST_DISABLED_STATIONS"))?JSON.parse(t):["wmor"]).includes(e)}let b=()=>({enabled:!1}),w=new Map;async function v(e){let t;if(y(e))return console.debug("Nowcast is disabled for station."),b();let r=`${(0,x.y)("RUNTIME_NOWCAST_URL")}/${e}/status`;if((t=w.get(r))&&Date.now()-t.timestamp<3e4)return b();try{let e=await (0,g.hd)(r,{method:"GET",timeout:2e3,cache:{ttl:30},throwIfErrorStatus:!0,headers:e=>({})});if(!e?.data)throw Error("Nowcast response has no data");return e.data}catch(e){return w.set(r,{timestamp:Date.now()}),console.error(`Error fetching nowcast status from ${r}`,e),b()}}let j={enabled:!1,is_live:!1,is_ondemand:!1,stream:"",bar_title:""};async function S(e){var t;return y(e)?j:(t=await v(e),{enabled:!!t?.enabled,is_live:t?.mode==="live",is_ondemand:t?.mode==="demand",stream
70:t?.stream,bar_title:t?.bar_title})}let A={live:{backgroundColor:o.T.red[600],hint:"Live Now"},onDemand:{backgroundColor:o.T.blue[400],hint:"Watch on Demand"},comingSoon:{backgroundColor:o.T.red[600],hint:"Coming up Soon"}};function k({nowcastData:e,sitePrefix:t}){let{nowcastData:r}=function({initialData:e,sitePrefix:t}){let[r,n]=(0,f.useState)(e||null),i=(0,f.useRef)(!1),a=(0,f.useCallback)(async()=>{if(!i.current){i.current=!0;try{n(await S(t))}finally{i.current=!1}}},[t]);return(0,f.useEffect)(()=>{a();let e=setInterval(a,3e4);return()=>{clearInterval(e)}},[a]),{nowcastData:r}}({initialData:e,sitePrefix:t});if(!r?.enabled)return null;let i=A[r.is_live?"live":r.is_ondemand?"onDemand":"comingSoon"];return(0,n.jsx)(l,{id:"nowcast-header",style:{backgroundColor:i.backgroundColor},role:"region","aria-label":"Nowcast Status",tabIndex:0,children:(0,n.jsx)("a",{id:"nowcast-target",target:"_top",href:"wzvn"===t?"/abcnowcast":"/nowcast",role:"link",onClick:e=>e.stopPropagation(),children:(0,n.jsxs)(a.LayoutContainer,{id:"nowcast-inner",children:[(0,n.jsxs)(s,{id:"nowcast-left",children:[(0,n.jsx)(c,{id:"nowcast-title",children:"NOWCAST"}),(0,n.jsx)(d,{id:"nowcast-live-label",children:r.bar_title})]}),(0,n.jsxs)(u,{id:"nowcast-right",children:[(0,n.jsx)("span",{"aria-hidden":"true",children:(0,n.jsx)(h,{id:"nowcast-button","aria-hidden":"true",children:(0,n.jsx)(p,{})})}),(0,n.jsx)(m,{id:"nowcast-hint","data-live":"Live Now",children:i.hint})]})]})})})}},98663:(e,t,r)=>{"use strict";r.d(t,{k2:()=>s,nY:()=>l,vn:()=>d});var n,i=r(57332);let a=i?.env?.PUBLIC_IMAGE_HOSTNAME||"https://kubrick.htvapps.com",o=new Set([(()=>{try{return new URL(a).host}catch{return""}})(),"hips.hearstapps.com","hips.hearstapps.net"]);function l(e,t="x:x",r={}){if(!e)return"";let{media_metadata:n,image_metadata:i}=e,{crops:a={}}=n||{},{crops:o={}}=i||{},s=function(e){let t="";switch(function(e){if(e.image_metadata?.legacy_domain&&e.pathname)return"legacy_domain";if(e.image_metadata?.domain&&e.pathname)return"domain";if(e.pathname)return"pathname";if(e.url)return"URL";if(e.filename)return"filename";else if(e.preview_image)return"preview";return"unknown"}(e)){case"legacy_domain":t=d(e.image_metadata?.legacy_domain??"",e.pathname??"");break;case"domain":t=d(e.image_metadata?.domain??"",e.pathname??"");break;case"pathname":t=d(e.hips_prefix??"",e.pathname??"");break;case"URL":t=e.url??"";break;case"filename":t=e.aws_url??"";break;case"preview":t=e.preview_image??""}return t||console.warn(`Couldn't build image url ${JSON.stringify(e)}`),t}(e);if(!s)return"";let c=a?.[t]||o?.[t]||"",u=Object.entries(c?{crop:c,...r}:r).map(([e,t])=>`${encodeURIComponent(e)}=${encodeURIComponent(t)}`).join("&");return u?`${s}?${u}`:s}function s(e,t={}){let r,n;if(!e)return"";try{let t=new URL(e);r=t.host,n=t.pathname}catch{return e}if(o.has(r))return e;e=`${a}/${r}${n}`;let i=Object.entries(t).map(([e,t])=>`${encodeURIComponent(e)}=${encodeURIComponent(t)}`).join("&");return i?`${e}?${i}`:e}var c=((n=c||{}).LEGACY_DOMAIN="legacy_domain",n.DOMAIN="domain",n.PATHNAME="pathname",n.FILENAME="filename",n.URL="URL",n.PREVIEW="preview",n.UNKNOWN="unknown",n);function d(e,t,r){return e.startsWith("http")&&(e=new URL(e).host),new URL(`${a}${e?"/"+e:""}${t}${r?"?crop="+r:""}`).toString()}}}]);

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.