import{i as e,n as t,t as n}from"./chunk-BO2N2NFS-BWcf1rJT-0R9eGpc8.js";import{useContext as r,useEffect as i,useState as a}from"react";import{jsx as o}from"react/jsx-runtime";var s=({code:s,language:c,raw:l,className:u,startLine:d,lineNumbers:f,...p})=>{let{shikiTheme:m}=r(e),h=t(),[g,_]=a(l);return i(()=>{if(!h){_(l);return}let e=h.highlight({code:s,language:c,themes:m},e=>{_(e)});e&&_(e)},[s,c,m,h,l]),o(n,{className:u,language:c,lineNumbers:f,result:g,startLine:d,...p})};export{s as HighlightedCodeBlockBody};
//# sourceMappingURL=highlighted-body-OFNGDK62-Dq_nOYzS-CGH61Fky.js.map