{"version":3,"file":"Posthog.CtguiTX3.mjs","names":[],"sources":["https:/framerusercontent.com/modules/KItSWXWMwhK12dZQWtEn/t9afCYVfslmun3aBnos8/Posthog.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef}from\"react\";// This is handled in withInputHandler since Framer cannot have multiple code overrides\n// export function withPhoneCallEvent(Component): ComponentType {\n//     return forwardRef((props, ref) => {\n//         return (\n//             <Component\n//                 ref={ref}\n//                 {...props}\n//                 onClick={\n//                     (event) => {\n//                         console.log(\"event\", event)\n//                     }\n//                     // window.posthog.capture(\"button_click\", {\n//                     //     name: \"phone_call\",\n//                     // })\n//                 }\n//             />\n//         )\n//     })\n// }\nexport function withWebCallEvent(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,onClick:event=>window.posthog.capture(\"button_click\",{name:\"web_call\"})});});}export function withWhatsAppEvent(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,onClick:()=>window.posthog.capture(\"button_click\",{name:\"whatsapp\"})});});}export function withLinkedInEvent(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,onClick:()=>{console.log(\"url\",window.location.href);window.posthog.capture(\"button_click\",{name:\"linkedin\"});}});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withWebCallEvent\":{\"type\":\"reactHoc\",\"name\":\"withWebCallEvent\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withLinkedInEvent\":{\"type\":\"reactHoc\",\"name\":\"withLinkedInEvent\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withWhatsAppEvent\":{\"type\":\"reactHoc\",\"name\":\"withWhatsAppEvent\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Posthog.map"],"mappings":"kMAmBsb,SAAgB,EAAkB,EAAU,CAAC,OAAoB,GAAY,EAAM,IAA2B,EAAK,EAAU,CAAK,MAAI,GAAG,EAAM,YAAY,CAAC,QAAQ,IAAI,MAAM,EAAO,SAAS,KAAK,CAAC,EAAO,QAAQ,QAAQ,eAAe,CAAC,KAAK,WAAW,CAAC,EAAG,CAAC,CAAG,sBAnB9oB,IAA8B"}