"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[3468],{97398:(e,r,t)=>{t.d(r,{A:()=>P}),t(63696);var n=t(20641),i=t(11545),o=t(468),a=t(74437),l=t(91785),c=t(83051),s=t(40379),u=t(63548),g=t(55522),d=t(75729),b=t(12614),f=t(59310),h=t(62540);function m(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function p(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?m(Object(t),!0).forEach((function(r){j(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):m(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function j(e,r,t){return(r=function(e){var r=function(e){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var t=r.call(e,"string");if("object"!=typeof t)return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof r?r:r+""}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}var v=(0,c.default)("p",{target:"etflsgg2",label:"Contributor"})(n.tc," ",i.B3," display:flex;align-items:center;margin:0;color:",(e=>{var{theme:r}=e;return r.colourPalette.secondary}),";& strong{",n.NP," color:",(e=>{var{theme:r}=e;return r.colourPalette.primary}),";}"),x=(0,c.default)("span",{target:"etflsgg1",label:"ImageWrapper"})("flex:none;align-self:flex-start;margin-right:",a.SPACING_2,";width:",(e=>{var{size:r}=e;return"large"===r?(0,o.A)(64):(0,o.A)(40)}),";border-radius:50%;overflow:hidden;background-color:",(e=>{var{theme:r}=e;return r.colourPalette.midground}),";",(e=>{var{icon:r}=e;return r&&(0,l.AH)("padding:",a.SPACING_3,";")}),";box-sizing:border-box;"),y=(0,c.default)("a",{target:"etflsgg0",label:"ContributorLink"})("text-decoration:none;color:",(e=>{var{theme:r}=e;return r.colourPalette.hyperlink}),";&:hover,&:focus{text-decoration:underline;}"),w=e=>{var{title:r,url:t,children:n,tracking:i,onClick:o}=e;return t?(0,h.jsx)(s.C,p(p({},(e=>{var{tracking:r,title:t,url:n}=e;return{trackView:!1,stopPropagation:!0,tracking:(0,u.D9)(p(p({},r),{},{entityName:"subitem",subitemType:"contributor",subitemLink:n,subitemText:t,subitemPosition:r.contributorPosition}))}})({tracking:i,title:r,url:t})),{},{children:e=>{var{trackRef:r}=e;return(0,h.jsx)(y,{ref:r,href:t,onClick:o,children:n})}})):n},O=e=>{var{size:r,imageSrc:t,alwaysShowImage:n}=e;return t?(0,h.jsx)(x,{size:r,children:(0,h.jsx)(d.A,{src:t,alt:"",width:"64",height:"64",loading:"lazy"})}):n?(0,h.jsx)(x,{size:r,icon:!0,children:(0,h.jsx)(g.A,{type:"people-and-faces:person"})}):null};const P=e=>{var{title:r,subtitle:t,url:n,imageSrc:i,alwaysShowImage:o=!1,size:a="large",twitterName:l,slackChannel:c,tracking:s={},onClick:u}=e;return(0,h.jsxs)(v,{size:a,children:[(0,h.jsx)(O,{size:a,imageSrc:i,alwaysShowImage:o}),(0,h.jsxs)("span",{children:[(0,h.jsx)("strong",{children:(0,h.jsx)(w,{title:r,url:n,tracking:s,onClick:u,children:r})}),t&&(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("br",{}),t]}),l&&(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("br",{}),(0,h.jsxs)(b.A,{url:"https://www.twitter.com/".concat(l),children:["@".concat(l),(0,h.jsx)(f.A,{children:"on Twitter"})]})]}),(null==c?void 0:c.name)&&c.url&&(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("br",{}),(0,h.jsxs)(b.A,{url:c.url,children:["Contact us on #".concat(c.name),(0,h.jsx)(f.A,{children:" on Slack"})]})]})]})]})}}}]);