(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))},683199,e=>{"use strict";var t=e.i(247865),i=e.i(546446),r=e.i(128541),l=e.i(537989);e.s(["usePremiumSource",0,()=>{let e=(0,i.useSetAtom)(r.purchaseSourceAttributionAtom),a=(0,i.useAtomValue)(l.pageIdAtom);return(0,t.useCallback)(({sourceModule:t,sourceElement:i,sourceUpsellPlacement:r})=>{e({sourcePage:a||null,sourceModule:t,sourceElement:i,sourceUpsellPlacement:r??null})},[e,a])}])},598513,e=>{"use strict";var t=e.i(947118),i=e.i(737801),r=e.i(247865);e.s(["useSendInteractionEvent",0,()=>{let e="interaction",l=(0,t.useIsInitialized)(),a=(0,i.useEventAttributes)();return(0,r.useCallback)((t,i={})=>{let r={...a,...t};if(!l)return void console.warn("MParticle is not initialized");try{if(window.mParticle?.logEvent?.(e,window.mParticle?.EventType?.Other,r),i.flushImmediately)try{window.mParticle?.upload?.()}catch{}console.debug(`MParticle: Event "${e}" tracked`,r)}catch(t){console.error(`MParticle: Event "${e}" failed`,t)}},[a,l])}])},97506,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.getContentQueryMedia=a;let r=e.r(426606),l=e.r(16689);async function a({queryId:e,channel:t,territory:i,language:o="en-US",startIndex:n=0,limit:s,relatedSeed:d}){let c=new URLSearchParams({channel:t,language:o});i&&c.set("territory",i),d&&(c.set("seedId",d.id),c.set("seedCollection",d.collection)),n>0&&c.set("startIndex",String(n)),void 0!==s&&c.set("limit",String(s));let u=`https://${(0,l.getCmsBaseUrl)()}/api/payload/v1/media/query/${encodeURIComponent(e)}?${c.toString()}`,g=await (0,r.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,r){let l=(0,t.useExperimentContext)();return((0,i.useExposure)(e),l)?l.variant(e,r):r}])},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 r=(0,t.atom)(!1);e.s(["activityHubMenuEnabledAtom",0,r],928083);let l=(0,t.atom)(!1);e.s(["contentSearchUniversalAtom",0,l],624432),e.s([],647872)},956667,e=>{"use strict";var t=e.i(902875),i=e.i(247865),r=e.i(747961);let l=(0,i.forwardRef)(({title:e,titleId:i,desc:r,descId:l,...a},o)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:o,"aria-labelledby":i,"aria-describedby":l,...a,children:[r?(0,t.jsx)("desc",{id:l,children:r}):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"})]})]})),a=i.default.forwardRef((e,i)=>(0,t.jsx)(r.BaseIcon,{ref:i,icon:l,...e}));a.displayName="VideoPlayer",e.s(["VideoPlayer",0,a])},957174,e=>{"use strict";var t=e.i(902875),i=e.i(247865),r=e.i(747961);let l=(0,i.forwardRef)(({title:e,titleId:i,desc:r,descId:l,...a},o)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:o,"aria-labelledby":i,"aria-describedby":l,...a,children:[r?(0,t.jsx)("desc",{id:l,children:r}):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"})]})]})),a=i.default.forwardRef((e,i)=>(0,t.jsx)(r.BaseIcon,{ref:i,icon:l,...e}));a.displayName="Book",e.s(["Book",0,a])},129932,e=>{"use strict";var t=e.i(902875),i=e.i(247865),r=e.i(747961);let l=(0,i.forwardRef)(({title:e,titleId:i,desc:r,descId:l,...a},o)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:o,"aria-labelledby":i,"aria-describedby":l,...a,children:[r?(0,t.jsx)("desc",{id:l,children:r}):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"})]})),a=i.default.forwardRef((e,i)=>(0,t.jsx)(r.BaseIcon,{ref:i,icon:l,...e}));a.displayName="SkincareBold",e.s(["SkincareBold",0,a])},800177,e=>{"use strict";var t=e.i(902875),i=e.i(247865),r=e.i(747961);let l=(0,i.forwardRef)(({title:e,titleId:i,desc:r,descId:l,...a},o)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",ref:o,"aria-labelledby":i,"aria-describedby":l,...a,children:[r?(0,t.jsx)("desc",{id:l,children:r}):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"})]})),a=i.default.forwardRef((e,i)=>(0,t.jsx)(r.BaseIcon,{ref:i,icon:l,...e}));a.displayName="SkincareBoldFilled",e.s(["SkincareBoldFilled",0,a])},995113,e=>{"use strict";var t=e.i(902875),i=e.i(247865),r=e.i(747961);let l=(0,i.forwardRef)(({title:e,titleId:i,desc:r,descId:l,...a},o)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:o,"aria-labelledby":i,"aria-describedby":l,...a,children:[r?(0,t.jsx)("desc",{id:l,children:r}):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"})]})),a=i.default.forwardRef((e,i)=>(0,t.jsx)(r.BaseIcon,{ref:i,icon:l,...e}));a.displayName="LightningFilled",e.s(["LightningFilled",0,a])},731672,e=>{"use strict";var t=e.i(546446),i=e.i(965586),r=e.i(671525),l=e.i(889753),a=e.i(45846),o=e.i(284007),n=e.i(756227),s=e.i(358273),d=e.i(247865),c=e.i(540768),u=e.i(682142),g=e.i(782937),h=e.i(695881),f=e.i(333350),m=e.i(64412),v=e.i(950771),w=e.i(537989),x=e.i(695203),p=e.i(158662),y=e.i(777638),b=e.i(924776),C=e.i(409628),j=e.i(605781);let S=(0,h.createLogger)("useUserLoggedOut");e.s(["useUserLogout",0,function(){let e=(0,t.useSetAtom)(l.userPreferencesAtom),h=(0,n.useResetAuthState)(),{refresh:k}=(0,r.usePageNavigation)(),A=((e={})=>{let i=(0,t.useAtomValue)(w.pageIdAtom),r=(0,t.useAtomValue)(v.pageLocaleAtom),l=(0,t.useAtomValue)(x.deviceClassAtom),a=(0,t.useAtomValue)(p.experimentJoinListAtom),{location:o}=(0,m.useLocation)(),n=(0,b.useIsHightouchReady)(),{url:h,logoutMethod:k}=e;return(0,d.useCallback)(()=>{if(!f.default||!n)return;let e=(0,u.getCICookie)(),t=e?.["TWC-GeoIP-Country"]??(0,c.getCookie)("twc-location-country"),d=e?.["TWC-GeoIP-Region"]??(0,c.getCookie)("twc-location-region"),m=e?.["TWC-Privacy"]??(0,c.getCookie)("twc-privacy"),v=window.DprSdk?.getGdprConsentOptInsString()??"",w=window.DprSdk?.getCcpaSaleOptInString()??"",x=window.navigator?.globalPrivacyControl??!1,p=v?.includes("functional-technology")??!1,b=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,A=navigator?.cookieEnabled??!1,M=(0,c.getCookie)("partner")||"",P=(0,g.getPartnerByPattern)(M)??M,R=(0,s.getMetricsSession)(),I=R?.sessionId||"",B=R?.sessionStartTime||0,H=new Date,E=H.getHours(),_=C.WEEK_DAYS[H.getDay()]??"",L=-H.getTimezoneOffset()/60,z=document.referrer,T={url:h??window.location.pathname,logoutMethod:k??"manual",referrer:z,privProducts:w,deviceTimeZone:L,pageId:i??"",locale:r,deviceClass:l,sessionId:I,sessionStartTime:B,partner:P,wlocCity:o?.city??null,wlocCountry:o?.countryCode??null,wlocState:o?.adminDistrictCode??null,wlocDMA:o?.dmaCd??null,dayOfWeek:_,regime:m??"",cookiesEnabled:A,gpcSignalOptOut:x,functionalTechnologies:p,geographicallyRelevantAds:b,priv:v,hourOfDay:E,physicalCountry:t??"",physicalState:d??"",campaign:(0,y.getCampaign)()??void 0,tpcc:(0,y.getTpcc)(),linkReferral:(0,y.getLinkReferral)(),experimentJoinList:a,weatherMode:"normal",appVersion:"d2fb83ce336fcd1ff9e2c41d7b82855e330e54d9".slice(0,10)};(0,j.trackUserLoggedout)(T),S.info('Hightouch: Event "user-loggedout" tracked')},[h,k,i,r,l,a,o,n])})();return async()=>{try{return(0,s.regenerateMetricsSession)(),await a.upsxClient.auth.logout(),A(),h(),e(o.RESET),(0,i.deleteCookie)("twc-user",{domain:".weather.com"}),k({mpa:!0}),!0}catch(e){return console.error("Failed to log out:",e),!1}}}],731672)}]);