import{r as t,h as i,g as r}from"./p-f06dc8f3.js";import{m as e}from"./p-84ba0a57.js";const o=class{constructor(i){t(this,i),this.type="info",this.position="left",this.setPositionRelativeToParent=()=>{this.host.parentElement.style.position="relative"}}componentWillLoad(){this.setPositionRelativeToParent()}containerClass(){return e("ibk-badge",[this.type,this.position])}render(){return i("div",{class:this.containerClass(),innerHTML:this.text})}get host(){return r(this)}};o.style=".ibk-badge{display:inline-block;position:absolute;font-family:var(--fontGeometria);font-size:10px;text-transform:uppercase;color:white;padding:7px 10px;font-weight:500;top:0}.ibk-badge--info{background-color:var(--secondaryBlue1)}.ibk-badge--promo{background-color:var(--extendedWatermelon1)}.ibk-badge--left{border-radius:4px 0 4px 0;left:0}.ibk-badge--right{border-radius:0 4px 0 4px;right:0}";export{o as ibk_badge}