|
|
|
@ -3637,7 +3637,6 @@ var Notfications = /*#__PURE__*/function () {
|
|
|
|
|
_createClass(Notfications, [{
|
|
|
|
|
key: "alert",
|
|
|
|
|
value: function alert(text, status) {
|
|
|
|
|
notifcation.style.display = 'block';
|
|
|
|
|
iconWorking.style.display = 'none';
|
|
|
|
|
iconGood.style.display = 'none';
|
|
|
|
|
iconLame.style.display = 'none';
|
|
|
|
@ -3658,49 +3657,48 @@ var Notfications = /*#__PURE__*/function () {
|
|
|
|
|
iconWorking.style.display = 'block';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
notify.classList.remove('notify-close');
|
|
|
|
|
notify.classList.add('notify-open');
|
|
|
|
|
messageText.innerHTML = text;
|
|
|
|
|
(0, _animeEs.default)({
|
|
|
|
|
targets: messageText,
|
|
|
|
|
backgroundColor: color,
|
|
|
|
|
targets: notifcation,
|
|
|
|
|
marginTop: '0',
|
|
|
|
|
easing: 'easeInOutQuint',
|
|
|
|
|
duration: 700,
|
|
|
|
|
duration: 10,
|
|
|
|
|
complete: function complete() {
|
|
|
|
|
if (status !== null) {
|
|
|
|
|
setTimeout(function () {
|
|
|
|
|
notify.addEventListener('transitionend', function () {
|
|
|
|
|
notifcation.style.display = 'none';
|
|
|
|
|
});
|
|
|
|
|
notify.classList.add('notify-close');
|
|
|
|
|
notify.classList.remove('notify-open');
|
|
|
|
|
}, 1000);
|
|
|
|
|
}
|
|
|
|
|
(0, _animeEs.default)({
|
|
|
|
|
targets: notify,
|
|
|
|
|
rotateX: '0',
|
|
|
|
|
easing: 'easeInOutQuint',
|
|
|
|
|
duration: 700
|
|
|
|
|
});
|
|
|
|
|
(0, _animeEs.default)({
|
|
|
|
|
targets: messageText,
|
|
|
|
|
backgroundColor: color,
|
|
|
|
|
easing: 'easeInOutQuint',
|
|
|
|
|
duration: 700,
|
|
|
|
|
complete: function complete() {
|
|
|
|
|
setTimeout(function () {
|
|
|
|
|
if (status !== null) {
|
|
|
|
|
(0, _animeEs.default)({
|
|
|
|
|
targets: notify,
|
|
|
|
|
rotateX: '-120',
|
|
|
|
|
easing: 'easeInOutQuint',
|
|
|
|
|
duration: 700,
|
|
|
|
|
complete: function complete() {
|
|
|
|
|
(0, _animeEs.default)({
|
|
|
|
|
targets: notifcation,
|
|
|
|
|
marginTop: '-55',
|
|
|
|
|
easing: 'easeInOutQuint',
|
|
|
|
|
delay: 700,
|
|
|
|
|
duration: 50
|
|
|
|
|
}); //notifcation.style.display = 'none';
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}, 1000);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
/*
|
|
|
|
|
anime({
|
|
|
|
|
targets: message,
|
|
|
|
|
marginTop: '-20px',
|
|
|
|
|
easing: 'easeInOutQuint',
|
|
|
|
|
duration: 500,
|
|
|
|
|
opacity: 1,
|
|
|
|
|
complete: () => {
|
|
|
|
|
setTimeout(() => {
|
|
|
|
|
anime({
|
|
|
|
|
targets: message,
|
|
|
|
|
marginTop: '-125px',
|
|
|
|
|
easing: 'easeOutQuint',
|
|
|
|
|
duration: 500,
|
|
|
|
|
opacity: 0,
|
|
|
|
|
complete: () => {
|
|
|
|
|
notifcation.style.display = 'none';
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}, 1000);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
*/
|
|
|
|
|
} //--------------------------
|
|
|
|
|
// event handlers
|
|
|
|
|
//--------------------------
|
|
|
|
@ -8576,7 +8574,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 + ':' + "57255" + '/');
|
|
|
|
|
var ws = new WebSocket(protocol + '://' + hostname + ':' + "57701" + '/');
|
|
|
|
|
|
|
|
|
|
ws.onmessage = function (event) {
|
|
|
|
|
checkedAssets = {};
|
|
|
|
|