1import{r as e,j as o}from"./vendor-react-b8bvOu4O.js";import{D as r}from"./HubSpotForm-DNh3hrhF.js";import{trackCta as n,trackFormSubmit as t}from"./analytics-BWwTFJDz.js";import{u as a}from"./index-Bg10vT0Z.js";import"./vendor-helmet-DN_BExLL.js";import"./vendor-router-CkJWxcOU.js";function s({open:s,onClose:i}){const l=a();return e.useEffect(()=>{if(!s)return;const e=e=>{"Escape"===e.key&&i()};document.addEventListener("keydown",e);const o=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.removeEventListener("keydown",e),document.body.style.overflow=o}},[s,i]),s?o.jsx("div",{role:"dialog","aria-modal":"true","aria-label":l({en:"Get a free demo",fr:"Obtenez une démo gratuite",es:"Obtenga una demostración gratuita"}),onClick:e=>{e.target===e.currentTarget&&i()},style:{position:"fixed",inset:0,zIndex:1e4,background:"rgba(20,49,53,0.55)",display:"flex",alignItems:"flex-start",justifyContent:"center",padding:"5vh 24px",overflowY:"auto"},children:o.jsxs("div",{style:{background:"#fff",borderRadius:"20px",maxWidth:"900px",width:"100%",padding:"40px",position:"relative",boxShadow:"0 24px 60px rgba(0,0,0,0.25)"},children:[o.jsx("button",{onClick:i,"aria-label":l({en:"Close",fr:"Fermer",es:"Cerrar"}),style:{position:"absolute",top:"16px",right:"16px",border:"none",background:"transparent",fontSize:"28px",cursor:"pointer",color:"var(--color-primary)",lineHeight:1,padding:"4px 12px"},children:"Ã"}),o.jsx("h2",{style:{fontFamily:"'Fraunces', Georgia, serif",fontSize:"clamp(22px, 3vw, 28px)",color:"var(--color-primary)",marginBottom:"8px"},children:l({en:"Get a FREE Demo",fr:"Obtenez une démo GRATUITE",es:"Obtenga una demostración GRATUITA"})}),o.jsx("p",{style:{fontFamily:"'Lato', sans-serif",color:"#555",lineHeight:1.6,fontSize:"15px",marginBottom:"20px"},children:l({en:"See how ampliphi can lift your RevPAR. We'll be in touch within one business day.",fr:"Découvrez comment ampliphi peut augmenter votre RevPAR. Nous vous contacterons dans un délai d'un jour ouvrable.",es:"Descubra cómo ampliphi puede aumentar su RevPAR. Nos pondremos en contacto con usted en un plazo de un dÃa hábil."})}),o.jsx(r,{onSubmit:()=>t("demo_request_modal"),onReady:()=>n("Demo Modal Form Ready","modal"),loadingMessage:o.jsx("p",{style:{fontFamily:"'Lato', sans-serif",color:"#999",fontSize:"14px",textAlign:"center",padding:"20px"},children:l({en:"Loading formâ¦",fr:"Chargement du formulaireâ¦",es:"Cargando el formularioâ¦"})}),fallback:o.jsxs("p",{style:{fontFamily:"'Lato', sans-serif",color:"#555",lineHeight:1.7},children:[l({en:"Form is taking longer than expected to load. You can",fr:"Le formulaire met plus de temps que prévu à charger. Vous pouvez",es:"El formulario está tardando más de lo esperado en cargar. Puede"})," ",o.jsx("a",{href:"/contact-us",style:{color:"var(--color-primary)",textDecoration:"underline"},children:l({en:"use our contact form",fr:"utiliser notre formulaire de contact",es:"usar nuestro formulario de contacto"})})," ",l({en:"and we'll respond within one business day.",fr:"et nous vous répondrons dans un délai d'un jour ouvrable.",es:"y le responderemos en un plazo de un dÃa hábil."})]})})]})}):null}export{s as default};
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.