{"version":3,"file":"ScrollColor.Bigh0KaA.mjs","names":[],"sources":["https:/framerusercontent.com/modules/8B2wQDq1x8lnfvKgb7je/9MrrLesbdhcX7eCkovrR/ScrollColor.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";// Configurações\nconst scrollbarWidth=3// Vertical bar width\n;const scrollbarHeight=3// Height of the horizontal bar (adjusted to be lower)\n;const scrollbarBorderRadius=24;const scrollbarBackgroundColor=\"#C7D7ED\";const thumbBorderRadius=0;const thumbColor=\"#243746\";const hoverColor=\"#224967\";const focusColor=\"#1A2833\";export function customScrollbar(Component){return props=>{useEffect(()=>{const styleTag=document.createElement(\"style\");styleTag.innerHTML=`\n                ::-webkit-scrollbar {\n                    width: ${scrollbarWidth}px;\n                    height: ${scrollbarHeight}px; /* Define a altura da horizontal */\n                }\n                ::-webkit-scrollbar-track {\n                    background: ${scrollbarBackgroundColor};\n                    border-radius: ${scrollbarBorderRadius}px;\n                }\n                ::-webkit-scrollbar-thumb {\n                    background-color: ${thumbColor};\n                    border: transparent;\n                    border-radius: ${thumbBorderRadius}px;\n                }\n                ::-webkit-scrollbar-thumb:hover {\n                    background-color: ${hoverColor};\n                }\n                ::-webkit-scrollbar-thumb:active {\n                    background-color: ${focusColor};\n                }\n            `;document.head.appendChild(styleTag);return()=>{document.head.removeChild(styleTag);};},[]);return /*#__PURE__*/_jsx(Component,{...props});};}\nexport const __FramerMetadata__ = {\"exports\":{\"customScrollbar\":{\"type\":\"reactHoc\",\"name\":\"customScrollbar\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ScrollColor.map"],"mappings":"kHAGoL,SAAgB,EAAgB,EAAU,CAAC,MAAO,KAAQ,MAAc,CAAC,IAAM,EAAS,SAAS,cAAc,OAAO,EAoBxP,MApB0P,GAAS,UAAU;;6BAElS,EAAe;8BACd,EAAgB;;;kCAGZ,EAAyB;qCACtB,EAAsB;;;wCAGnB,EAAW;;qCAEd,EAAkB;;;wCAGf,EAAW;;;wCAGX,EAAW;;cAErC,SAAS,KAAK,YAAY,CAAQ,MAAY,CAAC,SAAS,KAAK,YAAY,CAAQ,CAAE,CAAE,EAAE,CAAC,CAAC,EAAsB,EAAK,EAAU,CAAC,GAAG,CAAK,CAAC,EAAI,iCAvBhH,IAA6B,EACjE,EAAe,EACd,EAAgB,EAChB,EAAsB,GAAS,EAAyB,UAAgB,EAAkB,EAAQ,EAAW,UAAgB,EAAW,UAAgB,EAAW"}