{"version":3,"file":"Popup_upsell.O2Gbc0dJ.mjs","names":["__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/ftW19u1oAUtVjbMDej3E/TLN0813IN8GcmblXPhdU/Popup_upsell.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{Data}from\"framer\";const data=Data({});export const OpenPopup=()=>{const handleClick=()=>{// Replace 'https://www.google.com' with the URL you want to open in the popup.\nconst url=\"https://rakoo.com/nl/waitlist\";// Define the properties for the popup window.\nconst popupWidth=880;const popupHeight=900;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\":{\"withOpenPopup\":{\"type\":\"reactHoc\",\"name\":\"withOpenPopup\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"OpenPopup\":{\"type\":\"override\",\"name\":\"OpenPopup\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Popup_upsell.map"],"mappings":"mSAG2R,SAAgB,EAAc,EAAE,CAAC,MAAO,KAAQ,EAA+BA,EAAwC,CAAQC,EAAK,EAAE,CAAC,GAAG,EAAM,GAAG,EAAU,EAAM,CAAC,CAAC,yBAHrZ,IAAyB,IAGoI,CAHzH,EAAK,EAAE,CAAC,CAAc,OAGW,CAAC,YAHyB,CAC1I,IACiD,GAAM,EAAO,WAAW,KAAY,EAAQ,GAAK,EAAO,YAAY,KAAa,EAClI,EAAO,KAAK,gCAAI,gBAAgB,+BAAoD,EAAK,QAAQ,IAAM,EAA8B,EAA+T,EAAc,YAAY"}