/*!
 * KoliBri - The accessible HTML-Standard
 */
import{w as watchValidator}from"./common.js";import{h as headingLevelOptions}from"./label.js";const validateLevel=(e,a)=>{watchValidator(e,"_level",e=>"number"==typeof e&&headingLevelOptions.includes(e),new Set(headingLevelOptions.map(String)),a,{defaultValue:1,required:!0})},watchHeadingLevel=(e,a)=>{validateLevel(e,a)};export{watchHeadingLevel as w};