import { __require as requireKeys } from '../../../../fbjs@2.0.0/node_modules/fbjs/lib/Keys.js';

/**
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *
 * @format
 * 
 * @emails oncall+draft_js
 */

var isSoftNewlineEvent_1;
var hasRequiredIsSoftNewlineEvent;

function requireIsSoftNewlineEvent () {
	if (hasRequiredIsSoftNewlineEvent) return isSoftNewlineEvent_1;
	hasRequiredIsSoftNewlineEvent = 1;

	var Keys = requireKeys();

	function isSoftNewlineEvent(e) {
	  return e.which === Keys.RETURN && (e.getModifierState('Shift') || e.getModifierState('Alt') || e.getModifierState('Control'));
	}

	isSoftNewlineEvent_1 = isSoftNewlineEvent;
	return isSoftNewlineEvent_1;
}

export { requireIsSoftNewlineEvent as __require };
//# sourceMappingURL=isSoftNewlineEvent.js.map
