1import{u as Y,_ as $}from"./LlCU8I6s.js";import{f as v,A as x,q as M,r as P,e as C,i as S,p as e,o as A}from"./BQDpIwrx.js";import{u as D}from"./DDt3stgx.js";import{u as I}from"./BpOqyTS0.js";import"./BvFN1ouM.js";import"./QBKEPGUg.js";import"./DWHS5cSy.js";const b={__name:"index",async setup(j){let a,n;const{$getLocale:u,$t:c}=v(),l=Y(),i=u(),t=D(),r=x(),m=r.params.category||null,o=r.params.month||t().format("MM"),s=r.params.year||t().format("YYYY"),p=t(`${s}-${o}-01`).isValid()?`${s}-${o}-01`:t().format("YYYY-MM-DD"),{events:f,categories:_}=([a,n]=M(()=>$fetch("/sapi/event/calendar",{query:{year:s,month:o}})),a=await a,n(),a),g=P("calendario"),d=I(),{setPageI18n:y}=d;return y([{locale:"en",slug:l},{locale:"it",slug:l}]),C({title:()=>c("Calendario"),description:()=>c("Calendario")}),(k,q)=>{const h=$;return A(),S(h,{month:e(o),year:e(s),"calendar-slug":e(g),events:e(f),categories:e(_),focus:e(p),category:e(m),locale:e(i)},null,8,["month","year","calendar-slug","events","categories","focus","category","locale"])}}};export{b 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.