import{proxyCustomElement,HTMLElement,h}from"@stencil/core/internal/client";import{d as defineCustomElement$1}from"./presto-video2.js";const PrestoBunny=proxyCustomElement(class extends HTMLElement{constructor(){super(),this.__registerHost(),this.getRef=void 0,this.autoplay=void 0,this.src=void 0,this.preload=void 0,this.poster=void 0,this.player=void 0,this.tracks=void 0,this.playsinline=void 0,this.provider=void 0,this.thumbnail=void 0,this.previewUrl=void 0,this.videoAttributes=void 0}componentWillLoad(){this.poster=this.poster||this.thumbnail}render(){return h("presto-video",{key:"082574ecb3f6ba1e4de1adfa13483c49acb20aff",getRef:this.getRef,player:this.player,autoplay:this.autoplay,preload:this.preload,poster:this.poster,playsinline:this.playsinline,src:this.src,tracks:this.tracks,videoAttributes:this.videoAttributes})}},[0,"presto-bunny",{getRef:[1040],autoplay:[4],src:[1],preload:[1],poster:[1025],player:[8],tracks:[16],playsinline:[4],provider:[1],thumbnail:[1],previewUrl:[1,"preview-url"],videoAttributes:[16]}]);function defineCustomElement(){"undefined"!=typeof customElements&&["presto-bunny","presto-video"].forEach((e=>{switch(e){case"presto-bunny":customElements.get(e)||customElements.define(e,PrestoBunny);break;case"presto-video":customElements.get(e)||defineCustomElement$1()}}))}export{PrestoBunny as P,defineCustomElement as d};