"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9397],{31304:function(e,s,c){var r=c(85893),i=c(14580),l=c(47475);c(67294);var a=c(96259),n=c(66907),t=c(65618),d=c(34426);s.Z=e=>{let{placement:s,salesContact:c}=e,{tCommon:o}=(0,a.ce)(),{hideState:m}=(0,a.FB)();return c?(0,r.jsxs)("div",{className:(0,d.AK)("hidden md:block fixed bottom-5 right-5 z-[50] bg-white shadow-md border border-secondaryGrey shadow-black/30 transition-transform",m===a.jJ.REACHED_FOOTER||m===a.jJ.HIDDEN?"translate-y-40":""),children:[(0,r.jsx)(i.Z,{title:o(l.Z2.phoneReservationLabel?"callCenterReservationsLabel":"phoneBlockLabel"),salesContact:c,placement:s}),(0,r.jsx)(n.Z,{id:"floatingPhoneNumberBlock",priority:t.mW.PHONE,children:(0,r.jsx)(i.Z,{title:o(l.Z2.phoneReservationLabel?"callCenterReservationsLabel":"phoneBlockLabel"),salesContact:c,textClassName:"flex md:flex-col flex-wrap gap-x-2 items-center",iconClassName:"h-7 w-7 text-[0.75rem] md:w-11 md:h-11",className:"px-3 py-3",placement:s})})]}):(0,r.jsx)(r.Fragment,{})}},996:function(e,s,c){var r=c(85893);c(67294);var i=c(26528),l=c(45373),a=c(54682),n=c(34426),t=c(47475);s.Z=e=>{let{checkInPolicy:s,cssProps:c}=e,{tHotels:d}=(0,a.EI)(),{tCommon:o}=(0,i.ce)();return(0,r.jsxs)("div",{className:(0,n.AK)("sm:divide-x sm:divide-secondaryGrey rounded-t-md",t.Z2.noHotelSearch?s?"border-l border-t border-secondaryGrey":"border-0":s?"sm:border-l sm:border-t sm:border-secondaryGrey":"border-0","flex flex-col gap-y-4 col-span-full sm:flex-row",c),children:[((null==s?void 0:s.checkInTime.from)||(null==s?void 0:s.checkInTime.until))&&(0,r.jsxs)("div",{className:(0,n.AK)("flex flex-col w-full",t.Z2.noHotelSearch?"px-8 pt-6 sm:py-6":"sm:px-8 sm:py-6"),children:[(0,r.jsxs)("div",{className:"flex items-center gap-2 pb-2",children:[(0,r.jsx)(l.GN,{icon:l.SJ}),(0,r.jsx)("h5",{className:i.Nm,children:o("checkIn")})]}),(0,r.jsxs)("div",{className:"grid gap-2",children:[s.checkInTime.from&&(0,r.jsx)("p",{className:i.YI,children:d("checkInTimeFrom",{time:s.checkInTime.from})}),s.checkInTime.until&&(0,r.jsx)("p",{className:i.YI,children:d("checkoutTimeUntil",{time:s.checkInTime.until})})]}),(0,r.jsx)("p",{className:"".concat(i.CH," pt-2"),children:d("checkInGuestRequired")})]}),((null==s?void 0:s.checkOutTime.from)||(null==s?void 0:s.checkOutTime.until))&&(0,r.jsxs)("div",{className:(0,n.AK)("flex flex-col w-full",t.Z2.noHotelSearch?"px-8 pb-6 sm:py-6":"sm:px-8 sm:py-6"),children:[(0,r.jsxs)("div",{className:"flex items-center gap-2 pb-2",children:[(0,r.jsx)(l.GN,{icon:l.Zh}),(0,r.jsx)("h5",{className:"text-[1.125rem] leading-[150%] font-medium text-primaryFont sm:text-[1.125rem] md:text-[1.125rem] lg:text-[1.125rem]",children:o("checkOut")})]}),(0,r.jsxs)("div",{className:"grid gap-2",children:[s.checkOutTime.from&&(0,r.jsx)("p",{className:i.YI,children:d("checkInTimeFrom",{time:s.checkOutTime.from})}),s.checkOutTime.until&&(0,r.jsx)("p",{className:i.YI,children:d("checkoutTimeUntil",{time:s.checkOutTime.until})})]})]})]})}},8976:function(e,s,c){var r=c(85893);c(67294);var i=c(26528),l=c(45373),a=c(54682),n=c(34426),t=c(47475);s.Z=e=>{let{data:s}=e,{tHotels:c}=(0,a.EI)();return(0,r.jsxs)("div",{className:(0,n.AK)("flex flex-col col-span-full sm:border-t sm:border-t-secondaryGrey",t.Z2.noHotelSearch?"px-8 py-6":"sm:px-8 sm:py-6"),children:[(0,r.jsxs)("div",{className:"hidden items-center pb-2 sm:flex",children:[(0,r.jsx)(l.GN,{icon:l.FV}),(0,r.jsx)("h5",{className:(0,n.AK)(i.Nm,"ltr:pl-2 rtl:pr-2"),children:c("childrenAndBedsPolicyTitle")})]}),(0,r.jsxs)("div",{className:"sm:pl-7",children:[s.childrenPolicy&&(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:(0,n.AK)(i.ht,"mb-4"),children:c("childPoliciesTitle")}),s.childrenPolicy.map((e,s)=>(0,r.jsx)(i.zt,{data:e,cssProps:i.YI},(s+1)*5))]}),(s.extraBedsPolicy||s.extraBeds)&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("p",{className:(0,n.AK)(i.ht,"mb-4"),children:c("cribAndExtraBedPoliciesTitle")}),s.extraBeds.map((e,s)=>(0,r.jsxs)("div",{className:"rounded-md max-w-[640px] mb-4 border border-secondaryGrey",children:[e.agePeriod&&(0,r.jsx)("div",{className:"p-2",children:(0,r.jsx)("p",{className:i.AD,children:e.agePeriod})}),e.extraBedPrice&&(0,r.jsxs)("div",{className:"grid grid-cols-2 p-2 border-t border-t-secondaryGrey",children:[(0,r.jsxs)("p",{className:i.YI,children:[(0,r.jsx)(l.GN,{className:"pr-1",icon:l.Ag}),c("extraBedPrice")]}),(0,r.jsx)("p",{className:i.YI,children:e.extraBedPrice})]}),e.cribPrice&&(0,r.jsxs)("div",{className:"grid grid-cols-2 p-2",children:[(0,r.jsxs)("p",{className:i.YI,children:[(0,r.jsx)(l.GN,{className:"pr-1",icon:l.B2}),c("cribPrice")]}),(0,r.jsx)("p",{className:i.YI,children:"bed.cribPrice"})]})]},(s+1)*5.5)),s.extraBedsPolicy.map((e,s)=>(0,r.jsx)(i.zt,{data:e,cssProps:i.YI},(s+1)*6))]})]})]})}},72486:function(e,s,c){var r=c(85893);c(67294);var i=c(26528),l=c(45373),a=c(54682),n=c(60270),t=c(34426),d=c(47475);s.Z=e=>{let{data:s,className:c}=e,{tHotels:o}=(0,a.EI)();return(0,r.jsxs)("div",{className:(0,t.AK)("flex flex-col col-span-full md:border-t md:border-t-secondaryGrey rounded-b-md",d.Z2.noHotelSearch?"px-8 py-6":"sm:px-8 sm:py-6",c),children:[(0,r.jsxs)("div",{className:"hidden items-center pb-2 sm:flex",children:[(0,r.jsx)(l.GN,{icon:l.Xb}),(0,r.jsx)("h5",{className:(0,t.AK)(i.Nm,"ltr:pl-2 rtl:pr-2"),children:o("creditCardsPolicyTitle")})]}),(0,r.jsx)("div",{children:s.cashOnly?(0,r.jsx)("p",{className:i.YI,children:o("cashOnly")}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"flex items-center flex-wrap pb-2 gap-2",children:[s.creditCards.map(e=>(0,r.jsx)(i.ci,{id:e.id},e.name+e.id)),!s.cash&&(0,r.jsx)(n.Z,{className:"text-contrastGreen bg-light border-contrastGreen border px-2 min-h-[1.5rem]",children:(0,r.jsx)("p",{className:"text-[0.9375rem] leading-[150%] text-contrastGreen",children:o("paymentMethodCash")})})]}),(0,r.jsx)("div",{className:"flex items-center flex-wrap pb-2",children:s.creditCards.map((e,c)=>(0,r.jsxs)("p",{className:i.YI,children:[e.name,c<s.creditCards.length-1?(0,r.jsx)("span",{children:",\xa0"}):""]},(c+1)*e.id))}),s.cash?(0,r.jsx)("p",{className:i.YI,children:o("acceptsCash")}):(0,r.jsx)("p",{className:i.YI,children:o("notAcceptsCash")})]})})]})}},63685:function(e,s,c){var r=c(85893);c(67294);var i=c(45373),l=c(26528),a=c(34426);s.Z=e=>{let{icon:s,title:c,value:n,className:t=""}=e;return(0,r.jsxs)("div",{className:(0,a.AK)("flex flex-col px-8 py-6",t),children:[(0,r.jsxs)("div",{className:"flex items-center pb-2",children:[(0,r.jsx)(i.GN,{icon:s}),(0,r.jsx)("h5",{className:"".concat(l.Nm," ltr:pl-2 rtl:pr-2"),children:c})]}),(0,r.jsx)("div",{className:"grid gap-2",children:(0,r.jsx)(l.zt,{data:n.text,cssProps:l.YI})})]})}},71729:function(e,s,c){c.d(s,{b:function(){return u},Z:function(){return f}});var r=c(85893),i=c(67294),l=c(54682),a=c(63685),n=c(26528),t=c(77558),d=c(14580),o=c(45373),m=e=>{let{phone:s,displayPhone:c}=e,{tHotels:i}=(0,l.EI)();return(0,r.jsxs)("div",{className:"flex flex-col sm:px-8 sm:py-6 ",children:[(0,r.jsxs)("div",{className:"hidden sm:flex items-center pb-2",children:[(0,r.jsx)(o.GN,{icon:o.MK}),(0,r.jsx)("p",{className:"".concat(n.Nm," ltr:pl-2 rtl:pr-2"),children:i("reservationsPolicy")})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"text-[1rem] leading-[120%] text-primaryFont pb-2",children:i("phoneRulesDescription")}),(0,r.jsx)(t.Z,{onClick:()=>{(0,d.V)("HotelRules")},href:"tel:".concat(s),className:"text-primary font-medium",children:c})]})]})},h=c(72486),x=c(996),p=c(34426),j=e=>{let{children:s,placeholder:c,icon:l}=e,[a,t]=(0,i.useState)(!1);return(0,r.jsxs)(n.bH,{className:"flex-col py-[0] px-[0] border-b border-b-secondaryGrey last-of-type:border-b-0",children:[(0,r.jsxs)("div",{className:(0,p.AK)("relative flex flex-none box-border items-center min-h-[2.5rem] cursor-pointer p-6 w-full justify-between",a?"border-b border-b-secondaryGrey":"border-b-0"),onClick:()=>t(!a),children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(o.GN,{icon:l||o.xe}),(0,r.jsx)("h3",{className:n.ht,children:c})]}),(0,r.jsx)(o.GN,{icon:o.OC,className:(0,p.AK)("text-primaryGreyFont transition-all duration-300 h-4 w-4",a?"rotate-180":"rotate-0")})]}),a&&(0,r.jsx)("div",{className:"w-full box-border p-6",children:s})]})},b=c(8976),N=c(60407),y=c(94194);let u=new Map([["cancellation",o.WA],["groups",o.FV],["bed",o.Dz],["petsPolicy",o.Po],["internetPolicy",o.$A],["parkingPolicy",o.N4],["taxes",o.Vm],["payment",o.Ah],["cards",o.Xb],["ageRestrictionsPolicy",o.mn],["curfewPolicy",o.TY],["check",o.LE]]);var f=e=>{let{hotelData:s,availabilityMode:c}=e,{tHotels:i}=(0,l.EI)(),{tCommon:t}=(0,n.ce)(),{policies:d}=s.listingDescription,{salesContact:f}=(0,y.Fc)(),v={petsPolicy:d.petsPolicy,internetPolicy:d.internetPolicy,ageRestrictionsPolicy:d.ageRestrictionPolicy,curfewPolicy:d.curfewPolicy,parkingPolicy:d.parkingPolicy},P=Object.entries(v),g=P.filter(e=>{let[,s]=e;return s}),k=f?g.length%2==0:(g.length+1)%2==0;return(0,r.jsxs)("div",{className:(0,p.AK)(n.A6,"mt-12"),children:[(0,r.jsxs)("div",{className:"flex items-center justify-between gap-4",children:[(0,r.jsx)("div",{id:l.Ad.AboutSection,className:"w-full md:w-auto",children:(0,r.jsxs)("h3",{className:"".concat(n.Si," my-2"),children:[i("houseRulesTitle")," - ",s.title]})}),(0,r.jsx)(N.Z,{hotelData:s,showPrice:!c,breakpoint:n.wt.md,price:c?void 0:s.commonDescription.basePriceFormatted,buttonLabel:c?i("chooseRoom"):i("showPrices"),cssProps:"hidden flex-row md:flex lg:hidden"})]}),(0,r.jsxs)("div",{className:"bg-white mb-12 mt-6 sm:bg-lightGrey sm:rounded-md sm:p-6 md:p-12",children:[(0,r.jsx)("div",{className:"hidden sm:block rounded-md border-r border-b border-secondaryGrey",children:(0,r.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 divide-y divide-x divide-secondaryGrey",children:[(0,r.jsx)(x.Z,{checkInPolicy:s.listingDescription.policies.checkInPolicy}),P.map((e,c)=>{let[n,t]=e;if(!t)return null;let m=(0,l.im)(n);return(0,r.jsx)(a.Z,{policies:d,value:t,icon:u.get(n)||o.LE,title:i("".concat(m)),className:s.listingDescription.policies.checkInPolicy||0!=c?"":"rounded-tl-md"},n)}),f&&(0,r.jsx)(m,{phone:f.plainPhoneNumber,displayPhone:f.phoneNumber}),k&&(0,r.jsx)("div",{}),d.childrenPolicy&&(0,r.jsx)(b.Z,{data:d.childrenPolicy}),d.creditCards&&(0,r.jsx)(h.Z,{data:d.creditCards})]})}),(0,r.jsxs)(l.JZ,{className:"flex sm:hidden",children:[s.listingDescription.policies.checkInPolicy&&(0,r.jsx)(j,{placeholder:"".concat(t("checkIn")," / ").concat(t("checkOut")),icon:o.SJ,children:(0,r.jsx)(x.Z,{checkInPolicy:s.listingDescription.policies.checkInPolicy})}),Object.entries(v).map(e=>{let[s,c]=e;if(!c)return null;let a=(0,l.im)(s);return(0,r.jsx)(j,{placeholder:i("".concat(a)),icon:u.get(s)||o.LE,children:(0,r.jsx)(n.zt,{data:c.text,cssProps:n.YI})},s)}),f&&(0,r.jsx)(j,{placeholder:i("reservationsPolicy"),icon:o.MK,children:(0,r.jsx)(m,{phone:f.plainPhoneNumber,displayPhone:f.phoneNumber})}),d.childrenPolicy&&(0,r.jsx)(j,{placeholder:i("childrenAndBedsPolicyTitle"),icon:o.FV,children:(0,r.jsx)(b.Z,{data:d.childrenPolicy})}),d.creditCards&&(0,r.jsx)(j,{placeholder:i("creditCardsPolicyTitle"),icon:o.Xb,children:(0,r.jsx)(h.Z,{data:d.creditCards})})]})]})]})}}}]);