text: "use strict";
  
  exports.__esModule = true;
  exports.default = AnimatedGridRows;
  
  var _react = _interopRequireDefault(require("react"));
  
  var _GridRows = _interopRequireDefault(require("@visx/grid/lib/grids/GridRows"));
  
  var _AnimatedGridLines = _interopRequireDefault(require("./AnimatedGridLines"));
  
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
  
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
  
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
  
  function AnimatedGridRows(_ref) {
    var scale = _ref.scale,
        width = _ref.width,
        numTicks = _ref.numTicks,
        tickValues = _ref.tickValues,
        offset = _ref.offset,
        className = _ref.className,
        animationTrajectory = _ref.animationTrajectory,
        top = _ref.top,
        left = _ref.left,
        lineProps = _objectWithoutPropertiesLoose(_ref, ["scale", "width", "numTicks", "tickValues", "offset", "className", "animationTrajectory", "top", "left"]);
  
    return /*#__PURE__*/_react.default.createElement(_GridRows.default, {
      scale: scale,
      width: width,
      numTicks: numTicks,
      tickValues: tickValues,
      className: className,
      top: top,
      left: left
    }, function (_ref2) {
      var lines = _ref2.lines;
      return /*#__PURE__*/_react.default.createElement(_AnimatedGridLines.default, _extends({
        scale: scale,
        lines: lines,
        animationTrajectory: animationTrajectory,
        animateXOrY: "y",
        lineKey: function lineKey(line) {
          var _line$from$y, _line$from;
  
          return String((_line$from$y = line == null ? void 0 : (_line$from = line.from) == null ? void 0 : _line$from.y) != null ? _line$from$y : '');
        }
      }, lineProps));
    });
  }