module.exports=[93695,(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(33290))},43619,a=>{a.n(a.i(79962))},13718,a=>{a.n(a.i(85523))},18198,a=>{a.n(a.i(45518))},62212,a=>{a.n(a.i(66114))},73840,a=>{"use strict";let b=(0,a.i(45618).createClient)("https://ixrgjfluwrwkzpxoaocw.supabase.co","eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Iml4cmdqZmx1d3J3a3pweG9hb2N3Iiwicm9sZSI6ImFub24iLCJpYXQiOjE3NzQ3MjY3MTQsImV4cCI6MjA5MDMwMjcxNH0.XpWgQTUidHKlXUWRDnkpx6-ouhBvPArcpV-wDqEyuwg");a.s(["supabase",0,b])},92771,a=>{a.n(a.i(7255))},40307,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/components/ProgramsClient.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/ProgramsClient.tsx <module evaluation>","default")},77777,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/components/ProgramsClient.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/ProgramsClient.tsx","default")},51421,a=>{"use strict";a.i(40307);var b=a.i(77777);a.n(b)},90401,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/components/InternalHero.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/InternalHero.tsx <module evaluation>","default")},96043,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/components/InternalHero.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/InternalHero.tsx","default")},99627,a=>{"use strict";a.i(90401);var b=a.i(96043);a.n(b)},35987,a=>{"use strict";var b=a.i(7997),c=a.i(717),d=a.i(73840),e=a.i(51421),f=a.i(30375);let g=(0,a.i(1269).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);var h=a.i(99627);async function i(){let{data:a,error:i}=await d.supabase.from("programs").select("*").eq("is_active",!0).order("created_at",{ascending:!1});if(i)return console.error("Error fetching programs:",i),(0,b.jsx)("div",{className:"min-h-screen bg-navy flex items-center justify-center text-white",children:(0,b.jsx)("p",{children:"Error cargando los programas. Por favor, intenta de nuevo más tarde."})});let j=a&&a.length>0;return(0,b.jsxs)("div",{className:"bg-white min-h-screen",children:[(0,b.jsx)(h.default,{title:(0,b.jsxs)(b.Fragment,{children:["Nuestros ",(0,b.jsx)("span",{className:"italic text-green",children:"Programas"})]}),subtitle:"Oferta Académica",description:"Descubre nuestra amplia oferta de formación diseñada para impulsar tu éxito profesional.",backgroundImage:"/images/programas_hero.png"}),(0,b.jsx)("div",{className:"max-w-[1400px] mx-auto px-4 sm:px-6 lg:px-8 -mt-16 relative z-20 pb-24",children:(0,b.jsx)("div",{className:"bg-white p-6 md:p-10 shadow-2xl border-t-4 border-green border-x border-b border-gray-100",children:j?(0,b.jsx)(c.Suspense,{fallback:(0,b.jsx)("div",{className:"flex justify-center py-20",children:(0,b.jsx)(g,{className:"animate-spin text-navy"})}),children:(0,b.jsx)(e.default,{initialPrograms:a||[]})}):(0,b.jsxs)("div",{className:"text-center py-20",children:[(0,b.jsx)(f.BookOpen,{size:48,className:"mx-auto text-gray-300 mb-4"}),(0,b.jsx)("h3",{className:"text-2xl font-heading font-bold text-navy mb-2",children:"Próximamente"}),(0,b.jsx)("p",{className:"text-gray-500",children:"Estamos actualizando nuestra oferta académica."})]})})})]})}a.s(["default",()=>i,"revalidate",0,60],35987)}];

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