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:"31d1ea2ef82a336ff150f44019fc9ab10974ef4e",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}}}}