(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,235577,e=>{"use strict";var t=e.i(699173),a=e.i(523084),l=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)(a.ChevronLeft,{className:m}):(0,t.jsx)(l.ChevronRight,{className:m})})}])},457492,e=>{"use strict";var t=e.i(699173),a=e.i(147732),l=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:a,index:l,link:i}=e,n=a===l,r=(0,s.cn)(c,{"bg-gray-100 text-blue-500":n});if(e.onSelect){let{onSelect:a}=e;return(0,t.jsx)("button",{type:"button",onClick:()=>a(l,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,l.memo)(e=>{let{links:o,activeIndex:c,className:h,constrained:m=!0}=e,[d,v]=(0,l.useState)(!1),[p,b]=(0,l.useState)(!1),f=(0,l.useRef)(null),g=(0,l.useRef)(null),y=(0,l.useRef)(!1),k=(0,i.useAtomValue)(n.deviceClassAtom),P="mobile"!==k&&"tablet"!==k,j=(0,l.useCallback)(()=>{let e=f.current;if(!e||!P){v(!1),b(!1);return}let{scrollLeft:t,scrollWidth:a,clientWidth:l}=e,s=Math.abs(t),i=s>2,n=s+l(0,a.debounce)(j,150),[j]),S=(0,l.useCallback)(()=>{null===g.current&&(g.current=requestAnimationFrame(()=>{j(),g.current=null}))},[j]);(0,l.useEffect)(()=>{let e=f.current;e&&(y.current="rtl"===getComputedStyle(e).direction),j();let t=f.current;return t&&(t.addEventListener("scroll",S),window.addEventListener("resize",A)),()=>{null!==g.current&&(cancelAnimationFrame(g.current),g.current=null),t&&t.removeEventListener("scroll",S),A.cancel(),window.removeEventListener("resize",A)}},[o,j,S,A]);let _=(0,l.useCallback)(()=>{f.current?.scrollBy({left:-200,behavior:"smooth"})},[]),E=(0,l.useCallback)(()=>{f.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:f,className:(0,s.cn)("scrollbar-hide flex h-10 items-center gap-1 overflow-x-auto md:h-12"),children:o.map((a,l)=>e.onSelect?(0,t.jsx)(u,{link:a,index:l,activeIndex:c,onSelect:e.onSelect},`${a.label}_${a.slug}`):(0,t.jsx)(u,{link:a,index:l,activeIndex:c,basePath:e.basePath,mpa:e.mpa},`${a.label}_${a.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":p}),"aria-hidden":"true"}),(0,t.jsx)(r.ScrollButton,{hidden:!p,onClick:E,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,a)=>e.label===t.links[a]?.label&&e.slug===t.links[a]?.slug&&e.href===t.links[a]?.href));h.displayName="SubnavigationUI",e.s(["SubnavigationUI",0,h],457492)},313983,e=>{"use strict";var t,a=((t={}).ESSENTIAL_TECHNOLOGY="essential-technology",t.FUNCTIONAL_TECHNOLOGY="functional-technology",t.GEOGRAPHICALLY_RELEVANT_ADVERTISING="geographically-relevant-advertising",t.INTERNATIONAL_TRANSFER="international-transfer",t.SALE_OF_DATA="sale-of-data",t.SENSITIVE_DATA="sensitive-data",t.SELECT_PERSONALISED_CONTENT="Select personalised content",t.SELECT_PERSONALISED_ADS="Select personalised ads",t.SELECT_BASIC_ADS="Select basic ads",t.CREATE_A_PERSONALISED_ADS_PROFILE="Create a personalised ads profile",t.CREATE_A_PERSONALISED_CONTENT_PROFILE="Create a personalised content profile",t.MEASURE_AD_PERFORMANCE="Measure ad performance",t.APPLY_MARKET_RESEARCH_TO_GENERATE_AUDIENCE_INSIGHTS="Apply market research to generate audience insights",t.DEVELOP_AND_IMPROVE_PRODUCTS="Develop and improve products",t.STORE_AND_OR_ACCESS_INFORMATION_ON_A_DEVICE="Store and/or access information on a device",t.MEASURE_CONTENT_PERFORMANCE="Measure content performance",t);e.s(["Purpose",()=>a])},104777,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var l={callServer:function(){return i.callServer},createServerReference:function(){return r.createServerReference},findSourceMapURL:function(){return n.findSourceMapURL}};for(var s in l)Object.defineProperty(a,s,{enumerable:!0,get:l[s]});let i=e.r(836549),n=e.r(560716),r=e.r(544383)},248064,e=>{"use strict";var t=e.i(991511),a=e.i(763886),l=e.i(394481),s=e.i(663333),i=e.i(49893),n=e.i(889753),r=e.i(5397),o=e.i(21121);e.i(647872);var c=e.i(279791),u=e.i(523579),h=e.i(494889),m=e.i(726513),d=e.i(678480),v=e.i(39822);e.i(304158);var p=e.i(485737),b=e.i(739971),f=e.i(688070),g=e.i(647292);e.s(["FlagsBoundaryClient",0,({params:e})=>((0,t.useRehydrateAtoms)([[a.partnerAtom,e.partner],[l.privacyRegimeAtom,e.privacyRegime],[s.deviceClassAtom,e.deviceClass],[n.userTierAtom,e.userTier],[i.adsKillswitchAtom,e.adsKillswitch],[r.showAdminHeaderAtom,e.showAdminHeader],[c.showOpenWebCommentsAtom,e.showOpenWebComments],[o.showVelvetcakeModuleAtom,e.showVelvetcakeModule],[u.retroWeatherAtom,e.retroWeather],[h.newsHubEnabledAtom,e.newsHubEnabled],[p.geoipCountry,e.geoipCountry],[b.subscriptionsEnabledAtom,e.subscriptionsEnabled],[m.subsOfferCopyVariantAtom,e.subsOfferCopyVariant],[d.subsOfferLayoutVariantAtom,e.subsOfferLayoutVariant],[v.editorsPickLocationAwareVariantAtom,e.editorsPickLocationAwareVariant],[g.webViewPlatformAtom,e.webViewPlatform],[f.isWebViewOnlyAtom,e.isWebViewOnly]]),null)])},247977,748315,e=>{"use strict";var t=e.i(699173),a=e.i(592121),l=e.i(683903),s=e.i(961123),i=e.i(611540),n=e.i(388706),r=e.i(304116),o=e.i(269153),c=e.i(457492),u=e.i(258990);e.s(["ForecastSubnav",0,function({placeId:e,featureId:h,placeQuery:m,canonicalPath:d,canonicalID:v,locale:p,showHealthTabs:b}){let f=(0,l.useTranslations)("SidebarNavigation"),g=(0,s.usePathname)(),y=(0,o.useIsSamsungPartner)(),k=e?(0,u.decodeLocId)(e):e,{links:P,basePath:j}=(0,a.useMemo)(()=>{if(d&&!y){let e=k?`l/${k}`:void 0,t=b&&e?[{label:"Allergies",slug:"allergy"},{label:"Air Quality",slug:"air-quality"},{label:"Cold & Flu",slug:"cold-flu"}]:[];return{links:[{label:f("today"),slug:"today"},{label:f("hourly"),slug:"hourbyhour"},{label:f("tenday"),slug:"tenday"},...e?[{label:f("monthly"),slug:"monthly",href:(0,i.interpolateUrl)(i.URLS.monthly,{locale:p,locId:k})}]:[],...t],basePath:d}}let e="en-US"===p?"/weather":`/${p}/weather`,t=k??"",a=m?`?${m}`:"",l=e=>`${(0,r.buildLocationPageHref)({pageType:e,locale:p,canonicalID:v,featureId:h,placeId:t,skipCanonical:y})}${a}`,s=b?[{label:"Allergies",slug:"allergy",href:l("allergy")},{label:"Air Quality",slug:"air-quality",href:l("air-quality")},{label:"Cold & Flu",slug:"cold-flu",href:l("cold-flu")}]:[];return{links:[{label:f("today"),slug:"today",href:l("today")},{label:f("hourly"),slug:"hourbyhour",href:l("hourbyhour")},{label:f("tenday"),slug:"tenday",href:l("tenday")},{label:f("monthly"),slug:"monthly",href:`${(0,i.interpolateUrl)(i.URLS.monthly,{locale:p,locId:h&&n.CANONICAL_PAGE_TYPES.includes("monthly")?h:t})}${a}`},...s],basePath:e}},[d,v,k,h,m,p,b,y,f]),A=(0,a.useMemo)(()=>{let e=g.replace(/\/day-\d+$/,"");if(e!==g){let e=P.findIndex(e=>"tenday"===e.slug);if(-1!==e)return e}let t=P.findIndex(t=>{let{slug:a}=t,l=n.BASE_BY_PAGE[a];return!!l&&g.includes(`${l}byFeatureId/`)||g.includes(`/weather/${a}/`)||g.includes(`/forecast/${a}/`)||e.endsWith(`/${a}`)});return -1!==t?t:0},[g,P]);return(0,t.jsx)(c.SubnavigationUI,{links:P,basePath:j,activeIndex:A})}],247977);var h=e.i(959194),m=e.i(132084);e.s(["canShowHealthTabs",0,function(e){return"en-US"===e&&(0,h.getPartner)()!==m.Partner.SAMSUNG}],748315)},798725,e=>{"use strict";var t=e.i(699173),a=e.i(961123),l=e.i(281687),s=e.i(559421),i=e.i(330091),n=e.i(247977),r=e.i(748315);e.s(["ForecastSubnavContainer",0,function({locale:e}){let o,c,u=(0,a.useParams)(),h=(0,l.useChromeLocation)(),m=(0,s.useCanonicalBasePath)();if(m)return(0,t.jsx)(n.ForecastSubnav,{canonicalPath:m,placeId:h?.placeId,locale:e,showHealthTabs:(0,r.canShowHealthTabs)(e)});let d=u.featureId;if(d)return(0,t.jsx)(n.ForecastSubnav,{featureId:d,placeId:h?.placeId,canonicalID:h?.canonicalID,locale:e,showHealthTabs:(0,r.canShowHealthTabs)(e)});let v=u.locId,p=u.canonicalCityId,b=u.locName;return v&&(0,i.testLocId)(v)?.type==="featureId"?(0,t.jsx)(n.ForecastSubnav,{featureId:v,placeId:h?.placeId,canonicalID:h?.canonicalID,locale:e,showHealthTabs:(0,r.canShowHealthTabs)(e)}):(v?o=v:b&&p?(o=b,c=`canonicalCityId=${p}`):p&&(o=p),o)?(0,t.jsx)(n.ForecastSubnav,{placeId:o,placeQuery:c,locale:e,showHealthTabs:(0,r.canShowHealthTabs)(e)}):null}])},186044,e=>{e.v(t=>Promise.all(["static/chunks/3ni53uqypiqze.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/28ekr4h-6r_th.js"].map(t=>e.l(t))).then(()=>t(667728)))},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)))},781723,e=>{e.v(t=>Promise.all(["static/chunks/15h1quv6sbk5n.js"].map(t=>e.l(t))).then(()=>t(563447)))},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)))}]);