whoami7 - Manager
:
/
home
/
dataiclx
/
vielorbe.com
/
wp-content
/
plugins
/
surecart
/
dist
/
components
/
components
/
Upload File:
files >> //home/dataiclx/vielorbe.com/wp-content/plugins/surecart/dist/components/components/sc-cc-logo2.js
import{proxyCustomElement,HTMLElement,h}from"@stencil/core/internal/client";import{d as defineCustomElement$1}from"./sc-icon2.js";const scCcLogoCss=":host{display:inline-block}.cc-logo{border-radius:var(--sc-cc-border-radius, 4px);line-height:0;overflow:hidden}",ScCcLogoStyle0=scCcLogoCss,ScCcLogo=proxyCustomElement(class extends HTMLElement{constructor(){super(),this.__registerHost(),this.__attachShadow(),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:"7fd555b47fd2fba4d1902de99850abd44c0d4a46",class:"cc-logo",part:"base"},this.renderLogo())}static get style(){return ScCcLogoStyle0}},[1,"sc-cc-logo",{brand:[1]}]);function defineCustomElement(){"undefined"!=typeof customElements&&["sc-cc-logo","sc-icon"].forEach((e=>{switch(e){case"sc-cc-logo":customElements.get(e)||customElements.define(e,ScCcLogo);break;case"sc-icon":customElements.get(e)||defineCustomElement$1()}}))}export{ScCcLogo as S,defineCustomElement as d};
Copyright ©2021 || Defacer Indonesia