(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7318],{249:(e,t,l)=>{"use strict";l.a(e,async(e,a)=>{try{l.d(t,{A:()=>m});var n=l(66695),r=l(68772),i=l(12814),s=l(73237),o=l(9117),d=l(88504),c=l(65314),u=e([c]);c=(u.then?(await u)():u)[0];let m=e=>{let{location:t,locale:l,onlyChart:a,isLoading:u,chartData:m,hasChartData:h,rtl:p,removeTransitionLines:x,insightTextLong:v}=e,f=(0,r.c3)("PrecipIntensity");if(!u&&!h)return null;let g=()=>u?(0,n.jsx)("div",{className:"h-15 relative text-center",children:(0,n.jsx)(o.a,{className:"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2"})}):(0,n.jsx)(c.A,{chartData:m,hasChartData:h,ianaTimeZone:null==t?void 0:t.ianaTimeZone,locale:l,rtl:p,removeTransitionLines:x});return a?g():(0,n.jsxs)(i.Zp,{className:"relative gap-0 overflow-hidden p-4",children:[(0,n.jsxs)(i.Wu,{className:"p-0",children:[v&&(0,n.jsxs)(s.Ay,{variant:"Body.M",className:"mb-2",children:[(0,n.jsx)("span",{className:"font-bold",children:"Outlook:"})," ",v]}),g()]}),t&&(0,n.jsx)(d.default,{className:"absolute bottom-0 left-0 right-0 top-0",href:"/weather/hourbyhour/l/".concat(t.placeId),"aria-label":f("viewHourlyForecast"),children:"\xa0"})]})};a()}catch(e){a(e)}})},1337:(e,t,l)=>{"use strict";l.d(t,{T:()=>s});var a=l(66695),n=l(97839),r=l(89010);let i=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:r,descId:i,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":i,...s,children:[r?(0,a.jsx)("desc",{id:i,children:r}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Cloudy"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.063 3c1.877 0 3.35 1.456 3.457 3.53l.035.241.795.084.028.008c.482.124.891.343 1.182.674.295.337.44.757.44 1.227a1.9 1.9 0 0 1-.616 1.395c-.35.33-.838.56-1.457.656.046.156.073.322.073.495 0 .846-.605 1.548-1.388 1.658l-.107.014h-.103l-.006.001-7.808.006q-.111.01-.226.011C2.058 13 1 11.897 1 10.537c0-1.203.828-2.207 1.923-2.42l.701-.138.28-.683a3.49 3.49 0 0 1 1.769-1.858c.033-.45.257-.844.48-1.133.245-.32.53-.569.7-.699C7.454 3.15 8.216 3 9.064 3M7.029 6.019c-1.065 0-1.975.671-2.365 1.625l-.456 1.112-1.135.222c-.716.14-1.246.794-1.246 1.56 0 .864.677 1.587 1.535 1.587q.075 0 .149-.008l.038-.004 7.901-.006.054-.007a.79.79 0 0 0 .669-.79.79.79 0 0 0-.682-.792l-1.755-.216-.147-1.845c-.109-1.354-1.205-2.438-2.56-2.438m2.034-2.171c-.767 0-1.317.139-1.71.437a3 3 0 0 0-.543.541q-.136.177-.214.348.213-.03.433-.031c1.778 0 3.239 1.426 3.384 3.24l.09 1.132 1.083.132c.315.04.602.175.834.376a.4.4 0 0 1 .085-.013c.652-.04 1.067-.242 1.313-.473s.348-.514.348-.773c0-.284-.084-.497-.229-.662-.146-.167-.382-.314-.736-.41l-1.379-.146-.133-.936v-.02c-.078-1.668-1.222-2.742-2.626-2.742",clipRule:"evenodd"})]})}),s=n.forwardRef((e,t)=>(0,a.jsx)(r.h,{ref:t,icon:i,...e}));s.displayName="Cloudy"},1502:(e,t,l)=>{"use strict";t.$t=void 0,t.FA=d;let a=l(14183),n=l(54435),r=l(71744),i=l(1827),s=l(16774),o=l(81402);async function d(e){let l=(0,a.getFifteenMinuteForecastUrlConfig)(e),i=(0,n.urlFrom)(l),s=await fetch(i,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:60}}),o=await (0,r.handleFetchResponse)(s);return(0,t.$t)(o)}t.$t=(0,i.createTransformer)(e=>{var t,l,a,n,r,i,d,c,u,m,h,p,x,v,f,g,y;return{dayOfWeek:null!=(t=e.dayOfWeek)?t:"",iconCode:null!=(l=e.iconCode)?l:0,iconCodeExtend:null!=(a=e.iconCodeExtend)?a:0,precipChance:null!=(n=e.precipChance)?n:0,precipRate:null!=(r=e.precipRate)?r:0,precipType:null!=(i=e.precipType)?i:s.PrecipType.RAIN,relativeHumidity:null!=(d=e.relativeHumidity)?d:0,snowRate:null!=(c=e.snowRate)?c:0,temperature:null!=(u=e.temperature)?u:0,temperatureFeelsLike:null!=(m=e.temperatureFeelsLike)?m:0,validTimeLocal:null!=(h=e.validTimeLocal)?h:"",windDirection:null!=(p=e.windDirection)?p:0,windDirectionCardinal:null!=(x=e.windDirectionCardinal)?x:o.WindDirectionCardinal.NORTH,windSpeed:null!=(v=e.windSpeed)?v:0,wxPhraseLong:null!=(f=e.wxPhraseLong)?f:"",wxPhraseShort:null!=(g=e.wxPhraseShort)?g:"",wxSeverity:null!=(y=e.wxSeverity)?y:0}})},1827:(e,t,l)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createTransformer=function(e){return t=>((0,a.fromCompactResponse)(t)||[]).map((l,a)=>e(l,a,t))};let a=l(85670)},2101:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSortedAlerts=void 0,t.getSortedAlerts=e=>[...e].sort((e,t)=>e.displayRank>t.displayRank?1:e.displayRankt.eventTrackingNumber?1:(e.eventTrackingNumber{"use strict";l.d(t,{v:()=>i});var a=l(38051),n=l(36489),r=l(92071);let i=e=>{let t=(0,r.useParams)(),l=null==t?void 0:t.locale,{data:i,error:s,isLoading:o}=(0,a.Ay)(e?["specified-location-data",e]:null,()=>e?(0,n.PT)(e,l):null,{revalidateOnFocus:!1,dedupingInterval:3e5});return{specifiedLocationData:i,specifiedLocationError:s,isSpecifiedLocationLoading:o}}},3650:(e,t)=>{"use strict";var l,a,n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.PollutantType=t.AirQualityCategory=t.AirQualityForecastDuration=t.AirQualityScale=void 0,function(e){e.EPA="EPA",e.HJ6332012="HJ6332012",e.ATMO="ATMO",e.UBA="UBA",e.DAQI="DAQI",e.NAQI="NAQI",e.IMECA="IMECA",e.CAQI="CAQI"}(l||(t.AirQualityScale=l={})),function(e){e.TWELVE_HOUR="12hour",e.TWENTY_FOUR_HOUR="24hour",e.FORTY_EIGHT_HOUR="48hour",e.SEVENTY_TWO_HOUR="72hour"}(a||(t.AirQualityForecastDuration=a={})),function(e){e.GOOD="Good",e.MODERATE="Moderate",e.UNHEALTHY_FOR_SENSITIVE_GROUPS="Unhealthy for Sensitive Groups",e.UNHEALTHY="Unhealthy",e.VERY_UNHEALTHY="Very Unhealthy",e.HAZARDOUS="Hazardous"}(n||(t.AirQualityCategory=n={})),function(e){e.CO="CO",e.NO2="NO2",e.O3="O3",e.PM10="PM10",e.PM2_5="PM2.5",e.SO2="SO2"}(r||(t.PollutantType=r={}))},4591:(e,t,l)=>{"use strict";l.d(t,{$:()=>s});var a=l(66695),n=l(97839),r=l(89010);let i=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:r,descId:i,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":i,...s,children:[r?(0,a.jsx)("desc",{id:i,children:r}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Dew Point"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsx)("g",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",children:(0,a.jsx)("path",{d:"M10.889 4.663a2 2 0 1 0 2.222-3.326 2 2 0 0 0-2.222 3.326m.555-2.494a1 1 0 1 1 1.112 1.663 1 1 0 0 1-1.112-1.663M5.308 14.199A2.75 2.75 0 0 0 7.25 15 2.75 2.75 0 0 0 10 12.26c0-1.721-2.172-10.507-2.265-10.88a.5.5 0 0 0-.97 0C6.672 1.753 4.5 10.539 4.5 12.26c.002.728.293 1.425.808 1.939M5.5 12.26c0-1.056 1.02-5.57 1.75-8.638C7.98 6.69 9 11.205 9 12.26a1.75 1.75 0 1 1-3.5 0"})})]})}),s=n.forwardRef((e,t)=>(0,a.jsx)(r.h,{ref:t,icon:i,...e}));s.displayName="DewPoint"},4792:(e,t)=>{"use strict";t.C=void 0,t.C=(e,t,l)=>e&&Array.isArray(e)?e.find(e=>e.subscriptionGroupName===t)||l||null:l||null},4930:(e,t,l)=>{"use strict";l.d(t,{r:()=>n});var a=l(75152);let n=e=>{let{date:t,timeZone:l}=e;return{cDate:new Date((0,a.$)(t)),cTimeZone:(e=>{try{return new Intl.DateTimeFormat("en-US",{timeZone:e}),e}catch(e){return"Etc/UTC"}})(l)}}},6180:(e,t)=>{"use strict";t.k=void 0,t.k=e=>{let{phenomena:t,significance:l,areaId:a,officeCode:n,eventTrackingNumber:r,locId:i}=e;return"".concat("/weather/alerts/localalerts/l/".concat(i),"?phenomena=").concat(t,"&significance=").concat(l,"&areaid=").concat(a,"&office=").concat(n,"&etn=").concat(r)}},7278:(e,t,l)=>{"use strict";l.r(t),l.d(t,{VideoBlock:()=>y,default:()=>w});var a=l(66695),n=l(97839),r=l(38051),i=l(87189);let s="/placeholder-video-thumbnail.jpg";var o=l(33319),d=l(27274),c=l(11737),u=l(98660),m=l(42302),h=l(64070),p=l(4901),x=l(42662);let v={src:"/_next/static/media/placeholder.6858ca75.jpg"},f=(0,l(80917).h)("video:events"),g=async e=>{let t=await fetch(e);if(!t.ok)throw Error("Failed to fetch video data from ".concat(e));return t.json()},y=e=>{var t;let{file:l,image:y,title:w,description:b,tracks:j=[],playlist:N,custom:C={},playerSettings:T,descriptionAttributes:A,videoReference:S,playlistsReference:M=[]}=e,I="video-player-".concat((0,n.useId)()),R=(0,n.useRef)(!0),_=(0,n.useRef)(null),k=(null==(t=(0,p.J)())?void 0:t.user)||{},P=(0,x.z)(),E=null;S&&("string"==typeof S?E="/api/payload/videos/".concat(S):"object"==typeof S&&(E=(null==S?void 0:S.id)?"/api/payload/videos/".concat(S.id):null));let{data:L,error:D}=(0,r.Ay)(E,g,{revalidateOnFocus:!1,dedupingInterval:3e5}),F=(0,c.c)(),B=(0,n.useMemo)(()=>{let e=[];return!Array.isArray(j)&&(null==j?void 0:j.file)?e.push(j):Array.isArray(j)&&e.push(...j),e},[j]),H=(0,n.useMemo)(()=>L&&Object.keys(L).length>0||S&&"string"!=typeof S,[L,S]),W=(0,n.useMemo)(()=>L&&Object.keys(L).length>0?L:S&&"string"!=typeof S?S:null,[L,S]),O=(0,n.useMemo)(()=>{var e,t,a,n,r,i,s,o,d;return H&&(null==W||null==(t=W.content)||null==(e=t.videoFormatUrls)?void 0:e.length)>0?(null==W||null==(n=W.content)||null==(a=n.defaultFormat)?void 0:a.url)?null==W||null==(d=W.content)||null==(o=d.defaultFormat)?void 0:o.url:null==W||null==(s=W.content)||null==(i=s.videoFormatUrls)||null==(r=i[0])?void 0:r.url:l},[H,W,l]),z=(0,n.useMemo)(()=>{if(H){var e,t,l;return(null==W||null==(e=W.content)?void 0:e.keyFrameImage)||(null==W||null==(l=W.seo)||null==(t=l.image)?void 0:t.url)||y}return y},[H,W,y]),V=(0,n.useMemo)(()=>H&&(null==W?void 0:W.title)||w,[H,W,w]),U=(0,n.useMemo)(()=>{if(H&&(null==W?void 0:W.description)){var e,t,l;return(null==(l=W.description.root)||null==(t=l.children[0])||null==(e=t.children[0])?void 0:e.text)||b}return b},[H,W,b]),q=(0,n.useMemo)(()=>{if(_.current&&JSON.stringify({file:O,image:z,title:V,description:U,tracks:B,playlist:N,custom:C})===JSON.stringify(_.current))return _.current;let e=z||(O?(e=>{if(!e)return s;for(let t of[/(?:cdn\.jwplayer\.com\/(?:videos|manifests|previews)\/)([a-zA-Z0-9]+)(?:-[a-zA-Z0-9]+)?/,/(?:content\.jwplatform\.com\/(?:videos|manifests)\/)([a-zA-Z0-9]+)(?:-[a-zA-Z0-9]+)?/,/(?:players\.jwplayer\.com\/preview\/)([a-zA-Z0-9]+)(?:-[a-zA-Z0-9]+)?/]){let l=e.match(t);if(l&&l[1])return"https://cdn.jwplayer.com/v2/media/".concat(l[1],"/poster.jpg")}return s})(O):null)||v.src,t={file:O,image:e,title:V,description:U,tracks:B,custom:C};return _.current=t,t},[O,z,V,U,B,N,C]),G=(0,n.useMemo)(()=>{var e,t,l,a;let n=[];return N&&(n=((e,t)=>{var l;if(!(null==t?void 0:t.file))return[];if("string"==typeof e)return(null==t?void 0:t.file)?[t]:[];let a=Array.isArray(e)?e:[];return(null==t?void 0:t.file)&&(!(a.length>0)||(null==(l=a[0])?void 0:l.file)!==(null==t?void 0:t.file))?[t,...a.filter(e=>e.file!==t.file)]:a})(N,q)||[]),M&&M.length,H&&(null==W||null==(e=W.content)?void 0:e.playlists)&&Array.isArray(null==W||null==(t=W.content)?void 0:t.playlists)&&(null==W||null==(a=W.content)||null==(l=a.playlists)||l.length),n.length>0?n:[q]},[N,q,M,W,H]);if((0,n.useEffect)(()=>{R.current=!0},[G]),S&&"string"==typeof S&&!L&&!D)return(0,a.jsx)("div",{className:"flex h-32 items-center justify-center bg-gray-100",children:(0,a.jsx)("div",{className:"h-8 w-8 animate-spin rounded-full border-b-2 border-t-2 border-gray-900"})});if(D)return(0,a.jsx)("div",{className:"flex h-32 items-center justify-center bg-red-100 text-red-800",children:(0,a.jsx)("span",{children:"Failed to load video data"})});if(!O)return null;let Q=[...o.v,...d.yW].map(e=>{let{eventName:t,callback:l}=e;return{eventName:t,callback:e=>{let{event:a,player:n}=e;"time"!==t&&f.info("[".concat(t,"]:"),a),l({event:a,player:n,isFirstPlayRef:R,user:k,trackVideoEvent:F,isMobile:P})}}});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(u.DebugCollector,{componentName:"VideoBlock",data:{props:{file:l,image:y,title:w,description:b,tracksCount:(0,m.J)(B),hasPlaylist:!!N&&N.length>0,custom:C},state:{videoObject:q,playlistItems:G.length,isFirstPlay:R.current,events:Q.map(e=>e.eventName)},performance:{}}}),(0,a.jsx)("div",{className:"overflow-hidden rounded-lg",children:(0,a.jsx)(i.h,{playlist:G,events:Q},I)}),(null==T?void 0:T.showDescriptions)&&(0,a.jsx)("p",{...A,className:(0,h.cn)("my-2 text-sm",null==A?void 0:A.className),children:q.title})]})},w=y},8284:(e,t,l)=>{"use strict";l.d(t,{M:()=>i});var a=l(66695),n=l(64070),r=l(68772);let i=e=>{let t,{uvIndex:l,uvDescription:i,className:s,descriptionClassName:o}=e,d=(0,r.c3)("DetailsTable");return t=!Number.isFinite(l)||l10?d("extreme"):i?l:t=d("uvIndexVal",{val:l,maxVal:11}),(0,a.jsxs)("span",{"data-testid":"UVIndexValue",className:(0,n.cn)(s),children:[t,i&&l{"use strict";l.d(t,{a:()=>s});var a=l(66695);l(97839);var n=l(21455),r=l(64070);let i=(0,n.F)("inline-block rounded-full border-solid animate-spin box-border",{variants:{size:{sm:"w-4 h-4 border-[2px]",md:"w-6 h-6 border-[2px]",lg:"w-8 h-8 border-[3px]"},variant:{white:"border-white border-b-transparent",primary:"border-brand-400 border-b-transparent",black:"border-[#252422] border-b-transparent"}},defaultVariants:{size:"sm",variant:"black"}}),s=e=>{let{className:t,size:l,variant:n}=e;return(0,a.jsx)("div",{className:(0,r.cn)(i({size:l,variant:n}),t)})}},11737:(e,t,l)=>{"use strict";l.d(t,{c:()=>d});var a=l(97839),n=l(83712),r=l(55990),i=l(92071),s=l(13235),o=l(15315);let d=()=>{let e=(0,r.N)(),t=(0,o.A)(),l=(0,i.usePathname)();return(0,a.useCallback)(a=>{let{eventName:r,eventAttributes:i={}}=a;if(!n.A.isInitialized())return void console.warn("MParticle is not initialized");let o={...i,author:(null==t?void 0:t.author)||"",contentId:(null==t?void 0:t.contentId)||i.contentId,...e,url:l?(0,s.EY)(l):""};try{n.A.logEvent(r,n.A.EventType.Other,o),console.debug('MParticle: Video Event tracked - "'.concat(r,'"'),o)}catch(e){console.error('MParticle: Failed to track Video Event - "'.concat(r,'"'),e)}},[null==t?void 0:t.author,null==t?void 0:t.contentId,e,l])}},12409:(e,t,l)=>{"use strict";l.r(t),l.d(t,{ImageBlock:()=>d,default:()=>c});var a=l(66695),n=l(97839),r=l(88504),i=l(64070),s=l(36697);let o=n.forwardRef((e,t)=>{let{src:l,alt:n,caption:r,credit:o,width:d=320,height:c=180,shadow:u=!0,rounded:m=!0,className:h,sizes:p,priority:x,imageAttributes:v}=e,f=!!(r||o);return(0,a.jsxs)("figure",{ref:t,className:(0,i.cn)(h),children:[(0,a.jsx)(s._,{src:l,alt:n,width:d,height:c,shadow:u,rounded:m,sizes:p,priority:x,...v}),f&&(0,a.jsxs)("figcaption",{className:"mt-2 text-sm leading-tight",children:[r&&(0,a.jsx)("p",{children:r}),o&&(0,a.jsxs)("p",{className:"m-0 text-gray-500",children:["(",o,")"]})]})]})});o.displayName="Figure";let d=e=>{var t,l;let{imageType:n,internalImageId:s,externalImageUrl:d,controls:c,altText:u,isPriorityImage:m,imageAttributes:h,linkUrl:p}=e;if(!n||!s&&!d)return(0,a.jsx)("div",{className:"text-center text-red-500",children:"Error: Missing data for the image block."});let x="internal"===n&&(e=>"object"==typeof e&&null!==e&&"url"in e)(s),v=x?(null==s?void 0:s.url)||"":d||"",f=x?(null==s||null==(t=s.seo)?void 0:t.altText)||"":u||"",g="",y="";(null==c?void 0:c.showCaption)&&((!x||(null==c?void 0:c.useImageCaption))&&"external"!==n?x&&(g=(null==s?void 0:s.caption)||"",y=(null==s||null==(l=s.seo)?void 0:l.credit)||""):(g=(null==c?void 0:c.caption)||"",y=(null==c?void 0:c.credit)||""));let w=(0,a.jsx)(o,{src:v,alt:f,caption:g,credit:y,priority:!!m,className:(0,i.cn)("my-4 flex flex-col",{"max-w-[480px]":(null==c?void 0:c.width)==="half"}),sizes:"(max-width: 767px) 91vw, (max-width: 1280px) 64vw, 800px",imageAttributes:h});return p?(0,a.jsx)(r.default,{href:p,target:"_blank",rel:"noopener noreferrer nofollow",children:w}):w},c=d},12814:(e,t,l)=>{"use strict";l.d(t,{Wu:()=>s,Zp:()=>r,aR:()=>i});var a=l(66695);l(97839);var n=l(64070);function r(e){let{className:t,...l}=e;return(0,a.jsx)("div",{"data-slot":"card",className:(0,n.cn)("bg-card text-card-foreground flex flex-col gap-6 rounded-xl py-6",t),...l})}function i(e){let{className:t,...l}=e;return(0,a.jsx)("div",{"data-slot":"card-header",className:(0,n.cn)("@container/card-header has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6 grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6",t),...l})}function s(e){let{className:t,...l}=e;return(0,a.jsx)("div",{"data-slot":"card-content",className:(0,n.cn)("px-6",t),...l})}},13664:(e,t,l)=>{"use strict";l.d(t,{o:()=>s});var a=l(66695),n=l(97839),r=l(89010);let i=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:r,descId:i,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":i,...s,children:[r?(0,a.jsx)("desc",{id:i,children:r}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Uv Index"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"m8.022 15.021-1.748-2.94-3.29.932.931-3.284L.977 8.01l2.936-1.72-.924-3.236 3.278.874L8.022.977l1.7 2.949 3.255-.861-.868 3.226 2.853 1.717-2.854 1.718L12.98 13l-3.265-.918zm1.216-4.112 2.325.654-.615-2.306 2.075-1.249-2.075-1.248.615-2.287-2.325.615-1.23-2.132L6.74 5.088l-2.305-.615.653 2.287-2.132 1.248 2.132 1.25-.653 2.305 2.305-.654 1.268 2.133z",clipRule:"evenodd"})]})}),s=n.forwardRef((e,t)=>(0,a.jsx)(r.h,{ref:t,icon:i,...e}));s.displayName="UvIndex"},14183:(e,t,l)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDailyForecastUrlConfig=function(e){let{geocode:t,units:l,language:n,duration:r=a.ForecastDuration.FIVE_DAY,cscCountryCode:i}=e;return{host:"api.weather.com",protocol:"https",pathname:"/v3/wx/forecast/daily/".concat(r),query:{geocode:t,units:l,language:n,cscCountryCode:i||void 0,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}},t.getHourlyForecastUrlConfig=function(e){let{geocode:t,units:l,language:n,duration:r=a.HourlyForecastDuration.TWO_DAY,cscCountryCode:i}=e;return{host:"api.weather.com",protocol:"https",pathname:"/v3/wx/forecast/hourly/".concat(r),query:{geocode:t,units:l,language:n,cscCountryCode:i||void 0,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}},t.getFifteenMinuteForecastUrlConfig=function(e){let{geocode:t,units:l,language:a}=e;return{host:"api.weather.com",protocol:"https",pathname:"/v3/wx/forecast/fifteenminute",query:{geocode:t,units:l,language:a,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}},t.getMinutelyPrecipitationForecastUrlConfig=function(e){let{geocode:t,units:l,language:a,duration:n="60minute"}=e;return{host:"api.weather.com",protocol:"https",pathname:"/v3/wx/forecast/minutely/precipitation/".concat(n),query:{geocode:t,units:l,language:a,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}};let a=l(81402)},15400:(e,t,l)=>{"use strict";t.Sn=s;let a=l(73925),n=l(54435),r=l(71744),i=l(2101);async function s(e){let{geocode:t,language:l="en-US"}=e,s=(0,n.urlFrom)((0,a.getSunWeatherAlertHeadlinesUrlConfig)({geocode:t,language:l})),o=await fetch(s,{headers:{"Accept-Encoding":"gzip"},cache:"no-store",next:{revalidate:0}}),d=await (0,r.handleFetchResponse)(o);return{...d,alerts:(0,i.getSortedAlerts)(d.alerts)}}},16074:(e,t,l)=>{"use strict";l.r(t),l.d(t,{TwitterBlock:()=>i,default:()=>s});var a=l(66695),n=l(97839);let r="twitter-script-loaded",i=e=>{let{entryMethod:t,tweetURL:l,tweetId:i,showThread:s}=e,o=(0,n.useRef)(null),d=(0,n.useCallback)(()=>"id"===t&&i?"https://twitter.com/i/status/".concat(i):"url"===t&&l?l.replace("x.com","twitter.com"):null,[t,i,l]),{isLoaded:c}=function(){let[e,t]=(0,n.useState)(()=>!!(window.twttr&&window.twttr.widgets)),[l,a]=(0,n.useState)(null);return(0,n.useEffect)(()=>{if(e)return;if(!l){if(window.twttr&&window.twttr.widgets)return void t(!0);a(new Promise(e=>{if(window.twttr&&window.twttr.widgets){t(!0),e();return}let l=document.createElement("script");l.src="https://platform.twitter.com/widgets.js",l.async=!0,l.onload=()=>{t(!0);let l=new CustomEvent(r);window.dispatchEvent(l),e()},document.body.appendChild(l)}))}l&&l.then(()=>t(!0));let n=()=>t(!0);return window.addEventListener(r,n),()=>{window.removeEventListener(r,n)}},[e,l]),{isLoaded:e}}();return(0,n.useEffect)(()=>{let e=d();e&&(o.current&&(o.current.innerHTML='\n

\n \n
\n ')),c&&window.twttr&&window.twttr.widgets&&window.twttr.widgets.load(o.current))},[d,i,l,t,s,c]),(0,a.jsx)("div",{className:"flex items-center",ref:o})},s=i},16186:(e,t,l)=>{"use strict";l.d(t,{P:()=>n});var a=l(4930);let n=e=>{var t,l,n,r,i,s,o,d,c;let{date:u,locale:m="en-US",timeZone:h,minutes:p,showTimeZone:x,showShortDayperiod:v,weekday:f}=e;if(!u)return"";let{cDate:g,cTimeZone:y}=(0,a.r)({date:u,locale:m,timeZone:h}),w={hour:"numeric",hour12:!0,timeZone:y};f&&(w.weekday=f),p&&(w.minute="2-digit"),"en-US"!==m&&"es-US"!==m&&(delete w.hour12,w.minute="2-digit",w.hourCycle="h23"),x&&(w.timeZoneName="short");let b=new Intl.DateTimeFormat(m,w);if(m.includes("-US")){let e=b.formatToParts(g),a=f&&(null==(t=e.find(e=>"weekday"===e.type))?void 0:t.value),s=null==(l=e.find(e=>"hour"===e.type))?void 0:l.value,o=p&&(null==(n=e.find(e=>"minute"===e.type))?void 0:n.value),d=null==(r=e.find(e=>"dayperiod"===e.type.toLowerCase()))?void 0:r.value.toLowerCase(),c=m.includes("en")?d:null==d?void 0:d.replace(/\./g,"").replace(/\s/g,""),u=v?"".concat(null==c?void 0:c[0]," "):" ".concat(c," "),h=x?null==(i=e.find(e=>"timeZoneName"===e.type))?void 0:i.value:"",y=f?"".concat(a," "):"";return"".concat(y).concat(s).concat(p?":".concat(o):"").concat(u).concat(h).trim()}if(v){let e=b.formatToParts(g),t=f&&(null==(s=e.find(e=>"weekday"===e.type))?void 0:s.value),l=null==(o=e.find(e=>"hour"===e.type))?void 0:o.value,a=p&&(null==(d=e.find(e=>"minute"===e.type))?void 0:d.value),n=x?null==(c=e.find(e=>"timeZoneName"===e.type))?void 0:c.value:"";return"".concat(f?"".concat(t," "):"").concat(l).concat(p?":".concat(a):""," ").concat(n).trim()}return b.format(g)}},16774:(e,t)=>{"use strict";var l,a,n,r,i;Object.defineProperty(t,"__esModule",{value:!0}),t.PrecipIntensityCode=t.PrecipTypeCode=t.ThunderCategory=t.PrecipType=t.MoonPhaseCode=void 0,function(e){e.WANING_GIBBOUS="WNG",e.WAXING_CRESCENT="WXC",e.FIRST_QUARTER="FQ",e.WANING_CRESCENT="WNC",e.LAST_QUARTER="LQ",e.FULL="F",e.WAXING_GIBBOUS="WXG",e.NEW="N"}(l||(t.MoonPhaseCode=l={})),function(e){e.RAIN="rain",e.SNOW="snow",e.PRECIP="precip"}(a||(t.PrecipType=a={})),function(e){e.NO_THUNDER="0",e.THUNDER_POSSIBLE="1",e.THUNDER_EXPECTED="2",e.SEVERE_THUNDERSTORMS_POSSIBLE="3",e.SEVERE_THUNDERSTORMS_LIKELY="4",e.HIGH_RISK_OF_SEVERE_THUNDERSTORMS="5"}(n||(t.ThunderCategory=n={})),function(e){e[e.NONE=0]="NONE",e[e.RAIN=1]="RAIN",e[e.SNOW=2]="SNOW",e[e.FREEZING_RAIN=3]="FREEZING_RAIN",e[e.THUNDER=4]="THUNDER",e[e.SLEET=5]="SLEET",e[e.HAIL=6]="HAIL"}(r||(t.PrecipTypeCode=r={})),function(e){e[e.NONE=0]="NONE",e[e.VERY_LIGHT=1]="VERY_LIGHT",e[e.LIGHT=2]="LIGHT",e[e.MODERATE=3]="MODERATE",e[e.HEAVY=4]="HEAVY"}(i||(t.PrecipIntensityCode=i={}))},17493:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getEmailPreferencesStatusUrlConfig=function(){return{host:"weather.com",protocol:"https",pathname:"/api/v1/email-preferences/status"}},t.getEmailPreferencesSetUrlConfig=function(){return{host:"weather.com",protocol:"https",pathname:"/api/v1/email-preferences/set"}},t.getEmailPreferencesChangeEmailUrlConfig=function(){return{host:"weather.com",protocol:"https",pathname:"/api/v1/email-preferences/change-email"}}},18020:(e,t,l)=>{"use strict";l.d(t,{W:()=>s});var a=l(66695),n=l(97839),r=l(89010);let i=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:r,descId:i,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":i,...s,children:[r?(0,a.jsx)("desc",{id:i,children:r}):null,l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsx)("path",{fill:"currentColor",d:"M7.5 1.5v1a.5.5 0 0 0 1 0v-1a.5.5 0 0 0-1 0M7.5 13.5v1a.5.5 0 0 0 1 0v-1a.5.5 0 0 0-1 0M2.5 8.5h-1a.5.5 0 0 1 0-1h1a.5.5 0 0 1 0 1M11.536 12.243l.707.707a.5.5 0 0 0 .707-.707l-.707-.707a.5.5 0 0 0-.707.707M3.757 4.464l-.707-.707a.5.5 0 1 1 .707-.707l.707.707a.5.5 0 0 1-.707.707M12.243 4.464l.707-.707a.5.5 0 1 0-.707-.707l-.707.707a.5.5 0 0 0 .707.707M4.464 12.243l-.707.707a.5.5 0 1 1-.707-.707l.707-.707a.5.5 0 1 1 .707.707M8.72 10.568A2.67 2.67 0 0 1 5.333 8 2.667 2.667 0 0 1 9.85 6.079c.25-.234.55-.414.883-.524a3.667 3.667 0 1 0-.125 5.021H9.217z"}),(0,a.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.489 5.9c-.985 0-1.795.747-1.913 1.71a1.25 1.25 0 0 0-1.01 1.231c0 .633.465 1.159 1.07 1.24l.007.002h.004l.148.01h2.97q.07.006.14.006c.845 0 1.528-.694 1.528-1.548 0-.738-.509-1.356-1.192-1.512a1.93 1.93 0 0 0-1.752-1.14m-1.203 1.847a1.22 1.22 0 0 1 1.203-1.133c.488 0 .92.301 1.108.749l.128.305.328.062c.365.07.66.402.66.82a.82.82 0 0 1-.883.831l-.03-.003H9.823l-.107-.007a.53.53 0 0 1-.429-.53.53.53 0 0 1 .455-.534l.503-.06z",clipRule:"evenodd"})]})}),s=n.forwardRef((e,t)=>(0,a.jsx)(r.h,{ref:t,icon:i,...e}));s.displayName="FairMostlyClearDay"},20486:(e,t,l)=>{"use strict";l.d(t,{N:()=>i});var a=l(66695),n=l(97839),r=l(64070);let i=(0,n.memo)(e=>{let{value:t,className:l,roundValue:n}=e,i=n?function(e){return e%5>=2.5?5*parseInt(String(e/5),10)+5:5*parseInt(String(e/5),10)}(t):t;return(0,a.jsx)("span",{"data-testid":"PercentageValue",className:(0,r.cn)(l),children:Number.isFinite(i)&&i>=0?"".concat(i,"%"):"--"})})},21536:(e,t,l)=>{"use strict";l.d(t,{lV:()=>r,os:()=>i,rT:()=>n});var a=l(32941);let n={id:"barBackground",beforeDatasetsDraw(e,t,l){let{ctx:a,chartArea:{top:n},scales:{y:r}}=e;if(!r)return;let i=e.getDatasetMeta(0),s=l.floatPoint||0;i.data.forEach(e=>{var t;let{x:i,width:o}=e.getProps(["x","width"],!0);a.save(),a.fillStyle=l.color||"transparent",function(e,t,l,a,n,r){let i=Math.min(r,a/2,n/2);e.beginPath(),e.moveTo(t+i,l),e.lineTo(t+a-i,l),e.quadraticCurveTo(t+a,l,t+a,l+i),e.lineTo(t+a,l+n-i),e.quadraticCurveTo(t+a,l+n,t+a-i,l+n),e.lineTo(t+i,l+n),e.quadraticCurveTo(t,l+n,t,l+n-i),e.lineTo(t,l+i),e.quadraticCurveTo(t,l,t+i,l),e.closePath(),e.fill()}(a,i-o/2,n,o,r.getPixelForValue(r.min+s)-n,null!=(t=l.borderRadius)?t:8),a.restore()})}},r={id:"extendXAxisLine",afterDraw(e,t,l){var a,n,r,i,s;let{ctx:o,scales:d}=e,c=d.x,u=d.y,m=null!=(a=l.offset)?a:20,h=(null!=(n=null==u?void 0:u.bottom)?n:0)+m;o.save(),o.beginPath(),o.strokeStyle=l.color||"black",o.lineWidth=null!=(r=l.lineWidth)?r:1,o.moveTo((null!=(i=null==c?void 0:c.left)?i:0)-200,h),o.lineTo((null!=(s=null==c?void 0:c.right)?s:0)+200,h),o.stroke(),o.restore()}},i={id:"transitionLines",afterDatasetsDraw(e,t,l){let{ctx:n,scales:{x:r,y:i}}=e;i&&(n.save(),n.lineWidth=1,n.setLineDash([2,2]),(0,a.v)(l.transitionPoints,(t,a)=>{var r;let s=e.getDatasetMeta(0).data[+a];if(!s)return;let{x:o,width:d}=s.getProps(["x","width"],!0),c=o-d/2;n.beginPath(),n.strokeStyle=t,n.moveTo(c,i.top),n.lineTo(c,i.getPixelForValue(i.min+(null!=(r=l.floatPoint)?r:0))),n.stroke()}),n.restore())}}},21669:(e,t,l)=>{"use strict";t.j=i;let a=l(54435),n=l(71744),r=l(17493);async function i(){let e=(0,r.getEmailPreferencesStatusUrlConfig)(),t=(0,a.urlFrom)(e),l=await fetch(t,{method:"GET",credentials:"include",headers:{"Content-Type":"application/json"},next:{revalidate:60}});return(0,n.handleFetchResponse)(l)}},21864:(e,t,l)=>{"use strict";l.d(t,{A:()=>g});var a=l(66695);l(97839);var n=l(15400),r=l(47651),i=l(54861),s=l(26404),o=l(38051),d=l(24765),c=l(92071),u=l(64070),m=l(16186),h=l(4930);let p=e=>{let{date:t,locale:l="en-US",timeZone:a}=e;if(!t)return null;let{cDate:n,cTimeZone:r}=(0,h.r)({date:t,locale:l,timeZone:a});return new Intl.DateTimeFormat(l,{weekday:"long",timeZone:r}).format(n)};var x=l(68772),v=l(73237),f=l(6180);let g=e=>{let{location:t,className:l,headlineClassName:h,showSubheadline:g=!1}=e,y=(0,c.useParams)(),w=null==y?void 0:y.locale,b=(0,x.c3)("AlertHeadlines"),{data:j,error:N,isLoading:C}=(0,o.Ay)((null==t?void 0:t.geocode)?["alerts",t.geocode]:null,e=>{let[t,l]=e;return(0,n.Sn)({geocode:l,language:w})},{revalidateOnFocus:!1,dedupingInterval:6e4}),T=(null==j?void 0:j.alerts)&&j.alerts.length>0?j.alerts[0]:null,A=T?(()=>{if(!T)return null;let{productIdentifier:e,phenomena:t,significance:l}=T;if(!e||!t||!l)return null;let a=(0,r.F)({productIdentifier:e,phenomena:t,significance:l}),n=(0,i.t)({productIdentifier:e||"",phenomena:t,significance:l}),s={1:{icon:"#fff",fill:"#ba0d00",border:"#f0f0f0",textColor:"#FFFFFF",backgroundColor:"#ba0d00",buttonBackgroundColor:"#ba0d00"},2:{icon:"#000",fill:"#e6731f",border:"#f0f0f0",textColor:"#ffffff",backgroundColor:"#25242299",buttonBackgroundColor:"#25242299"},3:{icon:"#000",fill:"#ebbb02",border:"#f0f0f0",textColor:"#ffffff",backgroundColor:"#25242299",buttonBackgroundColor:"#25242299"},4:{icon:"#fff",fill:"#a51ccb",border:"#f0f0f0",textColor:"#FFFFFF",backgroundColor:"#25242299",buttonBackgroundColor:"#ffffff1a"},severe:{icon:"#fff",fill:"#ba0d00",border:"#f0f0f0",textColor:"#FFFFFF",backgroundColor:"#ba0d00",buttonBackgroundColor:"#ba0d00"}};return s[n?"severe":a]||s[4]})():null,S=T?(0,r.F)({productIdentifier:T.productIdentifier,phenomena:T.phenomena,significance:T.significance}):null,M=T?(0,i.t)({productIdentifier:T.productIdentifier,phenomena:T.phenomena,significance:T.significance}):null;if(C||N||!T)return null;let I=T.effectiveTimeLocalTimeZone||T.endTimeLocalTimeZone||"",R=(e=>{let{effectiveTimeLocal:t,endTimeLocal:l}=e,a="";switch(!0){case!!(t&&l):a="subheadlineTextWithStartAndEndTime";break;case!!(!t&&l):a="subheadlineTextWithoutStartTime";break;case!!(t&&!l):a="subheadlineTextWithoutEndTime";break;default:return""}return a})({effectiveTimeLocal:T.effectiveTimeLocal,endTimeLocal:T.endTimeLocal}),_=(0,f.k)({phenomena:T.phenomena,significance:T.significance,areaId:T.areaId,officeCode:T.officeCode,eventTrackingNumber:T.eventTrackingNumber,locId:(null==t?void 0:t.placeId)||""});return(0,a.jsxs)("a",{href:_,className:(0,u.cn)("flex items-center gap-4 rounded-sm px-2 py-2 text-sm",l),style:{backgroundColor:null==A?void 0:A.backgroundColor,color:null==A?void 0:A.textColor},role:"alert","aria-live":"polite",children:[(0,a.jsxs)("div",{className:"flex-1 flex-col",children:[(0,a.jsxs)("div",{className:"flex gap-2",children:[T&&(0,a.jsx)(s.AlertIcon,{productIdentifier:T.productIdentifier,phenomena:T.phenomena,significance:T.significance,className:"h-4 w-4 items-start","aria-hidden":"true"}),(0,a.jsx)("span",{className:(0,u.cn)("uppercase",h),children:T.eventDescription})]}),g&&(0,a.jsx)(v.Ay,{className:"mt-1 uppercase",variant:"Caption.S.Bold",color:"inverse",children:b(R,{[(null==T?void 0:T.effectiveTimeLocal)&&"startTime"]:(0,m.P)({date:T.effectiveTimeLocal,weekday:"short",locale:w,timeZone:T.ianaTimeZone,minutes:!0}),[(null==T?void 0:T.endTimeLocal)&&"endTime"]:(e=>{let{effectiveTimeLocal:t,endTimeLocal:l,locale:a,ianaTimeZone:n}=e,r=p({date:t,locale:a,timeZone:n}),i=p({date:l,locale:a,timeZone:n});return(0,m.P)({date:l,locale:a,weekday:r!==i&&"short"||void 0,timeZone:n,minutes:!0})})({effectiveTimeLocal:T.effectiveTimeLocal||"",endTimeLocal:T.endTimeLocal||"",locale:w,ianaTimeZone:T.ianaTimeZone||""}),timeZone:I})})]}),j&&j.alerts.length>1&&(0,a.jsxs)(d.$n,{variant:"outline",size:"sm",style:{backgroundColor:null==A?void 0:A.buttonBackgroundColor,...1===S||M?{outline:"solid 1px #ffffff"}:{}},className:"rounded-xs flex h-6 items-center justify-center border-0 px-2 py-2 text-xs text-white hover:bg-transparent hover:text-white","aria-label":"View ".concat(j.alerts.length-1," more alerts"),children:["+",j.alerts.length-1," MORE"]})]})}},23278:(e,t,l)=>{"use strict";l.a(e,async(e,a)=>{try{l.r(t),l.d(t,{HourlyForecastBlock:()=>d,default:()=>c});var n=l(66695),r=l(81206),i=l(6127),s=l(3071),o=e([r]);r=(o.then?(await o)():o)[0];let d=e=>{let{locationProvider:t,locationEntry:l,simplifiedVersion:a}=e,o="specified"===t,{specifiedLocationData:d,specifiedLocationError:c,isSpecifiedLocationLoading:u}=(0,s.v)(o?l:null);if(o&&u)return(0,n.jsx)("div",{children:"Loading location data..."});if(o&&c)return(0,n.jsxs)("div",{children:["Error loading location data: ",c.message]});let m=o&&d&&l?(0,i.I)(d):void 0;return(0,n.jsx)(r.A,{location:m,simplifiedVersion:a})},c=d;a()}catch(e){a(e)}})},23610:(e,t,l)=>{"use strict";l.r(t),l.d(t,{AdBlock:()=>h,default:()=>p});var a=l(66695),n=l(97839),r=l(98660),i=l(64070),s=l(68960),o=l(4901);let d=(0,l(21455).F)("",{variants:{overflow:{hidden:"overflow-hidden",none:""},layout:{flex:"flex-1",block:"block",fixed:"block fixed w-full",fixedBelowBottomNav:"block fixed w-full bottom-[61px] sm:bottom-0 z-[98]",contentTopDiv:"region-contentTop",stickyTopRight:"sticky top-[82px] z-45",default:""},bg:{white:"bg-white",gray:"bg-[#dee0e3]",none:""},radius:{md:"rounded-md",lg:"rounded-lg",none:""},padding:{standard:"px-4 pb-4",noTop:"pt-0 px-4 pb-4",mobile:"p-2",none:""},margin:{bottomMd:"mb-4",bottomLg:"mb-5",topMd:"mt-3",topLg:"mt-4",none:""},shadow:{md:"shadow-md",none:""},special:{hidden:"hidden",none:""}},compoundVariants:[{layout:"flex",margin:"topMd",class:"-mb-3"}],defaultVariants:{overflow:"none",layout:"default",bg:"none",radius:"none",padding:"none",margin:"none",shadow:"none",special:"none"}}),c={WX_WindowShade:{layout:"contentTopDiv",overflow:"hidden",margin:"bottomMd"},WX_Leaderboard:{layout:"contentTopDiv",overflow:"hidden",margin:"bottomMd"},WX_BottomLeader:{bg:"white",radius:"md",overflow:"hidden",padding:"standard",margin:"topLg"},WX_Bot300:{bg:"white",radius:"md",overflow:"hidden",padding:"standard",margin:"topLg"},WX_PromoDriver1:{bg:"white",radius:"md",overflow:"hidden",padding:"standard",margin:"topLg"},WX_MidLeader:{bg:"white",radius:"md",overflow:"hidden",padding:"standard",margin:"topLg"},WX_Top300Small:{bg:"white",radius:"md",overflow:"hidden",padding:"standard"},WX_SpotLight:{overflow:"hidden",bg:"white",margin:"bottomMd"},WX_DriverUnit:{overflow:"hidden",bg:"white",margin:"bottomMd"},WX_Top300Variable:{bg:"white",radius:"md",overflow:"hidden",padding:"standard"},MW_Position1:{layout:"fixedBelowBottomNav",bg:"gray",padding:"mobile"},MW_Position1_Samsung:{layout:"fixedBelowBottomNav",bg:"gray",padding:"mobile"},MW_Position3:{overflow:"hidden",margin:"bottomLg"},MW_Position4:{radius:"lg",overflow:"hidden",bg:"white",padding:"noTop"},MW_Position5:{radius:"lg",overflow:"hidden",bg:"white",padding:"noTop"},MW_Position2:{radius:"lg",overflow:"hidden",bg:"white",padding:"noTop"}},u=new Set(["MW_Position_ContentFeedAd","MW_Position_ContentFeedAd1","MW_Position_ContentFeedAd11","WX_ContentFeed","WX_ContentFeed1","WX_ContentFeedRadar"]),m=e=>u.has(e),h=e=>{let{adId:t,variant:l="banner",title:u=null,titleAlignment:h="right",height:p="120px",className:x="",sticky:v=!1}=e,{user:f}=(0,o.J)(),{isUserPremium:g}=f,[y,w]=(0,n.useState)({loaded:!1,height:p,displayAd:!1}),b=(0,n.useRef)(null),j=(0,n.useRef)(!1),N=(0,n.useRef)({resize:null,adFrameMutation:null,adCreativeMutation:null}),C=(0,n.useMemo)(()=>((e,t,l,a)=>{if(m(e))return l?d({layout:"flex",margin:"topMd"}):"";if("WX_Hidden"===e||!l)return d({special:"hidden"});let n=c[e];return n||(n="banner"===t?{radius:"lg",overflow:"hidden",bg:"white",shadow:"md",margin:"bottomMd"}:{bg:"white",radius:"md",overflow:"hidden",padding:"standard"}),"WX_Top300Variable"===e&&a&&(n={...n,layout:"stickyTopRight"}),d(n)})(t,l,y.displayAd,v),[t,l,y.displayAd,v]),T=(0,n.useMemo)(()=>{let e=y.loaded?"visible":"invisible";return"".concat("text-center w-full h-full flex text-gray-600 text-base leading-none"," ").concat("WX_SpotLight"!==t?"justify-center":""," ").concat(e)},[t,y.loaded]),A=(0,n.useCallback)(e=>{for(let t of e){let e=t.contentRect.height;e>0&&w(t=>({...t,height:"".concat(e+10,"px"),loaded:!0}))}},[]),S=(0,n.useCallback)(e=>{let t=e.some(e=>"childList"===e.type&&e.addedNodes.length>0);w(e=>({...e,displayAd:t}))},[]),M=(0,n.useCallback)(e=>{let t=b.current;if(e.some(e=>{var t;return"childList"===e.type&&e.addedNodes.length>0&&((null==(t=e.addedNodes[0])?void 0:t.textContent)!=="Advertisement"||e.addedNodes.length>1)})&&t){var l,a,n;null==(l=N.current.resize)||l.observe(t),null==(a=N.current.adCreativeMutation)||a.observe(t,{childList:!0,subtree:!0}),w(e=>({...e,loaded:!0})),null==(n=N.current.adFrameMutation)||n.disconnect()}},[]);return((0,n.useEffect)(()=>{w({loaded:!1,height:p,displayAd:!1});let e=new ResizeObserver(A),t=new MutationObserver(S),l=new MutationObserver(M);N.current={resize:e,adCreativeMutation:t,adFrameMutation:l};let a=b.current;return a&&l.observe(a,{childList:!0,subtree:!0}),()=>{e.disconnect(),l.disconnect(),t.disconnect()}},[S,t,p,A,M]),(0,n.useEffect)(()=>{m(t)&&!j.current&&((e=>{try{let t=(e=>{if("MW_Position_ContentFeedAd11"===e)return{currContentFeedIndex:"21",baseNativeAdPosition:"MW_Position_ContentFeedAd1"};if("MW_Position_ContentFeedAd1"===e||"WX_ContentFeed1"===e){let t=e.match(/(\d+)$/);if(t)return{currContentFeedIndex:t[1],baseNativeAdPosition:e.substring(0,t.index)}}return console.error("Could not parse index from ContentFeed adId: ".concat(e)),null})(e);if(t){let{currContentFeedIndex:l,baseNativeAdPosition:a}=t,n=window.__HeliosConfig.slotsConfig[a];if(n){let t="".concat(n.adUnitPath,"/contentfeed").concat(l);window.__HeliosQ=window.__HeliosQ||[],window.__HeliosQ.push(()=>{window.__Helios.waitForEvent("AD_SLOTS_CONNECTED").then(()=>{window.__Helios.emit("AD_RENDER_CONTENT_FEED",{elementId:e,adUnitPath:t,baseNativeAdPosition:a})})})}else console.error("No config found for ".concat(e," at Helios.slotConfig.").concat(a))}}catch(e){console.error("Error rendering native ad",e)}})(t),j.current=!0)},[t]),!t||g)?null:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.DebugCollector,{componentName:"AdBlock",data:{props:{adId:t,variant:l,title:u,titleAlignment:h,height:p,className:x},state:{loaded:y.loaded,height:y.height,displayAd:y.displayAd},performance:{renderTime:Date.now()}}}),(0,a.jsxs)("div",{className:(0,i.cn)(C,x),children:[u&&y.loaded&&(0,a.jsx)("div",{className:"py-0.75 text-xxs w-full px-4 text-gray-400 text-".concat(h),children:u}),"WX_PromoDriver1"===t&&!u&&y.loaded&&y.displayAd&&(0,a.jsx)("h2",{className:"my-6 px-2 text-2xl font-bold",children:"Stay Safe"}),(0,a.jsx)("div",{id:t,"data-testid":t,className:T,style:{height:y.loaded?"100%":"0px"},ref:b})]}),"WX_PromoDriver1"===t&&(!y.loaded||!y.displayAd)&&(0,a.jsx)(s.default,{title:"Stay Safe",ctaStyle:"featured",linkUrl:"/",backgroundColor:"white",media:"https://s-dev.w-x.co/wxnext/img/Screenshot2025-04-17at44929PMpng"})]})},p=h},24138:(e,t,l)=>{"use strict";l.d(t,{A:()=>ee});var a=l(66695),n=l(97839),r=l(20108),i=l(21455),s=l(68772),o=l(12814),d=l(73237),c=l(74249),u=l(38810),m=l(33172),h=l(69132),p=l(91167),x=l(89010);let v=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:r,descId:i,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":i,...s,children:[r?(0,a.jsx)("desc",{id:i,children:r}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Rain Snow Wintery Mix"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsxs)("g",{fill:"currentColor",children:[(0,a.jsx)("path",{fillRule:"evenodd",d:"M7.982 1.833c-1.303 0-2.391 1.032-2.5 2.37l-.034.407-.405.049c-.67.08-1.209.672-1.209 1.41 0 .724.518 1.307 1.17 1.405l.217.015h4.896l.024.003q.087.008.175.008c1.01 0 1.851-.845 1.851-1.915 0-.946-.66-1.719-1.51-1.882l-.264-.051-.104-.248c-.386-.93-1.279-1.57-2.307-1.57M4.535 3.747C4.843 2.096 6.26.833 7.982.833c1.367 0 2.543.798 3.123 1.95 1.198.352 2.062 1.48 2.062 2.802 0 1.597-1.264 2.915-2.851 2.915a3 3 0 0 1-.245-.01H5.187l-.25-.018H4.92l-.034-.005c-1.168-.16-2.051-1.182-2.051-2.398 0-1.091.71-2.026 1.701-2.322",clipRule:"evenodd","data-figma-bg-blur-radius":20}),(0,a.jsx)("path",{d:"m7.954 9.295-.543 1.491a.5.5 0 0 0 .94.342l.543-1.491a.5.5 0 1 0-.94-.342M10.267 11.085l-.856 2.352a.5.5 0 0 0 .94.342l.856-2.352a.5.5 0 1 0-.94-.342M5.964 11.324a.25.25 0 0 1 .25.25v.152a.25.25 0 0 1 .297.396l-.297.297v2.092l.301.317a.25.25 0 0 1-.301.391v.207a.25.25 0 0 1-.5 0v-.212a.25.25 0 0 1-.309-.389l.309-.315v-2.092l-.307-.307a.25.25 0 0 1 .307-.39v-.147a.25.25 0 0 1 .25-.25"}),(0,a.jsx)("path",{d:"M7.816 12.41a.255.255 0 0 1-.092.345l-.182.107a.253.253 0 0 1-.272.383l-.264-.068-1.792 1.054-.153.366a.247.247 0 0 1-.46-.006l-.152.09a.245.245 0 0 1-.339-.09.255.255 0 0 1 .092-.345l.175-.103a.25.25 0 0 1-.04-.174.25.25 0 0 1 .279-.218l.351.045 1.792-1.054.085-.307a.247.247 0 0 1 .473-.02l.16-.095c.12-.07.271-.03.34.09"}),(0,a.jsx)("path",{d:"M7.815 14.59a.245.245 0 0 1-.339.09l-.16-.094a.247.247 0 0 1-.473-.02l-.084-.308-1.792-1.053-.352.045a.25.25 0 0 1-.279-.219.25.25 0 0 1 .04-.174l-.175-.102a.255.255 0 0 1-.092-.345c.068-.12.22-.16.339-.09l.152.089a.247.247 0 0 1 .46-.006l.154.367 1.791 1.053.265-.067a.25.25 0 0 1 .303.182.25.25 0 0 1-.032.2l.182.107c.119.07.16.225.092.345"})]})]})}),f=n.forwardRef((e,t)=>(0,a.jsx)(x.h,{ref:t,icon:v,...e}));f.displayName="RainSnowWinteryMix";let g=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:r,descId:i,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":i,...s,children:[r?(0,a.jsx)("desc",{id:i,children:r}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Snowflake"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsxs)("g",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",children:[(0,a.jsx)("path",{d:"M8 1a.5.5 0 0 1 .5.5v13a.5.5 0 0 1-1 0v-13A.5.5 0 0 1 8 1"}),(0,a.jsx)("path",{d:"M5.896 1.896a.5.5 0 0 1 .707 0L8 3.293l1.396-1.397a.5.5 0 1 1 .707.708L8 4.707 5.896 2.604a.5.5 0 0 1 0-.708M5.896 13.854a.5.5 0 0 0 .707 0L8 12.457l1.396 1.397a.5.5 0 0 0 .707-.708L8 11.043l-2.104 2.103a.5.5 0 0 0 0 .708M14.062 4.5a.5.5 0 0 1-.183.683l-11.259 6.5a.5.5 0 0 1-.5-.866l11.259-6.5a.5.5 0 0 1 .683.183"}),(0,a.jsx)("path",{d:"M12.234 3.126a.5.5 0 0 1 .353.613l-.51 1.907 1.907.512a.5.5 0 1 1-.26.965l-2.873-.77.77-2.873a.5.5 0 0 1 .613-.354M1.878 9.105a.5.5 0 0 0 .354.612l1.908.511-.512 1.908a.5.5 0 1 0 .966.259l.77-2.874-2.873-.77a.5.5 0 0 0-.613.354M14.062 11.5a.5.5 0 0 1-.683.183L2.12 5.183a.5.5 0 1 1 .5-.866l11.259 6.5a.5.5 0 0 1 .183.683"}),(0,a.jsx)("path",{d:"M14.337 9.23a.5.5 0 0 1-.353.612l-1.908.511.511 1.908a.5.5 0 1 1-.966.259l-.77-2.874 2.874-.77a.5.5 0 0 1 .612.354M3.982 3.251a.5.5 0 0 0-.354.613L4.14 5.77l-1.908.512a.5.5 0 1 0 .259.965l2.873-.77-.77-2.873a.5.5 0 0 0-.612-.354"})]})]})}),y=n.forwardRef((e,t)=>(0,a.jsx)(x.h,{ref:t,icon:g,...e}));y.displayName="Snowflake";let w=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:r,descId:i,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":i,...s,children:[r?(0,a.jsx)("desc",{id:i,children:r}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Rain Drop"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsxs)("g",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",children:[(0,a.jsx)("path",{d:"M8 14.256a4.506 4.506 0 0 1-4.5-4.5 5 5 0 0 1 .747-2.478l3.33-5.303a.52.52 0 0 1 .847 0l3.314 5.278a5.03 5.03 0 0 1 .762 2.503 4.506 4.506 0 0 1-4.5 4.5M8 3.18 5.11 7.784a4 4 0 0 0-.61 1.972 3.5 3.5 0 0 0 7 0 4.03 4.03 0 0 0-.624-1.998z"}),(0,a.jsx)("path",{d:"M10.103 9.757a.5.5 0 0 1 .319.631 2.74 2.74 0 0 1-1.747 1.724.5.5 0 0 1-.313-.95c.615-.203.976-.68 1.11-1.086a.5.5 0 0 1 .63-.32"})]})]})}),b=n.forwardRef((e,t)=>(0,a.jsx)(x.h,{ref:t,icon:w,...e}));b.displayName="RainDrop";let j=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:r,descId:i,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":i,...s,children:[r?(0,a.jsx)("desc",{id:i,children:r}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Feels Like"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsxs)("g",{fill:"currentColor",children:[(0,a.jsx)("path",{fillRule:"evenodd",d:"M10.889 4.163A2 2 0 1 0 13.11.837a2 2 0 0 0-2.222 3.326m.555-2.494a1 1 0 1 1 1.112 1.662 1 1 0 0 1-1.112-1.662M11 15h2a1.003 1.003 0 0 0 1-1v-3.5a1.003 1.003 0 0 0 1-1v-3A1.47 1.47 0 0 0 13.5 5h-3A1.473 1.473 0 0 0 9 6.5v3a1.003 1.003 0 0 0 1 1V14a1.003 1.003 0 0 0 1 1m-.696-8.97A.5.5 0 0 1 10.5 6h3a.473.473 0 0 1 .5.5v3h-1V14h-2V9.5h-1v-3a.47.47 0 0 1 .304-.47",clipRule:"evenodd"}),(0,a.jsx)("path",{d:"M5 10.092V6H4v4.092a1.5 1.5 0 1 0 1 0"}),(0,a.jsx)("path",{fillRule:"evenodd",d:"M2.563 14.417c.574.38 1.248.584 1.937.583A3.497 3.497 0 0 0 7 9.055V3.5a2.5 2.5 0 1 0-5 0v5.555a3.497 3.497 0 0 0 .563 5.362M3.44 2.44a1.5 1.5 0 0 1 2.12 0c.281.281.44.662.44 1.06v5.992l.166.149a2.5 2.5 0 1 1-3.332 0L3 9.49V3.5c0-.398.159-.779.44-1.06",clipRule:"evenodd"})]})]})}),N=n.forwardRef((e,t)=>(0,a.jsx)(x.h,{ref:t,icon:j,...e}));N.displayName="FeelsLike";var C=l(94975),T=l(70918),A=l(59092),S=l(13664);let M=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:r,descId:i,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":i,...s,children:[r?(0,a.jsx)("desc",{id:i,children:r}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Cloud Cover"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"m11.109 11.591.06.006q.099.01.204.01c1.17 0 2.176-.984 2.176-2.269 0-1.133-.789-2.04-1.778-2.23l-.66-.128-.258-.62c-.488-1.174-1.607-1.967-2.88-1.967-1.614 0-2.987 1.28-3.125 2.974l-.083 1.017-1.013.122c-.707.085-1.303.718-1.303 1.538 0 .795.562 1.415 1.242 1.528l.276.02zm-7.185 1.25-.363-.025h-.003C2.226 12.633 1.2 11.461 1.2 10.044c0-1.434 1.05-2.616 2.403-2.779.189-2.309 2.073-4.122 4.37-4.122 1.812 0 3.366 1.127 4.035 2.737 1.59.305 2.792 1.737 2.792 3.458 0 1.944-1.534 3.519-3.426 3.519q-.165 0-.324-.016z",clipRule:"evenodd"})]})}),I=n.forwardRef((e,t)=>(0,a.jsx)(x.h,{ref:t,icon:M,...e}));I.displayName="CloudCover";var R=l(4591);let _=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:r,descId:i,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",ref:t,"aria-labelledby":n,"aria-describedby":i,...s,children:[r?(0,a.jsx)("desc",{id:i,children:r}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Wind Gust"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsx)("path",{fill:"currentColor",d:"m2.5 4.375 4-3a.63.63 0 0 1 .572-.093l11.25 3.75h.001a.624.624 0 0 1 0 1.186l-11.25 3.75a.63.63 0 0 1-.573-.093l-4-3V18.75H1.25V1.25H2.5zm13.75 9.375a2.5 2.5 0 0 1 0 5H7.5V17.5h8.75A1.25 1.25 0 1 0 15 16.25h-1.25a2.503 2.503 0 0 1 2.5-2.5M10 11.25a2.5 2.5 0 0 1 0 5H5V15h5a1.25 1.25 0 1 0-1.25-1.25H7.5a2.5 2.5 0 0 1 2.5-2.5M7.5 8.508l1.25-.417V3.159L7.5 2.742zM2.917 5.625l3.333 2.5v-5zM10 7.675l1.25-.417V3.992L10 3.575zm2.5-.834 3.648-1.216L12.5 4.409z"})]})}),k=n.forwardRef((e,t)=>(0,a.jsx)(x.h,{ref:t,icon:_,...e}));k.displayName="WindGust";var P=l(27430),E=l(69896),L=l(98792),D=l(62754),F=l(20486),B=l(55904),H=l(35150),W=l(8284),O=l(64070);let z=e=>{let t,l,{precipType:n="rain",rain:r,snow:i,qpf:s=0,qpfSnow:o=0,units:d,unitOverride:c,className:u,unitClass:m}=e,h=null!=r?r:s,p=null!=i?i:o,x=d?(0,E.Bu)(d):null;if("snow"===n)t=p,l="accumulation";else if("rain"===n)t=h,l="precip";else if("precip"===n){let e=Number(h)>=Number(p);t=e?h:p,l=e?"precip":"accumulation"}else t=h,l="precip";let v=null==x?void 0:x[l];return(0,a.jsxs)("span",{"data-testid":"AccumulationValue",className:(0,O.cn)(u),children:[(0,a.jsx)("span",{children:t})," ",(0,a.jsx)("span",{className:(0,O.cn)(m),children:c||v})]})},V=e=>!(0,h.g)(e)||null,U={derive:e=>{let{precipType:t}=e;return"precip"===t?f:"snow"===t?y:b}},q={temperatureFeelsLike:{label:(e,t)=>{let{t:l}=t;return l("feelsLike")},icon:N,value:e=>{let{temperatureFeelsLike:t}=e;return V(t)&&(0,a.jsx)(L.B,{value:t})}},windSpeed:{label:(e,t)=>{let{t:l}=t;return l("wind")},icon:C.Z,value:(e,t)=>{let{windSpeed:l,windDirectionCardinal:n}=e,{unitName:r}=t,i=(0,E.xP)(r);return V(l)&&(0,a.jsx)(D.Z,{className:"whitespace-nowrap",windSpeed:l,windDirectionCardinal:n,units:i.code,displayMode:"directionalAndCardinal"})}},precipChance:{label:(e,t)=>{let{precipType:l}=e,{t:a}=t;return a("chanceOf".concat((0,p.Z)(l)))},icon:U,value:e=>{let{precipChance:t}=e;return V(t)&&(0,a.jsx)(F.N,{value:t})}},relativeHumidity:{label:(e,t)=>{let{t:l}=t;return l("humidity")},icon:T.K,value:e=>{let{relativeHumidity:t}=e;return V(t)&&(0,a.jsx)(F.N,{value:t})}},pressureMeanSeaLevel:{label:(e,t)=>{let{t:l}=t;return l("pressure")},icon:A.S,value:e=>{let{pressureMeanSeaLevel:t}=e;return V(t)&&(0,a.jsx)(B.S,{pressureMeanSeaLevel:t})}},visibility:{label:(e,t)=>{let{t:l}=t;return l("visibility")},icon:P.S,value:(e,t)=>{let{visibility:l}=e,{unitName:n}=t;return V(l)&&(0,a.jsx)(H.b,{visibility:l,units:(0,E.xP)(n).code})}},uvIndex:{label:(e,t)=>{let{t:l}=t;return l("uvIndex")},icon:S.o,value:e=>{let{uvIndex:t}=e;return V(t)&&(0,a.jsx)(W.M,{uvIndex:t})}},cloudCover:{label:(e,t)=>{let{t:l}=t;return l("cloudCover")},icon:I,value:e=>{let{cloudCover:t}=e;return V(t)&&(0,a.jsx)(F.N,{value:t})}},accumulation:{label:(e,t)=>{let{precipType:l}=e,{t:a}=t;return a("".concat(l,"Amount"))},icon:U,value:(e,t)=>{let{qpf:l,qpfSnow:n,precipType:r}=e,{unitName:i}=t;return V(l)||V(n)?(0,a.jsx)(z,{precipType:r,qpf:l,qpfSnow:n,units:(0,E.xP)(i).code}):null}},temperatureDewPoint:{label:(e,t)=>{let{t:l}=t;return l("dewPoint")},icon:R.$,value:e=>{let{temperatureDewPoint:t}=e;return V(t)&&(0,a.jsx)(L.B,{value:t})}},windGust:{label:(e,t)=>{let{t:l}=t;return l("windGust")},icon:k,value:(e,t)=>{let{windGust:l}=e,{unitName:n}=t;return(0,a.jsx)(D.Z,{windSpeed:l,units:(0,E.xP)(n).code})}}},G=(0,i.F)("grid justify-between gap-1",{variants:{cols:{1:"grid-cols-[repeat(1,auto)]",2:"grid-cols-[repeat(2,auto)]",3:"grid-cols-[repeat(3,auto)]",4:"grid-cols-[repeat(4,auto)]",5:"grid-cols-[repeat(5,auto)]",6:"grid-cols-[repeat(6,auto)]"}}}),Q=(0,n.memo)(e=>{let{dataPoints:t,fields:l,columns:i}=e,{small:h=2,medium:p=3,large:x=4}=i||{},[v,f]=(0,u.r)(e=>e>=m.c["@xl"]?x:e>=m.c["@xs"]?p:h),g=v||p,y=(0,s.c3)("DetailsTable"),w={unitName:(0,r.md)(c.Yt),t:y},b=0;return(0,a.jsx)(o.Zp,{ref:f,className:"@container/detailsTable border-2xl mb-2 bg-[#e8e8e8] p-0",children:(0,a.jsx)(o.Wu,{className:"@xl/detailsTable:px-6 px-4 py-4",children:(0,a.jsx)("ul",{className:G({cols:g}),children:l.map((e,l)=>{let r=q[e],i=null==r?void 0:r.value(t,w);if(!r||!i)return b++,null;let s="derive"in r.icon?r.icon.derive(t,w):r.icon,o="function"==typeof r.label?r.label(t,w):r.label,c=l-b;return(0,a.jsxs)(n.Fragment,{children:[c>0&&c%g==0&&(0,a.jsx)("li",{className:"col-span-full py-3",children:(0,a.jsx)("div",{className:"border-b border-[#dedede]"})}),(0,a.jsxs)("li",{className:"@xl/detailsTable:gap-2 @md/detailsTable:gap-1.5 flex gap-1",children:[s&&(0,a.jsx)(s,{className:"@md/detailsTable:size-5 size-4"}),(0,a.jsxs)("div",{children:[(0,a.jsx)(d.Ay,{variant:"Body.M",className:"@xl/detailsTable:text-base mb-0.5 text-sm leading-normal",children:o}),(0,a.jsx)(d.Ay,{elementType:"string"==typeof i?"p":"div",variant:"Body.L.Bold",className:"@xl/detailsTable:text-base text-sm leading-normal",children:i})]})]})]},o+c)})})})})});var Z=l(16186),Y=l(31181);let $=e=>{let{precipChance:t,showIcon:l=!0,displayMode:n="text",className:r,iconClassName:i,textClassName:s,progressClassName:o,progressBarClassName:d}=e;return(0,a.jsxs)(a.Fragment,{children:[("text"===n||"both"===n)&&(0,a.jsxs)("span",{className:(0,O.cn)(r,s),children:[l&&(0,a.jsx)(b,{className:(0,O.cn)("size-4",i)}),(0,a.jsx)(F.N,{value:t,className:"align-middle"})]}),("progress"===n||"both"===n)&&(0,a.jsxs)("div",{className:(0,O.cn)("w-26 relative inline-block h-5 overflow-hidden rounded-xl bg-[#e9e9e9] align-middle",r,o),children:[(0,a.jsx)("div",{className:(0,O.cn)("relative h-full w-full rounded-xl bg-[#cbdef0]",d),style:{left:"".concat(t-100,"%")}}),(0,a.jsxs)("div",{className:"absolute bottom-0 top-0 flex h-full w-full items-center p-1",children:[l&&(0,a.jsx)(b,{className:(0,O.cn)("size-3.25",i)}),(0,a.jsx)(F.N,{value:t,className:"text-sm"})]})]})]})};var X=l(60838);let J=["temperatureFeelsLike","accumulation","windSpeed","pressureMeanSeaLevel","cloudCover","temperatureDewPoint","uvIndex","visibility","relativeHumidity","windGust"],K=e=>{let{text:t}=e;return(0,a.jsx)(d.Ay,{variant:"Caption.M",color:"secondary",className:"@max-md/hourItem:hidden mb-1 font-bold",children:t})},ee=e=>{let{forecast:t,location:l,locale:n,itemIndex:i,longPhraseInSet:o}=e,u=(0,s.c3)("DetailsTable"),m=(0,r.md)(c.Yt),h=(0,E.xP)(m),p=0===i;return(0,a.jsxs)(Y.As,{value:t.validTimeLocal,className:"@container/hourItem border-grey-500 gap-2 border-b py-3",children:[(0,a.jsx)(Y.$m,{className:"@md/hourItem:gap-3 items-end gap-1 p-0",iconClassName:"size-4 mb-1",triggerContent:(0,a.jsxs)("div",{className:"flex w-full items-end justify-between gap-1",children:[(0,a.jsx)("div",{className:"min-w-[60px]",children:(0,a.jsx)(d.Ay,{className:(0,O.cn)("inline-block whitespace-nowrap rounded-[100px] px-2 py-0.5","group-data-[state=open]:bg-blue-500 group-data-[state=open]:text-white"),children:(0,Z.P)({date:t.validTimeLocal,locale:n,timeZone:l.ianaTimeZone})})}),(0,a.jsx)("div",{className:"basis-[40px]",children:(0,a.jsx)(d.Ay,{variant:"Body.L.Bold",children:(0,a.jsx)(L.B,{value:t.temperature})})}),(0,a.jsxs)("div",{className:"relative flex h-6 items-center",children:[(0,a.jsx)(X.WxIcon,{iconCode:t.iconCode,className:"lightBG @md/hourItem:size-8 size-7",size:"lg",iconTheme:"lightBG","aria-label":t.wxPhraseLong||"Weather condition ".concat(t.iconCode)}),(0,a.jsx)(d.Ay,{variant:"Body.M",className:(0,O.cn)("@max-2xl/hourItem:hidden pl-1.5",o?"min-w-[200px]":"min-w-[110px]"),children:t.wxPhraseLong})]}),(0,a.jsx)("div",{className:"@lg/hourItem:min-w-[105px] @lg/hourItem:py-0.5 min-w-[50px] items-end",children:(0,a.jsx)($,{precipChance:t.precipChance,displayMode:"both",textClassName:"@lg/hourItem:hidden",progressClassName:"@max-lg/hourItem:hidden",iconClassName:"@max-lg/hourItem:size-3"})}),(0,a.jsxs)("div",{className:"@max-md/hourItem:hidden basis-[72px] items-end",children:[p&&(0,a.jsx)(K,{text:u("humidity")}),(0,a.jsx)(d.Ay,{children:(0,a.jsx)(F.N,{value:t.relativeHumidity})})]}),(0,a.jsxs)("div",{className:"basis-[76px] items-end",children:[p&&(0,a.jsx)(K,{text:u("wind")}),(0,a.jsx)(d.Ay,{elementType:"div",children:(0,a.jsx)(D.Z,{windSpeed:t.windSpeed,windDirectionCardinal:t.windDirectionCardinal,units:h.code,displayMode:"directional",className:"whitespace-nowrap",iconClassName:"size-3 @md/hourItem:size-4"})})]}),(0,a.jsxs)("div",{className:"@max-md/hourItem:hidden min-w-[76px]",children:[p&&(0,a.jsx)(K,{text:u("precipitation")}),(0,a.jsx)(d.Ay,{children:(0,a.jsx)(z,{precipType:t.precipType,qpf:t.qpf,qpfSnow:t.qpfSnow,units:h.code})})]})]})}),(0,a.jsx)(Y.ub,{className:"@md/hourItem:pt-4 pt-2",children:(0,a.jsx)(Q,{dataPoints:t,fields:J})})]})}},25192:(e,t,l)=>{"use strict";l.r(t),l.d(t,{PromoDriverBlock:()=>s,default:()=>o});var a=l(66695);l(97839);var n=l(8806),r=l(88504),i=l(72460);let s=e=>{let{title:t,image:l,subtitle:s,bodyText:o,ctaButton:d}=e,c=(null==d?void 0:d.url)&&/^https?:\/\//i.test(d.url),u=(0,i.bt)(l)?l:null;return t||u&&(null==u?void 0:u.url)||s||o||d?(0,a.jsxs)("div",{className:"overflow-hidden rounded-lg bg-white",children:[t&&(0,a.jsx)("div",{className:"p-4",children:(0,a.jsx)("h3",{className:"text-xl font-semibold text-gray-900",children:t})}),(0,a.jsxs)("div",{className:"flex flex-col",children:[(null==u?void 0:u.url)?(0,a.jsx)("div",{className:"relative aspect-[42/13] w-full overflow-hidden bg-white px-4 pt-4",children:(0,a.jsx)("div",{className:"relative h-full w-full overflow-hidden rounded-lg",children:(0,a.jsx)("a",{href:d&&d.url||"#",children:(0,a.jsx)(n.default,{src:u.url,alt:t||"Promo image",fill:!0,className:"object-cover"})})})}):null,(s||o||d)&&(0,a.jsxs)("div",{className:"p-4",children:[s&&(0,a.jsx)("a",{href:d&&d.url||"#",children:(0,a.jsx)("h4",{className:"mb-2 text-base font-bold",children:s})}),o&&(0,a.jsx)("a",{href:d&&d.url||"#",children:(0,a.jsx)("p",{className:"mb-4 text-base",children:o})}),d&&(0,a.jsx)("div",{className:"flex justify-end",children:c?(0,a.jsx)("a",{href:d.url||"#",target:d.openInNewTab?"_blank":"_self",rel:d.openInNewTab?"noopener noreferrer":"",className:"inline-block max-w-[200px] overflow-hidden text-ellipsis whitespace-nowrap rounded-lg bg-black px-4 py-2 text-base font-normal text-white",children:d.text}):(0,a.jsx)(r.default,{href:d.url||"#",target:d.openInNewTab?"_blank":"_self",className:"inline-block max-w-[200px] overflow-hidden text-ellipsis whitespace-nowrap rounded-lg bg-black px-4 py-2 text-base font-normal text-white",children:d.text})})]})]})]}):null},o=s},26079:(e,t,l)=>{"use strict";l.d(t,{A:()=>p});var a=l(97839),n=l(20108),r=l(74249),i=l(69896),s=l(81402),o=l(38051),d=l(83160),c=l(1502),u=l(69726),m=l(89274);let h={revalidateOnFocus:!1,dedupingInterval:6e4},p=(e,t)=>{let l=(0,n.md)(r.Yt),p=(0,i.xP)(l)||i.AF,x=p.code,v=(0,u.Zs)(),f="KR"===v,g=f&&(null==e?void 0:e.countryCode)==="KR",{data:y,isLoading:w}=(0,o.Ay)(e&&g?["get-hourly-forecast",e.geocode,x,t,f?v:void 0]:null,e=>{let[t,l,a,n,r]=e;return(0,d.$c)({geocode:l,units:a,language:n,cscCountryCode:r,duration:s.HourlyForecastDuration.TWO_DAY})},h),{data:b,isLoading:j}=(0,o.Ay)(e&&!g?["get-fifteen-minute-forecast",e.geocode,x,t]:null,e=>{let[t,l,a,n]=e;return(0,c.FA)({geocode:l,units:a,language:n})},h),N=g?y:b,C=(0,a.useMemo)(()=>(0,u.gS)(N,g),[N,g]),T=(0,a.useMemo)(()=>(0,u.nE)(N,p,C,g)||[],[N,g,C,p]),A=(0,a.useMemo)(()=>(0,u.xZ)(T),[T]),{loadingInsight:S,insightHeadline:M,insightTextLong:I}=(0,m.p)(e,t);return{loadingForecast:w||j,chartData:T,hasChartData:A,loadingInsight:S,insightHeadline:M,insightTextLong:I}}},27274:(e,t,l)=>{"use strict";l.d(t,{yW:()=>h});var a=l(13235),n=l(17943);let r="",i="",s=1,o=0,d=0,c={adImpression:!1,videoAttempt:!1,videoPlayed:!1,videoStarted:!1,videoCompleted:!1,videoEnd:!1};function u(){Object.keys(c).map(e=>{c[e]=!1}),o=0,d=0,i=""}function m(e,t){var l,r,i,s,o,d,c,u,m,h,p,x,v,f,g,y,w,b,j,N,C,T,A,S,M,I,R,_,k,P,E,L,D,F,B,H,W;let O=t||e.getPlaylistItem();return{adBlock:e.getAdBlock(),adsMetricsUnitAndZone:null==O||null==(r=O.custom)||null==(l=r.ctx)?void 0:l.adzone,aspectRatio:null==e||null==(i=e.getConfig())?void 0:i.aspectratio,assetName:(0,a.EY)(null!=(H=null==O||null==(o=O.custom)||null==(s=o.ctx)?void 0:s.assetName)?H:""),collection:null==O||null==(c=O.custom)||null==(d=c.ctx)?void 0:d.pcollid,collectionId:null==O||null==(m=O.custom)||null==(u=m.ctx)?void 0:u.pcollid,contentId:null==O||null==(p=O.custom)||null==(h=p.ctx)?void 0:h.id,entitlements:(0,n.X)(null!=(W=null==O||null==(v=O.custom)||null==(x=v.ctx)?void 0:x.entitlements)?W:[]),iabContent:(0,a.IA)((null==O||null==(g=O.custom)||null==(f=g.ctx)?void 0:f.iab)||{}),id:null==O||null==(w=O.custom)||null==(y=w.ctx)?void 0:y.id,duration:null==O||null==(j=O.custom)||null==(b=j.ctx)?void 0:b.duration,lastmodifieddate:null==O||null==(T=O.custom)||null==(C=T.ctx)||null==(N=C.lastmodifieddate)?void 0:N.toString(),muted:e.getMute(),premiumContent:null==O||null==(S=O.custom)||null==(A=S.ctx)?void 0:A.premium,publishdate:null==O||null==(R=O.custom)||null==(I=R.ctx)||null==(M=I.publishdate)?void 0:M.toString(),providerName:null==O||null==(k=O.custom)||null==(_=k.ctx)?void 0:_.providername,tagsGeo:(0,n.X)(null==O||null==(E=O.custom)||null==(P=E.ctx)?void 0:P.tagsGeo),tagsKeyword:(0,n.X)(null==O||null==(D=O.custom)||null==(L=D.ctx)?void 0:L.tagsKeyword),tagsStorm:(0,n.X)(null==O||null==(B=O.custom)||null==(F=B.ctx)?void 0:F.tagsStorm)}}let h=[{eventName:"ready",callback:e=>{let{player:t,trackVideoEvent:l}=e;window.addEventListener("beforeunload",()=>{c.videoStarted&&!c.videoEnd&&(t.getPlaylistItem()&&!c.videoAttempt&&l&&l({eventName:"video-end",eventAttributes:{errorMessage:i,contentWatchedSeconds:o,playReason:r,videoView:s,...m(t)}}),c.videoEnd=!0)})}},{eventName:"adImpression",callback:async e=>{let{player:t,trackVideoEvent:l}=e,a=t.getPlaylistItem();i="",u(),console.debug("JW Player callback - adImpression eventSentFlags:",c),c.adImpression=!0,a&&!c.videoAttempt&&l&&(l({eventName:"video-attempt",eventAttributes:{errorMessage:i,playReason:r,videoView:s,...m(t)}}),c.videoAttempt=!0),a&&!c.videoPlayed&&l&&(l({eventName:"video-played",eventAttributes:{errorMessage:i,playReason:r,videoView:s,...m(t)}}),c.videoPlayed=!0)}},{eventName:"viewable",callback:async e=>{let{event:t}=e;s=null==t?void 0:t.viewable}},{eventName:"playlistItem",callback:async e=>{let{player:t,trackVideoEvent:l}=e;if(c.videoStarted&&!c.videoCompleted&&!c.videoEnd){let e=t.getPlaylistIndex(),a=t.getPlaylistItem(e-1);l({eventName:"video-end",eventAttributes:{errorMessage:i,contentWatchedSeconds:o,playReason:r,videoView:s,...m(t,a)}}),c.videoEnd=!0}}},{eventName:"playAttempt",callback:async e=>{let{player:t,trackVideoEvent:l}=e,a=t.getPlaylistItem();c.adImpression||(i="",u()),console.debug("JW Player callback - playAttempt eventSentFlags:",c),a&&!c.videoAttempt&&l&&(c.videoAttempt=!0,l({eventName:"video-attempt",eventAttributes:{errorMessage:i,playReason:r,videoView:s,...m(t)}}))}},{eventName:"firstFrame",callback:async e=>{let{player:t,trackVideoEvent:l}=e;console.debug("JW Player callback - firstFrame eventSentFlags:",c);let a=t.getPlaylistItem();a&&!c.videoPlayed&&l&&(l({eventName:"video-played",eventAttributes:{errorMessage:i,playReason:r,videoView:s,...m(t)}}),c.videoPlayed=!0),a&&!c.videoStarted&&l&&(l({eventName:"video-started",eventAttributes:{errorMessage:i,playReason:r,videoView:s,...m(t)}}),c.videoStarted=!0)}},{eventName:"complete",callback:async e=>{let{player:t,trackVideoEvent:l}=e,a=t.getPlaylistItem();console.debug("JW Player callback - complete eventSentFlags:",c),a&&!c.videoCompleted&&l&&(l({eventName:"video-completed",eventAttributes:{errorMessage:i,playReason:r,videoView:s,...m(t)}}),c.videoCompleted=!0),c.videoStarted&&!c.videoEnd&&(l({eventName:"video-end",eventAttributes:{errorMessage:i,contentWatchedSeconds:o,playReason:r,videoView:s,...m(t)}}),c.videoEnd=!0)}},{eventName:"adStarted",callback:async e=>{let{player:t,trackVideoEvent:l}=e,a=t.getPlaylistItem();console.debug("JW Player callback - adStarted eventSentFlags:",c),a&&l&&l({eventName:"ad-started",eventAttributes:{errorMessage:i,playReason:r,videoView:s,...m(t)}})}},{eventName:"adSkipped",callback:async e=>{let{player:t,trackVideoEvent:l}=e;t.getPlaylistItem()&&l&&l({eventName:"ad-skipped",eventAttributes:{errorMessage:i,playReason:r,videoView:s,...m(t)}})}},{eventName:"adComplete",callback:async e=>{let{player:t,trackVideoEvent:l}=e,a=t.getPlaylistItem();console.debug("JW Player callback - adComplete eventSentFlags:",c),a&&l&&l({eventName:"ad-complete",eventAttributes:{errorMessage:i,playReason:r,videoView:s,...m(t)}})}},{eventName:"beforePlay",callback:async e=>{let{event:t}=e;r=null==t?void 0:t.playReason}},{eventName:"adError",callback:async e=>{let{event:t}=e;console.error("Video ad error:",t)}},{eventName:"error",callback:async e=>{let{event:t}=e;i=null==t?void 0:t.message,console.error("Video Player error:",t)}},{eventName:"time",callback:e=>{let{event:t}=e;if("number"==typeof(null==t?void 0:t.position)){let e=t.position-d;o+=e,d=t.position}}},{eventName:"seek",callback:e=>{let{event:t}=e;"number"==typeof(null==t?void 0:t.offset)&&(d=t.offset)}}]},27430:(e,t,l)=>{"use strict";l.d(t,{S:()=>s});var a=l(66695),n=l(97839),r=l(89010);let i=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:r,descId:i,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":i,...s,children:[r?(0,a.jsx)("desc",{id:i,children:r}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"View"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsxs)("g",{fill:"currentColor",children:[(0,a.jsx)("path",{d:"M15.47 7.83A8.35 8.35 0 0 0 8 2.5 8.35 8.35 0 0 0 .53 7.83a.5.5 0 0 0 0 .34A8.35 8.35 0 0 0 8 13.5a8.35 8.35 0 0 0 7.47-5.33.5.5 0 0 0 0-.34M8 12.5c-2.65 0-5.45-1.965-6.465-4.5C2.55 5.465 5.35 3.5 8 3.5s5.45 1.965 6.465 4.5C13.45 10.535 10.65 12.5 8 12.5"}),(0,a.jsx)("path",{d:"M8 5a3 3 0 1 0 0 6 3 3 0 0 0 0-6m0 5a2 2 0 1 1 0-4 2 2 0 0 1 0 4"})]})]})}),s=n.forwardRef((e,t)=>(0,a.jsx)(r.h,{ref:t,icon:i,...e}));s.displayName="View"},30732:(e,t,l)=>{"use strict";l.a(e,async(e,a)=>{try{l.r(t),l.d(t,{PrecipIntensityBlock:()=>c,default:()=>u});var n=l(66695),r=l(3071),i=l(6127),s=l(9117),o=l(49866),d=e([o]);o=(d.then?(await d)():d)[0];let c=e=>{let{locationEntry:t,locationProvider:l}=e,a="specified"===l,{specifiedLocationData:d,specifiedLocationError:c,isSpecifiedLocationLoading:u}=(0,r.v)(t);if(a&&u)return(0,n.jsx)(s.a,{});if(a&&c)return null;let m=a&&d&&t?(0,i.I)(d):void 0;return(0,n.jsx)(o.A,{location:m})},u=c;a()}catch(e){a(e)}})},31181:(e,t,l)=>{"use strict";l.d(t,{$m:()=>h,As:()=>m,nD:()=>u,ub:()=>p});var a=l(66695),n=l(97839),r=l(87043),i=l(16073),s=l(64070),o=l(73237),d=l(88504),c=l(18540);n.forwardRef((e,t)=>{let{className:l,href:n,children:r,...i}=e;return(0,a.jsx)(d.default,{ref:t,href:n,...i,children:(0,a.jsx)(o.EY,{variant:"Caption.M",color:"secondary",children:r})})}).displayName="AccordionTextLink";let u=n.forwardRef((e,t)=>{let{className:l,type:n="single",collapsible:r=!0,...i}=e,o={ref:t,type:n,className:(0,s.cn)("w-full",l),"data-slot":"accordion",...i};return"single"===n&&(o.collapsible=r),(0,a.jsx)(c.bL,{...o})});function m(e){let{className:t,...l}=e;return(0,a.jsx)(c.q7,{"data-slot":"accordion-item",className:(0,s.cn)("w-full",t),...l})}function h(e){let{className:t,children:l,triggerContent:n,title:d,number:u,iconClassName:m,...h}=e;return(0,a.jsx)(c.Y9,{className:"flex",children:(0,a.jsxs)(c.l9,{"data-slot":"accordion-trigger",className:(0,s.cn)("hover:text-whale-400 group flex flex-1 cursor-pointer items-center justify-between py-4 text-left font-medium transition-all",t),...h,children:[(0,a.jsxs)("div",{className:"flex grow items-center",children:[void 0!==u&&(0,a.jsx)("div",{className:"mr-3 flex h-6 w-6 items-center justify-center rounded-full bg-[#204794] text-sm font-medium text-white",children:(0,a.jsx)("span",{className:"leading-none tracking-wide",children:u})}),n||(d?(0,a.jsx)(o.EY,{variant:"Body.L",children:d}):l)]}),(0,a.jsxs)("div",{className:"relative flex items-center",children:[(0,a.jsx)(r.F,{className:(0,s.cn)("h-5 w-5 shrink-0 transition-all duration-200",m,"group-data-[state=open]:rotate-45 group-data-[state=open]:opacity-0")}),(0,a.jsx)(i.H,{className:(0,s.cn)("absolute h-5 w-5 shrink-0 opacity-0 transition-all duration-200",m,"group-data-[state=open]:opacity-100")})]})]})})}function p(e){let{className:t,...l}=e;return(0,a.jsx)(c.UC,{"data-slot":"accordion-content",className:(0,s.cn)("overflow-hidden text-sm transition-all data-[state=closed]:max-h-0 data-[state=open]:max-h-screen",t),...l})}u.displayName="Accordion",n.forwardRef((e,t)=>{let{className:l,children:n,enabled:r=!1,...i}=e;return(0,a.jsx)("div",{ref:t,className:(0,s.cn)("mt-4",l),...i,children:(0,a.jsx)(o.EY,{variant:"Caption.M",color:"disabled",children:n})})}).displayName="AccordionTextSpotlight"},31448:(e,t,l)=>{"use strict";l.d(t,{z:()=>n});var a=l(4930);let n=e=>{let{date:t,locale:l="en-US",timeZone:n}=e;if(!t)return"";let{cDate:r,cTimeZone:i}=(0,a.r)({date:t,locale:l,timeZone:n});return new Intl.DateTimeFormat(l,{weekday:"long",day:"numeric",month:"long",timeZone:i}).format(r)}},32584:(e,t,l)=>{"use strict";l.d(t,{A:()=>o});var a=l(66695),n=l(97839),r=l(68772),i=l(16774),s=l(46789);let o=e=>{let{rtl:t,isSamsungTheme:l,radius:o=4,legendTypes:d}=e,c=(0,r.c3)("PrecipIntensity"),u=(0,n.useMemo)(()=>{let e=[{label:c("legendRain"),type:i.PrecipType.RAIN,color:s.vc},{label:c("legendSnow"),type:i.PrecipType.SNOW,color:s.at},{label:c(l?"samsungLegendMix":"legendMix"),type:i.PrecipType.PRECIP,color:s._x}];return t?e.reverse():e},[l,t,c]);return(0,a.jsx)("div",{className:"mt-3 flex items-center justify-center gap-6",children:u.map(e=>{let{label:t,type:l,color:n}=e;return(!d||d[l])&&(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[(0,a.jsx)("div",{style:{width:2*o,height:2*o,backgroundColor:n},className:"rounded-full"}),(0,a.jsx)("p",{className:"text-xs",children:t})]},l)})})}},32973:(e,t,l)=>{"use strict";l.r(t),l.d(t,{BuyButtonBlock:()=>u,default:()=>m});var a=l(66695),n=l(97839),r=l(47666),i=l(21455),s=l(64070);let o=(0,i.F)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 my-1 mx-1 py-2 px-4",{variants:{variant:{"bg-brand-200":"bg-brand-200 text-black hover:bg-brand-200/90","bg-brand-300":"bg-brand-300 text-white hover:bg-brand-300/90","bg-yellow-400":"bg-yellow-400 text-black hover:bg-yellow-400/90","bg-green-600":"bg-green-600 text-white hover:bg-green-500/90","bg-violet-500":"bg-violet-500 text-white hover:bg-violet-500/90","bg-gray-900":"bg-gray-900 text-white hover:bg-gray-900/90"},display:{block:"block",inline:"inline-block"}},defaultVariants:{variant:"bg-gray-900",display:"block"}}),d=n.forwardRef((e,t)=>{let{className:l,variant:n,display:i,inline:d=!1,asChild:c=!1,...u}=e,m=c?r.DX:"button";return(0,a.jsx)(m,{className:(0,s.cn)(o({variant:n,display:d?"inline":i,className:l})),ref:t,...u})});d.displayName="Button";var c=l(88504);let u=e=>{let{label:t,url:l,variant:n="bg-gray-900",inline:r=!1,isAffiliate:i=!0}=e;return(0,a.jsx)("div",{className:r?"inline-block":"block",children:(0,a.jsx)(c.default,{href:l,target:"_blank",rel:i?"nofollow noopener noreferrer":"noopener",children:(0,a.jsx)(d,{variant:n,inline:!1,className:"cursor-pointer whitespace-nowrap",children:t})})})},m=u},33058:e=>{e.exports={jwplayerContainer:"JWPlayer_jwplayerContainer__u4Psj"}},33172:(e,t,l)=>{"use strict";l.d(t,{c:()=>a});let a={"@3xs":256,"@2xs":288,"@xs":320,"@sm":384,"@md":448,"@lg":512,"@xl":576,"@2xl":672,"@3xl":768,"@4xl":896,"@5xl":1024,"@6xl":1152,"@7xl":1280}},33319:(e,t,l)=>{"use strict";l.d(t,{v:()=>w});var a=l(80917);let n=(0,a.h)("AdUtils"),r=async e=>{let{player:t,user:l,ctx:a={},isMobile:n=!1}=e;if(!t)return;if(null==l?void 0:l.isUserPremium)return void t.play();let r=await i(a,n);r?t.playAd(r):t.play()},i=async function(e){let t,l=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!c())return null;let a=o(e,l),r=s({},e.iab);window.__Helios.emit("UPDATE_AD_UNIT_PATH",a);try{var i,u,m;null==(m=window.__Helios.modules)||null==(u=m.iabc)||null==(i=u.update)||i.call(u,{page:r,site:{v1:["IAB15-10_Weather"],v3:["390_Weather"]}})}catch(e){n.error("Error updating IABC parameters",e)}try{t=await d()}catch(e){t=null,n.error("Error getting ad tag",e)}return window.__Helios.emit("UPDATE_AD_UNIT_PATH",a),t},s=(e,t)=>{let l={...e};for(let e in t)Array.isArray(t[e])?(l[e]=[...l[e]||[],...t[e]],l[e]=[...new Set(l[e])]):"object"==typeof t[e]&&null!==t[e]?l[e]=s(l[e]||{},t[e]):l[e]=t[e];return l},o=(e,t)=>{var l,a,n,r,i,s;let o=null==(a=window)||null==(l=a.__HeliosConfig)?void 0:l.generalConfig,d=null!=(i=null==o||null==(n=o.targeting)?void 0:n.networkCode)?i:"/7646",c=null!=(s=null==o||null==(r=o.targeting)?void 0:r.adUnits)?s:t?"mobile_smart_us":"web_weather_us",u=e.collectionAdZone||e.adzone||"video";return"".concat(d,"/").concat(c,"/").concat(u)},d=async()=>{let e=[];try{var t;e=await (null==(t=window)?void 0:t.__Helios.video.requestVideoBids())}catch(e){n.error("Error getting video bids",e)}return await window.__Helios.modules.videoTag.createAdTag(e)},c=()=>{try{var e,t,l,a,n;return"function"==typeof(null==(t=window.__Helios)||null==(e=t.video)?void 0:e.requestVideoBids)&&"function"==typeof(null==(n=window.__Helios)||null==(a=n.modules)||null==(l=a.videoTag)?void 0:l.createAdTag)}catch(e){return!1}},u=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"https";return e.replace(/^\/\//,"".concat(t,"://"))},m=e=>{let{collectionId:t,videoIndex:l,videoId:a}=e||{};return{videoCount:l,videoId:a,collectionId:t}},h=e=>"GDFP"===e||"AdSense/AdX"===e;l(66695),l(5498);var p=l(37811);let x=(0,a.h)("NewRelic");function v(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{var l,a,n;null==(n=window)||null==(a=n.NREUM)||null==(l=a.addPageAction)||l.call(a,e,{...f(t,"meta.")})}catch(e){x.error("New Relic: sendReumEvent error",e instanceof Error?e.message:String(e))}}p.env.NEW_RELIC_RUM_ACCOUNT_ID,p.env.NEW_RELIC_RUM_APP_ID,p.env.NEW_RELIC_RUM_LICENSE_KEY;let f=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object.fromEntries(Object.entries(e).map(e=>{let[l,a]=e;return["".concat(t).concat(l),a]}))},g=(0,a.h)("AdEvents"),y=new Set(["amznbid","crt_pb","hb_pb"]),w=[{eventName:"ready",callback:e=>{let{event:t}=e;v("videoReady",{isViewable:!!t.viewable,setupTime:t.setupTime})}},{eventName:"beforePlay",callback:async e=>{var t;let{event:l,player:a,isFirstPlayRef:n,user:i,isMobile:s}=e;if(!(null==n?void 0:n.current))return;let o=a.getPlaylistItem(),d=null==o||null==(t=o.custom)?void 0:t.ctx;d&&(d.videoIndex=a.getPlaylistIndex()),v("videoBeforePlay",{...m(d),isViewable:!!l.viewable,playReason:l.playReason}),a.stop(),await r({player:a,user:i,ctx:d,isMobile:s}),n.current=!1}},{eventName:"adRequest",callback:e=>{var t;let{event:l,player:a}=e,n=a.getPlaylistItem(),r=null==n||null==(t=n.custom)?void 0:t.ctx,i={},s=m(r);try{let e=u(l.tag||""),t=new URL(e).searchParams.get("cust_params"),a=(e=>e?e.split("&").reduce((e,t)=>{let[l,a]=t.split("=");return l&&a&&(e[l]||(e[l]=[]),e[l].push(a)),e},{}):{})(t);for(let e of Object.keys(a))y.has(e)&&(i["".concat("kv_").concat(e)]="".concat(a[e]))}catch(e){g.error("Error parsing cust_params",e)}v("videoAdRequest",{...s,isViewable:!!l.viewable,roll:l.adposition,...i})}},{eventName:"adStarted",callback:e=>{var t,l,a,n,r,i;let{event:s,player:o}=e,d=o.getPlaylistItem(),c=null==d||null==(t=d.custom)?void 0:t.ctx,{duration:u,adposition:p}=s,x=m(c),f="";try{let e=null==(i=s.ima)||null==(r=i.ad)?void 0:r.data;e&&(f=(e=>{let{adSystem:t,adId:l,adWrapperSystems:a,adWrapperIds:n}={adSystem:"",adId:"",adWrapperSystems:[],adWrapperIds:[],...e};if(h(t))return l;let r=a.findIndex(h);return r>=0&&r{var t;let{event:l,player:a}=e,n=a.getPlaylistItem();v("videoStart",{...m(null==n||null==(t=n.custom)?void 0:t.ctx),isViewable:!!l.viewable,loadTime:l.loadTime})}},{eventName:"complete",callback:e=>{var t;let{player:l}=e,a=l.getPlaylistItem();v("videoComplete",{...m(null==a||null==(t=a.custom)?void 0:t.ctx)})}},{eventName:"adSkipped",callback:e=>{var t;let{player:l}=e,a=l.getPlaylistItem();v("videoAdSkip",{...m(null==a||null==(t=a.custom)?void 0:t.ctx)})}},{eventName:"playlistItem",callback:async e=>{var t;let{event:l,player:a,isFirstPlayRef:n,user:i,isMobile:s}=e;if(null==n?void 0:n.current)return;let{item:o}=l,d=null==o||null==(t=o.custom)?void 0:t.ctx;d.videoIndex=a.getPlaylistIndex(),a.stop(),await r({player:a,user:i,ctx:d,isMobile:s})}},{eventName:"adComplete",callback:async e=>{let{player:t}=e;t.play()}},{eventName:"adError",callback:async e=>{var t;let{event:l,player:a}=e,n=a.getPlaylistItem();v("videoAdError",{...m(null==n||null==(t=n.custom)?void 0:t.ctx),message:l.message,code:l.code,vastCode:l.vastCode,roll:l.adposition}),g.error("Ad error occurred",l),a.play()}},{eventName:"error",callback:async e=>{var t;let{event:l,player:a}=e,n=a.getPlaylistItem();v("videoError",{...m(null==n||null==(t=n.custom)?void 0:t.ctx),message:l.message,code:l.code}),g.error("Video Player error",l)}},{eventName:"setupError",callback:e=>{let{event:t}=e;v("videoSetupError",{message:t.message,code:t.code})}}]},35150:(e,t,l)=>{"use strict";l.d(t,{b:()=>i});var a=l(66695);l(97839);var n=l(64070),r=l(69896);let i=e=>{let{className:t,units:l,visibility:i,unitsClassName:s}=e,o=l?(0,r.Bu)(l):null,d=null==o?void 0:o.distance,c="";return c=0===i?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{children:"0"}),(0,a.jsxs)("span",{className:(0,n.cn)(s),children:[" ",d]})]}):!i||i10||"m"===l&&i>16?"Unlimited":(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{children:i}),(0,a.jsxs)("span",{className:(0,n.cn)(s),children:[" ",d]})]}),(0,a.jsx)("span",{"data-testid":"VisibilityValue",className:(0,n.cn)(t),children:c})}},36219:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHourlyAirQualityForecastUrlConfig=function(e){let{geocode:t,language:l,scale:a,duration:n}=e;return{host:"api.weather.com",protocol:"https",pathname:"/v3/wx/globalAirQuality/forecast/hourly/".concat(n),query:{geocode:t,language:l,scale:a,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}}},38810:(e,t,l)=>{"use strict";l.d(t,{r:()=>i});var a=l(97839),n=l(31110),r=l(85849);let i=e=>{let t=(0,a.useRef)(null),[l,i]=(0,a.useState)(r.A?e(window.innerWidth,window.innerHeight):null),s=(0,a.useRef)(!1),o=(0,n.X)(e);return(0,a.useEffect)(()=>{let e=t.current;if(!e||"undefined"==typeof ResizeObserver)return;let l=new ResizeObserver(e=>{for(let t of e){let{right:e,left:l,top:a,bottom:n}=t.contentRect,r=e+l,d=a+n,c=o.current(r,d);s.current=!0,i(c)}});return l.observe(e),()=>{l.disconnect()}},[t,o]),[l,t,s.current]}},41248:(e,t,l)=>{"use strict";l.r(t),l.d(t,{LiveblogEntriesBlock:()=>n,default:()=>r});var a=l(66695);l(97839);let n=()=>(0,a.jsx)("div",{children:"Live Blog Entries"}),r=n},42302:(e,t,l)=>{"use strict";l.d(t,{J:()=>a});let a=e=>Array.isArray(e)&&e.length>0},46789:(e,t,l)=>{"use strict";l.d(t,{VF:()=>n,_x:()=>s,at:()=>i,cv:()=>a,ro:()=>o,vc:()=>r});let a=["rain","freezing_rain"],n=["snow","sleet"],r="#47A25D",i="#65B0C3",s="#DD85A7",o={300:"rain",310:"rain",400:"rain",402:"rain",410:"rain",412:"rain",500:"rain",510:"rain",600:"rain",601:"rain",610:"rain",611:"rain",700:"sleet",701:"sleet",710:"sleet",711:"sleet",800:"freezing_rain",810:"freezing_rain",850:"freezing_rain",900:"rain",910:"rain",950:"rain",1e3:"freezing_rain",1001:"freezing_rain",1002:"freezing_rain",1010:"freezing_rain",1011:"freezing_rain",1012:"freezing_rain",1051:"freezing_rain",1100:"rain",1110:"rain",1140:"rain",1170:"rain",1200:"rain",1201:"rain",1210:"rain",1211:"rain",1240:"rain",1251:"rain",1270:"rain",1300:"snow",1310:"snow",1400:"snow",1410:"snow",1600:"snow",1601:"snow",1610:"snow",1611:"snow",1651:"snow",1800:"sleet",1801:"sleet",1810:"sleet",1811:"sleet",3700:"rain",3710:"rain",3800:"rain",3810:"rain",3900:"rain",3910:"rain",4e3:"rain",4010:"rain",4100:"snow",4110:"snow",4200:"snow",4210:"snow",4300:"snow",4500:"rain",4510:"rain",4600:"rain",4610:"rain",4700:"snow",4710:"snow",4800:"snow",4810:"snow",4900:"rain",4910:"rain",5e3:"snow",5100:"freezing_rain",5101:"freezing_rain",5110:"freezing_rain",5111:"freezing_rain",5200:"sleet",5210:"sleet",5300:"freezing_rain",5301:"freezing_rain",5302:"freezing_rain",5310:"freezing_rain",5311:"freezing_rain",5312:"freezing_rain",5351:"freezing_rain",5400:"snow",5500:"rain",5600:"snow",5610:"snow",5700:"rain",5710:"rain"}},46848:(e,t,l)=>{"use strict";l.d(t,{lG:()=>u,Cf:()=>p,LC:()=>h,ZJ:()=>m,L3:()=>x});var a=l(66695),n=l(97839),r=l(89516),i=l(89010);let s=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:r,descId:i,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":i,...s,children:[r?(0,a.jsx)("desc",{id:i,children:r}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Close"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsx)("path",{fill:"currentColor",d:"M12.809 4.113a.652.652 0 1 0-.922-.922L8 7.078 4.113 3.19a.652.652 0 1 0-.922.922L7.078 8 3.19 11.887a.652.652 0 0 0 .922.922L8 8.922l3.887 3.887a.652.652 0 1 0 .922-.922L8.922 8z"})]})}),o=n.forwardRef((e,t)=>(0,a.jsx)(i.h,{ref:t,icon:s,...e}));o.displayName="Close";var d=l(64070);l(24765);var c=l(73237);function u(e){let{...t}=e;return(0,a.jsx)(r.bL,{"data-slot":"dialog",...t})}function m(e){let{...t}=e;return(0,a.jsx)(r.ZL,{"data-slot":"dialog-portal",...t})}function h(e){let{className:t,...l}=e;return(0,a.jsx)(r.hJ,{"data-slot":"dialog-overlay",className:(0,d.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",t),...l})}function p(e){let{className:t,children:l,showCloseButton:n=!0,...i}=e;return(0,a.jsxs)(m,{"data-slot":"dialog-portal",children:[(0,a.jsx)(h,{}),(0,a.jsxs)(r.UC,{"data-slot":"dialog-content",className:(0,d.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed left-[50%] top-[50%] z-50 w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border bg-white shadow-lg duration-200 sm:max-w-md",t),...i,children:[l,n&&(0,a.jsxs)(r.bm,{className:"absolute right-4 top-4 cursor-pointer transition-opacity hover:opacity-70 focus:outline-none",children:[(0,a.jsx)(o,{className:"h-5 w-5 text-black"}),(0,a.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})}function x(e){let{className:t,children:l,...n}=e;return(0,a.jsx)(r.hE,{"data-slot":"dialog-title",className:(0,d.cn)("pt-4 text-center",t),...n,children:(0,a.jsx)(c.EY,{variant:"Title.M",children:l})})}},47373:(e,t,l)=>{"use strict";l.r(t),l.d(t,{DailyForecastBlock:()=>b,default:()=>j});var a=l(66695);l(97839);var n=l(24765),r=l(62974),i=l(81402),s=l(38051),o=l(79023),d=l(64070),c=l(31561);let u=function(e,t){let l=(0,c.G)();return l?l.variant(e,t):t};var m=l(20108),h=l(74249),p=l(68772),x=l(69896),v=l(92071),f=l(60838);let g=e=>{var t;let{location:l}=e,c=(0,p.c3)("DailyForecast"),g=(0,v.useParams)(),y=null==g?void 0:g.locale,{value:w}=u("reorder-current-conditions-and-forecast","control"),{effectiveLocation:b,isLocationLoading:j}=(0,o.s)({location:l}),N=(0,m.md)(h.Yt),C=null==(t=(0,x.xP)(N))?void 0:t.code,{data:T,error:A,isLoading:S}=(0,s.Ay)(b?["daily-forecast",b.geocode,C]:null,e=>{let[t,l,a]=e;return b?(0,r.v1)({geocode:l,units:a,language:y,duration:i.ForecastDuration.THREE_DAY}):null},{revalidateOnFocus:!1,dedupingInterval:6e4}),M=[];if(T&&T[0]&&T[0].daypart){let e=T[0].daypart;if(e&&e.daypartName)for(let t=0;t{let l="Afternoon"===e.name||"Evening"===e.name?"text-blue-600":"text-slate-700";return(0,a.jsxs)("div",{className:"flex items-center justify-between px-6 py-5","data-testid":"forecast-period-".concat(t),children:[(0,a.jsx)("div",{className:"w-1/3 text-xl font-medium text-gray-700","data-testid":"period-name",children:e.name}),(0,a.jsxs)("div",{className:"text-5xl font-bold ".concat(l," w-1/3 text-center"),"data-testid":"temperature",children:[e.temperature,"\xb0"]}),(0,a.jsxs)("div",{className:"flex w-1/3 items-center justify-end",children:[(0,a.jsx)("div",{className:"flex w-12 justify-center","data-testid":"weather-icon",children:(0,a.jsx)(f.WxIcon,{iconCode:e.iconCode,className:"lightBG",size:"xl",iconTheme:"lightBG","aria-label":i.ICON_CODE_MAP[e.iconCode]||"Weather condition ".concat(e.iconCode)})}),(0,a.jsx)("div",{className:"ml-6 w-16 text-xl font-medium text-gray-700","data-testid":"precipitation",children:e.precipitation})]})]},e.name)})}),(0,a.jsx)("div",{className:"flex justify-start p-4",children:(0,a.jsx)(n.$n,{variant:"default",className:"rounded-md bg-slate-900 text-white hover:bg-slate-800","data-testid":"next-48-hours",children:c("bottomCtaButton")})})]}):(0,a.jsxs)("div",{className:"overflow-hidden rounded-lg bg-white shadow-md",children:[(0,a.jsx)("div",{className:"bg-slate-800 p-4 text-white",children:(0,a.jsx)("h2",{className:"text-2xl font-bold",children:c("loadingLocation")})}),(0,a.jsx)("div",{className:"flex h-64 items-center justify-center p-6",children:(0,a.jsx)("div",{className:"animate-pulse text-xl",children:"Determining location..."})})]})};var y=l(6127),w=l(3071);let b=e=>{let{locationProvider:t,locationEntry:l}=e,{specifiedLocationData:n,specifiedLocationError:r,isSpecifiedLocationLoading:i}=(0,w.v)("specified"===t?l:null);return"specified"===t&&i?(0,a.jsx)("div",{children:"Loading location data..."}):"specified"===t&&r?(0,a.jsxs)("div",{children:["Error loading location data: ",r.message]}):"specified"===t&&n&&l?(0,a.jsx)(g,{location:(0,y.I)(n)}):"specified"!==t?(0,a.jsx)(g,{}):null},j=b},47698:(e,t,l)=>{"use strict";l.d(t,{c:()=>s});var a=l(66695),n=l(97839),r=l(89010);let i=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:r,descId:i,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":i,...s,children:[r?(0,a.jsx)("desc",{id:i,children:r}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Clear Night"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsx)("path",{fill:"currentColor",d:"M6.751 2.707a7.54 7.54 0 0 0 5.797 9.097A5.56 5.56 0 0 1 8.561 13.5q-.105.002-.21 0a5.547 5.547 0 0 1-1.6-10.792m.74-1.207a1 1 0 0 0-.088.008 6.548 6.548 0 0 0 .912 12.99c.082.004.164 0 .246 0a6.54 6.54 0 0 0 5.35-2.777.504.504 0 0 0-.391-.782A6.54 6.54 0 0 1 7.945 2.19a.507.507 0 0 0-.455-.69"})]})}),s=n.forwardRef((e,t)=>(0,a.jsx)(r.h,{ref:t,icon:i,...e}));s.displayName="ClearNight"},48340:(e,t,l)=>{"use strict";t.I=i;let a=l(93323),n=l(54435),r=l(71744);async function i(e){let t=(0,a.getSunV3WeatherInsightsUrlConfig)(e),l=(0,n.urlFrom)(t),i=await fetch(l,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:300}});return(0,r.handleFetchResponse)(i)}},48709:(e,t,l)=>{"use strict";l.r(t),l.d(t,{MorningBriefBlock:()=>U,default:()=>q});var a=l(66695),n=l(97839),r=l(54506),i=l(35744),s=l(73294),o=l(24765),d=l(28105),c=l(38051),u=l(78648),m=l(38389),h=l(47777),p=l(1518),x=l(64070);function v(e){let{className:t,...l}=e;return(0,a.jsx)(h.uB,{"data-slot":"command",className:(0,x.cn)("bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md",t),...l})}function f(e){let{className:t,...l}=e;return(0,a.jsxs)("div",{"data-slot":"command-input-wrapper",className:"flex h-9 items-center gap-2 border-b px-3",children:[(0,a.jsx)(p.A,{className:"size-4 shrink-0 opacity-50"}),(0,a.jsx)(h.uB.Input,{"data-slot":"command-input",className:(0,x.cn)("placeholder:text-muted-foreground outline-hidden flex h-10 w-full rounded-md bg-transparent py-3 text-sm disabled:cursor-not-allowed disabled:opacity-50",t),...l})]})}function g(e){let{className:t,...l}=e;return(0,a.jsx)(h.uB.List,{"data-slot":"command-list",className:(0,x.cn)("max-h-[300px] scroll-py-1 overflow-y-auto overflow-x-hidden",t),...l})}function y(e){let{className:t,...l}=e;return(0,a.jsx)(h.uB.Group,{"data-slot":"command-group",className:(0,x.cn)("text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium",t),...l})}function w(e){let{className:t,...l}=e;return(0,a.jsx)(h.uB.Item,{"data-slot":"command-item",className:(0,x.cn)("data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground outline-hidden relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0",t),...l})}l(46848);var b=l(32370),j=l(92071);function N(e){var t;let{label:l,placeholder:r,className:s,location:h,onChangeLocation:p}=e,N=(0,j.useParams)(),C=null==N?void 0:N.locale,[T,A]=(0,n.useState)(!1),[S,M]=(0,n.useState)(""),{isLoading:I,data:R}=function(e,t){let l=e.trim().length>0,{isLoading:a,data:n,error:r}=(0,c.Ay)(l?["search/locations",encodeURIComponent(e)]:null,async()=>await (0,d.SK)(e,t));return{isLoading:a,data:n,error:r}}((0,u.A)(S,300),C);return(0,a.jsxs)(m.AM,{open:T,onOpenChange:A,children:[(0,a.jsx)(m.Wv,{asChild:!0,children:(0,a.jsxs)(o.$n,{variant:"outline",role:"combobox",className:(0,x.cn)("text-muted-foreground flex w-full text-nowrap bg-white px-2",s),children:[(0,a.jsx)("div",{children:I?(0,a.jsx)(i.A,{className:"animate-spin"}):(0,a.jsx)(b.A,{})}),(0,a.jsx)("div",{className:"flex flex-1 px-2 text-start",children:null!=(t=null==h?void 0:h.displayName)?t:l})]})}),(0,a.jsx)(m.hl,{className:"w-[var(--radix-popover-trigger-width)]",showArrow:!1,children:(0,a.jsxs)(v,{shouldFilter:!1,children:[(0,a.jsx)(f,{placeholder:r,value:S,onValueChange:M}),(0,a.jsx)(g,{children:(0,a.jsx)(y,{children:null==R?void 0:R.map(e=>(0,a.jsx)(w,{value:e.locId,onSelect:()=>{null==p||p(e),A(!1)},children:e.address},e.locId))})})]})})]})}var C=l(54720);function T(e){let{label:t,error:l,className:n,...r}=e;return(0,a.jsxs)("div",{className:"w-full",children:[t&&(0,a.jsx)("label",{className:"text-sm",children:t}),(0,a.jsx)(C.p,{...r,className:l?"".concat(n," border-red-500"):n})]})}var A=l(88504);let S={"{{terms}}":{text:"Terms",url:"https://".concat("weather.com","/legal")},"{{privacy}}":{text:"Privacy Policy",url:"https://".concat("weather.com","/en-US/twc/privacy-policy")}},M=/\{\{(.*?)\}\}/g;function I(){return(0,a.jsx)("div",{className:"mt-4 text-xs",children:"By signing up you agree to the {{terms}} & {{privacy}}. Unsubscribe at any time.".split(M).map((e,t)=>{let l=S["{{".concat(e,"}}")];return l?(0,a.jsx)(A.default,{href:l.url,className:"underline",children:l.text},t):(0,a.jsx)("span",{children:e},t)})})}let R={src:"/_next/static/media/morning-brief-logo.73126316.svg"},_={src:"/_next/static/media/ellipse.b0c8befa.png"};var k=l(82212),P=l(77339),E=l(36489),L=l(20108),D=l(21669);let F=(0,l(99842).tG)("emailPreferences",null,void 0,{getOnInit:!0});var B=l(4901),H=l(89834);let W=()=>{let[e,t]=(0,L.fp)(F),{user:l}=(0,B.J)(),a=(null==l?void 0:l.userID)||null,r=(null==l?void 0:l.isUserLoggedIn)||!1,i=(0,n.useCallback)(l=>{a&&t({userId:a,expiry:Date.now()+9e5,subscriptions:function(e,t){let l=(null==t?void 0:t.length)?t:H.J3,a={};return e?(null==l||l.forEach(e=>{a[e.subscriptionGroupName]=e}),e.forEach(e=>{a[e.subscriptionGroupName]=e}),Object.values(a)):l}(l,null==e?void 0:e.subscriptions)})},[a,t,null==e?void 0:e.subscriptions]),s=e&&e.userId===a&&e.expiry&&e.expiry>Date.now();return(0,c.Ay)(a&&r&&!s?"getEmailPreferencesStatus/".concat(a):void 0,()=>(0,D.j)(),{revalidateOnFocus:!1,revalidateOnReconnect:!1,refreshInterval:0,errorRetryCount:2,onSuccess:e=>{a&&e&&i(e.subscriptions)}}),{subscriptions:a&&e?e.subscriptions:null,updateSubscriptions:i}};async function O(e,t){let{arg:l}=t,{email:a,location:n,locale:r,isAnonymous:i}=l,{location:s}=await (0,E.$M)(n.placeId,r).catch(()=>({location:null})),o={subscriptions:[{subscriptionGroupName:e,isSubscribed:!0,attributes:{location:n.placeId,latitude:n.latitude,longitude:n.longitude,dmaCode:(null==s?void 0:s.dmaCd)||null,adminDistrict:n.adminDistrict,adminDistrictCode:n.adminDistrictCode||null,postalCode:n.postalCode}}]};return i&&(o.email=a),await (0,P.p_)(o).then(e=>({...e,sentSubscriptions:o.subscriptions}))}var z=l(36697),V=l(4792);let U=()=>{var e,t;let l=(0,j.useParams)(),d=(0,j.useSearchParams)(),c=null==l?void 0:l.locale,{userProfile:u}=(0,B.J)(),[m,h]=(0,n.useState)(null!=(e=null==u?void 0:u.email)?e:""),[p,x]=(0,n.useState)(null),[v,f]=(0,n.useState)(!1),{data:g,loading:y,onSubmit:w,error:b}=function(){let{updateSubscriptions:e}=W(),{isMutating:t,trigger:l,data:a,error:r,reset:i}=(0,k.A)("newsletter/signup/daily-newsletters-1",(e,t)=>O("daily-newsletters-1",t));return{loading:t,error:r,data:a,onSubmit:(0,n.useCallback)(async t=>{let a=await l(t);return a.sentSubscriptions&&e(a.sentSubscriptions),a},[l,e]),onReset:i}}(),C=d.get("cm_ven"),A=null==C?void 0:C.startsWith("dnt_newsletter"),{subscriptions:S}=W(),M=(0,n.useMemo)(()=>(0,V.C)(S,H.rn),[S]),P=(0,n.useCallback)(async e=>{e.preventDefault(),!y&&m.trim()&&p&&(f(!0),await w({email:m,location:p,locale:c,isAnonymous:!(null==u?void 0:u.email)}))},[w,m,p,c,y,null==u?void 0:u.email]);return!v&&(null==M?void 0:M.isSubscribed)||A?null:(0,a.jsxs)("div",{style:{backgroundImage:'url("'.concat(_.src,'")'),backgroundPosition:"right top",backgroundRepeat:"no-repeat",backgroundSize:"70px"},className:"my-4 space-y-2 rounded-xl bg-white py-5 pl-5 pr-[30px] shadow-[0_3px_20px_0_rgba(181,171,162,0.5)]",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-end sm:gap-3",children:[(0,a.jsx)(z.A,{src:R.src,alt:"",className:"w-37.5 m-0",rounded:!1}),(0,a.jsx)("div",{className:"mb-1.5 hidden min-h-[24px] min-w-[2px] bg-black sm:block"}),(0,a.jsx)("div",{className:"text-lg font-semibold",children:"Weather in your inbox"})]}),(null==g?void 0:g.status)==="success"?(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(r.A,{className:"h-6 w-6 text-green-500"}),(0,a.jsx)("div",{className:"text-sm text-gray-700",children:(0,a.jsx)("p",{children:"You are subscribed to the Morning Brief newsletter."})})]}):(0,a.jsxs)("form",{onSubmit:P,className:"flex flex-1 flex-col items-end gap-4 pt-4 lg:flex-row",children:[(0,a.jsx)(T,{id:"email",required:!0,type:"email",placeholder:"Email",className:"h-12",value:m,onChange:e=>h(e.target.value),error:!!(null==g?void 0:g.emailError),disabled:!!(null==u?void 0:u.email)}),(0,a.jsx)(N,{label:"Forecast Location",placeholder:"Search City or Zip Code",className:"h-12 items-center text-sm",location:p,onChangeLocation:x}),(0,a.jsx)("div",{children:(0,a.jsxs)(o.$n,{type:"submit",className:"flex h-12 items-center gap-1 text-nowrap",disabled:y||!(m&&p),children:[(0,a.jsx)("span",{children:"Sign Up"}),y&&(0,a.jsx)(i.A,{className:"animate-spin"})]})})]}),b&&(0,a.jsxs)("div",{className:"flex items-center gap-2 text-red-500",children:[(0,a.jsx)(s.A,{className:"h-6 w-6 text-red-500"}),(0,a.jsx)("div",{className:"text-sm",children:"Failed to subscribe, please try again."})]}),(null==g?void 0:g.status)==="error"&&(0,a.jsxs)("div",{className:"flex items-center gap-2 text-red-500",children:[(0,a.jsx)(s.A,{className:"h-6 w-6 text-red-500"}),(0,a.jsx)("div",{className:"text-sm",children:null!=(t=g.emailError)?t:g.error})]}),(0,a.jsx)(I,{})]})};U.displayName="MorningBriefBlock";let q=U},49866:(e,t,l)=>{"use strict";l.a(e,async(e,a)=>{try{l.d(t,{A:()=>c});var n=l(66695),r=l(92071),i=l(79023),s=l(26079),o=l(249),d=e([o]);o=(d.then?(await d)():d)[0];let c=e=>{var t;let{location:l,onlyChart:a}=e,d=null==(t=(0,r.useParams)())?void 0:t.locale,{effectiveLocation:c,isLocationLoading:u}=(0,i.s)({location:l}),{loadingForecast:m,chartData:h,hasChartData:p,insightTextLong:x}=(0,s.A)(c,d),v=u||!c||m;return(0,n.jsx)(o.A,{location:c,locale:d,onlyChart:a,isLoading:v,chartData:h,hasChartData:p,insightTextLong:x})};a()}catch(e){a(e)}})},51880:(e,t,l)=>{"use strict";l.d(t,{r:()=>d});var a=l(38051),n=l(48340),r=l(20108),i=l(74249),s=l(69896);let o={revalidateOnFocus:!1,dedupingInterval:6e4},d=e=>{let{key:t,geoCode:l,insightType:d,locale:c,par:u="twc"}=e,m=(0,r.md)(i.Yt),h=((0,s.xP)(m)||s.AF).code;return(0,a.Ay)(l?[t,d,l,h,u,c]:null,e=>{let[t,l,a,r,i,s]=e;return(0,n.I)({geocode:a,units:r,language:s,insightType:l,par:i})},o)}},54512:(e,t,l)=>{"use strict";l.r(t),l.d(t,{ContentMediaBlock:()=>c,default:()=>u});var a=l(66695),n=l(42302),r=l(88504),i=l(64070),s=l(86028),o=l(82692),d=l(24765);let c=e=>{let{contentQuery:t,limit:l="4",title:c="Trending",ctaText:u="More Stories",ctaLink:m="/",showCategory:h}=e,p=(null==t?void 0:t.mergedContent)||[];if(!(0,n.J)(p))return null;let x="not-prose mx-auto w-full max-w-5xl",v=p.slice(0,Number(l));if(v.every(e=>"image"===e.contentType)){let e=v.map(e=>({id:e.id,url:e.overrideThumbnail||e.thumbnail||"",filename:e.overrideTitle||"",caption:e.overrideDescription||e.description||"",seo:{altText:e.overrideTitle||e.title},createdAt:new Date().toISOString(),updatedAt:new Date().toISOString()}));return(0,a.jsx)("section",{className:x,children:(0,a.jsx)(o.A,{id:"content-media-slideshow-".concat(Math.random().toString(36).substring(2,9)),assets:e,allSlides:e,slides:[],totalAssets:e.length,rounded:!0,sendTrackString:()=>{},blockType:"Slideshow"})})}return(0,a.jsxs)("section",{className:(0,i.cn)("@container rounded-xl bg-white p-5",x),children:[(0,a.jsx)("h2",{className:"not-prose mb-4 text-2xl font-bold",children:c}),(0,a.jsx)("div",{className:"@md:grid-cols-2 @lg:grid-cols-4 grid grid-cols-1 gap-4",children:v.map(e=>{var t;let l=e.overrideTitle||e.title,n=e.overrideThumbnail||e.thumbnail||"/placeholder.svg",r=(null==(t=e.url)?void 0:t.includes("video"))||!1,i=e.category||"Weather News";return(0,a.jsx)(s.S,{heading:h?i:void 0,description:l,href:e.url,imageUrl:n,showIcon:r,imageWrapClassName:"mb-2",dir:"col"},e.id)})}),(0,a.jsx)("div",{className:"mt-4 text-right",children:(0,a.jsx)(d.$n,{asChild:!0,className:"rounded bg-gray-900 px-4 py-2 text-sm font-medium text-white hover:bg-gray-800",children:(0,a.jsx)(r.default,{href:null!=m?m:"/",children:u})})})]})},u=c},54872:(e,t,l)=>{"use strict";l.d(t,{c:()=>s});var a=l(66695),n=l(97839),r=l(89010);let i=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:r,descId:i,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":i,...s,children:[r?(0,a.jsx)("desc",{id:i,children:r}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Rain Heavy"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsxs)("g",{fill:"currentColor",children:[(0,a.jsx)("path",{fillRule:"evenodd",d:"M7.982 1.833c-1.303 0-2.391 1.032-2.5 2.37l-.034.407-.405.049c-.67.08-1.209.672-1.209 1.41 0 .724.518 1.307 1.17 1.405l.217.015h4.896l.024.003q.087.008.175.008c1.01 0 1.851-.845 1.851-1.915 0-.946-.66-1.719-1.51-1.882l-.264-.051-.104-.248c-.386-.93-1.279-1.57-2.307-1.57M4.535 3.747C4.843 2.096 6.26.833 7.982.833c1.367 0 2.543.798 3.123 1.95 1.198.352 2.062 1.48 2.062 2.802 0 1.597-1.264 2.915-2.851 2.915a3 3 0 0 1-.245-.01H5.187l-.25-.018H4.92l-.034-.005c-1.168-.16-2.051-1.182-2.051-2.398 0-1.091.71-2.026 1.701-2.322",clipRule:"evenodd","data-figma-bg-blur-radius":20}),(0,a.jsx)("path",{d:"m7.65 9.47-.711 1.954a.5.5 0 1 0 .94.342l.71-1.954a.5.5 0 1 0-.94-.342M4.882 10.816l-.803 2.205a.5.5 0 0 0 .94.342l.802-2.205a.5.5 0 0 0-.94-.342M10.179 10.918l-.766 2.103a.5.5 0 1 0 .94.342l.765-2.103a.5.5 0 0 0-.94-.342"})]})]})}),s=n.forwardRef((e,t)=>(0,a.jsx)(r.h,{ref:t,icon:i,...e}));s.displayName="RainHeavy"},55904:(e,t,l)=>{"use strict";l.d(t,{S:()=>d});var a=l(66695);l(97839);var n=l(64070),r=l(71409),i=l(60810),s=l(69896);let o=e=>{let{pressureTendencyCode:t,iconClassName:l}=e;return 1===t?(0,a.jsx)(r.D,{"data-testid":"PressureRisingIcon",className:(0,n.cn)("mr-1 inline-block h-4 w-4",l),"aria-label":"Pressure rising"}):2===t?(0,a.jsx)(i.y,{"data-testid":"PressureFallingIcon",className:(0,n.cn)("mr-1 inline-block h-4 w-4",l),"aria-label":"Pressure falling"}):null},d=e=>{let{className:t,unitsClassName:l,pressureAltimeter:r,pressureMeanSeaLevel:i,pressureTendencyCode:d,units:c,iconClassName:u}=e,m=c?(0,s.Bu)(c):null,h=null==m?void 0:m.pressure,p=(()=>{let e=r&&r>0||i&&i>0?r||i:null;return e?"e"===c?e.toFixed(2):e.toFixed(1):null})();return(0,a.jsx)("span",{"data-testid":"PressureValue",className:(0,n.cn)("inline-flex items-center",t),children:p?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o,{pressureTendencyCode:d,iconClassName:u}),(0,a.jsx)("span",{children:p}),"\xa0",(0,a.jsx)("span",{className:(0,n.cn)(l),children:h})]}):"--"})}},59092:(e,t,l)=>{"use strict";l.d(t,{S:()=>s});var a=l(66695),n=l(97839),r=l(89010);let i=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:r,descId:i,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":i,...s,children:[r?(0,a.jsx)("desc",{id:i,children:r}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"pressure"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.498 1.022a.5.5 0 0 1 .5.5v3.022H4.841l3.14 2.788 3.16-2.788h-1.13V1.522a.5.5 0 0 1 1 0v2.022h1.453a.5.5 0 0 1 .33.875L8.744 7.993l4.053 3.6a.5.5 0 0 1-.332.874h-1.473v2.022a.5.5 0 0 1-1 0v-3.022h1.157L8.008 8.68l-3.16 2.788h1.13v3.022a.5.5 0 0 1-1 0v-2.022H3.525a.5.5 0 0 1-.33-.875l4.052-3.574-4.054-3.6a.5.5 0 0 1 .332-.874h1.473V1.522a.5.5 0 0 1 .5-.5",clipRule:"evenodd"})]})}),s=n.forwardRef((e,t)=>(0,a.jsx)(r.h,{ref:t,icon:i,...e}));s.displayName="Pressure"},59677:(e,t,l)=>{"use strict";l.a(e,async(e,a)=>{try{l.d(t,{A:()=>M});var n=l(66695),r=l(97839),i=l(73237),s=l(24765),o=l(88504),d=l(12814),c=l(68772),u=l(24138),m=l(31448),h=l(21864),p=l(31181);l(69266);var x=l(71409),v=l(60810),f=l(79392),g=l(1337),y=l(54872),w=l(47698),b=l(18020),j=l(78931),N=l(49866),C=l(89274),T=e([N]);N=(T.then?(await T)():T)[0];let A={up:x.D,down:v.y,sun:f.s,cloud:g.T,rain:y.c,clear:f.s,"clear-night":w.c,fair:b.W},S=e=>{let{location:t,locale:l}=e,{insightTextLong:a}=(0,C.p)(t,l);return a?(0,n.jsx)(j.Ay,{className:"px-4 py-2",headlineClass:"hidden",textClass:"text-sm m-0",insightTextLong:a}):null},M=e=>{let{location:t,hourlyForecast:l,isLoading:a,error:x,locale:v,showDayLabel:f,canToggleMultipleItems:g,ctaLink:y,ctaText:w,enableAlertHeadlines:b,insight:j,insightIcon:C,showPrecipIntensity:T}=e,M=(0,c.c3)("HourlyForecast"),[I,R]=(0,r.useState)(!1),_=C&&A[C];return(0,n.jsxs)(d.Zp,{className:"@container/hourly not-prose gap-0 p-4",children:[(0,n.jsxs)(d.aR,{className:"gap-0 p-0",children:[(0,n.jsx)(i.Ay,{elementType:"h2",variant:"Title.M",className:"mb-4 whitespace-nowrap leading-snug",children:M("hourlyWeather")}),j&&(0,n.jsxs)("div",{className:"mb-4 flex items-center gap-1",children:[_&&(0,n.jsx)("div",{children:(0,n.jsx)(_,{className:"text-brand-light size-5"})}),(0,n.jsx)(i.Ay,{variant:"Body.S.Bold",color:"brandLight",children:j})]})]}),(0,n.jsxs)(d.Wu,{className:"p-0",children:[b&&(0,n.jsx)("div",{children:(0,n.jsx)(h.A,{location:t,className:"@lg/hourly:min-w-59 mx-4 mb-3 inline-flex"})}),T&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(S,{location:t,locale:v}),(0,n.jsx)("div",{className:"px-4 py-2",children:(0,n.jsx)(N.A,{location:t,onlyChart:!0})})]}),(()=>{var e,d;let c="flex min-h-48 items-center justify-center p-4";if(!t)return(0,n.jsx)("div",{className:"".concat(c," animate-pulse text-xl"),children:M("locationLoading")});if(a)return(0,n.jsx)("div",{className:"".concat(c," animate-pulse text-xl"),children:M("loadingForecast")});if(x||0===l.length)return(0,n.jsx)("div",{className:"".concat(c," text-xl text-red-500"),children:(null==x?void 0:x.message)||M("errorMsg")});let h=null!=(d=null==(e=l[0])?void 0:e.validTimeLocal)?d:void 0;return(0,n.jsxs)("div",{children:[(0,n.jsx)(p.nD,{...g?{type:"multiple",defaultValue:h?[h]:void 0}:{type:"single",defaultValue:h},children:l.map((e,a)=>{var s;return!I&&e.wxPhraseLong.length>15&&R(!0),(0,n.jsxs)(r.Fragment,{children:[f&&(0===a||e.dayOfWeek!==((null==(s=l[a-1])?void 0:s.dayOfWeek)||""))&&(0,n.jsx)(i.Ay,{variant:"Body.L.Bold",className:"border-b border-[#dedede] p-4",children:(0,m.z)({date:e.validTimeLocal,locale:v,timeZone:t.ianaTimeZone})}),(0,n.jsx)(u.A,{itemIndex:a,forecast:e,location:t,locale:v,longPhraseInSet:I})]},e.validTimeLocal)})}),y&&w&&(0,n.jsx)("div",{className:"pt-6",children:(0,n.jsx)(s.$n,{asChild:!0,children:(0,n.jsx)(o.default,{href:y,children:w})})})]})})()]})]})};a()}catch(e){a(e)}})},60810:(e,t,l)=>{"use strict";l.d(t,{y:()=>s});var a=l(66695),n=l(97839),r=l(89010);let i=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:r,descId:i,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":i,...s,children:[r?(0,a.jsx)("desc",{id:i,children:r}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Arrow Down"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsx)("path",{fill:"currentColor",d:"M3.353 9.767a.499.499 0 0 1 .705-.706L7.5 12.5V2.914a.5.5 0 0 1 1 0V12.5l3.443-3.438a.499.499 0 0 1 .705.706l-3.94 3.94a1 1 0 0 1-1.415 0z"})]})}),s=n.forwardRef((e,t)=>(0,a.jsx)(r.h,{ref:t,icon:i,...e}));s.displayName="ArrowDown"},62754:(e,t,l)=>{"use strict";l.d(t,{Z:()=>p});var a=l(66695),n=l(97839),r=l(64070),i=l(60810),s=l(69896);let o={N:0,NNE:22.5,NE:45,ENE:67.5,E:90,ESE:112.5,SE:135,SSE:157.5,S:180,SSW:202.5,SW:225,WSW:247.5,W:270,WNW:292.5,NW:315,NNW:337.5};var d=l(81402);let c={O:d.WindDirectionCardinal.WEST,NO:d.WindDirectionCardinal.NORTHWEST,NNO:d.WindDirectionCardinal.NORTH_NORTHWEST,ONO:d.WindDirectionCardinal.WEST_NORTHWEST,OSO:d.WindDirectionCardinal.WEST_SOUTHWEST,SO:d.WindDirectionCardinal.SOUTHWEST,SSO:d.WindDirectionCardinal.SOUTH_SOUTHWEST},u=e=>{let{windDirection:t,windDirectionCardinal:l,iconClassName:n,iconColor:s,displayWindDirectionIcon:d,displayMode:c,afterSpeed:u}=e;if(!t&&!l)return null;let m=((e,t)=>null!=e&&Number.isFinite(e)?e:t?o[t]:void 0)(t,l);return("directional"===c||"directionalAndCardinal"===c||void 0===c&&d)&&Number.isFinite(m)?(0,a.jsx)("span",{className:(0,r.cn)(u?"ml-0.5":"mr-0.5"),children:(0,a.jsx)(i.y,{"data-testid":"WindDirectionIcon",className:(0,r.cn)("inline-block size-4 align-middle",n),color:s,style:{transform:"rotate(".concat(m,"deg)")},"aria-label":"Wind direction arrow"})}):null},m=e=>{let{windDirection:t,windDirectionCardinal:l,cardinalClassName:n,displayWindDirectionIcon:r,displayMode:i,beforeSpeed:s}=e;return(t||l)&&("cardinal"===i||"directionalAndCardinal"===i||void 0===i&&!r)&&l?(0,a.jsxs)("span",{className:n,children:[!s&&" ",l,s&&" "]}):null},h=e=>{let{units:t,windUnitClass:l}=e,n=t?(0,s.Bu)(t):null,i=null==n?void 0:n.speed;return(0,a.jsx)("span",{className:(0,r.cn)(l),children:i})},p=(0,n.memo)(e=>{let{windSpeed:t,units:l,className:n,windDirection:i,windDirectionCardinal:s,windSpeedClass:o,windUnitClass:d,iconClassName:p,iconColor:x,cardinalClassName:v,iconAfterSpeed:f,cardinalBeforeSpeed:g,spaceWindSpeedAndUnit:y=!0,displayWindDirectionIcon:w=!1,displayMode:b}=e;s=s&&(e=>c[e]||e)(s);let j=(0,a.jsx)(u,{windDirection:i,windDirectionCardinal:s,iconClassName:p,iconColor:x,displayWindDirectionIcon:w,displayMode:b,afterSpeed:f}),N=(0,a.jsx)(m,{windDirection:i,windDirectionCardinal:s,displayWindDirectionIcon:w,displayMode:b,beforeSpeed:g,cardinalClassName:v});return(0,a.jsxs)("span",{"data-testid":"Wind",className:(0,r.cn)(n),children:[!f&&j,g&&N,Number.isFinite(t)&&l?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:(0,r.cn)(o),children:t}),y&&" ",(0,a.jsx)(h,{units:l,windUnitClass:d})]}):"--",!g&&N,f&&j]})})},62974:(e,t,l)=>{"use strict";t.vt=void 0,t.v1=o;let a=l(14183),n=l(54435),r=l(71744),i=l(1827),s=l(16774);async function o(e){let l=(0,a.getDailyForecastUrlConfig)(e),i=(0,n.urlFrom)(l),s=await fetch(i,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:1800}}),o=await (0,r.handleFetchResponse)(s);return(0,t.vt)(o)}t.vt=(0,i.createTransformer)((e,t,l)=>{var a,n,r,i,o,d,c,u,m,h,p,x,v,f,g,y,w,b,j,N,C,T,A,S;return{calendarDayTemperatureMax:null!=(n=e.calendarDayTemperatureMax)?n:0,calendarDayTemperatureMin:null!=(r=e.calendarDayTemperatureMin)?r:0,dayOfWeek:null!=(i=e.dayOfWeek)?i:"",expirationTimeUtc:null!=(o=e.expirationTimeUtc)?o:0,moonPhase:null!=(d=e.moonPhase)?d:"",moonPhaseCode:null!=(c=e.moonPhaseCode)?c:s.MoonPhaseCode.NEW,moonPhaseDay:null!=(u=e.moonPhaseDay)?u:0,moonriseTimeLocal:null!=(m=e.moonriseTimeLocal)?m:"",moonriseTimeUtc:null!=(h=e.moonriseTimeUtc)?h:0,moonsetTimeLocal:null!=(p=e.moonsetTimeLocal)?p:"",moonsetTimeUtc:null!=(x=e.moonsetTimeUtc)?x:0,narrative:null!=(v=e.narrative)?v:"",qpf:null!=(f=e.qpf)?f:0,qpfSnow:null!=(g=e.qpfSnow)?g:0,sunriseTimeLocal:null!=(y=e.sunriseTimeLocal)?y:"",sunriseTimeUtc:null!=(w=e.sunriseTimeUtc)?w:0,sunsetTimeLocal:null!=(b=e.sunsetTimeLocal)?b:"",sunsetTimeUtc:null!=(j=e.sunsetTimeUtc)?j:0,temperatureMax:null!=(N=e.temperatureMax)?N:null,temperatureMin:null!=(C=e.temperatureMin)?C:0,validTimeLocal:null!=(T=e.validTimeLocal)?T:"",validTimeUtc:null!=(A=e.validTimeUtc)?A:0,daypart:null!=(S=null==l||null==(a=l.daypart)?void 0:a[t])?S:{cloudCover:[],dayOrNight:[],daypartName:[],iconCode:[],iconCodeExtend:[],narrative:[],precipChance:[],precipType:[],qpf:[],qpfSnow:[],qualifierCode:[],qualifierPhrase:[],relativeHumidity:[],snowRange:[],temperature:[],temperatureHeatIndex:[],temperatureWindChill:[],thunderCategory:[],thunderIndex:[],uvDescription:[],uvIndex:[],windDirection:[],windDirectionCardinal:[],windPhrase:[],windSpeed:[],wxPhraseLong:[],wxPhraseShort:[]}}})},65314:(e,t,l)=>{"use strict";l.a(e,async(e,a)=>{try{l.d(t,{A:()=>b});var n=l(66695),r=l(97839),i=l(68772),s=l(64070),o=l(16186),d=l(38810),c=l(33172),u=l(46789),m=l(16774),h=l(21536),p=l(81188),x=l(32584),v=l(69726);let{Chart:e,CategoryScale:f,LinearScale:g,BarController:y,BarElement:w}=await Promise.all([l.e(1584),l.e(4367)]).then(l.bind(l,59417));e.register(f,g,y,w);let b=(0,r.memo)(t=>{let{chartData:l,hasChartData:a,ianaTimeZone:f,locale:g,rootClass:y,rtl:w=!1,removeTransitionLines:b}=t,j=(0,i.c3)("PrecipIntensity"),N=(0,r.useRef)(null),C=(0,r.useRef)(null),[T,A]=(0,d.r)(e=>ew?[...l].reverse():l,[l,w]),M=(0,r.useMemo)(()=>(0,v.Hi)(l),[l]),I=(0,r.useMemo)(()=>{let e=Object.values(m.PrecipType),t=0;for(let l of e)M[l]&&t++;return t>1},[M]),R=(0,r.useMemo)(()=>{let e=S.map(e=>e.level),t=S.map(e=>{let{validTimeLocal:t}=e;return t}),l=S.map(e=>{let{precipType:t}=e;return t===m.PrecipType.RAIN?u.vc:t===m.PrecipType.SNOW?u.at:u._x});return{labels:t,datasets:[{label:j("chartTitle"),data:e,backgroundColor:l,borderWidth:0,maxBarThickness:T?4:8,categoryPercentage:1,stack:"stack1",borderRadius:12,borderSkipped:!1}]}},[T,S,j]),_=(0,r.useMemo)(()=>({responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!1},tooltip:{enabled:!1},transitionLines:{floatPoint:.5,transitionPoints:b?void 0:S.reduce((e,t,l)=>{var a;if(l>0&&t.level>0&&S[l-1]&&t.precipType!==(null==(a=S[l-1])?void 0:a.precipType)){let a=u._x;u.cv.includes(t.precipType)?a=u.vc:u.VF.includes(t.precipType)&&(a=u.at),e[l]=a}return e},{})},barBackground:{color:"#eeeeee",borderRadius:12,floatPoint:.5},extendXAxisLine:{color:"#eeeeee",lineWidth:1,offset:-2},datasets:{bar:{minBarLength:10}}},scales:{x:{stacked:!0,grid:{display:!0,drawOnChartArea:!1,drawTicks:!0,tickColor:"#676767",tickLength:3,tickWidth:1,tickBorderDashOffset:50,offset:!1},border:{display:!1},ticks:{major:{enabled:!0},display:!0,maxRotation:0,minRotation:0,autoSkip:!1,font:{size:T?12:14},color:"#676767",callback:function(e,t){var l;let a=(null==(l=this.chart.data.labels)?void 0:l[t])||"",n=new Date(a);return 0===n.getMinutes()?(0,o.P)({date:n,locale:g,timeZone:f,showShortDayperiod:!0}):T?null:""}}},y:{stacked:!0,min:-.5,max:9,position:w?"right":"left",grid:{display:!1,drawBorder:!1},ticks:{count:10,autoSkip:!1,display:!0,crossAlign:"far",font:{size:T?12:14},callback:function(e,t){return 2===t?j("chartLight"):8===t?j("chartHeavy"):""}},border:{display:!1}}}}),[b,S,T,w,j,g,f]);return((0,r.useEffect)(()=>{var t;let l=null==(t=N.current)?void 0:t.getContext("2d");if(l&&e)return C.current=new e(l,{type:"bar",data:R,options:_,plugins:[h.rT,h.lV,h.os]}),()=>{var e;null==(e=C.current)||e.destroy()}},[R,_]),a)?(0,n.jsxs)("div",{ref:A,className:(0,s.cn)("@container/precipChart",y),dir:w?"rtl":void 0,children:[(0,n.jsx)(p.A,{data:l,ianaTimeZone:f,locale:g}),(0,n.jsx)("div",{className:(0,s.cn)("h-26 @md/precipChart:h-30 relative text-sm text-gray-500",w?"@xl/precipChart:pr-4 @md/precipChart:pr-3 pr-2":"@xl/precipChart:pl-4 @md/precipChart:pl-3 pl-2"),children:(0,n.jsx)("canvas",{ref:N})}),I&&(0,n.jsx)(x.A,{rtl:w,legendTypes:M,isSamsungTheme:!1})]}):null});a()}catch(e){a(e)}},1)},67529:(e,t,l)=>{"use strict";t.g=s;let a=l(36219),n=l(54435),r=l(71744),i=l(1827);async function s(e){let t=(0,a.getHourlyAirQualityForecastUrlConfig)(e),l=(0,n.urlFrom)(t),s=await fetch(l,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:300}});return function(e){let t=e.globalairquality,l={validTimeGmt:t.validTimeGmt,airQualityIndex:t.airQualityIndex,airQualityCategory:t.airQualityCategory,airQualityCategoryIndex:t.airQualityCategoryIndex,airQualityCategoryIndexColor:t.airQualityCategoryIndexColor,primaryPollutant:t.primaryPollutant},a=(0,i.createTransformer)((e,l)=>{var a,n;let r=e=>{var a,n,r,i;let s=t.pollutants[e];if(s)return{name:s.name,phrase:s.phrase,amount:null!=(a=s.amount[l])?a:0,unit:s.unit,category:null!=(n=s.category[l])?n:"",categoryIndex:null!=(r=s.categoryIndex[l])?r:0,index:null!=(i=s.index[l])?i:0}};return{...e,pollutants:{CO:r("CO"),NO2:r("NO2"),O3:r("O3"),PM10:r("PM10"),PM2_5:r("PM2.5"),SO2:r("SO2")},messages:{general:null!=(a=t.messages.General[l])?a:{title:"",text:""},sensitiveGroup:null!=(n=t.messages["Sensitive Group"][l])?n:{title:"",text:""}}}})(l);return{latitude:t.latitude,longitude:t.longitude,source:t.source,disclaimer:t.disclaimer,expireTimeGmt:t.expireTimeGmt,forecast:a}}(await (0,r.handleFetchResponse)(s))}},68543:(e,t,l)=>{"use strict";l.r(t),l.d(t,{TaboolaBlock:()=>x,default:()=>v});var a=l(66695),n=l(97839),r=l(92071),i=l(64263),s=l(98660),o=l(64070),d=l(12814),c=l(20108),u=l(4901),m=l(87250);let h=function(){let{DISCONNECTED_user:e}=(0,u.J)(),[t,l]=(0,n.useState)(!1),a=(0,c.md)(m.W);return(0,n.useEffect)(()=>{a&&l((()=>{try{var e,t,l,a;if(void 0!==(null==(e=window)?void 0:e.DprSdk)){let e=null==(l=window)||null==(t=l.DprSdk)?void 0:t.getFeatureFlags();return null==(a=null==e?void 0:e.taboola)||a}return!0}catch(e){return!0}})())},[a]),t&&!(null==e?void 0:e.isUserPremium)},p=(()=>{let e="",t=!1;return()=>({pushTaboolaCommand:(0,n.useCallback)((l,a,n)=>{window._taboola=window._taboola||[],a!==e&&(""===e||t||(window._taboola.push({notify:"newPageLoad"}),t=!0),e=a,t=!1),window._taboola.push({[n]:"auto",url:a}),window._taboola.push(l),window._taboola.push({flush:!0})},[])})})(),x=e=>{let{taboolaId:t,taboolaUiMode:l,placementName:c,targetType:u,title:m="",pageType:x,taboolaType:v,showTaboola:f=!0}=e,g=(0,n.useRef)(null),y=h(),[w,b]=(0,n.useState)("pending"),j=(0,r.usePathname)(),{isTaboolaLoaded:N}=(()=>{let[e,t]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{if(e)return;if(document.getElementById("tb_loader_script"))return void t(!0);window._taboola=window._taboola||[],window.performance&&"function"==typeof window.performance.mark&&window.performance.mark("tbl_ic");let l=document.createElement("script");l.src="//cdn.taboola.com/libtrc/theweatherchannel/loader.js",l.id="tb_loader_script",l.async=!0,l.onload=()=>{t(!0)},l.onerror=()=>{console.error("Failed to load Taboola script.")},document.body.appendChild(l)},[e]),{isTaboolaLoaded:e}})(),C=y&&f,{pushTaboolaCommand:T}=p(),A=(0,n.useMemo)(()=>{let e=(0,i.j)();return"".concat(e).concat(j||"")},[j]),S="empty"!==w,M=(0,n.useMemo)(()=>{let e="taboola-below-content-thumbnails---video"===t||"taboola-below-content-thumbnails-video"===t;return{container:S?"generic"!==v?"wx-media-object gradient-overlay thirdparty-feed border":e?"gap-2 py-0 md:rounded-md max-sm:rounded-none":"gap-2 py-5":"hidden",headerContainer:e?"mx-4 px-0 pt-6 max-sm:border-t max-sm:border-gray-200":"px-4",header:e?"text-[20px] font-semibold":"text-xl font-semibold",contentContainer:"z-40 px-4"}},[t,v,S]);return((0,n.useEffect)(()=>{C&&N&&"pending"===w&&T({mode:l,container:t,placement:c,target_type:u},A,x)},[C,N,w,T,t,l,c,u,A,x]),(0,n.useEffect)(()=>{let e=g.current;if(!e||!C||!N)return;let t=new MutationObserver((t,l)=>{try{e.hasChildNodes()?(b("populated"),l.disconnect()):"pending"!==w&&(b("empty"),l.disconnect())}catch(e){console.warn("Error in TaboolaBlock content observer",e)}});return t.observe(e,{childList:!0}),e.hasChildNodes()&&(b("populated"),t.disconnect()),()=>t.disconnect()},[C,N,w]),C&&N)?"invisible"===v?(0,a.jsx)("div",{id:t,ref:g}):(0,a.jsxs)("section",{className:"@container",children:[(0,a.jsx)(s.DebugCollector,{componentName:"TaboolaBlock",data:{props:{taboolaId:t,taboolaUiMode:l,placementName:c,targetType:u,pageUrl:A,pageType:x,taboolaContentState:w,shouldShow:S}}}),"generic"===v?(0,a.jsxs)(d.Zp,{className:M.container,children:[m&&S&&(0,a.jsx)(d.aR,{className:M.headerContainer,children:(0,a.jsx)("h2",{className:M.header,children:m})}),(0,a.jsx)(d.Wu,{className:(0,o.cn)(M.contentContainer),children:(0,a.jsx)("div",{id:t,className:"bg-none",ref:g})})]}):(0,a.jsxs)("div",{className:M.container,children:[m&&S&&(0,a.jsx)("header",{"aria-label":"Taboola",className:"panel-heading mb-2",children:(0,a.jsx)("h2",{"data-testid":"taboolaHeading",className:"text-lg font-medium",children:m})}),(0,a.jsx)("div",{id:t,className:"flex min-h-[300px] w-full items-center justify-center",ref:g})]})]}):null},v=x},68960:(e,t,l)=>{"use strict";l.r(t),l.d(t,{CTABlock:()=>r,default:()=>i});var a=l(66695);l(97839);var n=l(36697);let r=e=>{let{title:t,subTitle:l,subText:r,ctaStyle:i,media:s,buttonText:o,linkUrl:d,openInNewTab:c,backgroundColor:u}=e,m=void 0!=s.url?s.url:"string"==typeof s?s:null;return(0,a.jsx)("section",{className:"@container not-prose mx-auto w-full max-w-4xl rounded-md ".concat({white:"bg-white","light-gray":"bg-gray-100","brand-blue":"bg-blue-500",accent:"bg-accent"}[u||"white"]," p-5 shadow-2xl"),children:(0,a.jsx)("div",{className:"cta-block ".concat(i),children:(0,a.jsxs)("div",{className:"cta-content text-black",children:[(0,a.jsx)("h2",{className:"mb-6 text-2xl font-bold",children:t}),m&&(0,a.jsx)("a",{href:d,target:c?"_blank":"_self",rel:c?"noopener noreferrer":void 0,className:"mb-4 block overflow-hidden rounded-lg",children:(0,a.jsx)("div",{className:"relative w-full",children:(0,a.jsx)(n.A,{src:m,alt:t})})}),l&&(0,a.jsx)("h2",{className:"mb-2 text-lg font-bold",children:l}),r&&(0,a.jsx)("p",{className:"mb-4",children:r}),"standard"===i&&(0,a.jsx)("div",{className:"mt-4 flex justify-end",children:(0,a.jsx)("a",{href:d,target:c?"_blank":"_self",rel:c?"noopener noreferrer":void 0,className:"inline-block rounded-lg bg-black px-6 py-3 text-white transition-colors hover:bg-gray-800",children:o||"Learn More"})})]})})})},i=r},69266:(e,t)=>{"use strict";var l;Object.defineProperty(t,"__esModule",{value:!0}),t.InsightType=void 0,function(e){e.ALL="all",e.BREAKING_VIDEO_INSIGHT="breakingVideoInsight",e.CHANCE_PRECIP_INSIGHT="chancePrecipInsight",e.SUNNY_DAY_INSIGHT="sunnyDayInsight",e.POLLEN_INSIGHT="pollenInsight",e.TEMPERATURE_CHANGE_INSIGHT="temperatureChangeInsight",e.TRENDING_TEMPERATURE_INSIGHT="trendingTemperatureInsight",e.SUN_INSIGHT="sunInsight",e.SHORT_TERM_PRECIP_INSIGHT="shortTermPrecipInsight",e.THUNDERSTORM_SOON_INSIGHT="thunderstormSoonInsight",e.SEVERE_STORM_INSIGHT="severeStormInsight",e.PRECIP_INSIGHT="precipInsight"}(l||(t.InsightType=l={}))},69726:(e,t,l)=>{"use strict";l.d(t,{Hi:()=>s,Zs:()=>r,gS:()=>d,nE:()=>i,xZ:()=>o});var a=l(75152),n=l(46789);let r=()=>{var e;let t={};return null!=(e=null==t?void 0:t["twc-csc"])?e:""},i=(e,t,l,a)=>e?(a?(null==e?void 0:e.slice(0,7))||[]:e||[]).map((e,n)=>{let r=e.iconCodeExtend,i=e.precipType,s=m({precipRate:a?e.qpf:e.precipRate,iconCodeExtend:r,precipType:i,unitsSystem:t});return{precipType:i,validTimeLocal:l[n],level:s}}):Array(7).fill({precipType:"",validTimeLocal:"",level:0}),s=e=>e.reduce((e,t)=>{let{precipType:l}=t;return e[l]=!0,e},{}),o=e=>!!(null==e?void 0:e.find(e=>{let{level:t}=e;return t>0})),d=(e,t)=>{if(!(null==e?void 0:e.length))return[];let l=e.map(e=>(0,a.$)(e.validTimeLocal));return t?l.slice(0,7):l},c=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;switch(!0){case e>1.65:return 9;case e>.72:return 8;case e>.32:return 7;case e>.14:return 6;case e>.06:return 5;case e>.03:return 4;case e>.01:return 3;case e>0:return 2;case 0===e:return .7;default:return 0}},u=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;switch(!0){case e>1.52:return 9;case e>.48:return 8;case e>.17:return 7;case e>.07:return 6;case e>.03:return 5;case e>.02:return 4;case e>.01:return 3;case e>0:return 2;case 0===e:return .7;default:return 0}},m=e=>{let{precipRate:t,iconCodeExtend:l,precipType:a,unitsSystem:r}=e,i=(null==r?void 0:r.precip)!=="in"?Number((t/25.4).toFixed(2)):t,s="precip"===a||0===t?n.ro[l]:a;switch(!0){case n.cv.includes(s):return c(i);case n.VF.includes(s):return u(i);default:return 0}}},70918:(e,t,l)=>{"use strict";l.d(t,{K:()=>s});var a=l(66695),n=l(97839),r=l(89010);let i=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:r,descId:i,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":i,...s,children:[r?(0,a.jsx)("desc",{id:i,children:r}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"humidity"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsxs)("g",{fill:"currentColor",children:[(0,a.jsx)("path",{fillRule:"evenodd",d:"M8 13a3.5 3.5 0 0 0 3.5-3.5c0-.59-.276-1.34-.701-2.13-.309-.573-.637-1.068-.907-1.475a26 26 0 0 1-.267-.406 77 77 0 0 1-.564-.9c-.151-.244-.281-.453-.502-.796a43 43 0 0 1-.556-.885c-.14.229-.318.52-.55.883-.238.37-.371.587-.538.86-.13.212-.28.456-.515.832q-.159.25-.35.531c-.257.382-.549.816-.841 1.348C4.78 8.139 4.5 8.886 4.5 9.5A3.5 3.5 0 0 0 8 13m0 1a4.5 4.5 0 0 0 4.5-4.5c0-1.486-1.16-3.231-1.797-4.19q-.136-.206-.234-.358a80 80 0 0 1-.552-.88c-.16-.258-.3-.484-.518-.821-.243-.376-.426-.674-.57-.91-.425-.693-.514-.837-.829-.837s-.395.133-.814.822c-.144.237-.328.54-.575.925-.24.373-.382.606-.556.889-.131.214-.28.457-.503.812-.078.125-.18.276-.296.449C4.606 6.37 3.5 8.017 3.5 9.5A4.5 4.5 0 0 0 8 14",clipRule:"evenodd"}),(0,a.jsx)("path",{d:"M12.5 9.5a4.48 4.48 0 0 1-1.107 2.957L4.845 6.025c.283-.443.545-.814.707-1.073.517-.825.638-1.045 1.059-1.701.966-1.507.967-1.747 1.389-1.747s.438.259 1.399 1.747c.413.64.55.883 1.07 1.701S12.5 7.804 12.5 9.5"})]})]})}),s=n.forwardRef((e,t)=>(0,a.jsx)(r.h,{ref:t,icon:i,...e}));s.displayName="Humidity"},71409:(e,t,l)=>{"use strict";l.d(t,{D:()=>s});var a=l(66695),n=l(97839),r=l(89010);let i=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:r,descId:i,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":i,...s,children:[r?(0,a.jsx)("desc",{id:i,children:r}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Arrow Up"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsx)("path",{fill:"currentColor",d:"M3.353 6.647a.499.499 0 0 0 .705.706L7.5 3.915V13.5a.5.5 0 0 0 1 0V3.915l3.443 3.438a.499.499 0 0 0 .705-.706l-3.94-3.94a1 1 0 0 0-1.415 0z"})]})}),s=n.forwardRef((e,t)=>(0,a.jsx)(r.h,{ref:t,icon:i,...e}));s.displayName="ArrowUp"},72460:(e,t,l)=>{"use strict";function a(e){return"string"!=typeof e}function n(e){return"object"==typeof e&&null!==e&&"url"in e&&("mimeType"in e||"seo"in e&&"altText"in e.seo)}l.d(t,{QY:()=>a,bt:()=>n})},73516:(e,t,l)=>{"use strict";l.d(t,{j:()=>x});var a=l(97839),n=l(38051),r=l(20108),i=l(64145),s=l(69266),o=l(62974),d=l(74249),c=l(69896),u=l(81402),m=l(51880);let h=["trendingFeelsLikeInsight","trendingTemperatureInsight","trendingWindInsight","trendingUvIndexInsight"],p=Math.floor(Math.random()*h.length),x=(e,t)=>{var l,x;let v=(0,r.md)(d.Yt),f=null==(l=(0,c.xP)(v))?void 0:l.code,{data:g,isLoading:y}=(0,m.r)({key:"hourly-forecast-all-insights",geoCode:(null==e?void 0:e.geocode)||null,insightType:s.InsightType.ALL,locale:t}),w=(0,a.useMemo)(()=>null==g?void 0:g.reduce((e,t)=>(e[t.insightType]=t,e),{}),[g]),{data:b=[],isLoading:j}=(0,n.Ay)(e?["get-daily-forecast",e.geocode,f,u.ForecastDuration.THREE_DAY,t]:null,e=>{let[t,l,a,n,r]=e;return(0,o.v1)({geocode:l,units:a,duration:n,language:r})},{revalidateOnFocus:!1,dedupingInterval:6e5}),N=y||j,C=b[0],T=(0,a.useMemo)(()=>{var e,t,l,a,n,r;if(N)return"";let i=null==w||null==(t=w.significantWeatherTodayInsight)||null==(e=t.insightText)?void 0:e[0];if(i)return i;let s=null==C||null==(a=C.daypart)||null==(l=a.narrative)?void 0:l[0];if(s)return s.split(".")[0];let o=h[p]||h[0];return(null==w||null==(r=w[o])||null==(n=r.insightText)?void 0:n[0])||""},[N,w,null==C||null==(x=C.daypart)?void 0:x.narrative]);return(0,a.useMemo)(()=>{let e=(0,i.B)(T,[" ","."]),t=e?(e=>{if(e){if(/(warmer|higher)/i.test(e))return"up";else if(/(cooler|lower)/i.test(e))return"down";else if(/(partly cloudy)/i.test(e)||/(sun)/i.test(e)&&/(cloud)/i.test(e))return"fair";else if(/(sunny|sunshine)/i.test(e))return"sun";else if(/(cloudy)/i.test(e))return"cloud";else if(/(shower|rain)/i.test(e))return"rain";else if(/(clear)/i.test(e))return/(night)/i.test(e)?"clear-night":"clear"}return null})(e):null;return{insight:e,insightIcon:t}},[T])}},73925:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSunWeatherAlertHeadlinesUrlConfig=function(e){let{geocode:t,countryCode:l,areaId:a,adminDistrictCode:n,language:r}=e,i={format:"json",language:r,apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"};return t&&(i.geocode=t),l&&(i.countryCode=l),a&&(i.areaId=a),n&&(i.adminDistrictCode=n),{host:"api.weather.com",protocol:"https",pathname:"/v3/alerts/headlines",query:i}},t.getSunWeatherAlertDetailUrlConfig=function(e){let{detailKey:t,language:l}=e;return{host:"api.weather.com",protocol:"https",pathname:"/v3/alerts/detail",query:{alertId:t,format:"json",language:l,apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}}},75118:(e,t,l)=>{"use strict";t.o=void 0;let a=l(3650),n={US:a.AirQualityScale.EPA,CN:a.AirQualityScale.HJ6332012,FR:a.AirQualityScale.ATMO,DE:a.AirQualityScale.UBA,GB:a.AirQualityScale.DAQI,IN:a.AirQualityScale.NAQI,MX:a.AirQualityScale.IMECA,ES:a.AirQualityScale.CAQI};t.o=e=>{let{countryCode:t}=e;return n[t]||a.AirQualityScale.EPA}},75152:(e,t,l)=>{"use strict";function a(e){if(!e)return"";let t=("number"==typeof e?new Date(e).toISOString():e instanceof Date?e.toISOString():e).replace(/\.\d+/,"").replace("Z","+0000").replace(/\s+/,"T").replace(/\s+/g,"").replace(/[A-Z]{3,}/,""),l=/([+-])(\d{2})(\d{2})$/;l.test(t)&&(t=t.replace(l,"$1$2:$3"));let a=t.replace(/(\d{4})-(\d{2})-(\d{2})/,"$1/$2/$3").replace("T"," ");return"Invalid Date"===new Date(a).toString()?"Invalid Date"!==new Date(t).toString()?t:"string"==typeof e?e:"":a}l.d(t,{$:()=>a})},76883:(e,t,l)=>{"use strict";l.r(t),l.d(t,{CurrentConditionsBlock:()=>Y,default:()=>$});var a=l(66695),n=l(97839),r=l(38051),i=l(79023),s=l(51880),o=l(98956),d=l(62974),c=l(67529),u=l(75118),m=l(81402),h=l(3650),p=l(69266),x=l(21864),v=l(73237),f=l(60838);let g="https://s.w-x.co/WeatherImages_Web/WeatherImage_",y=[320,480,640,800],w=[{name:"Tornadoes",iconCodes:[0],dayVariants:2,nightVariants:2},{name:"TropicalStorms",iconCodes:[1,2],dayVariants:2,nightVariants:2},{name:"StrongStorms",iconCodes:[3,4],dayVariants:2,nightVariants:2},{name:"RainAndSnow",iconCodes:[5,7],dayVariants:2,nightVariants:2},{name:"RainAndSleet",iconCodes:[6,10,35],dayVariants:2,nightVariants:2},{name:"FreezingDrizzle",iconCodes:[8],dayVariants:2,nightVariants:2},{name:"Drizzle",iconCodes:[9,11,39],dayVariants:2,nightVariants:2},{name:"Rain",iconCodes:[12],dayVariants:2,nightVariants:2},{name:"Flurries",iconCodes:[13],dayVariants:2,nightVariants:2},{name:"SnowShowers",iconCodes:[14,16],dayVariants:2,nightVariants:2},{name:"BlowingSnow",iconCodes:[15,25],dayVariants:2,nightVariants:2},{name:"Hail",iconCodes:[17,18],dayVariants:2,nightVariants:2},{name:"BlowingSand",iconCodes:[19],dayVariants:2,nightVariants:2},{name:"Foggy",iconCodes:[20],dayVariants:2,nightVariants:2},{name:"Haze",iconCodes:[21],dayVariants:2,nightVariants:2},{name:"Smoke",iconCodes:[22],dayVariants:2,nightVariants:2},{name:"Breezy",iconCodes:[23,24],dayVariants:2,nightVariants:2},{name:"Cloudy",iconCodes:[26],dayVariants:2,nightVariants:2},{name:"MostlyCloudy",iconCodes:[27],dayVariants:null,nightVariants:2},{name:"MostlyCloudy",iconCodes:[28],dayVariants:5,nightVariants:null},{name:"PartlyCloudy",iconCodes:[29],dayVariants:null,nightVariants:2},{name:"PartlyCloudy",iconCodes:[30],dayVariants:5,nightVariants:null},{name:"Clear",iconCodes:[31],dayVariants:null,nightVariants:2},{name:"Sunny",iconCodes:[32,36],dayVariants:4,nightVariants:null},{name:"MostlyClear",iconCodes:[33],dayVariants:null,nightVariants:2},{name:"Fair",iconCodes:[34],dayVariants:2,nightVariants:null},{name:"IsolatedThunderstorms",iconCodes:[37],dayVariants:2,nightVariants:null},{name:"ScatteredThunderstorms",iconCodes:[38],dayVariants:2,nightVariants:null},{name:"HeavyRain",iconCodes:[40],dayVariants:2,nightVariants:2},{name:"ScatteredSnowShowers",iconCodes:[41],dayVariants:2,nightVariants:null},{name:"HeavySnow",iconCodes:[42,43],dayVariants:2,nightVariants:2},{name:"Unknown",iconCodes:[44],dayVariants:null,nightVariants:null},{name:"ScatteredShowers",iconCodes:[45],dayVariants:null,nightVariants:2},{name:"ScatteredSnowShowers",iconCodes:[46],dayVariants:null,nightVariants:2},{name:"Thunderstorms",iconCodes:[47],dayVariants:null,nightVariants:2}],b={"--color-blue-800":["BlowingSnow-night","Breezy-night","Clear-night","Fluries-night","HeavySnow-night","MostlyClear-night","PartlyCloudy-night","ScatteredSnowShowers-night","SnowShowers-night","Unknown.jpg"],"--color-teal-700":["BlowingSnow-day","Breezy-day","Fair-day","Flurries-day","HeavySnow-day","PartlyCloudy-day","ScatteredSnowShowers-day","SnowShowers-day","Sunny-day"],"--color-teal-800":["Drizzle-day","FreezingDrizzle-day","Hail-day","HeavyRain-day","IsolatedThunderstorms-day","Rain-day","RainAndSleet-day","RainAndSnow-day","ScatteredThunderstorms-day","StrongStorms-day","Tornadoes-day","TropicalStorms-day"],"--color-teal-900":["Drizzle-night","FreezingDrizzle-night","Hail-night","HeavyRain-night","Rain-night","RainAndSleet-night","RainAndSnow-night","ScatteredShowers-night","StrongStorms-night","Thunderstorms-night","Tornadoes-night","TropicalStorms-night"],"--color-violet-800":["BlowingSand-day","Cloudy-day","Foggy-day","Haze-day","MostlyCloudy-day","Smoke-day"],"--color-indigo-900":["BlowingSand-night","Cloudy-night","Foggy-night","Haze-night","MostlyCloudy-night","Smoke-night"]};var j=l(85815);let N=function(){let{iconCode:e=44}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=w.find(t=>{var l,a;return null==t||null==(a=t.iconCodes)||null==(l=a.includes)?void 0:l.call(a,e)}),l=w.find(e=>(null==e?void 0:e.name)==="Unknown");return t||l},C=function(){let{width:e=320}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return y.reduce((t,l)=>Math.abs(l-e){let{title:l,titleId:n,desc:r,descId:i,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",ref:t,"aria-labelledby":n,"aria-describedby":i,...s,children:[r?(0,a.jsx)("desc",{id:i,children:r}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"User Insight"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsx)("path",{fill:"currentColor",d:"M16 15a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5m0-1a3.5 3.5 0 1 0 0 7 3.5 3.5 0 0 0 0-7M21 27.5a.5.5 0 0 1-1 0v-2a2.5 2.5 0 0 0-2.5-2.5h-3a2.5 2.5 0 0 0-2.5 2.5v2a.5.5 0 0 1-1 0v-2a3.5 3.5 0 0 1 3.5-3.5h3a3.5 3.5 0 0 1 3.5 3.5zM21 12c2.298-.493 3.403-1.092 4-4 .428 2.947 1.44 3.6 4 4-2.572.457-3.415 1.353-4 4-.761-2.635-1.675-3.255-4-4M15 7c1.724-.37 2.552-.82 3-3 .32 2.21 1.08 2.7 3 3-1.929.343-2.561 1.015-3 3-.57-1.976-1.257-2.441-3-3M3 10c3.447-.74 5.104-1.638 6-6 .642 4.42 2.159 5.4 6 6-3.858.685-5.123 2.03-6 6-1.142-3.952-2.513-4.883-6-6"})]})}),M=n.forwardRef((e,t)=>(0,a.jsx)(A.h,{ref:t,icon:S,...e}));M.displayName="UserInsight";var I=l(4901),R=l(20108),_=l(9710),k=l(62754),P=l(69896),E=l(74249),L=l(20486);let D=(0,n.memo)(e=>{var t;let{className:l,relativeHumidity:n,roundValue:r}=e,i=(t=n){let{className:t,airQualityIndex:l,airQualityCategory:n}=e;return Number.isNaN(l)?"--":(0,a.jsxs)("span",{"data-testid":"AirQualityValue",className:(0,F.cn)(t),children:[(0,a.jsx)("span",{children:l}),(0,a.jsx)("span",{children:" (".concat(n,")")})]})});var H=l(98792);let W=e=>{let{location:t,weatherData:l,forecastData:n,insightData:r,isLoading:i,error:s}=e,o=(0,T.c3)("CurrentConditions"),d=function(){let{iconCode:e=44,dayPart:t="day",variant:l=0,width:a=800,isSevere:n=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r={src:function(){let{iconCode:e=44,dayPart:t="day",variant:l=0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=N({iconCode:e}),n=null==a?void 0:a["".concat(t,"Variants")];if(!n||l>n)return a=N({iconCode:44}),"".concat(g).concat(a.name,".jpg");let r=!!n&&0===l&&((e,t)=>{let l=Math.ceil(e);return Math.floor(Math.random()*(Math.floor(t)-l+1)+l)})(1,n),i="";return r?i="_".concat(r):l&&(i="_".concat(l)),"".concat(g).concat(a.name,"-").concat(t).concat(i,".jpg")}({iconCode:e,dayPart:t,variant:l}),width:C({width:a}),quality:70,format:"pjpg",autoWebP:!0,ratio:"16:9"};return n&&(r.saturation=-100),(0,j.default)(r)}({iconCode:null==l?void 0:l.iconCode,dayPart:(null==l?void 0:l.dayOrNight)==="D"?"day":"night"}),c=(e=>Object.keys(b).find(t=>b[t].find(t=>{var l;return null==e||null==(l=e.includes)?void 0:l.call(e,t)}))||"--color-blue-800")(d);return t?i?(0,a.jsx)(V,{location:t}):!s&&l&&n?(0,a.jsx)(O,{location:t,weatherData:l,forecastData:n,insightData:r,weatherBackgroundSrc:d,weatherBackgroundVarColor:c}):(0,a.jsx)(z,{location:t,error:s}):(0,a.jsx)(V,{message:o("loadingLocation")})},O=e=>{let{location:t,weatherData:l,forecastData:n,insightData:r,weatherBackgroundSrc:i,weatherBackgroundVarColor:s}=e,{user:o}=(0,I.J)(),d=(0,T.c3)("CurrentConditions"),c=(0,R.md)(_.Mu),u=o.isUserLoggedIn,m=function(e){let{firstName:t=""}=e,l=new Date().getHours();return t?l>=5&&l=12&&l=18&&l{let{location:t,error:l}=e;return(0,a.jsx)("div",{className:"overflow-hidden rounded-lg",children:(0,a.jsxs)("div",{className:"flex min-h-[150px] flex-col bg-blue-800 p-8 text-white",children:[(0,a.jsx)("div",{className:"flex flex-grow items-center justify-center",children:(0,a.jsx)("div",{className:"text-xl text-red-300",children:(null==l?void 0:l.message)||"Unable to load weather data"})}),(0,a.jsx)("div",{className:"mt-auto flex items-end justify-end",children:(0,a.jsx)("div",{className:"max-w-[50%]",children:(0,a.jsx)(x.A,{location:t,showSubheadline:!0,headlineClassName:"normal-case"})})})]})})},V=e=>{let{location:t,message:l="Loading weather data..."}=e,n=(0,T.c3)("CurrentConditions");return(0,a.jsx)("div",{className:"overflow-hidden rounded-lg",children:(0,a.jsxs)("div",{className:"flex min-h-[150px] flex-col bg-blue-800 p-8 text-white",children:[(0,a.jsx)("div",{className:"flex flex-grow items-center justify-center",children:(0,a.jsx)("div",{className:"animate-pulse text-xl",children:n("loadingLocation")||l})}),t&&(0,a.jsx)("div",{className:"mt-auto flex items-end justify-end",children:(0,a.jsx)("div",{className:"max-w-[50%]",children:(0,a.jsx)(x.A,{location:t,showSubheadline:!0,headlineClassName:"normal-case"})})})]})})};var U=l(98660),q=l(92071);let G=e=>{let{location:t}=e,{effectiveLocation:l,isLocationLoading:n,locationError:x}=(0,i.s)({location:t}),{weatherData:v,forecastData:f,insightData:g,isLoading:y,error:w}=function(e){var t,l,a,n,i,x,v,f,g,y,w,b,j;let N=(0,q.useParams)(),C=null==N?void 0:N.locale,T=(0,R.md)(E.Yt),A=null==(t=(0,P.xP)(T))?void 0:t.code,{data:S,error:M,isLoading:I}=(0,r.Ay)(e?["observations",e.geocode,A]:null,e=>{let[t,l,a]=e;return(0,o.z)({geocode:l,units:a,language:C})},{revalidateOnFocus:!1,dedupingInterval:6e4}),{data:_,error:k,isLoading:L}=(0,r.Ay)(e?["daily-forecast",e.geocode,A]:null,t=>{let[l,a,n]=t;return e?(0,d.v1)({geocode:a,units:n,language:C}):null},{revalidateOnFocus:!1,dedupingInterval:6e4}),D=(null==C||null==(a=C.split)||null==(l=a.call(C,"-"))?void 0:l[1])||"US",{data:F,error:B,isLoading:H}=(0,r.Ay)(e?["hourly-airquality",e.geocode]:null,t=>{let[l,a]=t;return e?(0,c.g)({geocode:a,language:C,scale:(0,u.o)({countryCode:D}),duration:h.AirQualityForecastDuration.TWELVE_HOUR}):null},{revalidateOnFocus:!1,dedupingInterval:6e4}),{data:W,isLoading:O,error:z}=(0,s.r)({key:"current-conditions-insight",geoCode:null!=(y=null==e?void 0:e.geocode)?y:null,insightType:p.InsightType.TRENDING_TEMPERATURE_INSIGHT,locale:C}),V=S?{airQualityIndex:null==F||null==(n=F.forecast[0])?void 0:n.airQualityIndex,airQualityCategory:null!=(w=null==F||null==(i=F.forecast[0])?void 0:i.airQualityCategory)?w:"",temperature:S.temperature,temperatureFeelsLike:S.temperatureFeelsLike,wxPhraseLong:S.wxPhraseLong,iconName:m.ICON_CODE_MAP[S.iconCode]||"na",iconCode:S.iconCode,validTimeLocal:S.validTimeLocal,relativeHumidity:S.relativeHumidity,windSpeed:S.windSpeed,windDirectionCardinal:S.windDirectionCardinal,dayOrNight:S.dayOrNight}:void 0,U=_&&_.length>0?{temperatureMax:null!=(b=null==(x=_[0])?void 0:x.calendarDayTemperatureMax)?b:0,temperatureMin:null!=(j=null==(v=_[0])?void 0:v.calendarDayTemperatureMin)?j:0}:void 0;return{weatherData:V,forecastData:U,insightData:W&&(null==W?void 0:W.length)>0?{insightText:(null==(g=W[0])||null==(f=g.insightText)?void 0:f[0])||""}:void 0,isLoading:I||L||O||H,error:M||k||z||B}}(l),b=y||n,j=w||x;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(U.DebugCollector,{componentName:"CurrentConditions",data:{props:{location:t},state:{effectiveLocation:l,isLocationLoading:n,isLoading:b,weatherData:v,forecastData:f,error:j,componentState:j&&"error"||b&&"loading"||"ready"},performance:{renderCount:void 0}}}),(0,a.jsx)(W,{location:l,weatherData:v,insightData:g,forecastData:f,isLoading:b,error:j})]})};var Q=l(6127),Z=l(3071);let Y=e=>{let{locationProvider:t,locationEntry:l}=e,n="specified"===t,{specifiedLocationData:r,specifiedLocationError:i,isSpecifiedLocationLoading:s}=(0,Z.v)(n?l:null);return n&&s?(0,a.jsx)("div",{children:"Loading location data..."}):n&&i?(0,a.jsxs)("div",{children:["Error loading location data: ",i.message]}):n&&r&&l?(0,a.jsx)(G,{location:(0,Q.I)(r)}):n?null:(0,a.jsx)(G,{})},$=Y},77339:(e,t,l)=>{"use strict";t.p_=i;let a=l(54435),n=l(71744),r=l(17493);async function i(e){let t=(0,r.getEmailPreferencesSetUrlConfig)(),l=(0,a.urlFrom)(t),i=JSON.stringify(function(e){let{subscriptions:t,email:l,mParticleId:a}=e,n={};return t&&(n.subscriptions=t),l&&(n.email=l),a&&(n.mParticleId=a),n}(e)),s=await fetch(l,{method:"PUT",credentials:"include",headers:{"Content-Type":"application/json"},body:i});if(200===s.status||400===s.status){let e=await s.json();return console.log({json:e}),e}return(0,n.handleFetchResponse)(s)}},78784:(e,t,l)=>{"use strict";l.r(t),l.d(t,{SlideshowBlock:()=>s,default:()=>o});var a=l(66695);l(97839);var n=l(82692),r=l(72460),i=l(42302);let s=e=>{let{slides:t=[],settings:l={},id:s}=e;if(!(0,i.J)(t))return null;let o=[];for(let e of t){var d;if(!e.imageAsset){console.error("Slide missing imageAsset:",e);continue}let t=(0,r.bt)(e.imageAsset)?e.imageAsset:null;if(!t||!t.url){console.error("Invalid imageAsset or missing URL:",t);continue}let l={...t,seo:{...t.seo,caption:e.imageCaption||t.caption||"",altText:e.imageTitle&&""!==e.imageTitle.trim()?e.imageTitle:(null==(d=t.seo)?void 0:d.altText)||""},...!e.imageTitle||""===e.imageTitle.trim()||/\.(jpg|jpeg|png|gif|webp|bmp|tiff|svg)$/i.test(e.imageTitle)||/^[A-Z0-9_]+\d*\.[a-zA-Z]+$/i.test(e.imageTitle)||/^[a-zA-Z0-9_-]+\d+$/i.test(e.imageTitle)||/[._][0-9]+/i.test(e.imageTitle)||/^[A-Z0-9_]+$/i.test(e.imageTitle)?{}:{filename:e.imageTitle}};o.push(l)}return 0===o.length?(console.error("SlideshowBlock - No valid assets after transformation"),(0,a.jsx)("div",{className:"text-center text-red-500",children:"Error: Could not load images for the slideshow."})):(0,a.jsx)(n.A,{id:s||"slideshow-".concat(Math.random().toString(36).substring(2,9)),assets:o.slice(0,20),allSlides:o,totalAssets:o.length,rounded:(null==l?void 0:l.rounded)||!1,blockType:"Slideshow",slides:t,settings:l,sendTrackString:()=>{}})},o=s},78931:(e,t,l)=>{"use strict";l.d(t,{Ay:()=>s});var a=l(66695),n=l(64070),r=l(26404),i=l(73237);let s=e=>{let{insightHeadline:t,insightTextLong:l,className:s,headlineClass:o,textClass:d,background:c,weatherMode:u}=e;if(!t&&!l)return null;let m="";return u&&(m="severe"===u?"warning":"watch"),(0,a.jsxs)("div",{className:(0,n.cn)("px-6.5 nowrap flex items-center py-4",s,c&&"bg-[#f6f6f6]","watch"===m&&"bg-[#f6f6f6]","warning"===m&&"bg-[#ba0d00]"),children:[m?(0,a.jsx)(r.A,{className:"size-4.5 mr-4 shrink-0"}):null,(0,a.jsxs)("div",{children:[t?(0,a.jsx)(i.Ay,{elementType:"h2",variant:"Body.M",className:(0,n.cn)("mb-2.5 text-base font-medium text-gray-500",o),children:t}):null,l?(0,a.jsx)(i.Ay,{variant:"Body.L.Bold",className:(0,n.cn)("font-semibold text-gray-800","watch"===m&&"text-sm text-white","warning"===m&&"text-sm text-[#ba0d00]",d),children:l}):null]})]})}},79392:(e,t,l)=>{"use strict";l.d(t,{s:()=>s});var a=l(66695),n=l(97839),r=l(89010);let i=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:r,descId:i,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":i,...s,children:[r?(0,a.jsx)("desc",{id:i,children:r}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Sunny Day"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsxs)("g",{fill:"currentColor",children:[(0,a.jsx)("path",{d:"M7.5 13.5v1a.5.5 0 0 0 1 0v-1a.5.5 0 0 0-1 0M7.5 1.5v1a.5.5 0 0 0 1 0v-1a.5.5 0 0 0-1 0M13.5 8.5h1a.5.5 0 0 0 0-1h-1a.5.5 0 0 0 0 1M1.5 8.5h1a.5.5 0 0 0 0-1h-1a.5.5 0 0 0 0 1M11.536 12.243l.707.707a.5.5 0 0 0 .707-.707l-.707-.707a.5.5 0 0 0-.707.707M3.05 3.757l.707.707a.5.5 0 0 0 .707-.707l-.707-.707a.5.5 0 1 0-.707.707M12.243 4.464l.707-.707a.5.5 0 1 0-.707-.707l-.707.707a.5.5 0 0 0 .707.707M3.757 12.95l.707-.707a.5.5 0 1 0-.707-.707l-.707.707a.5.5 0 1 0 .707.707"}),(0,a.jsx)("path",{fillRule:"evenodd",d:"M8 10.667a2.667 2.667 0 1 0 0-5.334 2.667 2.667 0 0 0 0 5.334m0 1a3.667 3.667 0 1 0 0-7.334 3.667 3.667 0 0 0 0 7.334",clipRule:"evenodd"})]})]})}),s=n.forwardRef((e,t)=>(0,a.jsx)(r.h,{ref:t,icon:i,...e}));s.displayName="SunnyDay"},81188:(e,t,l)=>{"use strict";l.d(t,{A:()=>i});var a=l(66695),n=l(68772),r=l(16186);let i=e=>{let{data:t,ianaTimeZone:l,locale:i}=e,s=(0,n.c3)("PrecipIntensity");return(0,a.jsxs)("table",{className:"hidden",children:[(0,a.jsx)("caption",{children:s("tableCaption")}),(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:s("time")}),(0,a.jsx)("th",{children:s("precipType")}),(0,a.jsx)("th",{children:s("precipLevel")})]})}),(0,a.jsx)("tbody",{children:null==t?void 0:t.map(e=>0!==e.level?(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:(0,r.P)({date:e.validTimeLocal,locale:i,timeZone:l,minutes:!0})}),(0,a.jsx)("td",{children:e.precipType}),(0,a.jsx)("td",{children:e.level})]},e.validTimeLocal):null)})]})}},81206:(e,t,l)=>{"use strict";l.a(e,async(e,a)=>{try{l.d(t,{A:()=>y});var n=l(66695),r=l(97839),i=l(68772),s=l(38051),o=l(83160),d=l(81402),c=l(79023),u=l(20108),m=l(74249),h=l(69896),p=l(92071),x=l(59677),v=l(73516),f=l(84972),g=e([x]);x=(g.then?(await g)():g)[0];let y=e=>{var t,l;let{location:a,simplifiedVersion:g}=e,y=(0,i.c3)("HourlyForecast"),{effectiveLocation:w,isLocationLoading:b}=(0,c.s)({location:a}),j=(0,u.md)(m.Yt),N=null==(t=(0,h.xP)(j))?void 0:t.code,C=g?d.HourlyForecastDuration.ONE_DAY:d.HourlyForecastDuration.THREE_DAY,T=null==(l=(0,p.useParams)())?void 0:l.locale,{data:A=[],error:S,isLoading:M}=(0,s.Ay)(w?["get-hourly-forecast",w.geocode,N,C,T]:null,e=>{let[t,l,a,n,r]=e;return(0,o.$c)({geocode:l,units:a,duration:n,language:r})},{revalidateOnFocus:!1,dedupingInterval:6e4}),I=(0,r.useMemo)(()=>g?A.slice(0,f.h):A,[A,g]),{insight:R,insightIcon:_}=(0,v.j)(w,T),k=w?g?"/weather/hourbyhour/l/".concat(w.placeId):"/weather/tenday/l/".concat(w.placeId):"";return(0,n.jsx)(x.A,{location:w,hourlyForecast:I,locale:T,isLoading:M||b,error:S,showDayLabel:!g,canToggleMultipleItems:!g,ctaLink:k,ctaText:y(g?"next48":"10DayWeather"),enableAlertHeadlines:!g,insight:R,insightIcon:_,showPrecipIntensity:!g})};a()}catch(e){a(e)}})},82692:(e,t,l)=>{"use strict";l.d(t,{A:()=>m});var a=l(66695),n=l(97839);let r={src:"/_next/static/media/SlideshowIcon.2da11b0d.png"};var i=l(36697),s=l(73237),o=l(20385),d=l(71274);let c=e=>!!e&&""!==e.trim()&&(/\.(jpg|jpeg|png|gif|webp|bmp|tiff|svg)$/i.test(e)||/^[A-Z0-9_]+\d*\.[a-zA-Z]+$/i.test(e)||/^[a-zA-Z0-9_-]+\d+$/i.test(e)||/[._][0-9]+/i.test(e)||/^[A-Z0-9_]+$/i.test(e)),u=e=>{var t;let{id:l,assets:n,currentSlideIndex:u,totalAssets:m,previous:h,next:p,sendTrackString:x,rounded:v=!1}=e;if(!n.length||u=n.length)return null;let f=n[u],g="".concat(u+1,"/").concat(m),y=0===u,w=u===m-1;return(0,a.jsxs)("figure",{id:l,className:"relative mb-4 mt-4 w-full max-w-full",children:[(0,a.jsx)("div",{className:v?"overflow-hidden rounded-[16px]":"",children:(0,a.jsx)("div",{className:"relative w-full ".concat(v?"rounded-[16px]":""),children:(0,a.jsx)("div",{className:"relative w-full ".concat(v?"rounded-[16px]":""),style:{paddingTop:"56.25%"},children:(0,a.jsx)(i.A,{className:"absolute left-0 top-0 h-full w-full object-cover",src:f.url||"",alt:(null==(t=f.seo)?void 0:t.altText)||"",rounded:v,width:800,height:450,sizes:"(max-width: 767px) 91vw, (max-width: 1280px) 64vw, 800px"})})})}),(0,a.jsx)("figcaption",{children:(0,a.jsxs)("div",{className:"w-full",children:[(0,a.jsx)("div",{className:"flex items-center pt-2",children:(0,a.jsxs)("div",{className:"relative flex w-full items-center",children:[(0,a.jsx)("div",{className:"flex items-center",children:(0,a.jsx)(i.A,{src:r.src,alt:"Slideshow",width:20,height:20,className:"h-5 w-5",rounded:!1})}),(0,a.jsx)("div",{className:"ml-2 mr-2",children:(0,a.jsx)(s.EY,{variant:"Body.S",color:"primary",children:g})}),(0,a.jsx)("div",{className:"flex-grow"}),(0,a.jsx)("button",{type:"button","aria-label":"Previous",className:"mr-[10px] flex cursor-pointer items-center justify-center border-none bg-transparent p-2 disabled:cursor-not-allowed disabled:opacity-50",disabled:y,onClick:()=>{x("wxnode_slideshow_link-previous"),h()},children:(0,a.jsx)("span",{className:"flex items-center justify-center",children:(0,a.jsx)("span",{className:"flex items-center justify-center","aria-label":"chevron left",children:(0,a.jsx)(o.A,{className:"h-5 w-5 ".concat(y?"text-gray-200":"text-blue-500")})})})}),(0,a.jsx)("button",{type:"button","aria-label":"Next",className:"ml-auto flex cursor-pointer items-center justify-center border-none bg-transparent p-2 disabled:cursor-not-allowed disabled:opacity-50",disabled:w,onClick:()=>{x("wxnode_slideshow_link-next"),p()},children:(0,a.jsx)("span",{className:"flex items-center justify-center",children:(0,a.jsx)("span",{className:"flex items-center justify-center","aria-label":"chevron right",children:(0,a.jsx)(d.A,{className:"h-5 w-5 ".concat(w?"text-gray-200":"text-blue-500")})})})})]})}),f.filename&&!c(f.filename)&&(0,a.jsx)(s.EY,{variant:"Title.S",color:"primary",elementType:"h3",className:"mb-1 mt-0",children:f.filename}),f.caption&&(0,a.jsx)(s.EY,{variant:"Body.S",color:"primary",className:"py-1 pb-0 ".concat(f.filename&&!c(f.filename)?"":"mt-0 pt-0"),children:f.caption}),(0,a.jsx)("div",{className:"border-b border-gray-200 py-2"})]})})]})},m=e=>{let{id:t,assets:l=[],allSlides:r=[],totalAssets:i=r.length||0,loadNextSlideshowPage:s,sendTrackString:o=()=>{},rounded:d=!1}=e,c=(0,n.useId)(),m=t||"slideshow-".concat(c),h=r.length>0,[p,x]=(0,n.useState)(0),[v,f]=(0,n.useState)(1),[g,y]=(0,n.useState)(1),[w,b]=(0,n.useState)(h?r.slice(0,20):l),j=(0,n.useCallback)(e=>{if(!e)return!1;let{top:t}=e.getBoundingClientRect();return t>=-100&&t{if(p-1>=0){let e=p-1?Math.ceil((p-1)/20):1;x(p-1),f(e)}},[p]),C=(0,n.useCallback)(()=>{if(p+1=g){let e=20*v;if(e-3

l.length&&v>=g){let e=20*v;e-3

{if(j(document.querySelector("#".concat(m))))switch(e.key){case"ArrowLeft":N();break;case"ArrowRight":C()}},[m,j,N,C]);return(0,n.useEffect)(()=>(document.body.addEventListener("keydown",T),()=>{document.body.removeEventListener("keydown",T)}),[T]),(0,n.useEffect)(()=>{h&&0===w.length&&b(r.slice(0,20))},[h,r,w.length]),(0,a.jsx)(u,{id:m,assets:h?w:l,currentSlideIndex:p,totalAssets:i,previous:N,next:C,sendTrackString:o,rounded:d})}},83160:(e,t,l)=>{"use strict";t.lh=void 0,t.$c=d;let a=l(14183),n=l(54435),r=l(71744),i=l(1827),s=l(16774),o=l(81402);async function d(e){let l=(0,a.getHourlyForecastUrlConfig)(e),i=(0,n.urlFrom)(l),s=await fetch(i,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:300}}),o=await (0,r.handleFetchResponse)(s);return(0,t.lh)(o)}t.lh=(0,i.createTransformer)(e=>{var t,l,a,n,r,i,d,c,u,m,h,p,x,v,f,g,y,w,b,j,N,C,T,A,S,M,I,R,_;return{cloudCover:null!=(t=e.cloudCover)?t:0,dayOfWeek:null!=(l=e.dayOfWeek)?l:"",dayOrNight:null!=(a=e.dayOrNight)?a:o.DayOrNight.DAY,expirationTimeUtc:null!=(n=e.expirationTimeUtc)?n:0,iconCode:null!=(r=e.iconCode)?r:0,iconCodeExtend:null!=(i=e.iconCodeExtend)?i:0,precipChance:null!=(d=e.precipChance)?d:0,precipType:null!=(c=e.precipType)?c:s.PrecipType.RAIN,pressureMeanSeaLevel:null!=(u=e.pressureMeanSeaLevel)?u:0,qpf:null!=(m=e.qpf)?m:0,qpfSnow:null!=(h=e.qpfSnow)?h:0,relativeHumidity:null!=(p=e.relativeHumidity)?p:0,temperature:null!=(x=e.temperature)?x:0,temperatureDewPoint:null!=(v=e.temperatureDewPoint)?v:0,temperatureFeelsLike:null!=(f=e.temperatureFeelsLike)?f:0,temperatureHeatIndex:null!=(g=e.temperatureHeatIndex)?g:0,temperatureWindChill:null!=(y=e.temperatureWindChill)?y:0,uvDescription:null!=(w=e.uvDescription)?w:o.UVDescription.LOW,uvIndex:null!=(b=e.uvIndex)?b:0,validTimeLocal:null!=(j=e.validTimeLocal)?j:"",validTimeUtc:null!=(N=e.validTimeUtc)?N:0,visibility:null!=(C=e.visibility)?C:0,windDirection:null!=(T=e.windDirection)?T:0,windDirectionCardinal:null!=(A=e.windDirectionCardinal)?A:o.WindDirectionCardinal.NORTH,windGust:null!=(S=e.windGust)?S:null,windSpeed:null!=(M=e.windSpeed)?M:0,wxPhraseLong:null!=(I=e.wxPhraseLong)?I:"",wxPhraseShort:null!=(R=e.wxPhraseShort)?R:"",wxSeverity:null!=(_=e.wxSeverity)?_:0}})},84972:(e,t,l)=>{"use strict";l.d(t,{h:()=>a});let a=4},85670:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromCompactResponse=function(e){if(!e)return null;let t=Object.keys(e);return t.length&&t[0]&&void 0!==e[t[0]]&&Array.isArray(e[t[0]])?Array.from({length:e[t[0]].length},(l,a)=>{let n={};return t.forEach(t=>{let l=e[t];void 0!==l&&Array.isArray(l)&&a{"use strict";l.r(t),l.d(t,{CurrentDetailsBlock:()=>eu,default:()=>em});var a=l(66695),n=l(6127),r=l(3071),i=l(38051),s=l(98956),o=l(92071),d=l(20108),c=l(74249),u=l(69896),m=l(81402),h=l(62974),p=l(97839),x=l(68772),v=l(73237),f=l(9117),g=l(12814),y=l(27430),w=l(89010);let b=(0,p.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:r,descId:i,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":i,...s,children:[r?(0,a.jsx)("desc",{id:i,children:r}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"temperature"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsxs)("g",{fill:"currentColor",children:[(0,a.jsx)("path",{fillRule:"evenodd",d:"M6.5 8.63V3a2 2 0 1 0-4 0v5.63a3.5 3.5 0 1 0 4 0M4.5 2a1 1 0 0 1 1 1v3.5h-2V3a1 1 0 0 1 1-1m0 12a2.5 2.5 0 0 1-1.25-4.665l.25-.14V7.5h2v1.695l.25.14A2.5 2.5 0 0 1 4.5 14",clipRule:"evenodd"}),(0,a.jsx)("path",{d:"M9.938 2.466a.5.5 0 0 1 .5-.5h4.087a.5.5 0 0 1 0 1h-4.087a.5.5 0 0 1-.5-.5M10.438 4.996a.5.5 0 1 0 0 1h2.63a.5.5 0 0 0 0-1zM9.938 11.509a.5.5 0 0 1 .5-.5h2.63a.5.5 0 0 1 0 1h-2.63a.5.5 0 0 1-.5-.5M10.438 8.002a.5.5 0 1 0 0 1h4.087a.5.5 0 0 0 0-1z"})]})]})}),j=p.forwardRef((e,t)=>(0,a.jsx)(w.h,{ref:t,icon:b,...e}));j.displayName="Temperature";var N=l(94975),C=l(70918),T=l(4591),A=l(59092),S=l(13664),M=l(98792),I=l(62754),R=l(20486),_=l(55904),k=l(8284),P=l(35150),E=l(16774);let L=(0,p.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:r,descId:i,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":i,...s,children:[r?(0,a.jsx)("desc",{id:i,children:r}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"New Moon"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsx)("circle",{cx:8,cy:7.613,r:6.4,fill:"currentColor"})]})}),D=p.forwardRef((e,t)=>(0,a.jsx)(w.h,{ref:t,icon:L,...e}));D.displayName="NewMoon";let F=(0,p.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:r,descId:i,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":i,...s,children:[r?(0,a.jsx)("desc",{id:i,children:r}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Waxing Crescent"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsx)("path",{fill:"currentColor",d:"M8.01 13.553q2.432 0 4.18-1.742 1.75-1.742 1.75-4.202 0-2.452-1.75-4.198-1.748-1.745-4.18-1.745 1.704 0 2.92 1.745t1.216 4.198q0 2.46-1.216 4.202t-2.92 1.742m-.014-12.34q2.64 0 4.521 1.882Q14.4 4.978 14.4 7.616q0 2.645-1.883 4.521t-4.52 1.876q-2.646 0-4.522-1.876Q1.6 10.262 1.6 7.617q0-2.64 1.875-4.522t4.521-1.882"})]})}),B=p.forwardRef((e,t)=>(0,a.jsx)(w.h,{ref:t,icon:F,...e}));B.displayName="WaxingCrescent";let H=(0,p.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:r,descId:i,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":i,...s,children:[r?(0,a.jsx)("desc",{id:i,children:r}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"First Quarter"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsx)("path",{fill:"currentColor",d:"M8.004 13.552q2.446 0 4.19-1.745 1.746-1.745 1.746-4.198 0-2.452-1.745-4.198-1.745-1.745-4.191-1.745zm-.007-12.34q2.644 0 4.524 1.88t1.88 4.517q0 2.64-1.88 4.521-1.879 1.883-4.524 1.883-2.639 0-4.517-1.883Q1.6 10.247 1.6 7.61q0-2.64 1.88-4.518 1.878-1.88 4.517-1.88"})]})}),W=p.forwardRef((e,t)=>(0,a.jsx)(w.h,{ref:t,icon:H,...e}));W.displayName="FirstQuarter";let O=(0,p.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:r,descId:i,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":i,...s,children:[r?(0,a.jsx)("desc",{id:i,children:r}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Waxing Gibbous"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsx)("path",{fill:"currentColor",d:"M8.003 1.673q-1.38 0-2.367 1.745-.986 1.746-.986 4.198 0 2.454.986 4.198t2.367 1.745q2.439 0 4.188-1.745 1.748-1.744 1.748-4.198 0-2.452-1.748-4.198-1.749-1.745-4.188-1.745m0 12.34q-2.645 0-4.524-1.88-1.88-1.878-1.88-4.517t1.88-4.52q1.878-1.883 4.524-1.883 2.638 0 4.518 1.882Q14.4 4.978 14.4 7.616q0 2.64-1.88 4.518-1.878 1.879-4.517 1.879"})]})}),z=p.forwardRef((e,t)=>(0,a.jsx)(w.h,{ref:t,icon:O,...e}));z.displayName="WaxingGibbous";let V=(0,p.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:r,descId:i,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":i,...s,children:[r?(0,a.jsx)("desc",{id:i,children:r}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Full Moon"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsx)("path",{fill:"currentColor",d:"M7.996 13.553q2.445 0 4.195-1.742 1.748-1.742 1.748-4.202 0-2.452-1.748-4.198-1.749-1.745-4.195-1.745-2.452 0-4.198 1.745Q2.053 5.157 2.053 7.61q0 2.46 1.745 4.202t4.198 1.742m0-12.34q2.64 0 4.521 1.882Q14.4 4.978 14.4 7.616q0 2.645-1.883 4.521t-4.52 1.876q-2.646 0-4.522-1.876Q1.6 10.262 1.6 7.617q0-2.64 1.875-4.522t4.521-1.882"})]})}),U=p.forwardRef((e,t)=>(0,a.jsx)(w.h,{ref:t,icon:V,...e}));U.displayName="FullMoon";let q=(0,p.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:r,descId:i,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":i,...s,children:[r?(0,a.jsx)("desc",{id:i,children:r}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Waning Gibbous"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsx)("path",{fill:"currentColor",d:"M7.996 13.553q1.374 0 2.36-1.742t.986-4.202q0-2.452-.986-4.198-.986-1.745-2.36-1.745-2.452 0-4.198 1.745Q2.053 5.157 2.053 7.61q0 2.46 1.745 4.202t4.198 1.742m0-12.34q2.64 0 4.521 1.882Q14.4 4.978 14.4 7.616q0 2.645-1.883 4.521t-4.52 1.876q-2.646 0-4.522-1.876Q1.6 10.262 1.6 7.617q0-2.64 1.875-4.522t4.521-1.882"})]})}),G=p.forwardRef((e,t)=>(0,a.jsx)(w.h,{ref:t,icon:q,...e}));G.displayName="WaningGibbous";let Q=(0,p.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:r,descId:i,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":i,...s,children:[r?(0,a.jsx)("desc",{id:i,children:r}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Last Quarter"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsx)("path",{fill:"currentColor",d:"M7.997 1.673q-2.439 0-4.188 1.742-1.748 1.74-1.748 4.201 0 2.453 1.748 4.198 1.749 1.745 4.188 1.745zm.007 12.34q-2.64 0-4.521-1.883Q1.6 10.247 1.6 7.61q0-2.646 1.883-4.522 1.883-1.875 4.52-1.875 2.646 0 4.522 1.875Q14.4 4.964 14.4 7.61q0 2.64-1.875 4.521-1.876 1.883-4.521 1.883"})]})}),Z=p.forwardRef((e,t)=>(0,a.jsx)(w.h,{ref:t,icon:Q,...e}));Z.displayName="LastQuarter";let Y=(0,p.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:r,descId:i,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":i,...s,children:[r?(0,a.jsx)("desc",{id:i,children:r}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Waning Crescent"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsx)("path",{fill:"currentColor",d:"M8.01 1.673q-2.453 0-4.201 1.745-1.75 1.746-1.75 4.198 0 2.454 1.75 4.198 1.748 1.745 4.2 1.745-.975 0-1.676-1.745-.7-1.744-.7-4.198 0-2.452.7-4.198.701-1.745 1.677-1.745m-.007 12.34q-2.645 0-4.524-1.88-1.88-1.878-1.88-4.517t1.88-4.52q1.878-1.883 4.524-1.883 2.638 0 4.518 1.882Q14.4 4.978 14.4 7.616q0 2.64-1.88 4.518-1.878 1.879-4.517 1.879"})]})}),$=p.forwardRef((e,t)=>(0,a.jsx)(w.h,{ref:t,icon:Y,...e}));$.displayName="WaningCrescent";var X=l(49588);let J=(0,p.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:r,descId:i,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":i,...s,children:[r?(0,a.jsx)("desc",{id:i,children:r}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Sunrise"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsx)("g",{fill:"currentColor",children:(0,a.jsx)("path",{d:"M14.499 13.5a.5.5 0 1 1 0 1H1.5a.5.5 0 0 1 0-1zM3 11a.5.5 0 0 1 0 1H1.5a.5.5 0 1 1 0-1zM8 9a3 3 0 0 1 2.958 2.502c.046.272-.183.497-.459.497s-.493-.227-.562-.494A2 2 0 0 0 8 10a2 2 0 0 0-1.937 1.505c-.069.267-.287.494-.563.494s-.504-.225-.459-.497A3 3 0 0 1 8 9M14.5 11a.5.5 0 0 1 0 1H13a.5.5 0 1 1 0-1zM3.05 7.05a.5.5 0 0 1 .708 0l1.045 1.046a.5.5 0 0 1-.707.707L3.05 7.757a.5.5 0 0 1 0-.707M12.242 7.05a.5.5 0 0 1 .707.707l-1.046 1.046a.5.5 0 0 1-.707-.707zM7.605 2.397a.56.56 0 0 1 .79 0l1.753 1.753a.5.5 0 0 1-.706.706L8.5 3.917v3.585a.5.5 0 0 1-1 0V3.917l-.942.939a.5.5 0 0 1-.705-.706z"})})]})}),K=p.forwardRef((e,t)=>(0,a.jsx)(w.h,{ref:t,icon:J,...e}));K.displayName="Sunrise";let ee=(0,p.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:r,descId:i,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":i,...s,children:[r?(0,a.jsx)("desc",{id:i,children:r}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Sunset"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsx)("g",{fill:"currentColor",children:(0,a.jsx)("path",{d:"M14.499 13.502a.5.5 0 0 1 0 1H1.5a.5.5 0 0 1 0-1zM3 11.003a.5.5 0 0 1 0 1H1.5a.5.5 0 0 1 0-1zM14.5 11.003a.5.5 0 0 1 0 1H13a.5.5 0 0 1 0-1zM8 9a3 3 0 0 1 2.958 2.502c.046.272-.183.498-.459.498s-.493-.227-.562-.494A2.006 2.006 0 0 0 8 10a2.004 2.004 0 0 0-1.937 1.506c-.07.267-.287.494-.563.494s-.505-.226-.459-.498A3 3 0 0 1 8 9M3.05 7.053a.5.5 0 0 1 .707 0l1.046 1.046a.5.5 0 0 1-.707.707L3.05 7.76a.5.5 0 0 1 0-.707M12.242 7.053a.5.5 0 0 1 .707.707l-1.046 1.046a.5.5 0 0 1-.707-.707zM8 2.003a.5.5 0 0 1 .5.5v3.585l.941-.939a.5.5 0 0 1 .705.706L8.396 7.607a.56.56 0 0 1-.79 0L5.853 5.855a.5.5 0 0 1 .705-.706l.942.939V2.503a.5.5 0 0 1 .5-.5"})})]})}),et=p.forwardRef((e,t)=>(0,a.jsx)(w.h,{ref:t,icon:ee,...e}));et.displayName="Sunset";let el=(e,t)=>{var l,a,n,r,i,s,o,d,c,u,m,h;if(!e)return!1;let{top:p,right:x,bottom:v,left:f,width:g,height:y}=e.getBoundingClientRect(),w={t:v,r:window.innerWidth-f,b:window.innerHeight-p,l:x},b={x:(null!=(o=null==t||null==(l=t.threshold)?void 0:l.x)?o:0)*g,y:(null!=(d=null==t||null==(a=t.threshold)?void 0:a.y)?d:0)*y},j={top:null!=(c=null==t||null==(n=t.offset)?void 0:n.top)?c:0,right:null!=(u=null==t||null==(r=t.offset)?void 0:r.right)?u:0,bottom:null!=(m=null==t||null==(i=t.offset)?void 0:i.bottom)?m:0,left:null!=(h=null==t||null==(s=t.offset)?void 0:s.left)?h:0};return w.t>j.top+b.y&&w.r>j.right+b.x&&w.b>j.bottom+b.y&&w.l>j.left+b.x};var ea=l(16186),en=l(75152);let er=e=>{let{date:t,normalizeString:l=!0,resetToStartOfHour:a,resetToOffset:n,resetToStartOfMonth:r,resetToEndOfMonth:i,resetToStartOfWeek:s,resetToEndOfWeek:o,resetToHour:d,daysFromDate:c,daysBeforeDate:u,monthsBeforeDate:m,monthsAfterDate:h,yearsBeforeDate:p,yearsAfterDate:x}=e;if(!t)return new Date;let v=l||"string"!=typeof t?(0,en.$)(t):t,f=/([+-]\d{2}:?\d{2})$/,g=v.match(f),y=new Date(v.replace(f,""));if(c&&y.setDate(y.getDate()+c),u&&y.setDate(y.getDate()-u),m&&y.setMonth(y.getMonth()-m),h&&y.setMonth(y.getMonth()+h),a&&(y.setMinutes(0),y.setSeconds(0)),n&&g){let e,t=g[0];t.includes(":")?[,e]=t.split(":"):e=t.slice(-2),y.setMinutes(parseInt(e||"0",10)),y.setSeconds(0)}if(r&&y.setDate(1),i){let e=y.getMonth(),t=y.getFullYear();y.setMonth(e+1),y.setDate(0),y.setFullYear(t)}return s&&y.setDate(y.getDate()-y.getDay()),o&&y.setDate(y.getDate()-y.getDay()+6),d&&y.setHours(d),p&&y.setFullYear(y.getFullYear()-1),x&&y.setFullYear(y.getFullYear()+1),y},ei=(0,a.jsxs)("svg",{children:[(0,a.jsx)("title",{children:"Daylight"}),(0,a.jsx)("circle",{cx:"12",cy:"12",r:"12",fill:"#FFF"}),(0,a.jsx)("path",{fill:"#FFB900",d:"M18.405 17.661a1 1 0 0 1-1.437 1.391l-1.665-1.72a1 1 0 1 1 1.437-1.39l1.665 1.72zm-5.541 2.651a1 1 0 0 1-2 0v-2.366a1 1 0 1 1 2 0v2.366zm-6.718-1.624a1 1 0 0 1-1.357-1.469l1.758-1.624a1 1 0 1 1 1.357 1.47l-1.758 1.623zm-2.753-5.769a1 1 0 1 1 .002-2l2.422.001a1 1 0 0 1-.001 2l-2.423-.001zm1.77-6.115A1 1 0 0 1 6.6 5.414l1.664 1.719a1 1 0 0 1-1.436 1.391l-1.665-1.72zm5.751-3.391a1 1 0 1 1 2 0v2.366a1 1 0 0 1-2 0V3.413zm6.5 1.903a1 1 0 1 1 1.356 1.47l-1.757 1.623a1 1 0 1 1-1.357-1.47l1.758-1.623zm3.005 6.114a1 1 0 0 1-.002 2l-2.422-.001a1 1 0 0 1 .001-2l2.423.001z"}),(0,a.jsx)("ellipse",{fill:"#FFB900",cx:"11.85",cy:"11.935",rx:"3.225",ry:"3.256"})]}),es=(0,p.memo)(e=>{var t;let{sunriseTimeLocal:l,sunsetTimeLocal:n,ianaTimeZone:r,validTimeLocal:i,width:s=100,className:d}=e,c=null==(t=(0,o.useParams)())?void 0:t.locale,u=(0,p.useRef)(null),m=(0,p.useRef)(null),[h,x]=(0,p.useState)(0),f=s/2,g=(0,p.useMemo)(()=>({formattedTime:(0,ea.P)({date:l,timeZone:r,locale:c,minutes:!0}),dateTime:er({date:l})}),[r,c,l]),y=(0,p.useMemo)(()=>({formattedTime:(0,ea.P)({date:n,timeZone:r,locale:c,minutes:!0}),dateTime:er({date:n})}),[r,c,n]),w=(0,p.useMemo)(()=>new Date(i.replace(/([+-]\d{2}:?\d{2})$/,"")),[i]),b=y.dateTime.getTime()-g.dateTime.getTime(),j=(w.getTime()-g.dateTime.getTime())*180/b,N=(e,t)=>{let l="x"===e?Math.cos:Math.sin;return Math.round(1e4*(("y"===e?f-6:f)*(l((t+180)*Math.PI/180)+1)+1.5))/1e4},C=(0,p.useCallback)(()=>{let e=0,t=setInterval(()=>{e>=j?clearInterval(t):x(e=Math.min(e+1,j))},10)},[j]),T=(0,p.useMemo)(()=>(0,X.n)(()=>{u.current&&el(u.current)&&g&&y&&(C(),window.removeEventListener("scroll",T))},400),[C,g,y]);(0,p.useEffect)(()=>(g&&y&&(u.current&&el(u.current)?C():window.addEventListener("scroll",T)),()=>{window.removeEventListener("scroll",T)}),[C,T,g,y]);let A=w.getTime()=g.dateTime.getTime();return g&&y?(0,a.jsx)("div",{ref:u,className:d,children:(0,a.jsxs)("div",{"data-testid":"sunriseSunsetContainer",className:"flex flex-col items-center",children:[(0,a.jsxs)("svg",{"data-testid":"TwcSunChartGraph",className:"mx-auto my-0 block",width:s+27,height:s/2+27-6,children:[(0,a.jsx)("path",{d:"M ".concat(-13.5," ").concat(f-13.5," a 1 1 0 0 0 ").concat(s," 0"),className:"stroke-3 transform-[rotate(180deg)] fill-none stroke-[#252422] [stroke-linecap:round]",style:{transformOrigin:"".concat(f,"px ").concat(f,"px")}}),A&&(0,a.jsx)("g",{ref:m,style:{transform:"translate(".concat(N("x",h),"px, ").concat(N("y",h),"px)")},children:ei})]}),(0,a.jsxs)("div",{className:"flex justify-between gap-2",children:[(0,a.jsxs)("div",{"data-testid":"SunriseValue",className:"gap-1.25 flex items-center justify-end",children:[(0,a.jsx)(K,{}),(0,a.jsx)(v.Ay,{variant:"Body.S",className:"text-sm font-normal md:text-base",children:g.formattedTime.toLowerCase()})]}),(0,a.jsxs)("div",{"data-testid":"SunsetValue",className:"gap-1.25 flex items-center justify-end",children:[(0,a.jsx)(et,{}),(0,a.jsx)(v.Ay,{variant:"Body.S",className:"text-sm font-normal md:text-base",children:y.formattedTime.toLowerCase()})]})]})]})}):null}),eo=e=>{var t;let{currentDetails:l,location:n,isLoading:r}=e,i=(0,x.c3)("CurrentDetails"),s=(0,x.c3)("DetailsTable"),o=(0,d.md)(c.Yt),m=null==(t=(0,u.xP)(o))?void 0:t.code,h=(0,p.useMemo)(()=>l&&((e,t,l)=>[{Icon:j,label:"".concat(t("high")," / ").concat(t("low")),content:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(M.B,{value:e.temperatureMax})," / ",(0,a.jsx)(M.B,{value:e.temperatureMin})]})},{Icon:N.Z,label:t("wind"),content:(0,a.jsx)(I.Z,{windSpeed:e.windSpeed,units:l,windDirection:e.windDirection,windDirectionCardinal:e.windDirectionCardinal,displayMode:"directionalAndCardinal"})},{Icon:C.K,label:t("humidity"),content:(0,a.jsx)(R.N,{value:e.relativeHumidity})},{Icon:T.$,label:t("dewPoint"),content:(0,a.jsx)(M.B,{value:e.temperatureDewPoint})},{Icon:A.S,label:t("pressure"),content:(0,a.jsx)(_.S,{pressureAltimeter:e.pressureAltimeter,pressureTendencyCode:e.pressureTendencyCode,units:l})},{Icon:S.o,label:t("uvIndex"),content:(0,a.jsx)(k.M,{uvIndex:e.uvIndex})},{Icon:y.S,label:t("visibility"),content:(0,a.jsx)(P.b,{visibility:e.visibility,units:l})},{Icon:(e=>{switch(e){case E.MoonPhaseCode.NEW:return D;case E.MoonPhaseCode.WAXING_CRESCENT:return B;case E.MoonPhaseCode.FIRST_QUARTER:return W;case E.MoonPhaseCode.WAXING_GIBBOUS:return z;case E.MoonPhaseCode.FULL:return U;case E.MoonPhaseCode.WANING_GIBBOUS:return G;case E.MoonPhaseCode.LAST_QUARTER:return Z;case E.MoonPhaseCode.WANING_CRESCENT:return $;default:return D}})(e.moonPhaseCode),label:t("moonPhase"),content:e.moonPhase}])(l,s,m),[l,s,m]),w=(()=>{if(r)return(0,a.jsx)("div",{className:"flex items-center justify-center p-3",children:(0,a.jsx)(f.a,{})});if(!l||!n||!h)return null;let{temperatureFeelsLike:e,sunriseTimeLocal:t,sunsetTimeLocal:s,validTimeLocal:o}=l;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(v.Ay,{variant:"Title.S",className:"@md/currentDetails:mb-3",children:[i("weatherToday")," ",n.presentationName]}),(0,a.jsxs)("div",{className:"@md/currentDetails:mb-4 mb-3 flex w-full items-end",children:[(0,a.jsxs)("div",{className:"grow-1",children:[(0,a.jsx)(v.Ay,{className:"@md/currentDetails:text-base text-sm leading-normal",children:i("feelsLike")}),(0,a.jsx)(v.Ay,{variant:"Display.L",className:"@md/currentDetails:text-5xl text-[40px] font-medium leading-normal",children:(0,a.jsx)(M.B,{value:e})})]}),(0,a.jsx)(es,{sunriseTimeLocal:t,sunsetTimeLocal:s,validTimeLocal:o,ianaTimeZone:n.ianaTimeZone,className:"@md/currentDetails:mb-2 mb-1"})]}),(0,a.jsx)("div",{className:"@md/currentDetails:grid-cols-2 @2xl/currentDetails:px-6 grid gap-[0_32px] px-4",children:h.map(e=>{let{Icon:t,label:l,content:n}=e;return(0,a.jsxs)("div",{className:"@md/currentDetails:[&:nth-child(-n+2)]:border-none flex items-center gap-1.5 border-t py-3 [&:first-child]:border-none",children:[(0,a.jsx)(t,{className:"@md/currentDetails:size-5 size-4"}),(0,a.jsx)(v.Ay,{variant:"Body.M",className:"grow-1 @2xl/currentDetails:text-lg whitespace-nowrap font-normal",children:l}),(0,a.jsx)("div",{className:"@2xl/currentDetails:text-lg text-right",children:n})]},l)})})]})})();return w&&(0,a.jsx)(g.Zp,{className:"@container/currentDetails p-4",children:(0,a.jsx)(g.Wu,{className:"p-0",children:w})})};var ed=l(79023);let ec=e=>{let{location:t}=e,{effectiveLocation:l,isLocationLoading:n}=(0,ed.s)({location:t}),{currentDetails:r,loading:x}=(e=>{var t,l,a;let n=(0,d.md)(c.Yt),r=null==(t=(0,u.xP)(n))?void 0:t.code,x=null==(l=(0,o.useParams)())?void 0:l.locale,v=null==(a=(0,o.useParams)())?void 0:a.cscCountryCode,{data:f,error:g,isLoading:y}=(0,i.Ay)(e?["get-current-observations",e.geocode,r,x]:null,e=>{let[t,l,a,n]=e;return(0,s.z)({geocode:l,units:a,language:n})},{revalidateOnFocus:!1,dedupingInterval:6e4}),{data:w,error:b,isLoading:j}=(0,i.Ay)(e?["get-daily-forecast",e.geocode,r,m.ForecastDuration.THREE_DAY,x,"KR"===v?v:void 0]:null,e=>{let[t,l,a,n,r,i]=e;return(0,h.v1)({geocode:l,units:a,language:r,duration:n,cscCountryCode:i})},{revalidateOnFocus:!1,dedupingInterval:6e4}),N=null==w?void 0:w[0];return{currentDetails:(0,p.useMemo)(()=>f&&N&&{...f,temperatureMin:N.temperatureMin,temperatureMax:N.temperatureMax,moonPhase:N.moonPhase,moonPhaseCode:N.moonPhaseCode},[f,N]),loading:y||j,error:g||b}})(l);return(0,a.jsx)(eo,{location:l,currentDetails:r,isLoading:n||x})},eu=e=>{let{locationProvider:t,locationEntry:l}=e,i="specified"===t,{specifiedLocationData:s,specifiedLocationError:o,isSpecifiedLocationLoading:d}=(0,r.v)(i?l:null);if(i&&d)return(0,a.jsx)("div",{children:"Loading location data..."});if(i&&o)return(0,a.jsxs)("div",{children:["Error loading location data: ",o.message]});let c=i&&s&&l?(0,n.I)(s):void 0;return(0,a.jsx)(ec,{location:c})},em=eu},86028:(e,t,l)=>{"use strict";l.d(t,{S:()=>v});var a=l(66695),n=l(36697),r=l(97839),i=l(89010);let s=(0,r.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:r,descId:i,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":i,...s,children:[r?(0,a.jsx)("desc",{id:i,children:r}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Play"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsxs)("g",{fill:"currentColor",children:[(0,a.jsx)("path",{d:"M5.5 11.5A.5.5 0 0 1 5 11V5a.5.5 0 0 1 .724-.447l6 3a.5.5 0 0 1 0 .894l-6 3a.5.5 0 0 1-.224.053M6 5.809v4.382L10.382 8z"}),(0,a.jsx)("path",{d:"M8 2a6 6 0 1 1 0 12A6 6 0 0 1 8 2m0-1a7 7 0 1 0 0 14A7 7 0 0 0 8 1"})]})]})}),o=r.forwardRef((e,t)=>(0,a.jsx)(i.h,{ref:t,icon:s,...e}));o.displayName="PlayOutline";let d=(0,r.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:r,descId:i,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":i,...s,children:[r?(0,a.jsx)("desc",{id:i,children:r}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Book"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsxs)("g",{fill:"currentColor",children:[(0,a.jsx)("path",{d:"M13 5H9.5v1H13zM13 7.5H9.5v1H13zM13 10H9.5v1H13zM6.5 5H3v1h3.5zM6.5 7.5H3v1h3.5zM6.5 10H3v1h3.5z"}),(0,a.jsx)("path",{d:"M14 2.5H2a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-9a1 1 0 0 0-1-1m-12 1h5.5v9H2zm6.5 9v-9H14v9z"})]})]})}),c=r.forwardRef((e,t)=>(0,a.jsx)(i.h,{ref:t,icon:d,...e}));c.displayName="Book";var u=l(88504),m=l(64070),h=l(73237);let p={video:o,article:c},x={col:"flex-col",row:"flex-row","col-reverse":"flex-col-reverse","row-reverse":"flex-row-reverse"},v=e=>{let{heading:t,description:l,content:r,href:i,target:s,imageUrl:o,altText:d,onClick:c,className:v,imageWrapClassName:f,imageClassName:g,contentClassName:y,badge:w,icon:b="video",showIcon:j,iconClassName:N,overlayClassName:C,dir:T="row"}=e,A=p[b],S=!!(t||l||r),M=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:(0,m.cn)("relative aspect-video w-full overflow-hidden rounded-md",f),children:[(0,a.jsx)(n.A,{src:o,alt:d||l||"",fill:!0,className:(0,m.cn)("absolute left-0 top-0 h-full w-full object-cover",g),sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 25vw"}),(0,a.jsx)("div",{className:(0,m.cn)("absolute inset-0 flex items-center justify-center",C),children:j&&A&&(0,a.jsx)(A,{className:(0,m.cn)("size-10 text-white",N)})}),w&&(0,a.jsx)("div",{className:"absolute bottom-2 right-2 rounded-full bg-black/70 px-[10px] py-2 text-[14px] leading-none text-white md:bottom-1 md:right-1 md:p-1 md:text-[10px]",children:w})]}),S&&(0,a.jsx)("div",{className:y,children:r||(0,a.jsxs)(a.Fragment,{children:[t&&(0,a.jsx)(h.Ay,{elementType:"span",variant:"Title.S",className:"mb-1 text-xs",color:"placeholder",children:t}),l&&(0,a.jsx)(h.Ay,{elementType:"h2",className:"mb-1 font-normal leading-tight",children:l})]})})]}),I=(0,m.cn)("not-prose font-normal text-gray-900 no-underline hover:no-underline flex",x[T],v);return!c&&i?(0,a.jsx)(u.default,{className:I,href:i,target:s,children:M}):(0,a.jsx)("div",{className:I,onClick:c,children:M})}},87189:(e,t,l)=>{"use strict";l.d(t,{h:()=>m});var a=l(66695),n=l(97839),r=l(64070),i=l(5498);let s={autoplayadsmuted:!1,client:"googima",vpaidcontrols:!0};var o=l(80917),d=l(33058),c=l.n(d);let u=(0,o.h)("JWPlayer"),m=e=>{var t;let{playlist:l,options:o={},setupParams:d={},events:m=[],className:h=""}=e,p="player-".concat((0,n.useId)()),{playerId:x="IdNDrRWQ"}=d,v=(0,n.useMemo)(()=>({playlist:l,...(e=>{let{ads:t=!0,showDescriptions:l=!0}=e;return{aspectratio:"16:9",autostart:!0,backgroundLoading:!0,width:"100%",mute:!1,autoPause:{pauseAds:!0,viewability:!0},captions:{backgroundOpacity:50,fontSize:14},...t?{advertising:s}:{},...l?{displaytitle:!0,displaydescription:!0}:{displaytitle:!1,displaydescription:!1}}})(d),...o}),[l,d,o]),f=(0,n.useRef)(null),g=(0,n.useRef)(!1),y=null==l||null==(t=l[0])?void 0:t.file,[w,b]=(0,n.useState)(y?"loading":"error");return(0,n.useEffect)(()=>{if(g.current||!("jwplayer"in window)||"ready"!==w||!y)return;let e=window.jwplayer(p);f.current=e,g.current=!0,u.info("initialized player"),e.setup(v),m.forEach(t=>{let{eventName:l,callback:a}=t;e.on(l,t=>{a({event:t,player:e})}),u.lifecycle("Registered event handler for ".concat(l))})},[v,m,y,p,w]),(0,n.useEffect)(()=>()=>{if(f.current)try{f.current.remove(),f.current=null,g.current=!1}catch(e){u.error("Error removing JW Player",e)}},[]),(0,a.jsxs)("div",{children:[y&&(0,a.jsx)(i.default,{src:"https://cdn.jwplayer.com/libraries/".concat(x,".js"),strategy:"afterInteractive",onLoad:()=>b("ready"),onReady:()=>b("ready"),onError:()=>b("error")}),(0,a.jsx)("div",{className:(0,r.cn)("overflow-hidden",c().jwplayerContainer,h),children:"loading"===w&&y?(0,a.jsx)("div",{className:"flex aspect-video w-full items-center justify-center bg-black",children:(0,a.jsx)("div",{className:"h-8 w-8 animate-spin rounded-full border-b-2 border-t-2 border-white"})}):"error"===w?(0,a.jsx)("div",{className:"flex aspect-video w-full items-center justify-center bg-black text-white",children:"Failed to initialize video player"}):(0,a.jsx)("div",{id:p,className:"aspect-video w-full bg-black"})})]})}},89274:(e,t,l)=>{"use strict";l.d(t,{p:()=>i});var a=l(69266),n=l(97839),r=l(51880);let i=(e,t)=>{var l;let{data:i,isLoading:s}=(0,r.r)({key:"precipintensity-insight",geoCode:null!=(l=null==e?void 0:e.geocode)?l:null,insightType:a.InsightType.PRECIP_INSIGHT,locale:t}),o=(0,n.useMemo)(()=>null==i?void 0:i.find(e=>{var t;return(null==e||null==(t=e.supplement)?void 0:t.precipSource)==="wwir"}),[i]);return{loadingInsight:s,insightHeadline:(null==o?void 0:o.insightHeadline[0])||"",insightTextLong:(null==o?void 0:o.insightTextLong[0])||""}}},89834:(e,t)=>{"use strict";t.J3=t.Ny=t.rn=void 0,t.rn="daily-newsletters-1",t.Ny="marketing-emails-1",t.J3=[{subscriptionGroupName:t.rn,subscriptionGroupId:"",isSubscribed:!1,attributes:{location:""}},{subscriptionGroupName:t.Ny,subscriptionGroupId:"",isSubscribed:!1}]},93323:(e,t,l)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSunV3WeatherInsightsUrlConfig=function(e){let{geocode:t,placeId:l,postalKey:n,insightType:r=a.InsightType.ALL,units:i,language:s,par:o}=e,d={format:"json",units:i,language:s,apiKey:"71f92ea9dd2f4790b92ea9dd2f779061",insightType:r,par:o};return t?d.geocode=t:l?d.placeid=l:n&&(d.postalKey=n),{host:"api.weather.com",protocol:"https",pathname:"/v3/insights",query:d}};let a=l(69266)},94975:(e,t,l)=>{"use strict";l.d(t,{Z:()=>s});var a=l(66695),n=l(97839),r=l(89010);let i=(0,n.forwardRef)((e,t)=>{let{title:l,titleId:n,desc:r,descId:i,...s}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":i,...s,children:[r?(0,a.jsx)("desc",{id:i,children:r}):null,void 0===l?(0,a.jsx)("title",{id:n,children:"Wind"}):l?(0,a.jsx)("title",{id:n,children:l}):null,(0,a.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M8.333 4.626C8.575 3.757 9.41 3 10.648 3c1.497 0 2.39 1.095 2.39 2.165 0 1.069-.893 2.164-2.39 2.164H4.389c-.256 0-.463-.188-.463-.42s.207-.42.463-.42h6.259c.91 0 1.463-.649 1.463-1.324 0-.676-.552-1.325-1.463-1.325-.764 0-1.265.45-1.416.991-.063.225-.315.361-.563.304s-.398-.285-.336-.51M2 9.09c0-.232.207-.42.463-.42h9.148C13.107 8.67 14 9.766 14 10.835S13.107 13 11.61 13c-1.334 0-2.211-.882-2.364-1.694-.043-.228.127-.445.379-.484s.491.115.534.343c.082.435.598.996 1.452.996.91 0 1.462-.65 1.462-1.326 0-.675-.552-1.325-1.462-1.325H2.463C2.207 9.51 2 9.322 2 9.09",clipRule:"evenodd"})]})}),s=n.forwardRef((e,t)=>(0,a.jsx)(r.h,{ref:t,icon:i,...e}));s.displayName="Wind"},98792:(e,t,l)=>{"use strict";l.d(t,{B:()=>s});var a=l(66695),n=l(97839),r=l(64070),i=l(69896);let s=(0,n.memo)(e=>{let t,{className:l,unitsClassName:n,units:s,value:o,degreeSymbolClass:d}=e,c=s?(0,i.Bu)(s):null,u=null==c?void 0:c.temp;Number.isFinite(o)&&(t=Math.round(o));let m=null!=t;return(0,a.jsx)("span",{"data-testid":"TemperatureValue",className:(0,r.cn)(l),dir:"ltr",children:m?(0,a.jsxs)(a.Fragment,{children:[t,m&&(0,a.jsx)("span",{className:(0,r.cn)(d),children:"\xb0"}),u&&(0,a.jsx)("span",{className:(0,r.cn)(n),children:u})]}):"--"})})}}]);