/*
 * Copyright (C) 2016-2020 Kano Computing Ltd.
 * License: http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License v2
 */
export class BannerHelper {
    enter(challenge, step) {
        challenge.editor.setInputDisabled(true);
    }
    leave(challenge, step) {
        challenge.editor.setInputDisabled(false);
    }
    test(challenge, step) {
        return step.banner && step.banner.disableInput;
    }
}
//# sourceMappingURL=banner.js.map