!function(e,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n();else if("function"==typeof define&&define.amd)define([],n);else{var t=n();for(var r in t)("object"==typeof exports?exports:e)[r]=t[r]}}(window,(function(){return function(e){var n={};function t(r){if(n[r])return n[r].exports;var u=n[r]={i:r,l:!1,exports:{}};return e[r].call(u.exports,u,u.exports,t),u.l=!0,u.exports}return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var u in e)t.d(r,u,function(n){return e[n]}.bind(null,u));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="./",t(t.s=16)}({16:function(e,n,t){"use strict";t.r(n),t.d(n,"default",(function(){return r}));var r=function(){function e(e){this.prefixName="",this.isFullscreenData=!0,this.isFullscreen(e)}var n=e.prototype;return n.fullscreen=function(e){("string"==typeof domOrClsName?document.querySelector(e):e)[""===this.prefixName?"requestFullscreen":this.prefixName+"RequestFullScreen"]()},n.exitFullscreen=function(){var e=""===this.prefixName?"exitFullscreen":this.prefixName+"ExitFullscreen";document[e]()},n.screenChange=function(e,n){var t=this;if(this.isFullscreenData){var r="on"+this.prefixName+"fullscreenchange";document[r]=function(r){t.isElementFullScreen()?e&&e(r):n&&n(r)}}},n.screenError=function(e){var n="on"+this.prefixName+"fullscreenerror";document[n]=function(n){e&&e(n)}},n.isFullscreen=function(e){var n;document.fullscreenEnabled?n=document.fullscreenEnabled:document.webkitFullscreenEnabled?(n=document.webkitFullscreenEnabled,this.prefixName="webkit"):document.mozFullScreenEnabled?(n=document.mozFullScreenEnabled,this.prefixName="moz"):document.msFullscreenEnabled&&(n=document.msFullscreenEnabled,this.prefixName="ms"),n||(this.isFullscreenData=!1,e&&e())},n.isElementFullScreen=function(){return null!==(document.fullscreenElement||document.msFullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement)},e}()}})}));
//# sourceMappingURL=fullScreen.js.map