module.exports=[193695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},70864,a=>{a.n(a.i(233290))},102894,a=>{a.n(a.i(666188))},13718,a=>{a.n(a.i(685523))},118198,a=>{a.n(a.i(545518))},262212,a=>{a.n(a.i(866114))},365893,a=>{a.n(a.i(868852))},750321,a=>{"use strict";let b=(process.env.NEXT_PUBLIC_AAU_API_BASE_URL||process.env.AAU_API_BASE_URL||"https://edu.yemenfrappe.com").replace(/\/$/,"");function c(a){let c=String(a||"").trim();if(!c)return"";if(/^https?:\/\/assets\//i.test(c)&&(c=c.replace(/^https?:\/\/assets\//i,"/assets/")),/^\/\/assets\//i.test(c)&&(c=c.replace(/^\/\/assets\//i,"/assets/")),/^(https?:)?\/\//i.test(c))return c.startsWith("//")?`https:${c}`:c;if(/^(data|blob):/i.test(c))return c;let d=c.startsWith("/")?c:`/${c}`;return d.startsWith("/assets/")||d.startsWith("/files/")||d.startsWith("/private/files/")?`${b}${d}`:d}a.s(["resolveMediaUrl",()=>c])},556425,a=>{"use strict";var b=a.i(750321);let c=(process.env.NEXT_PUBLIC_AAU_API_BASE_URL||process.env.AAU_API_BASE_URL||"https://edu.yemenfrappe.com").replace(/\/$/,"");async function d(a){let b=await fetch(`${c}${a}`,{headers:{Accept:"application/json"},cache:"no-store"});if(!b.ok)throw Error(`Faculty API request failed: ${b.status}`);return b.json()}function e(a){return a?.ok===!0?a.data:a?.data?.ok===!0?a.data.data:a?.data!==void 0?a.data:a}function f(a){let c=String(a?.departmentAr||a?.specializationAr||""),d=String(a?.departmentEn||a?.specializationEn||c),e=String(a?.degreeAr||""),f=String(a?.degreeEn||e);return{id:String(a?.id||""),nameAr:String(a?.nameAr||""),nameEn:String(a?.nameEn||a?.nameAr||""),degreeAr:e,degreeEn:f,specializationAr:String(a?.specializationAr||c),specializationEn:String(a?.specializationEn||d),collegeAr:String(a?.collegeAr||c),collegeEn:String(a?.collegeEn||d),departmentAr:c,departmentEn:d,email:a?.email||"",phone:a?.phone||"",bioAr:a?.bioAr||"",bioEn:a?.bioEn||a?.bioAr||"",image:(0,b.resolveMediaUrl)(a?.image)}}async function g(){try{let a=await d("/api/faculty"),b=e(a);return(Array.isArray(b)?b:Array.isArray(a)?a:[]).map(f)}catch{return[]}}async function h(a){try{var b;let c=await d(`/api/faculty/${encodeURIComponent(a)}`);return b=e(c),{...f(b),officeHoursAr:String(b?.officeHoursAr||""),officeHoursEn:String(b?.officeHoursEn||b?.officeHoursAr||""),researchInterestsAr:Array.isArray(b?.researchInterestsAr)?b.researchInterestsAr:[],researchInterestsEn:Array.isArray(b?.researchInterestsEn)?b.researchInterestsEn:[],publications:Array.isArray(b?.publications)?b.publications:[],courses:Array.isArray(b?.courses)?b.courses:[],education:Array.isArray(b?.education)?b.education:[],experience:Array.isArray(b?.experience)?b.experience:[]}}catch{return null}}a.s(["getFacultyById",()=>h,"getFacultyList",()=>g])},806876,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(211857).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/components/FacultyPageContent.tsx <module evaluation> from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/FacultyPageContent.tsx <module evaluation>","default")},769531,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(211857).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/components/FacultyPageContent.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/FacultyPageContent.tsx","default")},404191,a=>{"use strict";a.i(806876);var b=a.i(769531);a.n(b)},193809,a=>{"use strict";var b=a.i(907997),c=a.i(404191),d=a.i(556425);async function e(){let a=await (0,d.getFacultyList)();return(0,b.jsx)(c.default,{initialMembers:a})}a.s(["default",()=>e,"dynamic",0,"force-dynamic","metadata",0,{title:"الكادر التعليمي | Faculty",description:"نخبة من الأساتذة والدكاترة المتميزين في جامعة الجيل الجديد - Al-Jeel Al-Jadeed University Distinguished Faculty"}])}];

//# sourceMappingURL=%5Broot-of-the-server%5D__711a76e3._.js.map