import{d as x,H as V,bP as g,C as o,h as s,Q as p,R as a,f as u,G as m,v as e,i as r,c,D as C,y as l,x as d,V as b,cw as w}from"./index-C5GbdPxY.js";import{a as f,V as R}from"./VAvatar-RkAR0u0e.js";import{c as B}from"./VCard-DptrO3GI.js";import"./VImg-BlqLjeEy.js";const N={class:"mb-1 text-body-1 font-weight-bold"},$={class:"text-body-2"},F=x({__name:"Index",setup(v){const{t:n}=V(),{goToReport:_,hasGroupPermissions:k,hasReportPermission:y}=g();return(I,P)=>(s(!0),o(a,null,p(e(w),(h,i)=>(s(),o(a,{key:i},[e(k)(i)?(s(),u(R,{key:0},{default:r(()=>[c(f,{class:"text-h6 font-weight-bold",cols:"12"},{default:r(()=>[C(l(e(n)(`report::reports.groups.${i}`)),1)]),_:2},1024),(s(!0),o(a,null,p(h,t=>(s(),o(a,{key:t.key},[e(y)(t.key)?(s(),u(f,{key:0,cols:"12",md:"4",sm:"6"},{default:r(()=>[c(B,{class:"d-flex align-center gap-2 pa-4",onClick:D=>e(_)(t.key)},{default:r(()=>[c(b,{color:"primary",icon:t.icon,size:"48"},null,8,["icon"]),d("div",null,[d("p",N,l(e(n)(`report::reports.definitions.${t.key}.title`)),1),d("span",$,l(e(n)(`report::reports.definitions.${t.key}.description`)),1)])]),_:2},1032,["onClick"])]),_:2},1024)):m("",!0)],64))),128))]),_:2},1024)):m("",!0)],64))),128))}});export{F as default};
