(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,999066,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={default:function(){return d},getImageProps:function(){return c}};for(var i in a)Object.defineProperty(r,i,{enumerable:!0,get:a[i]});let n=e.r(481258),o=e.r(589204),l=e.r(146330),s=n._(e.r(165613));function c(e){let{props:t}=(0,o.getImgProps)(e,{defaultLoader:s.default,imgConf:{deviceSizes:[640,750,828,1080,1280,1600],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image/",loader:"custom",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let d=l.Image},861559,(e,t,r)=>{t.exports=e.r(999066)},37429,e=>{"use strict";var t=e.i(699173),r=e.i(592121),a=e.i(861559),i=e.i(632137);let n={square:"Square (1:1)",video:"Video (16:9)",goldenPortrait:"Golden Portrait (1:1.618)",goldenLandscape:"Golden Landscape (1.618:1)","16/9":"16:9","8/5":"8:5","4/3":"4:3","3/2":"3:2","2/3":"2/3","1/1":"1:1",auto:"Auto"};["square","video","goldenPortrait","goldenLandscape","16/9","8/5","4/3","3/2","2/3","1/1","auto"].map(e=>({label:n[e],value:e}));let o={square:"aspect-square",video:"aspect-video",goldenPortrait:"aspect-[1/1.618]",goldenLandscape:"aspect-[1.618/1]","16/9":"aspect-[16/9]","8/5":"aspect-[8/5]","4/3":"aspect-[4/3]","3/2":"aspect-[3/2]","2/3":"aspect-[2/3]","1/1":"aspect-[1/1]",auto:"h-full w-full"},l=(0,r.forwardRef)(({src:e,alt:r,shadow:n,rounded:l=!0,className:s,wrapperClassName:c,width:d=320,height:u=180,quality:I,priority:_=!1,loading:E,isFetchPriority:N=!1,objectFit:R,fill:T=!1,sizes:f,aspectRatio:A,isAnimated:p=!1,...h},C)=>{if(!e)return null;let S=p||e.toLowerCase().endsWith(".gif"),L=T||!!A,m=R??(A?"cover":"contain"),y=A?o[A]:"",O=(0,t.jsx)(a.default,{ref:C,src:e,alt:r,width:L?void 0:d,height:L?void 0:u,quality:I,priority:_,loading:E,fetchPriority:N?"high":void 0,fill:L,sizes:f,unoptimized:S,className:(0,i.cn)({"shadow-md":n,"rounded-lg":l,"object-contain":"contain"===m,"object-cover":"cover"===m,"object-fill":"fill"===m,"object-none":"none"===m,"object-scale-down":"scale-down"===m,"h-auto w-full":!L},s),...h});return L?(0,t.jsx)("div",{className:(0,i.cn)("relative overflow-hidden",y,!A&&"h-full w-full",c),children:O}):O});l.displayName="Image",e.s(["Image",0,l,"default",0,l])},512134,e=>{"use strict";var t=e.i(592121);e.s(["useIsClient",0,function(){let[e,r]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{r(!0)},[]),e}])},89887,e=>{"use strict";function t(e,t){let r="/"+e.split("/").filter(Boolean).slice(1).join("/");return"en-US"===t?r:`/${t}${r}`}e.s(["buildLocationCanonicalBase",0,t,"buildLocationCanonicalPath",0,function(e,r,a){return`${t(e,r)}/${a}`}])},388706,e=>{"use strict";let t=[{pageType:"today",urlKey:"today",urlType:"weather/today",suffix:"today",base:"/weather/today/",sidebarCanonical:!1,navType:"forecast",sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-today"},{pageType:"hourbyhour",urlKey:"hourly",urlType:"weather/hourbyhour",suffix:"hourbyhour",base:"/weather/hourly/",sidebarCanonical:!1,navType:"forecast",sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-hourly"},{pageType:"tenday",urlKey:"tenday",urlType:"weather/tenday",suffix:"tenday",base:"/weather/tenday/",sidebarCanonical:!1,navType:"forecast",sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-tenday"},{pageType:"localalerts",urlKey:"alerts",urlType:"weather/alerts/localalerts",suffix:"localalerts",base:"/weather/alerts/localalerts/",sidebarCanonical:!0,navType:"forecast",sitemapExcluded:!0,canonicalEligible:!0,weatherCacheTag:"weather-alerts"},{pageType:"allergy",urlKey:"allergy",urlType:"forecast/allergy",suffix:"allergy",base:"/forecast/allergy/",sidebarCanonical:!0,navType:"forecast",sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-allergy"},{pageType:"air-quality",urlKey:"airQuality",urlType:"forecast/air-quality",suffix:"air-quality",base:"/weather/air-quality/",sidebarCanonical:!0,navType:"forecast",sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-air-quality"},{pageType:"cold-flu",urlKey:"coldFlu",urlType:"forecast/cold-flu",suffix:"cold-flu",base:"/forecast/cold-flu/",sidebarCanonical:!0,navType:"forecast",sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-cold-flu"},{pageType:"radar",urlKey:"radar",urlType:"weather/radar/interactive",suffix:"radar",base:"/weather/radar/interactive/",sidebarCanonical:!0,navType:"radar",sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-radar-interactive"}],r=t.map(e=>e.pageType);Object.fromEntries(t.map(e=>[e.urlType,e.pageType]));let a=Object.fromEntries(t.map(e=>[e.suffix,e.pageType])),i=Object.fromEntries(t.map(e=>[e.pageType,e.base])),n=Object.fromEntries(t.map(e=>[e.pageType,e.urlKey])),o=Object.fromEntries(t.map(e=>[e.pageType,e.suffix])),l=Object.fromEntries(t.map(e=>[e.pageType,e.navType]));t.filter(e=>"forecast"===e.navType).map(e=>e.pageType),t.filter(e=>"radar"===e.navType).map(e=>e.pageType);let s=Object.fromEntries(t.map(e=>[e.pageType,e.canonicalEligible]));t.map(e=>e.urlType).join("|"),t.map(e=>e.suffix).join("|"),t.filter(e=>e.sitemapExcluded).map(e=>e.pageType);let c=t.filter(e=>e.sidebarCanonical).map(e=>({urlKey:e.urlKey,segment:e.suffix}));e.s(["BASE_BY_PAGE",0,i,"CANONICAL_ELIGIBLE_BY_PAGE",0,s,"CANONICAL_PAGE_TYPES",0,r,"PAGE_TYPE_TO_SUFFIX",0,o,"PAGE_TYPE_TO_URL_KEY",0,n,"SIDEBAR_CANONICAL_LINKS",0,c,"navTypeForSuffix",0,function(e){let t=e?a[e]:void 0;return t?l[t]:null}])},304116,e=>{"use strict";var t=e.i(89887),r=e.i(611540),a=e.i(388706);e.s(["buildLocationPageHref",0,function({pageType:e,locale:i,canonicalID:n,featureId:o,placeId:l,canonicalBasePath:s,skipCanonical:c=!1}){let d=a.PAGE_TYPE_TO_SUFFIX[e],u=a.CANONICAL_ELIGIBLE_BY_PAGE[e]&&!c;return s&&u?`${s}/${d}`:u&&n?(0,t.buildLocationCanonicalPath)(n,i,d):(0,r.interpolateLocationUrl)(r.URLS[a.PAGE_TYPE_TO_URL_KEY[e]],u?{locale:i,locId:l??o??"",featureId:o}:{locale:i,locId:l??""})}])},734357,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getVideoNavLink=i;let a=e.r(414655);async function i({channel:e,language:t="en-US",partner:r,contentQueryId:n}){let o=["api","payload","v1","media","video-nav",encodeURIComponent(e),encodeURIComponent(t)];r&&o.push(encodeURIComponent(r));let l=n?`?cq=${encodeURIComponent(n)}`:"",s=`https://${window.location.host}/${o.join("/")}${l}`,c=await fetch(s),d=await (0,a.handleFetchResponse)(c);return d&&"url"in d?d.url??null:null}},514514,e=>{"use strict";var t=e.i(592121);let r=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)},a=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim();var i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let n=(0,t.forwardRef)(({color:e="currentColor",size:r=24,strokeWidth:n=2,absoluteStrokeWidth:o,className:l="",children:s,iconNode:c,...d},u)=>(0,t.createElement)("svg",{ref:u,...i,width:r,height:r,stroke:e,strokeWidth:o?24*Number(n)/Number(r):n,className:a("lucide",l),...!s&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0})(d)&&{"aria-hidden":"true"},...d},[...c.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(s)?s:[s]]));e.s(["default",0,(e,i)=>{let o=(0,t.forwardRef)(({className:o,...l},s)=>(0,t.createElement)(n,{ref:s,iconNode:i,className:a(`lucide-${r(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,o),...l}));return o.displayName=r(e),o}],514514)},523084,e=>{"use strict";var t=e.i(699173),r=e.i(592121),a=e.i(747961);let i=(0,r.forwardRef)(({title:e,titleId:r,desc:a,descId:i,...n},o)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:o,"aria-labelledby":r,"aria-describedby":i,...n,children:[a?(0,t.jsx)("desc",{id:i,children:a}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Chevron Left"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M5.586 8.586a.667.667 0 0 1 0-.943l4.178-4.179a.495.495 0 0 1 .7.7l-3.95 3.95 3.95 3.95a.495.495 0 1 1-.7.7z"})]})),n=r.default.forwardRef((e,r)=>(0,t.jsx)(a.BaseIcon,{ref:r,icon:i,...e}));n.displayName="ChevronLeft",e.s(["ChevronLeft",0,n])},47524,e=>{"use strict";var t=e.i(699173),r=e.i(592121),a=e.i(747961);let i=(0,r.forwardRef)(({title:e,titleId:r,desc:a,descId:i,...n},o)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:o,"aria-labelledby":r,"aria-describedby":i,...n,children:[a?(0,t.jsx)("desc",{id:i,children:a}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Chevron Right"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M10.414 7.643c.26.26.26.682 0 .943l-4.178 4.178a.495.495 0 1 1-.7-.7l3.95-3.95-3.95-3.95a.495.495 0 1 1 .7-.7z"})]})),n=r.default.forwardRef((e,r)=>(0,t.jsx)(a.BaseIcon,{ref:r,icon:i,...e}));n.displayName="ChevronRight",e.s(["ChevronRight",0,n])},674885,e=>{"use strict";var t=e.i(981030),r=e.i(617874),a=e.i(889753);let i=(0,t.atom)(e=>e(a.userPreferencesAtom)?.unit||r.UNIT_IMPERIAL),n=(0,t.atom)(e=>e(i)===r.UNIT_IMPERIAL),o=(0,t.atom)(e=>e(i)===r.UNIT_METRIC),l=(0,t.atom)(e=>e(i)===r.UNIT_HYBRID);e.s(["isHybridUnitsAtom",0,l,"isImperialUnitsAtom",0,n,"isMetricUnitsAtom",0,o,"userUnitPreferenceAtom",0,i])},258990,e=>{"use strict";e.s(["decodeLocId",0,e=>{try{return decodeURIComponent(e)}catch{return e}}])},697151,e=>{"use strict";let t=(0,e.i(514514).default)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);e.s(["Globe",0,t],697151)},792461,e=>{"use strict";var t=e.i(592121);e.s(["useRefMemo",0,e=>{let r=(0,t.useRef)(e);return r.current=e,r}])},393864,499167,e=>{"use strict";var t=e.i(699173),r=e.i(592121),a=e.i(747961);let i=(0,r.forwardRef)(({title:e,titleId:r,desc:a,descId:i,...n},o)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:o,"aria-labelledby":r,"aria-describedby":i,...n,children:[a?(0,t.jsx)("desc",{id:i,children:a}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Facebook"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("g",{clipPath:"url(#a)",children:(0,t.jsx)("path",{fill:"currentColor",d:"M8 0a8 8 0 0 0-1.932 15.765v-5.32h-1.65V8h1.65V6.947c0-2.723 1.232-3.985 3.905-3.985.507 0 1.382.1 1.74.198v2.216c-.19-.02-.518-.03-.925-.03-1.312 0-1.818.498-1.818 1.79V8h2.613l-.45 2.445H8.97v5.496A8 8 0 0 0 8 0"})}),(0,t.jsx)("defs",{children:(0,t.jsx)("clipPath",{id:"a",children:(0,t.jsx)("path",{fill:"currentColor",d:"M0 0h16v16H0z"})})})]})),n=r.default.forwardRef((e,r)=>(0,t.jsx)(a.BaseIcon,{ref:r,icon:i,...e}));n.displayName="Facebook",e.s(["Facebook",0,n],393864);let o=(0,r.forwardRef)(({title:e,titleId:r,desc:a,descId:i,...n},o)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:o,"aria-labelledby":r,"aria-describedby":i,...n,children:[a?(0,t.jsx)("desc",{id:i,children:a}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Twitter"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M12.217 1.27h2.249L9.552 6.884l5.78 7.642h-4.525L7.262 9.892l-4.056 4.635H.956L6.21 8.52.666 1.27h4.64l3.205 4.236zm-.79 11.91h1.247L4.63 2.546H3.292z"})]})),l=r.default.forwardRef((e,r)=>(0,t.jsx)(a.BaseIcon,{ref:r,icon:o,...e}));l.displayName="Twitter",e.s(["Twitter",0,l],499167)},859827,e=>{"use strict";var t=e.i(699173),r=e.i(592121),a=e.i(747961);let i=(0,r.forwardRef)(({title:e,titleId:r,desc:a,descId:i,...n},o)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:o,"aria-labelledby":r,"aria-describedby":i,...n,children:[a?(0,t.jsx)("desc",{id:i,children:a}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Plus"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M12 8.5a.8.8 0 0 0-.8-.8H8.8V5.3a.8.8 0 1 0-1.6 0v2.4H4.8a.8.8 0 1 0 0 1.6h2.4v2.4a.8.8 0 0 0 1.6 0V9.3h2.4a.8.8 0 0 0 .8-.8"})]})),n=r.default.forwardRef((e,r)=>(0,t.jsx)(a.BaseIcon,{ref:r,icon:i,...e}));n.displayName="Plus",e.s(["Plus",0,n])},993269,e=>{"use strict";var t=e.i(699173),r=e.i(592121),a=e.i(747961);let i=(0,r.forwardRef)(({title:e,titleId:r,desc:a,descId:i,...n},o)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:o,"aria-labelledby":r,"aria-describedby":i,...n,children:[a?(0,t.jsx)("desc",{id:i,children:a}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Minus"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M12 8.5a.8.8 0 0 0-.8-.8H4.8a.8.8 0 1 0 0 1.6h6.4a.8.8 0 0 0 .8-.8"})]})),n=r.default.forwardRef((e,r)=>(0,t.jsx)(a.BaseIcon,{ref:r,icon:i,...e}));n.displayName="Minus",e.s(["Minus",0,n])},385277,e=>{"use strict";var t=e.i(592121),r=e.i(792461);e.s(["useClientContainerSize",0,e=>{let a=(0,t.useRef)(null),[i,n]=(0,t.useState)(null),o=(0,t.useRef)(!1),l=(0,r.useRefMemo)(e);return(0,t.useEffect)(()=>{let e=a.current;if(!e||"u"{window.requestAnimationFrame(()=>{for(let t of e){let{right:e,left:r,top:a,bottom:i}=t.contentRect,s=e+r,c=a+i,d=l.current(s,c);o.current=!0,n(d)}})});return t.observe(e),()=>{t.disconnect()}},[a,l]),[i,a,o.current]}])},101346,e=>{"use strict";e.i(512134),e.s([])},697380,e=>{"use strict";let t=(0,e.i(981030).atom)(0);e.s(["fixedBottomAdHeightAtom",0,t])},498076,e=>{"use strict";var t=e.i(546446),r=e.i(663333);e.s(["useIsMobile",0,function(){return"mobile"===(0,t.useAtomValue)(r.deviceClassAtom)}])},985542,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.searchLocations=o,r.transformLocationSearch=l,r.getLocationsByQuery=s,r.getLocationsByQueryAndType=c;let a=e.r(630585),i=e.r(678651),n=e.r(414655);async function o(e){let t=(0,a.getLocationSearchUrlConfig)(e),r=(0,i.urlFrom)(t),o=await fetch(r,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:86400}});return(0,n.handleFetchResponse)(o)}function l(e){let t=[];if(!e.location||!e.location.city||0===e.location.city.length)return t;let r=e.location.city.length;for(let a=0;a{"use strict";var t=e.i(592121),r=e.i(147732);function a(e,a){let[i,n]=(0,t.useState)(e);return(0,t.useEffect)(()=>{let t=(0,r.debounce)(e=>{n(e)},a);return t(e),()=>{t.cancel()}},[e,a]),i}e.s(["default",0,a,"useDebounce",0,a])},336726,e=>{"use strict";var t=e.i(699173),r=e.i(592121),a=e.i(747961);let i=(0,r.forwardRef)(({title:e,titleId:r,desc:a,descId:i,...n},o)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:o,"aria-labelledby":r,"aria-describedby":i,...n,children:[a?(0,t.jsx)("desc",{id:i,children:a}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Chevron Down"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M8.471 10.529a.667.667 0 0 1-.942 0L3.35 6.35a.495.495 0 1 1 .7-.7L8 9.6l3.95-3.95a.495.495 0 1 1 .7.7z"})]})),n=r.default.forwardRef((e,r)=>(0,t.jsx)(a.BaseIcon,{ref:r,icon:i,...e}));n.displayName="ChevronDown",e.s(["ChevronDown",0,n])},925209,e=>{"use strict";var t=e.i(699173),r=e.i(592121),a=e.i(747961);let i=(0,r.forwardRef)(({title:e,titleId:r,desc:a,descId:i,...n},o)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:o,"aria-labelledby":r,"aria-describedby":i,...n,children:[a?(0,t.jsx)("desc",{id:i,children:a}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Location"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsxs)("g",{fill:"currentColor",children:[(0,t.jsx)("path",{d:"M8 9a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5m0-4a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3"}),(0,t.jsx)("path",{d:"m8 15-4.218-4.974-.174-.226A5.44 5.44 0 0 1 2.5 6.5a5.5 5.5 0 1 1 11 0 5.44 5.44 0 0 1-1.107 3.299h-.001s-.15.198-.172.225zM4.406 9.198s.117.154.144.187L8 13.454l3.455-4.075.14-.183A4.45 4.45 0 0 0 12.5 6.5a4.5 4.5 0 1 0-9 0 4.45 4.45 0 0 0 .906 2.698"})]})]})),n=r.default.forwardRef((e,r)=>(0,t.jsx)(a.BaseIcon,{ref:r,icon:i,...e}));n.displayName="Location",e.s(["Location",0,n])},724475,(e,t,r)=>{"use strict";r.match=function(e,t){return s(e).some(function(e){var r=e.inverse,a="all"===e.type||t.type===e.type;if(a&&r||!(a||r))return!1;var i=e.expressions.every(function(e){var r=e.feature,a=e.modifier,i=e.value,n=t[r];if(!n)return!1;switch(r){case"orientation":case"scan":return n.toLowerCase()===i.toLowerCase();case"width":case"height":case"device-width":case"device-height":i=u(i),n=u(n);break;case"resolution":i=d(i),n=d(n);break;case"aspect-ratio":case"device-aspect-ratio":case"device-pixel-ratio":i=c(i),n=c(n);break;case"grid":case"color":case"color-index":case"monochrome":i=parseInt(i,10)||1,n=parseInt(n,10)||0}switch(a){case"min":return n>=i;case"max":return n{"use strict";var a=e.r(724475).match,i="u">typeof window?window.matchMedia:null;function n(e,t,r){var n,o=this;function l(e){o.matches=e.matches,o.media=e.media}i&&!r&&(n=i.call(window,e)),n?(this.matches=n.matches,this.media=n.media,n.addListener(l)):(this.matches=a(e,t),this.media=e),this.addListener=function(e){n&&n.addListener(e)},this.removeListener=function(e){n&&n.removeListener(e)},this.dispose=function(){n&&n.removeListener(l)}}t.exports=function(e,t,r){return new n(e,t,r)}},35305,(e,t,r)=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},561227,(e,t,r)=>{"use strict";var a=e.r(35305);function i(){}function n(){}n.resetWarningCache=i,t.exports=function(){function e(e,t,r,i,n,o){if(o!==a){var l=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:n,resetWarningCache:i};return r.PropTypes=r,r}},304153,(e,t,r)=>{t.exports=e.r(561227)()},909232,163363,e=>{"use strict";var t=e.i(592121),r=e.i(342716),a=/[A-Z]/g,i=/^ms-/,n={};function o(e){return"-"+e.toLowerCase()}let l=function(e){if(n.hasOwnProperty(e))return n[e];var t=e.replace(a,o);return n[e]=i.test(t)?"-"+t:t};var s=e.i(304153);let c=s.default.oneOfType([s.default.string,s.default.number]),d={all:s.default.bool,grid:s.default.bool,aural:s.default.bool,braille:s.default.bool,handheld:s.default.bool,print:s.default.bool,projection:s.default.bool,screen:s.default.bool,tty:s.default.bool,tv:s.default.bool,embossed:s.default.bool},{type:u,...I}={orientation:s.default.oneOf(["portrait","landscape"]),scan:s.default.oneOf(["progressive","interlace"]),aspectRatio:s.default.string,deviceAspectRatio:s.default.string,height:c,deviceHeight:c,width:c,deviceWidth:c,color:s.default.bool,colorIndex:s.default.bool,monochrome:s.default.bool,resolution:c,type:Object.keys(d)},_={minAspectRatio:s.default.string,maxAspectRatio:s.default.string,minDeviceAspectRatio:s.default.string,maxDeviceAspectRatio:s.default.string,minHeight:c,maxHeight:c,minDeviceHeight:c,maxDeviceHeight:c,minWidth:c,maxWidth:c,minDeviceWidth:c,maxDeviceWidth:c,minColor:s.default.number,maxColor:s.default.number,minColorIndex:s.default.number,maxColorIndex:s.default.number,minMonochrome:s.default.number,maxMonochrome:s.default.number,minResolution:c,maxResolution:c,...I};var E={...d,..._};let N=(0,t.createContext)(void 0),R=e=>{if(e)return Object.keys(e).reduce((t,r)=>(t[l(r)]=e[r],t),{})},T=()=>{let e=(0,t.useRef)(!1);return(0,t.useEffect)(()=>{e.current=!0},[]),e.current},f=(e,a,i)=>{let n=(e=>{let r=(0,t.useContext)(N),a=()=>R(e)||R(r),[i,n]=(0,t.useState)(a);return(0,t.useEffect)(()=>{let e=a();!function(e,t){if(e===t)return!0;if(!e||!t)return!1;let r=Object.keys(e),a=Object.keys(t),i=r.length;if(a.length!==i)return!1;for(let a=0;a{let r=()=>{let t;return e.query||(t=[],Object.keys(E).forEach(r=>{let a=e[r];null!=a&&t.push(((e,t)=>{let r=l(e);if("number"==typeof t&&(t=`${t}px`),!0===t)return r;if(!1===t)return`not ${r}`;return`(${r}: ${t})`})(r,a))}),t.join(" and "))},[a,i]=(0,t.useState)(r);return(0,t.useEffect)(()=>{let e=r();a!==e&&i(e)},[e]),a})(e);if(!o)throw Error("Invalid or missing MediaQuery!");let s=((e,a)=>{let i=()=>(0,r.default)(e,a||{},!!a),[n,o]=(0,t.useState)(i),l=T();return(0,t.useEffect)(()=>{if(l){let e=i();return o(e),()=>{e&&e.dispose()}}},[e,a]),n})(o,n),c=(e=>{let[r,a]=(0,t.useState)(e.matches);return(0,t.useEffect)(()=>{let t=e=>{a(e.matches)};return e.addListener(t),a(e.matches),()=>{e.removeListener(t)}},[e]),r})(s),d=T();return(0,t.useEffect)(()=>{d&&i&&i(c)},[c]),(0,t.useEffect)(()=>()=>{s&&s.dispose()},[]),c};e.s(["useMediaQuery",0,f],163363),e.s(["useClientMobileMedia",0,()=>!f({query:"(min-width: 768px)"})],909232)},935331,e=>{"use strict";var t=e.i(699173),r=e.i(632137);e.s(["Input",0,function({className:e,type:a,...i}){return(0,t.jsx)("input",{type:a,"data-slot":"input",className:(0,r.cn)("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",e),...i})}])},526456,e=>{"use strict";var t=e.i(699173),r=e.i(592121),a=e.i(747961);let i=(0,r.forwardRef)(({title:e,titleId:r,desc:a,descId:i,...n},o)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:o,"aria-labelledby":r,"aria-describedby":i,...n,children:[a?(0,t.jsx)("desc",{id:i,children:a}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Current Location"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M2 6.491a.5.5 0 0 0 .315.473l4.8 1.92 1.92 4.801A.5.5 0 0 0 9.5 14h.008a.5.5 0 0 0 .462-.329l4-11a.5.5 0 0 0-.64-.64l-11 4A.5.5 0 0 0 2 6.49"})]})),n=r.default.forwardRef((e,r)=>(0,t.jsx)(a.BaseIcon,{ref:r,icon:i,...e}));n.displayName="CurrentLocationFilled",e.s(["CurrentLocationFilled",0,n])},180193,e=>{"use strict";var t=e.i(699173),r=e.i(592121),a=e.i(617874);let i=(0,r.memo)(({className:e,unitsClassName:r,units:i,value:n,degreeSymbolClass:o,unitOnly:l})=>{let s=null!=n,c=i?(0,a.unitsSystemByCode)(i):null,d=c?.temp,u=Number.isFinite(n)&&Math.round(n);return(0,t.jsx)("span",{"data-testid":"TemperatureValue",className:e,dir:"ltr",children:s||!s&&l?(0,t.jsxs)(t.Fragment,{children:[s&&u,(0,t.jsx)("span",{className:o,children:"°"}),d&&(0,t.jsx)("span",{className:r,children:d})]}):"--"})});e.s(["Temperature",0,i])},979777,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getCurrentObservationsUrlConfig=function({geocode:e,units:t,language:r}){return{host:"api.weather.com",protocol:"https",pathname:"/v3/wx/observations/current",query:{geocode:e,units:t,language:r,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}},r.getTropicalConeUrlConfig=function({stormId:e,units:t,language:r,nautical:a}){return{host:"api.weather.com",protocol:"https",pathname:"/v3/tropical/cone",query:{stormId:e,units:t,language:r,nautical:a,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}},r.getTropicalObservationsCurrentPositionUrlConfig=function({nautical:e,source:t,basin:r,units:a,language:i}){return{host:"api.weather.com",protocol:"https",pathname:"/v2/tropical/currentposition",query:{nautical:e,source:t,basin:r,units:a,language:i,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"}}}},349262,(e,t,r)=>{"use strict";var a,i,n,o,l,s,c,d,u,I,_,E,N,R,T,f,A,p,h,C;Object.defineProperty(r,"__esModule",{value:!0}),r.ICON_CODE_MAP=r.ICON_CODE_EXTENDED=r.IconCodeExtended=r.IconCode=r.CloudCoverPhrase=r.PressureTendencyCode=r.UVDescription=r.WindDirectionCardinal=r.DayOrNight=r.HourlyForecastDuration=r.ForecastDuration=r.Units=void 0,(_=a||(r.Units=a={})).IMPERIAL="e",_.METRIC="m",_.HYBRID="h",(E=i||(r.ForecastDuration=i={})).THREE_DAY="3day",E.FIVE_DAY="5day",E.SEVEN_DAY="7day",E.TEN_DAY="10day",E.FIFTEEN_DAY="15day",(N=n||(r.HourlyForecastDuration=n={})).SIX_HOUR="6hour",N.TWELVE_HOUR="12hour",N.ONE_DAY="1day",N.TWO_DAY="2day",N.THREE_DAY="3day",N.TEN_DAY="10day",N.FIFTEEN_DAY="15day",(R=o||(r.DayOrNight=o={})).DAY="D",R.NIGHT="N",R.MISSING="X",(T=l||(r.WindDirectionCardinal=l={})).NORTH="N",T.NORTH_NORTHEAST="NNE",T.NORTHEAST="NE",T.EAST_NORTHEAST="ENE",T.EAST="E",T.EAST_SOUTHEAST="ESE",T.SOUTHEAST="SE",T.SOUTH_SOUTHEAST="SSE",T.SOUTH="S",T.SOUTH_SOUTHWEST="SSW",T.SOUTHWEST="SW",T.WEST_SOUTHWEST="WSW",T.WEST="W",T.WEST_NORTHWEST="WNW",T.NORTHWEST="NW",T.NORTH_NORTHWEST="NNW",T.CALM="CALM",(f=s||(r.UVDescription=s={})).NOT_AVAILABLE="-2",f.NO_REPORT="-1",f.LOW="Low",f.MODERATE="Moderate",f.HIGH="High",f.VERY_HIGH="Very High",f.EXTREME="Extreme",(A=c||(r.PressureTendencyCode=c={}))[A.STEADY=0]="STEADY",A[A.RISING=1]="RISING",A[A.FALLING=2]="FALLING",A[A.RAPIDLY_RISING=3]="RAPIDLY_RISING",A[A.RAPIDLY_FALLING=4]="RAPIDLY_FALLING",(p=d||(r.CloudCoverPhrase=d={})).CLEAR="Clear",p.PARTLY_CLOUDY="Partly Cloudy",p.MOSTLY_CLOUDY="Mostly Cloudy",p.CLOUDY="Cloudy",(h=u||(r.IconCode=u={}))[h.TORNADO=0]="TORNADO",h[h.TROPICAL_STORM=1]="TROPICAL_STORM",h[h.HURRICANE=2]="HURRICANE",h[h.STRONG_STORMS=3]="STRONG_STORMS",h[h.THUNDERSTORMS=4]="THUNDERSTORMS",h[h.RAIN_SNOW_WINTERY_MIX=5]="RAIN_SNOW_WINTERY_MIX",h[h.RAIN_SLEET=6]="RAIN_SLEET",h[h.RAIN_SNOW_WINTERY_MIX_ALT=7]="RAIN_SNOW_WINTERY_MIX_ALT",h[h.FREEZING_DRIZZLE_RAIN=8]="FREEZING_DRIZZLE_RAIN",h[h.DRIZZLE=9]="DRIZZLE",h[h.FREEZING_DRIZZLE_RAIN_ALT=10]="FREEZING_DRIZZLE_RAIN_ALT",h[h.SHOWERS=11]="SHOWERS",h[h.RAIN=12]="RAIN",h[h.FLURRIES=13]="FLURRIES",h[h.SNOW_SHOWERS=14]="SNOW_SHOWERS",h[h.BLOWING_DRIFTING_SNOW=15]="BLOWING_DRIFTING_SNOW",h[h.SNOW=16]="SNOW",h[h.HAIL=17]="HAIL",h[h.SLEET=18]="SLEET",h[h.BLOWING_DUST_SANDSTORM=19]="BLOWING_DUST_SANDSTORM",h[h.FOGGY=20]="FOGGY",h[h.HAZE=21]="HAZE",h[h.SMOKE=22]="SMOKE",h[h.BREEZY=23]="BREEZY",h[h.WINDY=24]="WINDY",h[h.BLOWING_DRIFTING_SNOW_ALT=25]="BLOWING_DRIFTING_SNOW_ALT",h[h.CLOUDY=26]="CLOUDY",h[h.MOSTLY_CLOUDY_NIGHT=27]="MOSTLY_CLOUDY_NIGHT",h[h.MOSTLY_CLOUDY_DAY=28]="MOSTLY_CLOUDY_DAY",h[h.PARTLY_CLOUDY_NIGHT=29]="PARTLY_CLOUDY_NIGHT",h[h.PARTLY_CLOUDY_DAY=30]="PARTLY_CLOUDY_DAY",h[h.CLEAR_NIGHT=31]="CLEAR_NIGHT",h[h.SUNNY=32]="SUNNY",h[h.MOSTLY_CLEAR_NIGHT=33]="MOSTLY_CLEAR_NIGHT",h[h.MOSTLY_CLEAR_DAY=34]="MOSTLY_CLEAR_DAY",h[h.MIXED_RAIN_HAIL=35]="MIXED_RAIN_HAIL",h[h.SUNNY_ALT=36]="SUNNY_ALT",h[h.ISOLATED_THUNDERSTORMS=37]="ISOLATED_THUNDERSTORMS",h[h.SCATTERED_THUNDERSTORMS_DAY=38]="SCATTERED_THUNDERSTORMS_DAY",h[h.SCATTERED_SHOWERS_DAY=39]="SCATTERED_SHOWERS_DAY",h[h.HEAVY_RAIN=40]="HEAVY_RAIN",h[h.SCATTERED_SNOW_SHOWERS_DAY=41]="SCATTERED_SNOW_SHOWERS_DAY",h[h.HEAVY_SNOW_BLIZZARD=42]="HEAVY_SNOW_BLIZZARD",h[h.HEAVY_SNOW_BLIZZARD_ALT=43]="HEAVY_SNOW_BLIZZARD_ALT",h[h.NA=44]="NA",h[h.SCATTERED_SHOWERS_NIGHT=45]="SCATTERED_SHOWERS_NIGHT",h[h.SCATTERED_SNOW_SHOWERS_NIGHT=46]="SCATTERED_SNOW_SHOWERS_NIGHT",h[h.SCATTERED_THUNDERSTORMS_NIGHT=47]="SCATTERED_THUNDERSTORMS_NIGHT",(C=I||(r.IconCodeExtended=I={}))[C.STRONG_STORMS=300]="STRONG_STORMS",C[C.STRONG_STORMS_WIND=310]="STRONG_STORMS_WIND",C[C.FREEZING_RAIN=1e3]="FREEZING_RAIN",C[C.LIGHT_FREEZING_RAIN=1001]="LIGHT_FREEZING_RAIN",C[C.HEAVY_FREEZING_RAIN=1002]="HEAVY_FREEZING_RAIN",C[C.FREEZING_RAIN_WIND=1010]="FREEZING_RAIN_WIND",C[C.LIGHTFREEZING_RAIN_WIND=1011]="LIGHTFREEZING_RAIN_WIND",C[C.HEAVY_FREEZING_RAIN_WIND=1012]="HEAVY_FREEZING_RAIN_WIND",C[C.LIGHT_FREEZING_RAIN_FOG=1051]="LIGHT_FREEZING_RAIN_FOG",C[C.SLEET=1800]="SLEET",C[C.LIGHT_SLEET=1801]="LIGHT_SLEET",C[C.SLEET_WIND=1810]="SLEET_WIND",C[C.LIGHT_SLEET_WIND=1811]="LIGHT_SLEET_WIND",C[C.SCATTERED_THUNDERSTORMS_WIND=3819]="SCATTERED_THUNDERSTORMS_WIND",C[C.HEAVY_SNOW=4200]="HEAVY_SNOW",C[C.HEAVY_SNOW_WIND=4210]="HEAVY_SNOW_WIND",C[C.BLIZZARD=4300]="BLIZZARD",C[C.FREEZING_RAIN_SLEET=5100]="FREEZING_RAIN_SLEET",C[C.LIGHT_FREEZING_RAIN_SLEET=5101]="LIGHT_FREEZING_RAIN_SLEET",C[C.FREEZING_RAIN_SLEET_WIND=5110]="FREEZING_RAIN_SLEET_WIND",C[C.LIGHT_FREEZING_RAIN_SLEET_WIND=5111]="LIGHT_FREEZING_RAIN_SLEET_WIND",C[C.RAIN_FREEZING_RAIN=5300]="RAIN_FREEZING_RAIN",C[C.LIGHT_RAIN_FREEZING_RAIN=5301]="LIGHT_RAIN_FREEZING_RAIN",C[C.HEAVY_RAIN_FREEZING_RAIN=5302]="HEAVY_RAIN_FREEZING_RAIN",C[C.RAIN_FREEZING_RAIN_WIND=5310]="RAIN_FREEZING_RAIN_WIND",C[C.LIGHT_RAIN_FREEZING_RAIN_WIND=5311]="LIGHT_RAIN_FREEZING_RAIN_WIND",C[C.HEAVY_RAIN_FREEZING_RAIN_WIND=5312]="HEAVY_RAIN_FREEZING_RAIN_WIND",C[C.LIGHT_RAIN_FREEZING_RAIN_FOG=5351]="LIGHT_RAIN_FREEZING_RAIN_FOG",C[C.THUNDER_SNOW=5600]="THUNDER_SNOW",C[C.THUNDER_SNOW_WIND=5610]="THUNDER_SNOW_WIND",C[C.SCATTERED_STRONG_STORMS=5709]="SCATTERED_STRONG_STORMS",C[C.SCATTERED_STRONG_STORMS_WIND=5719]="SCATTERED_STRONG_STORMS_WIND",C[C.RAIN_ICE_EARLY=6500]="RAIN_ICE_EARLY",C[C.LIGHT_RAIN_ICE_EARLY=6501]="LIGHT_RAIN_ICE_EARLY",C[C.AM_RAIN_ICE=6503]="AM_RAIN_ICE",C[C.AM_LIGHT_RAIN_ICE=6504]="AM_LIGHT_RAIN_ICE",C[C.RAIN_ICE_WIND_EARLY=6510]="RAIN_ICE_WIND_EARLY",C[C.LIGHT_RAIN_ICE_WIND_EARLY=6511]="LIGHT_RAIN_ICE_WIND_EARLY",C[C.AM_RAIN_ICE_WIND=6513]="AM_RAIN_ICE_WIND",C[C.AM_LIGHT_RAIN_ICE_WIND=6514]="AM_LIGHT_RAIN_ICE_WIND",C[C.ICE_EARLY=6600]="ICE_EARLY",C[C.AM_ICE=6603]="AM_ICE",C[C.ICE_WIND_EARLY=6610]="ICE_WIND_EARLY",C[C.AM_ICE_WIND=6613]="AM_ICE_WIND",C[C.RAIN_ICE_LATE=7500]="RAIN_ICE_LATE",C[C.LIGHT_RAIN_ICE_LATE=7501]="LIGHT_RAIN_ICE_LATE",C[C.PM_RAIN_ICE=7503]="PM_RAIN_ICE",C[C.PM_LIGHT_RAIN_ICE=7504]="PM_LIGHT_RAIN_ICE",C[C.RAIN_ICE_WIND_LATE=7510]="RAIN_ICE_WIND_LATE",C[C.LIGHT_RAIN_ICE_WIND_LATE=7511]="LIGHT_RAIN_ICE_WIND_LATE",C[C.PM_RAIN_ICE_WIND=7513]="PM_RAIN_ICE_WIND",C[C.PM_LIGHT_RAIN_ICE_WIND=7514]="PM_LIGHT_RAIN_ICE_WIND",C[C.ICE_LATE=7600]="ICE_LATE",C[C.PM_ICE=7603]="PM_ICE",C[C.ICE_WIND_LATE=7610]="ICE_WIND_LATE",C[C.PM_ICE_WIND=7613]="PM_ICE_WIND",C[C.RAIN_TO_ICE=8100]="RAIN_TO_ICE",C[C.RAIN_TO_ICE_WIND=8110]="RAIN_TO_ICE_WIND",C[C.ICE_TO_RAIN=8500]="ICE_TO_RAIN",C[C.ICE_TO_RAIN_WIND=8510]="ICE_TO_RAIN_WIND",r.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"},r.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"}},861160,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.normalizeCardinal=void 0;let a=e.r(349262),i={O:a.WindDirectionCardinal.WEST,NO:a.WindDirectionCardinal.NORTHWEST,NNO:a.WindDirectionCardinal.NORTH_NORTHWEST,ONO:a.WindDirectionCardinal.WEST_NORTHWEST,OSO:a.WindDirectionCardinal.WEST_SOUTHWEST,SO:a.WindDirectionCardinal.SOUTHWEST,SSO:a.WindDirectionCardinal.SOUTH_SOUTHWEST};r.normalizeCardinal=e=>i[e]||e},889951,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getCurrentObservations=s;let a=e.r(979777),i=e.r(678651),n=e.r(414655),o=e.r(861160),l=e.r(349262);async function s(e){let t=(0,a.getCurrentObservationsUrlConfig)(e),r=(0,i.urlFrom)(t),s=await fetch(r,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:300}}),c=await (0,n.handleFetchResponse)(s);return{...c,pressureMeanSeaLevel:e.units===l.Units.IMPERIAL?c.pressureMeanSeaLevel/33.8639:c.pressureMeanSeaLevel,windDirectionCardinal:(0,o.normalizeCardinal)(c.windDirectionCardinal)}}},650130,(e,t,r)=>{"use strict";function a(e){return Math.PI/180*e}function i(e,t,r,i){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(i))return NaN;if(e===r&&t===i)return 0;let n=a(r-e),o=a(i-t),l=Math.sin(n/2)*Math.sin(n/2)+Math.cos(a(e))*Math.cos(a(r))*Math.sin(o/2)*Math.sin(o/2);return 2*Math.atan2(Math.sqrt(l),Math.sqrt(1-l))*6371}function n(e,t,r){let a=-90,i=90,n=-180,o=180,l="",s=0,c=0,d=!0;for(;l.length=e?(c=(c=t?(c=(c{"use strict";var t=e.i(304116),r=e.i(388706),a=e.i(258990);function i(e){let t=(/\/day-\d+$/.test(e)?e.slice(0,e.lastIndexOf("/")):e).split("/").pop()??"";return r.CANONICAL_PAGE_TYPES.includes(t)?t:void 0}e.s(["LOC_ID_SEGMENT",0,"/l/","isSwappableLocationPathname",0,function({pathname:e,locId:t}){return!!t||void 0!==i(e)||e.includes("/l/")},"swapLocationOnCurrentPage",0,function({pathname:e,locId:r,locale:n,identifier:o,featureId:l,placeId:s,canonicalID:c,skipCanonical:d}){if(r){let t=(0,a.decodeLocId)(r);return e.replace(r,t).replace(t,o)}let u=i(e);if(u)return(0,t.buildLocationPageHref)({pageType:u,locale:n,canonicalID:c,featureId:l,placeId:s,skipCanonical:d});let I=e.indexOf("/l/");if(-1!==I){let t=e.slice(0,I+3);return`${t}${o}`}return null}])},262453,214008,352711,e=>{"use strict";var t=e.i(546446),r=e.i(150137);e.s(["usePreciseGeocode",0,function(){return(0,t.useAtomValue)(r.preciseGeocodeAtom)}],262453);var a=e.i(726249);e.s(["isSameLocation",0,function(e,t){if(!e||!t)return!1;let r=(0,a.locationDedupKey)(e);return!!r&&r===(0,a.locationDedupKey)(t)}],214008);var i=e.i(699173),n=e.i(592121),o=e.i(961123),l=e.i(553329),s=e.i(695881),c=e.i(88349);let d=(0,s.createLogger)("useRequestPreciseLocation");var u=e.i(942400),I=e.i(520938),_=e.i(671525),E=e.i(747961);let N=(0,n.forwardRef)(({title:e,titleId:t,desc:r,descId:a,...n},o)=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:o,"aria-labelledby":t,"aria-describedby":a,...n,children:[r?(0,i.jsx)("desc",{id:a,children:r}):null,void 0===e?(0,i.jsx)("title",{id:t,children:"Current Location Lost"}):e?(0,i.jsx)("title",{id:t,children:e}):null,(0,i.jsx)("g",{fill:"currentColor",children:(0,i.jsx)("path",{d:"M15 14.295 1.705 1 1 1.705l4 4L1.33 7.03a.5.5 0 0 0-.323.467.5.5 0 0 0 .323.468l4.8 1.92 1.92 4.8A.5.5 0 0 0 8.5 15a.5.5 0 0 0 .46-.33L10.3 11l4 4zm-6.522-1.197L6.885 9.115 2.902 7.522 4.335 7l1.435-.5 3.73 3.73-.5 1.435zM7.845 5.725l3.82-1.39-1.39 3.82.78.78L12.97 3.67a.499.499 0 0 0-.64-.64L7.065 4.945z"})})]})),R=n.default.forwardRef((e,t)=>(0,i.jsx)(E.BaseIcon,{ref:t,icon:N,...e}));R.displayName="CurrentLocationLost",e.i(807079);var T=e.i(754219);e.s(["useImprovePrecisionFlow",0,function(e){let{request:s}=function(){let[e,i]=(0,n.useState)("idle"),[o,s]=(0,n.useState)(void 0),u=(0,t.useSetAtom)(r.preciseGeocodeAtom),I=(0,n.useRef)(!1);return{status:e,geocode:o,request:(0,n.useCallback)(async()=>{if(I.current)return{status:"requesting",geocode:void 0};I.current=!0,i("requesting");try{let e;if(navigator.permissions){let{data:t,error:r}=await (0,l.tryCatch)(navigator.permissions.query({name:"geolocation"}));r?d.error("Permissions API query failed",r):e=t?.state}if("denied"===e)return i("denied"),{status:"denied",geocode:void 0};let t=await (0,c.getGeolocationAPIGeocode)(1e4,{bypassCache:!0});if(t?.latitude&&t?.longitude){let e=(0,a.formatGeocode)(`${t.latitude},${t.longitude}`);return s(e),u(e),i("granted"),{status:"granted",geocode:e}}return i("error"),{status:"error",geocode:void 0}}finally{I.current=!1}},[u]),reset:(0,n.useCallback)(()=>{i("idle"),s(void 0)},[])}}(),{navigate:E}=(0,_.usePageNavigation)(),N=(0,o.useParams)(),f=(0,o.usePathname)(),A=(0,u.usePageLocale)(),p=N?.locId,h=N?.canonicalLocation,C=(0,n.useRef)(e);return C.current=e,(0,n.useCallback)(async()=>{let{status:e,geocode:t}=await s();if("denied"===e){let e=C.current;(0,T.toast)(e.unavailableTitle,{id:"improve-precision",icon:(0,i.jsx)(R,{className:"size-5 text-white"}),description:e.unavailableBody,duration:8e3});return}if("granted"!==e||!t||!(0,I.isSwappableLocationPathname)({pathname:f,locId:p,canonicalLocation:h}))return;let{data:r}=await (0,l.tryCatch)(fetch(`/api/location/canonical?geocode=${encodeURIComponent(t)}&language=${encodeURIComponent(A)}`).then(e=>e.ok?e.json():null)),a=r?.featureId,n=r?.placeId,o=r?.canonicalID,c=a??n;if(!c)return;let d=(0,I.swapLocationOnCurrentPage)({pathname:f,locId:p,canonicalLocation:h,locale:A,identifier:c,featureId:a,placeId:n,canonicalID:o});d&&E(d)},[s,E,p,h,f,A])}],352711)},870393,e=>{"use strict";let t=(0,e.i(514514).default)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);e.s(["ChevronRight",0,t],870393)}]);