import{__exports as r}from"../../../_virtual/es.array.concat.mjs";import{__require as e}from"../internals/export.mjs";import{__require as t}from"../internals/fails.mjs";import{__require as i}from"../internals/is-array.mjs";import{__require as a}from"../internals/is-object.mjs";import{__require as s}from"../internals/to-object.mjs";import{__require as o}from"../internals/length-of-array-like.mjs";import{__require as n}from"../internals/does-not-exceed-safe-integer.mjs";import{__require as m}from"../internals/create-property.mjs";import{__require as _}from"../internals/array-set-length.mjs";import{__require as f}from"../internals/array-species-create.mjs";import{__require as u}from"../internals/array-method-has-species-support.mjs";import{__require as p}from"../internals/well-known-symbol.mjs";import{__require as l}from"../internals/environment-v8-version.mjs";var c;function j(){if(c)return r;c=1;var j=e(),q=t(),v=i(),y=a(),d=s(),h=o(),g=n(),b=m(),x=_(),k=f(),w=u(),A=p(),C=l(),S=A("isConcatSpreadable"),z=C>=51||!q(function(){var r=[];return r[S]=!1,r.concat()[0]!==r}),B=function(r){if(!y(r))return!1;var e=r[S];return void 0!==e?!!e:v(r)};return j({target:"Array",proto:!0,arity:1,forced:!z||!w("concat")},{concat:function(r){var e,t,i,a,s,o=d(this),n=k(o,0),m=0;for(e=-1,i=arguments.length;e<i;e++)if(B(s=-1===e?o:arguments[e]))for(a=h(s),g(m+a),t=0;t<a;t++,m++)t in s&&b(n,m,s[t]);else g(m+1),b(n,m++,s);return x(n,m),n}}),r}export{j as __require};