"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;

var _reactRedux = require("react-redux");

var _reactRouterDom = require("react-router-dom");

var _component = _interopRequireDefault(require("./component"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var mapStateToProps = function mapStateToProps(_ref) {
  var modal = _ref.modal,
      sharedUserSettings = _ref.sharedUserSettings,
      isTouchDevice = _ref.sharedTouchDevice.isTouchDevice;
  var activeModalIds = modal.activeModalIds;
  return {
    isTouchDevice: isTouchDevice,
    activeModalIds: activeModalIds,
    sharedUserSettings: sharedUserSettings
  };
};

var _default = (0, _reactRouterDom.withRouter)((0, _reactRedux.connect)(mapStateToProps)(_component.default));

exports.default = _default;