import Bluebird from"./deps/bluebird_fork.js";class Activator{constructor(){this.factories=[]}activate(r){for(const e of this.factories){var t=e(r.type);if(void 0!==t)return Bluebird.resolve(t)}return Bluebird.resolve(r)}}export{Activator};