PageSourceSearch

https://assets.geeksforgeeks.org/gfg-assets/_next/static/chunks/pages/companies-f4c462bf5b9908b3.js

js geeksforgeeks.org collected 2026-09-24 07:57:34 UTC 16,033 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9782],{82329:function(a,b,c){(window.__NEXT_P=window.__NEXT_P||[]).push(["/companies",function(){return c(55830)}])},34030:function(a,b,c){"use strict";var d=c(85893);c(67294);var e=c(24035),f=c.n(e);b.Z=function(){return(0,d.jsxs)("div",{className:f().collegeExploreCard,children:[(0,d.jsx)("div",{className:f().collegeExploreCard_titleSkeleton}),(0,d.jsx)("div",{className:f().collegeExploreCard_usersSkeleton}),(0,d.jsx)("div",{className:f().collegeExploreCard_locationSkeleton}),(0,d.jsx)("div",{className:f().collegeExploreCard_ctaSkeleton})]})}},71565:function(a,b,c){"use strict";var d=c(85893);c(67294);var e=c(60973),f=c.n(e),g=c(11163);b.Z=function(a){var b=a.isSearchButtonClicked,c=a.setIsSearchButtonClicked,e=a.redirectionLink,h=(0,g.useRouter)();return(0,d.jsxs)("div",{className:f().noDataUI,children:[(0,d.jsx)("div",{className:f().noDataUI_text,children:"Oops! It seems there's nothing here"}),b?(0,d.jsx)("div",{className:f().noDataUI_cta,children:(0,d.jsx)("button",{className:f()["noDataUI_cta--btn"],onClick:function(){c(!1)},children:"See the Actual Results"})}):(0,d.jsx)("div",{className:f().noDataUI_cta,children:(0,d.jsx)("a",{className:f()["noDataUI_cta--btn"],href:e||h.pathname,children:"Return to Home Page"})})]})}},83777:function(a,b,c){"use strict";var d=c(30137),e=c(76341),f=c(67462),g=c(98732),h=c(34051),i=c.n(h),j=c(67294);c(96486);var k=c(11163),l=c(88858),m=c(78082),n=c(43135),o=c(15451),p=c(31955),q=function(){var a=arguments.length>0&& void 0!==arguments[0]?arguments[0]:null,b=arguments.length>1&& void 0!==arguments[1]?arguments[1]:null,c=(0,o.C2)();(0,g._)((0,l.FF)(),1)[0];var h,q,r=(0,j.useContext)(m.ZP),s=r.loginInformation,t=r.isLoggedIn,u=(0,k.useRouter)(),v=(0,j.useRef)(null),w=(0,j.useRef)(null),x=(0,j.useRef)({termIds:b,postId:a||(null==c?void 0:c.pageId),postType:null==c?void 0:c.name,captchaToken:null,prevPostId:0,prevPosType:null,isLoggedIn:!1}),y=(h=(0,d._)(i().mark(function a(){var b;return i().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(!v.current){a.next=5;break}return a.next=3,v.current.executeAsync();case 3:return b=a.sent,a.abrupt("return",b);case 5:return a.abrupt("return",null);case 6:case"end":return a.stop()}},a)})),function(){return h.apply(this,arguments)}),z=(q=(0,d._)(i().mark(function a(){var b,c;return i().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return null==v||null===(b=v.current)|| void 0===b||b.reset(),a.next=4,y();case 4:c=a.sent,x.current=(0,f._)((0,e._)({},x.current),{captchaToken:c});case 6:case"end":return a.stop()}},a)})),function(){return q.apply(this,arguments)}),A=(0,j.useCallback)(function(a){console.error("RECAPTCHA ERROR",a)},[]);(0,j.useCallback)((0,d._)(i().mark(function a(){var b,c;return i().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:try{(c=new FormData).append("post_id",null==x?void 0:x.current.postId),c.append("screen_resolution_height",window.outerHeight),c.append("screen_resolution_width",window.outerWidth),c.append("type",null==x?void 0:x.current.postType),c.append("prev_post",null==x?void 0:x.current.prevPostId),(null==x?void 0:x.current.termIds)&&c.append("term_ids",null==x?void 0:x.current.termIds),c.append("domain","gfg"),(null==x?void 0:null===(b=x.current)|| void 0===b?void 0:b.eidentifier)&&c.append("eidentifier",null==x?void 0:x.current.eidentifier),c.append("isLoggedIn",null==x?void 0:x.current.isLoggedIn),c.append("current_url",window.location.origin+u.asPath),c.append("prev_post_type",(null==x?void 0:x.current.prevPosType)||""),c.append("g-recaptcha-token",null==x?void 0:x.current.captchaToken),navigator.sendBeacon(n.Jx.GFG_USER_TRACKING_API_URL+"post/api/usertracking/",c)}catch(d){console.error(d,"api error")}case 1:case"end":return a.stop()}},a)})),[null==x?void 0:x.current,u.asPath]);var B=function(){localStorage.setItem("previous",null==x?void 0:x.current.postId),localStorage.setItem("prev_post_type",null==x?void 0:x.current.postType);var a,b="".concat(null==x?void 0:x.current.postId,"||").concat(null==x?void 0:x.current.postType);p.Z.set("gfg_pp",b,{expires:1,path:"/"}),null==v||null===(a=v.current)|| void 0===a||a.reset()};return(0,j.useEffect)(function(){(a=(0,d._)(i().mark(function a(){var b;return i().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,y();case 2:b=a.sent,x.current=(0,f._)((0,e._)({},x.current),{captchaToken:b});case 4:case"end":return a.stop()}},a)})),function(){return a.apply(this,arguments)})();var a,b=localStorage.getItem("prev_post_type");x.current=(0,f._)((0,e._)({},null==x?void 0:x.current),{prevPostId:null!==localStorage.getItem("previous")&&isNaN(Number(localStorage.getItem("previous")))?0:Number(localStorage.getItem("previous")),prevPosType:b&&"null"!==b&&"undefined"!==b?b:null});var c=setTimeout((0,d._)(i().mark(function a(){return i().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,z();case 2:B();case 3:case"end":return a.stop()}},a)})),3e3);return function(){clearTimeout(c)}},[u.asPath]),(0,j.useEffect)(function(){(null==s?void 0:s.eidentifier)&&(null==s?void 0:s.is_logged_in)&&(x.current=(0,f._)((0,e._)({},null==x?void 0:x.current),{eidentifier:s.eidentifier})),x.current=(0,f._)((0,e._)({},null==x?void 0:x.current),{isLoggedIn:t})},[s,t]),(0,j.useEffect)(function(){return w.current=setInterval((0,d._)(i().mark(function a(){return i().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,z();case 2:case"end":return a.stop()}},a)})),59e3),function(){w.current&&(clearInterval(w.current),w.current=null)}},[]),{recaptchaRef:v,handleReacaptchaError:A}};b.Z=q},55830:function(a,b,c){"use strict";c.r(b),c.d(b,{"__N_SSP":function(){return A},default:function(){return B}});var d=c(68146),e=c(85893),f=c(67294),g=c(25487),h=c.n(g),i=c(91826),j=c(43589),k=c.n(j),l=c(56748),m=function(a){var b,c,d,f,g,h,i,j=a.data,m=a.organizationExploreCardData,n=a.cardForSearchResult,o=j||{},p=(o.id,o.name),q=o.slug,r=(o.type,o.geeks_count),s=null==p?void 0:p.split(" (")[0];return(0,e.jsxs)("a",{className:k().organizationExploreCard,href:"/companies/"+q,children:[(0,e.jsx)("div",{className:k().organizationExploreCard_t
1itle,title:s,children:s}),(0,e.jsx)("div",{className:k().organizationExploreCard_location,children:m&&(null===(b=m[0])|| void 0===b?void 0:b.data)&&(null===(f=null===(d=null===(c=m[0])|| void 0===c?void 0:c.data[null==j?void 0:j.id])|| void 0===d?void 0:d.location[0])|| void 0===f?void 0:f.city_name)&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("span",{className:k()["organizationExploreCard_location--icon"]}),(0,e.jsx)("p",{className:k()["organizationExploreCard_location--value"],children:null===(i=null===(h=null===(g=m[0])|| void 0===g?void 0:g.data[j.id])|| void 0===h?void 0:h.location[0])|| void 0===i?void 0:i.city_name})]})}),r>0&&!(void 0!==n&&n)&&(0,e.jsxs)("div",{className:k().organizationExploreCard_users,children:[(0,e.jsx)("p",{className:k()["organizationExploreCard_users--details"],children:"Registered Geeks - \xa0"}),(0,e.jsx)("p",{className:k()["organizationExploreCard_users--count"],children:(0,l.tW)(r)})]}),(0,e.jsx)("div",{className:k().organizationExploreCard_cta,children:(0,e.jsx)("div",{className:k()["organizationExploreCard_cta--link"],children:"Show More"})})]})},n=c(98732),o=c(14533),p=c.n(o),q=c(77193),r=c(34233),s=c(11163),t=function(a){var b=a.searchFieldRef,c=a.isSearchButtonClicked,d=a.setIsSearchButtonClicked,g=a.setSearchResults,h="Type Here to Search for Companies...",i=(0,f.useState)(""),j=i[0],k=i[1],m=(0,f.useState)(!1),o=m[0],t=m[1];(0,s.useRouter)();var u=(0,n._)((0,r.WQ)(),2),v=u[0],w=u[1],x=w.data,y=w.isLoading,z=w.isFetching,A=function(a){a.target.value.trim()&&v({searchInput:a.target.value})},B=function(a){if("Enter"==a.key){var c,e;(null===(c=b.current)|| void 0===c?void 0:null===(e=c.value)|| void 0===e?void 0:e.trim())&&d(!0)}},C=function(){b.current.value.trim()&&d(!0)},D=function(){b.current.value="",d(!1),g(void 0)};(0,f.useEffect)(function(){x&&c&&g(x)},[x,c]);var E=(0,l.OQ)(A,300);return(0,f.useEffect)(function(){var a=0,b=function(){o?k(""):(a>=h.length&&(a=0,k("")),k(function(b){return b+h[a]}),a++)},c=setInterval(b,100);return function(){clearInterval(c)}},[o]),(0,e.jsxs)("div",{className:p().head,children:[(0,e.jsxs)("div",{className:p().head_leftSide,children:[(0,e.jsx)("p",{className:p()["head_leftSide--text"],children:"Explore Leading Companies to Land your Dream Job"}),(0,e.jsxs)("div",{className:p().head_leftSideSearch,children:[(0,e.jsxs)("div",{className:p().head_leftSideSearchTypeahead,children:[(0,e.jsx)("input",{className:p()["head_leftSideSearchTypeahead--input"],type:"text",ref:b,onChange:E,onKeyUp:B,onFocus:function(){return t(!0)},onBlur:function(){return t(!1)},placeholder:o?"":j}),c&&(0,e.jsx)("button",{onClick:D,className:p()["head_leftSideSearchTypeahead--clearBtn"],children:"x"}),!c&&(0,e.jsx)("div",{className:p()["head_leftSideSearchTypeahead--results"],children:y||z?(0,e.jsx)("div",{className:p()["head_leftSideSearchTypeahead--results--singleResult"],children:(0,e.jsx)(q.Z,{})}):(0,e.jsx)("div",{children:(null==x?void 0:x.length)!=0?null==x?void 0:x.map(function(a){return(0,e.jsx)("a",{className:p()["head_leftSideSearchTypeahead--results--singleResult"],href:"/companies/"+a.slug,children:a.name},a.slug)}):(0,e.jsx)("div",{className:p()["head_leftSideSearchTypeahead--results--singleResult"],children:"No Data Found"})})})]}),(0,e.jsx)("button",{className:p()["head_leftSideSearch--search"],onClick:C,children:"Search"})]})]}),(0,e.jsx)("div",{className:p().head_rightSide,children:(0,e.jsx)("img",{className:p()["head_rightSide--img"],src:"https://media.geeksforgeeks.org/auth-dashboard-uploads/GroupOrganizationHeader-min.png",alt:"company-header-image"})})]})},u=c(78352),v=c(71565),w=c(34030);c(15451);var x=c(34853),y=c(83777),z=c(43135),A=!0,B=function(a){var b,c,g,j,k,l=a.organizationForExplorePage,n=a.organizationExploreCardData,o=a.pageNumber,p=a.totalPages,q=a.companyHomeSchemaResponse,r=(0,f.useRef)(),s=(0,f.useRef)(),A=(0,f.useState)(!1),B=A[0],C=A[1],D=(0,f.useState)(void 0),E=D[0],F=D[1],G=(0,y.Z)(),H=G.recaptchaRef,I=G.handleReacaptchaError,J=function(a){var b,c,d;191==a.keyCode?(a.preventDefault(),null===(b=s.current)|| void 0===b||b.focus()):27==a.keyCode&&(a.preventDefault(),null===(c=s.current)|| void 0===c||c.blur(),null===(d=r.current)|| void 0===d||d.focus({preventScroll:!0}))};return(0,e.jsxs)(f.Fragment,{children:[(0,e.jsx)(x.Z,{size:"invisible",sitekey:z.YQ,ref:H,onErrored:I}),(0,e.jsx)(u.Z,{title:"GeeksforGeeks | Companies",contentType:"companies",pageDescription:"Collection of all Companies",relativeUrl:"companies",organizationForExplorePage:l,companyHomeSchemaData:q,isCanonicalLinkPresent:!0,canonicalLink:"companies/",indexed:!1}
1),(0,e.jsx)("div",{className:h().head_outer,onKeyDown:J,tabIndex:-1,ref:r,children:(0,e.jsxs)("div",{className:h().head,children:[(0,e.jsx)("div",{children:(0,e.jsx)(t,{searchFieldRef:s,isSearchButtonClicked:B,setIsSearchButtonClicked:C,setSearchResults:F})}),B?void 0==E?(0,e.jsx)("div",{className:h().head_exploreCards,children:null===(b=(0,d._)(Array(16).keys()))|| void 0===b?void 0:b.map(function(a){return(0,e.jsx)(w.Z,{})})}):(0,e.jsx)("div",{className:h().head_exploreCards,children:null==E?void 0:E.map(function(a){return(0,e.jsx)(m,{data:a,collegeExploreCardData:void 0,cardForSearchResult:!0},a.id)})}):(0,e.jsx)("div",{className:h().head_exploreCards,children:null==l?void 0:null===(c=l.data)|| void 0===c?void 0:c.map(function(a){return(0,e.jsx)(m,{data:a,organizationExploreCardData:n},a.id)})}),(B&&(null==E?void 0:E.length)==0||(null==l?void 0:null===(g=l.data)|| void 0===g?void 0:g.length)===0)&&(0,e.jsx)("div",{className:h().head_noData,children:(0,e.jsx)(v.Z,{isSearchButtonClicked:B,setIsSearchButtonClicked:C})}),!B&&(null==l?void 0:null===(j=l.data)|| void 0===j?void 0:j.length)!==0&&(0,e.jsx)("div",{className:h().head_paginationDiv,children:(0,e.jsx)(i.default,{currPage:o,lastPage:p,pageClickHandler:function(){}},o)}),(null==l?void 0:null===(k=l.data)|| void 0===k?void 0:k.length)!==0&&(0,e.jsxs)("div",{className:h().head_supportText,children:[(0,e.jsx)("span",{className:h()["head_supportText--text"],children:"If you are unable to find your company,\xa0"}),(0,e.jsx)("a",{target:"_blank",className:h()["head_supportText--link"],href:"https://www.geeksforgeeks.org/about/contact-us/?inst_org",children:"Contact Us"})]})]})})]})}},24035:function(a){a.exports={collegeExploreCard:"CollegeExploreCardSkeleton_collegeExploreCard__6yJC2",collegeExploreCard_titleSkeleton:"CollegeExploreCardSkeleton_collegeExploreCard_titleSkeleton__IMzJJ",loading:"CollegeExploreCardSkeleton_loading__Fpb8v",collegeExploreCard_usersSkeleton:"CollegeExploreCardSkeleton_collegeExploreCard_usersSkeleton__FZRmu",collegeExploreCard_locationSkeleton:"CollegeExploreCardSkeleton_collegeExploreCard_locationSkeleton__K_c59",collegeExploreCard_ctaSkeleton:"CollegeExploreCardSkeleton_collegeExploreCard_ctaSkeleton__5aYpZ"}},60973:function(a){a.exports={noDataUI:"NoDataUI_noDataUI__EzVlg",noDataUI_text:"NoDataUI_noDataUI_text__8e0QA",noDataUI_cta:"NoDataUI_noDataUI_cta__ycOnj","noDataUI_cta--btn":"NoDataUI_noDataUI_cta--btn__h4EZd",shimmer:"NoDataUI_shimmer___qzVv"}},43589:function(a){a.exports={organizationExploreCard:"OrganizationExploreCard_organizationExploreCard__KBtcL","organizationExploreCard_cta--link":"OrganizationExploreCard_organizationExploreCard_cta--link__sGqag",organizationExploreCard_title:"OrganizationExploreCard_organizationExploreCard_title__bsEky",organizationExploreCard_users:"OrganizationExploreCard_organizationExploreCard_users__9g6wA","organizationExploreCard_users--details":"OrganizationExploreCard_organizationExploreCard_users--details__PAGUa","organizationExploreCard_users--count":"OrganizationExploreCard_organizationExploreCard_users--count__bHJfW",organizationExploreCard_location:"OrganizationExploreCard_organizationExploreCard_location__GdWb0","organizationExploreCard_location--icon":"OrganizationExploreCard_organizationExploreCard_location--icon__UML6v","organizationExploreCard_location--value":"OrganizationExploreCard_organizationExploreCard_location--value__RdFQq",organizationExploreCard_cta:"OrganizationExploreCard_organizationExploreCard_cta__Z44nY",shimmer:"OrganizationExploreCard_shimmer__SktxG"}},14533:function(a){a.exports={head:"OrganizationHeader_head__0H0Y8",head_leftSide:"OrganizationHeader_head_leftSide__zkU_x","head_leftSide--text":"OrganizationHeader_head_leftSide--text__G8tVh",head_leftSideSearch:"OrganizationHeader_head_leftSideSearch__NzLzs",head_leftSideSearchTypeahead:"OrganizationHeader_head_leftSideSearchTypeahead__JeitY","head_leftSideSearchTypeahead--input":"OrganizationHeader_head_leftSideSearchTypeahead--input__ivfDL","head_leftSideSearchTypeahead--clearBtn":"OrganizationHeader_head_leftSideSearchTypeahead--clearBtn__NOg5U","head_leftSideSearchTypeahead--results":"OrganizationHeader_head_leftSideSearchTypeahead--results___KgVO","head_leftSideSearchTypeahead--results--singleResult":"OrganizationHeader_head_leftSideSearchTypeahead--results--singleResult__LblEi","head_leftSideSearch--search":"OrganizationHeader_head_leftSideSearch--search__ZvDtx","head_rightSide--img":"OrganizationHeader_head_rightSide--img__EkmHk",head_rightSide:"OrganizationHeader_head_rightSide__mwgFh",shimmer:"OrganizationHeader_shimmer__di44s"}},25487:function(a){a.exports={head_outer:"companies_head_outer__70nRl",head:"companies_head__tMkov",head_exploreCards:"companies_head_exploreCards__8UccW",head_noData:"companies_head_noData__2RdW0",head_paginationDiv:"companies_head_paginationDiv__TtOfp",head_paginationDivSkeleton:"companies_head_paginationDivSkeleton__knlUp",shimmer:"companies_shimmer__K9FN_",head_supportText:"companies_head_supportText__NAneF","head_supportText--text":"companies_head_supportText--text__KcU2k","head_supportText--link":"companies_head_supportText--link__xC0pT"}}},function(a){a.O(0,[700,9774,2888,179],function(){var b;return a(a.s=82329)}),_N_E=a.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.