1import{n as e}from"./hePW80VL.js";import{D as t,E as n,I as r,O as i,T as a,at as o,bt as s,dn as c,dt as l,w as u}from"./BaBhFZm2.js";import{r as d}from"./WE5nrRaW.js";import{n as f,t as p}from"./DFQ7m00a.js";import{t as m}from"./C2ANWNt82.js";var h=e({n:()=>x,t:()=>S}),g={class:`s-badge__wrapper s-text-small-bold`},_={key:1},v={key:2,class:`s-badge-required`},y=`s-badge`,b=r({__name:`SBadge`,props:{...p(),dot:Boolean,icon:String,required:Boolean,widthAuto:Boolean},setup(e){let r=s(),d=e,{themeClasses:p}=f(d,y),h=u(()=>[p.value,{"s-badge--dot":d.dot||!d.icon&&!r.default&&!d.required,"s-badge--icon":d.icon,"s-badge--content":r.default,"s-badge--required":d.required,"s-badge--content--width-auto":d.widthAuto}]);return(r,s)=>(o(),i(`div`,{"data-test-id":`s-badge__root`,class:c([`s-badge flex shrink-0 items-center justify-center`,...h.value])},[a(`div`,g,[e.icon?(o(),n(m,{key:0,class:`s-badge-icon`,name:e.icon,size:`x-small`},null,8,[`name`])):t(``,!0),r.$slots.default?(o(),i(`div`,_,[l(r.$slots,`default`)])):t(``,!0),e.required?(o(),i(`span`,v,`*`)):t(``,!0)])],2))}}),x=d({default:()=>S}),S=b;export{S as n,h as t};
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.