PageSourceSearch

https://stealthzero.ai/_next/static/chunks/4105.ff57185cbefea028.js

js stealthzero.ai collected 2026-10-05 12:44:44 UTC 1,270 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4105],{36486:(e,s,t)=>{t.r(s),t.d(s,{useUsageHistoryStore:()=>n});var r=t(3651),a=t(71138),l=t(89863);let n=(0,a.v)()((0,l.eh)((e,s)=>({usageHistory:[],loading:!1,error:null,lastFetched:null,lastDays:30,pendingDays:null,setUsageHistory:s=>e({usageHistory:s}),setLoading:s=>e({loading:s}),setError:s=>e({error:s}),fetchUsageHistory:async(t=30,a=!1)=>{let{lastFetched:l,lastDays:n,usageHistory:o,loading:i,pendingDays:u}=s();if((a||!i||u!==t)&&(a||"undefined"==typeof document||"visible"===document.visibilityState)){if(!a&&l&&n===t&&o.length>0&&Date.now()-l<12e4)return;e({loading:!0,error:null,pendingDays:t});try{let s=await (0,r.G7)(`/api/usage/history?days=${t}`,{credentials:"include"});if(!s.ok)throw Error(`Failed to fetch usage history: ${s.status}`);let a=await s.json();e({usageHistory:a.data,loading:!1,error:null,lastFetched:Date.now(),lastDays:t,pendingDays:null})}catch(s){console.error("[UsageHistory] Failed to fetch:",s),e({loading:!1,error:s instanceof Error?s.message:"Network error",pendingDays:null})}}},refreshUsageHistory:async(e=30)=>{await s().fetchUsageHistory(e,!0)},reset:()=>e({usageHistory:[],loading:!1,error:null,lastFetched:null,lastDays:30,pendingDays:null})})))}}]);

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.