1import{d as h,c as x,u as k,m as o,n as r,c9 as v,o as e,a as l,b as d,j as u,k as a,F as S,y,bN as w,a1 as B,p as g,q as M,U as V,V as C}from"./DvgxvNL0.js";import{_ as N}from"./BnYmAWDS.js";const I={key:0,class:"mt-2 grid grid-rows-[1fr]"},j={class:"flex min-h-0 flex-wrap items-center gap-2 overflow-hidden"},F={class:"text-sm text-secondary"},T=h({__name:"SlugSuggestions",props:{selected:{},suggestions:{},visible:{type:Boolean}},emits:["select"],setup(s,{emit:m}){const n=s,f=m,p=x(()=>n.suggestions.some(i=>i!==n.selected)),{formatMessage:_}=k(),b=V({label:{id:"project.slug-suggestions.label",defaultMessage:"Suggestions:"}});return(i,c)=>(e(),o(v,{name:"slug-suggestions"},{default:r(()=>[s.visible&&p.value?(e(),l("div",I,[d("div",j,[d("span",F,u(a(_)(a(b).label)),1),(e(!0),l(S,null,y(s.suggestions,t=>(e(),o(a(N),{key:t,action:()=>f("select",t),onMousedown:c[0]||(c[0]=w(()=>{},["prevent"]))},{default:r(()=>[t===s.selected?(e(),o(a(B),{key:0,"aria-hidden":"true"})):g("",!0),M(" "+u(t),1)]),_:2},1032,["action"]))),128))])])):g("",!0)]),_:1}))}}),E=C(T,[["__scopeId","data-v-953d27bb"]]);export{E as S};
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.