1import{_ as C,r as y,f as h,o as l,c,d as a,b as x,w as k,n as u,v as o,C as p,F as T,t as B,a as H,j as N,q as R}from"./D6m9GoYU.js";const V={class:"ressources-head"},b={class:"head-title"},w={class:"categories"},F=["onClick"],L={__name:"RessourcesHead",props:{items:Array},emits:["updateCategory"],setup(n,{emit:_}){const d=n,r=y("Toutes"),g=_,f=s=>d.items.map(e=>e.categorie).filter(e=>e===s).length,m=s=>{r.value=s,g("updateCategory",s),N.updateHeight.emit()},v=h(()=>d.items.map(s=>s.categorie).filter((s,e,i)=>i.indexOf(s)===e));return(s,e)=>{const i=R;return l(),c("div",V,[a("div",b,[x(i,{tag:"h1",delay:.75},{default:k(()=>e[1]||(e[1]=[u("Ressources")])),_:1}),a("sup",null,o(n.items.length),1)]),a("ul",w,[a("li",{onClick:e[0]||(e[0]=t=>m("Toutes")),class:p([{"active-category":r.value==="Toutes"},"ressources-category"])},[e[2]||(e[2]=u(" Toutes ")),a("sup",null,o(n.items.length),1)],2),(l(!0),c(T,null,B(H(v),t=>(l(),c("li",{key:t,onClick:$=>m(t),class:p([{"active-category":r.value===t},"ressources-category"])},[u(o(t)+" ",1),a("sup",null,o(f(t)),1)],10,F))),128))])])}}},q=C(L,[["__scopeId","data-v-22f2d909"]]);export{q 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.