import "core-js/modules/es.array.includes.js";
import "core-js/modules/es.string.includes.js";
export var command = {
  name: 'editorCloseAndSave',
  callback: function callback(hot, event, keys) {
    var editorManager = hot._getEditorManager();
    editorManager.closeEditorAndSaveChanges(hot.getShortcutManager().isCtrlPressed());
    editorManager.moveSelectionAfterEnter(keys.includes('shift'));
  }
};