diff --git a/docs/ast/source/icon.mjs.json b/docs/ast/source/icon.mjs.json index cf9e1cb..28b7463 100644 --- a/docs/ast/source/icon.mjs.json +++ b/docs/ast/source/icon.mjs.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 17360, + "end": 17596, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 488, + "line": 493, "column": 1 } }, "program": { "type": "Program", "start": 0, - "end": 17360, + "end": 17596, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 488, + "line": 493, "column": 1 } }, @@ -203,14 +203,14 @@ { "type": "ExportNamedDeclaration", "start": 74, - "end": 17360, + "end": 17596, "loc": { "start": { "line": 4, "column": 0 }, "end": { - "line": 488, + "line": 493, "column": 1 } }, @@ -219,14 +219,14 @@ "declaration": { "type": "ClassDeclaration", "start": 81, - "end": 17360, + "end": 17596, "loc": { "start": { "line": 4, "column": 7 }, "end": { - "line": 488, + "line": 493, "column": 1 } }, @@ -251,14 +251,14 @@ "body": { "type": "ClassBody", "start": 92, - "end": 17360, + "end": 17596, "loc": { "start": { "line": 4, "column": 18 }, "end": { - "line": 488, + "line": 493, "column": 1 } }, @@ -18189,14 +18189,14 @@ { "type": "ClassMethod", "start": 14781, - "end": 15016, + "end": 15252, "loc": { "start": { "line": 408, "column": 4 }, "end": { - "line": 415, + "line": 420, "column": 5 } }, @@ -18247,51 +18247,66 @@ "body": { "type": "BlockStatement", "start": 14797, - "end": 15016, + "end": 15252, "loc": { "start": { "line": 408, "column": 20 }, "end": { - "line": 415, + "line": 420, "column": 5 } }, "body": [ { - "type": "ForOfStatement", + "type": "IfStatement", "start": 14808, - "end": 15008, + "end": 15245, "loc": { "start": { "line": 409, "column": 8 }, "end": { - "line": 414, + "line": 419, "column": 9 } }, - "left": { - "type": "VariableDeclaration", - "start": 14813, - "end": 14823, + "test": { + "type": "BinaryExpression", + "start": 14812, + "end": 14838, "loc": { "start": { "line": 409, - "column": 13 + "column": 12 }, "end": { "line": 409, - "column": 23 + "column": 38 } }, - "declarations": [ - { - "type": "VariableDeclarator", + "left": { + "type": "UnaryExpression", + "start": 14812, + "end": 14825, + "loc": { + "start": { + "line": 409, + "column": 12 + }, + "end": { + "line": 409, + "column": 25 + } + }, + "operator": "typeof", + "prefix": true, + "argument": { + "type": "Identifier", "start": 14819, - "end": 14823, + "end": 14824, "loc": { "start": { "line": 409, @@ -18299,298 +18314,905 @@ }, "end": { "line": 409, - "column": 23 - } - }, - "id": { - "type": "Identifier", - "start": 14819, - "end": 14823, - "loc": { - "start": { - "line": 409, - "column": 19 - }, - "end": { - "line": 409, - "column": 23 - }, - "identifierName": "icon" + "column": 24 }, - "name": "icon" - }, - "init": null - } - ], - "kind": "const" - }, - "right": { - "type": "MemberExpression", - "start": 14827, - "end": 14838, - "loc": { - "start": { - "line": 409, - "column": 27 - }, - "end": { - "line": 409, - "column": 38 - } - }, - "object": { - "type": "ThisExpression", - "start": 14827, - "end": 14831, - "loc": { - "start": { - "line": 409, - "column": 27 + "identifierName": "pName" }, - "end": { - "line": 409, - "column": 31 + "name": "pName", + "extra": { + "parenthesized": true, + "parenStart": 14818 } + }, + "extra": { + "parenthesizedArgument": false } }, - "property": { - "type": "Identifier", - "start": 14832, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 14830, "end": 14838, "loc": { "start": { "line": 409, - "column": 32 + "column": 30 }, "end": { "line": 409, "column": 38 - }, - "identifierName": "states" + } }, - "name": "states" - }, - "computed": false + "extra": { + "rawValue": "string", + "raw": "'string'" + }, + "value": "string" + } }, - "body": { + "consequent": { "type": "BlockStatement", "start": 14840, - "end": 15008, + "end": 15148, "loc": { "start": { "line": 409, "column": 40 }, "end": { - "line": 414, + "line": 417, "column": 9 } }, "body": [ { - "type": "IfStatement", - "start": 14921, - "end": 14997, + "type": "ForStatement", + "start": 14855, + "end": 15137, "loc": { "start": { - "line": 411, + "line": 410, "column": 12 }, "end": { - "line": 413, + "line": 416, "column": 13 } }, - "test": { - "type": "BinaryExpression", - "start": 14925, - "end": 14949, + "init": { + "type": "VariableDeclaration", + "start": 14860, + "end": 14890, "loc": { "start": { - "line": 411, - "column": 16 + "line": 410, + "column": 17 }, "end": { - "line": 411, - "column": 40 + "line": 410, + "column": 47 } }, - "left": { - "type": "CallExpression", - "start": 14925, - "end": 14939, - "loc": { - "start": { - "line": 411, - "column": 16 - }, - "end": { - "line": 411, - "column": 30 - } - }, - "callee": { - "type": "MemberExpression", - "start": 14925, - "end": 14937, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 14864, + "end": 14890, "loc": { "start": { - "line": 411, - "column": 16 + "line": 410, + "column": 21 }, "end": { - "line": 411, - "column": 28 + "line": 410, + "column": 47 } }, - "object": { + "id": { "type": "Identifier", - "start": 14925, - "end": 14929, + "start": 14864, + "end": 14865, "loc": { "start": { - "line": 411, - "column": 16 + "line": 410, + "column": 21 }, "end": { - "line": 411, - "column": 20 + "line": 410, + "column": 22 }, - "identifierName": "icon" + "identifierName": "i" }, - "name": "icon", - "leadingComments": null + "name": "i" }, - "property": { - "type": "Identifier", - "start": 14930, - "end": 14937, + "init": { + "type": "BinaryExpression", + "start": 14868, + "end": 14890, "loc": { "start": { - "line": 411, - "column": 21 + "line": 410, + "column": 25 }, "end": { - "line": 411, - "column": 28 + "line": 410, + "column": 47 + } + }, + "left": { + "type": "MemberExpression", + "start": 14868, + "end": 14886, + "loc": { + "start": { + "line": 410, + "column": 25 + }, + "end": { + "line": 410, + "column": 43 + } + }, + "object": { + "type": "MemberExpression", + "start": 14868, + "end": 14879, + "loc": { + "start": { + "line": 410, + "column": 25 + }, + "end": { + "line": 410, + "column": 36 + } + }, + "object": { + "type": "ThisExpression", + "start": 14868, + "end": 14872, + "loc": { + "start": { + "line": 410, + "column": 25 + }, + "end": { + "line": 410, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "start": 14873, + "end": 14879, + "loc": { + "start": { + "line": 410, + "column": 30 + }, + "end": { + "line": 410, + "column": 36 + }, + "identifierName": "states" + }, + "name": "states" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 14880, + "end": 14886, + "loc": { + "start": { + "line": 410, + "column": 37 + }, + "end": { + "line": 410, + "column": 43 + }, + "identifierName": "length" + }, + "name": "length" }, - "identifierName": "getName" + "computed": false }, - "name": "getName" + "operator": "-", + "right": { + "type": "NumericLiteral", + "start": 14889, + "end": 14890, + "loc": { + "start": { + "line": 410, + "column": 46 + }, + "end": { + "line": 410, + "column": 47 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + } + } + ], + "kind": "let" + }, + "test": { + "type": "BinaryExpression", + "start": 14892, + "end": 14898, + "loc": { + "start": { + "line": 410, + "column": 49 + }, + "end": { + "line": 410, + "column": 55 + } + }, + "left": { + "type": "Identifier", + "start": 14892, + "end": 14893, + "loc": { + "start": { + "line": 410, + "column": 49 }, - "computed": false, - "leadingComments": null + "end": { + "line": 410, + "column": 50 + }, + "identifierName": "i" }, - "arguments": [], - "leadingComments": null + "name": "i" }, - "operator": "===", + "operator": ">=", "right": { + "type": "NumericLiteral", + "start": 14897, + "end": 14898, + "loc": { + "start": { + "line": 410, + "column": 54 + }, + "end": { + "line": 410, + "column": 55 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + }, + "update": { + "type": "UpdateExpression", + "start": 14900, + "end": 14903, + "loc": { + "start": { + "line": 410, + "column": 57 + }, + "end": { + "line": 410, + "column": 60 + } + }, + "operator": "--", + "prefix": false, + "argument": { "type": "Identifier", - "start": 14944, - "end": 14949, + "start": 14900, + "end": 14901, "loc": { "start": { - "line": 411, - "column": 35 + "line": 410, + "column": 57 }, "end": { - "line": 411, - "column": 40 + "line": 410, + "column": 58 }, - "identifierName": "pName" + "identifierName": "i" }, - "name": "pName" - }, - "leadingComments": null + "name": "i" + } }, - "consequent": { + "body": { "type": "BlockStatement", - "start": 14951, - "end": 14997, + "start": 14905, + "end": 15137, "loc": { "start": { - "line": 411, - "column": 42 + "line": 410, + "column": 62 }, "end": { - "line": 413, + "line": 416, "column": 13 } }, "body": [ { - "type": "ReturnStatement", - "start": 14970, - "end": 14982, + "type": "VariableDeclaration", + "start": 14924, + "end": 14952, "loc": { "start": { - "line": 412, + "line": 411, "column": 16 }, "end": { - "line": 412, - "column": 28 + "line": 411, + "column": 44 } }, - "argument": { - "type": "Identifier", - "start": 14977, - "end": 14981, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 14930, + "end": 14951, + "loc": { + "start": { + "line": 411, + "column": 22 + }, + "end": { + "line": 411, + "column": 43 + } + }, + "id": { + "type": "Identifier", + "start": 14930, + "end": 14934, + "loc": { + "start": { + "line": 411, + "column": 22 + }, + "end": { + "line": 411, + "column": 26 + }, + "identifierName": "icon" + }, + "name": "icon" + }, + "init": { + "type": "MemberExpression", + "start": 14937, + "end": 14951, + "loc": { + "start": { + "line": 411, + "column": 29 + }, + "end": { + "line": 411, + "column": 43 + } + }, + "object": { + "type": "MemberExpression", + "start": 14937, + "end": 14948, + "loc": { + "start": { + "line": 411, + "column": 29 + }, + "end": { + "line": 411, + "column": 40 + } + }, + "object": { + "type": "ThisExpression", + "start": 14937, + "end": 14941, + "loc": { + "start": { + "line": 411, + "column": 29 + }, + "end": { + "line": 411, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "start": 14942, + "end": 14948, + "loc": { + "start": { + "line": 411, + "column": 34 + }, + "end": { + "line": 411, + "column": 40 + }, + "identifierName": "states" + }, + "name": "states" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 14949, + "end": 14950, + "loc": { + "start": { + "line": 411, + "column": 41 + }, + "end": { + "line": 411, + "column": 42 + }, + "identifierName": "i" + }, + "name": "i" + }, + "computed": true + } + } + ], + "kind": "const", + "trailingComments": [ + { + "type": "CommentLine", + "value": " If the icon has the same name, return that icon", + "start": 14970, + "end": 15020, + "loc": { + "start": { + "line": 412, + "column": 16 + }, + "end": { + "line": 412, + "column": 66 + } + } + } + ] + }, + { + "type": "IfStatement", + "start": 15038, + "end": 15122, + "loc": { + "start": { + "line": 413, + "column": 16 + }, + "end": { + "line": 415, + "column": 17 + } + }, + "test": { + "type": "BinaryExpression", + "start": 15042, + "end": 15066, "loc": { "start": { - "line": 412, - "column": 23 + "line": 413, + "column": 20 }, "end": { - "line": 412, - "column": 27 + "line": 413, + "column": 44 + } + }, + "left": { + "type": "CallExpression", + "start": 15042, + "end": 15056, + "loc": { + "start": { + "line": 413, + "column": 20 + }, + "end": { + "line": 413, + "column": 34 + } + }, + "callee": { + "type": "MemberExpression", + "start": 15042, + "end": 15054, + "loc": { + "start": { + "line": 413, + "column": 20 + }, + "end": { + "line": 413, + "column": 32 + } + }, + "object": { + "type": "Identifier", + "start": 15042, + "end": 15046, + "loc": { + "start": { + "line": 413, + "column": 20 + }, + "end": { + "line": 413, + "column": 24 + }, + "identifierName": "icon" + }, + "name": "icon", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 15047, + "end": 15054, + "loc": { + "start": { + "line": 413, + "column": 25 + }, + "end": { + "line": 413, + "column": 32 + }, + "identifierName": "getName" + }, + "name": "getName" + }, + "computed": false, + "leadingComments": null }, - "identifierName": "icon" + "arguments": [], + "leadingComments": null }, - "name": "icon" - } + "operator": "===", + "right": { + "type": "Identifier", + "start": 15061, + "end": 15066, + "loc": { + "start": { + "line": 413, + "column": 39 + }, + "end": { + "line": 413, + "column": 44 + }, + "identifierName": "pName" + }, + "name": "pName" + }, + "leadingComments": null + }, + "consequent": { + "type": "BlockStatement", + "start": 15068, + "end": 15122, + "loc": { + "start": { + "line": 413, + "column": 46 + }, + "end": { + "line": 415, + "column": 17 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 15091, + "end": 15103, + "loc": { + "start": { + "line": 414, + "column": 20 + }, + "end": { + "line": 414, + "column": 32 + } + }, + "argument": { + "type": "Identifier", + "start": 15098, + "end": 15102, + "loc": { + "start": { + "line": 414, + "column": 27 + }, + "end": { + "line": 414, + "column": 31 + }, + "identifierName": "icon" + }, + "name": "icon" + } + } + ], + "directives": [] + }, + "alternate": null, + "leadingComments": [ + { + "type": "CommentLine", + "value": " If the icon has the same name, return that icon", + "start": 14970, + "end": 15020, + "loc": { + "start": { + "line": 412, + "column": 16 + }, + "end": { + "line": 412, + "column": 66 + } + } + } + ] } ], "directives": [] + } + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 15154, + "end": 15245, + "loc": { + "start": { + "line": 417, + "column": 15 + }, + "end": { + "line": 419, + "column": 9 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 15169, + "end": 15234, + "loc": { + "start": { + "line": 418, + "column": 12 + }, + "end": { + "line": 418, + "column": 77 + } }, - "alternate": null, - "leadingComments": [ - { - "type": "CommentLine", - "value": " If the state has the same name, return that state", - "start": 14855, - "end": 14907, + "expression": { + "type": "CallExpression", + "start": 15169, + "end": 15233, + "loc": { + "start": { + "line": 418, + "column": 12 + }, + "end": { + "line": 418, + "column": 76 + } + }, + "callee": { + "type": "MemberExpression", + "start": 15169, + "end": 15206, "loc": { "start": { - "line": 410, + "line": 418, "column": 12 }, "end": { - "line": 410, - "column": 64 + "line": 418, + "column": 49 } - } - } - ] - } - ], - "directives": [] - } - }, - { - "type": "EmptyStatement", - "start": 15008, - "end": 15009, - "loc": { - "start": { - "line": 414, - "column": 9 - }, - "end": { - "line": 414, - "column": 10 - } + }, + "object": { + "type": "CallExpression", + "start": 15169, + "end": 15200, + "loc": { + "start": { + "line": 418, + "column": 12 + }, + "end": { + "line": 418, + "column": 43 + } + }, + "callee": { + "type": "MemberExpression", + "start": 15169, + "end": 15186, + "loc": { + "start": { + "line": 418, + "column": 12 + }, + "end": { + "line": 418, + "column": 29 + } + }, + "object": { + "type": "MemberExpression", + "start": 15169, + "end": 15179, + "loc": { + "start": { + "line": 418, + "column": 12 + }, + "end": { + "line": 418, + "column": 22 + } + }, + "object": { + "type": "Identifier", + "start": 15169, + "end": 15172, + "loc": { + "start": { + "line": 418, + "column": 12 + }, + "end": { + "line": 418, + "column": 15 + }, + "identifierName": "VYI" + }, + "name": "VYI" + }, + "property": { + "type": "Identifier", + "start": 15173, + "end": 15179, + "loc": { + "start": { + "line": 418, + "column": 16 + }, + "end": { + "line": 418, + "column": 22 + }, + "identifierName": "logger" + }, + "name": "logger" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 15180, + "end": 15186, + "loc": { + "start": { + "line": 418, + "column": 23 + }, + "end": { + "line": 418, + "column": 29 + }, + "identifierName": "prefix" + }, + "name": "prefix" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 15187, + "end": 15199, + "loc": { + "start": { + "line": 418, + "column": 30 + }, + "end": { + "line": 418, + "column": 42 + } + }, + "extra": { + "rawValue": "VYI-module", + "raw": "'VYI-module'" + }, + "value": "VYI-module" + } + ] + }, + "property": { + "type": "Identifier", + "start": 15201, + "end": 15206, + "loc": { + "start": { + "line": 418, + "column": 44 + }, + "end": { + "line": 418, + "column": 49 + }, + "identifierName": "error" + }, + "name": "error" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 15207, + "end": 15232, + "loc": { + "start": { + "line": 418, + "column": 50 + }, + "end": { + "line": 418, + "column": 75 + } + }, + "extra": { + "rawValue": "Invalid name type used!", + "raw": "'Invalid name type used!'" + }, + "value": "Invalid name type used!" + } + ] + } + } + ], + "directives": [] } } ], @@ -18619,15 +19241,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": 15022, - "end": 15152, + "start": 15258, + "end": 15388, "loc": { "start": { - "line": 416, + "line": 421, "column": 4 }, "end": { - "line": 419, + "line": 424, "column": 7 } } @@ -18636,15 +19258,15 @@ }, { "type": "ClassMethod", - "start": 15158, - "end": 15214, + "start": 15394, + "end": 15450, "loc": { "start": { - "line": 420, + "line": 425, "column": 4 }, "end": { - "line": 422, + "line": 427, "column": 5 } }, @@ -18652,15 +19274,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 15158, - "end": 15167, + "start": 15394, + "end": 15403, "loc": { "start": { - "line": 420, + "line": 425, "column": 4 }, "end": { - "line": 420, + "line": 425, "column": 13 }, "identifierName": "getStates" @@ -18676,102 +19298,102 @@ "params": [], "body": { "type": "BlockStatement", - "start": 15170, - "end": 15214, + "start": 15406, + "end": 15450, "loc": { "start": { - "line": 420, + "line": 425, "column": 16 }, "end": { - "line": 422, + "line": 427, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 15181, - "end": 15207, + "start": 15417, + "end": 15443, "loc": { "start": { - "line": 421, + "line": 426, "column": 8 }, "end": { - "line": 421, + "line": 426, "column": 34 } }, "argument": { "type": "ArrayExpression", - "start": 15188, - "end": 15206, + "start": 15424, + "end": 15442, "loc": { "start": { - "line": 421, + "line": 426, "column": 15 }, "end": { - "line": 421, + "line": 426, "column": 33 } }, "elements": [ { "type": "SpreadElement", - "start": 15190, - "end": 15204, + "start": 15426, + "end": 15440, "loc": { "start": { - "line": 421, + "line": 426, "column": 17 }, "end": { - "line": 421, + "line": 426, "column": 31 } }, "argument": { "type": "MemberExpression", - "start": 15193, - "end": 15204, + "start": 15429, + "end": 15440, "loc": { "start": { - "line": 421, + "line": 426, "column": 20 }, "end": { - "line": 421, + "line": 426, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 15193, - "end": 15197, + "start": 15429, + "end": 15433, "loc": { "start": { - "line": 421, + "line": 426, "column": 20 }, "end": { - "line": 421, + "line": 426, "column": 24 } } }, "property": { "type": "Identifier", - "start": 15198, - "end": 15204, + "start": 15434, + "end": 15440, "loc": { "start": { - "line": 421, + "line": 426, "column": 25 }, "end": { - "line": 421, + "line": 426, "column": 31 }, "identifierName": "states" @@ -18792,15 +19414,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": 15022, - "end": 15152, + "start": 15258, + "end": 15388, "loc": { "start": { - "line": 416, + "line": 421, "column": 4 }, "end": { - "line": 419, + "line": 424, "column": 7 } } @@ -18810,15 +19432,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": 15220, - "end": 15376, + "start": 15456, + "end": 15612, "loc": { "start": { - "line": 423, + "line": 428, "column": 4 }, "end": { - "line": 427, + "line": 432, "column": 7 } } @@ -18827,15 +19449,15 @@ }, { "type": "ClassMethod", - "start": 15382, - "end": 15657, + "start": 15618, + "end": 15893, "loc": { "start": { - "line": 428, + "line": 433, "column": 4 }, "end": { - "line": 435, + "line": 440, "column": 5 } }, @@ -18843,15 +19465,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 15382, - "end": 15395, + "start": 15618, + "end": 15631, "loc": { "start": { - "line": 428, + "line": 433, "column": 4 }, "end": { - "line": 428, + "line": 433, "column": 17 }, "identifierName": "getStatesData" @@ -18867,59 +19489,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 15398, - "end": 15657, + "start": 15634, + "end": 15893, "loc": { "start": { - "line": 428, + "line": 433, "column": 20 }, "end": { - "line": 435, + "line": 440, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 15409, - "end": 15435, + "start": 15645, + "end": 15671, "loc": { "start": { - "line": 429, + "line": 434, "column": 8 }, "end": { - "line": 429, + "line": 434, "column": 34 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 15415, - "end": 15434, + "start": 15651, + "end": 15670, "loc": { "start": { - "line": 429, + "line": 434, "column": 14 }, "end": { - "line": 429, + "line": 434, "column": 33 } }, "id": { "type": "Identifier", - "start": 15415, - "end": 15429, + "start": 15651, + "end": 15665, "loc": { "start": { - "line": 429, + "line": 434, "column": 14 }, "end": { - "line": 429, + "line": 434, "column": 28 }, "identifierName": "stateDataArray" @@ -18928,15 +19550,15 @@ }, "init": { "type": "ArrayExpression", - "start": 15432, - "end": 15434, + "start": 15668, + "end": 15670, "loc": { "start": { - "line": 429, + "line": 434, "column": 31 }, "end": { - "line": 429, + "line": 434, "column": 33 } }, @@ -18949,15 +19571,15 @@ { "type": "CommentLine", "value": " Loop state array to export relevant information.", - "start": 15445, - "end": 15496, + "start": 15681, + "end": 15732, "loc": { "start": { - "line": 430, + "line": 435, "column": 8 }, "end": { - "line": 430, + "line": 435, "column": 59 } } @@ -18966,71 +19588,71 @@ }, { "type": "ExpressionStatement", - "start": 15506, - "end": 15610, + "start": 15742, + "end": 15846, "loc": { "start": { - "line": 431, + "line": 436, "column": 8 }, "end": { - "line": 433, + "line": 438, "column": 11 } }, "expression": { "type": "CallExpression", - "start": 15506, - "end": 15609, + "start": 15742, + "end": 15845, "loc": { "start": { - "line": 431, + "line": 436, "column": 8 }, "end": { - "line": 433, + "line": 438, "column": 10 } }, "callee": { "type": "MemberExpression", - "start": 15506, - "end": 15525, + "start": 15742, + "end": 15761, "loc": { "start": { - "line": 431, + "line": 436, "column": 8 }, "end": { - "line": 431, + "line": 436, "column": 27 } }, "object": { "type": "MemberExpression", - "start": 15506, - "end": 15517, + "start": 15742, + "end": 15753, "loc": { "start": { - "line": 431, + "line": 436, "column": 8 }, "end": { - "line": 431, + "line": 436, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 15506, - "end": 15510, + "start": 15742, + "end": 15746, "loc": { "start": { - "line": 431, + "line": 436, "column": 8 }, "end": { - "line": 431, + "line": 436, "column": 12 } }, @@ -19038,15 +19660,15 @@ }, "property": { "type": "Identifier", - "start": 15511, - "end": 15517, + "start": 15747, + "end": 15753, "loc": { "start": { - "line": 431, + "line": 436, "column": 13 }, "end": { - "line": 431, + "line": 436, "column": 19 }, "identifierName": "states" @@ -19058,15 +19680,15 @@ }, "property": { "type": "Identifier", - "start": 15518, - "end": 15525, + "start": 15754, + "end": 15761, "loc": { "start": { - "line": 431, + "line": 436, "column": 20 }, "end": { - "line": 431, + "line": 436, "column": 27 }, "identifierName": "forEach" @@ -19079,15 +19701,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 15526, - "end": 15608, + "start": 15762, + "end": 15844, "loc": { "start": { - "line": 431, + "line": 436, "column": 28 }, "end": { - "line": 433, + "line": 438, "column": 9 } }, @@ -19098,15 +19720,15 @@ "params": [ { "type": "Identifier", - "start": 15527, - "end": 15533, + "start": 15763, + "end": 15769, "loc": { "start": { - "line": 431, + "line": 436, "column": 29 }, "end": { - "line": 431, + "line": 436, "column": 35 }, "identifierName": "pState" @@ -19116,72 +19738,72 @@ ], "body": { "type": "BlockStatement", - "start": 15538, - "end": 15608, + "start": 15774, + "end": 15844, "loc": { "start": { - "line": 431, + "line": 436, "column": 40 }, "end": { - "line": 433, + "line": 438, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 15553, - "end": 15597, + "start": 15789, + "end": 15833, "loc": { "start": { - "line": 432, + "line": 437, "column": 12 }, "end": { - "line": 432, + "line": 437, "column": 56 } }, "expression": { "type": "CallExpression", - "start": 15553, - "end": 15596, + "start": 15789, + "end": 15832, "loc": { "start": { - "line": 432, + "line": 437, "column": 12 }, "end": { - "line": 432, + "line": 437, "column": 55 } }, "callee": { "type": "MemberExpression", - "start": 15553, - "end": 15572, + "start": 15789, + "end": 15808, "loc": { "start": { - "line": 432, + "line": 437, "column": 12 }, "end": { - "line": 432, + "line": 437, "column": 31 } }, "object": { "type": "Identifier", - "start": 15553, - "end": 15567, + "start": 15789, + "end": 15803, "loc": { "start": { - "line": 432, + "line": 437, "column": 12 }, "end": { - "line": 432, + "line": 437, "column": 26 }, "identifierName": "stateDataArray" @@ -19190,15 +19812,15 @@ }, "property": { "type": "Identifier", - "start": 15568, - "end": 15572, + "start": 15804, + "end": 15808, "loc": { "start": { - "line": 432, + "line": 437, "column": 27 }, "end": { - "line": 432, + "line": 437, "column": 31 }, "identifierName": "push" @@ -19210,43 +19832,43 @@ "arguments": [ { "type": "CallExpression", - "start": 15573, - "end": 15595, + "start": 15809, + "end": 15831, "loc": { "start": { - "line": 432, + "line": 437, "column": 32 }, "end": { - "line": 432, + "line": 437, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 15573, - "end": 15593, + "start": 15809, + "end": 15829, "loc": { "start": { - "line": 432, + "line": 437, "column": 32 }, "end": { - "line": 432, + "line": 437, "column": 52 } }, "object": { "type": "Identifier", - "start": 15573, - "end": 15579, + "start": 15809, + "end": 15815, "loc": { "start": { - "line": 432, + "line": 437, "column": 32 }, "end": { - "line": 432, + "line": 437, "column": 38 }, "identifierName": "pState" @@ -19255,15 +19877,15 @@ }, "property": { "type": "Identifier", - "start": 15580, - "end": 15593, + "start": 15816, + "end": 15829, "loc": { "start": { - "line": 432, + "line": 437, "column": 39 }, "end": { - "line": 432, + "line": 437, "column": 52 }, "identifierName": "exportAsState" @@ -19288,15 +19910,15 @@ { "type": "CommentLine", "value": " Loop state array to export relevant information.", - "start": 15445, - "end": 15496, + "start": 15681, + "end": 15732, "loc": { "start": { - "line": 430, + "line": 435, "column": 8 }, "end": { - "line": 430, + "line": 435, "column": 59 } } @@ -19305,29 +19927,29 @@ }, { "type": "ReturnStatement", - "start": 15620, - "end": 15642, + "start": 15856, + "end": 15878, "loc": { "start": { - "line": 434, + "line": 439, "column": 8 }, "end": { - "line": 434, + "line": 439, "column": 30 } }, "argument": { "type": "Identifier", - "start": 15627, - "end": 15641, + "start": 15863, + "end": 15877, "loc": { "start": { - "line": 434, + "line": 439, "column": 15 }, "end": { - "line": 434, + "line": 439, "column": 29 }, "identifierName": "stateDataArray" @@ -19343,15 +19965,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": 15220, - "end": 15376, + "start": 15456, + "end": 15612, "loc": { "start": { - "line": 423, + "line": 428, "column": 4 }, "end": { - "line": 427, + "line": 432, "column": 7 } } @@ -19361,15 +19983,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": 15663, - "end": 15851, + "start": 15899, + "end": 16087, "loc": { "start": { - "line": 436, + "line": 441, "column": 4 }, "end": { - "line": 440, + "line": 445, "column": 7 } } @@ -19378,15 +20000,15 @@ }, { "type": "ClassMethod", - "start": 15857, - "end": 16368, + "start": 16093, + "end": 16604, "loc": { "start": { - "line": 441, + "line": 446, "column": 4 }, "end": { - "line": 457, + "line": 462, "column": 5 } }, @@ -19394,15 +20016,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 15857, - "end": 15870, + "start": 16093, + "end": 16106, "loc": { "start": { - "line": 441, + "line": 446, "column": 4 }, "end": { - "line": 441, + "line": 446, "column": 17 }, "identifierName": "exportAsState" @@ -19418,59 +20040,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 15873, - "end": 16368, + "start": 16109, + "end": 16604, "loc": { "start": { - "line": 441, + "line": 446, "column": 20 }, "end": { - "line": 457, + "line": 462, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 15884, - "end": 15905, + "start": 16120, + "end": 16141, "loc": { "start": { - "line": 442, + "line": 447, "column": 8 }, "end": { - "line": 442, + "line": 447, "column": 29 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 15890, - "end": 15904, + "start": 16126, + "end": 16140, "loc": { "start": { - "line": 442, + "line": 447, "column": 14 }, "end": { - "line": 442, + "line": 447, "column": 28 } }, "id": { "type": "Identifier", - "start": 15890, - "end": 15899, + "start": 16126, + "end": 16135, "loc": { "start": { - "line": 442, + "line": 447, "column": 14 }, "end": { - "line": 442, + "line": 447, "column": 23 }, "identifierName": "stateData" @@ -19479,15 +20101,15 @@ }, "init": { "type": "ArrayExpression", - "start": 15902, - "end": 15904, + "start": 16138, + "end": 16140, "loc": { "start": { - "line": 442, + "line": 447, "column": 26 }, "end": { - "line": 442, + "line": 447, "column": 28 } }, @@ -19500,15 +20122,15 @@ { "type": "CommentLine", "value": " state name", - "start": 15915, - "end": 15928, + "start": 16151, + "end": 16164, "loc": { "start": { - "line": 443, + "line": 448, "column": 8 }, "end": { - "line": 443, + "line": 448, "column": 21 } } @@ -19517,58 +20139,58 @@ }, { "type": "ExpressionStatement", - "start": 15938, - "end": 15968, + "start": 16174, + "end": 16204, "loc": { "start": { - "line": 444, + "line": 449, "column": 8 }, "end": { - "line": 444, + "line": 449, "column": 38 } }, "expression": { "type": "AssignmentExpression", - "start": 15938, - "end": 15967, + "start": 16174, + "end": 16203, "loc": { "start": { - "line": 444, + "line": 449, "column": 8 }, "end": { - "line": 444, + "line": 449, "column": 37 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 15938, - "end": 15950, + "start": 16174, + "end": 16186, "loc": { "start": { - "line": 444, + "line": 449, "column": 8 }, "end": { - "line": 444, + "line": 449, "column": 20 } }, "object": { "type": "Identifier", - "start": 15938, - "end": 15947, + "start": 16174, + "end": 16183, "loc": { "start": { - "line": 444, + "line": 449, "column": 8 }, "end": { - "line": 444, + "line": 449, "column": 17 }, "identifierName": "stateData" @@ -19578,15 +20200,15 @@ }, "property": { "type": "NumericLiteral", - "start": 15948, - "end": 15949, + "start": 16184, + "end": 16185, "loc": { "start": { - "line": 444, + "line": 449, "column": 18 }, "end": { - "line": 444, + "line": 449, "column": 19 } }, @@ -19601,58 +20223,58 @@ }, "right": { "type": "CallExpression", - "start": 15953, - "end": 15967, + "start": 16189, + "end": 16203, "loc": { "start": { - "line": 444, + "line": 449, "column": 23 }, "end": { - "line": 444, + "line": 449, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 15953, - "end": 15965, + "start": 16189, + "end": 16201, "loc": { "start": { - "line": 444, + "line": 449, "column": 23 }, "end": { - "line": 444, + "line": 449, "column": 35 } }, "object": { "type": "ThisExpression", - "start": 15953, - "end": 15957, + "start": 16189, + "end": 16193, "loc": { "start": { - "line": 444, + "line": 449, "column": 23 }, "end": { - "line": 444, + "line": 449, "column": 27 } } }, "property": { "type": "Identifier", - "start": 15958, - "end": 15965, + "start": 16194, + "end": 16201, "loc": { "start": { - "line": 444, + "line": 449, "column": 28 }, "end": { - "line": 444, + "line": 449, "column": 35 }, "identifierName": "getName" @@ -19669,15 +20291,15 @@ { "type": "CommentLine", "value": " state name", - "start": 15915, - "end": 15928, + "start": 16151, + "end": 16164, "loc": { "start": { - "line": 443, + "line": 448, "column": 8 }, "end": { - "line": 443, + "line": 448, "column": 21 } } @@ -19687,15 +20309,15 @@ { "type": "CommentLine", "value": " state dataURL", - "start": 15978, - "end": 15994, + "start": 16214, + "end": 16230, "loc": { "start": { - "line": 445, + "line": 450, "column": 8 }, "end": { - "line": 445, + "line": 450, "column": 24 } } @@ -19704,58 +20326,58 @@ }, { "type": "ExpressionStatement", - "start": 16004, - "end": 16037, + "start": 16240, + "end": 16273, "loc": { "start": { - "line": 446, + "line": 451, "column": 8 }, "end": { - "line": 446, + "line": 451, "column": 41 } }, "expression": { "type": "AssignmentExpression", - "start": 16004, - "end": 16036, + "start": 16240, + "end": 16272, "loc": { "start": { - "line": 446, + "line": 451, "column": 8 }, "end": { - "line": 446, + "line": 451, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 16004, - "end": 16016, + "start": 16240, + "end": 16252, "loc": { "start": { - "line": 446, + "line": 451, "column": 8 }, "end": { - "line": 446, + "line": 451, "column": 20 } }, "object": { "type": "Identifier", - "start": 16004, - "end": 16013, + "start": 16240, + "end": 16249, "loc": { "start": { - "line": 446, + "line": 451, "column": 8 }, "end": { - "line": 446, + "line": 451, "column": 17 }, "identifierName": "stateData" @@ -19765,15 +20387,15 @@ }, "property": { "type": "NumericLiteral", - "start": 16014, - "end": 16015, + "start": 16250, + "end": 16251, "loc": { "start": { - "line": 446, + "line": 451, "column": 18 }, "end": { - "line": 446, + "line": 451, "column": 19 } }, @@ -19788,58 +20410,58 @@ }, "right": { "type": "CallExpression", - "start": 16019, - "end": 16036, + "start": 16255, + "end": 16272, "loc": { "start": { - "line": 446, + "line": 451, "column": 23 }, "end": { - "line": 446, + "line": 451, "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 16019, - "end": 16034, + "start": 16255, + "end": 16270, "loc": { "start": { - "line": 446, + "line": 451, "column": 23 }, "end": { - "line": 446, + "line": 451, "column": 38 } }, "object": { "type": "ThisExpression", - "start": 16019, - "end": 16023, + "start": 16255, + "end": 16259, "loc": { "start": { - "line": 446, + "line": 451, "column": 23 }, "end": { - "line": 446, + "line": 451, "column": 27 } } }, "property": { "type": "Identifier", - "start": 16024, - "end": 16034, + "start": 16260, + "end": 16270, "loc": { "start": { - "line": 446, + "line": 451, "column": 28 }, "end": { - "line": 446, + "line": 451, "column": 38 }, "identifierName": "getDataURL" @@ -19856,15 +20478,15 @@ { "type": "CommentLine", "value": " state dataURL", - "start": 15978, - "end": 15994, + "start": 16214, + "end": 16230, "loc": { "start": { - "line": 445, + "line": 450, "column": 8 }, "end": { - "line": 445, + "line": 450, "column": 24 } } @@ -19874,15 +20496,15 @@ { "type": "CommentLine", "value": " state frame delay", - "start": 16047, - "end": 16067, + "start": 16283, + "end": 16303, "loc": { "start": { - "line": 447, + "line": 452, "column": 8 }, "end": { - "line": 447, + "line": 452, "column": 28 } } @@ -19891,58 +20513,58 @@ }, { "type": "ExpressionStatement", - "start": 16077, - "end": 16108, + "start": 16313, + "end": 16344, "loc": { "start": { - "line": 448, + "line": 453, "column": 8 }, "end": { - "line": 448, + "line": 453, "column": 39 } }, "expression": { "type": "AssignmentExpression", - "start": 16077, - "end": 16107, + "start": 16313, + "end": 16343, "loc": { "start": { - "line": 448, + "line": 453, "column": 8 }, "end": { - "line": 448, + "line": 453, "column": 38 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 16077, - "end": 16089, + "start": 16313, + "end": 16325, "loc": { "start": { - "line": 448, + "line": 453, "column": 8 }, "end": { - "line": 448, + "line": 453, "column": 20 } }, "object": { "type": "Identifier", - "start": 16077, - "end": 16086, + "start": 16313, + "end": 16322, "loc": { "start": { - "line": 448, + "line": 453, "column": 8 }, "end": { - "line": 448, + "line": 453, "column": 17 }, "identifierName": "stateData" @@ -19952,15 +20574,15 @@ }, "property": { "type": "NumericLiteral", - "start": 16087, - "end": 16088, + "start": 16323, + "end": 16324, "loc": { "start": { - "line": 448, + "line": 453, "column": 18 }, "end": { - "line": 448, + "line": 453, "column": 19 } }, @@ -19975,58 +20597,58 @@ }, "right": { "type": "CallExpression", - "start": 16092, - "end": 16107, + "start": 16328, + "end": 16343, "loc": { "start": { - "line": 448, + "line": 453, "column": 23 }, "end": { - "line": 448, + "line": 453, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 16092, - "end": 16105, + "start": 16328, + "end": 16341, "loc": { "start": { - "line": 448, + "line": 453, "column": 23 }, "end": { - "line": 448, + "line": 453, "column": 36 } }, "object": { "type": "ThisExpression", - "start": 16092, - "end": 16096, + "start": 16328, + "end": 16332, "loc": { "start": { - "line": 448, + "line": 453, "column": 23 }, "end": { - "line": 448, + "line": 453, "column": 27 } } }, "property": { "type": "Identifier", - "start": 16097, - "end": 16105, + "start": 16333, + "end": 16341, "loc": { "start": { - "line": 448, + "line": 453, "column": 28 }, "end": { - "line": 448, + "line": 453, "column": 36 }, "identifierName": "getDelay" @@ -20043,15 +20665,15 @@ { "type": "CommentLine", "value": " state frame delay", - "start": 16047, - "end": 16067, + "start": 16283, + "end": 16303, "loc": { "start": { - "line": 447, + "line": 452, "column": 8 }, "end": { - "line": 447, + "line": 452, "column": 28 } } @@ -20061,15 +20683,15 @@ { "type": "CommentLine", "value": " state frame array", - "start": 16118, - "end": 16138, + "start": 16354, + "end": 16374, "loc": { "start": { - "line": 449, + "line": 454, "column": 8 }, "end": { - "line": 449, + "line": 454, "column": 28 } } @@ -20078,58 +20700,58 @@ }, { "type": "ExpressionStatement", - "start": 16148, - "end": 16166, + "start": 16384, + "end": 16402, "loc": { "start": { - "line": 450, + "line": 455, "column": 8 }, "end": { - "line": 450, + "line": 455, "column": 26 } }, "expression": { "type": "AssignmentExpression", - "start": 16148, - "end": 16165, + "start": 16384, + "end": 16401, "loc": { "start": { - "line": 450, + "line": 455, "column": 8 }, "end": { - "line": 450, + "line": 455, "column": 25 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 16148, - "end": 16160, + "start": 16384, + "end": 16396, "loc": { "start": { - "line": 450, + "line": 455, "column": 8 }, "end": { - "line": 450, + "line": 455, "column": 20 } }, "object": { "type": "Identifier", - "start": 16148, - "end": 16157, + "start": 16384, + "end": 16393, "loc": { "start": { - "line": 450, + "line": 455, "column": 8 }, "end": { - "line": 450, + "line": 455, "column": 17 }, "identifierName": "stateData" @@ -20139,15 +20761,15 @@ }, "property": { "type": "NumericLiteral", - "start": 16158, - "end": 16159, + "start": 16394, + "end": 16395, "loc": { "start": { - "line": 450, + "line": 455, "column": 18 }, "end": { - "line": 450, + "line": 455, "column": 19 } }, @@ -20162,15 +20784,15 @@ }, "right": { "type": "ArrayExpression", - "start": 16163, - "end": 16165, + "start": 16399, + "end": 16401, "loc": { "start": { - "line": 450, + "line": 455, "column": 23 }, "end": { - "line": 450, + "line": 455, "column": 25 } }, @@ -20182,15 +20804,15 @@ { "type": "CommentLine", "value": " state frame array", - "start": 16118, - "end": 16138, + "start": 16354, + "end": 16374, "loc": { "start": { - "line": 449, + "line": 454, "column": 8 }, "end": { - "line": 449, + "line": 454, "column": 28 } } @@ -20200,15 +20822,15 @@ { "type": "CommentLine", "value": " Loop frame array to export relevant information.", - "start": 16178, - "end": 16229, + "start": 16414, + "end": 16465, "loc": { "start": { - "line": 452, + "line": 457, "column": 8 }, "end": { - "line": 452, + "line": 457, "column": 59 } } @@ -20217,71 +20839,71 @@ }, { "type": "ExpressionStatement", - "start": 16239, - "end": 16334, + "start": 16475, + "end": 16570, "loc": { "start": { - "line": 453, + "line": 458, "column": 8 }, "end": { - "line": 455, + "line": 460, "column": 11 } }, "expression": { "type": "CallExpression", - "start": 16239, - "end": 16333, + "start": 16475, + "end": 16569, "loc": { "start": { - "line": 453, + "line": 458, "column": 8 }, "end": { - "line": 455, + "line": 460, "column": 10 } }, "callee": { "type": "MemberExpression", - "start": 16239, - "end": 16258, + "start": 16475, + "end": 16494, "loc": { "start": { - "line": 453, + "line": 458, "column": 8 }, "end": { - "line": 453, + "line": 458, "column": 27 } }, "object": { "type": "MemberExpression", - "start": 16239, - "end": 16250, + "start": 16475, + "end": 16486, "loc": { "start": { - "line": 453, + "line": 458, "column": 8 }, "end": { - "line": 453, + "line": 458, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 16239, - "end": 16243, + "start": 16475, + "end": 16479, "loc": { "start": { - "line": 453, + "line": 458, "column": 8 }, "end": { - "line": 453, + "line": 458, "column": 12 } }, @@ -20289,15 +20911,15 @@ }, "property": { "type": "Identifier", - "start": 16244, - "end": 16250, + "start": 16480, + "end": 16486, "loc": { "start": { - "line": 453, + "line": 458, "column": 13 }, "end": { - "line": 453, + "line": 458, "column": 19 }, "identifierName": "frames" @@ -20309,15 +20931,15 @@ }, "property": { "type": "Identifier", - "start": 16251, - "end": 16258, + "start": 16487, + "end": 16494, "loc": { "start": { - "line": 453, + "line": 458, "column": 20 }, "end": { - "line": 453, + "line": 458, "column": 27 }, "identifierName": "forEach" @@ -20330,15 +20952,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 16259, - "end": 16332, + "start": 16495, + "end": 16568, "loc": { "start": { - "line": 453, + "line": 458, "column": 28 }, "end": { - "line": 455, + "line": 460, "column": 9 } }, @@ -20349,15 +20971,15 @@ "params": [ { "type": "Identifier", - "start": 16260, - "end": 16266, + "start": 16496, + "end": 16502, "loc": { "start": { - "line": 453, + "line": 458, "column": 29 }, "end": { - "line": 453, + "line": 458, "column": 35 }, "identifierName": "pFrame" @@ -20367,86 +20989,86 @@ ], "body": { "type": "BlockStatement", - "start": 16271, - "end": 16332, + "start": 16507, + "end": 16568, "loc": { "start": { - "line": 453, + "line": 458, "column": 40 }, "end": { - "line": 455, + "line": 460, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 16286, - "end": 16321, + "start": 16522, + "end": 16557, "loc": { "start": { - "line": 454, + "line": 459, "column": 12 }, "end": { - "line": 454, + "line": 459, "column": 47 } }, "expression": { "type": "CallExpression", - "start": 16286, - "end": 16320, + "start": 16522, + "end": 16556, "loc": { "start": { - "line": 454, + "line": 459, "column": 12 }, "end": { - "line": 454, + "line": 459, "column": 46 } }, "callee": { "type": "MemberExpression", - "start": 16286, - "end": 16303, + "start": 16522, + "end": 16539, "loc": { "start": { - "line": 454, + "line": 459, "column": 12 }, "end": { - "line": 454, + "line": 459, "column": 29 } }, "object": { "type": "MemberExpression", - "start": 16286, - "end": 16298, + "start": 16522, + "end": 16534, "loc": { "start": { - "line": 454, + "line": 459, "column": 12 }, "end": { - "line": 454, + "line": 459, "column": 24 } }, "object": { "type": "Identifier", - "start": 16286, - "end": 16295, + "start": 16522, + "end": 16531, "loc": { "start": { - "line": 454, + "line": 459, "column": 12 }, "end": { - "line": 454, + "line": 459, "column": 21 }, "identifierName": "stateData" @@ -20455,15 +21077,15 @@ }, "property": { "type": "NumericLiteral", - "start": 16296, - "end": 16297, + "start": 16532, + "end": 16533, "loc": { "start": { - "line": 454, + "line": 459, "column": 22 }, "end": { - "line": 454, + "line": 459, "column": 23 } }, @@ -20477,15 +21099,15 @@ }, "property": { "type": "Identifier", - "start": 16299, - "end": 16303, + "start": 16535, + "end": 16539, "loc": { "start": { - "line": 454, + "line": 459, "column": 25 }, "end": { - "line": 454, + "line": 459, "column": 29 }, "identifierName": "push" @@ -20497,43 +21119,43 @@ "arguments": [ { "type": "CallExpression", - "start": 16304, - "end": 16319, + "start": 16540, + "end": 16555, "loc": { "start": { - "line": 454, + "line": 459, "column": 30 }, "end": { - "line": 454, + "line": 459, "column": 45 } }, "callee": { "type": "MemberExpression", - "start": 16304, - "end": 16317, + "start": 16540, + "end": 16553, "loc": { "start": { - "line": 454, + "line": 459, "column": 30 }, "end": { - "line": 454, + "line": 459, "column": 43 } }, "object": { "type": "Identifier", - "start": 16304, - "end": 16310, + "start": 16540, + "end": 16546, "loc": { "start": { - "line": 454, + "line": 459, "column": 30 }, "end": { - "line": 454, + "line": 459, "column": 36 }, "identifierName": "pFrame" @@ -20542,15 +21164,15 @@ }, "property": { "type": "Identifier", - "start": 16311, - "end": 16317, + "start": 16547, + "end": 16553, "loc": { "start": { - "line": 454, + "line": 459, "column": 37 }, "end": { - "line": 454, + "line": 459, "column": 43 }, "identifierName": "export" @@ -20575,15 +21197,15 @@ { "type": "CommentLine", "value": " Loop frame array to export relevant information.", - "start": 16178, - "end": 16229, + "start": 16414, + "end": 16465, "loc": { "start": { - "line": 452, + "line": 457, "column": 8 }, "end": { - "line": 452, + "line": 457, "column": 59 } } @@ -20592,29 +21214,29 @@ }, { "type": "ReturnStatement", - "start": 16344, - "end": 16361, + "start": 16580, + "end": 16597, "loc": { "start": { - "line": 456, + "line": 461, "column": 8 }, "end": { - "line": 456, + "line": 461, "column": 25 } }, "argument": { "type": "Identifier", - "start": 16351, - "end": 16360, + "start": 16587, + "end": 16596, "loc": { "start": { - "line": 456, + "line": 461, "column": 15 }, "end": { - "line": 456, + "line": 461, "column": 24 }, "identifierName": "stateData" @@ -20630,15 +21252,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": 15663, - "end": 15851, + "start": 15899, + "end": 16087, "loc": { "start": { - "line": 436, + "line": 441, "column": 4 }, "end": { - "line": 440, + "line": 445, "column": 7 } } @@ -20648,15 +21270,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": 16374, - "end": 16549, + "start": 16610, + "end": 16785, "loc": { "start": { - "line": 458, + "line": 463, "column": 4 }, "end": { - "line": 462, + "line": 467, "column": 7 } } @@ -20665,15 +21287,15 @@ }, { "type": "ClassMethod", - "start": 16555, - "end": 17357, + "start": 16791, + "end": 17593, "loc": { "start": { - "line": 463, + "line": 468, "column": 4 }, "end": { - "line": 487, + "line": 492, "column": 5 } }, @@ -20681,15 +21303,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 16555, - "end": 16561, + "start": 16791, + "end": 16797, "loc": { "start": { - "line": 463, + "line": 468, "column": 4 }, "end": { - "line": 463, + "line": 468, "column": 10 }, "identifierName": "export" @@ -20705,59 +21327,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 16564, - "end": 17357, + "start": 16800, + "end": 17593, "loc": { "start": { - "line": 463, + "line": 468, "column": 13 }, "end": { - "line": 487, + "line": 492, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 16575, - "end": 16595, + "start": 16811, + "end": 16831, "loc": { "start": { - "line": 464, + "line": 469, "column": 8 }, "end": { - "line": 464, + "line": 469, "column": 28 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 16581, - "end": 16594, + "start": 16817, + "end": 16830, "loc": { "start": { - "line": 464, + "line": 469, "column": 14 }, "end": { - "line": 464, + "line": 469, "column": 27 } }, "id": { "type": "Identifier", - "start": 16581, - "end": 16589, + "start": 16817, + "end": 16825, "loc": { "start": { - "line": 464, + "line": 469, "column": 14 }, "end": { - "line": 464, + "line": 469, "column": 22 }, "identifierName": "iconData" @@ -20766,15 +21388,15 @@ }, "init": { "type": "ArrayExpression", - "start": 16592, - "end": 16594, + "start": 16828, + "end": 16830, "loc": { "start": { - "line": 464, + "line": 469, "column": 25 }, "end": { - "line": 464, + "line": 469, "column": 27 } }, @@ -20787,15 +21409,15 @@ { "type": "CommentLine", "value": " icon name", - "start": 16605, - "end": 16617, + "start": 16841, + "end": 16853, "loc": { "start": { - "line": 465, + "line": 470, "column": 8 }, "end": { - "line": 465, + "line": 470, "column": 20 } } @@ -20804,58 +21426,58 @@ }, { "type": "ExpressionStatement", - "start": 16627, - "end": 16656, + "start": 16863, + "end": 16892, "loc": { "start": { - "line": 466, + "line": 471, "column": 8 }, "end": { - "line": 466, + "line": 471, "column": 37 } }, "expression": { "type": "AssignmentExpression", - "start": 16627, - "end": 16655, + "start": 16863, + "end": 16891, "loc": { "start": { - "line": 466, + "line": 471, "column": 8 }, "end": { - "line": 466, + "line": 471, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 16627, - "end": 16638, + "start": 16863, + "end": 16874, "loc": { "start": { - "line": 466, + "line": 471, "column": 8 }, "end": { - "line": 466, + "line": 471, "column": 19 } }, "object": { "type": "Identifier", - "start": 16627, - "end": 16635, + "start": 16863, + "end": 16871, "loc": { "start": { - "line": 466, + "line": 471, "column": 8 }, "end": { - "line": 466, + "line": 471, "column": 16 }, "identifierName": "iconData" @@ -20865,15 +21487,15 @@ }, "property": { "type": "NumericLiteral", - "start": 16636, - "end": 16637, + "start": 16872, + "end": 16873, "loc": { "start": { - "line": 466, + "line": 471, "column": 17 }, "end": { - "line": 466, + "line": 471, "column": 18 } }, @@ -20888,58 +21510,58 @@ }, "right": { "type": "CallExpression", - "start": 16641, - "end": 16655, + "start": 16877, + "end": 16891, "loc": { "start": { - "line": 466, + "line": 471, "column": 22 }, "end": { - "line": 466, + "line": 471, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 16641, - "end": 16653, + "start": 16877, + "end": 16889, "loc": { "start": { - "line": 466, + "line": 471, "column": 22 }, "end": { - "line": 466, + "line": 471, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 16641, - "end": 16645, + "start": 16877, + "end": 16881, "loc": { "start": { - "line": 466, + "line": 471, "column": 22 }, "end": { - "line": 466, + "line": 471, "column": 26 } } }, "property": { "type": "Identifier", - "start": 16646, - "end": 16653, + "start": 16882, + "end": 16889, "loc": { "start": { - "line": 466, + "line": 471, "column": 27 }, "end": { - "line": 466, + "line": 471, "column": 34 }, "identifierName": "getName" @@ -20956,15 +21578,15 @@ { "type": "CommentLine", "value": " icon name", - "start": 16605, - "end": 16617, + "start": 16841, + "end": 16853, "loc": { "start": { - "line": 465, + "line": 470, "column": 8 }, "end": { - "line": 465, + "line": 470, "column": 20 } } @@ -20974,15 +21596,15 @@ { "type": "CommentLine", "value": " Get the size of this icon.", - "start": 16666, - "end": 16695, + "start": 16902, + "end": 16931, "loc": { "start": { - "line": 467, + "line": 472, "column": 8 }, "end": { - "line": 467, + "line": 472, "column": 37 } } @@ -20991,44 +21613,44 @@ }, { "type": "VariableDeclaration", - "start": 16705, - "end": 16733, + "start": 16941, + "end": 16969, "loc": { "start": { - "line": 468, + "line": 473, "column": 8 }, "end": { - "line": 468, + "line": 473, "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 16711, - "end": 16732, + "start": 16947, + "end": 16968, "loc": { "start": { - "line": 468, + "line": 473, "column": 14 }, "end": { - "line": 468, + "line": 473, "column": 35 } }, "id": { "type": "Identifier", - "start": 16711, - "end": 16715, + "start": 16947, + "end": 16951, "loc": { "start": { - "line": 468, + "line": 473, "column": 14 }, "end": { - "line": 468, + "line": 473, "column": 18 }, "identifierName": "size" @@ -21038,58 +21660,58 @@ }, "init": { "type": "CallExpression", - "start": 16718, - "end": 16732, + "start": 16954, + "end": 16968, "loc": { "start": { - "line": 468, + "line": 473, "column": 21 }, "end": { - "line": 468, + "line": 473, "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 16718, - "end": 16730, + "start": 16954, + "end": 16966, "loc": { "start": { - "line": 468, + "line": 473, "column": 21 }, "end": { - "line": 468, + "line": 473, "column": 33 } }, "object": { "type": "ThisExpression", - "start": 16718, - "end": 16722, + "start": 16954, + "end": 16958, "loc": { "start": { - "line": 468, + "line": 473, "column": 21 }, "end": { - "line": 468, + "line": 473, "column": 25 } } }, "property": { "type": "Identifier", - "start": 16723, - "end": 16730, + "start": 16959, + "end": 16966, "loc": { "start": { - "line": 468, + "line": 473, "column": 26 }, "end": { - "line": 468, + "line": 473, "column": 33 }, "identifierName": "getSize" @@ -21108,15 +21730,15 @@ { "type": "CommentLine", "value": " Get the size of this icon.", - "start": 16666, - "end": 16695, + "start": 16902, + "end": 16931, "loc": { "start": { - "line": 467, + "line": 472, "column": 8 }, "end": { - "line": 467, + "line": 472, "column": 37 } } @@ -21126,15 +21748,15 @@ { "type": "CommentLine", "value": " icon width", - "start": 16743, - "end": 16756, + "start": 16979, + "end": 16992, "loc": { "start": { - "line": 469, + "line": 474, "column": 8 }, "end": { - "line": 469, + "line": 474, "column": 21 } } @@ -21143,58 +21765,58 @@ }, { "type": "ExpressionStatement", - "start": 16766, - "end": 16791, + "start": 17002, + "end": 17027, "loc": { "start": { - "line": 470, + "line": 475, "column": 8 }, "end": { - "line": 470, + "line": 475, "column": 33 } }, "expression": { "type": "AssignmentExpression", - "start": 16766, - "end": 16790, + "start": 17002, + "end": 17026, "loc": { "start": { - "line": 470, + "line": 475, "column": 8 }, "end": { - "line": 470, + "line": 475, "column": 32 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 16766, - "end": 16777, + "start": 17002, + "end": 17013, "loc": { "start": { - "line": 470, + "line": 475, "column": 8 }, "end": { - "line": 470, + "line": 475, "column": 19 } }, "object": { "type": "Identifier", - "start": 16766, - "end": 16774, + "start": 17002, + "end": 17010, "loc": { "start": { - "line": 470, + "line": 475, "column": 8 }, "end": { - "line": 470, + "line": 475, "column": 16 }, "identifierName": "iconData" @@ -21204,15 +21826,15 @@ }, "property": { "type": "NumericLiteral", - "start": 16775, - "end": 16776, + "start": 17011, + "end": 17012, "loc": { "start": { - "line": 470, + "line": 475, "column": 17 }, "end": { - "line": 470, + "line": 475, "column": 18 } }, @@ -21227,29 +21849,29 @@ }, "right": { "type": "MemberExpression", - "start": 16780, - "end": 16790, + "start": 17016, + "end": 17026, "loc": { "start": { - "line": 470, + "line": 475, "column": 22 }, "end": { - "line": 470, + "line": 475, "column": 32 } }, "object": { "type": "Identifier", - "start": 16780, - "end": 16784, + "start": 17016, + "end": 17020, "loc": { "start": { - "line": 470, + "line": 475, "column": 22 }, "end": { - "line": 470, + "line": 475, "column": 26 }, "identifierName": "size" @@ -21258,15 +21880,15 @@ }, "property": { "type": "Identifier", - "start": 16785, - "end": 16790, + "start": 17021, + "end": 17026, "loc": { "start": { - "line": 470, + "line": 475, "column": 27 }, "end": { - "line": 470, + "line": 475, "column": 32 }, "identifierName": "width" @@ -21281,15 +21903,15 @@ { "type": "CommentLine", "value": " icon width", - "start": 16743, - "end": 16756, + "start": 16979, + "end": 16992, "loc": { "start": { - "line": 469, + "line": 474, "column": 8 }, "end": { - "line": 469, + "line": 474, "column": 21 } } @@ -21299,15 +21921,15 @@ { "type": "CommentLine", "value": " icon height", - "start": 16801, - "end": 16815, + "start": 17037, + "end": 17051, "loc": { "start": { - "line": 471, + "line": 476, "column": 8 }, "end": { - "line": 471, + "line": 476, "column": 22 } } @@ -21316,58 +21938,58 @@ }, { "type": "ExpressionStatement", - "start": 16825, - "end": 16851, + "start": 17061, + "end": 17087, "loc": { "start": { - "line": 472, + "line": 477, "column": 8 }, "end": { - "line": 472, + "line": 477, "column": 34 } }, "expression": { "type": "AssignmentExpression", - "start": 16825, - "end": 16850, + "start": 17061, + "end": 17086, "loc": { "start": { - "line": 472, + "line": 477, "column": 8 }, "end": { - "line": 472, + "line": 477, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 16825, - "end": 16836, + "start": 17061, + "end": 17072, "loc": { "start": { - "line": 472, + "line": 477, "column": 8 }, "end": { - "line": 472, + "line": 477, "column": 19 } }, "object": { "type": "Identifier", - "start": 16825, - "end": 16833, + "start": 17061, + "end": 17069, "loc": { "start": { - "line": 472, + "line": 477, "column": 8 }, "end": { - "line": 472, + "line": 477, "column": 16 }, "identifierName": "iconData" @@ -21377,15 +21999,15 @@ }, "property": { "type": "NumericLiteral", - "start": 16834, - "end": 16835, + "start": 17070, + "end": 17071, "loc": { "start": { - "line": 472, + "line": 477, "column": 17 }, "end": { - "line": 472, + "line": 477, "column": 18 } }, @@ -21400,29 +22022,29 @@ }, "right": { "type": "MemberExpression", - "start": 16839, - "end": 16850, + "start": 17075, + "end": 17086, "loc": { "start": { - "line": 472, + "line": 477, "column": 22 }, "end": { - "line": 472, + "line": 477, "column": 33 } }, "object": { "type": "Identifier", - "start": 16839, - "end": 16843, + "start": 17075, + "end": 17079, "loc": { "start": { - "line": 472, + "line": 477, "column": 22 }, "end": { - "line": 472, + "line": 477, "column": 26 }, "identifierName": "size" @@ -21431,15 +22053,15 @@ }, "property": { "type": "Identifier", - "start": 16844, - "end": 16850, + "start": 17080, + "end": 17086, "loc": { "start": { - "line": 472, + "line": 477, "column": 27 }, "end": { - "line": 472, + "line": 477, "column": 33 }, "identifierName": "height" @@ -21454,15 +22076,15 @@ { "type": "CommentLine", "value": " icon height", - "start": 16801, - "end": 16815, + "start": 17037, + "end": 17051, "loc": { "start": { - "line": 471, + "line": 476, "column": 8 }, "end": { - "line": 471, + "line": 476, "column": 22 } } @@ -21472,15 +22094,15 @@ { "type": "CommentLine", "value": " frame delay", - "start": 16861, - "end": 16875, + "start": 17097, + "end": 17111, "loc": { "start": { - "line": 473, + "line": 478, "column": 8 }, "end": { - "line": 473, + "line": 478, "column": 22 } } @@ -21489,58 +22111,58 @@ }, { "type": "ExpressionStatement", - "start": 16885, - "end": 16915, + "start": 17121, + "end": 17151, "loc": { "start": { - "line": 474, + "line": 479, "column": 8 }, "end": { - "line": 474, + "line": 479, "column": 38 } }, "expression": { "type": "AssignmentExpression", - "start": 16885, - "end": 16914, + "start": 17121, + "end": 17150, "loc": { "start": { - "line": 474, + "line": 479, "column": 8 }, "end": { - "line": 474, + "line": 479, "column": 37 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 16885, - "end": 16896, + "start": 17121, + "end": 17132, "loc": { "start": { - "line": 474, + "line": 479, "column": 8 }, "end": { - "line": 474, + "line": 479, "column": 19 } }, "object": { "type": "Identifier", - "start": 16885, - "end": 16893, + "start": 17121, + "end": 17129, "loc": { "start": { - "line": 474, + "line": 479, "column": 8 }, "end": { - "line": 474, + "line": 479, "column": 16 }, "identifierName": "iconData" @@ -21550,15 +22172,15 @@ }, "property": { "type": "NumericLiteral", - "start": 16894, - "end": 16895, + "start": 17130, + "end": 17131, "loc": { "start": { - "line": 474, + "line": 479, "column": 17 }, "end": { - "line": 474, + "line": 479, "column": 18 } }, @@ -21573,58 +22195,58 @@ }, "right": { "type": "CallExpression", - "start": 16899, - "end": 16914, + "start": 17135, + "end": 17150, "loc": { "start": { - "line": 474, + "line": 479, "column": 22 }, "end": { - "line": 474, + "line": 479, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 16899, - "end": 16912, + "start": 17135, + "end": 17148, "loc": { "start": { - "line": 474, + "line": 479, "column": 22 }, "end": { - "line": 474, + "line": 479, "column": 35 } }, "object": { "type": "ThisExpression", - "start": 16899, - "end": 16903, + "start": 17135, + "end": 17139, "loc": { "start": { - "line": 474, + "line": 479, "column": 22 }, "end": { - "line": 474, + "line": 479, "column": 26 } } }, "property": { "type": "Identifier", - "start": 16904, - "end": 16912, + "start": 17140, + "end": 17148, "loc": { "start": { - "line": 474, + "line": 479, "column": 27 }, "end": { - "line": 474, + "line": 479, "column": 35 }, "identifierName": "getDelay" @@ -21641,15 +22263,15 @@ { "type": "CommentLine", "value": " frame delay", - "start": 16861, - "end": 16875, + "start": 17097, + "end": 17111, "loc": { "start": { - "line": 473, + "line": 478, "column": 8 }, "end": { - "line": 473, + "line": 478, "column": 22 } } @@ -21659,15 +22281,15 @@ { "type": "CommentLine", "value": " icon DataURL", - "start": 16925, - "end": 16940, + "start": 17161, + "end": 17176, "loc": { "start": { - "line": 475, + "line": 480, "column": 8 }, "end": { - "line": 475, + "line": 480, "column": 23 } } @@ -21676,58 +22298,58 @@ }, { "type": "ExpressionStatement", - "start": 16950, - "end": 16982, + "start": 17186, + "end": 17218, "loc": { "start": { - "line": 476, + "line": 481, "column": 8 }, "end": { - "line": 476, + "line": 481, "column": 40 } }, "expression": { "type": "AssignmentExpression", - "start": 16950, - "end": 16981, + "start": 17186, + "end": 17217, "loc": { "start": { - "line": 476, + "line": 481, "column": 8 }, "end": { - "line": 476, + "line": 481, "column": 39 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 16950, - "end": 16961, + "start": 17186, + "end": 17197, "loc": { "start": { - "line": 476, + "line": 481, "column": 8 }, "end": { - "line": 476, + "line": 481, "column": 19 } }, "object": { "type": "Identifier", - "start": 16950, - "end": 16958, + "start": 17186, + "end": 17194, "loc": { "start": { - "line": 476, + "line": 481, "column": 8 }, "end": { - "line": 476, + "line": 481, "column": 16 }, "identifierName": "iconData" @@ -21737,15 +22359,15 @@ }, "property": { "type": "NumericLiteral", - "start": 16959, - "end": 16960, + "start": 17195, + "end": 17196, "loc": { "start": { - "line": 476, + "line": 481, "column": 17 }, "end": { - "line": 476, + "line": 481, "column": 18 } }, @@ -21760,58 +22382,58 @@ }, "right": { "type": "CallExpression", - "start": 16964, - "end": 16981, + "start": 17200, + "end": 17217, "loc": { "start": { - "line": 476, + "line": 481, "column": 22 }, "end": { - "line": 476, + "line": 481, "column": 39 } }, "callee": { "type": "MemberExpression", - "start": 16964, - "end": 16979, + "start": 17200, + "end": 17215, "loc": { "start": { - "line": 476, + "line": 481, "column": 22 }, "end": { - "line": 476, + "line": 481, "column": 37 } }, "object": { "type": "ThisExpression", - "start": 16964, - "end": 16968, + "start": 17200, + "end": 17204, "loc": { "start": { - "line": 476, + "line": 481, "column": 22 }, "end": { - "line": 476, + "line": 481, "column": 26 } } }, "property": { "type": "Identifier", - "start": 16969, - "end": 16979, + "start": 17205, + "end": 17215, "loc": { "start": { - "line": 476, + "line": 481, "column": 27 }, "end": { - "line": 476, + "line": 481, "column": 37 }, "identifierName": "getDataURL" @@ -21828,15 +22450,15 @@ { "type": "CommentLine", "value": " icon DataURL", - "start": 16925, - "end": 16940, + "start": 17161, + "end": 17176, "loc": { "start": { - "line": 475, + "line": 480, "column": 8 }, "end": { - "line": 475, + "line": 480, "column": 23 } } @@ -21846,15 +22468,15 @@ { "type": "CommentLine", "value": " frame array", - "start": 16992, - "end": 17006, + "start": 17228, + "end": 17242, "loc": { "start": { - "line": 477, + "line": 482, "column": 8 }, "end": { - "line": 477, + "line": 482, "column": 22 } } @@ -21863,58 +22485,58 @@ }, { "type": "ExpressionStatement", - "start": 17016, - "end": 17051, + "start": 17252, + "end": 17287, "loc": { "start": { - "line": 478, + "line": 483, "column": 8 }, "end": { - "line": 478, + "line": 483, "column": 43 } }, "expression": { "type": "AssignmentExpression", - "start": 17016, - "end": 17050, + "start": 17252, + "end": 17286, "loc": { "start": { - "line": 478, + "line": 483, "column": 8 }, "end": { - "line": 478, + "line": 483, "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 17016, - "end": 17027, + "start": 17252, + "end": 17263, "loc": { "start": { - "line": 478, + "line": 483, "column": 8 }, "end": { - "line": 478, + "line": 483, "column": 19 } }, "object": { "type": "Identifier", - "start": 17016, - "end": 17024, + "start": 17252, + "end": 17260, "loc": { "start": { - "line": 478, + "line": 483, "column": 8 }, "end": { - "line": 478, + "line": 483, "column": 16 }, "identifierName": "iconData" @@ -21924,15 +22546,15 @@ }, "property": { "type": "NumericLiteral", - "start": 17025, - "end": 17026, + "start": 17261, + "end": 17262, "loc": { "start": { - "line": 478, + "line": 483, "column": 17 }, "end": { - "line": 478, + "line": 483, "column": 18 } }, @@ -21947,58 +22569,58 @@ }, "right": { "type": "CallExpression", - "start": 17030, - "end": 17050, + "start": 17266, + "end": 17286, "loc": { "start": { - "line": 478, + "line": 483, "column": 22 }, "end": { - "line": 478, + "line": 483, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 17030, - "end": 17048, + "start": 17266, + "end": 17284, "loc": { "start": { - "line": 478, + "line": 483, "column": 22 }, "end": { - "line": 478, + "line": 483, "column": 40 } }, "object": { "type": "ThisExpression", - "start": 17030, - "end": 17034, + "start": 17266, + "end": 17270, "loc": { "start": { - "line": 478, + "line": 483, "column": 22 }, "end": { - "line": 478, + "line": 483, "column": 26 } } }, "property": { "type": "Identifier", - "start": 17035, - "end": 17048, + "start": 17271, + "end": 17284, "loc": { "start": { - "line": 478, + "line": 483, "column": 27 }, "end": { - "line": 478, + "line": 483, "column": 40 }, "identifierName": "getFramesData" @@ -22015,15 +22637,15 @@ { "type": "CommentLine", "value": " frame array", - "start": 16992, - "end": 17006, + "start": 17228, + "end": 17242, "loc": { "start": { - "line": 477, + "line": 482, "column": 8 }, "end": { - "line": 477, + "line": 482, "column": 22 } } @@ -22033,15 +22655,15 @@ { "type": "CommentLine", "value": " this is actually an optional data entry into the vyi, only used if states actually exist on this icon.", - "start": 17063, - "end": 17168, + "start": 17299, + "end": 17404, "loc": { "start": { - "line": 480, + "line": 485, "column": 8 }, "end": { - "line": 480, + "line": 485, "column": 113 } } @@ -22049,15 +22671,15 @@ { "type": "CommentLine", "value": " this will save data", - "start": 17178, - "end": 17200, + "start": 17414, + "end": 17436, "loc": { "start": { - "line": 481, + "line": 486, "column": 8 }, "end": { - "line": 481, + "line": 486, "column": 30 } } @@ -22066,57 +22688,57 @@ }, { "type": "IfStatement", - "start": 17210, - "end": 17324, + "start": 17446, + "end": 17560, "loc": { "start": { - "line": 482, + "line": 487, "column": 8 }, "end": { - "line": 485, + "line": 490, "column": 9 } }, "test": { "type": "MemberExpression", - "start": 17214, - "end": 17232, + "start": 17450, + "end": 17468, "loc": { "start": { - "line": 482, + "line": 487, "column": 12 }, "end": { - "line": 482, + "line": 487, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 17214, - "end": 17225, + "start": 17450, + "end": 17461, "loc": { "start": { - "line": 482, + "line": 487, "column": 12 }, "end": { - "line": 482, + "line": 487, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 17214, - "end": 17218, + "start": 17450, + "end": 17454, "loc": { "start": { - "line": 482, + "line": 487, "column": 12 }, "end": { - "line": 482, + "line": 487, "column": 16 } }, @@ -22124,15 +22746,15 @@ }, "property": { "type": "Identifier", - "start": 17219, - "end": 17225, + "start": 17455, + "end": 17461, "loc": { "start": { - "line": 482, + "line": 487, "column": 17 }, "end": { - "line": 482, + "line": 487, "column": 23 }, "identifierName": "states" @@ -22144,15 +22766,15 @@ }, "property": { "type": "Identifier", - "start": 17226, - "end": 17232, + "start": 17462, + "end": 17468, "loc": { "start": { - "line": 482, + "line": 487, "column": 24 }, "end": { - "line": 482, + "line": 487, "column": 30 }, "identifierName": "length" @@ -22164,73 +22786,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 17234, - "end": 17324, + "start": 17470, + "end": 17560, "loc": { "start": { - "line": 482, + "line": 487, "column": 32 }, "end": { - "line": 485, + "line": 490, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 17278, - "end": 17313, + "start": 17514, + "end": 17549, "loc": { "start": { - "line": 484, + "line": 489, "column": 12 }, "end": { - "line": 484, + "line": 489, "column": 47 } }, "expression": { "type": "AssignmentExpression", - "start": 17278, - "end": 17312, + "start": 17514, + "end": 17548, "loc": { "start": { - "line": 484, + "line": 489, "column": 12 }, "end": { - "line": 484, + "line": 489, "column": 46 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 17278, - "end": 17289, + "start": 17514, + "end": 17525, "loc": { "start": { - "line": 484, + "line": 489, "column": 12 }, "end": { - "line": 484, + "line": 489, "column": 23 } }, "object": { "type": "Identifier", - "start": 17278, - "end": 17286, + "start": 17514, + "end": 17522, "loc": { "start": { - "line": 484, + "line": 489, "column": 12 }, "end": { - "line": 484, + "line": 489, "column": 20 }, "identifierName": "iconData" @@ -22240,15 +22862,15 @@ }, "property": { "type": "NumericLiteral", - "start": 17287, - "end": 17288, + "start": 17523, + "end": 17524, "loc": { "start": { - "line": 484, + "line": 489, "column": 21 }, "end": { - "line": 484, + "line": 489, "column": 22 } }, @@ -22263,58 +22885,58 @@ }, "right": { "type": "CallExpression", - "start": 17292, - "end": 17312, + "start": 17528, + "end": 17548, "loc": { "start": { - "line": 484, + "line": 489, "column": 26 }, "end": { - "line": 484, + "line": 489, "column": 46 } }, "callee": { "type": "MemberExpression", - "start": 17292, - "end": 17310, + "start": 17528, + "end": 17546, "loc": { "start": { - "line": 484, + "line": 489, "column": 26 }, "end": { - "line": 484, + "line": 489, "column": 44 } }, "object": { "type": "ThisExpression", - "start": 17292, - "end": 17296, + "start": 17528, + "end": 17532, "loc": { "start": { - "line": 484, + "line": 489, "column": 26 }, "end": { - "line": 484, + "line": 489, "column": 30 } } }, "property": { "type": "Identifier", - "start": 17297, - "end": 17310, + "start": 17533, + "end": 17546, "loc": { "start": { - "line": 484, + "line": 489, "column": 31 }, "end": { - "line": 484, + "line": 489, "column": 44 }, "identifierName": "getStatesData" @@ -22331,15 +22953,15 @@ { "type": "CommentLine", "value": " states array", - "start": 17249, - "end": 17264, + "start": 17485, + "end": 17500, "loc": { "start": { - "line": 483, + "line": 488, "column": 12 }, "end": { - "line": 483, + "line": 488, "column": 27 } } @@ -22354,15 +22976,15 @@ { "type": "CommentLine", "value": " this is actually an optional data entry into the vyi, only used if states actually exist on this icon.", - "start": 17063, - "end": 17168, + "start": 17299, + "end": 17404, "loc": { "start": { - "line": 480, + "line": 485, "column": 8 }, "end": { - "line": 480, + "line": 485, "column": 113 } } @@ -22370,15 +22992,15 @@ { "type": "CommentLine", "value": " this will save data", - "start": 17178, - "end": 17200, + "start": 17414, + "end": 17436, "loc": { "start": { - "line": 481, + "line": 486, "column": 8 }, "end": { - "line": 481, + "line": 486, "column": 30 } } @@ -22387,29 +23009,29 @@ }, { "type": "ReturnStatement", - "start": 17334, - "end": 17350, + "start": 17570, + "end": 17586, "loc": { "start": { - "line": 486, + "line": 491, "column": 8 }, "end": { - "line": 486, + "line": 491, "column": 24 } }, "argument": { "type": "Identifier", - "start": 17341, - "end": 17349, + "start": 17577, + "end": 17585, "loc": { "start": { - "line": 486, + "line": 491, "column": 15 }, "end": { - "line": 486, + "line": 491, "column": 23 }, "identifierName": "iconData" @@ -22424,15 +23046,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": 16374, - "end": 16549, + "start": 16610, + "end": 16785, "loc": { "start": { - "line": 458, + "line": 463, "column": 4 }, "end": { - "line": 462, + "line": 467, "column": 7 } } @@ -23507,32 +24129,32 @@ }, { "type": "CommentLine", - "value": " If the state has the same name, return that state", - "start": 14855, - "end": 14907, + "value": " If the icon has the same name, return that icon", + "start": 14970, + "end": 15020, "loc": { "start": { - "line": 410, - "column": 12 + "line": 412, + "column": 16 }, "end": { - "line": 410, - "column": 64 + "line": 412, + "column": 66 } } }, { "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": 15022, - "end": 15152, + "start": 15258, + "end": 15388, "loc": { "start": { - "line": 416, + "line": 421, "column": 4 }, "end": { - "line": 419, + "line": 424, "column": 7 } } @@ -23540,15 +24162,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": 15220, - "end": 15376, + "start": 15456, + "end": 15612, "loc": { "start": { - "line": 423, + "line": 428, "column": 4 }, "end": { - "line": 427, + "line": 432, "column": 7 } } @@ -23556,15 +24178,15 @@ { "type": "CommentLine", "value": " Loop state array to export relevant information.", - "start": 15445, - "end": 15496, + "start": 15681, + "end": 15732, "loc": { "start": { - "line": 430, + "line": 435, "column": 8 }, "end": { - "line": 430, + "line": 435, "column": 59 } } @@ -23572,15 +24194,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": 15663, - "end": 15851, + "start": 15899, + "end": 16087, "loc": { "start": { - "line": 436, + "line": 441, "column": 4 }, "end": { - "line": 440, + "line": 445, "column": 7 } } @@ -23588,15 +24210,15 @@ { "type": "CommentLine", "value": " state name", - "start": 15915, - "end": 15928, + "start": 16151, + "end": 16164, "loc": { "start": { - "line": 443, + "line": 448, "column": 8 }, "end": { - "line": 443, + "line": 448, "column": 21 } } @@ -23604,15 +24226,15 @@ { "type": "CommentLine", "value": " state dataURL", - "start": 15978, - "end": 15994, + "start": 16214, + "end": 16230, "loc": { "start": { - "line": 445, + "line": 450, "column": 8 }, "end": { - "line": 445, + "line": 450, "column": 24 } } @@ -23620,15 +24242,15 @@ { "type": "CommentLine", "value": " state frame delay", - "start": 16047, - "end": 16067, + "start": 16283, + "end": 16303, "loc": { "start": { - "line": 447, + "line": 452, "column": 8 }, "end": { - "line": 447, + "line": 452, "column": 28 } } @@ -23636,15 +24258,15 @@ { "type": "CommentLine", "value": " state frame array", - "start": 16118, - "end": 16138, + "start": 16354, + "end": 16374, "loc": { "start": { - "line": 449, + "line": 454, "column": 8 }, "end": { - "line": 449, + "line": 454, "column": 28 } } @@ -23652,15 +24274,15 @@ { "type": "CommentLine", "value": " Loop frame array to export relevant information.", - "start": 16178, - "end": 16229, + "start": 16414, + "end": 16465, "loc": { "start": { - "line": 452, + "line": 457, "column": 8 }, "end": { - "line": 452, + "line": 457, "column": 59 } } @@ -23668,15 +24290,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": 16374, - "end": 16549, + "start": 16610, + "end": 16785, "loc": { "start": { - "line": 458, + "line": 463, "column": 4 }, "end": { - "line": 462, + "line": 467, "column": 7 } } @@ -23684,169 +24306,1263 @@ { "type": "CommentLine", "value": " icon name", - "start": 16605, - "end": 16617, + "start": 16841, + "end": 16853, + "loc": { + "start": { + "line": 470, + "column": 8 + }, + "end": { + "line": 470, + "column": 20 + } + } + }, + { + "type": "CommentLine", + "value": " Get the size of this icon.", + "start": 16902, + "end": 16931, + "loc": { + "start": { + "line": 472, + "column": 8 + }, + "end": { + "line": 472, + "column": 37 + } + } + }, + { + "type": "CommentLine", + "value": " icon width", + "start": 16979, + "end": 16992, + "loc": { + "start": { + "line": 474, + "column": 8 + }, + "end": { + "line": 474, + "column": 21 + } + } + }, + { + "type": "CommentLine", + "value": " icon height", + "start": 17037, + "end": 17051, + "loc": { + "start": { + "line": 476, + "column": 8 + }, + "end": { + "line": 476, + "column": 22 + } + } + }, + { + "type": "CommentLine", + "value": " frame delay", + "start": 17097, + "end": 17111, + "loc": { + "start": { + "line": 478, + "column": 8 + }, + "end": { + "line": 478, + "column": 22 + } + } + }, + { + "type": "CommentLine", + "value": " icon DataURL", + "start": 17161, + "end": 17176, + "loc": { + "start": { + "line": 480, + "column": 8 + }, + "end": { + "line": 480, + "column": 23 + } + } + }, + { + "type": "CommentLine", + "value": " frame array", + "start": 17228, + "end": 17242, + "loc": { + "start": { + "line": 482, + "column": 8 + }, + "end": { + "line": 482, + "column": 22 + } + } + }, + { + "type": "CommentLine", + "value": " this is actually an optional data entry into the vyi, only used if states actually exist on this icon.", + "start": 17299, + "end": 17404, + "loc": { + "start": { + "line": 485, + "column": 8 + }, + "end": { + "line": 485, + "column": 113 + } + } + }, + { + "type": "CommentLine", + "value": " this will save data", + "start": 17414, + "end": 17436, + "loc": { + "start": { + "line": 486, + "column": 8 + }, + "end": { + "line": 486, + "column": 30 + } + } + }, + { + "type": "CommentLine", + "value": " states array", + "start": 17485, + "end": 17500, + "loc": { + "start": { + "line": 488, + "column": 12 + }, + "end": { + "line": 488, + "column": 27 + } + } + } + ], + "tokens": [ + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 0, + "end": 6, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7, + "end": 8, + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "VYI", + "start": 9, + "end": 12, + "loc": { + "start": { + "line": 1, + "column": 9 + }, + "end": { + "line": 1, + "column": 12 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13, + "end": 14, + "loc": { + "start": { + "line": 1, + "column": 13 + }, + "end": { + "line": 1, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 15, + "end": 19, + "loc": { + "start": { + "line": 1, + "column": 15 + }, + "end": { + "line": 1, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./vyi.mjs", + "start": 20, + "end": 31, + "loc": { + "start": { + "line": 1, + "column": 20 + }, + "end": { + "line": 1, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 31, + "end": 32, + "loc": { + "start": { + "line": 1, + "column": 31 + }, + "end": { + "line": 1, + "column": 32 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 34, + "end": 40, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 41, + "end": 42, + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 2, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Frame", + "start": 43, + "end": 48, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 14 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 49, + "end": 50, + "loc": { + "start": { + "line": 2, + "column": 15 + }, + "end": { + "line": 2, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 51, + "end": 55, + "loc": { + "start": { + "line": 2, + "column": 17 + }, + "end": { + "line": 2, + "column": 21 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./frame.mjs", + "start": 56, + "end": 69, + "loc": { + "start": { + "line": 2, + "column": 22 + }, + "end": { + "line": 2, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 69, + "end": 70, + "loc": { + "start": { + "line": 2, + "column": 35 + }, + "end": { + "line": 2, + "column": 36 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 74, + "end": 80, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 6 + } + } + }, + { + "type": { + "label": "class", + "keyword": "class", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "class", + "start": 81, + "end": 86, + "loc": { + "start": { + "line": 4, + "column": 7 + }, + "end": { + "line": 4, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Icon", + "start": 87, + "end": 91, + "loc": { + "start": { + "line": 4, + "column": 13 + }, + "end": { + "line": 4, + "column": 17 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 92, + "end": 93, + "loc": { + "start": { + "line": 4, + "column": 18 + }, + "end": { + "line": 4, + "column": 19 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * An array of Icon's that are state of this icon.\r\n * @private\r\n * @type {Array}\r\n ", + "start": 99, + "end": 206, + "loc": { + "start": { + "line": 5, + "column": 4 + }, + "end": { + "line": 9, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "states", + "start": 212, + "end": 218, + "loc": { + "start": { + "line": 10, + "column": 4 + }, + "end": { + "line": 10, + "column": 10 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 219, + "end": 220, + "loc": { + "start": { + "line": 10, + "column": 11 + }, + "end": { + "line": 10, + "column": 12 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 221, + "end": 222, + "loc": { + "start": { + "line": 10, + "column": 13 + }, + "end": { + "line": 10, + "column": 14 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 222, + "end": 223, + "loc": { + "start": { + "line": 10, + "column": 14 + }, + "end": { + "line": 10, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 223, + "end": 224, + "loc": { + "start": { + "line": 10, + "column": 15 + }, + "end": { + "line": 10, + "column": 16 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * An arary of Frame's that are the frames of this icon.\r\n * @private\r\n * @type {Array}\r\n ", + "start": 230, + "end": 343, + "loc": { + "start": { + "line": 11, + "column": 4 + }, + "end": { + "line": 15, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "frames", + "start": 349, + "end": 355, + "loc": { + "start": { + "line": 16, + "column": 4 + }, + "end": { + "line": 16, + "column": 10 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 356, + "end": 357, + "loc": { + "start": { + "line": 16, + "column": 11 + }, + "end": { + "line": 16, + "column": 12 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 358, + "end": 359, + "loc": { + "start": { + "line": 16, + "column": 13 + }, + "end": { + "line": 16, + "column": 14 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 359, + "end": 360, + "loc": { + "start": { + "line": 16, + "column": 14 + }, + "end": { + "line": 16, + "column": 15 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 360, + "end": 361, + "loc": { + "start": { + "line": 16, + "column": 15 + }, + "end": { + "line": 16, + "column": 16 + } + } + }, + { + "type": "CommentBlock", + "value": "*\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 ", + "start": 367, + "end": 508, + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 21, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "width", + "start": 514, + "end": 519, + "loc": { + "start": { + "line": 22, + "column": 4 + }, + "end": { + "line": 22, + "column": 9 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 520, + "end": 521, + "loc": { + "start": { + "line": 22, + "column": 10 + }, + "end": { + "line": 22, + "column": 11 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 32, + "start": 522, + "end": 524, + "loc": { + "start": { + "line": 22, + "column": 12 + }, + "end": { + "line": 22, + "column": 14 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 524, + "end": 525, "loc": { "start": { - "line": 465, - "column": 8 + "line": 22, + "column": 14 }, "end": { - "line": 465, - "column": 20 + "line": 22, + "column": 15 } } }, { - "type": "CommentLine", - "value": " Get the size of this icon.", - "start": 16666, - "end": 16695, + "type": "CommentBlock", + "value": "*\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 ", + "start": 531, + "end": 673, "loc": { "start": { - "line": 467, - "column": 8 + "line": 23, + "column": 4 }, "end": { - "line": 467, - "column": 37 + "line": 27, + "column": 7 } } }, { - "type": "CommentLine", - "value": " icon width", - "start": 16743, - "end": 16756, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "height", + "start": 679, + "end": 685, "loc": { "start": { - "line": 469, - "column": 8 + "line": 28, + "column": 4 }, "end": { - "line": 469, - "column": 21 + "line": 28, + "column": 10 } } }, { - "type": "CommentLine", - "value": " icon height", - "start": 16801, - "end": 16815, + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 686, + "end": 687, "loc": { "start": { - "line": 471, - "column": 8 + "line": 28, + "column": 11 }, "end": { - "line": 471, - "column": 22 + "line": 28, + "column": 12 } } }, { - "type": "CommentLine", - "value": " frame delay", - "start": 16861, - "end": 16875, + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 32, + "start": 688, + "end": 690, "loc": { "start": { - "line": 473, - "column": 8 + "line": 28, + "column": 13 }, "end": { - "line": 473, - "column": 22 + "line": 28, + "column": 15 } } }, { - "type": "CommentLine", - "value": " icon DataURL", - "start": 16925, - "end": 16940, + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 690, + "end": 691, "loc": { "start": { - "line": 475, - "column": 8 + "line": 28, + "column": 15 }, "end": { - "line": 475, - "column": 23 + "line": 28, + "column": 16 } } }, { - "type": "CommentLine", - "value": " frame array", - "start": 16992, - "end": 17006, + "type": "CommentBlock", + "value": "*\r\n * The data URL of the sprite in this frame.\r\n * @private\r\n * @type {string}\r\n ", + "start": 697, + "end": 799, "loc": { "start": { - "line": 477, - "column": 8 + "line": 29, + "column": 4 }, "end": { - "line": 477, - "column": 22 + "line": 33, + "column": 7 } } }, { - "type": "CommentLine", - "value": " this is actually an optional data entry into the vyi, only used if states actually exist on this icon.", - "start": 17063, - "end": 17168, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "dataURL", + "start": 805, + "end": 812, "loc": { "start": { - "line": 480, - "column": 8 + "line": 34, + "column": 4 }, "end": { - "line": 480, - "column": 113 + "line": 34, + "column": 11 } } }, { - "type": "CommentLine", - "value": " this will save data", - "start": 17178, - "end": 17200, + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 812, + "end": 813, "loc": { "start": { - "line": 481, - "column": 8 + "line": 34, + "column": 11 }, "end": { - "line": 481, - "column": 30 + "line": 34, + "column": 12 } } }, { - "type": "CommentLine", - "value": " states array", - "start": 17249, - "end": 17264, + "type": "CommentBlock", + "value": "*\r\n * The delay of this frame.\r\n * @private\r\n * @type {number}\r\n ", + "start": 819, + "end": 904, "loc": { "start": { - "line": 483, - "column": 12 + "line": 35, + "column": 4 }, "end": { - "line": 483, - "column": 27 + "line": 39, + "column": 7 } } - } - ], - "tokens": [ + }, { "type": { - "label": "import", - "keyword": "import", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -23854,51 +25570,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "import", - "start": 0, - "end": 6, + "value": "delay", + "start": 910, + "end": 915, "loc": { "start": { - "line": 1, - "column": 0 + "line": 40, + "column": 4 }, "end": { - "line": 1, - "column": 6 + "line": 40, + "column": 9 } } }, { "type": { - "label": "{", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 7, - "end": 8, + "value": "=", + "start": 916, + "end": 917, "loc": { "start": { - "line": 1, - "column": 7 + "line": 40, + "column": 10 }, "end": { - "line": 1, - "column": 8 + "line": 40, + "column": 11 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -23906,76 +25623,68 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "VYI", - "start": 9, - "end": 12, + "value": 100, + "start": 918, + "end": 921, "loc": { "start": { - "line": 1, - "column": 9 + "line": 40, + "column": 12 }, "end": { - "line": 1, - "column": 12 + "line": 40, + "column": 15 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 13, - "end": 14, + "start": 921, + "end": 922, "loc": { "start": { - "line": 1, - "column": 13 + "line": 40, + "column": 15 }, "end": { - "line": 1, - "column": 14 + "line": 40, + "column": 16 } } }, { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 15, - "end": 19, + "type": "CommentBlock", + "value": "*\r\n * The name of this icon.\r\n * @private\r\n * @type {string}\r\n ", + "start": 928, + "end": 1011, "loc": { "start": { - "line": 1, - "column": 15 + "line": 41, + "column": 4 }, "end": { - "line": 1, - "column": 19 + "line": 45, + "column": 7 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -23983,53 +25692,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "./vyi.mjs", - "start": 20, - "end": 31, + "value": "name", + "start": 1017, + "end": 1021, "loc": { "start": { - "line": 1, - "column": 20 + "line": 46, + "column": 4 }, "end": { - "line": 1, - "column": 31 + "line": 46, + "column": 8 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 31, - "end": 32, + "value": "=", + "start": 1022, + "end": 1023, "loc": { "start": { - "line": 1, - "column": 31 + "line": 46, + "column": 9 }, "end": { - "line": 1, - "column": 32 + "line": 46, + "column": 10 } } }, { "type": { - "label": "import", - "keyword": "import", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -24040,42 +25748,59 @@ "binop": null, "updateContext": null }, - "value": "import", - "start": 34, - "end": 40, + "value": "", + "start": 1024, + "end": 1026, "loc": { "start": { - "line": 2, - "column": 0 + "line": 46, + "column": 11 }, "end": { - "line": 2, - "column": 6 + "line": 46, + "column": 13 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 41, - "end": 42, + "start": 1026, + "end": 1027, "loc": { "start": { - "line": 2, - "column": 7 + "line": 46, + "column": 13 }, "end": { - "line": 2, - "column": 8 + "line": 46, + "column": 14 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Creates this icon instance.\r\n * @param {Object} pIconData - The icon data that is used to build this icon.\r\n * @private\r\n ", + "start": 1033, + "end": 1181, + "loc": { + "start": { + "line": 47, + "column": 4 + }, + "end": { + "line": 51, + "column": 7 } } }, @@ -24091,25 +25816,25 @@ "postfix": false, "binop": null }, - "value": "Frame", - "start": 43, - "end": 48, + "value": "constructor", + "start": 1187, + "end": 1198, "loc": { "start": { - "line": 2, - "column": 9 + "line": 52, + "column": 4 }, "end": { - "line": 2, - "column": 14 + "line": 52, + "column": 15 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -24117,15 +25842,15 @@ "postfix": false, "binop": null }, - "start": 49, - "end": 50, + "start": 1198, + "end": 1199, "loc": { "start": { - "line": 2, + "line": 52, "column": 15 }, "end": { - "line": 2, + "line": 52, "column": 16 } } @@ -24142,79 +25867,76 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 51, - "end": 55, + "value": "pIconData", + "start": 1199, + "end": 1208, "loc": { "start": { - "line": 2, - "column": 17 + "line": 52, + "column": 16 }, "end": { - "line": 2, - "column": 21 + "line": 52, + "column": 25 } } }, { "type": { - "label": "string", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "./frame.mjs", - "start": 56, - "end": 69, + "start": 1208, + "end": 1209, "loc": { "start": { - "line": 2, - "column": 22 + "line": 52, + "column": 25 }, "end": { - "line": 2, - "column": 35 + "line": 52, + "column": 26 } } }, { "type": { - "label": ";", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 69, - "end": 70, + "start": 1210, + "end": 1211, "loc": { "start": { - "line": 2, - "column": 35 + "line": 52, + "column": 27 }, "end": { - "line": 2, - "column": 36 + "line": 52, + "column": 28 } } }, { "type": { - "label": "export", - "keyword": "export", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -24223,24 +25945,23 @@ "binop": null, "updateContext": null }, - "value": "export", - "start": 74, - "end": 80, + "value": "this", + "start": 1221, + "end": 1225, "loc": { "start": { - "line": 4, - "column": 0 + "line": 53, + "column": 8 }, "end": { - "line": 4, - "column": 6 + "line": 53, + "column": 12 } } }, { "type": { - "label": "class", - "keyword": "class", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -24251,17 +25972,16 @@ "binop": null, "updateContext": null }, - "value": "class", - "start": 81, - "end": 86, + "start": 1225, + "end": 1226, "loc": { "start": { - "line": 4, - "column": 7 + "line": 53, + "column": 12 }, "end": { - "line": 4, - "column": 12 + "line": 53, + "column": 13 } } }, @@ -24277,23 +25997,23 @@ "postfix": false, "binop": null }, - "value": "Icon", - "start": 87, - "end": 91, + "value": "parse", + "start": 1226, + "end": 1231, "loc": { "start": { - "line": 4, + "line": 53, "column": 13 }, "end": { - "line": 4, - "column": 17 + "line": 53, + "column": 18 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -24303,35 +26023,19 @@ "postfix": false, "binop": null }, - "start": 92, - "end": 93, + "start": 1231, + "end": 1232, "loc": { "start": { - "line": 4, + "line": 53, "column": 18 }, "end": { - "line": 4, + "line": 53, "column": 19 } } }, - { - "type": "CommentBlock", - "value": "*\r\n * An array of Icon's that are state of this icon.\r\n * @private\r\n * @type {Array}\r\n ", - "start": 99, - "end": 206, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 9, - "column": 7 - } - } - }, { "type": { "label": "name", @@ -24344,77 +26048,49 @@ "postfix": false, "binop": null }, - "value": "states", - "start": 212, - "end": 218, + "value": "pIconData", + "start": 1232, + "end": 1241, "loc": { "start": { - "line": 10, - "column": 4 + "line": 53, + "column": 19 }, "end": { - "line": 10, - "column": 10 + "line": 53, + "column": 28 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 219, - "end": 220, - "loc": { - "start": { - "line": 10, - "column": 11 - }, - "end": { - "line": 10, - "column": 12 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 221, - "end": 222, + "start": 1241, + "end": 1242, "loc": { "start": { - "line": 10, - "column": 13 + "line": 53, + "column": 28 }, "end": { - "line": 10, - "column": 14 + "line": 53, + "column": 29 } } }, { "type": { - "label": "]", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -24424,57 +26100,56 @@ "binop": null, "updateContext": null }, - "start": 222, - "end": 223, + "start": 1242, + "end": 1243, "loc": { "start": { - "line": 10, - "column": 14 + "line": 53, + "column": 29 }, "end": { - "line": 10, - "column": 15 + "line": 53, + "column": 30 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 223, - "end": 224, + "start": 1249, + "end": 1250, "loc": { "start": { - "line": 10, - "column": 15 + "line": 54, + "column": 4 }, "end": { - "line": 10, - "column": 16 + "line": 54, + "column": 5 } } }, { "type": "CommentBlock", - "value": "*\r\n * An arary of Frame's that are the frames of this icon.\r\n * @private\r\n * @type {Array}\r\n ", - "start": 230, - "end": 343, + "value": "*\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 ", + "start": 1256, + "end": 1433, "loc": { "start": { - "line": 11, + "line": 55, "column": 4 }, "end": { - "line": 15, + "line": 59, "column": 7 } } @@ -24491,76 +26166,74 @@ "postfix": false, "binop": null }, - "value": "frames", - "start": 349, - "end": 355, + "value": "parse", + "start": 1439, + "end": 1444, "loc": { "start": { - "line": 16, + "line": 60, "column": 4 }, "end": { - "line": 16, - "column": 10 + "line": 60, + "column": 9 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 356, - "end": 357, + "start": 1444, + "end": 1445, "loc": { "start": { - "line": 16, - "column": 11 + "line": 60, + "column": 9 }, "end": { - "line": 16, - "column": 12 + "line": 60, + "column": 10 } } }, { "type": { - "label": "[", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 358, - "end": 359, + "value": "pIconData", + "start": 1445, + "end": 1454, "loc": { "start": { - "line": 16, - "column": 13 + "line": 60, + "column": 10 }, "end": { - "line": 16, - "column": 14 + "line": 60, + "column": 19 } } }, { "type": { - "label": "]", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -24568,61 +26241,87 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 359, - "end": 360, + "start": 1454, + "end": 1455, "loc": { "start": { - "line": 16, - "column": 14 + "line": 60, + "column": 19 }, "end": { - "line": 16, - "column": 15 + "line": 60, + "column": 20 } } }, { "type": { - "label": ";", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 360, - "end": 361, + "start": 1456, + "end": 1457, "loc": { "start": { - "line": 16, - "column": 15 + "line": 60, + "column": 21 }, "end": { - "line": 16, - "column": 16 + "line": 60, + "column": 22 } } }, { - "type": "CommentBlock", - "value": "*\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 ", - "start": 367, - "end": 508, + "type": "CommentLine", + "value": " Loop through pIconData and create this icon", + "start": 1467, + "end": 1513, "loc": { "start": { - "line": 17, - "column": 4 + "line": 61, + "column": 8 }, "end": { - "line": 21, - "column": 7 + "line": 61, + "column": 54 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 1523, + "end": 1528, + "loc": { + "start": { + "line": 62, + "column": 8 + }, + "end": { + "line": 62, + "column": 13 } } }, @@ -24638,17 +26337,17 @@ "postfix": false, "binop": null }, - "value": "width", - "start": 514, - "end": 519, + "value": "iconName", + "start": 1529, + "end": 1537, "loc": { "start": { - "line": 22, - "column": 4 + "line": 62, + "column": 14 }, "end": { - "line": 22, - "column": 9 + "line": 62, + "column": 22 } } }, @@ -24666,22 +26365,22 @@ "updateContext": null }, "value": "=", - "start": 520, - "end": 521, + "start": 1538, + "end": 1539, "loc": { "start": { - "line": 22, - "column": 10 + "line": 62, + "column": 23 }, "end": { - "line": 22, - "column": 11 + "line": 62, + "column": 24 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -24689,28 +26388,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 32, - "start": 522, - "end": 524, + "value": "pIconData", + "start": 1540, + "end": 1549, "loc": { "start": { - "line": 22, - "column": 12 + "line": 62, + "column": 25 }, "end": { - "line": 22, - "column": 14 + "line": 62, + "column": 34 } } }, { "type": { - "label": ";", + "label": "[", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -24719,38 +26417,22 @@ "binop": null, "updateContext": null }, - "start": 524, - "end": 525, - "loc": { - "start": { - "line": 22, - "column": 14 - }, - "end": { - "line": 22, - "column": 15 - } - } - }, - { - "type": "CommentBlock", - "value": "*\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 ", - "start": 531, - "end": 673, + "start": 1549, + "end": 1550, "loc": { "start": { - "line": 23, - "column": 4 + "line": 62, + "column": 34 }, "end": { - "line": 27, - "column": 7 + "line": 62, + "column": 35 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -24758,54 +26440,54 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "height", - "start": 679, - "end": 685, + "value": 0, + "start": 1550, + "end": 1551, "loc": { "start": { - "line": 28, - "column": 4 + "line": 62, + "column": 35 }, "end": { - "line": 28, - "column": 10 + "line": 62, + "column": 36 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": "]", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 686, - "end": 687, + "start": 1551, + "end": 1552, "loc": { "start": { - "line": 28, - "column": 11 + "line": 62, + "column": 36 }, "end": { - "line": 28, - "column": 12 + "line": 62, + "column": 37 } } }, { "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -24814,24 +26496,24 @@ "binop": null, "updateContext": null }, - "value": 32, - "start": 688, - "end": 690, + "start": 1552, + "end": 1553, "loc": { "start": { - "line": 28, - "column": 13 + "line": 62, + "column": 37 }, "end": { - "line": 28, - "column": 15 + "line": 62, + "column": 38 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -24841,32 +26523,17 @@ "binop": null, "updateContext": null }, - "start": 690, - "end": 691, - "loc": { - "start": { - "line": 28, - "column": 15 - }, - "end": { - "line": 28, - "column": 16 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * The data URL of the sprite in this frame.\r\n * @private\r\n * @type {string}\r\n ", - "start": 697, - "end": 799, + "value": "const", + "start": 1563, + "end": 1568, "loc": { "start": { - "line": 29, - "column": 4 + "line": 63, + "column": 8 }, "end": { - "line": 33, - "column": 7 + "line": 63, + "column": 13 } } }, @@ -24882,59 +26549,44 @@ "postfix": false, "binop": null }, - "value": "dataURL", - "start": 805, - "end": 812, + "value": "iconWidth", + "start": 1569, + "end": 1578, "loc": { "start": { - "line": 34, - "column": 4 + "line": 63, + "column": 14 }, "end": { - "line": 34, - "column": 11 + "line": 63, + "column": 23 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 812, - "end": 813, - "loc": { - "start": { - "line": 34, - "column": 11 - }, - "end": { - "line": 34, - "column": 12 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * The delay of this frame.\r\n * @private\r\n * @type {number}\r\n ", - "start": 819, - "end": 904, + "value": "=", + "start": 1579, + "end": 1580, "loc": { "start": { - "line": 35, - "column": 4 + "line": 63, + "column": 24 }, "end": { - "line": 39, - "column": 7 + "line": 63, + "column": 25 } } }, @@ -24950,44 +26602,43 @@ "postfix": false, "binop": null }, - "value": "delay", - "start": 910, - "end": 915, + "value": "pIconData", + "start": 1581, + "end": 1590, "loc": { "start": { - "line": 40, - "column": 4 + "line": 63, + "column": 26 }, "end": { - "line": 40, - "column": 9 + "line": 63, + "column": 35 } } }, { "type": { - "label": "=", + "label": "[", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 916, - "end": 917, + "start": 1590, + "end": 1591, "loc": { "start": { - "line": 40, - "column": 10 + "line": 63, + "column": 35 }, "end": { - "line": 40, - "column": 11 + "line": 63, + "column": 36 } } }, @@ -25004,24 +26655,24 @@ "binop": null, "updateContext": null }, - "value": 100, - "start": 918, - "end": 921, + "value": 1, + "start": 1591, + "end": 1592, "loc": { "start": { - "line": 40, - "column": 12 + "line": 63, + "column": 36 }, "end": { - "line": 40, - "column": 15 + "line": 63, + "column": 37 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "]", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -25031,91 +26682,76 @@ "binop": null, "updateContext": null }, - "start": 921, - "end": 922, - "loc": { - "start": { - "line": 40, - "column": 15 - }, - "end": { - "line": 40, - "column": 16 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * The name of this icon.\r\n * @private\r\n * @type {string}\r\n ", - "start": 928, - "end": 1011, + "start": 1592, + "end": 1593, "loc": { "start": { - "line": 41, - "column": 4 + "line": 63, + "column": 37 }, "end": { - "line": 45, - "column": 7 + "line": 63, + "column": 38 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "name", - "start": 1017, - "end": 1021, + "start": 1593, + "end": 1594, "loc": { "start": { - "line": 46, - "column": 4 + "line": 63, + "column": 38 }, "end": { - "line": 46, - "column": 8 + "line": 63, + "column": 39 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 1022, - "end": 1023, + "value": "const", + "start": 1604, + "end": 1609, "loc": { "start": { - "line": 46, - "column": 9 + "line": 64, + "column": 8 }, "end": { - "line": 46, - "column": 10 + "line": 64, + "column": 13 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -25123,62 +26759,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "", - "start": 1024, - "end": 1026, + "value": "iconHeight", + "start": 1610, + "end": 1620, "loc": { "start": { - "line": 46, - "column": 11 + "line": 64, + "column": 14 }, "end": { - "line": 46, - "column": 13 + "line": 64, + "column": 24 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 1026, - "end": 1027, - "loc": { - "start": { - "line": 46, - "column": 13 - }, - "end": { - "line": 46, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Creates this icon instance.\r\n * @param {Object} pIconData - The icon data that is used to build this icon.\r\n * @private\r\n ", - "start": 1033, - "end": 1181, + "value": "=", + "start": 1621, + "end": 1622, "loc": { "start": { - "line": 47, - "column": 4 + "line": 64, + "column": 25 }, "end": { - "line": 51, - "column": 7 + "line": 64, + "column": 26 } } }, @@ -25194,23 +26814,23 @@ "postfix": false, "binop": null }, - "value": "constructor", - "start": 1187, - "end": 1198, + "value": "pIconData", + "start": 1623, + "end": 1632, "loc": { "start": { - "line": 52, - "column": 4 + "line": 64, + "column": 27 }, "end": { - "line": 52, - "column": 15 + "line": 64, + "column": 36 } } }, { "type": { - "label": "(", + "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -25218,24 +26838,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1198, - "end": 1199, + "start": 1632, + "end": 1633, "loc": { "start": { - "line": 52, - "column": 15 + "line": 64, + "column": 36 }, "end": { - "line": 52, - "column": 16 + "line": 64, + "column": 37 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -25243,25 +26864,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "pIconData", - "start": 1199, - "end": 1208, + "value": 2, + "start": 1633, + "end": 1634, "loc": { "start": { - "line": 52, - "column": 16 + "line": 64, + "column": 37 }, "end": { - "line": 52, - "column": 25 + "line": 64, + "column": 38 } } }, { "type": { - "label": ")", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -25269,52 +26891,54 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1208, - "end": 1209, + "start": 1634, + "end": 1635, "loc": { "start": { - "line": 52, - "column": 25 + "line": 64, + "column": 38 }, "end": { - "line": 52, - "column": 26 + "line": 64, + "column": 39 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1210, - "end": 1211, + "start": 1635, + "end": 1636, "loc": { "start": { - "line": 52, - "column": 27 + "line": 64, + "column": 39 }, "end": { - "line": 52, - "column": 28 + "line": 64, + "column": 40 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "const", + "keyword": "const", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -25323,43 +26947,70 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 1221, - "end": 1225, + "value": "const", + "start": 1646, + "end": 1651, "loc": { "start": { - "line": 53, + "line": 65, "column": 8 }, "end": { - "line": 53, - "column": 12 + "line": 65, + "column": 13 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, + "binop": null + }, + "value": "iconDelay", + "start": 1652, + "end": 1661, + "loc": { + "start": { + "line": 65, + "column": 14 + }, + "end": { + "line": 65, + "column": 23 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, "binop": null, "updateContext": null }, - "start": 1225, - "end": 1226, + "value": "=", + "start": 1662, + "end": 1663, "loc": { "start": { - "line": 53, - "column": 12 + "line": 65, + "column": 24 }, "end": { - "line": 53, - "column": 13 + "line": 65, + "column": 25 } } }, @@ -25375,23 +27026,23 @@ "postfix": false, "binop": null }, - "value": "parse", - "start": 1226, - "end": 1231, + "value": "pIconData", + "start": 1664, + "end": 1673, "loc": { "start": { - "line": 53, - "column": 13 + "line": 65, + "column": 26 }, "end": { - "line": 53, - "column": 18 + "line": 65, + "column": 35 } } }, { "type": { - "label": "(", + "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -25399,24 +27050,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1231, - "end": 1232, + "start": 1673, + "end": 1674, "loc": { "start": { - "line": 53, - "column": 18 + "line": 65, + "column": 35 }, "end": { - "line": 53, - "column": 19 + "line": 65, + "column": 36 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -25424,25 +27076,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "pIconData", - "start": 1232, - "end": 1241, + "value": 3, + "start": 1674, + "end": 1675, "loc": { "start": { - "line": 53, - "column": 19 + "line": 65, + "column": 36 }, "end": { - "line": 53, - "column": 28 + "line": 65, + "column": 37 } } }, { "type": { - "label": ")", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -25450,18 +27103,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1241, - "end": 1242, + "start": 1675, + "end": 1676, "loc": { "start": { - "line": 53, - "column": 28 + "line": 65, + "column": 37 }, "end": { - "line": 53, - "column": 29 + "line": 65, + "column": 38 } } }, @@ -25478,22 +27132,23 @@ "binop": null, "updateContext": null }, - "start": 1242, - "end": 1243, + "start": 1676, + "end": 1677, "loc": { "start": { - "line": 53, - "column": 29 + "line": 65, + "column": 38 }, "end": { - "line": 53, - "column": 30 + "line": 65, + "column": 39 } } }, { "type": { - "label": "}", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -25501,67 +27156,80 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1249, - "end": 1250, + "value": "const", + "start": 1687, + "end": 1692, "loc": { "start": { - "line": 54, - "column": 4 + "line": 66, + "column": 8 }, "end": { - "line": 54, - "column": 5 + "line": 66, + "column": 13 } } }, { - "type": "CommentBlock", - "value": "*\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 ", - "start": 1256, - "end": 1433, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "iconDataURL", + "start": 1693, + "end": 1704, "loc": { "start": { - "line": 55, - "column": 4 + "line": 66, + "column": 14 }, "end": { - "line": 59, - "column": 7 + "line": 66, + "column": 25 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "parse", - "start": 1439, - "end": 1444, + "value": "=", + "start": 1705, + "end": 1706, "loc": { "start": { - "line": 60, - "column": 4 + "line": 66, + "column": 26 }, "end": { - "line": 60, - "column": 9 + "line": 66, + "column": 27 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -25570,108 +27238,122 @@ "postfix": false, "binop": null }, - "start": 1444, - "end": 1445, + "value": "pIconData", + "start": 1707, + "end": 1716, "loc": { "start": { - "line": 60, - "column": 9 + "line": 66, + "column": 28 }, "end": { - "line": 60, - "column": 10 + "line": 66, + "column": 37 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "[", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "pIconData", - "start": 1445, - "end": 1454, + "start": 1716, + "end": 1717, "loc": { "start": { - "line": 60, - "column": 10 + "line": 66, + "column": 37 }, "end": { - "line": 60, - "column": 19 + "line": 66, + "column": 38 } } }, { "type": { - "label": ")", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1454, - "end": 1455, + "value": 4, + "start": 1717, + "end": 1718, "loc": { "start": { - "line": 60, - "column": 19 + "line": 66, + "column": 38 }, "end": { - "line": 60, - "column": 20 + "line": 66, + "column": 39 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "]", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1456, - "end": 1457, + "start": 1718, + "end": 1719, "loc": { "start": { - "line": 60, - "column": 21 + "line": 66, + "column": 39 }, "end": { - "line": 60, - "column": 22 + "line": 66, + "column": 40 } } }, { - "type": "CommentLine", - "value": " Loop through pIconData and create this icon", - "start": 1467, - "end": 1513, + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1719, + "end": 1720, "loc": { "start": { - "line": 61, - "column": 8 + "line": 66, + "column": 40 }, "end": { - "line": 61, - "column": 54 + "line": 66, + "column": 41 } } }, @@ -25690,15 +27372,15 @@ "updateContext": null }, "value": "const", - "start": 1523, - "end": 1528, + "start": 1730, + "end": 1735, "loc": { "start": { - "line": 62, + "line": 67, "column": 8 }, "end": { - "line": 62, + "line": 67, "column": 13 } } @@ -25715,17 +27397,17 @@ "postfix": false, "binop": null }, - "value": "iconName", - "start": 1529, - "end": 1537, + "value": "frameArray", + "start": 1736, + "end": 1746, "loc": { "start": { - "line": 62, + "line": 67, "column": 14 }, "end": { - "line": 62, - "column": 22 + "line": 67, + "column": 24 } } }, @@ -25743,16 +27425,16 @@ "updateContext": null }, "value": "=", - "start": 1538, - "end": 1539, + "start": 1747, + "end": 1748, "loc": { "start": { - "line": 62, - "column": 23 + "line": 67, + "column": 25 }, "end": { - "line": 62, - "column": 24 + "line": 67, + "column": 26 } } }, @@ -25769,16 +27451,16 @@ "binop": null }, "value": "pIconData", - "start": 1540, - "end": 1549, + "start": 1749, + "end": 1758, "loc": { "start": { - "line": 62, - "column": 25 + "line": 67, + "column": 27 }, "end": { - "line": 62, - "column": 34 + "line": 67, + "column": 36 } } }, @@ -25795,16 +27477,16 @@ "binop": null, "updateContext": null }, - "start": 1549, - "end": 1550, + "start": 1758, + "end": 1759, "loc": { "start": { - "line": 62, - "column": 34 + "line": 67, + "column": 36 }, "end": { - "line": 62, - "column": 35 + "line": 67, + "column": 37 } } }, @@ -25821,17 +27503,17 @@ "binop": null, "updateContext": null }, - "value": 0, - "start": 1550, - "end": 1551, + "value": 5, + "start": 1759, + "end": 1760, "loc": { "start": { - "line": 62, - "column": 35 + "line": 67, + "column": 37 }, "end": { - "line": 62, - "column": 36 + "line": 67, + "column": 38 } } }, @@ -25848,16 +27530,16 @@ "binop": null, "updateContext": null }, - "start": 1551, - "end": 1552, + "start": 1760, + "end": 1761, "loc": { "start": { - "line": 62, - "column": 36 + "line": 67, + "column": 38 }, "end": { - "line": 62, - "column": 37 + "line": 67, + "column": 39 } } }, @@ -25874,16 +27556,16 @@ "binop": null, "updateContext": null }, - "start": 1552, - "end": 1553, + "start": 1761, + "end": 1762, "loc": { "start": { - "line": 62, - "column": 37 + "line": 67, + "column": 39 }, "end": { - "line": 62, - "column": 38 + "line": 67, + "column": 40 } } }, @@ -25902,15 +27584,15 @@ "updateContext": null }, "value": "const", - "start": 1563, - "end": 1568, + "start": 1772, + "end": 1777, "loc": { "start": { - "line": 63, + "line": 68, "column": 8 }, "end": { - "line": 63, + "line": 68, "column": 13 } } @@ -25927,17 +27609,17 @@ "postfix": false, "binop": null }, - "value": "iconWidth", - "start": 1569, - "end": 1578, + "value": "stateArray", + "start": 1778, + "end": 1788, "loc": { "start": { - "line": 63, + "line": 68, "column": 14 }, "end": { - "line": 63, - "column": 23 + "line": 68, + "column": 24 } } }, @@ -25955,16 +27637,16 @@ "updateContext": null }, "value": "=", - "start": 1579, - "end": 1580, + "start": 1789, + "end": 1790, "loc": { "start": { - "line": 63, - "column": 24 + "line": 68, + "column": 25 }, "end": { - "line": 63, - "column": 25 + "line": 68, + "column": 26 } } }, @@ -25981,16 +27663,16 @@ "binop": null }, "value": "pIconData", - "start": 1581, - "end": 1590, + "start": 1791, + "end": 1800, "loc": { "start": { - "line": 63, - "column": 26 + "line": 68, + "column": 27 }, "end": { - "line": 63, - "column": 35 + "line": 68, + "column": 36 } } }, @@ -26007,16 +27689,16 @@ "binop": null, "updateContext": null }, - "start": 1590, - "end": 1591, + "start": 1800, + "end": 1801, "loc": { "start": { - "line": 63, - "column": 35 + "line": 68, + "column": 36 }, "end": { - "line": 63, - "column": 36 + "line": 68, + "column": 37 } } }, @@ -26033,17 +27715,17 @@ "binop": null, "updateContext": null }, - "value": 1, - "start": 1591, - "end": 1592, + "value": 6, + "start": 1801, + "end": 1802, "loc": { "start": { - "line": 63, - "column": 36 + "line": 68, + "column": 37 }, "end": { - "line": 63, - "column": 37 + "line": 68, + "column": 38 } } }, @@ -26060,16 +27742,16 @@ "binop": null, "updateContext": null }, - "start": 1592, - "end": 1593, + "start": 1802, + "end": 1803, "loc": { "start": { - "line": 63, - "column": 37 + "line": 68, + "column": 38 }, "end": { - "line": 63, - "column": 38 + "line": 68, + "column": 39 } } }, @@ -26086,50 +27768,39 @@ "binop": null, "updateContext": null }, - "start": 1593, - "end": 1594, + "start": 1803, + "end": 1804, "loc": { "start": { - "line": 63, - "column": 38 + "line": 68, + "column": 39 }, "end": { - "line": 63, - "column": 39 + "line": 68, + "column": 40 } } }, { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 1604, - "end": 1609, + "type": "CommentLine", + "value": " Set name", + "start": 1816, + "end": 1827, "loc": { "start": { - "line": 64, + "line": 70, "column": 8 }, "end": { - "line": 64, - "column": 13 + "line": 70, + "column": 19 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -26137,46 +27808,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "iconHeight", - "start": 1610, - "end": 1620, + "value": "this", + "start": 1837, + "end": 1841, "loc": { "start": { - "line": 64, - "column": 14 + "line": 71, + "column": 8 }, "end": { - "line": 64, - "column": 24 + "line": 71, + "column": 12 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 1621, - "end": 1622, + "start": 1841, + "end": 1842, "loc": { "start": { - "line": 64, - "column": 25 + "line": 71, + "column": 12 }, "end": { - "line": 64, - "column": 26 + "line": 71, + "column": 13 } } }, @@ -26192,23 +27863,23 @@ "postfix": false, "binop": null }, - "value": "pIconData", - "start": 1623, - "end": 1632, + "value": "rename", + "start": 1842, + "end": 1848, "loc": { "start": { - "line": 64, - "column": 27 + "line": 71, + "column": 13 }, "end": { - "line": 64, - "column": 36 + "line": 71, + "column": 19 } } }, { "type": { - "label": "[", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -26216,25 +27887,24 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1632, - "end": 1633, + "start": 1848, + "end": 1849, "loc": { "start": { - "line": 64, - "column": 36 + "line": 71, + "column": 19 }, "end": { - "line": 64, - "column": 37 + "line": 71, + "column": 20 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -26242,26 +27912,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 2, - "start": 1633, - "end": 1634, + "value": "iconName", + "start": 1849, + "end": 1857, "loc": { "start": { - "line": 64, - "column": 37 + "line": 71, + "column": 20 }, "end": { - "line": 64, - "column": 38 + "line": 71, + "column": 28 } } }, { "type": { - "label": "]", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -26269,19 +27938,18 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1634, - "end": 1635, + "start": 1857, + "end": 1858, "loc": { "start": { - "line": 64, - "column": 38 + "line": 71, + "column": 28 }, "end": { - "line": 64, - "column": 39 + "line": 71, + "column": 29 } } }, @@ -26298,25 +27966,41 @@ "binop": null, "updateContext": null }, - "start": 1635, - "end": 1636, + "start": 1858, + "end": 1859, "loc": { "start": { - "line": 64, - "column": 39 + "line": 71, + "column": 29 }, "end": { - "line": 64, - "column": 40 + "line": 71, + "column": 30 + } + } + }, + { + "type": "CommentLine", + "value": " Set size", + "start": 1869, + "end": 1880, + "loc": { + "start": { + "line": 72, + "column": 8 + }, + "end": { + "line": 72, + "column": 19 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -26325,16 +28009,42 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 1646, - "end": 1651, + "value": "this", + "start": 1890, + "end": 1894, "loc": { "start": { - "line": 65, + "line": 73, "column": 8 }, "end": { - "line": 65, + "line": 73, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1894, + "end": 1895, + "loc": { + "start": { + "line": 73, + "column": 12 + }, + "end": { + "line": 73, "column": 13 } } @@ -26351,44 +28061,42 @@ "postfix": false, "binop": null }, - "value": "iconDelay", - "start": 1652, - "end": 1661, + "value": "setSize", + "start": 1895, + "end": 1902, "loc": { "start": { - "line": 65, - "column": 14 + "line": 73, + "column": 13 }, "end": { - "line": 65, - "column": 23 + "line": 73, + "column": 20 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 1662, - "end": 1663, + "start": 1902, + "end": 1903, "loc": { "start": { - "line": 65, - "column": 24 + "line": 73, + "column": 20 }, "end": { - "line": 65, - "column": 25 + "line": 73, + "column": 21 } } }, @@ -26404,25 +28112,25 @@ "postfix": false, "binop": null }, - "value": "pIconData", - "start": 1664, - "end": 1673, + "value": "iconWidth", + "start": 1903, + "end": 1912, "loc": { "start": { - "line": 65, - "column": 26 + "line": 73, + "column": 21 }, "end": { - "line": 65, - "column": 35 + "line": 73, + "column": 30 } } }, { "type": { - "label": "[", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -26431,22 +28139,22 @@ "binop": null, "updateContext": null }, - "start": 1673, - "end": 1674, + "start": 1912, + "end": 1913, "loc": { "start": { - "line": 65, - "column": 35 + "line": 73, + "column": 30 }, "end": { - "line": 65, - "column": 36 + "line": 73, + "column": 31 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -26454,26 +28162,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 3, - "start": 1674, - "end": 1675, + "value": "iconHeight", + "start": 1914, + "end": 1924, "loc": { "start": { - "line": 65, - "column": 36 + "line": 73, + "column": 32 }, "end": { - "line": 65, - "column": 37 + "line": 73, + "column": 42 } } }, { "type": { - "label": "]", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -26481,19 +28188,18 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1675, - "end": 1676, + "start": 1924, + "end": 1925, "loc": { "start": { - "line": 65, - "column": 37 + "line": 73, + "column": 42 }, "end": { - "line": 65, - "column": 38 + "line": 73, + "column": 43 } } }, @@ -26510,50 +28216,39 @@ "binop": null, "updateContext": null }, - "start": 1676, - "end": 1677, + "start": 1925, + "end": 1926, "loc": { "start": { - "line": 65, - "column": 38 + "line": 73, + "column": 43 }, "end": { - "line": 65, - "column": 39 + "line": 73, + "column": 44 } } }, { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 1687, - "end": 1692, + "type": "CommentLine", + "value": " Set icon delay", + "start": 1936, + "end": 1953, "loc": { "start": { - "line": 66, + "line": 74, "column": 8 }, "end": { - "line": 66, - "column": 13 + "line": 74, + "column": 25 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -26561,46 +28256,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "iconDataURL", - "start": 1693, - "end": 1704, + "value": "this", + "start": 1963, + "end": 1967, "loc": { "start": { - "line": 66, - "column": 14 + "line": 75, + "column": 8 }, "end": { - "line": 66, - "column": 25 + "line": 75, + "column": 12 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 1705, - "end": 1706, + "start": 1967, + "end": 1968, "loc": { "start": { - "line": 66, - "column": 26 + "line": 75, + "column": 12 }, "end": { - "line": 66, - "column": 27 + "line": 75, + "column": 13 } } }, @@ -26616,23 +28311,23 @@ "postfix": false, "binop": null }, - "value": "pIconData", - "start": 1707, - "end": 1716, + "value": "setDelay", + "start": 1968, + "end": 1976, "loc": { "start": { - "line": 66, - "column": 28 + "line": 75, + "column": 13 }, "end": { - "line": 66, - "column": 37 + "line": 75, + "column": 21 } } }, { "type": { - "label": "[", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -26640,25 +28335,24 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1716, - "end": 1717, + "start": 1976, + "end": 1977, "loc": { "start": { - "line": 66, - "column": 37 + "line": 75, + "column": 21 }, "end": { - "line": 66, - "column": 38 + "line": 75, + "column": 22 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -26666,26 +28360,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 4, - "start": 1717, - "end": 1718, + "value": "iconDelay", + "start": 1977, + "end": 1986, "loc": { "start": { - "line": 66, - "column": 38 + "line": 75, + "column": 22 }, "end": { - "line": 66, - "column": 39 + "line": 75, + "column": 31 } } }, { "type": { - "label": "]", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -26693,19 +28386,18 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1718, - "end": 1719, + "start": 1986, + "end": 1987, "loc": { "start": { - "line": 66, - "column": 39 + "line": 75, + "column": 31 }, "end": { - "line": 66, - "column": 40 + "line": 75, + "column": 32 } } }, @@ -26722,50 +28414,39 @@ "binop": null, "updateContext": null }, - "start": 1719, - "end": 1720, + "start": 1987, + "end": 1988, "loc": { "start": { - "line": 66, - "column": 40 + "line": 75, + "column": 32 }, "end": { - "line": 66, - "column": 41 + "line": 75, + "column": 33 } } }, { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 1730, - "end": 1735, + "type": "CommentLine", + "value": " Set dataURL", + "start": 1998, + "end": 2012, "loc": { "start": { - "line": 67, + "line": 76, "column": 8 }, "end": { - "line": 67, - "column": 13 + "line": 76, + "column": 22 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -26773,46 +28454,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "frameArray", - "start": 1736, - "end": 1746, + "value": "this", + "start": 2022, + "end": 2026, "loc": { "start": { - "line": 67, - "column": 14 + "line": 77, + "column": 8 }, "end": { - "line": 67, - "column": 24 + "line": 77, + "column": 12 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 1747, - "end": 1748, + "start": 2026, + "end": 2027, "loc": { "start": { - "line": 67, - "column": 25 + "line": 77, + "column": 12 }, "end": { - "line": 67, - "column": 26 + "line": 77, + "column": 13 } } }, @@ -26828,23 +28509,23 @@ "postfix": false, "binop": null }, - "value": "pIconData", - "start": 1749, - "end": 1758, + "value": "setDataURL", + "start": 2027, + "end": 2037, "loc": { "start": { - "line": 67, - "column": 27 + "line": 77, + "column": 13 }, "end": { - "line": 67, - "column": 36 + "line": 77, + "column": 23 } } }, { "type": { - "label": "[", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -26852,25 +28533,24 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1758, - "end": 1759, + "start": 2037, + "end": 2038, "loc": { "start": { - "line": 67, - "column": 36 + "line": 77, + "column": 23 }, "end": { - "line": 67, - "column": 37 + "line": 77, + "column": 24 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -26878,26 +28558,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 5, - "start": 1759, - "end": 1760, + "value": "iconDataURL", + "start": 2038, + "end": 2049, "loc": { "start": { - "line": 67, - "column": 37 + "line": 77, + "column": 24 }, "end": { - "line": 67, - "column": 38 + "line": 77, + "column": 35 } } }, { "type": { - "label": "]", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -26905,19 +28584,18 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1760, - "end": 1761, + "start": 2049, + "end": 2050, "loc": { "start": { - "line": 67, - "column": 38 + "line": 77, + "column": 35 }, "end": { - "line": 67, - "column": 39 + "line": 77, + "column": 36 } } }, @@ -26934,23 +28612,39 @@ "binop": null, "updateContext": null }, - "start": 1761, - "end": 1762, + "start": 2050, + "end": 2051, "loc": { "start": { - "line": 67, - "column": 39 + "line": 77, + "column": 36 }, "end": { - "line": 67, - "column": 40 + "line": 77, + "column": 37 + } + } + }, + { + "type": "CommentLine", + "value": " Check if the frame data is an array", + "start": 2061, + "end": 2099, + "loc": { + "start": { + "line": 78, + "column": 8 + }, + "end": { + "line": 78, + "column": 46 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -26961,17 +28655,42 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 1772, - "end": 1777, + "value": "if", + "start": 2109, + "end": 2111, "loc": { "start": { - "line": 68, + "line": 79, "column": 8 }, "end": { - "line": 68, - "column": 13 + "line": 79, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2112, + "end": 2113, + "loc": { + "start": { + "line": 79, + "column": 11 + }, + "end": { + "line": 79, + "column": 12 } } }, @@ -26987,44 +28706,43 @@ "postfix": false, "binop": null }, - "value": "stateArray", - "start": 1778, - "end": 1788, + "value": "Array", + "start": 2113, + "end": 2118, "loc": { "start": { - "line": 68, - "column": 14 + "line": 79, + "column": 12 }, "end": { - "line": 68, - "column": 24 + "line": 79, + "column": 17 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 1789, - "end": 1790, + "start": 2118, + "end": 2119, "loc": { "start": { - "line": 68, - "column": 25 + "line": 79, + "column": 17 }, "end": { - "line": 68, - "column": 26 + "line": 79, + "column": 18 } } }, @@ -27040,23 +28758,23 @@ "postfix": false, "binop": null }, - "value": "pIconData", - "start": 1791, - "end": 1800, + "value": "isArray", + "start": 2119, + "end": 2126, "loc": { "start": { - "line": 68, - "column": 27 + "line": 79, + "column": 18 }, "end": { - "line": 68, - "column": 36 + "line": 79, + "column": 25 } } }, { "type": { - "label": "[", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -27064,25 +28782,24 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1800, - "end": 1801, + "start": 2126, + "end": 2127, "loc": { "start": { - "line": 68, - "column": 36 + "line": 79, + "column": 25 }, "end": { - "line": 68, - "column": 37 + "line": 79, + "column": 26 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -27090,26 +28807,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 6, - "start": 1801, - "end": 1802, + "value": "frameArray", + "start": 2127, + "end": 2137, "loc": { "start": { - "line": 68, - "column": 37 + "line": 79, + "column": 26 }, "end": { - "line": 68, - "column": 38 + "line": 79, + "column": 36 } } }, { "type": { - "label": "]", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -27117,70 +28833,93 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1802, - "end": 1803, + "start": 2137, + "end": 2138, "loc": { "start": { - "line": 68, - "column": 38 + "line": 79, + "column": 36 }, "end": { - "line": 68, - "column": 39 + "line": 79, + "column": 37 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null + }, + "start": 2138, + "end": 2139, + "loc": { + "start": { + "line": 79, + "column": 37 + }, + "end": { + "line": 79, + "column": 38 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null }, - "start": 1803, - "end": 1804, + "start": 2140, + "end": 2141, "loc": { "start": { - "line": 68, + "line": 79, "column": 39 }, "end": { - "line": 68, + "line": 79, "column": 40 } } }, { "type": "CommentLine", - "value": " Set name", - "start": 1816, - "end": 1827, + "value": " If the frame array has data then we need to store it.", + "start": 2155, + "end": 2211, "loc": { "start": { - "line": 70, - "column": 8 + "line": 80, + "column": 12 }, "end": { - "line": 70, - "column": 19 + "line": 80, + "column": 68 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -27189,43 +28928,42 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 1837, - "end": 1841, + "value": "if", + "start": 2225, + "end": 2227, "loc": { "start": { - "line": 71, - "column": 8 + "line": 81, + "column": 12 }, "end": { - "line": 71, - "column": 12 + "line": 81, + "column": 14 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1841, - "end": 1842, + "start": 2228, + "end": 2229, "loc": { "start": { - "line": 71, - "column": 12 + "line": 81, + "column": 15 }, "end": { - "line": 71, - "column": 13 + "line": 81, + "column": 16 } } }, @@ -27241,42 +28979,43 @@ "postfix": false, "binop": null }, - "value": "rename", - "start": 1842, - "end": 1848, + "value": "frameArray", + "start": 2229, + "end": 2239, "loc": { "start": { - "line": 71, - "column": 13 + "line": 81, + "column": 16 }, "end": { - "line": 71, - "column": 19 + "line": 81, + "column": 26 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1848, - "end": 1849, + "start": 2239, + "end": 2240, "loc": { "start": { - "line": 71, - "column": 19 + "line": 81, + "column": 26 }, "end": { - "line": 71, - "column": 20 + "line": 81, + "column": 27 } } }, @@ -27292,17 +29031,17 @@ "postfix": false, "binop": null }, - "value": "iconName", - "start": 1849, - "end": 1857, + "value": "length", + "start": 2240, + "end": 2246, "loc": { "start": { - "line": 71, - "column": 20 + "line": 81, + "column": 27 }, "end": { - "line": 71, - "column": 28 + "line": 81, + "column": 33 } } }, @@ -27318,65 +29057,47 @@ "postfix": false, "binop": null }, - "start": 1857, - "end": 1858, + "start": 2246, + "end": 2247, "loc": { "start": { - "line": 71, - "column": 28 + "line": 81, + "column": 33 }, "end": { - "line": 71, - "column": 29 + "line": 81, + "column": 34 } } }, { "type": { - "label": ";", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1858, - "end": 1859, - "loc": { - "start": { - "line": 71, - "column": 29 - }, - "end": { - "line": 71, - "column": 30 - } - } - }, - { - "type": "CommentLine", - "value": " Set size", - "start": 1869, - "end": 1880, + "start": 2248, + "end": 2249, "loc": { "start": { - "line": 72, - "column": 8 + "line": 81, + "column": 35 }, "end": { - "line": 72, - "column": 19 + "line": 81, + "column": 36 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -27384,20 +29105,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 1890, - "end": 1894, + "value": "frameArray", + "start": 2267, + "end": 2277, "loc": { "start": { - "line": 73, - "column": 8 + "line": 82, + "column": 16 }, "end": { - "line": 73, - "column": 12 + "line": 82, + "column": 26 } } }, @@ -27414,16 +29134,16 @@ "binop": null, "updateContext": null }, - "start": 1894, - "end": 1895, + "start": 2277, + "end": 2278, "loc": { "start": { - "line": 73, - "column": 12 + "line": 82, + "column": 26 }, "end": { - "line": 73, - "column": 13 + "line": 82, + "column": 27 } } }, @@ -27439,17 +29159,17 @@ "postfix": false, "binop": null }, - "value": "setSize", - "start": 1895, - "end": 1902, + "value": "forEach", + "start": 2278, + "end": 2285, "loc": { "start": { - "line": 73, - "column": 13 + "line": 82, + "column": 27 }, "end": { - "line": 73, - "column": 20 + "line": 82, + "column": 34 } } }, @@ -27465,23 +29185,23 @@ "postfix": false, "binop": null }, - "start": 1902, - "end": 1903, + "start": 2285, + "end": 2286, "loc": { "start": { - "line": 73, - "column": 20 + "line": 82, + "column": 34 }, "end": { - "line": 73, - "column": 21 + "line": 82, + "column": 35 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -27490,51 +29210,50 @@ "postfix": false, "binop": null }, - "value": "iconWidth", - "start": 1903, - "end": 1912, + "start": 2286, + "end": 2287, "loc": { "start": { - "line": 73, - "column": 21 + "line": 82, + "column": 35 }, "end": { - "line": 73, - "column": 30 + "line": 82, + "column": 36 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1912, - "end": 1913, + "value": "pFrame", + "start": 2287, + "end": 2293, "loc": { "start": { - "line": 73, - "column": 30 + "line": 82, + "column": 36 }, "end": { - "line": 73, - "column": 31 + "line": 82, + "column": 42 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -27542,84 +29261,83 @@ "postfix": false, "binop": null }, - "value": "iconHeight", - "start": 1914, - "end": 1924, + "start": 2293, + "end": 2294, "loc": { "start": { - "line": 73, - "column": 32 + "line": 82, + "column": 42 }, "end": { - "line": 73, - "column": 42 + "line": 82, + "column": 43 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "=>", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1924, - "end": 1925, + "start": 2295, + "end": 2297, "loc": { "start": { - "line": 73, - "column": 42 + "line": 82, + "column": 44 }, "end": { - "line": 73, - "column": 43 + "line": 82, + "column": 46 } } }, { "type": { - "label": ";", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1925, - "end": 1926, + "start": 2298, + "end": 2299, "loc": { "start": { - "line": 73, - "column": 43 + "line": 82, + "column": 47 }, "end": { - "line": 73, - "column": 44 + "line": 82, + "column": 48 } } }, { "type": "CommentLine", - "value": " Set icon delay", - "start": 1936, - "end": 1953, + "value": " pFrame is an array holding the datalURL and frameDelay of the frame", + "start": 2321, + "end": 2391, "loc": { "start": { - "line": 74, - "column": 8 + "line": 83, + "column": 20 }, "end": { - "line": 74, - "column": 25 + "line": 83, + "column": 90 } } }, @@ -27638,16 +29356,16 @@ "updateContext": null }, "value": "this", - "start": 1963, - "end": 1967, + "start": 2413, + "end": 2417, "loc": { "start": { - "line": 75, - "column": 8 + "line": 84, + "column": 20 }, "end": { - "line": 75, - "column": 12 + "line": 84, + "column": 24 } } }, @@ -27664,16 +29382,16 @@ "binop": null, "updateContext": null }, - "start": 1967, - "end": 1968, + "start": 2417, + "end": 2418, "loc": { "start": { - "line": 75, - "column": 12 + "line": 84, + "column": 24 }, "end": { - "line": 75, - "column": 13 + "line": 84, + "column": 25 } } }, @@ -27689,17 +29407,17 @@ "postfix": false, "binop": null }, - "value": "setDelay", - "start": 1968, - "end": 1976, + "value": "addFrame", + "start": 2418, + "end": 2426, "loc": { "start": { - "line": 75, - "column": 13 + "line": 84, + "column": 25 }, "end": { - "line": 75, - "column": 21 + "line": 84, + "column": 33 } } }, @@ -27715,16 +29433,16 @@ "postfix": false, "binop": null }, - "start": 1976, - "end": 1977, + "start": 2426, + "end": 2427, "loc": { "start": { - "line": 75, - "column": 21 + "line": 84, + "column": 33 }, "end": { - "line": 75, - "column": 22 + "line": 84, + "column": 34 } } }, @@ -27740,17 +29458,17 @@ "postfix": false, "binop": null }, - "value": "iconDelay", - "start": 1977, - "end": 1986, + "value": "pFrame", + "start": 2427, + "end": 2433, "loc": { "start": { - "line": 75, - "column": 22 + "line": 84, + "column": 34 }, "end": { - "line": 75, - "column": 31 + "line": 84, + "column": 40 } } }, @@ -27766,16 +29484,16 @@ "postfix": false, "binop": null }, - "start": 1986, - "end": 1987, + "start": 2433, + "end": 2434, "loc": { "start": { - "line": 75, - "column": 31 + "line": 84, + "column": 40 }, "end": { - "line": 75, - "column": 32 + "line": 84, + "column": 41 } } }, @@ -27792,66 +29510,22 @@ "binop": null, "updateContext": null }, - "start": 1987, - "end": 1988, - "loc": { - "start": { - "line": 75, - "column": 32 - }, - "end": { - "line": 75, - "column": 33 - } - } - }, - { - "type": "CommentLine", - "value": " Set dataURL", - "start": 1998, - "end": 2012, - "loc": { - "start": { - "line": 76, - "column": 8 - }, - "end": { - "line": 76, - "column": 22 - } - } - }, - { - "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": 2022, - "end": 2026, + "start": 2434, + "end": 2435, "loc": { "start": { - "line": 77, - "column": 8 + "line": 84, + "column": 41 }, "end": { - "line": 77, - "column": 12 + "line": 84, + "column": 42 } } }, { "type": { - "label": ".", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -27859,53 +29533,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2026, - "end": 2027, - "loc": { - "start": { - "line": 77, - "column": 12 - }, - "end": { - "line": 77, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, "binop": null }, - "value": "setDataURL", - "start": 2027, - "end": 2037, + "start": 2453, + "end": 2454, "loc": { "start": { - "line": 77, - "column": 13 + "line": 85, + "column": 16 }, "end": { - "line": 77, - "column": 23 + "line": 85, + "column": 17 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -27913,48 +29560,48 @@ "postfix": false, "binop": null }, - "start": 2037, - "end": 2038, + "start": 2454, + "end": 2455, "loc": { "start": { - "line": 77, - "column": 23 + "line": 85, + "column": 17 }, "end": { - "line": 77, - "column": 24 + "line": 85, + "column": 18 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "iconDataURL", - "start": 2038, - "end": 2049, + "start": 2455, + "end": 2456, "loc": { "start": { - "line": 77, - "column": 24 + "line": 85, + "column": 18 }, "end": { - "line": 77, - "column": 35 + "line": 85, + "column": 19 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -27964,58 +29611,57 @@ "postfix": false, "binop": null }, - "start": 2049, - "end": 2050, + "start": 2470, + "end": 2471, "loc": { "start": { - "line": 77, - "column": 35 + "line": 86, + "column": 12 }, "end": { - "line": 77, - "column": 36 + "line": 86, + "column": 13 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2050, - "end": 2051, + "start": 2481, + "end": 2482, "loc": { "start": { - "line": 77, - "column": 36 + "line": 87, + "column": 8 }, "end": { - "line": 77, - "column": 37 + "line": 87, + "column": 9 } } }, { "type": "CommentLine", - "value": " Check if the frame data is an array", - "start": 2061, - "end": 2099, + "value": " Check if the states data is an array", + "start": 2492, + "end": 2531, "loc": { "start": { - "line": 78, + "line": 88, "column": 8 }, "end": { - "line": 78, - "column": 46 + "line": 88, + "column": 47 } } }, @@ -28034,15 +29680,15 @@ "updateContext": null }, "value": "if", - "start": 2109, - "end": 2111, + "start": 2541, + "end": 2543, "loc": { "start": { - "line": 79, + "line": 89, "column": 8 }, "end": { - "line": 79, + "line": 89, "column": 10 } } @@ -28059,15 +29705,15 @@ "postfix": false, "binop": null }, - "start": 2112, - "end": 2113, + "start": 2544, + "end": 2545, "loc": { "start": { - "line": 79, + "line": 89, "column": 11 }, "end": { - "line": 79, + "line": 89, "column": 12 } } @@ -28085,15 +29731,15 @@ "binop": null }, "value": "Array", - "start": 2113, - "end": 2118, + "start": 2545, + "end": 2550, "loc": { "start": { - "line": 79, + "line": 89, "column": 12 }, "end": { - "line": 79, + "line": 89, "column": 17 } } @@ -28111,15 +29757,15 @@ "binop": null, "updateContext": null }, - "start": 2118, - "end": 2119, + "start": 2550, + "end": 2551, "loc": { "start": { - "line": 79, + "line": 89, "column": 17 }, "end": { - "line": 79, + "line": 89, "column": 18 } } @@ -28137,15 +29783,15 @@ "binop": null }, "value": "isArray", - "start": 2119, - "end": 2126, + "start": 2551, + "end": 2558, "loc": { "start": { - "line": 79, + "line": 89, "column": 18 }, "end": { - "line": 79, + "line": 89, "column": 25 } } @@ -28162,15 +29808,15 @@ "postfix": false, "binop": null }, - "start": 2126, - "end": 2127, + "start": 2558, + "end": 2559, "loc": { "start": { - "line": 79, + "line": 89, "column": 25 }, "end": { - "line": 79, + "line": 89, "column": 26 } } @@ -28187,16 +29833,16 @@ "postfix": false, "binop": null }, - "value": "frameArray", - "start": 2127, - "end": 2137, + "value": "stateArray", + "start": 2559, + "end": 2569, "loc": { "start": { - "line": 79, + "line": 89, "column": 26 }, "end": { - "line": 79, + "line": 89, "column": 36 } } @@ -28213,15 +29859,15 @@ "postfix": false, "binop": null }, - "start": 2137, - "end": 2138, + "start": 2569, + "end": 2570, "loc": { "start": { - "line": 79, + "line": 89, "column": 36 }, "end": { - "line": 79, + "line": 89, "column": 37 } } @@ -28238,15 +29884,15 @@ "postfix": false, "binop": null }, - "start": 2138, - "end": 2139, + "start": 2570, + "end": 2571, "loc": { "start": { - "line": 79, + "line": 89, "column": 37 }, "end": { - "line": 79, + "line": 89, "column": 38 } } @@ -28263,31 +29909,31 @@ "postfix": false, "binop": null }, - "start": 2140, - "end": 2141, + "start": 2572, + "end": 2573, "loc": { "start": { - "line": 79, + "line": 89, "column": 39 }, "end": { - "line": 79, + "line": 89, "column": 40 } } }, { "type": "CommentLine", - "value": " If the frame array has data then we need to store it.", - "start": 2155, - "end": 2211, + "value": " If the state array has data then we need to store it.", + "start": 2587, + "end": 2643, "loc": { "start": { - "line": 80, + "line": 90, "column": 12 }, "end": { - "line": 80, + "line": 90, "column": 68 } } @@ -28307,15 +29953,15 @@ "updateContext": null }, "value": "if", - "start": 2225, - "end": 2227, + "start": 2657, + "end": 2659, "loc": { "start": { - "line": 81, + "line": 91, "column": 12 }, "end": { - "line": 81, + "line": 91, "column": 14 } } @@ -28332,15 +29978,15 @@ "postfix": false, "binop": null }, - "start": 2228, - "end": 2229, + "start": 2660, + "end": 2661, "loc": { "start": { - "line": 81, + "line": 91, "column": 15 }, "end": { - "line": 81, + "line": 91, "column": 16 } } @@ -28357,16 +30003,16 @@ "postfix": false, "binop": null }, - "value": "frameArray", - "start": 2229, - "end": 2239, + "value": "stateArray", + "start": 2661, + "end": 2671, "loc": { "start": { - "line": 81, + "line": 91, "column": 16 }, "end": { - "line": 81, + "line": 91, "column": 26 } } @@ -28384,15 +30030,15 @@ "binop": null, "updateContext": null }, - "start": 2239, - "end": 2240, + "start": 2671, + "end": 2672, "loc": { "start": { - "line": 81, + "line": 91, "column": 26 }, "end": { - "line": 81, + "line": 91, "column": 27 } } @@ -28410,15 +30056,15 @@ "binop": null }, "value": "length", - "start": 2240, - "end": 2246, + "start": 2672, + "end": 2678, "loc": { "start": { - "line": 81, + "line": 91, "column": 27 }, "end": { - "line": 81, + "line": 91, "column": 33 } } @@ -28435,15 +30081,15 @@ "postfix": false, "binop": null }, - "start": 2246, - "end": 2247, + "start": 2678, + "end": 2679, "loc": { "start": { - "line": 81, + "line": 91, "column": 33 }, "end": { - "line": 81, + "line": 91, "column": 34 } } @@ -28460,15 +30106,15 @@ "postfix": false, "binop": null }, - "start": 2248, - "end": 2249, + "start": 2680, + "end": 2681, "loc": { "start": { - "line": 81, + "line": 91, "column": 35 }, "end": { - "line": 81, + "line": 91, "column": 36 } } @@ -28485,16 +30131,16 @@ "postfix": false, "binop": null }, - "value": "frameArray", - "start": 2267, - "end": 2277, + "value": "stateArray", + "start": 2699, + "end": 2709, "loc": { "start": { - "line": 82, + "line": 92, "column": 16 }, "end": { - "line": 82, + "line": 92, "column": 26 } } @@ -28512,15 +30158,15 @@ "binop": null, "updateContext": null }, - "start": 2277, - "end": 2278, + "start": 2709, + "end": 2710, "loc": { "start": { - "line": 82, + "line": 92, "column": 26 }, "end": { - "line": 82, + "line": 92, "column": 27 } } @@ -28538,15 +30184,15 @@ "binop": null }, "value": "forEach", - "start": 2278, - "end": 2285, + "start": 2710, + "end": 2717, "loc": { "start": { - "line": 82, + "line": 92, "column": 27 }, "end": { - "line": 82, + "line": 92, "column": 34 } } @@ -28563,15 +30209,15 @@ "postfix": false, "binop": null }, - "start": 2285, - "end": 2286, + "start": 2717, + "end": 2718, "loc": { "start": { - "line": 82, + "line": 92, "column": 34 }, "end": { - "line": 82, + "line": 92, "column": 35 } } @@ -28588,15 +30234,15 @@ "postfix": false, "binop": null }, - "start": 2286, - "end": 2287, + "start": 2718, + "end": 2719, "loc": { "start": { - "line": 82, + "line": 92, "column": 35 }, "end": { - "line": 82, + "line": 92, "column": 36 } } @@ -28613,16 +30259,16 @@ "postfix": false, "binop": null }, - "value": "pFrame", - "start": 2287, - "end": 2293, + "value": "pState", + "start": 2719, + "end": 2725, "loc": { "start": { - "line": 82, + "line": 92, "column": 36 }, "end": { - "line": 82, + "line": 92, "column": 42 } } @@ -28639,15 +30285,15 @@ "postfix": false, "binop": null }, - "start": 2293, - "end": 2294, + "start": 2725, + "end": 2726, "loc": { "start": { - "line": 82, + "line": 92, "column": 42 }, "end": { - "line": 82, + "line": 92, "column": 43 } } @@ -28665,15 +30311,15 @@ "binop": null, "updateContext": null }, - "start": 2295, - "end": 2297, + "start": 2727, + "end": 2729, "loc": { "start": { - "line": 82, + "line": 92, "column": 44 }, "end": { - "line": 82, + "line": 92, "column": 46 } } @@ -28690,66 +30336,55 @@ "postfix": false, "binop": null }, - "start": 2298, - "end": 2299, + "start": 2730, + "end": 2731, "loc": { "start": { - "line": 82, + "line": 92, "column": 47 }, "end": { - "line": 82, + "line": 92, "column": 48 } } }, { "type": "CommentLine", - "value": " pFrame is an array holding the datalURL and frameDelay of the frame", - "start": 2321, - "end": 2391, + "value": " Here we create a icon with aggregated data because the state data is not enough to make it an icon.", + "start": 2753, + "end": 2855, "loc": { "start": { - "line": 83, + "line": 93, "column": 20 }, "end": { - "line": 83, - "column": 90 + "line": 93, + "column": 122 } } }, { - "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": 2413, - "end": 2417, + "type": "CommentLine", + "value": " 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.", + "start": 2877, + "end": 3042, "loc": { "start": { - "line": 84, + "line": 94, "column": 20 }, "end": { - "line": 84, - "column": 24 + "line": 94, + "column": 185 } } }, { "type": { - "label": ".", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -28760,67 +30395,17 @@ "binop": null, "updateContext": null }, - "start": 2417, - "end": 2418, + "value": "const", + "start": 3064, + "end": 3069, "loc": { "start": { - "line": 84, - "column": 24 + "line": 95, + "column": 20 }, "end": { - "line": 84, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "addFrame", - "start": 2418, - "end": 2426, - "loc": { - "start": { - "line": 84, + "line": 95, "column": 25 - }, - "end": { - "line": 84, - "column": 33 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2426, - "end": 2427, - "loc": { - "start": { - "line": 84, - "column": 33 - }, - "end": { - "line": 84, - "column": 34 } } }, @@ -28836,126 +30421,52 @@ "postfix": false, "binop": null }, - "value": "pFrame", - "start": 2427, - "end": 2433, - "loc": { - "start": { - "line": 84, - "column": 34 - }, - "end": { - "line": 84, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2433, - "end": 2434, + "value": "aggregatedIconData", + "start": 3070, + "end": 3088, "loc": { "start": { - "line": 84, - "column": 40 + "line": 95, + "column": 26 }, "end": { - "line": 84, - "column": 41 + "line": 95, + "column": 44 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 2434, - "end": 2435, - "loc": { - "start": { - "line": 84, - "column": 41 - }, - "end": { - "line": 84, - "column": 42 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2453, - "end": 2454, - "loc": { - "start": { - "line": 85, - "column": 16 - }, - "end": { - "line": 85, - "column": 17 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2454, - "end": 2455, + "value": "=", + "start": 3089, + "end": 3090, "loc": { "start": { - "line": 85, - "column": 17 + "line": 95, + "column": 45 }, "end": { - "line": 85, - "column": 18 + "line": 95, + "column": 46 } } }, { "type": { - "label": ";", + "label": "[", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -28964,22 +30475,22 @@ "binop": null, "updateContext": null }, - "start": 2455, - "end": 2456, + "start": 3091, + "end": 3092, "loc": { "start": { - "line": 85, - "column": 18 + "line": 95, + "column": 47 }, "end": { - "line": 85, - "column": 19 + "line": 95, + "column": 48 } } }, { "type": { - "label": "}", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -28987,93 +30498,93 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2470, - "end": 2471, + "start": 3092, + "end": 3093, "loc": { "start": { - "line": 86, - "column": 12 + "line": 95, + "column": 48 }, "end": { - "line": 86, - "column": 13 + "line": 95, + "column": 49 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2481, - "end": 2482, + "start": 3093, + "end": 3094, "loc": { "start": { - "line": 87, - "column": 8 + "line": 95, + "column": 49 }, "end": { - "line": 87, - "column": 9 + "line": 95, + "column": 50 } } }, { "type": "CommentLine", - "value": " Check if the states data is an array", - "start": 2492, - "end": 2531, + "value": " iconName", + "start": 3116, + "end": 3127, "loc": { "start": { - "line": 88, - "column": 8 + "line": 96, + "column": 20 }, "end": { - "line": 88, - "column": 47 + "line": 96, + "column": 31 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 2541, - "end": 2543, + "value": "aggregatedIconData", + "start": 3149, + "end": 3167, "loc": { "start": { - "line": 89, - "column": 8 + "line": 97, + "column": 20 }, "end": { - "line": 89, - "column": 10 + "line": 97, + "column": 38 } } }, { "type": { - "label": "(", + "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -29081,24 +30592,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2544, - "end": 2545, + "start": 3167, + "end": 3168, "loc": { "start": { - "line": 89, - "column": 11 + "line": 97, + "column": 38 }, "end": { - "line": 89, - "column": 12 + "line": 97, + "column": 39 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -29106,25 +30618,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "Array", - "start": 2545, - "end": 2550, + "value": 0, + "start": 3168, + "end": 3169, "loc": { "start": { - "line": 89, - "column": 12 + "line": 97, + "column": 39 }, "end": { - "line": 89, - "column": 17 + "line": 97, + "column": 40 } } }, { "type": { - "label": ".", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -29135,49 +30648,50 @@ "binop": null, "updateContext": null }, - "start": 2550, - "end": 2551, + "start": 3169, + "end": 3170, "loc": { "start": { - "line": 89, - "column": 17 + "line": 97, + "column": 40 }, "end": { - "line": 89, - "column": 18 + "line": 97, + "column": 41 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "isArray", - "start": 2551, - "end": 2558, + "value": "=", + "start": 3171, + "end": 3172, "loc": { "start": { - "line": 89, - "column": 18 + "line": 97, + "column": 42 }, "end": { - "line": 89, - "column": 25 + "line": 97, + "column": 43 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -29186,73 +30700,76 @@ "postfix": false, "binop": null }, - "start": 2558, - "end": 2559, + "value": "pState", + "start": 3173, + "end": 3179, "loc": { "start": { - "line": 89, - "column": 25 + "line": 97, + "column": 44 }, "end": { - "line": 89, - "column": 26 + "line": 97, + "column": 50 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "[", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "stateArray", - "start": 2559, - "end": 2569, + "start": 3179, + "end": 3180, "loc": { "start": { - "line": 89, - "column": 26 + "line": 97, + "column": 50 }, "end": { - "line": 89, - "column": 36 + "line": 97, + "column": 51 } } }, { "type": { - "label": ")", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2569, - "end": 2570, + "value": 0, + "start": 3180, + "end": 3181, "loc": { "start": { - "line": 89, - "column": 36 + "line": 97, + "column": 51 }, "end": { - "line": 89, - "column": 37 + "line": 97, + "column": 52 } } }, { "type": { - "label": ")", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -29260,93 +30777,93 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2570, - "end": 2571, + "start": 3181, + "end": 3182, "loc": { "start": { - "line": 89, - "column": 37 + "line": 97, + "column": 52 }, "end": { - "line": 89, - "column": 38 + "line": 97, + "column": 53 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2572, - "end": 2573, + "start": 3182, + "end": 3183, "loc": { "start": { - "line": 89, - "column": 39 + "line": 97, + "column": 53 }, "end": { - "line": 89, - "column": 40 + "line": 97, + "column": 54 } } }, { "type": "CommentLine", - "value": " If the state array has data then we need to store it.", - "start": 2587, - "end": 2643, + "value": " iconWidth", + "start": 3205, + "end": 3217, "loc": { "start": { - "line": 90, - "column": 12 + "line": 98, + "column": 20 }, "end": { - "line": 90, - "column": 68 + "line": 98, + "column": 32 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 2657, - "end": 2659, + "value": "aggregatedIconData", + "start": 3239, + "end": 3257, "loc": { "start": { - "line": 91, - "column": 12 + "line": 99, + "column": 20 }, "end": { - "line": 91, - "column": 14 + "line": 99, + "column": 38 } } }, { "type": { - "label": "(", + "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -29354,24 +30871,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2660, - "end": 2661, + "start": 3257, + "end": 3258, "loc": { "start": { - "line": 91, - "column": 15 + "line": 99, + "column": 38 }, "end": { - "line": 91, - "column": 16 + "line": 99, + "column": 39 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -29379,25 +30897,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "stateArray", - "start": 2661, - "end": 2671, + "value": 1, + "start": 3258, + "end": 3259, "loc": { "start": { - "line": 91, - "column": 16 + "line": 99, + "column": 39 }, "end": { - "line": 91, - "column": 26 + "line": 99, + "column": 40 } } }, { "type": { - "label": ".", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -29408,16 +30927,43 @@ "binop": null, "updateContext": null }, - "start": 2671, - "end": 2672, + "start": 3259, + "end": 3260, "loc": { "start": { - "line": 91, - "column": 26 + "line": 99, + "column": 40 }, "end": { - "line": 91, - "column": 27 + "line": 99, + "column": 41 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3261, + "end": 3262, + "loc": { + "start": { + "line": 99, + "column": 42 + }, + "end": { + "line": 99, + "column": 43 } } }, @@ -29433,49 +30979,66 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 2672, - "end": 2678, + "value": "iconWidth", + "start": 3263, + "end": 3272, "loc": { "start": { - "line": 91, - "column": 27 + "line": 99, + "column": 44 }, "end": { - "line": 91, - "column": 33 + "line": 99, + "column": 53 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2678, - "end": 2679, + "start": 3272, + "end": 3273, "loc": { "start": { - "line": 91, - "column": 33 + "line": 99, + "column": 53 }, "end": { - "line": 91, - "column": 34 + "line": 99, + "column": 54 + } + } + }, + { + "type": "CommentLine", + "value": " iconHeight", + "start": 3295, + "end": 3308, + "loc": { + "start": { + "line": 100, + "column": 20 + }, + "end": { + "line": 100, + "column": 33 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -29484,50 +31047,51 @@ "postfix": false, "binop": null }, - "start": 2680, - "end": 2681, + "value": "aggregatedIconData", + "start": 3330, + "end": 3348, "loc": { "start": { - "line": 91, - "column": 35 + "line": 101, + "column": 20 }, "end": { - "line": 91, - "column": 36 + "line": 101, + "column": 38 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "[", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "stateArray", - "start": 2699, - "end": 2709, + "start": 3348, + "end": 3349, "loc": { "start": { - "line": 92, - "column": 16 + "line": 101, + "column": 38 }, "end": { - "line": 92, - "column": 26 + "line": 101, + "column": 39 } } }, { "type": { - "label": ".", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -29536,74 +31100,77 @@ "binop": null, "updateContext": null }, - "start": 2709, - "end": 2710, + "value": 2, + "start": 3349, + "end": 3350, "loc": { "start": { - "line": 92, - "column": 26 + "line": 101, + "column": 39 }, "end": { - "line": 92, - "column": 27 + "line": 101, + "column": 40 } } }, { "type": { - "label": "name", + "label": "]", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "forEach", - "start": 2710, - "end": 2717, + "start": 3350, + "end": 3351, "loc": { "start": { - "line": 92, - "column": 27 + "line": 101, + "column": 40 }, "end": { - "line": 92, - "column": 34 + "line": 101, + "column": 41 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2717, - "end": 2718, + "value": "=", + "start": 3352, + "end": 3353, "loc": { "start": { - "line": 92, - "column": 34 + "line": 101, + "column": 42 }, "end": { - "line": 92, - "column": 35 + "line": 101, + "column": 43 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -29612,50 +31179,67 @@ "postfix": false, "binop": null }, - "start": 2718, - "end": 2719, + "value": "iconHeight", + "start": 3354, + "end": 3364, "loc": { "start": { - "line": 92, - "column": 35 + "line": 101, + "column": 44 }, "end": { - "line": 92, - "column": 36 + "line": 101, + "column": 54 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "pState", - "start": 2719, - "end": 2725, + "start": 3364, + "end": 3365, "loc": { "start": { - "line": 92, - "column": 36 + "line": 101, + "column": 54 }, "end": { - "line": 92, - "column": 42 + "line": 101, + "column": 55 + } + } + }, + { + "type": "CommentLine", + "value": " frame delay", + "start": 3387, + "end": 3401, + "loc": { + "start": { + "line": 102, + "column": 20 + }, + "end": { + "line": 102, + "column": 34 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -29663,24 +31247,25 @@ "postfix": false, "binop": null }, - "start": 2725, - "end": 2726, + "value": "aggregatedIconData", + "start": 3423, + "end": 3441, "loc": { "start": { - "line": 92, - "column": 42 + "line": 103, + "column": 20 }, "end": { - "line": 92, - "column": 43 + "line": 103, + "column": 38 } } }, { "type": { - "label": "=>", + "label": "[", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -29689,101 +31274,96 @@ "binop": null, "updateContext": null }, - "start": 2727, - "end": 2729, + "start": 3441, + "end": 3442, "loc": { "start": { - "line": 92, - "column": 44 + "line": 103, + "column": 38 }, "end": { - "line": 92, - "column": 46 + "line": 103, + "column": 39 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "num", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2730, - "end": 2731, - "loc": { - "start": { - "line": 92, - "column": 47 - }, - "end": { - "line": 92, - "column": 48 - } - } - }, - { - "type": "CommentLine", - "value": " Here we create a icon with aggregated data because the state data is not enough to make it an icon.", - "start": 2753, - "end": 2855, + "value": 3, + "start": 3442, + "end": 3443, "loc": { "start": { - "line": 93, - "column": 20 + "line": 103, + "column": 39 }, "end": { - "line": 93, - "column": 122 + "line": 103, + "column": 40 } } }, { - "type": "CommentLine", - "value": " 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.", - "start": 2877, - "end": 3042, + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3443, + "end": 3444, "loc": { "start": { - "line": 94, - "column": 20 + "line": 103, + "column": 40 }, "end": { - "line": 94, - "column": 185 + "line": 103, + "column": 41 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "const", - "start": 3064, - "end": 3069, + "value": "=", + "start": 3445, + "end": 3446, "loc": { "start": { - "line": 95, - "column": 20 + "line": 103, + "column": 42 }, "end": { - "line": 95, - "column": 25 + "line": 103, + "column": 43 } } }, @@ -29799,51 +31379,50 @@ "postfix": false, "binop": null }, - "value": "aggregatedIconData", - "start": 3070, - "end": 3088, + "value": "pState", + "start": 3447, + "end": 3453, "loc": { "start": { - "line": 95, - "column": 26 + "line": 103, + "column": 44 }, "end": { - "line": 95, - "column": 44 + "line": 103, + "column": 50 } } }, { "type": { - "label": "=", + "label": "[", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 3089, - "end": 3090, + "start": 3453, + "end": 3454, "loc": { "start": { - "line": 95, - "column": 45 + "line": 103, + "column": 50 }, "end": { - "line": 95, - "column": 46 + "line": 103, + "column": 51 } } }, { "type": { - "label": "[", - "beforeExpr": true, + "label": "num", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -29853,16 +31432,17 @@ "binop": null, "updateContext": null }, - "start": 3091, - "end": 3092, + "value": 2, + "start": 3454, + "end": 3455, "loc": { "start": { - "line": 95, - "column": 47 + "line": 103, + "column": 51 }, "end": { - "line": 95, - "column": 48 + "line": 103, + "column": 52 } } }, @@ -29879,16 +31459,16 @@ "binop": null, "updateContext": null }, - "start": 3092, - "end": 3093, + "start": 3455, + "end": 3456, "loc": { "start": { - "line": 95, - "column": 48 + "line": 103, + "column": 52 }, "end": { - "line": 95, - "column": 49 + "line": 103, + "column": 53 } } }, @@ -29905,32 +31485,32 @@ "binop": null, "updateContext": null }, - "start": 3093, - "end": 3094, + "start": 3456, + "end": 3457, "loc": { "start": { - "line": 95, - "column": 49 + "line": 103, + "column": 53 }, "end": { - "line": 95, - "column": 50 + "line": 103, + "column": 54 } } }, { "type": "CommentLine", - "value": " iconName", - "start": 3116, - "end": 3127, + "value": " iconDataURL", + "start": 3479, + "end": 3493, "loc": { "start": { - "line": 96, + "line": 104, "column": 20 }, "end": { - "line": 96, - "column": 31 + "line": 104, + "column": 34 } } }, @@ -29947,15 +31527,15 @@ "binop": null }, "value": "aggregatedIconData", - "start": 3149, - "end": 3167, + "start": 3515, + "end": 3533, "loc": { "start": { - "line": 97, + "line": 105, "column": 20 }, "end": { - "line": 97, + "line": 105, "column": 38 } } @@ -29973,15 +31553,15 @@ "binop": null, "updateContext": null }, - "start": 3167, - "end": 3168, + "start": 3533, + "end": 3534, "loc": { "start": { - "line": 97, + "line": 105, "column": 38 }, "end": { - "line": 97, + "line": 105, "column": 39 } } @@ -29999,16 +31579,16 @@ "binop": null, "updateContext": null }, - "value": 0, - "start": 3168, - "end": 3169, + "value": 4, + "start": 3534, + "end": 3535, "loc": { "start": { - "line": 97, + "line": 105, "column": 39 }, "end": { - "line": 97, + "line": 105, "column": 40 } } @@ -30026,15 +31606,15 @@ "binop": null, "updateContext": null }, - "start": 3169, - "end": 3170, + "start": 3535, + "end": 3536, "loc": { "start": { - "line": 97, + "line": 105, "column": 40 }, "end": { - "line": 97, + "line": 105, "column": 41 } } @@ -30053,15 +31633,15 @@ "updateContext": null }, "value": "=", - "start": 3171, - "end": 3172, + "start": 3537, + "end": 3538, "loc": { "start": { - "line": 97, + "line": 105, "column": 42 }, "end": { - "line": 97, + "line": 105, "column": 43 } } @@ -30079,15 +31659,15 @@ "binop": null }, "value": "pState", - "start": 3173, - "end": 3179, + "start": 3539, + "end": 3545, "loc": { "start": { - "line": 97, + "line": 105, "column": 44 }, "end": { - "line": 97, + "line": 105, "column": 50 } } @@ -30105,15 +31685,15 @@ "binop": null, "updateContext": null }, - "start": 3179, - "end": 3180, + "start": 3545, + "end": 3546, "loc": { "start": { - "line": 97, + "line": 105, "column": 50 }, "end": { - "line": 97, + "line": 105, "column": 51 } } @@ -30131,16 +31711,16 @@ "binop": null, "updateContext": null }, - "value": 0, - "start": 3180, - "end": 3181, + "value": 1, + "start": 3546, + "end": 3547, "loc": { "start": { - "line": 97, + "line": 105, "column": 51 }, "end": { - "line": 97, + "line": 105, "column": 52 } } @@ -30158,15 +31738,15 @@ "binop": null, "updateContext": null }, - "start": 3181, - "end": 3182, + "start": 3547, + "end": 3548, "loc": { "start": { - "line": 97, + "line": 105, "column": 52 }, "end": { - "line": 97, + "line": 105, "column": 53 } } @@ -30184,32 +31764,32 @@ "binop": null, "updateContext": null }, - "start": 3182, - "end": 3183, + "start": 3548, + "end": 3549, "loc": { "start": { - "line": 97, + "line": 105, "column": 53 }, "end": { - "line": 97, + "line": 105, "column": 54 } } }, { "type": "CommentLine", - "value": " iconWidth", - "start": 3205, - "end": 3217, + "value": " frame array", + "start": 3571, + "end": 3585, "loc": { "start": { - "line": 98, + "line": 106, "column": 20 }, "end": { - "line": 98, - "column": 32 + "line": 106, + "column": 34 } } }, @@ -30226,15 +31806,15 @@ "binop": null }, "value": "aggregatedIconData", - "start": 3239, - "end": 3257, + "start": 3607, + "end": 3625, "loc": { "start": { - "line": 99, + "line": 107, "column": 20 }, "end": { - "line": 99, + "line": 107, "column": 38 } } @@ -30252,15 +31832,15 @@ "binop": null, "updateContext": null }, - "start": 3257, - "end": 3258, + "start": 3625, + "end": 3626, "loc": { "start": { - "line": 99, + "line": 107, "column": 38 }, "end": { - "line": 99, + "line": 107, "column": 39 } } @@ -30278,16 +31858,16 @@ "binop": null, "updateContext": null }, - "value": 1, - "start": 3258, - "end": 3259, + "value": 5, + "start": 3626, + "end": 3627, "loc": { "start": { - "line": 99, + "line": 107, "column": 39 }, "end": { - "line": 99, + "line": 107, "column": 40 } } @@ -30305,15 +31885,15 @@ "binop": null, "updateContext": null }, - "start": 3259, - "end": 3260, + "start": 3627, + "end": 3628, "loc": { "start": { - "line": 99, + "line": 107, "column": 40 }, "end": { - "line": 99, + "line": 107, "column": 41 } } @@ -30332,15 +31912,15 @@ "updateContext": null }, "value": "=", - "start": 3261, - "end": 3262, + "start": 3629, + "end": 3630, "loc": { "start": { - "line": 99, + "line": 107, "column": 42 }, "end": { - "line": 99, + "line": 107, "column": 43 } } @@ -30357,25 +31937,25 @@ "postfix": false, "binop": null }, - "value": "iconWidth", - "start": 3263, - "end": 3272, + "value": "pState", + "start": 3631, + "end": 3637, "loc": { "start": { - "line": 99, + "line": 107, "column": 44 }, "end": { - "line": 99, - "column": 53 + "line": 107, + "column": 50 } } }, { "type": { - "label": ";", + "label": "[", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -30384,38 +31964,22 @@ "binop": null, "updateContext": null }, - "start": 3272, - "end": 3273, - "loc": { - "start": { - "line": 99, - "column": 53 - }, - "end": { - "line": 99, - "column": 54 - } - } - }, - { - "type": "CommentLine", - "value": " iconHeight", - "start": 3295, - "end": 3308, + "start": 3637, + "end": 3638, "loc": { "start": { - "line": 100, - "column": 20 + "line": 107, + "column": 50 }, "end": { - "line": 100, - "column": 33 + "line": 107, + "column": 51 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -30423,27 +31987,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "aggregatedIconData", - "start": 3330, - "end": 3348, + "value": 3, + "start": 3638, + "end": 3639, "loc": { "start": { - "line": 101, - "column": 20 + "line": 107, + "column": 51 }, "end": { - "line": 101, - "column": 38 + "line": 107, + "column": 52 } } }, { "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, + "label": "]", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -30452,24 +32017,24 @@ "binop": null, "updateContext": null }, - "start": 3348, - "end": 3349, + "start": 3639, + "end": 3640, "loc": { "start": { - "line": 101, - "column": 38 + "line": 107, + "column": 52 }, "end": { - "line": 101, - "column": 39 + "line": 107, + "column": 53 } } }, { "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -30478,25 +32043,25 @@ "binop": null, "updateContext": null }, - "value": 2, - "start": 3349, - "end": 3350, + "start": 3640, + "end": 3641, "loc": { "start": { - "line": 101, - "column": 39 + "line": 107, + "column": 53 }, "end": { - "line": 101, - "column": 40 + "line": 107, + "column": 54 } } }, { "type": { - "label": "]", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -30505,43 +32070,43 @@ "binop": null, "updateContext": null }, - "start": 3350, - "end": 3351, + "value": "this", + "start": 3663, + "end": 3667, "loc": { "start": { - "line": 101, - "column": 40 + "line": 108, + "column": 20 }, - "end": { - "line": 101, - "column": 41 + "end": { + "line": 108, + "column": 24 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 3352, - "end": 3353, + "start": 3667, + "end": 3668, "loc": { "start": { - "line": 101, - "column": 42 + "line": 108, + "column": 24 }, "end": { - "line": 101, - "column": 43 + "line": 108, + "column": 25 } } }, @@ -30557,67 +32122,76 @@ "postfix": false, "binop": null }, - "value": "iconHeight", - "start": 3354, - "end": 3364, + "value": "addState", + "start": 3668, + "end": 3676, "loc": { "start": { - "line": 101, - "column": 44 + "line": 108, + "column": 25 }, "end": { - "line": 101, - "column": 54 + "line": 108, + "column": 33 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3364, - "end": 3365, + "start": 3676, + "end": 3677, "loc": { "start": { - "line": 101, - "column": 54 + "line": 108, + "column": 33 }, "end": { - "line": 101, - "column": 55 + "line": 108, + "column": 34 } } }, { - "type": "CommentLine", - "value": " frame delay", - "start": 3387, - "end": 3401, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "aggregatedIconData", + "start": 3677, + "end": 3695, "loc": { "start": { - "line": 102, - "column": 20 + "line": 108, + "column": 34 }, "end": { - "line": 102, - "column": 34 + "line": 108, + "column": 52 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -30625,25 +32199,24 @@ "postfix": false, "binop": null }, - "value": "aggregatedIconData", - "start": 3423, - "end": 3441, + "start": 3695, + "end": 3696, "loc": { "start": { - "line": 103, - "column": 20 + "line": 108, + "column": 52 }, "end": { - "line": 103, - "column": 38 + "line": 108, + "column": 53 } } }, { "type": { - "label": "[", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -30652,49 +32225,47 @@ "binop": null, "updateContext": null }, - "start": 3441, - "end": 3442, + "start": 3696, + "end": 3697, "loc": { "start": { - "line": 103, - "column": 38 + "line": 108, + "column": 53 }, "end": { - "line": 103, - "column": 39 + "line": 108, + "column": 54 } } }, { "type": { - "label": "num", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 3, - "start": 3442, - "end": 3443, + "start": 3715, + "end": 3716, "loc": { "start": { - "line": 103, - "column": 39 + "line": 109, + "column": 16 }, "end": { - "line": 103, - "column": 40 + "line": 109, + "column": 17 } } }, { "type": { - "label": "]", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -30702,54 +32273,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3443, - "end": 3444, + "start": 3716, + "end": 3717, "loc": { "start": { - "line": 103, - "column": 40 + "line": 109, + "column": 17 }, "end": { - "line": 103, - "column": 41 + "line": 109, + "column": 18 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 3445, - "end": 3446, + "start": 3717, + "end": 3718, "loc": { "start": { - "line": 103, - "column": 42 + "line": 109, + "column": 18 }, "end": { - "line": 103, - "column": 43 + "line": 109, + "column": 19 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -30757,138 +32326,133 @@ "postfix": false, "binop": null }, - "value": "pState", - "start": 3447, - "end": 3453, + "start": 3732, + "end": 3733, "loc": { "start": { - "line": 103, - "column": 44 + "line": 110, + "column": 12 }, "end": { - "line": 103, - "column": 50 + "line": 110, + "column": 13 } } }, { "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3453, - "end": 3454, + "start": 3743, + "end": 3744, "loc": { "start": { - "line": 103, - "column": 50 + "line": 111, + "column": 8 }, "end": { - "line": 103, - "column": 51 + "line": 111, + "column": 9 } } }, { "type": { - "label": "num", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 2, - "start": 3454, - "end": 3455, + "start": 3750, + "end": 3751, "loc": { "start": { - "line": 103, - "column": 51 + "line": 112, + "column": 4 }, "end": { - "line": 103, - "column": 52 + "line": 112, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\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 ", + "start": 3757, + "end": 3965, + "loc": { + "start": { + "line": 113, + "column": 4 + }, + "end": { + "line": 118, + "column": 7 } } }, { "type": { - "label": "]", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3455, - "end": 3456, + "value": "setSize", + "start": 3971, + "end": 3978, "loc": { "start": { - "line": 103, - "column": 52 + "line": 119, + "column": 4 }, "end": { - "line": 103, - "column": 53 + "line": 119, + "column": 11 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3456, - "end": 3457, - "loc": { - "start": { - "line": 103, - "column": 53 - }, - "end": { - "line": 103, - "column": 54 - } - } - }, - { - "type": "CommentLine", - "value": " iconDataURL", - "start": 3479, - "end": 3493, + "start": 3978, + "end": 3979, "loc": { "start": { - "line": 104, - "column": 20 + "line": 119, + "column": 11 }, "end": { - "line": 104, - "column": 34 + "line": 119, + "column": 12 } } }, @@ -30904,25 +32468,25 @@ "postfix": false, "binop": null }, - "value": "aggregatedIconData", - "start": 3515, - "end": 3533, + "value": "pWidth", + "start": 3979, + "end": 3985, "loc": { "start": { - "line": 105, - "column": 20 + "line": 119, + "column": 12 }, "end": { - "line": 105, - "column": 38 + "line": 119, + "column": 18 } } }, { "type": { - "label": "[", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -30931,22 +32495,22 @@ "binop": null, "updateContext": null }, - "start": 3533, - "end": 3534, + "start": 3985, + "end": 3986, "loc": { "start": { - "line": 105, - "column": 38 + "line": 119, + "column": 18 }, "end": { - "line": 105, - "column": 39 + "line": 119, + "column": 19 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -30954,26 +32518,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 4, - "start": 3534, - "end": 3535, + "value": "pHeight", + "start": 3987, + "end": 3994, "loc": { "start": { - "line": 105, - "column": 39 + "line": 119, + "column": 20 }, "end": { - "line": 105, - "column": 40 + "line": 119, + "column": 27 } } }, { "type": { - "label": "]", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -30981,78 +32544,77 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3535, - "end": 3536, + "start": 3994, + "end": 3995, "loc": { "start": { - "line": 105, - "column": 40 + "line": 119, + "column": 27 }, "end": { - "line": 105, - "column": 41 + "line": 119, + "column": 28 } } }, { "type": { - "label": "=", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 3537, - "end": 3538, + "start": 3996, + "end": 3997, "loc": { "start": { - "line": 105, - "column": 42 + "line": 119, + "column": 29 }, "end": { - "line": 105, - "column": 43 + "line": 119, + "column": 30 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "pState", - "start": 3539, - "end": 3545, + "value": "if", + "start": 4007, + "end": 4009, "loc": { "start": { - "line": 105, - "column": 44 + "line": 120, + "column": 8 }, "end": { - "line": 105, - "column": 50 + "line": 120, + "column": 10 } } }, { "type": { - "label": "[", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -31060,147 +32622,156 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3545, - "end": 3546, + "start": 4010, + "end": 4011, "loc": { "start": { - "line": 105, - "column": 50 + "line": 120, + "column": 11 }, "end": { - "line": 105, - "column": 51 + "line": 120, + "column": 12 } } }, { "type": { - "label": "num", - "beforeExpr": false, + "label": "typeof", + "keyword": "typeof", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, "binop": null, "updateContext": null }, - "value": 1, - "start": 3546, - "end": 3547, + "value": "typeof", + "start": 4011, + "end": 4017, "loc": { "start": { - "line": 105, - "column": 51 + "line": 120, + "column": 12 }, "end": { - "line": 105, - "column": 52 + "line": 120, + "column": 18 } } }, { "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3547, - "end": 3548, + "start": 4017, + "end": 4018, "loc": { "start": { - "line": 105, - "column": 52 + "line": 120, + "column": 18 }, "end": { - "line": 105, - "column": 53 + "line": 120, + "column": 19 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3548, - "end": 3549, + "value": "pWidth", + "start": 4018, + "end": 4024, "loc": { "start": { - "line": 105, - "column": 53 + "line": 120, + "column": 19 }, "end": { - "line": 105, - "column": 54 + "line": 120, + "column": 25 } } }, { - "type": "CommentLine", - "value": " frame array", - "start": 3571, - "end": 3585, + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4024, + "end": 4025, "loc": { "start": { - "line": 106, - "column": 20 + "line": 120, + "column": 25 }, "end": { - "line": 106, - "column": 34 + "line": 120, + "column": 26 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 6, + "updateContext": null }, - "value": "aggregatedIconData", - "start": 3607, - "end": 3625, + "value": "===", + "start": 4026, + "end": 4029, "loc": { "start": { - "line": 107, - "column": 20 + "line": 120, + "column": 27 }, "end": { - "line": 107, - "column": 38 + "line": 120, + "column": 30 } } }, { "type": { - "label": "[", - "beforeExpr": true, + "label": "string", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -31210,51 +32781,76 @@ "binop": null, "updateContext": null }, - "start": 3625, - "end": 3626, + "value": "number", + "start": 4030, + "end": 4038, "loc": { "start": { - "line": 107, - "column": 38 + "line": 120, + "column": 31 }, "end": { - "line": 107, + "line": 120, "column": 39 } } }, { "type": { - "label": "num", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 5, - "start": 3626, - "end": 3627, + "start": 4038, + "end": 4039, "loc": { "start": { - "line": 107, + "line": 120, "column": 39 }, "end": { - "line": 107, + "line": 120, "column": 40 } } }, { "type": { - "label": "]", + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4040, + "end": 4041, + "loc": { + "start": { + "line": 120, + "column": 41 + }, + "end": { + "line": 120, + "column": 42 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -31263,43 +32859,43 @@ "binop": null, "updateContext": null }, - "start": 3627, - "end": 3628, + "value": "this", + "start": 4055, + "end": 4059, "loc": { "start": { - "line": 107, - "column": 40 + "line": 121, + "column": 12 }, "end": { - "line": 107, - "column": 41 + "line": 121, + "column": 16 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 3629, - "end": 3630, + "start": 4059, + "end": 4060, "loc": { "start": { - "line": 107, - "column": 42 + "line": 121, + "column": 16 }, "end": { - "line": 107, - "column": 43 + "line": 121, + "column": 17 } } }, @@ -31315,49 +32911,50 @@ "postfix": false, "binop": null }, - "value": "pState", - "start": 3631, - "end": 3637, + "value": "width", + "start": 4060, + "end": 4065, "loc": { "start": { - "line": 107, - "column": 44 + "line": 121, + "column": 17 }, "end": { - "line": 107, - "column": 50 + "line": 121, + "column": 22 } } }, { "type": { - "label": "[", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 3637, - "end": 3638, + "value": "=", + "start": 4066, + "end": 4067, "loc": { "start": { - "line": 107, - "column": 50 + "line": 121, + "column": 23 }, "end": { - "line": 107, - "column": 51 + "line": 121, + "column": 24 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -31365,27 +32962,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 3, - "start": 3638, - "end": 3639, + "value": "pWidth", + "start": 4068, + "end": 4074, "loc": { "start": { - "line": 107, - "column": 51 + "line": 121, + "column": 25 }, "end": { - "line": 107, - "column": 52 + "line": 121, + "column": 31 } } }, { "type": { - "label": "]", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -31395,51 +32991,50 @@ "binop": null, "updateContext": null }, - "start": 3639, - "end": 3640, + "start": 4074, + "end": 4075, "loc": { "start": { - "line": 107, - "column": 52 + "line": 121, + "column": 31 }, "end": { - "line": 107, - "column": 53 + "line": 121, + "column": 32 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3640, - "end": 3641, + "start": 4085, + "end": 4086, "loc": { "start": { - "line": 107, - "column": 53 + "line": 122, + "column": 8 }, "end": { - "line": 107, - "column": 54 + "line": 122, + "column": 9 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -31448,69 +33043,70 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 3663, - "end": 3667, + "value": "if", + "start": 4096, + "end": 4098, "loc": { "start": { - "line": 108, - "column": 20 + "line": 123, + "column": 8 }, "end": { - "line": 108, - "column": 24 + "line": 123, + "column": 10 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3667, - "end": 3668, + "start": 4099, + "end": 4100, "loc": { "start": { - "line": 108, - "column": 24 + "line": 123, + "column": 11 }, "end": { - "line": 108, - "column": 25 + "line": 123, + "column": 12 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "typeof", + "keyword": "typeof", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "addState", - "start": 3668, - "end": 3676, + "value": "typeof", + "start": 4100, + "end": 4106, "loc": { "start": { - "line": 108, - "column": 25 + "line": 123, + "column": 12 }, "end": { - "line": 108, - "column": 33 + "line": 123, + "column": 18 } } }, @@ -31526,16 +33122,16 @@ "postfix": false, "binop": null }, - "start": 3676, - "end": 3677, + "start": 4106, + "end": 4107, "loc": { "start": { - "line": 108, - "column": 33 + "line": 123, + "column": 18 }, "end": { - "line": 108, - "column": 34 + "line": 123, + "column": 19 } } }, @@ -31551,17 +33147,17 @@ "postfix": false, "binop": null }, - "value": "aggregatedIconData", - "start": 3677, - "end": 3695, + "value": "pHeight", + "start": 4107, + "end": 4114, "loc": { "start": { - "line": 108, - "column": 34 + "line": 123, + "column": 19 }, "end": { - "line": 108, - "column": 52 + "line": 123, + "column": 26 } } }, @@ -31577,22 +33173,22 @@ "postfix": false, "binop": null }, - "start": 3695, - "end": 3696, + "start": 4114, + "end": 4115, "loc": { "start": { - "line": 108, - "column": 52 + "line": 123, + "column": 26 }, "end": { - "line": 108, - "column": 53 + "line": 123, + "column": 27 } } }, { "type": { - "label": ";", + "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -31600,44 +33196,47 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "start": 3696, - "end": 3697, + "value": "===", + "start": 4116, + "end": 4119, "loc": { "start": { - "line": 108, - "column": 53 + "line": 123, + "column": 28 }, "end": { - "line": 108, - "column": 54 + "line": 123, + "column": 31 } } }, { "type": { - "label": "}", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3715, - "end": 3716, + "value": "number", + "start": 4120, + "end": 4128, "loc": { "start": { - "line": 109, - "column": 16 + "line": 123, + "column": 32 }, "end": { - "line": 109, - "column": 17 + "line": 123, + "column": 40 } } }, @@ -31653,73 +33252,75 @@ "postfix": false, "binop": null }, - "start": 3716, - "end": 3717, + "start": 4128, + "end": 4129, "loc": { "start": { - "line": 109, - "column": 17 + "line": 123, + "column": 40 }, "end": { - "line": 109, - "column": 18 + "line": 123, + "column": 41 } } }, { "type": { - "label": ";", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3717, - "end": 3718, + "start": 4130, + "end": 4131, "loc": { "start": { - "line": 109, - "column": 18 + "line": 123, + "column": 42 }, "end": { - "line": 109, - "column": 19 + "line": 123, + "column": 43 } } }, { "type": { - "label": "}", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3732, - "end": 3733, + "value": "this", + "start": 4145, + "end": 4149, "loc": { "start": { - "line": 110, + "line": 124, "column": 12 }, "end": { - "line": 110, - "column": 13 + "line": 124, + "column": 16 } } }, { "type": { - "label": "}", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -31727,26 +33328,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3743, - "end": 3744, + "start": 4149, + "end": 4150, "loc": { "start": { - "line": 111, - "column": 8 + "line": 124, + "column": 16 }, "end": { - "line": 111, - "column": 9 + "line": 124, + "column": 17 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -31754,65 +33356,51 @@ "postfix": false, "binop": null }, - "start": 3750, - "end": 3751, - "loc": { - "start": { - "line": 112, - "column": 4 - }, - "end": { - "line": 112, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\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 ", - "start": 3757, - "end": 3965, + "value": "height", + "start": 4150, + "end": 4156, "loc": { "start": { - "line": 113, - "column": 4 + "line": 124, + "column": 17 }, "end": { - "line": 118, - "column": 7 + "line": 124, + "column": 23 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "setSize", - "start": 3971, - "end": 3978, + "value": "=", + "start": 4157, + "end": 4158, "loc": { "start": { - "line": 119, - "column": 4 + "line": 124, + "column": 24 }, "end": { - "line": 119, - "column": 11 + "line": 124, + "column": 25 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -31821,76 +33409,76 @@ "postfix": false, "binop": null }, - "start": 3978, - "end": 3979, + "value": "pHeight", + "start": 4159, + "end": 4166, "loc": { "start": { - "line": 119, - "column": 11 + "line": 124, + "column": 26 }, "end": { - "line": 119, - "column": 12 + "line": 124, + "column": 33 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "pWidth", - "start": 3979, - "end": 3985, + "start": 4166, + "end": 4167, "loc": { "start": { - "line": 119, - "column": 12 + "line": 124, + "column": 33 }, "end": { - "line": 119, - "column": 18 + "line": 124, + "column": 34 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3985, - "end": 3986, + "start": 4177, + "end": 4178, "loc": { "start": { - "line": 119, - "column": 18 + "line": 125, + "column": 8 }, "end": { - "line": 119, - "column": 19 + "line": 125, + "column": 9 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -31898,25 +33486,40 @@ "postfix": false, "binop": null }, - "value": "pHeight", - "start": 3987, - "end": 3994, + "start": 4184, + "end": 4185, "loc": { "start": { - "line": 119, - "column": 20 + "line": 126, + "column": 4 }, "end": { - "line": 119, - "column": 27 + "line": 126, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\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 ", + "start": 4191, + "end": 4342, + "loc": { + "start": { + "line": 127, + "column": 4 + }, + "end": { + "line": 130, + "column": 7 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -31924,22 +33527,23 @@ "postfix": false, "binop": null }, - "start": 3994, - "end": 3995, + "value": "getSize", + "start": 4348, + "end": 4355, "loc": { "start": { - "line": 119, - "column": 27 + "line": 131, + "column": 4 }, "end": { - "line": 119, - "column": 28 + "line": 131, + "column": 11 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -31949,23 +33553,22 @@ "postfix": false, "binop": null }, - "start": 3996, - "end": 3997, + "start": 4355, + "end": 4356, "loc": { "start": { - "line": 119, - "column": 29 + "line": 131, + "column": 11 }, "end": { - "line": 119, - "column": 30 + "line": 131, + "column": 12 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -31973,26 +33576,24 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 4007, - "end": 4009, + "start": 4356, + "end": 4357, "loc": { "start": { - "line": 120, - "column": 8 + "line": 131, + "column": 12 }, "end": { - "line": 120, - "column": 10 + "line": 131, + "column": 13 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -32002,50 +33603,50 @@ "postfix": false, "binop": null }, - "start": 4010, - "end": 4011, + "start": 4358, + "end": 4359, "loc": { "start": { - "line": 120, - "column": 11 + "line": 131, + "column": 14 }, "end": { - "line": 120, - "column": 12 + "line": 131, + "column": 15 } } }, { "type": { - "label": "typeof", - "keyword": "typeof", + "label": "return", + "keyword": "return", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "typeof", - "start": 4011, - "end": 4017, + "value": "return", + "start": 4369, + "end": 4375, "loc": { "start": { - "line": 120, - "column": 12 + "line": 132, + "column": 8 }, "end": { - "line": 120, - "column": 18 + "line": 132, + "column": 14 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -32055,16 +33656,16 @@ "postfix": false, "binop": null }, - "start": 4017, - "end": 4018, + "start": 4376, + "end": 4377, "loc": { "start": { - "line": 120, - "column": 18 + "line": 132, + "column": 15 }, "end": { - "line": 120, - "column": 19 + "line": 132, + "column": 16 } } }, @@ -32080,77 +33681,79 @@ "postfix": false, "binop": null }, - "value": "pWidth", - "start": 4018, - "end": 4024, + "value": "width", + "start": 4378, + "end": 4383, "loc": { "start": { - "line": 120, - "column": 19 + "line": 132, + "column": 17 }, "end": { - "line": 120, - "column": 25 + "line": 132, + "column": 22 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4024, - "end": 4025, + "start": 4383, + "end": 4384, "loc": { "start": { - "line": 120, - "column": 25 + "line": 132, + "column": 22 }, "end": { - "line": 120, - "column": 26 + "line": 132, + "column": 23 } } }, { "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, + "binop": null, "updateContext": null }, - "value": "===", - "start": 4026, - "end": 4029, + "value": "this", + "start": 4385, + "end": 4389, "loc": { "start": { - "line": 120, - "column": 27 + "line": 132, + "column": 24 }, "end": { - "line": 120, - "column": 30 + "line": 132, + "column": 28 } } }, { "type": { - "label": "string", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -32159,25 +33762,24 @@ "binop": null, "updateContext": null }, - "value": "number", - "start": 4030, - "end": 4038, + "start": 4389, + "end": 4390, "loc": { "start": { - "line": 120, - "column": 31 + "line": 132, + "column": 28 }, "end": { - "line": 120, - "column": 39 + "line": 132, + "column": 29 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -32185,48 +33787,49 @@ "postfix": false, "binop": null }, - "start": 4038, - "end": 4039, + "value": "width", + "start": 4390, + "end": 4395, "loc": { "start": { - "line": 120, - "column": 39 + "line": 132, + "column": 29 }, "end": { - "line": 120, - "column": 40 + "line": 132, + "column": 34 } } }, { "type": { - "label": "{", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4040, - "end": 4041, + "start": 4395, + "end": 4396, "loc": { "start": { - "line": 120, - "column": 41 + "line": 132, + "column": 34 }, "end": { - "line": 120, - "column": 42 + "line": 132, + "column": 35 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -32234,27 +33837,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 4055, - "end": 4059, + "value": "height", + "start": 4397, + "end": 4403, "loc": { "start": { - "line": 121, - "column": 12 + "line": 132, + "column": 36 }, "end": { - "line": 121, - "column": 16 + "line": 132, + "column": 42 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -32264,22 +33866,23 @@ "binop": null, "updateContext": null }, - "start": 4059, - "end": 4060, + "start": 4403, + "end": 4404, "loc": { "start": { - "line": 121, - "column": 16 + "line": 132, + "column": 42 }, "end": { - "line": 121, - "column": 17 + "line": 132, + "column": 43 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -32287,46 +33890,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "width", - "start": 4060, - "end": 4065, + "value": "this", + "start": 4405, + "end": 4409, "loc": { "start": { - "line": 121, - "column": 17 + "line": 132, + "column": 44 }, "end": { - "line": 121, - "column": 22 + "line": 132, + "column": 48 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 4066, - "end": 4067, + "start": 4409, + "end": 4410, "loc": { "start": { - "line": 121, - "column": 23 + "line": 132, + "column": 48 }, "end": { - "line": 121, - "column": 24 + "line": 132, + "column": 49 } } }, @@ -32342,75 +33945,74 @@ "postfix": false, "binop": null }, - "value": "pWidth", - "start": 4068, - "end": 4074, + "value": "height", + "start": 4410, + "end": 4416, "loc": { "start": { - "line": 121, - "column": 25 + "line": 132, + "column": 49 }, "end": { - "line": 121, - "column": 31 + "line": 132, + "column": 55 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4074, - "end": 4075, + "start": 4417, + "end": 4418, "loc": { "start": { - "line": 121, - "column": 31 + "line": 132, + "column": 56 }, "end": { - "line": 121, - "column": 32 + "line": 132, + "column": 57 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4085, - "end": 4086, + "start": 4418, + "end": 4419, "loc": { "start": { - "line": 122, - "column": 8 + "line": 132, + "column": 57 }, "end": { - "line": 122, - "column": 9 + "line": 132, + "column": 58 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -32418,73 +34020,60 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 4096, - "end": 4098, + "start": 4425, + "end": 4426, "loc": { "start": { - "line": 123, - "column": 8 + "line": 133, + "column": 4 }, "end": { - "line": 123, - "column": 10 + "line": 133, + "column": 5 } } }, { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4099, - "end": 4100, + "type": "CommentBlock", + "value": "*\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 ", + "start": 4432, + "end": 4595, "loc": { "start": { - "line": 123, - "column": 11 + "line": 134, + "column": 4 }, "end": { - "line": 123, - "column": 12 + "line": 138, + "column": 7 } } }, { "type": { - "label": "typeof", - "keyword": "typeof", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "typeof", - "start": 4100, - "end": 4106, + "value": "setDataURL", + "start": 4601, + "end": 4611, "loc": { "start": { - "line": 123, - "column": 12 + "line": 139, + "column": 4 }, "end": { - "line": 123, - "column": 18 + "line": 139, + "column": 14 } } }, @@ -32500,16 +34089,16 @@ "postfix": false, "binop": null }, - "start": 4106, - "end": 4107, + "start": 4611, + "end": 4612, "loc": { "start": { - "line": 123, - "column": 18 + "line": 139, + "column": 14 }, "end": { - "line": 123, - "column": 19 + "line": 139, + "column": 15 } } }, @@ -32525,17 +34114,17 @@ "postfix": false, "binop": null }, - "value": "pHeight", - "start": 4107, - "end": 4114, + "value": "pDataURL", + "start": 4612, + "end": 4620, "loc": { "start": { - "line": 123, - "column": 19 + "line": 139, + "column": 15 }, "end": { - "line": 123, - "column": 26 + "line": 139, + "column": 23 } } }, @@ -32551,76 +34140,48 @@ "postfix": false, "binop": null }, - "start": 4114, - "end": 4115, - "loc": { - "start": { - "line": 123, - "column": 26 - }, - "end": { - "line": 123, - "column": 27 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 4116, - "end": 4119, + "start": 4620, + "end": 4621, "loc": { - "start": { - "line": 123, - "column": 28 + "start": { + "line": 139, + "column": 23 }, "end": { - "line": 123, - "column": 31 + "line": 139, + "column": 24 } } }, { "type": { - "label": "string", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "number", - "start": 4120, - "end": 4128, + "start": 4622, + "end": 4623, "loc": { "start": { - "line": 123, - "column": 32 + "line": 139, + "column": 25 }, "end": { - "line": 123, - "column": 40 + "line": 139, + "column": 26 } } }, { "type": { - "label": ")", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -32628,24 +34189,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4128, - "end": 4129, + "value": "if", + "start": 4633, + "end": 4635, "loc": { "start": { - "line": 123, - "column": 40 + "line": 140, + "column": 8 }, "end": { - "line": 123, - "column": 41 + "line": 140, + "column": 10 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -32655,23 +34218,22 @@ "postfix": false, "binop": null }, - "start": 4130, - "end": 4131, + "start": 4636, + "end": 4637, "loc": { "start": { - "line": 123, - "column": 42 + "line": 140, + "column": 11 }, "end": { - "line": 123, - "column": 43 + "line": 140, + "column": 12 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -32679,26 +34241,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 4145, - "end": 4149, + "value": "pDataURL", + "start": 4637, + "end": 4645, "loc": { "start": { - "line": 124, + "line": 140, "column": 12 }, "end": { - "line": 124, - "column": 16 + "line": 140, + "column": 20 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -32706,26 +34267,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4149, - "end": 4150, + "start": 4645, + "end": 4646, "loc": { "start": { - "line": 124, - "column": 16 + "line": 140, + "column": 20 }, "end": { - "line": 124, - "column": 17 + "line": 140, + "column": 21 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -32734,51 +34294,51 @@ "postfix": false, "binop": null }, - "value": "height", - "start": 4150, - "end": 4156, + "start": 4647, + "end": 4648, "loc": { "start": { - "line": 124, - "column": 17 + "line": 140, + "column": 22 }, "end": { - "line": 124, + "line": 140, "column": 23 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 4157, - "end": 4158, + "value": "if", + "start": 4662, + "end": 4664, "loc": { "start": { - "line": 124, - "column": 24 + "line": 141, + "column": 12 }, "end": { - "line": 124, - "column": 25 + "line": 141, + "column": 14 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -32787,51 +34347,52 @@ "postfix": false, "binop": null }, - "value": "pHeight", - "start": 4159, - "end": 4166, + "start": 4665, + "end": 4666, "loc": { "start": { - "line": 124, - "column": 26 + "line": 141, + "column": 15 }, "end": { - "line": 124, - "column": 33 + "line": 141, + "column": 16 } } }, { "type": { - "label": ";", + "label": "typeof", + "keyword": "typeof", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, "binop": null, "updateContext": null }, - "start": 4166, - "end": 4167, + "value": "typeof", + "start": 4666, + "end": 4672, "loc": { "start": { - "line": 124, - "column": 33 + "line": 141, + "column": 16 }, "end": { - "line": 124, - "column": 34 + "line": 141, + "column": 22 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -32839,24 +34400,24 @@ "postfix": false, "binop": null }, - "start": 4177, - "end": 4178, + "start": 4672, + "end": 4673, "loc": { "start": { - "line": 125, - "column": 8 + "line": 141, + "column": 22 }, "end": { - "line": 125, - "column": 9 + "line": 141, + "column": 23 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -32864,83 +34425,96 @@ "postfix": false, "binop": null }, - "start": 4184, - "end": 4185, + "value": "pDataURL", + "start": 4673, + "end": 4681, "loc": { "start": { - "line": 126, - "column": 4 + "line": 141, + "column": 23 }, "end": { - "line": 126, - "column": 5 + "line": 141, + "column": 31 } } }, { - "type": "CommentBlock", - "value": "*\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 ", - "start": 4191, - "end": 4342, + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4681, + "end": 4682, "loc": { "start": { - "line": 127, - "column": 4 + "line": 141, + "column": 31 }, "end": { - "line": 130, - "column": 7 + "line": 141, + "column": 32 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 6, + "updateContext": null }, - "value": "getSize", - "start": 4348, - "end": 4355, + "value": "===", + "start": 4683, + "end": 4686, "loc": { "start": { - "line": 131, - "column": 4 + "line": 141, + "column": 33 }, "end": { - "line": 131, - "column": 11 + "line": 141, + "column": 36 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "string", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4355, - "end": 4356, + "value": "string", + "start": 4687, + "end": 4695, "loc": { "start": { - "line": 131, - "column": 11 + "line": 141, + "column": 37 }, "end": { - "line": 131, - "column": 12 + "line": 141, + "column": 45 } } }, @@ -32956,16 +34530,16 @@ "postfix": false, "binop": null }, - "start": 4356, - "end": 4357, + "start": 4695, + "end": 4696, "loc": { "start": { - "line": 131, - "column": 12 + "line": 141, + "column": 45 }, "end": { - "line": 131, - "column": 13 + "line": 141, + "column": 46 } } }, @@ -32981,25 +34555,25 @@ "postfix": false, "binop": null }, - "start": 4358, - "end": 4359, + "start": 4697, + "end": 4698, "loc": { "start": { - "line": 131, - "column": 14 + "line": 141, + "column": 47 }, "end": { - "line": 131, - "column": 15 + "line": 141, + "column": 48 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -33008,42 +34582,43 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 4369, - "end": 4375, + "value": "this", + "start": 4716, + "end": 4720, "loc": { "start": { - "line": 132, - "column": 8 + "line": 142, + "column": 16 }, "end": { - "line": 132, - "column": 14 + "line": 142, + "column": 20 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4376, - "end": 4377, + "start": 4720, + "end": 4721, "loc": { "start": { - "line": 132, - "column": 15 + "line": 142, + "column": 20 }, "end": { - "line": 132, - "column": 16 + "line": 142, + "column": 21 } } }, @@ -33059,50 +34634,50 @@ "postfix": false, "binop": null }, - "value": "width", - "start": 4378, - "end": 4383, + "value": "dataURL", + "start": 4721, + "end": 4728, "loc": { "start": { - "line": 132, - "column": 17 + "line": 142, + "column": 21 }, "end": { - "line": 132, - "column": 22 + "line": 142, + "column": 28 } } }, { "type": { - "label": ":", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 4383, - "end": 4384, + "value": "=", + "start": 4729, + "end": 4730, "loc": { "start": { - "line": 132, - "column": 22 + "line": 142, + "column": 29 }, "end": { - "line": 132, - "column": 23 + "line": 142, + "column": 30 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -33110,27 +34685,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 4385, - "end": 4389, + "value": "pDataURL", + "start": 4731, + "end": 4739, "loc": { "start": { - "line": 132, - "column": 24 + "line": 142, + "column": 31 }, "end": { - "line": 132, - "column": 28 + "line": 142, + "column": 39 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -33140,24 +34714,24 @@ "binop": null, "updateContext": null }, - "start": 4389, - "end": 4390, + "start": 4739, + "end": 4740, "loc": { "start": { - "line": 132, - "column": 28 + "line": 142, + "column": 39 }, "end": { - "line": 132, - "column": 29 + "line": 142, + "column": 40 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -33165,23 +34739,23 @@ "postfix": false, "binop": null }, - "value": "width", - "start": 4390, - "end": 4395, + "start": 4754, + "end": 4755, "loc": { "start": { - "line": 132, - "column": 29 + "line": 143, + "column": 12 }, "end": { - "line": 132, - "column": 34 + "line": 143, + "column": 13 } } }, { "type": { - "label": ",", + "label": "else", + "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -33192,16 +34766,42 @@ "binop": null, "updateContext": null }, - "start": 4395, - "end": 4396, + "value": "else", + "start": 4756, + "end": 4760, "loc": { "start": { - "line": 132, - "column": 34 + "line": 143, + "column": 14 }, "end": { - "line": 132, - "column": 35 + "line": 143, + "column": 18 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4761, + "end": 4762, + "loc": { + "start": { + "line": 143, + "column": 19 + }, + "end": { + "line": 143, + "column": 20 } } }, @@ -33217,24 +34817,24 @@ "postfix": false, "binop": null }, - "value": "height", - "start": 4397, - "end": 4403, + "value": "VYI", + "start": 4780, + "end": 4783, "loc": { "start": { - "line": 132, - "column": 36 + "line": 144, + "column": 16 }, "end": { - "line": 132, - "column": 42 + "line": 144, + "column": 19 } } }, { "type": { - "label": ":", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -33244,23 +34844,22 @@ "binop": null, "updateContext": null }, - "start": 4403, - "end": 4404, + "start": 4783, + "end": 4784, "loc": { "start": { - "line": 132, - "column": 42 + "line": 144, + "column": 19 }, "end": { - "line": 132, - "column": 43 + "line": 144, + "column": 20 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -33268,20 +34867,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 4405, - "end": 4409, + "value": "logger", + "start": 4784, + "end": 4790, "loc": { "start": { - "line": 132, - "column": 44 + "line": 144, + "column": 20 }, - "end": { - "line": 132, - "column": 48 + "end": { + "line": 144, + "column": 26 } } }, @@ -33298,16 +34896,16 @@ "binop": null, "updateContext": null }, - "start": 4409, - "end": 4410, + "start": 4790, + "end": 4791, "loc": { "start": { - "line": 132, - "column": 48 + "line": 144, + "column": 26 }, "end": { - "line": 132, - "column": 49 + "line": 144, + "column": 27 } } }, @@ -33323,25 +34921,25 @@ "postfix": false, "binop": null }, - "value": "height", - "start": 4410, - "end": 4416, + "value": "prefix", + "start": 4791, + "end": 4797, "loc": { "start": { - "line": 132, - "column": 49 + "line": 144, + "column": 27 }, "end": { - "line": 132, - "column": 55 + "line": 144, + "column": 33 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -33349,24 +34947,24 @@ "postfix": false, "binop": null }, - "start": 4417, - "end": 4418, + "start": 4797, + "end": 4798, "loc": { "start": { - "line": 132, - "column": 56 + "line": 144, + "column": 33 }, "end": { - "line": 132, - "column": 57 + "line": 144, + "column": 34 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "string", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -33375,22 +34973,23 @@ "binop": null, "updateContext": null }, - "start": 4418, - "end": 4419, + "value": "VYI-module", + "start": 4798, + "end": 4810, "loc": { "start": { - "line": 132, - "column": 57 + "line": 144, + "column": 34 }, "end": { - "line": 132, - "column": 58 + "line": 144, + "column": 46 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -33400,32 +34999,42 @@ "postfix": false, "binop": null }, - "start": 4425, - "end": 4426, + "start": 4810, + "end": 4811, "loc": { "start": { - "line": 133, - "column": 4 + "line": 144, + "column": 46 }, "end": { - "line": 133, - "column": 5 + "line": 144, + "column": 47 } } }, { - "type": "CommentBlock", - "value": "*\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 ", - "start": 4432, - "end": 4595, + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4811, + "end": 4812, "loc": { "start": { - "line": 134, - "column": 4 + "line": 144, + "column": 47 }, "end": { - "line": 138, - "column": 7 + "line": 144, + "column": 48 } } }, @@ -33441,17 +35050,17 @@ "postfix": false, "binop": null }, - "value": "setDataURL", - "start": 4601, - "end": 4611, + "value": "error", + "start": 4812, + "end": 4817, "loc": { "start": { - "line": 139, - "column": 4 + "line": 144, + "column": 48 }, "end": { - "line": 139, - "column": 14 + "line": 144, + "column": 53 } } }, @@ -33467,22 +35076,22 @@ "postfix": false, "binop": null }, - "start": 4611, - "end": 4612, + "start": 4817, + "end": 4818, "loc": { "start": { - "line": 139, - "column": 14 + "line": 144, + "column": 53 }, "end": { - "line": 139, - "column": 15 + "line": 144, + "column": 54 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -33490,19 +35099,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "pDataURL", - "start": 4612, - "end": 4620, + "value": "Invalid data url type!", + "start": 4818, + "end": 4842, "loc": { "start": { - "line": 139, - "column": 15 + "line": 144, + "column": 54 }, "end": { - "line": 139, - "column": 23 + "line": 144, + "column": 78 } } }, @@ -33518,48 +35128,48 @@ "postfix": false, "binop": null }, - "start": 4620, - "end": 4621, + "start": 4842, + "end": 4843, "loc": { "start": { - "line": 139, - "column": 23 + "line": 144, + "column": 78 }, "end": { - "line": 139, - "column": 24 + "line": 144, + "column": 79 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4622, - "end": 4623, + "start": 4843, + "end": 4844, "loc": { "start": { - "line": 139, - "column": 25 + "line": 144, + "column": 79 }, "end": { - "line": 139, - "column": 26 + "line": 144, + "column": 80 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -33567,28 +35177,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 4633, - "end": 4635, + "start": 4858, + "end": 4859, "loc": { "start": { - "line": 140, - "column": 8 + "line": 145, + "column": 12 }, "end": { - "line": 140, - "column": 10 + "line": 145, + "column": 13 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -33596,99 +35204,104 @@ "postfix": false, "binop": null }, - "start": 4636, - "end": 4637, + "start": 4869, + "end": 4870, "loc": { "start": { - "line": 140, - "column": 11 + "line": 146, + "column": 8 }, "end": { - "line": 140, - "column": 12 + "line": 146, + "column": 9 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "pDataURL", - "start": 4637, - "end": 4645, + "value": "return", + "start": 4880, + "end": 4886, "loc": { "start": { - "line": 140, - "column": 12 + "line": 147, + "column": 8 }, "end": { - "line": 140, - "column": 20 + "line": 147, + "column": 14 } } }, { "type": { - "label": ")", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4645, - "end": 4646, + "value": "this", + "start": 4887, + "end": 4891, "loc": { "start": { - "line": 140, - "column": 20 + "line": 147, + "column": 15 }, "end": { - "line": 140, - "column": 21 + "line": 147, + "column": 19 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4647, - "end": 4648, + "start": 4891, + "end": 4892, "loc": { "start": { - "line": 140, - "column": 22 + "line": 147, + "column": 19 }, "end": { - "line": 140, - "column": 23 + "line": 147, + "column": 20 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -33696,73 +35309,60 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 4662, - "end": 4664, + "start": 4898, + "end": 4899, "loc": { "start": { - "line": 141, - "column": 12 + "line": 148, + "column": 4 }, "end": { - "line": 141, - "column": 14 + "line": 148, + "column": 5 } } }, { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4665, - "end": 4666, + "type": "CommentBlock", + "value": "*\r\n * Gets the data URL of this icon.\r\n * @returns {DataURL} - The base64 data of this image.\r\n ", + "start": 4905, + "end": 5017, "loc": { "start": { - "line": 141, - "column": 15 + "line": 149, + "column": 4 }, "end": { - "line": 141, - "column": 16 + "line": 152, + "column": 7 } } }, { "type": { - "label": "typeof", - "keyword": "typeof", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "typeof", - "start": 4666, - "end": 4672, + "value": "getDataURL", + "start": 5023, + "end": 5033, "loc": { "start": { - "line": 141, - "column": 16 + "line": 153, + "column": 4 }, "end": { - "line": 141, - "column": 22 + "line": 153, + "column": 14 } } }, @@ -33778,24 +35378,24 @@ "postfix": false, "binop": null }, - "start": 4672, - "end": 4673, + "start": 5033, + "end": 5034, "loc": { "start": { - "line": 141, - "column": 22 + "line": 153, + "column": 14 }, "end": { - "line": 141, - "column": 23 + "line": 153, + "column": 15 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -33803,25 +35403,24 @@ "postfix": false, "binop": null }, - "value": "pDataURL", - "start": 4673, - "end": 4681, + "start": 5034, + "end": 5035, "loc": { "start": { - "line": 141, - "column": 23 + "line": 153, + "column": 15 }, "end": { - "line": 141, - "column": 31 + "line": 153, + "column": 16 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -33829,22 +35428,23 @@ "postfix": false, "binop": null }, - "start": 4681, - "end": 4682, + "start": 5036, + "end": 5037, "loc": { "start": { - "line": 141, - "column": 31 + "line": 153, + "column": 17 }, "end": { - "line": 141, - "column": 32 + "line": 153, + "column": 18 } } }, { "type": { - "label": "==/!=", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -33852,26 +35452,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, + "binop": null, "updateContext": null }, - "value": "===", - "start": 4683, - "end": 4686, + "value": "return", + "start": 5047, + "end": 5053, "loc": { "start": { - "line": 141, - "column": 33 + "line": 154, + "column": 8 }, "end": { - "line": 141, - "column": 36 + "line": 154, + "column": 14 } } }, { "type": { - "label": "string", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -33882,23 +35483,23 @@ "binop": null, "updateContext": null }, - "value": "string", - "start": 4687, - "end": 4695, + "value": "this", + "start": 5054, + "end": 5058, "loc": { "start": { - "line": 141, - "column": 37 + "line": 154, + "column": 15 }, "end": { - "line": 141, - "column": 45 + "line": 154, + "column": 19 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -33906,25 +35507,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4695, - "end": 4696, + "start": 5058, + "end": 5059, "loc": { "start": { - "line": 141, - "column": 45 + "line": 154, + "column": 19 }, "end": { - "line": 141, - "column": 46 + "line": 154, + "column": 20 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -33933,25 +35535,25 @@ "postfix": false, "binop": null }, - "start": 4697, - "end": 4698, + "value": "dataURL", + "start": 5059, + "end": 5066, "loc": { "start": { - "line": 141, - "column": 47 + "line": 154, + "column": 20 }, "end": { - "line": 141, - "column": 48 + "line": 154, + "column": 27 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -33960,23 +35562,22 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 4716, - "end": 4720, + "start": 5066, + "end": 5067, "loc": { "start": { - "line": 142, - "column": 16 + "line": 154, + "column": 27 }, "end": { - "line": 142, - "column": 20 + "line": 154, + "column": 28 } } }, { "type": { - "label": ".", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -33984,19 +35585,34 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4720, - "end": 4721, + "start": 5073, + "end": 5074, + "loc": { + "start": { + "line": 155, + "column": 4 + }, + "end": { + "line": 155, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\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 ", + "start": 5080, + "end": 5244, "loc": { "start": { - "line": 142, - "column": 20 + "line": 156, + "column": 4 }, "end": { - "line": 142, - "column": 21 + "line": 160, + "column": 7 } } }, @@ -34012,44 +35628,42 @@ "postfix": false, "binop": null }, - "value": "dataURL", - "start": 4721, - "end": 4728, + "value": "setDelay", + "start": 5250, + "end": 5258, "loc": { "start": { - "line": 142, - "column": 21 + "line": 161, + "column": 4 }, "end": { - "line": 142, - "column": 28 + "line": 161, + "column": 12 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 4729, - "end": 4730, + "start": 5258, + "end": 5259, "loc": { "start": { - "line": 142, - "column": 29 + "line": 161, + "column": 12 }, "end": { - "line": 142, - "column": 30 + "line": 161, + "column": 13 } } }, @@ -34065,51 +35679,50 @@ "postfix": false, "binop": null }, - "value": "pDataURL", - "start": 4731, - "end": 4739, + "value": "pDelay", + "start": 5259, + "end": 5265, "loc": { "start": { - "line": 142, - "column": 31 + "line": 161, + "column": 13 }, "end": { - "line": 142, - "column": 39 + "line": 161, + "column": 19 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4739, - "end": 4740, + "start": 5265, + "end": 5266, "loc": { "start": { - "line": 142, - "column": 39 + "line": 161, + "column": 19 }, "end": { - "line": 142, - "column": 40 + "line": 161, + "column": 20 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -34117,24 +35730,24 @@ "postfix": false, "binop": null }, - "start": 4754, - "end": 4755, + "start": 5267, + "end": 5268, "loc": { "start": { - "line": 143, - "column": 12 + "line": 161, + "column": 21 }, "end": { - "line": 143, - "column": 13 + "line": 161, + "column": 22 } } }, { "type": { - "label": "else", - "keyword": "else", - "beforeExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -34144,23 +35757,23 @@ "binop": null, "updateContext": null }, - "value": "else", - "start": 4756, - "end": 4760, + "value": "if", + "start": 5278, + "end": 5280, "loc": { "start": { - "line": 143, - "column": 14 + "line": 162, + "column": 8 }, "end": { - "line": 143, - "column": 18 + "line": 162, + "column": 10 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -34170,16 +35783,16 @@ "postfix": false, "binop": null }, - "start": 4761, - "end": 4762, + "start": 5281, + "end": 5282, "loc": { "start": { - "line": 143, - "column": 19 + "line": 162, + "column": 11 }, "end": { - "line": 143, - "column": 20 + "line": 162, + "column": 12 } } }, @@ -34195,23 +35808,23 @@ "postfix": false, "binop": null }, - "value": "VYI", - "start": 4780, - "end": 4783, + "value": "pDelay", + "start": 5282, + "end": 5288, "loc": { "start": { - "line": 144, - "column": 16 + "line": 162, + "column": 12 }, "end": { - "line": 144, - "column": 19 + "line": 162, + "column": 18 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -34219,26 +35832,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4783, - "end": 4784, + "start": 5288, + "end": 5289, "loc": { "start": { - "line": 144, - "column": 19 + "line": 162, + "column": 18 }, "end": { - "line": 144, - "column": 20 + "line": 162, + "column": 19 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -34247,23 +35859,23 @@ "postfix": false, "binop": null }, - "value": "logger", - "start": 4784, - "end": 4790, + "start": 5290, + "end": 5291, "loc": { "start": { - "line": 144, + "line": 162, "column": 20 }, "end": { - "line": 144, - "column": 26 + "line": 162, + "column": 21 } } }, { "type": { - "label": ".", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -34274,23 +35886,24 @@ "binop": null, "updateContext": null }, - "start": 4790, - "end": 4791, + "value": "if", + "start": 5305, + "end": 5307, "loc": { "start": { - "line": 144, - "column": 26 + "line": 163, + "column": 12 }, "end": { - "line": 144, - "column": 27 + "line": 163, + "column": 14 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -34299,77 +35912,77 @@ "postfix": false, "binop": null }, - "value": "prefix", - "start": 4791, - "end": 4797, + "start": 5308, + "end": 5309, "loc": { "start": { - "line": 144, - "column": 27 + "line": 163, + "column": 15 }, "end": { - "line": 144, - "column": 33 + "line": 163, + "column": 16 } } }, { "type": { - "label": "(", + "label": "typeof", + "keyword": "typeof", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4797, - "end": 4798, + "value": "typeof", + "start": 5309, + "end": 5315, "loc": { "start": { - "line": 144, - "column": 33 + "line": 163, + "column": 16 }, "end": { - "line": 144, - "column": 34 + "line": 163, + "column": 22 } } }, { "type": { - "label": "string", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "VYI-module", - "start": 4798, - "end": 4810, + "start": 5315, + "end": 5316, "loc": { "start": { - "line": 144, - "column": 34 + "line": 163, + "column": 22 }, "end": { - "line": 144, - "column": 46 + "line": 163, + "column": 23 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -34377,22 +35990,23 @@ "postfix": false, "binop": null }, - "start": 4810, - "end": 4811, + "value": "pDelay", + "start": 5316, + "end": 5322, "loc": { "start": { - "line": 144, - "column": 46 + "line": 163, + "column": 23 }, "end": { - "line": 144, - "column": 47 + "line": 163, + "column": 29 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -34400,105 +36014,105 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4811, - "end": 4812, + "start": 5322, + "end": 5323, "loc": { "start": { - "line": 144, - "column": 47 + "line": 163, + "column": 29 }, "end": { - "line": 144, - "column": 48 + "line": 163, + "column": 30 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 6, + "updateContext": null }, - "value": "error", - "start": 4812, - "end": 4817, + "value": "===", + "start": 5324, + "end": 5327, "loc": { "start": { - "line": 144, - "column": 48 + "line": 163, + "column": 31 }, "end": { - "line": 144, - "column": 53 + "line": 163, + "column": 34 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "string", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4817, - "end": 4818, + "value": "number", + "start": 5328, + "end": 5336, "loc": { "start": { - "line": 144, - "column": 53 + "line": 163, + "column": 35 }, "end": { - "line": 144, - "column": 54 + "line": 163, + "column": 43 } } }, { "type": { - "label": "string", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "Invalid data url type!", - "start": 4818, - "end": 4842, + "start": 5336, + "end": 5337, "loc": { "start": { - "line": 144, - "column": 54 + "line": 163, + "column": 43 }, "end": { - "line": 144, - "column": 78 + "line": 163, + "column": 44 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -34506,24 +36120,25 @@ "postfix": false, "binop": null }, - "start": 4842, - "end": 4843, + "start": 5338, + "end": 5339, "loc": { "start": { - "line": 144, - "column": 78 + "line": 163, + "column": 45 }, "end": { - "line": 144, - "column": 79 + "line": 163, + "column": 46 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -34532,22 +36147,23 @@ "binop": null, "updateContext": null }, - "start": 4843, - "end": 4844, + "value": "this", + "start": 5357, + "end": 5361, "loc": { "start": { - "line": 144, - "column": 79 + "line": 164, + "column": 16 }, "end": { - "line": 144, - "column": 80 + "line": 164, + "column": 20 } } }, { "type": { - "label": "}", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -34555,26 +36171,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4858, - "end": 4859, + "start": 5361, + "end": 5362, "loc": { "start": { - "line": 145, - "column": 12 + "line": 164, + "column": 20 }, "end": { - "line": 145, - "column": 13 + "line": 164, + "column": 21 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -34582,51 +36199,50 @@ "postfix": false, "binop": null }, - "start": 4869, - "end": 4870, + "value": "delay", + "start": 5362, + "end": 5367, "loc": { "start": { - "line": 146, - "column": 8 + "line": 164, + "column": 21 }, "end": { - "line": 146, - "column": 9 + "line": 164, + "column": 26 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "return", - "start": 4880, - "end": 4886, + "value": "=", + "start": 5368, + "end": 5369, "loc": { "start": { - "line": 147, - "column": 8 + "line": 164, + "column": 27 }, "end": { - "line": 147, - "column": 14 + "line": 164, + "column": 28 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -34634,20 +36250,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 4887, - "end": 4891, + "value": "pDelay", + "start": 5370, + "end": 5376, "loc": { "start": { - "line": 147, - "column": 15 + "line": 164, + "column": 29 }, "end": { - "line": 147, - "column": 19 + "line": 164, + "column": 35 } } }, @@ -34664,16 +36279,16 @@ "binop": null, "updateContext": null }, - "start": 4891, - "end": 4892, + "start": 5376, + "end": 5377, "loc": { "start": { - "line": 147, - "column": 19 + "line": 164, + "column": 35 }, "end": { - "line": 147, - "column": 20 + "line": 164, + "column": 36 } } }, @@ -34689,39 +36304,51 @@ "postfix": false, "binop": null }, - "start": 4898, - "end": 4899, + "start": 5391, + "end": 5392, "loc": { "start": { - "line": 148, - "column": 4 + "line": 165, + "column": 12 }, "end": { - "line": 148, - "column": 5 + "line": 165, + "column": 13 } } }, { - "type": "CommentBlock", - "value": "*\r\n * Gets the data URL of this icon.\r\n * @returns {DataURL} - The base64 data of this image.\r\n ", - "start": 4905, - "end": 5017, + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 5393, + "end": 5397, "loc": { "start": { - "line": 149, - "column": 4 + "line": 165, + "column": 14 }, "end": { - "line": 152, - "column": 7 + "line": 165, + "column": 18 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -34730,24 +36357,23 @@ "postfix": false, "binop": null }, - "value": "getDataURL", - "start": 5023, - "end": 5033, + "start": 5398, + "end": 5399, "loc": { "start": { - "line": 153, - "column": 4 + "line": 165, + "column": 19 }, "end": { - "line": 153, - "column": 14 + "line": 165, + "column": 20 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -34756,22 +36382,23 @@ "postfix": false, "binop": null }, - "start": 5033, - "end": 5034, + "value": "VYI", + "start": 5417, + "end": 5420, "loc": { "start": { - "line": 153, - "column": 14 + "line": 166, + "column": 16 }, "end": { - "line": 153, - "column": 15 + "line": 166, + "column": 19 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -34779,25 +36406,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5034, - "end": 5035, + "start": 5420, + "end": 5421, "loc": { "start": { - "line": 153, - "column": 15 + "line": 166, + "column": 19 }, "end": { - "line": 153, - "column": 16 + "line": 166, + "column": 20 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -34806,24 +36434,24 @@ "postfix": false, "binop": null }, - "start": 5036, - "end": 5037, + "value": "logger", + "start": 5421, + "end": 5427, "loc": { "start": { - "line": 153, - "column": 17 + "line": 166, + "column": 20 }, "end": { - "line": 153, - "column": 18 + "line": 166, + "column": 26 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -34833,24 +36461,22 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 5047, - "end": 5053, + "start": 5427, + "end": 5428, "loc": { "start": { - "line": 154, - "column": 8 + "line": 166, + "column": 26 }, "end": { - "line": 154, - "column": 14 + "line": 166, + "column": 27 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -34858,52 +36484,50 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 5054, - "end": 5058, + "value": "prefix", + "start": 5428, + "end": 5434, "loc": { "start": { - "line": 154, - "column": 15 + "line": 166, + "column": 27 }, "end": { - "line": 154, - "column": 19 + "line": 166, + "column": 33 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5058, - "end": 5059, + "start": 5434, + "end": 5435, "loc": { "start": { - "line": 154, - "column": 19 + "line": 166, + "column": 33 }, "end": { - "line": 154, - "column": 20 + "line": 166, + "column": 34 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -34911,51 +36535,51 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "dataURL", - "start": 5059, - "end": 5066, + "value": "VYI-module", + "start": 5435, + "end": 5447, "loc": { "start": { - "line": 154, - "column": 20 + "line": 166, + "column": 34 }, "end": { - "line": 154, - "column": 27 + "line": 166, + "column": 46 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5066, - "end": 5067, + "start": 5447, + "end": 5448, "loc": { "start": { - "line": 154, - "column": 27 + "line": 166, + "column": 46 }, "end": { - "line": 154, - "column": 28 + "line": 166, + "column": 47 } } }, { "type": { - "label": "}", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -34963,34 +36587,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5073, - "end": 5074, - "loc": { - "start": { - "line": 155, - "column": 4 - }, - "end": { - "line": 155, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\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 ", - "start": 5080, - "end": 5244, + "start": 5448, + "end": 5449, "loc": { "start": { - "line": 156, - "column": 4 + "line": 166, + "column": 47 }, "end": { - "line": 160, - "column": 7 + "line": 166, + "column": 48 } } }, @@ -35006,17 +36615,17 @@ "postfix": false, "binop": null }, - "value": "setDelay", - "start": 5250, - "end": 5258, + "value": "error", + "start": 5449, + "end": 5454, "loc": { "start": { - "line": 161, - "column": 4 + "line": 166, + "column": 48 }, "end": { - "line": 161, - "column": 12 + "line": 166, + "column": 53 } } }, @@ -35032,22 +36641,22 @@ "postfix": false, "binop": null }, - "start": 5258, - "end": 5259, + "start": 5454, + "end": 5455, "loc": { "start": { - "line": 161, - "column": 12 + "line": 166, + "column": 53 }, "end": { - "line": 161, - "column": 13 + "line": 166, + "column": 54 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -35055,19 +36664,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "pDelay", - "start": 5259, - "end": 5265, + "value": "Invalid delay type!", + "start": 5455, + "end": 5476, "loc": { "start": { - "line": 161, - "column": 13 + "line": 166, + "column": 54 }, "end": { - "line": 161, - "column": 19 + "line": 166, + "column": 75 } } }, @@ -35083,48 +36693,48 @@ "postfix": false, "binop": null }, - "start": 5265, - "end": 5266, + "start": 5476, + "end": 5477, "loc": { "start": { - "line": 161, - "column": 19 + "line": 166, + "column": 75 }, "end": { - "line": 161, - "column": 20 + "line": 166, + "column": 76 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5267, - "end": 5268, + "start": 5477, + "end": 5478, "loc": { "start": { - "line": 161, - "column": 21 + "line": 166, + "column": 76 }, "end": { - "line": 161, - "column": 22 + "line": 166, + "column": 77 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -35132,28 +36742,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 5278, - "end": 5280, + "start": 5492, + "end": 5493, "loc": { "start": { - "line": 162, - "column": 8 + "line": 167, + "column": 12 }, "end": { - "line": 162, - "column": 10 + "line": 167, + "column": 13 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -35161,99 +36769,104 @@ "postfix": false, "binop": null }, - "start": 5281, - "end": 5282, + "start": 5503, + "end": 5504, "loc": { "start": { - "line": 162, - "column": 11 + "line": 168, + "column": 8 }, "end": { - "line": 162, - "column": 12 + "line": 168, + "column": 9 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "pDelay", - "start": 5282, - "end": 5288, + "value": "return", + "start": 5514, + "end": 5520, "loc": { "start": { - "line": 162, - "column": 12 + "line": 169, + "column": 8 }, "end": { - "line": 162, - "column": 18 + "line": 169, + "column": 14 } } }, { "type": { - "label": ")", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5288, - "end": 5289, + "value": "this", + "start": 5521, + "end": 5525, "loc": { "start": { - "line": 162, - "column": 18 + "line": 169, + "column": 15 }, "end": { - "line": 162, + "line": 169, "column": 19 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5290, - "end": 5291, + "start": 5525, + "end": 5526, "loc": { "start": { - "line": 162, - "column": 20 + "line": 169, + "column": 19 }, "end": { - "line": 162, - "column": 21 + "line": 169, + "column": 20 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -35261,73 +36874,60 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 5305, - "end": 5307, + "start": 5532, + "end": 5533, "loc": { "start": { - "line": 163, - "column": 12 + "line": 170, + "column": 4 }, "end": { - "line": 163, - "column": 14 + "line": 170, + "column": 5 } } }, { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5308, - "end": 5309, + "type": "CommentBlock", + "value": "*\r\n * Gets the delay of this icon.\r\n * @returns {number} The delay of this icon.\r\n ", + "start": 5539, + "end": 5638, "loc": { "start": { - "line": 163, - "column": 15 + "line": 171, + "column": 4 }, "end": { - "line": 163, - "column": 16 + "line": 174, + "column": 7 } } }, { "type": { - "label": "typeof", - "keyword": "typeof", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "typeof", - "start": 5309, - "end": 5315, + "value": "getDelay", + "start": 5644, + "end": 5652, "loc": { "start": { - "line": 163, - "column": 16 + "line": 175, + "column": 4 }, "end": { - "line": 163, - "column": 22 + "line": 175, + "column": 12 } } }, @@ -35343,24 +36943,24 @@ "postfix": false, "binop": null }, - "start": 5315, - "end": 5316, + "start": 5652, + "end": 5653, "loc": { "start": { - "line": 163, - "column": 22 + "line": 175, + "column": 12 }, "end": { - "line": 163, - "column": 23 + "line": 175, + "column": 13 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -35368,25 +36968,24 @@ "postfix": false, "binop": null }, - "value": "pDelay", - "start": 5316, - "end": 5322, + "start": 5653, + "end": 5654, "loc": { "start": { - "line": 163, - "column": 23 + "line": 175, + "column": 13 }, "end": { - "line": 163, - "column": 29 + "line": 175, + "column": 14 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -35394,22 +36993,23 @@ "postfix": false, "binop": null }, - "start": 5322, - "end": 5323, + "start": 5655, + "end": 5656, "loc": { "start": { - "line": 163, - "column": 29 + "line": 175, + "column": 15 }, "end": { - "line": 163, - "column": 30 + "line": 175, + "column": 16 } } }, { "type": { - "label": "==/!=", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -35417,26 +37017,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, + "binop": null, "updateContext": null }, - "value": "===", - "start": 5324, - "end": 5327, + "value": "return", + "start": 5666, + "end": 5672, "loc": { "start": { - "line": 163, - "column": 31 + "line": 176, + "column": 8 }, "end": { - "line": 163, - "column": 34 + "line": 176, + "column": 14 } } }, { "type": { - "label": "string", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -35447,23 +37048,23 @@ "binop": null, "updateContext": null }, - "value": "number", - "start": 5328, - "end": 5336, + "value": "this", + "start": 5673, + "end": 5677, "loc": { "start": { - "line": 163, - "column": 35 + "line": 176, + "column": 15 }, "end": { - "line": 163, - "column": 43 + "line": 176, + "column": 19 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -35471,25 +37072,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5336, - "end": 5337, + "start": 5677, + "end": 5678, "loc": { "start": { - "line": 163, - "column": 43 + "line": 176, + "column": 19 }, "end": { - "line": 163, - "column": 44 + "line": 176, + "column": 20 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -35498,25 +37100,25 @@ "postfix": false, "binop": null }, - "start": 5338, - "end": 5339, + "value": "delay", + "start": 5678, + "end": 5683, "loc": { "start": { - "line": 163, - "column": 45 + "line": 176, + "column": 20 }, "end": { - "line": 163, - "column": 46 + "line": 176, + "column": 25 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -35525,23 +37127,22 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 5357, - "end": 5361, + "start": 5683, + "end": 5684, "loc": { "start": { - "line": 164, - "column": 16 + "line": 176, + "column": 25 }, "end": { - "line": 164, - "column": 20 + "line": 176, + "column": 26 } } }, { "type": { - "label": ".", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -35549,19 +37150,34 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5361, - "end": 5362, + "start": 5690, + "end": 5691, "loc": { "start": { - "line": 164, - "column": 20 + "line": 177, + "column": 4 }, "end": { - "line": 164, - "column": 21 + "line": 177, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\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 ", + "start": 5697, + "end": 5850, + "loc": { + "start": { + "line": 178, + "column": 4 + }, + "end": { + "line": 182, + "column": 7 } } }, @@ -35577,44 +37193,42 @@ "postfix": false, "binop": null }, - "value": "delay", - "start": 5362, - "end": 5367, + "value": "rename", + "start": 5856, + "end": 5862, "loc": { "start": { - "line": 164, - "column": 21 + "line": 183, + "column": 4 }, "end": { - "line": 164, - "column": 26 + "line": 183, + "column": 10 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 5368, - "end": 5369, + "start": 5862, + "end": 5863, "loc": { "start": { - "line": 164, - "column": 27 + "line": 183, + "column": 10 }, "end": { - "line": 164, - "column": 28 + "line": 183, + "column": 11 } } }, @@ -35630,51 +37244,50 @@ "postfix": false, "binop": null }, - "value": "pDelay", - "start": 5370, - "end": 5376, + "value": "pName", + "start": 5863, + "end": 5868, "loc": { "start": { - "line": 164, - "column": 29 + "line": 183, + "column": 11 }, "end": { - "line": 164, - "column": 35 + "line": 183, + "column": 16 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5376, - "end": 5377, + "start": 5868, + "end": 5869, "loc": { "start": { - "line": 164, - "column": 35 + "line": 183, + "column": 16 }, "end": { - "line": 164, - "column": 36 + "line": 183, + "column": 17 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -35682,24 +37295,24 @@ "postfix": false, "binop": null }, - "start": 5391, - "end": 5392, + "start": 5870, + "end": 5871, "loc": { "start": { - "line": 165, - "column": 12 + "line": 183, + "column": 18 }, "end": { - "line": 165, - "column": 13 + "line": 183, + "column": 19 } } }, { "type": { - "label": "else", - "keyword": "else", - "beforeExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -35709,23 +37322,23 @@ "binop": null, "updateContext": null }, - "value": "else", - "start": 5393, - "end": 5397, + "value": "if", + "start": 5881, + "end": 5883, "loc": { "start": { - "line": 165, - "column": 14 + "line": 184, + "column": 8 }, "end": { - "line": 165, - "column": 18 + "line": 184, + "column": 10 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -35735,16 +37348,16 @@ "postfix": false, "binop": null }, - "start": 5398, - "end": 5399, + "start": 5884, + "end": 5885, "loc": { "start": { - "line": 165, - "column": 19 + "line": 184, + "column": 11 }, "end": { - "line": 165, - "column": 20 + "line": 184, + "column": 12 } } }, @@ -35760,42 +37373,43 @@ "postfix": false, "binop": null }, - "value": "VYI", - "start": 5417, - "end": 5420, + "value": "pName", + "start": 5885, + "end": 5890, "loc": { "start": { - "line": 166, - "column": 16 + "line": 184, + "column": 12 }, "end": { - "line": 166, - "column": 19 + "line": 184, + "column": 17 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "||", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 1, "updateContext": null }, - "start": 5420, - "end": 5421, + "value": "||", + "start": 5891, + "end": 5893, "loc": { "start": { - "line": 166, - "column": 19 + "line": 184, + "column": 18 }, "end": { - "line": 166, + "line": 184, "column": 20 } } @@ -35812,49 +37426,50 @@ "postfix": false, "binop": null }, - "value": "logger", - "start": 5421, - "end": 5427, + "value": "pName", + "start": 5894, + "end": 5899, "loc": { "start": { - "line": 166, - "column": 20 + "line": 184, + "column": 21 }, "end": { - "line": 166, + "line": 184, "column": 26 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "==/!=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "start": 5427, - "end": 5428, + "value": "===", + "start": 5900, + "end": 5903, "loc": { "start": { - "line": 166, - "column": 26 + "line": 184, + "column": 27 }, "end": { - "line": 166, - "column": 27 + "line": 184, + "column": 30 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -35862,27 +37477,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "prefix", - "start": 5428, - "end": 5434, + "value": "", + "start": 5904, + "end": 5906, "loc": { "start": { - "line": 166, - "column": 27 + "line": 184, + "column": 31 }, "end": { - "line": 166, + "line": 184, "column": 33 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -35890,49 +37506,48 @@ "postfix": false, "binop": null }, - "start": 5434, - "end": 5435, + "start": 5906, + "end": 5907, "loc": { "start": { - "line": 166, + "line": 184, "column": 33 }, "end": { - "line": 166, + "line": 184, "column": 34 } } }, { "type": { - "label": "string", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "VYI-module", - "start": 5435, - "end": 5447, + "start": 5908, + "end": 5909, "loc": { "start": { - "line": 166, - "column": 34 + "line": 184, + "column": 35 }, "end": { - "line": 166, - "column": 46 + "line": 184, + "column": 36 } } }, { "type": { - "label": ")", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -35940,70 +37555,73 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5447, - "end": 5448, + "value": "if", + "start": 5923, + "end": 5925, "loc": { "start": { - "line": 166, - "column": 46 + "line": 185, + "column": 12 }, "end": { - "line": 166, - "column": 47 + "line": 185, + "column": 14 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5448, - "end": 5449, + "start": 5926, + "end": 5927, "loc": { "start": { - "line": 166, - "column": 47 + "line": 185, + "column": 15 }, "end": { - "line": 166, - "column": 48 + "line": 185, + "column": 16 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "typeof", + "keyword": "typeof", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "error", - "start": 5449, - "end": 5454, + "value": "typeof", + "start": 5927, + "end": 5933, "loc": { "start": { - "line": 166, - "column": 48 + "line": 185, + "column": 16 }, "end": { - "line": 166, - "column": 53 + "line": 185, + "column": 22 } } }, @@ -36019,22 +37637,22 @@ "postfix": false, "binop": null }, - "start": 5454, - "end": 5455, + "start": 5933, + "end": 5934, "loc": { "start": { - "line": 166, - "column": 53 + "line": 185, + "column": 22 }, "end": { - "line": 166, - "column": 54 + "line": 185, + "column": 23 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -36042,20 +37660,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "Invalid delay type!", - "start": 5455, - "end": 5476, + "value": "pName", + "start": 5934, + "end": 5939, "loc": { "start": { - "line": 166, - "column": 54 + "line": 185, + "column": 23 }, "end": { - "line": 166, - "column": 75 + "line": 185, + "column": 28 } } }, @@ -36071,22 +37688,22 @@ "postfix": false, "binop": null }, - "start": 5476, - "end": 5477, + "start": 5939, + "end": 5940, "loc": { "start": { - "line": 166, - "column": 75 + "line": 185, + "column": 28 }, "end": { - "line": 166, - "column": 76 + "line": 185, + "column": 29 } } }, { "type": { - "label": ";", + "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -36094,50 +37711,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "start": 5477, - "end": 5478, + "value": "===", + "start": 5941, + "end": 5944, "loc": { "start": { - "line": 166, - "column": 76 + "line": 185, + "column": 30 }, "end": { - "line": 166, - "column": 77 + "line": 185, + "column": 33 } } }, { "type": { - "label": "}", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5492, - "end": 5493, + "value": "string", + "start": 5945, + "end": 5953, "loc": { "start": { - "line": 167, - "column": 12 + "line": 185, + "column": 34 }, "end": { - "line": 167, - "column": 13 + "line": 185, + "column": 42 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -36147,44 +37767,41 @@ "postfix": false, "binop": null }, - "start": 5503, - "end": 5504, + "start": 5953, + "end": 5954, "loc": { "start": { - "line": 168, - "column": 8 + "line": 185, + "column": 42 }, "end": { - "line": 168, - "column": 9 + "line": 185, + "column": 43 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 5514, - "end": 5520, + "start": 5955, + "end": 5956, "loc": { "start": { - "line": 169, - "column": 8 + "line": 185, + "column": 44 }, "end": { - "line": 169, - "column": 14 + "line": 185, + "column": 45 } } }, @@ -36203,23 +37820,23 @@ "updateContext": null }, "value": "this", - "start": 5521, - "end": 5525, + "start": 5974, + "end": 5978, "loc": { "start": { - "line": 169, - "column": 15 + "line": 186, + "column": 16 }, "end": { - "line": 169, - "column": 19 + "line": 186, + "column": 20 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -36229,24 +37846,24 @@ "binop": null, "updateContext": null }, - "start": 5525, - "end": 5526, + "start": 5978, + "end": 5979, "loc": { "start": { - "line": 169, - "column": 19 + "line": 186, + "column": 20 }, "end": { - "line": 169, - "column": 20 + "line": 186, + "column": 21 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -36254,32 +37871,44 @@ "postfix": false, "binop": null }, - "start": 5532, - "end": 5533, + "value": "name", + "start": 5979, + "end": 5983, "loc": { "start": { - "line": 170, - "column": 4 + "line": 186, + "column": 21 }, "end": { - "line": 170, - "column": 5 + "line": 186, + "column": 25 } } }, { - "type": "CommentBlock", - "value": "*\r\n * Gets the delay of this icon.\r\n * @returns {number} The delay of this icon.\r\n ", - "start": 5539, - "end": 5638, + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 5984, + "end": 5985, "loc": { "start": { - "line": 171, - "column": 4 + "line": 186, + "column": 26 }, "end": { - "line": 174, - "column": 7 + "line": 186, + "column": 27 } } }, @@ -36295,48 +37924,49 @@ "postfix": false, "binop": null }, - "value": "getDelay", - "start": 5644, - "end": 5652, + "value": "pName", + "start": 5986, + "end": 5991, "loc": { "start": { - "line": 175, - "column": 4 + "line": 186, + "column": 28 }, "end": { - "line": 175, - "column": 12 + "line": 186, + "column": 33 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5652, - "end": 5653, + "start": 5991, + "end": 5992, "loc": { "start": { - "line": 175, - "column": 12 + "line": 186, + "column": 33 }, "end": { - "line": 175, - "column": 13 + "line": 186, + "column": 34 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -36346,76 +37976,75 @@ "postfix": false, "binop": null }, - "start": 5653, - "end": 5654, + "start": 6006, + "end": 6007, "loc": { "start": { - "line": 175, - "column": 13 + "line": 187, + "column": 12 }, "end": { - "line": 175, - "column": 14 + "line": 187, + "column": 13 } } }, { "type": { - "label": "{", + "label": "else", + "keyword": "else", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5655, - "end": 5656, + "value": "else", + "start": 6008, + "end": 6012, "loc": { "start": { - "line": 175, - "column": 15 + "line": 187, + "column": 14 }, "end": { - "line": 175, - "column": 16 + "line": 187, + "column": 18 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 5666, - "end": 5672, + "start": 6013, + "end": 6014, "loc": { "start": { - "line": 176, - "column": 8 + "line": 187, + "column": 19 }, "end": { - "line": 176, - "column": 14 + "line": 187, + "column": 20 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -36423,19 +38052,18 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 5673, - "end": 5677, + "value": "VYI", + "start": 6032, + "end": 6035, "loc": { "start": { - "line": 176, - "column": 15 + "line": 188, + "column": 16 }, "end": { - "line": 176, + "line": 188, "column": 19 } } @@ -36453,15 +38081,15 @@ "binop": null, "updateContext": null }, - "start": 5677, - "end": 5678, + "start": 6035, + "end": 6036, "loc": { "start": { - "line": 176, + "line": 188, "column": 19 }, "end": { - "line": 176, + "line": 188, "column": 20 } } @@ -36478,24 +38106,24 @@ "postfix": false, "binop": null }, - "value": "delay", - "start": 5678, - "end": 5683, + "value": "logger", + "start": 6036, + "end": 6042, "loc": { "start": { - "line": 176, + "line": 188, "column": 20 }, "end": { - "line": 176, - "column": 25 + "line": 188, + "column": 26 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -36505,57 +38133,16 @@ "binop": null, "updateContext": null }, - "start": 5683, - "end": 5684, + "start": 6042, + "end": 6043, "loc": { "start": { - "line": 176, - "column": 25 - }, - "end": { - "line": 176, + "line": 188, "column": 26 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5690, - "end": 5691, - "loc": { - "start": { - "line": 177, - "column": 4 - }, - "end": { - "line": 177, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\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 ", - "start": 5697, - "end": 5850, - "loc": { - "start": { - "line": 178, - "column": 4 }, "end": { - "line": 182, - "column": 7 + "line": 188, + "column": 27 } } }, @@ -36571,17 +38158,17 @@ "postfix": false, "binop": null }, - "value": "rename", - "start": 5856, - "end": 5862, + "value": "prefix", + "start": 6043, + "end": 6049, "loc": { "start": { - "line": 183, - "column": 4 + "line": 188, + "column": 27 }, "end": { - "line": 183, - "column": 10 + "line": 188, + "column": 33 } } }, @@ -36597,22 +38184,22 @@ "postfix": false, "binop": null }, - "start": 5862, - "end": 5863, + "start": 6049, + "end": 6050, "loc": { "start": { - "line": 183, - "column": 10 + "line": 188, + "column": 33 }, "end": { - "line": 183, - "column": 11 + "line": 188, + "column": 34 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -36620,19 +38207,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "pName", - "start": 5863, - "end": 5868, + "value": "VYI-Module", + "start": 6050, + "end": 6062, "loc": { "start": { - "line": 183, - "column": 11 + "line": 188, + "column": 34 }, "end": { - "line": 183, - "column": 16 + "line": 188, + "column": 46 } } }, @@ -36648,48 +38236,22 @@ "postfix": false, "binop": null }, - "start": 5868, - "end": 5869, - "loc": { - "start": { - "line": 183, - "column": 16 - }, - "end": { - "line": 183, - "column": 17 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5870, - "end": 5871, + "start": 6062, + "end": 6063, "loc": { "start": { - "line": 183, - "column": 18 + "line": 188, + "column": 46 }, "end": { - "line": 183, - "column": 19 + "line": 188, + "column": 47 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -36700,24 +38262,23 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 5881, - "end": 5883, + "start": 6063, + "end": 6064, "loc": { "start": { - "line": 184, - "column": 8 + "line": 188, + "column": 47 }, "end": { - "line": 184, - "column": 10 + "line": 188, + "column": 48 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -36726,23 +38287,24 @@ "postfix": false, "binop": null }, - "start": 5884, - "end": 5885, + "value": "error", + "start": 6064, + "end": 6069, "loc": { "start": { - "line": 184, - "column": 11 + "line": 188, + "column": 48 }, "end": { - "line": 184, - "column": 12 + "line": 188, + "column": 53 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -36751,52 +38313,51 @@ "postfix": false, "binop": null }, - "value": "pName", - "start": 5885, - "end": 5890, + "start": 6069, + "end": 6070, "loc": { "start": { - "line": 184, - "column": 12 + "line": 188, + "column": 53 }, "end": { - "line": 184, - "column": 17 + "line": 188, + "column": 54 } } }, { "type": { - "label": "||", - "beforeExpr": true, - "startsExpr": false, + "label": "string", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 1, + "binop": null, "updateContext": null }, - "value": "||", - "start": 5891, - "end": 5893, + "value": "Invalid type for pName!", + "start": 6070, + "end": 6095, "loc": { "start": { - "line": 184, - "column": 18 + "line": 188, + "column": 54 }, "end": { - "line": 184, - "column": 20 + "line": 188, + "column": 79 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -36804,23 +38365,22 @@ "postfix": false, "binop": null }, - "value": "pName", - "start": 5894, - "end": 5899, + "start": 6095, + "end": 6096, "loc": { "start": { - "line": 184, - "column": 21 + "line": 188, + "column": 79 }, "end": { - "line": 184, - "column": 26 + "line": 188, + "column": 80 } } }, { "type": { - "label": "==/!=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -36828,53 +38388,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 5900, - "end": 5903, - "loc": { - "start": { - "line": 184, - "column": 27 - }, - "end": { - "line": 184, - "column": 30 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, "binop": null, "updateContext": null }, - "value": "", - "start": 5904, - "end": 5906, + "start": 6096, + "end": 6097, "loc": { "start": { - "line": 184, - "column": 31 + "line": 188, + "column": 80 }, "end": { - "line": 184, - "column": 33 + "line": 188, + "column": 81 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -36884,24 +38416,24 @@ "postfix": false, "binop": null }, - "start": 5906, - "end": 5907, + "start": 6111, + "end": 6112, "loc": { "start": { - "line": 184, - "column": 33 + "line": 189, + "column": 12 }, "end": { - "line": 184, - "column": 34 + "line": 189, + "column": 13 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -36909,24 +38441,24 @@ "postfix": false, "binop": null }, - "start": 5908, - "end": 5909, + "start": 6122, + "end": 6123, "loc": { "start": { - "line": 184, - "column": 35 + "line": 190, + "column": 8 }, "end": { - "line": 184, - "column": 36 + "line": 190, + "column": 9 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, + "label": "return", + "keyword": "return", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -36936,78 +38468,79 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 5923, - "end": 5925, + "value": "return", + "start": 6133, + "end": 6139, "loc": { "start": { - "line": 185, - "column": 12 + "line": 191, + "column": 8 }, "end": { - "line": 185, + "line": 191, "column": 14 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "this", + "keyword": "this", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5926, - "end": 5927, + "value": "this", + "start": 6140, + "end": 6144, "loc": { "start": { - "line": 185, + "line": 191, "column": 15 }, "end": { - "line": 185, - "column": 16 + "line": 191, + "column": 19 } } }, { "type": { - "label": "typeof", - "keyword": "typeof", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "typeof", - "start": 5927, - "end": 5933, + "start": 6144, + "end": 6145, "loc": { "start": { - "line": 185, - "column": 16 + "line": 191, + "column": 19 }, "end": { - "line": 185, - "column": 22 + "line": 191, + "column": 20 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -37015,50 +38548,40 @@ "postfix": false, "binop": null }, - "start": 5933, - "end": 5934, + "start": 6151, + "end": 6152, "loc": { "start": { - "line": 185, - "column": 22 + "line": 192, + "column": 4 }, "end": { - "line": 185, - "column": 23 + "line": 192, + "column": 5 } } }, { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pName", - "start": 5934, - "end": 5939, + "type": "CommentBlock", + "value": "*\r\n * Returns the name of this icon.\r\n * @returns {string} The name of this icon.\r\n ", + "start": 6158, + "end": 6258, "loc": { "start": { - "line": 185, - "column": 23 + "line": 193, + "column": 4 }, "end": { - "line": 185, - "column": 28 + "line": 196, + "column": 7 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -37066,78 +38589,75 @@ "postfix": false, "binop": null }, - "start": 5939, - "end": 5940, + "value": "getName", + "start": 6264, + "end": 6271, "loc": { "start": { - "line": 185, - "column": 28 + "line": 197, + "column": 4 }, "end": { - "line": 185, - "column": 29 + "line": 197, + "column": 11 } } }, { "type": { - "label": "==/!=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, - "updateContext": null + "binop": null }, - "value": "===", - "start": 5941, - "end": 5944, + "start": 6271, + "end": 6272, "loc": { "start": { - "line": 185, - "column": 30 + "line": 197, + "column": 11 }, "end": { - "line": 185, - "column": 33 + "line": 197, + "column": 12 } } }, { "type": { - "label": "string", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "string", - "start": 5945, - "end": 5953, + "start": 6272, + "end": 6273, "loc": { "start": { - "line": 185, - "column": 34 + "line": 197, + "column": 12 }, "end": { - "line": 185, - "column": 42 + "line": 197, + "column": 13 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -37145,41 +38665,44 @@ "postfix": false, "binop": null }, - "start": 5953, - "end": 5954, + "start": 6274, + "end": 6275, "loc": { "start": { - "line": 185, - "column": 42 + "line": 197, + "column": 14 }, "end": { - "line": 185, - "column": 43 + "line": 197, + "column": 15 } } }, { "type": { - "label": "{", + "label": "return", + "keyword": "return", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5955, - "end": 5956, + "value": "return", + "start": 6285, + "end": 6291, "loc": { "start": { - "line": 185, - "column": 44 + "line": 198, + "column": 8 }, "end": { - "line": 185, - "column": 45 + "line": 198, + "column": 14 } } }, @@ -37198,16 +38721,16 @@ "updateContext": null }, "value": "this", - "start": 5974, - "end": 5978, + "start": 6292, + "end": 6296, "loc": { "start": { - "line": 186, - "column": 16 + "line": 198, + "column": 15 }, "end": { - "line": 186, - "column": 20 + "line": 198, + "column": 19 } } }, @@ -37224,16 +38747,16 @@ "binop": null, "updateContext": null }, - "start": 5978, - "end": 5979, + "start": 6296, + "end": 6297, "loc": { "start": { - "line": 186, - "column": 20 + "line": 198, + "column": 19 }, "end": { - "line": 186, - "column": 21 + "line": 198, + "column": 20 } } }, @@ -37250,51 +38773,50 @@ "binop": null }, "value": "name", - "start": 5979, - "end": 5983, + "start": 6297, + "end": 6301, "loc": { "start": { - "line": 186, - "column": 21 + "line": 198, + "column": 20 }, "end": { - "line": 186, - "column": 25 + "line": 198, + "column": 24 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 5984, - "end": 5985, + "start": 6301, + "end": 6302, "loc": { "start": { - "line": 186, - "column": 26 + "line": 198, + "column": 24 }, "end": { - "line": 186, - "column": 27 + "line": 198, + "column": 25 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -37302,51 +38824,40 @@ "postfix": false, "binop": null }, - "value": "pName", - "start": 5986, - "end": 5991, + "start": 6308, + "end": 6309, "loc": { "start": { - "line": 186, - "column": 28 + "line": 199, + "column": 4 }, "end": { - "line": 186, - "column": 33 + "line": 199, + "column": 5 } } }, { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5991, - "end": 5992, + "type": "CommentBlock", + "value": "*\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 ", + "start": 6315, + "end": 6506, "loc": { "start": { - "line": 186, - "column": 33 + "line": 200, + "column": 4 }, "end": { - "line": 186, - "column": 34 + "line": 204, + "column": 7 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -37354,51 +38865,49 @@ "postfix": false, "binop": null }, - "start": 6006, - "end": 6007, + "value": "setAllFrameDelays", + "start": 6512, + "end": 6529, "loc": { "start": { - "line": 187, - "column": 12 + "line": 205, + "column": 4 }, "end": { - "line": 187, - "column": 13 + "line": 205, + "column": 21 } } }, { "type": { - "label": "else", - "keyword": "else", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "else", - "start": 6008, - "end": 6012, + "start": 6529, + "end": 6530, "loc": { "start": { - "line": 187, - "column": 14 + "line": 205, + "column": 21 }, "end": { - "line": 187, - "column": 18 + "line": 205, + "column": 22 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -37407,24 +38916,25 @@ "postfix": false, "binop": null }, - "start": 6013, - "end": 6014, + "value": "pDelay", + "start": 6530, + "end": 6536, "loc": { "start": { - "line": 187, - "column": 19 + "line": 205, + "column": 22 }, "end": { - "line": 187, - "column": 20 + "line": 205, + "column": 28 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -37432,95 +38942,94 @@ "postfix": false, "binop": null }, - "value": "VYI", - "start": 6032, - "end": 6035, + "start": 6536, + "end": 6537, "loc": { "start": { - "line": 188, - "column": 16 + "line": 205, + "column": 28 }, "end": { - "line": 188, - "column": 19 + "line": 205, + "column": 29 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 6035, - "end": 6036, + "start": 6538, + "end": 6539, "loc": { "start": { - "line": 188, - "column": 19 + "line": 205, + "column": 30 }, "end": { - "line": 188, - "column": 20 + "line": 205, + "column": 31 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "logger", - "start": 6036, - "end": 6042, + "value": "if", + "start": 6549, + "end": 6551, "loc": { "start": { - "line": 188, - "column": 20 + "line": 206, + "column": 8 }, "end": { - "line": 188, - "column": 26 + "line": 206, + "column": 10 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 6042, - "end": 6043, + "start": 6552, + "end": 6553, "loc": { "start": { - "line": 188, - "column": 26 + "line": 206, + "column": 11 }, "end": { - "line": 188, - "column": 27 + "line": 206, + "column": 12 } } }, @@ -37536,25 +39045,25 @@ "postfix": false, "binop": null }, - "value": "prefix", - "start": 6043, - "end": 6049, + "value": "pDelay", + "start": 6553, + "end": 6559, "loc": { "start": { - "line": 188, - "column": 27 + "line": 206, + "column": 12 }, "end": { - "line": 188, - "column": 33 + "line": 206, + "column": 18 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -37562,49 +39071,48 @@ "postfix": false, "binop": null }, - "start": 6049, - "end": 6050, + "start": 6559, + "end": 6560, "loc": { "start": { - "line": 188, - "column": 33 + "line": 206, + "column": 18 }, "end": { - "line": 188, - "column": 34 + "line": 206, + "column": 19 } } }, { "type": { - "label": "string", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "VYI-Module", - "start": 6050, - "end": 6062, + "start": 6561, + "end": 6562, "loc": { "start": { - "line": 188, - "column": 34 + "line": 206, + "column": 20 }, "end": { - "line": 188, - "column": 46 + "line": 206, + "column": 21 } } }, { "type": { - "label": ")", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -37612,70 +39120,73 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 6062, - "end": 6063, + "value": "if", + "start": 6576, + "end": 6578, "loc": { "start": { - "line": 188, - "column": 46 + "line": 207, + "column": 12 }, "end": { - "line": 188, - "column": 47 + "line": 207, + "column": 14 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 6063, - "end": 6064, + "start": 6579, + "end": 6580, "loc": { "start": { - "line": 188, - "column": 47 + "line": 207, + "column": 15 }, "end": { - "line": 188, - "column": 48 + "line": 207, + "column": 16 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "typeof", + "keyword": "typeof", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "error", - "start": 6064, - "end": 6069, + "value": "typeof", + "start": 6580, + "end": 6586, "loc": { "start": { - "line": 188, - "column": 48 + "line": 207, + "column": 16 }, "end": { - "line": 188, - "column": 53 + "line": 207, + "column": 22 } } }, @@ -37691,22 +39202,22 @@ "postfix": false, "binop": null }, - "start": 6069, - "end": 6070, + "start": 6586, + "end": 6587, "loc": { "start": { - "line": 188, - "column": 53 + "line": 207, + "column": 22 }, "end": { - "line": 188, - "column": 54 + "line": 207, + "column": 23 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -37714,20 +39225,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "Invalid type for pName!", - "start": 6070, - "end": 6095, + "value": "pDelay", + "start": 6587, + "end": 6593, "loc": { "start": { - "line": 188, - "column": 54 + "line": 207, + "column": 23 }, "end": { - "line": 188, - "column": 79 + "line": 207, + "column": 29 } } }, @@ -37743,22 +39253,22 @@ "postfix": false, "binop": null }, - "start": 6095, - "end": 6096, + "start": 6593, + "end": 6594, "loc": { "start": { - "line": 188, - "column": 79 + "line": 207, + "column": 29 }, "end": { - "line": 188, - "column": 80 + "line": 207, + "column": 30 } } }, { "type": { - "label": ";", + "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -37766,50 +39276,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "start": 6096, - "end": 6097, + "value": "===", + "start": 6595, + "end": 6598, "loc": { "start": { - "line": 188, - "column": 80 + "line": 207, + "column": 31 }, "end": { - "line": 188, - "column": 81 + "line": 207, + "column": 34 } } }, { "type": { - "label": "}", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 6111, - "end": 6112, + "value": "number", + "start": 6599, + "end": 6607, "loc": { "start": { - "line": 189, - "column": 12 + "line": 207, + "column": 35 }, "end": { - "line": 189, - "column": 13 + "line": 207, + "column": 43 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -37819,44 +39332,41 @@ "postfix": false, "binop": null }, - "start": 6122, - "end": 6123, + "start": 6607, + "end": 6608, "loc": { "start": { - "line": 190, - "column": 8 + "line": 207, + "column": 43 }, "end": { - "line": 190, - "column": 9 + "line": 207, + "column": 44 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 6133, - "end": 6139, + "start": 6609, + "end": 6610, "loc": { "start": { - "line": 191, - "column": 8 + "line": 207, + "column": 45 }, "end": { - "line": 191, - "column": 14 + "line": 207, + "column": 46 } } }, @@ -37875,23 +39385,23 @@ "updateContext": null }, "value": "this", - "start": 6140, - "end": 6144, + "start": 6628, + "end": 6632, "loc": { "start": { - "line": 191, - "column": 15 + "line": 208, + "column": 16 }, "end": { - "line": 191, - "column": 19 + "line": 208, + "column": 20 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -37901,24 +39411,24 @@ "binop": null, "updateContext": null }, - "start": 6144, - "end": 6145, + "start": 6632, + "end": 6633, "loc": { "start": { - "line": 191, - "column": 19 + "line": 208, + "column": 20 }, "end": { - "line": 191, - "column": 20 + "line": 208, + "column": 21 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -37926,32 +39436,43 @@ "postfix": false, "binop": null }, - "start": 6151, - "end": 6152, + "value": "frames", + "start": 6633, + "end": 6639, "loc": { "start": { - "line": 192, - "column": 4 + "line": 208, + "column": 21 }, "end": { - "line": 192, - "column": 5 + "line": 208, + "column": 27 } } }, { - "type": "CommentBlock", - "value": "*\r\n * Returns the name of this icon.\r\n * @returns {string} The name of this icon.\r\n ", - "start": 6158, - "end": 6258, + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6639, + "end": 6640, "loc": { "start": { - "line": 193, - "column": 4 + "line": 208, + "column": 27 }, "end": { - "line": 196, - "column": 7 + "line": 208, + "column": 28 } } }, @@ -37967,17 +39488,17 @@ "postfix": false, "binop": null }, - "value": "getName", - "start": 6264, - "end": 6271, + "value": "forEach", + "start": 6640, + "end": 6647, "loc": { "start": { - "line": 197, - "column": 4 + "line": 208, + "column": 28 }, "end": { - "line": 197, - "column": 11 + "line": 208, + "column": 35 } } }, @@ -37993,24 +39514,24 @@ "postfix": false, "binop": null }, - "start": 6271, - "end": 6272, + "start": 6647, + "end": 6648, "loc": { "start": { - "line": 197, - "column": 11 + "line": 208, + "column": 35 }, "end": { - "line": 197, - "column": 12 + "line": 208, + "column": 36 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -38018,23 +39539,23 @@ "postfix": false, "binop": null }, - "start": 6272, - "end": 6273, + "start": 6648, + "end": 6649, "loc": { "start": { - "line": 197, - "column": 12 + "line": 208, + "column": 36 }, "end": { - "line": 197, - "column": 13 + "line": 208, + "column": 37 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -38043,53 +39564,50 @@ "postfix": false, "binop": null }, - "start": 6274, - "end": 6275, + "value": "pFrame", + "start": 6649, + "end": 6655, "loc": { "start": { - "line": 197, - "column": 14 + "line": 208, + "column": 37 }, "end": { - "line": 197, - "column": 15 + "line": 208, + "column": 43 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 6285, - "end": 6291, + "start": 6655, + "end": 6656, "loc": { "start": { - "line": 198, - "column": 8 + "line": 208, + "column": 43 }, "end": { - "line": 198, - "column": 14 + "line": 208, + "column": 44 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, + "label": "=>", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -38098,43 +39616,41 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 6292, - "end": 6296, + "start": 6657, + "end": 6659, "loc": { "start": { - "line": 198, - "column": 15 + "line": 208, + "column": 45 }, "end": { - "line": 198, - "column": 19 + "line": 208, + "column": 47 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 6296, - "end": 6297, + "start": 6660, + "end": 6661, "loc": { "start": { - "line": 198, - "column": 19 + "line": 208, + "column": 48 }, "end": { - "line": 198, - "column": 20 + "line": 208, + "column": 49 } } }, @@ -38150,24 +39666,24 @@ "postfix": false, "binop": null }, - "value": "name", - "start": 6297, - "end": 6301, + "value": "pFrame", + "start": 6683, + "end": 6689, "loc": { "start": { - "line": 198, + "line": 209, "column": 20 }, "end": { - "line": 198, - "column": 24 + "line": 209, + "column": 26 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -38177,24 +39693,24 @@ "binop": null, "updateContext": null }, - "start": 6301, - "end": 6302, + "start": 6689, + "end": 6690, "loc": { "start": { - "line": 198, - "column": 24 + "line": 209, + "column": 26 }, "end": { - "line": 198, - "column": 25 + "line": 209, + "column": 27 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -38202,32 +39718,42 @@ "postfix": false, "binop": null }, - "start": 6308, - "end": 6309, + "value": "setDelay", + "start": 6690, + "end": 6698, "loc": { "start": { - "line": 199, - "column": 4 + "line": 209, + "column": 27 }, "end": { - "line": 199, - "column": 5 + "line": 209, + "column": 35 } } }, { - "type": "CommentBlock", - "value": "*\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 ", - "start": 6315, - "end": 6506, + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6698, + "end": 6699, "loc": { "start": { - "line": 200, - "column": 4 + "line": 209, + "column": 35 }, "end": { - "line": 204, - "column": 7 + "line": 209, + "column": 36 } } }, @@ -38243,25 +39769,25 @@ "postfix": false, "binop": null }, - "value": "setAllFrameDelays", - "start": 6512, - "end": 6529, + "value": "pDelay", + "start": 6699, + "end": 6705, "loc": { "start": { - "line": 205, - "column": 4 + "line": 209, + "column": 36 }, "end": { - "line": 205, - "column": 21 + "line": 209, + "column": 42 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -38269,24 +39795,50 @@ "postfix": false, "binop": null }, - "start": 6529, - "end": 6530, + "start": 6705, + "end": 6706, "loc": { "start": { - "line": 205, - "column": 21 + "line": 209, + "column": 42 }, "end": { - "line": 205, - "column": 22 + "line": 209, + "column": 43 } } }, { "type": { - "label": "name", + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6706, + "end": 6707, + "loc": { + "start": { + "line": 209, + "column": 43 + }, + "end": { + "line": 209, + "column": 44 + } + } + }, + { + "type": { + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -38294,17 +39846,16 @@ "postfix": false, "binop": null }, - "value": "pDelay", - "start": 6530, - "end": 6536, + "start": 6725, + "end": 6726, "loc": { "start": { - "line": 205, - "column": 22 + "line": 210, + "column": 16 }, "end": { - "line": 205, - "column": 28 + "line": 210, + "column": 17 } } }, @@ -38320,24 +39871,50 @@ "postfix": false, "binop": null }, - "start": 6536, - "end": 6537, + "start": 6726, + "end": 6727, "loc": { "start": { - "line": 205, - "column": 28 + "line": 210, + "column": 17 }, "end": { - "line": 205, - "column": 29 + "line": 210, + "column": 18 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6727, + "end": 6728, + "loc": { + "start": { + "line": 210, + "column": 18 + }, + "end": { + "line": 210, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -38345,24 +39922,24 @@ "postfix": false, "binop": null }, - "start": 6538, - "end": 6539, + "start": 6742, + "end": 6743, "loc": { "start": { - "line": 205, - "column": 30 + "line": 211, + "column": 12 }, "end": { - "line": 205, - "column": 31 + "line": 211, + "column": 13 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, + "label": "else", + "keyword": "else", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -38372,23 +39949,23 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 6549, - "end": 6551, + "value": "else", + "start": 6744, + "end": 6748, "loc": { "start": { - "line": 206, - "column": 8 + "line": 211, + "column": 14 }, "end": { - "line": 206, - "column": 10 + "line": 211, + "column": 18 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -38398,16 +39975,16 @@ "postfix": false, "binop": null }, - "start": 6552, - "end": 6553, + "start": 6749, + "end": 6750, "loc": { "start": { - "line": 206, - "column": 11 + "line": 211, + "column": 19 }, "end": { - "line": 206, - "column": 12 + "line": 211, + "column": 20 } } }, @@ -38423,23 +40000,23 @@ "postfix": false, "binop": null }, - "value": "pDelay", - "start": 6553, - "end": 6559, + "value": "VYI", + "start": 6768, + "end": 6771, "loc": { "start": { - "line": 206, - "column": 12 + "line": 212, + "column": 16 }, "end": { - "line": 206, - "column": 18 + "line": 212, + "column": 19 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -38447,25 +40024,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 6559, - "end": 6560, + "start": 6771, + "end": 6772, "loc": { "start": { - "line": 206, - "column": 18 + "line": 212, + "column": 19 }, "end": { - "line": 206, - "column": 19 + "line": 212, + "column": 20 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -38474,23 +40052,23 @@ "postfix": false, "binop": null }, - "start": 6561, - "end": 6562, + "value": "logger", + "start": 6772, + "end": 6778, "loc": { "start": { - "line": 206, + "line": 212, "column": 20 }, "end": { - "line": 206, - "column": 21 + "line": 212, + "column": 26 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -38501,24 +40079,23 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 6576, - "end": 6578, + "start": 6778, + "end": 6779, "loc": { "start": { - "line": 207, - "column": 12 + "line": 212, + "column": 26 }, "end": { - "line": 207, - "column": 14 + "line": 212, + "column": 27 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -38527,77 +40104,77 @@ "postfix": false, "binop": null }, - "start": 6579, - "end": 6580, + "value": "prefix", + "start": 6779, + "end": 6785, "loc": { "start": { - "line": 207, - "column": 15 + "line": 212, + "column": 27 }, "end": { - "line": 207, - "column": 16 + "line": 212, + "column": 33 } } }, { "type": { - "label": "typeof", - "keyword": "typeof", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "typeof", - "start": 6580, - "end": 6586, + "start": 6785, + "end": 6786, "loc": { "start": { - "line": 207, - "column": 16 + "line": 212, + "column": 33 }, "end": { - "line": 207, - "column": 22 + "line": 212, + "column": 34 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "string", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 6586, - "end": 6587, + "value": "VYI-Module", + "start": 6786, + "end": 6798, "loc": { "start": { - "line": 207, - "column": 22 + "line": 212, + "column": 34 }, "end": { - "line": 207, - "column": 23 + "line": 212, + "column": 46 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -38605,23 +40182,22 @@ "postfix": false, "binop": null }, - "value": "pDelay", - "start": 6587, - "end": 6593, + "start": 6798, + "end": 6799, "loc": { "start": { - "line": 207, - "column": 23 + "line": 212, + "column": 46 }, "end": { - "line": 207, - "column": 29 + "line": 212, + "column": 47 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -38629,105 +40205,105 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 6593, - "end": 6594, + "start": 6799, + "end": 6800, "loc": { "start": { - "line": 207, - "column": 29 + "line": 212, + "column": 47 }, "end": { - "line": 207, - "column": 30 + "line": 212, + "column": 48 } } }, { "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, - "updateContext": null + "binop": null }, - "value": "===", - "start": 6595, - "end": 6598, + "value": "error", + "start": 6800, + "end": 6805, "loc": { "start": { - "line": 207, - "column": 31 + "line": 212, + "column": 48 }, "end": { - "line": 207, - "column": 34 + "line": 212, + "column": 53 } } }, { "type": { - "label": "string", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "number", - "start": 6599, - "end": 6607, + "start": 6805, + "end": 6806, "loc": { "start": { - "line": 207, - "column": 35 + "line": 212, + "column": 53 }, "end": { - "line": 207, - "column": 43 + "line": 212, + "column": 54 } } }, { "type": { - "label": ")", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 6607, - "end": 6608, + "value": "Invalid type for pDelay!", + "start": 6806, + "end": 6832, "loc": { "start": { - "line": 207, - "column": 43 + "line": 212, + "column": 54 }, "end": { - "line": 207, - "column": 44 + "line": 212, + "column": 80 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -38735,25 +40311,24 @@ "postfix": false, "binop": null }, - "start": 6609, - "end": 6610, + "start": 6832, + "end": 6833, "loc": { "start": { - "line": 207, - "column": 45 + "line": 212, + "column": 80 }, "end": { - "line": 207, - "column": 46 + "line": 212, + "column": 81 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -38762,23 +40337,22 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 6628, - "end": 6632, + "start": 6833, + "end": 6834, "loc": { "start": { - "line": 208, - "column": 16 + "line": 212, + "column": 81 }, "end": { - "line": 208, - "column": 20 + "line": 212, + "column": 82 } } }, { "type": { - "label": ".", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -38786,27 +40360,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 6632, - "end": 6633, + "start": 6848, + "end": 6849, "loc": { "start": { - "line": 208, - "column": 20 + "line": 213, + "column": 12 }, "end": { - "line": 208, - "column": 21 + "line": 213, + "column": 13 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -38814,24 +40387,24 @@ "postfix": false, "binop": null }, - "value": "frames", - "start": 6633, - "end": 6639, + "start": 6859, + "end": 6860, "loc": { "start": { - "line": 208, - "column": 21 + "line": 214, + "column": 8 }, "end": { - "line": 208, - "column": 27 + "line": 214, + "column": 9 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "return", + "keyword": "return", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -38841,22 +40414,24 @@ "binop": null, "updateContext": null }, - "start": 6639, - "end": 6640, + "value": "return", + "start": 6870, + "end": 6876, "loc": { "start": { - "line": 208, - "column": 27 + "line": 215, + "column": 8 }, "end": { - "line": 208, - "column": 28 + "line": 215, + "column": 14 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -38864,52 +40439,54 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "forEach", - "start": 6640, - "end": 6647, + "value": "this", + "start": 6877, + "end": 6881, "loc": { "start": { - "line": 208, - "column": 28 + "line": 215, + "column": 15 }, "end": { - "line": 208, - "column": 35 + "line": 215, + "column": 19 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 6647, - "end": 6648, + "start": 6881, + "end": 6882, "loc": { "start": { - "line": 208, - "column": 35 + "line": 215, + "column": 19 }, "end": { - "line": 208, - "column": 36 + "line": 215, + "column": 20 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -38917,50 +40494,40 @@ "postfix": false, "binop": null }, - "start": 6648, - "end": 6649, + "start": 6888, + "end": 6889, "loc": { "start": { - "line": 208, - "column": 36 + "line": 216, + "column": 4 }, "end": { - "line": 208, - "column": 37 + "line": 216, + "column": 5 } } }, { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pFrame", - "start": 6649, - "end": 6655, + "type": "CommentBlock", + "value": "*\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 ", + "start": 6895, + "end": 7122, "loc": { "start": { - "line": 208, - "column": 37 + "line": 217, + "column": 4 }, "end": { - "line": 208, - "column": 43 + "line": 221, + "column": 7 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -38968,49 +40535,49 @@ "postfix": false, "binop": null }, - "start": 6655, - "end": 6656, + "value": "addState", + "start": 7128, + "end": 7136, "loc": { "start": { - "line": 208, - "column": 43 + "line": 222, + "column": 4 }, "end": { - "line": 208, - "column": 44 + "line": 222, + "column": 12 } } }, { "type": { - "label": "=>", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 6657, - "end": 6659, + "start": 7136, + "end": 7137, "loc": { "start": { - "line": 208, - "column": 45 + "line": 222, + "column": 12 }, "end": { - "line": 208, - "column": 47 + "line": 222, + "column": 13 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -39019,24 +40586,25 @@ "postfix": false, "binop": null }, - "start": 6660, - "end": 6661, + "value": "pIconData", + "start": 7137, + "end": 7146, "loc": { "start": { - "line": 208, - "column": 48 + "line": 222, + "column": 13 }, "end": { - "line": 208, - "column": 49 + "line": 222, + "column": 22 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -39044,69 +40612,69 @@ "postfix": false, "binop": null }, - "value": "pFrame", - "start": 6683, - "end": 6689, + "start": 7146, + "end": 7147, "loc": { "start": { - "line": 209, - "column": 20 + "line": 222, + "column": 22 }, "end": { - "line": 209, - "column": 26 + "line": 222, + "column": 23 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 6689, - "end": 6690, + "start": 7148, + "end": 7149, "loc": { "start": { - "line": 209, - "column": 26 + "line": 222, + "column": 24 }, "end": { - "line": 209, - "column": 27 + "line": 222, + "column": 25 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "setDelay", - "start": 6690, - "end": 6698, + "value": "if", + "start": 7159, + "end": 7161, "loc": { "start": { - "line": 209, - "column": 27 + "line": 223, + "column": 8 }, "end": { - "line": 209, - "column": 35 + "line": 223, + "column": 10 } } }, @@ -39122,16 +40690,16 @@ "postfix": false, "binop": null }, - "start": 6698, - "end": 6699, + "start": 7162, + "end": 7163, "loc": { "start": { - "line": 209, - "column": 35 + "line": 223, + "column": 11 }, "end": { - "line": 209, - "column": 36 + "line": 223, + "column": 12 } } }, @@ -39147,74 +40715,77 @@ "postfix": false, "binop": null }, - "value": "pDelay", - "start": 6699, - "end": 6705, + "value": "pIconData", + "start": 7163, + "end": 7172, "loc": { "start": { - "line": 209, - "column": 36 + "line": 223, + "column": 12 }, "end": { - "line": 209, - "column": 42 + "line": 223, + "column": 21 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "instanceof", + "keyword": "instanceof", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 7, + "updateContext": null }, - "start": 6705, - "end": 6706, + "value": "instanceof", + "start": 7173, + "end": 7183, "loc": { "start": { - "line": 209, - "column": 42 + "line": 223, + "column": 22 }, "end": { - "line": 209, - "column": 43 + "line": 223, + "column": 32 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 6706, - "end": 6707, + "value": "Object", + "start": 7184, + "end": 7190, "loc": { "start": { - "line": 209, - "column": 43 + "line": 223, + "column": 33 }, "end": { - "line": 209, - "column": 44 + "line": 223, + "column": 39 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -39224,24 +40795,24 @@ "postfix": false, "binop": null }, - "start": 6725, - "end": 6726, + "start": 7190, + "end": 7191, "loc": { "start": { - "line": 210, - "column": 16 + "line": 223, + "column": 39 }, "end": { - "line": 210, - "column": 17 + "line": 223, + "column": 40 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -39249,23 +40820,24 @@ "postfix": false, "binop": null }, - "start": 6726, - "end": 6727, + "start": 7192, + "end": 7193, "loc": { "start": { - "line": 210, - "column": 17 + "line": 223, + "column": 41 }, "end": { - "line": 210, - "column": 18 + "line": 223, + "column": 42 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -39275,24 +40847,25 @@ "binop": null, "updateContext": null }, - "start": 6727, - "end": 6728, + "value": "const", + "start": 7207, + "end": 7212, "loc": { "start": { - "line": 210, - "column": 18 + "line": 224, + "column": 12 }, "end": { - "line": 210, - "column": 19 + "line": 224, + "column": 17 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -39300,50 +40873,51 @@ "postfix": false, "binop": null }, - "start": 6742, - "end": 6743, + "value": "state", + "start": 7213, + "end": 7218, "loc": { "start": { - "line": 211, - "column": 12 + "line": 224, + "column": 18 }, "end": { - "line": 211, - "column": 13 + "line": 224, + "column": 23 } } }, { "type": { - "label": "else", - "keyword": "else", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "else", - "start": 6744, - "end": 6748, + "value": "=", + "start": 7219, + "end": 7220, "loc": { "start": { - "line": 211, - "column": 14 + "line": 224, + "column": 24 }, "end": { - "line": 211, - "column": 18 + "line": 224, + "column": 25 } } }, { "type": { - "label": "{", + "label": "new", + "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -39351,18 +40925,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 6749, - "end": 6750, + "value": "new", + "start": 7221, + "end": 7224, "loc": { "start": { - "line": 211, - "column": 19 + "line": 224, + "column": 26 }, "end": { - "line": 211, - "column": 20 + "line": 224, + "column": 29 } } }, @@ -39378,43 +40954,42 @@ "postfix": false, "binop": null }, - "value": "VYI", - "start": 6768, - "end": 6771, + "value": "Icon", + "start": 7225, + "end": 7229, "loc": { "start": { - "line": 212, - "column": 16 + "line": 224, + "column": 30 }, "end": { - "line": 212, - "column": 19 + "line": 224, + "column": 34 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 6771, - "end": 6772, + "start": 7229, + "end": 7230, "loc": { "start": { - "line": 212, - "column": 19 + "line": 224, + "column": 34 }, "end": { - "line": 212, - "column": 20 + "line": 224, + "column": 35 } } }, @@ -39430,23 +41005,23 @@ "postfix": false, "binop": null }, - "value": "logger", - "start": 6772, - "end": 6778, + "value": "pIconData", + "start": 7230, + "end": 7239, "loc": { "start": { - "line": 212, - "column": 20 + "line": 224, + "column": 35 }, "end": { - "line": 212, - "column": 26 + "line": 224, + "column": 44 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -39454,78 +41029,80 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 6778, - "end": 6779, + "start": 7239, + "end": 7240, "loc": { "start": { - "line": 212, - "column": 26 + "line": 224, + "column": 44 }, "end": { - "line": 212, - "column": 27 + "line": 224, + "column": 45 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "prefix", - "start": 6779, - "end": 6785, + "start": 7240, + "end": 7241, "loc": { "start": { - "line": 212, - "column": 27 + "line": 224, + "column": 45 }, "end": { - "line": 212, - "column": 33 + "line": 224, + "column": 46 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "this", + "keyword": "this", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 6785, - "end": 6786, + "value": "this", + "start": 7255, + "end": 7259, "loc": { "start": { - "line": 212, - "column": 33 + "line": 225, + "column": 12 }, "end": { - "line": 212, - "column": 34 + "line": 225, + "column": 16 } } }, { "type": { - "label": "string", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -39534,25 +41111,24 @@ "binop": null, "updateContext": null }, - "value": "VYI-Module", - "start": 6786, - "end": 6798, + "start": 7259, + "end": 7260, "loc": { "start": { - "line": 212, - "column": 34 + "line": 225, + "column": 16 }, "end": { - "line": 212, - "column": 46 + "line": 225, + "column": 17 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -39560,16 +41136,17 @@ "postfix": false, "binop": null }, - "start": 6798, - "end": 6799, + "value": "states", + "start": 7260, + "end": 7266, "loc": { "start": { - "line": 212, - "column": 46 + "line": 225, + "column": 17 }, "end": { - "line": 212, - "column": 47 + "line": 225, + "column": 23 } } }, @@ -39586,16 +41163,16 @@ "binop": null, "updateContext": null }, - "start": 6799, - "end": 6800, + "start": 7266, + "end": 7267, "loc": { "start": { - "line": 212, - "column": 47 + "line": 225, + "column": 23 }, "end": { - "line": 212, - "column": 48 + "line": 225, + "column": 24 } } }, @@ -39611,17 +41188,17 @@ "postfix": false, "binop": null }, - "value": "error", - "start": 6800, - "end": 6805, + "value": "push", + "start": 7267, + "end": 7271, "loc": { "start": { - "line": 212, - "column": 48 + "line": 225, + "column": 24 }, "end": { - "line": 212, - "column": 53 + "line": 225, + "column": 28 } } }, @@ -39637,22 +41214,22 @@ "postfix": false, "binop": null }, - "start": 6805, - "end": 6806, + "start": 7271, + "end": 7272, "loc": { "start": { - "line": 212, - "column": 53 + "line": 225, + "column": 28 }, "end": { - "line": 212, - "column": 54 + "line": 225, + "column": 29 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -39660,20 +41237,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "Invalid type for pDelay!", - "start": 6806, - "end": 6832, + "value": "state", + "start": 7272, + "end": 7277, "loc": { "start": { - "line": 212, - "column": 54 + "line": 225, + "column": 29 }, "end": { - "line": 212, - "column": 80 + "line": 225, + "column": 34 } } }, @@ -39689,16 +41265,16 @@ "postfix": false, "binop": null }, - "start": 6832, - "end": 6833, + "start": 7277, + "end": 7278, "loc": { "start": { - "line": 212, - "column": 80 + "line": 225, + "column": 34 }, "end": { - "line": 212, - "column": 81 + "line": 225, + "column": 35 } } }, @@ -39715,49 +41291,52 @@ "binop": null, "updateContext": null }, - "start": 6833, - "end": 6834, + "start": 7278, + "end": 7279, "loc": { "start": { - "line": 212, - "column": 81 + "line": 225, + "column": 35 }, "end": { - "line": 212, - "column": 82 + "line": 225, + "column": 36 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": "return", + "keyword": "return", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 6848, - "end": 6849, + "value": "return", + "start": 7293, + "end": 7299, "loc": { "start": { - "line": 213, + "line": 226, "column": 12 }, "end": { - "line": 213, - "column": 13 + "line": 226, + "column": 18 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -39765,23 +41344,23 @@ "postfix": false, "binop": null }, - "start": 6859, - "end": 6860, + "value": "state", + "start": 7300, + "end": 7305, "loc": { "start": { - "line": 214, - "column": 8 + "line": 226, + "column": 19 }, "end": { - "line": 214, - "column": 9 + "line": 226, + "column": 24 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -39792,71 +41371,41 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 6870, - "end": 6876, - "loc": { - "start": { - "line": 215, - "column": 8 - }, - "end": { - "line": 215, - "column": 14 - } - } - }, - { - "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": 6877, - "end": 6881, + "start": 7305, + "end": 7306, "loc": { "start": { - "line": 215, - "column": 15 + "line": 226, + "column": 24 }, "end": { - "line": 215, - "column": 19 + "line": 226, + "column": 25 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 6881, - "end": 6882, + "start": 7316, + "end": 7317, "loc": { "start": { - "line": 215, - "column": 19 + "line": 227, + "column": 8 }, "end": { - "line": 215, - "column": 20 + "line": 227, + "column": 9 } } }, @@ -39872,31 +41421,31 @@ "postfix": false, "binop": null }, - "start": 6888, - "end": 6889, + "start": 7323, + "end": 7324, "loc": { "start": { - "line": 216, + "line": 228, "column": 4 }, "end": { - "line": 216, + "line": 228, "column": 5 } } }, { "type": "CommentBlock", - "value": "*\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 ", - "start": 6895, - "end": 7122, + "value": "*\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 ", + "start": 7330, + "end": 7711, "loc": { "start": { - "line": 217, + "line": 229, "column": 4 }, "end": { - "line": 221, + "line": 234, "column": 7 } } @@ -39913,17 +41462,17 @@ "postfix": false, "binop": null }, - "value": "addState", - "start": 7128, - "end": 7136, + "value": "removeState", + "start": 7717, + "end": 7728, "loc": { "start": { - "line": 222, + "line": 235, "column": 4 }, "end": { - "line": 222, - "column": 12 + "line": 235, + "column": 15 } } }, @@ -39939,16 +41488,16 @@ "postfix": false, "binop": null }, - "start": 7136, - "end": 7137, + "start": 7728, + "end": 7729, "loc": { "start": { - "line": 222, - "column": 12 + "line": 235, + "column": 15 }, "end": { - "line": 222, - "column": 13 + "line": 235, + "column": 16 } } }, @@ -39964,49 +41513,50 @@ "postfix": false, "binop": null }, - "value": "pIconData", - "start": 7137, - "end": 7146, + "value": "pState", + "start": 7729, + "end": 7735, "loc": { "start": { - "line": 222, - "column": 13 + "line": 235, + "column": 16 }, "end": { - "line": 222, + "line": 235, "column": 22 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 7146, - "end": 7147, + "start": 7735, + "end": 7736, "loc": { "start": { - "line": 222, + "line": 235, "column": 22 }, "end": { - "line": 222, + "line": 235, "column": 23 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -40015,23 +41565,23 @@ "postfix": false, "binop": null }, - "start": 7148, - "end": 7149, + "value": "pName", + "start": 7737, + "end": 7742, "loc": { "start": { - "line": 222, + "line": 235, "column": 24 }, "end": { - "line": 222, - "column": 25 + "line": 235, + "column": 29 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -40039,26 +41589,24 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 7159, - "end": 7161, + "start": 7742, + "end": 7743, "loc": { "start": { - "line": 223, - "column": 8 + "line": 235, + "column": 29 }, "end": { - "line": 223, - "column": 10 + "line": 235, + "column": 30 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -40068,16 +41616,60 @@ "postfix": false, "binop": null }, - "start": 7162, - "end": 7163, + "start": 7744, + "end": 7745, "loc": { "start": { - "line": 223, - "column": 11 + "line": 235, + "column": 31 }, "end": { - "line": 223, - "column": 12 + "line": 235, + "column": 32 + } + } + }, + { + "type": "CommentLine", + "value": " The index used to remove this frame.", + "start": 7755, + "end": 7794, + "loc": { + "start": { + "line": 236, + "column": 8 + }, + "end": { + "line": 236, + "column": 47 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "let", + "start": 7804, + "end": 7807, + "loc": { + "start": { + "line": 237, + "column": 8 + }, + "end": { + "line": 237, + "column": 11 } } }, @@ -40093,24 +41685,23 @@ "postfix": false, "binop": null }, - "value": "pIconData", - "start": 7163, - "end": 7172, + "value": "index", + "start": 7808, + "end": 7813, "loc": { "start": { - "line": 223, + "line": 237, "column": 12 }, "end": { - "line": 223, - "column": 21 + "line": 237, + "column": 17 } } }, { "type": { - "label": "instanceof", - "keyword": "instanceof", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -40118,54 +41709,71 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 7, + "binop": null, "updateContext": null }, - "value": "instanceof", - "start": 7173, - "end": 7183, + "start": 7813, + "end": 7814, "loc": { "start": { - "line": 223, - "column": 22 + "line": 237, + "column": 17 }, "end": { - "line": 223, - "column": 32 + "line": 237, + "column": 18 + } + } + }, + { + "type": "CommentLine", + "value": " Remove via reference to state.", + "start": 7824, + "end": 7857, + "loc": { + "start": { + "line": 238, + "column": 8 + }, + "end": { + "line": 238, + "column": 41 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "Object", - "start": 7184, - "end": 7190, + "value": "if", + "start": 7867, + "end": 7869, "loc": { "start": { - "line": 223, - "column": 33 + "line": 239, + "column": 8 }, "end": { - "line": 223, - "column": 39 + "line": 239, + "column": 10 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -40173,48 +41781,50 @@ "postfix": false, "binop": null }, - "start": 7190, - "end": 7191, + "start": 7870, + "end": 7871, "loc": { "start": { - "line": 223, - "column": 39 + "line": 239, + "column": 11 }, "end": { - "line": 223, - "column": 40 + "line": 239, + "column": 12 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "this", + "keyword": "this", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 7192, - "end": 7193, + "value": "this", + "start": 7871, + "end": 7875, "loc": { "start": { - "line": 223, - "column": 41 + "line": 239, + "column": 12 }, "end": { - "line": 223, - "column": 42 + "line": 239, + "column": 16 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -40225,16 +41835,15 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 7207, - "end": 7212, + "start": 7875, + "end": 7876, "loc": { "start": { - "line": 224, - "column": 12 + "line": 239, + "column": 16 }, "end": { - "line": 224, + "line": 239, "column": 17 } } @@ -40251,51 +41860,75 @@ "postfix": false, "binop": null }, - "value": "state", - "start": 7213, - "end": 7218, + "value": "states", + "start": 7876, + "end": 7882, "loc": { "start": { - "line": 224, - "column": 18 + "line": 239, + "column": 17 }, "end": { - "line": 224, + "line": 239, "column": 23 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 7219, - "end": 7220, + "start": 7882, + "end": 7883, "loc": { "start": { - "line": 224, + "line": 239, + "column": 23 + }, + "end": { + "line": 239, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "includes", + "start": 7883, + "end": 7891, + "loc": { + "start": { + "line": 239, "column": 24 }, "end": { - "line": 224, - "column": 25 + "line": 239, + "column": 32 } } }, { "type": { - "label": "new", - "keyword": "new", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -40303,20 +41936,18 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "new", - "start": 7221, - "end": 7224, + "start": 7891, + "end": 7892, "loc": { "start": { - "line": 224, - "column": 26 + "line": 239, + "column": 32 }, "end": { - "line": 224, - "column": 29 + "line": 239, + "column": 33 } } }, @@ -40332,25 +41963,25 @@ "postfix": false, "binop": null }, - "value": "Icon", - "start": 7225, - "end": 7229, + "value": "pState", + "start": 7892, + "end": 7898, "loc": { "start": { - "line": 224, - "column": 30 + "line": 239, + "column": 33 }, "end": { - "line": 224, - "column": 34 + "line": 239, + "column": 39 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -40358,23 +41989,48 @@ "postfix": false, "binop": null }, - "start": 7229, - "end": 7230, + "start": 7898, + "end": 7899, "loc": { "start": { - "line": 224, - "column": 34 + "line": 239, + "column": 39 }, "end": { - "line": 224, - "column": 35 + "line": 239, + "column": 40 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7899, + "end": 7900, + "loc": { + "start": { + "line": 239, + "column": 40 + }, + "end": { + "line": 239, + "column": 41 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -40383,25 +42039,24 @@ "postfix": false, "binop": null }, - "value": "pIconData", - "start": 7230, - "end": 7239, + "start": 7901, + "end": 7902, "loc": { "start": { - "line": 224, - "column": 35 + "line": 239, + "column": 42 }, "end": { - "line": 224, - "column": 44 + "line": 239, + "column": 43 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -40409,42 +42064,44 @@ "postfix": false, "binop": null }, - "start": 7239, - "end": 7240, + "value": "index", + "start": 7916, + "end": 7921, "loc": { "start": { - "line": 224, - "column": 44 + "line": 240, + "column": 12 }, "end": { - "line": 224, - "column": 45 + "line": 240, + "column": 17 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 7240, - "end": 7241, + "value": "=", + "start": 7922, + "end": 7923, "loc": { "start": { - "line": 224, - "column": 45 + "line": 240, + "column": 18 }, "end": { - "line": 224, - "column": 46 + "line": 240, + "column": 19 } } }, @@ -40463,16 +42120,16 @@ "updateContext": null }, "value": "this", - "start": 7255, - "end": 7259, + "start": 7924, + "end": 7928, "loc": { "start": { - "line": 225, - "column": 12 + "line": 240, + "column": 20 }, "end": { - "line": 225, - "column": 16 + "line": 240, + "column": 24 } } }, @@ -40489,16 +42146,16 @@ "binop": null, "updateContext": null }, - "start": 7259, - "end": 7260, + "start": 7928, + "end": 7929, "loc": { "start": { - "line": 225, - "column": 16 + "line": 240, + "column": 24 }, "end": { - "line": 225, - "column": 17 + "line": 240, + "column": 25 } } }, @@ -40515,16 +42172,16 @@ "binop": null }, "value": "states", - "start": 7260, - "end": 7266, + "start": 7929, + "end": 7935, "loc": { "start": { - "line": 225, - "column": 17 + "line": 240, + "column": 25 }, "end": { - "line": 225, - "column": 23 + "line": 240, + "column": 31 } } }, @@ -40541,16 +42198,16 @@ "binop": null, "updateContext": null }, - "start": 7266, - "end": 7267, + "start": 7935, + "end": 7936, "loc": { "start": { - "line": 225, - "column": 23 + "line": 240, + "column": 31 }, "end": { - "line": 225, - "column": 24 + "line": 240, + "column": 32 } } }, @@ -40566,17 +42223,17 @@ "postfix": false, "binop": null }, - "value": "push", - "start": 7267, - "end": 7271, + "value": "indexOf", + "start": 7936, + "end": 7943, "loc": { "start": { - "line": 225, - "column": 24 + "line": 240, + "column": 32 }, "end": { - "line": 225, - "column": 28 + "line": 240, + "column": 39 } } }, @@ -40592,16 +42249,16 @@ "postfix": false, "binop": null }, - "start": 7271, - "end": 7272, + "start": 7943, + "end": 7944, "loc": { "start": { - "line": 225, - "column": 28 + "line": 240, + "column": 39 }, "end": { - "line": 225, - "column": 29 + "line": 240, + "column": 40 } } }, @@ -40617,17 +42274,17 @@ "postfix": false, "binop": null }, - "value": "state", - "start": 7272, - "end": 7277, + "value": "pState", + "start": 7944, + "end": 7950, "loc": { "start": { - "line": 225, - "column": 29 + "line": 240, + "column": 40 }, "end": { - "line": 225, - "column": 34 + "line": 240, + "column": 46 } } }, @@ -40643,16 +42300,16 @@ "postfix": false, "binop": null }, - "start": 7277, - "end": 7278, + "start": 7950, + "end": 7951, "loc": { "start": { - "line": 225, - "column": 34 + "line": 240, + "column": 46 }, "end": { - "line": 225, - "column": 35 + "line": 240, + "column": 47 } } }, @@ -40669,52 +42326,40 @@ "binop": null, "updateContext": null }, - "start": 7278, - "end": 7279, + "start": 7951, + "end": 7952, "loc": { "start": { - "line": 225, - "column": 35 + "line": 240, + "column": 47 }, "end": { - "line": 225, - "column": 36 + "line": 240, + "column": 48 } } }, { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 7293, - "end": 7299, + "type": "CommentLine", + "value": " Remove via reference to name", + "start": 7962, + "end": 7993, "loc": { "start": { - "line": 226, - "column": 12 + "line": 241, + "column": 8 }, "end": { - "line": 226, - "column": 18 + "line": 241, + "column": 39 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -40722,23 +42367,23 @@ "postfix": false, "binop": null }, - "value": "state", - "start": 7300, - "end": 7305, + "start": 8003, + "end": 8004, "loc": { "start": { - "line": 226, - "column": 19 + "line": 242, + "column": 8 }, "end": { - "line": 226, - "column": 24 + "line": 242, + "column": 9 } } }, { "type": { - "label": ";", + "label": "else", + "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -40749,22 +42394,24 @@ "binop": null, "updateContext": null }, - "start": 7305, - "end": 7306, + "value": "else", + "start": 8005, + "end": 8009, "loc": { "start": { - "line": 226, - "column": 24 + "line": 242, + "column": 10 }, "end": { - "line": 226, - "column": 25 + "line": 242, + "column": 14 } } }, { "type": { - "label": "}", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -40772,26 +42419,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 7316, - "end": 7317, + "value": "if", + "start": 8010, + "end": 8012, "loc": { "start": { - "line": 227, - "column": 8 + "line": 242, + "column": 15 }, "end": { - "line": 227, - "column": 9 + "line": 242, + "column": 17 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -40799,39 +42448,51 @@ "postfix": false, "binop": null }, - "start": 7323, - "end": 7324, + "start": 8013, + "end": 8014, "loc": { "start": { - "line": 228, - "column": 4 + "line": 242, + "column": 18 }, "end": { - "line": 228, - "column": 5 + "line": 242, + "column": 19 } } }, { - "type": "CommentBlock", - "value": "*\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 ", - "start": 7330, - "end": 7711, + "type": { + "label": "typeof", + "keyword": "typeof", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "typeof", + "start": 8014, + "end": 8020, "loc": { "start": { - "line": 229, - "column": 4 + "line": 242, + "column": 19 }, "end": { - "line": 234, - "column": 7 + "line": 242, + "column": 25 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -40840,24 +42501,23 @@ "postfix": false, "binop": null }, - "value": "removeState", - "start": 7717, - "end": 7728, + "start": 8020, + "end": 8021, "loc": { "start": { - "line": 235, - "column": 4 + "line": 242, + "column": 25 }, "end": { - "line": 235, - "column": 15 + "line": 242, + "column": 26 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -40866,24 +42526,25 @@ "postfix": false, "binop": null }, - "start": 7728, - "end": 7729, + "value": "pName", + "start": 8021, + "end": 8026, "loc": { "start": { - "line": 235, - "column": 15 + "line": 242, + "column": 26 }, "end": { - "line": 235, - "column": 16 + "line": 242, + "column": 31 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -40891,23 +42552,22 @@ "postfix": false, "binop": null }, - "value": "pState", - "start": 7729, - "end": 7735, + "start": 8026, + "end": 8027, "loc": { "start": { - "line": 235, - "column": 16 + "line": 242, + "column": 31 }, "end": { - "line": 235, - "column": 22 + "line": 242, + "column": 32 } } }, { "type": { - "label": ",", + "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -40915,25 +42575,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "start": 7735, - "end": 7736, + "value": "===", + "start": 8028, + "end": 8031, "loc": { "start": { - "line": 235, - "column": 22 + "line": 242, + "column": 33 }, "end": { - "line": 235, - "column": 23 + "line": 242, + "column": 36 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -40941,19 +42602,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "pName", - "start": 7737, - "end": 7742, + "value": "string", + "start": 8032, + "end": 8040, "loc": { "start": { - "line": 235, - "column": 24 + "line": 242, + "column": 37 }, "end": { - "line": 235, - "column": 29 + "line": 242, + "column": 45 } } }, @@ -40969,16 +42631,16 @@ "postfix": false, "binop": null }, - "start": 7742, - "end": 7743, + "start": 8040, + "end": 8041, "loc": { "start": { - "line": 235, - "column": 29 + "line": 242, + "column": 45 }, "end": { - "line": 235, - "column": 30 + "line": 242, + "column": 46 } } }, @@ -40994,39 +42656,23 @@ "postfix": false, "binop": null }, - "start": 7744, - "end": 7745, - "loc": { - "start": { - "line": 235, - "column": 31 - }, - "end": { - "line": 235, - "column": 32 - } - } - }, - { - "type": "CommentLine", - "value": " The index used to remove this frame.", - "start": 7755, - "end": 7794, + "start": 8042, + "end": 8043, "loc": { "start": { - "line": 236, - "column": 8 + "line": 242, + "column": 47 }, "end": { - "line": 236, - "column": 47 + "line": 242, + "column": 48 } } }, { "type": { - "label": "let", - "keyword": "let", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -41037,17 +42683,17 @@ "binop": null, "updateContext": null }, - "value": "let", - "start": 7804, - "end": 7807, + "value": "const", + "start": 8057, + "end": 8062, "loc": { "start": { - "line": 237, - "column": 8 + "line": 243, + "column": 12 }, "end": { - "line": 237, - "column": 11 + "line": 243, + "column": 17 } } }, @@ -41063,68 +42709,53 @@ "postfix": false, "binop": null }, - "value": "index", - "start": 7808, - "end": 7813, + "value": "state", + "start": 8063, + "end": 8068, "loc": { "start": { - "line": 237, - "column": 12 + "line": 243, + "column": 18 }, "end": { - "line": 237, - "column": 17 + "line": 243, + "column": 23 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 7813, - "end": 7814, - "loc": { - "start": { - "line": 237, - "column": 17 - }, - "end": { - "line": 237, - "column": 18 - } - } - }, - { - "type": "CommentLine", - "value": " Remove via reference to state.", - "start": 7824, - "end": 7857, + "value": "=", + "start": 8069, + "end": 8070, "loc": { "start": { - "line": 238, - "column": 8 + "line": 243, + "column": 24 }, "end": { - "line": 238, - "column": 41 + "line": 243, + "column": 25 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -41133,49 +42764,49 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 7867, - "end": 7869, + "value": "this", + "start": 8071, + "end": 8075, "loc": { "start": { - "line": 239, - "column": 8 + "line": 243, + "column": 26 }, "end": { - "line": 239, - "column": 10 + "line": 243, + "column": 30 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 7870, - "end": 7871, + "start": 8075, + "end": 8076, "loc": { "start": { - "line": 239, - "column": 11 + "line": 243, + "column": 30 }, "end": { - "line": 239, - "column": 12 + "line": 243, + "column": 31 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -41183,46 +42814,44 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 7871, - "end": 7875, + "value": "getState", + "start": 8076, + "end": 8084, "loc": { "start": { - "line": 239, - "column": 12 + "line": 243, + "column": 31 }, "end": { - "line": 239, - "column": 16 + "line": 243, + "column": 39 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 7875, - "end": 7876, + "start": 8084, + "end": 8085, "loc": { "start": { - "line": 239, - "column": 16 + "line": 243, + "column": 39 }, "end": { - "line": 239, - "column": 17 + "line": 243, + "column": 40 } } }, @@ -41238,23 +42867,23 @@ "postfix": false, "binop": null }, - "value": "states", - "start": 7876, - "end": 7882, + "value": "pName", + "start": 8085, + "end": 8090, "loc": { "start": { - "line": 239, - "column": 17 + "line": 243, + "column": 40 }, "end": { - "line": 239, - "column": 23 + "line": 243, + "column": 45 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -41262,77 +42891,79 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 7882, - "end": 7883, + "start": 8090, + "end": 8091, "loc": { "start": { - "line": 239, - "column": 23 + "line": 243, + "column": 45 }, "end": { - "line": 239, - "column": 24 + "line": 243, + "column": 46 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "includes", - "start": 7883, - "end": 7891, + "start": 8091, + "end": 8092, "loc": { "start": { - "line": 239, - "column": 24 + "line": 243, + "column": 46 }, "end": { - "line": 239, - "column": 32 + "line": 243, + "column": 47 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 7891, - "end": 7892, + "value": "if", + "start": 8106, + "end": 8108, "loc": { "start": { - "line": 239, - "column": 32 + "line": 244, + "column": 12 }, "end": { - "line": 239, - "column": 33 + "line": 244, + "column": 14 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -41341,25 +42972,24 @@ "postfix": false, "binop": null }, - "value": "pState", - "start": 7892, - "end": 7898, + "start": 8109, + "end": 8110, "loc": { "start": { - "line": 239, - "column": 33 + "line": 244, + "column": 15 }, "end": { - "line": 239, - "column": 39 + "line": 244, + "column": 16 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -41367,16 +42997,17 @@ "postfix": false, "binop": null }, - "start": 7898, - "end": 7899, + "value": "state", + "start": 8110, + "end": 8115, "loc": { "start": { - "line": 239, - "column": 39 + "line": 244, + "column": 16 }, "end": { - "line": 239, - "column": 40 + "line": 244, + "column": 21 } } }, @@ -41392,16 +43023,16 @@ "postfix": false, "binop": null }, - "start": 7899, - "end": 7900, + "start": 8115, + "end": 8116, "loc": { "start": { - "line": 239, - "column": 40 + "line": 244, + "column": 21 }, "end": { - "line": 239, - "column": 41 + "line": 244, + "column": 22 } } }, @@ -41417,16 +43048,16 @@ "postfix": false, "binop": null }, - "start": 7901, - "end": 7902, + "start": 8117, + "end": 8118, "loc": { "start": { - "line": 239, - "column": 42 + "line": 244, + "column": 23 }, "end": { - "line": 239, - "column": 43 + "line": 244, + "column": 24 } } }, @@ -41443,16 +43074,16 @@ "binop": null }, "value": "index", - "start": 7916, - "end": 7921, + "start": 8136, + "end": 8141, "loc": { "start": { - "line": 240, - "column": 12 + "line": 245, + "column": 16 }, "end": { - "line": 240, - "column": 17 + "line": 245, + "column": 21 } } }, @@ -41470,16 +43101,16 @@ "updateContext": null }, "value": "=", - "start": 7922, - "end": 7923, + "start": 8142, + "end": 8143, "loc": { "start": { - "line": 240, - "column": 18 + "line": 245, + "column": 22 }, "end": { - "line": 240, - "column": 19 + "line": 245, + "column": 23 } } }, @@ -41498,16 +43129,16 @@ "updateContext": null }, "value": "this", - "start": 7924, - "end": 7928, + "start": 8144, + "end": 8148, "loc": { "start": { - "line": 240, - "column": 20 + "line": 245, + "column": 24 }, "end": { - "line": 240, - "column": 24 + "line": 245, + "column": 28 } } }, @@ -41524,16 +43155,16 @@ "binop": null, "updateContext": null }, - "start": 7928, - "end": 7929, + "start": 8148, + "end": 8149, "loc": { "start": { - "line": 240, - "column": 24 + "line": 245, + "column": 28 }, "end": { - "line": 240, - "column": 25 + "line": 245, + "column": 29 } } }, @@ -41550,16 +43181,16 @@ "binop": null }, "value": "states", - "start": 7929, - "end": 7935, + "start": 8149, + "end": 8155, "loc": { "start": { - "line": 240, - "column": 25 + "line": 245, + "column": 29 }, "end": { - "line": 240, - "column": 31 + "line": 245, + "column": 35 } } }, @@ -41576,16 +43207,16 @@ "binop": null, "updateContext": null }, - "start": 7935, - "end": 7936, + "start": 8155, + "end": 8156, "loc": { "start": { - "line": 240, - "column": 31 + "line": 245, + "column": 35 }, "end": { - "line": 240, - "column": 32 + "line": 245, + "column": 36 } } }, @@ -41602,16 +43233,16 @@ "binop": null }, "value": "indexOf", - "start": 7936, - "end": 7943, + "start": 8156, + "end": 8163, "loc": { "start": { - "line": 240, - "column": 32 + "line": 245, + "column": 36 }, "end": { - "line": 240, - "column": 39 + "line": 245, + "column": 43 } } }, @@ -41627,16 +43258,16 @@ "postfix": false, "binop": null }, - "start": 7943, - "end": 7944, + "start": 8163, + "end": 8164, "loc": { "start": { - "line": 240, - "column": 39 + "line": 245, + "column": 43 }, "end": { - "line": 240, - "column": 40 + "line": 245, + "column": 44 } } }, @@ -41652,17 +43283,17 @@ "postfix": false, "binop": null }, - "value": "pState", - "start": 7944, - "end": 7950, + "value": "state", + "start": 8164, + "end": 8169, "loc": { "start": { - "line": 240, - "column": 40 + "line": 245, + "column": 44 }, "end": { - "line": 240, - "column": 46 + "line": 245, + "column": 49 } } }, @@ -41678,16 +43309,16 @@ "postfix": false, "binop": null }, - "start": 7950, - "end": 7951, + "start": 8169, + "end": 8170, "loc": { "start": { - "line": 240, - "column": 46 + "line": 245, + "column": 49 }, "end": { - "line": 240, - "column": 47 + "line": 245, + "column": 50 } } }, @@ -41704,32 +43335,41 @@ "binop": null, "updateContext": null }, - "start": 7951, - "end": 7952, + "start": 8170, + "end": 8171, "loc": { "start": { - "line": 240, - "column": 47 + "line": 245, + "column": 50 }, "end": { - "line": 240, - "column": 48 + "line": 245, + "column": 51 } } }, { - "type": "CommentLine", - "value": " Remove via reference to name", - "start": 7962, - "end": 7993, + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8185, + "end": 8186, "loc": { "start": { - "line": 241, - "column": 8 + "line": 246, + "column": 12 }, "end": { - "line": 241, - "column": 39 + "line": 246, + "column": 13 } } }, @@ -41745,15 +43385,15 @@ "postfix": false, "binop": null }, - "start": 8003, - "end": 8004, + "start": 8196, + "end": 8197, "loc": { "start": { - "line": 242, + "line": 247, "column": 8 }, "end": { - "line": 242, + "line": 247, "column": 9 } } @@ -41773,23 +43413,73 @@ "updateContext": null }, "value": "else", - "start": 8005, - "end": 8009, + "start": 8198, + "end": 8202, "loc": { "start": { - "line": 242, + "line": 247, "column": 10 }, "end": { - "line": 242, + "line": 247, "column": 14 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8203, + "end": 8204, + "loc": { + "start": { + "line": 247, + "column": 15 + }, + "end": { + "line": 247, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "VYI", + "start": 8218, + "end": 8221, + "loc": { + "start": { + "line": 248, + "column": 12 + }, + "end": { + "line": 248, + "column": 15 + } + } + }, + { + "type": { + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -41800,24 +43490,23 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 8010, - "end": 8012, + "start": 8221, + "end": 8222, "loc": { "start": { - "line": 242, + "line": 248, "column": 15 }, "end": { - "line": 242, - "column": 17 + "line": 248, + "column": 16 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -41826,44 +43515,69 @@ "postfix": false, "binop": null }, - "start": 8013, - "end": 8014, + "value": "logger", + "start": 8222, + "end": 8228, "loc": { "start": { - "line": 242, - "column": 18 + "line": 248, + "column": 16 }, "end": { - "line": 242, - "column": 19 + "line": 248, + "column": 22 } } }, { "type": { - "label": "typeof", - "keyword": "typeof", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "typeof", - "start": 8014, - "end": 8020, + "start": 8228, + "end": 8229, "loc": { "start": { - "line": 242, - "column": 19 + "line": 248, + "column": 22 }, "end": { - "line": 242, - "column": 25 + "line": 248, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "prefix", + "start": 8229, + "end": 8235, + "loc": { + "start": { + "line": 248, + "column": 23 + }, + "end": { + "line": 248, + "column": 29 } } }, @@ -41879,22 +43593,22 @@ "postfix": false, "binop": null }, - "start": 8020, - "end": 8021, + "start": 8235, + "end": 8236, "loc": { "start": { - "line": 242, - "column": 25 + "line": 248, + "column": 29 }, "end": { - "line": 242, - "column": 26 + "line": 248, + "column": 30 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -41902,19 +43616,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "pName", - "start": 8021, - "end": 8026, + "value": "VYI-Module", + "start": 8236, + "end": 8248, "loc": { "start": { - "line": 242, - "column": 26 + "line": 248, + "column": 30 }, "end": { - "line": 242, - "column": 31 + "line": 248, + "column": 42 } } }, @@ -41930,49 +43645,48 @@ "postfix": false, "binop": null }, - "start": 8026, - "end": 8027, + "start": 8248, + "end": 8249, "loc": { "start": { - "line": 242, - "column": 31 + "line": 248, + "column": 42 }, "end": { - "line": 242, - "column": 32 + "line": 248, + "column": 43 } } }, { "type": { - "label": "==/!=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, + "binop": null, "updateContext": null }, - "value": "===", - "start": 8028, - "end": 8031, + "start": 8249, + "end": 8250, "loc": { "start": { - "line": 242, - "column": 33 + "line": 248, + "column": 43 }, "end": { - "line": 242, - "column": 36 + "line": 248, + "column": 44 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -41980,28 +43694,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "string", - "start": 8032, - "end": 8040, + "value": "error", + "start": 8250, + "end": 8255, "loc": { "start": { - "line": 242, - "column": 37 + "line": 248, + "column": 44 }, "end": { - "line": 242, - "column": 45 + "line": 248, + "column": 49 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -42009,48 +43722,49 @@ "postfix": false, "binop": null }, - "start": 8040, - "end": 8041, + "start": 8255, + "end": 8256, "loc": { "start": { - "line": 242, - "column": 45 + "line": 248, + "column": 49 }, "end": { - "line": 242, - "column": 46 + "line": 248, + "column": 50 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "string", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 8042, - "end": 8043, + "value": "Failed to remove state!", + "start": 8256, + "end": 8281, "loc": { "start": { - "line": 242, - "column": 47 + "line": 248, + "column": 50 }, "end": { - "line": 242, - "column": 48 + "line": 248, + "column": 75 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -42058,73 +43772,72 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 8057, - "end": 8062, + "start": 8281, + "end": 8282, "loc": { "start": { - "line": 243, - "column": 12 + "line": 248, + "column": 75 }, "end": { - "line": 243, - "column": 17 + "line": 248, + "column": 76 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "state", - "start": 8063, - "end": 8068, + "start": 8282, + "end": 8283, "loc": { "start": { - "line": 243, - "column": 18 + "line": 248, + "column": 76 }, "end": { - "line": 243, - "column": 23 + "line": 248, + "column": 77 } } }, { "type": { - "label": "=", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 8069, - "end": 8070, + "value": "return", + "start": 8297, + "end": 8303, "loc": { "start": { - "line": 243, - "column": 24 + "line": 249, + "column": 12 }, "end": { - "line": 243, - "column": 25 + "line": 249, + "column": 18 } } }, @@ -42143,23 +43856,23 @@ "updateContext": null }, "value": "this", - "start": 8071, - "end": 8075, + "start": 8304, + "end": 8308, "loc": { "start": { - "line": 243, - "column": 26 + "line": 249, + "column": 19 }, "end": { - "line": 243, - "column": 30 + "line": 249, + "column": 23 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -42169,24 +43882,24 @@ "binop": null, "updateContext": null }, - "start": 8075, - "end": 8076, + "start": 8308, + "end": 8309, "loc": { "start": { - "line": 243, - "column": 30 + "line": 249, + "column": 23 }, "end": { - "line": 243, - "column": 31 + "line": 249, + "column": 24 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -42194,49 +43907,51 @@ "postfix": false, "binop": null }, - "value": "getState", - "start": 8076, - "end": 8084, + "start": 8319, + "end": 8320, "loc": { "start": { - "line": 243, - "column": 31 + "line": 250, + "column": 8 }, "end": { - "line": 243, - "column": 39 + "line": 250, + "column": 9 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 8084, - "end": 8085, + "value": "if", + "start": 8330, + "end": 8332, "loc": { "start": { - "line": 243, - "column": 39 + "line": 251, + "column": 8 }, "end": { - "line": 243, - "column": 40 + "line": 251, + "column": 10 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -42245,104 +43960,103 @@ "postfix": false, "binop": null }, - "value": "pName", - "start": 8085, - "end": 8090, + "start": 8333, + "end": 8334, "loc": { "start": { - "line": 243, - "column": 40 + "line": 251, + "column": 11 }, "end": { - "line": 243, - "column": 45 + "line": 251, + "column": 12 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "typeof", + "keyword": "typeof", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 8090, - "end": 8091, + "value": "typeof", + "start": 8334, + "end": 8340, "loc": { "start": { - "line": 243, - "column": 45 + "line": 251, + "column": 12 }, "end": { - "line": 243, - "column": 46 + "line": 251, + "column": 18 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 8091, - "end": 8092, + "start": 8340, + "end": 8341, "loc": { "start": { - "line": 243, - "column": 46 + "line": 251, + "column": 18 }, "end": { - "line": 243, - "column": 47 + "line": 251, + "column": 19 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 8106, - "end": 8108, + "value": "index", + "start": 8341, + "end": 8346, "loc": { "start": { - "line": 244, - "column": 12 + "line": 251, + "column": 19 }, "end": { - "line": 244, - "column": 14 + "line": 251, + "column": 24 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -42350,75 +44064,78 @@ "postfix": false, "binop": null }, - "start": 8109, - "end": 8110, + "start": 8346, + "end": 8347, "loc": { "start": { - "line": 244, - "column": 15 + "line": 251, + "column": 24 }, "end": { - "line": 244, - "column": 16 + "line": 251, + "column": 25 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 6, + "updateContext": null }, - "value": "state", - "start": 8110, - "end": 8115, + "value": "===", + "start": 8348, + "end": 8351, "loc": { "start": { - "line": 244, - "column": 16 + "line": 251, + "column": 26 }, "end": { - "line": 244, - "column": 21 + "line": 251, + "column": 29 } } }, { "type": { - "label": ")", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 8115, - "end": 8116, + "value": "number", + "start": 8352, + "end": 8360, "loc": { "start": { - "line": 244, - "column": 21 + "line": 251, + "column": 30 }, "end": { - "line": 244, - "column": 22 + "line": 251, + "column": 38 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -42426,23 +44143,23 @@ "postfix": false, "binop": null }, - "start": 8117, - "end": 8118, + "start": 8360, + "end": 8361, "loc": { "start": { - "line": 244, - "column": 23 + "line": 251, + "column": 38 }, "end": { - "line": 244, - "column": 24 + "line": 251, + "column": 39 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -42451,44 +44168,32 @@ "postfix": false, "binop": null }, - "value": "index", - "start": 8136, - "end": 8141, + "start": 8362, + "end": 8363, "loc": { "start": { - "line": 245, - "column": 16 + "line": 251, + "column": 40 }, "end": { - "line": 245, - "column": 21 + "line": 251, + "column": 41 } } }, { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 8142, - "end": 8143, + "type": "CommentLine", + "value": " Remove the state", + "start": 8377, + "end": 8396, "loc": { "start": { - "line": 245, - "column": 22 + "line": 252, + "column": 12 }, "end": { - "line": 245, - "column": 23 + "line": 252, + "column": 31 } } }, @@ -42507,16 +44212,16 @@ "updateContext": null }, "value": "this", - "start": 8144, - "end": 8148, + "start": 8410, + "end": 8414, "loc": { "start": { - "line": 245, - "column": 24 + "line": 253, + "column": 12 }, "end": { - "line": 245, - "column": 28 + "line": 253, + "column": 16 } } }, @@ -42533,16 +44238,16 @@ "binop": null, "updateContext": null }, - "start": 8148, - "end": 8149, + "start": 8414, + "end": 8415, "loc": { "start": { - "line": 245, - "column": 28 + "line": 253, + "column": 16 }, "end": { - "line": 245, - "column": 29 + "line": 253, + "column": 17 } } }, @@ -42559,16 +44264,16 @@ "binop": null }, "value": "states", - "start": 8149, - "end": 8155, + "start": 8415, + "end": 8421, "loc": { "start": { - "line": 245, - "column": 29 + "line": 253, + "column": 17 }, "end": { - "line": 245, - "column": 35 + "line": 253, + "column": 23 } } }, @@ -42585,16 +44290,16 @@ "binop": null, "updateContext": null }, - "start": 8155, - "end": 8156, + "start": 8421, + "end": 8422, "loc": { "start": { - "line": 245, - "column": 35 + "line": 253, + "column": 23 }, "end": { - "line": 245, - "column": 36 + "line": 253, + "column": 24 } } }, @@ -42610,17 +44315,17 @@ "postfix": false, "binop": null }, - "value": "indexOf", - "start": 8156, - "end": 8163, + "value": "splice", + "start": 8422, + "end": 8428, "loc": { "start": { - "line": 245, - "column": 36 + "line": 253, + "column": 24 }, "end": { - "line": 245, - "column": 43 + "line": 253, + "column": 30 } } }, @@ -42636,16 +44341,16 @@ "postfix": false, "binop": null }, - "start": 8163, - "end": 8164, + "start": 8428, + "end": 8429, "loc": { "start": { - "line": 245, - "column": 43 + "line": 253, + "column": 30 }, "end": { - "line": 245, - "column": 44 + "line": 253, + "column": 31 } } }, @@ -42661,50 +44366,51 @@ "postfix": false, "binop": null }, - "value": "state", - "start": 8164, - "end": 8169, + "value": "index", + "start": 8429, + "end": 8434, "loc": { "start": { - "line": 245, - "column": 44 + "line": 253, + "column": 31 }, "end": { - "line": 245, - "column": 49 + "line": 253, + "column": 36 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 8169, - "end": 8170, + "start": 8434, + "end": 8435, "loc": { "start": { - "line": 245, - "column": 49 + "line": 253, + "column": 36 }, "end": { - "line": 245, - "column": 50 + "line": 253, + "column": 37 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "num", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -42713,22 +44419,23 @@ "binop": null, "updateContext": null }, - "start": 8170, - "end": 8171, + "value": 1, + "start": 8436, + "end": 8437, "loc": { "start": { - "line": 245, - "column": 50 + "line": 253, + "column": 38 }, "end": { - "line": 245, - "column": 51 + "line": 253, + "column": 39 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -42738,16 +44445,42 @@ "postfix": false, "binop": null }, - "start": 8185, - "end": 8186, + "start": 8437, + "end": 8438, + "loc": { + "start": { + "line": 253, + "column": 39 + }, + "end": { + "line": 253, + "column": 40 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8438, + "end": 8439, "loc": { "start": { - "line": 246, - "column": 12 + "line": 253, + "column": 40 }, "end": { - "line": 246, - "column": 13 + "line": 253, + "column": 41 } } }, @@ -42763,23 +44496,23 @@ "postfix": false, "binop": null }, - "start": 8196, - "end": 8197, + "start": 8449, + "end": 8450, "loc": { "start": { - "line": 247, + "line": 254, "column": 8 }, "end": { - "line": 247, + "line": 254, "column": 9 } } }, { "type": { - "label": "else", - "keyword": "else", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -42790,48 +44523,24 @@ "binop": null, "updateContext": null }, - "value": "else", - "start": 8198, - "end": 8202, + "value": "return", + "start": 8460, + "end": 8466, "loc": { "start": { - "line": 247, - "column": 10 + "line": 255, + "column": 8 }, "end": { - "line": 247, + "line": 255, "column": 14 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8203, - "end": 8204, - "loc": { - "start": { - "line": 247, - "column": 15 - }, - "end": { - "line": 247, - "column": 16 - } - } - }, - { - "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -42839,26 +44548,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "VYI", - "start": 8218, - "end": 8221, + "value": "this", + "start": 8467, + "end": 8471, "loc": { "start": { - "line": 248, - "column": 12 + "line": 255, + "column": 15 }, "end": { - "line": 248, - "column": 15 + "line": 255, + "column": 19 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -42868,24 +44578,24 @@ "binop": null, "updateContext": null }, - "start": 8221, - "end": 8222, + "start": 8471, + "end": 8472, "loc": { "start": { - "line": 248, - "column": 15 + "line": 255, + "column": 19 }, "end": { - "line": 248, - "column": 16 + "line": 255, + "column": 20 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -42893,43 +44603,32 @@ "postfix": false, "binop": null }, - "value": "logger", - "start": 8222, - "end": 8228, + "start": 8478, + "end": 8479, "loc": { "start": { - "line": 248, - "column": 16 + "line": 256, + "column": 4 }, "end": { - "line": 248, - "column": 22 + "line": 256, + "column": 5 } } }, { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8228, - "end": 8229, + "type": "CommentBlock", + "value": "*\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 ", + "start": 8485, + "end": 8682, "loc": { "start": { - "line": 248, - "column": 22 + "line": 257, + "column": 4 }, "end": { - "line": 248, - "column": 23 + "line": 261, + "column": 7 } } }, @@ -42945,17 +44644,17 @@ "postfix": false, "binop": null }, - "value": "prefix", - "start": 8229, - "end": 8235, + "value": "addFrame", + "start": 8688, + "end": 8696, "loc": { "start": { - "line": 248, - "column": 23 + "line": 262, + "column": 4 }, "end": { - "line": 248, - "column": 29 + "line": 262, + "column": 12 } } }, @@ -42971,22 +44670,22 @@ "postfix": false, "binop": null }, - "start": 8235, - "end": 8236, + "start": 8696, + "end": 8697, "loc": { "start": { - "line": 248, - "column": 29 + "line": 262, + "column": 12 }, "end": { - "line": 248, - "column": 30 + "line": 262, + "column": 13 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -42994,20 +44693,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "VYI-Module", - "start": 8236, - "end": 8248, + "value": "pFrameData", + "start": 8697, + "end": 8707, "loc": { "start": { - "line": 248, - "column": 30 + "line": 262, + "column": 13 }, "end": { - "line": 248, - "column": 42 + "line": 262, + "column": 23 } } }, @@ -43023,68 +44721,69 @@ "postfix": false, "binop": null }, - "start": 8248, - "end": 8249, + "start": 8707, + "end": 8708, "loc": { "start": { - "line": 248, - "column": 42 + "line": 262, + "column": 23 }, "end": { - "line": 248, - "column": 43 + "line": 262, + "column": 24 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 8249, - "end": 8250, + "start": 8709, + "end": 8710, "loc": { "start": { - "line": 248, - "column": 43 + "line": 262, + "column": 25 }, "end": { - "line": 248, - "column": 44 + "line": 262, + "column": 26 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "error", - "start": 8250, - "end": 8255, + "value": "if", + "start": 8720, + "end": 8722, "loc": { "start": { - "line": 248, - "column": 44 + "line": 263, + "column": 8 }, "end": { - "line": 248, - "column": 49 + "line": 263, + "column": 10 } } }, @@ -43100,22 +44799,22 @@ "postfix": false, "binop": null }, - "start": 8255, - "end": 8256, + "start": 8723, + "end": 8724, "loc": { "start": { - "line": 248, - "column": 49 + "line": 263, + "column": 11 }, "end": { - "line": 248, - "column": 50 + "line": 263, + "column": 12 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -43123,20 +44822,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "Failed to remove state!", - "start": 8256, - "end": 8281, + "value": "pFrameData", + "start": 8724, + "end": 8734, "loc": { "start": { - "line": 248, - "column": 50 + "line": 263, + "column": 12 }, "end": { - "line": 248, - "column": 75 + "line": 263, + "column": 22 } } }, @@ -43152,50 +44850,49 @@ "postfix": false, "binop": null }, - "start": 8281, - "end": 8282, + "start": 8734, + "end": 8735, "loc": { "start": { - "line": 248, - "column": 75 + "line": 263, + "column": 22 }, "end": { - "line": 248, - "column": 76 + "line": 263, + "column": 23 } } }, { "type": { - "label": ";", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 8282, - "end": 8283, + "start": 8736, + "end": 8737, "loc": { "start": { - "line": 248, - "column": 76 + "line": 263, + "column": 24 }, "end": { - "line": 248, - "column": 77 + "line": 263, + "column": 25 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -43205,79 +44902,50 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 8297, - "end": 8303, + "value": "if", + "start": 8751, + "end": 8753, "loc": { "start": { - "line": 249, + "line": 264, "column": 12 }, "end": { - "line": 249, - "column": 18 - } - } - }, - { - "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": 8304, - "end": 8308, - "loc": { - "start": { - "line": 249, - "column": 19 - }, - "end": { - "line": 249, - "column": 23 + "line": 264, + "column": 14 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 8308, - "end": 8309, + "start": 8754, + "end": 8755, "loc": { "start": { - "line": 249, - "column": 23 + "line": 264, + "column": 15 }, "end": { - "line": 249, - "column": 24 + "line": 264, + "column": 16 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -43285,51 +44953,52 @@ "postfix": false, "binop": null }, - "start": 8319, - "end": 8320, + "value": "pFrameData", + "start": 8755, + "end": 8765, "loc": { "start": { - "line": 250, - "column": 8 + "line": 264, + "column": 16 }, "end": { - "line": 250, - "column": 9 + "line": 264, + "column": 26 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, + "label": "instanceof", + "keyword": "instanceof", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 7, "updateContext": null }, - "value": "if", - "start": 8330, - "end": 8332, + "value": "instanceof", + "start": 8766, + "end": 8776, "loc": { "start": { - "line": 251, - "column": 8 + "line": 264, + "column": 27 }, "end": { - "line": 251, - "column": 10 + "line": 264, + "column": 37 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -43338,50 +45007,48 @@ "postfix": false, "binop": null }, - "start": 8333, - "end": 8334, + "value": "Object", + "start": 8777, + "end": 8783, "loc": { "start": { - "line": 251, - "column": 11 + "line": 264, + "column": 38 }, "end": { - "line": 251, - "column": 12 + "line": 264, + "column": 44 } } }, { "type": { - "label": "typeof", - "keyword": "typeof", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "typeof", - "start": 8334, - "end": 8340, + "start": 8783, + "end": 8784, "loc": { "start": { - "line": 251, - "column": 12 + "line": 264, + "column": 44 }, "end": { - "line": 251, - "column": 18 + "line": 264, + "column": 45 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -43391,50 +45058,52 @@ "postfix": false, "binop": null }, - "start": 8340, - "end": 8341, + "start": 8785, + "end": 8786, "loc": { "start": { - "line": 251, - "column": 18 + "line": 264, + "column": 46 }, "end": { - "line": 251, - "column": 19 + "line": 264, + "column": 47 } } }, { "type": { - "label": "name", + "label": "const", + "keyword": "const", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "index", - "start": 8341, - "end": 8346, + "value": "const", + "start": 8804, + "end": 8809, "loc": { "start": { - "line": 251, - "column": 19 + "line": 265, + "column": 16 }, "end": { - "line": 251, - "column": 24 + "line": 265, + "column": 21 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -43442,50 +45111,52 @@ "postfix": false, "binop": null }, - "start": 8346, - "end": 8347, + "value": "frame", + "start": 8810, + "end": 8815, "loc": { "start": { - "line": 251, - "column": 24 + "line": 265, + "column": 22 }, "end": { - "line": 251, - "column": 25 + "line": 265, + "column": 27 } } }, { "type": { - "label": "==/!=", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": 6, + "binop": null, "updateContext": null }, - "value": "===", - "start": 8348, - "end": 8351, + "value": "=", + "start": 8816, + "end": 8817, "loc": { "start": { - "line": 251, - "column": 26 + "line": 265, + "column": 28 }, "end": { - "line": 251, + "line": 265, "column": 29 } } }, { "type": { - "label": "string", - "beforeExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -43495,25 +45166,25 @@ "binop": null, "updateContext": null }, - "value": "number", - "start": 8352, - "end": 8360, + "value": "new", + "start": 8818, + "end": 8821, "loc": { "start": { - "line": 251, + "line": 265, "column": 30 }, "end": { - "line": 251, - "column": 38 + "line": 265, + "column": 33 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -43521,22 +45192,23 @@ "postfix": false, "binop": null }, - "start": 8360, - "end": 8361, + "value": "Frame", + "start": 8822, + "end": 8827, "loc": { "start": { - "line": 251, - "column": 38 + "line": 265, + "column": 34 }, "end": { - "line": 251, + "line": 265, "column": 39 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -43546,39 +45218,22 @@ "postfix": false, "binop": null }, - "start": 8362, - "end": 8363, - "loc": { - "start": { - "line": 251, - "column": 40 - }, - "end": { - "line": 251, - "column": 41 - } - } - }, - { - "type": "CommentLine", - "value": " Remove the state", - "start": 8377, - "end": 8396, + "start": 8827, + "end": 8828, "loc": { "start": { - "line": 252, - "column": 12 + "line": 265, + "column": 39 }, "end": { - "line": 252, - "column": 31 + "line": 265, + "column": 40 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -43586,27 +45241,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 8410, - "end": 8414, + "value": "pFrameData", + "start": 8828, + "end": 8838, "loc": { "start": { - "line": 253, - "column": 12 + "line": 265, + "column": 40 }, "end": { - "line": 253, - "column": 16 + "line": 265, + "column": 50 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -43616,22 +45270,23 @@ "binop": null, "updateContext": null }, - "start": 8414, - "end": 8415, + "start": 8838, + "end": 8839, "loc": { "start": { - "line": 253, - "column": 16 + "line": 265, + "column": 50 }, "end": { - "line": 253, - "column": 17 + "line": 265, + "column": 51 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -43639,53 +45294,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null - }, - "value": "states", - "start": 8415, - "end": 8421, - "loc": { - "start": { - "line": 253, - "column": 17 - }, - "end": { - "line": 253, - "column": 23 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, "binop": null, "updateContext": null }, - "start": 8421, - "end": 8422, + "value": "this", + "start": 8840, + "end": 8844, "loc": { "start": { - "line": 253, - "column": 23 + "line": 265, + "column": 52 }, "end": { - "line": 253, - "column": 24 + "line": 265, + "column": 56 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -43693,76 +45323,67 @@ "postfix": false, "binop": null }, - "value": "splice", - "start": 8422, - "end": 8428, + "start": 8844, + "end": 8845, "loc": { "start": { - "line": 253, - "column": 24 + "line": 265, + "column": 56 }, "end": { - "line": 253, - "column": 30 + "line": 265, + "column": 57 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 8428, - "end": 8429, + "start": 8845, + "end": 8846, "loc": { "start": { - "line": 253, - "column": 30 + "line": 265, + "column": 57 }, "end": { - "line": 253, - "column": 31 + "line": 265, + "column": 58 } } }, { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "index", - "start": 8429, - "end": 8434, + "type": "CommentLine", + "value": " Add the frame to the frames array.", + "start": 8864, + "end": 8901, "loc": { "start": { - "line": 253, - "column": 31 + "line": 266, + "column": 16 }, "end": { - "line": 253, - "column": 36 + "line": 266, + "column": 53 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -43771,24 +45392,25 @@ "binop": null, "updateContext": null }, - "start": 8434, - "end": 8435, + "value": "this", + "start": 8919, + "end": 8923, "loc": { "start": { - "line": 253, - "column": 36 + "line": 267, + "column": 16 }, "end": { - "line": 253, - "column": 37 + "line": 267, + "column": 20 } } }, { "type": { - "label": "num", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -43797,25 +45419,24 @@ "binop": null, "updateContext": null }, - "value": 1, - "start": 8436, - "end": 8437, + "start": 8923, + "end": 8924, "loc": { "start": { - "line": 253, - "column": 38 + "line": 267, + "column": 20 }, "end": { - "line": 253, - "column": 39 + "line": 267, + "column": 21 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -43823,23 +45444,24 @@ "postfix": false, "binop": null }, - "start": 8437, - "end": 8438, + "value": "frames", + "start": 8924, + "end": 8930, "loc": { "start": { - "line": 253, - "column": 39 + "line": 267, + "column": 21 }, "end": { - "line": 253, - "column": 40 + "line": 267, + "column": 27 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -43849,24 +45471,24 @@ "binop": null, "updateContext": null }, - "start": 8438, - "end": 8439, + "start": 8930, + "end": 8931, "loc": { "start": { - "line": 253, - "column": 40 + "line": 267, + "column": 27 }, "end": { - "line": 253, - "column": 41 + "line": 267, + "column": 28 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -43874,51 +45496,48 @@ "postfix": false, "binop": null }, - "start": 8449, - "end": 8450, + "value": "push", + "start": 8931, + "end": 8935, "loc": { "start": { - "line": 254, - "column": 8 + "line": 267, + "column": 28 }, "end": { - "line": 254, - "column": 9 + "line": 267, + "column": 32 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 8460, - "end": 8466, + "start": 8935, + "end": 8936, "loc": { "start": { - "line": 255, - "column": 8 + "line": 267, + "column": 32 }, "end": { - "line": 255, - "column": 14 + "line": 267, + "column": 33 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -43926,93 +45545,93 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 8467, - "end": 8471, + "value": "frame", + "start": 8936, + "end": 8941, "loc": { "start": { - "line": 255, - "column": 15 + "line": 267, + "column": 33 }, "end": { - "line": 255, - "column": 19 + "line": 267, + "column": 38 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 8471, - "end": 8472, + "start": 8941, + "end": 8942, "loc": { "start": { - "line": 255, - "column": 19 + "line": 267, + "column": 38 }, "end": { - "line": 255, - "column": 20 + "line": 267, + "column": 39 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 8478, - "end": 8479, + "start": 8942, + "end": 8943, "loc": { "start": { - "line": 256, - "column": 4 + "line": 267, + "column": 39 }, "end": { - "line": 256, - "column": 5 + "line": 267, + "column": 40 } } }, { - "type": "CommentBlock", - "value": "*\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 ", - "start": 8485, - "end": 8682, + "type": "CommentLine", + "value": " Re-index frames after a change", + "start": 8961, + "end": 8994, "loc": { "start": { - "line": 257, - "column": 4 + "line": 268, + "column": 16 }, "end": { - "line": 261, - "column": 7 + "line": 268, + "column": 49 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -44020,44 +45639,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "addFrame", - "start": 8688, - "end": 8696, + "value": "this", + "start": 9012, + "end": 9016, "loc": { "start": { - "line": 262, - "column": 4 + "line": 269, + "column": 16 }, "end": { - "line": 262, - "column": 12 + "line": 269, + "column": 20 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 8696, - "end": 8697, + "start": 9016, + "end": 9017, "loc": { "start": { - "line": 262, - "column": 12 + "line": 269, + "column": 20 }, "end": { - "line": 262, - "column": 13 + "line": 269, + "column": 21 } } }, @@ -44073,25 +45694,25 @@ "postfix": false, "binop": null }, - "value": "pFrameData", - "start": 8697, - "end": 8707, + "value": "indexFrames", + "start": 9017, + "end": 9028, "loc": { "start": { - "line": 262, - "column": 13 + "line": 269, + "column": 21 }, "end": { - "line": 262, - "column": 23 + "line": 269, + "column": 32 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -44099,24 +45720,24 @@ "postfix": false, "binop": null }, - "start": 8707, - "end": 8708, + "start": 9028, + "end": 9029, "loc": { "start": { - "line": 262, - "column": 23 + "line": 269, + "column": 32 }, "end": { - "line": 262, - "column": 24 + "line": 269, + "column": 33 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -44124,24 +45745,23 @@ "postfix": false, "binop": null }, - "start": 8709, - "end": 8710, + "start": 9029, + "end": 9030, "loc": { "start": { - "line": 262, - "column": 25 + "line": 269, + "column": 33 }, "end": { - "line": 262, - "column": 26 + "line": 269, + "column": 34 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -44151,42 +45771,44 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 8720, - "end": 8722, + "start": 9030, + "end": 9031, "loc": { "start": { - "line": 263, - "column": 8 + "line": 269, + "column": 34 }, "end": { - "line": 263, - "column": 10 + "line": 269, + "column": 35 } } }, { "type": { - "label": "(", + "label": "return", + "keyword": "return", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 8723, - "end": 8724, + "value": "return", + "start": 9049, + "end": 9055, "loc": { - "start": { - "line": 263, - "column": 11 + "start": { + "line": 270, + "column": 16 }, "end": { - "line": 263, - "column": 12 + "line": 270, + "column": 22 } } }, @@ -44202,50 +45824,51 @@ "postfix": false, "binop": null }, - "value": "pFrameData", - "start": 8724, - "end": 8734, + "value": "frame", + "start": 9056, + "end": 9061, "loc": { "start": { - "line": 263, - "column": 12 + "line": 270, + "column": 23 }, "end": { - "line": 263, - "column": 22 + "line": 270, + "column": 28 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 8734, - "end": 8735, + "start": 9061, + "end": 9062, "loc": { "start": { - "line": 263, - "column": 22 + "line": 270, + "column": 28 }, "end": { - "line": 263, - "column": 23 + "line": 270, + "column": 29 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -44253,24 +45876,24 @@ "postfix": false, "binop": null }, - "start": 8736, - "end": 8737, + "start": 9076, + "end": 9077, "loc": { "start": { - "line": 263, - "column": 24 + "line": 271, + "column": 12 }, "end": { - "line": 263, - "column": 25 + "line": 271, + "column": 13 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, + "label": "else", + "keyword": "else", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -44280,23 +45903,23 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 8751, - "end": 8753, + "value": "else", + "start": 9078, + "end": 9082, "loc": { "start": { - "line": 264, - "column": 12 + "line": 271, + "column": 14 }, "end": { - "line": 264, - "column": 14 + "line": 271, + "column": 18 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -44306,16 +45929,16 @@ "postfix": false, "binop": null }, - "start": 8754, - "end": 8755, + "start": 9083, + "end": 9084, "loc": { "start": { - "line": 264, - "column": 15 + "line": 271, + "column": 19 }, "end": { - "line": 264, - "column": 16 + "line": 271, + "column": 20 } } }, @@ -44331,45 +45954,43 @@ "postfix": false, "binop": null }, - "value": "pFrameData", - "start": 8755, - "end": 8765, + "value": "VYI", + "start": 9102, + "end": 9105, "loc": { "start": { - "line": 264, + "line": 272, "column": 16 }, "end": { - "line": 264, - "column": 26 + "line": 272, + "column": 19 } } }, { "type": { - "label": "instanceof", - "keyword": "instanceof", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 7, + "binop": null, "updateContext": null }, - "value": "instanceof", - "start": 8766, - "end": 8776, + "start": 9105, + "end": 9106, "loc": { "start": { - "line": 264, - "column": 27 + "line": 272, + "column": 19 }, "end": { - "line": 264, - "column": 37 + "line": 272, + "column": 20 } } }, @@ -44385,23 +46006,23 @@ "postfix": false, "binop": null }, - "value": "Object", - "start": 8777, - "end": 8783, + "value": "logger", + "start": 9106, + "end": 9112, "loc": { "start": { - "line": 264, - "column": 38 + "line": 272, + "column": 20 }, "end": { - "line": 264, - "column": 44 + "line": 272, + "column": 26 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -44409,25 +46030,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 8783, - "end": 8784, + "start": 9112, + "end": 9113, "loc": { "start": { - "line": 264, - "column": 44 + "line": 272, + "column": 26 }, "end": { - "line": 264, - "column": 45 + "line": 272, + "column": 27 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -44436,50 +46058,48 @@ "postfix": false, "binop": null }, - "start": 8785, - "end": 8786, + "value": "prefix", + "start": 9113, + "end": 9119, "loc": { "start": { - "line": 264, - "column": 46 + "line": 272, + "column": 27 }, "end": { - "line": 264, - "column": 47 + "line": 272, + "column": 33 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 8804, - "end": 8809, + "start": 9119, + "end": 9120, "loc": { "start": { - "line": 265, - "column": 16 + "line": 272, + "column": 33 }, "end": { - "line": 265, - "column": 21 + "line": 272, + "column": 34 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -44487,55 +46107,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "frame", - "start": 8810, - "end": 8815, + "value": "VYI-Module", + "start": 9120, + "end": 9132, "loc": { "start": { - "line": 265, - "column": 22 + "line": 272, + "column": 34 }, "end": { - "line": 265, - "column": 27 + "line": 272, + "column": 46 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 8816, - "end": 8817, + "start": 9132, + "end": 9133, "loc": { "start": { - "line": 265, - "column": 28 + "line": 272, + "column": 46 }, "end": { - "line": 265, - "column": 29 + "line": 272, + "column": 47 } } }, { "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -44544,17 +46162,16 @@ "binop": null, "updateContext": null }, - "value": "new", - "start": 8818, - "end": 8821, + "start": 9133, + "end": 9134, "loc": { "start": { - "line": 265, - "column": 30 + "line": 272, + "column": 47 }, "end": { - "line": 265, - "column": 33 + "line": 272, + "column": 48 } } }, @@ -44570,17 +46187,17 @@ "postfix": false, "binop": null }, - "value": "Frame", - "start": 8822, - "end": 8827, + "value": "error", + "start": 9134, + "end": 9139, "loc": { "start": { - "line": 265, - "column": 34 + "line": 272, + "column": 48 }, "end": { - "line": 265, - "column": 39 + "line": 272, + "column": 53 } } }, @@ -44596,22 +46213,22 @@ "postfix": false, "binop": null }, - "start": 8827, - "end": 8828, + "start": 9139, + "end": 9140, "loc": { "start": { - "line": 265, - "column": 39 + "line": 272, + "column": 53 }, "end": { - "line": 265, - "column": 40 + "line": 272, + "column": 54 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -44619,54 +46236,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "pFrameData", - "start": 8828, - "end": 8838, + "value": "Invalid frame data passed!", + "start": 9140, + "end": 9168, "loc": { "start": { - "line": 265, - "column": 40 + "line": 272, + "column": 54 }, "end": { - "line": 265, - "column": 50 + "line": 272, + "column": 82 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 8838, - "end": 8839, + "start": 9168, + "end": 9169, "loc": { "start": { - "line": 265, - "column": 50 + "line": 272, + "column": 82 }, "end": { - "line": 265, - "column": 51 + "line": 272, + "column": 83 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -44675,23 +46291,22 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 8840, - "end": 8844, + "start": 9169, + "end": 9170, "loc": { "start": { - "line": 265, - "column": 52 + "line": 272, + "column": 83 }, "end": { - "line": 265, - "column": 56 + "line": 272, + "column": 84 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -44701,67 +46316,50 @@ "postfix": false, "binop": null }, - "start": 8844, - "end": 8845, + "start": 9184, + "end": 9185, "loc": { "start": { - "line": 265, - "column": 56 + "line": 273, + "column": 12 }, "end": { - "line": 265, - "column": 57 + "line": 273, + "column": 13 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 8845, - "end": 8846, - "loc": { - "start": { - "line": 265, - "column": 57 - }, - "end": { - "line": 265, - "column": 58 - } - } - }, - { - "type": "CommentLine", - "value": " Add the frame to the frames array.", - "start": 8864, - "end": 8901, + "start": 9195, + "end": 9196, "loc": { "start": { - "line": 266, - "column": 16 + "line": 274, + "column": 8 }, "end": { - "line": 266, - "column": 53 + "line": 274, + "column": 9 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -44770,43 +46368,42 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 8919, - "end": 8923, + "value": "else", + "start": 9197, + "end": 9201, "loc": { "start": { - "line": 267, - "column": 16 + "line": 274, + "column": 10 }, "end": { - "line": 267, - "column": 20 + "line": 274, + "column": 14 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 8923, - "end": 8924, + "start": 9202, + "end": 9203, "loc": { "start": { - "line": 267, - "column": 20 + "line": 274, + "column": 15 }, "end": { - "line": 267, - "column": 21 + "line": 274, + "column": 16 } } }, @@ -44822,17 +46419,17 @@ "postfix": false, "binop": null }, - "value": "frames", - "start": 8924, - "end": 8930, + "value": "VYI", + "start": 9217, + "end": 9220, "loc": { "start": { - "line": 267, - "column": 21 + "line": 275, + "column": 12 }, "end": { - "line": 267, - "column": 27 + "line": 275, + "column": 15 } } }, @@ -44849,16 +46446,16 @@ "binop": null, "updateContext": null }, - "start": 8930, - "end": 8931, + "start": 9220, + "end": 9221, "loc": { "start": { - "line": 267, - "column": 27 + "line": 275, + "column": 15 }, "end": { - "line": 267, - "column": 28 + "line": 275, + "column": 16 } } }, @@ -44874,42 +46471,43 @@ "postfix": false, "binop": null }, - "value": "push", - "start": 8931, - "end": 8935, + "value": "logger", + "start": 9221, + "end": 9227, "loc": { "start": { - "line": 267, - "column": 28 + "line": 275, + "column": 16 }, "end": { - "line": 267, - "column": 32 + "line": 275, + "column": 22 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 8935, - "end": 8936, + "start": 9227, + "end": 9228, "loc": { "start": { - "line": 267, - "column": 32 + "line": 275, + "column": 22 }, "end": { - "line": 267, - "column": 33 + "line": 275, + "column": 23 } } }, @@ -44925,25 +46523,25 @@ "postfix": false, "binop": null }, - "value": "frame", - "start": 8936, - "end": 8941, + "value": "prefix", + "start": 9228, + "end": 9234, "loc": { "start": { - "line": 267, - "column": 33 + "line": 275, + "column": 23 }, "end": { - "line": 267, - "column": 38 + "line": 275, + "column": 29 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -44951,24 +46549,24 @@ "postfix": false, "binop": null }, - "start": 8941, - "end": 8942, + "start": 9234, + "end": 9235, "loc": { "start": { - "line": 267, - "column": 38 + "line": 275, + "column": 29 }, "end": { - "line": 267, - "column": 39 + "line": 275, + "column": 30 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "string", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -44977,60 +46575,42 @@ "binop": null, "updateContext": null }, - "start": 8942, - "end": 8943, - "loc": { - "start": { - "line": 267, - "column": 39 - }, - "end": { - "line": 267, - "column": 40 - } - } - }, - { - "type": "CommentLine", - "value": " Re-index frames after a change", - "start": 8961, - "end": 8994, + "value": "VYI-Module", + "start": 9235, + "end": 9247, "loc": { "start": { - "line": 268, - "column": 16 + "line": 275, + "column": 30 }, "end": { - "line": 268, - "column": 49 + "line": 275, + "column": 42 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 9012, - "end": 9016, + "start": 9247, + "end": 9248, "loc": { "start": { - "line": 269, - "column": 16 + "line": 275, + "column": 42 }, "end": { - "line": 269, - "column": 20 + "line": 275, + "column": 43 } } }, @@ -45047,16 +46627,16 @@ "binop": null, "updateContext": null }, - "start": 9016, - "end": 9017, + "start": 9248, + "end": 9249, "loc": { "start": { - "line": 269, - "column": 20 + "line": 275, + "column": 43 }, "end": { - "line": 269, - "column": 21 + "line": 275, + "column": 44 } } }, @@ -45072,17 +46652,17 @@ "postfix": false, "binop": null }, - "value": "indexFrames", - "start": 9017, - "end": 9028, + "value": "error", + "start": 9249, + "end": 9254, "loc": { "start": { - "line": 269, - "column": 21 + "line": 275, + "column": 44 }, "end": { - "line": 269, - "column": 32 + "line": 275, + "column": 49 } } }, @@ -45098,74 +46678,74 @@ "postfix": false, "binop": null }, - "start": 9028, - "end": 9029, + "start": 9254, + "end": 9255, "loc": { "start": { - "line": 269, - "column": 32 + "line": 275, + "column": 49 }, "end": { - "line": 269, - "column": 33 + "line": 275, + "column": 50 } } }, { "type": { - "label": ")", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 9029, - "end": 9030, + "value": "No frame data passed!", + "start": 9255, + "end": 9278, "loc": { "start": { - "line": 269, - "column": 33 + "line": 275, + "column": 50 }, "end": { - "line": 269, - "column": 34 + "line": 275, + "column": 73 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 9030, - "end": 9031, + "start": 9278, + "end": 9279, "loc": { "start": { - "line": 269, - "column": 34 + "line": 275, + "column": 73 }, "end": { - "line": 269, - "column": 35 + "line": 275, + "column": 74 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -45176,25 +46756,24 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 9049, - "end": 9055, + "start": 9279, + "end": 9280, "loc": { "start": { - "line": 270, - "column": 16 + "line": 275, + "column": 74 }, "end": { - "line": 270, - "column": 22 + "line": 275, + "column": 75 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -45202,102 +46781,89 @@ "postfix": false, "binop": null }, - "value": "frame", - "start": 9056, - "end": 9061, + "start": 9290, + "end": 9291, "loc": { "start": { - "line": 270, - "column": 23 + "line": 276, + "column": 8 }, "end": { - "line": 270, - "column": 28 + "line": 276, + "column": 9 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 9061, - "end": 9062, + "start": 9297, + "end": 9298, "loc": { "start": { - "line": 270, - "column": 28 + "line": 277, + "column": 4 }, "end": { - "line": 270, - "column": 29 + "line": 277, + "column": 5 } } }, { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 9076, - "end": 9077, + "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": 9304, + "end": 9691, "loc": { "start": { - "line": 271, - "column": 12 + "line": 278, + "column": 4 }, "end": { - "line": 271, - "column": 13 + "line": 283, + "column": 7 } } }, { "type": { - "label": "else", - "keyword": "else", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "else", - "start": 9078, - "end": 9082, + "value": "removeFrame", + "start": 9697, + "end": 9708, "loc": { "start": { - "line": 271, - "column": 14 + "line": 284, + "column": 4 }, "end": { - "line": 271, - "column": 18 + "line": 284, + "column": 15 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -45307,16 +46873,16 @@ "postfix": false, "binop": null }, - "start": 9083, - "end": 9084, + "start": 9708, + "end": 9709, "loc": { "start": { - "line": 271, - "column": 19 + "line": 284, + "column": 15 }, "end": { - "line": 271, - "column": 20 + "line": 284, + "column": 16 } } }, @@ -45332,24 +46898,24 @@ "postfix": false, "binop": null }, - "value": "VYI", - "start": 9102, - "end": 9105, + "value": "pFrame", + "start": 9709, + "end": 9715, "loc": { "start": { - "line": 272, + "line": 284, "column": 16 }, "end": { - "line": 272, - "column": 19 + "line": 284, + "column": 22 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -45359,16 +46925,16 @@ "binop": null, "updateContext": null }, - "start": 9105, - "end": 9106, + "start": 9715, + "end": 9716, "loc": { "start": { - "line": 272, - "column": 19 + "line": 284, + "column": 22 }, "end": { - "line": 272, - "column": 20 + "line": 284, + "column": 23 } } }, @@ -45384,23 +46950,23 @@ "postfix": false, "binop": null }, - "value": "logger", - "start": 9106, - "end": 9112, + "value": "pIndex", + "start": 9717, + "end": 9723, "loc": { "start": { - "line": 272, - "column": 20 + "line": 284, + "column": 24 }, "end": { - "line": 272, - "column": 26 + "line": 284, + "column": 30 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -45408,26 +46974,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 9112, - "end": 9113, + "start": 9723, + "end": 9724, "loc": { "start": { - "line": 272, - "column": 26 + "line": 284, + "column": 30 }, "end": { - "line": 272, - "column": 27 + "line": 284, + "column": 31 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -45436,50 +47001,41 @@ "postfix": false, "binop": null }, - "value": "prefix", - "start": 9113, - "end": 9119, + "start": 9725, + "end": 9726, "loc": { "start": { - "line": 272, - "column": 27 + "line": 284, + "column": 32 }, "end": { - "line": 272, + "line": 284, "column": 33 } } }, { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 9119, - "end": 9120, + "type": "CommentLine", + "value": " The index used to remove this frame.", + "start": 9736, + "end": 9775, "loc": { "start": { - "line": 272, - "column": 33 + "line": 285, + "column": 8 }, "end": { - "line": 272, - "column": 34 + "line": 285, + "column": 47 } } }, { "type": { - "label": "string", + "label": "let", + "keyword": "let", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -45488,25 +47044,25 @@ "binop": null, "updateContext": null }, - "value": "VYI-Module", - "start": 9120, - "end": 9132, + "value": "let", + "start": 9785, + "end": 9788, "loc": { "start": { - "line": 272, - "column": 34 + "line": 286, + "column": 8 }, "end": { - "line": 272, - "column": 46 + "line": 286, + "column": 11 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -45514,23 +47070,24 @@ "postfix": false, "binop": null }, - "start": 9132, - "end": 9133, + "value": "index", + "start": 9789, + "end": 9794, "loc": { "start": { - "line": 272, - "column": 46 + "line": 286, + "column": 12 }, "end": { - "line": 272, - "column": 47 + "line": 286, + "column": 17 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -45540,42 +47097,60 @@ "binop": null, "updateContext": null }, - "start": 9133, - "end": 9134, + "start": 9794, + "end": 9795, "loc": { "start": { - "line": 272, - "column": 47 + "line": 286, + "column": 17 }, "end": { - "line": 272, - "column": 48 + "line": 286, + "column": 18 + } + } + }, + { + "type": "CommentLine", + "value": " Remove via reference to frame.", + "start": 9805, + "end": 9838, + "loc": { + "start": { + "line": 287, + "column": 8 + }, + "end": { + "line": 287, + "column": 41 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "error", - "start": 9134, - "end": 9139, + "value": "if", + "start": 9848, + "end": 9850, "loc": { "start": { - "line": 272, - "column": 48 + "line": 288, + "column": 8 }, "end": { - "line": 272, - "column": 53 + "line": 288, + "column": 10 } } }, @@ -45591,22 +47166,23 @@ "postfix": false, "binop": null }, - "start": 9139, - "end": 9140, + "start": 9851, + "end": 9852, "loc": { "start": { - "line": 272, - "column": 53 + "line": 288, + "column": 11 }, "end": { - "line": 272, - "column": 54 + "line": 288, + "column": 12 } } }, { "type": { - "label": "string", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -45617,23 +47193,23 @@ "binop": null, "updateContext": null }, - "value": "Invalid frame data passed!", - "start": 9140, - "end": 9168, + "value": "this", + "start": 9852, + "end": 9856, "loc": { "start": { - "line": 272, - "column": 54 + "line": 288, + "column": 12 }, "end": { - "line": 272, - "column": 82 + "line": 288, + "column": 16 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -45641,50 +47217,51 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 9168, - "end": 9169, + "start": 9856, + "end": 9857, "loc": { "start": { - "line": 272, - "column": 82 + "line": 288, + "column": 16 }, "end": { - "line": 272, - "column": 83 + "line": 288, + "column": 17 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 9169, - "end": 9170, + "value": "frames", + "start": 9857, + "end": 9863, "loc": { "start": { - "line": 272, - "column": 83 + "line": 288, + "column": 17 }, "end": { - "line": 272, - "column": 84 + "line": 288, + "column": 23 } } }, { "type": { - "label": "}", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -45692,26 +47269,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 9184, - "end": 9185, + "start": 9863, + "end": 9864, "loc": { "start": { - "line": 273, - "column": 12 + "line": 288, + "column": 23 }, "end": { - "line": 273, - "column": 13 + "line": 288, + "column": 24 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -45719,51 +47297,49 @@ "postfix": false, "binop": null }, - "start": 9195, - "end": 9196, + "value": "includes", + "start": 9864, + "end": 9872, "loc": { "start": { - "line": 274, - "column": 8 + "line": 288, + "column": 24 }, "end": { - "line": 274, - "column": 9 + "line": 288, + "column": 32 } } }, { "type": { - "label": "else", - "keyword": "else", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "else", - "start": 9197, - "end": 9201, + "start": 9872, + "end": 9873, "loc": { "start": { - "line": 274, - "column": 10 + "line": 288, + "column": 32 }, "end": { - "line": 274, - "column": 14 + "line": 288, + "column": 33 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -45772,24 +47348,25 @@ "postfix": false, "binop": null }, - "start": 9202, - "end": 9203, + "value": "pFrame", + "start": 9873, + "end": 9879, "loc": { "start": { - "line": 274, - "column": 15 + "line": 288, + "column": 33 }, "end": { - "line": 274, - "column": 16 + "line": 288, + "column": 39 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -45797,23 +47374,22 @@ "postfix": false, "binop": null }, - "value": "VYI", - "start": 9217, - "end": 9220, + "start": 9879, + "end": 9880, "loc": { "start": { - "line": 275, - "column": 12 + "line": 288, + "column": 39 }, "end": { - "line": 275, - "column": 15 + "line": 288, + "column": 40 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -45821,26 +47397,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 9220, - "end": 9221, + "start": 9880, + "end": 9881, "loc": { "start": { - "line": 275, - "column": 15 + "line": 288, + "column": 40 }, "end": { - "line": 275, - "column": 16 + "line": 288, + "column": 41 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -45849,102 +47424,105 @@ "postfix": false, "binop": null }, - "value": "logger", - "start": 9221, - "end": 9227, + "start": 9882, + "end": 9883, "loc": { "start": { - "line": 275, - "column": 16 + "line": 288, + "column": 42 }, "end": { - "line": 275, - "column": 22 + "line": 288, + "column": 43 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 9227, - "end": 9228, + "value": "index", + "start": 9897, + "end": 9902, "loc": { "start": { - "line": 275, - "column": 22 + "line": 289, + "column": 12 }, "end": { - "line": 275, - "column": 23 + "line": 289, + "column": 17 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "prefix", - "start": 9228, - "end": 9234, + "value": "=", + "start": 9903, + "end": 9904, "loc": { "start": { - "line": 275, - "column": 23 + "line": 289, + "column": 18 }, "end": { - "line": 275, - "column": 29 + "line": 289, + "column": 19 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "this", + "keyword": "this", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 9234, - "end": 9235, + "value": "this", + "start": 9905, + "end": 9909, "loc": { "start": { - "line": 275, - "column": 29 + "line": 289, + "column": 20 }, "end": { - "line": 275, - "column": 30 + "line": 289, + "column": 24 } } }, { "type": { - "label": "string", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -45953,25 +47531,24 @@ "binop": null, "updateContext": null }, - "value": "VYI-Module", - "start": 9235, - "end": 9247, + "start": 9909, + "end": 9910, "loc": { "start": { - "line": 275, - "column": 30 + "line": 289, + "column": 24 }, "end": { - "line": 275, - "column": 42 + "line": 289, + "column": 25 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -45979,16 +47556,17 @@ "postfix": false, "binop": null }, - "start": 9247, - "end": 9248, + "value": "frames", + "start": 9910, + "end": 9916, "loc": { "start": { - "line": 275, - "column": 42 + "line": 289, + "column": 25 }, "end": { - "line": 275, - "column": 43 + "line": 289, + "column": 31 } } }, @@ -46005,16 +47583,16 @@ "binop": null, "updateContext": null }, - "start": 9248, - "end": 9249, + "start": 9916, + "end": 9917, "loc": { "start": { - "line": 275, - "column": 43 + "line": 289, + "column": 31 }, "end": { - "line": 275, - "column": 44 + "line": 289, + "column": 32 } } }, @@ -46030,17 +47608,17 @@ "postfix": false, "binop": null }, - "value": "error", - "start": 9249, - "end": 9254, + "value": "indexOf", + "start": 9917, + "end": 9924, "loc": { "start": { - "line": 275, - "column": 44 + "line": 289, + "column": 32 }, "end": { - "line": 275, - "column": 49 + "line": 289, + "column": 39 } } }, @@ -46056,22 +47634,22 @@ "postfix": false, "binop": null }, - "start": 9254, - "end": 9255, + "start": 9924, + "end": 9925, "loc": { "start": { - "line": 275, - "column": 49 + "line": 289, + "column": 39 }, "end": { - "line": 275, - "column": 50 + "line": 289, + "column": 40 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -46079,20 +47657,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "No frame data passed!", - "start": 9255, - "end": 9278, + "value": "pFrame", + "start": 9925, + "end": 9931, "loc": { "start": { - "line": 275, - "column": 50 + "line": 289, + "column": 40 }, "end": { - "line": 275, - "column": 73 + "line": 289, + "column": 46 } } }, @@ -46108,16 +47685,16 @@ "postfix": false, "binop": null }, - "start": 9278, - "end": 9279, + "start": 9931, + "end": 9932, "loc": { "start": { - "line": 275, - "column": 73 + "line": 289, + "column": 46 }, "end": { - "line": 275, - "column": 74 + "line": 289, + "column": 47 } } }, @@ -46134,16 +47711,32 @@ "binop": null, "updateContext": null }, - "start": 9279, - "end": 9280, + "start": 9932, + "end": 9933, "loc": { "start": { - "line": 275, - "column": 74 + "line": 289, + "column": 47 }, "end": { - "line": 275, - "column": 75 + "line": 289, + "column": 48 + } + } + }, + { + "type": "CommentLine", + "value": " Remove via index passed.", + "start": 9943, + "end": 9970, + "loc": { + "start": { + "line": 290, + "column": 8 + }, + "end": { + "line": 290, + "column": 35 } } }, @@ -46159,83 +47752,72 @@ "postfix": false, "binop": null }, - "start": 9290, - "end": 9291, + "start": 9980, + "end": 9981, "loc": { "start": { - "line": 276, + "line": 291, "column": 8 }, "end": { - "line": 276, + "line": 291, "column": 9 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": "else", + "keyword": "else", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 9297, - "end": 9298, - "loc": { - "start": { - "line": 277, - "column": 4 - }, - "end": { - "line": 277, - "column": 5 - } - } - }, - { - "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": 9304, - "end": 9691, + "value": "else", + "start": 9982, + "end": 9986, "loc": { "start": { - "line": 278, - "column": 4 + "line": 291, + "column": 10 }, "end": { - "line": 283, - "column": 7 + "line": 291, + "column": 14 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "removeFrame", - "start": 9697, - "end": 9708, + "value": "if", + "start": 9987, + "end": 9989, "loc": { "start": { - "line": 284, - "column": 4 + "line": 291, + "column": 15 }, "end": { - "line": 284, - "column": 15 + "line": 291, + "column": 17 } } }, @@ -46251,16 +47833,16 @@ "postfix": false, "binop": null }, - "start": 9708, - "end": 9709, + "start": 9990, + "end": 9991, "loc": { "start": { - "line": 284, - "column": 15 + "line": 291, + "column": 18 }, "end": { - "line": 284, - "column": 16 + "line": 291, + "column": 19 } } }, @@ -46276,23 +47858,23 @@ "postfix": false, "binop": null }, - "value": "pFrame", - "start": 9709, - "end": 9715, + "value": "pIndex", + "start": 9991, + "end": 9997, "loc": { "start": { - "line": 284, - "column": 16 + "line": 291, + "column": 19 }, "end": { - "line": 284, - "column": 22 + "line": 291, + "column": 25 } } }, { "type": { - "label": ",", + "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -46300,19 +47882,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 1, "updateContext": null }, - "start": 9715, - "end": 9716, + "value": "||", + "start": 9998, + "end": 10000, "loc": { "start": { - "line": 284, - "column": 22 + "line": 291, + "column": 26 }, "end": { - "line": 284, - "column": 23 + "line": 291, + "column": 28 } } }, @@ -46329,91 +47912,51 @@ "binop": null }, "value": "pIndex", - "start": 9717, - "end": 9723, - "loc": { - "start": { - "line": 284, - "column": 24 - }, - "end": { - "line": 284, - "column": 30 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 9723, - "end": 9724, + "start": 10001, + "end": 10007, "loc": { "start": { - "line": 284, - "column": 30 + "line": 291, + "column": 29 }, "end": { - "line": 284, - "column": 31 + "line": 291, + "column": 35 } } }, { "type": { - "label": "{", + "label": "==/!=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 6, + "updateContext": null }, - "start": 9725, - "end": 9726, - "loc": { - "start": { - "line": 284, - "column": 32 - }, - "end": { - "line": 284, - "column": 33 - } - } - }, - { - "type": "CommentLine", - "value": " The index used to remove this frame.", - "start": 9736, - "end": 9775, + "value": "===", + "start": 10008, + "end": 10011, "loc": { "start": { - "line": 285, - "column": 8 + "line": 291, + "column": 36 }, "end": { - "line": 285, - "column": 47 + "line": 291, + "column": 39 } } }, { "type": { - "label": "let", - "keyword": "let", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -46422,25 +47965,25 @@ "binop": null, "updateContext": null }, - "value": "let", - "start": 9785, - "end": 9788, + "value": 0, + "start": 10012, + "end": 10013, "loc": { "start": { - "line": 286, - "column": 8 + "line": 291, + "column": 40 }, "end": { - "line": 286, - "column": 11 + "line": 291, + "column": 41 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -46448,59 +47991,41 @@ "postfix": false, "binop": null }, - "value": "index", - "start": 9789, - "end": 9794, + "start": 10013, + "end": 10014, "loc": { "start": { - "line": 286, - "column": 12 + "line": 291, + "column": 41 }, "end": { - "line": 286, - "column": 17 + "line": 291, + "column": 42 } } }, { "type": { - "label": ";", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 9794, - "end": 9795, - "loc": { - "start": { - "line": 286, - "column": 17 - }, - "end": { - "line": 286, - "column": 18 - } - } - }, - { - "type": "CommentLine", - "value": " Remove via reference to frame.", - "start": 9805, - "end": 9838, + "start": 10015, + "end": 10016, "loc": { "start": { - "line": 287, - "column": 8 + "line": 291, + "column": 43 }, "end": { - "line": 287, - "column": 41 + "line": 291, + "column": 44 } } }, @@ -46519,16 +48044,16 @@ "updateContext": null }, "value": "if", - "start": 9848, - "end": 9850, + "start": 10030, + "end": 10032, "loc": { "start": { - "line": 288, - "column": 8 + "line": 292, + "column": 12 }, "end": { - "line": 288, - "column": 10 + "line": 292, + "column": 14 } } }, @@ -46544,77 +48069,51 @@ "postfix": false, "binop": null }, - "start": 9851, - "end": 9852, - "loc": { - "start": { - "line": 288, - "column": 11 - }, - "end": { - "line": 288, - "column": 12 - } - } - }, - { - "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": 9852, - "end": 9856, + "start": 10033, + "end": 10034, "loc": { "start": { - "line": 288, - "column": 12 + "line": 292, + "column": 15 }, "end": { - "line": 288, + "line": 292, "column": 16 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "typeof", + "keyword": "typeof", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, "binop": null, "updateContext": null }, - "start": 9856, - "end": 9857, + "value": "typeof", + "start": 10034, + "end": 10040, "loc": { "start": { - "line": 288, + "line": 292, "column": 16 }, "end": { - "line": 288, - "column": 17 + "line": 292, + "column": 22 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -46623,51 +48122,50 @@ "postfix": false, "binop": null }, - "value": "frames", - "start": 9857, - "end": 9863, + "start": 10040, + "end": 10041, "loc": { "start": { - "line": 288, - "column": 17 + "line": 292, + "column": 22 }, "end": { - "line": 288, + "line": 292, "column": 23 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 9863, - "end": 9864, + "value": "pIndex", + "start": 10041, + "end": 10047, "loc": { "start": { - "line": 288, + "line": 292, "column": 23 }, "end": { - "line": 288, - "column": 24 + "line": 292, + "column": 29 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -46675,48 +48173,49 @@ "postfix": false, "binop": null }, - "value": "includes", - "start": 9864, - "end": 9872, + "start": 10047, + "end": 10048, "loc": { "start": { - "line": 288, - "column": 24 + "line": 292, + "column": 29 }, "end": { - "line": 288, - "column": 32 + "line": 292, + "column": 30 } } }, { "type": { - "label": "(", + "label": "==/!=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 6, + "updateContext": null }, - "start": 9872, - "end": 9873, + "value": "===", + "start": 10049, + "end": 10052, "loc": { "start": { - "line": 288, - "column": 32 + "line": 292, + "column": 31 }, "end": { - "line": 288, - "column": 33 + "line": 292, + "column": 34 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -46724,19 +48223,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "pFrame", - "start": 9873, - "end": 9879, + "value": "number", + "start": 10053, + "end": 10061, "loc": { "start": { - "line": 288, - "column": 33 + "line": 292, + "column": 35 }, "end": { - "line": 288, - "column": 39 + "line": 292, + "column": 43 } } }, @@ -46752,24 +48252,24 @@ "postfix": false, "binop": null }, - "start": 9879, - "end": 9880, + "start": 10061, + "end": 10062, "loc": { "start": { - "line": 288, - "column": 39 + "line": 292, + "column": 43 }, "end": { - "line": 288, - "column": 40 + "line": 292, + "column": 44 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -46777,41 +48277,44 @@ "postfix": false, "binop": null }, - "start": 9880, - "end": 9881, + "start": 10063, + "end": 10064, "loc": { "start": { - "line": 288, - "column": 40 + "line": 292, + "column": 45 }, "end": { - "line": 288, - "column": 41 + "line": 292, + "column": 46 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 9882, - "end": 9883, + "value": "const", + "start": 10082, + "end": 10087, "loc": { "start": { - "line": 288, - "column": 42 + "line": 293, + "column": 16 }, "end": { - "line": 288, - "column": 43 + "line": 293, + "column": 21 } } }, @@ -46827,17 +48330,17 @@ "postfix": false, "binop": null }, - "value": "index", - "start": 9897, - "end": 9902, + "value": "frame", + "start": 10088, + "end": 10093, "loc": { "start": { - "line": 289, - "column": 12 + "line": 293, + "column": 22 }, "end": { - "line": 289, - "column": 17 + "line": 293, + "column": 27 } } }, @@ -46855,16 +48358,16 @@ "updateContext": null }, "value": "=", - "start": 9903, - "end": 9904, + "start": 10094, + "end": 10095, "loc": { "start": { - "line": 289, - "column": 18 + "line": 293, + "column": 28 }, "end": { - "line": 289, - "column": 19 + "line": 293, + "column": 29 } } }, @@ -46883,16 +48386,16 @@ "updateContext": null }, "value": "this", - "start": 9905, - "end": 9909, + "start": 10096, + "end": 10100, "loc": { "start": { - "line": 289, - "column": 20 + "line": 293, + "column": 30 }, "end": { - "line": 289, - "column": 24 + "line": 293, + "column": 34 } } }, @@ -46909,16 +48412,16 @@ "binop": null, "updateContext": null }, - "start": 9909, - "end": 9910, + "start": 10100, + "end": 10101, "loc": { "start": { - "line": 289, - "column": 24 + "line": 293, + "column": 34 }, "end": { - "line": 289, - "column": 25 + "line": 293, + "column": 35 } } }, @@ -46934,43 +48437,42 @@ "postfix": false, "binop": null }, - "value": "frames", - "start": 9910, - "end": 9916, + "value": "getFrame", + "start": 10101, + "end": 10109, "loc": { "start": { - "line": 289, - "column": 25 + "line": 293, + "column": 35 }, "end": { - "line": 289, - "column": 31 + "line": 293, + "column": 43 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 9916, - "end": 9917, + "start": 10109, + "end": 10110, "loc": { "start": { - "line": 289, - "column": 31 + "line": 293, + "column": 43 }, "end": { - "line": 289, - "column": 32 + "line": 293, + "column": 44 } } }, @@ -46986,25 +48488,25 @@ "postfix": false, "binop": null }, - "value": "indexOf", - "start": 9917, - "end": 9924, + "value": "pIndex", + "start": 10110, + "end": 10116, "loc": { "start": { - "line": 289, - "column": 32 + "line": 293, + "column": 44 }, "end": { - "line": 289, - "column": 39 + "line": 293, + "column": 50 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -47012,48 +48514,49 @@ "postfix": false, "binop": null }, - "start": 9924, - "end": 9925, + "start": 10116, + "end": 10117, "loc": { "start": { - "line": 289, - "column": 39 + "line": 293, + "column": 50 }, "end": { - "line": 289, - "column": 40 + "line": 293, + "column": 51 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "pFrame", - "start": 9925, - "end": 9931, + "start": 10117, + "end": 10118, "loc": { "start": { - "line": 289, - "column": 40 + "line": 293, + "column": 51 }, "end": { - "line": 289, - "column": 46 + "line": 293, + "column": 52 } } }, { "type": { - "label": ")", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -47061,66 +48564,77 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 9931, - "end": 9932, + "value": "if", + "start": 10136, + "end": 10138, "loc": { "start": { - "line": 289, - "column": 46 + "line": 294, + "column": 16 }, "end": { - "line": 289, - "column": 47 + "line": 294, + "column": 18 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 9932, - "end": 9933, + "start": 10139, + "end": 10140, "loc": { "start": { - "line": 289, - "column": 47 + "line": 294, + "column": 19 }, "end": { - "line": 289, - "column": 48 + "line": 294, + "column": 20 } } }, { - "type": "CommentLine", - "value": " Remove via index passed.", - "start": 9943, - "end": 9970, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "frame", + "start": 10140, + "end": 10145, "loc": { "start": { - "line": 290, - "column": 8 + "line": 294, + "column": 20 }, "end": { - "line": 290, - "column": 35 + "line": 294, + "column": 25 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -47130,97 +48644,94 @@ "postfix": false, "binop": null }, - "start": 9980, - "end": 9981, + "start": 10145, + "end": 10146, "loc": { "start": { - "line": 291, - "column": 8 + "line": 294, + "column": 25 }, "end": { - "line": 291, - "column": 9 + "line": 294, + "column": 26 } } }, { "type": { - "label": "else", - "keyword": "else", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "else", - "start": 9982, - "end": 9986, + "start": 10147, + "end": 10148, "loc": { "start": { - "line": 291, - "column": 10 + "line": 294, + "column": 27 }, "end": { - "line": 291, - "column": 14 + "line": 294, + "column": 28 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 9987, - "end": 9989, + "value": "index", + "start": 10170, + "end": 10175, "loc": { "start": { - "line": 291, - "column": 15 + "line": 295, + "column": 20 }, "end": { - "line": 291, - "column": 17 + "line": 295, + "column": 25 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 9990, - "end": 9991, + "value": "=", + "start": 10176, + "end": 10177, "loc": { "start": { - "line": 291, - "column": 18 + "line": 295, + "column": 26 }, "end": { - "line": 291, - "column": 19 + "line": 295, + "column": 27 } } }, @@ -47237,22 +48748,22 @@ "binop": null }, "value": "pIndex", - "start": 9991, - "end": 9997, + "start": 10178, + "end": 10184, "loc": { "start": { - "line": 291, - "column": 19 + "line": 295, + "column": 28 }, "end": { - "line": 291, - "column": 25 + "line": 295, + "column": 34 } } }, { "type": { - "label": "||", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -47260,28 +48771,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 1, + "binop": null, "updateContext": null }, - "value": "||", - "start": 9998, - "end": 10000, + "start": 10184, + "end": 10185, "loc": { "start": { - "line": 291, - "column": 26 + "line": 295, + "column": 34 }, "end": { - "line": 291, - "column": 28 + "line": 295, + "column": 35 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -47289,52 +48799,50 @@ "postfix": false, "binop": null }, - "value": "pIndex", - "start": 10001, - "end": 10007, + "start": 10203, + "end": 10204, "loc": { "start": { - "line": 291, - "column": 29 + "line": 296, + "column": 16 }, "end": { - "line": 291, - "column": 35 + "line": 296, + "column": 17 } } }, { "type": { - "label": "==/!=", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, - "updateContext": null + "binop": null }, - "value": "===", - "start": 10008, - "end": 10011, + "start": 10218, + "end": 10219, "loc": { "start": { - "line": 291, - "column": 36 + "line": 297, + "column": 12 }, "end": { - "line": 291, - "column": 39 + "line": 297, + "column": 13 } } }, { "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -47343,25 +48851,25 @@ "binop": null, "updateContext": null }, - "value": 0, - "start": 10012, - "end": 10013, + "value": "else", + "start": 10220, + "end": 10224, "loc": { "start": { - "line": 291, - "column": 40 + "line": 297, + "column": 14 }, "end": { - "line": 291, - "column": 41 + "line": 297, + "column": 18 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -47369,23 +48877,23 @@ "postfix": false, "binop": null }, - "start": 10013, - "end": 10014, + "start": 10225, + "end": 10226, "loc": { "start": { - "line": 291, - "column": 41 + "line": 297, + "column": 19 }, "end": { - "line": 291, - "column": 42 + "line": 297, + "column": 20 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -47394,23 +48902,23 @@ "postfix": false, "binop": null }, - "start": 10015, - "end": 10016, + "value": "VYI", + "start": 10244, + "end": 10247, "loc": { "start": { - "line": 291, - "column": 43 + "line": 298, + "column": 16 }, "end": { - "line": 291, - "column": 44 + "line": 298, + "column": 19 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -47421,24 +48929,23 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 10030, - "end": 10032, + "start": 10247, + "end": 10248, "loc": { "start": { - "line": 292, - "column": 12 + "line": 298, + "column": 19 }, "end": { - "line": 292, - "column": 14 + "line": 298, + "column": 20 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -47447,51 +48954,50 @@ "postfix": false, "binop": null }, - "start": 10033, - "end": 10034, + "value": "logger", + "start": 10248, + "end": 10254, "loc": { "start": { - "line": 292, - "column": 15 + "line": 298, + "column": 20 }, "end": { - "line": 292, - "column": 16 + "line": 298, + "column": 26 } } }, { "type": { - "label": "typeof", - "keyword": "typeof", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "typeof", - "start": 10034, - "end": 10040, + "start": 10254, + "end": 10255, "loc": { "start": { - "line": 292, - "column": 16 + "line": 298, + "column": 26 }, "end": { - "line": 292, - "column": 22 + "line": 298, + "column": 27 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -47500,23 +49006,24 @@ "postfix": false, "binop": null }, - "start": 10040, - "end": 10041, + "value": "prefix", + "start": 10255, + "end": 10261, "loc": { "start": { - "line": 292, - "column": 22 + "line": 298, + "column": 27 }, "end": { - "line": 292, - "column": 23 + "line": 298, + "column": 33 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -47525,77 +49032,76 @@ "postfix": false, "binop": null }, - "value": "pIndex", - "start": 10041, - "end": 10047, + "start": 10261, + "end": 10262, "loc": { "start": { - "line": 292, - "column": 23 + "line": 298, + "column": 33 }, "end": { - "line": 292, - "column": 29 + "line": 298, + "column": 34 } } }, { "type": { - "label": ")", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 10047, - "end": 10048, + "value": "VYI-Module", + "start": 10262, + "end": 10274, "loc": { "start": { - "line": 292, - "column": 29 + "line": 298, + "column": 34 }, "end": { - "line": 292, - "column": 30 + "line": 298, + "column": 46 } } }, { "type": { - "label": "==/!=", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, - "updateContext": null + "binop": null }, - "value": "===", - "start": 10049, - "end": 10052, + "start": 10274, + "end": 10275, "loc": { "start": { - "line": 292, - "column": 31 + "line": 298, + "column": 46 }, "end": { - "line": 292, - "column": 34 + "line": 298, + "column": 47 } } }, { "type": { - "label": "string", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -47604,25 +49110,24 @@ "binop": null, "updateContext": null }, - "value": "number", - "start": 10053, - "end": 10061, + "start": 10275, + "end": 10276, "loc": { "start": { - "line": 292, - "column": 35 + "line": 298, + "column": 47 }, "end": { - "line": 292, - "column": 43 + "line": 298, + "column": 48 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -47630,22 +49135,23 @@ "postfix": false, "binop": null }, - "start": 10061, - "end": 10062, + "value": "error", + "start": 10276, + "end": 10281, "loc": { "start": { - "line": 292, - "column": 43 + "line": 298, + "column": 48 }, "end": { - "line": 292, - "column": 44 + "line": 298, + "column": 53 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -47655,25 +49161,24 @@ "postfix": false, "binop": null }, - "start": 10063, - "end": 10064, + "start": 10281, + "end": 10282, "loc": { "start": { - "line": 292, - "column": 45 + "line": 298, + "column": 53 }, "end": { - "line": 292, - "column": 46 + "line": 298, + "column": 54 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -47682,25 +49187,25 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 10082, - "end": 10087, + "value": "Invalid pIndex type!", + "start": 10282, + "end": 10304, "loc": { "start": { - "line": 293, - "column": 16 + "line": 298, + "column": 54 }, "end": { - "line": 293, - "column": 21 + "line": 298, + "column": 76 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -47708,78 +49213,73 @@ "postfix": false, "binop": null }, - "value": "frame", - "start": 10088, - "end": 10093, + "start": 10304, + "end": 10305, "loc": { "start": { - "line": 293, - "column": 22 + "line": 298, + "column": 76 }, "end": { - "line": 293, - "column": 27 + "line": 298, + "column": 77 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 10094, - "end": 10095, + "start": 10305, + "end": 10306, "loc": { "start": { - "line": 293, - "column": 28 + "line": 298, + "column": 77 }, "end": { - "line": 293, - "column": 29 + "line": 298, + "column": 78 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 10096, - "end": 10100, + "start": 10320, + "end": 10321, "loc": { "start": { - "line": 293, - "column": 30 + "line": 299, + "column": 12 }, "end": { - "line": 293, - "column": 34 + "line": 299, + "column": 13 } } }, { "type": { - "label": ".", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -47787,51 +49287,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 10100, - "end": 10101, + "start": 10331, + "end": 10332, "loc": { "start": { - "line": 293, - "column": 34 + "line": 300, + "column": 8 }, "end": { - "line": 293, - "column": 35 + "line": 300, + "column": 9 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "getFrame", - "start": 10101, - "end": 10109, + "value": "else", + "start": 10333, + "end": 10337, "loc": { "start": { - "line": 293, - "column": 35 + "line": 300, + "column": 10 }, "end": { - "line": 293, - "column": 43 + "line": 300, + "column": 14 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -47841,16 +49342,16 @@ "postfix": false, "binop": null }, - "start": 10109, - "end": 10110, + "start": 10338, + "end": 10339, "loc": { "start": { - "line": 293, - "column": 43 + "line": 300, + "column": 15 }, "end": { - "line": 293, - "column": 44 + "line": 300, + "column": 16 } } }, @@ -47866,25 +49367,51 @@ "postfix": false, "binop": null }, - "value": "pIndex", - "start": 10110, - "end": 10116, + "value": "VYI", + "start": 10353, + "end": 10356, "loc": { "start": { - "line": 293, - "column": 44 + "line": 301, + "column": 12 + }, + "end": { + "line": 301, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 10356, + "end": 10357, + "loc": { + "start": { + "line": 301, + "column": 15 }, "end": { - "line": 293, - "column": 50 + "line": 301, + "column": 16 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -47892,23 +49419,24 @@ "postfix": false, "binop": null }, - "start": 10116, - "end": 10117, + "value": "logger", + "start": 10357, + "end": 10363, "loc": { "start": { - "line": 293, - "column": 50 + "line": 301, + "column": 16 }, "end": { - "line": 293, - "column": 51 + "line": 301, + "column": 22 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -47918,44 +49446,42 @@ "binop": null, "updateContext": null }, - "start": 10117, - "end": 10118, + "start": 10363, + "end": 10364, "loc": { "start": { - "line": 293, - "column": 51 + "line": 301, + "column": 22 }, "end": { - "line": 293, - "column": 52 + "line": 301, + "column": 23 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 10136, - "end": 10138, + "value": "prefix", + "start": 10364, + "end": 10370, "loc": { "start": { - "line": 294, - "column": 16 + "line": 301, + "column": 23 }, "end": { - "line": 294, - "column": 18 + "line": 301, + "column": 29 } } }, @@ -47971,22 +49497,22 @@ "postfix": false, "binop": null }, - "start": 10139, - "end": 10140, + "start": 10370, + "end": 10371, "loc": { "start": { - "line": 294, - "column": 19 + "line": 301, + "column": 29 }, "end": { - "line": 294, - "column": 20 + "line": 301, + "column": 30 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -47994,19 +49520,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "frame", - "start": 10140, - "end": 10145, + "value": "VYI-Module", + "start": 10371, + "end": 10383, "loc": { "start": { - "line": 294, - "column": 20 + "line": 301, + "column": 30 }, "end": { - "line": 294, - "column": 25 + "line": 301, + "column": 42 } } }, @@ -48022,41 +49549,42 @@ "postfix": false, "binop": null }, - "start": 10145, - "end": 10146, + "start": 10383, + "end": 10384, "loc": { "start": { - "line": 294, - "column": 25 + "line": 301, + "column": 42 }, "end": { - "line": 294, - "column": 26 + "line": 301, + "column": 43 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 10147, - "end": 10148, + "start": 10384, + "end": 10385, "loc": { "start": { - "line": 294, - "column": 27 + "line": 301, + "column": 43 }, "end": { - "line": 294, - "column": 28 + "line": 301, + "column": 44 } } }, @@ -48072,50 +49600,48 @@ "postfix": false, "binop": null }, - "value": "index", - "start": 10170, - "end": 10175, + "value": "error", + "start": 10385, + "end": 10390, "loc": { "start": { - "line": 295, - "column": 20 + "line": 301, + "column": 44 }, "end": { - "line": 295, - "column": 25 + "line": 301, + "column": 49 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 10176, - "end": 10177, + "start": 10390, + "end": 10391, "loc": { "start": { - "line": 295, - "column": 26 + "line": 301, + "column": 49 }, "end": { - "line": 295, - "column": 27 + "line": 301, + "column": 50 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -48123,70 +49649,71 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "pIndex", - "start": 10178, - "end": 10184, + "value": "Failed to remove frame!", + "start": 10391, + "end": 10416, "loc": { "start": { - "line": 295, - "column": 28 + "line": 301, + "column": 50 }, "end": { - "line": 295, - "column": 34 + "line": 301, + "column": 75 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 10184, - "end": 10185, + "start": 10416, + "end": 10417, "loc": { "start": { - "line": 295, - "column": 34 + "line": 301, + "column": 75 }, "end": { - "line": 295, - "column": 35 + "line": 301, + "column": 76 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 10203, - "end": 10204, + "start": 10417, + "end": 10418, "loc": { "start": { - "line": 296, - "column": 16 + "line": 301, + "column": 76 }, "end": { - "line": 296, - "column": 17 + "line": 301, + "column": 77 } } }, @@ -48202,24 +49729,24 @@ "postfix": false, "binop": null }, - "start": 10218, - "end": 10219, + "start": 10428, + "end": 10429, "loc": { "start": { - "line": 297, - "column": 12 + "line": 302, + "column": 8 }, "end": { - "line": 297, - "column": 13 + "line": 302, + "column": 9 } } }, { "type": { - "label": "else", - "keyword": "else", - "beforeExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -48229,23 +49756,23 @@ "binop": null, "updateContext": null }, - "value": "else", - "start": 10220, - "end": 10224, + "value": "if", + "start": 10439, + "end": 10441, "loc": { "start": { - "line": 297, - "column": 14 + "line": 303, + "column": 8 }, "end": { - "line": 297, - "column": 18 + "line": 303, + "column": 10 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -48255,75 +49782,51 @@ "postfix": false, "binop": null }, - "start": 10225, - "end": 10226, + "start": 10442, + "end": 10443, "loc": { "start": { - "line": 297, - "column": 19 + "line": 303, + "column": 11 }, "end": { - "line": 297, - "column": 20 + "line": 303, + "column": 12 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "typeof", + "keyword": "typeof", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "VYI", - "start": 10244, - "end": 10247, - "loc": { - "start": { - "line": 298, - "column": 16 - }, - "end": { - "line": 298, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, "binop": null, "updateContext": null }, - "start": 10247, - "end": 10248, + "value": "typeof", + "start": 10443, + "end": 10449, "loc": { "start": { - "line": 298, - "column": 19 + "line": 303, + "column": 12 }, "end": { - "line": 298, - "column": 20 + "line": 303, + "column": 18 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -48332,51 +49835,50 @@ "postfix": false, "binop": null }, - "value": "logger", - "start": 10248, - "end": 10254, + "start": 10449, + "end": 10450, "loc": { "start": { - "line": 298, - "column": 20 + "line": 303, + "column": 18 }, "end": { - "line": 298, - "column": 26 + "line": 303, + "column": 19 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 10254, - "end": 10255, + "value": "index", + "start": 10450, + "end": 10455, "loc": { "start": { - "line": 298, - "column": 26 + "line": 303, + "column": 19 }, "end": { - "line": 298, - "column": 27 + "line": 303, + "column": 24 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -48384,42 +49886,43 @@ "postfix": false, "binop": null }, - "value": "prefix", - "start": 10255, - "end": 10261, + "start": 10455, + "end": 10456, "loc": { "start": { - "line": 298, - "column": 27 + "line": 303, + "column": 24 }, "end": { - "line": 298, - "column": 33 + "line": 303, + "column": 25 } } }, { "type": { - "label": "(", + "label": "==/!=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 6, + "updateContext": null }, - "start": 10261, - "end": 10262, + "value": "===", + "start": 10457, + "end": 10460, "loc": { "start": { - "line": 298, - "column": 33 + "line": 303, + "column": 26 }, "end": { - "line": 298, - "column": 34 + "line": 303, + "column": 29 } } }, @@ -48436,17 +49939,17 @@ "binop": null, "updateContext": null }, - "value": "VYI-Module", - "start": 10262, - "end": 10274, + "value": "number", + "start": 10461, + "end": 10469, "loc": { "start": { - "line": 298, - "column": 34 + "line": 303, + "column": 30 }, "end": { - "line": 298, - "column": 46 + "line": 303, + "column": 38 } } }, @@ -48462,48 +49965,64 @@ "postfix": false, "binop": null }, - "start": 10274, - "end": 10275, + "start": 10469, + "end": 10470, "loc": { "start": { - "line": 298, - "column": 46 + "line": 303, + "column": 38 }, "end": { - "line": 298, - "column": 47 + "line": 303, + "column": 39 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 10275, - "end": 10276, + "start": 10471, + "end": 10472, "loc": { "start": { - "line": 298, - "column": 47 + "line": 303, + "column": 40 }, "end": { - "line": 298, - "column": 48 + "line": 303, + "column": 41 + } + } + }, + { + "type": "CommentLine", + "value": " Remove the frame", + "start": 10486, + "end": 10505, + "loc": { + "start": { + "line": 304, + "column": 12 + }, + "end": { + "line": 304, + "column": 31 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -48511,50 +50030,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "error", - "start": 10276, - "end": 10281, + "value": "this", + "start": 10519, + "end": 10523, "loc": { "start": { - "line": 298, - "column": 48 + "line": 305, + "column": 12 }, "end": { - "line": 298, - "column": 53 + "line": 305, + "column": 16 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 10281, - "end": 10282, + "start": 10523, + "end": 10524, "loc": { "start": { - "line": 298, - "column": 53 + "line": 305, + "column": 16 }, "end": { - "line": 298, - "column": 54 + "line": 305, + "column": 17 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -48562,26 +50083,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "Invalid pIndex type!", - "start": 10282, - "end": 10304, + "value": "frames", + "start": 10524, + "end": 10530, "loc": { "start": { - "line": 298, - "column": 54 + "line": 305, + "column": 17 }, "end": { - "line": 298, - "column": 76 + "line": 305, + "column": 23 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -48589,52 +50109,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 10304, - "end": 10305, + "start": 10530, + "end": 10531, "loc": { "start": { - "line": 298, - "column": 76 + "line": 305, + "column": 23 }, "end": { - "line": 298, - "column": 77 + "line": 305, + "column": 24 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 10305, - "end": 10306, + "value": "splice", + "start": 10531, + "end": 10537, "loc": { "start": { - "line": 298, - "column": 77 + "line": 305, + "column": 24 }, "end": { - "line": 298, - "column": 78 + "line": 305, + "column": 30 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -48642,24 +50163,24 @@ "postfix": false, "binop": null }, - "start": 10320, - "end": 10321, + "start": 10537, + "end": 10538, "loc": { "start": { - "line": 299, - "column": 12 + "line": 305, + "column": 30 }, "end": { - "line": 299, - "column": 13 + "line": 305, + "column": 31 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -48667,23 +50188,23 @@ "postfix": false, "binop": null }, - "start": 10331, - "end": 10332, + "value": "index", + "start": 10538, + "end": 10543, "loc": { "start": { - "line": 300, - "column": 8 + "line": 305, + "column": 31 }, "end": { - "line": 300, - "column": 9 + "line": 305, + "column": 36 } } }, { "type": { - "label": "else", - "keyword": "else", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -48694,50 +50215,51 @@ "binop": null, "updateContext": null }, - "value": "else", - "start": 10333, - "end": 10337, + "start": 10543, + "end": 10544, "loc": { "start": { - "line": 300, - "column": 10 + "line": 305, + "column": 36 }, "end": { - "line": 300, - "column": 14 + "line": 305, + "column": 37 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "num", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 10338, - "end": 10339, + "value": 1, + "start": 10545, + "end": 10546, "loc": { "start": { - "line": 300, - "column": 15 + "line": 305, + "column": 38 }, "end": { - "line": 300, - "column": 16 + "line": 305, + "column": 39 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -48745,24 +50267,23 @@ "postfix": false, "binop": null }, - "value": "VYI", - "start": 10353, - "end": 10356, + "start": 10546, + "end": 10547, "loc": { "start": { - "line": 301, - "column": 12 + "line": 305, + "column": 39 }, "end": { - "line": 301, - "column": 15 + "line": 305, + "column": 40 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -48772,50 +50293,41 @@ "binop": null, "updateContext": null }, - "start": 10356, - "end": 10357, + "start": 10547, + "end": 10548, "loc": { "start": { - "line": 301, - "column": 15 + "line": 305, + "column": 40 }, "end": { - "line": 301, - "column": 16 + "line": 305, + "column": 41 } } }, { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "logger", - "start": 10357, - "end": 10363, + "type": "CommentLine", + "value": " Re-index frames after a change", + "start": 10562, + "end": 10595, "loc": { "start": { - "line": 301, - "column": 16 + "line": 306, + "column": 12 }, "end": { - "line": 301, - "column": 22 + "line": 306, + "column": 45 } } }, { "type": { - "label": ".", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -48824,49 +50336,50 @@ "binop": null, "updateContext": null }, - "start": 10363, - "end": 10364, + "value": "this", + "start": 10609, + "end": 10613, "loc": { "start": { - "line": 301, - "column": 22 + "line": 307, + "column": 12 }, "end": { - "line": 301, - "column": 23 + "line": 307, + "column": 16 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "prefix", - "start": 10364, - "end": 10370, + "start": 10613, + "end": 10614, "loc": { "start": { - "line": 301, - "column": 23 + "line": 307, + "column": 16 }, "end": { - "line": 301, - "column": 29 + "line": 307, + "column": 17 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -48875,43 +50388,42 @@ "postfix": false, "binop": null }, - "start": 10370, - "end": 10371, + "value": "indexFrames", + "start": 10614, + "end": 10625, "loc": { "start": { - "line": 301, - "column": 29 + "line": 307, + "column": 17 }, "end": { - "line": 301, - "column": 30 + "line": 307, + "column": 28 } } }, { "type": { - "label": "string", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "VYI-Module", - "start": 10371, - "end": 10383, + "start": 10625, + "end": 10626, "loc": { "start": { - "line": 301, - "column": 30 + "line": 307, + "column": 28 }, "end": { - "line": 301, - "column": 42 + "line": 307, + "column": 29 } } }, @@ -48927,23 +50439,23 @@ "postfix": false, "binop": null }, - "start": 10383, - "end": 10384, + "start": 10626, + "end": 10627, "loc": { "start": { - "line": 301, - "column": 42 + "line": 307, + "column": 29 }, "end": { - "line": 301, - "column": 43 + "line": 307, + "column": 30 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -48953,24 +50465,24 @@ "binop": null, "updateContext": null }, - "start": 10384, - "end": 10385, + "start": 10627, + "end": 10628, "loc": { "start": { - "line": 301, - "column": 43 + "line": 307, + "column": 30 }, "end": { - "line": 301, - "column": 44 + "line": 307, + "column": 31 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -48978,48 +50490,51 @@ "postfix": false, "binop": null }, - "value": "error", - "start": 10385, - "end": 10390, + "start": 10638, + "end": 10639, "loc": { "start": { - "line": 301, - "column": 44 + "line": 308, + "column": 8 }, "end": { - "line": 301, - "column": 49 + "line": 308, + "column": 9 } } }, { "type": { - "label": "(", + "label": "return", + "keyword": "return", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 10390, - "end": 10391, + "value": "return", + "start": 10649, + "end": 10655, "loc": { "start": { - "line": 301, - "column": 49 + "line": 309, + "column": 8 }, "end": { - "line": 301, - "column": 50 + "line": 309, + "column": 14 } } }, { "type": { - "label": "string", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -49030,121 +50545,110 @@ "binop": null, "updateContext": null }, - "value": "Failed to remove frame!", - "start": 10391, - "end": 10416, + "value": "this", + "start": 10656, + "end": 10660, "loc": { "start": { - "line": 301, - "column": 50 + "line": 309, + "column": 15 }, "end": { - "line": 301, - "column": 75 + "line": 309, + "column": 19 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 10416, - "end": 10417, + "start": 10660, + "end": 10661, "loc": { "start": { - "line": 301, - "column": 75 + "line": 309, + "column": 19 }, "end": { - "line": 301, - "column": 76 + "line": 309, + "column": 20 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 10417, - "end": 10418, + "start": 10667, + "end": 10668, "loc": { "start": { - "line": 301, - "column": 76 + "line": 310, + "column": 4 }, "end": { - "line": 301, - "column": 77 + "line": 310, + "column": 5 } } }, { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10428, - "end": 10429, + "type": "CommentBlock", + "value": "*\r\n * Index the frames properly.\r\n * @private\r\n ", + "start": 10674, + "end": 10738, "loc": { "start": { - "line": 302, - "column": 8 + "line": 311, + "column": 4 }, "end": { - "line": 302, - "column": 9 + "line": 314, + "column": 7 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 10439, - "end": 10441, + "value": "indexFrames", + "start": 10744, + "end": 10755, "loc": { "start": { - "line": 303, - "column": 8 + "line": 315, + "column": 4 }, "end": { - "line": 303, - "column": 10 + "line": 315, + "column": 15 } } }, @@ -49160,50 +50664,47 @@ "postfix": false, "binop": null }, - "start": 10442, - "end": 10443, + "start": 10755, + "end": 10756, "loc": { "start": { - "line": 303, - "column": 11 + "line": 315, + "column": 15 }, "end": { - "line": 303, - "column": 12 + "line": 315, + "column": 16 } } }, { "type": { - "label": "typeof", - "keyword": "typeof", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "typeof", - "start": 10443, - "end": 10449, + "start": 10756, + "end": 10757, "loc": { "start": { - "line": 303, - "column": 12 + "line": 315, + "column": 16 }, "end": { - "line": 303, - "column": 18 + "line": 315, + "column": 17 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -49213,22 +50714,39 @@ "postfix": false, "binop": null }, - "start": 10449, - "end": 10450, + "start": 10758, + "end": 10759, "loc": { "start": { - "line": 303, + "line": 315, "column": 18 }, "end": { - "line": 303, + "line": 315, "column": 19 } } }, + { + "type": "CommentLine", + "value": " Reorder the frames after removing.", + "start": 10769, + "end": 10806, + "loc": { + "start": { + "line": 316, + "column": 8 + }, + "end": { + "line": 316, + "column": 45 + } + } + }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -49236,25 +50754,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "index", - "start": 10450, - "end": 10455, + "value": "this", + "start": 10816, + "end": 10820, "loc": { "start": { - "line": 303, - "column": 19 + "line": 317, + "column": 8 }, "end": { - "line": 303, - "column": 24 + "line": 317, + "column": 12 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -49262,53 +50781,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 10455, - "end": 10456, + "start": 10820, + "end": 10821, "loc": { "start": { - "line": 303, - "column": 24 + "line": 317, + "column": 12 }, "end": { - "line": 303, - "column": 25 + "line": 317, + "column": 13 } } }, { "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, - "updateContext": null + "binop": null }, - "value": "===", - "start": 10457, - "end": 10460, + "value": "frames", + "start": 10821, + "end": 10827, "loc": { "start": { - "line": 303, - "column": 26 + "line": 317, + "column": 13 }, "end": { - "line": 303, - "column": 29 + "line": 317, + "column": 19 } } }, { "type": { - "label": "string", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -49317,25 +50836,24 @@ "binop": null, "updateContext": null }, - "value": "number", - "start": 10461, - "end": 10469, + "start": 10827, + "end": 10828, "loc": { "start": { - "line": 303, - "column": 30 + "line": 317, + "column": 19 }, "end": { - "line": 303, - "column": 38 + "line": 317, + "column": 20 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -49343,22 +50861,23 @@ "postfix": false, "binop": null }, - "start": 10469, - "end": 10470, + "value": "forEach", + "start": 10828, + "end": 10835, "loc": { "start": { - "line": 303, - "column": 38 + "line": 317, + "column": 20 }, "end": { - "line": 303, - "column": 39 + "line": 317, + "column": 27 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -49368,39 +50887,47 @@ "postfix": false, "binop": null }, - "start": 10471, - "end": 10472, + "start": 10835, + "end": 10836, "loc": { "start": { - "line": 303, - "column": 40 + "line": 317, + "column": 27 }, "end": { - "line": 303, - "column": 41 + "line": 317, + "column": 28 } } }, { - "type": "CommentLine", - "value": " Remove the frame", - "start": 10486, - "end": 10505, + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10836, + "end": 10837, "loc": { "start": { - "line": 304, - "column": 12 + "line": 317, + "column": 28 }, "end": { - "line": 304, - "column": 31 + "line": 317, + "column": 29 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -49408,27 +50935,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 10519, - "end": 10523, + "value": "pFrame", + "start": 10837, + "end": 10843, "loc": { "start": { - "line": 305, - "column": 12 + "line": 317, + "column": 29 }, "end": { - "line": 305, - "column": 16 + "line": 317, + "column": 35 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -49438,16 +50964,16 @@ "binop": null, "updateContext": null }, - "start": 10523, - "end": 10524, + "start": 10843, + "end": 10844, "loc": { "start": { - "line": 305, - "column": 16 + "line": 317, + "column": 35 }, "end": { - "line": 305, - "column": 17 + "line": 317, + "column": 36 } } }, @@ -49463,23 +50989,23 @@ "postfix": false, "binop": null }, - "value": "frames", - "start": 10524, - "end": 10530, + "value": "pIndex", + "start": 10845, + "end": 10851, "loc": { "start": { - "line": 305, - "column": 17 + "line": 317, + "column": 37 }, "end": { - "line": 305, - "column": 23 + "line": 317, + "column": 43 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -49487,51 +51013,50 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 10530, - "end": 10531, + "start": 10851, + "end": 10852, "loc": { "start": { - "line": 305, - "column": 23 + "line": 317, + "column": 43 }, "end": { - "line": 305, - "column": 24 + "line": 317, + "column": 44 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "=>", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "splice", - "start": 10531, - "end": 10537, + "start": 10853, + "end": 10855, "loc": { "start": { - "line": 305, - "column": 24 + "line": 317, + "column": 45 }, "end": { - "line": 305, - "column": 30 + "line": 317, + "column": 47 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -49541,16 +51066,16 @@ "postfix": false, "binop": null }, - "start": 10537, - "end": 10538, + "start": 10856, + "end": 10857, "loc": { "start": { - "line": 305, - "column": 30 + "line": 317, + "column": 48 }, "end": { - "line": 305, - "column": 31 + "line": 317, + "column": 49 } } }, @@ -49566,24 +51091,24 @@ "postfix": false, "binop": null }, - "value": "index", - "start": 10538, - "end": 10543, + "value": "pFrame", + "start": 10871, + "end": 10877, "loc": { "start": { - "line": 305, - "column": 31 + "line": 318, + "column": 12 }, "end": { - "line": 305, - "column": 36 + "line": 318, + "column": 18 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -49593,22 +51118,22 @@ "binop": null, "updateContext": null }, - "start": 10543, - "end": 10544, + "start": 10877, + "end": 10878, "loc": { "start": { - "line": 305, - "column": 36 + "line": 318, + "column": 18 }, "end": { - "line": 305, - "column": 37 + "line": 318, + "column": 19 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -49616,96 +51141,80 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 1, - "start": 10545, - "end": 10546, + "value": "index", + "start": 10878, + "end": 10883, "loc": { "start": { - "line": 305, - "column": 38 + "line": 318, + "column": 19 }, "end": { - "line": 305, - "column": 39 + "line": 318, + "column": 24 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 10546, - "end": 10547, + "value": "=", + "start": 10884, + "end": 10885, "loc": { "start": { - "line": 305, - "column": 39 + "line": 318, + "column": 25 }, "end": { - "line": 305, - "column": 40 + "line": 318, + "column": 26 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 10547, - "end": 10548, - "loc": { - "start": { - "line": 305, - "column": 40 - }, - "end": { - "line": 305, - "column": 41 - } - } - }, - { - "type": "CommentLine", - "value": " Re-index frames after a change", - "start": 10562, - "end": 10595, + "value": "pIndex", + "start": 10886, + "end": 10892, "loc": { "start": { - "line": 306, - "column": 12 + "line": 318, + "column": 27 }, "end": { - "line": 306, - "column": 45 + "line": 318, + "column": 33 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -49714,23 +51223,22 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 10609, - "end": 10613, + "start": 10892, + "end": 10893, "loc": { "start": { - "line": 307, - "column": 12 + "line": 318, + "column": 33 }, "end": { - "line": 307, - "column": 16 + "line": 318, + "column": 34 } } }, { "type": { - "label": ".", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -49738,27 +51246,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 10613, - "end": 10614, + "start": 10903, + "end": 10904, "loc": { "start": { - "line": 307, - "column": 16 + "line": 319, + "column": 8 }, "end": { - "line": 307, - "column": 17 + "line": 319, + "column": 9 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -49766,48 +51273,48 @@ "postfix": false, "binop": null }, - "value": "indexFrames", - "start": 10614, - "end": 10625, + "start": 10904, + "end": 10905, "loc": { "start": { - "line": 307, - "column": 17 + "line": 319, + "column": 9 }, "end": { - "line": 307, - "column": 28 + "line": 319, + "column": 10 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 10625, - "end": 10626, + "start": 10905, + "end": 10906, "loc": { "start": { - "line": 307, - "column": 28 + "line": 319, + "column": 10 }, "end": { - "line": 307, - "column": 29 + "line": 319, + "column": 11 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -49817,50 +51324,66 @@ "postfix": false, "binop": null }, - "start": 10626, - "end": 10627, + "start": 10912, + "end": 10913, "loc": { "start": { - "line": 307, - "column": 29 + "line": 320, + "column": 4 }, "end": { - "line": 307, - "column": 30 + "line": 320, + "column": 5 + } + } + }, + { + "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": 10919, + "end": 11458, + "loc": { + "start": { + "line": 321, + "column": 4 + }, + "end": { + "line": 328, + "column": 7 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 10627, - "end": 10628, + "value": "reorderFrame", + "start": 11464, + "end": 11476, "loc": { "start": { - "line": 307, - "column": 30 + "line": 329, + "column": 4 }, "end": { - "line": 307, - "column": 31 + "line": 329, + "column": 16 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -49868,53 +51391,50 @@ "postfix": false, "binop": null }, - "start": 10638, - "end": 10639, + "start": 11476, + "end": 11477, "loc": { "start": { - "line": 308, - "column": 8 + "line": 329, + "column": 16 }, "end": { - "line": 308, - "column": 9 + "line": 329, + "column": 17 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 10649, - "end": 10655, + "value": "pCurrentIndex", + "start": 11477, + "end": 11490, "loc": { "start": { - "line": 309, - "column": 8 + "line": 329, + "column": 17 }, "end": { - "line": 309, - "column": 14 + "line": 329, + "column": 30 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -49923,49 +51443,48 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 10656, - "end": 10660, + "start": 11490, + "end": 11491, "loc": { "start": { - "line": 309, - "column": 15 + "line": 329, + "column": 30 }, "end": { - "line": 309, - "column": 19 + "line": 329, + "column": 31 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 10660, - "end": 10661, + "value": "pIndex", + "start": 11492, + "end": 11498, "loc": { "start": { - "line": 309, - "column": 19 + "line": 329, + "column": 32 }, "end": { - "line": 309, - "column": 20 + "line": 329, + "column": 38 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -49975,58 +51494,69 @@ "postfix": false, "binop": null }, - "start": 10667, - "end": 10668, + "start": 11498, + "end": 11499, "loc": { "start": { - "line": 310, - "column": 4 + "line": 329, + "column": 38 }, "end": { - "line": 310, - "column": 5 + "line": 329, + "column": 39 } } }, { - "type": "CommentBlock", - "value": "*\r\n * Index the frames properly.\r\n * @private\r\n ", - "start": 10674, - "end": 10738, + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11500, + "end": 11501, "loc": { "start": { - "line": 311, - "column": 4 + "line": 329, + "column": 40 }, "end": { - "line": 314, - "column": 7 + "line": 329, + "column": 41 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "indexFrames", - "start": 10744, - "end": 10755, + "value": "if", + "start": 11511, + "end": 11513, "loc": { "start": { - "line": 315, - "column": 4 + "line": 330, + "column": 8 }, "end": { - "line": 315, - "column": 15 + "line": 330, + "column": 10 } } }, @@ -50042,47 +51572,50 @@ "postfix": false, "binop": null }, - "start": 10755, - "end": 10756, + "start": 11514, + "end": 11515, "loc": { "start": { - "line": 315, - "column": 15 + "line": 330, + "column": 11 }, "end": { - "line": 315, - "column": 16 + "line": 330, + "column": 12 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "typeof", + "keyword": "typeof", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 10756, - "end": 10757, + "value": "typeof", + "start": 11515, + "end": 11521, "loc": { "start": { - "line": 315, - "column": 16 + "line": 330, + "column": 12 }, "end": { - "line": 315, - "column": 17 + "line": 330, + "column": 18 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -50092,39 +51625,22 @@ "postfix": false, "binop": null }, - "start": 10758, - "end": 10759, + "start": 11521, + "end": 11522, "loc": { "start": { - "line": 315, + "line": 330, "column": 18 }, "end": { - "line": 315, + "line": 330, "column": 19 } } }, - { - "type": "CommentLine", - "value": " Reorder the frames after removing.", - "start": 10769, - "end": 10806, - "loc": { - "start": { - "line": 316, - "column": 8 - }, - "end": { - "line": 316, - "column": 45 - } - } - }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -50132,26 +51648,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 10816, - "end": 10820, + "value": "pCurrentIndex", + "start": 11522, + "end": 11535, "loc": { "start": { - "line": 317, - "column": 8 + "line": 330, + "column": 19 }, "end": { - "line": 317, - "column": 12 + "line": 330, + "column": 32 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -50159,53 +51674,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 10820, - "end": 10821, + "start": 11535, + "end": 11536, "loc": { "start": { - "line": 317, - "column": 12 + "line": 330, + "column": 32 }, "end": { - "line": 317, - "column": 13 + "line": 330, + "column": 33 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 6, + "updateContext": null }, - "value": "frames", - "start": 10821, - "end": 10827, + "value": "===", + "start": 11537, + "end": 11540, "loc": { "start": { - "line": 317, - "column": 13 + "line": 330, + "column": 34 }, "end": { - "line": 317, - "column": 19 + "line": 330, + "column": 37 } } }, { "type": { - "label": ".", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -50214,67 +51729,72 @@ "binop": null, "updateContext": null }, - "start": 10827, - "end": 10828, + "value": "number", + "start": 11541, + "end": 11549, "loc": { "start": { - "line": 317, - "column": 19 + "line": 330, + "column": 38 }, "end": { - "line": 317, - "column": 20 + "line": 330, + "column": 46 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "&&", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 2, + "updateContext": null }, - "value": "forEach", - "start": 10828, - "end": 10835, + "value": "&&", + "start": 11550, + "end": 11552, "loc": { "start": { - "line": 317, - "column": 20 + "line": 330, + "column": 47 }, "end": { - "line": 317, - "column": 27 + "line": 330, + "column": 49 } } }, { "type": { - "label": "(", + "label": "typeof", + "keyword": "typeof", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 10835, - "end": 10836, + "value": "typeof", + "start": 11553, + "end": 11559, "loc": { "start": { - "line": 317, - "column": 27 + "line": 330, + "column": 50 }, "end": { - "line": 317, - "column": 28 + "line": 330, + "column": 56 } } }, @@ -50290,16 +51810,16 @@ "postfix": false, "binop": null }, - "start": 10836, - "end": 10837, + "start": 11559, + "end": 11560, "loc": { "start": { - "line": 317, - "column": 28 + "line": 330, + "column": 56 }, "end": { - "line": 317, - "column": 29 + "line": 330, + "column": 57 } } }, @@ -50315,120 +51835,121 @@ "postfix": false, "binop": null }, - "value": "pFrame", - "start": 10837, - "end": 10843, + "value": "pIndex", + "start": 11560, + "end": 11566, "loc": { "start": { - "line": 317, - "column": 29 + "line": 330, + "column": 57 }, "end": { - "line": 317, - "column": 35 + "line": 330, + "column": 63 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 10843, - "end": 10844, + "start": 11566, + "end": 11567, "loc": { "start": { - "line": 317, - "column": 35 + "line": 330, + "column": 63 }, "end": { - "line": 317, - "column": 36 + "line": 330, + "column": 64 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 6, + "updateContext": null }, - "value": "pIndex", - "start": 10845, - "end": 10851, + "value": "===", + "start": 11568, + "end": 11571, "loc": { "start": { - "line": 317, - "column": 37 + "line": 330, + "column": 65 }, "end": { - "line": 317, - "column": 43 + "line": 330, + "column": 68 } } }, { "type": { - "label": ")", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 10851, - "end": 10852, + "value": "number", + "start": 11572, + "end": 11580, "loc": { "start": { - "line": 317, - "column": 43 + "line": 330, + "column": 69 }, "end": { - "line": 317, - "column": 44 + "line": 330, + "column": 77 } } }, { "type": { - "label": "=>", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 10853, - "end": 10855, + "start": 11580, + "end": 11581, "loc": { "start": { - "line": 317, - "column": 45 + "line": 330, + "column": 77 }, "end": { - "line": 317, - "column": 47 + "line": 330, + "column": 78 } } }, @@ -50444,121 +51965,124 @@ "postfix": false, "binop": null }, - "start": 10856, - "end": 10857, + "start": 11582, + "end": 11583, "loc": { "start": { - "line": 317, - "column": 48 + "line": 330, + "column": 79 }, "end": { - "line": 317, - "column": 49 + "line": 330, + "column": 80 } } }, { "type": { - "label": "name", + "label": "let", + "keyword": "let", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "pFrame", - "start": 10871, - "end": 10877, + "value": "let", + "start": 11597, + "end": 11600, "loc": { "start": { - "line": 318, + "line": 331, "column": 12 }, "end": { - "line": 318, - "column": 18 + "line": 331, + "column": 15 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 10877, - "end": 10878, + "value": "frameAtIndex", + "start": 11601, + "end": 11613, "loc": { "start": { - "line": 318, - "column": 18 + "line": 331, + "column": 16 }, "end": { - "line": 318, - "column": 19 + "line": 331, + "column": 28 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "index", - "start": 10878, - "end": 10883, + "start": 11613, + "end": 11614, "loc": { "start": { - "line": 318, - "column": 19 + "line": 331, + "column": 28 }, "end": { - "line": 318, - "column": 24 + "line": 331, + "column": 29 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": "let", + "keyword": "let", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 10884, - "end": 10885, + "value": "let", + "start": 11628, + "end": 11631, "loc": { "start": { - "line": 318, - "column": 25 + "line": 332, + "column": 12 }, "end": { - "line": 318, - "column": 26 + "line": 332, + "column": 15 } } }, @@ -50574,17 +52098,17 @@ "postfix": false, "binop": null }, - "value": "pIndex", - "start": 10886, - "end": 10892, + "value": "currentFrame", + "start": 11632, + "end": 11644, "loc": { "start": { - "line": 318, - "column": 27 + "line": 332, + "column": 16 }, "end": { - "line": 318, - "column": 33 + "line": 332, + "column": 28 } } }, @@ -50601,47 +52125,55 @@ "binop": null, "updateContext": null }, - "start": 10892, - "end": 10893, + "start": 11644, + "end": 11645, "loc": { "start": { - "line": 318, - "column": 33 + "line": 332, + "column": 28 }, "end": { - "line": 318, - "column": 34 + "line": 332, + "column": 29 } } }, { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10903, - "end": 10904, + "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": 11659, + "end": 11807, "loc": { "start": { - "line": 319, - "column": 8 + "line": 333, + "column": 12 }, "end": { - "line": 319, - "column": 9 + "line": 333, + "column": 160 + } + } + }, + { + "type": "CommentLine", + "value": " as the frame 0.", + "start": 11821, + "end": 11839, + "loc": { + "start": { + "line": 334, + "column": 12 + }, + "end": { + "line": 334, + "column": 30 } } }, { "type": { - "label": ")", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -50649,52 +52181,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 10904, - "end": 10905, + "value": "if", + "start": 11853, + "end": 11855, "loc": { "start": { - "line": 319, - "column": 9 + "line": 335, + "column": 12 }, "end": { - "line": 319, - "column": 10 + "line": 335, + "column": 14 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 10905, - "end": 10906, + "start": 11856, + "end": 11857, "loc": { "start": { - "line": 319, - "column": 10 + "line": 335, + "column": 15 }, "end": { - "line": 319, - "column": 11 + "line": 335, + "column": 16 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -50702,89 +52235,77 @@ "postfix": false, "binop": null }, - "start": 10912, - "end": 10913, - "loc": { - "start": { - "line": 320, - "column": 4 - }, - "end": { - "line": 320, - "column": 5 - } - } - }, - { - "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": 10919, - "end": 11458, + "value": "pCurrentIndex", + "start": 11857, + "end": 11870, "loc": { "start": { - "line": 321, - "column": 4 + "line": 335, + "column": 16 }, "end": { - "line": 328, - "column": 7 + "line": 335, + "column": 29 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 6, + "updateContext": null }, - "value": "reorderFrame", - "start": 11464, - "end": 11476, + "value": "===", + "start": 11871, + "end": 11874, "loc": { "start": { - "line": 329, - "column": 4 + "line": 335, + "column": 30 }, "end": { - "line": 329, - "column": 16 + "line": 335, + "column": 33 } } }, { "type": { - "label": "(", + "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": 9, + "updateContext": null }, - "start": 11476, - "end": 11477, + "value": "-", + "start": 11875, + "end": 11876, "loc": { "start": { - "line": 329, - "column": 16 + "line": 335, + "column": 34 }, "end": { - "line": 329, - "column": 17 + "line": 335, + "column": 35 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -50792,52 +52313,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "pCurrentIndex", - "start": 11477, - "end": 11490, + "value": 1, + "start": 11876, + "end": 11877, "loc": { "start": { - "line": 329, - "column": 17 + "line": 335, + "column": 35 }, "end": { - "line": 329, - "column": 30 + "line": 335, + "column": 36 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 11490, - "end": 11491, + "start": 11877, + "end": 11878, "loc": { "start": { - "line": 329, - "column": 30 + "line": 335, + "column": 36 }, "end": { - "line": 329, - "column": 31 + "line": 335, + "column": 37 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -50846,25 +52367,24 @@ "postfix": false, "binop": null }, - "value": "pIndex", - "start": 11492, - "end": 11498, + "start": 11879, + "end": 11880, "loc": { "start": { - "line": 329, - "column": 32 + "line": 335, + "column": 38 }, "end": { - "line": 329, - "column": 38 + "line": 335, + "column": 39 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -50872,50 +52392,53 @@ "postfix": false, "binop": null }, - "start": 11498, - "end": 11499, + "value": "currentFrame", + "start": 11898, + "end": 11910, "loc": { "start": { - "line": 329, - "column": 38 + "line": 336, + "column": 16 }, "end": { - "line": 329, - "column": 39 + "line": 336, + "column": 28 } } }, { "type": { - "label": "{", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 11500, - "end": 11501, + "value": "=", + "start": 11911, + "end": 11912, "loc": { "start": { - "line": 329, - "column": 40 + "line": 336, + "column": 29 }, "end": { - "line": 329, - "column": 41 + "line": 336, + "column": 30 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -50924,129 +52447,148 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 11511, - "end": 11513, + "value": "this", + "start": 11913, + "end": 11917, "loc": { "start": { - "line": 330, - "column": 8 + "line": 336, + "column": 31 }, "end": { - "line": 330, - "column": 10 + "line": 336, + "column": 35 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 11514, - "end": 11515, + "start": 11917, + "end": 11918, "loc": { "start": { - "line": 330, - "column": 11 + "line": 336, + "column": 35 }, "end": { - "line": 330, + "line": 336, + "column": 36 + } + } + }, + { + "type": "CommentLine", + "value": " Otherwise if the index passed can be found in the frames array, then we use that frame.", + "start": 11932, + "end": 12022, + "loc": { + "start": { + "line": 337, "column": 12 + }, + "end": { + "line": 337, + "column": 102 } } }, { "type": { - "label": "typeof", - "keyword": "typeof", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "typeof", - "start": 11515, - "end": 11521, + "start": 12036, + "end": 12037, "loc": { "start": { - "line": 330, + "line": 338, "column": 12 }, "end": { - "line": 330, - "column": 18 + "line": 338, + "column": 13 } } }, { "type": { - "label": "(", + "label": "else", + "keyword": "else", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 11521, - "end": 11522, + "value": "else", + "start": 12038, + "end": 12042, "loc": { "start": { - "line": 330, - "column": 18 + "line": 338, + "column": 14 }, "end": { - "line": 330, - "column": 19 + "line": 338, + "column": 18 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "pCurrentIndex", - "start": 11522, - "end": 11535, + "value": "if", + "start": 12043, + "end": 12045, "loc": { "start": { - "line": 330, + "line": 338, "column": 19 }, "end": { - "line": 330, - "column": 32 + "line": 338, + "column": 21 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -51054,51 +52596,52 @@ "postfix": false, "binop": null }, - "start": 11535, - "end": 11536, + "start": 12046, + "end": 12047, "loc": { "start": { - "line": 330, - "column": 32 + "line": 338, + "column": 22 }, "end": { - "line": 330, - "column": 33 + "line": 338, + "column": 23 } } }, { "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, + "binop": null, "updateContext": null }, - "value": "===", - "start": 11537, - "end": 11540, + "value": "this", + "start": 12047, + "end": 12051, "loc": { "start": { - "line": 330, - "column": 34 + "line": 338, + "column": 23 }, "end": { - "line": 330, - "column": 37 + "line": 338, + "column": 27 } } }, { "type": { - "label": "string", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -51107,79 +52650,75 @@ "binop": null, "updateContext": null }, - "value": "number", - "start": 11541, - "end": 11549, + "start": 12051, + "end": 12052, "loc": { "start": { - "line": 330, - "column": 38 + "line": 338, + "column": 27 }, "end": { - "line": 330, - "column": 46 + "line": 338, + "column": 28 } } }, { "type": { - "label": "&&", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 2, - "updateContext": null + "binop": null }, - "value": "&&", - "start": 11550, - "end": 11552, + "value": "frames", + "start": 12052, + "end": 12058, "loc": { "start": { - "line": 330, - "column": 47 + "line": 338, + "column": 28 }, "end": { - "line": 330, - "column": 49 + "line": 338, + "column": 34 } } }, { "type": { - "label": "typeof", - "keyword": "typeof", + "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "typeof", - "start": 11553, - "end": 11559, + "start": 12058, + "end": 12059, "loc": { "start": { - "line": 330, - "column": 50 + "line": 338, + "column": 34 }, "end": { - "line": 330, - "column": 56 + "line": 338, + "column": 35 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -51188,42 +52727,43 @@ "postfix": false, "binop": null }, - "start": 11559, - "end": 11560, + "value": "pCurrentIndex", + "start": 12059, + "end": 12072, "loc": { "start": { - "line": 330, - "column": 56 + "line": 338, + "column": 35 }, "end": { - "line": 330, - "column": 57 + "line": 338, + "column": 48 } } }, { "type": { - "label": "name", + "label": "]", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "pIndex", - "start": 11560, - "end": 11566, + "start": 12072, + "end": 12073, "loc": { "start": { - "line": 330, - "column": 57 + "line": 338, + "column": 48 }, "end": { - "line": 330, - "column": 63 + "line": 338, + "column": 49 } } }, @@ -51239,49 +52779,47 @@ "postfix": false, "binop": null }, - "start": 11566, - "end": 11567, + "start": 12073, + "end": 12074, "loc": { "start": { - "line": 330, - "column": 63 + "line": 338, + "column": 49 }, "end": { - "line": 330, - "column": 64 + "line": 338, + "column": 50 } } }, { "type": { - "label": "==/!=", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, - "updateContext": null + "binop": null }, - "value": "===", - "start": 11568, - "end": 11571, + "start": 12075, + "end": 12076, "loc": { "start": { - "line": 330, - "column": 65 + "line": 338, + "column": 51 }, "end": { - "line": 330, - "column": 68 + "line": 338, + "column": 52 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -51289,77 +52827,80 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "number", - "start": 11572, - "end": 11580, + "value": "currentFrame", + "start": 12094, + "end": 12106, "loc": { "start": { - "line": 330, - "column": 69 + "line": 339, + "column": 16 }, "end": { - "line": 330, - "column": 77 + "line": 339, + "column": 28 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 11580, - "end": 11581, + "value": "=", + "start": 12107, + "end": 12108, "loc": { "start": { - "line": 330, - "column": 77 + "line": 339, + "column": 29 }, "end": { - "line": 330, - "column": 78 + "line": 339, + "column": 30 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "this", + "keyword": "this", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 11582, - "end": 11583, + "value": "this", + "start": 12109, + "end": 12113, "loc": { "start": { - "line": 330, - "column": 79 + "line": 339, + "column": 31 }, "end": { - "line": 330, - "column": 80 + "line": 339, + "column": 35 } } }, { "type": { - "label": "let", - "keyword": "let", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -51370,17 +52911,16 @@ "binop": null, "updateContext": null }, - "value": "let", - "start": 11597, - "end": 11600, + "start": 12113, + "end": 12114, "loc": { "start": { - "line": 331, - "column": 12 + "line": 339, + "column": 35 }, "end": { - "line": 331, - "column": 15 + "line": 339, + "column": 36 } } }, @@ -51396,25 +52936,25 @@ "postfix": false, "binop": null }, - "value": "frameAtIndex", - "start": 11601, - "end": 11613, + "value": "frames", + "start": 12114, + "end": 12120, "loc": { "start": { - "line": 331, - "column": 16 + "line": 339, + "column": 36 }, "end": { - "line": 331, - "column": 28 + "line": 339, + "column": 42 } } }, { "type": { - "label": ";", + "label": "[", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -51423,70 +52963,68 @@ "binop": null, "updateContext": null }, - "start": 11613, - "end": 11614, + "start": 12120, + "end": 12121, "loc": { "start": { - "line": 331, - "column": 28 + "line": 339, + "column": 42 }, "end": { - "line": 331, - "column": 29 + "line": 339, + "column": 43 } } }, { "type": { - "label": "let", - "keyword": "let", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "let", - "start": 11628, - "end": 11631, + "value": "pCurrentIndex", + "start": 12121, + "end": 12134, "loc": { "start": { - "line": 332, - "column": 12 + "line": 339, + "column": 43 }, "end": { - "line": 332, - "column": 15 + "line": 339, + "column": 56 } } }, { "type": { - "label": "name", + "label": "]", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "currentFrame", - "start": 11632, - "end": 11644, + "start": 12134, + "end": 12135, "loc": { "start": { - "line": 332, - "column": 16 + "line": 339, + "column": 56 }, "end": { - "line": 332, - "column": 28 + "line": 339, + "column": 57 } } }, @@ -51503,48 +53041,57 @@ "binop": null, "updateContext": null }, - "start": 11644, - "end": 11645, + "start": 12135, + "end": 12136, "loc": { "start": { - "line": 332, - "column": 28 + "line": 339, + "column": 57 }, "end": { - "line": 332, - "column": 29 + "line": 339, + "column": 58 } } }, { - "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": 11659, - "end": 11807, + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12150, + "end": 12151, "loc": { "start": { - "line": 333, + "line": 340, "column": 12 }, "end": { - "line": 333, - "column": 160 + "line": 340, + "column": 13 } } }, { "type": "CommentLine", - "value": " as the frame 0.", - "start": 11821, - "end": 11839, + "value": " We get the frame at the specified index.", + "start": 12167, + "end": 12210, "loc": { "start": { - "line": 334, + "line": 342, "column": 12 }, "end": { - "line": 334, - "column": 30 + "line": 342, + "column": 55 } } }, @@ -51563,15 +53110,15 @@ "updateContext": null }, "value": "if", - "start": 11853, - "end": 11855, + "start": 12224, + "end": 12226, "loc": { "start": { - "line": 335, + "line": 343, "column": 12 }, "end": { - "line": 335, + "line": 343, "column": 14 } } @@ -51588,22 +53135,23 @@ "postfix": false, "binop": null }, - "start": 11856, - "end": 11857, + "start": 12227, + "end": 12228, "loc": { "start": { - "line": 335, + "line": 343, "column": 15 }, "end": { - "line": 335, + "line": 343, "column": 16 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -51611,79 +53159,104 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "pCurrentIndex", - "start": 11857, - "end": 11870, + "value": "this", + "start": 12228, + "end": 12232, "loc": { "start": { - "line": 335, + "line": 343, "column": 16 }, "end": { - "line": 335, - "column": 29 + "line": 343, + "column": 20 } } }, { "type": { - "label": "==/!=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, + "binop": null, "updateContext": null }, - "value": "===", - "start": 11871, - "end": 11874, + "start": 12232, + "end": 12233, "loc": { "start": { - "line": 335, - "column": 30 + "line": 343, + "column": 20 }, "end": { - "line": 335, - "column": 33 + "line": 343, + "column": 21 } } }, { "type": { - "label": "+/-", + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "frames", + "start": 12233, + "end": 12239, + "loc": { + "start": { + "line": 343, + "column": 21 + }, + "end": { + "line": 343, + "column": 27 + } + } + }, + { + "type": { + "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, + "binop": null, "updateContext": null }, - "value": "-", - "start": 11875, - "end": 11876, + "start": 12239, + "end": 12240, "loc": { "start": { - "line": 335, - "column": 34 + "line": 343, + "column": 27 }, "end": { - "line": 335, - "column": 35 + "line": 343, + "column": 28 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -51691,20 +53264,45 @@ "isAssign": false, "prefix": false, "postfix": false, + "binop": null + }, + "value": "pIndex", + "start": 12240, + "end": 12246, + "loc": { + "start": { + "line": 343, + "column": 28 + }, + "end": { + "line": 343, + "column": 34 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, "binop": null, "updateContext": null }, - "value": 1, - "start": 11876, - "end": 11877, + "start": 12246, + "end": 12247, "loc": { "start": { - "line": 335, - "column": 35 + "line": 343, + "column": 34 }, "end": { - "line": 335, - "column": 36 + "line": 343, + "column": 35 } } }, @@ -51720,16 +53318,16 @@ "postfix": false, "binop": null }, - "start": 11877, - "end": 11878, + "start": 12247, + "end": 12248, "loc": { "start": { - "line": 335, - "column": 36 + "line": 343, + "column": 35 }, "end": { - "line": 335, - "column": 37 + "line": 343, + "column": 36 } } }, @@ -51745,16 +53343,16 @@ "postfix": false, "binop": null }, - "start": 11879, - "end": 11880, + "start": 12249, + "end": 12250, "loc": { "start": { - "line": 335, - "column": 38 + "line": 343, + "column": 37 }, "end": { - "line": 335, - "column": 39 + "line": 343, + "column": 38 } } }, @@ -51770,16 +53368,16 @@ "postfix": false, "binop": null }, - "value": "currentFrame", - "start": 11898, - "end": 11910, + "value": "frameAtIndex", + "start": 12268, + "end": 12280, "loc": { "start": { - "line": 336, + "line": 344, "column": 16 }, "end": { - "line": 336, + "line": 344, "column": 28 } } @@ -51798,15 +53396,15 @@ "updateContext": null }, "value": "=", - "start": 11911, - "end": 11912, + "start": 12281, + "end": 12282, "loc": { "start": { - "line": 336, + "line": 344, "column": 29 }, "end": { - "line": 336, + "line": 344, "column": 30 } } @@ -51826,23 +53424,23 @@ "updateContext": null }, "value": "this", - "start": 11913, - "end": 11917, + "start": 12283, + "end": 12287, "loc": { "start": { - "line": 336, + "line": 344, "column": 31 }, "end": { - "line": 336, + "line": 344, "column": 35 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -51852,40 +53450,76 @@ "binop": null, "updateContext": null }, - "start": 11917, - "end": 11918, + "start": 12287, + "end": 12288, "loc": { "start": { - "line": 336, + "line": 344, "column": 35 }, "end": { - "line": 336, + "line": 344, "column": 36 } } }, { - "type": "CommentLine", - "value": " Otherwise if the index passed can be found in the frames array, then we use that frame.", - "start": 11932, - "end": 12022, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "frames", + "start": 12288, + "end": 12294, "loc": { "start": { - "line": 337, - "column": 12 + "line": 344, + "column": 36 }, "end": { - "line": 337, - "column": 102 + "line": 344, + "column": 42 } } }, { "type": { - "label": "}", + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12294, + "end": 12295, + "loc": { + "start": { + "line": 344, + "column": 42 + }, + "end": { + "line": 344, + "column": 43 + } + } + }, + { + "type": { + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -51893,23 +53527,49 @@ "postfix": false, "binop": null }, - "start": 12036, - "end": 12037, + "value": "pIndex", + "start": 12295, + "end": 12301, "loc": { "start": { - "line": 338, - "column": 12 + "line": 344, + "column": 43 }, "end": { - "line": 338, - "column": 13 + "line": 344, + "column": 49 } } }, { "type": { - "label": "else", - "keyword": "else", + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12301, + "end": 12302, + "loc": { + "start": { + "line": 344, + "column": 49 + }, + "end": { + "line": 344, + "column": 50 + } + } + }, + { + "type": { + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -51920,17 +53580,57 @@ "binop": null, "updateContext": null }, - "value": "else", - "start": 12038, - "end": 12042, + "start": 12302, + "end": 12303, + "loc": { + "start": { + "line": 344, + "column": 50 + }, + "end": { + "line": 344, + "column": 51 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12317, + "end": 12318, + "loc": { + "start": { + "line": 345, + "column": 12 + }, + "end": { + "line": 345, + "column": 13 + } + } + }, + { + "type": "CommentLine", + "value": " If both frames can be found, we can swap their data.", + "start": 12334, + "end": 12389, "loc": { "start": { - "line": 338, - "column": 14 + "line": 347, + "column": 12 }, "end": { - "line": 338, - "column": 18 + "line": 347, + "column": 67 } } }, @@ -51949,16 +53649,16 @@ "updateContext": null }, "value": "if", - "start": 12043, - "end": 12045, + "start": 12403, + "end": 12405, "loc": { "start": { - "line": 338, - "column": 19 + "line": 348, + "column": 12 }, "end": { - "line": 338, - "column": 21 + "line": 348, + "column": 14 } } }, @@ -51974,23 +53674,22 @@ "postfix": false, "binop": null }, - "start": 12046, - "end": 12047, + "start": 12406, + "end": 12407, "loc": { "start": { - "line": 338, - "column": 22 + "line": 348, + "column": 15 }, "end": { - "line": 338, - "column": 23 + "line": 348, + "column": 16 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -51998,46 +53697,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 12047, - "end": 12051, + "value": "currentFrame", + "start": 12407, + "end": 12419, "loc": { "start": { - "line": 338, - "column": 23 + "line": 348, + "column": 16 }, "end": { - "line": 338, - "column": 27 + "line": 348, + "column": 28 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "&&", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 2, "updateContext": null }, - "start": 12051, - "end": 12052, + "value": "&&", + "start": 12420, + "end": 12422, "loc": { "start": { - "line": 338, - "column": 27 + "line": 348, + "column": 29 }, "end": { - "line": 338, - "column": 28 + "line": 348, + "column": 31 } } }, @@ -52053,50 +53752,49 @@ "postfix": false, "binop": null }, - "value": "frames", - "start": 12052, - "end": 12058, + "value": "frameAtIndex", + "start": 12423, + "end": 12435, "loc": { "start": { - "line": 338, - "column": 28 + "line": 348, + "column": 32 }, "end": { - "line": 338, - "column": 34 + "line": 348, + "column": 44 } } }, { "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 12058, - "end": 12059, + "start": 12435, + "end": 12436, "loc": { "start": { - "line": 338, - "column": 34 + "line": 348, + "column": 44 }, "end": { - "line": 338, - "column": 35 + "line": 348, + "column": 45 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -52105,23 +53803,39 @@ "postfix": false, "binop": null }, - "value": "pCurrentIndex", - "start": 12059, - "end": 12072, + "start": 12437, + "end": 12438, "loc": { "start": { - "line": 338, - "column": 35 + "line": 348, + "column": 46 }, "end": { - "line": 338, - "column": 48 + "line": 348, + "column": 47 + } + } + }, + { + "type": "CommentLine", + "value": " Store frame data", + "start": 12456, + "end": 12475, + "loc": { + "start": { + "line": 349, + "column": 16 + }, + "end": { + "line": 349, + "column": 35 } } }, { "type": { - "label": "]", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -52132,24 +53846,25 @@ "binop": null, "updateContext": null }, - "start": 12072, - "end": 12073, + "value": "const", + "start": 12493, + "end": 12498, "loc": { "start": { - "line": 338, - "column": 48 + "line": 350, + "column": 16 }, "end": { - "line": 338, - "column": 49 + "line": 350, + "column": 21 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -52157,41 +53872,44 @@ "postfix": false, "binop": null }, - "start": 12073, - "end": 12074, + "value": "currentFrameDataURL", + "start": 12499, + "end": 12518, "loc": { "start": { - "line": 338, - "column": 49 + "line": 350, + "column": 22 }, "end": { - "line": 338, - "column": 50 + "line": 350, + "column": 41 } } }, { "type": { - "label": "{", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 12075, - "end": 12076, + "value": "=", + "start": 12519, + "end": 12520, "loc": { "start": { - "line": 338, - "column": 51 + "line": 350, + "column": 42 }, "end": { - "line": 338, - "column": 52 + "line": 350, + "column": 43 } } }, @@ -52208,50 +53926,48 @@ "binop": null }, "value": "currentFrame", - "start": 12094, - "end": 12106, + "start": 12521, + "end": 12533, "loc": { "start": { - "line": 339, - "column": 16 + "line": 350, + "column": 44 }, "end": { - "line": 339, - "column": 28 + "line": 350, + "column": 56 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 12107, - "end": 12108, + "start": 12533, + "end": 12534, "loc": { "start": { - "line": 339, - "column": 29 + "line": 350, + "column": 56 }, "end": { - "line": 339, - "column": 30 + "line": 350, + "column": 57 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -52259,54 +53975,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 12109, - "end": 12113, + "value": "getDataURL", + "start": 12534, + "end": 12544, "loc": { "start": { - "line": 339, - "column": 31 + "line": 350, + "column": 57 }, "end": { - "line": 339, - "column": 35 + "line": 350, + "column": 67 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 12113, - "end": 12114, + "start": 12544, + "end": 12545, "loc": { "start": { - "line": 339, - "column": 35 + "line": 350, + "column": 67 }, "end": { - "line": 339, - "column": 36 + "line": 350, + "column": 68 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -52314,25 +54028,24 @@ "postfix": false, "binop": null }, - "value": "frames", - "start": 12114, - "end": 12120, + "start": 12545, + "end": 12546, "loc": { "start": { - "line": 339, - "column": 36 + "line": 350, + "column": 68 }, "end": { - "line": 339, - "column": 42 + "line": 350, + "column": 69 } } }, { "type": { - "label": "[", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -52341,102 +54054,105 @@ "binop": null, "updateContext": null }, - "start": 12120, - "end": 12121, + "start": 12546, + "end": 12547, "loc": { "start": { - "line": 339, - "column": 42 + "line": 350, + "column": 69 }, "end": { - "line": 339, - "column": 43 + "line": 350, + "column": 70 } } }, { "type": { - "label": "name", + "label": "const", + "keyword": "const", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "pCurrentIndex", - "start": 12121, - "end": 12134, + "value": "const", + "start": 12565, + "end": 12570, "loc": { "start": { - "line": 339, - "column": 43 + "line": 351, + "column": 16 }, "end": { - "line": 339, - "column": 56 + "line": 351, + "column": 21 } } }, { "type": { - "label": "]", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 12134, - "end": 12135, + "value": "currentFrameDelay", + "start": 12571, + "end": 12588, "loc": { "start": { - "line": 339, - "column": 56 + "line": 351, + "column": 22 }, "end": { - "line": 339, - "column": 57 + "line": 351, + "column": 39 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 12135, - "end": 12136, + "value": "=", + "start": 12589, + "end": 12590, "loc": { "start": { - "line": 339, - "column": 57 + "line": 351, + "column": 40 }, "end": { - "line": 339, - "column": 58 + "line": 351, + "column": 41 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -52444,60 +54160,69 @@ "postfix": false, "binop": null }, - "start": 12150, - "end": 12151, + "value": "currentFrame", + "start": 12591, + "end": 12603, "loc": { "start": { - "line": 340, - "column": 12 + "line": 351, + "column": 42 }, "end": { - "line": 340, - "column": 13 + "line": 351, + "column": 54 } } }, { - "type": "CommentLine", - "value": " We get the frame at the specified index.", - "start": 12167, - "end": 12210, + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12603, + "end": 12604, "loc": { "start": { - "line": 342, - "column": 12 + "line": 351, + "column": 54 }, "end": { - "line": 342, + "line": 351, "column": 55 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 12224, - "end": 12226, + "value": "getDelay", + "start": 12604, + "end": 12612, "loc": { "start": { - "line": 343, - "column": 12 + "line": 351, + "column": 55 }, "end": { - "line": 343, - "column": 14 + "line": 351, + "column": 63 } } }, @@ -52513,25 +54238,49 @@ "postfix": false, "binop": null }, - "start": 12227, - "end": 12228, + "start": 12612, + "end": 12613, "loc": { "start": { - "line": 343, - "column": 15 + "line": 351, + "column": 63 }, "end": { - "line": 343, - "column": 16 + "line": 351, + "column": 64 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12613, + "end": 12614, + "loc": { + "start": { + "line": 351, + "column": 64 + }, + "end": { + "line": 351, + "column": 65 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -52540,23 +54289,23 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 12228, - "end": 12232, + "start": 12614, + "end": 12615, "loc": { "start": { - "line": 343, - "column": 16 + "line": 351, + "column": 65 }, "end": { - "line": 343, - "column": 20 + "line": 351, + "column": 66 } } }, { "type": { - "label": ".", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -52567,15 +54316,16 @@ "binop": null, "updateContext": null }, - "start": 12232, - "end": 12233, + "value": "const", + "start": 12635, + "end": 12640, "loc": { "start": { - "line": 343, - "column": 20 + "line": 353, + "column": 16 }, "end": { - "line": 343, + "line": 353, "column": 21 } } @@ -52592,43 +54342,44 @@ "postfix": false, "binop": null }, - "value": "frames", - "start": 12233, - "end": 12239, + "value": "frameAtIndexDataURL", + "start": 12641, + "end": 12660, "loc": { - "start": { - "line": 343, - "column": 21 + "start": { + "line": 353, + "column": 22 }, "end": { - "line": 343, - "column": 27 + "line": 353, + "column": 41 } } }, { "type": { - "label": "[", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 12239, - "end": 12240, + "value": "=", + "start": 12661, + "end": 12662, "loc": { "start": { - "line": 343, - "column": 27 + "line": 353, + "column": 42 }, "end": { - "line": 343, - "column": 28 + "line": 353, + "column": 43 } } }, @@ -52644,23 +54395,23 @@ "postfix": false, "binop": null }, - "value": "pIndex", - "start": 12240, - "end": 12246, + "value": "frameAtIndex", + "start": 12663, + "end": 12675, "loc": { "start": { - "line": 343, - "column": 28 + "line": 353, + "column": 44 }, "end": { - "line": 343, - "column": 34 + "line": 353, + "column": 56 } } }, { "type": { - "label": "]", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -52671,24 +54422,24 @@ "binop": null, "updateContext": null }, - "start": 12246, - "end": 12247, + "start": 12675, + "end": 12676, "loc": { "start": { - "line": 343, - "column": 34 + "line": 353, + "column": 56 }, "end": { - "line": 343, - "column": 35 + "line": 353, + "column": 57 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -52696,22 +54447,23 @@ "postfix": false, "binop": null }, - "start": 12247, - "end": 12248, + "value": "getDataURL", + "start": 12676, + "end": 12686, "loc": { "start": { - "line": 343, - "column": 35 + "line": 353, + "column": 57 }, "end": { - "line": 343, - "column": 36 + "line": 353, + "column": 67 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -52721,24 +54473,24 @@ "postfix": false, "binop": null }, - "start": 12249, - "end": 12250, + "start": 12686, + "end": 12687, "loc": { "start": { - "line": 343, - "column": 37 + "line": 353, + "column": 67 }, "end": { - "line": 343, - "column": 38 + "line": 353, + "column": 68 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -52746,53 +54498,51 @@ "postfix": false, "binop": null }, - "value": "frameAtIndex", - "start": 12268, - "end": 12280, + "start": 12687, + "end": 12688, "loc": { "start": { - "line": 344, - "column": 16 + "line": 353, + "column": 68 }, "end": { - "line": 344, - "column": 28 + "line": 353, + "column": 69 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 12281, - "end": 12282, + "start": 12688, + "end": 12689, "loc": { "start": { - "line": 344, - "column": 29 + "line": 353, + "column": 69 }, "end": { - "line": 344, - "column": 30 + "line": 353, + "column": 70 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "const", + "keyword": "const", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -52801,43 +54551,70 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 12283, - "end": 12287, + "value": "const", + "start": 12707, + "end": 12712, "loc": { "start": { - "line": 344, - "column": 31 + "line": 354, + "column": 16 }, "end": { - "line": 344, - "column": 35 + "line": 354, + "column": 21 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, + "binop": null + }, + "value": "frameAtIndexDelay", + "start": 12713, + "end": 12730, + "loc": { + "start": { + "line": 354, + "column": 22 + }, + "end": { + "line": 354, + "column": 39 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, "binop": null, "updateContext": null }, - "start": 12287, - "end": 12288, + "value": "=", + "start": 12731, + "end": 12732, "loc": { "start": { - "line": 344, - "column": 35 + "line": 354, + "column": 40 }, "end": { - "line": 344, - "column": 36 + "line": 354, + "column": 41 } } }, @@ -52853,25 +54630,25 @@ "postfix": false, "binop": null }, - "value": "frames", - "start": 12288, - "end": 12294, + "value": "frameAtIndex", + "start": 12733, + "end": 12745, "loc": { "start": { - "line": 344, - "column": 36 + "line": 354, + "column": 42 }, "end": { - "line": 344, - "column": 42 + "line": 354, + "column": 54 } } }, { "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -52880,16 +54657,16 @@ "binop": null, "updateContext": null }, - "start": 12294, - "end": 12295, + "start": 12745, + "end": 12746, "loc": { "start": { - "line": 344, - "column": 42 + "line": 354, + "column": 54 }, "end": { - "line": 344, - "column": 43 + "line": 354, + "column": 55 } } }, @@ -52905,163 +54682,161 @@ "postfix": false, "binop": null }, - "value": "pIndex", - "start": 12295, - "end": 12301, + "value": "getDelay", + "start": 12746, + "end": 12754, "loc": { "start": { - "line": 344, - "column": 43 + "line": 354, + "column": 55 }, "end": { - "line": 344, - "column": 49 + "line": 354, + "column": 63 } } }, { "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 12301, - "end": 12302, + "start": 12754, + "end": 12755, "loc": { "start": { - "line": 344, - "column": 49 + "line": 354, + "column": 63 }, "end": { - "line": 344, - "column": 50 + "line": 354, + "column": 64 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 12302, - "end": 12303, + "start": 12755, + "end": 12756, "loc": { "start": { - "line": 344, - "column": 50 + "line": 354, + "column": 64 }, "end": { - "line": 344, - "column": 51 + "line": 354, + "column": 65 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 12317, - "end": 12318, + "start": 12756, + "end": 12757, "loc": { "start": { - "line": 345, - "column": 12 + "line": 354, + "column": 65 }, "end": { - "line": 345, - "column": 13 + "line": 354, + "column": 66 } } }, { "type": "CommentLine", - "value": " If both frames can be found, we can swap their data.", - "start": 12334, - "end": 12389, + "value": " Swap data from frame", + "start": 12777, + "end": 12800, "loc": { "start": { - "line": 347, - "column": 12 + "line": 356, + "column": 16 }, "end": { - "line": 347, - "column": 67 + "line": 356, + "column": 39 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 12403, - "end": 12405, + "value": "currentFrame", + "start": 12818, + "end": 12830, "loc": { "start": { - "line": 348, - "column": 12 + "line": 357, + "column": 16 }, "end": { - "line": 348, - "column": 14 + "line": 357, + "column": 28 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 12406, - "end": 12407, + "start": 12830, + "end": 12831, "loc": { "start": { - "line": 348, - "column": 15 + "line": 357, + "column": 28 }, "end": { - "line": 348, - "column": 16 + "line": 357, + "column": 29 } } }, @@ -53077,44 +54852,42 @@ "postfix": false, "binop": null }, - "value": "currentFrame", - "start": 12407, - "end": 12419, + "value": "setDataURL", + "start": 12831, + "end": 12841, "loc": { "start": { - "line": 348, - "column": 16 + "line": 357, + "column": 29 }, "end": { - "line": 348, - "column": 28 + "line": 357, + "column": 39 } } }, { "type": { - "label": "&&", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 2, - "updateContext": null + "binop": null }, - "value": "&&", - "start": 12420, - "end": 12422, + "start": 12841, + "end": 12842, "loc": { "start": { - "line": 348, - "column": 29 + "line": 357, + "column": 39 }, "end": { - "line": 348, - "column": 31 + "line": 357, + "column": 40 } } }, @@ -53130,17 +54903,17 @@ "postfix": false, "binop": null }, - "value": "frameAtIndex", - "start": 12423, - "end": 12435, + "value": "frameAtIndexDataURL", + "start": 12842, + "end": 12861, "loc": { "start": { - "line": 348, - "column": 32 + "line": 357, + "column": 40 }, "end": { - "line": 348, - "column": 44 + "line": 357, + "column": 59 } } }, @@ -53156,64 +54929,74 @@ "postfix": false, "binop": null }, - "start": 12435, - "end": 12436, + "start": 12861, + "end": 12862, "loc": { "start": { - "line": 348, - "column": 44 + "line": 357, + "column": 59 }, "end": { - "line": 348, - "column": 45 + "line": 357, + "column": 60 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 12437, - "end": 12438, + "start": 12862, + "end": 12863, "loc": { "start": { - "line": 348, - "column": 46 + "line": 357, + "column": 60 }, "end": { - "line": 348, - "column": 47 + "line": 357, + "column": 61 } } }, { - "type": "CommentLine", - "value": " Store frame data", - "start": 12456, - "end": 12475, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "currentFrame", + "start": 12881, + "end": 12893, "loc": { "start": { - "line": 349, + "line": 358, "column": 16 }, "end": { - "line": 349, - "column": 35 + "line": 358, + "column": 28 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -53224,17 +55007,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 12493, - "end": 12498, + "start": 12893, + "end": 12894, "loc": { "start": { - "line": 350, - "column": 16 + "line": 358, + "column": 28 }, "end": { - "line": 350, - "column": 21 + "line": 358, + "column": 29 } } }, @@ -53250,52 +55032,76 @@ "postfix": false, "binop": null }, - "value": "currentFrameDataURL", - "start": 12499, - "end": 12518, + "value": "setDelay", + "start": 12894, + "end": 12902, "loc": { "start": { - "line": 350, - "column": 22 + "line": 358, + "column": 29 }, "end": { - "line": 350, - "column": 41 + "line": 358, + "column": 37 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 12519, - "end": 12520, + "start": 12902, + "end": 12903, + "loc": { + "start": { + "line": 358, + "column": 37 + }, + "end": { + "line": 358, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "frameAtIndexDelay", + "start": 12903, + "end": 12920, "loc": { "start": { - "line": 350, - "column": 42 + "line": 358, + "column": 38 }, "end": { - "line": 350, - "column": 43 + "line": 358, + "column": 55 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -53303,24 +55109,23 @@ "postfix": false, "binop": null }, - "value": "currentFrame", - "start": 12521, - "end": 12533, + "start": 12920, + "end": 12921, "loc": { "start": { - "line": 350, - "column": 44 + "line": 358, + "column": 55 }, "end": { - "line": 350, + "line": 358, "column": 56 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -53330,19 +55135,35 @@ "binop": null, "updateContext": null }, - "start": 12533, - "end": 12534, + "start": 12921, + "end": 12922, "loc": { "start": { - "line": 350, + "line": 358, "column": 56 }, "end": { - "line": 350, + "line": 358, "column": 57 } } }, + { + "type": "CommentLine", + "value": " Swap data to frame", + "start": 12940, + "end": 12961, + "loc": { + "start": { + "line": 359, + "column": 16 + }, + "end": { + "line": 359, + "column": 37 + } + } + }, { "type": { "label": "name", @@ -53355,50 +55176,51 @@ "postfix": false, "binop": null }, - "value": "getDataURL", - "start": 12534, - "end": 12544, + "value": "frameAtIndex", + "start": 12979, + "end": 12991, "loc": { "start": { - "line": 350, - "column": 57 + "line": 360, + "column": 16 }, "end": { - "line": 350, - "column": 67 + "line": 360, + "column": 28 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 12544, - "end": 12545, + "start": 12991, + "end": 12992, "loc": { "start": { - "line": 350, - "column": 67 + "line": 360, + "column": 28 }, "end": { - "line": 350, - "column": 68 + "line": 360, + "column": 29 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -53406,78 +55228,76 @@ "postfix": false, "binop": null }, - "start": 12545, - "end": 12546, + "value": "setDataURL", + "start": 12992, + "end": 13002, "loc": { "start": { - "line": 350, - "column": 68 + "line": 360, + "column": 29 }, "end": { - "line": 350, - "column": 69 + "line": 360, + "column": 39 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 12546, - "end": 12547, + "start": 13002, + "end": 13003, "loc": { "start": { - "line": 350, - "column": 69 + "line": 360, + "column": 39 }, "end": { - "line": 350, - "column": 70 + "line": 360, + "column": 40 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 12565, - "end": 12570, + "value": "currentFrameDataURL", + "start": 13003, + "end": 13022, "loc": { "start": { - "line": 351, - "column": 16 + "line": 360, + "column": 40 }, "end": { - "line": 351, - "column": 21 + "line": 360, + "column": 59 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -53485,44 +55305,42 @@ "postfix": false, "binop": null }, - "value": "currentFrameDelay", - "start": 12571, - "end": 12588, + "start": 13022, + "end": 13023, "loc": { "start": { - "line": 351, - "column": 22 + "line": 360, + "column": 59 }, "end": { - "line": 351, - "column": 39 + "line": 360, + "column": 60 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 12589, - "end": 12590, + "start": 13023, + "end": 13024, "loc": { "start": { - "line": 351, - "column": 40 + "line": 360, + "column": 60 }, "end": { - "line": 351, - "column": 41 + "line": 360, + "column": 61 } } }, @@ -53538,17 +55356,17 @@ "postfix": false, "binop": null }, - "value": "currentFrame", - "start": 12591, - "end": 12603, + "value": "frameAtIndex", + "start": 13042, + "end": 13054, "loc": { "start": { - "line": 351, - "column": 42 + "line": 361, + "column": 16 }, "end": { - "line": 351, - "column": 54 + "line": 361, + "column": 28 } } }, @@ -53565,16 +55383,16 @@ "binop": null, "updateContext": null }, - "start": 12603, - "end": 12604, + "start": 13054, + "end": 13055, "loc": { "start": { - "line": 351, - "column": 54 + "line": 361, + "column": 28 }, "end": { - "line": 351, - "column": 55 + "line": 361, + "column": 29 } } }, @@ -53590,17 +55408,17 @@ "postfix": false, "binop": null }, - "value": "getDelay", - "start": 12604, - "end": 12612, + "value": "setDelay", + "start": 13055, + "end": 13063, "loc": { "start": { - "line": 351, - "column": 55 + "line": 361, + "column": 29 }, "end": { - "line": 351, - "column": 63 + "line": 361, + "column": 37 } } }, @@ -53616,24 +55434,24 @@ "postfix": false, "binop": null }, - "start": 12612, - "end": 12613, + "start": 13063, + "end": 13064, "loc": { "start": { - "line": 351, - "column": 63 + "line": 361, + "column": 37 }, "end": { - "line": 351, - "column": 64 + "line": 361, + "column": 38 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -53641,50 +55459,49 @@ "postfix": false, "binop": null }, - "start": 12613, - "end": 12614, + "value": "currentFrameDelay", + "start": 13064, + "end": 13081, "loc": { "start": { - "line": 351, - "column": 64 + "line": 361, + "column": 38 }, "end": { - "line": 351, - "column": 65 + "line": 361, + "column": 55 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 12614, - "end": 12615, + "start": 13081, + "end": 13082, "loc": { "start": { - "line": 351, - "column": 65 + "line": 361, + "column": 55 }, "end": { - "line": 351, - "column": 66 + "line": 361, + "column": 56 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -53694,25 +55511,24 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 12635, - "end": 12640, + "start": 13082, + "end": 13083, "loc": { "start": { - "line": 353, - "column": 16 + "line": 361, + "column": 56 }, "end": { - "line": 353, - "column": 21 + "line": 361, + "column": 57 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -53720,51 +55536,51 @@ "postfix": false, "binop": null }, - "value": "frameAtIndexDataURL", - "start": 12641, - "end": 12660, + "start": 13097, + "end": 13098, "loc": { "start": { - "line": 353, - "column": 22 + "line": 362, + "column": 12 }, "end": { - "line": 353, - "column": 41 + "line": 362, + "column": 13 } } }, { "type": { - "label": "=", + "label": "else", + "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 12661, - "end": 12662, + "value": "else", + "start": 13099, + "end": 13103, "loc": { "start": { - "line": 353, - "column": 42 + "line": 362, + "column": 14 }, "end": { - "line": 353, - "column": 43 + "line": 362, + "column": 18 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -53773,43 +55589,16 @@ "postfix": false, "binop": null }, - "value": "frameAtIndex", - "start": 12663, - "end": 12675, - "loc": { - "start": { - "line": 353, - "column": 44 - }, - "end": { - "line": 353, - "column": 56 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 12675, - "end": 12676, + "start": 13104, + "end": 13105, "loc": { "start": { - "line": 353, - "column": 56 + "line": 362, + "column": 19 }, "end": { - "line": 353, - "column": 57 + "line": 362, + "column": 20 } } }, @@ -53825,50 +55614,51 @@ "postfix": false, "binop": null }, - "value": "getDataURL", - "start": 12676, - "end": 12686, + "value": "VYI", + "start": 13123, + "end": 13126, "loc": { "start": { - "line": 353, - "column": 57 + "line": 363, + "column": 16 }, "end": { - "line": 353, - "column": 67 + "line": 363, + "column": 19 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 12686, - "end": 12687, + "start": 13126, + "end": 13127, "loc": { "start": { - "line": 353, - "column": 67 + "line": 363, + "column": 19 }, "end": { - "line": 353, - "column": 68 + "line": 363, + "column": 20 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -53876,23 +55666,24 @@ "postfix": false, "binop": null }, - "start": 12687, - "end": 12688, + "value": "logger", + "start": 13127, + "end": 13133, "loc": { "start": { - "line": 353, - "column": 68 + "line": 363, + "column": 20 }, "end": { - "line": 353, - "column": 69 + "line": 363, + "column": 26 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -53902,51 +55693,49 @@ "binop": null, "updateContext": null }, - "start": 12688, - "end": 12689, + "start": 13133, + "end": 13134, "loc": { "start": { - "line": 353, - "column": 69 + "line": 363, + "column": 26 }, "end": { - "line": 353, - "column": 70 + "line": 363, + "column": 27 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 12707, - "end": 12712, + "value": "prefix", + "start": 13134, + "end": 13140, "loc": { "start": { - "line": 354, - "column": 16 + "line": 363, + "column": 27 }, "end": { - "line": 354, - "column": 21 + "line": 363, + "column": 33 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -53955,52 +55744,51 @@ "postfix": false, "binop": null }, - "value": "frameAtIndexDelay", - "start": 12713, - "end": 12730, + "start": 13140, + "end": 13141, "loc": { "start": { - "line": 354, - "column": 22 + "line": 363, + "column": 33 }, "end": { - "line": 354, - "column": 39 + "line": 363, + "column": 34 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "string", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 12731, - "end": 12732, + "value": "VYI-Module", + "start": 13141, + "end": 13153, "loc": { "start": { - "line": 354, - "column": 40 + "line": 363, + "column": 34 }, "end": { - "line": 354, - "column": 41 + "line": 363, + "column": 46 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -54008,17 +55796,16 @@ "postfix": false, "binop": null }, - "value": "frameAtIndex", - "start": 12733, - "end": 12745, + "start": 13153, + "end": 13154, "loc": { "start": { - "line": 354, - "column": 42 + "line": 363, + "column": 46 }, "end": { - "line": 354, - "column": 54 + "line": 363, + "column": 47 } } }, @@ -54035,16 +55822,16 @@ "binop": null, "updateContext": null }, - "start": 12745, - "end": 12746, + "start": 13154, + "end": 13155, "loc": { "start": { - "line": 354, - "column": 54 + "line": 363, + "column": 47 }, "end": { - "line": 354, - "column": 55 + "line": 363, + "column": 48 } } }, @@ -54060,17 +55847,17 @@ "postfix": false, "binop": null }, - "value": "getDelay", - "start": 12746, - "end": 12754, + "value": "error", + "start": 13155, + "end": 13160, "loc": { "start": { - "line": 354, - "column": 55 + "line": 363, + "column": 48 }, "end": { - "line": 354, - "column": 63 + "line": 363, + "column": 53 } } }, @@ -54086,115 +55873,100 @@ "postfix": false, "binop": null }, - "start": 12754, - "end": 12755, + "start": 13160, + "end": 13161, "loc": { "start": { - "line": 354, - "column": 63 + "line": 363, + "column": 53 }, "end": { - "line": 354, - "column": 64 + "line": 363, + "column": 54 } } }, { "type": { - "label": ")", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 12755, - "end": 12756, + "value": "There was no frame found at pCurrentIndex, or there was no frame found at pIndex!", + "start": 13161, + "end": 13244, "loc": { "start": { - "line": 354, - "column": 64 + "line": 363, + "column": 54 }, "end": { - "line": 354, - "column": 65 + "line": 363, + "column": 137 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 12756, - "end": 12757, - "loc": { - "start": { - "line": 354, - "column": 65 - }, - "end": { - "line": 354, - "column": 66 - } - } - }, - { - "type": "CommentLine", - "value": " Swap data from frame", - "start": 12777, - "end": 12800, + "start": 13244, + "end": 13245, "loc": { "start": { - "line": 356, - "column": 16 + "line": 363, + "column": 137 }, "end": { - "line": 356, - "column": 39 + "line": 363, + "column": 138 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "currentFrame", - "start": 12818, - "end": 12830, + "start": 13245, + "end": 13246, "loc": { "start": { - "line": 357, - "column": 16 + "line": 363, + "column": 138 }, "end": { - "line": 357, - "column": 28 + "line": 363, + "column": 139 } } }, { "type": { - "label": ".", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -54202,27 +55974,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 12830, - "end": 12831, + "start": 13260, + "end": 13261, "loc": { "start": { - "line": 357, - "column": 28 + "line": 364, + "column": 12 }, "end": { - "line": 357, - "column": 29 + "line": 364, + "column": 13 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -54230,49 +56001,51 @@ "postfix": false, "binop": null }, - "value": "setDataURL", - "start": 12831, - "end": 12841, + "start": 13271, + "end": 13272, "loc": { "start": { - "line": 357, - "column": 29 + "line": 365, + "column": 8 }, "end": { - "line": 357, - "column": 39 + "line": 365, + "column": 9 } } }, { "type": { - "label": "(", + "label": "else", + "keyword": "else", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 12841, - "end": 12842, + "value": "else", + "start": 13273, + "end": 13277, "loc": { "start": { - "line": 357, - "column": 39 + "line": 365, + "column": 10 }, "end": { - "line": 357, - "column": 40 + "line": 365, + "column": 14 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -54281,25 +56054,24 @@ "postfix": false, "binop": null }, - "value": "frameAtIndexDataURL", - "start": 12842, - "end": 12861, + "start": 13278, + "end": 13279, "loc": { "start": { - "line": 357, - "column": 40 + "line": 365, + "column": 15 }, "end": { - "line": 357, - "column": 59 + "line": 365, + "column": 16 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -54307,23 +56079,24 @@ "postfix": false, "binop": null }, - "start": 12861, - "end": 12862, + "value": "VYI", + "start": 13293, + "end": 13296, "loc": { "start": { - "line": 357, - "column": 59 + "line": 366, + "column": 12 }, "end": { - "line": 357, - "column": 60 + "line": 366, + "column": 15 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -54333,16 +56106,16 @@ "binop": null, "updateContext": null }, - "start": 12862, - "end": 12863, + "start": 13296, + "end": 13297, "loc": { "start": { - "line": 357, - "column": 60 + "line": 366, + "column": 15 }, "end": { - "line": 357, - "column": 61 + "line": 366, + "column": 16 } } }, @@ -54358,17 +56131,17 @@ "postfix": false, "binop": null }, - "value": "currentFrame", - "start": 12881, - "end": 12893, + "value": "logger", + "start": 13297, + "end": 13303, "loc": { "start": { - "line": 358, + "line": 366, "column": 16 }, "end": { - "line": 358, - "column": 28 + "line": 366, + "column": 22 } } }, @@ -54385,16 +56158,16 @@ "binop": null, "updateContext": null }, - "start": 12893, - "end": 12894, + "start": 13303, + "end": 13304, "loc": { "start": { - "line": 358, - "column": 28 + "line": 366, + "column": 22 }, "end": { - "line": 358, - "column": 29 + "line": 366, + "column": 23 } } }, @@ -54410,17 +56183,17 @@ "postfix": false, "binop": null }, - "value": "setDelay", - "start": 12894, - "end": 12902, + "value": "prefix", + "start": 13304, + "end": 13310, "loc": { "start": { - "line": 358, - "column": 29 + "line": 366, + "column": 23 }, "end": { - "line": 358, - "column": 37 + "line": 366, + "column": 29 } } }, @@ -54436,22 +56209,22 @@ "postfix": false, "binop": null }, - "start": 12902, - "end": 12903, + "start": 13310, + "end": 13311, "loc": { "start": { - "line": 358, - "column": 37 + "line": 366, + "column": 29 }, "end": { - "line": 358, - "column": 38 + "line": 366, + "column": 30 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -54459,19 +56232,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "frameAtIndexDelay", - "start": 12903, - "end": 12920, + "value": "VYI-Module", + "start": 13311, + "end": 13323, "loc": { "start": { - "line": 358, - "column": 38 + "line": 366, + "column": 30 }, "end": { - "line": 358, - "column": 55 + "line": 366, + "column": 42 } } }, @@ -54487,23 +56261,23 @@ "postfix": false, "binop": null }, - "start": 12920, - "end": 12921, + "start": 13323, + "end": 13324, "loc": { "start": { - "line": 358, - "column": 55 + "line": 366, + "column": 42 }, "end": { - "line": 358, - "column": 56 + "line": 366, + "column": 43 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -54513,39 +56287,49 @@ "binop": null, "updateContext": null }, - "start": 12921, - "end": 12922, + "start": 13324, + "end": 13325, "loc": { "start": { - "line": 358, - "column": 56 + "line": 366, + "column": 43 }, "end": { - "line": 358, - "column": 57 + "line": 366, + "column": 44 } } }, { - "type": "CommentLine", - "value": " Swap data to frame", - "start": 12940, - "end": 12961, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 13325, + "end": 13330, "loc": { "start": { - "line": 359, - "column": 16 + "line": 366, + "column": 44 }, "end": { - "line": 359, - "column": 37 + "line": 366, + "column": 49 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -54554,25 +56338,24 @@ "postfix": false, "binop": null }, - "value": "frameAtIndex", - "start": 12979, - "end": 12991, + "start": 13330, + "end": 13331, "loc": { "start": { - "line": 360, - "column": 16 + "line": 366, + "column": 49 }, "end": { - "line": 360, - "column": 28 + "line": 366, + "column": 50 } } }, { "type": { - "label": ".", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -54581,24 +56364,25 @@ "binop": null, "updateContext": null }, - "start": 12991, - "end": 12992, + "value": "Invalid type used!", + "start": 13331, + "end": 13351, "loc": { "start": { - "line": 360, - "column": 28 + "line": 366, + "column": 50 }, "end": { - "line": 360, - "column": 29 + "line": 366, + "column": 70 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -54606,50 +56390,50 @@ "postfix": false, "binop": null }, - "value": "setDataURL", - "start": 12992, - "end": 13002, + "start": 13351, + "end": 13352, "loc": { "start": { - "line": 360, - "column": 29 + "line": 366, + "column": 70 }, "end": { - "line": 360, - "column": 39 + "line": 366, + "column": 71 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 13002, - "end": 13003, + "start": 13352, + "end": 13353, "loc": { "start": { - "line": 360, - "column": 39 + "line": 366, + "column": 71 }, "end": { - "line": 360, - "column": 40 + "line": 366, + "column": 72 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -54657,50 +56441,53 @@ "postfix": false, "binop": null }, - "value": "currentFrameDataURL", - "start": 13003, - "end": 13022, + "start": 13363, + "end": 13364, "loc": { "start": { - "line": 360, - "column": 40 + "line": 367, + "column": 8 }, "end": { - "line": 360, - "column": 59 + "line": 367, + "column": 9 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "return", + "keyword": "return", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 13022, - "end": 13023, + "value": "return", + "start": 13374, + "end": 13380, "loc": { "start": { - "line": 360, - "column": 59 + "line": 368, + "column": 8 }, "end": { - "line": 360, - "column": 60 + "line": 368, + "column": 14 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -54709,48 +56496,49 @@ "binop": null, "updateContext": null }, - "start": 13023, - "end": 13024, + "value": "this", + "start": 13381, + "end": 13385, "loc": { "start": { - "line": 360, - "column": 60 + "line": 368, + "column": 15 }, "end": { - "line": 360, - "column": 61 + "line": 368, + "column": 19 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "frameAtIndex", - "start": 13042, - "end": 13054, + "start": 13385, + "end": 13386, "loc": { "start": { - "line": 361, - "column": 16 + "line": 368, + "column": 19 }, "end": { - "line": 361, - "column": 28 + "line": 368, + "column": 20 } } }, { "type": { - "label": ".", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -54758,19 +56546,34 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 13054, - "end": 13055, + "start": 13392, + "end": 13393, + "loc": { + "start": { + "line": 369, + "column": 4 + }, + "end": { + "line": 369, + "column": 5 + } + } + }, + { + "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": 13399, + "end": 13801, "loc": { "start": { - "line": 361, - "column": 28 + "line": 370, + "column": 4 }, "end": { - "line": 361, - "column": 29 + "line": 376, + "column": 7 } } }, @@ -54786,17 +56589,17 @@ "postfix": false, "binop": null }, - "value": "setDelay", - "start": 13055, - "end": 13063, + "value": "getFrame", + "start": 13807, + "end": 13815, "loc": { "start": { - "line": 361, - "column": 29 + "line": 377, + "column": 4 }, "end": { - "line": 361, - "column": 37 + "line": 377, + "column": 12 } } }, @@ -54812,16 +56615,16 @@ "postfix": false, "binop": null }, - "start": 13063, - "end": 13064, + "start": 13815, + "end": 13816, "loc": { "start": { - "line": 361, - "column": 37 + "line": 377, + "column": 12 }, "end": { - "line": 361, - "column": 38 + "line": 377, + "column": 13 } } }, @@ -54837,17 +56640,17 @@ "postfix": false, "binop": null }, - "value": "currentFrameDelay", - "start": 13064, - "end": 13081, + "value": "pIndex", + "start": 13816, + "end": 13822, "loc": { "start": { - "line": 361, - "column": 38 + "line": 377, + "column": 13 }, "end": { - "line": 361, - "column": 55 + "line": 377, + "column": 19 } } }, @@ -54863,48 +56666,48 @@ "postfix": false, "binop": null }, - "start": 13081, - "end": 13082, + "start": 13822, + "end": 13823, "loc": { "start": { - "line": 361, - "column": 55 + "line": 377, + "column": 19 }, "end": { - "line": 361, - "column": 56 + "line": 377, + "column": 20 } } }, { "type": { - "label": ";", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 13082, - "end": 13083, + "start": 13824, + "end": 13825, "loc": { "start": { - "line": 361, - "column": 56 + "line": 377, + "column": 21 }, "end": { - "line": 361, - "column": 57 + "line": 377, + "column": 22 } } }, { "type": { - "label": "}", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -54912,78 +56715,80 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 13097, - "end": 13098, + "value": "if", + "start": 13835, + "end": 13837, "loc": { "start": { - "line": 362, - "column": 12 + "line": 378, + "column": 8 }, "end": { - "line": 362, - "column": 13 + "line": 378, + "column": 10 } } }, { "type": { - "label": "else", - "keyword": "else", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "else", - "start": 13099, - "end": 13103, + "start": 13838, + "end": 13839, "loc": { "start": { - "line": 362, - "column": 14 + "line": 378, + "column": 11 }, "end": { - "line": 362, - "column": 18 + "line": 378, + "column": 12 } } }, { "type": { - "label": "{", + "label": "typeof", + "keyword": "typeof", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 13104, - "end": 13105, + "value": "typeof", + "start": 13839, + "end": 13845, "loc": { "start": { - "line": 362, - "column": 19 + "line": 378, + "column": 12 }, "end": { - "line": 362, - "column": 20 + "line": 378, + "column": 18 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -54992,51 +56797,50 @@ "postfix": false, "binop": null }, - "value": "VYI", - "start": 13123, - "end": 13126, + "start": 13845, + "end": 13846, "loc": { "start": { - "line": 363, - "column": 16 + "line": 378, + "column": 18 }, "end": { - "line": 363, + "line": 378, "column": 19 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 13126, - "end": 13127, + "value": "pIndex", + "start": 13846, + "end": 13852, "loc": { "start": { - "line": 363, + "line": 378, "column": 19 }, "end": { - "line": 363, - "column": 20 + "line": 378, + "column": 25 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -55044,49 +56848,49 @@ "postfix": false, "binop": null }, - "value": "logger", - "start": 13127, - "end": 13133, + "start": 13852, + "end": 13853, "loc": { "start": { - "line": 363, - "column": 20 + "line": 378, + "column": 25 }, "end": { - "line": 363, + "line": 378, "column": 26 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "==/!=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "start": 13133, - "end": 13134, + "value": "===", + "start": 13854, + "end": 13857, "loc": { "start": { - "line": 363, - "column": 26 + "line": 378, + "column": 27 }, "end": { - "line": 363, - "column": 27 + "line": 378, + "column": 30 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -55094,27 +56898,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "prefix", - "start": 13134, - "end": 13140, + "value": "number", + "start": 13858, + "end": 13866, "loc": { "start": { - "line": 363, - "column": 27 + "line": 378, + "column": 31 }, "end": { - "line": 363, - "column": 33 + "line": 378, + "column": 39 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -55122,76 +56927,78 @@ "postfix": false, "binop": null }, - "start": 13140, - "end": 13141, + "start": 13866, + "end": 13867, "loc": { "start": { - "line": 363, - "column": 33 + "line": 378, + "column": 39 }, "end": { - "line": 363, - "column": 34 + "line": 378, + "column": 40 } } }, { "type": { - "label": "string", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "VYI-Module", - "start": 13141, - "end": 13153, + "start": 13868, + "end": 13869, "loc": { "start": { - "line": 363, - "column": 34 + "line": 378, + "column": 41 }, "end": { - "line": 363, - "column": 46 + "line": 378, + "column": 42 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "return", + "keyword": "return", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 13153, - "end": 13154, + "value": "return", + "start": 13883, + "end": 13889, "loc": { "start": { - "line": 363, - "column": 46 + "line": 379, + "column": 12 }, "end": { - "line": 363, - "column": 47 + "line": 379, + "column": 18 } } }, { "type": { - "label": ".", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -55200,49 +57007,50 @@ "binop": null, "updateContext": null }, - "start": 13154, - "end": 13155, + "value": "this", + "start": 13890, + "end": 13894, "loc": { "start": { - "line": 363, - "column": 47 + "line": 379, + "column": 19 }, "end": { - "line": 363, - "column": 48 + "line": 379, + "column": 23 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "error", - "start": 13155, - "end": 13160, + "start": 13894, + "end": 13895, "loc": { "start": { - "line": 363, - "column": 48 + "line": 379, + "column": 23 }, "end": { - "line": 363, - "column": 53 + "line": 379, + "column": 24 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -55251,23 +57059,24 @@ "postfix": false, "binop": null }, - "start": 13160, - "end": 13161, + "value": "frames", + "start": 13895, + "end": 13901, "loc": { "start": { - "line": 363, - "column": 53 + "line": 379, + "column": 24 }, "end": { - "line": 363, - "column": 54 + "line": 379, + "column": 30 } } }, { "type": { - "label": "string", - "beforeExpr": false, + "label": "[", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -55277,25 +57086,24 @@ "binop": null, "updateContext": null }, - "value": "There was no frame found at pCurrentIndex, or there was no frame found at pIndex!", - "start": 13161, - "end": 13244, + "start": 13901, + "end": 13902, "loc": { "start": { - "line": 363, - "column": 54 + "line": 379, + "column": 30 }, "end": { - "line": 363, - "column": 137 + "line": 379, + "column": 31 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -55303,23 +57111,24 @@ "postfix": false, "binop": null }, - "start": 13244, - "end": 13245, + "value": "pIndex", + "start": 13902, + "end": 13908, "loc": { "start": { - "line": 363, - "column": 137 + "line": 379, + "column": 31 }, "end": { - "line": 363, - "column": 138 + "line": 379, + "column": 37 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "]", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -55329,41 +57138,42 @@ "binop": null, "updateContext": null }, - "start": 13245, - "end": 13246, + "start": 13908, + "end": 13909, "loc": { "start": { - "line": 363, - "column": 138 + "line": 379, + "column": 37 }, "end": { - "line": 363, - "column": 139 + "line": 379, + "column": 38 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 13260, - "end": 13261, + "start": 13909, + "end": 13910, "loc": { "start": { - "line": 364, - "column": 12 + "line": 379, + "column": 38 }, "end": { - "line": 364, - "column": 13 + "line": 379, + "column": 39 } } }, @@ -55379,15 +57189,15 @@ "postfix": false, "binop": null }, - "start": 13271, - "end": 13272, + "start": 13920, + "end": 13921, "loc": { "start": { - "line": 365, + "line": 380, "column": 8 }, "end": { - "line": 365, + "line": 380, "column": 9 } } @@ -55407,15 +57217,15 @@ "updateContext": null }, "value": "else", - "start": 13273, - "end": 13277, + "start": 13922, + "end": 13926, "loc": { "start": { - "line": 365, + "line": 380, "column": 10 }, "end": { - "line": 365, + "line": 380, "column": 14 } } @@ -55432,15 +57242,15 @@ "postfix": false, "binop": null }, - "start": 13278, - "end": 13279, + "start": 13927, + "end": 13928, "loc": { "start": { - "line": 365, + "line": 380, "column": 15 }, "end": { - "line": 365, + "line": 380, "column": 16 } } @@ -55458,15 +57268,15 @@ "binop": null }, "value": "VYI", - "start": 13293, - "end": 13296, + "start": 13942, + "end": 13945, "loc": { "start": { - "line": 366, + "line": 381, "column": 12 }, "end": { - "line": 366, + "line": 381, "column": 15 } } @@ -55484,15 +57294,15 @@ "binop": null, "updateContext": null }, - "start": 13296, - "end": 13297, + "start": 13945, + "end": 13946, "loc": { "start": { - "line": 366, + "line": 381, "column": 15 }, "end": { - "line": 366, + "line": 381, "column": 16 } } @@ -55510,15 +57320,15 @@ "binop": null }, "value": "logger", - "start": 13297, - "end": 13303, + "start": 13946, + "end": 13952, "loc": { "start": { - "line": 366, + "line": 381, "column": 16 }, "end": { - "line": 366, + "line": 381, "column": 22 } } @@ -55536,15 +57346,15 @@ "binop": null, "updateContext": null }, - "start": 13303, - "end": 13304, + "start": 13952, + "end": 13953, "loc": { "start": { - "line": 366, + "line": 381, "column": 22 }, "end": { - "line": 366, + "line": 381, "column": 23 } } @@ -55562,15 +57372,15 @@ "binop": null }, "value": "prefix", - "start": 13304, - "end": 13310, + "start": 13953, + "end": 13959, "loc": { "start": { - "line": 366, + "line": 381, "column": 23 }, "end": { - "line": 366, + "line": 381, "column": 29 } } @@ -55587,15 +57397,15 @@ "postfix": false, "binop": null }, - "start": 13310, - "end": 13311, + "start": 13959, + "end": 13960, "loc": { "start": { - "line": 366, + "line": 381, "column": 29 }, "end": { - "line": 366, + "line": 381, "column": 30 } } @@ -55614,15 +57424,15 @@ "updateContext": null }, "value": "VYI-Module", - "start": 13311, - "end": 13323, + "start": 13960, + "end": 13972, "loc": { "start": { - "line": 366, + "line": 381, "column": 30 }, "end": { - "line": 366, + "line": 381, "column": 42 } } @@ -55639,15 +57449,15 @@ "postfix": false, "binop": null }, - "start": 13323, - "end": 13324, + "start": 13972, + "end": 13973, "loc": { "start": { - "line": 366, + "line": 381, "column": 42 }, "end": { - "line": 366, + "line": 381, "column": 43 } } @@ -55665,15 +57475,15 @@ "binop": null, "updateContext": null }, - "start": 13324, - "end": 13325, + "start": 13973, + "end": 13974, "loc": { "start": { - "line": 366, + "line": 381, "column": 43 }, "end": { - "line": 366, + "line": 381, "column": 44 } } @@ -55691,15 +57501,15 @@ "binop": null }, "value": "error", - "start": 13325, - "end": 13330, + "start": 13974, + "end": 13979, "loc": { "start": { - "line": 366, + "line": 381, "column": 44 }, "end": { - "line": 366, + "line": 381, "column": 49 } } @@ -55716,15 +57526,15 @@ "postfix": false, "binop": null }, - "start": 13330, - "end": 13331, + "start": 13979, + "end": 13980, "loc": { "start": { - "line": 366, + "line": 381, "column": 49 }, "end": { - "line": 366, + "line": 381, "column": 50 } } @@ -55743,15 +57553,15 @@ "updateContext": null }, "value": "Invalid type used!", - "start": 13331, - "end": 13351, + "start": 13980, + "end": 14000, "loc": { "start": { - "line": 366, + "line": 381, "column": 50 }, "end": { - "line": 366, + "line": 381, "column": 70 } } @@ -55768,15 +57578,15 @@ "postfix": false, "binop": null }, - "start": 13351, - "end": 13352, + "start": 14000, + "end": 14001, "loc": { "start": { - "line": 366, + "line": 381, "column": 70 }, "end": { - "line": 366, + "line": 381, "column": 71 } } @@ -55794,15 +57604,15 @@ "binop": null, "updateContext": null }, - "start": 13352, - "end": 13353, + "start": 14001, + "end": 14002, "loc": { "start": { - "line": 366, + "line": 381, "column": 71 }, "end": { - "line": 366, + "line": 381, "column": 72 } } @@ -55819,51 +57629,63 @@ "postfix": false, "binop": null }, - "start": 13363, - "end": 13364, + "start": 14012, + "end": 14013, "loc": { "start": { - "line": 367, + "line": 382, "column": 8 }, "end": { - "line": 367, + "line": 382, "column": 9 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 13374, - "end": 13380, + "start": 14019, + "end": 14020, "loc": { "start": { - "line": 368, - "column": 8 + "line": 383, + "column": 4 }, "end": { - "line": 368, - "column": 14 + "line": 383, + "column": 5 + } + } + }, + { + "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": 14026, + "end": 14156, + "loc": { + "start": { + "line": 384, + "column": 4 + }, + "end": { + "line": 387, + "column": 7 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -55871,52 +57693,50 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 13381, - "end": 13385, + "value": "getFrames", + "start": 14162, + "end": 14171, "loc": { "start": { - "line": 368, - "column": 15 + "line": 388, + "column": 4 }, "end": { - "line": 368, - "column": 19 + "line": 388, + "column": 13 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 13385, - "end": 13386, + "start": 14171, + "end": 14172, "loc": { "start": { - "line": 368, - "column": 19 + "line": 388, + "column": 13 }, "end": { - "line": 368, - "column": 20 + "line": 388, + "column": 14 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -55926,39 +57746,23 @@ "postfix": false, "binop": null }, - "start": 13392, - "end": 13393, - "loc": { - "start": { - "line": 369, - "column": 4 - }, - "end": { - "line": 369, - "column": 5 - } - } - }, - { - "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": 13399, - "end": 13801, + "start": 14172, + "end": 14173, "loc": { "start": { - "line": 370, - "column": 4 + "line": 388, + "column": 14 }, "end": { - "line": 376, - "column": 7 + "line": 388, + "column": 15 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -55967,125 +57771,130 @@ "postfix": false, "binop": null }, - "value": "getFrame", - "start": 13807, - "end": 13815, + "start": 14174, + "end": 14175, "loc": { "start": { - "line": 377, - "column": 4 + "line": 388, + "column": 16 }, "end": { - "line": 377, - "column": 12 + "line": 388, + "column": 17 } } }, { "type": { - "label": "(", + "label": "return", + "keyword": "return", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 13815, - "end": 13816, + "value": "return", + "start": 14185, + "end": 14191, "loc": { "start": { - "line": 377, - "column": 12 + "line": 389, + "column": 8 }, "end": { - "line": 377, - "column": 13 + "line": 389, + "column": 14 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "[", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "pIndex", - "start": 13816, - "end": 13822, + "start": 14192, + "end": 14193, "loc": { "start": { - "line": 377, - "column": 13 + "line": 389, + "column": 15 }, "end": { - "line": 377, - "column": 19 + "line": 389, + "column": 16 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "...", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 13822, - "end": 13823, + "start": 14194, + "end": 14197, "loc": { "start": { - "line": 377, - "column": 19 + "line": 389, + "column": 17 }, "end": { - "line": 377, + "line": 389, "column": 20 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "this", + "keyword": "this", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 13824, - "end": 13825, + "value": "this", + "start": 14197, + "end": 14201, "loc": { "start": { - "line": 377, - "column": 21 + "line": 389, + "column": 20 }, "end": { - "line": 377, - "column": 22 + "line": 389, + "column": 24 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -56096,24 +57905,23 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 13835, - "end": 13837, + "start": 14201, + "end": 14202, "loc": { "start": { - "line": 378, - "column": 8 + "line": 389, + "column": 24 }, "end": { - "line": 378, - "column": 10 + "line": 389, + "column": 25 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -56122,77 +57930,77 @@ "postfix": false, "binop": null }, - "start": 13838, - "end": 13839, + "value": "frames", + "start": 14202, + "end": 14208, "loc": { "start": { - "line": 378, - "column": 11 + "line": 389, + "column": 25 }, "end": { - "line": 378, - "column": 12 + "line": 389, + "column": 31 } } }, { "type": { - "label": "typeof", - "keyword": "typeof", - "beforeExpr": true, - "startsExpr": true, + "label": "]", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "typeof", - "start": 13839, - "end": 13845, + "start": 14209, + "end": 14210, "loc": { "start": { - "line": 378, - "column": 12 + "line": 389, + "column": 32 }, "end": { - "line": 378, - "column": 18 + "line": 389, + "column": 33 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 13845, - "end": 13846, + "start": 14210, + "end": 14211, "loc": { "start": { - "line": 378, - "column": 18 + "line": 389, + "column": 33 }, "end": { - "line": 378, - "column": 19 + "line": 389, + "column": 34 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -56200,96 +58008,83 @@ "postfix": false, "binop": null }, - "value": "pIndex", - "start": 13846, - "end": 13852, + "start": 14217, + "end": 14218, "loc": { "start": { - "line": 378, - "column": 19 + "line": 390, + "column": 4 }, "end": { - "line": 378, - "column": 25 + "line": 390, + "column": 5 } } }, { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 13852, - "end": 13853, + "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": 14224, + "end": 14380, "loc": { "start": { - "line": 378, - "column": 25 + "line": 391, + "column": 4 }, "end": { - "line": 378, - "column": 26 + "line": 395, + "column": 7 } } }, { "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, - "updateContext": null + "binop": null }, - "value": "===", - "start": 13854, - "end": 13857, + "value": "getFramesData", + "start": 14386, + "end": 14399, "loc": { "start": { - "line": 378, - "column": 27 + "line": 396, + "column": 4 }, "end": { - "line": 378, - "column": 30 + "line": 396, + "column": 17 } } }, { "type": { - "label": "string", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "number", - "start": 13858, - "end": 13866, + "start": 14399, + "end": 14400, "loc": { "start": { - "line": 378, - "column": 31 + "line": 396, + "column": 17 }, "end": { - "line": 378, - "column": 39 + "line": 396, + "column": 18 } } }, @@ -56305,16 +58100,16 @@ "postfix": false, "binop": null }, - "start": 13866, - "end": 13867, + "start": 14400, + "end": 14401, "loc": { "start": { - "line": 378, - "column": 39 + "line": 396, + "column": 18 }, "end": { - "line": 378, - "column": 40 + "line": 396, + "column": 19 } } }, @@ -56330,24 +58125,24 @@ "postfix": false, "binop": null }, - "start": 13868, - "end": 13869, + "start": 14402, + "end": 14403, "loc": { "start": { - "line": 378, - "column": 41 + "line": 396, + "column": 20 }, "end": { - "line": 378, - "column": 42 + "line": 396, + "column": 21 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -56357,24 +58152,23 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 13883, - "end": 13889, + "value": "const", + "start": 14413, + "end": 14418, "loc": { "start": { - "line": 379, - "column": 12 + "line": 397, + "column": 8 }, "end": { - "line": 379, - "column": 18 + "line": 397, + "column": 13 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -56382,80 +58176,80 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 13890, - "end": 13894, + "value": "frameDataArray", + "start": 14419, + "end": 14433, "loc": { "start": { - "line": 379, - "column": 19 + "line": 397, + "column": 14 }, "end": { - "line": 379, - "column": 23 + "line": 397, + "column": 28 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 13894, - "end": 13895, + "value": "=", + "start": 14434, + "end": 14435, "loc": { "start": { - "line": 379, - "column": 23 + "line": 397, + "column": 29 }, "end": { - "line": 379, - "column": 24 + "line": 397, + "column": 30 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "[", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "frames", - "start": 13895, - "end": 13901, + "start": 14436, + "end": 14437, "loc": { "start": { - "line": 379, - "column": 24 + "line": 397, + "column": 31 }, "end": { - "line": 379, - "column": 30 + "line": 397, + "column": 32 } } }, { "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, + "label": "]", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -56464,50 +58258,51 @@ "binop": null, "updateContext": null }, - "start": 13901, - "end": 13902, + "start": 14437, + "end": 14438, "loc": { "start": { - "line": 379, - "column": 30 + "line": 397, + "column": 32 }, "end": { - "line": 379, - "column": 31 + "line": 397, + "column": 33 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "pIndex", - "start": 13902, - "end": 13908, + "start": 14438, + "end": 14439, "loc": { "start": { - "line": 379, - "column": 31 + "line": 397, + "column": 33 }, "end": { - "line": 379, - "column": 37 + "line": 397, + "column": 34 } } }, { "type": { - "label": "]", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -56516,23 +58311,24 @@ "binop": null, "updateContext": null }, - "start": 13908, - "end": 13909, + "value": "this", + "start": 14449, + "end": 14453, "loc": { "start": { - "line": 379, - "column": 37 + "line": 398, + "column": 8 }, "end": { - "line": 379, - "column": 38 + "line": 398, + "column": 12 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -56542,24 +58338,24 @@ "binop": null, "updateContext": null }, - "start": 13909, - "end": 13910, + "start": 14453, + "end": 14454, "loc": { "start": { - "line": 379, - "column": 38 + "line": 398, + "column": 12 }, "end": { - "line": 379, - "column": 39 + "line": 398, + "column": 13 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -56567,24 +58363,24 @@ "postfix": false, "binop": null }, - "start": 13920, - "end": 13921, + "value": "frames", + "start": 14454, + "end": 14460, "loc": { "start": { - "line": 380, - "column": 8 + "line": 398, + "column": 13 }, "end": { - "line": 380, - "column": 9 + "line": 398, + "column": 19 } } }, { "type": { - "label": "else", - "keyword": "else", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -56594,24 +58390,23 @@ "binop": null, "updateContext": null }, - "value": "else", - "start": 13922, - "end": 13926, + "start": 14460, + "end": 14461, "loc": { "start": { - "line": 380, - "column": 10 + "line": 398, + "column": 19 }, "end": { - "line": 380, - "column": 14 + "line": 398, + "column": 20 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -56620,23 +58415,24 @@ "postfix": false, "binop": null }, - "start": 13927, - "end": 13928, + "value": "forEach", + "start": 14461, + "end": 14468, "loc": { "start": { - "line": 380, - "column": 15 + "line": 398, + "column": 20 }, "end": { - "line": 380, - "column": 16 + "line": 398, + "column": 27 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -56645,43 +58441,41 @@ "postfix": false, "binop": null }, - "value": "VYI", - "start": 13942, - "end": 13945, + "start": 14468, + "end": 14469, "loc": { "start": { - "line": 381, - "column": 12 + "line": 398, + "column": 27 }, "end": { - "line": 381, - "column": 15 + "line": 398, + "column": 28 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 13945, - "end": 13946, + "start": 14469, + "end": 14470, "loc": { "start": { - "line": 381, - "column": 15 + "line": 398, + "column": 28 }, "end": { - "line": 381, - "column": 16 + "line": 398, + "column": 29 } } }, @@ -56697,23 +58491,23 @@ "postfix": false, "binop": null }, - "value": "logger", - "start": 13946, - "end": 13952, + "value": "pFrame", + "start": 14470, + "end": 14476, "loc": { "start": { - "line": 381, - "column": 16 + "line": 398, + "column": 29 }, "end": { - "line": 381, - "column": 22 + "line": 398, + "column": 35 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -56721,51 +58515,50 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 13952, - "end": 13953, + "start": 14476, + "end": 14477, "loc": { "start": { - "line": 381, - "column": 22 + "line": 398, + "column": 35 }, "end": { - "line": 381, - "column": 23 + "line": 398, + "column": 36 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "=>", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "prefix", - "start": 13953, - "end": 13959, + "start": 14478, + "end": 14480, "loc": { "start": { - "line": 381, - "column": 23 + "line": 398, + "column": 37 }, "end": { - "line": 381, - "column": 29 + "line": 398, + "column": 39 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -56775,22 +58568,22 @@ "postfix": false, "binop": null }, - "start": 13959, - "end": 13960, + "start": 14481, + "end": 14482, "loc": { "start": { - "line": 381, - "column": 29 + "line": 398, + "column": 40 }, "end": { - "line": 381, - "column": 30 + "line": 398, + "column": 41 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -56798,26 +58591,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "VYI-Module", - "start": 13960, - "end": 13972, + "value": "frameDataArray", + "start": 14496, + "end": 14510, "loc": { "start": { - "line": 381, - "column": 30 + "line": 399, + "column": 12 }, "end": { - "line": 381, - "column": 42 + "line": 399, + "column": 26 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -56825,51 +58617,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 13972, - "end": 13973, + "start": 14510, + "end": 14511, "loc": { "start": { - "line": 381, - "column": 42 + "line": 399, + "column": 26 }, "end": { - "line": 381, - "column": 43 + "line": 399, + "column": 27 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 13973, - "end": 13974, + "value": "push", + "start": 14511, + "end": 14515, "loc": { "start": { - "line": 381, - "column": 43 + "line": 399, + "column": 27 }, "end": { - "line": 381, - "column": 44 + "line": 399, + "column": 31 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -56878,24 +58671,23 @@ "postfix": false, "binop": null }, - "value": "error", - "start": 13974, - "end": 13979, + "start": 14515, + "end": 14516, "loc": { "start": { - "line": 381, - "column": 44 + "line": 399, + "column": 31 }, "end": { - "line": 381, - "column": 49 + "line": 399, + "column": 32 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -56904,24 +58696,25 @@ "postfix": false, "binop": null }, - "start": 13979, - "end": 13980, + "value": "pFrame", + "start": 14516, + "end": 14522, "loc": { "start": { - "line": 381, - "column": 49 + "line": 399, + "column": 32 }, "end": { - "line": 381, - "column": 50 + "line": 399, + "column": 38 } } }, { "type": { - "label": "string", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -56930,23 +58723,23 @@ "binop": null, "updateContext": null }, - "value": "Invalid type used!", - "start": 13980, - "end": 14000, + "start": 14522, + "end": 14523, "loc": { "start": { - "line": 381, - "column": 50 + "line": 399, + "column": 38 }, "end": { - "line": 381, - "column": 70 + "line": 399, + "column": 39 } } }, { "type": { - "label": ")", + "label": "export", + "keyword": "export", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -56954,50 +58747,51 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 14000, - "end": 14001, + "value": "export", + "start": 14523, + "end": 14529, "loc": { "start": { - "line": 381, - "column": 70 + "line": 399, + "column": 39 }, "end": { - "line": 381, - "column": 71 + "line": 399, + "column": 45 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 14001, - "end": 14002, + "start": 14529, + "end": 14530, "loc": { "start": { - "line": 381, - "column": 71 + "line": 399, + "column": 45 }, "end": { - "line": 381, - "column": 72 + "line": 399, + "column": 46 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -57007,22 +58801,22 @@ "postfix": false, "binop": null }, - "start": 14012, - "end": 14013, + "start": 14530, + "end": 14531, "loc": { "start": { - "line": 382, - "column": 8 + "line": 399, + "column": 46 }, "end": { - "line": 382, - "column": 9 + "line": 399, + "column": 47 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -57032,40 +58826,50 @@ "postfix": false, "binop": null }, - "start": 14019, - "end": 14020, + "start": 14531, + "end": 14532, "loc": { "start": { - "line": 383, - "column": 4 + "line": 399, + "column": 47 }, "end": { - "line": 383, - "column": 5 + "line": 399, + "column": 48 } } }, { - "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": 14026, - "end": 14156, + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 14532, + "end": 14533, "loc": { "start": { - "line": 384, - "column": 4 + "line": 399, + "column": 48 }, "end": { - "line": 387, - "column": 7 + "line": 399, + "column": 49 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -57073,25 +58877,24 @@ "postfix": false, "binop": null }, - "value": "getFrames", - "start": 14162, - "end": 14171, + "start": 14543, + "end": 14544, "loc": { "start": { - "line": 388, - "column": 4 + "line": 400, + "column": 8 }, "end": { - "line": 388, - "column": 13 + "line": 400, + "column": 9 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -57099,102 +58902,104 @@ "postfix": false, "binop": null }, - "start": 14171, - "end": 14172, + "start": 14544, + "end": 14545, "loc": { "start": { - "line": 388, - "column": 13 + "line": 400, + "column": 9 }, "end": { - "line": 388, - "column": 14 + "line": 400, + "column": 10 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 14172, - "end": 14173, + "start": 14545, + "end": 14546, "loc": { "start": { - "line": 388, - "column": 14 + "line": 400, + "column": 10 }, "end": { - "line": 388, - "column": 15 + "line": 400, + "column": 11 } } }, { "type": { - "label": "{", + "label": "return", + "keyword": "return", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 14174, - "end": 14175, + "value": "return", + "start": 14556, + "end": 14562, "loc": { "start": { - "line": 388, - "column": 16 + "line": 401, + "column": 8 }, "end": { - "line": 388, - "column": 17 + "line": 401, + "column": 14 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 14185, - "end": 14191, + "value": "frameDataArray", + "start": 14563, + "end": 14577, "loc": { "start": { - "line": 389, - "column": 8 + "line": 401, + "column": 15 }, "end": { - "line": 389, - "column": 14 + "line": 401, + "column": 29 } } }, { "type": { - "label": "[", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -57203,49 +59008,63 @@ "binop": null, "updateContext": null }, - "start": 14192, - "end": 14193, + "start": 14577, + "end": 14578, "loc": { "start": { - "line": 389, - "column": 15 + "line": 401, + "column": 29 }, "end": { - "line": 389, - "column": 16 + "line": 401, + "column": 30 } } }, { "type": { - "label": "...", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 14194, - "end": 14197, + "start": 14584, + "end": 14585, "loc": { "start": { - "line": 389, - "column": 17 + "line": 402, + "column": 4 }, "end": { - "line": 389, - "column": 20 + "line": 402, + "column": 5 + } + } + }, + { + "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": 14591, + "end": 14775, + "loc": { + "start": { + "line": 403, + "column": 4 + }, + "end": { + "line": 407, + "column": 7 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -57253,46 +59072,44 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 14197, - "end": 14201, + "value": "getState", + "start": 14781, + "end": 14789, "loc": { "start": { - "line": 389, - "column": 20 + "line": 408, + "column": 4 }, "end": { - "line": 389, - "column": 24 + "line": 408, + "column": 12 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 14201, - "end": 14202, + "start": 14789, + "end": 14790, "loc": { "start": { - "line": 389, - "column": 24 + "line": 408, + "column": 12 }, "end": { - "line": 389, - "column": 25 + "line": 408, + "column": 13 } } }, @@ -57308,23 +59125,23 @@ "postfix": false, "binop": null }, - "value": "frames", - "start": 14202, - "end": 14208, + "value": "pName", + "start": 14790, + "end": 14795, "loc": { "start": { - "line": 389, - "column": 25 + "line": 408, + "column": 13 }, "end": { - "line": 389, - "column": 31 + "line": 408, + "column": 18 } } }, { "type": { - "label": "]", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -57332,51 +59149,50 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 14209, - "end": 14210, + "start": 14795, + "end": 14796, "loc": { "start": { - "line": 389, - "column": 32 + "line": 408, + "column": 18 }, "end": { - "line": 389, - "column": 33 + "line": 408, + "column": 19 } } }, { "type": { - "label": ";", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 14210, - "end": 14211, + "start": 14797, + "end": 14798, "loc": { "start": { - "line": 389, - "column": 33 + "line": 408, + "column": 20 }, "end": { - "line": 389, - "column": 34 + "line": 408, + "column": 21 } } }, { "type": { - "label": "}", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -57384,60 +59200,73 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 14217, - "end": 14218, + "value": "if", + "start": 14808, + "end": 14810, "loc": { "start": { - "line": 390, - "column": 4 + "line": 409, + "column": 8 }, "end": { - "line": 390, - "column": 5 + "line": 409, + "column": 10 } } }, { - "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": 14224, - "end": 14380, + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14811, + "end": 14812, "loc": { "start": { - "line": 391, - "column": 4 + "line": 409, + "column": 11 }, "end": { - "line": 395, - "column": 7 + "line": 409, + "column": 12 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "typeof", + "keyword": "typeof", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "getFramesData", - "start": 14386, - "end": 14399, + "value": "typeof", + "start": 14812, + "end": 14818, "loc": { "start": { - "line": 396, - "column": 4 + "line": 409, + "column": 12 }, "end": { - "line": 396, - "column": 17 + "line": 409, + "column": 18 } } }, @@ -57453,24 +59282,24 @@ "postfix": false, "binop": null }, - "start": 14399, - "end": 14400, + "start": 14818, + "end": 14819, "loc": { "start": { - "line": 396, - "column": 17 + "line": 409, + "column": 18 }, "end": { - "line": 396, - "column": 18 + "line": 409, + "column": 19 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -57478,24 +59307,25 @@ "postfix": false, "binop": null }, - "start": 14400, - "end": 14401, + "value": "pName", + "start": 14819, + "end": 14824, "loc": { "start": { - "line": 396, - "column": 18 + "line": 409, + "column": 19 }, "end": { - "line": 396, - "column": 19 + "line": 409, + "column": 24 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -57503,50 +59333,49 @@ "postfix": false, "binop": null }, - "start": 14402, - "end": 14403, + "start": 14824, + "end": 14825, "loc": { "start": { - "line": 396, - "column": 20 + "line": 409, + "column": 24 }, "end": { - "line": 396, - "column": 21 + "line": 409, + "column": 25 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": "==/!=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "value": "const", - "start": 14413, - "end": 14418, + "value": "===", + "start": 14826, + "end": 14829, "loc": { "start": { - "line": 397, - "column": 8 + "line": 409, + "column": 26 }, "end": { - "line": 397, - "column": 13 + "line": 409, + "column": 29 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -57554,52 +59383,51 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "frameDataArray", - "start": 14419, - "end": 14433, + "value": "string", + "start": 14830, + "end": 14838, "loc": { "start": { - "line": 397, - "column": 14 + "line": 409, + "column": 30 }, "end": { - "line": 397, - "column": 28 + "line": 409, + "column": 38 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 14434, - "end": 14435, + "start": 14838, + "end": 14839, "loc": { "start": { - "line": 397, - "column": 29 + "line": 409, + "column": 38 }, "end": { - "line": 397, - "column": 30 + "line": 409, + "column": 39 } } }, { "type": { - "label": "[", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -57607,80 +59435,80 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 14436, - "end": 14437, + "start": 14840, + "end": 14841, "loc": { "start": { - "line": 397, - "column": 31 + "line": 409, + "column": 40 }, "end": { - "line": 397, - "column": 32 + "line": 409, + "column": 41 } } }, { "type": { - "label": "]", + "label": "for", + "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, - "isLoop": false, + "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 14437, - "end": 14438, + "value": "for", + "start": 14855, + "end": 14858, "loc": { "start": { - "line": 397, - "column": 32 + "line": 410, + "column": 12 }, "end": { - "line": 397, - "column": 33 + "line": 410, + "column": 15 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 14438, - "end": 14439, + "start": 14859, + "end": 14860, "loc": { "start": { - "line": 397, - "column": 33 + "line": 410, + "column": 16 }, "end": { - "line": 397, - "column": 34 + "line": 410, + "column": 17 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "let", + "keyword": "let", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -57689,77 +59517,79 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 14449, - "end": 14453, + "value": "let", + "start": 14860, + "end": 14863, "loc": { "start": { - "line": 398, - "column": 8 + "line": 410, + "column": 17 }, "end": { - "line": 398, - "column": 12 + "line": 410, + "column": 20 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 14453, - "end": 14454, + "value": "i", + "start": 14864, + "end": 14865, "loc": { "start": { - "line": 398, - "column": 12 + "line": 410, + "column": 21 }, "end": { - "line": 398, - "column": 13 + "line": 410, + "column": 22 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "frames", - "start": 14454, - "end": 14460, + "value": "=", + "start": 14866, + "end": 14867, "loc": { "start": { - "line": 398, - "column": 13 + "line": 410, + "column": 23 }, "end": { - "line": 398, - "column": 19 + "line": 410, + "column": 24 } } }, { "type": { - "label": ".", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -57768,49 +59598,50 @@ "binop": null, "updateContext": null }, - "start": 14460, - "end": 14461, + "value": "this", + "start": 14868, + "end": 14872, "loc": { "start": { - "line": 398, - "column": 19 + "line": 410, + "column": 25 }, "end": { - "line": 398, - "column": 20 + "line": 410, + "column": 29 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "forEach", - "start": 14461, - "end": 14468, + "start": 14872, + "end": 14873, "loc": { "start": { - "line": 398, - "column": 20 + "line": 410, + "column": 29 }, "end": { - "line": 398, - "column": 27 + "line": 410, + "column": 30 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -57819,41 +59650,43 @@ "postfix": false, "binop": null }, - "start": 14468, - "end": 14469, + "value": "states", + "start": 14873, + "end": 14879, "loc": { "start": { - "line": 398, - "column": 27 + "line": 410, + "column": 30 }, "end": { - "line": 398, - "column": 28 + "line": 410, + "column": 36 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 14469, - "end": 14470, + "start": 14879, + "end": 14880, "loc": { "start": { - "line": 398, - "column": 28 + "line": 410, + "column": 36 }, "end": { - "line": 398, - "column": 29 + "line": 410, + "column": 37 } } }, @@ -57869,50 +59702,52 @@ "postfix": false, "binop": null }, - "value": "pFrame", - "start": 14470, - "end": 14476, + "value": "length", + "start": 14880, + "end": 14886, "loc": { "start": { - "line": 398, - "column": 29 + "line": 410, + "column": 37 }, "end": { - "line": 398, - "column": 35 + "line": 410, + "column": 43 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": 9, + "updateContext": null }, - "start": 14476, - "end": 14477, + "value": "-", + "start": 14887, + "end": 14888, "loc": { "start": { - "line": 398, - "column": 35 + "line": 410, + "column": 44 }, "end": { - "line": 398, - "column": 36 + "line": 410, + "column": 45 } } }, { "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, + "label": "num", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -57921,41 +59756,43 @@ "binop": null, "updateContext": null }, - "start": 14478, - "end": 14480, + "value": 1, + "start": 14889, + "end": 14890, "loc": { "start": { - "line": 398, - "column": 37 + "line": 410, + "column": 46 }, "end": { - "line": 398, - "column": 39 + "line": 410, + "column": 47 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 14481, - "end": 14482, + "start": 14890, + "end": 14891, "loc": { "start": { - "line": 398, - "column": 40 + "line": 410, + "column": 47 }, "end": { - "line": 398, - "column": 41 + "line": 410, + "column": 48 } } }, @@ -57971,49 +59808,50 @@ "postfix": false, "binop": null }, - "value": "frameDataArray", - "start": 14496, - "end": 14510, + "value": "i", + "start": 14892, + "end": 14893, "loc": { "start": { - "line": 399, - "column": 12 + "line": 410, + "column": 49 }, "end": { - "line": 399, - "column": 26 + "line": 410, + "column": 50 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 7, "updateContext": null }, - "start": 14510, - "end": 14511, + "value": ">=", + "start": 14894, + "end": 14896, "loc": { "start": { - "line": 399, - "column": 26 + "line": 410, + "column": 51 }, "end": { - "line": 399, - "column": 27 + "line": 410, + "column": 53 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -58021,44 +59859,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "push", - "start": 14511, - "end": 14515, + "value": 0, + "start": 14897, + "end": 14898, "loc": { "start": { - "line": 399, - "column": 27 + "line": 410, + "column": 54 }, "end": { - "line": 399, - "column": 31 + "line": 410, + "column": 55 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 14515, - "end": 14516, + "start": 14898, + "end": 14899, "loc": { "start": { - "line": 399, - "column": 31 + "line": 410, + "column": 55 }, "end": { - "line": 399, - "column": 32 + "line": 410, + "column": 56 } } }, @@ -58074,50 +59914,49 @@ "postfix": false, "binop": null }, - "value": "pFrame", - "start": 14516, - "end": 14522, + "value": "i", + "start": 14900, + "end": 14901, "loc": { "start": { - "line": 399, - "column": 32 + "line": 410, + "column": 57 }, "end": { - "line": 399, - "column": 38 + "line": 410, + "column": 58 } } }, { "type": { - "label": ".", + "label": "++/--", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null + "prefix": true, + "postfix": true, + "binop": null }, - "start": 14522, - "end": 14523, + "value": "--", + "start": 14901, + "end": 14903, "loc": { "start": { - "line": 399, - "column": 38 + "line": 410, + "column": 58 }, "end": { - "line": 399, - "column": 39 + "line": 410, + "column": 60 } } }, { "type": { - "label": "export", - "keyword": "export", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -58125,26 +59964,24 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "export", - "start": 14523, - "end": 14529, + "start": 14903, + "end": 14904, "loc": { "start": { - "line": 399, - "column": 39 + "line": 410, + "column": 60 }, "end": { - "line": 399, - "column": 45 + "line": 410, + "column": 61 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -58154,22 +59991,23 @@ "postfix": false, "binop": null }, - "start": 14529, - "end": 14530, + "start": 14905, + "end": 14906, "loc": { "start": { - "line": 399, - "column": 45 + "line": 410, + "column": 62 }, "end": { - "line": 399, - "column": 46 + "line": 410, + "column": 63 } } }, { "type": { - "label": ")", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -58177,26 +60015,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 14530, - "end": 14531, + "value": "const", + "start": 14924, + "end": 14929, "loc": { "start": { - "line": 399, - "column": 46 + "line": 411, + "column": 16 }, "end": { - "line": 399, - "column": 47 + "line": 411, + "column": 21 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -58204,73 +60044,78 @@ "postfix": false, "binop": null }, - "start": 14531, - "end": 14532, + "value": "icon", + "start": 14930, + "end": 14934, "loc": { "start": { - "line": 399, - "column": 47 + "line": 411, + "column": 22 }, "end": { - "line": 399, - "column": 48 + "line": 411, + "column": 26 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 14532, - "end": 14533, + "value": "=", + "start": 14935, + "end": 14936, "loc": { "start": { - "line": 399, - "column": 48 + "line": 411, + "column": 27 }, "end": { - "line": 399, - "column": 49 + "line": 411, + "column": 28 } } }, { "type": { - "label": "}", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 14543, - "end": 14544, + "value": "this", + "start": 14937, + "end": 14941, "loc": { "start": { - "line": 400, - "column": 8 + "line": 411, + "column": 29 }, "end": { - "line": 400, - "column": 9 + "line": 411, + "column": 33 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -58278,53 +60123,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 14544, - "end": 14545, + "start": 14941, + "end": 14942, "loc": { "start": { - "line": 400, - "column": 9 + "line": 411, + "column": 33 }, "end": { - "line": 400, - "column": 10 + "line": 411, + "column": 34 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 14545, - "end": 14546, + "value": "states", + "start": 14942, + "end": 14948, "loc": { "start": { - "line": 400, - "column": 10 + "line": 411, + "column": 34 }, "end": { - "line": 400, - "column": 11 + "line": 411, + "column": 40 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "[", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -58333,17 +60178,16 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 14556, - "end": 14562, + "start": 14948, + "end": 14949, "loc": { "start": { - "line": 401, - "column": 8 + "line": 411, + "column": 40 }, "end": { - "line": 401, - "column": 14 + "line": 411, + "column": 41 } } }, @@ -58359,24 +60203,24 @@ "postfix": false, "binop": null }, - "value": "frameDataArray", - "start": 14563, - "end": 14577, + "value": "i", + "start": 14949, + "end": 14950, "loc": { "start": { - "line": 401, - "column": 15 + "line": 411, + "column": 41 }, "end": { - "line": 401, - "column": 29 + "line": 411, + "column": 42 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "]", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -58386,83 +60230,86 @@ "binop": null, "updateContext": null }, - "start": 14577, - "end": 14578, + "start": 14950, + "end": 14951, "loc": { "start": { - "line": 401, - "column": 29 + "line": 411, + "column": 42 }, "end": { - "line": 401, - "column": 30 + "line": 411, + "column": 43 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 14584, - "end": 14585, + "start": 14951, + "end": 14952, "loc": { "start": { - "line": 402, - "column": 4 + "line": 411, + "column": 43 }, "end": { - "line": 402, - "column": 5 + "line": 411, + "column": 44 } } }, { - "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": 14591, - "end": 14775, + "type": "CommentLine", + "value": " If the icon has the same name, return that icon", + "start": 14970, + "end": 15020, "loc": { "start": { - "line": 403, - "column": 4 + "line": 412, + "column": 16 }, "end": { - "line": 407, - "column": 7 + "line": 412, + "column": 66 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "getState", - "start": 14781, - "end": 14789, + "value": "if", + "start": 15038, + "end": 15040, "loc": { "start": { - "line": 408, - "column": 4 + "line": 413, + "column": 16 }, "end": { - "line": 408, - "column": 12 + "line": 413, + "column": 18 } } }, @@ -58478,16 +60325,16 @@ "postfix": false, "binop": null }, - "start": 14789, - "end": 14790, + "start": 15041, + "end": 15042, "loc": { "start": { - "line": 408, - "column": 12 + "line": 413, + "column": 19 }, "end": { - "line": 408, - "column": 13 + "line": 413, + "column": 20 } } }, @@ -58503,23 +60350,23 @@ "postfix": false, "binop": null }, - "value": "pName", - "start": 14790, - "end": 14795, + "value": "icon", + "start": 15042, + "end": 15046, "loc": { "start": { - "line": 408, - "column": 13 + "line": 413, + "column": 20 }, "end": { - "line": 408, - "column": 18 + "line": 413, + "column": 24 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -58527,24 +60374,51 @@ "isAssign": false, "prefix": false, "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15046, + "end": 15047, + "loc": { + "start": { + "line": 413, + "column": 24 + }, + "end": { + "line": 413, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, "binop": null }, - "start": 14795, - "end": 14796, + "value": "getName", + "start": 15047, + "end": 15054, "loc": { "start": { - "line": 408, - "column": 18 + "line": 413, + "column": 25 }, "end": { - "line": 408, - "column": 19 + "line": 413, + "column": 32 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -58554,51 +60428,75 @@ "postfix": false, "binop": null }, - "start": 14797, - "end": 14798, + "start": 15054, + "end": 15055, "loc": { "start": { - "line": 408, - "column": 20 + "line": 413, + "column": 32 }, "end": { - "line": 408, - "column": 21 + "line": 413, + "column": 33 } } }, { "type": { - "label": "for", - "keyword": "for", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, - "isLoop": true, + "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "for", - "start": 14808, - "end": 14811, + "start": 15055, + "end": 15056, "loc": { "start": { - "line": 409, - "column": 8 + "line": 413, + "column": 33 }, "end": { - "line": 409, - "column": 11 + "line": 413, + "column": 34 } } }, { "type": { - "label": "(", + "label": "==/!=", "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 15057, + "end": 15060, + "loc": { + "start": { + "line": 413, + "column": 35 + }, + "end": { + "line": 413, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -58607,51 +60505,49 @@ "postfix": false, "binop": null }, - "start": 14812, - "end": 14813, + "value": "pName", + "start": 15061, + "end": 15066, "loc": { "start": { - "line": 409, - "column": 12 + "line": 413, + "column": 39 }, "end": { - "line": 409, - "column": 13 + "line": 413, + "column": 44 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null + "postfix": false, + "binop": null }, - "value": "const", - "start": 14813, - "end": 14818, + "start": 15066, + "end": 15067, "loc": { "start": { - "line": 409, - "column": 13 + "line": 413, + "column": 44 }, "end": { - "line": 409, - "column": 18 + "line": 413, + "column": 45 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -58660,50 +60556,50 @@ "postfix": false, "binop": null }, - "value": "icon", - "start": 14819, - "end": 14823, + "start": 15068, + "end": 15069, "loc": { "start": { - "line": 409, - "column": 19 + "line": 413, + "column": 46 }, "end": { - "line": 409, - "column": 23 + "line": 413, + "column": 47 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "of", - "start": 14824, - "end": 14826, + "value": "return", + "start": 15091, + "end": 15097, "loc": { "start": { - "line": 409, - "column": 24 + "line": 414, + "column": 20 }, "end": { - "line": 409, + "line": 414, "column": 26 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -58711,27 +60607,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 14827, - "end": 14831, + "value": "icon", + "start": 15098, + "end": 15102, "loc": { "start": { - "line": 409, + "line": 414, "column": 27 }, "end": { - "line": 409, + "line": 414, "column": 31 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -58741,24 +60636,24 @@ "binop": null, "updateContext": null }, - "start": 14831, - "end": 14832, + "start": 15102, + "end": 15103, "loc": { "start": { - "line": 409, + "line": 414, "column": 31 }, "end": { - "line": 409, + "line": 414, "column": 32 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -58766,23 +60661,22 @@ "postfix": false, "binop": null }, - "value": "states", - "start": 14832, - "end": 14838, + "start": 15121, + "end": 15122, "loc": { "start": { - "line": 409, - "column": 32 + "line": 415, + "column": 16 }, "end": { - "line": 409, - "column": 38 + "line": 415, + "column": 17 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -58792,24 +60686,24 @@ "postfix": false, "binop": null }, - "start": 14838, - "end": 14839, + "start": 15136, + "end": 15137, "loc": { "start": { - "line": 409, - "column": 38 + "line": 416, + "column": 12 }, "end": { - "line": 409, - "column": 39 + "line": 416, + "column": 13 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -58817,40 +60711,24 @@ "postfix": false, "binop": null }, - "start": 14840, - "end": 14841, - "loc": { - "start": { - "line": 409, - "column": 40 - }, - "end": { - "line": 409, - "column": 41 - } - } - }, - { - "type": "CommentLine", - "value": " If the state has the same name, return that state", - "start": 14855, - "end": 14907, + "start": 15147, + "end": 15148, "loc": { "start": { - "line": 410, - "column": 12 + "line": 417, + "column": 8 }, "end": { - "line": 410, - "column": 64 + "line": 417, + "column": 9 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, + "label": "else", + "keyword": "else", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -58860,23 +60738,23 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 14921, - "end": 14923, + "value": "else", + "start": 15149, + "end": 15153, "loc": { "start": { - "line": 411, - "column": 12 + "line": 417, + "column": 10 }, "end": { - "line": 411, + "line": 417, "column": 14 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -58886,15 +60764,15 @@ "postfix": false, "binop": null }, - "start": 14924, - "end": 14925, + "start": 15154, + "end": 15155, "loc": { "start": { - "line": 411, + "line": 417, "column": 15 }, "end": { - "line": 411, + "line": 417, "column": 16 } } @@ -58911,17 +60789,17 @@ "postfix": false, "binop": null }, - "value": "icon", - "start": 14925, - "end": 14929, + "value": "VYI", + "start": 15169, + "end": 15172, "loc": { "start": { - "line": 411, - "column": 16 + "line": 418, + "column": 12 }, "end": { - "line": 411, - "column": 20 + "line": 418, + "column": 15 } } }, @@ -58938,16 +60816,16 @@ "binop": null, "updateContext": null }, - "start": 14929, - "end": 14930, + "start": 15172, + "end": 15173, "loc": { "start": { - "line": 411, - "column": 20 + "line": 418, + "column": 15 }, "end": { - "line": 411, - "column": 21 + "line": 418, + "column": 16 } } }, @@ -58963,50 +60841,51 @@ "postfix": false, "binop": null }, - "value": "getName", - "start": 14930, - "end": 14937, + "value": "logger", + "start": 15173, + "end": 15179, "loc": { "start": { - "line": 411, - "column": 21 + "line": 418, + "column": 16 }, "end": { - "line": 411, - "column": 28 + "line": 418, + "column": 22 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 14937, - "end": 14938, + "start": 15179, + "end": 15180, "loc": { "start": { - "line": 411, - "column": 28 + "line": 418, + "column": 22 }, "end": { - "line": 411, - "column": 29 + "line": 418, + "column": 23 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -59014,49 +60893,48 @@ "postfix": false, "binop": null }, - "start": 14938, - "end": 14939, + "value": "prefix", + "start": 15180, + "end": 15186, "loc": { "start": { - "line": 411, - "column": 29 + "line": 418, + "column": 23 }, "end": { - "line": 411, - "column": 30 + "line": 418, + "column": 29 } } }, { "type": { - "label": "==/!=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, - "updateContext": null + "binop": null }, - "value": "===", - "start": 14940, - "end": 14943, + "start": 15186, + "end": 15187, "loc": { "start": { - "line": 411, - "column": 31 + "line": 418, + "column": 29 }, "end": { - "line": 411, - "column": 34 + "line": 418, + "column": 30 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -59064,19 +60942,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "pName", - "start": 14944, - "end": 14949, + "value": "VYI-module", + "start": 15187, + "end": 15199, "loc": { "start": { - "line": 411, - "column": 35 + "line": 418, + "column": 30 }, "end": { - "line": 411, - "column": 40 + "line": 418, + "column": 42 } } }, @@ -59092,76 +60971,75 @@ "postfix": false, "binop": null }, - "start": 14949, - "end": 14950, + "start": 15199, + "end": 15200, "loc": { "start": { - "line": 411, - "column": 40 + "line": 418, + "column": 42 }, "end": { - "line": 411, - "column": 41 + "line": 418, + "column": 43 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 14951, - "end": 14952, + "start": 15200, + "end": 15201, "loc": { "start": { - "line": 411, - "column": 42 + "line": 418, + "column": 43 }, "end": { - "line": 411, - "column": 43 + "line": 418, + "column": 44 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 14970, - "end": 14976, + "value": "error", + "start": 15201, + "end": 15206, "loc": { "start": { - "line": 412, - "column": 16 + "line": 418, + "column": 44 }, "end": { - "line": 412, - "column": 22 + "line": 418, + "column": 49 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -59170,25 +61048,24 @@ "postfix": false, "binop": null }, - "value": "icon", - "start": 14977, - "end": 14981, + "start": 15206, + "end": 15207, "loc": { "start": { - "line": 412, - "column": 23 + "line": 418, + "column": 49 }, "end": { - "line": 412, - "column": 27 + "line": 418, + "column": 50 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "string", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -59197,22 +61074,23 @@ "binop": null, "updateContext": null }, - "start": 14981, - "end": 14982, + "value": "Invalid name type used!", + "start": 15207, + "end": 15232, "loc": { "start": { - "line": 412, - "column": 27 + "line": 418, + "column": 50 }, "end": { - "line": 412, - "column": 28 + "line": 418, + "column": 75 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -59222,67 +61100,67 @@ "postfix": false, "binop": null }, - "start": 14996, - "end": 14997, + "start": 15232, + "end": 15233, "loc": { "start": { - "line": 413, - "column": 12 + "line": 418, + "column": 75 }, "end": { - "line": 413, - "column": 13 + "line": 418, + "column": 76 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 15007, - "end": 15008, + "start": 15233, + "end": 15234, "loc": { "start": { - "line": 414, - "column": 8 + "line": 418, + "column": 76 }, "end": { - "line": 414, - "column": 9 + "line": 418, + "column": 77 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 15008, - "end": 15009, + "start": 15244, + "end": 15245, "loc": { "start": { - "line": 414, - "column": 9 + "line": 419, + "column": 8 }, "end": { - "line": 414, - "column": 10 + "line": 419, + "column": 9 } } }, @@ -59298,15 +61176,15 @@ "postfix": false, "binop": null }, - "start": 15015, - "end": 15016, + "start": 15251, + "end": 15252, "loc": { "start": { - "line": 415, + "line": 420, "column": 4 }, "end": { - "line": 415, + "line": 420, "column": 5 } } @@ -59314,15 +61192,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": 15022, - "end": 15152, + "start": 15258, + "end": 15388, "loc": { "start": { - "line": 416, + "line": 421, "column": 4 }, "end": { - "line": 419, + "line": 424, "column": 7 } } @@ -59340,15 +61218,15 @@ "binop": null }, "value": "getStates", - "start": 15158, - "end": 15167, + "start": 15394, + "end": 15403, "loc": { "start": { - "line": 420, + "line": 425, "column": 4 }, "end": { - "line": 420, + "line": 425, "column": 13 } } @@ -59365,15 +61243,15 @@ "postfix": false, "binop": null }, - "start": 15167, - "end": 15168, + "start": 15403, + "end": 15404, "loc": { "start": { - "line": 420, + "line": 425, "column": 13 }, "end": { - "line": 420, + "line": 425, "column": 14 } } @@ -59390,15 +61268,15 @@ "postfix": false, "binop": null }, - "start": 15168, - "end": 15169, + "start": 15404, + "end": 15405, "loc": { "start": { - "line": 420, + "line": 425, "column": 14 }, "end": { - "line": 420, + "line": 425, "column": 15 } } @@ -59415,15 +61293,15 @@ "postfix": false, "binop": null }, - "start": 15170, - "end": 15171, + "start": 15406, + "end": 15407, "loc": { "start": { - "line": 420, + "line": 425, "column": 16 }, "end": { - "line": 420, + "line": 425, "column": 17 } } @@ -59443,15 +61321,15 @@ "updateContext": null }, "value": "return", - "start": 15181, - "end": 15187, + "start": 15417, + "end": 15423, "loc": { "start": { - "line": 421, + "line": 426, "column": 8 }, "end": { - "line": 421, + "line": 426, "column": 14 } } @@ -59469,15 +61347,15 @@ "binop": null, "updateContext": null }, - "start": 15188, - "end": 15189, + "start": 15424, + "end": 15425, "loc": { "start": { - "line": 421, + "line": 426, "column": 15 }, "end": { - "line": 421, + "line": 426, "column": 16 } } @@ -59495,15 +61373,15 @@ "binop": null, "updateContext": null }, - "start": 15190, - "end": 15193, + "start": 15426, + "end": 15429, "loc": { "start": { - "line": 421, + "line": 426, "column": 17 }, "end": { - "line": 421, + "line": 426, "column": 20 } } @@ -59523,15 +61401,15 @@ "updateContext": null }, "value": "this", - "start": 15193, - "end": 15197, + "start": 15429, + "end": 15433, "loc": { "start": { - "line": 421, + "line": 426, "column": 20 }, "end": { - "line": 421, + "line": 426, "column": 24 } } @@ -59549,15 +61427,15 @@ "binop": null, "updateContext": null }, - "start": 15197, - "end": 15198, + "start": 15433, + "end": 15434, "loc": { "start": { - "line": 421, + "line": 426, "column": 24 }, "end": { - "line": 421, + "line": 426, "column": 25 } } @@ -59575,15 +61453,15 @@ "binop": null }, "value": "states", - "start": 15198, - "end": 15204, + "start": 15434, + "end": 15440, "loc": { "start": { - "line": 421, + "line": 426, "column": 25 }, "end": { - "line": 421, + "line": 426, "column": 31 } } @@ -59601,15 +61479,15 @@ "binop": null, "updateContext": null }, - "start": 15205, - "end": 15206, + "start": 15441, + "end": 15442, "loc": { "start": { - "line": 421, + "line": 426, "column": 32 }, "end": { - "line": 421, + "line": 426, "column": 33 } } @@ -59627,15 +61505,15 @@ "binop": null, "updateContext": null }, - "start": 15206, - "end": 15207, + "start": 15442, + "end": 15443, "loc": { "start": { - "line": 421, + "line": 426, "column": 33 }, "end": { - "line": 421, + "line": 426, "column": 34 } } @@ -59652,15 +61530,15 @@ "postfix": false, "binop": null }, - "start": 15213, - "end": 15214, + "start": 15449, + "end": 15450, "loc": { "start": { - "line": 422, + "line": 427, "column": 4 }, "end": { - "line": 422, + "line": 427, "column": 5 } } @@ -59668,15 +61546,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": 15220, - "end": 15376, + "start": 15456, + "end": 15612, "loc": { "start": { - "line": 423, + "line": 428, "column": 4 }, "end": { - "line": 427, + "line": 432, "column": 7 } } @@ -59694,15 +61572,15 @@ "binop": null }, "value": "getStatesData", - "start": 15382, - "end": 15395, + "start": 15618, + "end": 15631, "loc": { "start": { - "line": 428, + "line": 433, "column": 4 }, "end": { - "line": 428, + "line": 433, "column": 17 } } @@ -59719,15 +61597,15 @@ "postfix": false, "binop": null }, - "start": 15395, - "end": 15396, + "start": 15631, + "end": 15632, "loc": { "start": { - "line": 428, + "line": 433, "column": 17 }, "end": { - "line": 428, + "line": 433, "column": 18 } } @@ -59744,15 +61622,15 @@ "postfix": false, "binop": null }, - "start": 15396, - "end": 15397, + "start": 15632, + "end": 15633, "loc": { "start": { - "line": 428, + "line": 433, "column": 18 }, "end": { - "line": 428, + "line": 433, "column": 19 } } @@ -59769,15 +61647,15 @@ "postfix": false, "binop": null }, - "start": 15398, - "end": 15399, + "start": 15634, + "end": 15635, "loc": { "start": { - "line": 428, + "line": 433, "column": 20 }, "end": { - "line": 428, + "line": 433, "column": 21 } } @@ -59797,15 +61675,15 @@ "updateContext": null }, "value": "const", - "start": 15409, - "end": 15414, + "start": 15645, + "end": 15650, "loc": { "start": { - "line": 429, + "line": 434, "column": 8 }, "end": { - "line": 429, + "line": 434, "column": 13 } } @@ -59823,15 +61701,15 @@ "binop": null }, "value": "stateDataArray", - "start": 15415, - "end": 15429, + "start": 15651, + "end": 15665, "loc": { "start": { - "line": 429, + "line": 434, "column": 14 }, "end": { - "line": 429, + "line": 434, "column": 28 } } @@ -59850,15 +61728,15 @@ "updateContext": null }, "value": "=", - "start": 15430, - "end": 15431, + "start": 15666, + "end": 15667, "loc": { "start": { - "line": 429, + "line": 434, "column": 29 }, "end": { - "line": 429, + "line": 434, "column": 30 } } @@ -59876,15 +61754,15 @@ "binop": null, "updateContext": null }, - "start": 15432, - "end": 15433, + "start": 15668, + "end": 15669, "loc": { "start": { - "line": 429, + "line": 434, "column": 31 }, "end": { - "line": 429, + "line": 434, "column": 32 } } @@ -59902,15 +61780,15 @@ "binop": null, "updateContext": null }, - "start": 15433, - "end": 15434, + "start": 15669, + "end": 15670, "loc": { "start": { - "line": 429, + "line": 434, "column": 32 }, "end": { - "line": 429, + "line": 434, "column": 33 } } @@ -59928,15 +61806,15 @@ "binop": null, "updateContext": null }, - "start": 15434, - "end": 15435, + "start": 15670, + "end": 15671, "loc": { "start": { - "line": 429, + "line": 434, "column": 33 }, "end": { - "line": 429, + "line": 434, "column": 34 } } @@ -59944,15 +61822,15 @@ { "type": "CommentLine", "value": " Loop state array to export relevant information.", - "start": 15445, - "end": 15496, + "start": 15681, + "end": 15732, "loc": { "start": { - "line": 430, + "line": 435, "column": 8 }, "end": { - "line": 430, + "line": 435, "column": 59 } } @@ -59972,15 +61850,15 @@ "updateContext": null }, "value": "this", - "start": 15506, - "end": 15510, + "start": 15742, + "end": 15746, "loc": { "start": { - "line": 431, + "line": 436, "column": 8 }, "end": { - "line": 431, + "line": 436, "column": 12 } } @@ -59998,15 +61876,15 @@ "binop": null, "updateContext": null }, - "start": 15510, - "end": 15511, + "start": 15746, + "end": 15747, "loc": { "start": { - "line": 431, + "line": 436, "column": 12 }, "end": { - "line": 431, + "line": 436, "column": 13 } } @@ -60024,15 +61902,15 @@ "binop": null }, "value": "states", - "start": 15511, - "end": 15517, + "start": 15747, + "end": 15753, "loc": { "start": { - "line": 431, + "line": 436, "column": 13 }, "end": { - "line": 431, + "line": 436, "column": 19 } } @@ -60050,15 +61928,15 @@ "binop": null, "updateContext": null }, - "start": 15517, - "end": 15518, + "start": 15753, + "end": 15754, "loc": { "start": { - "line": 431, + "line": 436, "column": 19 }, "end": { - "line": 431, + "line": 436, "column": 20 } } @@ -60076,15 +61954,15 @@ "binop": null }, "value": "forEach", - "start": 15518, - "end": 15525, + "start": 15754, + "end": 15761, "loc": { "start": { - "line": 431, + "line": 436, "column": 20 }, "end": { - "line": 431, + "line": 436, "column": 27 } } @@ -60101,15 +61979,15 @@ "postfix": false, "binop": null }, - "start": 15525, - "end": 15526, + "start": 15761, + "end": 15762, "loc": { "start": { - "line": 431, + "line": 436, "column": 27 }, "end": { - "line": 431, + "line": 436, "column": 28 } } @@ -60126,15 +62004,15 @@ "postfix": false, "binop": null }, - "start": 15526, - "end": 15527, + "start": 15762, + "end": 15763, "loc": { "start": { - "line": 431, + "line": 436, "column": 28 }, "end": { - "line": 431, + "line": 436, "column": 29 } } @@ -60152,15 +62030,15 @@ "binop": null }, "value": "pState", - "start": 15527, - "end": 15533, + "start": 15763, + "end": 15769, "loc": { "start": { - "line": 431, + "line": 436, "column": 29 }, "end": { - "line": 431, + "line": 436, "column": 35 } } @@ -60177,15 +62055,15 @@ "postfix": false, "binop": null }, - "start": 15533, - "end": 15534, + "start": 15769, + "end": 15770, "loc": { "start": { - "line": 431, + "line": 436, "column": 35 }, "end": { - "line": 431, + "line": 436, "column": 36 } } @@ -60203,15 +62081,15 @@ "binop": null, "updateContext": null }, - "start": 15535, - "end": 15537, + "start": 15771, + "end": 15773, "loc": { "start": { - "line": 431, + "line": 436, "column": 37 }, "end": { - "line": 431, + "line": 436, "column": 39 } } @@ -60228,15 +62106,15 @@ "postfix": false, "binop": null }, - "start": 15538, - "end": 15539, + "start": 15774, + "end": 15775, "loc": { "start": { - "line": 431, + "line": 436, "column": 40 }, "end": { - "line": 431, + "line": 436, "column": 41 } } @@ -60254,15 +62132,15 @@ "binop": null }, "value": "stateDataArray", - "start": 15553, - "end": 15567, + "start": 15789, + "end": 15803, "loc": { "start": { - "line": 432, + "line": 437, "column": 12 }, "end": { - "line": 432, + "line": 437, "column": 26 } } @@ -60280,15 +62158,15 @@ "binop": null, "updateContext": null }, - "start": 15567, - "end": 15568, + "start": 15803, + "end": 15804, "loc": { "start": { - "line": 432, + "line": 437, "column": 26 }, "end": { - "line": 432, + "line": 437, "column": 27 } } @@ -60306,15 +62184,15 @@ "binop": null }, "value": "push", - "start": 15568, - "end": 15572, + "start": 15804, + "end": 15808, "loc": { "start": { - "line": 432, + "line": 437, "column": 27 }, "end": { - "line": 432, + "line": 437, "column": 31 } } @@ -60331,15 +62209,15 @@ "postfix": false, "binop": null }, - "start": 15572, - "end": 15573, + "start": 15808, + "end": 15809, "loc": { "start": { - "line": 432, + "line": 437, "column": 31 }, "end": { - "line": 432, + "line": 437, "column": 32 } } @@ -60357,15 +62235,15 @@ "binop": null }, "value": "pState", - "start": 15573, - "end": 15579, + "start": 15809, + "end": 15815, "loc": { "start": { - "line": 432, + "line": 437, "column": 32 }, "end": { - "line": 432, + "line": 437, "column": 38 } } @@ -60383,15 +62261,15 @@ "binop": null, "updateContext": null }, - "start": 15579, - "end": 15580, + "start": 15815, + "end": 15816, "loc": { "start": { - "line": 432, + "line": 437, "column": 38 }, "end": { - "line": 432, + "line": 437, "column": 39 } } @@ -60409,15 +62287,15 @@ "binop": null }, "value": "exportAsState", - "start": 15580, - "end": 15593, + "start": 15816, + "end": 15829, "loc": { "start": { - "line": 432, + "line": 437, "column": 39 }, "end": { - "line": 432, + "line": 437, "column": 52 } } @@ -60434,15 +62312,15 @@ "postfix": false, "binop": null }, - "start": 15593, - "end": 15594, + "start": 15829, + "end": 15830, "loc": { "start": { - "line": 432, + "line": 437, "column": 52 }, "end": { - "line": 432, + "line": 437, "column": 53 } } @@ -60459,15 +62337,15 @@ "postfix": false, "binop": null }, - "start": 15594, - "end": 15595, + "start": 15830, + "end": 15831, "loc": { "start": { - "line": 432, + "line": 437, "column": 53 }, "end": { - "line": 432, + "line": 437, "column": 54 } } @@ -60484,15 +62362,15 @@ "postfix": false, "binop": null }, - "start": 15595, - "end": 15596, + "start": 15831, + "end": 15832, "loc": { "start": { - "line": 432, + "line": 437, "column": 54 }, "end": { - "line": 432, + "line": 437, "column": 55 } } @@ -60510,15 +62388,15 @@ "binop": null, "updateContext": null }, - "start": 15596, - "end": 15597, + "start": 15832, + "end": 15833, "loc": { "start": { - "line": 432, + "line": 437, "column": 55 }, "end": { - "line": 432, + "line": 437, "column": 56 } } @@ -60535,15 +62413,15 @@ "postfix": false, "binop": null }, - "start": 15607, - "end": 15608, + "start": 15843, + "end": 15844, "loc": { "start": { - "line": 433, + "line": 438, "column": 8 }, "end": { - "line": 433, + "line": 438, "column": 9 } } @@ -60560,15 +62438,15 @@ "postfix": false, "binop": null }, - "start": 15608, - "end": 15609, + "start": 15844, + "end": 15845, "loc": { "start": { - "line": 433, + "line": 438, "column": 9 }, "end": { - "line": 433, + "line": 438, "column": 10 } } @@ -60586,15 +62464,15 @@ "binop": null, "updateContext": null }, - "start": 15609, - "end": 15610, + "start": 15845, + "end": 15846, "loc": { "start": { - "line": 433, + "line": 438, "column": 10 }, "end": { - "line": 433, + "line": 438, "column": 11 } } @@ -60614,15 +62492,15 @@ "updateContext": null }, "value": "return", - "start": 15620, - "end": 15626, + "start": 15856, + "end": 15862, "loc": { "start": { - "line": 434, + "line": 439, "column": 8 }, "end": { - "line": 434, + "line": 439, "column": 14 } } @@ -60640,15 +62518,15 @@ "binop": null }, "value": "stateDataArray", - "start": 15627, - "end": 15641, + "start": 15863, + "end": 15877, "loc": { "start": { - "line": 434, + "line": 439, "column": 15 }, "end": { - "line": 434, + "line": 439, "column": 29 } } @@ -60666,15 +62544,15 @@ "binop": null, "updateContext": null }, - "start": 15641, - "end": 15642, + "start": 15877, + "end": 15878, "loc": { "start": { - "line": 434, + "line": 439, "column": 29 }, "end": { - "line": 434, + "line": 439, "column": 30 } } @@ -60691,15 +62569,15 @@ "postfix": false, "binop": null }, - "start": 15656, - "end": 15657, + "start": 15892, + "end": 15893, "loc": { "start": { - "line": 435, + "line": 440, "column": 4 }, "end": { - "line": 435, + "line": 440, "column": 5 } } @@ -60707,15 +62585,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": 15663, - "end": 15851, + "start": 15899, + "end": 16087, "loc": { "start": { - "line": 436, + "line": 441, "column": 4 }, "end": { - "line": 440, + "line": 445, "column": 7 } } @@ -60733,15 +62611,15 @@ "binop": null }, "value": "exportAsState", - "start": 15857, - "end": 15870, + "start": 16093, + "end": 16106, "loc": { "start": { - "line": 441, + "line": 446, "column": 4 }, "end": { - "line": 441, + "line": 446, "column": 17 } } @@ -60758,15 +62636,15 @@ "postfix": false, "binop": null }, - "start": 15870, - "end": 15871, + "start": 16106, + "end": 16107, "loc": { "start": { - "line": 441, + "line": 446, "column": 17 }, "end": { - "line": 441, + "line": 446, "column": 18 } } @@ -60783,15 +62661,15 @@ "postfix": false, "binop": null }, - "start": 15871, - "end": 15872, + "start": 16107, + "end": 16108, "loc": { "start": { - "line": 441, + "line": 446, "column": 18 }, "end": { - "line": 441, + "line": 446, "column": 19 } } @@ -60808,15 +62686,15 @@ "postfix": false, "binop": null }, - "start": 15873, - "end": 15874, + "start": 16109, + "end": 16110, "loc": { "start": { - "line": 441, + "line": 446, "column": 20 }, "end": { - "line": 441, + "line": 446, "column": 21 } } @@ -60836,15 +62714,15 @@ "updateContext": null }, "value": "const", - "start": 15884, - "end": 15889, + "start": 16120, + "end": 16125, "loc": { "start": { - "line": 442, + "line": 447, "column": 8 }, "end": { - "line": 442, + "line": 447, "column": 13 } } @@ -60862,15 +62740,15 @@ "binop": null }, "value": "stateData", - "start": 15890, - "end": 15899, + "start": 16126, + "end": 16135, "loc": { "start": { - "line": 442, + "line": 447, "column": 14 }, "end": { - "line": 442, + "line": 447, "column": 23 } } @@ -60889,15 +62767,15 @@ "updateContext": null }, "value": "=", - "start": 15900, - "end": 15901, + "start": 16136, + "end": 16137, "loc": { "start": { - "line": 442, + "line": 447, "column": 24 }, "end": { - "line": 442, + "line": 447, "column": 25 } } @@ -60915,15 +62793,15 @@ "binop": null, "updateContext": null }, - "start": 15902, - "end": 15903, + "start": 16138, + "end": 16139, "loc": { "start": { - "line": 442, + "line": 447, "column": 26 }, "end": { - "line": 442, + "line": 447, "column": 27 } } @@ -60941,15 +62819,15 @@ "binop": null, "updateContext": null }, - "start": 15903, - "end": 15904, + "start": 16139, + "end": 16140, "loc": { "start": { - "line": 442, + "line": 447, "column": 27 }, "end": { - "line": 442, + "line": 447, "column": 28 } } @@ -60967,15 +62845,15 @@ "binop": null, "updateContext": null }, - "start": 15904, - "end": 15905, + "start": 16140, + "end": 16141, "loc": { "start": { - "line": 442, + "line": 447, "column": 28 }, "end": { - "line": 442, + "line": 447, "column": 29 } } @@ -60983,15 +62861,15 @@ { "type": "CommentLine", "value": " state name", - "start": 15915, - "end": 15928, + "start": 16151, + "end": 16164, "loc": { "start": { - "line": 443, + "line": 448, "column": 8 }, "end": { - "line": 443, + "line": 448, "column": 21 } } @@ -61009,15 +62887,15 @@ "binop": null }, "value": "stateData", - "start": 15938, - "end": 15947, + "start": 16174, + "end": 16183, "loc": { "start": { - "line": 444, + "line": 449, "column": 8 }, "end": { - "line": 444, + "line": 449, "column": 17 } } @@ -61035,15 +62913,15 @@ "binop": null, "updateContext": null }, - "start": 15947, - "end": 15948, + "start": 16183, + "end": 16184, "loc": { "start": { - "line": 444, + "line": 449, "column": 17 }, "end": { - "line": 444, + "line": 449, "column": 18 } } @@ -61062,15 +62940,15 @@ "updateContext": null }, "value": 0, - "start": 15948, - "end": 15949, + "start": 16184, + "end": 16185, "loc": { "start": { - "line": 444, + "line": 449, "column": 18 }, "end": { - "line": 444, + "line": 449, "column": 19 } } @@ -61088,15 +62966,15 @@ "binop": null, "updateContext": null }, - "start": 15949, - "end": 15950, + "start": 16185, + "end": 16186, "loc": { "start": { - "line": 444, + "line": 449, "column": 19 }, "end": { - "line": 444, + "line": 449, "column": 20 } } @@ -61115,15 +62993,15 @@ "updateContext": null }, "value": "=", - "start": 15951, - "end": 15952, + "start": 16187, + "end": 16188, "loc": { "start": { - "line": 444, + "line": 449, "column": 21 }, "end": { - "line": 444, + "line": 449, "column": 22 } } @@ -61143,15 +63021,15 @@ "updateContext": null }, "value": "this", - "start": 15953, - "end": 15957, + "start": 16189, + "end": 16193, "loc": { "start": { - "line": 444, + "line": 449, "column": 23 }, "end": { - "line": 444, + "line": 449, "column": 27 } } @@ -61169,15 +63047,15 @@ "binop": null, "updateContext": null }, - "start": 15957, - "end": 15958, + "start": 16193, + "end": 16194, "loc": { "start": { - "line": 444, + "line": 449, "column": 27 }, "end": { - "line": 444, + "line": 449, "column": 28 } } @@ -61195,15 +63073,15 @@ "binop": null }, "value": "getName", - "start": 15958, - "end": 15965, + "start": 16194, + "end": 16201, "loc": { "start": { - "line": 444, + "line": 449, "column": 28 }, "end": { - "line": 444, + "line": 449, "column": 35 } } @@ -61220,15 +63098,15 @@ "postfix": false, "binop": null }, - "start": 15965, - "end": 15966, + "start": 16201, + "end": 16202, "loc": { "start": { - "line": 444, + "line": 449, "column": 35 }, "end": { - "line": 444, + "line": 449, "column": 36 } } @@ -61245,15 +63123,15 @@ "postfix": false, "binop": null }, - "start": 15966, - "end": 15967, + "start": 16202, + "end": 16203, "loc": { "start": { - "line": 444, + "line": 449, "column": 36 }, "end": { - "line": 444, + "line": 449, "column": 37 } } @@ -61271,15 +63149,15 @@ "binop": null, "updateContext": null }, - "start": 15967, - "end": 15968, + "start": 16203, + "end": 16204, "loc": { "start": { - "line": 444, + "line": 449, "column": 37 }, "end": { - "line": 444, + "line": 449, "column": 38 } } @@ -61287,15 +63165,15 @@ { "type": "CommentLine", "value": " state dataURL", - "start": 15978, - "end": 15994, + "start": 16214, + "end": 16230, "loc": { "start": { - "line": 445, + "line": 450, "column": 8 }, "end": { - "line": 445, + "line": 450, "column": 24 } } @@ -61313,15 +63191,15 @@ "binop": null }, "value": "stateData", - "start": 16004, - "end": 16013, + "start": 16240, + "end": 16249, "loc": { "start": { - "line": 446, + "line": 451, "column": 8 }, "end": { - "line": 446, + "line": 451, "column": 17 } } @@ -61339,15 +63217,15 @@ "binop": null, "updateContext": null }, - "start": 16013, - "end": 16014, + "start": 16249, + "end": 16250, "loc": { "start": { - "line": 446, + "line": 451, "column": 17 }, "end": { - "line": 446, + "line": 451, "column": 18 } } @@ -61366,15 +63244,15 @@ "updateContext": null }, "value": 1, - "start": 16014, - "end": 16015, + "start": 16250, + "end": 16251, "loc": { "start": { - "line": 446, + "line": 451, "column": 18 }, "end": { - "line": 446, + "line": 451, "column": 19 } } @@ -61392,15 +63270,15 @@ "binop": null, "updateContext": null }, - "start": 16015, - "end": 16016, + "start": 16251, + "end": 16252, "loc": { "start": { - "line": 446, + "line": 451, "column": 19 }, "end": { - "line": 446, + "line": 451, "column": 20 } } @@ -61419,15 +63297,15 @@ "updateContext": null }, "value": "=", - "start": 16017, - "end": 16018, + "start": 16253, + "end": 16254, "loc": { "start": { - "line": 446, + "line": 451, "column": 21 }, "end": { - "line": 446, + "line": 451, "column": 22 } } @@ -61447,15 +63325,15 @@ "updateContext": null }, "value": "this", - "start": 16019, - "end": 16023, + "start": 16255, + "end": 16259, "loc": { "start": { - "line": 446, + "line": 451, "column": 23 }, "end": { - "line": 446, + "line": 451, "column": 27 } } @@ -61473,15 +63351,15 @@ "binop": null, "updateContext": null }, - "start": 16023, - "end": 16024, + "start": 16259, + "end": 16260, "loc": { "start": { - "line": 446, + "line": 451, "column": 27 }, "end": { - "line": 446, + "line": 451, "column": 28 } } @@ -61499,15 +63377,15 @@ "binop": null }, "value": "getDataURL", - "start": 16024, - "end": 16034, + "start": 16260, + "end": 16270, "loc": { "start": { - "line": 446, + "line": 451, "column": 28 }, "end": { - "line": 446, + "line": 451, "column": 38 } } @@ -61524,15 +63402,15 @@ "postfix": false, "binop": null }, - "start": 16034, - "end": 16035, + "start": 16270, + "end": 16271, "loc": { "start": { - "line": 446, + "line": 451, "column": 38 }, "end": { - "line": 446, + "line": 451, "column": 39 } } @@ -61549,15 +63427,15 @@ "postfix": false, "binop": null }, - "start": 16035, - "end": 16036, + "start": 16271, + "end": 16272, "loc": { "start": { - "line": 446, + "line": 451, "column": 39 }, "end": { - "line": 446, + "line": 451, "column": 40 } } @@ -61575,15 +63453,15 @@ "binop": null, "updateContext": null }, - "start": 16036, - "end": 16037, + "start": 16272, + "end": 16273, "loc": { "start": { - "line": 446, + "line": 451, "column": 40 }, "end": { - "line": 446, + "line": 451, "column": 41 } } @@ -61591,15 +63469,15 @@ { "type": "CommentLine", "value": " state frame delay", - "start": 16047, - "end": 16067, + "start": 16283, + "end": 16303, "loc": { "start": { - "line": 447, + "line": 452, "column": 8 }, "end": { - "line": 447, + "line": 452, "column": 28 } } @@ -61617,15 +63495,15 @@ "binop": null }, "value": "stateData", - "start": 16077, - "end": 16086, + "start": 16313, + "end": 16322, "loc": { "start": { - "line": 448, + "line": 453, "column": 8 }, "end": { - "line": 448, + "line": 453, "column": 17 } } @@ -61643,15 +63521,15 @@ "binop": null, "updateContext": null }, - "start": 16086, - "end": 16087, + "start": 16322, + "end": 16323, "loc": { "start": { - "line": 448, + "line": 453, "column": 17 }, "end": { - "line": 448, + "line": 453, "column": 18 } } @@ -61670,15 +63548,15 @@ "updateContext": null }, "value": 2, - "start": 16087, - "end": 16088, + "start": 16323, + "end": 16324, "loc": { "start": { - "line": 448, + "line": 453, "column": 18 }, "end": { - "line": 448, + "line": 453, "column": 19 } } @@ -61696,15 +63574,15 @@ "binop": null, "updateContext": null }, - "start": 16088, - "end": 16089, + "start": 16324, + "end": 16325, "loc": { "start": { - "line": 448, + "line": 453, "column": 19 }, "end": { - "line": 448, + "line": 453, "column": 20 } } @@ -61723,15 +63601,15 @@ "updateContext": null }, "value": "=", - "start": 16090, - "end": 16091, + "start": 16326, + "end": 16327, "loc": { "start": { - "line": 448, + "line": 453, "column": 21 }, "end": { - "line": 448, + "line": 453, "column": 22 } } @@ -61751,15 +63629,15 @@ "updateContext": null }, "value": "this", - "start": 16092, - "end": 16096, + "start": 16328, + "end": 16332, "loc": { "start": { - "line": 448, + "line": 453, "column": 23 }, "end": { - "line": 448, + "line": 453, "column": 27 } } @@ -61777,15 +63655,15 @@ "binop": null, "updateContext": null }, - "start": 16096, - "end": 16097, + "start": 16332, + "end": 16333, "loc": { "start": { - "line": 448, + "line": 453, "column": 27 }, "end": { - "line": 448, + "line": 453, "column": 28 } } @@ -61803,15 +63681,15 @@ "binop": null }, "value": "getDelay", - "start": 16097, - "end": 16105, + "start": 16333, + "end": 16341, "loc": { "start": { - "line": 448, + "line": 453, "column": 28 }, "end": { - "line": 448, + "line": 453, "column": 36 } } @@ -61828,15 +63706,15 @@ "postfix": false, "binop": null }, - "start": 16105, - "end": 16106, + "start": 16341, + "end": 16342, "loc": { "start": { - "line": 448, + "line": 453, "column": 36 }, "end": { - "line": 448, + "line": 453, "column": 37 } } @@ -61853,15 +63731,15 @@ "postfix": false, "binop": null }, - "start": 16106, - "end": 16107, + "start": 16342, + "end": 16343, "loc": { "start": { - "line": 448, + "line": 453, "column": 37 }, "end": { - "line": 448, + "line": 453, "column": 38 } } @@ -61879,15 +63757,15 @@ "binop": null, "updateContext": null }, - "start": 16107, - "end": 16108, + "start": 16343, + "end": 16344, "loc": { "start": { - "line": 448, + "line": 453, "column": 38 }, "end": { - "line": 448, + "line": 453, "column": 39 } } @@ -61895,15 +63773,15 @@ { "type": "CommentLine", "value": " state frame array", - "start": 16118, - "end": 16138, + "start": 16354, + "end": 16374, "loc": { "start": { - "line": 449, + "line": 454, "column": 8 }, "end": { - "line": 449, + "line": 454, "column": 28 } } @@ -61921,15 +63799,15 @@ "binop": null }, "value": "stateData", - "start": 16148, - "end": 16157, + "start": 16384, + "end": 16393, "loc": { "start": { - "line": 450, + "line": 455, "column": 8 }, "end": { - "line": 450, + "line": 455, "column": 17 } } @@ -61947,15 +63825,15 @@ "binop": null, "updateContext": null }, - "start": 16157, - "end": 16158, + "start": 16393, + "end": 16394, "loc": { "start": { - "line": 450, + "line": 455, "column": 17 }, "end": { - "line": 450, + "line": 455, "column": 18 } } @@ -61974,15 +63852,15 @@ "updateContext": null }, "value": 3, - "start": 16158, - "end": 16159, + "start": 16394, + "end": 16395, "loc": { "start": { - "line": 450, + "line": 455, "column": 18 }, "end": { - "line": 450, + "line": 455, "column": 19 } } @@ -62000,15 +63878,15 @@ "binop": null, "updateContext": null }, - "start": 16159, - "end": 16160, + "start": 16395, + "end": 16396, "loc": { "start": { - "line": 450, + "line": 455, "column": 19 }, "end": { - "line": 450, + "line": 455, "column": 20 } } @@ -62027,15 +63905,15 @@ "updateContext": null }, "value": "=", - "start": 16161, - "end": 16162, + "start": 16397, + "end": 16398, "loc": { "start": { - "line": 450, + "line": 455, "column": 21 }, "end": { - "line": 450, + "line": 455, "column": 22 } } @@ -62053,15 +63931,15 @@ "binop": null, "updateContext": null }, - "start": 16163, - "end": 16164, + "start": 16399, + "end": 16400, "loc": { "start": { - "line": 450, + "line": 455, "column": 23 }, "end": { - "line": 450, + "line": 455, "column": 24 } } @@ -62079,15 +63957,15 @@ "binop": null, "updateContext": null }, - "start": 16164, - "end": 16165, + "start": 16400, + "end": 16401, "loc": { "start": { - "line": 450, + "line": 455, "column": 24 }, "end": { - "line": 450, + "line": 455, "column": 25 } } @@ -62105,15 +63983,15 @@ "binop": null, "updateContext": null }, - "start": 16165, - "end": 16166, + "start": 16401, + "end": 16402, "loc": { "start": { - "line": 450, + "line": 455, "column": 25 }, "end": { - "line": 450, + "line": 455, "column": 26 } } @@ -62121,15 +63999,15 @@ { "type": "CommentLine", "value": " Loop frame array to export relevant information.", - "start": 16178, - "end": 16229, + "start": 16414, + "end": 16465, "loc": { "start": { - "line": 452, + "line": 457, "column": 8 }, "end": { - "line": 452, + "line": 457, "column": 59 } } @@ -62149,15 +64027,15 @@ "updateContext": null }, "value": "this", - "start": 16239, - "end": 16243, + "start": 16475, + "end": 16479, "loc": { "start": { - "line": 453, + "line": 458, "column": 8 }, "end": { - "line": 453, + "line": 458, "column": 12 } } @@ -62175,15 +64053,15 @@ "binop": null, "updateContext": null }, - "start": 16243, - "end": 16244, + "start": 16479, + "end": 16480, "loc": { "start": { - "line": 453, + "line": 458, "column": 12 }, "end": { - "line": 453, + "line": 458, "column": 13 } } @@ -62201,15 +64079,15 @@ "binop": null }, "value": "frames", - "start": 16244, - "end": 16250, + "start": 16480, + "end": 16486, "loc": { "start": { - "line": 453, + "line": 458, "column": 13 }, "end": { - "line": 453, + "line": 458, "column": 19 } } @@ -62227,15 +64105,15 @@ "binop": null, "updateContext": null }, - "start": 16250, - "end": 16251, + "start": 16486, + "end": 16487, "loc": { "start": { - "line": 453, + "line": 458, "column": 19 }, "end": { - "line": 453, + "line": 458, "column": 20 } } @@ -62253,15 +64131,15 @@ "binop": null }, "value": "forEach", - "start": 16251, - "end": 16258, + "start": 16487, + "end": 16494, "loc": { "start": { - "line": 453, + "line": 458, "column": 20 }, "end": { - "line": 453, + "line": 458, "column": 27 } } @@ -62278,15 +64156,15 @@ "postfix": false, "binop": null }, - "start": 16258, - "end": 16259, + "start": 16494, + "end": 16495, "loc": { "start": { - "line": 453, + "line": 458, "column": 27 }, "end": { - "line": 453, + "line": 458, "column": 28 } } @@ -62303,15 +64181,15 @@ "postfix": false, "binop": null }, - "start": 16259, - "end": 16260, + "start": 16495, + "end": 16496, "loc": { "start": { - "line": 453, + "line": 458, "column": 28 }, "end": { - "line": 453, + "line": 458, "column": 29 } } @@ -62329,15 +64207,15 @@ "binop": null }, "value": "pFrame", - "start": 16260, - "end": 16266, + "start": 16496, + "end": 16502, "loc": { "start": { - "line": 453, + "line": 458, "column": 29 }, "end": { - "line": 453, + "line": 458, "column": 35 } } @@ -62354,15 +64232,15 @@ "postfix": false, "binop": null }, - "start": 16266, - "end": 16267, + "start": 16502, + "end": 16503, "loc": { "start": { - "line": 453, + "line": 458, "column": 35 }, "end": { - "line": 453, + "line": 458, "column": 36 } } @@ -62380,15 +64258,15 @@ "binop": null, "updateContext": null }, - "start": 16268, - "end": 16270, + "start": 16504, + "end": 16506, "loc": { "start": { - "line": 453, + "line": 458, "column": 37 }, "end": { - "line": 453, + "line": 458, "column": 39 } } @@ -62405,15 +64283,15 @@ "postfix": false, "binop": null }, - "start": 16271, - "end": 16272, + "start": 16507, + "end": 16508, "loc": { "start": { - "line": 453, + "line": 458, "column": 40 }, "end": { - "line": 453, + "line": 458, "column": 41 } } @@ -62431,15 +64309,15 @@ "binop": null }, "value": "stateData", - "start": 16286, - "end": 16295, + "start": 16522, + "end": 16531, "loc": { "start": { - "line": 454, + "line": 459, "column": 12 }, "end": { - "line": 454, + "line": 459, "column": 21 } } @@ -62457,15 +64335,15 @@ "binop": null, "updateContext": null }, - "start": 16295, - "end": 16296, + "start": 16531, + "end": 16532, "loc": { "start": { - "line": 454, + "line": 459, "column": 21 }, "end": { - "line": 454, + "line": 459, "column": 22 } } @@ -62484,15 +64362,15 @@ "updateContext": null }, "value": 3, - "start": 16296, - "end": 16297, + "start": 16532, + "end": 16533, "loc": { "start": { - "line": 454, + "line": 459, "column": 22 }, "end": { - "line": 454, + "line": 459, "column": 23 } } @@ -62510,15 +64388,15 @@ "binop": null, "updateContext": null }, - "start": 16297, - "end": 16298, + "start": 16533, + "end": 16534, "loc": { "start": { - "line": 454, + "line": 459, "column": 23 }, "end": { - "line": 454, + "line": 459, "column": 24 } } @@ -62536,15 +64414,15 @@ "binop": null, "updateContext": null }, - "start": 16298, - "end": 16299, + "start": 16534, + "end": 16535, "loc": { "start": { - "line": 454, + "line": 459, "column": 24 }, "end": { - "line": 454, + "line": 459, "column": 25 } } @@ -62562,15 +64440,15 @@ "binop": null }, "value": "push", - "start": 16299, - "end": 16303, + "start": 16535, + "end": 16539, "loc": { "start": { - "line": 454, + "line": 459, "column": 25 }, "end": { - "line": 454, + "line": 459, "column": 29 } } @@ -62587,15 +64465,15 @@ "postfix": false, "binop": null }, - "start": 16303, - "end": 16304, + "start": 16539, + "end": 16540, "loc": { "start": { - "line": 454, + "line": 459, "column": 29 }, "end": { - "line": 454, + "line": 459, "column": 30 } } @@ -62613,15 +64491,15 @@ "binop": null }, "value": "pFrame", - "start": 16304, - "end": 16310, + "start": 16540, + "end": 16546, "loc": { "start": { - "line": 454, + "line": 459, "column": 30 }, "end": { - "line": 454, + "line": 459, "column": 36 } } @@ -62639,15 +64517,15 @@ "binop": null, "updateContext": null }, - "start": 16310, - "end": 16311, + "start": 16546, + "end": 16547, "loc": { "start": { - "line": 454, + "line": 459, "column": 36 }, "end": { - "line": 454, + "line": 459, "column": 37 } } @@ -62667,15 +64545,15 @@ "updateContext": null }, "value": "export", - "start": 16311, - "end": 16317, + "start": 16547, + "end": 16553, "loc": { "start": { - "line": 454, + "line": 459, "column": 37 }, "end": { - "line": 454, + "line": 459, "column": 43 } } @@ -62692,15 +64570,15 @@ "postfix": false, "binop": null }, - "start": 16317, - "end": 16318, + "start": 16553, + "end": 16554, "loc": { "start": { - "line": 454, + "line": 459, "column": 43 }, "end": { - "line": 454, + "line": 459, "column": 44 } } @@ -62717,15 +64595,15 @@ "postfix": false, "binop": null }, - "start": 16318, - "end": 16319, + "start": 16554, + "end": 16555, "loc": { "start": { - "line": 454, + "line": 459, "column": 44 }, "end": { - "line": 454, + "line": 459, "column": 45 } } @@ -62742,15 +64620,15 @@ "postfix": false, "binop": null }, - "start": 16319, - "end": 16320, + "start": 16555, + "end": 16556, "loc": { "start": { - "line": 454, + "line": 459, "column": 45 }, "end": { - "line": 454, + "line": 459, "column": 46 } } @@ -62768,15 +64646,15 @@ "binop": null, "updateContext": null }, - "start": 16320, - "end": 16321, + "start": 16556, + "end": 16557, "loc": { "start": { - "line": 454, + "line": 459, "column": 46 }, "end": { - "line": 454, + "line": 459, "column": 47 } } @@ -62793,15 +64671,15 @@ "postfix": false, "binop": null }, - "start": 16331, - "end": 16332, + "start": 16567, + "end": 16568, "loc": { "start": { - "line": 455, + "line": 460, "column": 8 }, "end": { - "line": 455, + "line": 460, "column": 9 } } @@ -62818,15 +64696,15 @@ "postfix": false, "binop": null }, - "start": 16332, - "end": 16333, + "start": 16568, + "end": 16569, "loc": { "start": { - "line": 455, + "line": 460, "column": 9 }, "end": { - "line": 455, + "line": 460, "column": 10 } } @@ -62844,15 +64722,15 @@ "binop": null, "updateContext": null }, - "start": 16333, - "end": 16334, + "start": 16569, + "end": 16570, "loc": { "start": { - "line": 455, + "line": 460, "column": 10 }, "end": { - "line": 455, + "line": 460, "column": 11 } } @@ -62872,15 +64750,15 @@ "updateContext": null }, "value": "return", - "start": 16344, - "end": 16350, + "start": 16580, + "end": 16586, "loc": { "start": { - "line": 456, + "line": 461, "column": 8 }, "end": { - "line": 456, + "line": 461, "column": 14 } } @@ -62898,15 +64776,15 @@ "binop": null }, "value": "stateData", - "start": 16351, - "end": 16360, + "start": 16587, + "end": 16596, "loc": { "start": { - "line": 456, + "line": 461, "column": 15 }, "end": { - "line": 456, + "line": 461, "column": 24 } } @@ -62924,15 +64802,15 @@ "binop": null, "updateContext": null }, - "start": 16360, - "end": 16361, + "start": 16596, + "end": 16597, "loc": { "start": { - "line": 456, + "line": 461, "column": 24 }, "end": { - "line": 456, + "line": 461, "column": 25 } } @@ -62949,15 +64827,15 @@ "postfix": false, "binop": null }, - "start": 16367, - "end": 16368, + "start": 16603, + "end": 16604, "loc": { "start": { - "line": 457, + "line": 462, "column": 4 }, "end": { - "line": 457, + "line": 462, "column": 5 } } @@ -62965,15 +64843,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": 16374, - "end": 16549, + "start": 16610, + "end": 16785, "loc": { "start": { - "line": 458, + "line": 463, "column": 4 }, "end": { - "line": 462, + "line": 467, "column": 7 } } @@ -62993,15 +64871,15 @@ "updateContext": null }, "value": "export", - "start": 16555, - "end": 16561, + "start": 16791, + "end": 16797, "loc": { "start": { - "line": 463, + "line": 468, "column": 4 }, "end": { - "line": 463, + "line": 468, "column": 10 } } @@ -63018,15 +64896,15 @@ "postfix": false, "binop": null }, - "start": 16561, - "end": 16562, + "start": 16797, + "end": 16798, "loc": { "start": { - "line": 463, + "line": 468, "column": 10 }, "end": { - "line": 463, + "line": 468, "column": 11 } } @@ -63043,15 +64921,15 @@ "postfix": false, "binop": null }, - "start": 16562, - "end": 16563, + "start": 16798, + "end": 16799, "loc": { "start": { - "line": 463, + "line": 468, "column": 11 }, "end": { - "line": 463, + "line": 468, "column": 12 } } @@ -63068,15 +64946,15 @@ "postfix": false, "binop": null }, - "start": 16564, - "end": 16565, + "start": 16800, + "end": 16801, "loc": { "start": { - "line": 463, + "line": 468, "column": 13 }, "end": { - "line": 463, + "line": 468, "column": 14 } } @@ -63096,15 +64974,15 @@ "updateContext": null }, "value": "const", - "start": 16575, - "end": 16580, + "start": 16811, + "end": 16816, "loc": { "start": { - "line": 464, + "line": 469, "column": 8 }, "end": { - "line": 464, + "line": 469, "column": 13 } } @@ -63122,15 +65000,15 @@ "binop": null }, "value": "iconData", - "start": 16581, - "end": 16589, + "start": 16817, + "end": 16825, "loc": { "start": { - "line": 464, + "line": 469, "column": 14 }, "end": { - "line": 464, + "line": 469, "column": 22 } } @@ -63149,15 +65027,15 @@ "updateContext": null }, "value": "=", - "start": 16590, - "end": 16591, + "start": 16826, + "end": 16827, "loc": { "start": { - "line": 464, + "line": 469, "column": 23 }, "end": { - "line": 464, + "line": 469, "column": 24 } } @@ -63175,15 +65053,15 @@ "binop": null, "updateContext": null }, - "start": 16592, - "end": 16593, + "start": 16828, + "end": 16829, "loc": { "start": { - "line": 464, + "line": 469, "column": 25 }, "end": { - "line": 464, + "line": 469, "column": 26 } } @@ -63201,15 +65079,15 @@ "binop": null, "updateContext": null }, - "start": 16593, - "end": 16594, + "start": 16829, + "end": 16830, "loc": { "start": { - "line": 464, + "line": 469, "column": 26 }, "end": { - "line": 464, + "line": 469, "column": 27 } } @@ -63227,15 +65105,15 @@ "binop": null, "updateContext": null }, - "start": 16594, - "end": 16595, + "start": 16830, + "end": 16831, "loc": { "start": { - "line": 464, + "line": 469, "column": 27 }, "end": { - "line": 464, + "line": 469, "column": 28 } } @@ -63243,15 +65121,15 @@ { "type": "CommentLine", "value": " icon name", - "start": 16605, - "end": 16617, + "start": 16841, + "end": 16853, "loc": { "start": { - "line": 465, + "line": 470, "column": 8 }, "end": { - "line": 465, + "line": 470, "column": 20 } } @@ -63269,15 +65147,15 @@ "binop": null }, "value": "iconData", - "start": 16627, - "end": 16635, + "start": 16863, + "end": 16871, "loc": { "start": { - "line": 466, + "line": 471, "column": 8 }, "end": { - "line": 466, + "line": 471, "column": 16 } } @@ -63295,15 +65173,15 @@ "binop": null, "updateContext": null }, - "start": 16635, - "end": 16636, + "start": 16871, + "end": 16872, "loc": { "start": { - "line": 466, + "line": 471, "column": 16 }, "end": { - "line": 466, + "line": 471, "column": 17 } } @@ -63322,15 +65200,15 @@ "updateContext": null }, "value": 0, - "start": 16636, - "end": 16637, + "start": 16872, + "end": 16873, "loc": { "start": { - "line": 466, + "line": 471, "column": 17 }, "end": { - "line": 466, + "line": 471, "column": 18 } } @@ -63348,15 +65226,15 @@ "binop": null, "updateContext": null }, - "start": 16637, - "end": 16638, + "start": 16873, + "end": 16874, "loc": { "start": { - "line": 466, + "line": 471, "column": 18 }, "end": { - "line": 466, + "line": 471, "column": 19 } } @@ -63375,15 +65253,15 @@ "updateContext": null }, "value": "=", - "start": 16639, - "end": 16640, + "start": 16875, + "end": 16876, "loc": { "start": { - "line": 466, + "line": 471, "column": 20 }, "end": { - "line": 466, + "line": 471, "column": 21 } } @@ -63403,15 +65281,15 @@ "updateContext": null }, "value": "this", - "start": 16641, - "end": 16645, + "start": 16877, + "end": 16881, "loc": { "start": { - "line": 466, + "line": 471, "column": 22 }, "end": { - "line": 466, + "line": 471, "column": 26 } } @@ -63429,15 +65307,15 @@ "binop": null, "updateContext": null }, - "start": 16645, - "end": 16646, + "start": 16881, + "end": 16882, "loc": { "start": { - "line": 466, + "line": 471, "column": 26 }, "end": { - "line": 466, + "line": 471, "column": 27 } } @@ -63455,15 +65333,15 @@ "binop": null }, "value": "getName", - "start": 16646, - "end": 16653, + "start": 16882, + "end": 16889, "loc": { "start": { - "line": 466, + "line": 471, "column": 27 }, "end": { - "line": 466, + "line": 471, "column": 34 } } @@ -63480,15 +65358,15 @@ "postfix": false, "binop": null }, - "start": 16653, - "end": 16654, + "start": 16889, + "end": 16890, "loc": { "start": { - "line": 466, + "line": 471, "column": 34 }, "end": { - "line": 466, + "line": 471, "column": 35 } } @@ -63505,15 +65383,15 @@ "postfix": false, "binop": null }, - "start": 16654, - "end": 16655, + "start": 16890, + "end": 16891, "loc": { "start": { - "line": 466, + "line": 471, "column": 35 }, "end": { - "line": 466, + "line": 471, "column": 36 } } @@ -63531,15 +65409,15 @@ "binop": null, "updateContext": null }, - "start": 16655, - "end": 16656, + "start": 16891, + "end": 16892, "loc": { "start": { - "line": 466, + "line": 471, "column": 36 }, "end": { - "line": 466, + "line": 471, "column": 37 } } @@ -63547,15 +65425,15 @@ { "type": "CommentLine", "value": " Get the size of this icon.", - "start": 16666, - "end": 16695, + "start": 16902, + "end": 16931, "loc": { "start": { - "line": 467, + "line": 472, "column": 8 }, "end": { - "line": 467, + "line": 472, "column": 37 } } @@ -63575,15 +65453,15 @@ "updateContext": null }, "value": "const", - "start": 16705, - "end": 16710, + "start": 16941, + "end": 16946, "loc": { "start": { - "line": 468, + "line": 473, "column": 8 }, "end": { - "line": 468, + "line": 473, "column": 13 } } @@ -63601,15 +65479,15 @@ "binop": null }, "value": "size", - "start": 16711, - "end": 16715, + "start": 16947, + "end": 16951, "loc": { "start": { - "line": 468, + "line": 473, "column": 14 }, "end": { - "line": 468, + "line": 473, "column": 18 } } @@ -63628,15 +65506,15 @@ "updateContext": null }, "value": "=", - "start": 16716, - "end": 16717, + "start": 16952, + "end": 16953, "loc": { "start": { - "line": 468, + "line": 473, "column": 19 }, "end": { - "line": 468, + "line": 473, "column": 20 } } @@ -63656,15 +65534,15 @@ "updateContext": null }, "value": "this", - "start": 16718, - "end": 16722, + "start": 16954, + "end": 16958, "loc": { "start": { - "line": 468, + "line": 473, "column": 21 }, "end": { - "line": 468, + "line": 473, "column": 25 } } @@ -63682,15 +65560,15 @@ "binop": null, "updateContext": null }, - "start": 16722, - "end": 16723, + "start": 16958, + "end": 16959, "loc": { "start": { - "line": 468, + "line": 473, "column": 25 }, "end": { - "line": 468, + "line": 473, "column": 26 } } @@ -63708,15 +65586,15 @@ "binop": null }, "value": "getSize", - "start": 16723, - "end": 16730, + "start": 16959, + "end": 16966, "loc": { "start": { - "line": 468, + "line": 473, "column": 26 }, "end": { - "line": 468, + "line": 473, "column": 33 } } @@ -63733,15 +65611,15 @@ "postfix": false, "binop": null }, - "start": 16730, - "end": 16731, + "start": 16966, + "end": 16967, "loc": { "start": { - "line": 468, + "line": 473, "column": 33 }, "end": { - "line": 468, + "line": 473, "column": 34 } } @@ -63758,15 +65636,15 @@ "postfix": false, "binop": null }, - "start": 16731, - "end": 16732, + "start": 16967, + "end": 16968, "loc": { "start": { - "line": 468, + "line": 473, "column": 34 }, "end": { - "line": 468, + "line": 473, "column": 35 } } @@ -63784,15 +65662,15 @@ "binop": null, "updateContext": null }, - "start": 16732, - "end": 16733, + "start": 16968, + "end": 16969, "loc": { "start": { - "line": 468, + "line": 473, "column": 35 }, "end": { - "line": 468, + "line": 473, "column": 36 } } @@ -63800,15 +65678,15 @@ { "type": "CommentLine", "value": " icon width", - "start": 16743, - "end": 16756, + "start": 16979, + "end": 16992, "loc": { "start": { - "line": 469, + "line": 474, "column": 8 }, "end": { - "line": 469, + "line": 474, "column": 21 } } @@ -63826,15 +65704,15 @@ "binop": null }, "value": "iconData", - "start": 16766, - "end": 16774, + "start": 17002, + "end": 17010, "loc": { "start": { - "line": 470, + "line": 475, "column": 8 }, "end": { - "line": 470, + "line": 475, "column": 16 } } @@ -63852,15 +65730,15 @@ "binop": null, "updateContext": null }, - "start": 16774, - "end": 16775, + "start": 17010, + "end": 17011, "loc": { "start": { - "line": 470, + "line": 475, "column": 16 }, "end": { - "line": 470, + "line": 475, "column": 17 } } @@ -63879,15 +65757,15 @@ "updateContext": null }, "value": 1, - "start": 16775, - "end": 16776, + "start": 17011, + "end": 17012, "loc": { "start": { - "line": 470, + "line": 475, "column": 17 }, "end": { - "line": 470, + "line": 475, "column": 18 } } @@ -63905,15 +65783,15 @@ "binop": null, "updateContext": null }, - "start": 16776, - "end": 16777, + "start": 17012, + "end": 17013, "loc": { "start": { - "line": 470, + "line": 475, "column": 18 }, "end": { - "line": 470, + "line": 475, "column": 19 } } @@ -63932,15 +65810,15 @@ "updateContext": null }, "value": "=", - "start": 16778, - "end": 16779, + "start": 17014, + "end": 17015, "loc": { "start": { - "line": 470, + "line": 475, "column": 20 }, "end": { - "line": 470, + "line": 475, "column": 21 } } @@ -63958,15 +65836,15 @@ "binop": null }, "value": "size", - "start": 16780, - "end": 16784, + "start": 17016, + "end": 17020, "loc": { "start": { - "line": 470, + "line": 475, "column": 22 }, "end": { - "line": 470, + "line": 475, "column": 26 } } @@ -63984,15 +65862,15 @@ "binop": null, "updateContext": null }, - "start": 16784, - "end": 16785, + "start": 17020, + "end": 17021, "loc": { "start": { - "line": 470, + "line": 475, "column": 26 }, "end": { - "line": 470, + "line": 475, "column": 27 } } @@ -64010,15 +65888,15 @@ "binop": null }, "value": "width", - "start": 16785, - "end": 16790, + "start": 17021, + "end": 17026, "loc": { "start": { - "line": 470, + "line": 475, "column": 27 }, "end": { - "line": 470, + "line": 475, "column": 32 } } @@ -64036,15 +65914,15 @@ "binop": null, "updateContext": null }, - "start": 16790, - "end": 16791, + "start": 17026, + "end": 17027, "loc": { "start": { - "line": 470, + "line": 475, "column": 32 }, "end": { - "line": 470, + "line": 475, "column": 33 } } @@ -64052,15 +65930,15 @@ { "type": "CommentLine", "value": " icon height", - "start": 16801, - "end": 16815, + "start": 17037, + "end": 17051, "loc": { "start": { - "line": 471, + "line": 476, "column": 8 }, "end": { - "line": 471, + "line": 476, "column": 22 } } @@ -64078,15 +65956,15 @@ "binop": null }, "value": "iconData", - "start": 16825, - "end": 16833, + "start": 17061, + "end": 17069, "loc": { "start": { - "line": 472, + "line": 477, "column": 8 }, "end": { - "line": 472, + "line": 477, "column": 16 } } @@ -64104,15 +65982,15 @@ "binop": null, "updateContext": null }, - "start": 16833, - "end": 16834, + "start": 17069, + "end": 17070, "loc": { "start": { - "line": 472, + "line": 477, "column": 16 }, "end": { - "line": 472, + "line": 477, "column": 17 } } @@ -64131,15 +66009,15 @@ "updateContext": null }, "value": 2, - "start": 16834, - "end": 16835, + "start": 17070, + "end": 17071, "loc": { "start": { - "line": 472, + "line": 477, "column": 17 }, "end": { - "line": 472, + "line": 477, "column": 18 } } @@ -64157,15 +66035,15 @@ "binop": null, "updateContext": null }, - "start": 16835, - "end": 16836, + "start": 17071, + "end": 17072, "loc": { "start": { - "line": 472, + "line": 477, "column": 18 }, "end": { - "line": 472, + "line": 477, "column": 19 } } @@ -64184,15 +66062,15 @@ "updateContext": null }, "value": "=", - "start": 16837, - "end": 16838, + "start": 17073, + "end": 17074, "loc": { "start": { - "line": 472, + "line": 477, "column": 20 }, "end": { - "line": 472, + "line": 477, "column": 21 } } @@ -64210,15 +66088,15 @@ "binop": null }, "value": "size", - "start": 16839, - "end": 16843, + "start": 17075, + "end": 17079, "loc": { "start": { - "line": 472, + "line": 477, "column": 22 }, "end": { - "line": 472, + "line": 477, "column": 26 } } @@ -64236,15 +66114,15 @@ "binop": null, "updateContext": null }, - "start": 16843, - "end": 16844, + "start": 17079, + "end": 17080, "loc": { "start": { - "line": 472, + "line": 477, "column": 26 }, "end": { - "line": 472, + "line": 477, "column": 27 } } @@ -64262,15 +66140,15 @@ "binop": null }, "value": "height", - "start": 16844, - "end": 16850, + "start": 17080, + "end": 17086, "loc": { "start": { - "line": 472, + "line": 477, "column": 27 }, "end": { - "line": 472, + "line": 477, "column": 33 } } @@ -64288,15 +66166,15 @@ "binop": null, "updateContext": null }, - "start": 16850, - "end": 16851, + "start": 17086, + "end": 17087, "loc": { "start": { - "line": 472, + "line": 477, "column": 33 }, "end": { - "line": 472, + "line": 477, "column": 34 } } @@ -64304,15 +66182,15 @@ { "type": "CommentLine", "value": " frame delay", - "start": 16861, - "end": 16875, + "start": 17097, + "end": 17111, "loc": { "start": { - "line": 473, + "line": 478, "column": 8 }, "end": { - "line": 473, + "line": 478, "column": 22 } } @@ -64330,15 +66208,15 @@ "binop": null }, "value": "iconData", - "start": 16885, - "end": 16893, + "start": 17121, + "end": 17129, "loc": { "start": { - "line": 474, + "line": 479, "column": 8 }, "end": { - "line": 474, + "line": 479, "column": 16 } } @@ -64356,15 +66234,15 @@ "binop": null, "updateContext": null }, - "start": 16893, - "end": 16894, + "start": 17129, + "end": 17130, "loc": { "start": { - "line": 474, + "line": 479, "column": 16 }, "end": { - "line": 474, + "line": 479, "column": 17 } } @@ -64383,15 +66261,15 @@ "updateContext": null }, "value": 3, - "start": 16894, - "end": 16895, + "start": 17130, + "end": 17131, "loc": { "start": { - "line": 474, + "line": 479, "column": 17 }, "end": { - "line": 474, + "line": 479, "column": 18 } } @@ -64409,15 +66287,15 @@ "binop": null, "updateContext": null }, - "start": 16895, - "end": 16896, + "start": 17131, + "end": 17132, "loc": { "start": { - "line": 474, + "line": 479, "column": 18 }, "end": { - "line": 474, + "line": 479, "column": 19 } } @@ -64436,15 +66314,15 @@ "updateContext": null }, "value": "=", - "start": 16897, - "end": 16898, + "start": 17133, + "end": 17134, "loc": { "start": { - "line": 474, + "line": 479, "column": 20 }, "end": { - "line": 474, + "line": 479, "column": 21 } } @@ -64464,15 +66342,15 @@ "updateContext": null }, "value": "this", - "start": 16899, - "end": 16903, + "start": 17135, + "end": 17139, "loc": { "start": { - "line": 474, + "line": 479, "column": 22 }, "end": { - "line": 474, + "line": 479, "column": 26 } } @@ -64490,15 +66368,15 @@ "binop": null, "updateContext": null }, - "start": 16903, - "end": 16904, + "start": 17139, + "end": 17140, "loc": { "start": { - "line": 474, + "line": 479, "column": 26 }, "end": { - "line": 474, + "line": 479, "column": 27 } } @@ -64516,15 +66394,15 @@ "binop": null }, "value": "getDelay", - "start": 16904, - "end": 16912, + "start": 17140, + "end": 17148, "loc": { "start": { - "line": 474, + "line": 479, "column": 27 }, "end": { - "line": 474, + "line": 479, "column": 35 } } @@ -64541,15 +66419,15 @@ "postfix": false, "binop": null }, - "start": 16912, - "end": 16913, + "start": 17148, + "end": 17149, "loc": { "start": { - "line": 474, + "line": 479, "column": 35 }, "end": { - "line": 474, + "line": 479, "column": 36 } } @@ -64566,15 +66444,15 @@ "postfix": false, "binop": null }, - "start": 16913, - "end": 16914, + "start": 17149, + "end": 17150, "loc": { "start": { - "line": 474, + "line": 479, "column": 36 }, "end": { - "line": 474, + "line": 479, "column": 37 } } @@ -64592,15 +66470,15 @@ "binop": null, "updateContext": null }, - "start": 16914, - "end": 16915, + "start": 17150, + "end": 17151, "loc": { "start": { - "line": 474, + "line": 479, "column": 37 }, "end": { - "line": 474, + "line": 479, "column": 38 } } @@ -64608,15 +66486,15 @@ { "type": "CommentLine", "value": " icon DataURL", - "start": 16925, - "end": 16940, + "start": 17161, + "end": 17176, "loc": { "start": { - "line": 475, + "line": 480, "column": 8 }, "end": { - "line": 475, + "line": 480, "column": 23 } } @@ -64634,15 +66512,15 @@ "binop": null }, "value": "iconData", - "start": 16950, - "end": 16958, + "start": 17186, + "end": 17194, "loc": { "start": { - "line": 476, + "line": 481, "column": 8 }, "end": { - "line": 476, + "line": 481, "column": 16 } } @@ -64660,15 +66538,15 @@ "binop": null, "updateContext": null }, - "start": 16958, - "end": 16959, + "start": 17194, + "end": 17195, "loc": { "start": { - "line": 476, + "line": 481, "column": 16 }, "end": { - "line": 476, + "line": 481, "column": 17 } } @@ -64687,15 +66565,15 @@ "updateContext": null }, "value": 4, - "start": 16959, - "end": 16960, + "start": 17195, + "end": 17196, "loc": { "start": { - "line": 476, + "line": 481, "column": 17 }, "end": { - "line": 476, + "line": 481, "column": 18 } } @@ -64713,15 +66591,15 @@ "binop": null, "updateContext": null }, - "start": 16960, - "end": 16961, + "start": 17196, + "end": 17197, "loc": { "start": { - "line": 476, + "line": 481, "column": 18 }, "end": { - "line": 476, + "line": 481, "column": 19 } } @@ -64740,15 +66618,15 @@ "updateContext": null }, "value": "=", - "start": 16962, - "end": 16963, + "start": 17198, + "end": 17199, "loc": { "start": { - "line": 476, + "line": 481, "column": 20 }, "end": { - "line": 476, + "line": 481, "column": 21 } } @@ -64768,15 +66646,15 @@ "updateContext": null }, "value": "this", - "start": 16964, - "end": 16968, + "start": 17200, + "end": 17204, "loc": { "start": { - "line": 476, + "line": 481, "column": 22 }, "end": { - "line": 476, + "line": 481, "column": 26 } } @@ -64794,15 +66672,15 @@ "binop": null, "updateContext": null }, - "start": 16968, - "end": 16969, + "start": 17204, + "end": 17205, "loc": { "start": { - "line": 476, + "line": 481, "column": 26 }, "end": { - "line": 476, + "line": 481, "column": 27 } } @@ -64820,15 +66698,15 @@ "binop": null }, "value": "getDataURL", - "start": 16969, - "end": 16979, + "start": 17205, + "end": 17215, "loc": { "start": { - "line": 476, + "line": 481, "column": 27 }, "end": { - "line": 476, + "line": 481, "column": 37 } } @@ -64845,15 +66723,15 @@ "postfix": false, "binop": null }, - "start": 16979, - "end": 16980, + "start": 17215, + "end": 17216, "loc": { "start": { - "line": 476, + "line": 481, "column": 37 }, "end": { - "line": 476, + "line": 481, "column": 38 } } @@ -64870,15 +66748,15 @@ "postfix": false, "binop": null }, - "start": 16980, - "end": 16981, + "start": 17216, + "end": 17217, "loc": { "start": { - "line": 476, + "line": 481, "column": 38 }, "end": { - "line": 476, + "line": 481, "column": 39 } } @@ -64896,15 +66774,15 @@ "binop": null, "updateContext": null }, - "start": 16981, - "end": 16982, + "start": 17217, + "end": 17218, "loc": { "start": { - "line": 476, + "line": 481, "column": 39 }, "end": { - "line": 476, + "line": 481, "column": 40 } } @@ -64912,15 +66790,15 @@ { "type": "CommentLine", "value": " frame array", - "start": 16992, - "end": 17006, + "start": 17228, + "end": 17242, "loc": { "start": { - "line": 477, + "line": 482, "column": 8 }, "end": { - "line": 477, + "line": 482, "column": 22 } } @@ -64938,15 +66816,15 @@ "binop": null }, "value": "iconData", - "start": 17016, - "end": 17024, + "start": 17252, + "end": 17260, "loc": { "start": { - "line": 478, + "line": 483, "column": 8 }, "end": { - "line": 478, + "line": 483, "column": 16 } } @@ -64964,15 +66842,15 @@ "binop": null, "updateContext": null }, - "start": 17024, - "end": 17025, + "start": 17260, + "end": 17261, "loc": { "start": { - "line": 478, + "line": 483, "column": 16 }, "end": { - "line": 478, + "line": 483, "column": 17 } } @@ -64991,15 +66869,15 @@ "updateContext": null }, "value": 5, - "start": 17025, - "end": 17026, + "start": 17261, + "end": 17262, "loc": { "start": { - "line": 478, + "line": 483, "column": 17 }, "end": { - "line": 478, + "line": 483, "column": 18 } } @@ -65017,15 +66895,15 @@ "binop": null, "updateContext": null }, - "start": 17026, - "end": 17027, + "start": 17262, + "end": 17263, "loc": { "start": { - "line": 478, + "line": 483, "column": 18 }, "end": { - "line": 478, + "line": 483, "column": 19 } } @@ -65044,15 +66922,15 @@ "updateContext": null }, "value": "=", - "start": 17028, - "end": 17029, + "start": 17264, + "end": 17265, "loc": { "start": { - "line": 478, + "line": 483, "column": 20 }, "end": { - "line": 478, + "line": 483, "column": 21 } } @@ -65072,15 +66950,15 @@ "updateContext": null }, "value": "this", - "start": 17030, - "end": 17034, + "start": 17266, + "end": 17270, "loc": { "start": { - "line": 478, + "line": 483, "column": 22 }, "end": { - "line": 478, + "line": 483, "column": 26 } } @@ -65098,15 +66976,15 @@ "binop": null, "updateContext": null }, - "start": 17034, - "end": 17035, + "start": 17270, + "end": 17271, "loc": { "start": { - "line": 478, + "line": 483, "column": 26 }, "end": { - "line": 478, + "line": 483, "column": 27 } } @@ -65124,15 +67002,15 @@ "binop": null }, "value": "getFramesData", - "start": 17035, - "end": 17048, + "start": 17271, + "end": 17284, "loc": { "start": { - "line": 478, + "line": 483, "column": 27 }, "end": { - "line": 478, + "line": 483, "column": 40 } } @@ -65149,15 +67027,15 @@ "postfix": false, "binop": null }, - "start": 17048, - "end": 17049, + "start": 17284, + "end": 17285, "loc": { "start": { - "line": 478, + "line": 483, "column": 40 }, "end": { - "line": 478, + "line": 483, "column": 41 } } @@ -65174,15 +67052,15 @@ "postfix": false, "binop": null }, - "start": 17049, - "end": 17050, + "start": 17285, + "end": 17286, "loc": { "start": { - "line": 478, + "line": 483, "column": 41 }, "end": { - "line": 478, + "line": 483, "column": 42 } } @@ -65200,15 +67078,15 @@ "binop": null, "updateContext": null }, - "start": 17050, - "end": 17051, + "start": 17286, + "end": 17287, "loc": { "start": { - "line": 478, + "line": 483, "column": 42 }, "end": { - "line": 478, + "line": 483, "column": 43 } } @@ -65216,15 +67094,15 @@ { "type": "CommentLine", "value": " this is actually an optional data entry into the vyi, only used if states actually exist on this icon.", - "start": 17063, - "end": 17168, + "start": 17299, + "end": 17404, "loc": { "start": { - "line": 480, + "line": 485, "column": 8 }, "end": { - "line": 480, + "line": 485, "column": 113 } } @@ -65232,15 +67110,15 @@ { "type": "CommentLine", "value": " this will save data", - "start": 17178, - "end": 17200, + "start": 17414, + "end": 17436, "loc": { "start": { - "line": 481, + "line": 486, "column": 8 }, "end": { - "line": 481, + "line": 486, "column": 30 } } @@ -65260,15 +67138,15 @@ "updateContext": null }, "value": "if", - "start": 17210, - "end": 17212, + "start": 17446, + "end": 17448, "loc": { "start": { - "line": 482, + "line": 487, "column": 8 }, "end": { - "line": 482, + "line": 487, "column": 10 } } @@ -65285,15 +67163,15 @@ "postfix": false, "binop": null }, - "start": 17213, - "end": 17214, + "start": 17449, + "end": 17450, "loc": { "start": { - "line": 482, + "line": 487, "column": 11 }, "end": { - "line": 482, + "line": 487, "column": 12 } } @@ -65313,15 +67191,15 @@ "updateContext": null }, "value": "this", - "start": 17214, - "end": 17218, + "start": 17450, + "end": 17454, "loc": { "start": { - "line": 482, + "line": 487, "column": 12 }, "end": { - "line": 482, + "line": 487, "column": 16 } } @@ -65339,15 +67217,15 @@ "binop": null, "updateContext": null }, - "start": 17218, - "end": 17219, + "start": 17454, + "end": 17455, "loc": { "start": { - "line": 482, + "line": 487, "column": 16 }, "end": { - "line": 482, + "line": 487, "column": 17 } } @@ -65365,15 +67243,15 @@ "binop": null }, "value": "states", - "start": 17219, - "end": 17225, + "start": 17455, + "end": 17461, "loc": { "start": { - "line": 482, + "line": 487, "column": 17 }, "end": { - "line": 482, + "line": 487, "column": 23 } } @@ -65391,15 +67269,15 @@ "binop": null, "updateContext": null }, - "start": 17225, - "end": 17226, + "start": 17461, + "end": 17462, "loc": { "start": { - "line": 482, + "line": 487, "column": 23 }, "end": { - "line": 482, + "line": 487, "column": 24 } } @@ -65417,15 +67295,15 @@ "binop": null }, "value": "length", - "start": 17226, - "end": 17232, + "start": 17462, + "end": 17468, "loc": { "start": { - "line": 482, + "line": 487, "column": 24 }, "end": { - "line": 482, + "line": 487, "column": 30 } } @@ -65442,15 +67320,15 @@ "postfix": false, "binop": null }, - "start": 17232, - "end": 17233, + "start": 17468, + "end": 17469, "loc": { "start": { - "line": 482, + "line": 487, "column": 30 }, "end": { - "line": 482, + "line": 487, "column": 31 } } @@ -65467,15 +67345,15 @@ "postfix": false, "binop": null }, - "start": 17234, - "end": 17235, + "start": 17470, + "end": 17471, "loc": { "start": { - "line": 482, + "line": 487, "column": 32 }, "end": { - "line": 482, + "line": 487, "column": 33 } } @@ -65483,15 +67361,15 @@ { "type": "CommentLine", "value": " states array", - "start": 17249, - "end": 17264, + "start": 17485, + "end": 17500, "loc": { "start": { - "line": 483, + "line": 488, "column": 12 }, "end": { - "line": 483, + "line": 488, "column": 27 } } @@ -65509,15 +67387,15 @@ "binop": null }, "value": "iconData", - "start": 17278, - "end": 17286, + "start": 17514, + "end": 17522, "loc": { "start": { - "line": 484, + "line": 489, "column": 12 }, "end": { - "line": 484, + "line": 489, "column": 20 } } @@ -65535,15 +67413,15 @@ "binop": null, "updateContext": null }, - "start": 17286, - "end": 17287, + "start": 17522, + "end": 17523, "loc": { "start": { - "line": 484, + "line": 489, "column": 20 }, "end": { - "line": 484, + "line": 489, "column": 21 } } @@ -65562,15 +67440,15 @@ "updateContext": null }, "value": 6, - "start": 17287, - "end": 17288, + "start": 17523, + "end": 17524, "loc": { "start": { - "line": 484, + "line": 489, "column": 21 }, "end": { - "line": 484, + "line": 489, "column": 22 } } @@ -65588,15 +67466,15 @@ "binop": null, "updateContext": null }, - "start": 17288, - "end": 17289, + "start": 17524, + "end": 17525, "loc": { "start": { - "line": 484, + "line": 489, "column": 22 }, "end": { - "line": 484, + "line": 489, "column": 23 } } @@ -65615,15 +67493,15 @@ "updateContext": null }, "value": "=", - "start": 17290, - "end": 17291, + "start": 17526, + "end": 17527, "loc": { "start": { - "line": 484, + "line": 489, "column": 24 }, "end": { - "line": 484, + "line": 489, "column": 25 } } @@ -65643,15 +67521,15 @@ "updateContext": null }, "value": "this", - "start": 17292, - "end": 17296, + "start": 17528, + "end": 17532, "loc": { "start": { - "line": 484, + "line": 489, "column": 26 }, "end": { - "line": 484, + "line": 489, "column": 30 } } @@ -65669,15 +67547,15 @@ "binop": null, "updateContext": null }, - "start": 17296, - "end": 17297, + "start": 17532, + "end": 17533, "loc": { "start": { - "line": 484, + "line": 489, "column": 30 }, "end": { - "line": 484, + "line": 489, "column": 31 } } @@ -65695,15 +67573,15 @@ "binop": null }, "value": "getStatesData", - "start": 17297, - "end": 17310, + "start": 17533, + "end": 17546, "loc": { "start": { - "line": 484, + "line": 489, "column": 31 }, "end": { - "line": 484, + "line": 489, "column": 44 } } @@ -65720,15 +67598,15 @@ "postfix": false, "binop": null }, - "start": 17310, - "end": 17311, + "start": 17546, + "end": 17547, "loc": { "start": { - "line": 484, + "line": 489, "column": 44 }, "end": { - "line": 484, + "line": 489, "column": 45 } } @@ -65745,15 +67623,15 @@ "postfix": false, "binop": null }, - "start": 17311, - "end": 17312, + "start": 17547, + "end": 17548, "loc": { "start": { - "line": 484, + "line": 489, "column": 45 }, "end": { - "line": 484, + "line": 489, "column": 46 } } @@ -65771,15 +67649,15 @@ "binop": null, "updateContext": null }, - "start": 17312, - "end": 17313, + "start": 17548, + "end": 17549, "loc": { "start": { - "line": 484, + "line": 489, "column": 46 }, "end": { - "line": 484, + "line": 489, "column": 47 } } @@ -65796,15 +67674,15 @@ "postfix": false, "binop": null }, - "start": 17323, - "end": 17324, + "start": 17559, + "end": 17560, "loc": { "start": { - "line": 485, + "line": 490, "column": 8 }, "end": { - "line": 485, + "line": 490, "column": 9 } } @@ -65824,15 +67702,15 @@ "updateContext": null }, "value": "return", - "start": 17334, - "end": 17340, + "start": 17570, + "end": 17576, "loc": { "start": { - "line": 486, + "line": 491, "column": 8 }, "end": { - "line": 486, + "line": 491, "column": 14 } } @@ -65850,15 +67728,15 @@ "binop": null }, "value": "iconData", - "start": 17341, - "end": 17349, + "start": 17577, + "end": 17585, "loc": { "start": { - "line": 486, + "line": 491, "column": 15 }, "end": { - "line": 486, + "line": 491, "column": 23 } } @@ -65876,15 +67754,15 @@ "binop": null, "updateContext": null }, - "start": 17349, - "end": 17350, + "start": 17585, + "end": 17586, "loc": { "start": { - "line": 486, + "line": 491, "column": 23 }, "end": { - "line": 486, + "line": 491, "column": 24 } } @@ -65901,15 +67779,15 @@ "postfix": false, "binop": null }, - "start": 17356, - "end": 17357, + "start": 17592, + "end": 17593, "loc": { "start": { - "line": 487, + "line": 492, "column": 4 }, "end": { - "line": 487, + "line": 492, "column": 5 } } @@ -65926,15 +67804,15 @@ "postfix": false, "binop": null }, - "start": 17359, - "end": 17360, + "start": 17595, + "end": 17596, "loc": { "start": { - "line": 488, + "line": 493, "column": 0 }, "end": { - "line": 488, + "line": 493, "column": 1 } } @@ -65952,15 +67830,15 @@ "binop": null, "updateContext": null }, - "start": 17360, - "end": 17360, + "start": 17596, + "end": 17596, "loc": { "start": { - "line": 488, + "line": 493, "column": 1 }, "end": { - "line": 488, + "line": 493, "column": 1 } } diff --git a/docs/class/src/icon.mjs~Icon.html b/docs/class/src/icon.mjs~Icon.html index 7e78753..3c714f7 100644 --- a/docs/class/src/icon.mjs~Icon.html +++ b/docs/class/src/icon.mjs~Icon.html @@ -2009,7 +2009,7 @@

- source + source

@@ -2690,7 +2690,7 @@

- source + source

@@ -2747,7 +2747,7 @@

- source + source

@@ -2861,7 +2861,7 @@

- source + source

diff --git a/docs/file/src/icon.mjs.html b/docs/file/src/icon.mjs.html index b962525..38aed3f 100644 --- a/docs/file/src/icon.mjs.html +++ b/docs/file/src/icon.mjs.html @@ -445,12 +445,17 @@ * @returns {Icon} The state that has the name of pName. */ getState(pName) { - for (const icon of this.states) { - // If the state has the same name, return that state - if (icon.getName() === pName) { - return icon; + if (typeof(pName) === 'string') { + for (let i = this.states.length - 1; i >= 0; i--) { + const icon = this.states[i]; + // If the icon has the same name, return that icon + if (icon.getName() === pName) { + return icon; + } } - }; + } else { + VYI.logger.prefix('VYI-module').error('Invalid name type used!'); + } } /** * Returns an array of all the states this icons has. diff --git a/docs/index.json b/docs/index.json index 8a7c6c6..09378e1 100644 --- a/docs/index.json +++ b/docs/index.json @@ -912,7 +912,7 @@ "__docId__": 65, "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 * Creates this icon instance.\r\n * @param {Object} pIconData - The icon data that is used to build this icon.\r\n * @private\r\n */\r\n constructor(pIconData) {\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.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);\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 for (const icon of this.states) {\r\n // If the state has the same name, return that state\r\n if (icon.getName() === pName) {\r\n return icon;\r\n }\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 * Creates this icon instance.\r\n * @param {Object} pIconData - The icon data that is used to build this icon.\r\n * @private\r\n */\r\n constructor(pIconData) {\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.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);\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", @@ -1824,7 +1824,7 @@ "longname": "src/icon.mjs~Icon#getStates", "access": "public", "description": "Returns an array of all the states this icons has.", - "lineNumber": 420, + "lineNumber": 425, "unknown": [ { "tagName": "@returns", @@ -1852,7 +1852,7 @@ "longname": "src/icon.mjs~Icon#getStatesData", "access": "private", "description": "Gets all the states belonging to this icon.", - "lineNumber": 428, + "lineNumber": 433, "unknown": [ { "tagName": "@returns", @@ -1880,7 +1880,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": 441, + "lineNumber": 446, "unknown": [ { "tagName": "@returns", @@ -1908,7 +1908,7 @@ "longname": "src/icon.mjs~Icon#export", "access": "private", "description": "Exports this icon's data into proper vyi format.", - "lineNumber": 463, + "lineNumber": 468, "unknown": [ { "tagName": "@returns", @@ -2306,7 +2306,7 @@ }, { "kind": "packageJSON", - "content": "{\r\n \"name\": \"vyi\",\r\n \"version\": \"1.0.2\",\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.0.21\",\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 db3ce0f..6e30d28 100644 --- a/docs/source.html +++ b/docs/source.html @@ -63,9 +63,9 @@ src/icon.mjs Icon - - 17360 byte - 487 - 2024-05-02 15:52:33 (UTC) + 17596 byte + 492 + 2024-05-06 15:39:01 (UTC) src/vyi.mjs @@ -73,7 +73,7 @@ - 6134 byte 176 - 2024-05-06 14:55:26 (UTC) + 2024-05-06 14:58:44 (UTC) diff --git a/package.json b/package.json index 4783ee4..55e1ab4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vyi", - "version": "1.0.2", + "version": "1.0.21", "description": "A lightweight module to read / manage .vyi files created in the Vylocity Game Engine.", "main": "src/vyi.mjs", "scripts": { diff --git a/src/icon.mjs b/src/icon.mjs index 28e49bf..5314600 100644 --- a/src/icon.mjs +++ b/src/icon.mjs @@ -406,12 +406,17 @@ export class Icon { * @returns {Icon} The state that has the name of pName. */ getState(pName) { - for (const icon of this.states) { - // If the state has the same name, return that state - if (icon.getName() === pName) { - return icon; + if (typeof(pName) === 'string') { + for (let i = this.states.length - 1; i >= 0; i--) { + const icon = this.states[i]; + // If the icon has the same name, return that icon + if (icon.getName() === pName) { + return icon; + } } - }; + } else { + VYI.logger.prefix('VYI-module').error('Invalid name type used!'); + } } /** * Returns an array of all the states this icons has.