{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/sBk4K3SEmQtaFfo3cJuE/Z1BmgRQOEzAHH0v9C4P4/ScrollHighlight.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";export function HighlightText(){useEffect(()=>{const elements=document.querySelectorAll('[style*=\"--framer-text-decoration\"]');elements.forEach(element=>{element.style.removeProperty(\"--framer-text-decoration\");const mark=document.createElement(\"mark\");const span=document.createElement(\"span\");while(element.firstChild){span.appendChild(element.firstChild);}element.appendChild(span);if(element.parentNode){element.parentNode.insertBefore(mark,element);mark.appendChild(element);}});const observer=new IntersectionObserver(entries=>{entries.forEach(entry=>{const value=entry.target.style.getPropertyValue(\"--highlighted\");if(!value||parseInt(value)===0){entry.target.style.setProperty(\"--highlighted\",entry.isIntersecting?\"1\":\"0\");}});},{threshold:1});document.querySelectorAll(\"mark\").forEach(el=>observer.observe(el));// Inject style\nconst style=document.createElement(\"style\");style.textContent=`\nmark {\n  --highlighted: 0;\n  --highlight: #BBCDD1;\n  background: transparent;\n}\nmark span {\n  background: linear-gradient(\n      120deg,\n      var(--highlight) 50%,\n      transparent 50%\n  ) 110% 0 / 200% 100% no-repeat;\n  background-position: calc((1 - var(--highlighted)) * 110%) 0;\n  transition: background-position 1s ease;\n  color: inherit;\n}`;document.head.appendChild(style);},[]);return{};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withHighlightText(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...HighlightText(props)});};}withHighlightText.displayName=\"HighlightText\";\nexport const __FramerMetadata__ = {\"exports\":{\"withHighlightText\":{\"type\":\"reactHoc\",\"name\":\"withHighlightText\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HighlightText\":{\"type\":\"override\",\"name\":\"HighlightText\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ScrollHighlight.map"],
  "mappings": "yIAAAA,IAA+E,SAASC,GAAe,CAAC,OAAAC,EAAU,IAAI,CAAgB,SAAS,iBAAiB,qCAAqC,EAAW,QAAQC,GAAS,CAACA,EAAQ,MAAM,eAAe,0BAA0B,EAAE,IAAMC,EAAK,SAAS,cAAc,MAAM,EAAQC,EAAK,SAAS,cAAc,MAAM,EAAE,KAAMF,EAAQ,YAAYE,EAAK,YAAYF,EAAQ,UAAU,EAAGA,EAAQ,YAAYE,CAAI,EAAKF,EAAQ,aAAYA,EAAQ,WAAW,aAAaC,EAAKD,CAAO,EAAEC,EAAK,YAAYD,CAAO,EAAG,CAAC,EAAE,IAAMG,EAAS,IAAI,qBAAqBC,GAAS,CAACA,EAAQ,QAAQC,GAAO,CAAC,IAAMC,EAAMD,EAAM,OAAO,MAAM,iBAAiB,eAAe,GAAK,CAACC,GAAO,SAASA,CAAK,IAAI,IAAGD,EAAM,OAAO,MAAM,YAAY,gBAAgBA,EAAM,eAAe,IAAI,GAAG,CAAG,CAAC,CAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,SAAS,iBAAiB,MAAM,EAAE,QAAQE,GAAIJ,EAAS,QAAQI,CAAE,CAAC,EAC33B,IAAMC,EAAM,SAAS,cAAc,OAAO,EAAEA,EAAM,YAAY;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAe3D,SAAS,KAAK,YAAYA,CAAK,CAAE,EAAE,CAAC,CAAC,EAAQ,CAAC,CAAE,CAA2J,SAASC,EAAkBC,EAAE,CAAC,OAAOC,IAAQC,EAA+BC,CAAuC,EAASC,EAAKJ,EAAE,CAAC,GAAGC,EAAM,GAAGb,EAAca,CAAK,CAAC,CAAC,EAAI,CAACF,EAAkB,YAAY",
  "names": ["init_ssg_sandbox_shims", "HighlightText", "ue", "element", "mark", "span", "observer", "entries", "entry", "value", "el", "style", "withHighlightText", "C", "props", "re", "DataObserverContext", "p"]
}
