(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,198050,e=>{"use strict";var t=e.i(902875),r=e.i(247865),n=e.i(533760),i=e.i(405341),o=e.i(829065);e.s(["CJUniversalTagScript",0,()=>{let[e,a]=(0,r.useState)(null);return((0,r.useEffect)(()=>{let e=(0,i.getCjConfig)();e&&(0,o.isCjEligible)()&&a(e)},[]),e)?(0,t.jsx)(n.default,{id:"cj-site-page",strategy:"afterInteractive",children:`(function (w, d, src, enterpriseId) { w.cj = w.cj || {}; w.cj.sitePage = { enterpriseId: enterpriseId }; if (d.getElementById('cjapitag')) return; var tag = d.createElement('script'); var first = d.getElementsByTagName('script')[0]; tag.id = 'cjapitag'; tag.async = true; tag.src = src; if (first && first.parentNode) first.parentNode.insertBefore(tag, first); else d.body.appendChild(tag); })(window, document, ${JSON.stringify(e.tagSrc)}, ${JSON.stringify(e.enterpriseId)});`}):null}])},405341,829065,e=>{"use strict";e.s(["CJ_ACTION_ID_DIRECT_PURCHASE",0,521782,"CJ_ACTION_ID_TRIAL_SIGNUP",0,519532,"getCjConfig",0,()=>{let e=Number("1601099".trim()),t="1377327807670".trim();return Number.isInteger(e)&&!(et.US_REGIMES.includes((0,t.getRegime)())],829065)},560542,e=>{"use strict";var t=e.i(247865),r=e.i(293163),n=e.i(695881),i=e.i(553329),o=e.i(405341),a=e.i(829065);let s=(0,n.createLogger)("CommissionJunction");e.s(["useCjConversionTag",0,({shouldFire:e,orderId:n,amount:l,hasTrial:c})=>{let u=(0,t.useRef)(!1);(0,t.useEffect)(()=>{if(!e||u.current||!n)return;let t=(0,o.getCjConfig)();t&&(0,a.isCjEligible)()&&(u.current=!0,(0,i.tryCatch)((async()=>{var e;let i,a,s;return e={orderId:n,amount:l,actionTrackerId:c?o.CJ_ACTION_ID_TRIAL_SIGNUP:o.CJ_ACTION_ID_DIRECT_PURCHASE,cjEventId:(0,r.getCjEvent)()},(i=window).cj=i.cj||{},i.cj.order={enterpriseId:t.enterpriseId,actionTrackerId:e.actionTrackerId,orderId:e.orderId,pageType:"conversionConfirmation",currency:"USD",amount:e.amount,...e.cjEventId?{cjeventOrder:e.cjEventId}:{}},document.getElementById("cjapitag")?.remove(),(a=document.createElement("script")).id="cjapitag",a.async=!0,a.src=t.tagSrc,s=document.getElementsByTagName("script")[0],void(s?.parentNode?s.parentNode.insertBefore(a,s):document.body.appendChild(a))})()).then(({error:e})=>{e&&s.error("conversion tag failed",{orderId:n,error:e})}))},[e,n,l,c])}],560542)},414338,e=>{"use strict";var t=e.i(902875),r=e.i(247865),n=e.i(730921),i=e.i(581014),o=e.i(877957),a=e.i(62544),s=e.i(901351),l=e.i(313983),c=e.i(725296),u=e.i(521350),d=e.i(546446),g=e.i(540768),p=e.i(682142),f=e.i(782937),m=e.i(695881),w=e.i(333350),C=e.i(64412),h=e.i(950771),v=e.i(537989),y=e.i(695203),S=e.i(158662),A=e.i(358273),E=e.i(777638),b=e.i(924776),I=e.i(409628),k=e.i(605781),_=e.i(289681);let T=(0,m.createLogger)("useTrackConsentChange"),R={"sale-of-data":"sod","sensitive-data":"sensitive-data"};var P=e.i(611540),O=e.i(553329);let D=async e=>{let t;await (0,O.tryCatch)(Promise.race([Promise.resolve().then(e),new Promise(e=>{t=setTimeout(e,1e3)})])),clearTimeout(t)},L=({isUserLoggedIn:e,regime:m,deviceClass:O,experience:L,isPremiumUser:N})=>{let x=(0,i.useTranslations)("PrivacyConsentModal"),j=(0,n.useLocale)(),V=(0,P.interpolateUrl)(P.URLS.privacyPolicy,{locale:j}),[U,B]=(0,r.useState)(!1),[H,M]=(0,r.useState)(!1),[$,G]=(0,r.useState)(!1),W=(()=>{let e=(0,d.useAtomValue)(v.pageIdAtom),t=(0,d.useAtomValue)(h.pageLocaleAtom),n=(0,d.useAtomValue)(y.deviceClassAtom),i=(0,d.useAtomValue)(S.experimentJoinListAtom),{location:o}=(0,C.useLocation)(),a=(0,b.useIsHightouchReady)(),s=(0,r.useCallback)(()=>{let e=(0,p.getCICookie)(),r=e?.["TWC-GeoIP-Country"]??(0,g.getCookie)("twc-location-country"),a=e?.["TWC-GeoIP-Region"]??(0,g.getCookie)("twc-location-region"),s=e?.["TWC-Privacy"]??(0,g.getCookie)("twc-privacy"),l=window.DprSdk?.getGdprConsentOptInsString()??"",c=window.DprSdk?.getCcpaSaleOptInString()??"",u=window.navigator?.globalPrivacyControl??!1,d=l?.includes("functional-technology")??!1,m=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,w=window.DprSdk?.getUserConsent("interest-based-ads")!==!1,C=(0,_.getConsentAuthorization)("sale-of-data"),h=(0,_.getConsentAuthorization)("sensitive-data"),v=navigator?.cookieEnabled??!1,y=(0,g.getCookie)("partner")||"",S=(0,f.getPartnerByPattern)(y)??y,b=(0,A.getMetricsSession)(),k=b?.sessionId||"",T=new Date(b?.sessionStartTime||0).toISOString(),R=new Date,P=R.getHours(),O=I.WEEK_DAYS[R.getDay()]??"";return{schemaVersion:"nextgen",referrer:document.referrer,locale:t,deviceClass:n,partner:S,sessionId:k,sessionStartTime:T,siteMode:"normal",dayOfWeek:O,hourOfDay:P,regime:s??"",cookiesEnabled:v,gpcSignalOptOut:u,functionalTechnologies:d,geographicallyRelevantAds:m,interestBasedAds:w,priv:l,privProducts:c,saleOfData:C??void 0,saleOfDataAuthorization:C,sensitiveDataAuthorization:h,campaign:(0,E.getCampaign)(),experimentJoinList:i,weatherMode:"normal",physicalCountry:r??"",physicalState:a??"",caUser:"US"===r&&"CA"===a,wlocCity:o?.city??null,wlocCountry:o?.countryCode??null,wlocState:o?.adminDistrictCode??null,samsungVersion:(0,E.getSamsungVersion)(),appVersion:"f8b2958c3bf4e34f803045a5250abc259d5b13bb".slice(0,10)}},[t,n,i,o]),l=(0,r.useCallback)((t,r)=>{if("sensitive-data"===t&&r)return(0,k.trackSensitiveDataOptin)(s());let n={...s(),pageId:e??"",wlocDMA:o?.dmaCd??null};return"sensitive-data"===t?(0,k.trackSensitiveDataOptout)(n):r?(0,k.trackSodOptin)(n):(0,k.trackSodOptout)(n)},[s,e,o]);return(0,r.useCallback)((e,t)=>{let r=`${R[e]}-${t?"optin":"optout"}`;if(w.default)return a?(T.info(`Hightouch: Event "${r}" tracked`),l(e,t)):void T.warn(`Hightouch: Event "${r}" skipped - SDK not ready`)},[a,l])})();(0,r.useEffect)(()=>{if(!c.US_REGIMES.includes(m)||N||!(0,u.isLocalStorageAvailable)())return;let t=localStorage.getItem("gpcConflict"),r=localStorage.getItem("saleOfDataConflict");t?(M(!0),B(!0)):e&&r&&m===c.Regime.USA_CCPA&&(G(!0),B(!0))},[m,N,e]);let F=async e=>{try{let t={purpose:e.purpose,consent:e.value,setByUser:!0};await s.upsxClient.consent.createUserConsent(t),e.refreshAfterUpdate&&(await e.beforeRefresh,window.location.reload())}catch(e){console.error("Failed to update UPSX consent:",e)}},z=t=>{let r=window,n=window.top,i=r.DprSdk||n?.DprSdk;if(!i)return void console.error("Unable to fix conflict, missing DprSdk.");i.setUserConsents({[l.Purpose.SALE_OF_DATA]:t});let o=D(()=>W(l.Purpose.SALE_OF_DATA,t));e&&F({purpose:l.Purpose.SALE_OF_DATA,value:t,refreshAfterUpdate:!0,beforeRefresh:o}),H?((0,u.isLocalStorageAvailable)()&&localStorage.removeItem("gpcConflict"),e||o.then(()=>window.location.reload())):$&&(0,u.isLocalStorageAvailable)()&&localStorage.removeItem("saleOfDataConflict"),B(!1)},J="",K="";if(H?(J="gpcConflictHeader",K="gpcConflictParagraph",m===c.Regime.USA_CCPA&&(K+="_usa-ccpa")):$&&(J="saleOfDataConflictHeader",K="saleOfDataConflictParagraph",m===c.Regime.USA_CCPA&&(K+="_usa-ccpa")),K)return(0,t.jsx)(a.Dialog,{open:U,onOpenChange:B,children:(0,t.jsxs)(a.DialogContent,{className:`text-center ${"desktop"!==O?"h-screen w-screen max-w-none rounded-none":"max-w-lg"} ${"wu"===L?"wu-theme":""} `,onEscapeKeyDown:e=>{($||H)&&e.preventDefault()},onPointerDownOutside:e=>{e.preventDefault()},showCloseButton:!1,children:[J&&(0,t.jsx)(a.DialogHeader,{children:(0,t.jsx)(a.DialogTitle,{className:"text-xl font-semibold",children:x(J)})}),(0,t.jsx)("div",{className:"py-4",children:(0,t.jsx)("p",{className:"text-sm leading-relaxed",children:x.rich(K,{privacyPolicyLink:e=>(0,t.jsx)("a",{href:V,target:"_top",className:"text-blue-600 underline hover:text-blue-800",children:e})})})}),(0,t.jsxs)(a.DialogFooter,{className:"flex w-fit flex-col gap-3 justify-self-center",children:[(0,t.jsx)(o.Button,{onClick:()=>{z(!0)},variant:"default",className:"w-full sm:w-auto",children:x("optInButtonText")}),(0,t.jsx)(o.Button,{onClick:()=>{z(!1)},variant:"secondary",className:"w-full sm:w-auto",children:x("optOutButtonText")})]})]})})};e.s(["PrivacyConsentModalClient",0,L,"SOD_TRACK_TIMEOUT_MS",0,1e3,"default",0,L],414338)},248064,e=>{"use strict";var t=e.i(991511),r=e.i(763886),n=e.i(458001),i=e.i(394481),o=e.i(663333),a=e.i(849177),s=e.i(889753),l=e.i(5397),c=e.i(21121);e.i(647872);var u=e.i(494889),d=e.i(928083),g=e.i(624432),p=e.i(739971),f=e.i(688070),m=e.i(647292),w=e.i(247865),C=e.i(459598),h=e.i(90543);let v=!1,y=!1;function S(){y=!0,(0,C.suppressNextPurchaseAbandon)(),(0,C.suppressNextHightouchPurchaseAbandon)(),window.location.reload()}e.s(["FlagsBoundaryClient",0,({params:e})=>{var C;return(0,t.useRehydrateAtoms)([[r.partnerAtom,e.partner],[n.cscCountryCodeAtom,e.cscCountryCode],[i.privacyRegimeAtom,e.privacyRegime],[o.deviceClassAtom,e.deviceClass],[s.userTierAtom,e.userTier],[a.adsDisabledAtom,e.adsDisabled],[l.showAdminHeaderAtom,e.showAdminHeader],[c.showVelvetcakeModuleAtom,e.showVelvetcakeModule],[u.newsHubEnabledAtom,e.newsHubEnabled],[d.activityHubMenuEnabledAtom,e.activityHubMenuEnabled],[g.contentSearchUniversalAtom,e.contentSearchUniversal],[p.subscriptionsEnabledAtom,e.subscriptionsEnabled],[m.webViewPlatformAtom,e.webViewPlatform],[f.isWebViewOnlyAtom,e.isWebViewOnly]]),C=e.userTier,(0,w.useEffect)(()=>{let e=String(C);if(!v&&(v=!0,function(){let[e]=performance.getEntriesByType("navigation");return e?.type==="back_forward"}()&&(0,h.isStaleRestore)({renderedTier:e,recordedTier:(0,h.readRecordedTier)()})))return void S();if(y)return;(0,h.recordTier)(e);let t=(0,h.readAuthEpoch)(),r=r=>{r.persisted&&!y&&(0,h.isStaleRestore)({renderedTier:e,recordedTier:(0,h.readRecordedTier)(),epochAtLoad:t,currentEpoch:(0,h.readAuthEpoch)()})&&S()};return window.addEventListener("pageshow",r),()=>window.removeEventListener("pageshow",r)},[C]),null}],248064)},281468,e=>{"use strict";var t=e.i(288906),r=e.i(247865),n=e.i(725287);function i(){return false}function o(e){return RegExp(`/${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(?=[/?#]|$)`)}function a(e){(0,r.useEffect)(()=>{var t;e.beforeSend&&(null==(t=window.si)||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]);let n=(0,r.useRef)(null);return(0,r.useEffect)(()=>{if(n.current)e.route&&n.current(e.route);else{let r=function(e={}){var t;if(!("u">typeof window)||null===e.route)return null;window.si||(window.si=function(...e){(window.siq=window.siq||[]).push(e)});let r=e.scriptSrc?e.scriptSrc:i()?"https://va.vercel-scripts.com/v1/speed-insights/script.debug.js":e.dsn?"https://va.vercel-scripts.com/v1/speed-insights/script.js":e.basePath?`${e.basePath}/speed-insights/script.js`:"/_vercel/speed-insights/script.js";if(document.head.querySelector(`script[src*="${r}"]`))return null;e.beforeSend&&(null==(t=window.si)||t.call(window,"beforeSend",e.beforeSend));let n=document.createElement("script");return n.src=r,n.defer=!0,n.dataset.sdkn="@vercel/speed-insights"+(e.framework?`/${e.framework}`:""),n.dataset.sdkv="1.3.1",e.sampleRate&&(n.dataset.sampleRate=e.sampleRate.toString()),e.route&&(n.dataset.route=e.route),e.endpoint?n.dataset.endpoint=e.endpoint:e.basePath&&(n.dataset.endpoint=`${e.basePath}/speed-insights/vitals`),e.dsn&&(n.dataset.dsn=e.dsn),i()&&!1===e.debug&&(n.dataset.debug="false"),n.onerror=()=>{console.log(`[Vercel Speed Insights] Failed to load script from ${r}. Please check if any content blockers are enabled and try again.`)},document.head.appendChild(n),{setRoute:e=>{n.dataset.route=e??void 0}}}({framework:e.framework??"react",basePath:e.basePath??function(){if(void 0!==t.default&&void 0!==t.default.env)return t.default.env.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}(),...e});r&&(n.current=r.setRoute)}},[e.route]),null}function s(e){let i=(()=>{let e=(0,n.useParams)(),t=(0,n.useSearchParams)()||new URLSearchParams,r=(0,n.usePathname)();if(!e)return null;let i=Object.keys(e).length?e:Object.fromEntries(t.entries());if(!r||!i)return r;let a=r;try{let e=Object.entries(i);for(let[t,r]of e)if(!Array.isArray(r)){let e=o(r);e.test(a)&&(a=a.replace(e,`/[${t}]`))}for(let[t,r]of e)if(Array.isArray(r)){let e=o(r.join("/"));e.test(a)&&(a=a.replace(e,`/[...${t}]`))}return a}catch(e){return r}})();return r.default.createElement(a,{route:i,...e,framework:"next",basePath:function(){if(void 0!==t.default&&void 0!==t.default.env)return t.default.env.NEXT_PUBLIC_VERCEL_OBSERVABILITY_BASEPATH}()})}e.s(["SpeedInsights",0,function(e){return r.default.createElement(r.Suspense,{fallback:null},r.default.createElement(s,{...e}))}])},175897,e=>{"use strict";var t,r=e.i(288906),n={scriptHostname:("u">typeof r.default?r.default.env.NEXT_PUBLIC_VERCEL_TOOLBAR_HOST:void 0)??"https://vercel.live",ownerId:"u">typeof r.default?r.default.env.NEXT_PUBLIC_VERCEL_TOOLBAR_OWNER_ID:void 0,projectId:"u">typeof r.default?r.default.env.NEXT_PUBLIC_VERCEL_TOOLBAR_PROJECT_ID:void 0,branch:"u">typeof r.default?r.default.env.NEXT_PUBLIC_VERCEL_TOOLBAR_BRANCH:void 0,deploymentId:"u">typeof r.default?"dpl_6bB7xNbozRCDBFKzd8bRwf4zBJEZ":void 0},i=e.i(247865),o=!1;e.s(["UnmountController",0,function({shouldMount:e,nonce:r}){return(0,i.useEffect)(()=>(e&&o&&function(e={}){if(typeof window>"u"||null===document.querySelector("vercel-live-feedback")){Object.assign(n,e);let r=document.createElement("script");for(let[i,o]of(r.src=`${n.scriptHostname}/_next-live/feedback/feedback.js`,r.setAttribute("data-explicit-opt-in","true"),e.nonce&&r.setAttribute("nonce",e.nonce),Object.entries((n.ownerId&&n.projectId?{"data-owner-id":n.ownerId,"data-project-id":n.projectId,"data-branch":t??n.branch}:n.deploymentId?{"data-deployment-id":n.deploymentId}:void 0)??{})))o&&r.setAttribute(i,o);(document.head||document.documentElement).appendChild(r)}}({nonce:r}),o=!0,()=>{(typeof window>"u"?void 0:window.__vercel_toolbar)?.unmount()}),[]),null}],175897)},232598,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={callServer:function(){return o.callServer},createServerReference:function(){return s.createServerReference},findSourceMapURL:function(){return a.findSourceMapURL}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let o=e.r(276247),a=e.r(788443),s=e.r(955011)},866137,723469,e=>{"use strict";let t=(0,e.i(981030).atom)(!1);e.s(["adBlockAtom",0,t],866137);var r=e.i(247865),n=e.i(725287),i=e.i(546446),o=e.i(540768),a=e.i(682142),s=e.i(782937),l=e.i(695881),c=e.i(333350),u=e.i(64412),d=e.i(950771),g=e.i(537989),p=e.i(695203),f=e.i(158662),m=e.i(358273),w=e.i(122124),C=e.i(777638),h=e.i(924776),v=e.i(409628),y=e.i(605781),S=e.i(289681);let A=(0,l.createLogger)("useTrackString");e.s(["useTrackString",0,()=>{let e=(0,i.useAtomValue)(g.pageIdAtom),t=(0,i.useAtomValue)(d.pageLocaleAtom),l=(0,i.useAtomValue)(p.deviceClassAtom),E=(0,i.useAtomValue)(f.experimentJoinListAtom),b=(0,n.usePathname)(),{location:I}=(0,u.useLocation)(),k=(0,h.useIsHightouchReady)(),_=(0,r.useCallback)(r=>{let n=(0,a.getCICookie)(),i=n?.["TWC-GeoIP-Country"]??(0,o.getCookie)("twc-location-country"),c=n?.["TWC-GeoIP-Region"]??(0,o.getCookie)("twc-location-region"),u=n?.["TWC-Privacy"]??(0,o.getCookie)("twc-privacy"),d=window.DprSdk?.getGdprConsentOptInsString()??"",g=window.DprSdk?.getCcpaSaleOptInString()??"",p=window.navigator?.globalPrivacyControl??!1,f=d?.includes("functional-technology")??!1,h=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,y=window.DprSdk?.getUserConsent("interest-based-ads")!==!1,A=(0,S.getConsentAuthorization)("sale-of-data"),k=(0,S.getConsentAuthorization)("sensitive-data"),_=navigator?.cookieEnabled??!1,T=(0,o.getCookie)("partner")||"",R=(0,s.getPartnerByPattern)(T)??T,P=(0,m.getMetricsSession)(),O=P?.sessionId||"",D=new Date(P?.sessionStartTime||0).toISOString(),L=new Date,N=L.getHours(),x=v.WEEK_DAYS[L.getDay()]??"",j="article"===e||"video"===e?(0,w.stripLastPartOfSlug)(b??""):(0,w.getAnonymizedPath)(b??"");return{trackString:r,pageId:e??"",schemaVersion:"nextgen",url:j,referrer:document.referrer,locale:t,deviceClass:l,partner:R,sessionId:O,sessionStartTime:D,siteMode:"normal",dayOfWeek:x,hourOfDay:N,regime:u??"",cookiesEnabled:_,gpcSignalOptOut:p,functionalTechnologies:f,geographicallyRelevantAds:h,interestBasedAds:y,priv:d,privProducts:g,saleOfData:A??void 0,saleOfDataAuthorization:A,sensitiveDataAuthorization:k,campaign:(0,C.getCampaign)(),experimentJoinList:E,weatherMode:"normal",physicalCountry:i??"",physicalState:c??"",wlocCity:I?.city??null,wlocCountry:I?.countryCode??null,wlocState:I?.adminDistrictCode??null,wlocDMA:I?.dmaCd??null,samsungVersion:(0,C.getSamsungVersion)(),appVersion:"f8b2958c3bf4e34f803045a5250abc259d5b13bb".slice(0,10)}},[e,t,l,E,b,I]);return(0,r.useCallback)(e=>{if(c.default&&e){if(!k)return void A.warn('Hightouch: Event "track-string" skipped - SDK not ready');try{(0,y.trackTrackString)(_(e)),A.info('Hightouch: Event "track-string" tracked',{trackString:e})}catch(e){A.error('Hightouch: Event "track-string" failed',{error:e})}}},[k,_])}],723469)},128541,e=>{"use strict";var t=e.i(284007);let r=(0,t.createJSONStorage)(()=>sessionStorage),n=(0,t.atomWithStorage)("wx-purchase-source-attribution",null,r);e.s(["purchaseSourceAttributionAtom",0,n])},320209,e=>{"use strict";e.i(288906);var t=e.i(247865),r=e.i(725287),n=e.i(546446),i=e.i(540768),o=e.i(682142),a=e.i(782937),s=e.i(695881),l=e.i(333350),c=e.i(64412),u=e.i(950771),d=e.i(537989),g=e.i(695203),p=e.i(158662),f=e.i(358273),m=e.i(122124),w=e.i(727365),C=e.i(896363),h=e.i(777638),v=e.i(924776),y=e.i(409628),S=e.i(605781),A=e.i(289681);let E=(0,s.createLogger)("useTrackAssetViewed"),b=[],I=null;function k(e){try{(0,S.trackAssetViewed)(e),E.info(`Hightouch: Event "asset-viewed" tracked - ${e.contentId}`)}catch(e){E.error('Hightouch: Event "asset-viewed" failed',e)}}e.s(["trackHightouchAssetViewed",0,function(e){try{I?.(e)}catch(e){E.error('Hightouch: Event "asset-viewed" failed',e)}},"useRegisterAssetViewedTracker",0,()=>{let e=(()=>{let e=(0,r.usePathname)(),s=(0,n.useAtomValue)(d.pageIdAtom),S=(0,n.useAtomValue)(u.pageLocaleAtom),E=(0,n.useAtomValue)(g.deviceClassAtom),I=(0,n.useAtomValue)(p.experimentJoinListAtom),{location:_}=(0,c.useLocation)(),T=(0,v.useIsHightouchReady)(),R=(0,t.useCallback)(({moduleId:t,contentId:r,assetMediaType:n,title:l,pos:c,tagsKeyword:u})=>{let d=(0,o.getCICookie)(),g=d?.["TWC-GeoIP-Country"]??(0,i.getCookie)("twc-location-country"),p=d?.["TWC-GeoIP-Region"]??(0,i.getCookie)("twc-location-region"),v=d?.["TWC-Privacy"]??(0,i.getCookie)("twc-privacy"),b=window.DprSdk?.getGdprConsentOptInsString()??"",k=window.DprSdk?.getCcpaSaleOptInString()??"",T=window.navigator?.globalPrivacyControl??!1,R=b?.includes("functional-technology")??!1,P=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,O=window.DprSdk?.getUserConsent("interest-based-ads")!==!1,D=(0,A.getConsentAuthorization)("sale-of-data"),L=(0,A.getConsentAuthorization)("sensitive-data"),N=navigator?.cookieEnabled??!1,x=(0,i.getCookie)("partner")||"",j=(0,a.getPartnerByPattern)(x)??x,V=(0,f.getMetricsSession)(),U=V?.sessionId||"",B=new Date(V?.sessionStartTime||0).toISOString(),H=new Date,M=H.getHours(),$=y.WEEK_DAYS[H.getDay()]??"",G="article"===s||"video"===s?(0,m.stripLastPartOfSlug)(e??""):(0,m.getAnonymizedPath)(e??"");return{moduleId:t,contentId:r,assetMediaType:n,title:l,pos:String(c),tagsKeyword:u??null,pageId:s??"",url:G,referrer:document.referrer,locale:S,deviceClass:E,partner:j,sessionId:U,sessionStartTime:B,siteMode:"normal",dayOfWeek:$,hourOfDay:M,regime:v??"",cookiesEnabled:N,gpcSignalOptOut:T,functionalTechnologies:R,geographicallyRelevantAds:P,interestBasedAds:O,priv:b,privProducts:k,saleOfDataAuthorization:D,sensitiveDataAuthorization:L,campaign:(0,h.getCampaign)(),experimentJoinList:I,weatherMode:"normal",physicalCountry:g??"",physicalState:p??"",wlocCity:_?.city??null,wlocCountry:_?.countryCode??null,wlocState:_?.adminDistrictCode??null,wlocDMA:_?.dmaCd??null,wlocId:_?.placeId??null,wlocFeatureId:_?.featureId??null,wlocTags:_?.tags?.length?(0,C.parseArrayToString)(_.tags):null,wlocType:(0,w.normalizeWlocType)(_?.type),samsungVersion:(0,h.getSamsungVersion)(),appVersion:"f8b2958c3bf4e34f803045a5250abc259d5b13bb".slice(0,10)}},[e,s,S,E,I,_]);return(0,t.useEffect)(()=>{if(!T||0===b.length)return;let e=b;b=[],e.forEach(k)},[T]),(0,t.useCallback)(e=>{if(!l.default)return;let t=R(e);T?k(t):b.push(t)},[T,R])})();(0,t.useEffect)(()=>(I=e,()=>{I===e&&(I=null)}),[e])}])},647872,494889,928083,624432,e=>{"use strict";var t=e.i(981030);let r=(0,t.atom)(!1);e.s(["newsHubEnabledAtom",0,r],494889);let n=(0,t.atom)(!1);e.s(["activityHubMenuEnabledAtom",0,n],928083);let i=(0,t.atom)(!1);e.s(["contentSearchUniversalAtom",0,i],624432),e.s([],647872)},458001,e=>{"use strict";let t=(0,e.i(981030).atom)("");e.s(["cscCountryCodeAtom",0,t])},520362,e=>{"use strict";var t=e.i(902875),r=e.i(247865);let n=e=>{let{apiRoute:t,depth:n,refresh:i,serverURL:o}=e,a=(0,r.useRef)(!1),s=(0,r.useCallback)(e=>{e.origin===o&&e.data&&"object"==typeof e.data&&"payload-document-event"===e.data.type&&("function"==typeof i?i():console.error("You must provide a refresh function to `RefreshRouteOnSave`"))},[i,o]);return(0,r.useEffect)(()=>("u">typeof window&&window.addEventListener("message",s),a.current||(a.current=!0,(e=>{let{serverURL:t}=e;if("u">typeof window){let e=window?.opener||window?.parent;e?.postMessage({type:"payload-live-preview",ready:!0},t)}})({serverURL:o}),i()),()=>{"u">typeof window&&window.removeEventListener("message",s)}),[o,s,n,t,i]),null};var i=e.i(725287);let o=(0,e.i(695881).createLogger)("BlockHighlightOverlay"),a={position:"absolute",pointerEvents:"none",border:"2px solid #5B9BD5",backgroundColor:"rgba(91, 155, 213, 0.04)",borderRadius:"8px",boxShadow:"0 0 8px rgba(91, 155, 213, 0.3)",zIndex:"9999",transition:"opacity 150ms ease"},s=e=>{let r=(0,i.useRouter)();return(0,t.jsx)(n,{...e,refresh:r.refresh})};e.s(["LivePreviewListener",0,s],346267),e.i(346267),e.s(["BlockHighlightOverlay",0,()=>{let e=(0,r.useRef)(null),t=(0,r.useRef)(null),n=(0,r.useRef)(null),i=(0,r.useRef)(null),s=(0,r.useRef)(null),l=(0,r.useCallback)(()=>{if("u"{let r=t.current,i=e.current;if(!r||!i)return;if(!r.isConnected){t.current=null,i.style.opacity="0",n.current?.disconnect();return}let o=r.getBoundingClientRect();i.style.top=`${o.top+window.scrollY}px`,i.style.left=`${o.left+window.scrollX}px`,i.style.width=`${o.width}px`,i.style.height=`${o.height}px`,i.style.opacity="1"},[]),u=(0,r.useCallback)(()=>{t.current=null,s.current=null,e.current&&(e.current.style.opacity="0"),n.current?.disconnect()},[]),d=(0,r.useCallback)(()=>{t.current&&null===i.current&&(i.current=requestAnimationFrame(()=>{i.current=null,c()}))},[c]),g=(0,r.useCallback)(e=>{if(e===s.current)return;let r=document.querySelector(`[data-block-id="${CSS.escape(e)}"]`);if(!r)return void o.debug("No element found for block ID",{blockId:e});let i=(e=>{let t=e,r=t.getBoundingClientRect();for(let e=0;e{let t=e=>{var t;(e=>{if(e===window.location.origin)return!0;try{let{hostname:t}=new URL(e);return"weather.com"===t||t.endsWith(".weather.com")}catch{return!1}})(e.origin)&&"object"==typeof(t=e.data)&&null!==t&&"type"in t&&("wx:block-highlight-clear"===t.type||"wx:block-highlight"===t.type&&"blockId"in t&&"string"==typeof t.blockId)&&("wx:block-highlight"===e.data.type?g(e.data.blockId):u())};return window.addEventListener("message",t),window.addEventListener("scroll",d,{passive:!0}),window.addEventListener("resize",d,{passive:!0}),()=>{window.removeEventListener("message",t),window.removeEventListener("scroll",d),window.removeEventListener("resize",d),null!==i.current&&cancelAnimationFrame(i.current),n.current?.disconnect(),e.current?.remove()}},[g,u,d]),null},"LivePreviewListener",0,s],520362)},21121,e=>{"use strict";let t=(0,e.i(981030).atom)(!1);e.s(["showVelvetcakeModuleAtom",0,t])},313983,e=>{"use strict";var t,r=((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",()=>r])},731672,e=>{"use strict";var t=e.i(546446),r=e.i(965586),n=e.i(671525),i=e.i(889753),o=e.i(810564),a=e.i(45846),s=e.i(284007),l=e.i(756227),c=e.i(358273),u=e.i(247865),d=e.i(540768),g=e.i(682142),p=e.i(782937),f=e.i(695881),m=e.i(333350),w=e.i(64412),C=e.i(950771),h=e.i(537989),v=e.i(695203),y=e.i(158662),S=e.i(777638),A=e.i(924776),E=e.i(409628),b=e.i(605781);let I=(0,f.createLogger)("useUserLoggedOut");e.s(["useUserLogout",0,function({reload:e=!0}={}){let f=(0,t.useSetAtom)(i.userPreferencesAtom),k=(0,l.useResetAuthState)(),{refresh:_}=(0,n.usePageNavigation)(),T=((e={})=>{let r=(0,t.useAtomValue)(h.pageIdAtom),n=(0,t.useAtomValue)(C.pageLocaleAtom),i=(0,t.useAtomValue)(v.deviceClassAtom),o=(0,t.useAtomValue)(y.experimentJoinListAtom),{location:a}=(0,w.useLocation)(),s=(0,A.useIsHightouchReady)(),{url:l,logoutMethod:f}=e;return(0,u.useCallback)(()=>{if(!m.default||!s)return;let e=(0,g.getCICookie)(),t=e?.["TWC-GeoIP-Country"]??(0,d.getCookie)("twc-location-country"),u=e?.["TWC-GeoIP-Region"]??(0,d.getCookie)("twc-location-region"),w=e?.["TWC-Privacy"]??(0,d.getCookie)("twc-privacy"),C=window.DprSdk?.getGdprConsentOptInsString()??"",h=window.DprSdk?.getCcpaSaleOptInString()??"",v=window.navigator?.globalPrivacyControl??!1,y=C?.includes("functional-technology")??!1,A=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,k=navigator?.cookieEnabled??!1,_=(0,d.getCookie)("partner")||"",T=(0,p.getPartnerByPattern)(_)??_,R=(0,c.getMetricsSession)(),P=R?.sessionId||"",O=R?.sessionStartTime||0,D=new Date,L=D.getHours(),N=E.WEEK_DAYS[D.getDay()]??"",x=-D.getTimezoneOffset()/60,j=document.referrer,V={url:l??window.location.pathname,logoutMethod:f??"manual",referrer:j,privProducts:h,deviceTimeZone:x,pageId:r??"",locale:n,deviceClass:i,sessionId:P,sessionStartTime:O,partner:T,wlocCity:a?.city??null,wlocCountry:a?.countryCode??null,wlocState:a?.adminDistrictCode??null,wlocDMA:a?.dmaCd??null,dayOfWeek:N,regime:w??"",cookiesEnabled:k,gpcSignalOptOut:v,functionalTechnologies:y,geographicallyRelevantAds:A,priv:C,hourOfDay:L,physicalCountry:t??"",physicalState:u??"",campaign:(0,S.getCampaign)()??void 0,tpcc:(0,S.getTpcc)(),linkReferral:(0,S.getLinkReferral)(),experimentJoinList:o,weatherMode:"normal",samsungVersion:(0,S.getSamsungVersion)(),appVersion:"f8b2958c3bf4e34f803045a5250abc259d5b13bb".slice(0,10)};try{(0,b.trackUserLoggedout)(V),I.info('Hightouch: Event "user-loggedout" tracked')}catch(e){I.error('Hightouch: Event "user-loggedout" failed',{error:e})}},[l,f,r,n,i,o,a,s])})();return async()=>{try{return(0,c.regenerateMetricsSession)(),await a.upsxClient.auth.logout(),T(),k(),f(s.RESET),(0,r.deleteCookie)("twc-user",{domain:(0,o.upsxCookieDomain)(window.location.hostname)}),e&&_({mpa:!0}),!0}catch(e){return console.error("Failed to log out:",e),!1}}}],731672)},436028,e=>{"use strict";e.s(["hasLength",0,e=>Array.isArray(e)&&e.length>0])}]);