import{r as e,h as s,H as r}from"./p-dfbe004d.js";import{_ as t}from"./p-8415f806.js";import"./p-fd56940f.js";import"./p-9a7a47e8.js";const i=class{constructor(s){e(this,s),this.size="small",this.required=!0,this.open=!1}render(){return this.required?s(r,{onClick:()=>this.open=!0},s("span",{class:"trigger"},s("span",{class:"trigger__disabled"},s("slot",null,s("sc-premium-badge",null)))),s("sc-dialog",{label:t("Boost Your Revenue","surecart"),open:this.open,onScRequestClose:()=>this.open=!1,style:{"--width":"21rem",fontSize:"15px","--body-spacing":"2rem"}},s("span",{class:"dialog__title",slot:"label"},s("sc-icon",{name:"zap"}),s("span",null,t("Boost Your Revenue","surecart"))),s("p",null,t("Unlock revenue boosting features when you upgrade your plan!","surecart")),s("sc-button",{href:"https://app.surecart.com/billing",type:"primary",target:"_blank",full:!0},t("Upgrade Now","surecart"),s("sc-icon",{name:"arrow-right",slot:"suffix"})))):s(r,null,s("slot",null))}};i.style=":host{display:inline-block;color:var(--sc-color-gray-900);cursor:pointer}p{font-size:var(--sc-font-size-medium);font-weight:var(--sc-font-weight-normal);margin:0 0 var(--sc-spacing-medium) 0;line-height:var(--sc-line-height-dense);white-space:normal}.trigger{pointer-events:auto}.trigger__disabled{pointer-events:none}.dialog__title{display:flex;gap:0.5em;align-items:center}.dialog__title sc-icon{font-size:18px;width:22px;stroke-width:4;color:var(--sc-color-primary-500)}";export{i as sc_upgrade_required}