PageSourceSearch

https://zernicka-goetz.netlify.app/_next/static/chunks/pages/people-474167002899f2b7.js

js zernicka-goetz.netlify.app collected 2026-10-03 11:38:46 UTC 7,590 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[563],{1677:function(n,e,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/people",function(){return r(7271)}])},4689:function(n,e,r){"use strict";var t=r(5893),o=(r(7294),r(496)),i=r.n(o),s=r(7158),a=r(7166);r.n(a)().bind(i());e.Z=function(n){var e=n.children;return(0,t.jsx)(s.Z,{children:(0,t.jsx)("div",{className:i().AlternatingContainer,children:e})})}},7271:function(n,e,r){"use strict";r.r(e),r.d(e,{__N_SSG:function(){return O},default:function(){return R}});var t=r(5893),o=r(7294),i=r(9008),s=r(4051),a=r.n(s),u=r(4946);function c(n,e,r,t,o,i,s){try{var a=n[i](s),u=a.value}catch(c){return void r(c)}a.done?e(u):Promise.resolve(u).then(t,o)}function l(n){return function(){var e=this,r=arguments;return new Promise((function(t,o){var i=n.apply(e,r);function s(n){c(i,t,o,s,a,"next",n)}function a(n){c(i,t,o,s,a,"throw",n)}s(void 0)}))}}function p(){return(p=l(a().mark((function n(){var e;return a().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,u.Lp.fetch("*[_type == \"labPage\"][0] {\n            title, \n            \"content\": content[] {\n                _type == 'labGroup' => {\n                    ...,\n                    \"groupPhoto\": groupPhoto{..., asset->}\n                },\n                _type == 'section' => {\n                    ...,\n                    \"content\": content[]{\n                        _type == 'image' => {..., asset->{...}},\n                        _type == 'text' => {...}\n                    }                   \n                }\n                \n            }\n        }");case 2:return e=n.sent,n.abrupt("return",e);case 4:case"end":return n.stop()}}),n)})))).apply(this,arguments)}function f(n,e,r,t,o,i,s){try{var a=n[i](s),u=a.value}catch(c){return void r(c)}a.done?e(u):Promise.resolve(u).then(t,o)}function h(n){return function(){var e=this,r=arguments;return new Promise((function(t,o){var i=n.apply(e,r);function s(n){f(i,t,o,s,a,"next",n)}function a(n){f(i,t,o,s,a,"throw",n)}s(void 0)}))}}function d(){return(d=h(a().mark((function n(){var e;return a().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,u.Lp.fetch('*[_type == "person"][]{\n        ...,\n        "portrait": portrait{asset->},\n        role->,\n    }');case 2:return e=n.sent,n.abrupt("return",e);case 4:case"end":return n.stop()}}),n)})))).apply(this,arguments)}function m(n,e,r,t,o,i,s){try{var a=n[i](s),u=a.value}catch(c){return void r(c)}a.done?e(u):Promise.resolve(u).then(t,o)}function x(n){return function(){var e=this,r=arguments;return new Promise((function(t,o){var i=n.apply(e,r);function s(n){m(i,t,o,s,a,"next",n)}function a(n){m(i,t,o,s,a,"throw",n)}s(void 0)}))}}function _(){return(_=x(a().mark((function n(){var e;return a().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,u.Lp.fetch('*[_type == "role"][]{...} | order(order asc)');case 2:return e=n.sent,n.abrupt("return",e);case 4:case"end":return n.stop()}}),n)})))).apply(this,arguments)}var v=r(4542),j=r(4830),g=r.n(j),y=r(5088),N=r(350),b=r.n(N),P=function(n){var e=n.links;return console.log(e),e.map((function(n){return"email"==n.type?(0,t.jsx)("h6",{children:(0,t.jsx)("a",{href:"mailto:".concat(n.url),children:n.url},n._key)}):(0,t.jsx)("h6",{children:(0,t.jsx)("a",{href:n.url,target:"_blank",rel:"noopener noreferrer",children:n.displayText},n._key)})}))},C=function(n){var e=n.person;return(0,t.jsxs)("div",{className:b().Person,children:[(0,t.jsx)("div",{className:b().portrait,children:e.portrait&&(0,t.jsx)(y.Z,{img:e.portrait})}),(0,t.jsxs)("div",{className:b().text,children:[(0,t.jsxs)("h4",{children:[e.firstName," ",e.lastName]}),e.job&&""!=e.job?(0,t.jsx)("h6",{className:b().job,children:e.job}):(0,t.jsx)(t.Fragment,{}),e.bio&&""!=e.bio?(0,t.jsx)("p",{className:"body4",children:e.bio}):(0,t.jsx)(t.Fragment,{children:" "}),e.links&&e.links.length>0?(0,t.jsx)(P,{links:e.links}):(0,t.jsx)(t.Fragment,{})]})]})},w=r(4794),k=r.n(w),A=r(7166),L=r.n(A)().bind(k()),G=function(n){var e=n.categoryName,r=n.singleColumn,o=void 0!==r&&r,i=n.children,s=L({PersonCategory:!0,singleColumn:o});return(0,t.jsxs)("div",{className:s,children:[(0,t.jsx)("h2",{children:e}),(0,t.jsx)("div",{className:k().peopleContainer,children:i})]})},Z=r(6910),E=r.n(Z),S=r(9566),T=r.n(S),Q=function(n){var e=n.children;return(0,t.jsxs)(T(),{className:E().Alumni,options:{transitionDuration:0,itemSelector:".alumni-grid-item",columnWidth:".alumni-grid-sizer",gutter:18},children:[(0,t.jsx)("div",{className:"alumni-grid-sizer"}),e]})},z=r(1658),F=r.n(z),B=function(n){var e=n.person;return(0,t.jsxs)("div",{className:"".concat(F().Alumnus," alumni-grid-item"),children:[(e.firstName||e.lastName)&&(0,t.jsxs)("h6",{children:[e.firstName," ",e.lastName]}),e.currentPosition&&(0,t.jsx)("p",{className:"body5",children:e.currentPosition})]})},I=function(n){var e,r=n.group,o=n.people,i=n.roles;return(0,t.jsxs)("div",{className:g().LabGroup,children:[(0,t.jsxs)("div",{className:g().groupMeta,children:[(0,t.jsx)("h1",{children:r.title}),(0,t.jsx)("p",{className:"body1",children:r.description}),(0,t.jsx)(y.Z,{img:r.groupPhoto})]}),(e=i,e.map((function(n){var e=function(n){return o.filter((function(e){return e.role&&e.role.display==n.display&&!e.alumni}))}(n);if(e.length>0)return(0,t.jsx)(G,{categoryName:n.display,children:e.map((function(n){return(0,t.jsx)(C,{person:n},n._id)}))},n._id)})))]})},H=r(4689),O=!0;function R(n){var e=n.menuItems,r=(0,o.useState)(null),s=r[0],a=r[1],u=(0,o.useState)([]),c=u[0],l=u[1],f=(0,o.useState)([]),h=f[0],m=f[1];(0,o.useEffect)((function(){(function(){return p.apply(this,arguments)})().then((function(n){a(n)})).catch((function(n){console.log(n)})),function(){return d.apply(this,arguments)}().then((function(n){l(n)})).catch((function(n){console.log(n)})),function(){return _.apply(this,arguments)}().then((function(n){m(n)})).catch((function(n){console.log(n)}))}),[]);var x=function(){return c.filter((function(n){return n.alumni}))};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(i.default,{children:[(0,t.jsx)("title",{children:"Lab \u2022 Zernicka-Goetz Lab"}),(0,t.jsx)("meta",{name:"description",content:"The Zernicka-Goetz Lab"}),(0,t.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,t.jsx)(v.Z,{menuItems:e,children:(0,t.jsxs)(H.Z,{children:[function(){if(s&&s.content&&s.content.length>0)return s.content.map((function(n){return"labGroup"==n._type?(0,t.jsx)(I,{group:n,people:(e=n.lab,c.filter((function(n){return n.lab==e&&!n.alumni}))),roles:h},n._key):void 0;var e}))}(),x().length>0&&(x(),(0,t.jsxs)(G,{categoryName:"",singleColumn:!0,children:[(0,t.jsx)("h1",{children:"Alumni"}),(0,t.jsx)(Q,{children:x().sort((function(n,e){return n.lastName.toLowerCase()>e.lastName.toLowerCase()?1:-1})).map((function(n){return(0,t.jsx)(B,{person:n},n._id)}))})]}))]})})]})}},496:function(n){n.exports={AlternatingContainer:"AlternatingContainer_AlternatingContainer__QQwH8"}},6910:function(n){n.exports={Alumni:"Alumni_Alumni__BQYQP"}},1658:function(n){n.exports={Alumnus:"Alumnus_Alumnus__ZoNGf"}},4830:function(n){n.exports={LabGroup:"LabGroup_LabGroup__1PdBv"}},350:function(n){n.exports={Person:"Person_Person__QhyrH",text:"Person_text__VBYRI",job:"Person_job__tphjc",portrait:"Person_portrait__GjTW1"}},4794:function(n){n.exports={PersonCategory:"PersonCategory_PersonCategory__Tupfr",peopleContainer:"PersonCategory_peopleContainer__VnvR1",singleColumn:"PersonCategory_singleColumn__Z_3LC"}}},function(n){n.O(0,[454,566,135,774,888,179],(function(){return e=1677,n(n.s=e);var e}));var e=n.O();_N_E=e}]);

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.