module.exports = "(function(e,r,t){var s=t(7358);e.exports={initialize:function(){this.__state={},this.on(s.REGISTER_ASYNC_DEFERRED,this.__registerDeferred),this.on(s.RESOLVE_DEFERRED,this.__resolveDeferred),this.on(s.REJECT_DEFERRED,this.__rejectDeferred)},getRequest:function(e){return this.__state[e]},getPromise:function(e){var r=this.getRequest(e);if(r)return r.promise},__registerDeferred:function(e){if(__INVARIANT__&&this.__state[e.source])throw new Error(\"Overwriting deferred for source: \"+e.source);this.__state[e.source]={promise:e.promise,resolver:e.resolver,rejecter:e.rejecter}},__resolveDeferred:function(e){var r=this.getRequest(e.source);if(!r)throw new Error(\"No request registered for source: \"+e.source);r.resolver(e.resolveWith)},__rejectDeferred:function(e){var r=this.getRequest(e.source);if(!r)throw new Error(\"No request registered for source: \"+e.source);if(!r.rejecter)throw new Error(\"No rejecter registered for source: \"+e.source);r.rejecter(e.rejectWith)}}})";