1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[151],{89635:function(e,n,t){var r=t(82729),i=t(85893),l=t(67294),a=t(9478),o=t(98539);function s(){let e=(0,r._)(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n text-align: start;\n gap: ",";\n padding: 0 1.5rem;\n /* overflow-y: scroll; */\n"]);return s=function(){return e},e}function c(){let e=(0,r._)(["\n list-style: none;\n padding: 0;\n ",";\n\n a {\n display: inline !important;\n }\n"]);return c=function(){return e},e}function d(){let e=(0,r._)(["\n padding: 0 1rem;\n color: ",";\n font-size: ",";\n ",";\n\n svg {\n flex-shrink: 0;\n width: ",";\n }\n"]);return d=function(){return e},e}let u=o.ZP.ul.withConfig({componentId:"sc-5f3e421-0"})(s(),e=>{let{$flex:n}=e;return n?"2rem":"0.5rem"}),f=o.ZP.li.withConfig({componentId:"sc-5f3e421-1"})(c(),e=>{let{$flex:n}=e;return n&&{display:"flex",alignItems:"center"}}),m=o.ZP.span.withConfig({componentId:"sc-5f3e421-2"})(d(),e=>{let{$color:n}=e;return n},e=>{let{$size:n}=e;return n},e=>{let{$flex:n}=e;return n&&{alignSelf:"flex-start",display:"flex"}},e=>{let{$size:n}=e;return n}),h=e=>{let{type:n,oppositeDir:t=!1,textDirAlways:r,flex:o=!1,color:s="inherit",size:c="150%"}=e,{getDirection:d}=(0,a.q)(),h=d(),x=t?"rtl"===h?"ltr":"rtl":h,g=r||h;if("same-icons"===n){let{items:n=[],children:t,icon:r}=e;return(0,i.jsxs)(u,{dir:x,$flex:o,children:[n.map((e,n)=>(0,i.jsx)(i.Fragment,{children:e&&(0,i.jsxs)(f,{$flex:o,children:[(0,i.jsx)(m,{$color:s,$size:c,$flex:o,children:r?(0,i.jsx)(i.Fragment,{children:r}):(0,i.jsx)(i.Fragment,{children:"â¢"})}),(0,i.jsx)("span",{dir:g,children:e})]},n)})),l.Children.map(t,(e,n)=>(0,i.jsx)(i.Fragment,{children:e&&(0,i.jsxs)(f,{$flex:o,children:[(0,i.jsx)(m,{$color:s,$size:c,$flex:o,children:r?(0,i.jsx)(i.Fragment,{children:r}):(0,i.jsx)(i.Fragment,{children:"â¢"})}),(0,i.jsx)("span",{dir:g,children:e})]},n)}))]})}if("diff-icons"===n){let{children:n,icons:t}=e;return(0,i.jsx)(u,{dir:x,$flex:o,children:l.Children.map(n,(e,n)=>(0,i.jsx)(i.Fragment,{children:e&&(0,i.jsxs)(f,{$flex:o,children:[(0,i.jsx)(m,{$color:s,$size:c,$flex:o,children:t[n]}),(0,i.jsx)("span",{dir:g,children:e})]},n)}))})}{let{children:n}=e;return(0,i.jsx)(u,{dir:x,$flex:o,children:l.Children.map(n,(e,n)=>(0,i.jsx)(i.Fragment,{children:e&&(0,i.jsx)(f,{$flex:o,children:(0,i.jsx)("span",{dir:g,children:e})},n)}))})}};n.Z=h},40005:function(e,n,t){t.d(n,{Z:function(){return p}});var r=t(85893),i=t(67294),l=t(9478),a=t(23589),o=t(64251),s=t(77837);let c=new o.G(["educations"]),d=e=>{let{params:n}=e;return(0,s.a)(["educations",n],()=>c.fetchAll({params:n}))};var u=t(14931),f=t(74189),m=t(87764),h=t(89635),x=t(56682);let g=e=>{let{userID:n,mostRecent:t,bulletListType:o="same-icons",bulletListProps:s,infoToShow:c={university:!0,years:!0}}=e,{getDirection:g}=(0,l.q)(),{getContext:p}=(0,a.V)(),{data:j,isFetching:v,isError:D}=d({params:{user:n}}),y=e=>(0,f.iK)(e,t).map(e=>{var n;return(0,r.jsxs)(i.Fragment,{children:[(0,r.jsxs)("span",{children:[null==e?void 0:e.majorString,c.university&&e.university&&" - ".concat(e.university)]}),c.years&&e.endDate&&(0,r.jsxs)("span",{style:{whiteSpace:"nowrap"},children:["- ( ",(0,r.jsxs)("span",{dir:g(),children:[e.startDate&&(0,r.jsxs)(r.Fragment,{children:[(0,u.C)(e.startDate).year,(0,r.jsx)("span",{style:{color:x.I.SEC_DARK},children:" "+(null===(n=p("to-label"))||void 0===n?void 0:n[0])+" "})]}),(0,u.C)(e.endDate).year]})," )"]})]},e.id)});return v?(0,r.jsx)(m.l,{}):D||!j?(0,r.jsx)(r.Fragment,{}):t?(0,r.jsx)(r.Fragment,{children:y(j.results)}):(0,r.jsx)(h.Z,{type:"same-icons",children:y(j.results)})};var p=g},10151:function(e,n,t){t.r(n);var r=t(82729),i=t(85893),l=t(67294),a=t(41664),o=t.n(a),s=t(53749),c=t(72089),d=t(89635),u=t(95614),f=t(40005),m=t(86886),h=t(98396),x=t(15861),g=t(98539),p=t(56682);function j(){let e=(0,r._)(["\n flex: 0.8;\n color: ",";\n\n & > h2,\n & > h3 {\n border-bottom: 1px solid;\n margin-bottom: 1.5rem;\n }\n"]);return j=function(){return e},e}function v(){let e=(0,r._)(["\n text-decoration: none;\n font-size: 0.95em;\n\n &:hover {\n text-decoration: underline;\n text-underline-offset: 0.7em;\n }\n"]);return v=function(){return e},e}let D=(0,g.ZP)(m.ZP).withConfig({componentId:"sc-de32372e-0"})(j(),p.I.WHITE),y=(0,g.ZP)(o()).withConfig({componentId:"sc-de32372e-1"})(v()),b=e=>{let{user:n}=e,t=(0,h.Z)(p.r.breakpoints.down("md")),{data:r}=(0,s.Z)({params:{user:null==n?void 0:n.id}});return(0,i.jsxs)(D,{container:!0,flexDirection:"column",children:[(0,i.jsxs)(x.Z,{variant:t?"h3":"h2",color:p.I.WHITE,sx:{textAlign:{xs:"center",md:"start"}},children:[null==n?void 0:n.title," ",null==n?void 0:n.firstName," ",null==n?void 0:n.lastName]}),(0,i.jsxs)("div",{style:{display:"grid",gap:t?"5rem":"2.5rem",gridTemplateColumns:t?"repeat(1, 1fr)":"repeat(2, 1fr)"},children:[(0,i.jsxs)("div",{children:[(0,i.jsxs)(d.Z,{type:"same-icons",children:[null==n?void 0:n.rank,null==r?void 0:r.results.map((e,n)=>(0,i.jsxs)(l.Fragment,{children:[(0,i.jsxs)("span",{children:[e.title," ",!e.notShowDepartment&&e.department.name]}),e.subtitle&&(0,i.jsx)("div",{style:{padding:"0 3rem"}
1,children:e.subtitle})]},n))]}),(0,i.jsx)(f.Z,{userID:null==n?void 0:n.id})]}),(0,i.jsxs)(d.Z,{type:"diff-icons",oppositeDir:!0,textDirAlways:"ltr",flex:!0,size:"30px",icons:[(0,i.jsx)(c.Z,{name:"PhoneOutlined"},"1"),(0,i.jsx)(c.Z,{name:"EmailOutlined"},"2"),(0,i.jsx)(c.Z,{name:"LanguageOutlined"},"3"),(0,i.jsx)(c.Z,{name:"PlaceOutlined"},"4")],children:[(null==n?void 0:n.phone)&&(0,i.jsx)(u.Z,{text:null==n?void 0:n.phone,type:"phone"}),(null==n?void 0:n.email)&&(0,i.jsx)(u.Z,{text:null==n?void 0:n.email}),(null==n?void 0:n.webUrl)&&(0,i.jsx)(y,{href:null==n?void 0:n.webUrl,target:"_blank",children:null==n?void 0:n.webUrl}),(null==n?void 0:n.address)&&(0,i.jsx)(i.Fragment,{children:null==n?void 0:n.address})]})]})]})};n.default=b},49086:function(e,n,t){var r,i,l,a,o,s,c,d,u,f,m,h,x,g,p,j;t.d(n,{BY:function(){return s},Cm:function(){return r},DY:function(){return o},KN:function(){return d},L0:function(){return c},Nn:function(){return i},d:function(){return a},kK:function(){return l}}),(u=r||(r={})).Edu="edu",u.Research="research",u.Unit="unit",(f=i||(i={})).Directors="65bdbbfb993695197c443515",f.Trustees="65bdbc88993695197c443626",f.Founders="65bdbc4a993695197c4435a5",f.ICT="65b3633faab9cc8ce51dfa45",f.Industry="65b922f5baf60a2c4a688319",f.Finance="65b36092aab9cc8ce51df841",f.FinancialAdmin="65bc765fc32a9eb9c399e43a",f.StudentAdmin="65bc7559c32a9eb9c399e31a",f.EduAdmin="65b35fd8aab9cc8ce51df787",(m=l||(l={})).Edu="edu",m.Event="event",(h=a||(a={})).Head="head",h.Deputy="deputy",h.Secretary="secretary",h.Normal="normal",(x=o||(o={})).Normal="normal",x.Notif="notif",x.Form="form",x.Rule="rule",(g=s||(s={})).Important="important",g.Faculty="faculty",g.GuestLecturer="guestLecturer",g.Student="student",g.Staff="staff",g.Alumni="alumni",g.User="user",(p=c||(c={})).PostDoctorate="PostDoctorate",p.PhD="PhD",p.Doctorate="Doctorate",p.Masters="Masters",p.Bachelor="Bachelor",p.DisBachelor="DisBachelor",p.Associate="Associate",p.Diploma="Diploma",(j=d||(d={})).Hero="___Hero",j.Thumbnail="___Thumbnail"},53749:function(e,n,t){t.d(n,{Z:function(){return a}});var r=t(64251),i=t(77837);let l=new r.G(["positions"]),a=e=>{let{params:n}=e;return(0,i.a)(["positions",n],()=>l.fetchAll({params:n}))}},14931:function(e,n,t){t.d(n,{C:function(){return i},Z:function(){return l}});var r=t(75280);function i(e){if(!e)return{day:"...",weekday:"...",month:"...",year:"..."};let n=new Date(e),t=(0,r.Z)();return{day:n.toLocaleDateString(t,{day:"numeric"}),weekday:n.toLocaleDateString(t,{weekday:"long"}),month:n.toLocaleDateString(t,{month:"long"}),year:n.toLocaleDateString(t,{year:"numeric"})}}function l(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"with-space";if(!e)return".../.../...";let t=new Date(e),i=(0,r.Z)();return"with-space"===n?"".concat(t.toLocaleDateString(i,{day:"numeric"})," / ").concat(t.toLocaleDateString(i,{month:"numeric"})," / ").concat(t.toLocaleDateString(i,{year:"numeric"})):new Intl.DateTimeFormat(i).format(t)}},75280:function(e,n,t){t.d(n,{Z:function(){return i}});var r=t(1554);function i(){let e="".concat((0,r.nI)(),"-").concat((0,r.nI)().toLocaleUpperCase());return e}},74189:function(e,n,t){t.d(n,{iK:function(){return i},im:function(){return l},oH:function(){return a}});var r=t(49086);let i=(e,n)=>{if(!e.length)return[];let t=e.sort((e,n)=>{let t=new Date(e.endDate),r=new Date(n.endDate);return r.getTime()-t.getTime()});return n?[t[0]]:t},l=function(e){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e.length)return[];let t=[r.L0.PostDoctorate.toString(),r.L0.PhD.toString(),r.L0.Doctorate.toString(),r.L0.Masters.toString(),r.L0.Bachelor.toString(),r.L0.DisBachelor.toString(),r.L0.Associate.toString(),r.L0.Diploma.toString()];return e.sort((e,r)=>n?t.indexOf(r.degree)-t.indexOf(e.degree):t.indexOf(e.degree)-t.indexOf(r.degree)),e},a=(e,n,t)=>{if(!e||0===e.length)return[];let r=[...e];return r.sort((e,r)=>{let i=new Date(e[n]),l=new Date(r[n]),a=isNaN(i.getTime()),o=isNaN(l.getTime());if(a&&o)return 0;if(a)return 1;if(o)return -1;let s=i.getTime(),c=l.getTime();return"asc"===t?s-c:c-s}),r}}}]);
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.