import{r as i,h as t}from"./p-76ab1744.js";const a=class{constructor(t){i(this,t),this.imageCrop="cover",this.dataTrackingId="telia-image",this.mediumSize=599,this.largeSize=1023,this.baseClass="telia-image"}render(){return t("picture",{class:{[this.baseClass]:!0,[`${this.baseClass}--${this.variant}`]:!!this.variant,[`${this.baseClass}--object-fit-${this.imageCrop}`]:!0}},this.smallSet&&t("source",{media:"(max-width:"+this.mediumSize+"px)",srcSet:this.smallSet}),this.mediumSet&&t("source",{media:"(max-width:"+this.largeSize+"px)",srcSet:this.mediumSet}),t("img",{src:this.src,alt:this.alt}),t("telia-vst",{dataTrackingId:this.dataTrackingId}))}};a.style=".telia-image{display:block;max-height:100%;max-width:100%}.telia-image img{max-height:100%;max-width:100%}.telia-image--source{max-width:inherit}.telia-image--img{max-width:inherit}.telia-image--scalable img,.telia-image--scalable{height:100%;width:100%}.telia-image--scalable.telia-image--object-fit-contain img{object-fit:contain}.telia-image--scalable.telia-image--object-fit-cover img{object-fit:cover}";export{a as telia_image}