import{__exports as r}from"../../../_virtual/es.array.slice.mjs";import{__require as e}from"../internals/export.mjs";import{__require as i}from"../internals/is-array.mjs";import{__require as s}from"../internals/is-constructor.mjs";import{__require as t}from"../internals/is-object.mjs";import{__require as o}from"../internals/to-absolute-index.mjs";import{__require as a}from"../internals/length-of-array-like.mjs";import{__require as n}from"../internals/to-indexed-object.mjs";import{__require as m}from"../internals/create-property.mjs";import{__require as _}from"../internals/array-set-length.mjs";import{__require as l}from"../internals/well-known-symbol.mjs";import{__require as p}from"../internals/array-method-has-species-support.mjs";import{__require as u}from"../internals/array-slice.mjs";var f;function c(){if(f)return r;f=1;var c=e(),j=i(),q=s(),y=t(),d=o(),v=a(),h=n(),x=m(),b=_(),g=l(),w=p(),k=u(),A=w("slice"),M=g("species"),z=Array,B=Math.max;return c({target:"Array",proto:!0,forced:!A},{slice:function(r,e){var i,s,t,o=h(this),a=v(o),n=d(r,a),m=d(void 0===e?a:e,a);if(j(o)&&(i=o.constructor,(q(i)&&(i===z||j(i.prototype))||y(i)&&null===(i=i[M]))&&(i=void 0),i===z||void 0===i))return k(o,n,m);for(s=new(void 0===i?z:i)(B(m-n,0)),t=0;n<m;n++,t++)n in o&&x(s,t,o[n]);return b(s,t),s}}),r}export{c as __require};