PageSourceSearch

https://www.wunderground.com/wu-static/utils/helios-spa.2dde187c.js

js wunderground.com collected 2026-10-01 07:24:22 UTC 1,794 bytes, 1 lines download raw bytes

1import{HeliosConfig as e}from"#utils/helios-config.40eaf0bd.js";import{Globals as o}from"#utils/globals.a433d375.js";import{initAdFallback as t,armFallbackSweep as i,resetAdFallback as n}from"#utils/ad-fallback.742ed877.js";import{PrivacyRegime as d}from"#utils/privacy-regime.0e73cddf.js";const r="data-helios-spa";function l(){window.googletag?.cmd&&window.googletag.cmd.push((function(){try{window.googletag.destroySlots()}catch(e){}}));try{window.__Helios?.destroy()}catch(e){}window.__Helios=void 0,window.__HeliosQ=[],n()}function s(n){if(!0!==o.HELIOS_ADS_ENABLED||!0===o.IS_AD_FREE)return;let s=o.HELIOS_SCRIPT_URL;if(!s)return;let c=d.current(),a=e.get({pageKey:n,regime:c,locale:o.USER_LANGUAGE,isAdFree:o.IS_AD_FREE,isMobile:o.IS_MOBILE});l(),window.__HeliosConfig=a,window.__HeliosConfig.generalConfig.breakpoint.active=window.screen.width>1024?"lg":window.screen.width>=768?"md":"sm",window.__HeliosQ.push((function(){window.__Helios&&window.__Helios.emit&&window.__Helios.emit("USER_PROFILE_READY")})),t();let _=document.querySelector(`script[${r}]`);_&&_.remove();let u=document.createElement("script");u.src=s,u.defer=!0,u.setAttribute(r,""),document.head.appendChild(u),i()}function c(){if(!0!==o.HELIOS_ADS_ENABLED||!0===o.IS_AD_FREE)return;let e=document.querySelector("content-router-wc");e&&e.addEventListener("content:loaded",(function(e){if(!0===e?.detail?.isAuthRoute)return void l();let o=e?.detail?.controllerName;o||console.warn({callee:"helios-spa.refreshHelios",isError:!1},"content:loaded fired without controllerName; falling back to default Helios config"),s(o)}))}"undefined"!=typeof document&&("loading"===document.readyState?document.addEventListener("DOMContentLoaded",c):c());export{s as refreshHelios,l as teardownHelios,c as init,r as HELIOS_SCRIPT_ATTR};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.