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:"94b33fe70ef4c5d077eac2e4cebf0212df06a641",class:{"sc-banner":!0}},h("p",{key:"d272c9626af70f10b74533c4cd3bc800b3018131"},h("slot",{key:"9521ed8c4218c8c7e99670e6235d6b8f70910061"},__("This is a feature demo. In order to use it, you must upgrade your plan.","surecart")),h("a",{key:"3bfd5b63b2a6b498e9e8d7155644e5aed8f2680f",href:this.url,target:"_blank"},h("slot",{key:"1aacf24e6a8e836f923a8ab631cc0396e8cac8c4",name:"link"},this.buttonText," ",h("sc-icon",{key:"5296c3e2d5f90df25b2c4c4a00fce59e8c180293",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')"}}}}