import{At as e,at as t,ct as n,gt as r,it as i,lt as a,mt as o}from"./chunk.p3hCiSrt.js";var s={root:`m_b183c0a2`},c=e(),l=r((e,{color:t})=>({root:{"--code-bg":t?o(t,e):void 0}})),u=t(e=>{let t=a(`Code`,null,e),{classNames:r,className:o,style:u,styles:d,unstyled:f,vars:p,color:m,block:h,mod:g,attributes:_,...v}=t,y=n({name:`Code`,props:t,classes:s,className:o,style:u,classNames:r,styles:d,unstyled:f,attributes:_,vars:p,varsResolver:l});return(0,c.jsx)(i,{component:h?`pre`:`code`,mod:[{block:h},g],...y(`root`),...v,dir:`ltr`})});u.classes=s,u.varsResolver=l,u.displayName=`@mantine/core/Code`;export{u as t};