import{__exports as r}from"../../../_virtual/es.error.cause.mjs";import{__require as n}from"../internals/export.mjs";import{__require as t}from"../internals/global-this.mjs";import{__require as e}from"../internals/function-apply.mjs";import{__require as o}from"../internals/wrap-error-constructor-with-cause.mjs";var u;function i(){if(u)return r;u=1;var i=n(),s=t(),c=e(),f=o(),a="WebAssembly",m=s[a],l=7!==new Error("e",{cause:7}).cause,p=function(r,n){var t={};t[r]=f(r,n,l),i({global:!0,constructor:!0,arity:1,forced:l},t)},_=function(r,n){if(m&&m[r]){var t={};t[r]=f(a+"."+r,n,l),i({target:a,stat:!0,constructor:!0,arity:1,forced:l},t)}};return p("Error",function(r){return function(n){return c(r,this,arguments)}}),p("EvalError",function(r){return function(n){return c(r,this,arguments)}}),p("RangeError",function(r){return function(n){return c(r,this,arguments)}}),p("ReferenceError",function(r){return function(n){return c(r,this,arguments)}}),p("SyntaxError",function(r){return function(n){return c(r,this,arguments)}}),p("TypeError",function(r){return function(n){return c(r,this,arguments)}}),p("URIError",function(r){return function(n){return c(r,this,arguments)}}),_("CompileError",function(r){return function(n){return c(r,this,arguments)}}),_("LinkError",function(r){return function(n){return c(r,this,arguments)}}),_("RuntimeError",function(r){return function(n){return c(r,this,arguments)}}),r}export{i as __require};