import{__exports as r}from"../../../_virtual/es.promise.all.mjs";import{__require as e}from"../internals/export.mjs";import{__require as i}from"../internals/function-call.mjs";import{__require as t}from"../internals/a-callable.mjs";import{__require as o}from"../internals/new-promise-capability.mjs";import{__require as s}from"../internals/perform.mjs";import{__require as a}from"../internals/iterate.mjs";import{__require as n}from"../internals/promise-statics-incorrect-iteration.mjs";var m;function l(){if(m)return r;m=1;var l=e(),u=i(),_=t(),f=o(),p=s(),c=a();return l({target:"Promise",stat:!0,forced:n()},{all:function(r){var e=this,i=f.f(e),t=i.resolve,o=i.reject,s=p(function(){var i=_(e.resolve),s=[],a=0,n=1;c(r,function(r){var m=a++,l=!1;n++,u(i,e,r).then(function(r){l||(l=!0,s[m]=r,--n||t(s))},o)}),--n||t(s)});return s.error&&o(s.value),i.promise}}),r}export{l as __require};