import{__exports as r}from"../../../_virtual/es.promise.try.mjs";import{__require as e}from"../internals/export.mjs";import{__require as i}from"../internals/global-this.mjs";import{__require as t}from"../internals/function-apply.mjs";import{__require as o}from"../internals/array-slice.mjs";import{__require as s}from"../internals/new-promise-capability.mjs";import{__require as a}from"../internals/a-callable.mjs";import{__require as n}from"../internals/perform.mjs";var m;function u(){if(m)return r;m=1;var u=e(),l=i(),_=t(),f=o(),p=s(),c=a(),j=n(),q=l.Promise,v=!1;return u({target:"Promise",stat:!0,forced:!q||!q.try||j(function(){q.try(function(r){v=8===r},8)}).error||!v},{try:function(r){var e=arguments.length>1?f(arguments,1):[],i=p.f(this),t=j(function(){return _(c(r),void 0,e)});return(t.error?i.reject:i.resolve)(t.value),i.promise}}),r}export{u as __require};