import{r as t,h as e,H as l}from"./p-90108212.js";import{B as n}from"./p-ae86d0a0.js";import{L as a}from"./p-2f931022.js";import"./p-e680e7e4.js";const i=class{constructor(e){t(this,e),this.layout="vertical",this.align="start",this.space="xx-small",this.direction="",this.alignment=""}createLogger(t){this.log=t}render(){const t=n.block("content"),a=!!this.direction,i=!!this.layout,s=!!this.alignment,o=!!this.align,c=!!this.space;let r=this.layout;a&&(r="row"===this.direction?"horizontal":"vertical");let m=this.align.split(" ").join("-");return s&&(m=this.alignment.split(" ").join("-")),e(l,{class:Object.assign(Object.assign(Object.assign(Object.assign({},t.class()),t.modifier(`layout-${r}`).class(i||a)),t.modifier(`align-${m}`).class(o||s)),t.modifier(`space-${this.space}`).class(c))},e("slot",null))}};(function(t,e,l,n){var a,i=arguments.length,s=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,l):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,l,n);else for(var o=t.length-1;o>=0;o--)(a=t[o])&&(s=(i<3?a(s):i>3?a(e,l,s):a(e,l))||s);i>3&&s&&Object.defineProperty(e,l,s)})([a("bal-content")],i.prototype,"createLogger",null),i.style=".bal-content{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start;text-align:left;gap:.25rem}.bal-content--align-center{-ms-flex-align:center;align-items:center;text-align:center}.bal-content--align-end{-ms-flex-align:end;align-items:flex-end;text-align:right}.bal-content--layout-horizontal{-ms-flex-direction:row;flex-direction:row}.bal-content--layout-vertical{-ms-flex-direction:column;flex-direction:column}.bal-content--space-xx-small{gap:.25rem}.bal-content--space-x-small{gap:.5rem}.bal-content--space-small{gap:.75rem}.bal-content--space-normal{gap:1rem}.bal-content>.bal-text{margin:0}";export{i as bal_content}