import{o as e}from"./rolldown-runtime-iuO8RvI4.js";import{Mi as s,ki as a}from"./vendor-frame-CwiylG4Y.js";import{It as i}from"./shared-15-B0mLQAfh.js";var r=e(s()),n=a(),t=(0,r.memo)(function({icon:e,message:s,actionLabel:a,onAction:r,onDismiss:t,dismissAriaLabel:c}){return(0,n.jsxs)("div",{className:"epitaxy-composer-aux-view",children:[(0,n.jsx)(l,{children:e}),(0,n.jsxs)("div",{className:"flex flex-1 min-w-0 flex-wrap items-center gap-x-g4",children:[(0,n.jsx)("span",{className:"flex-auto min-w-0 line-clamp-3 break-words text-body text-t8",children:s}),(0,n.jsx)(i,{variant:"link",size:"base",onClick:r,className:"shrink-0 -ml-[var(--p6)] -my-[calc((var(--class-base-height)-var(--leading-body))/2)]",children:a})]}),t&&c&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{"aria-hidden":"true",className:"w-px h-[12px] bg-t3 shrink-0"}),(0,n.jsx)(i,{variant:"muted",size:"base",icon:"XCrossCloseMedium",className:"shrink-0","aria-label":c,onClick:t})]})]})});function l({children:e}){return(0,n.jsx)("span",{"aria-hidden":"true",className:"flex items-center justify-center size-[20px] shrink-0 rounded-r3 bg-t2 text-t8",children:e})}export{t};