Liferay.Loader.define("document-library-preview-image$lodash-es@4.17.15/_iteratorToArray", ['module', 'exports', 'require'], function (module, exports, require) {
  var define = undefined;
  var global = window;
  {
    /**
     * Converts `iterator` to an array.
     *
     * @private
     * @param {Object} iterator The iterator to convert.
     * @returns {Array} Returns the converted array.
     */
    function iteratorToArray(iterator) {
      var data,
          result = [];

      while (!(data = iterator.next()).done) {
        result.push(data.value);
      }
      return result;
    }

    export default iteratorToArray;
  }
});
//# sourceMappingURL=_iteratorToArray.js.map