import{r as t,h as e}from"./p-1a7a8b00.js";const r=class{constructor(e){t(this,e),this.useExternal=!1}resetState(){}connectedCallback(){this.resetState()}componentWillLoad(){this.useExternal=!!customElements.get("bp-sdk-external-take-over-button"),customElements.whenDefined("bp-sdk-external-take-over-button").then((()=>{this.useExternal=!0}))}render(){return[this.useExternal&&this.renderExternal(),!this.useExternal&&this.renderInternal()]}renderExternal(){return e("bp-sdk-external-take-over-button",null)}renderInternal(){return e("bp-sdk-button",{class:"bp-sdk-take-over-button__container",text:"Take Over"})}};r.style="";export{r as bp_sdk_take_over_button}