/*!
 * KoliBri - The accessible HTML-Standard
 */
'use strict';

var level = require('./level-VjfppjxT.js');
var common = require('./common-DAAt5YQ7.js');

const watchHeadingLevel = (component, value) => {
    common.watchValidator(component, '_level', (value) => typeof value === 'number' && level.headingLevelOptions.includes(value), new Set(level.headingLevelOptions.map(String)), value, {
        defaultValue: 1,
        required: true,
    });
};

exports.watchHeadingLevel = watchHeadingLevel;
//# sourceMappingURL=validation-DwarFcC9.js.map

//# sourceMappingURL=validation-DwarFcC9.js.map