import{__exports as r}from"../../../_virtual/es.aggregate-error.cause.mjs";import{__require as e}from"../internals/export.mjs";import{__require as t}from"../internals/get-built-in.mjs";import{__require as o}from"../internals/function-apply.mjs";import{__require as i}from"../internals/fails.mjs";import{__require as n}from"../internals/wrap-error-constructor-with-cause.mjs";var s;function a(){if(s)return r;s=1;var a=e(),u=t(),m=o(),c=i(),f=n(),_="AggregateError",p=u(_),g=!c(function(){return 1!==p([1]).errors[0]})&&c(function(){return 7!==p([1],_,{cause:7}).cause});return a({global:!0,constructor:!0,arity:2,forced:g},{AggregateError:f(_,function(r){return function(e,t){return m(r,this,arguments)}},g,!0)}),r}export{a as __require};