1import{_ as P}from"./o93FBU9m.js";import{_ as z}from"./DRBktqxg.js";import{_ as U}from"./B2qUP4tU.js";import{_ as D,a as N}from"./CYlNqVnl.js";import{d as F,c as a,C as l,J as d,e,D as L,f as _,g as s,h as c,H as f,I as V,B as o,F as i,_ as A,r as I,G as H}from"./DObVi0DE.js";import{_ as T}from"./DeYi1dOI.js";import{u as h}from"./DklKeEdN.js";/* empty css */import{S as $,b as q,a as E}from"./CjpB1_uc.js";import"./sHrWT-6H.js";import"./Do37wuJn.js";import"./ChVgSXPp.js";import"./W3Y7GRYH.js";import"./2frxcppT.js";const G={class:"collage"},J={class:"group relative z-0 aspect-4/5 w-full flex items-end bg-neutral-light p-5 rounded md:p-10"},Q={class:"media absolute left-0 top-0 z-0 h-full w-full overflow-hidden rounded"},K={class:"text pointer-events-none z-20"},M={class:"!mb-0"},R={key:0,class:"features text-white !mb-2"},W={key:0},X={key:1},Y={key:1,class:"summary !text-white !mb-2"},Z={class:"!text-white h5 lead"},j={key:2,class:"subtitle !text-white !mt-2"},O={key:0,class:"mt-5 flex flex-wrap gap-4"},tt={key:0,class:"flex justify-center gap items-center pt-4"},et=F({__name:"Collage",props:{header:{},headerLayout:{},headerPosition:{},headerLink:{},subheader:{},uid:{},index:{},appearance:{},summary:{},bodytext:{},data:{default:()=>({})}},setup(v){const p=v,x={gap:"var(--gap)",autoplay:!0,interval:12e3,pagination:!0,rewind:!0,arrows:h(),keyboard:"focus",classes:{prev:"splide__arrow--prev splide-arrow-prev",next:"splide__arrow--next splide-arrow-next"},start:0,perPage:1,padding:"calc((var(--viewport-spacing) / 2) + var(--gap))",mediaQuery:"min",breakpoints:{640:{padding:"calc(var(--onecol-width) + var(--gap))"},768:{start:1,perPage:2,padding:"calc(var(--viewport-spacing) / 2)"},1280:{start:1,perPage:3}}},u=I(!0);function m(r){r.on("overflow",function(n){r.go(0),r.options={arrows:n,drag:n,clones:n?void 0:0},u.value=n})}return(r,n)=>{const w=P,g=z,y=U,k=D,b=N,S=A,C=T,B=H("in-viewport");return e(),a("div",G,[l(C,{data:p.data,"header-position":"left"},{default:d(()=>[L((e(),_(c(E),{ref:"slider",tag:"section",options:x,"has-track":!1,"onSplide:resized":m,"onSplide:mounted":m},{default:d(()=>[l(c($),{class:"h-full"},{default:d(()=>[(e(!0),a(f,null,V(p.data.data.pageInfo,t=>(e(),_(c(q),{key:t.uid},{default:d(()=>[o("article",J,[o("div",Q,[t?.tx_sectioncontent_abstract_image?.length?(e(),a(f,{key:0},[t?.tx_sectioncontent_abstract_image[0]?.properties?.type=="video"?(e(),_(w,{key:0,"comment-more":"",actions:"",toggle:!1,video:t?.tx_sectioncontent_abstract_image[0],class:"w-full object-cover brightness-80 filter transition-all duration-300 !h-full group-hover:scaling-105"},null,8,["video"])):(e(),_(g,{key:1,class:"!h-full",image:t?.tx_sectioncontent_abstract_image[0],loading:"lazy","image-class":"object-cover relative w-full !h-full transition-all duration-300 group-hover:scaling-105 filter brightness-80",aspect:{xs:"4/5",sm:"4/5",md:"4/5",lg:"4/5",xl:"4/5","2xl":"4/5","3xl":"4/5"},width:{xs:550,sm:342,md:455,lg:362,xl:425,"2xl":540,"3xl":750}},null,8,["image"]))],64)):s("",!0)]),l(y,{"price-from":t?.tx_sectioncontent_abstract_attr_1,"price-to":t?.tx_sectioncontent_abstract_attr_2,rate:t?.backend_layout==="pagets__room"?"night":"person"},null,8,["price-from","price-to","rate"]),o("div",K,[o("header",M,[t?.tx_sectioncontent_abstract_attr_3||t?.tx_sectioncontent_abstract_attr_4?(e(),a("p",R,[t?.tx_sectioncontent_abstract_attr_4?(e(),a("span",W,i(t.tx_sectioncontent_abstract_attr_4)+" m²",1)):s("",!0),t?.tx_sectioncontent_abstract_attr_3?(e(),a("span",X,i(t.tx_sectioncontent_abstract_attr_3)+" "+i(r.$t("persons",Number(t.tx_sectioncontent_abstract_attr_3.replace(/\D/g,"")))),1)):s("",!0)])):s("",!0),t?.teaser_description?(e(),a("p",Y,i(t?.teaser_description),1)):s("",!0),o("h3",Z,i(t?.teaser_title),1),t?.teaser_subtitle?(e(),a("p",j,i(t?.teaser_subtitle),1)):s("",!0)]),t?.backend_layout==="pagets__room"||t?.backend_layout==="pagets__package"?(e(),a("div",O,[t?.tx_sectioncontent_abstract_attr_8?(e(),_(k,{key:0,"booking-id":t?.tx_sectioncontent_abstract_attr_8,type:t?.backend_layout.replace("pagets__",""),class:"btn-primary pointer-events-auto"},null,8,["booking-id","type"])):s("",!0),l(b,{"booking-id":t?.teaser_title,type:t?.backend_layout.replace("pagets__",""),class:"btn-outline-light pointer-events-auto"},null,8,["booking-id","type"])])):s("",!0)]),l(S,{class:"absolute left-0 top-0 z-10 h-full w-full","aria-label":t?.teaser_title,to:t?.link},null,8,["aria-label","to"])])]),_:2},1024))),128))]),_:1}
1),("useShowArrows"in r?r.useShowArrows:c(h))()&&c(u)?(e(),a("div",tt,[...n[0]||(n[0]=[o("div",{class:"splide__arrows relative"},[o("button",{class:"!relative !transform-none splide__arrow splide__arrow--prev btn-primary","aria-label":"previous"},[o("div",{class:"i-custom-arrow-left h-5 w-5"})])],-1),o("ul",{class:"splide__pagination relative"},null,-1),o("div",{class:"splide__arrows relative"},[o("button",{class:"!relative !transform-none splide__arrow splide__arrow--next btn-primary","aria-label":"next"},[o("div",{class:"i-custom-arrow-right h-5 w-5"})])],-1)])])):s("",!0)]),_:1})),[[B]])]),_:1},8,["data"])])}}}),ht=Object.assign(et,{__name:"T3CeSectionContentCollage"});export{ht 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.