System.register(["__unresolved_0", "__unresolved_1", "__unresolved_2", "__unresolved_3", "__unresolved_4"], function (_export, _context) {
  "use strict";

  var _req, _req2, _req3, _req4, _loader, _cjsExports, __cjsMetaURL;

  _export("default", void 0);

  return {
    setters: [function (_unresolved_) {
      _req = _unresolved_.__cjsMetaURL;
    }, function (_unresolved_2) {
      _req2 = _unresolved_2.__cjsMetaURL;
    }, function (_unresolved_3) {
      _req3 = _unresolved_3.__cjsMetaURL;
    }, function (_unresolved_4) {
      _req4 = _unresolved_4.__cjsMetaURL;
    }, function (_unresolved_5) {
      _loader = _unresolved_5.default;
    }],
    execute: function () {
      _loader.define(_context.meta.url, function (exports, _require, module, __filename, __dirname) {
        var require = _loader.createRequireWithReqMap({
          "../internals/array-buffer-view-core": _req,
          "../internals/typed-array-species-constructor": _req2,
          "../internals/fails": _req3,
          "../internals/array-slice": _req4
        }, _require);

        (function () {
          var ArrayBufferViewCore = require('../internals/array-buffer-view-core');

          var typedArraySpeciesConstructor = require('../internals/typed-array-species-constructor');

          var fails = require('../internals/fails');

          var arraySlice = require('../internals/array-slice');

          var aTypedArray = ArrayBufferViewCore.aTypedArray;
          var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
          var FORCED = fails(function () {
            // eslint-disable-next-line es/no-typed-arrays -- required for testing
            new Int8Array(1).slice();
          }); // `%TypedArray%.prototype.slice` method
          // https://tc39.es/ecma262/#sec-%typedarray%.prototype.slice

          exportTypedArrayMethod('slice', function slice(start, end) {
            var list = arraySlice(aTypedArray(this), start, end);
            var C = typedArraySpeciesConstructor(this);
            var index = 0;
            var length = list.length;
            var result = new C(length);

            while (length > index) {
              result[index] = list[index++];
            }

            return result;
          }, FORCED);
        })();

        _export("default", _cjsExports = module.exports);
      });

      _export("__cjsMetaURL", __cjsMetaURL = _context.meta.url);
    }
  };
});
//# sourceMappingURL=es.typed-array.slice.js.map