{"version":3,"file":"GA4Cta.D7dDMgRG.mjs","names":[],"sources":["https:/framerusercontent.com/modules/3w0qynUf4X50hlmaD7Nu/nL11nWhmH6j0Ukrj15Eh/GA4Cta.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{ControlType,addPropertyControls}from\"framer\";export default function GA4CTA(props){const{children,content_type,content_id,location}=props;const handleClick=()=>{if(typeof window!==\"undefined\"){window.dataLayer=window.dataLayer||[];window.dataLayer.push({event:\"select_content\",content_type,content_id,location});console.log(`📡 [GA4] select_content:`,{content_type,content_id});}};return /*#__PURE__*/_jsx(\"div\",{onClick:handleClick,style:{display:\"contents\",cursor:\"pointer\"},children:children});}addPropertyControls(GA4CTA,{children:{type:ControlType.ComponentInstance,title:\"Button/Link\"},content_type:{type:ControlType.Enum,title:\"Content Type\",options:[\"cta\",\"link\"],defaultValue:\"cta\"},content_id:{type:ControlType.String,title:\"Button Name\",defaultValue:\"btn_comprar\"},location:{type:ControlType.String,title:\"Location\",defaultValue:\"home\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"GA4CTA\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./GA4Cta.map"],"mappings":"0KAA+F,SAAwB,EAAO,EAAM,CAAC,GAAK,CAAC,WAAS,eAAa,aAAW,YAAU,EAAyP,OAAoB,EAAK,MAAM,CAAC,YAA7P,CAAW,IAAS,SAAa,EAAO,UAAU,EAAO,WAAW,EAAE,CAAC,EAAO,UAAU,KAAK,CAAC,MAAM,iBAAiB,eAAa,aAAW,WAAS,CAAC,CAAC,QAAQ,IAAI,2BAA2B,CAAC,eAAa,aAAW,CAAC,GAAwD,MAAM,CAAC,QAAQ,WAAW,OAAO,UAAU,CAAU,WAAS,CAAC,sBAAvf,IAAoD,CAAqc,EAAoB,EAAO,CAAC,SAAS,CAAC,KAAK,EAAY,kBAAkB,MAAM,cAAc,CAAC,aAAa,CAAC,KAAK,EAAY,KAAK,MAAM,eAAe,QAAQ,CAAC,MAAM,OAAO,CAAC,aAAa,MAAM,CAAC,WAAW,CAAC,KAAK,EAAY,OAAO,MAAM,cAAc,aAAa,cAAc,CAAC,SAAS,CAAC,KAAK,EAAY,OAAO,MAAM,WAAW,aAAa,OAAO,CAAC,CAAC"}