1"use strict";(self.webpackChunkmix_boilerplate=self.webpackChunkmix_boilerplate||[]).push([[245],{245:function(e,t,n){n.r(t),n.d(t,{default:function(){return r}});var i=n(9726);n.e(3660).then(n.t.bind(n,7218,23)).then(function(){n.e(3660).then(n.t.bind(n,1409,23)),n.e(3660).then(n.t.bind(n,2999,23)),n.e(3660).then(n.t.bind(n,5037,23))});var o={name:"LightBox",provide:function(){return{addItem:this.setItemsOnLoad,setActive:this.setActiveIndex}},data:function(){return{items:[]}},methods:{setItemsOnLoad:function(e){this.items.push(e)},setActiveIndex:function(e){var t=this,n=this.items.findIndex(function(t){return t.src===e||t.vkSrc===e||t.videoSrc===e});lightGallery(this.$el,{download:!1,dynamic:!0,index:n,dynamicEl:this.items}),this.$el.addEventListener("onAferAppendSlide",function(e){var n,i=null===(n=window.lgData[t.$el.getAttribute("lg-uid")])||void 0===n?void 0:n.outer,o=i.querySelector(".vk-iframe");o&&(o&&(o.src=o.src.replace("autoplay=0","autoplay=1")),o&&o.addEventListener("load",function(e){var t=i.querySelectorAll(".loader");t&&t.forEach(function(e){e.style="display: none"})}))}),this.$el.addEventListener("onBeforeSlide",function(e){var n,i=(null===(n=window.lgData[t.$el.getAttribute("lg-uid")])||void 0===n?void 0:n.outer).querySelectorAll(".vk-iframe");i&&i.forEach(function(e){e.contentWindow.postMessage({method:"pause"},"*")})});var i=function(){window.lgData[t.$el.getAttribute("lg-uid")].destroy(!0),t.$el.removeEventListener("onCloseAfter",i)};this.$el.addEventListener("onCloseAfter",i,{once:!0})}}};var r=(0,n(6262).A)(o,[["render",function(e,t,n,o,r,l){return(0,i.openBlock)(),(0,i.createElementBlock)("div",null,[(0,i.renderSlot)(e.$slots,"default")])}]])}}]);
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.