pleroma/priv/static/packs/application.js

2 lines
67 KiB
JavaScript
Raw Normal View History

2017-11-12 08:23:05 -05:00
webpackJsonp([27],{150:function(t,e,n){"use strict";n.d(e,"a",function(){return h});var o=n(2),r=n.n(o),i=n(1),a=n.n(i),s=n(3),c=n.n(s),l=n(4),u=n.n(l),f=n(0),p=n.n(f),h=function(t){function e(){var n,o,r;a()(this,e);for(var i=arguments.length,s=Array(i),l=0;l<i;l++)s[l]=arguments[l];return n=o=c()(this,t.call.apply(t,[this].concat(s))),o.handleClick=function(){o.props.onClick()},r=n,c()(o,r)}return u()(e,t),e.prototype.render=function(){var t=this.props,e=t.type,n=t.active,o=t.columnHeaderId,i="";return this.props.icon&&(i=r()("i",{className:"fa fa-fw fa-"+this.props.icon+" column-header__icon"})),r()("div",{role:"heading",tabIndex:"0",className:"column-header "+(n?"active":""),onClick:this.handleClick,id:o||null},void 0,i,e)},e}(p.a.PureComponent)},155:function(t,e,n){function o(t){r.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 r=n(92),i=n(93);n(32).inherits(o,r.EventEmitter),o.prototype.failAfter=function(t){i.checkArgument(t>0,"Expected a maximum number of retry greater than 0 but got %s.",t),this.maxNumberOfRetry_=t},o.prototype.backoff=function(t){i.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 r(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);r.prototype.getMaxDelay=function(){return this.maxDelay_},r.prototype.getInitialDelay=function(){return this.initialDelay_},r.prototype.next=function(){var t=this.next_(),e=1+Math.random()*this.randomisationFactor_;return Math.round(t*e)},r.prototype.next_=function(){throw new Error("BackoffStrategy.next_() unimplemented.")},r.prototype.reset=function(){this.reset_()},r.prototype.reset_=function(){throw new Error("BackoffStrategy.reset_() unimplemented.")},t.exports=r},157:function(t,e,n){function o(t){i.call(this,t),this.backoffDelay_=0,this.nextBackoffDelay_=this.getInitialDelay()}var r=n(32),i=n(156);r.inherits(o,i),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},250:function(t,e,n){"use strict";n.d(e,"b",function(){return T}),n.d(e,"a",function(){return S});var o=n(2),r=n.n(o),i=n(1),a=n.n(i),s=n(3),c=n.n(s),l=n(4),u=n.n(l),f=n(0),p=n.n(f),h=n(9),d=n(126),m=n(626),y=n(58),v=n(152),g=n(627),b=n(23),_=n(274),k=n(6),w=n(7),x=n(18),O=Object(w.getLocale)(),E=O.localeData,C=O.messages;Object(k.e)(E);var T=Object(d.a)(),N=Object(b.b)(x.c);T.dispatch(N);var S=function(t){function e(){return a()(this,e),c()(this,t.apply(this,arguments))}return u()(e,t),e.prototype.componentDidMount=function(){if(this.disconnect=T.dispatch(Object(_.d)()),void 0!==window.Notification&&"default"===Notification.permission&&window.setTimeout(function(){return Notificat
//# sourceMappingURL=application-1b1f37dff2aac402336b.js.map