1"use strict";(self.webpackChunkhessenschau=self.webpackChunkhessenschau||[]).push([["temp_js_components_mediaplayer_stickyPlayer_alpine_js"],{1611:function(e,i,t){function n(){return{eventListenerInitialized:!1,inViewport:!0,videoStarted:!1,videoStoped:!0,videoPlaying:!1,videoWasStopedWhenSticky:!1,videoWasClosedByUser:!1,videoElement:null,shouldVideoBeFixed:function(){return!this.inViewport&&this.videoPlaying||!this.inViewport&&this.videoWasStopedWhenSticky},setupVideoEventListeners:function(){var e=this;this.eventListenerInitialized||(this.videoElement.addEventListener("play",(function(){e.videoStarted=!0,e.videoPlaying=!0,e.videoStoped=!1})),this.videoElement.addEventListener("pause",(function(){e.videoPlaying=!1,e.videoStoped=!0,e.inViewport||(e.videoWasClosedByUser?e.videoWasClosedByUser=!1:e.videoWasStopedWhenSticky=!0)})),this.eventListenerInitialized=!0)},closeVideo:function(){this.videoWasStopedWhenSticky=!1,this.videoWasClosedByUser=!0,this.videoElement.pause()},init:function(){if(this.videoElement=this.$refs.videoElementWrapper.querySelector("video"),this.videoElement)this.setupVideoEventListeners();else{var e=this,i=new MutationObserver((function(){e.videoElement=e.$refs.videoElementWrapper.querySelector("video"),e.videoElement&&(e.setupVideoEventListeners(),i.disconnect())}));i.observe(this.$refs.videoElementWrapper,{subtree:!0,childList:!0})}}}}t.r(i),t.d(i,{default:function(){return n}})}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.