(window.webpackJsonp=window.webpackJsonp||[]).push([[87],{1096:function(t,e,s){"use strict";s.r(e),s.d(e,"default",(function(){return q}));var i,a,o=s(0),n=(s(1),s(12)),l=s(3),c=s.n(l),u=s(16),d=s.n(u),r=s(371),b=s(1292),p=s(1303),g=s(40),j=s(4),m=s(18),h=s(1369),O=s(1370),f=s(1432),w=s(39),y=s(1295);const M=Object(j.f)({heading:{id:"column.lists",defaultMessage:"Lists"},subheading:{id:"lists.subheading",defaultMessage:"Your lists"}}),v=Object(w.a)([t=>t.get("lists")],(t=>t?t.toList().filter((t=>!!t)).sort(((t,e)=>t.get("title").localeCompare(e.get("title")))):t));let q=Object(n.connect)((t=>({lists:v(t)})))(i=Object(j.g)(((a=class extends m.a{componentWillMount(){this.props.dispatch(Object(g.I)())}render(){const{intl:t,lists:e,multiColumn:s}=this.props;if(!e)return Object(o.a)(b.a,{},void 0,Object(o.a)(r.b,{}));const i=Object(o.a)(j.b,{id:"empty_column.lists",defaultMessage:"You don't have any lists yet. When you create one, it will show up here."});return Object(o.a)(b.a,{bindToDocument:!s,icon:"bars",heading:t.formatMessage(M.heading)},void 0,Object(o.a)(p.a,{}),Object(o.a)(f.a,{}),Object(o.a)(O.a,{text:t.formatMessage(M.subheading)}),Object(o.a)(y.a,{scrollKey:"lists",emptyMessage:i,bindToDocument:!s},void 0,e.map((t=>Object(o.a)(h.a,{to:"/lists/"+t.get("id"),icon:"list-ul",text:t.get("title")},t.get("id"))))))}}).propTypes={params:c.a.object.isRequired,dispatch:c.a.func.isRequired,lists:d.a.list,intl:c.a.object.isRequired,multiColumn:c.a.bool},i=a))||i)||i}}]);
//# sourceMappingURL=lists-44822de96497952b7d50.chunk.js.map