1import{_ as a}from"./BXlWJqe-.js";import{_ as t}from"./CdhJQcHy.js";import{_ as s}from"./60mZGIcA.js";import{_ as e}from"./C_QM4ygV.js";import{_ as l}from"./CLsxfvmu.js";import{u as n,i as o,k as d,s as r,r as i,w as m,a9 as u,a as p,c,g,e as _,f,o as j,l as y,n as w,p as v,q as x,d as $,F as h,y as k,x as b,t as B}from"./DBshIg5Z.js";import"./BLPCYQ9a.js";import"./DVsN3IOX.js";import"./BTHbydVO.js";import"./zPj0mcAW.js";import"./Co-uYYKc.js";import"./DLx36SYB.js";import"./BCo6x5W8.js";const C=["innerHTML"],H={class:"smd:alignfull overflow-x-clip"},S={class:"smd:px-hgap mx-auto"},T={__name:"BuilderBlocksNewsCollection",props:{data:Object},async setup(T){let q,K;const L=T,M=p(),{locale:N}=n(),D=o(),F=d(),O=r(()=>D.params),E=i(null),G=i(L.data?.content?.tags?`, tags: ["${L.data?.content?.tags.split(",").join('","')}"]`:""),{data:I}=([q,K]=m(()=>u(M.public.apiUrl,{method:"POST",body:{query:`\n query NewsBlock {\n news(page: 1, first: ${L?.data?.content?.model_number?L?.data?.content?.model_number:3}, lang: "${N.value}", site: "terranova"${G.value}, excluded_slug: "${O.value?.slug}") {\n data {\n category {\n slug\n multilang_title\n }\n payload\n id\n created_at\n updated_at\n }\n }\n }\n `}},"$9GSC5DHlnK")),q=await q,K(),q),P=I.value;if(P?.data?.news?.length<1)throw c({statusCode:404,message:"404 error"});return E.value=P?.data?.news?.data,(n,o)=>{const d=a,r=t,i=s,m=e,u=l;return f(E)?.length>0?(j(),g(u,{key:0,data:T.data,mtMedium:!0},{default:y(()=>[w("h2",{class:x(["title-50 mb-gap"]),innerHTML:T.data?.content?.title?.[n.$i18n.locale]},null,8,C),w("div",H,[w("div",S,[v(r,{numSlides:f(E)?.length,noNav:!0},{default:y(()=>[(j(!0),$(h,null,k(f(E),a=>(j(),g(d,{class:"swiper-slide",key:a.id,payload:a.payload,data:a},null,8,["payload","data"]))),128))]),_:1},8,["numSlides"])])]),v(m,{to:f(F)({name:"news"})},{default:y(()=>[v(i,{class:x(["mt-gap"]),isBlack:!0},{default:y(()=>[b(B(n.$t("allContentsTxt")),1)]),_:1})]),_:1},8,["to"])]),_:1},8,["data"])):_("",!0)}}};export{T 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.