import{j as e}from"./app-C417rstp.js";import{g as l,c as d}from"./index-C9OncgsG.js";function x({COORDS:r,ADDRESS:a,GMAPS_LINK:t,WAZE_LINK:i,APPLE_MAPS:s}){return e.jsxs("div",{className:"rounded-2xl overflow-hidden border border-primary-100/70 dark:border-white/10 bg-white dark:bg-zinc-900/60 shadow-md",children:[e.jsx("div",{className:"aspect-video w-full",children:e.jsx("iframe",{title:"Mapa DETRI — EPN",loading:"lazy",referrerPolicy:"no-referrer-when-downgrade",className:"w-full h-full",src:`https://www.google.com/maps?q=${r.lat},${r.lng}&z=16&output=embed`})}),e.jsxs("div",{className:"p-5 flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[e.jsxs("div",{className:"text-sm",children:[e.jsxs("div",{className:"flex items-center gap-2 font-medium text-ink dark:text-white",children:[e.jsx(l,{})," ",a]}),e.jsxs("div",{className:"mt-1 text-ink/70 dark:text-white/70",children:["Coordenadas: ",r.lat.toFixed(6),", ",r.lng.toFixed(6)]})]}),e.jsxs("div",{className:"flex flex-wrap gap-2",children:[e.jsxs("a",{className:"inline-flex items-center gap-2 rounded-xl bg-primary-600 text-white px-3 py-2 text-sm hover:bg-primary-700",href:t,target:"_blank",rel:"noreferrer",children:["Abrir en Google Maps ",e.jsx(d,{})]}),e.jsx("a",{className:"inline-flex items-center gap-2 rounded-xl border px-3 py-2 text-sm text-ink dark:text-white border-primary-200/70 dark:border-white/10 hover:bg-primary-50 dark:hover:bg-white/5",href:i,target:"_blank",rel:"noreferrer",children:"Waze"}),e.jsx("a",{className:"inline-flex items-center gap-2 rounded-xl border px-3 py-2 text-sm text-ink dark:text-white border-primary-200/70 dark:border-white/10 hover:bg-primary-50 dark:hover:bg-white/5",href:s,target:"_blank",rel:"noreferrer",children:"Apple Maps"})]})]})]})}export{x as default};
