{"version":3,"file":"TrackViewItem.BfFe2_EP.mjs","names":["_Fragment"],"sources":["https:/framerusercontent.com/modules/qDSQzrdsAy6D95NusTMF/DslxiUHLlieMaMz9rVTh/TrackViewItem.js"],"sourcesContent":["import{jsx as _jsx,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useEffect}from\"react\";import{PRODUCT_MAP}from\"https://framerusercontent.com/modules/xfAuyBiwXoZdAynQ3VMo/l45KsZSn7vaoeOXRc1Kn/products.js\";export default function TrackViewItem({shortName}){useEffect(()=>{// Make sure dataLayer exists\nwindow.dataLayer=window.dataLayer||[];window.dataLayer.push({event:\"eec.detail\",ecommerce:{items:[PRODUCT_MAP[shortName]]}});},[shortName]);return /*#__PURE__*/_jsx(_Fragment,{})// This component doesn’t render anything\n;}addPropertyControls(TrackViewItem,{shortName:{type:ControlType.String,title:\"Product\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"TrackViewItem\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"kPAAuQ,SAAwB,EAAc,CAAC,aAAW,CAC7K,OAD8K,MAAc,CACxU,EAAO,UAAU,EAAO,WAAW,EAAE,CAAC,EAAO,UAAU,KAAK,CAAC,MAAM,aAAa,UAAU,CAAC,MAAM,CAAC,EAAY,GAAW,CAAC,CAAC,CAAC,EAAG,CAAC,EAAU,CAAC,CAAqB,EAAKA,EAAU,EAAE,CAAC,sBADjH,IAAoD,IAA6B,IAAqH,CAErQ,EAAoB,EAAc,CAAC,UAAU,CAAC,KAAK,EAAY,OAAO,MAAM,UAAU,CAAC,CAAC"}