import{__require as r}from"./function-bind-context.mjs";import{__require as e}from"./function-call.mjs";import{__require as o}from"./a-constructor.mjs";import{__require as i}from"./to-object.mjs";import{__require as t}from"./length-of-array-like.mjs";import{__require as m}from"./get-iterator.mjs";import{__require as a}from"./get-iterator-method.mjs";import{__require as s}from"./is-array-iterator-method.mjs";import{__require as u}from"./is-big-int-array.mjs";import{__require as _}from"./array-buffer-view-core.mjs";import{__require as f}from"./to-big-int.mjs";var n,p;function j(){if(p)return n;p=1;var j=r(),q=e(),c=o(),d=i(),v=t(),g=m(),h=a(),l=s(),y=u(),b=_().aTypedArrayConstructor,x=f();return n=function(r){var e,o,i,t,m,a,s,u,_=c(this),f=d(r),n=arguments.length,p=n>1?arguments[1]:void 0,w=void 0!==p,k=h(f);if(k&&!l(k))for(u=(s=g(f,k)).next,f=[];!(a=q(u,s)).done;)f.push(a.value);for(w&&n>2&&(p=j(p,arguments[2])),o=v(f),i=new(b(_))(o),t=y(i),e=0;o>e;e++)m=w?p(f[e],e):f[e],i[e]=t?x(m):+m;return i},n}export{j as __require};