{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/CyVYa2ae9THToPaMdTli/zjQwPCm1G6X1QYiRF7tu/Text_Highlight_.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import React from\"react\";export function withCustomTextSelection(Component){return props=>{React.useEffect(()=>{const style=document.createElement(\"style\");style.textContent=`\n                ::selection {\n                    background-color: #FFFFFF; /* Highlight background */\n                    color: #ff6600; /* Text color inside highlight */\n                    font-size: inherit;\n                    line-height: inherit;\n                    font-weight: inherit;\n                }\n                ::-moz-selection {\n                    background-color: #ffffff;\n                    color: #ff6600;\n                }\n            `;document.head.appendChild(style);return()=>{document.head.removeChild(style);};},[]);return /*#__PURE__*/_jsx(Component,{...props});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withCustomTextSelection\":{\"type\":\"reactHoc\",\"name\":\"withCustomTextSelection\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Text_Highlight_.map"],
  "mappings": "gDAA2E,SAASA,EAAwBC,EAAU,CAAC,OAAOC,IAAQ,EAAM,UAAU,IAAI,CAAC,IAAMC,EAAM,SAAS,cAAc,OAAO,EAAE,OAAAA,EAAM,YAAY;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,cAY3M,SAAS,KAAK,YAAYA,CAAK,EAAQ,IAAI,CAAC,SAAS,KAAK,YAAYA,CAAK,CAAE,CAAE,EAAE,CAAC,CAAC,EAAsBC,EAAKH,EAAU,CAAC,GAAGC,CAAK,CAAC,EAAI",
  "names": ["withCustomTextSelection", "Component", "props", "style", "p"]
}
