PageSourceSearch

https://www.depaulconnect.com/static/js/IndustryPage.a28e24e1.chunk.min.js

js depaulconnect.com collected 2026-10-09 00:58:30 UTC 7,995 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkclient_v2=self.webpackChunkclient_v2||[]).push([[5949],{273295:(es,T,s)=>{s.d(T,{A:()=>p,E:()=>l});var t=s(715621),v=s(537953),O=s(145926),o=s(253473),W=s(768835),K=s(839392),i=s(90570),j=s(348861),F=s(832196),H=s(356029),g=s(839050),$=s(425170),R=s(852286),M=s(246239),f=s(158668),N=s(924276),Q=s(21202),a=s(129465);const l=({onBackButtonClick:r=()=>{}})=>(0,t.jsx)(o.$n,{onClick:r,className:"career-paths-search-back-btn",type:"tertiary",icon:"pg-cheveron-left-o",children:"Go Back"}),L=r=>{let e="";return r==="areas-of-study"&&(e="in Area of Study"),r==="job-industries"&&(e="in Industries"),r==="skills"&&(e="in Skills"),r==="job-functions"&&(e="in Job Functions"),r==="occupation"&&(e="in Occupations"),e},p=({showFilter:r=!0,showMobileSearchScreen:e,toShowMobileSearchScreen:P,careerSearchResult:c,onBackButtonClick:A,currentSearchText:U,setSearchText:C,searchResultLoading:S,setCareerSearchResults:Z,fetchCareerSearchResults:B})=>{const[z,I]=(0,v.useState)(!1),[h,d]=(0,v.useState)([]),X=(0,g.al)(),k=(0,H.E)(),[b]=(0,v.useState)((0,j.A)("career-path-search-autocomplete")),G=(0,O.W6)(),J=(0,g.lx)(),x=(0,g.yL)();(0,v.useEffect)(()=>{var n,m;const D=document.getElementsByClassName("career-paths-search-autocomplete-dropdown");!(0,i.A)(D)&&!(0,i.A)(h)&&D[0].getBoundingClientRect().bottom>window.innerHeight&&((m=(n=D[0])==null?void 0:n.scrollIntoView)==null||m.call(n,!1))},[h]);const w=(n,m)=>{if(!n||n.length===0){(0,o.Jf)(`No suggestions found for ${m}`),(0,i.A)(h)||d([]),I(!1);return}(0,o.Jf)(`${n.length} suggestion${n.length>1?"s":""} available for ${m}`),d(n),I(!1)},q=()=>{setTimeout(()=>{window.scrollTo({top:0,behavior:"smooth"})},100),P(!0),k({...N.N6.DEFAULT,pgAnalytics:f.f7.INTERACT_WITH_CAREER_PATHS,pgAnalyticsCTA:"Click Search"})},E=(0,K.A)(n=>{n.trim().length>=3?(0,R.im)({searchText:n}).then(({data:m})=>{w(m,n)}).catch(m=>{I(!1),console.error(m)}):I(!1)},500),y=n=>{C(n),z||I(!0),(0,i.A)(h)||d([]),E(n)},_=n=>{const[m,D]=n.split("-");if(!(0,i.A)(h)){const u=h.find(({id:as})=>parseInt(D,10)===as);if((u==null?void 0:u.type)==="occupation"&&(u!=null&&u.onet)){G.push((0,F.ID)({moduleName:"occupations",hubUrl:(0,$.LmZ)(J),payload:{onetId:u.onet}})),d([]);return}u!=null&&u.type?ts({filters:[{name:u.type,value:u.type==="skills"?[u.title]:[u.id]}],limit:f.TF}):B({searchText:m,limit:f.TF}),d([])}},V=()=>{const n=U;!n||n.trim().length<3||((n||c.filters)&&B({searchText:n,limit:f.TF,emptySearchText:!n}),(0,i.A)(h)||d([]))},ss=n=>{!n||(n==null?void 0:n.trim().length)<3||(_(n),C(""))},ts=n=>{B(n),P(!0)},ns=()=>{Z({searchText:"",filters:null,result:[]}),C(""),P(!1)};if(e&&c&&(c.searchText||c.filters)){if(S&&(0,i.A)(c==null?void 0:c.result))return(0,t.jsx)("div",{className:"career-paths-loading",children:(0,t.jsx)(M.WL,{})});if(!(0,i.A)(c==null?void 0:c.result))return(0,t.jsx)(l,{onBackButtonClick:A})}return(0,t.jsxs)("div",{className:(0,W.A)("search-and-filter-row","career-discovery-block"),role:"search",children:[(0,t.jsx)("span",{id:"career-path-search-instructions",className:"sr-only",children:"Type to search career paths. Use arrow keys to navigate suggestions."}),(0,t.jsx)(o.jT,{"aria-label":"What are you looking for?",id:b,className:"career-paths-search-autocomplete",options:h.map(({title:n,type:m,id:D})=>({value:`${n}-${D}`,label:n,secondaryLabel:L(m)})),placeholder:"What are you looking for?",onSearch:y,onChange:ss,showClear:!0,icon:"pg-search-o",size:x?"large":"medium",loadingOptions:z,value:U,query:U,onClick:q,onKeyDown:n=>{n.key==="Enter"&&V()},autoComplete:"off","aria-describedby":"career-path-search-instructions"}),r&&!e&&(0,t.jsx)(Q.A,{showOnlyIcon:X,applyFilters:ts,filters:c&&c.filters||[],careerSearchResult:c,goBackToDiscoveryCareerPathPage:A}),r&&e&&!U&&(0,t.jsx)(o.$n,{className:"career-paths-search-cancel",onClick:ns,type:"tertiary",children:"Cancel"})]})}},752260:(es,T,s)=>{s.d(T,{A:()=>R});var t=s(715621),v=s(922109),O=s(839050),o=s(253473),W=s(321658),K=s.n(W),i=s(425170),j=s(442967),F=s(145926);const H={};var g=s(45556);function $({userId:M}){const f=(0,O.er)(),N=(0,O.al)(),Q=(0,F.W6)(),{data:{user:a,userScore:l}={},isLoading:L}=(0,g.f)(M);if(L)return null;const Y=(0,i.poE)(null,f,"short",!0,!1),p=(e,P)=>(0,t.jsxs)("div",{className:"user-inputs",children:[(0,t.jsx)(o.C0,{src:e?"https://cdn.peoplegrove.com/admin/1732257863747Icon.svg":"https://cdn.peoplegrove.com/admin/1732259523914Ellipse%202388.svg",className:"icon",alt:e?"Completed":"Pending"}),(0,t.jsx)("div",{className:"name",children:P}),(0,t.jsx)("div",{className:"date",children:e?K()(e).format(Y||"MM/DD/YYYY"):"Pending"})]}),r=e=>{Q.push(`?modal=profile&userProfile=${e}&showBack=true&messageOrigin=PATHWAYU`)};return(0,t.jsxs)("div",{className:`${N?"user-table-mobile":""}`,children:[(0,t.jsxs)("div",{className:"user-profile",onClick:()=>r(a.identifier),tabIndex:0,onKeyDown:j.Qx,"aria-label":`${a.firstName} ${a.lastName}`,role:"button",children:[(0,t.jsx)(v.A,{src:a==null?void 0:a.photoUrl,alt:`${a.firstName} ${a.lastName}`,className:"lazy-avatar",id:a.id,user:a,size:44}),(0,t.jsxs)("div",{children:[a.firstName," ",a.lastName,(0,t.jsx)("div",{className:"email",children:a.email})]})]}),N&&l?(0,t.jsxs)("div",{className:"assessment-score",children:[p(l.interests||l.interestsOld,"Interest"),p(l.values||l.valuesOld,"Value"),p(l.personality||l.personalityOld,"Personality"),p(l.workplace||l.workplaceOld,"Workplace")]}):null]})}const R=$},856407:(es,T,s)=>{s.r(T),s.d(T,{default:()=>r});var t=s(715621),v=s(537953),O=s(145926),o=s(253473),W=s(768835),K=s(939291),i=s(90570),j=s(839050),F=s(246239),H=s(832196),g=s(425170),$=s(822620),R=s(273295),M=s(158668),f=s(331178),N=s(752260);const Q={};var a=s(686993),l=s(30249);const L=(0,a.eU)([]);L.debugLabel="IndustryPageState";const Y=()=>(0,l.fp)(L),r=({history:e})=>{var P;const c=(0,j.lx)(),A=(0,g.LmZ)(c),U=(0,g.vAc)(window.location.search),{id:C,name:S}=U,[Z,B]=Y(),z=(0,j.al)(),I=(0,O.zy)(),d=new URLSearchParams(I.search).get("assessment"),{isFetchingNextPage:X,data:k,fetchNextPage:b}=(0,f.lS)({id:Number(C),limit:M.TF,filters:C?[{name:"job-industries",value:[C]}]:[],skipIDs:Z},{onSuccess:E=>{var y;(y=E.pages[E.pages.length-1])!=null&&y.page||window.scroll(0,0);const{pages:_=[]}=E,V=[];_.forEach(ss=>
1{(0,K.A)(ss,"result",[]).forEach(ns=>{V.push(ns.id)})}),B(V)}});(0,v.useEffect)(()=>(window.scroll(0,0),()=>{B([])}),[]);const G=()=>{e.push((0,H.ID)({moduleName:"careerPaths",hubUrl:A,params:{assessment:d}}))},{pages:J=[]}=k||{},x=J.reduce((E,y)=>(E.push(...y==null?void 0:y.result),E),[]),w=((P=J[0])==null?void 0:P.totalCount)>x.length,q=()=>{b({pageParam:Math.ceil((x.length||0)/M.TF),cancelRefetch:!1})};return(0,t.jsxs)("div",{className:(0,W.A)("discover-careers-wrapper","industry-careers-wrapper"),children:[(0,t.jsx)("span",{className:"visually-hidden","aria-live":"polite",children:(0,i.A)(x)?"":`Showing Career Paths for Industry ${S}`}),(0,i.A)(x)?(0,t.jsx)("div",{className:"career-paths-loading",children:(0,t.jsx)(F.WL,{})}):(0,t.jsxs)("div",{className:"discover-careers-containers",children:[z?(0,t.jsx)(R.E,{onBackButtonClick:G}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"breadcrumb-wrapper",children:[(0,t.jsxs)(o.Qp,{children:[d?(0,t.jsx)(o.Qp.Item,{onClick:()=>e.push(`${A}/users-assessments-result`),children:"Assessment results"}):(0,t.jsx)(t.Fragment,{}),(0,t.jsx)(o.Qp.Item,{onClick:G,className:"breadcrumb-clickable",children:"Career Paths"}),(0,t.jsx)(o.Qp.Item,{children:S})]}),!d||z?null:(0,t.jsxs)(o.$n,{className:"close-btn",type:"ghost",onClick:()=>{e.push(`${A}/users-assessments-result/${d}`)},children:[(0,t.jsx)(o.C0,{icon:"pg-close",width:"16px",height:"16px"}),"Close"]})]}),d?(0,t.jsx)("div",{className:"student-information student-information-counsellor-view",children:(0,t.jsx)(N.A,{userId:d})}):null]}),(0,t.jsx)($.A,{hubUrl:A,title:(0,t.jsx)(t.Fragment,{children:S}),singleRow:!1,careers:x,onClickLoadMore:q,isLoading:X,showLoadMoreButton:w,className:"industry-career-container"})]})]})}}}]);

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.