1import{d as f,x as u,y as b,m as r,a2 as d,z as n,H as o,O as v,K as g,L as m,r as c}from"./BJhlU1rR.js";import{s as h}from"./C4-wI4XM.js";const x={class:"flex items-center gap-2xs"},p=f({__name:"DbcBanner",props:{severity:{},message:{},hasBorder:{type:Boolean,default:!1},willLeave:{type:Boolean,default:!1}},setup(a){const s=a,e=c(""),t=c("");switch(s.severity){case"success":e.value="bg-success border-success text-success-high after:bg-green-800",t.value="dbc-icon-success";break;case"attention":e.value="bg-attention border-attention text-attention-high after:bg-red-600",t.value="dbc-icon-attention";break;case"warn":e.value="bg-warn border-warn text-warn-high after:bg-orange-800",t.value="dbc-icon-warn";break;default:e.value="bg-info border-info text-info-high after:bg-cool-gray-800",t.value="dbc-icon-info"}s.hasBorder&&(e.value+=" border border-solid "),s.willLeave&&(e.value+=" after:content-[''] after:relative after:h-[4px] after:block after:w-0 after:bottom-0 after:animate-progress-bar overflow-hidden ");const i={pt:{root:{class:`rounded-lg ${e.value} text-sm`},content:{class:"p-3 flex items-center gap-2xs"}}};return(w,y)=>{const l=m;return u(),b(r(h),d({severity:a.severity},i,{"aria-live":a.severity==="info"?"off":"assertive",role:a.severity==="info"?"status":"alert",life:a.willLeave?1e4:0}),{icon:n(()=>[g(l,{name:r(t)},null,8,["name"])]),default:n(()=>[o("div",x,[o("span",null,v(a.message),1)])]),_:1},16,["severity","aria-live","role","life"])}}}),k=Object.assign(p,{__name:"DbcBanner"});export{k as _};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.