From 7606f83cdb9852ef0f3950087f4c8ca088af32f0 Mon Sep 17 00:00:00 2001 From: Active Date: Tue, 27 Aug 2024 10:08:36 -0500 Subject: [PATCH] fix: hotfix for frames not having a parent by the time an API that uses it is called --- docs/ast/source/frame.mjs.json | 3821 ++++---- docs/ast/source/icon.mjs.json | 13311 +++++++++++++------------- docs/class/src/frame.mjs~Frame.html | 12 +- docs/class/src/icon.mjs~Icon.html | 22 +- docs/file/src/frame.mjs.html | 1 + docs/file/src/icon.mjs.html | 1 - docs/index.json | 154 +- docs/source.html | 12 +- package.json | 2 +- src/frame.mjs | 1 + src/icon.mjs | 1 - 11 files changed, 8669 insertions(+), 8669 deletions(-) diff --git a/docs/ast/source/frame.mjs.json b/docs/ast/source/frame.mjs.json index a4ba64c..3db65a4 100644 --- a/docs/ast/source/frame.mjs.json +++ b/docs/ast/source/frame.mjs.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 3588, + "end": 3624, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 126, + "line": 127, "column": 1 } }, "program": { "type": "Program", "start": 0, - "end": 3588, + "end": 3624, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 126, + "line": 127, "column": 1 } }, @@ -117,14 +117,14 @@ { "type": "ExportNamedDeclaration", "start": 36, - "end": 3588, + "end": 3624, "loc": { "start": { "line": 3, "column": 0 }, "end": { - "line": 126, + "line": 127, "column": 1 } }, @@ -133,14 +133,14 @@ "declaration": { "type": "ClassDeclaration", "start": 43, - "end": 3588, + "end": 3624, "loc": { "start": { "line": 3, "column": 7 }, "end": { - "line": 126, + "line": 127, "column": 1 } }, @@ -165,14 +165,14 @@ "body": { "type": "ClassBody", "start": 55, - "end": 3588, + "end": 3624, "loc": { "start": { "line": 3, "column": 19 }, "end": { - "line": 126, + "line": 127, "column": 1 } }, @@ -664,14 +664,14 @@ { "type": "ClassMethod", "start": 1041, - "end": 1156, + "end": 1192, "loc": { "start": { "line": 47, "column": 4 }, "end": { - "line": 50, + "line": 51, "column": 5 } }, @@ -739,14 +739,14 @@ "body": { "type": "BlockStatement", "start": 1078, - "end": 1156, + "end": 1192, "loc": { "start": { "line": 47, "column": 41 }, "end": { - "line": 50, + "line": 51, "column": 5 } }, @@ -883,7 +883,7 @@ { "type": "ExpressionStatement", "start": 1126, - "end": 1149, + "end": 1152, "loc": { "start": { "line": 49, @@ -891,13 +891,13 @@ }, "end": { "line": 49, - "column": 31 + "column": 34 } }, "expression": { - "type": "CallExpression", + "type": "AssignmentExpression", "start": 1126, - "end": 1148, + "end": 1151, "loc": { "start": { "line": 49, @@ -905,13 +905,14 @@ }, "end": { "line": 49, - "column": 30 + "column": 33 } }, - "callee": { + "operator": "=", + "left": { "type": "MemberExpression", "start": 1126, - "end": 1136, + "end": 1137, "loc": { "start": { "line": 49, @@ -919,7 +920,7 @@ }, "end": { "line": 49, - "column": 18 + "column": 19 } }, "object": { @@ -940,7 +941,7 @@ "property": { "type": "Identifier", "start": 1131, - "end": 1136, + "end": 1137, "loc": { "start": { "line": 49, @@ -948,6 +949,101 @@ }, "end": { "line": 49, + "column": 19 + }, + "identifierName": "parent" + }, + "name": "parent" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 1140, + "end": 1151, + "loc": { + "start": { + "line": 49, + "column": 22 + }, + "end": { + "line": 49, + "column": 33 + }, + "identifierName": "pParentIcon" + }, + "name": "pParentIcon" + } + } + }, + { + "type": "ExpressionStatement", + "start": 1162, + "end": 1185, + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 50, + "column": 31 + } + }, + "expression": { + "type": "CallExpression", + "start": 1162, + "end": 1184, + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 50, + "column": 30 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1162, + "end": 1172, + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 50, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 1162, + "end": 1166, + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 50, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 1167, + "end": 1172, + "loc": { + "start": { + "line": 50, + "column": 13 + }, + "end": { + "line": 50, "column": 18 }, "identifierName": "parse" @@ -959,15 +1055,15 @@ "arguments": [ { "type": "Identifier", - "start": 1137, - "end": 1147, + "start": 1173, + "end": 1183, "loc": { "start": { - "line": 49, + "line": 50, "column": 19 }, "end": { - "line": 49, + "line": 50, "column": 29 }, "identifierName": "pFrameData" @@ -1003,15 +1099,15 @@ { "type": "CommentBlock", "value": "*\r\n * parses through the icon data and adds data to this frame.\r\n * @param {Object} pFrameData - The frame data that is used to build this frame.\r\n * @private\r\n ", - "start": 1162, - "end": 1343, + "start": 1198, + "end": 1379, "loc": { "start": { - "line": 51, + "line": 52, "column": 4 }, "end": { - "line": 55, + "line": 56, "column": 7 } } @@ -1020,15 +1116,15 @@ }, { "type": "ClassMethod", - "start": 1349, - "end": 1684, + "start": 1385, + "end": 1720, "loc": { "start": { - "line": 56, + "line": 57, "column": 4 }, "end": { - "line": 64, + "line": 65, "column": 5 } }, @@ -1036,15 +1132,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1349, - "end": 1354, + "start": 1385, + "end": 1390, "loc": { "start": { - "line": 56, + "line": 57, "column": 4 }, "end": { - "line": 56, + "line": 57, "column": 9 }, "identifierName": "parse" @@ -1060,15 +1156,15 @@ "params": [ { "type": "Identifier", - "start": 1355, - "end": 1365, + "start": 1391, + "end": 1401, "loc": { "start": { - "line": 56, + "line": 57, "column": 10 }, "end": { - "line": 56, + "line": 57, "column": 20 }, "identifierName": "pFrameData" @@ -1078,59 +1174,59 @@ ], "body": { "type": "BlockStatement", - "start": 1367, - "end": 1684, + "start": 1403, + "end": 1720, "loc": { "start": { - "line": 56, + "line": 57, "column": 22 }, "end": { - "line": 64, + "line": 65, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 1431, - "end": 1461, + "start": 1467, + "end": 1497, "loc": { "start": { - "line": 58, + "line": 59, "column": 8 }, "end": { - "line": 58, + "line": 59, "column": 38 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1437, - "end": 1460, + "start": 1473, + "end": 1496, "loc": { "start": { - "line": 58, + "line": 59, "column": 14 }, "end": { - "line": 58, + "line": 59, "column": 37 } }, "id": { "type": "Identifier", - "start": 1437, - "end": 1444, + "start": 1473, + "end": 1480, "loc": { "start": { - "line": 58, + "line": 59, "column": 14 }, "end": { - "line": 58, + "line": 59, "column": 21 }, "identifierName": "dataURL" @@ -1140,29 +1236,29 @@ }, "init": { "type": "MemberExpression", - "start": 1447, - "end": 1460, + "start": 1483, + "end": 1496, "loc": { "start": { - "line": 58, + "line": 59, "column": 24 }, "end": { - "line": 58, + "line": 59, "column": 37 } }, "object": { "type": "Identifier", - "start": 1447, - "end": 1457, + "start": 1483, + "end": 1493, "loc": { "start": { - "line": 58, + "line": 59, "column": 24 }, "end": { - "line": 58, + "line": 59, "column": 34 }, "identifierName": "pFrameData" @@ -1171,15 +1267,15 @@ }, "property": { "type": "NumericLiteral", - "start": 1458, - "end": 1459, + "start": 1494, + "end": 1495, "loc": { "start": { - "line": 58, + "line": 59, "column": 35 }, "end": { - "line": 58, + "line": 59, "column": 36 } }, @@ -1199,15 +1295,15 @@ { "type": "CommentLine", "value": " Loop through frame data and build frame.", - "start": 1378, - "end": 1421, + "start": 1414, + "end": 1457, "loc": { "start": { - "line": 57, + "line": 58, "column": 8 }, "end": { - "line": 57, + "line": 58, "column": 51 } } @@ -1216,44 +1312,44 @@ }, { "type": "VariableDeclaration", - "start": 1471, - "end": 1545, + "start": 1507, + "end": 1581, "loc": { "start": { - "line": 59, + "line": 60, "column": 8 }, "end": { - "line": 59, + "line": 60, "column": 82 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1477, - "end": 1544, + "start": 1513, + "end": 1580, "loc": { "start": { - "line": 59, + "line": 60, "column": 14 }, "end": { - "line": 59, + "line": 60, "column": 81 } }, "id": { "type": "Identifier", - "start": 1477, - "end": 1487, + "start": 1513, + "end": 1523, "loc": { "start": { - "line": 59, + "line": 60, "column": 14 }, "end": { - "line": 59, + "line": 60, "column": 24 }, "identifierName": "frameDelay" @@ -1262,43 +1358,43 @@ }, "init": { "type": "ConditionalExpression", - "start": 1490, - "end": 1544, + "start": 1526, + "end": 1580, "loc": { "start": { - "line": 59, + "line": 60, "column": 27 }, "end": { - "line": 59, + "line": 60, "column": 81 } }, "test": { "type": "MemberExpression", - "start": 1490, - "end": 1503, + "start": 1526, + "end": 1539, "loc": { "start": { - "line": 59, + "line": 60, "column": 27 }, "end": { - "line": 59, + "line": 60, "column": 40 } }, "object": { "type": "Identifier", - "start": 1490, - "end": 1500, + "start": 1526, + "end": 1536, "loc": { "start": { - "line": 59, + "line": 60, "column": 27 }, "end": { - "line": 59, + "line": 60, "column": 37 }, "identifierName": "pFrameData" @@ -1307,15 +1403,15 @@ }, "property": { "type": "NumericLiteral", - "start": 1501, - "end": 1502, + "start": 1537, + "end": 1538, "loc": { "start": { - "line": 59, + "line": 60, "column": 38 }, "end": { - "line": 59, + "line": 60, "column": 39 } }, @@ -1329,29 +1425,29 @@ }, "consequent": { "type": "MemberExpression", - "start": 1506, - "end": 1519, + "start": 1542, + "end": 1555, "loc": { "start": { - "line": 59, + "line": 60, "column": 43 }, "end": { - "line": 59, + "line": 60, "column": 56 } }, "object": { "type": "Identifier", - "start": 1506, - "end": 1516, + "start": 1542, + "end": 1552, "loc": { "start": { - "line": 59, + "line": 60, "column": 43 }, "end": { - "line": 59, + "line": 60, "column": 53 }, "identifierName": "pFrameData" @@ -1360,15 +1456,15 @@ }, "property": { "type": "NumericLiteral", - "start": 1517, - "end": 1518, + "start": 1553, + "end": 1554, "loc": { "start": { - "line": 59, + "line": 60, "column": 54 }, "end": { - "line": 59, + "line": 60, "column": 55 } }, @@ -1382,72 +1478,72 @@ }, "alternate": { "type": "CallExpression", - "start": 1522, - "end": 1544, + "start": 1558, + "end": 1580, "loc": { "start": { - "line": 59, + "line": 60, "column": 59 }, "end": { - "line": 59, + "line": 60, "column": 81 } }, "callee": { "type": "MemberExpression", - "start": 1522, - "end": 1542, + "start": 1558, + "end": 1578, "loc": { "start": { - "line": 59, + "line": 60, "column": 59 }, "end": { - "line": 59, + "line": 60, "column": 79 } }, "object": { "type": "MemberExpression", - "start": 1522, - "end": 1533, + "start": 1558, + "end": 1569, "loc": { "start": { - "line": 59, + "line": 60, "column": 59 }, "end": { - "line": 59, + "line": 60, "column": 70 } }, "object": { "type": "ThisExpression", - "start": 1522, - "end": 1526, + "start": 1558, + "end": 1562, "loc": { "start": { - "line": 59, + "line": 60, "column": 59 }, "end": { - "line": 59, + "line": 60, "column": 63 } } }, "property": { "type": "Identifier", - "start": 1527, - "end": 1533, + "start": 1563, + "end": 1569, "loc": { "start": { - "line": 59, + "line": 60, "column": 64 }, "end": { - "line": 59, + "line": 60, "column": 70 }, "identifierName": "parent" @@ -1458,15 +1554,15 @@ }, "property": { "type": "Identifier", - "start": 1534, - "end": 1542, + "start": 1570, + "end": 1578, "loc": { "start": { - "line": 59, + "line": 60, "column": 71 }, "end": { - "line": 59, + "line": 60, "column": 79 }, "identifierName": "getDelay" @@ -1485,15 +1581,15 @@ { "type": "CommentLine", "value": " Set the data url", - "start": 1555, - "end": 1574, + "start": 1591, + "end": 1610, "loc": { "start": { - "line": 60, + "line": 61, "column": 8 }, "end": { - "line": 60, + "line": 61, "column": 27 } } @@ -1502,57 +1598,57 @@ }, { "type": "ExpressionStatement", - "start": 1584, - "end": 1609, + "start": 1620, + "end": 1645, "loc": { "start": { - "line": 61, + "line": 62, "column": 8 }, "end": { - "line": 61, + "line": 62, "column": 33 } }, "expression": { "type": "CallExpression", - "start": 1584, - "end": 1608, + "start": 1620, + "end": 1644, "loc": { "start": { - "line": 61, + "line": 62, "column": 8 }, "end": { - "line": 61, + "line": 62, "column": 32 } }, "callee": { "type": "MemberExpression", - "start": 1584, - "end": 1599, + "start": 1620, + "end": 1635, "loc": { "start": { - "line": 61, + "line": 62, "column": 8 }, "end": { - "line": 61, + "line": 62, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 1584, - "end": 1588, + "start": 1620, + "end": 1624, "loc": { "start": { - "line": 61, + "line": 62, "column": 8 }, "end": { - "line": 61, + "line": 62, "column": 12 } }, @@ -1560,15 +1656,15 @@ }, "property": { "type": "Identifier", - "start": 1589, - "end": 1599, + "start": 1625, + "end": 1635, "loc": { "start": { - "line": 61, + "line": 62, "column": 13 }, "end": { - "line": 61, + "line": 62, "column": 23 }, "identifierName": "setDataURL" @@ -1581,15 +1677,15 @@ "arguments": [ { "type": "Identifier", - "start": 1600, - "end": 1607, + "start": 1636, + "end": 1643, "loc": { "start": { - "line": 61, + "line": 62, "column": 24 }, "end": { - "line": 61, + "line": 62, "column": 31 }, "identifierName": "dataURL" @@ -1603,15 +1699,15 @@ { "type": "CommentLine", "value": " Set the data url", - "start": 1555, - "end": 1574, + "start": 1591, + "end": 1610, "loc": { "start": { - "line": 60, + "line": 61, "column": 8 }, "end": { - "line": 60, + "line": 61, "column": 27 } } @@ -1621,15 +1717,15 @@ { "type": "CommentLine", "value": " Set the frame delay", - "start": 1619, - "end": 1641, + "start": 1655, + "end": 1677, "loc": { "start": { - "line": 62, + "line": 63, "column": 8 }, "end": { - "line": 62, + "line": 63, "column": 30 } } @@ -1638,57 +1734,57 @@ }, { "type": "ExpressionStatement", - "start": 1651, - "end": 1677, + "start": 1687, + "end": 1713, "loc": { "start": { - "line": 63, + "line": 64, "column": 8 }, "end": { - "line": 63, + "line": 64, "column": 34 } }, "expression": { "type": "CallExpression", - "start": 1651, - "end": 1676, + "start": 1687, + "end": 1712, "loc": { "start": { - "line": 63, + "line": 64, "column": 8 }, "end": { - "line": 63, + "line": 64, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 1651, - "end": 1664, + "start": 1687, + "end": 1700, "loc": { "start": { - "line": 63, + "line": 64, "column": 8 }, "end": { - "line": 63, + "line": 64, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 1651, - "end": 1655, + "start": 1687, + "end": 1691, "loc": { "start": { - "line": 63, + "line": 64, "column": 8 }, "end": { - "line": 63, + "line": 64, "column": 12 } }, @@ -1696,15 +1792,15 @@ }, "property": { "type": "Identifier", - "start": 1656, - "end": 1664, + "start": 1692, + "end": 1700, "loc": { "start": { - "line": 63, + "line": 64, "column": 13 }, "end": { - "line": 63, + "line": 64, "column": 21 }, "identifierName": "setDelay" @@ -1717,15 +1813,15 @@ "arguments": [ { "type": "Identifier", - "start": 1665, - "end": 1675, + "start": 1701, + "end": 1711, "loc": { "start": { - "line": 63, + "line": 64, "column": 22 }, "end": { - "line": 63, + "line": 64, "column": 32 }, "identifierName": "frameDelay" @@ -1739,15 +1835,15 @@ { "type": "CommentLine", "value": " Set the frame delay", - "start": 1619, - "end": 1641, + "start": 1655, + "end": 1677, "loc": { "start": { - "line": 62, + "line": 63, "column": 8 }, "end": { - "line": 62, + "line": 63, "column": 30 } } @@ -1762,15 +1858,15 @@ { "type": "CommentBlock", "value": "*\r\n * parses through the icon data and adds data to this frame.\r\n * @param {Object} pFrameData - The frame data that is used to build this frame.\r\n * @private\r\n ", - "start": 1162, - "end": 1343, + "start": 1198, + "end": 1379, "loc": { "start": { - "line": 51, + "line": 52, "column": 4 }, "end": { - "line": 55, + "line": 56, "column": 7 } } @@ -1780,15 +1876,15 @@ { "type": "CommentBlock", "value": "*\r\n * Sets the delay of this frame in ms.\r\n * @param {number} pDelay - The delay in ms to set this frame to.\r\n * @returns {self} This frame instance.\r\n ", - "start": 1690, - "end": 1862, + "start": 1726, + "end": 1898, "loc": { "start": { - "line": 65, + "line": 66, "column": 4 }, "end": { - "line": 69, + "line": 70, "column": 7 } } @@ -1797,15 +1893,15 @@ }, { "type": "ClassMethod", - "start": 1868, - "end": 2151, + "start": 1904, + "end": 2187, "loc": { "start": { - "line": 70, + "line": 71, "column": 4 }, "end": { - "line": 79, + "line": 80, "column": 5 } }, @@ -1813,15 +1909,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1868, - "end": 1876, + "start": 1904, + "end": 1912, "loc": { "start": { - "line": 70, + "line": 71, "column": 4 }, "end": { - "line": 70, + "line": 71, "column": 12 }, "identifierName": "setDelay" @@ -1837,15 +1933,15 @@ "params": [ { "type": "Identifier", - "start": 1877, - "end": 1883, + "start": 1913, + "end": 1919, "loc": { "start": { - "line": 70, + "line": 71, "column": 13 }, "end": { - "line": 70, + "line": 71, "column": 19 }, "identifierName": "pDelay" @@ -1855,44 +1951,44 @@ ], "body": { "type": "BlockStatement", - "start": 1885, - "end": 2151, + "start": 1921, + "end": 2187, "loc": { "start": { - "line": 70, + "line": 71, "column": 21 }, "end": { - "line": 79, + "line": 80, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 1896, - "end": 2122, + "start": 1932, + "end": 2158, "loc": { "start": { - "line": 71, + "line": 72, "column": 8 }, "end": { - "line": 77, + "line": 78, "column": 9 } }, "test": { "type": "Identifier", - "start": 1900, - "end": 1906, + "start": 1936, + "end": 1942, "loc": { "start": { - "line": 71, + "line": 72, "column": 12 }, "end": { - "line": 71, + "line": 72, "column": 18 }, "identifierName": "pDelay" @@ -1901,58 +1997,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 1908, - "end": 2122, + "start": 1944, + "end": 2158, "loc": { "start": { - "line": 71, + "line": 72, "column": 20 }, "end": { - "line": 77, + "line": 78, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 1923, - "end": 2111, + "start": 1959, + "end": 2147, "loc": { "start": { - "line": 72, + "line": 73, "column": 12 }, "end": { - "line": 76, + "line": 77, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 1927, - "end": 1954, + "start": 1963, + "end": 1990, "loc": { "start": { - "line": 72, + "line": 73, "column": 16 }, "end": { - "line": 72, + "line": 73, "column": 43 } }, "left": { "type": "UnaryExpression", - "start": 1927, - "end": 1941, + "start": 1963, + "end": 1977, "loc": { "start": { - "line": 72, + "line": 73, "column": 16 }, "end": { - "line": 72, + "line": 73, "column": 30 } }, @@ -1960,15 +2056,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 1934, - "end": 1940, + "start": 1970, + "end": 1976, "loc": { "start": { - "line": 72, + "line": 73, "column": 23 }, "end": { - "line": 72, + "line": 73, "column": 29 }, "identifierName": "pDelay" @@ -1976,7 +2072,7 @@ "name": "pDelay", "extra": { "parenthesized": true, - "parenStart": 1933 + "parenStart": 1969 } }, "extra": { @@ -1986,15 +2082,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 1946, - "end": 1954, + "start": 1982, + "end": 1990, "loc": { "start": { - "line": 72, + "line": 73, "column": 35 }, "end": { - "line": 72, + "line": 73, "column": 43 } }, @@ -2007,88 +2103,88 @@ }, "consequent": { "type": "BlockStatement", - "start": 1956, - "end": 2010, + "start": 1992, + "end": 2046, "loc": { "start": { - "line": 72, + "line": 73, "column": 45 }, "end": { - "line": 74, + "line": 75, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 1975, - "end": 1995, + "start": 2011, + "end": 2031, "loc": { "start": { - "line": 73, + "line": 74, "column": 16 }, "end": { - "line": 73, + "line": 74, "column": 36 } }, "expression": { "type": "AssignmentExpression", - "start": 1975, - "end": 1994, + "start": 2011, + "end": 2030, "loc": { "start": { - "line": 73, + "line": 74, "column": 16 }, "end": { - "line": 73, + "line": 74, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1975, - "end": 1985, + "start": 2011, + "end": 2021, "loc": { "start": { - "line": 73, + "line": 74, "column": 16 }, "end": { - "line": 73, + "line": 74, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 1975, - "end": 1979, + "start": 2011, + "end": 2015, "loc": { "start": { - "line": 73, + "line": 74, "column": 16 }, "end": { - "line": 73, + "line": 74, "column": 20 } } }, "property": { "type": "Identifier", - "start": 1980, - "end": 1985, + "start": 2016, + "end": 2021, "loc": { "start": { - "line": 73, + "line": 74, "column": 21 }, "end": { - "line": 73, + "line": 74, "column": 26 }, "identifierName": "delay" @@ -2099,15 +2195,15 @@ }, "right": { "type": "Identifier", - "start": 1988, - "end": 1994, + "start": 2024, + "end": 2030, "loc": { "start": { - "line": 73, + "line": 74, "column": 29 }, "end": { - "line": 73, + "line": 74, "column": 35 }, "identifierName": "pDelay" @@ -2121,114 +2217,114 @@ }, "alternate": { "type": "BlockStatement", - "start": 2016, - "end": 2111, + "start": 2052, + "end": 2147, "loc": { "start": { - "line": 74, + "line": 75, "column": 19 }, "end": { - "line": 76, + "line": 77, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 2035, - "end": 2096, + "start": 2071, + "end": 2132, "loc": { "start": { - "line": 75, + "line": 76, "column": 16 }, "end": { - "line": 75, + "line": 76, "column": 77 } }, "expression": { "type": "CallExpression", - "start": 2035, - "end": 2095, + "start": 2071, + "end": 2131, "loc": { "start": { - "line": 75, + "line": 76, "column": 16 }, "end": { - "line": 75, + "line": 76, "column": 76 } }, "callee": { "type": "MemberExpression", - "start": 2035, - "end": 2072, + "start": 2071, + "end": 2108, "loc": { "start": { - "line": 75, + "line": 76, "column": 16 }, "end": { - "line": 75, + "line": 76, "column": 53 } }, "object": { "type": "CallExpression", - "start": 2035, - "end": 2066, + "start": 2071, + "end": 2102, "loc": { "start": { - "line": 75, + "line": 76, "column": 16 }, "end": { - "line": 75, + "line": 76, "column": 47 } }, "callee": { "type": "MemberExpression", - "start": 2035, - "end": 2052, + "start": 2071, + "end": 2088, "loc": { "start": { - "line": 75, + "line": 76, "column": 16 }, "end": { - "line": 75, + "line": 76, "column": 33 } }, "object": { "type": "MemberExpression", - "start": 2035, - "end": 2045, + "start": 2071, + "end": 2081, "loc": { "start": { - "line": 75, + "line": 76, "column": 16 }, "end": { - "line": 75, + "line": 76, "column": 26 } }, "object": { "type": "Identifier", - "start": 2035, - "end": 2038, + "start": 2071, + "end": 2074, "loc": { "start": { - "line": 75, + "line": 76, "column": 16 }, "end": { - "line": 75, + "line": 76, "column": 19 }, "identifierName": "VYI" @@ -2237,15 +2333,15 @@ }, "property": { "type": "Identifier", - "start": 2039, - "end": 2045, + "start": 2075, + "end": 2081, "loc": { "start": { - "line": 75, + "line": 76, "column": 20 }, "end": { - "line": 75, + "line": 76, "column": 26 }, "identifierName": "logger" @@ -2256,15 +2352,15 @@ }, "property": { "type": "Identifier", - "start": 2046, - "end": 2052, + "start": 2082, + "end": 2088, "loc": { "start": { - "line": 75, + "line": 76, "column": 27 }, "end": { - "line": 75, + "line": 76, "column": 33 }, "identifierName": "prefix" @@ -2276,15 +2372,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 2053, - "end": 2065, + "start": 2089, + "end": 2101, "loc": { "start": { - "line": 75, + "line": 76, "column": 34 }, "end": { - "line": 75, + "line": 76, "column": 46 } }, @@ -2298,15 +2394,15 @@ }, "property": { "type": "Identifier", - "start": 2067, - "end": 2072, + "start": 2103, + "end": 2108, "loc": { "start": { - "line": 75, + "line": 76, "column": 48 }, "end": { - "line": 75, + "line": 76, "column": 53 }, "identifierName": "error" @@ -2318,15 +2414,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 2073, - "end": 2094, + "start": 2109, + "end": 2130, "loc": { "start": { - "line": 75, + "line": 76, "column": 54 }, "end": { - "line": 75, + "line": 76, "column": 75 } }, @@ -2350,29 +2446,29 @@ }, { "type": "ReturnStatement", - "start": 2132, - "end": 2144, + "start": 2168, + "end": 2180, "loc": { "start": { - "line": 78, + "line": 79, "column": 8 }, "end": { - "line": 78, + "line": 79, "column": 20 } }, "argument": { "type": "ThisExpression", - "start": 2139, - "end": 2143, + "start": 2175, + "end": 2179, "loc": { "start": { - "line": 78, + "line": 79, "column": 15 }, "end": { - "line": 78, + "line": 79, "column": 19 } } @@ -2386,15 +2482,15 @@ { "type": "CommentBlock", "value": "*\r\n * Sets the delay of this frame in ms.\r\n * @param {number} pDelay - The delay in ms to set this frame to.\r\n * @returns {self} This frame instance.\r\n ", - "start": 1690, - "end": 1862, + "start": 1726, + "end": 1898, "loc": { "start": { - "line": 65, + "line": 66, "column": 4 }, "end": { - "line": 69, + "line": 70, "column": 7 } } @@ -2404,15 +2500,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the delay of this frame.\r\n * @returns {number} The delay of this frame.\r\n ", - "start": 2157, - "end": 2258, + "start": 2193, + "end": 2294, "loc": { "start": { - "line": 80, + "line": 81, "column": 4 }, "end": { - "line": 83, + "line": 84, "column": 7 } } @@ -2421,15 +2517,15 @@ }, { "type": "ClassMethod", - "start": 2264, - "end": 2311, + "start": 2300, + "end": 2347, "loc": { "start": { - "line": 84, + "line": 85, "column": 4 }, "end": { - "line": 86, + "line": 87, "column": 5 } }, @@ -2437,15 +2533,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2264, - "end": 2272, + "start": 2300, + "end": 2308, "loc": { "start": { - "line": 84, + "line": 85, "column": 4 }, "end": { - "line": 84, + "line": 85, "column": 12 }, "identifierName": "getDelay" @@ -2461,73 +2557,73 @@ "params": [], "body": { "type": "BlockStatement", - "start": 2275, - "end": 2311, + "start": 2311, + "end": 2347, "loc": { "start": { - "line": 84, + "line": 85, "column": 15 }, "end": { - "line": 86, + "line": 87, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 2286, - "end": 2304, + "start": 2322, + "end": 2340, "loc": { "start": { - "line": 85, + "line": 86, "column": 8 }, "end": { - "line": 85, + "line": 86, "column": 26 } }, "argument": { "type": "MemberExpression", - "start": 2293, - "end": 2303, + "start": 2329, + "end": 2339, "loc": { "start": { - "line": 85, + "line": 86, "column": 15 }, "end": { - "line": 85, + "line": 86, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 2293, - "end": 2297, + "start": 2329, + "end": 2333, "loc": { "start": { - "line": 85, + "line": 86, "column": 15 }, "end": { - "line": 85, + "line": 86, "column": 19 } } }, "property": { "type": "Identifier", - "start": 2298, - "end": 2303, + "start": 2334, + "end": 2339, "loc": { "start": { - "line": 85, + "line": 86, "column": 20 }, "end": { - "line": 85, + "line": 86, "column": 25 }, "identifierName": "delay" @@ -2545,15 +2641,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the delay of this frame.\r\n * @returns {number} The delay of this frame.\r\n ", - "start": 2157, - "end": 2258, + "start": 2193, + "end": 2294, "loc": { "start": { - "line": 80, + "line": 81, "column": 4 }, "end": { - "line": 83, + "line": 84, "column": 7 } } @@ -2563,15 +2659,15 @@ { "type": "CommentBlock", "value": "*\r\n * Sets the data url of this frame.\r\n * @param {DataURL} pDataURL - The base64 data of this image.\r\n * @returns {self} This frame instance.\r\n ", - "start": 2317, - "end": 2482, + "start": 2353, + "end": 2518, "loc": { "start": { - "line": 87, + "line": 88, "column": 4 }, "end": { - "line": 91, + "line": 92, "column": 7 } } @@ -2580,15 +2676,15 @@ }, { "type": "ClassMethod", - "start": 2488, - "end": 2786, + "start": 2524, + "end": 2822, "loc": { "start": { - "line": 92, + "line": 93, "column": 4 }, "end": { - "line": 101, + "line": 102, "column": 5 } }, @@ -2596,15 +2692,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2488, - "end": 2498, + "start": 2524, + "end": 2534, "loc": { "start": { - "line": 92, + "line": 93, "column": 4 }, "end": { - "line": 92, + "line": 93, "column": 14 }, "identifierName": "setDataURL" @@ -2620,15 +2716,15 @@ "params": [ { "type": "Identifier", - "start": 2499, - "end": 2507, + "start": 2535, + "end": 2543, "loc": { "start": { - "line": 92, + "line": 93, "column": 15 }, "end": { - "line": 92, + "line": 93, "column": 23 }, "identifierName": "pDataURL" @@ -2638,44 +2734,44 @@ ], "body": { "type": "BlockStatement", - "start": 2509, - "end": 2786, + "start": 2545, + "end": 2822, "loc": { "start": { - "line": 92, + "line": 93, "column": 25 }, "end": { - "line": 101, + "line": 102, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 2520, - "end": 2757, + "start": 2556, + "end": 2793, "loc": { "start": { - "line": 93, + "line": 94, "column": 8 }, "end": { - "line": 99, + "line": 100, "column": 9 } }, "test": { "type": "Identifier", - "start": 2524, - "end": 2532, + "start": 2560, + "end": 2568, "loc": { "start": { - "line": 93, + "line": 94, "column": 12 }, "end": { - "line": 93, + "line": 94, "column": 20 }, "identifierName": "pDataURL" @@ -2684,58 +2780,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 2534, - "end": 2757, + "start": 2570, + "end": 2793, "loc": { "start": { - "line": 93, + "line": 94, "column": 22 }, "end": { - "line": 99, + "line": 100, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 2549, - "end": 2746, + "start": 2585, + "end": 2782, "loc": { "start": { - "line": 94, + "line": 95, "column": 12 }, "end": { - "line": 98, + "line": 99, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 2553, - "end": 2582, + "start": 2589, + "end": 2618, "loc": { "start": { - "line": 94, + "line": 95, "column": 16 }, "end": { - "line": 94, + "line": 95, "column": 45 } }, "left": { "type": "UnaryExpression", - "start": 2553, - "end": 2569, + "start": 2589, + "end": 2605, "loc": { "start": { - "line": 94, + "line": 95, "column": 16 }, "end": { - "line": 94, + "line": 95, "column": 32 } }, @@ -2743,15 +2839,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 2560, - "end": 2568, + "start": 2596, + "end": 2604, "loc": { "start": { - "line": 94, + "line": 95, "column": 23 }, "end": { - "line": 94, + "line": 95, "column": 31 }, "identifierName": "pDataURL" @@ -2759,7 +2855,7 @@ "name": "pDataURL", "extra": { "parenthesized": true, - "parenStart": 2559 + "parenStart": 2595 } }, "extra": { @@ -2769,15 +2865,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 2574, - "end": 2582, + "start": 2610, + "end": 2618, "loc": { "start": { - "line": 94, + "line": 95, "column": 37 }, "end": { - "line": 94, + "line": 95, "column": 45 } }, @@ -2790,88 +2886,88 @@ }, "consequent": { "type": "BlockStatement", - "start": 2584, - "end": 2642, + "start": 2620, + "end": 2678, "loc": { "start": { - "line": 94, + "line": 95, "column": 47 }, "end": { - "line": 96, + "line": 97, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 2603, - "end": 2627, + "start": 2639, + "end": 2663, "loc": { "start": { - "line": 95, + "line": 96, "column": 16 }, "end": { - "line": 95, + "line": 96, "column": 40 } }, "expression": { "type": "AssignmentExpression", - "start": 2603, - "end": 2626, + "start": 2639, + "end": 2662, "loc": { "start": { - "line": 95, + "line": 96, "column": 16 }, "end": { - "line": 95, + "line": 96, "column": 39 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 2603, - "end": 2615, + "start": 2639, + "end": 2651, "loc": { "start": { - "line": 95, + "line": 96, "column": 16 }, "end": { - "line": 95, + "line": 96, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 2603, - "end": 2607, + "start": 2639, + "end": 2643, "loc": { "start": { - "line": 95, + "line": 96, "column": 16 }, "end": { - "line": 95, + "line": 96, "column": 20 } } }, "property": { "type": "Identifier", - "start": 2608, - "end": 2615, + "start": 2644, + "end": 2651, "loc": { "start": { - "line": 95, + "line": 96, "column": 21 }, "end": { - "line": 95, + "line": 96, "column": 28 }, "identifierName": "dataURL" @@ -2882,15 +2978,15 @@ }, "right": { "type": "Identifier", - "start": 2618, - "end": 2626, + "start": 2654, + "end": 2662, "loc": { "start": { - "line": 95, + "line": 96, "column": 31 }, "end": { - "line": 95, + "line": 96, "column": 39 }, "identifierName": "pDataURL" @@ -2904,114 +3000,114 @@ }, "alternate": { "type": "BlockStatement", - "start": 2648, - "end": 2746, + "start": 2684, + "end": 2782, "loc": { "start": { - "line": 96, + "line": 97, "column": 19 }, "end": { - "line": 98, + "line": 99, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 2667, - "end": 2731, + "start": 2703, + "end": 2767, "loc": { "start": { - "line": 97, + "line": 98, "column": 16 }, "end": { - "line": 97, + "line": 98, "column": 80 } }, "expression": { "type": "CallExpression", - "start": 2667, - "end": 2730, + "start": 2703, + "end": 2766, "loc": { "start": { - "line": 97, + "line": 98, "column": 16 }, "end": { - "line": 97, + "line": 98, "column": 79 } }, "callee": { "type": "MemberExpression", - "start": 2667, - "end": 2704, + "start": 2703, + "end": 2740, "loc": { "start": { - "line": 97, + "line": 98, "column": 16 }, "end": { - "line": 97, + "line": 98, "column": 53 } }, "object": { "type": "CallExpression", - "start": 2667, - "end": 2698, + "start": 2703, + "end": 2734, "loc": { "start": { - "line": 97, + "line": 98, "column": 16 }, "end": { - "line": 97, + "line": 98, "column": 47 } }, "callee": { "type": "MemberExpression", - "start": 2667, - "end": 2684, + "start": 2703, + "end": 2720, "loc": { "start": { - "line": 97, + "line": 98, "column": 16 }, "end": { - "line": 97, + "line": 98, "column": 33 } }, "object": { "type": "MemberExpression", - "start": 2667, - "end": 2677, + "start": 2703, + "end": 2713, "loc": { "start": { - "line": 97, + "line": 98, "column": 16 }, "end": { - "line": 97, + "line": 98, "column": 26 } }, "object": { "type": "Identifier", - "start": 2667, - "end": 2670, + "start": 2703, + "end": 2706, "loc": { "start": { - "line": 97, + "line": 98, "column": 16 }, "end": { - "line": 97, + "line": 98, "column": 19 }, "identifierName": "VYI" @@ -3020,15 +3116,15 @@ }, "property": { "type": "Identifier", - "start": 2671, - "end": 2677, + "start": 2707, + "end": 2713, "loc": { "start": { - "line": 97, + "line": 98, "column": 20 }, "end": { - "line": 97, + "line": 98, "column": 26 }, "identifierName": "logger" @@ -3039,15 +3135,15 @@ }, "property": { "type": "Identifier", - "start": 2678, - "end": 2684, + "start": 2714, + "end": 2720, "loc": { "start": { - "line": 97, + "line": 98, "column": 27 }, "end": { - "line": 97, + "line": 98, "column": 33 }, "identifierName": "prefix" @@ -3059,15 +3155,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 2685, - "end": 2697, + "start": 2721, + "end": 2733, "loc": { "start": { - "line": 97, + "line": 98, "column": 34 }, "end": { - "line": 97, + "line": 98, "column": 46 } }, @@ -3081,15 +3177,15 @@ }, "property": { "type": "Identifier", - "start": 2699, - "end": 2704, + "start": 2735, + "end": 2740, "loc": { "start": { - "line": 97, + "line": 98, "column": 48 }, "end": { - "line": 97, + "line": 98, "column": 53 }, "identifierName": "error" @@ -3101,15 +3197,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 2705, - "end": 2729, + "start": 2741, + "end": 2765, "loc": { "start": { - "line": 97, + "line": 98, "column": 54 }, "end": { - "line": 97, + "line": 98, "column": 78 } }, @@ -3133,29 +3229,29 @@ }, { "type": "ReturnStatement", - "start": 2767, - "end": 2779, + "start": 2803, + "end": 2815, "loc": { "start": { - "line": 100, + "line": 101, "column": 8 }, "end": { - "line": 100, + "line": 101, "column": 20 } }, "argument": { "type": "ThisExpression", - "start": 2774, - "end": 2778, + "start": 2810, + "end": 2814, "loc": { "start": { - "line": 100, + "line": 101, "column": 15 }, "end": { - "line": 100, + "line": 101, "column": 19 } } @@ -3169,15 +3265,15 @@ { "type": "CommentBlock", "value": "*\r\n * Sets the data url of this frame.\r\n * @param {DataURL} pDataURL - The base64 data of this image.\r\n * @returns {self} This frame instance.\r\n ", - "start": 2317, - "end": 2482, + "start": 2353, + "end": 2518, "loc": { "start": { - "line": 87, + "line": 88, "column": 4 }, "end": { - "line": 91, + "line": 92, "column": 7 } } @@ -3187,15 +3283,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the data URL of this frame.\r\n * @returns {DataURL} - The base64 data of this image.\r\n ", - "start": 2792, - "end": 2905, + "start": 2828, + "end": 2941, "loc": { "start": { - "line": 102, + "line": 103, "column": 4 }, "end": { - "line": 105, + "line": 106, "column": 7 } } @@ -3204,15 +3300,15 @@ }, { "type": "ClassMethod", - "start": 2911, - "end": 2962, + "start": 2947, + "end": 2998, "loc": { "start": { - "line": 106, + "line": 107, "column": 4 }, "end": { - "line": 108, + "line": 109, "column": 5 } }, @@ -3220,15 +3316,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2911, - "end": 2921, + "start": 2947, + "end": 2957, "loc": { "start": { - "line": 106, + "line": 107, "column": 4 }, "end": { - "line": 106, + "line": 107, "column": 14 }, "identifierName": "getDataURL" @@ -3244,73 +3340,73 @@ "params": [], "body": { "type": "BlockStatement", - "start": 2924, - "end": 2962, + "start": 2960, + "end": 2998, "loc": { "start": { - "line": 106, + "line": 107, "column": 17 }, "end": { - "line": 108, + "line": 109, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 2935, - "end": 2955, + "start": 2971, + "end": 2991, "loc": { "start": { - "line": 107, + "line": 108, "column": 8 }, "end": { - "line": 107, + "line": 108, "column": 28 } }, "argument": { "type": "MemberExpression", - "start": 2942, - "end": 2954, + "start": 2978, + "end": 2990, "loc": { "start": { - "line": 107, + "line": 108, "column": 15 }, "end": { - "line": 107, + "line": 108, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 2942, - "end": 2946, + "start": 2978, + "end": 2982, "loc": { "start": { - "line": 107, + "line": 108, "column": 15 }, "end": { - "line": 107, + "line": 108, "column": 19 } } }, "property": { "type": "Identifier", - "start": 2947, - "end": 2954, + "start": 2983, + "end": 2990, "loc": { "start": { - "line": 107, + "line": 108, "column": 20 }, "end": { - "line": 107, + "line": 108, "column": 27 }, "identifierName": "dataURL" @@ -3328,15 +3424,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the data URL of this frame.\r\n * @returns {DataURL} - The base64 data of this image.\r\n ", - "start": 2792, - "end": 2905, + "start": 2828, + "end": 2941, "loc": { "start": { - "line": 102, + "line": 103, "column": 4 }, "end": { - "line": 105, + "line": 106, "column": 7 } } @@ -3346,15 +3442,15 @@ { "type": "CommentBlock", "value": "*\r\n * Exports this frame's data into proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this frame in the proper vyi format.\r\n ", - "start": 2968, - "end": 3145, + "start": 3004, + "end": 3181, "loc": { "start": { - "line": 109, + "line": 110, "column": 4 }, "end": { - "line": 113, + "line": 114, "column": 7 } } @@ -3363,15 +3459,15 @@ }, { "type": "ClassMethod", - "start": 3151, - "end": 3585, + "start": 3187, + "end": 3621, "loc": { "start": { - "line": 114, + "line": 115, "column": 4 }, "end": { - "line": 125, + "line": 126, "column": 5 } }, @@ -3379,15 +3475,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3151, - "end": 3157, + "start": 3187, + "end": 3193, "loc": { "start": { - "line": 114, + "line": 115, "column": 4 }, "end": { - "line": 114, + "line": 115, "column": 10 }, "identifierName": "export" @@ -3403,59 +3499,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 3160, - "end": 3585, + "start": 3196, + "end": 3621, "loc": { "start": { - "line": 114, + "line": 115, "column": 13 }, "end": { - "line": 125, + "line": 126, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 3171, - "end": 3192, + "start": 3207, + "end": 3228, "loc": { "start": { - "line": 115, + "line": 116, "column": 8 }, "end": { - "line": 115, + "line": 116, "column": 29 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 3177, - "end": 3191, + "start": 3213, + "end": 3227, "loc": { "start": { - "line": 115, + "line": 116, "column": 14 }, "end": { - "line": 115, + "line": 116, "column": 28 } }, "id": { "type": "Identifier", - "start": 3177, - "end": 3186, + "start": 3213, + "end": 3222, "loc": { "start": { - "line": 115, + "line": 116, "column": 14 }, "end": { - "line": 115, + "line": 116, "column": 23 }, "identifierName": "frameData" @@ -3464,15 +3560,15 @@ }, "init": { "type": "ArrayExpression", - "start": 3189, - "end": 3191, + "start": 3225, + "end": 3227, "loc": { "start": { - "line": 115, + "line": 116, "column": 26 }, "end": { - "line": 115, + "line": 116, "column": 28 } }, @@ -3485,15 +3581,15 @@ { "type": "CommentLine", "value": " frame dataURL", - "start": 3202, - "end": 3218, + "start": 3238, + "end": 3254, "loc": { "start": { - "line": 116, + "line": 117, "column": 8 }, "end": { - "line": 116, + "line": 117, "column": 24 } } @@ -3502,58 +3598,58 @@ }, { "type": "ExpressionStatement", - "start": 3228, - "end": 3261, + "start": 3264, + "end": 3297, "loc": { "start": { - "line": 117, + "line": 118, "column": 8 }, "end": { - "line": 117, + "line": 118, "column": 41 } }, "expression": { "type": "AssignmentExpression", - "start": 3228, - "end": 3260, + "start": 3264, + "end": 3296, "loc": { "start": { - "line": 117, + "line": 118, "column": 8 }, "end": { - "line": 117, + "line": 118, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 3228, - "end": 3240, + "start": 3264, + "end": 3276, "loc": { "start": { - "line": 117, + "line": 118, "column": 8 }, "end": { - "line": 117, + "line": 118, "column": 20 } }, "object": { "type": "Identifier", - "start": 3228, - "end": 3237, + "start": 3264, + "end": 3273, "loc": { "start": { - "line": 117, + "line": 118, "column": 8 }, "end": { - "line": 117, + "line": 118, "column": 17 }, "identifierName": "frameData" @@ -3563,15 +3659,15 @@ }, "property": { "type": "NumericLiteral", - "start": 3238, - "end": 3239, + "start": 3274, + "end": 3275, "loc": { "start": { - "line": 117, + "line": 118, "column": 18 }, "end": { - "line": 117, + "line": 118, "column": 19 } }, @@ -3586,58 +3682,58 @@ }, "right": { "type": "CallExpression", - "start": 3243, - "end": 3260, + "start": 3279, + "end": 3296, "loc": { "start": { - "line": 117, + "line": 118, "column": 23 }, "end": { - "line": 117, + "line": 118, "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 3243, - "end": 3258, + "start": 3279, + "end": 3294, "loc": { "start": { - "line": 117, + "line": 118, "column": 23 }, "end": { - "line": 117, + "line": 118, "column": 38 } }, "object": { "type": "ThisExpression", - "start": 3243, - "end": 3247, + "start": 3279, + "end": 3283, "loc": { "start": { - "line": 117, + "line": 118, "column": 23 }, "end": { - "line": 117, + "line": 118, "column": 27 } } }, "property": { "type": "Identifier", - "start": 3248, - "end": 3258, + "start": 3284, + "end": 3294, "loc": { "start": { - "line": 117, + "line": 118, "column": 28 }, "end": { - "line": 117, + "line": 118, "column": 38 }, "identifierName": "getDataURL" @@ -3654,15 +3750,15 @@ { "type": "CommentLine", "value": " frame dataURL", - "start": 3202, - "end": 3218, + "start": 3238, + "end": 3254, "loc": { "start": { - "line": 116, + "line": 117, "column": 8 }, "end": { - "line": 116, + "line": 117, "column": 24 } } @@ -3672,15 +3768,15 @@ { "type": "CommentLine", "value": " We do not have to store the delay if it is the default value of 100. This will save data.", - "start": 3271, - "end": 3363, + "start": 3307, + "end": 3399, "loc": { "start": { - "line": 118, + "line": 119, "column": 8 }, "end": { - "line": 118, + "line": 119, "column": 100 } } @@ -3689,44 +3785,44 @@ }, { "type": "VariableDeclaration", - "start": 3373, - "end": 3435, + "start": 3409, + "end": 3471, "loc": { "start": { - "line": 119, + "line": 120, "column": 8 }, "end": { - "line": 119, + "line": 120, "column": 70 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 3379, - "end": 3434, + "start": 3415, + "end": 3470, "loc": { "start": { - "line": 119, + "line": 120, "column": 14 }, "end": { - "line": 119, + "line": 120, "column": 69 } }, "id": { "type": "Identifier", - "start": 3379, - "end": 3393, + "start": 3415, + "end": 3429, "loc": { "start": { - "line": 119, + "line": 120, "column": 14 }, "end": { - "line": 119, + "line": 120, "column": 28 }, "identifierName": "delayIsDefault" @@ -3736,72 +3832,72 @@ }, "init": { "type": "BinaryExpression", - "start": 3396, - "end": 3434, + "start": 3432, + "end": 3470, "loc": { "start": { - "line": 119, + "line": 120, "column": 31 }, "end": { - "line": 119, + "line": 120, "column": 69 } }, "left": { "type": "CallExpression", - "start": 3396, - "end": 3411, + "start": 3432, + "end": 3447, "loc": { "start": { - "line": 119, + "line": 120, "column": 31 }, "end": { - "line": 119, + "line": 120, "column": 46 } }, "callee": { "type": "MemberExpression", - "start": 3396, - "end": 3409, + "start": 3432, + "end": 3445, "loc": { "start": { - "line": 119, + "line": 120, "column": 31 }, "end": { - "line": 119, + "line": 120, "column": 44 } }, "object": { "type": "ThisExpression", - "start": 3396, - "end": 3400, + "start": 3432, + "end": 3436, "loc": { "start": { - "line": 119, + "line": 120, "column": 31 }, "end": { - "line": 119, + "line": 120, "column": 35 } } }, "property": { "type": "Identifier", - "start": 3401, - "end": 3409, + "start": 3437, + "end": 3445, "loc": { "start": { - "line": 119, + "line": 120, "column": 36 }, "end": { - "line": 119, + "line": 120, "column": 44 }, "identifierName": "getDelay" @@ -3815,29 +3911,29 @@ "operator": "===", "right": { "type": "MemberExpression", - "start": 3416, - "end": 3434, + "start": 3452, + "end": 3470, "loc": { "start": { - "line": 119, + "line": 120, "column": 51 }, "end": { - "line": 119, + "line": 120, "column": 69 } }, "object": { "type": "Identifier", - "start": 3416, - "end": 3421, + "start": 3452, + "end": 3457, "loc": { "start": { - "line": 119, + "line": 120, "column": 51 }, "end": { - "line": 119, + "line": 120, "column": 56 }, "identifierName": "Frame" @@ -3846,15 +3942,15 @@ }, "property": { "type": "Identifier", - "start": 3422, - "end": 3434, + "start": 3458, + "end": 3470, "loc": { "start": { - "line": 119, + "line": 120, "column": 57 }, "end": { - "line": 119, + "line": 120, "column": 69 }, "identifierName": "defaultDelay" @@ -3872,15 +3968,15 @@ { "type": "CommentLine", "value": " We do not have to store the delay if it is the default value of 100. This will save data.", - "start": 3271, - "end": 3363, + "start": 3307, + "end": 3399, "loc": { "start": { - "line": 118, + "line": 119, "column": 8 }, "end": { - "line": 118, + "line": 119, "column": 100 } } @@ -3889,29 +3985,29 @@ }, { "type": "IfStatement", - "start": 3445, - "end": 3551, + "start": 3481, + "end": 3587, "loc": { "start": { - "line": 120, + "line": 121, "column": 8 }, "end": { - "line": 123, + "line": 124, "column": 9 } }, "test": { "type": "UnaryExpression", - "start": 3449, - "end": 3464, + "start": 3485, + "end": 3500, "loc": { "start": { - "line": 120, + "line": 121, "column": 12 }, "end": { - "line": 120, + "line": 121, "column": 27 } }, @@ -3919,15 +4015,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 3450, - "end": 3464, + "start": 3486, + "end": 3500, "loc": { "start": { - "line": 120, + "line": 121, "column": 13 }, "end": { - "line": 120, + "line": 121, "column": 27 }, "identifierName": "delayIsDefault" @@ -3940,73 +4036,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 3466, - "end": 3551, + "start": 3502, + "end": 3587, "loc": { "start": { - "line": 120, + "line": 121, "column": 29 }, "end": { - "line": 123, + "line": 124, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 3509, - "end": 3540, + "start": 3545, + "end": 3576, "loc": { "start": { - "line": 122, + "line": 123, "column": 12 }, "end": { - "line": 122, + "line": 123, "column": 43 } }, "expression": { "type": "AssignmentExpression", - "start": 3509, - "end": 3539, + "start": 3545, + "end": 3575, "loc": { "start": { - "line": 122, + "line": 123, "column": 12 }, "end": { - "line": 122, + "line": 123, "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 3509, - "end": 3521, + "start": 3545, + "end": 3557, "loc": { "start": { - "line": 122, + "line": 123, "column": 12 }, "end": { - "line": 122, + "line": 123, "column": 24 } }, "object": { "type": "Identifier", - "start": 3509, - "end": 3518, + "start": 3545, + "end": 3554, "loc": { "start": { - "line": 122, + "line": 123, "column": 12 }, "end": { - "line": 122, + "line": 123, "column": 21 }, "identifierName": "frameData" @@ -4016,15 +4112,15 @@ }, "property": { "type": "NumericLiteral", - "start": 3519, - "end": 3520, + "start": 3555, + "end": 3556, "loc": { "start": { - "line": 122, + "line": 123, "column": 22 }, "end": { - "line": 122, + "line": 123, "column": 23 } }, @@ -4039,58 +4135,58 @@ }, "right": { "type": "CallExpression", - "start": 3524, - "end": 3539, + "start": 3560, + "end": 3575, "loc": { "start": { - "line": 122, + "line": 123, "column": 27 }, "end": { - "line": 122, + "line": 123, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 3524, - "end": 3537, + "start": 3560, + "end": 3573, "loc": { "start": { - "line": 122, + "line": 123, "column": 27 }, "end": { - "line": 122, + "line": 123, "column": 40 } }, "object": { "type": "ThisExpression", - "start": 3524, - "end": 3528, + "start": 3560, + "end": 3564, "loc": { "start": { - "line": 122, + "line": 123, "column": 27 }, "end": { - "line": 122, + "line": 123, "column": 31 } } }, "property": { "type": "Identifier", - "start": 3529, - "end": 3537, + "start": 3565, + "end": 3573, "loc": { "start": { - "line": 122, + "line": 123, "column": 32 }, "end": { - "line": 122, + "line": 123, "column": 40 }, "identifierName": "getDelay" @@ -4107,15 +4203,15 @@ { "type": "CommentLine", "value": " frame delay", - "start": 3481, - "end": 3495, + "start": 3517, + "end": 3531, "loc": { "start": { - "line": 121, + "line": 122, "column": 12 }, "end": { - "line": 121, + "line": 122, "column": 26 } } @@ -4129,29 +4225,29 @@ }, { "type": "ReturnStatement", - "start": 3561, - "end": 3578, + "start": 3597, + "end": 3614, "loc": { "start": { - "line": 124, + "line": 125, "column": 8 }, "end": { - "line": 124, + "line": 125, "column": 25 } }, "argument": { "type": "Identifier", - "start": 3568, - "end": 3577, + "start": 3604, + "end": 3613, "loc": { "start": { - "line": 124, + "line": 125, "column": 15 }, "end": { - "line": 124, + "line": 125, "column": 24 }, "identifierName": "frameData" @@ -4166,15 +4262,15 @@ { "type": "CommentBlock", "value": "*\r\n * Exports this frame's data into proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this frame in the proper vyi format.\r\n ", - "start": 2968, - "end": 3145, + "start": 3004, + "end": 3181, "loc": { "start": { - "line": 109, + "line": 110, "column": 4 }, "end": { - "line": 113, + "line": 114, "column": 7 } } @@ -4306,15 +4402,15 @@ { "type": "CommentBlock", "value": "*\r\n * parses through the icon data and adds data to this frame.\r\n * @param {Object} pFrameData - The frame data that is used to build this frame.\r\n * @private\r\n ", - "start": 1162, - "end": 1343, + "start": 1198, + "end": 1379, "loc": { "start": { - "line": 51, + "line": 52, "column": 4 }, "end": { - "line": 55, + "line": 56, "column": 7 } } @@ -4322,15 +4418,15 @@ { "type": "CommentLine", "value": " Loop through frame data and build frame.", - "start": 1378, - "end": 1421, + "start": 1414, + "end": 1457, "loc": { "start": { - "line": 57, + "line": 58, "column": 8 }, "end": { - "line": 57, + "line": 58, "column": 51 } } @@ -4338,15 +4434,15 @@ { "type": "CommentLine", "value": " Set the data url", - "start": 1555, - "end": 1574, + "start": 1591, + "end": 1610, "loc": { "start": { - "line": 60, + "line": 61, "column": 8 }, "end": { - "line": 60, + "line": 61, "column": 27 } } @@ -4354,15 +4450,15 @@ { "type": "CommentLine", "value": " Set the frame delay", - "start": 1619, - "end": 1641, + "start": 1655, + "end": 1677, "loc": { "start": { - "line": 62, + "line": 63, "column": 8 }, "end": { - "line": 62, + "line": 63, "column": 30 } } @@ -4370,15 +4466,15 @@ { "type": "CommentBlock", "value": "*\r\n * Sets the delay of this frame in ms.\r\n * @param {number} pDelay - The delay in ms to set this frame to.\r\n * @returns {self} This frame instance.\r\n ", - "start": 1690, - "end": 1862, + "start": 1726, + "end": 1898, "loc": { "start": { - "line": 65, + "line": 66, "column": 4 }, "end": { - "line": 69, + "line": 70, "column": 7 } } @@ -4386,15 +4482,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the delay of this frame.\r\n * @returns {number} The delay of this frame.\r\n ", - "start": 2157, - "end": 2258, + "start": 2193, + "end": 2294, "loc": { "start": { - "line": 80, + "line": 81, "column": 4 }, "end": { - "line": 83, + "line": 84, "column": 7 } } @@ -4402,15 +4498,15 @@ { "type": "CommentBlock", "value": "*\r\n * Sets the data url of this frame.\r\n * @param {DataURL} pDataURL - The base64 data of this image.\r\n * @returns {self} This frame instance.\r\n ", - "start": 2317, - "end": 2482, + "start": 2353, + "end": 2518, "loc": { "start": { - "line": 87, + "line": 88, "column": 4 }, "end": { - "line": 91, + "line": 92, "column": 7 } } @@ -4418,15 +4514,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the data URL of this frame.\r\n * @returns {DataURL} - The base64 data of this image.\r\n ", - "start": 2792, - "end": 2905, + "start": 2828, + "end": 2941, "loc": { "start": { - "line": 102, + "line": 103, "column": 4 }, "end": { - "line": 105, + "line": 106, "column": 7 } } @@ -4434,15 +4530,15 @@ { "type": "CommentBlock", "value": "*\r\n * Exports this frame's data into proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this frame in the proper vyi format.\r\n ", - "start": 2968, - "end": 3145, + "start": 3004, + "end": 3181, "loc": { "start": { - "line": 109, + "line": 110, "column": 4 }, "end": { - "line": 113, + "line": 114, "column": 7 } } @@ -4450,15 +4546,15 @@ { "type": "CommentLine", "value": " frame dataURL", - "start": 3202, - "end": 3218, + "start": 3238, + "end": 3254, "loc": { "start": { - "line": 116, + "line": 117, "column": 8 }, "end": { - "line": 116, + "line": 117, "column": 24 } } @@ -4466,15 +4562,15 @@ { "type": "CommentLine", "value": " We do not have to store the delay if it is the default value of 100. This will save data.", - "start": 3271, - "end": 3363, + "start": 3307, + "end": 3399, "loc": { "start": { - "line": 118, + "line": 119, "column": 8 }, "end": { - "line": 118, + "line": 119, "column": 100 } } @@ -4482,15 +4578,15 @@ { "type": "CommentLine", "value": " frame delay", - "start": 3481, - "end": 3495, + "start": 3517, + "end": 3531, "loc": { "start": { - "line": 121, + "line": 122, "column": 12 }, "end": { - "line": 121, + "line": 122, "column": 26 } } @@ -5855,9 +5951,9 @@ "postfix": false, "binop": null }, - "value": "parse", + "value": "parent", "start": 1131, - "end": 1136, + "end": 1137, "loc": { "start": { "line": 49, @@ -5865,6 +5961,165 @@ }, "end": { "line": 49, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1138, + "end": 1139, + "loc": { + "start": { + "line": 49, + "column": 20 + }, + "end": { + "line": 49, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "pParentIcon", + "start": 1140, + "end": 1151, + "loc": { + "start": { + "line": 49, + "column": 22 + }, + "end": { + "line": 49, + "column": 33 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1151, + "end": 1152, + "loc": { + "start": { + "line": 49, + "column": 33 + }, + "end": { + "line": 49, + "column": 34 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1162, + "end": 1166, + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 50, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1166, + "end": 1167, + "loc": { + "start": { + "line": 50, + "column": 12 + }, + "end": { + "line": 50, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parse", + "start": 1167, + "end": 1172, + "loc": { + "start": { + "line": 50, + "column": 13 + }, + "end": { + "line": 50, "column": 18 } } @@ -5881,15 +6136,15 @@ "postfix": false, "binop": null }, - "start": 1136, - "end": 1137, + "start": 1172, + "end": 1173, "loc": { "start": { - "line": 49, + "line": 50, "column": 18 }, "end": { - "line": 49, + "line": 50, "column": 19 } } @@ -5907,15 +6162,15 @@ "binop": null }, "value": "pFrameData", - "start": 1137, - "end": 1147, + "start": 1173, + "end": 1183, "loc": { "start": { - "line": 49, + "line": 50, "column": 19 }, "end": { - "line": 49, + "line": 50, "column": 29 } } @@ -5932,15 +6187,15 @@ "postfix": false, "binop": null }, - "start": 1147, - "end": 1148, + "start": 1183, + "end": 1184, "loc": { "start": { - "line": 49, + "line": 50, "column": 29 }, "end": { - "line": 49, + "line": 50, "column": 30 } } @@ -5958,15 +6213,15 @@ "binop": null, "updateContext": null }, - "start": 1148, - "end": 1149, + "start": 1184, + "end": 1185, "loc": { "start": { - "line": 49, + "line": 50, "column": 30 }, "end": { - "line": 49, + "line": 50, "column": 31 } } @@ -5983,15 +6238,15 @@ "postfix": false, "binop": null }, - "start": 1155, - "end": 1156, + "start": 1191, + "end": 1192, "loc": { "start": { - "line": 50, + "line": 51, "column": 4 }, "end": { - "line": 50, + "line": 51, "column": 5 } } @@ -5999,15 +6254,15 @@ { "type": "CommentBlock", "value": "*\r\n * parses through the icon data and adds data to this frame.\r\n * @param {Object} pFrameData - The frame data that is used to build this frame.\r\n * @private\r\n ", - "start": 1162, - "end": 1343, + "start": 1198, + "end": 1379, "loc": { "start": { - "line": 51, + "line": 52, "column": 4 }, "end": { - "line": 55, + "line": 56, "column": 7 } } @@ -6025,15 +6280,15 @@ "binop": null }, "value": "parse", - "start": 1349, - "end": 1354, + "start": 1385, + "end": 1390, "loc": { "start": { - "line": 56, + "line": 57, "column": 4 }, "end": { - "line": 56, + "line": 57, "column": 9 } } @@ -6050,15 +6305,15 @@ "postfix": false, "binop": null }, - "start": 1354, - "end": 1355, + "start": 1390, + "end": 1391, "loc": { "start": { - "line": 56, + "line": 57, "column": 9 }, "end": { - "line": 56, + "line": 57, "column": 10 } } @@ -6076,15 +6331,15 @@ "binop": null }, "value": "pFrameData", - "start": 1355, - "end": 1365, + "start": 1391, + "end": 1401, "loc": { "start": { - "line": 56, + "line": 57, "column": 10 }, "end": { - "line": 56, + "line": 57, "column": 20 } } @@ -6101,15 +6356,15 @@ "postfix": false, "binop": null }, - "start": 1365, - "end": 1366, + "start": 1401, + "end": 1402, "loc": { "start": { - "line": 56, + "line": 57, "column": 20 }, "end": { - "line": 56, + "line": 57, "column": 21 } } @@ -6126,15 +6381,15 @@ "postfix": false, "binop": null }, - "start": 1367, - "end": 1368, + "start": 1403, + "end": 1404, "loc": { "start": { - "line": 56, + "line": 57, "column": 22 }, "end": { - "line": 56, + "line": 57, "column": 23 } } @@ -6142,15 +6397,15 @@ { "type": "CommentLine", "value": " Loop through frame data and build frame.", - "start": 1378, - "end": 1421, + "start": 1414, + "end": 1457, "loc": { "start": { - "line": 57, + "line": 58, "column": 8 }, "end": { - "line": 57, + "line": 58, "column": 51 } } @@ -6170,15 +6425,15 @@ "updateContext": null }, "value": "const", - "start": 1431, - "end": 1436, + "start": 1467, + "end": 1472, "loc": { "start": { - "line": 58, + "line": 59, "column": 8 }, "end": { - "line": 58, + "line": 59, "column": 13 } } @@ -6196,15 +6451,15 @@ "binop": null }, "value": "dataURL", - "start": 1437, - "end": 1444, + "start": 1473, + "end": 1480, "loc": { "start": { - "line": 58, + "line": 59, "column": 14 }, "end": { - "line": 58, + "line": 59, "column": 21 } } @@ -6223,15 +6478,15 @@ "updateContext": null }, "value": "=", - "start": 1445, - "end": 1446, + "start": 1481, + "end": 1482, "loc": { "start": { - "line": 58, + "line": 59, "column": 22 }, "end": { - "line": 58, + "line": 59, "column": 23 } } @@ -6249,15 +6504,15 @@ "binop": null }, "value": "pFrameData", - "start": 1447, - "end": 1457, + "start": 1483, + "end": 1493, "loc": { "start": { - "line": 58, + "line": 59, "column": 24 }, "end": { - "line": 58, + "line": 59, "column": 34 } } @@ -6275,15 +6530,15 @@ "binop": null, "updateContext": null }, - "start": 1457, - "end": 1458, + "start": 1493, + "end": 1494, "loc": { "start": { - "line": 58, + "line": 59, "column": 34 }, "end": { - "line": 58, + "line": 59, "column": 35 } } @@ -6302,15 +6557,15 @@ "updateContext": null }, "value": 0, - "start": 1458, - "end": 1459, + "start": 1494, + "end": 1495, "loc": { "start": { - "line": 58, + "line": 59, "column": 35 }, "end": { - "line": 58, + "line": 59, "column": 36 } } @@ -6328,15 +6583,15 @@ "binop": null, "updateContext": null }, - "start": 1459, - "end": 1460, + "start": 1495, + "end": 1496, "loc": { "start": { - "line": 58, + "line": 59, "column": 36 }, "end": { - "line": 58, + "line": 59, "column": 37 } } @@ -6354,15 +6609,15 @@ "binop": null, "updateContext": null }, - "start": 1460, - "end": 1461, + "start": 1496, + "end": 1497, "loc": { "start": { - "line": 58, + "line": 59, "column": 37 }, "end": { - "line": 58, + "line": 59, "column": 38 } } @@ -6382,15 +6637,15 @@ "updateContext": null }, "value": "const", - "start": 1471, - "end": 1476, + "start": 1507, + "end": 1512, "loc": { "start": { - "line": 59, + "line": 60, "column": 8 }, "end": { - "line": 59, + "line": 60, "column": 13 } } @@ -6408,15 +6663,15 @@ "binop": null }, "value": "frameDelay", - "start": 1477, - "end": 1487, + "start": 1513, + "end": 1523, "loc": { "start": { - "line": 59, + "line": 60, "column": 14 }, "end": { - "line": 59, + "line": 60, "column": 24 } } @@ -6435,15 +6690,15 @@ "updateContext": null }, "value": "=", - "start": 1488, - "end": 1489, + "start": 1524, + "end": 1525, "loc": { "start": { - "line": 59, + "line": 60, "column": 25 }, "end": { - "line": 59, + "line": 60, "column": 26 } } @@ -6461,15 +6716,15 @@ "binop": null }, "value": "pFrameData", - "start": 1490, - "end": 1500, + "start": 1526, + "end": 1536, "loc": { "start": { - "line": 59, + "line": 60, "column": 27 }, "end": { - "line": 59, + "line": 60, "column": 37 } } @@ -6487,15 +6742,15 @@ "binop": null, "updateContext": null }, - "start": 1500, - "end": 1501, + "start": 1536, + "end": 1537, "loc": { "start": { - "line": 59, + "line": 60, "column": 37 }, "end": { - "line": 59, + "line": 60, "column": 38 } } @@ -6514,15 +6769,15 @@ "updateContext": null }, "value": 1, - "start": 1501, - "end": 1502, + "start": 1537, + "end": 1538, "loc": { "start": { - "line": 59, + "line": 60, "column": 38 }, "end": { - "line": 59, + "line": 60, "column": 39 } } @@ -6540,15 +6795,15 @@ "binop": null, "updateContext": null }, - "start": 1502, - "end": 1503, + "start": 1538, + "end": 1539, "loc": { "start": { - "line": 59, + "line": 60, "column": 39 }, "end": { - "line": 59, + "line": 60, "column": 40 } } @@ -6566,15 +6821,15 @@ "binop": null, "updateContext": null }, - "start": 1504, - "end": 1505, + "start": 1540, + "end": 1541, "loc": { "start": { - "line": 59, + "line": 60, "column": 41 }, "end": { - "line": 59, + "line": 60, "column": 42 } } @@ -6592,15 +6847,15 @@ "binop": null }, "value": "pFrameData", - "start": 1506, - "end": 1516, + "start": 1542, + "end": 1552, "loc": { "start": { - "line": 59, + "line": 60, "column": 43 }, "end": { - "line": 59, + "line": 60, "column": 53 } } @@ -6618,15 +6873,15 @@ "binop": null, "updateContext": null }, - "start": 1516, - "end": 1517, + "start": 1552, + "end": 1553, "loc": { "start": { - "line": 59, + "line": 60, "column": 53 }, "end": { - "line": 59, + "line": 60, "column": 54 } } @@ -6645,15 +6900,15 @@ "updateContext": null }, "value": 1, - "start": 1517, - "end": 1518, + "start": 1553, + "end": 1554, "loc": { "start": { - "line": 59, + "line": 60, "column": 54 }, "end": { - "line": 59, + "line": 60, "column": 55 } } @@ -6671,15 +6926,15 @@ "binop": null, "updateContext": null }, - "start": 1518, - "end": 1519, + "start": 1554, + "end": 1555, "loc": { "start": { - "line": 59, + "line": 60, "column": 55 }, "end": { - "line": 59, + "line": 60, "column": 56 } } @@ -6697,15 +6952,15 @@ "binop": null, "updateContext": null }, - "start": 1520, - "end": 1521, + "start": 1556, + "end": 1557, "loc": { "start": { - "line": 59, + "line": 60, "column": 57 }, "end": { - "line": 59, + "line": 60, "column": 58 } } @@ -6725,15 +6980,15 @@ "updateContext": null }, "value": "this", - "start": 1522, - "end": 1526, + "start": 1558, + "end": 1562, "loc": { "start": { - "line": 59, + "line": 60, "column": 59 }, "end": { - "line": 59, + "line": 60, "column": 63 } } @@ -6751,15 +7006,15 @@ "binop": null, "updateContext": null }, - "start": 1526, - "end": 1527, + "start": 1562, + "end": 1563, "loc": { "start": { - "line": 59, + "line": 60, "column": 63 }, "end": { - "line": 59, + "line": 60, "column": 64 } } @@ -6777,15 +7032,15 @@ "binop": null }, "value": "parent", - "start": 1527, - "end": 1533, + "start": 1563, + "end": 1569, "loc": { "start": { - "line": 59, + "line": 60, "column": 64 }, "end": { - "line": 59, + "line": 60, "column": 70 } } @@ -6803,15 +7058,15 @@ "binop": null, "updateContext": null }, - "start": 1533, - "end": 1534, + "start": 1569, + "end": 1570, "loc": { "start": { - "line": 59, + "line": 60, "column": 70 }, "end": { - "line": 59, + "line": 60, "column": 71 } } @@ -6829,15 +7084,15 @@ "binop": null }, "value": "getDelay", - "start": 1534, - "end": 1542, + "start": 1570, + "end": 1578, "loc": { "start": { - "line": 59, + "line": 60, "column": 71 }, "end": { - "line": 59, + "line": 60, "column": 79 } } @@ -6854,15 +7109,15 @@ "postfix": false, "binop": null }, - "start": 1542, - "end": 1543, + "start": 1578, + "end": 1579, "loc": { "start": { - "line": 59, + "line": 60, "column": 79 }, "end": { - "line": 59, + "line": 60, "column": 80 } } @@ -6879,15 +7134,15 @@ "postfix": false, "binop": null }, - "start": 1543, - "end": 1544, + "start": 1579, + "end": 1580, "loc": { "start": { - "line": 59, + "line": 60, "column": 80 }, "end": { - "line": 59, + "line": 60, "column": 81 } } @@ -6905,15 +7160,15 @@ "binop": null, "updateContext": null }, - "start": 1544, - "end": 1545, + "start": 1580, + "end": 1581, "loc": { "start": { - "line": 59, + "line": 60, "column": 81 }, "end": { - "line": 59, + "line": 60, "column": 82 } } @@ -6921,15 +7176,15 @@ { "type": "CommentLine", "value": " Set the data url", - "start": 1555, - "end": 1574, + "start": 1591, + "end": 1610, "loc": { "start": { - "line": 60, + "line": 61, "column": 8 }, "end": { - "line": 60, + "line": 61, "column": 27 } } @@ -6949,15 +7204,15 @@ "updateContext": null }, "value": "this", - "start": 1584, - "end": 1588, + "start": 1620, + "end": 1624, "loc": { "start": { - "line": 61, + "line": 62, "column": 8 }, "end": { - "line": 61, + "line": 62, "column": 12 } } @@ -6975,15 +7230,15 @@ "binop": null, "updateContext": null }, - "start": 1588, - "end": 1589, + "start": 1624, + "end": 1625, "loc": { "start": { - "line": 61, + "line": 62, "column": 12 }, "end": { - "line": 61, + "line": 62, "column": 13 } } @@ -7001,15 +7256,15 @@ "binop": null }, "value": "setDataURL", - "start": 1589, - "end": 1599, + "start": 1625, + "end": 1635, "loc": { "start": { - "line": 61, + "line": 62, "column": 13 }, "end": { - "line": 61, + "line": 62, "column": 23 } } @@ -7026,15 +7281,15 @@ "postfix": false, "binop": null }, - "start": 1599, - "end": 1600, + "start": 1635, + "end": 1636, "loc": { "start": { - "line": 61, + "line": 62, "column": 23 }, "end": { - "line": 61, + "line": 62, "column": 24 } } @@ -7052,15 +7307,15 @@ "binop": null }, "value": "dataURL", - "start": 1600, - "end": 1607, + "start": 1636, + "end": 1643, "loc": { "start": { - "line": 61, + "line": 62, "column": 24 }, "end": { - "line": 61, + "line": 62, "column": 31 } } @@ -7077,15 +7332,15 @@ "postfix": false, "binop": null }, - "start": 1607, - "end": 1608, + "start": 1643, + "end": 1644, "loc": { "start": { - "line": 61, + "line": 62, "column": 31 }, "end": { - "line": 61, + "line": 62, "column": 32 } } @@ -7103,15 +7358,15 @@ "binop": null, "updateContext": null }, - "start": 1608, - "end": 1609, + "start": 1644, + "end": 1645, "loc": { "start": { - "line": 61, + "line": 62, "column": 32 }, "end": { - "line": 61, + "line": 62, "column": 33 } } @@ -7119,15 +7374,15 @@ { "type": "CommentLine", "value": " Set the frame delay", - "start": 1619, - "end": 1641, + "start": 1655, + "end": 1677, "loc": { "start": { - "line": 62, + "line": 63, "column": 8 }, "end": { - "line": 62, + "line": 63, "column": 30 } } @@ -7147,15 +7402,15 @@ "updateContext": null }, "value": "this", - "start": 1651, - "end": 1655, + "start": 1687, + "end": 1691, "loc": { "start": { - "line": 63, + "line": 64, "column": 8 }, "end": { - "line": 63, + "line": 64, "column": 12 } } @@ -7173,15 +7428,15 @@ "binop": null, "updateContext": null }, - "start": 1655, - "end": 1656, + "start": 1691, + "end": 1692, "loc": { "start": { - "line": 63, + "line": 64, "column": 12 }, "end": { - "line": 63, + "line": 64, "column": 13 } } @@ -7199,15 +7454,15 @@ "binop": null }, "value": "setDelay", - "start": 1656, - "end": 1664, + "start": 1692, + "end": 1700, "loc": { "start": { - "line": 63, + "line": 64, "column": 13 }, "end": { - "line": 63, + "line": 64, "column": 21 } } @@ -7224,15 +7479,15 @@ "postfix": false, "binop": null }, - "start": 1664, - "end": 1665, + "start": 1700, + "end": 1701, "loc": { "start": { - "line": 63, + "line": 64, "column": 21 }, "end": { - "line": 63, + "line": 64, "column": 22 } } @@ -7250,15 +7505,15 @@ "binop": null }, "value": "frameDelay", - "start": 1665, - "end": 1675, + "start": 1701, + "end": 1711, "loc": { "start": { - "line": 63, + "line": 64, "column": 22 }, "end": { - "line": 63, + "line": 64, "column": 32 } } @@ -7275,15 +7530,15 @@ "postfix": false, "binop": null }, - "start": 1675, - "end": 1676, + "start": 1711, + "end": 1712, "loc": { "start": { - "line": 63, + "line": 64, "column": 32 }, "end": { - "line": 63, + "line": 64, "column": 33 } } @@ -7301,15 +7556,15 @@ "binop": null, "updateContext": null }, - "start": 1676, - "end": 1677, + "start": 1712, + "end": 1713, "loc": { "start": { - "line": 63, + "line": 64, "column": 33 }, "end": { - "line": 63, + "line": 64, "column": 34 } } @@ -7326,15 +7581,15 @@ "postfix": false, "binop": null }, - "start": 1683, - "end": 1684, + "start": 1719, + "end": 1720, "loc": { "start": { - "line": 64, + "line": 65, "column": 4 }, "end": { - "line": 64, + "line": 65, "column": 5 } } @@ -7342,15 +7597,15 @@ { "type": "CommentBlock", "value": "*\r\n * Sets the delay of this frame in ms.\r\n * @param {number} pDelay - The delay in ms to set this frame to.\r\n * @returns {self} This frame instance.\r\n ", - "start": 1690, - "end": 1862, + "start": 1726, + "end": 1898, "loc": { "start": { - "line": 65, + "line": 66, "column": 4 }, "end": { - "line": 69, + "line": 70, "column": 7 } } @@ -7368,15 +7623,15 @@ "binop": null }, "value": "setDelay", - "start": 1868, - "end": 1876, + "start": 1904, + "end": 1912, "loc": { "start": { - "line": 70, + "line": 71, "column": 4 }, "end": { - "line": 70, + "line": 71, "column": 12 } } @@ -7393,15 +7648,15 @@ "postfix": false, "binop": null }, - "start": 1876, - "end": 1877, + "start": 1912, + "end": 1913, "loc": { "start": { - "line": 70, + "line": 71, "column": 12 }, "end": { - "line": 70, + "line": 71, "column": 13 } } @@ -7419,15 +7674,15 @@ "binop": null }, "value": "pDelay", - "start": 1877, - "end": 1883, + "start": 1913, + "end": 1919, "loc": { "start": { - "line": 70, + "line": 71, "column": 13 }, "end": { - "line": 70, + "line": 71, "column": 19 } } @@ -7444,15 +7699,15 @@ "postfix": false, "binop": null }, - "start": 1883, - "end": 1884, + "start": 1919, + "end": 1920, "loc": { "start": { - "line": 70, + "line": 71, "column": 19 }, "end": { - "line": 70, + "line": 71, "column": 20 } } @@ -7469,15 +7724,15 @@ "postfix": false, "binop": null }, - "start": 1885, - "end": 1886, + "start": 1921, + "end": 1922, "loc": { "start": { - "line": 70, + "line": 71, "column": 21 }, "end": { - "line": 70, + "line": 71, "column": 22 } } @@ -7497,15 +7752,15 @@ "updateContext": null }, "value": "if", - "start": 1896, - "end": 1898, + "start": 1932, + "end": 1934, "loc": { "start": { - "line": 71, + "line": 72, "column": 8 }, "end": { - "line": 71, + "line": 72, "column": 10 } } @@ -7522,15 +7777,15 @@ "postfix": false, "binop": null }, - "start": 1899, - "end": 1900, + "start": 1935, + "end": 1936, "loc": { "start": { - "line": 71, + "line": 72, "column": 11 }, "end": { - "line": 71, + "line": 72, "column": 12 } } @@ -7548,15 +7803,15 @@ "binop": null }, "value": "pDelay", - "start": 1900, - "end": 1906, + "start": 1936, + "end": 1942, "loc": { "start": { - "line": 71, + "line": 72, "column": 12 }, "end": { - "line": 71, + "line": 72, "column": 18 } } @@ -7573,15 +7828,15 @@ "postfix": false, "binop": null }, - "start": 1906, - "end": 1907, + "start": 1942, + "end": 1943, "loc": { "start": { - "line": 71, + "line": 72, "column": 18 }, "end": { - "line": 71, + "line": 72, "column": 19 } } @@ -7598,15 +7853,15 @@ "postfix": false, "binop": null }, - "start": 1908, - "end": 1909, + "start": 1944, + "end": 1945, "loc": { "start": { - "line": 71, + "line": 72, "column": 20 }, "end": { - "line": 71, + "line": 72, "column": 21 } } @@ -7626,15 +7881,15 @@ "updateContext": null }, "value": "if", - "start": 1923, - "end": 1925, + "start": 1959, + "end": 1961, "loc": { "start": { - "line": 72, + "line": 73, "column": 12 }, "end": { - "line": 72, + "line": 73, "column": 14 } } @@ -7651,15 +7906,15 @@ "postfix": false, "binop": null }, - "start": 1926, - "end": 1927, + "start": 1962, + "end": 1963, "loc": { "start": { - "line": 72, + "line": 73, "column": 15 }, "end": { - "line": 72, + "line": 73, "column": 16 } } @@ -7679,15 +7934,15 @@ "updateContext": null }, "value": "typeof", - "start": 1927, - "end": 1933, + "start": 1963, + "end": 1969, "loc": { "start": { - "line": 72, + "line": 73, "column": 16 }, "end": { - "line": 72, + "line": 73, "column": 22 } } @@ -7704,15 +7959,15 @@ "postfix": false, "binop": null }, - "start": 1933, - "end": 1934, + "start": 1969, + "end": 1970, "loc": { "start": { - "line": 72, + "line": 73, "column": 22 }, "end": { - "line": 72, + "line": 73, "column": 23 } } @@ -7730,15 +7985,15 @@ "binop": null }, "value": "pDelay", - "start": 1934, - "end": 1940, + "start": 1970, + "end": 1976, "loc": { "start": { - "line": 72, + "line": 73, "column": 23 }, "end": { - "line": 72, + "line": 73, "column": 29 } } @@ -7755,15 +8010,15 @@ "postfix": false, "binop": null }, - "start": 1940, - "end": 1941, + "start": 1976, + "end": 1977, "loc": { "start": { - "line": 72, + "line": 73, "column": 29 }, "end": { - "line": 72, + "line": 73, "column": 30 } } @@ -7782,15 +8037,15 @@ "updateContext": null }, "value": "===", - "start": 1942, - "end": 1945, + "start": 1978, + "end": 1981, "loc": { "start": { - "line": 72, + "line": 73, "column": 31 }, "end": { - "line": 72, + "line": 73, "column": 34 } } @@ -7809,15 +8064,15 @@ "updateContext": null }, "value": "number", - "start": 1946, - "end": 1954, + "start": 1982, + "end": 1990, "loc": { "start": { - "line": 72, + "line": 73, "column": 35 }, "end": { - "line": 72, + "line": 73, "column": 43 } } @@ -7834,15 +8089,15 @@ "postfix": false, "binop": null }, - "start": 1954, - "end": 1955, + "start": 1990, + "end": 1991, "loc": { "start": { - "line": 72, + "line": 73, "column": 43 }, "end": { - "line": 72, + "line": 73, "column": 44 } } @@ -7859,15 +8114,15 @@ "postfix": false, "binop": null }, - "start": 1956, - "end": 1957, + "start": 1992, + "end": 1993, "loc": { "start": { - "line": 72, + "line": 73, "column": 45 }, "end": { - "line": 72, + "line": 73, "column": 46 } } @@ -7887,15 +8142,15 @@ "updateContext": null }, "value": "this", - "start": 1975, - "end": 1979, + "start": 2011, + "end": 2015, "loc": { "start": { - "line": 73, + "line": 74, "column": 16 }, "end": { - "line": 73, + "line": 74, "column": 20 } } @@ -7913,15 +8168,15 @@ "binop": null, "updateContext": null }, - "start": 1979, - "end": 1980, + "start": 2015, + "end": 2016, "loc": { "start": { - "line": 73, + "line": 74, "column": 20 }, "end": { - "line": 73, + "line": 74, "column": 21 } } @@ -7939,15 +8194,15 @@ "binop": null }, "value": "delay", - "start": 1980, - "end": 1985, + "start": 2016, + "end": 2021, "loc": { "start": { - "line": 73, + "line": 74, "column": 21 }, "end": { - "line": 73, + "line": 74, "column": 26 } } @@ -7966,15 +8221,15 @@ "updateContext": null }, "value": "=", - "start": 1986, - "end": 1987, + "start": 2022, + "end": 2023, "loc": { "start": { - "line": 73, + "line": 74, "column": 27 }, "end": { - "line": 73, + "line": 74, "column": 28 } } @@ -7992,15 +8247,15 @@ "binop": null }, "value": "pDelay", - "start": 1988, - "end": 1994, + "start": 2024, + "end": 2030, "loc": { "start": { - "line": 73, + "line": 74, "column": 29 }, "end": { - "line": 73, + "line": 74, "column": 35 } } @@ -8018,15 +8273,15 @@ "binop": null, "updateContext": null }, - "start": 1994, - "end": 1995, + "start": 2030, + "end": 2031, "loc": { "start": { - "line": 73, + "line": 74, "column": 35 }, "end": { - "line": 73, + "line": 74, "column": 36 } } @@ -8043,15 +8298,15 @@ "postfix": false, "binop": null }, - "start": 2009, - "end": 2010, + "start": 2045, + "end": 2046, "loc": { "start": { - "line": 74, + "line": 75, "column": 12 }, "end": { - "line": 74, + "line": 75, "column": 13 } } @@ -8071,15 +8326,15 @@ "updateContext": null }, "value": "else", - "start": 2011, - "end": 2015, + "start": 2047, + "end": 2051, "loc": { "start": { - "line": 74, + "line": 75, "column": 14 }, "end": { - "line": 74, + "line": 75, "column": 18 } } @@ -8096,15 +8351,15 @@ "postfix": false, "binop": null }, - "start": 2016, - "end": 2017, + "start": 2052, + "end": 2053, "loc": { "start": { - "line": 74, + "line": 75, "column": 19 }, "end": { - "line": 74, + "line": 75, "column": 20 } } @@ -8122,15 +8377,15 @@ "binop": null }, "value": "VYI", - "start": 2035, - "end": 2038, + "start": 2071, + "end": 2074, "loc": { "start": { - "line": 75, + "line": 76, "column": 16 }, "end": { - "line": 75, + "line": 76, "column": 19 } } @@ -8148,15 +8403,15 @@ "binop": null, "updateContext": null }, - "start": 2038, - "end": 2039, + "start": 2074, + "end": 2075, "loc": { "start": { - "line": 75, + "line": 76, "column": 19 }, "end": { - "line": 75, + "line": 76, "column": 20 } } @@ -8174,15 +8429,15 @@ "binop": null }, "value": "logger", - "start": 2039, - "end": 2045, + "start": 2075, + "end": 2081, "loc": { "start": { - "line": 75, + "line": 76, "column": 20 }, "end": { - "line": 75, + "line": 76, "column": 26 } } @@ -8200,15 +8455,15 @@ "binop": null, "updateContext": null }, - "start": 2045, - "end": 2046, + "start": 2081, + "end": 2082, "loc": { "start": { - "line": 75, + "line": 76, "column": 26 }, "end": { - "line": 75, + "line": 76, "column": 27 } } @@ -8226,15 +8481,15 @@ "binop": null }, "value": "prefix", - "start": 2046, - "end": 2052, + "start": 2082, + "end": 2088, "loc": { "start": { - "line": 75, + "line": 76, "column": 27 }, "end": { - "line": 75, + "line": 76, "column": 33 } } @@ -8251,15 +8506,15 @@ "postfix": false, "binop": null }, - "start": 2052, - "end": 2053, + "start": 2088, + "end": 2089, "loc": { "start": { - "line": 75, + "line": 76, "column": 33 }, "end": { - "line": 75, + "line": 76, "column": 34 } } @@ -8278,15 +8533,15 @@ "updateContext": null }, "value": "VYI-module", - "start": 2053, - "end": 2065, + "start": 2089, + "end": 2101, "loc": { "start": { - "line": 75, + "line": 76, "column": 34 }, "end": { - "line": 75, + "line": 76, "column": 46 } } @@ -8303,15 +8558,15 @@ "postfix": false, "binop": null }, - "start": 2065, - "end": 2066, + "start": 2101, + "end": 2102, "loc": { "start": { - "line": 75, + "line": 76, "column": 46 }, "end": { - "line": 75, + "line": 76, "column": 47 } } @@ -8329,15 +8584,15 @@ "binop": null, "updateContext": null }, - "start": 2066, - "end": 2067, + "start": 2102, + "end": 2103, "loc": { "start": { - "line": 75, + "line": 76, "column": 47 }, "end": { - "line": 75, + "line": 76, "column": 48 } } @@ -8355,15 +8610,15 @@ "binop": null }, "value": "error", - "start": 2067, - "end": 2072, + "start": 2103, + "end": 2108, "loc": { "start": { - "line": 75, + "line": 76, "column": 48 }, "end": { - "line": 75, + "line": 76, "column": 53 } } @@ -8380,15 +8635,15 @@ "postfix": false, "binop": null }, - "start": 2072, - "end": 2073, + "start": 2108, + "end": 2109, "loc": { "start": { - "line": 75, + "line": 76, "column": 53 }, "end": { - "line": 75, + "line": 76, "column": 54 } } @@ -8407,15 +8662,15 @@ "updateContext": null }, "value": "Invalid delay type!", - "start": 2073, - "end": 2094, + "start": 2109, + "end": 2130, "loc": { "start": { - "line": 75, + "line": 76, "column": 54 }, "end": { - "line": 75, + "line": 76, "column": 75 } } @@ -8432,15 +8687,15 @@ "postfix": false, "binop": null }, - "start": 2094, - "end": 2095, + "start": 2130, + "end": 2131, "loc": { "start": { - "line": 75, + "line": 76, "column": 75 }, "end": { - "line": 75, + "line": 76, "column": 76 } } @@ -8458,15 +8713,15 @@ "binop": null, "updateContext": null }, - "start": 2095, - "end": 2096, + "start": 2131, + "end": 2132, "loc": { "start": { - "line": 75, + "line": 76, "column": 76 }, "end": { - "line": 75, + "line": 76, "column": 77 } } @@ -8483,15 +8738,15 @@ "postfix": false, "binop": null }, - "start": 2110, - "end": 2111, + "start": 2146, + "end": 2147, "loc": { "start": { - "line": 76, + "line": 77, "column": 12 }, "end": { - "line": 76, + "line": 77, "column": 13 } } @@ -8508,15 +8763,15 @@ "postfix": false, "binop": null }, - "start": 2121, - "end": 2122, + "start": 2157, + "end": 2158, "loc": { "start": { - "line": 77, + "line": 78, "column": 8 }, "end": { - "line": 77, + "line": 78, "column": 9 } } @@ -8536,15 +8791,15 @@ "updateContext": null }, "value": "return", - "start": 2132, - "end": 2138, + "start": 2168, + "end": 2174, "loc": { "start": { - "line": 78, + "line": 79, "column": 8 }, "end": { - "line": 78, + "line": 79, "column": 14 } } @@ -8564,15 +8819,15 @@ "updateContext": null }, "value": "this", - "start": 2139, - "end": 2143, + "start": 2175, + "end": 2179, "loc": { "start": { - "line": 78, + "line": 79, "column": 15 }, "end": { - "line": 78, + "line": 79, "column": 19 } } @@ -8590,15 +8845,15 @@ "binop": null, "updateContext": null }, - "start": 2143, - "end": 2144, + "start": 2179, + "end": 2180, "loc": { "start": { - "line": 78, + "line": 79, "column": 19 }, "end": { - "line": 78, + "line": 79, "column": 20 } } @@ -8615,15 +8870,15 @@ "postfix": false, "binop": null }, - "start": 2150, - "end": 2151, + "start": 2186, + "end": 2187, "loc": { "start": { - "line": 79, + "line": 80, "column": 4 }, "end": { - "line": 79, + "line": 80, "column": 5 } } @@ -8631,15 +8886,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the delay of this frame.\r\n * @returns {number} The delay of this frame.\r\n ", - "start": 2157, - "end": 2258, + "start": 2193, + "end": 2294, "loc": { "start": { - "line": 80, + "line": 81, "column": 4 }, "end": { - "line": 83, + "line": 84, "column": 7 } } @@ -8657,15 +8912,15 @@ "binop": null }, "value": "getDelay", - "start": 2264, - "end": 2272, + "start": 2300, + "end": 2308, "loc": { "start": { - "line": 84, + "line": 85, "column": 4 }, "end": { - "line": 84, + "line": 85, "column": 12 } } @@ -8682,15 +8937,15 @@ "postfix": false, "binop": null }, - "start": 2272, - "end": 2273, + "start": 2308, + "end": 2309, "loc": { "start": { - "line": 84, + "line": 85, "column": 12 }, "end": { - "line": 84, + "line": 85, "column": 13 } } @@ -8707,15 +8962,15 @@ "postfix": false, "binop": null }, - "start": 2273, - "end": 2274, + "start": 2309, + "end": 2310, "loc": { "start": { - "line": 84, + "line": 85, "column": 13 }, "end": { - "line": 84, + "line": 85, "column": 14 } } @@ -8732,15 +8987,15 @@ "postfix": false, "binop": null }, - "start": 2275, - "end": 2276, + "start": 2311, + "end": 2312, "loc": { "start": { - "line": 84, + "line": 85, "column": 15 }, "end": { - "line": 84, + "line": 85, "column": 16 } } @@ -8760,15 +9015,15 @@ "updateContext": null }, "value": "return", - "start": 2286, - "end": 2292, + "start": 2322, + "end": 2328, "loc": { "start": { - "line": 85, + "line": 86, "column": 8 }, "end": { - "line": 85, + "line": 86, "column": 14 } } @@ -8788,15 +9043,15 @@ "updateContext": null }, "value": "this", - "start": 2293, - "end": 2297, + "start": 2329, + "end": 2333, "loc": { "start": { - "line": 85, + "line": 86, "column": 15 }, "end": { - "line": 85, + "line": 86, "column": 19 } } @@ -8814,15 +9069,15 @@ "binop": null, "updateContext": null }, - "start": 2297, - "end": 2298, + "start": 2333, + "end": 2334, "loc": { "start": { - "line": 85, + "line": 86, "column": 19 }, "end": { - "line": 85, + "line": 86, "column": 20 } } @@ -8840,15 +9095,15 @@ "binop": null }, "value": "delay", - "start": 2298, - "end": 2303, + "start": 2334, + "end": 2339, "loc": { "start": { - "line": 85, + "line": 86, "column": 20 }, "end": { - "line": 85, + "line": 86, "column": 25 } } @@ -8866,15 +9121,15 @@ "binop": null, "updateContext": null }, - "start": 2303, - "end": 2304, + "start": 2339, + "end": 2340, "loc": { "start": { - "line": 85, + "line": 86, "column": 25 }, "end": { - "line": 85, + "line": 86, "column": 26 } } @@ -8891,15 +9146,15 @@ "postfix": false, "binop": null }, - "start": 2310, - "end": 2311, + "start": 2346, + "end": 2347, "loc": { "start": { - "line": 86, + "line": 87, "column": 4 }, "end": { - "line": 86, + "line": 87, "column": 5 } } @@ -8907,15 +9162,15 @@ { "type": "CommentBlock", "value": "*\r\n * Sets the data url of this frame.\r\n * @param {DataURL} pDataURL - The base64 data of this image.\r\n * @returns {self} This frame instance.\r\n ", - "start": 2317, - "end": 2482, + "start": 2353, + "end": 2518, "loc": { "start": { - "line": 87, + "line": 88, "column": 4 }, "end": { - "line": 91, + "line": 92, "column": 7 } } @@ -8933,15 +9188,15 @@ "binop": null }, "value": "setDataURL", - "start": 2488, - "end": 2498, + "start": 2524, + "end": 2534, "loc": { "start": { - "line": 92, + "line": 93, "column": 4 }, "end": { - "line": 92, + "line": 93, "column": 14 } } @@ -8958,15 +9213,15 @@ "postfix": false, "binop": null }, - "start": 2498, - "end": 2499, + "start": 2534, + "end": 2535, "loc": { "start": { - "line": 92, + "line": 93, "column": 14 }, "end": { - "line": 92, + "line": 93, "column": 15 } } @@ -8984,15 +9239,15 @@ "binop": null }, "value": "pDataURL", - "start": 2499, - "end": 2507, + "start": 2535, + "end": 2543, "loc": { "start": { - "line": 92, + "line": 93, "column": 15 }, "end": { - "line": 92, + "line": 93, "column": 23 } } @@ -9009,15 +9264,15 @@ "postfix": false, "binop": null }, - "start": 2507, - "end": 2508, + "start": 2543, + "end": 2544, "loc": { "start": { - "line": 92, + "line": 93, "column": 23 }, "end": { - "line": 92, + "line": 93, "column": 24 } } @@ -9034,15 +9289,15 @@ "postfix": false, "binop": null }, - "start": 2509, - "end": 2510, + "start": 2545, + "end": 2546, "loc": { "start": { - "line": 92, + "line": 93, "column": 25 }, "end": { - "line": 92, + "line": 93, "column": 26 } } @@ -9062,15 +9317,15 @@ "updateContext": null }, "value": "if", - "start": 2520, - "end": 2522, + "start": 2556, + "end": 2558, "loc": { "start": { - "line": 93, + "line": 94, "column": 8 }, "end": { - "line": 93, + "line": 94, "column": 10 } } @@ -9087,15 +9342,15 @@ "postfix": false, "binop": null }, - "start": 2523, - "end": 2524, + "start": 2559, + "end": 2560, "loc": { "start": { - "line": 93, + "line": 94, "column": 11 }, "end": { - "line": 93, + "line": 94, "column": 12 } } @@ -9113,15 +9368,15 @@ "binop": null }, "value": "pDataURL", - "start": 2524, - "end": 2532, + "start": 2560, + "end": 2568, "loc": { "start": { - "line": 93, + "line": 94, "column": 12 }, "end": { - "line": 93, + "line": 94, "column": 20 } } @@ -9138,15 +9393,15 @@ "postfix": false, "binop": null }, - "start": 2532, - "end": 2533, + "start": 2568, + "end": 2569, "loc": { "start": { - "line": 93, + "line": 94, "column": 20 }, "end": { - "line": 93, + "line": 94, "column": 21 } } @@ -9163,15 +9418,15 @@ "postfix": false, "binop": null }, - "start": 2534, - "end": 2535, + "start": 2570, + "end": 2571, "loc": { "start": { - "line": 93, + "line": 94, "column": 22 }, "end": { - "line": 93, + "line": 94, "column": 23 } } @@ -9191,15 +9446,15 @@ "updateContext": null }, "value": "if", - "start": 2549, - "end": 2551, + "start": 2585, + "end": 2587, "loc": { "start": { - "line": 94, + "line": 95, "column": 12 }, "end": { - "line": 94, + "line": 95, "column": 14 } } @@ -9216,15 +9471,15 @@ "postfix": false, "binop": null }, - "start": 2552, - "end": 2553, + "start": 2588, + "end": 2589, "loc": { "start": { - "line": 94, + "line": 95, "column": 15 }, "end": { - "line": 94, + "line": 95, "column": 16 } } @@ -9244,15 +9499,15 @@ "updateContext": null }, "value": "typeof", - "start": 2553, - "end": 2559, + "start": 2589, + "end": 2595, "loc": { "start": { - "line": 94, + "line": 95, "column": 16 }, "end": { - "line": 94, + "line": 95, "column": 22 } } @@ -9269,15 +9524,15 @@ "postfix": false, "binop": null }, - "start": 2559, - "end": 2560, + "start": 2595, + "end": 2596, "loc": { "start": { - "line": 94, + "line": 95, "column": 22 }, "end": { - "line": 94, + "line": 95, "column": 23 } } @@ -9295,15 +9550,15 @@ "binop": null }, "value": "pDataURL", - "start": 2560, - "end": 2568, + "start": 2596, + "end": 2604, "loc": { "start": { - "line": 94, + "line": 95, "column": 23 }, "end": { - "line": 94, + "line": 95, "column": 31 } } @@ -9320,15 +9575,15 @@ "postfix": false, "binop": null }, - "start": 2568, - "end": 2569, + "start": 2604, + "end": 2605, "loc": { "start": { - "line": 94, + "line": 95, "column": 31 }, "end": { - "line": 94, + "line": 95, "column": 32 } } @@ -9347,15 +9602,15 @@ "updateContext": null }, "value": "===", - "start": 2570, - "end": 2573, + "start": 2606, + "end": 2609, "loc": { "start": { - "line": 94, + "line": 95, "column": 33 }, "end": { - "line": 94, + "line": 95, "column": 36 } } @@ -9374,15 +9629,15 @@ "updateContext": null }, "value": "string", - "start": 2574, - "end": 2582, + "start": 2610, + "end": 2618, "loc": { "start": { - "line": 94, + "line": 95, "column": 37 }, "end": { - "line": 94, + "line": 95, "column": 45 } } @@ -9399,15 +9654,15 @@ "postfix": false, "binop": null }, - "start": 2582, - "end": 2583, + "start": 2618, + "end": 2619, "loc": { "start": { - "line": 94, + "line": 95, "column": 45 }, "end": { - "line": 94, + "line": 95, "column": 46 } } @@ -9424,15 +9679,15 @@ "postfix": false, "binop": null }, - "start": 2584, - "end": 2585, + "start": 2620, + "end": 2621, "loc": { "start": { - "line": 94, + "line": 95, "column": 47 }, "end": { - "line": 94, + "line": 95, "column": 48 } } @@ -9452,15 +9707,15 @@ "updateContext": null }, "value": "this", - "start": 2603, - "end": 2607, + "start": 2639, + "end": 2643, "loc": { "start": { - "line": 95, + "line": 96, "column": 16 }, "end": { - "line": 95, + "line": 96, "column": 20 } } @@ -9478,15 +9733,15 @@ "binop": null, "updateContext": null }, - "start": 2607, - "end": 2608, + "start": 2643, + "end": 2644, "loc": { "start": { - "line": 95, + "line": 96, "column": 20 }, "end": { - "line": 95, + "line": 96, "column": 21 } } @@ -9504,15 +9759,15 @@ "binop": null }, "value": "dataURL", - "start": 2608, - "end": 2615, + "start": 2644, + "end": 2651, "loc": { "start": { - "line": 95, + "line": 96, "column": 21 }, "end": { - "line": 95, + "line": 96, "column": 28 } } @@ -9531,15 +9786,15 @@ "updateContext": null }, "value": "=", - "start": 2616, - "end": 2617, + "start": 2652, + "end": 2653, "loc": { "start": { - "line": 95, + "line": 96, "column": 29 }, "end": { - "line": 95, + "line": 96, "column": 30 } } @@ -9557,15 +9812,15 @@ "binop": null }, "value": "pDataURL", - "start": 2618, - "end": 2626, + "start": 2654, + "end": 2662, "loc": { "start": { - "line": 95, + "line": 96, "column": 31 }, "end": { - "line": 95, + "line": 96, "column": 39 } } @@ -9583,15 +9838,15 @@ "binop": null, "updateContext": null }, - "start": 2626, - "end": 2627, + "start": 2662, + "end": 2663, "loc": { "start": { - "line": 95, + "line": 96, "column": 39 }, "end": { - "line": 95, + "line": 96, "column": 40 } } @@ -9608,15 +9863,15 @@ "postfix": false, "binop": null }, - "start": 2641, - "end": 2642, + "start": 2677, + "end": 2678, "loc": { "start": { - "line": 96, + "line": 97, "column": 12 }, "end": { - "line": 96, + "line": 97, "column": 13 } } @@ -9636,15 +9891,15 @@ "updateContext": null }, "value": "else", - "start": 2643, - "end": 2647, + "start": 2679, + "end": 2683, "loc": { "start": { - "line": 96, + "line": 97, "column": 14 }, "end": { - "line": 96, + "line": 97, "column": 18 } } @@ -9661,15 +9916,15 @@ "postfix": false, "binop": null }, - "start": 2648, - "end": 2649, + "start": 2684, + "end": 2685, "loc": { "start": { - "line": 96, + "line": 97, "column": 19 }, "end": { - "line": 96, + "line": 97, "column": 20 } } @@ -9687,15 +9942,15 @@ "binop": null }, "value": "VYI", - "start": 2667, - "end": 2670, + "start": 2703, + "end": 2706, "loc": { "start": { - "line": 97, + "line": 98, "column": 16 }, "end": { - "line": 97, + "line": 98, "column": 19 } } @@ -9713,15 +9968,15 @@ "binop": null, "updateContext": null }, - "start": 2670, - "end": 2671, + "start": 2706, + "end": 2707, "loc": { "start": { - "line": 97, + "line": 98, "column": 19 }, "end": { - "line": 97, + "line": 98, "column": 20 } } @@ -9739,15 +9994,15 @@ "binop": null }, "value": "logger", - "start": 2671, - "end": 2677, + "start": 2707, + "end": 2713, "loc": { "start": { - "line": 97, + "line": 98, "column": 20 }, "end": { - "line": 97, + "line": 98, "column": 26 } } @@ -9765,15 +10020,15 @@ "binop": null, "updateContext": null }, - "start": 2677, - "end": 2678, + "start": 2713, + "end": 2714, "loc": { "start": { - "line": 97, + "line": 98, "column": 26 }, "end": { - "line": 97, + "line": 98, "column": 27 } } @@ -9791,15 +10046,15 @@ "binop": null }, "value": "prefix", - "start": 2678, - "end": 2684, + "start": 2714, + "end": 2720, "loc": { "start": { - "line": 97, + "line": 98, "column": 27 }, "end": { - "line": 97, + "line": 98, "column": 33 } } @@ -9816,15 +10071,15 @@ "postfix": false, "binop": null }, - "start": 2684, - "end": 2685, + "start": 2720, + "end": 2721, "loc": { "start": { - "line": 97, + "line": 98, "column": 33 }, "end": { - "line": 97, + "line": 98, "column": 34 } } @@ -9843,15 +10098,15 @@ "updateContext": null }, "value": "VYI-module", - "start": 2685, - "end": 2697, + "start": 2721, + "end": 2733, "loc": { "start": { - "line": 97, + "line": 98, "column": 34 }, "end": { - "line": 97, + "line": 98, "column": 46 } } @@ -9868,15 +10123,15 @@ "postfix": false, "binop": null }, - "start": 2697, - "end": 2698, + "start": 2733, + "end": 2734, "loc": { "start": { - "line": 97, + "line": 98, "column": 46 }, "end": { - "line": 97, + "line": 98, "column": 47 } } @@ -9894,15 +10149,15 @@ "binop": null, "updateContext": null }, - "start": 2698, - "end": 2699, + "start": 2734, + "end": 2735, "loc": { "start": { - "line": 97, + "line": 98, "column": 47 }, "end": { - "line": 97, + "line": 98, "column": 48 } } @@ -9920,15 +10175,15 @@ "binop": null }, "value": "error", - "start": 2699, - "end": 2704, + "start": 2735, + "end": 2740, "loc": { "start": { - "line": 97, + "line": 98, "column": 48 }, "end": { - "line": 97, + "line": 98, "column": 53 } } @@ -9945,15 +10200,15 @@ "postfix": false, "binop": null }, - "start": 2704, - "end": 2705, + "start": 2740, + "end": 2741, "loc": { "start": { - "line": 97, + "line": 98, "column": 53 }, "end": { - "line": 97, + "line": 98, "column": 54 } } @@ -9972,15 +10227,15 @@ "updateContext": null }, "value": "Invalid data url type!", - "start": 2705, - "end": 2729, + "start": 2741, + "end": 2765, "loc": { "start": { - "line": 97, + "line": 98, "column": 54 }, "end": { - "line": 97, + "line": 98, "column": 78 } } @@ -9997,15 +10252,15 @@ "postfix": false, "binop": null }, - "start": 2729, - "end": 2730, + "start": 2765, + "end": 2766, "loc": { "start": { - "line": 97, + "line": 98, "column": 78 }, "end": { - "line": 97, + "line": 98, "column": 79 } } @@ -10023,15 +10278,15 @@ "binop": null, "updateContext": null }, - "start": 2730, - "end": 2731, + "start": 2766, + "end": 2767, "loc": { "start": { - "line": 97, + "line": 98, "column": 79 }, "end": { - "line": 97, + "line": 98, "column": 80 } } @@ -10048,15 +10303,15 @@ "postfix": false, "binop": null }, - "start": 2745, - "end": 2746, + "start": 2781, + "end": 2782, "loc": { "start": { - "line": 98, + "line": 99, "column": 12 }, "end": { - "line": 98, + "line": 99, "column": 13 } } @@ -10073,15 +10328,15 @@ "postfix": false, "binop": null }, - "start": 2756, - "end": 2757, + "start": 2792, + "end": 2793, "loc": { "start": { - "line": 99, + "line": 100, "column": 8 }, "end": { - "line": 99, + "line": 100, "column": 9 } } @@ -10101,15 +10356,15 @@ "updateContext": null }, "value": "return", - "start": 2767, - "end": 2773, + "start": 2803, + "end": 2809, "loc": { "start": { - "line": 100, + "line": 101, "column": 8 }, "end": { - "line": 100, + "line": 101, "column": 14 } } @@ -10129,15 +10384,15 @@ "updateContext": null }, "value": "this", - "start": 2774, - "end": 2778, + "start": 2810, + "end": 2814, "loc": { "start": { - "line": 100, + "line": 101, "column": 15 }, "end": { - "line": 100, + "line": 101, "column": 19 } } @@ -10155,15 +10410,15 @@ "binop": null, "updateContext": null }, - "start": 2778, - "end": 2779, + "start": 2814, + "end": 2815, "loc": { "start": { - "line": 100, + "line": 101, "column": 19 }, "end": { - "line": 100, + "line": 101, "column": 20 } } @@ -10180,15 +10435,15 @@ "postfix": false, "binop": null }, - "start": 2785, - "end": 2786, + "start": 2821, + "end": 2822, "loc": { "start": { - "line": 101, + "line": 102, "column": 4 }, "end": { - "line": 101, + "line": 102, "column": 5 } } @@ -10196,15 +10451,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the data URL of this frame.\r\n * @returns {DataURL} - The base64 data of this image.\r\n ", - "start": 2792, - "end": 2905, + "start": 2828, + "end": 2941, "loc": { "start": { - "line": 102, + "line": 103, "column": 4 }, "end": { - "line": 105, + "line": 106, "column": 7 } } @@ -10222,15 +10477,15 @@ "binop": null }, "value": "getDataURL", - "start": 2911, - "end": 2921, + "start": 2947, + "end": 2957, "loc": { "start": { - "line": 106, + "line": 107, "column": 4 }, "end": { - "line": 106, + "line": 107, "column": 14 } } @@ -10247,15 +10502,15 @@ "postfix": false, "binop": null }, - "start": 2921, - "end": 2922, + "start": 2957, + "end": 2958, "loc": { "start": { - "line": 106, + "line": 107, "column": 14 }, "end": { - "line": 106, + "line": 107, "column": 15 } } @@ -10272,15 +10527,15 @@ "postfix": false, "binop": null }, - "start": 2922, - "end": 2923, + "start": 2958, + "end": 2959, "loc": { "start": { - "line": 106, + "line": 107, "column": 15 }, "end": { - "line": 106, + "line": 107, "column": 16 } } @@ -10297,15 +10552,15 @@ "postfix": false, "binop": null }, - "start": 2924, - "end": 2925, + "start": 2960, + "end": 2961, "loc": { "start": { - "line": 106, + "line": 107, "column": 17 }, "end": { - "line": 106, + "line": 107, "column": 18 } } @@ -10325,15 +10580,15 @@ "updateContext": null }, "value": "return", - "start": 2935, - "end": 2941, + "start": 2971, + "end": 2977, "loc": { "start": { - "line": 107, + "line": 108, "column": 8 }, "end": { - "line": 107, + "line": 108, "column": 14 } } @@ -10353,15 +10608,15 @@ "updateContext": null }, "value": "this", - "start": 2942, - "end": 2946, + "start": 2978, + "end": 2982, "loc": { "start": { - "line": 107, + "line": 108, "column": 15 }, "end": { - "line": 107, + "line": 108, "column": 19 } } @@ -10379,15 +10634,15 @@ "binop": null, "updateContext": null }, - "start": 2946, - "end": 2947, + "start": 2982, + "end": 2983, "loc": { "start": { - "line": 107, + "line": 108, "column": 19 }, "end": { - "line": 107, + "line": 108, "column": 20 } } @@ -10405,15 +10660,15 @@ "binop": null }, "value": "dataURL", - "start": 2947, - "end": 2954, + "start": 2983, + "end": 2990, "loc": { "start": { - "line": 107, + "line": 108, "column": 20 }, "end": { - "line": 107, + "line": 108, "column": 27 } } @@ -10431,15 +10686,15 @@ "binop": null, "updateContext": null }, - "start": 2954, - "end": 2955, + "start": 2990, + "end": 2991, "loc": { "start": { - "line": 107, + "line": 108, "column": 27 }, "end": { - "line": 107, + "line": 108, "column": 28 } } @@ -10456,15 +10711,15 @@ "postfix": false, "binop": null }, - "start": 2961, - "end": 2962, + "start": 2997, + "end": 2998, "loc": { "start": { - "line": 108, + "line": 109, "column": 4 }, "end": { - "line": 108, + "line": 109, "column": 5 } } @@ -10472,15 +10727,15 @@ { "type": "CommentBlock", "value": "*\r\n * Exports this frame's data into proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this frame in the proper vyi format.\r\n ", - "start": 2968, - "end": 3145, + "start": 3004, + "end": 3181, "loc": { "start": { - "line": 109, + "line": 110, "column": 4 }, "end": { - "line": 113, + "line": 114, "column": 7 } } @@ -10500,15 +10755,15 @@ "updateContext": null }, "value": "export", - "start": 3151, - "end": 3157, + "start": 3187, + "end": 3193, "loc": { "start": { - "line": 114, + "line": 115, "column": 4 }, "end": { - "line": 114, + "line": 115, "column": 10 } } @@ -10525,15 +10780,15 @@ "postfix": false, "binop": null }, - "start": 3157, - "end": 3158, + "start": 3193, + "end": 3194, "loc": { "start": { - "line": 114, + "line": 115, "column": 10 }, "end": { - "line": 114, + "line": 115, "column": 11 } } @@ -10550,15 +10805,15 @@ "postfix": false, "binop": null }, - "start": 3158, - "end": 3159, + "start": 3194, + "end": 3195, "loc": { "start": { - "line": 114, + "line": 115, "column": 11 }, "end": { - "line": 114, + "line": 115, "column": 12 } } @@ -10575,15 +10830,15 @@ "postfix": false, "binop": null }, - "start": 3160, - "end": 3161, + "start": 3196, + "end": 3197, "loc": { "start": { - "line": 114, + "line": 115, "column": 13 }, "end": { - "line": 114, + "line": 115, "column": 14 } } @@ -10603,15 +10858,15 @@ "updateContext": null }, "value": "const", - "start": 3171, - "end": 3176, + "start": 3207, + "end": 3212, "loc": { "start": { - "line": 115, + "line": 116, "column": 8 }, "end": { - "line": 115, + "line": 116, "column": 13 } } @@ -10629,15 +10884,15 @@ "binop": null }, "value": "frameData", - "start": 3177, - "end": 3186, + "start": 3213, + "end": 3222, "loc": { "start": { - "line": 115, + "line": 116, "column": 14 }, "end": { - "line": 115, + "line": 116, "column": 23 } } @@ -10656,15 +10911,15 @@ "updateContext": null }, "value": "=", - "start": 3187, - "end": 3188, + "start": 3223, + "end": 3224, "loc": { "start": { - "line": 115, + "line": 116, "column": 24 }, "end": { - "line": 115, + "line": 116, "column": 25 } } @@ -10682,15 +10937,15 @@ "binop": null, "updateContext": null }, - "start": 3189, - "end": 3190, + "start": 3225, + "end": 3226, "loc": { "start": { - "line": 115, + "line": 116, "column": 26 }, "end": { - "line": 115, + "line": 116, "column": 27 } } @@ -10708,15 +10963,15 @@ "binop": null, "updateContext": null }, - "start": 3190, - "end": 3191, + "start": 3226, + "end": 3227, "loc": { "start": { - "line": 115, + "line": 116, "column": 27 }, "end": { - "line": 115, + "line": 116, "column": 28 } } @@ -10734,15 +10989,15 @@ "binop": null, "updateContext": null }, - "start": 3191, - "end": 3192, + "start": 3227, + "end": 3228, "loc": { "start": { - "line": 115, + "line": 116, "column": 28 }, "end": { - "line": 115, + "line": 116, "column": 29 } } @@ -10750,15 +11005,15 @@ { "type": "CommentLine", "value": " frame dataURL", - "start": 3202, - "end": 3218, + "start": 3238, + "end": 3254, "loc": { "start": { - "line": 116, + "line": 117, "column": 8 }, "end": { - "line": 116, + "line": 117, "column": 24 } } @@ -10776,15 +11031,15 @@ "binop": null }, "value": "frameData", - "start": 3228, - "end": 3237, + "start": 3264, + "end": 3273, "loc": { "start": { - "line": 117, + "line": 118, "column": 8 }, "end": { - "line": 117, + "line": 118, "column": 17 } } @@ -10802,15 +11057,15 @@ "binop": null, "updateContext": null }, - "start": 3237, - "end": 3238, + "start": 3273, + "end": 3274, "loc": { "start": { - "line": 117, + "line": 118, "column": 17 }, "end": { - "line": 117, + "line": 118, "column": 18 } } @@ -10829,15 +11084,15 @@ "updateContext": null }, "value": 0, - "start": 3238, - "end": 3239, + "start": 3274, + "end": 3275, "loc": { "start": { - "line": 117, + "line": 118, "column": 18 }, "end": { - "line": 117, + "line": 118, "column": 19 } } @@ -10855,15 +11110,15 @@ "binop": null, "updateContext": null }, - "start": 3239, - "end": 3240, + "start": 3275, + "end": 3276, "loc": { "start": { - "line": 117, + "line": 118, "column": 19 }, "end": { - "line": 117, + "line": 118, "column": 20 } } @@ -10882,15 +11137,15 @@ "updateContext": null }, "value": "=", - "start": 3241, - "end": 3242, + "start": 3277, + "end": 3278, "loc": { "start": { - "line": 117, + "line": 118, "column": 21 }, "end": { - "line": 117, + "line": 118, "column": 22 } } @@ -10910,15 +11165,15 @@ "updateContext": null }, "value": "this", - "start": 3243, - "end": 3247, + "start": 3279, + "end": 3283, "loc": { "start": { - "line": 117, + "line": 118, "column": 23 }, "end": { - "line": 117, + "line": 118, "column": 27 } } @@ -10936,15 +11191,15 @@ "binop": null, "updateContext": null }, - "start": 3247, - "end": 3248, + "start": 3283, + "end": 3284, "loc": { "start": { - "line": 117, + "line": 118, "column": 27 }, "end": { - "line": 117, + "line": 118, "column": 28 } } @@ -10962,15 +11217,15 @@ "binop": null }, "value": "getDataURL", - "start": 3248, - "end": 3258, + "start": 3284, + "end": 3294, "loc": { "start": { - "line": 117, + "line": 118, "column": 28 }, "end": { - "line": 117, + "line": 118, "column": 38 } } @@ -10987,15 +11242,15 @@ "postfix": false, "binop": null }, - "start": 3258, - "end": 3259, + "start": 3294, + "end": 3295, "loc": { "start": { - "line": 117, + "line": 118, "column": 38 }, "end": { - "line": 117, + "line": 118, "column": 39 } } @@ -11012,15 +11267,15 @@ "postfix": false, "binop": null }, - "start": 3259, - "end": 3260, + "start": 3295, + "end": 3296, "loc": { "start": { - "line": 117, + "line": 118, "column": 39 }, "end": { - "line": 117, + "line": 118, "column": 40 } } @@ -11038,15 +11293,15 @@ "binop": null, "updateContext": null }, - "start": 3260, - "end": 3261, + "start": 3296, + "end": 3297, "loc": { "start": { - "line": 117, + "line": 118, "column": 40 }, "end": { - "line": 117, + "line": 118, "column": 41 } } @@ -11054,15 +11309,15 @@ { "type": "CommentLine", "value": " We do not have to store the delay if it is the default value of 100. This will save data.", - "start": 3271, - "end": 3363, + "start": 3307, + "end": 3399, "loc": { "start": { - "line": 118, + "line": 119, "column": 8 }, "end": { - "line": 118, + "line": 119, "column": 100 } } @@ -11082,15 +11337,15 @@ "updateContext": null }, "value": "const", - "start": 3373, - "end": 3378, + "start": 3409, + "end": 3414, "loc": { "start": { - "line": 119, + "line": 120, "column": 8 }, "end": { - "line": 119, + "line": 120, "column": 13 } } @@ -11108,15 +11363,15 @@ "binop": null }, "value": "delayIsDefault", - "start": 3379, - "end": 3393, + "start": 3415, + "end": 3429, "loc": { "start": { - "line": 119, + "line": 120, "column": 14 }, "end": { - "line": 119, + "line": 120, "column": 28 } } @@ -11135,15 +11390,15 @@ "updateContext": null }, "value": "=", - "start": 3394, - "end": 3395, + "start": 3430, + "end": 3431, "loc": { "start": { - "line": 119, + "line": 120, "column": 29 }, "end": { - "line": 119, + "line": 120, "column": 30 } } @@ -11163,15 +11418,15 @@ "updateContext": null }, "value": "this", - "start": 3396, - "end": 3400, + "start": 3432, + "end": 3436, "loc": { "start": { - "line": 119, + "line": 120, "column": 31 }, "end": { - "line": 119, + "line": 120, "column": 35 } } @@ -11189,15 +11444,15 @@ "binop": null, "updateContext": null }, - "start": 3400, - "end": 3401, + "start": 3436, + "end": 3437, "loc": { "start": { - "line": 119, + "line": 120, "column": 35 }, "end": { - "line": 119, + "line": 120, "column": 36 } } @@ -11215,15 +11470,15 @@ "binop": null }, "value": "getDelay", - "start": 3401, - "end": 3409, + "start": 3437, + "end": 3445, "loc": { "start": { - "line": 119, + "line": 120, "column": 36 }, "end": { - "line": 119, + "line": 120, "column": 44 } } @@ -11240,15 +11495,15 @@ "postfix": false, "binop": null }, - "start": 3409, - "end": 3410, + "start": 3445, + "end": 3446, "loc": { "start": { - "line": 119, + "line": 120, "column": 44 }, "end": { - "line": 119, + "line": 120, "column": 45 } } @@ -11265,15 +11520,15 @@ "postfix": false, "binop": null }, - "start": 3410, - "end": 3411, + "start": 3446, + "end": 3447, "loc": { "start": { - "line": 119, + "line": 120, "column": 45 }, "end": { - "line": 119, + "line": 120, "column": 46 } } @@ -11292,15 +11547,15 @@ "updateContext": null }, "value": "===", - "start": 3412, - "end": 3415, + "start": 3448, + "end": 3451, "loc": { "start": { - "line": 119, + "line": 120, "column": 47 }, "end": { - "line": 119, + "line": 120, "column": 50 } } @@ -11318,15 +11573,15 @@ "binop": null }, "value": "Frame", - "start": 3416, - "end": 3421, + "start": 3452, + "end": 3457, "loc": { "start": { - "line": 119, + "line": 120, "column": 51 }, "end": { - "line": 119, + "line": 120, "column": 56 } } @@ -11344,15 +11599,15 @@ "binop": null, "updateContext": null }, - "start": 3421, - "end": 3422, + "start": 3457, + "end": 3458, "loc": { "start": { - "line": 119, + "line": 120, "column": 56 }, "end": { - "line": 119, + "line": 120, "column": 57 } } @@ -11370,15 +11625,15 @@ "binop": null }, "value": "defaultDelay", - "start": 3422, - "end": 3434, + "start": 3458, + "end": 3470, "loc": { "start": { - "line": 119, + "line": 120, "column": 57 }, "end": { - "line": 119, + "line": 120, "column": 69 } } @@ -11396,15 +11651,15 @@ "binop": null, "updateContext": null }, - "start": 3434, - "end": 3435, + "start": 3470, + "end": 3471, "loc": { "start": { - "line": 119, + "line": 120, "column": 69 }, "end": { - "line": 119, + "line": 120, "column": 70 } } @@ -11424,15 +11679,15 @@ "updateContext": null }, "value": "if", - "start": 3445, - "end": 3447, + "start": 3481, + "end": 3483, "loc": { "start": { - "line": 120, + "line": 121, "column": 8 }, "end": { - "line": 120, + "line": 121, "column": 10 } } @@ -11449,15 +11704,15 @@ "postfix": false, "binop": null }, - "start": 3448, - "end": 3449, + "start": 3484, + "end": 3485, "loc": { "start": { - "line": 120, + "line": 121, "column": 11 }, "end": { - "line": 120, + "line": 121, "column": 12 } } @@ -11476,15 +11731,15 @@ "updateContext": null }, "value": "!", - "start": 3449, - "end": 3450, + "start": 3485, + "end": 3486, "loc": { "start": { - "line": 120, + "line": 121, "column": 12 }, "end": { - "line": 120, + "line": 121, "column": 13 } } @@ -11502,15 +11757,15 @@ "binop": null }, "value": "delayIsDefault", - "start": 3450, - "end": 3464, + "start": 3486, + "end": 3500, "loc": { "start": { - "line": 120, + "line": 121, "column": 13 }, "end": { - "line": 120, + "line": 121, "column": 27 } } @@ -11527,15 +11782,15 @@ "postfix": false, "binop": null }, - "start": 3464, - "end": 3465, + "start": 3500, + "end": 3501, "loc": { "start": { - "line": 120, + "line": 121, "column": 27 }, "end": { - "line": 120, + "line": 121, "column": 28 } } @@ -11552,15 +11807,15 @@ "postfix": false, "binop": null }, - "start": 3466, - "end": 3467, + "start": 3502, + "end": 3503, "loc": { "start": { - "line": 120, + "line": 121, "column": 29 }, "end": { - "line": 120, + "line": 121, "column": 30 } } @@ -11568,15 +11823,15 @@ { "type": "CommentLine", "value": " frame delay", - "start": 3481, - "end": 3495, + "start": 3517, + "end": 3531, "loc": { "start": { - "line": 121, + "line": 122, "column": 12 }, "end": { - "line": 121, + "line": 122, "column": 26 } } @@ -11594,15 +11849,15 @@ "binop": null }, "value": "frameData", - "start": 3509, - "end": 3518, + "start": 3545, + "end": 3554, "loc": { "start": { - "line": 122, + "line": 123, "column": 12 }, "end": { - "line": 122, + "line": 123, "column": 21 } } @@ -11620,15 +11875,15 @@ "binop": null, "updateContext": null }, - "start": 3518, - "end": 3519, + "start": 3554, + "end": 3555, "loc": { "start": { - "line": 122, + "line": 123, "column": 21 }, "end": { - "line": 122, + "line": 123, "column": 22 } } @@ -11647,15 +11902,15 @@ "updateContext": null }, "value": 1, - "start": 3519, - "end": 3520, + "start": 3555, + "end": 3556, "loc": { "start": { - "line": 122, + "line": 123, "column": 22 }, "end": { - "line": 122, + "line": 123, "column": 23 } } @@ -11673,15 +11928,15 @@ "binop": null, "updateContext": null }, - "start": 3520, - "end": 3521, + "start": 3556, + "end": 3557, "loc": { "start": { - "line": 122, + "line": 123, "column": 23 }, "end": { - "line": 122, + "line": 123, "column": 24 } } @@ -11700,15 +11955,15 @@ "updateContext": null }, "value": "=", - "start": 3522, - "end": 3523, + "start": 3558, + "end": 3559, "loc": { "start": { - "line": 122, + "line": 123, "column": 25 }, "end": { - "line": 122, + "line": 123, "column": 26 } } @@ -11728,15 +11983,15 @@ "updateContext": null }, "value": "this", - "start": 3524, - "end": 3528, + "start": 3560, + "end": 3564, "loc": { "start": { - "line": 122, + "line": 123, "column": 27 }, "end": { - "line": 122, + "line": 123, "column": 31 } } @@ -11754,15 +12009,15 @@ "binop": null, "updateContext": null }, - "start": 3528, - "end": 3529, + "start": 3564, + "end": 3565, "loc": { "start": { - "line": 122, + "line": 123, "column": 31 }, "end": { - "line": 122, + "line": 123, "column": 32 } } @@ -11780,15 +12035,15 @@ "binop": null }, "value": "getDelay", - "start": 3529, - "end": 3537, + "start": 3565, + "end": 3573, "loc": { "start": { - "line": 122, + "line": 123, "column": 32 }, "end": { - "line": 122, + "line": 123, "column": 40 } } @@ -11805,15 +12060,15 @@ "postfix": false, "binop": null }, - "start": 3537, - "end": 3538, + "start": 3573, + "end": 3574, "loc": { "start": { - "line": 122, + "line": 123, "column": 40 }, "end": { - "line": 122, + "line": 123, "column": 41 } } @@ -11830,15 +12085,15 @@ "postfix": false, "binop": null }, - "start": 3538, - "end": 3539, + "start": 3574, + "end": 3575, "loc": { "start": { - "line": 122, + "line": 123, "column": 41 }, "end": { - "line": 122, + "line": 123, "column": 42 } } @@ -11856,15 +12111,15 @@ "binop": null, "updateContext": null }, - "start": 3539, - "end": 3540, + "start": 3575, + "end": 3576, "loc": { "start": { - "line": 122, + "line": 123, "column": 42 }, "end": { - "line": 122, + "line": 123, "column": 43 } } @@ -11881,15 +12136,15 @@ "postfix": false, "binop": null }, - "start": 3550, - "end": 3551, + "start": 3586, + "end": 3587, "loc": { "start": { - "line": 123, + "line": 124, "column": 8 }, "end": { - "line": 123, + "line": 124, "column": 9 } } @@ -11909,15 +12164,15 @@ "updateContext": null }, "value": "return", - "start": 3561, - "end": 3567, + "start": 3597, + "end": 3603, "loc": { "start": { - "line": 124, + "line": 125, "column": 8 }, "end": { - "line": 124, + "line": 125, "column": 14 } } @@ -11935,15 +12190,15 @@ "binop": null }, "value": "frameData", - "start": 3568, - "end": 3577, + "start": 3604, + "end": 3613, "loc": { "start": { - "line": 124, + "line": 125, "column": 15 }, "end": { - "line": 124, + "line": 125, "column": 24 } } @@ -11961,15 +12216,15 @@ "binop": null, "updateContext": null }, - "start": 3577, - "end": 3578, + "start": 3613, + "end": 3614, "loc": { "start": { - "line": 124, + "line": 125, "column": 24 }, "end": { - "line": 124, + "line": 125, "column": 25 } } @@ -11986,15 +12241,15 @@ "postfix": false, "binop": null }, - "start": 3584, - "end": 3585, + "start": 3620, + "end": 3621, "loc": { "start": { - "line": 125, + "line": 126, "column": 4 }, "end": { - "line": 125, + "line": 126, "column": 5 } } @@ -12011,15 +12266,15 @@ "postfix": false, "binop": null }, - "start": 3587, - "end": 3588, + "start": 3623, + "end": 3624, "loc": { "start": { - "line": 126, + "line": 127, "column": 0 }, "end": { - "line": 126, + "line": 127, "column": 1 } } @@ -12037,15 +12292,15 @@ "binop": null, "updateContext": null }, - "start": 3588, - "end": 3588, + "start": 3624, + "end": 3624, "loc": { "start": { - "line": 126, + "line": 127, "column": 1 }, "end": { - "line": 126, + "line": 127, "column": 1 } } diff --git a/docs/ast/source/icon.mjs.json b/docs/ast/source/icon.mjs.json index 8b7ac2e..9e81da3 100644 --- a/docs/ast/source/icon.mjs.json +++ b/docs/ast/source/icon.mjs.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 18037, + "end": 17999, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 511, + "line": 510, "column": 1 } }, "program": { "type": "Program", "start": 0, - "end": 18037, + "end": 17999, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 511, + "line": 510, "column": 1 } }, @@ -203,14 +203,14 @@ { "type": "ExportNamedDeclaration", "start": 74, - "end": 18037, + "end": 17999, "loc": { "start": { "line": 4, "column": 0 }, "end": { - "line": 511, + "line": 510, "column": 1 } }, @@ -219,14 +219,14 @@ "declaration": { "type": "ClassDeclaration", "start": 81, - "end": 18037, + "end": 17999, "loc": { "start": { "line": 4, "column": 7 }, "end": { - "line": 511, + "line": 510, "column": 1 } }, @@ -251,14 +251,14 @@ "body": { "type": "ClassBody", "start": 92, - "end": 18037, + "end": 17999, "loc": { "start": { "line": 4, "column": 18 }, "end": { - "line": 511, + "line": 510, "column": 1 } }, @@ -11208,14 +11208,14 @@ { "type": "ClassMethod", "start": 9091, - "end": 9739, + "end": 9701, "loc": { "start": { "line": 279, "column": 4 }, "end": { - "line": 295, + "line": 294, "column": 5 } }, @@ -11266,14 +11266,14 @@ "body": { "type": "BlockStatement", "start": 9112, - "end": 9739, + "end": 9701, "loc": { "start": { "line": 279, "column": 25 }, "end": { - "line": 295, + "line": 294, "column": 5 } }, @@ -11281,14 +11281,14 @@ { "type": "IfStatement", "start": 9123, - "end": 9732, + "end": 9694, "loc": { "start": { "line": 280, "column": 8 }, "end": { - "line": 294, + "line": 293, "column": 9 } }, @@ -11312,14 +11312,14 @@ "consequent": { "type": "BlockStatement", "start": 9139, - "end": 9637, + "end": 9599, "loc": { "start": { "line": 280, "column": 24 }, "end": { - "line": 292, + "line": 291, "column": 9 } }, @@ -11327,14 +11327,14 @@ { "type": "IfStatement", "start": 9154, - "end": 9626, + "end": 9588, "loc": { "start": { "line": 281, "column": 12 }, "end": { - "line": 291, + "line": 290, "column": 13 } }, @@ -11391,14 +11391,14 @@ "consequent": { "type": "BlockStatement", "start": 9188, - "end": 9518, + "end": 9480, "loc": { "start": { "line": 281, "column": 46 }, "end": { - "line": 289, + "line": 288, "column": 13 } }, @@ -11517,116 +11517,20 @@ } } ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 9267, - "end": 9287, - "loc": { - "start": { - "line": 283, - "column": 16 - }, - "end": { - "line": 283, - "column": 36 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 9267, - "end": 9286, - "loc": { - "start": { - "line": 283, - "column": 16 - }, - "end": { - "line": 283, - "column": 35 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 9267, - "end": 9279, - "loc": { - "start": { - "line": 283, - "column": 16 - }, - "end": { - "line": 283, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 9267, - "end": 9272, - "loc": { - "start": { - "line": 283, - "column": 16 - }, - "end": { - "line": 283, - "column": 21 - }, - "identifierName": "frame" - }, - "name": "frame" - }, - "property": { - "type": "Identifier", - "start": 9273, - "end": 9279, - "loc": { - "start": { - "line": 283, - "column": 22 - }, - "end": { - "line": 283, - "column": 28 - }, - "identifierName": "parent" - }, - "name": "parent" - }, - "computed": false - }, - "right": { - "type": "ThisExpression", - "start": 9282, - "end": 9286, - "loc": { - "start": { - "line": 283, - "column": 31 - }, - "end": { - "line": 283, - "column": 35 - } - } - } - }, + "kind": "const", "trailingComments": [ { "type": "CommentLine", "value": " Add the frame to the frames array.", - "start": 9305, - "end": 9342, + "start": 9267, + "end": 9304, "loc": { "start": { - "line": 284, + "line": 283, "column": 16 }, "end": { - "line": 284, + "line": 283, "column": 53 } } @@ -11635,71 +11539,71 @@ }, { "type": "ExpressionStatement", - "start": 9360, - "end": 9384, + "start": 9322, + "end": 9346, "loc": { "start": { - "line": 285, + "line": 284, "column": 16 }, "end": { - "line": 285, + "line": 284, "column": 40 } }, "expression": { "type": "CallExpression", - "start": 9360, - "end": 9383, + "start": 9322, + "end": 9345, "loc": { "start": { - "line": 285, + "line": 284, "column": 16 }, "end": { - "line": 285, + "line": 284, "column": 39 } }, "callee": { "type": "MemberExpression", - "start": 9360, - "end": 9376, + "start": 9322, + "end": 9338, "loc": { "start": { - "line": 285, + "line": 284, "column": 16 }, "end": { - "line": 285, + "line": 284, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 9360, - "end": 9371, + "start": 9322, + "end": 9333, "loc": { "start": { - "line": 285, + "line": 284, "column": 16 }, "end": { - "line": 285, + "line": 284, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 9360, - "end": 9364, + "start": 9322, + "end": 9326, "loc": { "start": { - "line": 285, + "line": 284, "column": 16 }, "end": { - "line": 285, + "line": 284, "column": 20 } }, @@ -11707,15 +11611,15 @@ }, "property": { "type": "Identifier", - "start": 9365, - "end": 9371, + "start": 9327, + "end": 9333, "loc": { "start": { - "line": 285, + "line": 284, "column": 21 }, "end": { - "line": 285, + "line": 284, "column": 27 }, "identifierName": "frames" @@ -11727,15 +11631,15 @@ }, "property": { "type": "Identifier", - "start": 9372, - "end": 9376, + "start": 9334, + "end": 9338, "loc": { "start": { - "line": 285, + "line": 284, "column": 28 }, "end": { - "line": 285, + "line": 284, "column": 32 }, "identifierName": "push" @@ -11748,15 +11652,15 @@ "arguments": [ { "type": "Identifier", - "start": 9377, - "end": 9382, + "start": 9339, + "end": 9344, "loc": { "start": { - "line": 285, + "line": 284, "column": 33 }, "end": { - "line": 285, + "line": 284, "column": 38 }, "identifierName": "frame" @@ -11770,15 +11674,15 @@ { "type": "CommentLine", "value": " Add the frame to the frames array.", - "start": 9305, - "end": 9342, + "start": 9267, + "end": 9304, "loc": { "start": { - "line": 284, + "line": 283, "column": 16 }, "end": { - "line": 284, + "line": 283, "column": 53 } } @@ -11788,15 +11692,15 @@ { "type": "CommentLine", "value": " Re-index frames after a change", - "start": 9402, - "end": 9435, + "start": 9364, + "end": 9397, "loc": { "start": { - "line": 286, + "line": 285, "column": 16 }, "end": { - "line": 286, + "line": 285, "column": 49 } } @@ -11805,57 +11709,57 @@ }, { "type": "ExpressionStatement", - "start": 9453, - "end": 9472, + "start": 9415, + "end": 9434, "loc": { "start": { - "line": 287, + "line": 286, "column": 16 }, "end": { - "line": 287, + "line": 286, "column": 35 } }, "expression": { "type": "CallExpression", - "start": 9453, - "end": 9471, + "start": 9415, + "end": 9433, "loc": { "start": { - "line": 287, + "line": 286, "column": 16 }, "end": { - "line": 287, + "line": 286, "column": 34 } }, "callee": { "type": "MemberExpression", - "start": 9453, - "end": 9469, + "start": 9415, + "end": 9431, "loc": { "start": { - "line": 287, + "line": 286, "column": 16 }, "end": { - "line": 287, + "line": 286, "column": 32 } }, "object": { "type": "ThisExpression", - "start": 9453, - "end": 9457, + "start": 9415, + "end": 9419, "loc": { "start": { - "line": 287, + "line": 286, "column": 16 }, "end": { - "line": 287, + "line": 286, "column": 20 } }, @@ -11863,15 +11767,15 @@ }, "property": { "type": "Identifier", - "start": 9458, - "end": 9469, + "start": 9420, + "end": 9431, "loc": { "start": { - "line": 287, + "line": 286, "column": 21 }, "end": { - "line": 287, + "line": 286, "column": 32 }, "identifierName": "indexFrames" @@ -11888,15 +11792,15 @@ { "type": "CommentLine", "value": " Re-index frames after a change", - "start": 9402, - "end": 9435, + "start": 9364, + "end": 9397, "loc": { "start": { - "line": 286, + "line": 285, "column": 16 }, "end": { - "line": 286, + "line": 285, "column": 49 } } @@ -11905,29 +11809,29 @@ }, { "type": "ReturnStatement", - "start": 9490, - "end": 9503, + "start": 9452, + "end": 9465, "loc": { "start": { - "line": 288, + "line": 287, "column": 16 }, "end": { - "line": 288, + "line": 287, "column": 29 } }, "argument": { "type": "Identifier", - "start": 9497, - "end": 9502, + "start": 9459, + "end": 9464, "loc": { "start": { - "line": 288, + "line": 287, "column": 23 }, "end": { - "line": 288, + "line": 287, "column": 28 }, "identifierName": "frame" @@ -11940,114 +11844,114 @@ }, "alternate": { "type": "BlockStatement", - "start": 9524, - "end": 9626, + "start": 9486, + "end": 9588, "loc": { "start": { - "line": 289, + "line": 288, "column": 19 }, "end": { - "line": 291, + "line": 290, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 9543, - "end": 9611, + "start": 9505, + "end": 9573, "loc": { "start": { - "line": 290, + "line": 289, "column": 16 }, "end": { - "line": 290, + "line": 289, "column": 84 } }, "expression": { "type": "CallExpression", - "start": 9543, - "end": 9610, + "start": 9505, + "end": 9572, "loc": { "start": { - "line": 290, + "line": 289, "column": 16 }, "end": { - "line": 290, + "line": 289, "column": 83 } }, "callee": { "type": "MemberExpression", - "start": 9543, - "end": 9580, + "start": 9505, + "end": 9542, "loc": { "start": { - "line": 290, + "line": 289, "column": 16 }, "end": { - "line": 290, + "line": 289, "column": 53 } }, "object": { "type": "CallExpression", - "start": 9543, - "end": 9574, + "start": 9505, + "end": 9536, "loc": { "start": { - "line": 290, + "line": 289, "column": 16 }, "end": { - "line": 290, + "line": 289, "column": 47 } }, "callee": { "type": "MemberExpression", - "start": 9543, - "end": 9560, + "start": 9505, + "end": 9522, "loc": { "start": { - "line": 290, + "line": 289, "column": 16 }, "end": { - "line": 290, + "line": 289, "column": 33 } }, "object": { "type": "MemberExpression", - "start": 9543, - "end": 9553, + "start": 9505, + "end": 9515, "loc": { "start": { - "line": 290, + "line": 289, "column": 16 }, "end": { - "line": 290, + "line": 289, "column": 26 } }, "object": { "type": "Identifier", - "start": 9543, - "end": 9546, + "start": 9505, + "end": 9508, "loc": { "start": { - "line": 290, + "line": 289, "column": 16 }, "end": { - "line": 290, + "line": 289, "column": 19 }, "identifierName": "VYI" @@ -12056,15 +11960,15 @@ }, "property": { "type": "Identifier", - "start": 9547, - "end": 9553, + "start": 9509, + "end": 9515, "loc": { "start": { - "line": 290, + "line": 289, "column": 20 }, "end": { - "line": 290, + "line": 289, "column": 26 }, "identifierName": "logger" @@ -12075,15 +11979,15 @@ }, "property": { "type": "Identifier", - "start": 9554, - "end": 9560, + "start": 9516, + "end": 9522, "loc": { "start": { - "line": 290, + "line": 289, "column": 27 }, "end": { - "line": 290, + "line": 289, "column": 33 }, "identifierName": "prefix" @@ -12095,15 +11999,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 9561, - "end": 9573, + "start": 9523, + "end": 9535, "loc": { "start": { - "line": 290, + "line": 289, "column": 34 }, "end": { - "line": 290, + "line": 289, "column": 46 } }, @@ -12117,15 +12021,15 @@ }, "property": { "type": "Identifier", - "start": 9575, - "end": 9580, + "start": 9537, + "end": 9542, "loc": { "start": { - "line": 290, + "line": 289, "column": 48 }, "end": { - "line": 290, + "line": 289, "column": 53 }, "identifierName": "error" @@ -12137,15 +12041,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 9581, - "end": 9609, + "start": 9543, + "end": 9571, "loc": { "start": { - "line": 290, + "line": 289, "column": 54 }, "end": { - "line": 290, + "line": 289, "column": 82 } }, @@ -12167,114 +12071,114 @@ }, "alternate": { "type": "BlockStatement", - "start": 9643, - "end": 9732, + "start": 9605, + "end": 9694, "loc": { "start": { - "line": 292, + "line": 291, "column": 15 }, "end": { - "line": 294, + "line": 293, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 9658, - "end": 9721, + "start": 9620, + "end": 9683, "loc": { "start": { - "line": 293, + "line": 292, "column": 12 }, "end": { - "line": 293, + "line": 292, "column": 75 } }, "expression": { "type": "CallExpression", - "start": 9658, - "end": 9720, + "start": 9620, + "end": 9682, "loc": { "start": { - "line": 293, + "line": 292, "column": 12 }, "end": { - "line": 293, + "line": 292, "column": 74 } }, "callee": { "type": "MemberExpression", - "start": 9658, - "end": 9695, + "start": 9620, + "end": 9657, "loc": { "start": { - "line": 293, + "line": 292, "column": 12 }, "end": { - "line": 293, + "line": 292, "column": 49 } }, "object": { "type": "CallExpression", - "start": 9658, - "end": 9689, + "start": 9620, + "end": 9651, "loc": { "start": { - "line": 293, + "line": 292, "column": 12 }, "end": { - "line": 293, + "line": 292, "column": 43 } }, "callee": { "type": "MemberExpression", - "start": 9658, - "end": 9675, + "start": 9620, + "end": 9637, "loc": { "start": { - "line": 293, + "line": 292, "column": 12 }, "end": { - "line": 293, + "line": 292, "column": 29 } }, "object": { "type": "MemberExpression", - "start": 9658, - "end": 9668, + "start": 9620, + "end": 9630, "loc": { "start": { - "line": 293, + "line": 292, "column": 12 }, "end": { - "line": 293, + "line": 292, "column": 22 } }, "object": { "type": "Identifier", - "start": 9658, - "end": 9661, + "start": 9620, + "end": 9623, "loc": { "start": { - "line": 293, + "line": 292, "column": 12 }, "end": { - "line": 293, + "line": 292, "column": 15 }, "identifierName": "VYI" @@ -12283,15 +12187,15 @@ }, "property": { "type": "Identifier", - "start": 9662, - "end": 9668, + "start": 9624, + "end": 9630, "loc": { "start": { - "line": 293, + "line": 292, "column": 16 }, "end": { - "line": 293, + "line": 292, "column": 22 }, "identifierName": "logger" @@ -12302,15 +12206,15 @@ }, "property": { "type": "Identifier", - "start": 9669, - "end": 9675, + "start": 9631, + "end": 9637, "loc": { "start": { - "line": 293, + "line": 292, "column": 23 }, "end": { - "line": 293, + "line": 292, "column": 29 }, "identifierName": "prefix" @@ -12322,15 +12226,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 9676, - "end": 9688, + "start": 9638, + "end": 9650, "loc": { "start": { - "line": 293, + "line": 292, "column": 30 }, "end": { - "line": 293, + "line": 292, "column": 42 } }, @@ -12344,15 +12248,15 @@ }, "property": { "type": "Identifier", - "start": 9690, - "end": 9695, + "start": 9652, + "end": 9657, "loc": { "start": { - "line": 293, + "line": 292, "column": 44 }, "end": { - "line": 293, + "line": 292, "column": 49 }, "identifierName": "error" @@ -12364,15 +12268,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 9696, - "end": 9719, + "start": 9658, + "end": 9681, "loc": { "start": { - "line": 293, + "line": 292, "column": 50 }, "end": { - "line": 293, + "line": 292, "column": 73 } }, @@ -12415,15 +12319,15 @@ { "type": "CommentBlock", "value": "*\r\n * Removes the frame passed or the frame that exists at pIndex.\r\n * @param {Frame} pFrame - The frame to remove from this icon. pIndex should be not be used in tandem with this method of removing.\r\n * @param {number} pIndex - The index of the frame to remove. pFrame must be undefined to use this method for removing.\r\n * @returns {self} This icon instance.\r\n ", - "start": 9745, - "end": 10132, + "start": 9707, + "end": 10094, "loc": { "start": { - "line": 296, + "line": 295, "column": 4 }, "end": { - "line": 301, + "line": 300, "column": 7 } } @@ -12432,15 +12336,15 @@ }, { "type": "ClassMethod", - "start": 10138, - "end": 11109, + "start": 10100, + "end": 11071, "loc": { "start": { - "line": 302, + "line": 301, "column": 4 }, "end": { - "line": 328, + "line": 327, "column": 5 } }, @@ -12448,15 +12352,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10138, - "end": 10149, + "start": 10100, + "end": 10111, "loc": { "start": { - "line": 302, + "line": 301, "column": 4 }, "end": { - "line": 302, + "line": 301, "column": 15 }, "identifierName": "removeFrame" @@ -12472,15 +12376,15 @@ "params": [ { "type": "Identifier", - "start": 10150, - "end": 10156, + "start": 10112, + "end": 10118, "loc": { "start": { - "line": 302, + "line": 301, "column": 16 }, "end": { - "line": 302, + "line": 301, "column": 22 }, "identifierName": "pFrame" @@ -12489,15 +12393,15 @@ }, { "type": "Identifier", - "start": 10158, - "end": 10164, + "start": 10120, + "end": 10126, "loc": { "start": { - "line": 302, + "line": 301, "column": 24 }, "end": { - "line": 302, + "line": 301, "column": 30 }, "identifierName": "pIndex" @@ -12507,59 +12411,59 @@ ], "body": { "type": "BlockStatement", - "start": 10166, - "end": 11109, + "start": 10128, + "end": 11071, "loc": { "start": { - "line": 302, + "line": 301, "column": 32 }, "end": { - "line": 328, + "line": 327, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 10226, - "end": 10236, + "start": 10188, + "end": 10198, "loc": { "start": { - "line": 304, + "line": 303, "column": 8 }, "end": { - "line": 304, + "line": 303, "column": 18 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 10230, - "end": 10235, + "start": 10192, + "end": 10197, "loc": { "start": { - "line": 304, + "line": 303, "column": 12 }, "end": { - "line": 304, + "line": 303, "column": 17 } }, "id": { "type": "Identifier", - "start": 10230, - "end": 10235, + "start": 10192, + "end": 10197, "loc": { "start": { - "line": 304, + "line": 303, "column": 12 }, "end": { - "line": 304, + "line": 303, "column": 17 }, "identifierName": "index" @@ -12576,15 +12480,15 @@ { "type": "CommentLine", "value": " The index used to remove this frame.", - "start": 10177, - "end": 10216, + "start": 10139, + "end": 10178, "loc": { "start": { - "line": 303, + "line": 302, "column": 8 }, "end": { - "line": 303, + "line": 302, "column": 47 } } @@ -12594,15 +12498,15 @@ { "type": "CommentLine", "value": " Remove via reference to frame.", - "start": 10246, - "end": 10279, + "start": 10208, + "end": 10241, "loc": { "start": { - "line": 305, + "line": 304, "column": 8 }, "end": { - "line": 305, + "line": 304, "column": 41 } } @@ -12611,71 +12515,71 @@ }, { "type": "IfStatement", - "start": 10289, - "end": 10870, + "start": 10251, + "end": 10832, "loc": { "start": { - "line": 306, + "line": 305, "column": 8 }, "end": { - "line": 320, + "line": 319, "column": 9 } }, "test": { "type": "CallExpression", - "start": 10293, - "end": 10321, + "start": 10255, + "end": 10283, "loc": { "start": { - "line": 306, + "line": 305, "column": 12 }, "end": { - "line": 306, + "line": 305, "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 10293, - "end": 10313, + "start": 10255, + "end": 10275, "loc": { "start": { - "line": 306, + "line": 305, "column": 12 }, "end": { - "line": 306, + "line": 305, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 10293, - "end": 10304, + "start": 10255, + "end": 10266, "loc": { "start": { - "line": 306, + "line": 305, "column": 12 }, "end": { - "line": 306, + "line": 305, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 10293, - "end": 10297, + "start": 10255, + "end": 10259, "loc": { "start": { - "line": 306, + "line": 305, "column": 12 }, "end": { - "line": 306, + "line": 305, "column": 16 } }, @@ -12683,15 +12587,15 @@ }, "property": { "type": "Identifier", - "start": 10298, - "end": 10304, + "start": 10260, + "end": 10266, "loc": { "start": { - "line": 306, + "line": 305, "column": 17 }, "end": { - "line": 306, + "line": 305, "column": 23 }, "identifierName": "frames" @@ -12703,15 +12607,15 @@ }, "property": { "type": "Identifier", - "start": 10305, - "end": 10313, + "start": 10267, + "end": 10275, "loc": { "start": { - "line": 306, + "line": 305, "column": 24 }, "end": { - "line": 306, + "line": 305, "column": 32 }, "identifierName": "includes" @@ -12724,15 +12628,15 @@ "arguments": [ { "type": "Identifier", - "start": 10314, - "end": 10320, + "start": 10276, + "end": 10282, "loc": { "start": { - "line": 306, + "line": 305, "column": 33 }, "end": { - "line": 306, + "line": 305, "column": 39 }, "identifierName": "pFrame" @@ -12744,59 +12648,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 10323, - "end": 10422, + "start": 10285, + "end": 10384, "loc": { "start": { - "line": 306, + "line": 305, "column": 42 }, "end": { - "line": 309, + "line": 308, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 10338, - "end": 10374, + "start": 10300, + "end": 10336, "loc": { "start": { - "line": 307, + "line": 306, "column": 12 }, "end": { - "line": 307, + "line": 306, "column": 48 } }, "expression": { "type": "AssignmentExpression", - "start": 10338, - "end": 10373, + "start": 10300, + "end": 10335, "loc": { "start": { - "line": 307, + "line": 306, "column": 12 }, "end": { - "line": 307, + "line": 306, "column": 47 } }, "operator": "=", "left": { "type": "Identifier", - "start": 10338, - "end": 10343, + "start": 10300, + "end": 10305, "loc": { "start": { - "line": 307, + "line": 306, "column": 12 }, "end": { - "line": 307, + "line": 306, "column": 17 }, "identifierName": "index" @@ -12805,72 +12709,72 @@ }, "right": { "type": "CallExpression", - "start": 10346, - "end": 10373, + "start": 10308, + "end": 10335, "loc": { "start": { - "line": 307, + "line": 306, "column": 20 }, "end": { - "line": 307, + "line": 306, "column": 47 } }, "callee": { "type": "MemberExpression", - "start": 10346, - "end": 10365, + "start": 10308, + "end": 10327, "loc": { "start": { - "line": 307, + "line": 306, "column": 20 }, "end": { - "line": 307, + "line": 306, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 10346, - "end": 10357, + "start": 10308, + "end": 10319, "loc": { "start": { - "line": 307, + "line": 306, "column": 20 }, "end": { - "line": 307, + "line": 306, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 10346, - "end": 10350, + "start": 10308, + "end": 10312, "loc": { "start": { - "line": 307, + "line": 306, "column": 20 }, "end": { - "line": 307, + "line": 306, "column": 24 } } }, "property": { "type": "Identifier", - "start": 10351, - "end": 10357, + "start": 10313, + "end": 10319, "loc": { "start": { - "line": 307, + "line": 306, "column": 25 }, "end": { - "line": 307, + "line": 306, "column": 31 }, "identifierName": "frames" @@ -12881,15 +12785,15 @@ }, "property": { "type": "Identifier", - "start": 10358, - "end": 10365, + "start": 10320, + "end": 10327, "loc": { "start": { - "line": 307, + "line": 306, "column": 32 }, "end": { - "line": 307, + "line": 306, "column": 39 }, "identifierName": "indexOf" @@ -12901,15 +12805,15 @@ "arguments": [ { "type": "Identifier", - "start": 10366, - "end": 10372, + "start": 10328, + "end": 10334, "loc": { "start": { - "line": 307, + "line": 306, "column": 40 }, "end": { - "line": 307, + "line": 306, "column": 46 }, "identifierName": "pFrame" @@ -12923,15 +12827,15 @@ { "type": "CommentLine", "value": " Remove via index passed.", - "start": 10384, - "end": 10411, + "start": 10346, + "end": 10373, "loc": { "start": { - "line": 308, + "line": 307, "column": 8 }, "end": { - "line": 308, + "line": 307, "column": 35 } } @@ -12943,43 +12847,43 @@ }, "alternate": { "type": "IfStatement", - "start": 10428, - "end": 10870, + "start": 10390, + "end": 10832, "loc": { "start": { - "line": 309, + "line": 308, "column": 15 }, "end": { - "line": 320, + "line": 319, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 10432, - "end": 10454, + "start": 10394, + "end": 10416, "loc": { "start": { - "line": 309, + "line": 308, "column": 19 }, "end": { - "line": 309, + "line": 308, "column": 41 } }, "left": { "type": "Identifier", - "start": 10432, - "end": 10438, + "start": 10394, + "end": 10400, "loc": { "start": { - "line": 309, + "line": 308, "column": 19 }, "end": { - "line": 309, + "line": 308, "column": 25 }, "identifierName": "pIndex" @@ -12989,29 +12893,29 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 10442, - "end": 10454, + "start": 10404, + "end": 10416, "loc": { "start": { - "line": 309, + "line": 308, "column": 29 }, "end": { - "line": 309, + "line": 308, "column": 41 } }, "left": { "type": "Identifier", - "start": 10442, - "end": 10448, + "start": 10404, + "end": 10410, "loc": { "start": { - "line": 309, + "line": 308, "column": 29 }, "end": { - "line": 309, + "line": 308, "column": 35 }, "identifierName": "pIndex" @@ -13021,15 +12925,15 @@ "operator": "===", "right": { "type": "NumericLiteral", - "start": 10453, - "end": 10454, + "start": 10415, + "end": 10416, "loc": { "start": { - "line": 309, + "line": 308, "column": 40 }, "end": { - "line": 309, + "line": 308, "column": 41 } }, @@ -13043,58 +12947,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 10456, - "end": 10773, + "start": 10418, + "end": 10735, "loc": { "start": { - "line": 309, + "line": 308, "column": 43 }, "end": { - "line": 318, + "line": 317, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 10471, - "end": 10762, + "start": 10433, + "end": 10724, "loc": { "start": { - "line": 310, + "line": 309, "column": 12 }, "end": { - "line": 317, + "line": 316, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 10475, - "end": 10502, + "start": 10437, + "end": 10464, "loc": { "start": { - "line": 310, + "line": 309, "column": 16 }, "end": { - "line": 310, + "line": 309, "column": 43 } }, "left": { "type": "UnaryExpression", - "start": 10475, - "end": 10489, + "start": 10437, + "end": 10451, "loc": { "start": { - "line": 310, + "line": 309, "column": 16 }, "end": { - "line": 310, + "line": 309, "column": 30 } }, @@ -13102,15 +13006,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 10482, - "end": 10488, + "start": 10444, + "end": 10450, "loc": { "start": { - "line": 310, + "line": 309, "column": 23 }, "end": { - "line": 310, + "line": 309, "column": 29 }, "identifierName": "pIndex" @@ -13118,7 +13022,7 @@ "name": "pIndex", "extra": { "parenthesized": true, - "parenStart": 10481 + "parenStart": 10443 } }, "extra": { @@ -13128,15 +13032,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 10494, - "end": 10502, + "start": 10456, + "end": 10464, "loc": { "start": { - "line": 310, + "line": 309, "column": 35 }, "end": { - "line": 310, + "line": 309, "column": 43 } }, @@ -13149,59 +13053,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 10504, - "end": 10660, + "start": 10466, + "end": 10622, "loc": { "start": { - "line": 310, + "line": 309, "column": 45 }, "end": { - "line": 315, + "line": 314, "column": 13 } }, "body": [ { "type": "VariableDeclaration", - "start": 10523, - "end": 10559, + "start": 10485, + "end": 10521, "loc": { "start": { - "line": 311, + "line": 310, "column": 16 }, "end": { - "line": 311, + "line": 310, "column": 52 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 10529, - "end": 10558, + "start": 10491, + "end": 10520, "loc": { "start": { - "line": 311, + "line": 310, "column": 22 }, "end": { - "line": 311, + "line": 310, "column": 51 } }, "id": { "type": "Identifier", - "start": 10529, - "end": 10534, + "start": 10491, + "end": 10496, "loc": { "start": { - "line": 311, + "line": 310, "column": 22 }, "end": { - "line": 311, + "line": 310, "column": 27 }, "identifierName": "frame" @@ -13210,58 +13114,58 @@ }, "init": { "type": "CallExpression", - "start": 10537, - "end": 10558, + "start": 10499, + "end": 10520, "loc": { "start": { - "line": 311, + "line": 310, "column": 30 }, "end": { - "line": 311, + "line": 310, "column": 51 } }, "callee": { "type": "MemberExpression", - "start": 10537, - "end": 10550, + "start": 10499, + "end": 10512, "loc": { "start": { - "line": 311, + "line": 310, "column": 30 }, "end": { - "line": 311, + "line": 310, "column": 43 } }, "object": { "type": "ThisExpression", - "start": 10537, - "end": 10541, + "start": 10499, + "end": 10503, "loc": { "start": { - "line": 311, + "line": 310, "column": 30 }, "end": { - "line": 311, + "line": 310, "column": 34 } } }, "property": { "type": "Identifier", - "start": 10542, - "end": 10550, + "start": 10504, + "end": 10512, "loc": { "start": { - "line": 311, + "line": 310, "column": 35 }, "end": { - "line": 311, + "line": 310, "column": 43 }, "identifierName": "getFrame" @@ -13273,15 +13177,15 @@ "arguments": [ { "type": "Identifier", - "start": 10551, - "end": 10557, + "start": 10513, + "end": 10519, "loc": { "start": { - "line": 311, + "line": 310, "column": 44 }, "end": { - "line": 311, + "line": 310, "column": 50 }, "identifierName": "pIndex" @@ -13296,29 +13200,29 @@ }, { "type": "IfStatement", - "start": 10577, - "end": 10645, + "start": 10539, + "end": 10607, "loc": { "start": { - "line": 312, + "line": 311, "column": 16 }, "end": { - "line": 314, + "line": 313, "column": 17 } }, "test": { "type": "Identifier", - "start": 10581, - "end": 10586, + "start": 10543, + "end": 10548, "loc": { "start": { - "line": 312, + "line": 311, "column": 20 }, "end": { - "line": 312, + "line": 311, "column": 25 }, "identifierName": "frame" @@ -13327,59 +13231,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 10588, - "end": 10645, + "start": 10550, + "end": 10607, "loc": { "start": { - "line": 312, + "line": 311, "column": 27 }, "end": { - "line": 314, + "line": 313, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 10611, - "end": 10626, + "start": 10573, + "end": 10588, "loc": { "start": { - "line": 313, + "line": 312, "column": 20 }, "end": { - "line": 313, + "line": 312, "column": 35 } }, "expression": { "type": "AssignmentExpression", - "start": 10611, - "end": 10625, + "start": 10573, + "end": 10587, "loc": { "start": { - "line": 313, + "line": 312, "column": 20 }, "end": { - "line": 313, + "line": 312, "column": 34 } }, "operator": "=", "left": { "type": "Identifier", - "start": 10611, - "end": 10616, + "start": 10573, + "end": 10578, "loc": { "start": { - "line": 313, + "line": 312, "column": 20 }, "end": { - "line": 313, + "line": 312, "column": 25 }, "identifierName": "index" @@ -13388,15 +13292,15 @@ }, "right": { "type": "Identifier", - "start": 10619, - "end": 10625, + "start": 10581, + "end": 10587, "loc": { "start": { - "line": 313, + "line": 312, "column": 28 }, "end": { - "line": 313, + "line": 312, "column": 34 }, "identifierName": "pIndex" @@ -13415,114 +13319,114 @@ }, "alternate": { "type": "BlockStatement", - "start": 10666, - "end": 10762, + "start": 10628, + "end": 10724, "loc": { "start": { - "line": 315, + "line": 314, "column": 19 }, "end": { - "line": 317, + "line": 316, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 10685, - "end": 10747, + "start": 10647, + "end": 10709, "loc": { "start": { - "line": 316, + "line": 315, "column": 16 }, "end": { - "line": 316, + "line": 315, "column": 78 } }, "expression": { "type": "CallExpression", - "start": 10685, - "end": 10746, + "start": 10647, + "end": 10708, "loc": { "start": { - "line": 316, + "line": 315, "column": 16 }, "end": { - "line": 316, + "line": 315, "column": 77 } }, "callee": { "type": "MemberExpression", - "start": 10685, - "end": 10722, + "start": 10647, + "end": 10684, "loc": { "start": { - "line": 316, + "line": 315, "column": 16 }, "end": { - "line": 316, + "line": 315, "column": 53 } }, "object": { "type": "CallExpression", - "start": 10685, - "end": 10716, + "start": 10647, + "end": 10678, "loc": { "start": { - "line": 316, + "line": 315, "column": 16 }, "end": { - "line": 316, + "line": 315, "column": 47 } }, "callee": { "type": "MemberExpression", - "start": 10685, - "end": 10702, + "start": 10647, + "end": 10664, "loc": { "start": { - "line": 316, + "line": 315, "column": 16 }, "end": { - "line": 316, + "line": 315, "column": 33 } }, "object": { "type": "MemberExpression", - "start": 10685, - "end": 10695, + "start": 10647, + "end": 10657, "loc": { "start": { - "line": 316, + "line": 315, "column": 16 }, "end": { - "line": 316, + "line": 315, "column": 26 } }, "object": { "type": "Identifier", - "start": 10685, - "end": 10688, + "start": 10647, + "end": 10650, "loc": { "start": { - "line": 316, + "line": 315, "column": 16 }, "end": { - "line": 316, + "line": 315, "column": 19 }, "identifierName": "VYI" @@ -13531,15 +13435,15 @@ }, "property": { "type": "Identifier", - "start": 10689, - "end": 10695, + "start": 10651, + "end": 10657, "loc": { "start": { - "line": 316, + "line": 315, "column": 20 }, "end": { - "line": 316, + "line": 315, "column": 26 }, "identifierName": "logger" @@ -13550,15 +13454,15 @@ }, "property": { "type": "Identifier", - "start": 10696, - "end": 10702, + "start": 10658, + "end": 10664, "loc": { "start": { - "line": 316, + "line": 315, "column": 27 }, "end": { - "line": 316, + "line": 315, "column": 33 }, "identifierName": "prefix" @@ -13570,15 +13474,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 10703, - "end": 10715, + "start": 10665, + "end": 10677, "loc": { "start": { - "line": 316, + "line": 315, "column": 34 }, "end": { - "line": 316, + "line": 315, "column": 46 } }, @@ -13592,15 +13496,15 @@ }, "property": { "type": "Identifier", - "start": 10717, - "end": 10722, + "start": 10679, + "end": 10684, "loc": { "start": { - "line": 316, + "line": 315, "column": 48 }, "end": { - "line": 316, + "line": 315, "column": 53 }, "identifierName": "error" @@ -13612,15 +13516,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 10723, - "end": 10745, + "start": 10685, + "end": 10707, "loc": { "start": { - "line": 316, + "line": 315, "column": 54 }, "end": { - "line": 316, + "line": 315, "column": 76 } }, @@ -13642,114 +13546,114 @@ }, "alternate": { "type": "BlockStatement", - "start": 10779, - "end": 10870, + "start": 10741, + "end": 10832, "loc": { "start": { - "line": 318, + "line": 317, "column": 15 }, "end": { - "line": 320, + "line": 319, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 10794, - "end": 10859, + "start": 10756, + "end": 10821, "loc": { "start": { - "line": 319, + "line": 318, "column": 12 }, "end": { - "line": 319, + "line": 318, "column": 77 } }, "expression": { "type": "CallExpression", - "start": 10794, - "end": 10858, + "start": 10756, + "end": 10820, "loc": { "start": { - "line": 319, + "line": 318, "column": 12 }, "end": { - "line": 319, + "line": 318, "column": 76 } }, "callee": { "type": "MemberExpression", - "start": 10794, - "end": 10831, + "start": 10756, + "end": 10793, "loc": { "start": { - "line": 319, + "line": 318, "column": 12 }, "end": { - "line": 319, + "line": 318, "column": 49 } }, "object": { "type": "CallExpression", - "start": 10794, - "end": 10825, + "start": 10756, + "end": 10787, "loc": { "start": { - "line": 319, + "line": 318, "column": 12 }, "end": { - "line": 319, + "line": 318, "column": 43 } }, "callee": { "type": "MemberExpression", - "start": 10794, - "end": 10811, + "start": 10756, + "end": 10773, "loc": { "start": { - "line": 319, + "line": 318, "column": 12 }, "end": { - "line": 319, + "line": 318, "column": 29 } }, "object": { "type": "MemberExpression", - "start": 10794, - "end": 10804, + "start": 10756, + "end": 10766, "loc": { "start": { - "line": 319, + "line": 318, "column": 12 }, "end": { - "line": 319, + "line": 318, "column": 22 } }, "object": { "type": "Identifier", - "start": 10794, - "end": 10797, + "start": 10756, + "end": 10759, "loc": { "start": { - "line": 319, + "line": 318, "column": 12 }, "end": { - "line": 319, + "line": 318, "column": 15 }, "identifierName": "VYI" @@ -13758,15 +13662,15 @@ }, "property": { "type": "Identifier", - "start": 10798, - "end": 10804, + "start": 10760, + "end": 10766, "loc": { "start": { - "line": 319, + "line": 318, "column": 16 }, "end": { - "line": 319, + "line": 318, "column": 22 }, "identifierName": "logger" @@ -13777,15 +13681,15 @@ }, "property": { "type": "Identifier", - "start": 10805, - "end": 10811, + "start": 10767, + "end": 10773, "loc": { "start": { - "line": 319, + "line": 318, "column": 23 }, "end": { - "line": 319, + "line": 318, "column": 29 }, "identifierName": "prefix" @@ -13797,15 +13701,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 10812, - "end": 10824, + "start": 10774, + "end": 10786, "loc": { "start": { - "line": 319, + "line": 318, "column": 30 }, "end": { - "line": 319, + "line": 318, "column": 42 } }, @@ -13819,15 +13723,15 @@ }, "property": { "type": "Identifier", - "start": 10826, - "end": 10831, + "start": 10788, + "end": 10793, "loc": { "start": { - "line": 319, + "line": 318, "column": 44 }, "end": { - "line": 319, + "line": 318, "column": 49 }, "identifierName": "error" @@ -13839,15 +13743,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 10832, - "end": 10857, + "start": 10794, + "end": 10819, "loc": { "start": { - "line": 319, + "line": 318, "column": 50 }, "end": { - "line": 319, + "line": 318, "column": 75 } }, @@ -13868,15 +13772,15 @@ { "type": "CommentLine", "value": " Remove via reference to frame.", - "start": 10246, - "end": 10279, + "start": 10208, + "end": 10241, "loc": { "start": { - "line": 305, + "line": 304, "column": 8 }, "end": { - "line": 305, + "line": 304, "column": 41 } } @@ -13885,43 +13789,43 @@ }, { "type": "IfStatement", - "start": 10880, - "end": 11080, + "start": 10842, + "end": 11042, "loc": { "start": { - "line": 321, + "line": 320, "column": 8 }, "end": { - "line": 326, + "line": 325, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 10884, - "end": 10910, + "start": 10846, + "end": 10872, "loc": { "start": { - "line": 321, + "line": 320, "column": 12 }, "end": { - "line": 321, + "line": 320, "column": 38 } }, "left": { "type": "UnaryExpression", - "start": 10884, - "end": 10897, + "start": 10846, + "end": 10859, "loc": { "start": { - "line": 321, + "line": 320, "column": 12 }, "end": { - "line": 321, + "line": 320, "column": 25 } }, @@ -13929,15 +13833,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 10891, - "end": 10896, + "start": 10853, + "end": 10858, "loc": { "start": { - "line": 321, + "line": 320, "column": 19 }, "end": { - "line": 321, + "line": 320, "column": 24 }, "identifierName": "index" @@ -13945,7 +13849,7 @@ "name": "index", "extra": { "parenthesized": true, - "parenStart": 10890 + "parenStart": 10852 } }, "extra": { @@ -13955,15 +13859,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 10902, - "end": 10910, + "start": 10864, + "end": 10872, "loc": { "start": { - "line": 321, + "line": 320, "column": 30 }, "end": { - "line": 321, + "line": 320, "column": 38 } }, @@ -13976,86 +13880,86 @@ }, "consequent": { "type": "BlockStatement", - "start": 10912, - "end": 11080, + "start": 10874, + "end": 11042, "loc": { "start": { - "line": 321, + "line": 320, "column": 40 }, "end": { - "line": 326, + "line": 325, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 10960, - "end": 10989, + "start": 10922, + "end": 10951, "loc": { "start": { - "line": 323, + "line": 322, "column": 12 }, "end": { - "line": 323, + "line": 322, "column": 41 } }, "expression": { "type": "CallExpression", - "start": 10960, - "end": 10988, + "start": 10922, + "end": 10950, "loc": { "start": { - "line": 323, + "line": 322, "column": 12 }, "end": { - "line": 323, + "line": 322, "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 10960, - "end": 10978, + "start": 10922, + "end": 10940, "loc": { "start": { - "line": 323, + "line": 322, "column": 12 }, "end": { - "line": 323, + "line": 322, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 10960, - "end": 10971, + "start": 10922, + "end": 10933, "loc": { "start": { - "line": 323, + "line": 322, "column": 12 }, "end": { - "line": 323, + "line": 322, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 10960, - "end": 10964, + "start": 10922, + "end": 10926, "loc": { "start": { - "line": 323, + "line": 322, "column": 12 }, "end": { - "line": 323, + "line": 322, "column": 16 } }, @@ -14063,15 +13967,15 @@ }, "property": { "type": "Identifier", - "start": 10965, - "end": 10971, + "start": 10927, + "end": 10933, "loc": { "start": { - "line": 323, + "line": 322, "column": 17 }, "end": { - "line": 323, + "line": 322, "column": 23 }, "identifierName": "frames" @@ -14083,15 +13987,15 @@ }, "property": { "type": "Identifier", - "start": 10972, - "end": 10978, + "start": 10934, + "end": 10940, "loc": { "start": { - "line": 323, + "line": 322, "column": 24 }, "end": { - "line": 323, + "line": 322, "column": 30 }, "identifierName": "splice" @@ -14104,15 +14008,15 @@ "arguments": [ { "type": "Identifier", - "start": 10979, - "end": 10984, + "start": 10941, + "end": 10946, "loc": { "start": { - "line": 323, + "line": 322, "column": 31 }, "end": { - "line": 323, + "line": 322, "column": 36 }, "identifierName": "index" @@ -14121,15 +14025,15 @@ }, { "type": "NumericLiteral", - "start": 10986, - "end": 10987, + "start": 10948, + "end": 10949, "loc": { "start": { - "line": 323, + "line": 322, "column": 38 }, "end": { - "line": 323, + "line": 322, "column": 39 } }, @@ -14146,15 +14050,15 @@ { "type": "CommentLine", "value": " Remove the frame", - "start": 10927, - "end": 10946, + "start": 10889, + "end": 10908, "loc": { "start": { - "line": 322, + "line": 321, "column": 12 }, "end": { - "line": 322, + "line": 321, "column": 31 } } @@ -14164,15 +14068,15 @@ { "type": "CommentLine", "value": " Re-index frames after a change", - "start": 11003, - "end": 11036, + "start": 10965, + "end": 10998, "loc": { "start": { - "line": 324, + "line": 323, "column": 12 }, "end": { - "line": 324, + "line": 323, "column": 45 } } @@ -14181,57 +14085,57 @@ }, { "type": "ExpressionStatement", - "start": 11050, - "end": 11069, + "start": 11012, + "end": 11031, "loc": { "start": { - "line": 325, + "line": 324, "column": 12 }, "end": { - "line": 325, + "line": 324, "column": 31 } }, "expression": { "type": "CallExpression", - "start": 11050, - "end": 11068, + "start": 11012, + "end": 11030, "loc": { "start": { - "line": 325, + "line": 324, "column": 12 }, "end": { - "line": 325, + "line": 324, "column": 30 } }, "callee": { "type": "MemberExpression", - "start": 11050, - "end": 11066, + "start": 11012, + "end": 11028, "loc": { "start": { - "line": 325, + "line": 324, "column": 12 }, "end": { - "line": 325, + "line": 324, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 11050, - "end": 11054, + "start": 11012, + "end": 11016, "loc": { "start": { - "line": 325, + "line": 324, "column": 12 }, "end": { - "line": 325, + "line": 324, "column": 16 } }, @@ -14239,15 +14143,15 @@ }, "property": { "type": "Identifier", - "start": 11055, - "end": 11066, + "start": 11017, + "end": 11028, "loc": { "start": { - "line": 325, + "line": 324, "column": 17 }, "end": { - "line": 325, + "line": 324, "column": 28 }, "identifierName": "indexFrames" @@ -14264,15 +14168,15 @@ { "type": "CommentLine", "value": " Re-index frames after a change", - "start": 11003, - "end": 11036, + "start": 10965, + "end": 10998, "loc": { "start": { - "line": 324, + "line": 323, "column": 12 }, "end": { - "line": 324, + "line": 323, "column": 45 } } @@ -14286,29 +14190,29 @@ }, { "type": "ReturnStatement", - "start": 11090, - "end": 11102, + "start": 11052, + "end": 11064, "loc": { "start": { - "line": 327, + "line": 326, "column": 8 }, "end": { - "line": 327, + "line": 326, "column": 20 } }, "argument": { "type": "ThisExpression", - "start": 11097, - "end": 11101, + "start": 11059, + "end": 11063, "loc": { "start": { - "line": 327, + "line": 326, "column": 15 }, "end": { - "line": 327, + "line": 326, "column": 19 } } @@ -14322,15 +14226,15 @@ { "type": "CommentBlock", "value": "*\r\n * Removes the frame passed or the frame that exists at pIndex.\r\n * @param {Frame} pFrame - The frame to remove from this icon. pIndex should be not be used in tandem with this method of removing.\r\n * @param {number} pIndex - The index of the frame to remove. pFrame must be undefined to use this method for removing.\r\n * @returns {self} This icon instance.\r\n ", - "start": 9745, - "end": 10132, + "start": 9707, + "end": 10094, "loc": { "start": { - "line": 296, + "line": 295, "column": 4 }, "end": { - "line": 301, + "line": 300, "column": 7 } } @@ -14340,15 +14244,15 @@ { "type": "CommentBlock", "value": "*\r\n * Index the frames properly.\r\n * @private\r\n ", - "start": 11115, - "end": 11179, + "start": 11077, + "end": 11141, "loc": { "start": { - "line": 329, + "line": 328, "column": 4 }, "end": { - "line": 332, + "line": 331, "column": 7 } } @@ -14357,15 +14261,15 @@ }, { "type": "ClassMethod", - "start": 11185, - "end": 11354, + "start": 11147, + "end": 11316, "loc": { "start": { - "line": 333, + "line": 332, "column": 4 }, "end": { - "line": 338, + "line": 337, "column": 5 } }, @@ -14373,15 +14277,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11185, - "end": 11196, + "start": 11147, + "end": 11158, "loc": { "start": { - "line": 333, + "line": 332, "column": 4 }, "end": { - "line": 333, + "line": 332, "column": 15 }, "identifierName": "indexFrames" @@ -14397,86 +14301,86 @@ "params": [], "body": { "type": "BlockStatement", - "start": 11199, - "end": 11354, + "start": 11161, + "end": 11316, "loc": { "start": { - "line": 333, + "line": 332, "column": 18 }, "end": { - "line": 338, + "line": 337, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 11257, - "end": 11347, + "start": 11219, + "end": 11309, "loc": { "start": { - "line": 335, + "line": 334, "column": 8 }, "end": { - "line": 337, + "line": 336, "column": 11 } }, "expression": { "type": "CallExpression", - "start": 11257, - "end": 11346, + "start": 11219, + "end": 11308, "loc": { "start": { - "line": 335, + "line": 334, "column": 8 }, "end": { - "line": 337, + "line": 336, "column": 10 } }, "callee": { "type": "MemberExpression", - "start": 11257, - "end": 11276, + "start": 11219, + "end": 11238, "loc": { "start": { - "line": 335, + "line": 334, "column": 8 }, "end": { - "line": 335, + "line": 334, "column": 27 } }, "object": { "type": "MemberExpression", - "start": 11257, - "end": 11268, + "start": 11219, + "end": 11230, "loc": { "start": { - "line": 335, + "line": 334, "column": 8 }, "end": { - "line": 335, + "line": 334, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 11257, - "end": 11261, + "start": 11219, + "end": 11223, "loc": { "start": { - "line": 335, + "line": 334, "column": 8 }, "end": { - "line": 335, + "line": 334, "column": 12 } }, @@ -14484,15 +14388,15 @@ }, "property": { "type": "Identifier", - "start": 11262, - "end": 11268, + "start": 11224, + "end": 11230, "loc": { "start": { - "line": 335, + "line": 334, "column": 13 }, "end": { - "line": 335, + "line": 334, "column": 19 }, "identifierName": "frames" @@ -14504,15 +14408,15 @@ }, "property": { "type": "Identifier", - "start": 11269, - "end": 11276, + "start": 11231, + "end": 11238, "loc": { "start": { - "line": 335, + "line": 334, "column": 20 }, "end": { - "line": 335, + "line": 334, "column": 27 }, "identifierName": "forEach" @@ -14525,15 +14429,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 11277, - "end": 11345, + "start": 11239, + "end": 11307, "loc": { "start": { - "line": 335, + "line": 334, "column": 28 }, "end": { - "line": 337, + "line": 336, "column": 9 } }, @@ -14544,15 +14448,15 @@ "params": [ { "type": "Identifier", - "start": 11278, - "end": 11284, + "start": 11240, + "end": 11246, "loc": { "start": { - "line": 335, + "line": 334, "column": 29 }, "end": { - "line": 335, + "line": 334, "column": 35 }, "identifierName": "pFrame" @@ -14561,15 +14465,15 @@ }, { "type": "Identifier", - "start": 11286, - "end": 11292, + "start": 11248, + "end": 11254, "loc": { "start": { - "line": 335, + "line": 334, "column": 37 }, "end": { - "line": 335, + "line": 334, "column": 43 }, "identifierName": "pIndex" @@ -14579,73 +14483,73 @@ ], "body": { "type": "BlockStatement", - "start": 11297, - "end": 11345, + "start": 11259, + "end": 11307, "loc": { "start": { - "line": 335, + "line": 334, "column": 48 }, "end": { - "line": 337, + "line": 336, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 11312, - "end": 11334, + "start": 11274, + "end": 11296, "loc": { "start": { - "line": 336, + "line": 335, "column": 12 }, "end": { - "line": 336, + "line": 335, "column": 34 } }, "expression": { "type": "AssignmentExpression", - "start": 11312, - "end": 11333, + "start": 11274, + "end": 11295, "loc": { "start": { - "line": 336, + "line": 335, "column": 12 }, "end": { - "line": 336, + "line": 335, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 11312, - "end": 11324, + "start": 11274, + "end": 11286, "loc": { "start": { - "line": 336, + "line": 335, "column": 12 }, "end": { - "line": 336, + "line": 335, "column": 24 } }, "object": { "type": "Identifier", - "start": 11312, - "end": 11318, + "start": 11274, + "end": 11280, "loc": { "start": { - "line": 336, + "line": 335, "column": 12 }, "end": { - "line": 336, + "line": 335, "column": 18 }, "identifierName": "pFrame" @@ -14654,15 +14558,15 @@ }, "property": { "type": "Identifier", - "start": 11319, - "end": 11324, + "start": 11281, + "end": 11286, "loc": { "start": { - "line": 336, + "line": 335, "column": 19 }, "end": { - "line": 336, + "line": 335, "column": 24 }, "identifierName": "index" @@ -14673,15 +14577,15 @@ }, "right": { "type": "Identifier", - "start": 11327, - "end": 11333, + "start": 11289, + "end": 11295, "loc": { "start": { - "line": 336, + "line": 335, "column": 27 }, "end": { - "line": 336, + "line": 335, "column": 33 }, "identifierName": "pIndex" @@ -14701,15 +14605,15 @@ { "type": "CommentLine", "value": " Reorder the frames after removing.", - "start": 11210, - "end": 11247, + "start": 11172, + "end": 11209, "loc": { "start": { - "line": 334, + "line": 333, "column": 8 }, "end": { - "line": 334, + "line": 333, "column": 45 } } @@ -14724,15 +14628,15 @@ { "type": "CommentBlock", "value": "*\r\n * Index the frames properly.\r\n * @private\r\n ", - "start": 11115, - "end": 11179, + "start": 11077, + "end": 11141, "loc": { "start": { - "line": 329, + "line": 328, "column": 4 }, "end": { - "line": 332, + "line": 331, "column": 7 } } @@ -14742,15 +14646,15 @@ { "type": "CommentBlock", "value": "*\r\n * Reorders the frame in the animation. The index of the passed frame will be swapped with the frame at pIndex.\r\n * The \"first\" frame of the animation is technically this icon's dataURL. So if you are aiming to change the order of this icon and convert it into a frame.\r\n * pCurrentIndex must be set to -1 to match this icon.\r\n * @param {number} pCurrentIndex - The current index of the frame.\r\n * @param {number} pIndex - The index the frame will be moving to.\r\n * @returns {self} This icon instance.\r\n ", - "start": 11360, - "end": 11899, + "start": 11322, + "end": 11861, "loc": { "start": { - "line": 339, + "line": 338, "column": 4 }, "end": { - "line": 346, + "line": 345, "column": 7 } } @@ -14759,15 +14663,15 @@ }, { "type": "ClassMethod", - "start": 11905, - "end": 13834, + "start": 11867, + "end": 13796, "loc": { "start": { - "line": 347, + "line": 346, "column": 4 }, "end": { - "line": 387, + "line": 386, "column": 5 } }, @@ -14775,15 +14679,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11905, - "end": 11917, + "start": 11867, + "end": 11879, "loc": { "start": { - "line": 347, + "line": 346, "column": 4 }, "end": { - "line": 347, + "line": 346, "column": 16 }, "identifierName": "reorderFrame" @@ -14799,15 +14703,15 @@ "params": [ { "type": "Identifier", - "start": 11918, - "end": 11931, + "start": 11880, + "end": 11893, "loc": { "start": { - "line": 347, + "line": 346, "column": 17 }, "end": { - "line": 347, + "line": 346, "column": 30 }, "identifierName": "pCurrentIndex" @@ -14816,15 +14720,15 @@ }, { "type": "Identifier", - "start": 11933, - "end": 11939, + "start": 11895, + "end": 11901, "loc": { "start": { - "line": 347, + "line": 346, "column": 32 }, "end": { - "line": 347, + "line": 346, "column": 38 }, "identifierName": "pIndex" @@ -14834,72 +14738,72 @@ ], "body": { "type": "BlockStatement", - "start": 11941, - "end": 13834, + "start": 11903, + "end": 13796, "loc": { "start": { - "line": 347, + "line": 346, "column": 40 }, "end": { - "line": 387, + "line": 386, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 11952, - "end": 13805, + "start": 11914, + "end": 13767, "loc": { "start": { - "line": 348, + "line": 347, "column": 8 }, "end": { - "line": 385, + "line": 384, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 11956, - "end": 12021, + "start": 11918, + "end": 11983, "loc": { "start": { - "line": 348, + "line": 347, "column": 12 }, "end": { - "line": 348, + "line": 347, "column": 77 } }, "left": { "type": "BinaryExpression", - "start": 11956, - "end": 11990, + "start": 11918, + "end": 11952, "loc": { "start": { - "line": 348, + "line": 347, "column": 12 }, "end": { - "line": 348, + "line": 347, "column": 46 } }, "left": { "type": "UnaryExpression", - "start": 11956, - "end": 11977, + "start": 11918, + "end": 11939, "loc": { "start": { - "line": 348, + "line": 347, "column": 12 }, "end": { - "line": 348, + "line": 347, "column": 33 } }, @@ -14907,15 +14811,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 11963, - "end": 11976, + "start": 11925, + "end": 11938, "loc": { "start": { - "line": 348, + "line": 347, "column": 19 }, "end": { - "line": 348, + "line": 347, "column": 32 }, "identifierName": "pCurrentIndex" @@ -14923,7 +14827,7 @@ "name": "pCurrentIndex", "extra": { "parenthesized": true, - "parenStart": 11962 + "parenStart": 11924 } }, "extra": { @@ -14933,15 +14837,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 11982, - "end": 11990, + "start": 11944, + "end": 11952, "loc": { "start": { - "line": 348, + "line": 347, "column": 38 }, "end": { - "line": 348, + "line": 347, "column": 46 } }, @@ -14955,29 +14859,29 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 11994, - "end": 12021, + "start": 11956, + "end": 11983, "loc": { "start": { - "line": 348, + "line": 347, "column": 50 }, "end": { - "line": 348, + "line": 347, "column": 77 } }, "left": { "type": "UnaryExpression", - "start": 11994, - "end": 12008, + "start": 11956, + "end": 11970, "loc": { "start": { - "line": 348, + "line": 347, "column": 50 }, "end": { - "line": 348, + "line": 347, "column": 64 } }, @@ -14985,15 +14889,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 12001, - "end": 12007, + "start": 11963, + "end": 11969, "loc": { "start": { - "line": 348, + "line": 347, "column": 57 }, "end": { - "line": 348, + "line": 347, "column": 63 }, "identifierName": "pIndex" @@ -15001,7 +14905,7 @@ "name": "pIndex", "extra": { "parenthesized": true, - "parenStart": 12000 + "parenStart": 11962 } }, "extra": { @@ -15011,15 +14915,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 12013, - "end": 12021, + "start": 11975, + "end": 11983, "loc": { "start": { - "line": 348, + "line": 347, "column": 69 }, "end": { - "line": 348, + "line": 347, "column": 77 } }, @@ -15033,59 +14937,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 12023, - "end": 13713, + "start": 11985, + "end": 13675, "loc": { "start": { - "line": 348, + "line": 347, "column": 79 }, "end": { - "line": 383, + "line": 382, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 12038, - "end": 12055, + "start": 12000, + "end": 12017, "loc": { "start": { - "line": 349, + "line": 348, "column": 12 }, "end": { - "line": 349, + "line": 348, "column": 29 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 12042, - "end": 12054, + "start": 12004, + "end": 12016, "loc": { "start": { - "line": 349, + "line": 348, "column": 16 }, "end": { - "line": 349, + "line": 348, "column": 28 } }, "id": { "type": "Identifier", - "start": 12042, - "end": 12054, + "start": 12004, + "end": 12016, "loc": { "start": { - "line": 349, + "line": 348, "column": 16 }, "end": { - "line": 349, + "line": 348, "column": 28 }, "identifierName": "frameAtIndex" @@ -15099,44 +15003,44 @@ }, { "type": "VariableDeclaration", - "start": 12069, - "end": 12086, + "start": 12031, + "end": 12048, "loc": { "start": { - "line": 350, + "line": 349, "column": 12 }, "end": { - "line": 350, + "line": 349, "column": 29 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 12073, - "end": 12085, + "start": 12035, + "end": 12047, "loc": { "start": { - "line": 350, + "line": 349, "column": 16 }, "end": { - "line": 350, + "line": 349, "column": 28 } }, "id": { "type": "Identifier", - "start": 12073, - "end": 12085, + "start": 12035, + "end": 12047, "loc": { "start": { - "line": 350, + "line": 349, "column": 16 }, "end": { - "line": 350, + "line": 349, "column": 28 }, "identifierName": "currentFrame" @@ -15151,15 +15055,15 @@ { "type": "CommentLine", "value": " We check if the current index is -1, if it is then it means we want to treat this icon as a frame. As the icon data and delay of this icon serves", - "start": 12100, - "end": 12248, + "start": 12062, + "end": 12210, "loc": { "start": { - "line": 351, + "line": 350, "column": 12 }, "end": { - "line": 351, + "line": 350, "column": 160 } } @@ -15167,15 +15071,15 @@ { "type": "CommentLine", "value": " as the frame 0.", - "start": 12262, - "end": 12280, + "start": 12224, + "end": 12242, "loc": { "start": { - "line": 352, + "line": 351, "column": 12 }, "end": { - "line": 352, + "line": 351, "column": 30 } } @@ -15184,43 +15088,43 @@ }, { "type": "IfStatement", - "start": 12294, - "end": 12592, + "start": 12256, + "end": 12554, "loc": { "start": { - "line": 353, + "line": 352, "column": 12 }, "end": { - "line": 358, + "line": 357, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 12298, - "end": 12318, + "start": 12260, + "end": 12280, "loc": { "start": { - "line": 353, + "line": 352, "column": 16 }, "end": { - "line": 353, + "line": 352, "column": 36 } }, "left": { "type": "Identifier", - "start": 12298, - "end": 12311, + "start": 12260, + "end": 12273, "loc": { "start": { - "line": 353, + "line": 352, "column": 16 }, "end": { - "line": 353, + "line": 352, "column": 29 }, "identifierName": "pCurrentIndex" @@ -15231,15 +15135,15 @@ "operator": "===", "right": { "type": "UnaryExpression", - "start": 12316, - "end": 12318, + "start": 12278, + "end": 12280, "loc": { "start": { - "line": 353, + "line": 352, "column": 34 }, "end": { - "line": 353, + "line": 352, "column": 36 } }, @@ -15247,15 +15151,15 @@ "prefix": true, "argument": { "type": "NumericLiteral", - "start": 12317, - "end": 12318, + "start": 12279, + "end": 12280, "loc": { "start": { - "line": 353, + "line": 352, "column": 35 }, "end": { - "line": 353, + "line": 352, "column": 36 } }, @@ -15273,59 +15177,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 12320, - "end": 12478, + "start": 12282, + "end": 12440, "loc": { "start": { - "line": 353, + "line": 352, "column": 38 }, "end": { - "line": 356, + "line": 355, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 12339, - "end": 12359, + "start": 12301, + "end": 12321, "loc": { "start": { - "line": 354, + "line": 353, "column": 16 }, "end": { - "line": 354, + "line": 353, "column": 36 } }, "expression": { "type": "AssignmentExpression", - "start": 12339, - "end": 12358, + "start": 12301, + "end": 12320, "loc": { "start": { - "line": 354, + "line": 353, "column": 16 }, "end": { - "line": 354, + "line": 353, "column": 35 } }, "operator": "=", "left": { "type": "Identifier", - "start": 12339, - "end": 12351, + "start": 12301, + "end": 12313, "loc": { "start": { - "line": 354, + "line": 353, "column": 16 }, "end": { - "line": 354, + "line": 353, "column": 28 }, "identifierName": "currentFrame" @@ -15334,15 +15238,15 @@ }, "right": { "type": "ThisExpression", - "start": 12354, - "end": 12358, + "start": 12316, + "end": 12320, "loc": { "start": { - "line": 354, + "line": 353, "column": 31 }, "end": { - "line": 354, + "line": 353, "column": 35 } } @@ -15352,15 +15256,15 @@ { "type": "CommentLine", "value": " Otherwise if the index passed can be found in the frames array, then we use that frame.", - "start": 12373, - "end": 12463, + "start": 12335, + "end": 12425, "loc": { "start": { - "line": 355, + "line": 354, "column": 12 }, "end": { - "line": 355, + "line": 354, "column": 102 } } @@ -15372,72 +15276,72 @@ }, "alternate": { "type": "IfStatement", - "start": 12484, - "end": 12592, + "start": 12446, + "end": 12554, "loc": { "start": { - "line": 356, + "line": 355, "column": 19 }, "end": { - "line": 358, + "line": 357, "column": 13 } }, "test": { "type": "MemberExpression", - "start": 12488, - "end": 12514, + "start": 12450, + "end": 12476, "loc": { "start": { - "line": 356, + "line": 355, "column": 23 }, "end": { - "line": 356, + "line": 355, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 12488, - "end": 12499, + "start": 12450, + "end": 12461, "loc": { "start": { - "line": 356, + "line": 355, "column": 23 }, "end": { - "line": 356, + "line": 355, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 12488, - "end": 12492, + "start": 12450, + "end": 12454, "loc": { "start": { - "line": 356, + "line": 355, "column": 23 }, "end": { - "line": 356, + "line": 355, "column": 27 } } }, "property": { "type": "Identifier", - "start": 12493, - "end": 12499, + "start": 12455, + "end": 12461, "loc": { "start": { - "line": 356, + "line": 355, "column": 28 }, "end": { - "line": 356, + "line": 355, "column": 34 }, "identifierName": "frames" @@ -15448,15 +15352,15 @@ }, "property": { "type": "Identifier", - "start": 12500, - "end": 12513, + "start": 12462, + "end": 12475, "loc": { "start": { - "line": 356, + "line": 355, "column": 35 }, "end": { - "line": 356, + "line": 355, "column": 48 }, "identifierName": "pCurrentIndex" @@ -15467,59 +15371,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 12516, - "end": 12592, + "start": 12478, + "end": 12554, "loc": { "start": { - "line": 356, + "line": 355, "column": 51 }, "end": { - "line": 358, + "line": 357, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 12535, - "end": 12577, + "start": 12497, + "end": 12539, "loc": { "start": { - "line": 357, + "line": 356, "column": 16 }, "end": { - "line": 357, + "line": 356, "column": 58 } }, "expression": { "type": "AssignmentExpression", - "start": 12535, - "end": 12576, + "start": 12497, + "end": 12538, "loc": { "start": { - "line": 357, + "line": 356, "column": 16 }, "end": { - "line": 357, + "line": 356, "column": 57 } }, "operator": "=", "left": { "type": "Identifier", - "start": 12535, - "end": 12547, + "start": 12497, + "end": 12509, "loc": { "start": { - "line": 357, + "line": 356, "column": 16 }, "end": { - "line": 357, + "line": 356, "column": 28 }, "identifierName": "currentFrame" @@ -15528,58 +15432,58 @@ }, "right": { "type": "MemberExpression", - "start": 12550, - "end": 12576, + "start": 12512, + "end": 12538, "loc": { "start": { - "line": 357, + "line": 356, "column": 31 }, "end": { - "line": 357, + "line": 356, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 12550, - "end": 12561, + "start": 12512, + "end": 12523, "loc": { "start": { - "line": 357, + "line": 356, "column": 31 }, "end": { - "line": 357, + "line": 356, "column": 42 } }, "object": { "type": "ThisExpression", - "start": 12550, - "end": 12554, + "start": 12512, + "end": 12516, "loc": { "start": { - "line": 357, + "line": 356, "column": 31 }, "end": { - "line": 357, + "line": 356, "column": 35 } } }, "property": { "type": "Identifier", - "start": 12555, - "end": 12561, + "start": 12517, + "end": 12523, "loc": { "start": { - "line": 357, + "line": 356, "column": 36 }, "end": { - "line": 357, + "line": 356, "column": 42 }, "identifierName": "frames" @@ -15590,15 +15494,15 @@ }, "property": { "type": "Identifier", - "start": 12562, - "end": 12575, + "start": 12524, + "end": 12537, "loc": { "start": { - "line": 357, + "line": 356, "column": 43 }, "end": { - "line": 357, + "line": 356, "column": 56 }, "identifierName": "pCurrentIndex" @@ -15620,15 +15524,15 @@ { "type": "CommentLine", "value": " We check if the current index is -1, if it is then it means we want to treat this icon as a frame. As the icon data and delay of this icon serves", - "start": 12100, - "end": 12248, + "start": 12062, + "end": 12210, "loc": { "start": { - "line": 351, + "line": 350, "column": 12 }, "end": { - "line": 351, + "line": 350, "column": 160 } } @@ -15636,15 +15540,15 @@ { "type": "CommentLine", "value": " as the frame 0.", - "start": 12262, - "end": 12280, + "start": 12224, + "end": 12242, "loc": { "start": { - "line": 352, + "line": 351, "column": 12 }, "end": { - "line": 352, + "line": 351, "column": 30 } } @@ -15654,15 +15558,15 @@ { "type": "CommentLine", "value": " We get the frame at the specified index.", - "start": 12608, - "end": 12651, + "start": 12570, + "end": 12613, "loc": { "start": { - "line": 360, + "line": 359, "column": 12 }, "end": { - "line": 360, + "line": 359, "column": 55 } } @@ -15671,57 +15575,57 @@ }, { "type": "IfStatement", - "start": 12665, - "end": 12759, + "start": 12627, + "end": 12721, "loc": { "start": { - "line": 361, + "line": 360, "column": 12 }, "end": { - "line": 363, + "line": 362, "column": 13 } }, "test": { "type": "MemberExpression", - "start": 12669, - "end": 12688, + "start": 12631, + "end": 12650, "loc": { "start": { - "line": 361, + "line": 360, "column": 16 }, "end": { - "line": 361, + "line": 360, "column": 35 } }, "object": { "type": "MemberExpression", - "start": 12669, - "end": 12680, + "start": 12631, + "end": 12642, "loc": { "start": { - "line": 361, + "line": 360, "column": 16 }, "end": { - "line": 361, + "line": 360, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 12669, - "end": 12673, + "start": 12631, + "end": 12635, "loc": { "start": { - "line": 361, + "line": 360, "column": 16 }, "end": { - "line": 361, + "line": 360, "column": 20 } }, @@ -15729,15 +15633,15 @@ }, "property": { "type": "Identifier", - "start": 12674, - "end": 12680, + "start": 12636, + "end": 12642, "loc": { "start": { - "line": 361, + "line": 360, "column": 21 }, "end": { - "line": 361, + "line": 360, "column": 27 }, "identifierName": "frames" @@ -15749,15 +15653,15 @@ }, "property": { "type": "Identifier", - "start": 12681, - "end": 12687, + "start": 12643, + "end": 12649, "loc": { "start": { - "line": 361, + "line": 360, "column": 28 }, "end": { - "line": 361, + "line": 360, "column": 34 }, "identifierName": "pIndex" @@ -15769,59 +15673,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 12690, - "end": 12759, + "start": 12652, + "end": 12721, "loc": { "start": { - "line": 361, + "line": 360, "column": 37 }, "end": { - "line": 363, + "line": 362, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 12709, - "end": 12744, + "start": 12671, + "end": 12706, "loc": { "start": { - "line": 362, + "line": 361, "column": 16 }, "end": { - "line": 362, + "line": 361, "column": 51 } }, "expression": { "type": "AssignmentExpression", - "start": 12709, - "end": 12743, + "start": 12671, + "end": 12705, "loc": { "start": { - "line": 362, + "line": 361, "column": 16 }, "end": { - "line": 362, + "line": 361, "column": 50 } }, "operator": "=", "left": { "type": "Identifier", - "start": 12709, - "end": 12721, + "start": 12671, + "end": 12683, "loc": { "start": { - "line": 362, + "line": 361, "column": 16 }, "end": { - "line": 362, + "line": 361, "column": 28 }, "identifierName": "frameAtIndex" @@ -15830,58 +15734,58 @@ }, "right": { "type": "MemberExpression", - "start": 12724, - "end": 12743, + "start": 12686, + "end": 12705, "loc": { "start": { - "line": 362, + "line": 361, "column": 31 }, "end": { - "line": 362, + "line": 361, "column": 50 } }, "object": { "type": "MemberExpression", - "start": 12724, - "end": 12735, + "start": 12686, + "end": 12697, "loc": { "start": { - "line": 362, + "line": 361, "column": 31 }, "end": { - "line": 362, + "line": 361, "column": 42 } }, "object": { "type": "ThisExpression", - "start": 12724, - "end": 12728, + "start": 12686, + "end": 12690, "loc": { "start": { - "line": 362, + "line": 361, "column": 31 }, "end": { - "line": 362, + "line": 361, "column": 35 } } }, "property": { "type": "Identifier", - "start": 12729, - "end": 12735, + "start": 12691, + "end": 12697, "loc": { "start": { - "line": 362, + "line": 361, "column": 36 }, "end": { - "line": 362, + "line": 361, "column": 42 }, "identifierName": "frames" @@ -15892,15 +15796,15 @@ }, "property": { "type": "Identifier", - "start": 12736, - "end": 12742, + "start": 12698, + "end": 12704, "loc": { "start": { - "line": 362, + "line": 361, "column": 43 }, "end": { - "line": 362, + "line": 361, "column": 49 }, "identifierName": "pIndex" @@ -15920,15 +15824,15 @@ { "type": "CommentLine", "value": " We get the frame at the specified index.", - "start": 12608, - "end": 12651, + "start": 12570, + "end": 12613, "loc": { "start": { - "line": 360, + "line": 359, "column": 12 }, "end": { - "line": 360, + "line": 359, "column": 55 } } @@ -15938,15 +15842,15 @@ { "type": "CommentLine", "value": " If both frames can be found, we can swap their data.", - "start": 12775, - "end": 12830, + "start": 12737, + "end": 12792, "loc": { "start": { - "line": 365, + "line": 364, "column": 12 }, "end": { - "line": 365, + "line": 364, "column": 67 } } @@ -15955,43 +15859,43 @@ }, { "type": "IfStatement", - "start": 12844, - "end": 13702, + "start": 12806, + "end": 13664, "loc": { "start": { - "line": 366, + "line": 365, "column": 12 }, "end": { - "line": 382, + "line": 381, "column": 13 } }, "test": { "type": "LogicalExpression", - "start": 12848, - "end": 12876, + "start": 12810, + "end": 12838, "loc": { "start": { - "line": 366, + "line": 365, "column": 16 }, "end": { - "line": 366, + "line": 365, "column": 44 } }, "left": { "type": "Identifier", - "start": 12848, - "end": 12860, + "start": 12810, + "end": 12822, "loc": { "start": { - "line": 366, + "line": 365, "column": 16 }, "end": { - "line": 366, + "line": 365, "column": 28 }, "identifierName": "currentFrame" @@ -16002,15 +15906,15 @@ "operator": "&&", "right": { "type": "Identifier", - "start": 12864, - "end": 12876, + "start": 12826, + "end": 12838, "loc": { "start": { - "line": 366, + "line": 365, "column": 32 }, "end": { - "line": 366, + "line": 365, "column": 44 }, "identifierName": "frameAtIndex" @@ -16021,59 +15925,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 12878, - "end": 13539, + "start": 12840, + "end": 13501, "loc": { "start": { - "line": 366, + "line": 365, "column": 46 }, "end": { - "line": 380, + "line": 379, "column": 13 } }, "body": [ { "type": "VariableDeclaration", - "start": 12934, - "end": 12988, + "start": 12896, + "end": 12950, "loc": { "start": { - "line": 368, + "line": 367, "column": 16 }, "end": { - "line": 368, + "line": 367, "column": 70 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 12940, - "end": 12987, + "start": 12902, + "end": 12949, "loc": { "start": { - "line": 368, + "line": 367, "column": 22 }, "end": { - "line": 368, + "line": 367, "column": 69 } }, "id": { "type": "Identifier", - "start": 12940, - "end": 12959, + "start": 12902, + "end": 12921, "loc": { "start": { - "line": 368, + "line": 367, "column": 22 }, "end": { - "line": 368, + "line": 367, "column": 41 }, "identifierName": "currentFrameDataURL" @@ -16083,43 +15987,43 @@ }, "init": { "type": "CallExpression", - "start": 12962, - "end": 12987, + "start": 12924, + "end": 12949, "loc": { "start": { - "line": 368, + "line": 367, "column": 44 }, "end": { - "line": 368, + "line": 367, "column": 69 } }, "callee": { "type": "MemberExpression", - "start": 12962, - "end": 12985, + "start": 12924, + "end": 12947, "loc": { "start": { - "line": 368, + "line": 367, "column": 44 }, "end": { - "line": 368, + "line": 367, "column": 67 } }, "object": { "type": "Identifier", - "start": 12962, - "end": 12974, + "start": 12924, + "end": 12936, "loc": { "start": { - "line": 368, + "line": 367, "column": 44 }, "end": { - "line": 368, + "line": 367, "column": 56 }, "identifierName": "currentFrame" @@ -16128,15 +16032,15 @@ }, "property": { "type": "Identifier", - "start": 12975, - "end": 12985, + "start": 12937, + "end": 12947, "loc": { "start": { - "line": 368, + "line": 367, "column": 57 }, "end": { - "line": 368, + "line": 367, "column": 67 }, "identifierName": "getDataURL" @@ -16155,15 +16059,15 @@ { "type": "CommentLine", "value": " Store frame data", - "start": 12897, - "end": 12916, + "start": 12859, + "end": 12878, "loc": { "start": { - "line": 367, + "line": 366, "column": 16 }, "end": { - "line": 367, + "line": 366, "column": 35 } } @@ -16172,44 +16076,44 @@ }, { "type": "VariableDeclaration", - "start": 13006, - "end": 13056, + "start": 12968, + "end": 13018, "loc": { "start": { - "line": 369, + "line": 368, "column": 16 }, "end": { - "line": 369, + "line": 368, "column": 66 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 13012, - "end": 13055, + "start": 12974, + "end": 13017, "loc": { "start": { - "line": 369, + "line": 368, "column": 22 }, "end": { - "line": 369, + "line": 368, "column": 65 } }, "id": { "type": "Identifier", - "start": 13012, - "end": 13029, + "start": 12974, + "end": 12991, "loc": { "start": { - "line": 369, + "line": 368, "column": 22 }, "end": { - "line": 369, + "line": 368, "column": 39 }, "identifierName": "currentFrameDelay" @@ -16218,43 +16122,43 @@ }, "init": { "type": "CallExpression", - "start": 13032, - "end": 13055, + "start": 12994, + "end": 13017, "loc": { "start": { - "line": 369, + "line": 368, "column": 42 }, "end": { - "line": 369, + "line": 368, "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 13032, - "end": 13053, + "start": 12994, + "end": 13015, "loc": { "start": { - "line": 369, + "line": 368, "column": 42 }, "end": { - "line": 369, + "line": 368, "column": 63 } }, "object": { "type": "Identifier", - "start": 13032, - "end": 13044, + "start": 12994, + "end": 13006, "loc": { "start": { - "line": 369, + "line": 368, "column": 42 }, "end": { - "line": 369, + "line": 368, "column": 54 }, "identifierName": "currentFrame" @@ -16263,15 +16167,15 @@ }, "property": { "type": "Identifier", - "start": 13045, - "end": 13053, + "start": 13007, + "end": 13015, "loc": { "start": { - "line": 369, + "line": 368, "column": 55 }, "end": { - "line": 369, + "line": 368, "column": 63 }, "identifierName": "getDelay" @@ -16288,44 +16192,44 @@ }, { "type": "VariableDeclaration", - "start": 13076, - "end": 13130, + "start": 13038, + "end": 13092, "loc": { "start": { - "line": 371, + "line": 370, "column": 16 }, "end": { - "line": 371, + "line": 370, "column": 70 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 13082, - "end": 13129, + "start": 13044, + "end": 13091, "loc": { "start": { - "line": 371, + "line": 370, "column": 22 }, "end": { - "line": 371, + "line": 370, "column": 69 } }, "id": { "type": "Identifier", - "start": 13082, - "end": 13101, + "start": 13044, + "end": 13063, "loc": { "start": { - "line": 371, + "line": 370, "column": 22 }, "end": { - "line": 371, + "line": 370, "column": 41 }, "identifierName": "frameAtIndexDataURL" @@ -16334,43 +16238,43 @@ }, "init": { "type": "CallExpression", - "start": 13104, - "end": 13129, + "start": 13066, + "end": 13091, "loc": { "start": { - "line": 371, + "line": 370, "column": 44 }, "end": { - "line": 371, + "line": 370, "column": 69 } }, "callee": { "type": "MemberExpression", - "start": 13104, - "end": 13127, + "start": 13066, + "end": 13089, "loc": { "start": { - "line": 371, + "line": 370, "column": 44 }, "end": { - "line": 371, + "line": 370, "column": 67 } }, "object": { "type": "Identifier", - "start": 13104, - "end": 13116, + "start": 13066, + "end": 13078, "loc": { "start": { - "line": 371, + "line": 370, "column": 44 }, "end": { - "line": 371, + "line": 370, "column": 56 }, "identifierName": "frameAtIndex" @@ -16379,15 +16283,15 @@ }, "property": { "type": "Identifier", - "start": 13117, - "end": 13127, + "start": 13079, + "end": 13089, "loc": { "start": { - "line": 371, + "line": 370, "column": 57 }, "end": { - "line": 371, + "line": 370, "column": 67 }, "identifierName": "getDataURL" @@ -16404,44 +16308,44 @@ }, { "type": "VariableDeclaration", - "start": 13148, - "end": 13198, + "start": 13110, + "end": 13160, "loc": { "start": { - "line": 372, + "line": 371, "column": 16 }, "end": { - "line": 372, + "line": 371, "column": 66 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 13154, - "end": 13197, + "start": 13116, + "end": 13159, "loc": { "start": { - "line": 372, + "line": 371, "column": 22 }, "end": { - "line": 372, + "line": 371, "column": 65 } }, "id": { "type": "Identifier", - "start": 13154, - "end": 13171, + "start": 13116, + "end": 13133, "loc": { "start": { - "line": 372, + "line": 371, "column": 22 }, "end": { - "line": 372, + "line": 371, "column": 39 }, "identifierName": "frameAtIndexDelay" @@ -16450,43 +16354,43 @@ }, "init": { "type": "CallExpression", - "start": 13174, - "end": 13197, + "start": 13136, + "end": 13159, "loc": { "start": { - "line": 372, + "line": 371, "column": 42 }, "end": { - "line": 372, + "line": 371, "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 13174, - "end": 13195, + "start": 13136, + "end": 13157, "loc": { "start": { - "line": 372, + "line": 371, "column": 42 }, "end": { - "line": 372, + "line": 371, "column": 63 } }, "object": { "type": "Identifier", - "start": 13174, - "end": 13186, + "start": 13136, + "end": 13148, "loc": { "start": { - "line": 372, + "line": 371, "column": 42 }, "end": { - "line": 372, + "line": 371, "column": 54 }, "identifierName": "frameAtIndex" @@ -16495,15 +16399,15 @@ }, "property": { "type": "Identifier", - "start": 13187, - "end": 13195, + "start": 13149, + "end": 13157, "loc": { "start": { - "line": 372, + "line": 371, "column": 55 }, "end": { - "line": 372, + "line": 371, "column": 63 }, "identifierName": "getDelay" @@ -16521,15 +16425,15 @@ { "type": "CommentLine", "value": " Swap data from frame", - "start": 13218, - "end": 13241, + "start": 13180, + "end": 13203, "loc": { "start": { - "line": 374, + "line": 373, "column": 16 }, "end": { - "line": 374, + "line": 373, "column": 39 } } @@ -16538,57 +16442,57 @@ }, { "type": "ExpressionStatement", - "start": 13259, - "end": 13304, + "start": 13221, + "end": 13266, "loc": { "start": { - "line": 375, + "line": 374, "column": 16 }, "end": { - "line": 375, + "line": 374, "column": 61 } }, "expression": { "type": "CallExpression", - "start": 13259, - "end": 13303, + "start": 13221, + "end": 13265, "loc": { "start": { - "line": 375, + "line": 374, "column": 16 }, "end": { - "line": 375, + "line": 374, "column": 60 } }, "callee": { "type": "MemberExpression", - "start": 13259, - "end": 13282, + "start": 13221, + "end": 13244, "loc": { "start": { - "line": 375, + "line": 374, "column": 16 }, "end": { - "line": 375, + "line": 374, "column": 39 } }, "object": { "type": "Identifier", - "start": 13259, - "end": 13271, + "start": 13221, + "end": 13233, "loc": { "start": { - "line": 375, + "line": 374, "column": 16 }, "end": { - "line": 375, + "line": 374, "column": 28 }, "identifierName": "currentFrame" @@ -16598,15 +16502,15 @@ }, "property": { "type": "Identifier", - "start": 13272, - "end": 13282, + "start": 13234, + "end": 13244, "loc": { "start": { - "line": 375, + "line": 374, "column": 29 }, "end": { - "line": 375, + "line": 374, "column": 39 }, "identifierName": "setDataURL" @@ -16619,15 +16523,15 @@ "arguments": [ { "type": "Identifier", - "start": 13283, - "end": 13302, + "start": 13245, + "end": 13264, "loc": { "start": { - "line": 375, + "line": 374, "column": 40 }, "end": { - "line": 375, + "line": 374, "column": 59 }, "identifierName": "frameAtIndexDataURL" @@ -16641,15 +16545,15 @@ { "type": "CommentLine", "value": " Swap data from frame", - "start": 13218, - "end": 13241, + "start": 13180, + "end": 13203, "loc": { "start": { - "line": 374, + "line": 373, "column": 16 }, "end": { - "line": 374, + "line": 373, "column": 39 } } @@ -16658,57 +16562,57 @@ }, { "type": "ExpressionStatement", - "start": 13322, - "end": 13363, + "start": 13284, + "end": 13325, "loc": { "start": { - "line": 376, + "line": 375, "column": 16 }, "end": { - "line": 376, + "line": 375, "column": 57 } }, "expression": { "type": "CallExpression", - "start": 13322, - "end": 13362, + "start": 13284, + "end": 13324, "loc": { "start": { - "line": 376, + "line": 375, "column": 16 }, "end": { - "line": 376, + "line": 375, "column": 56 } }, "callee": { "type": "MemberExpression", - "start": 13322, - "end": 13343, + "start": 13284, + "end": 13305, "loc": { "start": { - "line": 376, + "line": 375, "column": 16 }, "end": { - "line": 376, + "line": 375, "column": 37 } }, "object": { "type": "Identifier", - "start": 13322, - "end": 13334, + "start": 13284, + "end": 13296, "loc": { "start": { - "line": 376, + "line": 375, "column": 16 }, "end": { - "line": 376, + "line": 375, "column": 28 }, "identifierName": "currentFrame" @@ -16717,15 +16621,15 @@ }, "property": { "type": "Identifier", - "start": 13335, - "end": 13343, + "start": 13297, + "end": 13305, "loc": { "start": { - "line": 376, + "line": 375, "column": 29 }, "end": { - "line": 376, + "line": 375, "column": 37 }, "identifierName": "setDelay" @@ -16737,15 +16641,15 @@ "arguments": [ { "type": "Identifier", - "start": 13344, - "end": 13361, + "start": 13306, + "end": 13323, "loc": { "start": { - "line": 376, + "line": 375, "column": 38 }, "end": { - "line": 376, + "line": 375, "column": 55 }, "identifierName": "frameAtIndexDelay" @@ -16758,15 +16662,15 @@ { "type": "CommentLine", "value": " Swap data to frame", - "start": 13381, - "end": 13402, + "start": 13343, + "end": 13364, "loc": { "start": { - "line": 377, + "line": 376, "column": 16 }, "end": { - "line": 377, + "line": 376, "column": 37 } } @@ -16775,57 +16679,57 @@ }, { "type": "ExpressionStatement", - "start": 13420, - "end": 13465, + "start": 13382, + "end": 13427, "loc": { "start": { - "line": 378, + "line": 377, "column": 16 }, "end": { - "line": 378, + "line": 377, "column": 61 } }, "expression": { "type": "CallExpression", - "start": 13420, - "end": 13464, + "start": 13382, + "end": 13426, "loc": { "start": { - "line": 378, + "line": 377, "column": 16 }, "end": { - "line": 378, + "line": 377, "column": 60 } }, "callee": { "type": "MemberExpression", - "start": 13420, - "end": 13443, + "start": 13382, + "end": 13405, "loc": { "start": { - "line": 378, + "line": 377, "column": 16 }, "end": { - "line": 378, + "line": 377, "column": 39 } }, "object": { "type": "Identifier", - "start": 13420, - "end": 13432, + "start": 13382, + "end": 13394, "loc": { "start": { - "line": 378, + "line": 377, "column": 16 }, "end": { - "line": 378, + "line": 377, "column": 28 }, "identifierName": "frameAtIndex" @@ -16835,15 +16739,15 @@ }, "property": { "type": "Identifier", - "start": 13433, - "end": 13443, + "start": 13395, + "end": 13405, "loc": { "start": { - "line": 378, + "line": 377, "column": 29 }, "end": { - "line": 378, + "line": 377, "column": 39 }, "identifierName": "setDataURL" @@ -16856,15 +16760,15 @@ "arguments": [ { "type": "Identifier", - "start": 13444, - "end": 13463, + "start": 13406, + "end": 13425, "loc": { "start": { - "line": 378, + "line": 377, "column": 40 }, "end": { - "line": 378, + "line": 377, "column": 59 }, "identifierName": "currentFrameDataURL" @@ -16878,15 +16782,15 @@ { "type": "CommentLine", "value": " Swap data to frame", - "start": 13381, - "end": 13402, + "start": 13343, + "end": 13364, "loc": { "start": { - "line": 377, + "line": 376, "column": 16 }, "end": { - "line": 377, + "line": 376, "column": 37 } } @@ -16895,57 +16799,57 @@ }, { "type": "ExpressionStatement", - "start": 13483, - "end": 13524, + "start": 13445, + "end": 13486, "loc": { "start": { - "line": 379, + "line": 378, "column": 16 }, "end": { - "line": 379, + "line": 378, "column": 57 } }, "expression": { "type": "CallExpression", - "start": 13483, - "end": 13523, + "start": 13445, + "end": 13485, "loc": { "start": { - "line": 379, + "line": 378, "column": 16 }, "end": { - "line": 379, + "line": 378, "column": 56 } }, "callee": { "type": "MemberExpression", - "start": 13483, - "end": 13504, + "start": 13445, + "end": 13466, "loc": { "start": { - "line": 379, + "line": 378, "column": 16 }, "end": { - "line": 379, + "line": 378, "column": 37 } }, "object": { "type": "Identifier", - "start": 13483, - "end": 13495, + "start": 13445, + "end": 13457, "loc": { "start": { - "line": 379, + "line": 378, "column": 16 }, "end": { - "line": 379, + "line": 378, "column": 28 }, "identifierName": "frameAtIndex" @@ -16954,15 +16858,15 @@ }, "property": { "type": "Identifier", - "start": 13496, - "end": 13504, + "start": 13458, + "end": 13466, "loc": { "start": { - "line": 379, + "line": 378, "column": 29 }, "end": { - "line": 379, + "line": 378, "column": 37 }, "identifierName": "setDelay" @@ -16974,15 +16878,15 @@ "arguments": [ { "type": "Identifier", - "start": 13505, - "end": 13522, + "start": 13467, + "end": 13484, "loc": { "start": { - "line": 379, + "line": 378, "column": 38 }, "end": { - "line": 379, + "line": 378, "column": 55 }, "identifierName": "currentFrameDelay" @@ -16997,114 +16901,114 @@ }, "alternate": { "type": "BlockStatement", - "start": 13545, - "end": 13702, + "start": 13507, + "end": 13664, "loc": { "start": { - "line": 380, + "line": 379, "column": 19 }, "end": { - "line": 382, + "line": 381, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 13564, - "end": 13687, + "start": 13526, + "end": 13649, "loc": { "start": { - "line": 381, + "line": 380, "column": 16 }, "end": { - "line": 381, + "line": 380, "column": 139 } }, "expression": { "type": "CallExpression", - "start": 13564, - "end": 13686, + "start": 13526, + "end": 13648, "loc": { "start": { - "line": 381, + "line": 380, "column": 16 }, "end": { - "line": 381, + "line": 380, "column": 138 } }, "callee": { "type": "MemberExpression", - "start": 13564, - "end": 13601, + "start": 13526, + "end": 13563, "loc": { "start": { - "line": 381, + "line": 380, "column": 16 }, "end": { - "line": 381, + "line": 380, "column": 53 } }, "object": { "type": "CallExpression", - "start": 13564, - "end": 13595, + "start": 13526, + "end": 13557, "loc": { "start": { - "line": 381, + "line": 380, "column": 16 }, "end": { - "line": 381, + "line": 380, "column": 47 } }, "callee": { "type": "MemberExpression", - "start": 13564, - "end": 13581, + "start": 13526, + "end": 13543, "loc": { "start": { - "line": 381, + "line": 380, "column": 16 }, "end": { - "line": 381, + "line": 380, "column": 33 } }, "object": { "type": "MemberExpression", - "start": 13564, - "end": 13574, + "start": 13526, + "end": 13536, "loc": { "start": { - "line": 381, + "line": 380, "column": 16 }, "end": { - "line": 381, + "line": 380, "column": 26 } }, "object": { "type": "Identifier", - "start": 13564, - "end": 13567, + "start": 13526, + "end": 13529, "loc": { "start": { - "line": 381, + "line": 380, "column": 16 }, "end": { - "line": 381, + "line": 380, "column": 19 }, "identifierName": "VYI" @@ -17113,15 +17017,15 @@ }, "property": { "type": "Identifier", - "start": 13568, - "end": 13574, + "start": 13530, + "end": 13536, "loc": { "start": { - "line": 381, + "line": 380, "column": 20 }, "end": { - "line": 381, + "line": 380, "column": 26 }, "identifierName": "logger" @@ -17132,15 +17036,15 @@ }, "property": { "type": "Identifier", - "start": 13575, - "end": 13581, + "start": 13537, + "end": 13543, "loc": { "start": { - "line": 381, + "line": 380, "column": 27 }, "end": { - "line": 381, + "line": 380, "column": 33 }, "identifierName": "prefix" @@ -17152,15 +17056,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 13582, - "end": 13594, + "start": 13544, + "end": 13556, "loc": { "start": { - "line": 381, + "line": 380, "column": 34 }, "end": { - "line": 381, + "line": 380, "column": 46 } }, @@ -17174,15 +17078,15 @@ }, "property": { "type": "Identifier", - "start": 13596, - "end": 13601, + "start": 13558, + "end": 13563, "loc": { "start": { - "line": 381, + "line": 380, "column": 48 }, "end": { - "line": 381, + "line": 380, "column": 53 }, "identifierName": "error" @@ -17194,15 +17098,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 13602, - "end": 13685, + "start": 13564, + "end": 13647, "loc": { "start": { - "line": 381, + "line": 380, "column": 54 }, "end": { - "line": 381, + "line": 380, "column": 137 } }, @@ -17222,15 +17126,15 @@ { "type": "CommentLine", "value": " If both frames can be found, we can swap their data.", - "start": 12775, - "end": 12830, + "start": 12737, + "end": 12792, "loc": { "start": { - "line": 365, + "line": 364, "column": 12 }, "end": { - "line": 365, + "line": 364, "column": 67 } } @@ -17242,114 +17146,114 @@ }, "alternate": { "type": "BlockStatement", - "start": 13719, - "end": 13805, + "start": 13681, + "end": 13767, "loc": { "start": { - "line": 383, + "line": 382, "column": 15 }, "end": { - "line": 385, + "line": 384, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 13734, - "end": 13794, + "start": 13696, + "end": 13756, "loc": { "start": { - "line": 384, + "line": 383, "column": 12 }, "end": { - "line": 384, + "line": 383, "column": 72 } }, "expression": { "type": "CallExpression", - "start": 13734, - "end": 13793, + "start": 13696, + "end": 13755, "loc": { "start": { - "line": 384, + "line": 383, "column": 12 }, "end": { - "line": 384, + "line": 383, "column": 71 } }, "callee": { "type": "MemberExpression", - "start": 13734, - "end": 13771, + "start": 13696, + "end": 13733, "loc": { "start": { - "line": 384, + "line": 383, "column": 12 }, "end": { - "line": 384, + "line": 383, "column": 49 } }, "object": { "type": "CallExpression", - "start": 13734, - "end": 13765, + "start": 13696, + "end": 13727, "loc": { "start": { - "line": 384, + "line": 383, "column": 12 }, "end": { - "line": 384, + "line": 383, "column": 43 } }, "callee": { "type": "MemberExpression", - "start": 13734, - "end": 13751, + "start": 13696, + "end": 13713, "loc": { "start": { - "line": 384, + "line": 383, "column": 12 }, "end": { - "line": 384, + "line": 383, "column": 29 } }, "object": { "type": "MemberExpression", - "start": 13734, - "end": 13744, + "start": 13696, + "end": 13706, "loc": { "start": { - "line": 384, + "line": 383, "column": 12 }, "end": { - "line": 384, + "line": 383, "column": 22 } }, "object": { "type": "Identifier", - "start": 13734, - "end": 13737, + "start": 13696, + "end": 13699, "loc": { "start": { - "line": 384, + "line": 383, "column": 12 }, "end": { - "line": 384, + "line": 383, "column": 15 }, "identifierName": "VYI" @@ -17358,15 +17262,15 @@ }, "property": { "type": "Identifier", - "start": 13738, - "end": 13744, + "start": 13700, + "end": 13706, "loc": { "start": { - "line": 384, + "line": 383, "column": 16 }, "end": { - "line": 384, + "line": 383, "column": 22 }, "identifierName": "logger" @@ -17377,15 +17281,15 @@ }, "property": { "type": "Identifier", - "start": 13745, - "end": 13751, + "start": 13707, + "end": 13713, "loc": { "start": { - "line": 384, + "line": 383, "column": 23 }, "end": { - "line": 384, + "line": 383, "column": 29 }, "identifierName": "prefix" @@ -17397,15 +17301,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 13752, - "end": 13764, + "start": 13714, + "end": 13726, "loc": { "start": { - "line": 384, + "line": 383, "column": 30 }, "end": { - "line": 384, + "line": 383, "column": 42 } }, @@ -17419,15 +17323,15 @@ }, "property": { "type": "Identifier", - "start": 13766, - "end": 13771, + "start": 13728, + "end": 13733, "loc": { "start": { - "line": 384, + "line": 383, "column": 44 }, "end": { - "line": 384, + "line": 383, "column": 49 }, "identifierName": "error" @@ -17439,15 +17343,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 13772, - "end": 13792, + "start": 13734, + "end": 13754, "loc": { "start": { - "line": 384, + "line": 383, "column": 50 }, "end": { - "line": 384, + "line": 383, "column": 70 } }, @@ -17466,29 +17370,29 @@ }, { "type": "ReturnStatement", - "start": 13815, - "end": 13827, + "start": 13777, + "end": 13789, "loc": { "start": { - "line": 386, + "line": 385, "column": 8 }, "end": { - "line": 386, + "line": 385, "column": 20 } }, "argument": { "type": "ThisExpression", - "start": 13822, - "end": 13826, + "start": 13784, + "end": 13788, "loc": { "start": { - "line": 386, + "line": 385, "column": 15 }, "end": { - "line": 386, + "line": 385, "column": 19 } } @@ -17502,15 +17406,15 @@ { "type": "CommentBlock", "value": "*\r\n * Reorders the frame in the animation. The index of the passed frame will be swapped with the frame at pIndex.\r\n * The \"first\" frame of the animation is technically this icon's dataURL. So if you are aiming to change the order of this icon and convert it into a frame.\r\n * pCurrentIndex must be set to -1 to match this icon.\r\n * @param {number} pCurrentIndex - The current index of the frame.\r\n * @param {number} pIndex - The index the frame will be moving to.\r\n * @returns {self} This icon instance.\r\n ", - "start": 11360, - "end": 11899, + "start": 11322, + "end": 11861, "loc": { "start": { - "line": 339, + "line": 338, "column": 4 }, "end": { - "line": 346, + "line": 345, "column": 7 } } @@ -17520,15 +17424,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the frame existing at pIndex.\r\n * Frame 0 will actually be frame \"1\" in the animation. As this icon will actually be frame 0.\r\n * If you are trying to get \"frame\" 1. Then you will need to use the icon's delay and data url. As that is frame 0.\r\n * @param {number} pIndex - The index of the frame to get.\r\n * @returns {Frame|undefined} The frame found at pIndex.\r\n ", - "start": 13840, - "end": 14242, + "start": 13802, + "end": 14204, "loc": { "start": { - "line": 388, + "line": 387, "column": 4 }, "end": { - "line": 394, + "line": 393, "column": 7 } } @@ -17537,15 +17441,15 @@ }, { "type": "ClassMethod", - "start": 14248, - "end": 14461, + "start": 14210, + "end": 14423, "loc": { "start": { - "line": 395, + "line": 394, "column": 4 }, "end": { - "line": 401, + "line": 400, "column": 5 } }, @@ -17553,15 +17457,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 14248, - "end": 14256, + "start": 14210, + "end": 14218, "loc": { "start": { - "line": 395, + "line": 394, "column": 4 }, "end": { - "line": 395, + "line": 394, "column": 12 }, "identifierName": "getFrame" @@ -17577,15 +17481,15 @@ "params": [ { "type": "Identifier", - "start": 14257, - "end": 14263, + "start": 14219, + "end": 14225, "loc": { "start": { - "line": 395, + "line": 394, "column": 13 }, "end": { - "line": 395, + "line": 394, "column": 19 }, "identifierName": "pIndex" @@ -17595,58 +17499,58 @@ ], "body": { "type": "BlockStatement", - "start": 14265, - "end": 14461, + "start": 14227, + "end": 14423, "loc": { "start": { - "line": 395, + "line": 394, "column": 21 }, "end": { - "line": 401, + "line": 400, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 14276, - "end": 14454, + "start": 14238, + "end": 14416, "loc": { "start": { - "line": 396, + "line": 395, "column": 8 }, "end": { - "line": 400, + "line": 399, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 14280, - "end": 14307, + "start": 14242, + "end": 14269, "loc": { "start": { - "line": 396, + "line": 395, "column": 12 }, "end": { - "line": 396, + "line": 395, "column": 39 } }, "left": { "type": "UnaryExpression", - "start": 14280, - "end": 14294, + "start": 14242, + "end": 14256, "loc": { "start": { - "line": 396, + "line": 395, "column": 12 }, "end": { - "line": 396, + "line": 395, "column": 26 } }, @@ -17654,15 +17558,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 14287, - "end": 14293, + "start": 14249, + "end": 14255, "loc": { "start": { - "line": 396, + "line": 395, "column": 19 }, "end": { - "line": 396, + "line": 395, "column": 25 }, "identifierName": "pIndex" @@ -17670,7 +17574,7 @@ "name": "pIndex", "extra": { "parenthesized": true, - "parenStart": 14286 + "parenStart": 14248 } }, "extra": { @@ -17680,15 +17584,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 14299, - "end": 14307, + "start": 14261, + "end": 14269, "loc": { "start": { - "line": 396, + "line": 395, "column": 31 }, "end": { - "line": 396, + "line": 395, "column": 39 } }, @@ -17701,87 +17605,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 14309, - "end": 14362, + "start": 14271, + "end": 14324, "loc": { "start": { - "line": 396, + "line": 395, "column": 41 }, "end": { - "line": 398, + "line": 397, "column": 9 } }, "body": [ { "type": "ReturnStatement", - "start": 14324, - "end": 14351, + "start": 14286, + "end": 14313, "loc": { "start": { - "line": 397, + "line": 396, "column": 12 }, "end": { - "line": 397, + "line": 396, "column": 39 } }, "argument": { "type": "MemberExpression", - "start": 14331, - "end": 14350, + "start": 14293, + "end": 14312, "loc": { "start": { - "line": 397, + "line": 396, "column": 19 }, "end": { - "line": 397, + "line": 396, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 14331, - "end": 14342, + "start": 14293, + "end": 14304, "loc": { "start": { - "line": 397, + "line": 396, "column": 19 }, "end": { - "line": 397, + "line": 396, "column": 30 } }, "object": { "type": "ThisExpression", - "start": 14331, - "end": 14335, + "start": 14293, + "end": 14297, "loc": { "start": { - "line": 397, + "line": 396, "column": 19 }, "end": { - "line": 397, + "line": 396, "column": 23 } } }, "property": { "type": "Identifier", - "start": 14336, - "end": 14342, + "start": 14298, + "end": 14304, "loc": { "start": { - "line": 397, + "line": 396, "column": 24 }, "end": { - "line": 397, + "line": 396, "column": 30 }, "identifierName": "frames" @@ -17792,15 +17696,15 @@ }, "property": { "type": "Identifier", - "start": 14343, - "end": 14349, + "start": 14305, + "end": 14311, "loc": { "start": { - "line": 397, + "line": 396, "column": 31 }, "end": { - "line": 397, + "line": 396, "column": 37 }, "identifierName": "pIndex" @@ -17815,114 +17719,114 @@ }, "alternate": { "type": "BlockStatement", - "start": 14368, - "end": 14454, + "start": 14330, + "end": 14416, "loc": { "start": { - "line": 398, + "line": 397, "column": 15 }, "end": { - "line": 400, + "line": 399, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 14383, - "end": 14443, + "start": 14345, + "end": 14405, "loc": { "start": { - "line": 399, + "line": 398, "column": 12 }, "end": { - "line": 399, + "line": 398, "column": 72 } }, "expression": { "type": "CallExpression", - "start": 14383, - "end": 14442, + "start": 14345, + "end": 14404, "loc": { "start": { - "line": 399, + "line": 398, "column": 12 }, "end": { - "line": 399, + "line": 398, "column": 71 } }, "callee": { "type": "MemberExpression", - "start": 14383, - "end": 14420, + "start": 14345, + "end": 14382, "loc": { "start": { - "line": 399, + "line": 398, "column": 12 }, "end": { - "line": 399, + "line": 398, "column": 49 } }, "object": { "type": "CallExpression", - "start": 14383, - "end": 14414, + "start": 14345, + "end": 14376, "loc": { "start": { - "line": 399, + "line": 398, "column": 12 }, "end": { - "line": 399, + "line": 398, "column": 43 } }, "callee": { "type": "MemberExpression", - "start": 14383, - "end": 14400, + "start": 14345, + "end": 14362, "loc": { "start": { - "line": 399, + "line": 398, "column": 12 }, "end": { - "line": 399, + "line": 398, "column": 29 } }, "object": { "type": "MemberExpression", - "start": 14383, - "end": 14393, + "start": 14345, + "end": 14355, "loc": { "start": { - "line": 399, + "line": 398, "column": 12 }, "end": { - "line": 399, + "line": 398, "column": 22 } }, "object": { "type": "Identifier", - "start": 14383, - "end": 14386, + "start": 14345, + "end": 14348, "loc": { "start": { - "line": 399, + "line": 398, "column": 12 }, "end": { - "line": 399, + "line": 398, "column": 15 }, "identifierName": "VYI" @@ -17931,15 +17835,15 @@ }, "property": { "type": "Identifier", - "start": 14387, - "end": 14393, + "start": 14349, + "end": 14355, "loc": { "start": { - "line": 399, + "line": 398, "column": 16 }, "end": { - "line": 399, + "line": 398, "column": 22 }, "identifierName": "logger" @@ -17950,15 +17854,15 @@ }, "property": { "type": "Identifier", - "start": 14394, - "end": 14400, + "start": 14356, + "end": 14362, "loc": { "start": { - "line": 399, + "line": 398, "column": 23 }, "end": { - "line": 399, + "line": 398, "column": 29 }, "identifierName": "prefix" @@ -17970,15 +17874,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 14401, - "end": 14413, + "start": 14363, + "end": 14375, "loc": { "start": { - "line": 399, + "line": 398, "column": 30 }, "end": { - "line": 399, + "line": 398, "column": 42 } }, @@ -17992,15 +17896,15 @@ }, "property": { "type": "Identifier", - "start": 14415, - "end": 14420, + "start": 14377, + "end": 14382, "loc": { "start": { - "line": 399, + "line": 398, "column": 44 }, "end": { - "line": 399, + "line": 398, "column": 49 }, "identifierName": "error" @@ -18012,15 +17916,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 14421, - "end": 14441, + "start": 14383, + "end": 14403, "loc": { "start": { - "line": 399, + "line": 398, "column": 50 }, "end": { - "line": 399, + "line": 398, "column": 70 } }, @@ -18045,15 +17949,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the frame existing at pIndex.\r\n * Frame 0 will actually be frame \"1\" in the animation. As this icon will actually be frame 0.\r\n * If you are trying to get \"frame\" 1. Then you will need to use the icon's delay and data url. As that is frame 0.\r\n * @param {number} pIndex - The index of the frame to get.\r\n * @returns {Frame|undefined} The frame found at pIndex.\r\n ", - "start": 13840, - "end": 14242, + "start": 13802, + "end": 14204, "loc": { "start": { - "line": 388, + "line": 387, "column": 4 }, "end": { - "line": 394, + "line": 393, "column": 7 } } @@ -18063,15 +17967,15 @@ { "type": "CommentBlock", "value": "*\r\n * Returns an array of all the frames this icons has.\r\n * @returns {Array} An array of frames this icon has.\r\n ", - "start": 14467, - "end": 14597, + "start": 14429, + "end": 14559, "loc": { "start": { - "line": 402, + "line": 401, "column": 4 }, "end": { - "line": 405, + "line": 404, "column": 7 } } @@ -18080,15 +17984,15 @@ }, { "type": "ClassMethod", - "start": 14603, - "end": 14659, + "start": 14565, + "end": 14621, "loc": { "start": { - "line": 406, + "line": 405, "column": 4 }, "end": { - "line": 408, + "line": 407, "column": 5 } }, @@ -18096,15 +18000,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 14603, - "end": 14612, + "start": 14565, + "end": 14574, "loc": { "start": { - "line": 406, + "line": 405, "column": 4 }, "end": { - "line": 406, + "line": 405, "column": 13 }, "identifierName": "getFrames" @@ -18120,102 +18024,102 @@ "params": [], "body": { "type": "BlockStatement", - "start": 14615, - "end": 14659, + "start": 14577, + "end": 14621, "loc": { "start": { - "line": 406, + "line": 405, "column": 16 }, "end": { - "line": 408, + "line": 407, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 14626, - "end": 14652, + "start": 14588, + "end": 14614, "loc": { "start": { - "line": 407, + "line": 406, "column": 8 }, "end": { - "line": 407, + "line": 406, "column": 34 } }, "argument": { "type": "ArrayExpression", - "start": 14633, - "end": 14651, + "start": 14595, + "end": 14613, "loc": { "start": { - "line": 407, + "line": 406, "column": 15 }, "end": { - "line": 407, + "line": 406, "column": 33 } }, "elements": [ { "type": "SpreadElement", - "start": 14635, - "end": 14649, + "start": 14597, + "end": 14611, "loc": { "start": { - "line": 407, + "line": 406, "column": 17 }, "end": { - "line": 407, + "line": 406, "column": 31 } }, "argument": { "type": "MemberExpression", - "start": 14638, - "end": 14649, + "start": 14600, + "end": 14611, "loc": { "start": { - "line": 407, + "line": 406, "column": 20 }, "end": { - "line": 407, + "line": 406, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 14638, - "end": 14642, + "start": 14600, + "end": 14604, "loc": { "start": { - "line": 407, + "line": 406, "column": 20 }, "end": { - "line": 407, + "line": 406, "column": 24 } } }, "property": { "type": "Identifier", - "start": 14643, - "end": 14649, + "start": 14605, + "end": 14611, "loc": { "start": { - "line": 407, + "line": 406, "column": 25 }, "end": { - "line": 407, + "line": 406, "column": 31 }, "identifierName": "frames" @@ -18236,15 +18140,15 @@ { "type": "CommentBlock", "value": "*\r\n * Returns an array of all the frames this icons has.\r\n * @returns {Array} An array of frames this icon has.\r\n ", - "start": 14467, - "end": 14597, + "start": 14429, + "end": 14559, "loc": { "start": { - "line": 402, + "line": 401, "column": 4 }, "end": { - "line": 405, + "line": 404, "column": 7 } } @@ -18254,15 +18158,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets all the frames belonging to this icon.\r\n * @private\r\n * @returns {Array} An array containing the frame data of all frames.\r\n ", - "start": 14665, - "end": 14821, + "start": 14627, + "end": 14783, "loc": { "start": { - "line": 409, + "line": 408, "column": 4 }, "end": { - "line": 413, + "line": 412, "column": 7 } } @@ -18271,15 +18175,15 @@ }, { "type": "ClassMethod", - "start": 14827, - "end": 15026, + "start": 14789, + "end": 14988, "loc": { "start": { - "line": 414, + "line": 413, "column": 4 }, "end": { - "line": 420, + "line": 419, "column": 5 } }, @@ -18287,15 +18191,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 14827, - "end": 14840, + "start": 14789, + "end": 14802, "loc": { "start": { - "line": 414, + "line": 413, "column": 4 }, "end": { - "line": 414, + "line": 413, "column": 17 }, "identifierName": "getFramesData" @@ -18311,59 +18215,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 14843, - "end": 15026, + "start": 14805, + "end": 14988, "loc": { "start": { - "line": 414, + "line": 413, "column": 20 }, "end": { - "line": 420, + "line": 419, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 14854, - "end": 14880, + "start": 14816, + "end": 14842, "loc": { "start": { - "line": 415, + "line": 414, "column": 8 }, "end": { - "line": 415, + "line": 414, "column": 34 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 14860, - "end": 14879, + "start": 14822, + "end": 14841, "loc": { "start": { - "line": 415, + "line": 414, "column": 14 }, "end": { - "line": 415, + "line": 414, "column": 33 } }, "id": { "type": "Identifier", - "start": 14860, - "end": 14874, + "start": 14822, + "end": 14836, "loc": { "start": { - "line": 415, + "line": 414, "column": 14 }, "end": { - "line": 415, + "line": 414, "column": 28 }, "identifierName": "frameDataArray" @@ -18372,15 +18276,15 @@ }, "init": { "type": "ArrayExpression", - "start": 14877, - "end": 14879, + "start": 14839, + "end": 14841, "loc": { "start": { - "line": 415, + "line": 414, "column": 31 }, "end": { - "line": 415, + "line": 414, "column": 33 } }, @@ -18392,86 +18296,86 @@ }, { "type": "ExpressionStatement", - "start": 14890, - "end": 14987, + "start": 14852, + "end": 14949, "loc": { "start": { - "line": 416, + "line": 415, "column": 8 }, "end": { - "line": 418, + "line": 417, "column": 11 } }, "expression": { "type": "CallExpression", - "start": 14890, - "end": 14986, + "start": 14852, + "end": 14948, "loc": { "start": { - "line": 416, + "line": 415, "column": 8 }, "end": { - "line": 418, + "line": 417, "column": 10 } }, "callee": { "type": "MemberExpression", - "start": 14890, - "end": 14909, + "start": 14852, + "end": 14871, "loc": { "start": { - "line": 416, + "line": 415, "column": 8 }, "end": { - "line": 416, + "line": 415, "column": 27 } }, "object": { "type": "MemberExpression", - "start": 14890, - "end": 14901, + "start": 14852, + "end": 14863, "loc": { "start": { - "line": 416, + "line": 415, "column": 8 }, "end": { - "line": 416, + "line": 415, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 14890, - "end": 14894, + "start": 14852, + "end": 14856, "loc": { "start": { - "line": 416, + "line": 415, "column": 8 }, "end": { - "line": 416, + "line": 415, "column": 12 } } }, "property": { "type": "Identifier", - "start": 14895, - "end": 14901, + "start": 14857, + "end": 14863, "loc": { "start": { - "line": 416, + "line": 415, "column": 13 }, "end": { - "line": 416, + "line": 415, "column": 19 }, "identifierName": "frames" @@ -18482,15 +18386,15 @@ }, "property": { "type": "Identifier", - "start": 14902, - "end": 14909, + "start": 14864, + "end": 14871, "loc": { "start": { - "line": 416, + "line": 415, "column": 20 }, "end": { - "line": 416, + "line": 415, "column": 27 }, "identifierName": "forEach" @@ -18502,15 +18406,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 14910, - "end": 14985, + "start": 14872, + "end": 14947, "loc": { "start": { - "line": 416, + "line": 415, "column": 28 }, "end": { - "line": 418, + "line": 417, "column": 9 } }, @@ -18521,15 +18425,15 @@ "params": [ { "type": "Identifier", - "start": 14911, - "end": 14917, + "start": 14873, + "end": 14879, "loc": { "start": { - "line": 416, + "line": 415, "column": 29 }, "end": { - "line": 416, + "line": 415, "column": 35 }, "identifierName": "pFrame" @@ -18539,72 +18443,72 @@ ], "body": { "type": "BlockStatement", - "start": 14922, - "end": 14985, + "start": 14884, + "end": 14947, "loc": { "start": { - "line": 416, + "line": 415, "column": 40 }, "end": { - "line": 418, + "line": 417, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 14937, - "end": 14974, + "start": 14899, + "end": 14936, "loc": { "start": { - "line": 417, + "line": 416, "column": 12 }, "end": { - "line": 417, + "line": 416, "column": 49 } }, "expression": { "type": "CallExpression", - "start": 14937, - "end": 14973, + "start": 14899, + "end": 14935, "loc": { "start": { - "line": 417, + "line": 416, "column": 12 }, "end": { - "line": 417, + "line": 416, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 14937, - "end": 14956, + "start": 14899, + "end": 14918, "loc": { "start": { - "line": 417, + "line": 416, "column": 12 }, "end": { - "line": 417, + "line": 416, "column": 31 } }, "object": { "type": "Identifier", - "start": 14937, - "end": 14951, + "start": 14899, + "end": 14913, "loc": { "start": { - "line": 417, + "line": 416, "column": 12 }, "end": { - "line": 417, + "line": 416, "column": 26 }, "identifierName": "frameDataArray" @@ -18613,15 +18517,15 @@ }, "property": { "type": "Identifier", - "start": 14952, - "end": 14956, + "start": 14914, + "end": 14918, "loc": { "start": { - "line": 417, + "line": 416, "column": 27 }, "end": { - "line": 417, + "line": 416, "column": 31 }, "identifierName": "push" @@ -18633,43 +18537,43 @@ "arguments": [ { "type": "CallExpression", - "start": 14957, - "end": 14972, + "start": 14919, + "end": 14934, "loc": { "start": { - "line": 417, + "line": 416, "column": 32 }, "end": { - "line": 417, + "line": 416, "column": 47 } }, "callee": { "type": "MemberExpression", - "start": 14957, - "end": 14970, + "start": 14919, + "end": 14932, "loc": { "start": { - "line": 417, + "line": 416, "column": 32 }, "end": { - "line": 417, + "line": 416, "column": 45 } }, "object": { "type": "Identifier", - "start": 14957, - "end": 14963, + "start": 14919, + "end": 14925, "loc": { "start": { - "line": 417, + "line": 416, "column": 32 }, "end": { - "line": 417, + "line": 416, "column": 38 }, "identifierName": "pFrame" @@ -18678,15 +18582,15 @@ }, "property": { "type": "Identifier", - "start": 14964, - "end": 14970, + "start": 14926, + "end": 14932, "loc": { "start": { - "line": 417, + "line": 416, "column": 39 }, "end": { - "line": 417, + "line": 416, "column": 45 }, "identifierName": "export" @@ -18709,29 +18613,29 @@ }, { "type": "ReturnStatement", - "start": 14997, - "end": 15019, + "start": 14959, + "end": 14981, "loc": { "start": { - "line": 419, + "line": 418, "column": 8 }, "end": { - "line": 419, + "line": 418, "column": 30 } }, "argument": { "type": "Identifier", - "start": 15004, - "end": 15018, + "start": 14966, + "end": 14980, "loc": { "start": { - "line": 419, + "line": 418, "column": 15 }, "end": { - "line": 419, + "line": 418, "column": 29 }, "identifierName": "frameDataArray" @@ -18747,15 +18651,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets all the frames belonging to this icon.\r\n * @private\r\n * @returns {Array} An array containing the frame data of all frames.\r\n ", - "start": 14665, - "end": 14821, + "start": 14627, + "end": 14783, "loc": { "start": { - "line": 409, + "line": 408, "column": 4 }, "end": { - "line": 413, + "line": 412, "column": 7 } } @@ -18765,15 +18669,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the state that has the name pName.\r\n * @param {string} pName - The name of the state to get.\r\n * @returns {Icon} The state that has the name of pName.\r\n ", - "start": 15032, - "end": 15216, + "start": 14994, + "end": 15178, "loc": { "start": { - "line": 421, + "line": 420, "column": 4 }, "end": { - "line": 425, + "line": 424, "column": 7 } } @@ -18782,15 +18686,15 @@ }, { "type": "ClassMethod", - "start": 15222, - "end": 15693, + "start": 15184, + "end": 15655, "loc": { "start": { - "line": 426, + "line": 425, "column": 4 }, "end": { - "line": 438, + "line": 437, "column": 5 } }, @@ -18798,15 +18702,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 15222, - "end": 15230, + "start": 15184, + "end": 15192, "loc": { "start": { - "line": 426, + "line": 425, "column": 4 }, "end": { - "line": 426, + "line": 425, "column": 12 }, "identifierName": "getState" @@ -18822,15 +18726,15 @@ "params": [ { "type": "Identifier", - "start": 15231, - "end": 15236, + "start": 15193, + "end": 15198, "loc": { "start": { - "line": 426, + "line": 425, "column": 13 }, "end": { - "line": 426, + "line": 425, "column": 18 }, "identifierName": "pName" @@ -18840,58 +18744,58 @@ ], "body": { "type": "BlockStatement", - "start": 15238, - "end": 15693, + "start": 15200, + "end": 15655, "loc": { "start": { - "line": 426, + "line": 425, "column": 20 }, "end": { - "line": 438, + "line": 437, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 15249, - "end": 15686, + "start": 15211, + "end": 15648, "loc": { "start": { - "line": 427, + "line": 426, "column": 8 }, "end": { - "line": 437, + "line": 436, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 15253, - "end": 15279, + "start": 15215, + "end": 15241, "loc": { "start": { - "line": 427, + "line": 426, "column": 12 }, "end": { - "line": 427, + "line": 426, "column": 38 } }, "left": { "type": "UnaryExpression", - "start": 15253, - "end": 15266, + "start": 15215, + "end": 15228, "loc": { "start": { - "line": 427, + "line": 426, "column": 12 }, "end": { - "line": 427, + "line": 426, "column": 25 } }, @@ -18899,15 +18803,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 15260, - "end": 15265, + "start": 15222, + "end": 15227, "loc": { "start": { - "line": 427, + "line": 426, "column": 19 }, "end": { - "line": 427, + "line": 426, "column": 24 }, "identifierName": "pName" @@ -18915,7 +18819,7 @@ "name": "pName", "extra": { "parenthesized": true, - "parenStart": 15259 + "parenStart": 15221 } }, "extra": { @@ -18925,15 +18829,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 15271, - "end": 15279, + "start": 15233, + "end": 15241, "loc": { "start": { - "line": 427, + "line": 426, "column": 30 }, "end": { - "line": 427, + "line": 426, "column": 38 } }, @@ -18946,73 +18850,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 15281, - "end": 15589, + "start": 15243, + "end": 15551, "loc": { "start": { - "line": 427, + "line": 426, "column": 40 }, "end": { - "line": 435, + "line": 434, "column": 9 } }, "body": [ { "type": "ForStatement", - "start": 15296, - "end": 15578, + "start": 15258, + "end": 15540, "loc": { "start": { - "line": 428, + "line": 427, "column": 12 }, "end": { - "line": 434, + "line": 433, "column": 13 } }, "init": { "type": "VariableDeclaration", - "start": 15301, - "end": 15331, + "start": 15263, + "end": 15293, "loc": { "start": { - "line": 428, + "line": 427, "column": 17 }, "end": { - "line": 428, + "line": 427, "column": 47 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 15305, - "end": 15331, + "start": 15267, + "end": 15293, "loc": { "start": { - "line": 428, + "line": 427, "column": 21 }, "end": { - "line": 428, + "line": 427, "column": 47 } }, "id": { "type": "Identifier", - "start": 15305, - "end": 15306, + "start": 15267, + "end": 15268, "loc": { "start": { - "line": 428, + "line": 427, "column": 21 }, "end": { - "line": 428, + "line": 427, "column": 22 }, "identifierName": "i" @@ -19021,72 +18925,72 @@ }, "init": { "type": "BinaryExpression", - "start": 15309, - "end": 15331, + "start": 15271, + "end": 15293, "loc": { "start": { - "line": 428, + "line": 427, "column": 25 }, "end": { - "line": 428, + "line": 427, "column": 47 } }, "left": { "type": "MemberExpression", - "start": 15309, - "end": 15327, + "start": 15271, + "end": 15289, "loc": { "start": { - "line": 428, + "line": 427, "column": 25 }, "end": { - "line": 428, + "line": 427, "column": 43 } }, "object": { "type": "MemberExpression", - "start": 15309, - "end": 15320, + "start": 15271, + "end": 15282, "loc": { "start": { - "line": 428, + "line": 427, "column": 25 }, "end": { - "line": 428, + "line": 427, "column": 36 } }, "object": { "type": "ThisExpression", - "start": 15309, - "end": 15313, + "start": 15271, + "end": 15275, "loc": { "start": { - "line": 428, + "line": 427, "column": 25 }, "end": { - "line": 428, + "line": 427, "column": 29 } } }, "property": { "type": "Identifier", - "start": 15314, - "end": 15320, + "start": 15276, + "end": 15282, "loc": { "start": { - "line": 428, + "line": 427, "column": 30 }, "end": { - "line": 428, + "line": 427, "column": 36 }, "identifierName": "states" @@ -19097,15 +19001,15 @@ }, "property": { "type": "Identifier", - "start": 15321, - "end": 15327, + "start": 15283, + "end": 15289, "loc": { "start": { - "line": 428, + "line": 427, "column": 37 }, "end": { - "line": 428, + "line": 427, "column": 43 }, "identifierName": "length" @@ -19117,15 +19021,15 @@ "operator": "-", "right": { "type": "NumericLiteral", - "start": 15330, - "end": 15331, + "start": 15292, + "end": 15293, "loc": { "start": { - "line": 428, + "line": 427, "column": 46 }, "end": { - "line": 428, + "line": 427, "column": 47 } }, @@ -19142,29 +19046,29 @@ }, "test": { "type": "BinaryExpression", - "start": 15333, - "end": 15339, + "start": 15295, + "end": 15301, "loc": { "start": { - "line": 428, + "line": 427, "column": 49 }, "end": { - "line": 428, + "line": 427, "column": 55 } }, "left": { "type": "Identifier", - "start": 15333, - "end": 15334, + "start": 15295, + "end": 15296, "loc": { "start": { - "line": 428, + "line": 427, "column": 49 }, "end": { - "line": 428, + "line": 427, "column": 50 }, "identifierName": "i" @@ -19174,15 +19078,15 @@ "operator": ">=", "right": { "type": "NumericLiteral", - "start": 15338, - "end": 15339, + "start": 15300, + "end": 15301, "loc": { "start": { - "line": 428, + "line": 427, "column": 54 }, "end": { - "line": 428, + "line": 427, "column": 55 } }, @@ -19195,15 +19099,15 @@ }, "update": { "type": "UpdateExpression", - "start": 15341, - "end": 15344, + "start": 15303, + "end": 15306, "loc": { "start": { - "line": 428, + "line": 427, "column": 57 }, "end": { - "line": 428, + "line": 427, "column": 60 } }, @@ -19211,15 +19115,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 15341, - "end": 15342, + "start": 15303, + "end": 15304, "loc": { "start": { - "line": 428, + "line": 427, "column": 57 }, "end": { - "line": 428, + "line": 427, "column": 58 }, "identifierName": "i" @@ -19229,59 +19133,59 @@ }, "body": { "type": "BlockStatement", - "start": 15346, - "end": 15578, + "start": 15308, + "end": 15540, "loc": { "start": { - "line": 428, + "line": 427, "column": 62 }, "end": { - "line": 434, + "line": 433, "column": 13 } }, "body": [ { "type": "VariableDeclaration", - "start": 15365, - "end": 15393, + "start": 15327, + "end": 15355, "loc": { "start": { - "line": 429, + "line": 428, "column": 16 }, "end": { - "line": 429, + "line": 428, "column": 44 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 15371, - "end": 15392, + "start": 15333, + "end": 15354, "loc": { "start": { - "line": 429, + "line": 428, "column": 22 }, "end": { - "line": 429, + "line": 428, "column": 43 } }, "id": { "type": "Identifier", - "start": 15371, - "end": 15375, + "start": 15333, + "end": 15337, "loc": { "start": { - "line": 429, + "line": 428, "column": 22 }, "end": { - "line": 429, + "line": 428, "column": 26 }, "identifierName": "icon" @@ -19290,58 +19194,58 @@ }, "init": { "type": "MemberExpression", - "start": 15378, - "end": 15392, + "start": 15340, + "end": 15354, "loc": { "start": { - "line": 429, + "line": 428, "column": 29 }, "end": { - "line": 429, + "line": 428, "column": 43 } }, "object": { "type": "MemberExpression", - "start": 15378, - "end": 15389, + "start": 15340, + "end": 15351, "loc": { "start": { - "line": 429, + "line": 428, "column": 29 }, "end": { - "line": 429, + "line": 428, "column": 40 } }, "object": { "type": "ThisExpression", - "start": 15378, - "end": 15382, + "start": 15340, + "end": 15344, "loc": { "start": { - "line": 429, + "line": 428, "column": 29 }, "end": { - "line": 429, + "line": 428, "column": 33 } } }, "property": { "type": "Identifier", - "start": 15383, - "end": 15389, + "start": 15345, + "end": 15351, "loc": { "start": { - "line": 429, + "line": 428, "column": 34 }, "end": { - "line": 429, + "line": 428, "column": 40 }, "identifierName": "states" @@ -19352,15 +19256,15 @@ }, "property": { "type": "Identifier", - "start": 15390, - "end": 15391, + "start": 15352, + "end": 15353, "loc": { "start": { - "line": 429, + "line": 428, "column": 41 }, "end": { - "line": 429, + "line": 428, "column": 42 }, "identifierName": "i" @@ -19376,15 +19280,15 @@ { "type": "CommentLine", "value": " If the icon has the same name, return that icon", - "start": 15411, - "end": 15461, + "start": 15373, + "end": 15423, "loc": { "start": { - "line": 430, + "line": 429, "column": 16 }, "end": { - "line": 430, + "line": 429, "column": 66 } } @@ -19393,71 +19297,71 @@ }, { "type": "IfStatement", - "start": 15479, - "end": 15563, + "start": 15441, + "end": 15525, "loc": { "start": { - "line": 431, + "line": 430, "column": 16 }, "end": { - "line": 433, + "line": 432, "column": 17 } }, "test": { "type": "BinaryExpression", - "start": 15483, - "end": 15507, + "start": 15445, + "end": 15469, "loc": { "start": { - "line": 431, + "line": 430, "column": 20 }, "end": { - "line": 431, + "line": 430, "column": 44 } }, "left": { "type": "CallExpression", - "start": 15483, - "end": 15497, + "start": 15445, + "end": 15459, "loc": { "start": { - "line": 431, + "line": 430, "column": 20 }, "end": { - "line": 431, + "line": 430, "column": 34 } }, "callee": { "type": "MemberExpression", - "start": 15483, - "end": 15495, + "start": 15445, + "end": 15457, "loc": { "start": { - "line": 431, + "line": 430, "column": 20 }, "end": { - "line": 431, + "line": 430, "column": 32 } }, "object": { "type": "Identifier", - "start": 15483, - "end": 15487, + "start": 15445, + "end": 15449, "loc": { "start": { - "line": 431, + "line": 430, "column": 20 }, "end": { - "line": 431, + "line": 430, "column": 24 }, "identifierName": "icon" @@ -19467,15 +19371,15 @@ }, "property": { "type": "Identifier", - "start": 15488, - "end": 15495, + "start": 15450, + "end": 15457, "loc": { "start": { - "line": 431, + "line": 430, "column": 25 }, "end": { - "line": 431, + "line": 430, "column": 32 }, "identifierName": "getName" @@ -19491,15 +19395,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 15502, - "end": 15507, + "start": 15464, + "end": 15469, "loc": { "start": { - "line": 431, + "line": 430, "column": 39 }, "end": { - "line": 431, + "line": 430, "column": 44 }, "identifierName": "pName" @@ -19510,44 +19414,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 15509, - "end": 15563, + "start": 15471, + "end": 15525, "loc": { "start": { - "line": 431, + "line": 430, "column": 46 }, "end": { - "line": 433, + "line": 432, "column": 17 } }, "body": [ { "type": "ReturnStatement", - "start": 15532, - "end": 15544, + "start": 15494, + "end": 15506, "loc": { "start": { - "line": 432, + "line": 431, "column": 20 }, "end": { - "line": 432, + "line": 431, "column": 32 } }, "argument": { "type": "Identifier", - "start": 15539, - "end": 15543, + "start": 15501, + "end": 15505, "loc": { "start": { - "line": 432, + "line": 431, "column": 27 }, "end": { - "line": 432, + "line": 431, "column": 31 }, "identifierName": "icon" @@ -19563,15 +19467,15 @@ { "type": "CommentLine", "value": " If the icon has the same name, return that icon", - "start": 15411, - "end": 15461, + "start": 15373, + "end": 15423, "loc": { "start": { - "line": 430, + "line": 429, "column": 16 }, "end": { - "line": 430, + "line": 429, "column": 66 } } @@ -19587,114 +19491,114 @@ }, "alternate": { "type": "BlockStatement", - "start": 15595, - "end": 15686, + "start": 15557, + "end": 15648, "loc": { "start": { - "line": 435, + "line": 434, "column": 15 }, "end": { - "line": 437, + "line": 436, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 15610, - "end": 15675, + "start": 15572, + "end": 15637, "loc": { "start": { - "line": 436, + "line": 435, "column": 12 }, "end": { - "line": 436, + "line": 435, "column": 77 } }, "expression": { "type": "CallExpression", - "start": 15610, - "end": 15674, + "start": 15572, + "end": 15636, "loc": { "start": { - "line": 436, + "line": 435, "column": 12 }, "end": { - "line": 436, + "line": 435, "column": 76 } }, "callee": { "type": "MemberExpression", - "start": 15610, - "end": 15647, + "start": 15572, + "end": 15609, "loc": { "start": { - "line": 436, + "line": 435, "column": 12 }, "end": { - "line": 436, + "line": 435, "column": 49 } }, "object": { "type": "CallExpression", - "start": 15610, - "end": 15641, + "start": 15572, + "end": 15603, "loc": { "start": { - "line": 436, + "line": 435, "column": 12 }, "end": { - "line": 436, + "line": 435, "column": 43 } }, "callee": { "type": "MemberExpression", - "start": 15610, - "end": 15627, + "start": 15572, + "end": 15589, "loc": { "start": { - "line": 436, + "line": 435, "column": 12 }, "end": { - "line": 436, + "line": 435, "column": 29 } }, "object": { "type": "MemberExpression", - "start": 15610, - "end": 15620, + "start": 15572, + "end": 15582, "loc": { "start": { - "line": 436, + "line": 435, "column": 12 }, "end": { - "line": 436, + "line": 435, "column": 22 } }, "object": { "type": "Identifier", - "start": 15610, - "end": 15613, + "start": 15572, + "end": 15575, "loc": { "start": { - "line": 436, + "line": 435, "column": 12 }, "end": { - "line": 436, + "line": 435, "column": 15 }, "identifierName": "VYI" @@ -19703,15 +19607,15 @@ }, "property": { "type": "Identifier", - "start": 15614, - "end": 15620, + "start": 15576, + "end": 15582, "loc": { "start": { - "line": 436, + "line": 435, "column": 16 }, "end": { - "line": 436, + "line": 435, "column": 22 }, "identifierName": "logger" @@ -19722,15 +19626,15 @@ }, "property": { "type": "Identifier", - "start": 15621, - "end": 15627, + "start": 15583, + "end": 15589, "loc": { "start": { - "line": 436, + "line": 435, "column": 23 }, "end": { - "line": 436, + "line": 435, "column": 29 }, "identifierName": "prefix" @@ -19742,15 +19646,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 15628, - "end": 15640, + "start": 15590, + "end": 15602, "loc": { "start": { - "line": 436, + "line": 435, "column": 30 }, "end": { - "line": 436, + "line": 435, "column": 42 } }, @@ -19764,15 +19668,15 @@ }, "property": { "type": "Identifier", - "start": 15642, - "end": 15647, + "start": 15604, + "end": 15609, "loc": { "start": { - "line": 436, + "line": 435, "column": 44 }, "end": { - "line": 436, + "line": 435, "column": 49 }, "identifierName": "error" @@ -19784,15 +19688,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 15648, - "end": 15673, + "start": 15610, + "end": 15635, "loc": { "start": { - "line": 436, + "line": 435, "column": 50 }, "end": { - "line": 436, + "line": 435, "column": 75 } }, @@ -19817,15 +19721,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the state that has the name pName.\r\n * @param {string} pName - The name of the state to get.\r\n * @returns {Icon} The state that has the name of pName.\r\n ", - "start": 15032, - "end": 15216, + "start": 14994, + "end": 15178, "loc": { "start": { - "line": 421, + "line": 420, "column": 4 }, "end": { - "line": 425, + "line": 424, "column": 7 } } @@ -19835,15 +19739,15 @@ { "type": "CommentBlock", "value": "*\r\n * Returns an array of all the states this icons has.\r\n * @returns {Array} An array of states this icon has.\r\n ", - "start": 15699, - "end": 15829, + "start": 15661, + "end": 15791, "loc": { "start": { - "line": 439, + "line": 438, "column": 4 }, "end": { - "line": 442, + "line": 441, "column": 7 } } @@ -19852,15 +19756,15 @@ }, { "type": "ClassMethod", - "start": 15835, - "end": 15891, + "start": 15797, + "end": 15853, "loc": { "start": { - "line": 443, + "line": 442, "column": 4 }, "end": { - "line": 445, + "line": 444, "column": 5 } }, @@ -19868,15 +19772,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 15835, - "end": 15844, + "start": 15797, + "end": 15806, "loc": { "start": { - "line": 443, + "line": 442, "column": 4 }, "end": { - "line": 443, + "line": 442, "column": 13 }, "identifierName": "getStates" @@ -19892,102 +19796,102 @@ "params": [], "body": { "type": "BlockStatement", - "start": 15847, - "end": 15891, + "start": 15809, + "end": 15853, "loc": { "start": { - "line": 443, + "line": 442, "column": 16 }, "end": { - "line": 445, + "line": 444, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 15858, - "end": 15884, + "start": 15820, + "end": 15846, "loc": { "start": { - "line": 444, + "line": 443, "column": 8 }, "end": { - "line": 444, + "line": 443, "column": 34 } }, "argument": { "type": "ArrayExpression", - "start": 15865, - "end": 15883, + "start": 15827, + "end": 15845, "loc": { "start": { - "line": 444, + "line": 443, "column": 15 }, "end": { - "line": 444, + "line": 443, "column": 33 } }, "elements": [ { "type": "SpreadElement", - "start": 15867, - "end": 15881, + "start": 15829, + "end": 15843, "loc": { "start": { - "line": 444, + "line": 443, "column": 17 }, "end": { - "line": 444, + "line": 443, "column": 31 } }, "argument": { "type": "MemberExpression", - "start": 15870, - "end": 15881, + "start": 15832, + "end": 15843, "loc": { "start": { - "line": 444, + "line": 443, "column": 20 }, "end": { - "line": 444, + "line": 443, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 15870, - "end": 15874, + "start": 15832, + "end": 15836, "loc": { "start": { - "line": 444, + "line": 443, "column": 20 }, "end": { - "line": 444, + "line": 443, "column": 24 } } }, "property": { "type": "Identifier", - "start": 15875, - "end": 15881, + "start": 15837, + "end": 15843, "loc": { "start": { - "line": 444, + "line": 443, "column": 25 }, "end": { - "line": 444, + "line": 443, "column": 31 }, "identifierName": "states" @@ -20008,15 +19912,15 @@ { "type": "CommentBlock", "value": "*\r\n * Returns an array of all the states this icons has.\r\n * @returns {Array} An array of states this icon has.\r\n ", - "start": 15699, - "end": 15829, + "start": 15661, + "end": 15791, "loc": { "start": { - "line": 439, + "line": 438, "column": 4 }, "end": { - "line": 442, + "line": 441, "column": 7 } } @@ -20026,15 +19930,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets all the states belonging to this icon.\r\n * @private\r\n * @returns {Array} An array containing the state data of all frames.\r\n ", - "start": 15897, - "end": 16053, + "start": 15859, + "end": 16015, "loc": { "start": { - "line": 446, + "line": 445, "column": 4 }, "end": { - "line": 450, + "line": 449, "column": 7 } } @@ -20043,15 +19947,15 @@ }, { "type": "ClassMethod", - "start": 16059, - "end": 16334, + "start": 16021, + "end": 16296, "loc": { "start": { - "line": 451, + "line": 450, "column": 4 }, "end": { - "line": 458, + "line": 457, "column": 5 } }, @@ -20059,15 +19963,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 16059, - "end": 16072, + "start": 16021, + "end": 16034, "loc": { "start": { - "line": 451, + "line": 450, "column": 4 }, "end": { - "line": 451, + "line": 450, "column": 17 }, "identifierName": "getStatesData" @@ -20083,59 +19987,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 16075, - "end": 16334, + "start": 16037, + "end": 16296, "loc": { "start": { - "line": 451, + "line": 450, "column": 20 }, "end": { - "line": 458, + "line": 457, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 16086, - "end": 16112, + "start": 16048, + "end": 16074, "loc": { "start": { - "line": 452, + "line": 451, "column": 8 }, "end": { - "line": 452, + "line": 451, "column": 34 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 16092, - "end": 16111, + "start": 16054, + "end": 16073, "loc": { "start": { - "line": 452, + "line": 451, "column": 14 }, "end": { - "line": 452, + "line": 451, "column": 33 } }, "id": { "type": "Identifier", - "start": 16092, - "end": 16106, + "start": 16054, + "end": 16068, "loc": { "start": { - "line": 452, + "line": 451, "column": 14 }, "end": { - "line": 452, + "line": 451, "column": 28 }, "identifierName": "stateDataArray" @@ -20144,15 +20048,15 @@ }, "init": { "type": "ArrayExpression", - "start": 16109, - "end": 16111, + "start": 16071, + "end": 16073, "loc": { "start": { - "line": 452, + "line": 451, "column": 31 }, "end": { - "line": 452, + "line": 451, "column": 33 } }, @@ -20165,15 +20069,15 @@ { "type": "CommentLine", "value": " Loop state array to export relevant information.", - "start": 16122, - "end": 16173, + "start": 16084, + "end": 16135, "loc": { "start": { - "line": 453, + "line": 452, "column": 8 }, "end": { - "line": 453, + "line": 452, "column": 59 } } @@ -20182,71 +20086,71 @@ }, { "type": "ExpressionStatement", - "start": 16183, - "end": 16287, + "start": 16145, + "end": 16249, "loc": { "start": { - "line": 454, + "line": 453, "column": 8 }, "end": { - "line": 456, + "line": 455, "column": 11 } }, "expression": { "type": "CallExpression", - "start": 16183, - "end": 16286, + "start": 16145, + "end": 16248, "loc": { "start": { - "line": 454, + "line": 453, "column": 8 }, "end": { - "line": 456, + "line": 455, "column": 10 } }, "callee": { "type": "MemberExpression", - "start": 16183, - "end": 16202, + "start": 16145, + "end": 16164, "loc": { "start": { - "line": 454, + "line": 453, "column": 8 }, "end": { - "line": 454, + "line": 453, "column": 27 } }, "object": { "type": "MemberExpression", - "start": 16183, - "end": 16194, + "start": 16145, + "end": 16156, "loc": { "start": { - "line": 454, + "line": 453, "column": 8 }, "end": { - "line": 454, + "line": 453, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 16183, - "end": 16187, + "start": 16145, + "end": 16149, "loc": { "start": { - "line": 454, + "line": 453, "column": 8 }, "end": { - "line": 454, + "line": 453, "column": 12 } }, @@ -20254,15 +20158,15 @@ }, "property": { "type": "Identifier", - "start": 16188, - "end": 16194, + "start": 16150, + "end": 16156, "loc": { "start": { - "line": 454, + "line": 453, "column": 13 }, "end": { - "line": 454, + "line": 453, "column": 19 }, "identifierName": "states" @@ -20274,15 +20178,15 @@ }, "property": { "type": "Identifier", - "start": 16195, - "end": 16202, + "start": 16157, + "end": 16164, "loc": { "start": { - "line": 454, + "line": 453, "column": 20 }, "end": { - "line": 454, + "line": 453, "column": 27 }, "identifierName": "forEach" @@ -20295,15 +20199,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 16203, - "end": 16285, + "start": 16165, + "end": 16247, "loc": { "start": { - "line": 454, + "line": 453, "column": 28 }, "end": { - "line": 456, + "line": 455, "column": 9 } }, @@ -20314,15 +20218,15 @@ "params": [ { "type": "Identifier", - "start": 16204, - "end": 16210, + "start": 16166, + "end": 16172, "loc": { "start": { - "line": 454, + "line": 453, "column": 29 }, "end": { - "line": 454, + "line": 453, "column": 35 }, "identifierName": "pState" @@ -20332,72 +20236,72 @@ ], "body": { "type": "BlockStatement", - "start": 16215, - "end": 16285, + "start": 16177, + "end": 16247, "loc": { "start": { - "line": 454, + "line": 453, "column": 40 }, "end": { - "line": 456, + "line": 455, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 16230, - "end": 16274, + "start": 16192, + "end": 16236, "loc": { "start": { - "line": 455, + "line": 454, "column": 12 }, "end": { - "line": 455, + "line": 454, "column": 56 } }, "expression": { "type": "CallExpression", - "start": 16230, - "end": 16273, + "start": 16192, + "end": 16235, "loc": { "start": { - "line": 455, + "line": 454, "column": 12 }, "end": { - "line": 455, + "line": 454, "column": 55 } }, "callee": { "type": "MemberExpression", - "start": 16230, - "end": 16249, + "start": 16192, + "end": 16211, "loc": { "start": { - "line": 455, + "line": 454, "column": 12 }, "end": { - "line": 455, + "line": 454, "column": 31 } }, "object": { "type": "Identifier", - "start": 16230, - "end": 16244, + "start": 16192, + "end": 16206, "loc": { "start": { - "line": 455, + "line": 454, "column": 12 }, "end": { - "line": 455, + "line": 454, "column": 26 }, "identifierName": "stateDataArray" @@ -20406,15 +20310,15 @@ }, "property": { "type": "Identifier", - "start": 16245, - "end": 16249, + "start": 16207, + "end": 16211, "loc": { "start": { - "line": 455, + "line": 454, "column": 27 }, "end": { - "line": 455, + "line": 454, "column": 31 }, "identifierName": "push" @@ -20426,43 +20330,43 @@ "arguments": [ { "type": "CallExpression", - "start": 16250, - "end": 16272, + "start": 16212, + "end": 16234, "loc": { "start": { - "line": 455, + "line": 454, "column": 32 }, "end": { - "line": 455, + "line": 454, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 16250, - "end": 16270, + "start": 16212, + "end": 16232, "loc": { "start": { - "line": 455, + "line": 454, "column": 32 }, "end": { - "line": 455, + "line": 454, "column": 52 } }, "object": { "type": "Identifier", - "start": 16250, - "end": 16256, + "start": 16212, + "end": 16218, "loc": { "start": { - "line": 455, + "line": 454, "column": 32 }, "end": { - "line": 455, + "line": 454, "column": 38 }, "identifierName": "pState" @@ -20471,15 +20375,15 @@ }, "property": { "type": "Identifier", - "start": 16257, - "end": 16270, + "start": 16219, + "end": 16232, "loc": { "start": { - "line": 455, + "line": 454, "column": 39 }, "end": { - "line": 455, + "line": 454, "column": 52 }, "identifierName": "exportAsState" @@ -20504,15 +20408,15 @@ { "type": "CommentLine", "value": " Loop state array to export relevant information.", - "start": 16122, - "end": 16173, + "start": 16084, + "end": 16135, "loc": { "start": { - "line": 453, + "line": 452, "column": 8 }, "end": { - "line": 453, + "line": 452, "column": 59 } } @@ -20521,29 +20425,29 @@ }, { "type": "ReturnStatement", - "start": 16297, - "end": 16319, + "start": 16259, + "end": 16281, "loc": { "start": { - "line": 457, + "line": 456, "column": 8 }, "end": { - "line": 457, + "line": 456, "column": 30 } }, "argument": { "type": "Identifier", - "start": 16304, - "end": 16318, + "start": 16266, + "end": 16280, "loc": { "start": { - "line": 457, + "line": 456, "column": 15 }, "end": { - "line": 457, + "line": 456, "column": 29 }, "identifierName": "stateDataArray" @@ -20559,15 +20463,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets all the states belonging to this icon.\r\n * @private\r\n * @returns {Array} An array containing the state data of all frames.\r\n ", - "start": 15897, - "end": 16053, + "start": 15859, + "end": 16015, "loc": { "start": { - "line": 446, + "line": 445, "column": 4 }, "end": { - "line": 450, + "line": 449, "column": 7 } } @@ -20577,15 +20481,15 @@ { "type": "CommentBlock", "value": "*\r\n * Exports this icon as if it was a state in the proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this icon as if it were a state.\r\n ", - "start": 16340, - "end": 16528, + "start": 16302, + "end": 16490, "loc": { "start": { - "line": 459, + "line": 458, "column": 4 }, "end": { - "line": 463, + "line": 462, "column": 7 } } @@ -20594,15 +20498,15 @@ }, { "type": "ClassMethod", - "start": 16534, - "end": 17045, + "start": 16496, + "end": 17007, "loc": { "start": { - "line": 464, + "line": 463, "column": 4 }, "end": { - "line": 480, + "line": 479, "column": 5 } }, @@ -20610,15 +20514,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 16534, - "end": 16547, + "start": 16496, + "end": 16509, "loc": { "start": { - "line": 464, + "line": 463, "column": 4 }, "end": { - "line": 464, + "line": 463, "column": 17 }, "identifierName": "exportAsState" @@ -20634,59 +20538,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 16550, - "end": 17045, + "start": 16512, + "end": 17007, "loc": { "start": { - "line": 464, + "line": 463, "column": 20 }, "end": { - "line": 480, + "line": 479, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 16561, - "end": 16582, + "start": 16523, + "end": 16544, "loc": { "start": { - "line": 465, + "line": 464, "column": 8 }, "end": { - "line": 465, + "line": 464, "column": 29 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 16567, - "end": 16581, + "start": 16529, + "end": 16543, "loc": { "start": { - "line": 465, + "line": 464, "column": 14 }, "end": { - "line": 465, + "line": 464, "column": 28 } }, "id": { "type": "Identifier", - "start": 16567, - "end": 16576, + "start": 16529, + "end": 16538, "loc": { "start": { - "line": 465, + "line": 464, "column": 14 }, "end": { - "line": 465, + "line": 464, "column": 23 }, "identifierName": "stateData" @@ -20695,15 +20599,15 @@ }, "init": { "type": "ArrayExpression", - "start": 16579, - "end": 16581, + "start": 16541, + "end": 16543, "loc": { "start": { - "line": 465, + "line": 464, "column": 26 }, "end": { - "line": 465, + "line": 464, "column": 28 } }, @@ -20716,15 +20620,15 @@ { "type": "CommentLine", "value": " state name", - "start": 16592, - "end": 16605, + "start": 16554, + "end": 16567, "loc": { "start": { - "line": 466, + "line": 465, "column": 8 }, "end": { - "line": 466, + "line": 465, "column": 21 } } @@ -20733,58 +20637,58 @@ }, { "type": "ExpressionStatement", - "start": 16615, - "end": 16645, + "start": 16577, + "end": 16607, "loc": { "start": { - "line": 467, + "line": 466, "column": 8 }, "end": { - "line": 467, + "line": 466, "column": 38 } }, "expression": { "type": "AssignmentExpression", - "start": 16615, - "end": 16644, + "start": 16577, + "end": 16606, "loc": { "start": { - "line": 467, + "line": 466, "column": 8 }, "end": { - "line": 467, + "line": 466, "column": 37 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 16615, - "end": 16627, + "start": 16577, + "end": 16589, "loc": { "start": { - "line": 467, + "line": 466, "column": 8 }, "end": { - "line": 467, + "line": 466, "column": 20 } }, "object": { "type": "Identifier", - "start": 16615, - "end": 16624, + "start": 16577, + "end": 16586, "loc": { "start": { - "line": 467, + "line": 466, "column": 8 }, "end": { - "line": 467, + "line": 466, "column": 17 }, "identifierName": "stateData" @@ -20794,15 +20698,15 @@ }, "property": { "type": "NumericLiteral", - "start": 16625, - "end": 16626, + "start": 16587, + "end": 16588, "loc": { "start": { - "line": 467, + "line": 466, "column": 18 }, "end": { - "line": 467, + "line": 466, "column": 19 } }, @@ -20817,58 +20721,58 @@ }, "right": { "type": "CallExpression", - "start": 16630, - "end": 16644, + "start": 16592, + "end": 16606, "loc": { "start": { - "line": 467, + "line": 466, "column": 23 }, "end": { - "line": 467, + "line": 466, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 16630, - "end": 16642, + "start": 16592, + "end": 16604, "loc": { "start": { - "line": 467, + "line": 466, "column": 23 }, "end": { - "line": 467, + "line": 466, "column": 35 } }, "object": { "type": "ThisExpression", - "start": 16630, - "end": 16634, + "start": 16592, + "end": 16596, "loc": { "start": { - "line": 467, + "line": 466, "column": 23 }, "end": { - "line": 467, + "line": 466, "column": 27 } } }, "property": { "type": "Identifier", - "start": 16635, - "end": 16642, + "start": 16597, + "end": 16604, "loc": { "start": { - "line": 467, + "line": 466, "column": 28 }, "end": { - "line": 467, + "line": 466, "column": 35 }, "identifierName": "getName" @@ -20885,15 +20789,15 @@ { "type": "CommentLine", "value": " state name", - "start": 16592, - "end": 16605, + "start": 16554, + "end": 16567, "loc": { "start": { - "line": 466, + "line": 465, "column": 8 }, "end": { - "line": 466, + "line": 465, "column": 21 } } @@ -20903,15 +20807,15 @@ { "type": "CommentLine", "value": " state dataURL", - "start": 16655, - "end": 16671, + "start": 16617, + "end": 16633, "loc": { "start": { - "line": 468, + "line": 467, "column": 8 }, "end": { - "line": 468, + "line": 467, "column": 24 } } @@ -20920,58 +20824,58 @@ }, { "type": "ExpressionStatement", - "start": 16681, - "end": 16714, + "start": 16643, + "end": 16676, "loc": { "start": { - "line": 469, + "line": 468, "column": 8 }, "end": { - "line": 469, + "line": 468, "column": 41 } }, "expression": { "type": "AssignmentExpression", - "start": 16681, - "end": 16713, + "start": 16643, + "end": 16675, "loc": { "start": { - "line": 469, + "line": 468, "column": 8 }, "end": { - "line": 469, + "line": 468, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 16681, - "end": 16693, + "start": 16643, + "end": 16655, "loc": { "start": { - "line": 469, + "line": 468, "column": 8 }, "end": { - "line": 469, + "line": 468, "column": 20 } }, "object": { "type": "Identifier", - "start": 16681, - "end": 16690, + "start": 16643, + "end": 16652, "loc": { "start": { - "line": 469, + "line": 468, "column": 8 }, "end": { - "line": 469, + "line": 468, "column": 17 }, "identifierName": "stateData" @@ -20981,15 +20885,15 @@ }, "property": { "type": "NumericLiteral", - "start": 16691, - "end": 16692, + "start": 16653, + "end": 16654, "loc": { "start": { - "line": 469, + "line": 468, "column": 18 }, "end": { - "line": 469, + "line": 468, "column": 19 } }, @@ -21004,58 +20908,58 @@ }, "right": { "type": "CallExpression", - "start": 16696, - "end": 16713, + "start": 16658, + "end": 16675, "loc": { "start": { - "line": 469, + "line": 468, "column": 23 }, "end": { - "line": 469, + "line": 468, "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 16696, - "end": 16711, + "start": 16658, + "end": 16673, "loc": { "start": { - "line": 469, + "line": 468, "column": 23 }, "end": { - "line": 469, + "line": 468, "column": 38 } }, "object": { "type": "ThisExpression", - "start": 16696, - "end": 16700, + "start": 16658, + "end": 16662, "loc": { "start": { - "line": 469, + "line": 468, "column": 23 }, "end": { - "line": 469, + "line": 468, "column": 27 } } }, "property": { "type": "Identifier", - "start": 16701, - "end": 16711, + "start": 16663, + "end": 16673, "loc": { "start": { - "line": 469, + "line": 468, "column": 28 }, "end": { - "line": 469, + "line": 468, "column": 38 }, "identifierName": "getDataURL" @@ -21072,15 +20976,15 @@ { "type": "CommentLine", "value": " state dataURL", - "start": 16655, - "end": 16671, + "start": 16617, + "end": 16633, "loc": { "start": { - "line": 468, + "line": 467, "column": 8 }, "end": { - "line": 468, + "line": 467, "column": 24 } } @@ -21090,15 +20994,15 @@ { "type": "CommentLine", "value": " state frame delay", - "start": 16724, - "end": 16744, + "start": 16686, + "end": 16706, "loc": { "start": { - "line": 470, + "line": 469, "column": 8 }, "end": { - "line": 470, + "line": 469, "column": 28 } } @@ -21107,58 +21011,58 @@ }, { "type": "ExpressionStatement", - "start": 16754, - "end": 16785, + "start": 16716, + "end": 16747, "loc": { "start": { - "line": 471, + "line": 470, "column": 8 }, "end": { - "line": 471, + "line": 470, "column": 39 } }, "expression": { "type": "AssignmentExpression", - "start": 16754, - "end": 16784, + "start": 16716, + "end": 16746, "loc": { "start": { - "line": 471, + "line": 470, "column": 8 }, "end": { - "line": 471, + "line": 470, "column": 38 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 16754, - "end": 16766, + "start": 16716, + "end": 16728, "loc": { "start": { - "line": 471, + "line": 470, "column": 8 }, "end": { - "line": 471, + "line": 470, "column": 20 } }, "object": { "type": "Identifier", - "start": 16754, - "end": 16763, + "start": 16716, + "end": 16725, "loc": { "start": { - "line": 471, + "line": 470, "column": 8 }, "end": { - "line": 471, + "line": 470, "column": 17 }, "identifierName": "stateData" @@ -21168,15 +21072,15 @@ }, "property": { "type": "NumericLiteral", - "start": 16764, - "end": 16765, + "start": 16726, + "end": 16727, "loc": { "start": { - "line": 471, + "line": 470, "column": 18 }, "end": { - "line": 471, + "line": 470, "column": 19 } }, @@ -21191,58 +21095,58 @@ }, "right": { "type": "CallExpression", - "start": 16769, - "end": 16784, + "start": 16731, + "end": 16746, "loc": { "start": { - "line": 471, + "line": 470, "column": 23 }, "end": { - "line": 471, + "line": 470, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 16769, - "end": 16782, + "start": 16731, + "end": 16744, "loc": { "start": { - "line": 471, + "line": 470, "column": 23 }, "end": { - "line": 471, + "line": 470, "column": 36 } }, "object": { "type": "ThisExpression", - "start": 16769, - "end": 16773, + "start": 16731, + "end": 16735, "loc": { "start": { - "line": 471, + "line": 470, "column": 23 }, "end": { - "line": 471, + "line": 470, "column": 27 } } }, "property": { "type": "Identifier", - "start": 16774, - "end": 16782, + "start": 16736, + "end": 16744, "loc": { "start": { - "line": 471, + "line": 470, "column": 28 }, "end": { - "line": 471, + "line": 470, "column": 36 }, "identifierName": "getDelay" @@ -21259,15 +21163,15 @@ { "type": "CommentLine", "value": " state frame delay", - "start": 16724, - "end": 16744, + "start": 16686, + "end": 16706, "loc": { "start": { - "line": 470, + "line": 469, "column": 8 }, "end": { - "line": 470, + "line": 469, "column": 28 } } @@ -21277,15 +21181,15 @@ { "type": "CommentLine", "value": " state frame array", - "start": 16795, - "end": 16815, + "start": 16757, + "end": 16777, "loc": { "start": { - "line": 472, + "line": 471, "column": 8 }, "end": { - "line": 472, + "line": 471, "column": 28 } } @@ -21294,58 +21198,58 @@ }, { "type": "ExpressionStatement", - "start": 16825, - "end": 16843, + "start": 16787, + "end": 16805, "loc": { "start": { - "line": 473, + "line": 472, "column": 8 }, "end": { - "line": 473, + "line": 472, "column": 26 } }, "expression": { "type": "AssignmentExpression", - "start": 16825, - "end": 16842, + "start": 16787, + "end": 16804, "loc": { "start": { - "line": 473, + "line": 472, "column": 8 }, "end": { - "line": 473, + "line": 472, "column": 25 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 16825, - "end": 16837, + "start": 16787, + "end": 16799, "loc": { "start": { - "line": 473, + "line": 472, "column": 8 }, "end": { - "line": 473, + "line": 472, "column": 20 } }, "object": { "type": "Identifier", - "start": 16825, - "end": 16834, + "start": 16787, + "end": 16796, "loc": { "start": { - "line": 473, + "line": 472, "column": 8 }, "end": { - "line": 473, + "line": 472, "column": 17 }, "identifierName": "stateData" @@ -21355,15 +21259,15 @@ }, "property": { "type": "NumericLiteral", - "start": 16835, - "end": 16836, + "start": 16797, + "end": 16798, "loc": { "start": { - "line": 473, + "line": 472, "column": 18 }, "end": { - "line": 473, + "line": 472, "column": 19 } }, @@ -21378,15 +21282,15 @@ }, "right": { "type": "ArrayExpression", - "start": 16840, - "end": 16842, + "start": 16802, + "end": 16804, "loc": { "start": { - "line": 473, + "line": 472, "column": 23 }, "end": { - "line": 473, + "line": 472, "column": 25 } }, @@ -21398,15 +21302,15 @@ { "type": "CommentLine", "value": " state frame array", - "start": 16795, - "end": 16815, + "start": 16757, + "end": 16777, "loc": { "start": { - "line": 472, + "line": 471, "column": 8 }, "end": { - "line": 472, + "line": 471, "column": 28 } } @@ -21416,15 +21320,15 @@ { "type": "CommentLine", "value": " Loop frame array to export relevant information.", - "start": 16855, - "end": 16906, + "start": 16817, + "end": 16868, "loc": { "start": { - "line": 475, + "line": 474, "column": 8 }, "end": { - "line": 475, + "line": 474, "column": 59 } } @@ -21433,71 +21337,71 @@ }, { "type": "ExpressionStatement", - "start": 16916, - "end": 17011, + "start": 16878, + "end": 16973, "loc": { "start": { - "line": 476, + "line": 475, "column": 8 }, "end": { - "line": 478, + "line": 477, "column": 11 } }, "expression": { "type": "CallExpression", - "start": 16916, - "end": 17010, + "start": 16878, + "end": 16972, "loc": { "start": { - "line": 476, + "line": 475, "column": 8 }, "end": { - "line": 478, + "line": 477, "column": 10 } }, "callee": { "type": "MemberExpression", - "start": 16916, - "end": 16935, + "start": 16878, + "end": 16897, "loc": { "start": { - "line": 476, + "line": 475, "column": 8 }, "end": { - "line": 476, + "line": 475, "column": 27 } }, "object": { "type": "MemberExpression", - "start": 16916, - "end": 16927, + "start": 16878, + "end": 16889, "loc": { "start": { - "line": 476, + "line": 475, "column": 8 }, "end": { - "line": 476, + "line": 475, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 16916, - "end": 16920, + "start": 16878, + "end": 16882, "loc": { "start": { - "line": 476, + "line": 475, "column": 8 }, "end": { - "line": 476, + "line": 475, "column": 12 } }, @@ -21505,15 +21409,15 @@ }, "property": { "type": "Identifier", - "start": 16921, - "end": 16927, + "start": 16883, + "end": 16889, "loc": { "start": { - "line": 476, + "line": 475, "column": 13 }, "end": { - "line": 476, + "line": 475, "column": 19 }, "identifierName": "frames" @@ -21525,15 +21429,15 @@ }, "property": { "type": "Identifier", - "start": 16928, - "end": 16935, + "start": 16890, + "end": 16897, "loc": { "start": { - "line": 476, + "line": 475, "column": 20 }, "end": { - "line": 476, + "line": 475, "column": 27 }, "identifierName": "forEach" @@ -21546,15 +21450,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 16936, - "end": 17009, + "start": 16898, + "end": 16971, "loc": { "start": { - "line": 476, + "line": 475, "column": 28 }, "end": { - "line": 478, + "line": 477, "column": 9 } }, @@ -21565,15 +21469,15 @@ "params": [ { "type": "Identifier", - "start": 16937, - "end": 16943, + "start": 16899, + "end": 16905, "loc": { "start": { - "line": 476, + "line": 475, "column": 29 }, "end": { - "line": 476, + "line": 475, "column": 35 }, "identifierName": "pFrame" @@ -21583,86 +21487,86 @@ ], "body": { "type": "BlockStatement", - "start": 16948, - "end": 17009, + "start": 16910, + "end": 16971, "loc": { "start": { - "line": 476, + "line": 475, "column": 40 }, "end": { - "line": 478, + "line": 477, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 16963, - "end": 16998, + "start": 16925, + "end": 16960, "loc": { "start": { - "line": 477, + "line": 476, "column": 12 }, "end": { - "line": 477, + "line": 476, "column": 47 } }, "expression": { "type": "CallExpression", - "start": 16963, - "end": 16997, + "start": 16925, + "end": 16959, "loc": { "start": { - "line": 477, + "line": 476, "column": 12 }, "end": { - "line": 477, + "line": 476, "column": 46 } }, "callee": { "type": "MemberExpression", - "start": 16963, - "end": 16980, + "start": 16925, + "end": 16942, "loc": { "start": { - "line": 477, + "line": 476, "column": 12 }, "end": { - "line": 477, + "line": 476, "column": 29 } }, "object": { "type": "MemberExpression", - "start": 16963, - "end": 16975, + "start": 16925, + "end": 16937, "loc": { "start": { - "line": 477, + "line": 476, "column": 12 }, "end": { - "line": 477, + "line": 476, "column": 24 } }, "object": { "type": "Identifier", - "start": 16963, - "end": 16972, + "start": 16925, + "end": 16934, "loc": { "start": { - "line": 477, + "line": 476, "column": 12 }, "end": { - "line": 477, + "line": 476, "column": 21 }, "identifierName": "stateData" @@ -21671,15 +21575,15 @@ }, "property": { "type": "NumericLiteral", - "start": 16973, - "end": 16974, + "start": 16935, + "end": 16936, "loc": { "start": { - "line": 477, + "line": 476, "column": 22 }, "end": { - "line": 477, + "line": 476, "column": 23 } }, @@ -21693,15 +21597,15 @@ }, "property": { "type": "Identifier", - "start": 16976, - "end": 16980, + "start": 16938, + "end": 16942, "loc": { "start": { - "line": 477, + "line": 476, "column": 25 }, "end": { - "line": 477, + "line": 476, "column": 29 }, "identifierName": "push" @@ -21713,43 +21617,43 @@ "arguments": [ { "type": "CallExpression", - "start": 16981, - "end": 16996, + "start": 16943, + "end": 16958, "loc": { "start": { - "line": 477, + "line": 476, "column": 30 }, "end": { - "line": 477, + "line": 476, "column": 45 } }, "callee": { "type": "MemberExpression", - "start": 16981, - "end": 16994, + "start": 16943, + "end": 16956, "loc": { "start": { - "line": 477, + "line": 476, "column": 30 }, "end": { - "line": 477, + "line": 476, "column": 43 } }, "object": { "type": "Identifier", - "start": 16981, - "end": 16987, + "start": 16943, + "end": 16949, "loc": { "start": { - "line": 477, + "line": 476, "column": 30 }, "end": { - "line": 477, + "line": 476, "column": 36 }, "identifierName": "pFrame" @@ -21758,15 +21662,15 @@ }, "property": { "type": "Identifier", - "start": 16988, - "end": 16994, + "start": 16950, + "end": 16956, "loc": { "start": { - "line": 477, + "line": 476, "column": 37 }, "end": { - "line": 477, + "line": 476, "column": 43 }, "identifierName": "export" @@ -21791,15 +21695,15 @@ { "type": "CommentLine", "value": " Loop frame array to export relevant information.", - "start": 16855, - "end": 16906, + "start": 16817, + "end": 16868, "loc": { "start": { - "line": 475, + "line": 474, "column": 8 }, "end": { - "line": 475, + "line": 474, "column": 59 } } @@ -21808,29 +21712,29 @@ }, { "type": "ReturnStatement", - "start": 17021, - "end": 17038, + "start": 16983, + "end": 17000, "loc": { "start": { - "line": 479, + "line": 478, "column": 8 }, "end": { - "line": 479, + "line": 478, "column": 25 } }, "argument": { "type": "Identifier", - "start": 17028, - "end": 17037, + "start": 16990, + "end": 16999, "loc": { "start": { - "line": 479, + "line": 478, "column": 15 }, "end": { - "line": 479, + "line": 478, "column": 24 }, "identifierName": "stateData" @@ -21846,15 +21750,15 @@ { "type": "CommentBlock", "value": "*\r\n * Exports this icon as if it was a state in the proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this icon as if it were a state.\r\n ", - "start": 16340, - "end": 16528, + "start": 16302, + "end": 16490, "loc": { "start": { - "line": 459, + "line": 458, "column": 4 }, "end": { - "line": 463, + "line": 462, "column": 7 } } @@ -21864,15 +21768,15 @@ { "type": "CommentBlock", "value": "*\r\n * Exports this icon's data into proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this icon in the proper vyi format.\r\n ", - "start": 17051, - "end": 17226, + "start": 17013, + "end": 17188, "loc": { "start": { - "line": 481, + "line": 480, "column": 4 }, "end": { - "line": 485, + "line": 484, "column": 7 } } @@ -21881,15 +21785,15 @@ }, { "type": "ClassMethod", - "start": 17232, - "end": 18034, + "start": 17194, + "end": 17996, "loc": { "start": { - "line": 486, + "line": 485, "column": 4 }, "end": { - "line": 510, + "line": 509, "column": 5 } }, @@ -21897,15 +21801,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 17232, - "end": 17238, + "start": 17194, + "end": 17200, "loc": { "start": { - "line": 486, + "line": 485, "column": 4 }, "end": { - "line": 486, + "line": 485, "column": 10 }, "identifierName": "export" @@ -21921,59 +21825,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 17241, - "end": 18034, + "start": 17203, + "end": 17996, "loc": { "start": { - "line": 486, + "line": 485, "column": 13 }, "end": { - "line": 510, + "line": 509, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 17252, - "end": 17272, + "start": 17214, + "end": 17234, "loc": { "start": { - "line": 487, + "line": 486, "column": 8 }, "end": { - "line": 487, + "line": 486, "column": 28 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 17258, - "end": 17271, + "start": 17220, + "end": 17233, "loc": { "start": { - "line": 487, + "line": 486, "column": 14 }, "end": { - "line": 487, + "line": 486, "column": 27 } }, "id": { "type": "Identifier", - "start": 17258, - "end": 17266, + "start": 17220, + "end": 17228, "loc": { "start": { - "line": 487, + "line": 486, "column": 14 }, "end": { - "line": 487, + "line": 486, "column": 22 }, "identifierName": "iconData" @@ -21982,15 +21886,15 @@ }, "init": { "type": "ArrayExpression", - "start": 17269, - "end": 17271, + "start": 17231, + "end": 17233, "loc": { "start": { - "line": 487, + "line": 486, "column": 25 }, "end": { - "line": 487, + "line": 486, "column": 27 } }, @@ -22003,15 +21907,15 @@ { "type": "CommentLine", "value": " icon name", - "start": 17282, - "end": 17294, + "start": 17244, + "end": 17256, "loc": { "start": { - "line": 488, + "line": 487, "column": 8 }, "end": { - "line": 488, + "line": 487, "column": 20 } } @@ -22020,58 +21924,58 @@ }, { "type": "ExpressionStatement", - "start": 17304, - "end": 17333, + "start": 17266, + "end": 17295, "loc": { "start": { - "line": 489, + "line": 488, "column": 8 }, "end": { - "line": 489, + "line": 488, "column": 37 } }, "expression": { "type": "AssignmentExpression", - "start": 17304, - "end": 17332, + "start": 17266, + "end": 17294, "loc": { "start": { - "line": 489, + "line": 488, "column": 8 }, "end": { - "line": 489, + "line": 488, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 17304, - "end": 17315, + "start": 17266, + "end": 17277, "loc": { "start": { - "line": 489, + "line": 488, "column": 8 }, "end": { - "line": 489, + "line": 488, "column": 19 } }, "object": { "type": "Identifier", - "start": 17304, - "end": 17312, + "start": 17266, + "end": 17274, "loc": { "start": { - "line": 489, + "line": 488, "column": 8 }, "end": { - "line": 489, + "line": 488, "column": 16 }, "identifierName": "iconData" @@ -22081,15 +21985,15 @@ }, "property": { "type": "NumericLiteral", - "start": 17313, - "end": 17314, + "start": 17275, + "end": 17276, "loc": { "start": { - "line": 489, + "line": 488, "column": 17 }, "end": { - "line": 489, + "line": 488, "column": 18 } }, @@ -22104,58 +22008,58 @@ }, "right": { "type": "CallExpression", - "start": 17318, - "end": 17332, + "start": 17280, + "end": 17294, "loc": { "start": { - "line": 489, + "line": 488, "column": 22 }, "end": { - "line": 489, + "line": 488, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 17318, - "end": 17330, + "start": 17280, + "end": 17292, "loc": { "start": { - "line": 489, + "line": 488, "column": 22 }, "end": { - "line": 489, + "line": 488, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 17318, - "end": 17322, + "start": 17280, + "end": 17284, "loc": { "start": { - "line": 489, + "line": 488, "column": 22 }, "end": { - "line": 489, + "line": 488, "column": 26 } } }, "property": { "type": "Identifier", - "start": 17323, - "end": 17330, + "start": 17285, + "end": 17292, "loc": { "start": { - "line": 489, + "line": 488, "column": 27 }, "end": { - "line": 489, + "line": 488, "column": 34 }, "identifierName": "getName" @@ -22172,15 +22076,15 @@ { "type": "CommentLine", "value": " icon name", - "start": 17282, - "end": 17294, + "start": 17244, + "end": 17256, "loc": { "start": { - "line": 488, + "line": 487, "column": 8 }, "end": { - "line": 488, + "line": 487, "column": 20 } } @@ -22190,15 +22094,15 @@ { "type": "CommentLine", "value": " Get the size of this icon.", - "start": 17343, - "end": 17372, + "start": 17305, + "end": 17334, "loc": { "start": { - "line": 490, + "line": 489, "column": 8 }, "end": { - "line": 490, + "line": 489, "column": 37 } } @@ -22207,44 +22111,44 @@ }, { "type": "VariableDeclaration", - "start": 17382, - "end": 17410, + "start": 17344, + "end": 17372, "loc": { "start": { - "line": 491, + "line": 490, "column": 8 }, "end": { - "line": 491, + "line": 490, "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 17388, - "end": 17409, + "start": 17350, + "end": 17371, "loc": { "start": { - "line": 491, + "line": 490, "column": 14 }, "end": { - "line": 491, + "line": 490, "column": 35 } }, "id": { "type": "Identifier", - "start": 17388, - "end": 17392, + "start": 17350, + "end": 17354, "loc": { "start": { - "line": 491, + "line": 490, "column": 14 }, "end": { - "line": 491, + "line": 490, "column": 18 }, "identifierName": "size" @@ -22254,58 +22158,58 @@ }, "init": { "type": "CallExpression", - "start": 17395, - "end": 17409, + "start": 17357, + "end": 17371, "loc": { "start": { - "line": 491, + "line": 490, "column": 21 }, "end": { - "line": 491, + "line": 490, "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 17395, - "end": 17407, + "start": 17357, + "end": 17369, "loc": { "start": { - "line": 491, + "line": 490, "column": 21 }, "end": { - "line": 491, + "line": 490, "column": 33 } }, "object": { "type": "ThisExpression", - "start": 17395, - "end": 17399, + "start": 17357, + "end": 17361, "loc": { "start": { - "line": 491, + "line": 490, "column": 21 }, "end": { - "line": 491, + "line": 490, "column": 25 } } }, "property": { "type": "Identifier", - "start": 17400, - "end": 17407, + "start": 17362, + "end": 17369, "loc": { "start": { - "line": 491, + "line": 490, "column": 26 }, "end": { - "line": 491, + "line": 490, "column": 33 }, "identifierName": "getSize" @@ -22324,15 +22228,15 @@ { "type": "CommentLine", "value": " Get the size of this icon.", - "start": 17343, - "end": 17372, + "start": 17305, + "end": 17334, "loc": { "start": { - "line": 490, + "line": 489, "column": 8 }, "end": { - "line": 490, + "line": 489, "column": 37 } } @@ -22342,15 +22246,15 @@ { "type": "CommentLine", "value": " icon width", - "start": 17420, - "end": 17433, + "start": 17382, + "end": 17395, "loc": { "start": { - "line": 492, + "line": 491, "column": 8 }, "end": { - "line": 492, + "line": 491, "column": 21 } } @@ -22359,58 +22263,58 @@ }, { "type": "ExpressionStatement", - "start": 17443, - "end": 17468, + "start": 17405, + "end": 17430, "loc": { "start": { - "line": 493, + "line": 492, "column": 8 }, "end": { - "line": 493, + "line": 492, "column": 33 } }, "expression": { "type": "AssignmentExpression", - "start": 17443, - "end": 17467, + "start": 17405, + "end": 17429, "loc": { "start": { - "line": 493, + "line": 492, "column": 8 }, "end": { - "line": 493, + "line": 492, "column": 32 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 17443, - "end": 17454, + "start": 17405, + "end": 17416, "loc": { "start": { - "line": 493, + "line": 492, "column": 8 }, "end": { - "line": 493, + "line": 492, "column": 19 } }, "object": { "type": "Identifier", - "start": 17443, - "end": 17451, + "start": 17405, + "end": 17413, "loc": { "start": { - "line": 493, + "line": 492, "column": 8 }, "end": { - "line": 493, + "line": 492, "column": 16 }, "identifierName": "iconData" @@ -22420,15 +22324,15 @@ }, "property": { "type": "NumericLiteral", - "start": 17452, - "end": 17453, + "start": 17414, + "end": 17415, "loc": { "start": { - "line": 493, + "line": 492, "column": 17 }, "end": { - "line": 493, + "line": 492, "column": 18 } }, @@ -22443,29 +22347,29 @@ }, "right": { "type": "MemberExpression", - "start": 17457, - "end": 17467, + "start": 17419, + "end": 17429, "loc": { "start": { - "line": 493, + "line": 492, "column": 22 }, "end": { - "line": 493, + "line": 492, "column": 32 } }, "object": { "type": "Identifier", - "start": 17457, - "end": 17461, + "start": 17419, + "end": 17423, "loc": { "start": { - "line": 493, + "line": 492, "column": 22 }, "end": { - "line": 493, + "line": 492, "column": 26 }, "identifierName": "size" @@ -22474,15 +22378,15 @@ }, "property": { "type": "Identifier", - "start": 17462, - "end": 17467, + "start": 17424, + "end": 17429, "loc": { "start": { - "line": 493, + "line": 492, "column": 27 }, "end": { - "line": 493, + "line": 492, "column": 32 }, "identifierName": "width" @@ -22497,15 +22401,15 @@ { "type": "CommentLine", "value": " icon width", - "start": 17420, - "end": 17433, + "start": 17382, + "end": 17395, "loc": { "start": { - "line": 492, + "line": 491, "column": 8 }, "end": { - "line": 492, + "line": 491, "column": 21 } } @@ -22515,15 +22419,15 @@ { "type": "CommentLine", "value": " icon height", - "start": 17478, - "end": 17492, + "start": 17440, + "end": 17454, "loc": { "start": { - "line": 494, + "line": 493, "column": 8 }, "end": { - "line": 494, + "line": 493, "column": 22 } } @@ -22532,58 +22436,58 @@ }, { "type": "ExpressionStatement", - "start": 17502, - "end": 17528, + "start": 17464, + "end": 17490, "loc": { "start": { - "line": 495, + "line": 494, "column": 8 }, "end": { - "line": 495, + "line": 494, "column": 34 } }, "expression": { "type": "AssignmentExpression", - "start": 17502, - "end": 17527, + "start": 17464, + "end": 17489, "loc": { "start": { - "line": 495, + "line": 494, "column": 8 }, "end": { - "line": 495, + "line": 494, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 17502, - "end": 17513, + "start": 17464, + "end": 17475, "loc": { "start": { - "line": 495, + "line": 494, "column": 8 }, "end": { - "line": 495, + "line": 494, "column": 19 } }, "object": { "type": "Identifier", - "start": 17502, - "end": 17510, + "start": 17464, + "end": 17472, "loc": { "start": { - "line": 495, + "line": 494, "column": 8 }, "end": { - "line": 495, + "line": 494, "column": 16 }, "identifierName": "iconData" @@ -22593,15 +22497,15 @@ }, "property": { "type": "NumericLiteral", - "start": 17511, - "end": 17512, + "start": 17473, + "end": 17474, "loc": { "start": { - "line": 495, + "line": 494, "column": 17 }, "end": { - "line": 495, + "line": 494, "column": 18 } }, @@ -22616,29 +22520,29 @@ }, "right": { "type": "MemberExpression", - "start": 17516, - "end": 17527, + "start": 17478, + "end": 17489, "loc": { "start": { - "line": 495, + "line": 494, "column": 22 }, "end": { - "line": 495, + "line": 494, "column": 33 } }, "object": { "type": "Identifier", - "start": 17516, - "end": 17520, + "start": 17478, + "end": 17482, "loc": { "start": { - "line": 495, + "line": 494, "column": 22 }, "end": { - "line": 495, + "line": 494, "column": 26 }, "identifierName": "size" @@ -22647,15 +22551,15 @@ }, "property": { "type": "Identifier", - "start": 17521, - "end": 17527, + "start": 17483, + "end": 17489, "loc": { "start": { - "line": 495, + "line": 494, "column": 27 }, "end": { - "line": 495, + "line": 494, "column": 33 }, "identifierName": "height" @@ -22670,15 +22574,15 @@ { "type": "CommentLine", "value": " icon height", - "start": 17478, - "end": 17492, + "start": 17440, + "end": 17454, "loc": { "start": { - "line": 494, + "line": 493, "column": 8 }, "end": { - "line": 494, + "line": 493, "column": 22 } } @@ -22688,15 +22592,15 @@ { "type": "CommentLine", "value": " frame delay", - "start": 17538, - "end": 17552, + "start": 17500, + "end": 17514, "loc": { "start": { - "line": 496, + "line": 495, "column": 8 }, "end": { - "line": 496, + "line": 495, "column": 22 } } @@ -22705,58 +22609,58 @@ }, { "type": "ExpressionStatement", - "start": 17562, - "end": 17592, + "start": 17524, + "end": 17554, "loc": { "start": { - "line": 497, + "line": 496, "column": 8 }, "end": { - "line": 497, + "line": 496, "column": 38 } }, "expression": { "type": "AssignmentExpression", - "start": 17562, - "end": 17591, + "start": 17524, + "end": 17553, "loc": { "start": { - "line": 497, + "line": 496, "column": 8 }, "end": { - "line": 497, + "line": 496, "column": 37 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 17562, - "end": 17573, + "start": 17524, + "end": 17535, "loc": { "start": { - "line": 497, + "line": 496, "column": 8 }, "end": { - "line": 497, + "line": 496, "column": 19 } }, "object": { "type": "Identifier", - "start": 17562, - "end": 17570, + "start": 17524, + "end": 17532, "loc": { "start": { - "line": 497, + "line": 496, "column": 8 }, "end": { - "line": 497, + "line": 496, "column": 16 }, "identifierName": "iconData" @@ -22766,15 +22670,15 @@ }, "property": { "type": "NumericLiteral", - "start": 17571, - "end": 17572, + "start": 17533, + "end": 17534, "loc": { "start": { - "line": 497, + "line": 496, "column": 17 }, "end": { - "line": 497, + "line": 496, "column": 18 } }, @@ -22789,58 +22693,58 @@ }, "right": { "type": "CallExpression", - "start": 17576, - "end": 17591, + "start": 17538, + "end": 17553, "loc": { "start": { - "line": 497, + "line": 496, "column": 22 }, "end": { - "line": 497, + "line": 496, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 17576, - "end": 17589, + "start": 17538, + "end": 17551, "loc": { "start": { - "line": 497, + "line": 496, "column": 22 }, "end": { - "line": 497, + "line": 496, "column": 35 } }, "object": { "type": "ThisExpression", - "start": 17576, - "end": 17580, + "start": 17538, + "end": 17542, "loc": { "start": { - "line": 497, + "line": 496, "column": 22 }, "end": { - "line": 497, + "line": 496, "column": 26 } } }, "property": { "type": "Identifier", - "start": 17581, - "end": 17589, + "start": 17543, + "end": 17551, "loc": { "start": { - "line": 497, + "line": 496, "column": 27 }, "end": { - "line": 497, + "line": 496, "column": 35 }, "identifierName": "getDelay" @@ -22857,15 +22761,15 @@ { "type": "CommentLine", "value": " frame delay", - "start": 17538, - "end": 17552, + "start": 17500, + "end": 17514, "loc": { "start": { - "line": 496, + "line": 495, "column": 8 }, "end": { - "line": 496, + "line": 495, "column": 22 } } @@ -22875,15 +22779,15 @@ { "type": "CommentLine", "value": " icon DataURL", - "start": 17602, - "end": 17617, + "start": 17564, + "end": 17579, "loc": { "start": { - "line": 498, + "line": 497, "column": 8 }, "end": { - "line": 498, + "line": 497, "column": 23 } } @@ -22892,58 +22796,58 @@ }, { "type": "ExpressionStatement", - "start": 17627, - "end": 17659, + "start": 17589, + "end": 17621, "loc": { "start": { - "line": 499, + "line": 498, "column": 8 }, "end": { - "line": 499, + "line": 498, "column": 40 } }, "expression": { "type": "AssignmentExpression", - "start": 17627, - "end": 17658, + "start": 17589, + "end": 17620, "loc": { "start": { - "line": 499, + "line": 498, "column": 8 }, "end": { - "line": 499, + "line": 498, "column": 39 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 17627, - "end": 17638, + "start": 17589, + "end": 17600, "loc": { "start": { - "line": 499, + "line": 498, "column": 8 }, "end": { - "line": 499, + "line": 498, "column": 19 } }, "object": { "type": "Identifier", - "start": 17627, - "end": 17635, + "start": 17589, + "end": 17597, "loc": { "start": { - "line": 499, + "line": 498, "column": 8 }, "end": { - "line": 499, + "line": 498, "column": 16 }, "identifierName": "iconData" @@ -22953,15 +22857,15 @@ }, "property": { "type": "NumericLiteral", - "start": 17636, - "end": 17637, + "start": 17598, + "end": 17599, "loc": { "start": { - "line": 499, + "line": 498, "column": 17 }, "end": { - "line": 499, + "line": 498, "column": 18 } }, @@ -22976,58 +22880,58 @@ }, "right": { "type": "CallExpression", - "start": 17641, - "end": 17658, + "start": 17603, + "end": 17620, "loc": { "start": { - "line": 499, + "line": 498, "column": 22 }, "end": { - "line": 499, + "line": 498, "column": 39 } }, "callee": { "type": "MemberExpression", - "start": 17641, - "end": 17656, + "start": 17603, + "end": 17618, "loc": { "start": { - "line": 499, + "line": 498, "column": 22 }, "end": { - "line": 499, + "line": 498, "column": 37 } }, "object": { "type": "ThisExpression", - "start": 17641, - "end": 17645, + "start": 17603, + "end": 17607, "loc": { "start": { - "line": 499, + "line": 498, "column": 22 }, "end": { - "line": 499, + "line": 498, "column": 26 } } }, "property": { "type": "Identifier", - "start": 17646, - "end": 17656, + "start": 17608, + "end": 17618, "loc": { "start": { - "line": 499, + "line": 498, "column": 27 }, "end": { - "line": 499, + "line": 498, "column": 37 }, "identifierName": "getDataURL" @@ -23044,15 +22948,15 @@ { "type": "CommentLine", "value": " icon DataURL", - "start": 17602, - "end": 17617, + "start": 17564, + "end": 17579, "loc": { "start": { - "line": 498, + "line": 497, "column": 8 }, "end": { - "line": 498, + "line": 497, "column": 23 } } @@ -23062,15 +22966,15 @@ { "type": "CommentLine", "value": " frame array", - "start": 17669, - "end": 17683, + "start": 17631, + "end": 17645, "loc": { "start": { - "line": 500, + "line": 499, "column": 8 }, "end": { - "line": 500, + "line": 499, "column": 22 } } @@ -23079,58 +22983,58 @@ }, { "type": "ExpressionStatement", - "start": 17693, - "end": 17728, + "start": 17655, + "end": 17690, "loc": { "start": { - "line": 501, + "line": 500, "column": 8 }, "end": { - "line": 501, + "line": 500, "column": 43 } }, "expression": { "type": "AssignmentExpression", - "start": 17693, - "end": 17727, + "start": 17655, + "end": 17689, "loc": { "start": { - "line": 501, + "line": 500, "column": 8 }, "end": { - "line": 501, + "line": 500, "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 17693, - "end": 17704, + "start": 17655, + "end": 17666, "loc": { "start": { - "line": 501, + "line": 500, "column": 8 }, "end": { - "line": 501, + "line": 500, "column": 19 } }, "object": { "type": "Identifier", - "start": 17693, - "end": 17701, + "start": 17655, + "end": 17663, "loc": { "start": { - "line": 501, + "line": 500, "column": 8 }, "end": { - "line": 501, + "line": 500, "column": 16 }, "identifierName": "iconData" @@ -23140,15 +23044,15 @@ }, "property": { "type": "NumericLiteral", - "start": 17702, - "end": 17703, + "start": 17664, + "end": 17665, "loc": { "start": { - "line": 501, + "line": 500, "column": 17 }, "end": { - "line": 501, + "line": 500, "column": 18 } }, @@ -23163,58 +23067,58 @@ }, "right": { "type": "CallExpression", - "start": 17707, - "end": 17727, + "start": 17669, + "end": 17689, "loc": { "start": { - "line": 501, + "line": 500, "column": 22 }, "end": { - "line": 501, + "line": 500, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 17707, - "end": 17725, + "start": 17669, + "end": 17687, "loc": { "start": { - "line": 501, + "line": 500, "column": 22 }, "end": { - "line": 501, + "line": 500, "column": 40 } }, "object": { "type": "ThisExpression", - "start": 17707, - "end": 17711, + "start": 17669, + "end": 17673, "loc": { "start": { - "line": 501, + "line": 500, "column": 22 }, "end": { - "line": 501, + "line": 500, "column": 26 } } }, "property": { "type": "Identifier", - "start": 17712, - "end": 17725, + "start": 17674, + "end": 17687, "loc": { "start": { - "line": 501, + "line": 500, "column": 27 }, "end": { - "line": 501, + "line": 500, "column": 40 }, "identifierName": "getFramesData" @@ -23231,15 +23135,15 @@ { "type": "CommentLine", "value": " frame array", - "start": 17669, - "end": 17683, + "start": 17631, + "end": 17645, "loc": { "start": { - "line": 500, + "line": 499, "column": 8 }, "end": { - "line": 500, + "line": 499, "column": 22 } } @@ -23249,15 +23153,15 @@ { "type": "CommentLine", "value": " this is actually an optional data entry into the vyi, only used if states actually exist on this icon.", - "start": 17740, - "end": 17845, + "start": 17702, + "end": 17807, "loc": { "start": { - "line": 503, + "line": 502, "column": 8 }, "end": { - "line": 503, + "line": 502, "column": 113 } } @@ -23265,15 +23169,15 @@ { "type": "CommentLine", "value": " this will save data", - "start": 17855, - "end": 17877, + "start": 17817, + "end": 17839, "loc": { "start": { - "line": 504, + "line": 503, "column": 8 }, "end": { - "line": 504, + "line": 503, "column": 30 } } @@ -23282,57 +23186,57 @@ }, { "type": "IfStatement", - "start": 17887, - "end": 18001, + "start": 17849, + "end": 17963, "loc": { "start": { - "line": 505, + "line": 504, "column": 8 }, "end": { - "line": 508, + "line": 507, "column": 9 } }, "test": { "type": "MemberExpression", - "start": 17891, - "end": 17909, + "start": 17853, + "end": 17871, "loc": { "start": { - "line": 505, + "line": 504, "column": 12 }, "end": { - "line": 505, + "line": 504, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 17891, - "end": 17902, + "start": 17853, + "end": 17864, "loc": { "start": { - "line": 505, + "line": 504, "column": 12 }, "end": { - "line": 505, + "line": 504, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 17891, - "end": 17895, + "start": 17853, + "end": 17857, "loc": { "start": { - "line": 505, + "line": 504, "column": 12 }, "end": { - "line": 505, + "line": 504, "column": 16 } }, @@ -23340,15 +23244,15 @@ }, "property": { "type": "Identifier", - "start": 17896, - "end": 17902, + "start": 17858, + "end": 17864, "loc": { "start": { - "line": 505, + "line": 504, "column": 17 }, "end": { - "line": 505, + "line": 504, "column": 23 }, "identifierName": "states" @@ -23360,15 +23264,15 @@ }, "property": { "type": "Identifier", - "start": 17903, - "end": 17909, + "start": 17865, + "end": 17871, "loc": { "start": { - "line": 505, + "line": 504, "column": 24 }, "end": { - "line": 505, + "line": 504, "column": 30 }, "identifierName": "length" @@ -23380,73 +23284,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 17911, - "end": 18001, + "start": 17873, + "end": 17963, "loc": { "start": { - "line": 505, + "line": 504, "column": 32 }, "end": { - "line": 508, + "line": 507, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 17955, - "end": 17990, + "start": 17917, + "end": 17952, "loc": { "start": { - "line": 507, + "line": 506, "column": 12 }, "end": { - "line": 507, + "line": 506, "column": 47 } }, "expression": { "type": "AssignmentExpression", - "start": 17955, - "end": 17989, + "start": 17917, + "end": 17951, "loc": { "start": { - "line": 507, + "line": 506, "column": 12 }, "end": { - "line": 507, + "line": 506, "column": 46 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 17955, - "end": 17966, + "start": 17917, + "end": 17928, "loc": { "start": { - "line": 507, + "line": 506, "column": 12 }, "end": { - "line": 507, + "line": 506, "column": 23 } }, "object": { "type": "Identifier", - "start": 17955, - "end": 17963, + "start": 17917, + "end": 17925, "loc": { "start": { - "line": 507, + "line": 506, "column": 12 }, "end": { - "line": 507, + "line": 506, "column": 20 }, "identifierName": "iconData" @@ -23456,15 +23360,15 @@ }, "property": { "type": "NumericLiteral", - "start": 17964, - "end": 17965, + "start": 17926, + "end": 17927, "loc": { "start": { - "line": 507, + "line": 506, "column": 21 }, "end": { - "line": 507, + "line": 506, "column": 22 } }, @@ -23479,58 +23383,58 @@ }, "right": { "type": "CallExpression", - "start": 17969, - "end": 17989, + "start": 17931, + "end": 17951, "loc": { "start": { - "line": 507, + "line": 506, "column": 26 }, "end": { - "line": 507, + "line": 506, "column": 46 } }, "callee": { "type": "MemberExpression", - "start": 17969, - "end": 17987, + "start": 17931, + "end": 17949, "loc": { "start": { - "line": 507, + "line": 506, "column": 26 }, "end": { - "line": 507, + "line": 506, "column": 44 } }, "object": { "type": "ThisExpression", - "start": 17969, - "end": 17973, + "start": 17931, + "end": 17935, "loc": { "start": { - "line": 507, + "line": 506, "column": 26 }, "end": { - "line": 507, + "line": 506, "column": 30 } } }, "property": { "type": "Identifier", - "start": 17974, - "end": 17987, + "start": 17936, + "end": 17949, "loc": { "start": { - "line": 507, + "line": 506, "column": 31 }, "end": { - "line": 507, + "line": 506, "column": 44 }, "identifierName": "getStatesData" @@ -23547,15 +23451,15 @@ { "type": "CommentLine", "value": " states array", - "start": 17926, - "end": 17941, + "start": 17888, + "end": 17903, "loc": { "start": { - "line": 506, + "line": 505, "column": 12 }, "end": { - "line": 506, + "line": 505, "column": 27 } } @@ -23570,15 +23474,15 @@ { "type": "CommentLine", "value": " this is actually an optional data entry into the vyi, only used if states actually exist on this icon.", - "start": 17740, - "end": 17845, + "start": 17702, + "end": 17807, "loc": { "start": { - "line": 503, + "line": 502, "column": 8 }, "end": { - "line": 503, + "line": 502, "column": 113 } } @@ -23586,15 +23490,15 @@ { "type": "CommentLine", "value": " this will save data", - "start": 17855, - "end": 17877, + "start": 17817, + "end": 17839, "loc": { "start": { - "line": 504, + "line": 503, "column": 8 }, "end": { - "line": 504, + "line": 503, "column": 30 } } @@ -23603,29 +23507,29 @@ }, { "type": "ReturnStatement", - "start": 18011, - "end": 18027, + "start": 17973, + "end": 17989, "loc": { "start": { - "line": 509, + "line": 508, "column": 8 }, "end": { - "line": 509, + "line": 508, "column": 24 } }, "argument": { "type": "Identifier", - "start": 18018, - "end": 18026, + "start": 17980, + "end": 17988, "loc": { "start": { - "line": 509, + "line": 508, "column": 15 }, "end": { - "line": 509, + "line": 508, "column": 23 }, "identifierName": "iconData" @@ -23640,15 +23544,15 @@ { "type": "CommentBlock", "value": "*\r\n * Exports this icon's data into proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this icon in the proper vyi format.\r\n ", - "start": 17051, - "end": 17226, + "start": 17013, + "end": 17188, "loc": { "start": { - "line": 481, + "line": 480, "column": 4 }, "end": { - "line": 485, + "line": 484, "column": 7 } } @@ -24388,15 +24292,15 @@ { "type": "CommentLine", "value": " Add the frame to the frames array.", - "start": 9305, - "end": 9342, + "start": 9267, + "end": 9304, "loc": { "start": { - "line": 284, + "line": 283, "column": 16 }, "end": { - "line": 284, + "line": 283, "column": 53 } } @@ -24404,15 +24308,15 @@ { "type": "CommentLine", "value": " Re-index frames after a change", - "start": 9402, - "end": 9435, + "start": 9364, + "end": 9397, "loc": { "start": { - "line": 286, + "line": 285, "column": 16 }, "end": { - "line": 286, + "line": 285, "column": 49 } } @@ -24420,15 +24324,15 @@ { "type": "CommentBlock", "value": "*\r\n * Removes the frame passed or the frame that exists at pIndex.\r\n * @param {Frame} pFrame - The frame to remove from this icon. pIndex should be not be used in tandem with this method of removing.\r\n * @param {number} pIndex - The index of the frame to remove. pFrame must be undefined to use this method for removing.\r\n * @returns {self} This icon instance.\r\n ", - "start": 9745, - "end": 10132, + "start": 9707, + "end": 10094, "loc": { "start": { - "line": 296, + "line": 295, "column": 4 }, "end": { - "line": 301, + "line": 300, "column": 7 } } @@ -24436,15 +24340,15 @@ { "type": "CommentLine", "value": " The index used to remove this frame.", - "start": 10177, - "end": 10216, + "start": 10139, + "end": 10178, "loc": { "start": { - "line": 303, + "line": 302, "column": 8 }, "end": { - "line": 303, + "line": 302, "column": 47 } } @@ -24452,15 +24356,15 @@ { "type": "CommentLine", "value": " Remove via reference to frame.", - "start": 10246, - "end": 10279, + "start": 10208, + "end": 10241, "loc": { "start": { - "line": 305, + "line": 304, "column": 8 }, "end": { - "line": 305, + "line": 304, "column": 41 } } @@ -24468,15 +24372,15 @@ { "type": "CommentLine", "value": " Remove via index passed.", - "start": 10384, - "end": 10411, + "start": 10346, + "end": 10373, "loc": { "start": { - "line": 308, + "line": 307, "column": 8 }, "end": { - "line": 308, + "line": 307, "column": 35 } } @@ -24484,15 +24388,15 @@ { "type": "CommentLine", "value": " Remove the frame", - "start": 10927, - "end": 10946, + "start": 10889, + "end": 10908, "loc": { "start": { - "line": 322, + "line": 321, "column": 12 }, "end": { - "line": 322, + "line": 321, "column": 31 } } @@ -24500,15 +24404,15 @@ { "type": "CommentLine", "value": " Re-index frames after a change", - "start": 11003, - "end": 11036, + "start": 10965, + "end": 10998, "loc": { "start": { - "line": 324, + "line": 323, "column": 12 }, "end": { - "line": 324, + "line": 323, "column": 45 } } @@ -24516,15 +24420,15 @@ { "type": "CommentBlock", "value": "*\r\n * Index the frames properly.\r\n * @private\r\n ", - "start": 11115, - "end": 11179, + "start": 11077, + "end": 11141, "loc": { "start": { - "line": 329, + "line": 328, "column": 4 }, "end": { - "line": 332, + "line": 331, "column": 7 } } @@ -24532,15 +24436,15 @@ { "type": "CommentLine", "value": " Reorder the frames after removing.", - "start": 11210, - "end": 11247, + "start": 11172, + "end": 11209, "loc": { "start": { - "line": 334, + "line": 333, "column": 8 }, "end": { - "line": 334, + "line": 333, "column": 45 } } @@ -24548,15 +24452,15 @@ { "type": "CommentBlock", "value": "*\r\n * Reorders the frame in the animation. The index of the passed frame will be swapped with the frame at pIndex.\r\n * The \"first\" frame of the animation is technically this icon's dataURL. So if you are aiming to change the order of this icon and convert it into a frame.\r\n * pCurrentIndex must be set to -1 to match this icon.\r\n * @param {number} pCurrentIndex - The current index of the frame.\r\n * @param {number} pIndex - The index the frame will be moving to.\r\n * @returns {self} This icon instance.\r\n ", - "start": 11360, - "end": 11899, + "start": 11322, + "end": 11861, "loc": { "start": { - "line": 339, + "line": 338, "column": 4 }, "end": { - "line": 346, + "line": 345, "column": 7 } } @@ -24564,15 +24468,15 @@ { "type": "CommentLine", "value": " We check if the current index is -1, if it is then it means we want to treat this icon as a frame. As the icon data and delay of this icon serves", - "start": 12100, - "end": 12248, + "start": 12062, + "end": 12210, "loc": { "start": { - "line": 351, + "line": 350, "column": 12 }, "end": { - "line": 351, + "line": 350, "column": 160 } } @@ -24580,15 +24484,15 @@ { "type": "CommentLine", "value": " as the frame 0.", - "start": 12262, - "end": 12280, + "start": 12224, + "end": 12242, "loc": { "start": { - "line": 352, + "line": 351, "column": 12 }, "end": { - "line": 352, + "line": 351, "column": 30 } } @@ -24596,15 +24500,15 @@ { "type": "CommentLine", "value": " Otherwise if the index passed can be found in the frames array, then we use that frame.", - "start": 12373, - "end": 12463, + "start": 12335, + "end": 12425, "loc": { "start": { - "line": 355, + "line": 354, "column": 12 }, "end": { - "line": 355, + "line": 354, "column": 102 } } @@ -24612,15 +24516,15 @@ { "type": "CommentLine", "value": " We get the frame at the specified index.", - "start": 12608, - "end": 12651, + "start": 12570, + "end": 12613, "loc": { "start": { - "line": 360, + "line": 359, "column": 12 }, "end": { - "line": 360, + "line": 359, "column": 55 } } @@ -24628,15 +24532,15 @@ { "type": "CommentLine", "value": " If both frames can be found, we can swap their data.", - "start": 12775, - "end": 12830, + "start": 12737, + "end": 12792, "loc": { "start": { - "line": 365, + "line": 364, "column": 12 }, "end": { - "line": 365, + "line": 364, "column": 67 } } @@ -24644,15 +24548,15 @@ { "type": "CommentLine", "value": " Store frame data", - "start": 12897, - "end": 12916, + "start": 12859, + "end": 12878, "loc": { "start": { - "line": 367, + "line": 366, "column": 16 }, "end": { - "line": 367, + "line": 366, "column": 35 } } @@ -24660,15 +24564,15 @@ { "type": "CommentLine", "value": " Swap data from frame", - "start": 13218, - "end": 13241, + "start": 13180, + "end": 13203, "loc": { "start": { - "line": 374, + "line": 373, "column": 16 }, "end": { - "line": 374, + "line": 373, "column": 39 } } @@ -24676,15 +24580,15 @@ { "type": "CommentLine", "value": " Swap data to frame", - "start": 13381, - "end": 13402, + "start": 13343, + "end": 13364, "loc": { "start": { - "line": 377, + "line": 376, "column": 16 }, "end": { - "line": 377, + "line": 376, "column": 37 } } @@ -24692,15 +24596,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the frame existing at pIndex.\r\n * Frame 0 will actually be frame \"1\" in the animation. As this icon will actually be frame 0.\r\n * If you are trying to get \"frame\" 1. Then you will need to use the icon's delay and data url. As that is frame 0.\r\n * @param {number} pIndex - The index of the frame to get.\r\n * @returns {Frame|undefined} The frame found at pIndex.\r\n ", - "start": 13840, - "end": 14242, + "start": 13802, + "end": 14204, "loc": { "start": { - "line": 388, + "line": 387, "column": 4 }, "end": { - "line": 394, + "line": 393, "column": 7 } } @@ -24708,15 +24612,15 @@ { "type": "CommentBlock", "value": "*\r\n * Returns an array of all the frames this icons has.\r\n * @returns {Array} An array of frames this icon has.\r\n ", - "start": 14467, - "end": 14597, + "start": 14429, + "end": 14559, "loc": { "start": { - "line": 402, + "line": 401, "column": 4 }, "end": { - "line": 405, + "line": 404, "column": 7 } } @@ -24724,15 +24628,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets all the frames belonging to this icon.\r\n * @private\r\n * @returns {Array} An array containing the frame data of all frames.\r\n ", - "start": 14665, - "end": 14821, + "start": 14627, + "end": 14783, "loc": { "start": { - "line": 409, + "line": 408, "column": 4 }, "end": { - "line": 413, + "line": 412, "column": 7 } } @@ -24740,15 +24644,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the state that has the name pName.\r\n * @param {string} pName - The name of the state to get.\r\n * @returns {Icon} The state that has the name of pName.\r\n ", - "start": 15032, - "end": 15216, + "start": 14994, + "end": 15178, "loc": { "start": { - "line": 421, + "line": 420, "column": 4 }, "end": { - "line": 425, + "line": 424, "column": 7 } } @@ -24756,15 +24660,15 @@ { "type": "CommentLine", "value": " If the icon has the same name, return that icon", - "start": 15411, - "end": 15461, + "start": 15373, + "end": 15423, "loc": { "start": { - "line": 430, + "line": 429, "column": 16 }, "end": { - "line": 430, + "line": 429, "column": 66 } } @@ -24772,15 +24676,15 @@ { "type": "CommentBlock", "value": "*\r\n * Returns an array of all the states this icons has.\r\n * @returns {Array} An array of states this icon has.\r\n ", - "start": 15699, - "end": 15829, + "start": 15661, + "end": 15791, "loc": { "start": { - "line": 439, + "line": 438, "column": 4 }, "end": { - "line": 442, + "line": 441, "column": 7 } } @@ -24788,15 +24692,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets all the states belonging to this icon.\r\n * @private\r\n * @returns {Array} An array containing the state data of all frames.\r\n ", - "start": 15897, - "end": 16053, + "start": 15859, + "end": 16015, "loc": { "start": { - "line": 446, + "line": 445, "column": 4 }, "end": { - "line": 450, + "line": 449, "column": 7 } } @@ -24804,15 +24708,15 @@ { "type": "CommentLine", "value": " Loop state array to export relevant information.", - "start": 16122, - "end": 16173, + "start": 16084, + "end": 16135, "loc": { "start": { - "line": 453, + "line": 452, "column": 8 }, "end": { - "line": 453, + "line": 452, "column": 59 } } @@ -24820,15 +24724,15 @@ { "type": "CommentBlock", "value": "*\r\n * Exports this icon as if it was a state in the proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this icon as if it were a state.\r\n ", - "start": 16340, - "end": 16528, + "start": 16302, + "end": 16490, "loc": { "start": { - "line": 459, + "line": 458, "column": 4 }, "end": { - "line": 463, + "line": 462, "column": 7 } } @@ -24836,15 +24740,15 @@ { "type": "CommentLine", "value": " state name", - "start": 16592, - "end": 16605, + "start": 16554, + "end": 16567, "loc": { "start": { - "line": 466, + "line": 465, "column": 8 }, "end": { - "line": 466, + "line": 465, "column": 21 } } @@ -24852,15 +24756,15 @@ { "type": "CommentLine", "value": " state dataURL", - "start": 16655, - "end": 16671, + "start": 16617, + "end": 16633, "loc": { "start": { - "line": 468, + "line": 467, "column": 8 }, "end": { - "line": 468, + "line": 467, "column": 24 } } @@ -24868,15 +24772,15 @@ { "type": "CommentLine", "value": " state frame delay", - "start": 16724, - "end": 16744, + "start": 16686, + "end": 16706, "loc": { "start": { - "line": 470, + "line": 469, "column": 8 }, "end": { - "line": 470, + "line": 469, "column": 28 } } @@ -24884,15 +24788,15 @@ { "type": "CommentLine", "value": " state frame array", - "start": 16795, - "end": 16815, + "start": 16757, + "end": 16777, "loc": { "start": { - "line": 472, + "line": 471, "column": 8 }, "end": { - "line": 472, + "line": 471, "column": 28 } } @@ -24900,15 +24804,15 @@ { "type": "CommentLine", "value": " Loop frame array to export relevant information.", - "start": 16855, - "end": 16906, + "start": 16817, + "end": 16868, "loc": { "start": { - "line": 475, + "line": 474, "column": 8 }, "end": { - "line": 475, + "line": 474, "column": 59 } } @@ -24916,15 +24820,15 @@ { "type": "CommentBlock", "value": "*\r\n * Exports this icon's data into proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this icon in the proper vyi format.\r\n ", - "start": 17051, - "end": 17226, + "start": 17013, + "end": 17188, "loc": { "start": { - "line": 481, + "line": 480, "column": 4 }, "end": { - "line": 485, + "line": 484, "column": 7 } } @@ -24932,15 +24836,15 @@ { "type": "CommentLine", "value": " icon name", - "start": 17282, - "end": 17294, + "start": 17244, + "end": 17256, "loc": { "start": { - "line": 488, + "line": 487, "column": 8 }, "end": { - "line": 488, + "line": 487, "column": 20 } } @@ -24948,15 +24852,15 @@ { "type": "CommentLine", "value": " Get the size of this icon.", - "start": 17343, - "end": 17372, + "start": 17305, + "end": 17334, "loc": { "start": { - "line": 490, + "line": 489, "column": 8 }, "end": { - "line": 490, + "line": 489, "column": 37 } } @@ -24964,15 +24868,15 @@ { "type": "CommentLine", "value": " icon width", - "start": 17420, - "end": 17433, + "start": 17382, + "end": 17395, "loc": { "start": { - "line": 492, + "line": 491, "column": 8 }, "end": { - "line": 492, + "line": 491, "column": 21 } } @@ -24980,15 +24884,15 @@ { "type": "CommentLine", "value": " icon height", - "start": 17478, - "end": 17492, + "start": 17440, + "end": 17454, "loc": { "start": { - "line": 494, + "line": 493, "column": 8 }, "end": { - "line": 494, + "line": 493, "column": 22 } } @@ -24996,15 +24900,15 @@ { "type": "CommentLine", "value": " frame delay", - "start": 17538, - "end": 17552, + "start": 17500, + "end": 17514, "loc": { "start": { - "line": 496, + "line": 495, "column": 8 }, "end": { - "line": 496, + "line": 495, "column": 22 } } @@ -25012,15 +24916,15 @@ { "type": "CommentLine", "value": " icon DataURL", - "start": 17602, - "end": 17617, + "start": 17564, + "end": 17579, "loc": { "start": { - "line": 498, + "line": 497, "column": 8 }, "end": { - "line": 498, + "line": 497, "column": 23 } } @@ -25028,15 +24932,15 @@ { "type": "CommentLine", "value": " frame array", - "start": 17669, - "end": 17683, + "start": 17631, + "end": 17645, "loc": { "start": { - "line": 500, + "line": 499, "column": 8 }, "end": { - "line": 500, + "line": 499, "column": 22 } } @@ -25044,15 +24948,15 @@ { "type": "CommentLine", "value": " this is actually an optional data entry into the vyi, only used if states actually exist on this icon.", - "start": 17740, - "end": 17845, + "start": 17702, + "end": 17807, "loc": { "start": { - "line": 503, + "line": 502, "column": 8 }, "end": { - "line": 503, + "line": 502, "column": 113 } } @@ -25060,15 +24964,15 @@ { "type": "CommentLine", "value": " this will save data", - "start": 17855, - "end": 17877, + "start": 17817, + "end": 17839, "loc": { "start": { - "line": 504, + "line": 503, "column": 8 }, "end": { - "line": 504, + "line": 503, "column": 30 } } @@ -25076,15 +24980,15 @@ { "type": "CommentLine", "value": " states array", - "start": 17926, - "end": 17941, + "start": 17888, + "end": 17903, "loc": { "start": { - "line": 506, + "line": 505, "column": 12 }, "end": { - "line": 506, + "line": 505, "column": 27 } } @@ -46783,20 +46687,10 @@ } }, { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "frame", + "type": "CommentLine", + "value": " Add the frame to the frames array.", "start": 9267, - "end": 9272, + "end": 9304, "loc": { "start": { "line": 283, @@ -46804,155 +46698,6 @@ }, "end": { "line": 283, - "column": 21 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 9272, - "end": 9273, - "loc": { - "start": { - "line": 283, - "column": 21 - }, - "end": { - "line": 283, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "parent", - "start": 9273, - "end": 9279, - "loc": { - "start": { - "line": 283, - "column": 22 - }, - "end": { - "line": 283, - "column": 28 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 9280, - "end": 9281, - "loc": { - "start": { - "line": 283, - "column": 29 - }, - "end": { - "line": 283, - "column": 30 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 9282, - "end": 9286, - "loc": { - "start": { - "line": 283, - "column": 31 - }, - "end": { - "line": 283, - "column": 35 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 9286, - "end": 9287, - "loc": { - "start": { - "line": 283, - "column": 35 - }, - "end": { - "line": 283, - "column": 36 - } - } - }, - { - "type": "CommentLine", - "value": " Add the frame to the frames array.", - "start": 9305, - "end": 9342, - "loc": { - "start": { - "line": 284, - "column": 16 - }, - "end": { - "line": 284, "column": 53 } } @@ -46972,15 +46717,15 @@ "updateContext": null }, "value": "this", - "start": 9360, - "end": 9364, + "start": 9322, + "end": 9326, "loc": { "start": { - "line": 285, + "line": 284, "column": 16 }, "end": { - "line": 285, + "line": 284, "column": 20 } } @@ -46998,15 +46743,15 @@ "binop": null, "updateContext": null }, - "start": 9364, - "end": 9365, + "start": 9326, + "end": 9327, "loc": { "start": { - "line": 285, + "line": 284, "column": 20 }, "end": { - "line": 285, + "line": 284, "column": 21 } } @@ -47024,15 +46769,15 @@ "binop": null }, "value": "frames", - "start": 9365, - "end": 9371, + "start": 9327, + "end": 9333, "loc": { "start": { - "line": 285, + "line": 284, "column": 21 }, "end": { - "line": 285, + "line": 284, "column": 27 } } @@ -47050,15 +46795,15 @@ "binop": null, "updateContext": null }, - "start": 9371, - "end": 9372, + "start": 9333, + "end": 9334, "loc": { "start": { - "line": 285, + "line": 284, "column": 27 }, "end": { - "line": 285, + "line": 284, "column": 28 } } @@ -47076,15 +46821,15 @@ "binop": null }, "value": "push", - "start": 9372, - "end": 9376, + "start": 9334, + "end": 9338, "loc": { "start": { - "line": 285, + "line": 284, "column": 28 }, "end": { - "line": 285, + "line": 284, "column": 32 } } @@ -47101,15 +46846,15 @@ "postfix": false, "binop": null }, - "start": 9376, - "end": 9377, + "start": 9338, + "end": 9339, "loc": { "start": { - "line": 285, + "line": 284, "column": 32 }, "end": { - "line": 285, + "line": 284, "column": 33 } } @@ -47127,15 +46872,15 @@ "binop": null }, "value": "frame", - "start": 9377, - "end": 9382, + "start": 9339, + "end": 9344, "loc": { "start": { - "line": 285, + "line": 284, "column": 33 }, "end": { - "line": 285, + "line": 284, "column": 38 } } @@ -47152,15 +46897,15 @@ "postfix": false, "binop": null }, - "start": 9382, - "end": 9383, + "start": 9344, + "end": 9345, "loc": { "start": { - "line": 285, + "line": 284, "column": 38 }, "end": { - "line": 285, + "line": 284, "column": 39 } } @@ -47178,15 +46923,15 @@ "binop": null, "updateContext": null }, - "start": 9383, - "end": 9384, + "start": 9345, + "end": 9346, "loc": { "start": { - "line": 285, + "line": 284, "column": 39 }, "end": { - "line": 285, + "line": 284, "column": 40 } } @@ -47194,15 +46939,15 @@ { "type": "CommentLine", "value": " Re-index frames after a change", - "start": 9402, - "end": 9435, + "start": 9364, + "end": 9397, "loc": { "start": { - "line": 286, + "line": 285, "column": 16 }, "end": { - "line": 286, + "line": 285, "column": 49 } } @@ -47222,15 +46967,15 @@ "updateContext": null }, "value": "this", - "start": 9453, - "end": 9457, + "start": 9415, + "end": 9419, "loc": { "start": { - "line": 287, + "line": 286, "column": 16 }, "end": { - "line": 287, + "line": 286, "column": 20 } } @@ -47248,15 +46993,15 @@ "binop": null, "updateContext": null }, - "start": 9457, - "end": 9458, + "start": 9419, + "end": 9420, "loc": { "start": { - "line": 287, + "line": 286, "column": 20 }, "end": { - "line": 287, + "line": 286, "column": 21 } } @@ -47274,15 +47019,15 @@ "binop": null }, "value": "indexFrames", - "start": 9458, - "end": 9469, + "start": 9420, + "end": 9431, "loc": { "start": { - "line": 287, + "line": 286, "column": 21 }, "end": { - "line": 287, + "line": 286, "column": 32 } } @@ -47299,15 +47044,15 @@ "postfix": false, "binop": null }, - "start": 9469, - "end": 9470, + "start": 9431, + "end": 9432, "loc": { "start": { - "line": 287, + "line": 286, "column": 32 }, "end": { - "line": 287, + "line": 286, "column": 33 } } @@ -47324,15 +47069,15 @@ "postfix": false, "binop": null }, - "start": 9470, - "end": 9471, + "start": 9432, + "end": 9433, "loc": { "start": { - "line": 287, + "line": 286, "column": 33 }, "end": { - "line": 287, + "line": 286, "column": 34 } } @@ -47350,15 +47095,15 @@ "binop": null, "updateContext": null }, - "start": 9471, - "end": 9472, + "start": 9433, + "end": 9434, "loc": { "start": { - "line": 287, + "line": 286, "column": 34 }, "end": { - "line": 287, + "line": 286, "column": 35 } } @@ -47378,15 +47123,15 @@ "updateContext": null }, "value": "return", - "start": 9490, - "end": 9496, + "start": 9452, + "end": 9458, "loc": { "start": { - "line": 288, + "line": 287, "column": 16 }, "end": { - "line": 288, + "line": 287, "column": 22 } } @@ -47404,15 +47149,15 @@ "binop": null }, "value": "frame", - "start": 9497, - "end": 9502, + "start": 9459, + "end": 9464, "loc": { "start": { - "line": 288, + "line": 287, "column": 23 }, "end": { - "line": 288, + "line": 287, "column": 28 } } @@ -47430,15 +47175,15 @@ "binop": null, "updateContext": null }, - "start": 9502, - "end": 9503, + "start": 9464, + "end": 9465, "loc": { "start": { - "line": 288, + "line": 287, "column": 28 }, "end": { - "line": 288, + "line": 287, "column": 29 } } @@ -47455,15 +47200,15 @@ "postfix": false, "binop": null }, - "start": 9517, - "end": 9518, + "start": 9479, + "end": 9480, "loc": { "start": { - "line": 289, + "line": 288, "column": 12 }, "end": { - "line": 289, + "line": 288, "column": 13 } } @@ -47483,15 +47228,15 @@ "updateContext": null }, "value": "else", - "start": 9519, - "end": 9523, + "start": 9481, + "end": 9485, "loc": { "start": { - "line": 289, + "line": 288, "column": 14 }, "end": { - "line": 289, + "line": 288, "column": 18 } } @@ -47508,15 +47253,15 @@ "postfix": false, "binop": null }, - "start": 9524, - "end": 9525, + "start": 9486, + "end": 9487, "loc": { "start": { - "line": 289, + "line": 288, "column": 19 }, "end": { - "line": 289, + "line": 288, "column": 20 } } @@ -47534,15 +47279,15 @@ "binop": null }, "value": "VYI", - "start": 9543, - "end": 9546, + "start": 9505, + "end": 9508, "loc": { "start": { - "line": 290, + "line": 289, "column": 16 }, "end": { - "line": 290, + "line": 289, "column": 19 } } @@ -47560,15 +47305,15 @@ "binop": null, "updateContext": null }, - "start": 9546, - "end": 9547, + "start": 9508, + "end": 9509, "loc": { "start": { - "line": 290, + "line": 289, "column": 19 }, "end": { - "line": 290, + "line": 289, "column": 20 } } @@ -47586,15 +47331,15 @@ "binop": null }, "value": "logger", - "start": 9547, - "end": 9553, + "start": 9509, + "end": 9515, "loc": { "start": { - "line": 290, + "line": 289, "column": 20 }, "end": { - "line": 290, + "line": 289, "column": 26 } } @@ -47612,15 +47357,15 @@ "binop": null, "updateContext": null }, - "start": 9553, - "end": 9554, + "start": 9515, + "end": 9516, "loc": { "start": { - "line": 290, + "line": 289, "column": 26 }, "end": { - "line": 290, + "line": 289, "column": 27 } } @@ -47638,15 +47383,15 @@ "binop": null }, "value": "prefix", - "start": 9554, - "end": 9560, + "start": 9516, + "end": 9522, "loc": { "start": { - "line": 290, + "line": 289, "column": 27 }, "end": { - "line": 290, + "line": 289, "column": 33 } } @@ -47663,15 +47408,15 @@ "postfix": false, "binop": null }, - "start": 9560, - "end": 9561, + "start": 9522, + "end": 9523, "loc": { "start": { - "line": 290, + "line": 289, "column": 33 }, "end": { - "line": 290, + "line": 289, "column": 34 } } @@ -47690,15 +47435,15 @@ "updateContext": null }, "value": "VYI-Module", - "start": 9561, - "end": 9573, + "start": 9523, + "end": 9535, "loc": { "start": { - "line": 290, + "line": 289, "column": 34 }, "end": { - "line": 290, + "line": 289, "column": 46 } } @@ -47715,15 +47460,15 @@ "postfix": false, "binop": null }, - "start": 9573, - "end": 9574, + "start": 9535, + "end": 9536, "loc": { "start": { - "line": 290, + "line": 289, "column": 46 }, "end": { - "line": 290, + "line": 289, "column": 47 } } @@ -47741,15 +47486,15 @@ "binop": null, "updateContext": null }, - "start": 9574, - "end": 9575, + "start": 9536, + "end": 9537, "loc": { "start": { - "line": 290, + "line": 289, "column": 47 }, "end": { - "line": 290, + "line": 289, "column": 48 } } @@ -47767,15 +47512,15 @@ "binop": null }, "value": "error", - "start": 9575, - "end": 9580, + "start": 9537, + "end": 9542, "loc": { "start": { - "line": 290, + "line": 289, "column": 48 }, "end": { - "line": 290, + "line": 289, "column": 53 } } @@ -47792,15 +47537,15 @@ "postfix": false, "binop": null }, - "start": 9580, - "end": 9581, + "start": 9542, + "end": 9543, "loc": { "start": { - "line": 290, + "line": 289, "column": 53 }, "end": { - "line": 290, + "line": 289, "column": 54 } } @@ -47819,15 +47564,15 @@ "updateContext": null }, "value": "Invalid frame data passed!", - "start": 9581, - "end": 9609, + "start": 9543, + "end": 9571, "loc": { "start": { - "line": 290, + "line": 289, "column": 54 }, "end": { - "line": 290, + "line": 289, "column": 82 } } @@ -47844,15 +47589,15 @@ "postfix": false, "binop": null }, - "start": 9609, - "end": 9610, + "start": 9571, + "end": 9572, "loc": { "start": { - "line": 290, + "line": 289, "column": 82 }, "end": { - "line": 290, + "line": 289, "column": 83 } } @@ -47870,15 +47615,15 @@ "binop": null, "updateContext": null }, - "start": 9610, - "end": 9611, + "start": 9572, + "end": 9573, "loc": { "start": { - "line": 290, + "line": 289, "column": 83 }, "end": { - "line": 290, + "line": 289, "column": 84 } } @@ -47895,15 +47640,15 @@ "postfix": false, "binop": null }, - "start": 9625, - "end": 9626, + "start": 9587, + "end": 9588, "loc": { "start": { - "line": 291, + "line": 290, "column": 12 }, "end": { - "line": 291, + "line": 290, "column": 13 } } @@ -47920,15 +47665,15 @@ "postfix": false, "binop": null }, - "start": 9636, - "end": 9637, + "start": 9598, + "end": 9599, "loc": { "start": { - "line": 292, + "line": 291, "column": 8 }, "end": { - "line": 292, + "line": 291, "column": 9 } } @@ -47948,15 +47693,15 @@ "updateContext": null }, "value": "else", - "start": 9638, - "end": 9642, + "start": 9600, + "end": 9604, "loc": { "start": { - "line": 292, + "line": 291, "column": 10 }, "end": { - "line": 292, + "line": 291, "column": 14 } } @@ -47973,15 +47718,15 @@ "postfix": false, "binop": null }, - "start": 9643, - "end": 9644, + "start": 9605, + "end": 9606, "loc": { "start": { - "line": 292, + "line": 291, "column": 15 }, "end": { - "line": 292, + "line": 291, "column": 16 } } @@ -47999,15 +47744,15 @@ "binop": null }, "value": "VYI", - "start": 9658, - "end": 9661, + "start": 9620, + "end": 9623, "loc": { "start": { - "line": 293, + "line": 292, "column": 12 }, "end": { - "line": 293, + "line": 292, "column": 15 } } @@ -48025,15 +47770,15 @@ "binop": null, "updateContext": null }, - "start": 9661, - "end": 9662, + "start": 9623, + "end": 9624, "loc": { "start": { - "line": 293, + "line": 292, "column": 15 }, "end": { - "line": 293, + "line": 292, "column": 16 } } @@ -48051,15 +47796,15 @@ "binop": null }, "value": "logger", - "start": 9662, - "end": 9668, + "start": 9624, + "end": 9630, "loc": { "start": { - "line": 293, + "line": 292, "column": 16 }, "end": { - "line": 293, + "line": 292, "column": 22 } } @@ -48077,15 +47822,15 @@ "binop": null, "updateContext": null }, - "start": 9668, - "end": 9669, + "start": 9630, + "end": 9631, "loc": { "start": { - "line": 293, + "line": 292, "column": 22 }, "end": { - "line": 293, + "line": 292, "column": 23 } } @@ -48103,15 +47848,15 @@ "binop": null }, "value": "prefix", - "start": 9669, - "end": 9675, + "start": 9631, + "end": 9637, "loc": { "start": { - "line": 293, + "line": 292, "column": 23 }, "end": { - "line": 293, + "line": 292, "column": 29 } } @@ -48128,15 +47873,15 @@ "postfix": false, "binop": null }, - "start": 9675, - "end": 9676, + "start": 9637, + "end": 9638, "loc": { "start": { - "line": 293, + "line": 292, "column": 29 }, "end": { - "line": 293, + "line": 292, "column": 30 } } @@ -48155,15 +47900,15 @@ "updateContext": null }, "value": "VYI-Module", - "start": 9676, - "end": 9688, + "start": 9638, + "end": 9650, "loc": { "start": { - "line": 293, + "line": 292, "column": 30 }, "end": { - "line": 293, + "line": 292, "column": 42 } } @@ -48180,15 +47925,15 @@ "postfix": false, "binop": null }, - "start": 9688, - "end": 9689, + "start": 9650, + "end": 9651, "loc": { "start": { - "line": 293, + "line": 292, "column": 42 }, "end": { - "line": 293, + "line": 292, "column": 43 } } @@ -48206,15 +47951,15 @@ "binop": null, "updateContext": null }, - "start": 9689, - "end": 9690, + "start": 9651, + "end": 9652, "loc": { "start": { - "line": 293, + "line": 292, "column": 43 }, "end": { - "line": 293, + "line": 292, "column": 44 } } @@ -48232,15 +47977,15 @@ "binop": null }, "value": "error", - "start": 9690, - "end": 9695, + "start": 9652, + "end": 9657, "loc": { "start": { - "line": 293, + "line": 292, "column": 44 }, "end": { - "line": 293, + "line": 292, "column": 49 } } @@ -48257,15 +48002,15 @@ "postfix": false, "binop": null }, - "start": 9695, - "end": 9696, + "start": 9657, + "end": 9658, "loc": { "start": { - "line": 293, + "line": 292, "column": 49 }, "end": { - "line": 293, + "line": 292, "column": 50 } } @@ -48284,15 +48029,15 @@ "updateContext": null }, "value": "No frame data passed!", - "start": 9696, - "end": 9719, + "start": 9658, + "end": 9681, "loc": { "start": { - "line": 293, + "line": 292, "column": 50 }, "end": { - "line": 293, + "line": 292, "column": 73 } } @@ -48309,15 +48054,15 @@ "postfix": false, "binop": null }, - "start": 9719, - "end": 9720, + "start": 9681, + "end": 9682, "loc": { "start": { - "line": 293, + "line": 292, "column": 73 }, "end": { - "line": 293, + "line": 292, "column": 74 } } @@ -48335,15 +48080,15 @@ "binop": null, "updateContext": null }, - "start": 9720, - "end": 9721, + "start": 9682, + "end": 9683, "loc": { "start": { - "line": 293, + "line": 292, "column": 74 }, "end": { - "line": 293, + "line": 292, "column": 75 } } @@ -48360,15 +48105,15 @@ "postfix": false, "binop": null }, - "start": 9731, - "end": 9732, + "start": 9693, + "end": 9694, "loc": { "start": { - "line": 294, + "line": 293, "column": 8 }, "end": { - "line": 294, + "line": 293, "column": 9 } } @@ -48385,15 +48130,15 @@ "postfix": false, "binop": null }, - "start": 9738, - "end": 9739, + "start": 9700, + "end": 9701, "loc": { "start": { - "line": 295, + "line": 294, "column": 4 }, "end": { - "line": 295, + "line": 294, "column": 5 } } @@ -48401,15 +48146,15 @@ { "type": "CommentBlock", "value": "*\r\n * Removes the frame passed or the frame that exists at pIndex.\r\n * @param {Frame} pFrame - The frame to remove from this icon. pIndex should be not be used in tandem with this method of removing.\r\n * @param {number} pIndex - The index of the frame to remove. pFrame must be undefined to use this method for removing.\r\n * @returns {self} This icon instance.\r\n ", - "start": 9745, - "end": 10132, + "start": 9707, + "end": 10094, "loc": { "start": { - "line": 296, + "line": 295, "column": 4 }, "end": { - "line": 301, + "line": 300, "column": 7 } } @@ -48427,15 +48172,15 @@ "binop": null }, "value": "removeFrame", - "start": 10138, - "end": 10149, + "start": 10100, + "end": 10111, "loc": { "start": { - "line": 302, + "line": 301, "column": 4 }, "end": { - "line": 302, + "line": 301, "column": 15 } } @@ -48452,15 +48197,15 @@ "postfix": false, "binop": null }, - "start": 10149, - "end": 10150, + "start": 10111, + "end": 10112, "loc": { "start": { - "line": 302, + "line": 301, "column": 15 }, "end": { - "line": 302, + "line": 301, "column": 16 } } @@ -48478,15 +48223,15 @@ "binop": null }, "value": "pFrame", - "start": 10150, - "end": 10156, + "start": 10112, + "end": 10118, "loc": { "start": { - "line": 302, + "line": 301, "column": 16 }, "end": { - "line": 302, + "line": 301, "column": 22 } } @@ -48504,15 +48249,15 @@ "binop": null, "updateContext": null }, - "start": 10156, - "end": 10157, + "start": 10118, + "end": 10119, "loc": { "start": { - "line": 302, + "line": 301, "column": 22 }, "end": { - "line": 302, + "line": 301, "column": 23 } } @@ -48530,15 +48275,15 @@ "binop": null }, "value": "pIndex", - "start": 10158, - "end": 10164, + "start": 10120, + "end": 10126, "loc": { "start": { - "line": 302, + "line": 301, "column": 24 }, "end": { - "line": 302, + "line": 301, "column": 30 } } @@ -48555,15 +48300,15 @@ "postfix": false, "binop": null }, - "start": 10164, - "end": 10165, + "start": 10126, + "end": 10127, "loc": { "start": { - "line": 302, + "line": 301, "column": 30 }, "end": { - "line": 302, + "line": 301, "column": 31 } } @@ -48580,15 +48325,15 @@ "postfix": false, "binop": null }, - "start": 10166, - "end": 10167, + "start": 10128, + "end": 10129, "loc": { "start": { - "line": 302, + "line": 301, "column": 32 }, "end": { - "line": 302, + "line": 301, "column": 33 } } @@ -48596,15 +48341,15 @@ { "type": "CommentLine", "value": " The index used to remove this frame.", - "start": 10177, - "end": 10216, + "start": 10139, + "end": 10178, "loc": { "start": { - "line": 303, + "line": 302, "column": 8 }, "end": { - "line": 303, + "line": 302, "column": 47 } } @@ -48624,15 +48369,15 @@ "updateContext": null }, "value": "let", - "start": 10226, - "end": 10229, + "start": 10188, + "end": 10191, "loc": { "start": { - "line": 304, + "line": 303, "column": 8 }, "end": { - "line": 304, + "line": 303, "column": 11 } } @@ -48650,15 +48395,15 @@ "binop": null }, "value": "index", - "start": 10230, - "end": 10235, + "start": 10192, + "end": 10197, "loc": { "start": { - "line": 304, + "line": 303, "column": 12 }, "end": { - "line": 304, + "line": 303, "column": 17 } } @@ -48676,15 +48421,15 @@ "binop": null, "updateContext": null }, - "start": 10235, - "end": 10236, + "start": 10197, + "end": 10198, "loc": { "start": { - "line": 304, + "line": 303, "column": 17 }, "end": { - "line": 304, + "line": 303, "column": 18 } } @@ -48692,15 +48437,15 @@ { "type": "CommentLine", "value": " Remove via reference to frame.", - "start": 10246, - "end": 10279, + "start": 10208, + "end": 10241, "loc": { "start": { - "line": 305, + "line": 304, "column": 8 }, "end": { - "line": 305, + "line": 304, "column": 41 } } @@ -48720,15 +48465,15 @@ "updateContext": null }, "value": "if", - "start": 10289, - "end": 10291, + "start": 10251, + "end": 10253, "loc": { "start": { - "line": 306, + "line": 305, "column": 8 }, "end": { - "line": 306, + "line": 305, "column": 10 } } @@ -48745,15 +48490,15 @@ "postfix": false, "binop": null }, - "start": 10292, - "end": 10293, + "start": 10254, + "end": 10255, "loc": { "start": { - "line": 306, + "line": 305, "column": 11 }, "end": { - "line": 306, + "line": 305, "column": 12 } } @@ -48773,15 +48518,15 @@ "updateContext": null }, "value": "this", - "start": 10293, - "end": 10297, + "start": 10255, + "end": 10259, "loc": { "start": { - "line": 306, + "line": 305, "column": 12 }, "end": { - "line": 306, + "line": 305, "column": 16 } } @@ -48799,15 +48544,15 @@ "binop": null, "updateContext": null }, - "start": 10297, - "end": 10298, + "start": 10259, + "end": 10260, "loc": { "start": { - "line": 306, + "line": 305, "column": 16 }, "end": { - "line": 306, + "line": 305, "column": 17 } } @@ -48825,15 +48570,15 @@ "binop": null }, "value": "frames", - "start": 10298, - "end": 10304, + "start": 10260, + "end": 10266, "loc": { "start": { - "line": 306, + "line": 305, "column": 17 }, "end": { - "line": 306, + "line": 305, "column": 23 } } @@ -48851,15 +48596,15 @@ "binop": null, "updateContext": null }, - "start": 10304, - "end": 10305, + "start": 10266, + "end": 10267, "loc": { "start": { - "line": 306, + "line": 305, "column": 23 }, "end": { - "line": 306, + "line": 305, "column": 24 } } @@ -48877,15 +48622,15 @@ "binop": null }, "value": "includes", - "start": 10305, - "end": 10313, + "start": 10267, + "end": 10275, "loc": { "start": { - "line": 306, + "line": 305, "column": 24 }, "end": { - "line": 306, + "line": 305, "column": 32 } } @@ -48902,15 +48647,15 @@ "postfix": false, "binop": null }, - "start": 10313, - "end": 10314, + "start": 10275, + "end": 10276, "loc": { "start": { - "line": 306, + "line": 305, "column": 32 }, "end": { - "line": 306, + "line": 305, "column": 33 } } @@ -48928,15 +48673,15 @@ "binop": null }, "value": "pFrame", - "start": 10314, - "end": 10320, + "start": 10276, + "end": 10282, "loc": { "start": { - "line": 306, + "line": 305, "column": 33 }, "end": { - "line": 306, + "line": 305, "column": 39 } } @@ -48953,15 +48698,15 @@ "postfix": false, "binop": null }, - "start": 10320, - "end": 10321, + "start": 10282, + "end": 10283, "loc": { "start": { - "line": 306, + "line": 305, "column": 39 }, "end": { - "line": 306, + "line": 305, "column": 40 } } @@ -48978,15 +48723,15 @@ "postfix": false, "binop": null }, - "start": 10321, - "end": 10322, + "start": 10283, + "end": 10284, "loc": { "start": { - "line": 306, + "line": 305, "column": 40 }, "end": { - "line": 306, + "line": 305, "column": 41 } } @@ -49003,15 +48748,15 @@ "postfix": false, "binop": null }, - "start": 10323, - "end": 10324, + "start": 10285, + "end": 10286, "loc": { "start": { - "line": 306, + "line": 305, "column": 42 }, "end": { - "line": 306, + "line": 305, "column": 43 } } @@ -49029,15 +48774,15 @@ "binop": null }, "value": "index", - "start": 10338, - "end": 10343, + "start": 10300, + "end": 10305, "loc": { "start": { - "line": 307, + "line": 306, "column": 12 }, "end": { - "line": 307, + "line": 306, "column": 17 } } @@ -49056,15 +48801,15 @@ "updateContext": null }, "value": "=", - "start": 10344, - "end": 10345, + "start": 10306, + "end": 10307, "loc": { "start": { - "line": 307, + "line": 306, "column": 18 }, "end": { - "line": 307, + "line": 306, "column": 19 } } @@ -49084,15 +48829,15 @@ "updateContext": null }, "value": "this", - "start": 10346, - "end": 10350, + "start": 10308, + "end": 10312, "loc": { "start": { - "line": 307, + "line": 306, "column": 20 }, "end": { - "line": 307, + "line": 306, "column": 24 } } @@ -49110,15 +48855,15 @@ "binop": null, "updateContext": null }, - "start": 10350, - "end": 10351, + "start": 10312, + "end": 10313, "loc": { "start": { - "line": 307, + "line": 306, "column": 24 }, "end": { - "line": 307, + "line": 306, "column": 25 } } @@ -49136,15 +48881,15 @@ "binop": null }, "value": "frames", - "start": 10351, - "end": 10357, + "start": 10313, + "end": 10319, "loc": { "start": { - "line": 307, + "line": 306, "column": 25 }, "end": { - "line": 307, + "line": 306, "column": 31 } } @@ -49162,15 +48907,15 @@ "binop": null, "updateContext": null }, - "start": 10357, - "end": 10358, + "start": 10319, + "end": 10320, "loc": { "start": { - "line": 307, + "line": 306, "column": 31 }, "end": { - "line": 307, + "line": 306, "column": 32 } } @@ -49188,15 +48933,15 @@ "binop": null }, "value": "indexOf", - "start": 10358, - "end": 10365, + "start": 10320, + "end": 10327, "loc": { "start": { - "line": 307, + "line": 306, "column": 32 }, "end": { - "line": 307, + "line": 306, "column": 39 } } @@ -49213,15 +48958,15 @@ "postfix": false, "binop": null }, - "start": 10365, - "end": 10366, + "start": 10327, + "end": 10328, "loc": { "start": { - "line": 307, + "line": 306, "column": 39 }, "end": { - "line": 307, + "line": 306, "column": 40 } } @@ -49239,15 +48984,15 @@ "binop": null }, "value": "pFrame", - "start": 10366, - "end": 10372, + "start": 10328, + "end": 10334, "loc": { "start": { - "line": 307, + "line": 306, "column": 40 }, "end": { - "line": 307, + "line": 306, "column": 46 } } @@ -49264,15 +49009,15 @@ "postfix": false, "binop": null }, - "start": 10372, - "end": 10373, + "start": 10334, + "end": 10335, "loc": { "start": { - "line": 307, + "line": 306, "column": 46 }, "end": { - "line": 307, + "line": 306, "column": 47 } } @@ -49290,15 +49035,15 @@ "binop": null, "updateContext": null }, - "start": 10373, - "end": 10374, + "start": 10335, + "end": 10336, "loc": { "start": { - "line": 307, + "line": 306, "column": 47 }, "end": { - "line": 307, + "line": 306, "column": 48 } } @@ -49306,15 +49051,15 @@ { "type": "CommentLine", "value": " Remove via index passed.", - "start": 10384, - "end": 10411, + "start": 10346, + "end": 10373, "loc": { "start": { - "line": 308, + "line": 307, "column": 8 }, "end": { - "line": 308, + "line": 307, "column": 35 } } @@ -49331,15 +49076,15 @@ "postfix": false, "binop": null }, - "start": 10421, - "end": 10422, + "start": 10383, + "end": 10384, "loc": { "start": { - "line": 309, + "line": 308, "column": 8 }, "end": { - "line": 309, + "line": 308, "column": 9 } } @@ -49359,15 +49104,15 @@ "updateContext": null }, "value": "else", - "start": 10423, - "end": 10427, + "start": 10385, + "end": 10389, "loc": { "start": { - "line": 309, + "line": 308, "column": 10 }, "end": { - "line": 309, + "line": 308, "column": 14 } } @@ -49387,15 +49132,15 @@ "updateContext": null }, "value": "if", - "start": 10428, - "end": 10430, + "start": 10390, + "end": 10392, "loc": { "start": { - "line": 309, + "line": 308, "column": 15 }, "end": { - "line": 309, + "line": 308, "column": 17 } } @@ -49412,15 +49157,15 @@ "postfix": false, "binop": null }, - "start": 10431, - "end": 10432, + "start": 10393, + "end": 10394, "loc": { "start": { - "line": 309, + "line": 308, "column": 18 }, "end": { - "line": 309, + "line": 308, "column": 19 } } @@ -49438,15 +49183,15 @@ "binop": null }, "value": "pIndex", - "start": 10432, - "end": 10438, + "start": 10394, + "end": 10400, "loc": { "start": { - "line": 309, + "line": 308, "column": 19 }, "end": { - "line": 309, + "line": 308, "column": 25 } } @@ -49465,15 +49210,15 @@ "updateContext": null }, "value": "||", - "start": 10439, - "end": 10441, + "start": 10401, + "end": 10403, "loc": { "start": { - "line": 309, + "line": 308, "column": 26 }, "end": { - "line": 309, + "line": 308, "column": 28 } } @@ -49491,15 +49236,15 @@ "binop": null }, "value": "pIndex", - "start": 10442, - "end": 10448, + "start": 10404, + "end": 10410, "loc": { "start": { - "line": 309, + "line": 308, "column": 29 }, "end": { - "line": 309, + "line": 308, "column": 35 } } @@ -49518,15 +49263,15 @@ "updateContext": null }, "value": "===", - "start": 10449, - "end": 10452, + "start": 10411, + "end": 10414, "loc": { "start": { - "line": 309, + "line": 308, "column": 36 }, "end": { - "line": 309, + "line": 308, "column": 39 } } @@ -49545,15 +49290,15 @@ "updateContext": null }, "value": 0, - "start": 10453, - "end": 10454, + "start": 10415, + "end": 10416, "loc": { "start": { - "line": 309, + "line": 308, "column": 40 }, "end": { - "line": 309, + "line": 308, "column": 41 } } @@ -49570,15 +49315,15 @@ "postfix": false, "binop": null }, - "start": 10454, - "end": 10455, + "start": 10416, + "end": 10417, "loc": { "start": { - "line": 309, + "line": 308, "column": 41 }, "end": { - "line": 309, + "line": 308, "column": 42 } } @@ -49595,15 +49340,15 @@ "postfix": false, "binop": null }, - "start": 10456, - "end": 10457, + "start": 10418, + "end": 10419, "loc": { "start": { - "line": 309, + "line": 308, "column": 43 }, "end": { - "line": 309, + "line": 308, "column": 44 } } @@ -49623,15 +49368,15 @@ "updateContext": null }, "value": "if", - "start": 10471, - "end": 10473, + "start": 10433, + "end": 10435, "loc": { "start": { - "line": 310, + "line": 309, "column": 12 }, "end": { - "line": 310, + "line": 309, "column": 14 } } @@ -49648,15 +49393,15 @@ "postfix": false, "binop": null }, - "start": 10474, - "end": 10475, + "start": 10436, + "end": 10437, "loc": { "start": { - "line": 310, + "line": 309, "column": 15 }, "end": { - "line": 310, + "line": 309, "column": 16 } } @@ -49676,15 +49421,15 @@ "updateContext": null }, "value": "typeof", - "start": 10475, - "end": 10481, + "start": 10437, + "end": 10443, "loc": { "start": { - "line": 310, + "line": 309, "column": 16 }, "end": { - "line": 310, + "line": 309, "column": 22 } } @@ -49701,15 +49446,15 @@ "postfix": false, "binop": null }, - "start": 10481, - "end": 10482, + "start": 10443, + "end": 10444, "loc": { "start": { - "line": 310, + "line": 309, "column": 22 }, "end": { - "line": 310, + "line": 309, "column": 23 } } @@ -49727,15 +49472,15 @@ "binop": null }, "value": "pIndex", - "start": 10482, - "end": 10488, + "start": 10444, + "end": 10450, "loc": { "start": { - "line": 310, + "line": 309, "column": 23 }, "end": { - "line": 310, + "line": 309, "column": 29 } } @@ -49752,15 +49497,15 @@ "postfix": false, "binop": null }, - "start": 10488, - "end": 10489, + "start": 10450, + "end": 10451, "loc": { "start": { - "line": 310, + "line": 309, "column": 29 }, "end": { - "line": 310, + "line": 309, "column": 30 } } @@ -49779,15 +49524,15 @@ "updateContext": null }, "value": "===", - "start": 10490, - "end": 10493, + "start": 10452, + "end": 10455, "loc": { "start": { - "line": 310, + "line": 309, "column": 31 }, "end": { - "line": 310, + "line": 309, "column": 34 } } @@ -49806,15 +49551,15 @@ "updateContext": null }, "value": "number", - "start": 10494, - "end": 10502, + "start": 10456, + "end": 10464, "loc": { "start": { - "line": 310, + "line": 309, "column": 35 }, "end": { - "line": 310, + "line": 309, "column": 43 } } @@ -49831,15 +49576,15 @@ "postfix": false, "binop": null }, - "start": 10502, - "end": 10503, + "start": 10464, + "end": 10465, "loc": { "start": { - "line": 310, + "line": 309, "column": 43 }, "end": { - "line": 310, + "line": 309, "column": 44 } } @@ -49856,15 +49601,15 @@ "postfix": false, "binop": null }, - "start": 10504, - "end": 10505, + "start": 10466, + "end": 10467, "loc": { "start": { - "line": 310, + "line": 309, "column": 45 }, "end": { - "line": 310, + "line": 309, "column": 46 } } @@ -49884,15 +49629,15 @@ "updateContext": null }, "value": "const", - "start": 10523, - "end": 10528, + "start": 10485, + "end": 10490, "loc": { "start": { - "line": 311, + "line": 310, "column": 16 }, "end": { - "line": 311, + "line": 310, "column": 21 } } @@ -49910,15 +49655,15 @@ "binop": null }, "value": "frame", - "start": 10529, - "end": 10534, + "start": 10491, + "end": 10496, "loc": { "start": { - "line": 311, + "line": 310, "column": 22 }, "end": { - "line": 311, + "line": 310, "column": 27 } } @@ -49937,15 +49682,15 @@ "updateContext": null }, "value": "=", - "start": 10535, - "end": 10536, + "start": 10497, + "end": 10498, "loc": { "start": { - "line": 311, + "line": 310, "column": 28 }, "end": { - "line": 311, + "line": 310, "column": 29 } } @@ -49965,15 +49710,15 @@ "updateContext": null }, "value": "this", - "start": 10537, - "end": 10541, + "start": 10499, + "end": 10503, "loc": { "start": { - "line": 311, + "line": 310, "column": 30 }, "end": { - "line": 311, + "line": 310, "column": 34 } } @@ -49991,15 +49736,15 @@ "binop": null, "updateContext": null }, - "start": 10541, - "end": 10542, + "start": 10503, + "end": 10504, "loc": { "start": { - "line": 311, + "line": 310, "column": 34 }, "end": { - "line": 311, + "line": 310, "column": 35 } } @@ -50017,15 +49762,15 @@ "binop": null }, "value": "getFrame", - "start": 10542, - "end": 10550, + "start": 10504, + "end": 10512, "loc": { "start": { - "line": 311, + "line": 310, "column": 35 }, "end": { - "line": 311, + "line": 310, "column": 43 } } @@ -50042,15 +49787,15 @@ "postfix": false, "binop": null }, - "start": 10550, - "end": 10551, + "start": 10512, + "end": 10513, "loc": { "start": { - "line": 311, + "line": 310, "column": 43 }, "end": { - "line": 311, + "line": 310, "column": 44 } } @@ -50068,15 +49813,15 @@ "binop": null }, "value": "pIndex", - "start": 10551, - "end": 10557, + "start": 10513, + "end": 10519, "loc": { "start": { - "line": 311, + "line": 310, "column": 44 }, "end": { - "line": 311, + "line": 310, "column": 50 } } @@ -50093,15 +49838,15 @@ "postfix": false, "binop": null }, - "start": 10557, - "end": 10558, + "start": 10519, + "end": 10520, "loc": { "start": { - "line": 311, + "line": 310, "column": 50 }, "end": { - "line": 311, + "line": 310, "column": 51 } } @@ -50119,15 +49864,15 @@ "binop": null, "updateContext": null }, - "start": 10558, - "end": 10559, + "start": 10520, + "end": 10521, "loc": { "start": { - "line": 311, + "line": 310, "column": 51 }, "end": { - "line": 311, + "line": 310, "column": 52 } } @@ -50147,15 +49892,15 @@ "updateContext": null }, "value": "if", - "start": 10577, - "end": 10579, + "start": 10539, + "end": 10541, "loc": { "start": { - "line": 312, + "line": 311, "column": 16 }, "end": { - "line": 312, + "line": 311, "column": 18 } } @@ -50172,15 +49917,15 @@ "postfix": false, "binop": null }, - "start": 10580, - "end": 10581, + "start": 10542, + "end": 10543, "loc": { "start": { - "line": 312, + "line": 311, "column": 19 }, "end": { - "line": 312, + "line": 311, "column": 20 } } @@ -50198,15 +49943,15 @@ "binop": null }, "value": "frame", - "start": 10581, - "end": 10586, + "start": 10543, + "end": 10548, "loc": { "start": { - "line": 312, + "line": 311, "column": 20 }, "end": { - "line": 312, + "line": 311, "column": 25 } } @@ -50223,15 +49968,15 @@ "postfix": false, "binop": null }, - "start": 10586, - "end": 10587, + "start": 10548, + "end": 10549, "loc": { "start": { - "line": 312, + "line": 311, "column": 25 }, "end": { - "line": 312, + "line": 311, "column": 26 } } @@ -50248,15 +49993,15 @@ "postfix": false, "binop": null }, - "start": 10588, - "end": 10589, + "start": 10550, + "end": 10551, "loc": { "start": { - "line": 312, + "line": 311, "column": 27 }, "end": { - "line": 312, + "line": 311, "column": 28 } } @@ -50274,15 +50019,15 @@ "binop": null }, "value": "index", - "start": 10611, - "end": 10616, + "start": 10573, + "end": 10578, "loc": { "start": { - "line": 313, + "line": 312, "column": 20 }, "end": { - "line": 313, + "line": 312, "column": 25 } } @@ -50301,15 +50046,15 @@ "updateContext": null }, "value": "=", - "start": 10617, - "end": 10618, + "start": 10579, + "end": 10580, "loc": { "start": { - "line": 313, + "line": 312, "column": 26 }, "end": { - "line": 313, + "line": 312, "column": 27 } } @@ -50327,15 +50072,15 @@ "binop": null }, "value": "pIndex", - "start": 10619, - "end": 10625, + "start": 10581, + "end": 10587, "loc": { "start": { - "line": 313, + "line": 312, "column": 28 }, "end": { - "line": 313, + "line": 312, "column": 34 } } @@ -50353,15 +50098,15 @@ "binop": null, "updateContext": null }, - "start": 10625, - "end": 10626, + "start": 10587, + "end": 10588, "loc": { "start": { - "line": 313, + "line": 312, "column": 34 }, "end": { - "line": 313, + "line": 312, "column": 35 } } @@ -50378,15 +50123,15 @@ "postfix": false, "binop": null }, - "start": 10644, - "end": 10645, + "start": 10606, + "end": 10607, "loc": { "start": { - "line": 314, + "line": 313, "column": 16 }, "end": { - "line": 314, + "line": 313, "column": 17 } } @@ -50403,15 +50148,15 @@ "postfix": false, "binop": null }, - "start": 10659, - "end": 10660, + "start": 10621, + "end": 10622, "loc": { "start": { - "line": 315, + "line": 314, "column": 12 }, "end": { - "line": 315, + "line": 314, "column": 13 } } @@ -50431,15 +50176,15 @@ "updateContext": null }, "value": "else", - "start": 10661, - "end": 10665, + "start": 10623, + "end": 10627, "loc": { "start": { - "line": 315, + "line": 314, "column": 14 }, "end": { - "line": 315, + "line": 314, "column": 18 } } @@ -50456,15 +50201,15 @@ "postfix": false, "binop": null }, - "start": 10666, - "end": 10667, + "start": 10628, + "end": 10629, "loc": { "start": { - "line": 315, + "line": 314, "column": 19 }, "end": { - "line": 315, + "line": 314, "column": 20 } } @@ -50482,15 +50227,15 @@ "binop": null }, "value": "VYI", - "start": 10685, - "end": 10688, + "start": 10647, + "end": 10650, "loc": { "start": { - "line": 316, + "line": 315, "column": 16 }, "end": { - "line": 316, + "line": 315, "column": 19 } } @@ -50508,15 +50253,15 @@ "binop": null, "updateContext": null }, - "start": 10688, - "end": 10689, + "start": 10650, + "end": 10651, "loc": { "start": { - "line": 316, + "line": 315, "column": 19 }, "end": { - "line": 316, + "line": 315, "column": 20 } } @@ -50534,15 +50279,15 @@ "binop": null }, "value": "logger", - "start": 10689, - "end": 10695, + "start": 10651, + "end": 10657, "loc": { "start": { - "line": 316, + "line": 315, "column": 20 }, "end": { - "line": 316, + "line": 315, "column": 26 } } @@ -50560,15 +50305,15 @@ "binop": null, "updateContext": null }, - "start": 10695, - "end": 10696, + "start": 10657, + "end": 10658, "loc": { "start": { - "line": 316, + "line": 315, "column": 26 }, "end": { - "line": 316, + "line": 315, "column": 27 } } @@ -50586,15 +50331,15 @@ "binop": null }, "value": "prefix", - "start": 10696, - "end": 10702, + "start": 10658, + "end": 10664, "loc": { "start": { - "line": 316, + "line": 315, "column": 27 }, "end": { - "line": 316, + "line": 315, "column": 33 } } @@ -50611,15 +50356,15 @@ "postfix": false, "binop": null }, - "start": 10702, - "end": 10703, + "start": 10664, + "end": 10665, "loc": { "start": { - "line": 316, + "line": 315, "column": 33 }, "end": { - "line": 316, + "line": 315, "column": 34 } } @@ -50638,15 +50383,15 @@ "updateContext": null }, "value": "VYI-Module", - "start": 10703, - "end": 10715, + "start": 10665, + "end": 10677, "loc": { "start": { - "line": 316, + "line": 315, "column": 34 }, "end": { - "line": 316, + "line": 315, "column": 46 } } @@ -50663,15 +50408,15 @@ "postfix": false, "binop": null }, - "start": 10715, - "end": 10716, + "start": 10677, + "end": 10678, "loc": { "start": { - "line": 316, + "line": 315, "column": 46 }, "end": { - "line": 316, + "line": 315, "column": 47 } } @@ -50689,15 +50434,15 @@ "binop": null, "updateContext": null }, - "start": 10716, - "end": 10717, + "start": 10678, + "end": 10679, "loc": { "start": { - "line": 316, + "line": 315, "column": 47 }, "end": { - "line": 316, + "line": 315, "column": 48 } } @@ -50715,15 +50460,15 @@ "binop": null }, "value": "error", - "start": 10717, - "end": 10722, + "start": 10679, + "end": 10684, "loc": { "start": { - "line": 316, + "line": 315, "column": 48 }, "end": { - "line": 316, + "line": 315, "column": 53 } } @@ -50740,15 +50485,15 @@ "postfix": false, "binop": null }, - "start": 10722, - "end": 10723, + "start": 10684, + "end": 10685, "loc": { "start": { - "line": 316, + "line": 315, "column": 53 }, "end": { - "line": 316, + "line": 315, "column": 54 } } @@ -50767,15 +50512,15 @@ "updateContext": null }, "value": "Invalid pIndex type!", - "start": 10723, - "end": 10745, + "start": 10685, + "end": 10707, "loc": { "start": { - "line": 316, + "line": 315, "column": 54 }, "end": { - "line": 316, + "line": 315, "column": 76 } } @@ -50792,15 +50537,15 @@ "postfix": false, "binop": null }, - "start": 10745, - "end": 10746, + "start": 10707, + "end": 10708, "loc": { "start": { - "line": 316, + "line": 315, "column": 76 }, "end": { - "line": 316, + "line": 315, "column": 77 } } @@ -50818,15 +50563,15 @@ "binop": null, "updateContext": null }, - "start": 10746, - "end": 10747, + "start": 10708, + "end": 10709, "loc": { "start": { - "line": 316, + "line": 315, "column": 77 }, "end": { - "line": 316, + "line": 315, "column": 78 } } @@ -50843,15 +50588,15 @@ "postfix": false, "binop": null }, - "start": 10761, - "end": 10762, + "start": 10723, + "end": 10724, "loc": { "start": { - "line": 317, + "line": 316, "column": 12 }, "end": { - "line": 317, + "line": 316, "column": 13 } } @@ -50868,15 +50613,15 @@ "postfix": false, "binop": null }, - "start": 10772, - "end": 10773, + "start": 10734, + "end": 10735, "loc": { "start": { - "line": 318, + "line": 317, "column": 8 }, "end": { - "line": 318, + "line": 317, "column": 9 } } @@ -50896,15 +50641,15 @@ "updateContext": null }, "value": "else", - "start": 10774, - "end": 10778, + "start": 10736, + "end": 10740, "loc": { "start": { - "line": 318, + "line": 317, "column": 10 }, "end": { - "line": 318, + "line": 317, "column": 14 } } @@ -50921,15 +50666,15 @@ "postfix": false, "binop": null }, - "start": 10779, - "end": 10780, + "start": 10741, + "end": 10742, "loc": { "start": { - "line": 318, + "line": 317, "column": 15 }, "end": { - "line": 318, + "line": 317, "column": 16 } } @@ -50947,15 +50692,15 @@ "binop": null }, "value": "VYI", - "start": 10794, - "end": 10797, + "start": 10756, + "end": 10759, "loc": { "start": { - "line": 319, + "line": 318, "column": 12 }, "end": { - "line": 319, + "line": 318, "column": 15 } } @@ -50973,15 +50718,15 @@ "binop": null, "updateContext": null }, - "start": 10797, - "end": 10798, + "start": 10759, + "end": 10760, "loc": { "start": { - "line": 319, + "line": 318, "column": 15 }, "end": { - "line": 319, + "line": 318, "column": 16 } } @@ -50999,15 +50744,15 @@ "binop": null }, "value": "logger", - "start": 10798, - "end": 10804, + "start": 10760, + "end": 10766, "loc": { "start": { - "line": 319, + "line": 318, "column": 16 }, "end": { - "line": 319, + "line": 318, "column": 22 } } @@ -51025,15 +50770,15 @@ "binop": null, "updateContext": null }, - "start": 10804, - "end": 10805, + "start": 10766, + "end": 10767, "loc": { "start": { - "line": 319, + "line": 318, "column": 22 }, "end": { - "line": 319, + "line": 318, "column": 23 } } @@ -51051,15 +50796,15 @@ "binop": null }, "value": "prefix", - "start": 10805, - "end": 10811, + "start": 10767, + "end": 10773, "loc": { "start": { - "line": 319, + "line": 318, "column": 23 }, "end": { - "line": 319, + "line": 318, "column": 29 } } @@ -51076,15 +50821,15 @@ "postfix": false, "binop": null }, - "start": 10811, - "end": 10812, + "start": 10773, + "end": 10774, "loc": { "start": { - "line": 319, + "line": 318, "column": 29 }, "end": { - "line": 319, + "line": 318, "column": 30 } } @@ -51103,15 +50848,15 @@ "updateContext": null }, "value": "VYI-Module", - "start": 10812, - "end": 10824, + "start": 10774, + "end": 10786, "loc": { "start": { - "line": 319, + "line": 318, "column": 30 }, "end": { - "line": 319, + "line": 318, "column": 42 } } @@ -51128,15 +50873,15 @@ "postfix": false, "binop": null }, - "start": 10824, - "end": 10825, + "start": 10786, + "end": 10787, "loc": { "start": { - "line": 319, + "line": 318, "column": 42 }, "end": { - "line": 319, + "line": 318, "column": 43 } } @@ -51154,15 +50899,15 @@ "binop": null, "updateContext": null }, - "start": 10825, - "end": 10826, + "start": 10787, + "end": 10788, "loc": { "start": { - "line": 319, + "line": 318, "column": 43 }, "end": { - "line": 319, + "line": 318, "column": 44 } } @@ -51180,15 +50925,15 @@ "binop": null }, "value": "error", - "start": 10826, - "end": 10831, + "start": 10788, + "end": 10793, "loc": { "start": { - "line": 319, + "line": 318, "column": 44 }, "end": { - "line": 319, + "line": 318, "column": 49 } } @@ -51205,15 +50950,15 @@ "postfix": false, "binop": null }, - "start": 10831, - "end": 10832, + "start": 10793, + "end": 10794, "loc": { "start": { - "line": 319, + "line": 318, "column": 49 }, "end": { - "line": 319, + "line": 318, "column": 50 } } @@ -51232,15 +50977,15 @@ "updateContext": null }, "value": "Failed to remove frame!", - "start": 10832, - "end": 10857, + "start": 10794, + "end": 10819, "loc": { "start": { - "line": 319, + "line": 318, "column": 50 }, "end": { - "line": 319, + "line": 318, "column": 75 } } @@ -51257,15 +51002,15 @@ "postfix": false, "binop": null }, - "start": 10857, - "end": 10858, + "start": 10819, + "end": 10820, "loc": { "start": { - "line": 319, + "line": 318, "column": 75 }, "end": { - "line": 319, + "line": 318, "column": 76 } } @@ -51283,15 +51028,15 @@ "binop": null, "updateContext": null }, - "start": 10858, - "end": 10859, + "start": 10820, + "end": 10821, "loc": { "start": { - "line": 319, + "line": 318, "column": 76 }, "end": { - "line": 319, + "line": 318, "column": 77 } } @@ -51308,15 +51053,15 @@ "postfix": false, "binop": null }, - "start": 10869, - "end": 10870, + "start": 10831, + "end": 10832, "loc": { "start": { - "line": 320, + "line": 319, "column": 8 }, "end": { - "line": 320, + "line": 319, "column": 9 } } @@ -51336,15 +51081,15 @@ "updateContext": null }, "value": "if", - "start": 10880, - "end": 10882, + "start": 10842, + "end": 10844, "loc": { "start": { - "line": 321, + "line": 320, "column": 8 }, "end": { - "line": 321, + "line": 320, "column": 10 } } @@ -51361,15 +51106,15 @@ "postfix": false, "binop": null }, - "start": 10883, - "end": 10884, + "start": 10845, + "end": 10846, "loc": { "start": { - "line": 321, + "line": 320, "column": 11 }, "end": { - "line": 321, + "line": 320, "column": 12 } } @@ -51389,15 +51134,15 @@ "updateContext": null }, "value": "typeof", - "start": 10884, - "end": 10890, + "start": 10846, + "end": 10852, "loc": { "start": { - "line": 321, + "line": 320, "column": 12 }, "end": { - "line": 321, + "line": 320, "column": 18 } } @@ -51414,15 +51159,15 @@ "postfix": false, "binop": null }, - "start": 10890, - "end": 10891, + "start": 10852, + "end": 10853, "loc": { "start": { - "line": 321, + "line": 320, "column": 18 }, "end": { - "line": 321, + "line": 320, "column": 19 } } @@ -51440,15 +51185,15 @@ "binop": null }, "value": "index", - "start": 10891, - "end": 10896, + "start": 10853, + "end": 10858, "loc": { "start": { - "line": 321, + "line": 320, "column": 19 }, "end": { - "line": 321, + "line": 320, "column": 24 } } @@ -51465,15 +51210,15 @@ "postfix": false, "binop": null }, - "start": 10896, - "end": 10897, + "start": 10858, + "end": 10859, "loc": { "start": { - "line": 321, + "line": 320, "column": 24 }, "end": { - "line": 321, + "line": 320, "column": 25 } } @@ -51492,15 +51237,15 @@ "updateContext": null }, "value": "===", - "start": 10898, - "end": 10901, + "start": 10860, + "end": 10863, "loc": { "start": { - "line": 321, + "line": 320, "column": 26 }, "end": { - "line": 321, + "line": 320, "column": 29 } } @@ -51519,15 +51264,15 @@ "updateContext": null }, "value": "number", - "start": 10902, - "end": 10910, + "start": 10864, + "end": 10872, "loc": { "start": { - "line": 321, + "line": 320, "column": 30 }, "end": { - "line": 321, + "line": 320, "column": 38 } } @@ -51544,15 +51289,15 @@ "postfix": false, "binop": null }, - "start": 10910, - "end": 10911, + "start": 10872, + "end": 10873, "loc": { "start": { - "line": 321, + "line": 320, "column": 38 }, "end": { - "line": 321, + "line": 320, "column": 39 } } @@ -51569,15 +51314,15 @@ "postfix": false, "binop": null }, - "start": 10912, - "end": 10913, + "start": 10874, + "end": 10875, "loc": { "start": { - "line": 321, + "line": 320, "column": 40 }, "end": { - "line": 321, + "line": 320, "column": 41 } } @@ -51585,15 +51330,15 @@ { "type": "CommentLine", "value": " Remove the frame", - "start": 10927, - "end": 10946, + "start": 10889, + "end": 10908, "loc": { "start": { - "line": 322, + "line": 321, "column": 12 }, "end": { - "line": 322, + "line": 321, "column": 31 } } @@ -51613,15 +51358,15 @@ "updateContext": null }, "value": "this", - "start": 10960, - "end": 10964, + "start": 10922, + "end": 10926, "loc": { "start": { - "line": 323, + "line": 322, "column": 12 }, "end": { - "line": 323, + "line": 322, "column": 16 } } @@ -51639,15 +51384,15 @@ "binop": null, "updateContext": null }, - "start": 10964, - "end": 10965, + "start": 10926, + "end": 10927, "loc": { "start": { - "line": 323, + "line": 322, "column": 16 }, "end": { - "line": 323, + "line": 322, "column": 17 } } @@ -51665,15 +51410,15 @@ "binop": null }, "value": "frames", - "start": 10965, - "end": 10971, + "start": 10927, + "end": 10933, "loc": { "start": { - "line": 323, + "line": 322, "column": 17 }, "end": { - "line": 323, + "line": 322, "column": 23 } } @@ -51691,15 +51436,15 @@ "binop": null, "updateContext": null }, - "start": 10971, - "end": 10972, + "start": 10933, + "end": 10934, "loc": { "start": { - "line": 323, + "line": 322, "column": 23 }, "end": { - "line": 323, + "line": 322, "column": 24 } } @@ -51717,15 +51462,15 @@ "binop": null }, "value": "splice", - "start": 10972, - "end": 10978, + "start": 10934, + "end": 10940, "loc": { "start": { - "line": 323, + "line": 322, "column": 24 }, "end": { - "line": 323, + "line": 322, "column": 30 } } @@ -51742,15 +51487,15 @@ "postfix": false, "binop": null }, - "start": 10978, - "end": 10979, + "start": 10940, + "end": 10941, "loc": { "start": { - "line": 323, + "line": 322, "column": 30 }, "end": { - "line": 323, + "line": 322, "column": 31 } } @@ -51768,15 +51513,15 @@ "binop": null }, "value": "index", - "start": 10979, - "end": 10984, + "start": 10941, + "end": 10946, "loc": { "start": { - "line": 323, + "line": 322, "column": 31 }, "end": { - "line": 323, + "line": 322, "column": 36 } } @@ -51794,15 +51539,15 @@ "binop": null, "updateContext": null }, - "start": 10984, - "end": 10985, + "start": 10946, + "end": 10947, "loc": { "start": { - "line": 323, + "line": 322, "column": 36 }, "end": { - "line": 323, + "line": 322, "column": 37 } } @@ -51821,15 +51566,15 @@ "updateContext": null }, "value": 1, - "start": 10986, - "end": 10987, + "start": 10948, + "end": 10949, "loc": { "start": { - "line": 323, + "line": 322, "column": 38 }, "end": { - "line": 323, + "line": 322, "column": 39 } } @@ -51846,15 +51591,15 @@ "postfix": false, "binop": null }, - "start": 10987, - "end": 10988, + "start": 10949, + "end": 10950, "loc": { "start": { - "line": 323, + "line": 322, "column": 39 }, "end": { - "line": 323, + "line": 322, "column": 40 } } @@ -51872,15 +51617,15 @@ "binop": null, "updateContext": null }, - "start": 10988, - "end": 10989, + "start": 10950, + "end": 10951, "loc": { "start": { - "line": 323, + "line": 322, "column": 40 }, "end": { - "line": 323, + "line": 322, "column": 41 } } @@ -51888,15 +51633,15 @@ { "type": "CommentLine", "value": " Re-index frames after a change", - "start": 11003, - "end": 11036, + "start": 10965, + "end": 10998, "loc": { "start": { - "line": 324, + "line": 323, "column": 12 }, "end": { - "line": 324, + "line": 323, "column": 45 } } @@ -51916,15 +51661,15 @@ "updateContext": null }, "value": "this", - "start": 11050, - "end": 11054, + "start": 11012, + "end": 11016, "loc": { "start": { - "line": 325, + "line": 324, "column": 12 }, "end": { - "line": 325, + "line": 324, "column": 16 } } @@ -51942,15 +51687,15 @@ "binop": null, "updateContext": null }, - "start": 11054, - "end": 11055, + "start": 11016, + "end": 11017, "loc": { "start": { - "line": 325, + "line": 324, "column": 16 }, "end": { - "line": 325, + "line": 324, "column": 17 } } @@ -51968,15 +51713,15 @@ "binop": null }, "value": "indexFrames", - "start": 11055, - "end": 11066, + "start": 11017, + "end": 11028, "loc": { "start": { - "line": 325, + "line": 324, "column": 17 }, "end": { - "line": 325, + "line": 324, "column": 28 } } @@ -51993,15 +51738,15 @@ "postfix": false, "binop": null }, - "start": 11066, - "end": 11067, + "start": 11028, + "end": 11029, "loc": { "start": { - "line": 325, + "line": 324, "column": 28 }, "end": { - "line": 325, + "line": 324, "column": 29 } } @@ -52018,15 +51763,15 @@ "postfix": false, "binop": null }, - "start": 11067, - "end": 11068, + "start": 11029, + "end": 11030, "loc": { "start": { - "line": 325, + "line": 324, "column": 29 }, "end": { - "line": 325, + "line": 324, "column": 30 } } @@ -52044,15 +51789,15 @@ "binop": null, "updateContext": null }, - "start": 11068, - "end": 11069, + "start": 11030, + "end": 11031, "loc": { "start": { - "line": 325, + "line": 324, "column": 30 }, "end": { - "line": 325, + "line": 324, "column": 31 } } @@ -52069,15 +51814,15 @@ "postfix": false, "binop": null }, - "start": 11079, - "end": 11080, + "start": 11041, + "end": 11042, "loc": { "start": { - "line": 326, + "line": 325, "column": 8 }, "end": { - "line": 326, + "line": 325, "column": 9 } } @@ -52097,15 +51842,15 @@ "updateContext": null }, "value": "return", - "start": 11090, - "end": 11096, + "start": 11052, + "end": 11058, "loc": { "start": { - "line": 327, + "line": 326, "column": 8 }, "end": { - "line": 327, + "line": 326, "column": 14 } } @@ -52125,15 +51870,15 @@ "updateContext": null }, "value": "this", - "start": 11097, - "end": 11101, + "start": 11059, + "end": 11063, "loc": { "start": { - "line": 327, + "line": 326, "column": 15 }, "end": { - "line": 327, + "line": 326, "column": 19 } } @@ -52151,15 +51896,15 @@ "binop": null, "updateContext": null }, - "start": 11101, - "end": 11102, + "start": 11063, + "end": 11064, "loc": { "start": { - "line": 327, + "line": 326, "column": 19 }, "end": { - "line": 327, + "line": 326, "column": 20 } } @@ -52176,15 +51921,15 @@ "postfix": false, "binop": null }, - "start": 11108, - "end": 11109, + "start": 11070, + "end": 11071, "loc": { "start": { - "line": 328, + "line": 327, "column": 4 }, "end": { - "line": 328, + "line": 327, "column": 5 } } @@ -52192,15 +51937,15 @@ { "type": "CommentBlock", "value": "*\r\n * Index the frames properly.\r\n * @private\r\n ", - "start": 11115, - "end": 11179, + "start": 11077, + "end": 11141, "loc": { "start": { - "line": 329, + "line": 328, "column": 4 }, "end": { - "line": 332, + "line": 331, "column": 7 } } @@ -52218,15 +51963,15 @@ "binop": null }, "value": "indexFrames", - "start": 11185, - "end": 11196, + "start": 11147, + "end": 11158, "loc": { "start": { - "line": 333, + "line": 332, "column": 4 }, "end": { - "line": 333, + "line": 332, "column": 15 } } @@ -52243,15 +51988,15 @@ "postfix": false, "binop": null }, - "start": 11196, - "end": 11197, + "start": 11158, + "end": 11159, "loc": { "start": { - "line": 333, + "line": 332, "column": 15 }, "end": { - "line": 333, + "line": 332, "column": 16 } } @@ -52268,15 +52013,15 @@ "postfix": false, "binop": null }, - "start": 11197, - "end": 11198, + "start": 11159, + "end": 11160, "loc": { "start": { - "line": 333, + "line": 332, "column": 16 }, "end": { - "line": 333, + "line": 332, "column": 17 } } @@ -52293,15 +52038,15 @@ "postfix": false, "binop": null }, - "start": 11199, - "end": 11200, + "start": 11161, + "end": 11162, "loc": { "start": { - "line": 333, + "line": 332, "column": 18 }, "end": { - "line": 333, + "line": 332, "column": 19 } } @@ -52309,15 +52054,15 @@ { "type": "CommentLine", "value": " Reorder the frames after removing.", - "start": 11210, - "end": 11247, + "start": 11172, + "end": 11209, "loc": { "start": { - "line": 334, + "line": 333, "column": 8 }, "end": { - "line": 334, + "line": 333, "column": 45 } } @@ -52337,15 +52082,15 @@ "updateContext": null }, "value": "this", - "start": 11257, - "end": 11261, + "start": 11219, + "end": 11223, "loc": { "start": { - "line": 335, + "line": 334, "column": 8 }, "end": { - "line": 335, + "line": 334, "column": 12 } } @@ -52363,15 +52108,15 @@ "binop": null, "updateContext": null }, - "start": 11261, - "end": 11262, + "start": 11223, + "end": 11224, "loc": { "start": { - "line": 335, + "line": 334, "column": 12 }, "end": { - "line": 335, + "line": 334, "column": 13 } } @@ -52389,15 +52134,15 @@ "binop": null }, "value": "frames", - "start": 11262, - "end": 11268, + "start": 11224, + "end": 11230, "loc": { "start": { - "line": 335, + "line": 334, "column": 13 }, "end": { - "line": 335, + "line": 334, "column": 19 } } @@ -52415,15 +52160,15 @@ "binop": null, "updateContext": null }, - "start": 11268, - "end": 11269, + "start": 11230, + "end": 11231, "loc": { "start": { - "line": 335, + "line": 334, "column": 19 }, "end": { - "line": 335, + "line": 334, "column": 20 } } @@ -52441,15 +52186,15 @@ "binop": null }, "value": "forEach", - "start": 11269, - "end": 11276, + "start": 11231, + "end": 11238, "loc": { "start": { - "line": 335, + "line": 334, "column": 20 }, "end": { - "line": 335, + "line": 334, "column": 27 } } @@ -52466,15 +52211,15 @@ "postfix": false, "binop": null }, - "start": 11276, - "end": 11277, + "start": 11238, + "end": 11239, "loc": { "start": { - "line": 335, + "line": 334, "column": 27 }, "end": { - "line": 335, + "line": 334, "column": 28 } } @@ -52491,15 +52236,15 @@ "postfix": false, "binop": null }, - "start": 11277, - "end": 11278, + "start": 11239, + "end": 11240, "loc": { "start": { - "line": 335, + "line": 334, "column": 28 }, "end": { - "line": 335, + "line": 334, "column": 29 } } @@ -52517,15 +52262,15 @@ "binop": null }, "value": "pFrame", - "start": 11278, - "end": 11284, + "start": 11240, + "end": 11246, "loc": { "start": { - "line": 335, + "line": 334, "column": 29 }, "end": { - "line": 335, + "line": 334, "column": 35 } } @@ -52543,15 +52288,15 @@ "binop": null, "updateContext": null }, - "start": 11284, - "end": 11285, + "start": 11246, + "end": 11247, "loc": { "start": { - "line": 335, + "line": 334, "column": 35 }, "end": { - "line": 335, + "line": 334, "column": 36 } } @@ -52569,15 +52314,15 @@ "binop": null }, "value": "pIndex", - "start": 11286, - "end": 11292, + "start": 11248, + "end": 11254, "loc": { "start": { - "line": 335, + "line": 334, "column": 37 }, "end": { - "line": 335, + "line": 334, "column": 43 } } @@ -52594,15 +52339,15 @@ "postfix": false, "binop": null }, - "start": 11292, - "end": 11293, + "start": 11254, + "end": 11255, "loc": { "start": { - "line": 335, + "line": 334, "column": 43 }, "end": { - "line": 335, + "line": 334, "column": 44 } } @@ -52620,15 +52365,15 @@ "binop": null, "updateContext": null }, - "start": 11294, - "end": 11296, + "start": 11256, + "end": 11258, "loc": { "start": { - "line": 335, + "line": 334, "column": 45 }, "end": { - "line": 335, + "line": 334, "column": 47 } } @@ -52645,15 +52390,15 @@ "postfix": false, "binop": null }, - "start": 11297, - "end": 11298, + "start": 11259, + "end": 11260, "loc": { "start": { - "line": 335, + "line": 334, "column": 48 }, "end": { - "line": 335, + "line": 334, "column": 49 } } @@ -52671,15 +52416,15 @@ "binop": null }, "value": "pFrame", - "start": 11312, - "end": 11318, + "start": 11274, + "end": 11280, "loc": { "start": { - "line": 336, + "line": 335, "column": 12 }, "end": { - "line": 336, + "line": 335, "column": 18 } } @@ -52697,15 +52442,15 @@ "binop": null, "updateContext": null }, - "start": 11318, - "end": 11319, + "start": 11280, + "end": 11281, "loc": { "start": { - "line": 336, + "line": 335, "column": 18 }, "end": { - "line": 336, + "line": 335, "column": 19 } } @@ -52723,15 +52468,15 @@ "binop": null }, "value": "index", - "start": 11319, - "end": 11324, + "start": 11281, + "end": 11286, "loc": { "start": { - "line": 336, + "line": 335, "column": 19 }, "end": { - "line": 336, + "line": 335, "column": 24 } } @@ -52750,15 +52495,15 @@ "updateContext": null }, "value": "=", - "start": 11325, - "end": 11326, + "start": 11287, + "end": 11288, "loc": { "start": { - "line": 336, + "line": 335, "column": 25 }, "end": { - "line": 336, + "line": 335, "column": 26 } } @@ -52776,15 +52521,15 @@ "binop": null }, "value": "pIndex", - "start": 11327, - "end": 11333, + "start": 11289, + "end": 11295, "loc": { "start": { - "line": 336, + "line": 335, "column": 27 }, "end": { - "line": 336, + "line": 335, "column": 33 } } @@ -52802,15 +52547,15 @@ "binop": null, "updateContext": null }, - "start": 11333, - "end": 11334, + "start": 11295, + "end": 11296, "loc": { "start": { - "line": 336, + "line": 335, "column": 33 }, "end": { - "line": 336, + "line": 335, "column": 34 } } @@ -52827,15 +52572,15 @@ "postfix": false, "binop": null }, - "start": 11344, - "end": 11345, + "start": 11306, + "end": 11307, "loc": { "start": { - "line": 337, + "line": 336, "column": 8 }, "end": { - "line": 337, + "line": 336, "column": 9 } } @@ -52852,15 +52597,15 @@ "postfix": false, "binop": null }, - "start": 11345, - "end": 11346, + "start": 11307, + "end": 11308, "loc": { "start": { - "line": 337, + "line": 336, "column": 9 }, "end": { - "line": 337, + "line": 336, "column": 10 } } @@ -52878,15 +52623,15 @@ "binop": null, "updateContext": null }, - "start": 11346, - "end": 11347, + "start": 11308, + "end": 11309, "loc": { "start": { - "line": 337, + "line": 336, "column": 10 }, "end": { - "line": 337, + "line": 336, "column": 11 } } @@ -52903,15 +52648,15 @@ "postfix": false, "binop": null }, - "start": 11353, - "end": 11354, + "start": 11315, + "end": 11316, "loc": { "start": { - "line": 338, + "line": 337, "column": 4 }, "end": { - "line": 338, + "line": 337, "column": 5 } } @@ -52919,15 +52664,15 @@ { "type": "CommentBlock", "value": "*\r\n * Reorders the frame in the animation. The index of the passed frame will be swapped with the frame at pIndex.\r\n * The \"first\" frame of the animation is technically this icon's dataURL. So if you are aiming to change the order of this icon and convert it into a frame.\r\n * pCurrentIndex must be set to -1 to match this icon.\r\n * @param {number} pCurrentIndex - The current index of the frame.\r\n * @param {number} pIndex - The index the frame will be moving to.\r\n * @returns {self} This icon instance.\r\n ", - "start": 11360, - "end": 11899, + "start": 11322, + "end": 11861, "loc": { "start": { - "line": 339, + "line": 338, "column": 4 }, "end": { - "line": 346, + "line": 345, "column": 7 } } @@ -52945,15 +52690,15 @@ "binop": null }, "value": "reorderFrame", - "start": 11905, - "end": 11917, + "start": 11867, + "end": 11879, "loc": { "start": { - "line": 347, + "line": 346, "column": 4 }, "end": { - "line": 347, + "line": 346, "column": 16 } } @@ -52970,15 +52715,15 @@ "postfix": false, "binop": null }, - "start": 11917, - "end": 11918, + "start": 11879, + "end": 11880, "loc": { "start": { - "line": 347, + "line": 346, "column": 16 }, "end": { - "line": 347, + "line": 346, "column": 17 } } @@ -52996,15 +52741,15 @@ "binop": null }, "value": "pCurrentIndex", - "start": 11918, - "end": 11931, + "start": 11880, + "end": 11893, "loc": { "start": { - "line": 347, + "line": 346, "column": 17 }, "end": { - "line": 347, + "line": 346, "column": 30 } } @@ -53022,15 +52767,15 @@ "binop": null, "updateContext": null }, - "start": 11931, - "end": 11932, + "start": 11893, + "end": 11894, "loc": { "start": { - "line": 347, + "line": 346, "column": 30 }, "end": { - "line": 347, + "line": 346, "column": 31 } } @@ -53048,15 +52793,15 @@ "binop": null }, "value": "pIndex", - "start": 11933, - "end": 11939, + "start": 11895, + "end": 11901, "loc": { "start": { - "line": 347, + "line": 346, "column": 32 }, "end": { - "line": 347, + "line": 346, "column": 38 } } @@ -53073,15 +52818,15 @@ "postfix": false, "binop": null }, - "start": 11939, - "end": 11940, + "start": 11901, + "end": 11902, "loc": { "start": { - "line": 347, + "line": 346, "column": 38 }, "end": { - "line": 347, + "line": 346, "column": 39 } } @@ -53098,15 +52843,15 @@ "postfix": false, "binop": null }, - "start": 11941, - "end": 11942, + "start": 11903, + "end": 11904, "loc": { "start": { - "line": 347, + "line": 346, "column": 40 }, "end": { - "line": 347, + "line": 346, "column": 41 } } @@ -53126,15 +52871,15 @@ "updateContext": null }, "value": "if", - "start": 11952, - "end": 11954, + "start": 11914, + "end": 11916, "loc": { "start": { - "line": 348, + "line": 347, "column": 8 }, "end": { - "line": 348, + "line": 347, "column": 10 } } @@ -53151,15 +52896,15 @@ "postfix": false, "binop": null }, - "start": 11955, - "end": 11956, + "start": 11917, + "end": 11918, "loc": { "start": { - "line": 348, + "line": 347, "column": 11 }, "end": { - "line": 348, + "line": 347, "column": 12 } } @@ -53179,15 +52924,15 @@ "updateContext": null }, "value": "typeof", - "start": 11956, - "end": 11962, + "start": 11918, + "end": 11924, "loc": { "start": { - "line": 348, + "line": 347, "column": 12 }, "end": { - "line": 348, + "line": 347, "column": 18 } } @@ -53204,15 +52949,15 @@ "postfix": false, "binop": null }, - "start": 11962, - "end": 11963, + "start": 11924, + "end": 11925, "loc": { "start": { - "line": 348, + "line": 347, "column": 18 }, "end": { - "line": 348, + "line": 347, "column": 19 } } @@ -53230,15 +52975,15 @@ "binop": null }, "value": "pCurrentIndex", - "start": 11963, - "end": 11976, + "start": 11925, + "end": 11938, "loc": { "start": { - "line": 348, + "line": 347, "column": 19 }, "end": { - "line": 348, + "line": 347, "column": 32 } } @@ -53255,15 +53000,15 @@ "postfix": false, "binop": null }, - "start": 11976, - "end": 11977, + "start": 11938, + "end": 11939, "loc": { "start": { - "line": 348, + "line": 347, "column": 32 }, "end": { - "line": 348, + "line": 347, "column": 33 } } @@ -53282,15 +53027,15 @@ "updateContext": null }, "value": "===", - "start": 11978, - "end": 11981, + "start": 11940, + "end": 11943, "loc": { "start": { - "line": 348, + "line": 347, "column": 34 }, "end": { - "line": 348, + "line": 347, "column": 37 } } @@ -53309,15 +53054,15 @@ "updateContext": null }, "value": "number", - "start": 11982, - "end": 11990, + "start": 11944, + "end": 11952, "loc": { "start": { - "line": 348, + "line": 347, "column": 38 }, "end": { - "line": 348, + "line": 347, "column": 46 } } @@ -53336,15 +53081,15 @@ "updateContext": null }, "value": "&&", - "start": 11991, - "end": 11993, + "start": 11953, + "end": 11955, "loc": { "start": { - "line": 348, + "line": 347, "column": 47 }, "end": { - "line": 348, + "line": 347, "column": 49 } } @@ -53364,15 +53109,15 @@ "updateContext": null }, "value": "typeof", - "start": 11994, - "end": 12000, + "start": 11956, + "end": 11962, "loc": { "start": { - "line": 348, + "line": 347, "column": 50 }, "end": { - "line": 348, + "line": 347, "column": 56 } } @@ -53389,15 +53134,15 @@ "postfix": false, "binop": null }, - "start": 12000, - "end": 12001, + "start": 11962, + "end": 11963, "loc": { "start": { - "line": 348, + "line": 347, "column": 56 }, "end": { - "line": 348, + "line": 347, "column": 57 } } @@ -53415,15 +53160,15 @@ "binop": null }, "value": "pIndex", - "start": 12001, - "end": 12007, + "start": 11963, + "end": 11969, "loc": { "start": { - "line": 348, + "line": 347, "column": 57 }, "end": { - "line": 348, + "line": 347, "column": 63 } } @@ -53440,15 +53185,15 @@ "postfix": false, "binop": null }, - "start": 12007, - "end": 12008, + "start": 11969, + "end": 11970, "loc": { "start": { - "line": 348, + "line": 347, "column": 63 }, "end": { - "line": 348, + "line": 347, "column": 64 } } @@ -53467,15 +53212,15 @@ "updateContext": null }, "value": "===", - "start": 12009, - "end": 12012, + "start": 11971, + "end": 11974, "loc": { "start": { - "line": 348, + "line": 347, "column": 65 }, "end": { - "line": 348, + "line": 347, "column": 68 } } @@ -53494,15 +53239,15 @@ "updateContext": null }, "value": "number", - "start": 12013, - "end": 12021, + "start": 11975, + "end": 11983, "loc": { "start": { - "line": 348, + "line": 347, "column": 69 }, "end": { - "line": 348, + "line": 347, "column": 77 } } @@ -53519,15 +53264,15 @@ "postfix": false, "binop": null }, - "start": 12021, - "end": 12022, + "start": 11983, + "end": 11984, "loc": { "start": { - "line": 348, + "line": 347, "column": 77 }, "end": { - "line": 348, + "line": 347, "column": 78 } } @@ -53544,15 +53289,15 @@ "postfix": false, "binop": null }, - "start": 12023, - "end": 12024, + "start": 11985, + "end": 11986, "loc": { "start": { - "line": 348, + "line": 347, "column": 79 }, "end": { - "line": 348, + "line": 347, "column": 80 } } @@ -53572,15 +53317,15 @@ "updateContext": null }, "value": "let", - "start": 12038, - "end": 12041, + "start": 12000, + "end": 12003, "loc": { "start": { - "line": 349, + "line": 348, "column": 12 }, "end": { - "line": 349, + "line": 348, "column": 15 } } @@ -53598,15 +53343,15 @@ "binop": null }, "value": "frameAtIndex", - "start": 12042, - "end": 12054, + "start": 12004, + "end": 12016, "loc": { "start": { - "line": 349, + "line": 348, "column": 16 }, "end": { - "line": 349, + "line": 348, "column": 28 } } @@ -53624,15 +53369,15 @@ "binop": null, "updateContext": null }, - "start": 12054, - "end": 12055, + "start": 12016, + "end": 12017, "loc": { "start": { - "line": 349, + "line": 348, "column": 28 }, "end": { - "line": 349, + "line": 348, "column": 29 } } @@ -53652,15 +53397,15 @@ "updateContext": null }, "value": "let", - "start": 12069, - "end": 12072, + "start": 12031, + "end": 12034, "loc": { "start": { - "line": 350, + "line": 349, "column": 12 }, "end": { - "line": 350, + "line": 349, "column": 15 } } @@ -53678,15 +53423,15 @@ "binop": null }, "value": "currentFrame", - "start": 12073, - "end": 12085, + "start": 12035, + "end": 12047, "loc": { "start": { - "line": 350, + "line": 349, "column": 16 }, "end": { - "line": 350, + "line": 349, "column": 28 } } @@ -53704,15 +53449,15 @@ "binop": null, "updateContext": null }, - "start": 12085, - "end": 12086, + "start": 12047, + "end": 12048, "loc": { "start": { - "line": 350, + "line": 349, "column": 28 }, "end": { - "line": 350, + "line": 349, "column": 29 } } @@ -53720,15 +53465,15 @@ { "type": "CommentLine", "value": " We check if the current index is -1, if it is then it means we want to treat this icon as a frame. As the icon data and delay of this icon serves", - "start": 12100, - "end": 12248, + "start": 12062, + "end": 12210, "loc": { "start": { - "line": 351, + "line": 350, "column": 12 }, "end": { - "line": 351, + "line": 350, "column": 160 } } @@ -53736,15 +53481,15 @@ { "type": "CommentLine", "value": " as the frame 0.", - "start": 12262, - "end": 12280, + "start": 12224, + "end": 12242, "loc": { "start": { - "line": 352, + "line": 351, "column": 12 }, "end": { - "line": 352, + "line": 351, "column": 30 } } @@ -53764,15 +53509,15 @@ "updateContext": null }, "value": "if", - "start": 12294, - "end": 12296, + "start": 12256, + "end": 12258, "loc": { "start": { - "line": 353, + "line": 352, "column": 12 }, "end": { - "line": 353, + "line": 352, "column": 14 } } @@ -53789,15 +53534,15 @@ "postfix": false, "binop": null }, - "start": 12297, - "end": 12298, + "start": 12259, + "end": 12260, "loc": { "start": { - "line": 353, + "line": 352, "column": 15 }, "end": { - "line": 353, + "line": 352, "column": 16 } } @@ -53815,15 +53560,15 @@ "binop": null }, "value": "pCurrentIndex", - "start": 12298, - "end": 12311, + "start": 12260, + "end": 12273, "loc": { "start": { - "line": 353, + "line": 352, "column": 16 }, "end": { - "line": 353, + "line": 352, "column": 29 } } @@ -53842,15 +53587,15 @@ "updateContext": null }, "value": "===", - "start": 12312, - "end": 12315, + "start": 12274, + "end": 12277, "loc": { "start": { - "line": 353, + "line": 352, "column": 30 }, "end": { - "line": 353, + "line": 352, "column": 33 } } @@ -53869,15 +53614,15 @@ "updateContext": null }, "value": "-", - "start": 12316, - "end": 12317, + "start": 12278, + "end": 12279, "loc": { "start": { - "line": 353, + "line": 352, "column": 34 }, "end": { - "line": 353, + "line": 352, "column": 35 } } @@ -53896,15 +53641,15 @@ "updateContext": null }, "value": 1, - "start": 12317, - "end": 12318, + "start": 12279, + "end": 12280, "loc": { "start": { - "line": 353, + "line": 352, "column": 35 }, "end": { - "line": 353, + "line": 352, "column": 36 } } @@ -53921,15 +53666,15 @@ "postfix": false, "binop": null }, - "start": 12318, - "end": 12319, + "start": 12280, + "end": 12281, "loc": { "start": { - "line": 353, + "line": 352, "column": 36 }, "end": { - "line": 353, + "line": 352, "column": 37 } } @@ -53946,15 +53691,15 @@ "postfix": false, "binop": null }, - "start": 12320, - "end": 12321, + "start": 12282, + "end": 12283, "loc": { "start": { - "line": 353, + "line": 352, "column": 38 }, "end": { - "line": 353, + "line": 352, "column": 39 } } @@ -53972,15 +53717,15 @@ "binop": null }, "value": "currentFrame", - "start": 12339, - "end": 12351, + "start": 12301, + "end": 12313, "loc": { "start": { - "line": 354, + "line": 353, "column": 16 }, "end": { - "line": 354, + "line": 353, "column": 28 } } @@ -53999,15 +53744,15 @@ "updateContext": null }, "value": "=", - "start": 12352, - "end": 12353, + "start": 12314, + "end": 12315, "loc": { "start": { - "line": 354, + "line": 353, "column": 29 }, "end": { - "line": 354, + "line": 353, "column": 30 } } @@ -54027,15 +53772,15 @@ "updateContext": null }, "value": "this", - "start": 12354, - "end": 12358, + "start": 12316, + "end": 12320, "loc": { "start": { - "line": 354, + "line": 353, "column": 31 }, "end": { - "line": 354, + "line": 353, "column": 35 } } @@ -54053,15 +53798,15 @@ "binop": null, "updateContext": null }, - "start": 12358, - "end": 12359, + "start": 12320, + "end": 12321, "loc": { "start": { - "line": 354, + "line": 353, "column": 35 }, "end": { - "line": 354, + "line": 353, "column": 36 } } @@ -54069,15 +53814,15 @@ { "type": "CommentLine", "value": " Otherwise if the index passed can be found in the frames array, then we use that frame.", - "start": 12373, - "end": 12463, + "start": 12335, + "end": 12425, "loc": { "start": { - "line": 355, + "line": 354, "column": 12 }, "end": { - "line": 355, + "line": 354, "column": 102 } } @@ -54094,15 +53839,15 @@ "postfix": false, "binop": null }, - "start": 12477, - "end": 12478, + "start": 12439, + "end": 12440, "loc": { "start": { - "line": 356, + "line": 355, "column": 12 }, "end": { - "line": 356, + "line": 355, "column": 13 } } @@ -54122,15 +53867,15 @@ "updateContext": null }, "value": "else", - "start": 12479, - "end": 12483, + "start": 12441, + "end": 12445, "loc": { "start": { - "line": 356, + "line": 355, "column": 14 }, "end": { - "line": 356, + "line": 355, "column": 18 } } @@ -54150,15 +53895,15 @@ "updateContext": null }, "value": "if", - "start": 12484, - "end": 12486, + "start": 12446, + "end": 12448, "loc": { "start": { - "line": 356, + "line": 355, "column": 19 }, "end": { - "line": 356, + "line": 355, "column": 21 } } @@ -54175,15 +53920,15 @@ "postfix": false, "binop": null }, - "start": 12487, - "end": 12488, + "start": 12449, + "end": 12450, "loc": { "start": { - "line": 356, + "line": 355, "column": 22 }, "end": { - "line": 356, + "line": 355, "column": 23 } } @@ -54203,15 +53948,15 @@ "updateContext": null }, "value": "this", - "start": 12488, - "end": 12492, + "start": 12450, + "end": 12454, "loc": { "start": { - "line": 356, + "line": 355, "column": 23 }, "end": { - "line": 356, + "line": 355, "column": 27 } } @@ -54229,15 +53974,15 @@ "binop": null, "updateContext": null }, - "start": 12492, - "end": 12493, + "start": 12454, + "end": 12455, "loc": { "start": { - "line": 356, + "line": 355, "column": 27 }, "end": { - "line": 356, + "line": 355, "column": 28 } } @@ -54255,15 +54000,15 @@ "binop": null }, "value": "frames", - "start": 12493, - "end": 12499, + "start": 12455, + "end": 12461, "loc": { "start": { - "line": 356, + "line": 355, "column": 28 }, "end": { - "line": 356, + "line": 355, "column": 34 } } @@ -54281,15 +54026,15 @@ "binop": null, "updateContext": null }, - "start": 12499, - "end": 12500, + "start": 12461, + "end": 12462, "loc": { "start": { - "line": 356, + "line": 355, "column": 34 }, "end": { - "line": 356, + "line": 355, "column": 35 } } @@ -54307,15 +54052,15 @@ "binop": null }, "value": "pCurrentIndex", - "start": 12500, - "end": 12513, + "start": 12462, + "end": 12475, "loc": { "start": { - "line": 356, + "line": 355, "column": 35 }, "end": { - "line": 356, + "line": 355, "column": 48 } } @@ -54333,15 +54078,15 @@ "binop": null, "updateContext": null }, - "start": 12513, - "end": 12514, + "start": 12475, + "end": 12476, "loc": { "start": { - "line": 356, + "line": 355, "column": 48 }, "end": { - "line": 356, + "line": 355, "column": 49 } } @@ -54358,15 +54103,15 @@ "postfix": false, "binop": null }, - "start": 12514, - "end": 12515, + "start": 12476, + "end": 12477, "loc": { "start": { - "line": 356, + "line": 355, "column": 49 }, "end": { - "line": 356, + "line": 355, "column": 50 } } @@ -54383,15 +54128,15 @@ "postfix": false, "binop": null }, - "start": 12516, - "end": 12517, + "start": 12478, + "end": 12479, "loc": { "start": { - "line": 356, + "line": 355, "column": 51 }, "end": { - "line": 356, + "line": 355, "column": 52 } } @@ -54409,15 +54154,15 @@ "binop": null }, "value": "currentFrame", - "start": 12535, - "end": 12547, + "start": 12497, + "end": 12509, "loc": { "start": { - "line": 357, + "line": 356, "column": 16 }, "end": { - "line": 357, + "line": 356, "column": 28 } } @@ -54436,15 +54181,15 @@ "updateContext": null }, "value": "=", - "start": 12548, - "end": 12549, + "start": 12510, + "end": 12511, "loc": { "start": { - "line": 357, + "line": 356, "column": 29 }, "end": { - "line": 357, + "line": 356, "column": 30 } } @@ -54464,15 +54209,15 @@ "updateContext": null }, "value": "this", - "start": 12550, - "end": 12554, + "start": 12512, + "end": 12516, "loc": { "start": { - "line": 357, + "line": 356, "column": 31 }, "end": { - "line": 357, + "line": 356, "column": 35 } } @@ -54490,15 +54235,15 @@ "binop": null, "updateContext": null }, - "start": 12554, - "end": 12555, + "start": 12516, + "end": 12517, "loc": { "start": { - "line": 357, + "line": 356, "column": 35 }, "end": { - "line": 357, + "line": 356, "column": 36 } } @@ -54516,15 +54261,15 @@ "binop": null }, "value": "frames", - "start": 12555, - "end": 12561, + "start": 12517, + "end": 12523, "loc": { "start": { - "line": 357, + "line": 356, "column": 36 }, "end": { - "line": 357, + "line": 356, "column": 42 } } @@ -54542,15 +54287,15 @@ "binop": null, "updateContext": null }, - "start": 12561, - "end": 12562, + "start": 12523, + "end": 12524, "loc": { "start": { - "line": 357, + "line": 356, "column": 42 }, "end": { - "line": 357, + "line": 356, "column": 43 } } @@ -54568,15 +54313,15 @@ "binop": null }, "value": "pCurrentIndex", - "start": 12562, - "end": 12575, + "start": 12524, + "end": 12537, "loc": { "start": { - "line": 357, + "line": 356, "column": 43 }, "end": { - "line": 357, + "line": 356, "column": 56 } } @@ -54594,15 +54339,15 @@ "binop": null, "updateContext": null }, - "start": 12575, - "end": 12576, + "start": 12537, + "end": 12538, "loc": { "start": { - "line": 357, + "line": 356, "column": 56 }, "end": { - "line": 357, + "line": 356, "column": 57 } } @@ -54620,15 +54365,15 @@ "binop": null, "updateContext": null }, - "start": 12576, - "end": 12577, + "start": 12538, + "end": 12539, "loc": { "start": { - "line": 357, + "line": 356, "column": 57 }, "end": { - "line": 357, + "line": 356, "column": 58 } } @@ -54645,15 +54390,15 @@ "postfix": false, "binop": null }, - "start": 12591, - "end": 12592, + "start": 12553, + "end": 12554, "loc": { "start": { - "line": 358, + "line": 357, "column": 12 }, "end": { - "line": 358, + "line": 357, "column": 13 } } @@ -54661,15 +54406,15 @@ { "type": "CommentLine", "value": " We get the frame at the specified index.", - "start": 12608, - "end": 12651, + "start": 12570, + "end": 12613, "loc": { "start": { - "line": 360, + "line": 359, "column": 12 }, "end": { - "line": 360, + "line": 359, "column": 55 } } @@ -54689,15 +54434,15 @@ "updateContext": null }, "value": "if", - "start": 12665, - "end": 12667, + "start": 12627, + "end": 12629, "loc": { "start": { - "line": 361, + "line": 360, "column": 12 }, "end": { - "line": 361, + "line": 360, "column": 14 } } @@ -54714,15 +54459,15 @@ "postfix": false, "binop": null }, - "start": 12668, - "end": 12669, + "start": 12630, + "end": 12631, "loc": { "start": { - "line": 361, + "line": 360, "column": 15 }, "end": { - "line": 361, + "line": 360, "column": 16 } } @@ -54742,15 +54487,15 @@ "updateContext": null }, "value": "this", - "start": 12669, - "end": 12673, + "start": 12631, + "end": 12635, "loc": { "start": { - "line": 361, + "line": 360, "column": 16 }, "end": { - "line": 361, + "line": 360, "column": 20 } } @@ -54768,15 +54513,15 @@ "binop": null, "updateContext": null }, - "start": 12673, - "end": 12674, + "start": 12635, + "end": 12636, "loc": { "start": { - "line": 361, + "line": 360, "column": 20 }, "end": { - "line": 361, + "line": 360, "column": 21 } } @@ -54794,15 +54539,15 @@ "binop": null }, "value": "frames", - "start": 12674, - "end": 12680, + "start": 12636, + "end": 12642, "loc": { "start": { - "line": 361, + "line": 360, "column": 21 }, "end": { - "line": 361, + "line": 360, "column": 27 } } @@ -54820,15 +54565,15 @@ "binop": null, "updateContext": null }, - "start": 12680, - "end": 12681, + "start": 12642, + "end": 12643, "loc": { "start": { - "line": 361, + "line": 360, "column": 27 }, "end": { - "line": 361, + "line": 360, "column": 28 } } @@ -54846,15 +54591,15 @@ "binop": null }, "value": "pIndex", - "start": 12681, - "end": 12687, + "start": 12643, + "end": 12649, "loc": { "start": { - "line": 361, + "line": 360, "column": 28 }, "end": { - "line": 361, + "line": 360, "column": 34 } } @@ -54872,15 +54617,15 @@ "binop": null, "updateContext": null }, - "start": 12687, - "end": 12688, + "start": 12649, + "end": 12650, "loc": { "start": { - "line": 361, + "line": 360, "column": 34 }, "end": { - "line": 361, + "line": 360, "column": 35 } } @@ -54897,15 +54642,15 @@ "postfix": false, "binop": null }, - "start": 12688, - "end": 12689, + "start": 12650, + "end": 12651, "loc": { "start": { - "line": 361, + "line": 360, "column": 35 }, "end": { - "line": 361, + "line": 360, "column": 36 } } @@ -54922,15 +54667,15 @@ "postfix": false, "binop": null }, - "start": 12690, - "end": 12691, + "start": 12652, + "end": 12653, "loc": { "start": { - "line": 361, + "line": 360, "column": 37 }, "end": { - "line": 361, + "line": 360, "column": 38 } } @@ -54948,15 +54693,15 @@ "binop": null }, "value": "frameAtIndex", - "start": 12709, - "end": 12721, + "start": 12671, + "end": 12683, "loc": { "start": { - "line": 362, + "line": 361, "column": 16 }, "end": { - "line": 362, + "line": 361, "column": 28 } } @@ -54975,15 +54720,15 @@ "updateContext": null }, "value": "=", - "start": 12722, - "end": 12723, + "start": 12684, + "end": 12685, "loc": { "start": { - "line": 362, + "line": 361, "column": 29 }, "end": { - "line": 362, + "line": 361, "column": 30 } } @@ -55003,15 +54748,15 @@ "updateContext": null }, "value": "this", - "start": 12724, - "end": 12728, + "start": 12686, + "end": 12690, "loc": { "start": { - "line": 362, + "line": 361, "column": 31 }, "end": { - "line": 362, + "line": 361, "column": 35 } } @@ -55029,15 +54774,15 @@ "binop": null, "updateContext": null }, - "start": 12728, - "end": 12729, + "start": 12690, + "end": 12691, "loc": { "start": { - "line": 362, + "line": 361, "column": 35 }, "end": { - "line": 362, + "line": 361, "column": 36 } } @@ -55055,15 +54800,15 @@ "binop": null }, "value": "frames", - "start": 12729, - "end": 12735, + "start": 12691, + "end": 12697, "loc": { "start": { - "line": 362, + "line": 361, "column": 36 }, "end": { - "line": 362, + "line": 361, "column": 42 } } @@ -55081,15 +54826,15 @@ "binop": null, "updateContext": null }, - "start": 12735, - "end": 12736, + "start": 12697, + "end": 12698, "loc": { "start": { - "line": 362, + "line": 361, "column": 42 }, "end": { - "line": 362, + "line": 361, "column": 43 } } @@ -55107,15 +54852,15 @@ "binop": null }, "value": "pIndex", - "start": 12736, - "end": 12742, + "start": 12698, + "end": 12704, "loc": { "start": { - "line": 362, + "line": 361, "column": 43 }, "end": { - "line": 362, + "line": 361, "column": 49 } } @@ -55133,15 +54878,15 @@ "binop": null, "updateContext": null }, - "start": 12742, - "end": 12743, + "start": 12704, + "end": 12705, "loc": { "start": { - "line": 362, + "line": 361, "column": 49 }, "end": { - "line": 362, + "line": 361, "column": 50 } } @@ -55159,15 +54904,15 @@ "binop": null, "updateContext": null }, - "start": 12743, - "end": 12744, + "start": 12705, + "end": 12706, "loc": { "start": { - "line": 362, + "line": 361, "column": 50 }, "end": { - "line": 362, + "line": 361, "column": 51 } } @@ -55184,15 +54929,15 @@ "postfix": false, "binop": null }, - "start": 12758, - "end": 12759, + "start": 12720, + "end": 12721, "loc": { "start": { - "line": 363, + "line": 362, "column": 12 }, "end": { - "line": 363, + "line": 362, "column": 13 } } @@ -55200,15 +54945,15 @@ { "type": "CommentLine", "value": " If both frames can be found, we can swap their data.", - "start": 12775, - "end": 12830, + "start": 12737, + "end": 12792, "loc": { "start": { - "line": 365, + "line": 364, "column": 12 }, "end": { - "line": 365, + "line": 364, "column": 67 } } @@ -55228,15 +54973,15 @@ "updateContext": null }, "value": "if", - "start": 12844, - "end": 12846, + "start": 12806, + "end": 12808, "loc": { "start": { - "line": 366, + "line": 365, "column": 12 }, "end": { - "line": 366, + "line": 365, "column": 14 } } @@ -55253,15 +54998,15 @@ "postfix": false, "binop": null }, - "start": 12847, - "end": 12848, + "start": 12809, + "end": 12810, "loc": { "start": { - "line": 366, + "line": 365, "column": 15 }, "end": { - "line": 366, + "line": 365, "column": 16 } } @@ -55279,15 +55024,15 @@ "binop": null }, "value": "currentFrame", - "start": 12848, - "end": 12860, + "start": 12810, + "end": 12822, "loc": { "start": { - "line": 366, + "line": 365, "column": 16 }, "end": { - "line": 366, + "line": 365, "column": 28 } } @@ -55306,15 +55051,15 @@ "updateContext": null }, "value": "&&", - "start": 12861, - "end": 12863, + "start": 12823, + "end": 12825, "loc": { "start": { - "line": 366, + "line": 365, "column": 29 }, "end": { - "line": 366, + "line": 365, "column": 31 } } @@ -55332,15 +55077,15 @@ "binop": null }, "value": "frameAtIndex", - "start": 12864, - "end": 12876, + "start": 12826, + "end": 12838, "loc": { "start": { - "line": 366, + "line": 365, "column": 32 }, "end": { - "line": 366, + "line": 365, "column": 44 } } @@ -55357,15 +55102,15 @@ "postfix": false, "binop": null }, - "start": 12876, - "end": 12877, + "start": 12838, + "end": 12839, "loc": { "start": { - "line": 366, + "line": 365, "column": 44 }, "end": { - "line": 366, + "line": 365, "column": 45 } } @@ -55382,15 +55127,15 @@ "postfix": false, "binop": null }, - "start": 12878, - "end": 12879, + "start": 12840, + "end": 12841, "loc": { "start": { - "line": 366, + "line": 365, "column": 46 }, "end": { - "line": 366, + "line": 365, "column": 47 } } @@ -55398,15 +55143,15 @@ { "type": "CommentLine", "value": " Store frame data", - "start": 12897, - "end": 12916, + "start": 12859, + "end": 12878, "loc": { "start": { - "line": 367, + "line": 366, "column": 16 }, "end": { - "line": 367, + "line": 366, "column": 35 } } @@ -55426,15 +55171,15 @@ "updateContext": null }, "value": "const", - "start": 12934, - "end": 12939, + "start": 12896, + "end": 12901, "loc": { "start": { - "line": 368, + "line": 367, "column": 16 }, "end": { - "line": 368, + "line": 367, "column": 21 } } @@ -55452,15 +55197,15 @@ "binop": null }, "value": "currentFrameDataURL", - "start": 12940, - "end": 12959, + "start": 12902, + "end": 12921, "loc": { "start": { - "line": 368, + "line": 367, "column": 22 }, "end": { - "line": 368, + "line": 367, "column": 41 } } @@ -55479,15 +55224,15 @@ "updateContext": null }, "value": "=", - "start": 12960, - "end": 12961, + "start": 12922, + "end": 12923, "loc": { "start": { - "line": 368, + "line": 367, "column": 42 }, "end": { - "line": 368, + "line": 367, "column": 43 } } @@ -55505,15 +55250,15 @@ "binop": null }, "value": "currentFrame", - "start": 12962, - "end": 12974, + "start": 12924, + "end": 12936, "loc": { "start": { - "line": 368, + "line": 367, "column": 44 }, "end": { - "line": 368, + "line": 367, "column": 56 } } @@ -55531,15 +55276,15 @@ "binop": null, "updateContext": null }, - "start": 12974, - "end": 12975, + "start": 12936, + "end": 12937, "loc": { "start": { - "line": 368, + "line": 367, "column": 56 }, "end": { - "line": 368, + "line": 367, "column": 57 } } @@ -55557,15 +55302,15 @@ "binop": null }, "value": "getDataURL", - "start": 12975, - "end": 12985, + "start": 12937, + "end": 12947, "loc": { "start": { - "line": 368, + "line": 367, "column": 57 }, "end": { - "line": 368, + "line": 367, "column": 67 } } @@ -55582,15 +55327,15 @@ "postfix": false, "binop": null }, - "start": 12985, - "end": 12986, + "start": 12947, + "end": 12948, "loc": { "start": { - "line": 368, + "line": 367, "column": 67 }, "end": { - "line": 368, + "line": 367, "column": 68 } } @@ -55607,15 +55352,15 @@ "postfix": false, "binop": null }, - "start": 12986, - "end": 12987, + "start": 12948, + "end": 12949, "loc": { "start": { - "line": 368, + "line": 367, "column": 68 }, "end": { - "line": 368, + "line": 367, "column": 69 } } @@ -55633,15 +55378,15 @@ "binop": null, "updateContext": null }, - "start": 12987, - "end": 12988, + "start": 12949, + "end": 12950, "loc": { "start": { - "line": 368, + "line": 367, "column": 69 }, "end": { - "line": 368, + "line": 367, "column": 70 } } @@ -55661,15 +55406,15 @@ "updateContext": null }, "value": "const", - "start": 13006, - "end": 13011, + "start": 12968, + "end": 12973, "loc": { "start": { - "line": 369, + "line": 368, "column": 16 }, "end": { - "line": 369, + "line": 368, "column": 21 } } @@ -55687,15 +55432,15 @@ "binop": null }, "value": "currentFrameDelay", - "start": 13012, - "end": 13029, + "start": 12974, + "end": 12991, "loc": { "start": { - "line": 369, + "line": 368, "column": 22 }, "end": { - "line": 369, + "line": 368, "column": 39 } } @@ -55714,15 +55459,15 @@ "updateContext": null }, "value": "=", - "start": 13030, - "end": 13031, + "start": 12992, + "end": 12993, "loc": { "start": { - "line": 369, + "line": 368, "column": 40 }, "end": { - "line": 369, + "line": 368, "column": 41 } } @@ -55740,15 +55485,15 @@ "binop": null }, "value": "currentFrame", - "start": 13032, - "end": 13044, + "start": 12994, + "end": 13006, "loc": { "start": { - "line": 369, + "line": 368, "column": 42 }, "end": { - "line": 369, + "line": 368, "column": 54 } } @@ -55766,15 +55511,15 @@ "binop": null, "updateContext": null }, - "start": 13044, - "end": 13045, + "start": 13006, + "end": 13007, "loc": { "start": { - "line": 369, + "line": 368, "column": 54 }, "end": { - "line": 369, + "line": 368, "column": 55 } } @@ -55792,15 +55537,15 @@ "binop": null }, "value": "getDelay", - "start": 13045, - "end": 13053, + "start": 13007, + "end": 13015, "loc": { "start": { - "line": 369, + "line": 368, "column": 55 }, "end": { - "line": 369, + "line": 368, "column": 63 } } @@ -55817,15 +55562,15 @@ "postfix": false, "binop": null }, - "start": 13053, - "end": 13054, + "start": 13015, + "end": 13016, "loc": { "start": { - "line": 369, + "line": 368, "column": 63 }, "end": { - "line": 369, + "line": 368, "column": 64 } } @@ -55842,15 +55587,15 @@ "postfix": false, "binop": null }, - "start": 13054, - "end": 13055, + "start": 13016, + "end": 13017, "loc": { "start": { - "line": 369, + "line": 368, "column": 64 }, "end": { - "line": 369, + "line": 368, "column": 65 } } @@ -55868,15 +55613,15 @@ "binop": null, "updateContext": null }, - "start": 13055, - "end": 13056, + "start": 13017, + "end": 13018, "loc": { "start": { - "line": 369, + "line": 368, "column": 65 }, "end": { - "line": 369, + "line": 368, "column": 66 } } @@ -55896,15 +55641,15 @@ "updateContext": null }, "value": "const", - "start": 13076, - "end": 13081, + "start": 13038, + "end": 13043, "loc": { "start": { - "line": 371, + "line": 370, "column": 16 }, "end": { - "line": 371, + "line": 370, "column": 21 } } @@ -55922,15 +55667,15 @@ "binop": null }, "value": "frameAtIndexDataURL", - "start": 13082, - "end": 13101, + "start": 13044, + "end": 13063, "loc": { "start": { - "line": 371, + "line": 370, "column": 22 }, "end": { - "line": 371, + "line": 370, "column": 41 } } @@ -55949,15 +55694,15 @@ "updateContext": null }, "value": "=", - "start": 13102, - "end": 13103, + "start": 13064, + "end": 13065, "loc": { "start": { - "line": 371, + "line": 370, "column": 42 }, "end": { - "line": 371, + "line": 370, "column": 43 } } @@ -55975,15 +55720,15 @@ "binop": null }, "value": "frameAtIndex", - "start": 13104, - "end": 13116, + "start": 13066, + "end": 13078, "loc": { "start": { - "line": 371, + "line": 370, "column": 44 }, "end": { - "line": 371, + "line": 370, "column": 56 } } @@ -56001,15 +55746,15 @@ "binop": null, "updateContext": null }, - "start": 13116, - "end": 13117, + "start": 13078, + "end": 13079, "loc": { "start": { - "line": 371, + "line": 370, "column": 56 }, "end": { - "line": 371, + "line": 370, "column": 57 } } @@ -56027,15 +55772,15 @@ "binop": null }, "value": "getDataURL", - "start": 13117, - "end": 13127, + "start": 13079, + "end": 13089, "loc": { "start": { - "line": 371, + "line": 370, "column": 57 }, "end": { - "line": 371, + "line": 370, "column": 67 } } @@ -56052,15 +55797,15 @@ "postfix": false, "binop": null }, - "start": 13127, - "end": 13128, + "start": 13089, + "end": 13090, "loc": { "start": { - "line": 371, + "line": 370, "column": 67 }, "end": { - "line": 371, + "line": 370, "column": 68 } } @@ -56077,15 +55822,15 @@ "postfix": false, "binop": null }, - "start": 13128, - "end": 13129, + "start": 13090, + "end": 13091, "loc": { "start": { - "line": 371, + "line": 370, "column": 68 }, "end": { - "line": 371, + "line": 370, "column": 69 } } @@ -56103,15 +55848,15 @@ "binop": null, "updateContext": null }, - "start": 13129, - "end": 13130, + "start": 13091, + "end": 13092, "loc": { "start": { - "line": 371, + "line": 370, "column": 69 }, "end": { - "line": 371, + "line": 370, "column": 70 } } @@ -56131,15 +55876,15 @@ "updateContext": null }, "value": "const", - "start": 13148, - "end": 13153, + "start": 13110, + "end": 13115, "loc": { "start": { - "line": 372, + "line": 371, "column": 16 }, "end": { - "line": 372, + "line": 371, "column": 21 } } @@ -56157,15 +55902,15 @@ "binop": null }, "value": "frameAtIndexDelay", - "start": 13154, - "end": 13171, + "start": 13116, + "end": 13133, "loc": { "start": { - "line": 372, + "line": 371, "column": 22 }, "end": { - "line": 372, + "line": 371, "column": 39 } } @@ -56184,15 +55929,15 @@ "updateContext": null }, "value": "=", - "start": 13172, - "end": 13173, + "start": 13134, + "end": 13135, "loc": { "start": { - "line": 372, + "line": 371, "column": 40 }, "end": { - "line": 372, + "line": 371, "column": 41 } } @@ -56210,15 +55955,15 @@ "binop": null }, "value": "frameAtIndex", - "start": 13174, - "end": 13186, + "start": 13136, + "end": 13148, "loc": { "start": { - "line": 372, + "line": 371, "column": 42 }, "end": { - "line": 372, + "line": 371, "column": 54 } } @@ -56236,15 +55981,15 @@ "binop": null, "updateContext": null }, - "start": 13186, - "end": 13187, + "start": 13148, + "end": 13149, "loc": { "start": { - "line": 372, + "line": 371, "column": 54 }, "end": { - "line": 372, + "line": 371, "column": 55 } } @@ -56262,15 +56007,15 @@ "binop": null }, "value": "getDelay", - "start": 13187, - "end": 13195, + "start": 13149, + "end": 13157, "loc": { "start": { - "line": 372, + "line": 371, "column": 55 }, "end": { - "line": 372, + "line": 371, "column": 63 } } @@ -56287,15 +56032,15 @@ "postfix": false, "binop": null }, - "start": 13195, - "end": 13196, + "start": 13157, + "end": 13158, "loc": { "start": { - "line": 372, + "line": 371, "column": 63 }, "end": { - "line": 372, + "line": 371, "column": 64 } } @@ -56312,15 +56057,15 @@ "postfix": false, "binop": null }, - "start": 13196, - "end": 13197, + "start": 13158, + "end": 13159, "loc": { "start": { - "line": 372, + "line": 371, "column": 64 }, "end": { - "line": 372, + "line": 371, "column": 65 } } @@ -56338,15 +56083,15 @@ "binop": null, "updateContext": null }, - "start": 13197, - "end": 13198, + "start": 13159, + "end": 13160, "loc": { "start": { - "line": 372, + "line": 371, "column": 65 }, "end": { - "line": 372, + "line": 371, "column": 66 } } @@ -56354,15 +56099,15 @@ { "type": "CommentLine", "value": " Swap data from frame", - "start": 13218, - "end": 13241, + "start": 13180, + "end": 13203, "loc": { "start": { - "line": 374, + "line": 373, "column": 16 }, "end": { - "line": 374, + "line": 373, "column": 39 } } @@ -56380,15 +56125,15 @@ "binop": null }, "value": "currentFrame", - "start": 13259, - "end": 13271, + "start": 13221, + "end": 13233, "loc": { "start": { - "line": 375, + "line": 374, "column": 16 }, "end": { - "line": 375, + "line": 374, "column": 28 } } @@ -56406,15 +56151,15 @@ "binop": null, "updateContext": null }, - "start": 13271, - "end": 13272, + "start": 13233, + "end": 13234, "loc": { "start": { - "line": 375, + "line": 374, "column": 28 }, "end": { - "line": 375, + "line": 374, "column": 29 } } @@ -56432,15 +56177,15 @@ "binop": null }, "value": "setDataURL", - "start": 13272, - "end": 13282, + "start": 13234, + "end": 13244, "loc": { "start": { - "line": 375, + "line": 374, "column": 29 }, "end": { - "line": 375, + "line": 374, "column": 39 } } @@ -56457,15 +56202,15 @@ "postfix": false, "binop": null }, - "start": 13282, - "end": 13283, + "start": 13244, + "end": 13245, "loc": { "start": { - "line": 375, + "line": 374, "column": 39 }, "end": { - "line": 375, + "line": 374, "column": 40 } } @@ -56483,15 +56228,15 @@ "binop": null }, "value": "frameAtIndexDataURL", - "start": 13283, - "end": 13302, + "start": 13245, + "end": 13264, "loc": { "start": { - "line": 375, + "line": 374, "column": 40 }, "end": { - "line": 375, + "line": 374, "column": 59 } } @@ -56508,15 +56253,15 @@ "postfix": false, "binop": null }, - "start": 13302, - "end": 13303, + "start": 13264, + "end": 13265, "loc": { "start": { - "line": 375, + "line": 374, "column": 59 }, "end": { - "line": 375, + "line": 374, "column": 60 } } @@ -56534,15 +56279,15 @@ "binop": null, "updateContext": null }, - "start": 13303, - "end": 13304, + "start": 13265, + "end": 13266, "loc": { "start": { - "line": 375, + "line": 374, "column": 60 }, "end": { - "line": 375, + "line": 374, "column": 61 } } @@ -56560,15 +56305,15 @@ "binop": null }, "value": "currentFrame", - "start": 13322, - "end": 13334, + "start": 13284, + "end": 13296, "loc": { "start": { - "line": 376, + "line": 375, "column": 16 }, "end": { - "line": 376, + "line": 375, "column": 28 } } @@ -56586,15 +56331,15 @@ "binop": null, "updateContext": null }, - "start": 13334, - "end": 13335, + "start": 13296, + "end": 13297, "loc": { "start": { - "line": 376, + "line": 375, "column": 28 }, "end": { - "line": 376, + "line": 375, "column": 29 } } @@ -56612,15 +56357,15 @@ "binop": null }, "value": "setDelay", - "start": 13335, - "end": 13343, + "start": 13297, + "end": 13305, "loc": { "start": { - "line": 376, + "line": 375, "column": 29 }, "end": { - "line": 376, + "line": 375, "column": 37 } } @@ -56637,15 +56382,15 @@ "postfix": false, "binop": null }, - "start": 13343, - "end": 13344, + "start": 13305, + "end": 13306, "loc": { "start": { - "line": 376, + "line": 375, "column": 37 }, "end": { - "line": 376, + "line": 375, "column": 38 } } @@ -56663,15 +56408,15 @@ "binop": null }, "value": "frameAtIndexDelay", - "start": 13344, - "end": 13361, + "start": 13306, + "end": 13323, "loc": { "start": { - "line": 376, + "line": 375, "column": 38 }, "end": { - "line": 376, + "line": 375, "column": 55 } } @@ -56688,15 +56433,15 @@ "postfix": false, "binop": null }, - "start": 13361, - "end": 13362, + "start": 13323, + "end": 13324, "loc": { "start": { - "line": 376, + "line": 375, "column": 55 }, "end": { - "line": 376, + "line": 375, "column": 56 } } @@ -56714,15 +56459,15 @@ "binop": null, "updateContext": null }, - "start": 13362, - "end": 13363, + "start": 13324, + "end": 13325, "loc": { "start": { - "line": 376, + "line": 375, "column": 56 }, "end": { - "line": 376, + "line": 375, "column": 57 } } @@ -56730,15 +56475,15 @@ { "type": "CommentLine", "value": " Swap data to frame", - "start": 13381, - "end": 13402, + "start": 13343, + "end": 13364, "loc": { "start": { - "line": 377, + "line": 376, "column": 16 }, "end": { - "line": 377, + "line": 376, "column": 37 } } @@ -56756,15 +56501,15 @@ "binop": null }, "value": "frameAtIndex", - "start": 13420, - "end": 13432, + "start": 13382, + "end": 13394, "loc": { "start": { - "line": 378, + "line": 377, "column": 16 }, "end": { - "line": 378, + "line": 377, "column": 28 } } @@ -56782,15 +56527,15 @@ "binop": null, "updateContext": null }, - "start": 13432, - "end": 13433, + "start": 13394, + "end": 13395, "loc": { "start": { - "line": 378, + "line": 377, "column": 28 }, "end": { - "line": 378, + "line": 377, "column": 29 } } @@ -56808,15 +56553,15 @@ "binop": null }, "value": "setDataURL", - "start": 13433, - "end": 13443, + "start": 13395, + "end": 13405, "loc": { "start": { - "line": 378, + "line": 377, "column": 29 }, "end": { - "line": 378, + "line": 377, "column": 39 } } @@ -56833,15 +56578,15 @@ "postfix": false, "binop": null }, - "start": 13443, - "end": 13444, + "start": 13405, + "end": 13406, "loc": { "start": { - "line": 378, + "line": 377, "column": 39 }, "end": { - "line": 378, + "line": 377, "column": 40 } } @@ -56859,15 +56604,15 @@ "binop": null }, "value": "currentFrameDataURL", - "start": 13444, - "end": 13463, + "start": 13406, + "end": 13425, "loc": { "start": { - "line": 378, + "line": 377, "column": 40 }, "end": { - "line": 378, + "line": 377, "column": 59 } } @@ -56884,15 +56629,15 @@ "postfix": false, "binop": null }, - "start": 13463, - "end": 13464, + "start": 13425, + "end": 13426, "loc": { "start": { - "line": 378, + "line": 377, "column": 59 }, "end": { - "line": 378, + "line": 377, "column": 60 } } @@ -56910,15 +56655,15 @@ "binop": null, "updateContext": null }, - "start": 13464, - "end": 13465, + "start": 13426, + "end": 13427, "loc": { "start": { - "line": 378, + "line": 377, "column": 60 }, "end": { - "line": 378, + "line": 377, "column": 61 } } @@ -56936,15 +56681,15 @@ "binop": null }, "value": "frameAtIndex", - "start": 13483, - "end": 13495, + "start": 13445, + "end": 13457, "loc": { "start": { - "line": 379, + "line": 378, "column": 16 }, "end": { - "line": 379, + "line": 378, "column": 28 } } @@ -56962,15 +56707,15 @@ "binop": null, "updateContext": null }, - "start": 13495, - "end": 13496, + "start": 13457, + "end": 13458, "loc": { "start": { - "line": 379, + "line": 378, "column": 28 }, "end": { - "line": 379, + "line": 378, "column": 29 } } @@ -56988,15 +56733,15 @@ "binop": null }, "value": "setDelay", - "start": 13496, - "end": 13504, + "start": 13458, + "end": 13466, "loc": { "start": { - "line": 379, + "line": 378, "column": 29 }, "end": { - "line": 379, + "line": 378, "column": 37 } } @@ -57013,15 +56758,15 @@ "postfix": false, "binop": null }, - "start": 13504, - "end": 13505, + "start": 13466, + "end": 13467, "loc": { "start": { - "line": 379, + "line": 378, "column": 37 }, "end": { - "line": 379, + "line": 378, "column": 38 } } @@ -57039,15 +56784,15 @@ "binop": null }, "value": "currentFrameDelay", - "start": 13505, - "end": 13522, + "start": 13467, + "end": 13484, "loc": { "start": { - "line": 379, + "line": 378, "column": 38 }, "end": { - "line": 379, + "line": 378, "column": 55 } } @@ -57064,15 +56809,15 @@ "postfix": false, "binop": null }, - "start": 13522, - "end": 13523, + "start": 13484, + "end": 13485, "loc": { "start": { - "line": 379, + "line": 378, "column": 55 }, "end": { - "line": 379, + "line": 378, "column": 56 } } @@ -57090,15 +56835,15 @@ "binop": null, "updateContext": null }, - "start": 13523, - "end": 13524, + "start": 13485, + "end": 13486, "loc": { "start": { - "line": 379, + "line": 378, "column": 56 }, "end": { - "line": 379, + "line": 378, "column": 57 } } @@ -57115,15 +56860,15 @@ "postfix": false, "binop": null }, - "start": 13538, - "end": 13539, + "start": 13500, + "end": 13501, "loc": { "start": { - "line": 380, + "line": 379, "column": 12 }, "end": { - "line": 380, + "line": 379, "column": 13 } } @@ -57143,15 +56888,15 @@ "updateContext": null }, "value": "else", - "start": 13540, - "end": 13544, + "start": 13502, + "end": 13506, "loc": { "start": { - "line": 380, + "line": 379, "column": 14 }, "end": { - "line": 380, + "line": 379, "column": 18 } } @@ -57168,15 +56913,15 @@ "postfix": false, "binop": null }, - "start": 13545, - "end": 13546, + "start": 13507, + "end": 13508, "loc": { "start": { - "line": 380, + "line": 379, "column": 19 }, "end": { - "line": 380, + "line": 379, "column": 20 } } @@ -57194,15 +56939,15 @@ "binop": null }, "value": "VYI", - "start": 13564, - "end": 13567, + "start": 13526, + "end": 13529, "loc": { "start": { - "line": 381, + "line": 380, "column": 16 }, "end": { - "line": 381, + "line": 380, "column": 19 } } @@ -57220,15 +56965,15 @@ "binop": null, "updateContext": null }, - "start": 13567, - "end": 13568, + "start": 13529, + "end": 13530, "loc": { "start": { - "line": 381, + "line": 380, "column": 19 }, "end": { - "line": 381, + "line": 380, "column": 20 } } @@ -57246,15 +56991,15 @@ "binop": null }, "value": "logger", - "start": 13568, - "end": 13574, + "start": 13530, + "end": 13536, "loc": { "start": { - "line": 381, + "line": 380, "column": 20 }, "end": { - "line": 381, + "line": 380, "column": 26 } } @@ -57272,15 +57017,15 @@ "binop": null, "updateContext": null }, - "start": 13574, - "end": 13575, + "start": 13536, + "end": 13537, "loc": { "start": { - "line": 381, + "line": 380, "column": 26 }, "end": { - "line": 381, + "line": 380, "column": 27 } } @@ -57298,15 +57043,15 @@ "binop": null }, "value": "prefix", - "start": 13575, - "end": 13581, + "start": 13537, + "end": 13543, "loc": { "start": { - "line": 381, + "line": 380, "column": 27 }, "end": { - "line": 381, + "line": 380, "column": 33 } } @@ -57323,15 +57068,15 @@ "postfix": false, "binop": null }, - "start": 13581, - "end": 13582, + "start": 13543, + "end": 13544, "loc": { "start": { - "line": 381, + "line": 380, "column": 33 }, "end": { - "line": 381, + "line": 380, "column": 34 } } @@ -57350,15 +57095,15 @@ "updateContext": null }, "value": "VYI-Module", - "start": 13582, - "end": 13594, + "start": 13544, + "end": 13556, "loc": { "start": { - "line": 381, + "line": 380, "column": 34 }, "end": { - "line": 381, + "line": 380, "column": 46 } } @@ -57375,15 +57120,15 @@ "postfix": false, "binop": null }, - "start": 13594, - "end": 13595, + "start": 13556, + "end": 13557, "loc": { "start": { - "line": 381, + "line": 380, "column": 46 }, "end": { - "line": 381, + "line": 380, "column": 47 } } @@ -57401,15 +57146,15 @@ "binop": null, "updateContext": null }, - "start": 13595, - "end": 13596, + "start": 13557, + "end": 13558, "loc": { "start": { - "line": 381, + "line": 380, "column": 47 }, "end": { - "line": 381, + "line": 380, "column": 48 } } @@ -57427,15 +57172,15 @@ "binop": null }, "value": "error", - "start": 13596, - "end": 13601, + "start": 13558, + "end": 13563, "loc": { "start": { - "line": 381, + "line": 380, "column": 48 }, "end": { - "line": 381, + "line": 380, "column": 53 } } @@ -57452,15 +57197,15 @@ "postfix": false, "binop": null }, - "start": 13601, - "end": 13602, + "start": 13563, + "end": 13564, "loc": { "start": { - "line": 381, + "line": 380, "column": 53 }, "end": { - "line": 381, + "line": 380, "column": 54 } } @@ -57479,15 +57224,15 @@ "updateContext": null }, "value": "There was no frame found at pCurrentIndex, or there was no frame found at pIndex!", - "start": 13602, - "end": 13685, + "start": 13564, + "end": 13647, "loc": { "start": { - "line": 381, + "line": 380, "column": 54 }, "end": { - "line": 381, + "line": 380, "column": 137 } } @@ -57504,15 +57249,15 @@ "postfix": false, "binop": null }, - "start": 13685, - "end": 13686, + "start": 13647, + "end": 13648, "loc": { "start": { - "line": 381, + "line": 380, "column": 137 }, "end": { - "line": 381, + "line": 380, "column": 138 } } @@ -57530,15 +57275,15 @@ "binop": null, "updateContext": null }, - "start": 13686, - "end": 13687, + "start": 13648, + "end": 13649, "loc": { "start": { - "line": 381, + "line": 380, "column": 138 }, "end": { - "line": 381, + "line": 380, "column": 139 } } @@ -57555,15 +57300,15 @@ "postfix": false, "binop": null }, - "start": 13701, - "end": 13702, + "start": 13663, + "end": 13664, "loc": { "start": { - "line": 382, + "line": 381, "column": 12 }, "end": { - "line": 382, + "line": 381, "column": 13 } } @@ -57580,15 +57325,15 @@ "postfix": false, "binop": null }, - "start": 13712, - "end": 13713, + "start": 13674, + "end": 13675, "loc": { "start": { - "line": 383, + "line": 382, "column": 8 }, "end": { - "line": 383, + "line": 382, "column": 9 } } @@ -57608,15 +57353,15 @@ "updateContext": null }, "value": "else", - "start": 13714, - "end": 13718, + "start": 13676, + "end": 13680, "loc": { "start": { - "line": 383, + "line": 382, "column": 10 }, "end": { - "line": 383, + "line": 382, "column": 14 } } @@ -57633,15 +57378,15 @@ "postfix": false, "binop": null }, - "start": 13719, - "end": 13720, + "start": 13681, + "end": 13682, "loc": { "start": { - "line": 383, + "line": 382, "column": 15 }, "end": { - "line": 383, + "line": 382, "column": 16 } } @@ -57659,15 +57404,15 @@ "binop": null }, "value": "VYI", - "start": 13734, - "end": 13737, + "start": 13696, + "end": 13699, "loc": { "start": { - "line": 384, + "line": 383, "column": 12 }, "end": { - "line": 384, + "line": 383, "column": 15 } } @@ -57685,15 +57430,15 @@ "binop": null, "updateContext": null }, - "start": 13737, - "end": 13738, + "start": 13699, + "end": 13700, "loc": { "start": { - "line": 384, + "line": 383, "column": 15 }, "end": { - "line": 384, + "line": 383, "column": 16 } } @@ -57711,15 +57456,15 @@ "binop": null }, "value": "logger", - "start": 13738, - "end": 13744, + "start": 13700, + "end": 13706, "loc": { "start": { - "line": 384, + "line": 383, "column": 16 }, "end": { - "line": 384, + "line": 383, "column": 22 } } @@ -57737,15 +57482,15 @@ "binop": null, "updateContext": null }, - "start": 13744, - "end": 13745, + "start": 13706, + "end": 13707, "loc": { "start": { - "line": 384, + "line": 383, "column": 22 }, "end": { - "line": 384, + "line": 383, "column": 23 } } @@ -57763,15 +57508,15 @@ "binop": null }, "value": "prefix", - "start": 13745, - "end": 13751, + "start": 13707, + "end": 13713, "loc": { "start": { - "line": 384, + "line": 383, "column": 23 }, "end": { - "line": 384, + "line": 383, "column": 29 } } @@ -57788,15 +57533,15 @@ "postfix": false, "binop": null }, - "start": 13751, - "end": 13752, + "start": 13713, + "end": 13714, "loc": { "start": { - "line": 384, + "line": 383, "column": 29 }, "end": { - "line": 384, + "line": 383, "column": 30 } } @@ -57815,15 +57560,15 @@ "updateContext": null }, "value": "VYI-Module", - "start": 13752, - "end": 13764, + "start": 13714, + "end": 13726, "loc": { "start": { - "line": 384, + "line": 383, "column": 30 }, "end": { - "line": 384, + "line": 383, "column": 42 } } @@ -57840,15 +57585,15 @@ "postfix": false, "binop": null }, - "start": 13764, - "end": 13765, + "start": 13726, + "end": 13727, "loc": { "start": { - "line": 384, + "line": 383, "column": 42 }, "end": { - "line": 384, + "line": 383, "column": 43 } } @@ -57866,15 +57611,15 @@ "binop": null, "updateContext": null }, - "start": 13765, - "end": 13766, + "start": 13727, + "end": 13728, "loc": { "start": { - "line": 384, + "line": 383, "column": 43 }, "end": { - "line": 384, + "line": 383, "column": 44 } } @@ -57892,15 +57637,15 @@ "binop": null }, "value": "error", - "start": 13766, - "end": 13771, + "start": 13728, + "end": 13733, "loc": { "start": { - "line": 384, + "line": 383, "column": 44 }, "end": { - "line": 384, + "line": 383, "column": 49 } } @@ -57917,15 +57662,15 @@ "postfix": false, "binop": null }, - "start": 13771, - "end": 13772, + "start": 13733, + "end": 13734, "loc": { "start": { - "line": 384, + "line": 383, "column": 49 }, "end": { - "line": 384, + "line": 383, "column": 50 } } @@ -57944,15 +57689,15 @@ "updateContext": null }, "value": "Invalid type used!", - "start": 13772, - "end": 13792, + "start": 13734, + "end": 13754, "loc": { "start": { - "line": 384, + "line": 383, "column": 50 }, "end": { - "line": 384, + "line": 383, "column": 70 } } @@ -57969,15 +57714,15 @@ "postfix": false, "binop": null }, - "start": 13792, - "end": 13793, + "start": 13754, + "end": 13755, "loc": { "start": { - "line": 384, + "line": 383, "column": 70 }, "end": { - "line": 384, + "line": 383, "column": 71 } } @@ -57995,15 +57740,15 @@ "binop": null, "updateContext": null }, - "start": 13793, - "end": 13794, + "start": 13755, + "end": 13756, "loc": { "start": { - "line": 384, + "line": 383, "column": 71 }, "end": { - "line": 384, + "line": 383, "column": 72 } } @@ -58020,15 +57765,15 @@ "postfix": false, "binop": null }, - "start": 13804, - "end": 13805, + "start": 13766, + "end": 13767, "loc": { "start": { - "line": 385, + "line": 384, "column": 8 }, "end": { - "line": 385, + "line": 384, "column": 9 } } @@ -58048,15 +57793,15 @@ "updateContext": null }, "value": "return", - "start": 13815, - "end": 13821, + "start": 13777, + "end": 13783, "loc": { "start": { - "line": 386, + "line": 385, "column": 8 }, "end": { - "line": 386, + "line": 385, "column": 14 } } @@ -58076,15 +57821,15 @@ "updateContext": null }, "value": "this", - "start": 13822, - "end": 13826, + "start": 13784, + "end": 13788, "loc": { "start": { - "line": 386, + "line": 385, "column": 15 }, "end": { - "line": 386, + "line": 385, "column": 19 } } @@ -58102,15 +57847,15 @@ "binop": null, "updateContext": null }, - "start": 13826, - "end": 13827, + "start": 13788, + "end": 13789, "loc": { "start": { - "line": 386, + "line": 385, "column": 19 }, "end": { - "line": 386, + "line": 385, "column": 20 } } @@ -58127,15 +57872,15 @@ "postfix": false, "binop": null }, - "start": 13833, - "end": 13834, + "start": 13795, + "end": 13796, "loc": { "start": { - "line": 387, + "line": 386, "column": 4 }, "end": { - "line": 387, + "line": 386, "column": 5 } } @@ -58143,15 +57888,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the frame existing at pIndex.\r\n * Frame 0 will actually be frame \"1\" in the animation. As this icon will actually be frame 0.\r\n * If you are trying to get \"frame\" 1. Then you will need to use the icon's delay and data url. As that is frame 0.\r\n * @param {number} pIndex - The index of the frame to get.\r\n * @returns {Frame|undefined} The frame found at pIndex.\r\n ", - "start": 13840, - "end": 14242, + "start": 13802, + "end": 14204, "loc": { "start": { - "line": 388, + "line": 387, "column": 4 }, "end": { - "line": 394, + "line": 393, "column": 7 } } @@ -58169,15 +57914,15 @@ "binop": null }, "value": "getFrame", - "start": 14248, - "end": 14256, + "start": 14210, + "end": 14218, "loc": { "start": { - "line": 395, + "line": 394, "column": 4 }, "end": { - "line": 395, + "line": 394, "column": 12 } } @@ -58194,15 +57939,15 @@ "postfix": false, "binop": null }, - "start": 14256, - "end": 14257, + "start": 14218, + "end": 14219, "loc": { "start": { - "line": 395, + "line": 394, "column": 12 }, "end": { - "line": 395, + "line": 394, "column": 13 } } @@ -58220,15 +57965,15 @@ "binop": null }, "value": "pIndex", - "start": 14257, - "end": 14263, + "start": 14219, + "end": 14225, "loc": { "start": { - "line": 395, + "line": 394, "column": 13 }, "end": { - "line": 395, + "line": 394, "column": 19 } } @@ -58245,15 +57990,15 @@ "postfix": false, "binop": null }, - "start": 14263, - "end": 14264, + "start": 14225, + "end": 14226, "loc": { "start": { - "line": 395, + "line": 394, "column": 19 }, "end": { - "line": 395, + "line": 394, "column": 20 } } @@ -58270,15 +58015,15 @@ "postfix": false, "binop": null }, - "start": 14265, - "end": 14266, + "start": 14227, + "end": 14228, "loc": { "start": { - "line": 395, + "line": 394, "column": 21 }, "end": { - "line": 395, + "line": 394, "column": 22 } } @@ -58298,15 +58043,15 @@ "updateContext": null }, "value": "if", - "start": 14276, - "end": 14278, + "start": 14238, + "end": 14240, "loc": { "start": { - "line": 396, + "line": 395, "column": 8 }, "end": { - "line": 396, + "line": 395, "column": 10 } } @@ -58323,15 +58068,15 @@ "postfix": false, "binop": null }, - "start": 14279, - "end": 14280, + "start": 14241, + "end": 14242, "loc": { "start": { - "line": 396, + "line": 395, "column": 11 }, "end": { - "line": 396, + "line": 395, "column": 12 } } @@ -58351,15 +58096,15 @@ "updateContext": null }, "value": "typeof", - "start": 14280, - "end": 14286, + "start": 14242, + "end": 14248, "loc": { "start": { - "line": 396, + "line": 395, "column": 12 }, "end": { - "line": 396, + "line": 395, "column": 18 } } @@ -58376,15 +58121,15 @@ "postfix": false, "binop": null }, - "start": 14286, - "end": 14287, + "start": 14248, + "end": 14249, "loc": { "start": { - "line": 396, + "line": 395, "column": 18 }, "end": { - "line": 396, + "line": 395, "column": 19 } } @@ -58402,15 +58147,15 @@ "binop": null }, "value": "pIndex", - "start": 14287, - "end": 14293, + "start": 14249, + "end": 14255, "loc": { "start": { - "line": 396, + "line": 395, "column": 19 }, "end": { - "line": 396, + "line": 395, "column": 25 } } @@ -58427,15 +58172,15 @@ "postfix": false, "binop": null }, - "start": 14293, - "end": 14294, + "start": 14255, + "end": 14256, "loc": { "start": { - "line": 396, + "line": 395, "column": 25 }, "end": { - "line": 396, + "line": 395, "column": 26 } } @@ -58454,15 +58199,15 @@ "updateContext": null }, "value": "===", - "start": 14295, - "end": 14298, + "start": 14257, + "end": 14260, "loc": { "start": { - "line": 396, + "line": 395, "column": 27 }, "end": { - "line": 396, + "line": 395, "column": 30 } } @@ -58481,15 +58226,15 @@ "updateContext": null }, "value": "number", - "start": 14299, - "end": 14307, + "start": 14261, + "end": 14269, "loc": { "start": { - "line": 396, + "line": 395, "column": 31 }, "end": { - "line": 396, + "line": 395, "column": 39 } } @@ -58506,15 +58251,15 @@ "postfix": false, "binop": null }, - "start": 14307, - "end": 14308, + "start": 14269, + "end": 14270, "loc": { "start": { - "line": 396, + "line": 395, "column": 39 }, "end": { - "line": 396, + "line": 395, "column": 40 } } @@ -58531,15 +58276,15 @@ "postfix": false, "binop": null }, - "start": 14309, - "end": 14310, + "start": 14271, + "end": 14272, "loc": { "start": { - "line": 396, + "line": 395, "column": 41 }, "end": { - "line": 396, + "line": 395, "column": 42 } } @@ -58559,15 +58304,15 @@ "updateContext": null }, "value": "return", - "start": 14324, - "end": 14330, + "start": 14286, + "end": 14292, "loc": { "start": { - "line": 397, + "line": 396, "column": 12 }, "end": { - "line": 397, + "line": 396, "column": 18 } } @@ -58587,15 +58332,15 @@ "updateContext": null }, "value": "this", - "start": 14331, - "end": 14335, + "start": 14293, + "end": 14297, "loc": { "start": { - "line": 397, + "line": 396, "column": 19 }, "end": { - "line": 397, + "line": 396, "column": 23 } } @@ -58613,15 +58358,15 @@ "binop": null, "updateContext": null }, - "start": 14335, - "end": 14336, + "start": 14297, + "end": 14298, "loc": { "start": { - "line": 397, + "line": 396, "column": 23 }, "end": { - "line": 397, + "line": 396, "column": 24 } } @@ -58639,15 +58384,15 @@ "binop": null }, "value": "frames", - "start": 14336, - "end": 14342, + "start": 14298, + "end": 14304, "loc": { "start": { - "line": 397, + "line": 396, "column": 24 }, "end": { - "line": 397, + "line": 396, "column": 30 } } @@ -58665,15 +58410,15 @@ "binop": null, "updateContext": null }, - "start": 14342, - "end": 14343, + "start": 14304, + "end": 14305, "loc": { "start": { - "line": 397, + "line": 396, "column": 30 }, "end": { - "line": 397, + "line": 396, "column": 31 } } @@ -58691,15 +58436,15 @@ "binop": null }, "value": "pIndex", - "start": 14343, - "end": 14349, + "start": 14305, + "end": 14311, "loc": { "start": { - "line": 397, + "line": 396, "column": 31 }, "end": { - "line": 397, + "line": 396, "column": 37 } } @@ -58717,15 +58462,15 @@ "binop": null, "updateContext": null }, - "start": 14349, - "end": 14350, + "start": 14311, + "end": 14312, "loc": { "start": { - "line": 397, + "line": 396, "column": 37 }, "end": { - "line": 397, + "line": 396, "column": 38 } } @@ -58743,15 +58488,15 @@ "binop": null, "updateContext": null }, - "start": 14350, - "end": 14351, + "start": 14312, + "end": 14313, "loc": { "start": { - "line": 397, + "line": 396, "column": 38 }, "end": { - "line": 397, + "line": 396, "column": 39 } } @@ -58768,15 +58513,15 @@ "postfix": false, "binop": null }, - "start": 14361, - "end": 14362, + "start": 14323, + "end": 14324, "loc": { "start": { - "line": 398, + "line": 397, "column": 8 }, "end": { - "line": 398, + "line": 397, "column": 9 } } @@ -58796,15 +58541,15 @@ "updateContext": null }, "value": "else", - "start": 14363, - "end": 14367, + "start": 14325, + "end": 14329, "loc": { "start": { - "line": 398, + "line": 397, "column": 10 }, "end": { - "line": 398, + "line": 397, "column": 14 } } @@ -58821,15 +58566,15 @@ "postfix": false, "binop": null }, - "start": 14368, - "end": 14369, + "start": 14330, + "end": 14331, "loc": { "start": { - "line": 398, + "line": 397, "column": 15 }, "end": { - "line": 398, + "line": 397, "column": 16 } } @@ -58847,15 +58592,15 @@ "binop": null }, "value": "VYI", - "start": 14383, - "end": 14386, + "start": 14345, + "end": 14348, "loc": { "start": { - "line": 399, + "line": 398, "column": 12 }, "end": { - "line": 399, + "line": 398, "column": 15 } } @@ -58873,15 +58618,15 @@ "binop": null, "updateContext": null }, - "start": 14386, - "end": 14387, + "start": 14348, + "end": 14349, "loc": { "start": { - "line": 399, + "line": 398, "column": 15 }, "end": { - "line": 399, + "line": 398, "column": 16 } } @@ -58899,15 +58644,15 @@ "binop": null }, "value": "logger", - "start": 14387, - "end": 14393, + "start": 14349, + "end": 14355, "loc": { "start": { - "line": 399, + "line": 398, "column": 16 }, "end": { - "line": 399, + "line": 398, "column": 22 } } @@ -58925,15 +58670,15 @@ "binop": null, "updateContext": null }, - "start": 14393, - "end": 14394, + "start": 14355, + "end": 14356, "loc": { "start": { - "line": 399, + "line": 398, "column": 22 }, "end": { - "line": 399, + "line": 398, "column": 23 } } @@ -58951,15 +58696,15 @@ "binop": null }, "value": "prefix", - "start": 14394, - "end": 14400, + "start": 14356, + "end": 14362, "loc": { "start": { - "line": 399, + "line": 398, "column": 23 }, "end": { - "line": 399, + "line": 398, "column": 29 } } @@ -58976,15 +58721,15 @@ "postfix": false, "binop": null }, - "start": 14400, - "end": 14401, + "start": 14362, + "end": 14363, "loc": { "start": { - "line": 399, + "line": 398, "column": 29 }, "end": { - "line": 399, + "line": 398, "column": 30 } } @@ -59003,15 +58748,15 @@ "updateContext": null }, "value": "VYI-Module", - "start": 14401, - "end": 14413, + "start": 14363, + "end": 14375, "loc": { "start": { - "line": 399, + "line": 398, "column": 30 }, "end": { - "line": 399, + "line": 398, "column": 42 } } @@ -59028,15 +58773,15 @@ "postfix": false, "binop": null }, - "start": 14413, - "end": 14414, + "start": 14375, + "end": 14376, "loc": { "start": { - "line": 399, + "line": 398, "column": 42 }, "end": { - "line": 399, + "line": 398, "column": 43 } } @@ -59054,15 +58799,15 @@ "binop": null, "updateContext": null }, - "start": 14414, - "end": 14415, + "start": 14376, + "end": 14377, "loc": { "start": { - "line": 399, + "line": 398, "column": 43 }, "end": { - "line": 399, + "line": 398, "column": 44 } } @@ -59080,15 +58825,15 @@ "binop": null }, "value": "error", - "start": 14415, - "end": 14420, + "start": 14377, + "end": 14382, "loc": { "start": { - "line": 399, + "line": 398, "column": 44 }, "end": { - "line": 399, + "line": 398, "column": 49 } } @@ -59105,15 +58850,15 @@ "postfix": false, "binop": null }, - "start": 14420, - "end": 14421, + "start": 14382, + "end": 14383, "loc": { "start": { - "line": 399, + "line": 398, "column": 49 }, "end": { - "line": 399, + "line": 398, "column": 50 } } @@ -59132,15 +58877,15 @@ "updateContext": null }, "value": "Invalid type used!", - "start": 14421, - "end": 14441, + "start": 14383, + "end": 14403, "loc": { "start": { - "line": 399, + "line": 398, "column": 50 }, "end": { - "line": 399, + "line": 398, "column": 70 } } @@ -59157,15 +58902,15 @@ "postfix": false, "binop": null }, - "start": 14441, - "end": 14442, + "start": 14403, + "end": 14404, "loc": { "start": { - "line": 399, + "line": 398, "column": 70 }, "end": { - "line": 399, + "line": 398, "column": 71 } } @@ -59183,15 +58928,15 @@ "binop": null, "updateContext": null }, - "start": 14442, - "end": 14443, + "start": 14404, + "end": 14405, "loc": { "start": { - "line": 399, + "line": 398, "column": 71 }, "end": { - "line": 399, + "line": 398, "column": 72 } } @@ -59208,15 +58953,15 @@ "postfix": false, "binop": null }, - "start": 14453, - "end": 14454, + "start": 14415, + "end": 14416, "loc": { "start": { - "line": 400, + "line": 399, "column": 8 }, "end": { - "line": 400, + "line": 399, "column": 9 } } @@ -59233,15 +58978,15 @@ "postfix": false, "binop": null }, - "start": 14460, - "end": 14461, + "start": 14422, + "end": 14423, "loc": { "start": { - "line": 401, + "line": 400, "column": 4 }, "end": { - "line": 401, + "line": 400, "column": 5 } } @@ -59249,15 +58994,15 @@ { "type": "CommentBlock", "value": "*\r\n * Returns an array of all the frames this icons has.\r\n * @returns {Array} An array of frames this icon has.\r\n ", - "start": 14467, - "end": 14597, + "start": 14429, + "end": 14559, "loc": { "start": { - "line": 402, + "line": 401, "column": 4 }, "end": { - "line": 405, + "line": 404, "column": 7 } } @@ -59275,15 +59020,15 @@ "binop": null }, "value": "getFrames", - "start": 14603, - "end": 14612, + "start": 14565, + "end": 14574, "loc": { "start": { - "line": 406, + "line": 405, "column": 4 }, "end": { - "line": 406, + "line": 405, "column": 13 } } @@ -59300,15 +59045,15 @@ "postfix": false, "binop": null }, - "start": 14612, - "end": 14613, + "start": 14574, + "end": 14575, "loc": { "start": { - "line": 406, + "line": 405, "column": 13 }, "end": { - "line": 406, + "line": 405, "column": 14 } } @@ -59325,15 +59070,15 @@ "postfix": false, "binop": null }, - "start": 14613, - "end": 14614, + "start": 14575, + "end": 14576, "loc": { "start": { - "line": 406, + "line": 405, "column": 14 }, "end": { - "line": 406, + "line": 405, "column": 15 } } @@ -59350,15 +59095,15 @@ "postfix": false, "binop": null }, - "start": 14615, - "end": 14616, + "start": 14577, + "end": 14578, "loc": { "start": { - "line": 406, + "line": 405, "column": 16 }, "end": { - "line": 406, + "line": 405, "column": 17 } } @@ -59378,15 +59123,15 @@ "updateContext": null }, "value": "return", - "start": 14626, - "end": 14632, + "start": 14588, + "end": 14594, "loc": { "start": { - "line": 407, + "line": 406, "column": 8 }, "end": { - "line": 407, + "line": 406, "column": 14 } } @@ -59404,15 +59149,15 @@ "binop": null, "updateContext": null }, - "start": 14633, - "end": 14634, + "start": 14595, + "end": 14596, "loc": { "start": { - "line": 407, + "line": 406, "column": 15 }, "end": { - "line": 407, + "line": 406, "column": 16 } } @@ -59430,15 +59175,15 @@ "binop": null, "updateContext": null }, - "start": 14635, - "end": 14638, + "start": 14597, + "end": 14600, "loc": { "start": { - "line": 407, + "line": 406, "column": 17 }, "end": { - "line": 407, + "line": 406, "column": 20 } } @@ -59458,15 +59203,15 @@ "updateContext": null }, "value": "this", - "start": 14638, - "end": 14642, + "start": 14600, + "end": 14604, "loc": { "start": { - "line": 407, + "line": 406, "column": 20 }, "end": { - "line": 407, + "line": 406, "column": 24 } } @@ -59484,15 +59229,15 @@ "binop": null, "updateContext": null }, - "start": 14642, - "end": 14643, + "start": 14604, + "end": 14605, "loc": { "start": { - "line": 407, + "line": 406, "column": 24 }, "end": { - "line": 407, + "line": 406, "column": 25 } } @@ -59510,15 +59255,15 @@ "binop": null }, "value": "frames", - "start": 14643, - "end": 14649, + "start": 14605, + "end": 14611, "loc": { "start": { - "line": 407, + "line": 406, "column": 25 }, "end": { - "line": 407, + "line": 406, "column": 31 } } @@ -59536,15 +59281,15 @@ "binop": null, "updateContext": null }, - "start": 14650, - "end": 14651, + "start": 14612, + "end": 14613, "loc": { "start": { - "line": 407, + "line": 406, "column": 32 }, "end": { - "line": 407, + "line": 406, "column": 33 } } @@ -59562,15 +59307,15 @@ "binop": null, "updateContext": null }, - "start": 14651, - "end": 14652, + "start": 14613, + "end": 14614, "loc": { "start": { - "line": 407, + "line": 406, "column": 33 }, "end": { - "line": 407, + "line": 406, "column": 34 } } @@ -59587,15 +59332,15 @@ "postfix": false, "binop": null }, - "start": 14658, - "end": 14659, + "start": 14620, + "end": 14621, "loc": { "start": { - "line": 408, + "line": 407, "column": 4 }, "end": { - "line": 408, + "line": 407, "column": 5 } } @@ -59603,15 +59348,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets all the frames belonging to this icon.\r\n * @private\r\n * @returns {Array} An array containing the frame data of all frames.\r\n ", - "start": 14665, - "end": 14821, + "start": 14627, + "end": 14783, "loc": { "start": { - "line": 409, + "line": 408, "column": 4 }, "end": { - "line": 413, + "line": 412, "column": 7 } } @@ -59629,15 +59374,15 @@ "binop": null }, "value": "getFramesData", - "start": 14827, - "end": 14840, + "start": 14789, + "end": 14802, "loc": { "start": { - "line": 414, + "line": 413, "column": 4 }, "end": { - "line": 414, + "line": 413, "column": 17 } } @@ -59654,15 +59399,15 @@ "postfix": false, "binop": null }, - "start": 14840, - "end": 14841, + "start": 14802, + "end": 14803, "loc": { "start": { - "line": 414, + "line": 413, "column": 17 }, "end": { - "line": 414, + "line": 413, "column": 18 } } @@ -59679,15 +59424,15 @@ "postfix": false, "binop": null }, - "start": 14841, - "end": 14842, + "start": 14803, + "end": 14804, "loc": { "start": { - "line": 414, + "line": 413, "column": 18 }, "end": { - "line": 414, + "line": 413, "column": 19 } } @@ -59704,15 +59449,15 @@ "postfix": false, "binop": null }, - "start": 14843, - "end": 14844, + "start": 14805, + "end": 14806, "loc": { "start": { - "line": 414, + "line": 413, "column": 20 }, "end": { - "line": 414, + "line": 413, "column": 21 } } @@ -59732,15 +59477,15 @@ "updateContext": null }, "value": "const", - "start": 14854, - "end": 14859, + "start": 14816, + "end": 14821, "loc": { "start": { - "line": 415, + "line": 414, "column": 8 }, "end": { - "line": 415, + "line": 414, "column": 13 } } @@ -59758,15 +59503,15 @@ "binop": null }, "value": "frameDataArray", - "start": 14860, - "end": 14874, + "start": 14822, + "end": 14836, "loc": { "start": { - "line": 415, + "line": 414, "column": 14 }, "end": { - "line": 415, + "line": 414, "column": 28 } } @@ -59785,15 +59530,15 @@ "updateContext": null }, "value": "=", - "start": 14875, - "end": 14876, + "start": 14837, + "end": 14838, "loc": { "start": { - "line": 415, + "line": 414, "column": 29 }, "end": { - "line": 415, + "line": 414, "column": 30 } } @@ -59811,15 +59556,15 @@ "binop": null, "updateContext": null }, - "start": 14877, - "end": 14878, + "start": 14839, + "end": 14840, "loc": { "start": { - "line": 415, + "line": 414, "column": 31 }, "end": { - "line": 415, + "line": 414, "column": 32 } } @@ -59837,15 +59582,15 @@ "binop": null, "updateContext": null }, - "start": 14878, - "end": 14879, + "start": 14840, + "end": 14841, "loc": { "start": { - "line": 415, + "line": 414, "column": 32 }, "end": { - "line": 415, + "line": 414, "column": 33 } } @@ -59863,15 +59608,15 @@ "binop": null, "updateContext": null }, - "start": 14879, - "end": 14880, + "start": 14841, + "end": 14842, "loc": { "start": { - "line": 415, + "line": 414, "column": 33 }, "end": { - "line": 415, + "line": 414, "column": 34 } } @@ -59891,15 +59636,15 @@ "updateContext": null }, "value": "this", - "start": 14890, - "end": 14894, + "start": 14852, + "end": 14856, "loc": { "start": { - "line": 416, + "line": 415, "column": 8 }, "end": { - "line": 416, + "line": 415, "column": 12 } } @@ -59917,15 +59662,15 @@ "binop": null, "updateContext": null }, - "start": 14894, - "end": 14895, + "start": 14856, + "end": 14857, "loc": { "start": { - "line": 416, + "line": 415, "column": 12 }, "end": { - "line": 416, + "line": 415, "column": 13 } } @@ -59943,15 +59688,15 @@ "binop": null }, "value": "frames", - "start": 14895, - "end": 14901, + "start": 14857, + "end": 14863, "loc": { "start": { - "line": 416, + "line": 415, "column": 13 }, "end": { - "line": 416, + "line": 415, "column": 19 } } @@ -59969,15 +59714,15 @@ "binop": null, "updateContext": null }, - "start": 14901, - "end": 14902, + "start": 14863, + "end": 14864, "loc": { "start": { - "line": 416, + "line": 415, "column": 19 }, "end": { - "line": 416, + "line": 415, "column": 20 } } @@ -59995,15 +59740,15 @@ "binop": null }, "value": "forEach", - "start": 14902, - "end": 14909, + "start": 14864, + "end": 14871, "loc": { "start": { - "line": 416, + "line": 415, "column": 20 }, "end": { - "line": 416, + "line": 415, "column": 27 } } @@ -60020,15 +59765,15 @@ "postfix": false, "binop": null }, - "start": 14909, - "end": 14910, + "start": 14871, + "end": 14872, "loc": { "start": { - "line": 416, + "line": 415, "column": 27 }, "end": { - "line": 416, + "line": 415, "column": 28 } } @@ -60045,15 +59790,15 @@ "postfix": false, "binop": null }, - "start": 14910, - "end": 14911, + "start": 14872, + "end": 14873, "loc": { "start": { - "line": 416, + "line": 415, "column": 28 }, "end": { - "line": 416, + "line": 415, "column": 29 } } @@ -60071,15 +59816,15 @@ "binop": null }, "value": "pFrame", - "start": 14911, - "end": 14917, + "start": 14873, + "end": 14879, "loc": { "start": { - "line": 416, + "line": 415, "column": 29 }, "end": { - "line": 416, + "line": 415, "column": 35 } } @@ -60096,15 +59841,15 @@ "postfix": false, "binop": null }, - "start": 14917, - "end": 14918, + "start": 14879, + "end": 14880, "loc": { "start": { - "line": 416, + "line": 415, "column": 35 }, "end": { - "line": 416, + "line": 415, "column": 36 } } @@ -60122,15 +59867,15 @@ "binop": null, "updateContext": null }, - "start": 14919, - "end": 14921, + "start": 14881, + "end": 14883, "loc": { "start": { - "line": 416, + "line": 415, "column": 37 }, "end": { - "line": 416, + "line": 415, "column": 39 } } @@ -60147,15 +59892,15 @@ "postfix": false, "binop": null }, - "start": 14922, - "end": 14923, + "start": 14884, + "end": 14885, "loc": { "start": { - "line": 416, + "line": 415, "column": 40 }, "end": { - "line": 416, + "line": 415, "column": 41 } } @@ -60173,15 +59918,15 @@ "binop": null }, "value": "frameDataArray", - "start": 14937, - "end": 14951, + "start": 14899, + "end": 14913, "loc": { "start": { - "line": 417, + "line": 416, "column": 12 }, "end": { - "line": 417, + "line": 416, "column": 26 } } @@ -60199,15 +59944,15 @@ "binop": null, "updateContext": null }, - "start": 14951, - "end": 14952, + "start": 14913, + "end": 14914, "loc": { "start": { - "line": 417, + "line": 416, "column": 26 }, "end": { - "line": 417, + "line": 416, "column": 27 } } @@ -60225,15 +59970,15 @@ "binop": null }, "value": "push", - "start": 14952, - "end": 14956, + "start": 14914, + "end": 14918, "loc": { "start": { - "line": 417, + "line": 416, "column": 27 }, "end": { - "line": 417, + "line": 416, "column": 31 } } @@ -60250,15 +59995,15 @@ "postfix": false, "binop": null }, - "start": 14956, - "end": 14957, + "start": 14918, + "end": 14919, "loc": { "start": { - "line": 417, + "line": 416, "column": 31 }, "end": { - "line": 417, + "line": 416, "column": 32 } } @@ -60276,15 +60021,15 @@ "binop": null }, "value": "pFrame", - "start": 14957, - "end": 14963, + "start": 14919, + "end": 14925, "loc": { "start": { - "line": 417, + "line": 416, "column": 32 }, "end": { - "line": 417, + "line": 416, "column": 38 } } @@ -60302,15 +60047,15 @@ "binop": null, "updateContext": null }, - "start": 14963, - "end": 14964, + "start": 14925, + "end": 14926, "loc": { "start": { - "line": 417, + "line": 416, "column": 38 }, "end": { - "line": 417, + "line": 416, "column": 39 } } @@ -60330,15 +60075,15 @@ "updateContext": null }, "value": "export", - "start": 14964, - "end": 14970, + "start": 14926, + "end": 14932, "loc": { "start": { - "line": 417, + "line": 416, "column": 39 }, "end": { - "line": 417, + "line": 416, "column": 45 } } @@ -60355,15 +60100,15 @@ "postfix": false, "binop": null }, - "start": 14970, - "end": 14971, + "start": 14932, + "end": 14933, "loc": { "start": { - "line": 417, + "line": 416, "column": 45 }, "end": { - "line": 417, + "line": 416, "column": 46 } } @@ -60380,15 +60125,15 @@ "postfix": false, "binop": null }, - "start": 14971, - "end": 14972, + "start": 14933, + "end": 14934, "loc": { "start": { - "line": 417, + "line": 416, "column": 46 }, "end": { - "line": 417, + "line": 416, "column": 47 } } @@ -60405,15 +60150,15 @@ "postfix": false, "binop": null }, - "start": 14972, - "end": 14973, + "start": 14934, + "end": 14935, "loc": { "start": { - "line": 417, + "line": 416, "column": 47 }, "end": { - "line": 417, + "line": 416, "column": 48 } } @@ -60431,15 +60176,15 @@ "binop": null, "updateContext": null }, - "start": 14973, - "end": 14974, + "start": 14935, + "end": 14936, "loc": { "start": { - "line": 417, + "line": 416, "column": 48 }, "end": { - "line": 417, + "line": 416, "column": 49 } } @@ -60456,15 +60201,15 @@ "postfix": false, "binop": null }, - "start": 14984, - "end": 14985, + "start": 14946, + "end": 14947, "loc": { "start": { - "line": 418, + "line": 417, "column": 8 }, "end": { - "line": 418, + "line": 417, "column": 9 } } @@ -60481,15 +60226,15 @@ "postfix": false, "binop": null }, - "start": 14985, - "end": 14986, + "start": 14947, + "end": 14948, "loc": { "start": { - "line": 418, + "line": 417, "column": 9 }, "end": { - "line": 418, + "line": 417, "column": 10 } } @@ -60507,15 +60252,15 @@ "binop": null, "updateContext": null }, - "start": 14986, - "end": 14987, + "start": 14948, + "end": 14949, "loc": { "start": { - "line": 418, + "line": 417, "column": 10 }, "end": { - "line": 418, + "line": 417, "column": 11 } } @@ -60535,15 +60280,15 @@ "updateContext": null }, "value": "return", - "start": 14997, - "end": 15003, + "start": 14959, + "end": 14965, "loc": { "start": { - "line": 419, + "line": 418, "column": 8 }, "end": { - "line": 419, + "line": 418, "column": 14 } } @@ -60561,15 +60306,15 @@ "binop": null }, "value": "frameDataArray", - "start": 15004, - "end": 15018, + "start": 14966, + "end": 14980, "loc": { "start": { - "line": 419, + "line": 418, "column": 15 }, "end": { - "line": 419, + "line": 418, "column": 29 } } @@ -60587,15 +60332,15 @@ "binop": null, "updateContext": null }, - "start": 15018, - "end": 15019, + "start": 14980, + "end": 14981, "loc": { "start": { - "line": 419, + "line": 418, "column": 29 }, "end": { - "line": 419, + "line": 418, "column": 30 } } @@ -60612,15 +60357,15 @@ "postfix": false, "binop": null }, - "start": 15025, - "end": 15026, + "start": 14987, + "end": 14988, "loc": { "start": { - "line": 420, + "line": 419, "column": 4 }, "end": { - "line": 420, + "line": 419, "column": 5 } } @@ -60628,15 +60373,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the state that has the name pName.\r\n * @param {string} pName - The name of the state to get.\r\n * @returns {Icon} The state that has the name of pName.\r\n ", - "start": 15032, - "end": 15216, + "start": 14994, + "end": 15178, "loc": { "start": { - "line": 421, + "line": 420, "column": 4 }, "end": { - "line": 425, + "line": 424, "column": 7 } } @@ -60654,15 +60399,15 @@ "binop": null }, "value": "getState", - "start": 15222, - "end": 15230, + "start": 15184, + "end": 15192, "loc": { "start": { - "line": 426, + "line": 425, "column": 4 }, "end": { - "line": 426, + "line": 425, "column": 12 } } @@ -60679,15 +60424,15 @@ "postfix": false, "binop": null }, - "start": 15230, - "end": 15231, + "start": 15192, + "end": 15193, "loc": { "start": { - "line": 426, + "line": 425, "column": 12 }, "end": { - "line": 426, + "line": 425, "column": 13 } } @@ -60705,15 +60450,15 @@ "binop": null }, "value": "pName", - "start": 15231, - "end": 15236, + "start": 15193, + "end": 15198, "loc": { "start": { - "line": 426, + "line": 425, "column": 13 }, "end": { - "line": 426, + "line": 425, "column": 18 } } @@ -60730,15 +60475,15 @@ "postfix": false, "binop": null }, - "start": 15236, - "end": 15237, + "start": 15198, + "end": 15199, "loc": { "start": { - "line": 426, + "line": 425, "column": 18 }, "end": { - "line": 426, + "line": 425, "column": 19 } } @@ -60755,15 +60500,15 @@ "postfix": false, "binop": null }, - "start": 15238, - "end": 15239, + "start": 15200, + "end": 15201, "loc": { "start": { - "line": 426, + "line": 425, "column": 20 }, "end": { - "line": 426, + "line": 425, "column": 21 } } @@ -60783,15 +60528,15 @@ "updateContext": null }, "value": "if", - "start": 15249, - "end": 15251, + "start": 15211, + "end": 15213, "loc": { "start": { - "line": 427, + "line": 426, "column": 8 }, "end": { - "line": 427, + "line": 426, "column": 10 } } @@ -60808,15 +60553,15 @@ "postfix": false, "binop": null }, - "start": 15252, - "end": 15253, + "start": 15214, + "end": 15215, "loc": { "start": { - "line": 427, + "line": 426, "column": 11 }, "end": { - "line": 427, + "line": 426, "column": 12 } } @@ -60836,15 +60581,15 @@ "updateContext": null }, "value": "typeof", - "start": 15253, - "end": 15259, + "start": 15215, + "end": 15221, "loc": { "start": { - "line": 427, + "line": 426, "column": 12 }, "end": { - "line": 427, + "line": 426, "column": 18 } } @@ -60861,15 +60606,15 @@ "postfix": false, "binop": null }, - "start": 15259, - "end": 15260, + "start": 15221, + "end": 15222, "loc": { "start": { - "line": 427, + "line": 426, "column": 18 }, "end": { - "line": 427, + "line": 426, "column": 19 } } @@ -60887,15 +60632,15 @@ "binop": null }, "value": "pName", - "start": 15260, - "end": 15265, + "start": 15222, + "end": 15227, "loc": { "start": { - "line": 427, + "line": 426, "column": 19 }, "end": { - "line": 427, + "line": 426, "column": 24 } } @@ -60912,15 +60657,15 @@ "postfix": false, "binop": null }, - "start": 15265, - "end": 15266, + "start": 15227, + "end": 15228, "loc": { "start": { - "line": 427, + "line": 426, "column": 24 }, "end": { - "line": 427, + "line": 426, "column": 25 } } @@ -60939,15 +60684,15 @@ "updateContext": null }, "value": "===", - "start": 15267, - "end": 15270, + "start": 15229, + "end": 15232, "loc": { "start": { - "line": 427, + "line": 426, "column": 26 }, "end": { - "line": 427, + "line": 426, "column": 29 } } @@ -60966,15 +60711,15 @@ "updateContext": null }, "value": "string", - "start": 15271, - "end": 15279, + "start": 15233, + "end": 15241, "loc": { "start": { - "line": 427, + "line": 426, "column": 30 }, "end": { - "line": 427, + "line": 426, "column": 38 } } @@ -60991,15 +60736,15 @@ "postfix": false, "binop": null }, - "start": 15279, - "end": 15280, + "start": 15241, + "end": 15242, "loc": { "start": { - "line": 427, + "line": 426, "column": 38 }, "end": { - "line": 427, + "line": 426, "column": 39 } } @@ -61016,15 +60761,15 @@ "postfix": false, "binop": null }, - "start": 15281, - "end": 15282, + "start": 15243, + "end": 15244, "loc": { "start": { - "line": 427, + "line": 426, "column": 40 }, "end": { - "line": 427, + "line": 426, "column": 41 } } @@ -61044,15 +60789,15 @@ "updateContext": null }, "value": "for", - "start": 15296, - "end": 15299, + "start": 15258, + "end": 15261, "loc": { "start": { - "line": 428, + "line": 427, "column": 12 }, "end": { - "line": 428, + "line": 427, "column": 15 } } @@ -61069,15 +60814,15 @@ "postfix": false, "binop": null }, - "start": 15300, - "end": 15301, + "start": 15262, + "end": 15263, "loc": { "start": { - "line": 428, + "line": 427, "column": 16 }, "end": { - "line": 428, + "line": 427, "column": 17 } } @@ -61097,15 +60842,15 @@ "updateContext": null }, "value": "let", - "start": 15301, - "end": 15304, + "start": 15263, + "end": 15266, "loc": { "start": { - "line": 428, + "line": 427, "column": 17 }, "end": { - "line": 428, + "line": 427, "column": 20 } } @@ -61123,15 +60868,15 @@ "binop": null }, "value": "i", - "start": 15305, - "end": 15306, + "start": 15267, + "end": 15268, "loc": { "start": { - "line": 428, + "line": 427, "column": 21 }, "end": { - "line": 428, + "line": 427, "column": 22 } } @@ -61150,15 +60895,15 @@ "updateContext": null }, "value": "=", - "start": 15307, - "end": 15308, + "start": 15269, + "end": 15270, "loc": { "start": { - "line": 428, + "line": 427, "column": 23 }, "end": { - "line": 428, + "line": 427, "column": 24 } } @@ -61178,15 +60923,15 @@ "updateContext": null }, "value": "this", - "start": 15309, - "end": 15313, + "start": 15271, + "end": 15275, "loc": { "start": { - "line": 428, + "line": 427, "column": 25 }, "end": { - "line": 428, + "line": 427, "column": 29 } } @@ -61204,15 +60949,15 @@ "binop": null, "updateContext": null }, - "start": 15313, - "end": 15314, + "start": 15275, + "end": 15276, "loc": { "start": { - "line": 428, + "line": 427, "column": 29 }, "end": { - "line": 428, + "line": 427, "column": 30 } } @@ -61230,15 +60975,15 @@ "binop": null }, "value": "states", - "start": 15314, - "end": 15320, + "start": 15276, + "end": 15282, "loc": { "start": { - "line": 428, + "line": 427, "column": 30 }, "end": { - "line": 428, + "line": 427, "column": 36 } } @@ -61256,15 +61001,15 @@ "binop": null, "updateContext": null }, - "start": 15320, - "end": 15321, + "start": 15282, + "end": 15283, "loc": { "start": { - "line": 428, + "line": 427, "column": 36 }, "end": { - "line": 428, + "line": 427, "column": 37 } } @@ -61282,15 +61027,15 @@ "binop": null }, "value": "length", - "start": 15321, - "end": 15327, + "start": 15283, + "end": 15289, "loc": { "start": { - "line": 428, + "line": 427, "column": 37 }, "end": { - "line": 428, + "line": 427, "column": 43 } } @@ -61309,15 +61054,15 @@ "updateContext": null }, "value": "-", - "start": 15328, - "end": 15329, + "start": 15290, + "end": 15291, "loc": { "start": { - "line": 428, + "line": 427, "column": 44 }, "end": { - "line": 428, + "line": 427, "column": 45 } } @@ -61336,15 +61081,15 @@ "updateContext": null }, "value": 1, - "start": 15330, - "end": 15331, + "start": 15292, + "end": 15293, "loc": { "start": { - "line": 428, + "line": 427, "column": 46 }, "end": { - "line": 428, + "line": 427, "column": 47 } } @@ -61362,15 +61107,15 @@ "binop": null, "updateContext": null }, - "start": 15331, - "end": 15332, + "start": 15293, + "end": 15294, "loc": { "start": { - "line": 428, + "line": 427, "column": 47 }, "end": { - "line": 428, + "line": 427, "column": 48 } } @@ -61388,15 +61133,15 @@ "binop": null }, "value": "i", - "start": 15333, - "end": 15334, + "start": 15295, + "end": 15296, "loc": { "start": { - "line": 428, + "line": 427, "column": 49 }, "end": { - "line": 428, + "line": 427, "column": 50 } } @@ -61415,15 +61160,15 @@ "updateContext": null }, "value": ">=", - "start": 15335, - "end": 15337, + "start": 15297, + "end": 15299, "loc": { "start": { - "line": 428, + "line": 427, "column": 51 }, "end": { - "line": 428, + "line": 427, "column": 53 } } @@ -61442,15 +61187,15 @@ "updateContext": null }, "value": 0, - "start": 15338, - "end": 15339, + "start": 15300, + "end": 15301, "loc": { "start": { - "line": 428, + "line": 427, "column": 54 }, "end": { - "line": 428, + "line": 427, "column": 55 } } @@ -61468,15 +61213,15 @@ "binop": null, "updateContext": null }, - "start": 15339, - "end": 15340, + "start": 15301, + "end": 15302, "loc": { "start": { - "line": 428, + "line": 427, "column": 55 }, "end": { - "line": 428, + "line": 427, "column": 56 } } @@ -61494,15 +61239,15 @@ "binop": null }, "value": "i", - "start": 15341, - "end": 15342, + "start": 15303, + "end": 15304, "loc": { "start": { - "line": 428, + "line": 427, "column": 57 }, "end": { - "line": 428, + "line": 427, "column": 58 } } @@ -61520,15 +61265,15 @@ "binop": null }, "value": "--", - "start": 15342, - "end": 15344, + "start": 15304, + "end": 15306, "loc": { "start": { - "line": 428, + "line": 427, "column": 58 }, "end": { - "line": 428, + "line": 427, "column": 60 } } @@ -61545,15 +61290,15 @@ "postfix": false, "binop": null }, - "start": 15344, - "end": 15345, + "start": 15306, + "end": 15307, "loc": { "start": { - "line": 428, + "line": 427, "column": 60 }, "end": { - "line": 428, + "line": 427, "column": 61 } } @@ -61570,15 +61315,15 @@ "postfix": false, "binop": null }, - "start": 15346, - "end": 15347, + "start": 15308, + "end": 15309, "loc": { "start": { - "line": 428, + "line": 427, "column": 62 }, "end": { - "line": 428, + "line": 427, "column": 63 } } @@ -61598,15 +61343,15 @@ "updateContext": null }, "value": "const", - "start": 15365, - "end": 15370, + "start": 15327, + "end": 15332, "loc": { "start": { - "line": 429, + "line": 428, "column": 16 }, "end": { - "line": 429, + "line": 428, "column": 21 } } @@ -61624,15 +61369,15 @@ "binop": null }, "value": "icon", - "start": 15371, - "end": 15375, + "start": 15333, + "end": 15337, "loc": { "start": { - "line": 429, + "line": 428, "column": 22 }, "end": { - "line": 429, + "line": 428, "column": 26 } } @@ -61651,15 +61396,15 @@ "updateContext": null }, "value": "=", - "start": 15376, - "end": 15377, + "start": 15338, + "end": 15339, "loc": { "start": { - "line": 429, + "line": 428, "column": 27 }, "end": { - "line": 429, + "line": 428, "column": 28 } } @@ -61679,15 +61424,15 @@ "updateContext": null }, "value": "this", - "start": 15378, - "end": 15382, + "start": 15340, + "end": 15344, "loc": { "start": { - "line": 429, + "line": 428, "column": 29 }, "end": { - "line": 429, + "line": 428, "column": 33 } } @@ -61705,15 +61450,15 @@ "binop": null, "updateContext": null }, - "start": 15382, - "end": 15383, + "start": 15344, + "end": 15345, "loc": { "start": { - "line": 429, + "line": 428, "column": 33 }, "end": { - "line": 429, + "line": 428, "column": 34 } } @@ -61731,15 +61476,15 @@ "binop": null }, "value": "states", - "start": 15383, - "end": 15389, + "start": 15345, + "end": 15351, "loc": { "start": { - "line": 429, + "line": 428, "column": 34 }, "end": { - "line": 429, + "line": 428, "column": 40 } } @@ -61757,15 +61502,15 @@ "binop": null, "updateContext": null }, - "start": 15389, - "end": 15390, + "start": 15351, + "end": 15352, "loc": { "start": { - "line": 429, + "line": 428, "column": 40 }, "end": { - "line": 429, + "line": 428, "column": 41 } } @@ -61783,15 +61528,15 @@ "binop": null }, "value": "i", - "start": 15390, - "end": 15391, + "start": 15352, + "end": 15353, "loc": { "start": { - "line": 429, + "line": 428, "column": 41 }, "end": { - "line": 429, + "line": 428, "column": 42 } } @@ -61809,15 +61554,15 @@ "binop": null, "updateContext": null }, - "start": 15391, - "end": 15392, + "start": 15353, + "end": 15354, "loc": { "start": { - "line": 429, + "line": 428, "column": 42 }, "end": { - "line": 429, + "line": 428, "column": 43 } } @@ -61835,15 +61580,15 @@ "binop": null, "updateContext": null }, - "start": 15392, - "end": 15393, + "start": 15354, + "end": 15355, "loc": { "start": { - "line": 429, + "line": 428, "column": 43 }, "end": { - "line": 429, + "line": 428, "column": 44 } } @@ -61851,15 +61596,15 @@ { "type": "CommentLine", "value": " If the icon has the same name, return that icon", - "start": 15411, - "end": 15461, + "start": 15373, + "end": 15423, "loc": { "start": { - "line": 430, + "line": 429, "column": 16 }, "end": { - "line": 430, + "line": 429, "column": 66 } } @@ -61879,15 +61624,15 @@ "updateContext": null }, "value": "if", - "start": 15479, - "end": 15481, + "start": 15441, + "end": 15443, "loc": { "start": { - "line": 431, + "line": 430, "column": 16 }, "end": { - "line": 431, + "line": 430, "column": 18 } } @@ -61904,15 +61649,15 @@ "postfix": false, "binop": null }, - "start": 15482, - "end": 15483, + "start": 15444, + "end": 15445, "loc": { "start": { - "line": 431, + "line": 430, "column": 19 }, "end": { - "line": 431, + "line": 430, "column": 20 } } @@ -61930,15 +61675,15 @@ "binop": null }, "value": "icon", - "start": 15483, - "end": 15487, + "start": 15445, + "end": 15449, "loc": { "start": { - "line": 431, + "line": 430, "column": 20 }, "end": { - "line": 431, + "line": 430, "column": 24 } } @@ -61956,15 +61701,15 @@ "binop": null, "updateContext": null }, - "start": 15487, - "end": 15488, + "start": 15449, + "end": 15450, "loc": { "start": { - "line": 431, + "line": 430, "column": 24 }, "end": { - "line": 431, + "line": 430, "column": 25 } } @@ -61982,15 +61727,15 @@ "binop": null }, "value": "getName", - "start": 15488, - "end": 15495, + "start": 15450, + "end": 15457, "loc": { "start": { - "line": 431, + "line": 430, "column": 25 }, "end": { - "line": 431, + "line": 430, "column": 32 } } @@ -62007,15 +61752,15 @@ "postfix": false, "binop": null }, - "start": 15495, - "end": 15496, + "start": 15457, + "end": 15458, "loc": { "start": { - "line": 431, + "line": 430, "column": 32 }, "end": { - "line": 431, + "line": 430, "column": 33 } } @@ -62032,15 +61777,15 @@ "postfix": false, "binop": null }, - "start": 15496, - "end": 15497, + "start": 15458, + "end": 15459, "loc": { "start": { - "line": 431, + "line": 430, "column": 33 }, "end": { - "line": 431, + "line": 430, "column": 34 } } @@ -62059,15 +61804,15 @@ "updateContext": null }, "value": "===", - "start": 15498, - "end": 15501, + "start": 15460, + "end": 15463, "loc": { "start": { - "line": 431, + "line": 430, "column": 35 }, "end": { - "line": 431, + "line": 430, "column": 38 } } @@ -62085,15 +61830,15 @@ "binop": null }, "value": "pName", - "start": 15502, - "end": 15507, + "start": 15464, + "end": 15469, "loc": { "start": { - "line": 431, + "line": 430, "column": 39 }, "end": { - "line": 431, + "line": 430, "column": 44 } } @@ -62110,15 +61855,15 @@ "postfix": false, "binop": null }, - "start": 15507, - "end": 15508, + "start": 15469, + "end": 15470, "loc": { "start": { - "line": 431, + "line": 430, "column": 44 }, "end": { - "line": 431, + "line": 430, "column": 45 } } @@ -62135,15 +61880,15 @@ "postfix": false, "binop": null }, - "start": 15509, - "end": 15510, + "start": 15471, + "end": 15472, "loc": { "start": { - "line": 431, + "line": 430, "column": 46 }, "end": { - "line": 431, + "line": 430, "column": 47 } } @@ -62163,15 +61908,15 @@ "updateContext": null }, "value": "return", - "start": 15532, - "end": 15538, + "start": 15494, + "end": 15500, "loc": { "start": { - "line": 432, + "line": 431, "column": 20 }, "end": { - "line": 432, + "line": 431, "column": 26 } } @@ -62189,15 +61934,15 @@ "binop": null }, "value": "icon", - "start": 15539, - "end": 15543, + "start": 15501, + "end": 15505, "loc": { "start": { - "line": 432, + "line": 431, "column": 27 }, "end": { - "line": 432, + "line": 431, "column": 31 } } @@ -62215,15 +61960,15 @@ "binop": null, "updateContext": null }, - "start": 15543, - "end": 15544, + "start": 15505, + "end": 15506, "loc": { "start": { - "line": 432, + "line": 431, "column": 31 }, "end": { - "line": 432, + "line": 431, "column": 32 } } @@ -62240,15 +61985,15 @@ "postfix": false, "binop": null }, - "start": 15562, - "end": 15563, + "start": 15524, + "end": 15525, "loc": { "start": { - "line": 433, + "line": 432, "column": 16 }, "end": { - "line": 433, + "line": 432, "column": 17 } } @@ -62265,15 +62010,15 @@ "postfix": false, "binop": null }, - "start": 15577, - "end": 15578, + "start": 15539, + "end": 15540, "loc": { "start": { - "line": 434, + "line": 433, "column": 12 }, "end": { - "line": 434, + "line": 433, "column": 13 } } @@ -62290,15 +62035,15 @@ "postfix": false, "binop": null }, - "start": 15588, - "end": 15589, + "start": 15550, + "end": 15551, "loc": { "start": { - "line": 435, + "line": 434, "column": 8 }, "end": { - "line": 435, + "line": 434, "column": 9 } } @@ -62318,15 +62063,15 @@ "updateContext": null }, "value": "else", - "start": 15590, - "end": 15594, + "start": 15552, + "end": 15556, "loc": { "start": { - "line": 435, + "line": 434, "column": 10 }, "end": { - "line": 435, + "line": 434, "column": 14 } } @@ -62343,15 +62088,15 @@ "postfix": false, "binop": null }, - "start": 15595, - "end": 15596, + "start": 15557, + "end": 15558, "loc": { "start": { - "line": 435, + "line": 434, "column": 15 }, "end": { - "line": 435, + "line": 434, "column": 16 } } @@ -62369,15 +62114,15 @@ "binop": null }, "value": "VYI", - "start": 15610, - "end": 15613, + "start": 15572, + "end": 15575, "loc": { "start": { - "line": 436, + "line": 435, "column": 12 }, "end": { - "line": 436, + "line": 435, "column": 15 } } @@ -62395,15 +62140,15 @@ "binop": null, "updateContext": null }, - "start": 15613, - "end": 15614, + "start": 15575, + "end": 15576, "loc": { "start": { - "line": 436, + "line": 435, "column": 15 }, "end": { - "line": 436, + "line": 435, "column": 16 } } @@ -62421,15 +62166,15 @@ "binop": null }, "value": "logger", - "start": 15614, - "end": 15620, + "start": 15576, + "end": 15582, "loc": { "start": { - "line": 436, + "line": 435, "column": 16 }, "end": { - "line": 436, + "line": 435, "column": 22 } } @@ -62447,15 +62192,15 @@ "binop": null, "updateContext": null }, - "start": 15620, - "end": 15621, + "start": 15582, + "end": 15583, "loc": { "start": { - "line": 436, + "line": 435, "column": 22 }, "end": { - "line": 436, + "line": 435, "column": 23 } } @@ -62473,15 +62218,15 @@ "binop": null }, "value": "prefix", - "start": 15621, - "end": 15627, + "start": 15583, + "end": 15589, "loc": { "start": { - "line": 436, + "line": 435, "column": 23 }, "end": { - "line": 436, + "line": 435, "column": 29 } } @@ -62498,15 +62243,15 @@ "postfix": false, "binop": null }, - "start": 15627, - "end": 15628, + "start": 15589, + "end": 15590, "loc": { "start": { - "line": 436, + "line": 435, "column": 29 }, "end": { - "line": 436, + "line": 435, "column": 30 } } @@ -62525,15 +62270,15 @@ "updateContext": null }, "value": "VYI-module", - "start": 15628, - "end": 15640, + "start": 15590, + "end": 15602, "loc": { "start": { - "line": 436, + "line": 435, "column": 30 }, "end": { - "line": 436, + "line": 435, "column": 42 } } @@ -62550,15 +62295,15 @@ "postfix": false, "binop": null }, - "start": 15640, - "end": 15641, + "start": 15602, + "end": 15603, "loc": { "start": { - "line": 436, + "line": 435, "column": 42 }, "end": { - "line": 436, + "line": 435, "column": 43 } } @@ -62576,15 +62321,15 @@ "binop": null, "updateContext": null }, - "start": 15641, - "end": 15642, + "start": 15603, + "end": 15604, "loc": { "start": { - "line": 436, + "line": 435, "column": 43 }, "end": { - "line": 436, + "line": 435, "column": 44 } } @@ -62602,15 +62347,15 @@ "binop": null }, "value": "error", - "start": 15642, - "end": 15647, + "start": 15604, + "end": 15609, "loc": { "start": { - "line": 436, + "line": 435, "column": 44 }, "end": { - "line": 436, + "line": 435, "column": 49 } } @@ -62627,15 +62372,15 @@ "postfix": false, "binop": null }, - "start": 15647, - "end": 15648, + "start": 15609, + "end": 15610, "loc": { "start": { - "line": 436, + "line": 435, "column": 49 }, "end": { - "line": 436, + "line": 435, "column": 50 } } @@ -62654,15 +62399,15 @@ "updateContext": null }, "value": "Invalid name type used!", - "start": 15648, - "end": 15673, + "start": 15610, + "end": 15635, "loc": { "start": { - "line": 436, + "line": 435, "column": 50 }, "end": { - "line": 436, + "line": 435, "column": 75 } } @@ -62679,15 +62424,15 @@ "postfix": false, "binop": null }, - "start": 15673, - "end": 15674, + "start": 15635, + "end": 15636, "loc": { "start": { - "line": 436, + "line": 435, "column": 75 }, "end": { - "line": 436, + "line": 435, "column": 76 } } @@ -62705,15 +62450,15 @@ "binop": null, "updateContext": null }, - "start": 15674, - "end": 15675, + "start": 15636, + "end": 15637, "loc": { "start": { - "line": 436, + "line": 435, "column": 76 }, "end": { - "line": 436, + "line": 435, "column": 77 } } @@ -62730,15 +62475,15 @@ "postfix": false, "binop": null }, - "start": 15685, - "end": 15686, + "start": 15647, + "end": 15648, "loc": { "start": { - "line": 437, + "line": 436, "column": 8 }, "end": { - "line": 437, + "line": 436, "column": 9 } } @@ -62755,15 +62500,15 @@ "postfix": false, "binop": null }, - "start": 15692, - "end": 15693, + "start": 15654, + "end": 15655, "loc": { "start": { - "line": 438, + "line": 437, "column": 4 }, "end": { - "line": 438, + "line": 437, "column": 5 } } @@ -62771,15 +62516,15 @@ { "type": "CommentBlock", "value": "*\r\n * Returns an array of all the states this icons has.\r\n * @returns {Array} An array of states this icon has.\r\n ", - "start": 15699, - "end": 15829, + "start": 15661, + "end": 15791, "loc": { "start": { - "line": 439, + "line": 438, "column": 4 }, "end": { - "line": 442, + "line": 441, "column": 7 } } @@ -62797,15 +62542,15 @@ "binop": null }, "value": "getStates", - "start": 15835, - "end": 15844, + "start": 15797, + "end": 15806, "loc": { "start": { - "line": 443, + "line": 442, "column": 4 }, "end": { - "line": 443, + "line": 442, "column": 13 } } @@ -62822,15 +62567,15 @@ "postfix": false, "binop": null }, - "start": 15844, - "end": 15845, + "start": 15806, + "end": 15807, "loc": { "start": { - "line": 443, + "line": 442, "column": 13 }, "end": { - "line": 443, + "line": 442, "column": 14 } } @@ -62847,15 +62592,15 @@ "postfix": false, "binop": null }, - "start": 15845, - "end": 15846, + "start": 15807, + "end": 15808, "loc": { "start": { - "line": 443, + "line": 442, "column": 14 }, "end": { - "line": 443, + "line": 442, "column": 15 } } @@ -62872,15 +62617,15 @@ "postfix": false, "binop": null }, - "start": 15847, - "end": 15848, + "start": 15809, + "end": 15810, "loc": { "start": { - "line": 443, + "line": 442, "column": 16 }, "end": { - "line": 443, + "line": 442, "column": 17 } } @@ -62900,15 +62645,15 @@ "updateContext": null }, "value": "return", - "start": 15858, - "end": 15864, + "start": 15820, + "end": 15826, "loc": { "start": { - "line": 444, + "line": 443, "column": 8 }, "end": { - "line": 444, + "line": 443, "column": 14 } } @@ -62926,15 +62671,15 @@ "binop": null, "updateContext": null }, - "start": 15865, - "end": 15866, + "start": 15827, + "end": 15828, "loc": { "start": { - "line": 444, + "line": 443, "column": 15 }, "end": { - "line": 444, + "line": 443, "column": 16 } } @@ -62952,15 +62697,15 @@ "binop": null, "updateContext": null }, - "start": 15867, - "end": 15870, + "start": 15829, + "end": 15832, "loc": { "start": { - "line": 444, + "line": 443, "column": 17 }, "end": { - "line": 444, + "line": 443, "column": 20 } } @@ -62980,15 +62725,15 @@ "updateContext": null }, "value": "this", - "start": 15870, - "end": 15874, + "start": 15832, + "end": 15836, "loc": { "start": { - "line": 444, + "line": 443, "column": 20 }, "end": { - "line": 444, + "line": 443, "column": 24 } } @@ -63006,15 +62751,15 @@ "binop": null, "updateContext": null }, - "start": 15874, - "end": 15875, + "start": 15836, + "end": 15837, "loc": { "start": { - "line": 444, + "line": 443, "column": 24 }, "end": { - "line": 444, + "line": 443, "column": 25 } } @@ -63032,15 +62777,15 @@ "binop": null }, "value": "states", - "start": 15875, - "end": 15881, + "start": 15837, + "end": 15843, "loc": { "start": { - "line": 444, + "line": 443, "column": 25 }, "end": { - "line": 444, + "line": 443, "column": 31 } } @@ -63058,15 +62803,15 @@ "binop": null, "updateContext": null }, - "start": 15882, - "end": 15883, + "start": 15844, + "end": 15845, "loc": { "start": { - "line": 444, + "line": 443, "column": 32 }, "end": { - "line": 444, + "line": 443, "column": 33 } } @@ -63084,15 +62829,15 @@ "binop": null, "updateContext": null }, - "start": 15883, - "end": 15884, + "start": 15845, + "end": 15846, "loc": { "start": { - "line": 444, + "line": 443, "column": 33 }, "end": { - "line": 444, + "line": 443, "column": 34 } } @@ -63109,15 +62854,15 @@ "postfix": false, "binop": null }, - "start": 15890, - "end": 15891, + "start": 15852, + "end": 15853, "loc": { "start": { - "line": 445, + "line": 444, "column": 4 }, "end": { - "line": 445, + "line": 444, "column": 5 } } @@ -63125,15 +62870,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets all the states belonging to this icon.\r\n * @private\r\n * @returns {Array} An array containing the state data of all frames.\r\n ", - "start": 15897, - "end": 16053, + "start": 15859, + "end": 16015, "loc": { "start": { - "line": 446, + "line": 445, "column": 4 }, "end": { - "line": 450, + "line": 449, "column": 7 } } @@ -63151,15 +62896,15 @@ "binop": null }, "value": "getStatesData", - "start": 16059, - "end": 16072, + "start": 16021, + "end": 16034, "loc": { "start": { - "line": 451, + "line": 450, "column": 4 }, "end": { - "line": 451, + "line": 450, "column": 17 } } @@ -63176,15 +62921,15 @@ "postfix": false, "binop": null }, - "start": 16072, - "end": 16073, + "start": 16034, + "end": 16035, "loc": { "start": { - "line": 451, + "line": 450, "column": 17 }, "end": { - "line": 451, + "line": 450, "column": 18 } } @@ -63201,15 +62946,15 @@ "postfix": false, "binop": null }, - "start": 16073, - "end": 16074, + "start": 16035, + "end": 16036, "loc": { "start": { - "line": 451, + "line": 450, "column": 18 }, "end": { - "line": 451, + "line": 450, "column": 19 } } @@ -63226,15 +62971,15 @@ "postfix": false, "binop": null }, - "start": 16075, - "end": 16076, + "start": 16037, + "end": 16038, "loc": { "start": { - "line": 451, + "line": 450, "column": 20 }, "end": { - "line": 451, + "line": 450, "column": 21 } } @@ -63254,15 +62999,15 @@ "updateContext": null }, "value": "const", - "start": 16086, - "end": 16091, + "start": 16048, + "end": 16053, "loc": { "start": { - "line": 452, + "line": 451, "column": 8 }, "end": { - "line": 452, + "line": 451, "column": 13 } } @@ -63280,15 +63025,15 @@ "binop": null }, "value": "stateDataArray", - "start": 16092, - "end": 16106, + "start": 16054, + "end": 16068, "loc": { "start": { - "line": 452, + "line": 451, "column": 14 }, "end": { - "line": 452, + "line": 451, "column": 28 } } @@ -63307,15 +63052,15 @@ "updateContext": null }, "value": "=", - "start": 16107, - "end": 16108, + "start": 16069, + "end": 16070, "loc": { "start": { - "line": 452, + "line": 451, "column": 29 }, "end": { - "line": 452, + "line": 451, "column": 30 } } @@ -63333,15 +63078,15 @@ "binop": null, "updateContext": null }, - "start": 16109, - "end": 16110, + "start": 16071, + "end": 16072, "loc": { "start": { - "line": 452, + "line": 451, "column": 31 }, "end": { - "line": 452, + "line": 451, "column": 32 } } @@ -63359,15 +63104,15 @@ "binop": null, "updateContext": null }, - "start": 16110, - "end": 16111, + "start": 16072, + "end": 16073, "loc": { "start": { - "line": 452, + "line": 451, "column": 32 }, "end": { - "line": 452, + "line": 451, "column": 33 } } @@ -63385,15 +63130,15 @@ "binop": null, "updateContext": null }, - "start": 16111, - "end": 16112, + "start": 16073, + "end": 16074, "loc": { "start": { - "line": 452, + "line": 451, "column": 33 }, "end": { - "line": 452, + "line": 451, "column": 34 } } @@ -63401,15 +63146,15 @@ { "type": "CommentLine", "value": " Loop state array to export relevant information.", - "start": 16122, - "end": 16173, + "start": 16084, + "end": 16135, "loc": { "start": { - "line": 453, + "line": 452, "column": 8 }, "end": { - "line": 453, + "line": 452, "column": 59 } } @@ -63429,15 +63174,15 @@ "updateContext": null }, "value": "this", - "start": 16183, - "end": 16187, + "start": 16145, + "end": 16149, "loc": { "start": { - "line": 454, + "line": 453, "column": 8 }, "end": { - "line": 454, + "line": 453, "column": 12 } } @@ -63455,15 +63200,15 @@ "binop": null, "updateContext": null }, - "start": 16187, - "end": 16188, + "start": 16149, + "end": 16150, "loc": { "start": { - "line": 454, + "line": 453, "column": 12 }, "end": { - "line": 454, + "line": 453, "column": 13 } } @@ -63481,15 +63226,15 @@ "binop": null }, "value": "states", - "start": 16188, - "end": 16194, + "start": 16150, + "end": 16156, "loc": { "start": { - "line": 454, + "line": 453, "column": 13 }, "end": { - "line": 454, + "line": 453, "column": 19 } } @@ -63507,15 +63252,15 @@ "binop": null, "updateContext": null }, - "start": 16194, - "end": 16195, + "start": 16156, + "end": 16157, "loc": { "start": { - "line": 454, + "line": 453, "column": 19 }, "end": { - "line": 454, + "line": 453, "column": 20 } } @@ -63533,15 +63278,15 @@ "binop": null }, "value": "forEach", - "start": 16195, - "end": 16202, + "start": 16157, + "end": 16164, "loc": { "start": { - "line": 454, + "line": 453, "column": 20 }, "end": { - "line": 454, + "line": 453, "column": 27 } } @@ -63558,15 +63303,15 @@ "postfix": false, "binop": null }, - "start": 16202, - "end": 16203, + "start": 16164, + "end": 16165, "loc": { "start": { - "line": 454, + "line": 453, "column": 27 }, "end": { - "line": 454, + "line": 453, "column": 28 } } @@ -63583,15 +63328,15 @@ "postfix": false, "binop": null }, - "start": 16203, - "end": 16204, + "start": 16165, + "end": 16166, "loc": { "start": { - "line": 454, + "line": 453, "column": 28 }, "end": { - "line": 454, + "line": 453, "column": 29 } } @@ -63609,15 +63354,15 @@ "binop": null }, "value": "pState", - "start": 16204, - "end": 16210, + "start": 16166, + "end": 16172, "loc": { "start": { - "line": 454, + "line": 453, "column": 29 }, "end": { - "line": 454, + "line": 453, "column": 35 } } @@ -63634,15 +63379,15 @@ "postfix": false, "binop": null }, - "start": 16210, - "end": 16211, + "start": 16172, + "end": 16173, "loc": { "start": { - "line": 454, + "line": 453, "column": 35 }, "end": { - "line": 454, + "line": 453, "column": 36 } } @@ -63660,15 +63405,15 @@ "binop": null, "updateContext": null }, - "start": 16212, - "end": 16214, + "start": 16174, + "end": 16176, "loc": { "start": { - "line": 454, + "line": 453, "column": 37 }, "end": { - "line": 454, + "line": 453, "column": 39 } } @@ -63685,15 +63430,15 @@ "postfix": false, "binop": null }, - "start": 16215, - "end": 16216, + "start": 16177, + "end": 16178, "loc": { "start": { - "line": 454, + "line": 453, "column": 40 }, "end": { - "line": 454, + "line": 453, "column": 41 } } @@ -63711,15 +63456,15 @@ "binop": null }, "value": "stateDataArray", - "start": 16230, - "end": 16244, + "start": 16192, + "end": 16206, "loc": { "start": { - "line": 455, + "line": 454, "column": 12 }, "end": { - "line": 455, + "line": 454, "column": 26 } } @@ -63737,15 +63482,15 @@ "binop": null, "updateContext": null }, - "start": 16244, - "end": 16245, + "start": 16206, + "end": 16207, "loc": { "start": { - "line": 455, + "line": 454, "column": 26 }, "end": { - "line": 455, + "line": 454, "column": 27 } } @@ -63763,15 +63508,15 @@ "binop": null }, "value": "push", - "start": 16245, - "end": 16249, + "start": 16207, + "end": 16211, "loc": { "start": { - "line": 455, + "line": 454, "column": 27 }, "end": { - "line": 455, + "line": 454, "column": 31 } } @@ -63788,15 +63533,15 @@ "postfix": false, "binop": null }, - "start": 16249, - "end": 16250, + "start": 16211, + "end": 16212, "loc": { "start": { - "line": 455, + "line": 454, "column": 31 }, "end": { - "line": 455, + "line": 454, "column": 32 } } @@ -63814,15 +63559,15 @@ "binop": null }, "value": "pState", - "start": 16250, - "end": 16256, + "start": 16212, + "end": 16218, "loc": { "start": { - "line": 455, + "line": 454, "column": 32 }, "end": { - "line": 455, + "line": 454, "column": 38 } } @@ -63840,15 +63585,15 @@ "binop": null, "updateContext": null }, - "start": 16256, - "end": 16257, + "start": 16218, + "end": 16219, "loc": { "start": { - "line": 455, + "line": 454, "column": 38 }, "end": { - "line": 455, + "line": 454, "column": 39 } } @@ -63866,15 +63611,15 @@ "binop": null }, "value": "exportAsState", - "start": 16257, - "end": 16270, + "start": 16219, + "end": 16232, "loc": { "start": { - "line": 455, + "line": 454, "column": 39 }, "end": { - "line": 455, + "line": 454, "column": 52 } } @@ -63891,15 +63636,15 @@ "postfix": false, "binop": null }, - "start": 16270, - "end": 16271, + "start": 16232, + "end": 16233, "loc": { "start": { - "line": 455, + "line": 454, "column": 52 }, "end": { - "line": 455, + "line": 454, "column": 53 } } @@ -63916,15 +63661,15 @@ "postfix": false, "binop": null }, - "start": 16271, - "end": 16272, + "start": 16233, + "end": 16234, "loc": { "start": { - "line": 455, + "line": 454, "column": 53 }, "end": { - "line": 455, + "line": 454, "column": 54 } } @@ -63941,15 +63686,15 @@ "postfix": false, "binop": null }, - "start": 16272, - "end": 16273, + "start": 16234, + "end": 16235, "loc": { "start": { - "line": 455, + "line": 454, "column": 54 }, "end": { - "line": 455, + "line": 454, "column": 55 } } @@ -63967,15 +63712,15 @@ "binop": null, "updateContext": null }, - "start": 16273, - "end": 16274, + "start": 16235, + "end": 16236, "loc": { "start": { - "line": 455, + "line": 454, "column": 55 }, "end": { - "line": 455, + "line": 454, "column": 56 } } @@ -63992,15 +63737,15 @@ "postfix": false, "binop": null }, - "start": 16284, - "end": 16285, + "start": 16246, + "end": 16247, "loc": { "start": { - "line": 456, + "line": 455, "column": 8 }, "end": { - "line": 456, + "line": 455, "column": 9 } } @@ -64017,15 +63762,15 @@ "postfix": false, "binop": null }, - "start": 16285, - "end": 16286, + "start": 16247, + "end": 16248, "loc": { "start": { - "line": 456, + "line": 455, "column": 9 }, "end": { - "line": 456, + "line": 455, "column": 10 } } @@ -64043,15 +63788,15 @@ "binop": null, "updateContext": null }, - "start": 16286, - "end": 16287, + "start": 16248, + "end": 16249, "loc": { "start": { - "line": 456, + "line": 455, "column": 10 }, "end": { - "line": 456, + "line": 455, "column": 11 } } @@ -64071,15 +63816,15 @@ "updateContext": null }, "value": "return", - "start": 16297, - "end": 16303, + "start": 16259, + "end": 16265, "loc": { "start": { - "line": 457, + "line": 456, "column": 8 }, "end": { - "line": 457, + "line": 456, "column": 14 } } @@ -64097,15 +63842,15 @@ "binop": null }, "value": "stateDataArray", - "start": 16304, - "end": 16318, + "start": 16266, + "end": 16280, "loc": { "start": { - "line": 457, + "line": 456, "column": 15 }, "end": { - "line": 457, + "line": 456, "column": 29 } } @@ -64123,15 +63868,15 @@ "binop": null, "updateContext": null }, - "start": 16318, - "end": 16319, + "start": 16280, + "end": 16281, "loc": { "start": { - "line": 457, + "line": 456, "column": 29 }, "end": { - "line": 457, + "line": 456, "column": 30 } } @@ -64148,15 +63893,15 @@ "postfix": false, "binop": null }, - "start": 16333, - "end": 16334, + "start": 16295, + "end": 16296, "loc": { "start": { - "line": 458, + "line": 457, "column": 4 }, "end": { - "line": 458, + "line": 457, "column": 5 } } @@ -64164,15 +63909,15 @@ { "type": "CommentBlock", "value": "*\r\n * Exports this icon as if it was a state in the proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this icon as if it were a state.\r\n ", - "start": 16340, - "end": 16528, + "start": 16302, + "end": 16490, "loc": { "start": { - "line": 459, + "line": 458, "column": 4 }, "end": { - "line": 463, + "line": 462, "column": 7 } } @@ -64190,15 +63935,15 @@ "binop": null }, "value": "exportAsState", - "start": 16534, - "end": 16547, + "start": 16496, + "end": 16509, "loc": { "start": { - "line": 464, + "line": 463, "column": 4 }, "end": { - "line": 464, + "line": 463, "column": 17 } } @@ -64215,15 +63960,15 @@ "postfix": false, "binop": null }, - "start": 16547, - "end": 16548, + "start": 16509, + "end": 16510, "loc": { "start": { - "line": 464, + "line": 463, "column": 17 }, "end": { - "line": 464, + "line": 463, "column": 18 } } @@ -64240,15 +63985,15 @@ "postfix": false, "binop": null }, - "start": 16548, - "end": 16549, + "start": 16510, + "end": 16511, "loc": { "start": { - "line": 464, + "line": 463, "column": 18 }, "end": { - "line": 464, + "line": 463, "column": 19 } } @@ -64265,15 +64010,15 @@ "postfix": false, "binop": null }, - "start": 16550, - "end": 16551, + "start": 16512, + "end": 16513, "loc": { "start": { - "line": 464, + "line": 463, "column": 20 }, "end": { - "line": 464, + "line": 463, "column": 21 } } @@ -64293,15 +64038,15 @@ "updateContext": null }, "value": "const", - "start": 16561, - "end": 16566, + "start": 16523, + "end": 16528, "loc": { "start": { - "line": 465, + "line": 464, "column": 8 }, "end": { - "line": 465, + "line": 464, "column": 13 } } @@ -64319,15 +64064,15 @@ "binop": null }, "value": "stateData", - "start": 16567, - "end": 16576, + "start": 16529, + "end": 16538, "loc": { "start": { - "line": 465, + "line": 464, "column": 14 }, "end": { - "line": 465, + "line": 464, "column": 23 } } @@ -64346,15 +64091,15 @@ "updateContext": null }, "value": "=", - "start": 16577, - "end": 16578, + "start": 16539, + "end": 16540, "loc": { "start": { - "line": 465, + "line": 464, "column": 24 }, "end": { - "line": 465, + "line": 464, "column": 25 } } @@ -64372,15 +64117,15 @@ "binop": null, "updateContext": null }, - "start": 16579, - "end": 16580, + "start": 16541, + "end": 16542, "loc": { "start": { - "line": 465, + "line": 464, "column": 26 }, "end": { - "line": 465, + "line": 464, "column": 27 } } @@ -64398,15 +64143,15 @@ "binop": null, "updateContext": null }, - "start": 16580, - "end": 16581, + "start": 16542, + "end": 16543, "loc": { "start": { - "line": 465, + "line": 464, "column": 27 }, "end": { - "line": 465, + "line": 464, "column": 28 } } @@ -64424,15 +64169,15 @@ "binop": null, "updateContext": null }, - "start": 16581, - "end": 16582, + "start": 16543, + "end": 16544, "loc": { "start": { - "line": 465, + "line": 464, "column": 28 }, "end": { - "line": 465, + "line": 464, "column": 29 } } @@ -64440,15 +64185,15 @@ { "type": "CommentLine", "value": " state name", - "start": 16592, - "end": 16605, + "start": 16554, + "end": 16567, "loc": { "start": { - "line": 466, + "line": 465, "column": 8 }, "end": { - "line": 466, + "line": 465, "column": 21 } } @@ -64466,15 +64211,15 @@ "binop": null }, "value": "stateData", - "start": 16615, - "end": 16624, + "start": 16577, + "end": 16586, "loc": { "start": { - "line": 467, + "line": 466, "column": 8 }, "end": { - "line": 467, + "line": 466, "column": 17 } } @@ -64492,15 +64237,15 @@ "binop": null, "updateContext": null }, - "start": 16624, - "end": 16625, + "start": 16586, + "end": 16587, "loc": { "start": { - "line": 467, + "line": 466, "column": 17 }, "end": { - "line": 467, + "line": 466, "column": 18 } } @@ -64519,15 +64264,15 @@ "updateContext": null }, "value": 0, - "start": 16625, - "end": 16626, + "start": 16587, + "end": 16588, "loc": { "start": { - "line": 467, + "line": 466, "column": 18 }, "end": { - "line": 467, + "line": 466, "column": 19 } } @@ -64545,15 +64290,15 @@ "binop": null, "updateContext": null }, - "start": 16626, - "end": 16627, + "start": 16588, + "end": 16589, "loc": { "start": { - "line": 467, + "line": 466, "column": 19 }, "end": { - "line": 467, + "line": 466, "column": 20 } } @@ -64572,15 +64317,15 @@ "updateContext": null }, "value": "=", - "start": 16628, - "end": 16629, + "start": 16590, + "end": 16591, "loc": { "start": { - "line": 467, + "line": 466, "column": 21 }, "end": { - "line": 467, + "line": 466, "column": 22 } } @@ -64600,15 +64345,15 @@ "updateContext": null }, "value": "this", - "start": 16630, - "end": 16634, + "start": 16592, + "end": 16596, "loc": { "start": { - "line": 467, + "line": 466, "column": 23 }, "end": { - "line": 467, + "line": 466, "column": 27 } } @@ -64626,15 +64371,15 @@ "binop": null, "updateContext": null }, - "start": 16634, - "end": 16635, + "start": 16596, + "end": 16597, "loc": { "start": { - "line": 467, + "line": 466, "column": 27 }, "end": { - "line": 467, + "line": 466, "column": 28 } } @@ -64652,15 +64397,15 @@ "binop": null }, "value": "getName", - "start": 16635, - "end": 16642, + "start": 16597, + "end": 16604, "loc": { "start": { - "line": 467, + "line": 466, "column": 28 }, "end": { - "line": 467, + "line": 466, "column": 35 } } @@ -64677,15 +64422,15 @@ "postfix": false, "binop": null }, - "start": 16642, - "end": 16643, + "start": 16604, + "end": 16605, "loc": { "start": { - "line": 467, + "line": 466, "column": 35 }, "end": { - "line": 467, + "line": 466, "column": 36 } } @@ -64702,15 +64447,15 @@ "postfix": false, "binop": null }, - "start": 16643, - "end": 16644, + "start": 16605, + "end": 16606, "loc": { "start": { - "line": 467, + "line": 466, "column": 36 }, "end": { - "line": 467, + "line": 466, "column": 37 } } @@ -64728,15 +64473,15 @@ "binop": null, "updateContext": null }, - "start": 16644, - "end": 16645, + "start": 16606, + "end": 16607, "loc": { "start": { - "line": 467, + "line": 466, "column": 37 }, "end": { - "line": 467, + "line": 466, "column": 38 } } @@ -64744,15 +64489,15 @@ { "type": "CommentLine", "value": " state dataURL", - "start": 16655, - "end": 16671, + "start": 16617, + "end": 16633, "loc": { "start": { - "line": 468, + "line": 467, "column": 8 }, "end": { - "line": 468, + "line": 467, "column": 24 } } @@ -64770,15 +64515,15 @@ "binop": null }, "value": "stateData", - "start": 16681, - "end": 16690, + "start": 16643, + "end": 16652, "loc": { "start": { - "line": 469, + "line": 468, "column": 8 }, "end": { - "line": 469, + "line": 468, "column": 17 } } @@ -64796,15 +64541,15 @@ "binop": null, "updateContext": null }, - "start": 16690, - "end": 16691, + "start": 16652, + "end": 16653, "loc": { "start": { - "line": 469, + "line": 468, "column": 17 }, "end": { - "line": 469, + "line": 468, "column": 18 } } @@ -64823,15 +64568,15 @@ "updateContext": null }, "value": 1, - "start": 16691, - "end": 16692, + "start": 16653, + "end": 16654, "loc": { "start": { - "line": 469, + "line": 468, "column": 18 }, "end": { - "line": 469, + "line": 468, "column": 19 } } @@ -64849,15 +64594,15 @@ "binop": null, "updateContext": null }, - "start": 16692, - "end": 16693, + "start": 16654, + "end": 16655, "loc": { "start": { - "line": 469, + "line": 468, "column": 19 }, "end": { - "line": 469, + "line": 468, "column": 20 } } @@ -64876,15 +64621,15 @@ "updateContext": null }, "value": "=", - "start": 16694, - "end": 16695, + "start": 16656, + "end": 16657, "loc": { "start": { - "line": 469, + "line": 468, "column": 21 }, "end": { - "line": 469, + "line": 468, "column": 22 } } @@ -64904,15 +64649,15 @@ "updateContext": null }, "value": "this", - "start": 16696, - "end": 16700, + "start": 16658, + "end": 16662, "loc": { "start": { - "line": 469, + "line": 468, "column": 23 }, "end": { - "line": 469, + "line": 468, "column": 27 } } @@ -64930,15 +64675,15 @@ "binop": null, "updateContext": null }, - "start": 16700, - "end": 16701, + "start": 16662, + "end": 16663, "loc": { "start": { - "line": 469, + "line": 468, "column": 27 }, "end": { - "line": 469, + "line": 468, "column": 28 } } @@ -64956,15 +64701,15 @@ "binop": null }, "value": "getDataURL", - "start": 16701, - "end": 16711, + "start": 16663, + "end": 16673, "loc": { "start": { - "line": 469, + "line": 468, "column": 28 }, "end": { - "line": 469, + "line": 468, "column": 38 } } @@ -64981,15 +64726,15 @@ "postfix": false, "binop": null }, - "start": 16711, - "end": 16712, + "start": 16673, + "end": 16674, "loc": { "start": { - "line": 469, + "line": 468, "column": 38 }, "end": { - "line": 469, + "line": 468, "column": 39 } } @@ -65006,15 +64751,15 @@ "postfix": false, "binop": null }, - "start": 16712, - "end": 16713, + "start": 16674, + "end": 16675, "loc": { "start": { - "line": 469, + "line": 468, "column": 39 }, "end": { - "line": 469, + "line": 468, "column": 40 } } @@ -65032,15 +64777,15 @@ "binop": null, "updateContext": null }, - "start": 16713, - "end": 16714, + "start": 16675, + "end": 16676, "loc": { "start": { - "line": 469, + "line": 468, "column": 40 }, "end": { - "line": 469, + "line": 468, "column": 41 } } @@ -65048,15 +64793,15 @@ { "type": "CommentLine", "value": " state frame delay", - "start": 16724, - "end": 16744, + "start": 16686, + "end": 16706, "loc": { "start": { - "line": 470, + "line": 469, "column": 8 }, "end": { - "line": 470, + "line": 469, "column": 28 } } @@ -65074,15 +64819,15 @@ "binop": null }, "value": "stateData", - "start": 16754, - "end": 16763, + "start": 16716, + "end": 16725, "loc": { "start": { - "line": 471, + "line": 470, "column": 8 }, "end": { - "line": 471, + "line": 470, "column": 17 } } @@ -65100,15 +64845,15 @@ "binop": null, "updateContext": null }, - "start": 16763, - "end": 16764, + "start": 16725, + "end": 16726, "loc": { "start": { - "line": 471, + "line": 470, "column": 17 }, "end": { - "line": 471, + "line": 470, "column": 18 } } @@ -65127,15 +64872,15 @@ "updateContext": null }, "value": 2, - "start": 16764, - "end": 16765, + "start": 16726, + "end": 16727, "loc": { "start": { - "line": 471, + "line": 470, "column": 18 }, "end": { - "line": 471, + "line": 470, "column": 19 } } @@ -65153,15 +64898,15 @@ "binop": null, "updateContext": null }, - "start": 16765, - "end": 16766, + "start": 16727, + "end": 16728, "loc": { "start": { - "line": 471, + "line": 470, "column": 19 }, "end": { - "line": 471, + "line": 470, "column": 20 } } @@ -65180,15 +64925,15 @@ "updateContext": null }, "value": "=", - "start": 16767, - "end": 16768, + "start": 16729, + "end": 16730, "loc": { "start": { - "line": 471, + "line": 470, "column": 21 }, "end": { - "line": 471, + "line": 470, "column": 22 } } @@ -65208,15 +64953,15 @@ "updateContext": null }, "value": "this", - "start": 16769, - "end": 16773, + "start": 16731, + "end": 16735, "loc": { "start": { - "line": 471, + "line": 470, "column": 23 }, "end": { - "line": 471, + "line": 470, "column": 27 } } @@ -65234,15 +64979,15 @@ "binop": null, "updateContext": null }, - "start": 16773, - "end": 16774, + "start": 16735, + "end": 16736, "loc": { "start": { - "line": 471, + "line": 470, "column": 27 }, "end": { - "line": 471, + "line": 470, "column": 28 } } @@ -65260,15 +65005,15 @@ "binop": null }, "value": "getDelay", - "start": 16774, - "end": 16782, + "start": 16736, + "end": 16744, "loc": { "start": { - "line": 471, + "line": 470, "column": 28 }, "end": { - "line": 471, + "line": 470, "column": 36 } } @@ -65285,15 +65030,15 @@ "postfix": false, "binop": null }, - "start": 16782, - "end": 16783, + "start": 16744, + "end": 16745, "loc": { "start": { - "line": 471, + "line": 470, "column": 36 }, "end": { - "line": 471, + "line": 470, "column": 37 } } @@ -65310,15 +65055,15 @@ "postfix": false, "binop": null }, - "start": 16783, - "end": 16784, + "start": 16745, + "end": 16746, "loc": { "start": { - "line": 471, + "line": 470, "column": 37 }, "end": { - "line": 471, + "line": 470, "column": 38 } } @@ -65336,15 +65081,15 @@ "binop": null, "updateContext": null }, - "start": 16784, - "end": 16785, + "start": 16746, + "end": 16747, "loc": { "start": { - "line": 471, + "line": 470, "column": 38 }, "end": { - "line": 471, + "line": 470, "column": 39 } } @@ -65352,15 +65097,15 @@ { "type": "CommentLine", "value": " state frame array", - "start": 16795, - "end": 16815, + "start": 16757, + "end": 16777, "loc": { "start": { - "line": 472, + "line": 471, "column": 8 }, "end": { - "line": 472, + "line": 471, "column": 28 } } @@ -65378,15 +65123,15 @@ "binop": null }, "value": "stateData", - "start": 16825, - "end": 16834, + "start": 16787, + "end": 16796, "loc": { "start": { - "line": 473, + "line": 472, "column": 8 }, "end": { - "line": 473, + "line": 472, "column": 17 } } @@ -65404,15 +65149,15 @@ "binop": null, "updateContext": null }, - "start": 16834, - "end": 16835, + "start": 16796, + "end": 16797, "loc": { "start": { - "line": 473, + "line": 472, "column": 17 }, "end": { - "line": 473, + "line": 472, "column": 18 } } @@ -65431,15 +65176,15 @@ "updateContext": null }, "value": 3, - "start": 16835, - "end": 16836, + "start": 16797, + "end": 16798, "loc": { "start": { - "line": 473, + "line": 472, "column": 18 }, "end": { - "line": 473, + "line": 472, "column": 19 } } @@ -65457,15 +65202,15 @@ "binop": null, "updateContext": null }, - "start": 16836, - "end": 16837, + "start": 16798, + "end": 16799, "loc": { "start": { - "line": 473, + "line": 472, "column": 19 }, "end": { - "line": 473, + "line": 472, "column": 20 } } @@ -65484,15 +65229,15 @@ "updateContext": null }, "value": "=", - "start": 16838, - "end": 16839, + "start": 16800, + "end": 16801, "loc": { "start": { - "line": 473, + "line": 472, "column": 21 }, "end": { - "line": 473, + "line": 472, "column": 22 } } @@ -65510,15 +65255,15 @@ "binop": null, "updateContext": null }, - "start": 16840, - "end": 16841, + "start": 16802, + "end": 16803, "loc": { "start": { - "line": 473, + "line": 472, "column": 23 }, "end": { - "line": 473, + "line": 472, "column": 24 } } @@ -65536,15 +65281,15 @@ "binop": null, "updateContext": null }, - "start": 16841, - "end": 16842, + "start": 16803, + "end": 16804, "loc": { "start": { - "line": 473, + "line": 472, "column": 24 }, "end": { - "line": 473, + "line": 472, "column": 25 } } @@ -65562,15 +65307,15 @@ "binop": null, "updateContext": null }, - "start": 16842, - "end": 16843, + "start": 16804, + "end": 16805, "loc": { "start": { - "line": 473, + "line": 472, "column": 25 }, "end": { - "line": 473, + "line": 472, "column": 26 } } @@ -65578,15 +65323,15 @@ { "type": "CommentLine", "value": " Loop frame array to export relevant information.", - "start": 16855, - "end": 16906, + "start": 16817, + "end": 16868, "loc": { "start": { - "line": 475, + "line": 474, "column": 8 }, "end": { - "line": 475, + "line": 474, "column": 59 } } @@ -65606,15 +65351,15 @@ "updateContext": null }, "value": "this", - "start": 16916, - "end": 16920, + "start": 16878, + "end": 16882, "loc": { "start": { - "line": 476, + "line": 475, "column": 8 }, "end": { - "line": 476, + "line": 475, "column": 12 } } @@ -65632,15 +65377,15 @@ "binop": null, "updateContext": null }, - "start": 16920, - "end": 16921, + "start": 16882, + "end": 16883, "loc": { "start": { - "line": 476, + "line": 475, "column": 12 }, "end": { - "line": 476, + "line": 475, "column": 13 } } @@ -65658,15 +65403,15 @@ "binop": null }, "value": "frames", - "start": 16921, - "end": 16927, + "start": 16883, + "end": 16889, "loc": { "start": { - "line": 476, + "line": 475, "column": 13 }, "end": { - "line": 476, + "line": 475, "column": 19 } } @@ -65684,15 +65429,15 @@ "binop": null, "updateContext": null }, - "start": 16927, - "end": 16928, + "start": 16889, + "end": 16890, "loc": { "start": { - "line": 476, + "line": 475, "column": 19 }, "end": { - "line": 476, + "line": 475, "column": 20 } } @@ -65710,15 +65455,15 @@ "binop": null }, "value": "forEach", - "start": 16928, - "end": 16935, + "start": 16890, + "end": 16897, "loc": { "start": { - "line": 476, + "line": 475, "column": 20 }, "end": { - "line": 476, + "line": 475, "column": 27 } } @@ -65735,15 +65480,15 @@ "postfix": false, "binop": null }, - "start": 16935, - "end": 16936, + "start": 16897, + "end": 16898, "loc": { "start": { - "line": 476, + "line": 475, "column": 27 }, "end": { - "line": 476, + "line": 475, "column": 28 } } @@ -65760,15 +65505,15 @@ "postfix": false, "binop": null }, - "start": 16936, - "end": 16937, + "start": 16898, + "end": 16899, "loc": { "start": { - "line": 476, + "line": 475, "column": 28 }, "end": { - "line": 476, + "line": 475, "column": 29 } } @@ -65786,15 +65531,15 @@ "binop": null }, "value": "pFrame", - "start": 16937, - "end": 16943, + "start": 16899, + "end": 16905, "loc": { "start": { - "line": 476, + "line": 475, "column": 29 }, "end": { - "line": 476, + "line": 475, "column": 35 } } @@ -65811,15 +65556,15 @@ "postfix": false, "binop": null }, - "start": 16943, - "end": 16944, + "start": 16905, + "end": 16906, "loc": { "start": { - "line": 476, + "line": 475, "column": 35 }, "end": { - "line": 476, + "line": 475, "column": 36 } } @@ -65837,15 +65582,15 @@ "binop": null, "updateContext": null }, - "start": 16945, - "end": 16947, + "start": 16907, + "end": 16909, "loc": { "start": { - "line": 476, + "line": 475, "column": 37 }, "end": { - "line": 476, + "line": 475, "column": 39 } } @@ -65862,15 +65607,15 @@ "postfix": false, "binop": null }, - "start": 16948, - "end": 16949, + "start": 16910, + "end": 16911, "loc": { "start": { - "line": 476, + "line": 475, "column": 40 }, "end": { - "line": 476, + "line": 475, "column": 41 } } @@ -65888,15 +65633,15 @@ "binop": null }, "value": "stateData", - "start": 16963, - "end": 16972, + "start": 16925, + "end": 16934, "loc": { "start": { - "line": 477, + "line": 476, "column": 12 }, "end": { - "line": 477, + "line": 476, "column": 21 } } @@ -65914,15 +65659,15 @@ "binop": null, "updateContext": null }, - "start": 16972, - "end": 16973, + "start": 16934, + "end": 16935, "loc": { "start": { - "line": 477, + "line": 476, "column": 21 }, "end": { - "line": 477, + "line": 476, "column": 22 } } @@ -65941,15 +65686,15 @@ "updateContext": null }, "value": 3, - "start": 16973, - "end": 16974, + "start": 16935, + "end": 16936, "loc": { "start": { - "line": 477, + "line": 476, "column": 22 }, "end": { - "line": 477, + "line": 476, "column": 23 } } @@ -65967,15 +65712,15 @@ "binop": null, "updateContext": null }, - "start": 16974, - "end": 16975, + "start": 16936, + "end": 16937, "loc": { "start": { - "line": 477, + "line": 476, "column": 23 }, "end": { - "line": 477, + "line": 476, "column": 24 } } @@ -65993,15 +65738,15 @@ "binop": null, "updateContext": null }, - "start": 16975, - "end": 16976, + "start": 16937, + "end": 16938, "loc": { "start": { - "line": 477, + "line": 476, "column": 24 }, "end": { - "line": 477, + "line": 476, "column": 25 } } @@ -66019,15 +65764,15 @@ "binop": null }, "value": "push", - "start": 16976, - "end": 16980, + "start": 16938, + "end": 16942, "loc": { "start": { - "line": 477, + "line": 476, "column": 25 }, "end": { - "line": 477, + "line": 476, "column": 29 } } @@ -66044,15 +65789,15 @@ "postfix": false, "binop": null }, - "start": 16980, - "end": 16981, + "start": 16942, + "end": 16943, "loc": { "start": { - "line": 477, + "line": 476, "column": 29 }, "end": { - "line": 477, + "line": 476, "column": 30 } } @@ -66070,15 +65815,15 @@ "binop": null }, "value": "pFrame", - "start": 16981, - "end": 16987, + "start": 16943, + "end": 16949, "loc": { "start": { - "line": 477, + "line": 476, "column": 30 }, "end": { - "line": 477, + "line": 476, "column": 36 } } @@ -66096,15 +65841,15 @@ "binop": null, "updateContext": null }, - "start": 16987, - "end": 16988, + "start": 16949, + "end": 16950, "loc": { "start": { - "line": 477, + "line": 476, "column": 36 }, "end": { - "line": 477, + "line": 476, "column": 37 } } @@ -66124,15 +65869,15 @@ "updateContext": null }, "value": "export", - "start": 16988, - "end": 16994, + "start": 16950, + "end": 16956, "loc": { "start": { - "line": 477, + "line": 476, "column": 37 }, "end": { - "line": 477, + "line": 476, "column": 43 } } @@ -66149,15 +65894,15 @@ "postfix": false, "binop": null }, - "start": 16994, - "end": 16995, + "start": 16956, + "end": 16957, "loc": { "start": { - "line": 477, + "line": 476, "column": 43 }, "end": { - "line": 477, + "line": 476, "column": 44 } } @@ -66174,15 +65919,15 @@ "postfix": false, "binop": null }, - "start": 16995, - "end": 16996, + "start": 16957, + "end": 16958, "loc": { "start": { - "line": 477, + "line": 476, "column": 44 }, "end": { - "line": 477, + "line": 476, "column": 45 } } @@ -66199,15 +65944,15 @@ "postfix": false, "binop": null }, - "start": 16996, - "end": 16997, + "start": 16958, + "end": 16959, "loc": { "start": { - "line": 477, + "line": 476, "column": 45 }, "end": { - "line": 477, + "line": 476, "column": 46 } } @@ -66225,15 +65970,15 @@ "binop": null, "updateContext": null }, - "start": 16997, - "end": 16998, + "start": 16959, + "end": 16960, "loc": { "start": { - "line": 477, + "line": 476, "column": 46 }, "end": { - "line": 477, + "line": 476, "column": 47 } } @@ -66250,15 +65995,15 @@ "postfix": false, "binop": null }, - "start": 17008, - "end": 17009, + "start": 16970, + "end": 16971, "loc": { "start": { - "line": 478, + "line": 477, "column": 8 }, "end": { - "line": 478, + "line": 477, "column": 9 } } @@ -66275,15 +66020,15 @@ "postfix": false, "binop": null }, - "start": 17009, - "end": 17010, + "start": 16971, + "end": 16972, "loc": { "start": { - "line": 478, + "line": 477, "column": 9 }, "end": { - "line": 478, + "line": 477, "column": 10 } } @@ -66301,15 +66046,15 @@ "binop": null, "updateContext": null }, - "start": 17010, - "end": 17011, + "start": 16972, + "end": 16973, "loc": { "start": { - "line": 478, + "line": 477, "column": 10 }, "end": { - "line": 478, + "line": 477, "column": 11 } } @@ -66329,15 +66074,15 @@ "updateContext": null }, "value": "return", - "start": 17021, - "end": 17027, + "start": 16983, + "end": 16989, "loc": { "start": { - "line": 479, + "line": 478, "column": 8 }, "end": { - "line": 479, + "line": 478, "column": 14 } } @@ -66355,15 +66100,15 @@ "binop": null }, "value": "stateData", - "start": 17028, - "end": 17037, + "start": 16990, + "end": 16999, "loc": { "start": { - "line": 479, + "line": 478, "column": 15 }, "end": { - "line": 479, + "line": 478, "column": 24 } } @@ -66381,15 +66126,15 @@ "binop": null, "updateContext": null }, - "start": 17037, - "end": 17038, + "start": 16999, + "end": 17000, "loc": { "start": { - "line": 479, + "line": 478, "column": 24 }, "end": { - "line": 479, + "line": 478, "column": 25 } } @@ -66406,15 +66151,15 @@ "postfix": false, "binop": null }, - "start": 17044, - "end": 17045, + "start": 17006, + "end": 17007, "loc": { "start": { - "line": 480, + "line": 479, "column": 4 }, "end": { - "line": 480, + "line": 479, "column": 5 } } @@ -66422,15 +66167,15 @@ { "type": "CommentBlock", "value": "*\r\n * Exports this icon's data into proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this icon in the proper vyi format.\r\n ", - "start": 17051, - "end": 17226, + "start": 17013, + "end": 17188, "loc": { "start": { - "line": 481, + "line": 480, "column": 4 }, "end": { - "line": 485, + "line": 484, "column": 7 } } @@ -66450,15 +66195,15 @@ "updateContext": null }, "value": "export", - "start": 17232, - "end": 17238, + "start": 17194, + "end": 17200, "loc": { "start": { - "line": 486, + "line": 485, "column": 4 }, "end": { - "line": 486, + "line": 485, "column": 10 } } @@ -66475,15 +66220,15 @@ "postfix": false, "binop": null }, - "start": 17238, - "end": 17239, + "start": 17200, + "end": 17201, "loc": { "start": { - "line": 486, + "line": 485, "column": 10 }, "end": { - "line": 486, + "line": 485, "column": 11 } } @@ -66500,15 +66245,15 @@ "postfix": false, "binop": null }, - "start": 17239, - "end": 17240, + "start": 17201, + "end": 17202, "loc": { "start": { - "line": 486, + "line": 485, "column": 11 }, "end": { - "line": 486, + "line": 485, "column": 12 } } @@ -66525,15 +66270,15 @@ "postfix": false, "binop": null }, - "start": 17241, - "end": 17242, + "start": 17203, + "end": 17204, "loc": { "start": { - "line": 486, + "line": 485, "column": 13 }, "end": { - "line": 486, + "line": 485, "column": 14 } } @@ -66553,15 +66298,15 @@ "updateContext": null }, "value": "const", - "start": 17252, - "end": 17257, + "start": 17214, + "end": 17219, "loc": { "start": { - "line": 487, + "line": 486, "column": 8 }, "end": { - "line": 487, + "line": 486, "column": 13 } } @@ -66579,15 +66324,15 @@ "binop": null }, "value": "iconData", - "start": 17258, - "end": 17266, + "start": 17220, + "end": 17228, "loc": { "start": { - "line": 487, + "line": 486, "column": 14 }, "end": { - "line": 487, + "line": 486, "column": 22 } } @@ -66606,15 +66351,15 @@ "updateContext": null }, "value": "=", - "start": 17267, - "end": 17268, + "start": 17229, + "end": 17230, "loc": { "start": { - "line": 487, + "line": 486, "column": 23 }, "end": { - "line": 487, + "line": 486, "column": 24 } } @@ -66632,15 +66377,15 @@ "binop": null, "updateContext": null }, - "start": 17269, - "end": 17270, + "start": 17231, + "end": 17232, "loc": { "start": { - "line": 487, + "line": 486, "column": 25 }, "end": { - "line": 487, + "line": 486, "column": 26 } } @@ -66658,15 +66403,15 @@ "binop": null, "updateContext": null }, - "start": 17270, - "end": 17271, + "start": 17232, + "end": 17233, "loc": { "start": { - "line": 487, + "line": 486, "column": 26 }, "end": { - "line": 487, + "line": 486, "column": 27 } } @@ -66684,15 +66429,15 @@ "binop": null, "updateContext": null }, - "start": 17271, - "end": 17272, + "start": 17233, + "end": 17234, "loc": { "start": { - "line": 487, + "line": 486, "column": 27 }, "end": { - "line": 487, + "line": 486, "column": 28 } } @@ -66700,15 +66445,15 @@ { "type": "CommentLine", "value": " icon name", - "start": 17282, - "end": 17294, + "start": 17244, + "end": 17256, "loc": { "start": { - "line": 488, + "line": 487, "column": 8 }, "end": { - "line": 488, + "line": 487, "column": 20 } } @@ -66726,15 +66471,15 @@ "binop": null }, "value": "iconData", - "start": 17304, - "end": 17312, + "start": 17266, + "end": 17274, "loc": { "start": { - "line": 489, + "line": 488, "column": 8 }, "end": { - "line": 489, + "line": 488, "column": 16 } } @@ -66752,15 +66497,15 @@ "binop": null, "updateContext": null }, - "start": 17312, - "end": 17313, + "start": 17274, + "end": 17275, "loc": { "start": { - "line": 489, + "line": 488, "column": 16 }, "end": { - "line": 489, + "line": 488, "column": 17 } } @@ -66779,15 +66524,15 @@ "updateContext": null }, "value": 0, - "start": 17313, - "end": 17314, + "start": 17275, + "end": 17276, "loc": { "start": { - "line": 489, + "line": 488, "column": 17 }, "end": { - "line": 489, + "line": 488, "column": 18 } } @@ -66805,15 +66550,15 @@ "binop": null, "updateContext": null }, - "start": 17314, - "end": 17315, + "start": 17276, + "end": 17277, "loc": { "start": { - "line": 489, + "line": 488, "column": 18 }, "end": { - "line": 489, + "line": 488, "column": 19 } } @@ -66832,15 +66577,15 @@ "updateContext": null }, "value": "=", - "start": 17316, - "end": 17317, + "start": 17278, + "end": 17279, "loc": { "start": { - "line": 489, + "line": 488, "column": 20 }, "end": { - "line": 489, + "line": 488, "column": 21 } } @@ -66860,15 +66605,15 @@ "updateContext": null }, "value": "this", - "start": 17318, - "end": 17322, + "start": 17280, + "end": 17284, "loc": { "start": { - "line": 489, + "line": 488, "column": 22 }, "end": { - "line": 489, + "line": 488, "column": 26 } } @@ -66886,15 +66631,15 @@ "binop": null, "updateContext": null }, - "start": 17322, - "end": 17323, + "start": 17284, + "end": 17285, "loc": { "start": { - "line": 489, + "line": 488, "column": 26 }, "end": { - "line": 489, + "line": 488, "column": 27 } } @@ -66912,15 +66657,15 @@ "binop": null }, "value": "getName", - "start": 17323, - "end": 17330, + "start": 17285, + "end": 17292, "loc": { "start": { - "line": 489, + "line": 488, "column": 27 }, "end": { - "line": 489, + "line": 488, "column": 34 } } @@ -66937,15 +66682,15 @@ "postfix": false, "binop": null }, - "start": 17330, - "end": 17331, + "start": 17292, + "end": 17293, "loc": { "start": { - "line": 489, + "line": 488, "column": 34 }, "end": { - "line": 489, + "line": 488, "column": 35 } } @@ -66962,15 +66707,15 @@ "postfix": false, "binop": null }, - "start": 17331, - "end": 17332, + "start": 17293, + "end": 17294, "loc": { "start": { - "line": 489, + "line": 488, "column": 35 }, "end": { - "line": 489, + "line": 488, "column": 36 } } @@ -66988,15 +66733,15 @@ "binop": null, "updateContext": null }, - "start": 17332, - "end": 17333, + "start": 17294, + "end": 17295, "loc": { "start": { - "line": 489, + "line": 488, "column": 36 }, "end": { - "line": 489, + "line": 488, "column": 37 } } @@ -67004,15 +66749,15 @@ { "type": "CommentLine", "value": " Get the size of this icon.", - "start": 17343, - "end": 17372, + "start": 17305, + "end": 17334, "loc": { "start": { - "line": 490, + "line": 489, "column": 8 }, "end": { - "line": 490, + "line": 489, "column": 37 } } @@ -67032,15 +66777,15 @@ "updateContext": null }, "value": "const", - "start": 17382, - "end": 17387, + "start": 17344, + "end": 17349, "loc": { "start": { - "line": 491, + "line": 490, "column": 8 }, "end": { - "line": 491, + "line": 490, "column": 13 } } @@ -67058,15 +66803,15 @@ "binop": null }, "value": "size", - "start": 17388, - "end": 17392, + "start": 17350, + "end": 17354, "loc": { "start": { - "line": 491, + "line": 490, "column": 14 }, "end": { - "line": 491, + "line": 490, "column": 18 } } @@ -67085,15 +66830,15 @@ "updateContext": null }, "value": "=", - "start": 17393, - "end": 17394, + "start": 17355, + "end": 17356, "loc": { "start": { - "line": 491, + "line": 490, "column": 19 }, "end": { - "line": 491, + "line": 490, "column": 20 } } @@ -67113,15 +66858,15 @@ "updateContext": null }, "value": "this", - "start": 17395, - "end": 17399, + "start": 17357, + "end": 17361, "loc": { "start": { - "line": 491, + "line": 490, "column": 21 }, "end": { - "line": 491, + "line": 490, "column": 25 } } @@ -67139,15 +66884,15 @@ "binop": null, "updateContext": null }, - "start": 17399, - "end": 17400, + "start": 17361, + "end": 17362, "loc": { "start": { - "line": 491, + "line": 490, "column": 25 }, "end": { - "line": 491, + "line": 490, "column": 26 } } @@ -67165,15 +66910,15 @@ "binop": null }, "value": "getSize", - "start": 17400, - "end": 17407, + "start": 17362, + "end": 17369, "loc": { "start": { - "line": 491, + "line": 490, "column": 26 }, "end": { - "line": 491, + "line": 490, "column": 33 } } @@ -67190,15 +66935,15 @@ "postfix": false, "binop": null }, - "start": 17407, - "end": 17408, + "start": 17369, + "end": 17370, "loc": { "start": { - "line": 491, + "line": 490, "column": 33 }, "end": { - "line": 491, + "line": 490, "column": 34 } } @@ -67215,15 +66960,15 @@ "postfix": false, "binop": null }, - "start": 17408, - "end": 17409, + "start": 17370, + "end": 17371, "loc": { "start": { - "line": 491, + "line": 490, "column": 34 }, "end": { - "line": 491, + "line": 490, "column": 35 } } @@ -67241,15 +66986,15 @@ "binop": null, "updateContext": null }, - "start": 17409, - "end": 17410, + "start": 17371, + "end": 17372, "loc": { "start": { - "line": 491, + "line": 490, "column": 35 }, "end": { - "line": 491, + "line": 490, "column": 36 } } @@ -67257,15 +67002,15 @@ { "type": "CommentLine", "value": " icon width", - "start": 17420, - "end": 17433, + "start": 17382, + "end": 17395, "loc": { "start": { - "line": 492, + "line": 491, "column": 8 }, "end": { - "line": 492, + "line": 491, "column": 21 } } @@ -67283,15 +67028,15 @@ "binop": null }, "value": "iconData", - "start": 17443, - "end": 17451, + "start": 17405, + "end": 17413, "loc": { "start": { - "line": 493, + "line": 492, "column": 8 }, "end": { - "line": 493, + "line": 492, "column": 16 } } @@ -67309,15 +67054,15 @@ "binop": null, "updateContext": null }, - "start": 17451, - "end": 17452, + "start": 17413, + "end": 17414, "loc": { "start": { - "line": 493, + "line": 492, "column": 16 }, "end": { - "line": 493, + "line": 492, "column": 17 } } @@ -67336,15 +67081,15 @@ "updateContext": null }, "value": 1, - "start": 17452, - "end": 17453, + "start": 17414, + "end": 17415, "loc": { "start": { - "line": 493, + "line": 492, "column": 17 }, "end": { - "line": 493, + "line": 492, "column": 18 } } @@ -67362,15 +67107,15 @@ "binop": null, "updateContext": null }, - "start": 17453, - "end": 17454, + "start": 17415, + "end": 17416, "loc": { "start": { - "line": 493, + "line": 492, "column": 18 }, "end": { - "line": 493, + "line": 492, "column": 19 } } @@ -67389,15 +67134,15 @@ "updateContext": null }, "value": "=", - "start": 17455, - "end": 17456, + "start": 17417, + "end": 17418, "loc": { "start": { - "line": 493, + "line": 492, "column": 20 }, "end": { - "line": 493, + "line": 492, "column": 21 } } @@ -67415,15 +67160,15 @@ "binop": null }, "value": "size", - "start": 17457, - "end": 17461, + "start": 17419, + "end": 17423, "loc": { "start": { - "line": 493, + "line": 492, "column": 22 }, "end": { - "line": 493, + "line": 492, "column": 26 } } @@ -67441,15 +67186,15 @@ "binop": null, "updateContext": null }, - "start": 17461, - "end": 17462, + "start": 17423, + "end": 17424, "loc": { "start": { - "line": 493, + "line": 492, "column": 26 }, "end": { - "line": 493, + "line": 492, "column": 27 } } @@ -67467,15 +67212,15 @@ "binop": null }, "value": "width", - "start": 17462, - "end": 17467, + "start": 17424, + "end": 17429, "loc": { "start": { - "line": 493, + "line": 492, "column": 27 }, "end": { - "line": 493, + "line": 492, "column": 32 } } @@ -67493,15 +67238,15 @@ "binop": null, "updateContext": null }, - "start": 17467, - "end": 17468, + "start": 17429, + "end": 17430, "loc": { "start": { - "line": 493, + "line": 492, "column": 32 }, "end": { - "line": 493, + "line": 492, "column": 33 } } @@ -67509,15 +67254,15 @@ { "type": "CommentLine", "value": " icon height", - "start": 17478, - "end": 17492, + "start": 17440, + "end": 17454, "loc": { "start": { - "line": 494, + "line": 493, "column": 8 }, "end": { - "line": 494, + "line": 493, "column": 22 } } @@ -67535,15 +67280,15 @@ "binop": null }, "value": "iconData", - "start": 17502, - "end": 17510, + "start": 17464, + "end": 17472, "loc": { "start": { - "line": 495, + "line": 494, "column": 8 }, "end": { - "line": 495, + "line": 494, "column": 16 } } @@ -67561,15 +67306,15 @@ "binop": null, "updateContext": null }, - "start": 17510, - "end": 17511, + "start": 17472, + "end": 17473, "loc": { "start": { - "line": 495, + "line": 494, "column": 16 }, "end": { - "line": 495, + "line": 494, "column": 17 } } @@ -67588,15 +67333,15 @@ "updateContext": null }, "value": 2, - "start": 17511, - "end": 17512, + "start": 17473, + "end": 17474, "loc": { "start": { - "line": 495, + "line": 494, "column": 17 }, "end": { - "line": 495, + "line": 494, "column": 18 } } @@ -67614,15 +67359,15 @@ "binop": null, "updateContext": null }, - "start": 17512, - "end": 17513, + "start": 17474, + "end": 17475, "loc": { "start": { - "line": 495, + "line": 494, "column": 18 }, "end": { - "line": 495, + "line": 494, "column": 19 } } @@ -67641,15 +67386,15 @@ "updateContext": null }, "value": "=", - "start": 17514, - "end": 17515, + "start": 17476, + "end": 17477, "loc": { "start": { - "line": 495, + "line": 494, "column": 20 }, "end": { - "line": 495, + "line": 494, "column": 21 } } @@ -67667,15 +67412,15 @@ "binop": null }, "value": "size", - "start": 17516, - "end": 17520, + "start": 17478, + "end": 17482, "loc": { "start": { - "line": 495, + "line": 494, "column": 22 }, "end": { - "line": 495, + "line": 494, "column": 26 } } @@ -67693,15 +67438,15 @@ "binop": null, "updateContext": null }, - "start": 17520, - "end": 17521, + "start": 17482, + "end": 17483, "loc": { "start": { - "line": 495, + "line": 494, "column": 26 }, "end": { - "line": 495, + "line": 494, "column": 27 } } @@ -67719,15 +67464,15 @@ "binop": null }, "value": "height", - "start": 17521, - "end": 17527, + "start": 17483, + "end": 17489, "loc": { "start": { - "line": 495, + "line": 494, "column": 27 }, "end": { - "line": 495, + "line": 494, "column": 33 } } @@ -67745,15 +67490,15 @@ "binop": null, "updateContext": null }, - "start": 17527, - "end": 17528, + "start": 17489, + "end": 17490, "loc": { "start": { - "line": 495, + "line": 494, "column": 33 }, "end": { - "line": 495, + "line": 494, "column": 34 } } @@ -67761,15 +67506,15 @@ { "type": "CommentLine", "value": " frame delay", - "start": 17538, - "end": 17552, + "start": 17500, + "end": 17514, "loc": { "start": { - "line": 496, + "line": 495, "column": 8 }, "end": { - "line": 496, + "line": 495, "column": 22 } } @@ -67787,15 +67532,15 @@ "binop": null }, "value": "iconData", - "start": 17562, - "end": 17570, + "start": 17524, + "end": 17532, "loc": { "start": { - "line": 497, + "line": 496, "column": 8 }, "end": { - "line": 497, + "line": 496, "column": 16 } } @@ -67813,15 +67558,15 @@ "binop": null, "updateContext": null }, - "start": 17570, - "end": 17571, + "start": 17532, + "end": 17533, "loc": { "start": { - "line": 497, + "line": 496, "column": 16 }, "end": { - "line": 497, + "line": 496, "column": 17 } } @@ -67840,15 +67585,15 @@ "updateContext": null }, "value": 3, - "start": 17571, - "end": 17572, + "start": 17533, + "end": 17534, "loc": { "start": { - "line": 497, + "line": 496, "column": 17 }, "end": { - "line": 497, + "line": 496, "column": 18 } } @@ -67866,15 +67611,15 @@ "binop": null, "updateContext": null }, - "start": 17572, - "end": 17573, + "start": 17534, + "end": 17535, "loc": { "start": { - "line": 497, + "line": 496, "column": 18 }, "end": { - "line": 497, + "line": 496, "column": 19 } } @@ -67893,15 +67638,15 @@ "updateContext": null }, "value": "=", - "start": 17574, - "end": 17575, + "start": 17536, + "end": 17537, "loc": { "start": { - "line": 497, + "line": 496, "column": 20 }, "end": { - "line": 497, + "line": 496, "column": 21 } } @@ -67921,15 +67666,15 @@ "updateContext": null }, "value": "this", - "start": 17576, - "end": 17580, + "start": 17538, + "end": 17542, "loc": { "start": { - "line": 497, + "line": 496, "column": 22 }, "end": { - "line": 497, + "line": 496, "column": 26 } } @@ -67947,15 +67692,15 @@ "binop": null, "updateContext": null }, - "start": 17580, - "end": 17581, + "start": 17542, + "end": 17543, "loc": { "start": { - "line": 497, + "line": 496, "column": 26 }, "end": { - "line": 497, + "line": 496, "column": 27 } } @@ -67973,15 +67718,15 @@ "binop": null }, "value": "getDelay", - "start": 17581, - "end": 17589, + "start": 17543, + "end": 17551, "loc": { "start": { - "line": 497, + "line": 496, "column": 27 }, "end": { - "line": 497, + "line": 496, "column": 35 } } @@ -67998,15 +67743,15 @@ "postfix": false, "binop": null }, - "start": 17589, - "end": 17590, + "start": 17551, + "end": 17552, "loc": { "start": { - "line": 497, + "line": 496, "column": 35 }, "end": { - "line": 497, + "line": 496, "column": 36 } } @@ -68023,15 +67768,15 @@ "postfix": false, "binop": null }, - "start": 17590, - "end": 17591, + "start": 17552, + "end": 17553, "loc": { "start": { - "line": 497, + "line": 496, "column": 36 }, "end": { - "line": 497, + "line": 496, "column": 37 } } @@ -68049,15 +67794,15 @@ "binop": null, "updateContext": null }, - "start": 17591, - "end": 17592, + "start": 17553, + "end": 17554, "loc": { "start": { - "line": 497, + "line": 496, "column": 37 }, "end": { - "line": 497, + "line": 496, "column": 38 } } @@ -68065,15 +67810,15 @@ { "type": "CommentLine", "value": " icon DataURL", - "start": 17602, - "end": 17617, + "start": 17564, + "end": 17579, "loc": { "start": { - "line": 498, + "line": 497, "column": 8 }, "end": { - "line": 498, + "line": 497, "column": 23 } } @@ -68091,15 +67836,15 @@ "binop": null }, "value": "iconData", - "start": 17627, - "end": 17635, + "start": 17589, + "end": 17597, "loc": { "start": { - "line": 499, + "line": 498, "column": 8 }, "end": { - "line": 499, + "line": 498, "column": 16 } } @@ -68117,15 +67862,15 @@ "binop": null, "updateContext": null }, - "start": 17635, - "end": 17636, + "start": 17597, + "end": 17598, "loc": { "start": { - "line": 499, + "line": 498, "column": 16 }, "end": { - "line": 499, + "line": 498, "column": 17 } } @@ -68144,15 +67889,15 @@ "updateContext": null }, "value": 4, - "start": 17636, - "end": 17637, + "start": 17598, + "end": 17599, "loc": { "start": { - "line": 499, + "line": 498, "column": 17 }, "end": { - "line": 499, + "line": 498, "column": 18 } } @@ -68170,15 +67915,15 @@ "binop": null, "updateContext": null }, - "start": 17637, - "end": 17638, + "start": 17599, + "end": 17600, "loc": { "start": { - "line": 499, + "line": 498, "column": 18 }, "end": { - "line": 499, + "line": 498, "column": 19 } } @@ -68197,15 +67942,15 @@ "updateContext": null }, "value": "=", - "start": 17639, - "end": 17640, + "start": 17601, + "end": 17602, "loc": { "start": { - "line": 499, + "line": 498, "column": 20 }, "end": { - "line": 499, + "line": 498, "column": 21 } } @@ -68225,15 +67970,15 @@ "updateContext": null }, "value": "this", - "start": 17641, - "end": 17645, + "start": 17603, + "end": 17607, "loc": { "start": { - "line": 499, + "line": 498, "column": 22 }, "end": { - "line": 499, + "line": 498, "column": 26 } } @@ -68251,15 +67996,15 @@ "binop": null, "updateContext": null }, - "start": 17645, - "end": 17646, + "start": 17607, + "end": 17608, "loc": { "start": { - "line": 499, + "line": 498, "column": 26 }, "end": { - "line": 499, + "line": 498, "column": 27 } } @@ -68277,15 +68022,15 @@ "binop": null }, "value": "getDataURL", - "start": 17646, - "end": 17656, + "start": 17608, + "end": 17618, "loc": { "start": { - "line": 499, + "line": 498, "column": 27 }, "end": { - "line": 499, + "line": 498, "column": 37 } } @@ -68302,15 +68047,15 @@ "postfix": false, "binop": null }, - "start": 17656, - "end": 17657, + "start": 17618, + "end": 17619, "loc": { "start": { - "line": 499, + "line": 498, "column": 37 }, "end": { - "line": 499, + "line": 498, "column": 38 } } @@ -68327,15 +68072,15 @@ "postfix": false, "binop": null }, - "start": 17657, - "end": 17658, + "start": 17619, + "end": 17620, "loc": { "start": { - "line": 499, + "line": 498, "column": 38 }, "end": { - "line": 499, + "line": 498, "column": 39 } } @@ -68353,15 +68098,15 @@ "binop": null, "updateContext": null }, - "start": 17658, - "end": 17659, + "start": 17620, + "end": 17621, "loc": { "start": { - "line": 499, + "line": 498, "column": 39 }, "end": { - "line": 499, + "line": 498, "column": 40 } } @@ -68369,15 +68114,15 @@ { "type": "CommentLine", "value": " frame array", - "start": 17669, - "end": 17683, + "start": 17631, + "end": 17645, "loc": { "start": { - "line": 500, + "line": 499, "column": 8 }, "end": { - "line": 500, + "line": 499, "column": 22 } } @@ -68395,15 +68140,15 @@ "binop": null }, "value": "iconData", - "start": 17693, - "end": 17701, + "start": 17655, + "end": 17663, "loc": { "start": { - "line": 501, + "line": 500, "column": 8 }, "end": { - "line": 501, + "line": 500, "column": 16 } } @@ -68421,15 +68166,15 @@ "binop": null, "updateContext": null }, - "start": 17701, - "end": 17702, + "start": 17663, + "end": 17664, "loc": { "start": { - "line": 501, + "line": 500, "column": 16 }, "end": { - "line": 501, + "line": 500, "column": 17 } } @@ -68448,15 +68193,15 @@ "updateContext": null }, "value": 5, - "start": 17702, - "end": 17703, + "start": 17664, + "end": 17665, "loc": { "start": { - "line": 501, + "line": 500, "column": 17 }, "end": { - "line": 501, + "line": 500, "column": 18 } } @@ -68474,15 +68219,15 @@ "binop": null, "updateContext": null }, - "start": 17703, - "end": 17704, + "start": 17665, + "end": 17666, "loc": { "start": { - "line": 501, + "line": 500, "column": 18 }, "end": { - "line": 501, + "line": 500, "column": 19 } } @@ -68501,15 +68246,15 @@ "updateContext": null }, "value": "=", - "start": 17705, - "end": 17706, + "start": 17667, + "end": 17668, "loc": { "start": { - "line": 501, + "line": 500, "column": 20 }, "end": { - "line": 501, + "line": 500, "column": 21 } } @@ -68529,15 +68274,15 @@ "updateContext": null }, "value": "this", - "start": 17707, - "end": 17711, + "start": 17669, + "end": 17673, "loc": { "start": { - "line": 501, + "line": 500, "column": 22 }, "end": { - "line": 501, + "line": 500, "column": 26 } } @@ -68555,15 +68300,15 @@ "binop": null, "updateContext": null }, - "start": 17711, - "end": 17712, + "start": 17673, + "end": 17674, "loc": { "start": { - "line": 501, + "line": 500, "column": 26 }, "end": { - "line": 501, + "line": 500, "column": 27 } } @@ -68581,15 +68326,15 @@ "binop": null }, "value": "getFramesData", - "start": 17712, - "end": 17725, + "start": 17674, + "end": 17687, "loc": { "start": { - "line": 501, + "line": 500, "column": 27 }, "end": { - "line": 501, + "line": 500, "column": 40 } } @@ -68606,15 +68351,15 @@ "postfix": false, "binop": null }, - "start": 17725, - "end": 17726, + "start": 17687, + "end": 17688, "loc": { "start": { - "line": 501, + "line": 500, "column": 40 }, "end": { - "line": 501, + "line": 500, "column": 41 } } @@ -68631,15 +68376,15 @@ "postfix": false, "binop": null }, - "start": 17726, - "end": 17727, + "start": 17688, + "end": 17689, "loc": { "start": { - "line": 501, + "line": 500, "column": 41 }, "end": { - "line": 501, + "line": 500, "column": 42 } } @@ -68657,15 +68402,15 @@ "binop": null, "updateContext": null }, - "start": 17727, - "end": 17728, + "start": 17689, + "end": 17690, "loc": { "start": { - "line": 501, + "line": 500, "column": 42 }, "end": { - "line": 501, + "line": 500, "column": 43 } } @@ -68673,15 +68418,15 @@ { "type": "CommentLine", "value": " this is actually an optional data entry into the vyi, only used if states actually exist on this icon.", - "start": 17740, - "end": 17845, + "start": 17702, + "end": 17807, "loc": { "start": { - "line": 503, + "line": 502, "column": 8 }, "end": { - "line": 503, + "line": 502, "column": 113 } } @@ -68689,15 +68434,15 @@ { "type": "CommentLine", "value": " this will save data", - "start": 17855, - "end": 17877, + "start": 17817, + "end": 17839, "loc": { "start": { - "line": 504, + "line": 503, "column": 8 }, "end": { - "line": 504, + "line": 503, "column": 30 } } @@ -68717,15 +68462,15 @@ "updateContext": null }, "value": "if", - "start": 17887, - "end": 17889, + "start": 17849, + "end": 17851, "loc": { "start": { - "line": 505, + "line": 504, "column": 8 }, "end": { - "line": 505, + "line": 504, "column": 10 } } @@ -68742,15 +68487,15 @@ "postfix": false, "binop": null }, - "start": 17890, - "end": 17891, + "start": 17852, + "end": 17853, "loc": { "start": { - "line": 505, + "line": 504, "column": 11 }, "end": { - "line": 505, + "line": 504, "column": 12 } } @@ -68770,15 +68515,15 @@ "updateContext": null }, "value": "this", - "start": 17891, - "end": 17895, + "start": 17853, + "end": 17857, "loc": { "start": { - "line": 505, + "line": 504, "column": 12 }, "end": { - "line": 505, + "line": 504, "column": 16 } } @@ -68796,15 +68541,15 @@ "binop": null, "updateContext": null }, - "start": 17895, - "end": 17896, + "start": 17857, + "end": 17858, "loc": { "start": { - "line": 505, + "line": 504, "column": 16 }, "end": { - "line": 505, + "line": 504, "column": 17 } } @@ -68822,15 +68567,15 @@ "binop": null }, "value": "states", - "start": 17896, - "end": 17902, + "start": 17858, + "end": 17864, "loc": { "start": { - "line": 505, + "line": 504, "column": 17 }, "end": { - "line": 505, + "line": 504, "column": 23 } } @@ -68848,15 +68593,15 @@ "binop": null, "updateContext": null }, - "start": 17902, - "end": 17903, + "start": 17864, + "end": 17865, "loc": { "start": { - "line": 505, + "line": 504, "column": 23 }, "end": { - "line": 505, + "line": 504, "column": 24 } } @@ -68874,15 +68619,15 @@ "binop": null }, "value": "length", - "start": 17903, - "end": 17909, + "start": 17865, + "end": 17871, "loc": { "start": { - "line": 505, + "line": 504, "column": 24 }, "end": { - "line": 505, + "line": 504, "column": 30 } } @@ -68899,15 +68644,15 @@ "postfix": false, "binop": null }, - "start": 17909, - "end": 17910, + "start": 17871, + "end": 17872, "loc": { "start": { - "line": 505, + "line": 504, "column": 30 }, "end": { - "line": 505, + "line": 504, "column": 31 } } @@ -68924,15 +68669,15 @@ "postfix": false, "binop": null }, - "start": 17911, - "end": 17912, + "start": 17873, + "end": 17874, "loc": { "start": { - "line": 505, + "line": 504, "column": 32 }, "end": { - "line": 505, + "line": 504, "column": 33 } } @@ -68940,15 +68685,15 @@ { "type": "CommentLine", "value": " states array", - "start": 17926, - "end": 17941, + "start": 17888, + "end": 17903, "loc": { "start": { - "line": 506, + "line": 505, "column": 12 }, "end": { - "line": 506, + "line": 505, "column": 27 } } @@ -68966,15 +68711,15 @@ "binop": null }, "value": "iconData", - "start": 17955, - "end": 17963, + "start": 17917, + "end": 17925, "loc": { "start": { - "line": 507, + "line": 506, "column": 12 }, "end": { - "line": 507, + "line": 506, "column": 20 } } @@ -68992,15 +68737,15 @@ "binop": null, "updateContext": null }, - "start": 17963, - "end": 17964, + "start": 17925, + "end": 17926, "loc": { "start": { - "line": 507, + "line": 506, "column": 20 }, "end": { - "line": 507, + "line": 506, "column": 21 } } @@ -69019,15 +68764,15 @@ "updateContext": null }, "value": 6, - "start": 17964, - "end": 17965, + "start": 17926, + "end": 17927, "loc": { "start": { - "line": 507, + "line": 506, "column": 21 }, "end": { - "line": 507, + "line": 506, "column": 22 } } @@ -69045,15 +68790,15 @@ "binop": null, "updateContext": null }, - "start": 17965, - "end": 17966, + "start": 17927, + "end": 17928, "loc": { "start": { - "line": 507, + "line": 506, "column": 22 }, "end": { - "line": 507, + "line": 506, "column": 23 } } @@ -69072,15 +68817,15 @@ "updateContext": null }, "value": "=", - "start": 17967, - "end": 17968, + "start": 17929, + "end": 17930, "loc": { "start": { - "line": 507, + "line": 506, "column": 24 }, "end": { - "line": 507, + "line": 506, "column": 25 } } @@ -69100,15 +68845,15 @@ "updateContext": null }, "value": "this", - "start": 17969, - "end": 17973, + "start": 17931, + "end": 17935, "loc": { "start": { - "line": 507, + "line": 506, "column": 26 }, "end": { - "line": 507, + "line": 506, "column": 30 } } @@ -69126,15 +68871,15 @@ "binop": null, "updateContext": null }, - "start": 17973, - "end": 17974, + "start": 17935, + "end": 17936, "loc": { "start": { - "line": 507, + "line": 506, "column": 30 }, "end": { - "line": 507, + "line": 506, "column": 31 } } @@ -69152,15 +68897,15 @@ "binop": null }, "value": "getStatesData", - "start": 17974, - "end": 17987, + "start": 17936, + "end": 17949, "loc": { "start": { - "line": 507, + "line": 506, "column": 31 }, "end": { - "line": 507, + "line": 506, "column": 44 } } @@ -69177,15 +68922,15 @@ "postfix": false, "binop": null }, - "start": 17987, - "end": 17988, + "start": 17949, + "end": 17950, "loc": { "start": { - "line": 507, + "line": 506, "column": 44 }, "end": { - "line": 507, + "line": 506, "column": 45 } } @@ -69202,15 +68947,15 @@ "postfix": false, "binop": null }, - "start": 17988, - "end": 17989, + "start": 17950, + "end": 17951, "loc": { "start": { - "line": 507, + "line": 506, "column": 45 }, "end": { - "line": 507, + "line": 506, "column": 46 } } @@ -69228,15 +68973,15 @@ "binop": null, "updateContext": null }, - "start": 17989, - "end": 17990, + "start": 17951, + "end": 17952, "loc": { "start": { - "line": 507, + "line": 506, "column": 46 }, "end": { - "line": 507, + "line": 506, "column": 47 } } @@ -69253,15 +68998,15 @@ "postfix": false, "binop": null }, - "start": 18000, - "end": 18001, + "start": 17962, + "end": 17963, "loc": { "start": { - "line": 508, + "line": 507, "column": 8 }, "end": { - "line": 508, + "line": 507, "column": 9 } } @@ -69281,15 +69026,15 @@ "updateContext": null }, "value": "return", - "start": 18011, - "end": 18017, + "start": 17973, + "end": 17979, "loc": { "start": { - "line": 509, + "line": 508, "column": 8 }, "end": { - "line": 509, + "line": 508, "column": 14 } } @@ -69307,15 +69052,15 @@ "binop": null }, "value": "iconData", - "start": 18018, - "end": 18026, + "start": 17980, + "end": 17988, "loc": { "start": { - "line": 509, + "line": 508, "column": 15 }, "end": { - "line": 509, + "line": 508, "column": 23 } } @@ -69333,15 +69078,15 @@ "binop": null, "updateContext": null }, - "start": 18026, - "end": 18027, + "start": 17988, + "end": 17989, "loc": { "start": { - "line": 509, + "line": 508, "column": 23 }, "end": { - "line": 509, + "line": 508, "column": 24 } } @@ -69358,15 +69103,15 @@ "postfix": false, "binop": null }, - "start": 18033, - "end": 18034, + "start": 17995, + "end": 17996, "loc": { "start": { - "line": 510, + "line": 509, "column": 4 }, "end": { - "line": 510, + "line": 509, "column": 5 } } @@ -69383,15 +69128,15 @@ "postfix": false, "binop": null }, - "start": 18036, - "end": 18037, + "start": 17998, + "end": 17999, "loc": { "start": { - "line": 511, + "line": 510, "column": 0 }, "end": { - "line": 511, + "line": 510, "column": 1 } } @@ -69409,15 +69154,15 @@ "binop": null, "updateContext": null }, - "start": 18037, - "end": 18037, + "start": 17999, + "end": 17999, "loc": { "start": { - "line": 511, + "line": 510, "column": 1 }, "end": { - "line": 511, + "line": 510, "column": 1 } } diff --git a/docs/class/src/frame.mjs~Frame.html b/docs/class/src/frame.mjs~Frame.html index db405cb..a0ad04f 100644 --- a/docs/class/src/frame.mjs~Frame.html +++ b/docs/class/src/frame.mjs~Frame.html @@ -844,7 +844,7 @@

- source + source

@@ -901,7 +901,7 @@

- source + source

@@ -958,7 +958,7 @@

- source + source

@@ -1032,7 +1032,7 @@

- source + source

@@ -1108,7 +1108,7 @@

- source + source

@@ -1165,7 +1165,7 @@

- source + source

diff --git a/docs/class/src/icon.mjs~Icon.html b/docs/class/src/icon.mjs~Icon.html index 6fb2407..1913fce 100644 --- a/docs/class/src/icon.mjs~Icon.html +++ b/docs/class/src/icon.mjs~Icon.html @@ -1841,7 +1841,7 @@

- source + source

@@ -1917,7 +1917,7 @@

- source + source

@@ -2088,7 +2088,7 @@

- source + source

@@ -2162,7 +2162,7 @@

- source + source

@@ -2219,7 +2219,7 @@

- source + source

@@ -2455,7 +2455,7 @@

- source + source

@@ -2843,7 +2843,7 @@

- source + source

@@ -2900,7 +2900,7 @@

- source + source

@@ -2957,7 +2957,7 @@

- source + source

@@ -3014,7 +3014,7 @@

- source + source

@@ -3071,7 +3071,7 @@

- source + source

diff --git a/docs/file/src/frame.mjs.html b/docs/file/src/frame.mjs.html index 82efa43..a07077f 100644 --- a/docs/file/src/frame.mjs.html +++ b/docs/file/src/frame.mjs.html @@ -85,6 +85,7 @@ */ constructor(pFrameData, pParentIcon) { this.vyi = pParentIcon.vyi; + this.parent = pParentIcon; this.parse(pFrameData); } /** diff --git a/docs/file/src/icon.mjs.html b/docs/file/src/icon.mjs.html index 8aa584d..1c5e054 100644 --- a/docs/file/src/icon.mjs.html +++ b/docs/file/src/icon.mjs.html @@ -319,7 +319,6 @@ if (pFrameData) { if (pFrameData instanceof Object) { const frame = new Frame(pFrameData, this); - frame.parent = this; // Add the frame to the frames array. this.frames.push(frame); // Re-index frames after a change diff --git a/docs/index.json b/docs/index.json index 959cee3..d9345c5 100644 --- a/docs/index.json +++ b/docs/index.json @@ -567,7 +567,7 @@ "__docId__": 48, "kind": "file", "name": "src/frame.mjs", - "content": "import { VYI } from './vyi.mjs';\r\n\r\nexport class Frame {\r\n /**\r\n * The delay of this frame.\r\n * @private\r\n * @type {number}\r\n */\r\n delay = 100;\r\n /**\r\n * The data URL of the sprite in this frame.\r\n * @private\r\n * @type {string}\r\n */\r\n dataURL;\r\n /**\r\n * The index of this frame. This indicates the order of the frame. 0 - Infinity.\r\n * @private\r\n * @type {number}\r\n */\r\n index = 0;\r\n /**\r\n * The icon that owns this frame. \r\n * @private\r\n * @type {Icon}\r\n */\r\n parent;\r\n /**\r\n * The default delay in ms of frames.\r\n * @private\r\n * @type {number}\r\n */\r\n /**\r\n * The vyi this frame belongs to.\r\n * \r\n * @private\r\n * @type {VYI}\r\n */\r\n vyi;\r\n static defaultDelay = 100;\r\n /**\r\n * Create this frame class instance.\r\n * @param {Object} pFrameData - The frame data that is used to build this frame.\r\n * @param {Icon} pParentIcon - The icon that created this frame.\r\n * @private\r\n */\r\n constructor(pFrameData, pParentIcon) {\r\n this.vyi = pParentIcon.vyi;\r\n this.parse(pFrameData);\r\n }\r\n /**\r\n * parses through the icon data and adds data to this frame.\r\n * @param {Object} pFrameData - The frame data that is used to build this frame.\r\n * @private\r\n */\r\n parse(pFrameData) {\r\n // Loop through frame data and build frame.\r\n const dataURL = pFrameData[0];\r\n const frameDelay = pFrameData[1] ? pFrameData[1] : this.parent.getDelay();\r\n // Set the data url\r\n this.setDataURL(dataURL);\r\n // Set the frame delay\r\n this.setDelay(frameDelay);\r\n }\r\n /**\r\n * Sets the delay of this frame in ms.\r\n * @param {number} pDelay - The delay in ms to set this frame to.\r\n * @returns {self} This frame instance.\r\n */\r\n setDelay(pDelay) {\r\n if (pDelay) {\r\n if (typeof(pDelay) === 'number') {\r\n this.delay = pDelay;\r\n } else {\r\n VYI.logger.prefix('VYI-module').error('Invalid delay type!');\r\n }\r\n }\r\n return this;\r\n }\r\n /**\r\n * Gets the delay of this frame.\r\n * @returns {number} The delay of this frame.\r\n */\r\n getDelay() {\r\n return this.delay;\r\n }\r\n /**\r\n * Sets the data url of this frame.\r\n * @param {DataURL} pDataURL - The base64 data of this image.\r\n * @returns {self} This frame instance.\r\n */\r\n setDataURL(pDataURL) {\r\n if (pDataURL) {\r\n if (typeof(pDataURL) === 'string') {\r\n this.dataURL = pDataURL;\r\n } else {\r\n VYI.logger.prefix('VYI-module').error('Invalid data url type!');\r\n }\r\n }\r\n return this;\r\n }\r\n /**\r\n * Gets the data URL of this frame.\r\n * @returns {DataURL} - The base64 data of this image.\r\n */\r\n getDataURL() {\r\n return this.dataURL;\r\n }\r\n /**\r\n * Exports this frame's data into proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this frame in the proper vyi format.\r\n */\r\n export() {\r\n const frameData = [];\r\n // frame dataURL\r\n frameData[0] = this.getDataURL();\r\n // We do not have to store the delay if it is the default value of 100. This will save data.\r\n const delayIsDefault = this.getDelay() === Frame.defaultDelay;\r\n if (!delayIsDefault) {\r\n // frame delay\r\n frameData[1] = this.getDelay();\r\n }\r\n return frameData;\r\n }\r\n}", + "content": "import { VYI } from './vyi.mjs';\r\n\r\nexport class Frame {\r\n /**\r\n * The delay of this frame.\r\n * @private\r\n * @type {number}\r\n */\r\n delay = 100;\r\n /**\r\n * The data URL of the sprite in this frame.\r\n * @private\r\n * @type {string}\r\n */\r\n dataURL;\r\n /**\r\n * The index of this frame. This indicates the order of the frame. 0 - Infinity.\r\n * @private\r\n * @type {number}\r\n */\r\n index = 0;\r\n /**\r\n * The icon that owns this frame. \r\n * @private\r\n * @type {Icon}\r\n */\r\n parent;\r\n /**\r\n * The default delay in ms of frames.\r\n * @private\r\n * @type {number}\r\n */\r\n /**\r\n * The vyi this frame belongs to.\r\n * \r\n * @private\r\n * @type {VYI}\r\n */\r\n vyi;\r\n static defaultDelay = 100;\r\n /**\r\n * Create this frame class instance.\r\n * @param {Object} pFrameData - The frame data that is used to build this frame.\r\n * @param {Icon} pParentIcon - The icon that created this frame.\r\n * @private\r\n */\r\n constructor(pFrameData, pParentIcon) {\r\n this.vyi = pParentIcon.vyi;\r\n this.parent = pParentIcon;\r\n this.parse(pFrameData);\r\n }\r\n /**\r\n * parses through the icon data and adds data to this frame.\r\n * @param {Object} pFrameData - The frame data that is used to build this frame.\r\n * @private\r\n */\r\n parse(pFrameData) {\r\n // Loop through frame data and build frame.\r\n const dataURL = pFrameData[0];\r\n const frameDelay = pFrameData[1] ? pFrameData[1] : this.parent.getDelay();\r\n // Set the data url\r\n this.setDataURL(dataURL);\r\n // Set the frame delay\r\n this.setDelay(frameDelay);\r\n }\r\n /**\r\n * Sets the delay of this frame in ms.\r\n * @param {number} pDelay - The delay in ms to set this frame to.\r\n * @returns {self} This frame instance.\r\n */\r\n setDelay(pDelay) {\r\n if (pDelay) {\r\n if (typeof(pDelay) === 'number') {\r\n this.delay = pDelay;\r\n } else {\r\n VYI.logger.prefix('VYI-module').error('Invalid delay type!');\r\n }\r\n }\r\n return this;\r\n }\r\n /**\r\n * Gets the delay of this frame.\r\n * @returns {number} The delay of this frame.\r\n */\r\n getDelay() {\r\n return this.delay;\r\n }\r\n /**\r\n * Sets the data url of this frame.\r\n * @param {DataURL} pDataURL - The base64 data of this image.\r\n * @returns {self} This frame instance.\r\n */\r\n setDataURL(pDataURL) {\r\n if (pDataURL) {\r\n if (typeof(pDataURL) === 'string') {\r\n this.dataURL = pDataURL;\r\n } else {\r\n VYI.logger.prefix('VYI-module').error('Invalid data url type!');\r\n }\r\n }\r\n return this;\r\n }\r\n /**\r\n * Gets the data URL of this frame.\r\n * @returns {DataURL} - The base64 data of this image.\r\n */\r\n getDataURL() {\r\n return this.dataURL;\r\n }\r\n /**\r\n * Exports this frame's data into proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this frame in the proper vyi format.\r\n */\r\n export() {\r\n const frameData = [];\r\n // frame dataURL\r\n frameData[0] = this.getDataURL();\r\n // We do not have to store the delay if it is the default value of 100. This will save data.\r\n const delayIsDefault = this.getDelay() === Frame.defaultDelay;\r\n if (!delayIsDefault) {\r\n // frame delay\r\n frameData[1] = this.getDelay();\r\n }\r\n return frameData;\r\n }\r\n}", "static": true, "longname": "C:/Users/jared/Documents/Github/vyi/src/frame.mjs", "access": "public", @@ -738,7 +738,7 @@ ] }, { - "__docId__": 58, + "__docId__": 59, "kind": "method", "name": "parse", "memberof": "src/frame.mjs~Frame", @@ -748,7 +748,7 @@ "longname": "src/frame.mjs~Frame#parse", "access": "private", "description": "parses through the icon data and adds data to this frame.", - "lineNumber": 56, + "lineNumber": 57, "params": [ { "nullable": null, @@ -764,7 +764,7 @@ "return": null }, { - "__docId__": 59, + "__docId__": 60, "kind": "method", "name": "setDelay", "memberof": "src/frame.mjs~Frame", @@ -774,7 +774,7 @@ "longname": "src/frame.mjs~Frame#setDelay", "access": "public", "description": "Sets the delay of this frame in ms.", - "lineNumber": 70, + "lineNumber": 71, "unknown": [ { "tagName": "@returns", @@ -803,7 +803,7 @@ } }, { - "__docId__": 61, + "__docId__": 62, "kind": "method", "name": "getDelay", "memberof": "src/frame.mjs~Frame", @@ -813,7 +813,7 @@ "longname": "src/frame.mjs~Frame#getDelay", "access": "public", "description": "Gets the delay of this frame.", - "lineNumber": 84, + "lineNumber": 85, "unknown": [ { "tagName": "@returns", @@ -831,7 +831,7 @@ "params": [] }, { - "__docId__": 62, + "__docId__": 63, "kind": "method", "name": "setDataURL", "memberof": "src/frame.mjs~Frame", @@ -841,7 +841,7 @@ "longname": "src/frame.mjs~Frame#setDataURL", "access": "public", "description": "Sets the data url of this frame.", - "lineNumber": 92, + "lineNumber": 93, "unknown": [ { "tagName": "@returns", @@ -870,7 +870,7 @@ } }, { - "__docId__": 64, + "__docId__": 65, "kind": "method", "name": "getDataURL", "memberof": "src/frame.mjs~Frame", @@ -880,7 +880,7 @@ "longname": "src/frame.mjs~Frame#getDataURL", "access": "public", "description": "Gets the data URL of this frame.", - "lineNumber": 106, + "lineNumber": 107, "unknown": [ { "tagName": "@returns", @@ -898,7 +898,7 @@ "params": [] }, { - "__docId__": 65, + "__docId__": 66, "kind": "method", "name": "export", "memberof": "src/frame.mjs~Frame", @@ -908,7 +908,7 @@ "longname": "src/frame.mjs~Frame#export", "access": "private", "description": "Exports this frame's data into proper vyi format.", - "lineNumber": 114, + "lineNumber": 115, "unknown": [ { "tagName": "@returns", @@ -926,10 +926,10 @@ "params": [] }, { - "__docId__": 66, + "__docId__": 67, "kind": "file", "name": "src/icon.mjs", - "content": "import { VYI } from './vyi.mjs';\r\nimport { Frame } from './frame.mjs';\r\n\r\nexport class Icon {\r\n /**\r\n * An array of Icon's that are state of this icon.\r\n * @private\r\n * @type {Array}\r\n */\r\n states = [];\r\n /**\r\n * An arary of Frame's that are the frames of this icon.\r\n * @private\r\n * @type {Array}\r\n */\r\n frames = [];\r\n /**\r\n * The width of this icon. All states and frames of this icon must match this size.\r\n * @private\r\n * @type {number}\r\n */\r\n width = 32;\r\n /**\r\n * The height of this icon. All states and frames of this icon must match this size.\r\n * @private\r\n * @type {number}\r\n */\r\n height = 32;\r\n /**\r\n * The data URL of the sprite in this frame.\r\n * @private\r\n * @type {string}\r\n */\r\n dataURL;\r\n /**\r\n * The delay of this frame.\r\n * @private\r\n * @type {number}\r\n */\r\n delay = 100;\r\n /**\r\n * The name of this icon.\r\n * @private\r\n * @type {string}\r\n */\r\n name = '';\r\n /**\r\n * The icon that owns this frame. \r\n * @private\r\n * @type {Icon}\r\n */\r\n parent;\r\n /**\r\n * The vyi this icon belongs to.\r\n * \r\n * @private\r\n * @type {VYI}\r\n */\r\n vyi;\r\n /**\r\n * Creates this icon instance.\r\n * @param {Object} pIconData - The icon data that is used to build this icon.\r\n * @param {VYI} pVYI - The vyi this icon | state belongs to.\r\n * @private\r\n */\r\n constructor(pIconData, pVYI) {\r\n this.vyi = pVYI;\r\n this.parse(pIconData);\r\n }\r\n /**\r\n * parses through the icon data and adds data to this icon.\r\n * @param {Object} pIconData - The icon data that is used to build this icon.\r\n * @private\r\n */\r\n parse(pIconData) {\r\n // Loop through pIconData and create this icon\r\n const iconName = pIconData[0];\r\n const iconWidth = pIconData[1];\r\n const iconHeight = pIconData[2];\r\n const iconDelay = pIconData[3];\r\n const iconDataURL = pIconData[4];\r\n const frameArray = pIconData[5];\r\n const stateArray = pIconData[6];\r\n\r\n // Set name\r\n this.rename(iconName);\r\n // Set size\r\n this.setSize(iconWidth, iconHeight);\r\n // Set icon delay\r\n this.setDelay(iconDelay);\r\n // Set dataURL\r\n this.setDataURL(iconDataURL);\r\n // Check if the frame data is an array\r\n if (Array.isArray(frameArray)) {\r\n // If the frame array has data then we need to store it.\r\n if (frameArray.length) {\r\n frameArray.forEach((pFrame) => {\r\n // pFrame is an array holding the datalURL and frameDelay of the frame\r\n this.addFrame(pFrame);\r\n });\r\n }\r\n }\r\n // Check if the states data is an array\r\n if (Array.isArray(stateArray)) {\r\n // If the state array has data then we need to store it.\r\n if (stateArray.length) {\r\n stateArray.forEach((pState) => {\r\n // Here we create a icon with aggregated data because the state data is not enough to make it an icon.\r\n // We do this because a state is basically an icon, but it just \"inherits\" alot of the data. But this makes it easier to manage if we treat it internally as an icon.\r\n const aggregatedIconData = [];\r\n // iconName\r\n aggregatedIconData[0] = pState[0];\r\n // iconWidth\r\n aggregatedIconData[1] = iconWidth;\r\n // iconHeight\r\n aggregatedIconData[2] = iconHeight;\r\n // frame delay\r\n aggregatedIconData[3] = pState[2];\r\n // iconDataURL\r\n aggregatedIconData[4] = pState[1];\r\n // frame array\r\n aggregatedIconData[5] = pState[3];\r\n this.addState(aggregatedIconData);\r\n });\r\n }\r\n }\r\n }\r\n /**\r\n * Sets the size of this icon.\r\n * @param {number} pWidth - The width of this icon.\r\n * @param {number} pHeight - THe height of this icon.\r\n * @returns {self} This icon instance.\r\n */\r\n setSize(pWidth, pHeight) {\r\n if (typeof(pWidth) === 'number') {\r\n this.width = pWidth;\r\n }\r\n if (typeof(pHeight) === 'number') {\r\n this.height = pHeight;\r\n }\r\n }\r\n /**\r\n * Gets the width and height of this icon and returns it.\r\n * @returns {Object} An object with the width and height of this icon.\r\n */\r\n getSize() {\r\n return { width: this.width, height: this.height };\r\n }\r\n /**\r\n * Sets the data url of this icon.\r\n * @param {DataURL} pDataURL - The base64 data of this image.\r\n * @returns {self} This icon instance.\r\n */\r\n setDataURL(pDataURL) {\r\n if (pDataURL) {\r\n if (typeof(pDataURL) === 'string') {\r\n this.dataURL = pDataURL;\r\n } else {\r\n VYI.logger.prefix('VYI-module').error('Invalid data url type!');\r\n }\r\n }\r\n return this;\r\n }\r\n /**\r\n * Gets the data URL of this icon.\r\n * @returns {DataURL} - The base64 data of this image.\r\n */\r\n getDataURL() {\r\n return this.dataURL;\r\n }\r\n /**\r\n * Sets the frame delay of this icon.\r\n * @param {number} pDelay - The delay to set this frame to.\r\n * @returns {self} This icon instance.\r\n */\r\n setDelay(pDelay) {\r\n if (pDelay) {\r\n if (typeof(pDelay) === 'number') {\r\n this.delay = pDelay;\r\n } else {\r\n VYI.logger.prefix('VYI-module').error('Invalid delay type!');\r\n }\r\n }\r\n return this;\r\n }\r\n /**\r\n * Gets the delay of this icon.\r\n * @returns {number} The delay of this icon.\r\n */\r\n getDelay() {\r\n return this.delay;\r\n }\r\n /**\r\n * Changes the name of this icon.\r\n * @param {string} pName - The new name of the icon.\r\n * @returns {self} This icon instance.\r\n */\r\n rename(pName) {\r\n if (pName || pName === '') {\r\n if (typeof(pName) === 'string') {\r\n this.name = pName;\r\n } else {\r\n VYI.logger.prefix('VYI-Module').error('Invalid type for pName!');\r\n }\r\n }\r\n return this;\r\n }\r\n /**\r\n * Returns the name of this icon.\r\n * @returns {string} The name of this icon.\r\n */\r\n getName() {\r\n return this.name;\r\n }\r\n /**\r\n * Sets all the frames belonging to this icon to the same delay.\r\n * @param {number} pDelay - The delay to set all frames to.\r\n * @returns {self} This icon instance.\r\n */\r\n setAllFrameDelays(pDelay) {\r\n if (pDelay) {\r\n if (typeof(pDelay) === 'number') {\r\n this.setDelay(pDelay);\r\n this.frames.forEach((pFrame) => {\r\n pFrame.setDelay(pDelay);\r\n });\r\n } else {\r\n VYI.logger.prefix('VYI-Module').error('Invalid type for pDelay!');\r\n }\r\n }\r\n return this;\r\n }\r\n /**\r\n * Adds this icon data as a state. A state is also an icon.\r\n * @param {Object} pIconData - The data used to create this state icon.\r\n * @returns {Icon|undefined} The state that was added or undefined.\r\n */\r\n addState(pIconData) {\r\n if (pIconData instanceof Object) {\r\n const state = new Icon(pIconData, this.vyi);\r\n state.parent = this;\r\n this.states.push(state);\r\n return state;\r\n }\r\n }\r\n /**\r\n * Removes the state passed or the state with the name pName.\r\n * @param {Icon} pState - The state to remove from this icon. pName should be not be used in tandem with this method of removing.\r\n * @param {string} pName - The name of the state to remove. pState must be undefined to use this method for removing.\r\n * @returns {self} This icon instance.\r\n */\r\n removeState(pState, pName) {\r\n // The index used to remove this frame.\r\n let index;\r\n // Remove via reference to state.\r\n if (this.states.includes(pState)) {\r\n index = this.states.indexOf(pState);\r\n // Remove via reference to name\r\n } else if (typeof(pName) === 'string') {\r\n const state = this.getState(pName);\r\n if (state) {\r\n index = this.states.indexOf(state);\r\n }\r\n } else {\r\n VYI.logger.prefix('VYI-Module').error('Failed to remove state!');\r\n return this;\r\n }\r\n if (typeof(index) === 'number') {\r\n // Remove the state\r\n this.states.splice(index, 1);\r\n }\r\n return this;\r\n }\r\n /**\r\n * Adds a new frame to this icon.\r\n * @param {Object} pFrameData - The frame data to give this frame.\r\n * @returns {Frame|undefined} The frame that was added or undefined.\r\n */\r\n addFrame(pFrameData) {\r\n if (pFrameData) {\r\n if (pFrameData instanceof Object) {\r\n const frame = new Frame(pFrameData, this);\r\n frame.parent = this;\r\n // Add the frame to the frames array.\r\n this.frames.push(frame);\r\n // Re-index frames after a change\r\n this.indexFrames();\r\n return frame;\r\n } else {\r\n VYI.logger.prefix('VYI-Module').error('Invalid frame data passed!');\r\n }\r\n } else {\r\n VYI.logger.prefix('VYI-Module').error('No frame data passed!');\r\n }\r\n }\r\n /**\r\n * Removes the frame passed or the frame that exists at pIndex.\r\n * @param {Frame} pFrame - The frame to remove from this icon. pIndex should be not be used in tandem with this method of removing.\r\n * @param {number} pIndex - The index of the frame to remove. pFrame must be undefined to use this method for removing.\r\n * @returns {self} This icon instance.\r\n */\r\n removeFrame(pFrame, pIndex) {\r\n // The index used to remove this frame.\r\n let index;\r\n // Remove via reference to frame.\r\n if (this.frames.includes(pFrame)) {\r\n index = this.frames.indexOf(pFrame);\r\n // Remove via index passed.\r\n } else if (pIndex || pIndex === 0) {\r\n if (typeof(pIndex) === 'number') {\r\n const frame = this.getFrame(pIndex);\r\n if (frame) {\r\n index = pIndex;\r\n }\r\n } else {\r\n VYI.logger.prefix('VYI-Module').error('Invalid pIndex type!');\r\n }\r\n } else {\r\n VYI.logger.prefix('VYI-Module').error('Failed to remove frame!');\r\n }\r\n if (typeof(index) === 'number') {\r\n // Remove the frame\r\n this.frames.splice(index, 1);\r\n // Re-index frames after a change\r\n this.indexFrames();\r\n }\r\n return this;\r\n }\r\n /**\r\n * Index the frames properly.\r\n * @private\r\n */\r\n indexFrames() {\r\n // Reorder the frames after removing.\r\n this.frames.forEach((pFrame, pIndex) => {\r\n pFrame.index = pIndex;\r\n });\r\n }\r\n /**\r\n * Reorders the frame in the animation. The index of the passed frame will be swapped with the frame at pIndex.\r\n * The \"first\" frame of the animation is technically this icon's dataURL. So if you are aiming to change the order of this icon and convert it into a frame.\r\n * pCurrentIndex must be set to -1 to match this icon.\r\n * @param {number} pCurrentIndex - The current index of the frame.\r\n * @param {number} pIndex - The index the frame will be moving to.\r\n * @returns {self} This icon instance.\r\n */\r\n reorderFrame(pCurrentIndex, pIndex) {\r\n if (typeof(pCurrentIndex) === 'number' && typeof(pIndex) === 'number') {\r\n let frameAtIndex;\r\n let currentFrame;\r\n // We check if the current index is -1, if it is then it means we want to treat this icon as a frame. As the icon data and delay of this icon serves\r\n // as the frame 0.\r\n if (pCurrentIndex === -1) {\r\n currentFrame = this;\r\n // Otherwise if the index passed can be found in the frames array, then we use that frame.\r\n } else if (this.frames[pCurrentIndex]) {\r\n currentFrame = this.frames[pCurrentIndex];\r\n }\r\n\r\n // We get the frame at the specified index.\r\n if (this.frames[pIndex]) {\r\n frameAtIndex = this.frames[pIndex];\r\n }\r\n\r\n // If both frames can be found, we can swap their data.\r\n if (currentFrame && frameAtIndex) {\r\n // Store frame data\r\n const currentFrameDataURL = currentFrame.getDataURL();\r\n const currentFrameDelay = currentFrame.getDelay();\r\n\r\n const frameAtIndexDataURL = frameAtIndex.getDataURL();\r\n const frameAtIndexDelay = frameAtIndex.getDelay();\r\n\r\n // Swap data from frame\r\n currentFrame.setDataURL(frameAtIndexDataURL);\r\n currentFrame.setDelay(frameAtIndexDelay);\r\n // Swap data to frame\r\n frameAtIndex.setDataURL(currentFrameDataURL);\r\n frameAtIndex.setDelay(currentFrameDelay);\r\n } else {\r\n VYI.logger.prefix('VYI-Module').error('There was no frame found at pCurrentIndex, or there was no frame found at pIndex!');\r\n }\r\n } else {\r\n VYI.logger.prefix('VYI-Module').error('Invalid type used!');\r\n }\r\n return this;\r\n }\r\n /**\r\n * Gets the frame existing at pIndex.\r\n * Frame 0 will actually be frame \"1\" in the animation. As this icon will actually be frame 0.\r\n * If you are trying to get \"frame\" 1. Then you will need to use the icon's delay and data url. As that is frame 0.\r\n * @param {number} pIndex - The index of the frame to get.\r\n * @returns {Frame|undefined} The frame found at pIndex.\r\n */\r\n getFrame(pIndex) {\r\n if (typeof(pIndex) === 'number') {\r\n return this.frames[pIndex];\r\n } else {\r\n VYI.logger.prefix('VYI-Module').error('Invalid type used!');\r\n }\r\n }\r\n /**\r\n * Returns an array of all the frames this icons has.\r\n * @returns {Array} An array of frames this icon has.\r\n */\r\n getFrames() {\r\n return [ ...this.frames ];\r\n }\r\n /**\r\n * Gets all the frames belonging to this icon.\r\n * @private\r\n * @returns {Array} An array containing the frame data of all frames.\r\n */\r\n getFramesData() {\r\n const frameDataArray = [];\r\n this.frames.forEach((pFrame) => {\r\n frameDataArray.push(pFrame.export());\r\n });\r\n return frameDataArray;\r\n }\r\n /**\r\n * Gets the state that has the name pName.\r\n * @param {string} pName - The name of the state to get.\r\n * @returns {Icon} The state that has the name of pName.\r\n */\r\n getState(pName) {\r\n if (typeof(pName) === 'string') {\r\n for (let i = this.states.length - 1; i >= 0; i--) {\r\n const icon = this.states[i];\r\n // If the icon has the same name, return that icon\r\n if (icon.getName() === pName) {\r\n return icon;\r\n }\r\n }\r\n } else {\r\n VYI.logger.prefix('VYI-module').error('Invalid name type used!');\r\n }\r\n }\r\n /**\r\n * Returns an array of all the states this icons has.\r\n * @returns {Array} An array of states this icon has.\r\n */\r\n getStates() {\r\n return [ ...this.states ];\r\n }\r\n /**\r\n * Gets all the states belonging to this icon.\r\n * @private\r\n * @returns {Array} An array containing the state data of all frames.\r\n */\r\n getStatesData() {\r\n const stateDataArray = [];\r\n // Loop state array to export relevant information.\r\n this.states.forEach((pState) => {\r\n stateDataArray.push(pState.exportAsState());\r\n });\r\n return stateDataArray; \r\n }\r\n /**\r\n * Exports this icon as if it was a state in the proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this icon as if it were a state.\r\n */\r\n exportAsState() {\r\n const stateData = [];\r\n // state name\r\n stateData[0] = this.getName();\r\n // state dataURL\r\n stateData[1] = this.getDataURL();\r\n // state frame delay\r\n stateData[2] = this.getDelay();\r\n // state frame array\r\n stateData[3] = [];\r\n\r\n // Loop frame array to export relevant information.\r\n this.frames.forEach((pFrame) => {\r\n stateData[3].push(pFrame.export());\r\n });\r\n return stateData;\r\n }\r\n /**\r\n * Exports this icon's data into proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this icon in the proper vyi format.\r\n */\r\n export() {\r\n const iconData = [];\r\n // icon name\r\n iconData[0] = this.getName();\r\n // Get the size of this icon.\r\n const size = this.getSize();\r\n // icon width\r\n iconData[1] = size.width;\r\n // icon height\r\n iconData[2] = size.height;\r\n // frame delay\r\n iconData[3] = this.getDelay();\r\n // icon DataURL\r\n iconData[4] = this.getDataURL();\r\n // frame array\r\n iconData[5] = this.getFramesData();\r\n\r\n // this is actually an optional data entry into the vyi, only used if states actually exist on this icon.\r\n // this will save data\r\n if (this.states.length) {\r\n // states array\r\n iconData[6] = this.getStatesData();\r\n }\r\n return iconData;\r\n }\r\n}", + "content": "import { VYI } from './vyi.mjs';\r\nimport { Frame } from './frame.mjs';\r\n\r\nexport class Icon {\r\n /**\r\n * An array of Icon's that are state of this icon.\r\n * @private\r\n * @type {Array}\r\n */\r\n states = [];\r\n /**\r\n * An arary of Frame's that are the frames of this icon.\r\n * @private\r\n * @type {Array}\r\n */\r\n frames = [];\r\n /**\r\n * The width of this icon. All states and frames of this icon must match this size.\r\n * @private\r\n * @type {number}\r\n */\r\n width = 32;\r\n /**\r\n * The height of this icon. All states and frames of this icon must match this size.\r\n * @private\r\n * @type {number}\r\n */\r\n height = 32;\r\n /**\r\n * The data URL of the sprite in this frame.\r\n * @private\r\n * @type {string}\r\n */\r\n dataURL;\r\n /**\r\n * The delay of this frame.\r\n * @private\r\n * @type {number}\r\n */\r\n delay = 100;\r\n /**\r\n * The name of this icon.\r\n * @private\r\n * @type {string}\r\n */\r\n name = '';\r\n /**\r\n * The icon that owns this frame. \r\n * @private\r\n * @type {Icon}\r\n */\r\n parent;\r\n /**\r\n * The vyi this icon belongs to.\r\n * \r\n * @private\r\n * @type {VYI}\r\n */\r\n vyi;\r\n /**\r\n * Creates this icon instance.\r\n * @param {Object} pIconData - The icon data that is used to build this icon.\r\n * @param {VYI} pVYI - The vyi this icon | state belongs to.\r\n * @private\r\n */\r\n constructor(pIconData, pVYI) {\r\n this.vyi = pVYI;\r\n this.parse(pIconData);\r\n }\r\n /**\r\n * parses through the icon data and adds data to this icon.\r\n * @param {Object} pIconData - The icon data that is used to build this icon.\r\n * @private\r\n */\r\n parse(pIconData) {\r\n // Loop through pIconData and create this icon\r\n const iconName = pIconData[0];\r\n const iconWidth = pIconData[1];\r\n const iconHeight = pIconData[2];\r\n const iconDelay = pIconData[3];\r\n const iconDataURL = pIconData[4];\r\n const frameArray = pIconData[5];\r\n const stateArray = pIconData[6];\r\n\r\n // Set name\r\n this.rename(iconName);\r\n // Set size\r\n this.setSize(iconWidth, iconHeight);\r\n // Set icon delay\r\n this.setDelay(iconDelay);\r\n // Set dataURL\r\n this.setDataURL(iconDataURL);\r\n // Check if the frame data is an array\r\n if (Array.isArray(frameArray)) {\r\n // If the frame array has data then we need to store it.\r\n if (frameArray.length) {\r\n frameArray.forEach((pFrame) => {\r\n // pFrame is an array holding the datalURL and frameDelay of the frame\r\n this.addFrame(pFrame);\r\n });\r\n }\r\n }\r\n // Check if the states data is an array\r\n if (Array.isArray(stateArray)) {\r\n // If the state array has data then we need to store it.\r\n if (stateArray.length) {\r\n stateArray.forEach((pState) => {\r\n // Here we create a icon with aggregated data because the state data is not enough to make it an icon.\r\n // We do this because a state is basically an icon, but it just \"inherits\" alot of the data. But this makes it easier to manage if we treat it internally as an icon.\r\n const aggregatedIconData = [];\r\n // iconName\r\n aggregatedIconData[0] = pState[0];\r\n // iconWidth\r\n aggregatedIconData[1] = iconWidth;\r\n // iconHeight\r\n aggregatedIconData[2] = iconHeight;\r\n // frame delay\r\n aggregatedIconData[3] = pState[2];\r\n // iconDataURL\r\n aggregatedIconData[4] = pState[1];\r\n // frame array\r\n aggregatedIconData[5] = pState[3];\r\n this.addState(aggregatedIconData);\r\n });\r\n }\r\n }\r\n }\r\n /**\r\n * Sets the size of this icon.\r\n * @param {number} pWidth - The width of this icon.\r\n * @param {number} pHeight - THe height of this icon.\r\n * @returns {self} This icon instance.\r\n */\r\n setSize(pWidth, pHeight) {\r\n if (typeof(pWidth) === 'number') {\r\n this.width = pWidth;\r\n }\r\n if (typeof(pHeight) === 'number') {\r\n this.height = pHeight;\r\n }\r\n }\r\n /**\r\n * Gets the width and height of this icon and returns it.\r\n * @returns {Object} An object with the width and height of this icon.\r\n */\r\n getSize() {\r\n return { width: this.width, height: this.height };\r\n }\r\n /**\r\n * Sets the data url of this icon.\r\n * @param {DataURL} pDataURL - The base64 data of this image.\r\n * @returns {self} This icon instance.\r\n */\r\n setDataURL(pDataURL) {\r\n if (pDataURL) {\r\n if (typeof(pDataURL) === 'string') {\r\n this.dataURL = pDataURL;\r\n } else {\r\n VYI.logger.prefix('VYI-module').error('Invalid data url type!');\r\n }\r\n }\r\n return this;\r\n }\r\n /**\r\n * Gets the data URL of this icon.\r\n * @returns {DataURL} - The base64 data of this image.\r\n */\r\n getDataURL() {\r\n return this.dataURL;\r\n }\r\n /**\r\n * Sets the frame delay of this icon.\r\n * @param {number} pDelay - The delay to set this frame to.\r\n * @returns {self} This icon instance.\r\n */\r\n setDelay(pDelay) {\r\n if (pDelay) {\r\n if (typeof(pDelay) === 'number') {\r\n this.delay = pDelay;\r\n } else {\r\n VYI.logger.prefix('VYI-module').error('Invalid delay type!');\r\n }\r\n }\r\n return this;\r\n }\r\n /**\r\n * Gets the delay of this icon.\r\n * @returns {number} The delay of this icon.\r\n */\r\n getDelay() {\r\n return this.delay;\r\n }\r\n /**\r\n * Changes the name of this icon.\r\n * @param {string} pName - The new name of the icon.\r\n * @returns {self} This icon instance.\r\n */\r\n rename(pName) {\r\n if (pName || pName === '') {\r\n if (typeof(pName) === 'string') {\r\n this.name = pName;\r\n } else {\r\n VYI.logger.prefix('VYI-Module').error('Invalid type for pName!');\r\n }\r\n }\r\n return this;\r\n }\r\n /**\r\n * Returns the name of this icon.\r\n * @returns {string} The name of this icon.\r\n */\r\n getName() {\r\n return this.name;\r\n }\r\n /**\r\n * Sets all the frames belonging to this icon to the same delay.\r\n * @param {number} pDelay - The delay to set all frames to.\r\n * @returns {self} This icon instance.\r\n */\r\n setAllFrameDelays(pDelay) {\r\n if (pDelay) {\r\n if (typeof(pDelay) === 'number') {\r\n this.setDelay(pDelay);\r\n this.frames.forEach((pFrame) => {\r\n pFrame.setDelay(pDelay);\r\n });\r\n } else {\r\n VYI.logger.prefix('VYI-Module').error('Invalid type for pDelay!');\r\n }\r\n }\r\n return this;\r\n }\r\n /**\r\n * Adds this icon data as a state. A state is also an icon.\r\n * @param {Object} pIconData - The data used to create this state icon.\r\n * @returns {Icon|undefined} The state that was added or undefined.\r\n */\r\n addState(pIconData) {\r\n if (pIconData instanceof Object) {\r\n const state = new Icon(pIconData, this.vyi);\r\n state.parent = this;\r\n this.states.push(state);\r\n return state;\r\n }\r\n }\r\n /**\r\n * Removes the state passed or the state with the name pName.\r\n * @param {Icon} pState - The state to remove from this icon. pName should be not be used in tandem with this method of removing.\r\n * @param {string} pName - The name of the state to remove. pState must be undefined to use this method for removing.\r\n * @returns {self} This icon instance.\r\n */\r\n removeState(pState, pName) {\r\n // The index used to remove this frame.\r\n let index;\r\n // Remove via reference to state.\r\n if (this.states.includes(pState)) {\r\n index = this.states.indexOf(pState);\r\n // Remove via reference to name\r\n } else if (typeof(pName) === 'string') {\r\n const state = this.getState(pName);\r\n if (state) {\r\n index = this.states.indexOf(state);\r\n }\r\n } else {\r\n VYI.logger.prefix('VYI-Module').error('Failed to remove state!');\r\n return this;\r\n }\r\n if (typeof(index) === 'number') {\r\n // Remove the state\r\n this.states.splice(index, 1);\r\n }\r\n return this;\r\n }\r\n /**\r\n * Adds a new frame to this icon.\r\n * @param {Object} pFrameData - The frame data to give this frame.\r\n * @returns {Frame|undefined} The frame that was added or undefined.\r\n */\r\n addFrame(pFrameData) {\r\n if (pFrameData) {\r\n if (pFrameData instanceof Object) {\r\n const frame = new Frame(pFrameData, this);\r\n // Add the frame to the frames array.\r\n this.frames.push(frame);\r\n // Re-index frames after a change\r\n this.indexFrames();\r\n return frame;\r\n } else {\r\n VYI.logger.prefix('VYI-Module').error('Invalid frame data passed!');\r\n }\r\n } else {\r\n VYI.logger.prefix('VYI-Module').error('No frame data passed!');\r\n }\r\n }\r\n /**\r\n * Removes the frame passed or the frame that exists at pIndex.\r\n * @param {Frame} pFrame - The frame to remove from this icon. pIndex should be not be used in tandem with this method of removing.\r\n * @param {number} pIndex - The index of the frame to remove. pFrame must be undefined to use this method for removing.\r\n * @returns {self} This icon instance.\r\n */\r\n removeFrame(pFrame, pIndex) {\r\n // The index used to remove this frame.\r\n let index;\r\n // Remove via reference to frame.\r\n if (this.frames.includes(pFrame)) {\r\n index = this.frames.indexOf(pFrame);\r\n // Remove via index passed.\r\n } else if (pIndex || pIndex === 0) {\r\n if (typeof(pIndex) === 'number') {\r\n const frame = this.getFrame(pIndex);\r\n if (frame) {\r\n index = pIndex;\r\n }\r\n } else {\r\n VYI.logger.prefix('VYI-Module').error('Invalid pIndex type!');\r\n }\r\n } else {\r\n VYI.logger.prefix('VYI-Module').error('Failed to remove frame!');\r\n }\r\n if (typeof(index) === 'number') {\r\n // Remove the frame\r\n this.frames.splice(index, 1);\r\n // Re-index frames after a change\r\n this.indexFrames();\r\n }\r\n return this;\r\n }\r\n /**\r\n * Index the frames properly.\r\n * @private\r\n */\r\n indexFrames() {\r\n // Reorder the frames after removing.\r\n this.frames.forEach((pFrame, pIndex) => {\r\n pFrame.index = pIndex;\r\n });\r\n }\r\n /**\r\n * Reorders the frame in the animation. The index of the passed frame will be swapped with the frame at pIndex.\r\n * The \"first\" frame of the animation is technically this icon's dataURL. So if you are aiming to change the order of this icon and convert it into a frame.\r\n * pCurrentIndex must be set to -1 to match this icon.\r\n * @param {number} pCurrentIndex - The current index of the frame.\r\n * @param {number} pIndex - The index the frame will be moving to.\r\n * @returns {self} This icon instance.\r\n */\r\n reorderFrame(pCurrentIndex, pIndex) {\r\n if (typeof(pCurrentIndex) === 'number' && typeof(pIndex) === 'number') {\r\n let frameAtIndex;\r\n let currentFrame;\r\n // We check if the current index is -1, if it is then it means we want to treat this icon as a frame. As the icon data and delay of this icon serves\r\n // as the frame 0.\r\n if (pCurrentIndex === -1) {\r\n currentFrame = this;\r\n // Otherwise if the index passed can be found in the frames array, then we use that frame.\r\n } else if (this.frames[pCurrentIndex]) {\r\n currentFrame = this.frames[pCurrentIndex];\r\n }\r\n\r\n // We get the frame at the specified index.\r\n if (this.frames[pIndex]) {\r\n frameAtIndex = this.frames[pIndex];\r\n }\r\n\r\n // If both frames can be found, we can swap their data.\r\n if (currentFrame && frameAtIndex) {\r\n // Store frame data\r\n const currentFrameDataURL = currentFrame.getDataURL();\r\n const currentFrameDelay = currentFrame.getDelay();\r\n\r\n const frameAtIndexDataURL = frameAtIndex.getDataURL();\r\n const frameAtIndexDelay = frameAtIndex.getDelay();\r\n\r\n // Swap data from frame\r\n currentFrame.setDataURL(frameAtIndexDataURL);\r\n currentFrame.setDelay(frameAtIndexDelay);\r\n // Swap data to frame\r\n frameAtIndex.setDataURL(currentFrameDataURL);\r\n frameAtIndex.setDelay(currentFrameDelay);\r\n } else {\r\n VYI.logger.prefix('VYI-Module').error('There was no frame found at pCurrentIndex, or there was no frame found at pIndex!');\r\n }\r\n } else {\r\n VYI.logger.prefix('VYI-Module').error('Invalid type used!');\r\n }\r\n return this;\r\n }\r\n /**\r\n * Gets the frame existing at pIndex.\r\n * Frame 0 will actually be frame \"1\" in the animation. As this icon will actually be frame 0.\r\n * If you are trying to get \"frame\" 1. Then you will need to use the icon's delay and data url. As that is frame 0.\r\n * @param {number} pIndex - The index of the frame to get.\r\n * @returns {Frame|undefined} The frame found at pIndex.\r\n */\r\n getFrame(pIndex) {\r\n if (typeof(pIndex) === 'number') {\r\n return this.frames[pIndex];\r\n } else {\r\n VYI.logger.prefix('VYI-Module').error('Invalid type used!');\r\n }\r\n }\r\n /**\r\n * Returns an array of all the frames this icons has.\r\n * @returns {Array} An array of frames this icon has.\r\n */\r\n getFrames() {\r\n return [ ...this.frames ];\r\n }\r\n /**\r\n * Gets all the frames belonging to this icon.\r\n * @private\r\n * @returns {Array} An array containing the frame data of all frames.\r\n */\r\n getFramesData() {\r\n const frameDataArray = [];\r\n this.frames.forEach((pFrame) => {\r\n frameDataArray.push(pFrame.export());\r\n });\r\n return frameDataArray;\r\n }\r\n /**\r\n * Gets the state that has the name pName.\r\n * @param {string} pName - The name of the state to get.\r\n * @returns {Icon} The state that has the name of pName.\r\n */\r\n getState(pName) {\r\n if (typeof(pName) === 'string') {\r\n for (let i = this.states.length - 1; i >= 0; i--) {\r\n const icon = this.states[i];\r\n // If the icon has the same name, return that icon\r\n if (icon.getName() === pName) {\r\n return icon;\r\n }\r\n }\r\n } else {\r\n VYI.logger.prefix('VYI-module').error('Invalid name type used!');\r\n }\r\n }\r\n /**\r\n * Returns an array of all the states this icons has.\r\n * @returns {Array} An array of states this icon has.\r\n */\r\n getStates() {\r\n return [ ...this.states ];\r\n }\r\n /**\r\n * Gets all the states belonging to this icon.\r\n * @private\r\n * @returns {Array} An array containing the state data of all frames.\r\n */\r\n getStatesData() {\r\n const stateDataArray = [];\r\n // Loop state array to export relevant information.\r\n this.states.forEach((pState) => {\r\n stateDataArray.push(pState.exportAsState());\r\n });\r\n return stateDataArray; \r\n }\r\n /**\r\n * Exports this icon as if it was a state in the proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this icon as if it were a state.\r\n */\r\n exportAsState() {\r\n const stateData = [];\r\n // state name\r\n stateData[0] = this.getName();\r\n // state dataURL\r\n stateData[1] = this.getDataURL();\r\n // state frame delay\r\n stateData[2] = this.getDelay();\r\n // state frame array\r\n stateData[3] = [];\r\n\r\n // Loop frame array to export relevant information.\r\n this.frames.forEach((pFrame) => {\r\n stateData[3].push(pFrame.export());\r\n });\r\n return stateData;\r\n }\r\n /**\r\n * Exports this icon's data into proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this icon in the proper vyi format.\r\n */\r\n export() {\r\n const iconData = [];\r\n // icon name\r\n iconData[0] = this.getName();\r\n // Get the size of this icon.\r\n const size = this.getSize();\r\n // icon width\r\n iconData[1] = size.width;\r\n // icon height\r\n iconData[2] = size.height;\r\n // frame delay\r\n iconData[3] = this.getDelay();\r\n // icon DataURL\r\n iconData[4] = this.getDataURL();\r\n // frame array\r\n iconData[5] = this.getFramesData();\r\n\r\n // this is actually an optional data entry into the vyi, only used if states actually exist on this icon.\r\n // this will save data\r\n if (this.states.length) {\r\n // states array\r\n iconData[6] = this.getStatesData();\r\n }\r\n return iconData;\r\n }\r\n}", "static": true, "longname": "C:/Users/jared/Documents/Github/vyi/src/icon.mjs", "access": "public", @@ -937,7 +937,7 @@ "lineNumber": 1 }, { - "__docId__": 67, + "__docId__": 68, "kind": "class", "name": "Icon", "memberof": "src/icon.mjs", @@ -953,7 +953,7 @@ "interface": false }, { - "__docId__": 68, + "__docId__": 69, "kind": "member", "name": "states", "memberof": "src/icon.mjs~Icon", @@ -972,7 +972,7 @@ } }, { - "__docId__": 69, + "__docId__": 70, "kind": "member", "name": "frames", "memberof": "src/icon.mjs~Icon", @@ -991,7 +991,7 @@ } }, { - "__docId__": 70, + "__docId__": 71, "kind": "member", "name": "width", "memberof": "src/icon.mjs~Icon", @@ -1010,7 +1010,7 @@ } }, { - "__docId__": 71, + "__docId__": 72, "kind": "member", "name": "height", "memberof": "src/icon.mjs~Icon", @@ -1029,7 +1029,7 @@ } }, { - "__docId__": 72, + "__docId__": 73, "kind": "member", "name": "dataURL", "memberof": "src/icon.mjs~Icon", @@ -1048,7 +1048,7 @@ } }, { - "__docId__": 73, + "__docId__": 74, "kind": "member", "name": "delay", "memberof": "src/icon.mjs~Icon", @@ -1067,7 +1067,7 @@ } }, { - "__docId__": 74, + "__docId__": 75, "kind": "member", "name": "name", "memberof": "src/icon.mjs~Icon", @@ -1086,7 +1086,7 @@ } }, { - "__docId__": 75, + "__docId__": 76, "kind": "member", "name": "parent", "memberof": "src/icon.mjs~Icon", @@ -1105,7 +1105,7 @@ } }, { - "__docId__": 76, + "__docId__": 77, "kind": "member", "name": "vyi", "memberof": "src/icon.mjs~Icon", @@ -1124,7 +1124,7 @@ } }, { - "__docId__": 77, + "__docId__": 78, "kind": "constructor", "name": "constructor", "memberof": "src/icon.mjs~Icon", @@ -1159,7 +1159,7 @@ ] }, { - "__docId__": 79, + "__docId__": 80, "kind": "method", "name": "parse", "memberof": "src/icon.mjs~Icon", @@ -1185,7 +1185,7 @@ "return": null }, { - "__docId__": 80, + "__docId__": 81, "kind": "method", "name": "setSize", "memberof": "src/icon.mjs~Icon", @@ -1234,7 +1234,7 @@ } }, { - "__docId__": 83, + "__docId__": 84, "kind": "method", "name": "getSize", "memberof": "src/icon.mjs~Icon", @@ -1262,7 +1262,7 @@ "params": [] }, { - "__docId__": 84, + "__docId__": 85, "kind": "method", "name": "setDataURL", "memberof": "src/icon.mjs~Icon", @@ -1301,7 +1301,7 @@ } }, { - "__docId__": 86, + "__docId__": 87, "kind": "method", "name": "getDataURL", "memberof": "src/icon.mjs~Icon", @@ -1329,7 +1329,7 @@ "params": [] }, { - "__docId__": 87, + "__docId__": 88, "kind": "method", "name": "setDelay", "memberof": "src/icon.mjs~Icon", @@ -1368,7 +1368,7 @@ } }, { - "__docId__": 89, + "__docId__": 90, "kind": "method", "name": "getDelay", "memberof": "src/icon.mjs~Icon", @@ -1396,7 +1396,7 @@ "params": [] }, { - "__docId__": 90, + "__docId__": 91, "kind": "method", "name": "rename", "memberof": "src/icon.mjs~Icon", @@ -1435,7 +1435,7 @@ } }, { - "__docId__": 92, + "__docId__": 93, "kind": "method", "name": "getName", "memberof": "src/icon.mjs~Icon", @@ -1463,7 +1463,7 @@ "params": [] }, { - "__docId__": 93, + "__docId__": 94, "kind": "method", "name": "setAllFrameDelays", "memberof": "src/icon.mjs~Icon", @@ -1502,7 +1502,7 @@ } }, { - "__docId__": 94, + "__docId__": 95, "kind": "method", "name": "addState", "memberof": "src/icon.mjs~Icon", @@ -1542,7 +1542,7 @@ } }, { - "__docId__": 95, + "__docId__": 96, "kind": "method", "name": "removeState", "memberof": "src/icon.mjs~Icon", @@ -1591,7 +1591,7 @@ } }, { - "__docId__": 96, + "__docId__": 97, "kind": "method", "name": "addFrame", "memberof": "src/icon.mjs~Icon", @@ -1631,7 +1631,7 @@ } }, { - "__docId__": 97, + "__docId__": 98, "kind": "method", "name": "removeFrame", "memberof": "src/icon.mjs~Icon", @@ -1641,7 +1641,7 @@ "longname": "src/icon.mjs~Icon#removeFrame", "access": "public", "description": "Removes the frame passed or the frame that exists at pIndex.", - "lineNumber": 302, + "lineNumber": 301, "unknown": [ { "tagName": "@returns", @@ -1680,7 +1680,7 @@ } }, { - "__docId__": 98, + "__docId__": 99, "kind": "method", "name": "indexFrames", "memberof": "src/icon.mjs~Icon", @@ -1690,12 +1690,12 @@ "longname": "src/icon.mjs~Icon#indexFrames", "access": "private", "description": "Index the frames properly.", - "lineNumber": 333, + "lineNumber": 332, "params": [], "return": null }, { - "__docId__": 99, + "__docId__": 100, "kind": "method", "name": "reorderFrame", "memberof": "src/icon.mjs~Icon", @@ -1705,7 +1705,7 @@ "longname": "src/icon.mjs~Icon#reorderFrame", "access": "public", "description": "Reorders the frame in the animation. The index of the passed frame will be swapped with the frame at pIndex.\nThe \"first\" frame of the animation is technically this icon's dataURL. So if you are aiming to change the order of this icon and convert it into a frame.\npCurrentIndex must be set to -1 to match this icon.", - "lineNumber": 347, + "lineNumber": 346, "unknown": [ { "tagName": "@returns", @@ -1744,7 +1744,7 @@ } }, { - "__docId__": 100, + "__docId__": 101, "kind": "method", "name": "getFrame", "memberof": "src/icon.mjs~Icon", @@ -1754,7 +1754,7 @@ "longname": "src/icon.mjs~Icon#getFrame", "access": "public", "description": "Gets the frame existing at pIndex.\nFrame 0 will actually be frame \"1\" in the animation. As this icon will actually be frame 0.\nIf you are trying to get \"frame\" 1. Then you will need to use the icon's delay and data url. As that is frame 0.", - "lineNumber": 395, + "lineNumber": 394, "unknown": [ { "tagName": "@returns", @@ -1784,7 +1784,7 @@ } }, { - "__docId__": 101, + "__docId__": 102, "kind": "method", "name": "getFrames", "memberof": "src/icon.mjs~Icon", @@ -1794,7 +1794,7 @@ "longname": "src/icon.mjs~Icon#getFrames", "access": "public", "description": "Returns an array of all the frames this icons has.", - "lineNumber": 406, + "lineNumber": 405, "unknown": [ { "tagName": "@returns", @@ -1812,7 +1812,7 @@ "params": [] }, { - "__docId__": 102, + "__docId__": 103, "kind": "method", "name": "getFramesData", "memberof": "src/icon.mjs~Icon", @@ -1822,7 +1822,7 @@ "longname": "src/icon.mjs~Icon#getFramesData", "access": "private", "description": "Gets all the frames belonging to this icon.", - "lineNumber": 414, + "lineNumber": 413, "unknown": [ { "tagName": "@returns", @@ -1840,7 +1840,7 @@ "params": [] }, { - "__docId__": 103, + "__docId__": 104, "kind": "method", "name": "getState", "memberof": "src/icon.mjs~Icon", @@ -1850,7 +1850,7 @@ "longname": "src/icon.mjs~Icon#getState", "access": "public", "description": "Gets the state that has the name pName.", - "lineNumber": 426, + "lineNumber": 425, "unknown": [ { "tagName": "@returns", @@ -1879,7 +1879,7 @@ } }, { - "__docId__": 104, + "__docId__": 105, "kind": "method", "name": "getStates", "memberof": "src/icon.mjs~Icon", @@ -1889,7 +1889,7 @@ "longname": "src/icon.mjs~Icon#getStates", "access": "public", "description": "Returns an array of all the states this icons has.", - "lineNumber": 443, + "lineNumber": 442, "unknown": [ { "tagName": "@returns", @@ -1907,7 +1907,7 @@ "params": [] }, { - "__docId__": 105, + "__docId__": 106, "kind": "method", "name": "getStatesData", "memberof": "src/icon.mjs~Icon", @@ -1917,7 +1917,7 @@ "longname": "src/icon.mjs~Icon#getStatesData", "access": "private", "description": "Gets all the states belonging to this icon.", - "lineNumber": 451, + "lineNumber": 450, "unknown": [ { "tagName": "@returns", @@ -1935,7 +1935,7 @@ "params": [] }, { - "__docId__": 106, + "__docId__": 107, "kind": "method", "name": "exportAsState", "memberof": "src/icon.mjs~Icon", @@ -1945,7 +1945,7 @@ "longname": "src/icon.mjs~Icon#exportAsState", "access": "private", "description": "Exports this icon as if it was a state in the proper vyi format.", - "lineNumber": 464, + "lineNumber": 463, "unknown": [ { "tagName": "@returns", @@ -1963,7 +1963,7 @@ "params": [] }, { - "__docId__": 107, + "__docId__": 108, "kind": "method", "name": "export", "memberof": "src/icon.mjs~Icon", @@ -1973,7 +1973,7 @@ "longname": "src/icon.mjs~Icon#export", "access": "private", "description": "Exports this icon's data into proper vyi format.", - "lineNumber": 486, + "lineNumber": 485, "unknown": [ { "tagName": "@returns", @@ -1991,7 +1991,7 @@ "params": [] }, { - "__docId__": 108, + "__docId__": 109, "kind": "file", "name": "src/vyi.mjs", "content": "import { Logger } from './vendor/logger.mjs';\r\nimport { Icon } from './icon.mjs';\r\n\r\nexport class VYI {\r\n\t/**\r\n\t * The version of the module.\r\n\t */\r\n\tstatic version = \"VERSION_REPLACE_ME\";\r\n /** The logger module this module uses to log errors / logs.\r\n * @private\r\n * @type {Object}\r\n */\r\n static logger = new Logger();\r\n /**\r\n * An array of icons that belong to this VYI\r\n * @private\r\n * @type {Array}\r\n */\r\n icons = [];\r\n /**\r\n * The name of this vyi.\r\n * @private\r\n * @type {string}\r\n */\r\n name = 'failed-to-find-vyi-name';\r\n /**\r\n * The version of the VYI.\r\n * @private\r\n * @type {number}\r\n */\r\n formatVersion;\r\n /**\r\n * Initializes this module with the information from the VYI passed.\r\n * @param {Object} pVYIData - A JSON / Javascript object containing the vyi information.this.ogger\r\n */\r\n constructor(pVYIData) {\r\n VYI.logger.registerType('VYI-Module', '#ff6600');\r\n if (pVYIData) {\r\n if (pVYIData instanceof Object) {\r\n this.parse(pVYIData);\r\n } else {\r\n VYI.logger.prefix('VYI-module').error('Invalid vyiData type! Cannot parse!');\r\n }\r\n }\r\n }\r\n /**\r\n * Initializes this module with the information from the VYI passed.\r\n * Can call parse multiple times with different data to \"merge\" vyis.\r\n * @async\r\n * @param {Object|string} pVYIData - A string containing the path to the vyi json or a JSON / Javascript object containing the vyi information.\r\n */\r\n async parse(pVYIData) {\r\n try {\r\n if (pVYIData) {\r\n let vyi;\r\n // If the data is a path then we need to use fetch to acquire the data first\r\n if (typeof(pVYIData) === 'string') {\r\n const url = pVYIData;\r\n const response = await fetch(url);\r\n vyi = await response.json();\r\n } else if (pVYIData instanceof Object) {\r\n vyi = pVYIData;\r\n }\r\n // If there is data to parse\r\n // Then parse through it\r\n if (vyi) {\r\n /**\r\n * An array of icons that this vyi holds.\r\n * @type {Array}\r\n */\r\n const icons = vyi.i;\r\n /**\r\n * The version of the vyi. 1 for default if no version is found.\r\n * @type {number}\r\n */\r\n this.formatVersion = vyi.v || 1;\r\n\r\n if (Array.isArray(icons)) {\r\n // Loop through the icons and add them to the vyi module instance.\r\n icons.forEach((pIconData) => {\r\n this.addIcon(pIconData);\r\n });\r\n } else {\r\n VYI.logger.prefix('VYI-module').error('Invalid .vyi file! Cannot parse.');\r\n }\r\n }\r\n }\r\n } catch (pError) {\r\n VYI.logger.prefix('VYI-module').error(`Error processing vyi data: ${pError}`);\r\n }\r\n }\r\n /**\r\n * Adds an icon to this VYI.\r\n * @param {Object} pIconData - The icon data to use.\r\n * @returns {Icon|undefined} - The Icon added or undefined.\r\n */\r\n addIcon(pIconData) {\r\n if (pIconData) {\r\n if (pIconData instanceof Object) {\r\n const icon = new Icon(pIconData);\r\n // Add the icon to the icons array.\r\n this.icons.push(icon);\r\n return icon;\r\n } else {\r\n VYI.logger.prefix('VYI-module').error('Invalid icon data type passed!');\r\n }\r\n } else {\r\n VYI.logger.prefix('VYI-module').error('No icon data passed!');\r\n }\r\n }\r\n /**\r\n * Removes the icon passed or the icon with the name pName.\r\n * @param {Icon} pIcon - The state to remove from this icon. pName should be not be used in tandem with this method of removing.\r\n * @param {string} pName - The name of the icon to remove. pIcon must be undefined to use this method for removing.\r\n */\r\n removeIcon(pIcon, pName) {\r\n const icon = pIcon || this.getIcon(pName);\r\n if (icon) {\r\n if (this.icons.includes(icon)) {\r\n this.icons.splice(this.icons.indexOf(icon), 1);\r\n }\r\n }\r\n }\r\n /**\r\n * Returns all the icon names in this vyi.\r\n * @returns {Array} An array of icon names in this vyi.\r\n */\r\n getIconNames() {\r\n // Array to store the icon names.\r\n const iconNames = [];\r\n this.icons.forEach((pIcon) => {\r\n iconNames.push(pIcon.name);\r\n });\r\n return iconNames;\r\n }\r\n /**\r\n * Gets the icon that has the name pName.\r\n * @param {string} pName - The name of the icon to get.\r\n * @returns {Icon|undefined} The icon that has the name pName or undefined.\r\n */\r\n getIcon(pName) {\r\n if (typeof(pName) === 'string') {\r\n for (let i = this.icons.length - 1; i >= 0; i--) {\r\n const icon = this.icons[i];\r\n // If the icon has the same name, return that icon\r\n if (icon.getName() === pName) {\r\n return icon;\r\n }\r\n }\r\n } else {\r\n VYI.logger.prefix('VYI-module').error('Invalid name type used!');\r\n }\r\n }\r\n /**\r\n * Gets all the icons in this vyi.\r\n * @returns {Array}\r\n */\r\n getIcons() {\r\n return [...this.icons];\r\n }\r\n /**\r\n * Exports this VYI into VYI format.\r\n * @returns {Object} Returns the vyi data.\r\n */\r\n export() {\r\n const vyi = {};\r\n // Set version\r\n vyi.v = this.formatVersion;\r\n // Set the icons array\r\n vyi.i = [];\r\n this.icons.forEach((pIcon) => {\r\n // Push the icon data to the vyi export object.\r\n vyi.i.push(pIcon.export());\r\n });\r\n return vyi;\r\n }\r\n}", @@ -2002,7 +2002,7 @@ "lineNumber": 1 }, { - "__docId__": 109, + "__docId__": 110, "kind": "class", "name": "VYI", "memberof": "src/vyi.mjs", @@ -2018,7 +2018,7 @@ "interface": false }, { - "__docId__": 110, + "__docId__": 111, "kind": "member", "name": "version", "memberof": "src/vyi.mjs~VYI", @@ -2034,7 +2034,7 @@ } }, { - "__docId__": 111, + "__docId__": 112, "kind": "member", "name": "logger", "memberof": "src/vyi.mjs~VYI", @@ -2053,7 +2053,7 @@ } }, { - "__docId__": 112, + "__docId__": 113, "kind": "member", "name": "icons", "memberof": "src/vyi.mjs~VYI", @@ -2072,7 +2072,7 @@ } }, { - "__docId__": 113, + "__docId__": 114, "kind": "member", "name": "name", "memberof": "src/vyi.mjs~VYI", @@ -2091,7 +2091,7 @@ } }, { - "__docId__": 114, + "__docId__": 115, "kind": "member", "name": "formatVersion", "memberof": "src/vyi.mjs~VYI", @@ -2110,7 +2110,7 @@ } }, { - "__docId__": 115, + "__docId__": 116, "kind": "constructor", "name": "constructor", "memberof": "src/vyi.mjs~VYI", @@ -2135,7 +2135,7 @@ ] }, { - "__docId__": 116, + "__docId__": 117, "kind": "method", "name": "parse", "memberof": "src/vyi.mjs~VYI", @@ -2162,7 +2162,7 @@ "return": null }, { - "__docId__": 118, + "__docId__": 119, "kind": "method", "name": "addIcon", "memberof": "src/vyi.mjs~VYI", @@ -2202,7 +2202,7 @@ } }, { - "__docId__": 119, + "__docId__": 120, "kind": "method", "name": "removeIcon", "memberof": "src/vyi.mjs~VYI", @@ -2238,7 +2238,7 @@ "return": null }, { - "__docId__": 120, + "__docId__": 121, "kind": "method", "name": "getIconNames", "memberof": "src/vyi.mjs~VYI", @@ -2266,7 +2266,7 @@ "params": [] }, { - "__docId__": 121, + "__docId__": 122, "kind": "method", "name": "getIcon", "memberof": "src/vyi.mjs~VYI", @@ -2306,7 +2306,7 @@ } }, { - "__docId__": 122, + "__docId__": 123, "kind": "method", "name": "getIcons", "memberof": "src/vyi.mjs~VYI", @@ -2334,7 +2334,7 @@ "params": [] }, { - "__docId__": 123, + "__docId__": 124, "kind": "method", "name": "export", "memberof": "src/vyi.mjs~VYI", @@ -2371,7 +2371,7 @@ }, { "kind": "packageJSON", - "content": "{\r\n \"name\": \"vyi\",\r\n \"version\": \"1.2.0\",\r\n \"description\": \"A lightweight module to read / manage .vyi files created in the Vylocity Game Engine.\",\r\n \"main\": \"src/vyi.mjs\",\r\n \"scripts\": {\r\n \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\",\r\n \"build:rollup\": \"npx rollup -c\",\r\n \"build:docs\": \"esdoc -c esdoc.json\",\r\n \"build:dist\": \"npm run build:rollup && npm run build:docs\"\r\n },\r\n \"keywords\": [],\r\n \"author\": \"https://github.com/doubleactii\",\r\n \"license\": \"MIT\",\r\n \"repository\": {\r\n \"type\": \"git\",\r\n \"url\": \"https://github.com/EvitcaStudio/vyi\"\r\n },\r\n \"devDependencies\": {\r\n \"@rollup/plugin-babel\": \"^6.0.4\",\r\n \"@rollup/plugin-terser\": \"^0.4.4\",\r\n \"rollup\": \"^4.14.1\",\r\n \"rollup-plugin-banner2\": \"^1.2.3\",\r\n \"rollup-plugin-cleandir\": \"^2.0.0\",\r\n \"rollup-plugin-replace\": \"^2.2.0\"\r\n }\r\n}\r\n", + "content": "{\r\n \"name\": \"vyi\",\r\n \"version\": \"1.2.1\",\r\n \"description\": \"A lightweight module to read / manage .vyi files created in the Vylocity Game Engine.\",\r\n \"main\": \"src/vyi.mjs\",\r\n \"scripts\": {\r\n \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\",\r\n \"build:rollup\": \"npx rollup -c\",\r\n \"build:docs\": \"esdoc -c esdoc.json\",\r\n \"build:dist\": \"npm run build:rollup && npm run build:docs\"\r\n },\r\n \"keywords\": [],\r\n \"author\": \"https://github.com/doubleactii\",\r\n \"license\": \"MIT\",\r\n \"repository\": {\r\n \"type\": \"git\",\r\n \"url\": \"https://github.com/EvitcaStudio/vyi\"\r\n },\r\n \"devDependencies\": {\r\n \"@rollup/plugin-babel\": \"^6.0.4\",\r\n \"@rollup/plugin-terser\": \"^0.4.4\",\r\n \"rollup\": \"^4.14.1\",\r\n \"rollup-plugin-banner2\": \"^1.2.3\",\r\n \"rollup-plugin-cleandir\": \"^2.0.0\",\r\n \"rollup-plugin-replace\": \"^2.2.0\"\r\n }\r\n}\r\n", "longname": "C:\\Users\\jared\\Documents\\Github\\vyi\\package.json", "name": "package.json", "static": true, diff --git a/docs/source.html b/docs/source.html index deccb86..98dc726 100644 --- a/docs/source.html +++ b/docs/source.html @@ -55,17 +55,17 @@ src/frame.mjs Frame - - 3588 byte - 125 - 2024-08-03 14:34:59 (UTC) + 3624 byte + 126 + 2024-08-03 15:04:37 (UTC) src/icon.mjs Icon - - 18037 byte - 510 - 2024-08-03 14:49:31 (UTC) + 17999 byte + 509 + 2024-08-03 15:04:46 (UTC) src/vyi.mjs diff --git a/package.json b/package.json index 4cfca7c..034c840 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vyi", - "version": "1.2.0", + "version": "1.2.1", "description": "A lightweight module to read / manage .vyi files created in the Vylocity Game Engine.", "main": "src/vyi.mjs", "scripts": { diff --git a/src/frame.mjs b/src/frame.mjs index 3c51525..1b3aa80 100644 --- a/src/frame.mjs +++ b/src/frame.mjs @@ -46,6 +46,7 @@ export class Frame { */ constructor(pFrameData, pParentIcon) { this.vyi = pParentIcon.vyi; + this.parent = pParentIcon; this.parse(pFrameData); } /** diff --git a/src/icon.mjs b/src/icon.mjs index daec3ba..74fbc91 100644 --- a/src/icon.mjs +++ b/src/icon.mjs @@ -280,7 +280,6 @@ export class Icon { if (pFrameData) { if (pFrameData instanceof Object) { const frame = new Frame(pFrameData, this); - frame.parent = this; // Add the frame to the frames array. this.frames.push(frame); // Re-index frames after a change