|
|
|
@ -3617,6 +3617,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
|
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
|
|
|
|
|
|
|
|
var notifcation = document.getElementById('notifications');
|
|
|
|
|
var notify = document.getElementById('notifyMessage');
|
|
|
|
|
var messageText = document.getElementById('message-text');
|
|
|
|
|
var iconGood = document.getElementById('notify-good');
|
|
|
|
|
var iconLame = document.getElementById('notify-lame');
|
|
|
|
@ -3636,7 +3637,7 @@ var Notfications = /*#__PURE__*/function () {
|
|
|
|
|
_createClass(Notfications, [{
|
|
|
|
|
key: "alert",
|
|
|
|
|
value: function alert(text, status) {
|
|
|
|
|
//notifcation.style.display = 'flex';
|
|
|
|
|
notifcation.style.display = 'block';
|
|
|
|
|
iconWorking.style.display = 'none';
|
|
|
|
|
iconGood.style.display = 'none';
|
|
|
|
|
iconLame.style.display = 'none';
|
|
|
|
@ -3657,8 +3658,8 @@ var Notfications = /*#__PURE__*/function () {
|
|
|
|
|
iconWorking.style.display = 'block';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
notifcation.classList.remove('notify-close');
|
|
|
|
|
notifcation.classList.add('notify-open');
|
|
|
|
|
notify.classList.remove('notify-close');
|
|
|
|
|
notify.classList.add('notify-open');
|
|
|
|
|
messageText.innerHTML = text;
|
|
|
|
|
(0, _animeEs.default)({
|
|
|
|
|
targets: messageText,
|
|
|
|
@ -3668,8 +3669,11 @@ var Notfications = /*#__PURE__*/function () {
|
|
|
|
|
complete: function complete() {
|
|
|
|
|
if (status !== null) {
|
|
|
|
|
setTimeout(function () {
|
|
|
|
|
notifcation.classList.add('notify-close');
|
|
|
|
|
notifcation.classList.remove('notify-open');
|
|
|
|
|
notify.addEventListener('transitionend', function () {
|
|
|
|
|
notifcation.style.display = 'none';
|
|
|
|
|
});
|
|
|
|
|
notify.classList.add('notify-close');
|
|
|
|
|
notify.classList.remove('notify-open');
|
|
|
|
|
}, 1000);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -8572,7 +8576,7 @@ var parent = module.bundle.parent;
|
|
|
|
|
if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
|
|
|
|
|
var hostname = "" || location.hostname;
|
|
|
|
|
var protocol = location.protocol === 'https:' ? 'wss' : 'ws';
|
|
|
|
|
var ws = new WebSocket(protocol + '://' + hostname + ':' + "53859" + '/');
|
|
|
|
|
var ws = new WebSocket(protocol + '://' + hostname + ':' + "57255" + '/');
|
|
|
|
|
|
|
|
|
|
ws.onmessage = function (event) {
|
|
|
|
|
checkedAssets = {};
|
|
|
|
|