honkoma/priv/static/packs/features/community_timeline-20bc8a94...

2 lines
39 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

webpackJsonp([5],{155:function(t,e,n){function o(t){i.EventEmitter.call(this),this.backoffStrategy_=t,this.maxNumberOfRetry_=-1,this.backoffNumber_=0,this.backoffDelay_=0,this.timeoutID_=-1,this.handlers={backoff:this.onBackoff_.bind(this)}}var i=n(92),r=n(93);n(32).inherits(o,i.EventEmitter),o.prototype.failAfter=function(t){r.checkArgument(t>0,"Expected a maximum number of retry greater than 0 but got %s.",t),this.maxNumberOfRetry_=t},o.prototype.backoff=function(t){r.checkState(-1===this.timeoutID_,"Backoff in progress."),this.backoffNumber_===this.maxNumberOfRetry_?(this.emit("fail",t),this.reset()):(this.backoffDelay_=this.backoffStrategy_.next(),this.timeoutID_=setTimeout(this.handlers.backoff,this.backoffDelay_),this.emit("backoff",this.backoffNumber_,this.backoffDelay_,t))},o.prototype.onBackoff_=function(){this.timeoutID_=-1,this.emit("ready",this.backoffNumber_,this.backoffDelay_),this.backoffNumber_++},o.prototype.reset=function(){this.backoffNumber_=0,this.backoffStrategy_.reset(),clearTimeout(this.timeoutID_),this.timeoutID_=-1},t.exports=o},156:function(t,e,n){function o(t){return void 0!==t&&null!==t}function i(t){if(t=t||{},o(t.initialDelay)&&t.initialDelay<1)throw new Error("The initial timeout must be greater than 0.");if(o(t.maxDelay)&&t.maxDelay<1)throw new Error("The maximal timeout must be greater than 0.");if(this.initialDelay_=t.initialDelay||100,this.maxDelay_=t.maxDelay||1e4,this.maxDelay_<=this.initialDelay_)throw new Error("The maximal backoff delay must be greater than the initial backoff delay.");if(o(t.randomisationFactor)&&(t.randomisationFactor<0||t.randomisationFactor>1))throw new Error("The randomisation factor must be between 0 and 1.");this.randomisationFactor_=t.randomisationFactor||0}n(92),n(32);i.prototype.getMaxDelay=function(){return this.maxDelay_},i.prototype.getInitialDelay=function(){return this.initialDelay_},i.prototype.next=function(){var t=this.next_(),e=1+Math.random()*this.randomisationFactor_;return Math.round(t*e)},i.prototype.next_=function(){throw new Error("BackoffStrategy.next_() unimplemented.")},i.prototype.reset=function(){this.reset_()},i.prototype.reset_=function(){throw new Error("BackoffStrategy.reset_() unimplemented.")},t.exports=i},157:function(t,e,n){function o(t){r.call(this,t),this.backoffDelay_=0,this.nextBackoffDelay_=this.getInitialDelay()}var i=n(32),r=n(156);i.inherits(o,r),o.prototype.next_=function(){var t=Math.min(this.nextBackoffDelay_,this.getMaxDelay());return this.nextBackoffDelay_+=this.backoffDelay_,this.backoffDelay_=t,t},o.prototype.reset_=function(){this.nextBackoffDelay_=this.getInitialDelay(),this.backoffDelay_=0},t.exports=o},158:function(t,e,n){"use strict";var o=n(42),i=n.n(o),r=n(9),s=n(269),a=n(16),c=n(8),l=(n.n(c),n(96)),u=(n.n(l),n(18)),f=function(){return Object(l.createSelector)([function(t,e){var n=e.type;return t.getIn(["settings",n],Object(c.Map)())},function(t,e){var n=e.type;return t.getIn(["timelines",n,"items"],Object(c.List)())},function(t){return t.get("statuses")}],function(t,e,n){var o=t.getIn(["regex","body"],"").trim(),i=null;try{i=o&&new RegExp(o,"i")}catch(t){}return e.filter(function(e){var o=n.get(e),r=!0;if(!1===t.getIn(["shows","reblog"])&&(r=r&&null===o.get("reblog")),!1===t.getIn(["shows","reply"])&&(r=r&&(null===o.get("in_reply_to_id")||o.get("in_reply_to_account_id")===u.e)),r&&i&&o.get("account")!==u.e){var s=o.get("reblog")?n.getIn([o.get("reblog"),"search_index"]):o.get("search_index");r=!i.test(s)}return r})})},h=function(){var t=f();return function(e,n){var o=n.timelineId;return{statusIds:t(e,{type:o}),isLoading:e.getIn(["timelines",o,"isLoading"],!0),hasMore:!!e.getIn(["timelines",o,"next"])}}},p=function(t,e){var n=e.timelineId,o=e.loadMore;return{onScrollToBottom:i()(function(){t(Object(a.B)(n,!1)),o()},300,{leading:!0}),onScrollToTop:i()(function(){t(Object(a.B)(n,!0))},100),onScroll:i()(function(){t(Object(a.B)(n,!1))},100)}};e.a=Object(r.connect)(h,p)(s.a)},260:function(t,e,n){"use strict";n.d(e,"a",function(){return g});var o,i,r=n(2),s=n.n(r),a=n(1),c=n.n(a),l=n(3),u=n.n(l),f=n(4),h=n.n(f),p=n(0),d=n.n(p),y=n(6),g=(i=o=function(t){function e(){return c()(this,e),u()(this,t.apply(this,arguments))}return h()(e,t),e.prototype.render=function(){var t=this.props.visible;return s()("button",{className:"load-more",disabled:!t,style:{visibility:t?"visible":"hidden"},onClick:this.props.onClick},void 0,s()(y.b,{id:"status.load_more",defaultMessage:"Load more"}))},e}(d.a.PureComponent),o.defaultProps={visible:!0},i)},261:function(t,e,n){"use strict";var o=n(2),i=n.n(o),r=n(0),s=(n.n(r),n(9)),a=n(153),c=n(69),l=n(15),u=n(43),f=n(22),h=n(57),p=n(151),d=n(31),y=n(6),g=n(18),b=Object(y.f)({deleteConfirm:{id:"confirmations.delete.confirm",defaultMessage:"Delete"},deleteMessage:{id:"confirmations.delete.message",defaultMessage:"Are you sure you want to delete this status?"},blockConfirm:{id:"confirmations.block.confirm",defaultMessage:"Block"},muteConfirm:{id:"confirmations.mute.confirm",defaultMessage:"Mute"}}),m=function(){var t=Object(c.e)();return function(e,n){return{status:t(e,n.id)}}},v=function(t,e){var n=e.intl;return{onReply:function(e,n){t(Object(l.O)(e,n))},onModalReblog:function(e){t(Object(u.q)(e))},onReblog:function(e,n){e.get("reblogged")?t(Object(u.t)(e)):n.shiftKey||!g.b?this.onModalReblog(e):t(Object(d.d)("BOOST",{status:e,onReblog:this.onModalReblog}))},onFavourite:function(e){t(e.get("favourited")?Object(u.r)(e):Object(u.m)(e))},onPin:function(e){t(e.get("pinned")?Object(u.s)(e):Object(u.p)(e))},onEmbed:function(e){t(Object(d.d)("EMBED",{url:e.get("url")}))},onDelete:function(e){t(g.d?Object(d.d)("CONFIRM",{message:n.formatMessage(b.deleteMessage),confirm:n.formatMessage(b.deleteConfirm),onConfirm:function(){return t(Object(h.e)(e.get("id")))}}):Object(h.e)(e.get("id")))},onMention:function(e,n){t(Object(l.M)(e,n))},onOpenMedia:function(e,n){t(Object(d.d)("MEDIA",{media:e,index:n}))},onOpenVideo:function(e,n){t(Object(d.d)("VIDEO",{media:e,time:n}))},onBlock:function(e){t(Object(d.d)("CONFIRM",{message:i()(y.b,{id:"confirmations.block.message",defaultMessage:"Are you sure you want to block {name}?",values:{name:i()("strong",{},void 0,"@",e.get("acct"))}}),confirm:n.formatMessage(b.blockConfirm),onConfirm:function(){return t(Object(f.r)(e.get("id")))}}))},onReport:function(e){t(Object(p.i)(e.get("account"),e))},onMute:function(e){t(Object(d.d)("CONFIRM",{message:i()(y.b,{id:"confirmations.mute.message",defaultMessage:"Are you sure you want to mute {name}?",values:{name:i()("strong",{},void 0,"@",e.get("acct"))}}),confirm:n.formatMessage(b.muteConfirm),onConfirm:function(){return t(Object(f.B)(e.get("id")))}}))},onMuteConversation:function(e){t(e.get("muted")?Object(h.h)(e.get("id")):Object(h.g)(e.get("id")))}}};e.a=Object(y.g)(Object(s.connect)(m,v)(a.a))},262:function(t,e,n){"use strict";n.d(e,"a",function(){return M});var o,i,r=n(2),s=n.n(r),a=n(1),c=n.n(a),l=n(3),u=n.n(l),f=n(4),h=n.n(f),p=n(94),d=n.n(p),y=n(0),g=n.n(y),b=n(152),m=n(5),v=n.n(m),_=n(263),k=n(260),O=n(268),x=n(8),E=(n.n(x),n(10)),S=n.n(E),C=n(154),M=(i=o=function(t){function e(){var n,o,i;c()(this,e);for(var r=arguments.length,s=Array(r),a=0;a<r;a++)s[a]=arguments[a];return n=o=u()(this,t.call.apply(t,[this].concat(s))),o.state={lastMouseMove:null},o.intersectionObserverWrapper=new O.a,o.handleScroll=d()(function(){if(o.node){var t=o.node,e=t.scrollTop,n=t.scrollHeight,i=t.clientHeight,r=n-e-i;o._oldScrollPosition=n-e,400>r&&o.props.onScrollToBottom&&!o.props.isLoading?o.props.onScrollToBottom():e<100&&o.props.onScrollToTop?o.props.onScrollToTop():o.props.onScroll&&o.props.onScroll()}},150,{trailing:!0}),o.handleMouseMove=d()(function(){o._lastMouseMove=new Date},300),o.handleMouseLeave=function(){o._lastMouseMove=null},o.onFullScreenChange=function(){o.setState({fullscreen:Object(C.d)()})},o.setRef=function(t){o.node=t},o.handleLoadMore=function(t){t.preventDefault(),o.props.onScrollToBottom()},i=n,u()(o,i)}return h()(e,t),e.prototype.componentDidMount=function(){this.attachScrollListener(),this.attachIntersectionObserver(),Object(C.a)(this.onFullScreenChange),this.handleScroll()},e.prototype.componentDidUpdate=function(t){if(g.a.Children.count(t.children)>0&&g.a.Children.count(t.children)<g.a.Children.count(this.props.children)&&this.getFirstChildKey(t)!==this.getFirstChildKey(this.props)&&this._oldScrollPosition&&this.node.scrollTop>0){var e=this.node.scrollHeight-this._oldScrollPosition;this.node.scrollTop!==e&&(this.node.scrollTop=e)}else this._oldScrollPosition=this.node.scrollHeight-this.node.scrollTop},e.prototype.componentWillUnmount=function(){this.detachScrollListener(),this.detachIntersectionObserver(),Object(C.b)(this.onFullScreenChange)},e.prototype.attachIntersectionObserver=function(){this.intersectionObserverWrapper.connect({root:this.node,rootMargin:"300% 0px"})},e.prototype.detachIntersectionObserver=function(){this.intersectionObserverWrapper.disconnect()},e.prototype.attachScrollListener=function(){this.node.addEventListener("scroll",this.handleScroll)},e.prototype.detachScrollListener=function(){this.node.removeEventListener("scroll",this.handleScroll)},e.prototype.getFirstChildKey=function(t){var e=t.children,n=e;return e instanceof x.List?n=e.get(0):Array.isArray(e)&&(n=e[0]),n&&n.key},e.prototype._recentlyMoved=function(){return null!==this._lastMouseMove&&new Date-this._lastMouseMove<600},e.prototype.render=function(){var t=this,e=this.props,n=e.children,o=e.scrollKey,i=e.trackScroll,r=e.shouldUpdateScroll,a=e.isLoading,c=e.hasMore,l=e.prepend,u=e.emptyMessage,f=this.state.fullscreen,h=g.a.Children.count(n),p=c&&h>0?s()(k.a,{visible:!a,onClick:this.handleLoadMore}):null,d=null;return d=a||h>0||!u?g.a.createElement("div",{className:S()("scrollable",{fullscreen:f}),ref:this.setRef,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave},s()("div",{role:"feed",className:"item-list"},void 0,l,g.a.Children.map(this.props.children,function(e,n){return s()(_.a,{id:e.key,index:n,listLength:h,intersectionObserverWrapper:t.intersectionObserverWrapper,saveHeightKey:i?t.context.router.route.location.key+":"+o:null},e.key,e)}),p)):g.a.createElement("div",{className:"empty-column-indicator",ref:this.setRef},u),i?s()(b.a,{scrollKey:o,shouldUpdateScroll:r},void 0,d):d},e}(y.PureComponent),o.contextTypes={router:v.a.object},o.defaultProps={trackScroll:!0},i)},263:function(t,e,n){"use strict";var o=n(9),i=n(264),r=n(95),s=function(t,e){return{cachedHeight:t.getIn(["height_cache",e.saveHeightKey,e.id])}},a=function(t){return{onHeightChange:function(e,n,o){t(Object(r.d)(e,n,o))}}};e.a=Object(o.connect)(s,a)(i.a)},264:function(t,e,n){"use strict";n.d(e,"a",function(){return g});var o=n(1),i=n.n(o),r=n(3),s=n.n(r),a=n(4),c=n.n(a),l=n(0),u=n.n(l),f=n(265),h=n(267),p=n(8),d=(n.n(p),["id","index","listLength"]),y=["id","index","listLength","cachedHeight"],g=function(t){function e(){var n,o,r;i()(this,e);for(var a=arguments.length,c=Array(a),l=0;l<a;l++)c[l]=arguments[l];return n=o=s()(this,t.call.apply(t,[this].concat(c))),o.state={isHidden:!1},o.handleIntersection=function(t){o.entry=t,Object(f.a)(o.calculateHeight),o.setState(o.updateStateAfterIntersection)},o.updateStateAfterIntersection=function(t){return t.isIntersecting&&!o.entry.isIntersecting&&Object(f.a)(o.hideIfNotIntersecting),{isIntersecting:o.entry.isIntersecting,isHidden:!1}},o.calculateHeight=function(){var t=o.props,e=t.onHeightChange,n=t.saveHeightKey,i=t.id;o.height=Object(h.a)(o.entry).height,e&&n&&e(n,i,o.height)},o.hideIfNotIntersecting=function(){o.componentMounted&&o.setState(function(t){return{isHidden:!t.isIntersecting}})},o.handleRef=function(t){o.node=t},r=n,s()(o,r)}return c()(e,t),e.prototype.shouldComponentUpdate=function(t,e){var n=this,o=!this.state.isIntersecting&&(this.state.isHidden||this.props.cachedHeight);return!!o!=!(e.isIntersecting||!e.isHidden&&!t.cachedHeight)||!(o?y:d).every(function(e){return Object(p.is)(t[e],n.props[e])})},e.prototype.componentDidMount=function(){var t=this.props,e=t.intersectionObserverWrapper,n=t.id;e.observe(n,this.node,this.handleIntersection),this.componentMounted=!0},e.prototype.componentWillUnmount=function(){var t=this.props,e=t.intersectionObserverWrapper,n=t.id;e.unobserve(n,this.node),this.componentMounted=!1},e.prototype.render=function(){var t=this.props,e=t.children,n=t.id,o=t.index,i=t.listLength,r=t.cachedHeight,s=this.state,a=s.isIntersecting,c=s.isHidden;return a||!c&&!r?u.a.createElement("article",{ref:this.handleRef,"aria-posinset":o,"aria-setsize":i,"data-id":n,tabIndex:"0"},e&&u.a.cloneElement(e,{hidden:!1})):u.a.createElement("article",{ref:this.handleRef,"aria-posinset":o,"aria-setsize":i,style:{height:(this.height||r)+"px",opacity:0,overflow:"hidden"},"data-id":n,tabIndex:"0"},e&&u.a.cloneElement(e,{hidden:!0}))},e}(u.a.Component)},265:function(t,e,n){"use strict";function o(t){for(;a.length&&t.timeRemaining()>0;)a.shift()();a.length?requestIdleCallback(o):c=!1}function i(t){a.push(t),c||(c=!0,requestIdleCallback(o))}var r=n(266),s=n.n(r),a=new s.a,c=!1;e.a=i},266:function(t,e,n){"use strict";function o(){this.length=0}o.prototype.push=function(t){var e={item:t};this.last?this.last=this.last.next=e:this.last=this.first=e,this.length++},o.prototype.shift=function(){var t=this.first;if(t)return this.first=t.next,--this.length||(this.last=void 0),t.item},o.prototype.slice=function(t,e){t=void 0===t?0:t,e=void 0===e?1/0:e;for(var n=[],o=0,i=this.first;i&&!(--e<0);i=i.next)++o>t&&n.push(i.item);return n},t.exports=o},267:function(t,e,n){"use strict";function o(t){if("boolean"!=typeof i){var e=t.target.getBoundingClientRect(),n=t.boundingClientRect;i=e.height!==n.height||e.top!==n.top||e.width!==n.width||e.bottom!==n.bottom||e.left!==n.left||e.right!==n.right}return i?t.target.getBoundingClientRect():t.boundingClientRect}var i=void 0;e.a=o},268:function(t,e,n){"use strict";var o=n(1),i=n.n(o),r=function(){function t(){i()(this,t),this.callbacks={},this.observerBacklog=[],this.observer=null}return t.prototype.connect=function(t){var e=this,n=function(t){t.forEach(function(t){var n=t.target.getAttribute("data-id");e.callbacks[n]&&e.callbacks[n](t)})};this.observer=new IntersectionObserver(n,t),this.observerBacklog.forEach(function(t){var n=t[0],o=t[1],i=t[2];e.observe(n,o,i)}),this.observerBacklog=null},t.prototype.observe=function(t,e,n){this.observer?(this.callbacks[t]=n,this.observer.observe(e)):this.observerBacklog.push([t,e,n])},t.prototype.unobserve=function(t,e){this.observer&&(delete this.callbacks[t],this.observer.unobserve(e))},t.prototype.disconnect=function(){this.observer&&(this.callbacks={},this.observer.disconnect(),this.observer=null)},t}();e.a=r},269:function(t,e,n){"use strict";n.d(e,"a",function(){return M});var o,i,r=n(28),s=n.n(r),a=n(2),c=n.n(a),l=n(29),u=n.n(l),f=n(1),h=n.n(f),p=n(3),d=n.n(p),y=n(4),g=n.n(y),b=n(0),m=n.n(b),v=n(12),_=n.n(v),k=n(5),O=n.n(k),x=n(261),E=n(11),S=n.n(E),C=n(262),M=(i=o=function(t){function e(){var n,o,i;h()(this,e);for(var r=arguments.length,s=Array(r),a=0;a<r;a++)s[a]=arguments[a];return n=o=d()(this,t.call.apply(t,[this].concat(s))),o.handleMoveUp=function(t){var e=o.props.statusIds.indexOf(t)-1;o._selectChild(e)},o.handleMoveDown=function(t){var e=o.props.statusIds.indexOf(t)+1;o._selectChild(e)},o.setRef=function(t){o.node=t},i=n,d()(o,i)}return g()(e,t),e.prototype._selectChild=function(t){var e=this.node.node.querySelector("article:nth-of-type("+(t+1)+") .focusable");e&&e.focus()},e.prototype.render=function(){var t=this,e=this.props,n=e.statusIds,o=u()(e,["statusIds"]),i=o.isLoading,r=i||n.size>0?n.map(function(e){return c()(x.a,{id:e,onMoveUp:t.handleMoveUp,onMoveDown:t.handleMoveDown},e)}):null;return m.a.createElement(C.a,s()({},o,{ref:this.setRef}),r)},e}(S.a),o.propTypes={scrollKey:O.a.string.isRequired,statusIds:_.a.list.isRequired,onScrollToBottom:O.a.func,onScrollToTop:O.a.func,onScroll:O.a.func,trackScroll:O.a.bool,shouldUpdateScroll:O.a.func,isLoading:O.a.bool,hasMore:O.a.bool,prepend:O.a.node,emptyMessage:O.a.node},o.defaultProps={trackScroll:!0},i)},274:function(t,e,n){"use strict";function o(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return function(o,i){var c=i().getIn(["meta","streaming_api_base_url"]),l=i().getIn(["meta","access_token"]),f=i().getIn(["meta","locale"]),h=null,p=function(){h=setInterval(function(){n(o)},2e4)},d=function(){h&&(clearInterval(h),h=null)},y=Object(r.a)(c,l,e,{connected:function(){n&&d(),o(Object(s.m)(t))},disconnected:function(){n&&p(),o(Object(s.o)(t))},received:function(e){switch(e.event){case"update":o(Object(s.C)(t,JSON.parse(e.payload)));break;case"delete":o(Object(s.n)(e.payload));break;case"notification":o(Object(a.n)(JSON.parse(e.payload),u,f))}},reconnected:function(){n&&(d(),n(o)),o(Object(s.m)(t))}});return function(){y&&y.close(),d()}}}function i(t){t(Object(s.z)()),t(Object(a.l)())}n.d(e,"d",function(){return f}),n.d(e,"a",function(){return h}),n.d(e,"c",function(){return p}),n.d(e,"b",function(){return d});var r=n(275),s=n(16),a=n(45),c=n(7),l=Object(c.getLocale)(),u=l.messages,f=function(){return o("home","user",i)},h=function(){return o("community","public:local")},p=function(){return o("public","public")},d=function(t){return o("hashtag:"+t,"hashtag&tag="+t)}},275:function(t,e,n){"use strict";function o(t,e,n,o){var i=o.connected,s=o.received,a=o.disconnected,c=o.reconnected,l=new r.a(t+"/api/v1/streaming/?access_token="+e+"&stream="+n);return l.onopen=i,l.onmessage=function(t){return s(JSON.parse(t.data))},l.onclose=a,l.onreconnect=c,l}e.a=o;var i=n(276),r=n.n(i)},276:function(t,e,n){"use strict";function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),r=n(277),s=function(){function t(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};o(this,t),this.url=e,this.protocols=n,this.reconnectEnabled=!0,this.listeners={},this.backoff=r[i.backoff||"fibonacci"](i),this.backoff.on("backoff",this.onBackoffStart.bind(this)),this.backoff.on("ready",this.onBackoffReady.bind(this)),this.backoff.on("fail",this.onBackoffFail.bind(this)),this.open()}return i(t,[{key:"open",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.isReconnect=t,this.ws=new WebSocket(this.url,this.protocols),this.ws.onclose=this.onCloseCallback.bind(this),this.ws.onerror=this.onErrorCallback.bind(this),this.ws.onmessage=this.onMessageCallback.bind(this),this.ws.onopen=this.onOpenCallback.bind(this)}},{key:"onBackoffStart",value:function(t,e){}},{key:"onBackoffReady",value:function(t,e){this.open(!0)}},{key:"onBackoffFail",value:function(){}},{key:"onCloseCallback",value:function(){!this.isReconnect&&this.listeners.onclose&&this.listeners.onclose.apply(null,arguments),this.reconnectEnabled&&this.backoff.backoff()}},{key:"onErrorCallback",value:function(){this.listeners.onerror&&this.listeners.onerror.apply(null,arguments)}},{key:"onMessageCallback",value:function(){this.listeners.onmessage&&this.listeners.onmessage.apply(null,arguments)}},{key:"onOpenCallback",value:function(){this.listeners.onopen&&this.listeners.onopen.apply(null,arguments),this.isReconnect&&this.listeners.onreconnect&&this.listeners.onreconnect.apply(null,arguments),this.isReconnect=!1}},{key:"close",value:function(t,e){void 0===t&&(t=1e3),this.reconnectEnabled=!1,this.ws.close(t,e)}},{key:"send",value:function(t){this.ws.send(t)}},{key:"bufferedAmount",get:function(){return this.ws.bufferedAmount}},{key:"readyState",get:function(){return this.ws.readyState}},{key:"binaryType",get:function(){return this.ws.binaryType},set:function(t){this.ws.binaryType=t}},{key:"extensions",get:function(){return this.ws.extensions},set:function(t){this.ws.extensions=t}},{key:"protocol",get:function(){return this.ws.protocol},set:function(t){this.ws.protocol=t}},{key:"onclose",set:function(t){this.listeners.onclose=t},get:function(){return this.listeners.onclose}},{key:"onerror",set:function(t){this.listeners.onerror=t},get:function(){return this.listeners.onerror}},{key:"onmessage",set:function(t){this.listeners.onmessage=t},get:function(){return this.listeners.onmessage}},{key:"onopen",set:function(t){this.listeners.onopen=t},get:function(){return this.listeners.onopen}},{key:"onreconnect",set:function(t){this.listeners.onreconnect=t},get:function(){return this.listeners.onreconnect}}]),t}();s.CONNECTING=WebSocket.CONNECTING,s.OPEN=WebSocket.OPEN,s.CLOSING=WebSocket.CLOSING,s.CLOSED=WebSocket.CLOSED,e.default=s},277:function(t,e,n){var o=n(155),i=n(282),r=n(157),s=n(283);t.exports.Backoff=o,t.exports.FunctionCall=s,t.exports.FibonacciStrategy=r,t.exports.ExponentialStrategy=i,t.exports.fibonacci=function(t){return new o(new r(t))},t.exports.exponential=function(t){return new o(new i(t))},t.exports.call=function(t,e,n){var o=Array.prototype.slice.call(arguments);return t=o[0],e=o.slice(1,o.length-1),n=o[o.length-1],new s(t,e,n)}},278:function(t,e,n){function o(t,e,n,o){n=n||"";var i=c.format.apply(this,[n].concat(o)),r=new t(i);throw Error.captureStackTrace(r,e),r}function i(t,e,n){o(l.IllegalArgumentError,t,e,n)}function r(t,e,n){o(l.IllegalStateError,t,e,n)}function s(t){var e=typeof t;if("object"==e){if(!t)return"null";if(t instanceof Array)return"array"}return e}function a(t){return function(e,n){var o=s(e);if(o==t)return e;i(arguments.callee,n||'Expected "'+t+'" but got "'+o+'".',Array.prototype.slice.call(arguments,2))}}var c=n(32),l=t.exports=n(281);t.exports.checkArgument=function(t,e){t||i(arguments.callee,e,Array.prototype.slice.call(arguments,2))},t.exports.checkState=function(t,e){t||r(arguments.callee,e,Array.prototype.slice.call(arguments,2))},t.exports.checkIsDef=function(t,e){if(void 0!==t)return t;i(arguments.callee,e||"Expected value to be defined but was undefined.",Array.prototype.slice.call(arguments,2))},t.exports.checkIsDefAndNotNull=function(t,e){if(null!=t)return t;i(arguments.callee,e||'Expected value to be defined and not null but got "'+s(t)+'".',Array.prototype.slice.call(arguments,2))},t.exports.checkIsString=a("string"),t.exports.checkIsArray=a("array"),t.exports.checkIsNumber=a("number"),t.exports.checkIsBoolean=a("boolean"),t.exports.checkIsFunction=a("function"),t.exports.checkIsObject=a("object")},279:function(t,e){t.exports=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},280:function(t,e){"function"==typeof Object.create?t.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}},281:function(t,e,n){function o(t){Error.call(this,t),this.message=t}function i(t){Error.call(this,t),this.message=t}var r=n(32);r.inherits(o,Error),o.prototype.name="IllegalArgumentError",r.inherits(i,Error),i.prototype.name="IllegalStateError",t.exports.IllegalStateError=i,t.exports.IllegalArgumentError=o},282:function(t,e,n){function o(t){s.call(this,t),this.backoffDelay_=0,this.nextBackoffDelay_=this.getInitialDelay(),this.factor_=o.DEFAULT_FACTOR,t&&void 0!==t.factor&&(r.checkArgument(t.factor>1,"Exponential factor should be greater than 1 but got %s.",t.factor),this.factor_=t.factor)}var i=n(32),r=n(93),s=n(156);i.inherits(o,s),o.DEFAULT_FACTOR=2,o.prototype.next_=function(){return this.backoffDelay_=Math.min(this.nextBackoffDelay_,this.getMaxDelay()),this.nextBackoffDelay_=this.backoffDelay_*this.factor_,this.backoffDelay_},o.prototype.reset_=function(){this.backoffDelay_=0,this.nextBackoffDelay_=this.getInitialDelay()},t.exports=o},283:function(t,e,n){function o(t,e,n){i.EventEmitter.call(this),r.checkIsFunction(t,"Expected fn to be a function."),r.checkIsArray(e,"Expected args to be an array."),r.checkIsFunction(n,"Expected callback to be a function."),this.function_=t,this.arguments_=e,this.callback_=n,this.lastResult_=[],this.numRetries_=0,this.backoff_=null,this.strategy_=null,this.failAfter_=-1,this.retryPredicate_=o.DEFAULT_RETRY_PREDICATE_,this.state_=o.State_.PENDING}var i=n(92),r=n(93),s=n(32),a=n(155),c=n(157);s.inherits(o,i.EventEmitter),o.State_={PENDING:0,RUNNING:1,COMPLETED:2,ABORTED:3},o.DEFAULT_RETRY_PREDICATE_=function(t){return!0},o.prototype.isPending=function(){return this.state_==o.State_.PENDING},o.prototype.isRunning=function(){return this.state_==o.State_.RUNNING},o.prototype.isCompleted=function(){return this.state_==o.State_.COMPLETED},o.prototype.isAborted=function(){return this.state_==o.State_.ABORTED},o.prototype.setStrategy=function(t){return r.checkState(this.isPending(),"FunctionCall in progress."),this.strategy_=t,this},o.prototype.retryIf=function(t){return r.checkState(this.isPending(),"FunctionCall in progress."),this.retryPredicate_=t,this},o.prototype.getLastResult=function(){return this.lastResult_.concat()},o.prototype.getNumRetries=function(){return this.numRetries_},o.prototype.failAfter=function(t){return r.checkState(this.isPending(),"FunctionCall in progress."),this.failAfter_=t,this},o.prototype.abort=function(){this.isCompleted()||this.isAborted()||(this.isRunning()&&this.backoff_.reset(),this.state_=o.State_.ABORTED,this.lastResult_=[new Error("Backoff aborted.")],this.emit("abort"),this.doCallback_())},o.prototype.start=function(t){r.checkState(!this.isAborted(),"FunctionCall is aborted."),r.checkState(this.isPending(),"FunctionCall already started.");var e=this.strategy_||new c;this.backoff_=t?t(e):new a(e),this.backoff_.on("ready",this.doCall_.bind(this,!0)),this.backoff_.on("fail",this.doCallback_.bind(this)),this.backoff_.on("backoff",this.handleBackoff_.bind(this)),this.failAfter_>0&&this.backoff_.failAfter(this.failAfter_),this.state_=o.State_.RUNNING,this.doCall_(!1)},o.prototype.doCall_=function(t){t&&this.numRetries_++;var e=["call"].concat(this.arguments_);i.EventEmitter.prototype.emit.apply(this,e);var n=this.handleFunctionCallback_.bind(this);this.function_.apply(null,this.arguments_.concat(n))},o.prototype.doCallback_=function(){this.callback_.apply(null,this.lastResult_)},o.prototype.handleFunctionCallback_=function(){if(!this.isAborted()){var t=Array.prototype.slice.call(arguments);this.lastResult_=t,i.EventEmitter.prototype.emit.apply(this,["callback"].concat(t));var e=t[0];e&&this.retryPredicate_(e)?this.backoff_.backoff(e):(this.state_=o.State_.COMPLETED,this.doCallback_())}},o.prototype.handleBackoff_=function(t,e,n){this.emit("backoff",t,e,n)},t.exports=o},32:function(t,e,n){(function(t,o){function i(t,n){var o={seen:[],stylize:s};return arguments.length>=3&&(o.depth=arguments[2]),arguments.length>=4&&(o.colors=arguments[3]),y(n)?o.showHidden=n:n&&e._extend(o,n),k(o.showHidden)&&(o.showHidden=!1),k(o.depth)&&(o.depth=2),k(o.colors)&&(o.colors=!1),k(o.customInspect)&&(o.customInspect=!0),o.colors&&(o.stylize=r),c(o,t,o.depth)}function r(t,e){var n=i.styles[e];return n?"["+i.colors[n][0]+"m"+t+"["+i.colors[n][1]+"m":t}function s(t,e){return t}function a(t){var e={};return t.forEach(function(t,n){e[t]=!0}),e}function c(t,n,o){if(t.customInspect&&n&&C(n.inspect)&&n.inspect!==e.inspect&&(!n.constructor||n.constructor.prototype!==n)){var i=n.inspect(o,t);return v(i)||(i=c(t,i,o)),i}var r=l(t,n);if(r)return r;var s=Object.keys(n),y=a(s);if(t.showHidden&&(s=Object.getOwnPropertyNames(n)),S(n)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return u(n);if(0===s.length){if(C(n)){var g=n.name?": "+n.name:"";return t.stylize("[Function"+g+"]","special")}if(O(n))return t.stylize(RegExp.prototype.toString.call(n),"regexp");if(E(n))return t.stylize(Date.prototype.toString.call(n),"date");if(S(n))return u(n)}var b="",m=!1,_=["{","}"];if(d(n)&&(m=!0,_=["[","]"]),C(n)){b=" [Function"+(n.name?": "+n.name:"")+"]"}if(O(n)&&(b=" "+RegExp.prototype.toString.call(n)),E(n)&&(b=" "+Date.prototype.toUTCString.call(n)),S(n)&&(b=" "+u(n)),0===s.length&&(!m||0==n.length))return _[0]+b+_[1];if(o<0)return O(n)?t.stylize(RegExp.prototype.toString.call(n),"regexp"):t.stylize("[Object]","special");t.seen.push(n);var k;return k=m?f(t,n,o,y,s):s.map(function(e){return h(t,n,o,y,e,m)}),t.seen.pop(),p(k,b,_)}function l(t,e){if(k(e))return t.stylize("undefined","undefined");if(v(e)){var n="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(n,"string")}return m(e)?t.stylize(""+e,"number"):y(e)?t.stylize(""+e,"boolean"):g(e)?t.stylize("null","null"):void 0}function u(t){return"["+Error.prototype.toString.call(t)+"]"}function f(t,e,n,o,i){for(var r=[],s=0,a=e.length;s<a;++s)D(e,String(s))?r.push(h(t,e,n,o,String(s),!0)):r.push("");return i.forEach(function(i){i.match(/^\d+$/)||r.push(h(t,e,n,o,i,!0))}),r}function h(t,e,n,o,i,r){var s,a,l;if(l=Object.getOwnPropertyDescriptor(e,i)||{value:e[i]},l.get?a=l.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):l.set&&(a=t.stylize("[Setter]","special")),D(o,i)||(s="["+i+"]"),a||(t.seen.indexOf(l.value)<0?(a=g(n)?c(t,l.value,null):c(t,l.value,n-1),a.indexOf("\n")>-1&&(a=r?a.split("\n").map(function(t){return" "+t}).join("\n").substr(2):"\n"+a.split("\n").map(function(t){return" "+t}).join("\n"))):a=t.stylize("[Circular]","special")),k(s)){if(r&&i.match(/^\d+$/))return a;s=JSON.stringify(""+i),s.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=t.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=t.stylize(s,"string"))}return s+": "+a}function p(t,e,n){var o=0;return t.reduce(function(t,e){return o++,e.indexOf("\n")>=0&&o++,t+e.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?n[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+n[1]:n[0]+e+" "+t.join(", ")+" "+n[1]}function d(t){return Array.isArray(t)}function y(t){return"boolean"==typeof t}function g(t){return null===t}function b(t){return null==t}function m(t){return"number"==typeof t}function v(t){return"string"==typeof t}function _(t){return"symbol"==typeof t}function k(t){return void 0===t}function O(t){return x(t)&&"[object RegExp]"===I(t)}function x(t){return"object"==typeof t&&null!==t}function E(t){return x(t)&&"[object Date]"===I(t)}function S(t){return x(t)&&("[object Error]"===I(t)||t instanceof Error)}function C(t){return"function"==typeof t}function M(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t}function I(t){return Object.prototype.toString.call(t)}function j(t){return t<10?"0"+t.toString(10):t.toString(10)}function w(){var t=new Date,e=[j(t.getHours()),j(t.getMinutes()),j(t.getSeconds())].join(":");return[t.getDate(),N[t.getMonth()],e].join(" ")}function D(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var R=/%[sdj%]/g;e.format=function(t){if(!v(t)){for(var e=[],n=0;n<arguments.length;n++)e.push(i(arguments[n]));return e.join(" ")}for(var n=1,o=arguments,r=o.length,s=String(t).replace(R,function(t){if("%%"===t)return"%";if(n>=r)return t;switch(t){case"%s":return String(o[n++]);case"%d":return Number(o[n++]);case"%j":try{return JSON.stringify(o[n++])}catch(t){return"[Circular]"}default:return t}}),a=o[n];n<r;a=o[++n])g(a)||!x(a)?s+=" "+a:s+=" "+i(a);return s},e.deprecate=function(n,i){function r(){if(!s){if(o.throwDeprecation)throw new Error(i);o.traceDeprecation?console.trace(i):console.error(i),s=!0}return n.apply(this,arguments)}if(k(t.process))return function(){return e.deprecate(n,i).apply(this,arguments)};if(!0===o.noDeprecation)return n;var s=!1;return r};var A,L={};e.debuglog=function(t){if(k(A)&&(A=o.env.NODE_DEBUG||""),t=t.toUpperCase(),!L[t])if(new RegExp("\\b"+t+"\\b","i").test(A)){var n=o.pid;L[t]=function(){var o=e.format.apply(e,arguments);console.error("%s %d: %s",t,n,o)}}else L[t]=function(){};return L[t]},e.inspect=i,i.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},i.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.isArray=d,e.isBoolean=y,e.isNull=g,e.isNullOrUndefined=b,e.isNumber=m,e.isString=v,e.isSymbol=_,e.isUndefined=k,e.isRegExp=O,e.isObject=x,e.isDate=E,e.isError=S,e.isFunction=C,e.isPrimitive=M,e.isBuffer=n(279);var N=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];e.log=function(){console.log("%s - %s",w(),e.format.apply(e,arguments))},e.inherits=n(280),e._extend=function(t,e){if(!e||!x(e))return t;for(var n=Object.keys(e),o=n.length;o--;)t[n[o]]=e[n[o]];return t}}).call(e,n(44),n(34))},756:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"default",function(){return C});var o,i,r=n(2),s=n.n(r),a=n(1),c=n.n(a),l=n(3),u=n.n(l),f=n(4),h=n.n(f),p=n(0),d=n.n(p),y=n(9),g=n(158),b=n(99),m=n(98),v=n(16),_=n(273),k=n(6),O=n(891),x=n(274),E=Object(k.f)({title:{id:"column.community",defaultMessage:"Local timeline"}}),S=function(t){return{hasUnread:t.getIn(["timelines","community","unread"])>0}},C=(o=Object(y.connect)(S))(i=Object(k.g)(i=function(t){function e(){var n,o,i;c()(this,e);for(var r=arguments.length,s=Array(r),a=0;a<r;a++)s[a]=arguments[a];return n=o=u()(this,t.call.apply(t,[this].concat(s))),o.handlePin=function(){var t=o.props,e=t.columnId,n=t.dispatch;n(e?Object(_.f)(e):Object(_.d)("COMMUNITY",{}))},o.handleMove=function(t){var e=o.props,n=e.columnId;(0,e.dispatch)(Object(_.e)(n,t))},o.handleHeaderClick=function(){o.column.scrollTop()},o.setRef=function(t){o.column=t},o.handleLoadMore=function(){o.props.dispatch(Object(v.r)())},i=n,u()(o,i)}return h()(e,t),e.prototype.componentDidMount=function(){var t=this.props.dispatch;t(Object(v.x)()),this.disconnect=t(Object(x.a)())},e.prototype.componentWillUnmount=function(){this.disconnect&&(this.disconnect(),this.disconnect=null)},e.prototype.render=function(){var t=this.props,e=t.intl,n=t.hasUnread,o=t.columnId,i=t.multiColumn,r=!!o;return d.a.createElement(b.a,{ref:this.setRef},s()(m.a,{icon:"users",active:n,title:e.formatMessage(E.title),onPin:this.handlePin,onMove:this.handleMove,onClick:this.handleHeaderClick,pinned:r,multiColumn:i},void 0,s()(O.a,{})),s()(g.a,{trackScroll:!r,scrollKey:"community_timeline-"+o,timelineId:"community",loadMore:this.handleLoadMore,emptyMessage:s()(k.b,{id:"empty_column.community",defaultMessage:"The local timeline is empty. Write something publicly to get the ball rolling!"})}))},e}(d.a.PureComponent))||i)||i},794:function(t,e,n){"use strict";n.d(e,"a",function(){return p});var o=n(2),i=n.n(o),r=n(1),s=n.n(r),a=n(3),c=n.n(a),l=n(4),u=n.n(l),f=n(0),h=n.n(f),p=function(t){function e(){var n,o,i;s()(this,e);for(var r=arguments.length,a=Array(r),l=0;l<r;l++)a[l]=arguments[l];return n=o=c()(this,t.call.apply(t,[this].concat(a))),o.handleChange=function(t){o.props.onChange(o.props.settingKey,t.target.value)},i=n,c()(o,i)}return u()(e,t),e.prototype.render=function(){var t=this.props,e=t.settings,n=t.settingKey,o=t.label;return i()("label",{},void 0,i()("span",{style:{display:"none"}},void 0,o),i()("input",{className:"setting-text",value:e.getIn(n),onChange:this.handleChange,placeholder:o}))},e}(h.a.PureComponent)},805:function(t,e,n){"use strict";n.d(e,"a",function(){return b});var o,i=n(2),r=n.n(i),s=n(1),a=n.n(s),c=n(3),l=n.n(c),u=n(4),f=n.n(u),h=n(0),p=n.n(h),d=n(6),y=n(794),g=Object(d.f)({filter_regex:{id:"home.column_settings.filter_regex",defaultMessage:"Filter out by regular expressions"},settings:{id:"home.settings",defaultMessage:"Column settings"}}),b=Object(d.g)(o=function(t){function e(){return a()(this,e),l()(this,t.apply(this,arguments))}return f()(e,t),e.prototype.render=function(){var t=this.props,e=t.settings,n=t.onChange,o=t.intl;return r()("div",{},void 0,r()("span",{className:"column-settings__section"},void 0,r()(d.b,{id:"home.column_settings.advanced",defaultMessage:"Advanced"})),r()("div",{className:"column-settings__row"},void 0,r()(y.a,{settings:e,settingKey:["regex","body"],onChange:n,label:o.formatMessage(g.filter_regex)})))},e}(p.a.PureComponent))||o},891:function(t,e,n){"use strict";var o=n(9),i=n(805),r=n(59),s=function(t){return{settings:t.getIn(["settings","community"])}},a=function(t){return{onChange:function(e,n){t(Object(r.c)(["community"].concat(e),n))}}};e.a=Object(o.connect)(s,a)(i.a)},92:function(t,e){function n(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function o(t){return"function"==typeof t}function i(t){return"number"==typeof t}function r(t){return"object"==typeof t&&null!==t}function s(t){return void 0===t}t.exports=n,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._maxListeners=void 0,n.defaultMaxListeners=10,n.prototype.setMaxListeners=function(t){if(!i(t)||t<0||isNaN(t))throw TypeError("n must be a positive number");return this._maxListeners=t,this},n.prototype.emit=function(t){var e,n,i,a,c,l;if(this._events||(this._events={}),"error"===t&&(!this._events.error||r(this._events.error)&&!this._events.error.length)){if((e=arguments[1])instanceof Error)throw e;var u=new Error('Uncaught, unspecified "error" event. ('+e+")");throw u.context=e,u}if(n=this._events[t],s(n))return!1;if(o(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:a=Array.prototype.slice.call(arguments,1),n.apply(this,a)}else if(r(n))for(a=Array.prototype.slice.call(arguments,1),l=n.slice(),i=l.length,c=0;c<i;c++)l[c].apply(this,a);return!0},n.prototype.addListener=function(t,e){var i;if(!o(e))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",t,o(e.listener)?e.listener:e),this._events[t]?r(this._events[t])?this._events[t].push(e):this._events[t]=[this._events[t],e]:this._events[t]=e,r(this._events[t])&&!this._events[t].warned&&(i=s(this._maxListeners)?n.defaultMaxListeners:this._maxListeners)&&i>0&&this._events[t].length>i&&(this._events[t].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[t].length),"function"==typeof console.trace&&console.trace()),this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(t,e){function n(){this.removeListener(t,n),i||(i=!0,e.apply(this,arguments))}if(!o(e))throw TypeError("listener must be a function");var i=!1;return n.listener=e,this.on(t,n),this},n.prototype.removeListener=function(t,e){var n,i,s,a;if(!o(e))throw TypeError("listener must be a function");if(!this._events||!this._events[t])return this;if(n=this._events[t],s=n.length,i=-1,n===e||o(n.listener)&&n.listener===e)delete this._events[t],this._events.removeListener&&this.emit("removeListener",t,e);else if(r(n)){for(a=s;a-- >0;)if(n[a]===e||n[a].listener&&n[a].listener===e){i=a;break}if(i<0)return this;1===n.length?(n.length=0,delete this._events[t]):n.splice(i,1),this._events.removeListener&&this.emit("removeListener",t,e)}return this},n.prototype.removeAllListeners=function(t){var e,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[t]&&delete this._events[t],this;if(0===arguments.length){for(e in this._events)"removeListener"!==e&&this.removeAllListeners(e);return this.removeAllListeners("removeListener"),this._events={},this}if(n=this._events[t],o(n))this.removeListener(t,n);else if(n)for(;n.length;)this.removeListener(t,n[n.length-1]);return delete this._events[t],this},n.prototype.listeners=function(t){return this._events&&this._events[t]?o(this._events[t])?[this._events[t]]:this._events[t].slice():[]},n.prototype.listenerCount=function(t){if(this._events){var e=this._events[t];if(o(e))return 1;if(e)return e.length}return 0},n.listenerCount=function(t,e){return t.listenerCount(e)}},93:function(t,e,n){t.exports=n(278)}});
//# sourceMappingURL=community_timeline-20bc8a94c08809c127d0.js.map