{"version":3,"file":"Blog_Content_Code_Override.D6riITnr.mjs","names":[],"sources":["https:/framerusercontent.com/modules/Ie8WDtdNZATjwUev7DSM/OSy6vvLRduuRG60G0OeJ/Blog_Content_Code_Override.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";// Learn more: https://www.framer.com/docs/guides/overrides/\nconst useStore=createStore({background:\"#0099FF\"});export function applyLeadMagnet(Component){return props=>{useEffect(()=>{const styleElement=document.createElement(\"style\");styleElement.innerHTML=`\n                [data-framer-name=\"Blog Content\"] .framer-image {\n                width: 100% !important;\n                }\n\n                [data-framer-name=\"Visibility Hidden\"] {\n                display: none !important;\n                }\n            `;const head=document.querySelector(\"head\");if(head){head.appendChild(styleElement);}const contentElements=document.querySelectorAll('[data-framer-name=\"Blog Content\"] [data-framer-name=\"Content\"]');contentElements.forEach(contentElement=>{Array.from(contentElement.children).forEach(child=>{if(child.textContent.includes(\"//optinform-embed//\")){const leadMagnet=document.querySelector('[data-framer-name=\"Lead Magnet Wrap\"]');if(leadMagnet){child.innerHTML=\"\";child.appendChild(leadMagnet);}}});});},[]);return /*#__PURE__*/_jsx(Component,{...props});};}\nexport const __FramerMetadata__ = {\"exports\":{\"applyLeadMagnet\":{\"type\":\"reactHoc\",\"name\":\"applyLeadMagnet\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Blog_Content_Code_Override.map"],"mappings":"qKACmD,SAAgB,EAAgB,EAAU,CAAC,MAAO,KAAQ,MAAc,CAAC,IAAM,EAAa,SAAS,cAAc,QAAQ,CAAC,EAAa,UAAU;;;;;;;;cAQxL,IAAM,EAAK,SAAS,cAAc,OAAO,CAAI,GAAM,EAAK,YAAY,EAAa,CAAwB,SAAS,iBAAiB,iEAAiE,CAAiB,QAAQ,GAAgB,CAAC,MAAM,KAAK,EAAe,SAAS,CAAC,QAAQ,GAAO,CAAC,GAAG,EAAM,YAAY,SAAS,sBAAsB,CAAC,CAAC,IAAM,EAAW,SAAS,cAAc,wCAAwC,CAAI,IAAY,EAAM,UAAU,GAAG,EAAM,YAAY,EAAW,IAAK,EAAG,EAAG,EAAE,CAAC,CAAqB,EAAK,EAAU,CAAC,GAAG,EAAM,CAAC,mBATxgB,IAA6B,IAAqE,CAC9H,EAAY,CAAC,WAAW,UAAU,CAAC"}