1"use strict";(self.webpackChunkvoluum_main_assets_v2=self.webpackChunkvoluum_main_assets_v2||[]).push([[4692],{4692:function(e,d,i){i.r(d),i.d(d,{default:function(){return t}});class t extends HTMLElement{constructor(){super(),this.videoElement=this.querySelector("video"),this.vimeoVideo=this.querySelector("vimeo-video")}connectedCallback(){(this.videoElement||this.vimeoVideo)&&this.addListeners()}addListeners(){document.addEventListener("newmodalopened",this.handleModalOpened.bind(this)),document.addEventListener("newmodalclosed",this.handleModalClosed.bind(this))}disconnectedCallback(){document.removeEventListener("newmodalopened",this.handleModalOpened.bind(this)),document.removeEventListener("newmodalclosed",this.handleModalClosed.bind(this))}handleModalOpened(e){"what-video-modal"===e.detail.modal&&(this.vimeoVideo?this.vimeoVideo.player&&this.vimeoVideo.player.play():this.videoElement&&this.videoElement.play())}handleModalClosed(e){"what-video-modal"===e.detail.modal&&(this.vimeoVideo?this.vimeoVideo.player&&this.vimeoVideo.player.pause():this.videoElement&&this.videoElement.pause())}}}}]); 2//# sourceMappingURL=4692.js.map
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.