1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1128],{16193:function(t,e,i){i.r(e);var s=i(85893),n=i(67294),a=i(45697),l=i.n(a),o=i(40684),r=i(27361),d=i.n(r),p=i(23560),h=i.n(p),c=i(52353),u=i.n(c),b=i(35161),x=i.n(b),f=i(84238),g=i.n(f),m=i(93224);let E=(0,o.ZP)(()=>Promise.resolve().then(i.bind(i,86570))),k=(0,o.ZP)(()=>Promise.resolve().then(i.bind(i,68351))),C=(0,o.ZP)(()=>Promise.resolve().then(i.bind(i,23663))),N=(0,o.ZP)(()=>i.e(7880).then(i.bind(i,55217)));class j extends n.Component{componentDidMount(){this.initializeExpansion()}componentDidUpdate(){let{hasExpansionInitialized:t}=this.state;t||this.initializeExpansion()}initializeExpansion(){let{isExpanded:t,items:e}=this.props,i=5===g()(e);this.setState({hasExpansionInitialized:!0,isExpandedState:i||!!u()(t)&&t})}toggleTabContent(){let{loadMoreButtonCallback:t}=this.props,{isExpandedState:e}=this.state;!e&&(this.setState({isExpandedState:!0}),h()(t)&&t())}render(){let{collectionDataHasUpdated:t,fullHeight:e,isExpanded:i,isVisible:n,items:a,showNoResults:l,title:o,titleLink:r,titleSub:p}=this.props,{isExpandedState:h}=this.state,c=5===g()(a);return(0,s.jsxs)("div",{className:"molecule-feature-card-profile-list"+(h||i?" show-content":""),children:[(o||p)&&(0,s.jsx)(k,{className:"filtered-results-title",title:o,titleSub:p,titleLink:r}),l&&(0,s.jsx)("div",{className:"no-result-found",children:"No results found."}),1>g()(a)&&(0,s.jsx)(N,{loading:t}),(0,s.jsxs)(C,{isVisible:n,children:[(0,s.jsx)("div",{className:"feature-sports-content "+(e||c?"mh-100":""),children:x()(a,function(t,e){if(!d()(t,"link")||!d()(t,"title")||!d()(t,"treatedImage"))return;let{association:i,disciplines:n,isFlippable:a,link:l,medalTally:o,tag:r,tagSecondary:p,titlePrimary:h,titleSecondary:c,treatedImage:u}=t;return(0,s.jsx)(E,{association:i,disciplines:n,isFlippable:a,profileImage:u,link:l,medalTally:o,tag:r,tagSecondary:p,titlePrimary:h,titleSecondary:c},e)})}),!i&&!h&&!c&&(0,s.jsx)(m.default,{containerClassName:"feature-sports-row",isContentOnlyLink:!1,content:"Load More",onClick:this.toggleTabContent,outline:!0})]})]})}constructor(t){super(t),this.state={isExpandedState:!1,hasExpansionInitialized:!1},this.toggleTabContent=this.toggleTabContent.bind(this),this.initializeExpansion=this.initializeExpansion.bind(this)}}j.defaultProps={collectionDataHasUpdated:!1,showNoResults:!1},j.propTypes={collectionDataHasUpdated:l().bool,fullHeight:l().bool,isExpanded:l().bool,items:l().oneOfType([l().array,l().object]),loadMoreButtonCallback:l().func,showNoResults:l().bool,title:l().string,titleSub:l().string,titleLink:l().shape({title:l().string.isRequired,url:l().string.isRequired})},e.default=j}}]);
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.