PageSourceSearch

https://www.ambiente.it/_nuxt/CylfhX1I.js

js ambiente.it collected 2026-09-25 00:38:42 UTC 4,165 bytes, 1 lines download raw bytes

1import{_ as a}from"./D-RldQQf.js";import t from"./BLMxf9KC.js";import{_ as s}from"./CzpXCgoG.js";import{k as l,d as e,o,p as d,l as n,n as r,q as i,e as p,t as u,f as m,P as c,r as g,w as b,a1 as f,a as h,g as x,F as y,y as v}from"./BWonlb6V.js";import{_ as w}from"./BCo6x5W8.js";import{_}from"./Ctxf20q8.js";import{_ as j}from"./CTjWxSRO.js";import"./ChkrxD6P.js";import"./DbXw5qq0.js";import"./CSN641d-.js";const $={class:i(["block max-w-full overflow-hidden bg-white rounded-2xl p-gap border border-white relative transform cardFx md:col-span-2"])},k={class:"w-[66px] md:w-[138px] md:min-w-[138px] h-auto md:h-[138px] md:aspect-square flex items-center justify-center"},z={class:"flex-1"},S={class:i(["titoletto text-accent font-extrabold uppercase mdd:my-hhgap mb-hhgap"])},B={key:0,class:"title-40"},O={class:"base-text md:w-80%"},q={class:"bg-accent w-[38px] h-[38px] md:w-[62px] md:h-[62px] absolute bottom-0 right-0 flex items-center justify-center hover:opacity-80 transition-opacity duration-300"},F=w({__name:"TemplatesArchiveModuleSuite",props:{mod:Object},setup(g){const b=l();return(l,f)=>{const h=a,x=t,y=s;return o(),e("div",$,[d(y,{class:"flex flex-col md:flex-row items-start justify-start md:gap-gap",to:m(b)({name:"solutions-subdir-subslug",params:{subdir:(l._.provides[c]||l.$route).params.slug,subslug:g.mod?.slug?.[l.$i18n.locale]}})},{default:n(()=>[r("figure",k,[d(h,{class:i(["h-full w-auto object-contain object-center"]),size:"original",imgName:"logo",datas:g.mod?.payload,noBase:!0,scrollFx:!0},null,8,["datas"])]),r("div",z,[r("h3",S,u(g.mod?.payload?.title?.[l.$i18n.locale]),1),g.mod?.payload?.long_title_translated?.[l.$i18n.locale]?(o(),e("h4",B,u(g.mod?.payload?.long_title_translated?.[l.$i18n.locale]),1)):p("",!0),r("p",O,u(g.mod?.payload?.description?.[l.$i18n.locale]),1),r("button",q,[d(x,{name:"ae5:plus-card",class:"plus-icon w-[12px] h-[12px] md:w-[20px] md:h-[20px] transform rotate-0"})])])]),_:1},8,["to"])])}}},[["__scopeId","data-v-087e968e"]]),T={key:0,class:"relative",id:"suites"},M={class:"md:col-span-2 title-40 text-accent mb-gap md:mb-dgap relative z-[2]"},N={class:"grid gap-gap md:grid-cols-2 w-full relative z-[2]"},J={key:1,class:"relative",id:"components"},P={class:"md:col-span-2 title-40 text-accent mb-gap md:mb-dgap relative z-[2]"},U={class:"grid gap-gap md:grid-cols-2 w-full relative z-[2]"},A={__name:"BuilderBlocksSolution",props:{data:Object},async setup(a){let t,s;const l=a,d=h(),i=g(null),c=g([]),w=g([]),$=l?.data?.browsers?.solution?.[0]?.id;if($)try{const{data:a}=([t,s]=b(()=>f(d.public.apiUrl,{method:"POST",body:{query:`\n          query Solution {\n            solution(id: "${$}") {\n              modules {\n                payload\n                slug\n                published\n              }\n            }\n          }\n        `}},"$XhojppBbDL")),t=await t,s(),t);if(a.value?.data?.solution?.modules?.length>0){i.value=a.value.data.solution.modules;for(const a of i.value){const t={...a,payload:a?.payload?JSON.parse(a.payload):null,slug:a?.slug?JSON.parse(a.slug):null};!0===t?.payload?.is_suite?c.value.push(t):w.value.push(t)}}}catch(k){}return(a,t)=>{const s=F,l=_,d=j;return o(),x(d,{class:"grid grid-cols-1 gap-gap md:gap-dgap",mtMedium:!0,mbMedium:!0},{default:n(()=>[m(c).length>0?(o(),e("section",T,[t[0]||(t[0]=r("span",{class:"absolute block z-[0] top-gap md:top-dgap left-1/2 transform -translate-x-1/2 w-[100dvw] h-[200px] bg-gradient-to-b from-[#e6e6e6] to-very-light"},null,-1)),r("h2",M,u(a.$t("suiteTxt")),1),r("div",N,[(o(!0),e(y,null,v(m(c),(t,l)=>(o(),e(y,null,[t?.slug?.[a.$i18n.locale]&&t?.published?(o(),x(s,{mod:t,key:l},null,8,["mod"])):p("",!0)],64))),256))])])):p("",!0),m(w).length>0?(o(),e("section",J,[t[1]||(t[1]=r("span",{class:"absolute block z-[0] top-gap md:top-dgap left-1/2 transform -translate-x-1/2 w-[100dvw] h-[200px] bg-gradient-to-b from-[#e6e6e6] to-very-light"},null,-1)),r("h2",P,u(a.$t("componentsTxt")),1),r("div",U,[(o(!0),e(y,null,v(m(w),(t,s)=>(o(),e(y,null,[t?.slug?.[a.$i18n.locale]&&t?.published?(o(),x(l,{mod:t,key:`component-${s}`},null,8,["mod"])):p("",!0)],64))),256))])])):p("",!0)]),_:1})}}};export{A 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.