{"version":3,"file":"Scrollbars.D780_FWD.mjs","names":[],"sources":["https:/framerusercontent.com/modules/I49LsjR3afpDE6YGgUs0/fKwCmzfYC66HhHmKgG7F/Scrollbars.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";const scrollbarWidth=8;const scrollbarBorderRadius=13;const scrollbarBackgroundColor=\"#f3f9f9\";const thumbBorderRadius=17;const thumbColor=\"#158c8c\";const hoverColor=\"#1C1C1C\";const focusColor=\"#000000\";import{useEffect}from\"react\";export function customScrollbar(Component){return props=>{useEffect(()=>{const styleTag=document.createElement(\"style\");styleTag.innerHTML=`\n                \n                  /* WebKit (Chrome, Edge, Safari) */\n                ::-webkit-scrollbar {\n                    width: ${scrollbarWidth}px;\n                    height: ${scrollbarWidth}px;\n                }\n                ::-webkit-scrollbar-track {\n                    background: ${scrollbarBackgroundColor};\n                    border-radius: ${scrollbarBorderRadius}px;\n                }\n                ::-webkit-scrollbar-thumb {\n                    background-color: ${thumbColor};\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);};},[scrollbarWidth,thumbColor,scrollbarBackgroundColor,scrollbarBorderRadius,thumbBorderRadius,hoverColor,focusColor]);return /*#__PURE__*/_jsx(Component,{...props});};}\nexport const __FramerMetadata__ = {\"exports\":{\"customScrollbar\":{\"type\":\"reactHoc\",\"name\":\"customScrollbar\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Scrollbars.map"],"mappings":"kHAAmR,SAAgB,EAAgB,EAAU,CAAC,MAAO,KAAQ,MAAc,CAAC,IAAM,EAAS,SAAS,cAAc,QAAQ,CAqBxV,MArByV,GAAS,UAAU;;;;6BAIjY,EAAe;8BACd,EAAe;;;kCAGX,EAAyB;qCACtB,EAAsB;;;wCAGnB,EAAW;qCACd,EAAkB;;;wCAGf,EAAW;;;wCAGX,EAAW;;cAErC,SAAS,KAAK,YAAY,EAAS,KAAW,CAAC,SAAS,KAAK,YAAY,EAAS,GAAK,CAAC,EAAe,EAAW,EAAyB,EAAsB,EAAkB,EAAW,EAAW,CAAC,CAAqB,EAAK,EAAU,CAAC,GAAG,EAAM,CAAC,iCArB5N,IAAwO,CAAlO,EAAe,EAAQ,EAAsB,GAAS,EAAyB,UAAgB,EAAkB,GAAS,EAAW,UAAgB,EAAW,UAAgB,EAAW"}