1import{k as d,r as i,l as f,j as c,p}from"./index-ZRYBhLqp.js";import{S as m}from"./SimpleListLayout-DUa3P524.js";/* empty css */const h=[{title:"CGPA Conversion",link:"https://iitrpr.ac.in/downloads/sites/default/files/academic/20230518110220660.pdf",other:""},{title:"Medium of Instruction ",link:"https://iitrpr.ac.in/downloads/sites/default/files/March/Medium of Instruction.pdf",other:""},{title:"Medium of Instruction for PhD programme",link:"https://iitrpr.ac.in/downloads/sites/default/files/academic/Medium-of-Instruction-for-PhD.pdf",other:""},{title:"Procedure for Issue of Duplicate Degree Certificate and Grade Sheets",link:"https://iitrpr.ac.in/downloads/sites/default/files/academic/Procedure-for-Issue-of-Duplicate-Degree-Certificate-and-Grade-Sheets-at-IIT-Ropar.pdf",other:""}],y=()=>{const{t:o}=d(),{getMediaByCategory:a,loading:n}=i.useContext(f)||{},[s,l]=i.useState([]);i.useEffect(()=>{let t=!0;return(async()=>{if(!a)return;const r=await a("academic-circular");t&&l(Array.isArray(r)?r:[])})(),()=>{t=!1}},[a]);const u=i.useMemo(()=>[...s.map((e,r)=>({id:e.id||`academic-circular-${r}`,title:e.title||"Academic Circular",link:e.url||e.file_url||e.download_url||e.link||e.file||"",createdAt:e.created_at})),...h],[s]);return c.jsx(m,{title:"Academic Circulars",content:u,showHeader:!1,showLastDate:!1,loading:n,renderTitleSuffix:t=>p(t.createdAt)?c.jsx("span",{className:"ml-2 inline-block animate-pulse rounded bg-red-600 px-1.5 py-0.5 text-[10px] font-bold uppercase leading-none text-white",children:o("homeComponents.new","NEW")}):null})};export{y as default};
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.