PageSourceSearch

https://unioneitalianavini.it/_nuxt/B_ww7j81.js

js unioneitalianavini.it collected 2026-09-25 19:25:41 UTC 1,867 bytes, 1 lines download raw bytes

1import{_ as q}from"./ZZlpfefL.js";import{_ as E}from"./BFd7Yeyk.js";import{_ as L}from"./B5Fm1Vak.js";import{_ as V}from"./86V7uIub.js";import{_ as D}from"./_BBo01Ef.js";import{d as N,u as S,l as j,a as A,m as F,w as G,r as c,p as R,O as z,b as e,o as s,e as n,g as _,f as i,s as J,v as k,h as M,i as O,j as Q}from"./C2s5hxCK.js";import{u as T}from"./D2N-wQSr.js";import"./CIsJI0pp.js";import"./CD2oBdSv.js";import"./DIHdKBd4.js";import"./DQmaUPFA.js";const X={key:0},H={class:"container py-5"},K={key:1},U={class:"container py-5"},W={key:2},Y={key:0},Z={key:1},ee={key:2},me=N({__name:"index",async setup(ae){let r,d;const p=S(),P=j(),m=A().locale.value,x=F(),{data:u,pending:w,error:I}=([r,d]=G(()=>O("/api/single",{params:{type:"pages",lang:m,slug:Q(),previewId:T()}},"$dyQjPXTJBb")),r=await r,d(),r),o=c(),l=c(!1),f=c(null),g=c({}),h=async(a=1)=>{l.value=!0,await $fetch("/api/list",{params:{type:"fairs",lang:m,limit:15,page:a}}).then(t=>{t&&t.data&&t.data.length&&(g.value=t,o.value=t.data)}).catch(t=>{f.value=t}).finally(()=>{l.value=!1})},$=a=>{P.push({query:{...p.query,page:a}}),h(a)};return R(async()=>{const a=parseInt(p.query.page)||1;await h(a),a>1&&document.querySelector("#fairs-list").scrollIntoView({behavior:"smooth"})}),z(u),(a,t)=>{const y=q,v=E,B=L,C=V,b=D;return e(w)?(s(),n("div",X,[_("div",H,[i(y)])])):e(I)?(s(),n("div",K,[_("div",U,[i(v)])])):(s(),n("div",W,[i(B,{data:e(u),"no-extra-div":!e(o)},null,8,["data","no-extra-div"]),_("div",{class:k(["py-5",{"bg-grey":e(o)&&e(o).length}])},[e(l)?(s(),n("div",Y,[i(y)])):e(f)?(s(),n("div",Z,[i(v)])):(s(),n("div",ee,[i(C,{id:"fairs-list",data:e(o),title:a.$t("fairs.exploreAll"),image:"","link-index":e(x)("fiere")},null,8,["data","title","link-index"]),e(o)&&e(o).length?(s(),J(b,{key:0,data:e(g),onPageChange:$,class:k("pt-5")},null,8,["data"])):M("",!0)]))],2)]))}}});export{me 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.