{"version":3,"file":"TrackEvents.CL-gmfFb.mjs","names":["__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/PkaZndRl3k9lLtexVpGN/VXT71mX13JrWBLBIBBWJ/TrackEvents.js"],"sourcesContent":["// TrackEvents.tsx\nimport{jsx as _jsx}from\"react/jsx-runtime\";function safeFbq(eventName){const w=window;if(typeof w!==\"undefined\"&&typeof w.fbq===\"function\"){// Use custom event so you can optimize for it in Ads Manager\nw.fbq(\"trackCustom\",eventName);}}// Fires when user taps the main CTA (Download & Start Free Trial)\nexport function TrackStartTrial(){return{onTap(){safeFbq(\"StartTrial\");}};}// Optional: fires for your secondary CTA (e.g. “See It In Action”)\nexport function TrackSeeItInAction(){return{onTap(){safeFbq(\"SeeItInAction\");}};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withTrackStartTrial(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...TrackStartTrial(props)});};}withTrackStartTrial.displayName=\"TrackStartTrial\";export function withTrackSeeItInAction(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...TrackSeeItInAction(props)});};}withTrackSeeItInAction.displayName=\"TrackSeeItInAction\";\nexport const __FramerMetadata__ = {\"exports\":{\"withTrackStartTrial\":{\"type\":\"reactHoc\",\"name\":\"withTrackStartTrial\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"TrackStartTrial\":{\"type\":\"override\",\"name\":\"TrackStartTrial\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withTrackSeeItInAction\":{\"type\":\"reactHoc\",\"name\":\"withTrackSeeItInAction\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"TrackSeeItInAction\":{\"type\":\"override\",\"name\":\"TrackSeeItInAction\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TrackEvents.map"],"mappings":"4KAC2C,SAAS,EAAQ,EAAU,CAAC,IAAM,EAAE,EAAiB,IAAI,QAAa,OAAO,EAAE,KAAM,YAChI,EAAE,IAAI,cAAc,EAAU,CAC9B,SAAgB,GAAiB,CAAC,MAAM,CAAC,OAAO,CAAC,EAAQ,aAAa,EAAG,CACzE,SAAgB,GAAoB,CAAC,MAAM,CAAC,OAAO,CAAC,EAAQ,gBAAgB,EAAG,CAAqJ,SAAgB,EAAoB,EAAE,CAAC,MAAO,KAAQ,EAA+BA,EAAwC,CAAQC,EAAK,EAAE,CAAC,GAAG,EAAM,GAAG,EAAgB,EAAM,CAAC,CAAC,EAAsD,SAAgB,EAAuB,EAAE,CAAC,MAAO,KAAQ,EAA+BD,EAAwC,CAAQC,EAAK,EAAE,CAAC,GAAG,EAAM,GAAG,EAAmB,EAAM,CAAC,CAAC,uBAHvlB,IAGsG,IAAmF,CAAqL,EAAoB,YAAY,kBAA6M,EAAuB,YAAY"}