{"version":3,"file":"LeadsifyLazyInside.2OleAPP7.mjs","names":[],"sources":["https:/framerusercontent.com/modules/fHmGRuZ4iRQHhONMVkrt/RSSHUr8IotyoTU2dTyhf/LeadsifyLazyInside.js"],"sourcesContent":["// Leadsify speed (Oct 2026): withLazyInside, in a file of its own.\n//\n// withLazyInside     on a component instance (tickers, carousels, sections far down the page): every picture\n//                    inside loads lazily. Framer makes a picture lazy only when it sits more than 1000 px down,\n//                    and pictures inside tickers and carousels never get a position, so they all downloaded at once.\n//\n// It uses two helpers that Framer's runtime exports but does not list in its typings. While they were imported in\n// LeadsifySpeedOverrides.tsx, every smart component that used an override from that file showed an error and\n// publishing was blocked, so this override lives here on its own. Use it on instances placed on a page.\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef}from\"react\";// @ts-ignore (exported by Framer's runtime, not listed in its typings)\nimport{ComponentViewportProvider}from\"framer\";// @ts-ignore (exported by Framer's runtime, not listed in its typings)\nimport{useComponentViewport}from\"framer\";export function withLazyInside(Component){return /*#__PURE__*/forwardRef(function LeadsifyLazyInside(props,ref){// same width and height as Framer passes in; only the position changes, which Framer reads\n// to decide eager or lazy for each picture inside\nconst viewport=useComponentViewport();return /*#__PURE__*/_jsx(ComponentViewportProvider,{width:viewport?.width,height:viewport?.height,y:1e5,children:/*#__PURE__*/_jsx(Component,{ref:ref,...props})});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withLazyInside\":{\"type\":\"reactHoc\",\"name\":\"withLazyInside\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./LeadsifyLazyInside.map"],"mappings":"2KAWyC,SAAgB,EAAe,EAAU,CAAC,OAAoB,EAAW,SAA4B,EAAM,EAAI,CAExJ,IAAM,EAAS,EAAqB,EAAE,OAAoB,EAAK,EAA0B,CAAC,MAAM,GAAU,MAAM,OAAO,GAAU,OAAO,EAAE,IAAI,SAAsB,EAAK,EAAU,CAAK,MAAI,GAAG,CAAK,CAAC,CAAC,CAAC,CAAE,CAAC,CAAE,iBAJlK,IAA8B,IAC3B"}