{"version":3,"file":"Cta_liveDemo.CJ2IPFuC.mjs","names":[],"sources":["https:/framerusercontent.com/modules/I00gR6wnT0mirER3lf84/HZrgHJihQNLnsIa2tPYS/Cta_liveDemo.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";import{randomColor}from\"https://framer.com/m/framer/utils.js@^0.9.0\";// Learn more: https://www.framer.com/developers/overrides/\nconst useStore=createStore({background:\"#0099FF\"});// LinkedIn Tracking\nexport function useLinkedInTracking(){useEffect(()=>{if(window.lintrk){window.lintrk(\"track\",{conversion_id:19011364});}},[]);}export function withClass(Component){return props=>{props.className+=\" cta-liveDemo=Hero+Live+Demo+Button\"// Remember to add a space\n;return /*#__PURE__*/_jsx(Component,{...props});};}export function withRotate(Component){return props=>{useLinkedInTracking()// Ensure LinkedIn tracking runs when this component mounts\n;return /*#__PURE__*/_jsx(Component,{...props,animate:{rotate:90},transition:{duration:2}});};}export function withHover(Component){return props=>{useLinkedInTracking();return /*#__PURE__*/_jsx(Component,{...props,whileHover:{scale:1.05}});};}export function withRandomColor(Component){return props=>{useLinkedInTracking();const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{...props,animate:{background:store.background},onClick:()=>{setStore({background:randomColor()});}});};}\nexport const __FramerMetadata__ = {\"exports\":{\"useLinkedInTracking\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRandomColor\":{\"type\":\"reactHoc\",\"name\":\"withRandomColor\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withClass\":{\"type\":\"reactHoc\",\"name\":\"withClass\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHover\":{\"type\":\"reactHoc\",\"name\":\"withHover\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRotate\":{\"type\":\"reactHoc\",\"name\":\"withRotate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Cta_liveDemo.map"],"mappings":"mRAE+H,SAAgB,EAAU,EAAU,CAAC,MAAO,KAAQ,EAAM,WAAW,sCAC/K,EAAK,EAAU,CAAC,GAAG,EAAM,CAAC,uBAHJ,IAA6B,IAAqE,IAAqE,CACnM,EAAY,CAAC,WAAW,UAAU,CAAC"}