{"version":3,"file":"Filter.CBUElPGz.mjs","names":[],"sources":["https:/framerusercontent.com/modules/mB0IewLTWpNzTthpnlJZ/lRnIQiiciVEuKVhvUv5a/Filter.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,forwardRef}from\"react\";export function withScrollActiveService(Component){return /*#__PURE__*/forwardRef((props,ref)=>{useEffect(()=>{setTimeout(()=>{const root=ref?.current;if(!root)return;root.style.outline=\"3px solid lime\";const all=[root,...root.querySelectorAll(\"*\")];all.forEach((el,index)=>{if(el.scrollWidth>el.clientWidth){el.style.outline=\"3px solid red\";el.scrollLeft=1e3;console.log(\"Scrollable element:\",index,el);}});},1e3);},[]);return /*#__PURE__*/_jsx(Component,{ref:ref,...props});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withScrollActiveService\":{\"type\":\"reactHoc\",\"name\":\"withScrollActiveService\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Filter.map"],"mappings":"yHAAmF,SAAgB,EAAwB,EAAU,CAAC,OAAoB,GAAY,EAAM,KAAO,MAAc,CAAC,eAAe,CAAC,IAAM,EAAK,GAAK,QAAY,IAAY,EAAK,MAAM,QAAQ,iBAA2B,CAAC,EAAK,GAAG,EAAK,iBAAiB,IAAI,CAAC,CAAK,SAAS,EAAG,IAAQ,CAAI,EAAG,YAAY,EAAG,cAAa,EAAG,MAAM,QAAQ,gBAAgB,EAAG,WAAW,IAAI,QAAQ,IAAI,sBAAsB,EAAM,EAAG,GAAI,GAAG,IAAI,EAAG,EAAE,CAAC,CAAqB,EAAK,EAAU,CAAK,MAAI,GAAG,EAAM,CAAC,EAAG,kBAAtgB,IAAwC"}