import '../../../../globals.js';
import optionize from '../../../../phet-core/js/optionize.js';
import PlayControlButton from '../../buttons/PlayControlButton.js';
import sceneryPhet from '../../sceneryPhet.js';
import SceneryPhetStrings from '../../SceneryPhetStrings.js';
import KeyboardHelpSection from './KeyboardHelpSection.js';
import KeyboardHelpSectionRow from './KeyboardHelpSectionRow.js';
// constants
const timeControlsStringProperty = SceneryPhetStrings.keyboardHelpDialog.timingControls.timingControlsStringProperty;
const pauseOrPlayActionStringProperty = SceneryPhetStrings.keyboardHelpDialog.timingControls.pauseOrPlayActionStringProperty;
const pauseOrPlayActionDescriptionStringProperty = SceneryPhetStrings.a11y.keyboardHelpDialog.timingControls.pauseOrPlayActionDescriptionStringProperty;
class TimeControlsKeyboardHelpSection extends KeyboardHelpSection {
    constructor(providedOptions) {
        const options = optionize()({
            headingString: timeControlsStringProperty,
            pauseOrPlayActionStringProperty: pauseOrPlayActionStringProperty,
            pauseOrPlayActionDescriptionString: pauseOrPlayActionDescriptionStringProperty
        }, providedOptions);
        const playPauseRow = KeyboardHelpSectionRow.fromHotkeyData(PlayControlButton.TOGGLE_PLAY_HOTKEY_DATA, {
            labelStringProperty: options.pauseOrPlayActionStringProperty,
            pdomLabelStringProperty: options.pauseOrPlayActionDescriptionString
        });
        super(options.headingString, [playPauseRow], options);
    }
}
sceneryPhet.register('TimeControlsKeyboardHelpSection', TimeControlsKeyboardHelpSection);
export default TimeControlsKeyboardHelpSection;
//# sourceMappingURL=TimeControlsKeyboardHelpSection.js.map