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:"6a70328b4d1e461384756bb9e53ffe47f5727f6c",class:{"sc-banner":!0}},h("p",{key:"d6c02f7c74a3f978865072c95b2526a96c9e04e7"},h("slot",{key:"32a7d5bec649f662634b5b3430d67a27adfe1c94"},__("This is a feature demo. In order to use it, you must upgrade your plan.","surecart")),h("a",{key:"f4ed69b2787e845e74ac588be9421d8b296ea739",href:this.url,target:"_blank"},h("slot",{key:"2afd66ff381ae5e6ce448a25b987d96b68c5e514",name:"link"},this.buttonText," ",h("sc-icon",{key:"3ccf8d50e7fe10ead99762de976e20252dc8d738",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')"}}}}