import{j as e}from"./vendor-react-wBh_31cN.js";import{L as l}from"./LazyMarkdown-B4U4Brg5.js";import{C as a}from"./callout-Dd8FkTQe.js";import{t as d}from"./theme-colors-BFneJNsI.js";import"./index-BKr2rJhV.js";import"./vendor-redux-CJZrIb6x.js";import"./vendor-router-D1GqFWiT.js";import"./vendor-utils-OeoE2qq_.js";import"./vendor-icons-BUUmD6ht.js";import"./vendor-radix-BRyWS4bQ.js";import"./vendor-grid-CeFlDWv4.js";const v=({banners:t,actions:o})=>{var r;const m="light";if(!(!t||!t.items||((r=t==null?void 0:t.items)==null?void 0:r.length)<1))return e.jsx("div",{children:t.items.map((i,s)=>e.jsx(a,{type:"warning",className:"[&:not(:first-child)]:border-t-2 [&:not(:first-child)]:border-dashed",content:e.jsxs("div",{className:"flex w-full items-center gap-2",children:[e.jsx(l,{disableCopy:!0,source:i.message,wrapperElement:{"data-color-mode":m},className:"!min-w-0 !flex-1 !p-0 !text-sm !font-normal !whitespace-normal",style:{backgroundColor:d.labels.orangeShade2}}),s===0&&o&&e.jsx("div",{className:"flex shrink-0 items-center gap-0.5",children:o})]})},i.id))})};export{v as default};
