"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = void 0;
var _ComponentContainer = _interopRequireDefault(require("../../../../Framework/ComponentContainer"));
var _ServiceLocator = require("../../../ServiceLocator");
var _CloseGraphicsEditorButton = _interopRequireDefault(require("../Components/CloseGraphicsEditorButton"));
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
var mapStateToProps = function mapStateToProps() {
  return {
    Component: _CloseGraphicsEditorButton["default"]
  };
};
var mapDispatchToProps = function mapDispatchToProps() {
  return {
    closeDesignArea: function closeDesignArea() {
      return _ServiceLocator.Services.designData.clearDesignAreaSelection();
    }
  };
};
var _default = exports["default"] = (0, _ComponentContainer["default"])(mapStateToProps, mapDispatchToProps);