(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,609858,674339,e=>{"use strict";var t=e.i(546446),r=e.i(592121);let i=(0,e.i(981030).atom)({timestamp:new Date().toISOString()});e.s(["debugDataAtom",0,i],674339),e.s(["useDebugSystem",0,function(){let[e,n]=(0,t.useAtom)(i),o=(0,r.useCallback)((e,t)=>{n(r=>{let i=r?.[e]||{},n="object"==typeof t&&null!==t&&"object"==typeof i?{...i,...t}:t;return{...r,[e]:n}})},[n]),a=(0,r.useCallback)((e,t)=>{n(r=>{let i=r||{timestamp:new Date().toISOString()},n=i.components||{};if(null===t){let t={...n};return delete t[e],{...i,components:t}}return{...i,components:{...n,[e]:t}}})},[n]),s=(0,r.useCallback)(e=>{o("page",e)},[o]),l=(0,r.useCallback)(e=>{o("route",e)},[o]),u=(0,r.useCallback)(e=>{Object.entries(e).forEach(([e,t])=>{t&&o(e,t)})},[o]);return{debugData:e,updateSection:o,updateComponentData:a,setPageData:s,clearAllDebugData:(0,r.useCallback)(()=>{n({timestamp:new Date().toISOString()})},[n]),updateRouteInfo:l,updatePageDebug:u}}],609858)},752496,e=>{"use strict";var t=e.i(592121),r=e.i(609858);let i=(0,e.i(695881).createLogger)("DebugCollector");e.s(["DebugCollectorClient",0,function({componentName:e,data:n,page:o,onUpdateData:a,onSetPageData:s}){let{updateComponentData:l,setPageData:u}=(0,r.useDebugSystem)(),c=(0,t.useRef)(!1),d=a||l,f=s||u;return(0,t.useEffect)(()=>{if(n)return i.lifecycle(`Collecting component data for ${e}`,{dataKeys:Object.keys(n),hasPerformance:!!n.performance,hasContext:!!n.context}),d(e,{...n,_collectedAt:new Date().toISOString()}),()=>{i.lifecycle(`Cleaning up data for ${e}`),d(e,null)}},[e,n,d]),(0,t.useEffect)(()=>{o&&!c.current&&(i.lifecycle("Setting page metadata",{title:o.title,assetName:o.assetName,collection:o.collection}),f({...o,_updatedAt:new Date().toISOString()}),c.current=!0)},[o,f]),null}])},806262,e=>{"use strict";e.i(592121);var t=e.i(546446);e.i(284007),e.i(981030);let r=new WeakMap;e.s(["useHydrateAtoms",0,function(e,i){var n;let o,a=(0,t.useStore)(i),s=(n=a,(o=r.get(n))||(o=new WeakSet,r.set(n,o)),o);for(let[t,...r]of e)(!s.has(t)||(null==i?void 0:i.dangerouslyForceHydrate))&&(s.add(t),a.set(t,...r))}])},604323,e=>{"use strict";let t=(0,e.i(981030).atom)();e.s(["metricsArticleDataAtom",0,t])},513539,e=>{"use strict";var t=e.i(981030);let r=(0,t.atom)(null),i=(0,t.atom)(null);e.s(["activeEventAtom",0,i,"layoutStateAtom",0,r])},991511,e=>{"use strict";var t=e.i(592121),r=e.i(806262),i=e.i(546446);e.s(["useRehydrateAtoms",0,e=>{(0,r.useHydrateAtoms)(e);let n=(0,i.useStore)(),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)})}])},797770,e=>{"use strict";let t=(0,e.i(981030).atom)("");e.s(["adsMetricsUnitAndZoneAtom",0,t])},5397,e=>{"use strict";let t=(0,e.i(981030).atom)();e.s(["showAdminHeaderAtom",0,t])},688070,e=>{"use strict";let t=(0,e.i(981030).atom)(!1);e.s(["isWebViewOnlyAtom",0,t])},630986,e=>{"use strict";var t=e.i(546446),r=e.i(604323);e.s(["useCMSAttributes",0,()=>(0,t.useAtomValue)(r.metricsArticleDataAtom)])},37423,e=>{"use strict";let t=(0,e.i(981030).atom)(!1);e.s(["dprSdkIsInitializedAtom",0,t])},742436,283366,e=>{"use strict";e.s(["ExperimentContext",()=>P,"ExperimentProvider",()=>O,"default",()=>L,"useExperimentContext",()=>T],742436);var t=e.i(546584),r=e.i(699173),i=e.i(592121),n=e.i(185312),o=e.i(333350),a=e.i(546446),s=e.i(737801),l=e.i(688070),u=e.i(158662),c=e.i(528600),d=e.i(553329);let f="production"!==t.default.env.VERCEL_TARGET_ENV,m=new Set;e.s(["getExposureVariantOverride",()=>k,"resetExposures",()=>I,"useExposure",()=>C],283366);var p=e.i(695881),v=e.i(358273);let b=(0,p.createLogger)("useExposure"),g="wxu-exp-exposed:",w=new Set,A=()=>{try{return(0,v.getMetricsSession)()?.sessionId||null}catch{return null}},E=e=>{try{let t=localStorage.getItem(g+e);return new Set(t?JSON.parse(t):[])}catch{return new Set}},y=(e,t)=>{try{for(let t=localStorage.length-1;t>=0;t--){let r=localStorage.key(t);r?.startsWith(g)&&r!==g+e&&localStorage.removeItem(r)}localStorage.setItem(g+e,JSON.stringify([...t]))}catch{}},h=e=>{if(0===w.size)return;let t=E(e);for(let e of w)t.add(e);y(e,t),w.clear()},S=e=>{let t=A();return t?(h(t),E(t).has(e)):w.has(e)},_=new Map;function k(e){return _.get(e)}function I(){w.clear(),_.clear();let e=A();if(e)try{localStorage.removeItem(g+e)}catch{}}function C(e,t){let r=void 0!==t,n=t?.variant,a=(0,i.useContext)(P);(0,i.useEffect)(()=>{if(!o.default||!a||S(e)||r&&void 0===n)return;let{client:t}=a;if(!t)return;let i=()=>{if(!S(e)){(e=>{let t=A();if(!t)return w.add(e);h(t);let r=E(t);r.add(e),y(t,r)})(e),void 0!==n&&_.set(e,n);try{t.exposure(e)}catch(e){b.error("Failed to track exposure:",e)}}};window.mParticle?.isInitialized?.()?i():window.mParticle?.ready?.(i)},[a,e,r,n])}let x="client-a74nh7wdmymfO9eOcl5awe1cgB30BDRV",R="production"!==t.default.env.VERCEL_TARGET_ENV,P=(0,i.createContext)(null),O=({children:e,scriptSrc:t})=>{let p,v,b=(p=(0,s.useEventAttributes)(),v=(0,a.useAtomValue)(l.isWebViewOnlyAtom),(0,i.useCallback)((e,t={})=>{if(v)return void console.debug("Skipping enrolled-in-experiment in webview mode");if(!window.mParticle?.isInitialized?.())return void console.warn("MParticle is not initialized");if(!e)return void console.warn("No exposure data provided to trackEnrolledInExperiment");if(!e.experiment_key)return void console.debug(`[Experiment] Skipping exposure tracking for ${e.flag_key} - no experiment_key (feature flag only)`);try{let r={...p,newVariant:e.variant||"",newExperiment:e.experiment_key,newExperimentReceivedAt:Date.now()};window.mParticle?.logEvent?.("enrolled-in-experiment",window.mParticle?.EventType?.Other,r,t),console.debug(`MParticle: Event tracked - enrolled-in-experiment for ${e.flag_key||"unknown"}:${e.variant}`)}catch(e){console.error("MParticle: Failed to track event",e)}},[p,v])),g=(0,a.useSetAtom)(u.experimentJoinListAtom),{user:w}=(0,c.useUser)(),[A,E]=(0,i.useState)(!1),[y,h]=(0,i.useState)(!1),[,S]=(0,i.useState)(0),_=(0,i.useRef)(void 0),C=(0,i.useRef)(void 0);_.current=w.userID||void 0,C.current=w.anonId||void 0;let O=(0,i.useRef)(new Set),T=(0,i.useRef)({}),L=function(e,t){let r=(0,i.useRef)(null),[n,a]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{if(!n&&o.default&&x&&t){if(!window.Experiment)return void console.error("Amplitude Experiment SDK not loaded. Script may still be loading.");try{r.current=window.Experiment.initialize(x,{debug:R,fetchTimeoutMillis:5e3,retryFetchOnFailure:!0,fetchOnStart:!1,automaticExposureTracking:!1,exposureTrackingProvider:{track:t=>{try{e(t),R&&console.debug("[Experiment] Exposure tracked:",t)}catch(e){console.error("[Experiment] Failed to track exposure:",e)}}},source:"localStorage"}),a(!0),R&&console.debug("[Experiment] SDK initialized (will fetch from API)")}catch(e){console.error("Failed to initialize Amplitude Experiment SDK:",e)}}},[n,t,e]),r.current}((0,i.useCallback)(e=>{let t=k(e.flag_key),r=void 0!==t?{...e,variant:t}:e,i=`${r.flag_key}::${r.variant??""}`;if(O.current.has(i))return;O.current.add(i);let[n]=JSON.parse(JSON.stringify(Object.entries({[r.flag_key]:{key:r.variant}}).filter(([,e])=>!!e?.key).map(([e,t])=>{let r=t.key??"",i=Math.floor(Date.now()/1e3);return`${e},${r},${i}`})));n&&(T.current={...T.current,[r.flag_key]:n},g(JSON.stringify(Object.values(T.current)))),b(r),function({exposure:e,userId:t,deviceId:r}){if(!e.experiment_key){f&&console.debug(`[Experiment] Skipping Amplitude HTTP exposure for ${e.flag_key} — no experiment_key (feature flag only)`);return}if(!t&&!r){f&&console.debug("[Experiment] Skipping Amplitude HTTP exposure — no user identity");return}let i=`${e.flag_key}::${e.variant??""}`;if(m.has(i)){f&&console.debug(`[Experiment] Skipping duplicate Amplitude HTTP exposure: ${i}`);return}m.add(i);let n={api_key:"bb1117981ed2a95dc4fa64b75661d681",events:[{event_type:"$exposure",user_id:t,device_id:r,ip:"$remote",event_properties:{flag_key:e.flag_key,variant:e.variant,experiment_key:e.experiment_key,platform:"web",app_name:"wx-next-web",environment:f?"dev":"prod",experimentation_platform:"amplitude_experiment"}}]};(async()=>{let{data:t,error:r}=await (0,d.tryCatch)(fetch("https://api2.amplitude.com/2/httpapi",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(n),keepalive:!0}));return 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}`):f&&console.debug("[Experiment] Amplitude HTTP exposure sent:",{flag_key:e.flag_key,variant:e.variant})})()}({exposure:r,userId:_.current,deviceId:C.current})},[b,g]),A);return(0,i.useEffect)(()=>{(async()=>{if(!L)return;let e=w.anonId;if(!e&&!w.userID){R&&console.debug("[Experiment] No user identifier available"),h(!0);return}let t={device_id:e,...w.userID?{user_id:w.userID}:{},user_properties:{}};R&&console.debug("[Experiment] Fetching experiments from API for user:",t);try{await L.fetch(t)}catch(e){console.error("[Experiment] Failed to fetch experiments:",e)}finally{h(!0)}})()},[L,w.anonId,w.userID]),(0,i.useEffect)(()=>{O.current.clear(),m.clear(),I(),T.current={},g(null),S(e=>e+1)},[w.userID,g]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.default,{src:t,strategy:"afterInteractive",onLoad:()=>{E(!0),R&&console.debug("Amplitude Experiment script loaded")},onError:e=>{console.error("Failed to load Amplitude Experiment script:",e)}}),(0,r.jsx)(P.Provider,{value:{client:L,variant:(e,t)=>{if(!L)return t;let r=L.variant(e,t);return R&&console.debug("[Experiment] Current Variant:",r),r},fetch:e=>{if(!L)return Promise.resolve();if(!e){let e=w.anonId;if(e||w.userID){let t={device_id:e,...w.userID?{user_id:w.userID}:{},user_properties:{}};return L.fetch(t)}}return L.fetch(e)},isFetchComplete:y},children:e})]})},T=()=>{let e=(0,i.useContext)(P);if(!e)throw Error("useExperimentContext must be used within an AmplitudeExperimentProvider");return e},L=O},436028,e=>{"use strict";e.s(["hasLength",0,e=>Array.isArray(e)&&e.length>0])},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])},382602,e=>{"use strict";var t=e.i(981030),r=e.i(889753);let i=(0,t.atom)(e=>e(r.userProfileAtom)?.email),n=(0,t.atom)(e=>e(r.userProfileAtom)?.firstName),o=(0,t.atom)(e=>e(r.userProfileAtom)?.gender);(0,t.atom)(e=>e(r.userProfileAtom)?.emailVerified),e.s(["userEmailAtom",0,i,"userFirstNameAtom",0,n,"userGenderAtom",0,o])},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),i=e.i(546446),n=e.i(959194),o=e.i(160317),a=e.i(382602),s=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,v]=(0,t.useState)(!1),[b,g]=(0,t.useState)(!1),w=f??!1,A=(0,o.getSubscriptionTierKey)(m),E=(0,i.useAtomValue)(a.userFirstNameAtom),y=(0,i.useAtomValue)(a.userGenderAtom),h=(0,i.useAtomValue)(l.wxuUserAnonymousIdAtom),S=(0,i.useAtomValue)(l.userHasLoggedInBeforeAtom),_=u.default?window?.DprSdk?.getUserConsent("sale-of-data")!==!1:void 0,k=u.default?window?.DprSdk?.getUserConsent("sensitive-data")!==!1:void 0,I=(0,s.getCookie)("subscription")??"",{productID:C=null,expirationDateTime:x=null,transactionDateTime:R=null,firstTransactionDateTime:P=null,autoRenew:O=null,price:T=null,productName:L=null}=(0,n.jwtDecoder)(I)||{},D=(0,t.useMemo)(()=>({premium:w,premiumProductTier:A,premiumExpiration:x,premiumStart:R,premiumFirstTransactionDate:P,premiumProductId:C,premiumProductAutoRenew:O,premiumPrice:T,premiumProductName:L,isRegisteredUser:d||S||!1,isLoggedIn:d,"Amplitude.device_id":h,$Gender:y,$FirstName:E,saleOfDataAuthorization:_,sensitiveDataAuthorization:k,devUser:!1}),[w,A,x,R,P,C,O,T,L,h,d,S,E,y,_,k]);(0,t.useEffect)(()=>{(0,n.areObjectValuesDefined)(D)&&!p&&v(!0)},[D,p]);let N=(0,t.useCallback)(()=>{for(let e in D)void 0===D[e]&&delete D[e];if(e&&p&&!b){let e=window.mParticle?.Identity?.getCurrentUser?.();if(!e)return void console.warn("MParticle: No current user");e.setUserAttributes(D),g(!0),console.debug("MParticle: User attributes set - ",D)}},[e,D,p,b]);return{userAttributes:D,setUserAttribute:(0,t.useCallback)((t,r)=>{if(!e)return void console.warn("MParticle is not initialized");let i=window.mParticle?.Identity?.getCurrentUser?.();i?(i.setUserAttribute(t,r),console.debug(`MParticle: User attribute set - ${t}`)):console.warn("MParticle: No current user")},[e]),setUserAttributes:N,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])}}])},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),i=e.i(981030),n=e.i(889753);let o=(0,e.i(174960).focusAtom)(n.userPreferencesAtom,e=>e.prop("locations")),a=(0,i.atom)(e=>e(n.userPreferencesAtom)?.locations||[]);(0,i.atom)(e=>{let t=e(a);return t?.find(e=>0===e.position)||t?.[0]||null}),(0,i.atom)(e=>(e(a)?.length||0)>0),e.s(["userLocationsAtom",0,o,"userLocationsGetAtom",0,a],579310);var s=e.i(310847),l=e.i(592121);let u=Object.freeze([]),c=Object.freeze([]);e.s(["default",0,()=>{let{updatePreferences:e}=(0,r.usePreferences)(),i=(0,t.useAtomValue)(o),n=(0,l.useMemo)(()=>i?[...i].sort((e,t)=>e.position-t.position):u,[i]),[a,d]=(0,t.useAtom)(s.wxuUserRecentLocationsAtom),[,f]=(0,t.useAtom)(s.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]),v=(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]),g=(0,l.useCallback)(()=>{d([])},[d]),w=(0,l.useCallback)(e=>{f(t=>(t||[]).filter(t=>t.placeId!==e))},[f]),A=(0,l.useCallback)(e=>{p(e),b(e),w(e)},[p,b,w]);return{addFavoriteLocation:m,removeFavoriteLocation:p,addRecentLocation:v,removeRecentLocation:b,removeRecentAddress:w,clearRecentLocations:g,deleteLocation:A,recentLocations:a||c,favoriteLocations:n}}],145651);var d=e.i(726249);let f=Object.freeze({});function m(){let e=(0,t.useSetAtom)(s.wxuUserLocationFeatureIdsAtom);return(0,l.useCallback)((t,r)=>{let i=[];t.placeId&&i.push(t.placeId),t.geocode&&!r?.startsWith("address.")&&i.push((0,d.formatGeocode)(t.geocode)),0!==i.length&&e(e=>{let t=e??{};if(!i.some(e=>!(e in t)||t[e]!==r))return t;let n={...t};for(let e of i)n[e]=r;return n})},[e])}e.s(["useLocationFeatureIds",0,function(){let e=(0,t.useAtomValue)(s.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]),i=(0,l.useCallback)(t=>t in e,[e]);return{featureIds:e,resolveFeatureId:r,hasResolvedPlaceId:i,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])},104777,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var i={callServer:function(){return o.callServer},createServerReference:function(){return s.createServerReference},findSourceMapURL:function(){return a.findSourceMapURL}};for(var n in i)Object.defineProperty(r,n,{enumerable:!0,get:i[n]});let o=e.r(836549),a=e.r(560716),s=e.r(544383)},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])},647872,494889,928083,e=>{"use strict";var t=e.i(981030);(0,t.atom)({});let r=(0,t.atom)(!1);e.s(["newsHubEnabledAtom",0,r],494889);let i=(0,t.atom)(!1);e.s(["activityHubMenuEnabledAtom",0,i],928083),e.s([],647872)},248064,e=>{"use strict";var t=e.i(991511),r=e.i(763886),i=e.i(394481),n=e.i(663333),o=e.i(49893),a=e.i(889753),s=e.i(5397),l=e.i(21121);e.i(647872);var u=e.i(494889),c=e.i(928083),d=e.i(739971),f=e.i(688070),m=e.i(647292);e.s(["FlagsBoundaryClient",0,({params:e})=>((0,t.useRehydrateAtoms)([[r.partnerAtom,e.partner],[i.privacyRegimeAtom,e.privacyRegime],[n.deviceClassAtom,e.deviceClass],[a.userTierAtom,e.userTier],[o.adsKillswitchAtom,e.adsKillswitch],[s.showAdminHeaderAtom,e.showAdminHeader],[l.showVelvetcakeModuleAtom,e.showVelvetcakeModule],[u.newsHubEnabledAtom,e.newsHubEnabled],[c.activityHubMenuEnabledAtom,e.activityHubMenuEnabled],[d.subscriptionsEnabledAtom,e.subscriptionsEnabled],[m.webViewPlatformAtom,e.webViewPlatform],[f.isWebViewOnlyAtom,e.isWebViewOnly]]),null)])},567277,e=>{"use strict";var t=e.i(546584),r=e.i(592121),i=e.i(961123);function n(){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 i=(0,r.useRef)(null);return(0,r.useEffect)(()=>{if(i.current)e.route&&i.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 i=document.createElement("script");return i.src=r,i.defer=!0,i.dataset.sdkn="@vercel/speed-insights"+(e.framework?`/${e.framework}`:""),i.dataset.sdkv="1.3.1",e.sampleRate&&(i.dataset.sampleRate=e.sampleRate.toString()),e.route&&(i.dataset.route=e.route),e.endpoint?i.dataset.endpoint=e.endpoint:e.basePath&&(i.dataset.endpoint=`${e.basePath}/speed-insights/vitals`),e.dsn&&(i.dataset.dsn=e.dsn),n()&&!1===e.debug&&(i.dataset.debug="false"),i.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(i),{setRoute:e=>{i.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&&(i.current=r.setRoute)}},[e.route]),null}function s(e){let n=(()=>{let e=(0,i.useParams)(),t=(0,i.useSearchParams)()||new URLSearchParams,r=(0,i.usePathname)();if(!e)return null;let n=Object.keys(e).length?e:Object.fromEntries(t.entries());if(!r||!n)return r;let a=r;try{let e=Object.entries(n);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: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(s,{...e}))}])},540039,e=>{"use strict";var t,r=e.i(546584),i={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_ADLU3NySq8iKF4z8gzbbs8x7DBpe":void 0},n=e.i(592121),o=!1;e.s(["UnmountController",0,function({shouldMount:e,nonce:r}){return(0,n.useEffect)(()=>(e&&o&&function(e={}){if(typeof window>"u"||null===document.querySelector("vercel-live-feedback")){Object.assign(i,e);let r=document.createElement("script");for(let[n,o]of(r.src=`${i.scriptHostname}/_next-live/feedback/feedback.js`,r.setAttribute("data-explicit-opt-in","true"),e.nonce&&r.setAttribute("nonce",e.nonce),Object.entries((i.ownerId&&i.projectId?{"data-owner-id":i.ownerId,"data-project-id":i.projectId,"data-branch":t??i.branch}:i.deploymentId?{"data-deployment-id":i.deploymentId}:void 0)??{})))o&&r.setAttribute(n,o);(document.head||document.documentElement).appendChild(r)}}({nonce:r}),o=!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 i=e=>{let{apiRoute:t,depth:i,refresh:n,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 n?n():console.error("You must provide a refresh function to `RefreshRouteOnSave`"))},[n,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}),n()),()=>{"u">typeof window&&window.removeEventListener("message",s)}),[o,s,i,t,n]),null};var n=e.i(961123);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,n.useRouter)();return(0,t.jsx)(i,{...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),i=(0,r.useRef)(null),n=(0,r.useRef)(null),s=(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",i.current?.disconnect();return}let o=r.getBoundingClientRect();n.style.top=`${o.top+window.scrollY}px`,n.style.left=`${o.left+window.scrollX}px`,n.style.width=`${o.width}px`,n.style.height=`${o.height}px`,n.style.opacity="1"},[]),c=(0,r.useCallback)(()=>{t.current=null,s.current=null,e.current&&(e.current.style.opacity="0"),i.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===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 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),i.current?.disconnect(),e.current?.remove()}},[f,c,d]),null},"LivePreviewListener",0,s],520362)}]);