PageSourceSearch

https://www.theweathernetwork.com/hub-pages-app-assets/_next/static/chunks/app/not-found-7e86e180824df7eb.js

js theweathernetwork.com collected 2026-09-24 08:40:50 UTC 11,596 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[345],{2179:(e,i,t)=>{"use strict";t.d(i,{ContentFeedClient:()=>I});var n=t(85465);t(14397),t(44133),t(59522),t(86419),t(43117);var o=t(24103),r=t(13550),s=t(86529);let a=async(e,i,t)=>{let n=await (0,s.fZ)(e,t,"content_feed");if(!n?.playlists?.[0]?.id)return[];let o=await (0,r.Od)(`${i}/${n.playlists[0].id}`);return o?.playlist??[]};var d=t(86454),l=t(77755);let m=async(e,i,t,n)=>{let o,s,a;return a=await (o=n?"/{locale}/lineups/{listType}/regions/{regionId}".replace("{regionId}",n.toString()):"/{locale}/lineups/{listType}/national",s=o.replace("{locale}",i).replace("{listType}",t),(0,r.g6)(e,s,void 0,{cache:"no-store",...void 0})),a?.lineups.map(e=>({...e.articleOrVideo,headline:e.alternateHeadline??e.articleOrVideo.headline,newsArticleID:e.newsArticleID,newsAuthor:e.newsAuthor,newsCategory:e.newsCategory,newsKeyword:e.newsKeyword,newsSource:e.newsSource,newsSponsor:e.newsSponsor,newsTitle:e.newsTitle,newsUpdateDate:e.newsUpdateDate,newsPublicationDate:e.newsPublicationDate,pageName:e.pageName}))??null};t(50292),t(37811);var c=t(64148);let h=async(e,i,t)=>{let n=await m(e,i,"trendingNow");return n&&0!==n.length?n.slice(0,t??n.length):[]};var p=t(63164);let g=async(e,i,t,n)=>{let o=a(n,i,t),r=h(e,t,6),[s,d]=await Promise.allSettled([o,r]),l="fulfilled"===s.status?s.value:[],m="fulfilled"===d.status?d.value:[];return 0===l.length&&0===m.length?[]:[...l.slice(0,6).map((e,i)=>({...v(t,e),index:i+1})),...m.map((e,i)=>({...u(e),index:i+1})),{type:"ad",adSlotId:p.tS.BOTTOM_PROMO_1,index:1},{type:"ad",adSlotId:p.tS.BOTTOM_PROMO_2,index:2}]},u=e=>({imageUrl:e.thumbnail?(0,o.S)(e.thumbnail.url):c.I.url,description:e.headline,link:e.path,type:"news",ga4ModuleParameters:w(e)}),w=e=>({[d.L8.NewsArticleId]:e.newsArticleID,[d.L8.NewsAuthor]:e.newsAuthor,[d.L8.NewsCategory]:e.newsCategory,[d.L8.NewsKeyword]:e.newsKeyword,[d.L8.NewsPublicationDate]:e.newsPublicationDate,[d.L8.NewsTitle]:e.newsTitle,[d.L8.NewsUpdateDate]:e.newsUpdateDate,[d.L8.NewsSource]:e.newsSource,[d.L8.NewsSponsor]:e.newsSponsor}),v=(e,i)=>{let t=i.images[0].src,n=`/${e.split("-")[0]}/video/${i.mediaid}?playlist=${i.feedid}`;return{imageUrl:t,description:i.title,link:n,duration:(e=>{if(!e||"number"!=typeof e)return"";let i=Math.floor(e/3600),t=Math.floor((e-3600*i)/60),n=e-3600*i-60*t,o=[i.toString(),t.toString(),n.toString()];return 0===i&&(o[0]=void 0),t<10&&0!==i&&(o[1]="0"+o[1]),n<10&&(o[2]="0"+o[2]),o.filter(e=>void 0!==e&&!isNaN(+e)).join(":")})(i.duration),type:"video",ga4ModuleParameters:{[d.L8.VideoId]:i.mediaid,[d.L8.VideoPlaylistId]:i.feedid,[d.L8.VideoTitle]:i.title,[d.L8.VideoPublicationDate]:(0,l.Y)((0,l.L)(1e3*i.pubdate),"YYYY-MM-DD")}}};var b=t(43209),f=t(61163),y=t(21744);let A=["video","news","ad","video","news","video","ad","video","news","news","news","video"],P=["video","ad","news","video","video","ad","video","news","video","news","video","news"],x=["video","ad","news","video","news","video","video","ad","video","news","video","news"],M=({locale:e,contentFeedItems:i,excludeAds:t})=>{let{viewPortSize:o}=(0,y.w)(),r=(e=>{switch(e){case b.i.SMALL:return A;case b.i.MEDIUM:return P;case b.i.LARGE:return x;default:return A}})(o);if(!i||0===i.length)return null;let s={video:i.filter(e=>"video"===e.type),news:i.filter(e=>"news"===e.type),ad:i.filter(e=>"ad"===e.type)},a=[];return r.forEach(e=>{("ad"===e&&!t?.[o??b.i.SMALL]||s[e].length>0)&&(a.push(s[e][0]),s[e].shift())}),!!o&&(0,n.jsx)(f.A,{locale:e,children:a.map((i,r)=>{let s=`item-${r+1}`;return"ad"===i.type?t?.[o]?null:(0,n.jsx)(f.A.Ad,{locale:e,adSlotId:i.adSlotId,gridArea:s},i.adSlotId):(0,n.jsx)(f.A.Item,{itemType:i?.type,testId:`content-feed-${i.type}`,href:i.link,imageUrl:i.imageUrl,description:i.description,duration:i.duration,gridArea:s,ga4ModuleParameters:i.ga4ModuleParameters},i.link)})})};var L=t(56493);let I=({locale:e,contentApiBaseUrl:i,jwPlaylistApiBaseUrl:t,twnmmLibBaseUrl:o,excludeAds:r})=>
1{let[s,a]=(0,L.useState)();return(0,L.useEffect)(()=>{(async()=>{a(await g(i,t,e,o))})()},[i,t,e,o]),(0,n.jsx)(M,{locale:e,contentFeedItems:s,excludeAds:r})}},5591:e=>{e.exports={style:{fontFamily:"'Poppins', 'Poppins Fallback'",fontStyle:"normal"},className:"__className_347bb8",variable:"__variable_347bb8"}},5918:(e,i,t)=>{"use strict";t.d(i,{Background:()=>h,BottomAdWithPretext:()=>x,FunHeadline:()=>p,GetHelpLink:()=>P,i:()=>v,GoBackLinkAndSearch:()=>w,Link:()=>A,Links:()=>y,LinksAndSearchArea:()=>u,LinksArea:()=>b,MainArea:()=>c,MoreOptionsText:()=>f,SecondaryText:()=>g});var n=t(63600),o=t(20279),r=t(26660),s=t(46478),a=t(85465),d=t(89135);let l={"en-CA":{preText:"Content continues below"},"fr-CA":{preText:"Le contenu continue ci-dessous"}};var m=t(77759);let c=n.Ay.div.withConfig({componentId:"sc-c8331000-0"})(["display:flex;position:relative;flex-direction:column;align-items:center;justify-content:start;height:28rem;padding:1.25rem 1rem;gap:.875rem;"]),h=n.Ay.div.withConfig({componentId:"sc-c8331000-1"})(['position:absolute;bottom:0;width:100%;height:100%;background:#25342B url("https://j.theweathernetwork.com/web/backgrounds/404page_small.png") no-repeat bottom;z-index:-1;@media ','{background-image:url("https://j.theweathernetwork.com/web/backgrounds/404page_medium.png");}@media ','{background-image:url("https://j.theweathernetwork.com/web/backgrounds/404page_large.png");}'],o.j[o.i.MEDIUM],o.j[o.i.LARGE]),p=n.Ay.div.withConfig({componentId:"sc-c8331000-2"})(["font-size:3.25rem;line-height:3.75rem;font-weight:bold;"," @media ","{font-size:3.75rem;line-height:4rem;}@media ","{font-size:5rem;line-height:5.5rem;}"],s.XC,o.j[o.i.MEDIUM],o.j[o.i.LARGE]),g=n.Ay.div.withConfig({componentId:"sc-c8331000-3"})(["font-size:1.25rem;line-height:1.5rem;text-align:center;font-weight:500;white-space:pre-wrap;@media ",",","{font-size:1.5rem;line-height:2.1875rem;}"],o.j[o.i.MEDIUM],o.j[o.i.LARGE]),u=n.Ay.div.withConfig({componentId:"sc-c8331000-4"})(["background-color:#919D39;padding:.5rem .25rem;@media ","{padding:1.3125rem 1.25rem;}@media ","{padding:1.3125rem 4.75rem;}"],o.j[o.i.MEDIUM],o.j[o.i.LARGE]),w=n.Ay.div.withConfig({componentId:"sc-c8331000-5"})(["display:flex;justify-content:space-between;align-items:center;@media ","{flex-direction:column;align-items:flex-start;gap:2.15rem;}"],o.j[o.i.SMALL]),v=n.Ay.a.withConfig({componentId:"sc-c8331000-6"})(["color:inherit;display:flex;font-size:1.25rem;gap:1rem;font-weight:600;"," @media ","{gap:.5rem;}@media ","{font-size:1rem;gap:.25rem;}"],r.E3,o.j[o.i.MEDIUM],o.j[o.i.SMALL]),b=n.Ay.div.withConfig({componentId:"sc-c8331000-7"})(["margin:1.5rem 0 1rem;@media ","{margin:2.25rem 0 2rem;}@media ","{margin:3.25rem 0 4rem;}"],o.j[o.i.MEDIUM],o.j[o.i.LARGE]),f=n.Ay.div.withConfig({componentId:"sc-c8331000-8"})(["font-size:1.75rem;margin-bottom:2.25rem;font-weight:600;@media ","{margin-bottom:1.25rem;}@media ","{font-size:1.5rem;margin-bottom:1rem;}"],o.j[o.i.MEDIUM],o.j[o.i.SMALL]),y=n.Ay.div.withConfig({componentId:"sc-c8331000-9"})(["display:flex;flex-direction:column;gap:1.1875rem;@media ","{gap:.5rem;}"],o.j[o.i.SMALL]),A=n.Ay.a.withConfig({componentId:"sc-c8331000-10"})(["display:flex;width:max-content;gap:1rem;font-size:1.25rem;font-weight:600;text-decoration:none;&:link,&:focus,&:visited,&:hover{color:inherit;}",""],r.E3),P=(0,n.Ay)(A).withConfig({componentId:"sc-c8331000-11"})(["font-size:.875rem;padding:2.1875rem 0 0;max-width:100%;"]),x=(0,n.Ay)(({adSlotId:e,locale:i,minHeightInPx:t,className:n,style:o})=>{let r=n?`adslot ${n}`:"adslot";return(0,a.jsxs)(m.AdWithPreTextWrapper,{className:r,style:o,children:[(0,a.jsx)(m.PreText,{"data-testid":"pre-ad-text",children:l[i].preText}),(0,a.jsx)(m.AdvertisingSlotWrapper,{minHeightInPx:t,children:(0,a.jsx)("div",{"data-testid":e,children:(0,a.jsx)(d.AdvertisingSlot,{id:e})})})]})}).withConfig({componentId:"sc-c8331000-12"})(["background-color:#F5F5F5;color:#525252;padding:.5rem 0 1.625rem;"])},76130:(e,i,t)=>{Promise.resolve().then(t.bind(t,80614)),Promise.resolve().then(t.bind(t,78297)),Promise.resolve().then(t.bind(t,89135)),Promise.resolve().then(t.bind(t,10789)),Promise.resolve().then(t.bind(t,34496)),Promise.resolve().then(t.bind(t,61625)),Promise.resolve().then(t.bind(t,3444)),Promise.resolve().then(t.bind(t,59823)),Promise.resolve().then(t.bind(t,49074)),Promise.resolve().then(t.bind(t,31178)),Promise.resolve().then(t.bind(t,69314)),Promise.resolve().then(t.bind(t,42494)),Promise.resolve().then(t.bind(t,28621)),Promise.resolve().then(t.bind(t,61801)),Promise.resolve().then(t.bind(t,75807)),Promise.resolve().then(t.bind(t,15278)),Promise.resolve().then(t.bind(t,2179)),Promise.resolve().then(t.bind(t,76624)),Promise.resolve().then(t.bind(t,35054)),Promise.resolve().then(t.bind(t,77968)),Promise.resolve().then(t.bind(t,5918)),Promise.resolve().then(t.bind(t,5976)),Promise.resolve().then(t.bind(t,39609)),Promise.resolve().then(t.bind(t,85446)),Promise.resolve().then(t.bind(t,52650)),Promise.resolve().then(t.bind(t,36049)),Promise.resolve().then(t.bind(t,62667)),Promise.resolve().then(t.bind(t,95771)),Promise.resolve().then(t.bind(t,36442)),Promise.resolve().then(t.bind(t,81840)),Promise.resolve().then(t.bind(t,94334)),Promise.resolve().then(t.bind(t,13410)),Promise.resolve().then(t.bind(t,21198)),Promise.resolve().then(t.bind(t,95596)),Promise.resolve().then(t.bind(t,35737)),Promise.resolve().then(t.t.bind(t,55923,23)),Promise.resolve().then(t.t.bind(t,5591,23)),Promise.resolve().then(t.t.bind(t,52652,23))},76624:(e,i,t)=>{"use strict";t.d(i,{PromoBox:()=>y});var n=t(85465),o=t(63600),r=t(38882);let s=o.Ay.div.attrs({"data-testid":"promo-container"}).withConfig({componentId:"sc-12994db3-0"}
1)(["height:300px;position:relative;margin-top:",";"],r.AA.verticalModuleGap),a=(0,o.AH)(["height:300px;position:absolute;inset:-100%;margin:auto;max-width:100vw;"]),d=o.Ay.a.withConfig({componentId:"sc-12994db3-1"})([""," display:block;width:100vw;z-index:1;"],a),l=o.Ay.img.withConfig({componentId:"sc-12994db3-2"})([""," object-fit:cover;object-position:center;"],a);var m=t(86454),c=t(59420),h=t(21744),p=t(43209),g=t(56493),u=t(13550);let w={"en-CA":{promotion:"Promotion"},"fr-CA":{promotion:"Promotion"}};var v=t(61129);let b={[p.i.SMALL]:"mobile",[p.i.MEDIUM]:"tablet",[p.i.LARGE]:"desktop"},f={[p.i.SMALL]:"imageMobile",[p.i.MEDIUM]:"imageTablet",[p.i.LARGE]:"imageDesktop"},y=({style:e,...i})=>{let{viewPortSize:t}=(0,h.w)(),{contentApiResponse:o}=(({contentApiBaseUrl:e,locale:i,promoProduct:t,regionId:n})=>{let[o,r]=(0,g.useState)();return(0,g.useEffect)(()=>{let o=!0;return(async()=>{let s=`${e}/${i}/promo/${t}/${n??"untargeted"}`,a=await (0,u.In)(s);o&&(a?.data?r(a.data):r(null))})(),()=>{o=!1}},[]),{contentApiResponse:o}})({...i});(0,g.useLayoutEffect)(()=>{document.body.style.overflowX="hidden"},[]);let r=t?b[t]:void 0,a=r&&o?o[r]:void 0,p=a?.length??0,y=(0,g.useMemo)(()=>Math.floor(Math.random()*p),[p]);if(!t||!o)return(0,n.jsx)(s,{style:e});if(!a||0===p)return null;let A=a[y],P={[m.L8.ModuleName]:m.Oe.Promo,[m.L8.ModuleText]:A.title},x=f[t],M=A[x]?.url;return M&&(0,n.jsx)(c.SW,{ga4ModuleParameters:P,"data-testid":"promo-box",children:(0,n.jsx)(c.xM,{ga4ModuleParameters:P,children:(0,n.jsx)(s,{style:e,children:(0,n.jsx)(d,{...(0,v.uv)(A.link,i.locale),children:(0,n.jsx)(l,{src:`${M}?q=80`,alt:`${w[i.locale].promotion}: ${A.headline}`})})})})})}},77968:(e,i,t)=>{"use strict";t.d(i,{GoBackLink:()=>r});var n=t(85465),o=t(5918);let r=({children:e})=>(0,n.jsx)(o.i,{onClick:()=>window.history.back(),children:e})}},e=>{e.O(0,[77,546,761,575,85,92,334,870,984,446,942,485,618,394,966,358],()=>e(e.s=76130)),_N_E=e.O()}]);

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.