PageSourceSearch

https://snapcards.ai/_next/static/chunks/5262.852b03879f5dcab6.js

js snapcards.ai collected 2026-10-05 14:40:44 UTC 2,972 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5262],{5160:(e,t,s)=>{s.d(t,{E:()=>d});var r=s(5155),a=s(1442),c=s(2115);let n={default:"bg-retro-gray/50 text-border-thick",primary:"bg-primary/10 text-primary",secondary:"bg-safety-orange/10 text-safety-orange",success:"bg-success/10 text-success",warning:"bg-warning/10 text-warning",danger:"bg-danger/10 text-danger"},d=(0,c.forwardRef)(({className:e,variant:t="default",...s},c)=>(0,r.jsx)("span",{ref:c,className:(0,a.cn)("inline-flex items-center rounded-full border border-border-thick/20 px-2.5 py-0.5","font-display text-xs font-semibold tracking-wide",n[t],e),...s}));d.displayName="Badge"},5262:(e,t,s)=>{s.r(t),s.d(t,{SessionsTable:()=>l});var r=s(5155),a=s(8500),c=s.n(a),n=s(5160),d=s(3364);function l({sessions:e}){return 0===e.length?(0,r.jsx)("div",{className:"text-center py-8",children:(0,r.jsx)("p",{className:"font-body text-sm text-border-thick/50",children:"No study sessions yet"})}):(0,r.jsx)("div",{className:"overflow-x-auto",children:(0,r.jsxs)("table",{className:"w-full",children:[(0,r.jsx)("thead",{children:(0,r.jsxs)("tr",{className:"border-b-2 border-border-thick",children:[(0,r.jsx)("th",{className:"font-display text-xs font-bold uppercase tracking-wide text-left py-3 px-2",children:"Deck"}),(0,r.jsx)("th",{className:"font-display text-xs font-bold uppercase tracking-wide text-center py-3 px-2",children:"Cards"}),(0,r.jsx)("th",{className:"font-display text-xs font-bold uppercase tracking-wide text-center py-3 px-2",children:"Accuracy"}),(0,r.jsx)("th",{className:"font-display text-xs font-bold uppercase tracking-wide text-center py-3 px-2 hidden sm:table-cell",children:"Duration"}),(0,r.jsx)("th",{className:"font-display text-xs font-bold uppercase tracking-wide text-right py-3 px-2",children:"Date"})]})}),(0,r.jsx)("tbody",{children:e.map(e=>{var t;return(0,r.jsxs)("tr",{className:"border-b border-retro-gray hover:bg-retro-gray/10",children:[(0,r.jsx)("td",{className:"py-3 px-2",children:(0,r.jsx)(c(),{href:`/deck/${e.deck_id}`,className:"font-body text-sm font-medium hover:text-primary transition-colors line-clamp-1",children:e.deck_title})}),(0,r.jsx)("td",{className:"py-3 px-2 text-center",children:(0,r.jsxs)("span",{className:"font-body text-sm",children:[e.correct_count,"/",e.total_cards]})}),(0,r.jsx)("td",{className:"py-3 px-2 text-center",children:(0,r.jsxs)(n.E,{variant:(t=e.accuracy)>=80?"success":t>=50?"warning":"danger",children:[e.accuracy,"%"]})}),(0,r.jsx)("td",{className:"py-3 px-2 text-center hidden sm:table-cell",children:(0,r.jsx)("span",{className:"font-body text-sm text-border-thick/50",children:(0,d.a)(e.duration_seconds)})}),(0,r.jsx)("td",{className:"py-3 px-2 text-right",children:(0,r.jsx)("span",{className:"font-body text-xs text-border-thick/50",suppressHydrationWarning:!0,children:new Date(e.completed_at).toLocaleDateString()})})]},e.id)})})]})})}}}]);
2//# sourceMappingURL=5262.852b03879f5dcab6.js.map

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.