"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var Text_liquid=require("../../text/components/Text.liquid.js");const Heading=({styles:e,builderAttrs:t,style:r,setting:u={},advanced:a,builderProps:n,isText:i,className:s,pageContext:l,...c})=>{let d=()=>{switch(u.htmlTag){case 1:return"h1";case 2:return"h2";case 3:return"h3";case 4:return"h4";case 5:return"h5";case 6:return"h6";default:return"div"}},o={htmlTag:d(),text:u.text,globalSize:u.globalSize,background:u.background};return Text_liquid.default({styles:e,builderAttrs:t,style:r,setting:o,advanced:a,builderProps:n,className:s,isText:i,pageContext:l,...c})};exports.default=Heading;
