import{h as t,r as e,H as i,g as n}from"./p-6b2342e0.js";import{s}from"./p-519a7d55.js";import{c as r,V as a,I as o}from"./p-6e1ab235.js";import{V as l,I as c}from"./p-4415ad28.js";var p=function(t,e,i,n){var s,r=arguments.length,a=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,n);else for(var o=t.length-1;o>=0;o--)(s=t[o])&&(a=(r<3?s(a):r>3?s(e,i,a):s(e,i))||a);return r>3&&a&&Object.defineProperty(e,i,a),a};class f extends a{render(){return t("vega-flex",{"align-items":"start","justify-content":"start",gap:"size-8",class:"small"===this.size?"section-title-small":void 0},this.renderPrefixIcon(),this.renderText())}renderPrefixIcon(){return this.icon&&"left"===this.iconAlign&&t("div",{class:"section-title-icon-container"},this.renderIcon())}renderText(){return t("vega-flex",{class:"vega-flex-grow",direction:"col","align-items":"start","justify-content":"start",gap:"size-4"},this.renderTitle(),this.renderDescription())}renderTitle(){return t("div",{class:"section-title-text vega-flex-grow"},t("span",null,this.titleText),this.renderSuffixIcon())}renderDescription(){return t("div",{class:"section-title-description"},this.description)}renderSuffixIcon(){return this.icon&&"right"===this.iconAlign&&t("div",{class:"right-icon-container"},this.renderIcon())}renderIcon(){return t("vega-icon",{icon:this.icon,color:this.iconColor,size:"small"===this.size?"size-16":"size-20",class:"vega-flex-shrink-0"})}}p([r()],f.prototype,"host",void 0),p([r()],f.prototype,"titleText",void 0),p([r()],f.prototype,"description",void 0),p([r()],f.prototype,"icon",void 0),p([r()],f.prototype,"iconAlign",void 0),p([r()],f.prototype,"iconColor",void 0),p([r()],f.prototype,"size",void 0);var h=function(t,e,i,n){var s,r=arguments.length,a=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,n);else for(var o=t.length-1;o>=0;o--)(s=t[o])&&(a=(r<3?s(a):r>3?s(e,i,a):s(e,i))||a);return r>3&&a&&Object.defineProperty(e,i,a),a};const x=class{constructor(t){e(this,t),this.globalSlimmers={},this.renderer=new f,this.vegaComponentUsageRuntimeMetricsSlimmer=new l,this.titleText="",this.iconAlign="left",this.iconColor="text-primary",this.size="default"}render(){return s(t(i,null,this.renderer.render()),this.host)}get host(){return n(this)}};h([c()],x.prototype,"globalSlimmers",void 0),h([o()],x.prototype,"renderer",void 0),h([o()],x.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),x.style=':host{display:block}.section-title-text{color:rgba(var(--v-text-primary, 32, 54, 69, 1));font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:28px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){.section-title-text{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:28px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.section-title-text{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:28px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.section-title-text{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:28px;letter-spacing:0px}}.section-title-description{font-family:"Inter", sans-serif;font-size:18px;font-weight:500;line-height:28px;letter-spacing:0px;color:rgba(var(--v-text-secondary, 107, 116, 125, 1))}@media screen and (min-width: 768px) and (max-width: 1023px){.section-title-description{font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.section-title-description{font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.section-title-description{font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}.section-title-icon-container{margin-top:4px}.right-icon-container{display:inline-block;margin-left:8px;margin-top:4px;vertical-align:middle}.section-title-small .section-title-text{font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:25px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){.section-title-small .section-title-text{font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:25px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.section-title-small .section-title-text{font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:25px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.section-title-small .section-title-text{font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:25px;letter-spacing:0px}}';export{x as vega_section_title}