import{proxyCustomElement,HTMLElement,h,Host}from"@stencil/core/internal/client";import{s as state}from"./mutations2.js";import{d as defineCustomElement$2}from"./sc-line-item2.js";const scLineItemBumpCss=":host{display:block}",ScLineItemBumpStyle0=scLineItemBumpCss,ScLineItemBump$1=proxyCustomElement(class extends HTMLElement{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.label=void 0,this.loading=void 0}render(){var e,t;return(null===(e=null==state?void 0:state.checkout)||void 0===e?void 0:e.bump_amount)?h("sc-line-item",null,h("span",{slot:"description"},this.label||wp.i18n.__("Bundle Discount","surecart")),h("span",{slot:"price"},null===(t=null==state?void 0:state.checkout)||void 0===t?void 0:t.bump_display_amount)):h(Host,{style:{display:"none"}})}static get style(){return ScLineItemBumpStyle0}},[1,"sc-line-item-bump",{label:[1],loading:[4]}]);function defineCustomElement$1(){"undefined"!=typeof customElements&&["sc-line-item-bump","sc-line-item"].forEach((e=>{switch(e){case"sc-line-item-bump":customElements.get(e)||customElements.define(e,ScLineItemBump$1);break;case"sc-line-item":customElements.get(e)||defineCustomElement$2()}}))}const ScLineItemBump=ScLineItemBump$1,defineCustomElement=defineCustomElement$1;export{ScLineItemBump,defineCustomElement};