1 (window
.webpackJsonp
=window
.webpackJsonp
||[]).push([[26],{732:function(t
,n
,e
){"use strict";e
.r(n
),e
.d(n
,"default",function(){return O
});var o
,i
=e(0),s
=e
.n(i
),a
=e(6),c
=e
.n(a
),r
=e(3),p
=e
.n(r
),h
=e(7),d
=e
.n(h
),l
=e(1),u
=e
.n(l
),m
=e(12),b
=e(88),f
=e(62),g
=e(60),v
=e(19),y
=e(113),M
=e(4),j
=e(63),O
=Object(m
.connect
)(function(t
,n
){return{hasUnread:t
.getIn(["timelines","hashtag:"+n
.params
.id
,"unread"])>0}})(o=function(t
){function n(){var e
,o
,i
;c()(this,n
);for(var s
=arguments
.length
,a
=Array(s
),r
=0;r
<s
;r
++)a
[r
]=arguments
[r
];return e
=o
=p()(this,t
.call
.apply(t
,[this].concat(a
))),o
.handlePin=function(){var t
=o
.props
,n
=t
.columnId
,e
=t
.dispatch
;e(n
?Object(y
.h
)(n
):Object(y
.e
)("HASHTAG",{id:o
.props
.params
.id
}))},o
.handleMove=function(t
){var n
=o
.props
,e
=n
.columnId
;(0,n
.dispatch
)(Object(y
.g
)(e
,t
))},o
.handleHeaderClick=function(){o
.column
.scrollTop()},o
.setRef=function(t
){o
.column
=t
},o
.handleLoadMore=function(t
){o
.props
.dispatch(Object(v
.o
)(o
.props
.params
.id
,{maxId:t
}))},i
=e
,p()(o
,i
)}return d()(n
,t
),n
.prototype._subscribe=function(t
,n
){this.disconnect
=t(Object(j
.c
)(n
))},n
.prototype._unsubscribe=function(){this.disconnect
&&(this.disconnect(),this.disconnect
=null)},n
.prototype.componentDidMount=function(){var t
=this.props
.dispatch
,n
=this.props
.params
.id
;t(Object(v
.o
)(n
)),this._subscribe(t
,n
)},n
.prototype.componentWillReceiveProps=function(t
){t
.params
.id
!==this.props
.params
.id
&&(this.props
.dispatch(Object(v
.o
)(t
.params
.id
)),this._unsubscribe(),this._subscribe(this.props
.dispatch
,t
.params
.id
))},n
.prototype.componentWillUnmount=function(){this._unsubscribe()},n
.prototype.render=function(){var t
=this.props
,n
=t
.shouldUpdateScroll
,e
=t
.hasUnread
,o
=t
.columnId
,i
=t
.multiColumn
,a
=this.props
.params
.id
,c
=!!o
;return u
.a
.createElement(f
.a
,{ref:this.setRef
,label:"#"+a
},s()(g
.a
,{icon:"hashtag",active:e
,title:a
,onPin:this.handlePin
,onMove:this.handleMove
,onClick:this.handleHeaderClick
,pinned:c
,multiColumn:i
,showBackButton:!0}),s()(b
.a
,{trackScroll:!c
,scrollKey:"hashtag_timeline-"+o
,timelineId:"hashtag:"+a
,onLoadMore:this.handleLoadMore
,emptyMessage:s()(M
.b
,{id:"empty_column.hashtag",defaultMessage:"There is nothing in this hashtag yet."}),shouldUpdateScroll:n
}))},n
}(u
.a
.PureComponent
))||o
}}]);
2 //# sourceMappingURL=hashtag_timeline.js.map