1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[162],{4667:(e,a,t)=>{"use strict";t.d(a,{A:()=>r});let r={station:{name:"Sarand\xed",dial:"690 AM",prefix:"Radio"},theme:{primaryBg:"#f57c00",buttonText:"#f57c00"},streaming:{primaryUrl:"https://radiolatina.live:10977/sarandi"},contact:{phone:"22082612",whatsapp:"092 690 690",email:"[email protected]",address:"Enriqueta Compte y Riqu\xe9 1250, Montevideo",mapsUrl:"https://maps.app.goo.gl/..."},social:{facebook:"https://www.facebook.com/Sarandi690/?locale=es_LA",twitter:"https://x.com/RadioSarandi690",instagram:"https://www.instagram.com/sarandi690/?hl=es",tiktok:"https://www.tiktok.com/@sarandi690"},appLinks:{ios:"https://apps.apple.com/kr/app/radio-sarandi-690/id6793588077?l=en-GB",android:"https://play.google.com/store/apps/details?id=com.goodbarber.radiosarandi691&hl=es_UY"}}},5223:(e,a,t)=>{"use strict";t.r(a),t.d(a,{default:()=>c});var r=t(5155),s=t(2115),i=t(8500),l=t.n(i),o=t(1531),n=t(9229),d=t(4667);function c(){let[e,a]=(0,s.useState)([]),[t,i]=(0,s.useState)(!0);return((0,s.useEffect)(()=>{!async function(){try{let e=(0,o.P)((0,o.rJ)(n.db,"Noticias"),(0,o._M)("programa","==","Empresariales"),(0,o.My)("timestamp","desc"),(0,o.AB)(20)),t=await (0,o.GG)(e),r=[];t.forEach(e=>{r.push({id:e.id,...e.data()})}),a(r)}catch(e){console.error("Error cargando noticias:",e)}finally{i(!1)}}()},[]),t)?(0,r.jsx)("div",{className:"min-h-[60vh] flex justify-center items-center",children:(0,r.jsx)("div",{className:"animate-spin rounded-full h-12 w-12 border-t-4 border-b-4",style:{borderColor:d.A.theme.primaryBg}})}):(0,r.jsxs)("main",{className:"max-w-7xl mx-auto px-6 py-12 font-sans min-h-screen",children:[(0,r.jsxs)("div",{className:"mb-12 border-b border-gray-200 pb-6",children:[(0,r.jsx)("h1",{className:"text-4xl md:text-5xl font-extrabold text-gray-900 dark:text-gray-100 tracking-tight",children:"Empresariales"}),(0,r.jsxs)("p",{className:"text-xl text-gray-500 mt-4 max-w-2xl",children:["Las \xfaltimas novedades del mundo empresarial en ",d.A.station.name,"."]})]}),0===e.length?(0,r.jsx)("div",{className:"bg-gray-50 p-12 text-center rounded-xl border border-gray-200",children:(0,r.jsx)("p",{className:"text-xl text-gray-600",children:"A\xfan no hay noticias publicadas."})}):(0,r.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:e.map(e=>{var a;return(0,r.jsxs)("article",{className:"bg-white rounded-xl shadow-sm border border-gray-200 overflow-hidden hover:shadow-lg transition-all duration-300 flex flex-col group",children:[(0,r.jsxs)(l(),{href:`/noticias/${e.id}`,className:"h-56 w-full bg-gray-100 relative overflow-hidden block",children:[e.imagenUrl?(0,r.jsx)("img",{src:e.imagenUrl,alt:e.titulo,className:"object-cover w-full h-full group-hover:scale-105 transition-transform duration-500"}):(0,r.jsx)("div",{className:"flex items-center justify-center w-full h-full text-gray-400 font-medium",children:"Sin imagen"}),e.programa&&(0,r.jsxs)("div",{className:"absolute bottom-3 left-3 bg-white/90 backdrop-blur-sm text-gray-900 dark:text-gray-100 text-xs font-bold px-3 py-1.5 uppercase rounded shadow-sm",children:["\uD83C\uDF99ï¸ ",e.programa]})]}),(0,r.jsxs)("div",{className:"p-6 flex flex-col flex-grow",children:[(0,r.jsx)("h3",{className:"text-2xl font-bold text-gray-900 dark:text-gray-100 mb-3 leading-tight group-hover:text-blue-700 transition-colors",children:e.titulo}),(0,r.jsx)("p",{className:"text-gray-600 text-sm mb-6 line-clamp-3 leading-relaxed",children:e.subt
1itulo}),(0,r.jsxs)("div",{className:"mt-auto flex justify-between items-center border-t border-gray-100 pt-4",children:[(0,r.jsx)("span",{className:"text-sm text-gray-400 font-medium",children:(a=e.fecha)?"string"==typeof a?a:a.seconds?new Date(1e3*a.seconds).toLocaleDateString("es-UY"):"Reciente":"Reciente"}),(0,r.jsx)(l(),{href:`/noticias/${e.id}`,className:"text-sm font-bold uppercase tracking-wider",style:{color:d.A.theme.primaryBg},children:"Leer Noticia â"})]})]})]},e.id)})})]})}},9229:(e,a,t)=>{"use strict";t.d(a,{I:()=>d,db:()=>n,j:()=>c});var r=t(7873),s=t(1531),i=t(9058),l=t(9997);let o=0===(0,r.Dk)().length?(0,r.Wp)({apiKey:"AIzaSyDW5ksLVTTCuRSHtJpp_Ohvcv7ZQLMHf0Y",authDomain:"sarandi-web-90ff4.firebaseapp.com",projectId:"sarandi-web-90ff4",storageBucket:"sarandi-web-90ff4.firebasestorage.app",messagingSenderId:"678996821088",appId:"1:678996821088:web:b816f08e0cbbfc6a942f05",measurementId:"G-KS0QTKPT8C"}):(0,r.Sx)(),n=(0,s.aU)(o),d=(0,i.c7)(o),c=(0,l.xI)(o)},9355:(e,a,t)=>{Promise.resolve().then(t.bind(t,5223))}},e=>{e.O(0,[858,187,500,526,441,838,358],()=>e(e.s=9355)),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.