text: /*
   * flowbee v0.1.0
   * Copyright 2016 coopersemantics
   * Available under MIT license <https://github.com/coopersemantics/flowbee/blob/master/LICENSE>
   */
  !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n;n="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,n.flowbee=e()}}(function(){return function e(n,r,t){function u(a,l){if(!r[a]){if(!n[a]){var i="function"==typeof require&&require;if(!l&&i)return i(a,!0);if(o)return o(a,!0);var s=new Error("Cannot find module '"+a+"'");throw s.code="MODULE_NOT_FOUND",s}var f=r[a]={exports:{}};n[a][0].call(f.exports,function(e){var r=n[a][1][e];return u(r?r:e)},f,f.exports,e,n,r,t)}return r[a].exports}for(var o="function"==typeof require&&require,a=0;a<t.length;a++)u(t[a]);return u}({1:[function(e,n,r){"use strict";function t(e){return e&&e.__esModule?e:{"default":e}}function u(e){if(Array.isArray(e)){for(var n=0,r=Array(e.length);n<e.length;n++)r[n]=e[n];return r}return Array.from(e)}function o(e){return e._done=function(){e.doneFn(e.error,s["default"].apply(void 0,u(e.values))())},e}Object.defineProperty(r,"__esModule",{value:!0}),r["default"]=function(){return o(l["default"].apply(void 0,arguments))};var a=e("./parallel.js"),l=t(a),i=e("./helpers/compose.js"),s=t(i)},{"./helpers/compose.js":5,"./parallel.js":9}],2:[function(e,n,r){"use strict";function t(e){return e&&e.__esModule?e:{"default":e}}function u(e){if(Array.isArray(e)){for(var n=0,r=Array(e.length);n<e.length;n++)r[n]=e[n];return r}return Array.from(e)}function o(e){return e._done=function(){e.doneFn(e.error,s["default"].apply(void 0,u(e.values)))},e}Object.defineProperty(r,"__esModule",{value:!0}),r["default"]=function(){return o(l["default"].apply(void 0,arguments))};var a=e("./parallel.js"),l=t(a),i=e("./helpers/during.js"),s=t(i)},{"./helpers/during.js":6,"./parallel.js":9}],3:[function(e,n,r){"use strict";function t(e){return e&&e.__esModule?e:{"default":e}}function u(e){var n=e.next.bind(e);return e.next=function(r,t){var u=e.stack[e.index];u&&(e.stack[e.index]=u.bind(null,t)),n(r,t)},e._done=function(){e.doneFn(e.error,e.values.slice(-1)[0])},e}Object.defineProperty(r,"__esModule",{value:!0}),r["default"]=function(){return u(a["default"].apply(void 0,arguments))};var o=e("./step.js"),a=t(o)},{"./step.js":12}],4:[function(e,n,r){"use strict";function t(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0}),r.during=r.until=r.flow=r.parallel=r.series=r.sequence=r.compose=void 0;var u=e("./compose.js"),o=t(u),a=e("./sequence.js"),l=t(a),i=e("./series.js"),s=t(i),f=e("./parallel.js"),c=t(f),d=e("./flow.js"),p=t(d),v=e("./until.js"),y=t(v),_=e("./during.js"),j=t(_);r.compose=o["default"],r.sequence=l["default"],r.series=s["default"],r.parallel=c["default"],r.flow=p["default"],r.until=y["default"],r.during=j["default"]},{"./compose.js":1,"./during.js":2,"./flow.js":3,"./parallel.js":9,"./sequence.js":10,"./series.js":11,"./until.js":13}],5:[function(e,n,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r["default"]=function(){for(var e=arguments.length,n=Array(e),r=0;e>r;r++)n[r]=arguments[r];return function(e){for(var r=arguments.length,t=Array(r>1?r-1:0),u=1;r>u;u++)t[u-1]=arguments[u];return n.reduceRight(function(e,n){return n.apply(void 0,[e].concat(t))},e)}}},{}],6:[function(e,n,r){"use strict";function t(e,n){return function(r){return e(r)?t(e,n)(n(r)):r}}Object.defineProperty(r,"__esModule",{value:!0}),r["default"]=t},{}],7:[function(e,n,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r["default"]=function(e,n){for(var r=arguments.length,t=Array(r>2?r-2:0),u=2;r>u;u++)t[u-2]=arguments[u];return function(){for(var r=arguments.length,u=Array(r),o=0;r>o;o++)u[o]=arguments[o];return e[n].apply(e,t.concat(u))}}},{}],8:[function(e,n,r){"use strict";function t(e,n){return function(r){return e(r)?r:t(e,n)(n(r))}}Object.defineProperty(r,"__esModule",{value:!0}),r["default"]=t},{}],9:[function(e,n,r){"use strict";function t(e){return e&&e.__esModule?e:{"default":e}}function u(e){return e.next=function(n,r){e.values[n]=r,n||e._done()},e.execute=function(n){for(e.doneFn=n||console.warn.bind(console,"[.execute(done)] 'done' must be a Function");!e._isDone(););e.error&&e._done()},e}Object.defineProperty(r,"__esModule",{value:!0}),r["default"]=function(){return u(a["default"].apply(void 0,arguments))};var o=e("./step.js"),a=t(o)},{"./step.js":12}],10:[function(e,n,r){"use strict";function t(e){return e&&e.__esModule?e:{"default":e}}function u(e){if(Array.isArray(e)){for(var n=0,r=Array(e.length);n<e.length;n++)r[n]=e[n];return r}return Array.from(e)}function o(e){return e._done=function(){e.doneFn(e.error,s["default"].apply(void 0,u(e.values.reverse()))())},e}Object.defineProperty(r,"__esModule",{value:!0}),r["default"]=function(){return o(l["default"].apply(void 0,arguments))};var a=e("./parallel.js"),l=t(a),i=e("./helpers/compose.js"),s=t(i)},{"./helpers/compose.js":5,"./parallel.js":9}],11:[function(e,n,r){"use strict";function t(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(r,"__esModule",{value:!0}),r["default"]=function(){return o["default"].apply(void 0,arguments)};var u=e("./step.js"),o=t(u)},{"./step.js":12}],12:[function(e,n,r){"use strict";function t(e){return e&&e.__esModule?e:{"default":e}}function u(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}var o=function(){function e(e,n){for(var r=0;r<n.length;r++){var t=n[r];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(e,t.key,t)}}return function(n,r,t){return r&&e(n.prototype,r),t&&e(n,t),n}}();Object.defineProperty(r,"__esModule",{value:!0}),r["default"]=function(){return new(Function.prototype.bind.apply(i,[null].concat(Array.prototype.slice.call(arguments))))};var a=e("./helpers/partial.js"),l=t(a),i=function(){function e(){u(this,e);var n=this;n.index=0,n.values=[],n.error=null;for(var r=arguments.length,t=Array(r),o=0;r>o;o++)t[o]=arguments[o];n.stack=t.map(function(e,r){return e.bind(null,(0,l["default"])(n,"next",r))})}return o(e,[{key:"_isDone",value:function(){var e=this,n=e.stack[e.index++];try{if(n)return n(),!1}catch(r){e.error=r}return!0}},{key:"next",value:function(e,n){var r=this;"undefined"!=typeof e&&(r.values[e]=n),r._isDone()&&r._done()}},{key:"_done",value:function(){var e=this;e.doneFn(e.error,e.values)}},{key:"execute",value:function(e){var n=this;n.doneFn=e||console.warn.bind(console,"[.execute(done)] 'done' must be a Function"),n.next()}}]),e}()},{"./helpers/partial.js":7}],13:[function(e,n,r){"use strict";function t(e){return e&&e.__esModule?e:{"default":e}}function u(e){if(Array.isArray(e)){for(var n=0,r=Array(e.length);n<e.length;n++)r[n]=e[n];return r}return Array.from(e)}function o(e){return e._done=function(){e.doneFn(e.error,s["default"].apply(void 0,u(e.values)))},e}Object.defineProperty(r,"__esModule",{value:!0}),r["default"]=function(){return o(l["default"].apply(void 0,arguments))};var a=e("./parallel.js"),l=t(a),i=e("./helpers/until.js"),s=t(i)},{"./helpers/until.js":8,"./parallel.js":9}]},{},[4])(4)});
  //# sourceMappingURL=flowbee.js.map
  