import{aD as t,aF as e,b1 as i,a$ as n,b0 as s,b2 as r,b3 as a}from"./p-BTBbFFOR.js";import{s as o}from"./p-C2rs7Hxy.js";import{I as l,V as c}from"./p-ULeawcYN.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 e{constructor(){super()}render(){return i("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&&i("div",{class:"section-title-icon-container"},this.renderIcon())}renderText(){return i("vega-flex",{class:"vega-flex-grow",direction:"col","align-items":"start","justify-content":"start",gap:"size-4"},this.renderTitle(),this.renderDescription())}renderTitle(){return i("div",{class:"section-title-text vega-flex-grow"},i("span",null,this.titleText),this.renderSuffixIcon())}renderDescription(){return i("div",{class:"section-title-description"},this.description)}renderSuffixIcon(){return this.icon&&"right"===this.iconAlign&&i("div",{class:"right-icon-container"},this.renderIcon())}renderIcon(){return i("vega-icon",{icon:this.icon,color:this.iconColor,size:"small"===this.size?"size-16":"size-20",class:"vega-flex-shrink-0"})}}p([t()],f.prototype,"host",void 0),p([t()],f.prototype,"titleText",void 0),p([t()],f.prototype,"description",void 0),p([t()],f.prototype,"icon",void 0),p([t()],f.prototype,"iconAlign",void 0),p([t()],f.prototype,"iconColor",void 0),p([t()],f.prototype,"size",void 0);var x=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 h=class{constructor(t){s(this,t),this.globalSlimmers={},this.renderer=new f,this.vegaComponentUsageRuntimeMetricsSlimmer=new c,this.titleText="",this.iconAlign="left",this.iconColor="text-primary",this.size="default"}render(){return o(i(r,null,this.renderer.render()),this.host)}get host(){return a(this)}};x([l()],h.prototype,"globalSlimmers",void 0),x([n()],h.prototype,"renderer",void 0),x([n()],h.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),h.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{h as vega_section_title}