PageSourceSearch

https://www.weathernationtv.com/_next/static/chunks/pages/advisories-2cd5db17a404bf1b.js

js weathernationtv.com collected 2026-09-24 08:55:43 UTC 12,429 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[549],{69502:function(e,t,i){"use strict";i.r(t),i.d(t,{__N_SSP:function(){return ee},default:function(){return te}});var r=i(9008),n=i.n(r),a=i(67294),o=i(25675),d=i.n(o),s=i(89907),l=i(7824),c=i(34618),p=i(38344),m=i(89395),u=i(88658),h=i(71557),x=i(20102),g=i(20247),f=i(30719),w=i(9338);var v=(0,l.Z)(s.Z,{target:"ezksr9z23"})("margin:0 16px;border:0;border-radius:8px;overflow:hidden;.rc-collapse-item{background:",(function(e){return e.theme.colors.alert}),";.rc-collapse-header-text{color:",(function(e){return e.theme.colors.white}),";}.rc-collapse-content{border:0;color:",(function(e){return e.theme.colors.primary}),";}}@media screen and (min-width: 1200px){margin:0;}"),y=(0,l.Z)(g._,{target:"ezksr9z22"})("height:24px;width:24px;color:",(function(e){return e.theme.colors.white}),";"),b=(0,l.Z)(y,{target:"ezksr9z21"})({name:"1icn1af",styles:"transform:rotate(270deg)"}),z=(0,l.Z)("div",{target:"ezksr9z20"})({name:"g6ixd",styles:"max-width:1250px;margin-bottom:40px;padding-top:24px;gap:24px;@media screen and (min-width: 1200px){max-width:1282px;display:flex;margin:auto;padding:80px 16px 0;}"}),j=(0,l.Z)("main",{target:"ezksr9z19"})({name:"cxh7xi",styles:"margin-bottom:40px;@media screen and (min-width: 768px){}@media screen and (min-width: 1200px){flex:1;}"}),k=(0,l.Z)(p.Z,{target:"ezksr9z18"})("margin-bottom:24px;padding:0 16px;@media screen and (min-width: 1200px){padding:0;margin-bottom:40px;",(function(e){return e.theme.typography.head1}),";}"),S=(0,l.Z)(c.Y,{target:"ezksr9z17"})({name:"hoxz1g",styles:"flex:1;align-items:flex-start;gap:0;@media screen and (min-width: 768px){flex-direction:row;align-items:center;max-width:800px;margin:auto;gap:16px;}@media screen and (min-width: 1200px){max-width:294px;margin:0;flex-direction:column;padding-top:97px;padding-left:0;padding-right:0;gap:0;}"}),Z=(0,l.Z)("div",{target:"ezksr9z16"})({name:"1d3w5wq",styles:"width:100%"}),_=(0,l.Z)(p.Z,{target:"ezksr9z15"})("margin-bottom:17px;padding:0;@media screen and (min-width: 992px){",(function(e){return e.theme.typography.head3}),";}"),P=(0,l.Z)(p.Z,{target:"ezksr9z14"})("margin-bottom:17px;@media screen and (min-width: 992px){",(function(e){return e.theme.typography.head3}),";}@media screen and (min-width: 992px){margin-bottom:24px;}"),W=(0,l.Z)("div",{target:"ezksr9z13"})({name:"840kj7",styles:"display:grid;grid-template-columns:1fr;width:100%;max-width:500px;margin:auto;margin-bottom:16px;grid-gap:8px;@media screen and (min-width: 576px){display:grid;grid-template-columns:repeat(6, 1fr);grid-gap:16px;}@media screen and (min-width: 1200px){margin-bottom:24px;}"}),B=(0,l.Z)("a",{target:"ezksr9z12"})({name:"104qnxl",styles:"display:flex;align-items:center;justify-content:center;width:100%;height:64px;background:#ffffff;border-radius:8px;@media screen and (min-width: 576px){grid-column:span 2;&:nth-of-type(n + 4){grid-column:span 3;}}"}),C=(0,l.Z)(m.z,{target:"ezksr9z11"})({name:"oxj9x5",styles:"display:block;max-width:500px;margin:auto;margin-bottom:40px"}),T=(0,l.Z)(u.d,{target:"ezksr9z10"})({name:"1mf8um4",styles:"margin:auto;@media screen and (min-width: 1200px){margin:0;}"}),A=(0,l.Z)("div",{target:"ezksr9z9"})({name:"123vfcp",styles:"display:flex;flex-direction:column;overflow:auto;max-width:712px;margin-left:auto;margin-right:auto;padding:0 1rem;@media screen and (min-width: 992px){padding:0;display:block;flex-direction:unset;overflow:unset;}"}),I=(0,l.Z)(h.e,{target:"ezksr9z8"})(w.Z.ImageBlock,"{height:176px;}@media screen and (min-width: 360px){",w.Z.ImageBlock,"{height:185px;}}@media screen and (min-width: 768px){",w.Z.ImageBlock,"{height:180px;}}@media screen and (min-width: 992px){",w.Z.ImageBlock,"{height:185px;}}@media screen and (min-width: 1200px){",w.Z.ImageBlock,"{height:153px;}}"),D=(0,l.Z)(x.M,{target:"ezksr9z7"})({name:"1fgdcyd",styles:"margin-bottom:24px"}),M=(0,l.Z)(f.o5,{target:"ezksr9z6"})({name:"1kjmtlc",styles:"max-width:343px;margin-bottom:1rem;@media screen and (min-width: 992px){max-width:unset;}"}),N=(0,l.Z)("div",{target:"ezksr9z5"})({name:"s5xdrg",styles:"display:flex;align-items:center"}),L={Wrapper:z,Main:j,MainTitle:k,RightSidebar:S,SidebarContent:Z,TopStoryTitle:_,SidebarTitle:P,PlatformCard:B,PlatformsWrapper:W,DownloadButton:C,AdsCard:T,StoriesWrapper:A,NewsCard:I,InteractiveWeatherMap:D,Collapse:v,ChevronDown:y,ChevronRight:b,SwiperSlide:M,Swiper:(0,l.Z)(f.tq,{target:"ezksr9z4"})({name:"1c6h1z7",styles:"margin:auto;max-width:343px;@media screen and (min-width: 768px){max-width:unset;margin:0;}@media screen and (min-width: 1200px){margin:0 1rem;}"}),PrevButton:(0,l.Z)("button",{target:"ezksr9z3"})({name:"1kqm3ke",styles:"display:none;@media screen and (min-width: 1200px){display:flex;flex:1;height:48px;width:48px;min-width:48px;max-width:48px;align-items:center;justify-content:center;padding:0;border:0;border-radius:4px;background:#ffffff;transform:translateY(-25px);cursor:pointer;&:disabled{background:#f3f4f8;}}"}),NextButton:(0,l.Z)("button",{target:"ezksr9z2"})({name:"1wgeoje",styles:"display:none;@media screen and (min-width: 1200px){flex:1;height:48px;width:48px;min-width:48px;max-width:48px;display:flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:4px;color:#000000;background:#ffffff;transform:translateY(-25px);cursor:pointer;&:disabled{color:#b3b5bd;background:#f3f4f8;}}"}),LeftArrow:(0,l.Z)(g._,{target:"ezksr9z1"})({name:"12p1uk7",styles:"height:20px;width:20px;transform:rotate(90deg)"}),RightArrow:(0,l.Z)(g._,{target:"ezksr9z0"})({name:"wqzpbf",styles:"height:20px;width:20px;transform:rotate(270deg)"}),SwiperWrapper:N},R=i(63246),X=i(143),q=i(39063),E=i(11163),G=i(48560),V=i(83472),F=i(39368),Y=i(93085),H=i(25444),O=i(71911),U=i(18113),J=i(14292),Q=i(85893),$=function(e){var t=e.children,i=(0,a.useRef)(null),r=(0,a.useRef)(null);return(0,Q.jsxs)(L.SwiperWrapper,{children:[(0,Q.jsx)(L.PrevButton,{ref:i,children:(0,Q.jsx)(L.LeftArrow,{})}),(0,Q.jsx)(L.Swiper,{scrollbar:{hide:!1},modules:[O.LW,O.tl,O.pt,O.W_],slidesPerView:1,spaceBetween:10,grabCursor:!0,navigation:{prevEl:null===i||void 0===i?void 0:i.current,nextEl:null===r||void 0===r?void 0:r.current},autoplay:{delay:2500,disableOnInteraction:!0},breakpoints:{768:{slidesPerView:2},992:{slidesPerView:2},1050:{slidesPerView:2},1200:{slidesPerView:2,spaceBetween:10}},children:t}),(0,Q.jsx)(L.NextButton,{ref:r,children:(0,Q.jsx)(L.RightArrow,{})})]})},K=function(e){var t=e.news,i=void 0===t?[]:t,r=(0,R.Q)(),n=r.userActualLocation,o=r.isActualLocationLoading,l=(0,X.a)().activeSavedLocation,c=(0,G.q)(),p=c.devices,m=void 0===p?[]:p,u=c.isDevicesLoading,h=(0,a.useMemo)((function(){return m.filter((function(e){return Y.cJ.includes(e.slug)}))}),[m]),x=(0,E.useRouter)(),g=x.query,f=(0,a.useMemo)((function(){return{locationName:g.locationName,latitude:(null===g||void 0===g?void 0:g.latitude)&&+g.latitude,longitude:(null===g||void 0===g?void 0:g.longitude)&&+g.longitude,pathname:g.pathname}}),[g]),w=g.latitude&&g.longitude?f:l||n,v=(0,q.R)(w).advisories,y=i.map((function(e){var t=e.title,i=e.id,r=e.slug,n=e.title_img,a=e.created_at;return(0,Q.jsx)(L.SwiperSlide,{children:(0,Q.jsx)(L.NewsCard,{title:t,image:(0,F.i1)(null===n||void 0===n?void 0:n.path,Y.mZ),fallbackImage:null===n||void 0===n?void 0:n.path,description:t,slug:r,
1size:"lg",date:a})},i)}));return(0,Q.jsxs)(L.Wrapper,{children:[(0,Q.jsxs)(L.Main,{children:[(0,Q.jsx)(L.MainTitle,{type:"head3",children:"Advisories"}),(0,Q.jsx)(L.Collapse,{style:{marginBottom:16},expandIcon:function(e){return null!==e&&void 0!==e&&e.isActive?(0,Q.jsx)(L.ChevronDown,{}):(0,Q.jsx)(L.ChevronRight,{})},children:(null===v||void 0===v?void 0:v.length)>0?v.map((function(e){var t,i;return(0,Q.jsx)(s.s,{header:(0,Q.jsx)("div",{children:null===e||void 0===e||null===(t=e.details)||void 0===t?void 0:t.name}),children:(0,Q.jsx)("div",{style:{whiteSpace:"pre-wrap"},children:null===e||void 0===e||null===(i=e.details)||void 0===i?void 0:i.body})},e.id)})):null}),"number"===typeof(null===w||void 0===w?void 0:w.latitude)&&"number"===typeof(null===w||void 0===w?void 0:w.longitude)&&(0,Q.jsx)(L.InteractiveWeatherMap,{coordinate:{lat:null===w||void 0===w?void 0:w.latitude,lon:null===w||void 0===w?void 0:w.longitude},containerId:Y.$J.ADVISORIES,layers:H.o.ALERTS,zoom:7}),!o&&!("number"===typeof(null===w||void 0===w?void 0:w.latitude)&&"number"===typeof(null===w||void 0===w?void 0:w.longitude))&&(0,Q.jsx)(U.t,{text:"Sorry, we can not determine your current location. Please enter city or zip in the search form."}),(0,Q.jsxs)(L.StoriesWrapper,{children:[(0,Q.jsx)(L.TopStoryTitle,{type:"subhead1",children:"Top Stories"}),(0,Q.jsx)($,{children:y})]})]}),(0,Q.jsxs)(L.RightSidebar,{children:[(0,Q.jsxs)(L.SidebarContent,{children:[(0,Q.jsx)(L.SidebarTitle,{type:"subhead1",children:"Watch Us"}),(0,Q.jsx)(L.PlatformsWrapper,{children:u?Array.from(Array(5)).map((function(e,t){return(0,Q.jsx)(J.b,{},t)})):h.slice(0,5).map((function(e){var t=e.img,i=e.link,r=e.title;return(0,Q.jsx)(L.PlatformCard,{href:i,target:"_blank",rel:"noreferrer",children:(0,Q.jsx)(d(),{width:60,height:31,src:null===t||void 0===t?void 0:t.path,objectFit:"contain",alt:r})},r)}))}),(0,Q.jsx)(L.DownloadButton,{onClick:function(){return x.push(V.H.WATCH_US)},size:"large",fullWidth:!0,title:"More"})]}),(0,Q.jsx)(L.AdsCard,{})]})]})},ee=!0,te=function(e){var t=e.news;return(0,Q.jsxs)("div",{children:[(0,Q.jsxs)(n(),{children:[(0,Q.jsx)("title",{children:"Advisories - WeatherNation"}),(0,Q.jsx)("meta",{name:"description",content:"Weather. It's What We Do."}),(0,Q.jsx)("meta",{property:"og:type",content:"website"}),(0,Q.jsx)("meta",{property:"og:title",content:"Advisories"}),(0,Q.jsx)("meta",{property:"og:url",content:"".concat("https://www.weathernationtv.com","/")}),(0,Q.jsx)("meta",{property:"og:image",content:""}),(0,Q.jsx)("meta",{property:"twitter:card",content:"summary_large_image"}),(0,Q.jsx)("meta",{property:"twitter:url",content:"".concat("https://www.weathernationtv.com","/advisories/")}),(0,Q.jsx)("meta",{property:"twitter:title",content:"Advisories"}),(0,Q.jsx)("meta",{property:"twitter:description",content:"Weather. It's What We Do."}),(0,Q.jsx)("meta",{property:"twitter:image",content:""})]}),(0,Q.jsx)(K,{news:t})]})}},66178:function(e,t,i){"use strict";i.d(t,{Op:function(){return o},_A:function(){return d},zF:function(){return a}});var r=i(9669),n=i.n(r),a=function(e){var t=e.latitude,i=e.longitude,r="".concat(t,",").concat(i),a="/forecasts?p=".concat(r,"&filter=daynight&limit=4,"),o="/forecasts?p=".concat(r,"&filter=1hr&limit=48,"),d="/forecasts?p=".concat(r,"&limit=14,"),s="/advisories?p=".concat(r);return n().get("".concat("https://api.aerisapi.com","/batch"),{params:{requests:a+o+d+s,client_id:"yS2clMwlSXrPwPBG7DIS9",client_secret:"ofZr4L5iYsh9GDU37nBzDyPFVSi3HWoPX6TGs2XB"}}).then((function(e){return e.data}))},o=function(e){var t=e.map((function(e){return"/forecasts/".concat(e.latitude,",").concat(e.longitude)}));return n().get("https://api.aerisapi.com/batch/",{params:{format:"json",filter:"day",limit:1,fields:"loc,periods.maxTempF,periods.maxTempC,periods.minTempF,periods.minTempC,periods.icon",client_id:"yS2clMwlSXrPwPBG7DIS9",client_secret:"ofZr4L5iYsh9GDU37nBzDyPFVSi3HWoPX6TGs2XB",requests:t.join(",")}}).then((function(e){var t,i,r,n,a;if(null===e||void 0===e||null===(t=e.data)||void 0===t||!t.success||null===e||void 0===e||null===(i=e.data)||void 0===i||null===(r=i.error)||void 0===r||!r.description)return e.data;console.error(null===e||void 0===e||null===(n=e.data)||void 0===n||null===(a=n.error)||void 0===a?void 0:a.description)}))},d=function(e){var t=e.latitude,i=e.longitude;return n().get("https://api.aerisapi.com/observations/closest",{params:{client_id:"yS2clMwlSXrPwPBG7DIS9",client_secret:"ofZr4L5iYsh9GDU37nBzDyPFVSi3HWoPX6TGs2XB",p:"".concat(t,",").concat(i)}}).then((function(e){var t,i,r,n,a;if(null===e||void 0===e||null===(t=e.data)||void 0===t||!t.success||null===e||void 0===e||null===(i=e.data)||void 0===i||null===(r=i.error)||void 0===r||!r.description)return e.data;console.error(null===e||void 0===e||null===(n=e.data)||void 0===n||null===(a=n.error)||void 0===a?void 0:a.description)}))}},71441:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/advisories",function(){return i(69502)}])}},function(e){e.O(0,[874,556,207,719,720,46,415,774,888,179],(function(){return t=71441,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.