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])},773410,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(/\/$/,"");function d(a){return a?.ok&&a?.data!==void 0?a.data:a?.data?.ok&&a?.data?.data!==void 0?a.data.data:a?.data??a}function e(a){return{id:String(a?.id||a?.name||""),titleAr:String(a?.titleAr||a?.title||""),titleEn:String(a?.titleEn||a?.titleAr||a?.title||""),authorAr:String(a?.authorAr||""),authorEn:String(a?.authorEn||a?.authorAr||""),categoryAr:String(a?.categoryAr||"البحث العلمي"),categoryEn:String(a?.categoryEn||"Research"),summaryAr:String(a?.summaryAr||a?.contentAr||a?.content||""),summaryEn:String(a?.summaryEn||a?.summaryAr||a?.contentEn||a?.contentAr||a?.content||""),contentAr:String(a?.contentAr||a?.content||""),contentEn:String(a?.contentEn||a?.contentAr||a?.content||""),publishDateAr:String(a?.publishDateAr||a?.publishDate||""),publishDateEn:String(a?.publishDateEn||a?.publishDateAr||a?.publishDate||""),image:(0,b.resolveMediaUrl)(a?.image),tags:Array.isArray(a?.tags)?a.tags:[]}}async function f(){try{let a=await fetch(`${c}/api/research-publications`,{headers:{Accept:"application/json"},cache:"no-store"});if(!a.ok)return[];let b=await a.json(),f=d(b);return(Array.isArray(f)?f:Array.isArray(f?.data)?f.data:[]).map(e)}catch{return[]}}async function g(a){try{let b=await fetch(`${c}/api/research-publications/${encodeURIComponent(a)}`,{headers:{Accept:"application/json"},cache:"no-store"});if(!b.ok)return null;let f=await b.json();return e(d(f))}catch{return null}}a.s(["getResearchArticleById",()=>g,"getResearchArticles",()=>f])},280165,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]/app/(public)/research/articles/client.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]/app/(public)/research/articles/client.tsx <module evaluation>","default")},814352,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]/app/(public)/research/articles/client.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]/app/(public)/research/articles/client.tsx","default")},454587,a=>{"use strict";a.i(280165);var b=a.i(814352);a.n(b)},181375,a=>{"use strict";var b=a.i(907997),c=a.i(454587),d=a.i(773410);async function e(){let a=await (0,d.getResearchArticles)();return(0,b.jsx)(c.default,{initialArticles:a})}a.s(["default",()=>e,"dynamic",0,"force-dynamic","metadata",0,{title:"Scientific Articles | Al-Jeel Al-Jadeed University",description:"Explore the latest research papers, essays, and scientific output from the faculty members of Al-Jeel Al-Jadeed University."}])}];

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