UNPKG

async-af

Version:

The asynciest of async libs there ever was or ever will be...AsyncAF!?

13 lines 21.3 kB
/*! * async-af/legacy/min v7.0.39 * * AsyncAF (The asynciest of async libs there ever was or ever will be...AsyncAF!?) * (https://async-af.js.org/AsyncAF) * * Copyright (c) 2017-present, Scott Rudiger (https://github.com/ScottRudiger) * * This source code is licensed under the MIT license found in this library's * GitHub repository (https://github.com/AsyncAF/AsyncAF/blob/master/LICENSE). */ var t,n;t="undefined"!=typeof self?self:this,n=function(){return function(t){var n={};function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)r.d(e,o,function(n){return t[n]}.bind(null,o));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="",r(r.s=43)}([function(t,n,r){"use strict";r.d(n,"b",function(){return o}),r.d(n,"a",function(){return i});var e=r(2),o=function(t){return function n(r,e){var o=r.length;if(!o)return Promise.resolve(r);var i=!(e in t);return Promise.resolve(t[e]).then(function(t){return i||(r[e]=t),e===o-1?r:n(r,e+1)})}(Array(t.length>>>0),0)},i=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;return Object(e.a)(t,function(t){return t}).then(n?function(t){return Object(e.a)(Array.prototype.map.call(t,n,r))}:void 0)}},function(t,n,r){"use strict";n.a=function(t){return Array.isArray(t)||null!=t&&null!=t.length}},function(t,n,r){"use strict";n.a=function(t){return new Promise(function(n,r){var e=t.length>>>0,o=Array(e),i=e,c=e;if(!e)return n(o);for(var u=function(e){return Promise.resolve(t[e]).then(function(r){e in t&&(o[e]=r),--i||n(o)},r)};c--;)u(c)})}},function(t,n,r){"use strict";n.a=function(t,n){return Object.defineProperty(t,"name",{value:n,configurable:!0})}},function(t,n){t.exports=function(t,n){return n||(n=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))}},function(t,n,r){var e=r(16),o=r(17),i=r(18);t.exports=function(t,n){return e(t)||o(t,n)||i()}},,function(t,n){t.exports=function(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}},function(t,n,r){var e=r(39),o=r(40),i=r(41);t.exports=function(t){return e(t)||o(t)||i()}},function(t,n){function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function e(n){return"function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?t.exports=e=function(t){return r(t)}:t.exports=e=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":r(t)},e(n)}t.exports=e},function(t,n){t.exports=function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}},function(t,n,r){var e=r(9),o=r(38);t.exports=function(t,n){return!n||"object"!==e(n)&&"function"!=typeof n?o(t):n}},function(t,n){function r(n){return t.exports=r=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},r(n)}t.exports=r},function(t,n,r){var e=r(19);t.exports=function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&e(t,n)}},function(t,n,r){"use strict";var e=r(20),o=r.n(e),i=r(3);n.a=function(t){var n=t.name,r=function(){for(var n=arguments.length,r=Array(n),e=0;e<n;e++)r[e]=arguments[e];return o()(t,r)};return r.prototype=t.prototype,Object.setPrototypeOf(r,t),r.prototype.constructor=r,Object(i.a)(r,n)}},function(t,n,r){"use strict";r.r(n);var e=r(11),o=r.n(e),i=r(12),c=r.n(i),u=r(13),a=r.n(u),f=r(7),l=r.n(f),s=r(21),p=r.n(s),y=r(10),h=r.n(y),b=r(22),d=r.n(b),v=r(14),O=r(9),m=r.n(O),A=new WeakMap,j={inSeries:{get:function(){return A.get(this)}},series:{get:function(){return A.set(this,!this.inSeries),this}},io:{get:function(){return this.series}}};r.d(n,"AsyncAfWrapperProto",function(){return w});var g=new WeakMap,w=function(){function t(n){h()(this,t),g.set(this,Promise.resolve(n))}return d()(t,[{key:"then",value:function(t,n){return this.constructor(g.get(this).then(t,n))}},{key:"catch",value:function(t){return this.then(null,t)}},{key:"finally",value:function(t){return g.get(this).finally(t)}}]),t}();w.use=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("object"!==m()(t))throw TypeError("prototypeMethods param accepts an Object containing the prototypeMethods you'd like to add to the AsyncAF prototype, or an empty Object");if("object"!==m()(n))throw TypeError("staticMethods param accepts an Object containing the staticMethods you'd like to add to AsyncAF");Object.assign(this.prototype,t),Object.assign(this,n)},Object.defineProperties(w.prototype,p()({},j,l()({},Symbol.toStringTag,{value:"AsyncAF"})));var x=Object(v.a)(function(t){function n(){return h()(this,n),o()(this,c()(n).apply(this,arguments))}return a()(n,t),n}(w));n.default=x},function(t,n){t.exports=function(t){if(Array.isArray(t))return t}},function(t,n){t.exports=function(t,n){var r=[],e=!0,o=!1,i=void 0;try{for(var c,u=t[Symbol.iterator]();!(e=(c=u.next()).done)&&(r.push(c.value),!n||r.length!==n);e=!0);}catch(t){o=!0,i=t}finally{try{e||null==u.return||u.return()}finally{if(o)throw i}}return r}},function(t,n){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(t,n){function r(n,e){return t.exports=r=Object.setPrototypeOf||function(t,n){return t.__proto__=n,t},r(n,e)}t.exports=r},function(t,n,r){var e=r(19);function o(n,r,i){return function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()?t.exports=o=Reflect.construct:t.exports=o=function(t,n,r){var o=[null];o.push.apply(o,n);var i=new(Function.bind.apply(t,o));return r&&e(i,r.prototype),i},o.apply(null,arguments)}t.exports=o},function(t,n,r){var e=r(7);t.exports=function(t){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),o.forEach(function(n){e(t,n,r[n])})}return t}},function(t,n){function r(t,n){for(var r=0;r<n.length;r++){var e=n[r];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(t,e.key,e)}}t.exports=function(t,n,e){return n&&r(t.prototype,n),e&&r(t,e),t}},function(t,n,r){"use strict";r.r(n);var e=r(1),o=r(2),i=r(0);n.default=function(t){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(c){if(!Object(e.a)(c))throw TypeError("mapAF cannot be called on ".concat(c,", only on an Array or array-like Object"));if("function"!=typeof t)throw TypeError("".concat(t," is not a function"));return n.inSeries?Object(i.b)(c).then(function(n){return n.reduce(function(n,e,i,c){return n.then(function(n){return n[i]=Promise.resolve(t.call(r,e,i,c)),Object(o.a)(n)})},Promise.resolve(Array(n.length>>>0)))}):Object(i.a)(c,t,r)})}},function(t,n,r){"use strict";r.r(n);var e=r(1),o=r(0);n.default=function(t){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(i){if(!Object(e.a)(i))throw TypeError("forEachAF cannot be called on ".concat(i,", only on an Array or array-like Object"));if("function"!=typeof t)throw TypeError("".concat(t," is not a function"));return(n.inSeries?Object(o.b)(i).then(function(n){return n.reduce(function(n,e,o,i){return n.then(function(){return Promise.resolve(t.call(r,e,o,i))})},Promise.resolve())}):Object(o.a)(i,t,r)).then(function(){})})}},function(t,n,r){"use strict";r.r(n);var e=r(1),o=r(0);n.default=function(t){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(i){if(!Object(e.a)(i))throw TypeError("filterAF cannot be called on ".concat(i,", only on an Array or array-like Object"));if("function"!=typeof t)throw TypeError("".concat(t," is not a function"));return(n.inSeries?o.b:o.a)(i).then(function(e){return(n.inSeries?e.reduce(function(n,e,o,i){return n.then(function(n){return n[o]=t.call(r,e,o,i),Promise.all(n)})},Promise.all([])):Object(o.a)(e,t,r)).then(function(t){return e.filter(function(n,r){return t[r]})})})})}},function(t,n,r){"use strict";r.r(n);var e=r(5),o=r.n(e),i=r(1),c=r(0);n.default=function(t){var n=this,r=arguments;return this.then(function(e){if(!Object(i.a)(e))throw TypeError("reduceAF cannot be called on ".concat(e,", only on an Array or array-like Object"));if("function"!=typeof t)throw TypeError("".concat(t," is not a function"));var u=e.length>>>0;if(!u&&1===r.length)throw TypeError("reduceAF cannot be called on an empty array without an initial value");if(!u)return r[1];var a,f=function(t){return!(t in e)},l=0;if(2===r.length){var s=o()(r,2);a=s[1]}else{for(;f(l);)l++;a=e[l++]}return(n.inSeries?c.b:c.a)(e).then(function(n){return function r(e,o){return Promise.resolve(e).then(function(e){return Promise.resolve(f(o)?e:t(e,n[o],o,n)).then(function(t){return o===u-1?t:r(t,o+1)})})}(a,l)})})}},function(t,n,r){"use strict";r.r(n);var e=r(1),o=r(0);n.default=function(t){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(i){if(!Object(e.a)(i))throw TypeError("everyAF cannot be called on ".concat(i,", only on an Array or array-like Object"));if("function"!=typeof t)throw TypeError("".concat(t," is not a function"));var c=i.length>>>0;return n.inSeries?!c||function n(e,o){var i=!(o in e);return Promise.resolve(e[o]).then(function(u){return e[o]=u,Promise.resolve(!i&&t.call(r,u,o,e)).then(function(t){return!(!t&&!i)&&(o===c-1||n(e,o+1))})})}(Array.prototype.slice.call(i),0):Object(o.a)(i,t,r).then(function(t){return t.every(Boolean)})})}},function(t,n,r){"use strict";r.r(n);var e=r(1),o=r(0);n.default=function(t){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(i){if(!Object(e.a)(i))throw TypeError("someAF cannot be called on ".concat(i,", only on an Array or array-like Object"));if("function"!=typeof t)throw TypeError("".concat(t," is not a function"));var c=i.length>>>0;return n.inSeries?!!c&&function n(e,o){var i=!(o in e);return Promise.resolve(e[o]).then(function(u){return e[o]=u,Promise.resolve(!i&&t.call(r,u,o,e)).then(function(t){return!(!t||i)||o!==c-1&&n(e,o+1)})})}(Array.prototype.slice.call(i),0):Object(o.a)(i,t,r).then(function(t){return t.some(Boolean)})})}},function(t,n,r){"use strict";r.r(n);var e=r(1),o=r(0);n.default=function(t){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this.then(function(i){if(!Object(e.a)(i))throw TypeError("includesAF cannot be called on ".concat(i,", only on an Array, String, or array-like Object"));var c=i.length>>>0,u=0|r;return"string"==typeof i?i.includes(t,u):n.inSeries?!!c&&function n(r){return Promise.resolve(i[r]).then(function(e){return!!((o=e)===(i=t)||Number.isNaN(o)&&Number.isNaN(i))||!(r>=c-1)&&n(r+1);var o,i})}(Math.max(u>=0?u:c-Math.abs(u),0)):Object(o.a)(i).then(function(n){return n.includes(t,u)})})}},function(t,n,r){"use strict";r.r(n);var e=r(1),o=r(0);n.default=function(t){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(i){if(!Object(e.a)(i))throw TypeError("findAF cannot be called on ".concat(i,", only on an Array or array-like Object"));if("function"!=typeof t)throw TypeError("".concat(t," is not a function"));var c=Array.from(i),u=c.length>>>0;return n.inSeries?u?function n(e,o){return Promise.resolve(e[o]).then(function(i){return e[o]=i,Promise.resolve(t.call(r,i,o,e)).then(function(t){return t?i:o!==u-1?n(e,o+1):void 0})})}(c,0):void 0:Object(o.a)(c,t,r).then(function(t){return i[t.indexOf(!0)]})})}},function(t,n,r){"use strict";r.r(n);var e=r(1),o=r(0);n.default=function(t){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(i){if(!Object(e.a)(i))throw TypeError("findIndexAF cannot be called on ".concat(i,", only on an Array or array-like Object"));if("function"!=typeof t)throw TypeError("".concat(t," is not a function"));var c=Array.from(i),u=c.length>>>0;return n.inSeries?u?function n(e,o){return Promise.resolve(e[o]).then(function(i){return e[o]=i,Promise.resolve(t.call(r,i,o,e)).then(function(t){return t?o:o===u-1?-1:n(e,o+1)})})}(c,0):-1:Object(o.a)(c,t,r).then(function(t){return t.indexOf(!0)})})}},function(t,n,r){"use strict";r.r(n);var e=r(1),o=r(0);n.default=function(t){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this.then(function(i){if(!Object(e.a)(i))throw TypeError("indexOfAF cannot be called on ".concat(i,", only on an Array, String, or array-like Object"));var c=i.length>>>0,u=0|r;return"string"==typeof i?i.indexOf(t,u):n.inSeries?function n(r){return Promise.resolve(i[r]).then(function(e){return r in i&&e===t?r:r>=c-1?-1:n(r+1)})}(Math.max(u>=0?u:c-Math.abs(u),0)):Object(o.a)(i).then(function(n){return n.indexOf(t,u)})})}},function(t,n,r){"use strict";r.r(n);var e=r(1),o=r(0);n.default=function(t){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(i){if(!Object(e.a)(i))throw TypeError("lastIndexOfAF cannot be called on ".concat(i,", only on an Array, String, or array-like Object"));var c=i.length>>>0,u=+r;return Number.isNaN(u)&&(u=c-1),"string"==typeof i?i.lastIndexOf(t,u):n.inSeries?function n(r){return Promise.resolve(i[r]).then(function(e){return r in i&&e===t?r:r<=0?-1:n(r-1)})}(Math.min(u>=0?u:Math.max(c-Math.abs(u),0),c-1)):Object(o.a)(i).then(function(n){return n.lastIndexOf(t,u)})})}},function(t,n,r){"use strict";r.r(n);var e=r(1),o=r(0),i=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:",";return this.then(function(n){if(!Object(e.a)(n))throw TypeError("joinAF cannot be called on ".concat(n,", only on an Array or array-like Object"));return Object(o.a)(n).then(function(n){return n.join(t)})})};Object.defineProperty(i,"length",{value:1}),n.default=i},function(t,n,r){"use strict";r.r(n);var e=function(t){return Promise[Array.isArray(t)?"all":"resolve"](t)};n.default=function(){for(var t=this,n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var i=function(n){return[Promise,t.constructor].some(function(t){return n instanceof t})},c=function(t,n){return i(n)&&n.then(e).then(function(n){return t.concat(n)})||t.concat(n)};return this.then(function(t){if("string"!=typeof t&&!Array.isArray(t))throw TypeError("concatAF cannot be called on ".concat(t,", only on an Array or String"));return e(t).then(function(t){return r.reduce(function(t,n){return i(t)?t.then(function(t){return c(t,n)}):c(t,n)},t)})})}},function(t,n,r){"use strict";r.r(n),n.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if("string"!=typeof r||Array.isArray(r))throw TypeError("splitAF may be called on a string but was called on ".concat(r));return String.prototype.split.call(r,t,n)})}},function(t,n,r){"use strict";r.r(n);var e=r(8),o=r.n(e),i=r(4),c=r.n(i),u=r(5),a=r.n(u);function f(){var t=c()(["/"]);return f=function(){return t},t}function l(){var t=c()(["/"]);return l=function(){return t},t}function s(){var t=c()(["/"]);return s=function(){return t},t}function p(){var t=c()([":"]);return p=function(){return t},t}function y(){var t=c()(["/"]);return y=function(){return t},t}function h(){var t=c()(["/"]);return h=function(){return t},t}function b(){var t=c()(["/"]);return b=function(){return t},t}function d(){var t=c()(["\n"],["\\n"]);return d=function(){return t},t}var v=r(3),O=function t(){for(var n=arguments.length,r=Array(n),e=0;e<n;e++)r[e]=arguments[e];t.label&&r.unshift(t.setFormat(t.labelFormat));var i=Date.now();return Promise.all(r).then(function(n){if(t.duration){var r=((Date.now()-i)/1e3).toFixed(3);n.push("\n in ".concat(r," secs"))}t.wrappedLog.apply(t,[""].concat(o()(n)))})};Object.defineProperties(O,{wrappedLog:{value:function(){var t;console&&console.log&&(t=console).log.apply(t,arguments)},writable:!0},wrappedWarn:{value:function(){var t;console&&console.warn&&(t=console).warn.apply(t,arguments)},writable:!0},setFormat:{value:function(t){var n=Error();if(!n.stack)return"";var r=n.stack.split(d()).filter(function(t,n,r){return/logAF(?:\s+|\s+\[.+\]\s+)\(/.test(r[n?n-1:n])||/logAfStub(?:\s+|\s+\[.+\]\s+)\(/.test(r[n])}),e=a()(r,1)[0],o=e.slice(e.indexOf(b())).replace(")",""),i=o.lastIndexOf(h()),c={file:function(){return"@".concat(o.slice(i+1),":\n")},path:function(){return"@".concat(o,":\n")},parent:function(){var t=o.slice(0,i).lastIndexOf(y())+1;return"@".concat(o.slice(t),":\n")},arrow:function(){return"========================>"}};return c[t]?c[t]():function(t,n,r){if("string"==typeof t)return t;var e=n.split(p()),o=a()(e,3),i=o[0],c=o[1],u=o[2],y=(i=i.split(s())).pop();i=i.join(l());var h="".concat(i.split(f()).pop(),"/");return t({path:i+="/",line:c,col:u,file:y,parent:h,arrow:r})}(t,o,c.arrow())},writable:!0},options:{value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.label,r=t.duration,e=t.labelFormat;"boolean"==typeof n&&(m.label=n),"boolean"==typeof r&&(m.duration=r),e&&("string"==typeof e||"function"==typeof e?m.labelFormat=e:m.wrappedWarn("Warning: logAF labelFormat option must be set to 'file' (default), 'path', 'parent', 'arrow', or a custom string or function\n"))},writable:!0}}),(O.options.reset=function(){O.label=!0,O.labelFormat="file",O.duration=!0})();var m=n.default=Object(v.a)(O,"logAF")},function(t,n){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}},function(t,n){t.exports=function(t){if(Array.isArray(t)){for(var n=0,r=Array(t.length);n<t.length;n++)r[n]=t[n];return r}}},function(t,n){t.exports=function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}},function(t,n){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},,function(t,n,r){"use strict";r.r(n);var e=r(7),o=r.n(e),i=r(4),c=r.n(i),u=r(5),a=r.n(u),f=r(10),l=r.n(f),s=r(11),p=r.n(s),y=r(12),h=r.n(y),b=r(13),d=r.n(b),v=r(14),O=r(15),m=r(8),A=r.n(m),j=r(3),g=r(37),w=r(23),x=r(24),P=r(25),F=r(26),S=r(27),E=r(28),T=r(29),k=r(30),M=r(31),_=r(32),W=r(33),I=r(34),N=r(35),R=r(36),D=function(t){return"@async-af/".concat(t.replace(/AsyncAf|AF/g,"").toLowerCase())},L="".concat("./lib/","classes/"),z=[[{name:"AsyncAF"},"".concat(L,"AsyncAF"),"async-af"],[{name:"AsyncAfWrapper"},"".concat(L,"AsyncAfWrapper"),D("AsyncAfWrapper")]],B=[Object(j.a)(g.default,"logAF")].map(function(t){return[t,"".concat("./lib/","methods/other/").concat(t.name),D(t.name)]}),C=[Object(j.a)(w.default,"mapAF"),Object(j.a)(x.default,"forEachAF"),Object(j.a)(P.default,"filterAF"),Object(j.a)(F.default,"reduceAF"),Object(j.a)(S.default,"everyAF"),Object(j.a)(E.default,"someAF"),Object(j.a)(T.default,"includesAF"),Object(j.a)(k.default,"findAF"),Object(j.a)(M.default,"findIndexAF"),Object(j.a)(_.default,"indexOfAF"),Object(j.a)(W.default,"lastIndexOfAF"),Object(j.a)(I.default,"joinAF"),Object(j.a)(N.default,"concatAF")].map(function(t){return[t,"".concat("./lib/","methods/arrays/").concat(t.name),D(t.name)]}),q=[Object(j.a)(R.default,"splitAF")].map(function(t){return[t,"".concat("./lib/","methods/strings/").concat(t.name),D(t.name)]}),G=[].concat(A()(C),A()(q)),H=([].concat(z,A()(B),A()(G),[]),function(t){return t.map(function(t){return a()(t,1)[0]})}),J=H(B),K=H(G);function Q(){var t=c()(["AF"]);return Q=function(){return t},t}var U=Object(v.a)(function(t){function n(){return l()(this,n),p()(this,h()(n).apply(this,arguments))}return d()(n,t),n}(O.AsyncAfWrapperProto)),V=function(t){return t.reduce(function(t,n){var r=n.name.split(Q())||[n.name],e=a()(r,1)[0];return Object.assign(t,o()({},n.name,{value:n}),o()({},e,{value:n}))},{})};Object.defineProperties(O.AsyncAfWrapperProto,V(J)),Object.defineProperties(O.AsyncAfWrapperProto.prototype,V(K)),n.default=U}]).default},"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define("AsyncAF",[],n):"object"==typeof exports?exports.AsyncAF=n():t.AsyncAF=n(); //# sourceMappingURL=min.js.map