1import{gv as s,ai as e,aj as t,ak as a,bE as n,u as r,am as d,bs as i,V as o,cF as m,al as c,j as u,Z as p,aa as S,ce as l,i3 as I,R as j,at as f,ac as g,bI as h}from"./index-DwY57-TY.js";import{u as x}from"./use-current-course-id-Czuftnei.js";import{P as b}from"./index-BBPpNYbo.js";import{S as N}from"./index-DWR96Th3.js";import"/config.js";import"./index-B1Y6hlpw.js";import"./index-B-BnO42d.js";import"./accuracy-band-iOI6xc1G.js";import"./index-C5Q234x3.js";import"./maybe-LfC_bdDy.js";import"./premium-popover-Cg_9NG4X.js";import"./table-helper-Cwmal390.js";import"./time-helpers-BMa5Izdq.js";import"./table-JwqQO3dF.js";import"./table-DqbDCvXI.js";import"./index-BnAJXEOg.js";import"./index-BsV5cD1D.js";import"./table-helper-BTG3kPwm.js";import"./number-Bfq659es.js";function A(){const g=x(),h=s(),A=e(),P=t(),_=a(),E=n(),{t:T}=r(),F=d(({teacher:s})=>m(g,[i.ElaFocusSkillsPractice],{mathStandardSetId:s.mathStandardSetId,elaStandardSetId:s.elaStandardSetId,isSelfAssigned:!1,assignmentIds:[h]}),"fetchClassroomGenericAssignmentSessions",[g,[i.ElaFocusSkillsPractice],o.mthen(A.data,s=>({mathStandardSetId:s.mathStandardSetId,elaStandardSetId:s.elaStandardSetId,isSelfAssigned:!1,assignmentIds:[h]}))],{teacher:A}),w=c();return u.jsx(p,{resources:{teacher:A,students:P,courseMemberships:_,genericSessions:F},render:({students:s,courseMemberships:e,genericSessions:t})=>{const a=S(s,g,e),n=new Set(a.map(s=>s.id)),r=t.filter(s=>n.has(s.studentId)),d=R(s,r,w),{title:i,assignmentId:m}=o.fromJust(t[0],"Could not find sessions for assignment"),c=l(I(T,i)),p={path:[{url:j.ela.assignments(),name:T("ELA_FSP_ASSIGNMENT_REPORT_BREADCRUMB_ASSIGNMENTS")}],currentItemName:c};return u.jsx(f,{breadcrumbsConfig:p,pageHeaderText:c,children:u.jsxs(u.Fragment,{children:[u.jsx(b,{students:a,accuracies:[],printButtonI18nKey:"PRINT_REASSIGN_BUTTON_GROUP_PRINT_BTN"}),u.jsx(N,{sessionData:d,onClickStudentReport:s=>E(j.ela.assignmentFocusSkillsStudentReport({courseId:g,assignmentId:m,studentId:s.studentId})),withNewPerformanceBands:!0})]})})}})}const R=(s,e,t)=>e.map(e=>{const a=o.fromJust(s.find(s=>s.id===e.studentId),`Unable to find student ${e.studentId} in targeted session collection`),n=e.numQuestionsAnswered;return{sessionId:e.sessionId,studentId:e.studentId,studentName:h(a),numQuestionsAnswered:n??0,score:e.accuracy,completedAt:e.completedAt,timeSpent:e.durationSeconds,studentNameForSorting:g(a,t)}});export{A as default}; 2//# sourceMappingURL=focus-skills-assignment-report-CHX9h5bR.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.