import{h}from"@stencil/core";import{__}from"@wordpress/i18n";export class ScFeatureDemoBanner{constructor(){this.url="https://app.surecart.com/plans",this.buttonText=__("Upgrade Your Plan","surecart")}render(){return h("div",{key:"0100edcabb3c70bad5f687a433f56c83723acffb",class:{"sc-banner":!0}},h("p",{key:"81da9ad5d267ae65dd1ff38f81d285c91c43b8a9"},h("slot",{key:"89c056ec8bf01fadc637ef8b0e87a24e84fc5502"},__("This is a feature demo. In order to use it, you must upgrade your plan.","surecart")),h("a",{key:"ad5ecb534e226446b6bd46820cdaa41611057587",href:this.url,target:"_blank"},h("slot",{key:"dbd3223b60ec4d7c0d4baf0a63f921ed82d8c1b5",name:"link"},this.buttonText," ",h("sc-icon",{key:"4c63a4b49e931d75862bdc9c0397017bae7db3e6",name:"arrow-right"})))))}static get is(){return"sc-feature-demo-banner"}static get encapsulation(){return"shadow"}static get originalStyleUrls(){return{$:["sc-feature-demo-banner.scss"]}}static get styleUrls(){return{$:["sc-feature-demo-banner.css"]}}static get properties(){return{url:{type:"string",mutable:!1,complexType:{original:"string",resolved:"string",references:{}},required:!1,optional:!1,docs:{tags:[],text:""},attribute:"url",reflect:!1,defaultValue:"'https://app.surecart.com/plans'"},buttonText:{type:"string",mutable:!1,complexType:{original:"string",resolved:"string",references:{}},required:!1,optional:!1,docs:{tags:[],text:""},attribute:"button-text",reflect:!1,defaultValue:"__('Upgrade Your Plan', 'surecart')"}}}}