"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:a={},advanced:u,builderProps:n,isText:s,className:l,pageContext:i,...c})=>{let d=()=>{switch(a.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:a.text,translate:a.translate,globalSize:a.globalSize,background:a.background};return Text_liquid.default({styles:e,builderAttrs:t,style:r,setting:o,advanced:u,builderProps:n,className:l,isText:s,pageContext:i,...c})};exports.default=Heading;
