{"version":3,"file":"PageViewEvent.BMiO2IhG.mjs","names":[],"sources":["https:/framerusercontent.com/modules/nLM2vWZbUmJxpiCRfvVh/0WnUD2Ae5aKA98i2GBRp/PageViewEvent.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useLayoutEffect}from\"react\";/**\n * These annotations control how your component sizes\n * Learn more: https://www.framer.com/docs/guides/auto-sizing\n *\n * @framerIntrinsicWidth 600\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight auto\n */ export default function PageViewEvent(props){useLayoutEffect(()=>{window.mixpanel.track(props.eventName,{version:props.pageVersion,desc:props.pageDesc});},[]);return /*#__PURE__*/ _jsx(\"div\",{});};addPropertyControls(PageViewEvent,{// id: {\n//     type: ControlType.String,\n//     defaultValue: \"\",\n// },\npageVersion:{title:\"Page Version\",type:ControlType.String,defaultValue:\"1.0.0\"},pageDesc:{title:\"Page Version Description\",type:ControlType.String,defaultValue:\"Original Version\"},eventName:{title:\"Event Name\",type:ControlType.String,defaultValue:\"web-PAGE_NAME_HERE-page-viewed\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"PageViewEvent\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"600\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./PageViewEvent.map"],"mappings":"wLAQI,SAAwB,EAAc,EAAM,CAAmH,OAAlH,MAAoB,CAAC,EAAO,SAAS,MAAM,EAAM,UAAU,CAAC,QAAQ,EAAM,YAAY,KAAK,EAAM,QAAQ,CAAC,CAAE,EAAE,CAAC,CAAC,EAAuB,EAAK,MAAM,CAAC,CAAC,CAAE,qBAR7J,IAAoD,IAAmC,EAQwE,EAAoB,EAAc,CAI3O,YAAY,CAAC,MAAM,eAAe,KAAK,EAAY,OAAO,aAAa,OAAO,EAAE,SAAS,CAAC,MAAM,2BAA2B,KAAK,EAAY,OAAO,aAAa,kBAAkB,EAAE,UAAU,CAAC,MAAM,aAAa,KAAK,EAAY,OAAO,aAAa,gCAAgC,CAAC,CAAC"}