PageSourceSearch

https://classroom.freckle.com/js/index-BqFbPlkC.js

js freckle.com collected 2026-09-24 10:30:31 UTC 1,099 bytes, 2 lines download raw bytes

1import{av as s,X as e,j as t,Z as r,aA as a,N as o,R as n,w as c,as as i}from"./index-B1wCbfWL.js";import{f as u}from"./index-D6PSaXt0.js";import{u as m}from"./use-chromeless-inaccessible-D1R4nDsq.js";import{u as j}from"./use-current-course-id-ZGLulyTi.js";import"/config.js";function l(){m("Assignments");const c=s(),i=j(),l=e(()=>u(i),"fetchCourseSubjects",[i]);return t.jsx(r,{resources:{courses:c,subjects:l},render:({courses:s,subjects:e})=>{if(0===s.length){const s=new Error("No course could be found when trying to redirect to the assignments page");return a(s),t.jsx(o,{to:n.rostering.rosters(),replace:!0})}return t.jsx(p,{courseSubjects:e})}})}function p({courseSubjects:s}){const e=s.map(({name:s})=>s),{math:r,ela:a,socialStudies:u,science:m}=i;return c(e,r)?t.jsx(o,{to:n.math.assignments(),replace:!0}):c(e,a)?t.jsx(o,{to:n.ela.assignments(),replace:!0}):c(e,u)?t.jsx(o,{to:n.socialStudies.assignments(),replace:!0}):c(e,m)?t.jsx(o,{to:n.science.assignments(),replace:!0}):t.jsx(o,{to:n.math.assignments(),replace:!0})}export{l as default};
2//# sourceMappingURL=index-BqFbPlkC.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.