PageSourceSearch

https://www.lumahotels.com/_next/static/chunks/app/(main)/layout-50e581c882c8f562.js

js lumahotels.com collected 2026-10-03 21:39:01 UTC 78,710 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2076],{5956:(e,t,l)=>{"use strict";l.d(t,{default:()=>v});var s=l(95155),a=l(52619),r=l.n(a),n=l(12115),i=l(20063),o=l(86457);function c(e){return/^https?:\/\//i.test(e)}function d(e){if(!c(e))return!1;try{return"www.lumahotels.com"!==new URL(e).hostname}catch(e){return!1}}function u(e){let{location:t,className:l="",navigationData:a}=e,u=(0,i.usePathname)(),[h,p]=(0,n.useState)(null),m=e=>"/"===e?u===e:u.startsWith(e),x=()=>u.includes("times-square")?"hover:text-secondary":u.includes("san-francisco")?"hover:text-tertiary":"hover:text-primary";return(0,s.jsx)("nav",{className:"".concat(l),children:(0,s.jsxs)("ul",{className:"flex flex-col gap-2 md:gap-[24px]",children:[" ",(a||[]).map(e=>{var l;return(0,s.jsx)("li",{className:"group font-extrabold",children:(null==(l=e.children)?void 0:l.length)>0?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("button",{onClick:()=>{var t;p(h===(t=e.href)?null:t)},className:"flex items-center space-x-1 py-2 text-[15px] leading-[15px] tracking-[0.75px]  uppercase ".concat("header"===t?m(e.href)?"text-primary":"text-white hover:text-white/80":m(e.href)?"text-primary":"text-white ".concat(x())),children:[(0,s.jsx)("span",{children:e.title}),(0,s.jsx)("svg",{className:"w-4 h-4 transition-transform ".concat(h===e.href?"rotate-180":""),fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]}),h===e.href&&(0,s.jsx)("div",{className:"absolute left-0 mt-2 w-full bg-white text-black backdrop-blur-md rounded-lg shadow-lg py-2 z-[60]",children:e.children.filter(e=>e.showIn.includes(t)).map(e=>(0,s.jsx)(r(),{href:e.href,className:"block px-4 py-2 text-sm text-black hover:bg-white hover:text-black transition-colors ".concat(m(e.href)?"bg-white/20":""),children:e.title},e.href))})]}):c(e.slug)?(0,s.jsx)("a",{href:e.slug,target:d(e.slug)?"_blank":void 0,rel:d(e.slug)?"noopener noreferrer":void 0,className:"block text-[15px] leading-[15px] tracking-[0.75px] uppercase  ".concat("header"===t?m(e.slug)?"text-primary":"text-white hover:text-white/80":m(e.slug)?"text-primary":"text-white ".concat(x())),children:e.name}):(0,s.jsx)(r(),{href:(0,o.j2)(e.slug,u),className:"block text-[15px] leading-[15px] tracking-[0.75px] uppercase  ".concat("header"===t?m(e.slug)?"text-primary":"text-white hover:text-white/80":m(e.slug)?"text-primary":"text-white ".concat(x())),children:e.name})},e.id)})]})})}var h=l(95904),p=l(15239),m=l(22544),x=l(66942),f=l(72377);function g(e){let{propertyId:t,formType:l="email",formData:a=[],onSubmit:r}
1=e,o=(0,i.useRouter)(),c=(0,i.usePathname)(),[d,u]=(0,n.useState)([]),[h,p]=(0,n.useState)(null),[g,b]=(0,n.useState)(!0),[v,w]=(0,n.useState)(!1);(0,n.useEffect)(()=>{u(a);let e=a.filter(e=>e.title.toLowerCase().includes("email signup")||e.title.toLowerCase().includes("email signups")),l=e.find(e=>e.property_id===t);l||(l=e.find(e=>null===e.property_id)),!l&&e.length>0&&(l=e[0]),p(l||null),b(!1)},[t,a]);let{register:j,handleSubmit:y,formState:{errors:k},reset:C}=(0,m.mN)({resolver:h?(0,x.u)((e=>{let t={};return e.structure.forEach(e=>{e.groups.forEach(e=>{e.fields.forEach(e=>{var l,s;if("submit"===e.attributes.type)return;let a=f.Yj();(null==(l=e.validators.email)?void 0:l.enabled)&&(a=f.Yj().email("Please enter a valid email address")),a=(null==(s=e.validators.required)?void 0:s.enabled)?a.min(1,"".concat(e.data.label," is required")):a.optional(),t[e.attributes.name]=a})})}),f.Ik(t)})(h)):void 0}),N=async e=>{if(h){w(!0);try{let t={payload:{fieldsets:h.structure.map(t=>({title:t.title,fields:t.groups.flatMap(t=>t.fields.filter(e=>"submit"!==e.attributes.type).map(t=>({name:t.attributes.name,label:t.data.label,value:e[t.attributes.name]||""})))}))},form_id:h.id,property_id:h.property_id};if(!r)return void o.push("thank-you");{let e=await r(t);if(e.success){let e="thank-you";c.includes("/times-square")?e="/times-square/thank-you":c.includes("/san-francisco")&&(e="/san-francisco/thank-you"),o.push(e);return}throw Error(e.error||"Form submission failed")}}catch(e){console.error("Error submitting form:",e),w(!1)}}};return g?(0,s.jsx)("div",{className:"flex items-end overflow-hidden w-full max-w-md",children:(0,s.jsx)("div",{className:"bg-transparent text-[15px] text-white px-4 py-4 flex-grow border border-white",children:"Loading..."})}):h?(0,s.jsxs)("div",{className:"flex items-end overflow-hidden w-full max-w-md",children:[h.structure.map(e=>e.groups.map((e,t)=>e.fields.map(e=>"email"===e.attributes.type?(0,s.jsx)("input",{...j(e.attributes.name),type:"email",placeholder:e.data.placeholder||e.data.label,className:"bg-transparent uppercase text-[15px] tracking-[0.75px] h-[56px] text-white placeholder-white px-4 py-4 flex-grow focus:outline-none border border-white font-extrabold"},e.id):null))),(0,s.jsx)("button",{type:"submit",disabled:v,onClick:y(N),className:"bg-white text-black w-[56px] h-[56px] font-bold text-base clippath flex justify-center items-center outline-none disabled:opacity-50","aria-label":"Submit Form",children:v?"...":(0,s.jsxs)("svg",{width:"13",height:"24",viewBox:"0 0 13 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsxs)("g",{clipPath:"url(#clip0_6949_13893)",children:[(0,s.jsx)("path",{d:"M0.0507812 19.2076V23.1211L10.6377 13.6214L12.8254 11.6646L10.6377 9.70776L0.0507812 19.2076Z",fill:"#151715"}),(0,s.jsx)("path",{d:"M9.81151 8.96599L0.0507812 0.192139V4.10568L7.62379 10.9228L9.81151 8.96599Z",fill:"#151715"})]}),(0,s.jsx)("defs",{children:(0,s.jsx)("clipPath",{id:"clip0_6949_13893",children:(0,s.jsx)("rect",{width:"13",height:"24",fill:"white"})})})]})})]}):(0,s.jsxs)("div",{className:"flex items-end overflow-hidden w-full max-w-md",children:[(0,s.jsx)("input",{type:"email",placeholder:"Email address",className:"bg-transparent uppercase text-[15px] tracking-[0.75px] h-[56px] text-white placeholder-white px-4 py-4 flex-grow focus:outline-none border border-white font-extrabold"}),(0,s.jsx)("button",{className:"bg-white text-black w-[56px] h-[56px] font-bold text-base clippath flex justify-center items-center outline-none",children:(0,s.jsxs)("svg",{width:"13",height:"24",viewBox:"0 0 13 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsxs)("g",{clipPath:"url(#clip0_6949_13893)",children:[(0,s.jsx)("path",{d:"M0.0507812 19.2076V23.1211L10.6377 13.6214L12.8254 11.6646L10.6377 9.70776L0.0507812 19.2076Z",fill:"#151715"}),(0,s.jsx)("path",{d:"M9.81151 8.96599L0.0507812 0.192139V4.10568L7.62379 10.9228L9.81151 8.96599Z",fill:"#151715"})]}),(0,s.jsx)("defs",{children:(0,s.jsx)("clipPath",{id:"clip0_6949_13893",children:(0,s.jsx)("rect",{width:"13",height:"24",fill:"white"})})})]})})]})}var b=l(11793);function v(e){var t,l,a,n,o,c,d,m,x,f;let v,{navigationData:w,formData:j,propertiesData:y=[],onSubmit:k,languageData:C}=e,N=(0,i.usePathname)(),L=()=>N.includes("times-square")?"hover:text-secondary":N.includes("san-francisco")?"hover:text-tertiary":"hover:text-primary",E=e=>{if(!e)return[];let t=(()=>
1{if(!C)return 1;let e=C.map(e=>e.slug),t=(0,b.vM)(N,e),l=C.find(e=>e.slug===t);return(null==l?void 0:l.id)||1})();return e[t]&&e[t].length>0?e[t]:e[1]||[]},M="";N.includes("times-square")?(M="timessquare",v=2):N.includes("san-francisco")?(M="sanfrancisco",v=1):v=void 0;let S=(()=>{var e,t;if(!v)return null;let l=y.find(e=>e.id===v);if(!l)return h.C.contact.properties[M];let s=null,a=null;Array.isArray(l.attributes)&&l.attributes.forEach(e=>{e&&"object"==typeof e&&("email"===e.key&&e.value&&(s=e.value),"reservationnumber"===e.key&&e.value&&(a=e.value))});let r=h.C.contact.properties[M];return{name:l.name,slug:l.slug,phone:{display:l.phone,raw:l.phone.replace(/[^0-9]/g,"")},email:s||(null==r?void 0:r.email)||"[email protected]",reservations:{display:a||(null==r||null==(e=r.reservations)?void 0:e.display)||"1-888-559-LUMA",raw:a?a.replace(/[^0-9]/g,""):(null==r||null==(t=r.reservations)?void 0:t.raw)||"18885595862"},address:{street:l.street_address+",",city:"san-francisco"===l.slug?"San Francisco":"New York",state:"san-francisco"===l.slug?"CA":"NY",zip:l.zip}}})(),T=h.C.contact.properties;return(0,s.jsx)("footer",{className:"mt-[-110px] text-white z-10 flex flex-col pt-8 md:pt-0",children:(0,s.jsx)("div",{className:"w-full bg-black clip-diagonal-top-[50px] md:clip-diagonal-top-[100px]",children:(0,s.jsx)("div",{className:"container mx-auto px-4 pt-[130px] md:pt-[164px] pb-16",children:(0,s.jsxs)("div",{className:"mx-auto",children:[(0,s.jsxs)("div",{className:"flex flex-col lg:flex-row justify-between items-center space-y-14 md:space-y-8 lg:space-y-0 lg:items-start",children:[(0,s.jsx)("div",{className:"w-full lg:w-1/4 text-left sm:text-center lg:text-left lg:pr-[150px]",children:N.includes("times-square")?(0,s.jsx)(u,{location:"footer",className:"footer-menu",navigationData:E(null==w?void 0:w.ny)}):N.includes("san-francisco")?(0,s.jsx)(u,{location:"footer",className:"footer-menu",navigationData:E(null==w?void 0:w.sf)}):(0,s.jsx)(u,{location:"footer",className:"footer-menu",navigationData:E(null==w?void 0:w.default)})}),(0,s.jsxs)("div",{className:"text-left sm:text-center lg:text-left w-full lg:w-1/4",children:[!M&&(0,s.jsx)("div",{className:"flex flex-col gap-6 md:gap-16 text-base tracking-[0.75px] font-extrabold uppercase text-white",children:y.length>0?y.map(e=>{let t="san-francisco"===e.slug?h.C.contact.properties.sanfrancisco:h.C.contact.properties.timessquare;return(0,s.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,s.jsx)("a",{href:"/".concat(e.slug),className:"opacity-50 hover:opacity-100",children:e.name.replace("LUMA ","")}),(0,s.jsx)("div",{children:(0,s.jsx)("a",{href:"mailto:".concat((null==t?void 0:t.email)||"[email protected]"),className:"".concat(L()),children:(null==t?void 0:t.email)||"[email protected]"})}),(0,s.jsx)("div",{children:(0,s.jsx)("a",{href:"tel:".concat(e.phone.replace(/[^0-9]/g,"")),className:"".concat(L()),children:e.phone})})]},e.id)}):Object.keys(T).map(e=>(0,s.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,s.jsx)("a",{href:"/".concat(T[e].slug),className:"opacity-50 hover:opacity-100",children:T[e].name.replace("LUMA ","")}),(0,s.jsx)("div",{children:(0,s.jsx)("a",{href:"mailto:".concat(T[e].email),className:"".concat(L()),children:T[e].email})}),(0,s.jsx)("div",{children:(0,s.jsx)("a",{href:"tel:".concat(T[e].phone.raw),className:"".concat(L()),children:T[e].phone.display})})]},T[e].name))}),M&&(0,s.jsx)("div",{className:"flex flex-col gap-16 text-base tracking-[0.75px] font-extrabold uppercase text-white",children:S?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,s.jsxs)("address",{className:"not-italic",children:[S.address.street," ",S.address.city,", ",S.address.state," ",S.address.zip]}),(0,s.jsx)("div",{children:(0,s.jsx)("a",{href:"mailto:".concat(S.email),className:"".concat(L()),children:S.email})}),(0,s.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,s.jsx)("div",{className:"text-base opacity-75 font-extrabold uppercase",children:"Reservations"}),(0,s.jsx)("div",{children:(0,s.jsx)("a",{href:"tel:".concat(S.reservations.raw),className:"".concat(L()),children:S.reservations.display})})]})]}),(0,s.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,s.jsx)("div",{className:"text-base opacity-75 font-extrabold uppercase",children:"HOTEL"}),(0,s.jsx)("div",{children:(0,s.jsx)("a",{href:"tel:".concat(S.phone.raw),className:"".concat(L()),children:S.phone.display})})]})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,s.jsxs)("address",{className:"not-italic",children:[h.C.contact.properties[M].address.street," ",h.C.contact.properties[M].address.city,", ",h.C.contact.properties[M].address.state]}),(0,s.jsx)("div",{children:(0,s.jsx)("a",{href:"mailto:".concat(h.C.contact.properties[M].email),className:"hover:opacity-50 transition-[opacity]",children:h.C.contact.properties[M].email})}),(0,s.jsx)("div",{children:(0,s.jsx)("a",{href:"tel:".concat(h.C.contact.properties[M].p
1hone.raw),className:"hover:opacity-50 transition-[opacity]",children:h.C.contact.properties[M].phone.display})})]}),(0,s.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,s.jsx)("div",{className:"text-base opacity-75 font-extrabold uppercase",children:"Reservations"}),(0,s.jsx)("div",{children:(0,s.jsx)("a",{href:"tel:".concat(h.C.contact.properties[M].reservations.raw),className:"hover:opacity-50 transition-[opacity]",children:h.C.contact.properties[M].reservations.display})})]})]})})]}),(0,s.jsxs)("div",{className:"w-full sm:w-[477px] left-auto text-left flex flex-col items-start md:items-center lg:items-start",children:[(0,s.jsxs)("div",{className:"flex flex-col space-y-4",children:[(0,s.jsx)("p",{className:"font-extrabold sm:text-[15px] sm:leading-[15px] tracking-[0.75px] text-left sm:text-center lg:text-left sm:font-extrabold uppercase text-white",children:"Get the latest news, updates, and offers"}),v?(0,s.jsx)(r(),{href:1===v?"/san-francisco/luma-san-francisco-subscribe":"/times-square/luma-new-yor
1k-subscribe",className:"btn !w-full ".concat(1===v?"btn-teal":"btn-purple"),children:"Subscribe"}):(0,s.jsx)(g,{propertyId:v,formType:"email",formData:j,onSubmit:k})]}),M&&(0,s.jsxs)("div",{className:"flex gap-[12px] mt-16",children:[(null==(t=h.C.social[M])?void 0:t.facebook)&&(0,s.jsx)("a",{href:null==(l=h.C.social[M])?void 0:l.facebook,target:"_blank",rel:"noopener noreferrer",className:"group","aria-label":"Facebook",children:(0,s.jsxs)("svg",{width:"40",height:"40",viewBox:"0 0 49 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("title",{children:"Facebook Icon"}),(0,s.jsx)("path",{d:"M24.873 0.959961C12.1482 0.959961 1.83301 11.2752 1.83301 24C1.83301 36.7248 12.1482 47.04 24.873 47.04C37.5978 47.04 47.913 36.7248 47.913 24C47.913 11.2752 37.5978 0.959961 24.873 0.959961Z",className:"sanfrancisco"===M?"fill-white group-hover:fill-tertiary transition-[fill]":"fill-white group-hover:fill-secondary transition-[fill]"}),(0,s.jsx)("path",{d:"M30.3306 16.8816H26.8674C26.457 16.8816 26.001 17.4216 26.001 18.1392V20.64H30.333L29.6778 24.2064H26.001V34.9128H21.9138V24.2064H18.2058V20.64H21.9138V18.5424C21.9138 15.5328 24.0018 13.0872 26.8674 13.0872H30.3306V16.8816Z",className:"sanfrancisco"===M?"fill-[#151715] group-hover:fill-[#151715] transition-[fill]":"fill-[#151715] group-hover:fill-white transition-[fill]"})]})}),(null==(a=h.C.social[M])?void 0:a.instagram)&&(0,s.jsx)("a",{href:null==(n=h.C.social[M])?void 0:n.instagram,target:"_blank",rel:"noopener noreferrer",className:"group","aria-label":"Instagram",children:(0,s.jsxs)("svg",{width:"40",height:"40",viewBox:"0 0 49 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("title",{children:"Instagram Icon"}),(0,s.jsx)("path",{d:"M24.8731 -3.05173e-05C20.1264 -3.05173e-05 15.4862 1.40755 11.5394 4.04471C7.59261 6.68187 4.51646 10.4302 2.69995 14.8156C0.883446 19.201 0.408164 24.0267 1.33421 28.6822C2.26026 33.3378 4.54604 37.6142 7.90251 40.9706C11.259 44.3271 15.5354 46.6129 20.1909 47.5389C24.8465 48.465 29.6721 47.9897 34.0575 46.1732C38.443 44.3567 42.1913 41.2805 44.8284 37.3338C47.4656 33.387 48.8732 28.7468 48.8732 24C48.8732 20.8483 48.2524 17.7274 47.0463 14.8156C45.8402 11.9038 44.0724 9.258 41.8438 7.02939C39.6152 4.80077 36.9694 3.03294 34.0576 1.82683C31.1457 0.620722 28.0249 -4.69327e-05 24.8731 -3.05173e-05ZM37.2979 29.1538C37.2771 30.1908 37.0806 31.2167 36.7169 32.188C36.3958 33.0184 35.9048 33.7725 35.2752 34.4021C34.6457 35.0316 33.8916 35.5226 33.0612 35.8437C32.0899 36.2075 31.0639 36.404 30.027 36.4248C28.6936 36.4857 28.2679 36.5001 24.8731 36.5001C21.4783 36.5001 21.0526 36.4857 19.7193 36.4248C18.6823 36.404 17.6564 36.2076 16.6851 35.8438C15.8547 35.5227 15.1006 35.0317 14.471 34.4021C13.8415 33.7726 13.3505 33.0185 13.0294 32.1881C12.6656 31.2168 12.4691 30.1908 12.4483 29.1539C12.3874 27.8205 12.3731 27.3948 12.3731 24C12.3731 20.6052 12.3874 20.1795 12.4483 18.8462C12.4691 17.8092 12.6656 16.7833 13.0294 15.812C13.3504 14.9816 13.8415 14.2275 14.471 13.5979C15.1005 12.9684 15.8547 12.4774 16.6851 12.1563C17.6564 11.7925 18.6823 11.596 19.7193 11.5752C21.0526 11.5143 21.4783 11.5 24.8731 11.5C28.2679 11.5 28.6936 11.5143 30.0269 11.5752C31.0639 11.596 32.0898 11.7925 33.0611 12.1563C33.8915 12.4773 34.6457 12.9684 35.2752 13.5979C35.9047 14.2275 36.3958 14.9816 36.7169 15.812C37.0806 16.7833 37.2771 17.8092 37.2979 18.8462C37.3588 20.1795 37.3731 20.6052 37.3731 24C37.3731 27.3948 37.3588 27.8205 37.2979 29.1538V29.1538Z",className:"sanfrancisco"===M?"fill-white group-hover:fill-tertiary transition-[fill]":"fill-white group-hover:fill-secondary transition-[fill]"}),(0,s.jsx)("path",{d:"M34.6176 16.6279C34.4096 16.0889 34.0911 15.5993 33.6826 15.1907C33.274 14.7822 32.7844 14.4636 32.2453 14.2557C31.502 13.9802 30.7169 13.8346 29.9243 13.8252C28.6061 13.7651 28.2109 13.7524 24.8732 13.7524C21.5355 13.7524 21.1403 13.7651 19.822 13.8252C19.0294 13.8346 18.2443 13.9802 17.501 14.2556C16.9619 14.4636 16.4723 14.7821 16.0638 15.1907C15.6552 15.5993 15.3367 16.0888 15.1287 16.6279C14.8533 17.3712 14.7076 18.1563 14.6983 18.9489C14.6381 20.2672 14.6255 20.6626 14.6255 24.0001C14.6255 27.3376 14.6382 27.733 14.6983 29.0512C14.7076 29.8439 14.8532 30.629 15.1287 31.3723C15.3367 31.9113 15.6552 32.4009 16.0638 32.8095C16.4723 33.2181 16.9619 33.5366 17.501 33.7445C18.2443 34.02 19.0294 34.1656 19.822 34.175C21.1399 34.235 21.5353 34.2478 24.8732 34.2478C28.211 34.2478 28.6064 34.2351 29.9243 34.175C30.7169 34.1656 31.502 34.02 32.2453 33.7445C32.7844 33.5366 33.274 33.2181 33.6826 32.8095C34.0911 32.4009 34.4096 31.9113 34.6176 31.3723C34.8931 30.629 35.0387 29.8439 35.0481 29.0512C35.1081 27.733 35.1208 27.3378 35.1208 24.0001C35.1208 20.6624 35.1082 20.2672 35.0481 18.9489C35.0387 18.1563 34.8931 17.3712 34.6176 16.6279ZM24.8732 30.419C23.6036 30.419 22.3626 30.0426 21.307 29.3372C20.2514 28.6319 19.4287 27.6294 18.9428 26.4565C18.457 25.2836 18.3299 23.993 18.5776 22.7478C18.8252 21.5027 19.4366 20.3589 20.3343 19.4612C21.232 18.5635 22.3757 17.9522 23.6209 17.7045C24.8
166 17.4568 26.1567 17.5839 27.3296 18.0698C28.5025 18.5556 29.505 19.3783 30.2103 20.4339C30.9156 21.4895 31.2921 22.7305 31.2921 24.0001C31.2921 24.843 31.1261 25.6777 30.8035 26.4565C30.4809 27.2353 30.0081 27.9429 29.412 28.539C28.816 29.135 28.1084 29.6078 27.3296 29.9304C26.5508 30.253 25.7161 30.419 24.8732 30.419ZM31.5457 18.8276C31.249 18.8276 30.959 18.7396 30.7123 18.5748C30.4657 18.41 30.2734 18.1757 30.1599 17.9016C30.0463 17.6275 30.0166 17.3259 30.0745 17.0349C30.1324 16.744 30.2752 16.4767 30.485 16.2669C30.6948 16.0571 30.9621 15.9143 31.253 15.8564C31.544 15.7985 31.8456 15.8282 32.1197 15.9417C32.3938 16.0553 32.6281 16.2475 32.7929 16.4942C32.9577 16.7409 33.0457 17.0309 33.0457 17.3276C33.0457 17.7254 32.8876 18.1069 32.6063 18.3882C32.325 18.6695 31.9435 18.8276 31.5457 18.8276Z",className:"sanfrancisco"===M?"fill-white":"fill-white group-hover:fill-white transition-[fill]"}),(0,s.jsx)("path",{d:"M24.8733 28.1668C27.1745 28.1668 29.04 26.3013 29.04 24.0001C29.04 21.6989 27.1745 19.8334 24.8733 19.8334C22.5721 19.8334 20.7065 21.6989 20.7065 24.0001C20.7065 26.3013 22.5721 28.1668 24.8733 28.1668Z",className:"sanfrancisco"===M?"fill-white":"fill-white group-hover:fill-white transition-[fill]"})]})}),(null==(o=h.C.social[M])?void 0:o.tiktok)&&(0,s.jsx)("a",{href:null==(c=h.C.social[M])?void 0:c.tiktok,target:"_blank",rel:"noopener noreferrer",className:"group","aria-label":"TikTok",children:(0,s.jsxs)("svg",{width:"40",height:"40",viewBox:"0 0 49 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("title",{children:"TikTok Icon"}),(0,s.jsx)("path",{d:"M24.873 0.959961C12.1482 0.959961 1.83301 11.2752 1.83301 24C1.83301 36.7248 12.1482 47.04 24.873 47.04C37.5978 47.04 47.913 36.7248 47.913 24C47.913 11.2752 37.5978 0.959961 24.873 0.959961Z",className:"sanfrancisco"===M?"fill-white group-hover:fill-tertiary transition-[fill]":"fill-white group-hover:fill-secondary transition-[fill]"}),(0,s.jsx)("g",{transform:"translate(14.873, 11) scale(0.65)",children:(0,s.jsx)("path",{d:"M16.656 1.029c1.637-0.025 3.262-0.012 4.886-0.025 0.054 2.031 0.878 3.859 2.189 5.213l-0.002-0.002c1.411 1.271 3.247 2.095 5.271 2.235l0.028 0.002v5.036c-1.912-0.048-3.71-0.489-5.331-1.247l0.082 0.034c-0.784-0.377-1.447-0.764-2.077-1.196l0.052 0.034c-0.012 3.649 0.012 7.298-0.025 10.934-0.103 1.853-0.719 3.543-1.707 4.954l0.020-0.031c-1.652 2.366-4.328 3.919-7.371 4.011l-0.014 0c-0.123 0.006-0.268 0.009-0.414 0.009-1.73 0-3.347-0.482-4.725-1.319l0.040 0.023c-2.508-1.509-4.238-4.091-4.558-7.094l-0.004-0.041c-0.025-0.625-0.037-1.25-0.012-1.862 0.49-4.779 4.494-8.476 9.361-8.476 0.547 0 1.083 0.047 1.604 0.136l-0.056-0.008c0.025 1.849-0.050 3.699-0.050 5.548-0.423-0.153-0.911-0.242-1.42-0.242-1.868 0-3.457 1.194-4.045 2.861l-0.009 0.030c-0.133 0.427-0.21 0.918-0.21 1.426 0 0.206 0.013 0.41 0.037 0.61l-0.002-0.024c0.332 2.046 2.086 3.59 4.201 3.59 0.061 0 0.121-0.001 0.181-0.004l-0.009 0c1.463-0.044 2.733-0.831 3.451-1.994l0.010-0.018c0.267-0.372 0.45-0.822 0.511-1.311l0.001-0.014c0.125-2.237 0.075-4.461 0.087-6.698 0.012-5.036-0.012-10.060 0.025-15.083z",className:"sanfrancisco"===M?"fill-[#151715] group-hover:fill-[#151715] transition-[fill]":"fill-[#151715] group-hover:fill-white transition-[fill]"})})]})}),(null==(d=h.C.social[M])?void 0:d.linkedin)&&(0,s.jsx)("a",{href:null==(m=h.C.social[M])?void 0:m.linkedin,target:"_blank",rel:"noopener noreferrer",className:"group","aria-label":"LinkedIn",children:(0,s.jsxs)("svg",{width:"40",height:"40",viewBox:"0 0 49 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("title",{children:"Linkedin Icon"}),(0,s.jsx)("path",{d:"M24.873 0.959869C12.1482 0.959869 1.83301 11.2751 1.83301 23.9999C1.83301 36.7247 12.1482 47.0399 24.873 47.0399C37.5978 47.0399 47.913 36.7247 47.913 23.9999C47.913 11.2751 37.5978 0.959869 24.873 0.959869Z",className:"sanfrancisco"===M?"fill-white group-hover:fill-tertiary transition-[fill]":"fill-white group-hover:fill-secondary transition-[fill]"}),(0,s.jsx)("path",{d:"M19.233 33.5495H14.5674V18.5351H19.233V33.5495ZM16.8714 16.6919C15.3978 16.6919 14.445 15.6479 14.445 14.3567C14.445 13.0391 15.4266 12.0263 16.9314 12.0263C18.4362 12.0263 19.35
178 13.0391 19.3866 14.3567C19.3866 15.6479 18.4362 16.6919 16.8714 16.6919ZM36.273 33.5495H31.6074V25.2287C31.6074 23.2919 30.9306 21.9767 29.2434 21.9767C27.9546 21.9767 27.189 22.8671 26.8506 23.7239C26.7258 24.0287 26.6946 24.4607 26.6946 24.8903V33.5471H22.0266V23.3231C22.0266 21.4487 21.9666 19.8815 21.9042 18.5327H25.9578L26.1714 20.6183H26.265C26.8794 19.6391 28.3842 18.1943 30.9018 18.1943C33.9714 18.1943 36.273 20.2511 36.273 24.6719V33.5495Z",className:"sanfrancisco"===M?"fill-[#151715] group-hover:fill-[#151715] transition-[fill]":"fill-[#151715] group-hover:fill-white transition-[fill]"})]})}),(null==(x=h.C.social[M])?void 0:x.tripadvisor)&&(0,s.jsx)("a",{href:null==(f=h.C.social[M])?void 0:f.tripadvisor,target:"_blank",rel:"noopener noreferrer",className:"group","aria-label":"TripAdvisor",children:(0,s.jsxs)("svg",{width:"40",height:"40",viewBox:"0 0 49 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("title",{children:"Trip Advisor Icon"}),(0,s.jsx)("path",{d:"M23.9129 0.919983C11.1881 0.919983 0.872925 11.2352 0.872925 23.96C0.872925 36.6848 11.1881 47 23.9129 47C36.6377 47 46.9529 36.6848 46.9529 23.96C46.9529 11.2352 36.6377 0.919983 23.9129 0.919983Z",className:"sanfrancisco"===M?"fill-white group-hover:fill-tertiary transition-[fill]":"fill-white group-hover:fill-secondary transition-[fill]"}),(0,s.jsx)("path",{d:"M30.1144 15.8052C29.2502 15.5477 28.3755 15.3302 27.4824 15.2077C26.2708 15.0431 24.4495 14.8092 22.1707 14.9792C21.236 15.039 20.3111 15.1605 19.391 15.333C18.4407 15.5115 17.509 15.7552 16.5963 16.0675C15.3308 16.5013 14.1264 17.0585 12.9959 17.7618C12.9362 17.799 12.8582 17.827 12.7881 17.827C11.1794 17.8302 9.57098 17.8295 7.96225 17.8289H7.96209H7.96193H7.96177H7.96161H7.96144C7.9425 17.8289 7.92339 17.8263 7.90411 17.8236L7.90406 17.8236L7.88158 17.8207V17.883C7.92377 17.9393 7.96705 17.9949 8.01034 18.0505L8.01035 18.0505L8.01035 18.0505L8.01036 18.0505L8.01041 18.0506C8.10499 18.1721 8.19957 18.2937 8.28285 18.4217C8.76107 19.1559 9.16949 19.9224 9.40649 20.7652C9.42597 20.8332 9.41169 20.934 9.37078 20.9909C8.78964 21.7937 8.36629 22.6667 8.12345 23.6175C8.03969 23.9446 7.70399 25.2923 7.97962 26.6901C8.22052 28.1877 8.86204 29.5049 9.89348 30.6395C10.9489 31.7999 12.2554 32.5864 13.7926 32.9959C14.8773 33.2859 15.9834 33.3476 17.1002 33.176C19.1079 32.8684 20.7558 31.9488 22.0658 30.4487C22.0759 30.4371 22.0866 30.4248 22.0993 30.4147C22.1035 30.4109 22.1088 30.4085 22.1193 30.4037C22.1277 30.3999 22.1392 30.3947 22.1561 30.3861C22.4651 30.8336 22.7745 31.2821 23.0874 31.7356L23.8414 32.8285C24.3087 32.152 24.7671 31.4896 25.2287 30.8226L25.5549 30.3511C25.6022 30.4029 25.6478 30.4534 25.6925 30.5029C25.7915 30.6127 25.886 30.7174 25.9844 30.819C27.0675 31.9413 28.3817 32.6824 29.9147 33.068C30.5439 33.2261 31.1848 33.3101 31.8289 33.3063C33.362 33.2982 34.7969 32.9179 36.0959 32.1192C37.9133 31.0022 39.1094 29.4246 39.6223 27.4013C40.2073 25.0943 39.7606 22.9542 38.3607 21.0048C38.2919 20.9081 38.298 20.8257 38.3273 20.7271C38.5964 19.8097 39.0522 18.9799 39.5856 18.1865C39.6169 18.1402 39.6483 18.0941 39.6796 18.048C39.7222 17.9854 39.7648 17.9228 39.807 17.8598C39.8102 17.8555 39.8097 17.8491 39.8089 17.8379C39.8084 17.8308 39.8077 17.8219 39.8077 17.8103L39.7708 17.8081C39.7591 17.8074 39.7474 17.8066 39.7357 17.8059C39.7197 17.8048 39.7037 17.8037 39.6878 17.8025C39.6015 17.7965 39.5153 17.7905 39.4288 17.7905C38.974 17.7901 38.5192 17.7901 38.0642 17.79H38.0627H38.0627H38.0626H38.0626C36.9463 17.7898 35.8298 17.7896 34.7128 17.7851C34.6031 17.7851 34.4788 17.7496 34.3856 17.6935C33.0467 16.8816 31.6231 16.2557 30.1144 15.8052ZM31.8526 31.7241C28.332 31.7373 25.4653 28.9382 25.4653 25.5121C25.4971 22.1403 28.2275 19.414 31.7156 19.3438C35.2489 19.2742 38.2351 21.9578 38.2376 25.5275C38.2402 28.9914 35.3865 31.7118 31.8526 31.7241ZM9.51103 25.6156C9.45097 22.0727 12.4476 19.2912 15.8844 19.3202C19.4345 19.3202 22.283 22.083 22.2775 25.5322C22.271 28.8894 19.4569 31.6617 15.9558 31.6907C12.3752 31.7206 9.56687 28.9197 9.51103 25.6156ZM21.2889 19.7455C19.8481 18.4749 18.1427 17.8188 16.2012 17.7039C18.7978 16.6477 21.5168 16.2482 24.3121 16.3014C26.7717 16.3474 29.1612 16.7623 31.4273 17.7392C29.5177 17.8786 27.835 18.5382 26.4218 19.7949C25.0108 21.0504 24.1904 22.6176 23.8755 24.4558C23.5693 22.5956 22.7268 21.0136 21.2889 19.7455ZM31.8395 21.6034C34.0261 21.5999 35.7971 23.3081 35.7971 25.4262C35.7971 27.5525 34.0563 29.1962 32.0025 29.272C29.7088 29.3574 27.8735 27.5852 27.8742 25.4357C27.8761 23.2615 29.7244 21.5675 31.8395 21.6034ZM34.4186 25.4357C34.4176 24.0536 33.2654 22.9303 31.8499 22.9303C30.4182 22.9303 29.2527 24.0476 29.2468 25.4256C29.2416 26.7976 30.413 27.9391 31.8314 27.9429C33.2521 27.9482 34.4193 26.8152 34.4186 25.4357ZM19.7532 25.4303C19.7588 23.3125 17.9852 21.6012 15.7999 21.6034C13.6958 21.5669 11.8349 23.242 11.8303 25.4316C11.8261 27.5928 13.6841 29.3728 15.9869 29.2708C18.0046 29.1817 19.7471 27.5739 19.7532 25.4303ZM15.7645 22.9307C17.2122 22.9282 18.3718 24.0366 18.3761 25.4272C18.3796 26.8058 
117.2096 27.9473 15.796 27.9442C14.3737 27.9404 13.2049 26.8099 13.2013 25.4351C13.1981 24.076 14.3682 22.9332 15.7645 22.9307ZM31.8415 24.1634C32.5662 24.1628 33.1603 24.7392 33.1535 25.4378C33.1463 26.138 32.5623 26.7053 31.8496 26.7056C31.1159 26.7056 30.526 26.1433 30.5276 25.4466C30.5289 24.7238 31.1019 24.1641 31.8415 24.1634ZM17.1229 25.4324C17.12 24.7212 16.5288 24.1514 15.7931 24.152C15.0467 24.1529 14.4698 24.7098 14.4698 25.4273C14.4691 26.158 15.0473 26.7196 15.797 26.7181C16.5291 26.7165 17.1258 26.1375 17.1229 25.4324Z",className:"sanfrancisco"===M?"fill-[#151715] group-hover:fill-[#151715] transition-[fill]":"fill-[#151715] group-hover:fill-white transition-[fill]"})]})})]})]})]}),(0,s.jsxs)("div",{className:" mt-12 pt-8 flex flex-col-reverse lg:flex-row justify-between items-start lg:items-end gap-16 md:gap-5 text-base tracking-[0.75px] uppercase text-white ",children:[(0,s.jsxs)("p",{className:"opacity-50",children:["All Rights Reserved \xa9 ",new Date().getFullYear()," ",h.C.name]}),(0,s.jsx)(r(),{href:"/",children:(0,s.jsx)(p.default,{src:"/footer-logo-white.svg",alt:"".concat(h.C.name," logo"),width:120,height:57,className:"object-contain w-[120px] h-[57px]"})})]})]})})})})}},16602:(e,t,l)=>{"use strict";l.d(t,{default:()=>r});var s=l(12115),a=l(20063);function r(){let e=(0,a.usePathname)();return(0,s.useEffect)(()=>{function e(e){if(e&&e.startsWith("#")){if(e.startsWith("#/booking/"))return void window.scrollTo({top:0,behavior:"smooth"});if("#"!==(e=e.replace(/\/+$/,"")))try{let t=document.querySelector(e);if(t){let l=t.getBoundingClientRect().top+window.pageYOffset;!function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300,l=window.pageYOffset,s=e-l,a=null;requestAnimationFrame(function e(r){let n;null===a&&(a=r);let i=r-a,o=l+s*((n=Math.min(i/t,1))<.5?4*n*n*n:1-Math.pow(-2*n+2,3)/2);window.scrollTo(0,o),i<t&&requestAnimationFrame(e)})}(l-0,300),history.pushState({},"",e)}}catch(e){}}}function t(){let t=window.location.hash;t&&t.length>1&&!t.startsWith("#/")&&e(t)}document.querySelectorAll('a[href^="#"]').forEach(t=>{t.addEventListener("click",l=>{let s=t.getAttribute("href");s&&"#/booking/step-1"!==s&&!s.startsWith("#/")&&(l.preventDefault(),e(s))})}),document.querySelectorAll("select.scroll-to-selection").forEach(t=>{t.addEventListener("change",l=>{l.preventDefault(),e(t.value)})});let l=window.setTimeout(t,500);return window.addEventListener("hashchange",t),()=>{window.clearTimeout(l),window.removeEventListener("hashchange",t)}},[e]),null}},37037:(e,t,l)=>{"use strict";l.d(t,{default:()=>M});var s=l(95155),a=l(12115),r=l(15239),n=l(52619),i=l.n(n),o=l(95904),c=l(20063),d=l(71408),u=l(81673);function h(e){var t,l;let{child:a,isActive:r}=e,n=(0,c.usePathname)().split("/")[1],o=["es","fr","de","zh-hans","zh-hant","pt-br"].includes(n),d=a.slug||a.url||a.link||"",u=d.startsWith("http://")||d.startsWith("https://")||d.startsWith("//");u||(d.startsWith("/")||(d="/"+d),o&&!d.startsWith("/".concat(n,"/"))&&(d="/".concat(n).concat(d)));let h="block text-base uppercase w-1/2 text-black hover:bg-white hover:text-black transition-colors text-stroke-02 group even:group-even ".concat(r(d)?"bg-white/20":"");return u?(0,s.jsxs)("a",{href:d,target:"_blank",rel:"noopener noreferrer",className:h,children:[(0,s.jsx)("img",{alt:"",className:"h-[16.25rem] w-full object-cover mb-4 clip-top-right-[24px] group-even:clip-bottom-left-[24px]",src:(null==(l=a.thumbnail)?void 0:l.url)||""}),(0,s.jsx)("p",{className:"text-black text-base uppercase text-stroke-03",children:a.name})]}):(0,s.jsxs)(i(),{href:d,className:h,children:[(0,s.jsx)("img",{alt:"",className:"h-[16.25rem] w-full object-cover mb-4 clip-top-right-[24px] group-even:clip-bottom-left-[24px]",src:(null==(t=a.thumbnail)?void 0:t.url)||""}),(0,s.jsx)("p",{className:"text-black text-base uppercase text-stroke-03",children:a.name})]})}function p(e){let{item:t,location:l,isActive:a}=e,r=(0,c.usePathname)().split("/")[1],n=["es","fr","de","zh-hans","zh-hant","pt-br"].includes(r),o=t.slug||t.url||t.link||"",d=o.startsWith("http://")||o.startsWith("https://")||o.startsWith("//");d||(o.startsWith("/")||(o="/"+o),n&&!o.startsWith("/".concat(r,"/"))&&(o="/".concat(r).concat(o)));let u="py-2 text-[15px] leading-[15px] tracking-[0.75px] font-bold uppercase text-stroke-02 flex flex-col items-center ".concat("header"===l?a(o)?"text-white":"text-white hover:text-white/80":a(o)?"text-white":"text-black hover:text-primary");return d?(0,s.jsxs)("a",{href:o,target:"_blank",rel:"noopener noreferrer",className:u,children:[t.name,(0,s.jsx)("div",{className:"w-0 h-0 border-l-[5px] border-r-[5px] border-b-[7px] border-l-transparent border-r-transparent border-b-primary mt-1 opacity-0 group-hover:opacity-100 transition-opacity duration-300"})]}):(0,s.jsxs)(i(),{href:o,className:u,children:[t.name,(0,s.jsx)("div",{className:"w-0 h-0 border-l-[5px] border-r-[5px] border-b-[7px] border-l-transparent border-r-transparent border-b-primary mt-1 opacity-0 group-hover:opacity-100 transition-opacity duration-300"})]})}function m(e){let{location:t,className:l="",navigationData:r}=e,n=(0,c.usePathname)(),[i,o]=(0,a.useState)(null),[m,x]=(0,a.useState)(null),f=(0,a.useRef)(null),g=(0,a.useRef)(new Map),b=(0,a.useRef)(new Map),v=e=>{let t=n.split("/")[1],l=["es","fr","de","zh-hans","zh-hant","pt-br"].includes(t),s=e||"";return s.startsWith("/")||(s="/"+s),l&&!s.startsWith("/".concat(t,"/"))&&(s="/".concat(t).concat(s)),s},w=e=>"/"===e?n===e:n.startsWith(e),j=e=>{m&&(clearTimeout(m),x(null)),o(null),e&&requestAnimationFrame(()=>{var t;
1null==(t=g.current.get(e))||t.focus()})},y=()=>{m&&(clearTimeout(m),x(null))},k=()=>{x(setTimeout(()=>{var e;(null==(e=f.current)?void 0:e.contains(document.activeElement))||o(null)},1e3))};return(0,a.useEffect)(()=>{let e=e=>{f.current&&!f.current.contains(e.target)&&o(null)};return i&&document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[i]),(0,a.useEffect)(()=>()=>{m&&clearTimeout(m)},[m]),(0,s.jsx)("nav",{ref:f,className:"".concat(l," ").concat(null!==i?"corp-nav-active":""),"aria-label":"Main Navigation",children:(0,s.jsx)("ul",{className:"flex space-x-8",children:(r||[]).map(e=>(0,s.jsx)("li",{className:"group",onMouseEnter:()=>{var t,l;return t=e.slug,l=e.children.length>0,void(m&&(clearTimeout(m),x(null)),l?o(t):o(null))},onBlur:e.children.length>0?t=>((e,t)=>{let l=e.relatedTarget,s=e.currentTarget;l&&s.contains(l)||setTimeout(()=>{s.contains(document.activeElement)||i!==t||j()},0)})(t,e.slug):void 0,children:e.children.length>0?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("button",{ref:t=>{t&&g.current.set(e.slug,t)},"aria-expanded":i===e.slug,"aria-haspopup":"true","aria-controls":"corp-submenu-".concat(e.slug),onClick:()=>o(i===e.slug?null:e.slug),onKeyDown:t=>((e,t)=>{switch(e.key){case"Enter":case" ":e.preventDefault(),i===t?j(t):(o(t),requestAnimationFrame(()=>{let e=b.current.get(t);if(e){let t=e.querySelector("a");null==t||t.focus()}}));break;case"Escape":i===t&&(e.preventDefault(),j(t));break;case"ArrowDown":if(i===t){e.preventDefault();let l=b.current.get(t);if(l){let e=l.querySelector("a");null==e||e.focus()}}}})(t,e.slug),className:"flex items-center space-x-1 py-2 text-[15px] \n                      leading-[15px] tracking-[0.75px] font-bold uppercase text-stroke-02 flex-col relative focus:outline-2 focus:outline-offset-2 focus:outline-current focus:rounded-sm ".concat("header"===t?w(v(e.slug))?"text-primary":"text-white hover:text-white":w(v(e.slug))?"text-primary":"text-gray-600 hover:text-primary"),children:[(0,s.jsx)("span",{children:e.name}),(0,s.jsx)("div",{className:"w-0 h-0 border-l-[5px] border-r-[5px] border-b-[7px] border-l-transparent border-r-transparent border-b-primary mt-1 opacity-0 group-hover:opacity-100 transition-opacity duration-300 absolute bottom-0"})]}),(0,s.jsx)(d.N,{children:i===e.slug&&(0,s.jsxs)(u.P.div,{ref:t=>{t&&b.current.set(e.slug,t)},id:"corp-submenu-".concat(e.slug),role:"group","aria-label":"".concat(e.name," submenu"),initial:{opacity:0,y:-20,height:0},animate:{opacity:1,y:0,height:"auto"},exit:{opacity:0,y:-20,height:0},transition:{duration:.4,ease:"easeInOut"},className:"absolute left-0 top-full w-full bg-white text-black backdrop-blur-md shadow-lg z-[60] flex flex-row justify-between p-10 overflow-hidden",onMouseEnter:y,onMouseLeave:k,onKeyDown:t=>{var l;return l=e.slug,void("Escape"===t.key&&(t.preventDefault(),t.stopPropagation(),j(l)))},children:[(0,s.jsx)("div",{className:"flex flex-col gap-3 w-1/3",children:(0,s.jsx)("div",{className:"text-lg max-w-[322px]",dangerouslySetInnerHTML:{__html:e.body||""}})}),(0,s.jsx)("div",{className:"flex flex-row gap-6 w-2/3",children:e.children.map(e=>(0,s.jsx)(h,{child:e,isActive:w},e.id))})]},e.id)})]}):"Home Page"!==e.name?(0,s.jsx)(p,{item:e,location:t,isActive:w}):null},e.id))})})}var x=l(14935);let f={hidden:{opacity:0},visible:{opacity:1},exit:{opacity:0}},g=e=>{let{onClose:t,bookingURL:l="",triggerRef:n}=e,o=(0,a.useRef)(null),c=(0,a.useRef)(null),h=e=>{window.location.href=e};(0,a.useEffect)(()=>{let e=e=>{"Escape"===e.key&&t()};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[t]),(0,a.useEffect)(()=>{var e;return null==(e=c.current)||e.focus(),()=>{var e;null==n||null==(e=n.current)||e.focus()}},[n]);let p=(0,a.useCallback)(e=>{if("Tab"!==e.key)return;let t=o.current;if(!t)return;let l=Array.from(t.querySelectorAll('a[href], button, [tabindex]:not([tabindex="-1"])')).filter(e=>!e.closest("[hidden]")&&null!==e.offsetParent);if(0===l.length)return;let s=l[0],a=l[l.length-1];e.shiftKey?document.activeElement===s&&(e.preventDefault(),a.focus()):document.activeElement===a&&(e.preventDefault(),s.focus())},[]);return(0,s.jsx)(d.N,{children:(0,s.jsxs)(u.P.div,{ref:o,className:"fixed inset-0 bg-white z-50",variants:f,initial:"hidden",animate:"visible",exit:"exit",transition:{duration:.3},role:"dialog","aria-modal":"true","aria-labelledby":"booking-popup-title",onKeyDown:p,children:[(0,s.jsxs)("div",{className:"flex flex-row justify-between items-center w-full px-[40px] py-8",children:[(0,s.jsx)("div",{children:(0,s.jsx)(i(),{href:"/",children:(0,s.jsx)(r.default,{src:"/logo-scrolled.png",alt:"Luma logo",width:120,height:40,className:"object-contain"})})}),(0,s.jsx)("div",{children:(0,s.jsx)("button",{ref:c,onClick:t,"aria-label":"Close booking overlay",className:"text-black font-bold text-[60px]",children:"\xd7"})})]}),(0,s.jsxs)("div",{className:"p-6 relative flex flex-col items-center w-full mx-auto overflow-y-scroll",children:[(0,s.jsx)("h2",{id:"booking-popup-title",className:"h7 md:h6 mb-8 font-extrabold uppercase text-black text-stroke-1",children:"Book Your Stay"}),(0,s.jsxs)("div",{className:"flex flex-col md:flex-row gap-10 justify-start items-center",children:[(0,s.jsxs)("button",{onClick:()=>h("/san-francisco".concat(l)),className:"w-[300px] flex flex-col items-center justify-start m-0 clip-top-right-[40px] overflow-hidden",children:[(0,s.jsx)(r.default,{src:"/images/sf.jpg",width:300,height:300,alt:"sf logo",className:"h-[200px] md:h-[300px] w-full object-cover"}),(0,s.jsx)("span",{className:"bg-tertiary text-black w-full p-5 h7",children:"San Francisco"})]}),(0,s.jsxs)("button",{onClick:()=>h("/times-square".concat(l)),className:"w-[300px] flex flex-col items-center justify-start m-0 clip-top-right-[40px] overflow-hidden",children:[(0,s.jsx)(r.default,{src:"/images/ny.jpg",width:300,height:300,alt:"ny logo",className:"h-[200px] md:h-[300px] w-full object-cover"}),(0,s.jsx)("span",{className:"bg-secondary text-white w-full p-5 h7",children:"Times Square"})]})]})]}),(0,s.jsxs)("div",{className:" absolute bottom-0 w-full h-[100px] bg-primary text-black text-[18px] leading-[24px] font-extrabold hidden md:flex flex-row gap-10 justify-center items-center",children:[(0,s.jsxs)("div",{className:"w-full max-w-[300px] text-center py-5",children:[(0,s.jsx)("p",{children:(0,s.jsx)("a",{href:"tel:1-415-429-8818",children:"1-415-429-8818"})}),(0,s.jsx)("p",{children:(0,s.jsx)("a",{href:"mailto:[email protected]",children:"[email protected]"})})]}),(0,s.jsxs)("div",{className:"w-full max-w-[300px] text-center py-5",children:[(0,s.jsx)("p",{children:(0,s.jsx)("a",{href:"tel:1-212-730-0099",children:"1-212-730-0099"})}),(0,s.jsx)("p",{children:(0,s.jsx)("a",{href:"mailto:[email protected]",children:"[email protected]"})})]})]})]})})};function b(e){let{isOpen:t,onClose:l,items:n,topNav:d=[]}=e,u=(0,c.usePathname)(),[h,p]=(0,a.useState)([]),[m,f]=(0,a.useState)(!1),[b,v]=(0,a.useState)("");(0,a.useEffect)(()=>{v((0,o.x)().bookingUrl)},[]),(0,a.useEffect)(()=>{u.includes("times-square")||u.includes("san-francisco")||p(n.map(e=>e.slug))},[u,n]);let[w,j]=(0,a.useState)("");(0,c.useRouter)();let y=(0,a.useRef)(null),k=e=>{p(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e])};if(!t)return null;let C=()=>f(!0),N=()=>f(!1);return(0,s.jsxs)("div",{className:"fixed inset-0 z-50 bg-white",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between w-full px-5 md:px-10 py-7 z-10",children:[u.includes("times-square")?(0,s.jsx)(i(),{href:"/times-square",children:(0,s.jsx)(r.default,{src:"/ny-color-logo.png",alt:"".concat(o.C.name," logo"),width:120,height:40,className:"object-contain"})}):u.includes("san-francisco")?(0,s.jsx)(i(),{href:"/san-francisco",children:(0,s.jsx)(r.default,{src:"/sf-color-logo.png",alt:"".concat(o.C.name," logo"),width:120,height:40,className:"object-contain"})}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i(),{href:"/",className:"hidden md:block",children:(0,s.jsx)(r.default,{src:"/logo-scrolled.png",alt:"".concat(o.C.name," logo"),width:120,height:40,className:"object-contain"})}),(0,s.jsx)(i(),{href:"/",className:"block md:hidden",children:(0,s.jsx)(r.default,{src:"/logo-scrolled.png",alt:"".concat(o.C.name," mobile logo"),width:103,height:40,className:"object-contain"})})]}),(0,s.jsxs)("div",{className:"flex flex-row gap-5",children:[(0,s.jsx)("button",{onClick:l,className:"text-black hover:text-gray-900",children:(0,s.jsx)("svg",{className:"w-8 h-8",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})}),(0,s.jsxs)("div",{className:"hidden",children:[u.includes("times-square")?(0,s.jsx)("a",{href:b,onClick:e=>{e.preventDefault(),window.location.href=b},className:"btn-purple-black",children:"Book Now"}):u.includes("san-francisco")?(0,s.jsx)("a",{href:b,onClick:e=>{e.preventDefault(),window.location.href=b},className:"btn-teal-black",children:"Book Now"}):(0,s.jsx)("button",{onClick:C,className:"btn-yellow",children:"Book Now"}),m&&(0,s.jsx)(g,{bookingURL:b,onClose:N,triggerRef:y})]})]})]}),(0,s.jsxs)("div",{className:"px-[1.25rem] overflow-y-scroll h-screen flex flex-col pb-[150px]",children:[(0,s.jsx)("nav",{className:"py-12 space-y-4",children:(0,s.jsx)("ul",{className:"space-y-4",children:n.filter(e=>"/"!==(0,x.G)(e.slug)||"Home Page"!==e.name).map(e=>{let t=(0,x.G)(e.slug);return(0,s.jsx)("li",{children:e.children.length>0?(0,s.jsxs)("div",{children:[u.includes("times-square")||u.includes("san-francisco")?(0,s.jsxs)("span",{className:"\n                            flex items-center justify-between w-full text-[24px] \n                            leading-[24px] tracking-[0.75px] font-extrabold uppercase \n                            text-stroke-05  \n                          ",children:[(0,s.jsx)(i(),{href:t,children:(0,s.jsx)("span",{children:e.name})}),(0,s.jsx)("button",{onClick:()=>
1k(e.slug),children:(0,s.jsx)("svg",{className:"w-[11px] h-[18px] transition-transform ".concat(h.includes(e.slug)?"-rotate-90":""),width:"11",height:"18",viewBox:"0 0 11 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M1 17L9 9L0.999999 1",stroke:"#151715","stroke-width":"2"})})})]}):(0,s.jsxs)("button",{onClick:()=>k(e.slug),className:"flex items-center justify-between w-full text-[24px] leading-[24px] tracking-[0.75px] font-extrabold uppercase text-stroke-05 ",children:[(0,s.jsx)("span",{children:e.name}),(0,s.jsx)("svg",{className:"w-[11px] h-[18px] transition-transform ".concat(h.includes(e.slug)?"-rotate-90":""),width:"11",height:"18",viewBox:"0 0 11 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M1 17L9 9L0.999999 1",stroke:"#151715","stroke-width":"2"})})]}),h.includes(e.slug)&&(0,s.jsx)("ul",{className:"pl-2 my-7 px-2 space-y-5",children:e.children.map(e=>{let t=(0,x.G)(e.slug),a=e.slug&&(e.slug.startsWith("http://")||e.slug.startsWith("https://")||e.slug.startsWith("//"));return(0,s.jsx)("li",{children:a?(0,s.jsx)("a",{href:t,target:"_blank",rel:"noopener noreferrer",onClick:l,className:"text-stroke-03 text-[0.9375rem] leading-[0.9375rem] tracking-[0.04688rem] uppercase font-extrabold flex flex-col items-start",children:e.name}):(0,s.jsx)(i(),{href:t,onClick:l,className:"text-stroke-03 text-[0.9375rem] leading-[0.9375rem] tracking-[0.04688rem] uppercase font-extrabold flex flex-col items-start",children:e.name})},e.slug)})})]}):(()=>{let t=(0,x.G)(e.slug);return e.slug&&(e.slug.startsWith("http://")||e.slug.startsWith("https://")||e.slug.startsWith("//"))?(0,s.jsx)("a",{href:t,target:"_blank",rel:"noopener noreferrer",onClick:l,className:"text-[24px] leading-[24px] tracking-[0.75px] font-extrabold uppercase text-stroke-05 flex flex-col items-start ",children:e.name}):(0,s.jsx)(i(),{href:t,onClick:l,className:"text-[24px] leading-[24px] tracking-[0.75px] font-extrabold uppercase text-stroke-05 flex flex-col items-start ",children:e.name})})()},e.slug)})})}),(0,s.jsx)("div",{className:"border-t border-black/10 py-12 space-y-4 text-[15px] text-black",children:d.map(e=>{let t=(0,x.G)(e.slug);return e.slug&&(e.slug.startsWith("http://")||e.slug.startsWith("https://")||e.slug.startsWith("//"))?(0,s.jsx)("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:"block text-[0.9375rem] leading-[0.9375rem] tracking-[0.04688rem] uppercase font-extrabold text-stroke-03",children:e.name}):(0,s.jsx)(i(),{href:t,className:"block text-[0.9375rem] leading-[0.9375rem] tracking-[0.04688rem] uppercase font-extrabold text-stroke-03",children:e.name})})}),(0,s.jsx)("div",{className:"flex justify-end",children:u.includes("times-square")?(0,s.jsx)("a",{href:b,onClick:e=>{e.preventDefault(),window.location.href=b},className:"btn-purple-black",children:"Book Now"}):u.includes("san-francisco")?(0,s.jsx)("a",{href:b,onClick:e=>{e.preventDefault(),window.location.href=b},className:"btn-teal-black",children:"Book Now"}):(0,s.jsx)("button",{ref:y,onClick:C,className:"btn-yellow",children:"Book Now"})}),m&&(0,s.jsx)(g,{bookingURL:b,onClose:N,triggerRef:y})]})]})}var v=l(11793),w=l(86457);function j(e){let{location:t,className:l="",navigationData:r}=e,[n,o]=(0,a.useState)(null),[d,u]=(0,a.useState)([]),h=(0,c.usePathname)(),p=(0,a.useRef)(null),m=(0,a.useRef)(new Map),x=(0,a.useRef)(new Map);(0,a.useEffect)(()=>{r&&r.length>0?(0,w.lr)(r).then(e=>{u(e)}).catch(e=>{console.error("Failed to filter navigation items:",e),u(r)}):u([])},[r]);let f=(0,a.useMemo)(()=>{if(!d||0===d.length)return{};let e=h.split("/")[1],t=["es","fr","de","zh-hans","zh-hant","pt-br"].includes(e),l=l=>{let s=l||"";return s.startsWith("http://")||s.startsWith("https://")||s.startsWith("//")||(s.startsWith("/")||(s="/"+s),t&&!s.startsWith("/".concat(e,"/"))&&(s="/".concat(e).concat(s))),s};return d.reduce((e,t)=>(e[t.slug]=l(t.slug),t.children&&t.children.forEach(t=>{e[t.slug]=l(t.slug)}),e),{})},[d,h]),[g,b]=(0,a.useState)(null),v=e=>"/"===e?h===e:h.startsWith(e),j=()=>{if(h.includes("times-square"));else if(h.includes("san-francisco"))return"border-b-sf_theme_color";return"border-b-ny_theme_color"},y=e=>{g&&(clearTimeout(g),b(null)),o(null),e&&requestAnimationFrame(()=>{var t;
1null==(t=m.current.get(e))||t.focus()})},k=()=>{g&&(clearTimeout(g),b(null))},C=()=>{b(setTimeout(()=>{var e;(null==(e=p.current)?void 0:e.contains(document.activeElement))||o(null)},1e3))};return(0,a.useEffect)(()=>{let e=e=>{p.current&&!p.current.contains(e.target)&&o(null)};return n&&document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[n]),(0,a.useEffect)(()=>()=>{g&&clearTimeout(g)},[g]),(0,s.jsx)("nav",{ref:p,className:l,"aria-label":"Main Navigation",children:(0,s.jsx)("ul",{className:"flex space-x-8",children:d.map(e=>(0,s.jsx)("li",{className:"group",onMouseEnter:()=>{var t,l;return t=e.slug,l=e.children.length>0,void(g&&(clearTimeout(g),b(null)),l?o(t):o(null))},onBlur:e.children.length>0?t=>((e,t)=>{let l=e.relatedTarget,s=e.currentTarget;l&&s.contains(l)||setTimeout(()=>{s.contains(document.activeElement)||n!==t||y()},0)})(t,e.slug):void 0,children:e.children.length>0?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{className:"\n                    flex items-center space-x-1 py-2 text-[15px] leading-[15px] \n                    tracking-[0.75px] font-bold uppercase text-stroke-02 cursor-pointer relative\n                    ".concat("header"===t?v(e.slug)?"text-ny_theme_color":"text-white hover:text-white":v(e.slug)?"text-ny_theme_color":"text-gray-600 hover:text-ny_theme_color"),children:e.slug&&(e.slug.startsWith("http://")||e.slug.startsWith("https://")||e.slug.startsWith("//"))?(0,s.jsxs)("a",{href:f[e.slug],target:"_blank",rel:"noopener noreferrer",className:"flex flex-col items-center",children:[(0,s.jsx)("span",{children:e.name}),(0,s.jsx)("div",{className:"w-0 h-0 border-l-[5px] border-r-[5px] border-b-[7px] border-l-transparent border-r-transparent ".concat(j()," mt-1 opacity-0 group-hover:opacity-100 transition-opacity duration-300 absolute bottom-0")})]}):(0,s.jsxs)(i(),{href:f[e.slug],className:"flex flex-col items-center",children:[(0,s.jsx)("span",{children:e.name}),(0,s.jsx)("div",{className:"w-0 h-0 border-l-[5px] border-r-[5px] border-b-[7px] border-l-transparent border-r-transparent ".concat(j()," mt-1 opacity-0 group-hover:opacity-100 transition-opacity duration-300 absolute bottom-0")})]})}),(0,s.jsx)("button",{type:"button",ref:t=>{t&&m.current.set(e.slug,t)},"aria-expanded":n===e.slug,"aria-controls":"prop-submenu-".concat(e.slug),"aria-label":"Show ".concat(e.name," submenu"),onClick:()=>o(n===e.slug?null:e.slug),onKeyDown:t=>((e,t)=>{switch(e.key){case"Enter":case" ":e.preventDefault(),n===t?y(t):(o(t),requestAnimationFrame(()=>{let e=x.current.get(t);if(e){let t=e.querySelector("a");null==t||t.focus()}}));break;case"Escape":n===t&&(e.preventDefault(),y(t));break;case"ArrowDown":if(n===t){e.preventDefault();let l=x.current.get(t);if(l){let e=l.querySelector("a");null==e||e.focus()}}}})(t,e.slug),className:"sr-only focus:not-sr-only focus:relative focus:inline-flex focus:items-center focus:justify-center focus:w-5 focus:h-5 focus:text-white focus:outline-2 focus:outline-offset-1 focus:outline-current focus:rounded-sm",children:(0,s.jsx)("svg",{className:"w-3 h-3",fill:"none",stroke:"currentColor",strokeWidth:2,viewBox:"0 0 24 24","aria-hidden":"true",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 9l-7 7-7-7"})})}),n===e.slug&&(0,s.jsx)("div",{ref:t=>{t&&x.current.set(e.slug,t)},id:"prop-submenu-".concat(e.slug),role:"group","aria-label":"".concat(e.name," submenu"),className:"absolute left-0 mt-4 w-full bg-white text-black backdrop-blur-md shadow-lg p-10 z-[60] flex flex-row justify-between",onMouseEnter:k,onMouseLeave:C,onKeyDown:t=>{var l;return l=e.slug,void("Escape"===t.key&&(t.preventDefault(),t.stopPropagation(),y(l)))},children:(0,s.jsx)("div",{className:"flex flex-row gap-6 w-full ",children:e.children.map(e=>{var t,l;let a=e.slug&&(e.slug.startsWith("http://")||e.slug.startsWith("https://")||e.slug.startsWith("//")),r="block text-base uppercase w-1/2 text-black hover:bg-white hover:text-black transition-colors text-stroke-02 group even:group-even ".concat(v(e.slug)?"bg-white/20":"");return a?(0,s.jsxs)("a",{href:f[e.slug],target:"_blank",rel:"noopener noreferrer",className:r,children:[(0,s.jsx)("img",{alt:"",className:"h-[16.25rem] w-full object-cover mb-4 clip-top-right-[24px] group-even:clip-bottom-left-[24px]",src:null==(t=e.thumbnail)?void 0:t.url}),(0,s.jsx)("p",{className:"text-black text-base uppercase text-stroke-03",children:e.name})]},e.slug):(0,s.jsxs)(i(),{href:f[e.slug],className:r,children:[(0,s.jsx)("img",{alt:"",className:"h-[16.25rem] w-full object-cover mb-4 clip-top-right-[24px] group-even:clip-bottom-left-[24px]",src:null==(l=e.thumbnail)?void 0:l.url}),(0,s.jsx)("p",{className:"text-black text-base uppercase text-stroke-03",children:e.name})]},e.slug)})})})]}):e.slug&&(e.slug.startsWith("http://")||e.slug.startsWith("https://")||e.slug.startsWith("//"))?(0,s.jsxs)("a",{href:f[e.slug],target:"_blank",rel:"noopener noreferrer",className:"py-2 text-[15px] leading-[15px] tracking-[0.75px] font-bold uppercase text-stroke-02 flex flex-col items-center relative ".concat("header"===t?v(f[e.slug])?"text-white":"text-white hover:text-white/80":v(f[e.slug])?"text-white":"text-black hover:text-ny_theme_color"),children:[e.name,(0,s.jsx)("div",{className:"w-0 h-0 border-l-[5px] border-r-[5px] border-b-[7px] border-l-transparent border-r-transparent ".concat(j()," mt-1 opacity-0 group-hover:opacity-100 transition-opacity duration-300 absolute bottom-0")})]}):(0,s.jsxs)(i(),{href:f[e.slug],className:"py-2 text-[15px] leading-[15px] tracking-[0.75px] font-bold uppercase text-stroke-02 flex flex-col items-center relative ".concat("header"===t?v(f[e.slug])?"text-white":"text-white hover:text-white/80":v(f[e.slug])?"text-white":"text-black hover:text-ny_theme_color"),children:[e.name,(0,s.jsx)("div",{className:"w-0 h-0 border-l-[5px] border-r-[5px] border-b-[7px] border-l-transparent border-r-transparent ".concat(j()," mt-1 opacity-0 group-hover:opacity-100 transition-opacity duration-300 absolute bottom-0")})]})},e.slug))})})}function y(e){let{isOpen:t,onClose:l,navItems:n,footerNav:h}=e,[p,m]=(0,a.useState)(null),[f,g]=(0,a.useState)(""),b=(0,c.useRouter)(),v=(0,x.G)("/"),w=(0,x.G)("/contact-us"),j=n.slice(1).map(e=>{var t;return{...e,href:e.slug?(0,x.G)(e.slug):"#",children:null==(t=e.children)?void 0:t.map(e=>({...e,href:(0,x.G)(e.slug)}))}}),y=h.map(e=>({...e,href:(0,x.G)(e.slug)}));return(0,a.useEffect)(()=>(document.body.style.overflow=t?"hidden":"",()=>{document.body.style.overflow=""}),[t]),(0,s.jsx)(d.N,{children:t&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(u.P.div,{className:"fixed inset-0 z-[999] bg-black/40",initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},onClick:l}),(0,s.jsxs)(u.P.aside,{initial:{x:"-100%"},animate:{x:0},exit:{x:"-100%"},transition:{duration:.4},className:"fixed inset-y-0 left-0 w-[320px] sm:w-[400px] bg-black text-white z-[1000] shadow-lg flex flex-col",children:[(0,s.jsxs)("div",{className:"relative flex justify-center items-center p-8 border-b border-white/10",children:[(0,s.jsx)(i(),{href:v,className:"",children:(0,s.jsx)(r.default,{src:"/logo.png",alt:"".concat(o.C.name," logo"),width:136,height:48,className:"object-contain"})}),(0,s.jsx)("button",{onClick:l,"aria-label":"Close",className:"absolute right-[32px] top-[32px] text-white hover:opacity-70",children:(0,s.jsx)("svg",{className:"w-10 h-10",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),(0,s.jsxs)("div",{className:"p-6 flex items-center border-b border-white/10",children:[(0,s.jsx)("svg",{className:"w-4 h-4 mr-2",fill:"none",stroke:"currentColor",strokeWidth:2,viewBox:"0 0 24 24",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 21l-4.35-4.35M10 18a8 8 0 100-16 8 8 0 000 16z"})}),(0,s.jsxs)("div",{className:"search-input w-full flex",children:[(0,s.jsx)("input",{type:"text",name:"search",value:f,onChange:e=>g(e.target.value),onKeyDown:e=>{"Enter"===e.key&&f.trim()&&(b.push("/search?q=".concat(encodeURIComponent(f.trim()))),l())},placeholder:"Search",className:"border-0 w-full focus:outline-none focus:border-b-1 text-[15px] tracking-[0.75px] placeholder:uppercase placeholder:text-stroke-02 placeholder:font-extrabold text-white placeholder-white bg-transparent"}),f.trim()&&(0,s.jsx)("button",{onClick:()=>{f.trim()&&(b.push("/search?q=".concat(encodeURIComponent(f.trim()))),l())},className:"ml-2 text-white hover:text-gray-300 transition-colors","aria-label":"Search",children:(0,s.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",strokeWidth:2,viewBox:"0 0 24 24",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13 7l5 5-5 5M6 12h12"})})})]})]}),(0,s.jsxs)("div",{className:"flex-1 px-8 overflow-auto scrollbar-hide ",children:[(0,s.jsx)("nav",{className:"overflow-y-auto py-12 space-y-4",children:j.map(e=>(0,s.jsx)("div",{children:e.children?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("button",{onClick:()=>{var t;m(p===(t=e.name)?null:t)},className:"flex justify-between items-center w-full uppercase font-black text-[1.5rem] leading-[1.5rem] text-stroke-03 hover:text-gray-300","aria-expanded":p===e.name,"aria-controls":"submenu-".concat(e.name),children:[e.name,p===e.name?(0,s.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",strokeWidth:2,viewBox:"0 0 24 24",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 12h14"})}):(0,s.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",strokeWidth:2,viewBox:"0 0 24 24",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 5v14m-7-7h14"})})]}),(0,s.jsx)("ul",{id:"submenu-".concat(e.name),className:"my-7 px-2 space-y-5 text-sm font-normal",children:p===e.name&&e.children.map(e=>(0,s.jsx)("li",{children:(0,s.jsx)(i(),{href:e.href,className:"text-white hover:text-gray-300 block uppercase font-extrabold text-[0.9375rem] leading-[0.9375rem] tracking-[0.04688rem] text-stroke-03",onClick:l,children:e.name})},e.slug))})]}):(0,s.jsx)(i(),{href:e.href,onClick:l,className:"uppercase font-black text-[1.5rem] leading-[1.5rem] text-stroke-03 hover:text-gray-300 block",children:e.name})},e.name))}),(0,s.jsx)("div",{className:"border-t border-white/10 py-12 space-y-5 text-xs",children:y.map(e=>(0,s.jsx)("a",{href:e.href,className:"block text-[0.9375rem] leading-[0.9375rem] tracking-[0.04688rem] uppercase font-extrabold hover:text-gray-300",children:e.name},e.name))})]}),(0,s.jsx)("div",{className:"p-8",children:(0,s.jsx)(i(),{href:w,className:"!w-full btn-white-purple hover:bg-[#F7A30A] hover:text-black transition-colors",children:"Contact Us"})})]})]})})}var k=l(31166);function C(e){let{isOpen:t,onClose:l}=e,[r,n]=(0,a.useState)({lastName:"",confirmationNumber:"",arrivalDate:"",hotel:"Luma Hotel San Francisco"});return t?(0,s.jsx)("div",{className:"fixed inset-0 z-[1000] flex items-center justify-center bg-black bg-opacity-50 px-4",children:(0,s.jsxs)("div",{className:"bg-white w-full max-w-sm p-10 relative shadow-lg",children:[(0,s.jsx)("button",{onClick:l,className:"absolute top-3 right-3 text-black hover:opacity-70","aria-label":"Close modal",children:(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"w-6 h-6",fill:"none",stroke:"currentColor",strokeWidth:"2",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})})}),(0,s.jsx)("h2",{className:"text-m3xl font-extrabold uppercase text-stroke-05 text-black mb-1",children:"My Bookings"}),(0,s.jsx)("p",{className:"text-sm text-gray-600 mb-6",children:"Enter your details to manage your reservation"}),(0,s.jsxs)("form",{className:"space-y-6",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"block text-xs font-bold uppercase mb-1",children:"Last Name"}),(0,s.jsx)("input",{type:"text",value:r.lastName,onChange:e=>n({...r,lastName:e.target.value}),className:"w-full border border-gray-300 rounded-sm px-3 py-2 text-sm"})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"block text-xs font-bold uppercase mb-1",children:"Confirmation Number"}),(0,s.jsx)("input",{type:"text",value:r.confirmationNumber,onChange:e=>n({...r,confirmationNumber:e.target.value}),className:"w-full border border-gray-300 rounded-sm px-3 py-2 text-sm"})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"block text-xs font-bold uppercase mb-1",children:"Arrival Date"}),(0,s.jsx)("input",{type:"date",value:r.arrivalDate,onChange:e=>n({...r,arrivalDate:e.target.value}),className:"w-full border border-gray-300 rounded-sm px-3 py-2 text-sm"})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"block text-xs font-bold uppercase mb-1",children:"Select Hotel"}),(0,s.jsx)("select",{value:r.hotel,onChange:e=>n({...r,hotel:e.target.value}),className:"w-full border border-gray-300 rounded-sm px-3 py-2 text-sm",children:["Luma Hotel San Francisco","Luma Hotel NYC"].map(e=>(0,s.jsx)("option",{value:e,children:e},e))})]}),(0,s.jsx)(k.$,{type:"submit",variant:"tertiary",className:"w-full",children:"Continue"})]})]})}):null}function N(e){let{links:t,languages:l,currentLanguage:r,onLanguageChange:n,onMenuToggle:i,propertyId:o,languageData:d}=e,u=(0,c.usePathname)(),[h,p]=(0,a.useState)(!1),[m,f]=(0,a.useState)([]),[g,b]=(0,a.useState)(!0),[v,w]=(0,a.useState)(!1),j=t&&t.length>0?t:u.includes("times-square")?[{name:"OFFERS",slug:"/times-square/offers"},{name:"CONTACT",slug:"/times-square/contact"}]:u.includes("san-francisco")?[{name:"OFFERS",slug:"/san-francisco/offers"},{name:"CONTACT",slug:"/san-francisco/contact"}]:[];return(0,a.useEffect)(()=>{f((e=>{let t=[];if(u.includes("san-francisco"))t=["en","es","zh-hans","zh-hant"];else{if(!u.includes("times-square"))return e;t=["en","zh-hans","zh-hant","fr","de","pt-br"]}return e.filter(e=>t.includes(e.slug))})(d&&d.length>0?d:[{id:1,slug:"en",name:"English"},{id:2,slug:"es",name:"Espa\xf1ol"},{id:3,slug:"zh-hans",name:"简体中文"},{id:4,slug:"zh-hant",name:"繁體中文"},{id:5,slug:"fr",name:"Fran\xe7ais"},{id:6,slug:"de",name:"Deutsch"},{id:7,slug:"pt-br",name:"Portugu\xeas"}])),b(!1)},[d,u]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"w-full bg-black text-white text-[13px] tracking-wide font-semibold md:block px-[20px] md:px-[40px] h-[40p
1x]",children:(0,s.jsxs)("div",{className:"flex justify-between items-center w-full h-full",children:[(0,s.jsx)("div",{className:"min-w-[160px]",children:u.includes("times-square")||u.includes("san-francisco")?(0,s.jsxs)("button",{onClick:i,className:"flex items-center gap-2 uppercase hover:opacity-80 transition",children:[(0,s.jsx)("span",{className:"text-sm",children:"+"}),"Luma Collection"]}):""}),(0,s.jsxs)("div",{className:"hidden md:flex items-center gap-4",children:[j.map((e,t)=>{let l=e.href||e.slug||e.url,a=e.label||e.name||e.title;if(!l||!a)return null;let r=(0,x.G)(l),n=t===j.length-1,i=u.includes("times-square")||u.includes("san-francisco");return(0,s.jsxs)("div",{className:"flex items-center gap-4",children:[(0,s.jsx)("a",{href:r,className:"font-extrabold uppercase text-stroke-02 text-sm leading-[0.813rem] tracking-[0.065rem]",children:a}),(!n||i)&&(0,s.jsx)("span",{className:"text-white/40",children:"|"})]},"".concat(l,"-").concat(t))}),(u.includes("times-square")||u.includes("san-francisco"))&&(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsxs)("button",{onClick:()=>p(!h),className:"flex items-center gap-1 font-extrabold uppercase text-stroke-02 text-sm leading-[0.813rem] tracking-[0.065rem] hover:text-white",children:[r,(0,s.jsx)("svg",{className:"w-3 h-3",fill:"none",stroke:"currentColor",strokeWidth:"2",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 9l-7 7-7-7"})})]}),h&&(0,s.jsx)("ul",{className:"absolute right-0 mt-2 w-28 bg-white text-black rounded shadow-lg z-50 text-sm",children:g?(0,s.jsx)("li",{className:"px-4 py-2 text-gray-500 ",children:"Loading..."}):m.length>0?m.map(e=>(0,s.jsx)("li",{children:(0,s.jsx)("button",{onClick:()=>{p(!1),null==n||n(e.slug)},className:"w-full text-left px-4 py-2 hover:bg-gray-100 font-extrabold uppercase text-stroke-02 text-[0.813rem] leading-[0.813rem] tracking-[0.065rem]",children:e.slug.toUpperCase()})},e.id)):l.map(e=>(0,s.jsx)("li",{children:(0,s.jsx)("button",{onClick:()=>{p(!1),null==n||n(e)},className:"w-full text-left px-4 py-2 hover:bg-gray-100 font-extrabold uppercase text-stroke-02 text-sm leading-[0.813rem] tracking-[0.065rem]",children:e})},e))})]})]})]})}),(0,s.jsx)(C,{isOpen:v,onClose:()=>w(!1)})]})}function L(e){let{message:t,linkText:l,linkHref:r,property:n="default"}=e,[i,o]=(0,a.useState)(!0),[c,d]=(0,a.useState)(!1);if(!i)return null;let u=()=>{switch(n){case"san-francisco":default:return"text-black";case"times-square":return"text-white"}};return(0,s.jsxs)("div",{className:"\n        ".concat((()=>{switch(n){case"san-francisco":return"bg-tertiary";case"times-square":return"bg-secondary";default:return"bg-primary"}})()," \n        relative \n        py-[10px] px-[48px] \n        md:py-[14px] md:px-[40px]\n        text-center\n        transition-all duration-300 ease-out\n        ").concat(c?"-translate-y-full opacity-0":"translate-y-0 opacity-100","\n      "),children:[(0,s.jsxs)("p",{className:"".concat(u()," text-[16px] leading-[20px] md:text-[17px] md:leading-[26px] font-bold"),children:[t,l&&r&&(0,s.jsxs)(s.Fragment,{children:[" ",(0,s.jsx)("a",{href:r,className:"underline hover:opacity-80 transition-opacity",children:l})]})]}),(0,s.jsx)("button",{onClick:()=>{d(!0),setTimeout(()=>{o(!1)},300)},className:"absolute right-4 md:right-6 top-1/2 -translate-y-1/2 p-1 hover:opacity-70 transition-opacity ".concat(u()),"aria-label":"Close banner",children:(0,s.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M1 1L13 13M13 1L1 13",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]})}var E=l(48668);function M(e){var t,l,n,d,u,h,p,x,f,w,k,C,M;let{navigationData:S,languageData:T}=e,[q,W]=(0,a.useState)(!1),[_,D]=(0,a.useState)(!1),[B,z]=(0,a.useState)(!1),A=(0,c.usePathname)(),F=(0,c.useRouter)(),[R,P]=(0,a.useState)(!1),[H,O]=(0,a.useState)([]),[Z,I]=(0,a.useState)("en"),{pageData:G}=(0,E.B)(),V=(null==G||null==(t=G.acm)?void 0:t.layout)||null,U=null==V?void 0:V.find(e=>"promobanner"===e.section_slug),Y=U&&(null==(n=U.settings)||null==(l=n.publishing)?void 0:l.status)?{message:(null==(h=U.elements)||null==(u=h.find(e=>"text"===e.slug))||null==(d=u.data)?void 0:d.content)||"",linkText:(null==(f=U.elements)||null==(x=f.find(e=>"link"===e.slug))||null==(p=x.data)?void 0:p.name)||"",linkHref:(null==(C=U.elements)||null==(k=C.find(e=>"link"===e.slug))||null==(w=k.data)?void 0:w.link)||""}:null;(0,a.useEffect)(()=>
1{if(T&&T.length>0){let e=T.map(e=>e.slug);O(e),I((0,v.vM)(A,e))}else O(["en"]),I("en")},[A,T]);let K=e=>{if(!e)return[];let t=(()=>{if(!T)return 1;let e=T.find(e=>e.slug===Z);return(null==e?void 0:e.id)||1})();return e[t]&&e[t].length>0?e[t]:e[1]||[]},$=e=>"en"===Z?e:"/".concat(Z).concat(e),J=e=>{let t=(0,v.EA)(A,e,H);F.push(t)};(0,a.useEffect)(()=>{window.location.pathname.replace(/^\/+/,"");let e=()=>{D(window.scrollY>10)};return D(window.scrollY>10),window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[]);let Q=(0,a.useRef)(null),[X,ee]=(0,a.useState)(!1);function et(){return _||X}(0,a.useEffect)(()=>{if(!Q.current)return;let e=()=>{ee(Q.current.querySelectorAll(".corp-nav-active").length>0)},t=new MutationObserver(t=>{for(let l of t)if("attributes"===l.type&&"class"===l.attributeName){e();break}});return t.observe(Q.current,{attributes:!0,attributeFilter:["class"],subtree:!0}),()=>{t.disconnect()}},[]);let[el,es]=(0,a.useState)("");(0,a.useEffect)(()=>{let e=new Date,t=new Date(e);t.setDate(e.getDate()+1);let l=e=>e.toLocaleDateString("en-US",{month:"2-digit",day:"2-digit",year:"numeric"}).replaceAll("/","%2F"),s=l(e),a=l(t),r="#/booking/step-1?arrive=".concat(s,"&depart=").concat(a);A.includes("san-francisco")?r="/san-francisco/".concat(r):A.includes("times-square")&&(r="/times-square/".concat(r)),es(r)},[A]);let ea=(0,a.useRef)(null),[er,en]=(0,a.useState)(!1);(0,a.useEffect)(()=>{en(!!document.querySelector(".hero-image"))},[]),(0,c.usePathname)();let ei=et()||A.startsWith("/search");return(0,s.jsxs)("header",{ref:Q,className:"\n       w-full fixed top-0 left-0 right-0 z-50 transition-all duration-300\n        after:content-[''] after:absolute after:inset-0\n        after:bg-gradient-to-b after:from-black after:z-[-1]\n        \n        ".concat(et()||A.startsWith("/search")?"bg-white scrolling after:opacity-0":"bg-transparent after:opacity-60 ","\n       ").concat(ei&&(!er||_)?"border-b border-[#b7b7b7]":"border-b-0","\n      \n      "),children:[(0,s.jsxs)("div",{className:"relative z-[50] mx-auto",children:[A.includes("times-square")?(0,s.jsx)(N,{links:K(null==S?void 0:S.nyTopNavigation),languages:H,currentLanguage:Z.toUpperCase(),onLanguageChange:J,onMenuToggle:()=>P(!R),propertyId:"",languageData:T}):A.includes("san-francisco")?(0,s.jsx)(N,{links:K(null==S?void 0:S.sfTopNavigation),languages:H,currentLanguage:Z.toUpperCase(),onLanguageChange:J,onMenuToggle:()=>P(!R),propertyId:"",languageData:T}):(0,s.jsx)(N,{links:K(null==S?void 0:S.defaultTopNavigation),languages:H,currentLanguage:Z.toUpperCase(),onLanguageChange:J,onMenuToggle:()=>P(e=>!e),propertyId:"",languageData:T}),Y&&Y.message&&(0,s.jsx)(L,{message:Y.message,linkText:Y.linkText,linkHref:Y.linkHref,property:A.includes("san-francisco")?"san-francisco":A.includes("times-square")?"times-square":"default"}),(0,s.jsxs)("div",{className:"flex items-center justify-between w-full max-w-[100vw] px-5 md:px-10 py-[.938rem] text-error-dark md:min-h-[96px]",children:[A.includes("times-square")?(0,s.jsx)(i(),{href:$("/times-square"),children:(0,s.jsx)(r.default,{src:et()||B?"/ny-color-logo.png":"/ny-white-logo.png",alt:"".concat(o.C.name," logo"),width:120,height:40,className:"object-contain"})}):A.includes("san-francisco")?(0,s.jsx)(i(),{href:$("/san-francisco"),children:(0,s.jsx)(r.default,{src:et()||B?"/sf-color-logo.png":"/sf-white-logo.png",alt:"".concat(o.C.name," logo"),width:120,height:40,className:"object-contain"})}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i(),{href:$("/"),className:"hidden md:block",children:(0,s.jsx)(r.default,{src:et()||B?"/logo-scrolled.png":"/logo.png",alt:"".concat(o.C.name," logo"),width:120,height:40,className:"object-contain"})}),(0,s.jsx)(i(),{href:$("/"),className:"block md:hidden",children:(0,s.jsx)(r.default,{src:et()||B?"/logo-scrolled.png":"/logo.png",alt:"".concat(o.C.name," mobile logo"),width:103,height:40,className:"object-contain"})})]}),(0,s.jsxs)("div",{className:"main-nav flex items-center justify-between gap-5 md:gap-10",children:[(0,s.jsx)("div",{className:"hidden lg:block",children:A.includes("times-square")?(0,s.jsx)(j,{location:"header",navigationData:K(null==S?void 0:S.ny)}):A.includes("san-francisco")?(0,s.jsx)(j,{location:"header",navigationData:K(null==S?void 0:S.sf)}):(0,s.jsx)(m,{location:"header",navigationData:K(null==S?void 0:S.default),className:"corp-nav"})}),(0,s.jsx)("button",{onClick:()=>z(!0),className:"lg:hidden ".concat(et()?"text-black":"text-white "," ").concat(B?"hidden":"block"),"aria-label":"Open menu",children:(0,s.jsx)("svg",{className:"w-8 h-8",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 6h16M4 12h16M4 18h16"})})}),(0,s.jsxs)("div",{className:"fixed bottom-[.688rem] left-[.688rem] right-[.688rem] w-auto block m-0 p-0 md:static md:w-auto",children:[A.includes("times-square")?(0,s.jsx)("a",{href:el,className:"check-availability-btn ".concat(et()?"btn-black-purple":"btn-purple","\n                         !w-full"),children:"Book Now"}):A.includes("san-francisco")?(0,s.jsx)("a",{href:el,className:"check-availability-btn  ".concat(et()?"btn-black-teal":"btn-teal","\n                        !w-full"),children:"Book Now"}):(0,s.jsx)("button",{ref:ea,onClick:()=>W(!0),className:"check-availability-btn  ".concat(et()?"btn-yellow":"btn-yellow-white","\n                        !w-full"),children:"Book Now"}),q&&(0,s.jsx)(g,{bookingURL:el,onClose:()=>W(!1),triggerRef:ea})]})]})]})]}),A.includes("times-square")?(0,s.jsx)(b,{isOpen:B,onClose:()=>z(!1),items:K(null==S?void 0:S.ny),topNav:K(null==S?void 0:S.nyTopNavigation)}):A.includes("san-francisco")?(0,s.jsx)(b,{isOpen:B,onClose:()=>z(!1),items:K(null==S?void 0:S.sf),topNav:K(null==S?void 0:S.sfTopNavigation)}):(0,s.jsx)(b,{isOpen:B,onClose:()=>z(!1),items:K(null==S?void 0:S.default),topNav:K(null==S?void 0:S.defaultTopNavigation)}),(0,s.jsx)(y,{isOpen:R,onClose:()=>P(!1),navItems:(null==S||null==(M=S.default)?void 0:M[1])||[],footerNav:K(null==S?void 0:S.defaultFooter)})]})}},68180:(e,t,l)=>{"use strict";l.d(t,{default:()=>r});var s=l(12115),a=l(20063);let r=()=>{let e=(0,a.usePathname)();return(0,s.useEffect)(()=>
1{if(window.location.hash.includes("/booking/")){let e=()=>window.scrollTo({top:0,behavior:"smooth"});e(),setTimeout(e,100),setTimeout(e,500),setTimeout(e,1e3),setTimeout(e,2e3)}let t=e.includes("times-square"),l=t?"times-square":"san-francisco",s=document.getElementById("azds-booking-script-loaded");if(s&&s.getAttribute("data-property")===l)return;s&&(document.querySelectorAll("script").forEach(e=>{var t;(null==(t=e.textContent)?void 0:t.includes("BOOKING_SETTINGS"))&&e.remove()}),document.querySelectorAll("booking-layout").forEach(e=>e.remove()),document.querySelectorAll('link[href*="newbooking.azds.com/api/hotel"]').forEach(e=>e.remove()),s.remove(),window.BOOKING_SETTINGS=void 0);let a=t?{hotel:"luma-times-square",theme:"boutique-gallery",lang:"en",emergency:{email:"[email protected]",phone:"1-212-730-0099"}}:{hotel:"luma-san-francisco",theme:"boutique-gallery",lang:"en",emergency:{email:"[email protected]",phone:"1-415-429-8818"}},r=document.createElement("script");r.type="text/javascript",r.textContent="var BOOKING_SETTINGS = ".concat(JSON.stringify(a),";"),document.body.appendChild(r);let n=document.createElement("style");n.textContent='\n      /* Force scroll to top on booking pages */\n      body:has([href*="#/booking/"], [href*="#/booking/"]) {\n        scroll-behavior: smooth;\n      }\n      \n      /* Additional CSS for booking pages */\n      html[data-booking-page="true"] {\n        scroll-behavior: smooth;\n      }\n      \n      html[data-booking-page="true"] body {\n        scroll-behavior: smooth;\n      }\n    ',document.head.appendChild(n);let i=document.createElement("booking-layout");i.classList.add(t?"times-square-booking":"san-francisco-booking"),document.body.appendChild(i);let o=new MutationObserver(e=>{window.location.hash.includes("/booking/")&&e.forEach(e=>{"childList"===e.type&&e.addedNodes.forEach(e=>{e.nodeType===Node.ELEMENT_NODE&&"booking-layout"===e.tagName.toLowerCase()&&setTimeout(()=>{let t=e.getBoundingClientRect();t.width>0&&t.height>0&&window.scrollTo({top:0,behavior:"smooth"})},100)})})});o.observe(i,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class"]}),window.bookingLayoutObserver=o;let c=document.createElement("script");c.src="https://newbooking.azds.com/preloader.bundle.js",c.type="text/javascript",c.async=!0,document.body.appendChild(c);let d=document.createElement("script");d.src="https://newbooking.azds.com/inline.bundle.js",d.type="text/javascript",d.async=!0,document.body.appendChild(d);let u=document.createElement("link");u.rel="stylesheet",u.href="https://newbooking.azds.com/api/hotel/".concat(a.hotel,"/styles"),u.type="text/css",document.head.appendChild(u);let h=document.createElement("meta");h.id="azds-booking-script-loaded",h.setAttribute("data-property",l),document.head.appendChild(h)},[e]),(0,s.useEffect)(()=>{let e,t=()=>window.scrollTo({top:0,behavior:"smooth"}),l=window.location.hash.includes("/booking/"),s=()=>{let e=window.location.hash.includes("/booking/");if(l&&!e)return void window.location.replace(window.location.pathname);l=e};window.addEventListener("hashchange",s);let a=()=>{window.location.hash.includes("/booking/")?(()=>{if(!window.location.hash.includes("/booking/"))return;document.documentElement.setAttribute("data-booking-page","true");let e=()=>{let e=document.querySelectorAll('booking-layout, .booking-widget, .azds-booking, [class*="booking"], [id*="booking"]'),l=null;for(let t of e){let e=t.getBoundingClientRect(),s=window.getComputedStyle(t);if(e.width>0&&e.height>0&&"none"!==s.display&&"hidden"!==s.visibility&&"0"!==s.opacity){l=t;break}}return!!l&&(t(),!0)};e()||[100,300,500,1e3,1500,2e3,3e3,5e3].forEach(t=>{setTimeout(()=>{e()},t)})})():document.documentElement.removeAttribute("data-booking-page")};window.addEventListener("hashchange",a),a();let r=new MutationObserver(e=>{if(!window.location.hash.includes("/booking/"))return;let l=!1;e.forEach(e=>{"childList"===e.type&&e.addedNodes.forEach(e=>{if(e.nodeType===Node.ELEMENT_NODE&&(e.classList.contains("booking-widget")||e.classList.contains("azds-booking")||e.querySelector(".booking-widget")||e.querySelector(".azds-booking")||e.tagName.toLowerCase().includes("booking")||"booking-layout"===e.tagName.toLowerCase())){let t=e.getBoundingClientRect(),s=window.getComputedStyle(e);t.width>0&&t.height>
10&&"none"!==s.display&&"hidden"!==s.visibility&&"0"!==s.opacity&&(l=!0)}})}),l&&(document.documentElement.setAttribute("data-booking-page","true"),setTimeout(t,200),setTimeout(t,500))});r.observe(document.body,{childList:!0,subtree:!0});let n=()=>{if(window.location.hash.includes("/booking/")&&window.scrollY>0){let t=document.querySelector("booking-layout");if(t){let l=t.getBoundingClientRect(),s=window.getComputedStyle(t);l.width>0&&l.height>0&&"none"!==s.display&&"hidden"!==s.visibility&&"0"!==s.opacity&&(e&&clearTimeout(e),e=setTimeout(()=>{window.scrollTo({top:0,behavior:"smooth"})},50))}}};return window.addEventListener("scroll",n,{passive:!0}),()=>{if(window.removeEventListener("hashchange",s),window.removeEventListener("hashchange",a),window.removeEventListener("scroll",n),r.disconnect(),window.bookingLayoutObserver){var t;null==(t=window.bookingLayoutObserver)||t.disconnect(),delete window.bookingLayoutObserver}e&&clearTimeout(e)}},[]),null}},81353:(e,t,l)=>{Promise.resolve().then(l.bind(l,95611)),Promise.resolve().then(l.bind(l,5956)),Promise.resolve().then(l.bind(l,37037)),Promise.resolve().then(l.bind(l,68180)),Promise.resolve().then(l.bind(l,16602)),Promise.resolve().then(l.bind(l,78025))},95611:(e,t,l)=>{"use strict";l.d(t,{default:()=>a});var s=l(95155);function a(){return(0,s.jsx)("a",{href:"#main-content",onClick:e=>{e.preventDefault();let t=document.getElementById("main-content");t&&t.focus()},className:"sr-only focus:not-sr-only focus:fixed focus:top-4 focus:left-4 focus:z-[9999] focus:px-4 focus:py-2 focus:bg-white focus:text-black focus:text-sm focus:font-bold focus:rounded focus:shadow-lg focus:outline-2 focus:outline-offset-2 focus:outline-black",children:"Skip to main content"})}}},e=>{e.O(0,[2619,1356,9651,354,850,8441,1255,7358],()=>e(e.s=81353)),_N_E=e.O()}]);

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.