import{j as e,d7 as l,bk as n}from"./react-vendor-xYZnmIII.js";import{B as i,J as t,K as c,M as o,e as m,N as d,O as p}from"./ui-components-CQM92IK3.js";import x from"./document-viewer-BIx4pvTR.js";import h from"./application-approval-CO56PHCb.js";import"./inertia-vendor-cBbDTmhJ.js";import"./ui-vendor-Ds9iwIxa.js";import"./interactive-vendor-B1OgcAgP.js";import"./input-error-_LAmvivg.js";import"./loading-button-D7aXR3K4.js";import"./richtor-BECSBxkh.js";const b=r=>{const{table:a}=r;return[{accessorKey:"name",header:({column:s})=>e.jsx("div",{className:"flex items-center",children:e.jsxs(i,{variant:"ghost",className:"p-0 hover:bg-transparent",onClick:()=>s.toggleSorting(s.getIsSorted()==="asc"),children:[a.name,e.jsx(l,{})]})}),cell:({row:s})=>e.jsx("div",{className:"capitalize",children:e.jsx("p",{children:s.original.user.name})})},{accessorKey:"resume",header:a.resume,cell:({row:s})=>e.jsx("div",{className:"capitalize",children:e.jsxs(t,{children:[e.jsx(c,{children:e.jsx(i,{children:a.view_resume})}),e.jsx(o,{className:"max-w-2xl p-0",children:e.jsxs(m,{className:"min-h-[90vh]",children:[e.jsx(d,{className:"p-6",children:e.jsx(p,{children:a.resume})}),e.jsx(x,{src:s.original.resume||"",className:"min-h-[80vh]"})]})})]})})},{accessorKey:"status",header:a.status,cell:({row:s})=>e.jsx("div",{className:"capitalize",children:e.jsx("span",{children:s.original.status})})},{id:"actions",header:()=>e.jsx("div",{className:"text-end",children:a.action}),cell:({row:s})=>e.jsx("div",{className:"flex items-center justify-end",children:e.jsx(h,{instructor:s.original,actionComponent:e.jsx(i,{size:"icon",variant:"secondary",children:e.jsx(n,{})})})})}]};export{b as default};
