import '../../../assert/js/assert.js';
import '../../../globals.js';
// Copyright 2022-2024, University of Colorado Boulder
/**
 * @author John Blanco (PhET Interactive Simulations)
 */
import Disposable from '../../../axon/js/Disposable.js';
import SoundClip from '../../../tambo/js/sound-generators/SoundClip.js';
import cardFlip_mp3 from '../../sounds/cardFlip_mp3.js';
import joist from '../joist.js';
class PreferencesTabSwitchSoundGenerator extends SoundClip {
    constructor(selectedTabProperty, options) {
        super(cardFlip_mp3, options);
        const playSound = () => { this.play(); };
        selectedTabProperty.lazyLink(playSound);
    }
    dispose() {
        Disposable.assertNotDisposable();
    }
}
joist.register('PreferencesTabSwitchSoundGenerator', PreferencesTabSwitchSoundGenerator);
export default PreferencesTabSwitchSoundGenerator;
//# sourceMappingURL=PreferencesTabSwitchSoundGenerator.js.map