PageSourceSearch

https://teachers.legendsoflearning.com/_next/static/chunks/pages/assignments-9e29ccc00850a301.js

js legendsoflearning.com collected 2026-09-24 09:15:03 UTC 4,366 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[682],{73151:(e,s,t)=>{"use strict";t.r(s),t.d(s,{__N_SSP:()=>u,default:()=>x});var n=t(6029),i=t(26751),r=t(95669),a=t.n(r),l=t(8588),c=t.n(l),o=t(82203),d=t.n(o),g=t(81278);t(55729);var m=t(85712),p=t(96746);let h=e=>{let{assignmentsData:s}=e,{t}=(0,i.Bd)("teachers"),r=(0,g.useRouter)(),{entries:l,pageNumber:o,totalPages:h}=s,u=e=>{r.push({pathname:"/assignments",query:e>1?{page:String(e)}:{}})};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(a(),{children:[(0,n.jsx)("title",{children:t("publicAssignments.pageTitle","Public Assignments - Legends of Learning")}),(0,n.jsx)("meta",{name:"description",content:t("publicAssignments.metaDescription","Browse public assignments on Legends of Learning. Find standards-aligned, teacher-created assignments with interactive games and activities.")}),(0,n.jsx)("meta",{property:"og:title",content:t("publicAssignments.pageTitle","Public Assignments - Legends of Learning")}),(0,n.jsx)("meta",{property:"og:description",content:t("publicAssignments.ogDescription","Browse public assignments on Legends of Learning.")}),(0,n.jsx)("meta",{property:"og:type",content:"website"})]}),(0,n.jsxs)("div",{className:"bg-white min-h-screen",children:[(0,n.jsx)("div",{className:"flex justify-between items-center px-6 pt-10",children:(0,n.jsx)(d(),{href:"/",className:"flex items-center",children:(0,n.jsx)(c(),{src:m.A,alt:t("publicAssignments.logoAlt","Legends of Learning"),height:48,width:180,className:"h-12 w-auto",style:{filter:"brightness(0)"}})})}),(0,n.jsxs)("div",{className:"max-w-6xl mx-auto px-6 lg:px-8 pt-12 pb-20",children:[(0,n.jsx)("h1",{className:"text-[3.5rem] leading-[3.75rem] font-semibold text-universal mb-10",children:t("publicAssignments.title","Public Assignments")}),0===l.length?(0,n.jsx)("p",{className:"main text-universal-500 text-lg",children:t("publicAssignments.empty","No assignments found.")}):(0,n.jsx)("div",{className:"space-y-4",children:l.map(e=>(0,n.jsx)(d(),{href:"/assignments/".concat(e.code,"/").concat(e.slug),className:"block border border-light-grey-2 rounded-lg p-6 hover:border-secondary hover:shadow-sm transition-all",children:(0,n.jsx)("h2",{className:"text-xl font-semibold text-universal",children:e.name})},e.code))}),h>1&&(0,n.jsx)("div",{className:"flex justify-center mt-12",children:(0,n.jsx)(p.A,{currentPage:o,totalPages:h,onPageNumber:u,onPageNext:()=>u(o+1),onPagePrev:()=>u(o-1)})})]})]})]})};h.getLayout=e=>e;var u=!0;let x=h},85712:(e,s,t)=>{"use strict";t.d(s,{A:()=>n});let n={src:"/_next/static/media/legends-of-learning-title.061c1ede.svg",height:295,width:810,blurWidth:0,blurHeight:0}},89904:(e,s,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/assignments",function(){return t(73151)}])},95669:(e,s,t)=>{e.exports=t(44807)},96746:(e,s,t)=>{"use strict";t.d(s,{A:()=>a});var n=t(6029),i=t(26751),r=t(76264);function a(e){let{t:s}=(0,i.Bd)("teachers"),{className:t,onPageNext:a,onPagePrev:l,currentPage:c,totalPages:o}=e,d=Array.from({length:o},(e,s)=>s+1);return d.length>5&&(d=c<4?[...d.slice(0,4),"ellipsis-end",o]:c>o-3?[1,"ellipsis-start",...d.slice(-4)]:[1,"ellipsis-start",...d.slice(c-2,c+1),"ellipsis-end",o]),(0,n.jsxs)("div",{className:(0,r.QP)("flex rounded-full w-max bg-white border border-light-grey-2 h-[3.25rem] overflow-hidden header-lg",t),children:[(0,n.jsxs)("button",{className:(0,r.QP)("px-4 py-2 border-r border-light-grey-2 uppercase mr-4",1===c?"opacity-50":"cursor-pointer"),onClick:l,disabled:1===c,children:[(0,n.jsx)("i",{className:"fas fa-chevron-left text-secondary mr-2"}),s("pagination.prev","Prev")]}),d.map(s=>{let t="ellipsis-start"===s||"ellipsis-end"===s,i="number"==typeof s?s:0;return(0,n.jsx)("button",{className:(0,r.QP)("w-8 h-8 my-auto mx-1 p-2 rounded-full text-dark-grey flex items-center justify-center",c===i&&"bg-gradient-to-b from-gradient-a to-gradient-b text-white",t&&"cursor-default"),onClick:()=>!t&&e.onPageNumber(i),disabled:t,children:t?(0,n.jsx)("i",{className:"fas fa-ellipsis"}):s},s)}),(0,n.jsxs)("button",{className:(0,r.QP)("px-4 py-2 border-l border-light-grey-2 uppercase ml-4",c===o?"opacity-50":"cursor-pointer"),onClick:a,disabled:c===o,children:[s("pagination.next","Next"),(0,n.jsx)("i",{className:"fas fa-chevron-right text-secondary ml-2"})]})]})}}},e=>{e.O(0,[2203,8588,636,6593,8792],()=>e(e.s=89904)),_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.