1import{a7 as x,j as e,m as a}from"./main-CACSMgVk.js";import{n as o,o as f,O as n,p as g,B as h}from"./data-LTXDeklm.js";import{S as u}from"./session-shell-jqr6pDTZ.js";import{M as p,T as r}from"./ui-4EXwaAjp.js";import{B as i}from"./button-BTL01DxS.js";import{C as l,a as t}from"./card-SH80dw93.js";import{D as j,g as N,a as v,b,c as w,e as C,d as y,f as d}from"./dialog-CXwkwtAN.js";import{T as D}from"./textarea-BV95mxL1.js";import{L as T}from"./lock-DF_28uaM.js";import{T as S}from"./triangle-alert-DJeQF6bf.js";import{C as E}from"./check-8v5ZuOF_.js";import{A as R}from"./arrow-right-GOHwYGTQ.js";import"./breadcrumb-Dac3bOol.js";import"./chevron-right-Duy2KdDi.js";import"./createLucideIcon-D2w2NAYA.js";import"./index-CoC2kuu-.js";import"./badge-uWEsmwSg.js";import"./index-zDJ2VHnb.js";import"./x-S8-txYZM.js";import"./index-DLgKnVRg.js";import"./index-F01lKkLp.js";import"./index-CCRJ1Yf6.js";const k={done:"bg-green-500",active:"bg-blue-500",todo:"bg-muted-foreground/30"};function ee(){const{sessionId:c}=x.useParams();return e.jsx(u,{sessionId:c,active:"progress",region:"Portland Metro",children:e.jsxs("div",{className:"grid gap-4 px-4 lg:grid-cols-3 lg:gap-6 lg:px-6",children:[e.jsxs("div",{className:"flex flex-col gap-4 lg:gap-6",children:[e.jsx(l,{children:e.jsxs(t,{className:"flex flex-col items-center gap-1 text-center",children:[e.jsx("div",{className:"text-xs font-semibold uppercase tracking-wide text-muted-foreground",children:"Session readiness score"}),e.jsx("div",{className:"text-5xl font-bold tabular-nums",children:o}),e.jsx("div",{className:"text-sm text-muted-foreground",children:"out of 100"}),e.jsx("div",{className:"mt-3 h-2 w-full overflow-hidden rounded-full bg-muted",children:e.jsx("div",{className:"h-full rounded-full bg-green-500",style:{width:`${o}%`}})}),e.jsx("div",{className:"mt-2 text-xs text-muted-foreground",children:"Reach 80 to unlock employer-referral intelligence"})]})}),e.jsx(l,{children:e.jsxs(t,{className:"flex flex-col gap-4",children:[e.jsx("div",{className:"text-xs text-muted-foreground",children:"Score breakdown â public data + counselor-logged milestones"}),e.jsx("div",{className:"flex flex-col gap-3",children:f.map(s=>e.jsxs("div",{className:"flex flex-col gap-1",children:[e.jsxs("div",{className:"flex items-center justify-between text-sm",children:[e.jsx("span",{children:s.label}),e.jsxs("span",{className:"font-semibold tabular-nums",children:[s.value,"%"]})]}),e.jsx(p,{value:s.value,tone:s.tone}),s.locked&&e.jsxs("div",{className:"flex items-center gap-1 text-xs text-muted-foreground",children:[e.jsx(T,{className:"size-3"}),"Locked until readiness score 80"]})]},s.label))}),e.jsxs("div",{className:"rounded-lg border border-blue-200 bg-blue-50 p-3 text-sm text-blue-700",children:[e.jsx("div",{className:"font-semibold",children:"Next milestone: reach 80"}),"Complete medical-terminology cluster module â unlocks employer-referral intelligence."]})]})})]}),e.jsx(l,{className:"lg:col-span-1",children:e.jsxs(t,{className:"flex flex-col gap-4",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("span",{className:"font-semibold",children:"Outcome loop tracker"}),e.jsx("span",{className:"text-xs text-muted-foreground",children:"Logged in your case-management system"})]}),e.jsx("div",{className:"flex flex-col",children:n.map((s,m)=>e.jsxs("div",{className:"flex gap-3",children:[e.jsxs("div",{className:"flex flex-col items-center",children:[e.jsx("span",{className:a("size-3 shrink-0 rounded-full",k[s.state])}),m<n.length-1&&e.jsx("span",{className:a("w-px flex-1",s.state==="done"?"bg-green-500":"bg-border")})]}),e.jsxs("div",{className:"pb-5",children:[e.jsxs("div",{className:a("flex items-center gap-2 text-sm font-semibold",s.state==="todo"&&"text-muted-foreground"),children:[s.title,s.state==="active"&&e.jsx(r,{tone:"info",children:"Active"})]}),e.jsx("div",{className:"text-xs text-muted-foreground",children:s.when})]})]},s.title))}),e.jsx("div",{className:"text-xs font-semibold uppercase tracking-wide text-muted-foreground",children:"Recent case log (from your system)"}),e.jsx("div",{className:"flex flex-col gap-2",children:g.map(s=>e.jsxs("div",{className:"rounded-lg border p-3 text-sm",children:[e.jsx("span",{className:"font-semibold",children:s.date})," · ",s.note]},s.date))})]})}),e.jsx(l,{children:e.jsxs(t,{className:"flex flex-col gap-4",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("span",{className:"font-semibold",children:"Barrier-aware pathway fit"}),e.jsx(r,{tone:"warn",children:"Moderate fit"})]}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"Derived from session constraint flags matched against O*NET and ETPL program requirements."}),e.jsx("div",{className:"flex flex-col gap-2",children:h.map(s=>e.jsxs("div",{className:a("flex items-start gap-3 rounded-lg border p-3",s.tone==="warn"?"border-amber-200 bg-amber-50":"border-green-200 bg-green-50"),children:[e.jsx("span",{className:"shrink-0",children:s.tone==="warn"?e.jsx(S,{className:"size-4 text-amber-600"}):e.jsx(E,{className:"size-4 text-green-600"})}),e.jsxs("div",{children:[e.jsx("div",{className:"text-sm font-semibold",children:s.label}),e.jsx("div",{className:"text-xs text-muted-foreground",children:s.note})]})]},s.label))}),e.jsxs("div",{className:"rounded-lg border bg-muted p-3",children:[e.jsx("div",{className:"text-sm font-semibold",children:"Counselor note required before referral"}),e.jsx("p",{className:"mt-1 text-xs text-muted-foreground",children:"Transportation and childcare flags active. Confirm schedule alternative in your system."}),e.jsx(O,{})]})]})})]})})}function O(){return e.jsxs(j,{children:[e.jsx(N,{asChild:!0,children:e.jsxs(i,{variant:"outline",size:"sm",className:"mt-3",children:[e.jsx(R,{}),"Add override note"]})}),e.jsxs(v,{className:"sm:max-w-lg",children:[e.jsxs(b,{children:[e.jsx(w,{children:"Barrier override note"}),e.jsx(C,{children:"Required before referral. Documents your justification for proceeding with active constraint flags â stored as a barrier-override case note."})]}),e.jsxs("div",{className:"flex flex-wrap gap-1.5",children:[e.jsx(r,{tone:"warn",children:"Transportation"}),e.jsx(r,{tone:"warn",children:"Childcare"}),e.jsx(r,{tone:"warn",children:"Schedule"})]}),e.jsx(D,{className:"min-h-28 text-sm",placeholder:"e.g. Confirmed participant has access to evening hybrid section; transit pass provided through support servicesâ¦"}),e.jsxs(y,{children:[e.jsx(d,{asChild:!0,children:e.jsx(i,{variant:"outline",children:"Cancel"})}),e.jsx(d,{asChild:!0,children:e.jsx(i,{children:"Save override & log in my system"})})]})]})]})}export{ee as component};
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.