1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[86625],{11436:(e,t,s)=>{s.d(t,{A:()=>a});let a=(0,s(74217).A)("flame",[["path",{d:"M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z",key:"96xj49"}]])},41879:(e,t,s)=>{s.d(t,{A:()=>a});let a=(0,s(74217).A)("play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]])},54124:(e,t,s)=>{s.d(t,{A:()=>a});let a=(0,s(74217).A)("target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]])},57187:(e,t,s)=>{s.d(t,{E:()=>r});var a=s(23804),l=s(87425);function r(e){let{className:t,...s}=e;return(0,a.jsx)("div",{className:(0,l.cn)("animate-pulse rounded-md bg-muted",t),...s})}},67027:(e,t,s)=>{s.d(t,{A:()=>a});let a=(0,s(74217).A)("history",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]])},86625:(e,t,s)=>{s.r(t),s.d(t,{default:()=>G});var a=s(23804),l=s(44976),r=s(44177),n=s.n(r),c=s(21739),o=s(70613),i=s(26577),d=s(56025),x=s(76935),m=s(51547),u=s(58489),h=s(85518),p=s(98635),g=s(54124),b=s(11436),y=s(41879);let f=(0,s(74217).A)("clipboard-list",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]]);var j=s(94044),k=s(59183),v=s(17486),N=s(91607),w=s(67027),A=s(57187),_=s(39340),C=s(32108),M=s(2244),q=s(14643),R=s(94817),E=s(79865),S=s(81762);let W={verbal:{label:"Verbal Reasoning",icon:c.A,badge:"VR",minutes:30,scoreRange:"130â170",description:"Master reading comprehension, text completion, and sentence equivalence.",practiceDesc:"Practice individual question types by topic â get instant feedback on each answer.",testDesc:"Full timed Verbal Reasoning tests scored on the 130â170 GRE scale.",topics:[{key:"reading_comprehension",label:"Reading Comprehension",questionType:"reading_comprehension"},{key:"text_completion",label:"Text Completion",questionType:"text_completion"},{key:"sentence_equivalence",label:"Sentence Equivalence",questionType:"sentence_equivalence"}]},quant:{label:"Quantitative Reasoning",icon:o.A,badge:"QR",minutes:35,scoreRange:"130â170",description:"Build skills across arithmetic, algebra, geometry, and data analysis.",practiceDesc:"Practice by topic with all four GRE Quant question types.",testDesc:"Full timed Quantitative Reasoning tests scored on the 130â170 GRE scale.",topics:[{key:"arithmetic",label:"Arithmetic",questionType:"multiple_choice"},{key:"algebra",label:"Algebra",questionType:"multiple_choice"},{key:"geometry",label:"Geometry",questionType:"multiple_choice"},{key:"data_analysis",label:"Data Analysis",questionType:"multiple_choice"},{key:"word_problems",label:"Word Problems",questionType:"multiple_choice"}]},analytical_writing:{label:"Analytical Writing",icon:i.A,badge:"AW",minutes:30,scoreRange:"0â6",description:"Develop your analytical writing skills with timed essay tasks.",practiceDesc:"Practice with timed essay prompts â Analyze an Issue and Analyze an Argument tasks, scored by AI on the 0â6 scale.",testDesc:"Full timed Analytical Writing tasks scored on the 0â6 GRE scale.",topics:[{key:"analyze_issue",label:"Analyze an Issue"},{key:"analyze_argument",label:"Analyze an Argument"}]}},D=e=>null==e?"rgb(var(--module-accent))":"rgb(var(--module-accent) / ".concat(e,")");function P(e){let{icon:t,children:s}=e;return(0,a.jsxs)("span",{className:"flex items-center gap-1.5 px-2.5 py-1.5 rounded-full text-xs font-semibold flex-shrink-0",style:{backgroundColor:D(.12),color:D()},children:[(0,a.jsx)(t,{className:"w-3.5 h-3.5",strokeWidth:1.75}),s]})}function T(e){let{icon:t,value:s,label:l}=e;return(0,a.jsxs)("span",{className:"flex items-center gap-2 px-2.5 py-1.5 rounded-lg flex-shrink-0 bg-card/70",children:[(0,a.jsx)(t,{className:"w-3.5 h-3.5",style:{color:D()},strokeWidth:1.75}),(0,a.jsx)("span",{className:"text-sm font-bold text-foreground tabular-nums",children:s}),(0,a.jsx)("span",{className:"text-xs font-medium text-muted-foreground whitespace-nowrap",children:l})]})}function z(e){let{icon:t,title:s,desc:l,onClick:r,href:c,primary:o,busy:i}=e,m=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"w-10 h-10 rounded-xl grid place-items-center flex-shrink-0",style:o?{backgroundColor:"rgba(255,255,255,0.2)"}:{backgroundColor:D(.12),color:D()},children:i?(0,a.jsx)(d.A,{className:"w-5 h-5 animate-spin"}):(0,a.jsx)(t,{className:"w-5 h-5",strokeWidth:1.75})}),(0,a.jsxs)("span",{className:"min-w-0 flex-1 text-left",children:[(0,a.jsx)("span",{className:"block text-sm font-semibold",children:s}),(0,a.jsx)("span",{className:"block text-xs ".concat(o?"text-white/80":"text-muted-foreground"),children:l})]}),(0,a.jsx)(x.A,{className:"w-4 h-4 flex-shrink-0 ".concat(o?"text-white/80":"text-muted-foreground"),strokeWidth:1.5})]}),u="flex items-center gap-3 p-4 rounded-2xl border transition-all hover:shadow-sm ".concat(o?"text-white border-transparent hover:opacity-95":"bg-card border-border hover:border-foreground
1/20 text-foreground"),h=o?{backgroundColor:D()}:void 0;return c?(0,a.jsx)(n(),{href:c,className:u,style:h,children:m}):(0,a.jsx)("button",{type:"button",onClick:r,disabled:i,className:u,style:h,children:m})}function G(e){var t,s;let{section:r,onStartPractice:n,onTakeTest:c,onTests:o,onLessons:i,onViewAttempt:d,takingTest:G=!1}=e,F=W[r]||W.verbal,H=F.icon,[V,I]=(0,l.useState)(null),[L,Q]=(0,l.useState)([]),[B,K]=(0,l.useState)(null),[O,Z]=(0,l.useState)(!0);(0,l.useEffect)(()=>{$()},[r]);let $=async()=>{Z(!0);try{let e=[fetch("/api/gre/questions?mode=topics§ion=".concat(r)),fetch("/api/gre/history?summary=1&limit=100")];"analytical_writing"!==r&&e.push(fetch("/api/gre/set-attempts?section=".concat(r)));let[t,s,a]=await Promise.all(e),l=await t.json(),n=await s.json();if(l.success&&Q(l.topicGroups||[]),a){let e=await a.json();e.success&&K(e)}if(n.success){let e="quant"===r?"quantitative":r,t=n.history.filter(t=>t.testType===e),s=t.map(t=>{var s,a;return"analytical_writing"===e?(null==(s=t.testHistory)?void 0:s.overallScore)||0:(null==(a=t.testHistory)?void 0:a.scaledScore)||0});I({attempts:t.length,avgScore:s.length?Math.round(s.reduce((e,t)=>e+t,0)/s.length):null,bestScore:s.length?Math.max(...s):null})}}catch(e){}finally{Z(!1)}};if(O)return(0,a.jsxs)("div",{className:"max-w-5xl px-4 pt-3 sm:pt-4 pb-8 mx-auto space-y-4 sm:px-6",children:[(0,a.jsx)(A.E,{className:"h-36 rounded-2xl"}),(0,a.jsxs)("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-3",children:[(0,a.jsx)(A.E,{className:"h-20 rounded-2xl"}),(0,a.jsx)(A.E,{className:"h-20 rounded-2xl"}),(0,a.jsx)(A.E,{className:"h-20 rounded-2xl"})]}),(0,a.jsx)(A.E,{className:"h-64 rounded-2xl"})]});let J={};L.forEach(e=>{var t,s,a;J[e.topic]||(J[e.topic]=0),J[e.topic]+=null!=(a=null!=(s=null==(t=e._count)?void 0:t.id)?s:e._count)?a:0});let U=Object.values(J).reduce((e,t)=>e+t,0),X=(0,S.$G)(L),Y=(null==B?void 0:B.trend)||[],ee=Y.length?Y[Y.length-1].accuracy:null,et=Y.length>1?Y[Y.length-2].accuracy:null,es=null!=ee&&null!=et?ee-et:null,ea=Y.length?Math.round(Y.reduce((e,t)=>e+t.accuracy,0)/Y.length):null,el=Y.length?Math.max(...Y.map(e=>e.accuracy)):null,er=(null==B?void 0:B.setsAvailable)?Math.round(B.setsCompleted/B.setsAvailable*100):0,en=2*Math.PI*40,ec=(null==V?void 0:V.bestScore)?"".concat(V.bestScore).concat("analytical_writing"===r?"/6":"/170"):"â",eo=(null==V?void 0:V.attempts)?"".concat(V.avgScore).concat("analytical_writing"===r?"/6":"/170"):"â";return(0,a.jsx)("div",{className:"min-h-screen bg-background",children:(0,a.jsxs)("div",{className:"max-w-5xl px-4 pt-3 sm:pt-4 pb-8 mx-auto space-y-4 sm:px-6",children:[(0,a.jsxs)("div",{className:"relative overflow-hidden rounded-2xl p-4 sm:p-5 border",style:{borderColor:D(.35),background:"linear-gradient(135deg, ".concat(D(.14)," 0%, ").concat(D(.02)," 100%)")},children:[(0,a.jsxs)("div",{className:"flex items-start justify-between gap-4",children:[(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsx)("p",{className:"text-xs font-bold uppercase tracking-[0.12em] mb-1",style:{color:D()},children:"GRE \xb7 AI-Powered Practice"}),(0,a.jsx)("h1",{className:"text-xl sm:text-2xl font-extrabold tracking-tight text-foreground",children:F.label}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground mt-1 max-w-xl",children:F.description})]}),(0,a.jsx)("span",{className:"hidden sm:grid w-14 h-14 rounded-2xl place-items-center flex-shrink-0",style:{backgroundColor:D(.16),color:D()},children:(0,a.jsx)(H,{className:"w-7 h-7",strokeWidth:1.75})})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2 mt-4 overflow-x-auto -mx-1 px-1 pb-0.5",children:[(0,a.jsxs)(P,{icon:m.A,children:[U||0," ","analytical_writing"===r?"prompts":"questions"]}),(0,a.jsxs)(P,{icon:u.A,children:[F.minutes," min test"]}),(0,a.jsx)(P,{icon:h.A,children:F.scoreRange}),(0,a.jsx)("span",{className:"w-px h-5 flex-shrink-0 mx-0.5",style:{backgroundColor:D(.25)},"aria-hidden":"true"}),(0,a.jsx)(T,{icon:p.A,value:ec,label:"Best"}),(0,a.jsx)(T,{icon:g.A,value:eo,label:"Avg"}),(0,a.jsx)(T,{icon:b.A,value:null!=(s=null==V?void 0:V.attempts)?s:0,label:"Tests taken"}),(null==B?void 0:B.setsAvailable)>0&&(0,a.jsx)(T,{icon:m.A,value:"".concat(B.setsCompleted,"/").concat(B.setsAvailable),label:"Practices"})]})]}),(0,a.jsxs)("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-3",children:[(0,a.jsx)(z,{primary:!0,icon:y.A,title:"Take a test",desc:"A full ".concat(F.minutes,"-minute section you haven't taken yet"),onClick:c,busy:G}),(0,a.jsx)(z,{icon:f,title:"All tests & results",desc:"Choose a test or review past scores",onClick:o}),"analytical_writing"!==r&&i?(0,a.jsx)(z,{icon:j.A,title:"Study lessons",de
1sc:"Concepts, worked examples, checkpoints",onClick:i}):(0,a.jsx)(z,{icon:p.A,title:"Full mock test",desc:"All three sections, one combined score",href:"/gre-full-mock"})]}),(0,a.jsxs)("div",{className:"rounded-2xl border border-border bg-card overflow-hidden",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between gap-3 px-4 py-3 border-b border-border",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2.5 min-w-0",children:[(0,a.jsx)("span",{className:"w-8 h-8 rounded-lg grid place-items-center flex-shrink-0",style:{backgroundColor:D(.12),color:D()},children:(0,a.jsx)(k.A,{className:"w-4 h-4",strokeWidth:1.75})}),(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsx)("p",{className:"text-sm font-semibold text-foreground",children:"Practice by topic"}),(0,a.jsx)("p",{className:"text-xs text-muted-foreground truncate",children:F.practiceDesc})]})]}),(0,a.jsx)("span",{className:"text-[11px] font-semibold px-2 py-1 rounded-full flex-shrink-0",style:{backgroundColor:D(.12),color:D()},children:"Free"})]}),(0,a.jsx)(_.default,{section:r,onStartPractice:n,embedded:!0})]}),B&&B.setsAvailable>0&&(B.setsCompleted>0||Y.length>0)&&(0,a.jsxs)("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2",children:[(0,a.jsxs)("div",{className:"flex items-center gap-5 p-5 border rounded-2xl bg-card border-border",children:[(0,a.jsxs)("div",{className:"relative w-[88px] h-[88px] shrink-0",children:[(0,a.jsxs)("svg",{viewBox:"0 0 100 100",className:"w-full h-full -rotate-90",children:[(0,a.jsx)("circle",{cx:"50",cy:"50",r:40,fill:"none",stroke:"rgb(var(--muted))",strokeWidth:"9"}),(0,a.jsx)("circle",{cx:"50",cy:"50",r:40,fill:"none",stroke:D(),strokeWidth:"9",strokeLinecap:"round",strokeDasharray:en,strokeDashoffset:en-er/100*en,className:"transition-all duration-700 ease-out"})]}),(0,a.jsx)("div",{className:"absolute inset-0 flex flex-col items-center justify-center",children:(0,a.jsxs)("span",{className:"text-lg font-bold text-foreground",children:[er,"%"]})})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-xs font-medium text-muted-foreground",children:"Practice progress"}),(0,a.jsxs)("p",{className:"text-2xl font-bold text-foreground mt-1",children:[B.setsCompleted,(0,a.jsxs)("span",{className:"text-sm font-medium text-muted-foreground",children:["/",B.setsAvailable]})]}),(0,a.jsxs)("p",{className:"text-xs text-muted-foreground",children:[B.setsRemaining," practices left"]})]})]}),(0,a.jsxs)("div",{className:"flex flex-col p-5 border rounded-2xl bg-card border-border",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,a.jsx)("p",{className:"text-xs font-medium text-muted-foreground",children:"Accuracy"}),null!=es&&0!==es&&(0,a.jsxs)("span",{className:"flex items-center gap-0.5 text-[10px] font-semibold px-1.5 py-0.5 rounded-full ".concat(es>0?"text-success bg-success/10":"text-destructive bg-destructive/10"),children:[es>0?(0,a.jsx)(v.A,{className:"w-3 h-3"}):(0,a.jsx)(N.A,{className:"w-3 h-3"}),Math.abs(es),"%"]})]}),null!=ee?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("p",{className:"text-2xl font-bold text-foreground mt-1",children:[ee,"%",(0,a.jsx)("span",{className:"ml-2 text-xs font-normal text-muted-foreground",children:"last practice"})]}),(0,a.jsx)("div",{className:"-mx-1 mt-1",children:(0,a.jsx)(C.u,{width:"100%",height:48,children:(0,a.jsxs)(M.Q,{data:Y,margin:{top:4,right:4,bottom:0,left:4},children:[(0,a.jsx)(q.h,{hide:!0,domain:[0,100]}),(0,a.jsx)(R.m,{cursor:{stroke:"rgb(var(--border))",strokeWidth:1},content:e=>{let{active:t,payload:s}=e;if(!t||!(null==s?void 0:s.length))return null;let l=s[0].payload;return(0,a.jsxs)("div",{className:"px-2 py-1 border rounded-lg shadow-sm border-border bg-card",children:[(0,a.jsx)("p",{className:"text-[10px] font-semibold capitalize text-foreground",children:l.topic.replace(/_/g," ")}),(0,a.jsxs)("p",{className:"text-[10px] text-muted-foreground",children:[l.accuracy,"% correct"]})]})}}),(0,a.jsx)(E.Gk,{type:"monotone",dataKey:"accuracy",stroke:D(),strokeWidth:2,fill:D(.15),dot:!1})]})})}),(0,a.jsxs)("p",{className:"text-xs text-muted-foreground mt-auto",children:["Average ",ea,"% \xb7 Best ",el,"%"]})]}):(0,a.jsx)("p",{className:"text-xs text-muted-foreground mt-2",children:"Finish a practice to start tracking accuracy."})]})]}),(null==B||null==(t=B.history)?void 0:t.length)>0&&(0,a.jsxs)("div",{className:"p-5 border rounded-2xl bg-card border-border",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-3",children:[(0,a.jsx)(w.A,{className:"w-4 h-4",style:{color:D()},strokeWidth:1.75}),(0,a.jsx)("span",{className:"text-sm font-semibold text-foreground",children:"Recent practices"})]}),(0,a.jsx)("div",{className:"space-y-2",children:B.history.map(e=>{let t=e.total>0?Math.round(e.score/e.total*100):0;return(0,a.jsxs)("button",{type:"button",onClick:()=>null==d?void 0:d(e.id),className:"w-full flex items-center justify-between gap-3 px-3 py-2.5 rounded-lg border border-border hover:border-foreground
1/20 transition-all text-left",children:[(0,a.jsxs)("span",{className:"min-w-0",children:[(0,a.jsxs)("span",{className:"block text-xs font-semibold capitalize truncate text-foreground",children:[e.topic.replace(/_/g," ")," \xb7 ",(0,S.SL)(X,e)]}),(0,a.jsxs)("span",{className:"block text-[10px] text-muted-foreground mt-0.5 capitalize",children:[new Date(e.completedAt).toLocaleDateString()," \xb7 ",e.difficulty]})]}),(0,a.jsxs)("span",{className:"flex items-center gap-2 shrink-0",children:[(0,a.jsxs)("span",{className:"text-[10px] font-semibold px-1.5 py-0.5 rounded",style:{backgroundColor:D(.12),color:D()},children:[t,"%"]}),(0,a.jsxs)("span",{className:"text-xs font-semibold text-foreground",children:[e.score,"/",e.total]}),(0,a.jsx)(x.A,{className:"w-3.5 h-3.5 text-muted-foreground",strokeWidth:1.5})]})]},e.id)})})]})]})})}},91607:(e,t,s)=>{s.d(t,{A:()=>a});let a=(0,s(74217).A)("trending-down",[["path",{d:"M16 17h6v-6",key:"t6n2it"}],["path",{d:"m22 17-8.5-8.5-5 5L2 7",key:"x473p"}]])},98635:(e,t,s)=>{s.d(t,{A:()=>a});let a=(0,s(74217).A)("trophy",[["path",{d:"M6 9H4.5a2.5 2.5 0 0 1 0-5H6",key:"17hqa7"}],["path",{d:"M18 9h1.5a2.5 2.5 0 0 0 0-5H18",key:"lmptdp"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20.24 7 22",key:"1nw9bq"}],["path",{d:"M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20.24 17 22",key:"1np0yb"}],["path",{d:"M18 2H6v7a6 6 0 0 0 12 0V2Z",key:"u46fv3"}]])}}]);
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.