1import{o as t}from"./0.2.91_nuxt.CVfausaB.js";import{E as s,G as e,Gt as a,P as r,Tt as o,g as l,it as i,m as n,v as c,w as u}from"./0.2.91_storyblok-vendor.B158sRIM.js";import{p as d,y as _}from"#entry";import{n as m}from"./0.2.91_OcxContentTitle.BTzOZqxX.js";import{t as b}from"./0.2.91_image.DD3mAvd8.js";import{n as g}from"./0.2.91_OcxCarousel._hRuPe37.js";import{n as p}from"./0.2.91_OcxCard.hSktpcqp.js";var k={class:"o-cards-carousel"},T=["textContent"],f=s({__name:"CardsCarousel",props:{blok:{}},setup(s){const f=s,{t:x}=d(),v=t().public.storyblok.assetsUrl||_.assetsUrl,y=n(()=>f.blok?.cards),C=n(()=>({titleTag:String(f.blok.titleTag??"h2"),title:String(f.blok.title??""),description:f.blok.description?String(f.blok.description):void 0,buttonText:f.blok.buttonText?String(f.blok.buttonText):void 0,link:{href:`${f.blok.buttonLink}`,target:"_self"}})),S=n(()=>({slides:y.value,gap:16}));return(t,s)=>{const n=m,d=p,_=g;return e(),c("div",k,[u(n,r({class:"o-cards-carousel__header"},C.value),null,16),y.value?.length?(e(),l(_,r({key:0,class:"o-cards-carousel__slider"},S.value),{slide:i(({slide:t})=>{return[u(d,r({class:"o-cards-carousel__item"},(s=t,{image:{src:b(s.image?.src,768,v,"storyblok"),alt:s.image?.alt},title:s.title,titleTag:s.titleTag??"h3",description:s.description,secondaryButtonText:s.buttonText||x("RESTAURANT.VIEW_DETAILS"),secondaryButtonLink:{href:s.buttonLink?.href,target:s.buttonLink?.target||"_blank"}})),null,16)];var s}),_:1},16)):(e(),c("p",{key:1,class:"o-cards-carousel__slider__empty-image",textContent:a(o(x)("RESTAURANT.EMPTY_SLIDER"))},null,8,T))])}}}),x=Object.assign(f,{__name:"CardsCarousel"});export{x 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.