(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,26752,e=>{"use strict";e.i(538167);var t=e.i(282446);e.i(74492),e.i(144683);let r=new WeakMap;e.s(["f",0,function(e,i){var n;let o,a=(0,t.f)(i),l=(n=a,(o=r.get(n))||(o=new WeakSet,r.set(n,o)),o);for(let[t,...r]of e)(!l.has(t)||(null==i?void 0:i.dangerouslyForceHydrate))&&(l.add(t),a.set(t,...r))}])},797770,e=>{"use strict";let t=(0,e.i(144683).g)("");e.s(["f",0,t])},688070,e=>{"use strict";let t=(0,e.i(144683).g)(!1);e.s(["f",0,t])},604323,e=>{"use strict";let t=(0,e.i(144683).g)();e.s(["f",0,t])},513539,e=>{"use strict";var t=e.i(144683);let r=(0,t.g)(null),i=(0,t.g)(null);e.s(["M",0,i,"D",0,r])},236433,e=>{"use strict";let t=(0,e.i(144683).g)(null);e.s(["f",0,t])},128541,e=>{"use strict";var t=e.i(74492);let r=(0,t.j)(()=>sessionStorage),i=(0,t.N)("wx-purchase-source-attribution",null,r);e.s(["f",0,i])},529603,e=>{"use strict";let t=null,r=null,i=e=>{if(t&&e.event.context){let i={...t,...r};e.event.context.traits=e.event.userId?{...i,twcId:String(e.event.userId)}:i}return e};e.s(["p",0,()=>r,"k",0,e=>{t=e},"E",0,e=>{r=e},"Y",0,{name:"traits-plugin",type:"enrichment",version:"1.0.0",isLoaded:()=>!0,load:()=>Promise.resolve(),track:i,page:i}])},328343,680810,562209,e=>{"use strict";var t=e.i(538167),r=e.i(282446),i=e.i(737801),n=e.i(688070);e.s(["f",0,()=>{let e=(0,i.f)(),o=(0,r.y)(n.f);return(0,t.useCallback)((t,r={})=>{if(o)return void console.debug("Skipping enrolled-in-experiment in webview mode");if(!window.mParticle?.isInitialized?.())return void console.warn("MParticle is not initialized");if(!t)return void console.warn("No exposure data provided to trackEnrolledInExperiment");if(!t.experiment_key)return void console.debug(`[Experiment] Skipping exposure tracking for ${t.flag_key} - no experiment_key (feature flag only)`);try{let i={...e,newVariant:t.variant||"",newExperiment:t.flag_key,newExperimentKey:t.experiment_key,newExperimentReceivedAt:Date.now()};window.mParticle?.logEvent?.("enrolled-in-experiment",window.mParticle?.EventType?.Other,i,r),console.debug(`MParticle: Event tracked - enrolled-in-experiment for ${t.flag_key||"unknown"}:${t.variant}`)}catch(e){console.error("MParticle: Failed to track event",e)}},[e,o])}],328343);var o=e.i(199690),a=e.i(201542),l=e.i(682142),s=e.i(782937),u=e.i(695881),c=e.i(333350),d=e.i(64412),f=e.i(950771),p=e.i(537989),m=e.i(695203),g=e.i(358273),w=e.i(777638),y=e.i(924776),x=e.i(24638),v=e.i(963722),h=e.i(313983),I=e.i(409628),k=e.i(605781);let _=(0,u.createLogger)("useTrackEnrolledInExperiment"),S=[];function E(e){try{(0,k.P)(e),_.info(`Hightouch: Event "enrolled-in-experiment" tracked - ${e.newExperiment}:${e.newVariant}`)}catch(e){_.error("Hightouch: Failed to track enrolled-in-experiment",e)}}e.s(["f",0,()=>{let e=(0,r.y)(p.f),i=(0,r.y)(f.f),o=(0,r.y)(m.f),u=(0,r.y)(n.f),{location:k}=(0,d.f)(),_=(0,x.f)(),b=(0,y.f)()&&void 0!==_,C=(0,t.useCallback)((t,r)=>{let n=(0,l.f)(),u=n?.["TWC-GeoIP-Country"]??(0,a.getCookie)("twc-location-country"),c=n?.["TWC-GeoIP-Region"]??(0,a.getCookie)("twc-location-region"),d=n?.["TWC-Privacy"]??(0,a.getCookie)("twc-privacy"),f=window.DprSdk?.getGdprConsentOptInsString()??"",p=window.DprSdk?.getCcpaSaleOptInString()??"",m=window.navigator?.globalPrivacyControl??!1,y=(0,v.u)(h.d.FUNCTIONAL_TECHNOLOGY),x=(0,v.u)(h.d.GEOGRAPHICALLY_RELEVANT_ADVERTISING),_=navigator?.cookieEnabled??!1,S=(0,a.getCookie)("partner")||"",E=(0,s.i)(S)??S,b=(0,g.N)(),C=b?.sessionId||"",P=b?.sessionStartTime||0,D=new Date,N=D.getHours(),T=I.f[D.getDay()]??"",O=-D.getTimezoneOffset()/60;return{newExperiment:t.flag_key,newVariant:t.variant||"",newExperimentReceivedAt:Date.now(),experimentJoinList:r,pageId:e??"",referrer:document.referrer,locale:i,deviceClass:o,partner:E,sessionId:C,sessionStartTime:P,dayOfWeek:T,hourOfDay:N,deviceTimeZone:O,regime:d??"",cookiesEnabled:_,gpcSignalOptOut:m,functionalTechnologies:y,geographicallyRelevantAds:x,priv:f,privProducts:p,campaign:(0,w.s)()??void 0,weatherMode:"normal",physicalCountry:u??"",physicalState:c??"",wlocCity:k?.city??null,wlocCountry:k?.countryCode??null,wlocState:k?.adminDistrictCode??null,wlocDMA:k?.dmaCd??null,samsungVersion:(0,w.L)(),appVersion:"e9304b9dc9a3aba9ddce0ca3871fe1caf9336dfa".slice(0,10)}},[e,i,o,k]);return(0,t.useEffect)(()=>{if(!b||0===S.length)return;let e=S;S=[],e.forEach(E)},[b]),(0,t.useCallback)((e,t)=>{if(!c.default||u||!e.experiment_key)return;let r=C(e,t);b?E(r):S.push(r)},[b,u,C])}],680810);var b=e.i(553329);let C="production"!==o.default.env.VERCEL_TARGET_ENV,P=new Set;e.s(["y",0,function(){P.clear()},"B",0,function({exposure:e,userId:t,deviceId:r}){if(!e.experiment_key){C&&console.debug(`[Experiment] Skipping Amplitude HTTP exposure for ${e.flag_key} — no experiment_key (feature flag only)`);return}if(!t&&!r){C&&console.debug("[Experiment] Skipping Amplitude HTTP exposure — no user identity");return}let i=`${e.flag_key}::${e.variant??""}`;if(P.has(i)){C&&console.debug(`[Experiment] Skipping duplicate Amplitude HTTP exposure: ${i}`);return}P.add(i);let n={api_key:"bb1117981ed2a95dc4fa64b75661d681",events:[{event_type:"$exposure",user_id:t,device_id:r,ip:"$remote",time:Date.now(),event_properties:{flag_key:e.flag_key,variant:e.variant,experiment_key:e.experiment_key,platform:"web",app_name:"wx-next-web",environment:C?"dev":"prod",experimentation_platform:"amplitude_experiment"}}]};(async()=>{let{data:t,error:r}=await (0,b.f)(fetch("https://api2.amplitude.com/2/httpapi",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(n),keepalive:!0}));r?console.error("[Experiment] Failed to send exposure to Amplitude HTTP API:",r):t&&!t.ok?console.error(`[Experiment] Amplitude HTTP API returned ${t.status}`):C&&console.debug("[Experiment] Amplitude HTTP exposure sent:",{flag_key:e.flag_key,variant:e.variant})})()}],562209)},658547,e=>{"use strict";var t=e.i(538167),r=e.i(839315),i=e.i(491240);let n=(e,t)=>{let i,n=Date.now()+2e3;return(i=!1,Promise.race([new Promise(e=>{let t=()=>{if(!i){if(window.mParticle?.ready)return void window.mParticle.ready(()=>e());setTimeout(t,50)}};t()}),new Promise((e,t)=>{setTimeout(()=>{t(Error("MParticle did not become ready in time"))},2e3)})]).finally(()=>{i=!0})).then(()=>new Promise(i=>{let o=setTimeout(i,Math.max(0,n-Date.now()));window.mParticle?.Identity?.[e]?.(t,e=>{clearTimeout(o);let t=e?.getUser?.()?.getMPID?.();t&&(0,r._)(t),i()})}))};e.s(["f",0,()=>{let e=(0,t.useCallback)(e=>n("identify",{userIdentities:{customerid:e.customerid,email:e.email,other:(0,i.f)(e.other)}}),[]);return{identify:e,login:(0,t.useCallback)(e=>n("login",{userIdentities:{customerid:e.customerid,email:e.email,facebook:e.facebook,facebookcustomaudienceid:e.facebookcustomaudienceid,google:e.google,microsoft:e.microsoft,other:(0,i.f)(e.other),other2:(0,i.f)(e.other2),other3:(0,i.f)(e.other3),other4:(0,i.f)(e.other4),twitter:e.twitter,yahoo:e.yahoo}}),[]),logout:(0,t.useCallback)(()=>n("logout",{userIdentities:{}}),[])}}])},742436,569014,e=>{"use strict";e.s(["ExperimentContext",()=>h,"ExperimentProvider",()=>I,"useExperimentContext",()=>k],742436);var t=e.i(199690),r=e.i(458201),i=e.i(538167),n=e.i(333350),o=e.i(282446),a=e.i(328343),l=e.i(680810),s=e.i(158662),u=e.i(528600),c=e.i(562209),d=e.i(283366),f=e.i(219750),p=e.i(441535),m=e.i(830460);e.i(617163);let g={next:[{experimentName:"cw15000",variantName:"control"}],htmx:[{experimentName:"cw15000",variantName:"a"}]},w="wx.siteExperiment",y=e=>e.metadata?.[w]===!0,x=e=>y(e)?`${e.flag_key}:${e.variant??""}`:e.flag_key;e.s(["c",0,y,"o",0,function(e){return(Object.hasOwn(g,e)?g[e]:[]).map(e=>({...e})).map(({experimentName:e,variantName:t})=>({flag_key:e,variant:t,experiment_key:e,metadata:{[w]:!0}}))},"C",0,x],569014);let v="production"!==t.default.env.VERCEL_TARGET_ENV,h=(0,i.createContext)(null),I=({children:e})=>{let t=(0,a.f)(),g=(0,l.f)(),w=(0,o.F)(s.f),{user:I}=(0,u.f)(),[k,_]=(0,i.useState)(!1),[,S]=(0,i.useState)(0),E=(0,i.useRef)(void 0),b=(0,i.useRef)(void 0);E.current=I.userID||void 0;let C=n.default?window.__wxExperimentDeviceId:void 0;b.current=C||I.anonId||void 0,v&&C&&I.anonId&&C!==I.anonId&&console.warn("[Experiment] Device ID divergence — bucketing on the early ID.",{earlyDeviceId:C,useUserAnonId:I.anonId});let P=(0,i.useRef)(new Set),D=(0,i.useRef)({}),N=(0,i.useCallback)(e=>{if(void 0===e.variant&&e.metadata?.default===!0){v&&console.debug(`[Experiment] Skipping unassigned exposure for ${e.flag_key}`);return}let r=(0,d.p)(e.flag_key),i=void 0!==r?{...e,variant:r}:e,n=`${i.flag_key}::${i.variant??""}`;if(P.current.has(n))return;let o=()=>{if(P.current.has(n))return;P.current.add(n);let[e]=JSON.parse((0,p.f)({[i.flag_key]:{key:i.variant}}));if(e){let t=x(i);D.current={...D.current,[t]:e},w(JSON.stringify(Object.values(D.current))),(0,d.W)(t,e)}try{let e=f.f[i.flag_key];t(e?{...i,flag_key:e}:i),y(i)||(0,c.B)({exposure:i,userId:E.current,deviceId:b.current});let r=Object.values(D.current);g(i,r.length>0?JSON.stringify(r):null)}catch(e){console.error("[Experiment] Failed to track exposure:",e)}};window.mParticle?.isInitialized?.()?o():window.mParticle?.ready?.(o)},[t,g,w]),T=function(){let[e,t]=(0,i.useState)(()=>n.default?window.__wxExperimentClient??null:null);return(0,i.useEffect)(()=>{if(e||!n.default)return;let r=(0,m.F)(!0)??null;r?t(r):v&&console.debug("[Experiment] No client available (no API key?) — variants will use fallbacks")},[e]),e}();return(0,i.useEffect)(()=>{if(!n.default)return;window.__wxExposureSink=N;let e=window.__wxExposureQueue;if(e?.length)for(let t of(window.__wxExposureQueue=[],e))N(t);return()=>{window.__wxExposureSink===N&&(window.__wxExposureQueue??=[],window.__wxExposureSink=e=>{window.__wxExposureQueue?.push(e)})}},[N]),(0,i.useEffect)(()=>{let e=!n.default||!1!==window.__wxNeedsRemoteExperiments;(async()=>{if(!T)return;if(!e){v&&console.debug("[Experiment] All flags are local-mode — skipping remote fetch"),_(!0);return}let t=b.current;if(!t&&!I.userID){v&&console.debug("[Experiment] No user identifier available"),_(!0);return}let r={device_id:t,...I.userID?{user_id:I.userID}:{},user_properties:{}};v&&console.debug("[Experiment] Fetching experiments from API for user:",r);try{await T.fetch(r)}catch(e){console.error("[Experiment] Failed to fetch experiments:",e)}finally{_(!0)}})()},[T,I.anonId,I.userID]),(0,i.useEffect)(()=>{if(!T)return;let e=b.current;(e||I.userID)&&T.setUser({device_id:e,...I.userID?{user_id:I.userID}:{}})},[T,I.anonId,I.userID]),(0,i.useEffect)(()=>{P.current.clear(),(0,c.y)(),(0,d.z)(),D.current={},w(null),S(e=>e+1);let e=(0,d.f)();Object.keys(e).length>0&&(D.current=e,w(JSON.stringify(Object.values(e))))},[I.userID,w]),(0,r.jsx)(h.Provider,{value:{client:T,variant:(e,t)=>{if(!T)return t;let r=T.variant(e,t);return v&&console.debug("[Experiment] Current Variant:",r),r},fetch:e=>{if(!T)return Promise.resolve();if(!e){let e=b.current;if(e||I.userID){let t={device_id:e,...I.userID?{user_id:I.userID}:{},user_properties:{}};return T.fetch(t)}}return T.fetch(e)},isFetchComplete:k},children:e})},k=()=>{let e=(0,i.useContext)(h);if(!e)throw Error("useExperimentContext must be used within an AmplitudeExperimentProvider");return e}},219750,441535,e=>{"use strict";e.s(["f",0,{"homepage-video-player-desktop-web":"cw13124",cw14363:"cw14363",cw14385:"cw14385",cw15118:"cw15118","tenday-upsell-gate":"cw14461","ad-label-upsell":"cw15141"}],219750),e.s(["f",0,function(e){return JSON.stringify(Object.entries(e).filter(([,e])=>!!e?.key).map(([e,t])=>{let r=t.key??"",i=Math.floor(Date.now()/1e3);return`${e},${r},${i}`}))}],441535)},283366,e=>{"use strict";e.s(["p",()=>v,"f",()=>m,"z",()=>h,"I",()=>I,"W",()=>g]);var t=e.i(538167),r=e.i(695881),i=e.i(333350),n=e.i(358273),o=e.i(742436);let a=(0,r.createLogger)("useExposure"),l="wxu-exp-exposed:",s=new Set,u=()=>{try{return(0,n.N)()?.sessionId||null}catch{return null}},c=(e,t)=>{for(let r=localStorage.length-1;r>=0;r--){let i=localStorage.key(r);i?.startsWith(e)&&i!==e+t&&localStorage.removeItem(i)}},d=e=>{try{let t=localStorage.getItem(l+e);return new Set(t?JSON.parse(t):[])}catch{return new Set}},f=(e,t)=>{try{c(l,e),localStorage.setItem(l+e,JSON.stringify([...t]))}catch{}},p="wxu-exp-joinlist:",m=()=>{let e=u();if(!e)return{};try{let t=localStorage.getItem(p+e);return t?JSON.parse(t):{}}catch{return{}}},g=(e,t)=>{let r=u();if(r)try{c(p,r);let i=m();localStorage.setItem(p+r,JSON.stringify({...i,[e]:t}))}catch{}},w=e=>{if(0===s.size)return;let t=d(e);for(let e of s)t.add(e);f(e,t),s.clear()},y=e=>{let t=u();return t?(w(t),d(t).has(e)):s.has(e)},x=new Map;function v(e){return x.get(e)}function h(){s.clear(),x.clear();let e=u();if(e)try{localStorage.removeItem(l+e)}catch{}}function I(e,r){let n=void 0!==r,l=r?.variant,c=(0,t.useContext)(o.ExperimentContext);(0,t.useEffect)(()=>{if(!i.default||!c||y(e)||n&&void 0===l)return;let{client:t,isFetchComplete:r}=c;if(!t||!r)return;let o=()=>{if(!y(e)){(e=>{let t=u();if(!t)return s.add(e);w(t);let r=d(t);r.add(e),f(t,r)})(e),void 0!==l&&x.set(e,l);try{t.exposure(e)}catch(t){(e=>{let t=u();if(!t)return s.delete(e);let r=d(t);r.delete(e)&&f(t,r)})(e),void 0!==l&&x.delete(e),a.error("Failed to track exposure:",t)}}};window.mParticle?.isInitialized?.()?o():window.mParticle?.ready?.(o)},[c,e,n,l])}},617163,e=>{"use strict";e.i(199690),e.s([])},756227,e=>{"use strict";var t=e.i(282446),r=e.i(74492),i=e.i(889753),n=e.i(905059),o=e.i(310847),a=e.i(960576),l=e.i(317298),s=e.i(839315),u=e.i(391174),c=e.i(735526),d=e.i(90543),f=e.i(529603);e.s(["f",0,function(){let e=(0,t.F)(i.Y),p=(0,t.F)(o.n),m=(0,t.F)(i.s),g=(0,t.F)(n.f);return()=>{(0,u.f)(),(0,l.n)(),e(r.s),p(null),m(r.s),g(r.s),(0,a.c)(),(0,c.K)(),(0,f.E)(null),(0,s.x)(),(0,d.$)()}}])},735526,e=>{"use strict";let t="wx-next/account-created";e.s(["K",0,function(){try{sessionStorage.removeItem(t)}catch{}},"q",0,function(){try{sessionStorage.setItem(t,"true")}catch{}},"$",0,function(){try{return"true"===sessionStorage.getItem(t)}catch{return!1}}])},90543,e=>{"use strict";var t=e.i(521350);let r="wxu-auth-epoch",i="wxu-rendered-tier";function n(e){return(0,t.isLocalStorageAvailable)()?localStorage.getItem(e):null}function o(e,r){(0,t.isLocalStorageAvailable)()&&localStorage.setItem(e,r)}e.s(["$",0,function(){o(r,String(Date.now()))},"T",0,function({renderedTier:e,recordedTier:t,epochAtLoad:r,currentEpoch:i}){return null!==t&&t!==e||void 0!==r&&r!==i},"R",0,function(){return n(r)},"J",0,function(){return n(i)},"K",0,function(e){o(i,e)}])},391174,184059,e=>{"use strict";var t=e.i(284981);e.s(["f",()=>t.j],184059);var t=t,r=e.i(892504);e.s(["f",0,()=>{(0,t.j)(e=>"string"==typeof e&&e.startsWith("upsx/"),void 0,{revalidate:!1}),(0,r.p)()}],391174)},45846,e=>{"use strict";e.i(199690);var t=e.i(245943),r=e.i(810564);let i=new t.UPSXClient({baseUrl:(0,r.Z)("https://upsx.weather.com")});e.s(["f",0,i])},143778,e=>{"use strict";let t=(0,e.i(74492).N)("wxu-web/keyval:emailSubscriptions",null,void 0,{getOnInit:!0});e.s(["f",0,t])},905059,e=>{"use strict";let t=(0,e.i(74492).N)("wx-next/user:mapLayerOrder",null,void 0,{getOnInit:!0});e.s(["f",0,t])},398444,e=>{"use strict";let t=(0,e.i(144683).g)(!1);e.s(["f",0,t])},317298,e=>{"use strict";let t="wxu-next-session-intent",r=["fpdprobnsitop1intent","fpdprobnsitop2intent","fpdprobnsitop3intent"],i=new Set(["article","video"]);e.s(["n",0,function(){try{localStorage.removeItem(t)}catch{}},"B",0,function(e){return!!e&&r.some(t=>{let r=e[t];return"string"==typeof r&&i.has(r.trim().toLowerCase())})},"o",0,function(){try{let e=localStorage.getItem(t);if(!e)return null;let r=JSON.parse(e);if(r&&"object"==typeof r&&"promotesNews"in r&&"boolean"==typeof r.promotesNews)return{promotesNews:r.promotesNews};return null}catch{return null}},"d",0,function(e){try{localStorage.setItem(t,JSON.stringify({promotesNews:e.promotesNews}))}catch{}}])},839315,e=>{"use strict";var t=e.i(584169);let r="wxu-web/keyval:mparticleUser";e.s(["x",0,()=>{try{localStorage.removeItem(r)}catch{}},"S",0,({upsxId:e,anonId:t})=>{let r="wxu-web/keyval:airlyticsUserAttributes"in localStorage,i="wxu-web/keyval:airlyticsEventQueue"in localStorage;return r&&i?e?`user:${e}`:`devices:${t}`:null},"d",0,()=>{let e=(0,t.getCookie)("s_vi")?.toString();if(!e||"string"!=typeof e)return null;let r=e.split("|");return r&&Array.isArray(r)&&"string"==typeof r[1]&&r[1].split("[")[0]||null},"t",0,()=>{let e,r,i=(e=window?.top,(r=e?._sp_?.metricData?.propertyId)||null),n=window?.top,o=n?._sp_?.config?.authId||(0,t.getCookie)("consentUUID")?.toString();return o&&i?`${i}:${o}`:null},"N",0,()=>{try{let e=JSON.parse(localStorage.getItem(r)||"{}");return e?.value?.mpid||null}catch{return null}},"H",0,()=>window?.mParticle?.Identity?.getCurrentUser?.()?.getUserIdentities?.()?.userIdentities?.customerid||null,"u",0,()=>{let e=window?.mParticle?.Identity?.getCurrentUser?.()?.getMPID?.();return e||null},"_",0,e=>{try{localStorage.setItem(r,JSON.stringify({value:{mpid:e},updatedAt:Date.now()}))}catch{}}])},892504,e=>{"use strict";let t="upsx-purchase-checked-at";e.s(["p",0,()=>{try{localStorage.removeItem(t)}catch{}},"q",0,()=>{try{localStorage.setItem(t,String(Date.now()))}catch{}},"r",0,()=>{try{let e=localStorage.getItem(t);if(!e)return!1;let r=Number(e);if(!Number.isFinite(r))return!1;return Date.now()-r{"use strict";var t=e.i(553329),r=e.i(901351);async function i(e){let{data:i,error:n}=await (0,t.f)(r.f.identity.resolve(e));return n||"string"!=typeof i?.twcID||!i.twcID?{twcId:null,error:n??null}:{twcId:{twcID:i.twcID,hashedTwcID:i.hashedTwcID,expiresAt:i.expiresAt,manifestVersion:i.manifestVersion,installationID:e},error:null}}e.s(["f",0,i],74874);let n=(0,e.i(695881).createLogger)("MParticleIdentity");e.s(["f",0,e=>"string"==typeof e&&e.length>256?(n.warn(`identity value exceeded 256 chars (${e.length}); truncating`),e.slice(0,256)):e],491240)},991511,e=>{"use strict";var t=e.i(538167),r=e.i(26752),i=e.i(282446);e.s(["f",0,e=>{(0,r.f)(e);let n=(0,i.f)(),o=(0,t.useRef)(e);o.current=e,(0,t.useEffect)(()=>{for(let[e,t]of o.current)n.get(e)!==t&&n.set(e,t)})}])}]);