PageSourceSearch

https://manojspace.com/_next/static/chunks/pages/company/[companyName]/careers-4041006e5fb87539.js

js manojspace.com collected 2026-09-30 06:35:38 UTC 12,657 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9106],{23115:(e,l,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/company/[companyName]/careers",function(){return t(41421)}])},39810:(e,l,t)=>{"use strict";t.d(l,{A:()=>x});var a=t(37876),s=t(48230),n=t.n(s),o=t(89099),i=t(58385),r=t(83872),c=t(21639),d=t(34217),u=t(11023),A=t(16416),S=t(16495),T=t(89642),p=t(89311);let m=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:S.JOB_STATES.PUBLISHED;return e===S.JOB_STATES.PUBLISHED?"Active Jobs":e.toLocaleLowerCase()},x={EmptyCareers:e=>{let{data:l,absolute:t=!1}=e;return(0,a.jsxs)("div",{children:[(0,a.jsx)(d.A.EmptyState,{icon:(0,a.jsx)(i.A.EmptyJobsPage,{}),className:"w-96 justify-center mx-auto",title:"No open roles yet.",description:"Consider reaching out to people at ".concat(null==l?void 0:l.name," via DM since not all positions are posted on job boards \uD83D\uDE09.")}),(0,a.jsx)("div",{children:(0,a.jsxs)(c.Ay.CarbonOutline,{as:n(),href:"".concat(A.A.APP_PATHS.PROFILE({profileHandle:l.profileHandle,absolute:t})).concat(A.A.APP_PATHS.people),small:!0,className:"mx-auto max-w-fit",iconRight:(0,a.jsx)(r.ArrowRightIcon,{size:16}),children:["People ",(null==l?void 0:l.name)?"at ".concat(l.name):""]})})]})},CareerFilter:e=>{let{access:l=!1,activeJobState:t="",companyName:s="",companyProfileHandle:i="",setActiveJobState:d=()=>{},jobsCountMap:x={}}=e,h=(0,o.useRouter)(),E=A.A.APP_PATHS.COMPANY_CAREER_PAGE(i),b=h.asPath===E,j=Object.values(x).reduce((e,l)=>e+l,0);return l?(0,a.jsxs)("div",{className:"bg-gray-00 flex items-center justify-between gap-2 px-4 sm:px-6 sticky z-[5] w-[calc(100%-1px)]",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between w-full",children:[(0,a.jsxs)(p.default.SemiBoldText,{children:["Jobs at ",s]}),b?null:(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(c.Ay.CarbonOutline,{small:!0,as:n(),href:A.A.APP_PATHS.COMPANY_CAREER_PAGE(i),children:"Manage Jobs"}),(0,a.jsx)(T.A,{iconLeft:(0,a.jsx)(r.BriefCaseAddIcon,{size:14}),btn:c.Ay.Carbon,small:!0})]})]}),t?(0,a.jsx)(u.A,{dropdownButton:(0,a.jsxs)("button",{type:"button",className:"flex items-center capitalize hover:cursor-pointer border-primaryBorder border py-1 px-3 rounded-full font-semibold text-xs w-max",children:[m(t),Number.isInteger(x[t])?" • ".concat(x[t]):null,(0,a.jsx)("span",{className:"-mr-0.5 ml-1",children:(0,a.jsx)(r.ChevronDownIcon,{size:14})})]}),className:"ml-auto",children:[S.JOB_STATES.ALL_JOBS,S.JOB_STATES.PUBLISHED,S.JOB_STATES.DRAFT,S.JOB_STATES.ARCHIVED].map(e=>(0,a.jsxs)(u.e.Item,{onClick:()=>{d(e)},className:"text-xs text-gray-1k capitalize",children:[m(e),e===S.JOB_STATES.ALL_JOBS?" • ".concat(j):null,Number.isInteger(x[e])?" • ".concat(x[e]):null]},e))}):null]}):(0,a.jsx)("div",{className:"flex justify-between w-full px-4 sm:px-6",children:(0,a.jsxs)(p.default.SemiBoldText,{children:["Jobs at ",s]})})}}},41421:(e,l,t)=>{"use strict";t.r(l),t.d(l,{__N_SSP:()=>g,default:()=>O});var a=t(37876),s=t(96180),n=t(14232),o=t(48230),i=t.n(o),r=t(89099),c=t(34321),d=t(16495),u=t(82669),A=t(1492),S=t(58385),T=t(34217),p=t(70514),m=t(21639),x=t(16416),h=t(83872),E=t(63819),b=t(89642),j=t(77e3);let B={[d.JOB_STATES.PUBLISHED]:[],[d.JOB_STATES.DRAFT]:[],[d.JOB_STATES.ARCHIVED]:[]},J={[p.A.STATUS.PUBLISHED]:{icon:(0,a.jsx)(S.A.EmptyJobsPage,{}),title:"You haven’t published any jobs yet.",description:"Job posts which are in published state will appear here."},[p.A.STATUS.DRAFT]:{icon:(0,a.jsx)(S.A.EmptyDraftJobsPage,{}),title:"Your drafts will appear here",description:"Incomplete jobs posts are automatically saved as drafts."},[p.A.STATUS.ARCHIVED]:{icon:(0,a.jsx)(S.A.EmptyArchivedJobsPage,{}),title:"No jobs archived",description:"The jobs you archive will appear here."}},v=()=>{var e;let[l,t]=(0,n.useState)(d.JOB_STATES.PUBLISHED),[s,o]=(0,n.useState)(B),[S,v]=(0,n.use
1State)({}),[_,f]=(0,n.useState)(!1),{query:g}=(0,r.useRouter)(),O=async()=>{try{var e,l,a,s,n,i,r,u,A;let[S,T,p]=await Promise.all([c.gz.getJobBoardJobs("status=".concat(d.JOB_STATES.PUBLISHED)),c.gz.getJobBoardJobs("status=".concat(d.JOB_STATES.DRAFT,"&count=false")),c.gz.getJobBoardJobs("status=".concat(d.JOB_STATES.ARCHIVED,"&count=false"))]);o({[d.JOB_STATES.PUBLISHED]:null!=(r=null==S||null==(e=S.data)?void 0:e.jobs)?r:[],[d.JOB_STATES.DRAFT]:null!=(u=null==T||null==(l=T.data)?void 0:l.jobs)?u:[],[d.JOB_STATES.ARCHIVED]:null!=(A=null==p||null==(a=p.data)?void 0:a.jobs)?A:[]});let m={[d.JOB_STATES.PUBLISHED]:null==S||null==(s=S.data)?void 0:s.publishedCount,[d.JOB_STATES.ARCHIVED]:null==S||null==(n=S.data)?void 0:n.archivedCount,[d.JOB_STATES.DRAFT]:null==S||null==(i=S.data)?void 0:i.draftCount};v(m),t(((e,l)=>"true"===l.draft&&(null==e?void 0:e[d.JOB_STATES.DRAFT])?d.JOB_STATES.DRAFT:(null==e?void 0:e[d.JOB_STATES.PUBLISHED])?d.JOB_STATES.PUBLISHED:(null==e?void 0:e[d.JOB_STATES.DRAFT])?d.JOB_STATES.DRAFT:(null==e?void 0:e[d.JOB_STATES.ARCHIVED])?d.JOB_STATES.ARCHIVED:d.JOB_STATES.PUBLISHED)(m,g))}catch(e){}finally{f(!1)}};(0,n.useEffect)(()=>{O()},[]);let P=[];(l===d.JOB_STATES.ALL_JOBS||l===d.JOB_STATES.PUBLISHED)&&P.push(d.JOB_STATES.PUBLISHED),(l===d.JOB_STATES.ALL_JOBS||l===d.JOB_STATES.DRAFT)&&P.push(d.JOB_STATES.DRAFT),(l===d.JOB_STATES.ALL_JOBS||l===d.JOB_STATES.ARCHIVED)&&P.push(d.JOB_STATES.ARCHIVED);let y=[{label:"ACTIVE • ".concat((null==S?void 0:S[d.JOB_STATES.PUBLISHED])||0),link:d.JOB_STATES.PUBLISHED},{label:"DRAFTS • ".concat((null==S?void 0:S[d.JOB_STATES.DRAFT])||0),link:d.JOB_STATES.DRAFT},{label:"ARCHIVED • ".concat((null==S?void 0:S[d.JOB_STATES.ARCHIVED])||0),link:d.JOB_STATES.ARCHIVED}];return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"sticky top-14 z-[6]",children:(0,a.jsx)(j.A,{navTabs:y,currentNavTab:l,onClick:e=>t(e.link)})}),(0,a.jsx)("div",{className:"pt-6",children:(0,a.jsxs)("div",{className:"px-4 sm:px-6 mb-10",children:[(0,a.jsx)("ul",{className:"flex flex-col gap-10",children:P.map(e=>{let t=s[e];if(!(null==t?void 0:t.length)){let t=J[e];return(0,a.jsx)(T.A.EmptyState,{icon:t.icon,title:t.title,description:t.description,body:l===p.A.STATUS.PUBLISHED?(0,a.jsx)(b.A,{iconLeft:(0,a.jsx)(h.BriefCaseAddIcon,{size:14}),btn:m.Ay.Primary,className:"mt-6"}):null},t.title)}return(0,a.jsx)("div",{className:"flex flex-col gap-1 scroll-m-20",id:e,children:(0,a.jsx)("div",{className:"flex flex-col",children:(null==t?void 0:t.length)?t.map(e=>(0,a.jsx)(i(),{className:"flex py-4 flex-col gap-3 group cursor-pointer",href:(null==e?void 0:e.status)===d.JOB_STATES.DRAFT?"".concat(x.A.APP_PATHS.postAJob,"?id=").concat(e.jobId):E.default.getRecruiterViewURL(e.company.name,e.jobId),passHref:!0,children:(0,a.jsx)(A.A.RecruiterJobItem,{job:e,boardState:(null==e?void 0:e.archivedAt)?d.JOB_STATES.ARCHIVED:null==e?void 0:e.status,handleJobRemoveOnLocal:O,handleJobStatusChange:O})},e.jobId)):null})},e)})}),_&&(e=[...s[d.JOB_STATES.PUBLISHED],...s[d.JOB_STATES.DRAFT],...s[d.JOB_STATES.ARCHIVED]],!e.length)&&(0,a.jsx)("div",{className:"flex items-center",children:(0,a.jsx)(u.A,{})})]})})]})};var _=t(39810),f=t(78747),g=!0;let O=function(e){let{companyData:l,careersList:t=[]}=e,n={title:"".concat(l.name," Careers and Jobs | Peerlist"),description:"Explore ".concat(l.name,"'s career page and browse through our current job openings. Apply now and take your career to the next level!"),keywords:"".concat(l.name," careers,  ").concat(l.name," jobs ").concat(l.name," is hiring with Peerlist, Software engineer role at ").concat(l.name,", Designer role at ").concat(l.name),canonical:x.A.APP_PATHS.COMPANY_CAREER_PAGE(l.profileHandle,!0)};return(0,a.jsx)(f.A,{companyData:l,pageProp:{showBackButton:!0,heading:"Manage Jobs",centerTopOptions:(0,a.jsx)(b.A,{iconLeft:(0,a.jsx)(h.BriefCaseAddIcon,{size:14}),btn:m.Ay.Carbon})},pageMetaData:n,children:(null==l?void 0:l.access)?(0,a.jsx)(v,{}):(0,a.jsxs)(a.Fragment,{children:[0===t.length?(0,a.jsx)(_.A.EmptyCareers,{data:l}):null,(0,a.jsx)(s.A,{shortSSRData:l,careersList:t})]})})}},96180:(e,l,t)=>{"use strict";t.d(l,{A:()=>f,K:()=>_});var a=t(37876),s=t(14232),n=t(48230),o=t.n(n),i=t(89099),r=t(92092),c=t(83872),d=t(89311),u=t(80105),A=t(39810),S=t(1492),T=t(16495),p=t(16416),m=t(63819),x=t(34321),h=t(82669),E=t(71297),b=t(68827),j=t(58385),B=t(21639),J=t(34217);let v="ALL TEAMS",_=e=>{var l;let{careersList:t=[],shortSSRData:n=null,showShareButton:u=!0,target:v="_self"}
1=e,_=(0,i.useRouter)(),[f,g]=(0,s.useState)([]),[O,P]=(0,s.useState)(null==n?void 0:n.access),y=async()=>{try{var e;let l=await x.gz.getJobBoardJobs("status=".concat(T.JOB_STATES.PUBLISHED));g(null==l||null==(e=l.data)?void 0:e.jobs)}catch(e){E.A.ErrorToast(b.A.GLOBAL.wrong)}finally{P(!1)}},D=()=>_.push(_.asPath);(0,s.useEffect)(()=>{(null==n?void 0:n.access)&&y()},[n]);let C=null==n||null==(l=n.profileTypes)?void 0:l.includes(p.A.PROFILE_TYPES.CBC.name);return(null==t?void 0:t.length)||(null==n?void 0:n.access)||!C?!(null==t?void 0:t.length)&&(null==n?void 0:n.access)?(0,a.jsx)("div",{className:"px-4 sm:px-6",children:(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsxs)(d.default.SemiBoldText,{children:["Jobs at ",n.name]}),(0,a.jsx)(J.A.EmptyState,{icon:(0,a.jsx)(j.A.EmptyJobsPage,{}),title:"You don’t have any active jobs.",description:"Existing Jobs can be found on the Manage Jobs page",body:(0,a.jsx)(B.Ay.CarbonOutline,{className:"pl-3.5 flex items-center gap-1 mt-4",onClick:()=>_.push(p.A.APP_PATHS.COMPANY_CAREER_PAGE(null==n?void 0:n.profileHandle)),iconLeft:(0,a.jsx)(c.BriefCaseAddIcon,{size:16}),children:"Post a Job"})})]})}):0===t.length?null:(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsx)(A.A.CareerFilter,{access:null==n?void 0:n.access,companyName:null==n?void 0:n.name,companyProfileHandle:null==n?void 0:n.profileHandle}),(0,a.jsxs)("ul",{children:[!O||(null==f?void 0:f.length)?null:(0,a.jsx)("div",{className:"flex items-center",children:(0,a.jsx)(h.A,{})}),n.access&&(null==f?void 0:f.length)?null==f?void 0:f.map(e=>(0,a.jsx)("li",{children:(0,a.jsx)(o(),{className:"flex py-4 px-6 flex-col gap-3 group cursor-pointer",href:(null==e?void 0:e.status)===T.JOB_STATES.DRAFT?"".concat(p.A.APP_PATHS.postAJob,"?id=").concat(e.jobId):m.default.getRecruiterViewURL(e.company.name,e.jobId),children:(0,a.jsx)(S.A.RecruiterJobItem,{job:e,boardState:(null==e?void 0:e.archivedAt)?T.JOB_STATES.ARCHIVED:null==e?void 0:e.status,handleJobRemoveOnLocal:D,handleJobStatusChange:D})})},e.jobId)):null,(null==n?void 0:n.access)?null:t.map(e=>(0,a.jsx)("li",{children:(0,a.jsx)(r.A.PublicJobItem,{job:e,hideCompanyName:!0,showShareButton:u,showSaveButton:!1,hideLogo:!0,target:v,itemClassName:"px-6 py-4"})},e.jobId))]})]}):null},f=e=>{let{careersList:l=[],shortSSRData:t=null,showShareButton:n=!0,target:o="_self"}=e,[i,r]=(0,s.useState)([]),[c,d]=(0,s.useState)([]);return((0,s.useEffect)(()=>{if(0===i.length&&0===c.length&&l.length>0){let e=u.A.restructureJobsArray(l),t=e.map(e=>e.type);r(e),d([v,...t])}},[l]),0===l.length)?null:(0,a.jsxs)("div",{children:[(0,a.jsx)(A.A.CareerFilter,{access:null==t?void 0:t.access,companyName:null==t?void 0:t.name,careerFilterOptions:c,handleFilteringCareers:e=>{let t=u.A.restructureJobsArray(l);e!==v&&(t=t.filter(l=>l.type===e)),r(t)}}),(0,a.jsx)("ul",{className:"mt-10",children:i.map(e=>(0,a.jsx)(g,{jobsCollection:e,target:o,showShareButton:n},e.type))})]})},g=e=>{let{jobsCollection:l,showShareButton:t=!0,target:n="_self"}=e,[o,i]=(0,s.useState)(!0);return(0,a.jsxs)("li",{className:o?"mb-10":"mb-0",children:[(0,a.jsx)(O,{heading:l.type,count:l.list.length,isJobSectionOpen:o,setIsJobSectionOpen:i},l.type),(0,a.jsx)("ul",{className:"transition-all duration-1000 ease-in-out ".concat(o?"h-auto":"h-0 overflow-hidden"),children:l.list.map(e=>(0,a.jsx)("li",{children:(0,a.jsx)(r.A.PublicJobItem,{job:e,hideCompanyName:!0,showShareButton:t,showSaveButton:!1,hideLogo:!0,target:n})},e.jobId))})]})},O=e=>{let{heading:l,count:t,isJobSectionOpen:s,setIsJobSectionOpen:n}=e;return(0,a.jsxs)("div",{role:"none",onClick:()=>n(e=>!e),className:"bg-gray-50 px-4 sm:px-6 py-2 flex items-center justify-between cursor-pointer select-none ".concat(s?"":"mb-4"),children:[(0,a.jsxs)(d.default.SemiBoldText,{xs:!0,as:"h3",className:"capitalize flex items-center gap-1 tracking-wider ",children:[(0,a.jsx)("span",{className:" transition-all ".concat(s?"rotate-180 ":""),children:(0,a.jsx)(c.ChevronDownIcon,{size:16})}),l]}),(0,a.jsxs)(d.default.SemiBoldText,{xs:!0,textColor:"text-green-300",children:[t," ",t>1?"open roles":"open role"]})]})}}},e=>{e.O(0,[1515,9111,5389,4481,1889,7653,2092,8747,636,6593,8792],()=>e(e.s=23115)),_N_E=e.O()}]);

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.