1import{_ as y}from"./Bg1lpbPY.js";import x from"./cd8NVDoi.js";import v from"./JXFyxDWd.js";import{J as N,Z as c,_ as l,a2 as t,a3 as k,a4 as C,a6 as o,a9 as d,au as O,a5 as b,ae as _,af as L,an as B,C as E}from"./De_JQGIt.js";import"./Cj6ZeDcQ.js";const F={class:"list-conten-blog"},V={class:"evento-card__content"},A={key:0,class:"evento-card__date desc d-none d-lg-flex"},I={class:"evento-card__month"},D={class:"evento-card__day"},R={class:"evento-card__year"},U={class:"evento-card__text"},j={class:"d-flex align-items-center gap-2 mb-2 justify-content-between"},z={key:1,class:"d-lg-none d-flex align-items-center gap-2 order-1 order-lg-2"},J={class:"evento-card__day"},M={class:"evento-card__month d-block"},T={class:"evento-card__year d-block"},w={class:"evento-card__title"},Y={class:"mb-2"},$={class:"d-block",style:{"font-size":"18px","text-align":"justify"}},G={class:"d-flex gap-2"},P={class:"evento-card__img"},S={key:0,class:"text-center py-5"},Z=N({__name:"ListItems",props:{data:{}},setup(g){const f=E().public.baseUrl,p=g,u=a=>{const e=["ENE","FEB","MAR","ABR","MAY","JUN","JUL","AGO","SET","OCT","NOV","DIC"];if(!a)return"";const r=a.split(" ")[0].split("-"),i=r[1]?Number(r[1])-1:-1;return e[i]||""},m=a=>{if(!a)return"";const n=a.split(" ")[0].split("-");return n[2]?Number(n[2]):""},h=a=>{if(!a)return"";const n=a.split(" ")[0].split("-");return n[0]?Number(n[0]):""};return(a,e)=>{const n=y,r=x,i=v;return c(),l("div",null,[t("div",F,[(c(!0),l(k,null,C(p.data.events,s=>(c(),l("div",{key:s.id,class:"evento-card"},[t("div",V,[s.published_date?(c(),l("div",A,[t("span",I,o(u(s.published_date)),1),t("span",D,o(m(s.published_date)),1),t("span",R,o(h(s.published_date)),1)])):d("",!0),t("div",U,[t("div",j,[s.tag?(c(),l("span",{key:0,class:"evento-card__tag order-2 order-lg-1",style:O({backgroundColor:s.id==1?"#0DCAF0":"#F3704F"})},[e[0]||(e[0]=t("i",{class:"bi bi-tag me-1"},null,-1)),b(" "+o(s.tag.name),1)],4)):d("",!0),s.published_date?(c(),l("div",z,[e[1]||(e[1]=t("i",{class:"bi bi-calendar3"},null,-1)),t("span",J,o(m(s.published_date)),1),t("div",null,[t("span",M,o(u(s.published_date)),1),t("span",T,o(h(s.published_date)),1)])])):d("",!0)]),t("h3",w,o(s.name),1),t("div",Y,[t("span",$,o(s?.description),1)]),t("div",G,[_(n,{class:"btn btn-primary",to:"/bolsa-laboral/"+s.slug,prefetch:!1},{default:L(()=>[...e[2]||(e[2]=[b(" Ver más ",-1)])]),_:1},8,["to"])])])]),t("figure",P,[_(r,{src:s.imgPrimary?.url??B(f)+"assets/avatar/placeholder-noticia.svg",alt:s.name},null,8,["src","alt"])])]))),128))]),p.data.events.length===0?(c(),l("div",S,[_(i,{title:"No hay ofertas en esta fecha.",description:"No hay ofertas de bolsa laboral para mostrar."})])):d("",!0)])}}}),tt=Object.assign(Z,{__name:"BolsaLaboralEventoListItems"});export{tt 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.