import{p as e,H as t,h as s,t as a}from"./p-BHHBMN0G.js";import{d as c}from"./p-D09tUAT4.js";import{d as l}from"./p-Dq2r_Sid.js";import{d as i}from"./p-C1DHlsEo.js";import{d as r}from"./p-Bmv0DoO8.js";import{d as o}from"./p-CvotSt5y.js";import{d as m}from"./p-DtfDV3FY.js";import{d as n}from"./p-BJFhKm35.js";const d=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.styleClass="",this.bannerTitle="",this.image="",this.size="m"}getClass(){return["ecl-carousel__item",this.styleClass].join(" ")}componentWillLoad(){var e;this.theme=null!==(e=document.documentElement.getAttribute("data-ecl-theme"))&&void 0!==e?e:this.theme||"ec"}render(){return s("div",{key:"b2c92f46d4a416c3be02d35a5f66ff327604794d",class:"ecl-carousel__slide",role:"group","aria-label":this.ariaLabel},s("ecl-banner",{key:"7878aa326631a323cc08ad68a46d8027d05a70d9","banner-title":this.bannerTitle,image:this.image,theme:this.theme,"cta-link":this.ctaLink,"cta-label":this.ctaLabel,size:this.size,credit:this.credit},s("slot",{key:"b9a63f8979df37b428796f89d7e9542d50bc46be"})))}},[260,"ecl-carousel-item",{styleClass:[1,"style-class"],bannerTitle:[1,"banner-title"],credit:[1],image:[1],theme:[1025],ctaLink:[1,"cta-link"],ctaLabel:[1,"cta-label"],size:[1],ariaLabel:[1,"aria-label"],centered:[4]}]),u=d,b=function(){"undefined"!=typeof customElements&&["ecl-carousel-item","ecl-banner","ecl-button","ecl-icon","ecl-indicator","ecl-link","ecl-picture","ecl-video"].forEach((e=>{switch(e){case"ecl-carousel-item":customElements.get(a(e))||customElements.define(a(e),d);break;case"ecl-banner":customElements.get(a(e))||c();break;case"ecl-button":customElements.get(a(e))||l();break;case"ecl-icon":customElements.get(a(e))||i();break;case"ecl-indicator":customElements.get(a(e))||r();break;case"ecl-link":customElements.get(a(e))||o();break;case"ecl-picture":customElements.get(a(e))||m();break;case"ecl-video":customElements.get(a(e))||n()}}))};export{u as EclCarouselItem,b as defineCustomElement}