!function(e){function i(s,d){var i,o,m=s.find(".premium-video-box-container"),e=s.find(".premium-video-box-playlist-container"),t=m.find(".premium-video-box-video-container"),l=m.find(".premium-video-box-inner-wrap"),c=l.find(".premium-video-box-image-container"),a=m.data("type"),r=m.data("thumbnail"),n=m.data("sticky"),p=m.data("sticky-play"),f=m.data("hover"),v=e.length?e:m,u=!!v.data("lightbox")&&v.data("lightbox");if(u)"prettyphoto"===u.type&&v.find(".premium-vid-lightbox-container[data-rel^='prettyPhoto']").prettyPhoto({theme:u.theme,hook:"data-rel",opacity:.7,show_title:!1,deeplinking:!1,overlay_gallery:!0,custom_markup:"",default_width:900,default_height:506,social_tools:""}),v.find(".premium-video-box-image-container, .premium-video-box-play-icon-container").on("click",function(e){var i;i=d(this).closest(".premium-video-box-container"),"elementor"===u.type?i.find(".premium-video-box-video-container").trigger("click"):i.find(".premium-vid-lightbox-container[data-rel^='prettyPhoto']").trigger("click")});else{if(e.length){if(!t.length)return;return void t.each(function(e,i){var o,t=d(i),a=t.closest(".premium-video-box-container"),r=t.closest(".premium-video-box-trigger");o=t.data("src"),o+="&autoplay=1",r.on("click",function(){var e=d("