PageSourceSearch

https://www.aftonbladet.se/front-page-assets/_astro/InitializeAdve…_astro_type_script_index_0_lang.CCSJuca5.js

js aftonbladet.se collected 2026-10-01 08:42:44 UTC 1,907 bytes, 2 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`34d6245a-0cd0-4386-ab5d-01167df8abce`,e._sentryDebugIdIdentifier=`sentry-dbid-34d6245a-0cd0-4386-ab5d-01167df8abce`)}catch{}})();import{t as e}from"./ejs.Dh2fbr_j.js";import{nt as t}from"./_auto-entry_aftonbladetv2-B-WVqE-D.BpCGSsij.js";var n=()=>document.prerendering||self.performance?.getEntriesByType?.(`navigation`)[0]?.activationStart>0,r=()=>({"no-sno-prerender":n()?`1`:`0`}),i=`advert-config`,a=()=>{let{deviceType:e=`mobile`,isMobileApp:t,prebidScriptUrl:n,pageName:r=`front`,placementsConfig:a}=JSON.parse(document.getElementById(i)?.textContent??`{}`);return{deviceType:e,isMobileApp:t,prebidScriptUrl:n,pageName:r,placementsConfig:a}},o=e=>e===`sportbladet`?`front_sportbladet`:e===`nojesbladet`?`front_nojesbladet`:`front`,s=({pageName:e,pageContext:t,keywords:n,tracker:r,isTcfEnabled:i,hasDarkmode:a})=>{let s=o(e),c=a?`dark`:`light`;return{pageContext:{deviceType:t.deviceType,isMobileApp:t.isMobileApp},pulse:{clientId:`aftonbladet`,instance:r},pageOptions:{keywords:{...n}},appearanceConfig:{theme:c},refreshConfig:{visibilityStateRefreshEnabled:t.isMobileApp},tcf:{enabled:i},editory:{editableConfiguration:{enabled:!0,pageTypeToFetch:s}}}},c=await e();if(document.getElementById(`advert-config`)){let{deviceType:e=`mobile`,isMobileApp:n,pageName:i,placementsConfig:o}=a(),l=Number(getComputedStyle(document.documentElement).getPropertyValue(`--layer-high`)||1e4),u=document.documentElement.dataset.colorScheme===`dark`,d=!!window._tcf_,f=s({pageName:i,tracker:c,pageContext:{deviceType:e,isMobileApp:n},keywords:{...r()},hasDarkmode:u,headerZIndex:l,isTcfEnabled:d});t.init(f)}
2//# sourceMappingURL=InitializeAdverts.astro_astro_type_script_index_0_lang.CCSJuca5.js.map

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.