PageSourceSearch

https://hsl.co.in/build/assets/Careers-ycNJ97tj.js

js hsl.co.in collected 2026-10-09 22:40:39 UTC 9,808 bytes, 1 lines download raw bytes

1import{r as a,j as e,x as C}from"./app-Mnt2IEGe.js";import{G as P}from"./GuestLayout-BYnLiqFZ.js";import{B as g}from"./briefcase-DHbau_x5.js";import{S as $}from"./search-BeXkNHdv.js";import{M as _}from"./map-pin-BuVEKMGp.js";import{C as D}from"./chevron-down-BlAiga6f.js";import{C as L}from"./calendar-BUCjVDoJ.js";import{C as z}from"./chevron-right-D8Tdk6TR.js";import"./ApplicationLogo-JvKRx6b1.js";import"./x-B1Pn9Kmg.js";import"./message-circle-D4MbkUVn.js";import"./phone-DSAsYLtt.js";import"./user-ad0RTXxq.js";import"./package-CT4joqbC.js";import"./truck-CpGakV_6.js";import"./shopping-cart-DokKNEt4.js";import"./clock-Dnho5FNh.js";import"./shield-Da3uiB5y.js";import"./mail-Ce-sk81h.js";const T=(l,c)=>{const r={};return l.forEach(n=>{const o=(n[c]||"").trim();o&&(r[o]=(r[o]||0)+1)}),Object.entries(r).sort(([n],[o])=>n.localeCompare(o))};function de({careers:l=[]}){const[c,r]=a.useState(""),[n,o]=a.useState("all"),[u,b]=a.useState("all"),[y,j]=a.useState(""),[x,f]=a.useState("all"),[p,v]=a.useState("all"),[d,N]=a.useState("all"),[m,w]=a.useState("all"),E=a.useMemo(()=>T(l,"location"),[l]),h=a.useMemo(()=>T(l,"experience"),[l]),I=t=>{t.preventDefault(),j(c.trim()),f(n),v(u)},B=a.useMemo(()=>{const t=new Set(l.map(s=>s.department).filter(Boolean));return Array.from(t).sort()},[l]),F=a.useMemo(()=>{const t=new Set(l.map(s=>s.job_type).filter(Boolean));return Array.from(t).sort()},[l]),i=a.useMemo(()=>{const t=y.toLowerCase();return l.filter(s=>{const M=[s.job_title,s.department,s.location,s.skills].some(O=>(O||"").toLowerCase().includes(t)),A=x==="all"||(s.location||"").trim()===x,G=p==="all"||(s.experience||"").trim()===p,K=d==="all"||s.department===d,R=m==="all"||s.job_type===m;return M&&A&&G&&K&&R})},[l,y,x,p,d,m]),J=()=>{r(""),o("all"),b("all"),j(""),f("all"),v("all"),N("all"),w("all")},S="w-full h-full appearance-none bg-transparent pl-11 pr-10 py-4 text-gray-800 focus:outline-none cursor-pointer",k=t=>t?new Date(t).toLocaleDateString("en-IN",{year:"numeric",month:"short",day:"numeric"}):"";return e.jsx(P,{title:"Careers",children:e.jsxs("div",{className:"min-h-screen bg-gray-50",children:[e.jsxs("section",{className:"relative overflow-hidden bg-gradient-to-br from-primary via-primary to-indigo-800 py-20 sm:py-24 lg:py-28",children:[e.jsx("div",{className:"absolute inset-0 bg-black/10"}),e.jsx("div",{className:"relative max-w-7xl mx-auto px-6 sm:px-12 lg:px-20",children:e.jsxs("div",{className:"text-center",children:[e.jsxs("div",{className:"inline-flex items-center px-6 py-3 bg-white/20 backdrop-blur-sm rounded-full text-white text-lg font-bold shadow-lg mb-6 border border-white/30",children:[e.jsx(g,{className:"w-5 h-5 mr-3"}),"Join Our Team"]}),e.jsx("h1",{className:"text-4xl sm:text-5xl lg:text-6xl font-extrabold text-white mb-6 tracking-tight leading-tight",children:"Build Your Career with HSL"}),e.jsx("p",{className:"text-lg sm:text-xl text-primary-light max-w-3xl mx-auto leading-relaxed mb-8",children:"Be part of a mission to make healthcare accessible to everyone. Join a team dedicated to wellness and innovation."})]})})]}),e.jsx("div",{className:"relative z-10 max-w-7xl mx-auto px-6 sm:px-12 lg:px-20 -mt-12",children:e.jsx("form",{onSubmit:I,className:"bg-white rounded-2xl shadow-lg p-5 sm:p-6",children:e.jsxs("div",{className:`grid grid-cols-1 ${h.length>0?"md:grid-cols-[1fr_1fr_1fr_auto]":"md:grid-cols-[1fr_1fr_auto]"} gap-3 md:gap-0 md:items-end`,children:[e.jsxs("div",{children:[e.jsx("label",{htmlFor:"career-keyword",className:"block text-sm font-semibold text-gray-800 mb-2",children:"Skill/Keyword"}),e.jsxs("div",{className:"relative border border-gray-200 bg-gray-50 rounded-lg md:rounded-r-none",children:[e.jsx($,{className:"absolute left-4 top-1/2 -translate-y-1/2 w-5 h-5 text-gray-400 pointer-events-none"}),e.jsx("input",{id:"career-keyword",type:"text",placeholder:"Skill / Keyword",value:c,onChange:t=>r(t.target.value),className:"w-full bg-transparent border-0 pl-11 pr-4 py-4 text-gray-900 placeholder-gray-400 focus:outline-none focus:ring-0"})]})]}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"career-location",className:"block text-sm font-semibold text-gray-800 mb
1-2 md:pl-1",children:"Location"}),e.jsxs("div",{className:"relative border border-gray-200 bg-gray-50 rounded-lg md:rounded-none md:border-l-0",children:[e.jsx(_,{className:"absolute left-4 top-1/2 -translate-y-1/2 w-5 h-5 text-gray-400 pointer-events-none"}),e.jsxs("select",{id:"career-location",value:n,onChange:t=>o(t.target.value),className:S,style:{backgroundImage:"none"},children:[e.jsx("option",{value:"all",children:"Select location"}),E.map(([t,s])=>e.jsxs("option",{value:t,children:[t," (",s,")"]},t))]}),e.jsx(D,{className:"absolute right-4 top-1/2 -translate-y-1/2 w-4 h-4 text-gray-500 pointer-events-none"})]})]}),h.length>0&&e.jsxs("div",{children:[e.jsx("label",{htmlFor:"career-experience",className:"block text-sm font-semibold text-gray-800 mb-2 md:pl-1",children:"Experience"}),e.jsxs("div",{className:"relative border border-gray-200 bg-gray-50 rounded-lg md:rounded-none md:border-l-0",children:[e.jsx(g,{className:"absolute left-4 top-1/2 -translate-y-1/2 w-5 h-5 text-gray-400 pointer-events-none"}),e.jsxs("select",{id:"career-experience",value:u,onChange:t=>b(t.target.value),className:S,style:{backgroundImage:"none"},children:[e.jsx("option",{value:"all",children:"Experience"}),h.map(([t,s])=>e.jsxs("option",{value:t,children:[t," (",s,")"]},t))]}),e.jsx(D,{className:"absolute right-4 top-1/2 -translate-y-1/2 w-4 h-4 text-gray-500 pointer-events-none"})]})]}),e.jsx("button",{type:"submit",className:"px-10 py-4 bg-primary text-white font-semibold rounded-lg md:rounded-l-none border border-primary hover:opacity-90 transition-opacity",children:"Find Jobs"})]})})}),e.jsx("div",{className:"max-w-7xl mx-auto px-6 sm:px-12 lg:px-20 py-12",children:e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-4 gap-6",children:[e.jsx("div",{className:"lg:col-span-1",children:e.jsxs("div",{className:"bg-white rounded-lg shadow-sm p-6 sticky top-4",children:[e.jsx("h3",{className:"font-bold text-lg mb-4",children:"Filters"}),e.jsxs("div",{className:"mb-6",children:[e.jsx("label",{className:"block text-sm font-semibold text-gray-700 mb-2",children:"Department"}),e.jsxs("select",{value:d,onChange:t=>N(t.target.value),className:"w-full px-3 py-2 border border-gray-300 rounded-lg text-sm focus:outline-none focus:ring-2 focus:ring-blue-500",children:[e.jsx("option",{value:"all",children:"All Departments"}),B.map(t=>e.jsx("option",{value:t,children:t},t))]})]}),e.jsxs("div",{className:"mb-6",children:[e.jsx("label",{className:"block text-sm font-semibold text-gray-700 mb-2",children:"Job Type"}),e.jsxs("select",{value:m,onChange:t=>w(t.target.value),className:"w-full px-3 py-2 border border-gray-300 rounded-lg text-sm focus:outline-none focus:ring-2 focus:ring-blue-500",children:[e.jsx("option",{value:"all",children:"All Types"}),F.map(t=>e.jsx("option",{value:t,children:t},t))]})]}),e.jsx("button",{onClick:J,className:"w-full px-4 py-2 bg-gray-100 text-gray-700 rounded-lg hover:bg-gray-200 transition-colors font-medium text-sm",children:"Reset Filters"}),e.jsx("div",{className:"mt-6 p-3 bg-blue-50 rounded-lg",children:e.jsxs("p",{className:"text-sm text-gray-700",children:[e.jsx("strong",{children:i.length})," ","job",i.length!==1?"s":""," ","found"]})})]})}),e.jsx("div",{className:"lg:col-span-3",children:i.length===0?e.jsxs("div",{className:"bg-white rounded-lg shadow-sm p-12 text-center",children:[e.jsx(g,{className:"w-16 h-16 text-gray-300 mx-auto mb-4"}),e.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-2",children:"No jobs found"}),e.jsx("p",{className:"text-gray-600",children:"Try adjusting your filters or search terms"})]}):e.jsx("div",{className:"space-y-4",children:i.map(t=>e.jsx(C,{href:`/careers/${t.id}`,className:"block bg-white rounded-lg shadow-sm hover:shadow-md transition-all p-6 border border-gray-200 hover:border-blue-300 group",children:e.jsxs("div",{className:"flex items-start justify-between gap-4",children:[e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-2",children:[e.jsx("h3",{className:"text-lg font-bold text-gray-900 group-hover:text-blue-600 transition-colors",children:t.job_title}),t.job_type&&e.jsx("span",{className:"px-2 py-1 bg-blue-100 text-blue-700 text-xs font-semibold rounded-full",children:t.job_type})]}),e.jsx("p",{className:"text-sm text-gray-600 mb-4",children:t.department}),e.jsxs("div",{className:"flex flex-wrap gap-4 mb-3",children:[t.location&&e.jsxs("div",{className:"flex items-center gap-1.5 text-sm text-gray-600",children:[e.jsx(_,{className:"w-4 h-4 text-gray-400"}),t.location]}),t.posted_date&&e.jsxs("div",{className:"flex items-center gap-1.5 text-sm text-gray-600",children:[e.jsx(L,{className:"w-4 h-4 text-gray-400"}),"Posted:"," ",k(t.posted_date)]}),t.deadline&&e.jsxs("div",{className:"flex items-center gap-1.5 text-sm text-gray-600",children:[e.jsx(L,{className:"w-4 h-4 text-gray-400"}),"Apply by:"," ",k(t.deadline)]})]})]}),e.jsx(z,{className:"w-5 h-5 text-gray-400 group-hover:text-blue-600 transition-colors flex-shrink-0 mt-1"})]})},t.id))})})]})}),l.length>0&&i.length>0&&e.jsx("div",{className:"bg-blue-50 py-12",children:e.jsxs("div",{className:"max-w-4xl mx-auto text-center px-4",children:[e.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-3",children:"Don't see a role for you?"}),e.jsx("p",{className:"text-gray-600 mb-6",children:"We're always looking for talented individuals to join our team. Get in touch with us!"}),e.jsx(C,{href:"/contact",className:"inline-block px-6 py-3 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition-colors font-semibold",children:"Contact Us"})]})})]})})}export{de 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.