{"version":3,"file":"PixelFlowClasses.D_awfaMW.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,kBAAkB,CACxC,SAAgB,EAAe,EAAM,CAAoC,MAAM,CAAC,UAAU,GAArC,EAAM,WAAW,GAAgC,UAAU,CAAqJ,SAAgB,EAAqB,EAAE,CAAC,MAAO,KAAQ,EAA+BA,EAAwC,CAAQC,EAAK,EAAE,CAAC,GAAG,EAAM,GAAG,EAAiB,EAAM,CAAC,CAAC,EAAwD,SAAgB,EAAmB,EAAE,CAAC,MAAO,KAAQ,EAA+BD,EAAwC,CAAQC,EAAK,EAAE,CAAC,GAAG,EAAM,GAAG,EAAe,EAAM,CAAC,CAAC,mBAHpnB,IAGuI,IAAmF,CAAuL,EAAqB,YAAY,mBAAsM,EAAmB,YAAY"}