1import{z as Gn,r as v,u as _n,j as e,E as b,q as S,a0 as me,ai as pe,N as Ha,G as Ja,t as he,aF as $n,K as Bt,b0 as Kn,d as ge,b1 as Yn,o as za,v as Ot,a1 as ue,_ as $,k as Wa,l as qa,aW as Hn,x as Me,L as Xa,B as Qa,C as Jn,aV as Vt,aS as Ut,ae as Za,i as zn,aR as Wn,s as qn,f as Xn,al as es,am as ts,b as xe,A as Qn,ah as Zn,a4 as er,a$ as tr}from"./index-BmtJRv_e.js";import{G as ar}from"./GenericPage-3e_VUNI1.js";import{A as z,D as sr}from"./DepartmentTabsSidebar-D6mpApv6.js";import{Y as nr}from"./YearWiseAchievements-C2f-MIsE.js";import{r as rr}from"./contentUrls-pKyR08r5.js";import{E as De}from"./EditableImage-C9F4U5TX.js";import{M as L}from"./MarkdownEditor-BtgEgufy.js";import{i as Ce,j as V,k as as,l as js,m as Ns,n as ws,o as ss,p as ns,q as ir,r as or,s as Kt,t as lr,u as cr,v as dr,w as mr,x as pr,y as hr,z as We,A as qe,B as Xe,D as Te,E as Ee,F as Re,H as Ie,I as Be,L as ur,O as xr,d as gr,P as br,V as yr,G as rs,S as fr,K as vr,a as jr,b as Nr,c as wr,e as Ar,N as Pr,f as kr,C as Sr,M as Lr,J as Mr,g as Dr,h as Cr,Q as Tr}from"./Parag Jadhav-Bgnh83Dv.js";import{c as is,d as os}from"./navigation-DZ-0j_kn.js";import{d as Er}from"./PageHeader-Bgw-sLe7.js";import{h as Rr}from"./HOD_MECH-Dk8SkahV.js";import{m as A}from"./proxy-CgXDTOI8.js";import{M as As,a as Ps}from"./sanitizeMarkdown-DGfXpK4f.js";import"./SEO-CdcM0y5N.js";import"./MobileSidebarToggle-CKGra1f2.js";import"./uploadClient-C21egUV7.js";import"./Main-Gate-DuJlP45u.js";const ls={summary:[{year:"2024-25",count:"39*",id:"2024-25"},{year:"2023-24",count:"61",id:"2023-24"},{year:"2022-23",count:"58",id:"2022-23"},{year:"2021-22",count:"42",id:"2021-22"},{year:"2020-21",count:"27",id:"2020-21"},{year:"2019-20",count:"35",id:"2019-20"},{year:"2018-19",count:"27",id:"2018-19"}],details:{"2024-25":[{name:"Sakshi Soni",company:"Schneider Electric India Pvt. Ltd., Mumbai",ctc:"5.5 LPA"},{name:"Manoj Chavhan",company:"BOSCH Limited, Nashik",ctc:"4.5 LPA"},{name:"Aniketsinh Rajput",company:"Triqual Cryogenic Pvt. Ltd., Navi Mumbai",ctc:"3.00 â 3.50 LPA"},{name:"Manoj Chavhan",company:"Triqual Cryogenic Pvt. Ltd., Navi Mumbai",ctc:"3.00 â 3.50 LPA"},{name:"Mahesh Jadhao",company:"JNK India Ltd., Mumbai",ctc:"5.13 LPA"},{name:"Mihir Gaur",company:"JNK India Ltd., Mumbai",ctc:"5.13 LPA"},{name:"Shruti Amle",company:"ABB Limited, Nashik",ctc:"8.5 LPA"},{name:"Sakshi Soni",company:"ABB Limited, Nashik",ctc:"8.5 LPA"},{name:"Shivranjan Kolhe",company:"ABB Limited, Nashik",ctc:"8.5 LPA"},{name:"Nishant More",company:"Micromatic Machine Tools Private Limited, Bangalore",ctc:"4.5 LPA"},{name:"Roshan Mhasal",company:"Micromatic Machine Tools Private Limited, Bangalore",ctc:"4.5 LPA"},{name:"Jitesh Nagarkar",company:"Anant Defence Systems Pvt. Ltd., Satara-Pune",ctc:"3.29 LPA"},{name:"Kunal Pawar",company:"Anant Defence Systems Pvt. Ltd., Satara-Pune",ctc:"3.29 LPA"},{name:"NivrutIti Sambare",company:"Anant Defence Systems Pvt. Ltd., Satara-Pune",ctc:"3.29 LPA"},{name:"Om Deshmukh",company:"Anant Defence Systems Pvt. Ltd., Satara-Pune",ctc:"3.29 LPA"},{name:"Prasad Wankar",company:"Anant Defence Systems Pvt. Ltd., Satara-Pune",ctc:"3.29 LPA"},{name:"Sakshi Dalvi",company:"Faurecia India Pvt. Ltd., Pune",ctc:"3.00 LPA"},{name:"Ajay Kalpande",company:"QH TALBROS Pvt. Ltd., Satara",ctc:"2.16 LPA"},{name:"Akshay Jawale",company:"QH TALBROS Pvt. Ltd., Satara",ctc:"2.16 LPA"},{name:"Gaurav Wasu",company:"QH TALBROS Pvt. Ltd., Satara",ctc:"2.16 LPA"},{name:"Nikhil Mankar",company:"QH TALBROS Pvt. Ltd., Satara",ctc:"2.16 LPA"},{name:"Prasanna Metkar",company:"QH TALBROS Pvt. Ltd., Satara",ctc:"2.16 LPA"},{name:"Pratik Deotale",company:"QH TALBROS Pvt. Ltd., Satara",ctc:"2.16 LPA"},{name:"Shivraj Vijekar",company:"QH TALBROS Pvt. Ltd., Satara",ctc:"2.16 LPA"},{name:"Shubham Pivalatkar",company:"QH TALBROS Pvt. Ltd., Satara",ctc:"2.16 LPA"},{name:"Sujay Pakhare",company:"QH TALBROS Pvt. Ltd., Satara",ctc:"2.16 LPA"},{name:"Vaibhav Nagre",company:"QH TALBROS Pvt. Ltd., Satara",ctc:"2.16 LPA"},{name:"Chaitanya Parsutkar",company:"Hyosung T&D India, Pune",ctc:"3.60 LPA"},{name:"Pratik Bombatkar",company:"Hyosung T&D India, Pune",ctc:"3.60 LPA"},{name:"Vasu Nistala",company:"Hyosung T&D India, Pune",ctc:"3.60 LPA"},{name:"Om Helge",company:"Daikin Airconditioning India Pvt. Ltd., Pune",ctc:"5 & 7
1LPA"},{name:"Rushikesh Amalkar",company:"Daikin Airconditioning India Pvt. Ltd., Pune",ctc:"5 & 7 LPA"},{name:"Yuvraj Rajput",company:"Daikin Airconditioning India Pvt. Ltd., Pune",ctc:"5 & 7 LPA"},{name:"Gauri Raut",company:"FORVIA Faurecia, Pune",ctc:"5.50 LPA"},{name:"Gaurav Vasu",company:"Joshi Jampala, Satara",ctc:"3 LPA"},{name:"Shivranjan Kolhe",company:"Mahindra & Mahindra Ltd., Nagpur",ctc:"4.20 LPA"},{name:"Jayashri Shelke",company:"L&T Technology Services, Bengaluru",ctc:"4.00 LPA"},{name:"Vaibhav Nagre",company:"KI-Tech Pvt. Ltd., Hyderabad",ctc:"6.20 LPA"},{name:"Amol Kulat",company:"INNOVA Rubbers, Nashik",ctc:"2.52 LPA"},{name:"Bhavana Sawale",company:"INNOVA Rubbers, Nashik",ctc:"2.52 LPA"},{name:"Gaurav Wasu",company:"INNOVA Rubbers, Nashik",ctc:"2.52 LPA"},{name:"Jayashri Shelke",company:"INNOVA Rubbers, Nashik",ctc:"2.52 LPA"},{name:"Om Kokate",company:"INNOVA Rubbers, Nashik",ctc:"2.52 LPA"},{name:"Punit Raut",company:"Seinumero",ctc:"3.00 LPA"}],"2023-24":[{name:"Ankush Gawande",company:"JNK India Pvt. Ltd., Thane",ctc:"5.13 LPA"},{name:"Nayan Chandankhede",company:"JNK India Pvt. Ltd., Thane",ctc:"5.13 LPA"},{name:"Atharva Kute",company:"JNK India Pvt. Ltd., Thane",ctc:"5.13 LPA"},{name:"Tanvi Waghmare",company:"TATA Consulting Engineers, Navi Mumbai",ctc:"4.5 LPA"},{name:"Pranjali Karale",company:"ESAF Small Finance Bank",ctc:"3.75 LPA"},{name:"Yuvraj Harne",company:"ABB Limited, Nashik",ctc:"8.00 LPA"},{name:"Deep Goje",company:"Plastic Omnium, Pune",ctc:"5.45 LPA"},{name:"Prathamesh Thakare",company:"Plastic Omnium, Pune",ctc:"5.45 LPA"},{name:"Ashwini Kalaskar",company:"Anant Defence System Pvt. Ltd., Satara",ctc:"3.20 LPA"},{name:"Pranjali Karale",company:"Anant Defence System Pvt. Ltd., Satara",ctc:"3.20 LPA"},{name:"Tanvi Waghmare",company:"Anant Defence System Pvt. Ltd., Satara",ctc:"3.20 LPA"},{name:"Dnyaneshwar Sable",company:"Anant Defence System Pvt. Ltd., Satara",ctc:"3.20 LPA"},{name:"Hariom Patale",company:"Anant Defence System Pvt. Ltd., Satara",ctc:"3.20 LPA"},{name:"Gajanan Dindokar",company:"Anant Defence System Pvt. Ltd., Satara",ctc:"3.20 LPA"},{name:"Parth Parekh",company:"Anant Defence System Pvt. Ltd., Satara",ctc:"3.20 LPA"},{name:"Amar Lahane",company:"Umasons Autocomp Pvt. Ltd., Ch. Sambhajinagar",ctc:"2.00 LPA"},{name:"Ashutosh Ghatol",company:"Umasons Autocomp Pvt. Ltd., Ch. Sambhajinagar",ctc:"2.00 LPA"},{name:"Devant Lahulkar",company:"Umasons Autocomp Pvt. Ltd., Ch. Sambhajinagar",ctc:"2.00 LPA"},{name:"Gaurav Chambhare",company:"Umasons Autocomp Pvt. Ltd., Ch. Sambhajinagar",ctc:"2.00 LPA"},{name:"Kamlesh Govekar",company:"Umasons Autocomp Pvt. Ltd., Ch. Sambhajinagar",ctc:"2.00 LPA"},{name:"Parth Hanvate",company:"Umasons Autocomp Pvt. Ltd., Ch. Sambhajinagar",ctc:"2.00 LPA"},{name:"Praful Palhade",company:"Umasons Autocomp Pvt. Ltd., Ch. Sambhajinagar",ctc:"2.00 LPA"},{name:"Prashant Ingle",company:"Umasons Autocomp Pvt. Ltd., Ch. Sambhajinagar",ctc:"2.00 LPA"},{name:"Pratham Fadanvis",company:"Umasons Autocomp Pvt. Ltd., Ch. Sambhajinagar",ctc:"2.00 LPA"},{name:"Raghavendra Lokare",company:"Umasons Autocomp Pvt. Ltd., Ch. Sambhajinagar",ctc:"2.00 LPA"},{name:"Rupesh Shembekar",company:"Umasons Autocomp Pvt. Ltd., Ch. Sambhajinagar",ctc:"2.00 LPA"},{name:"Sneha Gujar",company:"Umasons Autocomp Pvt. Ltd., Ch. Sambhajinagar",ctc:"2.00 LPA"},{name:"Yash Patil",company:"Umasons Autocomp Pvt. Ltd., Ch. Sambhajinagar",ctc:"2.00 LPA"},{name:"Akanksha Narwade",company:"Adani Enterprises Limited, Ahmedabad",ctc:"6.00 LPA"},{name:"Ashwini Kalaskar",company:"Adani Enterprises Limited, Ahmedabad",ctc:"6.00 LPA"},{name:"Manish Jadhav",company:"Adani Enterprises Limited, Ahmedabad",ctc:"6.00 LPA"},{name:"Parth Parikh",company:"Adani Enterprises Limited, Ahmedabad",ctc:"6.00 LPA"},{name:"Prashant Ingle",company:"Adani Enterprises Limited, Ahmedabad",ctc:"6.00 LPA"},{name:"Shivam Belokar",company:"Adani Enterprises Limited, Ahmedabad",ctc:"6.00 LPA"},{name:"Shivam Kunte",company:"Adani Enterprises Limited, Ahmedabad",ctc:"6.00 LPA"},{name:"Pritesh Pawar",company:"Indovance Pvt. Ltd., Pune",ctc:"2.50 LPA"},{name:"Atul Gavhale",company:"Paranjape Autocast Pvt. Ltd., Satara",ctc:"3.00 LPA"},{name:"Gaurav Chambhare",company:"Paranjape Autocast Pvt. Ltd., Satara",ctc:"3.00 LPA"},{name:"Janhavi Adhe",company:"Paranjape Autocast Pvt. Ltd., Satara",ctc:"3.00 LPA"},{name:"Kamlesh Govekar",company:"Paranjape Autocast Pvt. Ltd., Satara",ctc:"3.00 LPA"},{name:"Kiran Bobade",company:"Paranjape Autocast Pvt. Ltd., Satara",ctc:"3.00 LPA"},{name:"Mahesh Rathod",company:"Paranjape Autocast Pvt. Ltd., Satara",ctc:"3.00 LPA"},{name:"Nikita Tikar",company:"Paranjape Autocast Pvt. Ltd., Satara",ctc:"3.00 LPA"},{name:"Nilesh Wadhave",company:"Paranjape Autocast Pvt. Ltd., Satara",ctc:"3.00 LPA"},{name:"Parth Hanvate",company:"Paranjape Autocast Pvt. Ltd., Satara",ctc:"3.00 LPA"},{name:"Praful Palhade",company:"Paranjape Autocast Pvt. Ltd., Satara",ctc:"3.00 LPA"},{name:"Pragati Tayade",company:"Paranjape Autocast Pvt. Ltd., Satara",ctc:"3.00 LPA"},{name:"Pratham Fadanvis",company:"Paranjape Autocast Pvt. Ltd., Satara",ctc:"3.00 LPA"},{name:"Rupesh Shembekar",company:"Paranjape Autocast Pvt. Ltd., Satara",ctc:"3.00 LPA"},{name:"Sneha Gujar",company:"Paranjape Autocast Pvt. Ltd., Satara",ctc:"3.00 LPA"},{name:"Uday Deshmukh",company:"Paranjape Autocast Pvt. Ltd., Satara",ctc:"3.00 LPA"},{name:"Sneha Gujar",company:"Hyster-Yale Group, Pune",ctc:"5.5 LPA"},{name:"Raghavendra Lokare",company:"Hyster-Yale Group, Pune",ctc:"5.5 LPA"},{name:"Shreeharsh Apte",company:"Hyster-Yale Group, Pune",ctc:"5.5 LPA"},{name:"Nilesh Wadhave",company:"Hyster-Yale Group, Pune",ctc:"5.5 LPA"},{name:"Aditya Barabde",company:"INNOVA Rubbers Pvt. Ltd., Nashik",ctc:"2.52 LPA"},{name:"Amit Dongare",company:"INNOVA Rubbers Pvt. Ltd., Nashik",ctc:"2.52 LPA"},{name:"Parth Nirmal",company:"INNOVA Rubbers Pvt. Ltd., Nashik",ctc:"2.52 LPA"},{name:"Shraddha Dube",company:"INNOVA Rubbers Pvt. Ltd., Nashik",ctc:"2.52 LPA"},{name:"Nitish Vaidya",company:"INNOVA Rubbers Pvt. Ltd., Nashik",ctc:"2.52 LPA"},{name:"Vinay Wankhede",company:"INNOVA Rubbers Pvt. Ltd., Nashik",ctc:"2.52 LPA"},{name:"Gaurav Naik",company:"MSS India Pvt. Ltd., Nashik",ctc:"2.00 LPA"},{name:"Piyush Raut",company:"MSS India Pvt. Ltd., Nashik",ctc:"2.00 LPA"},{name:"Pranav Shelke",company:"MSS India Pvt. Ltd., Nashik",ctc:"2.00 LPA"},{name:"Pruthviraj Paraskar",company:"MSS India Pvt. Ltd., Nashik",ctc:"2.00 LPA"},{name:"Sahul Pillewar",company:"MSS India Pvt. Ltd., Nashik",ctc:"2.00 LPA"},{name:"Vinay Wankhade",company:"MSS India Pvt. Ltd., Nashik",ctc:"2.00 LPA"},{name:"Aditya Barabde",company:"TriQual Cryogenic Pvt. Ltd., Mumbai",ctc:"2.75 LPA"},{name:"Gaurang Ubale",company:"TriQual Cryogenic Pvt. Ltd., Mumbai",ctc:"2.75 LPA"},{name:"Aniket Palaspagar",company:"Endurance Technologies Limited, Aurangabad",ctc:"1.8 LPA"},{name:"Karan Kakar",company:"Endurance Technologies Limited, Aurangabad",ctc:"1.8 LPA"},{name:"Nitish Vaidya",company:"Endurance Technologies Limited, Aurangabad",ctc:"1.8 LPA"},{name:"Varad Deshmukh",company:"Endurance Technologies Limited, Aurangabad",ctc:"1.8 LPA"},{name:"Nikita Tikar",company:"Butterfly Next, Mumbai",ctc:"4.5 LPA"},{name:"Siddhesh Wandile",company:"Legrand India Pvt. Ltd., Jalgaon",ctc:"2.24 LPA"},{name:"Mahesh Rathod",company:"One AsiaNetwork (I) Pvt. Ltd., Khamgaon",ctc:"2.40 LPA"},{name:"Pranav Shelke",company:"Siddhi Consulting Engineers Pvt. Ltd., Pune",ctc:"3.25 LPA"},{name:"Gaurav Chambhare",company:"BOSCH Limited, Nashik",ctc:"4.50 LPA"},{name:"Karan Kakar",company:"BOSCH Limited, Nashik",ctc:"4.50 LPA"},{name:"Amar Lahane",company:"Hindustan Hardy, Nashik",ctc:"3.00 LPA"},{name:"Ashutosh Ghatol",company:"Hindustan Hardy, Nashik",ctc:"3.00 LPA"},{name:"Sanket Khade",company:"eClerks",ctc:"2.20 LPA"},{name:"Gaurav Ubale",company:"MAN Energy Solutions (I) Pvt. Ltd., Aurangabad",ctc:"3.50 LPA"},{name:"Manthan Tadke",company:"Ecomak System Pvt. Ltd., Pune",ctc:"2.22 LPA"}],"2022-23":[{name:"Govind Pitty",company:"ABB Limited, Nashik",ctc:"8 LPA"},{name:"Pooja Wankhade",company:"ABB Limited, Nashik",ctc:"8 LPA"},{name:"Aadinath Kale",company:"Adani Enterprises Ltd., Thane",ctc:"6.5 LPA"},{name:"Varad Sovle",company:"Adani Enterprises Ltd., Thane",ctc:"6.5 LPA"},{name:"Gajanan Sathe",company:"Anant Defence Systems Pvt. Ltd., Pune",ctc:"3.00 LPA"},{name:"Hrishikesh Hulke",company:"Anant Defence Systems Pvt. Ltd., Pune",ctc:"3.00 LPA"},{name:"Ishika Isolikar",company:"Anant Defence Systems Pvt. Ltd., Pune",ctc:"3.00 LPA"},{name:"Kartik Ghatmal",company:"Anant Defence Systems Pvt. Ltd., Pune",ctc:"3.00 LPA"},{name:"Pawan Gawande",company:"Anant Defence Systems Pvt. Ltd., Pune",ctc:"3.00 LPA"},{name:"Ritik Kuntawar",company:"Anant Defence Systems Pvt. Ltd., Pune",ctc:"3.00 LPA"},{name:"Sakshi Mokashi",company:"Anant Defence Systems Pvt. Ltd., Pune",ctc:"3.00 LPA"},{name:"Tushar Joshi",company:"Anant Defence Systems Pvt. Ltd., Pune",ctc:"3.00 LPA"},{name:"Ajay Devche",company:"Bhogale Automotive Pvt Ltd., Aurangabad",ctc:"2.40 LPA"},{name:"Akash Thote",company:"Bhogale Automotive Pvt Ltd., Aurangabad",ctc:"2.40 LPA"},{name:"Bhushan Rothe",company:"Bhogale Automotive Pvt Ltd., Aurangabad",ctc:"2.40 LPA"},{name:"Komal Tayade",company:"Bhogale Automotive Pvt Ltd., Aurangabad",ctc:"2.40 LPA"},{name:"Shubham Nikalje",company:"Bhogale Automotive Pvt Ltd., Aurangabad",ctc:"2.40 LPA"},{name:"Vikram Nage",company:"Bhogale Automotive Pvt Ltd., Aurangabad",ctc:"2.40 LPA"},{name:"Sahil Darlawar",company:"Ferro Oiltek, Malkapure",ctc:"2.5 LPA"},{name:"Ajay Solanke",company:"iNNOVA Rubbers Pvt. Ltd., Nashik",ctc:"2.52 LPA"},{name:"Nikita Pargharmol",company:"iNNOVA Rubbers Pvt. Ltd., Nashik",ctc:"2.52 LPA"},{name:"Samyak Wankhade",company:"iNNOVA Rubbers Pvt. Ltd., Nashik",ctc:"2.52 LPA"},{name:"Swapnil Jadhav",company:"iNNOVA Rubbers Pvt. Ltd., Nashik",ctc:"2.52 LPA"},{name:"Yash Parikh",company:"iNNOVA Rubbers Pvt. Ltd., Nashik",ctc:"2.52 LPA"},{name:"Srushti Lade",company:"IntelliPaat Software Solutions Pvt. Ltd., Bengaluru",ctc:"7.25 LPA"},{name:"Ankit Nikhare",company:"JNK India Pvt. Ltd., Thane West",ctc:"5.00 LPA"},{name:"Vaibhav Pingale",company:"JNK India Pvt. Ltd., Thane West",ctc:"5.00 LPA"},{name:"Shrikrushna Chavan",company:"Johnson & Johnson Private Limited, Aurangabad",ctc:"2.40 LPA"},{name:"Mitali Bele",company:"Mahindra & Mahindra Ltd., Mumbai",ctc:"4.20 LPA"},{name:"Akansha Hurpade",company:"MarquarDT India Pvt. Ltd., Pune",ctc:"5.00 LPA"},{name:"Prajakta Gaoture",company:"Mechatronics Systems Pvt. Ltd., Pune",ctc:"2.03 LPA"},{name:"Sumedh Mankar",company:"Mechatronics Systems Pvt. Ltd., Pune",ctc:"2.03 LPA"},{name:"Abhishek Lambe",company:"Micromatic Machine Tools Private Limited, Bangalore",ctc:"5.09 LPA"},{name:"Abhishek Wankhade",company:"Micromatic Machine Tools Private Limited, Bangalore",ctc:"5.09 LPA"},{name:"Shubham Khandare",company:"Micromatic Machine Tools Private Limited, Bangalore",ctc:"5.09 LPA"},{name:"Apurv Savji",company:"Mold-Tek Technologies Ltd., Pune",ctc:"1.8 LPA"},{name:"Kartik Jadhao",company:"Mold-Tek Technologies Ltd., Pune",ctc:"1.8 LPA"},{name:"Manthan Waghaye",company:"Mold-Tek Technologies Ltd., Pune",ctc:"1.8 LPA"},{name:"Rakesh Shrawankar",company:"Mold-Tek Technologies Ltd., Pune",ctc:"1.8 LPA"},{name:"Ratesh Hinge",company:"Mold-Tek Technologies Ltd., Pune",ctc:"1.8 LPA"},{name:"Gauri Kale",company:"Parason Machinery I Pvt. Ltd., Aurangabad",ctc:"3.00 LPA"},{name:"Mohit Lanjudkar",company:"Parason Machinery I Pvt. Ltd., Aurangabad",ctc:"3.00 LPA"},{name:"Priya Asolkar",company:"Parason Machinery I Pvt. Ltd., Aurangabad",ctc:"3.00 LPA"},{name:"Rishabh Turkar",company:"Parason Machinery I Pvt. Ltd., Aurangabad",ctc:"3.00 LPA"},{name:"Sumit Avhale",company:"Parason Machinery I Pvt. Ltd., Aurangabad",ctc:"3.00 LPA"},{name:"Vilas Thigale",company:"Parason Machinery I Pvt. Ltd., Aurangabad",ctc:"3.00 LPA"}
1,{name:"Shubham Gawande",company:"PreGrad, Noida",ctc:"4-6 LPA"},{name:"Ayush Deshmukh",company:"Tata Consultancy Services Ltd., Pune",ctc:"3.36 LPA"},{name:"Ritik Diwane",company:"Tata Consultancy Services Ltd., Pune",ctc:"3.36 LPA"},{name:"Sakshi Ratnaparkhi",company:"Tata Consultancy Services Ltd., Pune",ctc:"3.36 LPA"},{name:"Vaibhav Shelke",company:"Tata Consultancy Services Ltd., Pune",ctc:"3.36 LPA"},{name:"Varun Kukadkar",company:"Tata Consultancy Services Ltd., Pune",ctc:"3.36 LPA"},{name:"Akshay Kachole",company:"Thyssen Kruup Industry India Pvt. Ltd., Pune",ctc:"3.00 LPA"},{name:"Bhavesh Talokar",company:"Thyssen Kruup Industry India Pvt. Ltd., Pune",ctc:"3.00 LPA"},{name:"Gaurav Jadhao",company:"Umasons Auto Comp Pvt. Ltd., Ch. Sambhajinagar",ctc:"1.92 LPA"},{name:"Darshan Chaure",company:"Wipro PARI Pvt. Ltd., Pune",ctc:"3.87 LPA"},{name:"Krushna Thakare",company:"Wipro PARI Pvt. Ltd., Pune",ctc:"3.87 LPA"},{name:"Pranav Tathod",company:"Wipro PARI Pvt. Ltd., Pune",ctc:"3.87 LPA"}],"2021-22":[{name:"Swapnil Dabhade",company:"ABB Limited, Nashik/Hyderabad",ctc:"7.5 LPA"},{name:"Atharva Wakodikar",company:"Adani Enterprises Limited",ctc:"6 LPA"},{name:"Shubham Chhadi",company:"Anant Defence Systems Pvt. Ltd., Satara, Pune",ctc:"3.20 LPA"},{name:"Vaibhav Deshmukh",company:"Anant Defence Systems Pvt. Ltd., Satara, Pune",ctc:"3.20 LPA"},{name:"Sohil Shekh",company:"Capgemini Technology Services India Ltd, Mumbai",ctc:"4 LPA"},{name:"Sonal Jangale",company:"Capgemini Technology Services India Ltd, Mumbai",ctc:"4 LPA"},{name:"Sahil Gawande",company:"HDFC Bank, Mumbai",ctc:"8.00 LPA"},{name:"Dhanraj Burewar",company:"Infosys Ltd, Bangalore",ctc:"3.6 LPA"},{name:"Sandesh Wankhade",company:"Infosys Ltd, Bangalore",ctc:"3.6 LPA"},{name:"Vaishnavi Bhatkar",company:"Infosys Ltd, Bangalore",ctc:"3.6 LPA"},{name:"Dhawal Raja",company:"Larsen & Toubro Infotech",ctc:"5.6 LPA"},{name:"Sanjay Patil",company:"Larsen & Toubro Infotech",ctc:"5.6 LPA"},{name:"Ashwini Phate",company:"Mahindra & Mahindra Ltd., Mumbai",ctc:"3.00 LPA"},{name:"Pratik Fasate",company:"Mahindra & Mahindra Ltd., Mumbai",ctc:"3.00 LPA"},{name:"Ritika Dhenge",company:"Mahindra & Mahindra Ltd., Mumbai",ctc:"3.00 LPA"},{name:"Utkarsha Bhosale",company:"Mahindra Heavy Engines, Pune",ctc:"3.00 LPA"},{name:"Anas Khan",company:"Neilsoft Pvt. Ltd., Pune",ctc:"3 LPA"},{name:"Roshan Ladole",company:"Neilsoft Pvt. Ltd., Pune",ctc:"3 LPA"},{name:"Rushikesh Burukale",company:"Neilsoft Pvt. Ltd., Pune",ctc:"3 LPA"},{name:"Abhinav Dhale",company:"Plastic Omnium Auto Exteriors India Pvt Ltd, Pune",ctc:"4.5 LPA"},{name:"Bharati Bhosale",company:"Plastic Omnium Auto Exteriors India Pvt Ltd, Pune",ctc:"4.5 LPA"},{name:"Harish Deshmukh",company:"Plastic Omnium Auto Exteriors India Pvt Ltd, Pune",ctc:"4.5 LPA"},{name:"Krushna Khade",company:"Plastic Omnium Auto Exteriors India Pvt Ltd, Pune",ctc:"4.5 LPA"},{name:"Ritik Barwad",company:"Plastic Omnium Auto Exteriors India Pvt Ltd, Pune",ctc:"4.5 LPA"},{name:"Jivan Ambhore",company:"Rucha Engineers Pvt. Ltd., Aurangabad",ctc:"2.16 LPA"},{name:"Kapil Wawre",company:"Rucha Engineers Pvt. Ltd., Aurangabad",ctc:"2.16 LPA"},{name:"Kunal Chavan",company:"Rucha Engineers Pvt. Ltd., Aurangabad",ctc:"2.16 LPA"},{name:"Mayur Mahajan",company:"Rucha Engineers Pvt. Ltd., Aurangabad",ctc:"2.16 LPA"},{name:"Praddumna Raut",company:"Rucha Engineers Pvt. Ltd., Aurangabad",ctc:"2.16 LPA"},{name:"Shubham Tayade",company:"Rucha Engineers Pvt. Ltd., Aurangabad",ctc:"2.16 LPA"},{name:"Prasanna Patil",company:"Tata Consultancy Services Limited, Pune",ctc:"3.36 LPA"},{name:"Amey Pote",company:"Wipro Limited, Pune",ctc:"3.50 LPA"},{name:"Ayush Rajput",company:"Wipro Limited, Pune",ctc:"3.50 LPA"},{name:"Darshan Laddha",company:"Wipro Limited, Pune",ctc:"3.50 LPA"},{name:"Deepak Nagar",company:"Wipro Limited, Pune",ctc:"3.50 LPA"},{name:"Shubham Bhanarkar",company:"Wipro Limited, Pune",ctc:"3.50 LPA"},{name:"Sumit Thakare",company:"Wipro Limited, Pune",ctc:"3.50 LPA"},{name:"Tanvi Nanote",company:"Wipro Limited, Pune",ctc:"3.50 LPA"},{name:"Vaibhav Kolhe",company:"Wipro Limited, Pune",ctc:"3.50 LPA"},{name:"Kunal Kadu",company:"SIEMENS Ltd.",ctc:"2.16 LPA"},{name:"Mrunal Bajare",company:"Plastic Omnium",ctc:"4.50 LPA"},{name:"Sarang Bhure",company:"PMI Pvt. Ltd.",ctc:"3.50 LPA"}],"2020-21":[{name:"Vaibhav Khawshi",company:"BYJU's, Mumbai",ctc:"7 LPA"},{name:"Sagar Chintkuntalwar",company:"Connections Direct India Pvt. Ltd.",ctc:"-"},{name:"Punit Pahune",company:"Flex",ctc:"-"},{name:"Sarvesh Kulkarni",company:"Michelin India Pvt. Ltd., Pune",ctc:"6.5 LPA"},{name:"Akash Sardal",company:"NRB Bearing, Aurangabad",ctc:"1.8 LPA"},{name:"Aniket Basole",company:"NRB Bearing, Aurangabad",ctc:"1.8 LPA"},{name:"Aniket Lakade",company:"NRB Bearing, Aurangabad",ctc:"1.8 LPA"},{name:"Anmol Dakhole",company:"NRB Bearing, Aurangabad",ctc:"1.8 LPA"},{name:"Gaurav Bhatkar",company:"NRB Bearing, Aurangabad",ctc:"1.8 LPA"},{name:"Hrushikesh Gangane",company:"NRB Bearing, Aurangabad",ctc:"1.8 LPA"},{name:"Khushal Nagmote",company:"NRB Bearing, Aurangabad",ctc:"1.8 LPA"},{name:"Lilendra Bidkar",company:"NRB Bearing, Aurangabad",ctc:"1.8 LPA"},{name:"Munib Haque",company:"NRB Bearing, Aurangabad",ctc:"1.8 LPA"},{name:"Pooja Wayse",company:"NRB Bearing, Aurangabad",ctc:"1.8 LPA"},{name:"Priya Ingle",company:"NRB Bearing, Aurangabad",ctc:"1.8 LPA"},{name:"Vaibhav Ghatol",company:"NRB Bearing, Aurangabad",ctc:"1.8 LPA"},{name:"Pritam Dupare",company:"One Asia Network India Pvt. Ltd., Khamgaon",ctc:"2.4 LPA"},{name:"Rushabh Chawre",company:"One Asia Network India Pvt. Ltd., Khamgaon",ctc:"2.4 LPA"},{name:"Vaishnavi Lande",company:"One Asia Network India Pvt. Ltd., Khamgaon",ctc:"2.4 LPA"},{name:"Abhay Pidiaar",company:"Planet Spark, Gurgaon",ctc:"6.63 LPA"},{name:"Krishna Thakare",company:"TATA Consultancy Services Limited, Pune",ctc:"3.36 LPA"},{name:"Prasad Navghare",company:"TATA Consultancy Services Limited, Pune",ctc:"3.36 LPA"},{name:"Sampada Thombare",company:"TATA Consultancy Services Limited, Pune",ctc:"3.36 LPA"},{name:"Saurabh Rohankar",company:"TATA Consultancy Services Limited, Pune",ctc:"3.36 LPA"},{name:"Yogesh Nehete",company:"TATA Motors Ltd., Pune",ctc:"2.4 LPA"},{name:"Akshay Kalore",company:"Infosys Ltd.",ctc:"3.60 LPA"},{name:"Gaurav Bhatkar",company:"IIT Roorkee (M.Tech - Thermal)",ctc:"-"}],"2019-20":[{name:"Aniket Bandewar",company:"BYJUs the Learning App, Bangalore",ctc:"10.00 LPA"},{name:"Dhanraj Dhanokar",company:"BYJUs the Learning App, Bangalore",ctc:"10.00 LPA"},{name:"Shraddha Salivkar",company:"BYJUs the Learning App, Bangalore",ctc:"10.00 LPA"},{name:"Mohammod Mobin Abdul Rauf Memon",company:"Cognizant Technology Solutions India Pvt. Ltd., Pune",ctc:"4.00 LPA"},{name:"Abhishek Agrawal",company:"Finolex Cables, Pune-Goa",ctc:"1.80 LPA"},{name:"Abhishek Gorakh",company:"Finolex Cables, Pune-Goa",ctc:"1.80 LPA"},{name:"Aditya Wadatkar",company:"Finolex Cables, Pune-Goa",ctc:"1.80 LPA"},{name:"Aniket Gulhane",company:"Finolex Cables, Pune-Goa",ctc:"1.80 LPA"},{name:"Ankit Lahase",company:"Finolex Cables, Pune-Goa",ctc:"1.80 LPA"},{name:"Bhika Sabe",company:"Finolex Cables, Pune-Goa",ctc:"1.80 LPA"},{name:"Govardhan Rokade",company:"Finolex Cables, Pune-Goa",ctc:"1.80 LPA"},{name:"Anuja Ghodki",company:"Infosys Limited, Bangalore",ctc:"3.60 LPA"},{name:"Kalyani Agnihotri",company:"NRB Bearings, Aurangabad",ctc:"1.80 LPA"},{name:"Kewal Khondekar",company:"NRB Bearings, Aurangabad",ctc:"1.80 LPA"},{name:"Namita Dahake",company:"NRB Bearings, Aurangabad",ctc:"1.80 LPA"},{name:"Pankhuri Jagdale",company:"NRB Bearings, Aurangabad",ctc:"1.80 LPA"},{name:"Vaibhav Garve",company:"NRB Bearings, Aurangabad",ctc:"1.80 LPA"},{name:"Ajay Chawale",company:"Tata Consultancy Services Ltd., Pune",ctc:"3.36 LPA"},{name:"Dhananjay Gawahale",company:"Tata Consultancy Services Ltd., Pune",ctc:"3.36 LPA"},{name:"Hrishikesh Tupkari",company:"Tata Consultancy Services Ltd., Pune",ctc:"3.36 LPA"},{name:"Mohd. Azhroodddin Azeemoddin Shaikh",company:"Tata Consultancy Services Ltd., Pune",ctc:"3.36 LPA"},{name:"Prajakta Temurde",company:"Tata Consultancy Services Ltd., Pune",ctc:"3.36 LPA"},{name:"Unmesh Gatade",company:"Tata Consultancy Services Ltd., Pune",ctc:"3.36 LPA"},{name:"Vaibhav Makode",company:"Tata Consultancy Services Ltd., Pune",ctc:"3.36 LPA"},{name:"Asmita Rawankar",company:"TATA Motors Limited, Pune",ctc:"2.28 LPA"},{name:"Anup Lahamage",company:"Vanesa Cosmitic, Khamgaon",ctc:"2.40 LPA"},{name:"Aman Ojha",company:"Vanesa Cosmitic, Khamgaon",ctc:"2.40 LPA"},{name:"Pawan Pawar",company:"Vanesa Cosmitic, Khamgaon",ctc:"2.40 LPA"},{name:"Pranav Chandurkar",company:"Vanesa Cosmitic, Khamgaon",ctc:"2.40 LPA"},{name:"Rohan Tiwari",company:"Vanesa Cosmitic, Khamgaon",ctc:"2.40 LPA"},{name:"Punit Pahune",company:"Vedantu Innovations Pvt. Ltd., Bangalore",ctc:"4.50 LPA"},{name:"Shubham Khandare",company:"Tech Mahindra Limited, Pune",ctc:"3.25 LPA"},{name:"Himanshu Banait",company:"HTNP Industries Pvt. Ltd.",ctc:"-"},{name:"Atharvasingh Bais",company:"Reliance Retail",ctc:"-"},{name:"Akshay Choudhari",company:"K12 Techno Services Pvt. Ltd., Bengaluru",ctc:"5.32 LPA"}],"2018-19":[{name:"Pranit Mandaokar",company:"Cognizant Solutions India Limited, Pune",ctc:"3.83 LPA"},{name:"Kastubh Pathak",company:"Collabera Technologies Pvt. Ltd., Vadodara",ctc:"4.50 LPA"},{name:"Shubham Kadam",company:"Flash Electronics India Pvt. Ltd., Pune",ctc:"1.80 LPA"}
1,{name:"Chaitali Kakpure",company:"GE India Industrial Pvt Ltd., Pune",ctc:"4.00 LPA"},{name:"Laxmikant Kamdi",company:"Hyster-Yale Lift Trucks India Pvt Ltd., Pune",ctc:"-"},{name:"Saurabh Kulkarni",company:"Luminaz Safety Glass Pvt. Ltd.",ctc:"2.16 LPA"},{name:"Krutika Jaisingpure",company:"Paradiso Software Pvt. Ltd., Pune",ctc:"1.80 LPA"},{name:"Bhushan Patankar",company:"Prime Consultancy, Pune",ctc:"2.25 LPA"},{name:"Parikshit Trikal",company:"S P Engineers, Pune",ctc:"3.09 LPA"},{name:"Kalyani Nandane",company:"Saddles International Automotive and Aviations",ctc:"1.50 LPA"},{name:"Bindiya Janbandhu",company:"Shubh Systems, Pune",ctc:"2.56 LPA"},{name:"Anurag Mishra",company:"Tata Consultancy Services Ltd., Pune",ctc:"3.36 LPA"},{name:"Mahesh Mohurle",company:"Tata Consultancy Services Ltd., Pune",ctc:"3.36 LPA"},{name:"Prashant Dharamkar",company:"Tata Consultancy Services Ltd., Pune",ctc:"3.36 LPA"},{name:"Vaibhav Khemot",company:"Tata Consultancy Services Ltd., Pune",ctc:"3.36 LPA"},{name:"Jai Thakur",company:"THREEH SYSTEMS Pvt. Ltd., Nagpur",ctc:"2.00 LPA"},{name:"Akshay Shamsundar",company:"Trusted Infotech, Pune",ctc:"3.56 LPA"},{name:"Vivek Gawai",company:"Yeshwant Industries",ctc:"1.80 LPA"},{name:"Deepti Soni",company:"GE Gas Power",ctc:"12.5 LPA"},{name:"Shrutika Rumale",company:"SBI",ctc:"-"},{name:"Saurabh Kohale",company:"TATA Technologies",ctc:"4.69 LPA"},{name:"Vaibhav Nakat",company:"Maharashtra Metro Rail Corporation Ltd.",ctc:"3.96 LPA"},{name:"Pavan Pirane",company:"SBI",ctc:"-"},{name:"Manisha Wadhe",company:"NDM Marketing Pvt. Ltd.",ctc:"3 LPA"},{name:"Kanhaiya Atal",company:"Cummins India Ltd.",ctc:"8.2 LPA"},{name:"Aakash Daberao",company:"Vidarbha Kokan Gramin Bank",ctc:"4.32 LPA"},{name:"Pankaj Lohar",company:"Force Motors Ltd.",ctc:"6.88 LPA"}]}},Ft={"2023-24":[{no:"1",sis:"-",name:"Himanshu Sanjay Zadokar",org:"Kirdak Autocom Pvt. Ltd., Waluj, Aurangabad",class:"2M",startDate:"05/06/2024",endDate:"20/06/2024",paid:"N"},{no:"2",sis:"-",name:"Shivkumar Govind Ingle",org:"Kirdak Autocom Pvt. Ltd., Waluj, Aurangabad",class:"2M",startDate:"05/06/2024",endDate:"20/06/2024",paid:"N"},{no:"3",sis:"-",name:"Vivek Bharat Ingle",org:"Kirdak Autocom Pvt. Ltd., Waluj, Aurangabad",class:"2M",startDate:"05/06/2024",endDate:"20/06/2024",paid:"N"},{no:"4",sis:"-",name:"Tejas Vishwasrao Raut",org:"Kirdak Autocom Pvt. Ltd., Waluj, Aurangabad",class:"2M",startDate:"05/06/2024",endDate:"20/06/2024",paid:"N"},{no:"5",sis:"-",name:"Gazal Prabhakar Barai",org:"Kirdak Autocom Pvt. Ltd., Waluj, Aurangabad",class:"2M",startDate:"05/06/2024",endDate:"20/06/2024",paid:"N"},{no:"6",sis:"-",name:"Vaishnvi Shivhari Mirge",org:"Kirdak Autocom Pvt. Ltd., Waluj, Aurangabad",class:"2M",startDate:"05/06/2024",endDate:"20/06/2024",paid:"N"},{no:"7",sis:"-",name:"Sahil Sanjay Pillewar",org:"TATA Advanced System Limited, Nagpur",class:"4M",startDate:"20/06/2023",endDate:"03/08/2023",paid:"N"},{no:"8",sis:"-",name:"Yash Naresh Janbandhu",org:"TATA Advanced System Limited, Nagpur",class:"4M",startDate:"20/06/2023",endDate:"03/08/2023",paid:"N"},{no:"9",sis:"-",name:"Parth Gajanan Nirmal",org:"TATA Advanced System Limited, Nagpur",class:"4M",startDate:"20/06/2023",endDate:"03/08/2023",paid:"N"},{no:"10",sis:"-",name:"Vijay Swapnil Talokar",org:"TATA Advanced System Limited, Nagpur",class:"4M",startDate:"20/06/2023",endDate:"03/08/2023",paid:"N"},{no:"11",sis:"-",name:"Akash Gopal Suralkar",org:"Rucha Engineers Pvt. Ltd., Waluj MIDC, Aurangabad",class:"2M",startDate:"17/06/2024",endDate:"03/07/2024",paid:"N"},{no:"12",sis:"-",name:"Swayamchandra Suhaschandra Khadse",org:"Rucha Engineers Pvt. Ltd., Waluj MIDC, Aurangabad",class:"2M",startDate:"17/06/2024",endDate:"03/07/2024",paid:"N"},{no:"13",sis:"-",name:"Tushar Raut",org:"Rucha Engineers Pvt. Ltd., Waluj MIDC, Aurangabad",class:"2M",startDate:"17/06/2024",endDate:"03/07/2024",paid:"N"},{no:"14",sis:"-",name:"Prashant Dhamode",org:"Rucha Engineers Pvt. Ltd., Waluj MIDC, Aurangabad",class:"2M",startDate:"17/06/2024",endDate:"03/07/2024",paid:"N"},{no:"15",sis:"-",name:"Avinash Honale",org:"Rucha Engineers Pvt. Ltd., Waluj MIDC, Aurangabad",class:"2M",startDate:"17/06/2024",endDate:"03/07/2024",paid:"N"},{no:"16",sis:"-",name:"Gaurav Naik",org:"Indo German Tool Room, Sambhaji Nagar",class:"4M",startDate:"19/06/2023",endDate:"04/07/2023",paid:"Y (â¹300/month)"},{no:"17",sis:"-",name:"Tejas Gaikawad",org:"Infosys, Pune",class:"3M",startDate:"05/04/2024",endDate:"14/06/2024",paid:"N"},{no:"18",sis:"-",name:"Varad Deshmukh",org:"Thermal Power Station, Paras",class:"3M",startDate:"01/06/2024",endDate:"11/07/2024",paid:"N"},{no:"19",sis:"-",name:"Aditya Kamble",org:"Thermal Power Station, Paras",class:"3M",startDate:"17/06/2024",endDate:"11/07/2024",paid:"N"},{no:"20",sis:"-",name:"Somesh Sadashiv Wankhade",org:"Thermal Power Station, Paras",class:"3M",startDate:"17/06/2024",endDate:"11/07/2024",paid:"N"},{no:"21",sis:"-",name:"Nishant More",org:"Thermal Power Station, Paras",class:"3M",startDate:"17/06/2024",endDate:"11/07/2024",paid:"N"},{no:"22",sis:"-",name:"Om Ananta Kokate",org:"Thermal Power Station, Paras",class:"3M",startDate:"17/06/2024",endDate:"11/07/2024",paid:"N"},{no:"23",sis:"-",name:"Jay Sanjay Thakare",org:"Thermal Power Station, Paras",class:"3M",startDate:"17/06/2024",endDate:"11/07/2024",paid:"N"},{no:"24",sis:"-",name:"Aniketsinh R Rajput",org:"Thermal Power Station, Paras",class:"3M",startDate:"17/06/2024",endDate:"11/07/2024",paid:"N"},{no:"25",sis:"-",name:"Ankit Sanjay Raundale",org:"Thermal Power Station, Paras",class:"3M",startDate:"17/06/2024",endDate:"11/07/2024",paid:"N"},{no:"26",sis:"-",name:"Shubham Dnyandev Thite",org:"Thermal Power Station, Paras",class:"3M",startDate:"17/06/2024",endDate:"11/07/2024",paid:"N"},{no:"27",sis:"-",name:"Amol Kishor Kulat",org:"Thermal Power Station, Paras",class:"3M",startDate:"17/06/2024",endDate:"11/07/2024",paid:"N"},{no:"28",sis:"-",name:"Manoj Govind Chavhan",org:"Thermal Power Station, Paras",class:"3M",startDate:"17/06/2024",endDate:"11/07/2024",paid:"N"},{no:"29",sis:"-",name:"Gaurav Chambhare",org:"Thermal Power Station, Paras",class:"3M",startDate:"17/06/2024",endDate:"11/07/2024",paid:"N"},{no:"30",sis:"-",name:"Rahul Awasthi",org:"Thermal Power Station, Paras",class:"3M",startDate:"17/06/2024",endDate:"11/07/2024",paid:"N"},{no:"31",sis:"-",name:"Prathmesh Ekhe",org:"Thermal Power Station, Paras",class:"3M",startDate:"17/06/2024",endDate:"11/07/2024",paid:"N"},{no:"32",sis:"-",name:"Shubham Pivalatkar",org:"Thermal Power Station, Paras",class:"3M",startDate:"17/06/2024",endDate:"11/07/2024",paid:"N"},{no:"33",sis:"-",name:"Om Gopal Helge",org:"Thermal Power Station, Paras",class:"3M",startDate:"17/06/2024",endDate:"11/07/2024",paid:"N"},{no:"34",sis:"-",name:"Gaurav Saranghar Mali",org:"Thermal Power Station, Paras",class:"3M",startDate:"17/06/2024",endDate:"11/07/2024",paid:"N"},{no:"35",sis:"-",name:"Pritesh Pawar",org:"Vigyan Ashram, Pabal, Pune",class:"4M",startDate:"10/06/2023",endDate:"10/08/2023",paid:"N"},{no:"36",sis:"-",name:"Prathamesh Vikram Thakare",org:"Vigyan Ashram, Pabal, Pune",class:"4M",startDate:"10/06/2023",endDate:"10/08/2023",paid:"N"},{no:"37",sis:"-",name:"Parth Anantrao Hanvate",org:"Vigyan Ashram, Pabal, Pune",class:"4M",startDate:"10/06/2023",endDate:"10/08/2023",paid:"N"},{no:"38",sis:"-",name:"Rushikesh Bhanudas Amalkar",org:"Hindustan Unilever Limited, Khamgaon",class:"3M",startDate:"20/12/2023",endDate:"20/01/2024",paid:"N"},{no:"39",sis:"-",name:"Abhishek Chaudhari",org:"Bhusawal Thermal Power Station (BTPS), Deepnagar",class:"3M",startDate:"03/06/2024",endDate:"29/06/2024",paid:"N"},{no:"40",sis:"-",name:"Suyash Pimple",org:"Hindustan Hardy, Nashik",class:"3M",startDate:"01/07/2024",endDate:"15/08/2024",paid:"N"},{no:"41",sis:"-",name:"Vishal Dilip Sarkate",org:"Hindustan Hardy, Nashik",class:"3M",startDate:"01/07/2024",endDate:"15/08/2024",paid:"N"}],"2022-23":[{no:"1",sis:"306813",name:"Ku. Tanvi Waghmare",org:"Pooja Rotomake Pvt. Ltd., Jalna",class:"3M",startDate:"10/07/2022",endDate:"24/07/2022",paid:"N"}
1,{no:"2",sis:"306222",name:"Tushar Joshi",org:"NHDC Ltd., Khandwa",class:"4M",startDate:"25/07/2022",endDate:"10/08/2022",paid:"N"},{no:"3",sis:"305915",name:"Ritesh Hinge",org:"NHDC Ltd., Khandwa",class:"4M",startDate:"25/07/2022",endDate:"10/08/2022",paid:"N"},{no:"4",sis:"306566",name:"Ku. Sneha Gujar",org:"Jadhao Gears Pvt. Ltd., Amravati",class:"3M",startDate:"21/07/2022",endDate:"07/08/2022",paid:"N"},{no:"5",sis:"307291",name:"Pranjali Karale",org:"Jadhao Gears Pvt. Ltd., Amravati",class:"3M",startDate:"21/07/2022",endDate:"07/08/2022",paid:"N"},{no:"6",sis:"307146",name:"Pragati Tayde",org:"Jadhao Gears Pvt. Ltd., Amravati",class:"3M",startDate:"21/07/2022",endDate:"07/08/2022",paid:"N"},{no:"7",sis:"306539",name:"Atharva Kute",org:"Adani Electricity, Mumbai",class:"3M",startDate:"11/07/2022",endDate:"16/07/2022",paid:"N"},{no:"8",sis:"306890",name:"Parth Nirmal",org:"Indian Railways, Nagpur",class:"3M",startDate:"14/11/2022",endDate:"19/11/2022",paid:"N"},{no:"9",sis:"306515",name:"Nitish Vaidya",org:"Indian Railways, Nagpur",class:"3M",startDate:"14/11/2022",endDate:"19/11/2022",paid:"N"},{no:"10",sis:"306742",name:"Ankush Gawande",org:"Tool Tech Tooling, Kirdak Group, Aurangabad",class:"3M",startDate:"17/01/2023",endDate:"31/01/2023",paid:"N"},{no:"11",sis:"306751",name:"Kamlesh Govekar",org:"Tool Tech Tooling, Kirdak Group, Aurangabad",class:"3M",startDate:"17/01/2023",endDate:"31/01/2023",paid:"N"},{no:"12",sis:"306677",name:"Ku. Shubhangi Nimbolkar",org:"Tool Tech Tooling, Kirdak Group, Aurangabad",class:"3M",startDate:"17/01/2023",endDate:"31/01/2023",paid:"N"},{no:"13",sis:"306840",name:"Ku. Kiran Gajanan Bobade",org:"Tool Tech Tooling, Kirdak Group, Aurangabad",class:"3M",startDate:"17/01/2023",endDate:"31/01/2023",paid:"N"},{no:"14",sis:"306776",name:"Dynameshwar Sable",org:"Tool Tech Tooling, Kirdak Group, Aurangabad",class:"3M",startDate:"17/01/2023",endDate:"31/01/2023",paid:"N"},{no:"15",sis:"307135",name:"Karan Arun Kakar",org:"Tool Tech Tooling, Kirdak Group, Aurangabad",class:"3M",startDate:"17/01/2023",endDate:"31/01/2023",paid:"N"},{no:"16",sis:"306513",name:"Somesh S. Wankhade",org:"Tool Tech Tooling, Kirdak Group, Aurangabad",class:"3M",startDate:"17/01/2023",endDate:"31/01/2023",paid:"N"},{no:"17",sis:"306640",name:"Yash Murlidhar Parsode",org:"Tool Tech Tooling, Kirdak Group, Aurangabad",class:"3M",startDate:"17/01/2023",endDate:"31/01/2023",paid:"N"},{no:"18",sis:"306559",name:"Aniket Kalore",org:"ONGC Hazira Plant, Surat, Gujarat",class:"4M",startDate:"23/01/2023",endDate:"22/02/2023",paid:"N"},{no:"19",sis:"306755",name:"Siddhesh Wandile",org:"InternPe, Pune",class:"3M",startDate:"05/06/2023",endDate:"02/07/2023",paid:"N"},{no:"20",sis:"307130",name:"Sivam Kunte",org:"MSRTC, Akola",class:"3M",startDate:"07/06/2023",endDate:"07/07/2023",paid:"N"},{no:"21",sis:"307145",name:"Shraddha Dube",org:"Sandvik Coromant I. Pvt. Ltd., Mumbai",class:"3M",startDate:"13/02/2023",endDate:"01/04/2023",paid:"N"},{no:"22",sis:"306476",name:"Deep Goje",org:"Maha Genco, Chandrapur",class:"4M",startDate:"10/06/2023",endDate:"09/07/2023",paid:"N"},{no:"23",sis:"307269",name:"Atul Digambar Gavhale",org:"Shrikrupa Hi-Tech LLP, Shegaon",class:"3M",startDate:"07/06/2023",endDate:"10/07/2023",paid:"N"},{no:"24",sis:"307174",name:"Nilesh Pralhad Wadhave",org:"Shrikrupa Hi-Tech LLP, Shegaon",class:"3M",startDate:"07/06/2023",endDate:"10/07/2023",paid:"N"},{no:"25",sis:"306488",name:"Varad Deshmukh",org:"Amul Dairy, Anand, Gujarat",class:"3M",startDate:"12/01/2023",endDate:"28/02/2023",paid:"N"},{no:"26",sis:"306512",name:"Yash Patil",org:"Legal Metrological Industrialization, Ahmedabad",class:"3M",startDate:"07/06/2023",endDate:"15/07/2023",paid:"N"},{no:"27",sis:"307512",name:"Amar Vijay Lahane",org:"Givaudan India (Pvt.), Pune",class:"3M",startDate:"09/06/2023",endDate:"09/07/2023",paid:"N"},{no:"28",sis:"306861",name:"Nayan Ganeshrao Chandankhede",org:"Regional Reference Standard Laboratory, Ahmedabad",class:"3M",startDate:"07/06/2023",endDate:"15/07/2023",paid:"N"},{no:"29",sis:"307268",name:"Pratham Raju Fadanvis",org:"Givaudan India Pvt. Ltd., Pune",class:"3M",startDate:"09/06/2023",endDate:"09/07/2023",paid:"N"},{no:"30",sis:"307286",name:"Aditya Sunil Barabde",org:"Givaudan India Pvt., Pune",class:"3M",startDate:"09/06/2023",endDate:"11/07/2023",paid:"N"},{no:"31",sis:"306984",name:"Riddhi Pramod Patil",org:"Devtown, Pune",class:"2M",startDate:"12/12/2022",endDate:"12/03/2023",paid:"N"},{no:"32",sis:"306478",name:"Manthan Pramod Tadke",org:"MEPL-MCPL Joint Venture",class:"3M",startDate:"19/06/2023",endDate:"08/07/2023",paid:"N"}]},Ir="/assets/sanjeev_vertex_sambhajinagar_2024-DOP_Qohx.jpeg",Br="/assets/tooltech_sambhajinagar_2023-bfDuHXCP.jpeg",Or="/assets/paras_thermal_2022-CK3h-QoI.jpg",Vr="/assets/hindustan_hardy_nashik_2020-IAkGjCgz.jpg",Ur="/assets/bosch_nashik_2020-BA1rBiJF.jpg",Fr="/assets/greaves_cotton_aurangabad_2019-3Y-09VH7.jpg",Gr="/assets/autoexpo_aurangabad_2018-KMkpPbdc.jpeg",_r="/assets/yantra_aurangabad_2019-BhxuTMjE.jpg",$r="/assets/vinodrai_aurangabad_2018-CXGN2b9s.jpg",Kr="/assets/siemens_aurangabad_2018-CVousShf.jpeg",Yr="/assets/flowtech_aurangabad_2018-CjxjDeXC.jpeg",Hr="/assets/greaves_cotton_aurangabad_2018-BAqwpW2Z.jpeg",Jr="/assets/Gopal%20Jodh-EZk8X3QX.jpg",zr="/assets/SDD-snNVzVUC.jpg",Wr="/assets/GAW-Bj0TjHmp.jpg",qr="/assets/ROB-Ct3BJ6qr.jpg",Xr="/assets/P%20M%20Deshmukh-XoHxM2yp.jpeg",Qr="/assets/NDK-LLoMPYZs.jpg",Zr="/assets/GDI-B6HiYD6H.jpg",ei="/assets/VHA-COVxIngx.jpg",ti="/assets/VSB-C2Nte97H.jpg",ai="/assets/OSBhalerao-DzY5ipKv.jpeg",si="/assets/DBW-B8TAoWAE.jpg",ni="/assets/PMDandwate-BQOam6tq.jpg",ri="/assets/MRDhoke-B9gyyAf7.jpg",ii="/assets/VSBharsakale-D6ViP-Q6.jpg",oi="/assets/MPRajurkar-tbxY1nod.jpg",li="/assets/VSDhage-CnvlNmzG.jpg",ci="/assets/RJOimbe-CZuTJZnO.jpg",di="/assets/VRRahate-CJ2sLQ32.jpg",mi="/assets/BSSonone-BUDzE6n1.jpg",pi="/assets/GRPayghan-DOsAV16s.jpg",hi="/assets/AADhage-DaL5KOHI.jpg",ui="/assets/RNPachade-CVeqQ5IK.jpg",xi={SPT:Cr,VKT:Dr,JGK:Mr,MBB:Lr,CVP:Sr,ASB:rs,NBB:kr,NHK:Pr,SQS:Ar,PTP:wr,KVC:Nr,PD:jr,KRD:vr,SPJ:fr,GSW:rs,VTM:yr,PJ:br},gi=(m="")=>{const c=String(m||"").trim();if(!c)return"";if(/youtube-nocookie\.com\/embed\//i.test(c))return c;if(/youtube\.com\/embed\//i.test(c))return c.replace("youtube.com/embed/","youtube-nocookie.com/embed/");try{const u=new URL(c),f=u.hostname.replace(/^www\./i,"").toLowerCase();let d="";if(f==="youtu.be"?d=u.pathname.replace(/\//g,"").trim():(f==="youtube.com"||f==="m.youtube.com"||f==="music.youtube.com")&&(u.pathname==="/watch"?d=u.searchParams.get("v")||"":u.pathname.startsWith("/embed/")?d=u.pathname.split("/embed/")[1]||"":u.pathname.startsWith("/shorts/")&&(d=u.pathname.split("/shorts/")[1]||"")),d=d.split(/[?&/]/)[0].trim(),!d)return c;const w=u.searchParams.get("list");return`https://www.youtube-nocookie.com/embed/${d}${w?`?list=${w}`:""}`}catch{return c}},bi=gr.map(m=>({...m,photo:xi[m.photo]||m.photo})),Gt=bi,cs=[{name:"Mr. G. R. Jodh",role:"Office Assistant",photo:Jr},{name:"Mr. S. D. Deshmukh",role:"Lab Assistant",photo:zr},{name:"Mr. G. A. Wayzode",role:"Lab Assistant",photo:Wr},{name:"Mr. R. O. Bedre",role:"Lab Assistant",photo:qr},{name:"Mr. P. M. Deshmukh",role:"Lab Assistant",photo:Xr},{name:"Mr. N. D. Kamavisdar",role:"Lab Assistant",photo:Qr},{name:"Mr. G. D. Ingle",role:"Lab Attendant",photo:Zr},{name:"Mr. V. H. Akhare",role:"Lab Attendant",photo:ei},{name:"Mr. V. S. Bharate",role:"Lab Attendant",photo:ti},{name:"Mr. O. S. Bhalerao",role:"Peon",photo:ai},{name:"Mr. D. B. Wadode",role:"Peon",photo:si}],ds=[{name:"Mr. Purushottam M. Dandwate",role:"Lab Assistant (SGTR)",photo:ni},{name:"Mr. Mahesh R. Dhoke",role:"Attendant (Foundry & Smithy Shop)",photo:ri},{name:"Mr. Vijaykumar S. Bharsakle",role:"Lab Assistant (Machine Shop SGTR)",photo:ii},{name:"Mr. Murlidhar P. Rajurkar",role:"Carpenter (Carpentry)",photo:oi},{name:"Mr. Vasudev S. Dhage",role:"Attendant (Carpentry)",photo:li},{name:"Mr. Rajesh J. Oimbe",role:"Lab Assistant (Machine Shop)",photo:ci},{name:"Mr. Vitthal R. Rahate",role:"Attendant (Welding Shop)",photo:di},{name:"Mr. Balkrishna S. Sonone",role:"Attendant (Machine Shop)",photo:mi},{name:"Mr. Ganesh R. Payghan",role:"Lab Assistant (Fitting Shop)",photo:pi},{name:"Mr. Amol A. Dhage",role:"Attendant (SGTR)",photo:hi}
1,{name:"Mr. Ramdas N. Pachade",role:"Attendant (SGTR)",photo:ui}];function yi(m=""){const c=[],u=m.split(/^(?=## )/m);for(const f of u){const d=f.trim();if(!d)continue;const w=d.indexOf(` 2`),D=w===-1?d.replace(/^## /,""):d.slice(3,w).trim(),g=w===-1?"":d.slice(w+1).trim();c.push({title:D,body:g})}return c}const fi={table:({children:m})=>e.jsx("div",{className:"overflow-x-auto",children:e.jsx("table",{className:"min-w-full divide-y divide-gray-200",children:m})}),thead:({children:m})=>e.jsx("thead",{className:"bg-gray-50",children:m}),tbody:({children:m})=>e.jsx("tbody",{className:"bg-white divide-y divide-gray-200",children:m}),tr:({children:m})=>e.jsx("tr",{className:"hover:bg-gray-50",children:m}),th:({children:m})=>e.jsx("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider",children:m}),td:({children:m})=>e.jsx("td",{className:"px-6 py-4 text-sm text-gray-900",children:m})};function Oe({markdown:m=""}){const c=yi(m);return c.length===0?e.jsx("div",{className:"text-center text-gray-400 italic py-8",children:"No data available yet."}):e.jsx("div",{className:"space-y-8",children:c.map((u,f)=>e.jsxs("div",{className:"bg-white rounded-lg shadow-md overflow-hidden",children:[e.jsx("div",{className:"bg-gradient-to-r from-ssgmce-blue to-ssgmce-dark-blue text-white px-6 py-4",children:e.jsx("h4",{className:"text-xl font-bold",children:u.title})}),e.jsx("div",{className:"px-2 py-2",children:e.jsx(As,{remarkPlugins:[Ps],components:fi,children:u.body})})]},f))})}const vi=[{sn:"01",industries:["Sanjeev Techno Product & Vertex Engineering, Sambhaji Nagar and Nashik"],class:"--",date:"28/03/2024",students:"--",report:""},{sn:"02",industries:["ToolTech, Sambhaji Nagar"],class:"--",date:"05/04/2023",students:"--",report:""},{sn:"03",industries:["Paras Thermal Power Plant"],class:"--",date:"07/04/2022",students:"--",report:""},{sn:"04",industries:["Hindustan Hardy Ltd, Nashik"],class:"--",date:"20/01/2020",students:"--",report:""},{sn:"05",industries:["BOSCH, Nashik"],class:"--",date:"20/01/2020",students:"--",report:""},{sn:"06",industries:["Greaves Cotton, Aurangabad"],class:"--",date:"2018-19",students:"--",report:""},{sn:"07",industries:["AutoExpo 2018, Aurangabad"],class:"--",date:"2018",students:"--",report:""}
2,{sn:"08",industries:["Yantra LLP Division, Aurangabad"],class:"--",date:"2018-19",students:"--",report:""},{sn:"09",industries:["Vinodrai Engineers Ltd, Aurangabad (Faculty Visit)"],class:"--",date:"2017-18",students:"--",report:""},{sn:"10",industries:["Siemens, Aurangabad"],class:"--",date:"2017-18",students:"--",report:""},{sn:"11",industries:["FlowTech, Aurangabad"],class:"--",date:"2017-18",students:"--",report:""},{sn:"12",industries:["Greaves Cotton, Aurangabad"],class:"--",date:"2017-18",students:"--",report:""}],ji=[{image:Ir,caption:"Visit to Sanjeev Techno Product & Vertex Engineering, Sambhaji Nagar and Nashik on 28 March 2024",location:"Sambhaji Nagar & Nashik",date:"28 March 2024"},{image:Br,caption:"Visit to ToolTech, Sambhaji Nagar on 05 April 2023",location:"Sambhaji Nagar",date:"05 April 2023"},{image:Or,caption:"Visit to Paras Thermal Power Plant on 07 April 2022",location:"Paras",date:"07 April 2022"},{image:Vr,caption:"Visit to Hindustan Hardy Ltd, Nashik on 20 January 2020",location:"Nashik",date:"20 January 2020"},{image:Ur,caption:"Visit to BOSCH, Nashik on 20 January 2020",location:"Nashik",date:"20 January 2020"},{image:Fr,caption:"Industry visit at Greaves Cotton, Aurangabad in 2018-19",location:"Aurangabad",date:"2018-19"},{image:Gr,caption:"Visit to AutoExpo 2018, Aurangabad",location:"Aurangabad",date:"2018"},{image:_r,caption:"Industry Visit at Yantra LLP Division, Aurangabad in 2018-19",location:"Aurangabad",date:"2018-19"},{image:$r,caption:"Faculty Visit at Vinodrai Engineers Ltd, Aurangabad in 2017-18",location:"Aurangabad",date:"2017-18"},{image:Kr,caption:"Industry visit at Siemens, Aurangabad in 2017-18",location:"Aurangabad",date:"2017-18"},{image:Yr,caption:"Visit to FlowTech, Aurangabad",location:"Aurangabad",date:"2017-18"},{image:Hr,caption:"Industry visit at Greaves Cotton, Aurangabad in 2017-18",location:"Aurangabad",date:"2017-18"}],Ue=(m="")=>String(m||"").match(/\[.*?\]\((.*?)\)/)?.[1]?.trim?.()||"",ee=(m="")=>String(m||"").trim().replace(/^\|/,"").replace(/\|$/,"").split("|").map(c=>c.trim()),Ni=(m="")=>String(m||"").replace(/<br\s*\/?>/gi,` 3`).split(/\n|;/).map(c=>c.trim()).filter(Boolean),ms=(m=[])=>{const c=["## Industrial Visits","","| Industry / Organization | Class | Date | No. of Students | Detailed Report |","|--------------------------|-------|------|-----------------|-----------------|"];return m.length?(m.forEach(u=>{const f=Array.isArray(u?.industries)?u.industries.filter(Boolean).join("<br>"):String(u?.industries||"").trim(),d=u?.report?`[Detailed Report](${u.report})`:"-";c.push(`| ${f||"-"} | ${u?.class||"-"} | ${u?.date||"-"} | ${u?.students||"-"} | ${d} |`)}),c.join(` 4`)):(c.push("| No visits added yet. | - | - | - | - |"),c.join(` 5`))},wi=(m="")=>{const c=String(m||"").trim();return c?c.split(` 6`).map(d=>d.trim()).filter(d=>d.startsWith("|")).filter((d,w)=>w>1&&!/^\|\s*[-: ]+\|\s*[-: ]+\|\s*[-: ]+\|\s*[-: ]+\|\s*[-: ]+\|?\s*$/.test(d)).map(d=>ee(d)).filter(d=>d.length>=5).map(d=>{const w=d.length>=6?1:0;return{industries:Ni(d[w]||""),class:d[w+1]||"",date:d[w+2]||"",students:d[w+3]||"",report:Ue(d.slice(w+4).join(" | "))}}).filter(d=>d.industries.length||d.class||d.date||d.students||d.report):[]},Qe=()=>`mech-industrial-visit-${Date.now().toString(36)}-${Math.random().toString(36).slice(2,8)}`,ps=(m={})=>JSON.stringify({industries:(Array.isArray(m?.industries)?m.industries:[]).map(c=>String(c||"").trim().toLowerCase()).filter(Boolean),class:String(m?.class||"").trim().toLowerCase(),date:String(m?.date||"").trim().toLowerCase(),students:String(m?.students||"").trim().toLowerCase()}),Ai=[{no:"1.",org:"Joshi Jampala Engineering Pvt. Ltd., Satara",date:"05/03/2025",report:"/uploads/documents/departments/mechanical/mous/MOU_Joshi_Jampala_2025.pdf"},{no:"2.",org:"Endress Hauser, Chat. Sambhajinagar",date:"05/03/2025",report:"/uploads/documents/departments/mechanical/mous/MOU_Endress_Hauser_2025.pdf"},{no:"3.",org:"SW System, Pune",date:"05/03/2025",report:"/uploads/documents/departments/mechanical/mous/MOU_SW_System_2025.pdf"},{no:"4.",org:"Tejas Polymer Engineers, Pune",date:"05/03/2025",report:"/uploads/documents/departments/mechanical/mous/MOU_Tejas_Polymer_2025.pdf"},{no:"5.",org:"Sharv Polyplast Pvt. Ltd., Pune",date:"05/03/2025",report:"/uploads/documents/departments/mechanical/mous/MOU_Sharv_Polyplast_2025.pdf"},{no:"6.",org:'Krishna Vishwa Vidyapeeth "Deemed to be University", Karad, Maharashtra',date:"16/01/2024",report:"/uploads/documents/departments/mechanical/mous/MOU_KVV_Karad_2024.pdf"},{no:"7.",org:"Endress Hauser, Sambhaji Nagar (Aurangabad)",date:"31/03/2022",report:"/uploads/documents/departments/mechanical/mous/MOU_Endress_Hauser_2022.pdf"},{no:"8.",org:"Tool Tech Toolings Kirdak Auto Com Pvt. Ltd., Sambhaji Nagar (Aurangabad)",date:"27/07/2022",report:"/uploads/documents/departments/mechanical/mous/MOU_Tool_Tech_Toolings_2022.pdf"},{no:"9.",org:"Vinodrai Engg Pvt Ltd., MIDC, Jalna",date:"16/03/2019",report:"/uploads/documents/departments/mechanical/mous/MOU_Vinodrai_Engg_2019.pdf"},{no:"10.",org:"Mechatol Engg Solutions Pvt Ltd., Kothrud, Pune",date:"19/01/2019",report:"/uploads/documents/departments/mechanical/mous/MOU_Mechatol_Engg_2019.pdf"},{no:"11.",org:"Kala Group of Companies, MIDC Chakan, Pune",date:"19/01/2019",report:"/uploads/documents/departments/mechanical/mous/MOU_Kala_Group_2019.pdf"},{no:"12.",org:"Wadhokar Group of Companies, MIDC Chakan, Pune",date:"19/01/2019",report:"/uploads/documents/departments/mechanical/mous/MOU_Wadhokar_Group_2019.pdf"}],hs=(m=[])=>{const c=["## MoUs","","| Name of the Organization | MOU Signing Date | MOU Copy / Report |","|--------------------------|------------------|-------------------|"];return m.length?(m.forEach(u=>c.push(`| ${u?.org||"-"} | ${u?.date||"-"} | ${u?.report?`[View Document](${u.report})`:"-"} |`)),c.join(` 7`)):[...c,"| No MoUs added yet. | - | - |"].join(` 8`)},Pi=(m="")=>{const c=String(m||"").trim();return c?c.split(` 9`).map(d=>d.trim()).filter(d=>d.startsWith("|")).filter((d,w)=>w>1&&!/^\|\s*[-: ]+\|\s*[-: ]+\|\s*[-: ]+\|?\s*$/.test(d)).map(d=>ee(d)).filter(d=>d.length>=3).map(d=>({org:d[0]||"",date:d[1]||"",report:Ue(d.slice(2).join(" | "))})).filter(d=>d.org||d.date||d.report):[]},Ze=()=>`mech-mou-${Date.now().toString(36)}-${Math.random().toString(36).slice(2,8)}`,us=(m={})=>JSON.stringify({org:String(m?.org||"").trim().toLowerCase(),date:String(m?.date||"").trim().toLowerCase()}),ki=(m=[],c="2024-25")=>{const u=[`## ${c}`,"","| Title of Invention | Status | Application No. | Inventors | Link |","|--------------------|--------|-----------------|-----------|------|"];return m.length?(m.forEach(f=>{const d=f?.link?`[Open](${f.link})`:"-";u.push(`| ${f?.title||"-"} | ${f?.status||"-"} | ${f?.id||"-"} | ${f?.inventors||"-"} | ${d} |`)}),u.join(` 10`)):(u.push("| Add invention title | Published | Add application no. | Add inventors | - |"),u.join(` 11`))},Si=(m="",c="2024-25")=>{const u=String(m||"").trim();if(!u)return{year:c,items:[]};const d=u.match(/^##\s+(.+)$/m)?.[1]?.trim()||c,D=u.split(` 12`).map(g=>g.trim()).filter(g=>g.startsWith("|")).filter((g,I)=>I>1&&!/^\|\s*[-: ]+\|\s*[-: ]+\|\s*[-: ]+\|\s*[-: ]+\|\s*[-: ]+\|?\s*$/.test(g));return{year:d,items:D.map(g=>ee(g)).filter(g=>g.length>=5).map(g=>({title:g[0]||"",status:g[1]||"",id:g[2]||"",inventors:g[3]||"",link:Ue(g.slice(4).join(" | "))})).filter(g=>g.title||g.status||g.id||g.inventors||g.link)}},Li=(m=[],c="2024-25")=>{const u=[`## ${c}`,"","| Title of Paper | Authors | Journal/Conference | Link |","|----------------|---------|--------------------|------|"];return m.length?(m.forEach(f=>{const d=f?.link?`[View](${f.link})`:"-";u.push(`| ${f?.title||"-"} | ${f?.authors||"-"} | ${f?.journal||"-"} | ${d} |`)}),u.join(` 13`)):(u.push("| Add paper title | Add authors | Add journal or conference | - |"),u.join(` 14`))},Mi=(m="",c="2024-25")=>{const u=String(m||"").trim();if(!u)return{year:c,items:[]};const d=u.match(/^##\s+(.+)$/m)?.[1]?.trim()||c,D=u.split(` 15`).map(g=>g.trim()).filter(g=>g.startsWith("|")).filter((g,I)=>I>1&&!/^\|\s*[-: ]+\|\s*[-: ]+\|\s*[-: ]+\|\s*[-: ]+\|?\s*$/.test(g));return{year:d,items:D.map(g=>ee(g)).filter(g=>g.length>=4).map(g=>({title:g[0]||"",authors:g[1]||"",journal:g[2]||"",link:Ue(g.slice(3).join(" | "))})).filter(g=>g.title||g.authors||g.journal||g.link)}},Di=(m=[],c="2024-25")=>{const u=[`## ${c}`,"","| Name of Faculty | Title of Work | Status | Link |","|-----------------|---------------|--------|------|"];return m.length?(m.forEach(f=>{const d=f?.link?`[Open](${f.link})`:"-";u.push(`| ${f?.name||"-"} | ${f?.title||"-"} | ${f?.status||"-"} | ${d} |`)}),u.join(` 16`)):(u.push("| Add faculty name | Add title of work | Published | - |"),u.join(` 17`))},Ci=(m="",c="2024-25")=>{const u=String(m||"").trim();if(!u)return{year:c,items:[]};const d=u.match(/^##\s+(.+)$/m)?.[1]?.trim()||c,D=u.split(` 18`).map(g=>g.trim()).filter(g=>g.startsWith("|")).filter((g,I)=>I>1&&!/^\|\s*[-: ]+\|\s*[-: ]+\|\s*[-: ]+\|\s*[-: ]+\|?\s*$/.test(g));return{year:d,items:D.map(g=>ee(g)).filter(g=>g.length>=4).map(g=>({name:g[0]||"",title:g[1]||"",status:g[2]||"",link:Ue(g.slice(3).join(" | "))})).filter(g=>g.name||g.title||g.status||g.link)}},xs=(m=[])=>{const c=["| Title of Invention | Application No. / Patent No. | Date of Filing | Status |","|--------------------|------------------------------|----------------|--------|"];return m.length?(m.forEach(u=>{c.push(`| ${u?.title||"-"} | ${u?.id||"-"} | ${u?.filingDate||"-"} | ${u?.status||"-"} |`)}),c.join(` 19`)):(c.push("| Add invention title | Add application no. | Add filing date | Add status |"),c.join(` 20`))},Ti=(m="")=>{const c=String(m||"").trim();return c?c.split(` 21`).map(d=>d.trim()).filter(d=>d.startsWith("|")).filter((d,w)=>w>1&&!/^\|\s*[-: ]+\|\s*[-: ]+\|\s*[-: ]+\|\s*[-: ]+\|?\s*$/.test(d)).map(d=>ee(d)).filter(d=>d.length>=4).map(d=>({title:d[0]||"",id:d[1]||"",filingDate:d[2]||"",status:d[3]||""})).filter(d=>d.title||d.id||d.filingDate||d.status):[]},gs={patents:ws,publications:Ns,copyrights:js},_t={patents:ki,publications:Li,copyrights:Di}
21,Ei={patents:Si,publications:Mi,copyrights:Ci},et={patents:"/uploads/documents/departments/mechanical/templates/mechanical_patents_template.docx",publications:"/uploads/documents/departments/mechanical/templates/mechanical_publications_template.docx",copyrights:"/uploads/documents/departments/mechanical/templates/mechanical_copyrights_template.docx",institutePatents:"/uploads/documents/departments/mechanical/templates/mechanical_institute_patents_template.docx"},co=()=>{const m=Gn(),[c,u]=v.useState(()=>is(m,"overview")),[f,d]=v.useState("vision"),[w,D]=v.useState("peo"),[g,I]=v.useState(null),[te,tt]=v.useState(!1),[K,Yt]=v.useState("patents"),[Ii,ks]=v.useState("2024-25"),[at,Fe]=v.useState(null),[Y,st]=v.useState(null),[Ss,be]=v.useState(!1),[nt,rt]=v.useState(""),[it,H]=v.useState(""),[Ht,U]=v.useState(!1),[ye,ae]=v.useState(""),[se,T]=v.useState(""),[ne,ot]=v.useState("gate"),[lt,Ls]=v.useState(6),[W,fe]=v.useState(null),[Bi,Oi]=v.useState("faculty"),[Vi,Ui]=v.useState(null),[J,ve]=v.useState(null),[ct,Jt]=v.useState(null),[Ms,je]=v.useState(!1),[dt,mt]=v.useState(""),[pt,q]=v.useState(""),[zt,Ne]=v.useState({}),[Wt,qt]=v.useState({}),[Ge,Xt]=v.useState({}),[_e,Qt]=v.useState({}),[Fi,Gi]=v.useState({}),[_i,$i]=v.useState({}),[Ki,Yi]=v.useState({}),[Zt,ea]=v.useState({}),[ta,aa]=v.useState({}),[sa,na]=v.useState({}),[ra,ia]=v.useState({}),[oa,la]=v.useState({}),[ca,da]=v.useState({}),[ma,pa]=v.useState(!1),[ht,Ds]=v.useState(null);v.useEffect(()=>{const t=is(m,"overview");u(a=>a===t?a:t)},[m.search]);const ut=v.useRef(null),[ha,ua]=v.useState(""),[xt,xa]=v.useState({}),{data:$e,isEditing:p,updateData:x,removeData:gt,t:i}=_n("departments-mechanical"),y=(t,a)=>{x(t,a)},we=()=>i("nbaResources.videos",Ce.videos)||[];v.useEffect(()=>{ua(i("nbaResources.driveLink",Ce.driveLink)||"")},[$e]),v.useEffect(()=>{const t={};we().forEach((a,s)=>{t[s]=a?.sourceUrl||a?.embedUrl||""}),xa(t)},[$e]);const bt=t=>{x("nbaResources.videos",t)},Cs=()=>{const t=we();bt([...t,{title:`NBA Resource Video ${t.length+1}`,embedUrl:"",sourceUrl:""}])},Ts=t=>{bt(we().filter((a,s)=>s!==t))},ga=(t,a)=>{bt(we().map((s,n)=>n===t?{...s,...a}:s))},Ke=(t=[],a="2023-24")=>{const s=[`## ${a}`,"","| SIS ID | Name of Student | Name of Company | Class | Start Date | End Date | Paid (Y/N) |","|--------|-----------------|-----------------|-------|------------|----------|------------|"];return t.length?(t.forEach(n=>{s.push(`| ${n?.sis||"-"} | ${n?.name||"-"} | ${n?.org||"-"} | ${n?.class||"-"} | ${n?.startDate||"-"} | ${n?.endDate||"-"} | ${n?.paid||"-"} |`)}),s.join(` 22`)):(s.push("| Add SIS ID | Add student name | Add company | Add class | Add start date | Add end date | Add paid status |"),s.join(` 23`))},Es=(t="",a="2023-24")=>{const s=String(t||"").trim();if(!s)return{year:a,records:[]};const r=s.match(/^##\s+(.+)$/m)?.[1]?.trim()||a,l=s.split(` 24`).map(h=>h.trim()).filter(h=>h.startsWith("|")).filter((h,N)=>N>1&&!/^\|\s*[-: ]+\|\s*[-: ]+\|\s*[-: ]+\|\s*[-: ]+\|\s*[-: ]+\|\s*[-: ]+\|\s*[-: ]+\|?\s*$/.test(h));return{year:r,records:l.map(h=>ee(h)).filter(h=>h.length>=7).map((h,N)=>({no:String(N+1),sis:h[0]||"",name:h[1]||"",org:h[2]||"",class:h[3]||"",startDate:h[4]||"",endDate:h[5]||"",paid:h[6]||""})).filter(h=>h.sis||h.name||h.org||h.class||h.startDate||h.endDate||h.paid)}},Ae=()=>JSON.parse(JSON.stringify(i("industrialVisits.items",vi))).map(t=>({...t,id:String(t?.id||Qe())})),Rs=(t=Ae())=>ms(t),yt=t=>{const a=(Array.isArray(t)?t:[]).map(s=>({id:String(s?.id||Qe()).trim(),industries:Array.isArray(s?.industries)?s.industries.map(n=>String(n||"").trim()).filter(Boolean):[],class:String(s?.class||"").trim(),date:String(s?.date||"").trim(),students:String(s?.students||"").trim(),report:String(s?.report||"").trim()}));x("industrialVisits.items",a),x("industrialVisits.markdown",ms(a))},Is=t=>{const a=wi(t),s=Ae(),n=new Map;s.forEach(l=>{const h=ps(l),N=n.get(h)||[];N.push(l),n.set(h,N)});const r=new Set,o=a.map((l,h)=>{const N=ps(l);let j=(n.get(N)||[]).find(P=>!r.has(P.id));if(!j){const P=s[h];P&&!r.has(P.id)&&(j=P)}return j?.id&&r.add(j.id),{id:j?.id||Qe(),industries:l.industries,class:l.class,date:l.date,students:l.students,report:l.report||j?.report||""}});yt(o)},Bs=()=>{const t=Ae();yt([{id:Qe(),industries:["New Industry / Organization"],class:"Add class",date:"Add date",students:"Add students",report:""},...t])},ba=()=>{const t=Array.isArray(i("internshipsYears",null))?i("internshipsYears",[]):[],a=Object.keys(i("internships",Ft)||Ft).filter(s=>typeof s=="string"&&/^\d{4}-\d{2}$/.test(s.trim()));
24return[...new Set([...t,...a])].filter(Boolean).sort((s,n)=>Number(String(n).slice(0,4))-Number(String(s).slice(0,4)))},ft=()=>JSON.parse(JSON.stringify(i("internships",Ft))),ya=()=>JSON.parse(JSON.stringify(i("internshipsMarkdownByYear",{}))),Os=t=>Ke([],t),fa=(t,a=ba())=>{const s=[...new Set([...a,...Object.keys(t||{})])].filter(l=>typeof l=="string"&&/^\d{4}-\d{2}$/.test(l.trim())).sort((l,h)=>Number(String(h).slice(0,4))-Number(String(l).slice(0,4))),n=s.reduce((l,h)=>(l[h]=(Array.isArray(t?.[h])?t[h]:[]).map((N,j)=>({no:String(j+1),sis:String(N?.sis||"").trim(),name:String(N?.name||"").trim(),org:String(N?.org||"").trim(),class:String(N?.class||"").trim(),startDate:String(N?.startDate||"").trim(),endDate:String(N?.endDate||"").trim(),paid:String(N?.paid||"").trim()})),l),{}),r=ya(),o=s.reduce((l,h)=>(l[h]=r?.[h]||Ke(n[h]||[],h),l),{});x("internships",n),x("internshipsYears",s),x("internshipsMarkdownByYear",o)},re=ba(),C=ct&&re.includes(ct)?ct:re[0]||"",va=ft(),Vs=ya(),Ye=Array.isArray(va?.[C])?va[C]:[],Us=Vs?.[C]||Ke(Ye,C),X=Nn(),M=at&&X.includes(at)?at:X[0]||"",ie=Tt(K,M),vt=jn(K,M),Fs=t=>{const a=Es(t,C),s={...ft(),[C]:a.records||[]};fa(s,re),x(`internshipsMarkdownByYear.${C}`,Ke(a.records||[],C))},ja=()=>{const t=ye.trim();if(!At(t)){T("Enter a valid academic year like 2025-26.");return}if(X.includes(t)){T("That academic year already exists.");return}["patents","publications","copyrights"].forEach(a=>{x(`research.${a}.${t}`,[]),x(`researchMarkdown.${a}.${t}`,wn(a,t))}),x("researchYears",[t,...X]),Fe(t),ae(""),T(""),U(!1)},Gs=()=>{const t=dt.trim();if(!At(t)){q("Enter a valid academic year like 2025-26.");return}if(re.includes(t)){q("That academic year already exists.");return}const a=ft();a[t]=[],fa(a,[t,...re]),x(`internshipsMarkdownByYear.${t}`,Os(t)),Jt(t),mt(""),q(""),je(!1)},_s=async(t,a)=>{if(!a)return;const s=`mech-industrial-visit-${t}`;ea(n=>({...n,[s]:!0})),aa(n=>({...n,[s]:""}));try{const n=new FormData;n.append("file",a);const r=await xe.post("/upload/file",n);if(!r.data.fileUrl)throw new Error("Upload did not return a file URL.");const o=Ae();yt(o.map(l=>l.id===t?{...l,report:r.data.fileUrl}:l))}catch(n){console.error("Mechanical industrial visit report upload failed:",n),aa(r=>({...r,[s]:n.response?.data?.message||n.response?.data?.error||n.message||"Upload failed"}))}finally{ea(n=>({...n,[s]:!1}))}},He=()=>JSON.parse(JSON.stringify(i("industrialVisits.gallery",ji))),jt=t=>{const a=(Array.isArray(t)?t:[]).map(s=>({image:String(s?.image||"").trim(),caption:String(s?.caption||"").trim(),location:String(s?.location||"").trim(),date:String(s?.date||"").trim()}));x("industrialVisits.gallery",a)},$s=()=>{const t=He();t.unshift({image:"",caption:"Add visit photo caption",location:"Add location",date:"Add date"}),jt(t)},Je=(t,a,s)=>{const n=He();n[t]={...n[t],[a]:s},jt(n)},Ks=t=>{const a=He();jt(a.filter((s,n)=>n!==t))},Ys=async(t,a)=>{if(!a)return;const s=`mech-gallery-${t}`;na(n=>({...n,[s]:!0})),ia(n=>({...n,[s]:""}));try{const n=new FormData;n.append("image",a);const r=await xe.post("/upload/image",n);if(!r.data.fileUrl)throw new Error("Upload did not return a file URL.");Je(t,"image",r.data.fileUrl)}catch(n){console.error("Mechanical industrial visit gallery upload failed:",n),ia(r=>({...r,[s]:n.response?.data?.message||n.response?.data?.error||n.message||"Upload failed"}))}finally{na(n=>({...n,[s]:!1}))}},Pe=()=>JSON.parse(JSON.stringify(i("mous.items",Ai))).map(t=>({...t,id:String(t?.id||Ze())})),Hs=(t=Pe())=>hs(t),Nt=t=>{const a=(Array.isArray(t)?t:[]).map(s=>({id:String(s?.id||Ze()).trim(),org:String(s?.org||"").trim(),date:String(s?.date||"").trim(),report:String(s?.report||"").trim()}));x("mous.items",a),x("mous.markdown",hs(a))},Js=t=>{const a=Pi(t),s=Pe(),n=new Map;s.forEach(l=>{const h=us(l),N=n.get(h)||[];N.push(l),n.set(h,N)});const r=new Set,o=a.map((l,h)=>{const N=us(l);let j=(n.get(N)||[]).find(P=>!r.has(P.id));if(!j){const P=s[h];P&&!r.has(P.id)&&(j=P)}return j?.id&&r.add(j.id),{id:j?.id||Ze(),org:l.org,date:l.date,report:l.report||j?.report||""}});Nt(o)},zs=()=>{const t=Pe();Nt([{id:Ze(),org:"New organization",date:"Add signing date",report:""},...t])},Ws=async(t,a)=>{if(!a)return;const s=`mech-mou-${t}`;la(n=>({...n,[s]:!0})),da(n=>({...n,[s]:""}));try{const n=new FormData;n.append("file",a);const r=await xe.post("/upload/file",n);if(r.data.fileUrl){const o=Pe();Nt(o.map(l=>l.id===t?{...l,report:r.data.fileUrl}:l))}}catch(n){console.error("Mechanical MOU upload failed:",n),da(r=>({...r,[s]:"Failed to upload report."}))}finally{la(n=>({...n,[s]:!1}))}},qs=/^\d{4}-\d{2}$/,Xs=ls.summary.map(({year:t})=>t),Na=ls.details,wa=t=>typeof t=="string"&&qs.test(t.trim()),wt=(t,a)=>{const s=Number(String(t).slice(0,4));return Number(String(a).slice(0,4))-s},ze=t=>{const a=[];return t.forEach(s=>{const n=String(s||"").trim();wa(n)&&(a.includes(n)||a.push(n))}),a},At=t=>{const a=String(t||"").trim();
24if(!wa(a))return!1;const[s,n]=a.split("-");return String(Number(s)+1).slice(-2)===n},Aa=Array.isArray(i("placements.years",null))?i("placements.years",[]):[],Pt=i("placements.details",{}),kt=i("placements.markdown",{}),St=i("placements",{}),Qs=ze([...Object.keys(Pt&&typeof Pt=="object"?Pt:{}),...Object.keys(kt&&typeof kt=="object"?kt:{}),...Object.keys(St&&typeof St=="object"?Object.fromEntries(Object.entries(St).filter(([t])=>!["years","details","markdown"].includes(t))):{})]).sort(wt),ke=(()=>{const t=Aa.length>0?ze(Aa):[...Xs],a=Qs.filter(s=>!t.includes(s));return ze([...t,...a]).sort(wt)})(),Pa=ke[0]||null,Zs=()=>{const t=nt.trim();if(!At(t)){H("Enter a valid academic year like 2025-26.");return}if(ke.includes(t)){H("That academic year already exists.");return}const a=ze([t,...ke]).sort(wt);x("placements.years",a),x(`placements.details.${t}`,""),rt(""),H(""),be(!1)},en=t=>{if(!window.confirm(`Delete placement statistics for ${t}?`))return;const a=ke.filter(s=>s!==t);x("placements.years",a),gt(`placements.details.${t}`),gt(`placements.markdown.${t}`),gt(`placements.${t}`),Y===t&&st(null)},ka=t=>{const a=[`placements.details.${t}`,`placements.${t}`,`placements.markdown.${t}`];for(const n of a){const r=i(n,null);if(r!=null){if(typeof r=="string"&&r.trim()==="")continue;return r}}const s=i("placements",null);return s&&typeof s=="object"&&s[t]?s[t]:null},Sa=(t,a)=>{const s=`## Placement Record - ${t}`,n=t===Pa?`*Placements still in progress for the current academic year.* 25 26`:"",o=["| Sr. No. | Name of Student | Company Name | CTC |","|--------|----------------|--------------|-----|",...a.map((l,h)=>`| ${h+1} | ${l.name} | ${l.company} | ${l.ctc} |`)].join(` 27`);return[s,"",n,o].join(` 28`)},tn=t=>{const a=Na[t]||[];return Sa(t,a)},an=()=>{if(!Y)return"";const t=ka(Y);return typeof t=="string"&&t.trim()?t:Array.isArray(t)&&t.length>0?Sa(Y,t):tn(Y)},sn=t=>{const a=ka(t);if(Array.isArray(a))return a.length;if(typeof a=="string"&&a.trim()){const s=a.split(` 29`).map(r=>r.trim()),n=s.findIndex(r=>r.startsWith("| Sr. No."));if(n!==-1)return s.slice(n+2).filter(o=>o.startsWith("|")).length}return Na[t]?.length||0},nn=ke.map(t=>({year:t,count:`${sn(t)}${t===Pa?"*":""}`,id:t})),rn=()=>{const t=an();return e.jsxs("div",{children:[e.jsxs("div",{className:"flex justify-between items-center mb-6",children:[e.jsxs("button",{onClick:()=>st(null),className:"flex items-center text-gray-600 hover:text-ssgmce-blue font-medium transition-colors",children:[e.jsx("span",{className:"w-8 h-8 rounded-full bg-gray-100 flex items-center justify-center mr-2 text-sm group-hover:bg-blue-100",children:e.jsx(Vt,{className:"transform rotate-180"})}),"Back to Statistics"]}),e.jsxs("div",{className:"text-right",children:[e.jsx("h3",{className:"text-xl font-bold text-gray-800",children:"Placement Record"}),e.jsxs("p",{className:"text-sm text-ssgmce-blue font-bold",children:["Session: ",Y]})]})]}),p?e.jsx(L,{value:t,onSave:a=>x(`placements.details.${Y}`,a),showDocImport:!0,docTemplateUrl:"/uploads/documents/departments/shared/templates/placement_details_template.docx",docTemplateLabel:"Download Placement Template",placeholder:"Paste or import placement data (Markdown) here..."}):e.jsx(Oe,{markdown:t})]})},B=(t,a,s)=>{const n=JSON.parse(JSON.stringify(i("templateData.faculty",Gt)));n[t]={...n[t],[a]:s},y("templateData.faculty",n)},Lt=(t,a)=>JSON.parse(JSON.stringify(i(t,a))),Se=(t,a,s)=>{const n=Lt(t,a),r=typeof s=="function"?s(n):s;y(t,r)},on=(t="")=>String(t||"").split(` 30`).map(a=>a.trim()).filter(Boolean),La=(t="")=>String(t||"").toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")||"faculty-member",Ma=t=>t?.vidwanLink?.trim?.()||(t?.vidwanId?`https://vidwan.inflibnet.ac.in/profile/${t.vidwanId}`:""),oe=(t,a,s)=>{const n=i("activitiesMarkdown",""),r=vs(n),o=(r.length?r:i("activities",$t)).map(Z);if(!o[t])return;const l=o.map((h,N)=>N===t?Z({...h,[a]:s}):h);x("activities",l),x("activitiesMarkdown",fs(l))},Da=(t,a,s,n)=>{if(t==="latest"){const r=JSON.parse(JSON.stringify(i("newsletters_latest",V.latest)));r[s]=n,x("newsletters_latest",r)}else{const r=JSON.parse(JSON.stringify(i("newsletters_archives",V.archives)));r[a][s]=n,x("newsletters_archives",r)}},Ca=t=>$e?.[t]??$e?.templateData?.[t],_=Ca("newsletters_latest")||V.latest,Le=Ca("newsletters_archives")||V.archives||[],Ta=()=>({title:"New Newsletter",description:"",link:"",fileName:"",date:"",term:""}),ln=t=>({date:t?.date||"",vol:t?.title||"New Newsletter",term:t?.term||"",link:t?.link||"",fileName:t?.fileName||""}),cn=t=>({title:t?.vol||"New Newsletter",description:"",link:t?.link||"",fileName:t?.fileName||"",date:t?.date||"",term:t?.term||""}),Ea=(t,a)=>{if(a)return a;
30if(!t)return"No file uploaded";const s=String(t).split("/").pop()||"";return decodeURIComponent(s)},dn=t=>typeof t!="string"||!t.startsWith("/uploads/")||t.includes("..")||!t.startsWith("/uploads/documents/")?null:t,Ra=async t=>{const a=dn(t);if(a)try{await xe.delete("/upload/file",{params:{path:a}})}catch(s){console.error("Newsletter file delete skipped:",s)}},mn=()=>{const t=JSON.parse(JSON.stringify(_||V.latest)),a=JSON.parse(JSON.stringify(Le||V.archives)),s=t?.title?[ln(t),...a]:a;x("newsletters_latest",Ta()),x("newsletters_archives",s)},Ia=async(t,a)=>{if(t==="latest"){const r=JSON.parse(JSON.stringify(_||V.latest)),o=JSON.parse(JSON.stringify(Le||V.archives));if(await Ra(r?.link),o.length>0){const[l,...h]=o;x("newsletters_latest",cn(l)),x("newsletters_archives",h)}else x("newsletters_latest",Ta()),x("newsletters_archives",[]);return}const s=JSON.parse(JSON.stringify(Le||V.archives)),n=s[a];await Ra(n?.link),x("newsletters_archives",s.filter((r,o)=>o!==a))},pn=async(t,a,s)=>{if(!s)return;const n=`${t}-${a}`;Xt(r=>({...r,[n]:!0})),Qt(r=>({...r,[n]:""}));try{const r=new FormData;r.append("file",s);const o=await xe.post("/upload/file",r);if(!o.data.fileUrl)throw new Error("Upload did not return a file URL.");if(t==="latest"){const l=JSON.parse(JSON.stringify(_||V.latest));x("newsletters_latest",{...l,link:o.data.fileUrl,fileName:o.data.originalName||s.name})}else{const l=JSON.parse(JSON.stringify(Le||V.archives));l[a]={...l[a],link:o.data.fileUrl,fileName:o.data.originalName||s.name},x("newsletters_archives",l)}}catch(r){console.error("Newsletter upload failed:",r),Qt(o=>({...o,[n]:r.response?.data?.message||r.response?.data?.error||r.message||"Upload failed"}))}finally{Xt(r=>({...r,[n]:!1}))}},Ba=(t,a,s)=>{const n=s.target.files?.[0];if(s.target.value="",!!n){if(n.type!=="application/pdf"){alert("Please select a PDF file for the newsletter.");return}pn(t,a,n)}},Mt=()=>JSON.parse(JSON.stringify(i("learningResources",as))),Dt=(t,a,s)=>{const n=Mt();n[t]&&(n[t]={...n[t],[a]:s},x("learningResources",n))},hn=()=>{x("learningResources",[...Mt(),{year:"New Year",title:"New Semester",syllabusLink:"#",resourceLink:"#"}]),pa(!0)},un=t=>{x("learningResources",Mt().filter((a,s)=>s!==t))},le=i("learningResources",as)||[];v.useEffect(()=>{!ma||!p||c!=="learning-resources"||ut.current&&(ut.current.scrollIntoView({behavior:"smooth",block:"center"}),pa(!1))},[ma,p,c,le.length]);const xn=(i("activities",$t)||$t).map(Z),gn=i("activitiesMarkdown",""),Oa=vs(gn),R=Oa.length?Oa:xn,Va=t=>{const a=t(R.map(s=>Z(s)));x("activities",a),x("activitiesMarkdown",fs(a))},bn=()=>{Va(t=>[{title:"New Curricular Activity",date:"Add activity date",participants:"Add participant details",organizer:"Mechanical Engineering Department, SSGMCE",resource:"",image:""},...t])},yn=t=>{Va(a=>a.filter((s,n)=>n!==t))},fn={p:({node:t,...a})=>e.jsx("p",{className:"text-gray-700 leading-relaxed",...a}),ul:({node:t,...a})=>e.jsx("ul",{className:"list-disc pl-5 space-y-1 text-gray-700",...a}),ol:({node:t,...a})=>e.jsx("ol",{className:"list-decimal pl-5 space-y-1 text-gray-700",...a}),li:({node:t,...a})=>e.jsx("li",{className:"leading-relaxed",...a}),strong:({node:t,...a})=>e.jsx("strong",{className:"font-semibold text-gray-800",...a}),a:({node:t,...a})=>e.jsx("a",{className:"text-ssgmce-blue hover:text-ssgmce-orange underline underline-offset-2",target:"_blank",rel:"noopener noreferrer",...a})},Ct=(t,a="Not specified")=>{const s=String(t||"").trim();return s?e.jsx("div",{className:"prose prose-sm max-w-none prose-p:my-0 prose-ul:my-0 prose-ol:my-0",children:e.jsx(As,{remarkPlugins:[Ps],components:fn,children:s})}):e.jsx("p",{className:"text-gray-400 italic leading-relaxed",children:a})},ce=(t,a,s,n,r)=>{const o=JSON.parse(JSON.stringify(i(t,a)));o[s][n]=r,x(t,o)};function Tt(t,a=M){return JSON.parse(JSON.stringify(i(`research.${t}.${a}`,gs[t]?.[a]||[])))}function vn(t){return JSON.parse(JSON.stringify(i(`researchMarkdown.${t}`,{})))}function jn(t,a=M){const s=vn(t)?.[a];return s||_t[t](Tt(t,a),a)}function Nn(){const t=Array.isArray(i("researchYears",null))?i("researchYears",[]):[],a=Object.values(gs).flatMap(n=>Object.keys(n||{})),s=Object.keys(i("research.patents",ws)||{}).concat(Object.keys(i("research.publications",Ns)||{})).concat(Object.keys(i("research.copyrights",js)||{}));return[...new Set([...t,...a,...s])].filter(n=>/^\d{4}-\d{2}$/.test(String(n||"").trim())).sort((n,r)=>Number(String(r).slice(0,4))-Number(String(n).slice(0,4)))}const Ua=(t,a,s)=>{const n={patents:o=>({title:String(o?.title||"").trim(),status:String(o?.status||"").trim(),id:String(o?.id||"").trim(),inventors:String(o?.inventors||"").trim(),link:String(o?.link||"").trim()}),publications:o=>({title:String(o?.title||"").trim(),authors:String(o?.authors||"").trim(),journal:String(o?.journal||"").trim(),link:String(o?.link||"").trim()}),copyrights:o=>({name:String(o?.name||"").trim(),title:String(o?.title||"").trim(),status:String(o?.status||"").trim(),link:String(o?.link||"").trim()})}[t],r=(Array.isArray(s)?s:[]).map(o=>n(o)).filter(o=>Object.values(o).some(Boolean));x(`research.${t}.${a}`,r),x(`researchMarkdown.${t}.${a}`,_t[t](r,a))},Et=(t,a)=>{const s=Ei[t](a,M);Ua(t,M,s.items||[])},Rt=t=>{const a=Tt(t,M);Ua(t,M,[{patents:{title:"New patent title",status:"Published",id:"Add application no.",inventors:"Add inventors",link:""},publications:{title:"New paper title",authors:"Add authors",journal:"Add journal or conference",link:""},copyrights:{name:"Faculty Name",title:"New copyright title",status:"Published",link:""}}[t],...a])};function wn(t,a){return _t[t]([],a)}const It=()=>JSON.parse(JSON.stringify(i("research.institutePatents.items",ur))),An=()=>{const t=i("research.institutePatents.markdown","");return t||xs(It())},Fa=t=>{const a=(Array.isArray(t)?t:[]).map(s=>({title:String(s?.title||"").trim(),id:String(s?.id||"").trim(),filingDate:String(s?.filingDate||"").trim(),status:String(s?.status||"").trim()})).filter(s=>Object.values(s).some(Boolean));x("research.institutePatents.items",a),x("research.institutePatents.markdown",xs(a))},Pn=()=>{Fa([{title:"New invention title",id:"Add application no.",filingDate:"Add filing date",status:"Add status"},...It()])};v.useEffect(()=>{c==="student-projects"&&(window.scrollTo(0,0),ks("2024-25"))},[c]);const kn=[],Sn=[],Ln=[],E=()=>{const t=i("templateData.curriculum.sections",Ln);if(t&&t.length>0)return JSON.parse(JSON.stringify(t));const a=i("templateData.curriculum.be",kn),s=i("templateData.curriculum.me",Sn),n=[];return a&&a.length>0&&n.push({id:`section-be-${Date.now()}`,title:"B.E. (Mechanical Engineering)",items:JSON.parse(JSON.stringify(a))}),s&&s.length>0&&n.push({id:`section-me-${Date.now()+1}`,title:"M.E. (Advanced Manufacturing & Mechanical Systems Design)",items:JSON.parse(JSON.stringify(s))}),n},F=t=>{y("templateData.curriculum.sections",t)},Mn=()=>{const t=E();t.push({id:`section-${Date.now()}`,title:"New Section",items:[]}),F(t)},Dn=(t,a)=>{const s=E();s[t]={...s[t],title:a},F(s)},Cn=t=>{const a=E();a.splice(t,1),F(a),Ne(s=>{const n={...s};return delete n[t],n})},Ga=(t,a)=>{const s=E(),n=a==="up"?t-1:t+1;n<0||n>=s.length||([s[t],s[n]]=[s[n],s[t]],F(s))},_a=(t,a,s,n)=>{const r=E(),o=[...r[t].items];o[a]={...o[a],[s]:n},r[t]={...r[t],items:o},F(r)},Tn=t=>{const a=E(),s=[...a[t].items];s.push({label:"New Syllabus Item",link:"#",fileName:null,fileUrl:null}),a[t]={...a[t],items:s},F(a)},En=async(t,a,s)=>{if(!s)return;const n=`${t}-${a}`;qt(r=>({...r,[n]:!0}));try{const r=new FormData;r.append("file",s);const o=await xe.post("/upload/file",r);if(o.data.fileUrl){const l=E(),h=[...l[t].items];h[a]={...h[a],fileUrl:o.data.fileUrl,fileName:o.data.originalName,link:o.data.fileUrl},l[t]={...l[t],items:h},F(l)}}catch(r){console.error("Upload failed:",r),alert("Failed to upload file. Please try again.")}finally{qt(r=>({...r,[n]:!1}))}},Rn=(t,a,s)=>{const n=s.target.files[0];n&&n.type==="application/pdf"?En(t,a,n):alert("Please select a PDF file.")},$a=(t,a,s)=>{const n=E(),r=[...n[t].items],o=s==="up"?a-1:a+1;o<0||o>=r.length||([r[a],r[o]]=[r[o],r[a]],n[t]={...n[t],items:r},F(n))},In=(t,a)=>{const s=E(),n=[...s[t].items];n.splice(a,1),s[t]={...s[t],items:n},F(s),Ne(r=>{const o=r[t]||[];return{...r,[t]:o.filter(l=>l!==a).map(l=>l>a?l-1:l)}})},Bn=(t,a)=>{Ne(s=>{const n=s[t]||[],r=n.includes(a)?n.filter(o=>o!==a):[...n,a];return{...s,[t]:r}})},On=t=>{const s=E()[t].items;Ne(n=>{const o=(n[t]||[]).length===s.length?[]:s.map((l,h)=>h);return{...n,[t]:o}})},Vn=t=>{const a=E(),s=zt[t]||[],n=a[t].items.filter((r,o)=>!s.includes(o));a[t]={...a[t],items:n},F(a),Ne(r=>({...r,[t]:[]}))},de=[{name:"CSR Funded Robotics and Automation Laboratory",image:"",resources:"Study of components of a real Robot & its DH Parameters, Demonstration of Robot with 2DOF, 3DOF, 4DOF, etc., Study of Positioning and orientation of Robot arm (Study of Robot Kinematics), To Study Robotic Control on Panasonic TM-1400GIII Industrial Robot Arm."},{name:"Internal Combustion Engine Lab",image:"",resources:"Performance Analysis & Heat Balance sheet of Single Cylinder Diesel Engine, Performance Analysis &Heat Balance sheet of Multi-Cylinder Petrol Engine, Computerized Performance test for Multi cylinder Petrol Engine, Exhaust Gas analysis and Ignition system demo model"},{name:"Dr. Georg H Endress Laboratory",image:"",resources:"Supported under CSR by Endress Hauser Automation (India) Instrumentation Pvt. Ltd. (A CII MZC representing organization) - Pressure Measurement, Temperature Measurement, Flow rate Measurement, Level Measurement."},{name:"Mechanics of Material Laboratory",image:"",resources:"Computerized Universal Testing Machine
30(Measuring range of 0-400kN, Least Count: 0.04KN, Piston Movement: 0.1mm), Vickers/Brinell Hardness Test Rig, Impact Testing Machine (30 Kg), Torsion Testing Machine (50 Kg)"},{name:"Fluid Power Laboratory",image:"",resources:"Pelton Turbine, Francis Turbine, Centrifugal Pump, Reciprocating Pump, Bernoulli's Apparatus"},{name:"Computational Fluid Dynamics Center",image:"",resources:"CFD Software- ANSYS-CFX 10.0, IBM Server - 01 No., IBM Client Systems - 04 Nos."},{name:"Energy Conversion Laboratory",image:"",resources:"Five Gas Analyzer AVL DIGAS 444: To Check the exhaust emissions like NOX, CO2, CO, O2, HC. Blower Test Rig, Single cylinder 4-stroke Diesel Engine with Brake Test Rig, Single cylinder 4-stroke Petrol Engine with Hydraulic Dynamometer Test Rig, Single Cylinder Petrol Engine with Alternator Test Rig"},{name:"Theory of Machine Laboratory",image:"",resources:"Gyroscope, Balancing Apparatus, Whirling Shaft Apparatus, Vibration Analysis set-up, Four channel FFT Analyzer"},{name:"Heat Transfer Laboratory",image:"",resources:"Heat Exchanger, Stephan Boltzmann apparatus, Critical Heat Flux apparatus, Thermal Conductivity of insulating Powder Apparatus"},{name:"Engineering Mechanics lab",image:"",resources:"Universal Force Table, Parallel force Apparatus, Jib Crane, Differential Axle & Wheel, Single Purchase Winch Crab, Double Purchase Winch Crab, Simple Screw Jack, Worm & Worm Wheel apparatus, Moment of Inertia of Flywheel"},{name:"Refrigeration & Air Conditioning Laboratory",image:"",resources:"Vapour Compression Test Rig, Counter Flow Heat Exchanger, Window Air Conditioning Test Rig, Refrigerant Leak Test Rig"},{name:"Drawing Hall",image:"",resources:"Drawing Table, Drawing Board, Software for Engineering Drawing Animated Solutions, Wooden Solid Models, Display Charts, Templates, etc."},{name:"CAD/CAM Center",image:"",resources:"Hardware: IBM Think Centre A5 Computer Systems - 21 Nos, UPS 7.5KVA with 12 V Batteries, Printer. Software: UG-NX 3, Solid Edge, Autodesk Inventor Series Pro7.0, CATIA V5 R10, ANSYS 8.1, FEMAP, MSC NASTRAN, Witness, GATE Series"},{name:"Production Technology Laboratory",image:"",resources:"Profile Projector, Universal Interferometer, Autocollimator, Vickers/Brinell Hardness Testing Machine"},{name:"Measurement System Laboratory",image:"",resources:"Pneumatic Comparator, Tool Maker's Microscope, Surface Roughness Tester, Flow measurement Using McLeod gauge"},{name:"Engineering Metallurgy Laboratory",image:"",resources:"Vickers/Brinell Hardness Test Rig, Furnace, Metallurgical Microscope with CCTV attachment"},{name:"Mechatronics Laboratory",image:"",resources:"Pneumatic Training Kit, X-Y Table, Conveyor with sensor, Pneumatic rotary indexing"},{name:"Seminar Hall",image:"",resources:"LCD Projector with Computer, SMART cordless electronic note PAD (giving display directly on LCD screen), 32'' Television Set with VCD/ DVD player, 5.1 Channel Surround Sound Home Theater System, Ergonomically designed cushioned deluxe chairs (60 Nos), Fully Air-conditioned"},{name:"Workshop (Mechanical Engineering)",image:"",resources:"Machine Shop, Advanced Welding Shop, Carpentry & Pattern Making Shop, Fitting & Sheet Metal Shop, Smithy & Foundry Shop"},{name:"Experimental Stress Analysis",image:"",resources:"DIFFUSED LIGHT RESEARCH POLARISCOPE, REFLECTION POLARISCOPE, STRESS FREEZING OVEN, STRAIN GAUGE ROSETTE APPARATUS"},{name:"Energy Park",image:"",resources:"Solar PV Pump, Solar Steam Project, Wind Mill, Aero Generator"},{name:"Research Lab / Internet Facility",image:"",resources:"High-speed internet connectivity, Research workstations, Latest software and tools for research"},{name:"Sant Gajanan Tool Room (SGTR)",image:"",resources:"Advanced manufacturing equipment, CNC machines, Tool design and fabrication facilities"}],Ka=[{id:"overview",label:"Department Overview"},{id:"hod",label:"Words from HOD"},{id:"vision-mission",label:"Vision, Mission, PEO & PSO"},{id:"course-outcomes",label:"Course Outcomes"},{id:"curriculum",label:"Scheme and Syllabus"},{id:"laboratories",label:"Infrastructure and Laboratories"},{id:"pride",label:"Pride of the Department"},{id:"placements",label:"Placement Statistics"},{id:"activities",label:"Curricular Activities"},{id:"newsletter",label:"Newsletter"},{id:"achievements",label:"Achievements"},{id:"learning-resources",label:"Learning Resources"},{id:"nba-resources",label:"NBA Resource Material"},{id:"staff",label:"Staff @ Department"},{id:"student-projects",label:"UG Projects"},{id:"practices",label:"Innovative Practice"},{id:"faculty",label:"Faculty Members"}],Ya=[{id:"visits",label:"Industrial Visits"},{id:"mous",label:"MoUs"},{id:"patents",label:"Patent & Publication"},{id:"internships",label:"Internship and Training"}],Un={overview:e.jsxs("div",{className:"space-y-10",children:[e.jsx("div",{className:"space-y-6",children:e.jsxs("div",{className:"flex flex-col gap-6",children:[e.jsx("h3",{className:"text-3xl font-bold text-gray-800 border-b-2 border-orange-500 inline-block pb-2 w-fit",children:"Department Overview"}),e.jsxs("div",{className:"prose max-w-none text-gray-600 leading-relaxed text-justify text-lg space-y-4 [&_.ql-content]:text-justify [&_.ql-content_p]:text-justify [&_.ql-content]:min-h-0",children:[e.jsx("div",{children:e.jsx(b,{value:i("templateData.overview.para1","The Department of Mechanical Engineering was established in year 1983. The department offers B.E. in Mechanical Engineering and M.E. in Advanced Manufacturing Systems. The department has approved research center for Ph.D."),onSave:t=>y("templateData.overview.para1",t),multiline:!0,className:"w-full text-ju
30stify"})}),e.jsx("div",{children:e.jsx(b,{value:i("templateData.overview.para2","The department has well qualified, experienced and dedicated faculty members. The department has well equipped laboratories with latest equipment and software. The department organizes various activities like expert lectures, workshops, industrial visits, etc. for holistic development of students."),onSave:t=>y("templateData.overview.para2",t),multiline:!0,className:"w-full text-justify"})})]})]})}),e.jsxs("div",{className:"bg-white rounded-xl shadow-sm border border-gray-200 overflow-hidden",children:[e.jsx("div",{className:"bg-gray-50 border-b border-gray-200 p-4",children:e.jsx("h3",{className:"text-xl font-bold text-gray-800 flex items-center",children:"Courses @ Department"})}),e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"min-w-full divide-y divide-gray-200 border-collapse",children:[e.jsx("thead",{className:"bg-gray-50",children:e.jsxs("tr",{children:[e.jsx("th",{className:"px-6 py-3 text-left text-sm font-bold text-gray-600 border border-gray-200",children:"Course"}),e.jsx("th",{className:"px-6 py-3 text-left text-sm font-bold text-gray-600 border border-gray-200",children:"Course Details"}),p&&e.jsx("th",{className:"px-6 py-3 text-center text-sm font-bold text-gray-600 border border-gray-200 w-32",children:"Actions"})]})}),e.jsxs("tbody",{className:"bg-white divide-y divide-gray-200",children:[e.jsx("tr",{className:"bg-white",children:e.jsx("td",{colSpan:p?3:2,className:"px-6 py-3 font-bold text-ssgmce-blue text-base border border-gray-200",children:e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx(b,{value:i("templateData.overview.headerBE","Bachelor of Engineering"),onSave:t=>y("templateData.overview.headerBE",t)}),p&&e.jsx("button",{onClick:()=>{const t=i("overview.tableBE",Re);x("overview.tableBE",[...t,["New Field","New Value"]])},className:"bg-green-500 hover:bg-green-600 text-white px-2 py-1 rounded text-xs ml-2",children:"+ Add Row"})]})})}),i("overview.tableBE",Re).map(([t,a],s)=>e.jsxs("tr",{className:"hover:bg-gray-50/50 transition-colors",children:[e.jsx("td",{className:"px-6 py-3 text-sm font-bold text-gray-500 w-1/3 border border-gray-200 bg-gray-50/30",children:e.jsx(b,{value:t,onSave:n=>ce("overview.tableBE",Re,s,0,n)})}),e.jsx("td",{className:"px-6 py-3 text-sm text-gray-700 font-medium border border-gray-200",children:e.jsx(b,{value:a,onSave:n=>ce("overview.tableBE",Re,s,1,n),multiline:!0})}),p&&e.jsx("td",{className:"px-6 py-3 text-center border border-gray-200",children:e.jsx("button",{onClick:()=>{const n=i("overview.tableBE",Re).filter((r,o)=>o!==s);x("overview.tableBE",n)},className:"bg-red-500 hover:bg-red-600 text-white px-3 py-1.5 rounded-lg text-sm font-medium shadow-sm transition-colors",title:"Delete row",children:"Delete"})})]},s)),e.jsx("tr",{className:"bg-white",children:e.jsx("td",{colSpan:p?3:2,className:"px-6 py-3 font-bold text-ssgmce-blue text-base border border-gray-200 mt-4",children:e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx(b,{value:i("templateData.overview.headerME","Master of Engineering"),onSave:t=>y("templateData.overview.headerME",t)}),p&&e.jsx("button",{onClick:()=>{const t=i("overview.tableME",Ie);x("overview.tableME",[...t,["New Field","New Value"]])},className:"bg-green-500 hover:bg-green-600 text-white px-2 py-1 rounded text-xs ml-2",children:"+ Add Row"})]})})}),i("overview.tableME",Ie).map(([t,a],s)=>e.jsxs("tr",{className:"hover:bg-gray-50/50 transition-colors",children:[e.jsx("td",{className:"px-6 py-3 text-sm font-bold text-gray-500 w-1/3 border border-gray-200 bg-gray-50/30",children:e.jsx(b,{value:t,onSave:n=>ce("overview.tableME",Ie,s,0,n)})}),e.jsx("td",{className:"px-6 py-3 text-sm text-gray-700 font-medium border border-gray-200",children:e.jsx(b,{value:a,onSave:n=>ce("overview.tableME",Ie,s,1,n),multiline:!0})}),p&&e.jsx("td",{className:"px-6 py-3 text-center border border-gray-200",children:e.jsx("button",{onClick:()=>{const n=i("overview.tableME",Ie).filter((r,o)=>o!==s);x("overview.tableME",n)},className:"bg-red-500 hover:bg-red-600 text-white px-3 py-1.5 rounded-lg text-sm font-medium shadow-sm transition-colors",title:"Delete row",children:"Delete"})})]},s)),e.jsx("tr",{className:"bg-white",children:e.jsx("td",{colSpan:p?3:2,className:"px-6 py-3 font-bold text-ssgmce-blue text-base border border-gray-200",children:e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx(b,{value:i("templateData.overview.headerPhD","Ph. D in Mechanical Engineering"),onSave:t=>y("templateData.overview.headerPhD",t)}),p&&e.jsx("button",{onClick:()=>{const t=i("overview.tablePhD",Be);x("overview.tablePhD",[...t,["New Field","New Value"]])},className:"bg-green-500 hover:bg-green-600 text-white px-2 py-1 rounded text-xs ml-2",children:"+ Add Row"})]})})}),i("overview.tablePhD",Be).map(([t,a],s)=>e.jsxs("tr",{className:"hover:bg-gray-50/50 transition-colors",children:[e.jsx("td",{className:"px-6 py-3 text-sm font-bold text-gray-500 w-1/3 border border-gray-200 bg-gray-50/30",children:e.jsx(b,{value:t,onSave:n=>ce("overview.tablePhD",Be,s,0,n)})}),e.jsx("td",{className:"px-6 py-3 text-sm text-gray-700 font-medium border border-gray-200",children:e.jsx(b,{value:a,onSave:n=>ce("overview.tablePhD",Be,s,1,n),multiline:!0})}),p&&e.jsx("td",{className:"px-6 py-3 text-center border border-gray-200",children:e.jsx("button",{onClick:()=>{const n=i("overview.tablePhD",Be).filter((r,o)=>o!==s);x("overview.tablePhD",n)},className:"bg-red-500 hover:bg-red-600 text-white px-3 py-1.5 rounded-lg text-sm font-medium shadow-sm transition-colors",title:"Delete row",children:"Delete"})})]},s))]})]})}),e.jsxs("div",{className:"p-4 bg-gray-50 border-t border-gray-200",children:[e.jsx("div",{className:"text-ssgmce-blue font-medium",children:e.jsx(b,{value:i("hodName","Dr. S. P. Trikal"),onSave:t=>y("hodName",t),placeholder:"Click to edit HOD name..."})}),e.jsx("div",{className:"text-sm text-gray-500",children:e.jsx(b,{value:i("overview.footerDesignation","Head, Department of Mechanical Engineering"),onSave:t=>y("overview.footerDesignation",t),placeholder:"Click to edit designation..."})})]})]})]}),"vision-mission":e.jsxs("div",{className:"space-y-10",children:[e.jsxs("div",{className:"bg-white rounded-xl shadow-sm border border-gray-200 overflow-hidden",children:[e.jsx("div",{className:"flex border-b border-gray-200 bg-gray-50/50",children:["vision","mission"].map(t=>e.jsxs("button",{onClick:()=>d(t),className:`px-8 py-4 font-bold text-sm uppercase tracking-wider transition-all relative ${f===t?"text-ssgmce-blue bg-white":"text-gray-500 hover:text-gray-700 hover:bg-gray-100"}`,children:[e.jsxs("span",{className:"inline-flex items-center gap-2",children:[t==="vision"?e.jsx(Za,{className:"text-xs"}):e.jsx(Bt,{className:"text-xs"}),e.jsx("span",{children:t})]}),f===t&&e.jsx("div",{className:"absolute top-0 left-0 w-full h-1 bg-ssgmce-blue"})]},t))}),e.jsxs("div",{className:"p-8 min-h-[160px] flex items-center w-full",children:[f==="vision"&&e.jsxs(A.div,{initial:{opacity:0}
30,animate:{opacity:1},className:"space-y-4 w-full",children:[(Array.isArray(i("vision"))?i("vision"):We).map((t,a)=>e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:"mt-1 text-ssgmce-orange text-2xl flex-shrink-0",children:"â¤"}),e.jsx("div",{className:"text-lg text-gray-700 leading-relaxed font-medium flex-1",children:e.jsx(L,{value:t,onSave:s=>{const n=Array.isArray(i("vision"))?[...i("vision")]:[...We];n[a]=s,y("vision",n)},placeholder:"Click to edit vision item...",className:"w-full"})}),p&&e.jsx("button",{onClick:()=>{const s=(Array.isArray(i("vision"))?i("vision"):We).filter((n,r)=>r!==a);y("vision",s)},className:"flex-shrink-0 mt-1 text-red-400 hover:text-red-600 text-sm font-bold px-2",title:"Remove item",children:"â"})]},a)),p&&e.jsx("button",{onClick:()=>{const t=[...Array.isArray(i("vision"))?i("vision"):We,"New vision statement."];y("vision",t)},className:"mt-2 bg-green-500 hover:bg-green-600 text-white px-3 py-1.5 rounded text-sm font-medium",children:"+ Add Vision Item"})]}),f==="mission"&&e.jsxs(A.div,{initial:{opacity:0}
30,animate:{opacity:1},className:"space-y-4 w-full",children:[i("mission",qe).map((t,a)=>e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:"mt-1 text-ssgmce-orange text-xl",children:"â¤"}),e.jsx("div",{className:"text-gray-700 w-full",children:e.jsx(L,{value:t,onSave:s=>{const n=[...i("mission",qe)];n[a]=s,y("mission",n)},placeholder:"Click to edit mission item...",className:"w-full"})}),p&&e.jsx("button",{onClick:()=>{const s=i("mission",qe).filter((n,r)=>r!==a);y("mission",s)},className:"flex-shrink-0 mt-1 text-red-400 hover:text-red-600 text-sm font-bold px-2",title:"Remove item",children:"â"})]},a)),p&&e.jsx("button",{onClick:()=>{y("mission",[...i("mission",qe),"New mission statement."])},className:"mt-2 bg-green-500 hover:bg-green-600 text-white px-3 py-1.5 rounded text-sm font-medium",children:"+ Add Mission Item"})]})]})]}),e.jsxs("div",{className:"bg-white rounded-xl shadow-sm border border-gray-200 overflow-hidden",children:[e.jsx("div",{className:"flex flex-wrap border-b border-gray-200 bg-gray-50/50",children:[{id:"peo",label:"Program Educational Objectives"},{id:"po",label:"Program Outcomes"},{id:"pso",label:"Program Specific Objectives"}].map(t=>e.jsx("button",{onClick:()=>D(t.id),className:`px-6 py-4 font-bold text-sm transition-all relative whitespace-nowrap ${w===t.id?"text-white bg-[#003366]":"text-gray-600 hover:bg-gray-100"}`,children:t.label},t.id))}),e.jsxs("div",{className:"p-8",children:[w==="peo"&&e.jsxs(A.div,{initial:{opacity:0}
30,animate:{opacity:1},className:"space-y-4",children:[i("peo",Xe).map((t,a)=>e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:"mt-1 text-ssgmce-orange text-xl",children:"â¤"}),e.jsx("div",{className:"text-gray-700 leading-relaxed font-medium w-full",children:e.jsx(L,{value:t,onSave:s=>{const n=[...i("peo",Xe)];n[a]=s,y("peo",n)},placeholder:"Click to edit PEO item...",className:"w-full"})}),p&&e.jsx("button",{onClick:()=>{const s=i("peo",Xe).filter((n,r)=>r!==a);y("peo",s)},className:"flex-shrink-0 mt-1 text-red-400 hover:text-red-600 text-sm font-bold px-2",title:"Remove item",children:"â"})]},a)),p&&e.jsx("button",{onClick:()=>{y("peo",[...i("peo",Xe),"New program educational objective."])},className:"mt-2 bg-green-500 hover:bg-green-600 text-white px-3 py-1.5 rounded text-sm font-medium",children:"+ Add PEO Item"})]}),w==="pso"&&e.jsxs(A.div,{initial:{opacity:0},animate:{opacity:1},className:"space-y-4",children:[i("pso",Te).map((t,a)=>e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:"mt-1 text-ssgmce-orange text-xl",children:"â¤"}),e.jsxs("div",{className:"w-full",children:[e.jsx("strong",{className:"text-gray-900 block mb-1 text-base",children:e.jsx(b,{value:t.t,onSave:s=>{const n=JSON.parse(JSON.stringify(i("pso",Te)));n[a].t=s,y("pso",n)}})}),e.jsx(L,{value:t.d,onSave:s=>{const n=JSON.parse(JSON.stringify(i("pso",Te)));n[a].d=s,y("pso",n)},placeholder:"Click to edit PSO description...",className:"w-full"})]}),p&&e.jsx("button",{onClick:()=>{const s=i("pso",Te).filter((n,r)=>r!==a);y("pso",s)},className:"flex-shrink-0 mt-1 text-red-400 hover:text-red-600 text-sm font-bold px-2",title:"Remove item",children:"â"})]},a)),p&&e.jsx("button",{onClick:()=>{y("pso",[...i("pso",Te),{t:"New PSO Title",d:"New program specific outcome description."}])},className:"mt-2 bg-green-500 hover:bg-green-600 text-white px-3 py-1.5 rounded text-sm font-medium",children:"+ Add PSO Item"})]}),w==="po"&&e.jsxs(A.div,{initial:{opacity:0}
30,animate:{opacity:1},className:"space-y-6",children:[e.jsx("div",{className:"space-y-4",children:i("po",Ee).slice(0,te?void 0:4).map((t,a)=>e.jsx("div",{className:"text-gray-700 leading-relaxed text-sm",children:e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsxs("div",{className:"flex-1",children:[e.jsxs("strong",{className:"text-gray-900 block mb-1 text-base",children:[e.jsx(b,{value:t.t,onSave:s=>{const n=JSON.parse(JSON.stringify(i("po",Ee)));n[a].t=s,y("po",n)}}),":"]}),e.jsx(L,{value:t.d,onSave:s=>{const n=JSON.parse(JSON.stringify(i("po",Ee)));n[a].d=s,y("po",n)},placeholder:"Click to edit PO description...",className:"w-full"})]}),p&&e.jsx("button",{onClick:()=>{const s=i("po",Ee).filter((n,r)=>r!==a);y("po",s)},className:"flex-shrink-0 mt-1 text-red-400 hover:text-red-600 text-sm font-bold px-2",title:"Remove item",children:"â"})]})},a))}),e.jsx("button",{onClick:()=>tt(!te),className:"inline-flex items-center text-orange-500 font-bold hover:text-orange-600 transition-colors mt-2",children:te?"Read Less":"Read More..."}),p&&e.jsx("button",{onClick:()=>{y("po",[...i("po",Ee),{t:"New PO Title",d:"New program outcome description."}])},className:"ml-4 bg-green-500 hover:bg-green-600 text-white px-3 py-1.5 rounded text-sm font-medium",children:"+ Add PO Item"})]})]})]})]}),"course-outcomes":(()=>{const t=[{id:"be-sem3",label:"B.E. Semester-III",content:`### 3ME01 Engineering Mathematics - III 31 32After successfully completing the course, students will be able to: 33 341. Apply the knowledge linear differential equation to solve problems. 352. Apply Laplace transform to solve differential equation. 363. Apply the concept of Partial differential equation, probability and statistics. 374. Apply the knowledge of complex analysis. 385. Apply the knowledge of Numerical analysis. 396. Apply the knowledge of vector calculus to solve physical problems. 40 41### 3ME02 Manufacturing Processes 42 43After successfully completing the course, students will be able to: 44 451. Understand the working principles of basic manufacturing processes. 462. Apply the knowledge of casting processes for the specified working conditions. 473. Analyze the various causes of casting defects to provide remedial action. 484. Apply the knowledge of various forming processes for the given operating conditions. 495. Apply the knowledge of basic and advance welding processes for detection and prevention of welding defects. 50 51### 3ME03 Mechanics of Materials 52 53After successfully completing the course, students will be able to: 54 551. Determine stresses in uniaxial tension and compression conditions. 562. Draw SFD, BMD and calculate bending stresses in beams. 573. Apply torsion theory to shafts and helical springs. 584. Determine stresses in thin, thick cylinders and thin spherical shells. 595. Calculate strain energy and principal stresses given loading conditions. 606. Determine deflection of beams under various loading conditions. 61 62### 3ME04 Engineering Thermodynamics 63 64After successfully completing the course, students will be able to: 65 661. Illustrate the basic concept of thermodynamics, thermodynamic systems, work and heat 672. Apply first law of thermodynamics to flow processes. 683. Apply first law of thermodynamics to Non-flow processes. 694. Apply second law of thermodynamics and explain concept of entropy. 705. Explain the properties of steam, work done and heat transfer during various thermodynamic processes. 716. Analyze thermodynamic cycles of various thermal systems. 72 73### 3ME05 Fluid Mechanics 74 75After successfully completing the course, students will be able to: 76 771. Determine the values of various fluid properties at rest and in motion 782. Apply general governing equations for fluid flow problems 793. Apply the concept of Boundary layer theory for internal and external fluid flow 804. Solve numerical based on force exerted by jet on plate by principle of impulse momentum 81 82### 3ME10 Machine Drawing 83 84After successfully completing the course, students will be able to: 85 861. Demonstrate the techniques of sectioning and visualizing the objects 872. Understand and sketch the missing views 883. Develop surfaces of objects and apply knowledge during their fabrication 894. Understand the concept of intersection of solid objects 905. Apply the conventions for materials and parts used in industries 916. Prepare the assembly and detail drawings of simple machine components`},{id:"be-sem4",label:"B.E. Semester-IV",content:`### 4ME01 Material Science 92 93After successfully completing the course, students will be able to: 94 951. Illustrate the basic concepts of metallurgy and materials classification in details. 962. Illustrate the Iron-Carbon Equilibrium Diagram of metal materials and application of composites 973. Understand different alloying elements and their effects on properties of steels and different types of alloys and their application 984. Classify different types of cast iron, non-ferrous metal and alloys and their use, properties and applications 995. Explain various principles of heat treatment used in metallurgy
1006. Explain various heat treatment processes, powder metallurgy and their industrial applications. 101 102### 4ME02 Energy Conversion - I 103 104After successfully completing the course, students will be able to: 105 1061. Explain the different types of boiler and its mounting and accessories. 1072. Analyze the performance of boiler and Chimney. 1083. Analyze the performance of condensers. 1094. Analyze the performance of steam turbines. 1105. Classify different types of the nuclear reactor. 1116. Illustrate various renewable energy sources for power generations. 112 113### 4ME03 Manufacturing Technology 114 115After successfully completing the course, students will be able to: 116 1171. Apply the concept of mechanics of metal cutting for various machining processes. 1182. Analyze the process parameters for given Lathe operations. 1193. Apply the knowledge of drilling, boring and broaching process to solve the related problems. 1204. Apply the knowledge of milling and gear manufacturing process to solve the related problems. 1215. Apply the concept of grinding process for finishing operations. 1226. Identify the various unconventional machining processes. 123 124### 4ME04 Basic Electrical Drives and Control 125 126After successfully completing the course, students will be able to: 127 1281. Explain electric drives and power electronics, including motor heating and cooling. 1292. Analyze characteristics of DC and special motors like servo, stepper, and brushless DC 1303. Evaluate principles and types of AC motors including single and three-phase induction motors. 1314. Apply speed control techniques for AC and DC motors using thyristorized methods. 1325. Identify and describe sensors and transducers in mechatronic systems. 1336. Select suitable electric drives for various industrial applications. 134 135### 4ME05 Hydraulic and Pneumatic Systems 136 137After successfully completing the course, students will be able to: 138 1391. Analyze different turbines for engineering applications 1402. Compare the pumping systems and examine their performance characteristics 1413. Identify various principles of compressible fluid flow. 1424. Classify different types of hydraulic systems`},{id:"be-sem5",label:"B.E. Semester-V",content:`### 5ME01 Heat Transfer 143 144After successfully completing the course, students will be able to: 145 1461. Analyze the thermal systems by applying the fundamental concept of conduction, convection and radiation. 1472. Apply the laws of radiations to heat transfer systems 1483. Evaluate the heat transfer coefficients for forced and free convection. 1494. Analyze the performance of heat exchangers 150 151### 5ME02 Metrology and Quality Control 152 153After successfully completing the course, students will be able to: 154 1551. Understand the concept of inspection, quality control and its importance to industry. 1562. Demonstrate the skills of controlling various out of control processes using statistical quality control tools. 1573. Understand the importance of improving production and productivity using Various Non Destructive Testing approach. 1584. Apply the knowledge of various measurement standards and techniques in the industry to measure various parameters related to metrology. 159 160### 5ME03 Kinematics of Machines 161 162After successfully completing the course, students will be able to: 163 1641. Explain the concept of link, kinematic mechanisms, machines, inversions and their applications. 1652. Analyze the mechanisms and machines on the basis of velocity and acceleration. 1663. Apply the graphical and analytical methods for analysis and synthesis of mechanisms for the input-output coordination. 1674. Explain the working principle and applications of different types of brakes, clutches, dynamometers and gear trains. 168 169### 5ME04 Measurement Systems 170 171After successfully completing the course, students will be able to: 172 1731. Identify types, functional elements of Measurement system and types of input to the measurement system. 1742. Use the concepts of general performance characteristics for choosing measuring instrument. 1753. Demonstrate process of calibration of instruments. 1764. Select and use instrument for various physical quantities. 177 178### 5ME05 Industrial Robotics and Applications 179 180After successfully completing the course, students will be able to: 181 1821. Illustrate Robot's anatomy, joints types, wrist construction, robot standard configurations and their work space. 1832. Explain the construction and working of different types of End Effectors. 1843. Explain various robot drives, robot motion control and its levels. 1854. Explain various methods of teaching and programming the robots. 1865. Explain principle of working and applications of different types of robot sensors. 1876. Identify a particular type of robot depending on the its application in manufacturing.`},{id:"be-sem6",label:"B.E. Semester-VI",content:`### 6ME01 Design of Machine Elements 188 189After successfully completing the course, students will be able to: 190 1911. Apply principles and design considerations used in machine design 1922. Design different temporary and permanents joints for static loading 1933. Design shafts and couplings for various applications for static loading 1944. Design bearings for various applications and IC engine parts 1955. Utilize design data books in designing various machine elements 1966. Generate geometric model/drawings using dimensions of designed machine elements 197 198### 6ME02 Dynamics of Machines 199 200After successfully completing the course, students will be able to: 201 2021. Apply the concept of static force analysis to kinematic mechanisms. 2032. Apply the concept of the dynamic force analysis to kinematic mechanisms. 2043. Apply the concept of gyroscopic couple and forces on a dynamic body. 2054. Apply the basics of longitudinal vibrations and determine the natural frequency of the vibrating system. 2065. Apply the basics of transverse vibrations and calculate the natural frequency of the vibrating system. 2076. Evaluate the balancing masses and their orientation for balancing of the rotating and reciprocating masses. 208 209### 6ME03 Control System Engineering 210 211After successfully completing the course, students will be able to: 212 2131. Demonstrate the fundamental concepts of automatic Control, mathematical modeling & determination of the transfer function of control systems using various methods 2142. Analyze the time response of various systems & determine the Static error coefficients for different input & type of the systems 2153. Evaluate the stability of linear systems using various methods.
2164. Design and selection of industrial controller and Understanding of automatic speed controllers for Machine tools, Prime Movers and Steam Generator. 217 218### 6ME04 Non-Conventional Energy Sources 219 220After successfully completing the course, students will be able to: 221 2221. Illustrate basic concept of renewable and non-renewable sources 2232. Apply the basic concept of solar energy utilization and storage. 2243. Illustrate basics working of photovoltaic panel, fuel cell and geothermal energy 2254. Apply the concept of energy from ocean 2265. Apply the concept of energy from wind. 2276. Demonstrate understanding the concept of bio-mass energy resources. 228 229### 6ME04 Lean Manufacturing 230 231After successfully completing the course, students will be able to: 232 2331. Explain the concept and applications of lean manufacturing 2342. Interpret different element of lean manufacturing 2353. Interpret different tools of lean manufacturing 2364. Apply lean manufacturing in real life situation 2375. Identify the barriers in implementation of Lean Manufacturing. 2386. Explain the concept of Six Sigma 239 240### 6ME08 Computer Aided Design and Simulation 241 242After successfully completing the course, students will be able to: 243 2441. Understand the concept of CAD. 2452. Apply knowledge using CAD modeling for component design 2463. Apply the knowledge of geometric transformation. 2474. Construct the Mechanical & Manufacturing simulation systems`},{id:"be-sem7",label:"B.E. Semester-VII",content:`### 7ME01 Mechatronics 248 249After successfully completing the course, students will be able to: 250 2511. Explain the scope and application of mechatronics, various electromechanical devices and components. 2522. Explain the concepts of electronics signal data and data conversion. 2533. Explain the working and applications of various electronic devices. 2544. Illustrate the working of different control components of Hydraulic and Pneumatic Systems. 2555. Construct pneumatic circuits used in mechanical line automation for industrial applications. 2566. Construct pneumatic circuits used in mechanical line automation for industrial applications. 257 258### 7ME02 Productivity Techniques 259 260After successfully completing the course, students will be able to: 261 2621. Apply project selection methods to evaluate the feasibility of projects. 2632. Use appropriate project management practices, tools and methodologies. 2643. Analyze and document project requirements, assumptions and constraints. 2654. Apply project time and cost estimates to define project baseline, schedule and budget. 2665. Organize and manage critical resources for effective project implementation. 2676. Analyze risks in implementing project. 268 269### 7ME03 Industrial Management & Costing 270 271After successfully completing the course, students will be able to: 272 2731. Apply the concepts of Management and Finance for industry. 2742. Apply the process of Marketing , Promotions and sales to serve the demands of society. 2753. Analyze the concepts of estimation, costing and balance sheet for the industry. 2764. Plan for managerial and financial activities for the industry. 277 278### 7ME04 Energy Conversion-II 279 280After successfully completing the course, students will be able to: 281 2821. Analyze the performance of reciprocating compressor. 2832. Analyze the performance of rotary compressor. 2843. Solve the problems based on refrigeration cycles. 2854. Explain different air conditioning system and psychrometric process. 2865. Solve the problems based on gas turbines. 2876. Explain the working of electric and hybrid vehicles. 288 289### 7ME05 Automobile Engineering 290 291After successfully completing the course, students will be able to: 292 2931. Compare the different types of automobiles and their working 2942. Analyze the concepts of fuels supply system and cooling system in automobile 2953. Identify the need of different electrical systems in conventional automobile and Electrical Vehicles(E.V) 2964. Explain the functioning of Transmission, Suspension, lubrication and control systems in Automobile. 297 298### 7ME05 Computational Fluid Dynamics 299 300After successfully completing the course, students will be able to: 301 3021. Solve the governing partial differential equations of fluid flow and heat transfer problems 3032. Construct and solve different mathematical models and computational methods for fluid flows
3043. Apply the discretization method to solve fluid flow and heat transfer problems 3054. Examine a CFD scheme for the respective fluid flow/transport phenomenon problem 3065. Apply verification and validation of numerical model 3076. Demonstrate the ability to use modern CFD Software tools 308 309### 7ME09 Seminar 310 311After successfully completing the course, students will be able to: 312 3131. Organize seminar content logically to ensure clarity in objectives and coherence in information flow 3142. Demonstrate in-depth understanding of the seminar topic by explaining key concepts with clarity and elaboration. 3153. Apply effective presentation and communication techniques to engage the audience professionally. 3164. Create clear, and visually appealing presentation materials to enhance understanding 3175. Analyse and respond to audience queries with logical reasoning and critical thinking.`},{id:"be-sem8",label:"B.E. Semester-VIII",content:`### 8ME01 Operation Research Techniques 318 319After successfully completing the course, students will be able to: 320 3211. Apply graphical and simplex methods to solve Linear Programming (LP) problems. 3222. Apply Transportation Models and Assignment Models to determine optimal solutions. 3233. Analyze PERT and CPM Network Models to assess project timelines and resource efficiency. 3244. Solve waiting line and sequencing models to determine optimal solution. 3255. Solve Simulation and Dynamic Programming problems for optimal strategies. 3266. Apply replacement models for individual and group policies. 327 328### 8ME02 I.C. Engines 329 330After successfully completing the course, students will be able to: 331 3321. Analyze the various performance parameters of IC engines by using principles of thermodynamics. 3332. Compare the major fuel groups for IC engines 3343. Explain the normal & Abnormal combustion processes in SI and CI engines 3354. Identify relevance of environment and emissions from IC engine 336 337### 8ME03 Production Planning & Control 338 339After successfully completing the course, students will be able to: 340 3411. Understand the importance of production planning and control, its functions and advantages. 3422. Apply the skills of calculating for sales forecasts using various forecasting methods. 3433. Formulate production order and Production Plan for given batch size 3444. Explain concept of machine capacity, loading of machines man machine activity charts. 3455. Explain concept of inventory control & various cases of inventory system 3466. Apply the modern philosophies of management like CIM, JIT, MRP-I and MRP-II. 347 348### 8ME03 Artificial Intelligence 349 350After successfully completing the course, students will be able to: 351 3521. Illustrate the concept of knowledge and knowledge base. 3532. Explain the structure and working of an Expert System. 3543. Illustrate the methods of knowledge representation. 3554. Explain the design pre-requisites and design procedure of expert system 3565. Explain the skills of development of expert system for industrial problems. 3576. Illustrate the concept of fuzzy logic and fuzzy engineering. 358 359### 8ME04 Refrigeration & Air Conditioning 360 361After successfully completing the course, students will be able to: 362 3631. Analyze the effect of different parameters on performance of Vapour Compressor Refrigeration System (VCR) with different types of refrigerant. 3642. Analyze the elementary treatment of multistage pressure system along with fundamental of cryogenics engineering. 3653. Explain various components of refrigeration system and applications including leak detection. 3664. Apply the use of psychometric chart in the design of air-conditioning systems. 3675. Illustrate the details Classification of air conditioning systems & its its applications. 3686. Analyze cooling load for different Air Conditioning System 369 370### 8ME04 Robotics & Industrial Applications 371 372After successfully completing the course, students will be able to: 373 3741. Explain the concept of robotics and its applications. 3752. Illustrate robot anatomy and various configurations for different industrial applications. 3763. Apply the concept of kinematic analysis of robots. 3774. Apply the concept robot programming, its methods and programming languages. 378 379### 8ME07 Project 380 381After successfully completing the course, students will be able to: 382 3831. Analyze relevant literature and define a research problem with well-formulated objectives. 3842. Plan and execute the project using appropriate methodologies and systematic work distribution. 3853. Demonstrate technical proficiency through structured presentations, demonstrations, and effective communication. 3864. Interpret and analyze feedback, refine project implementation, and present meaningful results and conclusions. 3875. Exhibit professional ethics, teamwork, and project documentation skills through effective report writing and participation in research dissemination activities.`}],a=[{id:"me-sem1",label:"M.E. Semester-I",content:`### 1MMD1 Advanced Manufacturing Processes 388 389After successfully completing the course, students will be able to: 390 3911. Understand the mechanics of metal machining processes. 3922. Apply the concept of computer numerical control technology. 3933. Understand various metal casting processes. 3944. Distinguish the various welding processes. 3955. Analyze various metal forming processes. 3966. Apply various unconventional machining processes. 397 398### 1MMD2 Advanced Machine Design 399 400After successfully completing the course, students will be able to: 401 4021. Apply failure theories to ductile and brittle materials 4032. Apply Stress-Life approach 4043. Apply Strain-Life approach 4054. Apply LEFM approach 4065. Apply fatigue from variable amplitude loading and statistical aspects 4076. Apply surface failure approach in mechanical design 408 409### 1MMD3 Computer Aided Design and Engineering 410 411After successfully completing the course, students will be able to: 412 4131. Illustrate concept of CAD/ CAM and CIM. 4142. Apply knowledge using CAD modeling for component design. 4153. Illustrate the fundamentals of finite element analysis 4164. Apply FEA techniques to analyze problems in stress on beams, three dimensional frames, heat transfer and fluid flow. 417 418### 1MMD4 Design for Material Handling Equipments 419 420After successfully completing the course, students will be able to: 421 4221. Selection of a proper material handling system 4232. Awareness about the specifications of the elements of a material handling system like ropes, chains, pulleys, sheaves etc. for Hoist. 4243. Forces involved with in material handling like load lifting, buckets, belts etc. 4254. Types of conveyors and the Safety associated with it. 4265. Selection of Drives and Grabbing and Arresting Mechanism Attachments for materials handling 427 428### 1MMD5 Lean Manufacturing 429 430After successfully completing the course, students will be able to: 431 4321. Explain the concept, history and applications of lean manufacturing 4332. Interpret different elements of Toyota Production System, 4343. Interpret different tools of lean production processes 4354. Apply cellular systems for production. 4365. Apply the concepts of TPM for quality improvement. 4376. Apply the concepts of Lean Manufacturing for sustaining improvements`},{id:"me-sem2",label:"M.E. Semester-II",content:`### 2MMD1 Advanced Material Technology 438 439After successfully completing the course, students will be able to: 440 4411. Comprehensive understanding of various advanced materials. 4422. Understanding the principles and concepts of internal structure of materials. 4433. Applying the knowledge of material properties for various applications. 4444. Exploring the advanced manufacturing techniques of various metals and non metals. 445 446### 2MMD2 Rapid Prototyping & Tooling 447 448After successfully completing the course, students will be able to: 449 4501. Aware of role of rapid prototyping in product development process 4512. To identify various Rapid Prototyping Processes 4523. Analyze the principles of Stereo lithography and Laser sintering process 4534. Understand various types of Pre-processing, processing, post-processing errors in Rapid prototyping.
4545. To Identify the various types of data formats and software's used in Rapid prototyping 4556. To Understand the concept of Reverse engineering 456 457### 2MMD3 Mechatronics in System Design 458 459After successfully completing the course, students will be able to: 460 4611. Understand scope and application of mechatronics with various electromechanical devices and components 4622. Understand basics of electronic signals, working, applications of electronic devices like microcontroller, PLC etc. 4633. Understand role, working of different control components of hydraulic, pneumatic systems and their Applications 4644. Make pneumatic circuits commonly used in mechanical line automation and their industrial applications. 4655. Make hydraulic circuits commonly used in mechanical line automation and their industrial applications. 4666. Analyze and also make simple but complete mechatronics systems. 467 468### 2MMD4 Experimental Stress Analysis 469 470After successfully completing the course, students will be able to: 471 4721. Apply stress optic law using photo elastic bench 4732. Use strain measurement methods 4743. Use electrical resistance strain gauge 4754. Apply Moire Methods 4765. Apply brittle coating methods 477 478### 2MMD5 Computer Assisted Production Management 479 480After successfully completing the course, students will be able to: 481 4821. Explain the fundamental knowledge of Computer Aided Process Planning 4832. Explain Computer Assisted Quality Control 4843. Explain Capacity Planning 4854. Explain the Just in Time and Computer Aided Inventory Control.`}],s=i("courseOutcomes.beSections",t),n=i("courseOutcomes.meSections",a),r=j=>y("courseOutcomes.beSections",j),o=j=>y("courseOutcomes.meSections",j),l=(j,P,k)=>{const O={id:`custom-${Date.now()}`,label:"New Semester",content:""},G=[...j];G.splice(P+1,0,O),k(G)},h=(j,P,k)=>{k(j.filter((O,G)=>G!==P))},N=(j,P)=>e.jsxs("div",{className:"p-6 space-y-1",children:[p&&e.jsx("button",{onClick:()=>l(j,-1,P),className:"w-full py-1.5 mb-2 border-2 border-dashed border-green-300 text-green-600 hover:border-green-500 hover:bg-green-50 rounded-lg text-sm font-medium transition-colors",children:"+ Insert at Beginning"}),j.map((k,O)=>e.jsxs(er.Fragment,{children:[e.jsxs("div",{className:"border-b border-gray-200 pb-2",children:[e.jsxs("button",{onClick:()=>I(g===k.id?null:k.id),className:"w-full flex items-center justify-between py-3 px-4 hover:bg-gray-50 transition-colors",children:[e.jsx("span",{className:"font-medium text-gray-700 text-left",children:p?e.jsx(b,{value:k.label,onSave:G=>{const Q=[...j];Q[O]={...Q[O],label:G},P(Q)}}):k.label}),e.jsxs("div",{className:"flex items-center gap-2 shrink-0",children:[p&&e.jsx("button",{onClick:G=>{G.stopPropagation(),window.confirm(`Delete "${k.label}"? This cannot be undone.`)&&h(j,O,P)},className:"px-2 py-1 bg-red-500 text-white text-xs rounded hover:bg-red-600",children:"Delete"}),e.jsx("span",{className:"px-4 py-1 bg-ssgmce-blue text-white text-sm rounded hover:bg-ssgmce-dark-blue transition-colors",children:g===k.id?"Hide":"View"})]})]}),e.jsx(z,{children:g===k.id&&e.jsx(A.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},className:"overflow-hidden",children:e.jsx("div",{className:"px-4 py-4 bg-gray-50",children:e.jsx(L,{value:k.content,onSave:G=>{const Q=[...j];Q[O]={...Q[O],content:G},P(Q)},placeholder:`Click to edit ${k.label} course outcomes (Markdown supported)...`,className:"w-full"})})})})]}),p&&e.jsx("button",{onClick:()=>l(j,O,P),className:"w-full py-1 border-2 border-dashed border-green-300 text-green-600 hover:border-green-500 hover:bg-green-50 rounded-lg text-xs font-medium transition-colors",children:"+ Insert After"})]},k.id))]});return e.jsxs("div",{className:"space-y-8",children:[e.jsxs("div",{className:"text-center mb-8",children:[e.jsx("h2",{className:"text-3xl font-bold text-gray-800 mb-3",children:"Course Outcomes"}),e.jsx("p",{className:"text-gray-600 max-w-2xl mx-auto",children:"Comprehensive course outcomes for all semesters of B.E. Mechanical Engineering and M.E. Advanced Manufacturing & Mechanical Systems Design"})]}),e.jsxs("div",{className:"bg-white rounded-xl shadow-sm border border-gray-200 overflow-hidden",children:[e.jsx("div",{className:"bg-[#003366] px-6 py-4 text-center",children:e.jsx("h3",{className:"text-xl font-bold text-white",children:"B.E. Mechanical Engineering - Course Outcomes"})}),N(s,r),p&&e.jsx("div",{className:"px-6 pb-4",children:e.jsx("button",{onClick:()=>l(s,s.length-1,r),className:"w-full py-3 px-4 bg-green-500 text-white rounded-lg hover:bg-green-600 transition-colors font-medium",children:"+ Add New B.E. Semester"})})]}),e.jsxs("div",{className:"bg-white rounded-xl shadow-sm border border-gray-200 overflow-hidden",children:[e.jsx("div",{className:"bg-[#003366] px-6 py-4 text-center",children:e.jsx("h3",{className:"text-xl font-bold text-white",children:"M.E. Advanced Manufacturing & Mechanical Systems Design - Course Outcomes"})}),N(n,o),p&&e.jsx("div",{className:"px-6 pb-4",children:e.jsx("button",{onClick:()=>l(n,n.length-1,o),className:"w-full py-3 px-4 bg-green-500 text-white rounded-lg hover:bg-green-600 transition-colors font-medium",children:"+ Add New M.E. Semester"})})]})]})})(),curriculum:e.jsxs("div",{className:"space-y-8",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("h3",{className:"text-2xl font-bold text-gray-800 border-l-4 border-orange-500 pl-4",children:"Scheme and Syllabus"}),p&&e.jsxs("button",{onClick:Mn,className:"flex items-center gap-2 px-4 py-2 bg-ssgmce-blue text-white rounded-lg hover:bg-blue-700 transition-colors text-sm font-semibold",children:[e.jsx(S,{})," Add Section"]})]}),e.jsxs("div",{className:"bg-white rounded-xl shadow-sm border border-gray-200 overflow-hidden",children:[E().length===0&&e.jsx("div",{className:"p-8 text-center text-gray-500 text-sm",children:p?'No sections yet. Click "Add Section" to create one (e.g. B.E., M.E.).':"No syllabus items available yet."}),E().map((t,a,s)=>{const n=zt[a]||[];return e.jsxs("div",{className:"grid md:grid-cols-12 border-b border-gray-200 last:border-b-0",children:[e.jsx("div",{className:"md:col-span-4 bg-gray-50/50 p-6 flex items-start border-r border-gray-100",children:e.jsxs("div",{className:"flex flex-col gap-3 w-full",children:[e.jsxs("div",{className:"flex items-center gap-3 w-full",children:[p&&e.jsx("input",{type:"checkbox",checked:t.items.length>0&&n.length===t.items.length,onChange:()=>On(a),className:"w-4 h-4 rounded border-gray-300",title:"Select All"}),e.jsx("h4",{className:"font-bold text-lg text-gray-800 flex-1",children:e.jsx(b,{value:t.title,onSave:r=>Dn(a,r)})})]}),p&&e.jsxs("div",{className:"flex items-center gap-2 flex-wrap",children:[e.jsx("button",{onClick:()=>Ga(a,"up"),disabled:a===0,className:"p-1 text-gray-400 hover:text-gray-700 disabled:opacity-25 disabled:cursor-not-allowed transition-colors",title:"Move section up",children:e.jsx(es,{className:"text-xs"})}),e.jsx("button",{onClick:()=>Ga(a,"down"),disabled:a===s.length-1,className:"p-1 text-gray-400 hover:text-gray-700 disabled:opacity-25 disabled:cursor-not-allowed transition-colors",title:"Move section down",children:e.jsx(ts,{className:"text-xs"})}),e.jsxs("button",{onClick:()=>Tn(a),className:"flex items-center gap-1 px-2 py-1 bg-ssgmce-blue text-white rounded text-xs font-semibold hover:bg-blue-700 transition-colors",children:[e.jsx(S,{className:"text-[10px]"})," Add Item"]}),n.length>0&&e.jsxs("button",{onClick:()=>Vn(a),className:"flex items-center gap-1 px-2 py-1 bg-red-500 text-white rounded text-xs font-semibold hover:bg-red-600 transition-colors",children:[e.jsx($,{className:"text-[10px]"})," Delete Selected (",n.length,")"]}),e.jsxs("button",{onClick:()=>Cn(a),className:"flex items-center gap-1 px-2 py-1 text-red-500 hover:text-red-700 text-xs font-semibold",title:"Delete Section",children:[e.jsx($,{className:"text-[10px]"})," Delete Section"]})]})]})}),e.jsxs("div",{className:"md:col-span-8 p-6",children:[t.items.length===0&&e.jsx("p",{className:"text-sm text-gray-400 italic",children:p?'No items yet. Click "Add Item" to create one.':"No items available yet."}),e.jsx("ul",{className:"space-y-4",children:t.items.map((r,o,l)=>e.jsxs("li",{className:"flex items-start gap-3 group",children:[p&&e.jsxs("div",{className:"flex flex-col items-center gap-0.5 flex-shrink-0 mt-0.5",children:[e.jsx("button",{onClick:()=>$a(a,o,"up"),disabled:o===0,className:"p-0.5 text-gray-400 hover:text-gray-700 disabled:opacity-25 disabled:cursor-not-allowed transition-colors",title:"Move up",children:e.jsx(es,{className:"text-[10px]"})}),e.jsx("span",{className:"text-[10px] font-bold text-gray-500 leading-none w-4 text-center",children:o+1}),e.jsx("button",{onClick:()=>$a(a,o,"down"),disabled:o===l.length-1,className:"p-0.5 text-gray-400 hover:text-gray-700 disabled:opacity-25 disabled:cursor-not-allowed transition-colors",title:"Move down",children:e.jsx(ts,{className:"text-[10px]"})})]}),p&&e.jsx("input",{type:"checkbox",checked:n.includes(o),onChange:()=>Bn(a,o),className:"mt-2 w-4 h-4 rounded border-gray-300"}),e.jsx("span",{className:"w-2 h-2 rounded-full bg-ssgmce-orange mt-2 block group-hover:bg-ssgmce-blue transition-colors"}),e.jsxs("div",{className:"flex-1 flex flex-col sm:flex-row sm:items-center justify-between gap-2 border-b border-gray-50 pb-2",children:[e.jsx("span",{className:"text-gray-700 text-sm font-medium flex-1",children:e.jsx(b,{value:r.label,onSave:h=>_a(a,o,"label",h)})}),e.jsxs("div",{className:"flex items-center gap-2",children:[p&&e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"flex flex-col gap-1",children:[e.jsx("input",{type:"text",value:r.link||"",onChange:h=>_a(a,o,"link",h.target.value),placeholder:"Link URL or use upload",className:`text-xs px-2 py-1 border rounded w-40 ${r.fileUrl?"border-green-400 bg-green-50":"border-gray-300"}`}),r.fileName&&e.jsxs("span",{className:"text-xs text-green-700 bg-green-100 border border-green-300 rounded px-1.5 py-0.5 truncate max-w-[160px] font-medium",title:r.fileName,children:["â ",r.fileName]})]}),e.jsxs("div",{className:"relative",children:[e.jsx("input",{type:"file",accept:".pdf",onChange:h=>Rn(a,o,h),className:"absolute inset-0 w-full h-full opacity-0 cursor-pointer",id:`file-upload-${a}-${o}`}),e.jsx("label",{htmlFor:`file-upload-${a}-${o}`,className:`flex items-center gap-1 px-2 py-1 text-xs rounded cursor-pointer transition-colors ${Wt[`${a}-${o}`]?"bg-gray-300 text-gray-500":r.fileUrl?"bg-green-500 text-white hover:bg-green-600":"bg-blue-500 text-white hover:bg-blue-600"}`,title:r.fileUrl?"Re-upload PDF":"Upload PDF",children:Wt[`${a}-${o}`]?"Uploading...":e.jsxs(e.Fragment,{children:[e.jsx(ue,{})," ",r.fileUrl?"Re-upload":"PDF"]})})]}),e.jsx("button",{onClick:()=>In(a,o),className:"text-red-500 hover:text-red-700 p-1",title:"Delete Item",children:e.jsx($,{className:"text-xs"})})]}),!p&&e.jsx("a",{href:rr(r.fileUrl||r.link||"")||"#",target:"_blank",rel:"noopener noreferrer",className:"text-xs font-bold text-ssgmce-blue hover:text-ssgmce-orange hover:underline uppercase tracking-wide shrink-0",onClick:h=>{!r.fileUrl&&(!r.link||r.link==="#")&&(h.preventDefault(),alert("No file available for download."))},children:"Download"})]})]})]},o))})]})]},t.id||a)})]})]}),laboratories:e.jsxs("div",{className:"space-y-8",children:[e.jsx("h3",{className:"text-2xl font-bold text-gray-800 border-l-4 border-orange-500 pl-4",children:"Infrastru
485cture and Laboratories"}),e.jsxs("div",{className:"bg-white rounded-xl shadow-sm border border-gray-200 overflow-hidden",children:[i("laboratories",de).map((t,a)=>e.jsxs("div",{className:"grid md:grid-cols-12 border-b border-gray-200 last:border-b-0 relative",children:[p&&e.jsx("button",{onClick:()=>{const s=i("laboratories",de).filter((n,r)=>r!==a);y("laboratories",s)},className:"absolute top-2 right-2 z-10 bg-red-500 text-white px-3 py-1.5 rounded-lg text-sm font-medium shadow-md hover:bg-red-600 transition-colors",title:"Delete laboratory",children:"Delete Lab"}),e.jsxs("div",{className:"md:col-span-5 bg-gray-50 p-6 border-r border-gray-100",children:[e.jsx(De,{src:t.image||"",onSave:s=>{const n=[...i("laboratories",de)];n[a].image=s,y("laboratories",n)},className:"aspect-video w-full object-cover rounded-lg",placeholder:"Click to add image"}),e.jsx("h4",{className:"font-bold text-gray-800 text-center mt-4",children:e.jsx(b,{value:t.name,onSave:s=>{const n=[...i("laboratories",de)];n[a].name=s,y("laboratories",n)}})})]}),e.jsx("div",{className:"md:col-span-7 p-6",children:e.jsx("div",{className:"space-y-4",children:e.jsxs("div",{children:[e.jsx("h5",{className:"font-semibold text-red-600 text-sm mb-2",children:"Lab Resources / Facilities:"}),p?e.jsx(L,{value:t.resources,onSave:s=>{const n=[...i("laboratories",de)];n[a].resources=s,y("laboratories",n)}}):e.jsx("div",{className:"text-gray-700 text-sm leading-relaxed whitespace-pre-line",children:t.resources})]})})})]},a)),p&&e.jsx("div",{className:"p-6 bg-gray-50 border-t border-gray-200",children:e.jsx("button",{onClick:()=>{const t=[...i("laboratories",de),{name:"New Laboratory",image:"",resources:"Equipment and facilities details..."}];y("laboratories",t)},className:"w-full py-3 px-4 bg-ssgmce-blue text-white rounded-lg hover:bg-ssgmce-dark-blue transition-colors font-medium",children:"+ Add New Laboratory"})})]})]}),pride:e.jsx("div",{className:"space-y-8",children:e.jsxs(A.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},children:[e.jsxs("div",{className:"flex items-center gap-3 mb-8",children:[e.jsx(Xn,{className:"text-4xl text-yellow-500"}),e.jsx("h3",{className:"text-3xl font-bold text-gray-800",children:"Pride of the Department"})]}),e.jsxs("div",{className:"flex gap-2 mb-6 border-b",children:[e.jsx("button",{onClick:()=>ot("gate"),className:`px-6 py-3 font-semibold transition-colors ${ne==="gate"?"border-b-4 border-ssgmce-orange text-ssgmce-blue":"text-gray-600 hover:text-ssgmce-blue"}`,children:"GATE Qualified"}),e.jsx("button",{onClick:()=>ot("toppers"),className:`px-6 py-3 font-semibold transition-colors ${ne==="toppers"?"border-b-4 border-ssgmce-orange text-ssgmce-blue":"text-gray-600 hover:text-ssgmce-blue"}`,children:"University Toppers"}),e.jsx("button",{onClick:()=>ot("alumni"),className:`px-6 py-3 font-semibold transition-colors ${ne==="alumni"?"border-b-4 border-ssgmce-orange text-ssgmce-blue":"text-gray-600 hover:text-ssgmce-blue"}`,children:"Top Alumnis of Department"})]}),ne==="gate"&&(()=>{const t=i("pride.gateMarkdown",lr(i("pride.gate",cr)));return p?e.jsx(L,{value:t,onSave:a=>x("pride.gateMarkdown",a),showDocImport:!0,docTemplateUrl:"/uploads/documents/departments/mechanical/templates/mechanical_gate_template.docx",docTemplateLabel:"Download Template"}):e.jsx(Oe,{markdown:t})})(),ne==="toppers"&&(()=>{const t=i("pride.toppersMarkdown",dr({be:i("pride.toppers.be",mr)}));return p?e.jsx(L,{value:t,onSave:a=>x("pride.toppersMarkdown",a),showDocImport:!0,docTemplateUrl:"/uploads/documents/departments/mechanical/templates/mechanical_toppers_template.docx",docTemplateLabel:"Download Template"}):e.jsx(Oe,{markdown:t})})(),ne==="alumni"&&(()=>{const t=i("pride.alumniMarkdown",pr(i("pride.alumni",hr),i("pride.alumniTitle","Top Alumnis of Department")));return p?e.jsx(L,{value:t,onSave:a=>x("pride.alumniMarkdown",a),showDocImport:!0,docTemplateUrl:"/uploads/documents/departments/mechanical/templates/mechanical_alumni_template.docx",docTemplateLabel:"Download Template"}):e.jsx(Oe,{markdown:t})})()]})}),placements:e.jsx("div",{className:"space-y-8",children:e.jsx(z,{mode:"wait",children:Y?e.jsx(A.div,{initial:{opacity:0,x:20}
485,animate:{opacity:1,x:0},exit:{opacity:0,x:-20},children:rn()},"detail"):e.jsxs(A.div,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},exit:{opacity:0,x:20},className:"bg-white rounded-xl shadow-sm border border-gray-200 overflow-hidden",children:[e.jsxs("div",{className:"p-6 border-b border-gray-100 flex justify-between items-center bg-gray-50/50",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-2xl font-bold text-gray-800",children:"Placement Statistics"}),e.jsx("p",{className:"text-sm text-gray-500 mt-1",children:"Year-wise breakdown of student placements"})]}),e.jsxs("div",{className:"flex items-center gap-4",children:[p&&e.jsxs("button",{onClick:()=>{H(""),rt(""),be(!0)},className:"flex items-center gap-2 bg-gradient-to-r from-ssgmce-blue to-blue-700 text-white px-4 py-2 rounded-lg font-semibold hover:shadow-lg transition-all text-sm",children:[e.jsx(S,{})," Add Year"]}),e.jsx(Ja,{className:"text-4xl text-blue-100"})]})]}),e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"w-full text-left border-collapse",children:[e.jsx("thead",{children:e.jsxs("tr",{className:"bg-gray-50 text-gray-700 text-sm uppercase tracking-wider border-b border-gray-200",children:[e.jsx("th",{className:"px-6 py-4 font-bold text-center w-20",children:"Sr. No."}),e.jsx("th",{className:"px-6 py-4 font-bold text-center",children:"Academic Year"}),e.jsx("th",{className:"px-6 py-4 font-bold text-center",children:"No. of Students Placed"}),e.jsx("th",{className:"px-6 py-4 font-bold text-center",children:"Details Report"})]})}),e.jsx("tbody",{className:"divide-y divide-gray-100 text-sm",children:nn.map((t,a)=>e.jsxs("tr",{className:"hover:bg-blue-50/30 transition-colors",children:[e.jsx("td",{className:"px-6 py-4 text-center font-mono text-gray-400",children:a+1}),e.jsx("td",{className:"px-6 py-4 text-center font-bold text-gray-700",children:t.year}),e.jsx("td",{className:"px-6 py-4 text-center font-bold text-ssgmce-blue text-lg",children:t.count}),e.jsx("td",{className:"px-6 py-4 text-center",children:e.jsxs("div",{className:"flex items-center justify-center gap-2",children:[e.jsx("button",{onClick:()=>st(t.id),className:"text-ssgmce-blue hover:text-ssgmce-orange font-medium text-xs border border-gray-200 hover:border-blue-400 bg-blue-50 hover:bg-blue-100 px-4 py-2 rounded-full transition-all",children:"View Details"}),p&&e.jsx("button",{onClick:()=>en(t.id),className:"text-red-600 hover:text-red-700 font-medium text-xs border border-red-200 hover:border-red-300 bg-red-50 hover:bg-red-100 px-3 py-2 rounded-full transition-all",title:`Delete ${t.year}`,children:e.jsx($,{})})]})})]},t.id))})]})}),e.jsx("div",{className:"p-4 text-xs text-gray-400 text-center bg-gray-50 border-t border-gray-100",children:"* Placements still in progress for the current academic year."})]},"summary")})}),hod:e.jsxs("div",{className:"bg-white rounded-xl shadow-lg border border-gray-100 overflow-hidden",children:[e.jsx("div",{className:"bg-gradient-to-r from-blue-50 via-white to-blue-50 p-8 border-b border-gray-100",children:e.jsxs("div",{className:"flex flex-col md:flex-row gap-8 items-center",children:[e.jsx("div",{className:"flex-shrink-0",children:e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"absolute -inset-2 bg-gradient-to-r from-ssgmce-blue to-ssgmce-orange rounded-2xl blur opacity-25"}),e.jsx("div",{className:"relative rounded-xl overflow-hidden shadow-2xl border-4 border-white group w-72 md:w-80 lg:w-96",children:e.jsx(De,{src:i("hod.photo",Rr),onSave:t=>y("hod.photo",t),alt:"Dr. S. P. Trikal - HOD Mechanical",className:"w-full h-auto group-hover:scale-105 transition-transform duration-500"})})]})}),e.jsxs("div",{className:"flex-1",children:[e.jsx("h3",{className:"text-2xl font-bold text-gray-900",children:e.jsx(b,{value:i("hod.name","Dr. S. P. Trikal"),onSave:t=>y("hod.name",t),placeholder:"Click to edit HOD name..."})}),e.jsx("div",{className:"text-ssgmce-blue font-bold text-sm mt-1 uppercase tracking-wide",children:e.jsx(b,{value:i("hod.role","Head of Department"),onSave:t=>y("hod.role",t),placeholder:"Click to edit role..."})}),e.jsx("p",{className:"text-gray-600 text-sm mt-1",children:e.jsx(b,{value:i("hod.departmentTitle","Mechanical Engineering"),onSave:t=>y("hod.departmentTitle",t),placeholder:"Click to edit department title..."})}),e.jsx("div",{className:"mt-4 flex items-center gap-4 text-sm text-gray-600",children:e.jsxs("div",{className:"flex items-center",children:[e.jsx(Qa,{className:"mr-2 text-ssgmce-orange"}),e.jsx("span",{children:e.jsx(b,{value:i("hod.email","[email protected]"),onSave:t=>y("hod.email",t),placeholder:"Click to edit email..."})})]})}),e.jsxs("div",{className:"mt-4 flex flex-wrap gap-2",children:[e.jsx("span",{className:"px-3 py-1 bg-white border border-gray-200 rounded-full text-xs font-semibold text-ssgmce-blue",children:e.jsx(b,{value:i("hod.badge1","Ph.D"),onSave:t=>y("hod.badge1",t),placeholder:"Badge 1..."})}),e.jsx("span",{className:"px-3 py-1 bg-white border border-gray-200 rounded-full text-xs font-semibold text-ssgmce-blue",children:e.jsx(b,{value:i("hod.badge2","Manufacturing"),onSave:t=>y("hod.badge2",t),placeholder:"Badge 2..."})})]})]})]})}),e.jsxs("div",{className:"p-8 md:p-10 relative bg-white",children:[e.jsx(qn,{
485className:"absolute top-8 right-8 text-6xl text-blue-50 -z-0"}),e.jsxs("div",{className:"relative z-10 max-w-5xl mx-auto",children:[e.jsxs("div",{className:"mb-6 text-center",children:[e.jsx("h3",{className:"text-2xl font-bold text-gray-800",children:e.jsx(b,{value:i("hod.messageTitle","Message from the HOD"),onSave:t=>y("hod.messageTitle",t),placeholder:"Click to edit title..."})}),e.jsx("div",{className:"h-1 w-20 bg-ssgmce-orange mt-2 rounded-full mx-auto"})]}),e.jsx("div",{className:"space-y-4 text-gray-700 text-base leading-relaxed text-justify",children:e.jsx(L,{value:i("hod.message",`Dear Friends, 486 487The Mechanical Engineering Department at SSGMCE Shegaon is one of the most reputed departments in terms of facility, faculty, students, and activities. It continues to lead and expand its activities in various directions. The Department is known for the Expertise and State-of-the-art facilities especially in CAD-CAM, Computational Fluid Dynamics (CFD), Manufacturing and Production Technology, Energy Conversion, Computerized I. C. Engines, Mechatronics, Dr. Georg H Endress Lab and also in other core areas. Experimental and computational facilities are being continuously upgraded. Industry interaction has been increased with industrial visits and arranging expert lectures by industry personnel and carrying out the industry sponsored projects for students. 488 489The students actively involve in various reputed contests of national and international repute like ROBOCON, Tech Fest, and technical competitions in various colleges and also credited number of Winner titles to the department. We have various students chapters like SAE, IEEE, IEI Chapter and ISTE Students' chapters guided by faculty mentors for the overall development of the students. 490 491The department does conduct guiding sessions and mock tests for students for exams like GATE, GRE etc. The department has been providing an excellent placement to students. The placement cell also facilitates the students for getting training in industries. Good number of Short Term training Programmes (STTP), Workshops and Seminars are also organized for teachers for sharing and updating the technical knowledge. 492 493*Wishing you all a successful and fulfilling academic journey ahead.*`),onSave:t=>y("hod.message",t),placeholder:"Click to edit HOD message (Markdown supported)...",className:"w-full"})}),e.jsxs("div",{className:"mt-8 pt-6 border-t border-gray-100 flex flex-col items-start justify-start",children:[e.jsxs("div",{children:[e.jsx("div",{className:"font-dancing text-2xl text-ssgmce-blue",children:e.jsx(b,{value:i("hod.name","Dr. S. P. Trikal"),onSave:t=>y("hod.name",t),placeholder:"Click to edit HOD name..."})}),e.jsx("div",{className:"text-sm text-gray-500",children:e.jsx(b,{value:i("hod.role","Head, Department of Mechanical Engineering"),onSave:t=>y("hod.role",t),placeholder:"Click to edit designation..."})})]}),e.jsx("div",{className:"text-right text-sm text-gray-400",children:e.jsx(b,{value:i("hod.collegeName","Shri Sant Gajanan Maharaj College of Engineering, Shegaon"),onSave:t=>y("hod.collegeName",t),placeholder:"Click to edit college name...",multiline:!0,richText:!1})})]})]})]})]}),activities:e.jsxs("div",{className:"space-y-8",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("h3",{className:"text-2xl font-bold text-gray-800 border-l-4 border-orange-500 pl-4",children:e.jsx(b,{value:i("activitiesTitle","Curricular Activities"),onSave:t=>x("activitiesTitle",t)})}),e.jsxs("span",{className:"hidden sm:inline-block text-sm text-gray-500 bg-gray-100 px-4 py-1.5 rounded-full",children:[R.length," Activities"]})]}),p&&e.jsx("div",{className:"flex justify-end",children:e.jsx("button",{onClick:bn,className:"px-5 py-2.5 bg-ssgmce-blue text-white rounded-lg hover:bg-ssgmce-dark-blue transition-colors font-medium shadow-sm",children:"+ Add New Activity"})}),e.jsx("div",{className:"space-y-5",children:R.slice(0,lt).map((t,a)=>e.jsxs(A.div,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{delay:a*.03,duration:.35},className:"bg-white rounded-xl border border-gray-200 shadow-sm hover:shadow-md transition-shadow duration-300 overflow-hidden relative",children:[p&&e.jsx("button",{onClick:()=>yn(a),className:"absolute top-3 right-3 z-10 bg-red-500 text-white px-3 py-1.5 rounded-lg text-sm font-medium shadow-md hover:bg-red-600 transition-colors",title:"Delete activity",children:"Delete Activity"}),e.jsxs("div",{className:"flex flex-col sm:flex-row",children:[e.jsx("div",{className:`sm:w-72 flex-shrink-0 ${p?"":"cursor-pointer"}`,onClick:()=>{p||fe(a)},children:p?e.jsx(De,{src:t.image,fallbackSrc:Kt[a]?.image||"",onSave:s=>oe(a,"image",s),alt:t.title,className:"w-full h-48 sm:h-full object-contain bg-gray-50",placeholder:"Click to add activity poster"}):t.image?e.jsx("img",{src:ys(t,a),alt:t.title,className:"w-full h-48 sm:h-full object-contain bg-gray-50",loading:"lazy"}):e.jsx("div",{className:"w-full h-48 sm:h-full flex items-center justify-center bg-gray-50",children:e.jsx(Ot,{className:"text-4xl text-gray-300"})})}),e.jsxs("div",{className:"flex-1 p-5 sm:p-6",children:[e.jsxs("div",{className:"mb-4",children:[e.jsx("span",{className:"inline-flex items-center bg-blue-50 text-blue-700 text-xs font-semibold px-3 py-1 rounded mb-3",children:p?e.jsx(b,{value:t.date,onSave:s=>oe(a,"date",s)}):t.date||"Date to be updated"}),e.jsx("div",{className:"text-lg sm:text-xl font-bold text-gray-800 leading-snug tracking-tight",children:p?e.jsx(b,{value:t.title,onSave:s=>oe(a,"title",s),multiline:!0,className:"w-full"}):t.title})]}),e.jsxs("div",{className:"space-y-4 text-sm text-gray-600",children:[e.jsxs("div",{className:"flex items-start gap-2.5",children:[e.jsx(zn,{className:"text-blue-500 mt-0.5 flex-shrink-0"}
493),e.jsxs("div",{className:"min-w-0 w-full",children:[e.jsx("p",{className:"font-semibold text-gray-800 mb-2",children:"Participants"}),p?e.jsx(L,{value:t.participants,onSave:s=>oe(a,"participants",s),placeholder:"Add participant details..."}):Ct(t.participants)]})]}),e.jsxs("div",{className:"flex items-start gap-2.5",children:[e.jsx(Wn,{className:"text-orange-500 mt-0.5 flex-shrink-0"}),e.jsxs("div",{className:"min-w-0 w-full",children:[e.jsx("p",{className:"font-semibold text-gray-800 mb-2",children:"Organized by"}),p?e.jsx(L,{value:t.organizer,onSave:s=>oe(a,"organizer",s),placeholder:"Add organizer details..."}):Ct(t.organizer)]})]}),(t.resource||p)&&e.jsxs("div",{className:"flex items-start gap-2.5",children:[e.jsx(Ut,{className:"text-green-600 mt-0.5 flex-shrink-0"}),e.jsxs("div",{className:"min-w-0 w-full",children:[e.jsx("p",{className:"font-semibold text-gray-800 mb-2",children:"Resource Person"}),p?e.jsx(L,{value:t.resource,onSave:s=>oe(a,"resource",s),placeholder:"Add resource person details..."}):Ct(t.resource,"Not specified")]})]})]})]})]})]},a))}),R.length>6&&e.jsx("div",{className:"text-center pt-2",children:e.jsx("button",{onClick:()=>Ls(t=>t>=R.length?6:t+6),className:"px-8 py-2.5 bg-blue-600 text-white rounded-full hover:bg-blue-700 transition-colors text-sm font-medium shadow-sm",children:lt>=R.length?"Show Less":`Show More (${R.length-lt} remaining)`})}),e.jsx(z,{children:W!==null&&e.jsx(A.div,{initial:{opacity:0}
493,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 bg-black/80 z-50 flex items-center justify-center p-4",onClick:()=>fe(null),children:e.jsxs(A.div,{initial:{scale:.9},animate:{scale:1},exit:{scale:.9},className:"relative max-w-4xl w-full max-h-[90vh] flex flex-col",onClick:t=>t.stopPropagation(),children:[e.jsx("button",{className:"absolute -top-10 right-0 text-white text-2xl hover:text-gray-300 z-10",onClick:()=>fe(null),children:e.jsx(pe,{})}),e.jsx("img",{src:ys(R[W],W),alt:R[W]?.title,className:"w-full max-h-[80vh] object-contain rounded-lg"}),e.jsx("div",{className:"text-white text-center mt-3 text-sm",children:R[W]?.title}),W>0&&e.jsx("button",{className:"absolute left-2 top-1/2 -translate-y-1/2 text-white text-3xl bg-black/40 rounded-full p-2 hover:bg-black/60",onClick:()=>fe(t=>Math.max(0,t-1)),children:e.jsx(Wa,{})}),W<R.length-1&&e.jsx("button",{className:"absolute right-2 top-1/2 -translate-y-1/2 text-white text-3xl bg-black/40 rounded-full p-2 hover:bg-black/60",onClick:()=>fe(t=>Math.min(R.length-1,t+1)),children:e.jsx(qa,{})})]})})}),e.jsxs("div",{className:"bg-white rounded-xl shadow-sm border border-gray-200 overflow-hidden",children:[e.jsx("div",{className:"bg-gradient-to-r from-[#003366] to-ssgmce-dark-blue px-6 py-4",children:e.jsx("h4",{className:"text-xl font-bold text-white",children:"Student Chapters & Technical Clubs"})}),e.jsx("div",{className:"p-6",children:e.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-4",children:[{name:"SAE India",icon:"???",desc:"Society of Automotive Engineers"},{name:"ISTE Chapter",icon:"??",desc:"Indian Society for Technical Education"},{name:"IEI Chapter",icon:"??",desc:"Institution of Engineers India"},{name:"IEEE Chapter",icon:"?",desc:"Institute of Electrical and Electronics Engineers"}].map((t,a)=>e.jsxs("div",{className:"bg-gray-50 p-4 rounded-lg hover:shadow-md transition-shadow border border-gray-200",children:[e.jsx("div",{className:"text-3xl mb-2",children:t.icon}),e.jsx("h5",{className:"font-bold text-gray-900 text-sm mb-1",children:t.name}),e.jsx("p",{className:"text-xs text-gray-600",children:t.desc})]},a))})})]})]}),achievements:e.jsx(nr,{t:i,updateData:x,isEditing:p,defaultAchievements:Tr}),newsletter:e.jsxs("div",{className:"space-y-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"w-16 h-16 bg-blue-50 text-ssgmce-blue rounded-2xl flex items-center justify-center mx-auto mb-6 text-2xl shadow-sm",children:e.jsx(Za,{})}),e.jsx("h3",{className:"text-3xl font-bold text-gray-800 mb-4",children:e.jsx(b,{value:i("newsletterTitle","Department Newsletters"),onSave:t=>x("newsletterTitle",t)})}),e.jsx("div",{className:"text-gray-500 max-w-2xl mx-auto leading-relaxed",children:e.jsx(b,{value:i("newsletterDescription","Stay updated with the latest happenings, student achievements, faculty contributions, and department events through our periodic newsletters."),onSave:t=>x("newsletterDescription",t),multiline:!0})})]}),e.jsxs(A.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"bg-white rounded-2xl shadow-lg border border-gray-200 overflow-hidden",children:[e.jsxs("div",{className:"bg-gradient-to-r from-gray-800 to-gray-900 text-white px-8 py-5 flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-bold tracking-wide",children:"Newsletter"}),e.jsx("p",{className:"text-sm text-gray-300 mt-1",children:"Department of Mechanical Engineering"})]}),e.jsxs("div",{className:"flex items-center gap-4",children:[p&&e.jsxs("button",{type:"button",onClick:mn,className:"inline-flex items-center gap-2 rounded-full bg-white/10 px-4 py-2 text-sm font-semibold text-white transition hover:bg-white/20",children:[e.jsx(S,{className:"text-xs"}),"Add Newsletter"]}),e.jsx(me,{className:"text-4xl text-blue-200 opacity-40"})]})]}),e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"w-full text-left border-collapse",children:[e.jsx("thead",{children:e.jsxs("tr",{className:"bg-gray-50 text-gray-700 text-sm uppercase tracking-wider border-b border-gray-200",children:[e.jsx("th",{className:"px-6 py-4 font-bold text-center w-20",children:"Sr. No."}),e.jsx("th",{className:"px-6 py-4 font-bold",children:"Publishing Date"}),e.jsx("th",{className:"px-6 py-4 font-bold text-center",children:"More Details"})]})}),e.jsxs("tbody",{className:"divide-y divide-gray-100 text-sm",children:[e.jsxs("tr",{className:"hover:bg-blue-50/30 transition-colors bg-blue-50/10",children:[e.jsx("td",{className:"px-6 py-4 text-center font-mono text-gray-400",children:"1"}),e.jsx("td",{className:"px-6 py-4",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("span",{className:"inline-block px-2 py-0.5 bg-green-100 text-green-700 text-[10px] font-bold uppercase rounded-full",children:"Latest"}),e.jsx("span",{className:"font-bold text-gray-800",children:e.jsx(b,{value:_.title||"Newsletter 2025-26 (Autumn)",onSave:t=>Da("latest",0,"title",t)})})]})}),e.jsx("td",{className:"px-6 py-4 text-center",children:p?e.jsxs("div",{className:"flex flex-col items-center gap-2",children:[e.jsxs("label",{className:"inline-flex cursor-pointer items-center gap-2 rounded-full border border-gray-200 bg-blue-50 px-4 py-2 text-xs font-medium text-ssgmce-blue transition-all hover:border-blue-400 hover:bg-blue-100",children:[e.jsx(ue,{className:"text-xs"}),Ge["latest-0"]?"Uploading...":"Upload PDF",e.jsx("input",{type:"file",accept:"application/pdf",className:"hidden",disabled:Ge["latest-0"],onChange:t=>Ba("latest",0,t)})]}),_.link&&e.jsx("a",{href:_.link,target:"_blank",rel:"noopener noreferrer",className:"text-xs font-medium text-ssgmce-blue underline underline-offset-2",children:Ea(_.link,_.fileName||"")}),_e["latest-0"]&&e.jsx("span",{className:"text-center text-[11px] text-red-500",children:_e["latest-0"]}),e.jsxs("button",{type:"button",onClick:()=>Ia("latest",0),className:"inline-flex items-center gap-2 rounded-full border border-red-200 bg-red-50 px-4 py-2 text-xs font-medium text-red-600 transition hover:bg-red-100",children:[e.jsx($,{className:"text-xs"}),"Delete"]})]}):e.jsxs("a",{href:_.link||"#",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 text-ssgmce-blue hover:text-ssgmce-orange font-medium text-xs border border-gray-200 hover:border-blue-400 bg-blue-50 hover:bg-blue-100 px-4 py-2 rounded-full transition-all",children:[e.jsx(me,{className:"text-xs"})," Click for Details"]}
493)})]}),Le.map((t,a)=>e.jsxs("tr",{className:"hover:bg-blue-50/30 transition-colors",children:[e.jsx("td",{className:"px-6 py-4 text-center font-mono text-gray-400",children:a+2}),e.jsx("td",{className:"px-6 py-4",children:e.jsx("span",{className:"font-bold text-gray-700",children:e.jsx(b,{value:t.vol,onSave:s=>Da("archives",a,"vol",s)})})}),e.jsx("td",{className:"px-6 py-4 text-center",children:p?e.jsxs("div",{className:"flex flex-col items-center gap-2",children:[e.jsxs("label",{className:"inline-flex cursor-pointer items-center gap-2 rounded-full border border-gray-200 bg-blue-50 px-4 py-2 text-xs font-medium text-ssgmce-blue transition-all hover:border-blue-400 hover:bg-blue-100",children:[e.jsx(ue,{className:"text-xs"}),Ge[`archives-${a}`]?"Uploading...":"Upload PDF",e.jsx("input",{type:"file",accept:"application/pdf",className:"hidden",disabled:Ge[`archives-${a}`],onChange:s=>Ba("archives",a,s)})]}),t.link&&e.jsx("a",{href:t.link,target:"_blank",rel:"noopener noreferrer",className:"text-xs font-medium text-ssgmce-blue underline underline-offset-2",children:Ea(t.link,t.fileName)}),_e[`archives-${a}`]&&e.jsx("span",{className:"text-center text-[11px] text-red-500",children:_e[`archives-${a}`]}),e.jsxs("button",{type:"button",onClick:()=>Ia("archives",a),className:"inline-flex items-center gap-2 rounded-full border border-red-200 bg-red-50 px-4 py-2 text-xs font-medium text-red-600 transition hover:bg-red-100",children:[e.jsx($,{className:"text-xs"}),"Delete"]})]}):e.jsxs("a",{href:t.link,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 text-ssgmce-blue hover:text-ssgmce-orange font-medium text-xs border border-gray-200 hover:border-blue-400 bg-blue-50 hover:bg-blue-100 px-4 py-2 rounded-full transition-all",children:[e.jsx(me,{className:"text-xs"})," Click for Details"]})})]},a))]})]})}),e.jsx("div",{className:"p-4 text-xs text-gray-400 text-center bg-gray-50 border-t border-gray-100",children:'Click on "Click for Details" to view/download the newsletter PDF.'})]})]}),"learning-resources":e.jsxs("div",{className:"space-y-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"w-16 h-16 bg-orange-50 text-ssgmce-orange rounded-2xl flex items-center justify-center mx-auto mb-6 text-2xl shadow-sm",children:e.jsx(Ut,{})}),e.jsx("h3",{className:"text-3xl font-bold text-gray-800 mb-4",children:e.jsx(b,{value:i("learningResources.title","Learning Resources"),onSave:t=>x("learningResources.title",t)})}),e.jsx("div",{className:"text-gray-500 max-w-2xl mx-auto leading-relaxed",children:e.jsx(b,{value:i("learningResources.description","Access comprehensive learning resources, lecture notes, assignments, and study materials for all semesters."),onSave:t=>x("learningResources.description",t),multiline:!0})})]}),e.jsxs(A.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"bg-white rounded-2xl shadow-lg border border-gray-200 overflow-hidden",children:[e.jsxs("div",{className:"bg-gradient-to-r from-orange-600 to-orange-700 text-white px-8 py-5 flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-bold tracking-wide",children:"Learning Resources"}),e.jsx("p",{className:"text-sm text-orange-100 mt-1",children:"Department of Mechanical Engineering"})]}),e.jsxs("div",{className:"flex items-center gap-4",children:[p&&e.jsxs("button",{type:"button",onClick:hn,className:"inline-flex items-center gap-2 rounded-full bg-white/10 px-4 py-2 text-sm font-semibold text-white transition hover:bg-white/20",children:[e.jsx(S,{className:"text-xs"}),"Add Course Material"]}),e.jsx(Ut,{className:"text-4xl text-orange-200 opacity-40"})]})]}),p?e.jsx("div",{className:"divide-y divide-gray-100",children:le.length>0?le.map((t,a)=>e.jsx("div",{ref:a===le.length-1?ut:null,className:"p-6",children:e.jsxs("div",{className:"flex items-start justify-between gap-4",children:[e.jsxs("div",{className:"flex min-w-0 flex-1 gap-4",children:[e.jsx("div",{className:"w-10 flex-shrink-0 pt-2 text-center font-mono text-sm text-gray-400",children:a+1}),e.jsxs("div",{className:"min-w-0 flex-1 space-y-4",children:[e.jsxs("div",{children:[e.jsx("label",{className:"mb-2 block text-xs font-bold uppercase tracking-wide text-gray-500",children:"Year / Class"}),e.jsx("div",{className:"rounded-xl border border-gray-200 bg-white px-4 py-3 shadow-sm",children:e.jsx(b,{value:t.title,onSave:s=>Dt(a,"title",s)})})]}),e.jsxs("div",{children:[e.jsx("label",{className:"mb-2 block text-xs font-bold uppercase tracking-wide text-gray-500",children:"Syllabus Link"}),e.jsx("textarea",{value:t.syllabusLink||"",onChange:s=>Dt(a,"syllabusLink",s.target.value),rows:3,placeholder:"Paste the syllabus link here...",className:"w-full resize-y rounded-xl border border-gray-200 bg-gray-50 px-4 py-3 text-sm text-gray-700 shadow-sm outline-none transition focus:border-orange-400 focus:bg-white focus:ring-2 focus:ring-orange-100"})]}),e.jsxs("div",{children:[e.jsx("label",{className:"mb-2 block text-xs font-bold uppercase tracking-wide text-gray-500",children:"Resource Link"}),e.jsx("textarea",{value:t.resourceLink||"",onChange:s=>Dt(a,"resourceLink",s.target.value),rows:3,placeholder:"Paste the shared resource link here...",className:"w-full resize-y rounded-xl border border-gray-200 bg-gray-50 px-4 py-3 text-sm text-gray-700 shadow-sm outline-none transition focus:border-orange-400 focus:bg-white focus:ring-2 focus:ring-orange-100"})]})]})]}),e.jsxs("button",{type:"button",onClick:()=>un(a),className:"inline-flex flex-shrink-0 items-center gap-2 rounded-full border border-red-200 bg-red-50 px-4 py-2 text-xs font-medium text-red-600 transition hover:bg-red-100",children:[e.jsx($,{className:"text-xs"}),"Delete"]})]})},a)):e.jsx("div",{className:"px-6 py-12 text-center text-gray-400",children:"No course materials added yet."})}):e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"w-full text-left border-collapse",children:[e.jsx("thead",{children:e.jsxs("tr",{className:"bg-gray-50 text-gray-700 text-sm uppercase tracking-wider border-b border-gray-200",children:[e.jsx("th",{className:"px-6 py-4 font-bold text-center w-20",children:"Sr. No."}),e.jsx("th",{className:"px-6 py-4 font-bold",children:"Year / Class"}),e.jsx("th",{className:"px-6 py-4 font-bold text-center",children:"Syllabus"}),e.jsx("th",{className:"px-6 py-4 font-bold text-center",children:"Access Materials"})]})}),e.jsxs("tbody",{className:"divide-y divide-gray-100 text-sm",children:[le.map((t,a)=>e.jsxs("tr",{className:"hover:bg-orange-50/30 transition-colors",children:[e.jsx("td",{className:"px-6 py-4 text-center font-mono text-gray-400",children:a+1}),e.jsx("td",{className:"px-6 py-4",children:e.jsx("span",{className:"font-bold text-gray-800 block",children:t.title})}),e.jsx("td",{className:"px-6 py-4 text-center",children:e.jsxs("a",{href:t.syllabusLink,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 text-blue-600 hover:text-blue-800 font-medium text-xs border border-gray-200 hover:border-blue-400 bg-blue-50 hover:bg-blue-100 px-4 py-2 rounded-full transition-all",children:[e.jsx(me,{className:"text-xs"})," Syllabus"]})}),e.jsx("td",{className:"px-6 py-4 text-center",children:e.jsxs("a",{href:t.resourceLink,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 text-ssgmce-orange hover:text-orange-700 font-medium text-xs border border-gray-200 hover:border-orange-400 bg-orange-50 hover:bg-orange-100 px-4 py-2 rounded-full transition-all",children:[e.jsx(me,{className:"text-xs"})," Access Resources"]})})]},a)),le.length===0&&e.jsx("tr",{children:e.jsx("td",{colSpan:4,className:"px-6 py-12 text-center text-gray-400",children:"No course materials available yet. Use the admin editor to add materials."})})]})]})}),e.jsx("div",{className:"p-4 text-xs text-gray-400 text-center bg-gray-50 border-t border-gray-100",children:`Click on "Access Resources" to view and download learning materials from the respective year's shared folder.`})]})]}),"nba-resources":e.jsxs("div",{className:"space-y-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"w-16 h-16 bg-orange-50 text-ssgmce-orange rounded-2xl flex items-center justify-center mx-auto mb-6 text-2xl shadow-sm",children:e.jsx(Bt,{})}
493),e.jsx("h3",{className:"text-3xl font-bold text-gray-800 mb-4",children:e.jsx(b,{value:i("nbaResources.title","NBA Resource Material"),onSave:t=>x("nbaResources.title",t)})}),e.jsx("div",{className:"text-gray-500 max-w-2xl mx-auto leading-relaxed",children:e.jsx(b,{value:i("nbaResources.description","Access NBA accreditation resources, documentation, and informational videos for the Mechanical Engineering department."),onSave:t=>x("nbaResources.description",t),multiline:!0})})]}),e.jsxs(A.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"bg-gradient-to-r from-orange-50 to-amber-50 rounded-2xl shadow-md border border-orange-200 p-6 flex flex-col sm:flex-row items-center justify-between gap-4",children:[e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx("div",{className:"w-12 h-12 bg-orange-100 rounded-xl flex items-center justify-center text-ssgmce-orange text-xl",children:e.jsx(Me,{})}),e.jsxs("div",{children:[e.jsx("h4",{className:"font-bold text-gray-800 text-lg",children:e.jsx(b,{value:i("nbaResources.cardTitle","NBA Department Details"),onSave:t=>x("nbaResources.cardTitle",t)})}),e.jsx("p",{className:"text-sm text-gray-500 mt-0.5",children:e.jsx(b,{value:i("nbaResources.cardDescription","Complete NBA accreditation documentation and resources"),onSave:t=>x("nbaResources.cardDescription",t),multiline:!0})})]})]}),e.jsxs("a",{href:i("nbaResources.driveLink",Ce.driveLink),target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 bg-ssgmce-orange hover:bg-orange-700 text-white font-semibold px-6 py-3 rounded-full transition-all shadow-md hover:shadow-lg",children:[e.jsx(he,{className:"text-sm"}),e.jsx(b,{value:i("nbaResources.driveLinkText",Ce.driveLinkText),onSave:t=>x("nbaResources.driveLinkText",t)})]})]}),p&&e.jsxs("div",{className:"bg-white border border-orange-200 rounded-2xl shadow-sm p-5 space-y-4",children:[e.jsxs("div",{className:"flex items-center justify-between gap-3 flex-wrap",children:[e.jsxs("div",{children:[e.jsx("h5",{className:"text-base font-bold text-gray-800",children:"Replace Top Section Link"}),e.jsx("p",{className:"text-sm text-gray-500",children:"Paste the new NBA details URL for the top button."})]}),e.jsxs("button",{type:"button",onClick:()=>x("nbaResources.driveLink",ha.trim()||Ce.driveLink),className:"inline-flex items-center gap-2 bg-ssgmce-orange hover:bg-orange-700 text-white font-semibold px-4 py-2 rounded-lg transition-colors",children:[e.jsx(he,{className:"text-xs"}),"Replace Link"]})]}),e.jsx("input",{type:"url",value:ha,onChange:t=>ua(t.target.value),placeholder:"Paste Google Drive or other top-section URL",className:"w-full px-4 py-2.5 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-ssgmce-blue focus:border-transparent text-sm"})]}),e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center justify-between gap-3 mb-5 flex-wrap",children:[e.jsxs("h4",{className:"text-xl font-bold text-gray-800 flex items-center gap-2",children:[e.jsx("span",{className:"w-1.5 h-6 bg-ssgmce-orange rounded-full"}),"NBA Resource Videos"]}),p&&e.jsxs("button",{type:"button",onClick:Cs,className:"inline-flex items-center gap-2 bg-ssgmce-blue hover:bg-blue-800 text-white font-semibold px-4 py-2 rounded-lg transition-colors",children:[e.jsx(S,{className:"text-xs"}),"Add YT Link"]})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:we().map((t,a)=>e.jsxs(A.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:a*.1},className:"bg-white rounded-2xl shadow-lg border border-gray-200 overflow-hidden group hover:shadow-xl transition-shadow",children:[e.jsx("div",{className:"aspect-video",children:t.embedUrl?e.jsx("iframe",{src:t.embedUrl,title:t.title||`NBA Video ${a+1}`,className:"w-full h-full",allowFullScreen:!0,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"}):e.jsx("div",{className:"w-full h-full bg-gray-100 flex items-center justify-center text-center px-6",children:e.jsx("p",{className:"text-sm text-gray-500",children:"Add a YouTube link to show the video here."})})}),e.jsxs("div",{className:"px-4 py-3 bg-gray-50 border-t border-gray-100 space-y-3",children:[e.jsx("p",{className:"text-sm font-medium text-gray-600",children:e.jsx(b,{value:t.title||`NBA Resource Video ${a+1}`,onSave:s=>ga(a,{title:s})})}),p&&e.jsxs("div",{className:"space-y-3",children:[e.jsx("input",{type:"url",value:xt[a]||"",onChange:s=>xa(n=>({...n,[a]:s.target.value})),placeholder:"Paste YouTube watch/share/embed link",className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-ssgmce-blue focus:border-transparent text-sm"}),e.jsxs("div",{className:"flex items-center gap-2 flex-wrap",children:[e.jsxs("button",{type:"button",onClick:()=>ga(a,{sourceUrl:(xt[a]||"").trim(),embedUrl:gi(xt[a]||"")}),className:"inline-flex items-center gap-2 bg-ssgmce-orange hover:bg-orange-700 text-white font-semibold px-3 py-2 rounded-lg transition-colors text-sm",children:[e.jsx(he,{className:"text-xs"}),"Update YT Link"]}),e.jsxs("button",{type:"button",onClick:()=>Ts(a),className:"inline-flex items-center gap-2 bg-red-50 hover:bg-red-100 text-red-700 border border-red-200 font-semibold px-3 py-2 rounded-lg transition-colors text-sm",children:[e.jsx($,{className:"text-xs"}),"Remove"]})]})]})]})]},a))})]})]}),faculty:e.jsxs("div",{className:"space-y-10",children:[e.jsxs("div",{className:"text-center border-b border-gray-200 pb-6 mb-8",children:[e.jsx("h3",{className:"text-3xl font-bold text-gray-900",children:"Our Faculty"}),e.jsx("p",{className:"text-gray-500 mt-2",children:"Department of Mechanical Engineering"})]}),e.jsxs("div",{className:"grid items-start gap-6 lg:grid-cols-2",children:[i("templateData.faculty",Gt).map((t,a)=>e.jsxs(A.div,{initial:{opacity:0,y:10}
493,animate:{opacity:1,y:0},transition:{delay:a*.05},className:`group relative bg-white rounded-xl border border-gray-200 overflow-hidden hover:shadow-lg transition-all duration-300 flex ${p&&ht===a?"lg:col-span-2":""}`,children:[e.jsx("div",{className:"w-32 sm:w-40 bg-gray-50 flex-shrink-0 relative overflow-hidden border-r border-gray-100",children:e.jsx(De,{src:t.photo||"",onSave:s=>B(a,"photo",s),alt:t.name||"Faculty",placeholder:"Upload faculty photo",className:"w-full h-full object-cover"})}),e.jsxs("div",{className:"p-5 flex-1 flex flex-col justify-center",children:[e.jsx("h4",{className:"text-lg font-bold text-gray-900 group-hover:text-ssgmce-blue transition-colors",children:p?e.jsx(b,{value:t.name,onSave:s=>B(a,"name",s)}):e.jsx(Xa,{to:`/faculty/${t.id}`,state:{from:os(m,"faculty")},className:"hover:underline",children:e.jsx(b,{value:t.name,onSave:s=>B(a,"name",s)})})}),e.jsx("p",{className:"text-ssgmce-blue font-medium text-sm mb-3 uppercase tracking-wide text-[11px]",children:e.jsx(b,{value:t.role,onSave:s=>B(a,"role",s)})}),e.jsxs("div",{className:"space-y-2 text-sm text-gray-600",children:[t.area&&e.jsxs("p",{className:"line-clamp-2 text-xs",children:[e.jsx("span",{className:"font-bold text-gray-700",children:"Area: "}),e.jsx(b,{value:Array.isArray(t.area)?t.area.join(", "):t.area,onSave:s=>B(a,"area",s.split(",").map(n=>n.trim()).filter(Boolean))})]}),e.jsxs("div",{className:"pt-2 flex flex-col gap-1",children:[(t.email||p)&&e.jsxs("span",{className:"flex items-center hover:text-ssgmce-blue transition-colors truncate text-xs",children:[e.jsx(Qa,{className:"mr-2 text-gray-400"}),e.jsx(b,{value:t.email||"[email protected]",onSave:s=>B(a,"email",s)})]}),(t.phone||p)&&e.jsxs("span",{className:"flex items-center text-xs",children:[e.jsx(Jn,{className:"mr-2 text-gray-400"}),e.jsx(b,{value:t.phone||"+91XXXXXXXXXX",onSave:s=>B(a,"phone",s)})]})]}),Ma(t)&&e.jsxs("a",{href:Ma(t),target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center text-[10px] font-bold text-emerald-600 mt-2 hover:underline uppercase tracking-wide",children:["Vidwan Profile ",e.jsx(Vt,{className:"ml-1"})]}),e.jsxs(Xa,{to:`/faculty/${t.id}`,state:{from:os(m,"faculty")},className:"inline-flex items-center text-[10px] font-bold text-ssgmce-blue mt-1 hover:underline uppercase tracking-wide",children:["View Profile ",e.jsx(Vt,{className:"ml-1"})]})]}),p&&e.jsxs("div",{className:"mt-4 border-t border-gray-100 pt-4 space-y-3",children:[e.jsx("button",{type:"button",onClick:()=>Ds(s=>s===a?null:a),className:"inline-flex items-center rounded-full border border-blue-200 bg-blue-50 px-4 py-2 text-xs font-semibold uppercase tracking-wide text-ssgmce-blue transition hover:bg-blue-100",children:ht===a?"Hide Detailed Editor":"Edit Detailed Profile"}),ht===a&&e.jsxs("div",{className:"rounded-lg border border-blue-100 bg-blue-50/60 p-3",children:[e.jsx("div",{className:"text-[11px] font-semibold uppercase tracking-wide text-blue-700 mb-2",children:"Detailed Profile Editor"}),e.jsxs("div",{className:"grid gap-3 md:grid-cols-2",children:[e.jsxs("div",{children:[e.jsx("div",{className:"text-[11px] font-semibold text-gray-500 uppercase mb-1",children:"Profile ID"}),e.jsx(b,{value:t.id||La(t.name),onSave:s=>B(a,"id",La(s))})]}),e.jsxs("div",{children:[e.jsx("div",{className:"text-[11px] font-semibold text-gray-500 uppercase mb-1",children:"Vidwan ID"}),e.jsx(b,{value:t.vidwanId||"",onSave:s=>B(a,"vidwanId",s)})]}),e.jsxs("div",{className:"md:col-span-2",children:[e.jsx("div",{className:"text-[11px] font-semibold text-gray-500 uppercase mb-1",children:"Vidwan Link"}),e.jsx(b,{value:t.vidwanLink||"",onSave:s=>B(a,"vidwanLink",s)})]}),[["qualification","Qualification",!1],["experience","Experience",!1],["scholarIds","Scholar IDs",!1],["area","Research Areas",!0],["coursesTaught","Courses Taught",!0],["membership","Membership",!0],["publications","Publications",!0],["research","Research & Development",!1],["fdp","FDP / STTP / Workshops",!1],["fellowship","Fellowship / Awards",!0],["achievements","Other Achievements",!0]].map(([s,n,r])=>e.jsxs("div",{className:"md:col-span-2",children:[e.jsx("div",{className:"text-[11px] font-semibold text-gray-500 uppercase mb-1",children:n}),e.jsx(b,{value:r?(t[s]||[]).join(` 494`):t[s]||"",onSave:o=>B(a,s,r?on(o):o),multiline:!0,richText:!1})]},s))]})]})]})]})]},a)),p&&e.jsx("button",{type:"button",onClick:()=>y("templateData.faculty",[...i("templateData.faculty",Gt),{id:`new-faculty-${Date.now()}`,name:"New Faculty Member",role:"Assistant Professor",area:["Research Area"],email:"[email protected]",phone:"+91XXXXXXXXXX",photo:"",vidwanId:"",vidwanLink:"",qualification:"Add qualification details",experience:"Add teaching / industry experience",coursesTaught:["Add course"],scholarIds:"",membership:["Add membership"],publications:["Add publication"],research:"Add research details",fdp:"",fellowship:["Add fellowship / award"],achievements:["Add achievement"],department:"mechanical"}]),className:"flex items-center justify-center p-6 border-2 border-dashed border-gray-300 rounded-lg text-gray-500 hover:border-blue-500 hover:text-blue-500 cursor-pointer",children:"+ Add Faculty"})]})]}),staff:(()=>{const t=Lt("templateData.staff.department",cs),a=Lt("templateData.staff.workshop",ds),s=(n,r,o,l,h)=>e.jsxs("div",{children:[e.jsxs("h4",{className:"text-2xl font-bold text-gray-800 mb
494-6 flex items-center",children:[e.jsx("span",{className:"w-8 h-1 bg-gray-800 rounded-full mr-3"}),e.jsx(b,{value:i(`${r}Title`,l),onSave:N=>y(`${r}Title`,N)})]}),e.jsxs("div",{className:"grid gap-6 lg:grid-cols-2",children:[n.map((N,j)=>e.jsxs(A.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{delay:j*.05},className:"group bg-white rounded-xl border border-gray-200 overflow-hidden hover:shadow-lg transition-all duration-300 flex relative",children:[p&&e.jsx("button",{type:"button",onClick:()=>Se(r,o,P=>P.filter((k,O)=>O!==j)),className:"absolute top-2 right-2 bg-red-500 hover:bg-red-600 text-white px-3 py-1.5 rounded-lg text-sm font-medium shadow-md transition-colors z-10",title:"Remove staff member",children:"Remove"}),e.jsx("div",{className:"w-32 sm:w-40 bg-gray-50 flex-shrink-0 relative flex items-center justify-center border-r border-gray-100",children:N.photo?e.jsx(De,{src:N.photo,onSave:P=>Se(r,o,k=>(k[j]={...k[j],photo:P},k)),alt:N.name||"Staff",className:"w-full h-full object-cover"}):e.jsx(Qn,{className:"text-5xl text-gray-300 transition-transform group-hover:scale-110 duration-500"})}),e.jsxs("div",{className:"p-5 flex-1 flex flex-col justify-center",children:[e.jsx("h4",{className:"text-lg font-bold text-gray-900 group-hover:text-ssgmce-blue transition-colors",children:e.jsx(b,{value:N.name,onSave:P=>Se(r,o,k=>(k[j]={...k[j],name:P},k))})}),e.jsx("p",{className:"text-ssgmce-blue font-medium text-sm mb-3 uppercase tracking-wide text-[11px]",children:e.jsx(b,{value:N.role,onSave:P=>Se(r,o,k=>(k[j]={...k[j],role:P},k))})})]})]},j)),p&&e.jsxs("button",{type:"button",onClick:()=>Se(r,o,N=>[...N,{name:"New Staff Member",role:h,photo:""}]),className:"flex items-center justify-center gap-2 p-6 border-2 border-dashed border-gray-300 rounded-lg text-gray-500 hover:border-blue-500 hover:text-blue-500 cursor-pointer",children:[e.jsx(S,{className:"text-xs"}),"Add Staff"]})]})]});return e.jsxs("div",{className:"space-y-10",children:[e.jsxs("div",{className:"text-center border-b border-gray-200 pb-6 mb-8",children:[e.jsx("h3",{className:"text-3xl font-bold text-gray-900",children:e.jsx(b,{value:i("templateData.staff.title","Staff @ Department"),onSave:n=>y("templateData.staff.title",n)})}),e.jsx("p",{className:"text-gray-500 mt-2",children:e.jsx(b,{value:i("templateData.staff.subtitle","Department of Mechanical Engineering"),onSave:n=>y("templateData.staff.subtitle",n)})})]}),s(t,"templateData.staff.department",cs,"Department Staff","Lab Assistant"),s(a,"templateData.staff.workshop",ds,"Workshop Staff","Lab Assistant")]})})(),"student-projects":(()=>{const t=i("studentProjects.markdown",or(xr));return e.jsxs("div",{className:"space-y-8",children:[e.jsxs("div",{className:"text-center mb-10",children:[e.jsx("h2",{className:"text-3xl font-bold text-gray-900",children:"UG Student Projects"}),e.jsx("div",{className:"w-24 h-1 bg-orange-500 mx-auto mt-2"}),e.jsx("p",{className:"text-gray-600 mt-3",children:"Final Year Projects by Our Students"})]}),p?e.jsx(L,{value:t,onSave:a=>x("studentProjects.markdown",a),showDocImport:!0,docTemplateUrl:"/uploads/documents/departments/mechanical/templates/mech_projects_template.docx",docTemplateLabel:"Download Projects Template",placeholder:"Student projects tables by year (GFM Markdown)..."}):e.jsx(Oe,{markdown:t})]})})(),mous:e.jsx("div",{className:"space-y-8",children:(()=>{const t=Pe(),a=Hs(t);return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"text-center mb-8",children:[e.jsx("h3",{className:"text-3xl font-bold text-gray-800 mb-3",children:"MoUs"}),e.jsx("p",{className:"text-gray-600 max-w-2xl mx-auto",children:"Strategic partnerships with industry leaders and academic institutions to enhance learning outcomes and provide students with real-world exposure."})]}),e.jsx("div",{className:"bg-white rounded-xl shadow-lg border border-gray-200 overflow-hidden",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"w-full text-sm",children:[e.jsx("thead",{className:"bg-ssgmce-blue text-white",children:e.jsxs("tr",{children:[e.jsx("th",{className:"px-6 py-4 text-left font-bold whitespace-nowrap",children:"Sr. No."}),e.jsx("th",{className:"px-6 py-4 text-left font-bold",children:"Name of the Organization"}),e.jsx("th",{className:"px-6 py-4 text-left font-bold whitespace-nowrap",children:"MOU Signing Date"}),e.jsx("th",{className:"px-6 py-4 text-left font-bold whitespace-nowrap",children:"MOU Copy / Report"})]})}),e.jsx("tbody",{className:"divide-y divide-gray-200",children:t.map((s,n)=>e.jsxs("tr",{className:"hover:bg-gray-50 transition-colors",children:[e.jsxs("td",{className:"px-6 py-4 font-medium text-gray-900",children:[n+1,"."]}),e.jsx("td",{className:"px-6 py-4 text-gray-700",children:s.org}),e.jsx("td",{className:"px-6 py-4 text-gray-700 whitespace-nowrap",children:s.date}),e.jsx("td",{className:"px-6 py-4",children:s.report?e.jsxs("a",{href:s.report,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center text-ssgmce-blue hover:text-ssgmce-orange font-semibold text-sm transition-colors",children:[e.jsx(Me,{className:"mr-1.5"}),"View Document"]}):e.jsx("span",{className:"text-gray-400 text-xs",children:"--"})})]},s.id||n))})]})})}),p&&e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"rounded-xl border border-gray-200 bg-white p-5 shadow-sm",children:[e.jsx("div",{className:"mb-4",children:e.jsxs("div",{className:"flex flex-col gap-3 md:flex-row md:items-center md:justify-between",children:[e.jsxs("div",{children:[e.jsx("h4",{className:"text-lg font-bold text-gray-800",children:"Edit MoUs in Markdown"}),e.jsx("p",{className:"text-sm text-gray-500 mt-1",children:"Serial numbers are automatic now. Add a new blank row on top, then edit only the actual MoU details."})]}),e.jsxs("button",{type:"button",onClick:zs,className:"inline-flex items-center gap-2 rounded-lg bg-ssgmce-blue px-4 py-2.5 text-sm font-semibold text-white transition hover:bg-ssgmce-orange",children:[e.jsx(S,{className:"text-xs"}),"Add New Row On Top"]})]})}),e.jsx(L,{value:a,onSave:Js,placeholder:"MoUs table without seri
494al-number column (GFM Markdown)..."})]}),e.jsxs("div",{className:"rounded-xl border border-gray-200 bg-white p-5 shadow-sm",children:[e.jsxs("div",{className:"mb-4",children:[e.jsx("h4",{className:"text-lg font-bold text-gray-800",children:"Upload MoU PDF / Report"}),e.jsx("p",{className:"text-sm text-gray-500 mt-1",children:"Upload the PDF only for the row you want to attach a document to."})]}),e.jsx("div",{className:"space-y-3",children:t.map((s,n)=>{const r=`mech-mou-${s.id}`;return e.jsxs("div",{className:"rounded-lg border border-gray-200 p-4",children:[e.jsxs("div",{className:"flex flex-col gap-2 md:flex-row md:items-center md:justify-between",children:[e.jsxs("div",{children:[e.jsxs("p",{className:"text-sm font-semibold text-gray-800",children:[n+1,". ",s.org||"MoU"]}),e.jsx("p",{className:"text-xs text-gray-500",children:s.date||"Signing date not set"})]}),e.jsxs("div",{className:"flex items-center gap-3",children:[s.report?e.jsxs("a",{href:s.report,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1 text-xs font-semibold text-ssgmce-blue hover:text-ssgmce-orange",children:[e.jsx(Me,{className:"text-xs"}),"Current Document"]}):e.jsx("span",{className:"text-xs text-gray-400",children:"No document uploaded"}),e.jsxs("label",{className:"inline-flex cursor-pointer items-center gap-2 rounded-lg bg-ssgmce-blue px-3 py-2 text-xs font-semibold text-white hover:bg-ssgmce-dark-blue",children:[e.jsx(ue,{className:"text-xs"}),oa[r]?"Uploading...":"Upload PDF",e.jsx("input",{type:"file",accept:".pdf,.doc,.docx",className:"hidden",disabled:oa[r],onChange:o=>{const l=o.target.files?.[0];l&&Ws(s.id,l),o.target.value=""}})]})]})]}),ca[r]?e.jsx("p",{className:"mt-2 text-xs text-red-600",children:ca[r]}):null]},s.id||n)})})]})]})]})})()}),practices:e.jsxs("div",{className:"space-y-8",children:[e.jsx("div",{className:"max-w-3xl",children:e.jsx("h3",{className:"text-3xl font-bold text-gray-800 mb-4 border-l-4 border-orange-500 pl-4",children:"Innovative Practice"})}),(()=>{const t=i("templateData.innovativePractices.markdown",null)||i("innovativePractices.markdown",null),a=i("templateData.innovativePractices.items",null)||i("innovativePractices",null),s=Array.isArray(a)?a:ir,n=t||ss(s),r=ns(n),o=r&&r.length>0?r:s;return e.jsx(A.div,{initial:{opacity:0}
494,animate:{opacity:1},transition:{duration:.3},children:p?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"mb-4 flex justify-end",children:e.jsxs("button",{onClick:()=>{const l=[{sn:"01",faculty:"Add faculty name",subject:"Add subject",practice:"Add innovative practice",link:""},...o].map((N,j)=>({...N,sn:String(j+1).padStart(2,"0")})),h=ss(l);x("templateData.innovativePractices.markdown",h),x("templateData.innovativePractices.items",l),x("innovativePractices.markdown",h),x("innovativePractices",l)},className:"inline-flex items-center gap-2 rounded-lg border border-blue-200 bg-blue-50 px-4 py-2 text-sm font-semibold text-blue-700 transition-colors hover:bg-blue-100",children:[e.jsx(S,{className:"text-xs"}),"Add to Top"]})}),e.jsx(L,{value:n,onSave:l=>{const h=ns(l);x("templateData.innovativePractices.markdown",l),x("templateData.innovativePractices.items",h),x("innovativePractices.markdown",l),x("innovativePractices",h)},showDocImport:!0,docTemplateUrl:"/uploads/documents/departments/mechanical/templates/mechanical_template.docx",docTemplateLabel:"Download Template",placeholder:"Innovative Practices table (GFM Markdown)..."})]}):e.jsx("div",{className:"bg-white rounded-xl shadow-lg border border-gray-200 overflow-hidden",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"w-full",children:[e.jsx("thead",{style:{backgroundColor:"#003366"},className:"text-white",children:e.jsxs("tr",{children:[e.jsx("th",{className:"px-6 py-4 text-center font-semibold whitespace-nowrap text-sm",children:"S.N."}),e.jsx("th",{className:"px-6 py-4 text-center font-semibold text-sm",children:"Name of The Faculty"}),e.jsx("th",{className:"px-6 py-4 text-center font-semibold text-sm",children:"Subject"}),e.jsx("th",{className:"px-6 py-4 text-center font-semibold text-sm",children:"Innovative Practice"}),e.jsx("th",{className:"px-6 py-4 text-center font-semibold text-sm",children:"Link"})]})}),e.jsx("tbody",{className:"divide-y divide-gray-200",children:o.map((l,h)=>e.jsxs("tr",{className:"hover:bg-gray-50 transition-colors",children:[e.jsx("td",{className:"px-6 py-4 text-center font-medium text-gray-900",children:l.sn}),e.jsx("td",{className:"px-6 py-4 text-center whitespace-nowrap",style:{color:"#003366"},children:e.jsx("span",{className:"font-medium",children:l.faculty})}),e.jsx("td",{className:"px-6 py-4 text-gray-700",children:l.subject}),e.jsx("td",{className:"px-6 py-4 text-gray-700",children:l.practice}),e.jsx("td",{className:"px-6 py-4 text-center",children:l.link&&e.jsxs("a",{href:l.link,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1 px-3 py-1.5 bg-blue-50 text-blue-700 rounded-lg hover:bg-blue-100 transition-colors text-sm font-medium",children:[e.jsx(he,{className:"text-xs"}),"Link"]})})]},h))})]})})})})})()]}),visits:(()=>{const t=He(),a=Ae(),s=Rs(a);return e.jsxs("div",{className:"space-y-10",children:[e.jsxs("div",{className:"text-center mb-8",children:[e.jsx("h3",{className:"text-3xl font-bold text-gray-800 mb-3",children:"Industrial Visits"}),e.jsx("p",{className:"text-gray-600 max-w-2xl mx-auto",children:"Hands-on exposure to industry practices, technologies, and work culture through structured visits to leading manufacturing and engineering organizations."})]}),e.jsxs("div",{className:"space-y-6",children:[!p&&e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[e.jsx(Kn,{className:"text-2xl text-ssgmce-blue"}),e.jsx("h4",{className:"text-xl font-bold text-gray-800",children:"Visit Gallery"}),e.jsxs("span",{className:"text-sm font-medium text-ssgmce-blue bg-blue-50 px-3 py-1 rounded-full",children:[t.length," Photos"]})]}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-5",children:t.map((n,r)=>e.jsxs(A.div,{whileHover:{y:-4},className:"group relative bg-white rounded-xl shadow-sm border border-gray-100 overflow-hidden cursor-pointer hover:shadow-lg transition-shadow",onClick:()=>ve(r),children:[e.jsxs("div",{className:"aspect-[4/3] overflow-hidden bg-gray-100",children:[e.jsx("img",{src:ge(n.image),alt:n.caption,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-500",loading:"lazy"}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/60 via-trans
494parent to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex items-end p-4",children:e.jsx(Yn,{className:"absolute top-3 right-3 text-white text-lg drop-shadow"})})]}),e.jsxs("div",{className:"p-4",children:[e.jsx("p",{className:"text-sm text-gray-700 leading-relaxed line-clamp-2",children:n.caption}),e.jsxs("div",{className:"flex items-center gap-3 mt-2 text-xs text-gray-500",children:[e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(za,{className:"text-red-400"}),n.location]}),e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(Ot,{className:"text-blue-400"}),n.date]})]})]})]},r))})]}),p&&e.jsxs("div",{className:"rounded-xl border border-gray-200 bg-white p-5 shadow-sm space-y-4",children:[e.jsxs("div",{className:"flex items-center justify-between gap-4",children:[e.jsxs("div",{children:[e.jsx("h5",{className:"text-lg font-bold text-gray-800",children:"Manage Visit Gallery"}),e.jsx("p",{className:"text-sm text-gray-500 mt-1",children:"Add new visit photos and update the caption, location, and date for each gallery item."})]}),e.jsxs("button",{type:"button",onClick:$s,className:"inline-flex items-center gap-2 rounded-lg bg-ssgmce-blue px-4 py-2.5 text-sm font-semibold text-white transition hover:bg-ssgmce-orange",children:[e.jsx(S,{className:"text-xs"}),"Add Photo"]})]}),e.jsx("div",{className:"space-y-4",children:t.map((n,r)=>{const o=`mech-gallery-${r}`;return e.jsx("div",{className:"rounded-xl border border-gray-200 bg-gray-50 p-4",children:e.jsxs("div",{className:"flex flex-col gap-4 lg:flex-row",children:[e.jsxs("div",{className:"w-full lg:w-56 space-y-3",children:[e.jsx("div",{className:"aspect-[4/3] overflow-hidden rounded-lg bg-white border border-gray-200",children:n.image?e.jsx("img",{src:ge(n.image),alt:n.caption||`Visit photo ${r+1}`,className:"h-full w-full object-cover"}):e.jsx("div",{className:"flex h-full items-center justify-center text-sm text-gray-400",children:"No image selected"})}),e.jsxs("label",{className:"inline-flex cursor-pointer items-center gap-2 rounded-lg bg-gradient-to-r from-[#003366] to-[#004d99] px-4 py-2.5 text-xs font-semibold text-white transition-all duration-300 hover:from-[#004d99] hover:to-[#0066cc] hover:shadow-lg",children:[e.jsx(ue,{className:"text-yellow-300"}),sa[o]?"Uploading...":"Upload Photo",e.jsx("input",{type:"file",accept:"image/*",className:"hidden",disabled:sa[o],onChange:l=>{const h=l.target.files?.[0];l.target.value="",h&&Ys(r,h)}})]}),ra[o]&&e.jsx("p",{className:"text-xs text-red-500",children:ra[o]})]}),e.jsxs("div",{className:"flex-1 space-y-3",children:[e.jsxs("div",{children:[e.jsx("label",{className:"mb-2 block text-xs font-bold uppercase tracking-wide text-gray-500",children:"Caption"}),e.jsx("textarea",{value:n.caption||"",onChange:l=>Je(r,"caption",l.target.value),rows:3,className:"w-full resize-y rounded-xl border border-gray-200 bg-white px-4 py-3 text-sm text-gray-700 shadow-sm outline-none transition focus:border-blue-400 focus:ring-2 focus:ring-blue-100"})]}),e.jsxs("div",{className:"grid gap-3 md:grid-cols-2",children:[e.jsxs("div",{children:[e.jsx("label",{className:"mb-2 block text-xs font-bold uppercase tracking-wide text-gray-500",children:"Location"}),e.jsx("input",{type:"text",value:n.location||"",onChange:l=>Je(r,"location",l.target.value),className:"w-full rounded-xl border border-gray-200 bg-white px-4 py-3 text-sm text-gray-700 shadow-sm outline-none transition focus:border-blue-400 focus:ring-2 focus:ring-blue-100"})]}),e.jsxs("div",{children:[e.jsx("label",{className:"mb-2 block text-xs font-bold uppercase tracking-wide text-gray-500",children:"Date"}),e.jsx("input",{type:"text",value:n.date||"",onChange:l=>Je(r,"date",l.target.value),className:"w-full rounded-xl border border-gray-200 bg-white px-4 py-3 text-sm text-gray-700 shadow-sm outline-none transition focus:border-blue-400 focus:ring-2 focus:ring-blue-100"})]})]})]}),e.jsx("div",{className:"flex lg:w-32 lg:justify-end",children:e.jsxs("button",{type:"button",onClick:()=>Ks(r),className:"inline-flex items-center gap-2 rounded-lg border border-red-200 bg-red-50 px-4 py-2 text-xs font-semibold text-red-600 transition hover:bg-red-100",children:[e.jsx($,{className:"text-xs"}),"Delete"]})})]})},`gallery-editor-${r}`)})})]})]}),e.jsx(z,{children:!p&&J!==null&&e.jsxs(A.div,{initial:{opacity:0}
494,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-[9999] bg-black/90 flex items-center justify-center p-4",onClick:()=>ve(null),children:[e.jsx("button",{className:"absolute top-4 right-4 text-white/80 hover:text-white text-3xl z-10",onClick:()=>ve(null),children:e.jsx(pe,{})}),e.jsx("button",{className:"absolute left-4 top-1/2 -translate-y-1/2 text-white/70 hover:text-white text-3xl bg-black/30 hover:bg-black/50 rounded-full w-12 h-12 flex items-center justify-center transition-colors z-10",onClick:n=>{n.stopPropagation(),ve(r=>r===0?t.length-1:r-1)},children:e.jsx(Wa,{})}),e.jsxs(A.div,{initial:{scale:.9,opacity:0},animate:{scale:1,opacity:1},exit:{scale:.9,opacity:0},className:"max-w-5xl max-h-[85vh] flex flex-col items-center",onClick:n=>n.stopPropagation(),children:[e.jsx("img",{src:ge(t[J].image),alt:t[J].caption,className:"max-h-[70vh] max-w-full object-contain rounded-lg shadow-2xl"}),e.jsxs("div",{className:"mt-4 text-center max-w-2xl",children:[e.jsx("p",{className:"text-white/90 text-sm leading-relaxed",children:t[J].caption}),e.jsxs("div",{className:"flex items-center justify-center gap-4 mt-2 text-white/60 text-xs",children:[e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(za,{className:"text-red-400"}),t[J].location]}),e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(Ot,{className:"text-blue-400"}),t[J].date]}),e.jsxs("span",{className:"text-white/40",children:[J+1," / ",t.length]})]})]})]},J),e.jsx("button",{className:"absolute right-4 top-1/2 -translate-y-1/2 text-white/70 hover:text-white text-3xl bg-black/30 hover:bg-black/50 rounded-full w-12 h-12 flex items-center justify-center transition-colors z-10",onClick:n=>{n.stopPropagation(),ve(r=>r===t.length-1?0:r+1)},children:e.jsx(qa,{})})]})}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[e.jsx(Hn,{className:"text-2xl text-ssgmce-blue"}),e.jsx("h4",{className:"text-xl font-bold text-gray-800",children:"Visit Details"})]}),e.jsx("div",{className:"bg-white rounded-xl shadow-lg border border-gray-200 overflow-hidden",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"w-full text-sm",children:[e.jsx("thead",{className:"bg-ssgmce-blue text-white",children:e.jsxs("tr",{children:[e.jsx("th",{className:"px-6 py-4 text-left font-bold whitespace-nowrap",children:"S.N."}),e.jsx("th",{className:"px-6 py-4 text-left font-bold",children:"Name of Industry Visited"}),e.jsx("th",{className:"px-6 py-4 text-left font-bold",children:"Class"}),e.jsx("th",{className:"px-6 py-4 text-left font-bold whitespace-nowrap",children:"Date"}),e.jsx("th",{className:"px-6 py-4 text-left font-bold whitespace-nowrap",children:"No of Students"})]})}),e.jsx("tbody",{className:"divide-y divide-gray-200",children:a.map((n,r)=>e.jsxs("tr",{className:"hover:bg-gray-50 transition-colors",children:[e.jsx("td",{className:"px-6 py-4 font-medium text-gray-900",children:String(r+1).padStart(2,"0")}),e.jsx("td",{className:"px-6 py-4",children:e.jsxs("div",{className:"space-y-1",children:[(n.industries||[]).map((o,l)=>e.jsx("div",{className:"text-gray-700",children:o},l)),n.report?e.jsxs("a",{href:n.report,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1 text-ssgmce-blue hover:text-ssgmce-orange font-semibold text-xs mt-2",children:[e.jsx(Me,{className:"text-xs"}),"Detailed Report"]}):null]})}),e.jsx("td",{className:"px-6 py-4 text-gray-700",children:n.class}),e.jsx("td",{className:"px-6 py-4 text-gray-700 whitespace-nowrap",children:n.date}),e.jsx("td",{className:"px-6 py-4 text-gray-700 text-center font-medium",children:n.students})]},r))})]})})}),p&&e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"rounded-xl border border-gray-200 bg-white p-5 shadow-sm",children:[e.jsx("div",{className:"mb-4",children:e.jsxs("div",{className:"flex flex-col gap-3 md:flex-row md:items-center md:justify-between",children:[e.jsxs("div",{children:[e.jsx("h4",{className:"text-lg font-bold text-gray-800",children:"Edit Industrial Visits in Markdown"}),e.jsx("p",{className:"text-sm text-gray-500 mt-1",children:"Serial numbers are automatic now. Add a new blank row on top, then edit only the actual visit details."})]}),e.jsxs("button",{type:"button",onClick:Bs,className:"inline-flex items-center gap-2 rounded-lg bg-ssgmce-blue px-4 py-2.5 text-sm font-semibold text-white transition hover:bg-ssgmce-orange",children:[e.jsx(S,{className:"text-xs"}),"Add New Row On Top"]})]})}),e.jsx(L,{value:s,onSave:Is,placeholder:"Industrial visits table without seri
494al-number column (GFM Markdown)..."})]}),e.jsxs("div",{className:"rounded-xl border border-gray-200 bg-white p-5 shadow-sm",children:[e.jsxs("div",{className:"mb-4",children:[e.jsx("h4",{className:"text-lg font-bold text-gray-800",children:"Optional Detailed Reports"}),e.jsx("p",{className:"text-sm text-gray-500 mt-1",children:"Upload a detailed report only for the visit rows that need one."})]}),e.jsx("div",{className:"space-y-3",children:a.map((n,r)=>{const o=`mech-industrial-visit-${n.id}`;return e.jsxs("div",{className:"flex flex-col gap-3 rounded-xl border border-gray-200 bg-gray-50 p-4 md:flex-row md:items-center md:justify-between",children:[e.jsxs("div",{className:"min-w-0",children:[e.jsxs("p",{className:"text-sm font-semibold text-gray-800",children:[r+1,". ",(n.industries||[]).join(", ")]}),e.jsxs("p",{className:"text-xs text-gray-500",children:[n.class," | ",n.date]}),n.report?e.jsxs("a",{href:n.report,target:"_blank",rel:"noopener noreferrer",className:"mt-2 inline-flex items-center gap-2 text-xs font-medium text-ssgmce-blue underline underline-offset-2",children:[e.jsx(Me,{className:"text-xs"}),"View uploaded report"]}):e.jsx("p",{className:"mt-2 text-xs text-gray-400",children:"No report uploaded"})]}),e.jsxs("div",{className:"flex flex-col items-start gap-2 md:items-end",children:[e.jsxs("label",{className:"inline-flex cursor-pointer items-center gap-2 rounded-lg bg-gradient-to-r from-[#003366] to-[#004d99] px-4 py-2.5 text-xs font-semibold text-white transition-all duration-300 hover:from-[#004d99] hover:to-[#0066cc] hover:shadow-lg",children:[e.jsx(ue,{className:"text-yellow-300"}),Zt[o]?"Uploading...":"Upload Report",e.jsx("input",{type:"file",accept:".pdf,.doc,.docx,.ppt,.pptx,.xls,.xlsx,.jpg,.jpeg,.png",className:"hidden",disabled:Zt[o],onChange:l=>{const h=l.target.files?.[0];l.target.value="",h&&_s(n.id,h)}})]}),ta[o]&&e.jsx("span",{className:"text-right text-[11px] text-red-500",children:ta[o]})]})]},n.id||r)})})]})]})]})]})})(),patents:e.jsxs("div",{className:"space-y-8",children:[e.jsx("div",{className:"flex flex-wrap space-x-1 bg-gray-100 p-1 rounded-lg w-fit mb-6",children:["patents","publications","copyrights"].map(t=>e.jsx("button",{onClick:()=>Yt(t),className:`px-4 py-2 text-sm font-bold rounded-md transition-all capitalize ${K===t?"bg-white text-ssgmce-blue shadow-sm":"text-gray-500 hover:text-gray-700"}`,children:t==="copyrights"?"Copyrights":t==="patents"?"Patents":"Publications"},t))}),e.jsx(z,{mode:"wait",children:K==="patents"?e.jsxs(A.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},className:"space-y-6",children:[e.jsxs("div",{className:"flex flex-col md:flex-row justify-between items-start md:items-center border-b border-gray-100 pb-4",children:[e.jsxs("h3",{className:"text-xl font-bold text-gray-800 flex items-center mb-2 md:mb-0",children:[e.jsx(Ha,{className:"text-yellow-500 mr-2"}),e.jsx(b,{value:i("patentsTitle","Patents Granted & Published"),onSave:t=>x("patentsTitle",t)})]}),e.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[e.jsx("div",{className:"flex flex-nowrap gap-2 overflow-x-auto pb-2 hide-scrollbar sm:flex-wrap sm:overflow-visible sm:pb-0",children:X.map(t=>e.jsx("button",{onClick:()=>Fe(t),className:`px-3 py-1 text-xs font-bold whitespace-nowrap rounded-full transition-all ${M===t?"bg-ssgmce-blue text-white shadow-md":"bg-white text-gray-500 hover:text-ssgmce-blue border border-gray-200"}`,children:t},t))}),p&&e.jsxs("button",{type:"button",onClick:()=>{ae(""),T(""),U(!0)},className:"inline-flex items-center gap-2 rounded-lg bg-ssgmce-blue px-3 py-1.5 text-xs font-semibold text-white hover:bg-ssgmce-dark-blue transition-colors",children:[e.jsx(S,{}),"Add Session"]})]})]}),ie.length===0?e.jsx("div",{className:"bg-gray-50 rounded-xl border border-gray-200 p-8 text-center",children:e.jsxs("p",{className:"text-gray-500 text-sm",children:["No patents recorded for ",M,"."]})}):e.jsx("div",{className:"bg-white rounded-xl border border-gray-200 shadow-sm overflow-hidden",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"w-full text-sm text-left text-gray-600",children:[e.jsx("thead",{className:"text-xs text-gray-700 uppercase bg-gray-50 border-b border-gray-200",children:e.jsxs("tr",{children:[e.jsx("th",{className:"px-6 py-4 font-black tracking-wider w-12 text-center",children:"#"}),e.jsx("th",{className:"px-6 py-4 font-black tracking-wider w-1/3",children:"Title of Invention"}),e.jsx("th",{className:"px-6 py-4 font-black tracking-wider text-right",children:"Application No."}),e.jsx("th",{className:"px-6 py-4 font-black tracking-wider text-right",children:"Inventors"})]})}),e.jsx("tbody",{className:"divide-y divide-gray-100",children:ie.map((t,a)=>e.jsxs("tr",{className:"hover:bg-green-50/30 transition-colors group",children:[e.jsx("td",{className:"px-6 py-4 text-center font-mono text-xs text-gray-400 group-hover:text-green-600",children:a+1}),e.jsxs("td",{className:"px-6 py-4 font-medium text-gray-800",children:[t.title,e.jsx("span",{className:`ml-2 inline-flex items-center px-2 py-0.5 rounded text-[10px] font-bold uppercase tracking-wide ${t.status==="Given"||t.status==="Granted"?"bg-green-100 text-green-700":"bg-yellow-100 text-yellow-700"}`,children:t.status==="Given"?"Granted":t.status})]}),e.jsx("td",{className:"px-6 py-4 font-mono text-xs text-gray-500 whitespace-nowrap text-right",children:t.link&&t.link.trim()!==""&&t.link.trim()!=="-"?e.jsx("a",{href:t.link,target:"_blank",rel:"noopener noreferrer",className:"text-ssgmce-blue hover:text-ssgmce-dark-blue underline",children:t.id}):t.id}),e.jsx("td",{className:"px-6 py-4 text-gray-500 italic text-right",children:t.inventors})]},a))})]})})}),p&&e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 shadow-sm p-5 space-y-4",children:[e.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-3",children:[e.jsxs("div",{children:[e.jsx("h4",{className:"text-base font-bold text-gray-800",children:"Edit Patents Table in Markdown"}),e.jsx("p",{className:"text-sm text-gray-500",children:"Add patent links in the last column to make application numbers clickable."})]}),e.jsxs("button",{type:"button",onClick:()=>Rt("patents"),className:"inline-flex items-center gap-2 px-4 py-2 rounded-lg bg-ssgmce-blue text-white font-semibold hover:bg-ssgmce-dark-blue transition-colors",children:[e.jsx(S,{}),"Add New Row On Top"]})]}),e.jsx(L,{value:vt,onSave:t=>Et("patents",t),placeholder:"Edit patents table in markdown...",showDocImport:!0,docTemplateUrl:et.patents})]}),e.jsxs("div",{className:"mt-8",children:[e.jsxs("h4",{className:"text-lg font-bold text-gray-800 mb
494-4 flex items-center",children:[e.jsx(Ha,{className:"text-orange-500 mr-2"}),"Institute-Level Patent Applications"]}),p?e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 shadow-sm p-5 space-y-4",children:[e.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-3",children:[e.jsxs("div",{children:[e.jsx("h4",{className:"text-base font-bold text-gray-800",children:"Edit Institute-Level Patents in Markdown"}),e.jsx("p",{className:"text-sm text-gray-500",children:"This section uses only a markdown table in admin while keeping the public table layout unchanged."})]}),e.jsxs("button",{type:"button",onClick:Pn,className:"inline-flex items-center gap-2 px-4 py-2 rounded-lg bg-ssgmce-blue text-white font-semibold hover:bg-ssgmce-dark-blue transition-colors",children:[e.jsx(S,{}),"Add New Row On Top"]})]}),e.jsx(L,{value:An(),onSave:t=>Fa(Ti(t)),placeholder:"Edit institute-level patents table in markdown...",showDocImport:!0,docTemplateUrl:et.institutePatents})]}):e.jsx("div",{className:"bg-white rounded-xl border border-gray-200 shadow-sm overflow-hidden",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"w-full text-sm text-left text-gray-600",children:[e.jsx("thead",{className:"text-xs text-gray-700 uppercase bg-gray-50 border-b border-gray-200",children:e.jsxs("tr",{children:[e.jsx("th",{className:"px-6 py-4 font-black tracking-wider w-12 text-center",children:"#"}),e.jsx("th",{className:"px-6 py-4 font-black tracking-wider",children:"Title of Invention"}),e.jsx("th",{className:"px-6 py-4 font-black tracking-wider text-right",children:"Application No. / Patent No."}),e.jsx("th",{className:"px-6 py-4 font-black tracking-wider text-right",children:"Date of Filing"}),e.jsx("th",{className:"px-6 py-4 font-black tracking-wider text-right",children:"Status"})]})}),e.jsx("tbody",{className:"divide-y divide-gray-100",children:It().map((t,a)=>e.jsxs("tr",{className:"hover:bg-green-50/30 transition-colors group",children:[e.jsx("td",{className:"px-6 py-4 text-center font-mono text-xs text-gray-400 group-hover:text-green-600",children:a+1}),e.jsx("td",{className:"px-6 py-4 font-medium text-gray-800",children:t.title}),e.jsx("td",{className:"px-6 py-4 font-mono text-xs text-gray-500 whitespace-nowrap text-right",children:t.id}),e.jsx("td",{className:"px-6 py-4 text-xs text-gray-500 text-right",children:t.filingDate}),e.jsx("td",{className:"px-6 py-4 text-right",children:e.jsx("span",{className:`inline-flex items-center px-2 py-0.5 rounded text-[10px] font-bold uppercase tracking-wide ${String(t.status||"").toLowerCase().includes("granted")?"bg-green-100 text-green-700":String(t.status||"").toLowerCase().includes("published")?"bg-yellow-100 text-yellow-700":"bg-gray-100 text-gray-600"}`,children:t.status})})]},a))})]})})})]})]},"patents"):K==="publications"?e.jsxs(A.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},className:"space-y-6",children:[e.jsxs("div",{className:"flex flex-col md:flex-row justify-between items-start md:items-center border-b border-gray-100 pb-4",children:[e.jsxs("h3",{className:"text-xl font-bold text-gray-800 flex items-center mb-2 md:mb-0",children:[e.jsx(Ja,{className:"text-ssgmce-orange mr-2"}),e.jsx(b,{value:i("publicationsTitle","Research Publications"),onSave:t=>x("publicationsTitle",t)})]}),e.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[e.jsx("div",{className:"mr-4 flex flex-nowrap gap-2 overflow-x-auto pb-2 hide-scrollbar sm:flex-wrap sm:overflow-visible sm:pb-0",children:X.map(t=>e.jsx("button",{onClick:()=>Fe(t),className:`px-3 py-1 text-xs font-bold whitespace-nowrap rounded-full transition-all ${M===t?"bg-ssgmce-blue text-white shadow-md":"bg-white text-gray-500 hover:text-ssgmce-blue border border-gray-200"}`,children:t},t))}),p&&e.jsxs("button",{type:"button",onClick:()=>{ae(""),T(""),U(!0)},className:"inline-flex items-center gap-2 rounded-lg bg-ssgmce-blue px-3 py-1.5 text-xs font-semibold text-white hover:bg-ssgmce-dark-blue transition-colors",children:[e.jsx(S,{}),"Add Session"]})]})]}),e.jsx("div",{className:"flex items-center gap-3 mb-2",children:e.jsxs("a",{href:`/uploads/documents/departments/mechanical/publications/
494MECH_publication_${M}.pdf`,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-4 py-2 bg-blue-50 text-ssgmce-blue font-bold rounded-lg border border-blue-200 hover:bg-blue-100 transition-colors text-sm",children:[e.jsx(he,{className:"text-xs"}),"View Full Detail Report PDF (",M,")"]})}),ie.length===0?e.jsx("div",{className:"bg-gray-50 rounded-xl border border-gray-200 p-8 text-center",children:e.jsxs("p",{className:"text-gray-500 text-sm",children:["No publications recorded for ",M,"."]})}):e.jsx("div",{className:"bg-white rounded-xl border border-gray-200 shadow-sm overflow-hidden",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"w-full text-sm text-left text-gray-600",children:[e.jsx("thead",{className:"text-xs text-gray-700 uppercase bg-gray-50 border-b border-gray-200",children:e.jsxs("tr",{children:[e.jsx("th",{className:"px-6 py-4 font-black tracking-wider w-12 text-center",children:"#"}),e.jsx("th",{className:"px-6 py-4 font-black tracking-wider",children:"Title of Paper"}),e.jsx("th",{className:"px-6 py-4 font-black tracking-wider",children:"Authors"}),e.jsx("th",{className:"px-6 py-4 font-black tracking-wider",children:"Journal/Conference"}),e.jsx("th",{className:"px-6 py-4 font-black tracking-wider text-right",children:"Link"})]})}),e.jsx("tbody",{className:"divide-y divide-gray-100",children:ie.map((t,a)=>e.jsxs("tr",{className:"hover:bg-indigo-50/30 transition-colors",children:[e.jsx("td",{className:"px-6 py-4 text-center font-mono text-xs text-gray-400",children:a+1}),e.jsx("td",{className:"px-6 py-4 font-medium text-gray-800",children:t.title}),e.jsx("td",{className:"px-6 py-4 text-gray-600",children:t.authors}),e.jsx("td",{className:"px-6 py-4 text-gray-500 italic text-xs",children:t.journal}),e.jsx("td",{className:"px-6 py-4 text-right",children:t.link&&t.link.trim()!==""&&t.link.trim()!=="-"?e.jsx("div",{className:"flex flex-col items-end gap-1",children:e.jsxs("a",{href:t.link,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center text-ssgmce-blue hover:text-ssgmce-dark-blue font-bold px-3 py-1 bg-blue-50 rounded-lg transition-colors border border-blue-100",children:[e.jsx($n,{className:"mr-1.5 shrink-0 "}),"View"," ",e.jsx(he,{className:"ml-2 text-[10px]"})]})}):e.jsx("span",{className:"text-gray-400 text-xs",children:"-"})})]},a))})]})})}),p&&e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 shadow-sm p-5 space-y-4",children:[e.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-3",children:[e.jsxs("div",{children:[e.jsx("h4",{className:"text-base font-bold text-gray-800",children:"Edit Publications Table in Markdown"}),e.jsx("p",{className:"text-sm text-gray-500",children:"Add publication URLs in the last column to keep the public View button working."})]}),e.jsxs("button",{type:"button",onClick:()=>Rt("publications"),className:"inline-flex items-center gap-2 px-4 py-2 rounded-lg bg-ssgmce-blue text-white font-semibold hover:bg-ssgmce-dark-blue transition-colors",children:[e.jsx(S,{}),"Add New Row On Top"]})]}),e.jsx(L,{value:vt,onSave:t=>Et("publications",t),placeholder:"Edit publications table in markdown...",showDocImport:!0,docTemplateUrl:et.publications})]})]},"publications"):K==="copyrights"?e.jsxs(A.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},className:"space-y-6",children:[e.jsxs("div",{className:"flex flex-col md:flex-row justify-between items-start md:items-center border-b border-gray-100 pb-4",children:[e.jsxs("h3",{className:"text-xl font-bold text-gray-800 flex items-center mb-2 md:mb-0",children:[e.jsx(Bt,{className:"text-purple-500 mr-2"}),"Copyrights"]}),e.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[e.jsx("div",{className:"flex flex-nowrap gap-2 overflow-x-auto pb-2 hide-scrollbar sm:flex-wrap sm:overflow-visible sm:pb-0",children:X.map(t=>e.jsx("button",{onClick:()=>Fe(t),className:`px-3 py-1 text-xs font-bold whitespace-nowrap rounded-full transition-all ${M===t?"bg-ssgmce-blue text-white shadow-md":"bg-white text-gray-500 hover:text-ssgmce-blue border border-gray-200"}`,children:t},t))}),p&&e.jsxs("button",{type:"button",onClick:()=>{ae(""),T(""),U(!0)},className:"inline-flex items-center gap-2 rounded-lg bg-ssgmce-blue px-3 py-1.5 text-xs font-semibold text-white hover:bg-ssgmce-dark-blue transition-colors",children:[e.jsx(S,{}),"Add Session"]})]})]}),ie.length===0?e.jsx("div",{className:"bg-gray-50 rounded-xl border border-gray-200 p-8 text-center",children:e.jsxs("p",{className:"text-gray-500 text-sm",children:["No copyrights recorded for ",M,"."]})}):e.jsx("div",{className:"bg-white rounded-xl border border-gray-200 shadow-sm overflow-hidden",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"w-full text-sm text-left text-gray-600",children:[e.jsx("thead",{className:"text-xs text-gray-700 uppercase bg-gray-50 border-b border-gray-200",children:e.jsxs("tr",{children:[e.jsx("th",{className:"px-6 py-4 font-black tracking-wider w-12 text-center",children:"#"}),e.jsx("th",{className:"px-6 py-4 font-black tracking-wider",children:"Name of Faculty"}),e.jsx("th",{className:"px-6 py-4 font-black tracking-wider",children:"Title of Work"}),e.jsx("th",{className:"px-6 py-4 font-black tracking-wider text-right",children:"Status"})]})}),e.jsx("tbody",{className:"divide-y divide-gray-100",children:ie.map((t,a)=>e.jsxs("tr",{className:"hover:bg-purple-50/30 transition-colors",children:[e.jsx("td",{className:"px-6 py-4 text-center font-mono text-xs text-gray-400",children:a+1}),e.jsx("td",{className:"px-6 py-4 font-medium text-gray-800",children:t.name}),e.jsx("td",{className:"px-6 py-4 text-gray-700",children:t.link&&t.link.trim()!==""&&t.link.trim()!=="-"?e.jsx("a",{href:t.link,target:"_blank",rel:"noopener noreferrer",className:"text-ssgmce-blue hover:text-ssgmce-dark-blue underline",children:t.title}):t.title}),e.jsx("td",{className:"px-6 py-4 text-right",children:e.jsx("span",{className:"inline-flex items-center px-2 py-0.5 rounded text-[10px] font-bold uppercase tracking-wide bg-green-100 text-green-700",children:t.status})})]},a))})]})})}),p&&e.jsxs("div",{className:"bg-white rounded-xl border border-gray-200 shadow-sm p-5 space-y-4",children:[e.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-3",children:[e.jsxs("div",{children:[e.jsx("h4",{className:"text-base font-bold text-gray-800",children:"Edit Copyrights Table in Markdown"}),e.jsx("p",{className:"text-sm text-gray-500",children:"Add optional links in the last column if a copyright entry should open a document or page."})]}),e.jsxs("button",{type:"button",onClick:()=>Rt("copyrights"),className:"inline-flex items-center gap-2 px-4 py-2 rounded-lg bg-ssgmce-blue text-white font-semibold hover:bg-ssgmce-dark-blue transition-colors",children:[e.jsx(S,{}),"Add New Row On Top"]})]}),e.jsx(L,{value:vt,onSave:t=>Et("copyrights",t),placeholder:"Edit copyrights table in markdown...",showDocImport:!0,docTemplateUrl:et.copyrights})]})]},"copyrights"):null})]}),internships:e.jsxs("div",{className:"space-y-8",children:[e.jsxs("div",{className:"text-center mb-8",children:[e.jsx("h3",{className:"text-3xl font-bold text-gray-800 mb
494-3",children:e.jsx(b,{value:i("internshipsTitle","Internship and Training Record"),onSave:t=>y("internshipsTitle",t)})}),e.jsx("div",{className:"text-gray-600 max-w-2xl mx-auto",children:e.jsx(b,{value:i("internshipsSubtitle","Comprehensive internship and industrial training records providing students with hands-on industry experience and professional development."),onSave:t=>y("internshipsSubtitle",t),multiline:!0})})]}),e.jsx("div",{className:"flex justify-center mb-6",children:e.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-2",children:[e.jsx("div",{className:"inline-flex bg-gray-100 rounded-lg p-1 shadow-sm",children:re.map(t=>e.jsxs("button",{onClick:()=>Jt(t),className:`px-6 py-2 text-sm font-bold rounded-md transition-all ${C===t?"bg-white text-ssgmce-blue shadow-md":"text-gray-600 hover:text-gray-800"}`,children:["Session: ",t]},t))}),p&&e.jsxs("button",{type:"button",onClick:()=>{mt(""),q(""),je(!0)},className:"inline-flex items-center gap-2 rounded-lg bg-gradient-to-r from-ssgmce-blue to-blue-700 px-4 py-2 text-xs font-semibold text-white transition-all hover:shadow-lg",children:[e.jsx(S,{className:"text-xs"}),"Add Session"]})]})}),!p&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"flex justify-center mb-4",children:e.jsxs("a",{href:C==="2023-24"?"/uploads/documents/departments/mechanical/internships/Mech_Internship_2023-24.pdf":"/uploads/documents/departments/mechanical/internships/Mech_Internship_2022-23.pdf",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-5 py-2.5 bg-ssgmce-blue text-white rounded-lg hover:bg-blue-700 transition-all shadow-md hover:shadow-lg font-medium text-sm",children:[e.jsx(me,{className:"text-sm"}),"Download Detail Report (",C,")"]})}),e.jsx("div",{className:"bg-white rounded-xl shadow-lg border border-gray-200 overflow-hidden",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"w-full text-sm",children:[e.jsx("thead",{className:"bg-ssgmce-blue text-white",children:e.jsxs("tr",{children:[e.jsx("th",{className:"px-3 py-4 text-left font-bold whitespace-nowrap",children:"Sr. No."}),e.jsx("th",{className:"px-3 py-4 text-left font-bold whitespace-nowrap",children:"SIS ID"}),e.jsx("th",{className:"px-3 py-4 text-left font-bold",children:"Name of Student"}),e.jsx("th",{className:"px-3 py-4 text-left font-bold",children:"Name of Company"}),e.jsx("th",{className:"px-3 py-4 text-left font-bold",children:"Class"}),e.jsx("th",{className:"px-3 py-4 text-left font-bold whitespace-nowrap",children:"Start Date"}),e.jsx("th",{className:"px-3 py-4 text-left font-bold whitespace-nowrap",children:"End Date"}),e.jsx("th",{className:"px-3 py-4 text-left font-bold whitespace-nowrap",children:"Paid (Y/N)"})]})}),e.jsxs("tbody",{className:"divide-y divide-gray-200",children:[Ye.map((t,a)=>e.jsxs("tr",{className:"hover:bg-gray-50 transition-colors",children:[e.jsx("td",{className:"px-3 py-3 font-medium text-gray-900",children:a+1}),e.jsx("td",{className:"px-3 py-3 text-gray-700",children:t.sis}),e.jsx("td",{className:"px-3 py-3 text-gray-700",children:t.name}),e.jsx("td",{className:"px-3 py-3 text-gray-700 text-xs",children:t.org}),e.jsx("td",{className:"px-3 py-3 text-gray-700 text-center whitespace-nowrap",children:t.class}),e.jsx("td",{className:"px-3 py-3 text-gray-700 whitespace-nowrap",children:t.startDate}),e.jsx("td",{className:"px-3 py-3 text-gray-700 whitespace-nowrap",children:t.endDate}),e.jsx("td",{className:"px-3 py-3 text-gray-700 whitespace-nowrap",children:t.paid})]},a)),Ye.length===0&&e.jsx("tr",{children:e.jsxs("td",{colSpan:8,className:"px-6 py-12 text-center text-gray-400",children:["No internship records added for ",C," yet."]})})]})]})})}),e.jsxs("div",{className:"text-center text-sm text-gray-500 mt-4",children:["Total Records: ",Ye.length," students"]})]}),p&&e.jsx("div",{className:"space-y-4",children:e.jsxs("div",{className:"rounded-xl border border-gray-200 bg-white p-5 shadow-sm",children:[e.jsxs("div",{className:"mb-4",children:[e.jsxs("h4",{className:"text-lg font-bold text-gray-800",children:["Edit ",C," in Markdown"]}),e.jsx("p",{className:"text-sm text-gray-500 mt-1",children:"Import a DOCX or edit this session in markdown. Saving here updates the Internship and Training table without changing the public layout."})]}),e.jsx(L,{value:Us,onSave:Fs,showDocImport:!0,docTemplateUrl:"/uploads/documents/departments/mechanical/templates/mechanical_internships_template.docx",docTemplateLabel:"Download Internship Template",placeholder:`Internship records for ${C} (GFM Markdown)...`},C)]})}),e.jsxs(z,{children:[Ms&&e.jsx(A.div,{initial:{opacity:0}
494,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 bg-black/70 z-50 flex items-center justify-center p-4",onClick:()=>je(!1),children:e.jsxs(A.div,{initial:{scale:.95,opacity:0},animate:{scale:1,opacity:1},exit:{scale:.95,opacity:0},transition:{duration:.25},className:"bg-white rounded-2xl shadow-2xl max-w-md w-full p-6",onClick:t=>t.stopPropagation(),children:[e.jsxs("div",{className:"flex items-center justify-between mb-6",children:[e.jsxs("h3",{className:"text-2xl font-bold text-gray-800 flex items-center gap-2",children:[e.jsx(S,{className:"text-ssgmce-blue"})," Add Internship Session"]}),e.jsx("button",{onClick:()=>{q(""),je(!1)},className:"text-gray-400 hover:text-gray-600 transition-colors",children:e.jsx(pe,{className:"text-xl"})})]}),e.jsxs("div",{className:"space-y-4 mb-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"block text-sm font-semibold text-gray-700 mb-2",children:["Academic Year ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsx("input",{type:"text",placeholder:"e.g., 2025-26",value:dt,onChange:t=>{mt(t.target.value),pt&&q("")},className:"w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-ssgmce-blue focus:border-transparent"}),e.jsx("p",{className:"text-xs text-gray-500 mt-1",children:"Enter the academic year in format YYYY-YY."}),pt?e.jsx("p",{className:"text-xs text-red-600 mt-2",children:pt}):null]}),e.jsx("div",{className:"bg-blue-50 border border-blue-200 rounded-lg p-3",children:e.jsxs("p",{className:"text-sm text-blue-800",children:[e.jsx("strong",{children:"Note:"})," After adding the session, you will get an empty markdown editor with the same Internship and Training table structure, plus DOCX import and template download support for that session."]})})]}),e.jsxs("div",{className:"flex gap-3",children:[e.jsx("button",{onClick:()=>{q(""),je(!1)},className:"flex-1 px-4 py-2 border border-gray-300 text-gray-700 font-semibold rounded-lg hover:bg-gray-50 transition-colors",children:"Cancel"}),e.jsxs("button",{onClick:Gs,disabled:!dt.trim(),className:"flex-1 px-4 py-2 bg-gradient-to-r from-ssgmce-blue to-blue-700 text-white font-semibold rounded-lg hover:shadow-lg transition-all disabled:opacity-50 disabled:cursor-not-allowed flex items-center justify-center gap-2",children:[e.jsx(S,{})," Add Session"]})]})]})}),Ht&&e.jsx(A.div,{initial:{opacity:0}
494,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 bg-black/50 backdrop-blur-sm z-[9999] flex items-center justify-center p-4",onClick:()=>{T(""),U(!1)},children:e.jsxs(A.div,{initial:{scale:.95,opacity:0},animate:{scale:1,opacity:1},exit:{scale:.95,opacity:0},transition:{duration:.25},className:"bg-white rounded-2xl shadow-2xl max-w-md w-full p-6",onClick:t=>t.stopPropagation(),children:[e.jsxs("div",{className:"flex items-center justify-between mb-6",children:[e.jsxs("h3",{className:"text-2xl font-bold text-gray-800 flex items-center gap-2",children:[e.jsx(S,{className:"text-ssgmce-blue"})," Add Research Session"]}),e.jsx("button",{onClick:()=>{T(""),U(!1)},className:"text-gray-400 hover:text-gray-600 transition-colors",children:e.jsx(pe,{className:"text-xl"})})]}),e.jsxs("div",{className:"space-y-4 mb-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"block text-sm font-semibold text-gray-700 mb-2",children:["Academic Year ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsx("input",{type:"text",placeholder:"e.g., 2025-26",value:ye,onChange:t=>{ae(t.target.value),se&&T("")},className:"w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-ssgmce-blue focus:border-transparent"}),e.jsx("p",{className:"text-xs text-gray-500 mt-1",children:"Enter the academic year in format YYYY-YY (e.g., 2025-26)"}),se?e.jsx("p",{className:"text-xs text-red-600 mt-2",children:se}):null]}),e.jsx("div",{className:"bg-blue-50 border border-blue-200 rounded-lg p-3",children:e.jsxs("p",{className:"text-sm text-blue-800",children:[e.jsx("strong",{children:"Note:"})," This will create a new empty year for Mechanical patents, publications, and copyrights with markdown, DOCX import, and template download support."]}
494)})]}),e.jsxs("div",{className:"flex gap-3",children:[e.jsx("button",{onClick:()=>{T(""),U(!1)},className:"flex-1 px-4 py-2 border border-gray-300 text-gray-700 font-semibold rounded-lg hover:bg-gray-50 transition-colors",children:"Cancel"}),e.jsxs("button",{onClick:ja,disabled:!ye.trim(),className:"flex-1 px-4 py-2 bg-gradient-to-r from-ssgmce-blue to-blue-700 text-white font-semibold rounded-lg hover:shadow-lg transition-all disabled:opacity-50 disabled:cursor-not-allowed flex items-center justify-center gap-2",children:[e.jsx(S,{})," Add Session"]})]})]})})]})]})},Fn=()=>{const t=Ka.find(a=>a.id===c)?.label||Ya.find(a=>a.id===c)?.label;return Un[c]||e.jsxs("div",{className:"min-h-[400px] flex flex-col items-center justify-center p-8 bg-white rounded-2xl border border-gray-100 shadow-sm text-center",children:[e.jsxs("div",{className:"w-24 h-24 bg-blue-50 text-ssgmce-orange rounded-full flex items-center justify-center mb-6 relative",children:[e.jsx(tr,{className:"text-4xl relative z-10"}),e.jsx("div",{className:"absolute inset-0 bg-blue-100 rounded-full animate-ping opacity-20"})]}),e.jsx("span",{className:"inline-block px-3 py-1 bg-yellow-100 text-yellow-700 text-xs font-bold uppercase tracking-wider rounded-full mb-4",children:"Coming Soon"}),e.jsx("h3",{className:"text-2xl font-bold text-gray-800 mb-2",children:t}),e.jsx("p",{className:"text-gray-500 max-w-md mx-auto mb-8 leading-relaxed",children:"We are currently crafting this section to provide you with comprehensive insights. This content is in the pipeline and will be available shortly."}),e.jsx("button",{onClick:()=>u("overview"),className:"px-6 py-2.5 bg-gray-900 text-white font-medium rounded-lg hover:bg-gray-800 transition-colors text-sm shadow-lg shadow-gray-200",children:"Back to Overview"})]})};return e.jsx(ar,{title:"Mechanical Engineering",backgroundImage:Er,children:e.jsxs("div",{className:"mx-auto flex max-w-7xl flex-col gap-6 lg:flex-row lg:gap-12",children:[e.jsx("div",{className:"order-1 lg:order-1 lg:w-1/4",children:e.jsx(sr,{title:"Mechanical",activeTab:c,onTabChange:u,academicsLinks:Ka,industryLinks:Ya})}),e.jsx("div",{className:"lg:w-3/4 order-2 lg:order-2 min-h-[600px]",children:e.jsx(z,{mode:"wait",children:e.jsx(A.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.3},children:Fn()},c)})}),e.jsxs(z,{children:[Ss&&e.jsx(A.div,{initial:{opacity:0}
494,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 bg-black/50 flex items-center justify-center z-50 p-4",onClick:()=>{H(""),be(!1)},children:e.jsxs(A.div,{initial:{scale:.95,opacity:0},animate:{scale:1,opacity:1},exit:{scale:.95,opacity:0},transition:{duration:.25},className:"bg-white rounded-2xl shadow-2xl max-w-md w-full p-6",onClick:t=>t.stopPropagation(),children:[e.jsxs("div",{className:"flex items-center justify-between mb-6",children:[e.jsxs("h3",{className:"text-2xl font-bold text-gray-800 flex items-center gap-2",children:[e.jsx(S,{className:"text-ssgmce-blue"})," Add New Academic Year"]}),e.jsx("button",{onClick:()=>{H(""),be(!1)},className:"text-gray-400 hover:text-gray-600 transition-colors",children:e.jsx(pe,{className:"text-xl"})})]}),e.jsxs("div",{className:"space-y-4 mb-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"block text-sm font-semibold text-gray-700 mb-2",children:["Academic Year ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsx("input",{type:"text",placeholder:"e.g., 2025-26",value:nt,onChange:t=>{rt(t.target.value),it&&H("")},className:"w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-ssgmce-blue focus:border-transparent"}),e.jsx("p",{className:"text-xs text-gray-500 mt-1",children:"Enter the academic year in format YYYY-YY (e.g., 2025-26)"}),it?e.jsx("p",{className:"text-xs text-red-600 mt-2",children:it}):null]}),e.jsx("div",{className:"bg-blue-50 border border-blue-200 rounded-lg p-3",children:e.jsxs("p",{className:"text-sm text-blue-800",children:[e.jsx("strong",{children:"Note:"}),' After adding the year, you can click "View Details" to edit the placement records for this academic year.']})})]}),e.jsxs("div",{className:"flex gap-3",children:[e.jsx("button",{onClick:()=>{H(""),be(!1)},className:"flex-1 px-4 py-2 border border-gray-300 text-gray-700 font-semibold rounded-lg hover:bg-gray-50 transition-colors",children:"Cancel"}),e.jsxs("button",{onClick:Zs,disabled:!nt.trim(),className:"flex-1 px-4 py-2 bg-gradient-to-r from-ssgmce-blue to-blue-700 text-white font-semibold rounded-lg hover:shadow-lg transition-all disabled:opacity-50 disabled:cursor-not-allowed flex items-center justify-center gap-2",children:[e.jsx(S,{})," Add Year"]})]})]})}),Ht&&e.jsx(A.div,{initial:{opacity:0}
494,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 bg-black/50 backdrop-blur-sm z-[9999] flex items-center justify-center p-4",onClick:()=>{T(""),U(!1)},children:e.jsxs(A.div,{initial:{scale:.95,opacity:0},animate:{scale:1,opacity:1},exit:{scale:.95,opacity:0},transition:{duration:.25},className:"bg-white rounded-2xl shadow-2xl max-w-md w-full p-6",onClick:t=>t.stopPropagation(),children:[e.jsxs("div",{className:"flex items-center justify-between mb-6",children:[e.jsxs("h3",{className:"text-2xl font-bold text-gray-800 flex items-center gap-2",children:[e.jsx(S,{className:"text-ssgmce-blue"})," Add Research Session"]}),e.jsx("button",{onClick:()=>{T(""),U(!1)},className:"text-gray-400 hover:text-gray-600 transition-colors",children:e.jsx(pe,{className:"text-xl"})})]}),e.jsxs("div",{className:"space-y-4 mb-6",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"block text-sm font-semibold text-gray-700 mb-2",children:["Academic Year ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsx("input",{type:"text",placeholder:"e.g., 2025-26",value:ye,onChange:t=>{ae(t.target.value),se&&T("")},className:"w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-ssgmce-blue focus:border-transparent"}),e.jsx("p",{className:"text-xs text-gray-500 mt-1",children:"Enter the academic year in format YYYY-YY (e.g., 2025-26)"}),se?e.jsx("p",{className:"text-xs text-red-600 mt-2",children:se}):null]}),e.jsx("div",{className:"bg-blue-50 border border-blue-200 rounded-lg p-3",children:e.jsxs("p",{className:"text-sm text-blue-800",children:[e.jsx("strong",{children:"Note:"})," This will create a new empty year for Mechanical patents, publications, and copyrights with markdown, DOCX import, and template download support."]}
494)})]}),e.jsxs("div",{className:"flex gap-3",children:[e.jsx("button",{onClick:()=>{T(""),U(!1)},className:"flex-1 px-4 py-2 border border-gray-300 text-gray-700 font-semibold rounded-lg hover:bg-gray-50 transition-colors",children:"Cancel"}),e.jsxs("button",{onClick:ja,disabled:!ye.trim(),className:"flex-1 px-4 py-2 bg-gradient-to-r from-ssgmce-blue to-blue-700 text-white font-semibold rounded-lg hover:shadow-lg transition-all disabled:opacity-50 disabled:cursor-not-allowed flex items-center justify-center gap-2",children:[e.jsx(S,{})," Add Session"]})]})]})})]})]})})},Ri="https://www.ssgmce.ac.in/images/mech_faculty/",bs=(m="")=>{const c=String(m||"").trim();if(!c)return"";try{const u=new URL(c.startsWith("//")?`https:${c}`:c,window.location.origin);if(/\/images\/mechanical_faculty\//i.test(u.pathname)){const f=u.pathname.split("/").filter(Boolean).pop()||"";return ge(f?`/uploads/images/mechanical/activities/${f}`:c)}}catch{if(c.toLowerCase().startsWith(Ri.toLowerCase())){const u=c.split("/").pop()?.split("?")[0]||"";return ge(u?`/uploads/images/mechanical/activities/${u}`:c)}}return ge(c)},Z=(m={})=>({title:String(m.title||"").trim(),date:String(m.date||"").trim(),participants:String(m.participants||"").trim(),organizer:String(m.organizer||"").trim(),resource:String(m.resource||"").trim(),image:String(m.image||"").trim()}),$t=Kt.map(Z),ys=(m={},c=-1)=>{const u=String(m?.image||"").trim(),f=String(Kt[c]?.image||"").trim();return Zn(u)&&f?bs(f):bs(u)},Ve=(m,c,u=!1)=>{const f=String(c||"").split(` 495`).map(d=>d.trim()).filter(Boolean);return!f.length&&!u?"":[`- ${m}: ${f[0]||""}`,...f.slice(1).map(d=>` ${d}`)].join(` 496`)},fs=(m=[])=>m.map(c=>Z(c)).filter(c=>c.title).map(c=>[`## ${c.title}`,Ve("Date",c.date,!0),Ve("Participants",c.participants,!0),Ve("Organized by",c.organizer,!0),Ve("Resource Person",c.resource,!0),Ve("Image",c.image,!0)].filter(Boolean).join(` 497`)).join(` 498 499`),vs=(m="")=>typeof m!="string"||!m.trim()?[]:m.split(/^(?=## )/m).map(c=>c.trim()).filter(Boolean).map(c=>{const u=c.split(` 500`),d=(u.shift()||"").replace(/^##\s+/,"").trim(),w={date:[],participants:[],organizer:[],resource:[],image:[]};let D=null;return u.forEach(g=>{const I=g.trim();if(!I)return;const te=I.match(/^-\s*(Date|Participants|Organized by|Resource Person|Image)\s*:\s*(.*)$/i);if(te){const[,tt,K]=te;D={date:"date",participants:"participants","organized by":"organizer","resource person":"resource",image:"image"}[tt.toLowerCase()]||null,D&&w[D].push(K.trim());return}D&&w[D].push(I)}),Z({title:d,date:w.date.join(` 501`).trim(),participants:w.participants.join(` 502`).trim(),organizer:w.organizer.join(` 503`).trim(),resource:w.resource.join(` 504`).trim(),image:w.image.join(` 505`).trim()})}).filter(c=>c.title);export{co 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.