PageSourceSearch

https://interiorfutbolero.com.ar/assets/EditorialSectionPage-BCdXkU-d.js

js interiorfutbolero.com.ar collected 2026-10-02 13:43:46 UTC 6,043 bytes, 1 lines download raw bytes

1import{n as e,t}from"./jsx-runtime-DchtdpLn.js";import{c as n,n as r}from"./lib-DuMK5Lq5.js";import{C as i,O as a,T as o,l as s,x as c}from"./index-DsMz_-f1.js";import{t as l}from"./AdSlot-Cm6rcfxE.js";import{i as u,n as d}from"./dates-BKtzDXBY.js";import{t as f}from"./StoryHeadline-CSO9imI4.js";import{t as p}from"./ContentImage-BadS9_dr.js";import{t as m}from"./SiteFooter-nhqmOvIO.js";import{n as h,r as g,t as _}from"./TopHero-D2mpFtRD.js";var v=t(),y={programacion:{key:`programacion`,title:`Programación`,eyebrow:`AGENDA Y FECHAS`,description:`Partidos, horarios y pantallas para seguir el fútbol del interior.`,queryCategory:`programacion`,querySearch:`programacion`,color:`#35e0c2`,colorAlt:`#7fc8e8`,icon:`calendar`,moreHint:`todas las de Programación`,moreHref:`/programacion`},sanciones:{key:`sanciones`,title:`Sanciones`,eyebrow:`BOLETINES OFICIALES`,description:`Resoluciones, suspensiones y novedades de los tribunales.`,queryCategory:`sanciones`,querySearch:`sanciones`,color:`#f0bc6b`,colorAlt:`#ef7b65`,icon:`shield`,moreHint:`todas las de Sanciones`,moreHref:`/sanciones`},mercado:{key:`mercado`,title:`Mercado`,eyebrow:`ALTAS, BAJAS Y RUMORES`,description:`Los movimientos que cambian el mapa de cada equipo.`,queryTag:`mercado-de-pases`,querySearch:`mercado`,color:`#7fc8e8`,colorAlt:`#a79de0`,icon:`market`,moreHint:`todo el tema Mercado`,moreHref:`/tema/mercado-de-pases`},reglamento:{key:`reglamento`,title:`Reglamento`,eyebrow:`FORMATOS Y REGLAMENTACIONES`,description:`Claves, formatos y documentos para entender cada competencia.`,queryTag:`reglamento`,querySearch:`reglamento`,color:`#a79de0`,colorAlt:`#f0bc6b`,icon:`document`,moreHint:`todo el tema Reglamento`,moreHref:`/tema/reglamento`}};function b(e){let t=u(e);return t.length<=14?t:d(e)}function x(e){return`/${e.category?.slug||`notas`}/${e.slug}`}function S({type:e}){return e===`shield`?(0,v.jsxs)(`svg`,{viewBox:`0 0 64 64`,fill:`none`,"aria-hidden":`true`,children:[(0,v.jsx)(`path`,{d:`M32 6 53 15v15c0 14-8.3 23.2-21 28C19.3 53.2 11 44 11 30V15L32 6Z`}),(0,v.jsx)(`path`,{d:`m23 32 6 6 13-14`})]}):e===`market`?(0,v.jsxs)(`svg`,{viewBox:`0 0 64 64`,fill:`none`,"aria-hidden":`true`,children:[(0,v.jsx)(`path`,{d:`M8 23h48v30H8V23Z`}),(0,v.jsx)(`path`,{d:`M22 23v-7a6 6 0 0 1 6-6h8a6 6 0 0 1 6 6v7M8 35h48M27 35v6h10v-6`})]}):e===`document`?(0,v.jsxs)(`svg`,{viewBox:`0 0 64 64`,fill:`none`,"aria-hidden":`true`,children:[(0,v.jsx)(`path`,{d:`M15 7h27l8 8v42H15V7Z`}),(0,v.jsx)(`path`,{d:`M42 7v10h8M23 27h19M23 36h19M23 45h12`})]}):(0,v.jsxs)(`svg`,{viewBox:`0 0 64 64`,fill:`none`,"aria-hidden":`true`,children:[(0,v.jsx)(`rect`,{x:`8`,y:`13`,width:`48`,height:`43`,rx:`5`}),(0,v.jsx)(`path`,{d:`M20 7v12M44 7v12M8 26h48M20 36h8M36 36h8M20 46h8`})]})}function C({story:e,index:t}){return(0,v.jsx)(`article`,{className:`if-ed-card`,children:(0,v.jsxs)(r,{to:x(e),className:`if-ed-card-link`,children:[(0,v.jsxs)(`span`,{className:`if-ed-card-media${e.hero?.src?``:` is-fallback`}`,children:[(0,v.jsx)(p,{src:e.hero?.src,alt:e.title,className:`if-ed-card-img`,loading:`lazy`}),(0,v.jsx)(`i`,{className:`if-ed-card-shade`,"aria-hidden":`true`}),(0,v.jsxs)(`span`,{className:`if-ed-card-number`,"aria-hidden":`true`,children:[`0`,t+1]})]}),(0,v.jsxs)(`div`,{className:`if-ed-card-body`,children:[(0,v.jsxs)(`span`,{className:`if-ed-card-meta`,children:[e.category?.name||`Noticia`,` · `,u(e.publishedAt)]}),(0,v.jsx)(`h2`,{className:`if-ed-card-title`,children:(0,v.jsx)(f,{story:e})}),e.excerpt?(0,v.jsx)(`p`,{className:`if-ed-card-excerpt`,children:e.excerpt}):null]})]})})}function w(){return(0,v.jsx)(`div`,{className:`if-ed-grid`,children:Array.from({length:3},(e,t)=>(0,v.jsxs)(`article`,{className:`if-ed-card`,children:[(0,v.jsx)(`span`,{className:`if-ed-card-media`,children:(0,v.jsx)(o,{width:`100%`,height:`100%`,radius:0,style:{position:`absolute`,inset:0}})}),(0,v.jsxs)(`div`,{className:`if-ed-card-body`,children:[(0,v.jsx)(o,{width:`35%`,height:12}),(0,v.jsx)(o,{width:`90%`,height:30}),(0,v.jsx)(o,{width:`65%`,height:14})]})]},t))})}function T({sectionKey:t=`programacion`}){let r=n(),o=y[t]||y.programacion,u=a(async({signal:t})=>{if(o.queryCategory){let n=await e.get(`/news?page=1&perPage=3&category=${o.queryCategory}`,{signal:t}).catch(()=>null);if(n?.items?.length)return n}if(o.queryTag){let n=await e.get(`/news?page=1&perPage=3&tag=${o.queryTag}`,{signal:t}).catch(()=>null);if(n?.items?.length)return n}if(o.querySearch){let n=await e.get(`/news?page=1&perPage=3&search=${o.querySearch}`,{signal:t}).catch(()=>null);if(n?.items?.length)return n}return e.get(`/news?page=1&perPage=3`,{signal:t})},[t,r.pathname]),d=(u.data?.items||[]).slice(0,3);return(0,v.jsxs)(`div`,{className:`if-ed-page`,"data-section":o.key,style:{"--if-ed-accent":o.color,"--if-ed-accent-alt":o.colorAlt},children:[(0,v.jsx)(s,{}),(0,v.jsxs)(`main`,{children:[(0,v.jsx)(_,{variante:o.key,acento:o.color,acentoAlt:o.colorAlt,volante:o.eyebrow,icono:(0,v.jsx)(S,{type:o.icon}),simbolo:(0,v.jsx)(S,{type:o.icon}),titulo:o.title,bajada:o.description,tituloId:`if-ed-title`,children:(0,v.jsxs)(g,{accent:o.color,label:`Datos de ${o.title}`,className:`if-top-hero-cells`,children:[(0,v.jsx)(h,{value:d[0]?b(d[0].publishedAt):`Próximamente`,label:`actualizada`}),(0,v.jsx)(h,{value:`Ver más`,label:o.moreHint,to:o.moreHref})]})}),(0,v.jsxs)(`section`,{className:`if-ed-stories`,"aria-label":`Últimas notas de ${o.title}`,children:[u.loading?(0,v.jsx)(w,{}):null,u.error?(0,v.jsx)(`div`,{className:`if-ed-story-state`,children:(0,v.jsx)(i,{onRetry:u.reload})}):null,!u.loading&&!u.error&&d.length?(0,v.jsx)(`div`,{className:`if-ed-grid`,children:d.map((e,t)=>(0,v.jsx)(C,{story:e,index:t},e.id))}):null,!u.loading&&!u.error&&!d.length?(0,v.jsx)(`div`,{className:`if-ed-story-state`,children:(0,v.jsx)(c,{title:`No encontramos noticias recientes`,message:`Próximamente habrá más novedades en ${o.title}.`})}):null]}),(0,v.jsx)(`section`,{className:`if-ed-ad`,children:(0,v.jsx)(l,{slot:`noticias-banner`})})]}),(0,v.jsx)(m,{})]})}
1export{T as default};

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.