import{h}from"@stencil/core";import{__}from"@wordpress/i18n";export class ScProvisionalBanner{constructor(){this.claimUrl="",this.expired=!1}render(){return h("div",{key:"f6b1f72882a90078aaece572fdf2a02e2b060b24",class:{"sc-banner":!0}},h("p",{key:"b4b2a0b585f5a73e37a82a3fd1ddad5cd73e2bc0"},this.expired?__("The setup window for your store has expired. Please contact support to complete your setup.","surecart"):__("Complete your store setup to go live.","surecart"),!this.expired&&h("a",{key:"15d869e1c3fc6be202b7088922905facb4016194",href:this.claimUrl,target:"_blank",rel:"noopener noreferrer"},__("Complete Setup","surecart")," ",h("sc-icon",{key:"4c57ca4c2dc2c75c45d992fc83ff1b96a016351e",name:"arrow-right"}))))}static get is(){return"sc-provisional-banner"}static get encapsulation(){return"shadow"}static get originalStyleUrls(){return{$:["sc-provisional-banner.scss"]}}static get styleUrls(){return{$:["sc-provisional-banner.css"]}}static get properties(){return{claimUrl:{type:"string",mutable:!1,complexType:{original:"string",resolved:"string",references:{}},required:!1,optional:!1,docs:{tags:[],text:"Claim URL."},attribute:"claim-url",reflect:!1,defaultValue:"''"},expired:{type:"boolean",mutable:!1,complexType:{original:"boolean",resolved:"boolean",references:{}},required:!1,optional:!1,docs:{tags:[],text:"Whether the claim window has expired."},attribute:"expired",reflect:!1,defaultValue:"false"}}}}