<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},s=(new e.Error).stack;s&amp;&amp;(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="cc2c30e8-ed3d-41a0-97c8-09c48774cb94",e._sentryDebugIdIdentifier="sentry-dbid-cc2c30e8-ed3d-41a0-97c8-09c48774cb94")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1407,6360],{56198:function(e,s,t){var a,i,l,n=t(67294);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var s=1;s&lt;arguments.length;s++){var t=arguments[s];for(var a in t)({}).hasOwnProperty.call(t,a)&amp;&amp;(e[a]=t[a])}return e}).apply(null,arguments)}s.Z=function(e){return n.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 29 28"},e),a||(a=n.createElement("path",{fill:"url(#oclock_svg__a)",d:"M3.25 14a11.25 11.25 0 1 1 22.5 0 11.25 11.25 0 0 1-22.5 0"})),i||(i=n.createElement("path",{fill:"#fff",d:"M13.6 14.36 9.25 8.58h2.62l3.8 5.1v7.1H13.6z"})),l||(l=n.createElement("defs",null,n.createElement("linearGradient",{id:"oclock_svg__a",x1:1.5,x2:29.5,y1:17.5,y2:9,gradientUnits:"userSpaceOnUse"},n.createElement("stop",{stopColor:"#F55F30"}),n.createElement("stop",{offset:.51,stopColor:"#FF9A9A"}),n.createElement("stop",{offset:1,stopColor:"#FFC93D"})))))}},85963:function(e,s,t){var a,i,l,n,o=t(67294);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var s=1;s&lt;arguments.length;s++){var t=arguments[s];for(var a in t)({}).hasOwnProperty.call(t,a)&amp;&amp;(e[a]=t[a])}return e}).apply(null,arguments)}s.Z=function(e){return o.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 62 62"},e),a||(a=o.createElement("path",{fill:"url(#graph_svg__a)",d:"M49.298 13.175H12.701c-4.162 0-7.535 3.331-7.535 7.44v25.936c0 4.11 3.373 7.44 7.535 7.44h36.597c4.161 0 7.535-3.33 7.535-7.44V20.616c0-4.11-3.374-7.441-7.535-7.441"})),i||(i=o.createElement("path",{fill:"#292935",d:"M45.725 7.75a1.55 1.55 0 0 1 3.1 0v46.242h-3.1z"})),l||(l=o.createElement("path",{fill:"#fff",d:"M24.282 29.708a1.55 1.55 0 0 1 3.1 0v24.284h-3.1zM34.874 20.925a1.55 1.55 0 0 1 3.1 0v33.067h-3.1zM13.433 37.717a1.55 1.55 0 0 1 3.1 0v16.275h-3.1z"})),n||(n=o.createElement("defs",null,o.createElement("linearGradient",{id:"graph_svg__a",x1:18.03,x2:45.682,y1:46.151,y2:5.544,gradientUnits:"userSpaceOnUse"},o.createElement("stop",{stopColor:"#FF9A9A"}),o.createElement("stop",{offset:1,stopColor:"#FFC93D"})))))}},6360:function(e,s,t){t.r(s),t.d(s,{default:function(){return r}});var a=t(85893),i=t(67294),l=t(58202),n=t(83161),o=t(86010),c=t(16937);function r(e){let{children:s,header:t,reverseHeader:r,noPadding:d,noHeader:m,bodyPhoto:h,footer:x,onRequestClose:u,isOpen:p,isFilters:f,id:j,fullscreen:g,className:v}=e;return(0,a.jsx)(l.u,{appear:!0,show:p,as:i.Fragment,children:(0,a.jsxs)(n.Vq,{as:"div",id:j,onClose:u,className:"relative z-50",children:[(0,a.jsx)(l.x,{as:i.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,a.jsx)("div",{className:(0,o.Z)("fixed top-0 left-0 bottom-0 right-0 flex z-20",f?"bg-black/50":"bg-black/25",{"pt-0":!!g,"pt-16":!g})})}),(0,a.jsx)("div",{className:"fixed inset-0 overflow-y-auto z-50",children:(0,a.jsx)("div",{className:"flex min-h-full md:items-center justify-center md:py-10 text-center",children:(0,a.jsx)(l.x,{as:i.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95",children:(0,a.jsxs)(n.EM,{className:(0,o.Z)("lg:max-w-3xl lg:m-auto lg:max-h-full bg-white outline-none transition-opacity duration-300 w-full flex flex-col z-40 lg:w-auto lg:relative fixed inset-0 lg:inset-auto",!f&amp;&amp;"md:rounded-20",v),children:[(0,a.jsx)("div",{id:"js-modal-header-container",className:(0,o.Z)("relative text-gray-700 text-xl text-center lg:px-20",d?"p-0":"py-3",m?"hidden":"block",{"border-b-2 border-gray-200":t}),children:!!t&amp;&amp;(r?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{id:"js-modal-header-title",className:"text-lg",children:t}),(0,a.jsx)("button",{id:"js-modal-header-close-button",onClick:u,className:"absolute",style:{right:"40px",top:"18px"},children:(0,a.jsx)(c.Z,{id:"xmark",className:"absolute",height:"14",width:"14"})})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("button",{id:"js-modal-header-close-button",onClick:u,className:"absolute",style:{left:"18px",top:"18px"},children:(0,a.jsx)(c.Z,{id:"xmark",className:"absolute",height:"16",width:"16"})}),(0,a.jsx)("div",{id:"js-modal-header-title",children:t})]}))}),(0,a.jsxs)("div",{className:"overflow-y-auto h-full shadow-sm",children:[h&amp;&amp;(0,a.jsx)("div",{children:h}),(0,a.jsx)("div",{className:(0,o.Z)("text-left",d?"p-0":"px-6 py-3"),children:s})]}),x&amp;&amp;(0,a.jsx)("div",{id:"js-modal-footer",className:"relative text-gray-700 text-xl text-center py-2",style:f?{boxShadow:"0px 3px 8px 5px rgba(0, 0, 0, 0.1)"}:{},children:x})]})})})})]})})}},89312:function(e,s,t){t.d(s,{Z:function(){return j}});var a=t(85893),i=t(67294),l=t(16937),n=t(86896),o=t(44012),c=t(82730);t(69627);var r=t(86010),d=t(49377),m=t(82930),h=t(30037),x=t(6360),u=t(67126),p=t(7187),f=e=&gt;{let{close:s,open:t,hotelId:i,addonCategory:n}=e,{data:c,isLoading:d}=(0,m.t)(i,n.id);return(0,a.jsx)(x.default,{id:"js-hotel-addons",isOpen:t,onRequestClose:s,fullscreen:!0,noPadding:!0,children:(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("button",{onClick:s,className:"absolute z-10 bg-white rounded-full h-[52px] w-[52px] flex active:bg-shadow-black-3 active:border-shadow-black hover:bg-shadow-black-3",style:{left:"20px",top:"18px"},children:(0,a.jsx)(l.Z,{id:"xmark",className:"fill-current text-shadow-black aboslute h-5 w-5 m-auto"})}),(0,a.jsx)("div",{className:"relative w-full lg:w-[768px] aspect-[768/413]",children:(0,a.jsx)(p.Z,{className:"object-cover md:rounded-t-20 rounded-t-none",src:"/".concat(null==n?void 0:n.image),alt:null==n?void 0:n.name,fill:!0,sizes:"(min-width:1024px) 768px, 100vw"})}),(0,a.jsxs)("div",{className:"p-5 md:p-10",children:[(0,a.jsx)("div",{className:"text-shadow-black title4 mb-6",children:(0,a.jsx)(o.Z,{id:null==n?void 0:n.name})}),d?(0,a.jsx)("div",{className:"flex justify-center",children:(0,a.jsx)(h.Z,{className:"animate-spin m-auto"})}):(0,a.jsx)("ul",{children:c&amp;&amp;c.map(e=&gt;(0,a.jsx)("li",{className:(0,r.Z)("list-disc-none",!e.description&amp;&amp;"pb-5"),children:(0,a.jsxs)("div",{className:"flex justify-between",children:[(0,a.jsxs)("div",{className:"body3 mt-1",children:[(0,a.jsx)("p",{className:"text-shadow-black",children:e.name}),e.description&amp;&amp;(0,a.jsx)("div",{className:"text-shadow-black-80 whitespace-pre-line pt-1 pr-2",dangerouslySetInnerHTML:{__html:e.description}})]}),(0,a.jsx)("p",{className:"body3 my-auto text-shadow-black flex",children:(0,a.jsxs)("span",{className:"font-bold",children:[(0,a.jsx)(u.W,{price:e.minPrice}),e.minPrice.amount!==e.maxPrice.amount&amp;&amp;(0,a.jsxs)(a.Fragment,{children:[" - ",(0,a.jsx)(u.W,{price:e.maxPrice})]})]})})]})},"addon-".concat(e.id)))})]})]})})};function j(e){let s=(0,n.Z)(),[t,m]=(0,i.useState)(0),[h,x]=(0,i.useState)(!1),[j,g]=(0,c.E)({mode:"free-snap",slides:{number:e.hotelAddonsCategory.length+1,origin:"auto",perView:3,spacing:24},slideChanged(e){m(e.track.details.rel)},created(){x(!0)}});return(0,a.jsxs)("section",{id:"js-hotel-addons-categories-container",className:"mb-5 md:mb-14",children:[(0,a.jsxs)("div",{className:"md:max-w-screen-xl md:mx-auto",children:[(0,a.jsx)("h2",{className:"title3 uppercase text-shadow-black",children:(0,a.jsx)(o.Z,{id:"hotel.add.ons.a.la.carte"})}),(0,a.jsx)("div",{className:"my-4 md:mt-8 md:mb-6 text-shadow-black-80 body3",children:(0,a.jsx)(o.Z,{id:"hotel.add.ons.a.la.carte.subtitle",values:{hotelName:e.hotelName}})}),(0,a.jsx)("div",{className:"flex lg:hidden max-w-screen-xl m-auto grid grid-cols-2 gap-4",children:e.hotelAddonsCategory.map((t,i)=&gt;(0,a.jsxs)("div",{className:"flex flex-col bg-white cursor-pointer rounded-10 h-[200px] col-span-1 shadow-100",onClick:()=&gt;e.openAddon(i),children:[(0,a.jsx)("div",{className:"basis-1/2 h-[100px]",children:(0,a.jsx)(p.Z,{className:"object-cover w-full rounded-t-lg h-[100px]",src:"/".concat(null==t?void 0:t.image),alt:s.formatMessage({id:t.name}),height:100,width:481})}),(0,a.jsxs)("div",{className:"mx-0 my-3 flex flex-col justify-between basis-1/2 px-3",children:[(0,a.jsx)("div",{className:"title7 text-shadow-black",children:(0,a.jsx)(o.Z,{id:t.name})}),(0,a.jsx)(d.Z,{size:"small",iconRight:"chevron-right",className:"whitespace-nowrap w-fit flex",children:(0,a.jsx)(o.Z,{id:"hotel.offerList.newAvailabilities.price",values:{price:(0,u.l)(s,t.minPrice,!0)}})})]})]},"addon-".concat(t.name)))}),(0,a.jsxs)("div",{className:"hidden lg:flex items-center space-x-5",children:[e.hotelAddonsCategory.length&gt;3&amp;&amp;(0,a.jsx)("button",{onClick:e=&gt;{var s;e.stopPropagation()||null===(s=g.current)||void 0===s||s.prev()},disabled:h&amp;&amp;0===t,className:"shrink-0 border border-shadow-black-80 rounded-full h-[38px] w-[38px] flex justify-center items-center disabled:border-shadow-black-60 'active:bg-shadow-black-3 active:border-shadow-black hover:bg-shadow-black-3'",children:(0,a.jsx)(l.Z,{id:"chevron-left",className:(0,r.Z)("fill-curent text-shadow-black h-5",h&amp;&amp;0===t?"text-shadow-black-60":"text-shadow-black")})}),(0,a.jsx)("div",{ref:j,className:"relative mx-0flex flex-row overflow-x-auto scrollbar-hide pt-3 pb-3 keen-slider",children:e.hotelAddonsCategory.map((t,i)=&gt;(0,a.jsxs)("div",{className:"rounded-lg h-[200px] cursor-pointer keen-slider__slide shadow-100 duration-100 hover:shadow-200",onClick:()=&gt;e.openAddon(i),children:[(0,a.jsx)("div",{className:"h-[100px]",children:(0,a.jsx)(p.Z,{className:"object-cover w-full rounded-t-lg h-[100px]",src:"/".concat(null==t?void 0:t.image),alt:s.formatMessage({id:t.name}),width:234,height:100})}),(0,a.jsxs)("div",{className:"m-3 flex flex-col justify-between h-[70px]",children:[(0,a.jsx)("div",{className:"title6",children:(0,a.jsx)(o.Z,{id:t.name})}),(0,a.jsx)(d.Z,{size:"small",iconRight:"chevron-right",className:"whitespace-nowrap w-fit flex",children:(0,a.jsx)(o.Z,{id:"hotel.offerList.newAvailabilities.price",values:{price:(0,u.l)(s,t.minPrice,!0)}})})]})]},"opinion-".concat(i)))}),e.hotelAddonsCategory.length&gt;3&amp;&amp;(0,a.jsx)("button",{onClick:e=&gt;{var s;e.stopPropagation()||null===(s=g.current)||void 0===s||s.next()},disabled:h&amp;&amp;t===Math.trunc(g.current.track.details.slides.length/3)+1,className:"shrink-0 border border-shadow-black-80 rounded-full h-[38px] w-[38px] flex justify-center items-center disabled:border-shadow-black-60 'active:bg-shadow-black-3 active:border-shadow-black hover:bg-shadow-black-3'",children:(0,a.jsx)(l.Z,{id:"chevron-right",className:(0,r.Z)("fill-curent text-shadow-black h-5",h&amp;&amp;0===t?"text-shadow-black-60":"text-shadow-black")})})]})]}),void 0!==e.addonIndex&amp;&amp;e.hotelAddonsCategory&amp;&amp;(0,a.jsx)(f,{open:void 0!==e.addonIndex,close:e.closeAddon,hotelId:e.hotelId,addonCategory:e.hotelAddonsCategory[e.addonIndex]})]})}},71071:function(e,s,t){t.d(s,{Z:function(){return o}});var a=t(85893),i=t(41664),l=t.n(i),n=t(86010);function o(e){let{hotelName:s,breadcrumb:t,isShowBreadcrumb:i,isSmall:o=!1}=e;return(0,a.jsxs)("nav",{className:(0,n.Z)("flex -mx-1 mb-0",i&amp;&amp;"flex-wrap",o?"caption-sm":"caption-md"),children:[t.filter((e,s)=&gt;0!==s).map((e,s)=&gt;(0,a.jsxs)("span",{className:"m-1 text-shadow-black-60",children:[(0,a.jsx)(l(),{href:e.href,shallow:!1,locale:!1,children:e.name}),"\xa0","&gt;"]},"breadcrumb-".concat(s))),(0,a.jsx)("span",{className:"m-1 text-shadow-black-80 font-semibold",children:s})]})}t(67294)},39170:function(e,s,t){t.d(s,{Z:function(){return c}});var a=t(85893);t(67294);var i=t(44012),l=t(21659),n=t(85325),o=t(75123);function c(e){let{description:s,...t}=e;return(0,n.G)([o.md],[!1],!0),(0,a.jsxs)("div",{...t,className:"flex flex-col space-y-4 md:space-y-8 mb-5 md:mb-14",children:[(0,a.jsx)("span",{className:"title3 uppercase",children:(0,a.jsx)(i.Z,{id:"hotel.description.hotel.title"})}),(0,a.jsx)("div",{className:"body3 text-shadow-black-80",children:(0,a.jsx)(l.Z,{height:"110px",children:(0,a.jsx)("div",{id:"hotel-description",dangerouslySetInnerHTML:{__html:s}})})})]})}},64444:function(e,s,t){t.d(s,{Z:function(){return p}});var a=t(85893),i=t(67294),l=t(5152),n=t.n(l),o=t(84187),c=t(44012),r=t(30951),d=t(67126),m=t(85325),h=t(75123);let x=n()(()=&gt;Promise.resolve().then(t.bind(t,6795)),{loadableGenerated:{webpack:()=&gt;[6795]},ssr:!1}),u=n()(()=&gt;t.e(2616).then(t.bind(t,52616)),{loadableGenerated:{webpack:()=&gt;[52616]},ssr:!1});function p(e){let{equipments:s,...t}=e,[l,n]=(0,i.useState)(!1),p=(0,m.G)([h.md],[!1],!0);return(0,a.jsxs)("div",{...t,className:"flex flex-col space-y-4 md:space-y-8 mb-5 md:mb-14",children:[(0,a.jsx)("h2",{className:"title3 uppercase",children:(0,a.jsx)(c.Z,{id:"hotel.equipment.title"})}),(0,a.jsx)("div",{className:"grid grid-cols-2 gap-4 md:gap-6",children:s&amp;&amp;s.slice(0,10).map(e=&gt;(0,a.jsxs)("div",{className:"flex",children:[(0,a.jsx)("div",{className:"shrink-0 pt-1",children:(0,a.jsx)("img",{src:"".concat(o.De.MEDIA_HOST,"/equipments/").concat(e.icon),alt:e.displayNames,height:17,width:17})}),(0,a.jsxs)("div",{className:"ml-2 body3 text-shadow-black-80",children:[e.displayNames,e.isCharged&amp;&amp;e.price&amp;&amp;(0,a.jsxs)("span",{className:"text-orange-juice",children:["(",(0,a.jsx)(d.W,{price:e.price}),")"]}),e.isCharged&amp;&amp;!e.price&amp;&amp;(0,a.jsxs)("div",{className:"text-orange-juice",children:["(",(0,a.jsx)(c.Z,{id:"common.additional_charge"}),")"]})]})]},"equipment-".concat(e.id)))}),(0,a.jsx)(r.Z,{className:"block self-center md:self-start",onClick:()=&gt;{n(!0)},children:(0,a.jsx)(c.Z,{id:"common.moreInformation"})}),l&amp;&amp;(0,a.jsx)(x,{id:"js-hotel-amenities",show:l,onClose:()=&gt;{n(!1)},fullscreenMobile:p,children:(0,a.jsx)(u,{equipments:s})})]})}},77101:function(e,s,t){t.d(s,{Z:function(){return v}});var a=t(85893),i=t(67294),l=t(44012),n=t(86896),o=t(21190),c=t(50979),r=t(16937),d=e=&gt;{let{openInfo:s,isExpanded:t,idFaq:i}=e,d=(0,n.Z)();return(0,a.jsxs)("div",{children:[(0,a.jsxs)("button",{className:"py-6 md:py-8 flex flex-row justify-between w-full",onClick:()=&gt;s("how-does-it-works"),children:[(0,a.jsx)("span",{className:"title6",children:(0,a.jsx)(l.Z,{id:"hotel.frequentlyAskedQuestions.howDoesItWork.title"})}),(0,a.jsx)(r.Z,{id:t&amp;&amp;"how-does-it-works"===i?"chevron-up":"chevron-down",className:"h-4 w-4 fill-current text-shadow-black"})]}),t&amp;&amp;"how-does-it-works"===i&amp;&amp;(0,a.jsx)(o.M,{initial:!0,children:(0,a.jsx)(c.E.section,{initial:"collapsed",animate:"open",exit:"collapsed",variants:{open:{height:"auto"},collapsed:{height:0}},transition:{duration:.4,ease:[.04,.62,.23,.98]},children:(0,a.jsx)(c.E.div,{variants:{collapsed:{opacity:.1},open:{opacity:1}},transition:{duration:.8},className:"list-none body3 text-shadow-black-80 pb-4 z-0",dangerouslySetInnerHTML:{__html:d.formatMessage({id:"hotel.frequentlyAskedQuestions.howDoesItWork.details"})}})},"content")}),(0,a.jsx)("hr",{className:"border-none h-[1px] bg-shadow-black-10"})]})},m=t(67126),h=e=&gt;{let s,{specificConditions:t,openInfo:i,isExpanded:d,idFaq:h}=e,x=(0,n.Z)();return(0,a.jsxs)("div",{children:[(0,a.jsxs)("button",{className:"py-6 md:py-8 flex flex-row justify-between w-full",onClick:()=&gt;i("check-in-information"),children:[(0,a.jsx)("span",{className:"title6",children:(0,a.jsx)(l.Z,{id:"hotel.frequentlyAskedQuestions.checkinInformation"})}),(0,a.jsx)(r.Z,{id:d&amp;&amp;"check-in-information"===h?"chevron-up":"chevron-down",className:"h-4 w-4 fill-current text-shadow-black"})]}),d&amp;&amp;"check-in-information"===h&amp;&amp;(0,a.jsx)(o.M,{initial:!0,children:(0,a.jsx)(c.E.section,{initial:"collapsed",animate:"open",exit:"collapsed",variants:{open:{height:"auto"},collapsed:{height:0}},transition:{duration:.4,ease:[.04,.62,.23,.98]},children:(0,a.jsxs)(c.E.ul,{variants:{collapsed:{opacity:.1},open:{opacity:1}},transition:{duration:.8},className:"list-disc body3 text-shadow-black-80 pb-4 px-6",children:[t.adultOnlyHotel&amp;&amp;(0,a.jsx)("li",{children:x.formatMessage({id:"hotel.specificCondition.adultonlyhotel"})}),t.ageRestriction&amp;&amp;(0,a.jsx)("li",{children:x.formatMessage({id:"hotel.specificCondition.minimumage"},{age:t.ageRestriction})}),t.isIdCardRequested&amp;&amp;(0,a.jsx)("li",{children:x.formatMessage({id:"hotel.specificCondition.idcard"})}),t.petsNotAllowed&amp;&amp;(0,a.jsx)("li",{children:x.formatMessage({id:"hotel.specificCondition.petsnotallowed"})}),null!==t.smokingInformation&amp;&amp;(t.smokingInformation?(0,a.jsx)("li",{children:x.formatMessage({id:"hotel.specificCondition.smockingaccepted"})}):(0,a.jsx)("li",{children:x.formatMessage({id:"hotel.specificCondition.nonsmocking"})})),null!==t.depositType&amp;&amp;(0,a.jsx)("li",{children:x.formatMessage({id:"hotel.specificCondition.deposit.".concat(t.depositType).concat(null!==t.depositAmountType?".".concat(t.depositAmountType):"")},"percent"===t.depositAmountType?{percent:100*t.depositPercentage}:{amount:(0,m.l)(x,t.depositAmount,!0)})})]})},"content")}),(0,a.jsx)("hr",{className:"border-none h-[1px] bg-shadow-black-10"})]})};function x(e){let{taxesAndFees:s,openInfo:t,isExpanded:i,idFaq:d}=e,h=(0,n.Z)();return 0===s.length?null:(0,a.jsxs)("div",{children:[(0,a.jsxs)("button",{className:"py-6 md:py-8 flex flex-row justify-between w-full",onClick:()=&gt;t("taxes-and-fees"),children:[(0,a.jsx)("span",{className:"title6",children:(0,a.jsx)(l.Z,{id:"hotel.frequentlyAskedQuestions.taxesAndFees"})}),(0,a.jsx)(r.Z,{id:i&amp;&amp;"taxes-and-fees"===d?"chevron-up":"chevron-down",className:"h-4 w-4 fill-current text-shadow-black"})]}),i&amp;&amp;"taxes-and-fees"===d&amp;&amp;(0,a.jsx)(o.M,{initial:!0,children:(0,a.jsx)(c.E.section,{initial:"collapsed",animate:"open",exit:"collapsed",variants:{open:{height:"auto"},collapsed:{height:0}},transition:{duration:.4,ease:[.04,.62,.23,.98]},children:(0,a.jsxs)(c.E.div,{variants:{collapsed:{opacity:.1},open:{opacity:1}},transition:{duration:.8},children:[(0,a.jsx)("h3",{className:"body3 text-shadow-black-80 pb-4",children:(0,a.jsx)(l.Z,{id:"hotel.dayuse.taxesAndFees.subtitle"})}),(0,a.jsx)("ul",{className:"body3 text-shadow-black-80 pb-4",children:s.map((e,s)=&gt;(0,a.jsxs)("li",{className:"flex flex-row justify-between",children:[(0,a.jsxs)("p",{className:"text-ellipsis font-bold",children:[h.formatMessage({id:"".concat(e.name)}),e.unit&amp;&amp;(0,a.jsx)(l.Z,{id:"common.per_person"})]}),(0,a.jsx)("p",{className:"overflow-visible font-bold",children:e.price?(0,a.jsx)(m.W,{price:e.price}):"".concat(e.percentage,"%")})]},"taxes-and-fees-".concat(s)))})]})},"content")}),(0,a.jsx)("hr",{className:"border-none h-[1px] bg-shadow-black-10"})]})}var u=e=&gt;{let{specificConditions:s,openInfo:t,isExpanded:i,idFaq:d}=e,{formatMessage:m}=(0,n.Z)();return s.isCashRefused||s.isCheckRefused||s.isMobilePaymentRefused||s.isCreditCardRequested?(0,a.jsxs)("div",{children:[(0,a.jsxs)("button",{className:"py-6 md:py-8 flex flex-row justify-between w-full",onClick:()=&gt;t("specific-conditions"),children:[(0,a.jsx)("span",{className:"title6",children:(0,a.jsx)(l.Z,{id:"hotel.frequentlyAskedQuestions.paymentInformation"})}),(0,a.jsx)(r.Z,{id:i&amp;&amp;"specific-conditions"===d?"chevron-up":"chevron-down",className:"h-4 w-4 fill-current text-shadow-black"})]}),i&amp;&amp;"specific-conditions"===d&amp;&amp;(0,a.jsx)(o.M,{initial:!0,children:(0,a.jsx)(c.E.section,{initial:"collapsed",animate:"open",exit:"collapsed",variants:{open:{height:"auto"},collapsed:{height:0}},transition:{duration:.4,ease:[.04,.62,.23,.98]},children:(0,a.jsxs)(c.E.ul,{variants:{collapsed:{opacity:.1},open:{opacity:1}},transition:{duration:.8},className:"list-disc body3 text-shadow-black-80 pb-4 px-6",children:[null!==s.isCashRefused&amp;&amp;(0,a.jsx)("li",{children:m(s.isCashRefused?{id:"hotel.specificCondition.nocash"}:{id:"hotel.specificCondition.cashaccepted"})}),s.isCheckRefused&amp;&amp;(0,a.jsx)("li",{children:m({id:"hotel.specificCondition.nocheck"})}),s.isMobilePaymentRefused&amp;&amp;(0,a.jsx)("li",{children:m({id:"hotel.specificCondition.phone_payment"})}),s.isCreditCardRequested&amp;&amp;(0,a.jsx)("li",{children:m({id:"hotel.specificCondition.ccrequested"})})]})},"content")}),(0,a.jsx)("hr",{className:"border-none h-[1px] bg-shadow-black-10"})]}):null},p=e=&gt;{let{specificConditions:s,openInfo:t,isExpanded:i,idFaq:d}=e,{formatMessage:m}=(0,n.Z)();return"hidden"!==s.babyCot||"hidden"!==s.extraBed||s.isChildPolicy?(0,a.jsxs)("div",{children:[(0,a.jsxs)("button",{className:"text-left py-6 md:py-8 flex flex-row justify-between w-full",onClick:()=&gt;t("child-policies-information"),children:[(0,a.jsx)("span",{className:"title6",children:(0,a.jsx)(l.Z,{id:"hotel.frequentlyAskedQuestions.childPolicies"})}),(0,a.jsx)(r.Z,{id:i&amp;&amp;"child-policies-information"===d?"chevron-up":"chevron-down",className:"h-4 w-4 fill-current text-shadow-black"})]}),i&amp;&amp;"child-policies-information"===d&amp;&amp;(0,a.jsx)(o.M,{initial:!0,children:(0,a.jsx)(c.E.section,{initial:"collapsed",animate:"open",exit:"collapsed",variants:{open:{height:"auto"},collapsed:{height:0}},transition:{duration:.4,ease:[.04,.62,.23,.98]},children:(0,a.jsxs)(c.E.ul,{variants:{collapsed:{opacity:.1},open:{opacity:1}},transition:{duration:.8},className:"list-disc body3 text-shadow-black-80 pb-4 px-6",children:["hidden"!==s.babyCot&amp;&amp;(0,a.jsx)("li",{children:m("offered"===s.babyCot?{id:"hotel.specificCondition.babycotOffered"}:{id:"hotel.specificCondition.babycotNotOffered"})}),"hidden"!==s.extraBed&amp;&amp;(0,a.jsx)("li",{children:m("offered"===s.extraBed?{id:"hotel.specificCondition.extrabedOffered"}:{id:"hotel.specificCondition.extrabedNotOffered"})}),s.isChildPolicy&amp;&amp;(0,a.jsx)("li",{children:m({id:"hotel.specificCondition.childpolicies"},{numberChild:s.maxNumberOfFreeChild,minChildAge:s.minChildAge,maxChildAge:s.maxChildAge,minAdultAge:s.minimumAgeToBeAnAdult})})]})},"content")}),(0,a.jsx)("hr",{className:"border-none h-[1px] bg-shadow-black-10"})]}):null},f=e=&gt;{let{equipments:s,openInfo:t,isExpanded:i,idFaq:n}=e;return s&amp;&amp;0!==s.length?(0,a.jsxs)("div",{children:[(0,a.jsxs)("button",{className:"py-6 md:py-8 flex flex-row justify-between w-full",onClick:()=&gt;t("amenities-opening-hours"),children:[(0,a.jsx)("span",{className:"title6",children:(0,a.jsx)(l.Z,{id:"hotel.frequentlyAskedQuestions.openingHours"})}),(0,a.jsx)(r.Z,{id:i&amp;&amp;"amenities-opening-hours"===n?"chevron-up":"chevron-down",className:"h-4 w-4 fill-current text-shadow-black"})]}),i&amp;&amp;"amenities-opening-hours"===n&amp;&amp;(0,a.jsx)(o.M,{initial:!0,children:(0,a.jsx)(c.E.section,{initial:"collapsed",animate:"open",exit:"collapsed",variants:{open:{height:"auto"},collapsed:{height:0}},transition:{duration:.4,ease:[.04,.62,.23,.98]},children:(0,a.jsx)(c.E.div,{variants:{collapsed:{opacity:.1},open:{opacity:1}},transition:{duration:.8},className:"grid grid-col-row-dense grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-3",children:s.map(e=&gt;{var s;return(0,a.jsxs)("div",{className:"flex flex-col space-y-1 md:space-y-2 pb-4",children:[(0,a.jsx)("span",{children:e.name}),(0,a.jsx)("div",{children:null===(s=e.openingClosingHours)||void 0===s?void 0:s.openingInformation.map((e,s)=&gt;(0,a.jsxs)("div",{className:"grid grid-cols-2 md:grid-cols-2 gap-2 body3 text-shadow-black-80",children:[(0,a.jsx)("p",{className:"md:col-span-1",children:(0,a.jsx)(l.Z,{id:"common-day-".concat(s+1)})}),(0,a.jsxs)("div",{className:"md:col-span-1",children:[e.open24Hours&amp;&amp;(0,a.jsx)(l.Z,{id:"common.open_24_hours"}),e.closed&amp;&amp;(0,a.jsx)(l.Z,{id:"common.closed"}),!e.closed&amp;&amp;!e.open24Hours&amp;&amp;!e.openingHours&amp;&amp;(0,a.jsx)(l.Z,{id:"common.closed"}),!!e.openingHours&amp;&amp;e.openingHours.map((e,s)=&gt;(0,a.jsxs)("p",{children:[e.start," - ",e.end]},"opening-hours-".concat(s)))]})]},"equipment-openingInformation-".concat(s)))})]},"equipment-".concat(e.id))})})},"content")}),(0,a.jsx)("hr",{className:"border-none h-[1px] bg-shadow-black-10"})]}):null},j=e=&gt;{let{equipmentsWithClosingInformation:s,equipmentsWithSeasonalClosing:t,openInfo:i,isExpanded:d,idFaq:m}=e,h=(0,n.Z)();return(null==s?void 0:s.length)===0&amp;&amp;(null==t?void 0:t.length)===0?null:(0,a.jsxs)("div",{children:[(0,a.jsxs)("button",{className:"py-6 md:py-8 flex flex-row justify-between w-full",onClick:()=&gt;i("amenities-closing-information"),children:[(0,a.jsx)("span",{className:"title6",children:(0,a.jsx)(l.Z,{id:"hotel.frequentlyAskedQuestions.amenitiesClosing"})}),(0,a.jsx)(r.Z,{id:d&amp;&amp;"amenities-closing-information"===m?"chevron-up":"chevron-down",className:"h-4 w-4 fill-current text-shadow-black"})]}),d&amp;&amp;"amenities-closing-information"===m&amp;&amp;(0,a.jsx)(o.M,{initial:!0,children:(0,a.jsx)(c.E.section,{initial:"collapsed",animate:"open",exit:"collapsed",variants:{open:{height:"auto"},collapsed:{height:0}},transition:{duration:.4,ease:[.04,.62,.23,.98]},children:(0,a.jsxs)(c.E.ul,{variants:{collapsed:{opacity:.1},open:{opacity:1}},transition:{duration:.8},className:"list-disc body3 text-shadow-black-80 pb-4 px-6",children:[s&amp;&amp;0!==s.length&amp;&amp;s.map(e=&gt;{var s,t;return(0,a.jsx)("li",{children:h.formatMessage({id:"hotel.specialclosure.closed"},{name:e.name,startDate:h.formatDate(null===(s=e.openingClosingHours)||void 0===s?void 0:s.specialClosure.startDate,{timeZone:"utc",day:"numeric",month:"short",year:"numeric"}),endDate:h.formatDate(null===(t=e.openingClosingHours)||void 0===t?void 0:t.specialClosure.endDate,{timeZone:"utc",day:"numeric",month:"short",year:"numeric"})})},"equipment-".concat(e.id))}),t&amp;&amp;0!==t.length&amp;&amp;t.map(e=&gt;{var s,t;return(0,a.jsx)("li",{children:h.formatMessage({id:"hotel.seasonalClosings.closed"},{name:e.name,startDate:h.formatDate(null===(s=e.seasonalClosure)||void 0===s?void 0:s.startDate,{timeZone:"utc",day:"numeric",month:"short",year:"numeric"}),endDate:h.formatDate(null===(t=e.seasonalClosure)||void 0===t?void 0:t.endDate,{timeZone:"utc",day:"numeric",month:"short",year:"numeric"})})},"equipment-".concat(e.id))})]})},"content")}),(0,a.jsx)("hr",{className:"border-none h-[1px] bg-shadow-black-10"})]})},g=e=&gt;{let{specificCondition:s,openInfo:t,isExpanded:i,idFaq:d}=e,m=(0,n.Z)();return s?(0,a.jsxs)("div",{children:[(0,a.jsxs)("button",{className:"py-6 md:py-8 flex flex-row justify-between w-full",onClick:()=&gt;t("other-specific-conditions"),children:[(0,a.jsx)("span",{className:"title6",children:(0,a.jsx)(l.Z,{id:"hotel.frequentlyAskedQuestions.otherSpecificConditions"})}),(0,a.jsx)(r.Z,{id:i&amp;&amp;"other-specific-conditions"===d?"chevron-up":"chevron-down",className:"h-4 w-4 fill-current text-shadow-black"})]}),i&amp;&amp;"other-specific-conditions"===d&amp;&amp;(0,a.jsx)(o.M,{initial:!0,children:(0,a.jsx)(c.E.section,{initial:"collapsed",animate:"open",exit:"collapsed",variants:{open:{height:"auto"},collapsed:{height:0}},transition:{duration:.4,ease:[.04,.62,.23,.98]},children:(0,a.jsx)(c.E.div,{variants:{collapsed:{opacity:.1},open:{opacity:1}},transition:{duration:.8},className:"body3 text-shadow-black-80 pb-4",dangerouslySetInnerHTML:{__html:m.formatMessage({id:"".concat(s)})}})},"content")}),(0,a.jsx)("hr",{className:"border-none h-[1px] bg-shadow-black-10"})]}):null},v=e=&gt;{let{hotel:s,taxesAndFees:t,equipmentsWithClosingInformation:n}=e,[o,c]=(0,i.useState)(!0),[r,m]=(0,i.useState)("how-does-it-works"),v=e=&gt;{e===r?(c(!1),m("")):(c(!0),m(e))},b=(0,i.useMemo)(()=&gt;s.equipments.length&gt;0?s.equipments.filter(e=&gt;null!==e.openingClosingHours&amp;&amp;null!==e.openingClosingHours.openingInformation):[],[s.equipments]),w=(0,i.useMemo)(()=&gt;s.equipments.length&gt;0?s.equipments.filter(e=&gt;{var s,t;return null!==e.seasonalClosure&amp;&amp;(null===(s=e.seasonalClosure)||void 0===s?void 0:s.startDate)!==null&amp;&amp;(null===(t=e.seasonalClosure)||void 0===t?void 0:t.endDate)!==null}):[],[s.equipments]);return(0,a.jsxs)("div",{className:"mb-5 md:mb-14",children:[(0,a.jsx)("h2",{className:"mb-4 md:mb-8 title3 uppercase",children:(0,a.jsx)(l.Z,{id:"hotel.frequentlyAskedQuestions.title"})}),(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)(d,{openInfo:v,isExpanded:o,idFaq:r}),(0,a.jsx)(h,{specificConditions:s.specificConditions,openInfo:v,isExpanded:o,idFaq:r}),(0,a.jsx)(x,{taxesAndFees:t,openInfo:v,isExpanded:o,idFaq:r}),(0,a.jsx)(u,{specificConditions:s.specificConditions,openInfo:v,isExpanded:o,idFaq:r}),(0,a.jsx)(j,{equipmentsWithClosingInformation:n,equipmentsWithSeasonalClosing:w,openInfo:v,isExpanded:o,idFaq:r}),(0,a.jsx)(p,{specificConditions:s.specificConditions,openInfo:v,isExpanded:o,idFaq:r}),(0,a.jsx)(f,{equipments:b,openInfo:v,isExpanded:o,idFaq:r}),(0,a.jsx)(g,{specificCondition:s.specificConditions.translation,openInfo:v,isExpanded:o,idFaq:r})]})]})}},77048:function(e,s,t){t.r(s),t.d(s,{default:function(){return r}});var a=t(85893),i=t(84187),l=t(56203),n=t(1449);t(67294);var o=t(753),c=t(89762);function r(e){var s,t;let{city:r,lat:d,lng:m}=e,{geoloc:h}=(0,o.Z)(),x=(0,c.t)(),u=h.data?(0,l.Z)((0,n.xm)([null===(s=h.data)||void 0===s?void 0:s.lng,null===(t=h.data)||void 0===t?void 0:t.lat]),(0,n.xm)([m,d]),{units:"meters"}):void 0;return(0,a.jsx)("span",{className:"flex flex-row items-center",children:u&amp;&amp;(0,a.jsx)("span",{className:"flex flex-row  items-center body3 text-shadow-black-80",children:(0,i.yP)(u,x.locale.split("-")[1])})})}},34039:function(e,s,t){var a=t(85893);t(67294);var i=t(16937),l=t(1449),n=t(56203),o=t(753),c=t(77048),r=t(41822);s.Z=e=&gt;{var s,t;let{hotel:d,className:m,hasReview:h}=e,{geoloc:x}=(0,o.Z)(),u=x.data?(0,n.Z)((0,l.xm)([null===(s=x.data)||void 0===s?void 0:s.lng,null===(t=x.data)||void 0===t?void 0:t.lat]),(0,l.xm)([d.position.lon,d.position.lat]),{units:"meters"}):void 0;return(0,a.jsxs)("div",{className:"flex flex-col gap-y-4 h-full ".concat(m),children:[(0,a.jsxs)("p",{className:"flex gap-x-2",children:[(0,a.jsx)(i.Z,{id:"solid-house-bis",className:"h-5 w-5 mt-1"}),(0,a.jsx)("span",{className:"line-clamp-2 text-ellipsis overflow-hidden flex-1 body3 text-shadow-black-80",children:d.address})]}),u&amp;&amp;(0,a.jsxs)("div",{className:"flex items-center gap-x-2",children:[(0,a.jsx)(i.Z,{id:"solid-location-dot",className:"h-4 w-4"}),(0,a.jsx)("p",{className:"flex-1",children:(0,a.jsx)(c.default,{city:d.city,lng:d.position.lon,lat:d.position.lat})})]}),(0,a.jsx)(r.Z,{hotel:d,onClickReviews:()=&gt;{let e=document.getElementById("reviews");e&amp;&amp;window.scrollTo({top:e.offsetTop-90,behavior:"smooth"})},highlights:d.highlights})]})}},18351:function(e,s,t){t.d(s,{Z:function(){return c}});var a=t(85893),i=t(16937),l=t(96026),n=t.n(l);t(67294);var o=t(86010);function c(e){let{count:s,isWhite:t}=e;return(0,a.jsx)("span",{className:"inline-flex md:mr-3 space-x-1 md:space-x-1",children:n()(s).map(e=&gt;(0,a.jsx)(i.Z,{id:"solid-star",className:(0,o.Z)("w-3 h-3 md:w-4 md:h-4",t&amp;&amp;"fill-current text-white")},"star-"+e))})}},73445:function(e,s,t){t.d(s,{Z:function(){return A}});var a=t(85893),i=t(67294),l=t(5152),n=t.n(l);t(80571);var o=t(44012),c=t(84187),r=t(56203),d=t(1449),m=t(30951),h=t(16937),x=t(10043),u=t(62511),p=t(85325),f=t(75123),j=t(89762),g=t(753),v=t(77557),b=t(77048),w=t(49377),y=t(86010),N=t(18351),k=t(7187),Z=e=&gt;{var s,t;let{hotel:l,classes:n}=e,o=(0,j.t)(),[c,m]=(0,i.useState)(!1),x=(0,i.useRef)(null),{geoloc:u}=(0,g.Z)(),p=u.data?(0,r.Z)((0,d.xm)([null===(s=u.data)||void 0===s?void 0:s.lng,null===(t=u.data)||void 0===t?void 0:t.lat]),(0,d.xm)([l.position.lon,l.position.lat]),{units:"meters"}):void 0,f=(0,i.useMemo)(()=&gt;{if("IntersectionObserver"in window)return new IntersectionObserver(e=&gt;{let[s]=e;return m(s.isIntersecting)})},[x]);return(0,i.useEffect)(()=&gt;{if(f&amp;&amp;x&amp;&amp;x.current)return f.observe(x.current),()=&gt;f.disconnect()},[]),(0,a.jsxs)("div",{className:"w-[410px] relative bg-white h-full p-6 rounded-3xl overflow-y-hidden shadow-md ".concat(n),children:[(0,a.jsxs)("div",{className:"h-full flex flex-col",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)(k.Z,{className:"w-full h-[224px] rounded-xl object-fill",src:l.photos[0].normal,alt:"".concat(l.name," ",0),width:362,height:224}),(0,a.jsxs)("p",{className:"mt-6 title4 text-shadow-black",children:[l.name," ",(0,a.jsx)(N.Z,{count:l.starRating})]})]}),(0,a.jsx)("hr",{className:(0,y.Z)("mt-4 border-none h-[1px] -mx-6",!c&amp;&amp;"bg-shadow-black-20")}),(0,a.jsx)("div",{className:"w-full h-[90%] overflow-hidden bg-white",children:(0,a.jsx)("div",{className:"w-full h-full mb-3",children:(0,a.jsxs)("div",{className:"flex flex-col space-y-6 overflow-hidden h-full mb-5 pl-3",children:[(0,a.jsx)("div",{ref:x}),(0,a.jsxs)("div",{className:"flex space-x-2",children:[(0,a.jsx)(h.Z,{id:"solid-house-bis",className:"w-5 h-5 mt-1"}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"body3 text-shadow-black mb-2 md:mb-2.5",children:l.address}),(0,a.jsx)(w.Z,{as:"a",iconRight:"chevron-right",href:"tel:".concat(o.telIntl),children:o.tel})]})]}),p&amp;&amp;(0,a.jsxs)("p",{className:"flex space-x-2",children:[(0,a.jsx)(h.Z,{id:"solid-location-dot",className:"w-5 h-5 mt-1"}),(0,a.jsx)(b.default,{city:l.city,lng:l.position.lon,lat:l.position.lat})]}),l.direction&amp;&amp;(0,a.jsxs)("div",{className:"flex space-x-2 overflow-auto",children:[(0,a.jsx)(h.Z,{id:"solid-compass",className:"w-5 h-5 mt-1"}),(0,a.jsx)("div",{className:"flex-1 body3 pb-6 text-shadow-black",dangerouslySetInnerHTML:{__html:l.direction}})]})]})})})]}),(0,a.jsx)("div",{className:"w-full h-10 absolute bottom-6 left-0",style:{background:"linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 91.67%"}})]})};let C=n()(()=&gt;t.e(2586).then(t.bind(t,22586)),{loadableGenerated:{webpack:()=&gt;[22586]},ssr:!1}),P=n()(()=&gt;t.e(5575).then(t.bind(t,95575)),{loadableGenerated:{webpack:()=&gt;[95575]},ssr:!1}),F=n()(()=&gt;Promise.resolve().then(t.bind(t,92909)).then(e=&gt;e.Marker),{loadableGenerated:{webpack:()=&gt;[92909]},ssr:!1}),E=n()(()=&gt;t.e(9343).then(t.bind(t,79343)),{loadableGenerated:{webpack:()=&gt;[79343]},ssr:!1});var A=e=&gt;{var s,t;let{hotel:i,className:l,hasMap:n,id:w,isOpen:y,open:N,close:k}=e,A=[i.position.lon,i.position.lat],D=(0,p.G)([f.md],[!1],!0),_=(0,j.t)(),{geoloc:q}=(0,g.Z)(),R=q.data?(0,r.Z)((0,d.xm)([null===(s=q.data)||void 0===s?void 0:s.lng,null===(t=q.data)||void 0===t?void 0:t.lat]),(0,d.xm)([i.position.lon,i.position.lat]),{units:"meters"}):void 0;return(0,a.jsxs)("div",{className:"flex justify-center  rounded-xl ".concat(l),style:{backgroundImage:!D||n?"url(".concat(c.De.MEDIA_HOST,"/map/map-sunrise-brand.jpg)"):"none",backgroundSize:D?"initial":"contain",backgroundPosition:D?"initial":"center"},id:w,children:[(0,a.jsx)(m.Z,{size:"small",onClick:N,className:"md:hidden flex",children:(0,a.jsx)(o.Z,{id:"hotel.cta.view_map"})}),(0,a.jsx)(x.Z,{size:"small",onClick:N,className:"hidden md:flex",children:(0,a.jsx)(o.Z,{id:"hotel.cta.view_map"})}),(0,a.jsxs)(E,{id:"js-hotel-itinerary-modal",isOpen:y,onRequestClose:()=&gt;void 0,header:i.name,transparentBackground:!D,children:[(0,a.jsx)(m.Z,{size:"small",isOnlyIcon:!0,onClick:k,className:"md:hidden left-5 top-5 absolute z-10",children:(0,a.jsx)(h.Z,{id:"chevron-left",className:"w-5 h-5"})}),(0,a.jsx)("div",{className:"md:fixed top-0 bottom-0 right-0 left-0 h-full max-h-[580px] md:max-h-none md:h-[90%] md:w-[90%] md:m-auto",children:(0,a.jsx)("div",{className:"w-full h-full md:rounded-3xl overflow-hidden",children:(0,a.jsxs)(P,{mapStyle:"mapbox://styles/dayuse/clhko52c001mm01qy2j93dsyk",initialViewState:{longitude:A[0],latitude:A[1],zoom:16},style:{width:"100%",height:"100%"},children:[(0,a.jsx)(u.Z,{isOnlyIcon:!0,className:"hidden md:flex absolute top-10 right-10 z-10",onClick:k,children:(0,a.jsx)(h.Z,{id:"xmark",className:"w-5 h-5"})}),(0,a.jsx)(F,{latitude:i.position.lat,longitude:i.position.lon,children:(0,a.jsx)(h.Z,{id:"solid-location-dot",className:"h-10 w-10"})}),(0,a.jsxs)("div",{className:"absolute bottom-5 right-5 md:bottom-10 md:right-10",children:[(0,a.jsx)(v.Z,{}),(0,a.jsx)(C,{})]}),(0,a.jsx)("div",{className:"hidden md:block absolute left-10 z-10 h-full py-10",children:(0,a.jsx)(Z,{hotel:i})})]})})}),(0,a.jsxs)("div",{className:"flex-1 px-5 pt-6 pb-8 min-h-[265px] md:hidden flex flex-col gap-y-5 overflow-y-scroll z-10",children:[(0,a.jsxs)("div",{className:"flex gap-x-2",children:[(0,a.jsx)(h.Z,{id:"solid-house-bis",className:"w-5 h-5 mt-1"}),(0,a.jsxs)("div",{className:"w-full flex-1",children:[(0,a.jsx)("p",{className:"body2",children:i.address}),(0,a.jsx)("a",{href:"tel:".concat(_.telIntl),className:"mt-2 block underline body2",children:_.tel})]})]}),R&amp;&amp;(0,a.jsxs)("div",{className:"flex",children:[(0,a.jsx)(h.Z,{id:"solid-location-dot",className:"h-5 w-5 mt-1"}),(0,a.jsx)("p",{className:"flex-1",children:(0,a.jsx)(b.default,{city:i.city,lng:i.position.lon,lat:i.position.lat})})]}),i.direction&amp;&amp;(0,a.jsxs)("div",{className:"flex gap-x-2",children:[(0,a.jsx)(h.Z,{id:"solid-compass",className:"h-5 w-5"}),(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:i.direction},className:"flex-1 body2"})]}),(0,a.jsx)("div",{className:"w-full h-10 absolute z-10 left-0 bottom-0",style:{background:"linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 91.67%"}})]})]})]})}},8610:function(e,s,t){t.d(s,{Z:function(){return n}});var a=t(85893);t(67294);var i=t(44012),l=t(86010);function n(e){let{hasReview:s,cursor:t,onClick:n}=e;return(0,a.jsxs)("ul",{className:"flex -mx-5 overflow-x-auto scrollbar-hide md:mx-auto",children:[(0,a.jsx)("li",{id:"js-menu-button-presentation",className:(0,l.Z)("md:order-1 px-5 md:px-6 pb-3 whitespace-nowrap leading-4 text-xs md:text-sm font-semibold border-b-2","presentation"===t?"border-shadow-black text-shadow-black":"border-shadow-black-10 text-shadow-black-80"),children:(0,a.jsx)(o,{onClick:()=&gt;{n&amp;&amp;n("presentation")},isSelected:!t||"presentation"===t,children:(0,a.jsx)(i.Z,{id:"hotel.menu.presentation"})})}),(0,a.jsx)("li",{id:"js-menu-button-offers",className:(0,l.Z)("md:order-2 px-5 md:px-6 pb-3 whitespace-nowrap leading-4 text-xs md:text-sm font-semibold border-b-2","offers"===t?"border-shadow-black text-shadow-black":"border-shadow-black-10 text-shadow-black-80"),children:(0,a.jsx)(o,{onClick:()=&gt;{n&amp;&amp;n("offers")},isSelected:"offers"===t,children:(0,a.jsx)(i.Z,{id:"hotel.menu.offers"})})}),(0,a.jsx)("li",{id:"js-menu-button-description",className:(0,l.Z)("md:order-3 px-5 md:px-6 pb-3 whitespace-nowrap leading-4 text-xs md:text-sm font-semibold border-b-2","description"===t?"border-shadow-black text-shadow-black":"border-shadow-black-10 text-shadow-black-80"),children:(0,a.jsx)(o,{onClick:()=&gt;{n&amp;&amp;n("description")},isSelected:"description"===t,children:(0,a.jsx)(i.Z,{id:"hotel.menu.description"})})}),(0,a.jsx)("li",{id:"js-menu-button-faq",className:(0,l.Z)("md:order-4 px-5 md:px-6 pb-3 whitespace-nowrap leading-4 text-xs md:text-sm font-semibold border-b-2","faq"===t?"border-shadow-black text-shadow-black":"border-shadow-black-10 text-shadow-black-80"),children:(0,a.jsx)(o,{onClick:()=&gt;{n&amp;&amp;n("faq")},isSelected:"faq"===t,children:(0,a.jsx)(i.Z,{id:"hotel.menu.faq"})})}),(0,a.jsx)("li",{id:"js-menu-button-location",className:(0,l.Z)("md:order-5 px-5 md:px-6 pb-3 whitespace-nowrap leading-4 text-xs md:text-sm font-semibold border-b-2","location"===t?"border-shadow-black text-shadow-black":"border-shadow-black-10 text-shadow-black-80"),children:(0,a.jsx)(o,{onClick:()=&gt;{n&amp;&amp;n("location")},isSelected:"location"===t,children:(0,a.jsx)(i.Z,{id:"hotel.menu.location"})})}),s&amp;&amp;(0,a.jsx)("li",{id:"js-menu-button-reviews",className:(0,l.Z)("md:order-6 px-5 md:px-6 pb-3 whitespace-nowrap leading-4 text-xs md:text-sm font-semibold border-b-2","reviews"===t?"border-shadow-black text-shadow-black":"border-shadow-black-10 text-shadow-black-80"),children:(0,a.jsx)(o,{onClick:()=&gt;{n&amp;&amp;n("reviews")},isSelected:"reviews"===t,children:(0,a.jsx)(i.Z,{id:"hotel.menu.reviews"})})})]})}let o=e=&gt;{let{isSelected:s,...t}=e;return(0,a.jsx)("button",{...t,className:(0,l.Z)("font-medium",s?"border-shadow-black":"text-shadow-black-80"),children:t.children})}},94604:function(e,s,t){t.d(s,{Z:function(){return C}});var a=t(85893),i=t(67294),l=t(5152),n=t.n(l),o=t(86896),c=t(44012),r=t(16937),d=t(11163),m=t(10043),h=t(92284),x=t(75123),u=t(7187);function p(e){let{hotel:s,onClick:t}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"hidden w-full md:block lg:w-2/3 relative h-[450px]",children:s.photos&amp;&amp;s.photos.length&gt;0&amp;&amp;(0,a.jsx)("div",{className:"relative h-full w-full rounded-2xl cursor-pointer",style:{backgroundSize:"cover"},onClick:e=&gt;t&amp;&amp;t(e,{index:0}),children:(0,a.jsx)(u.Z,{fill:!0,className:"object-cover m-auto cursor-pointer rounded-2xl h-[450px]",src:s.photos[0].normal,alt:s.name,sizes:"(min-width: 1024px) 764px, 100vw"})})}),(0,a.jsxs)("div",{className:"md:w-1/3 hidden lg:block space-y-6 h-[450px] ml-6",children:[s.photos&amp;&amp;s.photos.length&gt;1&amp;&amp;(0,a.jsx)("div",{className:"relative w-full h-full rounded-2xl",style:{height:"213px"},onClick:e=&gt;t&amp;&amp;t(e,{index:1}),children:(0,a.jsx)(u.Z,{fill:!0,className:"object-cover m-auto cursor-pointer rounded-2xl h-[213px]",src:s.photos[1].normal,alt:s.name,sizes:"384px"})}),s.photos&amp;&amp;s.photos.length&gt;2&amp;&amp;(0,a.jsx)("div",{className:"relative w-full rounded-2xl",style:{height:"213px"},onClick:e=&gt;t&amp;&amp;t(e,{index:2}),children:(0,a.jsx)(u.Z,{fill:!0,className:"object-cover m-auto cursor-pointer rounded-2xl h-[213px]",src:s.photos[2].normal,alt:s.name,sizes:"384px"})})]})]})}t(96026);var f=t(8257);function j(e){var s,t;let{hotel:l,onClick:n}=e,o=i.useRef(null),c=(0,h.Z)(1,1,null!==(t=null===(s=l.photos)||void 0===s?void 0:s.length)&amp;&amp;void 0!==t?t:0);return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"absolute md:overflow-x-hidden top-0 left-0 w-full h-full",children:[(0,a.jsx)("div",{className:"absolute right-5 top-4 z-10",children:(0,a.jsx)(f.Z,{hotelId:l.id,hotelName:l.name,hotelSlug:"/hotels/".concat(l.slug),hotel:l,buttonsType:"tertiary"})}),(0,a.jsx)("div",{ref:o,className:"flex duration-300 h-full overflow-x-auto md:overflow-x-visible scrollbar-hide snap-x-mand",onScroll:c.handleScroll(o),children:l.photos&amp;&amp;l.photos.map((e,s)=&gt;(0,a.jsx)("div",{className:"relative flex-none object-cover snap-align-start snap-stop-always w-full md:rounded-100",onClick:e=&gt;n&amp;&amp;n(e,{index:s}),children:(0,a.jsx)(u.Z,{fill:!0,className:"object-cover",src:e.normal,alt:l.name,sizes:"(min-width: 768px) 768px, 100vw",priority:0===s})},"photo-".concat(l.id,"-").concat(s)))}),(0,a.jsxs)("div",{className:"absolute left-0 top-0 right-0 bottom-0 flex flex-col justify-between items-center pointer-events-none",children:[(0,a.jsx)("div",{}),(0,a.jsxs)("div",{className:"flex justify-center self-end w-10 py-1 m-4 caption-sm text-white bg-shadow-black rounded-full",children:[c.page,"/",l.photos.length]})]})]})})}var g=t(18351),v=t(86010),b=t(31269);function w(e){let{hotel:s,openZoomPhoto:t,titlePhoto:l}=e,[n,o]=(0,i.useState)("all"),[r,d]=(0,i.useState)(s.photos),m=(0,i.useMemo)(()=&gt;s.photos.filter(e=&gt;e.assets&amp;&amp;e.assets.length&gt;0||!!e.tags&amp;&amp;e.tags.filter(e=&gt;"Room"===e.name||"Bathroom"===e.name).length&gt;0),[s]),h=(0,i.useMemo)(()=&gt;s.photos.filter(e=&gt;e.tags&amp;&amp;e.tags.filter(e=&gt;"Pool"===e.name).length&gt;0||e.equipments&amp;&amp;e.equipments.filter(e=&gt;"Rooftop pool"===e.name||"Indoor pool"===e.name||"Outdoor pool"===e.name).length&gt;0),[s]),x=(0,i.useMemo)(()=&gt;s.photos.filter(e=&gt;e.tags&amp;&amp;e.tags.filter(e=&gt;"Massage"===e.name||"Spa"===e.name||"Jacuzzi"===e.name||"Hammam"===e.name||"Sauna"===e.name||"Fitness"===e.name).length&gt;0||e.equipments&amp;&amp;e.equipments.filter(e=&gt;"Beauty center"===e.name||"Fitness room"===e.name||"Sports Ground"===e.name||"Massage"===e.name||"Sauna"===e.name||"Steam room"===e.name||"Jacuzzi"===e.name).length&gt;0),[s]),p=(0,i.useMemo)(()=&gt;s.photos.filter(e=&gt;e.tags&amp;&amp;e.tags.filter(e=&gt;"Restaurant"===e.name||"Bar"===e.name).length&gt;0||e.equipments&amp;&amp;e.equipments.filter(e=&gt;"Restaurant"===e.name||"Bar"===e.name||"Breakfast Area"===e.name||"Rooftop bar"===e.name||"Terrace"===e.name).length&gt;0),[s]),f=(0,i.useMemo)(()=&gt;s.photos.filter(e=&gt;e.equipments&amp;&amp;e.equipments.length&gt;0),[s]),j=(0,i.useMemo)(()=&gt;"all"===n?r:"room"===n?m:"pool"===n?h:"wellness"===n?x:"food"===n?p:"amenities"===n?f:[],[n,r,m,h,x,p,f]);return(0,a.jsxs)("div",{className:"flex flex-col text-center mt-10 md:mt-[50px]",id:"js-galery-hotel","data-hotel-id":s.id,children:[(0,a.jsx)("h1",{className:"bg-clip-text gradient-generic gradient-90deg text-transparent headline1",children:(0,a.jsx)(c.Z,{id:"hotel.photos.gallery.title"})}),s.starRating&amp;&amp;(0,a.jsx)("div",{className:"mx-auto mt-3 mb-1",children:(0,a.jsx)(g.Z,{count:s.starRating})}),(0,a.jsx)("div",{className:"title4 text-shadow-black-80",children:s.name}),s.photos.length&gt;1&amp;&amp;(0,a.jsxs)("nav",{className:"flex lg:justify-center text-xs md:text-sm leading-3 font-semibold text-shadow-black-80 mt-10 md:mt-[54px] mb-10 overflow-x-auto scrollbar-hide",children:[(0,a.jsx)(b.Z,{active:"all"===n,onClick:()=&gt;o("all"),className:"whitespace-nowrap","data-subject":"all",children:(0,a.jsx)(c.Z,{id:"hotel.photos.gallery.tab_all_photos"})}),m.length&gt;0&amp;&amp;(0,a.jsx)(b.Z,{active:"room"===n,onClick:()=&gt;o("room"),className:"whitespace-nowrap","data-subject":"room",children:(0,a.jsx)(c.Z,{id:"hotel.photos.gallery.tab_room"})}),h.length&gt;0&amp;&amp;(0,a.jsx)(b.Z,{active:"pool"===n,onClick:()=&gt;o("pool"),className:"whitespace-nowrap","data-subject":"pool",children:(0,a.jsx)(c.Z,{id:"hotel.photos.gallery.tab_pool"})}),x.length&gt;0&amp;&amp;(0,a.jsx)(b.Z,{active:"wellness"===n,onClick:()=&gt;o("wellness"),className:"whitespace-nowrap","data-subject":"wellness",children:(0,a.jsx)(c.Z,{id:"hotel.photos.gallery.tab_spa_and_wellness"})}),p.length&gt;0&amp;&amp;(0,a.jsx)(b.Z,{active:"food"===n,onClick:()=&gt;o("food"),className:"whitespace-nowrap","data-subject":"food",children:(0,a.jsx)(c.Z,{id:"hotel.photos.gallery.tab_restaurant_and_bar"})}),f.length&gt;0&amp;&amp;(0,a.jsx)(b.Z,{active:"amenities"===n,onClick:()=&gt;o("amenities"),className:"whitespace-nowrap","data-subject":"amenities",children:(0,a.jsx)(c.Z,{id:"hotel.photos.gallery.hotel_amenities"})})]}),(0,a.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 md:gap-x-6 gap-y-10",children:j.map((e,i)=&gt;(0,a.jsxs)("div",{className:(0,v.Z)("flex flex-col",e.isMain&amp;&amp;"order-first"),children:[(0,a.jsx)("div",{className:"h-[292px] lg:w-[410px] overflow-hidden rounded-20 mb-4",children:(0,a.jsx)(u.Z,{className:"rounded-20 w-[410px] object-cover h-[292px] transform transition duration-300 hover:scale-105 overflow-hidden",src:e.normal,alt:"".concat(s.name," ").concat(i),width:410,height:292,onClick:t(e.position-1)})}),(0,a.jsx)("div",{className:"title5 text-left text-shadow-black-80",children:l(e)})]},"photo-".concat(i+1,"-").concat(n)))})]})}var y=t(62511),N=t(29082);let k=n()(()=&gt;t.e(5205).then(t.bind(t,15205)),{loadableGenerated:{webpack:()=&gt;[15205]},ssr:!1,loading:()=&gt;(0,a.jsx)("div",{children:"Loading"})}),Z=n()(()=&gt;t.e(9343).then(t.bind(t,79343)),{loadableGenerated:{webpack:()=&gt;[79343]},ssr:!1});function C(e){let{hotel:s,openPhoto:t,closePhoto:l,openClosePhoto:n,isOpenPhoto:u,onScrollOffers:f}=e,g=(0,x.Z)([x.md],[!1],!0),v=(0,d.useRouter)(),[b,C]=(0,i.useState)(!1),[P,F]=(0,i.useState)(0),E=(0,h.Z)(P,1,s.photos.length),A=(0,o.Z)(),D=()=&gt;{t(),C(!1)},_=()=&gt;{u&amp;&amp;t(),C(!1)},q=e=&gt;e.assets&amp;&amp;e.assets.length&gt;0?e.assets[0].name:e.offers&amp;&amp;e.offers.length&gt;0?e.offers[0].name:e.equipments&amp;&amp;e.equipments.length&gt;0?e.equipments[0].name:e.tags&amp;&amp;e.tags.length&gt;0?A.formatMessage({id:"bo.photo.custom_tag."+e.tags[0].name.toLowerCase().replace(" ","_")}):"";return(0,a.jsxs)("div",{id:"js-hotel-photos-container",className:"relative overflow-auto md:overflow-visible flex",children:[(0,a.jsxs)(m.Z,{id:"js-hotel-photos-see-all",onClick:D,size:"small",className:"hidden md:flex absolute gap-x-1 right-5 bottom-5 z-10",children:[(0,a.jsx)(r.Z,{id:"solid-grid",className:"h-4 w-4"}),(0,a.jsx)(c.Z,{id:"hotel.photos.gallery.cta"})]}),(0,a.jsxs)("div",{className:"md:hidden bg-white pt-[66.66%] w-full overflow-hidden relative",children:[(0,a.jsx)(m.Z,{size:"small",className:"md:hidden absolute left-5 top-4 z-10",isOnlyIcon:!0,onClick:()=&gt;{window&amp;&amp;0===window.history.state.idx||"booking"===v.query.prevPath?v.replace("/"):v.back()},children:(0,a.jsx)(r.Z,{id:"chevron-left",className:"fill-current w-5 h-5"})}),(0,a.jsx)(j,{hotel:s,onClick:n})]}),(0,a.jsx)(p,{hotel:s,onClick:D}),(0,a.jsxs)(Z,{id:"js-hotel-photos-mosaic",isOpen:u,onRequestClose:l,header:"Gallery",isCenter:!1,children:[(0,a.jsxs)("div",{className:"flex justify-between mt-2.5",children:[(0,a.jsxs)(y.Z,{onClick:l,children:[(0,a.jsx)(r.Z,{id:"chevron-left",className:"w-4 h-4"}),(0,a.jsx)("span",{className:"body3 focus",children:(0,a.jsx)(c.Z,{id:g?"common.close":"common.return"})})]}),(0,a.jsx)("div",{className:"flex space-x-3 mr-5",children:(0,a.jsx)(N.Z,{onClick:()=&gt;{f("offers")},children:(0,a.jsx)(c.Z,{id:"hotel.photos.gallery.book_a_room"})})})]}),(0,a.jsx)("div",{className:"overflow-y-auto w-full px-5 md:px-0",children:(0,a.jsx)("div",{className:"max-w-4xl m-auto pb-5",children:(0,a.jsx)(w,{hotel:s,openZoomPhoto:e=&gt;()=&gt;{C(!0),F(e)},titlePhoto:q})})})]}),(0,a.jsx)(Z,{id:"js-hotel-photos-zoom",isOpen:b,onRequestClose:_,isCenter:!1,isOverflow:!1,children:(0,a.jsxs)("div",{className:"h-full",children:[(0,a.jsx)("div",{className:"flex justify-between items-center px-5 md:px-20 pt-4",children:(0,a.jsxs)("button",{className:"flex flex-row items-center space-x-3",onClick:_,children:[(0,a.jsx)(r.Z,{id:"xmark",className:"w-4 h-4"}),(0,a.jsx)("span",{className:"body3 focus",children:(0,a.jsx)(c.Z,{id:"common.close"})})]})}),(0,a.jsx)(k,{hotel:s,current:P,handleCurrentPhoto:e=&gt;F(e),totalPage:E.nbPage,handleScrollOffers:()=&gt;{C(!1),f("offers")},titlePhoto:q})]})})]})}},94924:function(e,s,t){t.d(s,{Z:function(){return r}});var a=t(85893);t(67294);var i=t(80175),l=t(44012),n=t(86896),o=t(86010),c=t(96118);function r(e){let{date:s,firstname:t,children:r,rating:d,max:m}=e,h=(0,i.default)(s,"y-M-d",new Date),x=(0,n.Z)();return(0,a.jsxs)("div",{className:"js-hotel-reviews-rating-container my-7 md:mx-10 md:my-10",children:[(0,a.jsxs)("div",{className:"flex flex-row justify-between mb-3",children:[(0,a.jsxs)("div",{className:"flex space-x-2",children:[(0,a.jsx)("div",{className:(0,o.Z)("flex rounded-full h-9 w-9 md:h-10 md:w-10 my-auto uppercase",(0,c.Z)(t)),children:(0,a.jsx)("span",{className:"m-auto title3",children:t&amp;&amp;t[0]||"A"})}),(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)("span",{className:"title6",children:t||(0,a.jsx)(l.Z,{id:"hotel.reviews.name.anonymous"})}),(0,a.jsx)("span",{className:"body3 text-shadow-black-60",children:(0,a.jsx)("time",{className:"block capitalize",dateTime:s,children:x.formatDate(h,{month:"long",year:"numeric"})})})]})]}),(0,a.jsxs)("div",{className:"js-hotel-reviews-rating-label ",children:[(0,a.jsx)("span",{className:"mr-4 md:mr-3 title6",children:d&lt;=1?(0,a.jsx)(l.Z,{id:"hotel.reviews.rating.terrible"}):d&lt;=2?(0,a.jsx)(l.Z,{id:"hotel.reviews.rating.poor"}):d&lt;=3?(0,a.jsx)(l.Z,{id:"hotel.reviews.rating.average"}):d&lt;=4?(0,a.jsx)(l.Z,{id:"hotel.reviews.rating.veryGood"}):(0,a.jsx)(l.Z,{id:"hotel.reviews.rating.excellent"})}),(0,a.jsx)("span",{className:"text-sm md:text-base font-semibold",children:d}),(0,a.jsxs)("span",{className:"text-sm md:text-base font-light",children:["/",m]})]})]}),(0,a.jsx)("div",{className:"js-hotel-reviews-rating-comment w-full body3 text-shadow-black-80 whitespace-pre-line truncate",children:r})]})}},41822:function(e,s,t){var a=t(85893);t(67294);var i=t(44012),l=t(86010),n=t(16937);s.Z=e=&gt;{var s,t;let{hotel:o,onClickReviews:c,highlights:r}=e;return(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:(0,l.Z)("flex items-center gap-x-2 mb-2",o.review&amp;&amp;0===o.review.count?"text-transparent":"text-shadow-black-80"),children:[o.review&amp;&amp;o.review.count&gt;1&amp;&amp;(0,a.jsx)(n.Z,{id:"solid-comment-check",className:"w-5 h-5 fill-current text-shadow-black"}),(0,a.jsxs)("span",{className:"body3",children:[(0,a.jsx)("span",{className:"font-semibold",children:null===(s=o.review)||void 0===s?void 0:s.globalAverageRating}),"/5"]})," ",(0,a.jsx)("span",{className:(0,l.Z)(o.review&amp;&amp;0===o.review.count?"text-transparent":"text-shadow-black-20"),children:"|"})," ",(0,a.jsxs)("span",{className:"flex-1 cursor-pointer body3 inline-flex items-center",onClick:c,children:[(0,a.jsx)(i.Z,{id:"common.reviews",values:{count:null===(t=o.review)||void 0===t?void 0:t.count}}),(0,a.jsx)(n.Z,{id:"chevron-right",className:"h-[10px] w-[10px] ml-2"})]})]})})}},80336:function(e,s,t){t.d(s,{Z:function(){return j}});var a=t(85893),i=t(67294),l=t(88767),n=t(84187),o=t(86010),c=t(86896),r=t(44012),d=t(54490),m=t(16937),h=t(49377),x=t(85325),u=t(75123),p=t(94924);function f(e){return(0,a.jsxs)("div",{className:"js-hotel-reviews-rating mt-3 md:mt-6 flex flex-col",children:[(0,a.jsxs)("div",{className:"flex justify-between",children:[(0,a.jsx)("div",{className:"title6",children:e.label}),(0,a.jsxs)("div",{className:"title6",children:[(0,a.jsx)("span",{className:"font-medium",children:(0,a.jsx)(d.BK,{value:e.rating,maximumFractionDigits:1,minimumFractionDigits:1})}),(0,a.jsxs)("span",{className:"font-light",children:["/",e.max]})]})]}),(0,a.jsxs)("div",{className:"w-full my-1 relative h-3",children:[(0,a.jsx)("span",{className:"absolute block bg-shadow-black-10 w-full h-3 rounded-10"}),(0,a.jsx)("span",{style:{width:"".concat(100*e.rating/e.max,"%")},className:"absolute block bg-smart-blue h-3 rounded-10"})]})]})}function j(e){var s,t,j,g,v,b,w,y,N,k,Z,C,P,F,E,A,D,_,q,R,I,M,T;let S=(0,c.Z)(),O=(0,x.G)([u.lg],[!0],!1),{hotel:W}=e,B=(0,l.useInfiniteQuery)("reviews-".concat(W.id),e=&gt;{let{pageParam:s=1}=e;return(0,n.u3)({id:W.id,params:{page:s}})},{getNextPageParam:e=&gt;{var s,t,a,i;return(null==e?void 0:null===(s=e.pagination)||void 0===s?void 0:s.page)===(null==e?void 0:null===(t=e.pagination)||void 0===t?void 0:t.lastPage)||(null==e?void 0:null===(a=e.pagination)||void 0===a?void 0:a.lastPage)===0?void 0:(null==e?void 0:null===(i=e.pagination)||void 0===i?void 0:i.page)+1}}),[z,L]=(0,i.useState)(O);return(0,i.useEffect)(()=&gt;{L(O)},[O]),(0,a.jsxs)("div",{className:"flex flex-col lg:grid lg:grid-cols-12 lg:mt-12",children:[(0,a.jsxs)("div",{className:"lg:col-start-1 lg:col-end-5",children:[(0,a.jsx)("h2",{className:"md:hidden md:mb-8 title2 mb-6",children:(0,a.jsx)(r.Z,{id:"hotel.reviews.title"})}),(0,a.jsxs)("div",{className:"flex",children:[(0,a.jsx)(m.Z,{id:"solid-comment-check",className:"h-8 w-8"}),(0,a.jsx)("span",{className:"body1 my-auto ml-2 md:ml-3",children:(0,a.jsx)(d.BK,{value:null!==(T=null===(s=W.review)||void 0===s?void 0:s.globalAverageRating)&amp;&amp;void 0!==T?T:0,maximumFractionDigits:1,minimumFractionDigits:1})}),(0,a.jsx)("span",{className:"font-normal text-xl my-auto",children:"/5"}),(0,a.jsx)("span",{className:"my-auto font-sm lg:font-xl border-l-2 border-l-shadow-black-60 text-shadow-black-60 px-3 ml-3 md:px-4 md:ml-4",children:(0,a.jsx)(r.Z,{id:"hotel.reviews.total.count",values:{count:null===(t=W.review)||void 0===t?void 0:t.count}})})]}),(0,a.jsx)("p",{className:"caption-md text-shadow-black-80 mt-3",children:(0,a.jsx)(r.Z,{id:"reviews.legalNotice",values:{link:e=&gt;(0,a.jsx)("a",{href:"/pages/dayuse/terms-privacy",target:"_blank",style:{textDecoration:"underline"},children:e})}})}),(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)(f,{label:S.formatMessage({id:"hotel.reviews.checkin"}),rating:null===(j=W.review)||void 0===j?void 0:j.checkinAverageRating,max:5}),(0,a.jsx)(f,{label:S.formatMessage({id:"hotel.reviews.roomQuietness"}),rating:null===(g=W.review)||void 0===g?void 0:g.roomQuietnessAverageRating,max:5}),(0,a.jsx)(f,{label:S.formatMessage({id:"hotel.reviews.valueForMoney"}),rating:null===(v=W.review)||void 0===v?void 0:v.valueForMoneyAverageRating,max:5}),z&amp;&amp;(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(f,{label:S.formatMessage({id:"hotel.reviews.roomCleanliness"}),rating:null===(b=W.review)||void 0===b?void 0:b.roomCleanlinessAverageRating,max:5}),(0,a.jsx)(f,{label:S.formatMessage({id:"hotel.reviews.staff"}),rating:null===(w=W.review)||void 0===w?void 0:w.staffAverageRating,max:5}),(0,a.jsx)(f,{label:S.formatMessage({id:"hotel.reviews.location"}),rating:null===(y=W.review)||void 0===y?void 0:y.locationAverageRating,max:5}),(0,a.jsx)(f,{label:S.formatMessage({id:"hotel.reviews.hotelFacilities"}),rating:null===(N=W.review)||void 0===N?void 0:N.hotelFacilitiesAverageRating,max:5}),(0,a.jsx)(f,{label:S.formatMessage({id:"hotel.reviews.roomQuality"}),rating:null===(k=W.review)||void 0===k?void 0:k.roomQualityAverageRating,max:5})]}),!z&amp;&amp;(0,a.jsx)(h.Z,{size:"large",iconRight:"chevron-right",onClick:()=&gt;L(!0),className:"flex mt-5 mx-auto lg:mx-0",children:(0,a.jsx)(r.Z,{id:"common.seeMore"})})]})]}),(0,a.jsxs)("div",{className:"mt-6 lg:mt-0 lg:col-start-6 lg:col-end-13",children:[(null===(Z=W.review)||void 0===Z?void 0:Z.acceptedReviewsCount)&amp;&amp;(null===(C=W.review)||void 0===C?void 0:C.acceptedReviewsCount)&gt;0&amp;&amp;(0,a.jsx)("div",{className:"title3 uppercase",children:(0,a.jsx)(r.Z,{id:"hotel.reviews_with_comment.total.count",values:{count:null===(P=W.review)||void 0===P?void 0:P.acceptedReviewsCount}})}),(0,a.jsxs)("div",{children:[!B.isLoading&amp;&amp;(null===(F=B.data)||void 0===F?void 0:F.pages)&amp;&amp;(null===(E=B.data)||void 0===E?void 0:E.pages.length)&gt;0&amp;&amp;(null===(_=B.data)||void 0===_?void 0:null===(D=_.pages[0])||void 0===D?void 0:null===(A=D.pagination)||void 0===A?void 0:A.total)&gt;0&amp;&amp;(0,a.jsx)("div",{className:"lg:flex-1",children:B.data.pages.map((e,s)=&gt;(0,a.jsx)(i.Fragment,{children:e.reviews.map((t,l)=&gt;(0,a.jsxs)(i.Fragment,{children:[(0,a.jsx)(p.Z,{rating:t.rating,max:5,firstname:t.guestFirstName,date:t.date,children:t.guestComment}),(0,a.jsx)("hr",{className:(0,o.Z)("border-none bg-shadow-black-10 h-[1px] my-6",s+1===e.reviews.lenght&amp;&amp;"hidden")})]},"hotel-review-"+l))},"group-review-".concat(s)))}),!B.isLoading&amp;&amp;!!(null===(q=B.data)||void 0===q?void 0:q.pages)&amp;&amp;(null===(R=B.data)||void 0===R?void 0:R.pages.length)&gt;0&amp;&amp;(null===(I=B.data.pages[0].pagination)||void 0===I?void 0:I.total)&lt;=0&amp;&amp;(0,a.jsx)("div",{className:"flex-1 mt-12 text-gray-500 text-center",children:(0,a.jsx)(r.Z,{id:"hotel.reviews.empty"})}),(null===(M=B.data)||void 0===M?void 0:M.pages.length)===0&amp;&amp;(0,a.jsx)("div",{className:"bg-ds-midday-yellow-40  text-center body2 rounded-20 p-10",children:(0,a.jsx)(r.Z,{id:"hotel.reviews.noComments"})})]}),B.hasNextPage&amp;&amp;(0,a.jsx)("div",{className:"flex justify-center mt-8",children:(0,a.jsx)(h.Z,{onClick:()=&gt;B.fetchNextPage(),size:"large",iconRight:"chevron-down",disabled:!B.hasNextPage||!!B.isFetchingNextPage,children:B.isFetchingNextPage?S.formatMessage({id:"common.loading"}):B.hasNextPage?S.formatMessage({id:"hotel.reviews.see.more"}):S.formatMessage({id:"hotel.reviews.no.more"})})})]})]})}},8257:function(e,s,t){t.d(s,{Z:function(){return w}});var a=t(85893),i=t(67294),l=t(86010),n=t(44012),o=t(5152),c=t.n(o),r=t(30951),d=t(16937),m=t(10043),h=t(62511),x=t(35824),u=t(75123),p=t(7209),f=t(82856),j=t(65569),g=t(52757),v=t(90813);let b=c()(()=&gt;t.e(2019).then(t.bind(t,22019)),{loadableGenerated:{webpack:()=&gt;[22019]},ssr:!1});function w(e){var s,t,o;let{hotelId:c,hotelName:w,hotelSlug:y,hotel:N,buttonsType:k="secondary",displaySize:Z="responsive"}=e,[C,P]=(0,i.useState)(!1),[F,E]=(0,i.useState)(),{user:A}=(0,f.Z)(),D=(0,u.Z)([u.md],[!0],!1),_=(0,i.useRef)(null),{favorites:q,addFavorite:R,removeFavorite:I}=(0,x.Z)(),M=()=&gt;{P(!C)},T=()=&gt;{if(q.data&amp;&amp;q.data.includes(c))1===q.data.length&amp;&amp;E(void 0),I({hotelId:c});else{let e=q.data&amp;&amp;q.data.length&gt;0;R({hotelIds:[c]}),N&amp;&amp;j.y5(N,"hotel_page"),e||(null==A?void 0:A.customer)||E(w)}};return(0,a.jsxs)("div",{ref:_,className:"relative flex",children:[(0,a.jsxs)("div",{className:(0,l.Z)("flex gap-x-3","responsive"===Z&amp;&amp;"md:gap-x-0"),children:["secondary"===k&amp;&amp;(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsxs)(r.Z,{onClick:M,id:"js-hotel-photos-share-button",isOnlyIcon:!0,size:"small",children:[(0,a.jsx)(d.Z,{id:"share",className:"w-4 h-4"}),(0,a.jsx)("span",{className:(0,l.Z)("m-auto","responsive"===Z&amp;&amp;"sr-only md:not-sr-only","small"===Z&amp;&amp;"sr-only m-auto"),children:(0,a.jsx)(n.Z,{id:"hotel.share.cta"})})]}),D&amp;&amp;C&amp;&amp;(0,a.jsx)(p.Z,{className:"absolute flex flex-col w-fit shadow-200 top-0 right-0 px-8 bg-white rounded-20 mt-12 space-y-9 py-8 z-10",wrapperRef:_,onClose:()=&gt;P(!1),children:(0,a.jsx)(b,{hotel:N,isMd:D})})]}),"tertiary"===k&amp;&amp;(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsxs)(m.Z,{onClick:M,id:"js-hotel-photos-share-button",className:"space-x-1",isOnlyIcon:!0,size:"small",children:[(0,a.jsx)(d.Z,{id:"share",className:"w-5 h-5"}),(0,a.jsx)("span",{className:(0,l.Z)("m-auto","responsive"===Z&amp;&amp;"sr-only md:not-sr-only","small"===Z&amp;&amp;"sr-only m-auto"),children:(0,a.jsx)(n.Z,{id:"hotel.share.cta"})})]}),D&amp;&amp;C&amp;&amp;(0,a.jsx)(p.Z,{className:"absolute flex flex-col w-fit shadow-200 top-0 right-0 px-8 bg-white rounded-20 mt-12 space-y-9 py-8 z-10",wrapperRef:_,onClose:()=&gt;P(!1),children:(0,a.jsx)(b,{hotel:N,isMd:D})})]}),"quaternary"===k&amp;&amp;(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsxs)(h.Z,{onClick:M,id:"js-hotel-photos-share-button",className:"space-x-1",size:"small",children:[(0,a.jsx)(d.Z,{id:"share",className:"w-5 h-5"}),(0,a.jsx)("span",{className:(0,l.Z)("m-auto","responsive"===Z&amp;&amp;"sr-only md:not-sr-only","small"===Z&amp;&amp;"sr-only m-auto"),children:(0,a.jsx)(n.Z,{id:"hotel.share.cta"})})]}),D&amp;&amp;C&amp;&amp;(0,a.jsx)(p.Z,{className:"absolute flex flex-col w-fit shadow-200 top-0 right-0 px-8 bg-white rounded-20 mt-12 space-y-9 py-8 z-10",wrapperRef:_,onClose:()=&gt;P(!1),children:(0,a.jsx)(b,{hotel:N,isMd:D})})]}),"secondary"===k&amp;&amp;(0,a.jsxs)(r.Z,{onClick:T,id:"js-hotel-photos-favorite-button",size:"small",isOnlyIcon:!0,children:[(null===(s=q.data)||void 0===s?void 0:s.includes(c))?(0,a.jsx)(d.Z,{id:"solid-heart",className:"w-5 h-5 text-watermeloon"}):(0,a.jsx)(d.Z,{id:"heart",className:"w-5 h-5"}),(0,a.jsx)("span",{className:(0,l.Z)("m-auto","responsive"===Z&amp;&amp;"sr-only md:not-sr-only","small"===Z&amp;&amp;"sr-only m-auto"),children:(0,a.jsx)(n.Z,{id:"hotel.like.cta"})})]}),"tertiary"===k&amp;&amp;(0,a.jsxs)(m.Z,{onClick:T,id:"js-hotel-photos-favorite-button",className:"space-x-1",isOnlyIcon:!0,size:"small",children:[(null===(t=q.data)||void 0===t?void 0:t.includes(c))?(0,a.jsx)(d.Z,{id:"solid-heart",className:"w-5 h-5 text-watermeloon"}):(0,a.jsx)(d.Z,{id:"heart",className:"w-5 h-5"}),(0,a.jsx)("span",{className:(0,l.Z)("m-auto","responsive"===Z&amp;&amp;"sr-only md:not-sr-only","small"===Z&amp;&amp;"sr-only m-auto"),children:(0,a.jsx)(n.Z,{id:"hotel.like.cta"})})]}),"quaternary"===k&amp;&amp;(0,a.jsxs)(h.Z,{onClick:T,id:"js-hotel-photos-favorite-button",className:"space-x-1",size:"small",children:[(null===(o=q.data)||void 0===o?void 0:o.includes(c))?(0,a.jsx)(d.Z,{id:"solid-heart",className:"w-5 h-5 text-watermeloon"}):(0,a.jsx)(d.Z,{id:"heart",className:"w-5 h-5"}),(0,a.jsx)("span",{className:(0,l.Z)("m-auto","responsive"===Z&amp;&amp;"sr-only md:not-sr-only","small"===Z&amp;&amp;"sr-only m-auto"),children:(0,a.jsx)(n.Z,{id:"hotel.like.cta"})})]})]}),(0,a.jsxs)(g.Z,{show:!D&amp;&amp;C,onClose:M,children:[(0,a.jsx)("h2",{className:"title4 mb-12",children:"Partager"}),(0,a.jsx)("div",{className:"space-y-12",children:(0,a.jsx)(b,{hotel:N,isMd:D,onClick:M})})]}),F&amp;&amp;(0,a.jsx)(v.Z,{hotelName:F,hotelSlug:y,show:!!(F&amp;&amp;""!==F),onClose:()=&gt;E(void 0)})]})}},21169:function(e,s,t){t.d(s,{Z:function(){return m}});var a=t(85893),i=t(67294),l=t(86896),n=t(44012),o=t(16937),c=t(22535),r=t(67126),d=t(30497);function m(e){let{specificConditions:s,equipmentsWithClosingInformation:t,equipmentsWithSeasonalClosing:m,...h}=e,x=(0,l.Z)(),u=(0,c.Z)(s),{lang:p}=(0,d.Jr)(),f=(0,i.useMemo)(()=&gt;null!==s.depositType&amp;&amp;x.formatMessage({id:"hotel.specificCondition.deposit.".concat(s.depositType).concat(null!==s.depositAmountType?".".concat(s.depositAmountType):"")},"percent"===s.depositAmountType?{percent:100*s.depositPercentage}:{amount:(0,a.jsx)(r.W,{price:s.depositAmount,noFraction:!0})}),[u,p]);return(0!==u.length||0!==s.translation.length)&amp;&amp;(f||null!==s.isCashRefused||0!==t.length)?(0,a.jsxs)("div",{className:"my-5 md:mt-0 md:mb-14",...h,children:[(0,a.jsx)("h2",{className:"mb-4 md:mb-8 title3 uppercase",children:(0,a.jsx)(n.Z,{id:"hotel.specificCondition.title"})}),(0,a.jsxs)("div",{className:"flex flex-col space-y-4",children:[null!==s.isCashRefused&amp;&amp;(0,a.jsxs)("div",{className:"flex-col space-y-3",children:[(0,a.jsxs)("div",{className:"flex flex-row space-x-3",children:[(0,a.jsx)("div",{children:(0,a.jsx)(o.Z,{id:"credit-card",className:"w-6 h-6 fill-current text-purple-dawn"})}),(0,a.jsx)("div",{children:(0,a.jsx)("p",{className:"title6",children:(0,a.jsx)(n.Z,{id:"hotel.specificCondition.sectionPaymentMethod"})})})]}),(0,a.jsx)("ul",{className:"list-disc list-inside space-y-1 text-shadow-black-80 body3 ml-2",children:(0,a.jsx)("li",{children:s.isCashRefused?(0,a.jsx)(n.Z,{id:"hotel.specificCondition.nocash"}):(0,a.jsx)(n.Z,{id:"hotel.specificCondition.cashaccepted"})})})]}),(t&amp;&amp;t.length&gt;0||m&amp;&amp;m.length&gt;0)&amp;&amp;(0,a.jsxs)("div",{className:"flex flex-col space-y-4",children:[(0,a.jsxs)("div",{className:"flex flex-row space-x-3",children:[(0,a.jsx)("div",{children:(0,a.jsx)(o.Z,{id:"square-key",className:"w-6 h-6 fill-current text-purple-dawn"})}),(0,a.jsx)("div",{children:(0,a.jsx)("p",{className:"title6",children:(0,a.jsx)(n.Z,{id:"hotel.specificCondition.sectionAmenitiesSpecialClosing"})})})]}),(0,a.jsxs)("ul",{className:"list-disc list-inside space-y-1 pl-2 text-shadow-black-80 body3 ml-2",children:[t&amp;&amp;t.length&gt;0&amp;&amp;t.map(e=&gt;{var s,t;return(0,a.jsx)("li",{children:x.formatMessage({id:"hotel.specialclosure.closed"},{name:e.name,startDate:x.formatDate(null===(s=e.openingClosingHours)||void 0===s?void 0:s.specialClosure.startDate,{timeZone:"utc",day:"numeric",month:"short",year:"numeric"}),endDate:x.formatDate(null===(t=e.openingClosingHours)||void 0===t?void 0:t.specialClosure.endDate,{timeZone:"utc",day:"numeric",month:"short",year:"numeric"})})},"equipment-".concat(e.id))}),m&amp;&amp;m.length&gt;0&amp;&amp;m.map(e=&gt;{var s,t;return(0,a.jsx)("li",{children:x.formatMessage({id:"hotel.seasonalClosings.closed"},{name:e.name,startDate:x.formatDate(null===(s=e.seasonalClosure)||void 0===s?void 0:s.startDate,{timeZone:"utc",day:"numeric",month:"short",year:"numeric"}),endDate:x.formatDate(null===(t=e.seasonalClosure)||void 0===t?void 0:t.endDate,{timeZone:"utc",day:"numeric",month:"short",year:"numeric"})})},"equipment-".concat(e.id))})]})]}),f&amp;&amp;(0,a.jsxs)("div",{className:"flex flex-col space-y-4",children:[(0,a.jsxs)("div",{className:"flex flex-row space-x-3",children:[(0,a.jsx)("div",{children:(0,a.jsx)(o.Z,{id:"database",className:"w-6 h-6 fill-current text-purple-dawn"})}),(0,a.jsx)("div",{children:(0,a.jsx)("p",{className:"title6",children:(0,a.jsx)(n.Z,{id:"hotel.specificCondition.sectionDepositInformation"})})})]}),(0,a.jsx)("ul",{className:"list-disc list-inside space-y-1 text-shadow-black-80 body3 ml-2",children:(0,a.jsx)("li",{children:f})})]})]})]}):null}},22698:function(e,s,t){var a=t(85893),i=t(11163);t(67294);var l=t(62511),n=t(44012),o=t(29082),c=t(16937),r=t(96026),d=t.n(r),m=t(67126),h=t(8257),x=t(7187);s.Z=e=&gt;{let{hotel:s,scrollToRef:t,openGalleryPhoto:r}=e,u=(0,i.useRouter)();return(0,a.jsxs)("div",{className:"sticky top-24 float-right p-6 rounded-2xl w-full",style:{boxShadow:"0px 4px 12px #00000014"},children:[(0,a.jsx)("h2",{className:"font-bold text-2xl text-shadow-black mb-4 line-clamp-3",children:s.name}),(0,a.jsxs)("div",{className:"flex flex-row flex-wrap justify-between mb-3",children:[(0,a.jsx)("span",{className:"my-auto inline-flex pt-2",children:d()(s.starRating).map(e=&gt;(0,a.jsx)(c.Z,{id:"solid-star",className:"h-4 w-4"},"star-"+e))}),(0,a.jsx)(h.Z,{hotel:s,hotelId:s.id,hotelName:s.name,hotelSlug:"/hotels/".concat(s.slug).concat(u.query.checkinDate?"?checkinDate=".concat(u.query.checkinDate):""),buttonsType:"quaternary"})]}),(0,a.jsxs)("div",{className:"relative mb-5",children:[(0,a.jsx)("div",{children:s.photos.length&gt;0&amp;&amp;(0,a.jsx)(x.Z,{className:"object-cover rounded-xl w-full h-56",src:s.photos[0].normal,alt:s.name,width:440,height:224})}),(0,a.jsxs)(l.Z,{id:"js-hotel-photos-see-all",onClick:r,size:"small",className:"absolute gap-x-1 bottom-4 right-4 p-3 font-medium text-xs text-shadow-black",children:[(0,a.jsx)(c.Z,{id:"solid-grid",className:"h-4 w-4"}),(0,a.jsx)(n.Z,{id:"hotel.photos.gallery.cta"})]})]}),(0,a.jsxs)("div",{className:"flex flex-row justify-between space-x-2",children:[s.pricingInformation&amp;&amp;(s.pricingInformation.minimumOfferPriceWithoutBookingFees.amount&gt;0||s.pricingInformation.minimumOfferPrice.amount&gt;0)&amp;&amp;(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)("span",{className:"text-xs text-shadow-black-60",children:(0,a.jsx)(n.Z,{id:"common.from.price"})}),(0,a.jsx)("span",{className:"font-extrabold text-3xl text-right text-shadow-black",children:(0,a.jsx)(m.W,{price:s.showPricesWithoutBookingFees?s.pricingInformation.minimumOfferPriceWithoutBookingFees:s.pricingInformation.minimumOfferPrice,noFraction:!0})})]}),(0,a.jsx)(o.Z,{onClick:()=&gt;t("addAnchor"),children:(0,a.jsx)(n.Z,{id:"hotel.cta.sticky.book"})})]})]})}},93507:function(e,s,t){t.d(s,{Z:function(){return r}});var a=t(85893),i=t(67294),l=t(6638),n=t(90018),o=t(65569),c=t(753);function r(e){var s;let{hotel:t,hasGoogleTagTrigger:r,title:d}=e,{data:m,isSuccess:h}=(0,l.f)({hotelId:t.id,lat:t.position.lat.toString(),lng:t.position.lon.toString()}),{geoloc:x}=(0,c.Z)();return(0,i.useEffect)(()=&gt;{m&amp;&amp;h&amp;&amp;r&amp;&amp;o.hW({hotels:m.hotels,eventOrigin:"hotel_page",currentPathname:location.pathname,pageTypeContext:"product",nameContext:t.name,geoloc:x.data})},[m,h,r]),(0,a.jsxs)("aside",{id:"js-hotel-suggestion",children:[(0,a.jsx)("h2",{className:"title3 uppercase mb-4 md:mb-4 text-shadow-black",children:d}),(0,a.jsx)("div",{className:"py-5 flex justify-between lg:overflow-x-visible -mx-5 md:mx-0 pr-5 md:pr-0 overflow-x-auto scrollbar-hide snap-x-mand",children:null==m?void 0:null===(s=m.hotels)||void 0===s?void 0:s.map((e,s)=&gt;(0,a.jsx)("div",{className:"flex-[0_0_80%] lg:flex-[0_0_33.33%] lg:w-1/3 w-[90%] md:w-1/2 md:flex-[0_0_50%] md:first:pl-0 pl-5 snap-align-center snap-stop-always",id:"hotel-suggestions-card-hotel-".concat(e.id),children:(0,a.jsx)(n.Z,{index:s,hotel:e,photoMedium:!0,isOnHotelPage:!0})},"hotelcard-"+e.id))})]})}},16887:function(e,s,t){t.d(s,{Z:function(){return o}});var a=t(85893);t(67294);var i=t(44012),l=t(86010),n=t(7187);function o(e){let{highlights:s,classes:t,isSmallTypo:o,...c}=e;return(0,a.jsxs)("section",{...c,className:"p-0 md:p-6 md:rounded-10 md:shadow-100 h-full ".concat(t),children:[(0,a.jsx)("h2",{className:(0,l.Z)(" mb-4",o?"title4":"title3 uppercase"),children:(0,a.jsx)(i.Z,{id:"hotel.welike.title"})}),(0,a.jsx)("div",{children:(0,a.jsx)("ul",{className:"flex flex-col space-y-4 md:space-y-3",children:s.map(e=&gt;"social-proof"===e.category?null:(0,a.jsxs)("li",{className:(0,l.Z)("grid grid-cols-12 gap-2","default"!==e.segment&amp;&amp;"hidden","js-we-like-item-segment-"+e.segment),children:[(0,a.jsx)("div",{className:"col-span-1 pt-1",children:(0,a.jsx)(n.Z,{src:"/"+e.icon,width:17,height:17,alt:e.category})}),(0,a.jsxs)("div",{className:"col-span-11 flex flex-col",children:[(0,a.jsx)("span",{className:"md:hidden title6 ",children:(0,a.jsx)(i.Z,{id:"hotel.welike.".concat(e.category,".title")})}),(0,a.jsx)("span",{className:(0,l.Z)(" text-shadow-black-80",o?"body3":"body2"),dangerouslySetInnerHTML:{__html:e.translations}})]})]},"highlight-segment-"+e.id))})})]})}},96573:function(e,s,t){t.d(s,{Z:function(){return sd}});var a,i,l,n,o,c,r,d,m,h,x,u,p,f,j=t(85893),g=t(67294),v=t(11163),b=t(86896),w=t(44012),y=t(67204),N=t(86010),k=t(63290),Z=t(61661),C=t(93507),P=t(10253),F=t(65569),E=t(85325),A=t(75123);t(71635),t(64070);var D=t(10043),_=t(16937),q=t(22980),R=t(87633),I=t(7209),M=t(5152),T=t.n(M),S=t(87891),O=t(30497),W=t(80805),B=t(30037),z=t(89762);let L=T()(()=&gt;Promise.all([t.e(286),t.e(4208)]).then(t.bind(t,30286)).then(e=&gt;e.Calendar),{loadableGenerated:{webpack:()=&gt;[30286]},ssr:!1,loading:()=&gt;(0,j.jsx)("p",{children:"Loading..."})});var H=e=&gt;{let{lang:s}=(0,O.Jr)(),[t]=(0,k.U8)(),a=(0,z.t)(),i=(0,S.Ye)(e.hotelId,e.offerId,s,e.bookingCurrencyCode?e.bookingCurrencyCode:t,{keepPreviousData:!0,staleTime:6e4,cacheTime:6e4}),l=(0,A.Z)([A.md],[{isFullscreen:!1,showMonthArrow:!0,enableScroll:!1,orientation:"horizontal"}],{isFullscreen:!0,showMonthArrow:!1,enableScroll:!0,orientation:"vertical"}),n=s=&gt;{if("success"===i.status&amp;&amp;i.data){let t=(0,y.default)(s,"yyyy-MM-dd");if(i.data[t])return e.showPricesWithoutBookingFees?i.data[t].priceWithoutBookingFees:i.data[t].price}return{amount:0,currency:"EUR",subunitDivisor:100}},o=e=&gt;{if("success"===i.status&amp;&amp;i.data){let s=(0,y.default)(e,"yyyy-MM-dd");if(i.data[s]&amp;&amp;i.data[s].price&amp;&amp;0!==i.data[s].price.amount)return!0}return!1};return i.isLoading?(0,j.jsx)("div",{className:"flex justify-center items-center md:shadow-md md:p-3 md:rounded-2xl bg-white",style:{width:"356px",height:"346px"},children:(0,j.jsx)(B.Z,{className:"animate-spin",width:40,height:40})}):i.isSuccess&amp;&amp;i.data?(0,j.jsx)(L,{className:(0,N.Z)(l.orientation),locale:(0,W.Z)(s),weekStartsOn:["en-US","ar-QA","ar-BH","en-AE"].includes(a.locale)?0:1,date:e.date,shownDate:e.date,onChange:e.showPrice?s=&gt;{o(s)&amp;&amp;e.onSelectDate&amp;&amp;e.onSelectDate(s,n(s))}:s=&gt;{e.onDateChange&amp;&amp;e.onDateChange(s,n(s))},disabledDates:Object.keys(i.data).filter(s=&gt;!i.data||(e.showPrice?"closed"===i.data[s].status||"request"===i.data[s].status:"closed"===i.data[s].status)).map(e=&gt;(0,q.Z)(e)),disabledDay:()=&gt;0===Object.keys(i.data).length,minDate:(0,R.default)(new Date,0),maxDate:(0,q.Z)(Object.keys(i.data)[Object.keys(i.data).length-1]),monthDisplayFormat:"MMMM yyyy",weekdayDisplayFormat:"EEEEEE",direction:l.orientation,scroll:{enabled:l.enableScroll,monthHeight:"100%",calendarHeight:"100%"},showMonthArrow:l.showMonthArrow&amp;&amp;Object.keys(i.data).length&gt;0,showMonthAndYearPickers:!1,showPreview:!1,dayContentRenderer:function(e){return(0,j.jsx)("div",{className:"h-full w-full",children:(0,j.jsx)("span",{className:"text-lg",children:e.getDate()})})}}):null};function U(e){let{hotelId:s,hotelName:t,offerId:a,defaultDate:i,onChange:l,isOpen:n,onOpen:o,onClose:c,onNextDay:r,onPreviousDay:d,isLoading:m,isDisabled:h,showPricesWithoutBookingFees:x}=e,u=(0,b.Z)(),p=(0,g.useRef)(null),f=(0,A.Z)([A.md],[!1],!0),v=i&amp;&amp;/^[0-9]{4}-[0-9]{2}-[0-9]{2}$/.test(i)&amp;&amp;i&gt;=new Date().toISOString().slice(0,10),[k,Z]=(0,g.useState)(i&amp;&amp;v?(0,q.Z)(i):null),C=(0,A.Z)([A.md],[{isFullscreen:!1,showMonthArrow:!0,enableScroll:!1,orientation:"horizontal"}],{isFullscreen:!0,showMonthArrow:!1,enableScroll:!0,orientation:"vertical"});function F(e,s){Z(e),l&amp;&amp;l(e||void 0,s)}function E(){n||o(),n&amp;&amp;c()}return(0,g.useEffect)(()=&gt;{Z(i&amp;&amp;v?(0,q.Z)(i):null)},[i]),(0,g.useEffect)(()=&gt;(C.isFullscreen&amp;&amp;n?document.body.classList.add("overflow-y-hidden"):C.isFullscreen&amp;&amp;!n&amp;&amp;document.body.classList.remove("overflow-y-hidden"),()=&gt;{document.body.classList.remove("overflow-y-hidden")}),[C,n]),(0,j.jsxs)("div",{ref:p,className:"flex flex-col items-center",children:[(0,j.jsxs)("div",{className:"py-3 flex justify-center items-center rounded-10 w-full md:w-fit px-5 md:px-0",children:[(0,j.jsxs)(D.Z,{as:"button",isOnlyIcon:!0,onClick:function(){d(),F(k?(0,R.default)(k,-1):null)},size:"medium",disabled:!k||(0,y.default)(k,"yyyy-MM-dd")&lt;new Date().toISOString().slice(0,10),children:[(0,j.jsx)("span",{className:"sr-only",children:"Previous day"}),(0,j.jsx)(_.Z,{id:"chevron-left",className:(0,N.Z)("w-5 h-5",(!k||(0,y.default)(k,"yyyy-MM-dd")&lt;new Date().toISOString().slice(0,10))&amp;&amp;"fill-current text-shadow-black-10")})]}),(0,j.jsxs)(D.Z,{"data-cypress":"hotel-offer-calendar-button",onClick:E,className:"w-[166px] md:w-[220px] mx-3 md:mx-5",size:"medium",children:[(0,j.jsx)(_.Z,{id:"calendar",className:"mr-2 h-6 w-6"}),f?k?u.formatDate(k,{day:"2-digit",month:"short"}):u.formatMessage({id:"common.calendar.noDate"}):k?u.formatDate(k,{day:"2-digit",month:"long"}):u.formatMessage({id:"common.calendar.noDate"})]}),(0,j.jsxs)(D.Z,{as:"button",onClick:function(){r(),F(k?(0,R.default)(k,1):(0,R.default)(new Date,1))},size:"medium",isOnlyIcon:!0,children:[(0,j.jsx)("span",{className:"sr-only",children:"Next day"}),(0,j.jsx)(_.Z,{id:"chevron-right",className:"w-5 h-5"})]})]}),n&amp;&amp;(0,j.jsxs)(I.Z,{id:"js-hotel-date",wrapperRef:p,onClose:c,className:"fixed md:absolute md:shadow-100 md:p-3 md:mt-24 md:rounded-2xl bg-white z-40 md:inset-auto inset-0 flex flex-col",children:[h&amp;&amp;(0,j.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-white/70 z-50 rounded-xl",children:m&amp;&amp;(0,j.jsx)(P.Z,{})}),(0,j.jsxs)("div",{className:"md:hidden text-gray-700 font-bold text-lg flex items-center px-5 py-3",children:[(0,j.jsxs)("button",{onClick:E,className:"w-5 h-5",children:[(0,j.jsx)(_.Z,{id:"chevron-left",className:"w-5 h-5 fill-current"}),(0,j.jsx)("span",{className:"sr-only",children:(0,j.jsx)(w.Z,{id:"common.back"})})]}),(0,j.jsx)("span",{className:"ml-6",children:(0,j.jsx)(w.Z,{id:"common.calendar.title"})})]}),(0,j.jsx)("div",{className:"md:hidden text-gray-400 px-5 py-3",children:t}),(0,j.jsx)("div",{className:"overflow-y-auto flex-1 m-auto flex flex-col items-center w-full",children:(0,j.jsx)(H,{hotelId:s,offerId:a,onClose:c,date:k,onDateChange:F,showPrice:!1,showPricesWithoutBookingFees:x})})]})]})}var G=t(88767),V=t(41609),Q=t.n(V),J=t(84187),K=t(95954),Y=t(82856),X=t(9632),$=t(34766),ee=t(41664),es=t.n(ee),et=t(29082);function ea(e){return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)("div",{className:"text-shadow-black title2 mb-3.5 md:mb-2.5",children:(0,j.jsx)(w.Z,{id:"hotel.offerList.availabilities.empty"})}),(0,j.jsx)("div",{className:"body1 text-shadow-black-80 mb-6 md:mb-5",children:(0,j.jsx)(w.Z,{id:"hotel.offers.noOffer.moreHotels"})}),(0,j.jsx)("div",{className:"flex flex-row flex-wrap justify-center",children:(0,j.jsx)(es(),{href:e.searchUrl,locale:!1,passHref:!0,legacyBehavior:!0,children:(0,j.jsx)(et.Z,{as:"a",children:(0,j.jsx)(w.Z,{id:"hotel.offers.findHotel"})})})})]})}var ei=t(67126);function el(e){var s;let{nextAvailabilities:t,onClickDate:a}=e,{lang:i}=(0,O.Jr)();return(0,j.jsxs)("div",{children:[(0,j.jsx)("div",{className:"title2 text-shadow-black mb-3.5 md:mb-2.5",children:(0,j.jsx)(w.Z,{id:"hotel.offers.noOfferAvailable"})}),(0,j.jsx)("div",{className:"mb-6 md:mb-5 body1 text-shadow-black-80",children:(0,j.jsx)(w.Z,{id:"hotel.offers.noOffer.nextOffer",values:{styled:e=&gt;(0,j.jsx)("span",{className:"font-semibold text-purple-dawn",children:e}),date:(0,y.default)(new Date(t.date[0]),"dd MMM",{locale:(0,W.Z)(i)}),price:(0,j.jsx)(ei.W,{price:t.price})}})}),(0,j.jsx)("div",{className:"flex flex-col md:flex-row justify-center space-y-2 md:space-y-0 md:space-x-6",children:null==t?void 0:null===(s=t.date)||void 0===s?void 0:s.slice(0,4).map((e,s)=&gt;(0,j.jsx)(et.Z,{onClick:()=&gt;a(new Date(e)),className:(0,N.Z)(s&gt;2&amp;&amp;"hidden md:block"),children:(0,j.jsx)("a",{children:(0,y.default)(new Date(e),"dd MMM",{locale:(0,W.Z)(i)})})},"button-availability-".concat(s)))})]})}var en=t(37888),eo=t(56198),ec=t(54490),er=t(49377);function ed(e){let s=e.isDetailedView?4:0,t=(0,b.Z)(),a=(0,E.G)([A.md],[!1],!0);return(0,j.jsxs)("div",{className:(0,N.Z)(!e.isDetailedView&amp;&amp;"py-2"),children:[(0,j.jsx)("div",{className:(0,N.Z)(e.isDetailedView?"text-shadow-black mb-5 md:mb-6":"lg:block text-xs font-medium pb-2",e.isTitle3?"title3 uppercase":"caption-md-focus"),children:(0,j.jsx)(w.Z,{id:"common.included.in.offer"})}),(0,j.jsxs)("div",{className:(0,N.Z)(e.isDetailedView||a?"grid grid-cols-2 gap-x-3":"lg:mb-7"),children:[e.isPoolIncluded&amp;&amp;(0,j.jsx)(em,{name:t.formatMessage({id:"common.filter.poolIncluded"}),description:"",isDetailedView:e.isDetailedView,iconUrl:"addons/icons/pool.svg"}),e.amenitiesIncluded&amp;&amp;e.amenitiesIncluded.map(s=&gt;(0,j.jsx)(em,{name:t.formatMessage({id:"common.accessIncluded.".concat(s.slug)}),description:"",isDetailedView:e.isDetailedView,iconUrl:"equipments/equipments-purple-dawn/".concat(s.icon)},"amenity"+s.id)),e.packagedAddons.map(t=&gt;t.addonList?t.addonList.map((a,i)=&gt;{if(3!=s)return s++,(0,j.jsx)(em,{name:a.name,iconUrl:"addons/icons/".concat(a.iconName),description:a.description,isDetailedView:e.isDetailedView},t.id+"_"+i)}):"")]})]})}function em(e){return(0,j.jsxs)("div",{className:(0,N.Z)("flex flex-row pb-2",!e.isDetailedView&amp;&amp;"items-center"),children:[(0,j.jsx)("img",{className:(0,N.Z)("lg:my-1 mr-1",e.isDetailedView?"w-6 h-6":"w-4 h-4"),src:"".concat(J.De.MEDIA_HOST,"/").concat(e.iconUrl),alt:e.name}),e.isDetailedView?(0,j.jsxs)("div",{className:"my-auto ml-3",children:[(0,j.jsx)("div",{className:"body3 text-purple-dawn",children:e.name}),(0,j.jsx)("div",{className:"body4 text-shadow-black-60 whitespace-pre-line",dangerouslySetInnerHTML:{__html:e.description}})]}):(0,j.jsx)("div",{className:"body4 text-purple-dawn line-clamp-1",children:e.name})]})}var eh=t(21190),ex=t(50979),eu=t(97335),ep=t(22535),ef=t(21659),ej=t(6795),eg=t(70542),ev=t(92833),eb=t(49465);function ew(e){let s=e.showPricesWithoutBookingFees?e.ratePlanPolicy.slotPriceWithPolicyReduction.baseAmount:e.ratePlanPolicy.slotPriceWithPolicyReduction.withBookingFeesAmount;return(0,j.jsxs)("div",{onClick:()=&gt;{e.onClick&amp;&amp;e.onClick(e.value)},className:(0,N.Z)("flex flex-col border p-3 rounded-10 h-[180px] cursor-pointer",e.selected&amp;&amp;"border-shadow-black-60",!e.selected&amp;&amp;"border-shadow-black-30",e.isDisabled&amp;&amp;"col-start-3"),children:[(0,j.jsxs)("div",{className:"flex gap-2 mb-4 h-10",children:[!e.isDisabled&amp;&amp;(0,j.jsx)(eg.Z,{small:!0,checked:!!e.selected,onChange:()=&gt;{e.onClick&amp;&amp;e.onClick(e.value)}}),(0,j.jsxs)("span",{className:"caption-lg-focus",children:["free-cancellation"===e.ratePlanPolicy.cancellationPolicy.type&amp;&amp;(0,j.jsx)(w.Z,{id:"hotel.offerCard.cancellation.freeCancellation"}),"flex-cancellation"===e.ratePlanPolicy.cancellationPolicy.type&amp;&amp;(0,j.jsx)(w.Z,{id:"hotel.offerCard.cancellation.flexible"}),"none"===e.ratePlanPolicy.cancellationPolicy.type&amp;&amp;(0,j.jsx)(w.Z,{id:"hotel.offerCard.cancellation.nanr"})]})]}),(0,j.jsx)(ev.Z,{ratePlanPolicy:e.ratePlanPolicy,bookingFeesPrice:e.bookingFeesPrice,hasPromoCode:e.hasPromoCode,onRequestWaitingTime:e.onRequestWaitingTime,showPricesWithoutBookingFees:e.showPricesWithoutBookingFees}),(0,j.jsxs)("div",{className:"text-right justify-self-end",children:[e.ratePlanPolicy.reductionAmount.amount&gt;0&amp;&amp;(0,j.jsxs)("span",{className:"font-extrabold text-shadow-black-60 line-through pr-1 js-abtest-flex-price-A",children:[(0,j.jsx)(ei.W,{price:(0,eb.Z)(e.ratePlanPolicy.reductionAmount,s),noFraction:!0})," "]}),(0,j.jsx)("span",{className:"text-2xl font-bold whitespace-nowrap",children:(0,j.jsx)(ei.W,{price:s,noFraction:!0})})]}),(0,j.jsx)("div",{className:"text-right flex justify-end js-abtest-flex-price-B hidden",children:e.ratePlanPolicy.comparativeReductionPercentage&lt;-20?(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)("div",{className:"js-hotel-offerlist-offercard-discount-percentage px-2 py-1.5 text-white text-[12px] font-bold rounded-full bg-shadow-black h-5 flex flex-col justify-center",children:[(0,j.jsx)(ec.BK,{value:e.ratePlanPolicy.comparativeReductionPercentage,maximumFractionDigits:0}),"%"]}),(0,j.jsxs)("div",{className:"js-hotel-offerlist-offercard-comparative-price text-shadow-black-40 text-[12px] ml-1 line-through my-auto",children:[(0,j.jsx)(ei.W,{price:e.ratePlanPolicy.comparativePrice,noFraction:!0}),(0,j.jsx)(w.Z,{id:"hotel.offerCard.comparativePrice.label"})]})]}):(0,j.jsx)("div",{className:"h-4"})})]})}function ey(e){return(0,j.jsx)("div",{className:(0,N.Z)("flex-1 flex gap-4 justify-end",1===e.ratePlanPolicies.length&amp;&amp;"[&amp;&gt;*]:w-64",2===e.ratePlanPolicies.length&amp;&amp;"[&amp;&gt;*]:w-64",e.ratePlanPolicies.length&gt;2&amp;&amp;"[&amp;&gt;*]:flex-1"),children:e.ratePlanPolicies.map((s,t)=&gt;(0,j.jsx)(ew,{value:t,selected:e.selected===t,onClick:s=&gt;{e.onSelect(s)},ratePlanPolicy:s,showPricesWithoutBookingFees:e.showPricesWithoutBookingFees,bookingFeesPrice:e.bookingFeesPrice,priceAmountFullFlexOffer:e.showPricesWithoutBookingFees?e.ratePlanPolicies[0].slotPriceWithPolicyReduction.baseAmount:e.ratePlanPolicies[0].slotPriceWithPolicyReduction.withBookingFeesAmount,isDisabled:1===e.ratePlanPolicies.length,hasPromoCode:e.hasPromoCode,onRequestWaitingTime:e.onRequestWaitingTime},s.uuid))})}function eN(e){let s=e.showPricesWithoutBookingFees?e.ratePlanPolicies[0].slotPriceWithPolicyReduction.baseAmount:e.ratePlanPolicies[0].slotPriceWithPolicyReduction.withBookingFeesAmount;return(0,j.jsx)("div",{className:(0,N.Z)("space-y-2 py-2"),children:e.ratePlanPolicies.map((t,a)=&gt;(0,j.jsxs)("label",{className:"flex gap-2 items-center cursor-pointer",children:[(0,j.jsx)(eg.Z,{small:!0,checked:e.selected===a,onChange:()=&gt;{e.onSelect(a)}}),(0,j.jsxs)("span",{className:(0,N.Z)("flex-1",e.selected===a&amp;&amp;"caption-md-focus",e.selected!==a&amp;&amp;"caption-md"),children:["free-cancellation"===t.cancellationPolicy.type&amp;&amp;(0,j.jsx)(w.Z,{id:"hotel.offerCard.cancellation.freeCancellation"}),"flex-cancellation"===t.cancellationPolicy.type&amp;&amp;(0,j.jsx)(w.Z,{id:"hotel.offerCard.cancellation.flexible"}),"none"===t.cancellationPolicy.type&amp;&amp;(0,j.jsx)(w.Z,{id:"hotel.offerCard.cancellation.nanr"})]}),(0,j.jsxs)("div",{className:"text-right justify-self-end",children:["free-cancellation"!==t.cancellationPolicy.type&amp;&amp;(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)("span",{className:"font-semibold text-[10px] text-shadow-black-60 whitespace-nowrap line-through mr-1 js-abtest-flex-price-A",children:[(0,j.jsx)(ei.W,{price:s,noFraction:!0})," "]}),(0,j.jsxs)("span",{className:"font-semibold text-[10px] text-smart-blue whitespace-nowrap mr-1 js-abtest-flex-price-B hidden",children:["(-",(0,j.jsx)(ei.W,{price:{amount:s.amount-(e.showPricesWithoutBookingFees?t.slotPriceWithPolicyReduction.baseAmount.amount:t.slotPriceWithPolicyReduction.withBookingFeesAmount.amount),subunitDivisor:s.subunitDivisor,currency:s.currency},noFraction:!0}),")"]})]}),(0,j.jsx)("span",{className:"caption-lg-focus whitespace-nowrap",children:(0,j.jsx)(ei.W,{price:e.showPricesWithoutBookingFees?t.slotPriceWithPolicyReduction.baseAmount:t.slotPriceWithPolicyReduction.withBookingFeesAmount,noFraction:!0})})]})]},t.uuid))})}function ek(e){var s,t,a;let{isOpen:i,hotel:l,checkInDate:n,offer:o,offerPolicies:c,hasPromoCode:r,onClose:d,onBook:m,isLoading:h,isDisabled:x,taxesAndFees:u,selectedRatePlanPolicyIndex:p,setSelectedRatePlanPolicyIndex:f}=e,g=(0,b.Z)();return(0,j.jsx)(ej.default,{show:i,onClose:d,children:(0,j.jsxs)("div",{className:"px-0 md:px-4",children:[(0,j.jsxs)("div",{"data-offerid":o.id,children:[(0,j.jsxs)("div",{id:"js-hotel-offerlist-offer-details-offer-container",className:"border-b border-shadow-black-20 pt-6 md:pt-7",children:[(0,j.jsxs)("div",{className:"flex flex-row mb-5",children:[(0,j.jsx)(eo.Z,{height:32,width:32,className:"my-auto"}),(0,j.jsx)("div",{className:"pl-2 text-xl font-semibold my-auto",children:o.timeslot})]}),(0,j.jsx)("p",{className:"title2 mb-5",children:o.name}),(0,j.jsxs)("div",{className:"flex flex-row mb-8 items-center divide-x-2 divide-shadow-black-20 caption-lg space-x-2",children:[o.surface&amp;&amp;(0,j.jsx)("span",{className:"my-auto caption-lg-focus whitespace-nowrap",children:o.surface}),o.view&amp;&amp;(0,j.jsx)("span",{className:"caption-lg text-shadow-black-80 whitespace-nowrap pl-2",children:g.formatMessage({id:o.view})}),o.bedding&amp;&amp;(0,j.jsx)("span",{className:"caption-lg text-shadow-black-80 whitespace-nowrap pl-2",children:g.formatMessage({id:o.bedding})}),void 0!=o.capacity&amp;&amp;o.capacity&gt;0&amp;&amp;(0,j.jsxs)("span",{className:"flex items-center whitespace-nowrap space-x-2 pl-2",children:[(0,j.jsx)(_.Z,{id:"solid-user",className:"h-4 w-4"}),(0,j.jsxs)("div",{className:"caption-lg text-shadow-black-80",children:["x ",o.capacity]})]})]}),(o.packagedAddons&amp;&amp;o.packagedAddons.length&gt;0||l.isPoolIncluded||o.poolIncluded||o.amenitiesAccessIncluded&amp;&amp;o.amenitiesAccessIncluded.length&gt;0)&amp;&amp;(0,j.jsx)("div",{id:"js-hotel-offerlist-offer-details-packaged-addons-container",className:"border-t border-shadow-black-20 py-8",children:(0,j.jsx)(ed,{amenitiesIncluded:o.amenitiesAccessIncluded,packagedAddons:o.packagedAddons,isPoolIncluded:l.isPoolIncluded||o.poolIncluded,isDetailedView:!0,isTitle3:!0})})]}),(0,j.jsxs)("div",{id:"js-hotel-offerlist-offer-details-equipments-container",className:"border-b border-shadow-black-20 py-8",children:[(0,j.jsx)("p",{className:"title3 uppercase mb-5 md:mb-6",children:(0,j.jsx)(w.Z,{id:"hotel.offerDetail.equipment.title"})}),(0,j.jsx)("div",{className:"flex flex-wrap",children:o.equipments&amp;&amp;o.equipments.map(e=&gt;(0,j.jsxs)("div",{className:"px-1 mb-[18px] lg:mb-6 flex w-1/2",children:[(0,j.jsx)("img",{className:"h-6 w-6",src:"".concat(J.De.MEDIA_HOST,"/equipments/").concat(e.icon),alt:e.displayNames}),(0,j.jsx)("div",{className:"ml-3 body3 text-shadow-black-80",children:e.displayNames})]},"equipment-".concat(e.id)))})]}),o.description&amp;&amp;(0,j.jsxs)("div",{id:"js-hotel-offerlist-offer-details-description-container",className:"border-b border-shadow-black-20 pt-8 pb-3",children:[(0,j.jsx)("p",{className:"title3 uppercase mb-5 md:mb-6",children:(0,j.jsx)(w.Z,{id:"offer.details"})}),(0,j.jsx)(ef.Z,{height:"220px",children:(0,j.jsx)("div",{className:"wysiwyg body3 text-shadow-black-80",dangerouslySetInnerHTML:{__html:o.description}})})]}),o.addons&amp;&amp;o.addons.length&gt;0&amp;&amp;(0,j.jsxs)("div",{id:"js-hotel-offerlist-offer-details-addons-container",className:"pt-6",children:[(0,j.jsx)("p",{className:"title3 uppercase text-shadow-black",children:(0,j.jsx)(w.Z,{id:"hotel.offer.details.add.ons.a.la.carte"})}),(0,j.jsx)("div",{className:"flex",children:(0,j.jsx)(eZ,{items:o.addons})})]}),l.specificConditions&amp;&amp;(0,j.jsx)(eP,{specificConditions:l.specificConditions,hotelEquipments:l.equipments}),u&amp;&amp;((null==u?void 0:null===(s=u.inclusiveTaxesAndFees)||void 0===s?void 0:s.length)&gt;0||(null==u?void 0:null===(t=u.exclusiveTaxesAndFees)||void 0===t?void 0:t.length)&gt;0)&amp;&amp;(0,j.jsx)(eC,{taxesAndFees:(null==u?void 0:u.inclusiveTaxesAndFees.length)&gt;0?u.inclusiveTaxesAndFees:u.exclusiveTaxesAndFees&amp;&amp;(null==u?void 0:null===(a=u.exclusiveTaxesAndFees)||void 0===a?void 0:a.length)&gt;0?u.exclusiveTaxesAndFees:null})]}),(0,j.jsxs)("div",{className:"sticky md:relative bottom-0 bg-white  py-3 border-t border-shadow-black-20",children:[c.length&gt;1&amp;&amp;(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)("div",{className:"hidden md:block w-full",children:(0,j.jsx)(ey,{selected:p,onSelect:e=&gt;{f(e)},ratePlanPolicies:c,showPricesWithoutBookingFees:l.showPricesWithoutBookingFees,bookingFeesPrice:o.pricingInformation.maximumBookingFees,hasPromoCode:r,onRequestWaitingTime:o.reassurances.isOnRequest?o.onRequestWaitingTime:0})}),(0,j.jsxs)("div",{className:"md:hidden w-full",children:[(0,j.jsx)(eN,{showPricesWithoutBookingFees:l.showPricesWithoutBookingFees,ratePlanPolicies:c,selected:p,onSelect:e=&gt;{f(e)}}),(0,j.jsx)("hr",{className:"w-full lg:hidden bg-white mt-2 mb-4"}),(0,j.jsx)(ev.Z,{ratePlanPolicy:c[p],bookingFeesPrice:o.pricingInformation.maximumBookingFees,hasPromoCode:r,onRequestWaitingTime:o.reassurances.isOnRequest?o.onRequestWaitingTime:0,showPricesWithoutBookingFees:l.showPricesWithoutBookingFees}),(0,j.jsx)("hr",{className:"w-full lg:hidden bg-white mt-4 mb-2"})]})]}),(0,j.jsxs)("div",{className:"flex justify-between mb-6",children:[(0,j.jsxs)("div",{className:"inline-flex justify-start items-center text-shadow-black font-semibold text-[15px] md:py-4 lg:w-[280px]",children:[(0,j.jsx)(_.Z,{id:"calendar",className:"h-5 w-5 mr-1 mb-1"}),n?(0,j.jsx)(ec.Ji,{timeZone:"utc",value:new Date("".concat(n)),day:"2-digit",month:"long"}):(0,j.jsx)("p",{className:"text-[12px] md:text-[15px] text-shadow-black-60 my-auto",children:(0,j.jsx)(w.Z,{id:"hotel.offerDetail.sansDate"})})]}),(0,j.jsxs)("div",{className:"flex my-auto space-x-6",children:[c[p].comparativeReductionPercentage&lt;-20&amp;&amp;(0,j.jsx)("div",{className:"js-hotel-offerlist-offercard-discount-price hidden md:flex items-start justify-end",children:c[p].comparativeReductionPercentage&lt;-20?(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(eu.Z,{className:"js-hotel-offerlist-offercard-discount-percentage my-auto",discount:g.formatNumber(c[p].comparativeReductionPercentage,{maximumFractionDigits:0})}),(0,j.jsxs)("div",{className:"js-hotel-offerlist-offercard-comparative-price text-shadow-black-40 text-[12px] ml-3 line-through my-auto",children:[(0,j.jsx)(ei.W,{price:c[p].comparativePrice,noFraction:!0}),(0,j.jsx)(w.Z,{id:"hotel.offerCard.comparativePrice.label"})]})]}):(0,j.jsx)("div",{className:"h-4"})}),(0,j.jsx)("span",{className:"text-right text-shadow-black text-3xl font-extrabold",children:(0,j.jsx)(ei.W,{price:l.showPricesWithoutBookingFees?c[p].slotPriceWithPolicyReduction.baseAmount:c[p].slotPriceWithPolicyReduction.withBookingFeesAmount,noFraction:!0})})]})]}),(0,j.jsxs)(et.Z,{onClick:m,className:"h-10 w-full",disabled:x,children:[!h&amp;&amp;(0,j.jsx)("span",{className:"text-shadow-black",children:(0,j.jsx)(w.Z,{id:"common.button.booked"})}),h&amp;&amp;(0,j.jsx)("span",{children:(0,j.jsx)(P.Z,{})})]})]})]})})}let eZ=e=&gt;{let{items:s}=e,[t,a]=(0,g.useState)(),[i,l]=(0,g.useState)(!1),n=e=&gt;()=&gt;{t===e?(l(!1),a(void 0)):(l(!0),a(e))};return(0,j.jsx)("div",{className:"w-full",children:s.map((e,s)=&gt;{var a;return(0,j.jsxs)("div",{className:"border-b border-b-shadow-black-20 px-6 py-6 md:py-8",children:[(0,j.jsxs)("button",{className:"text-left flex flex-row justify-between w-full",onClick:n(s),children:[(0,j.jsx)("span",{className:" title6",children:(0,j.jsx)(w.Z,{id:e.label})}),(0,j.jsx)(_.Z,{id:i&amp;&amp;t===s?"chevron-up":"chevron-down",className:"h-5 w-5"})]}),i&amp;&amp;t===s&amp;&amp;(0,j.jsx)(eh.M,{initial:!0,children:(0,j.jsx)(ex.E.section,{initial:"collapsed",animate:"open",exit:"collapsed",variants:{open:{height:"auto"},collapsed:{height:0}},transition:{duration:.4,ease:[.04,.62,.23,.98]},children:(0,j.jsx)(ex.E.p,{variants:{collapsed:{opacity:.1},open:{opacity:1}},transition:{duration:.8},className:"list-disc body3 text-shadow-black pb-4",children:null==e?void 0:null===(a=e.addonList)||void 0===a?void 0:a.map((e,s)=&gt;(0,j.jsxs)("div",{children:[(0,j.jsxs)("div",{className:"flex flex-row justify-between body3 text-shadow-black mt-2",children:[(0,j.jsx)("p",{className:"text-ellipsis",children:e.name}),(0,j.jsx)("p",{className:"overflow-visible",children:e.price?(0,j.jsx)(ei.W,{price:e.price,noFraction:!0}):(0,j.jsx)(w.Z,{id:"hotel.offerDetail.offer_include"})})]}),e.description&amp;&amp;(0,j.jsx)("p",{className:"body4 text-shadow-black-60",children:e.description})]},"addon-".concat(s)))})},"content")})]},"addons-".concat(s))})})},eC=e=&gt;{let{taxesAndFees:s}=e,t=(0,b.Z)();return(0,j.jsxs)("div",{className:"border-t border-shadow-black-20 py-6",children:[(0,j.jsx)("p",{className:"title3 uppercase text-shadow-black mb-6",children:t.formatMessage({id:"hotel.offerDetails.taxesAndFees.title"})}),(0,j.jsx)("div",{className:"text-shadow-black-80 body3 mb-4",children:(0,j.jsx)(w.Z,{id:"hotel.dayuse.taxesAndFees.subtitle"})}),(0,j.jsx)("div",{className:"flex flex-col space-y-1",children:null==s?void 0:s.map((e,s)=&gt;(0,j.jsx)("div",{children:(0,j.jsxs)("div",{className:"flex flex-row justify-between pt-1 text-shadow-black-80 body3 md:pr-14",children:[(0,j.jsxs)("p",{className:"text-ellipsis",children:["•"," ",t.formatMessage({id:"".concat(e.name)}),e.unit&amp;&amp;(0,j.jsx)(w.Z,{id:"common.per_person"})]}),(0,j.jsx)("p",{className:"overflow-visible",children:e.price?(0,j.jsx)(ei.W,{price:e.price}):"".concat(e.percentage,"%")})]})},"taxes-and-fees-".concat(s)))})]})};function eP(e){let{specificConditions:s,hotelEquipments:t}=e,a=(0,ep.Z)(s),i=(0,b.Z)();return 0===a.length&amp;&amp;0===(null!=t?t:[]).filter(e=&gt;{var s,t;return!!(null===(t=e.openingClosingHours)||void 0===t?void 0:null===(s=t.specialClosure)||void 0===s?void 0:s.reason)}).length?null:(0,j.jsxs)("div",{className:"py-8",id:"js-hotel-offerlist-offer-details-specific-conditions-container",children:[(0,j.jsx)("p",{className:"title3 uppercase text-shadow-black mb-6",children:(0,j.jsx)(w.Z,{id:"hotel.specificCondition.title"})}),(0,j.jsx)("div",{children:(0,j.jsxs)("ul",{className:"list-disc list-inside ml-2 space-y-1 body3 text-shadow-black-80",children:[a.map((e,s)=&gt;(0,j.jsx)("li",{children:e},"conditions-".concat(s))),t&amp;&amp;t.filter(e=&gt;{var s,t;return!!(null===(t=e.openingClosingHours)||void 0===t?void 0:null===(s=t.specialClosure)||void 0===s?void 0:s.reason)}).map(e=&gt;(0,j.jsx)("li",{children:(0,j.jsx)(w.Z,{id:"hotel.specialclosure.".concat(e.openingClosingHours.specialClosure.reason.toLowerCase().replace(/-+/g,"")),values:{name:e.displayNames,startDate:i.formatDate(e.openingClosingHours.specialClosure.startDate,{timeZone:"utc",day:"numeric",month:"short",year:"numeric"}),endDate:i.formatDate(e.openingClosingHours.specialClosure.endDate,{timeZone:"utc",day:"numeric",month:"short",year:"numeric"})}})},"hotelEquipment-specialclosure-".concat(e.id,"-").concat(e.displayNames)))]})})]})}function eF(e,s){return(0,g.useMemo)(()=&gt;{let t=[];for(let a of s?["flex-cancellation","none","free-cancellation"]:["free-cancellation","flex-cancellation","none"]){let s=e.find(e=&gt;a===e.cancellationPolicy.type);s&amp;&amp;t.push(s)}return t},[e])}var eE=t(30951);function eA(e){let{offer:s,isPoolIncluded:t,onBook:a,taxesAndFees:i,isLoading:l,isDisabled:n,className:o,hotel:c}=e,r=(0,E.G)([A.md],[!1],!0),d=(0,v.useRouter)(),[m,h]=(0,g.useState)(!1),x=eF(s.policies,!!d.query.promocode&amp;&amp;c.isPromoCodeEnabled),[u,p]=(0,g.useState)(0),[f,y]=(0,g.useState)(x[0].cancellationPolicy.type);(0,g.useEffect)(()=&gt;{y(x[0].cancellationPolicy.type)},[x,d.query.promocode,d.query.promotion]);let k=s.packagedAddons&amp;&amp;s.packagedAddons.length&gt;0||s.poolIncluded||t,Z=(0,b.Z)();return(0,j.jsxs)("div",{className:(0,N.Z)(o,"lg:px-0 lg:py-0 mt-6 rounded-20 shadow-100 relative",k?"js-hotel-offerlist-offercard-packaged-offer":"js-hotel-offerlist-offercard-non-packaged-offer"),"data-offer-id":s.id,children:[(0,j.jsx)("hr",{className:"h-10 gradient-generic rounded-b-20 w-full absolute -bottom-2 z-0"}),(0,j.jsxs)("div",{className:"lg:h-auto flex flex-wrap lg:flex-nowrap lg:justify-between lg:bg-white rounded-20 lg:relative",children:[(0,j.jsxs)("div",{className:"js-hotel-offerlist-offercard-info relative pr-3 px-5 py-6 lg:px-6 w-full lg:w-[400px] bg-shadow-black-3 lg:rounded-l-20",children:[(0,j.jsx)("div",{className:"title4 text-shadow-black",children:s.name}),(0,j.jsxs)("div",{className:"flex flex-wrap body4 text-shadow-black-80 md:mt-2 mb-2 items-center",children:[s.surface&amp;&amp;(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)("span",{className:"flex pr-1 items-center",children:s.surface}),(s.view||s.bedding||s.capacity||void 0!=s.childrenCapacity&amp;&amp;s.childrenCapacity&gt;0||null!==s.isSmokingAllowed)&amp;&amp;(0,j.jsx)("span",{className:"flex pr-1 items-center",children:"•"})]}),s.view&amp;&amp;(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)("span",{className:"flex pr-1 items-center",children:Z.formatMessage({id:s.view})}),(s.bedding||s.capacity||void 0!=s.childrenCapacity&amp;&amp;s.childrenCapacity&gt;0||null!==s.isSmokingAllowed)&amp;&amp;(0,j.jsx)("span",{className:"flex pr-1 items-center",children:"•"})]}),s.bedding&amp;&amp;(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)("span",{className:"flex pr-1 items-center",children:Z.formatMessage({id:s.bedding})}),(s.capacity||void 0!=s.childrenCapacity&amp;&amp;s.childrenCapacity&gt;0)&amp;&amp;(0,j.jsx)("span",{className:"flex pr-1 items-center",children:"•"})]}),(0,j.jsx)("div",{className:"flex items-center",children:void 0!=s.capacity&amp;&amp;s.capacity&gt;0&amp;&amp;(0,j.jsxs)("span",{className:"flex pr-1 items-center",children:[(0,j.jsx)(_.Z,{id:"solid-user",className:"h-4 w-4 mb-1"}),"x",s.capacity]})})]}),(s.packagedAddons&amp;&amp;s.packagedAddons.length&gt;0||c.isPoolIncluded||s.poolIncluded||s.amenitiesAccessIncluded&amp;&amp;s.amenitiesAccessIncluded.length&gt;0)&amp;&amp;(0,j.jsx)(ed,{packagedAddons:s.packagedAddons,amenitiesIncluded:s.amenitiesAccessIncluded,isDetailedView:!1,isPoolIncluded:s.poolIncluded||t}),(0,j.jsx)(er.Z,{onClick:()=&gt;h(!0),iconRight:"chevron-right",className:"js-hotel-offerlist-offercard-seemore-button items-center hidden absolute bottom-0 mb-5 js-abtest-flex-price-A lg:flex",children:(0,j.jsx)(w.Z,{id:"hotel.offerCard.detail.cta"})}),(0,j.jsx)(er.Z,{onClick:()=&gt;h(!0),iconRight:"chevron-right",className:"flex lg:hidden mt-4 lg:mt-5 lg:mb-6 js-abtest-flex-price-A",children:(0,j.jsx)(w.Z,{id:"hotel.offerCard.detail.cta"})})]}),x.length&gt;1&amp;&amp;(0,j.jsxs)("div",{className:"md:hidden w-full px-5",children:[(0,j.jsx)(eN,{showPricesWithoutBookingFees:c.showPricesWithoutBookingFees,ratePlanPolicies:x,selected:u,onSelect:e=&gt;{p(e)}}),(0,j.jsx)("hr",{className:"w-full lg:hidden bg-white"})]}),(0,j.jsxs)("div",{className:"flex flex-col w-full",children:[(0,j.jsxs)("div",{className:"flex justify-between w-full bg-white pt-5 px-5 py-3 gap-6 rounded-20",children:[(0,j.jsxs)("div",{className:"js-hotel-offerlist-offercard-equipments hidden lg:max-w-[28rem] lg:flex lg:flex-col lg:bg-white",children:[(0,j.jsx)("span",{className:"hidden lg:block title7 text-shadow-black mb-2 whitespace-nowrap min-w-40",children:(0,j.jsx)(w.Z,{id:"hotel.offerCard.equipments"})}),(0,j.jsxs)("div",{className:"hidden lg:block",children:[!!s.equipments&amp;&amp;(0,j.jsxs)("div",{children:[s.equipments.slice(0,3).map(e=&gt;(0,j.jsxs)("div",{className:"flex items-center",children:[(0,j.jsx)("img",{className:"w-4 h-4 lg:my-2 mr-2 lg:mr-2",src:"".concat(J.De.MEDIA_HOST,"/equipments/").concat(e.icon),alt:e.displayNames}),(0,j.jsx)("span",{className:"sr-only lg:not-sr-only body4 text-shadow-black-60",children:e.displayNames})]},"equipement-".concat(s.id,"-").concat(e.id))),s.equipments.length&gt;3&amp;&amp;(0,j.jsxs)("button",{onClick:()=&gt;h(!0),className:"body4 underline mt-2 text-purple-dawn",children:["+",s.equipments.length-3," ",(0,j.jsx)(w.Z,{id:"common.equipments"})]})]}),!s.equipments&amp;&amp;(0,j.jsx)("span",{className:"hidden lg:block body4 text-shadow-black-60",children:(0,j.jsx)(w.Z,{id:"hotel.offerCard.no.equipments"})})]})]}),r?(0,j.jsx)(ev.Z,{ratePlanPolicy:x[u],bookingFeesPrice:s.pricingInformation.maximumBookingFees,hasPromoCode:!!d.query.promocode&amp;&amp;c.isPromoCodeEnabled,onRequestWaitingTime:s.reassurances.isOnRequest?s.onRequestWaitingTime:0,showPricesWithoutBookingFees:c.showPricesWithoutBookingFees}):(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(ey,{showPricesWithoutBookingFees:c.showPricesWithoutBookingFees,bookingFeesPrice:s.pricingInformation.maximumBookingFees,onRequestWaitingTime:s.reassurances.isOnRequest?s.onRequestWaitingTime:0,ratePlanPolicies:x,selected:u,onSelect:e=&gt;{p(e)},hasPromoCode:!!d.query.promocode&amp;&amp;c.isPromoCodeEnabled}),(0,j.jsx)("hr",{className:"w-full md:hidden bg-white"})]}),(0,j.jsxs)("div",{className:"js-hotel-offerlist-offercard-price-and-booking lg:w-auto lg:py-6 md:pl-0 my-auto flex flex-col items-center bg-white rounded-10 rounded-r-20 js-abtest-flex-price-A",children:[(0,j.jsxs)("div",{className:"js-hotel-offerlist-offercard-price-container",children:[(0,j.jsxs)("div",{className:"js-hotel-offerlist-offercard-price ds-prix text-shadow-black text-right",children:[(0,j.jsx)(ei.W,{price:c.showPricesWithoutBookingFees?x[u].slotPriceWithPolicyReduction.baseAmount:x[u].slotPriceWithPolicyReduction.withBookingFeesAmount,noFraction:!0}),i&amp;&amp;((null==i?void 0:i.inclusiveTaxesAndFees.length)&gt;0||(null==i?void 0:i.exclusiveTaxesAndFees.length)&gt;0)&amp;&amp;(0,j.jsx)("span",{className:"text-shadow-black-50 font-light text-base absolute",children:"*"})]}),x[u].comparativeReductionPercentage&lt;-20?(0,j.jsxs)("div",{className:"js-hotel-offerlist-offercard-discount-price flex items-start justify-end lg:justify-start py-2",children:[(0,j.jsxs)("div",{className:"js-hotel-offerlist-offercard-discount-percentage px-2 py-1.5 text-white text-[12px] font-bold rounded-full bg-shadow-black h-5 flex flex-col justify-center",children:[(0,j.jsx)(ec.BK,{value:x[u].comparativeReductionPercentage,maximumFractionDigits:0}),"%"]}),(0,j.jsxs)("div",{className:"js-hotel-offerlist-offercard-comparative-price text-shadow-black-40 text-[12px] ml-1 line-through my-auto",children:[(0,j.jsx)(ei.W,{price:x[u].comparativePrice,noFraction:!0}),(0,j.jsx)(w.Z,{id:"hotel.offerCard.comparativePrice.label"})]})]}):(0,j.jsx)("div",{className:"h-4"})]}),(0,j.jsxs)("div",{className:"hidden mt-6 md:mt-3 text-right lg:flex justify-end items-center relative flex-col",children:[(0,j.jsx)(et.Z,{onClick:()=&gt;{a(s,x[u],!1)},disabled:n,className:"md:w-[150px]",children:l?(0,j.jsx)(P.Z,{}):(0,j.jsx)("span",{className:"my-auto",children:(0,j.jsx)(w.Z,{id:"common.button.booked"})})}),i&amp;&amp;((null==i?void 0:i.inclusiveTaxesAndFees.length)&gt;0||(null==i?void 0:i.exclusiveTaxesAndFees.length)&gt;0)&amp;&amp;(0,j.jsx)("p",{className:"text-shadow-black-60 text-[12px] mt-2 hidden md:flex",children:(0,j.jsx)(w.Z,{id:"hotel.freeCancellation.offerExcludingTaxesAndFees"})})]})]})]}),(0,j.jsxs)("div",{className:"flex flex-col md:items-end items-stretch px-5 py-5 md:px-6 rounded-b-20 md:rounded-b-none bg-white relative js-abtest-flex-price-B hidden",children:[(0,j.jsxs)("div",{className:"flex gap-2",children:[(0,j.jsx)(eE.Z,{onClick:()=&gt;h(!0),className:"flex-1 md:flex-auto js-hotel-offerlist-offercard-seemore-button",children:(0,j.jsx)(w.Z,{id:"hotel.offerCard.detail.cta"})}),(0,j.jsx)(et.Z,{onClick:()=&gt;{a(s,x[u],!1)},disabled:n,className:"flex-1 md:flex-auto",children:l?(0,j.jsx)("span",{className:"text-white",children:(0,j.jsx)(P.Z,{})}):(0,j.jsx)("span",{className:"my-auto",children:(0,j.jsx)(w.Z,{id:"common.button.booked"})})})]}),i&amp;&amp;((null==i?void 0:i.inclusiveTaxesAndFees.length)&gt;0||(null==i?void 0:i.exclusiveTaxesAndFees.length)&gt;0)&amp;&amp;(0,j.jsx)("p",{className:"text-shadow-black-60 text-[12px] mt-2 self-center md:self-end",children:(0,j.jsx)(w.Z,{id:"hotel.freeCancellation.offerExcludingTaxesAndFees"})})]})]})]}),(0,j.jsxs)("div",{className:"lg:hidden pb-5 px-5 rounded-b-20 bg-white relative js-abtest-flex-price-A",children:[(0,j.jsx)(et.Z,{onClick:()=&gt;{a(s,x[u],!1)},disabled:n,className:"w-full",children:l?(0,j.jsx)("span",{className:"text-white",children:(0,j.jsx)(P.Z,{})}):(0,j.jsx)("span",{className:"my-auto",children:(0,j.jsx)(w.Z,{id:"common.button.booked"})})}),i&amp;&amp;((null==i?void 0:i.inclusiveTaxesAndFees.length)&gt;0||(null==i?void 0:i.exclusiveTaxesAndFees.length)&gt;0)&amp;&amp;(0,j.jsx)("p",{className:"text-shadow-black-60 text-[12px] mt-2 text-center",children:(0,j.jsx)(w.Z,{id:"hotel.freeCancellation.offerExcludingTaxesAndFees"})})]}),(0,j.jsx)(ek,{isOpen:m,onClose:()=&gt;{h(!1)},onBook:()=&gt;{d.query.checkinDate||h(!1),a(s,x[u],!1)},offer:s,offerPolicies:x,hasPromoCode:!!d.query.promocode&amp;&amp;c.isPromoCodeEnabled,hotel:c,checkInDate:d.query.checkinDate,taxesAndFees:i,isLoading:l,isDisabled:n,selectedPaymentProvider:f,selectedRatePlanPolicyIndex:u,setSelectedRatePlanPolicyIndex:p})]})}function eD(e){let{timeslots:s=[],rawTimeslots:t=[],offers:a,hotel:i,taxesAndFees:l,hasFilterApplied:n,onClickOffer:o,isLoading:c,isDisabled:r}=e,d=(0,E.G)([A.md],[!1],!0);return(0,j.jsxs)("div",{className:"mb-4 md:mb-14",children:[(0,j.jsxs)("span",{className:"title2 md:flex-1 whitespace-nowrap",children:[n&amp;&amp;(0,j.jsx)(w.Z,{id:"hotel-page.filtered-rateplan-title"}),!n&amp;&amp;(0,j.jsx)(w.Z,{id:"hotel.daydreamExperience.functionalOffer.title"})]}),null==s?void 0:s.map((e,s)=&gt;(0,j.jsx)(g.Fragment,{children:(0,j.jsxs)("div",{className:"flex flex-col md:mt-[42px]",id:"availabilities-".concat(t[s].startHour,"-").concat(t[s].endHour),children:[!d&amp;&amp;(0,j.jsxs)("div",{className:"js-hotel-offerlist-timeslot flex-row items-center hidden md:flex",children:[(0,j.jsx)(eo.Z,{height:30,width:30,className:"my-auto"}),(0,j.jsx)("div",{className:"pl-2 title3 py-1 text-shadow-black my-auto",children:e})]}),(0,j.jsx)("div",{children:a&amp;&amp;a.filter(s=&gt;s.timeslot===e).map(s=&gt;(0,j.jsxs)(g.Fragment,{children:[(0,j.jsxs)("div",{className:"js-hotel-offerlist-timeslot flex-row items-center flex md:hidden mt-[42px]",children:[(0,j.jsx)(eo.Z,{height:30,width:30,className:"mr-2"}),(0,j.jsx)("div",{className:"pl-2 title3 py-1 font-semibold text-shadow-black",children:e})]}),(0,j.jsx)(eA,{className:"abtest-v2-payment-choice",offer:s,isPoolIncluded:i.isPoolIncluded,onBook:o,taxesAndFees:l,isLoading:c,isDisabled:r,hotel:i})]},"offer-".concat(s.id)))})]})},"timeslot-".concat(e,"-").concat(s)))]})}function e_(){return(e_=Object.assign?Object.assign.bind():function(e){for(var s=1;s&lt;arguments.length;s++){var t=arguments[s];for(var a in t)({}).hasOwnProperty.call(t,a)&amp;&amp;(e[a]=t[a])}return e}).apply(null,arguments)}var eq=function(e){return g.createElement("svg",e_({xmlns:"http://www.w3.org/2000/svg",width:28,height:29,fill:"none"},e),a||(a=g.createElement("path",{fill:"url(#daydream-clock_svg__a)",d:"M2.75 14.455C2.75 8.24 7.787 3.205 14 3.205s11.25 5.036 11.25 11.25c0 6.213-5.037 11.25-11.25 11.25S2.75 20.668 2.75 14.455"})),i||(i=g.createElement("path",{fill:"url(#daydream-clock_svg__b)",fillOpacity:.3,d:"M2.75 14.455C2.75 8.24 7.787 3.205 14 3.205s11.25 5.036 11.25 11.25c0 6.213-5.037 11.25-11.25 11.25S2.75 20.668 2.75 14.455"})),l||(l=g.createElement("path",{fill:"#fff",d:"m13.096 14.812-4.35-5.775h2.625l3.807 5.09v7.116h-2.082z"})),n||(n=g.createElement("defs",null,g.createElement("linearGradient",{id:"daydream-clock_svg__a",x1:24.241,x2:-34.556,y1:-52.464,y2:-9.909,gradientUnits:"userSpaceOnUse"},g.createElement("stop",{stopColor:"#6E87C5"}),g.createElement("stop",{offset:.487,stopColor:"#DFC7E2"}),g.createElement("stop",{offset:.625,stopColor:"#E1B6C2"}),g.createElement("stop",{offset:.758,stopColor:"#CD9DC5"}),g.createElement("stop",{offset:1,stopColor:"#529BCF"})),g.createElement("linearGradient",{id:"daydream-clock_svg__b",x1:24.46,x2:6.746,y1:7.286,y2:5.816,gradientUnits:"userSpaceOnUse"},g.createElement("stop",{stopColor:"#FF6D3F"}),g.createElement("stop",{offset:1,stopColor:"#EB6940",stopOpacity:0})))))},eR=t(26085);function eI(e){let{offerPolicies:s,hasTaxesAndFees:t,selectedRatePlanPolicyIndex:a,showPriceWihtoutBookingFees:i}=e;return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)("div",{className:"ds-prix flex gap-1 items-center justify-end",children:(0,j.jsxs)("div",{children:[(0,j.jsx)(ei.W,{price:i?s[a].slotPriceWithPolicyReduction.baseAmount:s[a].slotPriceWithPolicyReduction.withBookingFeesAmount,noFraction:!0}),t&amp;&amp;(0,j.jsx)("span",{className:"text-shadow-black-50 font-light text-base absolute",children:"*"})]})}),s[a].comparativeReductionPercentage&lt;-20&amp;&amp;(0,j.jsxs)("div",{className:"flex items-start justify-end lg:justify-end py-2",children:[(0,j.jsxs)("div",{className:"px-2 py-1.5 text-white text-[12px] font-bold rounded-full bg-shadow-black h-5 flex flex-col justify-center",children:[(0,j.jsx)(ec.BK,{value:s[a].comparativeReductionPercentage,maximumFractionDigits:0}),"%"]}),(0,j.jsxs)("div",{className:"text-shadow-black-40 text-[12px] ml-1 line-through my-auto",children:[(0,j.jsx)(ei.W,{price:s[a].comparativePrice,noFraction:!0}),(0,j.jsx)(w.Z,{id:"hotel.offerCard.comparativePrice.label"})]})]})]})}function eM(e){let{offer:s}=e;return(0,j.jsxs)("div",{className:"hidden lg:block mb-4",children:[(0,j.jsx)("div",{className:"body4 text-shadow-black-80 mb-4",children:(0,j.jsx)(w.Z,{id:"common.included.in.offer"})}),(0,j.jsxs)("div",{className:"flex flex-wrap gap-y-4 divide-x",children:[(0,j.jsxs)("div",{className:"caption-lg flex flex-col items-center w-28 px-2",children:[(0,j.jsx)("div",{className:"w-10 h-10 mb-2",children:(0,j.jsx)("img",{className:"h-full w-full",alt:s.assetName,src:"".concat(J.De.STATIC_HOST,"/addons/icons/room.svg")})}),(0,j.jsx)("div",{className:"text-center caption-md text-shadow-black-80",children:s.assetName})]}),s.packagedAddons.map(e=&gt;(0,j.jsx)(g.Fragment,{children:e.addonList&amp;&amp;e.addonList.map(s=&gt;(0,j.jsxs)("div",{className:"caption-lg flex flex-col items-center w-28 px-2",children:[(0,j.jsx)("div",{className:"w-10 h-10 mb-2",children:(0,j.jsx)("img",{className:"h-full w-full",alt:e.category,src:"".concat(J.De.STATIC_HOST,"/addons/icons/").concat(s.iconName)})}),(0,j.jsx)("div",{className:"text-center caption-md text-shadow-black-80",children:s.name})]},s.name))},"addon-category-large-"+e.id))]})]})}var eT=t(56952),eS=t(41274),eO=t(18351),eW=t(45673);function eB(){return(eB=Object.assign?Object.assign.bind():function(e){for(var s=1;s&lt;arguments.length;s++){var t=arguments[s];for(var a in t)({}).hasOwnProperty.call(t,a)&amp;&amp;(e[a]=t[a])}return e}).apply(null,arguments)}var ez=function(e){return g.createElement("svg",eB({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 350 360"},e),o||(o=g.createElement("path",{fill:"url(#daydream-stars-gradiant-pink_svg__a)",d:"M53.99 1.33c-.4-1.77-3.47-1.78-3.88 0-6.2 27.31-20.23 48.88-48.74 56.85-1.83.52-1.83 4.7 0 5.21 28.65 7.97 42.58 29.56 48.75 56.9.4 1.77 3.47 1.77 3.87 0 6.18-27.22 20.1-48.89 48.7-56.88 1.84-.52 1.84-4.7 0-5.22C74.1 50.22 60.17 28.65 54 1.33Z"})),c||(c=g.createElement("path",{fill:"url(#daydream-stars-gradiant-pink_svg__b)",d:"M53.99 1.33c-.4-1.77-3.47-1.78-3.88 0-6.2 27.31-20.23 48.88-48.74 56.85-1.83.52-1.83 4.7 0 5.21 28.65 7.97 42.58 29.56 48.75 56.9.4 1.77 3.47 1.77 3.87 0 6.18-27.22 20.1-48.89 48.7-56.88 1.84-.52 1.84-4.7 0-5.22C74.1 50.22 60.17 28.65 54 1.33Z"})),r||(r=g.createElement("path",{fill:"url(#daydream-stars-gradiant-pink_svg__c)",fillOpacity:.8,d:"M53.99 1.33c-.4-1.77-3.47-1.78-3.88 0-6.2 27.31-20.23 48.88-48.74 56.85-1.83.52-1.83 4.7 0 5.21 28.65 7.97 42.58 29.56 48.75 56.9.4 1.77 3.47 1.77 3.87 0 6.18-27.22 20.1-48.89 48.7-56.88 1.84-.52 1.84-4.7 0-5.22C74.1 50.22 60.17 28.65 54 1.33Z"})),d||(d=g.createElement("path",{fill:"url(#daydream-stars-gradiant-pink_svg__d)",d:"M230.34 40.63c1.13-4.43 9.26-4.43 10.38 0 11.54 45.79 35.34 82.17 80.96 98.12 4.48 1.57 4.48 13.28 0 14.85-45.61 16-69.41 52.52-80.96 98.16-1.12 4.44-9.23 4.43-10.34 0-11.54-45.84-35.36-82.26-81.06-98.2-4.48-1.57-4.49-13.25 0-14.82 45.47-15.96 69.43-52.34 81.02-98.11"})),m||(m=g.createElement("path",{fill:"url(#daydream-stars-gradiant-pink_svg__e)",d:"M230.34 40.63c1.13-4.43 9.26-4.43 10.38 0 11.54 45.79 35.34 82.17 80.96 98.12 4.48 1.57 4.48 13.28 0 14.85-45.61 16-69.41 52.52-80.96 98.16-1.12 4.44-9.23 4.43-10.34 0-11.54-45.84-35.36-82.26-81.06-98.2-4.48-1.57-4.49-13.25 0-14.82 45.47-15.96 69.43-52.34 81.02-98.11"})),h||(h=g.createElement("path",{fill:"url(#daydream-stars-gradiant-pink_svg__f)",fillOpacity:.8,d:"M230.34 40.63c1.13-4.43 9.26-4.43 10.38 0 11.54 45.79 35.34 82.17 80.96 98.12 4.48 1.57 4.48 13.28 0 14.85-45.61 16-69.41 52.52-80.96 98.16-1.12 4.44-9.23 4.43-10.34 0-11.54-45.84-35.36-82.26-81.06-98.2-4.48-1.57-4.49-13.25 0-14.82 45.47-15.96 69.43-52.34 81.02-98.11"})),x||(x=g.createElement("path",{fill:"url(#daydream-stars-gradiant-pink_svg__g)",d:"M92.92 219.72c.4-1.78 3.48-1.78 3.88 0 6.18 27.31 20.1 48.89 48.71 56.85 1.83.51 1.83 4.7 0 5.22-28.6 8-42.53 29.66-48.7 56.88-.4 1.77-3.47 1.77-3.88 0-6.17-27.34-20.1-48.93-48.74-56.9-1.84-.5-1.84-4.69 0-5.2 28.5-7.97 42.53-29.55 48.73-56.85"})),u||(u=g.createElement("path",{fill:"url(#daydream-stars-gradiant-pink_svg__h)",d:"M92.92 219.72c.4-1.78 3.48-1.78 3.88 0 6.18 27.31 20.1 48.89 48.71 56.85 1.83.51 1.83 4.7 0 5.22-28.6 8-42.53 29.66-48.7 56.88-.4 1.77-3.47 1.77-3.88 0-6.17-27.34-20.1-48.93-48.74-56.9-1.84-.5-1.84-4.69 0-5.2 28.5-7.97 42.53-29.55 48.73-56.85"})),p||(p=g.createElement("path",{fill:"url(#daydream-stars-gradiant-pink_svg__i)",fillOpacity:.8,d:"M92.92 219.72c.4-1.78 3.48-1.78 3.88 0 6.18 27.31 20.1 48.89 48.71 56.85 1.83.51 1.83 4.7 0 5.22-28.6 8-42.53 29.66-48.7 56.88-.4 1.77-3.47 1.77-3.88 0-6.17-27.34-20.1-48.93-48.74-56.9-1.84-.5-1.84-4.69 0-5.2 28.5-7.97 42.53-29.55 48.73-56.85"})),f||(f=g.createElement("defs",null,g.createElement("linearGradient",{id:"daydream-stars-gradiant-pink_svg__a",x1:-437.19,x2:-388.58,y1:-2634.93,y2:-2557.26,gradientUnits:"userSpaceOnUse"},g.createElement("stop",{stopColor:"#FEB900"}),g.createElement("stop",{offset:.33,stopColor:"#FD7030"}),g.createElement("stop",{offset:.67,stopColor:"#FDAA9A"}),g.createElement("stop",{offset:1,stopColor:"#B7D5D5"})),g.createElement("linearGradient",{id:"daydream-stars-gradiant-pink_svg__b",x1:-39,x2:256.83,y1:-142,y2:409.36,gradientUnits:"userSpaceOnUse"},g.createElement("stop",{stopColor:"#8D9EC7"}),g.createElement("stop",{offset:.39,stopColor:"#D8C5DB"}),g.createElement("stop",{offset:.69,stopColor:"#E1B6C2"}),g.createElement("stop",{offset:.84,stopColor:"#CFA4C8"}),g.createElement("stop",{offset:1,stopColor:"#7CA9C9"})),g.createElement("linearGradient",{id:"daydream-stars-gradiant-pink_svg__d",x1:-437.19,x2:-388.58,y1:-2634.93,y2:-2557.26,gradientUnits:"userSpaceOnUse"},g.createElement("stop",{stopColor:"#FEB900"}),g.createElement("stop",{offset:.33,stopColor:"#FD7030"}),g.createElement("stop",{offset:.67,stopColor:"#FDAA9A"}),g.createElement("stop",{offset:1,stopColor:"#B7D5D5"})),g.createElement("linearGradient",{id:"daydream-stars-gradiant-pink_svg__e",x1:-39,x2:256.83,y1:-142,y2:409.36,gradientUnits:"userSpaceOnUse"},g.createElement("stop",{stopColor:"#8D9EC7"}),g.createElement("stop",{offset:.39,stopColor:"#D8C5DB"}),g.createElement("stop",{offset:.69,stopColor:"#E1B6C2"}),g.createElement("stop",{offset:.84,stopColor:"#CFA4C8"}),g.createElement("stop",{offset:1,stopColor:"#7CA9C9"})),g.createElement("linearGradient",{id:"daydream-stars-gradiant-pink_svg__g",x1:-437.19,x2:-388.58,y1:-2634.93,y2:-2557.26,gradientUnits:"userSpaceOnUse"},g.createElement("stop",{stopColor:"#FEB900"}),g.createElement("stop",{offset:.33,stopColor:"#FD7030"}),g.createElement("stop",{offset:.67,stopColor:"#FDAA9A"}),g.createElement("stop",{offset:1,stopColor:"#B7D5D5"})),g.createElement("linearGradient",{id:"daydream-stars-gradiant-pink_svg__h",x1:-39,x2:256.83,y1:-142,y2:409.36,gradientUnits:"userSpaceOnUse"},g.createElement("stop",{stopColor:"#8D9EC7"}),g.createElement("stop",{offset:.39,stopColor:"#D8C5DB"}),g.createElement("stop",{offset:.69,stopColor:"#E1B6C2"}),g.createElement("stop",{offset:.84,stopColor:"#CFA4C8"}),g.createElement("stop",{offset:1,stopColor:"#7CA9C9"})),g.createElement("radialGradient",{id:"daydream-stars-gradiant-pink_svg__c",cx:0,cy:0,r:1,gradientTransform:"matrix(1.1129 -14.34168 35.7914 2.77737 40.33 -619.98)",gradientUnits:"userSpaceOnUse"},g.createElement("stop",{offset:.37,stopColor:"#FEE2CD"}),g.createElement("stop",{offset:1,stopColor:"#FEE2CD",stopOpacity:0})),g.createElement("radialGradient",{id:"daydream-stars-gradiant-pink_svg__f",cx:0,cy:0,r:1,gradientTransform:"matrix(1.1129 -14.34168 35.7914 2.77737 40.33 -619.98)",gradientUnits:"userSpaceOnUse"},g.createElement("stop",{offset:.37,stopColor:"#FEE2CD"}),g.createElement("stop",{offset:1,stopColor:"#FEE2CD",stopOpacity:0})),g.createElement("radialGradient",{id:"daydream-stars-gradiant-pink_svg__i",cx:0,cy:0,r:1,gradientTransform:"matrix(1.1129 -14.34168 35.7914 2.77737 40.33 -619.98)",gradientUnits:"userSpaceOnUse"},g.createElement("stop",{offset:.37,stopColor:"#FEE2CD"}),g.createElement("stop",{offset:1,stopColor:"#FEE2CD",stopOpacity:0})))))},eL=t(56559);function eH(e){let{offer:s}=e;return(0,j.jsx)("div",{className:"flex flex-wrap",children:s.equipments&amp;&amp;s.equipments.map(e=&gt;(0,j.jsxs)("div",{className:"px-1 mb-[18px] lg:mb-6 flex w-1/2",children:[(0,j.jsx)("img",{className:"h-6 w-6",src:"".concat(J.De.MEDIA_HOST,"/equipments/").concat(e.icon),alt:e.displayNames}),(0,j.jsx)("div",{className:"ml-3 body3 text-shadow-black-80",children:e.displayNames})]},"equipment-".concat(e.id)))})}function eU(e){let{offer:s}=e;return(0,j.jsx)(j.Fragment,{children:s.packagedAddons.map(e=&gt;{var s;return(0,j.jsx)(g.Fragment,{children:e.addonList&amp;&amp;(null===(s=e.addonList)||void 0===s?void 0:s.map(e=&gt;(0,j.jsx)(eG,{addon:e},e.name)))},"addon-category-detail-"+e.id)})})}function eG(e){let{addon:s}=e,[t,a]=(0,g.useState)(!1),i=s.relatedPhotos&amp;&amp;s.relatedPhotos.length&gt;0?s.relatedPhotos[0]:s.image;return(0,j.jsxs)("div",{children:[(0,j.jsxs)("div",{className:(0,N.Z)("aspect-[313/260] md:aspect-auto md:h-[167px] bg-slate-300 relative rounded-20 overflow-hidden flex items-center justify-center z-10",s.description&amp;&amp;" cursor-pointer"),onClick:()=&gt;a(!t),children:[i&amp;&amp;(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)("div",{className:"absolute md:bg-black/40 md:from-transparent bg-gradient-to-t from-black/40 h-full w-full z-10"}),(0,j.jsx)("img",{className:"absolute h-full w-full object-cover",src:"".concat(J.De.MEDIA_HOST,"/").concat(i),alt:s.name})]}),(0,j.jsxs)("div",{className:"flex flex-col h-full justify-end md:justify-center items-center",children:[(0,j.jsx)("h3",{className:"title1-sm text-white md:mb-0 mb-2 z-10 text-center",children:s.name}),s.description&amp;&amp;(0,j.jsx)(er.Z,{as:"p",size:"small",iconRight:t?"chevron-up":"chevron-down",className:"flex relative md:absolute bottom-0 mb-5 ml-4 text-white z-20 text-center font-bold",children:s.ctaName})]})]}),s.description&amp;&amp;(0,j.jsx)(eL.Z,{open:t,children:(0,j.jsxs)("div",{className:"relative bg-shadow-black-3 rounded-b-20 p-5",children:[(0,j.jsx)("div",{className:"absolute bg-shadow-black-3 h-4 w-full left-0 -top-4 z-0"}),(0,j.jsx)("div",{dangerouslySetInnerHTML:{__html:s.description}})]})})]})}function eV(e){let{offer:s}=e,[t,a]=(0,g.useState)();return(0,j.jsx)("div",{children:s.addons.map(e=&gt;{var s;return(0,j.jsxs)("div",{className:"py-8 border-b border-shadow-black-20",children:[(0,j.jsxs)("div",{className:"flex justify-between mb-2 cursor-pointer",onClick:()=&gt;{a(e.label===t?void 0:e.label)},children:[(0,j.jsx)("span",{className:"title6",children:(0,j.jsx)(w.Z,{id:e.label})}),(0,j.jsx)(_.Z,{id:t===e.label?"chevron-up":"chevron-down",className:"h-5 w-5"})]}),null===(s=e.addonList)||void 0===s?void 0:s.map((s,a)=&gt;(0,j.jsx)(eL.Z,{open:t===e.label,children:(0,j.jsxs)("div",{children:[(0,j.jsxs)("div",{className:"flex flex-row justify-between body3 text-shadow-black mt-2",children:[(0,j.jsx)("p",{className:"text-ellipsis",children:s.name}),(0,j.jsx)("p",{className:"overflow-visible",children:s.price?(0,j.jsx)(ei.W,{price:s.price,noFraction:!0}):(0,j.jsx)(w.Z,{id:"hotel.offerDetail.offer_include"})})]}),s.description&amp;&amp;(0,j.jsx)("p",{className:"body4 text-shadow-black-60",dangerouslySetInnerHTML:{__html:s.description}})]})},"addon-".concat(a)))]},e.id)})})}function eQ(e){var s;let{hotel:t}=e,a=(0,ep.Z)(t.specificConditions),i=(0,b.Z)();return 0===a.length&amp;&amp;0===(null!==(s=t.equipments)&amp;&amp;void 0!==s?s:[]).filter(e=&gt;{var s,t;return!!(null===(t=e.openingClosingHours)||void 0===t?void 0:null===(s=t.specialClosure)||void 0===s?void 0:s.reason)}).length?null:(0,j.jsx)("div",{children:(0,j.jsxs)("ul",{className:"list-disc list-inside ml-2 space-y-1 body3 text-shadow-black-80",children:[a.map((e,s)=&gt;(0,j.jsx)("li",{children:e},"conditions-".concat(s))),t.equipments&amp;&amp;t.equipments.filter(e=&gt;{var s,t;return!!(null===(t=e.openingClosingHours)||void 0===t?void 0:null===(s=t.specialClosure)||void 0===s?void 0:s.reason)}).map(e=&gt;(0,j.jsx)("li",{children:(0,j.jsx)(w.Z,{id:"hotel.specialclosure.".concat(e.openingClosingHours.specialClosure.reason.toLowerCase().replace(/-+/g,"")),values:{name:e.displayNames,startDate:i.formatDate(e.openingClosingHours.specialClosure.startDate,{timeZone:"utc",day:"numeric",month:"short",year:"numeric"}),endDate:i.formatDate(e.openingClosingHours.specialClosure.endDate,{timeZone:"utc",day:"numeric",month:"short",year:"numeric"})}})},"hotelEquipment-specialclosure-".concat(e.id,"-").concat(e.displayNames)))]})})}var eJ=t(96026),eK=t.n(eJ),eY=t(92284),eX=t(11443);function e$(e){let{offer:s}=e,t=(0,g.useRef)(null),{page:a,next:i,previous:l,handleScroll:n}=(0,eY.Z)(1,1,s.assetPhotos.length||1),o=(0,A.Z)([A.lg],[{cssMode:!1}],{cssMode:!0});return(0,j.jsx)("div",{children:(0,j.jsx)("div",{className:"relative h-[300px] w-full rounded-20 bg-slate-500 mb-4 overflow-hidden",children:(0,j.jsxs)("div",{className:"absolute lg:overflow-x-hidden top-0 left-0 w-full h-full",children:[(0,j.jsxs)("div",{className:"absolute left-0 top-0 right-0 bottom-0 flex flex-col justify-between items-center pointer-events-none",children:[(0,j.jsx)("span",{className:"block",children:(0,j.jsxs)("div",{className:"lg:pointer-events-auto absolute left-0 top-0 right-0 bottom-0 flex flex-row justify-between items-center",children:[(0,j.jsxs)("button",{className:(0,N.Z)("absolute z-10 bottom-2 mx-4 bg-shadow-black md:flex hidden justify-center items-center h-5 w-5 rounded-full -translate-y-[50%]"),onClick:l,children:[(0,j.jsx)("span",{className:"sr-only",children:(0,j.jsx)(w.Z,{id:"common.previous"})}),(0,j.jsx)(_.Z,{id:"chevron-left",className:"h-3 w-3 text-white fill-current"})]}),(0,j.jsxs)("button",{className:(0,N.Z)("absolute z-10 bottom-2 right-0 mx-4 bg-shadow-black md:flex hidden justify-center items-center h-5 w-5 rounded-full -translate-y-[50%]"),onClick:i,children:[(0,j.jsx)("span",{className:"sr-only",children:(0,j.jsx)(w.Z,{id:"common.next"})}),(0,j.jsx)(_.Z,{id:"chevron-right",className:"h-3 w-3 text-white fill-current"})]})]})}),(0,j.jsx)(e0,{current:a-1,total:s.assetPhotos.length||1,name:s.id.toString()})]}),(0,j.jsx)("div",{ref:t,className:"flex duration-300 h-full overflow-x-auto lg:overflow-x-visible scrollbar-hide snap-x-mand cursor-pointer",onScroll:n(t),style:{transform:o.cssMode?"translateX(-0%)":"translateX(-".concat((a-1)*100,"%)")},children:s.assetPhotos.map((e,t)=&gt;(0,j.jsx)("div",{className:"relative flex-none object-cover snap-align-start snap-stop-always w-full",children:(0,j.jsx)(eX.Z,{priority:t&lt;2,src:"/"+e,alt:s.assetName,className:"object-cover",layout:"fill",objectFit:"cover",sizes:"(min-width:768px) 420px, 100vw"})},"photo-".concat(s.id,"-").concat(t)))})]})})})}let e0=e=&gt;{let{total:s,current:t,name:a,isHover:i}=e,l=function(e,s,t){let a=Math.round(2.5);return s&lt;a-1?0:s&gt;t-a?t-5:s-(a-1)}(0,t,s);return(0,j.jsx)("div",{className:(0,N.Z)("overflow-hidden w-[73px] pb-3 z-10",{"opacity-0":i}),children:(0,j.jsx)("div",{className:"flex duration-300 transition-all",style:{transform:"translateX(-".concat(14*l,"px)")},children:eK()(s).map(e=&gt;(0,j.jsx)("span",{className:(0,N.Z)("w-2 h-2 shrink-0 rounded-full shadow-md",e!==t?"bg-white scale-75":"bg-shadow-black-80"),style:{margin:"3px"}},"dot-".concat(a,"-").concat(e)))})})};function e1(e){let{taxesAndFees:s}=e;return(0,j.jsx)("div",{className:"flex flex-col gap-y-1",children:s.map((e,s)=&gt;(0,j.jsx)("div",{children:(0,j.jsxs)("div",{className:"flex flex-row gap-2 text-shadow-black-80 body3",children:[(0,j.jsxs)("span",{className:"text-ellipsis",children:["• ",(0,j.jsx)(w.Z,{id:e.name}),e.unit&amp;&amp;(0,j.jsx)(w.Z,{id:"common.per_person"})]}),":",(0,j.jsx)("span",{className:"overflow-visible",children:e.price?(0,j.jsx)(ei.W,{price:e.price}):"".concat(e.percentage,"%")})]})},"taxes-and-fees-".concat(s)))})}function e2(e){let{offerPolicies:s,checkinDate:t,selectedRatePlanPolicyIndex:a,showPricesWithoutBookingFees:i=!1}=e,l=(0,b.Z)();return(0,j.jsx)("div",{children:(0,j.jsxs)("div",{className:"flex justify-between",children:[(0,j.jsxs)("div",{className:"flex justify-start items-center text-shadow-black font-semibold text-[15px] md:py-4 lg:w-[280px]",children:[(0,j.jsx)(_.Z,{id:"calendar",className:"h-5 w-5 mr-1"}),t?(0,j.jsx)("span",{children:(0,j.jsx)(ec.Ji,{timeZone:"utc",value:new Date("".concat(t)),day:"2-digit",month:"long"})}):(0,j.jsx)("p",{className:"text-[12px] md:text-[15px] text-shadow-black-60 my-auto",children:(0,j.jsx)(w.Z,{id:"hotel.offerDetail.sansDate"})})]}),(0,j.jsxs)("div",{className:"flex my-auto space-x-6",children:[s[a].comparativeReductionPercentage&lt;-20&amp;&amp;(0,j.jsx)("div",{className:"js-hotel-offerlist-offercard-discount-price hidden md:flex items-start justify-end",children:s[a].comparativeReductionPercentage&lt;-20?(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(eu.Z,{className:"js-hotel-offerlist-offercard-discount-percentage my-auto",discount:l.formatNumber(s[a].comparativeReductionPercentage,{maximumFractionDigits:0})}),(0,j.jsxs)("div",{className:"js-hotel-offerlist-offercard-comparative-price text-shadow-black-40 text-[12px] ml-3 line-through my-auto",children:[(0,j.jsx)(ei.W,{price:s[a].comparativePrice,noFraction:!0}),(0,j.jsx)(w.Z,{id:"hotel.offerCard.comparativePrice.label"})]})]}):(0,j.jsx)("div",{className:"h-4"})}),(0,j.jsx)("span",{className:"text-right text-shadow-black text-3xl font-extrabold",children:(0,j.jsx)(ei.W,{price:i?s[a].slotPriceWithPolicyReduction.baseAmount:s[a].slotPriceWithPolicyReduction.withBookingFeesAmount,noFraction:!0})})]})]})})}var e3=t(8257);function e4(e){var s,t,a;let{offer:i}=e,l=(0,g.useRef)(null),{page:n,next:o,previous:c,handleScroll:r}=(0,eY.Z)(1,1,(null===(s=i.sortedPhotos)||void 0===s?void 0:s.length)||1),d=(0,A.Z)([A.lg],[{cssMode:!1}],{cssMode:!0}),m=(0,A.Z)([A.md],[!1],!0);return(0,j.jsx)("div",{children:(0,j.jsx)("div",{className:"relative h-[300px] w-full rounded-20 bg-slate-500 mb-4 overflow-hidden",children:i.offerVideo&amp;&amp;m?(0,j.jsx)(eT.Z,{offerId:i.id,urlVideo:i.offerVideo,urlImage:i.offerPhoto,showVideo:!0,autoplay:!0}):(0,j.jsxs)("div",{className:"absolute lg:overflow-x-hidden top-0 left-0 w-full h-full",children:[(0,j.jsxs)("div",{className:"absolute left-0 top-0 right-0 bottom-0 flex flex-col justify-between items-center pointer-events-none",children:[(0,j.jsx)("span",{className:"block",children:(0,j.jsxs)("div",{className:"lg:pointer-events-auto absolute left-0 top-0 right-0 bottom-0 flex flex-row justify-between items-center",children:[(0,j.jsxs)("button",{className:(0,N.Z)("absolute z-10 bottom-2 mx-4 bg-shadow-black md:flex hidden justify-center items-center h-5 w-5 rounded-full -translate-y-[50%]"),onClick:c,children:[(0,j.jsx)("span",{className:"sr-only",children:(0,j.jsx)(w.Z,{id:"common.previous"})}),(0,j.jsx)(_.Z,{id:"chevron-left",className:"h-3 w-3 text-white fill-current"})]}),(0,j.jsxs)("button",{className:(0,N.Z)("absolute z-10 bottom-2 right-0 mx-4 bg-shadow-black md:flex hidden justify-center items-center h-5 w-5 rounded-full -translate-y-[50%]"),onClick:o,children:[(0,j.jsx)("span",{className:"sr-only",children:(0,j.jsx)(w.Z,{id:"common.next"})}),(0,j.jsx)(_.Z,{id:"chevron-right",className:"h-3 w-3 text-white fill-current"})]})]})}),(0,j.jsx)(e5,{current:n-1,total:(null===(t=i.sortedPhotos)||void 0===t?void 0:t.length)||1,name:i.id.toString()})]}),(0,j.jsx)("div",{ref:l,className:"flex duration-300 h-full overflow-x-auto lg:overflow-x-visible scrollbar-hide snap-x-mand cursor-pointer",onScroll:r(l),style:{transform:d.cssMode?"translateX(-0%)":"translateX(-".concat((n-1)*100,"%)")},children:null===(a=i.sortedPhotos)||void 0===a?void 0:a.map((e,s)=&gt;(0,j.jsx)("div",{className:"relative flex-none object-cover snap-align-start snap-stop-always w-full",children:(0,j.jsx)(eX.Z,{priority:s&lt;2,src:"/"+e,alt:i.name,className:"object-cover",layout:"fill",objectFit:"cover",sizes:"(min-width:768px) 420px, 100vw"})},"photo-".concat(i.id,"-").concat(s)))})]})})})}let e5=e=&gt;{let{total:s,current:t,name:a,isHover:i}=e,l=function(e,s,t){let a=Math.round(2.5);return s&lt;a-1?0:s&gt;t-a?t-5:s-(a-1)}(0,t,s);return(0,j.jsx)("div",{className:(0,N.Z)("overflow-hidden w-[73px] pb-3 z-10",{"opacity-0":i}),children:(0,j.jsx)("div",{className:"flex duration-300 transition-all",style:{transform:"translateX(-".concat(14*l,"px)")},children:eK()(s).map(e=&gt;(0,j.jsx)("span",{className:(0,N.Z)("w-2 h-2 shrink-0 rounded-full shadow-md",e!==t?"bg-white scale-75":"bg-shadow-black-80"),style:{margin:"3px"}},"dot-".concat(a,"-").concat(e)))})})};function e8(e){var s,t,a;let{isOpen:i,onClose:l,offer:n,offerPolicies:o,hotel:c,checkinDate:r,taxesAndFees:d,onBook:m,isLoading:h,isDisabled:x,isBookable:u,selectedRatePlanPolicyIndex:p,setSelectedRatePlanPolicyIndex:f}=e,[v,b]=(0,g.useState)(!1);return(0,j.jsxs)(ej.default,{show:i,onClose:l,header:()=&gt;(0,j.jsx)("div",{children:(0,j.jsx)(e3.Z,{hotelId:c.id,hotelName:c.name,hotelSlug:c.slug,displaySize:"small",buttonsType:"tertiary"})}),children:[(0,j.jsxs)("div",{className:"md:hidden mt-3",children:[(0,j.jsx)(e4,{offer:n}),(0,j.jsxs)("div",{className:"flex flex-row mb-4 mt-8",children:[(0,j.jsx)(eq,{height:32,width:32,className:"my-auto"}),(0,j.jsx)("div",{className:"pl-2 text-xl font-semibold my-auto",children:n.timeslot})]})]}),(0,j.jsxs)("div",{className:"mb-4 flex justify-between items-center",children:[(0,j.jsxs)("h2",{className:"headline2-sm",children:[n.name," ",(0,j.jsx)(ez,{className:"h-7 inline text-aqua-fria"})]}),!!n.capacity&amp;&amp;(0,j.jsx)("div",{className:"body2 text-shadow-black-60 whitespace-nowrap hidden lg:block",children:(0,j.jsx)(w.Z,{id:"common.personPerOffer.count",values:{number:n.capacity}})})]}),(0,j.jsxs)("div",{className:"flex items-center gap-2 mb-6",children:[(0,j.jsx)("div",{children:(0,j.jsx)(eO.Z,{count:c.starRating})}),(0,j.jsx)("div",{className:"caption-md focus text-shadow-black-80",children:c.name})]}),(0,j.jsxs)("div",{className:"hidden md:flex flex-row mb-8",children:[(0,j.jsx)(eq,{height:32,width:32,className:"my-auto"}),(0,j.jsx)("div",{className:"pl-2 text-xl font-semibold my-auto",children:n.timeslot})]}),n.description&amp;&amp;(0,j.jsxs)("div",{className:"border-t border-shadow-black-20 py-8",children:[(0,j.jsx)("h3",{className:"title3 mb-6",children:(0,j.jsx)(w.Z,{id:"hotel.daydreamExperience.daydreamProgram"})}),(0,j.jsx)("p",{className:"body3 text-shadow-black-80",dangerouslySetInnerHTML:{__html:n.description}})]}),(0,j.jsxs)("div",{className:"mb-8 border-t border-shadow-black-20 pt-8",children:[(0,j.jsx)("h3",{className:"title3 uppercase mb-6",children:(0,j.jsx)(w.Z,{id:"common.yourRoom"})}),(0,j.jsx)(e$,{offer:n}),(0,j.jsx)("div",{children:(0,j.jsx)("div",{className:"caption-lg text-shadow-black-60",children:(0,j.jsxs)("div",{className:"flex flex-wrap caption-lg text-shadow-black-60 gap-3 md:mt-2 mb-8 items-center",children:[n.surface&amp;&amp;(0,j.jsxs)("span",{className:"flex items-center",children:[(0,j.jsx)(_.Z,{id:"house",className:"h-5 w-5 mr-1"}),n.surface]}),n.view&amp;&amp;(0,j.jsxs)("span",{className:"flex items-center",children:[(0,j.jsx)(_.Z,{id:"eye",className:"h-5 w-5 mr-1"}),(0,j.jsx)(w.Z,{id:n.view})]}),n.bedding&amp;&amp;(0,j.jsxs)("span",{className:"flex items-center",children:[(0,j.jsx)(_.Z,{id:"bed-front",className:"h-5 w-5 mr-1"}),(0,j.jsx)(w.Z,{id:n.bedding})]}),(0,j.jsx)("div",{className:"flex items-center lg:hidden",children:(0,j.jsxs)("span",{className:"flex items-center",children:[(0,j.jsx)(_.Z,{id:"solid-user",className:"h-4 w-4 mb-1"}),"x",n.capacity]})})]})})}),n.equipments&amp;&amp;n.equipments.length&gt;0&amp;&amp;(0,j.jsxs)("div",{className:"border-t border-shadow-black-20 pt-8",children:[(0,j.jsx)(er.Z,{size:"large",iconRight:v?"chevron-up":"chevron-down",as:"button",className:"mb-6 flex",onClick:()=&gt;b(!v),children:(0,j.jsx)(w.Z,{id:"common.allAmenities"})}),(0,j.jsx)(eL.Z,{open:v,children:(0,j.jsx)(eH,{offer:n})})]})]}),n.packagedAddons.length&gt;0&amp;&amp;(0,j.jsxs)("div",{className:"border-t border-shadow-black-20 pt-8",children:[(0,j.jsx)("h3",{className:"title3 uppercase mb-6",children:(0,j.jsx)(w.Z,{id:"hotel.daydreamExperience.includedInOffer"})}),(0,j.jsx)("div",{className:"space-y-8",children:(0,j.jsx)(eU,{offer:n})})]}),(null===(s=n.addons)||void 0===s?void 0:s.length)&gt;0&amp;&amp;(0,j.jsxs)("div",{className:"border-t border-shadow-black-20 pt-8",children:[(0,j.jsx)("h3",{className:"title3 uppercase",children:"Les extras"}),(0,j.jsx)(eV,{offer:n})]}),(0,j.jsxs)("div",{className:"border-t border-shadow-black-20 pt-8",children:[(0,j.jsx)("h3",{className:"title3 uppercase mb-6",children:(0,j.jsx)(w.Z,{id:"hotel.specificCondition.title"})}),(0,j.jsx)(eQ,{hotel:c})]}),d&amp;&amp;((null==d?void 0:null===(t=d.inclusiveTaxesAndFees)||void 0===t?void 0:t.length)&gt;0||(null==d?void 0:null===(a=d.exclusiveTaxesAndFees)||void 0===a?void 0:a.length)&gt;0)&amp;&amp;(0,j.jsxs)("div",{className:"border-t border-shadow-black-20 pt-8",children:[(0,j.jsx)("h3",{className:"title3 uppercase mb-6",children:(0,j.jsx)(w.Z,{id:"hotel.offerDetails.taxesAndFees.title"})}),(0,j.jsx)("p",{className:"text-shadow-black-80 body3 mb-4",children:(0,j.jsx)(w.Z,{id:"hotel.dayuse.taxesAndFees.subtitle"})}),(0,j.jsx)(e1,{taxesAndFees:d.inclusiveTaxesAndFees}),(0,j.jsx)(e1,{taxesAndFees:d.exclusiveTaxesAndFees})]}),(0,j.jsxs)("div",{className:"bg-white z-40 sticky md:relative bottom-0 py-3 md:py-5 border-t border-shadow-black-20 mt-5",children:[u&amp;&amp;o.length&gt;1&amp;&amp;(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)("div",{className:"hidden md:block w-full",children:(0,j.jsx)(ey,{selected:p,onSelect:e=&gt;{f(e)},ratePlanPolicies:o,showPricesWithoutBookingFees:c.showPricesWithoutBookingFees,bookingFeesPrice:n.pricingInformation.maximumBookingFees,onRequestWaitingTime:n.reassurances.isOnRequest?n.onRequestWaitingTime:0})}),(0,j.jsxs)("div",{className:"md:hidden w-full",children:[(0,j.jsx)(eN,{showPricesWithoutBookingFees:c.showPricesWithoutBookingFees,ratePlanPolicies:o,selected:p,onSelect:e=&gt;{f(e)}}),(0,j.jsx)(eW.Z,{className:"my-3"}),(0,j.jsx)(ev.Z,{ratePlanPolicy:o[p],bookingFeesPrice:n.pricingInformation.maximumBookingFees,onRequestWaitingTime:n.reassurances.isOnRequest?n.onRequestWaitingTime:0,showPricesWithoutBookingFees:c.showPricesWithoutBookingFees}),(0,j.jsx)(eW.Z,{className:"my-3"})]})]}),(0,j.jsx)(e2,{offer:n,offerPolicies:o,checkinDate:r,selectedRatePlanPolicyIndex:p,showPricesWithoutBookingFees:c.showPricesWithoutBookingFees}),u?(0,j.jsxs)(et.Z,{onClick:()=&gt;{m(n,o[p],!1),l()},className:"h-10 w-full mt-5 relative",disabled:x,children:[!h&amp;&amp;(0,j.jsx)("span",{className:"text-shadow-black",children:(0,j.jsx)(w.Z,{id:"common.button.booked"})}),h&amp;&amp;(0,j.jsx)("span",{children:(0,j.jsx)(P.Z,{})})]}):(0,j.jsxs)(eS.Z,{onClick:()=&gt;{m(n,o[p],n.policies.length&gt;1),l()},className:"h-10 w-full mt-5 relative",disabled:x,children:[(0,j.jsx)(_.Z,{id:"solid-calendar",height:"24px",width:"24px"}),(0,j.jsx)(w.Z,{id:"myBookings.modify.selectdate"}),h&amp;&amp;(0,j.jsx)("span",{children:(0,j.jsx)(P.Z,{})})]})]})]})}function e6(e){let{offer:s,onBook:t,isLoading:a,isDisabled:i,taxesAndFees:l,isBookable:n,hotel:o}=e,c=(0,v.useRouter)(),[r,d]=(0,g.useState)(!1),m=(0,A.Z)([A.md],[!1],!0),[h,x]=(0,g.useState)(!1),u=eF(s.policies,!!c.query.promocode&amp;&amp;o.isPromoCodeEnabled||"full"===s.pricingInformation.onlinePaymentType&amp;&amp;s.pricingInformation.onlinePaymentReduction.amount&lt;0),[p,f]=(0,g.useState)(0),b=l&amp;&amp;((null==l?void 0:l.inclusiveTaxesAndFees.length)&gt;0||(null==l?void 0:l.exclusiveTaxesAndFees.length)&gt;0);return(0,j.jsxs)("div",{className:"js-hotel-offerlist-offercard-daydream-offer relative shadow-200 rounded-t-20","data-offer-id":s.id,onMouseEnter:()=&gt;{d(!0)},onMouseLeave:()=&gt;{d(!1)},children:[(0,j.jsxs)("div",{className:"relative rounded-20 overflow-hidden md:flex z-10",children:[!n&amp;&amp;(0,j.jsx)("div",{className:"bg-white/50 absolute top-0 bottom-0 right-0 left-0 rounded-20 z-20"}),!n&amp;&amp;(0,j.jsx)("div",{className:"absolute top-8 left-7 z-30 py-2 px-3.5 bg-white rounded-20 text-xs font-bold",children:(0,j.jsx)(w.Z,{id:"common.hotel.no.offers"})}),(0,j.jsx)("div",{className:"relative bg-gray-400 md:w-[411px] aspect-[355/366] md:aspect-auto md:min-h-[501px] shrink-0",children:s.offerVideo&amp;&amp;!m?(0,j.jsx)(eT.Z,{offerId:s.id,urlVideo:s.offerVideo,urlImage:s.offerPhoto,autoplay:!0,showVideo:r,onClick:()=&gt;{x(!0)}}):(0,j.jsx)("img",{className:"w-full h-full object-cover",src:"".concat(J.De.MEDIA_HOST).concat(s.offerPhoto),alt:s.name,onClick:()=&gt;{x(!0)}})}),(0,j.jsxs)("div",{className:"relative flex flex-col bg-white py-6 px-5 md:p-8 lg:p-12 md:h-auto flex-1 overflow-hidden",children:[(0,j.jsxs)("div",{className:"flex items-center justify-between gap-4",children:[(0,j.jsx)("h3",{className:"flex-1 title1 xl:truncate mb-3 xl:min-w-0",children:s.name}),void 0!=s.capacity&amp;&amp;s.capacity&gt;0&amp;&amp;(0,j.jsx)("div",{className:"body2 text-shadow-black-60 hidden lg:block",children:(0,j.jsx)(w.Z,{id:"common.personPerOffer.count",values:{number:s.capacity}})})]}),(0,j.jsx)("div",{className:"body4 text-shadow-black-80 mb-4 md:mb-8",children:(0,j.jsxs)("div",{className:"flex flex-wrap body4 text-shadow-black-80 items-center",children:[s.surface&amp;&amp;(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)("span",{className:"flex pr-1 items-center",children:s.surface}),(s.view||s.bedding||s.capacity||void 0!=s.childrenCapacity&amp;&amp;s.childrenCapacity&gt;0||null!==s.isSmokingAllowed)&amp;&amp;(0,j.jsx)("span",{className:"flex pr-1 items-center",children:"•"})]}),s.view&amp;&amp;(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)("span",{className:"flex pr-1 items-center",children:(0,j.jsx)(w.Z,{id:s.view})}),(s.bedding||s.capacity||void 0!=s.childrenCapacity&amp;&amp;s.childrenCapacity&gt;0||null!==s.isSmokingAllowed)&amp;&amp;(0,j.jsx)("span",{className:"flex pr-1 items-center",children:"•"})]}),s.bedding&amp;&amp;(0,j.jsx)(j.Fragment,{children:(0,j.jsx)("span",{className:"flex pr-1 items-center",children:(0,j.jsx)(w.Z,{id:s.bedding})})}),(0,j.jsx)("div",{className:"flex items-center lg:hidden",children:void 0!=s.capacity&amp;&amp;s.capacity&gt;0&amp;&amp;(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)("span",{className:"flex pr-1 items-center",children:"•"}),(0,j.jsxs)("span",{className:"flex pr-1 items-center",children:[(0,j.jsx)(_.Z,{id:"solid-user",className:"h-4 w-4 mb-1"}),"x",s.capacity]})]})})]})}),s.description?(0,j.jsx)("div",{className:"line-clamp-3 mb-3",children:(0,j.jsx)("div",{className:"lg:w-4/5 body3 text-shadow-black-80 mb-4 hidden md:block max-h-16",dangerouslySetInnerHTML:{__html:s.description}})}):(0,j.jsx)("div",{className:"flex-1"}),(0,j.jsxs)("ul",{className:"lg:hidden body3 flex flex-wrap gap-1 mb-4",children:[(0,j.jsx)("li",{className:"whitespace-nowrap",children:s.assetName}),s.packagedAddons.map(e=&gt;(0,j.jsxs)(g.Fragment,{children:[(0,j.jsx)("li",{children:"•"}),e.addonList&amp;&amp;e.addonList.map(e=&gt;(0,j.jsx)("li",{className:"whitespace-nowrap",children:e.name},"short-"+e.name))]},"addon-category-small-"+e.id))]}),(0,j.jsxs)("div",{className:(0,N.Z)("justify-self-end gap-y-4 lg:gap-y-0 grid flex-1",b&amp;&amp;"pb-3 lg:pb-0"),children:[(0,j.jsx)("div",{className:"col-start-1 row-start-1 col-span-2 lg:pr-20 mb-4",children:(0,j.jsx)(eM,{offer:s})}),(0,j.jsxs)("div",{className:"flex flex-col xl:flex-row justify-between md:space-x-6 w-full col-span-2",children:[(0,j.jsxs)("div",{className:"hidden md:block md:mb-6 xl:mb-0",children:[(n||1===u.length)&amp;&amp;(0,j.jsx)(ey,{showPricesWithoutBookingFees:o.showPricesWithoutBookingFees,ratePlanPolicies:u,selected:p,onSelect:e=&gt;{f(e)},bookingFeesPrice:s.pricingInformation.maximumBookingFees,hasPromoCode:!!c.query.promocode&amp;&amp;o.isPromoCodeEnabled,onRequestWaitingTime:s.reassurances.isOnRequest?s.onRequestWaitingTime:0}),(0,j.jsx)("hr",{className:"w-full md:hidden"})]}),n&amp;&amp;u.length&gt;1&amp;&amp;(0,j.jsxs)("div",{className:"md:hidden w-full",children:[(0,j.jsx)(eN,{showPricesWithoutBookingFees:o.showPricesWithoutBookingFees,ratePlanPolicies:u,selected:p,onSelect:e=&gt;{f(e)}}),(0,j.jsx)("hr",{className:"w-full bg-white my-6"})]}),(0,j.jsxs)("div",{className:"lg:self-end",children:[(0,j.jsxs)("div",{className:"grid grid-cols-2 mb-5",children:[(0,j.jsx)("div",{className:"block md:hidden",children:(n||1===u.length)&amp;&amp;(0,j.jsx)(ev.Z,{ratePlanPolicy:u[p],bookingFeesPrice:s.pricingInformation.maximumBookingFees,hasPromoCode:!!c.query.promocode&amp;&amp;o.isPromoCodeEnabled,onRequestWaitingTime:s.reassurances.isOnRequest?s.onRequestWaitingTime:0,showPricesWithoutBookingFees:o.showPricesWithoutBookingFees})}),(0,j.jsx)("div",{className:"grid lg:col-start-2 lg:row-start-1 col-start-2 row-start-1 self-end js-abtest-flex-price-A",children:(0,j.jsx)(eI,{offer:s,offerPolicies:u,hasTaxesAndFees:b,selectedRatePlanPolicyIndex:p,showPriceWihtoutBookingFees:o.showPricesWithoutBookingFees})})]}),(0,j.jsxs)("div",{className:"relative lg:col-start-2 lg:col-span-1 lg:row-start-2  col-span-2 row-start-2 grid grid-cols-2 xl:grid-cols-1 xl:gap-y-4 lg:self-end gap-x-4 lg:justify-self-end z-30",children:[(0,j.jsx)(eE.Z,{className:"flex-1 lg:flex-initial",type:"button",onClick:()=&gt;{x(!0)},children:(0,j.jsx)(w.Z,{id:"page.partners.details"})}),(0,j.jsxs)("div",{className:"md:relative self-start flex-1 lg:flex-initial flex flex-col items-center",children:[n?(0,j.jsx)(et.Z,{className:"w-full",type:"button",onClick:()=&gt;{t(s,u[p],!1,n)},disabled:i,children:a?(0,j.jsx)("span",{className:"text-white",children:(0,j.jsx)(P.Z,{})}):(0,j.jsx)("span",{className:"my-auto",children:(0,j.jsx)(w.Z,{id:"common.button.booked"})})}):(0,j.jsxs)(eS.Z,{className:"w-full",onClick:()=&gt;{t(s,u[p],s.policies.length&gt;1,n)},children:[(0,j.jsx)(_.Z,{id:"solid-calendar",height:"24px",width:"24px",className:"mr-2 shrink-0"}),(0,j.jsx)(w.Z,{id:"myBookings.modify.selectdate"})]}),b&amp;&amp;(0,j.jsx)("p",{className:"absolute -bottom-6 md:w-auto w-full text-shadow-black-60 caption-sm whitespace-nowrap",children:(0,j.jsx)(w.Z,{id:"hotel.freeCancellation.offerExcludingTaxesAndFees"})})]})]})]})]})]})]})]}),(0,j.jsx)("hr",{className:"absolute right-0 left-0 -bottom-2.5 h-10 gradient-daydream rounded-b-20"}),(0,j.jsx)(e8,{hotel:o,offer:s,offerPolicies:u,checkinDate:c.query.checkinDate,isOpen:h,taxesAndFees:l,onClose:()=&gt;{x(!1)},onBook:(e,s,a)=&gt;(c.query.checkinDate||x(!1),t(e,u[p],a,n)),isDisabled:i,isLoading:a,selectedRatePlanPolicyIndex:p,setSelectedRatePlanPolicyIndex:f,isBookable:n})]})}function e7(e){let{hotel:s,offers:t,taxesAndFees:a,timeslots:i=[],rawTimeslots:l=[],onClickOffer:n,isDisabled:o,isLoading:c,isBookable:r}=e,d=(0,E.G)([A.md],[!1],!0),m=(0,v.useRouter)();return t&amp;&amp;0!==t.length?(0,j.jsxs)("div",{className:"mb-4 md:mb-14",id:"daydream",children:[(0,j.jsxs)("div",{className:"md:flex gap-4 items-center",children:[(0,j.jsxs)("div",{className:"flex items-center gap-4 mb-4 md:mb-0",children:[(0,j.jsx)("span",{className:"title2 md:flex-1 whitespace-nowrap",children:(0,j.jsx)(w.Z,{id:"common.daydreamExperience.title"})}),(0,j.jsx)(eR.Z,{size:"large",className:"bg-sunshine-yellow ml-2",children:(0,j.jsx)(w.Z,{id:"common.pin.new"})})]}),(0,j.jsx)("p",{className:"body3 flex-1",children:(0,j.jsx)(w.Z,{id:"common.daydreamExperience.text",values:{city:s.city}})})]}),null==i?void 0:i.map((e,i)=&gt;(0,j.jsx)(g.Fragment,{children:(0,j.jsxs)("div",{className:"flex flex-col md:mt-[42px]",id:"daydream-availabilities-".concat(l[i].startHour,"-").concat(l[i].endHour),children:[!d&amp;&amp;(0,j.jsxs)("div",{className:"js-hotel-offerlist-timeslot flex-row items-center hidden md:flex",children:[(0,j.jsx)(eq,{height:30,width:30,className:"my-auto"}),(0,j.jsx)("div",{className:"pl-2 title3 py-1 text-shadow-black my-auto",children:e})]}),(0,j.jsx)("div",{className:"space-y-6",children:null==t?void 0:t.filter(s=&gt;s.timeslot===e).map(t=&gt;(0,j.jsxs)(g.Fragment,{children:[(0,j.jsxs)("div",{className:"flex-row items-center flex md:hidden mt-[42px]",children:[(0,j.jsx)(eq,{height:30,width:30,className:"mr-2"}),(0,j.jsx)("div",{className:"pl-2 title3 py-1 font-semibold text-shadow-black",children:e})]}),t.description&amp;&amp;"daydream"===m.query.type&amp;&amp;(0,j.jsx)("div",{className:"md:hidden mb-8 body3 text-shadow-black-80",dangerouslySetInnerHTML:{__html:t.description}}),(0,j.jsx)(e6,{hotel:s,offer:t,taxesAndFees:a,onBook:n,isDisabled:o,isLoading:c,isBookable:r})]},"offer-".concat(t.id)))})]})},"timeslot-".concat(e,"-").concat(i)))]}):null}var e9=t(56804),se=t(85963);function ss(e){let{newPriceOnNewDate:s,onClick:t,isLoading:a,showPricesWithoutBookingFees:i}=e,l=(0,en.W)();return(0,j.jsx)(e9.Z,{isOpen:l.state.openModal,onRequestClose:l.closeModalDifferentPrice,children:(0,j.jsxs)("div",{className:"mx-auto h-full flex flex-col items-center text-center max-w-[300px] md:max-w-[500px]",children:[(0,j.jsx)(se.Z,{height:40,width:40,className:"mb-5"}),(0,j.jsx)("p",{className:"title4",children:(0,j.jsx)(w.Z,{id:"hotel.popin.priceChange.title"})}),(0,j.jsxs)("p",{className:"text-lg font-bold my-3",children:[(0,j.jsx)("span",{className:"text-shadow-black-60 mr-3",children:l&amp;&amp;l.state.selectedRatePlanPolicy&amp;&amp;(0,j.jsx)(ei.W,{price:i?l.state.selectedRatePlanPolicy.slotPriceWithPolicyReduction.baseAmount:l.state.selectedRatePlanPolicy.slotPriceWithPolicyReduction.withBookingFeesAmount,noFraction:!0})}),"→",(0,j.jsx)("span",{className:"text-hot-tangerine ml-3",children:s&amp;&amp;(0,j.jsx)(ei.W,{price:s,noFraction:!0})})]}),(0,j.jsx)("p",{className:"body3 text-shadow-black-80 mb-8",children:(0,j.jsx)(w.Z,{id:"hotel.popin.priceChange.subtitle"})}),(0,j.jsxs)("div",{className:"grid grid-rows-2 md:grid-rows-1 md:grid-cols-2 gap-4 md:gap-6 w-full",children:[(0,j.jsx)(eE.Z,{onClick:l.openCalendar,disabled:a,children:(0,j.jsx)(w.Z,{id:"hotel.popin.priceChange.cta.changeDate"})}),(0,j.jsx)(et.Z,{onClick:t,disabled:a,children:a?(0,j.jsx)("span",{className:"text-white",children:(0,j.jsx)(P.Z,{})}):(0,j.jsx)(w.Z,{id:"hotel.popin.priceChange.cta.continue"})})]})]})})}var st=t(47688),sa=t(78133),si=t(57970),sl=t(78718),sn=t.n(sl),so=t(97718),sc=t(57557),sr=t.n(sc);function sd(e){var s,t,a,i,l,n,o,c,r,d,m,h,x,u,p,f,D,_,q,R,I,M,T,S,W,B;let{hotel:z,taxesAndFees:L}=e,H=(0,G.useQueryClient)(),V=(0,b.Z)(),[ee,,es]=(0,k.U8)(),{lang:ei}=(0,O.Jr)(),eo=(0,v.useRouter)(),ec=(0,E.G)([A.md],[!1],!0),[er,ed]=(0,g.useState)(!1),[em,eh]=(0,g.useState)(!1),[ex,eu]=(0,g.useState)(),[ep,ef]=(0,g.useState)(),ej=(0,en.W)(),eg=(0,st.E)({id:z.id,params:(0,si.UB)(sn()(eo.query,so.HOTEL_PARAMS))}),ev=eg.data&amp;&amp;((null===(s=eg.data.offersDaydream)||void 0===s?void 0:s.timeslots)==null||(null===(t=eg.data.offersDaydream)||void 0===t?void 0:t.timeslots.length)&lt;=0),eb=eg.data&amp;&amp;((null===(a=eg.data.offerAvailabilities)||void 0===a?void 0:a.timeslots)==null||(null===(i=eg.data.offerAvailabilities)||void 0===i?void 0:i.timeslots.length)&lt;=0),ew=(0,g.useRef)(null),ey="daydream"===eo.query.type,eN=!Q()(sr()(eo.query,["checkinDate","slug","type"])),ek=function(e){let[s]=(0,k.U8)(),{lang:t}=(0,O.Jr)(),a=(0,v.useRouter)(),{user:i}=(0,Y.Z)(),l=(0,G.useQueryClient)(),n=(0,E.G)([A.lg],[X.Dl],X.we),o=async e=&gt;{let{checkinDate:o,ratePlanUuid:c,ratePlanPolicyUuid:r,hasPaymentChoice:d=!0}=e,m=(0,K.TR)(K.h8.HOTEL,{isAuth:!Q()(i),hasPaymentChoice:d});if(await (0,J._V)({offerId:c,params:{checkinDate:o,ratePlanPolicyUuid:r}}),m===K.h8.AUTHENTICATION){let e=await (0,J.b0)({ratePlanUuid:c,ratePlanPolicyUuid:r,checkinDate:o});l.setQueryData(["tunnel","booking",t,s],s=&gt;({...e,termsAndConditionsOfUse:null==s?void 0:s.termsAndConditionsOfUse})),await a.push({pathname:"/tunnel/booking",query:{offerId:c,checkinDate:o,ratePlanPolicyUuid:r}},void 0,{shallow:!1});return}if(m===K.h8.CUSTOMIZATION){let e=await (0,J.Sb)({apiToken:btoa("".concat(i.apiToken,":").concat(i.customer.accountId)),data:{ratePlanUuid:c,checkinDate:o,ratePlanPolicyUuid:r,origin:n}});(0,$.on)(e.bookingUuid),l.setQueryData(["tunnel","booking",t,s],s=&gt;({...e,termsAndConditionsOfUse:null==s?void 0:s.termsAndConditionsOfUse})),await a.push({pathname:"/tunnel/booking",query:{uuid:e.bookingUuid}},void 0,{shallow:!1});return}if(m===K.h8.PAYMENT_CHOICE){let e=await (0,J.b0)({ratePlanUuid:c,checkinDate:o,ratePlanPolicyUuid:r});l.setQueryData(["tunnel","booking",t,s],s=&gt;({...e,termsAndConditionsOfUse:null==s?void 0:s.termsAndConditionsOfUse})),await a.push({pathname:"/tunnel/payment-method",query:{offerId:c,checkinDate:o,ratePlanPolicyUuid:r}},void 0,{shallow:!1});return}};return(0,G.useMutation)(e=&gt;{let{...s}=e;return o(s)},e)}({onError:()=&gt;{ed(!0),ej.reset()}});(0,g.useEffect)(()=&gt;{eh(navigator.onLine)},[]),(0,g.useEffect)(()=&gt;{if(!eg.isLoading&amp;&amp;!eg.isFetching){var s,t,a,i,l,n;if(F.FU(e.hotel,(null!==(l=null===(t=eg.data)||void 0===t?void 0:null===(s=t.offerAvailabilities)||void 0===s?void 0:s.offers)&amp;&amp;void 0!==l?l:[]).concat(null!==(n=null===(i=eg.data)||void 0===i?void 0:null===(a=i.offersDaydream)||void 0===a?void 0:a.offers)&amp;&amp;void 0!==n?n:[]),!!eo.query.checkinDate),eo.query.timeslot){let e=document.getElementById(eo.query.timeslot);if(e){let s=e.getBoundingClientRect().top,t=s-150+window.scrollY,a=s-100+window.scrollY;window.scrollTo({top:ec?a:t,behavior:"smooth"}),eo.replace({pathname:eo.pathname,query:sr()(eo.query,["timeslot"])},void 0,{shallow:!0})}}}},[eg.data,eg.isLoading,eg.isFetching,ee,eo.query.checkinDate,eo.query.timeslot]);let eZ=async function(e,s,t){let a=!(arguments.length&gt;3)||void 0===arguments[3]||arguments[3];eo.query.checkinDate&amp;&amp;a?(ej.selectOffer({offer:void 0}),ek.mutate({checkinDate:eo.query.checkinDate,ratePlanUuid:e.id,hasPaymentChoice:t,ratePlanPolicyUuid:s.uuid,hotelSlug:z.slug})):(ej.selectOfferWithoutDate({offer:e,ratePlanPolicy:s,hasPaymentChoice:t}),ew.current&amp;&amp;window.scroll({top:ew.current.offsetTop-80,behavior:"smooth"}))},eC=async(e,s)=&gt;{let t=e?(0,y.default)(e,"yyyy-MM-dd"):void 0;if(ej.state.selectedOffer&amp;&amp;t){let e=z.showPricesWithoutBookingFees?ej.state.selectedOffer.policies[0].slotPriceWithPolicyReduction.baseAmount.amount:ej.state.selectedOffer.policies[0].slotPriceWithPolicyReduction.withBookingFeesAmount.amount;if(s&amp;&amp;ej.state.selectedOffer&amp;&amp;s.amount!==e){ej.openModalDifferentPrice(),ef(s),eu(t);return}ej.state.selectedRatePlanPolicy&amp;&amp;ek.mutate({checkinDate:t,ratePlanUuid:ej.state.selectedOffer.id,ratePlanPolicyUuid:ej.state.selectedRatePlanPolicy.uuid,hasPaymentChoice:ej.state.hasPaymentChoice,hotelSlug:z.slug})}else await eo.replace({pathname:eo.pathname,query:{...eo.query,checkinDate:t}},void 0,{shallow:!0}),ej.closeCalendar()};return(0,j.jsxs)("div",{className:"ds-container mt-8 md:mt-16",children:[(0,j.jsxs)("div",{id:"js-hotel-calendar-container",className:"bg-shadow-black-3 rounded-20",ref:ec?null:ew,children:[(0,j.jsx)("div",{className:"gradient-generic rounded-t-20 h-[54px] md:h-[46px] flex",children:(0,j.jsx)("p",{className:"title5 text-center m-auto",children:(0,j.jsx)(w.Z,{id:"common.calendar.title"})})}),(0,j.jsx)("div",{className:"flex justify-center py-7 md:py-8",children:(0,j.jsx)(U,{isOpen:ej.state.openCalendar,onOpen:ej.openCalendar,onClose:()=&gt;{ej.closeCalendar(),ej.reset()},hotelId:z.id,hotelName:z.name,offerId:null===(l=ej.state.selectedOffer)||void 0===l?void 0:l.id,defaultDate:eo.query.checkinDate,onChange:eC,onNextDay:ej.reset,onPreviousDay:ej.reset,isDisabled:ek.isLoading,isLoading:ek.isLoading,showPricesWithoutBookingFees:z.showPricesWithoutBookingFees})})]}),(0,j.jsxs)("div",{className:"relative mt-8",children:[(eg.isFetching||eg.isLoading)&amp;&amp;(0,j.jsx)("div",{className:"bg-gray-100/50 absolute top-0 left-0 right-0 bottom-0 flex justify-center z-40 animate-pulse",children:(0,j.jsx)(P.Z,{})}),(0,j.jsxs)("div",{className:"flex flex-col gap-8",children:[(0,j.jsx)("div",{children:!eg.data&amp;&amp;!eg.isSuccess&amp;&amp;(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)("div",{className:"text-center rounded-20 px-7 py-8 my-12 md:my-16 border border-shadow-black-20 md:border-none",children:[em&amp;&amp;(0,j.jsx)(ea,{searchUrl:null===(n=e.hotel)||void 0===n?void 0:n.breadcrumb.slice(-1)[0].href}),!em&amp;&amp;(0,j.jsx)("div",{className:" font-semibold text-2xl mb-3.5 md:mb-2.5",children:(0,j.jsx)(w.Z,{id:"common.network.error.message"})})]}),(0,j.jsx)(C.Z,{hotel:e.hotel,title:V.formatMessage({id:"hotel.cross_sale.on_no_availability_title"})})]})}),eg.data&amp;&amp;(null===(o=eg.data.offerAvailabilities)||void 0===o?void 0:o.timeslots)&amp;&amp;(null===(c=eg.data.offerAvailabilities)||void 0===c?void 0:c.timeslots.length)&gt;0&amp;&amp;(0,j.jsxs)("div",{className:(0,N.Z)(ey?"order-2":"order-1"),children:[(0,j.jsx)(eD,{hotel:z,offers:null===(d=eg.data)||void 0===d?void 0:null===(r=d.offerAvailabilities)||void 0===r?void 0:r.offers,timeslots:null===(h=eg.data)||void 0===h?void 0:null===(m=h.offerAvailabilities)||void 0===m?void 0:m.timeslots,rawTimeslots:null===(u=eg.data)||void 0===u?void 0:null===(x=u.offerAvailabilities)||void 0===x?void 0:x.rawTimeslots,hasFilterApplied:eN,taxesAndFees:L,onClickOffer:eZ,isLoading:ek.isLoading,isDisabled:ek.isLoading}),eN&amp;&amp;(0,j.jsx)(et.Z,{className:"m-auto mb-6 js-abtest-hotel-filter-see-more-button",onClick:()=&gt;{eo.push({pathname:eo.pathname,query:sn()(eo.query,["checkinDate","slug","type"])},void 0,{shallow:!0})},children:(0,j.jsx)(w.Z,{id:"hotel-page.see-more-rateplan"})})]}),eg.data&amp;&amp;eg.data.offersDaydream&amp;&amp;(null===(p=eg.data.offersDaydream)||void 0===p?void 0:p.timeslots)&amp;&amp;(null===(f=eg.data.offersDaydream)||void 0===f?void 0:f.timeslots.length)&gt;0&amp;&amp;(0,j.jsx)("div",{className:(0,N.Z)(ey?"order-1":"order-2"),children:(0,j.jsx)(e7,{hotel:z,offers:null===(_=eg.data)||void 0===_?void 0:null===(D=_.offersDaydream)||void 0===D?void 0:D.offers,timeslots:null===(R=eg.data)||void 0===R?void 0:null===(q=R.offersDaydream)||void 0===q?void 0:q.timeslots,rawTimeslots:null===(M=eg.data)||void 0===M?void 0:null===(I=M.offersDaydream)||void 0===I?void 0:I.rawTimeslots,taxesAndFees:L,onClickOffer:eZ,isLoading:ek.isLoading,isDisabled:ek.isLoading,isBookable:null===eg.data.nextDaydreamAvailabilities})}),eb&amp;&amp;(0,j.jsxs)("div",{className:"pb-10 order-3",children:[(0,j.jsx)("span",{className:"title2 md:flex-1 whitespace-nowrap",children:(0,j.jsx)(w.Z,{id:"hotel.daydreamExperience.functionalOffer.title"})}),(0,j.jsxs)("div",{className:(0,N.Z)("text-center rounded-20 px-7 py-8 my-12 md:my-16  border border-shadow-black-20",!eg.data.nextAvailabilities&amp;&amp;"md:border-none"),children:[eg.data.nextAvailabilities&amp;&amp;(0,j.jsx)(el,{nextAvailabilities:eg.data.nextAvailabilities,onClickDate:eC}),!eg.data.nextAvailabilities&amp;&amp;(0,j.jsx)(ea,{searchUrl:null===(T=e.hotel)||void 0===T?void 0:T.breadcrumb.slice(-1)[0].href})]})]}),eg.data&amp;&amp;eb&amp;&amp;ev&amp;&amp;(0,j.jsx)("div",{className:"order-5",children:(0,j.jsx)(C.Z,{hotel:e.hotel,title:V.formatMessage({id:"hotel.cross_sale.on_no_availability_title"})})})]})]}),(0,j.jsx)(Z.Z,{isOpen:er,onClose:()=&gt;{ed(!1),H.invalidateQueries({queryKey:["offers",z.id,eo.query.checkinDate,ei,ee,sa.Vd.DAYUSE]})},children:(0,j.jsxs)("div",{className:"text-center mb-4 title6",children:[(null===(S=ek.error)||void 0===S?void 0:S.response)&amp;&amp;ek.error.response.status&gt;=500&amp;&amp;"internal error occurred",(null===(W=ek.error)||void 0===W?void 0:W.response)&amp;&amp;ek.error.response.status&gt;=400&amp;&amp;ek.error.response.status&lt;500&amp;&amp;(null===(B=ek.error.response.data)||void 0===B?void 0:B.detail)&amp;&amp;ek.error.response.data.detail.split(",").map(e=&gt;(0,j.jsx)("p",{className:"body3 mb-4",children:(0,j.jsx)(w.Z,{id:e})},e))]})}),(0,j.jsx)(ss,{newPriceOnNewDate:ep,onClick:()=&gt;{ej.state.selectedOffer&amp;&amp;ex&amp;&amp;ej.state.selectedRatePlanPolicy&amp;&amp;(ek.mutate({checkinDate:ex,ratePlanUuid:ej.state.selectedOffer.id,ratePlanPolicyUuid:ej.state.selectedRatePlanPolicy.uuid,hasPaymentChoice:ej.state.hasPaymentChoice,hotelSlug:z.slug}),ej.closeModalDifferentPrice)},isLoading:ek.isLoading,showPricesWithoutBookingFees:z.showPricesWithoutBookingFees})]})}},74702:function(e,s,t){t.d(s,{X:function(){return l},Z:function(){return n}});var a=t(85893),i=t(86896);function l(e,s,t,a,i){var l;let n=s.name?s.name:"Dayuse",o="https://".concat(t,"/hotels/").concat(s.slug),c=s.pricingInformation?s.pricingInformation.minimumOfferPrice.amount/s.pricingInformation.minimumOfferPrice.subunitDivisor:0,r=s.photos.length&gt;=10?10:s.photos.length,d=s.photos.slice(0,r).map(e=&gt;"".concat("https://media.dayuse.com").concat(e.normal)),m=e.formatMessage({id:"hotel.reassurance.PriceStartsAt"},{startingPrice:c,RemoteConfigCurrency:i}),h={"@context":"https://schema.org","@type":"Hotel","@id":o,name:n,description:s.description,url:o,telephone:a,priceRange:m,image:d,address:{"@type":"PostalAddress",streetAddress:s.address,addressLocality:s.city,addressRegion:"",postalCode:s.postalCode},geo:{latitude:String(s.position.lat),longitude:String(s.position.lon),"@type":"GeoCoordinates"}};return s.review&amp;&amp;(null===(l=s.review)||void 0===l?void 0:l.count)&gt;0&amp;&amp;(h.aggregateRating={"@type":"AggregateRating",ratingCount:s.review.count,ratingValue:String(s.review.globalAverageRating)}),h}function n(e){let{hotel:s,host:t,phoneNumber:n,currency:o}=e,c=l((0,i.Z)(),s,t,n,o);return(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(c)}})}},79827:function(e,s,t){t.d(s,{Z:function(){return m}});var a=t(85893),i=t(31141),l=t(56203),n=t(90081),o=t(89762),c=t(16937),r=t(753),d=t(44012);function m(e){let{hotelPosition:s}=e,t=(0,n.Ch)(),{geoloc:m}=(0,r.Z)(),h=(0,o.t)();return(0,a.jsxs)(a.Fragment,{children:[m.data&amp;&amp;(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"text-shadow-black-20",children:"|"}),(0,a.jsxs)("span",{className:"js-search-cardhotel-distance flex items-center m-1 caption-md text-shadow-black-80",children:[(0,a.jsx)(c.Z,{id:"solid-location-dot",className:"h-3 w-3 shrink-0 fill-current text-shadow-black mr-1"}),(0,a.jsx)("span",{children:(0,a.jsx)(d.Z,{id:"search.hotel-card-distance-around-me",values:{distance:(0,i.yP)((0,l.Z)([m.data.lng,m.data.lat],[s.lng,s.lat],{units:"meters"}),h.locale.split("-")[1])}})})]})]}),!m.data&amp;&amp;t.poiMarker&amp;&amp;(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"text-shadow-black-20",children:"|"}),(0,a.jsxs)("span",{className:"js-search-cardhotel-distance flex items-center m-1 caption-md text-shadow-black-80",children:[(0,a.jsx)(c.Z,{id:"solid-location-dot",className:"h-3 w-3 shrink-0 fill-current text-shadow-black mr-1"}),(0,a.jsxs)("span",{children:["address"===t.poiMarker.poiType&amp;&amp;(0,a.jsx)(d.Z,{id:"search.hotel-card-distance-address",values:{distance:(0,i.yP)((0,l.Z)([t.poiMarker.position.lng,t.poiMarker.position.lat],[s.lng,s.lat],{units:"meters"}),h.locale.split("-")[1])}}),("trainstation"===t.poiMarker.poiType||"subway"===t.poiMarker.poiType||"airport"===t.poiMarker.poiType)&amp;&amp;(0,a.jsx)(d.Z,{id:"search.hotel-card-distance-station",values:{distance:(0,i.yP)((0,l.Z)([t.poiMarker.position.lng,t.poiMarker.position.lat],[s.lng,s.lat],{units:"meters"}),h.locale.split("-")[1]),name:t.poiMarker.name}})]})]})]})]})}},51626:function(e,s,t){t.d(s,{Z:function(){return x}});var a=t(85893);t(67294);var i=t(44012),l=t(86010),n=t(16937),o=t(97335),c=t(67126);function r(e){let s="";switch(e.name){case"Jacuzzi / Hot tub":case"Bathtub / Jacuzzi":case"Jacuzzi":s="jacuzzi";break;case"Bathtub":s="bath-soap";break;case"Outdoor pool":case"Rooftop pool":case"Indoor pool":s="water-ladder";break;case"Sauna":s="sauna";break;case"Hammam / Steam room":s="hammam";break;case"Spa":s="slippers";break;case"double_king":s="bed-front";break;case"Best Views from High Floors":s="camera";break;case"Best bars and restaurants":s="fork-knife"}return s}let d=e=&gt;{let{equipment:s}=e;return(0,a.jsx)("div",{className:"flex",children:(0,a.jsx)(n.Z,{id:s.pictoName,className:"h-5 w-5"})})};function m(e){let s;let{hotelEquipments:t,assetEquipment:i,beddings:l}=e,n=Array.from((function(e){let s=new Map;return e.forEach(e=&gt;{if(r(e)){let t={name:e.name,displayName:e.displayName,pictoName:r(e)};s.set(t.pictoName,t)}}),s})((s=[],t&amp;&amp;(s=s.concat(t)),i&amp;&amp;(s=s.concat(i)),l&amp;&amp;(s=s.concat(l)),s)).values());return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{className:"flex gap-x-2",children:n.length&gt;0&amp;&amp;n.map(e=&gt;(0,a.jsx)("div",{children:(0,a.jsx)(d,{equipment:e})},"picto-hotel-equipment-"+e.name))})})}let h=e=&gt;{let{children:s,className:t,icon:i="circle-check",...o}=e;return(0,a.jsxs)("span",{className:(0,l.Z)("caption-sm flex items-center",t),...o,children:[(0,a.jsx)(n.Z,{id:i,className:"h-[14px] w-[14px]"}),(0,a.jsx)("span",{className:"ml-1",children:s})]})};function x(e){let{displayReinsurance:s,context:t,searchContextPrepaymentType:n,maximumBookingFees:r,displayOfferPrice:d,showPricesWithoutBookingFees:x,minimumPriceWithoutBookingFees:u,minimumOfferPrice:p,discountPercentage:f,comparativePrice:j,displayPicto:g,hotelEquipments:v,assetEquipment:b,beddings:w}=e;return(0,a.jsxs)("div",{className:(0,l.Z)("flex justify-between items-end h-16",!s&amp;&amp;!g&amp;&amp;"flex-row-reverse"),children:[s&amp;&amp;(0,a.jsx)("div",{className:"js-search-".concat(t,"-reassurance js-hotel-picto-a space-y-1"),children:"full"!==n?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(h,{className:"js-search-".concat(t,"-reassurance-without-prepayment text-smart-blue"),children:"none"!==n?(0,a.jsx)(i.Z,{id:"common.freeCancellation.withoutPrepayment"}):(0,a.jsx)(i.Z,{id:"common.freeCancellation.full"})}),"none"===n?(0,a.jsx)(h,{className:"js-search-".concat(t,"-reassurance-need-prepayment text-smart-blue"),children:(0,a.jsx)(i.Z,{id:"common.no.online.payment"})}):(0,a.jsx)(h,{className:"js-search-".concat(t,"-reassurance-prepayment-with-amount text-shadow-black"),icon:"circle-info",children:(0,a.jsx)(i.Z,{id:"search.card.prepayment.with.amount",values:{formattedPrice:(0,a.jsx)(c.W,{price:r,noFraction:!0})}})})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(h,{icon:"circle-info",className:"text-shadow-black-80",children:(0,a.jsx)(i.Z,{id:"hotel.offerCard.reassurance.nonRefundable"})}),(0,a.jsx)(h,{icon:"circle-info",className:"text-shadow-black-80",children:(0,a.jsx)(i.Z,{id:"hotel.dayuse.reassurance.payOnline"})})]})}),g&amp;&amp;v&amp;&amp;(0,a.jsx)("div",{className:"h-full js-hotel-picto-b hidden",children:(0,a.jsx)(m,{hotelEquipments:v,assetEquipment:b,beddings:w})}),d&amp;&amp;(0,a.jsxs)("div",{className:"js-search-".concat(t,"-pricing-information text-shadow-black flex-1"),children:[(0,a.jsx)("div",{className:"js-search-".concat(t,"-pricing-information-dayuse mb-1 md:mb-2 text-right font-extrabold text-3xl/6"),children:(0,a.jsx)(c.W,{price:x?u:p,noFraction:!0})}),f&gt;20&amp;&amp;(0,a.jsxs)("div",{className:"flex items-center justify-end",children:[(0,a.jsx)(o.Z,{className:"js-search-".concat(t,"-pricing-information-discount-percentage"),discount:f}),(0,a.jsx)("div",{className:"font-light ml-3 text-xs line-through decoration-shadow-black-60",children:(0,a.jsxs)("span",{className:"js-search-".concat(t,"-pricing-information-comparative-price text-shadow-black-60"),children:[(0,a.jsx)(c.W,{price:j,noFraction:!0})," ",(0,a.jsx)(i.Z,{id:"common.at.night"})]})})]})]})]})}},36595:function(e,s,t){t.d(s,{Z:function(){return d}});var a=t(85893);t(67294);var i=t(44012),l=t(86010),n=t(16937),o=t(97335),c=t(67126);let r=e=&gt;{let{children:s,className:t,icon:i="circle-check",...o}=e;return(0,a.jsxs)("span",{className:(0,l.Z)("caption-sm flex items-center",t),...o,children:[(0,a.jsx)(n.Z,{id:i,className:"h-[14px] w-[14px]"}),(0,a.jsx)("span",{className:"ml-1",children:s})]})};function d(e){let{hasReduction:s=!1,displayReinsurance:t,context:n,searchContextPrepaymentType:d,maximumBookingFees:m,displayOfferPrice:h,minimumOfferPrice:x,discountPercentage:u,comparativePrice:p,displayPicto:f}=e;return(0,a.jsxs)("div",{className:(0,l.Z)("flex justify-between items-end h-16",!t&amp;&amp;!f&amp;&amp;"flex-row-reverse"),children:[t&amp;&amp;(0,a.jsx)("div",{className:"js-search-".concat(n,"-reassurance space-y-1"),children:"full"!==d&amp;&amp;(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(r,{className:"js-search-".concat(n,"-reassurance-without-prepayment text-smart-blue"),children:["none"!==d&amp;&amp;(0,a.jsx)(i.Z,{id:"common.freeCancellation.withoutPrepayment"}),"none"===d&amp;&amp;!s&amp;&amp;(0,a.jsx)(i.Z,{id:"common.freeCancellation.full"}),"none"===d&amp;&amp;s&amp;&amp;(0,a.jsx)(i.Z,{id:"common.reinsurance.freeCancellationAvailable"})]}),"none"===d&amp;&amp;!s&amp;&amp;(0,a.jsx)(r,{className:"js-search-".concat(n,"-reassurance-need-prepayment text-smart-blue"),children:(0,a.jsx)(i.Z,{id:"common.no.online.payment"})}),"none"!==d&amp;&amp;(0,a.jsx)(r,{className:"js-search-".concat(n,"-reassurance-prepayment-with-amount text-shadow-black"),icon:"circle-info",children:(0,a.jsx)(i.Z,{id:"search.card.prepayment.with.amount",values:{formattedPrice:(0,a.jsx)(c.W,{price:m,noFraction:!0})}})})]})}),h&amp;&amp;(0,a.jsxs)("div",{className:"js-search-".concat(n,"-pricing-information text-shadow-black"),children:[(0,a.jsxs)("div",{className:"js-search-".concat(n,"-pricing-information-dayuse mb-1 md:mb-2 text-right font-extrabold text-3xl/6"),children:[(0,a.jsx)("span",{className:"text-xs mr-1",children:(0,a.jsx)(i.Z,{id:"common.from.price"})}),(0,a.jsx)(c.W,{price:x,noFraction:!0})]}),u&gt;0&amp;&amp;(0,a.jsxs)("div",{className:"flex items-center justify-end",children:[(0,a.jsx)(o.Z,{className:"js-search-".concat(n,"-pricing-information-discount-percentage"),discount:u}),(0,a.jsx)("div",{className:"font-light ml-3 text-xs line-through decoration-shadow-black-60",children:(0,a.jsxs)("span",{className:"js-search-".concat(n,"-pricing-information-comparative-price text-shadow-black-60"),children:[(0,a.jsx)(c.W,{price:p,noFraction:!0})," ",(0,a.jsx)(i.Z,{id:"common.at.night"})]})})]})]})]})}},85038:function(e,s,t){t.d(s,{Z:function(){return I}});var a=t(85893),i=t(67294),l=t(41664),n=t.n(l),o=t(96026),c=t.n(o),r=t(86010),d=t(44012),m=t(11163),h=t(16937),x=t(26085),u=t(65569),p=t(35824),f=t(75123),j=t(82856),g=t(89762),v=t(90813),b=t(41822),w=t(51626),y=t(36595),N=t(51448),k=t(30497),Z=t(5367),C=t(70487),P=(0,i.memo)(function(e){let s=(0,m.useRouter)(),{lang:t}=(0,k.Jr)(),l=(0,f.Z)([f.lg],[!0],!1),{availabilities:n,hotelSlug:o,hotelId:c,maxTimeSlot:r=3}=e,d=(0,i.useCallback)(e=&gt;()=&gt;{if(l){let t=new URLSearchParams;s.query.checkinDate&amp;&amp;t.append("checkinDate",s.query.checkinDate),t.append("timeslot","availabilities-".concat(e.startHour,"-").concat(e.endHour)),window.open("/hotels/".concat(o,"?").concat(t.toString()),"_blank")}else s.push({pathname:"/hotels/".concat(o),query:(0,Z.DQ)({checkinDate:s.query.checkinDate,timeslot:"availabilities-".concat(e.startHour,"-").concat(e.endHour)})},void 0,{shallow:!1})},[l,s]);return(0,a.jsxs)("div",{className:"relative flex items-stretch",children:[n&amp;&amp;n.filter((e,s)=&gt;s&lt;r).map((e,s)=&gt;{let i=new Date;i.setHours(parseInt(e.startHour.split(":")[0])),i.setMinutes(parseInt(e.startHour.split(":")[1]));let l=new Date;return l.setHours(parseInt(e.endHour.split(":")[0])),l.setMinutes(parseInt(e.endHour.split(":")[1])),(0,a.jsx)("div",{className:"js-search-cardsmall-timeslots-availability relative grow-0 shrink-0 px-1 first:pl-0 last:pr-0",children:(0,a.jsx)("button",{onClick:d(e),className:"flex justify-center items-center text-white bg-shadow-black rounded-full text-button-sm px-3 py-2 md:py-3 md:px-5 active:bg-shadow-black-3 active:border-shadow-black hover:bg-shadow-black disabled:opacity-50 disabled:hover:bg-black disabled:active:bg-black overflow-hidden whitespace-nowrap w-fit bg-opacity-60",children:"".concat((0,C.Z)(i,t)," - ").concat((0,C.Z)(l,t))})},"availabilities-".concat(c,"-").concat(s))}),n&amp;&amp;n.length&gt;r&amp;&amp;(0,a.jsx)("div",{className:"relative",children:(0,a.jsxs)("button",{onClick:d(n[r]),className:"flex justify-center items-center text-white bg-shadow-black rounded-full text-button-sm px-3 py-2 md:py-3 md:px-5 active:bg-shadow-black-3 active:border-shadow-black hover:bg-shadow-black-3 disabled:opacity-50 disabled:hover:bg-black disabled:active:bg-black overflow-hidden whitespace-nowrap w-fit bg-opacity-60",children:["+",n.length-r]})})]})}),F=t(7187),E=t(97334),A=t.n(E),D=t(78718),_=t.n(D),q=t(97718),R=t(79827);function I(e){var s,t;let{hotel:l,isOnHotelPage:o,index:k,photoMedium:Z,forceSmall:C=!1,displayReinsurance:E=!0,categoryType:D=null,categoryName:I=null,categoryOrder:M=null}=e,[T,S]=(0,i.useState)(),O=(0,f.Z)([f.md],["_blank"],"_self"),W=(0,m.useRouter)(),{favorites:B,addFavorite:z,removeFavorite:L}=(0,p.Z)(),{user:H}=(0,j.Z)(),U=(0,i.useCallback)(()=&gt;{if(u.y5(l,o?"hotel_page":"search_page"),B.data&amp;&amp;B.data.includes(l.id))1===B.data.length&amp;&amp;S(void 0),L({hotelId:l.id});else{let e=B.data&amp;&amp;B.data.length&gt;0;z({hotelIds:[l.id]}),e||(null==H?void 0:H.customer)||S(l.name)}},[B]);(0,g.t)();let G=()=&gt;{u.DB(l,k,o?"product":"search",o?l.name:document.title,location.pathname)},V=!!l.pricingInformation&amp;&amp;!!l.pricingInformationWithReduction&amp;&amp;l.pricingInformationWithReduction.minimumOfferPrice.amount&lt;l.pricingInformation.minimumOfferPrice.amount,Q=V?l.pricingInformationWithReduction:l.pricingInformation,J=(0,i.useMemo)(()=&gt;{let e=A().encode(_()(W.query,["checkinDate"]));return e?"/hotels/".concat(l.slug,"?").concat(e):"/hotels/".concat(l.slug)},[W.query,l.slug]),K=(0,i.useMemo)(()=&gt;{let e=A().encode(_()(W.query,q.HOTEL_PARAMS));return e?"/hotels/".concat(l.slug,"?").concat(e):"/hotels/".concat(l.slug)},[W.query,l.slug]);return(0,a.jsxs)("div",{className:"js-cardsmall-container relative w-full flex flex-col bg-transparent rounded-10 shadow-100",children:[(0,a.jsx)(n(),{href:J,locale:!1,target:O,rel:"noreferrer",title:l.name,"data-category-type":D,"data-category-name":I,"data-category-order":M,className:(0,r.Z)("absolute top-0 right-0 bottom-0 left-0 z-20 js-abtest-hotel-filter-a hidden"),onClick:G}),(0,a.jsx)(n(),{href:K,locale:!1,target:O,rel:"noreferrer",title:l.name,"data-category-type":D,"data-category-name":I,"data-category-order":M,className:(0,r.Z)("absolute top-0 right-0 bottom-0 left-0 z-20 js-abtest-hotel-filter-b"),onClick:G}),(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{children:(0,a.jsx)("div",{className:(0,r.Z)("bg-gray-300 rounded-t-10 md:rounded-10",{"h-32":!Z,"h-40":Z}),children:l.photos&amp;&amp;l.photos.length&gt;0&amp;&amp;(0,a.jsxs)("div",{className:"relative w-full h-full rounded-10",children:[(0,a.jsx)(N.Z,{onClick:U,isFavorite:B.data&amp;&amp;B.data.includes(l.id)}),l.isPoolIncluded&amp;&amp;(0,a.jsx)("div",{className:"absolute",style:{left:16,top:16},children:(0,a.jsx)(x.Z,{className:"text-blue-sky bg-white",children:(0,a.jsx)(d.Z,{id:"common.filter.poolIncluded"})})}),(0,a.jsx)(F.Z,{className:"js-cardsmall-photo object-cover w-full h-full rounded-t-10",src:l.photos[0].normal,alt:l.name,width:384,height:160}),l.offerAvailabilities&amp;&amp;l.offerAvailabilities.timeslots&amp;&amp;l.offerAvailabilities.timeslots.length&gt;0&amp;&amp;(0,a.jsx)("div",{className:"absolute bottom-2 left-2 z-30",children:(0,a.jsx)(P,{hotelId:l.id,hotelSlug:l.slug,availabilities:(null===(s=l.offerAvailabilities)||void 0===s?void 0:s.timeslots)||[],maxTimeSlot:C?2:3})})]})})}),(0,a.jsxs)("div",{className:"py-2 px-3 bg-white rounded-b-10",children:[(0,a.jsx)("div",{className:"flex justify-between h-12",children:(0,a.jsxs)("div",{className:"overflow-hidden",children:[(0,a.jsxs)("h2",{className:"js-cardsmall-hotelname mr-5 truncate title4",children:[(0,a.jsx)(n(),{href:J,locale:!1,target:O,rel:"noreferrer",title:l.name,"data-category-type":D,"data-category-name":I,"data-category-order":M,className:"js-abtest-hotel-filter-a hidden",children:l.name}),(0,a.jsx)(n(),{href:K,locale:!1,target:O,rel:"noreferrer",title:l.name,"data-category-type":D,"data-category-name":I,"data-category-order":M,className:"js-abtest-hotel-filter-b",children:l.name})]}),(0,a.jsxs)("div",{className:"js-cardsmall-hotel-subtitle-container flex items-center",children:[(0,a.jsx)("div",{className:"flex mr-2",children:c()(l.starRating).map(e=&gt;(0,a.jsx)(h.Z,{id:"solid-star",className:"js-cardsmall-stars h-[10px] w-[10px] mr-0.5"},"star-".concat(e)))}),l.city&amp;&amp;(0,a.jsx)("div",{className:"js-cardsmall-city caption-md whitespace-nowrap overflow-hidden mr-2 text-shadow-black-80",children:l.city}),!o&amp;&amp;(0,a.jsx)(R.Z,{hotelPosition:{lat:l.position.lat,lng:l.position.lon}})]})]})}),(0,a.jsx)("div",{className:"h-6",children:Number(null===(t=l.review)||void 0===t?void 0:t.count)&gt;=2&amp;&amp;(0,a.jsx)(b.Z,{hotel:l})}),(0,a.jsx)("div",{className:"js-abtest-hotel-pricing-a",children:l.pricingInformation&amp;&amp;(0,a.jsx)(w.Z,{context:"cardsmall",searchContextPrepaymentType:l.searchContextPrepaymentType,maximumBookingFees:l.pricingInformation.maximumBookingFees,minimumOfferPrice:l.pricingInformation.minimumOfferPrice,comparativePrice:l.pricingInformation.comparativePrice,discountPercentage:l.pricingInformation.discountPercentage,displayOfferPrice:l.pricingInformation.displayOfferPrice,showPricesWithoutBookingFees:l.showPricesWithoutBookingFees,minimumPriceWithoutBookingFees:l.pricingInformation.minimumOfferPriceWithoutBookingFees,displayReinsurance:E,displayPicto:!0,hotelEquipments:l.hotelEquipments,assetEquipment:l.assetEquipments,beddings:l.beddings})}),(0,a.jsx)("div",{className:"js-abtest-hotel-pricing-b hidden",children:Q&amp;&amp;(0,a.jsx)(y.Z,{context:"cardsmall",searchContextPrepaymentType:l.searchContextPrepaymentType,maximumBookingFees:Q.maximumBookingFees,minimumOfferPrice:Q.minimumOfferPrice,comparativePrice:Q.comparativePrice,discountPercentage:Q.discountPercentage,displayOfferPrice:!0,hasReduction:V,displayReinsurance:E,displayPicto:!0})})]})]}),T&amp;&amp;(0,a.jsx)(v.Z,{hotelName:T,hotelSlug:"/hotels/".concat(l.slug).concat(W.query.checkinDate?"?checkinDate=".concat(W.query.checkinDate):""),show:!!(T&amp;&amp;""!==T),onClose:()=&gt;S(void 0)})]})}},90018:function(e,s,t){t.d(s,{Z:function(){return l}});var a=t(85893);t(67294);var i=t(85038);function l(e){return e.offerType,(0,a.jsx)(i.Z,{...e})}},37888:function(e,s,t){t.d(s,{W:function(){return r},Z:function(){return c}});var a=t(85893),i=t(67294);let l={selectedOffer:void 0,selectedRatePlanPolicy:void 0,hasPaymentChoice:!1,openCalendar:!1,openModal:!1},n=(0,i.createContext)({state:l,dispatch:()=&gt;{console.warn("BookOfferProvider is not defined")}}),o=(e,s)=&gt;{switch(s.type){case"SELECT_OFFER_WITHOUT_DATE":return{...e,selectedOffer:s.offer,selectedRatePlanPolicy:s.ratePlanPolicy,hasPaymentChoice:s.hasPaymentChoice,openCalendar:!0,openModal:!1};case"SELECT_OFFER":return{...e,selectedOffer:s.offer};case"OPEN_MODAL_DIFFERENTE_PRICE":return{...e,openCalendar:!1,openModal:!0};case"CLOSE_MODAL_DIFFERENTE_PRICE":return{...e,openCalendar:!1,openModal:!1};case"RESET":return{...e,openCalendar:!1,selectedOffer:void 0,selectedRatePlanPolicy:void 0,hasPaymentChoice:!1,openModal:!1};case"OPEN_CALENDAR":return{...e,openCalendar:!0,selectedOffer:void 0,selectedRatePlanPolicy:void 0,hasPaymentChoice:!1,openModal:!1};case"CLOSE_CALENDAR":return{...e,openCalendar:!1};default:return e}};function c(e){let{children:s}=e,[t,c]=(0,i.useReducer)(o,l);return(0,a.jsx)(n.Provider,{value:{state:t,dispatch:c},children:s})}let r=()=&gt;{let e=(0,i.useContext)(n);return{state:e.state,reset:()=&gt;{e.dispatch({type:"RESET"})},closeCalendar:()=&gt;{e.dispatch({type:"CLOSE_CALENDAR"})},openCalendar:()=&gt;{e.dispatch({type:"OPEN_CALENDAR"})},selectOfferWithoutDate:s=&gt;{e.dispatch({type:"SELECT_OFFER_WITHOUT_DATE",...s})},selectOffer:s=&gt;{e.dispatch({type:"SELECT_OFFER",...s})},openModalDifferentPrice:()=&gt;{e.dispatch({type:"OPEN_MODAL_DIFFERENTE_PRICE"})},closeModalDifferentPrice:()=&gt;{e.dispatch({type:"CLOSE_MODAL_DIFFERENTE_PRICE"})}}}},92833:function(e,s,t){t.d(s,{Z:function(){return v}});var a=t(85893),i=t(86010),l=t(67126),n=t(16937),o=t(44012);function c(e){return(0,a.jsxs)("div",{className:(0,i.Z)("flex gap-1",!e.price&amp;&amp;"text-smart-blue",!!e.price&amp;&amp;"text-shadow-black-80"),children:[(0,a.jsx)(n.Z,{id:"credit-card",className:"h-3 w-3 shrink-0"}),(0,a.jsxs)("div",{className:"flex md:caption-sm body4",children:[!!e.price&amp;&amp;(0,a.jsx)(o.Z,{id:"hotel.offerCard.reassurances.prepayment.hotel.label"})," ",!e.price&amp;&amp;(0,a.jsx)(o.Z,{id:"common.no.online.payment"})," ",e.price&amp;&amp;(0,a.jsx)(l.W,{price:e.price})]})]})}function r(){return(0,a.jsxs)("div",{className:"flex gap-1 text-smart-blue",children:[(0,a.jsx)(n.Z,{id:"credit-card",className:"h-3 w-3 shrink-0"}),(0,a.jsx)("div",{className:"flex md:caption-sm body4",children:(0,a.jsx)(o.Z,{id:"hotel.dayuse.reassurance.payOnline"})})]})}function d(e){return(0,a.jsxs)("div",{className:"flex gap-1 text-smart-blue",children:[(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"h-3 w-3 shrink-0",children:[(0,a.jsx)("path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z"}),(0,a.jsx)("path",{d:"m9 12 2 2 4-4"})]}),(0,a.jsxs)("div",{className:"flex md:caption-sm body4",children:[!e.withoutBookingFees&amp;&amp;(0,a.jsx)(o.Z,{id:"hotel.offerCard.reassurance.freeCancellation"}),e.withoutBookingFees&amp;&amp;(0,a.jsx)(o.Z,{id:"hotel.offerCard.reassurance.freeCancellationWithoutPrepaid"})]})]})}function m(e){return(0,a.jsxs)("div",{className:"flex gap-1 text-shadow-black-80",children:[(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"h-3 w-3 shrink-0",children:[(0,a.jsx)("path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z"}),(0,a.jsx)("path",{d:"m9 12 2 2 4-4"})]}),(0,a.jsxs)("div",{className:"flex md:caption-sm body4",children:[(0,a.jsx)(o.Z,{id:"hotelPage.offer.reinsurance.semi_flex",values:{duration:e.limitDuration}}),e.withoutBookingFees&amp;&amp;(0,a.jsx)(o.Z,{id:"hotel.offerCard.reassurance.without.booking_fees"})]})]})}function h(){return(0,a.jsxs)("div",{className:"flex gap-1 text-shadow-black-80",children:[(0,a.jsx)(n.Z,{id:"circle-info",className:"h-3 w-3 shrink-0"}),(0,a.jsx)("div",{className:"flex md:caption-sm body4",children:(0,a.jsx)(o.Z,{id:"hotel.offerCard.reassurance.nonRefundable"})})]})}function x(e){return(0,a.jsxs)("div",{className:"flex gap-1 text-shadow-black-80",children:[(0,a.jsx)(n.Z,{id:"credit-card",className:"h-3 w-3 shrink-0"}),(0,a.jsxs)("div",{className:"flex md:caption-sm body4",children:[(0,a.jsx)(o.Z,{id:"hotel.offerCard.reassurances.prepayment.fees.label"})," ",(0,a.jsx)(l.W,{price:e.price})]})]})}function u(e){return(0,a.jsxs)("div",{className:"flex gap-1 text-smart-blue",children:[(0,a.jsx)(n.Z,{id:"circle-check",className:"h-3 w-3 shrink-0"}),(0,a.jsxs)("div",{className:"md:caption-sm body4 flex",children:[(0,a.jsx)(o.Z,{id:"hotel.reassurance.promoCode.codePromoAccepted.reduction"})," ",e.code]})]})}var p=t(89762);function f(e){return(0,a.jsxs)("div",{className:"flex gap-1 text-shadow-black-80",children:[(0,a.jsx)(n.Z,{id:"circle-info",className:"h-3 w-3 shrink-0"}),(0,a.jsx)("div",{className:"flex md:caption-sm body4",children:(0,a.jsx)(o.Z,{id:"hotel.offerCard.reassurance.onRequest",values:{nbHours:e.waitingTime}})})]})}function j(e){return(0,a.jsxs)("div",{className:"flex gap-1 text-shadow-black-80",children:[(0,a.jsx)(n.Z,{id:"credit-card",className:"h-3 w-3 shrink-0"}),(0,a.jsxs)("div",{className:"flex md:caption-sm body4",children:[(0,a.jsx)(o.Z,{id:"common.reinsurance.additionalOnlineFee"})," ",(0,a.jsx)(l.W,{price:e.price})]})]})}function g(){return(0,a.jsxs)("div",{className:"flex gap-1 text-smart-blue",children:[(0,a.jsx)(n.Z,{id:"credit-card",className:"h-3 w-3 shrink-0"}),(0,a.jsxs)("div",{className:"flex md:caption-sm body4",children:[(0,a.jsx)(o.Z,{id:"common.no.online.payment"})," (",(0,a.jsx)(o.Z,{id:"booking-breakdown.hold-with-card-text"}),")"]})]})}function v(e){let s=(0,p.t)();return(0,a.jsxs)("div",{className:"flex flex-col gap-2 mb-2 flex-1",children:["at-the-hotel"===e.ratePlanPolicy.paymentType&amp;&amp;(0,a.jsx)(c,{price:"dayuse"===e.ratePlanPolicy.bookingFeesCollection?e.ratePlanPolicy.slotPriceWithPolicyReduction.baseAmount:void 0}),"at-the-hotel"===e.ratePlanPolicy.paymentType&amp;&amp;"dayuse"===e.ratePlanPolicy.bookingFeesCollection&amp;&amp;e.bookingFeesPrice&amp;&amp;!e.showPricesWithoutBookingFees&amp;&amp;(0,a.jsx)(x,{price:e.bookingFeesPrice}),e.bookingFeesPrice&amp;&amp;"dayuse"===e.ratePlanPolicy.bookingFeesCollection&amp;&amp;"credit-card-tokenization"===e.ratePlanPolicy.paymentType&amp;&amp;(0,a.jsx)(x,{price:e.bookingFeesPrice}),"at-the-hotel"===e.ratePlanPolicy.paymentType&amp;&amp;"dayuse"===e.ratePlanPolicy.bookingFeesCollection&amp;&amp;e.bookingFeesPrice&amp;&amp;e.showPricesWithoutBookingFees&amp;&amp;(0,a.jsx)(j,{price:e.bookingFeesPrice}),("online"===e.ratePlanPolicy.paymentType||"credit-card-tokenization"===e.ratePlanPolicy.paymentType&amp;&amp;"dayuse"!==e.ratePlanPolicy.bookingFeesCollection)&amp;&amp;(0,a.jsx)(r,{}),"credit-card-tokenization"===e.ratePlanPolicy.paymentType&amp;&amp;"dayuse"===e.ratePlanPolicy.bookingFeesCollection&amp;&amp;(0,a.jsx)(g,{}),"free-cancellation"===e.ratePlanPolicy.cancellationPolicy.type&amp;&amp;(0,a.jsx)(d,{withoutBookingFees:"dayuse"===e.ratePlanPolicy.bookingFeesCollection}),"flex-cancellation"===e.ratePlanPolicy.cancellationPolicy.type&amp;&amp;!!e.ratePlanPolicy.cancellationPolicy.cancellationLimit&amp;&amp;(0,a.jsx)(m,{withoutBookingFees:"dayuse"===e.ratePlanPolicy.bookingFeesCollection,limitDuration:e.ratePlanPolicy.cancellationPolicy.cancellationLimit}),"none"===e.ratePlanPolicy.cancellationPolicy.type&amp;&amp;(0,a.jsx)(h,{}),("online"===e.ratePlanPolicy.paymentType||"credit-card-tokenization"===e.ratePlanPolicy.paymentType)&amp;&amp;e.hasPromoCode&amp;&amp;s.promoCode.code&amp;&amp;(0,a.jsx)(u,{code:s.promoCode.code}),e.onRequestWaitingTime&gt;0&amp;&amp;(0,a.jsx)(f,{waitingTime:e.onRequestWaitingTime})]})}},52757:function(e,s,t){t.d(s,{Z:function(){return c}});var a=t(85893),i=t(58202),l=t(83161),n=t(67294),o=t(16937);function c(e){let{show:s,onClose:t,children:c}=e;return(0,a.jsx)(i.u,{appear:!0,show:s,as:n.Fragment,children:(0,a.jsxs)(l.Vq,{as:"div",className:"relative z-50",onClose:t,children:[(0,a.jsx)(i.x,{as:n.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,a.jsx)("div",{className:"fixed inset-0 bg-black bg-opacity-25"})}),(0,a.jsx)("div",{className:"fixed inset-0 overflow-y-auto",children:(0,a.jsx)("div",{className:"flex min-h-full items-center justify-center p-4 text-center",children:(0,a.jsx)(i.x,{as:n.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95",children:(0,a.jsxs)(l.EM,{className:"w-full max-w-sm transform overflow-hidden rounded-2xl bg-white py-10 px-6 text-left align-middle shadow-xl transition-all",children:[(0,a.jsx)("button",{className:"p-6 absolute right-0 top-0",onClick:t,children:(0,a.jsx)(o.Z,{id:"xmark",className:"w-4 h-4"})}),c]})})})})]})})}},90081:function(e,s,t){t.d(s,{Ch:function(){return m},hk:function(){return d},jS:function(){return r}});var a=t(85893),i=t(67294);let l={hovered:void 0,selected:void 0,selectedIndex:void 0,mode:"default"},n=i.createContext(()=&gt;{}),o=i.createContext(l),c=(e,s)=&gt;{switch(s.type){case"ENTER_CARD":return{...e,hovered:s.id};case"LEAVE_CARD":return{...e,hovered:void 0};case"SELECT_MARKER":var t;return{...e,selected:s.id,selectedIndex:s.index,mode:null!==(t=s.mode)&amp;&amp;void 0!==t?t:"default"};case"UNSELECT_MARKER":return{...e,selected:void 0,selectedIndex:void 0};case"SET_POI_MARKER":return{...e,poiMarker:s.poiMarker};case"UNSET_POI_MARKER":return{...e,poiMarker:void 0};default:return e}},r=e=&gt;{let{children:s}=e,[t,r]=(0,i.useReducer)(c,l);return(0,a.jsx)(n.Provider,{value:r,children:(0,a.jsx)(o.Provider,{value:t,children:s})})},d=()=&gt;(0,i.useContext)(n),m=()=&gt;(0,i.useContext)(o)},77557:function(e,s,t){t.d(s,{Z:function(){return n}});var a=t(85893),i=t(92909),l=t(10043);function n(){let{current:e}=(0,i.useMap)(),s=e&amp;&amp;e.getZoom()&gt;=e.getMaxZoom(),t=e&amp;&amp;e.getZoom()&lt;=e.getMinZoom();return(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"right-0 m-3 hidden space-y-2 lg:block",children:[(0,a.jsxs)(l.Z,{id:"js-search-map-buttons-zoomIn",isOnlyIcon:!0,disabled:s,onClick:()=&gt;{s||null==e||e.zoomIn()},children:[(0,a.jsx)("span",{className:"sr-only",children:"Zoom in"}),(0,a.jsx)("span",{className:"text-shadow-black text-2xl font-light",children:"+"})]}),(0,a.jsxs)(l.Z,{id:"js-search-map-buttons-zoomOut",isOnlyIcon:!0,disabled:t,onClick:()=&gt;{t||null==e||e.zoomOut()},children:[(0,a.jsx)("span",{className:"sr-only",children:"Zoom out"}),(0,a.jsx)("span",{className:"text-shadow-black text-2xl font-light",children:"-"})]})]})})}},41274:function(e,s,t){var a=t(85893),i=t(67294),l=t(86010);let n=i.forwardRef(function(e,s){let{as:t="button",children:i,className:n,isOnlyIcon:o=!1,size:c="medium",...r}=e;return(0,a.jsx)(t,{ref:s,className:(0,l.Z)("flex justify-center select-none items-center rounded-full text-white bg-shadow-black cursor-pointer whitespace-nowrap","active:bg-shadow-black active:bg-none hover:bg-shadow-black/70 hover:bg-none","disabled:bg-shadow-black-40 disabled:bg-none disabled:text-white disabled:cursor-default","tiny"===c&amp;&amp;"text-xs font-semibold",o&amp;&amp;"tiny"===c&amp;&amp;"h-6 w-6",!o&amp;&amp;"tiny"===c&amp;&amp;"py-2 px-3","small"===c&amp;&amp;"text-button-sm",!o&amp;&amp;"small"===c&amp;&amp;"py-3 px-5",o&amp;&amp;"small"===c&amp;&amp;"h-9 w-9","medium"===c&amp;&amp;"text-button-lg",o&amp;&amp;"medium"===c&amp;&amp;"h-[52px] w-[52px]",!o&amp;&amp;"medium"===c&amp;&amp;"h-[52px] px-7",n),...r,children:i})});s.Z=n},6795:function(e,s,t){t.r(s),t.d(s,{default:function(){return m}});var a=t(85893),i=t(58202),l=t(83161),n=t(62511),o=t(16937),c=t(67294),r=t(44012),d=t(86010);function m(e){let{id:s,show:t,onClose:m,children:h,header:x,fullscreenMobile:u=!0}=e;return(0,a.jsx)(i.u,{appear:!0,show:t,as:c.Fragment,children:(0,a.jsxs)(l.Vq,{as:"div",id:s,className:"relative z-50",onClose:m,children:[(0,a.jsx)(i.x,{as:c.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,a.jsx)("div",{className:"fixed inset-0 bg-shadow-black bg-opacity-60"})}),(0,a.jsx)("div",{className:(0,d.Z)("fixed inset-0",!u&amp;&amp;"flex"),children:(0,a.jsx)("div",{className:(0,d.Z)("flex md:h-screen md:items-center justify-center md:p-12 text-center rounded-lg",u?"h-full":"h-fit my-auto w-full"),children:(0,a.jsx)(i.x,{as:c.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95",children:(0,a.jsxs)(l.EM,{className:(0,d.Z)("w-full h-full overflow-hidden max-w-3xl transform md:rounded-2xl bg-white text-left align-middle shadow-xl transition-all flex flex-col",!u&amp;&amp;"m-5 pb-3 md:m-0 md:rounded-0"),children:[(0,a.jsxs)("div",{className:"px-5 md:px-8 h-14 md:h-20 flex items-center justify-between",children:[(0,a.jsx)("div",{children:(0,a.jsxs)(n.Z,{type:"button",className:"-ml-6",onClick:m,children:[(0,a.jsx)(o.Z,{id:"xmark",className:"h-5 w-5 mr-2"}),(0,a.jsx)(r.Z,{id:"common.close"})]})}),!!x&amp;&amp;x()]}),(0,a.jsx)("div",{className:"px-5 md:px-8 md:pb-8 overflow-y-auto flex-1",children:h})]})})})})]})})}},56804:function(e,s,t){t.d(s,{Z:function(){return r}});var a=t(85893),i=t(67294),l=t(58202),n=t(83161),o=t(16937),c=t(62511);function r(e){let{children:s,onRequestClose:t,isOpen:r}=e;return(0,a.jsx)(l.u,{appear:!0,show:r,as:i.Fragment,children:(0,a.jsxs)(n.Vq,{as:"div",className:"relative z-10",onClose:t,children:[(0,a.jsx)(l.x,{as:i.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,a.jsx)("div",{className:"fixed inset-0 bg-black bg-opacity-25"})}),(0,a.jsx)("div",{className:"fixed inset-0 overflow-y-auto",children:(0,a.jsx)("div",{className:"flex min-h-full items-center justify-center text-center p-4",children:(0,a.jsx)(l.x,{as:i.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95",children:(0,a.jsxs)(n.EM,{className:"w-full max-w-md transform overflow-hidden rounded-2xl bg-white text-left align-middle shadow-xl transition-all",children:[(0,a.jsx)(c.Z,{className:"absolute top-0 right-0 float-right",onClick:t,children:(0,a.jsx)(o.Z,{id:"xmark",className:"h-4 w-4"})}),(0,a.jsx)("div",{className:"p-10",children:s})]})})})})]})})}},31269:function(e,s,t){t.d(s,{Z:function(){return n}});var a=t(85893),i=t(86010),l=t(13261);function n(e){let{active:s,children:t,size:n="small",count:o,className:c,...r}=e;return(0,a.jsxs)("button",{type:"button",className:(0,i.Z)("inline-flex items-center px-6","large"===n&amp;&amp;"pb-4 font-bold text-sm leading-5","small"===n&amp;&amp;"pb-[14px] font-bold text-xs leading-5",s&amp;&amp;"border-b-2 border-shadow-black",!s&amp;&amp;"border-b border-shadow-black-10",c),...r,children:[t,o&amp;&amp;(0,a.jsx)(l.Z,{count:o,className:"ml-2 bg-sunshine-yellow"})]})}},97718:function(e,s,t){t.r(s),t.d(s,{HOTEL_PARAMS:function(){return et},__N_SSG:function(){return es},default:function(){return ea}});var a=t(85893),i=t(67294),l=t(2962),n=t(84187),o=t(22541),c=t(53092),r=t(11163),d=t(86010),m=t(86896),h=t(44012),x=t(30523),u=t.n(x),p=t(63290),f=t(49377),j=t(18351),g=t(94604),v=t(8610),b=t(16887),w=t(39170),y=t(21169),N=t(93507),k=t(80336),Z=t(8257),C=t(71071),P=t(64444),F=t(39362),E=t(85325),A=t(75123),D=t(89762),_=t(74702);function q(e){let{hotel:s,host:t}=e,i="https://".concat(t),n=s.breadcrumb.map((e,s)=&gt;({position:s,name:e.name,item:"".concat(i).concat(e.href)}));return(0,a.jsx)(l.gR,{itemListElements:n})}var R=t(29082),I=t(67126),M=t(47688),T=e=&gt;{var s,t;let{showStickyHeadband:l,handleClickStickyHeadband:n,hotel:o,checkinDate:c}=e,[r]=(0,p.U8)(),{data:m}=(0,M.E)({id:o.id,params:{checkinDate:c},options:{retry:!1,staleTime:5e3,notifyOnChangeProps:"tracked"},userCurrency:r}),[x,u]=(0,i.useState)(null);return(0,i.useEffect)(()=&gt;{var e,s;let t=null==m?void 0:null===(s=m.offerAvailabilities)||void 0===s?void 0:null===(e=s.offers)||void 0===e?void 0:e.map(e=&gt;e).sort((e,s)=&gt;e.pricingInformation.offerPrice.amount-s.pricingInformation.offerPrice.amount);(null==t?void 0:t.length)&amp;&amp;u(t[0].pricingInformation.offerPrice)},[m,r]),(0,a.jsx)(a.Fragment,{children:(null==m?void 0:null===(t=m.offerAvailabilities)||void 0===t?void 0:null===(s=t.offers)||void 0===s?void 0:s.length)&amp;&amp;(0,a.jsxs)("div",{className:(0,d.Z)("flex md:hidden items-center justify-between sticky bottom-0 bg-white p-3 z-10"),style:{boxShadow:"0 1.5rem 1.5rem 0 rgba(0, 11, 38, 0.3), 0 0 1.5rem 0 rgba(0, 11, 38, 0.22)",transform:l?"translateY(0)":"translateY(100%)",transition:"transform 0.5s ease-in-out"},children:[(0,a.jsxs)("p",{className:"flex-1 flex flex-col mr-3",children:[(0,a.jsx)("span",{className:"text-[12px] text-shadow-black-60",children:(0,a.jsx)(h.Z,{id:"common.from.price"})})," ",x&amp;&amp;(0,a.jsx)("span",{className:"text-shadow-black text-[32px] font-extrabold",children:(0,a.jsx)(I.W,{price:x,noFraction:!0})})]}),(0,a.jsx)(R.Z,{onClick:n,size:"small",className:"text-shadow-black",children:(0,a.jsx)(h.Z,{id:"hotel.cta.sticky.book"})})]})})},S=t(27742),O=t(34039),W=t(73445),B=t(77101),z=t(89312),L=t(22698),H=t(96573),U=t(30567),G=t(60543),V=t(84849),Q=t(72357),J=t(37888),K=t(74179),Y=t(16008),X=t(65547),$=t(67204),ee=t(22980),es=!0;let et=["checkinDate","type","checkinTime","checkoutTime","offerThematicIds","duration","isPoolIncluded","cashPaymentAccepted","immediateConfirmation","payAtTheHotel","promoCodeEnabled","giftCardEnabled","businessOffer","withoutOnlinePayment","daydreamOfferThematicIds","daydreamOffer","bedding","equipements","assetEquipments","addonCategoryIds","superFilterIds","suppliedByDayuseAddonsIds","lower","upper"];function ea(e){var s,t,x,R,M,es,et,ea,ei,el,en;let eo=(0,m.Z)(),ec=(0,r.useRouter)(),er=(0,E.G)([A.md],[!1],!0),[ed,em]=(0,i.useState)(!1),[eh,ex]=(0,i.useState)(!1),eu=(0,i.useRef)(null),ep=(0,i.useRef)([]),ef=(0,i.useRef)(null),[ej,eg]=(0,i.useState)(),[ev,eb]=(0,i.useState)(),[ew]=(0,p.U8)();(0,Y.Z)();let{data:ey}=(0,o.w8)(e.slug,{placeholderData:e.hotel}),[eN,ek]=(0,i.useState)([]),eZ=(null===(s=ey.inclusiveTaxesAndFees)||void 0===s?void 0:s.length)&gt;0,eC=(null===(t=ey.exclusiveTaxesAndFees)||void 0===t?void 0:t.length)&gt;0,eP=(0,D.t)(),eF=(null==ey?void 0:ey.review)&amp;&amp;ey.review.count&gt;=2,[eE,eA]=(0,i.useState)(!1),eD=null!==(ei=null===(x=ey.pricingInformation)||void 0===x?void 0:x.discountPercentage)&amp;&amp;void 0!==ei&amp;&amp;ei?"meta.title.hotel.detail":"meta.title.hotel.detail.price.is.zero",e_=null!==(el=null===(R=ey.pricingInformation)||void 0===R?void 0:R.discountPercentage)&amp;&amp;void 0!==el&amp;&amp;el?"meta.description.hotel.detail":"meta.description.hotel.detail.price.is.zero",{data:eq}=(0,c.c)(ey.id,void 0),[eR,eI]=(0,i.useState)(!1),[eM,eT]=(0,i.useState)(!1),eS=()=&gt;{eT(!0)},eO=()=&gt;{eI(!0)},eW=()=&gt;{eI(!1)},eB=e=&gt;{e?ep.current.push(e):ep.current.pop()},ez=e=&gt;{eT(!1),ep.current&amp;&amp;ep.current.forEach(s=&gt;{s&amp;&amp;(null==s?void 0:s.getAttribute("data-anchor"))===e&amp;&amp;window.scrollTo({top:s.offsetTop-(er?110:90),behavior:"smooth"})})},eL=()=&gt;{if(ef.current){var e,s;let t=document.documentElement.scrollTop,a=null===(e=ef.current)||void 0===e?void 0:e.offsetTop,i=null===(s=ef.current)||void 0===s?void 0:s.offsetHeight;a&amp;&amp;i&amp;&amp;(t&gt;a+i?ex(!0):ex(!1))}},eH=()=&gt;{if(eu.current){let e;em(!!eu.current&amp;&amp;document.documentElement.scrollTop&gt;eu.current.offsetTop),ep.current.forEach(s=&gt;{s&amp;&amp;document.documentElement.scrollTop&gt;=s.offsetTop-(er?110:90)&amp;&amp;(e=null==s?void 0:s.getAttribute("data-anchor"))}),eg(e)}},eU=()=&gt;{eH(),eL()},eG=e=&gt;{(0,n.ik)({id:ey.id,params:{checkinDate:e}}).then(e=&gt;{var s,t,a,i;eZ&amp;&amp;(null===(t=e.computedTaxesAndFees)||void 0===t?void 0:null===(s=t.inclusive)||void 0===s?void 0:s.length)&gt;0&amp;&amp;ek(e.computedTaxesAndFees.inclusive),eC&amp;&amp;(null===(i=e.computedTaxesAndFees)||void 0===i?void 0:null===(a=i.exclusive)||void 0===a?void 0:a.length)&gt;0&amp;&amp;ek(e.computedTaxesAndFees.exclusive)})},eV=(0,i.useMemo)(()=&gt;ey.equipments.length&gt;0?ey.equipments.filter(e=&gt;null!==e.openingClosingHours&amp;&amp;null!==e.openingClosingHours.specialClosure):[],[ey.equipments]),eQ=(0,i.useMemo)(()=&gt;ey.equipments.length&gt;0?ey.equipments.filter(e=&gt;{var s,t;return null!==e.seasonalClosure&amp;&amp;(null===(s=e.seasonalClosure)||void 0===s?void 0:s.startDate)!==null&amp;&amp;(null===(t=e.seasonalClosure)||void 0===t?void 0:t.endDate)!==null}):[],[ey.equipments]);return(0,i.useEffect)(()=&gt;{var e,s;eG(null===(s=ec.query)||void 0===s?void 0:null===(e=s.check_in_date)||void 0===e?void 0:e.toString())},[ew]),(0,i.useEffect)(()=&gt;{var s,t;ec.query.check_in_date&amp;&amp;!/^[0-9]{4}-[0-9]{2}-[0-9]{2}$/.test(ec.query.check_in_date.toString())&amp;&amp;ec.push("/hotels/".concat(e.slug)),ec.query.check_in_date&amp;&amp;ec.query.check_in_date&lt;new Date().toISOString().slice(0,10)&amp;&amp;ec.push("/hotels/".concat(e.slug)),eG(null===(t=ec.query)||void 0===t?void 0:null===(s=t.check_in_date)||void 0===s?void 0:s.toString())},[ec.query.check_in_date]),(0,i.useEffect)(()=&gt;{var s,t;ec.query.checkinDate&amp;&amp;!/^[0-9]{4}-[0-9]{2}-[0-9]{2}$/.test(ec.query.checkinDate.toString())&amp;&amp;ec.push("/hotels/".concat(e.slug)),ec.query.checkinDate&amp;&amp;/^[0-9]{4}-[0-9]{2}-[0-9]{2}$/.test(ec.query.checkinDate.toString())&amp;&amp;ec.query.checkinDate&lt;new Date().toISOString().slice(0,10)&amp;&amp;ec.push("/hotels/".concat(e.slug)),eG(null===(t=ec.query)||void 0===t?void 0:null===(s=t.checkinDate)||void 0===s?void 0:s.toString())},[ec.query.checkinDate]),(0,i.useEffect)(()=&gt;{if(ec.query.checkinDate){var e;(e=ec.query.checkinDate)instanceof Date?window.localStorage.setItem("user-checkin-date",(0,$.default)(e,"yyyy-MM-dd")):window.localStorage.setItem("user-checkin-date",e)}else{let e=function(){let e=window.localStorage.getItem("user-checkin-date");if(!e)return null;let s=(0,ee.Z)(e);return isNaN(s.getDate())||(0,X.Z)(s)?null:s}();e&amp;&amp;ec.replace({pathname:ec.pathname,query:{...ec.query,checkinDate:(0,$.default)(e,"yyyy-MM-dd")}})}},[ec.query.checkinDate]),(0,i.useEffect)(()=&gt;(u().polyfill(),document.addEventListener("scroll",eU),()=&gt;{document.removeEventListener("scroll",eU)}),[]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(l.PB,{title:eo.formatMessage({id:eD},{hotelName:ey.name,hostname:(0,F.Z)(e.host),shortDomain:(0,F.Z)(e.host),city:ey.city,discount:null===(M=ey.pricingInformation)||void 0===M?void 0:M.discountPercentage}),description:eo.formatMessage({id:e_},{seoTitle:ey.name,shortDomain:(0,F.Z)(e.host),discount:null===(es=ey.pricingInformation)||void 0===es?void 0:es.discountPercentage,priceFrom:(null==ey?void 0:null===(et=ey.pricingInformation)||void 0===et?void 0:et.minimumOfferPrice)?(0,I.l)(eo,null===(ea=ey.pricingInformation)||void 0===ea?void 0:ea.minimumOfferPrice,!0):0}),languageAlternates:(0,K.y)(ec.asPath.split("?")[0]),openGraph:{type:"product",site_name:"Dayuse",images:ey.photos&amp;&amp;ey.photos.length&gt;0?[{url:"".concat(n.De.MEDIA_HOST).concat(ey.photos[0].normal,"?frz-w=320&amp;frz-fit=cover"),width:320,height:180,alt:ey.name}]:[]},additionalLinkTags:[{rel:"alternate",href:"/hotel-page-rss-feed.xml",type:"application/rss+xml"}],noindex:ey.isTest||eP.hotelPage.metadata.noIndex}),ey&amp;&amp;(0,a.jsx)(_.Z,{hotel:ey,host:e.host,phoneNumber:null!==(en=eP.tel)&amp;&amp;void 0!==en?en:"",currency:e.currency}),ey&amp;&amp;(0,a.jsx)(q,{hotel:ey,host:e.host}),(0,a.jsx)(S.Z,{classes:"z-40 md:static"}),(0,a.jsx)(U.Z,{}),(0,a.jsx)(V.Z,{sticky:!1,children:(0,a.jsx)(Q.default,{})}),ed&amp;&amp;(0,a.jsx)("div",{className:"js-hotel-sticky-menu-container fixed top-0 w-full z-40 bg-white pt-5 border-b",children:(0,a.jsx)("div",{className:"ds-container m-auto md:flex md:justify-between md:items-center h-full",children:(0,a.jsx)(v.Z,{cursor:ej,hasReview:eF,onClick:ez})})}),(0,a.jsxs)("main",{children:[(0,a.jsxs)("article",{className:"flex flex-col md:mb-6 ds-container",children:[(0,a.jsx)("div",{"data-anchor":"presentation",id:"presentation",ref:eB}),(0,a.jsx)("div",{className:"md:order-3 md:m-auto -mx-5 md:mx-0",children:(0,a.jsx)(g.Z,{hotel:ey,openPhoto:eS,closePhoto:()=&gt;{eT(!1)},openClosePhoto:()=&gt;eT(!eM),isOpenPhoto:eM,onScrollOffers:ez})}),(0,a.jsx)("div",{className:(0,d.Z)("pt-7 pb-9",!er||eE?"block":"hidden"),children:(0,a.jsx)(C.Z,{hotelName:ey.name,breadcrumb:ey.breadcrumb})}),(0,a.jsxs)("div",{id:"js-hotel-container",className:"flex md:order-2 justify-between mt-4 md:mt-0 md:mb-8 md:mx-0",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h1",{className:"line-clamp-2 text-ellipsis overflow-hidden title1 inline",children:ey.name}),(0,a.jsx)("span",{className:"block md:inline align-top",children:(0,a.jsx)(j.Z,{count:ey.starRating})}),(0,a.jsx)("span",{className:"md:hidden",onClick:()=&gt;eA(!0)})]}),(0,a.jsx)("div",{className:"hidden md:block my-auto",children:(0,a.jsx)(Z.Z,{hotelId:ey.id,hotelName:ey.name,hotelSlug:"/hotels/".concat(ey.slug),hotel:ey,buttonsType:"quaternary"})})]}),(0,a.jsxs)("div",{id:"js-hotel-welike-equipment-map",className:"grid grid-cols-1 lg:grid-cols-12 gap-6 my-6 md:order-4",children:[(0,a.jsxs)("div",{className:"hidden md:block lg:col-span-6",children:[ey.highlights&amp;&amp;(0,a.jsx)(b.Z,{id:"js-hotel-welike",highlights:ey.highlights,isSmallTypo:!0}),!ey.highlights&amp;&amp;(0,a.jsxs)("div",{className:"p-6 rounded-10 h-full shadow-100",children:[(0,a.jsx)("h2",{className:"title4 mb-4",children:(0,a.jsx)(h.Z,{id:"hotel.description.title"})}),(0,a.jsx)("div",{className:"line-clamp-5 body3  text-shadow-black-80 text-ellipsis overflow-hidden",dangerouslySetInnerHTML:{__html:ey.description}})]})]}),(0,a.jsxs)("div",{className:(0,d.Z)("md:shadow-100 md:p-6 rounded-10 lg:col-span-6"),children:[(0,a.jsx)("h3",{className:"mb-5 hidden md:block title4 text-shadow-black",children:(0,a.jsx)(h.Z,{id:"hotel.section_information.title"})}),(0,a.jsxs)("div",{className:"flex",children:[(0,a.jsx)("div",{className:"flex items-start md:items-stretch h-full gap-x-6 pr-4 flex-1",children:(0,a.jsx)(O.Z,{hotel:ey,hasReview:eF})}),(0,a.jsx)("div",{className:"md:w-[300px] md:h-[155px]",children:(0,a.jsx)(W.Z,{hotel:ey,className:"m-auto h-full items-start md:items-center",isOpen:eR,open:eO,close:eW})})]})]})]}),(0,a.jsx)("div",{ref:eu,id:"js-hotel-menu-container",className:"flex justify-center w-full md:order-5 md:mx-auto mt-1 md:mt-10 cursor-pointer",children:(0,a.jsx)(v.Z,{hasReview:eF,cursor:ej,onClick:ez})})]}),(0,a.jsxs)("section",{"data-hotel-id":ey.id,className:"lg:px-0",ref:ef,children:[(0,a.jsx)("div",{"data-anchor":"offers",id:"offers",ref:eB}),(0,a.jsx)(J.Z,{children:(0,a.jsx)(H.Z,{hotel:ey,taxesAndFees:ey&amp;&amp;{inclusiveTaxesAndFees:eZ?eN:[],exclusiveTaxesAndFees:eC?eN:[]}})})]}),(0,a.jsxs)("section",{id:"js-hotel-about",children:[(0,a.jsxs)("div",{className:"ds-container pt-2 m-auto lg:grid lg:grid-cols-5 lg:gap-10",children:[(0,a.jsxs)("div",{className:"lg:col-span-3",children:[ey.specificConditions&amp;&amp;(0,a.jsx)(y.Z,{specificConditions:ey.specificConditions,equipmentsWithSeasonalClosing:eQ,equipmentsWithClosingInformation:eV,id:"js-hotel-about-specific-conditions"}),ey&amp;&amp;eq&amp;&amp;eq.length&gt;0&amp;&amp;(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("hr",{className:"mb-5 md:mb-14"}),(0,a.jsx)(z.Z,{id:"js-hotel-about-addons",addonIndex:ev,hotelName:ey.name,hotelId:ey.id,hotelAddonsCategory:eq,closeAddon:()=&gt;{eb(void 0)},openAddon:e=&gt;{eb(e)}})]}),(0,a.jsx)("div",{className:"block md:hidden mb-5",children:ey.highlights&amp;&amp;(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("hr",{className:"mb-5 md:mb-14"}),(0,a.jsx)(b.Z,{id:"js-hotel-welike",highlights:ey.highlights})]})}),(0,a.jsx)("div",{"data-anchor":"description",id:"description",ref:eB}),(0,a.jsx)("hr",{className:"mb-5 md:mb-14"}),(0,a.jsx)(w.Z,{description:ey.description}),(0,a.jsx)("hr",{className:"mb-5 md:mb-14"}),(0,a.jsx)(P.Z,{id:"equipment",equipments:ey.equipments}),(0,a.jsx)("div",{"data-anchor":"faq",id:"faq",ref:eB}),(0,a.jsx)("hr",{className:"mb-5 md:mb-14"}),(0,a.jsx)(B.Z,{hotel:ey,taxesAndFees:eN,equipmentsWithClosingInformation:eV}),(0,a.jsx)("div",{"data-anchor":"location",id:"location",ref:eB}),(0,a.jsxs)("div",{id:"js-hotel-about-itinary",className:"mb-5 md:mb-10",children:[(0,a.jsx)("h2",{className:"mb-4 md:mb-8 title3 uppercase",children:(0,a.jsx)(h.Z,{id:"hotel.location.title"})}),(0,a.jsxs)("div",{className:"flex flex-col md:grid md:grid-rows-1 md:grid-cols-2 gap-6",children:[(0,a.jsxs)("div",{className:"flex flex-col space-y-4",children:[(0,a.jsx)("p",{className:"body3 text-shadow-black",children:ey.address}),"ko-KR"!==eP.locale&amp;&amp;eP.tel&amp;&amp;(0,a.jsx)(f.Z,{as:"a",href:"tel:".concat(eP.telIntl),size:"large",underline:!0,iconLeft:"solid-phone",iconRight:"chevron-right",children:eP.tel}),"ko-KR"===eP.locale&amp;&amp;(0,a.jsx)(f.Z,{as:"a",href:"https://support.dayuse.com/hc/en-us/requests/new",size:"large",underline:!0,iconLeft:"solid-phone",iconRight:"chevron-right",children:(0,a.jsx)(h.Z,{id:"common.contactUs"})}),ey.direction&amp;&amp;(0,a.jsx)("div",{children:(0,a.jsx)(f.Z,{iconLeft:"solid-location-dot",type:"button",size:"large",underline:!0,iconRight:"chevron-right",onClick:eO,children:(0,a.jsx)(h.Z,{id:"hotel.location.itinerary.title"})})})]}),(0,a.jsx)(W.Z,{className:"w-full md:w-auto h-28 items-center",hotel:ey,isOpen:eR,open:eO,close:eW,hasMap:!0})]})]})]}),(0,a.jsx)("div",{className:"hidden lg:block lg:col-span-2 mb-10",children:(0,a.jsx)(L.Z,{hotel:ey,scrollToRef:()=&gt;{var e;window.scrollTo({top:null===(e=ef.current)||void 0===e?void 0:e.offsetTop,behavior:"smooth"})},openGalleryPhoto:eS})})]}),(0,a.jsx)("article",{className:"bg-shadow-black-3 py-12",children:(0,a.jsx)("div",{className:"lg:pl-auto ds-container",children:(0,a.jsx)(N.Z,{hotel:ey,title:eo.formatMessage({id:"hotel.cross.sale.title"}),hasGoogleTagTrigger:!0})})})]}),eF&amp;&amp;(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("hr",{className:"md:hidden my-5 md:my-10"}),(0,a.jsxs)("aside",{id:"js-hotel-reviews-container",className:"py-2 pb-10 md:pb-16 ds-container m-auto",children:[(0,a.jsx)("div",{"data-anchor":"reviews",id:"reviews",ref:eB}),(0,a.jsx)(k.Z,{hotel:ey})]})]})]}),(0,a.jsx)(T,{showStickyHeadband:eh,handleClickStickyHeadband:()=&gt;{(null==ef?void 0:ef.current)&amp;&amp;window.scrollTo({top:ef.current.offsetTop-50,behavior:"smooth"})},hotel:ey,checkinDate:ec.query.checkinDate}),(0,a.jsx)(G.Z,{})]})}}}]);</pre></body></html>