(window.webpackJsonp=window.webpackJsonp||[]).push([[65],{1108:function(e,o,s){"use strict";s.r(o),s.d(o,"default",(function(){return L}));var t,a,n=s(0),c=s(29),i=s.n(c),d=(s(1),s(12)),l=s(16),r=s.n(l),u=s(3),b=s.n(u),p=s(371),h=s(1295),g=s(1292),m=s(1303),j=s(959),k=s(234),M=s(4),O=s(18);const f=Object(M.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(M.g)(((a=class extends O.a{constructor(){super(...arguments),this.handleLoadMore=i()((()=>{this.props.dispatch(Object(k.h)())}),300,{leading:!0})}componentWillMount(){this.props.dispatch(Object(k.i)())}render(){const{intl:e,accountIds:o,hasMore:s,multiColumn:t,isLoading:a}=this.props;if(!o)return Object(n.a)(g.a,{},void 0,Object(n.a)(p.b,{}));const c=Object(n.a)(M.b,{id:"empty_column.blocks",defaultMessage:"You haven't blocked any users yet."});return Object(n.a)(g.a,{name:"blocks",bindToDocument:!t,icon:"ban",heading:e.formatMessage(f.heading)},void 0,Object(n.a)(m.a,{}),Object(n.a)(h.a,{scrollKey:"blocks",onLoadMore:this.handleLoadMore,hasMore:s,isLoading:a,emptyMessage:c,bindToDocument:!t},void 0,o.map((e=>Object(n.a)(j.a,{id:e,defaultAction:"block"},e)))))}}).propTypes={params:b.a.object.isRequired,dispatch:b.a.func.isRequired,accountIds:r.a.list,hasMore:b.a.bool,isLoading:b.a.bool,intl:b.a.object.isRequired,multiColumn:b.a.bool},t=a))||t)||t}}]);
//# sourceMappingURL=blocks-25c7518f8109ff8e7e03.chunk.js.map