import{g as o,b as t,t as r,d as n,a as i,f as d,e as c,l as x,o as a}from"./app-BJF24m-a.js";const m={class:"min-h-screen bg-gray-50"},g={class:"bg-white shadow"},u={class:"max-w-7xl mx-auto py-4 sm:py-6 px-4 sm:px-6 lg:px-8 flex justify-between items-center"},p={class:"text-lg sm:text-2xl font-bold text-gray-900 truncate"},h={class:"flex items-center gap-3 sm:gap-4 flex-shrink-0"},f=["action"],b={class:"max-w-7xl mx-auto py-6 px-4 sm:px-6 lg:px-8"},y={class:"bg-white shadow rounded-lg p-4 sm:p-6"},_={key:0},v={class:"mb-4 p-4 bg-blue-50 rounded-lg"},w={class:"text-blue-800"},k=["href"],V={key:1,class:"text-center py-12"},j={__name:"Fotos",props:{title:String,caso:Object},setup(s){return(l,e)=>(a(),o("div",m,[t("header",g,[t("div",u,[t("h1",p,"Fotos - Caso "+r(s.caso.numero_reclamo),1),t("div",h,[n(c(x),{href:l.route("portal.casos.ver",s.caso.id),class:"text-sm sm:text-base text-blue-600 hover:underline whitespace-nowrap"},{default:i(()=>[...e[0]||(e[0]=[d("← Volver al Caso",-1)])]),_:1},8,["href"]),t("form",{method:"POST",action:l.route("portal.logout")},[...e[1]||(e[1]=[t("button",{type:"submit",class:"text-sm sm:text-base text-gray-600 hover:text-gray-900 whitespace-nowrap"},"Cerrar Sesión",-1)])],8,f)])])]),t("main",b,[t("div",y,[s.caso.link_fotos?(a(),o("div",_,[t("div",v,[t("p",w,[e[2]||(e[2]=t("strong",null,"Enlace externo:",-1)),t("a",{href:s.caso.link_fotos,target:"_blank",class:"underline"},r(s.caso.link_fotos),9,k)])]),e[3]||(e[3]=t("div",{class:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4"},[t("div",{class:"aspect-square bg-gray-100 rounded-lg flex items-center justify-center"},[t("p",{class:"text-gray-500"},"Ver fotos en enlace externo")])],-1))])):(a(),o("div",V,[...e[4]||(e[4]=[t("svg",{class:"mx-auto h-12 w-12 text-gray-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z"})],-1),t("p",{class:"mt-4 text-gray-500"},"No hay fotos disponibles para este caso.",-1)])]))])])]))}};export{j as default};
