import{__exports as r}from"../../../_virtual/es.promise.catch.mjs";import{__require as e}from"../internals/export.mjs";import{__require as t}from"../internals/is-pure.mjs";import{__require as i}from"../internals/promise-constructor-detection.mjs";import{__require as o}from"../internals/promise-native-constructor.mjs";import{__require as s}from"../internals/get-built-in.mjs";import{__require as a}from"../internals/is-callable.mjs";import{__require as n}from"../internals/define-built-in.mjs";var m;function p(){if(m)return r;m=1;var p=e(),u=t(),c=i().CONSTRUCTOR,_=o(),f=s(),l=a(),j=n(),q=_&&_.prototype;if(p({target:"Promise",proto:!0,forced:c,real:!0},{catch:function(r){return this.then(void 0,r)}}),!u&&l(_)){var h=f("Promise").prototype.catch;q.catch!==h&&j(q,"catch",h,{unsafe:!0})}return r}export{p as __require};