(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,104777,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={callServer:function(){return i.callServer},createServerReference:function(){return a.createServerReference},findSourceMapURL:function(){return s.findSourceMapURL}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});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 n=(0,t.atom)(e=>e(r.userProfileAtom)?.email),o=(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,n,"userFirstNameAtom",0,o,"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),n=e.i(546446),o=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,b]=(0,t.useState)(!1),[A,w]=(0,t.useState)(!1),v=f??!1,E=(0,i.getSubscriptionTierKey)(m),h=(0,n.useAtomValue)(s.userFirstNameAtom),g=(0,n.useAtomValue)(s.userGenderAtom),y=(0,n.useAtomValue)(l.wxuUserAnonymousIdAtom),C=(0,n.useAtomValue)(l.userHasLoggedInBeforeAtom),R=u.default?window?.DprSdk?.getUserConsent("sale-of-data")!==!1:void 0,S=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,o.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:R,sensitiveDataAuthorization:S,devUser:!1}),[v,E,O,L,P,I,T,k,N,y,d,C,h,g,R,S]);(0,t.useEffect)(()=>{(0,o.areObjectValuesDefined)(U)&&!p&&b(!0)},[U,p]);let V=(0,t.useCallback)(()=>{for(let e in U)void 0===U[e]&&delete U[e];if(e&&p&&!A){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,A]);return{userAttributes:U,setUserAttribute:(0,t.useCallback)((t,r)=>{if(!e)return void console.warn("MParticle is not initialized");let n=window.mParticle?.Identity?.getCurrentUser?.();n?(n.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 n=(0,t.atom)(!1);e.s(["retroWeatherAtom",0,n],523579);let o=(0,t.atom)(!1);e.s(["newsHubEnabledAtom",0,o],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),n=e.i(981030),o=e.i(889753);let i=(0,e.i(174960).focusAtom)(o.userPreferencesAtom,e=>e.prop("locations")),s=(0,n.atom)(e=>e(o.userPreferencesAtom)?.locations||[]);(0,n.atom)(e=>{let t=e(s);return t?.find(e=>0===e.position)||t?.[0]||null}),(0,n.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)(),n=(0,t.useAtomValue)(i),o=(0,l.useMemo)(()=>n?[...n].sort((e,t)=>e.position-t.position):u,[n]),[s,d]=(0,t.useAtom)(a.wxuUserRecentLocationsAtom),[,f]=(0,t.useAtom)(a.wxuUserRecentAddressesAtom),m=(0,l.useCallback)(t=>{let r={...t,position:Math.max(...o.map(e=>e.position),0)+1};e({locations:[...o,r]})},[o,e]),p=(0,l.useCallback)(t=>{e({locations:o.filter(e=>e.placeID!==t)})},[o,e]),b=(0,l.useCallback)(e=>{d(t=>[e,...(t||[]).filter(t=>t!==e)].slice(0,5))},[d]),A=(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),A(e),v(e)},[p,A,v]);return{addFavoriteLocation:m,removeFavoriteLocation:p,addRecentLocation:b,removeRecentLocation:A,removeRecentAddress:v,clearRecentLocations:w,deleteLocation:E,recentLocations:s||c,favoriteLocations:o}}],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 n=[];t.placeId&&n.push(t.placeId),t.geocode&&!r?.startsWith("address.")&&n.push((0,d.formatGeocode)(t.geocode)),0!==n.length&&e(e=>{let t=e??{};if(!n.some(e=>!(e in t)||t[e]!==r))return t;let o={...t};for(let e of n)o[e]=r;return o})},[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]),n=(0,l.useCallback)(t=>t in e,[e]);return{featureIds:e,resolveFeatureId:r,hasResolvedPlaceId:n,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),n=e.i(394481),o=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 b=e.i(485737),A=e.i(739971),w=e.i(688070),v=e.i(647292);e.s(["FlagsBoundaryClient",0,({params:e})=>((0,t.useRehydrateAtoms)([[r.partnerAtom,e.partner],[n.privacyRegimeAtom,e.privacyRegime],[o.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],[b.geoipCountry,e.geoipCountry],[A.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),n=e.i(961123);function o(){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 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:o()?"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),o()&&!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 a(e){let o=(()=>{let e=(0,n.useParams)(),t=(0,n.useSearchParams)()||new URLSearchParams,r=(0,n.usePathname)();if(!e)return null;let o=Object.keys(e).length?e:Object.fromEntries(t.entries());if(!r||!o)return r;let s=r;try{let e=Object.entries(o);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:o,...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),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_3F3Cg7KejSH3Q6ftrD59JtDNBWp1":void 0},o=e.i(592121),i=!1;e.s(["UnmountController",0,function({shouldMount:e,nonce:r}){return(0,o.useEffect)(()=>(e&&i&&function(e={}){if(typeof window>"u"||null===document.querySelector("vercel-live-feedback")){Object.assign(n,e);let r=document.createElement("script");for(let[o,i]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)??{})))i&&r.setAttribute(o,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 n=e=>{let{apiRoute:t,depth:n,refresh:o,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 o?o():console.error("You must provide a refresh function to `RefreshRouteOnSave`"))},[o,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}),o()),()=>{"u">typeof window&&window.removeEventListener("message",a)}),[i,a,n,t,o]),null};var o=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,o.useRouter)();return(0,t.jsx)(n,{...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),n=(0,r.useRef)(null),o=(0,r.useRef)(null),a=(0,r.useRef)(null),l=(0,r.useCallback)(()=>{if("u"{let r=t.current,o=e.current;if(!r||!o)return;if(!r.isConnected){t.current=null,o.style.opacity="0",n.current?.disconnect();return}let i=r.getBoundingClientRect();o.style.top=`${i.top+window.scrollY}px`,o.style.left=`${i.left+window.scrollX}px`,o.style.width=`${i.width}px`,o.style.height=`${i.height}px`,o.style.opacity="1"},[]),c=(0,r.useCallback)(()=>{t.current=null,a.current=null,e.current&&(e.current.style.opacity="0"),n.current?.disconnect()},[]),d=(0,r.useCallback)(()=>{t.current&&null===o.current&&(o.current=requestAnimationFrame(()=>{o.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 o=(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!==o.current&&cancelAnimationFrame(o.current),n.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)))}]);