(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,752496,e=>{"use strict";var t=e.i(592121),r=e.i(609858);let o=(0,e.i(695881).createLogger)("DebugCollector");e.s(["DebugCollectorClient",0,function({componentName:e,data:n,page:i,onUpdateData:s,onSetPageData:a}){let{updateComponentData:l,setPageData:u}=(0,r.useDebugSystem)(),c=(0,t.useRef)(!1),d=s||l,f=a||u;return(0,t.useEffect)(()=>{if(n)return o.lifecycle(`Collecting component data for ${e}`,{dataKeys:Object.keys(n),hasPerformance:!!n.performance,hasContext:!!n.context}),d(e,{...n,_collectedAt:new Date().toISOString()}),()=>{o.lifecycle(`Cleaning up data for ${e}`),d(e,null)}},[e,n,d]),(0,t.useEffect)(()=>{i&&!c.current&&(o.lifecycle("Setting page metadata",{title:i.title,assetName:i.assetName,collection:i.collection}),f({...i,_updatedAt:new Date().toISOString()}),c.current=!0)},[i,f]),null}])},991511,e=>{"use strict";var t=e.i(592121),r=e.i(806262),o=e.i(546446);e.s(["useRehydrateAtoms",0,e=>{(0,r.useHydrateAtoms)(e);let n=(0,o.useStore)(),i=(0,t.useRef)(e);i.current=e,(0,t.useEffect)(()=>{for(let[e,t]of i.current)n.get(e)!==t&&n.set(e,t)})}])},797770,e=>{"use strict";let t=(0,e.i(981030).atom)("");e.s(["adsMetricsUnitAndZoneAtom",0,t])},49893,e=>{"use strict";let t=(0,e.i(981030).atom)();e.s(["adsKillswitchAtom",0,t])},21121,e=>{"use strict";let t=(0,e.i(981030).atom)(!1);e.s(["showVelvetcakeModuleAtom",0,t])},104777,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var o={callServer:function(){return i.callServer},createServerReference:function(){return a.createServerReference},findSourceMapURL:function(){return s.findSourceMapURL}};for(var n in o)Object.defineProperty(r,n,{enumerable:!0,get:o[n]});let i=e.r(836549),s=e.r(560716),a=e.r(544383)},382602,e=>{"use strict";var t=e.i(981030),r=e.i(889753);let o=(0,t.atom)(e=>e(r.userProfileAtom)?.email),n=(0,t.atom)(e=>e(r.userProfileAtom)?.firstName),i=(0,t.atom)(e=>e(r.userProfileAtom)?.gender);(0,t.atom)(e=>e(r.userProfileAtom)?.emailVerified),e.s(["userEmailAtom",0,o,"userFirstNameAtom",0,n,"userGenderAtom",0,i])},160317,e=>{"use strict";var t=e.i(543512);e.s(["getSubscriptionTierKey",0,function(e){return t.UserSubscriptionTierKeysMap[e]??t.UserSubscriptionTierKeysMap[t.UserSubscriptionTiers.none]}])},915044,e=>{"use strict";var t=e.i(592121),r=e.i(947118),o=e.i(546446),n=e.i(959194),i=e.i(160317),s=e.i(382602),a=e.i(864723),l=e.i(310847),u=e.i(333350),c=e.i(528600);e.s(["useUserAttributes",0,()=>{let e=(0,r.useIsInitialized)(),{user:{isUserLoggedIn:d,isUserPremium:f,subscriptionTier:m}}=(0,c.useUser)(),[p,A]=(0,t.useState)(!1),[b,w]=(0,t.useState)(!1),v=f??!1,E=(0,i.getSubscriptionTierKey)(m),h=(0,o.useAtomValue)(s.userFirstNameAtom),g=(0,o.useAtomValue)(s.userGenderAtom),y=(0,o.useAtomValue)(l.wxuUserAnonymousIdAtom),C=(0,o.useAtomValue)(l.userHasLoggedInBeforeAtom),S=u.default?window?.DprSdk?.getUserConsent("sale-of-data")!==!1:void 0,R=u.default?window?.DprSdk?.getUserConsent("sensitive-data")!==!1:void 0,_=(0,a.getCookie)("subscription")??"",{productID:I=null,expirationDateTime:O=null,transactionDateTime:L=null,firstTransactionDateTime:P=null,autoRenew:T=null,price:k=null,productName:N=null}=(0,n.jwtDecoder)(_)||{},U=(0,t.useMemo)(()=>({premium:v,premiumProductTier:E,premiumExpiration:O,premiumStart:L,premiumFirstTransactionDate:P,premiumProductId:I,premiumProductAutoRenew:T,premiumPrice:k,premiumProductName:N,isRegisteredUser:d||C||!1,isLoggedIn:d,"Amplitude.device_id":y,$Gender:g,$FirstName:h,saleOfDataAuthorization:S,sensitiveDataAuthorization:R,devUser:!1}),[v,E,O,L,P,I,T,k,N,y,d,C,h,g,S,R]);(0,t.useEffect)(()=>{(0,n.areObjectValuesDefined)(U)&&!p&&A(!0)},[U,p]);let V=(0,t.useCallback)(()=>{for(let e in U)void 0===U[e]&&delete U[e];if(e&&p&&!b){let e=window.mParticle?.Identity?.getCurrentUser?.();if(!e)return void console.warn("MParticle: No current user");e.setUserAttributes(U),w(!0),console.debug("MParticle: User attributes set - ",U)}},[e,U,p,b]);return{userAttributes:U,setUserAttribute:(0,t.useCallback)((t,r)=>{if(!e)return void console.warn("MParticle is not initialized");let o=window.mParticle?.Identity?.getCurrentUser?.();o?(o.setUserAttribute(t,r),console.debug(`MParticle: User attribute set - ${t}`)):console.warn("MParticle: No current user")},[e]),setUserAttributes:V,removeUserAttribute:(0,t.useCallback)(t=>{if(!e)return void console.warn("MParticle is not initialized");let r=window.mParticle?.Identity?.getCurrentUser?.();r?(r.removeUserAttribute(t),console.debug(`MParticle: User attribute removed - ${t}`)):console.warn("MParticle: No current user")},[e])}}])},647872,279791,523579,494889,39822,726513,678480,e=>{"use strict";var t=e.i(981030);(0,t.atom)({});let r=(0,t.atom)(!1);e.s(["showOpenWebCommentsAtom",0,r],279791);let o=(0,t.atom)(!1);e.s(["retroWeatherAtom",0,o],523579);let n=(0,t.atom)(!1);e.s(["newsHubEnabledAtom",0,n],494889);let i=(0,t.atom)("a");e.s(["editorsPickLocationAwareVariantAtom",0,i],39822);let s=(0,t.atom)(void 0);e.s(["subsOfferCopyVariantAtom",0,s],726513);let a=(0,t.atom)(void 0);e.s(["subsOfferLayoutVariantAtom",0,a],678480),e.s([],647872)},647292,e=>{"use strict";let t=(0,e.i(981030).atom)("");e.s(["webViewPlatformAtom",0,t])},145651,579310,249725,e=>{"use strict";var t=e.i(546446),r=e.i(776169),o=e.i(981030),n=e.i(889753);let i=(0,e.i(174960).focusAtom)(n.userPreferencesAtom,e=>e.prop("locations")),s=(0,o.atom)(e=>e(n.userPreferencesAtom)?.locations||[]);(0,o.atom)(e=>{let t=e(s);return t?.find(e=>0===e.position)||t?.[0]||null}),(0,o.atom)(e=>(e(s)?.length||0)>0),e.s(["userLocationsAtom",0,i,"userLocationsGetAtom",0,s],579310);var a=e.i(310847),l=e.i(592121);let u=Object.freeze([]),c=Object.freeze([]);e.s(["default",0,()=>{let{updatePreferences:e}=(0,r.usePreferences)(),o=(0,t.useAtomValue)(i),n=(0,l.useMemo)(()=>o?[...o].sort((e,t)=>e.position-t.position):u,[o]),[s,d]=(0,t.useAtom)(a.wxuUserRecentLocationsAtom),[,f]=(0,t.useAtom)(a.wxuUserRecentAddressesAtom),m=(0,l.useCallback)(t=>{let r={...t,position:Math.max(...n.map(e=>e.position),0)+1};e({locations:[...n,r]})},[n,e]),p=(0,l.useCallback)(t=>{e({locations:n.filter(e=>e.placeID!==t)})},[n,e]),A=(0,l.useCallback)(e=>{d(t=>[e,...(t||[]).filter(t=>t!==e)].slice(0,5))},[d]),b=(0,l.useCallback)(e=>{d(t=>(t||[]).filter(t=>t!==e))},[d]),w=(0,l.useCallback)(()=>{d([])},[d]),v=(0,l.useCallback)(e=>{f(t=>(t||[]).filter(t=>t.placeId!==e))},[f]),E=(0,l.useCallback)(e=>{p(e),b(e),v(e)},[p,b,v]);return{addFavoriteLocation:m,removeFavoriteLocation:p,addRecentLocation:A,removeRecentLocation:b,removeRecentAddress:v,clearRecentLocations:w,deleteLocation:E,recentLocations:s||c,favoriteLocations:n}}],145651);var d=e.i(726249);let f=Object.freeze({});function m(){let e=(0,t.useSetAtom)(a.wxuUserLocationFeatureIdsAtom);return(0,l.useCallback)((t,r)=>{let o=[];t.placeId&&o.push(t.placeId),t.geocode&&!r?.startsWith("address.")&&o.push((0,d.formatGeocode)(t.geocode)),0!==o.length&&e(e=>{let t=e??{};if(!o.some(e=>!(e in t)||t[e]!==r))return t;let n={...t};for(let e of o)n[e]=r;return n})},[e])}e.s(["useLocationFeatureIds",0,function(){let e=(0,t.useAtomValue)(a.wxuUserLocationFeatureIdsAtom)??f,r=(0,l.useCallback)(t=>{if(t.placeId){let r=e[t.placeId];if(r)return r}if(t.geocode){let r=e[(0,d.formatGeocode)(t.geocode)];if(r)return r}},[e]),o=(0,l.useCallback)(t=>t in e,[e]);return{featureIds:e,resolveFeatureId:r,hasResolvedPlaceId:o,recordFeatureId:m()}},"useRecordFeatureId",0,m],249725)},800462,e=>{"use strict";let t=(0,e.i(284007).atomWithStorage)("wx-from-search-result",null);e.s(["fromSearchResultAtom",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])},248064,e=>{"use strict";var t=e.i(991511),r=e.i(763886),o=e.i(394481),n=e.i(663333),i=e.i(49893),s=e.i(889753),a=e.i(5397),l=e.i(21121);e.i(647872);var u=e.i(279791),c=e.i(523579),d=e.i(494889),f=e.i(726513),m=e.i(678480),p=e.i(39822);e.i(304158);var A=e.i(485737),b=e.i(739971),w=e.i(688070),v=e.i(647292);e.s(["FlagsBoundaryClient",0,({params:e})=>((0,t.useRehydrateAtoms)([[r.partnerAtom,e.partner],[o.privacyRegimeAtom,e.privacyRegime],[n.deviceClassAtom,e.deviceClass],[s.userTierAtom,e.userTier],[i.adsKillswitchAtom,e.adsKillswitch],[a.showAdminHeaderAtom,e.showAdminHeader],[u.showOpenWebCommentsAtom,e.showOpenWebComments],[l.showVelvetcakeModuleAtom,e.showVelvetcakeModule],[c.retroWeatherAtom,e.retroWeather],[d.newsHubEnabledAtom,e.newsHubEnabled],[A.geoipCountry,e.geoipCountry],[b.subscriptionsEnabledAtom,e.subscriptionsEnabled],[f.subsOfferCopyVariantAtom,e.subsOfferCopyVariant],[m.subsOfferLayoutVariantAtom,e.subsOfferLayoutVariant],[p.editorsPickLocationAwareVariantAtom,e.editorsPickLocationAwareVariant],[v.webViewPlatformAtom,e.webViewPlatform],[w.isWebViewOnlyAtom,e.isWebViewOnly]]),null)])},567277,e=>{"use strict";var t=e.i(546584),r=e.i(592121),o=e.i(961123);function n(){return false}function i(e){return RegExp(`/${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(?=[/?#]|$)`)}function s(e){(0,r.useEffect)(()=>{var t;e.beforeSend&&(null==(t=window.si)||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]);let o=(0,r.useRef)(null);return(0,r.useEffect)(()=>{if(o.current)e.route&&o.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:n()?"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 o=document.createElement("script");return o.src=r,o.defer=!0,o.dataset.sdkn="@vercel/speed-insights"+(e.framework?`/${e.framework}`:""),o.dataset.sdkv="1.3.1",e.sampleRate&&(o.dataset.sampleRate=e.sampleRate.toString()),e.route&&(o.dataset.route=e.route),e.endpoint?o.dataset.endpoint=e.endpoint:e.basePath&&(o.dataset.endpoint=`${e.basePath}/speed-insights/vitals`),e.dsn&&(o.dataset.dsn=e.dsn),n()&&!1===e.debug&&(o.dataset.debug="false"),o.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(o),{setRoute:e=>{o.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&&(o.current=r.setRoute)}},[e.route]),null}function a(e){let n=(()=>{let e=(0,o.useParams)(),t=(0,o.useSearchParams)()||new URLSearchParams,r=(0,o.usePathname)();if(!e)return null;let n=Object.keys(e).length?e:Object.fromEntries(t.entries());if(!r||!n)return r;let s=r;try{let e=Object.entries(n);for(let[t,r]of e)if(!Array.isArray(r)){let e=i(r);e.test(s)&&(s=s.replace(e,`/[${t}]`))}for(let[t,r]of e)if(Array.isArray(r)){let e=i(r.join("/"));e.test(s)&&(s=s.replace(e,`/[...${t}]`))}return s}catch(e){return r}})();return r.default.createElement(s,{route:n,...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(a,{...e}))}])},540039,e=>{"use strict";var t,r=e.i(546584),o={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_GGVpug2QmStDw5wft375TBFp4wcr":void 0},n=e.i(592121),i=!1;e.s(["UnmountController",0,function({shouldMount:e,nonce:r}){return(0,n.useEffect)(()=>(e&&i&&function(e={}){if(typeof window>"u"||null===document.querySelector("vercel-live-feedback")){Object.assign(o,e);let r=document.createElement("script");for(let[n,i]of(r.src=`${o.scriptHostname}/_next-live/feedback/feedback.js`,r.setAttribute("data-explicit-opt-in","true"),e.nonce&&r.setAttribute("nonce",e.nonce),Object.entries((o.ownerId&&o.projectId?{"data-owner-id":o.ownerId,"data-project-id":o.projectId,"data-branch":t??o.branch}:o.deploymentId?{"data-deployment-id":o.deploymentId}:void 0)??{})))i&&r.setAttribute(n,i);(document.head||document.documentElement).appendChild(r)}}({nonce:r}),i=!0,()=>{(typeof window>"u"?void 0:window.__vercel_toolbar)?.unmount()}),[]),null}],540039)},520362,e=>{"use strict";var t=e.i(699173),r=e.i(592121);let o=e=>{let{apiRoute:t,depth:o,refresh:n,serverURL:i}=e,s=(0,r.useRef)(!1),a=(0,r.useCallback)(e=>{e.origin===i&&e.data&&"object"==typeof e.data&&"payload-document-event"===e.data.type&&("function"==typeof n?n():console.error("You must provide a refresh function to `RefreshRouteOnSave`"))},[n,i]);return(0,r.useEffect)(()=>("u">typeof window&&window.addEventListener("message",a),s.current||(s.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:i}),n()),()=>{"u">typeof window&&window.removeEventListener("message",a)}),[i,a,o,t,n]),null};var n=e.i(961123);let i=(0,e.i(695881).createLogger)("BlockHighlightOverlay"),s={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"},a=e=>{let r=(0,n.useRouter)();return(0,t.jsx)(o,{...e,refresh:r.refresh})};e.s(["LivePreviewListener",0,a],346267),e.i(346267),e.s(["BlockHighlightOverlay",0,()=>{let e=(0,r.useRef)(null),t=(0,r.useRef)(null),o=(0,r.useRef)(null),n=(0,r.useRef)(null),a=(0,r.useRef)(null),l=(0,r.useCallback)(()=>{if("u"{let r=t.current,n=e.current;if(!r||!n)return;if(!r.isConnected){t.current=null,n.style.opacity="0",o.current?.disconnect();return}let i=r.getBoundingClientRect();n.style.top=`${i.top+window.scrollY}px`,n.style.left=`${i.left+window.scrollX}px`,n.style.width=`${i.width}px`,n.style.height=`${i.height}px`,n.style.opacity="1"},[]),c=(0,r.useCallback)(()=>{t.current=null,a.current=null,e.current&&(e.current.style.opacity="0"),o.current?.disconnect()},[]),d=(0,r.useCallback)(()=>{t.current&&null===n.current&&(n.current=requestAnimationFrame(()=>{n.current=null,u()}))},[u]),f=(0,r.useCallback)(e=>{if(e===a.current)return;let r=document.querySelector(`[data-block-id="${CSS.escape(e)}"]`);if(!r)return void i.debug("No element found for block ID",{blockId:e});let n=(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?f(e.data.blockId):c())};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!==n.current&&cancelAnimationFrame(n.current),o.current?.disconnect(),e.current?.remove()}},[f,c,d]),null},"LivePreviewListener",0,a],520362)},186044,e=>{e.v(t=>Promise.all(["static/chunks/00y54_ac0gnlp.js"].map(t=>e.l(t))).then(()=>t(451309)))}]);