/*! All material copyright GeoScene, All Rights Reserved, unless otherwise specified.
See https://js.geoscene.cn/4.33/geoscene/copyright.txt for details.
v4.33.18 */
import{a as l,b as m}from"./CUXGWD2V.js";import{a as o}from"./LL7T22QC.js";import{Q as i,a as e}from"./3VKC6PRK.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};