import{p as e,H as t,h as i,t as n}from"./p-CHfEnK-2.js";import{i as r,d as a,t as o}from"./p-94ZtGp9D.js";const c=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}get el(){return this}filteredNumber;inverted=!1;ariaLabelText;variant="number";number=0;handleNumber(){this.filteredNumber=!isNaN(this.number)&&this.number>99?"99+":this.number}componentWillLoad(){this.handleNumber()}async componentDidLoad(){if(!r(this.el)){const e=a();o("ifx-indicator",await e)}}componentWillUpdate(){this.handleNumber()}render(){return i("div",{key:"6c212fffc7b33332438df4e5d98154d61e4b855b","aria-label-text":this.ariaLabelText,class:"indicator__container"},"number"===this.variant&&i("div",{key:"ec325f386325568ae061fb3eb7b4bd7b2ae6529e",class:"number__container "+(this.inverted?"inverted":"")},i("div",{key:"9fcc8c347a1b0542e8edd4e77a0b73f2152a06f4",class:"number__wrapper"},this.filteredNumber)),"dot"===this.variant&&i("div",{key:"c16a0356314fddd1f7c5e851f0f54136f0ec7909",class:"dot__wrapper"}))}static get style(){return":host{display:inline-flex}.indicator__container .dot__wrapper{display:flex;width:8px;height:8px;justify-content:center;align-items:center;flex-shrink:0;border-radius:50%;background-color:#0A8276}.indicator__container .number__container{height:16px;display:inline-flex;padding:0;min-width:16px;justify-content:center;align-items:center;border-radius:100px;background-color:#0A8276}.indicator__container .number__container .number__wrapper{padding:0 4px;color:#FFFFFF;text-align:center;font-size:0.875rem;font-style:normal;font-weight:600;line-height:16px}.indicator__container .number__container.inverted{background-color:#FFFFFF}.indicator__container .number__container.inverted .number__wrapper{color:#0A8276}"}},[513,"ifx-indicator",{inverted:[4],ariaLabelText:[1,"aria-label-text"],variant:[1],number:[2],filteredNumber:[32]}]);function s(){"undefined"!=typeof customElements&&["ifx-indicator"].forEach((e=>{"ifx-indicator"===e&&(customElements.get(n(e))||customElements.define(n(e),c))}))}export{c as I,s as d}