{"version":3,"file":"shared-lib.CJvkWWBC.mjs","names":[],"sources":["https:/framerusercontent.com/modules/1TUkPfGcKn7ybEsOcQJv/OFpOsPXGNDfrHDCRrIHH/Amplitude.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";export function trackInAmplitude(Component){return props=>{if(props.amplitudeTrackingName!==\"\"&&props.amplitudeTrackingLabel!==\"\"&&props.amplitudeTrackingFrom!==\"\"){return /*#__PURE__*/_jsx(Component,{...props,amplitudeTrackingTrigger:()=>{logAmplitudeEvent(props.amplitudeTrackingName,{label:props.amplitudeTrackingLabel,from:props.amplitudeTrackingFrom});}});}return /*#__PURE__*/_jsx(Component,{...props});};}// Log event in Amplitude\nexport const logAmplitudeEvent=(name,options)=>{if(window){const trackingOptions={screenURL:document?.location.href,screenPath:document?.location.pathname,screenPageTitle:document?.title,...options};window.amplitude.track(`marketing_site_${name}`,trackingOptions);}};\nexport const __FramerMetadata__ = {\"exports\":{\"trackInAmplitude\":{\"type\":\"reactHoc\",\"name\":\"trackInAmplitude\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"logAmplitudeEvent\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Amplitude.map"],"mappings":"kKAA2C,SAAgB,EAAiB,EAAU,CAAC,MAAO,IAAW,EAAM,wBAAwB,IAAI,EAAM,yBAAyB,IAAI,EAAM,wBAAwB,GAAwB,EAAK,EAAU,CAAC,GAAG,EAAM,6BAA6B,CAAC,EAAkB,EAAM,sBAAsB,CAAC,MAAM,EAAM,uBAAuB,KAAK,EAAM,sBAAsB,CAAC,EAAG,CAAC,CAAsB,EAAK,EAAU,CAAC,GAAG,EAAM,CAAC,wBAAxZ,CAC9B,GAAmB,EAAK,IAAU,CAAC,GAAG,EAAO,CAAC,IAAM,EAAgB,CAAC,UAAU,UAAU,SAAS,KAAK,WAAW,UAAU,SAAS,SAAS,gBAAgB,UAAU,MAAM,GAAG,EAAQ,CAAC,EAAO,UAAU,MAAM,kBAAkB,IAAO,EAAgB"}