1import{r as d,j as s,a as w}from"./vendor-misc-BClVDx24.js";import{b as J}from"./hooks-DqBH1-u7.js";import{ad as A,a0 as T,a3 as O,a6 as E}from"./vendor-mui-FYMffA8L.js";import{a as M,u as R,b as B,c as F,d as H,C as D}from"./CardSpinner-ERdBK7yU.js";import{a0 as C,H as $,m as _}from"./index-ix0pwi0g.js";import{F as K}from"./vendor-forms-pfIGDO_X.js";import"./vendor-react-Bre3wEPB.js";import"./vendor-pdf-D7HrI6pR.js";function W(){const S="all",{searchJobs:x}=M(e=>e),k=R(),y=12,[c,I]=d.useState([]),[b,v]=d.useState(y),[n,N]=d.useState(C),{jobseekerHomepageData:m,isLoading:u}=J(S),[j,L]=d.useState((m==null?void 0:m.data)||[]),f=e=>{const t=`${_}/jobseeker/jobs/${e==null?void 0:e.contestId}`;window.open(t,"_blank","noopener,noreferrer")};return d.useEffect(()=>{let e=[...j];if(n.name&&(e=e.filter(t=>{var l;return(l=(t.jobTitle+t.companyName).toLowerCase())==null?void 0:l.includes(n.name.toLowerCase())})),n.location&&(e=e.filter(t=>{var l,r;return(r=(l=t.companyLocation||"")==null?void 0:l.toLowerCase())==null?void 0:r.includes(n.location.toLowerCase())})),n.jobType&&(e=e.filter(t=>t.jobType===n.jobType)),n.exp&&n.exp.length){const[t,l]=n.exp;e=e.filter(r=>{if(!r.experience)return!1;const i=r.experience.match(/\d+/g);if(!i)return!1;const o=Number(i[0]),p=i[1]?Number(i[1]):o,h=r.experience.includes("+")?1/0:p;return o<=Number(l||1/0)&&h>=Number(t)})}if(n.salary&&n.salary.length){const[t,l]=n.salary;e=e.filter(r=>{const i=Number(r.budget.split(" ")[0]),o=Number(r.budget.split(" ")[1])||i;return i<=Number(l)&&o>=Number(t)})}I(e),v(y)},[n,j]),d.useEffect(()=>{var e,t;N({name:((e=x==null?void 0:x.searchInput)==null?void 0:e.designation)||"",location:((t=x==null?void 0:x.searchInput)==null?void 0:t.location)||"",salary:[],exp:[],jobType:""})},[x]),d.useEffect(()=>{L((m==null?void 0:m.data)||[])},[m]),d.useEffect(()=>()=>{k({type:"SEARCH_JOBSEEKERS",payload:{designation:"",location:""}})},[]),s.jsxs("section",{children:[s.jsxs($,{children:[s.jsx("title",{children:"AI & ML Jobs in India â Browse All Openings | Hiringhood"}),s.jsx("meta",{name:"description",content:"Browse the latest AI, ML, Data Science and MLOps job openings in India. Apply to top tech companies hiring AI/ML talent right now on Hiringhood."}),s.jsx("link",{rel:"canonical",href:"https://hiringhood.ai/jobseeker/all-jobs/"}),s.jsx("meta",{name:"robots",content:"index, follow"}),s.jsx("meta",{property:"og:title",content:"AI/ML Jobs in India â Browse All Openings | Hiringhood"}),s.jsx("meta",{property:"og:description",content:"Explore AI/ML and technology job opportunities across India. Search jobs by role, company, location, and skills on Hiringhood."}),s.jsx("meta",{property:"og:url",content:"https://hiringhood.ai/jobseeker/all-jobs/"}),s.jsx("meta",{property:"og:image",content:"https://hiringhood.ai/images/blue-theme-images/hh-logo-theme.svg"})]}),s.jsx("div",{children:s.jsx("h1",{className:"text-2xl md:text-3xl text-center font-semibold text-primary-500 mb-4",children:"Find Your AI/ML Jobs"})}),s.jsx(K,{initialValues:n,onSubmit:e=>{N(e)},enableReinitialize:!0,children:({values:e,handleChange:t,handleSubmit:l,setFieldValue:r})=>{var o,p,h,g;const i=!e.name&&!e.location&&!e.jobType&&!((o=e.exp)!=null&&o.length)&&!((p=e.salary)!=null&&p.length);return s.jsx("form",{onSubmit:l,children:s.jsxs("div",{className:"bg-white border shadow-md rounded-2xl px-6 py-5",children:[s.jsx("p",{className:"text-sm text-gray-500 mb-3",children:"Search AI/ML Jobs"}),s.jsxs("div",{className:"border rounded-xl overflow-hidden flex flex-col md:flex-row",children:[s.jsxs("div",{className:"flex flex-col md:flex-row flex-1",children:[s.jsx("input",{name:"name",value:e.name,onChange:t,placeholder:"Job title, Company, or Keywords...",className:"flex-1 px-4 py-3 text-sm outline-none"}),s.jsx("div",{className:"hidden md:block w-px bg-gray-300"}),s.jsx("input",{name:"location",value:e.location,onChange:t,placeholder:"City, Region or Zip Code",className:"flex-1 px-4 py-3 text-sm outline-none"})]}),s.jsx("button",{type:"submit",className:"bg-primary-500 text-white px-6 py-3 text-sm w-full md:w-auto",children:"Find Jobs"})]}),s.jsxs("div",{className:"flex flex-wrap gap-3 mt-4",children:[s.jsxs("select",{name:"jobType",value:e.jobType,onCh
1ange:t,className:"px-4 cursor-pointer py-2 border rounded-lg text-sm",children:[s.jsx("option",{value:"",children:"Job Type"}),B.map(a=>s.jsx("option",{value:a.value,children:a.label},a.value))]}),s.jsxs("select",{name:"exp",value:(h=e.exp)!=null&&h.length?JSON.stringify(e.exp):"",onChange:a=>r("exp",JSON.parse(a.target.value)),className:"px-4 cursor-pointer py-2 border rounded-lg text-sm",children:[s.jsx("option",{value:"",children:"Experience Level"}),F.map(a=>s.jsx("option",{value:JSON.stringify(a.value),children:a.label},a.label))]}),s.jsxs("select",{name:"salary",value:(g=e.salary)!=null&&g.length?JSON.stringify(e.salary):"",onChange:a=>r("salary",JSON.parse(a.target.value)),className:"px-4 cursor-pointer py-2 border rounded-lg text-sm",children:[s.jsx("option",{value:"",children:"Salary Range"}),H.map(a=>s.jsx("option",{value:JSON.stringify(a.value),children:a.label},a.label))]}),s.jsx("button",{type:"button",disabled:i,onClick:()=>{r("name",""),r("location",""),r("jobType",""),r("exp",""),r("salary",""),N(C)},className:`text-sm ml-auto ${i?"text-gray-400 cursor-not-allowed border border-gray-400 rounded-lg px-3":"text-primary-500 border border-primary-500 rounded-lg p-1.5 px-3 hover:bg-primary-50 transition duration-300 ease-in-out"}`,children:"Clear all Filters"})]})]})})}}),s.jsx("div",{className:`md:mt-8 mt-3 ${(c==null?void 0:c.length)>0&&!u&&"grid"} grid-cols-1 md:grid-cols-2 lg:grid-cols-3 md:gap-6 gap-2`,children:(c==null?void 0:c.length)>0&&!u?s.jsx(w.Fragment,{children:c.slice(0,b).map(e=>{var t,l,r,i,o,p,h,g;return s.jsxs("div",{onClick:()=>f(e),className:"rounded-xl hover:border-2 hover:border-primary-500 transition-transform duration-300 ease-in-out hover:lg:scale-105 hover:lg:translate-y-none hover:-translate-y-0.5 shadow-lg md:p-5 p-3 bg-white border cursor-pointer",children:[s.jsxs("div",{className:"flex justify-between items-center",children:[s.jsx("h2",{className:"font-semibold md:text-[15px] text-gray-800",children:e==null?void 0:e.jobTitle}),s.jsx("span",{onClick:()=>f(e),title:"Bookmark",className:"text-xs text-secondary-500",children:s.jsx(A,{className:"text-sm !text-secondary-500"})})]}),s.jsxs("p",{className:"text-sm text-gray-500 mt-1",children:[e.companyName," ⢠",e==null?void 0:e.jobType," ⢠",(t=e==null?void 0:e.experience)==null?void 0:t.split(" ")[0]," - ",(l=e==null?void 0:e.experience)==null?void 0:l.split(" ")[1]," Years"]}),s.jsx(T,{placement:"top",title:s.jsx("div",{className:"flex flex-wrap gap-2 max-w-[300px] max-h-[150px] overflow-y-auto",children:(r=e==null?void 0:e.skills)==null?void 0:r.map(a=>s.jsx("span",{className:"text-xs bg-gray-100 px-2 py-1 rounded-md text-gray-600",children:a},a))}),children:s.jsxs("div",{className:"flex flex-wrap items-center gap-2 mt-3",children:[(o=(i=e==null?void 0:e.skills)==null?void 0:i.slice(0,2))==null?void 0:o.map(a=>s.jsx("span",{className:"text-xs bg-primary-100 px-2 py-1 rounded-md text-primary-500",children:a},a)),((p=e==null?void 0:e.skills)==null?void 0:p.length)>2&&s.jsxs("span",{className:"text-xs cursor-pointer text-primary-500",children:["+",e.skills.length-2," more"]})]})}),s.jsxs("div",{className:"mt-4 flex justify-between items-center",children:[s.jsxs("div",{children:[s.jsxs("span",{className:"font-semibold md:text-sm text-xs text-gray-800",children:["â¹",(h=e==null?void 0:e.budget)==null?void 0:h.split(" ")[0]," - â¹",(g=e==null?void 0:e.budget)==null?void 0:g.split(" ")[1]," LPA"]}),s.jsxs("span",{className:"ml-3 hidden md:inline-block",children:[s.jsx(O,{className:"!text-xs"})," ",e==null?void 0:e.companyLocation]})]}),s.jsxs("div",{className:"flex gap-2",children:[s.jsx("button",{onClick:()=>f(e),className:"bg-primary-500 text-white px-4 py-1.5 rounded-md text-xs",children:"Apply"}),s.jsxs("button",{onClick:()=>f(e),className:"border bg-secondary-50 flex items-center gap-1 border-secondary-300 text-secondary-600 px-3 py-1.5 rounded-md text-xs",children:[s.jsx(E,{className:"!text-xs"})," Refer"]})]})]})]},e==null?void 0:e.contestId)})}):u?s.jsx("div",{className:"mt-3 over md:mt-8 grid grid-cols-1 lg:grid-cols-3 md:grid-cols-2 gap-2 md:gap-6",children:Array(y).fill(0).map((e,t)=>s.jsx(D,{show:u,children:s.jsx("div",{className:"h-100"})},t))}):s.jsx(w.Fragment,{children:s.jsx("div",{className:"h-[30vh] flex items-center justify-center",children:s.jsx("h1",{className:"text-xl font-semibold",children:"No Jobs Found"})})})}),c.length>b&&s.jsx("div",{className:"flex justify-center mt-6",children:s.jsx("button",{onClick:()=>v(e=>e+y),className:"px-6 py-2 border border-secondary-500 text-secondary-600 rounded-lg hover:bg-secondary-500 hover:text-white",children:"Load More"})})]})}export{W 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.