import{__exports as r}from"../../../_virtual/new-promise-capability.mjs";import{__require as e}from"./a-callable.mjs";var i;function o(){if(i)return r;i=1;var o=e(),t=TypeError,n=function(r){var e,i;this.promise=new r(function(r,o){if(void 0!==e||void 0!==i)throw new t("Bad Promise constructor");e=r,i=o}),this.resolve=o(e),this.reject=o(i)};return r.f=function(r){return new n(r)},r}export{o as __require};