Index: imaps-frontend/node_modules/konva/lib/Util.js
===================================================================
--- imaps-frontend/node_modules/konva/lib/Util.js	(revision d56544918790c0c3bc50f2f0a98c99f3d2988ccf)
+++ imaps-frontend/node_modules/konva/lib/Util.js	(revision 79a03170cdde4e801d12257ee86723774970427b)
@@ -28,5 +28,5 @@
     }
     point(point) {
-        var m = this.m;
+        const m = this.m;
         return {
             x: m[0] * point.x + m[2] * point.y + m[4],
@@ -47,10 +47,10 @@
     }
     rotate(rad) {
-        var c = Math.cos(rad);
-        var s = Math.sin(rad);
-        var m11 = this.m[0] * c + this.m[2] * s;
-        var m12 = this.m[1] * c + this.m[3] * s;
-        var m21 = this.m[0] * -s + this.m[2] * c;
-        var m22 = this.m[1] * -s + this.m[3] * c;
+        const c = Math.cos(rad);
+        const s = Math.sin(rad);
+        const m11 = this.m[0] * c + this.m[2] * s;
+        const m12 = this.m[1] * c + this.m[3] * s;
+        const m21 = this.m[0] * -s + this.m[2] * c;
+        const m22 = this.m[1] * -s + this.m[3] * c;
         this.m[0] = m11;
         this.m[1] = m12;
@@ -66,8 +66,8 @@
     }
     skew(sx, sy) {
-        var m11 = this.m[0] + this.m[2] * sy;
-        var m12 = this.m[1] + this.m[3] * sy;
-        var m21 = this.m[2] + this.m[0] * sx;
-        var m22 = this.m[3] + this.m[1] * sx;
+        const m11 = this.m[0] + this.m[2] * sy;
+        const m12 = this.m[1] + this.m[3] * sy;
+        const m21 = this.m[2] + this.m[0] * sx;
+        const m22 = this.m[3] + this.m[1] * sx;
         this.m[0] = m11;
         this.m[1] = m12;
@@ -77,10 +77,10 @@
     }
     multiply(matrix) {
-        var m11 = this.m[0] * matrix.m[0] + this.m[2] * matrix.m[1];
-        var m12 = this.m[1] * matrix.m[0] + this.m[3] * matrix.m[1];
-        var m21 = this.m[0] * matrix.m[2] + this.m[2] * matrix.m[3];
-        var m22 = this.m[1] * matrix.m[2] + this.m[3] * matrix.m[3];
-        var dx = this.m[0] * matrix.m[4] + this.m[2] * matrix.m[5] + this.m[4];
-        var dy = this.m[1] * matrix.m[4] + this.m[3] * matrix.m[5] + this.m[5];
+        const m11 = this.m[0] * matrix.m[0] + this.m[2] * matrix.m[1];
+        const m12 = this.m[1] * matrix.m[0] + this.m[3] * matrix.m[1];
+        const m21 = this.m[0] * matrix.m[2] + this.m[2] * matrix.m[3];
+        const m22 = this.m[1] * matrix.m[2] + this.m[3] * matrix.m[3];
+        const dx = this.m[0] * matrix.m[4] + this.m[2] * matrix.m[5] + this.m[4];
+        const dy = this.m[1] * matrix.m[4] + this.m[3] * matrix.m[5] + this.m[5];
         this.m[0] = m11;
         this.m[1] = m12;
@@ -92,11 +92,11 @@
     }
     invert() {
-        var d = 1 / (this.m[0] * this.m[3] - this.m[1] * this.m[2]);
-        var m0 = this.m[3] * d;
-        var m1 = -this.m[1] * d;
-        var m2 = -this.m[2] * d;
-        var m3 = this.m[0] * d;
-        var m4 = d * (this.m[2] * this.m[5] - this.m[3] * this.m[4]);
-        var m5 = d * (this.m[1] * this.m[4] - this.m[0] * this.m[5]);
+        const d = 1 / (this.m[0] * this.m[3] - this.m[1] * this.m[2]);
+        const m0 = this.m[3] * d;
+        const m1 = -this.m[1] * d;
+        const m2 = -this.m[2] * d;
+        const m3 = this.m[0] * d;
+        const m4 = d * (this.m[2] * this.m[5] - this.m[3] * this.m[4]);
+        const m5 = d * (this.m[1] * this.m[4] - this.m[0] * this.m[5]);
         this.m[0] = m0;
         this.m[1] = m1;
@@ -111,12 +111,12 @@
     }
     decompose() {
-        var a = this.m[0];
-        var b = this.m[1];
-        var c = this.m[2];
-        var d = this.m[3];
-        var e = this.m[4];
-        var f = this.m[5];
-        var delta = a * d - b * c;
-        let result = {
+        const a = this.m[0];
+        const b = this.m[1];
+        const c = this.m[2];
+        const d = this.m[3];
+        const e = this.m[4];
+        const f = this.m[5];
+        const delta = a * d - b * c;
+        const result = {
             x: e,
             y: f,
@@ -128,5 +128,5 @@
         };
         if (a != 0 || b != 0) {
-            var r = Math.sqrt(a * a + b * b);
+            const r = Math.sqrt(a * a + b * b);
             result.rotation = b > 0 ? Math.acos(a / r) : -Math.acos(a / r);
             result.scaleX = r;
@@ -136,5 +136,5 @@
         }
         else if (c != 0 || d != 0) {
-            var s = Math.sqrt(c * c + d * d);
+            const s = Math.sqrt(c * c + d * d);
             result.rotation =
                 Math.PI / 2 - (d > 0 ? Math.acos(-c / s) : -Math.acos(c / s));
@@ -151,5 +151,5 @@
 }
 exports.Transform = Transform;
-var OBJECT_ARRAY = '[object Array]', OBJECT_NUMBER = '[object Number]', OBJECT_STRING = '[object String]', OBJECT_BOOLEAN = '[object Boolean]', PI_OVER_DEG180 = Math.PI / 180, DEG180_OVER_PI = 180 / Math.PI, HASH = '#', EMPTY_STRING = '', ZERO = '0', KONVA_WARNING = 'Konva warning: ', KONVA_ERROR = 'Konva error: ', RGB_PAREN = 'rgb(', COLORS = {
+let OBJECT_ARRAY = '[object Array]', OBJECT_NUMBER = '[object Number]', OBJECT_STRING = '[object String]', OBJECT_BOOLEAN = '[object Boolean]', PI_OVER_DEG180 = Math.PI / 180, DEG180_OVER_PI = 180 / Math.PI, HASH = '#', EMPTY_STRING = '', ZERO = '0', KONVA_WARNING = 'Konva warning: ', KONVA_ERROR = 'Konva error: ', RGB_PAREN = 'rgb(', COLORS = {
     aliceblue: [240, 248, 255],
     antiquewhite: [250, 235, 215],
@@ -337,5 +337,5 @@
             return false;
         }
-        var firstChar = selector[0];
+        const firstChar = selector[0];
         return (firstChar === '#' ||
             firstChar === '.' ||
@@ -366,5 +366,5 @@
     },
     createCanvasElement() {
-        var canvas = document.createElement('canvas');
+        const canvas = document.createElement('canvas');
         try {
             canvas.style = canvas.style || {};
@@ -385,5 +385,5 @@
     },
     _urlToImage(url, callback) {
-        var imageObj = exports.Util.createImageElement();
+        const imageObj = exports.Util.createImageElement();
         imageObj.onload = function () {
             callback(imageObj);
@@ -396,5 +396,5 @@
     _hexToRgb(hex) {
         hex = hex.replace(HASH, EMPTY_STRING);
-        var bigint = parseInt(hex, 16);
+        const bigint = parseInt(hex, 16);
         return {
             r: (bigint >> 16) & 255,
@@ -404,5 +404,5 @@
     },
     getRandomColor() {
-        var randColor = ((Math.random() * 0xffffff) << 0).toString(16);
+        let randColor = ((Math.random() * 0xffffff) << 0).toString(16);
         while (randColor.length < 6) {
             randColor = ZERO + randColor;
@@ -411,5 +411,5 @@
     },
     getRGB(color) {
-        var rgb;
+        let rgb;
         if (color in COLORS) {
             rgb = COLORS[color];
@@ -451,5 +451,5 @@
     },
     _namedColorToRBA(str) {
-        var c = COLORS[str.toLowerCase()];
+        const c = COLORS[str.toLowerCase()];
         if (!c) {
             return null;
@@ -465,5 +465,5 @@
         if (str.indexOf('rgb(') === 0) {
             str = str.match(/rgb\(([^)]+)\)/)[1];
-            var parts = str.split(/ *, */).map(Number);
+            const parts = str.split(/ *, */).map(Number);
             return {
                 r: parts[0],
@@ -477,5 +477,5 @@
         if (str.indexOf('rgba(') === 0) {
             str = str.match(/rgba\(([^)]+)\)/)[1];
-            var parts = str.split(/ *, */).map((n, index) => {
+            const parts = str.split(/ *, */).map((n, index) => {
                 if (n.slice(-1) === '%') {
                     return index === 3 ? parseInt(n) / 100 : (parseInt(n) / 100) * 255;
@@ -594,6 +594,6 @@
     },
     cloneObject(obj) {
-        var retObj = {};
-        for (var key in obj) {
+        const retObj = {};
+        for (const key in obj) {
             if (this._isPlainObject(obj[key])) {
                 retObj[key] = this.cloneObject(obj[key]);
@@ -644,5 +644,5 @@
     },
     each(obj, func) {
-        for (var key in obj) {
+        for (const key in obj) {
             func(key, obj[key]);
         }
@@ -652,6 +652,6 @@
     },
     _getProjectionToSegment(x1, y1, x2, y2, x3, y3) {
-        var x, y, dist;
-        var pd2 = (x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2);
+        let x, y, dist;
+        const pd2 = (x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2);
         if (pd2 == 0) {
             x = x1;
@@ -660,5 +660,5 @@
         }
         else {
-            var u = ((x3 - x1) * (x2 - x1) + (y3 - y1) * (y2 - y1)) / pd2;
+            const u = ((x3 - x1) * (x2 - x1) + (y3 - y1) * (y2 - y1)) / pd2;
             if (u < 0) {
                 x = x1;
@@ -680,13 +680,13 @@
     },
     _getProjectionToLine(pt, line, isClosed) {
-        var pc = exports.Util.cloneObject(pt);
-        var dist = Number.MAX_VALUE;
+        const pc = exports.Util.cloneObject(pt);
+        let dist = Number.MAX_VALUE;
         line.forEach(function (p1, i) {
             if (!isClosed && i === line.length - 1) {
                 return;
             }
-            var p2 = line[(i + 1) % line.length];
-            var proj = exports.Util._getProjectionToSegment(p1.x, p1.y, p2.x, p2.y, pt.x, pt.y);
-            var px = proj[0], py = proj[1], pdist = proj[2];
+            const p2 = line[(i + 1) % line.length];
+            const proj = exports.Util._getProjectionToSegment(p1.x, p1.y, p2.x, p2.y, pt.x, pt.y);
+            const px = proj[0], py = proj[1], pdist = proj[2];
             if (pdist < dist) {
                 pc.x = px;
@@ -698,7 +698,7 @@
     },
     _prepareArrayForTween(startArray, endArray, isClosed) {
-        var n, start = [], end = [];
+        let n, start = [], end = [];
         if (startArray.length > endArray.length) {
-            var temp = endArray;
+            const temp = endArray;
             endArray = startArray;
             startArray = temp;
@@ -716,7 +716,7 @@
             });
         }
-        var newStart = [];
+        const newStart = [];
         end.forEach(function (point) {
-            var pr = exports.Util._getProjectionToLine(point, start, isClosed);
+            const pr = exports.Util._getProjectionToLine(point, start, isClosed);
             newStart.push(pr.x);
             newStart.push(pr.y);
@@ -725,7 +725,7 @@
     },
     _prepareToStringify(obj) {
-        var desc;
+        let desc;
         obj.visitedByCircularReferenceRemoval = true;
-        for (var key in obj) {
+        for (const key in obj) {
             if (!(obj.hasOwnProperty(key) && obj[key] && typeof obj[key] == 'object')) {
                 continue;
@@ -754,5 +754,5 @@
     },
     _assign(target, source) {
-        for (var key in source) {
+        for (const key in source) {
             target[key] = source[key];
         }
