{"version":3,"file":"PixelFlowClasses.8GslFPou.mjs","names":["__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/mzi1yUhjJY9NzdUx00CQ/1PUcOja32nfNY1kiWxiW/PixelFlowClasses.js"],"sourcesContent":["// PixelFlowClasses.tsx\nimport{jsx as _jsx}from\"react/jsx-runtime\";// Use this on any layer you want to mark as a PixelFlow \"view content\" event\nexport function ViewContentClass(props){const existing=props.className??\"\";return{// keep any existing class names and just append the PF class\nclassName:`${existing} pf-view-content`};}// (optional) you can add more later, e.g. a Lead / Popup button:\nexport function PopupLeadClass(props){const existing=props.className??\"\";return{className:`${existing} pf-lead`};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withViewContentClass(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...ViewContentClass(props)});};}withViewContentClass.displayName=\"ViewContentClass\";export function withPopupLeadClass(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...PopupLeadClass(props)});};}withPopupLeadClass.displayName=\"PopupLeadClass\";\nexport const __FramerMetadata__ = {\"exports\":{\"ViewContentClass\":{\"type\":\"override\",\"name\":\"ViewContentClass\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PopupLeadClass\":{\"type\":\"override\",\"name\":\"PopupLeadClass\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withViewContentClass\":{\"type\":\"reactHoc\",\"name\":\"withViewContentClass\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withPopupLeadClass\":{\"type\":\"reactHoc\",\"name\":\"withPopupLeadClass\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./PixelFlowClasses.map"],"mappings":"oKAEA,SAAgB,EAAiB,EAAM,CAAoC,MAAM,CACjF,UAAU,GAD6C,EAAM,WAAW,GAClD,iBAAiB,CAAE,CACzC,SAAgB,EAAe,EAAM,CAAoC,MAAM,CAAC,UAAU,GAArC,EAAM,WAAW,GAAgC,SAAS,CAAE,CAAoJ,SAAgB,EAAqB,EAAE,CAAC,MAAO,KAAQ,EAA+BA,CAAuC,EAASC,EAAK,EAAE,CAAC,GAAG,EAAM,GAAG,EAAiB,CAAK,CAAC,CAAC,EAAI,CAAqD,SAAgB,EAAmB,EAAE,CAAC,MAAO,KAAQ,EAA+BD,CAAuC,EAASC,EAAK,EAAE,CAAC,GAAG,EAAM,GAAG,EAAe,CAAK,CAAC,CAAC,EAAI,iBAHxnB,IAGuI,IAAmF,EAAwL,EAAqB,YAAY,mBAAsM,EAAmB,YAAY"}