import{u as m,aA as r,a as x,j as s,bX as a,h as c}from"./bundle.CHKSNOJF.js";function h(l){const[t]=m(),e=r(),o=x(),{client:i,displayClientName:d,clientId:n}=l;return s.jsxs("div",{className:"flex flex-col space-y-1",children:[d&&s.jsx("span",{className:"text-sm font-medium",children:i?.display_name}),s.jsxs("div",{className:"space-x-2",children:[e("edit_client")&&s.jsx(a,{className:"font-medium",to:c("/clients/:id/edit",{id:i?.id||n}),children:t("edit")}),e("edit_client")&&s.jsx("span",{className:"text-sm",style:{color:o.$21},children:"|"}),(e("view_client")||e("edit_client"))&&s.jsx(a,{className:"font-medium",to:c("/clients/:id",{id:i?.id||n}),children:t("view")})]})]})}export{h as C};
