PageSourceSearch

https://www.eracles.it/_nuxt/vqgscpUg.js

js eracles.it collected 2026-10-02 01:04:08 UTC 2,429 bytes, 1 lines download raw bytes

1import{u as I,_ as j}from"./mk5hCBUJ.js";import{k as B,_ as F}from"./BGa1l0jP.js";import{_ as H}from"./_AbXbjPs.js";import{_ as N}from"./DapW2GPX.js";import{h as T,r as V,f as D,i as y,s as L,c as r,o as l,b as g,a as m,F as x,k as C,S as P,g as i,t as z,w as R}from"./D-1a3qU5.js";import{u as q}from"./CqSx5xRE.js";import"./CyFpeb2k.js";const G={class:"flex gap-2 items-center justify-center mt-8"},J=["onClick"],K={class:"block md:grid md:grid-cols-2 md:gap-4 px-6 mb-16 max-w-screen-2xl m-auto mt-16"},tt=T({__name:"index",async setup(M){var b;let e,c;const d=I(),n=V(""),{locale:p}=D(),{data:f}=([e,c]=y(()=>d.getItems("environment_case_history",{fields:["id","date_created","image","tags.*","translations.title"]})),e=await e,c(),e),w=L(()=>{var t;return n.value===""?f.value:(t=f.value)==null?void 0:t.filter(o=>o.tags.some(u=>String(u.tags_id)===n.value))}),{data:S}=([e,c]=y(()=>d.getItems("tags")),e=await e,c(),e),v=((b=S.value)==null?void 0:b.reduce((t,o)=>(t[o.id]=o.translations[0].tag,t),{}))||{};return q({title:p.value==="it"?"Case History Ambiente":"Environment Case Histories",description:p.value==="it"?"Scopri i case history di Eracles nel settore ambientale. Progetti di bonifica, VIA, e gestione ambientale.":"Discover Eracles' case histories in the environmental sector. Remediation, EIA, and environmental management projects."}),(t,o)=>{const u=j,$=F,A=H;return l(),r("div",null,[g(u,{title:t.$t("section.environments.caseHistories")},null,8,["title"]),o[0]||(o[0]=m("div",{class:"flex justify-center"},[m("img",{src:N,alt:"logo",class:"mx-auto w-48"})],-1)),m("div",G,[(l(!0),r(x,null,C(i(v),(s,a)=>(l(),r("div",{key:a,class:P(["border-solid border-2 rounded text-xs px-2 py-1 cursor-pointer",{"bg-primary text-white":i(n)!==String(a),"bg-white text-primary":i(n)===String(a)}]),onClick:_=>i(n)===String(a)?n.value="":n.value=String(a)},z(s),11,J))),128))]),m("ul",K,[(l(!0),r(x,null,C(i(w),s=>{var a,_;return l(),r("li",{key:s.id},[g(A,{to:t.$localePath(`/environments/case-histories/${s.id}-${("_kebabCase"in t?t._kebabCase:i(B))((_=(a=s.translations)==null?void 0:a[0])==null?void 0:_.title)}`)},{default:R(()=>{var h,k;return[g($,{title:(k=(h=s.translations)==null?void 0:h[0])==null?void 0:k.title,tags:s.tags.map(E=>i(v)[E.tags_id]),image:i(d).getThumbnail(s.image,{width:800,height:480,fit:"cover"})},null,8,["title","tags","image"])]}),_:2},1032,["to"])])}),128))])])}}});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.