{"version":3,"file":"shared.aY8o7bWd.mjs","names":[],"sources":["https:/framerusercontent.com/modules/I9qJOpMPs3sweZrzDNXX/hN6kHJupVmcpyeDeYWBN/ButtonWithLightbox.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";export default function ButtonWithOverlay(props){const handleClick=e=>{e.preventDefault();const baseUrl=props.url||\"https://forms.nativveresearch.com/to/uvcxM0Qb\";const urlWithParams=`${baseUrl}${window.location.search}`;window.showLightbox(urlWithParams,{maxWidth:props.lightboxWidth,maxHeight:props.lightboxHeight});};return /*#__PURE__*/_jsx(\"button\",{className:props.classNames,style:{...buttonStyle,backgroundColor:props.backgroundColor,color:props.textColor,borderColor:props.borderColor,borderWidth:props.borderThickness,borderRadius:props.borderRadius,paddingLeft:props.horizontalPadding,paddingRight:props.horizontalPadding,paddingTop:props.verticalPadding,paddingBottom:props.verticalPadding,fontFamily:props.font},onMouseEnter:e=>{e.currentTarget.style.backgroundColor=props.hoverBackgroundColor;e.currentTarget.style.borderColor=props.hoverBorderColor;e.currentTarget.style.color=props.hoverTextColor;},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=props.backgroundColor;e.currentTarget.style.borderColor=props.borderColor;e.currentTarget.style.color=props.textColor;},onClick:handleClick,children:props.text});}ButtonWithOverlay.defaultProps={text:\"Register\",url:\"https://hellonativve.typeform.com/to/Kg29rj5f\",lightboxWidth:\"1000px\",lightboxHeight:\"800px\",backgroundColor:\"#E6A7BB\",textColor:\"#172A3A\",hoverTextColor:\"#FFFFFF\",borderColor:\"#000000\",borderThickness:\"0px\",borderRadius:\"50px\",horizontalPadding:\"32px\",verticalPadding:\"16px\",font:\"Inter\",hoverBackgroundColor:\"#d796aa\",hoverBorderColor:\"#000000\",classNames:\"\"};addPropertyControls(ButtonWithOverlay,{text:{type:ControlType.String,title:\"Button Text\"},url:{type:ControlType.String,title:\"Form URL\"},lightboxWidth:{type:ControlType.String,title:\"Lightbox Width\"},lightboxHeight:{type:ControlType.String,title:\"Lightbox Height\"},backgroundColor:{type:ControlType.Color,title:\"Button Color\"},textColor:{type:ControlType.Color,title:\"Text Color\"},hoverTextColor:{type:ControlType.Color,title:\"Hover Text Color\"},borderColor:{type:ControlType.Color,title:\"Border Color\"},borderThickness:{type:ControlType.String,title:\"Border Thickness\"},borderRadius:{type:ControlType.String,title:\"Border Radius\"},horizontalPadding:{type:ControlType.String,title:\"Horizontal Padding\"},verticalPadding:{type:ControlType.String,title:\"Vertical Padding\"},font:{type:ControlType.String,title:\"Font Family\"},hoverBackgroundColor:{type:ControlType.Color,title:\"Hover Background Color\"},hoverBorderColor:{type:ControlType.Color,title:\"Hover Border Color\"},classNames:{type:ControlType.String,title:\"Class Names\"}});const buttonStyle={padding:0,border:\"solid\",fontSize:\"20px\",fontWeight:600,lineHeight:1.5,display:\"flex\",justifyContent:\"center\",alignItems:\"center\",overflow:\"hidden\",cursor:\"pointer\"};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ButtonWithOverlay\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ButtonWithLightbox.map"],"mappings":"0KAA+F,SAAwB,EAAkB,EAAM,CAAC,IAAM,EAAY,GAAG,CAAC,EAAE,gBAAgB,CAA0E,IAAM,EAAc,GAA/E,EAAM,KAAK,kDAAiF,EAAO,SAAS,SAAS,EAAO,aAAa,EAAc,CAAC,SAAS,EAAM,cAAc,UAAU,EAAM,eAAe,CAAC,EAAG,OAAoB,EAAK,SAAS,CAAC,UAAU,EAAM,WAAW,MAAM,CAAC,GAAG,EAAY,gBAAgB,EAAM,gBAAgB,MAAM,EAAM,UAAU,YAAY,EAAM,YAAY,YAAY,EAAM,gBAAgB,aAAa,EAAM,aAAa,YAAY,EAAM,kBAAkB,aAAa,EAAM,kBAAkB,WAAW,EAAM,gBAAgB,cAAc,EAAM,gBAAg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