(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[335],{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:v,insightTextLong:x}=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:v});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:[x&&(0,n.jsxs)(s.Ay,{variant:"Body.M",className:"mb-2",children:[(0,n.jsx)("span",{className:"font-bold",children:"Outlook:"})," ",x]}),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,v,x,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!=(v=e.windDirectionCardinal)?v:o.WindDirectionCardinal.NORTH,windSpeed:null!=(x=e.windSpeed)?x: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={}))},4387:(e,t,l)=>{"use strict";l.d(t,{Cf:()=>u,L3:()=>m,LC:()=>c,ZJ:()=>d,lG:()=>o});var a=l(66695);l(97839);var n=l(89516),r=l(88109),i=l(64070);l(24765);var s=l(73237);function o(e){let{...t}=e;return(0,a.jsx)(n.bL,{"data-slot":"dialog",...t})}function d(e){let{...t}=e;return(0,a.jsx)(n.ZL,{"data-slot":"dialog-portal",...t})}function c(e){let{className:t,...l}=e;return(0,a.jsx)(n.hJ,{"data-slot":"dialog-overlay",className:(0,i.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 u(e){let{className:t,children:l,showCloseButton:s=!0,...o}=e;return(0,a.jsxs)(d,{"data-slot":"dialog-portal",children:[(0,a.jsx)(c,{}),(0,a.jsxs)(n.UC,{"data-slot":"dialog-content",className:(0,i.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),...o,children:[l,s&&(0,a.jsxs)(n.bm,{className:"absolute right-4 top-4 cursor-pointer transition-opacity hover:opacity-70 focus:outline-none",children:[(0,a.jsx)(r.b,{className:"h-5 w-5 text-black"}),(0,a.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})}function m(e){let{className:t,children:l,...r}=e;return(0,a.jsx)(n.hE,{"data-slot":"dialog-title",className:(0,i.cn)("pt-4 text-center",t),...r,children:(0,a.jsx)(s.EY,{variant:"Title.M",children:l})})}},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:()=>N});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),v=l(42662);let x={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:N,description:w,tracks:b=[],playlist:I,custom:j={},playerSettings:_,descriptionAttributes:E,videoReference:T,playlistsReference:A=[]}=e,R="video-player-".concat((0,n.useId)()),C=(0,n.useRef)(!0),S=(0,n.useRef)(null),L=(null==(t=(0,p.J)())?void 0:t.user)||{},D=(0,v.z)(),M=null;T&&("string"==typeof T?M="/api/payload/videos/".concat(T):"object"==typeof T&&(M=(null==T?void 0:T.id)?"/api/payload/videos/".concat(T.id):null));let{data:O,error:W}=(0,r.Ay)(M,g,{revalidateOnFocus:!1,dedupingInterval:3e5}),P=(0,c.c)(),H=(0,n.useMemo)(()=>{let e=[];return!Array.isArray(b)&&(null==b?void 0:b.file)?e.push(b):Array.isArray(b)&&e.push(...b),e},[b]),F=(0,n.useMemo)(()=>O&&Object.keys(O).length>0||T&&"string"!=typeof T,[O,T]),k=(0,n.useMemo)(()=>O&&Object.keys(O).length>0?O:T&&"string"!=typeof T?T:null,[O,T]),G=(0,n.useMemo)(()=>{var e,t,a,n,r,i,s,o,d;return F&&(null==k||null==(t=k.content)||null==(e=t.videoFormatUrls)?void 0:e.length)>0?(null==k||null==(n=k.content)||null==(a=n.defaultFormat)?void 0:a.url)?null==k||null==(d=k.content)||null==(o=d.defaultFormat)?void 0:o.url:null==k||null==(s=k.content)||null==(i=s.videoFormatUrls)||null==(r=i[0])?void 0:r.url:l},[F,k,l]),B=(0,n.useMemo)(()=>{if(F){var e,t,l;return(null==k||null==(e=k.content)?void 0:e.keyFrameImage)||(null==k||null==(l=k.seo)||null==(t=l.image)?void 0:t.url)||y}return y},[F,k,y]),V=(0,n.useMemo)(()=>F&&(null==k?void 0:k.title)||N,[F,k,N]),U=(0,n.useMemo)(()=>{if(F&&(null==k?void 0:k.description)){var e,t,l;return(null==(l=k.description.root)||null==(t=l.children[0])||null==(e=t.children[0])?void 0:e.text)||w}return w},[F,k,w]),z=(0,n.useMemo)(()=>{if(S.current&&JSON.stringify({file:G,image:B,title:V,description:U,tracks:H,playlist:I,custom:j})===JSON.stringify(S.current))return S.current;let e=B||(G?(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})(G):null)||x.src,t={file:G,image:e,title:V,description:U,tracks:H,custom:j};return S.current=t,t},[G,B,V,U,H,I,j]),Y=(0,n.useMemo)(()=>{var e,t,l,a;let n=[];return I&&(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})(I,z)||[]),A&&A.length,F&&(null==k||null==(e=k.content)?void 0:e.playlists)&&Array.isArray(null==k||null==(t=k.content)?void 0:t.playlists)&&(null==k||null==(a=k.content)||null==(l=a.playlists)||l.length),n.length>0?n:[z]},[I,z,A,k,F]);if((0,n.useEffect)(()=>{C.current=!0},[Y]),T&&"string"==typeof T&&!O&&!W)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(W)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(!G)return null;let Z=[...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:C,user:L,trackVideoEvent:P,isMobile:D})}}});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(u.DebugCollector,{componentName:"VideoBlock",data:{props:{file:l,image:y,title:N,description:w,tracksCount:(0,m.J)(H),hasPlaylist:!!I&&I.length>0,custom:j},state:{videoObject:z,playlistItems:Y.length,isFirstPlay:C.current,events:Z.map(e=>e.eventName)},performance:{}}}),(0,a.jsx)("div",{className:"overflow-hidden rounded-lg",children:(0,a.jsx)(i.h,{playlist:Y,events:Z},R)}),(null==_?void 0:_.showDescriptions)&&(0,a.jsx)("p",{...E,className:(0,h.cn)("my-2 text-sm",null==E?void 0:E.className),children:z.title})]})},N=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:()=>o});var a=l(97839),n=l(55990),r=l(92071),i=l(13235),s=l(15315);let o=()=>{let e=(0,n.N)(),t=(0,s.A)(),l=(0,r.usePathname)();return(0,a.useCallback)(a=>{var n,r,s,o,d,c;let{eventName:u,eventAttributes:m={}}=a;if(!(null==(r=window.mParticle)||null==(n=r.isInitialized)?void 0:n.call(r)))return void console.warn("MParticle is not initialized");let h={...m,author:(null==t?void 0:t.author)||"",contentId:(null==t?void 0:t.contentId)||m.contentId,...e,url:l?(0,i.EY)(l):""};try{null==(c=window.mParticle)||null==(d=c.logEvent)||d.call(c,u,null==(o=window.mParticle)||null==(s=o.EventType)?void 0:s.Other,h),console.debug('MParticle: Video Event tracked - "'.concat(u,'"'),h)}catch(e){console.error('MParticle: Failed to track Video Event - "'.concat(u,'"'),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:v,imageAttributes:x}=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:v,...x}),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 v="internal"===n&&(e=>"object"==typeof e&&null!==e&&"url"in e)(s),x=v?(null==s?void 0:s.url)||"":d||"",f=v?(null==s||null==(t=s.seo)?void 0:t.altText)||"":u||"",g="",y="";(null==c?void 0:c.showCaption)&&((!v||(null==c?void 0:c.useImageCaption))&&"external"!==n?v&&(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 N=(0,a.jsx)(o,{src:x,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:N}):N},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:v,showShortDayperiod:x,weekday:f}=e;if(!u)return"";let{cDate:g,cTimeZone:y}=(0,a.r)({date:u,locale:m,timeZone:h}),N={hour:"numeric",hour12:!0,timeZone:y};f&&(N.weekday=f),p&&(N.minute="2-digit"),"en-US"!==m&&"es-US"!==m&&(delete N.hour12,N.minute="2-digit",N.hourCycle="h23"),v&&(N.timeZoneName="short");let w=new Intl.DateTimeFormat(m,N);if(m.includes("-US")){let e=w.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=x?"".concat(null==c?void 0:c[0]," "):" ".concat(c," "),h=v?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(x){let e=w.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=v?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 w.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={}))},16977:(e,t,l)=>{"use strict";l.r(t),l.d(t,{CurrentConditionsBlock:()=>X,default:()=>$});var a=l(66695),n=l(97839),r=l(38051),i=l(77144),s=l(51880),o=l(98956),d=l(62974),c=l(67529),u=l(75118),m=l(81402),h=l(3650),p=l(69266),v=l(21864),x=l(73237),f=l(64070);let g=e=>{let{direction:t="horizontal",height:l,width:r,textVariant:i="Display.L",textColor:s="inverse",transitionDuration:o="500ms",translateDistance:d,children:c,className:u,transitionClassName:m}=e,[h,p]=(0,n.useState)(!1);(0,n.useEffect)(()=>{h||setTimeout(()=>{p(!0)},0)},[h]);let v="horizontal"===t?"translateX":"translateY";return(0,a.jsx)(x.Ay,{elementType:"div",className:(0,f.cn)("w-max overflow-hidden",u),variant:i,color:s,style:{height:l,width:r},children:(0,a.jsx)("span",{className:(0,f.cn)("transform: flex transition-transform",m),style:{transitionDuration:o,flexDirection:"horizontal"===t?"row":"column",transform:h?"".concat(v,"(-").concat(d,")"):"".concat(v,"(0px)")},children:c})})};var y=l(60838);let N="https://s.w-x.co/WeatherImages_Web/WeatherImage_",w=[320,480,640,800],b=[{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}],I={"--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 _=function(){let{iconCode:e=44}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=b.find(t=>{var l,a;return null==t||null==(a=t.iconCodes)||null==(l=a.includes)?void 0:l.call(a,e)}),l=b.find(e=>(null==e?void 0:e.name)==="Unknown");return t||l},E=function(){let{width:e=320}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return w.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"})]})}),C=n.forwardRef((e,t)=>(0,a.jsx)(A.h,{ref:t,icon:R,...e}));C.displayName="UserInsight";var S=l(4901),L=l(20108),D=l(9710),M=l(62754),O=l(69896),W=l(74249),P=l(20486);let H=(0,n.memo)(e=>{var t;let{className:l,relativeHumidity:n,roundValue:r}=e,i=(t=n){let{className:t,airQualityIndex:l,airQualityCategory:n,separator:r="parenthesis"}=e;return Number.isNaN(l)||!n?"--":(0,a.jsxs)("span",{"data-testid":"AirQualityValue",className:(0,f.cn)(t),children:[(0,a.jsx)("span",{children:l}),"parenthesis"===r&&(0,a.jsx)("span",{children:" (".concat(n,")")}),"dash"===r&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{children:" - "}),(0,a.jsxs)("span",{children:[" ",n]})]})]})});var k=l(98792);let G=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=_({iconCode:e}),n=null==a?void 0:a["".concat(t,"Variants")];if(!n||l>n)return a=_({iconCode:44}),"".concat(N).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(N).concat(a.name,"-").concat(t).concat(i,".jpg")}({iconCode:e,dayPart:t,variant:l}),width:E({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(I).find(t=>I[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)(U,{location:t}):!s&&l&&n?(0,a.jsx)(B,{location:t,weatherData:l,forecastData:n,insightData:r,weatherBackgroundSrc:d,weatherBackgroundVarColor:c}):(0,a.jsx)(V,{location:t,error:s}):(0,a.jsx)(U,{message:o("loadingLocation")})},B=e=>{let{location:t,weatherData:l,forecastData:n,insightData:r,weatherBackgroundSrc:i,weatherBackgroundVarColor:s}=e,{user:o}=(0,S.J)(),d=(0,T.c3)("CurrentConditions"),c=(0,L.md)(D.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)(v.A,{location:t,showSubheadline:!0,headlineClassName:"normal-case"})})})]})})},U=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)(v.A,{location:t,showSubheadline:!0,headlineClassName:"normal-case"})})})]})})};var z=l(98660),Y=l(92071);let Z=e=>{let{location:t}=e,{effectiveLocation:l,isLocationLoading:n,locationError:v}=(0,i.s)({location:t}),{weatherData:x,forecastData:f,insightData:g,isLoading:y,error:N}=function(e){var t,l,a,n,i,v,x,f,g,y,N,w,b;let I=(0,Y.useParams)(),j=null==I?void 0:I.locale,_=(0,L.md)(W.Yt),E=null==(t=(0,O.xP)(_))?void 0:t.code,{data:T,error:A,isLoading:R}=(0,r.Ay)(e?["observations",e.geocode,E]:null,e=>{let[t,l,a]=e;return(0,o.z)({geocode:l,units:a,language:j})},{revalidateOnFocus:!1,dedupingInterval:6e4}),{data:C,error:S,isLoading:D}=(0,r.Ay)(e?["daily-forecast",e.geocode,E]:null,t=>{let[l,a,n]=t;return e?(0,d.v1)({geocode:a,units:n,language:j}):null},{revalidateOnFocus:!1,dedupingInterval:6e4}),M=(null==j||null==(a=j.split)||null==(l=a.call(j,"-"))?void 0:l[1])||"US",{data:P,error:H,isLoading:F}=(0,r.Ay)(e?["hourly-airquality",e.geocode]:null,t=>{let[l,a]=t;return e?(0,c.g)({geocode:a,language:j,scale:(0,u.o)({countryCode:M}),duration:h.AirQualityForecastDuration.TWELVE_HOUR}):null},{revalidateOnFocus:!1,dedupingInterval:6e4}),{data:k,isLoading:G,error:B}=(0,s.r)({key:"current-conditions-insight",geoCode:null!=(y=null==e?void 0:e.geocode)?y:null,insightType:p.InsightType.PRECIP_INSIGHT,locale:j}),V=T?{airQualityIndex:null==P||null==(n=P.forecast[0])?void 0:n.airQualityIndex,airQualityCategory:null!=(N=null==P||null==(i=P.forecast[0])?void 0:i.airQualityCategory)?N:"",temperature:T.temperature,temperatureFeelsLike:T.temperatureFeelsLike,wxPhraseLong:T.wxPhraseLong,iconName:m.ICON_CODE_MAP[T.iconCode]||"na",iconCode:T.iconCode,validTimeLocal:T.validTimeLocal,relativeHumidity:T.relativeHumidity,windSpeed:T.windSpeed,windDirectionCardinal:T.windDirectionCardinal,dayOrNight:T.dayOrNight}:void 0,U=C&&C.length>0?{temperatureMax:null!=(w=null==(v=C[0])?void 0:v.calendarDayTemperatureMax)?w:0,temperatureMin:null!=(b=null==(x=C[0])?void 0:x.calendarDayTemperatureMin)?b:0}:void 0;return{weatherData:V,forecastData:U,insightData:k&&(null==k?void 0:k.length)>0?{insightText:(null==(g=k[0])||null==(f=g.insightText)?void 0:f[0])||""}:void 0,isLoading:R||D||G||F,error:A||S||B||H}}(l),w=y||n,b=N||v;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(z.DebugCollector,{componentName:"CurrentConditions",data:{props:{location:t},state:{effectiveLocation:l,isLocationLoading:n,isLoading:w,weatherData:x,forecastData:f,error:b,componentState:b&&"error"||w&&"loading"||"ready"},performance:{renderCount:void 0}}}),(0,a.jsx)(G,{location:l,weatherData:x,insightData:g,forecastData:f,isLoading:w,error:b})]})};var q=l(3071),Q=l(67847);let X=e=>{let{locationProvider:t,locationEntry:l}=e,n="specified"===t,{specifiedLocationData:r,specifiedLocationError:i,isSpecifiedLocationLoading:s}=(0,q.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)(Z,{location:(0,Q.I)(r)}):n?null:(0,a.jsx)(Z,{})},$=X},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 v=l(68772),x=l(73237),f=l(6180);let g=e=>{let{location:t,className:l,headlineClassName:h,showSubheadline:g=!1}=e,y=(0,c.useParams)(),N=null==y?void 0:y.locale,w=(0,v.c3)("AlertHeadlines"),{data:b,error:I,isLoading:j}=(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:N})},{revalidateOnFocus:!1,dedupingInterval:6e4}),_=(null==b?void 0:b.alerts)&&b.alerts.length>0?b.alerts[0]:null,E=_?(()=>{if(!_)return null;let{productIdentifier:e,phenomena:t,significance:l}=_;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,T=_?(0,r.F)({productIdentifier:_.productIdentifier,phenomena:_.phenomena,significance:_.significance}):null,A=_?(0,i.t)({productIdentifier:_.productIdentifier,phenomena:_.phenomena,significance:_.significance}):null;if(j||I||!_)return null;let R=_.effectiveTimeLocalTimeZone||_.endTimeLocalTimeZone||"",C=(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:_.effectiveTimeLocal,endTimeLocal:_.endTimeLocal}),S=(0,f.k)({phenomena:_.phenomena,significance:_.significance,areaId:_.areaId,officeCode:_.officeCode,eventTrackingNumber:_.eventTrackingNumber,locId:(null==t?void 0:t.placeId)||""});return(0,a.jsxs)("a",{href:S,className:(0,u.cn)("flex items-center gap-4 rounded-sm px-2 py-2 text-sm",l),style:{backgroundColor:null==E?void 0:E.backgroundColor,color:null==E?void 0:E.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:[_&&(0,a.jsx)(s.AlertIcon,{productIdentifier:_.productIdentifier,phenomena:_.phenomena,significance:_.significance,className:"h-4 w-4 items-start","aria-hidden":"true"}),(0,a.jsx)("span",{className:(0,u.cn)("uppercase",h),children:_.eventDescription})]}),g&&(0,a.jsx)(x.Ay,{className:"mt-1 uppercase",variant:"Caption.S.Bold",color:"inverse",children:w(C,{[(null==_?void 0:_.effectiveTimeLocal)&&"startTime"]:(0,m.P)({date:_.effectiveTimeLocal,weekday:"short",locale:N,timeZone:_.ianaTimeZone,minutes:!0}),[(null==_?void 0:_.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:_.effectiveTimeLocal||"",endTimeLocal:_.endTimeLocal||"",locale:N,ianaTimeZone:_.ianaTimeZone||""}),timeZone:R})})]}),b&&b.alerts.length>1&&(0,a.jsxs)(d.$n,{variant:"outline",size:"sm",style:{backgroundColor:null==E?void 0:E.buttonBackgroundColor,...1===T||A?{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(b.alerts.length-1," more alerts"),children:["+",b.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(67847),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-[101]",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:v="",sticky:x=!1}=e,{user:f}=(0,o.J)(),{isUserPremium:g}=f,[y,N]=(0,n.useState)({loaded:!1,height:p,displayAd:!1}),w=(0,n.useRef)(null),b=(0,n.useRef)(!1),I=(0,n.useRef)({resize:null,adFrameMutation:null,adCreativeMutation:null}),j=(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,x),[t,l,y.displayAd,x]),_=(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]),E=(0,n.useCallback)(e=>{for(let t of e){let e=t.contentRect.height;e>0&&N(t=>({...t,height:"".concat(e+10,"px"),loaded:!0}))}},[]),T=(0,n.useCallback)(e=>{let t=e.some(e=>"childList"===e.type&&e.addedNodes.length>0);N(e=>({...e,displayAd:t}))},[]),A=(0,n.useCallback)(e=>{let t=w.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=I.current.resize)||l.observe(t),null==(a=I.current.adCreativeMutation)||a.observe(t,{childList:!0,subtree:!0}),N(e=>({...e,loaded:!0})),null==(n=I.current.adFrameMutation)||n.disconnect()}},[]);return((0,n.useEffect)(()=>{N({loaded:!1,height:p,displayAd:!1});let e=new ResizeObserver(E),t=new MutationObserver(T),l=new MutationObserver(A);I.current={resize:e,adCreativeMutation:t,adFrameMutation:l};let a=w.current;return a&&l.observe(a,{childList:!0,subtree:!0}),()=>{e.disconnect(),l.disconnect(),t.disconnect()}},[T,t,p,E,A]),(0,n.useEffect)(()=>{m(t)&&!b.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),b.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:v},state:{loaded:y.loaded,height:y.height,displayAd:y.displayAd},performance:{renderTime:Date.now()}}}),(0,a.jsxs)("div",{className:(0,i.cn)(j,v),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:_,style:{height:y.loaded?"100%":"0px"},ref:w})]}),"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),v=l(89010);let x=(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)(v.h,{ref:t,icon:x,...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)(v.h,{ref:t,icon:g,...e}));y.displayName="Snowflake";let N=(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"})]})]})}),w=n.forwardRef((e,t)=>(0,a.jsx)(v.h,{ref:t,icon:N,...e}));w.displayName="RainDrop";let b=(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"})]})]})}),I=n.forwardRef((e,t)=>(0,a.jsx)(v.h,{ref:t,icon:b,...e}));I.displayName="FeelsLike";var j=l(94975),_=l(70918),E=l(59092),T=l(13664);let A=(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"})]})}),R=n.forwardRef((e,t)=>(0,a.jsx)(v.h,{ref:t,icon:A,...e}));R.displayName="CloudCover";var C=l(4591);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 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"})]})}),L=n.forwardRef((e,t)=>(0,a.jsx)(v.h,{ref:t,icon:S,...e}));L.displayName="WindGust";var D=l(27430),M=l(69896),O=l(98792),W=l(62754),P=l(20486),H=l(55904),F=l(35150),k=l(8284),G=l(64070);let B=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,v=d?(0,M.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 x=null==v?void 0:v[l];return(0,a.jsxs)("span",{"data-testid":"AccumulationValue",className:(0,G.cn)(u),children:[(0,a.jsx)("span",{children:t})," ",(0,a.jsx)("span",{className:(0,G.cn)(m),children:c||x})]})},V=e=>!(0,h.g)(e)||null,U={derive:e=>{let{precipType:t}=e;return"precip"===t?f:"snow"===t?y:w}},z={temperatureFeelsLike:{label:(e,t)=>{let{t:l}=t;return l("feelsLike")},icon:I,value:e=>{let{temperatureFeelsLike:t}=e;return V(t)&&(0,a.jsx)(O.B,{value:t})}},windSpeed:{label:(e,t)=>{let{t:l}=t;return l("wind")},icon:j.Z,value:(e,t)=>{let{windSpeed:l,windDirectionCardinal:n}=e,{unitName:r}=t,i=(0,M.xP)(r);return V(l)&&(0,a.jsx)(W.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)(P.N,{value:t})}},relativeHumidity:{label:(e,t)=>{let{t:l}=t;return l("humidity")},icon:_.K,value:e=>{let{relativeHumidity:t}=e;return V(t)&&(0,a.jsx)(P.N,{value:t})}},pressureMeanSeaLevel:{label:(e,t)=>{let{t:l}=t;return l("pressure")},icon:E.S,value:e=>{let{pressureMeanSeaLevel:t}=e;return V(t)&&(0,a.jsx)(H.S,{pressureMeanSeaLevel:t})}},visibility:{label:(e,t)=>{let{t:l}=t;return l("visibility")},icon:D.S,value:(e,t)=>{let{visibility:l}=e,{unitName:n}=t;return V(l)&&(0,a.jsx)(F.b,{visibility:l,units:(0,M.xP)(n).code})}},uvIndex:{label:(e,t)=>{let{t:l}=t;return l("uvIndex")},icon:T.o,value:e=>{let{uvIndex:t}=e;return V(t)&&(0,a.jsx)(k.M,{uvIndex:t})}},cloudCover:{label:(e,t)=>{let{t:l}=t;return l("cloudCover")},icon:R,value:e=>{let{cloudCover:t}=e;return V(t)&&(0,a.jsx)(P.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)(B,{precipType:r,qpf:l,qpfSnow:n,units:(0,M.xP)(i).code}):null}},temperatureDewPoint:{label:(e,t)=>{let{t:l}=t;return l("dewPoint")},icon:C.$,value:e=>{let{temperatureDewPoint:t}=e;return V(t)&&(0,a.jsx)(O.B,{value:t})}},windGust:{label:(e,t)=>{let{t:l}=t;return l("windGust")},icon:L,value:(e,t)=>{let{windGust:l}=e,{unitName:n}=t;return(0,a.jsx)(W.Z,{windSpeed:l,units:(0,M.xP)(n).code})}}},Y=(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)]"}}}),Z=(0,n.memo)(e=>{let{dataPoints:t,fields:l,columns:i}=e,{small:h=2,medium:p=3,large:v=4}=i||{},[x,f]=(0,u.r)(e=>e>=m.c["@xl"]?v:e>=m.c["@xs"]?p:h),g=x||p,y=(0,s.c3)("DetailsTable"),N={unitName:(0,r.md)(c.Yt),t:y},w=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:Y({cols:g}),children:l.map((e,l)=>{let r=z[e],i=null==r?void 0:r.value(t,N);if(!r||!i)return w++,null;let s="derive"in r.icon?r.icon.derive(t,N):r.icon,o="function"==typeof r.label?r.label(t,N):r.label,c=l-w;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 q=l(16186),Q=l(31181);let X=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,G.cn)(r,s),children:[l&&(0,a.jsx)(w,{className:(0,G.cn)("size-4",i)}),(0,a.jsx)(P.N,{value:t,className:"align-middle"})]}),("progress"===n||"both"===n)&&(0,a.jsxs)("div",{className:(0,G.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,G.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)(w,{className:(0,G.cn)("size-3.25",i)}),(0,a.jsx)(P.N,{value:t,className:"text-sm"})]})]})]})};var $=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,M.xP)(m),p=0===i;return(0,a.jsxs)(Q.As,{value:t.validTimeLocal,className:"@container/hourItem border-grey-500 gap-2 border-b py-3",children:[(0,a.jsx)(Q.$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,G.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,q.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)(O.B,{value:t.temperature})})}),(0,a.jsxs)("div",{className:"relative flex h-6 items-center",children:[(0,a.jsx)($.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,G.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)(X,{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)(P.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)(W.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)(B,{precipType:t.precipType,qpf:t.qpf,qpfSnow:t.qpfSnow,units:h.code})})]})]})}),(0,a.jsx)(Q.ub,{className:"@md/hourItem:pt-4 pt-2",children:(0,a.jsx)(Z,{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,v=p.code,x=(0,u.Zs)(),f="KR"===x,g=f&&(null==e?void 0:e.countryCode)==="KR",{data:y,isLoading:N}=(0,o.Ay)(e&&g?["get-hourly-forecast",e.geocode,v,t,f?x: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:w,isLoading:b}=(0,o.Ay)(e&&!g?["get-fifteen-minute-forecast",e.geocode,v,t]:null,e=>{let[t,l,a,n]=e;return(0,c.FA)({geocode:l,units:a,language:n})},h),I=g?y:w,j=(0,a.useMemo)(()=>(0,u.gS)(I,g),[I,g]),_=(0,a.useMemo)(()=>(0,u.nE)(I,p,j,g)||[],[I,g,j,p]),E=(0,a.useMemo)(()=>(0,u.xZ)(_),[_]),{loadingInsight:T,insightHeadline:A,insightTextLong:R}=(0,m.p)(e,t);return{loadingForecast:N||b,chartData:_,hasChartData:E,loadingInsight:T,insightHeadline:A,insightTextLong:R}}},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,v,x,f,g,y,N,w,b,I,j,_,E,T,A,R,C,S,L,D,M,O,W,P,H,F,k;let G=t||e.getPlaylistItem();return{adBlock:e.getAdBlock(),adsMetricsUnitAndZone:null==G||null==(r=G.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!=(F=null==G||null==(o=G.custom)||null==(s=o.ctx)?void 0:s.assetName)?F:""),collection:null==G||null==(c=G.custom)||null==(d=c.ctx)?void 0:d.pcollid,collectionId:null==G||null==(m=G.custom)||null==(u=m.ctx)?void 0:u.pcollid,contentId:null==G||null==(p=G.custom)||null==(h=p.ctx)?void 0:h.id,entitlements:(0,n.X)(null!=(k=null==G||null==(x=G.custom)||null==(v=x.ctx)?void 0:v.entitlements)?k:[]),iabContent:(0,a.IA)((null==G||null==(g=G.custom)||null==(f=g.ctx)?void 0:f.iab)||{}),id:null==G||null==(N=G.custom)||null==(y=N.ctx)?void 0:y.id,duration:null==G||null==(b=G.custom)||null==(w=b.ctx)?void 0:w.duration,lastmodifieddate:null==G||null==(_=G.custom)||null==(j=_.ctx)||null==(I=j.lastmodifieddate)?void 0:I.toString(),muted:e.getMute(),premiumContent:null==G||null==(T=G.custom)||null==(E=T.ctx)?void 0:E.premium,publishdate:null==G||null==(C=G.custom)||null==(R=C.ctx)||null==(A=R.publishdate)?void 0:A.toString(),providerName:null==G||null==(L=G.custom)||null==(S=L.ctx)?void 0:S.providername,tagsGeo:(0,n.X)(null==G||null==(M=G.custom)||null==(D=M.ctx)?void 0:D.tagsGeo),tagsKeyword:(0,n.X)(null==G||null==(W=G.custom)||null==(O=W.ctx)?void 0:O.tagsKeyword),tagsStorm:(0,n.X)(null==G||null==(H=G.custom)||null==(P=H.ctx)?void 0:P.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(67847),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)}})},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:()=>N});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 v=(0,a.h)("NewRelic");function x(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){v.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"]),N=[{eventName:"ready",callback:e=>{let{event:t}=e;x("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()),x("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)}x("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,v=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();x("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();x("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();x("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();x("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();x("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;x("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"}},47373:(e,t,l)=>{"use strict";l.r(t),l.d(t,{DailyForecastBlock:()=>w,default:()=>b});var a=l(66695);l(97839);var n=l(24765),r=l(62974),i=l(81402),s=l(38051),o=l(77144),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),v=l(69896),x=l(92071),f=l(60838);let g=e=>{var t;let{location:l}=e,c=(0,p.c3)("DailyForecast"),g=(0,x.useParams)(),y=null==g?void 0:g.locale,{value:N}=u("reorder-current-conditions-and-forecast","control"),{effectiveLocation:w,isLocationLoading:b}=(0,o.s)({location:l}),I=(0,m.md)(h.Yt),j=null==(t=(0,v.xP)(I))?void 0:t.code,{data:_,error:E,isLoading:T}=(0,s.Ay)(w?["daily-forecast",w.geocode,j]:null,e=>{let[t,l,a]=e;return w?(0,r.v1)({geocode:l,units:a,language:y,duration:i.ForecastDuration.THREE_DAY}):null},{revalidateOnFocus:!1,dedupingInterval:6e4}),A=[];if(_&&_[0]&&_[0].daypart){let e=_[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(3071),N=l(67847);let w=e=>{let{locationProvider:t,locationEntry:l}=e,{specifiedLocationData:n,specifiedLocationError:r,isSpecifiedLocationLoading:i}=(0,y.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,N.I)(n)}):"specified"!==t?(0,a.jsx)(g,{}):null},b=w},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:()=>z});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),v=l(64070);function x(e){let{className:t,...l}=e;return(0,a.jsx)(h.uB,{"data-slot":"command",className:(0,v.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,v.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,v.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,v.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 N(e){let{className:t,...l}=e;return(0,a.jsx)(h.uB.Item,{"data-slot":"command-item",className:(0,v.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(4387);var w=l(32370),b=l(92071);function I(e){var t;let{label:l,placeholder:r,className:s,location:h,onChangeLocation:p}=e,I=(0,b.useParams)(),j=null==I?void 0:I.locale,[_,E]=(0,n.useState)(!1),[T,A]=(0,n.useState)(""),{isLoading:R,data:C}=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)(T,300),j);return(0,a.jsxs)(m.AM,{open:_,onOpenChange:E,children:[(0,a.jsx)(m.Wv,{asChild:!0,children:(0,a.jsxs)(o.$n,{variant:"outline",role:"combobox",className:(0,v.cn)("text-muted-foreground flex w-full text-nowrap bg-white px-2",s),children:[(0,a.jsx)("div",{children:R?(0,a.jsx)(i.A,{className:"animate-spin"}):(0,a.jsx)(w.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)(x,{shouldFilter:!1,children:[(0,a.jsx)(f,{placeholder:r,value:T,onValueChange:A}),(0,a.jsx)(g,{children:(0,a.jsx)(y,{children:null==C?void 0:C.map(e=>(0,a.jsx)(N,{value:e.locId,onSelect:()=>{null==p||p(e),E(!1)},children:e.address},e.locId))})})]})})]})}var j=l(54720);function _(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)(j.p,{...r,className:l?"".concat(n," border-red-500"):n})]})}var E=l(88504);let T={"{{terms}}":{text:"Terms",url:"https://".concat("weather.com","/legal")},"{{privacy}}":{text:"Privacy Policy",url:"https://".concat("weather.com","/en-US/twc/privacy-policy")}},A=/\{\{(.*?)\}\}/g;function R(){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(A).map((e,t)=>{let l=T["{{".concat(e,"}}")];return l?(0,a.jsx)(E.default,{href:l.url,className:"underline",children:l.text},t):(0,a.jsx)("span",{children:e},t)})})}let C={src:"/_next/static/media/morning-brief-logo.73126316.svg"},S={src:"/_next/static/media/ellipse.b0c8befa.png"};var L=l(82212),D=l(77339),M=l(36489),O=l(20108),W=l(21669);let P=(0,l(99842).tG)("emailPreferences",null,void 0,{getOnInit:!0});var H=l(4901),F=l(89834);let k=()=>{let[e,t]=(0,O.fp)(P),{user:l}=(0,H.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:F.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,W.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 G(e,t){let{arg:l}=t,{email:a,location:n,locale:r,isAnonymous:i}=l,{location:s}=await (0,M.$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,D.p_)(o).then(e=>({...e,sentSubscriptions:o.subscriptions}))}var B=l(36697),V=l(4792);let U=()=>{var e,t;let l=(0,b.useParams)(),d=(0,b.useSearchParams)(),c=null==l?void 0:l.locale,{userProfile:u}=(0,H.J)(),[m,h]=(0,n.useState)(null!=(e=null==u?void 0:u.email)?e:""),[p,v]=(0,n.useState)(null),[x,f]=(0,n.useState)(!1),{data:g,loading:y,onSubmit:N,error:w}=function(){let{updateSubscriptions:e}=k(),{isMutating:t,trigger:l,data:a,error:r,reset:i}=(0,L.A)("newsletter/signup/daily-newsletters-1",(e,t)=>G("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}}(),j=d.get("cm_ven"),E=null==j?void 0:j.startsWith("dnt_newsletter"),{subscriptions:T}=k(),A=(0,n.useMemo)(()=>(0,V.C)(T,F.rn),[T]),D=(0,n.useCallback)(async e=>{e.preventDefault(),!y&&m.trim()&&p&&(f(!0),await N({email:m,location:p,locale:c,isAnonymous:!(null==u?void 0:u.email)}))},[N,m,p,c,y,null==u?void 0:u.email]);return!x&&(null==A?void 0:A.isSubscribed)||E?null:(0,a.jsxs)("div",{style:{backgroundImage:'url("'.concat(S.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)(B.A,{src:C.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:D,className:"flex flex-1 flex-col items-end gap-4 pt-4 lg:flex-row",children:[(0,a.jsx)(_,{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)(I,{label:"Forecast Location",placeholder:"Search City or Zip Code",className:"h-12 items-center text-sm",location:p,onChangeLocation:v}),(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"})]})})]}),w&&(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)(R,{})]})};U.displayName="MorningBriefBlock";let z=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(77144),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:v}=(0,s.A)(c,d),x=u||!c||m;return(0,n.jsx)(o.A,{location:c,locale:d,onlyChart:a,isLoading:x,chartData:h,hasChartData:p,insightTextLong:v})};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 v="not-prose mx-auto w-full max-w-5xl",x=p.slice(0,Number(l));if(x.every(e=>"image"===e.contentType)){let e=x.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:v,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",v),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:x.map(e=>{var t,l;let n=e.overrideTitle||e.title,r=e.overrideThumbnail||e.thumbnail||"/placeholder.svg",i=(null==(t=e.url)?void 0:t.includes("video"))||!1,o=(null==(l=e.category)?void 0:l.title)||"Weather News";return(0,a.jsx)(s.S,{heading:h?o:void 0,description:n,href:e.url,imageUrl:r,showIcon:i,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})]}):"--"})}},58970:(e,t,l)=>{"use strict";l.r(t),l.d(t,{BlueskyBlock:()=>d,default:()=>c});var a=l(66695),n=l(97839);let r=(0,l(80917).h)("payload:Bluesky:OEmbed");function i(e){try{if(e.startsWith("at://")){let t=e.match(/^at:\/\/([^/]+)\/app\.bsky\.feed\.post\/([^/?#]+)/);if(t){let e=t[1],l=t[2];if(e&&l)return{handle:e,postId:l}}return null}let t=new URL(e).pathname.split("/");if(t.length>=5&&"profile"===t[1]&&"post"===t[3]){let e=t[2],l=t[4];if(e&&l)return{handle:e,postId:l}}return null}catch(e){return null}}async function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{let l=i(e);if(!l)return{error:"invalid_url",message:"Invalid Bluesky URL format"};let a=new URL("https://embed.bsky.app/oembed");a.searchParams.set("url",e),r.debug("Fetching Bluesky oEmbed",{url:e,parsedUrl:l,options:t}),t.maxWidth&&a.searchParams.set("maxwidth",t.maxWidth.toString()),t.maxHeight&&a.searchParams.set("maxheight",t.maxHeight.toString());let n=await fetch(a.toString(),{method:"GET",headers:{Accept:"application/json","User-Agent":"wx-next/1.0"}});if(!n.ok)return{error:"api_error",message:"Bluesky API returned ".concat(n.status,": ").concat(n.statusText)};let s=await n.json();if("rich"!==s.type||!s.html)return{error:"invalid_response",message:"Invalid oEmbed response from Bluesky"};return s}catch(e){return{error:"fetch_error",message:e instanceof Error?e.message:"Unknown error occurred"}}}function o(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],l=i(e),a=l?"@".concat(l.handle):"Bluesky User";return'\n
\n
\n \n \n \n Bluesky Post\n
\n
\n Post by '.concat(a,'\n
\n
\n \n View on Bluesky →\n \n
\n ').concat(t?'
Thread view enabled
':"","\n
\n ")}let d=e=>{let{entryMethod:t,blueskyURL:l,postId:r,showThread:i=!1}=e,d=(0,n.useRef)(null),[c,u]=(0,n.useState)(!0),[m,h]=(0,n.useState)(null),p=(0,n.useCallback)(()=>"id"===t&&r?null:"url"===t&&l?l:null,[t,r,l]);return((0,n.useEffect)(()=>{(async()=>{let e=p();if(!e){h("No valid Bluesky URL provided"),u(!1);return}if(d.current){u(!0),h(null);try{let t=await s(e,{maxWidth:550,showThread:i});"error"in t?(console.warn("Bluesky oEmbed error:",t),d.current.innerHTML=o(e,i)):d.current.innerHTML=t.html}catch(t){console.error("Failed to load Bluesky embed:",t),d.current.innerHTML=o(e,i)}finally{u(!1)}}})()},[p,i]),c)?(0,a.jsx)("div",{className:"bluesky-embed-loading",style:{border:"1px solid #e1e8ed",borderRadius:"12px",padding:"16px",margin:"16px 0",maxWidth:"550px",background:"#f8f9fa",textAlign:"center"},children:(0,a.jsx)("div",{style:{color:"#536471"},children:"Loading Bluesky post..."})}):m?(0,a.jsxs)("div",{className:"bluesky-embed-error",style:{border:"1px solid #ff6b6b",borderRadius:"12px",padding:"16px",margin:"16px 0",maxWidth:"550px",background:"#fff5f5"},children:[(0,a.jsx)("div",{style:{color:"#d63031",fontWeight:"bold",marginBottom:"8px"},children:"Bluesky Embed Error"}),(0,a.jsx)("div",{style:{color:"#636e72"},children:m})]}):(0,a.jsx)("div",{className:"bluesky-embed-container",ref:d})},c=d},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:()=>A});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 v=l(71409),x=l(60810),f=l(79392),g=l(1337),y=l(54872),N=l(47698),w=l(18020),b=l(78931),I=l(49866),j=l(89274),_=e([I]);I=(_.then?(await _)():_)[0];let E={up:v.D,down:x.y,sun:f.s,cloud:g.T,rain:y.c,clear:f.s,"clear-night":N.c,fair:w.W},T=e=>{let{location:t,locale:l}=e,{insightTextLong:a}=(0,j.p)(t,l);return a?(0,n.jsx)(b.Ay,{className:"px-4 py-2",headlineClass:"hidden",textClass:"text-sm m-0",insightTextLong:a}):null},A=e=>{let{location:t,hourlyForecast:l,isLoading:a,error:v,locale:x,showDayLabel:f,canToggleMultipleItems:g,ctaLink:y,ctaText:N,enableAlertHeadlines:w,insight:b,insightIcon:j,showPrecipIntensity:_}=e,A=(0,c.c3)("HourlyForecast"),[R,C]=(0,r.useState)(!1),S=j&&E[j];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:A("hourlyWeather")}),b&&(0,n.jsxs)("div",{className:"mb-4 flex items-center gap-1",children:[S&&(0,n.jsx)("div",{children:(0,n.jsx)(S,{className:"text-brand-light size-5"})}),(0,n.jsx)(i.Ay,{variant:"Body.S.Bold",color:"brandLight",children:b})]})]}),(0,n.jsxs)(d.Wu,{className:"p-0",children:[w&&(0,n.jsx)("div",{children:(0,n.jsx)(h.A,{location:t,className:"@lg/hourly:min-w-59 mx-4 mb-3 inline-flex"})}),_&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(T,{location:t,locale:x}),(0,n.jsx)("div",{className:"px-4 py-2",children:(0,n.jsx)(I.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:A("locationLoading")});if(a)return(0,n.jsx)("div",{className:"".concat(c," animate-pulse text-xl"),children:A("loadingForecast")});if(v||0===l.length)return(0,n.jsx)("div",{className:"".concat(c," text-xl text-red-500"),children:(null==v?void 0:v.message)||A("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!R&&e.wxPhraseLong.length>15&&C(!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:x,timeZone:t.ianaTimeZone})}),(0,n.jsx)(u.A,{itemIndex:a,forecast:e,location:t,locale:x,longPhraseInSet:R})]},e.validTimeLocal)})}),y&&N&&(0,n.jsx)("div",{className:"pt-6",children:(0,n.jsx)(s.$n,{asChild:!0,children:(0,n.jsx)(o.default,{href:y,children:N})})})]})})()]})]})};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:v,cardinalClassName:x,iconAfterSpeed:f,cardinalBeforeSpeed:g,spaceWindSpeedAndUnit:y=!0,displayWindDirectionIcon:N=!1,displayMode:w}=e;s=s&&(e=>c[e]||e)(s);let b=(0,a.jsx)(u,{windDirection:i,windDirectionCardinal:s,iconClassName:p,iconColor:v,displayWindDirectionIcon:N,displayMode:w,afterSpeed:f}),I=(0,a.jsx)(m,{windDirection:i,windDirectionCardinal:s,displayWindDirectionIcon:N,displayMode:w,beforeSpeed:g,cardinalClassName:x});return(0,a.jsxs)("span",{"data-testid":"Wind",className:(0,r.cn)(n),children:[!f&&b,g&&I,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&&I,f&&b]})})},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,v,x,f,g,y,N,w,b,I,j,_,E,T;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!=(v=e.moonsetTimeUtc)?v:0,narrative:null!=(x=e.narrative)?x:"",qpf:null!=(f=e.qpf)?f:0,qpfSnow:null!=(g=e.qpfSnow)?g:0,sunriseTimeLocal:null!=(y=e.sunriseTimeLocal)?y:"",sunriseTimeUtc:null!=(N=e.sunriseTimeUtc)?N:0,sunsetTimeLocal:null!=(w=e.sunsetTimeLocal)?w:"",sunsetTimeUtc:null!=(b=e.sunsetTimeUtc)?b:0,temperatureMax:null!=(I=e.temperatureMax)?I:null,temperatureMin:null!=(j=e.temperatureMin)?j:0,validTimeLocal:null!=(_=e.validTimeLocal)?_:"",validTimeUtc:null!=(E=e.validTimeUtc)?E:0,daypart:null!=(T=null==l||null==(a=l.daypart)?void 0:a[t])?T:{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:[]}}})},64263:(e,t,l)=>{"use strict";l.d(t,{j:()=>n,w:()=>r});var a=l(37811);let n=e=>{var t,l,n,r;let i,s=null==(t=null!=(l=a.env.VERCEL_TARGET_ENV)?l:"production")?void 0:t.toLowerCase();a.env.VERCEL_TARGET_ENV,"preview"!==s&&a.env.VERCEL_TARGET_ENV_URL;let o=null!=(n=a.env.VERCEL_URL)?n:"wx-next-q2vnvk0bd.vercel.weather.com",d=null!=(r=a.env.VERCEL_TARGET_ENV_URL)?r:"weather.com",c="true"===a.env.NEXT_DEV_SERVER_INSECURE||"true"===a.env.NEXT_PUBLIC_NEXT_DEV_SERVER_INSECURE;switch(s){case"preview":i="https://".concat(o);break;case"development":i=c?"http://".concat(d):"https://".concat(d);break;default:i="https://".concat(d)}return e?new URL(e,i).toString():i},r=e=>{var t,l;a.env.VERCEL_TARGET_ENV_PRODUCTION_URL;let n=null!=(t=a.env.VERCEL_TARGET_ENV_PRODUCTION_URL)?t:"weather.com",r=null!=(l=a.env.VERCEL_PROJECT_PRODUCTION_URL)?l:"wxnext.weather.com",i="https://".concat(null!=n?n:r);return e?new URL(e,i).toString():i}},65314:(e,t,l)=>{"use strict";l.a(e,async(e,a)=>{try{l.d(t,{A:()=>w});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),v=l(32584),x=l(69726);let{Chart:e,CategoryScale:f,LinearScale:g,BarController:y,BarElement:N}=await Promise.all([l.e(1584),l.e(4367)]).then(l.bind(l,59417));e.register(f,g,y,N);let w=(0,r.memo)(t=>{let{chartData:l,hasChartData:a,ianaTimeZone:f,locale:g,rootClass:y,rtl:N=!1,removeTransitionLines:w}=t,b=(0,i.c3)("PrecipIntensity"),I=(0,r.useRef)(null),j=(0,r.useRef)(null),[_,E]=(0,d.r)(e=>eN?[...l].reverse():l,[l,N]),A=(0,r.useMemo)(()=>(0,x.Hi)(l),[l]),R=(0,r.useMemo)(()=>{let e=Object.values(m.PrecipType),t=0;for(let l of e)A[l]&&t++;return t>1},[A]),C=(0,r.useMemo)(()=>{let e=T.map(e=>e.level),t=T.map(e=>{let{validTimeLocal:t}=e;return t}),l=T.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:b("chartTitle"),data:e,backgroundColor:l,borderWidth:0,maxBarThickness:_?4:8,categoryPercentage:1,stack:"stack1",borderRadius:12,borderSkipped:!1}]}},[_,T,b]),S=(0,r.useMemo)(()=>({responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!1},tooltip:{enabled:!1},transitionLines:{floatPoint:.5,transitionPoints:w?void 0:T.reduce((e,t,l)=>{var a;if(l>0&&t.level>0&&T[l-1]&&t.precipType!==(null==(a=T[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:_?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}):_?null:""}}},y:{stacked:!0,min:-.5,max:9,position:N?"right":"left",grid:{display:!1,drawBorder:!1},ticks:{count:10,autoSkip:!1,display:!0,crossAlign:"far",font:{size:_?12:14},callback:function(e,t){return 2===t?b("chartLight"):8===t?b("chartHeavy"):""}},border:{display:!1}}}}),[w,T,_,N,b,g,f]);return((0,r.useEffect)(()=>{var t;let l=null==(t=I.current)?void 0:t.getContext("2d");if(l&&e)return j.current=new e(l,{type:"bar",data:C,options:S,plugins:[h.rT,h.lV,h.os]}),()=>{var e;null==(e=j.current)||e.destroy()}},[C,S]),a)?(0,n.jsxs)("div",{ref:E,className:(0,s.cn)("@container/precipChart",y),dir:N?"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",N?"@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:I})}),R&&(0,n.jsx)(v.A,{rtl:N,legendTypes:A,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))}},67847:(e,t,l)=>{"use strict";l.d(t,{I:()=>r});var a=l(25977),n=l(23336);function r(e){return{displayName:e.location.displayName,adminDistrict:e.location.adminDistrict,geocode:(0,a.S)("".concat(e.location.latitude,",").concat(e.location.longitude)),placeId:e.location.placeId,city:e.location.city,countryCode:e.location.countryCode,adminDistrictCode:e.location.adminDistrictCode||"",presentationName:(0,n.LM)(e.location),ianaTimeZone:e.location.ianaTimeZone}}},68543:(e,t,l)=>{"use strict";l.r(t),l.d(t,{TaboolaBlock:()=>v,default:()=>x});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})},[])})})(),v=e=>{let{taboolaId:t,taboolaUiMode:l,placementName:c,targetType:u,title:m="",pageType:v,taboolaType:x,showTaboola:f=!0}=e,g=(0,n.useRef)(null),y=h(),[N,w]=(0,n.useState)("pending"),b=(0,r.usePathname)(),{isTaboolaLoaded:I}=(()=>{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}})(),j=y&&f,{pushTaboolaCommand:_}=p(),E=(0,n.useMemo)(()=>{let e=(0,i.j)();return"".concat(e).concat(b||"")},[b]),T="empty"!==N,A=(0,n.useMemo)(()=>{let e="taboola-below-content-thumbnails---video"===t||"taboola-below-content-thumbnails-video"===t;return{container:T?"generic"!==x?"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,x,T]);return((0,n.useEffect)(()=>{j&&I&&"pending"===N&&_({mode:l,container:t,placement:c,target_type:u},E,v)},[j,I,N,_,t,l,c,u,E,v]),(0,n.useEffect)(()=>{let e=g.current;if(!e||!j||!I)return;let t=new MutationObserver((t,l)=>{try{e.hasChildNodes()?(w("populated"),l.disconnect()):"pending"!==N&&(w("empty"),l.disconnect())}catch(e){console.warn("Error in TaboolaBlock content observer",e)}});return t.observe(e,{childList:!0}),e.hasChildNodes()&&(w("populated"),t.disconnect()),()=>t.disconnect()},[j,I,N]),j&&I)?"invisible"===x?(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:E,pageType:v,taboolaContentState:N,shouldShow:T}}}),"generic"===x?(0,a.jsxs)(d.Zp,{className:A.container,children:[m&&T&&(0,a.jsx)(d.aR,{className:A.headerContainer,children:(0,a.jsx)("h2",{className:A.header,children:m})}),(0,a.jsx)(d.Wu,{className:(0,o.cn)(A.contentContainer),children:(0,a.jsx)("div",{id:t,className:"bg-none",ref:g})})]}):(0,a.jsxs)("div",{className:A.container,children:[m&&T&&(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},x=v},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:()=>v});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),v=(e,t)=>{var l,v;let x=(0,r.md)(d.Yt),f=null==(l=(0,c.xP)(x))?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}),N=(0,a.useMemo)(()=>null==g?void 0:g.reduce((e,t)=>(e[t.insightType]=t,e),{}),[g]),{data:w=[],isLoading:b}=(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}),I=y||b,j=w[0],_=(0,a.useMemo)(()=>{var e,t,l,a,n,r;if(I)return"";let i=null==N||null==(t=N.significantWeatherTodayInsight)||null==(e=t.insightText)?void 0:e[0];if(i)return i;let s=null==j||null==(a=j.daypart)||null==(l=a.narrative)?void 0:l[0];if(s)return s.split(".")[0];let o=h[p]||h[0];return(null==N||null==(r=N[o])||null==(n=r.insightText)?void 0:n[0])||""},[I,N,null==j||null==(v=j.daypart)?void 0:v.narrative]);return(0,a.useMemo)(()=>{let e=(0,i.B)(_,[" ","."]),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}},[_])}},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})},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(77144),u=l(20108),m=l(74249),h=l(69896),p=l(92071),v=l(59677),x=l(73516),f=l(84972),g=e([v]);v=(g.then?(await g)():g)[0];let y=e=>{var t,l;let{location:a,simplifiedVersion:g}=e,y=(0,i.c3)("HourlyForecast"),{effectiveLocation:N,isLocationLoading:w}=(0,c.s)({location:a}),b=(0,u.md)(m.Yt),I=null==(t=(0,h.xP)(b))?void 0:t.code,j=g?d.HourlyForecastDuration.ONE_DAY:d.HourlyForecastDuration.THREE_DAY,_=null==(l=(0,p.useParams)())?void 0:l.locale,{data:E=[],error:T,isLoading:A}=(0,s.Ay)(N?["get-hourly-forecast",N.geocode,I,j,_]: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}),R=(0,r.useMemo)(()=>g?E.slice(0,f.h):E,[E,g]),{insight:C,insightIcon:S}=(0,x.j)(N,_),L=N?g?"/weather/hourbyhour/l/".concat(N.placeId):"/weather/tenday/l/".concat(N.placeId):"";return(0,n.jsx)(v.A,{location:N,hourlyForecast:R,locale:_,isLoading:A||w,error:T,showDayLabel:!g,canToggleMultipleItems:!g,ctaLink:L,ctaText:y(g?"next48":"10DayWeather"),enableAlertHeadlines:!g,insight:C,insightIcon:S,showPrecipIntensity:!g})};a()}catch(e){a(e)}})},81402:(e,t)=>{"use strict";var l,a,n,r,i,s,o,d,c,u;Object.defineProperty(t,"__esModule",{value:!0}),t.ICON_CODE_MAP=t.ICON_CODE_EXTENDED=t.IconCodeExtended=t.IconCode=t.CloudCoverPhrase=t.PressureTendencyCode=t.UVDescription=t.WindDirectionCardinal=t.DayOrNight=t.HourlyForecastDuration=t.ForecastDuration=t.Units=void 0,function(e){e.IMPERIAL="e",e.METRIC="m",e.HYBRID="h"}(l||(t.Units=l={})),function(e){e.THREE_DAY="3day",e.FIVE_DAY="5day",e.SEVEN_DAY="7day",e.TEN_DAY="10day",e.FIFTEEN_DAY="15day"}(a||(t.ForecastDuration=a={})),function(e){e.SIX_HOUR="6hour",e.TWELVE_HOUR="12hour",e.ONE_DAY="1day",e.TWO_DAY="2day",e.THREE_DAY="3day",e.TEN_DAY="10day",e.FIFTEEN_DAY="15day"}(n||(t.HourlyForecastDuration=n={})),function(e){e.DAY="D",e.NIGHT="N",e.MISSING="X"}(r||(t.DayOrNight=r={})),function(e){e.NORTH="N",e.NORTH_NORTHEAST="NNE",e.NORTHEAST="NE",e.EAST_NORTHEAST="ENE",e.EAST="E",e.EAST_SOUTHEAST="ESE",e.SOUTHEAST="SE",e.SOUTH_SOUTHEAST="SSE",e.SOUTH="S",e.SOUTH_SOUTHWEST="SSW",e.SOUTHWEST="SW",e.WEST_SOUTHWEST="WSW",e.WEST="W",e.WEST_NORTHWEST="WNW",e.NORTHWEST="NW",e.NORTH_NORTHWEST="NNW",e.CALM="CALM"}(i||(t.WindDirectionCardinal=i={})),function(e){e.NOT_AVAILABLE="-2",e.NO_REPORT="-1",e.LOW="Low",e.MODERATE="Moderate",e.HIGH="High",e.VERY_HIGH="Very High",e.EXTREME="Extreme"}(s||(t.UVDescription=s={})),function(e){e[e.STEADY=0]="STEADY",e[e.RISING=1]="RISING",e[e.FALLING=2]="FALLING",e[e.RAPIDLY_RISING=3]="RAPIDLY_RISING",e[e.RAPIDLY_FALLING=4]="RAPIDLY_FALLING"}(o||(t.PressureTendencyCode=o={})),function(e){e.CLEAR="Clear",e.PARTLY_CLOUDY="Partly Cloudy",e.MOSTLY_CLOUDY="Mostly Cloudy",e.CLOUDY="Cloudy"}(d||(t.CloudCoverPhrase=d={})),function(e){e[e.TORNADO=0]="TORNADO",e[e.TROPICAL_STORM=1]="TROPICAL_STORM",e[e.HURRICANE=2]="HURRICANE",e[e.STRONG_STORMS=3]="STRONG_STORMS",e[e.THUNDERSTORMS=4]="THUNDERSTORMS",e[e.RAIN_SNOW_WINTERY_MIX=5]="RAIN_SNOW_WINTERY_MIX",e[e.RAIN_SLEET=6]="RAIN_SLEET",e[e.RAIN_SNOW_WINTERY_MIX_ALT=7]="RAIN_SNOW_WINTERY_MIX_ALT",e[e.FREEZING_DRIZZLE_RAIN=8]="FREEZING_DRIZZLE_RAIN",e[e.DRIZZLE=9]="DRIZZLE",e[e.FREEZING_DRIZZLE_RAIN_ALT=10]="FREEZING_DRIZZLE_RAIN_ALT",e[e.SHOWERS=11]="SHOWERS",e[e.RAIN=12]="RAIN",e[e.FLURRIES=13]="FLURRIES",e[e.SNOW_SHOWERS=14]="SNOW_SHOWERS",e[e.BLOWING_DRIFTING_SNOW=15]="BLOWING_DRIFTING_SNOW",e[e.SNOW=16]="SNOW",e[e.HAIL=17]="HAIL",e[e.SLEET=18]="SLEET",e[e.BLOWING_DUST_SANDSTORM=19]="BLOWING_DUST_SANDSTORM",e[e.FOGGY=20]="FOGGY",e[e.HAZE=21]="HAZE",e[e.SMOKE=22]="SMOKE",e[e.BREEZY=23]="BREEZY",e[e.WINDY=24]="WINDY",e[e.BLOWING_DRIFTING_SNOW_ALT=25]="BLOWING_DRIFTING_SNOW_ALT",e[e.CLOUDY=26]="CLOUDY",e[e.MOSTLY_CLOUDY_NIGHT=27]="MOSTLY_CLOUDY_NIGHT",e[e.MOSTLY_CLOUDY_DAY=28]="MOSTLY_CLOUDY_DAY",e[e.PARTLY_CLOUDY_NIGHT=29]="PARTLY_CLOUDY_NIGHT",e[e.PARTLY_CLOUDY_DAY=30]="PARTLY_CLOUDY_DAY",e[e.CLEAR_NIGHT=31]="CLEAR_NIGHT",e[e.SUNNY=32]="SUNNY",e[e.MOSTLY_CLEAR_NIGHT=33]="MOSTLY_CLEAR_NIGHT",e[e.MOSTLY_CLEAR_DAY=34]="MOSTLY_CLEAR_DAY",e[e.MIXED_RAIN_HAIL=35]="MIXED_RAIN_HAIL",e[e.SUNNY_ALT=36]="SUNNY_ALT",e[e.ISOLATED_THUNDERSTORMS=37]="ISOLATED_THUNDERSTORMS",e[e.SCATTERED_THUNDERSTORMS_DAY=38]="SCATTERED_THUNDERSTORMS_DAY",e[e.SCATTERED_SHOWERS_DAY=39]="SCATTERED_SHOWERS_DAY",e[e.HEAVY_RAIN=40]="HEAVY_RAIN",e[e.SCATTERED_SNOW_SHOWERS_DAY=41]="SCATTERED_SNOW_SHOWERS_DAY",e[e.HEAVY_SNOW_BLIZZARD=42]="HEAVY_SNOW_BLIZZARD",e[e.HEAVY_SNOW_BLIZZARD_ALT=43]="HEAVY_SNOW_BLIZZARD_ALT",e[e.NA=44]="NA",e[e.SCATTERED_SHOWERS_NIGHT=45]="SCATTERED_SHOWERS_NIGHT",e[e.SCATTERED_SNOW_SHOWERS_NIGHT=46]="SCATTERED_SNOW_SHOWERS_NIGHT",e[e.SCATTERED_THUNDERSTORMS_NIGHT=47]="SCATTERED_THUNDERSTORMS_NIGHT"}(c||(t.IconCode=c={})),function(e){e[e.STRONG_STORMS=300]="STRONG_STORMS",e[e.STRONG_STORMS_WIND=310]="STRONG_STORMS_WIND",e[e.FREEZING_RAIN=1e3]="FREEZING_RAIN",e[e.LIGHT_FREEZING_RAIN=1001]="LIGHT_FREEZING_RAIN",e[e.HEAVY_FREEZING_RAIN=1002]="HEAVY_FREEZING_RAIN",e[e.FREEZING_RAIN_WIND=1010]="FREEZING_RAIN_WIND",e[e.LIGHTFREEZING_RAIN_WIND=1011]="LIGHTFREEZING_RAIN_WIND",e[e.HEAVY_FREEZING_RAIN_WIND=1012]="HEAVY_FREEZING_RAIN_WIND",e[e.LIGHT_FREEZING_RAIN_FOG=1051]="LIGHT_FREEZING_RAIN_FOG",e[e.SLEET=1800]="SLEET",e[e.LIGHT_SLEET=1801]="LIGHT_SLEET",e[e.SLEET_WIND=1810]="SLEET_WIND",e[e.LIGHT_SLEET_WIND=1811]="LIGHT_SLEET_WIND",e[e.SCATTERED_THUNDERSTORMS_WIND=3819]="SCATTERED_THUNDERSTORMS_WIND",e[e.HEAVY_SNOW=4200]="HEAVY_SNOW",e[e.HEAVY_SNOW_WIND=4210]="HEAVY_SNOW_WIND",e[e.BLIZZARD=4300]="BLIZZARD",e[e.FREEZING_RAIN_SLEET=5100]="FREEZING_RAIN_SLEET",e[e.LIGHT_FREEZING_RAIN_SLEET=5101]="LIGHT_FREEZING_RAIN_SLEET",e[e.FREEZING_RAIN_SLEET_WIND=5110]="FREEZING_RAIN_SLEET_WIND",e[e.LIGHT_FREEZING_RAIN_SLEET_WIND=5111]="LIGHT_FREEZING_RAIN_SLEET_WIND",e[e.RAIN_FREEZING_RAIN=5300]="RAIN_FREEZING_RAIN",e[e.LIGHT_RAIN_FREEZING_RAIN=5301]="LIGHT_RAIN_FREEZING_RAIN",e[e.HEAVY_RAIN_FREEZING_RAIN=5302]="HEAVY_RAIN_FREEZING_RAIN",e[e.RAIN_FREEZING_RAIN_WIND=5310]="RAIN_FREEZING_RAIN_WIND",e[e.LIGHT_RAIN_FREEZING_RAIN_WIND=5311]="LIGHT_RAIN_FREEZING_RAIN_WIND",e[e.HEAVY_RAIN_FREEZING_RAIN_WIND=5312]="HEAVY_RAIN_FREEZING_RAIN_WIND",e[e.LIGHT_RAIN_FREEZING_RAIN_FOG=5351]="LIGHT_RAIN_FREEZING_RAIN_FOG",e[e.THUNDER_SNOW=5600]="THUNDER_SNOW",e[e.THUNDER_SNOW_WIND=5610]="THUNDER_SNOW_WIND",e[e.SCATTERED_STRONG_STORMS=5709]="SCATTERED_STRONG_STORMS",e[e.SCATTERED_STRONG_STORMS_WIND=5719]="SCATTERED_STRONG_STORMS_WIND",e[e.RAIN_ICE_EARLY=6500]="RAIN_ICE_EARLY",e[e.LIGHT_RAIN_ICE_EARLY=6501]="LIGHT_RAIN_ICE_EARLY",e[e.AM_RAIN_ICE=6503]="AM_RAIN_ICE",e[e.AM_LIGHT_RAIN_ICE=6504]="AM_LIGHT_RAIN_ICE",e[e.RAIN_ICE_WIND_EARLY=6510]="RAIN_ICE_WIND_EARLY",e[e.LIGHT_RAIN_ICE_WIND_EARLY=6511]="LIGHT_RAIN_ICE_WIND_EARLY",e[e.AM_RAIN_ICE_WIND=6513]="AM_RAIN_ICE_WIND",e[e.AM_LIGHT_RAIN_ICE_WIND=6514]="AM_LIGHT_RAIN_ICE_WIND",e[e.ICE_EARLY=6600]="ICE_EARLY",e[e.AM_ICE=6603]="AM_ICE",e[e.ICE_WIND_EARLY=6610]="ICE_WIND_EARLY",e[e.AM_ICE_WIND=6613]="AM_ICE_WIND",e[e.RAIN_ICE_LATE=7500]="RAIN_ICE_LATE",e[e.LIGHT_RAIN_ICE_LATE=7501]="LIGHT_RAIN_ICE_LATE",e[e.PM_RAIN_ICE=7503]="PM_RAIN_ICE",e[e.PM_LIGHT_RAIN_ICE=7504]="PM_LIGHT_RAIN_ICE",e[e.RAIN_ICE_WIND_LATE=7510]="RAIN_ICE_WIND_LATE",e[e.LIGHT_RAIN_ICE_WIND_LATE=7511]="LIGHT_RAIN_ICE_WIND_LATE",e[e.PM_RAIN_ICE_WIND=7513]="PM_RAIN_ICE_WIND",e[e.PM_LIGHT_RAIN_ICE_WIND=7514]="PM_LIGHT_RAIN_ICE_WIND",e[e.ICE_LATE=7600]="ICE_LATE",e[e.PM_ICE=7603]="PM_ICE",e[e.ICE_WIND_LATE=7610]="ICE_WIND_LATE",e[e.PM_ICE_WIND=7613]="PM_ICE_WIND",e[e.RAIN_TO_ICE=8100]="RAIN_TO_ICE",e[e.RAIN_TO_ICE_WIND=8110]="RAIN_TO_ICE_WIND",e[e.ICE_TO_RAIN=8500]="ICE_TO_RAIN",e[e.ICE_TO_RAIN_WIND=8510]="ICE_TO_RAIN_WIND"}(u||(t.IconCodeExtended=u={})),t.ICON_CODE_EXTENDED={300:"STRONG_STORMS",310:"STRONG_STORMS-WIND",1e3:"FREEZING_RAIN",1001:"LIGHT_FREEZING_RAIN",1002:"HEAVY_FREEZING_RAIN",1010:"FREEZING_RAIN-WIND",1011:"LIGHTFREEZING_RAIN-WIND",1012:"HEAVY_FREEZING_RAIN-WIND",1051:"LIGHT_FREEZING_RAIN-FOG",1800:"SLEET",1801:"LIGHT_SLEET",1810:"SLEET-WIND",1811:"LIGHT_SLEET-WIND",3819:"SCATTERED_THUNDERSTORMS-WIND",4200:"HEAVY_SNOW",4210:"HEAVY_SNOW-WIND",4300:"BLIZZARD",5100:"FREEZING_RAIN-SLEET",5101:"LIGHT_FREEZING_RAIN-SLEET",5110:"FREEZING_RAIN-SLEET-WIND",5111:"LIGHT_FREEZING_RAIN-SLEET-WIND",5300:"RAIN-FREEZING_RAIN",5301:"LIGHT_RAIN-FREEZING_RAIN",5302:"HEAVY_RAIN-FREEZING_RAIN",5310:"RAIN-FREEZING_RAIN-WIND",5311:"LIGHT_RAIN-FREEZING_RAIN-WIND",5312:"HEAVY_RAIN-FREEZING_RAIN-WIND",5351:"LIGHT_RAIN-FREEZING_RAIN-FOG",5600:"THUNDER_SNOW",5610:"THUNDER_SNOW-WIND",5709:"SCATTERED_STRONG_STORMS",5719:"SCATTERED_STRONG_STORMS-WIND",6500:"RAIN-ICE_EARLY",6501:"LIGHT_RAIN-ICE_EARLY",6503:"AM_RAIN-ICE",6504:"AM_LIGHT_RAIN-ICE",6510:"RAIN-ICE-WIND_EARLY",6511:"LIGHT_RAIN-ICE-WIND_EARLY",6513:"AM_RAIN-ICE-WIND",6514:"AM_LIGHT_RAIN-ICE-WIND",6600:"ICE_EARLY",6603:"AM_ICE",6610:"ICE-WIND_EARLY",6613:"AM_ICE-WIND",7500:"RAIN-ICE_LATE",7501:"LIGHT_RAIN-ICE_LATE",7503:"PM_RAIN-ICE",7504:"PM_LIGHT_RAIN-ICE",7510:"RAIN-ICE-WIND_LATE",7511:"LIGHT_RAIN-ICE-WIND_LATE",7513:"PM_RAIN-ICE-WIND",7514:"PM_LIGHT_RAIN-ICE-WIND",7600:"ICE_LATE",7603:"PM_ICE",7610:"ICE-WIND_LATE",7613:"PM_ICE-WIND",8100:"RAIN_TO_ICE",8110:"RAIN_TO_ICE-WIND",8500:"ICE_TO_RAIN",8510:"ICE_TO_RAIN-WIND"},t.ICON_CODE_MAP={0:"tornado",1:"tropical-storm",2:"hurricane",3:"strong-storms",4:"thunderstorms",5:"rain-snow-wintery-mix",6:"rain-sleet",7:"rain-snow-wintery-mix",8:"freezing-drizzle-rain",9:"drizzle",10:"freezing-drizzle-rain",11:"showers",12:"rain",13:"flurries",14:"snow-showers",15:"blowing-drifting-snow",16:"snow",17:"hail",18:"sleet",19:"blowing-dust-sandstorm",20:"foggy",21:"haze",22:"smoke",23:"breezy",24:"windy",25:"blowing-drifting-snow",26:"cloudy",27:"mostly-cloudy-night",28:"mostly-cloudy-day",29:"partly-cloudy-night",30:"partly-cloudy-day",31:"clear-night",32:"sunny",33:"mostly-clear-night",34:"mostly-clear-day",35:"mixed-rain-hail",36:"sunny",37:"isolated-thunderstorms",38:"scattered-thunderstorms-day",39:"scattered-showers-day",40:"heavy-rain",41:"scattered-snow-showers-day",42:"heavy-snow-blizzard",43:"heavy-snow-blizzard",44:"na",45:"scattered-showers-night",46:"scattered-snow-showers-night",47:"scattered-thunderstorms-night"}},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:v,rounded:x=!1}=e;if(!n.length||u=n.length)return null;let f=n[u],g="".concat(u+1,"/").concat(m),y=0===u,N=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:x?"overflow-hidden rounded-[16px]":"",children:(0,a.jsx)("div",{className:"relative w-full ".concat(x?"rounded-[16px]":""),children:(0,a.jsx)("div",{className:"relative w-full ".concat(x?"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:x,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:()=>{v("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:N,onClick:()=>{v("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(N?"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,v]=(0,n.useState)(0),[x,f]=(0,n.useState)(1),[g,y]=(0,n.useState)(1),[N,w]=(0,n.useState)(h?r.slice(0,20):l),b=(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;v(p-1),f(e)}},[p]),j=(0,n.useCallback)(()=>{if(p+1=g){let e=20*x;if(e-3

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

{if(b(document.querySelector("#".concat(m))))switch(e.key){case"ArrowLeft":I();break;case"ArrowRight":j()}},[m,b,I,j]);return(0,n.useEffect)(()=>(document.body.addEventListener("keydown",_),()=>{document.body.removeEventListener("keydown",_)}),[_]),(0,n.useEffect)(()=>{h&&0===N.length&&w(r.slice(0,20))},[h,r,N.length]),(0,a.jsx)(u,{id:m,assets:h?N:l,currentSlideIndex:p,totalAssets:i,previous:I,next:j,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,v,x,f,g,y,N,w,b,I,j,_,E,T,A,R,C,S;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!=(v=e.temperature)?v:0,temperatureDewPoint:null!=(x=e.temperatureDewPoint)?x:0,temperatureFeelsLike:null!=(f=e.temperatureFeelsLike)?f:0,temperatureHeatIndex:null!=(g=e.temperatureHeatIndex)?g:0,temperatureWindChill:null!=(y=e.temperatureWindChill)?y:0,uvDescription:null!=(N=e.uvDescription)?N:o.UVDescription.LOW,uvIndex:null!=(w=e.uvIndex)?w:0,validTimeLocal:null!=(b=e.validTimeLocal)?b:"",validTimeUtc:null!=(I=e.validTimeUtc)?I:0,visibility:null!=(j=e.visibility)?j:0,windDirection:null!=(_=e.windDirection)?_:0,windDirectionCardinal:null!=(E=e.windDirectionCardinal)?E:o.WindDirectionCardinal.NORTH,windGust:null!=(T=e.windGust)?T:null,windSpeed:null!=(A=e.windSpeed)?A:0,wxPhraseLong:null!=(R=e.wxPhraseLong)?R:"",wxPhraseShort:null!=(C=e.wxPhraseShort)?C:"",wxSeverity:null!=(S=e.wxSeverity)?S: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(67847),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),v=l(68772),x=l(73237),f=l(9117),g=l(12814),y=l(27430),N=l(89010);let w=(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"})]})]})}),b=p.forwardRef((e,t)=>(0,a.jsx)(N.h,{ref:t,icon:w,...e}));b.displayName="Temperature";var I=l(94975),j=l(70918),_=l(4591),E=l(59092),T=l(13664),A=l(98792),R=l(62754),C=l(20486),S=l(55904),L=l(8284),D=l(35150),M=l(16774);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:"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"})]})}),W=p.forwardRef((e,t)=>(0,a.jsx)(N.h,{ref:t,icon:O,...e}));W.displayName="NewMoon";let P=(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"})]})}),H=p.forwardRef((e,t)=>(0,a.jsx)(N.h,{ref:t,icon:P,...e}));H.displayName="WaxingCrescent";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:"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"})]})}),k=p.forwardRef((e,t)=>(0,a.jsx)(N.h,{ref:t,icon:F,...e}));k.displayName="FirstQuarter";let G=(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"})]})}),B=p.forwardRef((e,t)=>(0,a.jsx)(N.h,{ref:t,icon:G,...e}));B.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)(N.h,{ref:t,icon:V,...e}));U.displayName="FullMoon";let z=(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"})]})}),Y=p.forwardRef((e,t)=>(0,a.jsx)(N.h,{ref:t,icon:z,...e}));Y.displayName="WaningGibbous";let Z=(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"})]})}),q=p.forwardRef((e,t)=>(0,a.jsx)(N.h,{ref:t,icon:Z,...e}));q.displayName="LastQuarter";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 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"})]})}),X=p.forwardRef((e,t)=>(0,a.jsx)(N.h,{ref:t,icon:Q,...e}));X.displayName="WaningCrescent";var $=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)(N.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)(N.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:v,bottom:x,left:f,width:g,height:y}=e.getBoundingClientRect(),N={t:x,r:window.innerWidth-f,b:window.innerHeight-p,l:v},w={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},b={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 N.t>b.top+w.y&&N.r>b.right+w.x&&N.b>b.bottom+w.y&&N.l>b.left+w.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:v}=e;if(!t)return new Date;let x=l||"string"!=typeof t?(0,en.$)(t):t,f=/([+-]\d{2}:?\d{2})$/,g=x.match(f),y=new Date(x.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),v&&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,v]=(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]),N=(0,p.useMemo)(()=>new Date(i.replace(/([+-]\d{2}:?\d{2})$/,"")),[i]),w=y.dateTime.getTime()-g.dateTime.getTime(),b=(N.getTime()-g.dateTime.getTime())*180/w,I=(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},j=(0,p.useCallback)(()=>{let e=0,t=setInterval(()=>{e>=b?clearInterval(t):v(e=Math.min(e+1,b))},10)},[b]),_=(0,p.useMemo)(()=>(0,$.n)(()=>{u.current&&el(u.current)&&g&&y&&(j(),window.removeEventListener("scroll",_))},400),[j,g,y]);(0,p.useEffect)(()=>(g&&y&&(u.current&&el(u.current)?j():window.addEventListener("scroll",_)),()=>{window.removeEventListener("scroll",_)}),[j,_,g,y]);let E=N.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")}}),E&&(0,a.jsx)("g",{ref:m,style:{transform:"translate(".concat(I("x",h),"px, ").concat(I("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)(x.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)(x.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,v.c3)("CurrentDetails"),s=(0,v.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:b,label:"".concat(t("high")," / ").concat(t("low")),content:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(A.B,{value:e.temperatureMax})," / ",(0,a.jsx)(A.B,{value:e.temperatureMin})]})},{Icon:I.Z,label:t("wind"),content:(0,a.jsx)(R.Z,{windSpeed:e.windSpeed,units:l,windDirection:e.windDirection,windDirectionCardinal:e.windDirectionCardinal,displayMode:"directionalAndCardinal"})},{Icon:j.K,label:t("humidity"),content:(0,a.jsx)(C.N,{value:e.relativeHumidity})},{Icon:_.$,label:t("dewPoint"),content:(0,a.jsx)(A.B,{value:e.temperatureDewPoint})},{Icon:E.S,label:t("pressure"),content:(0,a.jsx)(S.S,{pressureAltimeter:e.pressureAltimeter,pressureTendencyCode:e.pressureTendencyCode,units:l})},{Icon:T.o,label:t("uvIndex"),content:(0,a.jsx)(L.M,{uvIndex:e.uvIndex})},{Icon:y.S,label:t("visibility"),content:(0,a.jsx)(D.b,{visibility:e.visibility,units:l})},{Icon:(e=>{switch(e){case M.MoonPhaseCode.NEW:return W;case M.MoonPhaseCode.WAXING_CRESCENT:return H;case M.MoonPhaseCode.FIRST_QUARTER:return k;case M.MoonPhaseCode.WAXING_GIBBOUS:return B;case M.MoonPhaseCode.FULL:return U;case M.MoonPhaseCode.WANING_GIBBOUS:return Y;case M.MoonPhaseCode.LAST_QUARTER:return q;case M.MoonPhaseCode.WANING_CRESCENT:return X;default:return W}})(e.moonPhaseCode),label:t("moonPhase"),content:e.moonPhase}])(l,s,m),[l,s,m]),N=(()=>{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)(x.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)(x.Ay,{className:"@md/currentDetails:text-base text-sm leading-normal",children:i("feelsLike")}),(0,a.jsx)(x.Ay,{variant:"Display.L",className:"@md/currentDetails:text-5xl text-[40px] font-medium leading-normal",children:(0,a.jsx)(A.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)(x.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 N&&(0,a.jsx)(g.Zp,{className:"@container/currentDetails p-4",children:(0,a.jsx)(g.Wu,{className:"p-0",children:N})})};var ed=l(77144);let ec=e=>{let{location:t}=e,{effectiveLocation:l,isLocationLoading:n}=(0,ed.s)({location:t}),{currentDetails:r,loading:v}=(e=>{var t,l,a;let n=(0,d.md)(c.Yt),r=null==(t=(0,u.xP)(n))?void 0:t.code,v=null==(l=(0,o.useParams)())?void 0:l.locale,x=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,v]:null,e=>{let[t,l,a,n]=e;return(0,s.z)({geocode:l,units:a,language:n})},{revalidateOnFocus:!1,dedupingInterval:6e4}),{data:N,error:w,isLoading:b}=(0,i.Ay)(e?["get-daily-forecast",e.geocode,r,m.ForecastDuration.THREE_DAY,v,"KR"===x?x: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}),I=null==N?void 0:N[0];return{currentDetails:(0,p.useMemo)(()=>f&&I&&{...f,temperatureMin:I.temperatureMin,temperatureMax:I.temperatureMax,moonPhase:I.moonPhase,moonPhaseCode:I.moonPhaseCode},[f,I]),loading:y||b,error:g||w}})(l);return(0,a.jsx)(eo,{location:l,currentDetails:r,isLoading:n||v})},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:()=>x});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},v={col:"flex-col",row:"flex-row","col-reverse":"flex-col-reverse","row-reverse":"flex-row-reverse"},x=e=>{let{heading:t,description:l,content:r,href:i,target:s,imageUrl:o,altText:d,onClick:c,className:x,imageWrapClassName:f,imageClassName:g,contentClassName:y,badge:N,icon:w="video",showIcon:b,iconClassName:I,overlayClassName:j,dir:_="row"}=e,E=p[w],T=!!(t||l||r),A=(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",j),children:b&&E&&(0,a.jsx)(E,{className:(0,m.cn)("size-10 text-white",I)})}),N&&(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:N})]}),T&&(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})]})})]}),R=(0,m.cn)("not-prose font-normal text-gray-900 no-underline hover:no-underline flex",v[_],x);return!c&&i?(0,a.jsx)(u.default,{className:R,href:i,target:s,children:A}):(0,a.jsx)("div",{className:R,onClick:c,children:A})}},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:v="IdNDrRWQ"}=d,x=(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,[N,w]=(0,n.useState)(y?"loading":"error");return(0,n.useEffect)(()=>{if(g.current||!("jwplayer"in window)||"ready"!==N||!y)return;let e=window.jwplayer(p);f.current=e,g.current=!0,u.info("initialized player"),e.setup(x),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))})},[x,m,y,p,N]),(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(v,".js"),strategy:"afterInteractive",onLoad:()=>w("ready"),onReady:()=>w("ready"),onError:()=>w("error")}),(0,a.jsx)("div",{className:(0,r.cn)("overflow-hidden",c().jwplayerContainer,h),children:"loading"===N&&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"===N?(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"}}]);