(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,313983,e=>{"use strict";var s,t=((s={}).ESSENTIAL_TECHNOLOGY="essential-technology",s.FUNCTIONAL_TECHNOLOGY="functional-technology",s.GEOGRAPHICALLY_RELEVANT_ADVERTISING="geographically-relevant-advertising",s.INTERNATIONAL_TRANSFER="international-transfer",s.SALE_OF_DATA="sale-of-data",s.SENSITIVE_DATA="sensitive-data",s.SELECT_PERSONALISED_CONTENT="Select personalised content",s.SELECT_PERSONALISED_ADS="Select personalised ads",s.SELECT_BASIC_ADS="Select basic ads",s.CREATE_A_PERSONALISED_ADS_PROFILE="Create a personalised ads profile",s.CREATE_A_PERSONALISED_CONTENT_PROFILE="Create a personalised content profile",s.MEASURE_AD_PERFORMANCE="Measure ad performance",s.APPLY_MARKET_RESEARCH_TO_GENERATE_AUDIENCE_INSIGHTS="Apply market research to generate audience insights",s.DEVELOP_AND_IMPROVE_PRODUCTS="Develop and improve products",s.STORE_AND_OR_ACCESS_INFORMATION_ON_A_DEVICE="Store and/or access information on a device",s.MEASURE_CONTENT_PERFORMANCE="Measure content performance",s);e.s(["Purpose",()=>t])},104777,(e,s,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={callServer:function(){return i.callServer},createServerReference:function(){return n.createServerReference},findSourceMapURL:function(){return r.findSourceMapURL}};for(var l in a)Object.defineProperty(t,l,{enumerable:!0,get:a[l]});let i=e.r(836549),r=e.r(560716),n=e.r(544383)},248064,e=>{"use strict";var s=e.i(991511),t=e.i(763886),a=e.i(394481),l=e.i(663333),i=e.i(49893),r=e.i(889753),n=e.i(5397),o=e.i(21121);e.i(647872);var c=e.i(279791),u=e.i(523579),m=e.i(494889),h=e.i(726513),d=e.i(678480),v=e.i(39822);e.i(304158);var p=e.i(485737),f=e.i(739971),b=e.i(688070),g=e.i(647292);e.s(["FlagsBoundaryClient",0,({params:e})=>((0,s.useRehydrateAtoms)([[t.partnerAtom,e.partner],[a.privacyRegimeAtom,e.privacyRegime],[l.deviceClassAtom,e.deviceClass],[r.userTierAtom,e.userTier],[i.adsKillswitchAtom,e.adsKillswitch],[n.showAdminHeaderAtom,e.showAdminHeader],[c.showOpenWebCommentsAtom,e.showOpenWebComments],[o.showVelvetcakeModuleAtom,e.showVelvetcakeModule],[u.retroWeatherAtom,e.retroWeather],[m.newsHubEnabledAtom,e.newsHubEnabled],[p.geoipCountry,e.geoipCountry],[f.subscriptionsEnabledAtom,e.subscriptionsEnabled],[h.subsOfferCopyVariantAtom,e.subsOfferCopyVariant],[d.subsOfferLayoutVariantAtom,e.subsOfferLayoutVariant],[v.editorsPickLocationAwareVariantAtom,e.editorsPickLocationAwareVariant],[g.webViewPlatformAtom,e.webViewPlatform],[b.isWebViewOnlyAtom,e.isWebViewOnly]]),null)])},247977,748315,e=>{"use strict";var s=e.i(699173),t=e.i(592121),a=e.i(683903),l=e.i(961123),i=e.i(611540),r=e.i(388706),n=e.i(304116),o=e.i(269153),c=e.i(457492),u=e.i(258990);e.s(["ForecastSubnav",0,function({placeId:e,featureId:m,placeQuery:h,canonicalPath:d,canonicalID:v,locale:p,showHealthTabs:f}){let b=(0,a.useTranslations)("SidebarNavigation"),g=(0,l.usePathname)(),A=(0,o.useIsSamsungPartner)(),P=e?(0,u.decodeLocId)(e):e,{links:E,basePath:k}=(0,t.useMemo)(()=>{if(d&&!A){let e=P?`l/${P}`:void 0,s=f&&e?[{label:"Allergies",slug:"allergy"},{label:"Air Quality",slug:"air-quality"},{label:"Cold & Flu",slug:"cold-flu"}]:[];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:p,locId:P})}]:[],...s],basePath:d}}let e="en-US"===p?"/weather":`/${p}/weather`,s=P??"",t=h?`?${h}`:"",a=e=>`${(0,n.buildLocationPageHref)({pageType:e,locale:p,canonicalID:v,featureId:m,placeId:s,skipCanonical:A})}${t}`,l=f?[{label:"Allergies",slug:"allergy",href:a("allergy")},{label:"Air Quality",slug:"air-quality",href:a("air-quality")},{label:"Cold & Flu",slug:"cold-flu",href:a("cold-flu")}]:[];return{links:[{label:b("today"),slug:"today",href:a("today")},{label:b("hourly"),slug:"hourbyhour",href:a("hourbyhour")},{label:b("tenday"),slug:"tenday",href:a("tenday")},{label:b("monthly"),slug:"monthly",href:`${(0,i.interpolateUrl)(i.URLS.monthly,{locale:p,locId:m&&r.CANONICAL_PAGE_TYPES.includes("monthly")?m:s})}${t}`},...l],basePath:e}},[d,v,P,m,h,p,f,A,b]),j=(0,t.useMemo)(()=>{let e=g.replace(/\/day-\d+$/,"");if(e!==g){let e=E.findIndex(e=>"tenday"===e.slug);if(-1!==e)return e}let s=E.findIndex(s=>{let{slug:t}=s,a=r.BASE_BY_PAGE[t];return!!a&&g.includes(`${a}byFeatureId/`)||g.includes(`/weather/${t}/`)||g.includes(`/forecast/${t}/`)||e.endsWith(`/${t}`)});return -1!==s?s:0},[g,E]);return(0,s.jsx)(c.SubnavigationUI,{links:E,basePath:k,activeIndex:j})}],247977);var m=e.i(959194),h=e.i(132084);e.s(["canShowHealthTabs",0,function(e){return"en-US"===e&&(0,m.getPartner)()!==h.Partner.SAMSUNG}],748315)},106537,e=>{"use strict";var s=e.i(699173),t=e.i(592121),a=e.i(546446),l=e.i(730921),i=e.i(683903),r=e.i(646341),n=e.i(632137),o=e.i(226602),c=e.i(611540);let u=(0,e.i(981030).atom)(!1),m="tou-notice-dismissed",h=new Date("2027-04-30");var d=e.i(498076),v=e.i(725296),p=e.i(1567),f=e.i(947118);let b=[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],g=new Date("2026-05-30"),A=({regime:e,className:v})=>{let A=(0,i.useTranslations)("TouNotice"),P=(0,l.useLocale)(),E=(0,c.interpolateUrl)(c.URLS.termsOfUse,{locale:P}),k=(0,c.interpolateUrl)(c.URLS.privacyPolicy,{locale:P}),[j,y]=(0,a.useAtom)(u),_=(0,t.useRef)(null),S=(0,t.useRef)(!1),R=(0,d.useIsMobile)(),T=(0,f.useIsInitialized)(),C=(0,p.useTrackModuleViewed)(),[N,w]=(0,t.useState)(!1);(0,t.useEffect)(()=>{let e=(0,r.getCookie)("partner")?.toString().toLowerCase();w(e?.includes("samsung")??!1)},[]);let x=b.includes(e),O=new Date{x&&O&&((0,r.getCookie)(m)||y(!0))},[x,O,y]),(0,t.useEffect)(()=>{j&&x&&O&&T&&!S.current&&(S.current=!0,C({moduleId:"PP and TOU pop-up notification",modulePosition:0}))},[j,x,O,T,C]);let I=(0,t.useCallback)(()=>{(0,r.setCookie)(m,"true",{expires:h}),y(!1)},[y]);if((0,t.useEffect)(()=>{if(!j||R)return;let e=e=>{_.current&&!_.current.contains(e.target)&&I()},s=setTimeout(()=>{window.addEventListener("click",e)},100);return()=>{clearTimeout(s),window.removeEventListener("click",e)}},[j,R,I]),!j||!x||!O)return null;let L=A("heading"),U="text-[#252422] underline hover:text-[#252422]/80",D=A.rich("message",{updatedTerms:e=>(0,s.jsx)("a",{href:E,target:"_blank",rel:"noopener noreferrer",className:U,children:e}),privacyPolicy:e=>(0,s.jsx)("a",{href:k,target:"_blank",rel:"noopener noreferrer",className:U,children:e})}),M=(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"mb-2 flex items-start justify-between",children:[(0,s.jsx)("div",{className:"flex-1",children:(0,s.jsx)("h4",{className:"m-0 text-base font-bold text-[#252422]",children:L})}),(0,s.jsx)("button",{onClick:I,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,s.jsx)(o.Close,{className:"h-4 w-4"})})]}),(0,s.jsx)("div",{className:"text-sm leading-tight font-medium text-[#252422]",children:D})]});return R?(0,s.jsx)("div",{className:(0,n.cn)(N?"bg-white":"bg-[#CBDEF0]","mx-4 mt-4 rounded-2xl p-4",v),"aria-label":"Privacy and Terms of Use Notice",children:M}):(0,s.jsx)("div",{"aria-label":"Privacy and Terms of Use Notice",className:(0,n.cn)("relative",v),children:(0,s.jsx)("div",{ref:_,className:(0,n.cn)("z-toast fixed right-5 bottom-5 w-full max-w-[432px] rounded-2xl p-6 shadow-lg",N?"bg-white":"bg-[#CBDEF0]"),children:M})})};e.s(["PrivacyTOUNotice",0,A,"default",0,A],106537)},345715,e=>{"use strict";var s=e.i(699173),t=e.i(64412),a=e.i(247977),l=e.i(748315);e.s(["HomeForecastSubnav",0,function({locale:e}){let{location:i}=(0,t.useLocation)(),r=i?.placeId;return r?(0,s.jsx)(a.ForecastSubnav,{placeId:r,featureId:i?.featureId,canonicalID:i?.canonicalID,locale:e,showHealthTabs:(0,l.canShowHealthTabs)(e)}):null}])},186044,e=>{e.v(s=>Promise.all(["static/chunks/3ni53uqypiqze.js"].map(s=>e.l(s))).then(()=>s(451309)))},171913,e=>{e.v(s=>Promise.all(["static/chunks/3dcs0l5j1g6a_.js"].map(s=>e.l(s))).then(()=>s(927976)))},90,e=>{e.v(s=>Promise.all(["static/chunks/02ppzgv5a8lxs.js"].map(s=>e.l(s))).then(()=>s(22872)))},92368,e=>{e.v(s=>Promise.all(["static/chunks/3i0zaiku7bje6.js"].map(s=>e.l(s))).then(()=>s(789895)))},666922,e=>{e.v(s=>Promise.all(["static/chunks/2_ad85pvnpasr.js"].map(s=>e.l(s))).then(()=>s(856593)))},722332,e=>{e.v(s=>Promise.all(["static/chunks/0lb0gugsiefuf.js"].map(s=>e.l(s))).then(()=>s(476881)))},880187,e=>{e.v(s=>Promise.all(["static/chunks/0ytexffeurca4.js"].map(s=>e.l(s))).then(()=>s(747997)))},744883,e=>{e.v(s=>Promise.all(["static/chunks/0zs2to7zqkb6b.js"].map(s=>e.l(s))).then(()=>s(581947)))},197999,e=>{e.v(s=>Promise.all(["static/chunks/3n-sga4604-oh.js"].map(s=>e.l(s))).then(()=>s(272493)))},407657,e=>{e.v(s=>Promise.all(["static/chunks/32asyc-qi6t0-.js"].map(s=>e.l(s))).then(()=>s(75960)))},650095,e=>{e.v(s=>Promise.all(["static/chunks/2rj208utmr5yr.js"].map(s=>e.l(s))).then(()=>s(601862)))},916531,e=>{e.v(s=>Promise.all(["static/chunks/1edjqytr4b4do.js"].map(s=>e.l(s))).then(()=>s(369675)))},415546,e=>{e.v(s=>Promise.all(["static/chunks/28ekr4h-6r_th.js"].map(s=>e.l(s))).then(()=>s(667728)))},353962,e=>{e.v(s=>Promise.all(["static/chunks/3bevr2_4h3ua9.js"].map(s=>e.l(s))).then(()=>s(367128)))},391939,e=>{e.v(s=>Promise.all(["static/chunks/0o-5ypipfmvgj.js"].map(s=>e.l(s))).then(()=>s(72575)))},155043,e=>{e.v(s=>Promise.all(["static/chunks/1eisd1srr5_wl.js"].map(s=>e.l(s))).then(()=>s(869146)))},103659,e=>{e.v(s=>Promise.all(["static/chunks/3eonedq0tzhbu.js"].map(s=>e.l(s))).then(()=>s(296920)))},945801,e=>{e.v(s=>Promise.all(["static/chunks/27b4xgp6fncrs.js"].map(s=>e.l(s))).then(()=>s(566248)))},252521,e=>{e.v(s=>Promise.all(["static/chunks/07fx3by0-8gd2.js"].map(s=>e.l(s))).then(()=>s(661446)))},781723,e=>{e.v(s=>Promise.all(["static/chunks/15h1quv6sbk5n.js"].map(s=>e.l(s))).then(()=>s(563447)))},625303,e=>{e.v(s=>Promise.all(["static/chunks/3_im3i23ahlrn.js"].map(s=>e.l(s))).then(()=>s(718437)))},909969,e=>{e.v(s=>Promise.all(["static/chunks/35zkk3b49wu7f.js"].map(s=>e.l(s))).then(()=>s(218776)))},408674,e=>{e.v(s=>Promise.all(["static/chunks/37zcsfcnoati1.js"].map(s=>e.l(s))).then(()=>s(783769)))},632092,e=>{e.v(s=>Promise.all(["static/chunks/3m9vh4xsqulp_.js"].map(s=>e.l(s))).then(()=>s(45677)))},713848,e=>{e.v(s=>Promise.all(["static/chunks/3erqiumfpcfsb.js"].map(s=>e.l(s))).then(()=>s(889507)))},774463,e=>{e.v(s=>Promise.all(["static/chunks/0qc98scy26su0.js"].map(s=>e.l(s))).then(()=>s(155062)))},494738,e=>{e.v(s=>Promise.all(["static/chunks/35_axkfal7ger.js"].map(s=>e.l(s))).then(()=>s(512028)))},2638,e=>{e.v(s=>Promise.all(["static/chunks/2ve1e19qddzym.js"].map(s=>e.l(s))).then(()=>s(198051)))},67832,e=>{e.v(s=>Promise.all(["static/chunks/2dcwk6m_v4qfi.js"].map(s=>e.l(s))).then(()=>s(414064)))},846784,e=>{e.v(s=>Promise.all(["static/chunks/1e3vb5d7j0x8s.js"].map(s=>e.l(s))).then(()=>s(873667)))},72998,e=>{e.v(s=>Promise.all(["static/chunks/393zgougvvycp.js"].map(s=>e.l(s))).then(()=>s(510110)))},395624,e=>{e.v(s=>Promise.all(["static/chunks/2szbhxkcxvd0v.js"].map(s=>e.l(s))).then(()=>s(600726)))},626117,e=>{e.v(s=>Promise.all(["static/chunks/0_bdyv7xs8xqi.js"].map(s=>e.l(s))).then(()=>s(825086)))},132409,e=>{e.v(s=>Promise.all(["static/chunks/43drnw5w4qy5b.js"].map(s=>e.l(s))).then(()=>s(3017)))},226507,e=>{e.v(s=>Promise.all(["static/chunks/2qf6ha3gakfwh.js"].map(s=>e.l(s))).then(()=>s(538258)))},48208,e=>{e.v(s=>Promise.all(["static/chunks/3msns9jhb6vfx.js"].map(s=>e.l(s))).then(()=>s(625444)))},164295,e=>{e.v(s=>Promise.all(["static/chunks/0z4a_zo6coobc.js"].map(s=>e.l(s))).then(()=>s(702162)))},148486,e=>{e.v(s=>Promise.all(["static/chunks/0zgy365rwmgw6.js"].map(s=>e.l(s))).then(()=>s(946515)))},403395,e=>{e.v(s=>Promise.all(["static/chunks/1xu3zmek98e_j.js"].map(s=>e.l(s))).then(()=>s(573581)))},957284,e=>{e.v(s=>Promise.all(["static/chunks/0_pa8k2y1jvmh.js"].map(s=>e.l(s))).then(()=>s(48914)))},752465,e=>{e.v(s=>Promise.all(["static/chunks/16yf-fk_5dxil.js"].map(s=>e.l(s))).then(()=>s(777844)))},521662,e=>{e.v(s=>Promise.all(["static/chunks/05rm8oago-b2j.js"].map(s=>e.l(s))).then(()=>s(782697)))},661123,e=>{e.v(s=>Promise.all(["static/chunks/1ejdc4_dkaxie.js"].map(s=>e.l(s))).then(()=>s(711818)))},476493,e=>{e.v(s=>Promise.all(["static/chunks/0-juv8n6sj234.js"].map(s=>e.l(s))).then(()=>s(328877)))}]);