(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,235577,e=>{"use strict";var t=e.i(699173),l=e.i(523084),a=e.i(47524),s=e.i(632137),i=e.i(877957);e.s(["ScrollButton",0,function({direction:e,onClick:n,hidden:r,size:o="default",variant:c="light",className:u}){let h="sm"===o,m=(0,s.cn)("text-current",h?"size-4":"size-6 transition-[width,height] duration-150 group-hover:size-7 group-active:size-6 group-active:duration-100");return(0,t.jsx)(i.Button,{type:"button",onClick:n,"aria-hidden":"true",tabIndex:-1,className:(0,s.cn)("group absolute top-1/2 z-10 flex -translate-y-1/2 cursor-pointer items-center justify-center rounded-full p-0 transition-all duration-150 ease-in-out active:duration-100","dark"===c?"bg-[#252422] text-white hover:bg-[#3a3937] active:bg-[#1a1918]":"solid"===c?"bg-black/80 text-white hover:bg-black/90 active:bg-black":"white"===c?"bg-white/80 text-gray-900 backdrop-blur-[2px] hover:bg-white/95 active:bg-white":"bg-transparent text-gray-900 hover:bg-gray-100 active:bg-gray-200",h?"size-8":"size-12","left"===e&&"left-1","right"===e&&"right-1",r&&"left"===e&&"-translate-x-[calc(100%+1.5rem)]",r&&"right"===e&&"translate-x-[calc(100%+1.5rem)]",r&&"pointer-events-none opacity-0",u),children:"left"===e?(0,t.jsx)(l.ChevronLeft,{className:m}):(0,t.jsx)(a.ChevronRight,{className:m})})}])},457492,e=>{"use strict";var t=e.i(699173),l=e.i(147732),a=e.i(592121),s=e.i(632137),i=e.i(546446),n=e.i(663333),r=e.i(235577),o=e.i(240058);let c=(0,s.cn)("h-full rounded-3xl px-4 text-sm whitespace-nowrap transition-colors text-gray-900 font-bold","inline-flex items-center hover:bg-gray-100 active:bg-gray-200 focus-visible:outline-none focus-visible:bg-gray-100"),u=e=>{let{activeIndex:l,index:a,link:i}=e,n=l===a,r=(0,s.cn)(c,{"bg-gray-100 text-blue-500":n});if(e.onSelect){let{onSelect:l}=e;return(0,t.jsx)("button",{type:"button",onClick:()=>l(a,i),className:(0,s.cn)("cursor-pointer",r),"aria-current":n?"page":void 0,children:i.label})}let{basePath:u,mpa:h}=e,m=i.href??("/"===i.slug?u||"/":`${u}/${i.slug}`);return(0,t.jsx)(o.default,{href:m,mpa:h,className:r,"aria-current":n?"page":void 0,sourceModule:"subnavigation",children:i.label})},h=(0,a.memo)(e=>{let{links:o,activeIndex:c,className:h,constrained:m=!0}=e,[d,v]=(0,a.useState)(!1),[g,b]=(0,a.useState)(!1),p=(0,a.useRef)(null),f=(0,a.useRef)(null),x=(0,a.useRef)(!1),k=(0,i.useAtomValue)(n.deviceClassAtom),j="mobile"!==k&&"tablet"!==k,P=(0,a.useCallback)(()=>{let e=p.current;if(!e||!j){v(!1),b(!1);return}let{scrollLeft:t,scrollWidth:l,clientWidth:a}=e,s=Math.abs(t),i=s>2,n=s+a(0,l.debounce)(P,150),[P]),w=(0,a.useCallback)(()=>{null===f.current&&(f.current=requestAnimationFrame(()=>{P(),f.current=null}))},[P]);(0,a.useEffect)(()=>{let e=p.current;e&&(x.current="rtl"===getComputedStyle(e).direction),P();let t=p.current;return t&&(t.addEventListener("scroll",w),window.addEventListener("resize",y)),()=>{null!==f.current&&(cancelAnimationFrame(f.current),f.current=null),t&&t.removeEventListener("scroll",w),y.cancel(),window.removeEventListener("resize",y)}},[o,P,w,y]);let _=(0,a.useCallback)(()=>{p.current?.scrollBy({left:-200,behavior:"smooth"})},[]),S=(0,a.useCallback)(()=>{p.current?.scrollBy({left:200,behavior:"smooth"})},[]);return(0,t.jsxs)("div",{className:(0,s.cn)("relative overflow-hidden rounded-3xl bg-white p-1 shadow-[0_4px_16px_0_rgba(0,0,0,0.08),_0_0_32px_0_rgba(0,0,0,0.12)]","md:rounded-4xl md:rounded-[28px]",m&&"md:mr-auto md:max-w-[min(958px,100%)]",h),"data-testid":"subnavigation",children:[(0,t.jsx)("div",{className:(0,s.cn)("pointer-events-none absolute top-0 -left-25 z-[5] h-full w-24 bg-gradient-to-r from-white from-0% via-white via-60% to-transparent transition-[left] md:-top-1 md:h-14 md:rounded-s-[28px]",{"-left-1":d}),"aria-hidden":"true"}),(0,t.jsx)(r.ScrollButton,{hidden:!d,onClick:_,direction:"left"}),(0,t.jsx)("div",{ref:p,className:(0,s.cn)("scrollbar-hide flex h-10 items-center gap-1 overflow-x-auto md:h-12"),children:o.map((l,a)=>e.onSelect?(0,t.jsx)(u,{link:l,index:a,activeIndex:c,onSelect:e.onSelect},`${l.label}_${l.slug}`):(0,t.jsx)(u,{link:l,index:a,activeIndex:c,basePath:e.basePath,mpa:e.mpa},`${l.label}_${l.slug}`))}),(0,t.jsx)("div",{className:(0,s.cn)("pointer-events-none absolute top-0 -right-25 z-[5] h-full w-24 bg-gradient-to-l from-white from-0% via-white via-60% to-transparent transition-[right] md:-top-1 md:h-14 md:rounded-e-[28px]",{"-right-1":g}),"aria-hidden":"true"}),(0,t.jsx)(r.ScrollButton,{hidden:!g,onClick:S,direction:"right"})]})},(e,t)=>e.activeIndex===t.activeIndex&&e.basePath===t.basePath&&e.mpa===t.mpa&&e.onSelect===t.onSelect&&e.constrained===t.constrained&&e.links.length===t.links.length&&e.links.every((e,l)=>e.label===t.links[l]?.label&&e.slug===t.links[l]?.slug&&e.href===t.links[l]?.href));h.displayName="SubnavigationUI",e.s(["SubnavigationUI",0,h],457492)},1567,e=>{"use strict";var t=e.i(947118),l=e.i(737801),a=e.i(592121);e.s(["useTrackModuleViewed",0,()=>{let e="module-viewed",s=(0,t.useIsInitialized)(),i=(0,l.useEventAttributes)();return(0,a.useCallback)(({moduleId:t,modulePosition:l})=>{if(!s)return void console.warn("MParticle is not initialized");let a={module_id:t,module_position:l,...i};try{window.mParticle?.logEvent?.(e,window.mParticle?.EventType?.Other,a),console.debug(`MParticle: Event "${e}" tracked`,a)}catch(t){console.error(`MParticle: Event "${e}" failed`,t)}},[i,s])}])},247977,748315,e=>{"use strict";var t=e.i(699173),l=e.i(592121),a=e.i(683903),s=e.i(961123),i=e.i(611540),n=e.i(388706),r=e.i(304116),o=e.i(457492),c=e.i(258990);e.s(["ForecastSubnav",0,function({placeId:e,featureId:u,placeQuery:h,canonicalPath:m,canonicalID:d,locale:v,showHealthTabs:g}){let b=(0,a.useTranslations)("SidebarNavigation"),p=(0,s.usePathname)(),f=e?(0,c.decodeLocId)(e):e,{links:x,basePath:k}=(0,l.useMemo)(()=>{if(m){let e=f?`l/${f}`:void 0,t=g&&e?[{label:"Allergies",slug:"allergy"},{label:"Air Quality",slug:"air-quality"},{label:"Cold & Flu",slug:"cold-flu",href:(0,i.interpolateUrl)(i.URLS.coldFlu,{locale:v,locId:f})}]:[];return{links:[{label:b("today"),slug:"today"},{label:b("hourly"),slug:"hourbyhour"},{label:b("tenday"),slug:"tenday"},...e?[{label:b("monthly"),slug:"monthly",href:(0,i.interpolateUrl)(i.URLS.monthly,{locale:v,locId:f})}]:[],...t],basePath:m}}let e="en-US"===v?"/weather":`/${v}/weather`,t=f??"",l=h?`?${h}`:"",a=e=>u&&n.CANONICAL_PAGE_TYPES.includes(e)?u:t,s=e=>`${(0,r.buildLocationPageHref)({pageType:e,locale:v,canonicalID:d,featureId:u,placeId:t})}${l}`,o=g?[{label:"Allergies",slug:"allergy",href:s("allergy")},{label:"Air Quality",slug:"air-quality",href:s("air-quality")},{label:"Cold & Flu",slug:"cold-flu",href:`${(0,i.interpolateUrl)(i.URLS.coldFlu,{locale:v,locId:a("cold-flu")})}${l}`}]:[];return{links:[{label:b("today"),slug:"today",href:s("today")},{label:b("hourly"),slug:"hourbyhour",href:s("hourbyhour")},{label:b("tenday"),slug:"tenday",href:s("tenday")},{label:b("monthly"),slug:"monthly",href:`${(0,i.interpolateUrl)(i.URLS.monthly,{locale:v,locId:a("monthly")})}${l}`},...o],basePath:e}},[m,d,f,u,h,v,g,b]),j=(0,l.useMemo)(()=>{let e=p.replace(/\/day-\d+$/,""),t=x.findIndex(t=>{let{slug:l}=t,a=n.BASE_BY_PAGE[l];return!!a&&p.includes(`${a}byFeatureId/`)||p.includes(`/weather/${l}/`)||p.includes(`/forecast/${l}/`)||e.endsWith(`/${l}`)});return -1!==t?t:0},[p,x]);return(0,t.jsx)(o.SubnavigationUI,{links:x,basePath:k,activeIndex:j})}],247977);var u=e.i(959194),h=e.i(132084);e.s(["canShowHealthTabs",0,function(e){return"en-US"===e&&(0,u.getPartner)()!==h.Partner.SAMSUNG}],748315)},106537,e=>{"use strict";var t=e.i(699173),l=e.i(592121),a=e.i(546446),s=e.i(730921),i=e.i(683903),n=e.i(530102),r=e.i(632137),o=e.i(226602),c=e.i(611540);let u=(0,e.i(981030).atom)(!1),h="tou-notice-dismissed",m=new Date("2027-04-30");var d=e.i(498076),v=e.i(725296),g=e.i(1567),b=e.i(947118);let p=[v.Regime.GDPR,v.Regime.LGPD,v.Regime.EXEMPT,v.Regime.LATAM_CO,v.Regime.LATAM_DO,v.Regime.LATAM_PE,v.Regime.USA,v.Regime.USA_CCPA,v.Regime.USA_CO,v.Regime.USA_CT,v.Regime.USA_VA,v.Regime.USA_UT,v.Regime.CA,v.Regime.TR_KVKK,v.Regime.KR,v.Regime.JP,v.Regime.CA_QC],f=new Date("2026-05-30"),x=({regime:e,className:v})=>{let x=(0,i.useTranslations)("TouNotice"),k=(0,s.useLocale)(),j=(0,c.interpolateUrl)(c.URLS.termsOfUse,{locale:k}),P=(0,c.interpolateUrl)(c.URLS.privacyPolicy,{locale:k}),[y,w]=(0,a.useAtom)(u),_=(0,l.useRef)(null),S=(0,l.useRef)(!1),C=(0,d.useIsMobile)(),A=(0,b.useIsInitialized)(),R=(0,g.useTrackModuleViewed)(),[U,z]=(0,l.useState)(!1);(0,l.useEffect)(()=>{let e=(0,n.getCookie)("partner")?.toString().toLowerCase();z(e?.includes("samsung")??!1)},[]);let N=p.includes(e),I=new Date{N&&I&&((0,n.getCookie)(h)||w(!0))},[N,I,w]),(0,l.useEffect)(()=>{y&&N&&I&&A&&!S.current&&(S.current=!0,R({moduleId:"PP and TOU pop-up notification",modulePosition:0}))},[y,N,I,A,R]);let T=(0,l.useCallback)(()=>{(0,n.setCookie)(h,"true",{expires:m}),w(!1)},[w]);if((0,l.useEffect)(()=>{if(!y||C)return;let e=e=>{_.current&&!_.current.contains(e.target)&&T()},t=setTimeout(()=>{window.addEventListener("click",e)},100);return()=>{clearTimeout(t),window.removeEventListener("click",e)}},[y,C,T]),!y||!N||!I)return null;let E=x("heading"),L="text-[#252422] underline hover:text-[#252422]/80",$=x.rich("message",{updatedTerms:e=>(0,t.jsx)("a",{href:j,target:"_blank",rel:"noopener noreferrer",className:L,children:e}),privacyPolicy:e=>(0,t.jsx)("a",{href:P,target:"_blank",rel:"noopener noreferrer",className:L,children:e})}),q=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"mb-2 flex items-start justify-between",children:[(0,t.jsx)("div",{className:"flex-1",children:(0,t.jsx)("h4",{className:"m-0 text-base font-bold text-[#252422]",children:E})}),(0,t.jsx)("button",{onClick:T,className:"ml-2 flex h-6 w-6 items-center justify-center rounded-full text-[#252422] hover:bg-[#252422]/10 focus-visible:ring-2 focus-visible:ring-[#252422]/40 focus-visible:outline-none","aria-label":"Dismiss notice",children:(0,t.jsx)(o.Close,{className:"h-4 w-4"})})]}),(0,t.jsx)("div",{className:"text-sm leading-tight font-medium text-[#252422]",children:$})]});return C?(0,t.jsx)("div",{className:(0,r.cn)(U?"bg-white":"bg-[#CBDEF0]","mx-4 mt-4 rounded-2xl p-4",v),"aria-label":"Privacy and Terms of Use Notice",children:q}):(0,t.jsx)("div",{"aria-label":"Privacy and Terms of Use Notice",className:(0,r.cn)("relative",v),children:(0,t.jsx)("div",{ref:_,className:(0,r.cn)("z-toast fixed right-5 bottom-5 w-full max-w-[432px] rounded-2xl p-6 shadow-lg",U?"bg-white":"bg-[#CBDEF0]"),children:q})})};e.s(["PrivacyTOUNotice",0,x,"default",0,x],106537)},345715,e=>{"use strict";var t=e.i(699173),l=e.i(64412),a=e.i(247977),s=e.i(748315);e.s(["HomeForecastSubnav",0,function({locale:e}){let{location:i}=(0,l.useLocation)(),n=i?.placeId;return n?(0,t.jsx)(a.ForecastSubnav,{placeId:n,featureId:i?.featureId,locale:e,showHealthTabs:(0,s.canShowHealthTabs)(e)}):null}])},186044,e=>{e.v(t=>Promise.all(["static/chunks/14l-6d02kd2fz.js"].map(t=>e.l(t))).then(()=>t(451309)))},171913,e=>{e.v(t=>Promise.all(["static/chunks/3dcs0l5j1g6a_.js"].map(t=>e.l(t))).then(()=>t(927976)))},90,e=>{e.v(t=>Promise.all(["static/chunks/02ppzgv5a8lxs.js"].map(t=>e.l(t))).then(()=>t(22872)))},92368,e=>{e.v(t=>Promise.all(["static/chunks/3i0zaiku7bje6.js"].map(t=>e.l(t))).then(()=>t(789895)))},666922,e=>{e.v(t=>Promise.all(["static/chunks/2_ad85pvnpasr.js"].map(t=>e.l(t))).then(()=>t(856593)))},722332,e=>{e.v(t=>Promise.all(["static/chunks/0lb0gugsiefuf.js"].map(t=>e.l(t))).then(()=>t(476881)))},880187,e=>{e.v(t=>Promise.all(["static/chunks/0ytexffeurca4.js"].map(t=>e.l(t))).then(()=>t(747997)))},744883,e=>{e.v(t=>Promise.all(["static/chunks/0zs2to7zqkb6b.js"].map(t=>e.l(t))).then(()=>t(581947)))},197999,e=>{e.v(t=>Promise.all(["static/chunks/3n-sga4604-oh.js"].map(t=>e.l(t))).then(()=>t(272493)))},407657,e=>{e.v(t=>Promise.all(["static/chunks/32asyc-qi6t0-.js"].map(t=>e.l(t))).then(()=>t(75960)))},650095,e=>{e.v(t=>Promise.all(["static/chunks/2rj208utmr5yr.js"].map(t=>e.l(t))).then(()=>t(601862)))},916531,e=>{e.v(t=>Promise.all(["static/chunks/1edjqytr4b4do.js"].map(t=>e.l(t))).then(()=>t(369675)))},415546,e=>{e.v(t=>Promise.all(["static/chunks/2gbvc82ctdn0a.js"].map(t=>e.l(t))).then(()=>t(446839)))},353962,e=>{e.v(t=>Promise.all(["static/chunks/3bevr2_4h3ua9.js"].map(t=>e.l(t))).then(()=>t(367128)))},391939,e=>{e.v(t=>Promise.all(["static/chunks/0o-5ypipfmvgj.js"].map(t=>e.l(t))).then(()=>t(72575)))},155043,e=>{e.v(t=>Promise.all(["static/chunks/1eisd1srr5_wl.js"].map(t=>e.l(t))).then(()=>t(869146)))},103659,e=>{e.v(t=>Promise.all(["static/chunks/3eonedq0tzhbu.js"].map(t=>e.l(t))).then(()=>t(296920)))},945801,e=>{e.v(t=>Promise.all(["static/chunks/27b4xgp6fncrs.js"].map(t=>e.l(t))).then(()=>t(566248)))},252521,e=>{e.v(t=>Promise.all(["static/chunks/07fx3by0-8gd2.js"].map(t=>e.l(t))).then(()=>t(661446)))},582099,e=>{e.v(t=>Promise.all(["static/chunks/10536z8prxuwv.js"].map(t=>e.l(t))).then(()=>t(654703)))},625303,e=>{e.v(t=>Promise.all(["static/chunks/3_im3i23ahlrn.js"].map(t=>e.l(t))).then(()=>t(718437)))},909969,e=>{e.v(t=>Promise.all(["static/chunks/35zkk3b49wu7f.js"].map(t=>e.l(t))).then(()=>t(218776)))},408674,e=>{e.v(t=>Promise.all(["static/chunks/37zcsfcnoati1.js"].map(t=>e.l(t))).then(()=>t(783769)))},632092,e=>{e.v(t=>Promise.all(["static/chunks/3m9vh4xsqulp_.js"].map(t=>e.l(t))).then(()=>t(45677)))},713848,e=>{e.v(t=>Promise.all(["static/chunks/3erqiumfpcfsb.js"].map(t=>e.l(t))).then(()=>t(889507)))},774463,e=>{e.v(t=>Promise.all(["static/chunks/0qc98scy26su0.js"].map(t=>e.l(t))).then(()=>t(155062)))},494738,e=>{e.v(t=>Promise.all(["static/chunks/35_axkfal7ger.js"].map(t=>e.l(t))).then(()=>t(512028)))},2638,e=>{e.v(t=>Promise.all(["static/chunks/2ve1e19qddzym.js"].map(t=>e.l(t))).then(()=>t(198051)))},67832,e=>{e.v(t=>Promise.all(["static/chunks/2dcwk6m_v4qfi.js"].map(t=>e.l(t))).then(()=>t(414064)))},846784,e=>{e.v(t=>Promise.all(["static/chunks/1e3vb5d7j0x8s.js"].map(t=>e.l(t))).then(()=>t(873667)))},72998,e=>{e.v(t=>Promise.all(["static/chunks/393zgougvvycp.js"].map(t=>e.l(t))).then(()=>t(510110)))},395624,e=>{e.v(t=>Promise.all(["static/chunks/2szbhxkcxvd0v.js"].map(t=>e.l(t))).then(()=>t(600726)))},626117,e=>{e.v(t=>Promise.all(["static/chunks/0_bdyv7xs8xqi.js"].map(t=>e.l(t))).then(()=>t(825086)))},132409,e=>{e.v(t=>Promise.all(["static/chunks/43drnw5w4qy5b.js"].map(t=>e.l(t))).then(()=>t(3017)))},226507,e=>{e.v(t=>Promise.all(["static/chunks/2qf6ha3gakfwh.js"].map(t=>e.l(t))).then(()=>t(538258)))},48208,e=>{e.v(t=>Promise.all(["static/chunks/3msns9jhb6vfx.js"].map(t=>e.l(t))).then(()=>t(625444)))},164295,e=>{e.v(t=>Promise.all(["static/chunks/0z4a_zo6coobc.js"].map(t=>e.l(t))).then(()=>t(702162)))},148486,e=>{e.v(t=>Promise.all(["static/chunks/0zgy365rwmgw6.js"].map(t=>e.l(t))).then(()=>t(946515)))},403395,e=>{e.v(t=>Promise.all(["static/chunks/1xu3zmek98e_j.js"].map(t=>e.l(t))).then(()=>t(573581)))},957284,e=>{e.v(t=>Promise.all(["static/chunks/0_pa8k2y1jvmh.js"].map(t=>e.l(t))).then(()=>t(48914)))},752465,e=>{e.v(t=>Promise.all(["static/chunks/16yf-fk_5dxil.js"].map(t=>e.l(t))).then(()=>t(777844)))},521662,e=>{e.v(t=>Promise.all(["static/chunks/05rm8oago-b2j.js"].map(t=>e.l(t))).then(()=>t(782697)))},661123,e=>{e.v(t=>Promise.all(["static/chunks/1ejdc4_dkaxie.js"].map(t=>e.l(t))).then(()=>t(711818)))},476493,e=>{e.v(t=>Promise.all(["static/chunks/0-juv8n6sj234.js"].map(t=>e.l(t))).then(()=>t(328877)))}]);