import{Component}from"@theme/component";export class VideoBackgroundComponent extends Component{requiredRefs=["videoSources","videoElement"];connectedCallback(){super.connectedCallback();const{videoSources,videoElement}=this.refs;for(const source of videoSources){const{videoSource}=source.dataset;videoSource&&source.setAttribute("src",videoSource)}videoElement.load()}}customElements.get("video-background-component")||customElements.define("video-background-component",VideoBackgroundComponent); //# sourceMappingURL=/cdn/shop/t/47/assets/video-background.js.map?v=25237992823806706551757451906