camera.ui
Version:
NVR like user interface for RTSP capable cameras.
3 lines • 39 kB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["camera~cameraFeed~cameras~camview~config~console~dashboard~notifications~plugins~recordings~settings~7e019b2d"],{"00c2":function(t,e,i){"use strict";var n=i("5530"),s=i("1da1"),o=i("b85c"),r=(i("96cf"),i("b0c0"),i("4de4"),i("d3b7"),i("25f0"),i("ac1f"),i("1276"),i("99af"),i("5319"),function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"notification",on:{click:function(e){return t.$emit("showNotification")}}},[i("span",{staticClass:"before"}),i("span",{staticClass:"after"}),i("header",[i("h2",[t._v(t._s(t.headerTxt))]),i("span",{staticClass:"timestamp"},[t._v(t._s(t.timeTxt))])]),i("div",{staticClass:"content"},[i("span",{staticClass:"title"},[t._v(t._s(t.title))]),i("span",{staticClass:"message"},[t._v(t._s(t.message))]),i("span",{staticClass:"subtxt"},[t._v(t._s(t.subtxt))]),i("span",{staticClass:"detailBar"})])])}),a=[],c={name:"NotificationBanner",props:{headerTxt:{type:String,default:"Notifications"},timeTxt:{type:String,default:"Now"},title:{type:String,default:"Motion"},message:{type:String,default:"Motion"},subtxt:{type:String,default:"Motion"}}},u=c,h=(i("8726"),i("2877")),l=Object(h["a"])(u,r,a,!1,null,null,null),p=l.exports;e["a"]={data:function(){return{notId:"",notIdInfo:"",notImages:[]}},computed:{currentUser:function(){return this.$store.state.auth.user},isValidPage:function(){return"Login"!==this.$route.name&&"Start"!==this.$route.name}},sockets:{connect:function(){if(console.log("Connected to socket"),this.connected)if(this.isPage("Dashboard")){if(this.items&&this.instances){var t,e=this.items.filter((function(t){return"CamerasWidget"===t.type})),i=Object(o["a"])(e);try{for(i.s();!(t=i.n()).done;){var n=t.value,s=this.instances[n.id];s.$refs[n.id]&&s.$refs[n.id].refreshStream(!0)}}catch(u){i.e(u)}finally{i.f()}}}else if(this.isPage("Camview")){if(this.cameras){var r,a=Object(o["a"])(this.cameras);try{for(a.s();!(r=a.n()).done;){var c=r.value;c.live&&this.$refs[c.name]&&this.$refs[c.name][0]&&this.$refs[c.name][0].refreshStream(!0)}}catch(u){a.e(u)}finally{a.f()}}}else this.isPage("Camera")&&this.camera&&this.$refs[this.camera.name]&&this.$refs[this.camera.name].refreshStream(!0);this.connected=!0},disconnect:function(){console.log("Disconnected from socket")},diskSpace:function(t){},unauthenticated:function(){var t=this;return Object(s["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return console.log("Disconnected from socket, unauthenticated!"),t.connected=!1,e.next=4,t.$store.dispatch("auth/logout");case 4:setTimeout((function(){return t.$router.push("/")}),500);case 5:case"end":return e.stop()}}),e)})))()},invalidToken:function(t){var e=this;return Object(s["a"])(regeneratorRuntime.mark((function i(){return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:if(t!==e.currentUser.access_token){i.next=6;break}return console.log("Session timed out"),e.connected=!1,i.next=5,e.$store.dispatch("auth/logout");case 5:setTimeout((function(){return e.$router.push("/")}),500);case 6:case"end":return i.stop()}}),i)})))()},notification:function(t){var e=this;if(this.isValidPage&&!t.isSystemNotification){if(this.notId="_"+Math.random().toString(36).substr(2,9),t.mediaSource){var i={type:"image",caption:t.title,src:t.mediaSource,thumb:t.thumbnail||t.mediaSource};"Video"===t.recordType&&(i=Object(n["a"])(Object(n["a"])({},i),{},{type:"video",sources:[{src:t.mediaSource,type:"video/mp4"}],width:"100%",height:"auto",autoplay:!1})),this.notImages=[i]}var s="";if(t.isNotification){var o=t.message.split(" -")[0];o=this.$t(o),s="".concat(o," - ").concat(t.message.split("- ")[1])}else s=t.message;var r={component:p,props:{headerTxt:this.$t("notifications"),timeTxt:this.$t("now"),title:t.title,message:s,subtxt:t.subtxt},listeners:{showNotification:function(){var t;null===(t=e.$refs.lightboxBanner)||void 0===t||t.showImage(0)}}};this.$toast.info(r,{id:this.notId,containerClassName:"notification-container",toastClassName:"notification-toast"})}if(this.isPage("Notifications")&&t.isNotification){var a,c=this.$t("notification_text").replace("@",t.camera).replace("%",t.room);if(null===(a=this.notifications)||void 0===a||a.unshift(Object(n["a"])(Object(n["a"])({},t),{},{message:c})),t.recordStoring){var u,h={type:"image",caption:"".concat(t.camera," - ").concat(t.time),src:"/files/".concat(t.fileName),thumb:"/files/".concat(t.fileName)};"Video"===t.recordType&&(delete h.src,h=Object(n["a"])(Object(n["a"])({},h),{},{type:"video",sources:[{src:"/files/".concat(t.fileName),type:"video/mp4"}],thumb:"/files/".concat(t.name,"@2.jpeg"),width:"100%",height:"auto",autoplay:!1})),null===(u=this.images)||void 0===u||u.unshift(Object(n["a"])({id:t.id},h))}}},recording:function(t){if(this.isPage("Recordings")){var e,i;null===(e=this.recordings)||void 0===e||e.unshift(t),void 0!==this.totalRecordings&&this.totalRecordings++;var s={type:"image",caption:"".concat(t.camera," - ").concat(t.time),src:"/files/".concat(t.fileName),thumb:"/files/".concat(t.fileName)};"Video"===t.recordType&&(delete s.src,s=Object(n["a"])(Object(n["a"])({},s),{},{type:"video",sources:[{src:"/files/".concat(t.fileName),type:"video/mp4"}],thumb:"/files/".concat(t.name,"@2.jpeg"),width:"100%",height:"auto",autoplay:!1})),null===(i=this.images)||void 0===i||i.unshift(s)}},updated:function(){}},created:function(){var t;this.$socket.client.io.opts.extraHeaders={Authorization:"Bearer ".concat(null===(t=this.currentUser)||void 0===t?void 0:t.access_token)},this.$socket.client.open()},methods:{closeHandler:function(){this.$toast.dismiss(this.notId),this.notId=""},isPage:function(t){var e=this;return Array.isArray(t)?t.some((function(t){return t===e.$route.name||t===e.$route.meta.name})):"string"===typeof t&&(this.$route.name===t||this.$route.meta.name===t)}}}},2363:function(t,e,i){},3914:function(t,e,i){},8726:function(t,e,i){"use strict";i("3914")},"9c77":function(t,e,i){
/*! For license information please see vue-it-bigger.min.js.LICENSE.txt */
!function(e,i){t.exports=i()}(self,(function(){return(()=>{var t={840:(t,e,i)=>{var n;!function(s,o,r,a){"use strict";var c,u=["","webkit","Moz","MS","ms","o"],h=o.createElement("div"),l=Math.round,p=Math.abs,d=Date.now;function f(t,e,i){return setTimeout(x(t,i),e)}function v(t,e,i){return!!Array.isArray(t)&&(m(t,i[e],i),!0)}function m(t,e,i){var n;if(t)if(t.forEach)t.forEach(e,i);else if(t.length!==a)for(n=0;n<t.length;)e.call(i,t[n],n,t),n++;else for(n in t)t.hasOwnProperty(n)&&e.call(i,t[n],n,t)}function g(t,e,i){var n="DEPRECATED METHOD: "+e+"\n"+i+" AT \n";return function(){var e=new Error("get-stack-trace"),i=e&&e.stack?e.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",o=s.console&&(s.console.warn||s.console.log);return o&&o.call(s.console,n,i),t.apply(this,arguments)}}c="function"!=typeof Object.assign?function(t){if(t===a||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),i=1;i<arguments.length;i++){var n=arguments[i];if(n!==a&&null!==n)for(var s in n)n.hasOwnProperty(s)&&(e[s]=n[s])}return e}:Object.assign;var y=g((function(t,e,i){for(var n=Object.keys(e),s=0;s<n.length;)(!i||i&&t[n[s]]===a)&&(t[n[s]]=e[n[s]]),s++;return t}),"extend","Use `assign`."),T=g((function(t,e){return y(t,e,!0)}),"merge","Use `assign`.");function b(t,e,i){var n,s=e.prototype;(n=t.prototype=Object.create(s)).constructor=t,n._super=s,i&&c(n,i)}function x(t,e){return function(){return t.apply(e,arguments)}}function w(t,e){return"function"==typeof t?t.apply(e&&e[0]||a,e):t}function _(t,e){return t===a?e:t}function E(t,e,i){m(M(e),(function(e){t.addEventListener(e,i,!1)}))}function I(t,e,i){m(M(e),(function(e){t.removeEventListener(e,i,!1)}))}function S(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function C(t,e){return t.indexOf(e)>-1}function M(t){return t.trim().split(/\s+/g)}function $(t,e,i){if(t.indexOf&&!i)return t.indexOf(e);for(var n=0;n<t.length;){if(i&&t[n][i]==e||!i&&t[n]===e)return n;n++}return-1}function L(t){return Array.prototype.slice.call(t,0)}function A(t,e,i){for(var n=[],s=[],o=0;o<t.length;){var r=e?t[o][e]:t[o];$(s,r)<0&&n.push(t[o]),s[o]=r,o++}return i&&(n=e?n.sort((function(t,i){return t[e]>i[e]})):n.sort()),n}function P(t,e){for(var i,n,s=e[0].toUpperCase()+e.slice(1),o=0;o<u.length;){if((n=(i=u[o])?i+s:e)in t)return n;o++}return a}var N=1;function O(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||s}var k="ontouchstart"in s,R=P(s,"PointerEvent")!==a,D=k&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),H="touch",B="mouse",z=24,j=["x","y"],X=["clientX","clientY"];function Y(t,e){var i=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){w(t.options.enable,[t])&&i.handler(e)},this.init()}function F(t,e,i){var n=i.pointers.length,s=i.changedPointers.length,o=1&e&&n-s==0,r=12&e&&n-s==0;i.isFirst=!!o,i.isFinal=!!r,o&&(t.session={}),i.eventType=e,function(t,e){var i=t.session,n=e.pointers,s=n.length;i.firstInput||(i.firstInput=q(e)),s>1&&!i.firstMultiple?i.firstMultiple=q(e):1===s&&(i.firstMultiple=!1);var o=i.firstInput,r=i.firstMultiple,c=r?r.center:o.center,u=e.center=V(n);e.timeStamp=d(),e.deltaTime=e.timeStamp-o.timeStamp,e.angle=K(c,u),e.distance=G(c,u),function(t,e){var i=e.center,n=t.offsetDelta||{},s=t.prevDelta||{},o=t.prevInput||{};1!==e.eventType&&4!==o.eventType||(s=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},n=t.offsetDelta={x:i.x,y:i.y}),e.deltaX=s.x+(i.x-n.x),e.deltaY=s.y+(i.y-n.y)}(i,e),e.offsetDirection=U(e.deltaX,e.deltaY);var h,l,f=W(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=f.x,e.overallVelocityY=f.y,e.overallVelocity=p(f.x)>p(f.y)?f.x:f.y,e.scale=r?(h=r.pointers,l=n,G(l[0],l[1],X)/G(h[0],h[1],X)):1,e.rotation=r?function(t,e){return K(e[1],e[0],X)+K(t[1],t[0],X)}(r.pointers,n):0,e.maxPointers=i.prevInput?e.pointers.length>i.prevInput.maxPointers?e.pointers.length:i.prevInput.maxPointers:e.pointers.length,function(t,e){var i,n,s,o,r=t.lastInterval||e,c=e.timeStamp-r.timeStamp;if(8!=e.eventType&&(c>25||r.velocity===a)){var u=e.deltaX-r.deltaX,h=e.deltaY-r.deltaY,l=W(c,u,h);n=l.x,s=l.y,i=p(l.x)>p(l.y)?l.x:l.y,o=U(u,h),t.lastInterval=e}else i=r.velocity,n=r.velocityX,s=r.velocityY,o=r.direction;e.velocity=i,e.velocityX=n,e.velocityY=s,e.direction=o}(i,e);var v=t.element;S(e.srcEvent.target,v)&&(v=e.srcEvent.target),e.target=v}(t,i),t.emit("hammer.input",i),t.recognize(i),t.session.prevInput=i}function q(t){for(var e=[],i=0;i<t.pointers.length;)e[i]={clientX:l(t.pointers[i].clientX),clientY:l(t.pointers[i].clientY)},i++;return{timeStamp:d(),pointers:e,center:V(e),deltaX:t.deltaX,deltaY:t.deltaY}}function V(t){var e=t.length;if(1===e)return{x:l(t[0].clientX),y:l(t[0].clientY)};for(var i=0,n=0,s=0;s<e;)i+=t[s].clientX,n+=t[s].clientY,s++;return{x:l(i/e),y:l(n/e)}}function W(t,e,i){return{x:e/t||0,y:i/t||0}}function U(t,e){return t===e?1:p(t)>=p(e)?t<0?2:4:e<0?8:16}function G(t,e,i){i||(i=j);var n=e[i[0]]-t[i[0]],s=e[i[1]]-t[i[1]];return Math.sqrt(n*n+s*s)}function K(t,e,i){i||(i=j);var n=e[i[0]]-t[i[0]],s=e[i[1]]-t[i[1]];return 180*Math.atan2(s,n)/Math.PI}Y.prototype={handler:function(){},init:function(){this.evEl&&E(this.element,this.evEl,this.domHandler),this.evTarget&&E(this.target,this.evTarget,this.domHandler),this.evWin&&E(O(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&I(this.element,this.evEl,this.domHandler),this.evTarget&&I(this.target,this.evTarget,this.domHandler),this.evWin&&I(O(this.element),this.evWin,this.domHandler)}};var Z={mousedown:1,mousemove:2,mouseup:4},J="mousedown",Q="mousemove mouseup";function tt(){this.evEl=J,this.evWin=Q,this.pressed=!1,Y.apply(this,arguments)}b(tt,Y,{handler:function(t){var e=Z[t.type];1&e&&0===t.button&&(this.pressed=!0),2&e&&1!==t.which&&(e=4),this.pressed&&(4&e&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:B,srcEvent:t}))}});var et={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},it={2:H,3:"pen",4:B,5:"kinect"},nt="pointerdown",st="pointermove pointerup pointercancel";function ot(){this.evEl=nt,this.evWin=st,Y.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}s.MSPointerEvent&&!s.PointerEvent&&(nt="MSPointerDown",st="MSPointerMove MSPointerUp MSPointerCancel"),b(ot,Y,{handler:function(t){var e=this.store,i=!1,n=t.type.toLowerCase().replace("ms",""),s=et[n],o=it[t.pointerType]||t.pointerType,r=o==H,a=$(e,t.pointerId,"pointerId");1&s&&(0===t.button||r)?a<0&&(e.push(t),a=e.length-1):12&s&&(i=!0),a<0||(e[a]=t,this.callback(this.manager,s,{pointers:e,changedPointers:[t],pointerType:o,srcEvent:t}),i&&e.splice(a,1))}});var rt={touchstart:1,touchmove:2,touchend:4,touchcancel:8},at="touchstart",ct="touchstart touchmove touchend touchcancel";function ut(){this.evTarget=at,this.evWin=ct,this.started=!1,Y.apply(this,arguments)}function ht(t,e){var i=L(t.touches),n=L(t.changedTouches);return 12&e&&(i=A(i.concat(n),"identifier",!0)),[i,n]}b(ut,Y,{handler:function(t){var e=rt[t.type];if(1===e&&(this.started=!0),this.started){var i=ht.call(this,t,e);12&e&&i[0].length-i[1].length==0&&(this.started=!1),this.callback(this.manager,e,{pointers:i[0],changedPointers:i[1],pointerType:H,srcEvent:t})}}});var lt={touchstart:1,touchmove:2,touchend:4,touchcancel:8},pt="touchstart touchmove touchend touchcancel";function dt(){this.evTarget=pt,this.targetIds={},Y.apply(this,arguments)}function ft(t,e){var i=L(t.touches),n=this.targetIds;if(3&e&&1===i.length)return n[i[0].identifier]=!0,[i,i];var s,o,r=L(t.changedTouches),a=[],c=this.target;if(o=i.filter((function(t){return S(t.target,c)})),1===e)for(s=0;s<o.length;)n[o[s].identifier]=!0,s++;for(s=0;s<r.length;)n[r[s].identifier]&&a.push(r[s]),12&e&&delete n[r[s].identifier],s++;return a.length?[A(o.concat(a),"identifier",!0),a]:void 0}function vt(){Y.apply(this,arguments);var t=x(this.handler,this);this.touch=new dt(this.manager,t),this.mouse=new tt(this.manager,t),this.primaryTouch=null,this.lastTouches=[]}function mt(t,e){1&t?(this.primaryTouch=e.changedPointers[0].identifier,gt.call(this,e)):12&t&>.call(this,e)}function gt(t){var e=t.changedPointers[0];if(e.identifier===this.primaryTouch){var i={x:e.clientX,y:e.clientY};this.lastTouches.push(i);var n=this.lastTouches;setTimeout((function(){var t=n.indexOf(i);t>-1&&n.splice(t,1)}),2500)}}function yt(t){for(var e=t.srcEvent.clientX,i=t.srcEvent.clientY,n=0;n<this.lastTouches.length;n++){var s=this.lastTouches[n],o=Math.abs(e-s.x),r=Math.abs(i-s.y);if(o<=25&&r<=25)return!0}return!1}b(dt,Y,{handler:function(t){var e=lt[t.type],i=ft.call(this,t,e);i&&this.callback(this.manager,e,{pointers:i[0],changedPointers:i[1],pointerType:H,srcEvent:t})}}),b(vt,Y,{handler:function(t,e,i){var n=i.pointerType==H,s=i.pointerType==B;if(!(s&&i.sourceCapabilities&&i.sourceCapabilities.firesTouchEvents)){if(n)mt.call(this,e,i);else if(s&&yt.call(this,i))return;this.callback(t,e,i)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var Tt=P(h.style,"touchAction"),bt=Tt!==a,xt="compute",wt="auto",_t="manipulation",Et="none",It="pan-x",St="pan-y",Ct=function(){if(!bt)return!1;var t={},e=s.CSS&&s.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(i){t[i]=!e||s.CSS.supports("touch-action",i)})),t}();function Mt(t,e){this.manager=t,this.set(e)}Mt.prototype={set:function(t){t==xt&&(t=this.compute()),bt&&this.manager.element.style&&Ct[t]&&(this.manager.element.style[Tt]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return m(this.manager.recognizers,(function(e){w(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))})),function(t){if(C(t,Et))return Et;var e=C(t,It),i=C(t,St);return e&&i?Et:e||i?e?It:St:C(t,_t)?_t:wt}(t.join(" "))},preventDefaults:function(t){var e=t.srcEvent,i=t.offsetDirection;if(this.manager.session.prevented)e.preventDefault();else{var n=this.actions,s=C(n,Et)&&!Ct.none,o=C(n,St)&&!Ct["pan-y"],r=C(n,It)&&!Ct["pan-x"];if(s){var a=1===t.pointers.length,c=t.distance<2,u=t.deltaTime<250;if(a&&c&&u)return}if(!r||!o)return s||o&&6&i||r&&i&z?this.preventSrc(e):void 0}},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var $t=32;function Lt(t){this.options=c({},this.defaults,t||{}),this.id=N++,this.manager=null,this.options.enable=_(this.options.enable,!0),this.state=1,this.simultaneous={},this.requireFail=[]}function At(t){return 16&t?"cancel":8&t?"end":4&t?"move":2&t?"start":""}function Pt(t){return 16==t?"down":8==t?"up":2==t?"left":4==t?"right":""}function Nt(t,e){var i=e.manager;return i?i.get(t):t}function Ot(){Lt.apply(this,arguments)}function kt(){Ot.apply(this,arguments),this.pX=null,this.pY=null}function Rt(){Ot.apply(this,arguments)}function Dt(){Lt.apply(this,arguments),this._timer=null,this._input=null}function Ht(){Ot.apply(this,arguments)}function Bt(){Ot.apply(this,arguments)}function zt(){Lt.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function jt(t,e){return(e=e||{}).recognizers=_(e.recognizers,jt.defaults.preset),new Xt(t,e)}function Xt(t,e){var i;this.options=c({},jt.defaults,e||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=new((i=this).options.inputClass||(R?ot:D?dt:k?vt:tt))(i,F),this.touchAction=new Mt(this,this.options.touchAction),Yt(this,!0),m(this.options.recognizers,(function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])}),this)}function Yt(t,e){var i,n=t.element;n.style&&(m(t.options.cssProps,(function(s,o){i=P(n.style,o),e?(t.oldCssProps[i]=n.style[i],n.style[i]=s):n.style[i]=t.oldCssProps[i]||""})),e||(t.oldCssProps={}))}Lt.prototype={defaults:{},set:function(t){return c(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(v(t,"recognizeWith",this))return this;var e=this.simultaneous;return e[(t=Nt(t,this)).id]||(e[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return v(t,"dropRecognizeWith",this)||(t=Nt(t,this),delete this.simultaneous[t.id]),this},requireFailure:function(t){if(v(t,"requireFailure",this))return this;var e=this.requireFail;return-1===$(e,t=Nt(t,this))&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(v(t,"dropRequireFailure",this))return this;t=Nt(t,this);var e=$(this.requireFail,t);return e>-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){var e=this,i=this.state;function n(i){e.manager.emit(i,t)}i<8&&n(e.options.event+At(i)),n(e.options.event),t.additionalEvent&&n(t.additionalEvent),i>=8&&n(e.options.event+At(i))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=$t},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(33&this.requireFail[t].state))return!1;t++}return!0},recognize:function(t){var e=c({},t);if(!w(this.options.enable,[this,e]))return this.reset(),void(this.state=$t);56&this.state&&(this.state=1),this.state=this.process(e),30&this.state&&this.tryEmit(e)},process:function(t){},getTouchAction:function(){},reset:function(){}},b(Ot,Lt,{defaults:{pointers:1},attrTest:function(t){var e=this.options.pointers;return 0===e||t.pointers.length===e},process:function(t){var e=this.state,i=t.eventType,n=6&e,s=this.attrTest(t);return n&&(8&i||!s)?16|e:n||s?4&i?8|e:2&e?4|e:2:$t}}),b(kt,Ot,{defaults:{event:"pan",threshold:10,pointers:1,direction:30},getTouchAction:function(){var t=this.options.direction,e=[];return 6&t&&e.push(St),t&z&&e.push(It),e},directionTest:function(t){var e=this.options,i=!0,n=t.distance,s=t.direction,o=t.deltaX,r=t.deltaY;return s&e.direction||(6&e.direction?(s=0===o?1:o<0?2:4,i=o!=this.pX,n=Math.abs(t.deltaX)):(s=0===r?1:r<0?8:16,i=r!=this.pY,n=Math.abs(t.deltaY))),t.direction=s,i&&n>e.threshold&&s&e.direction},attrTest:function(t){return Ot.prototype.attrTest.call(this,t)&&(2&this.state||!(2&this.state)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=Pt(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),b(Rt,Ot,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Et]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||2&this.state)},emit:function(t){if(1!==t.scale){var e=t.scale<1?"in":"out";t.additionalEvent=this.options.event+e}this._super.emit.call(this,t)}}),b(Dt,Lt,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[wt]},process:function(t){var e=this.options,i=t.pointers.length===e.pointers,n=t.distance<e.threshold,s=t.deltaTime>e.time;if(this._input=t,!n||!i||12&t.eventType&&!s)this.reset();else if(1&t.eventType)this.reset(),this._timer=f((function(){this.state=8,this.tryEmit()}),e.time,this);else if(4&t.eventType)return 8;return $t},reset:function(){clearTimeout(this._timer)},emit:function(t){8===this.state&&(t&&4&t.eventType?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=d(),this.manager.emit(this.options.event,this._input)))}}),b(Ht,Ot,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Et]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||2&this.state)}}),b(Bt,Ot,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:30,pointers:1},getTouchAction:function(){return kt.prototype.getTouchAction.call(this)},attrTest:function(t){var e,i=this.options.direction;return 30&i?e=t.overallVelocity:6&i?e=t.overallVelocityX:i&z&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&i&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&p(e)>this.options.velocity&&4&t.eventType},emit:function(t){var e=Pt(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),b(zt,Lt,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[_t]},process:function(t){var e=this.options,i=t.pointers.length===e.pointers,n=t.distance<e.threshold,s=t.deltaTime<e.time;if(this.reset(),1&t.eventType&&0===this.count)return this.failTimeout();if(n&&s&&i){if(4!=t.eventType)return this.failTimeout();var o=!this.pTime||t.timeStamp-this.pTime<e.interval,r=!this.pCenter||G(this.pCenter,t.center)<e.posThreshold;if(this.pTime=t.timeStamp,this.pCenter=t.center,r&&o?this.count+=1:this.count=1,this._input=t,0===this.count%e.taps)return this.hasRequireFailures()?(this._timer=f((function(){this.state=8,this.tryEmit()}),e.interval,this),2):8}return $t},failTimeout:function(){return this._timer=f((function(){this.state=$t}),this.options.interval,this),$t},reset:function(){clearTimeout(this._timer)},emit:function(){8==this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),jt.VERSION="2.0.7",jt.defaults={domEvents:!1,touchAction:xt,enable:!0,inputTarget:null,inputClass:null,preset:[[Ht,{enable:!1}],[Rt,{enable:!1},["rotate"]],[Bt,{direction:6}],[kt,{direction:6},["swipe"]],[zt],[zt,{event:"doubletap",taps:2},["tap"]],[Dt]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},Xt.prototype={set:function(t){return c(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?2:1},recognize:function(t){var e=this.session;if(!e.stopped){var i;this.touchAction.preventDefaults(t);var n=this.recognizers,s=e.curRecognizer;(!s||s&&8&s.state)&&(s=e.curRecognizer=null);for(var o=0;o<n.length;)i=n[o],2===e.stopped||s&&i!=s&&!i.canRecognizeWith(s)?i.reset():i.recognize(t),!s&&14&i.state&&(s=e.curRecognizer=i),o++}},get:function(t){if(t instanceof Lt)return t;for(var e=this.recognizers,i=0;i<e.length;i++)if(e[i].options.event==t)return e[i];return null},add:function(t){if(v(t,"add",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},remove:function(t){if(v(t,"remove",this))return this;if(t=this.get(t)){var e=this.recognizers,i=$(e,t);-1!==i&&(e.splice(i,1),this.touchAction.update())}return this},on:function(t,e){if(t!==a&&e!==a){var i=this.handlers;return m(M(t),(function(t){i[t]=i[t]||[],i[t].push(e)})),this}},off:function(t,e){if(t!==a){var i=this.handlers;return m(M(t),(function(t){e?i[t]&&i[t].splice($(i[t],e),1):delete i[t]})),this}},emit:function(t,e){this.options.domEvents&&function(t,e){var i=o.createEvent("Event");i.initEvent(t,!0,!0),i.gesture=e,e.target.dispatchEvent(i)}(t,e);var i=this.handlers[t]&&this.handlers[t].slice();if(i&&i.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var n=0;n<i.length;)i[n](e),n++}},destroy:function(){this.element&&Yt(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},c(jt,{INPUT_START:1,INPUT_MOVE:2,INPUT_END:4,INPUT_CANCEL:8,STATE_POSSIBLE:1,STATE_BEGAN:2,STATE_CHANGED:4,STATE_ENDED:8,STATE_RECOGNIZED:8,STATE_CANCELLED:16,STATE_FAILED:$t,DIRECTION_NONE:1,DIRECTION_LEFT:2,DIRECTION_RIGHT:4,DIRECTION_UP:8,DIRECTION_DOWN:16,DIRECTION_HORIZONTAL:6,DIRECTION_VERTICAL:z,DIRECTION_ALL:30,Manager:Xt,Input:Y,TouchAction:Mt,TouchInput:dt,MouseInput:tt,PointerEventInput:ot,TouchMouseInput:vt,SingleTouchInput:ut,Recognizer:Lt,AttrRecognizer:Ot,Tap:zt,Pan:kt,Swipe:Bt,Pinch:Rt,Rotate:Ht,Press:Dt,on:E,off:I,each:m,merge:T,extend:y,assign:c,inherit:b,bindFn:x,prefixed:P}),(void 0!==s?s:"undefined"!=typeof self?self:{}).Hammer=jt,(n=function(){return jt}.call(e,i,e,t))===a||(t.exports=n)}(window,document)}},e={};function i(n){var s=e[n];if(void 0!==s)return s.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,i),o.exports}i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};return(()=>{"use strict";i.r(n),i.d(n,{default:()=>y});var t=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{on:{click:function(e){return e.stopPropagation(),t.closeLightBox(e)}}},[i("transition",{attrs:{mode:"out-in",name:"vib-container-transition"},on:{afterEnter:t.enableImageTransition,beforeLeave:t.disableImageTransition}},[t.media&&t.media.length>0?i("div",{directives:[{name:"show",rawName:"v-show",value:t.lightBoxShown,expression:"lightBoxShown"}],ref:"container",staticClass:"vib-container"},[i("div",{staticClass:"vib-content",on:{click:function(t){t.stopPropagation()}}},[i("transition",{attrs:{mode:"out-in",name:t.imageTransitionName}},[null==t.currentMedia.type||"image"==t.currentMedia.type?i("img",{key:t.currentMedia.src,staticClass:"vib-image",attrs:{src:t.currentMedia.src,srcset:t.currentMedia.srcset||"",alt:t.currentMedia.caption}}):"youtube"==t.media[t.select].type?i("div",{staticClass:"video-background"},[i("iframe",{attrs:{src:"https://www.youtube.com/embed/"+t.media[t.select].id+"?showinfo=0",width:"560",height:"315",frameborder:"0",allowfullscreen:""}})]):"video"==t.currentMedia.type?i("video",{key:t.currentMedia.sources[0].src,ref:"video",attrs:{controls:"",width:t.currentMedia.width,height:t.currentMedia.height,autoplay:t.currentMedia.autoplay}},t._l(t.currentMedia.sources,(function(t){return i("source",{key:t.src,attrs:{src:t.src,type:t.type}})})),0):t._e()])],1),t._v(" "),t.showThumbs?i("div",{staticClass:"vib-thumbnail-wrapper vib-hideable",class:{"vib-hidden":t.controlsHidden},on:{click:function(t){t.stopPropagation()},mouseover:function(e){t.interfaceHovered=!0},mouseleave:function(e){t.interfaceHovered=!1}}},t._l(t.imagesThumb,(function(e,n){return i("div",{directives:[{name:"show",rawName:"v-show",value:n>=t.thumbIndex.begin&&n<=t.thumbIndex.end,expression:"index >= thumbIndex.begin && index <= thumbIndex.end"}],key:"string"==typeof e.thumb?""+e.thumb+n:n,class:"vib-thumbnail"+(t.select===n?"-active":""),style:{backgroundImage:"url("+e.thumb+")"},on:{click:function(e){return e.stopPropagation(),t.showImage(n)}}},["video"==e.type||"youtube"==e.type?t._t("videoIcon",[i("VideoIcon")]):t._e()],2)})),0):t._e(),t._v(" "),i("div",{staticClass:"vib-footer vib-hideable",class:{"vib-hidden":t.controlsHidden},on:{mouseover:function(e){t.interfaceHovered=!0},mouseleave:function(e){t.interfaceHovered=!1}}},[t._t("customCaption",[i("div",{directives:[{name:"show",rawName:"v-show",value:t.showCaption,expression:"showCaption"}],domProps:{innerHTML:t._s(t.currentMedia.caption)}})],{currentMedia:t.currentMedia}),t._v(" "),i("div",{staticClass:"vib-footer-count"},[t._t("footer",[t._v("\n "+t._s(t.select+1)+" / "+t._s(t.media.length)+"\n ")],{current:t.select+1,total:t.media.length})],2)],2),t._v(" "),t.closable?i("button",{staticClass:"vib-close vib-hideable",class:{"vib-hidden":t.controlsHidden},attrs:{type:"button",title:t.closeText},on:{mouseover:function(e){t.interfaceHovered=!0},mouseleave:function(e){t.interfaceHovered=!1}}},[t._t("close",[i("CloseIcon")])],2):t._e(),t._v(" "),t.media.length>1?i("button",{staticClass:"vib-arrow vib-arrow-left vib-hideable",class:{"vib-hidden":t.controlsHidden},attrs:{type:"button",title:t.previousText},on:{click:function(e){return e.stopPropagation(),t.previousImage()},mouseover:function(e){t.interfaceHovered=!0},mouseleave:function(e){t.interfaceHovered=!1}}},[t._t("previous",[i("LeftArrowIcon")])],2):t._e(),t._v(" "),t.media.length>1?i("button",{staticClass:"vib-arrow vib-arrow-right vib-hideable",class:{"vib-hidden":t.controlsHidden},attrs:{type:"button",title:t.nextText},on:{click:function(e){return e.stopPropagation(),t.nextImage()},mouseover:function(e){t.interfaceHovered=!0},mouseleave:function(e){t.interfaceHovered=!1}}},[t._t("next",[i("RightArrowIcon")])],2):t._e()]):t._e()])],1)};t._withStripped=!0;var e=function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("svg",{attrs:{fill:"white",x:"0px",y:"0px",width:"100%",height:"100%",viewBox:"0 0 512 512"}},[e("path",{attrs:{d:"M213.7,256L213.7,256L213.7,256L380.9,81.9c4.2-4.3,4.1-11.4-0.2-15.8l-29.9-30.6c-4.3-4.4-11.3-4.5-15.5-0.2L131.1,247.9 c-2.2,2.2-3.2,5.2-3,8.1c-0.1,3,0.9,5.9,3,8.1l204.2,212.7c4.2,4.3,11.2,4.2,15.5-0.2l29.9-30.6c4.3-4.4,4.4-11.5,0.2-15.8 L213.7,256z"}})])])};function s(t,e,i,n,s,o,r,a){var c,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=i,u._compiled=!0),n&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),r?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),s&&s.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(r)},u._ssrRegister=c):s&&(c=a?function(){s.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:s),c)if(u.functional){u._injectStyles=c;var h=u.render;u.render=function(t,e){return c.call(e),h(t,e)}}else{var l=u.beforeCreate;u.beforeCreate=l?[].concat(l,c):[c]}return{exports:t,options:u}}e._withStripped=!0;var o=s({},e,[],!1,null,null,null);o.options.__file="src/components/LeftArrowIcon.vue";const r=o.exports;var a=function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("svg",{attrs:{fill:"white",x:"0px",y:"0px",width:"100%",height:"100%",viewBox:"0 0 512 512"}},[e("path",{attrs:{d:"M298.3,256L298.3,256L298.3,256L131.1,81.9c-4.2-4.3-4.1-11.4,0.2-15.8l29.9-30.6c4.3-4.4,11.3-4.5,15.5-0.2l204.2,212.7 c2.2,2.2,3.2,5.2,3,8.1c0.1,3-0.9,5.9-3,8.1L176.7,476.8c-4.2,4.3-11.2,4.2-15.5-0.2L131.3,446c-4.3-4.4-4.4-11.5-0.2-15.8 L298.3,256z"}})])])};a._withStripped=!0;var c=s({},a,[],!1,null,null,null);c.options.__file="src/components/RightArrowIcon.vue";const u=c.exports;var h=function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("svg",{staticStyle:{"enable-background":"new 0 0 512 512"},attrs:{fill:"white",x:"0px",y:"0px",width:"100%",height:"100%",viewBox:"0 0 512 512"}},[e("path",{attrs:{d:"M443.6,387.1L312.4,255.4l131.5-130c5.4-5.4,5.4-14.2,0-19.6l-37.4-37.6c-2.6-2.6-6.1-4-9.8-4c-3.7,0-7.2,1.5-9.8,4 L256,197.8L124.9,68.3c-2.6-2.6-6.1-4-9.8-4c-3.7,0-7.2,1.5-9.8,4L68,105.9c-5.4,5.4-5.4,14.2,0,19.6l131.5,130L68.4,387.1 c-2.6,2.6-4.1,6.1-4.1,9.8c0,3.7,1.4,7.2,4.1,9.8l37.4,37.6c2.7,2.7,6.2,4.1,9.8,4.1c3.5,0,7.1-1.3,9.8-4.1L256,313.1l130.7,131.1 c2.7,2.7,6.2,4.1,9.8,4.1c3.5,0,7.1-1.3,9.8-4.1l37.4-37.6c2.6-2.6,4.1-6.1,4.1-9.8C447.7,393.2,446.2,389.7,443.6,387.1z"}})])])};h._withStripped=!0;var l=s({},h,[],!1,null,null,null);l.options.__file="src/components/CloseIcon.vue";const p=l.exports;var d=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("svg",{staticStyle:{"enable-background":"new 0 0 271.953 271.953",margin:"12px"},attrs:{x:"0px",y:"0px",viewBox:"0 0 271.953 271.953","xml:space":"preserve"}},[i("g",[i("g",[i("path",{staticStyle:{fill:"#fff"},attrs:{d:"M135.977,271.953c75.097,0,135.977-60.879,135.977-135.977S211.074,0,135.977,0S0,60.879,0,135.977 S60.879,271.953,135.977,271.953z M250.197,135.977c0,62.979-51.241,114.22-114.22,114.22s-114.22-51.241-114.22-114.22 s51.241-114.22,114.22-114.22S250.197,72.998,250.197,135.977z"}}),t._v(" "),i("path",{staticStyle:{fill:"#fff"},attrs:{d:"M112.295,205.031c2.692,1.115,5.434,1.659,8.235,1.659c5.662,0,11.183-2.208,15.344-6.375 l48.93-48.952c8.496-8.496,8.485-22.273-0.011-30.769l-48.957-48.952c-4.161-4.161-9.73-6.375-15.393-6.375 c-2.801,0-5.461,0.544-8.153,1.659c-8.126,3.367-13.255,11.297-13.255,20.097v97.903 C99.034,193.729,104.164,201.664,112.295,205.031z M120.791,88.613v-1.588l48.952,48.952l-48.952,48.952V88.613z"}})])])])};d._withStripped=!0;var f=s({},d,[],!1,null,null,null);f.options.__file="src/components/VideoIcon.vue";const v=f.exports;var m;"undefined"!=typeof window&&(m=i(840));var g=s({components:{LeftArrowIcon:r,RightArrowIcon:u,CloseIcon:p,VideoIcon:v},props:{media:{type:Array,required:!0},disableScroll:{type:Boolean,default:!0},showLightBox:{type:Boolean,default:!0},closable:{type:Boolean,default:!0},startAt:{type:Number,default:0},nThumbs:{type:Number,default:7},showThumbs:{type:Boolean,default:!0},autoPlay:{type:Boolean,default:!1},autoPlayTime:{type:Number,default:3e3},interfaceHideTime:{type:Number,default:3e3},showCaption:{type:Boolean,default:!1},lengthToLoadMore:{type:Number,default:0},closeText:{type:String,default:"Close (Esc)"},previousText:{type:String,default:"Previous"},nextText:{type:String,default:"Next"}},data:function(){return{select:this.startAt,lightBoxShown:this.showLightBox,controlsHidden:!1,imageTransitionName:"vib-image-no-transition",timer:null,interactionTimer:null,interfaceHovered:!1}},computed:{currentMedia:function(){return this.media[this.select]},thumbIndex:function(){var t=Math.floor(this.nThumbs/2);return this.select>=t&&this.select<this.media.length-t?{begin:this.select-t+(1-this.nThumbs%2),end:this.select+t}:this.select<t?{begin:0,end:this.nThumbs-1}:{begin:this.media.length-this.nThumbs,end:this.media.length-1}},imagesThumb:function(){return this.media.map((function(t){return{thumb:t.thumb,type:t.type}}))}},watch:{lightBoxShown:function(t){null!=document&&this.onToggleLightBox(t)},select:function(){this.$emit("onImageChanged",this.select),this.select>=this.media.length-this.lengthToLoadMore-1&&this.$emit("onLoad"),this.select===this.media.length-1&&this.$emit("onLastIndex"),0===this.select&&this.$emit("onFirstIndex"),this.select===this.startAt&&this.$emit("onStartIndex")}},mounted:function(){if(this.autoPlay&&(this.timer=setInterval(this.nextImage,this.autoPlayTime)),this.onToggleLightBox(this.lightBoxShown),this.$refs.container){var t=new m(this.$refs.container);t.on("swiperight",this.previousImage),t.on("swipeleft",this.nextImage),this.$refs.container.addEventListener("mousedown",this.handleMouseActivity),this.$refs.container.addEventListener("mousemove",this.handleMouseActivity),this.$refs.container.addEventListener("touchmove",this.handleMouseActivity)}},beforeDestroy:function(){document.removeEventListener("keydown",this.addKeyEvent),this.autoPlay&&clearInterval(this.timer),this.$refs.container&&(this.$refs.container.removeEventListener("mousedown",this.handleMouseActivity),this.$refs.container.removeEventListener("mousemove",this.handleMouseActivity),this.$refs.container.removeEventListener("touchmove",this.handleMouseActivity))},methods:{onLightBoxOpen:function(){this.$emit("onOpened"),this.disableScroll&&document.querySelector("html").classList.add("no-scroll"),document.querySelector("body").classList.add("vib-open"),document.addEventListener("keydown",this.addKeyEvent),this.$refs.video&&this.$refs.video.autoplay&&this.$refs.video.play()},onLightBoxClose:function(){this.$emit("onClosed"),this.disableScroll&&document.querySelector("html").classList.remove("no-scroll"),document.querySelector("body").classList.remove("vib-open"),document.removeEventListener("keydown",this.addKeyEvent),this.$refs.video&&(this.$refs.video.pause(),this.$refs.video.currentTime="0")},onToggleLightBox:function(t){t?this.onLightBoxOpen():this.onLightBoxClose()},showImage:function(t){this.select=t,this.controlsHidden=!1,this.lightBoxShown=!0},addKeyEvent:function(t){switch(t.keyCode){case 37:this.previousImage();break;case 39:this.nextImage();break;case 27:this.closeLightBox()}},closeLightBox:function(){this.$refs.video&&this.$refs.video.pause(),this.closable&&this.$set(this,"lightBoxShown",!1)},nextImage:function(){this.$set(this,"select",(this.select+1)%this.media.length)},previousImage:function(){this.$set(this,"select",(this.select+this.media.length-1)%this.media.length)},enableImageTransition:function(){this.handleMouseActivity(),this.imageTransitionName="vib-image-transition"},disableImageTransition:function(){this.imageTransitionName="vib-image-no-transition"},handleMouseActivity:function(){clearTimeout(this.interactionTimer),this.controlsHidden&&(this.controlsHidden=!1),this.interfaceHovered?this.stopInteractionTimer():this.startInteractionTimer()},startInteractionTimer:function(){var t=this;this.interactionTimer=setTimeout((function(){t.controlsHidden=!0}),this.interfaceHideTime)},stopInteractionTimer:function(){this.interactionTimer=null}}},t,[],!1,null,null,null);g.options.__file="src/components/LightBox.vue";const y=g.exports})(),n})()}))}}]);