/*! For license information please see LICENSES */ (window.webpackJsonp=window.webpackJsonp||[]).push([[384],{4831:function(e,t,n){"use strict";var r;n.r(t);var c=/^[~!&]*/,o=/\W+/,f={"!":"capture","~":"once","&":"passive"};function d(e){var t=e.match(c)[0];return(null==r?r=/msie|trident/.test(window.navigator.userAgent.toLowerCase()):r)?t.indexOf("!")>-1:t.split("").reduce((function(e,t){return e[f[t]]=!0,e}),{})}var l={name:"GlobalEvents",props:{target:{type:String,default:"document"},filter:{type:Function,default:function(e){return!0}}},data:function(){return{isActive:!0}},activated:function(){this.isActive=!0},deactivated:function(){this.isActive=!1},render:function(e){return e()},mounted:function(){var e=this;this._listeners=Object.create(null),Object.keys(this.$listeners).forEach((function(t){var n=e.$listeners[t],r=function(r){e.isActive&&e.filter(r,n,t)&&n(r)};window[e.target].addEventListener(t.replace(o,""),r,d(t)),e._listeners[t]=r}))},beforeDestroy:function(){var e=this;for(var t in e._listeners)window[e.target].removeEventListener(t.replace(o,""),e._listeners[t],d(t))}};t.default=l}}]); //# sourceMappingURL=24bcd07.modern.js.map