PageSourceSearch

https://easyquizehou.io.vn/assets/AiTracesByTimeChart-BpLWhYo9.js

js easyquizehou.io.vn collected 2026-09-24 14:30:04 UTC 1,068 bytes, 1 lines download raw bytes

1import{j as m}from"./vendor-editor-tiptap-DxFZQymd.js";import{r as a}from"./vendor-react-Ci3E8-6d.js";import{C as b}from"./AdminFinanceDashboardPage-CYc60jIw.js";import{t as h,a as u,b as g}from"./tokenUsageService-ngADENRz.js";import{q as p}from"./index-CVvLEHxs.js";import{L as x}from"./vendor-charts-_OXgl1bk.js";import"./vendor-antd-Osf0nwkm.js";const S=({from:o,to:s,granularity:e,provider:i})=>{const[n,c]=a.useState([]),[f,l]=a.useState(!1);a.useEffect(()=>{const t=new AbortController;return(async()=>{l(!0);try{const r=await h.getDashboardTimeseries({from:o,to:s,granularity:e,metric:"calls",groupBy:"none",provider:i});t.signal.aborted||c(r.data||[])}catch(r){t.signal.aborted||p(r,"Lỗi tải biểu đồ")}finally{t.signal.aborted||l(!1)}})(),()=>t.abort()},[o,s,e,i]);const d=a.useMemo(()=>({data:n,xField:"bucket",yField:"value",height:300,axis:{x:{labelFormatter:t=>g(t,e)},y:{labelFormatter:t=>u(Number(t))}}}),[n,e]);return m.jsx(b,{title:"Lượt gọi AI theo thời gian",loading:f,minHeight:320,children:m.jsx(x,{...d})})};export{S as default};

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.