water-ldht/dist/static/js/chunk-2d216852.28dfdc03.js

7 lines
556 KiB
JavaScript
Raw Normal View History

2024-11-01 16:58:10 +08:00
/*!
* build: vue-admin-beautiful
* vue-admin-beautiful author: chuzhixin 1204505056@qq.com
* vue-admin-beautiful QQ Group(QQ群): 9724353191139183756
* time: 2024-10-10 11:14:28
*/
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d216852"],{c38d:function(e,t,n){"use strict";(function(e,n){var i,o,r,a;function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function l(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p=function(){function e(t,n){c(this,e),this.coreX=t,this.coreY=n}return l(e,[{key:"toString",value:function(){return"".concat(this.coreX,"-").concat(this.coreY)}}]),e}();Date.prototype.Format=function(e){var t={"M+":this.getMonth()+1,"d+":this.getDate(),"h+":this.getHours(),"m+":this.getMinutes(),"s+":this.getSeconds(),"q+":Math.floor((this.getMonth()+3)/3),S:this.getMilliseconds()};for(var n in/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(this.getFullYear()+"").substr(4-RegExp.$1.length))),t)new RegExp("("+n+")").test(e)&&(e=e.replace(RegExp.$1,1==RegExp.$1.length?t[n]:("00"+t[n]).substr((""+t[n]).length)));return e};var m=function(e,t,n){var i=document.getElementsByTagName("head")[0].getElementsByTagName("script"),o=!1;if(n)o=n();else for(var r=0;r<i.length;r++)i[r].getAttribute("src")==e&&(o=!0,t());if(o)t();else{var a=document.createElement("script");a.setAttribute("src",e),a.setAttribute("crossorigin",!0),a.onload=t,document.getElementsByTagName("head")[0].appendChild(a)}},h=function(e,t){for(var n=document.getElementsByTagName("head")[0].getElementsByTagName("link"),i=!1,o=0;o<n.length;o++)n[o].getAttribute("href")==e&&(i=!0);if(!i){var r=document.createElement("link");r.rel="stylesheet",r.type="text/css",r.href=e,r.onload=t,document.getElementsByTagName("head")[0].appendChild(r)}},f=function(e){return!!e&&("object"===d(e)||"function"===typeof e)&&"function"===typeof e.then},g=function(e,t){var n=new RegExp("(\\?|#|&)"+e+"=(.*?)(#|&|$)"),i=(t||window.location.href).match(n);return decodeURIComponent(i?i[2]:"")},v=function(e,t){var n=t.parentNode;n.lastChild==t?n.appendChild(e):n.insertBefore(e,t.nextSibling)},y=function(e){console.log("requestFullScreen",document.getElementById(e));var t=e.requestFullScreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||e.msRequestFullScreen;if(t)t.call(e);else if("undefined"!==typeof window.ActiveXObject){var n=new window.ActiveXObject("WScript.Shell");null!==n&&n.SendKeys("{F11}")}},C=function(e){var t=document.documentElement.clientWidth,n=document.documentElement.clientHeight,i=e,o="";o+="width:"+n+"px;",o+="height:"+t+"px;",o+="-webkit-transform: rotate(90.001deg); transform: rotate(90.001deg);",o+="-webkit-transform-origin: "+t/2+"px "+t/2+"px;",o+="transform-origin: "+t/2+"px "+t/2+"px;",o+="position: fixed;top: 0;left: 0;z-index:10",i.style.cssText=o},S=function(e){y(e);var t=new Promise((function(e,t){var n=setInterval((function(){var t=document.fullScreen||document.mozFullScreen||document.webkitIsFullScreen;if(t)return clearInterval(n),e(!0)}),100),i=setTimeout((function(){var e=document.fullScreen||document.mozFullScreen||document.webkitIsFullScreen;e||t(!1),clearTimeout(i)}),2e3)}));return t},T=function(e,t,n){var i="";i+="width:"+t+"px;",i+="height:"+n+"px;",i+="-webkit-transform: none; transform: none;",i+="-webkit-transform-origin: 0 0;",i+="transform-origin: 0 0;",e.style.cssText=i},b=function(){document.exitFullscreen?document.exitFullscreen():document.webkitCancelFullScreen?document.webkitCancelFullScreen():document.mozCancelFullScreen&&document.mozCancelFullScreen()},w=function(e){b();var t=new Promise((function(e,t){var n=setInterval((function(){var t=document.fullScreen||document.mozFullScreen||document.webkitIsFullS