1import{d as p,ad as g,w as f,g as n,o as i,j as r,i as k,Q as x,e as b,a as h,r as v,W as B,t as y,J as C,h as D,l as o,b3 as U,aU as c,S as N,aV as V,_ as w}from"./BDr44Kmt.js";import{b as S,g as j}from"./C2dZMY3J.js";const q={class:"badge-text"},G=p({__name:"Badge",props:{img:{},text:{},link:{},round:{type:Boolean},square:{type:Boolean}},setup(a){const e=a,s=o(()=>{if(e.img)return e.img;const t=U(e.link);return t?S(t):e.link&&c(e.link)?j(e.link):""}),l=o(()=>s.value?!e.square:e.round),u=o(()=>e.link?c(e.link)?N(e.link):V(e.link):"");return(t,I)=>{const d=x,m=D,_=g("tip");return f((i(),r(m,{class:C(["badge",{round:n(l)}]),to:a.link},{default:k(()=>[n(s)?(i(),r(d,{key:0,class:"badge-icon",src:n(s),alt:"",densities:"1x"},null,8,["src"])):b("",!0),h("span",q,[v(t.$slots,"default",{},()=>[B(y(a.text),1)],!0)])]),_:3},8,["class","to"])),[[_,n(u)]])}}}),A=Object.assign(w(G,[["__scopeId","data-v-dd6c960f"]]),{__name:"Badge"});export{A as default};
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.