(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[10],{"/blm":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i,r=n("q1tI"),o=n.n(r),a=n("Sigi"),c=n("cfIY"),l=n("Shqb"),s=n("vOnD"),u=o.a.createElement;!function(e){e[e.EMPTY=0]="EMPTY",e[e.INVALID=1]="INVALID",e[e.VALID=2]="VALID"}(i||(i={}));var d=s.b.div.withConfig({displayName:"InputForEmail__InputContainer",componentId:"k67vk4-0"})(["display:flex;align-items:center;flex-direction:row;flex-grow:1;height:48px;box-sizing:border-box;font-family:",";font-size:",";line-height:",";border-radius:4px;border:1px solid #e4e9f2;box-shadow:0 1px 4px 0 rgba(0,0,0,0.1);padding:8px 16px;background-color:",";.container-icon{width:16px;height:16px;box-sizing:border-box;position:relative;.icon{width:16px;height:16px;}.tooltip-input-icon{display:none;}&:hover{.tooltip-input-icon{display:flex;}}}&:focus-within{border:1.5px solid ",";outline:none;}"," ",""],l.b.SANS_SERIF_2,Object(l.d)(16),Object(l.d)(32),c.a.BACKGROUND.BACKGROUND_2,c.a.SEMANTIC.CAUTION.DARKER,(function(e){return e.isValid===i.INVALID&&Object(s.a)(["&:focus-within{border:1.5px solid ",";outline:none;}.icon{color:",";}"],c.a.SEMANTIC.CAUTION.DARKER,c.a.SEMANTIC.CAUTION.DARKER)}),(function(e){return e.isValid===i.VALID&&Object(s.a)(["&:focus-within{border:1.5px solid ",";outline:none;}.icon{color:",";}"],c.a.SEMANTIC.SUCCESS.DARKER,c.a.SEMANTIC.SUCCESS.DARKER)})),p=s.b.input.withConfig({displayName:"InputForEmail__Input",componentId:"k67vk4-1"})(["box-sizing:border-box;flex-grow:1;font-family:",";font-size:",";line-height:",";outline:none;border:none;background-color:",";&:invalid{box-shadow:none;}"],l.b.SANS_SERIF_2,Object(l.d)(16),Object(l.d)(32),c.a.BACKGROUND.BACKGROUND_2),f=s.b.div.withConfig({displayName:"InputForEmail__InputIconTooltip",componentId:"k67vk4-2"})(["position:absolute;top:24px;right:-4px;max-width:174px;width:max-content;height:max-content;background-color:",";font-size:",";line-height:",";font-family:",";letter-spacing:0.2px;box-shadow:0 1px 4px 0 rgba(0,0,0,0.1);.content{padding:6px;}.up-arrow{position:absolute;top:-10px;right:4px;color:",";text-shadow:1px 1px 2px rgba(0,0,0,0.1);transform:rotate(180deg);}"],c.a.BACKGROUND.DEFAULT,Object(l.d)(12),Object(l.d)(20),l.b.SANS_SERIF,c.a.BACKGROUND.DEFAULT);t.b=function(e){var t=e.handleInputChange,n=e.placeholder,o=void 0===n?"alberteinstein@uzh.ch":n,c=e.className,l=void 0===c?"":c,s=Object(r.useState)(""),m=s[0],b=s[1],h=Object(r.useState)(i.EMPTY),g=h[0],v=h[1],y=Object(r.useState)(""),x=y[0],_=y[1],w=null,O=null;if(g!==i.EMPTY){var j=g===i.VALID?"tick-arrow":"exclamation-warning-caution";w=u(a.a,{icon:j}),g===i.INVALID&&(O=u(f,{className:"tooltip-input-icon"},u("div",{className:"content"},u(a.a,{icon:"down-alt-arrow-tip",className:"up-arrow"}),x)))}return u(d,{isValid:g,className:l},u(p,{type:"email",value:m,onChange:function(e){var n=e.target.value.trim();if(b(n),""===n){var r=i.EMPTY;v(r),t(n,g)}else{var o=e.target,a=o.validity.valid?i.VALID:i.INVALID;_(o.validationMessage),v(a),t(n,a)}},placeholder:o,"aria-label":o,"data-testid":"input-email"}),u("div",{className:"container-icon"},w,O))}},"2qu3":function(e,t,n){"use strict";var i=n("oI91"),r=n("/GRZ"),o=n("i2R6");function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function c(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,c=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw o}}}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:[];return new Promise((function(t){var n=function(){return h=!0,t()};O(b,e).then(n,n)}))},window.__NEXT_PRELOADREADY=w.preloadReady;var j=w;t.default=j},"9AxZ":function(e,t,n){"use strict";n.d(t,"a",(function(){return I}));var i=n("YFqc"),r=n.n(i),o=n("q1tI"),a=n.n(o),c=n("cfIY"),l=n("Shqb"),s=n("ipZj"),u=n("fkzy"),d=n("vOnD"),p=n("o0o1"),f=n.n(p),m=n("HaE+"),b=n("IN42"),h=n("vDqi"),g=n.n(h),v=a.a.createElement,y=function(e){var t=e.concepts;if(0===t.length)return null;var n=t.slice(0,2).map((function(e,t){return v(b.d,{key:t},e)}));return v("div",null,v(b.r,null,"Known for"),v(b.e,null,n))},x=function(e){var t=e.unit,n=e.institute_name,i=Object(o.useState)({}),r=i[0],c=i[1],l=Object(o.useState)(!1),s=l[0],d=l[1],p=t.cover_url?t.cover_url:"https://d5a9y5rnan99s.cloudfront.net/tds-static/images/Profile-default.svg",h=t.cover_url_optimised?t.cover_url_optimised:null,x=(r.citation_velocity_bin,r.publication_velocity_bin),_=x?x.map((function(e){return e.duration})):null,w=!!x&&x.some((function(e){return 0!==e.count})),O=w,j=function(){var e=Object(m.a)(f.a.mark((function e(){var n,i,r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(s){e.next=9;break}return d(!0),n=Object(u.p)(),i="/api/research-unit/".concat(t.unit_type,"/").concat(t._id,"/hover-card-velocity"),e.next=6,g.a.post(i,{},n);case 6:r=e.sent,c(r.data),d(!1);case 9:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();Object(o.useEffect)((function(){j()}),[]);var I=null;_&&O&&(I=v(a.a.Fragment,null,v(b.q,null,v(b.j,{style:{width:120}}),_.map((function(e,t){return v(b.j,{key:t},e)}))),false,w&&v(b.q,null,v(b.c,{style:{width:120,textAlign:"left"}},v(b.l,{src:"https://d5a9y5rnan99s.cloudfront.net/tds-static/images/journals_1.svg"}),"Publications"),x&&x.map((function(e,n){return"Lifetime"===e.duration?v(b.m,{key:n,rel:"noopener noreferrer",target:"_blank",href:"/unit/".concat(t.unit_type,"/").concat(t._id,"/graph/publications")},0===e.count?"-":e.count):v(b.c,{key:n},0===e.count?"-":e.count)})))));var S=t.is_root?v(b.g,null,t.name):v(b.f,{rel:"noopener noreferrer",target:"_blank",href:"/unit/".concat(t.unit_type,"/").concat(t._id)},t.name);return v(b.a,null,v(b.b,null,v("picture",null,!!h&&v("source",{srcSet:h,type:"image/webp"}),v("source",{srcSet:p}),v(b.o,{loading:"lazy",src:p})),v(b.n,null,v(b.i,null,S,v(b.p,null,n)),t.top_3_concepts&&v(y,{concepts:t.top_3_concepts}))),v(b.h,null),I)},_=function(e){var t=e.linkEl,n=e.unit,i=e.institute_name,r=Object(o.useState)(!1),a=r[0],c=r[1],l=Object(o.useRef)(null);return v(b.k,{onMouseOver:function(){l.current||(l.current=setTimeout((function(){c(!0)}),500))},onMouseLeave:function(){l.current&&(c(!1),clearTimeout(l.current),l.current=null)}},t,!!a&&v(b.u,null,v(x,{unit:n,institute_name:i})))},w=a.a.createElement,O=d.b.li.withConfig({displayName:"ProfileLinkedUnitHierarchy__Item",componentId:"sc-46kb0n-0"})(["display:block;margin:0;margin-bottom:2px;padding:0;"]),j=d.b.ul.withConfig({displayName:"ProfileLinkedUnitHierarchy__StyledList",componentId:"sc-46kb0n-1"})(["padding:0;margin:0;list-style-type:none;font-family:",";color:",";font-size:",";line-height:",";letter-spacing:0.2px;"],l.b.SANS_SERIF,c.a.TEXT.PARAGRAPH,Object(l.d)(16),Object(l.d)(24)),I=function(e){var t=e.unit,n=e.institute_name,i=e.className,r=e.showHoverCard,o=void 0!==r&&r,a=Object(s.b)(t);return w(j,{className:i||""},a.map((function(e,t){return w(S,{key:t,showHoverCard:o,unit:e,institute_name:n})})))},S=function(e){var t=e.unit,n=e.institute_name,i=e.showHoverCard;if(t.is_root)return w("span",null,t.name);var o=w(r.a,Object(u.z)(t.unit_type,t._id),w("a",null,t.name));return w(O,null,i?w(_,{linkEl:o,unit:t,institute_name:n}):o)}},Akfn:function(e,t,n){"use strict";n.d(t,"a",(function(){return F}));var i=n("wx14"),r=n("q1tI"),o=n.n(r),a=n("HOgx"),c=n("YFqc"),l=n.n(c),s=n("9kay"),u=n("hlQV"),d=n("Sigi"),p=n("5PLP"),f=n("cfIY"),m=n("Shqb"),b=n("ipZj"),h=n("CVsc"),g=n("fkzy"),v=n("vOnD"),y=n("vx0M"),x=n("9AxZ"),_=o.a.createElement,w=v.b.div.withConfig({displayName:"ResearcherItem__ItemDiv",componentId:"miq1ik-0"})(["display:flex;flex-direction:row;align-items:stretch;padding:20px 0;padding-right:12px;min-height:90px;min-width:10px;&:last-child{padding-bottom:0px;}","{padding:16px 0;min-height:unset;}"],a.i),O=Object(v.b)(p.a).withConfig({displayName:"ResearcherItem__ResearcherImage",componentId:"miq1ik-1"})(["height:72px;width:72px;border-radius:4px;box-sizing:border-box;","{height:60px;width:60px;}"],a.i),j=Object(v.b)(O).withConfig({displayName:"ResearcherItem__ResearcherDefaultImage",componentId:"miq1ik-2"})(["",";padding:8px;"],Object(v.a)(a.b)),I=v.b.div.withConfig({displayName:"ResearcherItem__ResearchInfoDiv",componentId:"miq1ik-3"})(["display:flex;flex-direction:column;font-size:",";line-height:",";letter-spacing:0.2;text-align:left;margin-left:16px;.researcher-name{font-family:",";font-size:",";line-height:",";}"],Object(m.d)(12),Object(m.d)(20),m.b.SANS_SERIF_2,Object(m.d)(14),Object(m.d)(24)),S=v.b.div.withConfig({displayName:"ResearcherItem__ResearcherItemContainer",componentId:"miq1ik-4"})(["flex:1;display:flex;align-items:flex-start;padding:16px 20px;background-color:",";box-shadow:0 1px 4px 0 rgba(0,0,0,0.1);border-radius:4px;margin-bottom:8px;border:2px solid transparent;&:hover{border-color:",";}","{padding:12px;}"],f.a.BACKGROUND.DEFAULT,f.a.PRIMARY.DEFAULT,a.i),k=v.b.div.withConfig({displayName:"ResearcherItem__ResearcherCardBody",componentId:"miq1ik-5"})(["flex:1;display:flex;align-items:flex-start;font-family:",";color:",";font-size:",";line-height:",";width:100%;","{flex-direction:column;}.publications-container{overflow:hidden;transition:display 0.2s ease-out;max-height:0;border-left:3px solid #d8d8d8;padding-left:",";&.show{max-height:max-content;height:auto;min-height:300px;}}"],m.b.SANS_SERIF,f.a.TEXT.PARAGRAPH,Object(m.d)(12),Object(m.d)(20),a.i,Object(m.d)(10)),N=v.b.div.withConfig({displayName:"ResearcherItem__ResearchCardInfoDiv",componentId:"miq1ik-6"})(["display:flex;flex-direction:column;font-size:",";line-height:",";letter-spacing:0.2;text-align:left;margin-left:16px;.researcher-name-section{.researcher-name{width:fit-content;font-family:",";font-size:",";line-height:",";}.cite-stat-container{display:flex;.dot{height:3px;width:3px;background-color:",";border-radius:50%;display:inline-block;}.cite-link{line-height:",";color:",";}}}.researcher-unit-info{font-size:",";line-height:",";}"],Object(m.d)(12),Object(m.d)(20),m.b.SANS_SERIF_2,Object(m.d)(14),Object(m.d)(24),f.a.TEXT.BLACK_4B,Object(m.d)(20),f.a.TEXT.BLACK_4B,Object(m.d)(12),Object(m.d)(14)),C=Object(v.b)(d.a).withConfig({displayName:"ResearcherItem__PublicationIcon",componentId:"miq1ik-7"})(["width:16px;height:13px;margin:0 5px 0;vertical-align:middle;display:inline;"]),R=v.b.img.withConfig({displayName:"ResearcherItem__VelocityIcon",componentId:"miq1ik-8"})(["width:16px;height:13px;margin:0 5px 0;vertical-align:middle;"]),E=function(e){var t=e.photo_url,n=e.publications,i=e.unit,r=e.role,o=e.researcher_id,a=e.citationForYear,c=e.publicationForYear,d=e.publication_count,p=e.citation_count,f=e.showCitationLink,m=e.showPublicationLink,b=Object(s.useTranslation)("roles").t,v=t?O:j,w=i,I=r||"",E=t||"https://d5a9y5rnan99s.cloudfront.net/tds-static/images/Profile-default.svg",P="publications-container-".concat(o);return _(S,{onClick:function(e){if(e.stopPropagation(),n){var t=document.getElementById(P);if(t)t.classList.contains("show")?t.classList.remove("show"):t.classList.add("show")}}},_(k,null,_("div",{className:"section--col"},_("div",{className:"section--row"},_(v,{loading:"lazy",src:E,alt:b("common:alt-text-researcher",{name:Object(h.a)(e)}),title:b("common:alt-text-researcher",{name:Object(h.a)(e)}),height:132,width:122}),_(N,{className:"section--col"},_("div",{className:"researcher-name-section section--row"},_(l.a,Object(g.x)(o),_("a",{className:"researcher-name"},Object(h.a)(e))),function(){var e=null;if(f){var t="Citations Received",n="/researcher/".concat(o,"/graph/citations");a&&(t+=" in ".concat(a),n+="/".concat(a)),p&&(e=_("div",{className:"cite-stat-container"},_("span",{className:"dot"}),_(u.b,{className:"cite-link",href:n},_(R,{src:"https://d5a9y5rnan99s.cloudfront.net/tds-static/images/cite-icon.svg",alt:"Cites"})," ",p," ",t)))}return e}(),function(){var e=null;if(m){var t="Publications Published",n="/researcher/".concat(o,"/graph/publications");c&&(t+=" in ".concat(c),n+="/".concat(c)),d&&(e=_("div",{className:"cite-stat-container"},_("span",{className:"dot"}),_(u.b,{className:"cite-link",href:n},_(C,{icon:"journals-1"})," ",d," ",t)))}return e}()),_("span",{className:"researcher-role"},b(I)),_(x.a,{className:"researcher-unit-info",unit:w,institute_name:e.host_institute_name}))),_("div",{className:"publications-container",id:P},_(y.a,{items:n||[]})))))},P=function(e){var t=e.researcher_id,n=e.photo_url,i=e.photo_url_optimised,r=e.role,o=e.publication_count,a=e.unit,c=e.commonPublications,u=r||"",d=Object(s.useTranslation)("roles").t,p=n||"https://d5a9y5rnan99s.cloudfront.net/tds-static/images/Profile-default.svg",f=i||null,m=n?O:j,v=a,y=v?_(b.a,v):null;return _(w,null,_("picture",null,!!f&&_("source",{srcSet:f,type:"image/webp"}),_("source",{srcSet:p}),_(m,{loading:"lazy",src:p,alt:d("common:alt-text-researcher",{name:Object(h.a)(e)}),title:d("common:alt-text-researcher",{name:Object(h.a)(e)}),height:72,width:72})),_(I,null,_(l.a,Object(g.x)(t),_("a",{className:"researcher-name"},Object(h.a)(e))),_("span",{className:"researcher-role"},d(u)),y,c?_("span",null,o," ",d("common:publications")," in common"):_(l.a,Object(g.x)(t,"publications"),_("a",null,o," ",d("common:publications")))))},A=o.a.createElement,D=v.b.ul.withConfig({displayName:"ResearcherList__StyledList",componentId:"sc-1benzee-0"})(["list-style:none;display:grid;grid-template-columns:auto auto auto;margin:0;padding:0;.item-researcher{flex:1;}","{grid-template-columns:auto;}"],a.i),L=(t.b=function(e){var t=e.items,n=e.commonPublications;return A(D,null,t.map((function(e,t){return A("li",{className:"item-researcher",key:t},A(P,Object(i.a)({commonPublications:n,key:t},e)))})))},v.b.div.withConfig({displayName:"ResearcherList__ResearcherListContainer",componentId:"sc-1benzee-1"})(["flex:1;margin-top:24px;","{margin-top:0;}"],a.i)),T=v.b.ul.withConfig({displayName:"ResearcherList__StyledCardList",componentId:"sc-1benzee-2"})(["list-style:none;margin:0;padding:0;li.item-researcher{display:flex;}"]),F=function(e){var t=e.host_institute_name,n=e.items,r=e.publicationForYear,o=e.citationForYear,a=e.showCitationLink,c=e.showPublicationLink;return A(L,null,A(T,null,n.map((function(e,n){return A("li",{className:"item-researcher",key:n},A(E,Object(i.a)({host_institute_name:t,key:n},e,{publicationForYear:r,citationForYear:o,showPublicationLink:c,showCitationLink:a})))}))))}},Ff2n:function(e,t,n){"use strict";function i(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n,i,r={},o=Object.keys(e);for(i=0;i=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}n.d(t,"a",(function(){return i}))},PU7G:function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var i=n("q1tI"),r=n.n(i),o=n("9kay"),a=n("HOgx"),c=n("cfIY"),l=n("Shqb"),s=n("vOnD"),u=r.a.createElement,d=s.b.button.withConfig({displayName:"FollowButton__FollowButtonStyle",componentId:"sc-1am7z0u-0"})(["box-sizing:border-box;height:46px;width:240px;flex-grow:0;margin-left:24px;border:none;border-bottom:3px solid #30763f;background-color:",";color:",";font-family:",";font-size:",";line-height:",";font-weight:600;letter-spacing:0.2px;text-align:center;text-transform:uppercase;cursor:pointer;filter:none;","{width:100%;margin:0;margin-top:12px;}&:hover{background-color:",";}"],c.a.SECONDARY.DEFAULT,c.a.TEXT.ON_DARK_BACKGROUND,l.b.SANS_SERIF,Object(l.d)(16),Object(l.d)(32),a.i,c.a.SECONDARY.DARKER),p=function(e){var t=Object(o.useTranslation)("common").t;return u(d,e,t("follow"))};t.b=d},PXD2:function(e,t,n){"use strict";n.d(t,"c",(function(){return ee})),n.d(t,"b",(function(){return ne})),n.d(t,"a",(function(){return ae}));var i=n("rePB"),r=n("wx14"),o=n("1OyB"),a=n("JX7q"),c=n("vuIU"),l=n("Ji7U"),s=n("md7G"),u=n("foSv"),d=n("q1tI"),p=n.n(d),f=n("ffb8"),m=n("vOnD"),b=n("89ZD"),h=n("20a2"),g=n.n(h),v=n("Sigi"),y=n("cfIY"),x=n("Shqb"),_=m.b.input.withConfig({displayName:"SearchInput",componentId:"sc-7pss0o-0"})(["flex-grow:1;flex:9;padding:12px 16px;font-family:",";font-size:",";line-height:",";color:",";outline:0;border:0px solid transparent;border-radius:0;border-top-left-radius:4px;border-bottom-left-radius:4px;height:50px;box-sizing:border-box;"],x.b.SANS_SERIF_2,Object(x.d)(16),Object(x.d)(32),y.a.TEXT.PARAGRAPH),w=m.b.button.withConfig({displayName:"SearchSubmitButton",componentId:"f5icp-0"})(["max-width:90px;box-sizing:border-box;flex:1;width:max-content;display:flex;justify-content:center;align-items:center;background-color:",";border-top-right-radius:4px;border-bottom-right-radius:4px;color:",";font-size:2.3em;border:none;cursor:pointer;.icon{display:flex;justify-content:center;align-items:center;box-sizing:border-box;height:100%;}&:hover{background-color:",";}"],y.a.PRIMARY.DEFAULT,y.a.TEXT.ON_DARK_BACKGROUND,y.a.PRIMARY.DARKEST),O=n("HOgx"),j=p.a.createElement;function I(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=Object(u.a)(e);if(t){var r=Object(u.a)(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return Object(s.a)(this,n)}}var S=m.b.form.withConfig({displayName:"SearchBar__SearchBarStyledContainer",componentId:"sc-16pkidq-0"})(["flex:1;display:flex;border:1px solid #e5ebf0;border-radius:4px;background-color:",";&:focus-within{",";}"],y.a.BACKGROUND.DEFAULT,Object(m.a)(O.c)),k=function(e){Object(l.a)(n,e);var t=I(n);function n(e){var i;return Object(o.a)(this,n),(i=t.call(this,e)).inputRef=void 0,i.inputRef=p.a.createRef(),i.handleSubmit=i.handleSubmit.bind(Object(a.a)(i)),i}return Object(c.a)(n,[{key:"render",value:function(){var e=this.props.className;return j(S,{className:void 0===e?"":e,onSubmit:this.handleSubmit},this.renderInput(),this.renderSubmit())}},{key:"renderInput",value:function(){var e=this.props,t=e.placeholder,n=e.search_text;return j(_,{className:"input",type:"text","data-testid":"search-bar--input",placeholder:t,defaultValue:n,ref:this.inputRef})}},{key:"renderSubmit",value:function(){return j(w,{type:"submit",className:"search-bar__btn-submit","data-testid":"search-bar--btn-submit"},j(v.a,{icon:"search-lens-3",className:"submit__icon"}))}},{key:"handleSubmit",value:function(e){e.preventDefault(),e.stopPropagation();var t=this.getSearchInputVal();t&&(this.props.handleSubmit?this.props.handleSubmit(t):g.a.push({pathname:"/search",query:{search:t}}))}},{key:"getSearchInputVal",value:function(){return this.inputRef&&this.inputRef.current?this.inputRef.current.value.trim():null}}]),n}(p.a.Component),N=n("WJHN"),C=n("hVy4"),R=n("4qbm"),E=n("vx0M"),P=n("Akfn"),A=n("hlQV"),D=p.a.createElement,L=m.b.div.withConfig({displayName:"RelatedLinks__ContainerDiv",componentId:"sc-13hdrv0-0"})([""]),T=m.b.ul.withConfig({displayName:"RelatedLinks__ListDiv",componentId:"sc-13hdrv0-1"})(["margin:0;padding:0;list-style-type:none;"]),F=function(e){var t=e.heading,n=e.items,i=e.className;if(!n||n.length<=0)return null;var r=D("span",{className:"section__heading"},t);return D(L,{className:"section--col ".concat(i)},r,D(T,null,n.map((function(e,t){return D("li",{key:t},D(A.a,{href:e.url},e.name))}))))},B=n("Qxq7"),H=n("YFqc"),z=n.n(H),M=n("9kay"),q=p.a.createElement,U=m.b.a.withConfig({displayName:"ViewAllButton__Container",componentId:"b23gxf-0"})(["box-sizing:border-box;color:",";font-family:",";font-size:",";line-height:",";display:flex;align-items:flex-end;justify-content:flex-end;margin-left:16px;margin-bottom:4px;text-decoration:underline;","{justify-content:flex-start;align-items:center;margin:0px;margin-left:8px;}"],y.a.PRIMARY.DEFAULT,x.b.SANS_SERIF_2,Object(x.d)(14),Object(x.d)(24),O.i),G=function(e){var t=e.linkProps,n=e.className,i=void 0===n?"":n,o=Object(M.useTranslation)("common").t;return q(z.a,Object(r.a)({},t,{passHref:!0,scroll:!1}),q(U,{className:i},o("view-all")))},Y=n("3oPt"),V=n("ffCW"),K=p.a.createElement,X=function(e){var t=e.profile||""!==e.profile.trim()?K(V.a,{html:e.profile,maxHeight:320}):K(ne,null,e.emptyText);return K("div",{className:"section__content--info__profile"},K(ee,null,e.header),t)},J=n("SjCF"),Z=p.a.createElement;function W(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Q(e){for(var t=1;t=c?c:f;var m=c>d?Z("div",{className:"container-pagination"},Z("span",{className:"container-pagination__text-showing"},t("common:pagination-showing-text",{start:p,end:f,count:c})),Z(b.c,Object(r.a)({pageLinkGenerator:this.publicationPageLinkGen},n))):null;return Z("div",null,Z(ee,null,this.props.t("common:publication_plural")," (",c,")"),Z("div",{className:"section__content"},Z(k,{placeholder:this.props.t("common:search-publications"),handleSubmit:this.handlePublicationSearch}),Z(Y.b,{className:"container-sort",sort:l,handleItemClick:this.handlePublicationSort,active_sort:s}),Z(E.a,{showHoverCard:this.props.institute_metadata.allow_velocity_graph,items:o}),m))}},{key:"renderEmptyNetwork",value:function(){var e=this.props.t;return Z("div",null,Z(ee,null,this.props.t("header-network")),Z("div",null,Z(ne,null,e("empty-text-network"))))}},{key:"renderOverviewProfiles",value:function(e,t){var n=this.props.tab_data.profiles;return n.length<=0?null:Z("div",null,Z(oe,null,Z("span",null,this.props.t("common:profile_plural"),void 0!==t&&" (".concat(t,")")),Z(G,{linkProps:e})),Z("div",{className:"section__content"},Z(P.b,{items:n})))}},{key:"renderProfiles",value:function(){var e=this.props.tab_data.data;return e.length<=0?this.renderEmptyProfiles():Z("div",null,Z(ee,null,this.props.t("common:profile_plural")," (",e.length,")"),Z("div",{className:"section__content"},Z(J.a,{items:e,showHoverCard:this.props.institute_metadata.allow_velocity_graph})))}},{key:"renderEmptyProfiles",value:function(){var e=this.props.t;return Z("div",null,Z(ee,null,e("common:profile_plural")),Z("div",null,Z(ne,null,e("empty-text-profiles"))))}},{key:"renderOverviewPublications",value:function(e,t){var n=this.props,i=n.tab_data,r=n.t,o=i.publications;return o.length<=0?null:Z("div",{className:"section--col section__content"},Z(oe,null,Z("span",null,r("common:publication_plural"),void 0!==t&&" (".concat(t,")")),Z(G,{linkProps:e})),Z(E.a,{showHoverCard:this.props.institute_metadata.allow_velocity_graph,items:o}))}},{key:"renderEmptyPublications",value:function(){var e=this.props.t;return Z("div",null,Z(ee,null,this.props.t("common:publication_plural")),Z("div",null,Z(ne,null,e("empty-text-publications"))))}},{key:"renderOverviewConcepts",value:function(e,t){var n=this.props,i=n.tab_data,r=n.t,o=i.concepts;if(o.length<=0)return null;var a=r("common:concept_plural");return Z("div",{className:"section__content section__content__overview-concepts"},this.renderOverviewHeader(a,e,t),Z(R.a,{items:o,showImage:!0}))}},{key:"renderProfile",value:function(e){var t=this.props.t;return Z(X,{profile:e,emptyText:t("empty-text-profile"),header:t("header-personal-profile")})}},{key:"renderOverviewHeader",value:function(e,t,n){var i=void 0!==n?" (".concat(n,")"):"";return Z(oe,null,Z("span",null,e,i),Z(G,{linkProps:t}))}},{key:"renderExternalLinks",value:function(e){var t=this.props.t;return Z(F,{heading:t("header-related"),items:e,className:"section__content--info__links"})}},{key:"scrollToSubscribeForm",value:function(){this.subscribeFormRef&&this.subscribeFormRef.current&&window.scrollTo(0,this.subscribeFormRef.current.offsetTop)}},{key:"renderSubscribe",value:function(e,t){var n=this.props.t;return Z(B.a,{ref:this.subscribeFormRef,id:"leaf-subscribe",className:"page-content container-subscribe",title:n("subscribe-title",{name:e}),CTAText:n("subscribe-submit"),successText:n("subscribe-success",{name:e}),entity:t})}},{key:"stringifyConceptsForMeta",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=arguments.length>3?arguments[3]:void 0;return i&&i>0?"".concat(t,": ").concat(n.slice(0,e).map((function(e){return e.name})).join(", "),"."):""}}]),n}(p.a.Component)},Qxq7:function(e,t,n){"use strict";n.d(t,"a",(function(){return D}));var i,r=n("wx14"),o=n("o0o1"),a=n.n(o),c=n("rePB"),l=n("HaE+"),s=n("vDqi"),u=n.n(s),d=n("q1tI"),p=n.n(d),f=n("HOgx"),m=n("cfIY"),b=n("Shqb"),h=n("/blm"),g=n("PU7G"),v=n("vOnD"),y=p.a.createElement,x=v.b.form.withConfig({displayName:"SubscribeForm__Form",componentId:"giapku-0"})(["display:flex;align-items:stretch;width:100%;","{flex-direction:column;}"],f.i),_=function(e){var t=e.CTAText,n=e.handleSubscribe,i=Object(d.useState)(""),r=i[0],o=i[1],c=Object(d.useState)(h.a.EMPTY),s=c[0],u=c[1],p=function(){var e=Object(l.a)(a.a.mark((function e(t){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.preventDefault(),t.stopPropagation(),s===h.a.VALID){e.next=4;break}return e.abrupt("return",!1);case 4:return e.next=6,n(r);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),f=s!==h.a.VALID;return y(x,{onSubmit:p,"data-testid":"form-subscribe"},y(h.b,{handleInputChange:function(e,t){o(e),u(t)}}),y(g.b,{type:"submit",disabled:f},t))},w=n("fkzy"),O=n("5PLP"),j=p.a.createElement;function I(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function S(e){for(var t=1;tn)}),[]),t?d(p,Object(i.a)({},u,{maxHeight:g&&m?n:null}),d("div",{className:"html-content ".concat(u.className||"")},d("div",{ref:y,dangerouslySetInnerHTML:{__html:Object(l.j)(t)}})),g&&m&&d("div",{className:"read-more",onClick:function(){return b((function(e){return!e}))}},"CONTINUE READING"),!!s&&!m&&d("div",{className:"read-less",onClick:function(){return b((function(e){return!e}))}},"COLLAPSE")):null}},jwwS:function(e,t,n){"use strict";var i;t.__esModule=!0,t.LoadableContext=void 0;var r=((i=n("q1tI"))&&i.__esModule?i:{default:i}).default.createContext(null);t.LoadableContext=r},"qi/6":function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i=n("ffb8"),r=n("q1tI"),o=n.n(r),a=n("fkzy"),c=o.a.createElement,l=function(e){var t=e.items.map((function(e,t){return{"@type":"ListItem",position:t+1,name:Object(a.m)(e.name),item:e.value}}));return c(i.BreadcrumbJsonLd,{itemListElements:t})}},vx0M:function(e,t,n){"use strict";n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return m}));var i=n("wx14"),r=n("q1tI"),o=n.n(r),a=n("HOgx"),c=n("DGIW"),l=n("vOnD"),s=o.a.createElement,u=l.b.div.withConfig({displayName:"PublicationList__PublicationListContainer",componentId:"sc-1j8wr40-0"})(["flex:1;margin-top:24px;","{margin-top:0;}"],a.i),d=l.b.ul.withConfig({displayName:"PublicationList__StyledList",componentId:"sc-1j8wr40-1"})(["list-style:none;margin:0;padding:0;li{display:flex;}"]),p=l.b.li.withConfig({displayName:"PublicationList__PublicationItemContainer",componentId:"sc-1j8wr40-2"})(["","{width:100%;}"],a.i),f=function(e){var t=e.items,n=e.className,o=void 0===n?"":n,a=e.showHoverCard,l=void 0!==a&&a,f=e.openInNewTab,m=void 0!==f&&f,b=e.showCitationLink,h=void 0!==b&&b,g=e.showFulltextDownload,v=void 0===g||g,y=e.citationForYear,x=e.showConcepts,_=void 0===x||x,w=e.isLoading,O=void 0!==w&&w,j=e.handleFetchPublications,I=e.nextPage,S=Object(r.useRef)(),k=Object(r.useCallback)((function(e){j&&(O||(S.current&&S.current.disconnect(),S.current=new IntersectionObserver((function(e){e[0].isIntersecting&&I&&j({page:I})})),e&&S.current.observe(e)))}),[O,I]);return s(u,{className:o},s(d,null,t.map((function(e,n){return s(p,{key:e._id},s(c.d,Object(i.a)({ref:t.length-7===n?k:void 0,showCitationLink:h,openInNewTab:m,showHoverCard:l},e,{showFulltextDownload:v,citationForYear:y,showConcepts:_})))}))))},m=function(e){var t=e.items,n=e.className,r=void 0===n?"":n,o=e.showHoverCard,a=void 0!==o&&o,l=e.openInNewTab,m=void 0!==l&&l,b=e.showCitationLink,h=void 0!==b&&b,g=e.showFulltextDownload,v=void 0===g||g,y=e.citationForYear,x=e.showConcepts,_=void 0===x||x,w=e.enableInfiniteScroll;return void 0!==w&&w?s(f,e):s(u,{className:r},s(d,null,t.map((function(e,t){return s(p,{key:t},s(c.d,Object(i.a)({showCitationLink:h,openInNewTab:m,showHoverCard:a},e,{showFulltextDownload:v,citationForYear:y,showConcepts:_})))}))))}}}]);