import{j as e,cW as l,x as t}from"./vendor-rThclpOQ.js";import{B as r}from"./button-ZcsoqUQn.js";import{D as c,a as n,b as o,c as m,d}from"./dialog-CDEDwQhm.js";import{S as p}from"./scroll-area-BCwyUKIK.js";import x from"./document-viewer-DPJWf2TR.js";import h from"./application-approval-DeRb2hni.js";import"./index-DquVdLUg.js";import"./utils-8KAaAB9H.js";import"./input-error-Br4ngfdE.js";import"./loading-button-DKhpmf6V.js";import"./label-CtY1vfZY.js";import"./select-u0okJC03.js";import"./richtor-BYY1_E6w.js";const C=i=>{const{table:a}=i;return[{accessorKey:"name",header:({column:s})=>e.jsx("div",{className:"flex items-center",children:e.jsxs(r,{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(c,{children:[e.jsx(n,{children:e.jsx(r,{children:a.view_resume})}),e.jsx(o,{className:"max-w-2xl p-0",children:e.jsxs(p,{className:"min-h-[90vh]",children:[e.jsx(m,{className:"p-6",children:e.jsx(d,{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(r,{size:"icon",variant:"secondary",children:e.jsx(t,{})})})})}]};export{C as default};
