import{s as e}from"./chunk-Bj-mKKzh.js";import{t}from"./react-CClhXMB2.js";import{t as n}from"./jsx-runtime-CyI9ICYU.js";import{s as r}from"./lib--QVjyxmL.js";import{M as i,_ as a,g as o,h as s,m as c,p as l}from"./index-CxCnkDVM.js";import{t as u}from"./lib-B6rgJiZ9.js";var d=e(t(),1),f=n(),p=(0,d.memo)(function({message:e}){return(0,f.jsx)(s,{children:(0,f.jsxs)(l,{expandedContent:(0,f.jsx)(o,{className:`my-4 text-xs`,children:(0,f.jsx)(`div`,{className:`prose prose-sm dark:prose-invert max-w-none`,children:(0,f.jsx)(u,{remarkPlugins:[r],components:a(),children:e.summary})})}),children:[(0,f.jsx)(`div`,{className:`w-5 h-5 relative flex items-center justify-center`,children:(0,f.jsx)(i,{className:`h-4.5 w-4.5 text-muted-foreground`})}),(0,f.jsx)(c,{children:`Summarized`})]})})});export{p as CompactSummaryMessage};