Socket
Socket
Sign inDemoInstall

async-af

Package Overview
Dependencies
0
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.2.0 to 5.3.0

88

esm/index.js
/*!
* async-af/esm v5.2.0
* async-af/esm v5.3.0
*

@@ -1295,2 +1295,86 @@ * AsyncAF (Async/Await Fun)

/**
* merges an array or string with one or more arrays, strings, or other values, and returns a new array or string;
*
* concatAF flexibly accepts arrays, strings, promises, other values, or other instances of AsyncAF; see examples
*
* @param {any} values arrays, strings, or values to concatenate into a new array or string
* - if any values are a Promise, they'll first be resolved then concatenated
* - if any values are an instance of AsyncAF, they'll be merged into one instance
* @returns {Promise.<Array>|Promise.<String>} `Promise` that resolves to a newly merged array or string
* @example
*
* // arrays
* const arr = Promise.resolve([1, 2]);
* AsyncAF(arr).concatAF([3, 4]); // Promise that resolves to [1, 2, 3, 4]
* AsyncAF(arr).concatAF([3, 4], [5, 6]); // Promise that resolves to [1, 2, 3, 4, 5, 6]
*
* // nested arrays
* const arr1 = Promise.resolve([1, 2]);
* const arr2 = [3, [4, 5]];
* AsyncAF(arr1).concatAF(arr2); // Promise that resolves to [1, 2, 3, [4, 5]]
*
* // strings
* const str = Promise.resolve('str');
* AsyncAF(str).concatAF('ing'); // Promise that resolves to 'string'
* AsyncAF(str).concatAF('ing', 'y'); // Promise that resolves to 'stringy'
*
* // other instances of AsyncAF
* const aaf1 = AsyncAF([1, 2]);
* const aaf2 = AsyncAF(3);
*
* aaf1.concatAF(aaf2); // Promise that resolves to [1, 2, 3];
*
* const aaf3 = AsyncAF('stringy');
* const aaf4 = AsyncAF('AF');
*
* aaf3.concatAF(aaf4); // Promise that resolves to 'stringyAF'
*
* // promises
* const [p1, p2, p3] = [[1, 2], 3, [4, [5, 6]]].map(v => Promise.resolve(v));
*
* AsyncAF(p1).concatAF(p2); // Promise that resolves to [1, 2, 3]
* AsyncAF(p1).concatAF(p2, p3) // Promise that resolves to [1, 2, 3, 4, [5, 6]]
*
* const pStr1 = Promise.resolve('str');
* const pStr2 = Promise.resolve('ing');
* const pStr3 = Promise.resolve('y');
*
* AsyncAF(pStr1).concatAF(pStr2); // Promise that resolves to 'string'
* AsyncAF(pStr1).concatAF(pStr2, pStr3); // Promise that resolves to 'stringy'
*
* // Note: concatAF will not resolve deeply nested promises; if you need this behavior, concatAF can be used in a
* // function; for example, this function recursively flattens an array of promises
*
* const flattenAsync = arr => AsyncAF(arr).reduceAF(async (acc, val) => {
* return Array.isArray(await val)
* ? AsyncAF(acc).concatAF(flattenAsync(val))
* : AsyncAF(acc).concatAF(val), []);
* };
*
* @since 5.3.0
* @see concat
* @memberof AsyncAF#
*/
var concatAF = function concatAF() {
var _this = this;
for (var _len = arguments.length, values = new Array(_len), _key = 0; _key < _len; _key++) {
values[_key] = arguments[_key];
}
return this.then(function (arrOrStr) {
if (!(typeof arrOrStr === 'string' || Array.isArray(arrOrStr))) throw TypeError("concatAF cannot be called on ".concat(arrOrStr, ", only on an Array or String"));
return values.reduce(function (arrOrStr, value) {
return arrOrStr instanceof Promise ? arrOrStr.then(function (arrOrStr) {
return value instanceof _this.constructor || value instanceof Promise ? value.then(function (value) {
return arrOrStr.concat(value);
}) : arrOrStr.concat(value);
}, arrOrStr) : value instanceof _this.constructor || value instanceof Promise ? value.then(function (value) {
return arrOrStr.concat(value);
}) : arrOrStr.concat(value);
}, arrOrStr);
});
};
/**
* splits a string into an array of substrings, using a specified separator to determine where to make each split

@@ -1374,3 +1458,3 @@ *

});
var arrayMethods = [nameFunction(mapAF, 'mapAF'), nameFunction(forEachAF, 'forEachAF'), nameFunction(filterAF, 'filterAF'), nameFunction(reduceAF, 'reduceAF'), nameFunction(everyAF, 'everyAF'), nameFunction(someAF, 'someAF'), nameFunction(includesAF, 'includesAF'), nameFunction(findAF, 'findAF'), nameFunction(findIndexAF, 'findIndexAF'), nameFunction(indexOfAF, 'indexOfAF'), nameFunction(lastIndexOfAF, 'lastIndexOfAF'), nameFunction(joinAF, 'joinAF')].map(function (method) {
var arrayMethods = [nameFunction(mapAF, 'mapAF'), nameFunction(forEachAF, 'forEachAF'), nameFunction(filterAF, 'filterAF'), nameFunction(reduceAF, 'reduceAF'), nameFunction(everyAF, 'everyAF'), nameFunction(someAF, 'someAF'), nameFunction(includesAF, 'includesAF'), nameFunction(findAF, 'findAF'), nameFunction(findIndexAF, 'findIndexAF'), nameFunction(indexOfAF, 'indexOfAF'), nameFunction(lastIndexOfAF, 'lastIndexOfAF'), nameFunction(joinAF, 'joinAF'), nameFunction(concatAF, 'concatAF')].map(function (method) {
return [method, "".concat(libPath, "methods/arrays/").concat(method.name), makeScoped(method.name)];

@@ -1377,0 +1461,0 @@ }); // strings

4

esm/min.js
/*!
* async-af/esm/min v5.2.0
* async-af/esm/min v5.3.0
*

@@ -12,3 +12,3 @@ * AsyncAF (Async/Await Fun)

*/
function t(n){return(t="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})(n)}function n(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}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)}}function e(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}function o(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");i(t.prototype,n&&n.prototype),n&&i(t,n)}function a(t){return(a=Object.getPrototypeOf||function(t){return t.__proto__})(t)}function i(t,n){return(i=Object.setPrototypeOf||function(t,n){return t.__proto__=n,t})(t,n)}function c(t,n){return!n||"object"!=typeof n&&"function"!=typeof n?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):n}function l(t,n){return n||(n=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))}function u(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var r=[],e=!0,o=!1,a=void 0;try{for(var i,c=t[Symbol.iterator]();!(e=(i=c.next()).done)&&(r.push(i.value),!n||r.length!==n);e=!0);}catch(t){o=!0,a=t}finally{try{e||null==c.return||c.return()}finally{if(o)throw a}}return r}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function f(t){return function(t){if(Array.isArray(t)){for(var n=0,r=Array(t.length);n<t.length;n++)r[n]=t[n];return r}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var y=function(){function t(r){n(this,t),this.data=Promise[Array.isArray(r)?"all":"resolve"](r)}var e,o;return e=t,(o=[{key:"then",value:function(t,n){return new this.constructor(this.data.then(t,n))}},{key:"catch",value:function(t){return this.then(null,t)}},{key:"finally",value:function(t){return this.data.finally(t)}}])&&r(e.prototype,o),t}(),p=function(t){function r(){return n(this,r),c(this,a(r).apply(this,arguments))}return o(r,y),r}(),s=p;(p=function(t){return new s(t)}).prototype=s.prototype,Object.setPrototypeOf(p,s),p.prototype.constructor=p,y.use=function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("object"!==t(n))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"!==t(r))throw TypeError("staticMethods param accepts an Object containing the staticMethods you'd like to add to AsyncAF");Object.assign(this.prototype,n),Object.assign(this,r)};var h=function(t,n){return Object.defineProperty(t,"name",{value:n,configurable:!0})},d=l([":"]),b=l(["/"]),v=l(["/"]),A=l(["/"]),g=l(["\n"],["\\n"]),m=l(["("]),w=l([")"]),O=l(["/"]),F=l(["/"]),j=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 o=Date.now();return Promise.all(r).then(function(n){if(t.duration){var r=((Date.now()-o)/1e3).toFixed(3);n.push("\nin ".concat(r," secs"))}t.wrappedLog.apply(t,f(n))})};Object.defineProperties(j,{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=u(n.stack.split(g).filter(function(t,n,r){return/logAF(\s+|\s+\[.+\]\s+)\(/.test(r[n?n-1:n])}),1)[0],e=r.slice(r.indexOf(m)+1,r.indexOf(w)),o=e.lastIndexOf(O),a={file:function(){return"@".concat(e.slice(o+1),":\n")},path:function(){return"@".concat(e,":\n")},parent:function(){var t=e.slice(0,o).lastIndexOf(F)+1;return"@".concat(e.slice(t),":\n")},arrow:function(){return"========================>"}};return a[t]?a[t]():function(t,n,r){if("string"==typeof t)return t;var e=u(n.split(d),3),o=e[0],a=e[1],i=e[2],c=(o=o.split(b)).pop();o=o.join(v);var l="".concat(o.split(A).pop(),"/");return t({path:o+="/",line:a,col:i,file:c,parent:l,arrow:r})}(t,e,a.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&&(E.label=n),"boolean"==typeof r&&(E.duration=r),e&&("string"==typeof e||"function"==typeof e?E.labelFormat=e:E.wrappedWarn("Warning: logAF labelFormat option must be set to 'file' (default), 'path', 'parent', 'arrow', or a custom string or function\n"))},writable:!0}}),(j.options.reset=function(){j.label=!0,j.labelFormat="file",j.duration=!0})();var E=h(j,"logAF"),k=function(t){return Array.isArray(t)||null!=t&&null!=t.length},T=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:",";return this.then(function(n){if(!k(n))throw TypeError("joinAF cannot be called on ".concat(n,", only on an Array or array-like Object"));return Array.prototype.join.call(n,t)})};Object.defineProperty(T,"length",{value:1});var x=function(t){return"@async-af/".concat(t.replace(/(AsyncAf|AF)/g,"").toLowerCase())},S="".concat("./lib/","classes/"),P=[[{name:"AsyncAF"},"".concat(S,"AsyncAF"),"async-af"],[{name:"AsyncAfWrapper"},"".concat(S,"AsyncAfWrapper"),x("AsyncAfWrapper")]],I=[h(E,"logAF")].map(function(t){return[t,"".concat("./lib/","methods/other/").concat(t.name),x(t.name)]}),_=[h(function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!k(r))throw TypeError("mapAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.map.call(r,t,n)})},"mapAF"),h(function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!k(r))throw TypeError("forEachAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.forEach.call(r,t,n)})},"forEachAF"),h(function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!k(r))throw TypeError("filterAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.filter.call(r,t,n)})},"filterAF"),h(function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this.then(function(r){if(!k(r))throw TypeError("reduceAF cannot be called on ".concat(r,", only on an Array or array-like Object"));if(!r.length&&null===n)throw TypeError("reduceAF cannot be called on an empty array without an initial value");return Array.prototype.reduce.call(r,t,n)})},"reduceAF"),h(function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!k(r))throw TypeError("everyAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.every.call(r,t,n)})},"everyAF"),h(function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!k(r))throw TypeError("someAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.some.call(r,t,n)})},"someAF"),h(function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this.then(function(r){if(!k(r))throw TypeError("includesAF cannot be called on ".concat(r,", only on an Array, String, or array-like Object"));return("string"==typeof r?String:Array).prototype.includes.call(r,t,n)})},"includesAF"),h(function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!k(r))throw TypeError("findAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.find.call(r,t,n)})},"findAF"),h(function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!k(r))throw TypeError("findIndexAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.findIndex.call(r,t,n)})},"findIndexAF"),h(function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this.then(function(r){if(!k(r))throw TypeError("indexOfAF cannot be called on ".concat(r,", only on an Array, String, or array-like Object"));return("string"==typeof r?String:Array).prototype.indexOf.call(r,t,n)})},"indexOfAF"),h(function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!k(r))throw TypeError("lastIndexOfAF cannot be called on ".concat(r,", only on an Array, String, or array-like Object"));return("string"==typeof r?String:Array).prototype.lastIndexOf.call(r,t,n||r.length-1)})},"lastIndexOfAF"),h(T,"joinAF")].map(function(t){return[t,"".concat("./lib/","methods/arrays/").concat(t.name),x(t.name)]}),W=[h(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)})},"splitAF")].map(function(t){return[t,"".concat("./lib/","methods/strings/").concat(t.name),x(t.name)]}),M=f(_).concat(f(W));P.concat(f(I),f(M),[]);var L=function(t){return t.map(function(t){return u(t,1)[0]})},z=L(I),C=L(M),D=l(["AF"]),R=function(t){function r(){return n(this,r),c(this,a(r).apply(this,arguments))}return o(r,y),r}(),q=R;(R=function(t){return new q(t)}).prototype=q.prototype,Object.setPrototypeOf(R,q),R.prototype.constructor=R;var B=function(t){return t.reduce(function(t,n){var r=u(n.name.split(D)||[n.name],1)[0];return Object.assign(t,e({},n.name,{value:n}),e({},r,{value:n}))},{})};Object.defineProperties(y,B(z)),Object.defineProperties(y.prototype,B(C));export default R;
function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(t)}function t(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function r(n,t){for(var r=0;r<t.length;r++){var e=t[r];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(n,e.key,e)}}function e(n,t,r){return t in n?Object.defineProperty(n,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[t]=r,n}function o(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");i(n.prototype,t&&t.prototype),t&&i(n,t)}function a(n){return(a=Object.getPrototypeOf||function(n){return n.__proto__})(n)}function i(n,t){return(i=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function c(n,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(n):t}function l(n,t){return t||(t=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(t)}}))}function u(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var r=[],e=!0,o=!1,a=void 0;try{for(var i,c=n[Symbol.iterator]();!(e=(i=c.next()).done)&&(r.push(i.value),!t||r.length!==t);e=!0);}catch(n){o=!0,a=n}finally{try{e||null==c.return||c.return()}finally{if(o)throw a}}return r}(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function f(n){return function(n){if(Array.isArray(n)){for(var t=0,r=Array(n.length);t<n.length;t++)r[t]=n[t];return r}}(n)||function(n){if(Symbol.iterator in Object(n)||"[object Arguments]"===Object.prototype.toString.call(n))return Array.from(n)}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var y=function(){function n(r){t(this,n),this.data=Promise[Array.isArray(r)?"all":"resolve"](r)}var e,o;return e=n,(o=[{key:"then",value:function(n,t){return new this.constructor(this.data.then(n,t))}},{key:"catch",value:function(n){return this.then(null,n)}},{key:"finally",value:function(n){return this.data.finally(n)}}])&&r(e.prototype,o),n}(),p=function(n){function r(){return t(this,r),c(this,a(r).apply(this,arguments))}return o(r,y),r}(),s=p;(p=function(n){return new s(n)}).prototype=s.prototype,Object.setPrototypeOf(p,s),p.prototype.constructor=p,y.use=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("object"!==n(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"!==n(r))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,r)};var h=function(n,t){return Object.defineProperty(n,"name",{value:t,configurable:!0})},d=l([":"]),b=l(["/"]),A=l(["/"]),v=l(["/"]),g=l(["\n"],["\\n"]),m=l(["("]),w=l([")"]),O=l(["/"]),F=l(["/"]),j=function n(){for(var t=arguments.length,r=Array(t),e=0;e<t;e++)r[e]=arguments[e];n.label&&r.unshift(n.setFormat(n.labelFormat));var o=Date.now();return Promise.all(r).then(function(t){if(n.duration){var r=((Date.now()-o)/1e3).toFixed(3);t.push("\nin ".concat(r," secs"))}n.wrappedLog.apply(n,f(t))})};Object.defineProperties(j,{wrappedLog:{value:function(){var n;console&&console.log&&(n=console).log.apply(n,arguments)},writable:!0},wrappedWarn:{value:function(){var n;console&&console.warn&&(n=console).warn.apply(n,arguments)},writable:!0},setFormat:{value:function(n){var t=Error();if(!t.stack)return"";var r=u(t.stack.split(g).filter(function(n,t,r){return/logAF(\s+|\s+\[.+\]\s+)\(/.test(r[t?t-1:t])}),1)[0],e=r.slice(r.indexOf(m)+1,r.indexOf(w)),o=e.lastIndexOf(O),a={file:function(){return"@".concat(e.slice(o+1),":\n")},path:function(){return"@".concat(e,":\n")},parent:function(){var n=e.slice(0,o).lastIndexOf(F)+1;return"@".concat(e.slice(n),":\n")},arrow:function(){return"========================>"}};return a[n]?a[n]():function(n,t,r){if("string"==typeof n)return n;var e=u(t.split(d),3),o=e[0],a=e[1],i=e[2],c=(o=o.split(b)).pop();o=o.join(A);var l="".concat(o.split(v).pop(),"/");return n({path:o+="/",line:a,col:i,file:c,parent:l,arrow:r})}(n,e,a.arrow())},writable:!0},options:{value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=n.label,r=n.duration,e=n.labelFormat;"boolean"==typeof t&&(E.label=t),"boolean"==typeof r&&(E.duration=r),e&&("string"==typeof e||"function"==typeof e?E.labelFormat=e:E.wrappedWarn("Warning: logAF labelFormat option must be set to 'file' (default), 'path', 'parent', 'arrow', or a custom string or function\n"))},writable:!0}}),(j.options.reset=function(){j.label=!0,j.labelFormat="file",j.duration=!0})();var E=h(j,"logAF"),T=function(n){return Array.isArray(n)||null!=n&&null!=n.length},k=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:",";return this.then(function(t){if(!T(t))throw TypeError("joinAF cannot be called on ".concat(t,", only on an Array or array-like Object"));return Array.prototype.join.call(t,n)})};Object.defineProperty(k,"length",{value:1});var x=function(n){return"@async-af/".concat(n.replace(/(AsyncAf|AF)/g,"").toLowerCase())},P="".concat("./lib/","classes/"),S=[[{name:"AsyncAF"},"".concat(P,"AsyncAF"),"async-af"],[{name:"AsyncAfWrapper"},"".concat(P,"AsyncAfWrapper"),x("AsyncAfWrapper")]],I=[h(E,"logAF")].map(function(n){return[n,"".concat("./lib/","methods/other/").concat(n.name),x(n.name)]}),_=[h(function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!T(r))throw TypeError("mapAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.map.call(r,n,t)})},"mapAF"),h(function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!T(r))throw TypeError("forEachAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.forEach.call(r,n,t)})},"forEachAF"),h(function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!T(r))throw TypeError("filterAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.filter.call(r,n,t)})},"filterAF"),h(function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this.then(function(r){if(!T(r))throw TypeError("reduceAF cannot be called on ".concat(r,", only on an Array or array-like Object"));if(!r.length&&null===t)throw TypeError("reduceAF cannot be called on an empty array without an initial value");return Array.prototype.reduce.call(r,n,t)})},"reduceAF"),h(function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!T(r))throw TypeError("everyAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.every.call(r,n,t)})},"everyAF"),h(function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!T(r))throw TypeError("someAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.some.call(r,n,t)})},"someAF"),h(function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this.then(function(r){if(!T(r))throw TypeError("includesAF cannot be called on ".concat(r,", only on an Array, String, or array-like Object"));return("string"==typeof r?String:Array).prototype.includes.call(r,n,t)})},"includesAF"),h(function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!T(r))throw TypeError("findAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.find.call(r,n,t)})},"findAF"),h(function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!T(r))throw TypeError("findIndexAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.findIndex.call(r,n,t)})},"findIndexAF"),h(function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this.then(function(r){if(!T(r))throw TypeError("indexOfAF cannot be called on ".concat(r,", only on an Array, String, or array-like Object"));return("string"==typeof r?String:Array).prototype.indexOf.call(r,n,t)})},"indexOfAF"),h(function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!T(r))throw TypeError("lastIndexOfAF cannot be called on ".concat(r,", only on an Array, String, or array-like Object"));return("string"==typeof r?String:Array).prototype.lastIndexOf.call(r,n,t||r.length-1)})},"lastIndexOfAF"),h(k,"joinAF"),h(function(){for(var n=this,t=arguments.length,r=Array(t),e=0;e<t;e++)r[e]=arguments[e];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 r.reduce(function(t,r){return t instanceof Promise?t.then(function(t){return r instanceof n.constructor||r instanceof Promise?r.then(function(n){return t.concat(n)}):t.concat(r)},t):r instanceof n.constructor||r instanceof Promise?r.then(function(n){return t.concat(n)}):t.concat(r)},t)})},"concatAF")].map(function(n){return[n,"".concat("./lib/","methods/arrays/").concat(n.name),x(n.name)]}),W=[h(function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,t=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,n,t)})},"splitAF")].map(function(n){return[n,"".concat("./lib/","methods/strings/").concat(n.name),x(n.name)]}),M=f(_).concat(f(W));S.concat(f(I),f(M),[]);var L=function(n){return n.map(function(n){return u(n,1)[0]})},z=L(I),C=L(M),D=l(["AF"]),R=function(n){function r(){return t(this,r),c(this,a(r).apply(this,arguments))}return o(r,y),r}(),q=R;(R=function(n){return new q(n)}).prototype=q.prototype,Object.setPrototypeOf(R,q),R.prototype.constructor=R;var B=function(n){return n.reduce(function(n,t){var r=u(t.name.split(D)||[t.name],1)[0];return Object.assign(n,e({},t.name,{value:t}),e({},r,{value:t}))},{})};Object.defineProperties(y,B(z)),Object.defineProperties(y.prototype,B(C));export default R;
//# sourceMappingURL=min.js.map
/*!
* async-af/legacy/min v5.2.0
* async-af/legacy/min v5.3.0
*

@@ -12,3 +12,3 @@ * AsyncAF (Async/Await Fun)

*/
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,{configurable:!1,enumerable:!0,get:e})},r.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},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=153)}([function(t,n){var r=t.exports={version:"2.5.5"};"number"==typeof __e&&(__e=r)},function(t,n,r){var e=r(35)("wks"),o=r(22),i=r(2).Symbol,c="function"==typeof i;(t.exports=function(t){return e[t]||(e[t]=c&&i[t]||(c?i:o)("Symbol."+t))}).store=e},function(t,n){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(t,n,r){"use strict";n.a=function(t){return Array.isArray(t)||null!=t&&null!=t.length}},function(t,n,r){var e=r(6);t.exports=function(t){if(!e(t))throw TypeError(t+" is not an object!");return t}},function(t,n,r){var e=r(2),o=r(0),i=r(14),c=r(10),u=r(11),a=function(t,n,r){var f,s,l,p=t&a.F,y=t&a.G,v=t&a.S,h=t&a.P,d=t&a.B,b=t&a.W,m=y?o:o[n]||(o[n]={}),x=m.prototype,g=y?e:v?e[n]:(e[n]||{}).prototype;for(f in y&&(r=n),r)(s=!p&&g&&void 0!==g[f])&&u(m,f)||(l=s?g[f]:r[f],m[f]=y&&"function"!=typeof g[f]?r[f]:d&&s?i(l,e):b&&g[f]==l?function(t){var n=function(n,r,e){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,r)}return new t(n,r,e)}return t.apply(this,arguments)};return n.prototype=t.prototype,n}(l):h&&"function"==typeof l?i(Function.call,l):l,h&&((m.virtual||(m.virtual={}))[f]=l,t&a.R&&x&&!x[f]&&c(x,f,l)))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,r){t.exports=!r(13)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n,r){var e=r(4),o=r(66),i=r(42),c=Object.defineProperty;n.f=r(7)?Object.defineProperty:function(t,n,r){if(e(t),n=i(n,!0),e(r),o)try{return c(t,n,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[n]=r.value),t}},function(t,n,r){var e=r(38),o=r(130);t.exports=function(t,n){return n||(n=t.slice(0)),o(e(t,{raw:{value:o(n)}}))}},function(t,n,r){var e=r(8),o=r(18);t.exports=r(7)?function(t,n,r){return e.f(t,n,o(1,r))}:function(t,n,r){return t[n]=r,t}},function(t,n){var r={}.hasOwnProperty;t.exports=function(t,n){return r.call(t,n)}},function(t,n){t.exports={}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,r){var e=r(19);t.exports=function(t,n,r){if(e(t),void 0===n)return t;switch(r){case 1:return function(r){return t.call(n,r)};case 2:return function(r,e){return t.call(n,r,e)};case 3:return function(r,e,o){return t.call(n,r,e,o)}}return function(){return t.apply(n,arguments)}}},function(t,n,r){var e=r(63),o=r(30);t.exports=function(t){return e(o(t))}},function(t,n,r){"use strict";n.a=function(t,n){return Object.defineProperty(t,"name",{value:n,configurable:!0})}},function(t,n){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n,r){"use strict";var e=r(84)(!0);r(52)(String,"String",function(t){this._t=t+"",this._i=0},function(){var t,n=this._t,r=this._i;return r>=n.length?{value:void 0,done:!0}:(t=e(n,r),this._i+=t.length,{value:t,done:!1})})},function(t,n,r){var e=r(8).f,o=r(11),i=r(1)("toStringTag");t.exports=function(t,n,r){t&&!o(t=r?t:t.prototype,i)&&e(t,i,{configurable:!0,value:n})}},function(t,n){var r=0,e=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+e).toString(36))}},function(t,n,r){var e=r(127),o=r(126),i=r(122);t.exports=function(t,n){return e(t)||o(t,n)||i()}},function(t,n){t.exports=!0},function(t,n,r){"use strict";var e=r(19);t.exports.f=function(t){return new function(t){var n,r;this.promise=new t(function(t,e){if(void 0!==n||void 0!==r)throw TypeError("Bad Promise constructor");n=t,r=e}),this.resolve=e(n),this.reject=e(r)}(t)}},function(t,n,r){r(88);for(var e=r(2),o=r(10),i=r(12),c=r(1)("toStringTag"),u="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),a=0;a<u.length;a++){var f=u[a],s=e[f],l=s&&s.prototype;l&&!l[c]&&o(l,c,f),i[f]=i.Array}},function(t,n,r){var e=r(30);t.exports=function(t){return Object(e(t))}},function(t,n,r){var e=r(35)("keys"),o=r(22);t.exports=function(t){return e[t]||(e[t]=o(t))}},function(t,n){var r=Math.ceil,e=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?e:r)(t)}},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,r){var e=r(64),o=r(34);t.exports=Object.keys||function(t){return e(t,o)}},function(t,n,r){var e=r(6),o=r(2).document,i=e(o)&&e(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,n,r){var e=r(17),o=r(1)("toStringTag"),i="Arguments"==e(function(){return arguments}());t.exports=function(t){var n,r,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,n){try{return t[n]}catch(t){}}(n=Object(t),o))?r:i?e(n):"Object"==(c=e(n))&&"function"==typeof n.callee?"Arguments":c}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n,r){var e=r(2),o=e["__core-js_shared__"]||(e["__core-js_shared__"]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,n,r){var e=r(29),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0}},function(t,n,r){t.exports=r(81)},function(t,n,r){t.exports=r(137)},function(t,n,r){var e=r(103),o=r(102),i=r(94);t.exports=function(t){return e(t)||o(t)||i()}},function(t,n,r){var e=r(33),o=r(1)("iterator"),i=r(12);t.exports=r(0).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[e(t)]}},function(t,n){n.f={}.propertyIsEnumerable},function(t,n,r){var e=r(6);t.exports=function(t,n){if(!e(t))return t;var r,o;if(n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!e(o=r.call(t)))return o;if(!n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n,r){t.exports=r(121)},function(t,n,r){var e=r(117),o=r(115);function i(t){return(i="function"==typeof o&&"symbol"==typeof e?function(t){return typeof t}:function(t){return t&&"function"==typeof o&&t.constructor===o&&t!==o.prototype?"symbol":typeof t})(t)}function c(n){return"function"==typeof o&&"symbol"===i(e)?t.exports=c=function(t){return i(t)}:t.exports=c=function(t){return t&&"function"==typeof o&&t.constructor===o&&t!==o.prototype?"symbol":i(t)},c(n)}t.exports=c},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){t.exports=r(133)},function(t,n,r){var e=r(4),o=r(6),i=r(25);t.exports=function(t,n){if(e(t),o(n)&&n.constructor===t)return n;var r=i.f(t);return(0,r.resolve)(n),r.promise}},function(t,n){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,n,r){var e,o,i,c=r(14),u=r(77),a=r(51),f=r(32),s=r(2),l=s.process,p=s.setImmediate,y=s.clearImmediate,v=s.MessageChannel,h=s.Dispatch,d=0,b={},m=function(){var t=+this;if(b.hasOwnProperty(t)){var n=b[t];delete b[t],n()}},x=function(t){m.call(t.data)};p&&y||(p=function(t){for(var n=[],r=1;arguments.length>r;)n.push(arguments[r++]);return b[++d]=function(){u("function"==typeof t?t:Function(t),n)},e(d),d},y=function(t){delete b[t]},"process"==r(17)(l)?e=function(t){l.nextTick(c(m,t,1))}:h&&h.now?e=function(t){h.now(c(m,t,1))}:v?(i=(o=new v).port2,o.port1.onmessage=x,e=c(i.postMessage,i,1)):s.addEventListener&&"function"==typeof postMessage&&!s.importScripts?(e=function(t){s.postMessage(t+"","*")},s.addEventListener("message",x,!1)):e="onreadystatechange"in f("script")?function(t){a.appendChild(f("script")).onreadystatechange=function(){a.removeChild(this),m.call(t)}}:function(t){setTimeout(c(m,t,1),0)}),t.exports={set:p,clear:y}},function(t,n,r){var e=r(4),o=r(19),i=r(1)("species");t.exports=function(t,n){var r,c=e(t).constructor;return void 0===c||void 0==(r=e(c)[i])?n:o(r)}},function(t,n,r){var e=r(2).document;t.exports=e&&e.documentElement},function(t,n,r){"use strict";var e=r(24),o=r(5),i=r(61),c=r(10),u=r(12),a=r(85),f=r(21),s=r(59),l=r(1)("iterator"),p=!([].keys&&"next"in[].keys()),y=function(){return this};t.exports=function(t,n,r,v,h,d,b){a(r,n,v);var m,x,g,O=function(t){if(!p&&t in _)return _[t];switch(t){case"keys":case"values":return function(){return new r(this,t)}}return function(){return new r(this,t)}},j=n+" Iterator",A="values"==h,w=!1,_=t.prototype,S=_[l]||_["@@iterator"]||h&&_[h],F=S||O(h),P=h?A?O("entries"):F:void 0,E="Array"==n&&_.entries||S;if(E&&(g=s(E.call(new t)))!==Object.prototype&&g.next&&(f(g,j,!0),e||"function"==typeof g[l]||c(g,l,y)),A&&S&&"values"!==S.name&&(w=!0,F=function(){return S.call(this)}),e&&!b||!p&&!w&&_[l]||c(_,l,F),u[n]=F,u[j]=y,h)if(m={values:A?F:O("values"),keys:d?F:O("keys"),entries:P},b)for(x in m)x in _||i(_,x,m[x]);else o(o.P+o.F*(p||w),n,m);return m}},function(t,n,r){var e=r(1)("iterator"),o=!1;try{var i=[7][e]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,n){if(!n&&!o)return!1;var r=!1;try{var i=[7],c=i[e]();c.next=function(){return{done:r=!0}},i[e]=function(){return c},t(i)}catch(t){}return r}},function(t,n,r){var e=r(12),o=r(1)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(e.Array===t||i[o]===t)}},function(t,n,r){var e=r(4);t.exports=function(t,n,r,o){try{return o?n(e(r)[0],r[1]):n(r)}catch(n){var i=t.return;throw void 0!==i&&e(i.call(t)),n}}},function(t,n){},function(t,n,r){var e=r(2),o=r(0),i=r(24),c=r(58),u=r(8).f;t.exports=function(t){var n=o.Symbol||(o.Symbol=i?{}:e.Symbol||{});"_"==t.charAt(0)||t in n||u(n,t,{value:c.f(t)})}},function(t,n,r){n.f=r(1)},function(t,n,r){var e=r(11),o=r(27),i=r(28)("IE_PROTO"),c=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),e(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c:null}},function(t,n,r){var e=r(4),o=r(65),i=r(34),c=r(28)("IE_PROTO"),u=function(){},a=function(){var t,n=r(32)("iframe"),e=i.length;for(n.style.display="none",r(51).appendChild(n),n.src="javascript:",(t=n.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),a=t.F;e--;)delete a.prototype[i[e]];return a()};t.exports=Object.create||function(t,n){var r;return null!==t?(u.prototype=e(t),r=new u,u.prototype=null,r[c]=t):r=a(),void 0===n?r:o(r,n)}},function(t,n,r){t.exports=r(10)},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,r){var e=r(17);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==e(t)?t.split(""):Object(t)}},function(t,n,r){var e=r(11),o=r(15),i=r(90)(!1),c=r(28)("IE_PROTO");t.exports=function(t,n){var r,u=o(t),a=0,f=[];for(r in u)r!=c&&e(u,r)&&f.push(r);for(;n.length>a;)e(u,r=n[a++])&&(~i(f,r)||f.push(r));return f}},function(t,n,r){var e=r(8),o=r(4),i=r(31);t.exports=r(7)?Object.defineProperties:function(t,n){o(t);for(var r,c=i(n),u=c.length,a=0;u>a;)e.f(t,r=c[a++],n[r]);return t}},function(t,n,r){t.exports=!r(7)&&!r(13)(function(){return 7!=Object.defineProperty(r(32)("div"),"a",{get:function(){return 7}}).a})},function(t,n,r){var e=r(106);function o(n){return t.exports=o=e||function(t){return t.__proto__},o(n)}t.exports=o},function(t,n,r){var e=r(44),o=r(107);t.exports=function(t,n){return!n||"object"!==e(n)&&"function"!=typeof n?o(t):n}},function(t,n,r){var e=r(118);t.exports=function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e(t.prototype,n&&n.prototype),n&&e(t,n)}},function(t,n,r){var e=r(5),o=r(0),i=r(13);t.exports=function(t,n){var r=(o.Object||{})[t]||Object[t],c={};c[t]=n(r),e(e.S+e.F*i(function(){r(1)}),"Object",c)}},function(t,n,r){var e=r(22)("meta"),o=r(6),i=r(11),c=r(8).f,u=0,a=Object.isExtensible||function(){return!0},f=!r(13)(function(){return a(Object.preventExtensions({}))}),s=function(t){c(t,e,{value:{i:"O"+ ++u,w:{}}})},l=t.exports={KEY:e,NEED:!1,fastKey:function(t,n){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,e)){if(!a(t))return"F";if(!n)return"E";s(t)}return t[e].i},getWeak:function(t,n){if(!i(t,e)){if(!a(t))return!0;if(!n)return!1;s(t)}return t[e].w},onFreeze:function(t){return f&&l.NEED&&a(t)&&!i(t,e)&&s(t),t}}},function(t,n,r){"use strict";var e=r(5),o=r(25),i=r(48);e(e.S,"Promise",{try:function(t){var n=o.f(this),r=i(t);return(r.e?n.reject:n.resolve)(r.v),n.promise}})},function(t,n,r){"use strict";var e=r(5),o=r(0),i=r(2),c=r(50),u=r(47);e(e.P+e.R,"Promise",{finally:function(t){var n=c(this,o.Promise||i.Promise),r="function"==typeof t;return this.then(r?function(r){return u(n,t()).then(function(){return r})}:t,r?function(r){return u(n,t()).then(function(){throw r})}:t)}})},function(t,n,r){"use strict";var e=r(2),o=r(0),i=r(8),c=r(7),u=r(1)("species");t.exports=function(t){var n="function"==typeof o[t]?o[t]:e[t];c&&n&&!n[u]&&i.f(n,u,{configurable:!0,get:function(){return this}})}},function(t,n,r){var e=r(10);t.exports=function(t,n,r){for(var o in n)r&&t[o]?t[o]=n[o]:e(t,o,n[o]);return t}},function(t,n,r){var e=r(2),o=r(49).set,i=e.MutationObserver||e.WebKitMutationObserver,c=e.process,u=e.Promise,a="process"==r(17)(c);t.exports=function(){var t,n,r,f=function(){var e,o;for(a&&(e=c.domain)&&e.exit();t;){o=t.fn,t=t.next;try{o()}catch(e){throw t?r():n=void 0,e}}n=void 0,e&&e.enter()};if(a)r=function(){c.nextTick(f)};else if(!i||e.navigator&&e.navigator.standalone)if(u&&u.resolve){var s=u.resolve();r=function(){s.then(f)}}else r=function(){o.call(e,f)};else{var l=!0,p=document.createTextNode("");new i(f).observe(p,{characterData:!0}),r=function(){p.data=l=!l}}return function(e){var o={fn:e,next:void 0};n&&(n.next=o),t||(t=o,r()),n=o}}},function(t,n){t.exports=function(t,n,r){var e=void 0===r;switch(n.length){case 0:return e?t():t.call(r);case 1:return e?t(n[0]):t.call(r,n[0]);case 2:return e?t(n[0],n[1]):t.call(r,n[0],n[1]);case 3:return e?t(n[0],n[1],n[2]):t.call(r,n[0],n[1],n[2]);case 4:return e?t(n[0],n[1],n[2],n[3]):t.call(r,n[0],n[1],n[2],n[3])}return t.apply(r,n)}},function(t,n,r){var e=r(14),o=r(55),i=r(54),c=r(4),u=r(36),a=r(40),f={},s={};(n=t.exports=function(t,n,r,l,p){var y,v,h,d,b=p?function(){return t}:a(t),m=e(r,l,n?2:1),x=0;if("function"!=typeof b)throw TypeError(t+" is not iterable!");if(i(b)){for(y=u(t.length);y>x;x++)if((d=n?m(c(v=t[x])[0],v[1]):m(t[x]))===f||d===s)return d}else for(h=b.call(t);!(v=h.next()).done;)if((d=o(h,m,v.value,n))===f||d===s)return d}).BREAK=f,n.RETURN=s},function(t,n){t.exports=function(t,n,r,e){if(!(t instanceof n)||void 0!==e&&e in t)throw TypeError(r+": incorrect invocation!");return t}},function(t,n,r){"use strict";var e,o,i,c,u=r(24),a=r(2),f=r(14),s=r(33),l=r(5),p=r(6),y=r(19),v=r(79),h=r(78),d=r(50),b=r(49).set,m=r(76)(),x=r(25),g=r(48),O=r(47),j=a.TypeError,A=a.process,w=a.Promise,_="process"==s(A),S=function(){},F=o=x.f,P=!!function(){try{var t=w.resolve(1),n=(t.constructor={})[r(1)("species")]=function(t){t(S,S)};return(_||"function"==typeof PromiseRejectionEvent)&&t.then(S)instanceof n}catch(t){}}(),E=function(t){var n;return!(!p(t)||"function"!=typeof(n=t.then))&&n},T=function(t,n){if(!t._n){t._n=!0;var r=t._c;m(function(){for(var e=t._v,o=1==t._s,i=0,c=function(n){var r,i,c,u=o?n.ok:n.fail,a=n.resolve,f=n.reject,s=n.domain;try{u?(o||(2==t._h&&L(t),t._h=1),!0===u?r=e:(s&&s.enter(),r=u(e),s&&(s.exit(),c=!0)),r===n.promise?f(j("Promise-chain cycle")):(i=E(r))?i.call(r,a,f):a(r)):f(e)}catch(t){s&&!c&&s.exit(),f(t)}};r.length>i;)c(r[i++]);t._c=[],t._n=!1,n&&!t._h&&k(t)})}},k=function(t){b.call(a,function(){var n,r,e,o=t._v,i=M(t);if(i&&(n=g(function(){_?A.emit("unhandledRejection",o,t):(r=a.onunhandledrejection)?r({promise:t,reason:o}):(e=a.console)&&e.error&&e.error("Unhandled promise rejection",o)}),t._h=_||M(t)?2:1),t._a=void 0,i&&n.e)throw n.v})},M=function(t){return 1!==t._h&&0===(t._a||t._c).length},L=function(t){b.call(a,function(){var n;_?A.emit("rejectionHandled",t):(n=a.onrejectionhandled)&&n({promise:t,reason:t._v})})},I=function(t){var n=this;n._d||(n._d=!0,(n=n._w||n)._v=t,n._s=2,n._a||(n._a=n._c.slice()),T(n,!0))},C=function(t){var n,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===t)throw j("Promise can't be resolved itself");(n=E(t))?m(function(){var e={_w:r,_d:!1};try{n.call(t,f(C,e,1),f(I,e,1))}catch(t){I.call(e,t)}}):(r._v=t,r._s=1,T(r,!1))}catch(t){I.call({_w:r,_d:!1},t)}}};P||(w=function(t){v(this,w,"Promise","_h"),y(t),e.call(this);try{t(f(C,this,1),f(I,this,1))}catch(t){I.call(this,t)}},(e=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=r(75)(w.prototype,{then:function(t,n){var r=F(d(this,w));return r.ok="function"!=typeof t||t,r.fail="function"==typeof n&&n,r.domain=_?A.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&T(this,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new e;this.promise=t,this.resolve=f(C,t,1),this.reject=f(I,t,1)},x.f=F=function(t){return t===w||t===c?new i(t):o(t)}),l(l.G+l.W+l.F*!P,{Promise:w}),r(21)(w,"Promise"),r(74)("Promise"),c=r(0).Promise,l(l.S+l.F*!P,"Promise",{reject:function(t){var n=F(this);return(0,n.reject)(t),n.promise}}),l(l.S+l.F*(u||!P),"Promise",{resolve:function(t){return O(u&&this===c?w:this,t)}}),l(l.S+l.F*!(P&&r(53)(function(t){w.all(t).catch(S)})),"Promise",{all:function(t){var n=this,r=F(n),e=r.resolve,o=r.reject,i=g(function(){var r=[],i=0,c=1;h(t,!1,function(t){var u=i++,a=!1;r.push(void 0),c++,n.resolve(t).then(function(t){a||(a=!0,r[u]=t,--c||e(r))},o)}),--c||e(r)});return i.e&&o(i.v),r.promise},race:function(t){var n=this,r=F(n),e=r.reject,o=g(function(){h(t,!1,function(t){n.resolve(t).then(r.resolve,e)})});return o.e&&e(o.v),r.promise}})},function(t,n,r){r(56),r(20),r(26),r(80),r(73),r(72),t.exports=r(0).Promise},function(t,n,r){var e=r(64),o=r(34).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return e(t,o)}},function(t,n,r){var e=r(41),o=r(18),i=r(15),c=r(42),u=r(11),a=r(66),f=Object.getOwnPropertyDescriptor;n.f=r(7)?f:function(t,n){if(t=i(t),n=c(n,!0),a)try{return f(t,n)}catch(t){}if(u(t,n))return o(!e.f.call(t,n),t[n])}},function(t,n,r){var e=r(29),o=r(30);t.exports=function(t){return function(n,r){var i,c,u=o(n)+"",a=e(r),f=u.length;return a<0||a>=f?t?"":void 0:(i=u.charCodeAt(a))<55296||i>56319||a+1===f||(c=u.charCodeAt(a+1))<56320||c>57343?t?u.charAt(a):i:t?u.slice(a,a+2):c-56320+(i-55296<<10)+65536}}},function(t,n,r){"use strict";var e=r(60),o=r(18),i=r(21),c={};r(10)(c,r(1)("iterator"),function(){return this}),t.exports=function(t,n,r){t.prototype=e(c,{next:o(1,r)}),i(t,n+" Iterator")}},function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},function(t,n){t.exports=function(){}},function(t,n,r){"use strict";var e=r(87),o=r(86),i=r(12),c=r(15);t.exports=r(52)(Array,"Array",function(t,n){this._t=c(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,r=this._i++;return!t||r>=t.length?(this._t=void 0,o(1)):o(0,"keys"==n?r:"values"==n?t[r]:[r,t[r]])},"values"),i.Arguments=i.Array,e("keys"),e("values"),e("entries")},function(t,n,r){var e=r(29),o=Math.max,i=Math.min;t.exports=function(t,n){return(t=e(t))<0?o(t+n,0):i(t,n)}},function(t,n,r){var e=r(15),o=r(36),i=r(89);t.exports=function(t){return function(n,r,c){var u,a=e(n),f=o(a.length),s=i(c,f);if(t&&r!=r){for(;f>s;)if((u=a[s++])!=u)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===r)return t||s||0;return!t&&-1}}},function(t,n,r){var e=r(93);function o(t,n){for(var r=0;r<n.length;r++){var o=n[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),e(t,o.key,o)}}t.exports=function(t,n,r){return n&&o(t.prototype,n),r&&o(t,r),t}},function(t,n,r){"use strict";r.r(n);var e=r(43),o=r.n(e),i=r(69),c=r.n(i),u=r(68),a=r.n(u),f=r(67),s=r.n(f),l=r(37),p=r.n(l),y=r(45),v=r.n(y),h=r(91),d=r.n(h),b=r(46),m=r.n(b),x=r(44),g=r.n(x);r.d(n,"AsyncAfWrapperProto",function(){return O});var O=function(){function t(n){v()(this,t),this.data=p.a[Array.isArray(n)?"all":"resolve"](n)}return d()(t,[{key:"then",value:function(t,n){return new this.constructor(this.data.then(t,n))}},{key:"catch",value:function(t){return this.then(null,t)}},{key:"finally",value:function(t){return this.data.finally(t)}}]),t}(),j=function(t){function n(){return v()(this,n),a()(this,s()(n).apply(this,arguments))}return c()(n,t),n}(O),A=j;(j=function(t){return new A(t)}).prototype=A.prototype,o()(j,A),j.prototype.constructor=j,O.use=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("object"!==g()(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"!==g()(n))throw TypeError("staticMethods param accepts an Object containing the staticMethods you'd like to add to AsyncAF");m()(this.prototype,t),m()(this,n)},n.default=j},function(t,n,r){t.exports=r(135)},function(t,n){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},function(t,n,r){var e=r(33),o=r(1)("iterator"),i=r(12);t.exports=r(0).isIterable=function(t){var n=Object(t);return void 0!==n[o]||"@@iterator"in n||i.hasOwnProperty(e(n))}},function(t,n,r){r(26),r(20),t.exports=r(95)},function(t,n,r){t.exports=r(96)},function(t,n,r){"use strict";var e=r(8),o=r(18);t.exports=function(t,n,r){n in t?e.f(t,n,o(0,r)):t[n]=r}},function(t,n,r){"use strict";var e=r(14),o=r(5),i=r(27),c=r(55),u=r(54),a=r(36),f=r(98),s=r(40);o(o.S+o.F*!r(53)(function(t){Array.from(t)}),"Array",{from:function(t){var n,r,o,l,p=i(t),y="function"==typeof this?this:Array,v=arguments.length,h=v>1?arguments[1]:void 0,d=void 0!==h,b=0,m=s(p);if(d&&(h=e(h,v>2?arguments[2]:void 0,2)),void 0==m||y==Array&&u(m))for(r=new y(n=a(p.length));n>b;b++)f(r,b,d?h(p[b],b):p[b]);else for(l=m.call(p),r=new y;!(o=l.next()).done;b++)f(r,b,d?c(l,h,[o.value,b],!0):o.value);return r.length=b,r}})},function(t,n,r){r(20),r(99),t.exports=r(0).Array.from},function(t,n,r){t.exports=r(100)},function(t,n,r){var e=r(101),o=r(97);t.exports=function(t){if(o(Object(t))||"[object Arguments]"===Object.prototype.toString.call(t))return e(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,r){var e=r(27),o=r(59);r(70)("getPrototypeOf",function(){return function(t){return o(e(t))}})},function(t,n,r){r(104),t.exports=r(0).Object.getPrototypeOf},function(t,n,r){t.exports=r(105)},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,r){r(57)("observable")},function(t,n,r){r(57)("asyncIterator")},function(t,n,r){var e=r(15),o=r(82).f,i={}.toString,c="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return c&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return c.slice()}}(t):o(e(t))}},function(t,n,r){var e=r(17);t.exports=Array.isArray||function(t){return"Array"==e(t)}},function(t,n,r){var e=r(31),o=r(62),i=r(41);t.exports=function(t){var n=e(t),r=o.f;if(r)for(var c,u=r(t),a=i.f,f=0;u.length>f;)a.call(t,c=u[f++])&&n.push(c);return n}},function(t,n,r){"use strict";var e=r(2),o=r(11),i=r(7),c=r(5),u=r(61),a=r(71).KEY,f=r(13),s=r(35),l=r(21),p=r(22),y=r(1),v=r(58),h=r(57),d=r(112),b=r(111),m=r(4),x=r(6),g=r(15),O=r(42),j=r(18),A=r(60),w=r(110),_=r(83),S=r(8),F=r(31),P=_.f,E=S.f,T=w.f,k=e.Symbol,M=e.JSON,L=M&&M.stringify,I=y("_hidden"),C=y("toPrimitive"),N={}.propertyIsEnumerable,W=s("symbol-registry"),R=s("symbols"),D=s("op-symbols"),G=Object.prototype,V="function"==typeof k,z=e.QObject,B=!z||!z.prototype||!z.prototype.findChild,H=i&&f(function(){return 7!=A(E({},"a",{get:function(){return E(this,"a",{value:7}).a}})).a})?function(t,n,r){var e=P(G,n);e&&delete G[n],E(t,n,r),e&&t!==G&&E(G,n,e)}:E,K=function(t){var n=R[t]=A(k.prototype);return n._k=t,n},J=V&&"symbol"==typeof k.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof k},U=function(t,n,r){return t===G&&U(D,n,r),m(t),n=O(n,!0),m(r),o(R,n)?(r.enumerable?(o(t,I)&&t[I][n]&&(t[I][n]=!1),r=A(r,{enumerable:j(0,!1)})):(o(t,I)||E(t,I,j(1,{})),t[I][n]=!0),H(t,n,r)):E(t,n,r)},q=function(t,n){m(t);for(var r,e=d(n=g(n)),o=0,i=e.length;i>o;)U(t,r=e[o++],n[r]);return t},Y=function(t){var n=N.call(this,t=O(t,!0));return!(this===G&&o(R,t)&&!o(D,t))&&(!(n||!o(this,t)||!o(R,t)||o(this,I)&&this[I][t])||n)},Q=function(t,n){if(t=g(t),n=O(n,!0),t!==G||!o(R,n)||o(D,n)){var r=P(t,n);return!r||!o(R,n)||o(t,I)&&t[I][n]||(r.enumerable=!0),r}},X=function(t){for(var n,r=T(g(t)),e=[],i=0;r.length>i;)o(R,n=r[i++])||n==I||n==a||e.push(n);return e},Z=function(t){for(var n,r=t===G,e=T(r?D:g(t)),i=[],c=0;e.length>c;)!o(R,n=e[c++])||r&&!o(G,n)||i.push(R[n]);return i};V||(u((k=function(){if(this instanceof k)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),n=function(r){this===G&&n.call(D,r),o(this,I)&&o(this[I],t)&&(this[I][t]=!1),H(this,t,j(1,r))};return i&&B&&H(G,t,{configurable:!0,set:n}),K(t)}).prototype,"toString",function(){return this._k}),_.f=Q,S.f=U,r(82).f=w.f=X,r(41).f=Y,r(62).f=Z,i&&!r(24)&&u(G,"propertyIsEnumerable",Y,!0),v.f=function(t){return K(y(t))}),c(c.G+c.W+c.F*!V,{Symbol:k});for(var $="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),tt=0;$.length>tt;)y($[tt++]);for(var nt=F(y.store),rt=0;nt.length>rt;)h(nt[rt++]);c(c.S+c.F*!V,"Symbol",{for:function(t){return o(W,t+="")?W[t]:W[t]=k(t)},keyFor:function(t){if(!J(t))throw TypeError(t+" is not a symbol!");for(var n in W)if(W[n]===t)return n},useSetter:function(){B=!0},useSimple:function(){B=!1}}),c(c.S+c.F*!V,"Object",{create:function(t,n){return void 0===n?A(t):q(A(t),n)},defineProperty:U,defineProperties:q,getOwnPropertyDescriptor:Q,getOwnPropertyNames:X,getOwnPropertySymbols:Z}),M&&c(c.S+c.F*(!V||f(function(){var t=k();return"[null]"!=L([t])||"{}"!=L({a:t})||"{}"!=L(Object(t))})),"JSON",{stringify:function(t){for(var n,r,e=[t],o=1;arguments.length>o;)e.push(arguments[o++]);if(r=n=e[1],(x(n)||void 0!==t)&&!J(t))return b(n)||(n=function(t,n){if("function"==typeof r&&(n=r.call(this,t,n)),!J(n))return n}),e[1]=n,L.apply(M,e)}}),k.prototype[C]||r(10)(k.prototype,C,k.prototype.valueOf),l(k,"Symbol"),l(Math,"Math",!0),l(e.JSON,"JSON",!0)},function(t,n,r){r(113),r(56),r(109),r(108),t.exports=r(0).Symbol},function(t,n,r){t.exports=r(114)},function(t,n,r){r(20),r(26),t.exports=r(58).f("iterator")},function(t,n,r){t.exports=r(116)},function(t,n,r){var e=r(43);function o(n,r){return t.exports=o=e||function(t,n){return t.__proto__=n,t},o(n,r)}t.exports=o},function(t,n,r){var e=r(6),o=r(4),i=function(t,n){if(o(t),!e(n)&&null!==n)throw TypeError(n+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,e){try{(e=r(14)(Function.call,r(83).f(Object.prototype,"__proto__").set,2))(t,[]),n=!(t instanceof Array)}catch(t){n=!0}return function(t,r){return i(t,r),n?t.__proto__=r:e(t,r),t}}({},!1):void 0),check:i}},function(t,n,r){var e=r(5);e(e.S,"Object",{setPrototypeOf:r(119).set})},function(t,n,r){r(120),t.exports=r(0).Object.setPrototypeOf},function(t,n){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(t,n,r){var e=r(4),o=r(40);t.exports=r(0).getIterator=function(t){var n=o(t);if("function"!=typeof n)throw TypeError(t+" is not iterable!");return e(n.call(t))}},function(t,n,r){r(26),r(20),t.exports=r(123)},function(t,n,r){t.exports=r(124)},function(t,n,r){var e=r(125);t.exports=function(t,n){var r=[],o=!0,i=!1,c=void 0;try{for(var u,a=e(t);!(o=(u=a.next()).done)&&(r.push(u.value),!n||r.length!==n);o=!0);}catch(t){i=!0,c=t}finally{try{o||null==a.return||a.return()}finally{if(i)throw c}}return r}},function(t,n){t.exports=function(t){if(Array.isArray(t))return t}},function(t,n,r){var e=r(6),o=r(71).onFreeze;r(70)("freeze",function(t){return function(n){return t&&e(n)?t(o(n)):n}})},function(t,n,r){r(128),t.exports=r(0).Object.freeze},function(t,n,r){t.exports=r(129)},function(t,n,r){"use strict";var e=r(31),o=r(62),i=r(41),c=r(27),u=r(63),a=Object.assign;t.exports=!a||r(13)(function(){var t={},n={},r=Symbol(),e="abcdefghijklmnopqrst";return t[r]=7,e.split("").forEach(function(t){n[t]=t}),7!=a({},t)[r]||Object.keys(a({},n)).join("")!=e})?function(t,n){for(var r=c(t),a=arguments.length,f=1,s=o.f,l=i.f;a>f;)for(var p,y=u(arguments[f++]),v=s?e(y).concat(s(y)):e(y),h=v.length,d=0;h>d;)l.call(y,p=v[d++])&&(r[p]=y[p]);return r}:a},function(t,n,r){var e=r(5);e(e.S+e.F,"Object",{assign:r(131)})},function(t,n,r){r(132),t.exports=r(0).Object.assign},function(t,n,r){var e=r(5);e(e.S+e.F*!r(7),"Object",{defineProperty:r(8).f})},function(t,n,r){r(134);var e=r(0).Object;t.exports=function(t,n,r){return e.defineProperty(t,n,r)}},function(t,n,r){var e=r(5);e(e.S+e.F*!r(7),"Object",{defineProperties:r(65)})},function(t,n,r){r(136);var e=r(0).Object;t.exports=function(t,n){return e.defineProperties(t,n)}},function(t,n,r){"use strict";r.r(n);var e=r(38),o=r.n(e),i=r(39),c=r.n(i),u=r(37),a=r.n(u),f=r(9),s=r.n(f),l=r(23),p=r.n(l),y=s()([":"]),v=s()(["/"]),h=s()(["/"]),d=s()(["/"]),b=s()(["\n"],["\\n"]),m=s()(["("]),x=s()([")"]),g=s()(["/"]),O=s()(["/"]),j=r(16),A=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 o=Date.now();return a.a.all(r).then(function(n){if(t.duration){var r=((Date.now()-o)/1e3).toFixed(3);n.push("\nin ".concat(r," secs"))}t.wrappedLog.apply(t,c()(n))})};o()(A,{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(b).filter(function(t,n,r){return/logAF(\s+|\s+\[.+\]\s+)\(/.test(r[n?n-1:n])}),e=p()(r,1)[0],o=e.slice(e.indexOf(m)+1,e.indexOf(x)),i=o.lastIndexOf(g),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(O)+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(y),o=p()(e,3),i=o[0],c=o[1],u=o[2],a=(i=i.split(v)).pop();i=i.join(h);var f="".concat(i.split(d).pop(),"/");return t({path:i+="/",line:c,col:u,file:a,parent:f,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&&(w.label=n),"boolean"==typeof r&&(w.duration=r),e&&("string"==typeof e||"function"==typeof e?w.labelFormat=e:w.wrappedWarn("Warning: logAF labelFormat option must be set to 'file' (default), 'path', 'parent', 'arrow', or a custom string or function\n"))},writable:!0}}),(A.options.reset=function(){A.label=!0,A.labelFormat="file",A.duration=!0})();var w=n.default=Object(j.a)(A,"logAF")},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(3),o=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 Array.prototype.join.call(n,t)})};Object.defineProperty(o,"length",{value:1}),n.default=o},function(t,n,r){"use strict";r.r(n);var e=r(3);n.default=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!Object(e.a)(r))throw TypeError("lastIndexOfAF cannot be called on ".concat(r,", only on an Array, String, or array-like Object"));return("string"==typeof r?String:Array).prototype.lastIndexOf.call(r,t,n||r.length-1)})}},function(t,n,r){"use strict";r.r(n);var e=r(3);n.default=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this.then(function(r){if(!Object(e.a)(r))throw TypeError("indexOfAF cannot be called on ".concat(r,", only on an Array, String, or array-like Object"));return("string"==typeof r?String:Array).prototype.indexOf.call(r,t,n)})}},function(t,n,r){"use strict";r.r(n);var e=r(3);n.default=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!Object(e.a)(r))throw TypeError("findIndexAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.findIndex.call(r,t,n)})}},function(t,n,r){"use strict";r.r(n);var e=r(3);n.default=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!Object(e.a)(r))throw TypeError("findAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.find.call(r,t,n)})}},function(t,n,r){"use strict";r.r(n);var e=r(3);n.default=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this.then(function(r){if(!Object(e.a)(r))throw TypeError("includesAF cannot be called on ".concat(r,", only on an Array, String, or array-like Object"));return("string"==typeof r?String:Array).prototype.includes.call(r,t,n)})}},function(t,n,r){"use strict";r.r(n);var e=r(3);n.default=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!Object(e.a)(r))throw TypeError("someAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.some.call(r,t,n)})}},function(t,n,r){"use strict";r.r(n);var e=r(3);n.default=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!Object(e.a)(r))throw TypeError("everyAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.every.call(r,t,n)})}},function(t,n,r){"use strict";r.r(n);var e=r(3);n.default=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this.then(function(r){if(!Object(e.a)(r))throw TypeError("reduceAF cannot be called on ".concat(r,", only on an Array or array-like Object"));if(!r.length&&null===n)throw TypeError("reduceAF cannot be called on an empty array without an initial value");return Array.prototype.reduce.call(r,t,n)})}},function(t,n,r){"use strict";r.r(n);var e=r(3);n.default=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!Object(e.a)(r))throw TypeError("filterAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.filter.call(r,t,n)})}},function(t,n,r){"use strict";r.r(n);var e=r(3);n.default=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!Object(e.a)(r))throw TypeError("forEachAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.forEach.call(r,t,n)})}},function(t,n,r){"use strict";r.r(n);var e=r(3);n.default=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!Object(e.a)(r))throw TypeError("mapAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.map.call(r,t,n)})}},function(t,n,r){var e=r(93);t.exports=function(t,n,r){return n in t?e(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}},function(t,n,r){"use strict";r.r(n);var e=r(38),o=r.n(e),i=r(152),c=r.n(i),u=r(46),a=r.n(u),f=r(9),s=r.n(f),l=r(23),p=r.n(l),y=r(43),v=r.n(y),h=r(45),d=r.n(h),b=r(69),m=r.n(b),x=r(68),g=r.n(x),O=r(67),j=r.n(O),A=r(92),w=r(39),_=r.n(w),S=r(16),F=r(138),P=r(151),E=r(150),T=r(149),k=r(148),M=r(147),L=r(146),I=r(145),C=r(144),N=r(143),W=r(142),R=r(141),D=r(140),G=r(139),V=function(t){return"@async-af/".concat(t.replace(/(AsyncAf|AF)/g,"").toLowerCase())},z="".concat("./lib/","classes/"),B=[[{name:"AsyncAF"},"".concat(z,"AsyncAF"),"async-af"],[{name:"AsyncAfWrapper"},"".concat(z,"AsyncAfWrapper"),V("AsyncAfWrapper")]],H=[Object(S.a)(F.default,"logAF")].map(function(t){return[t,"".concat("./lib/","methods/other/").concat(t.name),V(t.name)]}),K=[Object(S.a)(P.default,"mapAF"),Object(S.a)(E.default,"forEachAF"),Object(S.a)(T.default,"filterAF"),Object(S.a)(k.default,"reduceAF"),Object(S.a)(M.default,"everyAF"),Object(S.a)(L.default,"someAF"),Object(S.a)(I.default,"includesAF"),Object(S.a)(C.default,"findAF"),Object(S.a)(N.default,"findIndexAF"),Object(S.a)(W.default,"indexOfAF"),Object(S.a)(R.default,"lastIndexOfAF"),Object(S.a)(D.default,"joinAF")].map(function(t){return[t,"".concat("./lib/","methods/arrays/").concat(t.name),V(t.name)]}),J=[Object(S.a)(G.default,"splitAF")].map(function(t){return[t,"".concat("./lib/","methods/strings/").concat(t.name),V(t.name)]}),U=_()(K).concat(_()(J)),q=(B.concat(_()(H),_()(U),[]),function(t){return t.map(function(t){return p()(t,1)[0]})}),Y=q(H),Q=q(U),X=s()(["AF"]),Z=function(t){function n(){return d()(this,n),g()(this,j()(n).apply(this,arguments))}return m()(n,t),n}(A.AsyncAfWrapperProto),$=Z;(Z=function(t){return new $(t)}).prototype=$.prototype,v()(Z,$),Z.prototype.constructor=Z;var tt=function(t){return t.reduce(function(t,n){var r=n.name.split(X)||[n.name],e=p()(r,1)[0];return a()(t,c()({},n.name,{value:n}),c()({},e,{value:n}))},{})};o()(A.AsyncAfWrapperProto,tt(Y)),o()(A.AsyncAfWrapperProto.prototype,tt(Q)),n.default=Z}]).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();
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,{configurable:!1,enumerable:!0,get:e})},r.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},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=154)}([function(t,n,r){var e=r(34)("wks"),o=r(22),i=r(2).Symbol,c="function"==typeof i;(t.exports=function(t){return e[t]||(e[t]=c&&i[t]||(c?i:o)("Symbol."+t))}).store=e},function(t,n){var r=t.exports={version:"2.5.5"};"number"==typeof __e&&(__e=r)},function(t,n){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(t,n,r){var e=r(6);t.exports=function(t){if(!e(t))throw TypeError(t+" is not an object!");return t}},function(t,n,r){"use strict";n.a=function(t){return Array.isArray(t)||null!=t&&null!=t.length}},function(t,n,r){var e=r(2),o=r(1),i=r(13),c=r(9),u=r(10),a=function(t,n,r){var f,s,l,p=t&a.F,y=t&a.G,v=t&a.S,h=t&a.P,d=t&a.B,b=t&a.W,m=y?o:o[n]||(o[n]={}),g=m.prototype,x=y?e:v?e[n]:(e[n]||{}).prototype;for(f in y&&(r=n),r)(s=!p&&x&&void 0!==x[f])&&u(m,f)||(l=s?x[f]:r[f],m[f]=y&&"function"!=typeof x[f]?r[f]:d&&s?i(l,e):b&&x[f]==l?function(t){var n=function(n,r,e){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,r)}return new t(n,r,e)}return t.apply(this,arguments)};return n.prototype=t.prototype,n}(l):h&&"function"==typeof l?i(Function.call,l):l,h&&((m.virtual||(m.virtual={}))[f]=l,t&a.R&&g&&!g[f]&&c(g,f,l)))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,r){t.exports=!r(16)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n,r){var e=r(3),o=r(59),i=r(45),c=Object.defineProperty;n.f=r(7)?Object.defineProperty:function(t,n,r){if(e(t),n=i(n,!0),e(r),o)try{return c(t,n,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[n]=r.value),t}},function(t,n,r){var e=r(8),o=r(21);t.exports=r(7)?function(t,n,r){return e.f(t,n,o(1,r))}:function(t,n,r){return t[n]=r,t}},function(t,n){var r={}.hasOwnProperty;t.exports=function(t,n){return r.call(t,n)}},function(t,n){t.exports={}},function(t,n,r){var e=r(46),o=r(130);t.exports=function(t,n){return n||(n=t.slice(0)),o(e(t,{raw:{value:o(n)}}))}},function(t,n,r){var e=r(17);t.exports=function(t,n,r){if(e(t),void 0===n)return t;switch(r){case 1:return function(r){return t.call(n,r)};case 2:return function(r,e){return t.call(n,r,e)};case 3:return function(r,e,o){return t.call(n,r,e,o)}}return function(){return t.apply(n,arguments)}}},function(t,n){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,n,r){var e=r(56),o=r(28);t.exports=function(t){return e(o(t))}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n,r){t.exports=r(73)},function(t,n,r){"use strict";n.a=function(t,n){return Object.defineProperty(t,"name",{value:n,configurable:!0})}},function(t,n,r){var e=r(8).f,o=r(10),i=r(0)("toStringTag");t.exports=function(t,n,r){t&&!o(t=r?t:t.prototype,i)&&e(t,i,{configurable:!0,value:n})}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n){var r=0,e=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+e).toString(36))}},function(t,n,r){"use strict";var e=r(17);t.exports.f=function(t){return new function(t){var n,r;this.promise=new t(function(t,e){if(void 0!==n||void 0!==r)throw TypeError("Bad Promise constructor");n=t,r=e}),this.resolve=e(n),this.reject=e(r)}(t)}},function(t,n,r){"use strict";var e=r(76)(!0);r(44)(String,"String",function(t){this._t=t+"",this._i=0},function(){var t,n=this._t,r=this._i;return r>=n.length?{value:void 0,done:!0}:(t=e(n,r),this._i+=t.length,{value:t,done:!1})})},function(t,n){t.exports=!0},function(t,n,r){var e=r(34)("keys"),o=r(22);t.exports=function(t){return e[t]||(e[t]=o(t))}},function(t,n){var r=Math.ceil,e=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?e:r)(t)}},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,r){var e=r(6),o=r(2).document,i=e(o)&&e(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,n,r){var e=r(14),o=r(0)("toStringTag"),i="Arguments"==e(function(){return arguments}());t.exports=function(t){var n,r,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,n){try{return t[n]}catch(t){}}(n=Object(t),o))?r:i?e(n):"Object"==(c=e(n))&&"function"==typeof n.callee?"Arguments":c}},function(t,n,r){r(80);for(var e=r(2),o=r(9),i=r(11),c=r(0)("toStringTag"),u="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),a=0;a<u.length;a++){var f=u[a],s=e[f],l=s&&s.prototype;l&&!l[c]&&o(l,c,f),i[f]=i.Array}},function(t,n,r){var e=r(28);t.exports=function(t){return Object(e(t))}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n,r){var e=r(2),o=e["__core-js_shared__"]||(e["__core-js_shared__"]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,n,r){var e=r(27),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0}},function(t,n,r){var e=r(57),o=r(33);t.exports=Object.keys||function(t){return e(t,o)}},function(t,n,r){var e=r(127),o=r(126),i=r(122);t.exports=function(t,n){return e(t)||o(t,n)||i()}},function(t,n,r){var e=r(3),o=r(6),i=r(23);t.exports=function(t,n){if(e(t),o(n)&&n.constructor===t)return n;var r=i.f(t);return(0,r.resolve)(n),r.promise}},function(t,n){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,n,r){var e,o,i,c=r(13),u=r(69),a=r(43),f=r(29),s=r(2),l=s.process,p=s.setImmediate,y=s.clearImmediate,v=s.MessageChannel,h=s.Dispatch,d=0,b={},m=function(){var t=+this;if(b.hasOwnProperty(t)){var n=b[t];delete b[t],n()}},g=function(t){m.call(t.data)};p&&y||(p=function(t){for(var n=[],r=1;arguments.length>r;)n.push(arguments[r++]);return b[++d]=function(){u("function"==typeof t?t:Function(t),n)},e(d),d},y=function(t){delete b[t]},"process"==r(14)(l)?e=function(t){l.nextTick(c(m,t,1))}:h&&h.now?e=function(t){h.now(c(m,t,1))}:v?(i=(o=new v).port2,o.port1.onmessage=g,e=c(i.postMessage,i,1)):s.addEventListener&&"function"==typeof postMessage&&!s.importScripts?(e=function(t){s.postMessage(t+"","*")},s.addEventListener("message",g,!1)):e="onreadystatechange"in f("script")?function(t){a.appendChild(f("script")).onreadystatechange=function(){a.removeChild(this),m.call(t)}}:function(t){setTimeout(c(m,t,1),0)}),t.exports={set:p,clear:y}},function(t,n,r){var e=r(3),o=r(17),i=r(0)("species");t.exports=function(t,n){var r,c=e(t).constructor;return void 0===c||void 0==(r=e(c)[i])?n:o(r)}},function(t,n,r){var e=r(30),o=r(0)("iterator"),i=r(11);t.exports=r(1).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[e(t)]}},function(t,n,r){var e=r(2).document;t.exports=e&&e.documentElement},function(t,n,r){"use strict";var e=r(25),o=r(5),i=r(54),c=r(9),u=r(11),a=r(77),f=r(20),s=r(52),l=r(0)("iterator"),p=!([].keys&&"next"in[].keys()),y=function(){return this};t.exports=function(t,n,r,v,h,d,b){a(r,n,v);var m,g,x,O=function(t){if(!p&&t in _)return _[t];switch(t){case"keys":case"values":return function(){return new r(this,t)}}return function(){return new r(this,t)}},A=n+" Iterator",j="values"==h,w=!1,_=t.prototype,S=_[l]||_["@@iterator"]||h&&_[h],F=S||O(h),P=h?j?O("entries"):F:void 0,E="Array"==n&&_.entries||S;if(E&&(x=s(E.call(new t)))!==Object.prototype&&x.next&&(f(x,A,!0),e||"function"==typeof x[l]||c(x,l,y)),j&&S&&"values"!==S.name&&(w=!0,F=function(){return S.call(this)}),e&&!b||!p&&!w&&_[l]||c(_,l,F),u[n]=F,u[A]=y,h)if(m={values:j?F:O("values"),keys:d?F:O("keys"),entries:P},b)for(g in m)g in _||i(_,g,m[g]);else o(o.P+o.F*(p||w),n,m);return m}},function(t,n,r){var e=r(6);t.exports=function(t,n){if(!e(t))return t;var r,o;if(n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!e(o=r.call(t)))return o;if(!n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n,r){t.exports=r(137)},function(t,n,r){var e=r(103),o=r(102),i=r(94);t.exports=function(t){return e(t)||o(t)||i()}},function(t,n,r){var e=r(0)("iterator"),o=!1;try{var i=[7][e]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,n){if(!n&&!o)return!1;var r=!1;try{var i=[7],c=i[e]();c.next=function(){return{done:r=!0}},i[e]=function(){return c},t(i)}catch(t){}return r}},function(t,n,r){var e=r(11),o=r(0)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(e.Array===t||i[o]===t)}},function(t,n,r){var e=r(3);t.exports=function(t,n,r,o){try{return o?n(e(r)[0],r[1]):n(r)}catch(n){var i=t.return;throw void 0!==i&&e(i.call(t)),n}}},function(t,n){},function(t,n,r){var e=r(10),o=r(32),i=r(26)("IE_PROTO"),c=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),e(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c:null}},function(t,n,r){var e=r(3),o=r(58),i=r(33),c=r(26)("IE_PROTO"),u=function(){},a=function(){var t,n=r(29)("iframe"),e=i.length;for(n.style.display="none",r(43).appendChild(n),n.src="javascript:",(t=n.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),a=t.F;e--;)delete a.prototype[i[e]];return a()};t.exports=Object.create||function(t,n){var r;return null!==t?(u.prototype=e(t),r=new u,u.prototype=null,r[c]=t):r=a(),void 0===n?r:o(r,n)}},function(t,n,r){t.exports=r(9)},function(t,n){n.f={}.propertyIsEnumerable},function(t,n,r){var e=r(14);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==e(t)?t.split(""):Object(t)}},function(t,n,r){var e=r(10),o=r(15),i=r(83)(!1),c=r(26)("IE_PROTO");t.exports=function(t,n){var r,u=o(t),a=0,f=[];for(r in u)r!=c&&e(u,r)&&f.push(r);for(;n.length>a;)e(u,r=n[a++])&&(~i(f,r)||f.push(r));return f}},function(t,n,r){var e=r(8),o=r(3),i=r(36);t.exports=r(7)?Object.defineProperties:function(t,n){o(t);for(var r,c=i(n),u=c.length,a=0;u>a;)e.f(t,r=c[a++],n[r]);return t}},function(t,n,r){t.exports=!r(7)&&!r(16)(function(){return 7!=Object.defineProperty(r(29)("div"),"a",{get:function(){return 7}}).a})},function(t,n,r){t.exports=r(121)},function(t,n,r){var e=r(117),o=r(115);function i(t){return(i="function"==typeof o&&"symbol"==typeof e?function(t){return typeof t}:function(t){return t&&"function"==typeof o&&t.constructor===o&&t!==o.prototype?"symbol":typeof t})(t)}function c(n){return"function"==typeof o&&"symbol"===i(e)?t.exports=c=function(t){return i(t)}:t.exports=c=function(t){return t&&"function"==typeof o&&t.constructor===o&&t!==o.prototype?"symbol":i(t)},c(n)}t.exports=c},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){t.exports=r(133)},function(t,n,r){"use strict";var e=r(5),o=r(23),i=r(39);e(e.S,"Promise",{try:function(t){var n=o.f(this),r=i(t);return(r.e?n.reject:n.resolve)(r.v),n.promise}})},function(t,n,r){"use strict";var e=r(5),o=r(1),i=r(2),c=r(41),u=r(38);e(e.P+e.R,"Promise",{finally:function(t){var n=c(this,o.Promise||i.Promise),r="function"==typeof t;return this.then(r?function(r){return u(n,t()).then(function(){return r})}:t,r?function(r){return u(n,t()).then(function(){throw r})}:t)}})},function(t,n,r){"use strict";var e=r(2),o=r(1),i=r(8),c=r(7),u=r(0)("species");t.exports=function(t){var n="function"==typeof o[t]?o[t]:e[t];c&&n&&!n[u]&&i.f(n,u,{configurable:!0,get:function(){return this}})}},function(t,n,r){var e=r(9);t.exports=function(t,n,r){for(var o in n)r&&t[o]?t[o]=n[o]:e(t,o,n[o]);return t}},function(t,n,r){var e=r(2),o=r(40).set,i=e.MutationObserver||e.WebKitMutationObserver,c=e.process,u=e.Promise,a="process"==r(14)(c);t.exports=function(){var t,n,r,f=function(){var e,o;for(a&&(e=c.domain)&&e.exit();t;){o=t.fn,t=t.next;try{o()}catch(e){throw t?r():n=void 0,e}}n=void 0,e&&e.enter()};if(a)r=function(){c.nextTick(f)};else if(!i||e.navigator&&e.navigator.standalone)if(u&&u.resolve){var s=u.resolve();r=function(){s.then(f)}}else r=function(){o.call(e,f)};else{var l=!0,p=document.createTextNode("");new i(f).observe(p,{characterData:!0}),r=function(){p.data=l=!l}}return function(e){var o={fn:e,next:void 0};n&&(n.next=o),t||(t=o,r()),n=o}}},function(t,n){t.exports=function(t,n,r){var e=void 0===r;switch(n.length){case 0:return e?t():t.call(r);case 1:return e?t(n[0]):t.call(r,n[0]);case 2:return e?t(n[0],n[1]):t.call(r,n[0],n[1]);case 3:return e?t(n[0],n[1],n[2]):t.call(r,n[0],n[1],n[2]);case 4:return e?t(n[0],n[1],n[2],n[3]):t.call(r,n[0],n[1],n[2],n[3])}return t.apply(r,n)}},function(t,n,r){var e=r(13),o=r(50),i=r(49),c=r(3),u=r(35),a=r(42),f={},s={};(n=t.exports=function(t,n,r,l,p){var y,v,h,d,b=p?function(){return t}:a(t),m=e(r,l,n?2:1),g=0;if("function"!=typeof b)throw TypeError(t+" is not iterable!");if(i(b)){for(y=u(t.length);y>g;g++)if((d=n?m(c(v=t[g])[0],v[1]):m(t[g]))===f||d===s)return d}else for(h=b.call(t);!(v=h.next()).done;)if((d=o(h,m,v.value,n))===f||d===s)return d}).BREAK=f,n.RETURN=s},function(t,n){t.exports=function(t,n,r,e){if(!(t instanceof n)||void 0!==e&&e in t)throw TypeError(r+": incorrect invocation!");return t}},function(t,n,r){"use strict";var e,o,i,c,u=r(25),a=r(2),f=r(13),s=r(30),l=r(5),p=r(6),y=r(17),v=r(71),h=r(70),d=r(41),b=r(40).set,m=r(68)(),g=r(23),x=r(39),O=r(38),A=a.TypeError,j=a.process,w=a.Promise,_="process"==s(j),S=function(){},F=o=g.f,P=!!function(){try{var t=w.resolve(1),n=(t.constructor={})[r(0)("species")]=function(t){t(S,S)};return(_||"function"==typeof PromiseRejectionEvent)&&t.then(S)instanceof n}catch(t){}}(),E=function(t){var n;return!(!p(t)||"function"!=typeof(n=t.then))&&n},T=function(t,n){if(!t._n){t._n=!0;var r=t._c;m(function(){for(var e=t._v,o=1==t._s,i=0,c=function(n){var r,i,c,u=o?n.ok:n.fail,a=n.resolve,f=n.reject,s=n.domain;try{u?(o||(2==t._h&&L(t),t._h=1),!0===u?r=e:(s&&s.enter(),r=u(e),s&&(s.exit(),c=!0)),r===n.promise?f(A("Promise-chain cycle")):(i=E(r))?i.call(r,a,f):a(r)):f(e)}catch(t){s&&!c&&s.exit(),f(t)}};r.length>i;)c(r[i++]);t._c=[],t._n=!1,n&&!t._h&&k(t)})}},k=function(t){b.call(a,function(){var n,r,e,o=t._v,i=M(t);if(i&&(n=x(function(){_?j.emit("unhandledRejection",o,t):(r=a.onunhandledrejection)?r({promise:t,reason:o}):(e=a.console)&&e.error&&e.error("Unhandled promise rejection",o)}),t._h=_||M(t)?2:1),t._a=void 0,i&&n.e)throw n.v})},M=function(t){return 1!==t._h&&0===(t._a||t._c).length},L=function(t){b.call(a,function(){var n;_?j.emit("rejectionHandled",t):(n=a.onrejectionhandled)&&n({promise:t,reason:t._v})})},I=function(t){var n=this;n._d||(n._d=!0,(n=n._w||n)._v=t,n._s=2,n._a||(n._a=n._c.slice()),T(n,!0))},C=function(t){var n,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===t)throw A("Promise can't be resolved itself");(n=E(t))?m(function(){var e={_w:r,_d:!1};try{n.call(t,f(C,e,1),f(I,e,1))}catch(t){I.call(e,t)}}):(r._v=t,r._s=1,T(r,!1))}catch(t){I.call({_w:r,_d:!1},t)}}};P||(w=function(t){v(this,w,"Promise","_h"),y(t),e.call(this);try{t(f(C,this,1),f(I,this,1))}catch(t){I.call(this,t)}},(e=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=r(67)(w.prototype,{then:function(t,n){var r=F(d(this,w));return r.ok="function"!=typeof t||t,r.fail="function"==typeof n&&n,r.domain=_?j.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&T(this,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new e;this.promise=t,this.resolve=f(C,t,1),this.reject=f(I,t,1)},g.f=F=function(t){return t===w||t===c?new i(t):o(t)}),l(l.G+l.W+l.F*!P,{Promise:w}),r(20)(w,"Promise"),r(66)("Promise"),c=r(1).Promise,l(l.S+l.F*!P,"Promise",{reject:function(t){var n=F(this);return(0,n.reject)(t),n.promise}}),l(l.S+l.F*(u||!P),"Promise",{resolve:function(t){return O(u&&this===c?w:this,t)}}),l(l.S+l.F*!(P&&r(48)(function(t){w.all(t).catch(S)})),"Promise",{all:function(t){var n=this,r=F(n),e=r.resolve,o=r.reject,i=x(function(){var r=[],i=0,c=1;h(t,!1,function(t){var u=i++,a=!1;r.push(void 0),c++,n.resolve(t).then(function(t){a||(a=!0,r[u]=t,--c||e(r))},o)}),--c||e(r)});return i.e&&o(i.v),r.promise},race:function(t){var n=this,r=F(n),e=r.reject,o=x(function(){h(t,!1,function(t){n.resolve(t).then(r.resolve,e)})});return o.e&&e(o.v),r.promise}})},function(t,n,r){r(51),r(24),r(31),r(72),r(65),r(64),t.exports=r(1).Promise},function(t,n,r){var e=r(2),o=r(1),i=r(25),c=r(75),u=r(8).f;t.exports=function(t){var n=o.Symbol||(o.Symbol=i?{}:e.Symbol||{});"_"==t.charAt(0)||t in n||u(n,t,{value:c.f(t)})}},function(t,n,r){n.f=r(0)},function(t,n,r){var e=r(27),o=r(28);t.exports=function(t){return function(n,r){var i,c,u=o(n)+"",a=e(r),f=u.length;return a<0||a>=f?t?"":void 0:(i=u.charCodeAt(a))<55296||i>56319||a+1===f||(c=u.charCodeAt(a+1))<56320||c>57343?t?u.charAt(a):i:t?u.slice(a,a+2):c-56320+(i-55296<<10)+65536}}},function(t,n,r){"use strict";var e=r(53),o=r(21),i=r(20),c={};r(9)(c,r(0)("iterator"),function(){return this}),t.exports=function(t,n,r){t.prototype=e(c,{next:o(1,r)}),i(t,n+" Iterator")}},function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},function(t,n){t.exports=function(){}},function(t,n,r){"use strict";var e=r(79),o=r(78),i=r(11),c=r(15);t.exports=r(44)(Array,"Array",function(t,n){this._t=c(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,r=this._i++;return!t||r>=t.length?(this._t=void 0,o(1)):o(0,"keys"==n?r:"values"==n?t[r]:[r,t[r]])},"values"),i.Arguments=i.Array,e("keys"),e("values"),e("entries")},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,r){var e=r(27),o=Math.max,i=Math.min;t.exports=function(t,n){return(t=e(t))<0?o(t+n,0):i(t,n)}},function(t,n,r){var e=r(15),o=r(35),i=r(82);t.exports=function(t){return function(n,r,c){var u,a=e(n),f=o(a.length),s=i(c,f);if(t&&r!=r){for(;f>s;)if((u=a[s++])!=u)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===r)return t||s||0;return!t&&-1}}},function(t,n,r){var e=r(106);function o(n){return t.exports=o=e||function(t){return t.__proto__},o(n)}t.exports=o},function(t,n,r){var e=r(61),o=r(107);t.exports=function(t,n){return!n||"object"!==e(n)&&"function"!=typeof n?o(t):n}},function(t,n,r){var e=r(118);t.exports=function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e(t.prototype,n&&n.prototype),n&&e(t,n)}},function(t,n,r){var e=r(5),o=r(1),i=r(16);t.exports=function(t,n){var r=(o.Object||{})[t]||Object[t],c={};c[t]=n(r),e(e.S+e.F*i(function(){r(1)}),"Object",c)}},function(t,n,r){var e=r(22)("meta"),o=r(6),i=r(10),c=r(8).f,u=0,a=Object.isExtensible||function(){return!0},f=!r(16)(function(){return a(Object.preventExtensions({}))}),s=function(t){c(t,e,{value:{i:"O"+ ++u,w:{}}})},l=t.exports={KEY:e,NEED:!1,fastKey:function(t,n){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,e)){if(!a(t))return"F";if(!n)return"E";s(t)}return t[e].i},getWeak:function(t,n){if(!i(t,e)){if(!a(t))return!0;if(!n)return!1;s(t)}return t[e].w},onFreeze:function(t){return f&&l.NEED&&a(t)&&!i(t,e)&&s(t),t}}},function(t,n,r){var e=r(57),o=r(33).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return e(t,o)}},function(t,n,r){var e=r(55),o=r(21),i=r(15),c=r(45),u=r(10),a=r(59),f=Object.getOwnPropertyDescriptor;n.f=r(7)?f:function(t,n){if(t=i(t),n=c(n,!0),a)try{return f(t,n)}catch(t){}if(u(t,n))return o(!e.f.call(t,n),t[n])}},function(t,n,r){var e=r(93);function o(t,n){for(var r=0;r<n.length;r++){var o=n[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),e(t,o.key,o)}}t.exports=function(t,n,r){return n&&o(t.prototype,n),r&&o(t,r),t}},function(t,n,r){"use strict";r.r(n);var e=r(60),o=r.n(e),i=r(86),c=r.n(i),u=r(85),a=r.n(u),f=r(84),s=r.n(f),l=r(18),p=r.n(l),y=r(62),v=r.n(y),h=r(91),d=r.n(h),b=r(63),m=r.n(b),g=r(61),x=r.n(g);r.d(n,"AsyncAfWrapperProto",function(){return O});var O=function(){function t(n){v()(this,t),this.data=p.a[Array.isArray(n)?"all":"resolve"](n)}return d()(t,[{key:"then",value:function(t,n){return new this.constructor(this.data.then(t,n))}},{key:"catch",value:function(t){return this.then(null,t)}},{key:"finally",value:function(t){return this.data.finally(t)}}]),t}(),A=function(t){function n(){return v()(this,n),a()(this,s()(n).apply(this,arguments))}return c()(n,t),n}(O),j=A;(A=function(t){return new j(t)}).prototype=j.prototype,o()(A,j),A.prototype.constructor=A,O.use=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("object"!==x()(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"!==x()(n))throw TypeError("staticMethods param accepts an Object containing the staticMethods you'd like to add to AsyncAF");m()(this.prototype,t),m()(this,n)},n.default=A},function(t,n,r){t.exports=r(135)},function(t,n){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},function(t,n,r){var e=r(30),o=r(0)("iterator"),i=r(11);t.exports=r(1).isIterable=function(t){var n=Object(t);return void 0!==n[o]||"@@iterator"in n||i.hasOwnProperty(e(n))}},function(t,n,r){r(31),r(24),t.exports=r(95)},function(t,n,r){t.exports=r(96)},function(t,n,r){"use strict";var e=r(8),o=r(21);t.exports=function(t,n,r){n in t?e.f(t,n,o(0,r)):t[n]=r}},function(t,n,r){"use strict";var e=r(13),o=r(5),i=r(32),c=r(50),u=r(49),a=r(35),f=r(98),s=r(42);o(o.S+o.F*!r(48)(function(t){Array.from(t)}),"Array",{from:function(t){var n,r,o,l,p=i(t),y="function"==typeof this?this:Array,v=arguments.length,h=v>1?arguments[1]:void 0,d=void 0!==h,b=0,m=s(p);if(d&&(h=e(h,v>2?arguments[2]:void 0,2)),void 0==m||y==Array&&u(m))for(r=new y(n=a(p.length));n>b;b++)f(r,b,d?h(p[b],b):p[b]);else for(l=m.call(p),r=new y;!(o=l.next()).done;b++)f(r,b,d?c(l,h,[o.value,b],!0):o.value);return r.length=b,r}})},function(t,n,r){r(24),r(99),t.exports=r(1).Array.from},function(t,n,r){t.exports=r(100)},function(t,n,r){var e=r(101),o=r(97);t.exports=function(t){if(o(Object(t))||"[object Arguments]"===Object.prototype.toString.call(t))return e(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,r){var e=r(32),o=r(52);r(87)("getPrototypeOf",function(){return function(t){return o(e(t))}})},function(t,n,r){r(104),t.exports=r(1).Object.getPrototypeOf},function(t,n,r){t.exports=r(105)},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,r){r(74)("observable")},function(t,n,r){r(74)("asyncIterator")},function(t,n,r){var e=r(15),o=r(89).f,i={}.toString,c="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return c&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return c.slice()}}(t):o(e(t))}},function(t,n,r){var e=r(14);t.exports=Array.isArray||function(t){return"Array"==e(t)}},function(t,n,r){var e=r(36),o=r(81),i=r(55);t.exports=function(t){var n=e(t),r=o.f;if(r)for(var c,u=r(t),a=i.f,f=0;u.length>f;)a.call(t,c=u[f++])&&n.push(c);return n}},function(t,n,r){"use strict";var e=r(2),o=r(10),i=r(7),c=r(5),u=r(54),a=r(88).KEY,f=r(16),s=r(34),l=r(20),p=r(22),y=r(0),v=r(75),h=r(74),d=r(112),b=r(111),m=r(3),g=r(6),x=r(15),O=r(45),A=r(21),j=r(53),w=r(110),_=r(90),S=r(8),F=r(36),P=_.f,E=S.f,T=w.f,k=e.Symbol,M=e.JSON,L=M&&M.stringify,I=y("_hidden"),C=y("toPrimitive"),N={}.propertyIsEnumerable,W=s("symbol-registry"),R=s("symbols"),D=s("op-symbols"),G=Object.prototype,V="function"==typeof k,z=e.QObject,B=!z||!z.prototype||!z.prototype.findChild,H=i&&f(function(){return 7!=j(E({},"a",{get:function(){return E(this,"a",{value:7}).a}})).a})?function(t,n,r){var e=P(G,n);e&&delete G[n],E(t,n,r),e&&t!==G&&E(G,n,e)}:E,K=function(t){var n=R[t]=j(k.prototype);return n._k=t,n},J=V&&"symbol"==typeof k.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof k},U=function(t,n,r){return t===G&&U(D,n,r),m(t),n=O(n,!0),m(r),o(R,n)?(r.enumerable?(o(t,I)&&t[I][n]&&(t[I][n]=!1),r=j(r,{enumerable:A(0,!1)})):(o(t,I)||E(t,I,A(1,{})),t[I][n]=!0),H(t,n,r)):E(t,n,r)},q=function(t,n){m(t);for(var r,e=d(n=x(n)),o=0,i=e.length;i>o;)U(t,r=e[o++],n[r]);return t},Y=function(t){var n=N.call(this,t=O(t,!0));return!(this===G&&o(R,t)&&!o(D,t))&&(!(n||!o(this,t)||!o(R,t)||o(this,I)&&this[I][t])||n)},Q=function(t,n){if(t=x(t),n=O(n,!0),t!==G||!o(R,n)||o(D,n)){var r=P(t,n);return!r||!o(R,n)||o(t,I)&&t[I][n]||(r.enumerable=!0),r}},X=function(t){for(var n,r=T(x(t)),e=[],i=0;r.length>i;)o(R,n=r[i++])||n==I||n==a||e.push(n);return e},Z=function(t){for(var n,r=t===G,e=T(r?D:x(t)),i=[],c=0;e.length>c;)!o(R,n=e[c++])||r&&!o(G,n)||i.push(R[n]);return i};V||(u((k=function(){if(this instanceof k)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),n=function(r){this===G&&n.call(D,r),o(this,I)&&o(this[I],t)&&(this[I][t]=!1),H(this,t,A(1,r))};return i&&B&&H(G,t,{configurable:!0,set:n}),K(t)}).prototype,"toString",function(){return this._k}),_.f=Q,S.f=U,r(89).f=w.f=X,r(55).f=Y,r(81).f=Z,i&&!r(25)&&u(G,"propertyIsEnumerable",Y,!0),v.f=function(t){return K(y(t))}),c(c.G+c.W+c.F*!V,{Symbol:k});for(var $="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),tt=0;$.length>tt;)y($[tt++]);for(var nt=F(y.store),rt=0;nt.length>rt;)h(nt[rt++]);c(c.S+c.F*!V,"Symbol",{for:function(t){return o(W,t+="")?W[t]:W[t]=k(t)},keyFor:function(t){if(!J(t))throw TypeError(t+" is not a symbol!");for(var n in W)if(W[n]===t)return n},useSetter:function(){B=!0},useSimple:function(){B=!1}}),c(c.S+c.F*!V,"Object",{create:function(t,n){return void 0===n?j(t):q(j(t),n)},defineProperty:U,defineProperties:q,getOwnPropertyDescriptor:Q,getOwnPropertyNames:X,getOwnPropertySymbols:Z}),M&&c(c.S+c.F*(!V||f(function(){var t=k();return"[null]"!=L([t])||"{}"!=L({a:t})||"{}"!=L(Object(t))})),"JSON",{stringify:function(t){for(var n,r,e=[t],o=1;arguments.length>o;)e.push(arguments[o++]);if(r=n=e[1],(g(n)||void 0!==t)&&!J(t))return b(n)||(n=function(t,n){if("function"==typeof r&&(n=r.call(this,t,n)),!J(n))return n}),e[1]=n,L.apply(M,e)}}),k.prototype[C]||r(9)(k.prototype,C,k.prototype.valueOf),l(k,"Symbol"),l(Math,"Math",!0),l(e.JSON,"JSON",!0)},function(t,n,r){r(113),r(51),r(109),r(108),t.exports=r(1).Symbol},function(t,n,r){t.exports=r(114)},function(t,n,r){r(24),r(31),t.exports=r(75).f("iterator")},function(t,n,r){t.exports=r(116)},function(t,n,r){var e=r(60);function o(n,r){return t.exports=o=e||function(t,n){return t.__proto__=n,t},o(n,r)}t.exports=o},function(t,n,r){var e=r(6),o=r(3),i=function(t,n){if(o(t),!e(n)&&null!==n)throw TypeError(n+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,e){try{(e=r(13)(Function.call,r(90).f(Object.prototype,"__proto__").set,2))(t,[]),n=!(t instanceof Array)}catch(t){n=!0}return function(t,r){return i(t,r),n?t.__proto__=r:e(t,r),t}}({},!1):void 0),check:i}},function(t,n,r){var e=r(5);e(e.S,"Object",{setPrototypeOf:r(119).set})},function(t,n,r){r(120),t.exports=r(1).Object.setPrototypeOf},function(t,n){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(t,n,r){var e=r(3),o=r(42);t.exports=r(1).getIterator=function(t){var n=o(t);if("function"!=typeof n)throw TypeError(t+" is not iterable!");return e(n.call(t))}},function(t,n,r){r(31),r(24),t.exports=r(123)},function(t,n,r){t.exports=r(124)},function(t,n,r){var e=r(125);t.exports=function(t,n){var r=[],o=!0,i=!1,c=void 0;try{for(var u,a=e(t);!(o=(u=a.next()).done)&&(r.push(u.value),!n||r.length!==n);o=!0);}catch(t){i=!0,c=t}finally{try{o||null==a.return||a.return()}finally{if(i)throw c}}return r}},function(t,n){t.exports=function(t){if(Array.isArray(t))return t}},function(t,n,r){var e=r(6),o=r(88).onFreeze;r(87)("freeze",function(t){return function(n){return t&&e(n)?t(o(n)):n}})},function(t,n,r){r(128),t.exports=r(1).Object.freeze},function(t,n,r){t.exports=r(129)},function(t,n,r){"use strict";var e=r(36),o=r(81),i=r(55),c=r(32),u=r(56),a=Object.assign;t.exports=!a||r(16)(function(){var t={},n={},r=Symbol(),e="abcdefghijklmnopqrst";return t[r]=7,e.split("").forEach(function(t){n[t]=t}),7!=a({},t)[r]||Object.keys(a({},n)).join("")!=e})?function(t,n){for(var r=c(t),a=arguments.length,f=1,s=o.f,l=i.f;a>f;)for(var p,y=u(arguments[f++]),v=s?e(y).concat(s(y)):e(y),h=v.length,d=0;h>d;)l.call(y,p=v[d++])&&(r[p]=y[p]);return r}:a},function(t,n,r){var e=r(5);e(e.S+e.F,"Object",{assign:r(131)})},function(t,n,r){r(132),t.exports=r(1).Object.assign},function(t,n,r){var e=r(5);e(e.S+e.F*!r(7),"Object",{defineProperty:r(8).f})},function(t,n,r){r(134);var e=r(1).Object;t.exports=function(t,n,r){return e.defineProperty(t,n,r)}},function(t,n,r){var e=r(5);e(e.S+e.F*!r(7),"Object",{defineProperties:r(58)})},function(t,n,r){r(136);var e=r(1).Object;t.exports=function(t,n){return e.defineProperties(t,n)}},function(t,n,r){"use strict";r.r(n);var e=r(46),o=r.n(e),i=r(47),c=r.n(i),u=r(18),a=r.n(u),f=r(12),s=r.n(f),l=r(37),p=r.n(l),y=s()([":"]),v=s()(["/"]),h=s()(["/"]),d=s()(["/"]),b=s()(["\n"],["\\n"]),m=s()(["("]),g=s()([")"]),x=s()(["/"]),O=s()(["/"]),A=r(19),j=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 o=Date.now();return a.a.all(r).then(function(n){if(t.duration){var r=((Date.now()-o)/1e3).toFixed(3);n.push("\nin ".concat(r," secs"))}t.wrappedLog.apply(t,c()(n))})};o()(j,{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(b).filter(function(t,n,r){return/logAF(\s+|\s+\[.+\]\s+)\(/.test(r[n?n-1:n])}),e=p()(r,1)[0],o=e.slice(e.indexOf(m)+1,e.indexOf(g)),i=o.lastIndexOf(x),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(O)+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(y),o=p()(e,3),i=o[0],c=o[1],u=o[2],a=(i=i.split(v)).pop();i=i.join(h);var f="".concat(i.split(d).pop(),"/");return t({path:i+="/",line:c,col:u,file:a,parent:f,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&&(w.label=n),"boolean"==typeof r&&(w.duration=r),e&&("string"==typeof e||"function"==typeof e?w.labelFormat=e:w.wrappedWarn("Warning: logAF labelFormat option must be set to 'file' (default), 'path', 'parent', 'arrow', or a custom string or function\n"))},writable:!0}}),(j.options.reset=function(){j.label=!0,j.labelFormat="file",j.duration=!0})();var w=n.default=Object(A.a)(j,"logAF")},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(18),o=r.n(e);n.default=function(){for(var t=this,n=arguments.length,r=Array(n),e=0;e<n;e++)r[e]=arguments[e];return this.then(function(n){if("string"!=typeof n&&!Array.isArray(n))throw TypeError("concatAF cannot be called on ".concat(n,", only on an Array or String"));return r.reduce(function(n,r){return n instanceof o.a?n.then(function(n){return r instanceof t.constructor||r instanceof o.a?r.then(function(t){return n.concat(t)}):n.concat(r)},n):r instanceof t.constructor||r instanceof o.a?r.then(function(t){return n.concat(t)}):n.concat(r)},n)})}},function(t,n,r){"use strict";r.r(n);var e=r(4),o=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 Array.prototype.join.call(n,t)})};Object.defineProperty(o,"length",{value:1}),n.default=o},function(t,n,r){"use strict";r.r(n);var e=r(4);n.default=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!Object(e.a)(r))throw TypeError("lastIndexOfAF cannot be called on ".concat(r,", only on an Array, String, or array-like Object"));return("string"==typeof r?String:Array).prototype.lastIndexOf.call(r,t,n||r.length-1)})}},function(t,n,r){"use strict";r.r(n);var e=r(4);n.default=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this.then(function(r){if(!Object(e.a)(r))throw TypeError("indexOfAF cannot be called on ".concat(r,", only on an Array, String, or array-like Object"));return("string"==typeof r?String:Array).prototype.indexOf.call(r,t,n)})}},function(t,n,r){"use strict";r.r(n);var e=r(4);n.default=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!Object(e.a)(r))throw TypeError("findIndexAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.findIndex.call(r,t,n)})}},function(t,n,r){"use strict";r.r(n);var e=r(4);n.default=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!Object(e.a)(r))throw TypeError("findAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.find.call(r,t,n)})}},function(t,n,r){"use strict";r.r(n);var e=r(4);n.default=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this.then(function(r){if(!Object(e.a)(r))throw TypeError("includesAF cannot be called on ".concat(r,", only on an Array, String, or array-like Object"));return("string"==typeof r?String:Array).prototype.includes.call(r,t,n)})}},function(t,n,r){"use strict";r.r(n);var e=r(4);n.default=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!Object(e.a)(r))throw TypeError("someAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.some.call(r,t,n)})}},function(t,n,r){"use strict";r.r(n);var e=r(4);n.default=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!Object(e.a)(r))throw TypeError("everyAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.every.call(r,t,n)})}},function(t,n,r){"use strict";r.r(n);var e=r(4);n.default=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this.then(function(r){if(!Object(e.a)(r))throw TypeError("reduceAF cannot be called on ".concat(r,", only on an Array or array-like Object"));if(!r.length&&null===n)throw TypeError("reduceAF cannot be called on an empty array without an initial value");return Array.prototype.reduce.call(r,t,n)})}},function(t,n,r){"use strict";r.r(n);var e=r(4);n.default=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!Object(e.a)(r))throw TypeError("filterAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.filter.call(r,t,n)})}},function(t,n,r){"use strict";r.r(n);var e=r(4);n.default=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!Object(e.a)(r))throw TypeError("forEachAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.forEach.call(r,t,n)})}},function(t,n,r){"use strict";r.r(n);var e=r(4);n.default=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return this.then(function(r){if(!Object(e.a)(r))throw TypeError("mapAF cannot be called on ".concat(r,", only on an Array or array-like Object"));return Array.prototype.map.call(r,t,n)})}},function(t,n,r){var e=r(93);t.exports=function(t,n,r){return n in t?e(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}},function(t,n,r){"use strict";r.r(n);var e=r(46),o=r.n(e),i=r(153),c=r.n(i),u=r(63),a=r.n(u),f=r(12),s=r.n(f),l=r(37),p=r.n(l),y=r(60),v=r.n(y),h=r(62),d=r.n(h),b=r(86),m=r.n(b),g=r(85),x=r.n(g),O=r(84),A=r.n(O),j=r(92),w=r(47),_=r.n(w),S=r(19),F=r(138),P=r(152),E=r(151),T=r(150),k=r(149),M=r(148),L=r(147),I=r(146),C=r(145),N=r(144),W=r(143),R=r(142),D=r(141),G=r(140),V=r(139),z=function(t){return"@async-af/".concat(t.replace(/(AsyncAf|AF)/g,"").toLowerCase())},B="".concat("./lib/","classes/"),H=[[{name:"AsyncAF"},"".concat(B,"AsyncAF"),"async-af"],[{name:"AsyncAfWrapper"},"".concat(B,"AsyncAfWrapper"),z("AsyncAfWrapper")]],K=[Object(S.a)(F.default,"logAF")].map(function(t){return[t,"".concat("./lib/","methods/other/").concat(t.name),z(t.name)]}),J=[Object(S.a)(P.default,"mapAF"),Object(S.a)(E.default,"forEachAF"),Object(S.a)(T.default,"filterAF"),Object(S.a)(k.default,"reduceAF"),Object(S.a)(M.default,"everyAF"),Object(S.a)(L.default,"someAF"),Object(S.a)(I.default,"includesAF"),Object(S.a)(C.default,"findAF"),Object(S.a)(N.default,"findIndexAF"),Object(S.a)(W.default,"indexOfAF"),Object(S.a)(R.default,"lastIndexOfAF"),Object(S.a)(D.default,"joinAF"),Object(S.a)(G.default,"concatAF")].map(function(t){return[t,"".concat("./lib/","methods/arrays/").concat(t.name),z(t.name)]}),U=[Object(S.a)(V.default,"splitAF")].map(function(t){return[t,"".concat("./lib/","methods/strings/").concat(t.name),z(t.name)]}),q=_()(J).concat(_()(U)),Y=(H.concat(_()(K),_()(q),[]),function(t){return t.map(function(t){return p()(t,1)[0]})}),Q=Y(K),X=Y(q),Z=s()(["AF"]),$=function(t){function n(){return d()(this,n),x()(this,A()(n).apply(this,arguments))}return m()(n,t),n}(j.AsyncAfWrapperProto),tt=$;($=function(t){return new tt(t)}).prototype=tt.prototype,v()($,tt),$.prototype.constructor=$;var nt=function(t){return t.reduce(function(t,n){var r=n.name.split(Z)||[n.name],e=p()(r,1)[0];return a()(t,c()({},n.name,{value:n}),c()({},e,{value:n}))},{})};o()(j.AsyncAfWrapperProto,nt(Q)),o()(j.AsyncAfWrapperProto.prototype,nt(X)),n.default=$}]).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
/*!
* async-af/min v5.2.0
* async-af/min v5.3.0
*

@@ -12,3 +12,3 @@ * AsyncAF (Async/Await Fun)

*/
var t,r;t="undefined"!=typeof self?self:this,r=function(){return function(t){var r={};function e(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:n})},e.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},e.p="",e(e.s=17)}([function(t,r,e){"use strict";r.a=function(t){return Array.isArray(t)||null!=t&&null!=t.length}},function(t,r,e){"use strict";r.a=function(t,r){return Object.defineProperty(t,"name",{value:r,configurable:!0})}},function(t,r,e){"use strict";e.r(r);e.d(r,"AsyncAfWrapperProto",function(){return n});class n{constructor(t){this.data=Promise[Array.isArray(t)?"all":"resolve"](t)}then(t,r){return new this.constructor(this.data.then(t,r))}catch(t){return this.then(null,t)}finally(t){return this.data.finally(t)}}class o extends n{}const a=o;(o=function(t){return new a(t)}).prototype=a.prototype,Object.setPrototypeOf(o,a),o.prototype.constructor=o,n.use=function(t,r={}){if("object"!=typeof 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"!=typeof r)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,r)},r.default=o},function(t,r,e){"use strict";e.r(r);var n,o,a=(t,r,e)=>{if("string"==typeof t)return t;let a=(n=r.split`:`,o=3,function(t){if(Array.isArray(t))return t}(n)||function(t,r){var e=[],n=!0,o=!1,a=void 0;try{for(var i,c=t[Symbol.iterator]();!(n=(i=c.next()).done)&&(e.push(i.value),!r||e.length!==r);n=!0);}catch(t){o=!0,a=t}finally{try{n||null==c.return||c.return()}finally{if(o)throw a}}return e}(n,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()),i=a[0],c=a[1],l=a[2];const u=(i=i.split`/`).pop();i=i.join`/`;const s=`${i.split`/`.pop()}/`;return t({path:i+="/",line:c,col:l,file:u,parent:s,arrow:e})};var i=e(1);const c=function t(...r){t.label&&r.unshift(t.setFormat(t.labelFormat));const e=Date.now();return Promise.all(r).then(r=>{if(t.duration){const t=((Date.now()-e)/1e3).toFixed(3);r.push(`\nin ${t} secs`)}t.wrappedLog(...r)})};Object.defineProperties(c,{wrappedLog:{value:(...t)=>{console&&console.log&&console.log(...t)},writable:!0},wrappedWarn:{value:(...t)=>{console&&console.warn&&console.warn(...t)},writable:!0},setFormat:{value:t=>{const r=Error();if(!r.stack)return"";const e=function(t,r){return function(t){if(Array.isArray(t))return t}(t)||function(t,r){var e=[],n=!0,o=!1,a=void 0;try{for(var i,c=t[Symbol.iterator]();!(n=(i=c.next()).done)&&(e.push(i.value),!r||e.length!==r);n=!0);}catch(t){o=!0,a=t}finally{try{n||null==c.return||c.return()}finally{if(o)throw a}}return e}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}(r.stack.split`\n`.filter((t,r,e)=>/logAF(\s+|\s+\[.+\]\s+)\(/.test(e[r?r-1:r])),1)[0],n=e.slice(e.indexOf`(`+1,e.indexOf`)`),o=n.lastIndexOf`/`,i={file:()=>`@${n.slice(o+1)}:\n`,path:()=>`@${n}:\n`,parent(){const t=n.slice(0,o).lastIndexOf`/`+1;return`@${n.slice(t)}:\n`},arrow:()=>"========================>"};return i[t]?i[t]():a(t,n,i.arrow())},writable:!0},options:{value:(t={})=>{const r=t.label,e=t.duration,n=t.labelFormat;"boolean"==typeof r&&(l.label=r),"boolean"==typeof e&&(l.duration=e),n&&("string"==typeof n||"function"==typeof n?l.labelFormat=n:l.wrappedWarn("Warning: logAF labelFormat option must be set to 'file' (default), 'path', 'parent', 'arrow', or a custom string or function\n"))},writable:!0}}),(c.options.reset=function(){c.label=!0,c.labelFormat="file",c.duration=!0})();var l=r.default=Object(i.a)(c,"logAF")},function(t,r,e){"use strict";e.r(r),r.default=function(t,r){return this.then(e=>{if("string"!=typeof e||Array.isArray(e))throw TypeError(`splitAF may be called on a string but was called on ${e}`);return String.prototype.split.call(e,t,r)})}},function(t,r,e){"use strict";e.r(r);var n=e(0);const o=function(t=","){return this.then(r=>{if(!Object(n.a)(r))throw TypeError(`joinAF cannot be called on ${r}, only on an Array or array-like Object`);return Array.prototype.join.call(r,t)})};Object.defineProperty(o,"length",{value:1}),r.default=o},function(t,r,e){"use strict";e.r(r);var n=e(0);r.default=function(t,r){return this.then(e=>{if(!Object(n.a)(e))throw TypeError(`lastIndexOfAF cannot be called on ${e}, only on an Array, String, or array-like Object`);return("string"==typeof e?String:Array).prototype.lastIndexOf.call(e,t,r||e.length-1)})}},function(t,r,e){"use strict";e.r(r);var n=e(0);r.default=function(t,r=0){return this.then(e=>{if(!Object(n.a)(e))throw TypeError(`indexOfAF cannot be called on ${e}, only on an Array, String, or array-like Object`);return("string"==typeof e?String:Array).prototype.indexOf.call(e,t,r)})}},function(t,r,e){"use strict";e.r(r);var n=e(0);r.default=function(t,r){return this.then(e=>{if(!Object(n.a)(e))throw TypeError(`findIndexAF cannot be called on ${e}, only on an Array or array-like Object`);return Array.prototype.findIndex.call(e,t,r)})}},function(t,r,e){"use strict";e.r(r);var n=e(0);r.default=function(t,r){return this.then(e=>{if(!Object(n.a)(e))throw TypeError(`findAF cannot be called on ${e}, only on an Array or array-like Object`);return Array.prototype.find.call(e,t,r)})}},function(t,r,e){"use strict";e.r(r);var n=e(0);r.default=function(t,r=0){return this.then(e=>{if(!Object(n.a)(e))throw TypeError(`includesAF cannot be called on ${e}, only on an Array, String, or array-like Object`);return("string"==typeof e?String:Array).prototype.includes.call(e,t,r)})}},function(t,r,e){"use strict";e.r(r);var n=e(0);r.default=function(t,r){return this.then(e=>{if(!Object(n.a)(e))throw TypeError(`someAF cannot be called on ${e}, only on an Array or array-like Object`);return Array.prototype.some.call(e,t,r)})}},function(t,r,e){"use strict";e.r(r);var n=e(0);r.default=function(t,r){return this.then(e=>{if(!Object(n.a)(e))throw TypeError(`everyAF cannot be called on ${e}, only on an Array or array-like Object`);return Array.prototype.every.call(e,t,r)})}},function(t,r,e){"use strict";e.r(r);var n=e(0);r.default=function(t,r=null){return this.then(e=>{if(!Object(n.a)(e))throw TypeError(`reduceAF cannot be called on ${e}, only on an Array or array-like Object`);if(!e.length&&null===r)throw TypeError("reduceAF cannot be called on an empty array without an initial value");return Array.prototype.reduce.call(e,t,r)})}},function(t,r,e){"use strict";e.r(r);var n=e(0);r.default=function(t,r){return this.then(e=>{if(!Object(n.a)(e))throw TypeError(`filterAF cannot be called on ${e}, only on an Array or array-like Object`);return Array.prototype.filter.call(e,t,r)})}},function(t,r,e){"use strict";e.r(r);var n=e(0);r.default=function(t,r){return this.then(e=>{if(!Object(n.a)(e))throw TypeError(`forEachAF cannot be called on ${e}, only on an Array or array-like Object`);return Array.prototype.forEach.call(e,t,r)})}},function(t,r,e){"use strict";e.r(r);var n=e(0);r.default=function(t,r){return this.then(e=>{if(!Object(n.a)(e))throw TypeError(`mapAF cannot be called on ${e}, only on an Array or array-like Object`);return Array.prototype.map.call(e,t,r)})}},function(t,r,e){"use strict";e.r(r);var n=e(2),o=e(1),a=e(3),i=e(16),c=e(15),l=e(14),u=e(13),s=e(12),f=e(11),y=e(10),p=e(9),d=e(8),b=e(7),h=e(6),A=e(5),O=e(4);const j=t=>`@async-af/${t.replace(/(AsyncAf|AF)/g,"").toLowerCase()}`,m=(j("AsyncAfWrapper"),[Object(o.a)(a.default,"logAF")].map(t=>[t,`./lib/methods/other/${t.name}`,j(t.name)])),v=[Object(o.a)(i.default,"mapAF"),Object(o.a)(c.default,"forEachAF"),Object(o.a)(l.default,"filterAF"),Object(o.a)(u.default,"reduceAF"),Object(o.a)(s.default,"everyAF"),Object(o.a)(f.default,"someAF"),Object(o.a)(y.default,"includesAF"),Object(o.a)(p.default,"findAF"),Object(o.a)(d.default,"findIndexAF"),Object(o.a)(b.default,"indexOfAF"),Object(o.a)(h.default,"lastIndexOfAF"),Object(o.a)(A.default,"joinAF")].map(t=>[t,`./lib/methods/arrays/${t.name}`,j(t.name)]),w=[Object(o.a)(O.default,"splitAF")].map(t=>[t,`./lib/methods/strings/${t.name}`,j(t.name)]),F=[...v,...w],g=t=>t.map(([t])=>t),x=g(m),E=g(F);class $ extends n.AsyncAfWrapperProto{}const T=$;($=function(t){return new T(t)}).prototype=T.prototype,Object.setPrototypeOf($,T),$.prototype.constructor=$;const k=t=>t.reduce((t,r)=>{const e=(P=r.name.split`AF`||[r.name],I=1,function(t){if(Array.isArray(t))return t}(P)||function(t,r){var e=[],n=!0,o=!1,a=void 0;try{for(var i,c=t[Symbol.iterator]();!(n=(i=c.next()).done)&&(e.push(i.value),!r||e.length!==r);n=!0);}catch(t){o=!0,a=t}finally{try{n||null==c.return||c.return()}finally{if(o)throw a}}return e}(P,I)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}())[0];return Object.assign(t,{[r.name]:{value:r}},{[e]:{value:r}})},{});var P,I;Object.defineProperties(n.AsyncAfWrapperProto,k(x)),Object.defineProperties(n.AsyncAfWrapperProto.prototype,k(E)),r.default=$}]).default},"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define("AsyncAF",[],r):"object"==typeof exports?exports.AsyncAF=r():t.AsyncAF=r();
var t,r;t="undefined"!=typeof self?self:this,r=function(){return function(t){var r={};function e(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:n})},e.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},e.p="",e(e.s=18)}([function(t,r,e){"use strict";r.a=function(t){return Array.isArray(t)||null!=t&&null!=t.length}},function(t,r,e){"use strict";r.a=function(t,r){return Object.defineProperty(t,"name",{value:r,configurable:!0})}},function(t,r,e){"use strict";e.r(r);e.d(r,"AsyncAfWrapperProto",function(){return n});class n{constructor(t){this.data=Promise[Array.isArray(t)?"all":"resolve"](t)}then(t,r){return new this.constructor(this.data.then(t,r))}catch(t){return this.then(null,t)}finally(t){return this.data.finally(t)}}class o extends n{}const a=o;(o=function(t){return new a(t)}).prototype=a.prototype,Object.setPrototypeOf(o,a),o.prototype.constructor=o,n.use=function(t,r={}){if("object"!=typeof 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"!=typeof r)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,r)},r.default=o},function(t,r,e){"use strict";e.r(r);var n,o,a=(t,r,e)=>{if("string"==typeof t)return t;let a=(n=r.split`:`,o=3,function(t){if(Array.isArray(t))return t}(n)||function(t,r){var e=[],n=!0,o=!1,a=void 0;try{for(var c,i=t[Symbol.iterator]();!(n=(c=i.next()).done)&&(e.push(c.value),!r||e.length!==r);n=!0);}catch(t){o=!0,a=t}finally{try{n||null==i.return||i.return()}finally{if(o)throw a}}return e}(n,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()),c=a[0],i=a[1],l=a[2];const u=(c=c.split`/`).pop();c=c.join`/`;const s=`${c.split`/`.pop()}/`;return t({path:c+="/",line:i,col:l,file:u,parent:s,arrow:e})};var c=e(1);const i=function t(...r){t.label&&r.unshift(t.setFormat(t.labelFormat));const e=Date.now();return Promise.all(r).then(r=>{if(t.duration){const t=((Date.now()-e)/1e3).toFixed(3);r.push(`\nin ${t} secs`)}t.wrappedLog(...r)})};Object.defineProperties(i,{wrappedLog:{value:(...t)=>{console&&console.log&&console.log(...t)},writable:!0},wrappedWarn:{value:(...t)=>{console&&console.warn&&console.warn(...t)},writable:!0},setFormat:{value:t=>{const r=Error();if(!r.stack)return"";const e=function(t,r){return function(t){if(Array.isArray(t))return t}(t)||function(t,r){var e=[],n=!0,o=!1,a=void 0;try{for(var c,i=t[Symbol.iterator]();!(n=(c=i.next()).done)&&(e.push(c.value),!r||e.length!==r);n=!0);}catch(t){o=!0,a=t}finally{try{n||null==i.return||i.return()}finally{if(o)throw a}}return e}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}(r.stack.split`\n`.filter((t,r,e)=>/logAF(\s+|\s+\[.+\]\s+)\(/.test(e[r?r-1:r])),1)[0],n=e.slice(e.indexOf`(`+1,e.indexOf`)`),o=n.lastIndexOf`/`,c={file:()=>`@${n.slice(o+1)}:\n`,path:()=>`@${n}:\n`,parent(){const t=n.slice(0,o).lastIndexOf`/`+1;return`@${n.slice(t)}:\n`},arrow:()=>"========================>"};return c[t]?c[t]():a(t,n,c.arrow())},writable:!0},options:{value:(t={})=>{const r=t.label,e=t.duration,n=t.labelFormat;"boolean"==typeof r&&(l.label=r),"boolean"==typeof e&&(l.duration=e),n&&("string"==typeof n||"function"==typeof n?l.labelFormat=n:l.wrappedWarn("Warning: logAF labelFormat option must be set to 'file' (default), 'path', 'parent', 'arrow', or a custom string or function\n"))},writable:!0}}),(i.options.reset=function(){i.label=!0,i.labelFormat="file",i.duration=!0})();var l=r.default=Object(c.a)(i,"logAF")},function(t,r,e){"use strict";e.r(r),r.default=function(t,r){return this.then(e=>{if("string"!=typeof e||Array.isArray(e))throw TypeError(`splitAF may be called on a string but was called on ${e}`);return String.prototype.split.call(e,t,r)})}},function(t,r,e){"use strict";e.r(r),r.default=function(...t){return this.then(r=>{if("string"!=typeof r&&!Array.isArray(r))throw TypeError(`concatAF cannot be called on ${r}, only on an Array or String`);return t.reduce((t,r)=>t instanceof Promise?t.then(t=>r instanceof this.constructor||r instanceof Promise?r.then(r=>t.concat(r)):t.concat(r),t):r instanceof this.constructor||r instanceof Promise?r.then(r=>t.concat(r)):t.concat(r),r)})}},function(t,r,e){"use strict";e.r(r);var n=e(0);const o=function(t=","){return this.then(r=>{if(!Object(n.a)(r))throw TypeError(`joinAF cannot be called on ${r}, only on an Array or array-like Object`);return Array.prototype.join.call(r,t)})};Object.defineProperty(o,"length",{value:1}),r.default=o},function(t,r,e){"use strict";e.r(r);var n=e(0);r.default=function(t,r){return this.then(e=>{if(!Object(n.a)(e))throw TypeError(`lastIndexOfAF cannot be called on ${e}, only on an Array, String, or array-like Object`);return("string"==typeof e?String:Array).prototype.lastIndexOf.call(e,t,r||e.length-1)})}},function(t,r,e){"use strict";e.r(r);var n=e(0);r.default=function(t,r=0){return this.then(e=>{if(!Object(n.a)(e))throw TypeError(`indexOfAF cannot be called on ${e}, only on an Array, String, or array-like Object`);return("string"==typeof e?String:Array).prototype.indexOf.call(e,t,r)})}},function(t,r,e){"use strict";e.r(r);var n=e(0);r.default=function(t,r){return this.then(e=>{if(!Object(n.a)(e))throw TypeError(`findIndexAF cannot be called on ${e}, only on an Array or array-like Object`);return Array.prototype.findIndex.call(e,t,r)})}},function(t,r,e){"use strict";e.r(r);var n=e(0);r.default=function(t,r){return this.then(e=>{if(!Object(n.a)(e))throw TypeError(`findAF cannot be called on ${e}, only on an Array or array-like Object`);return Array.prototype.find.call(e,t,r)})}},function(t,r,e){"use strict";e.r(r);var n=e(0);r.default=function(t,r=0){return this.then(e=>{if(!Object(n.a)(e))throw TypeError(`includesAF cannot be called on ${e}, only on an Array, String, or array-like Object`);return("string"==typeof e?String:Array).prototype.includes.call(e,t,r)})}},function(t,r,e){"use strict";e.r(r);var n=e(0);r.default=function(t,r){return this.then(e=>{if(!Object(n.a)(e))throw TypeError(`someAF cannot be called on ${e}, only on an Array or array-like Object`);return Array.prototype.some.call(e,t,r)})}},function(t,r,e){"use strict";e.r(r);var n=e(0);r.default=function(t,r){return this.then(e=>{if(!Object(n.a)(e))throw TypeError(`everyAF cannot be called on ${e}, only on an Array or array-like Object`);return Array.prototype.every.call(e,t,r)})}},function(t,r,e){"use strict";e.r(r);var n=e(0);r.default=function(t,r=null){return this.then(e=>{if(!Object(n.a)(e))throw TypeError(`reduceAF cannot be called on ${e}, only on an Array or array-like Object`);if(!e.length&&null===r)throw TypeError("reduceAF cannot be called on an empty array without an initial value");return Array.prototype.reduce.call(e,t,r)})}},function(t,r,e){"use strict";e.r(r);var n=e(0);r.default=function(t,r){return this.then(e=>{if(!Object(n.a)(e))throw TypeError(`filterAF cannot be called on ${e}, only on an Array or array-like Object`);return Array.prototype.filter.call(e,t,r)})}},function(t,r,e){"use strict";e.r(r);var n=e(0);r.default=function(t,r){return this.then(e=>{if(!Object(n.a)(e))throw TypeError(`forEachAF cannot be called on ${e}, only on an Array or array-like Object`);return Array.prototype.forEach.call(e,t,r)})}},function(t,r,e){"use strict";e.r(r);var n=e(0);r.default=function(t,r){return this.then(e=>{if(!Object(n.a)(e))throw TypeError(`mapAF cannot be called on ${e}, only on an Array or array-like Object`);return Array.prototype.map.call(e,t,r)})}},function(t,r,e){"use strict";e.r(r);var n=e(2),o=e(1),a=e(3),c=e(17),i=e(16),l=e(15),u=e(14),s=e(13),f=e(12),y=e(11),p=e(10),d=e(9),b=e(8),h=e(7),A=e(6),O=e(5),j=e(4);const m=t=>`@async-af/${t.replace(/(AsyncAf|AF)/g,"").toLowerCase()}`,v=(m("AsyncAfWrapper"),[Object(o.a)(a.default,"logAF")].map(t=>[t,`./lib/methods/other/${t.name}`,m(t.name)])),w=[Object(o.a)(c.default,"mapAF"),Object(o.a)(i.default,"forEachAF"),Object(o.a)(l.default,"filterAF"),Object(o.a)(u.default,"reduceAF"),Object(o.a)(s.default,"everyAF"),Object(o.a)(f.default,"someAF"),Object(o.a)(y.default,"includesAF"),Object(o.a)(p.default,"findAF"),Object(o.a)(d.default,"findIndexAF"),Object(o.a)(b.default,"indexOfAF"),Object(o.a)(h.default,"lastIndexOfAF"),Object(o.a)(A.default,"joinAF"),Object(o.a)(O.default,"concatAF")].map(t=>[t,`./lib/methods/arrays/${t.name}`,m(t.name)]),F=[Object(o.a)(j.default,"splitAF")].map(t=>[t,`./lib/methods/strings/${t.name}`,m(t.name)]),g=[...w,...F],x=t=>t.map(([t])=>t),E=x(v),$=x(g);class T extends n.AsyncAfWrapperProto{}const P=T;(T=function(t){return new P(t)}).prototype=P.prototype,Object.setPrototypeOf(T,P),T.prototype.constructor=T;const k=t=>t.reduce((t,r)=>{const e=(I=r.name.split`AF`||[r.name],S=1,function(t){if(Array.isArray(t))return t}(I)||function(t,r){var e=[],n=!0,o=!1,a=void 0;try{for(var c,i=t[Symbol.iterator]();!(n=(c=i.next()).done)&&(e.push(c.value),!r||e.length!==r);n=!0);}catch(t){o=!0,a=t}finally{try{n||null==i.return||i.return()}finally{if(o)throw a}}return e}(I,S)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}())[0];return Object.assign(t,{[r.name]:{value:r}},{[e]:{value:r}})},{});var I,S;Object.defineProperties(n.AsyncAfWrapperProto,k(E)),Object.defineProperties(n.AsyncAfWrapperProto.prototype,k($)),r.default=T}]).default},"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define("AsyncAF",[],r):"object"==typeof exports?exports.AsyncAF=r():t.AsyncAF=r();
//# sourceMappingURL=min.js.map

@@ -6,3 +6,3 @@ {

"license": "MIT",
"version": "5.2.0",
"version": "5.3.0",
"homepage": "https://async-af.js.org",

@@ -9,0 +9,0 @@ "bugs": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc