/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
v4.33.16 */
import{a as l,b as m}from"./T2U7YMYT.js";import{a as o}from"./NFZIPMDZ.js";import{Q as i,a as e}from"./MWSR363G.js";function d({level:a,class:r,children:s}){let t=h(a),c=`h${t}`,n=l(c);return m`<${n} .ariaLevel=${String(t)} class=${i(e(o.heading,r))} role=heading>${s}</${n}>`}function f(a,r,s){return Math.min(Math.max(a,r),s)}function h(a){return f(Math.ceil(a),1,6)}export{d as a};
