1import{$ as V,d as T,b as D,g as A,o as n,c as r,i as e,t as s,e as t,a as x,n as v,F as m,y as f,k as C,D as b,m as c,h as O,a_ as z,u as H,j as P,R as S,ae as U}from"./eFdCCj3t.js";import{_ as G}from"./CcU9WZRu.js";import{_ as I}from"./DZKttJh8.js";import{u as M,_ as q,f as j}from"./oFfJ4uRJ.js";import{u as J,c as Y}from"./CJm9xCjt.js";import{u as K}from"./CZBlIT94.js";import{_ as E}from"./CxLkCp8M.js";import{a as Q,b as W}from"./CprriFlA.js";import"./Bfd5Thr0.js";import"./C_YC4gad.js";import"./Dt71Bsnr.js";import"./yq0Knmm2.js";import"./vi1QwH6S.js";import"./C-UVnSwA.js";import"./CDf80O8W.js";import"./n7VRO2w0.js";import"./C78LnrFO.js";import"./DaMDcely.js";import"./hQTZsdZR.js";import"./BDNTjAPc.js";const L=V("/images/calendario-ecologico/hero.jpg"),X={"aria-labelledby":"ecological-calendar-grid-heading"},Z={class:"mb-8 flex flex-col"},ee={class:"flex flex-col gap-4"},te={class:"font-national2Narrow text-sm font-medium leading-none tracking-[-0.18px] text-white/80"},oe={class:"flex items-center gap-3"},se={class:"h-10 w-10 shrink-0 overflow-hidden rounded-full"},ae=["src","alt"],le={id:"ecological-calendar-grid-heading",class:"font-national2Narrow text-2xl font-medium leading-none tracking-[-0.18px] text-white laptop:text-3xl"},ne={class:"mt-1 font-national2Narrow text-lg font-medium leading-none tracking-[-0.18px] text-[#66a287]"},ie={key:1,class:"mt-12","aria-labelledby":"ecological-calendar-other-seasons-heading"},re={class:"mb-6 flex flex-col gap-2"},ce={id:"ecological-calendar-other-seasons-heading",class:"font-national2Narrow text-xl font-medium leading-none tracking-[-0.18px] text-white laptop:text-2xl"},de={class:"font-[National2] text-base leading-[1.5] tracking-[-0.18px] text-white/70"},pe={class:"grid grid-cols-1 gap-4 tablet:grid-cols-2 laptop:grid-cols-3"},ge={key:2,class:"rounded-2xl bg-[#2b2b2b] px-6 py-8 text-center font-[National2] text-base text-white/70"},xe=T({__name:"EcologicalCalendarGrid",props:{variant:{default:"page"}},setup(w){const o=w,{t:d}=D("calendario-ecologico"),i=J(),{locale:h}=A(),p=c(()=>o.variant==="page"),y=c(()=>o.variant==="panel"?"grid grid-cols-1 gap-4":"grid grid-cols-1 gap-4 tablet:grid-cols-2 laptop:grid-cols-3"),a=c(()=>{const $=new Date,N=h.value==="en"?"en-US":"es-ES";return $.toLocaleDateString(N,{day:"numeric",month:"long",year:"numeric"})}),{activeFilter:l,filterPills:F,selectFilter:R}=M(c(()=>p.value?i.gridAllItems.value:i.activeItems.value)),u=c(()=>j(i.activeItems.value,l.value)),_=c(()=>j(i.gridOtherSeasonItems.value,l.value)),B=c(()=>u.value.length>0||p.value&&_.value.length>0),k=c(()=>Y([...u.value,..._.value]));return($,N)=>(n(),r("section",X,[e("div",Z,[e("div",ee,[e("p",te,s(t(a)),1),e("div",oe,[e("div",se,[e("img",{src:t(i).icon,alt:t(i).title.value,class:"h-full w-full scale-110 object-cover"},null,8,ae)]),e("div",null,[e("h2",le,s(t(i).title.value),1),e("p",ne,s(t(i).subtitle.value),1)])])]),x(q,{pills:t(F),"active-filter":t(l),class:"mt-6",onSelect:t(R)},null,8,["pills","active-filter","onSelect"])]),t(u).length>0?(n(),r("div",{key:0,class:v(t(y))},[(n(!0),r(m,null,f(t(u),g=>(n(),C(I,{key:g.id,item:g,variant:"grid","flora-context-slugs":t(k)},null,8,["item","flora-context-slugs"]))),128))],2)):b("",!0),t(p)&&t(_).length>0?(n(),r("section",ie,[e("div",re,[e("h3",ce,s(t(d)("grid.otherSeasons.title","Otras épocas del año")),1),e("p",de,s(t(d)("grid.otherSeasons.subtitle","Especies y procesos que destacan en otros meses.")),1)]),e("div",pe,[(n(!0),r(m,null,f(t(_),g=>(n(),C(I,{key:g.id,item:g,variant:"grid",muted:"","flora-context-slugs":t(k)},null,8,["item","flora-context-slugs"]))),128))])])):b("",!0),t(B)?b("",!0):(n(),r("p",ge,s(t(d)("grid.empty","No hay eventos disponibles este mes.")),1))]))}}),ue={class:"min-h-screen bg-[#1a1a1a] text-white"},_e={class:"relative flex min-h-[480px] flex-col justify-end overflow-hidden rounded-[32px] laptop:min-h-[592px]"},me={class:"absolute inset-0 flex flex-col items-end justify-end overflow-hidden rounded-[20px] bg-gradient-to-b from-transparent via-black/30 to-black/70"},fe={class:"max-w-[640px] font-[National2Narrow] text-5xl font-medium leading-none tracking-[-1.6px] text-white laptop:text-[80px]",style:{"text-shadow":`0px 2px 8px rgba(0, 0, 0, 0.1), 2 0px 1px 2px rgba(0, 0, 0, 0.05)`}},he={class:"grid grid-cols-1 gap-12 laptop:grid-cols-[2fr_1fr] laptop:items-start laptop:gap-[48px]"},be={class:"flex flex-col gap-12"},ve={class:"font-[National2] text-lg leading-[1.5] tracking-[-0.24px] text-white [font-variant-numeric:lining-nums_tabular-nums] laptop:text-2xl"},we={class:"mb-6"},ye={class:"mb-6"},ke={class:"mb-6"},$e={class:"mb-6"},Ne={class:"relative laptop:-mt-[176px]"},Ce={class:"flex flex-col gap-8 laptop:sticky laptop:top-[152px]"},Se={class:"rounded-[24px] bg-[#2b2b2b] px-6 py-8"},Ie={class:"mb-6 font-[National2] text-lg leading-[1.5] tracking-[-0.18px] text-white"},je={class:"flex flex-col gap-3"},Ee=["href"],Le={class:"font-[National2Condensed] text-2xl font-medium uppercase leading-[0.9]"},Te={class:"rounded-[24px] bg-[#2b2b2b] px-6 py-8"},De={class:"mb-6 font-[National2] text-lg leading-[1.5] tracking-[-0.18px] text-white"},Fe={class:"flex flex-col gap-3"},Re=["href"],Be={class:"font-[National2Condensed] text-2xl font-medium uppercase leading-[0.9]"},st=T({__name:"index",setup(w){const{t:o}=D("calendario-ecologico");O();const d=U(),{setTheme:i}=K();z(()=>{i("dark")}),H({title:o("seo.title"),description:o("seo.description"),ogTitle:o("seo.title"),ogImage:`${d.public.siteUrl}/images/calendario-ecologico/hero.jpg`});const h=[{label:"sidebar.btn2021",href:"/downloads/calendario-ecologico/calendario-2021.pdf"},{label:"sidebar.btn2020",href:"/downloads/calendario-ecologico/calendario-2020.pdf"},{label:"sidebar.btn2019es",href:"/downloads/calendario-ecologico/calendario-2019-espanol.pdf"},{label:"sidebar.btn2019en",href:"/downloads/calendario-ecologico/calendario-2019-ingles.pdf"}],p=[{label:"sidebar.btn2021",href:"https://open.spotify.com/show/7p2gA9vR1dchocwRwjHJzd"}];return(y,a)=>(n(),r("div",ue,[e("div",{class:v([t(W),"p-1 pt-1"])},[e("div",_e,[a[0]||(a[0]=e("img",{src:L,alt:"",class:"absolute inset-0 h-full w-full scale-105 object-cover blur-md"},null,-1)),a[1]||(a[1]=e("img",{src:L,alt:"",class:"absolute inset-0 h-full w-full object-cover"},null,-1)),e("div",me,[e("div",{class:v(["w-full",t(Q)])},[e("h1",fe,s(t(o)("hero.title")),1)],2)])])],2),x(G,{tag:"div",class:"py-16 !pb-16"},{default:P(()=>[e("div",he,[e("div",be,[e("div",ve,[e("p",we,s(t(o)("body.p1")),1),e("p",ye,s(t(o)("body.p2")),1),e("p",ke,s(t(o)("body.p3")),1),e("p",$e,s(t(o)("body.p4")),1),e("p",null,s(t(o)("body.p5")),1)]),x(xe)]),e("div",Ne,[e("div",Ce,[e("div",Se,[e("p",Ie,[S(s(t(o)("sidebar.calendarioTitle")),1),a[2]||(a[2]=e("br",null,null,-1)),S(s(t(o)("sidebar.calendarioSubtitle")),1)]),a[3]||(a[3]=e("hr",{class:"mb-6 border-white/20"},null,-1)),e("div",je,[(n(),r(m,null,f(h,l=>e("a",{key:l.label,href:l.href,target:"_blank",rel:"noopener noreferrer",class:"flex h-[44px] items-center justify-between rounded-lg bg-[#575757] px-4 text-white shadow-[0px_1px_2px_0px_rgba(0,0,0,0.05),0px_2px_8px_0px_rgba(0,0,0,0.1)] transition hover:bg-[#636363]"}
2,[e("span",Le,s(t(o)(l.label)),1),x(E,{class:"h-4 w-4 shrink-0"})],8,Ee)),64))])]),e("div",Te,[e("p",De,s(t(o)("sidebar.podcastTitle")),1),a[4]||(a[4]=e("hr",{class:"mb-6 border-white/20"},null,-1)),e("div",Fe,[(n(),r(m,null,f(p,l=>e("a",{key:l.label,href:l.href,target:"_blank",rel:"noopener noreferrer",class:"flex h-[44px] items-center justify-between rounded-lg bg-[#575757] px-4 text-white shadow-[0px_1px_2px_0px_rgba(0,0,0,0.05),0px_2px_8px_0px_rgba(0,0,0,0.1)] transition hover:bg-[#636363]"},[e("span",Be,s(t(o)(l.label)),1),x(E,{class:"h-4 w-4 shrink-0"})],8,Re)),64))])])])])])]),_:1})]))}});export{st 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.