(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,10993,e=>{e.q("/_next/static/immutable/media/focusLogo.3_ax6r2sm72u_.svg")},316810,e=>{"use strict";var t=e.i(902875),i=e.i(632137);e.s(["default",0,({className:e})=>(0,t.jsx)("span",{className:(0,i.cn)("text-xxs bg-brand-200 ml-2 inline-flex h-[19px] items-center justify-center rounded-md border-2 border-white px-[3px] py-1 font-bold text-white",e),children:"New"})])},952249,function(e){e.n(e.i(906361))},329017,e=>{"use strict";e.i(288906);var t=e.i(247865),i=e.i(725287),o=e.i(546446),r=e.i(540768),l=e.i(682142),a=e.i(782937),n=e.i(695881),s=e.i(333350),c=e.i(64412),d=e.i(950771),u=e.i(537989),g=e.i(695203),m=e.i(158662),p=e.i(358273),w=e.i(122124),h=e.i(777638),v=e.i(727365),f=e.i(896363),y=e.i(924776),C=e.i(409628),x=e.i(605781);let b=(0,n.createLogger)("useTrackInteraction"),S=new Set(["city","locality","neighborhood","airport","postal","poi","ski","geocode","locid"]),k=new Set(["mapbox","twc-poi","twc-v3-loc-search","twc-v3-loc-point"]);e.s(["useTrackInteraction",0,()=>{let e=(0,o.useAtomValue)(u.pageIdAtom),n=(0,o.useAtomValue)(d.pageLocaleAtom),I=(0,o.useAtomValue)(g.deviceClassAtom),P=(0,o.useAtomValue)(m.experimentJoinListAtom),j=(0,i.usePathname)(),{location:A}=(0,c.useLocation)(),M=(0,y.useIsHightouchReady)(),T=(0,t.useCallback)(t=>{let i=(0,l.getCICookie)(),o=i?.["TWC-GeoIP-Country"]??(0,r.getCookie)("twc-location-country"),s=i?.["TWC-GeoIP-Region"]??(0,r.getCookie)("twc-location-region"),c=i?.["TWC-Privacy"]??(0,r.getCookie)("twc-privacy"),d=window.DprSdk?.getGdprConsentOptInsString()??"",u=window.DprSdk?.getCcpaSaleOptInString()??"",g=window.navigator?.globalPrivacyControl??!1,m=d?.includes("functional-technology")??!1,y=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,x=window.DprSdk?.getUserConsent("interest-based-ads")!==!1,b=String(window.DprSdk?.getUserConsent("sale-of-data")!==!1),M=String(window.DprSdk?.getUserConsent("sensitive-data")!==!1),T=navigator?.cookieEnabled??!1,H=(0,r.getCookie)("partner")||"",R=(0,a.getPartnerByPattern)(H)??H,E=(0,p.getMetricsSession)(),B=E?.sessionId||"",D=new Date(E?.sessionStartTime||0).toISOString(),V=new Date,L=V.getHours(),_=C.WEEK_DAYS[V.getDay()]??"",U=e&&["article","video"].includes(e)?j?.split("/").slice(0,-1).join("/")??"":(0,w.getAnonymizedPath)(j??""),z=(0,v.normalizeWlocType)(A?.type),O=A?.featureSource??null;return{moduleId:t.moduleId??"",moduleTitle:t.moduleTitle??null,modulePosition:t.modulePosition,interactionType:t.interactionType??"",interactionElement:t.interactionElement??null,lockedContent:t.lockedContent??"false",destinationPageId:t.destinationPageId??null,upsellCampaign:t.upsellCampaign??null,upsellCreative:t.upsellCreative??null,upsellPlacement:t.upsellPlacement,pageId:e??"",url:U,referrer:document.referrer,locale:n,deviceClass:I,partner:R,sessionId:B,sessionStartTime:D,siteMode:"normal",dayOfWeek:_,hourOfDay:L,regime:c??"",cookiesEnabled:T,gpcSignalOptOut:g,functionalTechnologies:m,geographicallyRelevantAds:y,interestBasedAds:x,priv:d,privProducts:u,saleOfDataAuthorization:b,sensitiveDataAuthorization:M,campaign:(0,h.getCampaign)(),experimentJoinList:P,weatherMode:"normal",physicalCountry:o??"",physicalState:s??"",wlocCity:A?.city??null,wlocCountry:A?.countryCode??null,wlocState:A?.adminDistrictCode??null,wlocDMA:A?.dmaCd??null,wlocId:A?.placeId??null,wlocFeatureId:A?.featureId??null,wlocFeatureSource:null!=O&&k.has(O)?O:void 0,wlocTags:A?.tags?.length?(0,f.parseArrayToString)(A.tags):null,wlocType:null!==z&&S.has(z)?z:void 0,samsungVersion:(0,h.getSamsungVersion)(),appVersion:"b1f2a8b9d69b0e3e05fe6d294ee6a35cce1a3921".slice(0,10)}},[e,n,I,P,j,A]);return(0,t.useCallback)(e=>{if(s.default){if(!M)return void b.warn('Hightouch: Event "interaction" skipped - SDK not ready');try{(0,x.trackInteraction)(T(e)),b.info('Hightouch: Event "interaction" tracked')}catch(e){b.error('Hightouch: Event "interaction" failed',{error:e})}}},[M,T])}])},683199,e=>{"use strict";var t=e.i(247865),i=e.i(546446),o=e.i(128541),r=e.i(537989);e.s(["usePremiumSource",0,()=>{let e=(0,i.useSetAtom)(o.purchaseSourceAttributionAtom),l=(0,i.useAtomValue)(r.pageIdAtom);return(0,t.useCallback)(({sourceModule:t,sourceElement:i,sourceUpsellPlacement:o})=>{e({sourcePage:l||null,sourceModule:t,sourceElement:i,sourceUpsellPlacement:o??null})},[e,l])}])},598513,e=>{"use strict";var t=e.i(947118),i=e.i(737801),o=e.i(329017),r=e.i(247865);e.s(["useSendInteractionEvent",0,()=>{let e="interaction",l=(0,t.useIsInitialized)(),a=(0,i.useEventAttributes)(),n=(0,o.useTrackInteraction)();return(0,r.useCallback)((t,i={})=>{n(t);let o={...a,...t};if(!l)return void console.warn("MParticle is not initialized");try{if(window.mParticle?.logEvent?.(e,window.mParticle?.EventType?.Other,o),i.flushImmediately)try{window.mParticle?.upload?.()}catch{}console.debug(`MParticle: Event "${e}" tracked`,o)}catch(t){console.error(`MParticle: Event "${e}" failed`,t)}},[a,l,n])}])},97506,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.getContentQueryMedia=l;let o=e.r(426606),r=e.r(16689);async function l({queryId:e,channel:t,territory:i,language:a="en-US",startIndex:n=0,limit:s,relatedSeed:c}){let d=new URLSearchParams({channel:t,language:a});i&&d.set("territory",i),c&&(d.set("seedId",c.id),d.set("seedCollection",c.collection)),n>0&&d.set("startIndex",String(n)),void 0!==s&&d.set("limit",String(s));let u=`https://${(0,r.getCmsBaseUrl)()}/api/payload/v1/media/query/${encodeURIComponent(e)}?${d.toString()}`,g=await (0,o.fetchJsonWithoutCredentials)(u);return Array.isArray(g)?g:[]}},645968,e=>{"use strict";var t=e.i(742436),i=e.i(283366);e.s(["default",0,function(e,o){let r=(0,t.useExperimentContext)();return((0,i.useExposure)(e),r)?r.variant(e,o):o}])},647872,494889,928083,624432,e=>{"use strict";var t=e.i(981030);(0,t.atom)({});let i=(0,t.atom)(!1);e.s(["newsHubEnabledAtom",0,i],494889);let o=(0,t.atom)(!1);e.s(["activityHubMenuEnabledAtom",0,o],928083);let r=(0,t.atom)(!1);e.s(["contentSearchUniversalAtom",0,r],624432),e.s([],647872)},956667,e=>{"use strict";var t=e.i(902875),i=e.i(247865),o=e.i(747961);let r=(0,i.forwardRef)(({title:e,titleId:i,desc:o,descId:r,...l},a)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:a,"aria-labelledby":i,"aria-describedby":r,...l,children:[o?(0,t.jsx)("desc",{id:r,children:o}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"Video Player"}):e?(0,t.jsx)("title",{id:i,children:e}):null,(0,t.jsxs)("g",{fill:"currentColor",children:[(0,t.jsx)("path",{d:"M7.265 5.978a.5.5 0 0 0-.765.424v3.196a.5.5 0 0 0 .765.424l2.557-1.598a.5.5 0 0 0 0-.848z"}),(0,t.jsx)("path",{d:"M14 3H2c-.552 0-1 .449-1 1v8c0 .551.448 1 1 1h12c.552 0 1-.449 1-1V4c0-.551-.448-1-1-1m0 8.5a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-7a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 .5.5z"})]})]})),l=i.default.forwardRef((e,i)=>(0,t.jsx)(o.BaseIcon,{ref:i,icon:r,...e}));l.displayName="VideoPlayer",e.s(["VideoPlayer",0,l])},957174,e=>{"use strict";var t=e.i(902875),i=e.i(247865),o=e.i(747961);let r=(0,i.forwardRef)(({title:e,titleId:i,desc:o,descId:r,...l},a)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:a,"aria-labelledby":i,"aria-describedby":r,...l,children:[o?(0,t.jsx)("desc",{id:r,children:o}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"Book"}):e?(0,t.jsx)("title",{id:i,children:e}):null,(0,t.jsxs)("g",{fill:"currentColor",children:[(0,t.jsx)("path",{d:"M13 5H9.5v1H13zM13 7.5H9.5v1H13zM13 10H9.5v1H13zM6.5 5H3v1h3.5zM6.5 7.5H3v1h3.5zM6.5 10H3v1h3.5z"}),(0,t.jsx)("path",{d:"M14 2.5H2a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-9a1 1 0 0 0-1-1m-12 1h5.5v9H2zm6.5 9v-9H14v9z"})]})]})),l=i.default.forwardRef((e,i)=>(0,t.jsx)(o.BaseIcon,{ref:i,icon:r,...e}));l.displayName="Book",e.s(["Book",0,l])},129932,e=>{"use strict";var t=e.i(902875),i=e.i(247865),o=e.i(747961);let r=(0,i.forwardRef)(({title:e,titleId:i,desc:o,descId:r,...l},a)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:a,"aria-labelledby":i,"aria-describedby":r,...l,children:[o?(0,t.jsx)("desc",{id:r,children:o}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"Products"}):e?(0,t.jsx)("title",{id:i,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M6 12a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9m0 2a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5M18 12a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9m0 2a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5M12 1.5a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9m0 2a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5",clipRule:"evenodd"})]})),l=i.default.forwardRef((e,i)=>(0,t.jsx)(o.BaseIcon,{ref:i,icon:r,...e}));l.displayName="SkincareBold",e.s(["SkincareBold",0,l])},800177,e=>{"use strict";var t=e.i(902875),i=e.i(247865),o=e.i(747961);let r=(0,i.forwardRef)(({title:e,titleId:i,desc:o,descId:r,...l},a)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:a,"aria-labelledby":i,"aria-describedby":r,...l,children:[o?(0,t.jsx)("desc",{id:r,children:o}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"Products"}):e?(0,t.jsx)("title",{id:i,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M6 12a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9M18 12a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9M12 1.5a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9",clipRule:"evenodd"})]})),l=i.default.forwardRef((e,i)=>(0,t.jsx)(o.BaseIcon,{ref:i,icon:r,...e}));l.displayName="SkincareBoldFilled",e.s(["SkincareBoldFilled",0,l])},995113,e=>{"use strict";var t=e.i(902875),i=e.i(247865),o=e.i(747961);let r=(0,i.forwardRef)(({title:e,titleId:i,desc:o,descId:r,...l},a)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:a,"aria-labelledby":i,"aria-describedby":r,...l,children:[o?(0,t.jsx)("desc",{id:r,children:o}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"lightning"}):e?(0,t.jsx)("title",{id:i,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M5.748 14.435a.43.43 0 0 0 .203.195.4.4 0 0 0 .164.037.4.4 0 0 0 .188-.057.43.43 0 0 0 .145-.142l5.47-7.69a.47.47 0 0 0 .046-.453.44.44 0 0 0-.156-.185.4.4 0 0 0-.223-.068H9.587l.727-3.52a.49.49 0 0 0-.084-.384.4.4 0 0 0-.146-.124A.4.4 0 0 0 9.902 2H5.694a.4.4 0 0 0-.268.094.46.46 0 0 0-.152.254L4.01 8.23a.49.49 0 0 0 .083.39q.062.082.151.126a.4.4 0 0 0 .187.04h2.032L5.7 14.147c-.014.1.003.201.049.289"})]})),l=i.default.forwardRef((e,i)=>(0,t.jsx)(o.BaseIcon,{ref:i,icon:r,...e}));l.displayName="LightningFilled",e.s(["LightningFilled",0,l])},731672,e=>{"use strict";var t=e.i(546446),i=e.i(965586),o=e.i(671525),r=e.i(889753),l=e.i(45846),a=e.i(284007),n=e.i(756227),s=e.i(358273),c=e.i(247865),d=e.i(540768),u=e.i(682142),g=e.i(782937),m=e.i(695881),p=e.i(333350),w=e.i(64412),h=e.i(950771),v=e.i(537989),f=e.i(695203),y=e.i(158662),C=e.i(777638),x=e.i(924776),b=e.i(409628),S=e.i(605781);let k=(0,m.createLogger)("useUserLoggedOut");e.s(["useUserLogout",0,function(){let e=(0,t.useSetAtom)(r.userPreferencesAtom),m=(0,n.useResetAuthState)(),{refresh:I}=(0,o.usePageNavigation)(),P=((e={})=>{let i=(0,t.useAtomValue)(v.pageIdAtom),o=(0,t.useAtomValue)(h.pageLocaleAtom),r=(0,t.useAtomValue)(f.deviceClassAtom),l=(0,t.useAtomValue)(y.experimentJoinListAtom),{location:a}=(0,w.useLocation)(),n=(0,x.useIsHightouchReady)(),{url:m,logoutMethod:I}=e;return(0,c.useCallback)(()=>{if(!p.default||!n)return;let e=(0,u.getCICookie)(),t=e?.["TWC-GeoIP-Country"]??(0,d.getCookie)("twc-location-country"),c=e?.["TWC-GeoIP-Region"]??(0,d.getCookie)("twc-location-region"),w=e?.["TWC-Privacy"]??(0,d.getCookie)("twc-privacy"),h=window.DprSdk?.getGdprConsentOptInsString()??"",v=window.DprSdk?.getCcpaSaleOptInString()??"",f=window.navigator?.globalPrivacyControl??!1,y=h?.includes("functional-technology")??!1,x=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,P=navigator?.cookieEnabled??!1,j=(0,d.getCookie)("partner")||"",A=(0,g.getPartnerByPattern)(j)??j,M=(0,s.getMetricsSession)(),T=M?.sessionId||"",H=M?.sessionStartTime||0,R=new Date,E=R.getHours(),B=b.WEEK_DAYS[R.getDay()]??"",D=-R.getTimezoneOffset()/60,V=document.referrer,L={url:m??window.location.pathname,logoutMethod:I??"manual",referrer:V,privProducts:v,deviceTimeZone:D,pageId:i??"",locale:o,deviceClass:r,sessionId:T,sessionStartTime:H,partner:A,wlocCity:a?.city??null,wlocCountry:a?.countryCode??null,wlocState:a?.adminDistrictCode??null,wlocDMA:a?.dmaCd??null,dayOfWeek:B,regime:w??"",cookiesEnabled:P,gpcSignalOptOut:f,functionalTechnologies:y,geographicallyRelevantAds:x,priv:h,hourOfDay:E,physicalCountry:t??"",physicalState:c??"",campaign:(0,C.getCampaign)()??void 0,tpcc:(0,C.getTpcc)(),linkReferral:(0,C.getLinkReferral)(),experimentJoinList:l,weatherMode:"normal",samsungVersion:(0,C.getSamsungVersion)(),appVersion:"b1f2a8b9d69b0e3e05fe6d294ee6a35cce1a3921".slice(0,10)};try{(0,S.trackUserLoggedout)(L),k.info('Hightouch: Event "user-loggedout" tracked')}catch(e){k.error('Hightouch: Event "user-loggedout" failed',{error:e})}},[m,I,i,o,r,l,a,n])})();return async()=>{try{return(0,s.regenerateMetricsSession)(),await l.upsxClient.auth.logout(),P(),m(),e(a.RESET),(0,i.deleteCookie)("twc-user",{domain:".weather.com"}),I({mpa:!0}),!0}catch(e){return console.error("Failed to log out:",e),!1}}}],731672)}]);