PageSourceSearch

https://www.paralanaturaleza.org/_nuxt/Bd8rn5mI.js

js paralanaturaleza.org collected 2026-09-24 09:53:37 UTC 24,136 bytes, 1 lines download raw bytes

1import{Z as G,d as he,b as Y,h as ve,aN as _e,u as me,aT as be,z as E,a8 as we,w as L,A as ye,o as c,c as d,i as e,a as r,j as p,l as ke,n as P,e as t,t as n,F as w,y,R as q,k as M,a1 as Ce,D as A,O as k,S as Ne,T,aP as Te,E as De,m as h,B as Se}from"./D7P3cwJT.js";import Ve from"./txt838ZO.js";import{_ as Ee}from"./BFiB5Vlc.js";import{_ as Le}from"./B0yWRa34.js";import{_ as Ae}from"./Cpzh7W39.js";import{_ as U}from"./CJc5_MTU.js";import{a as je}from"./CprriFlA.js";import{u as ze}from"./Bay1CQV-.js";import{I as x}from"./DFPM27nH.js";import{_ as Re}from"./B1eWsx2H.js";import{_ as Q}from"./P7sKMeFW.js";import{_ as Fe}from"./K0ZcL9u6.js";import{u as Pe}from"./CI32pkoR.js";import"./Bfd5Thr0.js";import"./C_YC4gad.js";import"./BnoNmJZr.js";const Me=G("/images/visita/faro.jpg"),Ue=G("/images/visita/lectura.jpg"),J=["Tours","Workshop","Volunteer","Citizen Science","Special Events"],Z={Reservaciones:["Tours"],"Community Activity":["Tours","Special Events"],Feria:["Special Events"],Habitat:["Volunteer"],"Citizen Science":["Citizen Science"],Volunteer:["Volunteer"]};function Be(g,f){if(g==null||!String(g).trim())return!0;const o=String(g).trim(),v=Z[o];if(v?.length)return v.some(j=>f.includes(j));const _=K(o);return _&&J.includes(_)&&f.includes(_),!0}function $e(g){if(!g?.trim())return!1;const f=String(g).trim();return Z[f]?.includes("Volunteer")?!0:K(f)==="Volunteer"}function K(g){if(g==null||typeof g!="string")return;const f=g.trim();if(!f)return;const o=f.toLowerCase(),v={tours:"Tours",tour:"Tours",recorridos:"Tours",recorrido:"Tours",workshop:"Workshop",taller:"Workshop",talleres:"Workshop",volunteer:"Volunteer",voluntario:"Volunteer",voluntariado:"Volunteer","citizen science":"Citizen Science","ciencia ciudadana":"Citizen Science","special events":"Special Events","eventos especiales":"Special Events","evento especial":"Special Events"};if(v[o])return v[o];for(const _ of J)if(_.toLowerCase()===o)return _;return f}const Ie={class:"pb-0"},Oe={class:"grid grid-cols-1 items-stretch gap-6 laptop:grid-cols-[1fr_340px] desktop:grid-cols-3"},We={class:"flex flex-col desktop:col-span-2"},He={class:"relative h-full overflow-hidden rounded-[20px] bg-[#0d3c3d]"},Ye={class:"flex flex-col gap-4"},qe={class:"mb-0 font-[National2Condensed] text-[32px] font-medium leading-[0.9] text-white drop-shadow-[0_4px_6px_rgba(0,0,0,0.1)] tablet:text-[48px] laptop:text-[64px]"},Qe={class:"absolute bottom-[36px] right-[32px] h-6 w-6"},Ge={class:"flex flex-col gap-6 desktop:col-span-1 desktop:h-full"},Je={class:"flex w-full flex-col rounded-[24px] bg-[#17343e] px-6 desktop:h-full"},Ze={class:"flex w-full flex-col items-start gap-3 py-6"},Ke={class:"font-[National2] text-[18px] font-medium leading-[1.5] tracking-[-0.18px] text-white"},Xe={class:"font-[National2] text-[18px] font-medium leading-[1.5] tracking-[-0.18px] text-white"},et={class:"font-[National2] text-[18px] font-medium leading-[1.5] tracking-[-0.18px] text-white"},tt={class:"font-[National2] text-[18px] font-medium leading-[1.5] tracking-[-0.18px] text-white"},ot={class:"font-[National2] text-[18px] font-medium leading-[1.5] tracking-[-0.18px] text-white"},it={class:"font-[National2] text-[18px] font-medium leading-[1.5] tracking-[-0.18px] text-white"},at={class:"rounded-lg border border-white/15 bg-[#295f71]/35 px-4 py-3 font-[National2Narrow] text-[14px] font-normal leading-snug tracking-[0.14px] text-white/95"},st={class:"font-[National2] text-[18px] font-medium leading-[1.5] tracking-[-0.18px] text-black"},nt={class:"grid grid-cols-1 gap-6 laptop:grid-cols-3"},rt={class:"h-[154px] w-full flex-shrink-0 overflow-hidden rounded-[20px] bg-[#1c404d]"},lt=["alt"],ct={class:"flex flex-1 items-end gap-4 px-4 py-3"},dt={class:"flex min-w-0 flex-1 flex-col gap-2"},ut={class:"font-[National2Condensed] text-[24px] font-medium leading-[0.9] text-white"},pt={class:"font-[National2Narrow] text-[14px] font-normal leading-none tracking-[0.14px] text-white"},gt={class:"h-[154px] w-full flex-shrink-0 overflow-hidden rounded-[20px] bg-[#1c404d]"},ft=["alt"],xt={class:"flex flex-1 items-end gap-4 px-4 py-3"},ht={class:"flex min-w-0 flex-1 flex-col gap-2"},vt={class:"font-[National2Condensed] text-[24px] font-medium leading-[0.9] text-white"},_t={class:"font-[National2Narrow] text-[14px] font-normal leading-none tracking-[0.14px] text-white"},mt={class:"relative h-[144px] w-full flex-shrink-0 overflow-hidden rounded-[20px] bg-[#1c404d]"},bt=["alt"],wt={class:"flex flex-1 items-end gap-4 px-4 py-3"},yt={class:"flex min-w-0 flex-1 flex-col gap-2"},kt={class:"font-[National2Condensed] text-[24px] font-medium leading-[0.9] text-white"},Ct={class:"font-[National2Narrow] text-[14px] font-normal leading-none tracking-[0.14px] text-white"},Nt={class:"flex flex-col gap-6"},Tt={class:"flex flex-col gap-5"},Dt={id:"eventos",class:"scroll-mt-28 font-[National2Condensed] text-[48px] font-medium leading-none text-white laptop:scroll-mt-32"},St={class:"flex flex-wrap gap-5"},Vt=["onClick"],Et={class:"flex flex-col gap-3"},Lt={class:"flex flex-col gap-4 tablet:flex-row tablet:gap-4"},At={class:"flex flex-1 items-center gap-2"}
1,jt=["placeholder"],zt={key:0,class:"flex flex-col gap-4 rounded-xl bg-[#17343E] p-4"},Rt={class:"flex flex-wrap gap-3"},Ft={class:"flex flex-col gap-2"},Pt={class:"font-[National2] text-[14px] font-normal leading-[1.15] tracking-[0.14px] text-white"},Mt={for:"startDate",class:"flex h-12 cursor-pointer items-center gap-3 rounded-lg border-2 border-white bg-transparent px-4"},Ut={class:"flex flex-col gap-2"},Bt={class:"font-[National2] text-[14px] font-normal leading-[1.15] tracking-[0.14px] text-white"},$t={for:"endDate",class:"flex h-12 cursor-pointer items-center gap-3 rounded-lg border-2 border-white bg-transparent px-4"},It={class:"flex flex-wrap gap-3"},Ot={class:"relative flex h-12 cursor-pointer items-center rounded-lg border-2 border-white bg-transparent"},Wt={value:void 0},Ht=["value"],Yt={class:"pointer-events-none px-4 font-[National2] text-[18px] font-medium leading-[1.5] tracking-[-0.18px] text-white"},qt={class:"relative flex h-12 cursor-pointer items-center rounded-lg border-2 border-white bg-transparent"},Qt={value:void 0},Gt=["value"],Jt={class:"pointer-events-none px-4 font-[National2] text-[18px] font-medium leading-[1.5] tracking-[-0.18px] text-white"},Zt={class:"relative flex h-12 cursor-pointer items-center rounded-lg border-2 border-white bg-transparent"},Kt={value:void 0},Xt=["value"],eo={class:"pointer-events-none px-4 font-[National2] text-[18px] font-medium leading-[1.5] tracking-[-0.18px] text-white"},to={class:"relative flex h-12 cursor-pointer items-center rounded-lg border-2 border-white bg-transparent"},oo={value:void 0},io=["value"],ao={class:"pointer-events-none px-4 font-[National2] text-[18px] font-medium leading-[1.5] tracking-[-0.18px] text-white"},so={class:"relative flex h-12 cursor-pointer items-center rounded-lg border-2 border-white bg-transparent"},no={value:void 0},ro=["value"],lo={class:"pointer-events-none px-4 font-[National2] text-[18px] font-medium leading-[1.5] tracking-[-0.18px] text-white"},co={key:1},uo={key:0,class:"w-full"},po={class:"visita-eventos-grid grid w-full justify-center gap-6"},go={key:2,class:"flex min-h-[480px] w-full flex-col items-center justify-center"},fo={key:0,class:"loading loading-ring loading-lg"},xo={key:1,class:"flex w-full gap-4"},ho=he({__name:"index",setup(g){const{themeAttrs:f}=ze({mode:"scoped",initialTheme:"dosel"}),{t:o}=Y("visita"),{t:v}=Y(),_=ve(),j=_e();me({title:h(()=>o.value("seo.title","Visita y Participa - Para la Naturaleza")),description:h(()=>o.value("seo.description","Conoce el sistema de veredas y conecta con la naturaleza. Explora nuestros centros de visitantes, viveros, huertos y exhibiciones.")),ogTitle:h(()=>o.value("seo.title","Visita y Participa - Para la Naturaleza")),ogImage:"/images/visita/hero.jpg"});const i=be("history"),D=E(i.search||""),X=we(D,300),S=E(!1);function ee(){S.value=!S.value}function te(){i.property=void 0,i.actionCategory=void 0,i.region=void 0,i.category=void 0,i.eventType=void 0,i.municipality=void 0,i.visitaCategory=void 0,D.value=""}L(X,l=>{i.search=l||void 0});const oe=["paraLaFamilia","alAireLibre","cienciaCiudadana","voluntariado","historiaYCultura"],ie=h(()=>({paraLaFamilia:o.value("categories.paraLaFamilia","Para la familia"),alAireLibre:o.value("categories.alAireLibre","Al aire libre"),cienciaCiudadana:o.value("categories.cienciaCiudadana","Ciencia ciudadana"),voluntariado:o.value("categories.voluntariado","Voluntariado"),historiaYCultura:o.value("categories.historiaYCultura","Historia y cultura")})),ae=h(()=>oe.map(l=>({key:l,label:ie.value[l]}))),z={paraLaFamilia:["Tours","Workshop","Special Events"],alAireLibre:["Tours","Volunteer","Citizen Science","Workshop"],cienciaCiudadana:["Citizen Science"],voluntariado:["Volunteer"],historiaYCultura:["Tours","Special Events","Workshop"]},se=h(()=>[o.value("actions.recrear","Recrear"),o.value("actions.aprender","Aprender"),o.value("actions.sembrar","Sembrar"),o.value("actions.conservar","Conservar"),o.value("actions.colaborar","Colaborar"),o.value("actions.donar","Donar")]),B=h(()=>({"Region 1 - North":{title:o.value("regions.norte","Norte")}
1,"Region 2 - Central":{title:o.value("regions.central","Central")},"Region 3 - East":{title:o.value("regions.este","Este")},"Region 4 - South":{title:o.value("regions.sur","Sur")},"Region 5 - West":{title:o.value("regions.oeste","Oeste")}})),ne=l=>l&&B.value[l]?.title||o.value("filters.region","Región"),$=l=>v.value(`eventos_${l.toLowerCase()}`,l),re=["Naturaleza","Agricultura","Historia, Cultura y Arte","Educadores y Líderes"],I=l=>({Naturaleza:o.value("eventCategories.naturaleza","Naturaleza"),Agricultura:o.value("eventCategories.agricultura","Agricultura"),"Historia, Cultura y Arte":o.value("eventCategories.historiaCulturaArte","Historia, Cultura y Arte"),"Educadores y Líderes":o.value("eventCategories.educadoresLideres","Educadores y Líderes")})[l]||l,le=re,ce=["Tours","Workshop","Volunteer","Citizen Science","Special Events"],{data:de}=ye(),O=de,ue=new Date,C=new Date;C.setMonth(C.getMonth()+3),C.setDate(C.getDate()-1);const m=E(i.startDate?new Date(i.startDate):ue),b=E(i.endDate?new Date(i.endDate):C),W=h(()=>{const l=new Date(m.value);return l.setMonth(l.getMonth()+3),l});L(m,()=>{m.value>b.value&&(b.value=new Date(m.value)),i.startDate=m.value.toLocaleDateString("en-US",{day:"2-digit",month:"2-digit",year:"numeric"})}),L(b,()=>{i.endDate=b.value.toLocaleDateString("en-US",{day:"2-digit",month:"2-digit",year:"numeric"})}),L(()=>i.visitaCategory,l=>{});const pe=h(()=>{const l={property:i.property,actionCategory:i.actionCategory,region:i.region,category:i.category,eventType:i.eventType,startDate:m.value.toLocaleDateString("en-US",{day:"2-digit",month:"2-digit",year:"numeric"}),endDate:b.value.toLocaleDateString("en-US",{day:"2-digit",month:"2-digit",year:"numeric"}),search:i.search,municipality:i.municipality};return i.visitaCategory&&i.visitaCategory in z&&(l.eventType=void 0),l}),{data:V,status:R}=Pe(void 0,void 0,pe),N=h(()=>{if(!V.value||!Array.isArray(V.value))return[];if(i.visitaCategory&&i.visitaCategory in z){const l=z[i.visitaCategory];return V.value.filter(s=>{const u=s.eventType||s.type;return u?Be(u,l):!0})}return V.value}),ge=l=>{if($e(l.eventType||l.type))return"voluntariado"};return(l,s)=>{const u=ke,H=Ve,fe=Te,xe=Ee;return c(),d("div",De(t(f),{class:"min-h-screen bg-[#0f232a] text-white",style:{"--dosel-bg-primary":"#0f232a"}}),[e("div",Ie,[r(U,{tag:"section",class:"!pb-8 pt-8"},{default:p(()=>[e("div",Oe,[e("div",We,[r(u,{to:"/veredas",class:"relative block max-h-[540px] cursor-pointer overflow-hidden rounded-[24px] bg-[#295f71] p-1 shadow-[0px_4px_6px_0px_rgba(0,0,0,0.05),0px_10px_15px_-3px_rgba(0,0,0,0.1)] transition-opacity hover:opacity-95 laptop:h-full desktop:h-full"},{default:p(()=>[e("div",He,[s[8]||(s[8]=e("img",{src:Le,alt:"Conoce el sistema de veredas y conecta con la naturaleza",class:"h-full w-full object-cover"},null,-1)),s[9]||(s[9]=e("div",{class:"absolute inset-0 bg-gradient-to-b from-transparent via-black/30 to-black/70"},null,-1)),e("div",{class:P(["absolute bottom-0 left-0 right-0",t(je)])},[e("div",Ye,[e("h2",qe,n(t(o)("hero.title","Conoce el sistema de veredas y conecta con la naturaleza")),1)]),e("div",Qe,[r(x,{class:"h-full w-full text-white"})])],2)])]),_:1})]),e("div",Ge,[e("div",Je,[e("div",Ze,[r(u,{to:"/centros",class:"flex w-full items-center justify-between rounded-lg bg-[#295f71] p-4 transition-colors hover:bg-[#224e5c]"},{default:p(()=>[e("span",Ke,n(t(o)("sidebar.links.centros","Centros de Visitantes")),1),r(x,{class:"h-5 w-5 flex-shrink-0 text-white"})]),_:1}),r(u,{to:"/viveros",class:"flex w-full items-center justify-between rounded-lg bg-[#295f71] p-4 transition-colors hover:bg-[#224e5c]"},{default:p(()=>[e("span",Xe,n(t(o)("sidebar.links.viveros","Viveros")),1),r(x,{class:"h-5 w-5 flex-shrink-0 text-white"})]),_:1}),r(u,{to:"/agroecologia/huertos-agroecologicos",class:"flex w-full items-center justify-between rounded-lg bg-[#295f71] p-4 transition-colors hover:bg-[#224e5c]"},{default:p(()=>[e("span",et,n(t(o)("sidebar.links.huertos","Huertos")),1),r(x,{class:"h-5 w-5 flex-shrink-0 text-white"})]),_:1}),r(u,{to:"/arte/exhibiciones",class:"flex w-full items-center justify-between rounded-lg bg-[#295f71] p-4 transition-colors hover:bg-[#224e5c]"},{default:p(()=>[e("span",tt,n(t(o)("sidebar.links.exhibiciones","Exhibiciones")),1),r(x,{class:"h-5 w-5 flex-shrink-0 text-white"})]),_:1}),r(u,{to:"/reforestacion/arboreto",class:"flex w-full items-center justify-between rounded-lg bg-[#295f71] p-4 transition-colors hover:bg-[#224e5c]"},{default:p(()=>[e("span",ot,n(t(o)("sidebar.links.arboreto","Arboreto Miguel A. Papo Vives")),1),r(x,{class:"h-5 w-5 flex-shrink-0 text-white"})]),_:1}),r(u,{to:"/biblio-rincon",class:"flex w-full items-center justify-between rounded-lg bg-[#295f71] p-4 transition-colors hover:bg-[#224e5c]"},{default:p(()=>[e("span",it,n(t(o)("sidebar.links.bibliorincon","Biblio-rincón")),1),r(x,{class:"h-5 w-5 flex-shrink-0 text-white"})]),_:1}),e("p",at,n(t(o)("sidebar.evCharging","En varios centros tenemos estaciones de recarga para vehículos híbridos y eléctricos. Pregunta al visitar o en el centro que te interese.")),1),s[10]||(s[10]=e("div",{class:"h-px w-full bg-white/20"},null,-1)),r(u,{to:t(_)({path:"/centros",query:{tipo:"tiendas"}}),class:"flex w-full items-center justify-between rounded-lg bg-[#ffc000] p-4 transition-colors hover:bg-[#e6ad00]"},{default:p(()=>[e("span",st,n(t(o)("sidebar.links.tiendas","Tiendas")),1),r(x,{class:"h-5 w-5 flex-shrink-0 text-black"})]),_:1},8,["to"])])])])])]),_:1}),r(U,{tag:"section",class:"!pb-8 pt-8"},{default:p(()=>
1[e("div",nt,[r(u,{to:"/arte/exhibiciones/centro-percepcion-emision-senales",class:"flex min-h-[223px] flex-col gap-0 overflow-hidden rounded-[24px] bg-[#224e5c] p-1 shadow-[0px_4px_6px_0px_rgba(0,0,0,0.05),0px_10px_15px_-3px_rgba(0,0,0,0.1)] transition-opacity hover:opacity-95"},{default:p(()=>[e("div",rt,[e("img",{src:Me,alt:t(o)("cards.expoFaro.title","Conoce de Expo Faro"),class:"h-full w-full object-cover"},null,8,lt)]),e("div",ct,[e("div",dt,[e("h3",ut,n(t(o)("cards.expoFaro.title","Conoce de Expo Faro")),1),e("p",pt,n(t(o)("cards.expoFaro.subtitle","Reserva natural Cabezas de San Juan")),1)]),r(x,{class:"h-4 w-4 flex-shrink-0 text-white"})])]),_:1}),r(u,{to:"/biblio-rincon",class:"flex min-h-[223px] flex-col gap-0 overflow-hidden rounded-[24px] bg-[#224e5c] p-1 shadow-[0px_4px_6px_0px_rgba(0,0,0,0.05),0px_10px_15px_-3px_rgba(0,0,0,0.1)] transition-opacity hover:opacity-95"},{default:p(()=>[e("div",gt,[e("img",{src:Ue,alt:t(o)("cards.bibliorincon.title","Un rincón de lectura en la naturaleza"),class:"h-full w-full object-cover object-[center_80%]"},null,8,ft)]),e("div",xt,[e("div",ht,[e("h3",vt,n(t(o)("cards.bibliorincon.title","Un rincón de lectura en la naturaleza")),1),e("p",_t,n(t(o)("cards.bibliorincon.subtitle","Conoce de Biblio-rincón")),1)]),r(x,{class:"h-4 w-4 flex-shrink-0 text-white"})])]),_:1}),r(u,{to:t(_)("/contacto-verde"),class:"flex min-h-[223px] flex-col gap-0 overflow-hidden rounded-[24px] bg-[#224e5c] p-1 shadow-[0px_4px_6px_0px_rgba(0,0,0,0.05),0px_10px_15px_-3px_rgba(0,0,0,0.1)] transition-opacity hover:opacity-95"},{default:p(()=>[e("div",mt,[e("img",{src:Ae,alt:t(o)("cards.contactoVerde.title","Contacto Verde"),class:"h-full w-full object-contain p-4"}
1,null,8,bt)]),e("div",wt,[e("div",yt,[e("h3",kt,n(t(o)("cards.contactoVerde.title","Contacto Verde")),1),e("p",Ct,n(t(o)("cards.contactoVerde.subtitle","Grupos mayores de 20 personas, llamar al 787.722.5882 o escribir [email protected]")),1)]),r(x,{class:"h-4 w-4 flex-shrink-0 text-white"})])]),_:1},8,["to"])])]),_:1}),s[18]||(s[18]=e("div",{class:"container mx-auto h-px bg-white/20"},null,-1)),r(U,{tag:"section",class:"!pb-8 pt-8"},{default:p(()=>[e("div",Nt,[e("div",Tt,[e("h2",Dt,n(t(o)("events.title","Explora nuestro eventos")),1),e("div",St,[(c(!0),d(w,null,y(ae.value,a=>(c(),d("button",{key:a.key,onClick:F=>t(i).visitaCategory=t(i).visitaCategory===a.key?void 0:a.key,class:P(["flex items-center justify-center gap-3 rounded-lg px-4 py-4 font-[National2] text-[18px] font-medium leading-[1.5] tracking-[-0.18px] transition-colors",t(i).visitaCategory===a.key?"bg-white text-black":"bg-[#224E5C] text-white"])},[q(n(a.label)+" ",1),t(i).visitaCategory===a.key?(c(),M(Ce,{key:0,class:"h-3 w-3 shrink-0"})):A("",!0)],10,Vt))),128))]),e("div",Et,[e("div",Lt,[e("button",{onClick:ee,class:P(["flex h-12 items-center justify-center gap-3 rounded-lg border-2 px-4 font-[National2] text-[18px] font-medium leading-[1.5] tracking-[-0.18px] transition-colors tablet:w-fit",S.value?"border-white bg-white text-black":"border-white bg-transparent text-white"])},[r(Re,{class:"h-3 w-3 shrink-0"}),q(" "+n(t(o)("filters.button","Filtros de búsqueda")),1)],2),e("div",At,[k(e("input",{"onUpdate:modelValue":s[0]||(s[0]=a=>D.value=a),type:"text",placeholder:t(o)("filters.searchPlaceholder","Busca por evento, lugar o palabra clave"),class:"h-12 min-h-12 flex-1 rounded-lg border-2 border-white bg-transparent px-4 py-3 font-[National2Narrow] text-[18px] italic leading-none tracking-[-0.18px] text-white placeholder:text-white/70 focus:outline-none focus:ring-2 focus:ring-white/50"},null,8,jt),[[Ne,D.value]]),t(i).search||t(i).property||t(i).actionCategory||t(i).region||t(i).category||t(i).eventType||t(i).municipality||t(i).visitaCategory?(c(),d("button",{key:0,onClick:te,class:"flex h-12 w-12 shrink-0 items-center justify-center rounded-lg border-2 border-white bg-transparent text-white transition-colors hover:bg-white/10"},[...s[11]||(s[11]=[e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",class:"rotate-180"},[e("path",{d:"M1 1L11 11M11 1L1 11",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)])])):A("",!0)])]),S.value?(c(),d("div",zt,[e("div",Rt,[e("div",Ft,[e("span",Pt,n(t(o)("filters.from","Desde")),1),e("label",Mt,[r(Q,{class:"pointer-events-none h-3 w-3 shrink-0 text-white"}),r(H,{modelValue:m.value,"onUpdate:modelValue":s[1]||(s[1]=a=>m.value=a),class:"flex-1",maxDate:W.value,dateFormat:"dd/mm/yy",inputId:"startDate",inputClass:"bg-transparent border-none text-white font-[National2] text-[18px] font-medium leading-[1.5] tracking-[-0.18px] w-full focus:outline-none cursor-pointer"},null,8,["modelValue","maxDate"])])]),e("div",Ut,[e("span",Bt,n(t(o)("filters.to","Hasta")),1),e("label",$t,[r(Q,{class:"pointer-events-none h-3 w-3 shrink-0 text-white"}),r(H,{modelValue:b.value,"onUpdate:modelValue":s[2]||(s[2]=a=>b.value=a),class:"flex-1",minDate:m.value,maxDate:W.value,dateFormat:"dd/mm/yy",inputId:"endDate",inputClass:"bg-transparent border-none text-white font-[National2] text-[18px] font-medium leading-[1.5] tracking-[-0.18px] w-full focus:outline-none cursor-pointer"},null,8,["modelValue","minDate","maxDate"])])])]),s[17]||(s[17]=e("div",{class:"h-px w-full bg-white/20"},null,-1)),e("div",It,[e("label",Ot,[k(e("select",{"onUpdate:modelValue":s[3]||(s[3]=a=>t(i).category=a),class:"absolute inset-0 h-full w-full cursor-pointer opacity-0"},[e("option",Wt,n(t(o)("filters.categories","Categorias")),1),(c(!0),d(w,null,y(t(le),a=>(c(),d("option",{key:a,value:a},n(I(a)),9,Ht))),128))],512),[[T,t(i).category]]),e("span",Yt,n(t(i).category?I(t(i).category):t(o)("filters.categories","Categorias")),1),s[12]||(s[12]=e("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",class:"pointer-events-none mr-4 shrink-0"},[e("path",{d:"M2 4L6 8L10 4",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})],-1))]),e("label",qt,[k(e("select",{"onUpdate:modelValue":s[4]||(s[4]=a=>t(i).actionCategory=a),class:"absolute inset-0 h-full w-full cursor-pointer opacity-0"},[e("option",Qt,n(t(o)("filters.actions","Acciones")),1),(c(!0),d(w,null,y(se.value,a=>(c(),d("option",{key:a,value:a},n(a),9,Gt))),128))],512),[[T,t(i).actionCategory]]),e("span",Jt,n(t(i).actionCategory||t(o)("filters.actions","Acciones")),1),s[13]||(s[13]=e("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",class:"pointer-events-none mr-4 shrink-0"},[e("path",{d:"M2 4L6 8L10 4",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})],-1))]),e("label",Zt,[k(e("select",{"onUpdate:modelValue":s[5]||(s[5]=a=>t(i).property=a),class:"absolute inset-0 h-full w-full cursor-pointer opacity-0"},[e("option",Kt,n(t(o)("filters.visitorCenters","Centros de visitantes")),1),(c(!0),d(w,null,y(t(O),a=>(c(),d("option",{key:a.id,value:a.legacySlug},n(a.name),9,Xt))),128))],512),[[T,t(i).property]]),e("span",eo,n(t(O)?.find(a=>a.legacySlug===t(i).property)?.name||t(o)("filters.visitorCenters","Centros de visitantes")),1),s[14]||(s[14]=e("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",class:"pointer-events-none mr-4 shrink-0"},[e("path",{d:"M2 4L6 8L10 4",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})],-1))]),e("label",to,[k(e("select",{"onUpdate:modelValue":s[6]||(s[6]=a=>t(i).region=a),class:"absolute inset-0 h-full w-full cursor-pointer opacity-0"},[e("option",oo,n(t(o)("filters.region","Región")),1),(c(!0),d(w,null,y(B.value,(a,F)=>
1(c(),d("option",{key:F,value:F},n(a.title),9,io))),128))],512),[[T,t(i).region]]),e("span",ao,n(ne(t(i).region)),1),s[15]||(s[15]=e("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",class:"pointer-events-none mr-4 shrink-0"},[e("path",{d:"M2 4L6 8L10 4",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})],-1))]),e("label",so,[k(e("select",{"onUpdate:modelValue":s[7]||(s[7]=a=>t(i).eventType=a),class:"absolute inset-0 h-full w-full cursor-pointer opacity-0"},[e("option",no,n(t(o)("filters.activity","Actividad")),1),(c(),d(w,null,y(ce,a=>e("option",{key:a,value:a},n($(a)),9,ro)),64))],512),[[T,t(i).eventType]]),e("span",lo,n(t(i).eventType?$(t(i).eventType):t(o)("filters.activity","Actividad")),1),s[16]||(s[16]=e("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",class:"pointer-events-none mr-4 shrink-0"},[e("path",{d:"M2 4L6 8L10 4",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})],-1))])])])):A("",!0)])]),t(j)?t(R)!=="pending"&&N.value&&N.value.length>0?(c(),d("div",co,[t(R)==="success"&&N.value&&N.value.length>0?(c(),d("div",uo,[e("div",po,[(c(!0),d(w,null,y(N.value,a=>(c(),M(Fe,{key:a.id,id:`card-evento-visita-${a.id}`,image:a.image,title:a.name,location:a.subtitle||a.location,tag:ge(a),link:`/eventos/${a.id}`},null,8,["id","image","title","location","tag","link"]))),128))])])):A("",!0)])):(c(),d("div",go,[t(R)==="pending"?(c(),d("span",fo)):(c(),d("div",xo,[r(xe,{size:"medium"})]))])):(c(),M(fe,{key:0,title:t(v)("offline_lite_requires_connection","Esta sección requiere conexión."),description:t(v)("offline_lite_online_only_detail","Conéctate para cargar datos actualizados.")},null,8,["title","description"]))])]),_:1})])],16)}}}),jo=Se(ho,[["__scopeId","data-v-37a5f037"]]);export{jo 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.