PageSourceSearch

https://aichecklist.io/assets/Statistics-BTZ0QBMe.js

js aichecklist.io collected 2026-09-24 15:04:02 UTC 2,219 bytes, 1 lines download raw bytes

1import{j as e}from"./vendor-react-BieOFGTO.js";import{o as d,t as n}from"./index-Bca1piM7.js";import{P as a}from"./progress-BRcX4dEH.js";import{u}from"./Header-g1rzwW8_.js";import{C as x}from"./chart-no-axes-column-DzxZTdkY.js";import"./vendor-utils-Uev4__JX.js";import"./vendor-query-Bf7VLrsv.js";import"./vendor-radix-Cx3Dvb0S.js";import"./vendor-motion-B4SuNsHa.js";import"./badge-DRB4Qwvn.js";import"./keyboard-CtOwwVZY.js";import"./message-square-D62d3MmK.js";import"./palette-qIVP0t1_.js";import"./switch-kXuEKmi4.js";import"./tooltip-DTRJAneu.js";import"./trophy-C8CJ5JeB.js";function R(){const{tasks:r}=u(),o=r.filter(c=>c.completed).length,s=r.length,l=s>0?o/s*100:0,t=105,i=Math.min(100,t/300*100),m=65;return e.jsx(d,{className:"bg-card animate-fade-in",children:e.jsxs(n,{className:"pt-6",children:[e.jsxs("div",{className:"flex items-center mb-4",children:[e.jsx(x,{className:"text-primary text-xl mr-2"}),e.jsx("h2",{className:"text-lg font-medium",children:"Statistics"})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"border border-border rounded-md p-3 bg-background/50",children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx("span",{className:"text-sm text-muted-foreground",children:"Tasks Completed"}),e.jsxs("span",{className:"font-medium",children:[o,"/",s]})]}),e.jsx(a,{className:"w-full h-1.5 bg-background mt-2",value:l})]}),e.jsxs("div",{className:"border border-border rounded-md p-3 bg-background/50",children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx("span",{className:"text-sm text-muted-foreground",children:"Focus Time Today"}),e.jsxs("span",{className:"font-medium",children:[Math.floor(t/60),"h ",t%60,"m"]})]}),e.jsx(a,{className:"w-full h-1.5 bg-background mt-2",value:i})]}),e.jsxs("div",{className:"border border-border rounded-md p-3 bg-background/50",children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx("span",{className:"text-sm text-muted-foreground",children:"Weekly Goal"}),e.jsxs("span",{className:"font-medium",children:[m,"%"]})]}),e.jsx(a,{className:"w-full h-1.5 bg-background mt-2",value:m})]})]})]})})}export{R as Statistics,R 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.