{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/Ye0KTan1IWBO6HYWIQ0a/JeYa6XY2IpAD61yASQ2r/HideScrollBar.js"],
  "sourcesContent": ["/*\n * HideScrollbar by @aikuuqi\n * Version 1.0.0\n * https://x.com/aikuuqi\n */import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useRef}from\"react\";export function HideScrollbar(Component){return props=>{const containerRef=useRef(null);useEffect(()=>{const container=containerRef.current;if(!container)return;// Hide scrollbar styles for various browsers\ncontainer.style.scrollbarWidth=\"none\"// Firefox\n;container.style.msOverflowStyle=\"none\"// IE and Edge\n;container.style.overflow=\"-moz-scrollbars-none\"// Older Firefox\n;container.style.WebkitScrollbar=\"none\"// WebKit-based browsers\n;container.style.WebkitOverflowScrolling=\"touch\"// Smooth scrolling on mobile\n;// WebKit-specific scrollbar hiding\nconst style=document.createElement(\"style\");style.innerHTML=`\n                ::-webkit-scrollbar {\n                    display: none;\n                }\n            `;container.appendChild(style);// Cleanup the style element on component unmount\nreturn()=>{if(style&&container.contains(style)){container.removeChild(style);}};},[]);return /*#__PURE__*/_jsx(Component,{...props,ref:containerRef,style:{...props.style},children:props.children});};}\nexport const __FramerMetadata__ = {\"exports\":{\"HideScrollbar\":{\"type\":\"reactHoc\",\"name\":\"HideScrollbar\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./HideScrollBar.map"],
  "mappings": "uDAIyF,SAASA,EAAcC,EAAU,CAAC,OAAOC,GAAO,CAAC,IAAMC,EAAaC,EAAO,IAAI,EAAE,OAAAC,EAAU,IAAI,CAAC,IAAMC,EAAUH,EAAa,QAAQ,GAAG,CAACG,EAAU,OAC5OA,EAAU,MAAM,eAAe,OAC9BA,EAAU,MAAM,gBAAgB,OAChCA,EAAU,MAAM,SAAS,uBACzBA,EAAU,MAAM,gBAAgB,OAChCA,EAAU,MAAM,wBAAwB,QAEzC,IAAMC,EAAM,SAAS,cAAc,OAAO,EAAE,OAAAA,EAAM,UAAU;AAAA;AAAA;AAAA;AAAA,cAI9CD,EAAU,YAAYC,CAAK,EACnC,IAAI,CAAIA,GAAOD,EAAU,SAASC,CAAK,GAAGD,EAAU,YAAYC,CAAK,CAAG,CAAE,EAAE,CAAC,CAAC,EAAsBC,EAAKP,EAAU,CAAC,GAAGC,EAAM,IAAIC,EAAa,MAAM,CAAC,GAAGD,EAAM,KAAK,EAAE,SAASA,EAAM,QAAQ,CAAC,CAAE,CAAE",
  "names": ["HideScrollbar", "Component", "props", "containerRef", "pe", "ue", "container", "style", "p"]
}
