{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/8rkKV9NLySIV0AUUec1P/rbXIYMHmZKbw2UoriKCo/CheckoutPopup.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";function useEmbed(){useEffect(()=>{var _window;if((_window=window)===null||_window===void 0?void 0:_window.checkoutPage)return;const script=document.createElement(\"script\");script.src=\"https://checkoutpage.co/js/overlay.js\";script.async=true;document.body.appendChild(script);return()=>{document.body.removeChild(script);};},[]);return null;}export function withCheckoutPopup(Component){return props=>{useEmbed();props.className+=\" cp-button\";return /*#__PURE__*/_jsx(Component,{...props});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withCheckoutPopup\":{\"type\":\"reactHoc\",\"name\":\"withCheckoutPopup\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CheckoutPopup.map"],
  "mappings": "yFAAwE,SAASA,GAAU,CAAC,OAAAC,EAAU,IAAI,CAAC,IAAIC,EAAQ,GAAI,GAAAA,EAAQC,KAAU,MAAMD,IAAU,SAAcA,EAAQ,aAAa,OAAO,IAAME,EAAO,SAAS,cAAc,QAAQ,EAAE,OAAAA,EAAO,IAAI,wCAAwCA,EAAO,MAAM,GAAK,SAAS,KAAK,YAAYA,CAAM,EAAQ,IAAI,CAAC,SAAS,KAAK,YAAYA,CAAM,CAAE,CAAE,EAAE,CAAC,CAAC,EAAS,IAAK,CAAQ,SAASC,EAAkBC,EAAU,CAAC,OAAOC,IAAQP,EAAS,EAAEO,EAAM,WAAW,aAAiCC,EAAKF,EAAU,CAAC,GAAGC,CAAK,CAAC,EAAI",
  "names": ["useEmbed", "ue", "_window", "window", "script", "withCheckoutPopup", "Component", "props", "p"]
}
