"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9297],{31304:function(e,t,a){var s=a(85893),n=a(14580),l=a(47475);a(67294);var i=a(96259),r=a(66907),o=a(65618),c=a(34426);t.Z=e=>{let{placement:t,salesContact:a}=e,{tCommon:d}=(0,i.ce)(),{hideState:m}=(0,i.FB)();return a?(0,s.jsxs)("div",{className:(0,c.AK)("hidden md:block fixed bottom-5 right-5 z-[50] bg-white shadow-md border border-secondaryGrey shadow-black/30 transition-transform",m===i.jJ.REACHED_FOOTER||m===i.jJ.HIDDEN?"translate-y-40":""),children:[(0,s.jsx)(n.Z,{title:d(l.Z2.phoneReservationLabel?"callCenterReservationsLabel":"phoneBlockLabel"),salesContact:a,placement:t}),(0,s.jsx)(r.Z,{id:"floatingPhoneNumberBlock",priority:o.mW.PHONE,children:(0,s.jsx)(n.Z,{title:d(l.Z2.phoneReservationLabel?"callCenterReservationsLabel":"phoneBlockLabel"),salesContact:a,textClassName:"flex md:flex-col flex-wrap gap-x-2 items-center",iconClassName:"h-7 w-7 text-[0.75rem] md:w-11 md:h-11",className:"px-3 py-3",placement:t})})]}):(0,s.jsx)(s.Fragment,{})}},76723:function(e,t,a){var s=a(67294),n=a(34426);t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100,[t,a]=(0,n.n6)(!0),l=(0,s.useRef)(null),[i,r]=(0,n.n6)(!1),o=()=>{if(l.current&&!t){let t=l.current.getBoundingClientRect(),s=t.top<window.innerHeight-e&&t.bottom>e;s&&(a(!0),window.removeEventListener("scroll",o),window.removeEventListener("resize",o))}},c=()=>{if(!i&&l.current){let t=l.current.getBoundingClientRect(),s=window.scrollY,n=t.top+s,i=n>s+window.innerHeight-e&&t.top>window.innerHeight-e;i&&a(!1),r(!0)}};return(0,n.Ng)(()=>{if(!i)return window.addEventListener("scroll",c),window.addEventListener("resize",c),()=>{window.removeEventListener("scroll",c),window.removeEventListener("resize",c)}},[i]),(0,n.Ng)(()=>{if(!t)return window.addEventListener("scroll",o),window.addEventListener("resize",o),()=>{window.removeEventListener("scroll",o),window.removeEventListener("resize",o)}},[t]),{elementRef:l,isVisible:t}}},55856:function(e,t,a){var s=a(85893);a(67294);var n=a(66907),l=a(65618),i=a(7934),r=a(60407),o=a(18728),c=a(83562),d=a(85927);t.Z=e=>{let{hotelData:t}=e,a=(0,o.jP)(),{getStoredSearchRequest:m}=(0,d.g)();return(0,s.jsx)(s.Fragment,{children:a&&a.searchRequest?(0,s.jsx)(n.Z,{id:"floatingBackToCheckoutBlock",priority:l.mW.AVAILABILITY,children:(0,s.jsx)(c.Z,{hotelData:a,searchRequest:a.searchRequest})}):(0,s.jsx)(n.Z,{id:"floatingPriceBlock",priority:l.mW.AVAILABILITY,children:(0,s.jsx)(i.I,{hotelData:t,initialSearchRequest:m(),children:(0,s.jsx)(r.Z,{cssProps:"px-3 py-2 flex-row justify-between gap-3",buttonClassName:"max-h-[34px]",hotelData:t,price:null==t?void 0:t.commonDescription.basePriceFormatted})})})})}},80854:function(e,t,a){a.d(t,{Z:function(){return h},l:function(){return x}});var s=a(85893);a(67294);var n=a(59965),l=a(54682),i=a(26528),r=a(45373),o=a(34426),c=a(14690),d=e=>{let{tHotels:t}=(0,l.EI)(),{tTravel:a}=(0,c.LF)(),{name:n,restaurant:r,pool:d}=e,m=r&&r.cuisines.length>0,x=r&&r.ambiances.length>0;return x||m||d?(0,s.jsxs)("div",{className:"max-w-[316px] px-4 pt-2 pb-4 rounded-md border border-secondaryGrey",children:[n&&(0,s.jsx)("p",{className:(0,o.AK)(i.Nm,"pt-2"),children:n}),(0,s.jsxs)("div",{className:n&&"pt-2",children:[r&&(0,s.jsxs)(s.Fragment,{children:[m&&(0,s.jsx)(l.al,{title:t("restaurantCuisines"),data:r.cuisines},"cuisines"),x&&(0,s.jsx)(l.al,{title:t("restaurantAmbiances"),data:r.ambiances},"ambiances")]}),d&&(0,s.jsxs)(s.Fragment,{children:[d.location&&(0,s.jsx)(l.al,{title:a("labelPoolLocation"),data:[d.location]},"location"),d.features.length>0&&(0,s.jsx)(l.al,{title:t("poolFeatures"),data:d.features},"features"),d.ageRestriction&&(0,s.jsx)(l.al,{title:t("ageRestrictionsPolicy"),data:[d.ageRestriction]},"ageRestriction"),d.availability&&(0,s.jsx)(l.al,{title:t("poolAvailability"),data:[d.availability]},"poolAvailability")]})]})]}):null},m=e=>{let{title:t,pools:a,restaurants:n}=e;return(0,s.jsxs)("div",{className:(0,o.AK)(i.A6,"mt-8"),children:[(0,s.jsx)("h2",{className:(0,o.AK)(i.Si,"my-2"),children:t}),(0,s.jsxs)("div",{className:"grid grid-cols-[repeat(auto-fill,minmax(200px,292px))] gap-4",children:[n&&n.map((e,t)=>(0,s.jsx)(d,{name:e.name,restaurant:e},e.name+t)),a&&a.map((e,t)=>(0,s.jsx)(d,{pool:e},(t+1)*9))]})]})};let x=new Map([["whatsNearby",r.Ei],["Airports",r.rn],["Attractions",r._F],["Restaurants",r.q]]);var h=e=>{let{hotelData:t,article:a,pools:r,restaurants:c}=e,{placeNearbyGroups:d}=a,{tHotels:h}=(0,l.EI)(),p=d.map(e=>({value:e.title,label:e.title})),u=d.length>0||c.length>0||r.length>0;return u?(0,s.jsxs)("div",{id:l.Ad.SurroundingsSection,children:[d.length>0&&(0,s.jsxs)("div",{className:"w-full rounded-lg mt-12 md:bg-lightGrey md:p-12",children:[(0,s.jsx)("h2",{className:"".concat(i.Je," pb-6"),children:h("hotelSurroundingsTitle",{hotel:t.title})}),(0,s.jsx)("div",{className:"block md:hidden",children:(0,s.jsx)(i.xq,{tabs:p,children:d.map(e=>(0,s.jsx)(n.OK.Panel,{className:(0,o.AK)("rounded-xl bg-white py-6","ring-white ring-opacity-60 ring-offset-2 ring-offset-blue-400 focus:outline-none focus:ring-2"),children:(0,s.jsx)(l.av,{title:e.title,titleIcon:x.get(e.title),list:e.placesNearby})},e.title))})}),(0,s.jsx)("div",{className:"hidden md:block",children:d.map((e,t)=>(0,s.jsx)(l.av,{title:e.title,titleIcon:x.get(e.title),list:e.placesNearby},e.title+t))})]}),c.length>0&&(0,s.jsx)(m,{title:h("restaurants"),restaurants:c}),r.length>0&&(0,s.jsx)(m,{title:h("pools"),pools:r})]}):null}},50663:function(e,t,a){a.r(t),a.d(t,{default:function(){return E}});var s=a(85893),n=a(67294),l=a(36615),i=a(42388),r=a(26528),o=a(67308),c=a(80854),d=a(70457),m=a(63183),x=a(67554),h=a(34426),p=a(58723),u=a(99603),g=e=>{let{coordinates:t,onRegionChange:a,name:n,bgColor:l,distance:i,icon:r}=e,[o,c]=(0,h.n6)(!1);return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(x.q6,{latitude:t.lat,longitude:t.lng,selected:o,onSelect:()=>{c(!0),a(t)},onDeselect:()=>{c(!1)},children:(0,s.jsxs)("div",{className:"relative",children:[o&&(0,s.jsxs)("div",{className:"px-3 py-2 flex gap-4 justify-between items-center bg-white min-w-[200px] w-max absolute left-[50%] translate-x-[-50%] bottom-[calc(100%_+_8px)] z-[50] shadow-md shadow-[rgba(0,0,0,0.3)]",children:[(0,s.jsx)("p",{className:"text-primaryFont font-normal text-[1rem]",children:n}),(0,s.jsx)("p",{className:"text-primaryGreyFont font-normal text-[1rem]",children:i})]}),(0,s.jsx)("div",{style:{backgroundColor:l},className:"rounded-full w-10 h-10 flex justify-center items-center cursor-pointer shadow-lg shadow-[rgba(0,0,0,0.3)]",children:(0,s.jsx)(u.G,{icon:r,className:"text-white w-5 h-5"})})]})})})},j=a(45373);let f=new Map([["Restaurants","#ff7e16"],["Airports","#1672eb"],["Attractions","#b964ff"],["whatsNearby","#1ba674"]]),v=new Map([["whatsNearby",j.Ei],["Airports",j.GP],["Attractions",j._F],["Restaurants",j.q]]);var b=e=>{let{map:t,placeNearbyGroups:a,coordinates:l,imageClassName:i}=e,[r,o]=(0,h.n6)(!1),c=(0,n.useRef)(null),b=e=>{c.current&&c.current.setCenterAnimated(new mapkit.Coordinate(e.lat,e.lng),!0)};return l?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"cursor-pointer",onClick:()=>{o(!0)},children:(0,s.jsx)(p.Z,{image:t.mapImage,size:{default:100},className:(0,h.AK)("object-cover transition-all",i)})}),(0,s.jsx)(d.P,{open:r,onClose:()=>{o(!1)},className:"p-0 pt-[69px]",children:(0,s.jsxs)(x.D5,{ref:c,initialRegion:{latitudeDelta:.045,longitudeDelta:.045,centerLatitude:l.lat,centerLongitude:l.lng},token:m.P.appleMapsKey,children:[(0,s.jsx)(x.q6,{latitude:l.lat,longitude:l.lng,children:(0,s.jsx)("div",{className:"bg-primary rounded-full w-12 h-12 flex justify-center items-center shadow-lg shadow-[rgba(0,0,0,0.3)]",children:(0,s.jsx)(u.G,{icon:j.Ht,className:"text-white w-6 h-6"})})}),a.map(e=>{let t=v.get(e.title)||j.JB,a=f.get(e.title)||"#1672eb";return e.placesNearby.map((n,l)=>n.coordinates?(0,s.jsx)(g,{coordinates:n.coordinates,onRegionChange:b,name:n.name,bgColor:a,distance:n.distance,icon:t},"".concat(e.title,"-").concat(n.name,"-").concat(l)):null)})]})})]}):null},w=a(71229),N=a(76145),y=a(76723),A=a(31304),C=a(94194),L=a(7934),k=a(16791),R=a(55856),Z=a(74986),E=e=>{var t,a;let{page:n}=e,{tHotels:d}=(0,N.EI)(),{isVisible:m,elementRef:x}=(0,y.Z)(),{placeNearbyGroups:p}=n.article;return(0,k.A)(n.clicktripz),(0,s.jsx)(C.pG,{salesContact:n.salesContact,children:(0,s.jsxs)(L.I,{children:[(0,s.jsx)(i.Z,{page:n}),(0,s.jsxs)("div",{className:r.n0,children:[(0,s.jsx)(A.Z,{salesContact:n.salesContact,placement:"location_floating"}),(0,s.jsx)(R.Z,{hotelData:n.hotelListing}),(0,s.jsxs)("div",{className:"",children:[(0,s.jsxs)("div",{className:"py-5 sm:py-10 animate-fade-up animate-duration-[1000ms]",children:[(0,s.jsx)("h2",{className:(0,h.AK)(r.y7,"mb-4 sm:mb-8 text-center"),children:d("locationSectionLabel")}),(0,s.jsx)(b,{map:n.map,placeNearbyGroups:p,coordinates:n.hotelCoordinates,imageClassName:"max-h-[300px] sm:max-h-[500px] h-full w-full"})]}),(0,s.jsxs)("div",{ref:x,className:(0,h.AK)("py-5 sm:py-10",m?"animate-fade-up animate-duration-[1000ms]opacity-100":"opacity-0"),children:[(0,s.jsx)("h2",{className:(0,h.AK)(r.y7,(0,Z.yY)(n.title),"mb-4 sm:mb-8 text-center"),children:n.title}),p.map((e,t)=>(0,s.jsx)(o.av,{title:e.title,titleIcon:c.l.get(e.title),list:e.placesNearby},e.title+t))]})]})]}),(0,s.jsx)(w.Z,{placement:"bottom_location",coverImage:null===(a=n.header)||void 0===a?void 0:null===(t=a.hotelHero)||void 0===t?void 0:t.coverImage,reserveLink:"/#reserve"}),(0,s.jsx)(l.Z,{page:n})]})})}},71229:function(e,t,a){var s=a(85893);a(67294);var n=a(77558),l=a(34426),i=a(45373),r=a(26528),o=a(58723),c=a(76145),d=a(14580),m=a(57491),x=a(11163),h=a(55838),p=a(76723),u=a(94194),g=a(7934);t.Z=e=>{let{placement:t,coverImage:a,reserveLink:j}=e,f=(0,x.useRouter)(),{tHotels:v}=(0,c.EI)(),{tCommon:b}=(0,r.ce)(),{salesContact:w}=(0,u.Fc)(),N=(0,g.Y)(),[y,A]=(0,l.n6)(!1),{isVisible:C,elementRef:L}=(0,p.Z)();return(0,s.jsxs)("div",{ref:L,className:"relative bg-primary/10 mt-10",children:[a&&(0,s.jsx)(h.Z,{images:[a],open:y,handleClose:()=>{A(!1)},selectedImageIndex:0}),(0,s.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-[3fr,2fr] lg:grid-cols-2",children:[(0,s.jsxs)("div",{className:(0,l.AK)("p-6 lg:p-12 grid items-center justify-center content-center gap-3",C?"animate-fade-right animate-duration-[1000ms] opacity-100":"opacity-0"),children:[(0,s.jsx)("h2",{className:(0,l.AK)(r.y7,"text-center sm:text-left"),children:v("makeReservation")}),(0,s.jsxs)("div",{className:"flex items-center flex-col md:flex-row gap-0 md:gap-5 mt-2 sm:mt-4 sm:flex-wrap md:flex-nowrap",children:[w&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.Z,{onClick:()=>{(0,d.V)(t)},href:"tel:".concat(w.plainPhoneNumber),className:"",children:(0,s.jsxs)("div",{className:(0,l.AK)("flex gap-4 items-center"),children:[(0,s.jsx)(i.GN,{icon:i.j1,className:"text-primary text-[2.5rem]"}),(0,s.jsxs)("div",{className:"",children:[(0,s.jsx)("p",{className:"text-primary font-normal text-[1.2rem]",children:b("callCenterReservationsLabel")}),(0,s.jsx)("p",{className:"text-primaryFont font-normal text-[1.5rem] sm:text-[1.75rem] md:text-[2rem]",children:w.phoneNumber})]})]})}),(0,s.jsx)("span",{className:"text-primaryFont text-[1rem] mb-2 md:mb-0 sm:text-[1.25rem]",children:v("reservationByPhoneOrBookOnline")})]}),(0,s.jsx)(r.wm,{className:"flex",onClick:()=>{N?N.open():f.push(j).catch(m.O7)},children:v("bookOnlineLabel")})]})]}),a&&(0,s.jsx)("div",{onClick:()=>{A(!0)},className:(0,l.AK)("cursor-pointer",C?"animate-fade-left animate-duration-[1000ms] opacity-100":"opacity-0"),children:(0,s.jsx)(o.Z,{image:a,size:{default:50},className:(0,l.AK)("object-cover max-h-[300px] sm:max-h-[500px] h-full w-full")})})]})]})}}}]);