spc-pleroma/priv/static/packs/features/public_timeline-d6e6bc704f4...

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([4],{155:function(t,e,n){function i(t){o.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 o=n(92),r=n(93);n(32).inherits(i,o.EventEmitter),i.prototype.failAfter=function(t){r.checkArgument(t>0,"Expected a maximum number of retry greater than 0 but got %s.",t),this.maxNumberOfRetry_=t},i.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))},i.prototype.onBackoff_=function(){this.timeoutID_=-1,this.emit("ready",this.backoffNumber_,this.backoffDelay_),this.backoffNumber_++},i.prototype.reset=function(){this.backoffNumber_=0,this.backoffStrategy_.reset(),clearTimeout(this.timeoutID_),this.timeoutID_=-1},t.exports=i},156:function(t,e,n){function i(t){return void 0!==t&&null!==t}function o(t){if(t=t||{},i(t.initialDelay)&&t.initialDelay<1)throw new Error("The initial timeout must be greater than 0.");if(i(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(i(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);o.prototype.getMaxDelay=function(){return this.maxDelay_},o.prototype.getInitialDelay=function(){return this.initialDelay_},o.prototype.next=function(){var t=this.next_(),e=1+Math.random()*this.randomisationFactor_;return Math.round(t*e)},o.prototype.next_=function(){throw new Error("BackoffStrategy.next_() unimplemented.")},o.prototype.reset=function(){this.reset_()},o.prototype.reset_=function(){throw new Error("BackoffStrategy.reset_() unimplemented.")},t.exports=o},157:function(t,e,n){function i(t){r.call(this,t),this.backoffDelay_=0,this.nextBackoffDelay_=this.getInitialDelay()}var o=n(32),r=n(156);o.inherits(i,r),i.prototype.next_=function(){var t=Math.min(this.nextBackoffDelay_,this.getMaxDelay());return this.nextBackoffDelay_+=this.backoffDelay_,this.backoffDelay_=t,t},i.prototype.reset_=function(){this.nextBackoffDelay_=this.getInitialDelay(),this.backoffDelay_=0},t.exports=i},158:function(t,e,n){"use strict";var i=n(42),o=n.n(i),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 i=t.getIn(["regex","body"],"").trim(),o=null;try{o=i&&new RegExp(i,"i")}catch(t){}return e.filter(function(e){var i=n.get(e),r=!0;if(!1===t.getIn(["shows","reblog"])&&(r=r&&null===i.get("reblog")),!1===t.getIn(["shows","reply"])&&(r=r&&(null===i.get("in_reply_to_id")||i.get("in_reply_to_account_id")===u.e)),r&&o&&i.get("account")!==u.e){var s=i.get("reblog")?n.getIn([i.get("reblog"),"search_index"]):i.get("search_index");r=!o.test(s)}return r})})},h=function(){var t=f();return function(e,n){var i=n.timelineId;return{statusIds:t(e,{type:i}),isLoading:e.getIn(["timelines",i,"isLoading"],!0),hasMore:!!e.getIn(["timelines",i,"next"])}}},p=function(t,e){var n=e.timelineId,i=e.loadMore;return{onScrollToBottom:o()(function(){t(Object(a.B)(n,!1)),i()},300,{leading:!0}),onScrollToTop:o()(function(){t(Object(a.B)(n,!0))},100),onScroll:o()(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 y});var i,o,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),g=n(6),y=(o=i=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()(g.b,{id:"status.load_more",defaultMessage:"Load more"}))},e}(d.a.PureComponent),i.defaultProps={visible:!0},o)},261:function(t,e,n){"use strict";var i=n(2),o=n.n(i),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),g=n(6),y=n(18),b=Object(g.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"}}),v=function(){var t=Object(c.e)();return function(e,n){return{status:t(e,n.id)}}},m=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||!y.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(y.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:o()(g.b,{id:"confirmations.block.message",defaultMessage:"Are you sure you want to block {name}?",values:{name:o()("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:o()(g.b,{id:"confirmations.mute.message",defaultMessage:"Are you sure you want to mute {name}?",values:{name:o()("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(g.g)(Object(s.connect)(v,m)(a.a))},262:function(t,e,n){"use strict";n.d(e,"a",function(){return I});var i,o,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),g=n(0),y=n.n(g),b=n(152),v=n(5),m=n.n(v),_=n(263),k=n(260),O=n(268),x=n(8),E=(n.n(x),n(10)),S=n.n(E),C=n(154),I=(o=i=function(t){function e(){var n,i,o;c()(this,e);for(var r=arguments.length,s=Array(r),a=0;a<r;a++)s[a]=arguments[a];return n=i=u()(this,t.call.apply(t,[this].concat(s))),i.state={lastMouseMove:null},i.intersectionObserverWrapper=new O.a,i.handleScroll=d()(function(){if(i.node){var t=i.node,e=t.scrollTop,n=t.scrollHeight,o=t.clientHeight,r=n-e-o;i._oldScrollPosition=n-e,400>r&&i.props.onScrollToBottom&&!i.props.isLoading?i.props.onScrollToBottom():e<100&&i.props.onScrollToTop?i.props.onScrollToTop():i.props.onScroll&&i.props.onScroll()}},150,{trailing:!0}),i.handleMouseMove=d()(function(){i._lastMouseMove=new Date},300),i.handleMouseLeave=function(){i._lastMouseMove=null},i.onFullScreenChange=function(){i.setState({fullscreen:Object(C.d)()})},i.setRef=function(t){i.node=t},i.handleLoadMore=function(t){t.preventDefault(),i.props.onScrollToBottom()},o=n,u()(i,o)}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(y.a.Children.count(t.children)>0&&y.a.Children.count(t.children)<y.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,i=e.scrollKey,o=e.trackScroll,r=e.shouldUpdateScroll,a=e.isLoading,c=e.hasMore,l=e.prepend,u=e.emptyMessage,f=this.state.fullscreen,h=y.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?y.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,y.a.Children.map(this.props.children,function(e,n){return s()(_.a,{id:e.key,index:n,listLength:h,intersectionObserverWrapper:t.intersectionObserverWrapper,saveHeightKey:o?t.context.router.route.location.key+":"+i:null},e.key,e)}),p)):y.a.createElement("div",{className:"empty-column-indicator",ref:this.setRef},u),o?s()(b.a,{scrollKey:i,shouldUpdateScroll:r},void 0,d):d},e}(g.PureComponent),i.contextTypes={router:m.a.object},i.defaultProps={trackScroll:!0},o)},263:function(t,e,n){"use strict";var i=n(9),o=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,i){t(Object(r.d)(e,n,i))}}};e.a=Object(i.connect)(s,a)(o.a)},264:function(t,e,n){"use strict";n.d(e,"a",function(){return y});var i=n(1),o=n.n(i),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"]),g=["id","index","listLength","cachedHeight"],y=function(t){function e(){var n,i,r;o()(this,e);for(var a=arguments.length,c=Array(a),l=0;l<a;l++)c[l]=arguments[l];return n=i=s()(this,t.call.apply(t,[this].concat(c))),i.state={isHidden:!1},i.handleIntersection=function(t){i.entry=t,Object(f.a)(i.calculateHeight),i.setState(i.updateStateAfterIntersection)},i.updateStateAfterIntersection=function(t){return t.isIntersecting&&!i.entry.isIntersecting&&Object(f.a)(i.hideIfNotIntersecting),{isIntersecting:i.entry.isIntersecting,isHidden:!1}},i.calculateHeight=function(){var t=i.props,e=t.onHeightChange,n=t.saveHeightKey,o=t.id;i.height=Object(h.a)(i.entry).height,e&&n&&e(n,o,i.height)},i.hideIfNotIntersecting=function(){i.componentMounted&&i.setState(function(t){return{isHidden:!t.isIntersecting}})},i.handleRef=function(t){i.node=t},r=n,s()(i,r)}return c()(e,t),e.prototype.shouldComponentUpdate=function(t,e){var n=this,i=!this.state.isIntersecting&&(this.state.isHidden||this.props.cachedHeight);return!!i!=!(e.isIntersecting||!e.isHidden&&!t.cachedHeight)||!(i?g: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,i=t.index,o=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":i,"aria-setsize":o,"data-id":n,tabIndex:"0"},e&&u.a.cloneElement(e,{hidden:!1})):u.a.createElement("article",{ref:this.handleRef,"aria-posinset":i,"aria-setsize":o,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 i(t){for(;a.length&&t.timeRemaining()>0;)a.shift()();a.length?requestIdleCallback(i):c=!1}function o(t){a.push(t),c||(c=!0,requestIdleCallback(i))}var r=n(266),s=n.n(r),a=new s.a,c=!1;e.a=o},266:function(t,e,n){"use strict";function i(){this.length=0}i.prototype.push=function(t){var e={item:t};this.last?this.last=this.last.next=e:this.last=this.first=e,this.length++},i.prototype.shift=function(){var t=this.first;if(t)return this.first=t.next,--this.length||(this.last=void 0),t.item},i.prototype.slice=function(t,e){t=void 0===t?0:t,e=void 0===e?1/0:e;for(var n=[],i=0,o=this.first;o&&!(--e<0);o=o.next)++i>t&&n.push(o.item);return n},t.exports=i},267:function(t,e,n){"use strict";function i(t){if("boolean"!=typeof o){var e=t.target.getBoundingClientRect(),n=t.boundingClientRect;o=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 o?t.target.getBoundingClientRect():t.boundingClientRect}var o=void 0;e.a=i},268:function(t,e,n){"use strict";var i=n(1),o=n.n(i),r=function(){function t(){o()(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],i=t[1],o=t[2];e.observe(n,i,o)}),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 I});var i,o,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),g=n(4),y=n.n(g),b=n(0),v=n.n(b),m=n(12),_=n.n(m),k=n(5),O=n.n(k),x=n(261),E=n(11),S=n.n(E),C=n(262),I=(o=i=function(t){function e(){var n,i,o;h()(this,e);for(var r=arguments.length,s=Array(r),a=0;a<r;a++)s[a]=arguments[a];return n=i=d()(this,t.call.apply(t,[this].concat(s))),i.handleMoveUp=function(t){var e=i.props.statusIds.indexOf(t)-1;i._selectChild(e)},i.handleMoveDown=function(t){var e=i.props.statusIds.indexOf(t)+1;i._selectChild(e)},i.setRef=function(t){i.node=t},o=n,d()(i,o)}return y()(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,i=u()(e,["statusIds"]),o=i.isLoading,r=o||n.size>0?n.map(function(e){return c()(x.a,{id:e,onMoveUp:t.handleMoveUp,onMoveDown:t.handleMoveDown},e)}):null;return v.a.createElement(C.a,s()({},i,{ref:this.setRef}),r)},e}(S.a),i.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},i.defaultProps={trackScroll:!0},o)},274:function(t,e,n){"use strict";function i(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return function(i,o){var c=o().getIn(["meta","streaming_api_base_url"]),l=o().getIn(["meta","access_token"]),f=o().getIn(["meta","locale"]),h=null,p=function(){h=setInterval(function(){n(i)},2e4)},d=function(){h&&(clearInterval(h),h=null)},g=Object(r.a)(c,l,e,{connected:function(){n&&d(),i(Object(s.m)(t))},disconnected:function(){n&&p(),i(Object(s.o)(t))},received:function(e){switch(e.event){case"update":i(Object(s.C)(t,JSON.parse(e.payload)));break;case"delete":i(Object(s.n)(e.payload));break;case"notification":i(Object(a.n)(JSON.parse(e.payload),u,f))}},reconnected:function(){n&&(d(),n(i)),i(Object(s.m)(t))}});return function(){g&&g.close(),d()}}}function o(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 i("home","user",o)},h=function(){return i("community","public:local")},p=function(){return i("public","public")},d=function(t){return i("hashtag:"+t,"hashtag&tag="+t)}},275:function(t,e,n){"use strict";function i(t,e,n,i){var o=i.connected,s=i.received,a=i.disconnected,c=i.reconnected,l=new r.a(t+"/api/v1/streaming/?access_token="+e+"&stream="+n);return l.onopen=o,l.onmessage=function(t){return s(JSON.parse(t.data))},l.onclose=a,l.onreconnect=c,l}e.a=i;var o=n(276),r=n.n(o)},276:function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=n(277),s=function(){function t(e,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};i(this,t),this.url=e,this.protocols=n,this.reconnectEnabled=!0,this.listeners={},this.backoff=r[o.backoff||"fibonacci"](o),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 o(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 i=n(155),o=n(282),r=n(157),s=n(283);t.exports.Backoff=i,t.exports.FunctionCall=s,t.exports.FibonacciStrategy=r,t.exports.ExponentialStrategy=o,t.exports.fibonacci=function(t){return new i(new r(t))},t.exports.exponential=function(t){return new i(new o(t))},t.exports.call=function(t,e,n){var i=Array.prototype.slice.call(arguments);return t=i[0],e=i.slice(1,i.length-1),n=i[i.length-1],new s(t,e,n)}},278:function(t,e,n){function i(t,e,n,i){n=n||"";var o=c.format.apply(this,[n].concat(i)),r=new t(o);throw Error.captureStackTrace(r,e),r}function o(t,e,n){i(l.IllegalArgumentError,t,e,n)}function r(t,e,n){i(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 i=s(e);if(i==t)return e;o(arguments.callee,n||'Expected "'+t+'" but got "'+i+'".',Array.prototype.slice.call(arguments,2))}}var c=n(32),l=t.exports=n(281);t.exports.checkArgument=function(t,e){t||o(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;o(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;o(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 i(t){Error.call(this,t),this.message=t}function o(t){Error.call(this,t),this.message=t}var r=n(32);r.inherits(i,Error),i.prototype.name="IllegalArgumentError",r.inherits(o,Error),o.prototype.name="IllegalStateError",t.exports.IllegalStateError=o,t.exports.IllegalArgumentError=i},282:function(t,e,n){function i(t){s.call(this,t),this.backoffDelay_=0,this.nextBackoffDelay_=this.getInitialDelay(),this.factor_=i.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 o=n(32),r=n(93),s=n(156);o.inherits(i,s),i.DEFAULT_FACTOR=2,i.prototype.next_=function(){return this.backoffDelay_=Math.min(this.nextBackoffDelay_,this.getMaxDelay()),this.nextBackoffDelay_=this.backoffDelay_*this.factor_,this.backoffDelay_},i.prototype.reset_=function(){this.backoffDelay_=0,this.nextBackoffDelay_=this.getInitialDelay()},t.exports=i},283:function(t,e,n){function i(t,e,n){o.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_=i.DEFAULT_RETRY_PREDICATE_,this.state_=i.State_.PENDING}var o=n(92),r=n(93),s=n(32),a=n(155),c=n(157);s.inherits(i,o.EventEmitter),i.State_={PENDING:0,RUNNING:1,COMPLETED:2,ABORTED:3},i.DEFAULT_RETRY_PREDICATE_=function(t){return!0},i.prototype.isPending=function(){return this.state_==i.State_.PENDING},i.prototype.isRunning=function(){return this.state_==i.State_.RUNNING},i.prototype.isCompleted=function(){return this.state_==i.State_.COMPLETED},i.prototype.isAborted=function(){return this.state_==i.State_.ABORTED},i.prototype.setStrategy=function(t){return r.checkState(this.isPending(),"FunctionCall in progress."),this.strategy_=t,this},i.prototype.retryIf=function(t){return r.checkState(this.isPending(),"FunctionCall in progress."),this.retryPredicate_=t,this},i.prototype.getLastResult=function(){return this.lastResult_.concat()},i.prototype.getNumRetries=function(){return this.numRetries_},i.prototype.failAfter=function(t){return r.checkState(this.isPending(),"FunctionCall in progress."),this.failAfter_=t,this},i.prototype.abort=function(){this.isCompleted()||this.isAborted()||(this.isRunning()&&this.backoff_.reset(),this.state_=i.State_.ABORTED,this.lastResult_=[new Error("Backoff aborted.")],this.emit("abort"),this.doCallback_())},i.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_=i.State_.RUNNING,this.doCall_(!1)},i.prototype.doCall_=function(t){t&&this.numRetries_++;var e=["call"].concat(this.arguments_);o.EventEmitter.prototype.emit.apply(this,e);var n=this.handleFunctionCallback_.bind(this);this.function_.apply(null,this.arguments_.concat(n))},i.prototype.doCallback_=function(){this.callback_.apply(null,this.lastResult_)},i.prototype.handleFunctionCallback_=function(){if(!this.isAborted()){var t=Array.prototype.slice.call(arguments);this.lastResult_=t,o.EventEmitter.prototype.emit.apply(this,["callback"].concat(t));var e=t[0];e&&this.retryPredicate_(e)?this.backoff_.backoff(e):(this.state_=i.State_.COMPLETED,this.doCallback_())}},i.prototype.handleBackoff_=function(t,e,n){this.emit("backoff",t,e,n)},t.exports=i},32:function(t,e,n){(function(t,i){function o(t,n){var i={seen:[],stylize:s};return arguments.length>=3&&(i.depth=arguments[2]),arguments.length>=4&&(i.colors=arguments[3]),g(n)?i.showHidden=n:n&&e._extend(i,n),k(i.showHidden)&&(i.showHidden=!1),k(i.depth)&&(i.depth=2),k(i.colors)&&(i.colors=!1),k(i.customInspect)&&(i.customInspect=!0),i.colors&&(i.stylize=r),c(i,t,i.depth)}function r(t,e){var n=o.styles[e];return n?"["+o.colors[n][0]+"m"+t+"["+o.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,i){if(t.customInspect&&n&&C(n.inspect)&&n.inspect!==e.inspect&&(!n.constructor||n.constructor.prototype!==n)){var o=n.inspect(i,t);return m(o)||(o=c(t,o,i)),o}var r=l(t,n);if(r)return r;var s=Object.keys(n),g=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 y=n.name?": "+n.name:"";return t.stylize("[Function"+y+"]","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="",v=!1,_=["{","}"];if(d(n)&&(v=!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&&(!v||0==n.length))return _[0]+b+_[1];if(i<0)return O(n)?t.stylize(RegExp.prototype.toString.call(n),"regexp"):t.stylize("[Object]","special");t.seen.push(n);var k;return k=v?f(t,n,i,g,s):s.map(function(e){return h(t,n,i,g,e,v)}),t.seen.pop(),p(k,b,_)}function l(t,e){if(k(e))return t.stylize("undefined","undefined");if(m(e)){var n="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(n,"string")}return v(e)?t.stylize(""+e,"number"):g(e)?t.stylize(""+e,"boolean"):y(e)?t.stylize("null","null"):void 0}function u(t){return"["+Error.prototype.toString.call(t)+"]"}function f(t,e,n,i,o){for(var r=[],s=0,a=e.length;s<a;++s)D(e,String(s))?r.push(h(t,e,n,i,String(s),!0)):r.push("");return o.forEach(function(o){o.match(/^\d+$/)||r.push(h(t,e,n,i,o,!0))}),r}function h(t,e,n,i,o,r){var s,a,l;if(l=Object.getOwnPropertyDescriptor(e,o)||{value:e[o]},l.get?a=l.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):l.set&&(a=t.stylize("[Setter]","special")),D(i,o)||(s="["+o+"]"),a||(t.seen.indexOf(l.value)<0?(a=y(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&&o.match(/^\d+$/))return a;s=JSON.stringify(""+o),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 i=0;return t.reduce(function(t,e){return i++,e.indexOf("\n")>=0&&i++,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 g(t){return"boolean"==typeof t}function y(t){return null===t}function b(t){return null==t}function v(t){return"number"==typeof t}function m(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]"===M(t)}function x(t){return"object"==typeof t&&null!==t}function E(t){return x(t)&&"[object Date]"===M(t)}function S(t){return x(t)&&("[object Error]"===M(t)||t instanceof Error)}function C(t){return"function"==typeof t}function I(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t}function M(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 A=/%[sdj%]/g;e.format=function(t){if(!m(t)){for(var e=[],n=0;n<arguments.length;n++)e.push(o(arguments[n]));return e.join(" ")}for(var n=1,i=arguments,r=i.length,s=String(t).replace(A,function(t){if("%%"===t)return"%";if(n>=r)return t;switch(t){case"%s":return String(i[n++]);case"%d":return Number(i[n++]);case"%j":try{return JSON.stringify(i[n++])}catch(t){return"[Circular]"}default:return t}}),a=i[n];n<r;a=i[++n])y(a)||!x(a)?s+=" "+a:s+=" "+o(a);return s},e.deprecate=function(n,o){function r(){if(!s){if(i.throwDeprecation)throw new Error(o);i.traceDeprecation?console.trace(o):console.error(o),s=!0}return n.apply(this,arguments)}if(k(t.process))return function(){return e.deprecate(n,o).apply(this,arguments)};if(!0===i.noDeprecation)return n;var s=!1;return r};var R,L={};e.debuglog=function(t){if(k(R)&&(R=i.env.NODE_DEBUG||""),t=t.toUpperCase(),!L[t])if(new RegExp("\\b"+t+"\\b","i").test(R)){var n=i.pid;L[t]=function(){var i=e.format.apply(e,arguments);console.error("%s %d: %s",t,n,i)}}else L[t]=function(){};return L[t]},e.inspect=o,o.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]},o.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.isArray=d,e.isBoolean=g,e.isNull=y,e.isNullOrUndefined=b,e.isNumber=v,e.isString=m,e.isSymbol=_,e.isUndefined=k,e.isRegExp=O,e.isObject=x,e.isDate=E,e.isError=S,e.isFunction=C,e.isPrimitive=I,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),i=n.length;i--;)t[n[i]]=e[n[i]];return t}}).call(e,n(44),n(34))},755:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"default",function(){return C});var i,o,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),g=n(9),y=n(158),b=n(99),v=n(98),m=n(16),_=n(273),k=n(6),O=n(890),x=n(274),E=Object(k.f)({title:{id:"column.public",defaultMessage:"Federated timeline"}}),S=function(t){return{hasUnread:t.getIn(["timelines","public","unread"])>0}},C=(i=Object(g.connect)(S))(o=Object(k.g)(o=function(t){function e(){var n,i,o;c()(this,e);for(var r=arguments.length,s=Array(r),a=0;a<r;a++)s[a]=arguments[a];return n=i=u()(this,t.call.apply(t,[this].concat(s))),i.handlePin=function(){var t=i.props,e=t.columnId,n=t.dispatch;n(e?Object(_.f)(e):Object(_.d)("PUBLIC",{}))},i.handleMove=function(t){var e=i.props,n=e.columnId;(0,e.dispatch)(Object(_.e)(n,t))},i.handleHeaderClick=function(){i.column.scrollTop()},i.setRef=function(t){i.column=t},i.handleLoadMore=function(){i.props.dispatch(Object(m.u)())},o=n,u()(i,o)}return h()(e,t),e.prototype.componentDidMount=function(){var t=this.props.dispatch;t(Object(m.A)()),this.disconnect=t(Object(x.c)())},e.prototype.componentWillUnmount=function(){this.disconnect&&(this.disconnect(),this.disconnect=null)},e.prototype.render=function(){var t=this.props,e=t.intl,n=t.columnId,i=t.hasUnread,o=t.multiColumn,r=!!n;return d.a.createElement(b.a,{ref:this.setRef},s()(v.a,{icon:"globe",active:i,title:e.formatMessage(E.title),onPin:this.handlePin,onMove:this.handleMove,onClick:this.handleHeaderClick,pinned:r,multiColumn:o},void 0,s()(O.a,{})),s()(y.a,{timelineId:"public",loadMore:this.handleLoadMore,trackScroll:!r,scrollKey:"public_timeline-"+n,emptyMessage:s()(k.b,{id:"empty_column.public",defaultMessage:"There is nothing here! Write something publicly, or manually follow users from other instances to fill it up"})}))},e}(d.a.PureComponent))||o)||o},794:function(t,e,n){"use strict";n.d(e,"a",function(){return p});var i=n(2),o=n.n(i),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,i,o;s()(this,e);for(var r=arguments.length,a=Array(r),l=0;l<r;l++)a[l]=arguments[l];return n=i=c()(this,t.call.apply(t,[this].concat(a))),i.handleChange=function(t){i.props.onChange(i.props.settingKey,t.target.value)},o=n,c()(i,o)}return u()(e,t),e.prototype.render=function(){var t=this.props,e=t.settings,n=t.settingKey,i=t.label;return o()("label",{},void 0,o()("span",{style:{display:"none"}},void 0,i),o()("input",{className:"setting-text",value:e.getIn(n),onChange:this.handleChange,placeholder:i}))},e}(h.a.PureComponent)},805:function(t,e,n){"use strict";n.d(e,"a",function(){return b});var i,o=n(2),r=n.n(o),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),g=n(794),y=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)(i=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,i=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()(g.a,{settings:e,settingKey:["regex","body"],onChange:n,label:i.formatMessage(y.filter_regex)})))},e}(p.a.PureComponent))||i},890:function(t,e,n){"use strict";var i=n(9),o=n(805),r=n(59),s=function(t){return{settings:t.getIn(["settings","public"])}},a=function(t){return{onChange:function(e,n){t(Object(r.c)(["public"].concat(e),n))}}};e.a=Object(i.connect)(s,a)(o.a)},92:function(t,e){function n(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function i(t){return"function"==typeof t}function o(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(!o(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,o,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(i(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(),o=l.length,c=0;c<o;c++)l[c].apply(this,a);return!0},n.prototype.addListener=function(t,e){var o;if(!i(e))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",t,i(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&&(o=s(this._maxListeners)?n.defaultMaxListeners:this._maxListeners)&&o>0&&this._events[t].length>o&&(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),o||(o=!0,e.apply(this,arguments))}if(!i(e))throw TypeError("listener must be a function");var o=!1;return n.listener=e,this.on(t,n),this},n.prototype.removeListener=function(t,e){var n,o,s,a;if(!i(e))throw TypeError("listener must be a function");if(!this._events||!this._events[t])return this;if(n=this._events[t],s=n.length,o=-1,n===e||i(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){o=a;break}if(o<0)return this;1===n.length?(n.length=0,delete this._events[t]):n.splice(o,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],i(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]?i(this._events[t])?[this._events[t]]:this._events[t].slice():[]},n.prototype.listenerCount=function(t){if(this._events){var e=this._events[t];if(i(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=public_timeline-d6e6bc704f49ebf922be.js.map