1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,564254,(e,t,i)=>{t.exports=function(e,t,i,a){for(var r=-1,n=null==e?0:e.length;++r<n;){var s=e[r];t(a,s,i(s),e)}return a}},105143,(e,t,i)=>{var a=e.r(453587);t.exports=function(e,t,i,r){return a(e,function(e,a,n){t(r,e,i(e),n)}),r}},895261,(e,t,i)=>{var a=e.r(564254),r=e.r(105143),n=e.r(666305),s=e.r(45350);t.exports=function(e,t){return function(i,l){var o=s(i)?a:r,d=t?t():{};return o(i,e,n(l,2),d)}}},973327,(e,t,i)=>{var a=e.r(674548);t.exports=e.r(895261)(function(e,t,i){a(e,i,t)})},686190,e=>{"use strict";let t=(0,e.i(456420).default)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);e.s(["default",0,t])},24071,e=>{"use strict";var t=e.i(686190);e.s(["ChevronLeft",()=>t.default])},232189,(e,t,i)=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},865156,(e,t,i)=>{"use strict";var a=e.r(232189);function r(){}function n(){}n.resetWarningCache=r,t.exports=function(){function e(e,t,i,r,n,s){if(s!==a){var l=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var i={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:n,resetWarningCache:r};return i.PropTypes=i,i}},745009,(e,t,i)=>{e.i(167225),t.exports=e.r(865156)()},880079,e=>{"use strict";var t=e.i(843476),i=e.i(776639),a=e.i(24071),r=e.i(948148),n=e.i(657688),s=e.i(271645);let l=({images:e,onClick:i,className:a,initialImageIndex:l})=>{let o=(0,s.useRef)(null),d=(0,r.useTranslations)("AlbumModal"),c=(e,i,a,r,s,l,o=!1,c=!1)=>((e,i,a,r,s,l,o,d=!1,c=!1)=>(0,t.jsxs)("div",{className:`image-container relative ${c?"invisible":""}`,style:{gridArea:`${i} / ${r} / ${a} / ${s}`,paddingTop:d?"0":`${e.height/e.width*100}%`},"aria-hidden":c,inert:c,children:[(0,t.jsx)("div",{"aria-hidden":"true",className:"absolute inset-0 animate-pulse bg-neutral-100"}),(0,t.jsx)("button",{type:"button",onClick:l,"aria-label":o,className:`absolute inset-0 block h-full w-full cursor-pointer focus-visible:outline-2 focus-visible:outline-black/50 ${d?"overflow-hidden":""}`,children:(0,t.jsx)(n.default,{src:e.src,alt:e.altText,fill:!0,sizes:2==s-r?"(max-width: 900px) 100vw, 900px":"(max-width: 900px) 50vw, 450px",draggable:!1,className:`block ${d?"absolute top-0 left-0 h-full w-full object-cover":""}`})})]},`${e.src}-${i}-${a}-${r}-${s}`))(e,i,a,r,s,l,d("open-image",{alt:e.altText}),o,c);(0,s.useEffect)(()=>{o&&o.current&&null!=l&&o.current.children[l].scrollIntoView()},[l]);let p=1,m=!0,u=[];for(let t=0;t<e.length;t++){let a=e[t],r=a.width>=a.height,n=e[t+1],s=n&&n.width>=n.height,l=e[t+2],o=l&&l.width>=l.height;if(m&&r)u.push(c(a,p,p+1,1,3,i.bind(void 0,t))),m=!1,p++;else if(!a||n||l)if(r&&s){let e=a.width/a.height,r=n.width/n.height,s=!1,l=!1;e!==r&&(s=a.height>n.height,l=n.height>a.height),u.push(c(a,p,p+1,1,2,i.bind(void 0,t),s)),u.push(c(n,p,p+1,2,3,i.bind(void 0,t+1),l)),t++,m=!0,p++}else if(r||s)a&&n&&!l?(r?(u.push(c(a,p,p+1,1,2,i.bind(void 0,t))),u.push(c(a,p+1,p+2,1,2,i.bind(void 0,t),!1,!0)),u.push(c(n,p,p+(s?1:2),2,3,i.bind(void 0,t+1),!0))):(u.push(c(a,p,p+2,1,2,i.bind(void 0,t),!0)),u.push(c(n,p,p+1,2,3,i.bind(void 0,t+1))),u.push(c(n,p+1,p+2,2,3,i.bind(void 0,t+1),!1,!0))),t++,m=!0,r&&s?p++:p+=2):!r&&s&&o?(u.push(c(a,p,p+2,1,2,i.bind(void 0,t),!0)),u.push(c(n,p,p+1,2,3,i.bind(void 0,t+1))),u.push(c(l,p+1,p+2,2,3,i.bind(void 0,t+2))),t+=2,m=!0,p+=2):r&&s&&!o?(u.push(c(a,p,p+1,1,2,i.bind(void 0,t))),u.push(c(n,p+1,p+2,1,2,i.bind(void 0,t+1))),u.push(c(l,p,p+2,2,3,i.bind(void 0,t+2),!0)),t+=2,m=!0,p+=2):r&&!s?(u.push(c(a,p,p+1,1,3,i.bind(void 0,t))),m=!1,p++):!r&&s&&(u.push(c(a,p,p+2,1,2,i.bind(void 0,t),!0)),u.push(c(n,p,p+1,2,3,i.bind(void 0,t+1))),u.push(c(n,p+1,p+2,2,3,i.bind(void 0,t+1),!1,!0)),t++,m=!0,p+=2);else{let e=a.width/a.height,r=n.width/n.height,s=!1,l=!1;e!==r&&(s=e>r,l=r>e),u.push(c(a,p,p+2,1,2,i.bind(void 0,t),s)),u.push(c(n,p,p+2,2,3,i.bind(void 0,t+1),l)),t++,m=!0,p+=2}else r?u.push(c(a,p,p+1,1,3,i.bind(void 0,t))):(u.push(c(a,p,p+2,1,2,i.bind(void 0,t))),m=!0),p++}return(0,t.jsx)("div",{className:`component album mx-auto grid max-w-4xl grid-cols-2 gap-1.5 ${a}`,ref:o,children:u})};l.displayName="Album";var o=e.i(382941),d=e.i(427924);e.s(["default",0,({images:e,initialImageIndex:n,onClose:s,historyKey:c})=>{let p=(0,r.useTranslations)("AlbumModal"),m=(0,d.default)(`${c}:carousel`);return(0,t.jsxs)(i.Dialog,{open:!0,onOpenChange:e=>{e||s()},modal:!0,children:[(0,t.jsxs)(i.DialogContent,{closeClassName:"hidden",fullscreen:!0,children:[(0,t.jsxs)(i.DialogHeader,{className:"mb-1.5 h-[60px] justify-center",children:[(0,t.jsx)(i.DialogTitle,{className:"sr-only",children:p("sr-list-title")}),(0,t.jsx)(i.DialogDescription,{className:"sr-only",children:p("sr-list-description")}),(0,t.jsx)(i.DialogClose,{"aria-label":p("close-gallery-label"),className:"ml-4 h-8 w-8 border border-neutral-300",children:(0,t.jsx)(a.ChevronLeft,{className:"size-full p-1",strokeWidth:1})})]}),(0,t.jsx)("div",{className:"h-full overflow-y-auto",children:(0,t.jsx)(l,{images:e,onClick:e=>{m.open(e)},className:"mb-1.5 sm:mb-16",initialImageIndex:n})})]}),m.isOpen&&(0,t.jsx)(o.default,{images:e,initialImageIndex:m.payload??0,onClose:m.requestClose,onImageIndexChange:m.updatePayload})]})}],880079)},666295,e=>{e.q("/_next/static/immutable/media/test.0rltnor8pska6.svg")},566241,e=>{"use strict";var t=e.i(843476),i=e.i(948148),a=e.i(271645);let r={src:e.i(666295).default,width:24,height:24,blurWidth:0,blurHeight:0},n=({name:e,amenities:i})=>{let a=i.map(e=>(0,t.jsx)("li",{className:"amenity mb-4 last:mb-0",children:(0,t.jsx)("div",{className:"amenity-inner-wrapper bg-[length:24px_24px] bg-left bg-no-repeat pl-10 text-[15px]",style:{backgroundImage:`url(${r.src})`},children:e})},e));return(0,t.jsxs)("div",{className:"component amenity-list",children:[(0,t.jsx)("h2",{className:"amenity-list-header mb-6 font-[family-name:var
1(--heading-font)] text-[22px]! leading-[36px]! font-semibold!",children:e}),(0,t.jsx)("ul",{className:"m-0 list-none p-0",children:a})]})};var s=e.i(744578),l=e.i(882756),o=e.i(174080);let d=e=>(0,t.jsx)(t.Fragment,{children:o.default.createPortal((0,t.jsxs)("div",{className:"component modal fixed inset-0 z-[999] bg-black/50",children:[e.children,(0,t.jsx)("style",{children:"body {overflow: hidden !important;}"})]}),document.querySelector("body"))}),c=({amenityCategories:e,onClose:i})=>{(0,a.useEffect)(()=>{let e=e=>{"Escape"===e.key&&i()};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[i]);let r=e.map(e=>(0,t.jsx)(n,{name:e.name,amenities:e.amenities},e.name));return(0,t.jsx)(d,{children:(0,t.jsx)("div",{className:"component amenity-list-modal box-border flex h-full items-center justify-center p-10 max-[750px]:block max-[750px]:p-0",children:(0,t.jsxs)("div",{className:"amenity-list-modal-inner-wrapper mx-auto flex h-full w-[780px] min-w-[400px] flex-col bg-white shadow-[0_8px_28px_rgba(0,0,0,0.28)]",children:[(0,t.jsx)("div",{className:"modal-header mb-[6px] flex h-[60px] shrink-0 grow-0 items-center bg-white px-[18px] max-[750px]:mb-0",children:(0,t.jsx)(l.default,{onClick:i,"aria-label":"Close",children:(0,t.jsx)(s.default,{})})}),(0,t.jsx)("div",{className:"modal-body overflow-y-auto px-6 pt-0 pb-6 max-[750px]:h-[calc(100vh-60px)] max-[600px]:relative [&_.component.amenity-list]:mb-12 [&_.component.amenity-list_ul]:grid [&_.component.amenity-list_ul]:grid-cols-2 [&_.component.amenity-list_ul]:gap-x-[18px] [&_.component.amenity-list_ul]:gap-y-0",children:r})]})})})};e.s(["default",0,({featuredAmenities:e,amenityCategories:r})=>{let s=(0,i.useTranslations)("FeaturedAmenities"),[l,o]=(0,a.useState)(!1);if(0===e.length)return null;let d=0;return r.forEach(e=>{d+=e.amenities.length}),(0,t.jsxs)("div",{className:"component featured-amenities",children:[(0,t.jsxs)("div",{className:"featured-amenities-inner-wrapper [&_.component.amenity-list]:mb-6 [&_.component.amenity-list_ul]:[columns:24ch_2]",children:[(0,t.jsx)(n,{name:"What we offer",amenities:e}),d>10&&(0,t.jsx)("button",{className:"inline-block cursor-pointer border-0 bg-white py-[0.6rem] pr-[3.1rem] pl-[3.2rem] text-[20px]! font-normal! tracking-[1px] text-black uppercase no-underline shadow-[0px_0px_1px_#000] transition-all duration-500 ease-[cubic-bezier(0.77,0,0.175,1)] select-none hover:bg-[#33538a] hover:text-white hover:no-underline",onClick:()=>o(!0),children:s("view-all-amenities",{count:d})})]}),l&&(0,t.jsx)(c,{amenityCategories:r,onClose:()=>{o(!1)}})]})}],566241)},666886,e=>{"use strict";var t=e.i(4007),i=e.i(271645),a=e.i(862070),r=e.i(990054),n=e.i(856118);e.s(["default",0,function({item:e,value:s,search:l}){let{hasContainer:o}=(0,n.useFunnelTracking)(),d=(0,t.useCurrencyCode)(),c=JSON.stringify([e.item_id,l]);return(0,i.useEffect)(()=>{(0,a.shouldEmit)("view_item",c)&&(0,r.emitEcommerceFunnelEvent)("view_item",{ecommerce:{currency:d,...void 0!==s?{value:s}:{},items:[e]},search:l},o)},[c]),null}])},862070,e=>{"use strict";let t=new Map;e.s(["shouldEmit",0,function(e,i){return t.get(e)!==i&&(t.set(e,i),!0)}])},990054,e=>{"use strict";function t(e,i=30){"function"==typeof window.gtag?e():i<=1||setTimeout(()=>t(e,i-1),1e3)}e.s(["emitEcommerceFunnelEvent",0,function(e,i,a){window.dataLayer=window.dataLayer||[],window.dataLayer.push({ecommerce:null}),window.dataLayer.push({event:e,...i.search?{search:i.search}:{},ecommerce:i.ecommerce}),a||t(()=>{window.gtag?.("event",e,{...i.ecommerce,...i.search?function(e){let t={};for(let[i,a]of Object.entries(e))void 0!==a&&(t[`search_${i}`]=a);return t}(i.search):{}})})},"emitFunnelSignal",0,function(e,i,a){window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:e,...i}),a||t(()=>{window.gtag?.("event",e,i)})}])},265606,e=>{"use strict";var t=e.i(843476),i=e.i(948148),a=e.i(657688),r=e.i(271645),n=e.i(880079),s=e.i(427924),l=e.i(717322);let o="(max-width: 1248px) 70vw, 832px",d="(max-width: 1248px) 40vw, 416px",c=(0,r.memo)(function({img:e,onOpen:i,sizes:r,className:n="",priority:s=!1,qual
1ity:l}){return(0,t.jsx)("button",{type:"button",onClick:i,className:`relative h-full w-full cursor-pointer focus-visible:outline-2 focus-visible:outline-black/50 ${n}`,children:(0,t.jsx)(a.default,{src:e.src,alt:e.altText,fill:!0,sizes:r,quality:l,priority:s,className:"!position-revert object-cover"})})});e.s(["default",0,({images:e,quality:a})=>{let p,m=(0,i.useTranslations)("HeroImagesGrid"),u=(0,s.default)(),[h,x]=(0,r.useState)(0),b=e=>{x(e),u.open()};return e&&0!==e.length?(p=1===e.length?(0,t.jsx)("div",{className:"relative aspect-[2/1] w-full",children:(0,t.jsx)(c,{quality:a,img:e[0],sizes:"(max-width: 1248px) 100vw, 1248px",onOpen:()=>b(0),priority:!0})}):2===e.length?(0,t.jsxs)("div",{className:"grid h-full grid-cols-3 gap-2",children:[(0,t.jsx)(c,{quality:a,img:e[0],sizes:o,onOpen:()=>b(0),priority:!0,className:"col-span-2"}),(0,t.jsx)(c,{quality:a,img:e[1],sizes:o,onOpen:()=>b(1),className:"col-span-1"})]}):3===e.length||4===e.length?(0,t.jsxs)("div",{className:"grid h-full grid-cols-3 gap-2",children:[(0,t.jsx)(c,{quality:a,img:e[0],sizes:o,onOpen:()=>b(0),priority:!0,className:"col-span-2 row-span-2"}),(0,t.jsx)(c,{quality:a,img:e[1],sizes:d,onOpen:()=>b(1),className:"col-span-1"}),(0,t.jsx)(c,{quality:a,img:e[2],sizes:d,onOpen:()=>b(2),className:"col-span-1"})]}):(0,t.jsxs)("div",{className:"grid h-full grid-cols-2 gap-2",children:[(0,t.jsx)(c,{quality:a,img:e[0],sizes:o,onOpen:()=>b(0),priority:!0}),(0,t.jsx)("div",{className:"grid h-full grid-cols-2 grid-rows-2 gap-2",children:[1,2,3,4].map(i=>(0,t.jsx)(c,{quality:a,img:e[i],sizes:d,onOpen:()=>b(i)},e[i].src))})]}),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"max-w-page relative mx-auto hidden aspect-[2/1] md:block",children:[p,(0,t.jsx)("button",{type:"button",className:"absolute right-4 bottom-4 cursor-pointer rounded-md border border-[#525252] bg-white px-3 py-1.5",onClick:()=>b(0),children:m("view-all-photos")}),u.isOpen&&(0,t.jsx)(n.default,{images:e,initialImageIndex:h,onClose:u.requestClose,historyKey:u.key})]}),(0,t.jsx)("div",{className:"block aspect-video md:hidden",children:(0,t.jsx)(l.default,{images:e,sizes:"100vw",onClick:b,objectFit:"cover",priorityFirstImage:!0})})]})):null}])},661094,e=>{e.q("/_next/static/immutable/media/not-available.0lbyo20s85kv2.png")},537695,e=>{"use strict";var t=e.i(843476),i=e.i(271645),a=e.i(793411),r=e.i(217895),n=e.i(95187);let s=(0,n.createServerReference)("40d5d94db3fe3e3e3d2dcc1d3a36e7f1fc9bc527af",n.callServer,void 0,n.findSourceMapURL,"default");var l=e.i(948148),o=e.i(174080);let d=({children:e})=>{let{pending:i}=(0,o.useFormStatus)();return(0,t.jsx)(a.default,{precedence:"SECONDARY",type:"submit",disabled:i,children:e})},c=e=>{let i=(0,l.useTranslations)("AdaAvailabilityNoticeModal");return(0,t.jsx)(r.default,{className:"component ada-availability-notice-modal rounded-xl border-0 shadow-[0_0_6px_6px_rgba(0,0,0,0.25)] max-[768px]:mt-0! max-[768px]:h-full! max-[600px]:mt-[54px] max-[600px]:h-[calc(100%-54px)] max-[600px]:rounded-none",onClose:e.onClose,title:"",width:600,children:(0,t.jsxs)("div",{className:"ada-availability-notice-modal-container",children:[(0,t.jsxs)("div",{className:"ada-availability-notice-modal-message p-6",children:[(0,t.jsx)("div",{className:"header mb-3 text-[24px]",children:i("notice")}),(0,t.jsx)("p",{children:(0,t.jsx)("b",{children:i("room-has-disability-features")})}),(0,t.jsx)("p",{children:i("book-only-if-useful")})]}),(0,t.jsx)("div",{className:"ada-availability-notice-modal-actions px-6 pt-0 pb-6 text-right select-none max-[600px]:mb-3 max-[600px]:flex max-[600px]:flex-col-reverse max-[600px]:flex-nowrap [&_button]:ml-3 max-[600px]:[&_button]:mx-6 max-[600px]:[&_button]:mt-3 max-[600px]:[&_button]:mb-0 [&_button:disabled]:bg-[color:var(--neutral--600)]",children:(0,t.jsxs)("form",{action:s.bind(null,e.availabilitySearchUrl),children:[(0,t.jsx)(d,{children:i("book-a-different-room")}),(0,t.jsx)(a.default,{type:"button",onClick:e.onConfirm,children:i("book-this-room")})]})})]})})};var p=e.i(990054),m=e.i(856118),u=e.i(4007),h=e.i(975157),x=e.i(196936);let b=["p","a","ul","ol","li","b","i","u","strong","em","strike","br"];function v(e){return(0,x.default)(e.replace(/\n/g,"<br>"),b)}var f=e.i(190358);let y=(0,e.i(456420).default)("phone",[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2
10 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]]),g=(0,n.createServerReference)("78b4bec058c865c9d65ce7446a3d760ca153bc0704",n.callServer,void 0,n.findSourceMapURL,"default"),j=e=>`${e.rateType.id}::${e.appliedPromotion?.promotionId??"none"}`,w=({disabled:e,onClick:i})=>{let r=(0,l.useTranslations)("RateTypePicker"),n=(0,o.useFormStatus)();return(0,t.jsx)(a.default,{precedence:"PRIMARY",size:"NORMAL",className:"component reserve-button border-primary text-primary hover:bg-primary shrink-0 bg-[hsl(from_var(--primary-color)_h_s_l_/_0.05)] whitespace-nowrap hover:text-white",type:"submit",disabled:e||n.pending,onClick:i,children:r("reserve")})},N=({sanitizedRateTypeDescription:e,sanitizedPromotionDescription:a,canToggle:r,bordered:n=!0})=>{let s=(0,l.useTranslations)("RateTypePicker"),o=(0,i.useId)(),d=(0,i.useRef)(null),[c,p]=(0,i.useState)(!1),[m,u]=(0,i.useState)(!1);(0,i.useLayoutEffect)(()=>{if(!r)return;let e=d.current;if(!e)return;let t=parseFloat(getComputedStyle(e).lineHeight);u(e.scrollHeight>3*t+1)},[]);let x=r&&m;return(0,t.jsxs)("div",{className:(0,h.cn)("rate-type-body mt-[9px] text-[16px] leading-6",n&&"border-t border-[#e6e6e6] pt-3.5"),children:[e&&(0,t.jsxs)("div",{className:"rate-type-description-container relative mb-2 flex flex-col",children:[(0,t.jsxs)("div",{className:(0,h.cn)("rate-type-description",x&&!c&&"collapsed max-h-[calc(3*24px)] overflow-hidden before:float-right before:h-[calc(2*24px)] before:w-0 before:content-['']"),children:[x&&!c&&(0,t.jsx)("button",{type:"button",className:"rate-type-body-toggle is-collapsed float-right clear-right cursor-pointer border-0 bg-transparent p-0 [font-family:inherit] [font-size:inherit] [line-height:inherit] whitespace-nowrap text-[color:var(--primary-color)] before:content-['â¦_']","aria-expanded":!1,"aria-controls":o,onClick:e=>{e.stopPropagation(),p(!0)},children:s("description-more")}),(0,t.jsx)("div",{id:o,ref:d,dangerouslySetInnerHTML:{__html:e}})]}),x&&c&&(0,t.jsx)("button",{type:"button",className:"rate-type-body-toggle mt-1 cursor-pointer self-end border-0 bg-transparent p-0 [font-family:inherit] [font-size:inherit] [line-height:inherit] whitespace-nowrap text-[color:var(--primary-color)]","aria-expanded":!0,"aria-controls":o,onClick:e=>{e.stopPropagation(),p(!1)},children:s("description-hide")})]}),a&&(0,t.jsxs)("div",{className:(0,h.cn)("promotion-description italic",e?"mt-[18px]":"no-description-above mt-0"),children:[s("promotion-details"),":"," ",(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:a}})]})]})};function _({unit:e,rateTypeAvailabilities:a,bookableByPhoneOnly:r,allowGuestsToBookMultipleRooms:n,otherNonAdaUnitsAvailable:s=!1,availabilitySearchUrl:o="/rooms",variant:d="card",hotelPhone:h}){let x=(0,l.useTranslations)("RateTypePicker"),b=(0,l.useTranslations)("UnitAvailabilityRateTypeOptions"),k=(0,f.useFormatPriceCompact)(),{hasContainer:T}=(0,m.useFunnelTracking)(),C=(0,u.useCurrencyCode)(),P=(0,i.createRef)(),O=a.find(e=>0===e.restrictions.length),[A,S]=(0,i.useState)(!1),R=(0,i.useRef)(O?j(O):void 0),[I,L]=(0,i.useActionState)((e,t)=>{let i=a.find(e=>j(e)===R.current);return i?g(i.booking,n,e,t):{message:"Rate type no longer available. Please refresh the page."}},{message:""}),E=[],$=[],z=a.filter(e=>0===e.restrictions.length).length;a.forEach(i=>{let a=j(i);if(i.restrictions.length>0)$.push((0,t.jsxs)("div",{className:"row"===d?"rate-type invalid border-b border-[#dddddd] bg-[#f7f7f7] px-[18px] py-[15px] last:border-b-0":"rate-type invalid mb-3 rounded-[6px] border border-[#dddddd] bg-[#f7f7f7] px-[18px] py-[15px] last:mb-0",children:[(0,t.jsx)("div",{className:"rate-type-header",children:(0,t.jsx)("div",{className:"rate-type-name block text-[16px] leading-[18px] font-bold text-[#231f20]",children:i.rateType.name})}),(0,t.jsxs)("div",{className:"rate-type-body mt-[9px] border-t border-[#e6e6e6] pt-3.5 text-[16px] leading-6 text-[#d2453c]",children:["row"===d&&(0,t.jsx)("div",{className:"mb-1",children:x("not-available-reasons")}),i.restrictions.map(e=>(0,t.jsx)("div",{children:e},e))]})]},a));else{let n=i.rateType&&i.rateType.description&&i.rateType.description.length>0?v(i.rateType.description):null,s=i.appliedPromotion&&i.appliedPromotion.description&&i.appliedPromotion.description.length>0?v(i.appliedPromotion.description):null,l=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"rate-type-name block text-[16px] leading-[18px] font-bold text-[#231f20]",children:i.rateType.name}),!!i.appliedPromotion&&(0,t.jsx)("div",{className:"promotion-name mt-px text-[14px] leading-[18px] font-medium text-[#231f20]",children:i.appliedPromotion.name})]}),o=(0,t.jsxs)("div",{className:"rate-type-price-container",children:[!!i.appliedPromotion&&(0,t.jsx)("div",{className:"rate-type-price original-price leading-[14px]",children:(0,t.jsxs)("div",{className:"rate-type-price-inner-wrapper relative inline-block before:absolute before:top-2 before:right-0 before:w-full before:border-b before:border-[#6d6e71] before:content-['']",children:[(0,t.jsx)("span",{className:"sr-only",children:x("sr-price-before-promotion")}),(0,t.jsx)("span",{className:"price text-[12px] text-[#6d6e71]",children:k(i.averagePricePerDayBeforePromotion)}
1)," ",(0,t.jsx)("span",{className:"per-night text-[12px] text-[grey] uppercase",children:x("per-night")})]})}),(0,t.jsxs)("div",{className:"rate-type-price final-price whitespace-nowrap",children:[(0,t.jsxs)("span",{className:"price text-[24px] font-light",children:[(0,t.jsx)("span",{className:"sr-only",children:x("sr-current-price")}),k(i.averagePricePerDay)]})," ",(0,t.jsx)("span",{className:"per-night text-[12px] text-[grey] uppercase",children:x("per-night")})]})]}),c=r?h&&(0,t.jsxs)("a",{href:`tel:${h}`,className:"ml-auto flex shrink-0 items-center gap-1.5 rounded border border-(--primary-color) bg-[hsl(from_var(--primary-color)_h_s_l_/_0.05)] px-3 py-1.5 text-sm whitespace-nowrap text-(--primary-color)! no-underline! select-none hover:bg-(--primary-color) hover:text-white!",children:[(0,t.jsx)(y,{"aria-hidden":"true",className:"size-3.5"}),b("call-label")]}):(0,t.jsx)(w,{disabled:!1,onClick:()=>{R.current=a,i.rateType.is_member_rate&&document.querySelector("header button[data-think-travel-action=sign-in]")||(0,p.emitEcommerceFunnelEvent)("select_item",{ecommerce:{currency:C,value:i.price,items:[{item_id:e.id,item_name:e.name,item_category:"room",item_variant:i.rateType.name,price:i.price,quantity:1}]}},T)}}),m=I?.message&&R.current===a&&(0,t.jsx)("p",{role:"alert",className:"rate-type-picker-error m-0! text-[#d2453c]",children:I.message}),u=(n||s)&&(0,t.jsx)(N,{sanitizedRateTypeDescription:n,sanitizedPromotionDescription:s,canToggle:"card"===d&&z>1,bordered:"card"===d});E.push("row"===d?(0,t.jsx)("div",{className:"rate-type valid border-b border-[#dddddd] bg-white px-[18px] py-[15px] last:border-b-0",children:(0,t.jsxs)("div",{className:"min-[779px]:grid min-[779px]:grid-cols-[minmax(0,1fr)_auto] min-[779px]:items-start min-[779px]:gap-x-9",children:[(0,t.jsxs)("div",{className:"rate-type-header",children:[l,m,u]}),(0,t.jsxs)("div",{className:"rate-type-price-reserve-row mt-2 flex flex-wrap items-center justify-between gap-3 min-[779px]:mt-0 min-[779px]:flex-col min-[779px]:items-end min-[779px]:justify-start min-[779px]:gap-2 min-[779px]:text-right",children:[o,c]})]})},a):(0,t.jsxs)("div",{className:"rate-type valid mb-3 rounded-[6px] border border-[#dddddd] bg-white px-[18px] py-[15px] last:mb-0 hover:border-[color:var(--primary-color)]",children:[(0,t.jsxs)("div",{className:"rate-type-header",children:[l,(0,t.jsxs)("div",{className:"rate-type-price-reserve-row mt-2 flex flex-wrap items-center justify-between gap-3",children:[o,c]}),m]}),u]},a))}});let q=(0,i.useCallback)(t=>{if(!A&&e.adaCompliant&&s){t.preventDefault(),S(!0);return}S(!1);let i=a.find(e=>j(e)===R.current);if(i?.rateType.is_member_rate){let e=document.querySelector("header button[data-think-travel-action=sign-in]");e&&(t.preventDefault(),e.click(),(0,p.emitFunnelSignal)("login_required",{context:"member_rate",item_variant:i.rateType.name},T))}},[T,s,a,A,e.adaCompliant]);return(0,t.jsxs)("div",{className:"component rate-type-picker",children:[(0,t.jsx)("form",{ref:P,action:E.length>0?L:void 0,onSubmit:q,children:(0,t.jsx)("div",{className:"row"===d?"rate-types mb-3 overflow-hidden rounded-[6px] border border-[#dddddd] bg-white":"rate-types mb-3",children:E.length>0?E:$})}),A&&(0,t.jsx)(c,{availabilitySearchUrl:o,onClose:()=>S(!1),onConfirm:()=>{P.current?.requestSubmit()}})]})}let k=(0,e.i(770703).default)(()=>e.A(615795),{loadableGenerated:{modules:[156248]}});e.s(["default",0,e=>{let a=(0,i.use)(e.unitAvailabilityOptionsPromise),r=(0,l.useTranslations)("UnitAvailabilityRateTypeOptions"),n=a.find(t=>t.unit.id===e.unit.id),s=a.filter(t=>t.unit.id!==e.unit.id).filter(e=>!e.unit.adaCompliant).filter(e=>["AVAILABLE"].includes(e.status)).length>0,{hotel:o,unit:d,availabilitySearchUrl:c,availabilitySearchParameters:p}=e;return n?(0,t.jsxs)(t.Fragment,{children:[n.availabilityOption&&(0,t.jsxs)("div",{className:"","data-unit-availability-option-status":n.status,children:[n.availabilityOption.bookableByPhoneOnly&&(0,t.jsx)("div",{className:`${"row"===e.variant?"mb-3":"mb-5"} rounded-[6px] border border-(--primary-color) bg-[hsl(from_var(--primary-color)_h_s_l_/_0.08)] px-[18px] py-[15px] font-semibold`,children:r.rich("bookable-by-phone",{phone:o.phone,num:e=>(0,t.jsx)("a",{href:`tel:${o.phone}`,className:"whitespace-nowrap underline",children:e})})}),(()=>{if("row"===e.variant)return null;let i=n.availabilityOption.rateTypeAvailabilities.filter(e=>0===e.restrictions.length).length;return i>1?(0,t.jsx)("div",{className:"pb-3 pl-1",children:(0,t.jsx)("p",{className:"[all:unset]",children:(0,t.jsx)("span",{className:"text-base",children:r("rates-available",{count:i})})})}):null})(),(0,t.jsx)(_,{rateTypeAvailabilities:n.availabilityOption.rateTypeAvailabilities,hotelPhone:o.phone,bookableByPhoneOnly:n.availabilityOption.bookableByPhoneOnly,unit:d,allowGuestsToBookMultipleRooms:o.allowGuestsToBookMultipleRooms,otherNonAdaUnitsAvailable:s,availabilitySearchUrl:c,variant:e.variant})]}),"PARTIAL_AVAILABILITY"===n.status&&(0,t.jsx)("div",{className:"",children:r("switch-rooms-availability")}),"UNAVAILABLE"===n.status&&(0,t.jsxs)("div",{className:"",children:[r("not-available"),(0,t.jsx)("div",{className:"mt-4 flex w-full items-center justify-center",children:(0,t.jsx)(k,{endDate:p.endDate,hotel:o,startDate:p.startDate,unitName:d.name})})]})]}):null}],537695)},891070,e=>{"use strict";var t=e.i(843476),i=e.i(975157);e.s(["default",0,({children:e,id:a="",className:r="",style:n,...s})=>(0,t.jsx)("button",{id:a,className:(0,i.cn)("component button my-px inline-block cursor-pointer border-0 bg-white px-[3.2rem] py-[0.6rem] pr-[3.1rem] tracking-[1px] text-black uppercase no-underline shadow-[0px_0px_1px_#000] transition-all duration-200 ease-[
1cubic-bezier(0.77,0,0.175,1)] select-none hover:bg-[color:var(--primary-color)] hover:text-white hover:no-underline",r),style:{fontSize:"20px",fontWeight:400,...n},...s,children:e})])},288121,e=>{e.q("/_next/static/immutable/media/image-placeholder.3yvopomex7n9v.svg")}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.