import{proxyCustomElement,HTMLElement,h}from"@stencil/core/internal/client";import{d as defineCustomElement$1}from"./sc-divider2.js";const scPaymentSelectedCss=":host{display:block}::slotted([slot=icon]){display:block;font-size:24px}.payment-selected{display:flex;flex-direction:column;gap:var(--sc-spacing-x-small)}.payment-selected__label{color:var(--sc-input-label-color);line-height:var(--sc-line-height-dense);font-size:var(--sc-font-size-medium)}.payment-selected__instructions{display:flex;justify-content:flex-start;align-items:center;gap:1em}.payment-selected__instructions svg{width:42px;height:42px;flex-shrink:0}.payment-selected__instructions-text{color:var(--sc-input-label-color);font-size:var(--sc-font-size-small);line-height:var(--sc-line-height-dense)}",ScPaymentSelectedStyle0=scPaymentSelectedCss,ScPaymentSelected=proxyCustomElement(class extends HTMLElement{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.iconName=void 0,this.label=void 0}render(){return h("div",{key:"7ddd74e550b999fa8494c45ca290278c0b47d364",class:"payment-selected",part:"base"},h("slot",{key:"f422358779e84de6c05f03992c500d04aebd5079",name:"icon"}),h("div",{key:"17e66ceea20b2ac684c003cd6107304bfd54e337",class:"payment-selected__label"},this.label),h("sc-divider",{key:"0832cbf39628ca901b543c540530cd938df12a1f",style:{"--spacing":"var(--sc-spacing-xx-small)"},exportparts:"base:divider, line:divider__line"}),h("div",{key:"68a34af48ef32a2730697f7d0b8401154d5cdf3c",part:"instructions",class:"payment-selected__instructions"},h("svg",{key:"fa68d360ca7f65d2adc55242c2c3b2427adf948d",part:"icon",viewBox:"0 0 48 40",fill:"var(--sc-color-gray-500)",xmlns:"http://www.w3.org/2000/svg",role:"presentation"},h("path",{key:"13157804814f3bf6cab78451088623673008d2fa",opacity:".6","fill-rule":"evenodd","clip-rule":"evenodd",d:"M43 5a4 4 0 00-4-4H17a4 4 0 00-4 4v11a1 1 0 102 0V5a2 2 0 012-2h22a2 2 0 012 2v30a2 2 0 01-2 2H17a2 2 0 01-2-2v-9a1 1 0 10-2 0v9a4 4 0 004 4h22a4 4 0 004-4V5zM17.992 16.409L21.583 20H6a1 1 0 100 2h15.583l-3.591 3.591a1 1 0 101.415 1.416l5.3-5.3a1 1 0 000-1.414l-5.3-5.3a1 1 0 10-1.415 1.416zM17 6a1 1 0 011-1h15a1 1 0 011 1v2a1 1 0 01-1 1H18a1 1 0 01-1-1V6zm21-1a1 1 0 100 2 1 1 0 000-2z"})),h("div",{key:"dde2c37b23d6194a485dbd40b3d98ab89170b10d",part:"text",class:"payment-selected__instructions-text"},h("slot",{key:"83f0dda573eecb19662276f664bc233a07c90327"}))))}static get style(){return ScPaymentSelectedStyle0}},[1,"sc-payment-selected",{iconName:[1,"icon-name"],label:[1]}]);function defineCustomElement(){"undefined"!=typeof customElements&&["sc-payment-selected","sc-divider"].forEach((e=>{switch(e){case"sc-payment-selected":customElements.get(e)||customElements.define(e,ScPaymentSelected);break;case"sc-divider":customElements.get(e)||defineCustomElement$1()}}))}export{ScPaymentSelected as S,defineCustomElement as d};