import{_ as m}from"./i0fBWypb.js";import{d as u,g as f,c5 as _,e as s,o as a,b as n,l as r,F as i,n as c,t,a as h,m as y}from"./Dk4AzF7j.js";import"./BtsG96Qa.js";import"./BXyDg5m4.js";import"./BnFHREeV.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=u({__name:"ChartAdditionalInfo",props:{data:{},infoType:{default:"cookies"}},setup(l){const o=l,d=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=m;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,[h(p,{entries:y(d),format:"comma"},null,8,["entries"])])])}}}),A=Object.assign(b,{__name:"ChartAdditionalInfo"});export{A as default};
