PageSourceSearch

https://askarapps.com/_next/static/chunks/4969.cb068a11124a3a3a.js

js askarapps.com collected 2026-09-24 13:57:52 UTC 2,417 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4969],{34969:(o,e,i)=>{i.r(e),i.d(e,{ResponseTimeChart:()=>c});var t=i(37876),r=i(14232),d=i(87856),a=i(5720),s=i(31134),n=i(81047),l=i(177);function c(o){let{data:e}=o,i=(0,a.tz)(),d=(0,r.useMemo)(()=>({labels:e.map(o=>{let e=new Date(o.ts);return i.formatTime(e,{hour:"2-digit",minute:"2-digit"})}),datasets:[{label:"API",data:e.map(o=>o.api),borderColor:"#10b981",backgroundColor:"rgba(16, 185, 129, 0.1)",borderWidth:1.6,pointRadius:0,pointHitRadius:8,tension:.3,fill:!1},{label:"MongoDB",data:e.map(o=>o.mongo),borderColor:"#3b82f6",backgroundColor:"rgba(59, 130, 246, 0.1)",borderWidth:1.6,pointRadius:0,pointHitRadius:8,tension:.3,fill:!1},{label:"Redis",data:e.map(o=>o.redis),borderColor:"#f59e0b",backgroundColor:"rgba(245, 158, 11, 0.1)",borderWidth:1.6,pointRadius:0,pointHitRadius:8,tension:.3,fill:!1}]}),[e,i]),n=(0,r.useMemo)(()=>({responsive:!0,maintainAspectRatio:!1,interaction:{mode:"index",intersect:!1},plugins:{legend:{display:!0,position:"top",labels:{color:l.Tj.textMuted,boxWidth:12,boxHeight:2,padding:16,font:{size:11}}},tooltip:{backgroundColor:l.Tj.surfaceAlt,titleColor:l.Tj.textPrimary,bodyColor:l.Tj.textBody,borderColor:l.Tj.border,borderWidth:1,padding:10,callbacks:{label:o=>{var e,i;return"".concat(o.dataset.label,": ").concat(null!=(i=null==(e=o.parsed)?void 0:e.y)?i:0,"ms")}}}},scales:{x:{grid:{color:l.Tj.border,drawBorder:!1},ticks:{color:l.Tj.textDim,font:{size:10},maxTicksLimit:12}},y:{grid:{color:l.Tj.border,drawBorder:!1},ticks:{color:l.Tj.textDim,font:{size:10},stepSize:50,callback:o=>"".concat(o,"ms")},min:0,max:400}}}),[]);return 0===e.length?(0,t.jsx)(b,{children:(0,t.jsx)(u,{children:(0,t.jsx)(a.sA,{id:"status.grafico.semDados",defaultMessage:"Sem dados de lat\xeancia ainda. Aguarde alguns minutos."})})}):(0,t.jsx)(b,{children:(0,t.jsx)(p,{children:(0,t.jsx)(s.N1,{data:d,options:n})})})}n.t1.register(n.PP,n.kc,n.FN,n.No,n.m_,n.dN,n.s$);let b=d.Ay.div.withConfig({componentId:"sc-5b714c1c-0"})(["background:",";border:1px solid ",";border-radius:",";padding:24px;","{padding:16px;}"],l.Tj.surface,l.Tj.border,l.Zp.radius.lg,l.$_.sm),p=d.Ay.div.withConfig({componentId:"sc-5b714c1c-1"})(["height:300px;position:relative;","{height:250px;}"],l.$_.sm),u=d.Ay.div.withConfig({componentId:"sc-5b714c1c-2"})(["text-align:center;color:",";font-size:0.85rem;padding:40px 0;"],l.Tj.textDim)}}]);

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.