import{h}from"@stencil/core";export class ScCcLogo{constructor(){this.brand=void 0}renderLogo(){return["visa","mastercard","amex","discover","diners","jcb","unionpay"].includes(this.brand)?h("sc-icon",{name:this.brand,style:{"--height":"0.63em"}}):h("sc-icon",{name:"creditcard",style:{"--height":"0.63em"}})}render(){return h("div",{key:"9a5d17e084dca7db98b32a81177770ba5f2aa44a",class:"cc-logo",part:"base"},this.renderLogo())}static get is(){return"sc-cc-logo"}static get encapsulation(){return"shadow"}static get originalStyleUrls(){return{$:["sc-cc-logo.css"]}}static get styleUrls(){return{$:["sc-cc-logo.css"]}}static get properties(){return{brand:{type:"string",mutable:!1,complexType:{original:"string",resolved:"string",references:{}},required:!1,optional:!1,docs:{tags:[],text:""},attribute:"brand",reflect:!1}}}}