PageSourceSearch

https://aurcc.ac.in/assets/Library-BQ-199jH.js

js aurcc.ac.in collected 2026-10-02 20:05:06 UTC 28,014 bytes, 21 lines download raw bytes

1import{r as n,j as e}from"./index-C79-5lOV.js";const Y=()=>{var c,m,h,b,g,p,j,u,y,f,N,v,w,_,k,L,$,A,C,S,P,E,M,W,R,B,O,I,D,z,T,F,U,q;const[V,G]=n.useState("About Library"),H=["About Library","E-journals","Library Resources","Digital Library","Open Access Resources","Library Sections","Faculty"],[r,K]=n.useState(null),[d,x]=n.useState(!1),[s,J]=n.useState(null),a="";n.useEffect(()=>{fetch("/api/library").then(t=>t.json()).then(t=>{console.log(t),K(t)})},[]),n.useEffect(()=>(d?document.body.style.overflow="hidden":document.body.style.overflow="unset",()=>{document.body.style.overflow="unset"}),[d]);const Q=t=>{const l=document.getElementById(t.replace(/ /g,""));if(l){const i=l.offsetTop-100;window.scrollTo({top:i,behavior:"smooth"})}G(t)},o=t=>t.split("_").map(l=>l.charAt(0).toUpperCase()+l.slice(1)).join(" ");return r?e.jsxs("main",{className:"flex-grow min-h-screen bg-gray-50 text-left pt-[120px] sm:pt-[140px] lg:pt-[120px]",children:[e.jsxs("section",{className:"relative w-full h-64 sm:h-72 md:h-80 lg:h-[45vh] overflow-hidden",children:[e.jsx("img",{src:"/library.webp",alt:"Library",className:"absolute inset-0 w-full h-full object-cover object-center"}),e.jsx("div",{className:"absolute inset-0 bg-black/50"}),e.jsx("div",{className:"relative flex items-center justify-center h-full px-4",children:e.jsxs("div",{className:"backdrop-blur-md rounded-2xl shadow-lg px-6 py-6 md:py-10 flex flex-col items-center max-w-2xl mx-4 sm:mx-auto border border-white/30 animate-popIn",children:[e.jsx("h1",{className:"text-2xl sm:text-3xl lg:text-4xl xl:text-5xl font-extrabold mb-4 drop-shadow-lg font-serif text-white animate-fadeInUp",children:"Library"}),e.jsx("p",{className:"text-sm sm:text-base lg:text-lg max-w-3xl mx-auto leading-relaxed drop-shadow-lg font-sans text-white opacity-90 animate-fadeInUp text-center",children:"Explore our extensive library resources and services, including books, e-journals, and more."})]})})]}),e.jsx("div",{className:"hidden lg:block sticky top-0 z-30",children:e.jsx("div",{className:"max-w-7xl mx-auto px-4",children:e.jsx("div",{className:"bg-white/95 backdrop-blur-md shadow-lg rounded-full -mt-6 py-2 px-3 flex justify-center overflow-x-auto no-scrollbar gap-2 border border-[rgb(220,140,140)]",children:H.map(t=>e.jsx("button",{onClick:()=>Q(t),className:`font-bold px-5 py-3 rounded-full text-xs sm:text-sm lg:text-base transition-all duration-300 whitespace-nowrap ${V===t?"bg-[rgb(115,40,40)] text-white shadow-md":"text-gray-700 hover:bg-[rgb(220,140,140)] hover:text-[rgb(115,40,40)]"}`,children:t},t))})})}),e.jsxs("div",{className:"max-w-7xl mx-auto py-12 px-4 space-y-16",children:[e.jsxs("section",{id:"AboutLibrary",className:"py-8 animate-fadeIn",children:[e.jsxs("div",{className:"text-center mb-8 ",children:[e.jsx("h2",{className:"text-2xl sm:text-3xl lg:text-3xl font-bold text-gray-800 font-serif uppercase mb-2",children:"Over view"}),e.jsx("div",{className:"flex justify-center ",children:e.jsx("span",{className:"block w-24 h-1.5 rounded-full bg-[#f5c842]"})})]}),e.jsx("div",{className:"max-w-7xl mx-auto px-4 p-8 rounded-2xl border border-[rgb(200,120,120)]",children:e.jsx("div",{className:"px-8 py-8",children:e.jsx("p",{className:"lg:text-lg xl:text-lg font-medium text-gray-500 text-center border-[rgb(220,140,140)",children:r.description})})})]}),e.jsxs("section",{id:"E-journals",children:[e.jsxs("div",{className:"flex flex-col items-center mb-8",children:[e.jsx("h2",{className:"text-2xl sm:text-3xl lg:text-3xl font-bold text-gray-800 font-serif uppercase mb-4 text-center",children:"E-journals & Features"}),e.jsx("span",{className:"block w-24 h-1.5 rounded-full bg-[#f5c842]"})]}),e.jsx("p",{className:"text-lg font-semibold text-[rgb(100,25,25)] mb-6 ",children:r.e_journals.description}),e.jsxs("div",{className:"grid md:grid-cols-2 gap-10",children:[e.jsxs("div",{className:"px-6 py-4 bg-white text-[rgb(100,25,25)] rounded-2xl border border-[rgb(200,120,120)] hover:bg-[rgb(220,140,140)] hover:shadow-md hover:-translate-y-1 transition-all",children:[e.jsx("h3",{className:"font-bold text-lg mb-4 text-gray-800",children:"Salient Features"}),e.jsx("ul",{className:"space-y-2 text-gray-700 font-medium",children:r.e_journals.library_salient_features.map((t,l)=>e.jsxs("li",{className:"flex gap-2 items-start",children:[e.jsx("svg",{className:"w-3.5 h-3.5 text-[rgb(115,25,25)] mt-1.5 shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"3",d:"M9 5l7 7-7 7"})}),t]},l))})]}),e.jsxs("div",{className:"px-6 py-4 bg-white text-[rgb(100,25,25)] rounded-2xl border border-[rgb(200,120,120)] hover:bg-[rgb(220,140,140)] hover:shadow-md hover:-translate-y-1 transition-all",children:[e.jsx("h3",{className:"font-bold text-lg mb-4 text-gray-800",children:"Library Services"}),e.jsx("ul",{className:"space-y-2 text-gray-700 font-medium",children:r.e_journals.library_services.map((t,l)=>e.jsxs("li",{className:"flex gap-2 items-start",children:[e.jsx("svg",{className:"w-3.5 h-3.5 text-[rgb(115,25,25)] mt-1.5 shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"3",d:"M9 5l7 7-7 7"})}),t]},l))})]})]})]}),e.jsxs("section",{id:"LibraryResources",children:[e.jsxs("div",{className:"flex flex-col items-center mb-8",children:[e.jsx("h2",{className:"text-2xl sm:text-3xl lg:text-3xl font-bold text-gray-800 font-serif uppercase mb-4 text-center",children:"Library Resources"}),e.jsx("span",{className:"block w-24 h-1.5 rounded-full bg-[#f5c842]"})]}),e.jsxs("div",{className:"max-w-7xl mx-auto px-4 p-8 rounded-2xl border border-[rgb(200,120,120)]",children:[e.jsx("p",{className:"text-lg text-gray-600 text-center mb-10",children:r.library_resources.description}),e.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-6",children:Object.entries(r.library_resources.collection).map(([t,l],i)=>e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"flex justify-center mb-2",children:e.jsx("svg",{className:"w-8 h-8 text-[rgb(115,25,25)]",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253"})})}),e.jsx("span",{className:"text-2xl font-bold text-[rgb(100,25,25)]",children:l}),e.jsx("p",{className:"text-xs text-gray-500",children:o(t)})]},i))})]})]}),e.jsxs("section",{id:"DigitalLibrary",children:[e.jsxs("div",{className:"flex flex-col items-center mb-8",children:[e.jsx("h2",{className:"text-2xl sm:text-3xl lg:text-3xl font-bold text-gray-800 font-serif uppercase mb-4 text-center",children:"Digital Library"}),e.jsx("span",{className:"block w-24 h-1.5 rounded-full bg-[#f5c842]"})]}),e.jsxs("div",{className:"max-w-7xl mx-auto px-4 p-8 rounded-2xl border border-[rgb(200,120,120)]",children:[e.jsx("p",{className:"text-lg text-center text-gray-600 mb-8",children:r.digital_library.description}),e.jsxs("div",{className:"grid sm:grid-cols-2 gap-6 max-w-4xl mx-auto",children:[e.jsxs("div",{className:"px-6 py-4 bg-white text-[rgb(100,25,25)] rounded-2xl border border-[rgb(200,120,120)] hover:bg-[rgb(220,140,140)] hover:shadow-md hover:-translate-y-1 transition-all flex items-center justify-center gap-3",children:[e.jsx("svg",{className:"w-5 h-5 text-[rgb(115,25,25)] shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M21 12a9 9 0 01-9 9m9-9a9 9 0 00-9-9m9 9H3m9 9a9 9 0 01-9-9m9 9c1.657 0 3-4.03 3-9s-1.343-9-3-9m0 18c-1.657 0-3-4.03-3-9s1.343-9 3-9m-9 9a9 9 0 019-9"})}),e.jsx("span",{children:r.digital_library.e_resources})]}),e.jsxs("div",{className:"px-6 py-4 bg-white text-[rgb(100,25,25)] rounded-2xl border border-[rgb(200,120,120)] hover:bg-[rgb(220,140,140)] hover:shadow-md hover:-translate-y-1 transition-all flex items-center justify-center gap-3",children:[e.jsx("svg",{className:"w-5 h-5 text-[rgb(115,25,25)] shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M7 4v16M17 4v16M3 8h4m10 0h4M3 12h18M3 16h4m10 0h4M4 20h16a1 1 0 001-1V5a1 1 0 00-1-1H4a1 1 0 00-1 1v14a1 1 0 001 1z"})}),e.jsx("span",{children:r.digital_library.multimedia})]})]})]})]}),e.jsxs("section",{id:"OpenAccessResources",className:"bg-white rounded-3xl shadow-sm border border-gray-100 overflow-hidden hover:shadow-lg transition-all animate-fadeIn",children:[e.jsx("div",{className:"bg-[rgb(110,35,35)] py-6 px-8 text-center text-white",children:e.jsx("h2",{className:"text-xl lg:text-2xl font-bold",children:"Open Access Resources"})}),e.jsx("div",{className:"p-8",children:e.jsx("div",{className:"flex flex-wrap justify-center gap-4",children:r.open_access_resources.map((t,l)=>e.jsxs("div",{className:"px-6 py-4 bg-white text-[rgb(100,25,25)] font-bold rounded-2xl border border-[rgb(200,120,120)] flex items-center gap-3 hover:bg-[rgb(220,140,140)] hover:shadow-md hover:-translate-y-1 transition-all",children:[e.jsx("svg",{className:"w-4 h-4 text-[rgb(140,60,60)] shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101m-.758-4.899a4 4 0 005.656 0l4-4a4 4 0 00-5.656-5.656l-1.1 1.1"})}),t]},l))})})]}),e.jsxs("section",{id:"LibrarySections",className:"bg-white rounded-3xl shadow-sm border border-gray-100 overflow-hidden hover:shadow-lg transition-all animate-fadeIn",children:[e.jsx("div",{className:"bg-[rgb(110,35,35)] py-6 px-8 text-center text-white",children:e.jsx("h2",{className:"text-xl lg:text-2xl font-bold",children:"Library Sections"})}),e.jsx("div",{className:"p-8",children:e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:Object.entries(r.library_section).map(([t,l],i)=>e.jsxs("div",{className:"p-6 bg-white border border-gray-100 rounded-2xl shadow-sm hover:bg-[rgb(220,140,140)] hover:shadow-md hover:-translate-y-1 transition-all",children:[e.jsx("h4",{className:"text-lg font-bold text-[rgb(100,25,25)] mb-3 border-b border-[rgb(220,140,140)] pb-2",children:o(t)}),e.jsx("p",{className:"text-sm lg:text-base text-gray-700 leading-relaxed font-medium",children:l})]},i))})})]}),e.jsxs("section",{id:"Faculty",className:"w-full bg-gray-100 py-12 px-4",children:[e.jsx("div",{className:"bg-[rgb(110,35,35)] py-6 text-center text-white rounded-t-3xl max-w-6xl mx-auto",children:e.jsx("h2",{className:"text-xl lg:text-2xl font-bold",children:"Library Team"})}),e.jsx("div",{className:`max-w-6xl mx-auto bg-white rounded-3xl shadow-md 
2                            border border-[rgb(180,100,100)] 
3                            px-6 lg:px-12 py-14`,children:e.jsx("div",{className:`grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 
4                            gap-8 justify-items-center`,children:r.faculty.map((t,l)=>e.jsxs("div",{className:`relative w-[320px] bg-white rounded-3xl 
5                            border border-[rgb(180,100,100)] 
6                            shadow-md hover:shadow-xl 
7                            transition-all duration-300 
8                            overflow-hidden`,children:[e.jsx("div",{className:"h-24 bg-[rgb(110,35,35)]"}),e.jsx("div",{className:"absolute top-12 left-1/2 -translate-x-1/2",children:e.jsx("img",{src:t.profile_photo?t.profile_photo.startsWith("public/")||t.profile_photo.startsWith("/public/")?`${a}/${t.profile_photo}`:`${a}/public/${t.profile_photo}`:`${a}/public/${t.photo||t.image||t.img||"default-staff.jpg"}`,alt:t.name,className:`w-32 h-[152px] object-cover 
9                                rounded-full border-4 
10                                border-white shadow-lg`})}),e.jsxs("div",{className:"pt-28 pb-8 px-6 text-center",children:[e.jsxs("h3",{className:"text-lg font-bold text-[rgb(115,25,25)]",children:[t.title?`${t.title} `:"",t.name]}),e.jsx("p",{className:"text-gray-600 font-semibold mt-2",children:t.position||t.designation}),e.jsx("p",{className:"text-gray-500 text-sm mt-1",children:t.email}),e.jsx("button",{onClick:()=>{J(t),x(!0)},className:`mt-6 px-6 py-2 
11                                        bg-[rgb(115,25,25)] 
12                                        text-white rounded-lg 
13                                        hover:bg-[rgb(90,15,15)] 
14                                        transition-all duration-300`,children:"View Profile"})]})]},l))})})]}),r.staff&&r.staff.length>0&&e.jsxs("section",{id:"Staff",className:"w-full bg-gray-100 py-12 px-4 mt-8",children:[e.jsx("div",{className:"bg-[rgb(110,35,35)] py-6 text-center text-white rounded-t-3xl max-w-6xl mx-auto",children:e.jsx("h2",{className:"text-xl lg:text-2xl font-bold",children:"Staff"})}),e.jsx("div",{className:`max-w-6xl mx-auto bg-white rounded-b-3xl shadow-md
15                 border border-[rgb(180,100,100)]
16                 px-6 lg:px-12 py-14`,children:e.jsx("div",{className:`grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-2
17                   gap-8 justify-items-center max-w-4xl mx-auto`,children:r.staff.map((t,l)=>e.jsxs("div",{className:`relative w-[320px] bg-white rounded-3xl
18                       border border-[rgb(180,100,100)]
19                       shadow-md hover:shadow-xl
20                       transition-all duration-300
21                       overflow-hidden`,children:[e.jsx("div",{className:"h-24 bg-[rgb(110,35,35)]"}),e.jsx("div",{className:"absolute top-12 left-1/2 -translate-x-1/2",children:e.jsx("img",{src:t.image?`${a}/public/${t.image}`:`${a}/public/default-staff.jpg`,alt:t.name,className:"w-32 h-[152px] object-cover rounded-full border-4 border-white shadow-lg"})}),e.jsxs("div",{className:"pt-28 pb-8 px-6 text-center",children:[e.jsx("h3",{className:"text-lg font-bold text-[rgb(115,25,25)]",children:t.name}),e.jsx("p",{className:"text-gray-600 font-semibold mt-2",children:t.designation})]})]},l))})})]})]}),d&&s&&e.jsx("div",{className:"fixed inset-0 bg-black/50 backdrop-blur-sm flex items-center justify-center z-[9999] p-4",onClick:()=>x(!1),children:e.jsxs("div",{className:"relative bg-white rounded-2xl shadow-xl max-w-5xl w-full h-[85vh] md:h-[80vh] overflow-hidden flex flex-col md:flex-row mt-0 md:mt-[120px]",onClick:t=>t.stopPropagation(),children:[e.jsx("button",{onClick:()=>x(!1),className:"absolute top-4 right-4 z-[999] text-gray-700 hover:text-gray-950 bg-white/70 hover:bg-white/95 backdrop-blur-sm rounded-full w-8 h-8 flex items-center justify-center shadow-md border border-gray-200/50 transition-all text-base font-bold","aria-label":"Close Profile",children:"✕"}),e.jsxs("div",{className:"w-full md:w-1/3 bg-[rgb(242,198,198)] text-left md:text-center p-4 md:p-6 flex flex-row md:flex-col items-center gap-4 md:gap-0 shrink-0",children:[e.jsx("img",{src:s.profile_photo?s.profile_photo.startsWith("public/")||s.profile_photo.startsWith("/public/")?`${a}/${s.profile_photo}`:`${a}/public/${s.profile_photo}`:`${a}/public/${s.photo||s.image||s.img||"default-staff.jpg"}`,alt:s.name,className:"w-24 h-32 md:w-48 md:h-60 rounded-xl border shadow object-cover shrink-0"}),e.jsxs("div",{className:"flex flex-col justify-center md:items-center min-w-0 pr-8 md:pr-0",children:[e.jsxs("h2",{className:"mobile-faculty-name text-[rgb(100,25,25)] font-bold mt-0 md:mt-4 leading-tight",style:{"--name-length":`${s.title||""} ${s.name||""}`.trim().length},children:[s.title?`${s.title} `:"",s.name]}),e.jsx("p",{className:"text-xs sm:text-sm md:text-base text-[rgb(115,40,40)] font-semibold mt-1 md:mt-2 leading-tight",children:s.position||s.designation}),e.jsx("p",{className:"text-[10px] sm:text-xs md:text-sm text-[rgb(100,25,25)]/80 font-medium mt
21-0.5 leading-tight",children:s.department||"Library"}),e.jsx("p",{className:"text-[10px] sm:text-xs md:text-sm mt-1.5 md:mt-2.5 text-blue-600 font-medium break-all leading-tight hover:underline",children:((c=s.contact)==null?void 0:c.email)||s.email})]})]}),e.jsxs("div",{className:"w-full md:w-2/3 flex flex-col flex-grow overflow-hidden",children:[e.jsx("div",{className:"sticky top-0 bg-white z-10 p-4 flex items-center justify-center relative shrink-0",children:e.jsxs("h1",{className:"text-xl md:text-2xl font-bold text-[rgb(100,25,25)] relative inline-block",children:["Faculty Profile",e.jsx("span",{className:"absolute -bottom-4 sm:-bottom-3 left-1/2 transform -translate-x-1/2 h-1 w-32 sm:w-40 lg:w-32 bg-yellow-500"})]})}),e.jsxs("div",{className:"p-4 sm:p-6 overflow-y-auto space-y-5 sm:space-y-6 scrollbar-thin scrollbar-thumb-gray-400",children:[s.about&&e.jsxs("section",{children:[e.jsx("h3",{className:"font-bold text-sm sm:text-base md:text-lg text-gray-800 border-b border-gray-100 pb-1",children:"About"}),e.jsx("p",{className:"text-xs sm:text-sm md:text-base text-gray-600 leading-relaxed text-justify mt-1.5",children:s.about})]}),((m=s.present_roles)==null?void 0:m.length)>0&&e.jsxs("section",{children:[e.jsx("h3",{className:"font-bold text-sm sm:text-base md:text-lg text-gray-800 border-b border-gray-100 pb-1",children:"Present Roles"}),e.jsx("ul",{className:"list-disc pl-4 sm:pl-5 space-y-1 sm:space-y-1.5 mt-1.5",children:s.present_roles.map((t,l)=>e.jsx("li",{className:"text-xs sm:text-sm md:text-base text-gray-600 leading-relaxed",children:t},l))})]}),(((b=(h=s.education)==null?void 0:h.qualifications)==null?void 0:b.length)>0||Array.isArray(s.education)||typeof s.education=="string"&&s.education!=="")&&e.jsxs("section",{children:[e.jsx("h3",{className:"font-bold text-sm sm:text-base md:text-lg text-gray-800 border-b border-gray-100 pb-1",children:"Education"}),e.jsx("ul",{className:"list-disc pl-4 sm:pl-5 space-y-1 sm:space-y-1.5 mt-1.5",children:((p=(g=s.education)==null?void 0:g.qualifications)==null?void 0:p.length)>0?s.education.qualifications.map((t,l)=>e.jsx("li",{className:"text-xs sm:text-sm md:text-base text-gray-600 leading-relaxed",children:t},l)):Array.isArray(s.education)?s.education.map((t,l)=>e.jsx("li",{className:"text-xs sm:text-sm md:text-base text-gray-600 leading-relaxed",children:typeof t=="object"?`${t.degree}${t.institution?` - ${t.institution}`:""}${t.year?` (${t.year})`:""}`:t},l)):e.jsx("li",{className:"text-xs sm:text-sm md:text-base text-gray-600 leading-relaxed",children:s.education})})]}),(((j=s.experience)==null?void 0:j.length)>0||typeof s.experience=="string"&&s.experience!==""||((u=s.professional_experience)==null?void 0:u.length)>0||((y=s.previous_positions)==null?void 0:y.length)>0||s.teaching_experience)&&e.jsxs("section",{children:[e.jsx("h3",{className:"font-bold text-sm sm:text-base md:text-lg text-gray-800 border-b border-gray-100 pb-1",children:"Experience"}),s.teaching_experience&&e.jsxs("p",{className:"text-xs sm:text-sm md:text-base text-gray-600 leading-relaxed mt-1.5 mb-2",children:[e.jsx("span",{className:"font-semibold",children:"Teaching Experience:"})," ",s.teaching_experience]}),(((f=s.experience)==null?void 0:f.length)>0||typeof s.experience=="string"&&s.experience!==""||((N=s.professional_experience)==null?void 0:N.length)>0||((v=s.previous_positions)==null?void 0:v.length)>0)&&e.jsx("ul",{className:"list-disc pl-4 sm:pl-5 space-y-1 sm:space-y-1.5 mt-1.5",children:(Array.isArray(s.experience)?s.experience:typeof s.experience=="string"&&s.experience!==""?[s.experience]:s.professional_experience||s.previous_positions||[]).map((t,l)=>e.jsx("li",{className:"text-xs sm:text-sm md:text-base text-gray-600 leading-relaxed",children:typeof t=="object"?`${t.position}${t.institution||t.company?` at ${t.institution||t.company}`:""}${t.duration?` (${t.duration})`:""}`:t},l))})]}),(((w=s.expertise)==null?void 0:w.length)>0||((_=s.research_interests)==null?void 0:_.length)>0)&&e.jsxs("section",{children:[e.jsx("h3",{className:"font-bold text-sm sm:text-base md:text-lg text-gray-800 border-b border-gray-100 pb-1",children:"Area of Expertise"}),e.jsx("ul",{className:"list-disc pl-4 sm:pl-5 space-y-1 sm:space-y-1.5 mt-1.5",children:(s.expertise||s.research_interests).map((t,l)=>e.jsx("li",{className:"text-xs sm:text-sm md:text-base text-gray-600 leading-relaxed",children:t},l))})]}),((k=s.phd_guided_completed)==null?void 0:k.length)>0&&e.jsxs("section",{children:[e.jsx("h3",{className:"font-bold text-sm sm:text-base md:text-lg text-gray-800 border-b border-gray-100 pb-1",children:"Ph.D Guided"}),e.jsx("ul",{className:"list-disc pl-4 sm:pl-5 space-y-1 sm:space-y-1.5 mt-1.5",children:s.phd_guided_completed.map((t,l)=>e.jsx("li",{className:"text-xs sm:text-sm md:text-base text-gray-600 leading-relaxed",children:t},l))})]}),((L=s.phd_ongoing)==null?void 0:L.length)>0&&e.jsxs("section",{children:[e.jsx("h3",{className:"font-bold text-sm sm:text-base md:text-lg text-gray-800 border-b border-gray-100 pb-1",children:"Ongoing Research"}),e.jsx("ul",{className:"list-disc pl-4 sm:pl-5 space-y-1 sm:space-y-1.5 mt-1.5",children:s.phd_ongoing.map((t,l)=>e.jsx("li",{className:"text-xs sm:text-sm md:text-base text-gray-600 leading-relaxed",children:t},l))})]}),(($=s.books_published)==null?void 0:$.length)>0&&e.jsxs("section",{children:[e.jsx("h3",{className:"font-bold text-sm sm:text-base md:text-lg text-gray-800 border-b border-gray-100 pb-1",children:"Books Published"}),e.jsx("ul",{className:"list-disc pl-4 sm:pl-5 space-y-1 sm:space-y-1.5 mt-1.5",children:s.books_published.map((t,l)=>e.jsx("li",{className:"text-xs sm:text-sm md:text-base text-gray-600 leading-relaxed",children:t},l))})]}),((A=s.international_visits)==null?void 0:A.length)>0&&e.jsxs("section",{children:[e.jsx("h3",{className:"font-bold text-sm sm:text-base md:text-lg text-gray-800 border-b border-gray-100 pb-1",children:"International Visits"}),e.jsx("ul",{className:"list-disc pl-4 sm:pl-5 space-y-1 sm:space-y-1.5 mt-1.5",children:s.international_visits.map((t,l)=>e.jsx("li",{className:"text-xs sm:text-sm md:text-base text-gray-600 leading-relaxed",children:t},l))})]}),((C=s.projects)==null?void 0:C.length)>0&&e.jsxs("section",{children:[e.jsx("h3",{className:"font-bold text-sm sm:text-base md:text-lg text-gray-800 border-b border-gray-100 pb-1",children:"Projects"}),e.jsx("ul",{className:"list-disc pl-4 sm:pl-5 space-y-1 sm:space-y-1.5 mt-1.5",children:s.projects.map((t,l)=>e.jsx("li",{className:"text-xs sm:text-sm md:text-base text-gray-600 leading-relaxed",children:t},l))})]}),(Array.isArray(s.achievements)&&s.achievements.length>0||Array.isArray(s.contributions)&&s.contributions.length>0||typeof s.achievements=="string"&&s.achievements!=="Nil"&&s.achievements!=="")&&e.jsxs("section",{children:[e.jsx("h3",{className:"font-bold text-sm sm:text-base md:text-lg text-gray-800 border-b border-gray-100 pb-1",children:"Achievements & Contributions"}),e.jsx("ul",{className:"list-disc pl-4 sm:pl-5 space-y-1 sm:space-y-1.5 mt-1.5",children:(Array.isArray(s.achievements)?s.achievements:typeof s.achievements=="string"&&s.achievements!=="Nil"?[s.achievements]:s.contributions||[]).map((t,l)=>e.jsx("li",{className:"text-xs sm:text-sm md:text-base text-gray-600 leading-relaxed",children:t},l))})]}),(((S=s.research_ids)==null?void 0:S.google_scholar)||((P=s.research_ids)==null?void 0:P.scopus_id)||((E=s.research_ids)==null?void 0:E.orcid_id)||s.links&&Object.keys(s.links).length>0)&&e.jsxs("section",{children:[e.jsx("h3",{className:"font-bold text-sm sm:text-base md:text-lg text-gray-800 border-b border-gray-100 pb-1",children:"Profiles & Links"}),e.jsxs("ul",{className:"list-disc pl-4 sm:pl-5 space-y-1 sm:space-y-1.5 mt-1.5",children:[((M=s.research_ids)==null?void 0:M.google_scholar)&&e.jsx("li",{className:"text-xs sm:text-sm md:text-base text-gray-600 leading-relaxed",children:e.jsx("a",{href:s.research_ids.google_scholar,target:"_blank",className:"text-blue-600 hover:underline",children:"Google Scholar"})}),((W=s.research_ids)==null?void 0:W.scopus_id)&&e.jsxs("li",{className:"text-xs sm:text-sm md:text-base text-gray-600 leading-relaxed",children:["Scopus ID: ",s.research_ids.scopus_id]}),((R=s.research_ids)==null?void 0:R.orcid_id)&&e.jsxs("li",{className:"text-xs sm:text-sm md:text-base text-gray-600 leading-relaxed",children:["Orcid: ",s.research_ids.orcid_id]}),s.links&&Object.entries(s.links).map(([t,l],i)=>e.jsx("li",{className:"text-xs sm:text-sm md:text-base text-gray-600 leading-relaxed",children:l.startsWith("http")||l.startsWith("mailto")?e.jsx("a",{href:l,target:"_blank",className:"text-blue-600 hover:underline capitalize",children:t.replace(/_/g," ")}):e.jsxs("span",{className:"capitalize",children:[t.replace(/_/g," "),": ",l]})},i))]})]}),((O=(B=s.publications)==null?void 0:B.books)==null?void 0:O.length)>0&&e.jsxs("section",{children:[e.jsx("h3",{className:"font-bold text-sm sm:text-base md:text-lg text-gray-800 border-b border-gray-100 pb-1",children:"Books Published"}),e.jsx("ul",{className:"list-disc pl-4 sm:pl-5 space-y-1 sm:space-y-1.5 mt-1.5",children:s.publications.books.map((t,l)=>e.jsx("li",{className:"text-xs sm:text-sm md:text-base text-gray-600 leading-relaxed",children:t},l))})]}),((D=(I=s.publications)==null?void 0:I.conferences)==null?void 0:D.length)>0&&e.jsxs("section",{children:[e.jsx("h3",{className:"font-bold text-sm sm:text-base md:text-lg text-gray-800 border-b border-gray-100 pb-1",children:"Conference Publications"}),e.jsx("ul",{className:"list-disc pl-4 sm:pl-5 space-y-1 sm:space-y-1.5 mt-1.5",children:s.publications.conferences.map((t,l)=>e.jsx("li",{className:"text-xs sm:text-sm md:text-base text-gray-600 leading-relaxed",children:t},l))})]}),((z=s.patents)==null?void 0:z.length)>0&&e.jsxs("section",{children:[e.jsx("h3",{className:"font-bold text-sm sm:text-base md:text-lg text-gray-800 border-b border-gray-100 pb-1",children:"Patents"}),e.jsx("ul",{className:"list-disc pl-4 sm:pl-5 space-y-1 sm:space-y-1.5 mt-1.5",children:s.patents.map((t,l)=>e.jsx("li",{className:"text-xs sm:text-sm md:text-base text-gray-600 leading-relaxed",children:t},l))})]}),((T=s.consultancy)==null?void 0:T.length)>0&&e.jsxs("section",{children:[e.jsx("h3",{className:"font-bold text-sm sm:text-base md:text-lg text-gray-800 border-b border-gray-100 pb-1",children:"Consultancy"}),e.jsx("ul",{className:"list-disc pl-4 sm:pl-5 space-y-1 sm:space-y-1.5 mt-1.5",children:s.consultancy.map((t,l)=>e.jsx("li",{className:"text-xs sm:text-sm md:text-base text-gray-600 leading-relaxed",children:t},l))})]}),((F=s.memberships)==null?void 0:F.length)>0&&e.jsxs("section",{children:[e.jsx("h3",{className:"font-bold text-sm sm:text-base md:text-lg text-gray-800 border-b border-gray-100 pb-1",children:"Professional Memberships"}),e.jsx("ul",{className:"list-disc pl-4 sm:pl-5 space-y-1 sm:space-y-1.5 mt-1.5",children:s.memberships.map((t,l)=>e.jsx("li",{className:"text-xs sm:text-sm md:text-base text-gray-600 leading-relaxed",children:t},l))})]}),((U=s.awards)==null?void 0:U.length)>0&&e.jsxs("section",{children:[e.jsx("h3",{className:"font-bold text-sm sm:text-base md:text-lg text-gray-800 border-b border-gray-100 pb-1",children:"Awards"}),e.jsx("ul",{className:"list-disc pl-4 sm:pl-5 space-y-1 sm:space-y-1.5 mt-1.5",children:s.awards.map((t,l)=>e.jsx("li",{className:"text-xs sm:text-sm md:text-base text-gray-600 leading-relaxed",children:t},l))})]}),((q=s.additional_roles)==null?void 0:q.length)>0&&e.jsxs("section",{children:[e.jsx("h3",{className:"font-bold text-sm sm:text-base md:text-lg text-gray-800 border-b border-gray-100 pb-1",children:"Additional Roles"}),e.jsx("ul",{className:"list-disc pl-4 sm:pl-5 space-y-1 sm:space-y-1.5 mt-1.5",children:s.additional_roles.map((t,l)=>e.jsx("li",{className:"text-xs sm:text-sm md:text-base text-gray-600 leading-relaxed",children:t},l))})]})]})]})]})})]}):e.jsx("p",{className:"text-center mt-20 text-lg",children:"Loading Library..."})};export{Y as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.