import{i as s}from"./chunk-bF5G6gLQ.js";import{O as a}from"./chunk-DJMGzaDE.js";function i(){const[e]=performance.getEntriesByType("navigation");return e?{startTime:e.startTime,responseStart:e.responseStart,domContentLoadedEventEnd:e.domContentLoadedEventEnd,loadEventEnd:e.loadEventEnd,responseEnd:e.responseEnd}:null}function d(){const e=performance.memory;return e?{usedJSHeapSize:e.usedJSHeapSize,totalJSHeapSize:e.totalJSHeapSize,jsHeapSizeLimit:e.jsHeapSizeLimit}:null}window.__tcrOneShotLoaded||(window.__tcrOneShotLoaded=!0,chrome.runtime.onMessage.addListener((e,m,n)=>{if(e?.type!==a)return;const t=s({PerformanceObserverCtor:typeof PerformanceObserver<"u"?PerformanceObserver:void 0,getNavigation:i,getMemory:d,now:()=>performance.now(),pageUrl:()=>location.href}),o=typeof e.settleMs=="number"?e.settleMs:3e3;return setTimeout(()=>{const r=t.snapshot();t.uninstall(),n({ok:!0,snapshot:r})},o),!0}));
//# sourceMappingURL=chunk-CzSeXC_a.js.map
