PageSourceSearch

https://visualsentinel.com/_next/static/chunks/83115.ab7f37cc53986406.js

js visualsentinel.com collected 2026-09-24 11:36:30 UTC 18,381 bytes, 1 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="542ad9c6-722e-4d69-9a58-36b910bb0982",e._sentryDebugIdIdentifier="sentry-dbid-542ad9c6-722e-4d69-9a58-36b910bb0982")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[83115],{5214:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorage",{enumerable:!0,get:function(){return r.workAsyncStorageInstance}});let r=n(17828)},17828:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorageInstance",{enumerable:!0,get:function(){return r}});let r=(0,n(64054).createAsyncLocalStorage)()},21957:(e,t,n)=>{function r({moduleIds:e}){return null}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PreloadChunks",{enumerable:!0,get:function(){return r}}),n(95155),n(47650),n(5214),n(2451),n(53887)},37206:(e,t,n)=>{n.d(t,{default:()=>a.a});var r=n(75707),a=n.n(r)},41112:(e,t,n)=>{function r({reason:e,children:t}){return t}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BailoutToCSR",{enumerable:!0,get:function(){return r}}),n(1980)},63901:(e,t,n)=>{n.d(t,{v:()=>r});function r(e,t=1e3){let n=e.filter(e=>Number.isFinite(e)&&e>0);if(0===n.length)return t;if(n.length<4)return Math.max(1.1*Math.max(...n),t);let a=[...n].sort((e,t)=>e-t),s=n.length>=20?.9:.75,i=n.length>=20?2:2.5,l=Math.min(a.length-1,Math.floor(a.length*s));return Math.max(Math.round(a[l]*i),t)}},64054:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});var n={bindSnapshot:function(){return o},createAsyncLocalStorage:function(){return l},createSnapshot:function(){return d}};for(var r in n)Object.defineProperty(t,r,{enumerable:!0,get:n[r]});let a=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class s{disable(){throw a}getStore(){}run(){throw a}exit(){throw a}enterWith(){throw a}static bind(e){return e}}let i="u">typeof globalThis&&globalThis.AsyncLocalStorage;function l(){return i?new i:new s}function o(e){return i?i.bind(e):s.bind(e)}function d(){return i?i.snapshot():function(e,...t){return e(...t)}}},68635:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let r=n(95155),a=n(12115),s=n(41112);function i(e){return{default:e&&"default"in e?e.default:e}}n(21957);let l={loader:()=>Promise.resolve(i(()=>null)),loading:null,ssr:!0},o=function(e){let t={...l,...e},n=(0,a.lazy)(()=>t.loader().then(i)),o=t.loading;function d(e){let i=o?(0,r.jsx)(o,{isLoading:!0,pastDelay:!0,error:null}):null,l=!t.ssr||!!t.loading,d=l?a.Suspense:a.Fragment,c=t.ssr?(0,r.jsxs)(r.Fragment,{children:[null,(0,r.jsx)(n,{...e})]}):(0,r.jsx)(s.BailoutToCSR,{reason:"next/dynamic",children:(0,r.jsx)(n,{...e})});return(0,r.jsx)(d,{...l?{fallback:i}:{},children:c})}return d.displayName="LoadableComponent",d}},72494:(e,t,n)=>{n.d(t,{uf:()=>o});var r=n(95155),a=n(37206),s=n(12115),i=n(1728);let l=()=>(0,r.jsx)("div",{className:"flex items-center justify-center h-full min-h-[200px]",children:(0,r.jsx)("div",{className:"w-8 h-8 border-3 border-accent-500 border-t-transparent rounded-full animate-spin"})});function o(e){let t=(0,s.useRef)(null),[n,a]=(0,s.useState)(null);return(0,s.useEffect)(()=>{let e=t.current;if(!e)return;let n=()=>{let t=e.clientWidth,n=e.clientHeight;t>0&&n>0&&a(e=>e?.w===t&&e?.h===n?e:{w:t,h:n})};requestAnimationFrame(()=>requestAnimationFrame(n));let r=new ResizeObserver(n);return r.observe(e),()=>r.disconnect()},[]),(0,r.jsx)("div",{ref:t,style:{width:"100%",height:"100%",minHeight:1},children:n&&(0,r.jsx)(i.u,{...e,width:n.w,height:n.h})})}(0,a.default)(()=>Promise.all([n.e(53459),n.e(83327),n.e(28281),n.e(22403),n.e(94800),n.e(41284)]).then(n.bind(n,41284)).then(e=>e.LineChart),{loadableGenerated:{webpack:()=>[41284]},loading:l,ssr:!1}),(0,a.default)(()=>Promise.all([n.e(53459),n.e(83327),n.e(28281),n.e(22403),n.e(94800),n.e(41284)]).then(n.bind(n,41284)).then(e=>e.AreaChart),{loadableGenerated:{webpack:()=>[41284]},loading:l,ssr:!1}),(0,a.default)(()=>Promise.all([n.e(53459),n.e(83327),n.e(28281),n.e(22403),n.e(94800),n.e(41284)]).then(n.bind(n,41284)).then(e=>e.BarChart),{loadableGenerated:{webpack:()=>[41284]},loading:l,ssr:!1}),(0,a.default)(()=>Promise.all([n.e(53459),n.e(83327),n.e(28281),n.e(22403),n.e(94800),n.e(41284)]).then(n.bind(n,41284)).then(e=>e.PieChart),{loadableGenerated:{webpack:()=>[41284]},loading:l,ssr:!1}),(0,a.default)(()=>Promise.all([n.e(53459),n.e(83327),n.e(28281),n.e(22403),n.e(94800),n.e(41284)]).then(n.bind(n,41284)).then(e=>e.RadarChart),{loadableGenerated:{webpack:()=>[41284]},loading:l,ssr:!1})},75707:(e,t,n)=>
1{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let r=n(73623)._(n(68635));function a(e,t){let n={};"function"==typeof e&&(n.loader=e);let a={...n,...t};return(0,r.default)({...a,modules:a.loadableGenerated?.modules})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},83115:(e,t,n)=>{n.r(t),n.d(t,{PerformanceTab:()=>j});var r=n(95155),a=n(12115),s=n(90639),i=n(28408),l=n(32539),o=n(59656),d=n(5501),c=n(53459),u=n(83327),m=n(72494),x=n(63901);function h(e,t,n){return e<=t?"good":e<=n?"needs-work":"poor"}function f({label:e,abbr:t,displayValue:n,description:a,status:s,value:i,poorThreshold:l,zeroIsData:o}){let d=Math.min(i/l*100,100),c=i>0||!0===o&&i>=0;return(0,r.jsxs)("div",{className:"surface-panel p-4 flex flex-col gap-2",children:[(0,r.jsxs)("div",{className:"flex items-start justify-between gap-2",children:[(0,r.jsxs)("div",{className:"min-w-0",children:[(0,r.jsx)("p",{className:"text-xs text-zinc-500 leading-tight",children:t}),(0,r.jsx)("p",{className:"text-xs font-medium text-zinc-700 dark:text-zinc-400 leading-tight",children:e})]}),c&&(0,r.jsx)("span",{className:["shrink-0 px-2 py-0.5 rounded text-xs font-medium",function(e){switch(e){case"good":return"bg-emerald-500/10 text-emerald-600 dark:text-emerald-400";case"needs-work":return"bg-amber-500/10 text-amber-600 dark:text-amber-400";case"poor":return"bg-red-500/10 text-red-600 dark:text-red-400"}}(s)].join(" "),children:function(e){switch(e){case"good":return"Fast";case"needs-work":return"Needs work";case"poor":return"Slow"}}(s)})]}),(0,r.jsx)("p",{className:["font-mono font-semibold leading-none",c?"good"===s?"text-xl text-emerald-600 dark:text-emerald-400":"needs-work"===s?"text-xl text-amber-600 dark:text-amber-400":"text-xl text-red-600 dark:text-red-400":"text-sm text-zinc-500"].join(" "),children:c?n:"No data yet"}),(0,r.jsx)("p",{className:"text-xs text-zinc-500 leading-snug",children:a}),(0,r.jsx)("div",{className:"w-full bg-zinc-50 dark:bg-gray-800 rounded-full h-1.5 mt-auto",children:(0,r.jsx)("div",{className:["rounded-full h-1.5 transition-all",c?function(e){switch(e){case"good":return"bg-emerald-500";case"needs-work":return"bg-amber-500";case"poor":return"bg-red-500"}}(s):"bg-zinc-50 dark:bg-gray-800"].join(" "),style:{width:c?`${d}%`:"0%"},role:"presentation"})})]})}function b({active:e,payload:t,label:n,timeRange:a,chartTheme:s}){if(!e||!t||0===t.length)return null;let i=n??"";try{let e=new Date(n);i="1h"===a||"6h"===a||"24h"===a?e.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"}):e.toLocaleString([],{month:"short",day:"numeric",hour:"2-digit",minute:"2-digit"})}catch{}return(0,r.jsxs)("div",{style:{backgroundColor:s.tooltipBg,border:`1px solid ${s.tooltipBorder}`,color:s.tooltipText},className:"rounded-lg p-3 shadow-lg text-xs",children:[(0,r.jsx)("p",{className:"font-medium mb-1.5",style:{color:s.tooltipText},children:i}),t.map(e=>{let t="Response Time (ms)"===e.name,n="Uptime (%)"===e.name,a=t?`${Math.round(e.value)}ms`:n?`${e.value.toFixed(2)}%`:String(e.value),i=t?"Response ↓":n?"Uptime ↑":e.name;return(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("span",{className:"w-2 h-2 rounded-full shrink-0",style:{backgroundColor:e.color}}),(0,r.jsxs)("span",{style:{color:s.tooltipText},children:[(0,r.jsxs)("span",{className:"opacity-70",children:[i,": "]}),(0,r.jsx)("span",{className:"font-mono font-medium",children:a})]})]},e.name)})]})}function p({score:e}){let t=2*Math.PI*28,n=e>=90?"text-emerald-600 dark:text-emerald-400":e>=50?"text-amber-600 dark:text-amber-400":"text-red-600 dark:text-red-400";return(0,r.jsxs)("div",{className:"relative inline-flex items-center justify-center w-20 h-20 shrink-0",children:[(0,r.jsxs)("svg",{width:"80",height:"80",viewBox:"0 0 80 80",className:"-rotate-90","aria-hidden":"true",children:[(0,r.jsx)("circle",{cx:"40",cy:"40",r:28,fill:"none",stroke:"#27272a",strokeWidth:"6"}),(0,r.jsx)("circle",{cx:"40",cy:"40",r:28,fill:"none",stroke:e>=90?"#22c55e":e>=50?"#f59e0b":"#ef4444",strokeWidth:"6",strokeDasharray:t,strokeDashoffset:t-e/100*t,strokeLinecap:"round"})]}),(0,r.jsx)("span",{className:["absolute font-mono font-bold text-lg",n].join(" "),children:e})]})}function g({range:e,label:t,active:n,onClick:a}){return(0,r.jsx)("button",{type:"button",onClick:a,"aria-label":`Show ${e} range`,className:["px-3 py-1 rounded-lg text-xs font-medium transition-colors",n?"bg-accent-600 dar
1k:bg-accent-500 text-white":"bg-zinc-50 dark:bg-gray-800 text-zinc-500 hover:text-zinc-950 dark:text-white hover:bg-zinc-100 dark:bg-gray-700"].join(" "),children:t})}function j({chartData:e,performance:t,pageSpeed:n,chartTheme:y,timeRange:k,onTimeRangeChange:v}){var N;let{ttfb:w,fcp:P,lcp:C,cls:S,dnsTime:T,connectTime:z}=t,_=(0,a.useMemo)(()=>(0,x.v)(e.map(e=>Number(e.responseTime)).filter(e=>Number.isFinite(e))),[e]),F=h(C,2500,4e3),M=h(P,1800,3e3),L=h(w,800,1800),O=h(S,.1,.25),D=h(T,50,200),I=h(z,200,500);return(0,r.jsxs)("div",{className:"space-y-5",children:[(0,r.jsxs)("div",{className:"surface-panel p-5",children:[(0,r.jsxs)("div",{className:"flex flex-col sm:flex-row sm:items-center justify-between gap-3 mb-4",children:[(0,r.jsx)("h3",{className:"text-sm font-medium text-zinc-950 dark:text-white",children:"Uptime & Response Time"}),(0,r.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,r.jsx)(g,{range:"1h",label:"1h",active:"1h"===k,onClick:()=>v("1h")}),(0,r.jsx)(g,{range:"6h",label:"6h",active:"6h"===k,onClick:()=>v("6h")}),(0,r.jsx)(g,{range:"24h",label:"24h",active:"24h"===k,onClick:()=>v("24h")}),(0,r.jsx)(g,{range:"7d",label:"7d",active:"7d"===k,onClick:()=>v("7d")}),(0,r.jsx)(g,{range:"30d",label:"30d",active:"30d"===k,onClick:()=>v("30d")})]})]}),0===e.length?(0,r.jsx)("div",{className:"flex items-center justify-center h-[220px] text-xs text-zinc-500",children:"No chart data available for this period"}):(0,r.jsxs)("div",{className:"outline-none [&_svg]:outline-none [&_.recharts-surface]:outline-none h-[250px]",style:{userSelect:"none"},children:[(0,r.jsx)(m.uf,{width:"100%",height:"100%",minWidth:0,minHeight:0,debounce:100,children:(0,r.jsxs)(s.Q,{data:e,margin:{top:4,right:8,left:0,bottom:0},children:[(0,r.jsx)(i.d,{strokeDasharray:"3 3",stroke:y.grid}),(0,r.jsx)(l.W,{dataKey:"time",stroke:y.axis,tick:{fontSize:10,fill:y.axis},tickFormatter:function(e){try{let t=new Date(e);if("1h"===k||"6h"===k||"24h"===k)return t.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"});return t.toLocaleDateString([],{month:"short",day:"numeric"})}catch{return e}},tickLine:!1}),(0,r.jsx)(o.h,{yAxisId:"left",domain:[0,_],stroke:y.axis,tick:{fontSize:10,fill:y.axis},tickLine:!1,axisLine:!1,tickFormatter:e=>`${e}ms`,width:48}),(0,r.jsx)(o.h,{yAxisId:"right",orientation:"right",domain:[0,100],stroke:y.axis,tick:{fontSize:10,fill:y.axis},tickLine:!1,axisLine:!1,tickFormatter:e=>`${e}%`,width:36}),(0,r.jsx)(d.m,{content:(0,r.jsx)(b,{timeRange:k,chartTheme:y})}),(0,r.jsx)(c.Gk,{yAxisId:"left",type:"monotone",dataKey:"responseTime",name:"Response Time (ms)",stroke:y.cyan,fill:y.cyan,fillOpacity:.18,strokeWidth:1.5,dot:!1,activeDot:{r:3},connectNulls:!0}),(0,r.jsx)(u.N1,{yAxisId:"right",type:"monotone",dataKey:"uptime",name:"Uptime (%)",stroke:y.green,strokeWidth:2,dot:!1,activeDot:{r:3},connectNulls:!0})]})}),(0,r.jsxs)("div",{className:"flex items-center gap-4 mt-2 px-1",children:[(0,r.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,r.jsx)("span",{className:"w-3 h-0.5 rounded-full inline-block",style:{backgroundColor:y.cyan}}),(0,r.jsx)("span",{className:"text-xs text-zinc-500",children:"Response, lower is better"})]}),(0,r.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,r.jsx)("span",{className:"w-3 h-0.5 rounded-full inline-block",style:{backgroundColor:y.green}}),(0,r.jsx)("span",{className:"text-xs text-zinc-500",children:"Uptime, higher is better"})]})]})]})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h3",{className:"text-sm font-medium text-zinc-950 dark:text-white mb-3",children:"Web Vitals"}),0===w&&0===P&&0===C&&0===S&&0===T&&0===z&&(0,r.jsx)("p",{className:"text-xs text-zinc-500 mb-3",children:"Timing metrics populate after monitoring checks run. TTFB, DNS, and TCP come from regular checks. FCP, LCP, and CLS come from the daily page speed test."}),(0,r.jsxs)("div",{className:"grid grid-cols-2 sm:grid-cols-2 md:grid-cols-3 gap-3",children:[(0,r.jsx)(f,{abbr:"LCP",label:"Largest Contentful Paint",value:C,displayValue:C>0?`${(C/1e3).toFixed(2)}s`:", ",description:C<=0?"Largest content element render time":`Page loads in ${(C/1e3).toFixed(1)} seconds`,status:F,poorThreshold:6e3}),(0,r.jsx)(f,{abbr:"FCP",label:"First Contentful Paint",value:P,displayValue:P>0?`${(P/1e3).toFixed(2)}s`:", ",description:P<=0?"Time until first content is visible":`First content visible in ${(P/1e3).toFixed(1)} seconds`,status:M,poorThreshold:4500}),(0,r.jsx)(f,{abbr:"TTFB",label:"Time to First Byte",value:w,displayValue:w>0?`${Math.round(w)}ms`:", ",description:w<=0?"Time until first byte from server":`Server responds in ${(w/1e3).toFixed(2)} seconds`,status:L,poorThreshold:2700}
1),(0,r.jsx)(f,{abbr:"CLS",label:"Layout Shift",value:S,displayValue:S>0?S.toFixed(3):", ",description:S<=0?"Visual stability of the page":S<=.05?"Very little layout movement":S<=.1?"Minimal layout shift":S<=.25?"Some layout shift detected":"Significant layout instability",status:O,poorThreshold:.4}),(0,r.jsx)(f,{abbr:"DNS",label:"DNS Lookup",value:T,displayValue:T>0?`${Math.round(T)}ms`:"<1ms",description:T<=0?"Resolved instantly from cache":T<=0?"DNS name resolution time":`DNS resolved in ${Math.round(T)}ms`,status:D,poorThreshold:400,zeroIsData:z>0||w>0}),(0,r.jsx)(f,{abbr:"TCP",label:"Connection Time",value:z,displayValue:z>0?`${Math.round(z)}ms`:", ",description:z<=0?"TCP connection setup time":`Connection established in ${Math.round(z)}ms`,status:I,poorThreshold:800})]})]}),null!==n&&(0,r.jsxs)("div",{className:"surface-panel p-5",children:[(0,r.jsx)("h3",{className:"text-sm font-medium text-zinc-950 dark:text-white mb-4",children:"PageSpeed Insights"}),(0,r.jsxs)("div",{className:"flex items-start gap-4 mb-4",children:[(0,r.jsx)(p,{score:n.performanceScore??0}),(0,r.jsxs)("div",{className:"min-w-0",children:[(0,r.jsxs)("p",{className:"text-sm font-semibold text-zinc-950 dark:text-white mb-0.5",children:["Performance Score:"," ",(0,r.jsxs)("span",{className:["font-mono",(n.performanceScore??0)>=90?"text-emerald-600 dark:text-emerald-400":(n.performanceScore??0)>=50?"text-amber-600 dark:text-amber-400":"text-red-600 dark:text-red-400"].join(" "),children:[n.performanceScore??", ","/100"]})]}),(0,r.jsx)("p",{className:"text-xs text-zinc-700 dark:text-zinc-400 leading-relaxed",children:(N=n.performanceScore??0)>=90?"Great performance, your site loads fast.":N>=50?"Moderate performance, there is room for improvement.":"Poor performance, users may experience slow load times."}),(n.strategy||n.device)&&(0,r.jsxs)("p",{className:"text-xs text-zinc-500 mt-1",children:["Tested on ",(0,r.jsx)("span",{className:"capitalize font-medium text-zinc-700 dark:text-zinc-400",children:n.strategy||n.device})]})]})]}),(0,r.jsxs)("div",{className:"grid grid-cols-2 gap-3 pt-4 border-t border-zinc-950/10 dark:border-white/10",children:[null!=n.speedIndex&&(0,r.jsxs)("div",{className:"bg-white dark:bg-gray-900 rounded-lg p-3",children:[(0,r.jsx)("p",{className:"text-xs text-zinc-500 mb-0.5",children:"Speed Index"}),(0,r.jsxs)("p",{className:"font-mono text-sm font-semibold text-zinc-950 dark:text-white",children:[(n.speedIndex/1e3).toFixed(2),"s"]})]}),null!=n.totalBlockingTime&&(0,r.jsxs)("div",{className:"bg-white dark:bg-gray-900 rounded-lg p-3",children:[(0,r.jsx)("p",{className:"text-xs text-zinc-500 mb-0.5",children:"Total Blocking Time"}),(0,r.jsxs)("p",{className:"font-mono text-sm font-semibold text-zinc-950 dark:text-white",children:[Math.round(n.totalBlockingTime),"ms"]})]}),null!=n.largestContentfulPaint&&(0,r.jsxs)("div",{className:"bg-white dark:bg-gray-900 rounded-lg p-3",children:[(0,r.jsx)("p",{className:"text-xs text-zinc-500 mb-0.5",children:"LCP (PageSpeed)"}),(0,r.jsxs)("p",{className:["font-mono text-sm font-semibold",n.largestContentfulPaint<2500?"text-emerald-600 dark:text-emerald-400":n.largestContentfulPaint<4e3?"text-amber-600 dark:text-amber-400":"text-red-600 dark:text-red-400"].join(" "),children:[(n.largestContentfulPaint/1e3).toFixed(2),"s"]})]}),null!=n.firstContentfulPaint&&(0,r.jsxs)("div",{className:"bg-white dark:bg-gray-900 rounded-lg p-3",children:[(0,r.jsx)("p",{className:"text-xs text-zinc-500 mb-0.5",children:"FCP (PageSpeed)"}),(0,r.jsxs)("p",{className:["font-mono text-sm font-semibold",n.firstContentfulPaint<1800?"text-emerald-600 dark:text-emerald-400":n.firstContentfulPaint<3e3?"text-amber-600 dark:text-amber-400":"text-red-600 dark:text-red-400"].join(" "),children:[(n.firstContentfulPaint/1e3).toFixed(2),"s"]})]})]})]})]})}},90639:(e,t,n)=>{n.d(t,{Q:()=>l});var r=n(12115),a=n(95295),s=n(80598),i=["axis"],l=(0,r.forwardRef)((e,t)=>r.createElement(s.P,{chartName:"AreaChart",defaultTooltipEventType:"axis",validateTooltipEventTypes:i,tooltipPayloadSearcher:a.uN,categoricalChartProps:e,ref:t}))}}]);

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.