(window.webpackJsonp=window.webpackJsonp||[]).push([[27],{1012:function(e,o,s){"use strict";s.r(o),s.d(o,"default",(function(){return L}));var t,a,n=s(0),i=s(29),c=s.n(i),d=(s(1),s(12)),l=s(4),r=s(18),u=s(16),b=s.n(u),p=s(3),h=s.n(p),g=s(281),m=s(957),j=s(962),M=s(1304),O=s(104),k=s(1296);const f=Object(l.f)({heading:{id:"column.blocks",defaultMessage:"Blocked users"}});let L=Object(d.connect)((e=>({accountIds:e.getIn(["user_lists","blocks","items"]),hasMore:!!e.getIn(["user_lists","blocks","next"]),isLoading:e.getIn(["user_lists","blocks","isLoading"],!0)})))(t=Object(l.g)(((a=class extends r.a{constructor(){super(...arguments),this.handleLoadMore=c()((()=>{this.props.dispatch(Object(O.h)())}),300,{leading:!0})}componentWillMount(){this.props.dispatch(Object(O.i)())}render(){const{intl:e,accountIds:o,hasMore:s,multiColumn:t,isLoading:a}=this.props;if(!o)return Object(n.a)(m.a,{},void 0,Object(n.a)(g.b,{}));const i=Object(n.a)(l.b,{id:"empty_column.blocks",defaultMessage:"You haven't blocked any users yet."});return Object(n.a)(m.a,{bindToDocument:!t,icon:"ban",heading:e.formatMessage(f.heading)},void 0,Object(n.a)(j.a,{}),Object(n.a)(k.a,{scrollKey:"blocks",onLoadMore:this.handleLoadMore,hasMore:s,isLoading:a,emptyMessage:i,bindToDocument:!t},void 0,o.map((e=>Object(n.a)(M.a,{id:e,defaultAction:"block"},e)))))}}).propTypes={params:h.a.object.isRequired,dispatch:h.a.func.isRequired,accountIds:b.a.list,hasMore:h.a.bool,isLoading:h.a.bool,intl:h.a.object.isRequired,multiColumn:h.a.bool},t=a))||t)||t}}]);
//# sourceMappingURL=blocks-3fa463782ec7afc7d7c3.chunk.js.map