https://js-static.iimjobs.com/production/21.4.0/_next/static/chunks/pages/search-b26a6b65c103fb57.js
1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9603,1981,299,8168],{68389:function(e,r,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/search",function(){return t(60342)}])},20140:function(e,r,t){"use strict";var n=t(2784),s=t(94449);r.Z=function(e){var r=(0,s.I0)();(0,n.useEffect)(function(){r({type:"AppContext/set_current_page",payload:{page:e}})},[e,r])}},57883:function(e,r,t){"use strict";t.d(r,{ZP:function(){return C},g5:function(){return b},cn:function(){return _}});var n=t(85333),s=t(52322),o=t(94449),a=t(62197),i=t(23119),u=t(78229),l=t(88646),d=t(38885),c=t(96138),h=t(55351),f=t(79427),v=function(){return(0,s.jsx)(s.Fragment,{children:"Oops! something went wrong, please try again"})},p=function(e){var r=e.children;return(0,s.jsx)(f.SV,{FallbackComponent:v,onError:function(e,r){},children:r})},m=t(81524),g=t(99491),y=t(89520),x=t(29878),w=t(19308),_=function(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"desktop";return null==e?void 0:e.map(function(e,n){return(null==e?void 0:e.item)&&n<e.item.length?(0,s.jsxs)(a.Z,{fontSize:r?12:10,color:r?"#898989":"secondary.main",fontWeight:500,children:[(null==e?void 0:e.name)==="Home"&&r&&(0,s.jsx)(g.E,{src:w.jhW,alt:"home-bread",width:10,height:10,style:{marginRight:"8px"}}),(0,s.jsx)(i.Z,{href:null==e?void 0:e.item,onClick:function(r){r.preventDefault(),(null==e?void 0:e.item)&&(0,y.VP)(function(){return(0,y.Yo)(e.item,"_self")})},sx:{textDecoration:"none",color:r?"#898989":"secondary.main",":hover":{textDecoration:r?"underline":"none"}},children:"desktop"===t?null==e?void 0:e.name:(0,m.aS)(null==e?void 0:e.name,10)})]},"breadcrumb-layout-".concat(n)):(0,s.jsx)(a.Z,{fontSize:r?12:10,color:"secondary.main",sx:{overflowX:"hidden",overflowY:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},textTransform:"capitalize",children:"mobile"===t?(0,m.aS)(null==e?void 0:e.name,24):null==e?void 0:e.name},"breadcrumb-title-".concat(n))})},b=function(e){return null==e?void 0:e.map(function(r,t){if(null==r?void 0:r.name){var n,s={position:t+1,name:null==r?void 0:r.name};return(null==e?void 0:e.length)-1!==t&&(s.item="".concat("https://www.iimjobs.com").concat(null==r?void 0:null===(n=r.item)||void 0===n?void 0:n.split("?")[0])),s}return r})},C=function(e){var r=e||{},t=r.children,i=r.breadcrumbElements,f=r.variant,v=(0,l.YN)(2560),m=(0,o.v9)(function(e){return e.app.page},o.wU),g=_(i,!1,(0,o.v9)(function(e){return e.app.layout},o.wU).device),y=(0,n._)({background:f===d.r.VERSION_TWO?"#F3F7FA":"#fff",py:{xxs:i.length?10:(null==m?void 0:m.indexOf(x.oG))>-1?6:8,md:"jobfeed"==m?10:(null==m?void 0:m.indexOf(x.oG))>-1?8:10},minHeight:(null==m?void 0:m.indexOf(x.Bh))>-1||(null==m?void 0:m.includes("registration-"))||(null==m?void 0:m.indexOf(x.OV))>-1||(null==m?void 0:m.indexOf(x.FU))>-1?"100vh":"58vh"},{px:f===d.r.VERSION_TWO?2:v?66:{xxs:2,md:4,xl:15}});return(0,s.jsx)(p,{children:(0,s.jsxs)(u.xu,{display:"flex",justifyContent:"center",sx:(0,n._)({},y,(null==m?void 0:m.indexOf(x.Bh))>-1||(null==m?void 0:m.indexOf(x.VH))>-1||(null==m?void 0:m.indexOf(x.Yo))>-1?{paddingBottom:"0px !important"}:{}),children:[!1,(0,s.jsxs)(u.xu,{maxWidth:1440,width:"100%",children:[(0,s.jsx)(function(){return(0,s.jsxs)(s.Fragment,{children:[(null==i?void 0:i.length)>0&&(0,s.jsx)(h.BreadcrumbJsonLd,{itemListElements:b(i)}),(null==i?void 0:i.length)>0&&(0,s.jsx)(u.xu,{sx:{pb:2},children:(0,s.jsx)(c.Z,{variant:d.r.VERSION_TWO,separator:(0,s.jsx)(a.Z,{fontSize:10,color:"secondary.main",mx:0,children:">"}),breadcrumbs:g})})]})},{}),t]})]})})}},60342:function(e,r,t){"use strict";t.r(r),t.d(r,{__N_SSP:function(){return w}});var n=t(89290),s=t(52322),o=t(94449),a=t(73405),i=t(48774),u=t(38885),l=t(1305),d=t(14677),c=t(29878),h=t(20140),f=t(70127),v=t(81524),p=t(37763),m=t(59083),g=t(5632),y=t(13421),x=t(2784),w=!0;r.default=function(e){var r,t=e.userIdSSR,w=e.query,_=e.seoConfig,b=e.filters,C=e.showMultiApply,E=(0,v.mQ)(d.R,c.PJ,!0,c.mo);(0,h.Z)("search");var k=(0,o.I0)();k({type:"AppContext/set_open_searchoverlay",payload:{search:!1}}),(0,i.Z)(k);var I=[{name:"Home",item:"/"},{name:(0,v.rV)(w),item:""}],j=(0,g.useRouter)(),O=(0,o.v9)(function(e){return e.auth},o.wU).userId,S=(0,x.useRef)(!1),A=(0,x.useRef)(!1),P=(0,x.useRef)(!1),T=(0,x.useRef)(!1),N=(0,n._)((0,x.useState)((null==b?void 0:b.page)+1),2),R=N[0],Z=N[1],F=(0,n._)((0,x.useState)({loc:b.loc||[],minexp:j.query.minexp||"",maxex
1p:j.query.maxexp||"",duration:null==b?void 0:b.posting,industry:b.industry}),2),J=F[0],U=F[1];return(0,x.useEffect)(function(){var e=y.parse(document.cookie);(null==e?void 0:e.aiSearchError)&&(0,p.Eo)((0,s.jsxs)("span",{children:["AI Search is temporarily offline. ",(0,s.jsx)("br",{}),"Check out the regular search results below while we get things back on track."]})),document.cookie="aiSearchError=; Path=/; Max-Age=0; SameSite=Lax"},[]),(0,x.useEffect)(function(){P.current=!0},[R]),(0,x.useEffect)(function(){A.current&&(T.current=!0)},[J]),(0,x.useEffect)(function(){if(!S.current||P.current||T.current){var e,r,n,s=R>b.page+1?"scroll":A.current?"scroll":"view";T.current&&(s="filter");var o=t||O||"-1";S.current=!0,P.current=!1,T.current=!1,(0,m.Xf)("searchResultPageView",s,{ref:j.query.ref||"",pageName:"SearchResultPage",pageNo:R,keyword:(null===(e=(0,v.rV)(w))||void 0===e?void 0:e.replace(/(^\w{1})|(\s+\w{1})/g,function(e){return e.toUpperCase()}))||"",filterExp:(null==J?void 0:J.maxexp)?"".concat(J.minexp,"-").concat(J.maxexp):"",filterDuration:(null==J?void 0:J.duration)||"",filterLocation:(null==J?void 0:null===(r=J.loc)||void 0===r?void 0:r.join(","))||"",filterIndustry:(null==J?void 0:null===(n=J.industry)||void 0===n?void 0:n.join(","))||"",sessionUsername:"".concat(o)}),A.current=!0}},[O,R,J]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(a.n,{metaInfo:E,children:[(0,s.jsx)(f.Ut,{seoConfig:_,paginationEnabled:!0}),(0,s.jsx)(f.zn,{children:(0,s.jsx)(f.bN,{variant:u.r.VERSION_TWO,breadcrumbElements:I,children:(0,s.jsx)(f.uD,{jobFeedType:c.mo,catOrTagId:w,catOrTagTitle:"Search for - ".concat(null===(r=(0,v.rV)(w))||void 0===r?void 0:r.replace(/(^\w{1})|(\s+\w{1})/g,function(e){return e.toUpperCase()})),showProfileCard:!1,showFeatured:!0,showLearning:!0,preFilters:b,setPageNumber:Z,onFiltersChange:U,enablePagination:!0,showMultiApply:C})})})]}),(0,s.jsx)(l.en,{})]})}},48774:function(e,r,t){"use strict";var n=t(81862),s=t(5163),o=t(2784),a=t(60299),i=t(89520);r.Z=function(e){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(0,o.useEffect)(function(){var t;(t=(0,n._)(function(){var t,n,o,u,l,d;return(0,s.Jh)(this,function(s){switch(s.label){case 0:return s.trys.push([0,2,,3]),[4,a.Z.validate("validate")];case 1:if(null===(t=d=s.sent())||void 0===t?void 0:t.error)return e({type:"Auth/set_user_logged_out"}),e({type:"User/clear_user_profile"}),e({type:"User/clear_profile_completeness"}),r&&(0,i.Yo)("/","_self"),[2];return e({type:"Auth/set_user_loggedin"}),e({type:"Auth/set_auth",payload:{token:null===(n=d)||void 0===n?void 0:n.token}}),e({type:"Auth/set_user_info",payload:{userId:null===(o=d)||void 0===o?void 0:o.userId}}),sessionStorage.setItem("userId",(null===(u=d)||void 0===u?void 0:u.userId)||"-1"),sessionStorage.setItem("status",(null===(l=d)||void 0===l?void 0:l.userId)?"LoggedIn":"LoggedOut"),[3,3];case 2:return s.sent(),e({type:"Auth/set_user_logged_out"}),e({type:"User/clear_user_profile"}),e({type:"User/clear_profile_completeness"}),r&&(0,i.Yo)("/","_self"),[3,3];case 3:return e({type:"AppContext/set_layout_validated",payload:!0}),[2]}})}),function(){return t.apply(this,arguments)})()},[r])}},8168:function(e,r,t){"use strict";var n,s,o,a,i,u,l,d,c,h,f=t(81862),v=t(85333),p=t(5163),m=t(19126),g=t.n(m),y=t(21094),x=t(62247),w=t(67015),_=t(75277),b=(0,w.Z)("".concat("https://gladiator.iimjobs.com","/").concat("user","/")),C=(n=(0,f._)(function(e,r){var t,n,s,o,a,i,u,l,d,c,h;return(0,p.Jh)(this,function(f){switch(f.label){case 0:return f.trys.push([0,2,,3]),[4,b.post("".concat(e),g().stringify(r),{withCredentials:!0,headers:{"x-url":(0,_.A)(),"x-referer":(0,_.w)(),"x-href":window.location.href}})];case 1:if(200===(t=f.sent())[y.Q_]){if((null===(n=t.data)||void 0===n?void 0:n.twoFactorAuth)||(null===(o=t.data)||void 0===o?void 0:null===(s=o.options)||void 0===s?void 0:s.reset))return[2,null===(d=t)||void 0===d?void 0:d.data];if(null===(a=t.data)||void 0===a?void 0:a.activationToken)return[2,null===(c=t)||void 0===c?void 0:c.data];return[2,{token:null===(i=t.data)||void 0===i?void 0:i[y.LT],userId:null===(u=t.data)||void 0===u?void 0:u.seekerId,obfuscatedUserId:null===(l=t.data)||void 0===l?void 0:l.obfuscatedUserId,expires:172800}]}return[2,{}];case 2:return[2,{error:{message:(h=f.sent()).response.data.error.message,code:h.response.data.error.statusCode}}];case 3:return[2]}})}),function(e,r){return n.apply(this,arguments)}),E=(s=(0,f._)(function(e,r){var t,n,s,o,a;return(0,p.Jh)(this,function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,b.post("".concat(e),g().stringify(r),{withCredentials:!0,headers:{"x-url":(0,_.A)(),"x-referer":(0,_.w)(),"x-href":window.location.href}})];case 1:if(200===(n=i.sent())[y.Q_]&&(null===(t=n.data)||void 0===t?void 0:t.seekerId))return[2,{token:null===(s=n.data)||void 0===s?void 0:s[y.LT],expires:172800,userId:null===(o=n.data)||void 0===o?void 0:o.seekerId,emailVerified:!1}];return[2,{error:{message:"some issue while registering! Please try again!",code:404}}];case 2:return[2,{error:{message:(a=i.sent()).response.data.error.message,code:a.response.data.error.statusCode}}];case 3:return[2]}})}),function(e,r){return s.apply(this,arguments)}),k=(o=(0,f._)(function(e,r){var t,n,s;return(0,p.Jh)(this,function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),[4,b.post("".concat(e),g().stringify(r))];case 1:if(200===(t=o.sent())[y.Q_]){if(null===(n=t.data)||void 0===n?void 0:n.activationToken)return[2,{message:t.data.message,activationToken:t.data.activationToken}];return[2,{message:t.data.message}]}return[2,{}];case 2:return[2,{error:{message:(s=o.sent()).response.data.error.message,code:s.response.data.error.statusCode}}];case 3:return[2]}})}),function(e,r){return o.apply(this,arguments)}),I=(a=(0,f._)(function(e,r){var t,n;return(0,p.Jh)(this,function(s){switch(s.label){case 0:return s.trys.push([0,2,,3]),[4,b.post("".concat(e),g().stringify(r))];case 1:if(200===(t=s.sent())[y.Q_])return[2,{message:t.data.data.message}];return[2,{}];case 2:return[2,{error:{message:(n=s.sent()).response.data.error.message,code:n.response.data.error.statusCode}}];case 3:return[2]}})}),function(e,r){return a.apply(this,arguments)}),j=(i=(0,f._)(function(e,r){var t,n;return(0,p.Jh)(this,function(s){switch(s.label){case 0:return s.trys.push([0,2,,3]),[4,b.post("".concat(e),g().stringify(r))];case 1:if(200===(t=s.sent())[y.Q_])return[2,{message:t.data.emailSent?"Email sent":"Failed to send email"}];return[2,{}];case 2:return[2,{error:{message:(n=s.sent()).response.data.error.message,code:n.response.data.error.statusCode}}];case 3:return[2]}})}),function(e,r){return i.apply(this,arguments)}),O=(u=(0,f._)(function(e,r){var t,n,s,o;return(0,p.Jh)(this,function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),[4,b.post("".concat(e),r,{withCredentials:!0,headers:{"x-url":(0,_.A)(),"x-referer":(0,_.w)(),"x-href":window.location.href}})];case 1:if(200===(t=a.sent())[y.Q_])return[2,{success:null===(n=t.data)||void 0===n?void 0:n.success,name:null===(s=t.data)||void 0===s?void 0:s.name}];return[2,{}];case 2:return[2,{error:{message:(o=a.sent()).response.data.error.message,code:o.response.data.error.statusCode}}];case 3:return[2]}})}),function(e,r){return u.apply(this,arguments)}),S=(l=(0,f._)(function(e,r){var t,n,s,o,a,i,u;return(0,p.Jh)(this,function(l){switch(l.label){case 0:return l.trys.push([0,2,,3]),[4,b.post("".concat(e),r,{withCredentials:!0,headers:{"x-url":(0,_.A)(),"x-referer":(0,_.w)(),"x-href":window.location.href}})];case 1:if(200===(t=l.sent())[y.Q_])return[2,{token:null===(n=t.data)||void 0===n?void 0:n[y.LT],userId:null===(s=t.data)||void 0===s?void 0:s.seekerId,action:null===(o=t.data)||void 0===o?void 0:o.action,name:null===(a=t.data)||void 0===a?void 0:a.name,redirectPath:null===(i=t.data)||void 0===i?void 0:i.redirectPath}];return[2,{}];case 2:return[2,{error:{message:(u=l.sent()).response.data.error.message,code:u.response.data.error.statusCode}}];case 3:return[2]}})}),function(e,r){return l.apply(this,arguments)}),A=(d=(0,f._)(function(e,r){var t,n,s,o;return(0,p.Jh)(this,function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),[4,b.post("".concat(e),r,{withCredentials:!0,headers:{"x-url":(0,_.A)(),"x-referer":(0,_.w)(),"x-href":window.location.href}})];case 1:if(200===(t=a.sent())[y.Q_])return[2,{success:null===(n=t.data)||void 0===n?void 0:n.success,name:null===(s=t.data)||void 0===s?void 0:s.name}];return[2,{}];case 2:return[2,{error:{message:(o=a.sent()).response.data.error.message,code:o.response.data.error.statusCode}}];case 3:return[2]}})}),function(e,r){return d.apply(this,arguments)}),P=(c=(0,f._)(function(e,r){var t,n,s,o,a,i,u,l,d,c;return(0,p.Jh)(this,function(h){switch(h.label){case 0:return h.trys.push([0,2,,3]),[4,b.post("".concat(e),r,{withCredentials:!0,headers:{"x-url":(0,_.A)(),"x-referer":(0,_.w)(),"x-href":window.location.href}})];case 1:if(200===(t=h.sent())[y.Q_])return[2,{token:null===(n=t.data)||void 0===n?void 0:n[y.LT],sendAuth:null===(s=t.data)||void 0===s?void 0:s.sendAuth,action:null===(o=t.data)||void 0===o?void 0:o.action,userId:null===(a=t.data)||void 0===a?void 0:a.seekerId,seekerId:null===(i=t.data)||void 0===i?void 0:i.seekerId,name:null===(u=t.data)||void 0===u?void 0:u.name,redirectPath:null===(l=t.data)||void 0===l?void 0:l.redirectPath,isNewAccount:null===(d=t.data)||void 0===d?void 0:d.isNewAccount}];return[2,{}];case 2:return[2,{error:{message:(c=h.sent()).response.data.error.message,code:c.response.data.error.statusCode}}];case 3:return[2]}})}),function(e,r){return c.apply(this,arguments)}),T=(h=(0,f._)(function(e){var r,t=arguments;return(0,p.Jh)(this,function(n){switch(n.label){case 0:r=t.length>1&&void 0!==t[1]?t[1]:{},n.label=1;case 1:return n.trys.push([1,3,,4]),[4,b.post("".concat(e),g().stringify({}),(0,v._)({withCredentials:!0},r))];case 2:return n.sent(),(0,x.DH)(),[3,4];case 3:throw n.sent();case 4:return[2]}})}),function(e){return h.apply(this,arguments)});r.Z={login:C,register:E,forgotPassword:k,logOut:T,sendOtp:O,verifyOtp:S,sendMobileOtp:A,verifyMobileOtp:P,resendPasswordPolicyEmail:j,resetPassword:I}},60299:function(e,r,t){"use strict";
1var n,s,o=t(81862),a=t(85333),i=t(6692),u=t(5163),l=t(21094),d=t(67015),c=t(62247),h=t(8168),f=t(89520),v=(0,d.Z)("".concat("https://gladiator.iimjobs.com","/").concat("auth","/")),p=(n=(0,o._)(function(e){var r,t,n,s,o,d,c,h=arguments;return(0,u.Jh)(this,function(u){switch(u.label){case 0:r=h.length>1&&void 0!==h[1]?h[1]:{},u.label=1;case 1:return u.trys.push([1,3,,4]),[4,v.get("".concat(e),(0,i._)((0,a._)({},r),{headers:(0,a._)({"Cache-Control":"no-cache"},r.headers)}))];case 2:if(200===(n=u.sent())[l.Q_])return[2,{token:null===(s=n.data)||void 0===s?void 0:s[l.LT],userId:null===(o=n.data)||void 0===o?void 0:o.seekerId,type:(null===(d=n.data)||void 0===d?void 0:d.type)||""}];if(null===(t=n)||void 0===t?void 0:t.type)return[2,n];return[2,{}];case 3:return[2,{error:{message:(c=u.sent()).response.data.error.message,code:c.response.data.error.statusCode}}];case 4:return[2]}})}),function(e){return n.apply(this,arguments)}),m=(s=(0,o._)(function(e,r){var t,n,s,o,i,d,p;return(0,u.Jh)(this,function(u){switch(u.label){case 0:t=(0,a._)({withCredentials:!0,retry:3,retryDelay:3e3},r),u.label=1;case 1:return u.trys.push([1,3,,6]),[4,v.get("".concat(e),t)];case 2:if(200===(n=u.sent())[l.Q_]){if((i=null===(o=n)||void 0===o?void 0:null===(s=o.data)||void 0===s?void 0:s.token)&&i.length>150&&3===i.split(".").length)return[2,{token:i}];return[2,{}]}return[3,6];case 3:if((null===(p=u.sent())||void 0===p?void 0:null===(d=p.response)||void 0===d?void 0:d.status)!==406)return[3,5];return[4,h.Z.logOut("logout")];case 4:u.sent(),(0,c.DH)(),(0,f.Yo)("/","_self"),u.label=5;case 5:return[3,6];case 6:return[2]}})}),function(e,r){return s.apply(this,arguments)});r.Z={validate:p,refresh:m}},79427:function(e,r,t){"use strict";t.d(r,{SV:function(){return a}});var n=t(2784);let s=(0,n.createContext)(null),o={didCatch:!1,error:null};class a extends n.Component{constructor(e){super(e),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=o}static getDerivedStateFromError(e){return{didCatch:!0,error:e}}resetErrorBoundary(){let{error:e}=this.state;if(null!==e){for(var r,t,n=arguments.length,s=Array(n),a=0;a<n;a++)s[a]=arguments[a];null===(r=(t=this.props).onReset)||void 0===r||r.call(t,{args:s,reason:"imperative-api"}),this.setState(o)}}componentDidCatch(e,r){var t,n;null===(t=(n=this.props).onError)||void 0===t||t.call(n,e,r)}componentDidUpdate(e,r){let{didCatch:t}=this.state,{resetKeys:n}=this.props;if(t&&null!==r.error&&function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.length!==r.length||e.some((e,t)=>!Object.is(e,r[t]))}(e.resetKeys,n)){var s,a;null===(s=(a=this.props).onReset)||void 0===s||s.call(a,{next:n,prev:e.resetKeys,reason:"keys"}),this.setState(o)}}render(){let{children:e,fallbackRender:r,FallbackComponent:t,fallback:o}=this.props,{didCatch:a,error:i}=this.state,u=e;if(a){let e={error:i,resetErrorBoundary:this.resetErrorBoundary};if("function"==typeof r)u=r(e);else if(t)u=(0,n.createElement)(t,e);else if(void 0!==o)u=o;else throw i}return(0,n.createElement)(s.Provider,{value:{didCatch:a,error:i,resetErrorBoundary:this.resetErrorBoundary}},u)}}}},function(e){e.O(0,[6525,4424,8898,8903,4235,8917,5789,4285,9410,246,5596,7037,9175,9254,932,7799,5687,6273,5990,6749,4907,3749,2096,5732,2157,7201,8583,2566,4810,9369,2805,8646,3996,8505,5149,127,1305,9774,2888,179],function(){return e(e.s=68389)}),_N_E=e.O()}]); 2//# sourceMappingURL=search-b26a6b65c103fb57.js.map
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.