Liferay.Loader.define('document-library-preview-image$lodash-es@4.17.15/_cloneTypedArray', ['module', 'exports', 'require'], function (module, exports, require) {
  var define = undefined;
  var global = window;
  {
    import cloneArrayBuffer from './_cloneArrayBuffer.js';

    /**
     * Creates a clone of `typedArray`.
     *
     * @private
     * @param {Object} typedArray The typed array to clone.
     * @param {boolean} [isDeep] Specify a deep clone.
     * @returns {Object} Returns the cloned typed array.
     */
    function cloneTypedArray(typedArray, isDeep) {
      var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;
      return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
    }

    export default cloneTypedArray;
  }
});
//# sourceMappingURL=_cloneTypedArray.js.map