/**
 * Minified by jsDelivr using Terser v5.39.0.
 * Original file: /npm/sync-each@1.0.1/index.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
!function(e){"use strict";var n=function(e,n,t){if(!Array.isArray(e))throw new TypeError("each() expects array as first argument");if("function"!=typeof n)throw new TypeError("each() expects function as second argument");if("function"!=typeof t&&(t=Function.prototype),0===e.length)return t(void 0,e);var r=new Array(e.length),o=0,i=!1,f=function(u){var c=e[u];n(c,(function(n,c){if(!i){if(n)return i=!0,t(n);if(r[u]=c,(o+=1)===e.length)return t(void 0,r);u<e.length&&f(u+1)}}))};f(0)};"undefined"!=typeof define&&define.amd?define([],(function(){return n})):"undefined"!=typeof module&&module.exports?module.exports=n:e.syncEach=n}(this);
//# sourceMappingURL=/sm/0068a8b539fb3f59a8a6ed846b309d463604cf7ce0fd493c8396bef8f52e51a8.map