import{r as t,h as e,H as l}from"./p-4c596c7f.js";import{B as n}from"./p-33de3866.js";import{L as a}from"./p-efcca75f.js";import"./p-b9dddc6c.js";const c=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,c=!!this.layout,s=!!this.alignment,i=!!this.align,o=!!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(c||a)),t.modifier(`align-${m}`).class(i||s)),t.modifier(`space-${this.space}`).class(o))},e("slot",null))}};(function(t,e,l,n){var a,c=arguments.length,s=c<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 i=t.length-1;i>=0;i--)(a=t[i])&&(s=(c<3?a(s):c>3?a(e,l,s):a(e,l))||s);c>3&&s&&Object.defineProperty(e,l,s)})([a("bal-content")],c.prototype,"createLogger",null),c.style={css:".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{c as bal_content}