1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7926],{78865:function(e,t,a){a.d(t,{Z:function(){return r}});let r=(0,a(46583).Z)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},42171:function(e,t,a){a.d(t,{Z:function(){return r}});let r=(0,a(46583).Z)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},35679:function(e,t,a){a.d(t,{Z:function(){return r}});let r=(0,a(46583).Z)("MapPinned",[["path",{d:"M18 8c0 4.5-6 9-6 9s-6-4.5-6-9a6 6 0 0 1 12 0",key:"yrbn30"}],["circle",{cx:"12",cy:"8",r:"2",key:"1822b1"}],["path",{d:"M8.835 14H5a1 1 0 0 0-.9.7l-2 6c-.1.1-.1.2-.1.3 0 .6.4 1 1 1h18c.6 0 1-.4 1-1 0-.1 0-.2-.1-.3l-2-6a1 1 0 0 0-.9-.7h-3.835",key:"112zkj"}]])},62190:function(e,t,a){a.d(t,{Z:function(){return r}});let r=(0,a(46583).Z)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},85311:function(e,t,a){a.d(t,{Bn:function(){return m},FW:function(){return d},P1:function(){return c},PQ:function(){return p},YW:function(){return b},fo:function(){return u},vt:function(){return l}});var r=a(85893),s=a(25675),n=a.n(s),o=a(67294),i=a(60058);let l="h-[5.25rem] w-[5.25rem] shrink-0 sm:h-[5.75rem] sm:w-[5.75rem]",c=96,m=96,d="(max-width: 640px) 84px, 92px",u="h-full w-full rounded-2xl object-contain shadow-sm ring-1 ring-gray-200/70",p="select-none text-2xl font-bold tracking-tight text-gray-900 sm:text-3xl";function b(e){let{logoUrl:t,companyName:a,width:s,height:l,sizes:c,quality:m=85,imageClassName:d,initialsClassName:u,decorative:p=!1}=e,b=t?.trim()??"",[h,g]=(0,o.useState)(!1);return((0,o.useEffect)(()=>{g(!1)},[b]),b.length>0&&!h)?(0,r.jsx)(n(),{src:(0,i.PX)(b),alt:"",width:s,height:l,sizes:c,quality:m,unoptimized:(0,i.Xc)(b),className:d,"aria-hidden":p,onError:()=>g(!0)}):(0,r.jsx)("span",{className:u,...p?{"aria-hidden":!0}:{"aria-label":`${a||"Company"} (no logo)`},children:function(e){let t=(e||"").trim();if(!t)return"?";let a=t.split(/\s+/).filter(Boolean);if(a.length>=2){let e=a[0][0],t=a[1][0];if(e&&t)return`${e}${t}`.toUpperCase()}return t.slice(0,2).toUpperCase()}(a)})}},87157:function(e,t,a){a.d(t,{Z:function(){return u}});var r=a(85893),s=a(41664),n=a.n(s),o=a(11163),i=a(80893),l=a(39889),c=a(35679),m=a(44987),d=a(33403);function u(e){let{active:t}=e,a=(0,o.useRouter)(),s=(0,m.AQ)(a.asPath),u=(0,d.OF)(a.query.q)??"",p=u?`?q=${encodeURIComponent(u)}`:"",b=[{key:"jobs",label:"Jobs",href:`${s}/jobs${p}`,icon:i.Z},{key:"companies",label:"Companies",href:`${s}/companies${p}`,icon:l.Z},{key:"nearby",label:"Nearby Jobs",href:`${s}/jobs/nearby${p}`,icon:c.Z}];return(0,r.jsx)("div",{className:"mx-auto w-full max-w-[560px] rounded-2xl border border-gray-200/90 bg-white p-1 shadow-[0_16px_40px_-24px_rgba(15,23,42,0.2)]",children:(0,r.jsx)("div",{className:"grid grid-cols-3 gap-1",children:b.map(e=>{let a=t===e.key,s=e.icon;return(0,r.jsxs)(n(),{href:e.href,className:`inline-flex min-w-0 items-center justify-center gap-2 rounded-xl px-3 py-3 text-center text-sm font-semibold transition-all duration-200 ${a?"bg-primary text-white shadow-[0_10px_24px_-12px_rgba(22,67,234,0.9)]":"text-slate-600 hover:bg-slate-50 hover:text-slate-900"}`,children:[(0,r.jsx)(s,{className:"h-4 w-4 shrink-0",strokeWidth:2.15}),(0,r.jsx)("span",{className:"hidden truncate sm:inline",children:e.label}),(0,r.jsx)("span",{className:"truncate sm:hidden",children:"nearby"===e.key?"Nearby":e.label})]},e.key)})})})}},91212:function(e,t,a){a.d(t,{JM:function(){return l},ty:function(){return r},zm:function(){return i}});let r={lat:25.2048,long:55.2708},s=/\b(united arab emirates|uae|dubai|abu dhabi|sharjah|ajman|fujairah|ras al khaimah|umm al quwain|al ain)\b/i,n=/\b(india|new delhi|delhi|gurugram|gurgaon|noida|mumbai|pune|bengaluru|bangalore|hyderabad|chennai|kolkata|ahmedabad|jaipur|kochi|lucknow|vadodara)\b/i;function o(e){let t=(e??"").trim().toLowerCase();return t?/\b(united arab emirates|uae|dubai|abu dhabi|sharjah|ajman|ras al khaimah|fujairah|al ain|emirates)\b/i.test(t)?"uae":/\bindia\b/i.test(t)||"in"===t?"india":null:null}function i(e,t){let a=o(t.job_country),r=function(e){let t=o(e?.job_c
1ountry);if(t)return t;let a=`${e?.city??""} ${e?.address??""}`.toLowerCase();return s.test(a)?"uae":n.test(a)?"india":null}(t);return"uae"===e?"india"!==a&&("uae"===a||"uae"===r):"uae"!==a&&("india"===a||"uae"!==r)}function l(e,t){if(!e?.data?.job_posts)return e??void 0;let a=e.data.job_posts.filter(e=>i(t,{city:e?.city,address:e?.address,job_country:e?.job_country})),r=e.data.job_posts.length-a.length,s=e.data.total_job_posts??0;return{...e,data:{...e.data,job_posts:a,total_job_posts:Math.max(0,s-r)}}}},84954:function(e,t,a){a.d(t,{a:function(){return u}});let r=["software engineer jobs","data analyst jobs","product manager jobs","ui ux designer jobs","devops engineer jobs","full stack developer jobs","backend developer jobs","frontend developer jobs","mobile developer jobs","qa engineer jobs","business analyst jobs","project manager jobs","scrum master jobs","hr manager jobs","recruiter jobs","marketing manager jobs","content writer jobs","graphic designer jobs","sales executive jobs","account manager jobs","digital marketing jobs","seo specialist jobs","social media manager jobs","operations manager jobs","finance manager jobs","accountant jobs","chartered accountant jobs","data scientist jobs","machine learning engineer jobs","ai engineer jobs","cloud architect jobs","system administrator jobs","network engineer jobs","cybersecurity analyst jobs","database administrator jobs","technical writer jobs","customer support jobs","customer success jobs","supply chain manager jobs","logistics manager jobs","mechanical engineer jobs","civil engineer jobs","electrical engineer jobs","chemical engineer jobs","pharmacist jobs","doctor jobs","nurse jobs","teacher jobs","professor jobs","lawyer jobs","legal advisor jobs","architect jobs","interior designer jobs","chef jobs","hospitality manager jobs","event manager jobs","real estate agent jobs","investment banker jobs","equity analyst jobs","risk manager jobs","compliance officer jobs","procurement manager jobs","warehouse manager jobs","delivery manager jobs","technical lead jobs","engineering manager jobs","vp engineering jobs","cto jobs","cfo jobs","coo jobs","ceo jobs","founder jobs","co founder jobs","intern jobs","fresher jobs","trainee jobs","apprentice jobs","part time jobs","freelancer jobs","consultant jobs","contractor jobs"],s=["it jobs","software jobs","saas jobs","fintech jobs","healthtech jobs","edtech jobs","e commerce jobs","retail jobs","bfsi jobs","banking jobs","insurance jobs","healthcare jobs","pharma jobs","automotive jobs","manufacturing jobs","real estate jobs","construction jobs","hospitality jobs","travel jobs","media jobs","entertainment jobs","advertising jobs","telecom jobs","energy jobs","oil and gas jobs","logistics jobs","supply chain jobs","fmcg jobs","consumer goods jobs","agriculture jobs","agritech jobs","legal sector jobs","consulting jobs","bpo jobs","kpo jobs","government jobs","ngo jobs","education sector jobs","research jobs","aerospace jobs","defense jobs"],n=["jobs","careers","hiring","recruitment","job portal","job search","apply online","work from home jobs","remote jobs","hybrid jobs","freshers jobs","experienced jobs","walk in interview jobs","job vacancy","job opening","salary jobs","placement jobs","campus hiring","lateral hiring","contract jobs","temporary jobs","government jobs","private jobs","startup jobs","mnc jobs","top companies hiring","best companies to work for","highest paying jobs","urgent hiring jobs","immediate joining jobs"],o=["post jobs","hire candidates","talent acquisition platform","recruitment platform","applicant tracking","resume database","candidate search","employer branding","job posting platform","bulk hiring","campus recruitment","lateral recruitment","diversity hiring","skill based hiring","ai hiring","automated screening","interview scheduling","offer management","onboarding platform","workforce planning"],i=["naukri alternative","indeed alternative","linkedin jobs alternative","apna alternative","shine alternative","monster alternative","glassdoor alternative","foundit alternative","instahyre alternative","cutshort alternative"],l={in:{genericIntent:n,roles:r,industries:s,cities:["mumbai
1jobs","delhi jobs","bangalore jobs","hyderabad jobs","chennai jobs","pune jobs","kolkata jobs","ahmedabad jobs","jaipur jobs","lucknow jobs","chandigarh jobs","kochi jobs","indore jobs","nagpur jobs","coimbatore jobs","visakhapatnam jobs","noida jobs","gurgaon jobs","faridabad jobs","thane jobs","navi mumbai jobs","surat jobs","vadodara jobs","bhopal jobs","patna jobs","bhubaneswar jobs","thiruvananthapuram jobs","mysore jobs","mangalore jobs","goa jobs","dehradun jobs","ranchi jobs","guwahati jobs","raipur jobs","udaipur jobs","jodhpur jobs","agra jobs","varanasi jobs","amritsar jobs","ludhiana jobs"],employerIntent:o,competitorAlternatives:i},ae:{genericIntent:n,roles:r,industries:s,cities:["dubai jobs","abu dhabi jobs","sharjah jobs","ajman jobs","ras al khaimah jobs","fujairah jobs","al ain jobs","riyadh jobs","jeddah jobs","doha jobs","muscat jobs","kuwait city jobs","manama jobs","dammam jobs","medina jobs","makkah jobs","bahrain jobs","oman jobs","qatar jobs","saudi arabia jobs"],employerIntent:o,competitorAlternatives:i}},c=["jobs in","hiring in","job openings in","careers in","vacancies in"],m=["jobs in","hiring in","job openings in","careers in","vacancies in","middle east jobs in"];function d(e){return e.split(" ").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" ")}function u(e,t,a){let r=Array.from(new Set([...t.flatMap(t=>l[e][t]),...function(e){let t=l[e].cities,a="in"===e?c:m,r=[];return t.forEach(e=>{let t=e.replace(/\sjobs$/i,"");a.forEach(e=>{r.push(`${e} ${t}`)}),r.push(`${d(t)} jobs`),r.push(`${d(t)} hiring`)}),r}(e),...a?.extra??[]].map(e=>e.trim()).filter(Boolean))),s=a?.limit??40;return r.slice(0,s).join(", ")}},60058:function(e,t,a){a.d(t,{PX:function(){return s},Xc:function(){return n}});var r=a(6564);function s(e){return(0,r.wq)(function(e){let t=e?.trim();if(!t)return null;if(t.startsWith("data:"))return t;try{let e=new URL(t),a=e.hostname.toLowerCase(),r=e.pathname,s=`${r}${e.search}`,n=function(){let e="https://media.unojobs.com".trim();return e?e.replace(/\/$/,""):"https://media.unojobs.com"}();if("unojobs.blob.core.windows.net"===a){if(r.startsWith("/unojobs-media/"))return`${n}${r.slice(14)}${e.search}`;if(r.startsWith("/unojobs-landing-media/"))return`${n}${r}${e.search}`}if("unojobs-media.s3.ap-south-1.amazonaws.com"===a||"unojobs-media.s3.amazonaws.com"===a)return`${n}${s}`;if("unojobs-landing-media.s3.ap-south-1.amazonaws.com"===a||"unojobs-landing-media.s3.amazonaws.com"===a)return`${n}/unojobs-landing-media${s}`;return t}catch{return t}}(e)||e.trim())}function n(e){let t=s(e);return!t||!t.startsWith("/")&&!function(e){try{let t=new URL(e.trim());if("https:"!==t.protocol)return!1;let a=t.hostname.toLowerCase(),r=function(){let e="https://media.unojobs.com".trim();if(!e)return null;try{return new URL(e).hostname.toLowerCase()}catch{return null}}();if(r&&a===r||"unojobs.com"===a||"www.unojobs.com"===a||a.endsWith(".unojobs.com")||"unojobs.blob.core.windows.net"===a&&t.pathname.startsWith("/unojobs-landing-media")||"storage.googleapis.com"===a||"lh3.googleusercontent.com"===a||a.endsWith(".googleusercontent.com"))return!0;return!1}catch{return!1}}(t)}},49737:function(e,t,a){a.r(t),a.d(t,{__N_SSG:function(){return B},buildCompaniesStaticProps:function(){return Z},fetchCompaniesPageData:function(){return U}});var r=a(85893),s=a(68806),n=a(53024),o=a(21259),i=a(67294),l=a(41664),c=a.n(l),m=a(11163),d=a(83865),u=a(46666),p=a(96257),b=a(4855),h=a(9008),g=a.n(h),x=a(87157),j=a(49030),y=a(49298),f=a(44987),_=a(94777),w=a(41250),v=a(84954),N=a(85311),k=a(60058),$=a(33403),C=a(18153),L=a(91212),S=a(80893),A=a(3350),M=a(83454);let E=(0,s.Ps)` 2 query GET_ORGANIZATIONS_FULL { 3 organizations( 4 where: { 5 status: { _eq: "approved" } 6 is_published: { _eq: true } 7 } 8 order_by: { display_name: asc } 9 ) { 10 id 11 display_name 12 logo_url 13 introduction 14 company_size { 15 size 16 } 17 org_type { 18 name 19 } 20 turnover { 21 label 22 } 23 org_tags { 24 company_tag { 25 label 26 } 27 } 28 job_industry { 29 label 30 } 31 company_locations( 32 where: { is_deleted: { _eq: false }, is_active: { _eq: true } } 33 ) { 34 city 35 address 36 country 37 } 38 job_projects( 39 where: { job_post: { status: { _eq: "active" } } } 40 limit: 1000 41 ) { 42 job_post { 43 job_title 44 city 45 } 46 } 47 } 48 } 49`,q=(0,s.Ps)` 50 query GET_FILTER_DATA { 51 jobPostFilterData { 52 success 53 data { 54 job_industries { 55 id 56 label 57 } 58 } 59 } 60 } 61`,T="ABCDEFGHIJKLMNOPQRSTUVWXYZ".split(""),I=e=>e?e.replace(/<[^>]+>/g," ").replace(/\s+/g," ").trim():"",J=(e,t)=>
61{let a=I(e.introduction);if(a)return a;let r=[],s=e.industry?.trim(),n=e.company_type?.trim(),o=e.employee_size?.trim();if(s?r.push(`${t} operates in ${s}.`):r.push(`${t} is actively hiring on UnoJobs.`),n||o){let e=[n,o?`${o} employees`:null].filter(Boolean).join(" \xb7 ");r.push(e+".")}if(e.totalJobs>0&&e.cities.length>0){let t=1===e.cities.length?e.cities[0]:`${e.cities.slice(0,2).join(", ")}${e.cities.length>2?` +${e.cities.length-2} more`:""}`;r.push(`Open roles across ${e.cities.length} ${1===e.cities.length?"city":"cities"} including ${t}.`)}else e.totalJobs>0?r.push(`${e.totalJobs} open ${1===e.totalJobs?"role":"roles"} â view the company profile for details.`):r.push("Explore their profile and current openings on UnoJobs.");return r.join(" ")},F=e=>{if(!e)return"";let t=e.trim().toLowerCase();return"marketing"===t?"advertising and marketing":t},D=e=>{let{label:t,options:a,counts:s,selected:n,onSelect:o,onRemove:l}=e,[c,m]=(0,i.useState)(!1),[d,u]=(0,i.useState)(""),p=n.length>0,b=a.filter(e=>e.toLowerCase().includes(d.toLowerCase()));return(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsxs)("button",{onClick:()=>m(!c),className:`flex h-11 items-center gap-1.5 text-sm font-medium px-3.5 rounded-xl border transition-colors ${p?"text-primary border-primary bg-primary-0 shadow-sm":"text-gray-600 border-gray-200 bg-white hover:border-primary/40"}`,children:[t,p&&(0,r.jsx)("span",{className:"bg-primary text-white text-xs rounded-full w-5 h-5 flex items-center justify-center ml-1",children:n.length}),(0,r.jsx)("span",{className:"ml-1 text-xs",children:c?"-":"+"})]}),c&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"fixed inset-0 z-10",onClick:()=>m(!1)}),(0,r.jsxs)("div",{className:"absolute top-full left-0 mt-2 bg-white border border-gray-200 rounded-2xl shadow-xl z-20 min-w-[220px] max-h-[320px] overflow-hidden flex flex-col",children:[(0,r.jsx)("div",{className:"p-2 border-b border-gray-100",children:(0,r.jsx)("input",{type:"text",value:d,onChange:e=>u(e.target.value),placeholder:"Search...",className:"w-full text-sm px-3 py-1.5 border border-gray-200 rounded-lg outline-none focus:border-primary",autoFocus:!0})}),(0,r.jsxs)("div",{className:"overflow-y-auto p-1.5",children:[b.map(e=>{let t=n.includes(e);return(0,r.jsxs)("button",{onClick:()=>{t?l(e):o(e)},className:`w-full text-left px-3 py-2 text-sm rounded-lg transition-colors ${t?"bg-primary-0 text-primary font-medium":"hover:bg-gray-50 text-gray-700"}`,children:[e,s?.[e]?` (${s[e]})`:""]},e)}),0===b.length&&(0,r.jsx)("p",{className:"text-sm text-gray-400 px-3 py-2",children:"No results"})]})]})]})]})},P=e=>{let{company:t,marketPrefix:a}=e,s=(0,_.ry)(t.display_name).trim()||t.display_name,n=(0,_.lV)((0,_.ry)(t.display_name.trim())||t.display_name.trim()),o=(0,i.useMemo)(()=>J(t,s),[t,s]),l=(0,i.useMemo)(()=>Array.from(new Set(t.jobTitles.map(e=>e?.trim()).filter(Boolean))),[t.jobTitles]),m=t.cities,d=(0,i.useMemo)(()=>new Set(l.map(e=>e.toLowerCase())),[l]),u=l.slice(0,2),p=Math.max(0,l.length-2),b=t.company_type?.trim()||null,h=(0,i.useMemo)(()=>Array.from(new Set(t.tags.map(e=>e?.trim()).filter(e=>!!e))).filter(e=>e!==b).filter(e=>!d.has(e.toLowerCase())).slice(0,2),[t.tags,b,d]),g=b||0!==h.length||0!==m.length?[]:u,x=m.slice(0,3),j=Math.max(0,m.length-3),y=(0,i.useMemo)(()=>{let e=t.totalJobs,a=t.cities.length;return{n:e,openingsText:0===e?null:1===e?"1 Job Opening":`${e} Job Openings`,citiesText:0===a?null:1===a?"1 City":`${a} Cities`}},[t.totalJobs,t.cities]),f=(0,i.useMemo)(()=>{let{n:e,openingsText:t,citiesText:a}=y;return 0===e?"No open roles listed":a?`${t} in ${a}`:t??""},[y]),w=t.industry?.trim()||null,v=`${a}/company/${n}`;return(0,r.jsxs)("article",{className:"group flex h-full flex-col overflow-hidden rounded-2xl bg-white ring-1 ring-slate-200/70 shadow-[0_1px_2px_rgba(15,23,42,0.04),0_8px_24px_-12px_rgba(15,23,42,0.08)] transition-[transform,box-shadow] duration-200 ease-out hover:-translate-y-[2px] hover:ring-blue-200 hover:shadow-[0_6px_30px_-8px_rgba(29,78,216,0.18)]",children:[(0,r.jsxs)("div",{className:"flex flex-1 flex-col gap-4 p-5 md:p-6",children:[(0,r.jsxs)("div",{className:"flex items-start gap-4",children:[(0,r.jsx)(c(),{href:v,className:`relative flex ${N.vt} shrink-0 items-center justify-center rounded-2xl transition-opacity hover:opacity-90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2`,"aria-label":`${s} â view company profile`,children:(0,r.jsx)(N.YW,{logoUrl:t.logo_url,companyName:s,width:N.P1,height:N.Bn,sizes:N.FW,quality:85,decorative:!0,imageClassName:N.fo,initialsClassName:N.PQ})}),(0,r.jsxs)("div",{className:"min-w-0 flex-1 pt-0.5",children:[(0,r.jsx)(c(),{href:v,className:"line-clamp-2 text-base font-semibold leading-snug text-gray-900 transition-colors hover:text-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2",children:s}),w?(0,r.jsx)("p",{className:"mt-1 truncate text-sm text-slate-500",title:w,children:w}):null,(b||h.length>0||g.length>0)&&(0,r.jsxs)("div",{className:"mt-2.5 flex flex-wrap items-center gap-1.5",children:[b?(0,r.jsx)("span",{className:"max-w-full truncate rounded-full border border-slate-200 bg-slate-50 px-2.5 py-0.5 text-xs font-medium text-slate-700",title:b,children:b}):null,h.map(e=>(0,r.jsx)("span",{className:"max-w-full truncate rounded-full border border-blue-100 bg-blue-50 px-2.5 py-0.5 text-xs font-medium text-primary",title:e,children:e},e)),g.map(e=>(0,r.jsx)("span",{className:"max-w-full truncate rounded-full border border-slate-200 bg-slate-50 px-2.5 py-0.5 text-xs text-slate-700",title:e,children:e},e))]})]})]}),(0,r.jsx)("p",{className:"line-clamp-3 min-h-[4.125rem] text-sm leading-[1.6] text-slate-600",title:o,children:o}),(0,r.jsxs)("div",{className:"border-t border-slate-100 pt-4",children:[(0,r.jsx)("div",{className:"flex flex-wrap items-center gap-x-2 gap-y-1 text-sm",role:"status","aria-label":f,children:0===y.n?(0,r.jsx)("span",{className:"font-medium text-slate-500",children:"No open roles listed"}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("span",{className:"inline-flex items-center gap-1.5 font-semibold text-primary",children:[(0,r.jsx)(S.Z,{className:"h-4 w-4 shrink-0",strokeWidth:2.25,"aria-hidden":!0}),y.openingsText]}),y.citiesText?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"text-slate-400","aria-hidden":!0,
61children:"\xb7"}),(0,r.jsxs)("span",{className:"inline-flex items-center gap-1.5 font-medium text-slate-800",children:[(0,r.jsx)(A.Z,{className:"h-4 w-4 shrink-0 text-amber-700",strokeWidth:2.25,"aria-hidden":!0}),y.citiesText]})]}):null]})}),m.length>0?(0,r.jsxs)("div",{className:"mt-3",children:[(0,r.jsx)("p",{className:"mb-1.5 text-[11px] font-semibold uppercase tracking-[0.08em] text-slate-400",children:"Hiring cities"}),(0,r.jsxs)("div",{className:"flex flex-wrap items-center gap-1.5",children:[x.map(e=>(0,r.jsx)("span",{className:"rounded-full border border-slate-200 bg-slate-50 px-2.5 py-0.5 text-xs text-slate-700",children:e},e)),j>0?(0,r.jsxs)("span",{className:"text-xs font-medium text-slate-500",children:["+",j," more"]}):null]})]}):l.length>0?(0,r.jsxs)("div",{className:"mt-3",children:[(0,r.jsx)("p",{className:"mb-1.5 text-[11px] font-semibold uppercase tracking-[0.08em] text-slate-400",children:"Top roles"}),(0,r.jsxs)("div",{className:"flex flex-wrap items-center gap-1.5",children:[u.map(e=>(0,r.jsx)("span",{className:"max-w-full truncate rounded-full border border-slate-200 bg-slate-50 px-2.5 py-0.5 text-xs text-slate-700",title:e,children:e},e)),p>0?(0,r.jsxs)("span",{className:"text-xs font-medium text-slate-500",children:["+",p," more"]}):null]})]}):null]})]}),(0,r.jsx)("div",{className:"border-t border-slate-100 px-5 py-4 md:px-6",children:(0,r.jsx)(c(),{href:v,className:"inline-flex h-10 w-full items-center justify-center rounded-xl bg-primary px-4 text-sm font-semibold text-white shadow-sm transition-all hover:bg-primary/95 hover:shadow-md active:scale-[0.99] focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary",children:"View company"})})]})},z=e=>{let{rows:t,selectedIndustries:a,onSelectIndustry:s}=e;return 0===t.length?null:(0,r.jsxs)("section",{className:"mb-7 rounded-[1.75rem] border border-gray-100 bg-white px-4 py-5 shadow-sm sm:px-5","aria-labelledby":"industry-company-showcase-heading",children:[(0,r.jsx)("div",{className:"mb-4 text-center",children:(0,r.jsx)("h2",{id:"industry-company-showcase-heading",className:"text-xl font-bold text-gray-950 sm:text-2xl",children:"Top companies hiring now"})}),(0,r.jsx)("div",{className:"-mx-4 flex snap-x gap-3 overflow-x-auto px-4 pb-2 sm:-mx-5 sm:px-5 lg:grid lg:grid-cols-4 lg:overflow-visible",children:t.map(e=>{let t=a.includes(e.label);return(0,r.jsxs)("button",{type:"button",onClick:()=>s(e.label),className:`group flex min-w-[13.75rem] snap-start flex-col rounded-xl border bg-white p-4 text-left shadow-sm transition-all hover:-translate-y-0.5 hover:border-primary/40 hover:shadow-md focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary ${t?"border-primary ring-1 ring-primary/20":"border-gray-200"}`,"aria-pressed":t,children:[(0,r.jsxs)("span",{className:"flex items-center justify-between gap-3",children:[(0,r.jsx)("span",{className:"truncate text-base font-bold text-gray-900",title:e.label,children:e.label}),(0,r.jsx)("span",{className:"flex h-6 w-6 shrink-0 items-center justify-center rounded-full text-gray-500 transition-colors group-hover:bg-primary-0 group-hover:text-primary",children:(0,r.jsx)("svg",{className:"h-4 w-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","aria-hidden":!0,children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})})]}),(0,r.jsxs)("span",{className:"mt-1 text-xs font-medium text-gray-600",children:[e.companyCount," ",1===e.companyCount?"company is":"are"," actively hiring"]}),(0,r.jsx)("span",{className:"mt-4 flex min-h-10 items-center gap-2",children:e.companies.slice(0,5).map(t=>{let a=(0,_.ry)(t.display_name).trim()||t.display_name;return(0,r.jsx)("span",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-lg border border-gray-100 bg-gray-50",title:a,children:(0,r.jsx)(N.YW,{logoUrl:t.logo_url,companyName:a,width:40,height:40,sizes:"40px",quality:80,decorative:!0,imageClassName:"h-full w-full rounded-lg object-contain p-1",initialsClassName:"select-none text-xs font-bold tracking-tight text-gray-800"})},`${e.key}-${t.display_name}`)})})]},e.key)})})]})};var B=!0;async function U(e){try{let t=(0,d.n)(!0),a=(0,d.n)(!1),r=M.env.HASURA_ADMIN_SECRET,s=(0,C.F)(),i=new n.f({ssrMode:!0,uri:"https://backend-prod.unojobs.com/v1/graphql",cache:new o.h,headers:{...r?{"x-hasura-admin-secret":r}:{},...s?{ACTION_SECRET:s}:{}}}),l=r?i:a,[c,m,b,h]=await Promise.all([t.query({query:u.Im,variables:{Title:"/in/jobs"}}).catch(e=>(console.error("[companies] layout CMS query failed:",e),null)),l.query({query:E}
61).catch(e=>(console.error("[companies] organizations query failed:",e),null)),a.query({query:p.Cx,variables:{industries:[],departments:[],roles:[],total_work_exp:[],work_mode_pref:[],u_latitude:"uae"===e?L.ty.lat:null,u_longitude:"uae"===e?L.ty.long:null,page_no:0,max_limit:1e3}}).catch(e=>(console.error("[companies] job suggestions query failed:",e),null)),a.query({query:q}).catch(e=>(console.error("[companies] filter data query failed:",e),null))]),g=(b?.data?.getJobPostSuggestion?.data?.job_posts??[]).filter(t=>(0,L.zm)(e,{city:t?.city,address:t?.address})),x=new Map,j=new Map;g.forEach(e=>{let t=e?.display_name?.trim(),a=e?.job_industry?.trim();if(!t||!a)return;let r=(0,_.ry)(t).trim().toLowerCase()||t.toLowerCase(),s=j.get(r)||new Map;s.set(a,(s.get(a)||0)+1),j.set(r,s)}),j.forEach((e,t)=>{let a=Array.from(e.entries()).sort((e,t)=>t[1]-e[1]||e[0].localeCompare(t[0]))[0]?.[0];a&&x.set(t,a)});let y=(m?.data?.organizations||[]).map(t=>{let a=(t.job_projects||[]).filter(t=>{let a=t.job_post;return!!a?.job_title&&(0,L.zm)(e,{city:a.city,address:null})}),r=new Set,s=new Set;a.forEach(e=>{let t=e.job_post;r.add(t.job_title);let a=t.city?.trim();a&&s.add(a)});let n=a.length,o=new Set;(t.company_locations||[]).forEach(e=>{let t=e?.city?.trim();t&&o.add(t)});let i=(0,_.ry)(t.display_name).trim().toLowerCase()||t.display_name.trim().toLowerCase();return{display_name:t.display_name,logo_url:t.logo_url||null,introduction:t.introduction||null,employee_size:t.company_size?.size||null,company_type:t.org_type?.name||null,turnover:t.turnover?.label||null,tags:(t.org_tags||[]).map(e=>e.company_tag?.label).filter(Boolean),industry:t.job_industry?.label||x.get(i)||null,totalJobs:n,jobTitles:Array.from(r),cities:Array.from(s).sort((e,t)=>e.localeCompare(t)),officeLocations:Array.from(o).sort((e,t)=>e.localeCompare(t))}}).filter(e=>e.totalJobs>0);if(!y.length){let e=new Map;g.forEach(t=>{let a=t?.display_name?.trim();if(!a)return;let r=a.toLowerCase(),s=e.get(r),n=t?.job_title?.trim(),o=t?.city?.trim(),i=t?.job_industry?.trim()||null;if(!s){e.set(r,{display_name:a,logo_url:t?.logo_url??null,introduction:null,employee_size:null,company_type:null,turnover:null,tags:[],industry:i,totalJobs:1,jobTitles:n?[n]:[],cities:o?[o]:[],officeLocations:[]});return}s.totalJobs+=1,n&&!s.jobTitles.includes(n)&&s.jobTitles.push(n),o&&!s.cities.includes(o)&&s.cities.push(o),!s.industry&&i&&(s.industry=i)}),y=Array.from(e.values()).map(e=>({...e,cities:e.cities.slice().sort((e,t)=>e.localeCompare(t))})).sort((e,t)=>e.display_name.localeCompare(t.display_name))}let f=(h?.data?.jobPostFilterData?.data?.job_industries||[]).map(e=>e.label).filter(Boolean),w=new Set;y.forEach(e=>{e.industry?.trim()&&w.add(e.industry.trim()),e.tags.forEach(e=>{e?.trim()&&w.add(e.trim())})});let v=(f.length?f:Array.from(w)).sort((e,t)=>e.localeCompare(t)),N=new Set;y.forEach(e=>{e.company_type&&N.add(e.company_type)});let k=Array.from(N).sort();return{companies:y,layoutData:c?.data?.appLayout?.data?.attributes||null,newFooterData:c?.data?.newFooter||null,footerBlocksData:c?.data?.footerBlocks||null,careerLinksData:c?.data?.careerLinks||null,industries:v,companyTypes:k}}catch(e){return console.error("Companies data-loader error:",e),{companies:[],layoutData:null,newFooterData:null,footerBlocksData:null,careerLinksData:null,industries:[],companyTypes:[]}}}t.default=e=>{let{companies:t,layoutData:a,industries:s,companyTypes:n,...o}=e,l=(0,m.useRouter)(),c=(0,f.AQ)(l.asPath),d=(0,$.OF)(l.query.q)??"",[u,p]=(0,i.useState)(d);(0,i.useEffect)(()=>{l.isReady&&p((0,$.OF)(l.query.q)??"")},[l.isReady,l.query.q]);let[h,N]=(0,i.useState)([]),[C,L]=(0,i.useState)([]),[S,A]=(0,i.useState)(1),[M,E]=(0,i.useState)(null),[q,I]=(0,i.useState)(!1),[J,B]=(0,i.useState)(t),[U,W]=(0,i.useState)(s),[Z,O]=(0,i.useState)(n),[R,H]=(0,i.useState)(0===t.length);(0,i.useEffect)(()=>{B(t),W(s),O(n)},[t,s,n]),(0,i.useEffect)(()=>{if(J.length>0)return;let e=!1;H(!0);let t=c.startsWith("/ae")?"ae":"in";return fetch(`/api/companies/list?market=/${t}`).then(async e=>{if(!e.ok)throw Error(`HTTP ${e.status}`);return e.json()}).then(t=>{!e&&Array.isArray(t?.companies)&&t.companies.length>0&&(B(t.companies),W(Array.isArray(t.industries)?t.industries:[]),O(Array.isArray(t.companyTypes)?t.companyTypes:[]))}).catch(e=>{console.error("[companies] client recovery failed:",e)}).finally(()=>{e||H(!1)}),()=>{e=!0}},[J.length,c]);let G=c.startsWith("/ae"),X=G?"Companies Hiring in UAE | UnoJobs":"Top Companies Hiring Now in India â Browse Teams & Open Roles | UnoJobs",V=G?"Browse top companies hiring in UAE on UnoJobs. Explore active roles and discover employer profiles.":"Discover who's hiring across IT, fintech, manufacturing, healthcare, and 25+ industries. Browse company profiles, culture, and open positions â all in one place.",Q=G?(0,v.a)("ae",["employerIntent","industries","cities","roles"],{limit:35,extra:["companies hiring uae","top employers uae","best companies in uae"]}):(0,v.a)("in",["employerIntent","industries","cities","roles"],{limit:35,extra:["companies hiring india","top employers india","best companies in india"]}),Y=h.length>0||C.length>0||u.trim().length>0||null!=M,K=(0,i.useMemo)(()=>{let e=u.toLowerCase().trim();return J.filter(t=>{if(e){let a=(t.display_name||"").toLowerCase(),r=(0,_.ry)(t.display_name).toLowerCase().trim();if(!a.includes(e)&&!r.includes(e))return!1}return!!((!(h.length>0)||h.some(e=>{let a=F(e);return F(t.industry)===a||t.tags.some(e=>F(e)===a)}))&&(!(C.length>0)||t.company_type&&C.includes(t.company_type)))})},[J,u,h,C]),ee=(0,i.useMemo)(()=>M?K.filter(e=>{let t=(0,_.ry)(e.display_name).trim();return!!t&&t.charAt(0).toUpperCase()===M}):K,[K,M]),et=Math.ceil(ee.length/21),ea=ee.slice((S-1)*21,21*S),er=(0,i.useMemo)(()=>{let e=ee.slice(0,20).map((e,t)=>{let a=(0,_.lV)((0,_.ry)(e.display_name.trim())||e.display_name.trim());return{"@type":"ListItem",position:t+1,item:{"@type":"Organization",name:(0,_.ry)(e.display_name).trim()||e.display_name,...e.logo_url?{logo:{"@type":"ImageObject",url:(0,k.PX)(e.logo_url)}}:{},url:`${j._}${c}/company/${a}`}}});return JSON.stringify({"@context":"https://schema.org","@type":"CollectionPage",name:"Companies Hiring | UnoJobs",url:`${j._}${c}/companies`,mainEntity:{"@type":"ItemList",itemListElement:e}})},[ee,c]);(0,i.useEffect)(()=>{let e=Math.max(1,Math.ceil(ee.length/21));A(t=>Math.min(t,e))},[ee.length]);let es=e=>{A(1),N(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e])},en=(0,i.useMemo)(()=>{let e={};
61U.forEach(t=>{e[t]=0});let t=new Map;return U.forEach(e=>{t.set(F(e),e)}),J.forEach(a=>{let r=new Set,s=F(a.industry),n=t.get(s);n&&r.add(n),a.tags.forEach(e=>{let a=F(e),s=t.get(a);s&&r.add(s)}),r.forEach(t=>{e[t]+=1})}),e},[J,U]),eo=(0,i.useMemo)(()=>{let e=u.toLowerCase().trim(),t=new Map;U.forEach(e=>{t.set(F(e),e)});let a=new Map;return J.forEach(r=>{if(e){let t=(r.display_name||"").toLowerCase(),a=(0,_.ry)(r.display_name).toLowerCase().trim();if(!t.includes(e)&&!a.includes(e))return}if(C.length>0&&(!r.company_type||!C.includes(r.company_type)))return;if(M){let e=(0,_.ry)(r.display_name).trim();if(!e||e.charAt(0).toUpperCase()!==M)return}let s=r.industry?.trim()||r.tags.find(e=>t.has(F(e)))||"",n=t.get(F(s))||s.trim();if(!n)return;let o=F(n),i=a.get(o)||{key:o,label:n,companyCount:0,totalJobs:0,companies:[]};i.companyCount+=1,i.totalJobs+=r.totalJobs,i.companies.push(r),a.set(o,i)}),Array.from(a.values()).map(e=>({...e,companies:e.companies.slice().sort((e,t)=>t.totalJobs-e.totalJobs||e.display_name.localeCompare(t.display_name))})).sort((e,t)=>t.companyCount-e.companyCount||t.totalJobs-e.totalJobs).slice(0,8)},[M,J,U,u,C]);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(g(),{children:[(0,r.jsx)("title",{children:X}),(0,r.jsx)("meta",{name:"description",content:V}),(0,r.jsx)("meta",{name:"keywords",content:Q}),(0,r.jsx)("meta",{name:"robots",content:"index,follow,max-image-preview:large,max-snippet:-1,max-video-preview:-1"}),(0,r.jsx)("meta",{property:"og:title",content:X}),(0,r.jsx)("meta",{property:"og:description",content:V}),(0,r.jsx)("meta",{property:"og:type",content:"website"}),(0,r.jsx)("meta",{property:"og:url",content:`${j._}${c}/companies`}),(0,r.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,r.jsx)("meta",{name:"twitter:title",content:X}),(0,r.jsx)("meta",{name:"twitter:description",content:V}),(0,r.jsx)("meta",{name:"twitter:url",content:`${j._}${c}/companies`}),(0,r.jsx)("meta",{property:"og:locale",content:"/ae/ar"===c?"ar_AE":"/ae/en"===c?"en_AE":"en_IN"}),(0,r.jsx)("link",{rel:"canonical",href:`${j._}${c}/companies`}),(0,y.cn)("companies").map(e=>(0,r.jsx)("link",{rel:"alternate",hrefLang:e.hrefLang,href:e.href},`${e.hrefLang}-${e.href}`)),(0,r.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:(0,w.n)(er)}})]}),(0,r.jsx)(b.Z,{data:a,newFooterData:o?.newFooterData,footerBlocksData:o?.footerBlocksData,careerLinksData:o?.careerLinksData,children:(0,r.jsxs)("div",{className:"bg-gray-50 min-h-screen",children:[(0,r.jsx)("div",{className:"bg-white border-b border-gray-100 pb-10",children:(0,r.jsxs)("div",{className:"container pt-6 text-center",children:[(0,r.jsx)("div",{className:"mb-6 flex justify-center",children:(0,r.jsx)(x.Z,{active:"companies"})}),(0,r.jsxs)("h1",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-2",children:["Discover companies",(0,r.jsx)("span",{className:"text-primary",children:" worth joining"})]}),(0,r.jsx)("p",{className:"text-gray-500 mb-0",children:"Explore hiring teams, open roles, and what each company is building."})]})}),(0,r.jsx)("div",{className:"bg-white border-b border-gray-100",children:(0,r.jsx)("div",{className:"container mx-auto px-4 py-5",children:(0,r.jsxs)("div",{className:"rounded-2xl border border-primary/10 bg-gradient-to-r from-white to-primary-0/30 p-4 sm:p-5",children:[(0,r.jsx)("p",{className:"mb-3 text-sm font-semibold text-gray-800",children:"Filters"}),(0,r.jsxs)("div",{className:"flex flex-wrap items-center gap-3 mb-4",children:[(0,r.jsx)(D,{label:"Industry",options:U,counts:en,selected:h,onSelect:e=>{A(1),N(t=>t.includes(e)?t:[...t,e])},onRemove:e=>{A(1),N(t=>t.filter(t=>t!==e))}}),(0,r.jsx)(D,{label:"Company Stage",options:Z,selected:C,onSelect:e=>{A(1),L(t=>t.includes(e)?t:[...t,e])},onRemove:e=>{A(1),L(t=>t.filter(t=>t!==e))}}),(0,r.jsx)("div",{className:"ml-auto w-full sm:w-auto",children:(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("svg",{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-gray-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})}),(0,r.jsx)("input",{type:"text",value:u,onChange:e=>{p(e.target.value),A(1)},placeholder:"Search companies by name or industry",className:"h-11 w-full sm:w-[320px] border border-gray-200 rounded-xl pl-10 pr-4 text-sm outline-none focus:border-primary focus:ring-1 focus:ring-primary bg-white"})]})}),Y&&(0,r.jsx)("button",{onClick:()=>{N([]),L([]),p(""),E(null),A(1)},className:"h-11 text-sm px-3.5 rounded-xl border border-gray-200 bg-white text-gray-600 hover:border-primary hover:text-primary transition-colors",children:"Clear all"})]}),(0,r.jsxs)("div",{className:"border-t border-primary/10 pt-4 mt-1",children:[(0,r.jsxs)("div",{className:"mb-2 flex flex-wrap items-center justify-between gap-2",children:[(0,r.jsx)("h2",{className:"marketing-eyebrow !text-gray-500 text-left !m-0",children:"Browse by industry"}),U.length>6&&(0,r.jsxs)("button",{type:"button",onClick:()=>I(e=>!e),className:"inline-flex items-center gap-1 rounded-lg border border-gray-200 bg-white px-2.5 py-1 text-xs font-medium text-gray-600 transition-colors hover:border-primary/40 hover:text-primary","aria-expanded":q,"aria-controls":"companies-industry-pills",children:[q?"Show less":"Show more",(0,r.jsx)("svg",{className:`h-3.5 w-3.5 transition-transform ${q?"rotate-180":""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","aria-hidden":!0,
61children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]})]}),(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("div",{id:"companies-industry-pills",className:`flex flex-wrap gap-2 transition-[max-height] duration-300 ease-out motion-reduce:transition-none ${q?"max-h-[min(70vh,1200px)] overflow-visible pb-1":"max-h-[5.75rem] overflow-hidden sm:max-h-[6rem]"}`,children:U.map(e=>{let t=h.includes(e);return(0,r.jsxs)("button",{onClick:()=>es(e),className:`text-sm px-4 py-1.5 rounded-full border transition-colors ${t?"bg-primary text-white border-primary shadow-sm":"bg-white text-gray-600 border-gray-200 hover:border-primary/50"}`,children:[e,en[e]?` (${en[e]})`:"",t&&(0,r.jsx)("span",{className:"ml-1.5",children:"\xd7"})]},e)})}),!q&&U.length>6&&(0,r.jsx)("div",{className:"pointer-events-none absolute bottom-0 left-0 right-0 h-9 bg-gradient-to-t from-white via-white/85 to-transparent","aria-hidden":!0})]})]})]})})}),(0,r.jsxs)("div",{className:"container mx-auto py-8 px-4",children:[(0,r.jsx)("h2",{className:"sr-only",children:Y?"Filtered companies":G?"Top companies hiring in UAE":"Top companies hiring in India"}),(0,r.jsx)("div",{className:"mb-6 flex flex-col gap-3 border-b border-gray-100 pb-4",children:(0,r.jsxs)("div",{className:"flex flex-col gap-3 xl:flex-row xl:flex-wrap xl:items-center xl:gap-x-3 xl:gap-y-2",children:[(0,r.jsxs)("p",{className:"text-sm text-gray-500 xl:shrink-0",children:["Showing ",ea.length," of ",ee.length," results"]}),(0,r.jsxs)("div",{className:"flex flex-wrap items-center gap-1 xl:min-w-0 xl:flex-1 xl:justify-center",role:"group","aria-label":"Filter companies by first letter",children:[(0,r.jsx)("h2",{className:"sr-only",children:"Browse companies A to Z"}),(0,r.jsx)("button",{type:"button",onClick:()=>{E(null),A(1)},className:`min-h-8 min-w-[2.25rem] rounded-md border px-2 text-xs font-semibold transition-colors ${null==M?"border-primary bg-primary-0 text-primary":"border-gray-200 bg-white text-gray-600 hover:border-primary/40 hover:text-primary"}`,children:"All"}),T.map(e=>{let t=M===e;return(0,r.jsx)("button",{type:"button",onClick:()=>{E(e),A(1)},className:`min-h-8 min-w-8 rounded-md border text-xs font-semibold transition-colors ${t?"border-primary bg-primary text-white shadow-sm":"border-gray-200 bg-white text-gray-700 hover:border-primary/40 hover:text-primary"}`,"aria-pressed":t,children:e},e)})]}),et>1?(0,r.jsxs)("div",{className:"flex items-center gap-2 text-sm text-gray-500 xl:ml-auto xl:shrink-0",children:[(0,r.jsx)("span",{className:"border border-gray-200 rounded px-3 py-1 text-gray-900 font-medium",children:S}),(0,r.jsxs)("span",{children:["of ",ee.length," results"]}),(0,r.jsx)("button",{type:"button",onClick:()=>A(Math.max(1,S-1)),disabled:1===S,className:"p-1 rounded hover:bg-gray-100 disabled:opacity-30","aria-label":"Previous page",children:(0,r.jsx)("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 19l-7-7 7-7"})})}),(0,r.jsx)("button",{type:"button",onClick:()=>A(Math.min(et,S+1)),disabled:S===et,className:"p-1 rounded hover:bg-gray-100 disabled:opacity-30","aria-label":"Next page",children:(0,r.jsx)("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})})]}):null]})}),(0,r.jsx)(z,{rows:eo,selectedIndustries:h,onSelectIndustry:e=>{N(t=>1===t.length&&t[0]===e?[]:[e]),A(1)}}),ea.length>0?(0,r.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6",children:ea.map(e=>(0,r.jsx)(P,{company:e,marketPrefix:c},e.display_name))}):R?(0,r.jsx)("div",{className:"text-center py-20 text-gray-500",children:(0,r.jsx)("p",{className:"text-lg",children:"Loading companiesâ¦"})}):(0,r.jsxs)("div",{className:"text-center py-20 text-gray-400",children:[(0,r.jsx)("svg",{className:"w-16 h-16 mx-auto mb-4 text-gray-200",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M19 21V5a2 2 0 00-2-2H7a2 2 0 00-2 2v16m14 0h2m-2 0h-5m-9 0H3m2 0h5M9 7h1m-1 4h1m4-4h1m-1 4h1m-5 10v-5a1 1 0 011-1h2a1 1 0 011 1v5m-4 0h4"})}),(0,r.jsx)("p",{className:"text-lg",children:u?`No companies found matching "${u}"`:0===J.length?"Loading companiesâ¦":"No companies found matching your filters"}),(h.length>0||C.length>0||u||null!=M)&&(0,r.jsx)("button",{onClick:()=>{N([]),L([]),p(""),E(null),A(1)},className:"mt-4 text-primary font-medium text-sm hover:underline",children:"Clear all filters"})]}),et>1&&(0,r.jsxs)("div",{className:"flex justify-center items-center gap-2 mt-10",children:[(0,r.jsx)("button",{onClick:()=>A(Math.max(1,S-1)),disabled:1===S,className:"px-4 py-2 text-sm border border-gray-200 rounded-lg hover:bg-gray-50 disabled:opacity-30",children:"Previous"}),Array.from({length:Math.min(et,5)},(e,t)=>{let a;return a=et<=5?t+1:S<=3?t+1:S>=et-2?et-4+t:S-2+t,(0,r.jsx)("button",{onClick:()=>A(a),className:`w-10 h-10 text-sm rounded-lg transition-colors ${S===a?"bg-primary text-white":"border border-gray-200 hover:bg-gray-50"}`,children:a},a)}),(0,r.jsx)("button",{onClick:()=>A(Math.min(et,S+1)),disabled:S===et,className:"px-4 py-2 text-sm border border-gray-200 rounded-lg hover:bg-gray-50 disabled:opacity-30",children:"Next"})]})]})]})})]})};let W=Number("300")||3600;async function Z(e){let t=await U(e),a=Array.isArray(t.companies)&&t.companies.length>0?W:60;return{props:t,revalidate:a}}},96257:function(e,t,a){a.d(t,{Cx:function(){return y}});var r,s,n,o,i,l,c,m,d,u,p,b,h,g,x,j=a(68806);(r=m||(m={})).Id="id",r.Label="label",r.Name="name",(s=d||(d={})).Asc="ASC",s.Desc="DESC",(n=u||(u={})).CreatedAt="created_at",n.Id="id",n.Label="label",n.Name="name",(p||(p={})).ViewCount="view_count",(o=b||(b={})).CreatedAt="created_at",o.Id="id",o.IsActive="is_active",o.Label="label",o.Name="name",(i=h||(h={})).Asc="asc",i.AscNullsFirst="asc_nulls_first",i.AscNullsLast="asc_nulls_last",i.Desc="desc",i.DescNullsFirst="desc_nulls_first",i.DescNullsLast="desc_nulls_last",(l=g||(g={})).CreatedAt="created_at",l.Id="id",l.IdCompanyTag="id_company_tag",l.IdOrg="id_org",(c=x||(x={})).CreatedAt="created_at",c.Id="id",c.IsActive="is_active",c.Label="label",c.Name="name";let y=(0,j.Ps)` 62 query GET_JOB_POST_SUGGESTION($industries: [String] = [], $departments: [String] = [], $roles: [String] = [], $total_work_exp: [String] = [], $work_mode_pref: [String] = [], $u_latitude: Float = null, $u_longitude: Float = null, $min_distance: Float, $max_distance: Float, $max_limit: Int = 20, $page_no: Int) { 63 getJobPostSuggestion( 64 input: {industries: $industries, departments: $departments, roles: $roles, total_work_exp: $total_work_exp, work_mode_pref: $work_mode_pref, u_latitude: $u_latitude, u_longitude: $u_longitude, min_distance: $min_distance, max_distance: $max_distance, max_limit: $max_limit, page_no: $page_no} 65 ) { 66 success 67 message 68 data { 69 total_job_posts 70 max_limit 71 page_no 72 job_posts { 73 id_org 74 display_name 75 city 76 max_exp 77 max_salary 78 min_exp 79 min_salary 80 postal_code 81 posted_on 82 status 83 valid_till
84 work_mode 85 logo_url 86 job_title 87 job_role 88 job_post_skills 89 experience 90 job_post_id 91 id_job_project 92 address 93 career_page_url 94 is_published 95 job_industry 96 job_department 97 job_country 98 } 99 } 100 } 101 jobPostFilterData { 102 message 103 success 104 data { 105 work_mode_preferences { 106 id 107 label 108 } 109 total_work_experiences { 110 id 111 label 112 } 113 job_roles { 114 id 115 label 116 } 117 job_industries { 118 id 119 label 120 } 121 job_departments { 122 id 123 label 124 job_departments_roles { 125 job_role { 126 id 127 label 128 } 129 } 130 } 131 } 132 } 133} 134 `}}]);
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.