{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/FiURExPjIFJYKPm2c8IV/0rBUZxyJe5NZMEiNOjYZ/Popup.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{Data}from\"framer\";const data=Data({});export const OpenPopup=()=>{const handleClick=()=>{var _window_location,_window,_window_location1,_window1;console.log(\"----- href\",(_window=window)===null||_window===void 0?void 0:(_window_location=_window.location)===null||_window_location===void 0?void 0:_window_location.href);var _window_location_href;const currentLocation=(_window_location_href=(_window1=window)===null||_window1===void 0?void 0:(_window_location1=_window1.location)===null||_window_location1===void 0?void 0:_window_location1.href)!==null&&_window_location_href!==void 0?_window_location_href:null;const url=`https://meetings.hubspot.com/danny-jacobs/plan-kennismaking-cta-blok-rakoo?embed=true${currentLocation?`&parentPageUrl=[${currentLocation}]`:\"\"}`;// Define the properties for the popup window.\nconst popupWidth=880;const popupHeight=700;const left=(window.innerWidth-popupWidth)/2;const top=(window.innerHeight-popupHeight)/2;// Open the popup window.\nwindow.open(url,\"Hubspot Popup\",`width=${popupWidth}, height=${popupHeight}, left=${left}, top=${top}`);};return{onClick:handleClick};};import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withOpenPopup(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...OpenPopup(props)});};}withOpenPopup.displayName=\"OpenPopup\";\nexport const __FramerMetadata__ = {\"exports\":{\"OpenPopup\":{\"type\":\"override\",\"name\":\"OpenPopup\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withOpenPopup\":{\"type\":\"reactHoc\",\"name\":\"withOpenPopup\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Popup.map"],
  "mappings": "yIAAoE,IAAMA,EAAKC,EAAK,CAAC,CAAC,EAAeC,EAAU,KAEC,CAAC,QAFqB,IAAI,CAAC,IAAIC,EAAiBC,EAAQC,EAAkBC,EAAS,QAAQ,IAAI,cAAcF,EAAQG,KAAU,MAAMH,IAAU,SAAeD,EAAiBC,EAAQ,YAAY,MAAMD,IAAmB,OAAtE,OAAoFA,EAAiB,IAAI,EAAE,IAAIK,EAAsB,IAAMC,GAAiBD,GAAuBF,EAASC,KAAU,MAAMD,IAAW,SAAeD,EAAkBC,EAAS,YAAY,MAAMD,IAAoB,OAAzE,OAAuFA,EAAkB,QAAQ,MAAMG,IAAwB,OAAOA,EAAsB,KAAWE,EAAI,wFAAwFD,EAAgB,mBAAmBA,CAAe,IAAI,EAAE,GACzyBE,EAAW,IAAUC,EAAY,IAAUC,GAAMN,EAAO,WAAWI,GAAY,EAAQG,GAAKP,EAAO,YAAYK,GAAa,EAClIL,EAAO,KAAKG,EAAI,gBAAgB,SAASC,CAAU,YAAYC,CAAW,UAAUC,CAAI,SAASC,CAAG,EAAE,CAAE,CAA4B,GAA8J,SAASC,EAAcC,EAAE,CAAC,OAAOC,IAAQC,EAA+BC,CAAuC,EAASC,EAAKJ,EAAE,CAAC,GAAGC,EAAM,GAAGf,EAAUe,CAAK,CAAC,CAAC,EAAI,CAACF,EAAc,YAAY",
  "names": ["data", "Data", "OpenPopup", "_window_location", "_window", "_window_location1", "_window1", "window", "_window_location_href", "currentLocation", "url", "popupWidth", "popupHeight", "left", "top", "withOpenPopup", "C", "props", "re", "DataObserverContext", "p"]
}
