(globalThis["TURBOPACK_remote_chunk_loading_global_wx-next-web"]||(globalThis["TURBOPACK_remote_chunk_loading_global_wx-next-web"]=[])).push(["object"==typeof document?document.currentScript:void 0,982538,e=>{"use strict";var t=e.i(247865);function a(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function l(e){let l=t.forwardRef((l,r)=>{var o;let x,g,{children:p,...f}=l,m=null,h=!1,v=[];s(p)&&"function"==typeof u&&(p=u(p._payload)),t.Children.forEach(p,e=>{var a;if(a=e,t.isValidElement(a)&&"function"==typeof a.type&&"__radixId"in a.type&&a.type.__radixId===i){h=!0;let t="child"in e.props?e.props.child:e.props.children;s(t)&&"function"==typeof u&&(t=u(t._payload)),m=n(e,t),v.push(m?.props?.children)}else v.push(e)}),m?m=t.cloneElement(m,void 0,v):!h&&1===t.Children.count(p)&&t.isValidElement(p)&&(m=p);let b=m?(o=m,(g=(x=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in x&&x.isReactWarning)?o.ref:(g=(x=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in x&&x.isReactWarning)?o.props.ref:o.props.ref||o.ref):void 0,y=function(...e){return t.useCallback(function(...e){return t=>{let l=!1,r=e.map(e=>{let r=a(e,t);return l||"function"!=typeof r||(l=!0),r});if(l)return()=>{for(let t=0;t{let t=i(...e);return r(...e),t}:r&&(a[l]=r):"style"===l?a[l]={...r,...i}:"className"===l&&(a[l]=[r,i].filter(Boolean).join(" "))}return{...e,...a}}(f,m.props??{});return m.type!==t.Fragment&&(w.ref=r?y:b),t.cloneElement(m,w)});return l.displayName=`${e}.Slot`,l}var r=l("Slot"),i=Symbol.for("radix.slottable"),n=(e,a)=>{if("child"in e.props){let a=e.props.child;return t.isValidElement(a)?t.cloneElement(a,void 0,e.props.children(a.props.children)):null}return t.isValidElement(a)?a:null},o=Symbol.for("react.lazy");function s(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===o&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var c=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,d=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,u=t[" use ".trim().toString()];e.s(["Slot",0,r,"createSlot",0,l,"createSlottable",0,function(e){let t=e=>"child"in e?e.children(e.child):e.children;return t.displayName=`${e}.Slottable`,t.__radixId=i,t}],982538)},294237,e=>{"use strict";var t=e.i(7284);let a=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,l=t.clsx;e.s(["cva",0,(e,t)=>r=>{var i;if((null==t?void 0:t.variants)==null)return l(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:n,defaultVariants:o}=t,s=Object.keys(n).map(e=>{let t=null==r?void 0:r[e],l=null==o?void 0:o[e];if(null===t)return null;let i=a(t)||a(l);return n[e][i]}),c=r&&Object.entries(r).reduce((e,t)=>{let[a,l]=t;return void 0===l||(e[a]=l),e},{});return l(e,s,null==t||null==(i=t.compoundVariants)?void 0:i.reduce((e,t)=>{let{class:a,className:l,...r}=t;return Object.entries(r).every(e=>{let[t,a]=e;return Array.isArray(a)?a.includes({...o,...c}[t]):({...o,...c})[t]===a})?[...e,a,l]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}])},581014,e=>{"use strict";var t=e.i(730921);function a(e,t){return(...e)=>{try{return t(...e)}catch{throw Error(void 0)}}}let l=a(0,t.useTranslations),r=a(0,t.useFormatter);e.s(["useFormatter",0,r,"useTranslations",0,l])},678651,(e,t,a)=>{"use strict";function l(e){let t=new URLSearchParams;for(let[a,l]of Object.entries(e))void 0!==l&&t.append(a,l);return t}Object.defineProperty(a,"__esModule",{value:!0}),a.queryStringToSearchParams=l,a.urlFrom=function({host:e,...t}){if(!e)throw Error("Host is missing");let a=new URL(`https://${e}`);return Object.assign(a,{...t,hostname:e}),t.query&&(a.search=l(t.query).toString()),a}},89887,e=>{"use strict";function t(e,t){let a="/"+e.split("/").filter(Boolean).slice(1).join("/");return"en-US"===t?a:`/${t}${a}`}e.s(["buildLocationCanonicalBase",0,t,"buildLocationCanonicalPath",0,function(e,a,l){return`${t(e,a)}/${l}`}])},611540,e=>{"use strict";e.i(438335);let t=(e,...t)=>{if(!e)return"";let[a={},l=!1]=t,r=Object.entries(a).reduce((e,[t,a])=>void 0===a?e:e.replaceAll(`{${t}}`,a),e);return l?r:"/en-US"===r?"/":r.replace("/en-US/","/")};e.s(["URLS",0,{BannerTextHref:"/subscribe/checkout?products=e251f39b-afd7-4ad9-9c87-5e2a8ed63fbb&tpcc=mktg-{pageKey}-mainmenu-mobilebanner",activityHubCamping:"/{locale}/activity-hub/camping/{locId}",activityHubCycling:"/{locale}/activity-hub/cycling/{locId}",activityHubGardening:"/{locale}/activity-hub/gardening/{locId}",activityHubGolf:"/{locale}/activity-hub/golf/{locId}",activityHubHiking:"/{locale}/activity-hub/hiking/{locId}",activityHubPage:"/{locale}/activity-hub/{locId}",activityHubRunning:"/{locale}/activity-hub/running/{locId}",activityHubTennis:"/{locale}/activity-hub/tennis/{locId}",airQuality:"/{locale}/forecast/air-quality/l/{locId}",alertDetails:"/{locale}/weather/alerts/localalerts/l/{locId}",alerts:"/{locale}/weather/alerts/localalerts/l/{locId}",allergy:"/{locale}/forecast/allergy/l/{locId}",apps:"/{locale}/{collectionId}/{assetName}",article:"/{locale}/{collectionId}/news/{articleTitle}",atmosphere:"/atmosphere",betterDecisions:"/mission",boatBeach:"/{locale}/forecast/boat-beach/l/{locId}",breathing:"/{locale}/forecast/breathing/l/{locId}",callforcode:"/callforcode",christmasCountdown:"/forecast/christmas-countdown/l/{locId}",coldFlu:"/{locale}/forecast/cold-flu/l/{locId}",covid19:"/{locale}/coronavirus/l/{locId}",covid19map:"/{locale}/coronavirus/map/l/{locId}",dataDefinitions:"/{locale}/data-definitions",dataInventory:"/{locale}/data-inventory",dataPartners:"/{locale}/data-partners",dataRights:"/{locale}/data-rights",explore:"/explore",farming:"/{locale}/forecast/agriculture/l/{locId}",fishing:"/{locale}/forecast/fishing/l/{locId}",fiveday:"/{locale}/weather/5day/l/{locId}",flights:"/flights",forgotPassword:"/{locale}/forgot-password",goRun:"/{locale}/forecast/gorun/l/{locId}",grilling:"/home-garden/grilling",home:"/{locale}",homeGarden:"/home-garden",hourly:"/{locale}/weather/hourbyhour/l/{locId}",hurricane:"/{locale}/hurricane",hurricaneCentral:"/storms/hurricane-central",hurricaneHub:"/hurricane/ian-2022",hurricaneNicole:"/hurricane/nicole-2022",hurricaneRetro:"/hurricane/sandy-2012",interactiveMap:"/{locale}/weather/radar/interactive/l/{locId}",legal:"/{locale}/{collectionId}/{assetName}",maps:"/maps/{collectionId}",memberLogin:"/{locale}/login",memberSettings:"/{locale}/member/settings",memberSignup:"/{locale}/signup",memberSubscription:"/{locale}/member/subscription",memorialdayCountdown:"/forecast/memorial-day-countdown/l/{locId}",mlbCountdown:"/{locale}/forecast/opening-day-countdown/l/{locId}",monthly:"/{locale}/weather/monthly/l/{locId}",myDashboard:"/{locale}/mydashboard",news:"/news",newsletter:"/{locale}/newsletter",notification:"/{locale}/life/manage-notifications",pets:"/pets",precipitation:"/{locale}/precipitation/l/{locId}",privacyPolicy:"/{locale}/privacy/privacy-policy",privacyPolicyDirectory:"/{locale}/privacy-policy-directory",privacySettings:"/{locale}/privacy-settings",radar:"/{locale}/weather/radar/interactive/l/{locId}",recipes:"/home-garden/recipes",resetPassword:"/{locale}/reset-password",rss:"/rss",safetyIndex:"/safety/index",samsungWeatherConditions:"/{locale}/weather-conditions/l/{locId}",scienceEnvironment:"/science/environment",search:"/{locale}/search/enhancedlocalsearch",shop:"https://shop.weather.com/",ski:"/{locale}/forecast/ski/l/{locId}",skinHealth:"/health/skin-health",slideshows:"/{locale}/slideshows",spaceSkywatching:"/science/space",stormRadar:"//apps.apple.com/us/app/storm-radar-weather-tracker/id1216396545",stormRadarFeatures:"/storm-radar",subsBundles:"/subscribe/bundle",subscriptionPhase2:"/{locale}/subscribe/phase2",tenday:"/{locale}/weather/tenday/l/{locId}",termsOfUse:"/{locale}/privacy/terms-of-use",thanksgivingCountdown:"/forecast/thanksgiving-countdown/l/{locId}",today:"/{locale}/weather/today/l/{locId}",tornadoCentral:"/storms/tornado-central",travel:"/travel",unsubscribe:"/{locale}/life/alerts/unsubscribe",usForecast:"/maps/currentusweather",usHealth:"/maps/health/allergies/treepollen",usSatAndRadar:"/maps/ussatellitemap",usSevereAlerts:"/maps/severealerts",usTravel:"/maps/travel/airport-delays",userSubscription:"/{locale}/subscribe",video:"/{locale}/{collectionId}/video/{videoTitle}",weatherAsProviderExplainer:"https://theweathercompany.info/{locale}/partners",weekend:"/{locale}/weather/weekend/l/{locId}",worldSatellite:"/maps/satellite/caribbeanweathermap",wu:"//www.wunderground.com",yesterday:"//www.wunderground.com/history/daily/{locId}/yesterday"},"interpolateLocationUrl",0,(e,{locale:a,locId:l,featureId:r})=>t(e,{locale:a,locId:(r?.startsWith("address.")?void 0:r)??l}),"interpolateUrl",0,t],611540)},747961,e=>{"use strict";var t=e.i(902875),a=e.i(247865),l=e.i(294237),r=e.i(789876);let i=(0,l.cva)("inline-block",{variants:{size:{sm:"w-4 h-4",md:"w-6 h-6",lg:"w-8 h-8",xl:"w-16 h-16",xxl:"w-32 h-32"},color:{primary:"text-gray-900",brandDark:"text-brand-dark",brandLight:"text-brand-light",inverse:"text-white"}},defaultVariants:{size:"md",color:"primary"}}),n=a.default.forwardRef(({icon:e,size:a,color:l,title:n,desc:o,className:s,ariaHidden:c,...d},u)=>(0,t.jsx)(e,{ref:u,className:(0,r.cn)(i({size:a,color:l}),s),title:n,desc:o,...c&&{"aria-hidden":c},...d}));n.displayName="BaseIcon",e.s(["BaseIcon",0,n])},789876,e=>{"use strict";var t=e.i(7284);let a=(0,e.i(923191).extendTailwindMerge)({extend:{classGroups:{"font-size":[{text:["xxs"]}]},theme:{color:[{brand:["100","200","300","400","dark","light"]}]}}});e.s(["cn",0,function(...e){return a((0,t.clsx)(e))}])},47524,e=>{"use strict";var t=e.i(902875),a=e.i(247865),l=e.i(747961);let r=(0,a.forwardRef)(({title:e,titleId:a,desc:l,descId:r,...i},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":a,"aria-describedby":r,...i,children:[l?(0,t.jsx)("desc",{id:r,children:l}):null,void 0===e?(0,t.jsx)("title",{id:a,children:"Chevron Right"}):e?(0,t.jsx)("title",{id:a,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"})]})),i=a.default.forwardRef((e,a)=>(0,t.jsx)(l.BaseIcon,{ref:a,icon:r,...e}));i.displayName="ChevronRight",e.s(["ChevronRight",0,i])},559421,4085,e=>{"use strict";var t=e.i(725287),a=e.i(89887),l=e.i(64412),r=e.i(942400),i=e.i(269153);function n(){let e=(0,t.useParams)(),l=(0,r.usePageLocale)(),n=(0,i.useIsSamsungPartner)(),o=e?.locationPath;if(!n&&Array.isArray(o)&&o.length)return(0,a.buildLocationCanonicalBase)(`/default/${o.join("/")}`,l)}e.s(["useRouteCanonicalBase",0,n],4085);var o=e.i(512134);e.i(388706),e.s(["useCanonicalBasePath",0,function(){let e=(0,t.useParams)(),s=(0,t.usePathname)(),{location:c}=(0,l.useLocation)(),d=(0,r.usePageLocale)(),u=(0,i.useIsSamsungPartner)(),x=(0,o.useIsClient)(),g=n();if(!x||u)return;if(g)return g;let p=e?.canonicalLocation,f=e?.featureId;if(!(p?.length||f&&!s.includes("/l/")))return;let m=c?.canonicalID;if(m)return(0,a.buildLocationCanonicalBase)(m,d);if(s.includes("/byFeatureId/"))return;let h=/\/day-\d+$/.test(s)?s.substring(0,s.lastIndexOf("/")):s;return h.substring(0,h.lastIndexOf("/"))}],559421)},262453,214008,352711,e=>{"use strict";var t=e.i(546446),a=e.i(150137);e.s(["usePreciseGeocode",0,function(){return(0,t.useAtomValue)(a.preciseGeocodeAtom)}],262453);var l=e.i(726249);e.s(["isSameLocation",0,function(e,t){if(!e||!t)return!1;let a=(0,l.locationDedupKey)(e);return!!a&&a===(0,l.locationDedupKey)(t)}],214008);var r=e.i(902875),i=e.i(247865),n=e.i(725287),o=e.i(553329),s=e.i(695881),c=e.i(88349);let d=(0,s.createLogger)("useRequestPreciseLocation");var u=e.i(942400),x=e.i(520938),g=e.i(671525),p=e.i(426606),f=e.i(747961);let m=(0,i.forwardRef)(({title:e,titleId:t,desc:a,descId:l,...i},n)=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":t,"aria-describedby":l,...i,children:[a?(0,r.jsx)("desc",{id:l,children:a}):null,void 0===e?(0,r.jsx)("title",{id:t,children:"Current Location Lost"}):e?(0,r.jsx)("title",{id:t,children:e}):null,(0,r.jsx)("g",{fill:"currentColor",children:(0,r.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"})})]})),h=i.default.forwardRef((e,t)=>(0,r.jsx)(f.BaseIcon,{ref:t,icon:m,...e}));h.displayName="CurrentLocationLost",e.i(807079);var v=e.i(754219);e.s(["useImprovePrecisionFlow",0,function(e){let{request:s}=function(){let[e,r]=(0,i.useState)("idle"),[n,s]=(0,i.useState)(void 0),u=(0,t.useSetAtom)(a.preciseGeocodeAtom),x=(0,i.useRef)(!1);return{status:e,geocode:n,request:(0,i.useCallback)(async()=>{if(x.current)return{status:"requesting",geocode:void 0};x.current=!0,r("requesting");try{let e;if(navigator.permissions){let{data:t,error:a}=await (0,o.tryCatch)(navigator.permissions.query({name:"geolocation"}));a?d.error("Permissions API query failed",a):e=t?.state}if("denied"===e)return r("denied"),{status:"denied",geocode:void 0};let t=await (0,c.getGeolocationAPIGeocode)(1e4,{bypassCache:!0});if(t?.latitude&&t?.longitude){let e=(0,l.formatGeocode)(`${t.latitude},${t.longitude}`);return s(e),u(e),r("granted"),{status:"granted",geocode:e}}return r("error"),{status:"error",geocode:void 0}}finally{x.current=!1}},[u]),reset:(0,i.useCallback)(()=>{r("idle"),s(void 0)},[])}}(),{navigate:f}=(0,g.usePageNavigation)(),m=(0,n.useParams)(),b=(0,n.usePathname)(),y=(0,u.usePageLocale)(),w=m?.locId,I=m?.canonicalLocation,L=(0,i.useRef)(e);return L.current=e,(0,i.useCallback)(async()=>{let{status:e,geocode:t}=await s();if("denied"===e){let e=L.current;(0,v.toast)(e.unavailableTitle,{id:"improve-precision",icon:(0,r.jsx)(h,{className:"size-5 text-white"}),description:e.unavailableBody,duration:8e3});return}if("granted"!==e||!t||!(0,x.isSwappableLocationPathname)({pathname:b,locId:w,canonicalLocation:I}))return;let{data:a}=await (0,o.tryCatch)((0,p.fetchWithoutCredentials)(`/api/location/canonical?geocode=${encodeURIComponent(t)}&language=${encodeURIComponent(y)}`).then(e=>e.ok?e.json():null)),l=a?.featureId,i=a?.placeId,n=a?.canonicalID,c=l??i;if(!c)return;let d=(0,x.swapLocationOnCurrentPage)({pathname:b,locId:w,canonicalLocation:I,locale:y,identifier:c,featureId:l,placeId:i,canonicalID:n});d&&f(d)},[s,f,w,I,b,y])}],352711)},304116,e=>{"use strict";var t=e.i(89887),a=e.i(611540),l=e.i(388706);e.s(["buildLocationPageHref",0,function({pageType:e,locale:r,canonicalID:i,featureId:n,placeId:o,canonicalBasePath:s,skipCanonical:c=!1}){let d=l.PAGE_TYPE_TO_SUFFIX[e],u=l.CANONICAL_ELIGIBLE_BY_PAGE[e]&&!c;return s&&u?`${s}/${d}`:u&&i?(0,t.buildLocationCanonicalPath)(i,r,d):(0,a.interpolateLocationUrl)(a.URLS[l.PAGE_TYPE_TO_URL_KEY[e]],u?{locale:r,locId:o??n??"",featureId:n}:{locale:r,locId:o??""})}])},258990,e=>{"use strict";e.s(["decodeLocId",0,e=>{try{return decodeURIComponent(e)}catch{return e}}])},520938,e=>{"use strict";var t=e.i(304116),a=e.i(388706),l=e.i(258990);function r(e){let t=(/\/day-\d+$/.test(e)?e.slice(0,e.lastIndexOf("/")):e).split("/").pop()??"";return a.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!==r(e)||e.includes("/l/")},"swapLocationOnCurrentPage",0,function({pathname:e,locId:a,locale:i,identifier:n,featureId:o,placeId:s,canonicalID:c,skipCanonical:d}){if(a){let t=(0,l.decodeLocId)(a);return e.replace(a,t).replace(t,n)}let u=r(e);if(u)return(0,t.buildLocationPageHref)({pageType:u,locale:i,canonicalID:c,featureId:o,placeId:s,skipCanonical:d});let x=e.indexOf("/l/");if(-1!==x){let t=e.slice(0,x+3);return`${t}${n}`}return null}])},269153,e=>{"use strict";var t=e.i(546446),a=e.i(763886),l=e.i(132084);e.s(["useIsSamsungPartner",0,function(){return(0,t.useAtomValue)(a.partnerAtom)===l.Partner.SAMSUNG}])},877957,564993,e=>{"use strict";var t=e.i(902875),a=e.i(247865),l=e.i(982538),r=e.i(294237),i=e.i(632137),n=e.i(747961);let o=(0,a.forwardRef)(({title:e,titleId:a,desc:l,descId:r,...i},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":a,"aria-describedby":r,...i,children:[l?(0,t.jsx)("desc",{id:r,children:l}):null,void 0===e?(0,t.jsx)("title",{id:a,children:"Loader Circle"}):e?(0,t.jsx)("title",{id:a,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.65 2.926A5.335 5.335 0 1 0 13.335 8a.665.665 0 0 1 1.33 0 6.665 6.665 0 1 1-4.606-6.34.665.665 0 1 1-.41 1.266",clipRule:"evenodd"})]})),s=a.default.forwardRef((e,a)=>(0,t.jsx)(n.BaseIcon,{ref:a,icon:o,...e}));s.displayName="LoaderCircle",e.s(["LoaderCircle",0,s],564993);let c=(0,r.cva)("rounded-lg cursor-pointer",{variants:{variant:{default:"bg-brand-400 text-primary-foreground hover:bg-[#252C3F] active:bg-[#0C1226] focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-0",secondary:"bg-white text-gray-900 active:bg-[#E6E6E6] focus:outline-none focus:ring-1 focus:ring-blue-500 focus:ring-offset-0",destructive:"bg-alert-severe hover:bg-[#C1251A] active:bg-[#A70C00] text-white focus:outline-none focus:ring-1 focus:ring-blue-500 focus:ring-offset-0",outline:"border-1 border-gray-500 hover:bg-white active:bg-[#E6E6E6] bg-transparent focus:outline-none focus:ring-1 focus:ring-blue-500 focus:ring-offset-0",ghost:"hover:bg-white active:bg-[#E6E6E6] bg-transparent focus:outline-none focus:ring-1 focus:ring-blue-500 focus:ring-offset-0",link:"text-primary underline-offset-3 underline focus:outline-none focus:ring-1 focus:ring-blue-500 focus:ring-offset-0",avatarAccountLink:"text-primary text-[14px]",avatarGoPremium:"bg-gray-900 text-white text-[14px]",avatarSignOut:"text-primary text-[16px]",ghostUI:""},size:{default:"h-10 px-4 py-3",lg:"h-10 px-8 py-3",sm:"h-8 px-3 py-2",xsm:"h-6 px-2",icon:"h-10 w-10",text:""},loading:{true:"pointer-events-none cursor-not-allowed opacity-50",false:""},disabled:{true:"pointer-events-none cursor-not-allowed opacity-30",false:""},theme:{standard:"",samsung:"rounded-[18px] h-auto bg-[#252422] px-2.5 py-2 text-[15px] font-medium text-white hover:bg-[#252422] active:bg-[#252422]"}},defaultVariants:{variant:"default",size:"default",loading:!1,disabled:!1,theme:"standard"}}),d=a.forwardRef(({className:e,variant:a="default",size:r,theme:n="standard",asChild:o=!1,disabled:d=!1,loading:u=!1,children:x,...g},p)=>{let f=o?l.Slot:"button";return(0,t.jsx)(f,{...g,className:(0,i.cn)(c({variant:a,size:r,loading:u,disabled:d,theme:n}),"inline-flex items-center justify-center",e),ref:p,disabled:d||u,children:o?x:(0,t.jsxs)(t.Fragment,{children:[u&&(0,t.jsx)(s,{size:"sm",className:"mr-2 animate-spin",color:"default"===a||"destructive"===a?"inverse":"primary"}),x]})})});d.displayName="Button",e.s(["Button",0,d],877957)},368847,341669,e=>{"use strict";var t=e.i(902875),a=e.i(247865),l=e.i(294237),r=e.i(632137);let i=({skeletonClassName:e,elementType:a="span"})=>(0,t.jsx)(a,{className:(0,r.cn)("square inline-block animate-pulse rounded bg-gray-200",e)});e.s(["default",0,i],341669);let n={0:"No Clamp",1:"1 Line",2:"2 Lines",3:"3 Lines",4:"4 Lines",5:"5 Lines"};[0,1,2,3,4,5].map(e=>({label:n[e],value:String(e)}));let o=a.default.forwardRef(({className:e,isLoading:a,skeletonClassName:l,variant:n,elementType:o,lineClamp:c,color:d,responsive:u,children:x,...g},p)=>{if(a)return(0,t.jsx)(i,{skeletonClassName:l||""});let f=o||function({variant:e}){switch(e){case"Display.XL":case"Display.L":case"Title.XL":case"Display.M":case"Display.S":case"Title.L":case"Title.M":case"Title.S":return"h2";default:return"p"}}({variant:n}),m=(0,t.jsx)(f,{className:(0,r.cn)(s({variant:n,color:d,lineClamp:c,responsive:u}),e),ref:p,...g,children:x});return u?(0,t.jsx)("div",{className:"@container/text",children:m}):m});o.displayName="Text";let s=(0,l.cva)("",{variants:{variant:{"Display.XL":["text-6xl","leading-relaxed","tracking-tighter"],"Display.L":["text-5xl","leading-normal","tracking-tighter","font-medium"],"Display.M":["text-4xl","leading-tight","tracking-tight","font-medium"],"Display.S":["text-xl","leading-relaxed","tracking-tight","font-medium"],"Title.XL":["text-4xl","leading-snug","tracking-tight","font-extrabold"],"Title.L":["text-3xl","leading-normal","tracking-tight","font-extrabold"],"Title.M":["text-2xl","leading-normal","tracking-tight","font-extrabold"],"Title.S":["text-xl","leading-normal","tracking-tight","font-bold"],"Title.XS":["text-base","leading-relaxed","tracking-tight","font-bold"],"Body.L":["text-lg","leading-loose","tracking-normal","font-medium"],"Body.L.Bold":["text-lg","leading-loose","tracking-normal","font-bold"],"Body.L.ExtraBold":["text-lg","leading-loose","tracking-normal","font-extrabold"],"Body.M":["text-base","leading-loose","tracking-tight","font-medium"],"Body.M.Bold":["text-base","leading-loose","tracking-tight","font-bold"],"Body.M.ExtraBold":["text-base","leading-loose","tracking-tight","font-extrabold"],"Body.S":["text-sm","leading-loose","tracking-tight","font-medium"],"Body.S.Bold":["text-sm","leading-loose","tracking-normal","font-bold"],"Caption.M":["text-xs","leading-normal","tracking-normal","font-medium"],"Caption.M.Bold":["text-xs","leading-normal","tracking-normal","font-bold"],"Caption.S":["text-xxs","leading-loose","tracking-tight","font-medium"],"Caption.S.Bold":["text-xxs","leading-loose","tracking-normal","font-bold"]},responsive:{true:"",false:""},color:{primary:"text-gray-900",secondary:"text-gray-500",default:"text-gray-900",disabled:"text-gray-400",placeholder:"text-gray-600",brandDark:"text-brand-dark",brandLight:"text-brand-light",inverse:"text-white",error:"text-[var(--color-alert-severe)]"},lineClamp:{0:"",1:"line-clamp-1 pb-0.5",2:"line-clamp-2 pb-0.5",3:"line-clamp-3 pb-0.5",4:"line-clamp-4 pb-0.5",5:"line-clamp-5 pb-0.5"}},compoundVariants:[{variant:"Display.XL",responsive:!0,class:"text-4xl @sm/text:text-5xl @lg/text:text-6xl"},{variant:"Display.L",responsive:!0,class:"text-2xl @sm/text:text-4xl @lg/text:text-5xl"},{variant:"Display.M",responsive:!0,class:"text-xl @sm/text:text-2xl @lg/text:text-4xl"},{variant:"Display.S",responsive:!0,class:"text-lg @sm/text:text-xl @lg/text:text-2xl"},{variant:"Title.XL",responsive:!0,class:"text-2xl @sm/text:text-3xl @lg/text:text-4xl"},{variant:"Title.L",responsive:!0,class:"text-xl @sm/text:text-2xl @lg/text:text-3xl"},{variant:"Title.M",responsive:!0,class:"text-lg @sm/text:text-xl @lg/text:text-2xl"},{variant:"Title.S",responsive:!0,class:"text-base @sm/text:text-lg @lg/text:text-xl"},{variant:"Title.XS",responsive:!0,class:"text-sm @sm/text:text-base"},{variant:"Body.L",responsive:!0,class:"text-base @sm/text:text-lg @lg/text:text-xl"},{variant:"Body.L.Bold",responsive:!0,class:"text-base @sm/text:text-lg @lg/text:text-xl"},{variant:"Body.L.ExtraBold",responsive:!0,class:"text-base @sm/text:text-lg @lg/text:text-xl"},{variant:"Body.M",responsive:!0,class:"text-sm @sm/text:text-base @lg/text:text-lg"},{variant:"Body.M.Bold",responsive:!0,class:"text-sm @sm/text:text-base @lg/text:text-lg"},{variant:"Body.M.ExtraBold",responsive:!0,class:"text-sm @sm/text:text-base @lg/text:text-lg"},{variant:"Body.S",responsive:!0,class:"text-xs @sm/text:text-sm @lg/text:text-base"},{variant:"Body.S.Bold",responsive:!0,class:"text-xs @sm/text:text-sm @lg/text:text-base"},{variant:"Caption.M",responsive:!0,class:"text-xxs @sm/text:text-xs @lg/text:text-sm"},{variant:"Caption.M.Bold",responsive:!0,class:"text-xxs @sm/text:text-xs @lg/text:text-sm"},{variant:"Caption.S",responsive:!0,class:"text-xxs @sm/text:text-xxs @lg/text:text-xs"},{variant:"Caption.S.Bold",responsive:!0,class:"text-xxs @sm/text:text-xxs @lg/text:text-xs"}],defaultVariants:{variant:"Body.M",color:"default",responsive:!1}});e.s(["Text",0,o,"default",0,o,"textVariants",0,s],368847)},180193,e=>{"use strict";var t=e.i(902875),a=e.i(247865),l=e.i(617874);let r=(0,a.memo)(({className:e,unitsClassName:a,units:r,value:i,degreeSymbolClass:n,unitOnly:o})=>{let s=null!=i,c=r?(0,l.unitsSystemByCode)(r):null,d=c?.temp,u=Number.isFinite(i)&&Math.round(i);return(0,t.jsx)("span",{"data-testid":"TemperatureValue",className:e,dir:"ltr",children:s||!s&&o?(0,t.jsxs)(t.Fragment,{children:[s&&u,(0,t.jsx)("span",{className:n,children:"°"}),d&&(0,t.jsx)("span",{className:a,children:d})]}):"--"})});e.s(["Temperature",0,r])},632137,e=>{"use strict";var t=e.i(7284);let a=(0,e.i(923191).extendTailwindMerge)({extend:{classGroups:{"font-size":[{text:["xxs"]}]},theme:{color:[{brand:["100","200","300","400","dark","light"]}]}}});e.s(["cn",0,function(...e){return a((0,t.clsx)(e))}])},674885,e=>{"use strict";var t=e.i(981030),a=e.i(617874),l=e.i(889753);let r=(0,t.atom)(e=>e(l.userPreferencesAtom)?.unit||a.UNIT_IMPERIAL),i=(0,t.atom)(e=>e(r)===a.UNIT_IMPERIAL),n=(0,t.atom)(e=>e(r)===a.UNIT_METRIC),o=(0,t.atom)(e=>e(r)===a.UNIT_HYBRID);e.s(["isHybridUnitsAtom",0,o,"isImperialUnitsAtom",0,i,"isMetricUnitsAtom",0,n,"userUnitPreferenceAtom",0,r])},438335,e=>{"use strict";var t=e.i(288906);let a=/^[a-z][a-z0-9+.-]*:\/\//i,l=/[?#]/,r=/\/{2,}/g,i=e=>{if(!e)return e;let t=e.match(a),i=t?t[0].length:0,n=e.slice(0,i),o=e.slice(i),s=o.search(l),c=-1===s?o:o.slice(0,s),d=-1===s?"":o.slice(s);return n+c.replace(r,"/")+d},n=/\/+$/;e.s(["getPublicProductionURL",0,e=>{let a=t.default.env.VERCEL_TARGET_ENV_PRODUCTION_URL??"weather.com",l=t.default.env.VERCEL_PROJECT_PRODUCTION_URL??"weather.com",r=`https://${a??l}`;return(r=r.replace(n,""),e)?i(new URL(e,r).toString()):r},"getPublicURL",0,e=>{let a,l=(t.default.env.VERCEL_TARGET_ENV??"production")?.toLowerCase(),r=t.default.env.VERCEL_BRANCH_URL??"wx-next-web-git-releasebranch2026-10-26.vercel.weather.com",o=t.default.env.VERCEL_TARGET_ENV_URL??"weather.com",s="true"===t.default.env.NEXT_DEV_SERVER_INSECURE||"true"===t.default.env.NEXT_PUBLIC_NEXT_DEV_SERVER_INSECURE;switch(l){case"preview":a=`https://${r}`;break;case"development":a=s?`http://${o}`:`https://${o}`;break;default:a=`https://${o}`}return(a=a.replace(n,""),e)?i(new URL(e,a).toString()):a}],438335)},512134,e=>{"use strict";var t=e.i(247865);e.s(["useIsClient",0,function(){let[e,a]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{a(!0)},[]),e}])}]);