PageSourceSearch

https://www.aftenposten.no/front-page-assets/_astro/Performance.as…_astro_type_script_index_0_lang.B0Wwt2CB.js

js aftenposten.no collected 2026-09-24 08:28:43 UTC 1,831 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]=`c30b112c-1bb8-439c-92fe-cfff72971087`,e._sentryDebugIdIdentifier=`sentry-dbid-c30b112c-1bb8-439c-92fe-cfff72971087`)}catch{}})();import{t as e}from"./preload-helper.g9VOAxAu.js";import{t}from"./ejs.Dp0NFTqB.js";(async()=>{if(Math.random()>.1)return;let{onCLS:n,onFCP:r,onINP:i,onLCP:a,onTTFB:o}=await e(async()=>{let{onCLS:e,onFCP:t,onINP:n,onLCP:r,onTTFB:i}=await import(`./web-vitals.DGu6YuSp.js`);return{onCLS:e,onFCP:t,onINP:n,onLCP:r,onTTFB:i}},[],import.meta.url),s={},c=document.getElementById(`performance-provider-id`);if(!c?.textContent)throw Error(`Missing pulse config`);let l=JSON.parse(c.textContent),u=async()=>{if(Object.keys(s).length===0)return;let e={object:{"@id":`sdrn:${l.providerId}:content:loadtest`,"@type":`Content`,contentId:`loadtest`,custom:{performanceMeasurement:s},name:`Load metrics`},type:`View`};(await t())?.track(`trackerEvent`,e),s={}},d=(e,t)=>s[e]=t;o(({value:e})=>d(`ttfb`,e)),r(({value:e})=>d(`firstContentfulPaint`,e)),a(({value:e})=>d(`largestContentfulPaint`,e)),i(({value:e})=>d(`interactionToNextPaint`,e)),n(({value:e})=>d(`cumulativeLayoutShift`,e)),new PerformanceObserver(e=>{window.performance&&window.PerformanceNavigationTiming&&e.getEntries().forEach(e=>{let t=e;d(`domComplete`,t.domComplete),d(`domContentLoaded`,t.domContentLoadedEventStart),d(`domInteractive`,t.domInteractive),d(`onLoad`,t.loadEventEnd)})}).observe({type:`navigation`,buffered:!0}),addEventListener(`visibilitychange`,()=>{document.visibilityState===`hidden`&&u()}),addEventListener(`pagehide`,u)})();
2//# sourceMappingURL=Performance.astro_astro_type_script_index_0_lang.B0Wwt2CB.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.