import{p as t,H as e,h as s,t as i}from"./p-BHHBMN0G.js";import{d as l}from"./p-DtfDV3FY.js";const a=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.theme="ec",this.border=!0}getClass(){const t=["sc-ecl-navigation-list-"+this.theme,"ecl-navigation-list__item",this.styleClass];return this.border||t.push("ecl-navigation-list__item--no-border"),this.variant&&t.push("ecl-navigation-list__item--"+this.variant),this.colorMode&&t.push("ecl-color-mode--"+this.colorMode),t.join(" ")}getImgClass(){return["sc-ecl-navigation-list-"+this.theme,"ecl-navigation-list__image"].join(" ")}render(){return s("div",{key:"787c18e9207527d9e8c939716b42630f9358fb73",class:this.getClass()},this.image?s("ecl-picture",{styleClass:"ecl-navigation-list__picture sc-ecl-navigation-list-"+this.theme,image:this.image,imgClass:this.getImgClass(),imageAlt:this.imageAlt},s("slot",{name:"sources"})):"",s("slot",{key:"783e46298fe324204c441a4e4e7995b435669754"}))}},[262,"ecl-navigation-list-item",{theme:[1],image:[1],imageAlt:[1,"image-alt"],styleClass:[1,"style-class"],border:[4],colorMode:[1,"color-mode"],variant:[1]}]),c=a,n=function(){"undefined"!=typeof customElements&&["ecl-navigation-list-item","ecl-picture"].forEach((t=>{switch(t){case"ecl-navigation-list-item":customElements.get(i(t))||customElements.define(i(t),a);break;case"ecl-picture":customElements.get(i(t))||l()}}))};export{c as EclNavigationListItem,n as defineCustomElement}