"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _reactRedux = require("react-redux");
var _CreatePage = _interopRequireDefault(require("../../components/pages/CreatePage"));
var _reducers = require("../../reducers");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
const mapStateToProps = state => ({
  perms: (0, _reducers.getUserPerms)(state),
  getAuthorityVocabWorkflowState: (recordType, vocabulary) => (0, _reducers.getAuthorityVocabWorkflowState)(state, recordType, vocabulary)
});
var _default = (0, _reactRedux.connect)(mapStateToProps)(_CreatePage.default);
exports.default = _default;