1import{r as e,j as a}from"./vendor-react-CnnbmH0_.js";import{t as N,d as A}from"./index-B2OQ8b6_.js";import{a as n}from"./index-BR42CI16.js";import{S as L}from"./StatusBadge-u2wSdQSR.js";import{E as v}from"./EmptyState-D2B-edY2.js";import{A as F}from"./AgentSuggestionBanner-B1MD74S8.js";import{S as T}from"./SharedAutomationTab-CQ2vTV-9.js";import{q as O,i,bu as J,b0 as p,ah as m,O as U,bv as P,bw as Y,aP as B}from"./vendor-ui-Cy8RpR6q.js";import{u as G}from"./vendor-routing-C5D9NAgx.js";import"./vendor-observability-DI0Oez8v.js";import"./vendor-motion-Dgz3DBbi.js";import"./vendor-auth-DNBNrwrO.js";import"./users-B3j0SjAz.js";import"./tally-DyOGFY4V.js";import"./Dashboard-DsUTv6hq.js";import"./vendor-ux-ChjvAmS1.js";import"./Button-Ctp2Y-WT.js";import"./useTranslation-DBO3FXDX.js";import"./vendor-flow-DGi8CiTA.js";import"./vendor-charts-BsQW0Sox.js";const d="zoho_recruit",$="https://api.zapheit.com/integrations/oauth/callback/zoho_recruit",q={application_received:{label:"Application received",description:"Agent screens and scores new job applications",Icon:m},candidate_shortlisted:{label:"Candidate shortlisted",description:"Agent schedules interviews and notifies candidates",Icon:B},job_posted:{label:"Job posted",description:"Agent distributes job posts to external job boards",Icon:p},interview_scheduled:{label:"Interview scheduled",description:"Agent sends reminders and prep materials to candidates",Icon:B}},K=["List all open job postings","Show candidates in the final interview stage","Schedule an interview with candidate ID 12345 for tomorrow at 2pm",'Get all applications for the "Senior Engineer" role'],M=[{id:"jobs",label:"Jobs",Icon:p},{id:"candidates",label:"Candidates",Icon:m},{id:"automation",label:"Automation",Icon:U}];function ka(){const D=G(),[s,h]=e.useState(null),[r,k]=e.useState(!0),[j,y]=e.useState(!0),[c,C]=e.useState("jobs"),[b,g]=e.useState([]),[w,f]=e.useState([]),[E,R]=e.useState(!1),[_,Z]=e.useState(!1),W=e.useCallback(async()=>{k(!0);try{const t=await n.integrations.getAll(),u=(Array.isArray(t.data)?t.data:[]).find(z=>z.service_type===d||z.id===d);h((u==null?void 0:u.status)==="connected")}catch{h(!1)}finally{k(!1)}},[]),x=e.useCallback(async()=>{var t;R(!0);try{const o=await n.unifiedConnectors.executeAction(d,"list_job_openings",{per_page:20});o.success&&((t=o.data)!=null&&t.data)?g(o.data.data):o.success&&Array.isArray(o.data)&&g(o.data)}catch{}finally{R(!1)}},[]),l=e.useCallback(async()=>{var t;Z(!0);try{const o=await n.unifiedConnectors.executeAction(d,"list_candidates",{per_page:20});o.success&&((t=o.data)!=null&&t.data)?f(o.data.data):o.success&&Array.isArray(o.data)&&f(o.data)}catch{}finally{Z(!1)}},[]);e.useEffect(()=>{W()},[W]),e.useEffect(()=>{s&&(c==="jobs"&&x(),c==="candidates"&&l())},[s,c,x,l]);const S=e.useCallback(()=>{const t=n.integrations.getOAuthAuthorizeUrl("zoho_recruit",window.location.href);window.location.href=t},[]),I=e.useCallback(async()=>{if(confirm("Disconnect Zoho Recruit? Recruitment automation will stop."))try{await n.integrations.disconnect("zoho_recruit"),h(!1),N.success("Zoho Recruit disconnected")}catch{N.error("Failed to disconnect Zoho Recruit")}},[]);return a.jsxs("div",{className:"flex flex-col h-full bg-[#080b12]","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:125:4","data-matrix-name":"div","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"125","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22flex%20flex-col%20h-full%20bg-%5B%23080b12%5D%22%7D",children:[a.jsxs("div",{className:"flex items-center gap-3 px-5 py-4 border-b border-white/8 shrink-0","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:126:6","data-matrix-name":"div","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"126","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22flex%20items-center%20gap-3%20px-5%20py-4%20border-b%20border-white%2F8%20shrink-0%22%7D",children:[a.jsx("button",{onClick:()=>
1D("/dashboard/apps"),className:"p-1.5 rounded-lg hover:bg-white/10 text-text-muted hover:text-white transition-colors","aria-label":"Back",title:"Back","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:127:8","data-matrix-name":"button","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"127","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"button","data-component-content":"%7B%22onClick%22%3A%22%5BArrowFunctionExpression%5D%22%2C%22className%22%3A%22p-1.5%20rounded-lg%20hover%3Abg-white%2F10%20text-text-muted%20hover%3Atext-white%20transition-colors%22%2C%22title%22%3A%22Back%22%7D",children:a.jsx(O,{className:"w-4 h-4","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:128:10","data-matrix-name":"ArrowLeft","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"128","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"ArrowLeft","data-component-content":"%7B%22className%22%3A%22w-4%20h-4%22%7D"})}),a.jsx("div",{className:"w-8 h-8 rounded-lg bg-[#E42527] flex items-center justify-center shrink-0","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:130:8","data-matrix-name":"div","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"130","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22w-8%20h-8%20rounded-lg%20bg-%5B%23E42527%5D%20flex%20items-center%20justify-center%20shrink-0%22%7D",children:a.jsx("span",{className:"text-white text-xs font-bold","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:131:10","data-matrix-name":"span","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"131","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"span","data-component-content":"%7B%22className%22%3A%22text-white%20text-xs%20font-bold%22%7D",children:"ZR"})}),a.jsxs("div",{className:"flex-1 min-w-0","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:133:8","data-matrix-name":"div","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"133","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22flex-1%20min-w-0%22%7D",children:[a.jsx("h1",{className:"text-sm font-bold text-white","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:134:10","data-matrix-name":"h1","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"134","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"h1","data-component-content":"%7B%22className%22%3A%22text-sm%20font-bold%20text-white%22%7D",children:"Zoho Recruit"}),!r&&s!==null&&a.jsx("div",{className:"mt-0.5","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:136:12","data-matrix-name":"div","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"136","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22mt-0.5%22%7D",children:a.jsx(L,{status:s?"connected":"disconnected",size:"sm","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:136:36","data-matrix-name":"StatusBadge","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"136","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"StatusBadge","data-component-content":"%7B%22status%22%3A%22%5BConditionalExpression%5D%22%2C%22size%22%3A%22sm%22%7D"})})]}),r&&a.jsx(i,{className:"w-4 h-4 animate-spin text-text-subtle","data-matrix-id":"src/pages/dashboard/apps/workspaces
1/zoho-recruit/ZohoRecruitWorkspace.tsx:139:21","data-matrix-name":"Loader2","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"139","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"Loader2","data-component-content":"%7B%22className%22%3A%22w-4%20h-4%20animate-spin%20text-text-subtle%22%7D"}),!r&&s&&a.jsxs("button",{onClick:()=>void I(),className:"flex items-center gap-1.5 px-3 py-1.5 rounded-lg bg-white/[0.06] hover:bg-danger-fill/20 text-text-muted hover:text-danger text-xs font-medium transition-colors","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:141:10","data-matrix-name":"button","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"141","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"button","data-component-content":"%7B%22onClick%22%3A%22%5BArrowFunctionExpression%5D%22%2C%22className%22%3A%22flex%20items-center%20gap-1.5%20px-3%20py-1.5%20rounded-lg%20bg-white%2F%5B0.06%5D%20hover%3Abg-danger-fill%2F20%20text-text-muted%20hover%3Atext-danger%20text-xs%20font-medium%20transition-colors%22%7D",children:[a.jsx(J,{className:"w-3.5 h-3.5","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:142:12","data-matrix-name":"Link2Off","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"142","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"Link2Off","data-component-content":"%7B%22className%22%3A%22w-3.5%20h-3.5%22%7D"}),"Disconnect"]})]}),a.jsx("div",{className:"flex items-center gap-1 px-5 py-2 border-b border-white/5 shrink-0","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:148:6","data-matrix-name":"div","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"148","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22flex%20items-center%20gap-1%20px-5%20py-2%20border-b%20border-white%2F5%20shrink-0%22%7D",children:M.map(t=>a.jsxs("button",{onClick:()=>C(t.id),className:A("flex items-center gap-1.5 px-3 py-1.5 rounded-lg text-xs font-medium transition-colors",c===t.id?"bg-white/10 text-white":"text-text-subtle hover:text-text-soft hover:bg-white/[0.04]"),"data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:150:10","data-matrix-name":"button","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"150","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"button","data-component-content":"%7B%22onClick%22%3A%22%5BArrowFunctionExpression%5D%22%2C%22className%22%3A%22%5BCallExpression%5D%22%7D",children:[a.jsx(t.Icon,{className:"w-3.5 h-3.5"}),t.label]},t.id))}),a.jsxs("div",{className:"flex-1 overflow-y-auto","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:160:6","data-matrix-name":"div","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"160","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22flex-1%20overflow-y-auto%22%7D",children:[!r&&!s&&a.jsx("div",{className:"flex items-center justify-center p-8 h-full","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:162:10","data-matrix-name":"div","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"162","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22flex%20items-center%20justify-center%20p-8%20h-full%22%7D",children:a.jsxs("div",{className:"w-full max-w-sm space-y-5","data-matrix-id":"src/pages/dashboard/apps/workspaces
1/zoho-recruit/ZohoRecruitWorkspace.tsx:163:12","data-matrix-name":"div","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"163","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22w-full%20max-w-sm%20space-y-5%22%7D",children:[a.jsxs("div",{className:"text-center space-y-2","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:164:14","data-matrix-name":"div","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"164","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22text-center%20space-y-2%22%7D",children:[a.jsx("div",{className:"w-12 h-12 rounded-xl bg-[#E42527] flex items-center justify-center mx-auto","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:165:16","data-matrix-name":"div","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"165","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22w-12%20h-12%20rounded-xl%20bg-%5B%23E42527%5D%20flex%20items-center%20justify-center%20mx-auto%22%7D",children:a.jsx(p,{className:"w-6 h-6 text-white","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:166:18","data-matrix-name":"Briefcase","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"166","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"Briefcase","data-component-content":"%7B%22className%22%3A%22w-6%20h-6%20text-white%22%7D"})}),a.jsx("h2",{className:"text-base font-semibold text-white","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:168:16","data-matrix-name":"h2","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"168","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"h2","data-component-content":"%7B%22className%22%3A%22text-base%20font-semibold%20text-white%22%7D",children:"Connect Zoho Recruit"}),a.jsx("p",{className:"text-sm text-text-muted","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:169:16","data-matrix-name":"p","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"169","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"p","data-component-content":"%7B%22className%22%3A%22text-sm%20text-text-muted%22%7D",children:"Authorize Zapheit to manage jobs, candidates, and interviews."})]}),a.jsxs("div",{className:"rounded-lg border border-white/10 bg-white/[0.03] p-4 space-y-2","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:171:14","data-matrix-name":"div","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"171","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22rounded-lg%20border%20border-white%2F10%20bg-white%2F%5B0.03%5D%20p-4%20space-y-2%22%7D",children:[a.jsx("p",{className:"text-[11px] font-medium text-text-muted uppercase tracking-wide","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:172:16","data-matrix-name":"p","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"172","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"p","data-component-content":"%7B%22className%22%3A%22text-%5B11px%5D%20font-medium%20text-text-muted%20uppercase%20tracking-wide%22%7D",children:"OAuth 2.0"}),a.jsxs("div",{className:"flex items-start gap-2 pt-1","data-matrix-id":"src/pages/dashboard/apps/workspaces
1/zoho-recruit/ZohoRecruitWorkspace.tsx:173:16","data-matrix-name":"div","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"173","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22flex%20items-start%20gap-2%20pt-1%22%7D",children:[a.jsx(P,{className:"w-3.5 h-3.5 text-text-subtle mt-0.5 shrink-0","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:174:18","data-matrix-name":"Info","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"174","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"Info","data-component-content":"%7B%22className%22%3A%22w-3.5%20h-3.5%20text-text-subtle%20mt-0.5%20shrink-0%22%7D"}),a.jsxs("p",{className:"text-[11px] text-text-subtle","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:175:18","data-matrix-name":"p","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"175","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"p","data-component-content":"%7B%22className%22%3A%22text-%5B11px%5D%20text-text-subtle%22%7D",children:["Callback URL: ",a.jsx("span",{className:"font-mono text-text-muted","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:175:76","data-matrix-name":"span","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"175","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"span","data-component-content":"%7B%22className%22%3A%22font-mono%20text-text-muted%22%7D",children:$})]})]})]}),a.jsxs("button",{onClick:S,className:"w-full flex items-center justify-center gap-2 px-4 py-2.5 rounded-lg bg-[#E42527] hover:bg-[#c91f22] text-white text-sm font-semibold transition-colors","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:178:14","data-matrix-name":"button","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"178","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"button","data-component-content":"%7B%22onClick%22%3A%22%5BIdentifier%5D%22%2C%22className%22%3A%22w-full%20flex%20items-center%20justify-center%20gap-2%20px-4%20py-2.5%20rounded-lg%20bg-%5B%23E42527%5D%20hover%3Abg-%5B%23c91f22%5D%20text-white%20text-sm%20font-semibold%20transition-colors%22%7D",children:[a.jsx(Y,{className:"w-4 h-4","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:179:16","data-matrix-name":"Link2","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"179","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"Link2","data-component-content":"%7B%22className%22%3A%22w-4%20h-4%22%7D"}),"Connect Zoho Recruit with OAuth"]})]})}),r&&a.jsx("div",{className:"flex items-center justify-center h-full","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:187:10","data-matrix-name":"div","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"187","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22flex%20items-center%20justify-center%20h-full%22%7D",children:a.jsxs("div",{className:"flex flex-col items-center gap-3 text-text-subtle","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:188:12","data-matrix-name":"div","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"188","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22flex%20flex-col%20items-center%20gap-3%20text-text-subtle%22%7D",children:[a.jsx(i,{className:"w-6 h-6 animate-spin","data-matrix-id":"src/pages/dashboard/apps/workspaces
1/zoho-recruit/ZohoRecruitWorkspace.tsx:189:14","data-matrix-name":"Loader2","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"189","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"Loader2","data-component-content":"%7B%22className%22%3A%22w-6%20h-6%20animate-spin%22%7D"}),a.jsx("span",{className:"text-sm","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:190:14","data-matrix-name":"span","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"190","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"span","data-component-content":"%7B%22className%22%3A%22text-sm%22%7D",children:"Checking connectionâ¦"})]})}),!r&&s&&c==="jobs"&&a.jsxs("div",{className:"p-5 space-y-3","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:196:10","data-matrix-name":"div","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"196","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22p-5%20space-y-3%22%7D",children:[a.jsxs("div",{className:"flex items-center justify-between mb-1","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:197:12","data-matrix-name":"div","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"197","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22flex%20items-center%20justify-between%20mb-1%22%7D",children:[a.jsx("h2",{className:"text-sm font-semibold text-white","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:198:14","data-matrix-name":"h2","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"198","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"h2","data-component-content":"%7B%22className%22%3A%22text-sm%20font-semibold%20text-white%22%7D",children:"Job Openings"}),a.jsx("button",{onClick:()=>void x(),className:"text-xs text-text-subtle hover:text-text-soft transition-colors","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:199:14","data-matrix-name":"button","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"199","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"button","data-component-content":"%7B%22onClick%22%3A%22%5BArrowFunctionExpression%5D%22%2C%22className%22%3A%22text-xs%20text-text-subtle%20hover%3Atext-text-soft%20transition-colors%22%7D",children:"Refresh"})]}),j&&a.jsx(F,{serviceId:"zoho_recruit",onDismiss:()=>y(!1),"data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:201:27","data-matrix-name":"AgentSuggestionBanner","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"201","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"AgentSuggestionBanner","data-component-content":"%7B%22serviceId%22%3A%22zoho_recruit%22%2C%22onDismiss%22%3A%22%5BArrowFunctionExpression%5D%22%7D"}),E?a.jsx("div",{className:"flex items-center justify-center py-12","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:203:14","data-matrix-name":"div","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"203","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22flex%20items-center%20justify-center%20py-12%22%7D",children:a.jsx(i,{className:"w-5 h-5 animate-spin text-text-subtle","data-matrix-id":"src/pages/dashboard/apps/workspaces
1/zoho-recruit/ZohoRecruitWorkspace.tsx:203:70","data-matrix-name":"Loader2","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"203","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"Loader2","data-component-content":"%7B%22className%22%3A%22w-5%20h-5%20animate-spin%20text-text-subtle%22%7D"})}):b.length===0?a.jsx(v,{icon:p,title:"No job openings",description:"Your Zoho Recruit job openings will appear here.","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:205:14","data-matrix-name":"EmptyState","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"205","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"EmptyState","data-component-content":"%7B%22icon%22%3A%22%5BIdentifier%5D%22%2C%22title%22%3A%22No%20job%20openings%22%2C%22description%22%3A%22Your%20Zoho%20Recruit%20job%20openings%20will%20appear%20here.%22%7D"}):a.jsx("div",{className:"space-y-2","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:207:14","data-matrix-name":"div","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"207","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22space-y-2%22%7D",children:b.map(t=>a.jsxs("div",{className:"rounded-lg border border-white/8 bg-white/[0.03] p-4 flex items-start gap-3","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:209:18","data-matrix-name":"div","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"209","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22rounded-lg%20border%20border-white%2F8%20bg-white%2F%5B0.03%5D%20p-4%20flex%20items-start%20gap-3%22%7D",children:[a.jsx("div",{className:"w-8 h-8 rounded-lg bg-[#E42527]/20 border border-[#E42527]/30 flex items-center justify-center shrink-0 mt-0.5","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:210:20","data-matrix-name":"div","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"210","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22w-8%20h-8%20rounded-lg%20bg-%5B%23E42527%5D%2F20%20border%20border-%5B%23E42527%5D%2F30%20flex%20items-center%20justify-center%20shrink-0%20mt-0.5%22%7D",children:a.jsx(p,{className:"w-4 h-4 text-[#E42527]","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:211:22","data-matrix-name":"Briefcase","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"211","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"Briefcase","data-component-content":"%7B%22className%22%3A%22w-4%20h-4%20text-%5B%23E42527%5D%22%7D"})}),a.jsxs("div",{className:"flex-1 min-w-0","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:213:20","data-matrix-name":"div","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"213","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22flex-1%20min-w-0%22%7D",children:[a.jsx("p",{className:"text-sm font-medium text-white truncate","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:214:22","data-matrix-name":"p","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"214","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"p","data-component-content":"%7B%22className%22%3A%22text-sm%20font-medium%20text-white%20truncate%22%7D",children:t.Posting_Title}),a.jsxs("p",{className:"text-xs text-text-muted mt-0.5","data-matrix-id":"src/pages/dashboard/apps/workspaces
1/zoho-recruit/ZohoRecruitWorkspace.tsx:215:22","data-matrix-name":"p","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"215","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"p","data-component-content":"%7B%22className%22%3A%22text-xs%20text-text-muted%20mt-0.5%22%7D",children:[t.Department||"",t.Number_of_Positions?` · ${t.Number_of_Positions} position(s)`:""]}),t.Job_Opening_Status&&a.jsx("span",{className:A("text-[10px] px-1.5 py-0.5 rounded font-medium mt-1 inline-block",t.Job_Opening_Status==="In-progress"?"bg-success-fill/15 text-success":"bg-slate-500/15 text-text-muted"),"data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:217:24","data-matrix-name":"span","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"217","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"span","data-component-content":"%7B%22className%22%3A%22%5BCallExpression%5D%22%7D",children:t.Job_Opening_Status})]})]},t.id))})]}),!r&&s&&c==="candidates"&&a.jsxs("div",{className:"p-5 space-y-3","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:230:10","data-matrix-name":"div","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"230","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22p-5%20space-y-3%22%7D",children:[a.jsxs("div",{className:"flex items-center justify-between mb-1","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:231:12","data-matrix-name":"div","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"231","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22flex%20items-center%20justify-between%20mb-1%22%7D",children:[a.jsx("h2",{className:"text-sm font-semibold text-white","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:232:14","data-matrix-name":"h2","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"232","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"h2","data-component-content":"%7B%22className%22%3A%22text-sm%20font-semibold%20text-white%22%7D",children:"Candidates"}),a.jsx("button",{onClick:()=>void l(),className:"text-xs text-text-subtle hover:text-text-soft transition-colors","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:233:14","data-matrix-name":"button","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"233","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"button","data-component-content":"%7B%22onClick%22%3A%22%5BArrowFunctionExpression%5D%22%2C%22className%22%3A%22text-xs%20text-text-subtle%20hover%3Atext-text-soft%20transition-colors%22%7D",children:"Refresh"})]}),_?a.jsx("div",{className:"flex items-center justify-center py-12","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:236:14","data-matrix-name":"div","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"236","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22flex%20items-center%20justify-center%20py-12%22%7D",children:a.jsx(i,{className:"w-5 h-5 animate-spin text-text-subtle","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:236:70","data-matrix-name":"Loader2","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"236","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"Loader2","data-component-content":"%7B%22className%22%3A%22w-5%20h-5%20animate-spin%20text-text-subtle%22%7D"})}):w.length===0?a.jsx(v,{icon:m,title:"No candidates",description:"Your Zoho Recruit candidates will appear here.","data-matrix-id":"src/pages/dashboard/apps/workspaces
1/zoho-recruit/ZohoRecruitWorkspace.tsx:238:14","data-matrix-name":"EmptyState","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"238","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"EmptyState","data-component-content":"%7B%22icon%22%3A%22%5BIdentifier%5D%22%2C%22title%22%3A%22No%20candidates%22%2C%22description%22%3A%22Your%20Zoho%20Recruit%20candidates%20will%20appear%20here.%22%7D"}):a.jsx("div",{className:"space-y-2","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:240:14","data-matrix-name":"div","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"240","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22space-y-2%22%7D",children:w.map(t=>a.jsxs("div",{className:"rounded-lg border border-white/8 bg-white/[0.03] p-4 flex items-start gap-3","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:242:18","data-matrix-name":"div","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"242","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22rounded-lg%20border%20border-white%2F8%20bg-white%2F%5B0.03%5D%20p-4%20flex%20items-start%20gap-3%22%7D",children:[a.jsx("div",{className:"w-8 h-8 rounded-lg bg-[#E42527]/20 border border-[#E42527]/30 flex items-center justify-center shrink-0 mt-0.5","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:243:20","data-matrix-name":"div","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"243","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22w-8%20h-8%20rounded-lg%20bg-%5B%23E42527%5D%2F20%20border%20border-%5B%23E42527%5D%2F30%20flex%20items-center%20justify-center%20shrink-0%20mt-0.5%22%7D",children:a.jsx(m,{className:"w-4 h-4 text-[#E42527]","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:244:22","data-matrix-name":"Users","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"244","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"Users","data-component-content":"%7B%22className%22%3A%22w-4%20h-4%20text-%5B%23E42527%5D%22%7D"})}),a.jsxs("div",{className:"flex-1 min-w-0","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:246:20","data-matrix-name":"div","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"246","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22flex-1%20min-w-0%22%7D",children:[a.jsx("p",{className:"text-sm font-medium text-white truncate","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:247:22","data-matrix-name":"p","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"247","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"p","data-component-content":"%7B%22className%22%3A%22text-sm%20font-medium%20text-white%20truncate%22%7D",children:t.Full_Name||"â"}),a.jsxs("p",{className:"text-xs text-text-muted mt-0.5","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:248:22","data-matrix-name":"p","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"248","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"p","data-component-content":"%7B%22className%22%3A%22text-xs%20text-text-muted%20mt-0.5%22%7D",children:[t.Current_Job_Title||"",t.Email?` · ${t.Email}`:""]}),t.Candidate_Status&&a.jsx("span",{className:"text-[10px] px-1.5 py-0.5 rounded bg-slate-500/15 text-text-muted font-medium mt
1-1 inline-block","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:250:24","data-matrix-name":"span","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"250","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"span","data-component-content":"%7B%22className%22%3A%22text-%5B10px%5D%20px-1.5%20py-0.5%20rounded%20bg-slate-500%2F15%20text-text-muted%20font-medium%20mt-1%20inline-block%22%7D",children:t.Candidate_Status})]})]},t.id))})]}),!r&&s&&c==="automation"&&a.jsx(T,{connectorId:"zoho_recruit",triggerTypes:q,nlExamples:K,accentColor:"orange","data-matrix-id":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx:261:10","data-matrix-name":"SharedAutomationTab","data-component-path":"src/pages/dashboard/apps/workspaces/zoho-recruit/ZohoRecruitWorkspace.tsx","data-component-line":"261","data-component-file":"ZohoRecruitWorkspace.tsx","data-component-name":"SharedAutomationTab","data-component-content":"%7B%22connectorId%22%3A%22zoho_recruit%22%2C%22triggerTypes%22%3A%22%5BIdentifier%5D%22%2C%22nlExamples%22%3A%22%5BIdentifier%5D%22%2C%22accentColor%22%3A%22orange%22%7D"})]})]})}export{ka as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.