import{r as s,h as r}from"./p-1a7a8b00.js";const e=class{constructor(r){s(this,r),this.label=void 0,this.value=void 0,this.useExternal=!1}resetState(){}connectedCallback(){this.resetState()}componentWillLoad(){this.useExternal=!!customElements.get("bp-sdk-external-progress"),customElements.whenDefined("bp-sdk-external-progress").then((()=>{this.useExternal=!0}))}render(){return[this.useExternal&&this.renderExternal(),!this.useExternal&&this.renderInternal()]}renderExternal(){return r("bp-sdk-external-progress",{label:this.label,value:this.value})}renderInternal(){return r("div",{class:"bp-sdk-progress__container"},r("progress",{class:"bp-sdk-progress__bar",value:this.value,"aria-label":this.label}))}};e.style="";export{e as bp_sdk_progress}