1import{b as N,_ as L,a as M}from"./BOOyr1FE.js";import{_ as V}from"./CePXVmAk.js";import{F as z,_ as B}from"./DbVuKlBz.js";import{_ as F}from"./C_270phV.js";import{aQ as A,bl as j,ba as O,br as U,aT as n,b0 as i,a$ as s,b2 as x,b3 as w,aY as c,aX as l,a_ as f,bb as Y,aV as D,aZ as J,b9 as Q,b1 as $,b5 as X,aS as I,bp as Z,aU as k,aW as a,aP as G,bo as K,b7 as ee}from"./CZLvr8Im.js";import{a as te,_ as ae}from"./flY6nO7S.js";import{u as se}from"./dwnAz4e0.js";import"./bEQOgtIn.js";import"./BlUCfApJ.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};r.SENTRY_RELEASE={id:"8bf28153dafc9f3d4accc93ef5857e975d1cbbaf"};var o=new r.Error().stack;o&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[o]="5db8f85d-ac98-455c-936f-abf60a5906d7",r._sentryDebugIdIdentifier="sentry-dbid-5db8f85d-ac98-455c-936f-abf60a5906d7")}catch{}})();const ne={class:"rooms-list"},oe={class:"columns column6 col-image"},ie={key:0},ce=["data-src","data-fancybox","data-caption","title"],le={key:0,class:"more-images",title:"More images"},re={key:1},_e=["srcset"],de=["srcset"],me=["src","alt"],ue={key:1,class:"thumbnails"},ge=["data-src","data-fancybox","data-caption","title"],pe=["srcset"],fe=["srcset"],be=["src"],he={class:"columns column6 col-content"},ye={class:"contentblock-content"},ke={class:"room-icon"},ve={key:0},xe={key:1},we=["innerHTML"],Ie=A({__name:"Rooms",props:{items:{},filter:{},type:{}},setup(r){const o=r,m=Q(()=>{const t=o.filter??"showAll";return t==="showAll"?o.items:o.items.filter(p=>p.category===t)});return j(()=>{z.bind("[data-fancybox]",{})}),(t,p)=>{const u=O("font-awesome-icon"),b=F,g=U("parse-links");return n(),i("div",null,[s("div",ne,[(n(!0),i(x,null,w(m.value,e=>(n(),i("div",{key:e.ID,class:"room row contentblock"},[s("div",oe,[e.images.length?(n(),i("div",ie,[s("a",{"data-src":e.images[0].image,"data-fancybox":`gallery-${e.ID}`,"data-caption":e.images[0].imageAlt,title:e.images[0].imageAlt},[e.images.slice(1).length?(n(),i("div",le,[c(u,{class:"icon",icon:"fal fa-images",size:"1x"})])):l("",!0),e.images[0].image?(n(),i("picture",re,[e.images[0].imageWebp?(n(),i("source",{key:0,srcset:e.images[0].imageWebp,type:"image/webp"},null,8,_e)):l("",!0),s("source",{srcset:e.images[0].image},null,8,de),s("img",{src:e.images[0].image,alt:e.images[0].imageAlt,loading:"lazy"},null,8,me)])):l("",!0)],8,ce)])):l("",!0),e.images.slice(1).length?(n(),i("div",ue,[(n(!0),i(x,null,w(e.images.slice(1),(_,h)=>(n(),i("a",{key:h,"data-src":_.image,"data-fancybox":`gallery-${e.ID}`,"data-caption":_.imageAlt,title:_.imageAlt},[s("picture",null,[_.imagesWebp?(n(),i("source",{key:0,srcset:_.imagesWebp[1],type:"image/webp"},null,8,pe)):l("",!0),s("source",{srcset:_.images[1]},null,8,fe),s("img",{src:_.images[1]},null,8,be)])],8,ge))),128))])):l("",!0)]),s("div",he,[s("div",ye,[s("h3",null,f(e.header),1),s("div",ke,["pax"in e&&e.pax?(n(),i("div",ve,[c(u,{icon:"fas fa-users",size:"1x"}),s("span",null,f(e.pax),1)])):l("",!0),"surface"in e&&e.surface?(n(),i("div",xe,[c(u,{icon:"fas fa-ruler-combined",size:"1x"}),s("span",null,f(e.surface),1)])):l("",!0)]),Y(s("div",{innerHTML:e.content},null,8,we),[[g]]),c(b,{class:"button cta",roomid:e.bookingID},{default:D(()=>[J(f(t.$t("bookThisRoom")),1)]),_:1},8,["roomid"])])])]))),128))])])}}}),Ae=Object.assign($(Ie,[["__scopeId","data-v-09d8d99f"]]),{__name:"Rooms"}),De={class:"main-content rooms background-light"},$e={class:"main-content align-center faq"},We=A({__name:"rooms",async setup(r){let o,m;const{page:t,fetchPage:p}=se(),{locale:u}=X(),b=G();[o,m]=I(()=>p()),await o,m();const g=ee("showAll"),{data:e}=([o,m]=I(()=>K("rooms",{query:{language:u.value},key:`${u.value}/rooms`})),o=await o,m(),o),_=[...new Set((e.value||[]).map(({category:d})=>d))];function h(d){return d.replace(/<[^>]*>/g,"").trim()}const W={"@context":"http://schema.org","@id":`${b.public.siteUrl}#hotel`,containsPlace:(e.value||[]).map(d=>({"@type":"HotelRoom",name:d.header,description:h(d.content),image:d.images[0].image,occupancy:d.pax}))};return Z({script:[{type:"application/ld+json",innerHTML:JSON.stringify(W)}]}),(d,v)=>{const T=L,q=M,y=V,P=B,R=Ae,C=te,S=ae,E=N;return n(),k(E,{page:a(t)},{default:D(()=>[a(t).headingImage?(n(),k(T,{key:0,"heading-image":{image:a(t).headingImage,imageAlt:a(t).headingImageAlt,imageWebp:a(t).headingImageWebp,imagePortrait:a(t).headingImagePortrait,imagePortraitWebp:a(t).headingImagePortraitWebp}},null,8,["heading-image"])):l("",!0),c(q,{title:a(t).title||a(t).header,subt
1itle:a(t).subtitle,content:a(t).content},null,8,["title","subtitle","content"]),c(y),s("section",De,[c(P,{items:_,filter:a(g),onChangeFilter:v[0]||(v[0]=H=>g.value=H)},null,8,["filter"]),c(R,{items:a(e),filter:a(g)},null,8,["items","filter"])]),c(y),c(C,{items:a(t).contentblocks},null,8,["items"]),c(y),s("section",$e,[a(t).faq?(n(),k(S,{key:0,items:a(t).faq.faqitems,header:a(t).faq.header},null,8,["items","header"])):l("",!0)])]),_:1},8,["page"])}}}),Le=$(We,[["__scopeId","data-v-74934a33"]]);export{Le 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.