{"version":3,"file":"CarouselDots.BCpRZdJS.mjs","names":["useRef","__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/hRvbiDnS9ld66OWWgCNR/55p3uMn8iBhQ7AOCoAHP/CarouselDots.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useRef}from\"react\";export function BlurInactiveDots(){const ref=useRef(null);useEffect(()=>{const el=ref.current;if(!el)return;// mark this instance so CSS is scoped\nel.setAttribute(\"data-dot-blur-scope\",\"true\");const style=document.createElement(\"style\");style.textContent=`\n      /* target the dot DIVs inside the pagination buttons */\n      [data-dot-blur-scope=\"true\"] button > div {\n        filter: blur(5px);\n        opacity: 0.8 !important;\n        transform: scale(0.9);\n        transition: filter .25s ease, opacity .25s ease, transform .25s ease;\n      }\n\n      /* active dot: detected via inline opacity: 1 */\n      [data-dot-blur-scope=\"true\"] button > div[style*=\"opacity: 1\"] {\n        filter: blur(0);\n        opacity: 1 !important;\n        transform: scale(1.05);\n      }\n    `;el.appendChild(style);return()=>{style.remove();el.removeAttribute(\"data-dot-blur-scope\");};},[]);return{ref};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withBlurInactiveDots(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...BlurInactiveDots(props)});};}withBlurInactiveDots.displayName=\"BlurInactiveDots\";\nexport const __FramerMetadata__ = {\"exports\":{\"BlurInactiveDots\":{\"type\":\"override\",\"name\":\"BlurInactiveDots\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withBlurInactiveDots\":{\"type\":\"reactHoc\",\"name\":\"withBlurInactiveDots\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CarouselDots.map"],"mappings":"4KAA+E,SAAgB,GAAkB,CAAC,IAAM,EAAIA,EAAO,IAAI,EAgB/B,OAhBiC,MAAc,CAAC,IAAM,EAAG,EAAI,QAAQ,GAAG,CAAC,EAAG,OACpL,EAAG,aAAa,sBAAsB,MAAM,EAAE,IAAM,EAAM,SAAS,cAAc,OAAO,EAe5D,MAf8D,GAAM,YAAY;;;;;;;;;;;;;;;MAetG,EAAG,YAAY,CAAK,MAAY,CAAC,EAAM,OAAO,EAAE,EAAG,gBAAgB,qBAAqB,CAAE,CAAE,EAAE,CAAC,CAAC,EAAQ,CAAC,KAAG,CAAE,CAAoJ,SAAgB,EAAqB,EAAE,CAAC,MAAO,KAAQ,EAA+BC,CAAuC,EAASC,EAAK,EAAE,CAAC,GAAG,EAAM,GAAG,EAAiB,CAAK,CAAC,CAAC,EAAI,iBAhBpZ,IAAoC,IAgByL,EAAwL,EAAqB,YAAY"}