"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _reactRedux = require("react-redux");
var _ReportPage = _interopRequireDefault(require("../../components/pages/ReportPage"));
var _notification = require("../../actions/notification");
var _prefs = require("../../actions/prefs");
var _report = require("../../actions/report");
var _reducers = require("../../reducers");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
const mapStateToProps = state => ({
  openModalName: (0, _reducers.getOpenModalName)(state),
  perms: (0, _reducers.getUserPerms)(state)
});
const mapDispatchToProps = {
  closeModal: _notification.closeModal,
  openModal: _notification.openModal,
  openReport: _report.openReport,
  setToolTab: _prefs.setToolTab
};
var _default = (0, _reactRedux.connect)(mapStateToProps, mapDispatchToProps)(_ReportPage.default);
exports.default = _default;