"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7936,5832],{52084:function(t,e,r){r.d(e,{Z:function(){return x}});var n=r(92809),a=r(27361),i=r.n(a),c=r(43832),o=r(99956),l=r(41749),d=r(41120),u=(r(67294),r(47534)),s=r(85893),m=(0,d.Z)((function(t){return{root:function(e){var r;return r={minWidth:"25%"},(0,n.Z)(r,t.breakpoints.up("md"),{maxWidth:e.maxWidth?"25%":"none"}),(0,n.Z)(r,t.breakpoints.down("md"),{minWidth:"33%"}),r}}}));function x(t){var e=m(t),r=!!i()(t,"title[0][0].text",void 0)&&""!==i()(t,"title[0][0].text",void 0)&&i()(t,"title",""),n=!!t.rows;return(0,s.jsxs)(c.Z,{maxWidth:"xl",children:[r&&(0,s.jsx)(u.default,{data:{fields:r.map((function(t){return{text:t}}))},zeroB:!0,label:"center"}),(0,s.jsx)(o.Z,{pb:8,pt:8,children:(0,s.jsx)(l.Z,{container:!0,justifyContent:"center",alignItems:"stretch",spacing:n?0:2,children:t.children&&t.children.map((function(t,r){return(0,s.jsx)(l.Z,{item:!0,xs:12,md:!n,className:e.root,align:"center",children:t},r)}))})})]})}},57936:function(t,e,r){r.r(e),r.d(e,{default:function(){return O}});var n=r(92809),a=r(83789),i=r(99956),c=r(43832),o=r(41749),l=(r(67294),r(52084)),d=r(61769),u=r(27361),s=r.n(u),m=r(47534),x=r(41120),f=r(47601),p=r(52161),h=r(18499),b=r(22286),j=r(8400),g=r.n(j),Z=r(85893);function y(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function v(t){for(var e=1;e=1&&(e=[]).concat.apply(e,(0,a.Z)(r)),D=N&&N.length>1&&N.reduce((function(t,e){return v(v({},t),{},(0,n.Z)({},e.teacherId,e))}),{}),P=D&&_.map((function(t){return D[t]}));return P?(0,Z.jsxs)(i.Z,{className:w.root,children:[j&&(0,Z.jsx)(m.default,{data:{fields:[{text:j}]},zeroB:!0,label:x,maxWidth:"xl"}),u&&"column-3"===u?(0,Z.jsx)(i.Z,{pb:8,pt:j?0:8,children:(0,Z.jsx)(c.Z,{maxWidth:"xl",children:(0,Z.jsx)(o.Z,{container:!0,justifyContent:"center",alignItems:"stretch",children:P&&P.map((function(t,e){return(0,Z.jsx)(o.Z,{item:!0,xs:12,md:4,align:"center",className:w.facultyItem,children:(0,Z.jsx)(d.FacultyShortBio,{community:C,facultyData:t})},e)}))})})}):(0,Z.jsx)(l.Z,{maxWidth:!0,children:P&&P.map((function(t,e){return t&&(0,Z.jsx)(d.FacultyThumbnail,{teacherId:t&&t.uid,facultyData:t},e)}))})]}):(0,Z.jsx)(p.Z,{})}},47534:function(t,e,r){r.r(e),r.d(e,{default:function(){return b}});var n=r(99956),a=r(43832),i=r(41749),c=r(22318),o=r(41120),l=r(8920),d=(r(67294),r(68751)),u=r(27361),s=r.n(u),m=r(52084),x=r(71792),f=r(63457),p=r(85893),h=(0,o.Z)((function(t){return{root:function(e){return{background:"dark_black"===e.bgColor?t.palette.background.dark:"gray"===e.bgColor?t.palette.background.gray:"transparent","& .highlight":{color:t.palette.secondary.main}}},contrastTextColor:{color:t.palette.text.contrastText,"& *":{color:t.palette.text.contrastText},"& a":{color:t.palette.primary.main,textDecoration:"none","&:hover":{color:t.palette.text.hover,textDecoration:"none"}}},orderedlistbullet:{color:t.palette.text.tertiary,fontSize:42,lineHeight:.7,marginTop:7},col2:{backgroundColor:function(e){return"column-2-related"===e.label&&s()(t,"palette.background.gray")}}}}));function b(t){var e=t&&"SchedulerBodyGroup_text"===t.data.__typename,r=t.label?t.label:t.data&&t.data.label?t.data.label:"left",o=t.data&&t.data.fields,u=t.mini||t.minit||e?4:t.zeroT?0:8,b=t.mini||t.minib||e?4:t.zeroB?0:8,j=t.maxWidth?t.maxWidth:"left"===r||"index"===r||"center"===r&&1===o.length?"md":"xl",g=12/(r.match(/[2-3]/)||1),Z=(0,l.Z)(),y=(0,f.Z)(Z.breakpoints.down("sm")),v=12===g?2:"column-2-related"!==r||y?4:6,k=r.indexOf("center")>-1?"center":"left",O=s()(t,"data.primary.bg_color","white"),w="dark_black"===O,C=h({bgColor:O,label:r});return(0,p.jsx)("div",{className:"groupTextSlice",children:(0,p.jsx)(n.Z,{className:"".concat(C.root," ").concat(w&&C.contrastTextColor),children:"autogrid"===r?(0,p.jsx)(m.Z,{children:o&&o.map((function(t,e){return(0,p.jsx)("div",{children:(0,p.jsx)(d.Z,{render:t.text})},e)}))}):(0,p.jsx)(a.Z,{maxWidth:j,children:(0,p.jsx)(n.Z,{pt:u,pb:b,children:"index"===r?o&&o.map((function(t,e){return(0,p.jsxs)(i.Z,{container:!0,wrap:"nowrap",spacing:v,children:[(0,p.jsx)(i.Z,{item:!0,children:(0,p.jsx)(n.Z,{mt:1,mb:2,children:(0,p.jsx)(c.Z,{className:C.orderedlistbullet,children:e+1})})}),(0,p.jsx)(i.Z,{item:!0,xs:!0,children:(0,p.jsx)(n.Z,{mt:1,mb:2,children:(0,p.jsx)(d.Z,{render:t.text})})})]},e)})):"center"===r?(0,p.jsx)(i.Z,{container:!0,justifyContent:"center",children:o&&o.map((function(t,e){return(0,p.jsx)(i.Z,{item:!0,xs:12,sm:12,md:g,align:k,children:(0,p.jsx)(d.Z,{render:t.text})},e)}))}):(0,p.jsx)(i.Z,{container:!0,spacing:v,children:o&&o.map((function(t,e){return(0,p.jsx)(i.Z,{item:!0,xs:12,sm:12,md:g,align:k,className:1===e&&C.col2,children:(0,p.jsx)(d.Z,{render:t.text,htmlSerializer:x.y})},e)}))})})})})})}}}]);