PageSourceSearch

https://futurole.com/_next/static/chunks/app/(authenticated)/dashb…/%5Bid%5D/page-9cd9cc4c14c69a1f.js

js futurole.com collected 2026-10-02 00:31:59 UTC 29,993 bytes, 1 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},s=(new e.Error).stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="a255b73f-74a6-4ade-b4a9-641d8eab1e67",e._sentryDebugIdIdentifier="sentry-dbid-a255b73f-74a6-4ade-b4a9-641d8eab1e67")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2721],{6296:(e,s,t)=>{"use strict";t.d(s,{A:()=>r});let r=(0,t(78340).A)("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},9199:(e,s,t)=>{"use strict";t.d(s,{A:()=>r});let r=(0,t(78340).A)("RotateCcw",[["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"}]])},11919:(e,s,t)=>{"use strict";t.d(s,{A:()=>r});let r=(0,t(78340).A)("Dumbbell",[["path",{d:"M14.4 14.4 9.6 9.6",key:"ic80wn"}],["path",{d:"M18.657 21.485a2 2 0 1 1-2.829-2.828l-1.767 1.768a2 2 0 1 1-2.829-2.829l6.364-6.364a2 2 0 1 1 2.829 2.829l-1.768 1.767a2 2 0 1 1 2.828 2.829z",key:"nnl7wr"}],["path",{d:"m21.5 21.5-1.4-1.4",key:"1f1ice"}],["path",{d:"M3.9 3.9 2.5 2.5",key:"1evmna"}],["path",{d:"M6.404 12.768a2 2 0 1 1-2.829-2.829l1.768-1.767a2 2 0 1 1-2.828-2.829l2.828-2.828a2 2 0 1 1 2.829 2.828l1.767-1.768a2 2 0 1 1 2.829 2.829z",key:"yhosts"}]])},12651:(e,s,t)=>{"use strict";t.d(s,{A:()=>r});let r=(0,t(78340).A)("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},13545:(e,s,t)=>{"use strict";t.d(s,{A:()=>r});let r=(0,t(78340).A)("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},21362:(e,s,t)=>{"use strict";t.d(s,{A:()=>r});let r=(0,t(78340).A)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},25777:(e,s,t)=>{"use strict";t.d(s,{A:()=>r});let r=(0,t(78340).A)("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]])},31069:(e,s,t)=>{"use strict";t.d(s,{A:()=>r});let r=(0,t(78340).A)("Crown",[["path",{d:"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z",key:"1vdc57"}],["path",{d:"M5 21h14",key:"11awu3"}]])},40411:(e,s,t)=>{"use strict";t.d(s,{s:()=>n});var r=t(95155);let a={xs:"h-7 w-7 rounded-lg text-[11px]",sm:"h-8 w-8 rounded-lg text-xs",md:"h-10 w-10 rounded-xl text-sm",lg:"h-12 w-12 rounded-2xl text-base",xl:"h-14 w-14 rounded-2xl text-xl"};function n(e){var s;let t,{name:n,accentHex:l,size:i="md",className:d=""}=e;return(0,r.jsx)("div",{className:`relative flex shrink-0 items-center justify-center ${a[i]} ${d}`,style:{background:`linear-gradient(140deg, ${l}1f, ${l}08)`,boxShadow:`inset 0 0 0 1px ${l}33`,color:l},"aria-hidden":!0,children:(0,r.jsx)("span",{className:"font-semibold tracking-tight leading-none",children:(t=null==n||null==(s=n.trim())?void 0:s[0])?t.toUpperCase():"?"})})}},44071:(e,s,t)=>{"use strict";t.d(s,{A:()=>r});let r=(0,t(78340).A)("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]])},47149:(e,s,t)=>{"use strict";t.d(s,{A:()=>r});let r=(0,t(78340).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"}]])},73321:(e,s,t)=>{"use strict";var r=t(74645);t.o(r,"unstable_rethrow")&&t.d(s,{unstable_rethrow:function(){return r.unstable_rethrow}}),t.o(r,"useParams")&&t.d(s,{useParams:function(){return r.useParams}}),t.o(r,"usePathname")&&t.d(s,{usePathname:function(){return r.usePathname}}),t.o(r,"useRouter")&&t.d(s,{useRouter:function(){return r.useRouter}}),t.o(r,"useSearchParams")&&t.d(s,{useSearchParams:function(){return r.useSearchParams}})},76357:(e,s,t)=>{"use strict";t.d(s,{default:()=>P});var r=t(95155),a=t(12115),n=t(98500),l=t.n(n),i=t(73321),d=t(80723),o=t(44071),c=t(13545),m=t(86901),x=t(6296),u=t(78340);let h=(0,u.A)("Gauge",[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]]);var p=t(47149),f=t(94928);let b=(0,u.A)("Volume2",[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]]);var g=t(9199),y=t(21362),j=t(12651),v=t(11919);let w=(0,u.A)("CalendarClock",[["path",{d:"M21 7.5V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h3.5",key:"1osxxc"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M3 10h5",key:"r794hk"}
1],["path",{d:"M17.5 17.5 16 16.3V14",key:"akvzfd"}],["circle",{cx:"16",cy:"16",r:"6",key:"qoo3c4"}]]);var N=t(31069),k=t(25777),A=t(40411);function M(e){return e>=85?"text-emerald-600":e>=70?"text-primary":e>=55?"text-amber-600":"text-destructive"}function $(e){return e>=85?"Excellent":e>=70?"Solid":e>=55?"Developing":"Needs work"}function P(e){var s,t,n,l,u,j,v,w,N;let{data:k}=e,P=(0,i.useRouter)(),C="voice"===k.mode||"text"===k.mode,O="free"===k.plan,[W,D]=(0,a.useState)(!1),[E,I]=(0,a.useState)(null),V=C&&k.completedAt&&!k.analysis,B=async()=>{D(!0),I(null);try{let e=await fetch("/api/interview/end",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({sessionId:k.sessionId,endedReason:"Recovery"})});if(!e.ok){let s=await e.json().catch(()=>({}));throw Error(s.error||"Analysis failed")}P.refresh()}catch(e){I(e instanceof Error?e.message:"Analysis failed.")}finally{D(!1)}},U=(null==(s=k.analysis)?void 0:s.overallScore)??k.avgScore??0,F=(null==(t=k.analysis)?void 0:t.headline)??(C?"Session finalized.":"Quiz complete.");return(0,r.jsxs)("div",{className:"mx-auto max-w-5xl px-4 py-6 sm:px-6 sm:py-10",children:[(0,r.jsxs)("button",{onClick:()=>P.push("/dashboard/interviews"),className:"mb-6 inline-flex items-center gap-1.5 text-sm text-muted-foreground hover:text-foreground transition",children:[(0,r.jsx)(d.A,{className:"h-4 w-4"})," Back to interviews"]}),(0,r.jsxs)("section",{className:"relative overflow-hidden rounded-3xl border border-border/60 bg-surface p-6 shadow-sm sm:p-8",style:{background:`linear-gradient(135deg, ${k.persona.accentHex}14, transparent 60%), var(--surface)`},children:[(0,r.jsxs)("div",{className:"flex flex-col items-start justify-between gap-6 sm:flex-row sm:items-center",children:[(0,r.jsxs)("div",{className:"flex items-center gap-4",children:[(0,r.jsx)(A.s,{name:k.persona.name,accentHex:k.persona.accentHex,size:"xl"}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"text-xs uppercase tracking-wider text-muted-foreground",children:"voice"===k.mode?"Voice interview":"text"===k.mode?"Text interview":"Quick quiz"}),(0,r.jsx)("div",{className:"mt-0.5 text-xl font-semibold text-foreground",children:k.company?`${k.role} at ${k.company}`:k.role||"Interview session"}),(0,r.jsxs)("div",{className:"mt-0.5 text-xs text-muted-foreground",children:["with ",k.persona.name," \xb7 ",k.persona.role," \xb7 ",function(e){if(!e||e<1)return"—";let s=Math.floor(e/60);return`${s}m ${(e%60).toString().padStart(2,"0")}s`}(k.durationSecs)]})]})]}),(0,r.jsx)(T,{score:U,accent:k.persona.accentHex})]}),(0,r.jsx)("div",{className:"mt-6 text-lg font-medium text-foreground sm:text-xl",children:F}),(k.strongAreas.length>0||k.weakAreas.length>0)&&(0,r.jsxs)("div",{className:"mt-4 flex flex-wrap gap-1.5",children:[k.strongAreas.map(e=>(0,r.jsxs)("span",{className:"inline-flex items-center gap-1 rounded-full border border-emerald-200 bg-emerald-50 px-2.5 py-0.5 text-[11px] font-medium text-emerald-700",children:[(0,r.jsx)(o.A,{className:"h-3 w-3"})," ",e]},`s-${e}`)),k.weakAreas.map(e=>(0,r.jsxs)("span",{className:"inline-flex items-center gap-1 rounded-full border border-amber-200 bg-amber-50 px-2.5 py-0.5 text-[11px] font-medium text-amber-700",children:[(0,r.jsx)(c.A,{className:"h-3 w-3"})," ",e]},`w-${e}`))]})]}),k.drillOutcome&&(0,r.jsx)(S,{outcome:k.drillOutcome}),V&&(0,r.jsxs)("section",{className:"mt-6 rounded-2xl border border-amber-200 bg-amber-50 p-4 text-sm",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,r.jsxs)("div",{className:"flex items-start gap-2 text-amber-900",children:[(0,r.jsx)(m.A,{className:"mt-0.5 h-4 w-4 shrink-0"}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"font-semibold",children:"We didn't generate your debrief."}),(0,r.jsx)("div",{className:"text-xs",children:"This can happen if you closed the tab during wrap-up. Run the analysis now — no extra credits charged."})]})]}),(0,r.jsx)("button",{onClick:B,disabled:W,className:"shrink-0 rounded-full bg-amber-600 px-4 py-1.5 text-xs font-semibold text-white hover:bg-amber-700 transition disabled:opacity-60",children:W?(0,r.jsxs)("span",{className:"inline-flex items-center gap-1.5",children:[(0,r.jsx)(x.A,{className:"h-3 w-3 animate-spin"})," Generating…"]}):"Generate debrief"})]}),E&&(0,r.jsx)("div",{className:"mt-2 text-xs text-destructive",children:E})]}),!O&&"voice"===k.mode&&(null==(n=k.analysis)?void 0:n.voiceMetrics)&&(0,r.jsxs)("section",{className:"mt-6 grid grid-cols-2 gap-3 sm:grid-cols-4",children:[(0,r.jsx)(L,{icon:(0,r.jsx)(h,{className:"h-4 w-4"}),label:"Words / min",value:null!=k.analysis.voiceMetrics.wordsPerMinute?String(k.analysis.voiceMetrics.wordsPerMinute):"—",hint:null==(w=k.analysis.voiceMetrics.wordsPerMinute)?"":w<100?"A touch slow — clear, but could feel hesitant.":w>180?"On the fast side — consider pausing for emphasis.":"Natural speaking pace."}),(0,r.jsx)(L,{icon:(0,r.jsx)(m.A,{className:"h-4 w-4"}),label:"Filler words",value:String(k.analysis.voiceMetrics.fillerCount),hint:null!=k.analysis.voiceMetrics.fillerPerMin?`${k.analysis.voiceMetrics.fillerPerMin}/min`:""}),(0,r.jsx)(L,{icon:(0,r.jsx)(p.A,{className:"h-4 w-4"}),label:"Pause ratio",value:null!=k.analysis.voiceMetrics.pauseRatio?`${Math.round(100*k.analysis.voiceMetrics.pauseRatio)}%`:"—",hint:null==(N=k.analysis.voiceMetrics.pauseRatio)?"":N>.4?"Long pauses — rehearse openers to reduce stall.":N<.1?"Barely any pauses — leave room to breathe.":"Healthy rhythm."}),(0,r.jsx)(L,{icon:(0,r.jsx)(f.A,{className:"h-4 w-4"}),label:"Overall",value:`${U}/100`,hint:$(U)})]}),k.analysis&&(0,r.jsxs)("section",{className:"mt-6 grid gap-4 md:grid-cols-2",children:[(0,r.jsx)(z,{title:"What worked",emptyLabel:"Nothing stood out this time — try probing deeper next session.",accent:"emerald",items:O?k.analysis.strengths.slice(0,1):k.analysis.strengths}),O?(0,r.jsx)(R,{title:"Where it slipped",hookText:"See exactly what cost you points — Pro shows every stumble with a coach note.",previewText:null==(l=k.analysis.stumbles[0])?void 0:l.title}):(0,r.jsx)(z,{title:"Where it slipped",emptyLabel:"No major stumbles. Focus on pushing depth.",accent:"amber",items:k.analysis.stumbles})]}),O&&k.analysis&&(0,r.jsx)(q,{score:U,hiddenCount:((null==(u=k.analysis.workOn)?void 0:u.length)??0)+((null==(j=k.analysis.metricBreakdown)?void 0:j.length)??0)+((null==(v=k.analysis.perTurn)?void 0:v.length)??0),accent:k.persona.accentHex}),!O&&k.analysis&&k.analysis.workOn.length>0&&(0,r.jsxs)("section",{className:"mt-6 rounded-2xl border border-border/60 bg-surface p-5 sm:p-6",children:[(0,r.jsxs)("h2",{className:"flex items-center gap-2 text-sm font-semibold uppercase tracking-wider text-muted-foreground",children:[(0,r.jsx)(o.A,{className:"h-4 w-4 text-primary"}),"What to work on next"]}),(0,r.jsx)("ol",{className:"mt-4 space-y-3",children:k.analysis.workOn.map((e,s)=>(0,r.jsx)("li",{className:"rounded-xl border border-border/50 bg-background p-4 transition hover:border-primary/30",children:(0,r.jsxs)("div",{className:"flex items-start gap-3",children:[(0,r.jsx)("span",{className:"flex h-6 w-6 shrink-0 items-center justify-center rounded-full bg-primary-soft text-xs font-bold text-primary",children:s+1}),(0,r.jsxs)("div",{className:"flex-1",children:[(0,r.jsx)("div",{className:"font-semibold text-foreground",children:e.title}),(0,r.jsxs)("div",{className:"mt-1 text-sm text-muted-foreground",children:[(0,r.jsx)("span",{className:"font-medium text-foreground
1/80",children:"Why it matters: "}),e.why]}),(0,r.jsxs)("div",{className:"mt-1 text-sm text-muted-foreground",children:[(0,r.jsx)("span",{className:"font-medium text-foreground/80",children:"How to improve: "}),e.how]})]})]})},s))})]}),!O&&k.analysis&&k.analysis.metricBreakdown.length>0&&(0,r.jsxs)("section",{className:"mt-6 rounded-2xl border border-border/60 bg-surface p-5 sm:p-6",children:[(0,r.jsx)("h2",{className:"text-sm font-semibold uppercase tracking-wider text-muted-foreground",children:"Skill breakdown"}),(0,r.jsx)("div",{className:"mt-4 space-y-3",children:k.analysis.metricBreakdown.map(e=>(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:"mb-1 flex items-baseline justify-between",children:[(0,r.jsx)("span",{className:"text-sm font-medium text-foreground",children:e.label}),(0,r.jsx)("span",{className:`text-xs font-bold ${M(e.score)}`,children:e.score})]}),(0,r.jsx)("div",{className:"relative h-2 overflow-hidden rounded-full bg-muted",children:(0,r.jsx)("div",{className:"absolute inset-y-0 left-0 rounded-full transition-[width] duration-700 ease-out",style:{width:`${e.score}%`,background:`linear-gradient(90deg, ${k.persona.accentHex}, ${k.persona.accentHex}aa)`}})}),e.note&&(0,r.jsx)("div",{className:"mt-1 text-xs text-muted-foreground",children:e.note})]},e.label))})]}),!O&&k.analysis&&k.analysis.perTurn.length>0&&(0,r.jsx)(H,{turns:k.analysis.perTurn,accent:k.persona.accentHex}),O&&k.analysis&&k.analysis.perTurn.length>0&&(0,r.jsx)(_,{turns:k.analysis.perTurn}),"mcq"===k.mode&&k.mcqQuestions.length>0&&(0,r.jsxs)("section",{className:"mt-6 rounded-2xl border border-border/60 bg-surface p-5 sm:p-6",children:[(0,r.jsx)("h2",{className:"text-sm font-semibold uppercase tracking-wider text-muted-foreground",children:"Question breakdown"}),(0,r.jsx)("ul",{className:"mt-3 divide-y divide-border/50",children:k.mcqQuestions.map(e=>(0,r.jsx)("li",{className:"py-3",children:(0,r.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,r.jsxs)("div",{className:"flex-1",children:[(0,r.jsx)("div",{className:"text-xs font-semibold uppercase tracking-wider text-muted-foreground",children:e.category}),(0,r.jsx)("div",{className:"mt-0.5 text-sm text-foreground",children:e.question})]}),(0,r.jsx)("div",{className:`text-sm font-bold ${M(e.score??0)}`,children:null!=e.score?`${e.score}`:"—"})]})},e.id))})]}),!O&&"voice"===k.mode&&k.audioUrl&&(0,r.jsxs)("section",{className:"mt-6 rounded-2xl border border-border/60 bg-surface p-5 sm:p-6",children:[(0,r.jsxs)("h2",{className:"flex items-center gap-2 text-sm font-semibold uppercase tracking-wider text-muted-foreground",children:[(0,r.jsx)(b,{className:"h-4 w-4 text-primary"}),"Listen back"]}),(0,r.jsx)("audio",{controls:!0,src:`/api/files/${k.audioUrl}`,className:"mt-3 w-full",preload:"metadata"})]}),(0,r.jsxs)("section",{className:"mt-8 grid gap-3 sm:grid-cols-2",children:[(0,r.jsxs)("button",{onClick:()=>P.push("/dashboard/interviews/new"),className:"group flex items-center justify-between rounded-2xl border border-primary/30 bg-primary-soft p-5 text-left transition hover:border-primary/60",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"font-semibold text-foreground",children:"Run it again"}),(0,r.jsx)("div",{className:"mt-0.5 text-xs text-muted-foreground",children:"Same role — swap persona or focus for a different angle."})]}),(0,r.jsx)(g.A,{className:"h-5 w-5 text-primary transition group-hover:rotate-12"})]}),(0,r.jsxs)("button",{onClick:()=>P.push("/dashboard/interviews/insights"),className:"group flex items-center justify-between rounded-2xl border border-border bg-surface p-5 text-left transition hover:border-primary/40",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"font-semibold text-foreground",children:"See your progress"}),(0,r.jsx)("div",{className:"mt-0.5 text-xs text-muted-foreground",children:"Trends, badges, and streaks across every session."})]}),(0,r.jsx)(y.A,{className:"h-5 w-5 text-muted-foreground transition group-hover:translate-x-0.5"})]})]})]})}function C(e){return Math.max(1,Math.round((new Date(e).getTime()-Date.now())/864e5))}function S(e){let{outcome:s}=e,t="done"===s.status,a=s.passed,n=t?{border:"border-emerald-300/70",bg:"from-emerald-50 to-teal-50",icon:"text-emerald-600",title:"text-emerald-950"}:a?{border:"border-primary/40",bg:"from-primary-soft/70 to-surface",icon:"text-primary",title:"text-foreground"}:{border:"border-amber-300/70",bg:"from-amber-50 to-orange-50",icon:"text-amber-600",title:"text-amber-950"},l=t?j.A:a?v.A:w,i=t?`Mastered: ${s.area}`:a?`Progress on: ${s.area}`:`Keep working on: ${s.area}`,d=t?"You've nailed this one consistently — it's graduating out of your practice plan. \uD83C\uDF89":a?`Nice improvement. This drill moves further out — back in ${C(s.dueAt)} day${C(s.dueAt)>1?"s":""} to make it stick.`:`Not quite there yet — this drill comes back in ${C(s.dueAt)} day${C(s.dueAt)>1?"s":""}
1 so you can lock it in.`;return(0,r.jsxs)("section",{className:`mt-6 flex items-start gap-3 rounded-2xl border bg-gradient-to-br ${n.border} ${n.bg} p-4 sm:p-5`,children:[(0,r.jsx)("div",{className:`mt-0.5 shrink-0 ${n.icon}`,children:(0,r.jsx)(l,{className:"h-5 w-5"})}),(0,r.jsxs)("div",{className:"min-w-0",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2 flex-wrap",children:[(0,r.jsx)("span",{className:"text-[10px] font-semibold uppercase tracking-widest text-muted-foreground",children:"Targeted practice"}),s.reps>0&&!t&&(0,r.jsxs)("span",{className:"text-[10px] text-muted-foreground",children:["streak ",s.reps]})]}),(0,r.jsx)("h3",{className:`mt-0.5 text-base font-bold ${n.title}`,children:i}),(0,r.jsx)("p",{className:"mt-0.5 text-sm text-muted-foreground",children:d})]})]})}function T(e){let{score:s,accent:t}=e,a=Math.max(0,Math.min(100,s)),n=2*Math.PI*42;return(0,r.jsxs)("div",{className:"relative flex h-28 w-28 items-center justify-center",children:[(0,r.jsxs)("svg",{width:"112",height:"112",viewBox:"0 0 112 112",children:[(0,r.jsx)("circle",{cx:"56",cy:"56",r:"42",fill:"none",stroke:"rgb(0 0 0 / 0.06)",strokeWidth:"10"}),(0,r.jsx)("circle",{cx:"56",cy:"56",r:"42",fill:"none",stroke:t,strokeWidth:"10",strokeLinecap:"round",strokeDasharray:n,strokeDashoffset:n-a/100*n,transform:"rotate(-90 56 56)",style:{transition:"stroke-dashoffset 1s ease-out"}})]}),(0,r.jsxs)("div",{className:"absolute inset-0 flex flex-col items-center justify-center",children:[(0,r.jsx)("div",{className:"text-2xl font-bold text-foreground",children:Math.round(a)}),(0,r.jsx)("div",{className:"text-[10px] uppercase tracking-wider text-muted-foreground",children:$(a)})]})]})}function L(e){let{icon:s,label:t,value:a,hint:n}=e;return(0,r.jsxs)("div",{className:"rounded-2xl border border-border/60 bg-surface p-4",children:[(0,r.jsxs)("div",{className:"flex items-center gap-1.5 text-[10px] font-semibold uppercase tracking-wider text-muted-foreground",children:[s,t]}),(0,r.jsx)("div",{className:"mt-1 text-xl font-bold text-foreground",children:a}),n&&(0,r.jsx)("div",{className:"text-[11px] text-muted-foreground",children:n})]})}function z(e){let{title:s,items:t,emptyLabel:a,accent:n}=e,l="emerald"===n?{border:"border-emerald-200",bg:"bg-emerald-50/50",chip:"bg-emerald-100 text-emerald-800",title:"text-emerald-900"}:{border:"border-amber-200",bg:"bg-amber-50/50",chip:"bg-amber-100 text-amber-800",title:"text-amber-900"};return(0,r.jsxs)("div",{className:`rounded-2xl border ${l.border} ${l.bg} p-5`,children:[(0,r.jsx)("h3",{className:`text-sm font-semibold uppercase tracking-wider ${l.title}`,children:s}),0===t.length?(0,r.jsx)("p",{className:"mt-3 text-sm text-muted-foreground",children:a}):(0,r.jsx)("ul",{className:"mt-3 space-y-2.5",children:t.map((e,s)=>(0,r.jsxs)("li",{className:"text-sm",children:[(0,r.jsx)("div",{className:"font-semibold text-foreground",children:e.title}),(0,r.jsx)("div",{className:"mt-0.5 text-muted-foreground",children:e.detail})]},s))})]})}function H(e){let{turns:s,accent:t}=e,[n,l]=(0,a.useState)(null),i=(0,a.useMemo)(()=>[...s].sort((e,s)=>e.position-s.position),[s]);return(0,r.jsxs)("section",{className:"mt-6 rounded-2xl border border-border/60 bg-surface p-5 sm:p-6",children:[(0,r.jsx)("h2",{className:"text-sm font-semibold uppercase tracking-wider text-muted-foreground",children:"Turn-by-turn"}),(0,r.jsx)("ul",{className:"mt-3 divide-y divide-border/50",children:i.map((e,s)=>{let a=n===s;return(0,r.jsxs)("li",{className:"py-2.5",children:[(0,r.jsxs)("button",{onClick:()=>l(a?null:s),className:"flex w-full items-center justify-between gap-3 text-left",children:[(0,r.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,r.jsx)("div",{className:"truncate text-sm font-medium text-foreground",children:e.question||e.answerPreview.slice(0,80)+(e.answerPreview.length>80?"…":"")}),(0,r.jsxs)("div",{className:"mt-0.5 truncate text-xs text-muted-foreground",children:["You: ",e.answerPreview]})]}),(0,r.jsxs)("div",{className:"flex shrink-0 items-center gap-2",children:[(0,r.jsx)("span",{className:`text-sm font-bold ${M(e.score)}`,children:e.score}),(0,r.jsx)(y.A,{className:`h-4 w-4 text-muted-foreground transition-transform ${a?"rotate-90":""}`})]})]}),a&&e.note&&(0,r.jsxs)("div",{className:"mt-2 rounded-lg border p-3 text-sm text-foreground
1/90",style:{borderColor:`${t}40`,background:`${t}0d`},children:[(0,r.jsx)("span",{className:"font-semibold",children:"Coach note: "}),e.note]})]},`${e.position}-${s}`)})})]})}function q(e){let{score:s,hiddenCount:t,accent:a}=e;return(0,r.jsx)("section",{className:"relative mt-6 overflow-hidden rounded-3xl border border-amber-200/80 bg-gradient-to-b from-amber-50/70 to-surface p-5 sm:p-7",children:(0,r.jsxs)("div",{className:"flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between",children:[(0,r.jsxs)("div",{className:"flex items-start gap-3",children:[(0,r.jsx)("div",{className:"flex h-11 w-11 shrink-0 items-center justify-center rounded-2xl bg-amber-500 text-white",children:(0,r.jsx)(N.A,{className:"h-5 w-5"})}),(0,r.jsxs)("div",{className:"min-w-0",children:[(0,r.jsx)("div",{className:"flex items-center gap-1.5 flex-wrap",children:(0,r.jsx)("span",{className:"text-[10px] font-semibold uppercase tracking-widest text-amber-700",children:"Locked \xb7 Free trial debrief"})}),(0,r.jsxs)("h3",{className:"mt-0.5 text-lg font-bold leading-snug tracking-tight text-foreground sm:text-xl",children:["You scored ",(0,r.jsx)("span",{style:{color:a},children:Math.round(s)}),". Want to know why?"]}),(0,r.jsxs)("p",{className:"mt-1 text-xs text-muted-foreground sm:text-sm",children:[(0,r.jsxs)("strong",{className:"font-semibold text-foreground",children:[t,"+ coach insights hidden"]})," — per-turn breakdown, skill bars, voice metrics, and the audio playback unlock instantly with Pro."]}),(0,r.jsxs)("ul",{className:"mt-3 grid gap-1.5 text-[12px] text-muted-foreground sm:grid-cols-2",children:[(0,r.jsxs)("li",{className:"flex items-center gap-1.5",children:[(0,r.jsx)(m.A,{className:"h-3 w-3 text-amber-600 shrink-0"}),"Per-turn coach notes & scoring"]}),(0,r.jsxs)("li",{className:"flex items-center gap-1.5",children:[(0,r.jsx)(o.A,{className:"h-3 w-3 text-amber-600 shrink-0"}),"Skill breakdown bars (Clarity, Structure, Depth…)"]}),(0,r.jsxs)("li",{className:"flex items-center gap-1.5",children:[(0,r.jsx)(h,{className:"h-3 w-3 text-amber-600 shrink-0"}),"Voice metrics (pace, fillers, pauses)"]}),(0,r.jsxs)("li",{className:"flex items-center gap-1.5",children:[(0,r.jsx)(b,{className:"h-3 w-3 text-amber-600 shrink-0"}),"Full audio playback of your call"]})]})]})]}),(0,r.jsxs)(l(),{href:"/settings#billing",className:"group inline-flex shrink-0 items-center justify-center gap-2 rounded-2xl bg-amber-500 px-5 py-3 text-sm font-semibold text-white transition-colors hover:bg-amber-600",children:[(0,r.jsx)(N.A,{className:"h-4 w-4"}),"Unlock full report"]})]})})}function R(e){let{title:s,hookText:t,previewText:a}=e;return(0,r.jsxs)("div",{className:"relative overflow-hidden rounded-2xl border border-amber-200 bg-gradient-to-br from-amber-50/60 to-orange-50/60 p-5",children:[(0,r.jsx)("div",{className:"absolute inset-0 pointer-events-none",children:(0,r.jsx)("div",{className:"absolute inset-0 backdrop-blur-[1px]"})}),(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("h3",{className:"text-sm font-semibold uppercase tracking-wider text-amber-900",children:s}),(0,r.jsxs)("span",{className:"inline-flex items-center gap-1 rounded-full bg-amber-100 px-2 py-0.5 text-[10px] font-semibold uppercase tracking-widest text-amber-800",children:[(0,r.jsx)(k.A,{className:"h-2.5 w-2.5"})," Pro"]})]}),a&&(0,r.jsx)("div",{className:"mt-3 select-none text-sm font-semibold text-amber-950/40 blur-[3px]",children:a}),(0,r.jsx)("p",{className:"mt-3 text-xs text-amber-900/90",children:t}),(0,r.jsxs)(l(),{href:"/settings#billing",className:"mt-3 inline-flex items-center gap-1.5 text-xs font-semibold text-amber-700 hover:text-amber-800",children:[(0,r.jsx)(N.A,{className:"h-3 w-3"}),"Unlock with Pro →"]})]})]})}function _(e){let{turns:s}=e,t=s.slice(0,Math.min(3,s.length));return(0,r.jsxs)("section",{className:"mt-6 overflow-hidden rounded-2xl border border-amber-200 bg-surface p-5 sm:p-6",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("h2",{className:"text-sm font-semibold uppercase tracking-wider text-muted-foreground",children:"Turn-by-turn coaching"}),(0,r.jsxs)("span",{className:"inline-flex items-center gap-1 rounded-full bg-amber-100 px-2 py-0.5 text-[10px] font-semibold uppercase tracking-widest text-amber-800",children:[(0,r.jsx)(k.A,{className:"h-2.5 w-2.5"})," Pro"]})]}),(0,r.jsx)("ul",{className:"relative mt-3 divide-y divide-border/50",children:t.map((e,s)=>(0,r.jsx)("li",{className:"py-2.5",children:(0,r.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,r.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,r.jsx)("div",{className:"truncate text-sm font-medium text-foreground",children:e.question||e.answerPreview.slice(0,60)+"…"}),(0,r.jsxs)("div",{className:"mt-0.5 truncate text-xs text-muted-foreground select-none blur-[3px]",children:["Coach note: ",e.note||"detailed feedback hidden"]})]}),(0,r.jsx)("span",{className:"text-sm font-bold text-muted-foreground
1/40 select-none blur-[3px]",children:e.score})]})},s))}),(0,r.jsxs)("div",{className:"mt-4 flex flex-col items-start gap-3 rounded-xl border border-amber-200/80 bg-amber-50/60 p-4 sm:flex-row sm:items-center sm:justify-between",children:[(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:"text-sm font-bold text-foreground",children:[s.length," answers analyzed \xb7 ",s.length," coach notes locked"]}),(0,r.jsx)("p",{className:"mt-0.5 text-xs text-muted-foreground",children:'Pro unlocks every score, every coach note, and the "what a great answer would have sounded like" for each turn.'})]}),(0,r.jsxs)(l(),{href:"/settings#billing",className:"shrink-0 inline-flex items-center gap-1.5 rounded-xl bg-amber-500 px-4 py-2 text-xs font-semibold text-white transition-colors hover:bg-amber-600",children:[(0,r.jsx)(N.A,{className:"h-3 w-3"}),"Unlock all turns"]})]})]})}},78340:(e,s,t)=>{"use strict";t.d(s,{A:()=>i});var r=t(12115);let a=function(){for(var e=arguments.length,s=Array(e),t=0;t<e;t++)s[t]=arguments[t];return s.filter((e,s,t)=>!!e&&""!==e.trim()&&t.indexOf(e)===s).join(" ").trim()};var n={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let l=(0,r.forwardRef)((e,s)=>{let{color:t="currentColor",size:l=24,strokeWidth:i=2,absoluteStrokeWidth:d,className:o="",children:c,iconNode:m,...x}=e;return(0,r.createElement)("svg",{ref:s,...n,width:l,height:l,stroke:t,strokeWidth:d?24*Number(i)/Number(l):i,className:a("lucide",o),...x},[...m.map(e=>{let[s,t]=e;return(0,r.createElement)(s,t)}),...Array.isArray(c)?c:[c]])}),i=(e,s)=>{let t=(0,r.forwardRef)((t,n)=>{let{className:i,...d}=t;return(0,r.createElement)(l,{ref:n,iconNode:s,className:a(`lucide-${e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,i),...d})});return t.displayName=`${e}`,t}},80723:(e,s,t)=>{"use strict";t.d(s,{A:()=>r});let r=(0,t(78340).A)("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},86901:(e,s,t)=>{"use strict";t.d(s,{A:()=>r});let r=(0,t(78340).A)("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]])},89237:(e,s,t)=>{Promise.resolve().then(t.bind(t,76357))},94928:(e,s,t)=>{"use strict";t.d(s,{A:()=>r});let r=(0,t(78340).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"}]])}},e=>{e.O(0,[8500,9793,8441,8476,7358],()=>e(e.s=89237)),_N_E=e.O()}]);

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.