1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.__toCdnUrl("assets/ImageLazyLoader-BMjlwUZQ.js"),window.__toCdnUrl("assets/vendor-lxhXACKn.js"),window.__toCdnUrl("assets/formkit.theme-uoC4MDOU.js"),window.__toCdnUrl("assets/globalBasic-DCViCoV8.js")])))=>i.map(i=>d[i]); 2import{b as V,a as j,u as G,Q as K,v as Q,c as U,_ as W}from"./formkit.theme-uoC4MDOU.js";import{d as J,u as Y,r as C,a as $,w as q,o as l,c as i,b as a,e,F as D,D as N,t as o,v as T,g as X,x as Z,ax as ee,z as ae,av as te,L as se}from"./vendor-lxhXACKn.js";import{h as le}from"./computedProperties-DXi-DmhG.js";import"./globalBasic-DCViCoV8.js";import"./light-nUpfvi-t.js";const oe={class:"bg-surface-secondary header hidden lg:block",role:"banner","aria-labelledby":"hotel-title"},re={class:"w-full flex-col lg:flex-row flex absolute top-0"},ie={class:"pt-80 max-h-[200px] z-10 flex flex-wrap w-full lg:w-1/2 header justify-center"},ce={id:"hotel-title",class:"font-bold text-4xl text-text-primary mb-10 w-full text-center"},ne={class:"border bg-surface-primary shadow-box-shadow2 rounded-md p-5"},de={class:"p-3"},ue={class:"flex-1 relative z-9 header",style:{background:"linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75))"}},ge={key:0,class:"relative h-screen"},pe={class:"package-info flex items-end group lg:p-10 2xl:p-20 2xl:pb-10 gap-4 absolute bottom-0 left-0 w-full bg-gradient-to-t from-black to-transparent h-[80%]",role:"region","aria-labelledby":"package-title","aria-describedby":"package-description"},me={class:"flex items-center gap-4 text-white"},he={class:"flex flex-col gap-4"},fe={id:"package-title",class:"bottom-20 left-10 text-xl"},be=["innerHTML"],_e={class:"flex items-center justify-between opacity-0 max-h-0 group-hover:max-h-[250px] group-hover:opacity-100 custom-transition"},ve={class:"flex items-baseline"},xe={class:"mr-2 text-[18px]"},ke={class:"flex items-center"},ye={class:"text-[12px] m-0"},we={key:1,class:"h-screen"},Se=J({__name:"SpecialsHeader",setup(Pe){const{t:n}=Y(),F=se(()=>U(()=>import("./ImageLazyLoader-BMjlwUZQ.js"),__vite__mapDeps([0,1,2,3]),import.meta.url)),t=V(),M=j(),r=G();C(null);const d=C(null),O=$(),R=()=>{const c=localStorage.getItem("selectedHotel");c&&(d.value=JSON.parse(c),M.setHotel(d.value))};return q(()=>R()),(c,s)=>{var u,g,p,m,h,f,b,_,v,x,k,y,w,S,P,L,H,I,z,B,A;return l(),i("div",oe,[a("div",re,[a("div",ie,[a("h1",ce,[(u=e(t).settings)!=null&&u.welcomeMessage&&((g=e(t).settings)==null?void 0:g.welcomeMessage)!=""?(l(),i(D,{key:0},[N(o((m=(p=e(t))==null?void 0:p.settings)==null?void 0:m.welcomeMessage[e(r).language]),1)],64)):(l(),i(D,{key:1},[N(o((h=e(t).hotelContent)==null?void 0:h.name),1)],64))]),a("div",ne,[a("div",de,[T(K,{class:"!flex !flex-col !w-96 !m-auto !justify-center !gap-[1px] !lg:flex-row"})])])]),a("div",ue,[e(t).availablePackages.length?(l(),i("div",ge,[(_=(b=(f=e(t).availablePackages[0])==null?void 0:f.pictures[0])==null?void 0:b.size1920)!=null&&_.url?(l(),X(e(F),{key:0,alt:(y=(k=(x=(v=e(t).availablePackages[0])==null?void 0:v.pictures[0])==null?void 0:x.sizeOriginal)==null?void 0:k.alt)==null?void 0:y[e(r).language],"as-background":!0,class:"w-full h-full m-0 p-0",load:!0,"data-src":(P=(S=(w=e(t).availablePackages[0])==null?void 0:w.pictures[0])==null?void 0:S.size1920)==null?void 0:P.url},null,8,["alt","data-src"])):Z("",!0),s[1]||(s[1]=a("div",{class:"absolute top-0 left-0 w-full h-full bg-black opacity-40","aria-hidden":"true"},null,-1)),a("div",pe,[a("div",me,[a("div",he,[a("h2",fe,o((L=e(t).availablePackages[0])==null?void 0:L.name[e(r).language]),1),a("div",{id:"package-description","aria-live":"polite",innerHTML:(H=e(t).availablePackages[0])==null?void 0:H.description[e(r).language],class:"custom-html header-half overflow-y-auto opacity-0 max-h-0 group-hover:max-h-[250px] group-hover:opacity-100 custom-transition"},null,8,be),a("div",_e,[a("div",ve,[a("p",xe,o(e(Q)((z=(I=e(t).availablePackages[0])==null?void 0:I.dayPrices[0])==null?void 0:z.price)),1),a("div",ke,[a("span",ye,o(e(n)("WBEPLUS.PRICE_NIGHT_AND_STAY")),1)])]),a("div",null,[a("button",{class:"btn-primary !text-[20px] w-48 h-12",style:{"font-weight":"var(--font-bold-weight, 700)"}
2,"aria-label":"Book {{ liveStore.availablePackages[0]?.name[globalStore.language] }} package",onClick:s[0]||(s[0]=Le=>{var E;return e(O).push({name:"Package",params:{hotelID:e(r).hotelId,packageID:(E=e(t).availablePackages[0])==null?void 0:E.id}})})},o(e(n)("WBEPLUS.BOOK_PACKAGE")),1)])])]),T(e(ae),{class:"group-hover:hidden",icon:e(ee),"aria-hidden":"true"},null,8,["icon"])])])])):(l(),i("div",we,[a("div",{style:te({"background-image":"url("+((A=(B=e(le)[0])==null?void 0:B.size1920)==null?void 0:A.url)+")","background-repeat":"no-repeat","background-size":"cover","background-position":"center"}),class:"w-full h-screen relative",role:"img","aria-label":"Hotel exterior view"},s[2]||(s[2]=[a("div",{class:"absolute top-0 left-0 w-full h-full bg-black opacity-50","aria-hidden":"true"},null,-1)]),4)]))])])])}}}),Ee=W(Se,[["__scopeId","data-v-7f811f9d"]]);export{Ee 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.