if (self.CavalryLogger) { CavalryLogger.start_js(["S2dzb"]); }

__d("UFILiveTypingIndicator.react",["cx","fbt","Animation","MercuryTypingAnimation.react","OnVisible.react","React","ReactDOM","UFIImageBlock.react"],(function a(b,c,d,e,f,g,h,i){"use strict";__p&&__p();var j,k,l=c("React").Component;j=babelHelpers.inherits(m,l);k=j&&j.prototype;function m(n){k.constructor.call(this,n);this.state={friendTyping:n.friendTyping,isVisible:false}}m.prototype.componentDidMount=function(){this.$UFILiveTypingIndicator1(this.state,this.props)};m.prototype.componentWillReceiveProps=function(n){if(n.hasTyping)this.setState({friendTyping:n.friendTyping})};m.prototype.componentDidUpdate=function(n,o){this.$UFILiveTypingIndicator1(this.state,this.props)};m.prototype.$UFILiveTypingIndicator1=function(n,o){if(!n.isVisible)return;var p=c("ReactDOM").findDOMNode(this.refs.content);if(!p)return;if(o.hasTyping)new(c("Animation"))(p).show().to("marginTop",0).ease(c("Animation").ease.end).checkpoint(.5).to("opacity",1).go();else new(c("Animation"))(p).to("opacity",0).ease(c("Animation").ease.end).checkpoint(.25).to("marginTop",-32).hide().go()};m.prototype.render=function(){var n=this.props,o=this.state,p=o.friendTyping?i._("A friend is typing a comment..."):i._("Someone is typing a comment...");return c("React").createElement(c("OnVisible.react"),{onVisible:function(){return this.setState({isVisible:true})}.bind(this),onHidden:function(){return this.setState({isVisible:false})}.bind(this)},c("React").createElement("div",{className:"_j-l"},c("React").createElement("div",{ref:"content",className:"_353j UFIRow"+(n.isFirstCommentComponent?" _48pi":"")+(n.isLastCommentComponent?" UFILastCommentComponent":"")},c("React").createElement(c("UFIImageBlock.react"),{spacing:"medium"},c("React").createElement(c("MercuryTypingAnimation.react"),{className:"_79o"}),c("React").createElement("div",{className:"_79p"},p)))))};f.exports=m}),null);
__d("BootloadableMessengerContentSearchFunnelLogger.bs",[],(function a(b,c,d,e,f,g){"use strict";var h=[];g.bootloadable=h}),null);