import{_ as u}from"./CcwPPakA.js";import{d as m,i as f,dy as _,f as s,b as a,e as n,a as r,F as i,n as c,t,q as y,u as h}from"./B2UyoCas.js";import"./B-TjZPEJ.js";import"./DvpWg0hF.js";import"./C9KnTrrC.js";const g={class:"text-sm"},k={class:"group flex items-center gap-1 cursor-pointer"},C={class:"font-medium text-uiText"},T={class:"pt-2"},b=m({__name:"ChartAdditionalInfo",props:{data:{},infoType:{default:"cookies"}},setup(d){const o=d,l=f(()=>o.infoType==="cookies"?o.data.map(e=>e.url||e.url.url):o.data.map(e=>({content:e.url||e.url.url,status:{text:typeof e.size=="number"?_(e.size/1024,"bytes"):e.size,color:"info"}})));return(e,v)=>{const p=u;return a(),s("div",g,[n("div",k,[n("div",C,[e.infoType==="cookies"?(a(),s(i,{key:0},[c(t(e.$t("cookieDomains"))+" ("+t(e.data.length)+") ",1)],64)):r("",!0),e.infoType==="bigFiles"?(a(),s(i,{key:1},[c(t(e.$t("actualSlowElements"))+" ("+t(e.data.length)+") ",1)],64)):r("",!0)])]),n("div",T,[y(p,{entries:h(l),format:"comma"},null,8,["entries"])])])}}}),A=Object.assign(b,{__name:"ChartAdditionalInfo"});export{A as default};
